summaryrefslogtreecommitdiff
path: root/framework/inc
AgeCommit message (Collapse)Author
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-29fdo#46808, Create new-style frame::AutoRecovery serviceNoel Grandin
The service already existed, it just did not have an IDL file.
2012-10-29fdo#46808, use service constructor for frame::DispatchRecorderSupplierNoel Grandin
2012-10-29inline #define that is only used in one placeNoel Grandin
2012-10-29remove unused #defineNoel Grandin
2012-10-29inline #define that is only used in one placeNoel Grandin
2012-10-29remove unused #defineNoel Grandin
2012-10-25ditch SYNCHRONIZED_START/ENDCaolán McNamara
Change-Id: I1c0c015f371346efc5712ead7abe9e7f2ec0f9d0
2012-10-24fdo#46808, use service constructor for frame::GlobalEventBroadcasterNoel Grandin
Add document::XEventBroadcaster interface to XGlobalEventBroadcaster, because a client uses it, and the service always implements it. This is safe to do because we haven't released an LO version with XGlobalEventBroadcaster in it yet.
2012-10-24fdo#46808, use service constructor for frame::DispatchHelperNoel Grandin
2012-10-24inline a #define that it only used in one cxx fileNoel Grandin
2012-10-24remove unused #defineNoel Grandin
2012-10-24fdo#46808, use service constructor for system::SystemShellExecuteNoel Grandin
2012-10-24remove unused #defineNoel Grandin
2012-10-24fdo#46808, Adapt awt::Toolkit UNO service to new styleNoel Grandin
Create a merged XToolkit2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Also mark sub-interfaces as non-optional. Change-Id: I278d0288e92be277033013302267cf93f7d70480
2012-10-24fdo#46808, convert comphelper::ConfigurationHelper to XComponentContextNoel Grandin
Convert the helper methods to take an XComponentContext parameter, instead of XMultiServiceFactory. Change-Id: I9f0098af37b91f107d8799f14caa04756eac82b1
2012-10-23fdo#46808, use service constructor for frame::ModuleManagerNoel Grandin
Change-Id: Iae2bd22a22213274d4a7697345b879f6573a30f0
2012-10-23fdo#46808, use service constructor for xml::sax::WriterNoel Grandin
Change-Id: I2b216a0e3a9694568642e9de2f4f43ecd682555f
2012-10-23fdo#46808, use service constructor for uri::UriReferenceFactoryNoel Grandin
Change-Id: I4e72bf5880fa28cb96d93ede7730a63220af7fa6
2012-10-11loplugin: misleading alignment of else ifCaolán McNamara
Change-Id: Id952fff88408bf47be9c255358a14c12c930abd5
2012-10-10loplugin: unused O[U]Strings and misleading else placementCaolán McNamara
Change-Id: Ifa11ada39c8d4ca29e3c90db18e5bbe618634131
2012-10-04fdo#46808, Adapt xml::sax::XParser UNO service to new styleNoel Grandin
The xml.sax.Parser service already existed, it just did not have a new-style service to create it. Change-Id: I6f145a7504ff9e149c802f723991954a2801cbc9
2012-09-29Use comphelper::getComponentContextStephan Bergmann
...and some further clean up. Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
2012-09-25replace remaining InterlockedCount() with inlined versionNorbert Thiebaud
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c Reviewed-on: https://gerrit.libreoffice.org/671 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
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-05fdo#46808, Adapt frame::ModuleManager UNO service to new styleNoel Grandin
Create a merged XModuleManager2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Explicitly document the XNameReplace interface in the IDL, which is already implemented by the service, since there is code currently using it. Change-Id: Ib46349174b1ce495c240031e93c9427fc33d9853
2012-09-05Quick and dirty adaption of ModuleManager to WeakImplHelperStephan Bergmann
...to better be able to change its set of implemented interfaces later on. Some potential for further clean up: * a generic helper for supportsService; * remove need for impl_createFactory; * base impl_createInstance on XComponentContext instead of XMultiServiceFactory; * replace ThreadHelpBase with a plain osl::Mutex. Change-Id: Ia2cbd14872a609c2ed57d9ce58b546f087c2fdfb
2012-08-16-Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann
Change-Id: I57abfb3b3d659edcd130788d173c2df3b79101f0
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-08remove some more eof noiseThomas Arnhold
Change-Id: Ib13c0435d61e803220d5444c29c99cf670340008
2012-08-07remove bogus date informationThomas Arnhold
Change-Id: I2789153ee35f4ec10e760f9412eb7d379de031bf
2012-08-07Remove non-existing forward declarationsThomas Arnhold
Those classes don't exist. So remove friend class operators too. Change-Id: I8e3b32db933dea7cbab86015f0c926df967511f6
2012-08-07Remove commented out codeThomas Arnhold
Change-Id: Id73d1d75063e19dfa05fa7b5b8b69ca8f99f0998
2012-08-05Remove unused macrosThomas Arnhold
Change-Id: I184a7f9c65dd762407b2431d9c6557e718b954b2
2012-07-31cleanup filtercachedata.hxxThomas Arnhold
Actually only two definitions of this long list are really used... Change-Id: I45e85b18f63e4d2cda948766159d81aed27c9289
2012-07-30remove unnecessary includes of svl/svarray.hxxCaolán McNamara
Change-Id: Ifec201efc4e97baf2d36d66c4ae6967eadd6134c
2012-07-30Typo ressource -> resourceStephan Bergmann
Change-Id: Id13e7acfbe34eca5e124c9032d36d6f158bfb831
2012-07-26Header file without implementation. Not to mention nobody uses it.Kohei Yoshida
Change-Id: I7522121059b53269a120a4f68a9038edd17944cf
2012-07-16the unknwon typo is surprisingly popularLuboš Luňák
Change-Id: Iffe25051c8357019521196f9a27065d6108ede47
2012-07-09Revert "attempt fix of hang on base close, due to solarmutex deadlock on join"Michael Stahl
This reverts commit 5b2cb23c429e1be1099008473770c634ce96c969. That did not fix the bug (fdo#47021), but apparently it does cause problems, such as the failure of the sfx2 DocumentEvents test (that doesn't crash any more since 228a3f8b9f279e80917968d9780e822a1d684ada); without the SolarMutexReleaser the test doesn't fail for me.
2012-07-02Remove unused definesThomas Arnhold
Some of them were commented out for documentation purpose. Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
2012-07-01Remove unused definesThomas Arnhold
Change-Id: Ic36b131ee9964a6671f7f41e1cad1631c43ad565
2012-06-29Remove UNO includes commentsThomas Arnhold
Change-Id: I48e193322967fb75e93eaf81e9e2110d3056f92a
2012-06-28Remove unused header filesThomas Arnhold
Those are unused too. Change-Id: I09c9dbcdbc68131c7c54bf0762a23f1280e6e22a
2012-06-27Remove unused header filesThomas Arnhold
Change-Id: I3d172e5200fee63c6afcdf236a7915b7d51baf9c
2012-06-27Remove unused include filesThomas Arnhold
Those never get included at any point in the code. Change-Id: I17736e005635b9e57759cfc95176a99e7c5e8988
2012-06-26re-base on ALv2 code.Michael Meeks
2012-06-25Remove various commented out definesThomas Arnhold
Most of them in hrc files. Change-Id: I3944f6ed9befd2b498385f61b851790362221a4f
2012-06-22re-base on ALv2 code.Michael Meeks
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35