summaryrefslogtreecommitdiff
path: root/ucbhelper/source
AgeCommit message (Collapse)AuthorFilesLines
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-03-02Typo fix: informations -> information and a few other adjacent typos.Gregg King1-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>
2013-02-28No need for a command IDStephan Bergmann1-26/+3
...as there is no infrastructure to abort ucbhelper commands anyway Change-Id: I7796386a4b931c24ff2cc66a706d5c0182cb82e5
2013-02-23Fix typos retreive/retrieve furture/futureJulien Nabet1-2/+2
Change-Id: I639c2970b2a88ca3d5aa1dcd2ad4ec047b4a369c
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
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens2-5/+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
2012-11-30fdo#46808, remove some more XMultiServiceFactory fieldsNoel Grandin2-13/+9
Change-Id: I8d039a933c9fde1a24b35954bb5a1f151e9aa160
2012-11-30fdo#46808, use service constructor for ucb::CachedDynamicResultSetStubFactoryNoel Grandin1-9/+6
Change-Id: Iea7b21621c5d341468976507684a9c01f0822034
2012-11-30fdo#46808, convert ucbhelper::ResultSet to XComponentContextNoel Grandin1-15/+10
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 Grandin2-8/+4
Change-Id: Ida82837f6eaca1a59e85f5e9798084096d07b1a3
2012-11-28fdo#46808, use service constructor for ucb::SortedDynamicResultSetFactoryNoel Grandin1-6/+4
Change-Id: I8eefa129a481e47659d488cbe57f9624d3cdb19e
2012-11-05fdo#46808: Work around cyclic comphelper use in ucbhelperStephan Bergmann2-2/+43
...by duplicating getComponentContext for now. Change-Id: Idad067b52e5ad9ed8a4f6676bc17db6c14807d56
2012-11-05fdo#46808,remove unnecessary MSF field from ucbhelper::ContentIdentifierNoel Grandin2-18/+4
...which has lots of nice knock-on effects. Change-Id: Icc93fdb70f24903b08702654db4e1105eb1d438e
2012-11-05fdo#46808, use service constructor for ucb::PropertiesManagerNoel Grandin2-29/+24
Change-Id: Ib0c7375ac9f72647b10adcb2cea8a0f8e2fdcca0
2012-11-05fdo#46808, use service constructor for ucb::StoreNoel Grandin1-20/+10
Change-Id: I62719ef9d58215e287af3e1be52404993722ec67
2012-10-31fdo#46808, Deprecate configuration::ConfigurationProvider old-style serviceNoel Grandin1-9/+7
...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 Bosdonnat1-12/+35
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 Bosdonnat1-4/+6
Change-Id: Id067932355607d3d60994862201b531f9844506d
2012-09-19dung out no longer needed initUCBHelper methods; thanks to sberg.Michael Meeks1-58/+0
2012-09-14Attempt to fix Android-only codeStephan Bergmann1-2/+2
Change-Id: I391e08c2712a51fe0adcd3f0c74d779b07c31c76
2012-09-14Improvement on previous commit, UCB clean upStephan Bergmann3-547/+108
* 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 Grandin1-5/+16
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 Grandin1-6/+4
Change-Id: I19b3ba7c978e02ce865360f0411007525012149c
2012-08-08reduce ascii noise and useless commentsThomas Arnhold1-3/+0
Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
2012-08-08remove include comments and boxesThomas Arnhold1-4/+0
Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
2012-08-07remove empty ascii boxes and stuff IIIThomas Arnhold1-24/+0
Change-Id: I8b54e8518c219a7edd7e29173a1099611a7e0dbb
2012-06-30Some cppcheck cleaningJulien Nabet1-1/+1
Change-Id: I14cab3dfd26ac1568feef902b566873cecf049b9
2012-06-22re-base on ALv2 code.Michael Meeks21-447/+271
2012-06-21re-base on ALv2 code.Michael Meeks6-144/+90
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-04fdo#46808, Adapt UNO services to new style, Part 7, updating ::createNoel Grandin1-6/+8
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 Bosdonnat2-0/+285
This change needs a git repo build of libcmis. Change-Id: I I740d18dbf3c36d9387b867e750fcbe8e114e5362
2012-06-02targeted string re-workNorbert Thiebaud1-12/+12
Change-Id: I1af89db47fb3e387b5b83a86424bfac44eb28135
2012-05-29targeted string re-workNorbert Thiebaud7-67/+67
Change-Id: I47c5edfd9448b1cb122550566cc9083c070f40d0
2012-05-04fdo#48253 Expand SAL_STATIC_CAST and SAL_CONST_CASTThomas Arnhold1-2/+2
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi1-20/+10
2012-04-02reorganize trickier staticsCaolán McNamara1-5/+4
2012-03-29Revert "Initial experiments with static linking of (some) ..."Tor Lillqvist1-27/+7
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 Lillqvist1-0/+38
2012-03-21Initial experiments with static linking of (some) components / servicesTor Lillqvist1-7/+27
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 Lillqvist1-3/+0
2012-03-09callcatcher: update listCaolán McNamara2-198/+0
2012-02-27callcatcher: update listCaolán McNamara1-7/+0
2012-01-20ucbhelper::GetLocalFileURL does not use its arg.Stephan Bergmann1-3/+1
2012-01-19Fix for fdo43460 Part XLI getLength() to isEmpty()Olivier Hallot8-30/+30
Part XLI Modules ucbhelper, unodevtools
2011-12-15Removed extra semicolonsJesse1-1/+1
2011-11-27remove include of pch header from ucbhelperNorbert Thiebaud25-50/+0
2011-11-10don't make it a secret what service failsCaolán McNamara1-1/+1
2011-10-24callcatcher: remove some unused methodsCaolán McNamara1-33/+0
2011-10-21Revert "Attempt workaround for possible bug in Apple's LLVM g++ 4.2.1"Tor Lillqvist1-11/+0
We get more similar linking errors elsewhere anyway. We would need a more generic fix. As for now, just apparently not possible to build with the LLVM g++ from Xcode 4. Use g++-4.2 / gcc-4.2 if you want ot use Xcode 4. But note that for Xcode 4.2, you might need to do: ln -s i686-apple-darwin10 /Developer/SDKs/MacOSX10.6.sdk/usr/lib/gcc/i686-apple-darwin11 This reverts commit f3e10529134029a7853cdca925bc7091a639bc8a.