1993 Commits

Author SHA1 Message Date
Matúš Kukan
813b0f60e8 fwk: Constructor feature for single-instance FooBarFactories.
Converted them as usual service implementations.
Otherwise - if static singletons are used -
it does not show menu for some reason.

Change-Id: I0673d0bfbba268728a3fa676f2af95aa6c74bbb2
2014-02-06 12:03:27 +01:00
Matúš Kukan
094f92bb78 Introduce com.sun.star.util.thePathSettings singleton.
To replace single-instance com.sun.star.util.PathSettings service,
incorrectly converted in 89b0017b22889af6a8afe28b94c06e7095dc8c6f

Keeping util::PathSettings::create in
sc/source/ui/vba/vbaapplication.cxx because for some reason
util::thePathSettings::get does not work in sc_macros_test
while testing sc/qa/extras/testdocuments/Ranges.xls.

Change-Id: I75b68ae56ac5b58f72416070dba100ab3ab70fe8
2014-02-06 12:03:25 +01:00
Stephan Bergmann
a487d5e37e Unused FWI_DLLPRIVATE
Change-Id: I68e1d463485354dda9d743d3b72907ee8a73d414
2014-02-03 16:05:10 +01:00
Alexandre Vicenzi
a91de8efc9 fdo#54938 Convert framework to cppu::supportsService
Change-Id: Id0c7c845d128920ba278de4208f5c32dcf83ecb1
Reviewed-on: https://gerrit.libreoffice.org/7754
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com>
Tested-by: Marcos Souza <marcos.souza.org@gmail.com>
2014-02-02 14:59:51 +00:00
Matúš Kukan
92c8a8fc82 fwk: Ctor feature for single-instance ModuleUIConfigurationManagerSupplier.
Change-Id: I4674ed6852807e08ff8319515b0ab4e9535b668a
2014-01-30 10:48:25 +01:00
Matúš Kukan
19e16083c6 Introduce com.sun.star.ui.theModuleUIConfigurationManagerSupplier singleton.
Change-Id: I7b503e5d49865c9ff287bf72eaff1995ce871790
2014-01-30 10:48:25 +01:00
Matúš Kukan
a8f9feb9c1 fwk: Constructor feature for single-instance TaskCreatorService.
Change-Id: I9e994ebb4822458039709690aa5dd0a7f75735ac
2014-01-30 10:48:25 +01:00
Matúš Kukan
6c15ca4d9d fwk: Constructor feature for single-instance SubstitutePathVariables.
Change-Id: Ibd626f00bb844ae8ec1cab773093b8c94bf8d936
2014-01-30 10:48:25 +01:00
Matúš Kukan
eb4a4ebc9d fwk: Constructor feature for single-instance WindowContentFactoryManager.
Change-Id: I6786bc1d76fd57edc8dfacb667b53deab792bd20
2014-01-30 10:48:24 +01:00
Matúš Kukan
a64c6c448d fwk: Constructor feature for single-instance UIElementFactoryManager.
Change-Id: Iaa6b6bf8f132e2f8efb9ae71e9302e6be19347c9
2014-01-29 11:46:11 +01:00
Matúš Kukan
e9a23fd78c Introduce com.sun.star.ui.theUIElementFactoryManager singleton.
To replace single-instance com.sun.star.ui.UIElementFactoryManager
service.

Change-Id: I4262909c4396e3907d271a56696a06903168a58d
2014-01-29 11:46:10 +01:00
Matúš Kukan
43b84c9662 fwk: Constructor feature for single-instance UIControllerFactories.
Change-Id: I0867404f7e4aa7b9caafe4f0568bd2c20190867f
2014-01-29 11:46:10 +01:00
Matúš Kukan
af1c0ef8d3 Introduce com.sun.star.frame.ControllerFactory singletons:
com.sun.star.frame.thePopupMenuControllerFactory
com.sun.star.frame.theStatusbarControllerFactory
com.sun.star.frame.theToolbarControllerFactory

To replace their single-instance service variants.

