summaryrefslogtreecommitdiff
path: root/cppuhelper
AgeCommit message (Collapse)AuthorFilesLines
2013-06-29remove OUString wrap for string literalsThomas Arnhold1-12/+12
For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-06-05use uno::Reference#clear() method...Noel Grandin1-1/+1
...instead of assigning an empty value. Reduces code noise. Change-Id: Ic95b081a41fb740a738c92b3407a9514ccb8b06e
2013-05-16Support for annotations in the new UNOIDL formatStephan Bergmann1-7/+8
...used for now to transport @deprecated information. Also, improve Idx-String (formerly Idx-Name, but also used for UTF-8 annotations now) format, using the 0x80000000 for the indirection rather than the base case. (And the README erroneously used "Offset of" Idx-String all over the place.) Change-Id: I7003b1558ab536a11a9af308f9b16a7ef8840792
2013-05-10Resolves: #i122208# introduce rtl::CStringHash and rtl::CStringEqualHerbert Dürr1-17/+1
unify the various c-string compares and hashes. (cherry picked from commit b7e3470a154538a92f0a21b14e726d75723f4a92) Conflicts: oox/inc/oox/export/shapes.hxx oox/source/export/shapes.cxx sal/inc/rtl/string.hxx sdext/source/minimizer/pppoptimizertoken.cxx svx/source/customshapes/EnhancedCustomShapeTypeNames.cxx vcl/source/glyphs/gcach_ftyp.cxx writerfilter/source/resourcemodel/TagLogger.cxx xmloff/source/draw/EnhancedCustomShapeToken.cxx Change-Id: Ib742744077bfb4d38a462d88b44bdef45601b4ae
2013-05-08Don't call code in UNO object ctor that throws UNO exceptionsStephan Bergmann4-11/+14
...with Context set to this, that leads to refcounting bugs. Change-Id: I4875dbe4ccb5a7bcfaa8370b14d4eab83c21d0e5
2013-05-06cleanup whitespaces due to RTL_CONSTASCII_USTRINGPARAM removalPhilipp Riemer1-20/+10
In e2e2cc61144cb22227eebfadff0ea24b51ccfbd0 the method was removed automatically leaving several line breaks etc. as visual noise.
2013-05-06remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák5-39/+22
Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-05-02Adapt to library name changes for Android, tooTor Lillqvist1-13/+7
Change-Id: I6da1f38c5a9693c13ef841442cbef017d388416a
2013-05-01Library names have changed thanks to the "layer" changesTor Lillqvist1-6/+6
Change-Id: I764702510b612da478959f457f95e6040c22f998
2013-04-30Explicit copy ctor avoiding copying singular iteratorsStephan Bergmann1-0/+9
Change-Id: I0727d4676166e63992e78ec3ac7e68c217fa794b
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks6-126/+24
2013-04-26Fix TypeManagerStephan Bergmann2-22/+26
* Make use of unoidl::Manager::createCursor in TypeManager::createTypeDescriptionEnumeration * ConstantDescription::getName returned unprefixed name Change-Id: I4b2e1ce6a240d8f6292375ad36f71e0b19699367
2013-04-24Get rid of UnoApiMerge_uretypes, which is just a duplicate of UnoApi_udkapiStephan Bergmann1-1/+1
What is a little confusing is that the udkapi.rdb ends up as types.rdb in the installation set (in the URE's sub-tree). So all places that reference it during the build do so as "udkapi" while all places that reference it in an installation set do so as "types." Change-Id: I35d0695966b3bd703f5494b636b9782efc0d3fcb
2013-04-24Avoid (harmless) duplicate entryTor Lillqvist1-1/+0
Change-Id: Ice43ab89b57f6ddb6b06d2fc5784d438031e864b
2013-04-24gbuild: drop empty use_packages callsDavid Tardon1-3/+0
Change-Id: I8e9f70eb5d929c98b4379416c2259a74e31d587f Reviewed-on: https://gerrit.libreoffice.org/3503 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24move URE headers to include/David Tardon60-12123/+0
Change-Id: Ib48a12e902f2311c295b2007f08f44dee28f431d Reviewed-on: https://gerrit.libreoffice.org/3499 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-23libcomphelpgcc3 got renamed to libcomphelperTor Lillqvist1-1/+2
Change-Id: I8853c5102a7271e95adf7d420bb3ed719f5b96c6
2013-04-22Revert "Revert "WIP: Experimental new binary type.rdb format""Stephan Bergmann5-603/+1009
This reverts commit 67e69a55820f50973ca0de75ccab2bb07d0bada8, applying a band- aid fix to cli_ure/source/climaker for now. Conflicts: stoc/inc/bootstrapservices.hxx stoc/source/tdmanager/lrucache.hxx stoc/source/tdmanager/tdmgr.cxx stoc/source/tdmanager/tdmgr_common.hxx stoc/source/tdmanager/tdmgr_tdenumeration.cxx stoc/source/tdmanager/tdmgr_tdenumeration.hxx Change-Id: Iae669985d0194f06fa349a4a39f0ebd230bc5d28
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2-46/+8
2013-04-16Further clean-up related to removed library unloading featureStephan Bergmann3-55/+21
Change-Id: I1ec2aa4d0ed0940e7c0a26a18c78f2df4693d278
2013-04-16do not use deprecated rtl_registerModuleForUnloadingMatúš Kukan1-3/+0
Change-Id: I59014906c8409fc7ac0f155c9562613c309b8b06 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-04-13simplify makefilesDavid Tardon1-6/+4
Change-Id: I11ea8814d36cdc6d6838ec80b0bbb272d3116b2d
2013-04-13simplify generation of *_allheaders.hxxDavid Tardon2-18/+5
There are some differences in the generated headers: cppu_allheaders.hxx now explicitly includes #include <com/sun/star/uno/Any.h> #include <com/sun/star/uno/Any.hxx> #include <com/sun/star/uno/genfunc.h> #include <com/sun/star/uno/genfunc.hxx> #include <com/sun/star/uno/Reference.h> #include <com/sun/star/uno/Reference.hxx> #include <com/sun/star/uno/Sequence.h> #include <com/sun/star/uno/Sequence.hxx> #include <com/sun/star/uno/Type.h> #include <com/sun/star/uno/Type.hxx> sal_allheaders.hxx now does not (explicitly) include #include <cppunittester/protectorfactory.hxx> #include <internal/rtllifecycle.h> #include <osl/detail/android-bootstrap.h> #include <osl/detail/component-mapping.h> #include <osl/detail/file.h> #include <osl/detail/ios-bootstrap.h> #include <pch/precompiled_sal.hxx> Change-Id: Ide3c708ac66f23b360b8e130790f8fa8f1911082
2013-04-13install SDK headers from filelistsDavid Tardon3-4/+6
... which allows us to drop gb_ZipPackage. Change-Id: Ib19f774c63d9b83ec07e99f963533eee431cc53a
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák3-1/+12
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-03-28Do support the deployment component unconditionally, and add ucpexpand1Tor Lillqvist1-4/+3
Change-Id: I8a3749be43efc77317f7f10c7fd6eadaf79f99c7
2013-03-28Need deployment component too when HAVE_FEATURE_EXTENSIONSTor Lillqvist1-5/+12
Don't look just at DESKTOP or not when deciding whether to compile that stuff. Change-Id: Ic9961ba27eb4a1e9360c67dd844c9243f1eff00e
2013-03-25remove external include guardsThomas Arnhold1-4/+0
Change-Id: If5758e02baa8e019923355b6c97043b306223fdd
2013-03-25Introduce HAVE_GCC_PRAGMA_DIAGNOSTIC_{MODIFY,SCOPE}Stephan Bergmann1-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
2013-03-22add implbase13 - another interface is needed.Michael Meeks2-0/+300
Change-Id: I98ee35ad6f3b86f94fe503debd2b1cf854101441
2013-03-20Remove uses of rtl::OUString::compareToAscii(asciiStr, maxLength)Stephan Bergmann1-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
2013-03-20this should be enoughThomas Arnhold1-2/+1
Change-Id: I10af9ff8513f8f583867d0d6a18af03b3b5b1a28
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold3-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>
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold17-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>
2013-03-18cleanup doxygen warningsPeter Foley9-40/+56
Change-Id: I9181cad5bfa93f9e8b3d944b2b50a3ccc0b42595
2013-03-18Wundef, fix various more or less broken debug codeLuboš Luňák1-2/+2
Change-Id: I347495f7960da099afdfbf3db608e0347b832f99
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks1-2/+0
2013-03-13gbuild: stop using $(OUTDIR)/idlMichael Stahl1-1/+1
Instead, include directly from $(SRCDIR) Change-Id: I09df3da82eead897eb194ae55d1a092452f3cdb9
2013-03-09fdo#43460: use isEmpty()Thomas Arnhold1-1/+1
Change-Id: Ia768e684d3cf255239c04d024b35488830cc9fe6
2013-03-09fdo#43460: use isEmpty()Thomas Arnhold1-2/+2
Change-Id: I01f503ea5268245cc4f98524931730cfa063d57e
2013-03-09Revert "WIP: Experimental new binary type.rdb format"Stephan Bergmann5-1009/+603
This reverts commit 892ef8b0565c7f5f343d71e3b61c41655f80267b, Windows-only cli_ure needs to be adapted first.
2013-03-09WIP: Experimental new binary type.rdb formatStephan Bergmann5-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
2013-02-28remove all d.lstMichael Stahl1-0/+0
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-27cppuhelper: new ZipPackage_cppuhelper_odk_headersMichael Stahl5-89/+93
Change-Id: I77d7ef6890ca584cf022059838c318a2811bcd5d
2013-02-27sal: new ZipPackage_sal_odk_headers for public ODK headersMichael Stahl1-1/+1
Change-Id: I76cb00121d7b4c21137be70ab7a5bd5389037302
2013-02-25WIP: Experimental new binary type.rdb formatStephan Bergmann8-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
2013-02-25cppuhelper: log failures from osl_loadModule callsMichael Stahl1-25/+17
Change-Id: I37099d15cd403f48ca1716414f2e79cc1213d8c8
2013-02-22WIP: Experimental new binary type.rdb formatStephan Bergmann7-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
2013-02-22s/the the/the/Tor Lillqvist1-1/+1
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-17cppcheck: Iterator i used after element has been erasedStephan Bergmann1-3/+3
Change-Id: Id8eb6a475dafcaddc98ddc48627fa8090e91cf4f