summaryrefslogtreecommitdiffstats
path: root/cppuhelper
Commit message (Collapse)AuthorAgeFilesLines
* Do support the deployment component unconditionally, and add ucpexpand1Tor Lillqvist2013-03-281-4/+3
| | | | Change-Id: I8a3749be43efc77317f7f10c7fd6eadaf79f99c7
* Need deployment component too when HAVE_FEATURE_EXTENSIONSTor Lillqvist2013-03-281-5/+12
| | | | | | Don't look just at DESKTOP or not when deciding whether to compile that stuff. Change-Id: Ic9961ba27eb4a1e9360c67dd844c9243f1eff00e
* remove external include guardsThomas Arnhold2013-03-251-4/+0
| | | | Change-Id: If5758e02baa8e019923355b6c97043b306223fdd
* Introduce HAVE_GCC_PRAGMA_DIAGNOSTIC_{MODIFY,SCOPE}Stephan Bergmann2013-03-251-2/+4
| | | | | | | | | | | | | ...replacing hard-coded GCC version checks. Those checks that guard #pragma GCC diagnostic ignored "-Wnon-virtual-dtor" appear relevant only for GCC itself, not Clang (which used to fail the old guards because it typically announces itself with a rather low __GNUC__/__GNUC_MINOR__ version), see 6e67c03dc0225fc66343546b14e902b9d238b1a3 "Enable -Wnon-virtual-dtor for GCC 4.6" Change-Id: I6bfa4d5caa6192e7a203ce829682bf6bb8d61a1b
* add implbase13 - another interface is needed.Michael Meeks2013-03-222-0/+300
| | | | Change-Id: I98ee35ad6f3b86f94fe503debd2b1cf854101441
* Remove uses of rtl::OUString::compareToAscii(asciiStr, maxLength)Stephan Bergmann2013-03-201-1/+1
| | | | | | | ...which is a confusing overload with unexpectedly different semantics from the one-parameter form. In preparation of marking it as deprecated. Change-Id: I4f176995546ae583fc570d770647ffc315eecc75
* this should be enoughThomas Arnhold2013-03-201-2/+1
| | | | Change-Id: I10af9ff8513f8f583867d0d6a18af03b3b5b1a28
* removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold2013-03-193-18/+18
| | | | | | | | | s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold2013-03-1917-311/+290
| | | | | | | | | | | Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* cleanup doxygen warningsPeter Foley2013-03-189-40/+56
| | | | Change-Id: I9181cad5bfa93f9e8b3d944b2b50a3ccc0b42595
* Wundef, fix various more or less broken debug codeLuboš Luňák2013-03-181-2/+2
| | | | Change-Id: I347495f7960da099afdfbf3db608e0347b832f99
* remove legacy build.pl prj/build.lst files.Michael Meeks2013-03-141-2/+0
|
* gbuild: stop using $(OUTDIR)/idlMichael Stahl2013-03-131-1/+1
| | | | | | Instead, include directly from $(SRCDIR) Change-Id: I09df3da82eead897eb194ae55d1a092452f3cdb9
* fdo#43460: use isEmpty()Thomas Arnhold2013-03-091-1/+1
| | | | Change-Id: Ia768e684d3cf255239c04d024b35488830cc9fe6
* fdo#43460: use isEmpty()Thomas Arnhold2013-03-091-2/+2
| | | | Change-Id: I01f503ea5268245cc4f98524931730cfa063d57e
* Revert "WIP: Experimental new binary type.rdb format"Stephan Bergmann2013-03-095-1009/+603
| | | | | This reverts commit 892ef8b0565c7f5f343d71e3b61c41655f80267b, Windows-only cli_ure needs to be adapted first.
* WIP: Experimental new binary type.rdb formatStephan Bergmann2013-03-095-603/+1009
| | | | | | | | | | | | Implement theTypeDescriptionManager directly on top of unoidl::Manager and unoidl::Provider in cppuhelper instead of on top of css.reflection UNO interfaces in stoc. Adapt desktop/source/deployment/ accordingly. There is no longer a com.sun.star.reflection.TypeDescriptionManager service implementation now, only a com.sun.star.reflection.theTypeDescriptionManager singleton one, which appears to not cause problems in practice. Change-Id: I179501272f0712353b7d50d3eba2ec2bb79db373
* remove all d.lstMichael Stahl2013-02-281-0/+0
| | | | Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
* cppuhelper: new ZipPackage_cppuhelper_odk_headersMichael Stahl2013-02-275-89/+93
| | | | Change-Id: I77d7ef6890ca584cf022059838c318a2811bcd5d
* sal: new ZipPackage_sal_odk_headers for public ODK headersMichael Stahl2013-02-271-1/+1
| | | | Change-Id: I76cb00121d7b4c21137be70ab7a5bd5389037302
* WIP: Experimental new binary type.rdb formatStephan Bergmann2013-02-258-2278/+333
| | | | | | | | Move unoidl functionality into a module of its own, as a prerequisite to use it in codemaker etc. (This is intended to ultimately remove modules store and registry, modulo backwards compatibility constraints.) Change-Id: If5274cbd3a595951e6cf7a9664bc542f01833f38
* cppuhelper: log failures from osl_loadModule callsMichael Stahl2013-02-251-25/+17
| | | | Change-Id: I37099d15cd403f48ca1716414f2e79cc1213d8c8
* WIP: Experimental new binary type.rdb formatStephan Bergmann2013-02-227-1692/+2399
| | | | | | | | | Prepare cppuhelper/unoidl.hxx for direct consumption by code that currently uses registry/ to read .rdb files (e.g., codemaker). The additional exports will need to be properly hidden from general users in gcc3.map (and documented, and...). Change-Id: I5cdff6fe69ab88435972e16dbda2311450f20ede
* s/the the/the/Tor Lillqvist2013-02-221-1/+1
| | | | Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
* cppcheck: Iterator i used after element has been erasedStephan Bergmann2013-02-171-3/+3
| | | | Change-Id: Id8eb6a475dafcaddc98ddc48627fa8090e91cf4f
* Comment clean-upStephan Bergmann2013-02-141-6/+2
| | | | Change-Id: I7696dde7337531629d29cce7eb3f882cb4bfad0d
* WaE: strict-aliasing issuesCaolán McNamara2013-02-111-30/+36
| | | | | | | Change-Id: I394b61fac90e1c2c26b1a4f073b87a5d3ae3e666 Reviewed-on: https://gerrit.libreoffice.org/2105 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* Fix floating point handlingStephan Bergmann2013-02-111-29/+120
| | | | Change-Id: Ib29dfc71f8c2d0797ead2c32f77bedf7156a3393
* More typosStephan Bergmann2013-02-031-3/+3
| | | | Change-Id: I7b1bd08d9e5157c4eacb8ee5005c76e93eb32e63
* reg2bin: Shrink output by reusing common stringsStephan Bergmann2013-02-031-39/+57
| | | | | | | ...all the "Offset of Idx-Name" in the data format can likely be further shrunk by getting rid of the newly added level of indirection again. Change-Id: I322f4869a4d6f2e63802406f998e22beea30db41
* Missing reading of # members of polystructStephan Bergmann2013-02-021-0/+8
| | | | Change-Id: I343a3e6d57e8f9e1a35cdf3b5825f5a6f58fd133
* Keep old GCC happyStephan Bergmann2013-01-311-63/+86
| | | | Change-Id: If9f9dfd450cd010528dd625f50049f4e963b01a6
* warning C4701: potentially uninitialized local variableStephan Bergmann2013-01-311-1/+1
| | | | Change-Id: I6c24bf51acc0d014ede2f36e17e52cef21753d41
* WIP: Experimental new binary type.rdb formatStephan Bergmann2013-01-311-21/+3046
| | | | | | | | | | cppuhelper/source/typedescriptionprovider.cxx would read it if it finds .rdb files in that format. Throwaway new reg2bin tool for now can translate existing .rdb files into the new format. Change-Id: Iacf219c30cfc358c3d31fb0d73966cf2296a4fe5
* Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRINGJean-Noël Rouvignac2013-01-308-108/+95
| | | | | | | Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd Reviewed-on: https://gerrit.libreoffice.org/1924 Tested-by: Luboš Luňák <l.lunak@suse.cz> Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
* gbuild: fix silly "expandtabs" in makefile VIM modelinesMichael Stahl2013-01-261-1/+1
| | | | Change-Id: I54d8923ad315e8041fd3904da3a29f1a7a8c8b16
* gbuild: do not copy boost headers aroundMichael Stahl2013-01-261-0/+2
| | | | | | | | | - do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
* Remove redundant braces around for loopsStephan Bergmann2013-01-261-4/+4
| | | | | | | ...that had once been workarounds for compilers that did not yet support the C++98 scoping rules for declarations in for-init-statements. Change-Id: I51dc42982b30bf3adea6de1a10a91c0b4b4acfbe
* Insert type rdbs individually into theTypeDescriptionManagerStephan Bergmann2013-01-183-72/+66
| | | | | | | | | | | | | | | ...to make it easier in the future to replace the binary rdb format with something else, but also keep support for the old format for backwards compatibility (extensions). This should have no performance impact, as the type description manager (a) caches information about requested type descriptions, and (b) has been changed to process the bootstrap rdbs en bloc without doing costly consistency checks (which are useful though when inserting an rdb when installing an extension, but which would exhaustively read all type descriptions from the inserted rdb, so would negate any benefit of constructing any type descriptions on demand only). Change-Id: I80b22770bd9a5e0ab686f04d9c70295f2e3d0bf6
* Move addSingletonContextEntries to ServiceManagerStephan Bergmann2013-01-163-18/+28
| | | | Change-Id: I2a4c5b1f1f735e2bf5a8670d2f957f84388f0164
* UNO methods are no longer called directly on ServiceManagerStephan Bergmann2013-01-162-33/+33
| | | | Change-Id: I037ed9899873e614e9e10c89f1f8a74efa73d737
* Register theTypeDescriptionManager normally in services.rdbStephan Bergmann2013-01-161-6/+0
| | | | | | ...no need to handle it specially during bootstrap. Change-Id: I666dc9c0040a30a7d81ec1815c338be1407281bb
* Unfold remainder of add_access_control_entries at call siteStephan Bergmann2013-01-164-108/+10
| | | | Change-Id: I6e1a5a0223c1ea3e1a8c8800fb4cb032719ecf4f
* Remove support for UNO_AC* bootstrap variablesStephan Bergmann2013-01-164-145/+6
| | | | | | ...they had effectively never been used. Change-Id: I514f2b844661e144cef758eb3ce7c4607ffad635
* get_this_libpath only used in paths.cxxStephan Bergmann2013-01-162-3/+5
| | | | Change-Id: I60bbb6fce36d20d476adc963ad2182f71e9c19c7
* API CHANGE: Remove obsolete cppu::bootstrapInitialSFStephan Bergmann2013-01-163-157/+16
| | | | | | | An aborting stub is left in cppuhelper/source/compat.cxx to avoid having to incompatibly change cppuhelper/source/gcc3.map. Change-Id: I28359397fa9c06ac955ee646b5ad3486e9200a10
* Reorganize defaultbootstrap so that typedescriptionprovider can use servicemgrStephan Bergmann2013-01-163-64/+66
| | | | | | | ...instead of having to rely on the odd bootstrapInitialSF and explicit loadSharedLibComponentFactory. Change-Id: I2fb212024c483254da015db3af43d9002051dddc
* Simplify defaultbootstrap.cxxStephan Bergmann2013-01-161-38/+32
| | | | Change-Id: Ice206b1dabf8dbcad613f886574e737c039d2119
* Extract servicemanager and typedescriptionprovider from defaultbootstrapStephan Bergmann2013-01-168-2043/+2230
| | | | Change-Id: I94fe7e68c5a49e591a625e9bf62108acac69428d
* UNO components have the "lib" prefix only on AndroidTor Lillqvist2013-01-061-6/+19
| | | | | | | | | | | That they do is a leftover hack from before we started using the DISABLE_DYNLOADING thing on Android, it isn't actually necessary any more. Earlier when the UNO components were actually dynamic libraries on Android (too, as on desktop OSes), they *had* to have names starting with "lib" or they would be silently skipped when packaging. Change-Id: I11a4689f316e1ffb640a5c3110c63296d2833a84