summaryrefslogtreecommitdiff
path: root/ucbhelper/source
AgeCommit message (Collapse)Author
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-19More "compareToAscii(RTL_CONSTASCII_STRINGPARAM(s)) != compareTo(s)" fixesStephan Bergmann
Change-Id: Ia93b281b07559fb6f0d67d53dd91dfacf2be0d0b
2013-03-12Remove RTL_CONSTASCII_USTRINGPARAM in ucb/ucbhelperChr. Rossmanith
Change-Id: I7419a328012962b6b72d2596df034ff912fc12cd
2013-03-06fdo#60724 change spelling error REMOVEABLE -> REMOVABLEKenneth Beck
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-03-02Typo fix: informations -> information and a few other adjacent typos.Gregg King
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>
2013-02-28No need for a command IDStephan Bergmann
...as there is no infrastructure to abort ucbhelper commands anyway Change-Id: I7796386a4b931c24ff2cc66a706d5c0182cb82e5
2013-02-23Fix typos retreive/retrieve furture/futureJulien Nabet
Change-Id: I639c2970b2a88ca3d5aa1dcd2ad4ec047b4a369c
2013-02-22s/the the/the/Tor Lillqvist
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-13Add parenthesis to calm down cppcheckJulien Nabet
Change-Id: If62959d80c9a7e207291fff05b5e085b0c84866f
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens
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
2012-11-30fdo#46808, remove some more XMultiServiceFactory fieldsNoel Grandin
Change-Id: I8d039a933c9fde1a24b35954bb5a1f151e9aa160
2012-11-30fdo#46808, use service constructor for ucb::CachedDynamicResultSetStubFactoryNoel Grandin
Change-Id: Iea7b21621c5d341468976507684a9c01f0822034
2012-11-30fdo#46808, convert ucbhelper::ResultSet to XComponentContextNoel Grandin
Along the way, remove the XMultiServiceFactory member from a few classes that were not using it. Change-Id: I9ee2c2ebc01144301ed8e489bd92b4695ff263d0
2012-11-28fdo#46808, remove some more XMultiServiceFactory fieldsNoel Grandin
Change-Id: Ida82837f6eaca1a59e85f5e9798084096d07b1a3
2012-11-28fdo#46808, use service constructor for ucb::SortedDynamicResultSetFactoryNoel Grandin
Change-Id: I8eefa129a481e47659d488cbe57f9624d3cdb19e
2012-11-05fdo#46808: Work around cyclic comphelper use in ucbhelperStephan Bergmann
...by duplicating getComponentContext for now. Change-Id: Idad067b52e5ad9ed8a4f6676bc17db6c14807d56
2012-11-05fdo#46808,remove unnecessary MSF field from ucbhelper::ContentIdentifierNoel Grandin
...which has lots of nice knock-on effects. Change-Id: Icc93fdb70f24903b08702654db4e1105eb1d438e
2012-11-05fdo#46808, use service constructor for ucb::PropertiesManagerNoel Grandin
Change-Id: Ib0c7375ac9f72647b10adcb2cea8a0f8e2fdcca0
2012-11-05fdo#46808, use service constructor for ucb::StoreNoel Grandin
Change-Id: I62719ef9d58215e287af3e1be52404993722ec67
2012-10-31fdo#46808, Deprecate configuration::ConfigurationProvider old-style serviceNoel Grandin
...in favor of existing new-style configuration::theDefaultProvider singleton. Theoretically, ConfigurationProvider instances can be created with specific Locale and EnableAsync arguments, but this is hardly used in practice, and thus effectively all uses of the ConfigurationProvider service use the theDefaultProvider instance, anyway. theDefaultProvider is restricted to the XMultiServiceFactory interface, while ConfigurationProvider also makes available XComponent. However, dispose must not be called manually on theDefaultProvider singleton anyway, and calls to add-/removeEventListener are so few (and in dubious code that should better be cleaned up) that requiring an explicit queryInterface does not really hurt there. This commit originated as a patch by Noel Grandin to "Adapt configuration::ConfigurationProvider UNO service to new style [by creating] a merged XConfigurationProvider interface for this service to implement." It was then modified by Stephan Bergmann by deprecating ConfigurationProvider instead of adding XConfigurationProvider and by replacing calls to ConfigurationProvider::create with calls to theDefaultProvider::get. Change-Id: I9c16700afe0faff1ef6f20338a66bd7a9af990bd
2012-10-31CMIS: added cancelCheckOut and checkIn implementations and menu itemsCédric Bosdonnat
Although the implementation is here, the dialogs to show when clicking on the menu items aren't there yet. Change-Id: I14886ec8ea8b97a35ca6c8474bc33e30da1a86d3
2012-10-31Travelled MIME type through UCB for CMIS UCP to use it when creating documentsCédric Bosdonnat
Change-Id: Id067932355607d3d60994862201b531f9844506d
2012-09-19dung out no longer needed initUCBHelper methods; thanks to sberg.Michael Meeks
2012-09-14Attempt to fix Android-only codeStephan Bergmann
Change-Id: I391e08c2712a51fe0adcd3f0c74d779b07c31c76
2012-09-14Improvement on previous commit, UCB clean upStephan Bergmann
* As UCB is only ever initialized with "Local"/"Office", remove this configuration vector completely. The "create" ctor creates an instance internally initialized with those "Local"/"Office" keys. Special (test) code can still instantiate an uninitialized one via plain createInstance. And for backwards compatilibity process startup still ensures to create an initialized instance early, in case there is still code out there (in extensions) that later calls plain createInstance and expects to get the already-initialized (single) instance. * XInitialization is an "implementation detail" of the UniversalContentBroker service, do not expose in XUniversalContentBroker. * ucbhelper/configurationkeys.hxx is no longer needed and is removed. * ucbhelper/contentbroker.hxx is an empty wrapper and is removed; however, that requires ucbhelper::Content constructors to take explicit XComponentContext arguments now. * The only remaining code in ucbhelper/source/client/contentbroker.cxx is Android-only InitUCBHelper. Is that relevant still? Change-Id: I3f7bddd0456bffbcd13590c66d9011915c760f28
2012-09-14fdo#46808, Adapt ucb::UniversalContentBroker UNO service to new styleNoel Grandin
Create a merged XUniversalContentBroker interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Change-Id: Id264387bf8af8bf211050e15b8801a1fde368167
2012-08-27fdo#46808, Adapt script::Converter service code to new styleNoel Grandin
Change-Id: I19b3ba7c978e02ce865360f0411007525012149c
2012-08-08reduce ascii noise and useless commentsThomas Arnhold
Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
2012-08-08remove include comments and boxesThomas Arnhold
Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
2012-08-07remove empty ascii boxes and stuff IIIThomas Arnhold
Change-Id: I8b54e8518c219a7edd7e29173a1099611a7e0dbb
2012-06-30Some cppcheck cleaningJulien Nabet
Change-Id: I14cab3dfd26ac1568feef902b566873cecf049b9
2012-06-22re-base on ALv2 code.Michael Meeks
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-04fdo#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin
Update calls to factories to use new ::create methods Change-Id: I01d4417820f52718836c92faf3c2fae0dc96b30d Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, added some tweaks.
2012-06-04CMIS ucp: write documents back to CMIS serverCédric Bosdonnat
This change needs a git repo build of libcmis. Change-Id: I I740d18dbf3c36d9387b867e750fcbe8e114e5362
2012-06-02targeted string re-workNorbert Thiebaud
Change-Id: I1af89db47fb3e387b5b83a86424bfac44eb28135
2012-05-29targeted string re-workNorbert Thiebaud
Change-Id: I47c5edfd9448b1cb122550566cc9083c070f40d0
2012-05-04fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CASTThomas Arnhold
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
2012-04-02reorganize trickier staticsCaolán McNamara
2012-03-29Revert "Initial experiments with static linking of (some) ..."Tor Lillqvist
Thist idea caused too intrusive changes to the code of call sites, I think. Will do it another way that leaves call sites as is. This reverts commit 25d114eec4d451acdda1ddff4c8ed9d47ba6275f.
2012-03-28Add an InitUCBHelper function to be called from an Android app's Java levelTor Lillqvist
2012-03-21Initial experiments with static linking of (some) components / servicesTor Lillqvist
Start with the first service needed when running sc's filters_test: the UniversalContentBroker. It might not be typical as ucb uses the deprecated XSingleServiceFactory. This commit is not at all a complete solution, far from it, just an initial hack. Naturally once I come up with some generic enough way to do the static linking the necessary macros etc will be added to some general header. The macro XSERVICEINFO_IMPL_1 (local to ucbhelper and ucb) is amended so that it in the disable-dynamic-linking case also emits a function whose assembler name equal contains the service name. This function returns the XSingleServiceFactory for the service. Where the service is instantiated we link directly to that function. But probably this will be reworked a couple of times... Maybe it would be better to simply have the service name specific entry point be a pointer to the component's component_getFactory() function? Those all have the same prototype.
2012-03-21Bin declaration of nonexistent static methodTor Lillqvist
2012-03-09callcatcher: update listCaolán McNamara
2012-02-27callcatcher: update listCaolán McNamara
2012-01-20ucbhelper::GetLocalFileURL does not use its arg.Stephan Bergmann
2012-01-19Fix for fdo43460 Part XLI getLength() to isEmpty()Olivier Hallot
Part XLI Modules ucbhelper, unodevtools
2011-12-15Removed extra semicolonsJesse
2011-11-27remove include of pch header from ucbhelperNorbert Thiebaud