summaryrefslogtreecommitdiff
path: root/cppuhelper/source
AgeCommit message (Collapse)Author
2013-10-24cppuhelper: remove obsolete Package_unorcMichael Stahl
Change-Id: I4d513b69527ac21949f03b847a4638b92aef0a3e
2013-10-23remove RTL_CONSTASCII_(U)STRINGPARAMChr. Rossmanith
Change-Id: I0bce921bfc7102b9a33b1c87eee3ddec0ebaed7b Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, with one little typo fix
2013-10-23convert code to use OUString::endsWithNoel Grandin
Convert places that call aStr[aStr.getLength()-1] == 'x' to use the shorter form aStr.endsWith("x") Change-Id: I1b3a19c0e89b8989cdbeed440f95fc76f9a4b6b6
2013-10-20Some clean-upStephan Bergmann
Change-Id: I8ab23a4b09f9d31ed49c98cdbbf1abc0e684358a
2013-10-20Clean-up std::bad_alloc handlingStephan Bergmann
...post 0bc89aac4c64bb833e387657f680e194c26aef97 "cppumaker: Allow UNO interface functions to throw std::exception." Change-Id: I232a1b266a45d39856d44a2f4e012b5df10fa880
2013-10-13Minor refactoring of iOS codeTor Lillqvist
Rename functions so that functions called by the UI layer for actions to happen in the LO layer and functions called by the LO layer for things to happen in the UI layer use different prefixes. Move declarations to the generic <touch/touch.h> and avoid iOS-specific types in the API. Change-Id: Ieb8979065e02a87c4a415c934163265f2790d011
2013-10-11Not being able to honor a "prefix" is a rather hard errorStephan Bergmann
It happens when an extension has just been live-deployed into the running soffice process and then trying to instantiate out-of-process in an additional uno process one of that extension's shared library components and that component ---erroneously---uses the "prefix" feature. (Which can be reproduced with the mysql-connector-ooo.oxt extension, --enable-ext-mariadb-connector: "rm -rf instdir/*/share/extensions/mysql-connector-ooo", "instdir/*/program/soffice workdir/*/Extension/mysql-connector.oxt", install the per-user, then "File - New - Database - Connect to an existing database: MySQL - Next >> - Connect directly - Next >> - Database name: foo - Server / Port - Server: bar - Next >> - Test Connection", crash.) Change-Id: Ibab2ad31199eec5dc26ffa337a5e3e7490f782d7
2013-10-05URE folder path fixes for the HAVE_FEATURE_MACOSX_MACLIKE_APP_STRUCTURE caseTor Lillqvist
Change-Id: I5019cce2172db7b3ac74e25f5ea9dc62e9fd03f8
2013-10-01WaE: 'rPath' : unreferenced formal parameterTor Lillqvist
Change-Id: I35aee7a1f8c2d79ac275262ba0cd002e4d034c95
2013-10-01prevent WaE with unused parametersMarkus Mohrhard
2013-10-01[API CHANGE] Stricter requirements for shlib.hxx function argumentsStephan Bergmann
rLibName -> uri must be an (absolute file) URI, rPath must be empty, and xKey must be null in loadSharedLibComponentFactory. While incompatible in theory, these functions should only be called internally, anyway. Change-Id: Iab144b199e4e7db62358283efec6877a5da19bab
2013-10-01[API CHANGE] Remove unused cppu::invokeStaticComponentFactory againStephan Bergmann
...that has neither been intended for external use anyway, nor has it ever been used internally since its dead-on-arrival inception in b16ab7a751c04049b4171df412f1ef0f4f9b02f2 "Add invokeStaticComponentFactory() for statically linked components: Will be used for iOS at least." Sigh. Change-Id: I17795b2a1945809688deba0a5492415fbe877400
2013-10-01All the content of cppuhelper/source/compat.cxx must be in namespace cppuStephan Bergmann
Change-Id: I30dde10d1c299dbd9c0b2cb2fa025ce432df6cce
2013-10-01[API CHANGE] Remove unused CPLD_ACCESS feature from C++/Java component loadersStephan Bergmann
...introduced in 2000 with 38974aeef6dfaa1c625cf5498ec553489dd08c87 "added library loading limitation by using env variable CPLD_ACCESSPATH=path1;path2; etc." and 9be3c618e0b1d2b2635bd7b134693ed5ff3021bc "#80090# restrict jar file access to java system property com.sun.star.comp.loader.CPLD_ACCESSPATH" but already in 2004 considered "a hack [that] seems to be unused nowadays" in 1d3164df959b31ba9f50ddc108569f3adec32ff7 "CWS sb20: #i29119# Replaced sandbox.jar-based class loader with an own one." Change-Id: I637afd5daeb4ca097edd17f834c81af892dcfc6a
2013-09-30Special-case Mac OS X .jnilibStephan Bergmann
Change-Id: I824e83271997888712f126f4197252d7beefccc1
2013-09-16Set URE_INTERNAL_JAVA_DIR for unorc to allow jvm in unit tests.Andrzej J.R. Hunt
Currently unit tests run in solver, the unorc in solver is simply copied from cppuhelper/source/unorc, which doesn't set URE_INTERNAL_JAVA_DIR, hence the jvm cannot be loaded in Unit tests. (For comparison the URE unorc in instdir is copied from ure/source/uno{rc,.ini} and contains the appropriate java paths.) (URE_INTERNAL_JAVA_CLASSPATH is not needed, at least currently.) Change-Id: I5911c9a22c92e0e20c98d0e51d5b14e020c8ec10 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, slightly modified
2013-09-12Use OUString::startsWith where possibleStephan Bergmann
Change-Id: I3f3b7b3600aa097187b05e21c375d087a2fa92bb
2013-09-12Pass by const refStephan Bergmann
Change-Id: Iacbb07d6478901be77feb253f526614800564c0f
2013-09-10gbuild: use xml .rdb files directly from workdirMatúš Kukan
Change-Id: I876a41dc77a59841c39b2c1fa43f22c20940dbf2
2013-09-04UNO interface UIKs are unused for a very long timeStephan Bergmann
...so mark them as @deprecated more thoroughly and always force them to zero. Change-Id: I5db2dab924fc5a4145a0e5dd055b654985ce2ef9
2013-09-03Can unify this now it seemsTor Lillqvist
Change-Id: I2fd0e1967028ad6632b39dfaaf377c7186a89229
2013-09-03Update a few library namesTor Lillqvist
Change-Id: I17c575ce0d4ba55a47a97d86c69a00ef7f822838
2013-08-24build on higher debug levelsCaolán McNamara
Change-Id: I7f4d85f3e26ab8b19dae05c6907840b97a8af1d6
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-21OString’ was not declared in this scopeCaolán McNamara
Change-Id: I753d725963c6f617e4c2d2bd775152a7369fd977
2013-08-19Prefer using declarations over using directivesStephan Bergmann
Change-Id: I1316fc4ae1d4dab91684bdc059f5c69c5e0c401a
2013-08-19Use upcasting Reference copy ctorStephan Bergmann
Change-Id: Iab00310e2e6fcf8a43617363cf095a1bccfd9751
2013-08-18Adapt for HAVE_FEATURE_MACOSX_MACLIKE_APP_STRUCTURETor Lillqvist
Change-Id: I598efffda7be77171cdff9d3d5b8705972cfba18
2013-06-05use uno::Reference#clear() method...Noel Grandin
...instead of assigning an empty value. Reduces code noise. Change-Id: Ic95b081a41fb740a738c92b3407a9514ccb8b06e
2013-05-16Support for annotations in the new UNOIDL formatStephan Bergmann
...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-08Don't call code in UNO object ctor that throws UNO exceptionsStephan Bergmann
...with Context set to this, that leads to refcounting bugs. Change-Id: I4875dbe4ccb5a7bcfaa8370b14d4eab83c21d0e5
2013-05-06cleanup whitespaces due to RTL_CONSTASCII_USTRINGPARAM removalPhilipp Riemer
In e2e2cc61144cb22227eebfadff0ea24b51ccfbd0 the method was removed automatically leaving several line breaks etc. as visual noise.
2013-05-06remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák
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 Lillqvist
Change-Id: I6da1f38c5a9693c13ef841442cbef017d388416a
2013-05-01Library names have changed thanks to the "layer" changesTor Lillqvist
Change-Id: I764702510b612da478959f457f95e6040c22f998
2013-04-30Explicit copy ctor avoiding copying singular iteratorsStephan Bergmann
Change-Id: I0727d4676166e63992e78ec3ac7e68c217fa794b
2013-04-26Fix TypeManagerStephan Bergmann
* 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 Bergmann
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 Lillqvist
Change-Id: Ice43ab89b57f6ddb6b06d2fc5784d438031e864b
2013-04-23libcomphelpgcc3 got renamed to libcomphelperTor Lillqvist
Change-Id: I8853c5102a7271e95adf7d420bb3ed719f5b96c6
2013-04-22Revert "Revert "WIP: Experimental new binary type.rdb format""Stephan Bergmann
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 Meeks
2013-04-16Further clean-up related to removed library unloading featureStephan Bergmann
Change-Id: I1ec2aa4d0ed0940e7c0a26a18c78f2df4693d278
2013-04-16do not use deprecated rtl_registerModuleForUnloadingMatúš Kukan
Change-Id: I59014906c8409fc7ac0f155c9562613c309b8b06 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
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 Lillqvist
Change-Id: I8a3749be43efc77317f7f10c7fd6eadaf79f99c7
2013-03-28Need deployment component too when HAVE_FEATURE_EXTENSIONSTor Lillqvist
Don't look just at DESKTOP or not when deciding whether to compile that stuff. Change-Id: Ic9961ba27eb4a1e9360c67dd844c9243f1eff00e
2013-03-20Remove uses of rtl::OUString::compareToAscii(asciiStr, maxLength)Stephan Bergmann
...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-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold
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 Arnhold
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>