Change-Id: I00586d0d61e63f9482cb659071e88aa9cf02d5b5
2014-01-29 11:46:10 +01:00
Stephan Bergmann
612dac063a bool improvements
Change-Id: I0dc09b7a6ee2849bd0c2ffc31be45f81cd2c15ee
2014-01-29 11:08:32 +01:00
Stephan Bergmann
2462159d7b bool improvements
Change-Id: I754b47013d8f1aa3ecf6204fbe926a438887639d
2014-01-28 20:26:27 +01:00
Matúš Kukan
d3dce837fa fwk: Constructor feature for one instance UICommandDescription.
Change-Id: I3b772ce36492e89451597b3c7dadc5e5b5b22de7
2014-01-28 18:52:23 +01:00
Matúš Kukan
ba8413d262 Introduce com.sun.star.frame.theUICommandDescription singleton.
Change-Id: Ic88cca3722d555ba48d7da8c176556fa1ff90650
2014-01-28 18:52:22 +01:00
Matúš Kukan
b2c89e7236 fwk: Constructor feature for one instance UICategoryDescription.
Change-Id: I56c906c9eeafb625dee65eec9fe39ea3aee66251
2014-01-28 18:52:22 +01:00
Matúš Kukan
dd1c991bd9 Introduce com.sun.star.frame.theAutoRecovery singleton.
To replace com.sun.star.frame.AutoRecovery single-instance service,
incorrectly converted in 279859fdbc40f68d8f1649fa5b928d9de49e8d9e

Unfortunately needs a lot of changes in autorecovery.cxx.

Change-Id: Iba5188dffea3e03803236f23e0b3f343746ace90
2014-01-28 18:52:21 +01:00
Stephan Bergmann
65191cda81 bool improvements
Change-Id: I757e19313576d2c3d13af1cb720f182f0de91613
2014-01-27 10:47:32 +01:00
Matúš Kukan
ef597d80dc Introduce com.sun.star.task.theJobExecutor singleton.
To replace com.sun.star.task.JobExecutor single-instance service,
incorrectly converted in 748aa84e9808ad31c6ff6b71459525c82de10e58

[including changes by Stephan Bergmann <sbergman@redhat.com>]

Change-Id: I4cea2c63a20b5b22f6e1f822fb35fcc4d0397687
Reviewed-on: https://gerrit.libreoffice.org/7609
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2014-01-24 14:24:34 +00:00
Matúš Kukan
89b0017b22 fwk: Use constructor feature for one instance PathSettings.
Change-Id: Iaa01abc9f604d8f9e6f762e3340f9468e19f4848
2014-01-23 11:41:29 +01:00
Matúš Kukan
747ef9b682 framework: Bin unused source files.
Change-Id: Ifd9d9b7237d148c4bc0d3abd787983f27e2104f8
2014-01-23 11:41:28 +01:00
Stephan Bergmann
1115adbb5d bool improvements
Change-Id: I1588e6dcbc095d8c5fcde3601eea9111fbae15fb
2014-01-21 18:24:07 +01:00
Matúš Kukan
279859fdbc fwk: Use constructor feature for AutoRecovery.
Change-Id: I87a6c1c1c6dc92670dccee3f56302e7f234b281d
2014-01-20 19:48:46 +01:00
Matúš Kukan
748aa84e98 fwk: Use constructor feature for JobExecutor.
Change-Id: I5087320137dc17f27a382d564a59cec68f1a4f95
2014-01-20 19:43:59 +01:00
Matúš Kukan
72b5343bd1 fwk: Use constructor feature for ModuleUIConfigurationManager.
And avoid css::uno::XInitialization protocol.
2014-01-18 17:02:36 +01:00
Stephan Bergmann
602c87b425 Window::PreNotify should return bool
Change-Id: Ic9903fd887f2c3fab2630ebeb20df39392177c8d
2014-01-18 00:37:49 +01:00
Matúš Kukan
307878b6e2 fwk: Constructor feature for ControlMenuController.
Change-Id: I789205c1bc9ceefda003d9887ac4409625539537
2014-01-17 12:25:11 +01:00
Matúš Kukan
9622a8072c fwk: Constructor feature for RecentFilesMenuController.
Change-Id: I7bb943a6fe7526264e8465faeb7e86adbf3cb737
2014-01-17 12:25:10 +01:00
Matúš Kukan
f36fba3b85 fwk: Use constructor feature for Frame.
Change-Id: I5f7ee46671b22d17c5cb060f96342727d566fa21
2014-01-17 12:25:07 +01:00
Matúš Kukan
278880fbd1 fwk: Use constructor feature for ImageManager.
Change-Id: I3f231980b1908495b1f5ec17f95c39c464d40ff8
2014-01-17 12:25:04 +01:00
Matúš Kukan
5b034290cf fwk: Use constructor feature for LayoutManager.
Change-Id: I8f5167f7e522585ce8b80ebd8a9a0031aea50d74
2014-01-17 12:25:03 +01:00
Matúš Kukan
db69bd9187 fwk: Use constructor feature for ModuleManager.
Change-Id: Ic0bcec6fffc52ed1ce535f87da933bdf01c6db01
2014-01-17 12:25:01 +01:00
Matúš Kukan
af96a6635e fwk: Use constructor feature for ObjectMenuController.
Change-Id: I93bec5fcb51987b7db433250f990685f15f0aa29
2014-01-17 12:25:00 +01:00
Matúš Kukan
b93ea039eb fwk: Use constructor feature for UIConfigurationManager.
Change-Id: Icd42b6b9b62271606659651a2f463e1ee2956fe6
2014-01-17 12:24:54 +01:00
Matúš Kukan
86b12c3448 fwk: Use constructor feature for URLTransformer.
Change-Id: I6559cb4c97e7c20930fffba3ce3d565840c89033
2014-01-17 12:24:53 +01:00
Matúš Kukan
d51b105904 fwk: Use constructor feature for JobDispatch.
Change-Id: I49a09c4dd0550c318e9f263e9d1a8d0a5e0e15b5
2014-01-17 12:24:52 +01:00
Matúš Kukan
10074976b7 fwk: Use constructor feature for StatusIndicatorFactory.
Change-Id: I0595ec98df7bf4114dfb4c21aedd2d2744fda11e
2014-01-17 12:24:51 +01:00
Matúš Kukan
fb20f52279 fwk: Use constructor feature for LangSelectionStatusbarController.
Change-Id: If7ce3d27f1cec8e55b65fc2d8c749f2e8bb33768
2014-01-17 12:24:49 +01:00
Matúš Kukan
87051bb36a fwk: Use constructor feature for AddonsToolBoxFactory.
Change-Id: Ifd0c71a5f37fa87c8acc2d810496925788be99ef
2014-01-17 12:24:48 +01:00
Matúš Kukan
e076f677d9 fwk: Use constructor feature for TabWindowService.
Change-Id: I37c6cb578ed4085d721b993496173822e0a554d9
2014-01-17 12:24:46 +01:00
Matúš Kukan
c4e65ed27e fwk: Use constructor feature for WizardsToolbarController.
Change-Id: I5bc8e2e212e97f216f828dfea1fbcda59adda4e4
2014-01-17 12:24:44 +01:00
Matúš Kukan
d1ae077077 fwk: Use constructor feature for OpenToolbarController.
Change-Id: Iebac70fc20fb744f582be67ab2f6bce2dce722be
2014-01-17 12:24:42 +01:00
Matúš Kukan
78cf00643e fwk: Use constructor feature for NewToolbarController.
Change-Id: Ic087dbce11572789bab749b0b4fb0be4a80f274d
2014-01-17 12:24:39 +01:00
Stephan Bergmann
62951cdd17 Introduce com.sun.star.frame.theGlobalEventBroadcaster singleton
...to supersede com.sun.star.frame.GlobalEventBroadcaster single-instance
service.

