summaryrefslogtreecommitdiffstats
path: root/ucbhelper
Commit message (Collapse)AuthorAgeFilesLines
* cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann2014-02-2618-236/+236
| | | | Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
* Remove visual noise from ucbhelperAlexander Wilms2014-02-2620-816/+816
| | | | | | | Change-Id: Id9396eca64069f2f0ba636ac9efa090f121afdd3 Reviewed-on: https://gerrit.libreoffice.org/8330 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* ucbhelper: sal_Bool -> boolStephan Bergmann2014-02-1711-192/+192
| | | | Change-Id: Iee327c3dd75bebb35d99de01eaa7103956e08974
* fdo#54938 Convert dtrans, remoteb., reportd., ucbhelper to cppu::supportsSer..Alexandre Vicenzi2014-02-042-235/+12
| | | | | | | Change-Id: I42cf7dc139b79b715f3c330f9bca7d333de8bafc Reviewed-on: https://gerrit.libreoffice.org/7762 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* bool improvementsStephan Bergmann2014-01-292-9/+9
| | | | Change-Id: I0dc09b7a6ee2849bd0c2ffc31be45f81cd2c15ee
* bool improvementsStephan Bergmann2014-01-281-3/+3
| | | | Change-Id: Ia9f1b1d1a0fea7dbda8e2a322aaf86899bfd7fd3
* Using pre-cached type_infos provided by the typeid operator seems to work nowTor Lillqvist2013-12-271-23/+0
| | | | | | | | | | Apparently there was no problem in this after all. The reason it seemed not to work earlier was because of the unwinding failure due to the missing .cfi_startproc and .cfi_endproc thingies in helper.s The hack in ucbhelper is now not needed after all. Change-Id: If9fec5c502d4c9d0c44709ad9c2729f812e882e2
* Hacky workaround for non-working C++/UNO bridge for arm64 iOSTor Lillqvist2013-12-241-1/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | I haven't managed to get the C++/UNO bridge to work for 64-bit iOS code yet. I think I understand the calling convention and the parameter marshalling etc might even be correct now. But something goes wrong in the dynamic creation of type_infos and throwing of exceptions. 64-bit iOS code uses a different unwinding mechanism than 32-bit iOS code, I think, which could be related. Quite possibly there is also an unintended compiler feature (or dare I say bug?) in Apple's Clang for arm64 that affects this: The typeinfos are generated as private_extern symbols in arm64 code (instead of as normal extern in armv7 code), thus the dlsym() thing to look up typeinfos doesn't work. Note that as we don't support any Basic, Java or Python on iOS anyway, the C++/UNO bridge is not used for much. Actually, the only use of the bridge at least in the TiledLibreOffice test app seems to be to throw exceptions. Fun, huh? As the actual types of exceptions thrown seems to be a quite small set, just hack it and throw the appropriate exception directly... The only places where exceptions are thrown through the bridge that is used in the test app seems to be the two cancelCommandExecution() functions in ucbhelper. (It would be nice to change the ucbhelper API to not use exceptions for non-exceptional conditions, but that's another thing...) Change-Id: Ifd1861ccbba23d3b138e82400f2b7d80baf0215a
* typo fixesAndras Timar2013-12-201-2/+2
| | | | Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
* Default OMultiTypeInferfaceContainerHelperVar equalImpl parameterStephan Bergmann2013-12-062-36/+2
| | | | | | ...and assorted OUStringHash clean up Change-Id: I779904e1275e8df88f567beb388d1d11af9e9671
* remove unnecessary sal_Unicode casts in various placesNoel Grandin2013-11-142-15/+9
| | | | Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
* remove unnecessary use of OUString constructor in UCBHELPER moduleNoel Grandin2013-11-072-17/+17
| | | | Change-Id: I3e3cfc69c14a300f330264ae40c135e8135adb97
* remove redundant calls to OUString constructorNoel Grandin2013-11-041-1/+1
| | | | | | | | | Change code like this: aStr = OUString("xxxx"); into this: aStr = "xxxx"; Change-Id: I31cb92e21658d57bb9e14b65c179536eae8096f6
* drop worthless _VECTOR_/_MAP_ header guardsCaolán McNamara2013-09-251-2/+0
| | | | Change-Id: I54be19847b8fb609f0b08a528cc06dbae9f579d5
* WaE: Unreachable code: Use SAL_WNOUNREACHABLE_CODE_PUSH/POPTor Lillqvist2013-09-041-2/+5
| | | | | | | | Cleaner than my first attempt. This reverts commit 9c0ba0ba41cb3b814cc8bf7a33abf1245d4b241e. Change-Id: Iec9da427ab2a92cb0765f73af14d83a37f765290
* WaE: Unreachable codeTor Lillqvist2013-09-031-0/+4
| | | | | | This time noticed by the linker when doing link-time code generation (!). Change-Id: I9600571bef2a8cc30b2e28dd52b01633bab55f32
* CMIS: add document ID when saving.Cao Cuong Ngo2013-09-021-2/+4
| | | | | | | | The document ID is needed in case the get object by path of the CMIS document doesn't work (like Google Drive) Change-Id: I151d5433a19caeaf4a542b69cd9e95dde58722e7
* finish deprecation of O(U)String::valueOf()Luboš Luňák2013-08-211-1/+1
| | | | | | | Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
* remove OUString wrap for string literalsThomas Arnhold2013-06-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Fix support for "dummy" content providersStephan Bergmann2013-06-141-21/+25
| | | | | | | ...and use it so that private: URLs are not needlessly passed to the gio or gnome-vfs "catch-all" UCPs. Change-Id: I85d100567d1641130449fe21ccd072bcc0ec0979
* Remove unused ContentProviderRegistrationInfoStephan Bergmann2013-06-141-10/+1
| | | | Change-Id: Ic30cbc95b4baa4dabaa0f8f8e129aa5cf4ca5f2f
* use uno::Reference#clear() method...Noel Grandin2013-06-051-1/+1
| | | | | | ...instead of assigning an empty value. Reduces code noise. Change-Id: Ic95b081a41fb740a738c92b3407a9514ccb8b06e
* fdo#46808, Convert XMultiServiceFactory in ucb moduleNoel Grandin2013-06-051-10/+4
| | | | Change-Id: I4e1cfe22ba6043521dd1237f90ade66f80b29253
* fix build, bad mergeCaolán McNamara2013-06-041-5/+8
| | | | Change-Id: I153b5ac4c2c75aca055ef49920cbccf3bd7720d4
* Resolves: #i122273# - Avoid using tmpfile()Ariel Constenla-Haile2013-06-041-47/+32
| | | | | | | | | | | | (cherry picked from commit c4ef17d5e2844ca8d2459a3bfa1f91d99ac297f2) Conflicts: ucb/source/ucp/ftp/ftpcfunc.cxx ucb/source/ucp/ftp/ftpinpstr.cxx ucb/source/ucp/ftp/ftpinpstr.hxx ucb/source/ucp/ftp/ftpurl.cxx Change-Id: I267a9191f9b922380bef8653ac74543662ebf3ef
* gbuild: drop uses of removed packagesDavid Tardon2013-04-241-2/+0
| | | | | | | Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* execute move of global headersBjoern Michaelsen2013-04-2331-6678/+0
| | | | | | | see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
* fdo#60724 correct spellingThomas Arnhold2013-04-152-2/+2
| | | | Change-Id: Ieb653adbd0cb4371ec5db57e70bcc551872f647f
* remove needless forward rtl::OUString declarationsLuboš Luňák2013-04-073-5/+0
| | | | Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-0736-420/+417
| | | | | | | | 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
* More "compareToAscii(RTL_CONSTASCII_STRINGPARAM(s)) != compareTo(s)" fixesStephan Bergmann2013-03-191-1/+1
| | | | Change-Id: Ia93b281b07559fb6f0d67d53dd91dfacf2be0d0b
* remove legacy build.pl prj/build.lst files.Michael Meeks2013-03-141-3/+0
|
* Remove RTL_CONSTASCII_USTRINGPARAM in ucb/ucbhelperChr. Rossmanith2013-03-122-5/+3
| | | | Change-Id: I7419a328012962b6b72d2596df034ff912fc12cd
* fdo#60724 change spelling error REMOVEABLE -> REMOVABLEKenneth Beck2013-03-061-5/+5
| | | | | | | | | Only applies to PropertyAttribute::REMOVEABLE, and all instances in comments. All other instances of the misspelling have remained the same. Example: AF_REMOVEABLE Change-Id: I391f4101bbc3e06689318235a37d616065bc1686 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* Typo fix: informations -> information and a few other adjacent typos.Gregg King2013-03-021-1/+1
| | | | | | | | | FDO:60724 Change-Id: I73ad9f1c37cbbcf28d996ed73c75cf09553e499b Reviewed-on: https://gerrit.libreoffice.org/2479 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
* No need for a command IDStephan Bergmann2013-02-281-26/+3
| | | | | | ...as there is no infrastructure to abort ucbhelper commands anyway Change-Id: I7796386a4b931c24ff2cc66a706d5c0182cb82e5
* remove all d.lstMichael Stahl2013-02-281-0/+0
| | | | Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
* Fix typos retreive/retrieve furture/futureJulien Nabet2013-02-231-2/+2
| | | | Change-Id: I639c2970b2a88ca3d5aa1dcd2ad4ec047b4a369c
* [Uu]sefull -> [Uu]sefulJulien Nabet2013-02-221-1/+1
| | | | Change-Id: I5dad83789ff9b6815561208679a5e19821041e1f
* s/the the/the/Tor Lillqvist2013-02-222-3/+3
| | | | Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
* spelling: otherwhise -> otherwiseIvan Timofeev2013-02-171-1/+1
| | | | Change-Id: I2d89edbb2574b4e677c9a0682bc829d9476b54db
* Add parenthesis to calm down cppcheckJulien Nabet2013-02-131-1/+2
| | | | Change-Id: If62959d80c9a7e207291fff05b5e085b0c84866f
* 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
* c++ API: use css alias in generated headers, adds global css declThorsten Behrens2012-11-305-11/+0
| | | | | | | | | | | | This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
* fdo#46808, remove some more XMultiServiceFactory fieldsNoel Grandin2012-11-304-21/+16
| | | | Change-Id: I8d039a933c9fde1a24b35954bb5a1f151e9aa160
* fdo#46808, use service constructor for ucb::CachedDynamicResultSetStubFactoryNoel Grandin2012-11-302-13/+9
| | | | Change-Id: Iea7b21621c5d341468976507684a9c01f0822034
* fdo#46808, convert ucbhelper::ResultSet to XComponentContextNoel Grandin2012-11-302-17/+12
| | | | | | | Along the way, remove the XMultiServiceFactory member from a few classes that were not using it. Change-Id: I9ee2c2ebc01144301ed8e489bd92b4695ff263d0
* fdo#46808, remove some more XMultiServiceFactory fieldsNoel Grandin2012-11-283-17/+4
| | | | Change-Id: Ida82837f6eaca1a59e85f5e9798084096d07b1a3
* fdo#46808, use service constructor for ucb::SortedDynamicResultSetFactoryNoel Grandin2012-11-281-6/+4
| | | | Change-Id: I8eefa129a481e47659d488cbe57f9624d3cdb19e
* fdo#46808: Work around cyclic comphelper use in ucbhelperStephan Bergmann2012-11-056-4/+94
| | | | | | ...by duplicating getComponentContext for now. Change-Id: Idad067b52e5ad9ed8a4f6676bc17db6c14807d56