summaryrefslogtreecommitdiff
path: root/ucbhelper
AgeCommit message (Collapse)AuthorFilesLines
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens5-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
2012-11-30fdo#46808, remove some more XMultiServiceFactory fieldsNoel Grandin4-21/+16
Change-Id: I8d039a933c9fde1a24b35954bb5a1f151e9aa160
2012-11-30fdo#46808, use service constructor for ucb::CachedDynamicResultSetStubFactoryNoel Grandin2-13/+9
Change-Id: Iea7b21621c5d341468976507684a9c01f0822034
2012-11-30fdo#46808, convert ucbhelper::ResultSet to XComponentContextNoel Grandin2-17/+12
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 Grandin3-17/+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 Bergmann6-4/+94
...by duplicating getComponentContext for now. Change-Id: Idad067b52e5ad9ed8a4f6676bc17db6c14807d56
2012-11-05fdo#46808,remove unnecessary MSF field from ucbhelper::ContentIdentifierNoel Grandin3-25/+4
...which has lots of nice knock-on effects. Change-Id: Icc93fdb70f24903b08702654db4e1105eb1d438e
2012-11-05fdo#46808, use service constructor for ucb::PropertiesManagerNoel Grandin4-32/+28
Change-Id: Ib0c7375ac9f72647b10adcb2cea8a0f8e2fdcca0
2012-11-05fdo#46808, use service constructor for ucb::StoreNoel Grandin3-23/+25
Change-Id: I62719ef9d58215e287af3e1be52404993722ec67
2012-10-31fdo#46808, Deprecate configuration::ConfigurationProvider old-style serviceNoel Grandin3-10/+30
...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 Bosdonnat2-14/+46
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 Bosdonnat2-5/+8
Change-Id: Id067932355607d3d60994862201b531f9844506d
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl1-2/+0
Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl1-1/+2
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl1-0/+1
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-19dung out no longer needed initUCBHelper methods; thanks to sberg.Michael Meeks2-59/+0
2012-09-14Attempt to fix Android-only codeStephan Bergmann1-2/+2
Change-Id: I391e08c2712a51fe0adcd3f0c74d779b07c31c76
2012-09-14Improvement on previous commit, UCB clean upStephan Bergmann8-758/+125
* 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 Arnhold2-7/+0
Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
2012-08-08remove include comments and boxesThomas Arnhold2-7/+0
Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
2012-08-07remove empty ascii boxes and stuff IIIThomas Arnhold1-24/+0
Change-Id: I8b54e8518c219a7edd7e29173a1099611a7e0dbb
2012-07-02targetted improvement of UNO API includes / usageMichael Meeks1-4/+1
2012-07-01Remove unused definesThomas Arnhold1-15/+0
Change-Id: Ic36b131ee9964a6671f7f41e1cad1631c43ad565
2012-06-30Some cppcheck cleaningJulien Nabet1-1/+1
Change-Id: I14cab3dfd26ac1568feef902b566873cecf049b9
2012-06-22re-base on ALv2 code.Michael Meeks35-749/+447
2012-06-21re-base on ALv2 code.Michael Meeks22-518/+320
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-16gbuildification of ucbhelperNorbert Thiebaud3-0/+122
Change-Id: I1fb3d36af07fe834cddc06c54d27a786dc583c8c
2012-06-16revert gmk4Norbert Thiebaud3-185/+0
Change-Id: I4b78a8efeadf47f8fa3f30a87433d3ccb9c1beb1
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 Bosdonnat6-0/+481
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 Arnhold2-122/+122
Change-Id: I50f0887ceb4517d7ef234f970ca2ba679d533382
2012-05-02Cleaned up CommandLineArgsStephan Bergmann1-5/+0
* Support for dead arguments has been removed. ** Especially, dead UCB_CONFIGURATION_KEY1/2_xxx values have also been removed, and code initializing UCB has been simplified accordingly. * For the sake of simplicity, behaviour has been changed slightly. For example, passing both --calc --writer now always lets --writer win (whereas in the past the one mentioned first, i.e., --calc in this example, would win). Change-Id: Id40a19b9ef96db0d439cadd96ba491bf640d28fb
2012-04-29make gbuild the default assumption of build.plBjoern Michaelsen1-1/+0
this removes dmake completely out of the build for migrated modules build.pl now assumes modules to be gbuild, unless there is a prj/dmake file Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-08LinkTarget.mk: remove gb_LinkTarget_add_package_headersMichael Stahl1-1/+1
2012-04-08gbuild: "use" vs. "add":Michael Stahl1-2/+2
Naming convention for gbuild methods: - "add" is used for stuff that is logically a part of the target (i.e. not registered at the Module, but defined in the target's makefile) - "use" is used for stuff that is logically a different target (i.e. it is registered at the Module, has it's own makefile, may be in a different module than the target)
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 Lillqvist2-57/+16
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 Lillqvist2-16/+57
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-10gbuild: get rid of realpath in gb_Foo_set_includeMatúš Kukan1-1/+1
2012-03-09callcatcher: update listCaolán McNamara23-4240/+2
2012-03-01New IMPL_LINK_NOARG to work around SAL_UNUSED_PARAMETER problemStephan Bergmann1-2/+2
...see ebe26f72e90337da2d14f3029de148904e3e30b6 "WaE: 'unused' attribute ignored when parsing type" for the problem.
2012-02-27callcatcher: update listCaolán McNamara2-21/+2