summaryrefslogtreecommitdiff
path: root/bridges/Library_gcc3_ios_arm.mk
blob: e121354bbf27500de68a1737158b3bd865bca365 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
#
# This file is part of the LibreOffice project.
#
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#

ifneq ($(strip $(bridges_SELECTED_BRIDGE)),)
$(eval $(call gb_Output_error,cannot build bridge gcc3_ios_arm: bridge $(bridges_SELECTED_BRIDGE) already selected))
endif
bridges_SELECTED_BRIDGE := gcc3_ios_arm

$(eval $(call gb_Library_Library,gcc3_uno))

$(eval $(call gb_Library_use_custom_headers,gcc3_uno,\
	bridges/source/cpp_uno/gcc3_ios_arm \
))

$(eval $(call gb_Library_use_internal_comprehensive_api,gcc3_uno,\
	udkapi \
))

$(eval $(call gb_Library_set_include,gcc3_uno,\
	-I$(SRCDIR)/bridges/inc \
	$$(INCLUDE) \
))

ifeq ($(HAVE_POSIX_FALLOCATE),YES)
$(eval $(call gb_Library_add_defs,gcc3_uno,\
	-DHAVE_POSIX_FALLOCATE \
))
endif

# In case someone enabled the non-standard -fomit-frame-pointer which does not
# work with the .cxx sources of this library.
$(eval $(call gb_Library_add_cxxflags,gcc3_uno,\
	-fno-omit-frame-pointer \
	-fno-strict-aliasing \
))

$(eval $(call gb_Library_use_libraries,gcc3_uno,\
	cppu \
	dl \
	sal \
))

$(eval $(call gb_Library_add_asmobjects,gcc3_uno,\
	bridges/source/cpp_uno/gcc3_ios_arm/helper \
))

$(eval $(call gb_Library_add_exception_objects,gcc3_uno,\
	bridges/source/cpp_uno/gcc3_ios_arm/cpp2uno \
	bridges/source/cpp_uno/gcc3_ios_arm/except \
	bridges/source/cpp_uno/gcc3_ios_arm/uno2cpp \
	bridges/source/cpp_uno/shared/bridge \
	bridges/source/cpp_uno/shared/component \
	bridges/source/cpp_uno/shared/types \
	bridges/source/cpp_uno/shared/unointerfaceproxy \
	bridges/source/cpp_uno/shared/vtablefactory \
	bridges/source/cpp_uno/shared/vtables \
))

ifeq ($(COM),GCC)
$(eval $(call gb_Library_add_cxxobjects,gcc3_uno,\
	bridges/source/cpp_uno/shared/cppinterfaceproxy \
	, $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \
))
else
$(eval $(call gb_Library_add_exception_objects,gcc3_uno,\
	bridges/source/cpp_uno/shared/cppinterfaceproxy \
))
endif