Change-Id: I74ecaadadb4c600d39979aa7c13b6389bed38fd7
2014-01-16 18:40:05 +01:00
Andras Timar
b55259eeb5 typo fixes
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-20 15:55:00 +01:00
Stephan Bergmann
8233226fe4 No need for implbase1.hxx to include XComponentContext.hpp
...which it did unlike all the other implbaseN.hxx.  Required lots of downstream clean-up,
of course.

Change-Id: Ib720e7a0a43410dcd7e6338b84a3973dfbb20866
2013-12-17 17:32:58 +01:00
Stephan Bergmann
bcc10ce1a5 Some clean-up
Change-Id: Ieefd4653c18dceb5e5300b8411207cca100e4653
2013-12-10 15:55:27 +01:00
Stephan Bergmann
87dd1780a3 Get rid of $(share_subdir_name) again
Quoting 56211a166ab25d80de84c2cccce22be15a9be051 "fdo#72394 Don't endlessly
expand $(share_subdir_name) into itself":

* The compile-time variable LIBO_SHARE_FOLDER should not end up as a runtime
  framework path variable, esp. since accidentally re-substituting it for
  "share" segments in unrelated URLs like <file:///export/share/for-all> does
  not make sense.  ac4e19f9085dbd0103c7336a5318aa1e55b3e3e0 "fdo#68552: Don't
  (attempt to) do run-time expansion of build-time parameters" had already
  attempted a fix for that, but it had to be reverted again with
  791a8b96f754798192875da287c84f8cfa4e533e because it "Unfortunately does not
  work if BUILDDIR is different from SRCDIR."

So this time fix it not via configure-expanded *.in files, but via xsltproc
(for officecfg/registry/ files) and sed (for wizards/soruce/configshare files).

The changes to officecfg/util/alllang.xsl will replace @LIBO_SHARE_FOLDER@ only
in oor:name attribues (and in <value> text), not in any other attributes,
because I have no idea how to write that generically in XSLT and it happens to
be only needed in oor:name for now.

Change-Id: Iec78eb70dcbf1a5bbabf4e42f21c44dc65c3e438
2013-12-10 12:41:36 +01:00