summaryrefslogtreecommitdiff
path: root/framework/source
AgeCommit message (Collapse)Author
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-24Related fdo#46808: Improve previous commit slightlyStephan Bergmann
Change-Id: Ie81ae8a75847fdbc70e69349d0646f0bb558b7d0
2012-10-24fdo#46808, use service constructor for frame::DispatchHelperNoel Grandin
2012-10-24Related fdo#46808: Improve previous commit slightlyStephan Bergmann
Change-Id: If633be759ab2aa4f42548f02a58fedb858783551
2012-10-24inline a #define that it only used in one cxx fileNoel Grandin
2012-10-24fdo#46808, use service constructor for system::SystemShellExecuteNoel 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-23Related fdo#46808: Improve previous commit slightlyStephan Bergmann
Change-Id: Ib4f44f745f7e3e2e1403d905cc16bee4c487b0b4
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-22loplugin: various warningsCaolán McNamara
Change-Id: I605bffb518d804ee69edda5e7641e13e4c14ef01
2012-10-21loplugin: misleading else if indentCaolán McNamara
2012-10-14loplugin: fix some indents and unused OUStringsCaolán McNamara
Change-Id: I1d7256eea7a79453d3cdb85d1edcf824d58d775e
2012-10-13loplugin: what is it with the weird-ass else placement in frameworkCaolán McNamara
Change-Id: I81809a80242457147dba716daa92b83726f732ba
2012-10-12loplugin: bad else if placementCaolán McNamara
Change-Id: I56e88a675adf37fdf52637ecbff6778a5215a16a
2012-10-12mark lcl_ functions static or rename them if they are not local at allLuboš Luňák
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html Change-Id: I231f0b367bf0b513c6c1ce4c4cfdb7c3dc8660d5
2012-10-12loplugin: unused StringsCaolán McNamara
Change-Id: Ie9c888a48716e4bfd24ae78eef5f6e4a54dd1810
2012-10-11loplugin: more unused OUString and misleading indentationCaolán McNamara
Change-Id: Ic21ca9e14520f4f16c2d665a07a79ee1a46ab91d
2012-10-11loplugin: more unused OUStrings and so forthCaolán McNamara
Change-Id: I4f3a51e1fd3ddca9442022a7134306fbf32e13ae
2012-10-11loplugin: misleading indentCaolán McNamara
Change-Id: Ia3c27c2b2e869af09557ad50e51a65894943947a
2012-10-10loplugin: unused O[U]StringsCaolán McNamara
Change-Id: I020149a3073d8479887d108465cf5d3b727588d7
2012-10-06cppcheck: unreadVariable.jailletc36
aLangMap is a std::map that is written but never used, so drop it. Change-Id: I8f5184c58fbe812beab8580349535920645e062e Reviewed-on: https://gerrit.libreoffice.org/781 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
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-10-01Replace usage of rtl_*Memory with equivalent from string.hArnaud Versini
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159 Reviewed-on: https://gerrit.libreoffice.org/734 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-29Use comphelper::getComponentContextStephan Bergmann
...and some further clean up. Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
2012-09-28having two SetPosSizePixel is a blasted nuisanceCaolán McNamara
Lets rename the multiargument SetPosSizePixel to setPosSizePixel drop the various using Window::SetPosSizePixel and work towards de-virtualizing SetPosSizePixel/SetPosPixel and SetSizePixel and doing the work in a virtual setPosSizePixel Change-Id: I7057654168001b67becee1791e97f9e9dc01f7b8
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-22fdo#41440, fdo#50296: start center: force black text colorIvan Timofeev
Change-Id: I13834d3c0385e1a75d2d66d1622a966c66b9aab2
2012-09-22fdo#34392: request button size after vcl has updated its settingsIvan Timofeev
Change-Id: I1810562a2c0c09404271be5b910f5811fce3e465
2012-09-19ComponentContext::getUnoContext -> getComponentContext simplificationStephan Bergmann
...and some further clean-up. Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
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-12Unused #includesStephan Bergmann
Change-Id: If5c8ee05ef84c03a9cec6ef428256e17b33f073e
2012-09-07Disable the experimental orcus-based csv filter for now.Kohei Yoshida
Change-Id: Iba8b36aaa19bbf2a9cb632fb6fe586b27ae27a7a
2012-09-07First cut on integrating liborcus into libreoffice tree....Kohei Yoshida
It introduces the 'FilterProvider' property in the media descriptor to optionally bypass the normal loading process and let the external filter provider to handle the loading. For now I'm overwriting the csv import filter just to see how this could work just as an experiment. Orcus still needs a lot of work, and it crashes very often at the moment. Change-Id: I11b34572c71073144804a7d0dd5176c8067d8deb
2012-09-06offapi: move css.ui.UICommandDescription to css.frame.UICommandDescription:Michael Stahl
The service implementation used "com.sun.star.frame.UICommandDescription" since forever, so the IDL file was essentially wrong documentation. But since 7a464263cc5c2ca2b7128734ff4860e02d662818 converted the service to new-style, it cannot be instantated any more and e.g. clicking on Tools->Customize crashes. (Adapting the implementation instead would be an incompatible change.) Change-Id: I564bddaf3836827f5b72360a2bde19d6158b7ba5
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-09-03Missing 1 include and 2 usingJulien Nabet
Change-Id: I5100e40f9e2bb2f27f7cac490e7c9fa8c3814166
2012-09-03More places that require a prefixed "system"Stephan Bergmann
Change-Id: I49cf1f02faf70a5a92ab45e7678253ba4e5f68d0
2012-09-03fdo#46808, Adapt system::SystemShellExecute UNO service to new styleNoel Grandin
Change-Id: Ib298b3219c3e89dd35bce0974846ed4888ed941e
2012-09-03fdo#46808, Adapt UICommandDescription UNO service to new styleNoel Grandin
Change-Id: Ibca112904f137ff981ae9be3e5bd56aa11aec352
2012-09-03fdo#46808, Adapt ModuleUIConfigurationManagerSupplier UNO service to new styleNoel Grandin
Change-Id: I58b17349474b974edd24aa17ec08ffa848a92ae9
2012-08-28fdo#36149: Do not display error dialogs while showing a menuStephan Bergmann
...it apparently leads to crashes, but is probably not good from a usability perspective anyway (as the menu closes again when the dialog appears/is operated on by the user). For now, just disable the Java specific interaction handler here; might make sense to address this more generally though (there's framework::QuietInteraction btw). Change-Id: I6ae303c0084549b5339d219e158cdb89e5a6b331
2012-08-28Missing using com::sun::star::frame::DispatchHelperStephan Bergmann
Change-Id: Ia4a830c342077bdc5b61daba1edccca2edb544c6
2012-08-27fdo#46808, Adapt script::Converter service code to new styleNoel Grandin
Change-Id: I19b3ba7c978e02ce865360f0411007525012149c
2012-08-27fdo#46808, Use factory methods for frame::DispatchHelper instancesNoel Grandin
Change-Id: I7bdf16fc6d042e5ecd404c604a8b7c31c1ac7bc1
2012-08-24kill more unneeded stuff; rename uiconfig PackagesMatúš Kukan
Change-Id: Ib2f73d679ac4a6164142a370ce6d55c6de41117c