# vim: set noet sw=4 ts=4:
d-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2017-10-23loplugin:includeform: connectivityStephan Bergmann Change-Id: I06596fac09f0568b8bab2e2e235a2b88bcd3fc7a 2017-10-01throw more useful uno::Exception'sNoel Grandin if we're going to throw the base class of the exception hierarchy, we can at least put a useful message in there to make the source a little bit easier to locate. Change-Id: I2f3106c99ba25125eacef8fa77e2f3a2c89f2566 Reviewed-on: https://gerrit.libreoffice.org/42968 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr> 2017-07-21migrate to boost::gettextCaolán McNamara * all .ui files go from <interface> to <interface domain="MODULE"> e.g. vcl * all .src files go away and the english source strings folded into the .hrc as NC_("context", "source string") * ResMgr is dropped in favour of std::locale imbued by boost::locale::generator pointed at matching MODULE .mo files * UIConfig translations are folded into the module .mo, so e.g. UIConfig_cui goes from l10n target to normal one, so the res/lang.zips of UI files go away * translation via Translation::get(hrc-define-key, imbued-std::locale) * python can now be translated with its inbuilt gettext support (we keep the name strings.hrc there to keep finding the .hrc file uniform) so magic numbers can go away there * java and starbasic components can be translated via the pre-existing css.resource.StringResourceWithLocation mechanism * en-US res files go away, their strings are now the .hrc keys in the source code * remaining .res files are replaced by .mo files * in .res/.ui-lang-zip files, the old scheme missing translations of strings results in inserting the english original so something can be found, now the standard fallback of using the english original from the source key is used, so partial translations shrink dramatically in size * extract .hrc strings with hrcex which backs onto xgettext -C --add-comments --keyword=NC_:1c,2 --from-code=UTF-8 --no-wrap * extract .ui strings with uiex which backs onto xgettext --add-comments --no-wrap * qtz for gettext translations is generated at runtime as ascii-ified crc32 of content + "|" + msgid * [API CHANGE] remove deprecated binary .res resouce loader related uno apis com::sun::star::resource::OfficeResourceLoader com::sun::star::resource::XResourceBundleLoader com::sun::star::resource::XResourceBundle when translating strings via uno apis com.sun.star.resource.StringResourceWithLocation can continue to be used Change-Id: Ia2594a2672b7301d9c3421fdf31b6cfe7f3f8d0a 2017-06-20loplugin:oncevar in codemaker..connectivityNoel Grandin Change-Id: Ia479d9d3d459a699dfc5c1148d01c35e8bc973bd Reviewed-on: https://gerrit.libreoffice.org/39000 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2017-06-11Fix typosAndrea Gelmini enviroment -> environment Change-Id: I08b95367fbd45f7f785121df33533c0ee7ee331f Reviewed-on: https://gerrit.libreoffice.org/38649 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr> 2017-05-19loplugin:unusedfieldsNoel Grandin make it a little smarter in dealing with fields that are smart pointers Change-Id: I44072105170882dc29fb19558f1065cffc7e5f11 Reviewed-on: https://gerrit.libreoffice.org/37751 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2017-05-15Translate German comments and debug strings (leftovers in dirs a... to c...)Johnny_M Translates all (leftovers) found using a custom regex, in directories not shown by /bin/find-german-comments and beginning with "a" to "c". Change-Id: I3b0152ee78ad80a29d714cbd98bf888f31be4763 Reviewed-on: https://gerrit.libreoffice.org/37573 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com> 2017-04-28loplugin:checkunusedparams in connectivityNoel Grandin Change-Id: I302af54f4bcb5807c264f7926cffa025550ccb00 Reviewed-on: https://gerrit.libreoffice.org/37065 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2017-03-23loplugins:redundantcast teach it about c-style typedef castsNoel Grandin Change-Id: I1ac11a2481c0f4d8be1e1fd7c7637ac0ece3d65c Reviewed-on: https://gerrit.libreoffice.org/35558 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2017-01-26Remove dynamic exception specificationsStephan Bergmann ...(for now, from LIBO_INTERNAL_CODE only). See the mail thread starting at <https://lists.freedesktop.org/archives/libreoffice/2017-January/076665.html> "Dynamic Exception Specifications" for details. Most changes have been done automatically by the rewriting loplugin:dynexcspec (after enabling the rewriting mode, to be committed shortly). The way it only removes exception specs from declarations if it also sees a definition, it identified some dead declarations-w/o-definitions (that have been removed manually) and some cases where a definition appeared in multiple include files (which have also been cleaned up manually). There's also been cases of macro paramters (that were used to abstract over exception specs) that have become unused now (and been removed). Furthermore, some code needed to be cleaned up manually (avmedia/source/quicktime/ and connectivity/source/drivers/kab/), as I had no configurations available that would actually build that code. Missing @throws documentation has not been applied in such manual clean-up. Change-Id: I3408691256c9b0c12bc5332de976743626e13960 Reviewed-on: https://gerrit.libreoffice.org/33574 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> 2017-01-10New loplugin:conststringvar: connectivityStephan Bergmann Change-Id: I2c38bc842ee07d27a5a2ff084e8a608a858f4faa 2016-05-30com::sun::star->css in connectivityNoel Grandin Change-Id: I9489e92dc89a6d83a26ff4f0d9aad26acd28ad9f Reviewed-on: https://gerrit.libreoffice.org/25537 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> 2016-05-10Insert explicit "break" when falling through to empty next caseStephan Bergmann ...which itself only contains a "break" (or nothing at all at the end of the "switch"), as otherwise Clang -Wimplicit-fallthrough would warn about these. Change-Id: I25c1cf2ca74dfeba7ca0385ca8f1c1bf30bbf91b 2016-04-28teach stylepolice plugin about ref-counted-pointer namingNoel Grandin Change-Id: I6e91d22fc1826038c05ddb6fc065563c6a250752 Reviewed-on: https://gerrit.libreoffice.org/24459 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> 2016-04-20loplugin:salbool: Automatic rewrite of sal_False/TrueStephan Bergmann Change-Id: I6fada7331ee369c35cbe019db4e730ce56cd1a1f 2016-02-09Remove excess newlinesChris Sherlock A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> 2015-12-23loplugin:unusedfields in connectivityNoel Grandin Change-Id: I32226b6959b2bfd316de6ed93b070b68ad875562 2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann Change-Id: Iefeeb51c2b101c097a8d77a4625f84baf1f2da44 2015-09-14boost->stdCaolán McNamara Change-Id: Iff14f69c200217c5d868978e8ffc06962b99ac09 Reviewed-on: https://gerrit.libreoffice.org/18568 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> 2015-06-30more change in JNI func sigs between Java 6 and 7 workaroundsRene Engelhard Change-Id: Ie9cbf1b6dfc79df3a74efd3b9bb31ce33e7be3a0 2015-04-13loplugin:redundantcast: redundant const_cast followed by implicit upcastStephan Bergmann Change-Id: I58297ba336d96358eb0683684bbd763870ef56cb 2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann Change-Id: If7e4e3cae1021529819e0b43ef334020ff8b7a43 2014-10-27cid#1249675 Uncaught exceptionNoel Grandin Change-Id: I3923a6a83bfc0a35f5a5af86cfd0e5308cfda24c 2014-10-25coverity#706319 Uncaught exceptionCaolán McNamara Change-Id: I7f390151c232d0a96d50b16c0c76aacea569653e 2014-10-25coverity#706317 Uncaught exceptionCaolán McNamara Change-Id: I8b39addd8d4b9f7d68d0f7a317d1dff7388aba93 2014-10-15coverity#706322 Uncaught exceptionCaolán McNamara and coverity#706330 Uncaught exception Change-Id: I105e37c88654cf47b50fe6b260b8994622305dab 2014-10-14coverity#706332 Uncaught exceptionCaolán McNamara Change-Id: I847cea7329a0c9cf370406afe8a7511f58c89901 2014-10-14coverity#706326 Uncaught exceptionCaolán McNamara Change-Id: I922ce18051eefb4507cc84870ce18ae0a49f4608 2014-10-12coverity#706331 Uncaught exceptionCaolán McNamara Change-Id: I48e11a07924418721d45fcac55bd5aeb68f115a3 2014-10-03loplugin: cstylecastNoel Grandin Change-Id: I114924d5e0407883b2e77016da3c2e3e55657b21 2014-08-21starsdbc -> css::sdbcThomas Arnhold Change-Id: Id0411425b0a3400dffe47143f908ab283fd2247e 2014-07-21coverity#706376 Uncaught exceptionCaolán McNamara Change-Id: Ic18823fd60826c144058df32c27ab25d58664e30 2014-06-04connectivity: fix includesThomas Arnhold Change-Id: I5d5dc6871789865189c78fe9135e7f8bff829489 2014-05-22Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part19Julien Nabet Change-Id: Iab50c52a132c90389992ef68c2d31df95a193ab9 2014-05-17remove wrongly added IsBookmarkable propertyLionel Elie Mamane Change-Id: I7bde1200dbe9da76e062f2783cc223a07084c6fd