summaryrefslogtreecommitdiff
path: root/framework
AgeCommit message (Collapse)Author
2012-11-06Revert "if/else placement"Luboš Luňák
This reverts commit fd1e39cad891282e4343be4d5e80125d7954b347. I don't see how this cosmetic change can actually affect anything, but tinderbox #27 seems to claim one of the unittests fails because of this one single commits, so let's see.
2012-11-03if/else placementLuboš Luňák
Change-Id: I1f1cd86b66123f9c14423de685263f295629e4b2
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-29Improve previous commit slightlyStephan Bergmann
Change-Id: I01e007a9e1dee12a8081e8b165fa7e090d594612
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-29Improve previous commit slightlyStephan Bergmann
Change-Id: I198f25f556efd4ec3f6582cf8bfb40675c6e3570
2012-10-29fdo#46808, use service constructor for frame::DispatchRecorderSupplierNoel Grandin
2012-10-29Improve previous commit slightlyStephan Bergmann
Change-Id: I25595ea67eb521e118f4b00337ef2a55dc52256a
2012-10-29inline #define that is only used in one placeNoel Grandin
2012-10-29remove unused #defineNoel Grandin
2012-10-29Improve previous commit slightlyStephan Bergmann
Change-Id: If39ae761165bc4debd3c7d994be0446149f2c4ac
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-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-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-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 alignment of else ifCaolán McNamara
Change-Id: Id952fff88408bf47be9c255358a14c12c930abd5
2012-10-11loplugin: misleading indentCaolán McNamara
Change-Id: Ia3c27c2b2e869af09557ad50e51a65894943947a
2012-10-10loplugin: unused O[U]Strings and misleading else placementCaolán McNamara
Change-Id: Ifa11ada39c8d4ca29e3c90db18e5bbe618634131
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-28gbuild: invert handling of standard system libraries:Michael Stahl
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: gb_Library_PLAINLIBS_NONE cleanup for WNT:Michael Stahl
add a new gb_LinkTarget_use_system_win32_libs to abstract different linker options on MSVC and GCC. Change-Id: Ic9bf2545f59bf7871e6fc06b290c486ddfbec03d
2012-09-28gbuild: gb_Library_PLAINLIBS_NONE cleanup for unxgcc/solarisMichael Stahl
Change-Id: Ia7f64bdd0fd81c5dcc08d828db4602b65e2da949
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7