summaryrefslogtreecommitdiffstats
path: root/ucbhelper
Commit message (Collapse)AuthorAgeFilesLines
* Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part14Julien Nabet2014-05-171-1/+1
| | | | Change-Id: Ibccaa2138426c22cd63d273a1b6cdc927ebe80dc
* Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part11Julien Nabet2014-05-132-42/+24
| | | | Change-Id: Ibe0a1006aba2b6cbd87c0bd6ca3acbf9ba7b0fbe
* Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part10Julien Nabet2014-05-112-2/+2
| | | | Change-Id: I67acda35fa127547dcea0cd18c9dc16db7c00294
* Typo: s/cant/can't/Tor Lillqvist2014-04-181-1/+1
| | | | Change-Id: Id76b4ea569246c4b96da48dbc8d5a557367e0cca
* coverity#1202901 Uncaught exceptionCaolán McNamara2014-04-171-10/+0
| | | | | | | | | and probably gadzillions of other uncaught exception warnings this exception can't actually be thrown because all possible InsertOperation conditions are already handled. Change-Id: I176c5e253e8b1092a060fc066c2e03dae3cea343
* cppu::OMultiTypeInterfaceContainerHelperVar hashImpl param is unusedStephan Bergmann2014-04-152-22/+4
| | | | | | | | | ...since f059134fab0f91b7a15594ad06536a13fbfae034 "INTEGRATION: CWS cppuhelpshrink: #i72766# save memory in cppuhelper, using a vector instead of a hash_map" (but a dummy "void" default is left in place for backwards compatibility). Change-Id: I3bb0af8158f34737d41c344464f3cf944e2891ed
* warning C4101: 'e': unreferenced local variableMichael Stahl2014-04-101-0/+1
| | | | Change-Id: I3fb8a4f2854fb034d6b184ee46c04e8a8d03ca6a
* coverity#707355 Uncaught exception, help coverity out hereCaolán McNamara2014-04-041-11/+24
| | | | | | hopefully loads of other ones too Change-Id: I8445602adc76205448926efe23c9770cef0eb5dc
* remove unnecessary scope qualifier from sal_Bool usesNoel Grandin2014-04-031-3/+3
| | | | | | i.e. convert "::sal_Bool" to "sal_Bool" Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
* First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann2014-03-263-20/+20
| | | | | | | ...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
* kill ucbhelper XTYPEPROVIDER_DECL macroNorbert Thiebaud2014-03-201-1/+4
| | | | Change-Id: I1daf6661dd7b5be396bec980da84feaab6e6b80f
* ucbhelper: simplify deprecated XTypeProvider.getImplementationIdStephan Bergmann2014-03-102-99/+9
| | | | Change-Id: I7797ba7fdc47a5f8d2453e839d8644bf125652bd
* coverity#1078944 Uncaught exceptionCaolán McNamara2014-03-091-11/+15
| | | | | | | a false positive but easier to fix it by helping coverity out for any other cases it triggers Change-Id: I7c61298a95fa427d279599110b7aab263d039c5d
* de-macroize ucbhelper commandenvironmentNorbert Thiebaud2014-03-081-63/+7
| | | | Change-Id: I39c7ca30d483dab3eae0f39be15ef9586aef7851
* de-macroize ucbhelper activedatastreamerNorbert Thiebaud2014-03-081-48/+4
| | | | Change-Id: I55bbce1f8e3c0dcd92d0e2af03d7be5c7ac910c0
* use WeakImplHelper for ActivaDataSinkNorbert Thiebaud2014-03-061-48/+1
| | | | | Change-Id: Ife32157ff876a0860b3920cadc24b7888200796b Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* kill XINTERFACE_IMPL_3Norbert Thiebaud2014-03-052-11/+43
| | | | Change-Id: I72448b67ae52e89c206f9c313b3d351ae2a56dc3
* kill XINTERFACE_IMPL_4Norbert Thiebaud2014-03-051-8/+21
| | | | Change-Id: I88e2e62b82f40cfa3e892023d381f7611e093fd6
* kill XINTERFACE_IMPL_9Norbert Thiebaud2014-03-051-12/+26
| | | | Change-Id: I651599cf3ec82a31f3260985907b5b2d56665da3
* kill XINTERFACE_IMPL_2Norbert Thiebaud2014-03-057-46/+155
| | | | Change-Id: Ic735b7d6ddfaacab9af7405e4dacc62f818bed8c
* de-macroize XINTERFACE_DECLNorbert Thiebaud2014-03-052-2/+12
| | | | | | | Change-Id: Iaa1cf999189f6b62547c208eadc38150400ca0fe Reviewed-on: https://gerrit.libreoffice.org/8454 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
* 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