summaryrefslogtreecommitdiff
path: root/ucbhelper/source/provider
AgeCommit message (Collapse)AuthorFilesLines
2015-07-08tdf#84190 : when auth fails, don't remember passwords for cmisSzymon Kłos1-9/+23
Change-Id: Ia1e0d553556693e0efa6de0bfc6f8b0ae9d40b5d Reviewed-on: https://gerrit.libreoffice.org/16688 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-04-22Various #include <sal/log.hxx> fixupsStephan Bergmann3-0/+9
rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include <sal/log.hxx> (and don't make use of it themselves), but many other files happen to depend on it. Cleaned up some, but something like grep -FwL sal/log.hxx $(git grep -Elw \ 'SAL_INFO|SAL_INFO_IF|SAL_WARN|SAL_WARN_IF') -- \*.cxx) shows lots more files that potentially need fixing before the include can be removed from rtl/string.hxx and rtl/ustring.hxx. Change-Id: Ibf033363e83d37851776f392dc0b077381cd8b90
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin1-2/+2
ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
2015-04-01Add support for cppu::UnoType<void>Stephan Bergmann1-1/+1
Change-Id: I88259ffaffc73979c240721d2db166c79d3085f1
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann3-6/+6
Change-Id: I0ecb96d6f26c827640f3329c81884001f860090d
2015-03-09V801: Decreased performanceCaolán McNamara1-3/+3
Change-Id: Id8cd45d2844c121f63684734ab3546c24a1aab32
2015-01-02boost::unordered_map->std::unordered_mapCaolán McNamara2-4/+6
you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
2014-12-18ucbhelper: Use appropriate OUString functions on string constantsStephan Bergmann2-19/+10
Change-Id: Id5832f8ca20f5ff3179a25bc3c28be7b9fde5bfb
2014-12-15Authentication fallback request for the OneDrive connectionMihai Varga2-0/+91
To fix build, also squashed in: Author: Mihai Varga <mihai.mv13@gmail.com> Date: Fri Aug 1 12:50:23 2014 +0300 OneDrive auth fallback dialog interaction continuation Change-Id: Id37f502217da3fde55ae93a6e1c01409509d657c
2014-11-18cppuhelper: clean up public headers with include-what-you-useMichael Stahl3-0/+3
Change-Id: I41ba46831f24b2960a1fe982b74a2b623e682e0b
2014-11-17sal: clean up public headers with include-what-you-useMichael Stahl3-1/+6
Sadly cannot forward declare "struct {...} TimeValue;". rtl/(u)?string.hxx still include sal/log.hxx but removing osl/diagnose.h was painful enough for now... Change-Id: Id41e17f3870c4f24c53ce7b11f2c40a3d14d1f05
2014-10-08spelling: instanciated -> instantiatedNoel Grandin1-1/+1
Change-Id: I99f3010e30f81786b938dc11736ea1597cd5530d
2014-09-22loplugin: cstylecastNoel Grandin1-1/+1
Change-Id: I84873c9f84651dc8a1337f37c63020b461314e1b
2014-09-18fdo#83512 Make use of OUStringHash and OStringHashDaniel Sikeler1-19/+1
Change-Id: I33cafe68c798e3d54943ea1790fa4e73f85e525d Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-07-02InteractionSupplyName is a detail of SimpleNameClashResolveRequestStephan Bergmann2-105/+126
Change-Id: Iecc77b1c4749bd14ce79f1a7f3e98f45fa3abbba
2014-05-23Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20Julien Nabet2-9/+7
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
2014-05-17Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part14Julien Nabet1-1/+1
Change-Id: Ibccaa2138426c22cd63d273a1b6cdc927ebe80dc
2014-05-13Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part11Julien Nabet2-42/+24
Change-Id: Ibe0a1006aba2b6cbd87c0bd6ca3acbf9ba7b0fbe
2014-05-11Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part10Julien Nabet2-2/+2
Change-Id: I67acda35fa127547dcea0cd18c9dc16db7c00294
2014-04-15cppu::OMultiTypeInterfaceContainerHelperVar hashImpl param is unusedStephan Bergmann2-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
2014-04-03remove unnecessary scope qualifier from sal_Bool usesNoel Grandin1-3/+3
i.e. convert "::sal_Bool" to "sal_Bool" Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann1-8/+8
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-20kill ucbhelper XTYPEPROVIDER_DECL macroNorbert Thiebaud1-1/+4
Change-Id: I1daf6661dd7b5be396bec980da84feaab6e6b80f
2014-03-10ucbhelper: simplify deprecated XTypeProvider.getImplementationIdStephan Bergmann2-99/+9
Change-Id: I7797ba7fdc47a5f8d2453e839d8644bf125652bd
2014-03-05kill XINTERFACE_IMPL_3Norbert Thiebaud2-11/+43
Change-Id: I72448b67ae52e89c206f9c313b3d351ae2a56dc3
2014-03-05kill XINTERFACE_IMPL_4Norbert Thiebaud1-8/+21
Change-Id: I88e2e62b82f40cfa3e892023d381f7611e093fd6
2014-03-05kill XINTERFACE_IMPL_9Norbert Thiebaud1-12/+26
Change-Id: I651599cf3ec82a31f3260985907b5b2d56665da3
2014-03-05kill XINTERFACE_IMPL_2Norbert Thiebaud3-26/+79
Change-Id: Ic735b7d6ddfaacab9af7405e4dacc62f818bed8c
2014-03-05de-macroize XINTERFACE_DECLNorbert Thiebaud1-1/+6
Change-Id: Iaa1cf999189f6b62547c208eadc38150400ca0fe Reviewed-on: https://gerrit.libreoffice.org/8454 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann12-211/+211
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26Remove visual noise from ucbhelperAlexander Wilms14-604/+604
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>
2014-02-17ucbhelper: sal_Bool -> boolStephan Bergmann9-166/+166
Change-Id: Iee327c3dd75bebb35d99de01eaa7103956e08974
2014-02-04fdo#54938 Convert dtrans, remoteb., reportd., ucbhelper to cppu::supportsSer..Alexandre Vicenzi2-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>
2014-01-29bool improvementsStephan Bergmann2-9/+9
Change-Id: I0dc09b7a6ee2849bd0c2ffc31be45f81cd2c15ee
2013-12-27Using pre-cached type_infos provided by the typeid operator seems to work nowTor Lillqvist1-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
2013-12-24Hacky workaround for non-working C++/UNO bridge for arm64 iOSTor Lillqvist1-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
2013-12-06Default OMultiTypeInferfaceContainerHelperVar equalImpl parameterStephan Bergmann2-36/+2
...and assorted OUStringHash clean up Change-Id: I779904e1275e8df88f567beb388d1d11af9e9671
2013-11-14remove unnecessary sal_Unicode casts in various placesNoel Grandin1-12/+6
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
2013-09-25drop worthless _VECTOR_/_MAP_ header guardsCaolán McNamara1-2/+0
Change-Id: I54be19847b8fb609f0b08a528cc06dbae9f579d5
2013-06-14Fix support for "dummy" content providersStephan Bergmann1-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
2013-06-14Remove unused ContentProviderRegistrationInfoStephan Bergmann1-10/+1
Change-Id: Ic30cbc95b4baa4dabaa0f8f8e129aa5cf4ca5f2f
2013-06-05fdo#46808, Convert XMultiServiceFactory in ucb moduleNoel Grandin1-10/+4
Change-Id: I4e1cfe22ba6043521dd1237f90ade66f80b29253
2013-06-04fix build, bad mergeCaolán McNamara1-5/+8
Change-Id: I153b5ac4c2c75aca055ef49920cbccf3bd7720d4
2013-06-04Resolves: #i122273# - Avoid using tmpfile()Ariel Constenla-Haile1-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
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák15-144/+141
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-19More "compareToAscii(RTL_CONSTASCII_STRINGPARAM(s)) != compareTo(s)" fixesStephan Bergmann1-1/+1
Change-Id: Ia93b281b07559fb6f0d67d53dd91dfacf2be0d0b
2013-03-12Remove RTL_CONSTASCII_USTRINGPARAM in ucb/ucbhelperChr. Rossmanith1-4/+2
Change-Id: I7419a328012962b6b72d2596df034ff912fc12cd
2013-03-06fdo#60724 change spelling error REMOVEABLE -> REMOVABLEKenneth Beck1-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>
2013-02-22s/the the/the/Tor Lillqvist1-1/+1
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-13Add parenthesis to calm down cppcheckJulien Nabet1-1/+2
Change-Id: If62959d80c9a7e207291fff05b5e085b0c84866f