summaryrefslogtreecommitdiff
path: root/desktop
AgeCommit message (Collapse)Author
2012-10-02splash screen: fix RTL modeIvan Timofeev
Change-Id: I6a00cba8fda11351ed5340f21678c330ce028a2d
2012-10-02ignore various unhelpful signals in our --backtrace gdb setup.Michael Meeks
Change-Id: I8ede40ebf5954e0492e790ce148c9b7f1f1e62df
2012-10-02fdo#52268: splash: change color and position of messagesIvan Timofeev
Change-Id: If6c607fc9f0be1f7a71eda8d555399451938c5fc
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: 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
2012-09-27tubes: fix glibc detected memory corruption in ScDocShellMatúš Kukan
ENABLE_TELEPATHY was used in docsh.hxx but not defined consistently. Add global define to gbuild. Change-Id: I9746297a0be0e01573e336d4ee237bcc14d2d47d
2012-09-27Improvements on previous commitStephan Bergmann
* Made XGlobalEventBroadcaster inherit document::XDocumentEventBroadcaster/ Listener replacements for obsolete document::XEventBroadcaster/Listener. This means some client sides unfortunately still need to use UNO_QUERY_THROW to obtain the obsolete interfaces; those client sides should be cleaned up to use the replacement interfaces instead. * Added @since tag (even to unpublished entities, on "it doesn't hurt" grounds). * Made client sides use XGlobalEventBroadcaster directly instead of querying for its super-interfaces. * Replaced new uses of comphelper::ComponentContext::getUNOContext with comphelper::getComponentContext (see 03a9f139bd9ea1a4f9096fc982e6b326def58532 "ComponentContext::getUnoContext -> getComponentContext simplification;" I intend to get rid of comphelper/componentcontext.hxx much sooner than of comphelper/processfactory.hxx). Change-Id: I6d971ebdaea83d0c3fa9ba299fb6b37e58cdfe9b
2012-09-27fdo#46808, Adapt frame::GlobalEventBroadcaster UNO service to new styleNoel Grandin
Create a merged XGlobalEventBroadcaster interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Also add two interfaces to the IDL, which the service already implemented, and existing client code already used. Change-Id: Ib7a9a30c0e50146ef621f3fe5227f8aad3190516
2012-09-26sal_Bool -> bool, convert InitAccessBridge and friendsNoel Grandin
Change-Id: I08b5a76c68c67c3837427ad74106e170c64cdaaa
2012-09-26Clean up option processingStephan Bergmann
* Support --version on non-UNX, too. * Consistently show the first unknown option and the help blob in the presence of any unknown options. * There is no need to tunnel --help/--version past oosplash in the soffice script, as oosplash is prepared to treat them adequately (esp. not pass them over any pipe); this only added unnecessary variance to what spellings exactly are supported and how mixtures of --help, --version, and unknown options are handled. Change-Id: I617f2e727e2f0eafd34a2de3b85d441c6783ec4f
2012-09-24soffice.bin: add a hack to detect calls to xmlCleanupParserMichael Stahl
xmlCleanupParser frees libxml2's global variables, accessing those later on leads to hard to debug crashes. Because libxml2 is used indirectly by lots of different components, nobody is allwed to free its globals. Change-Id: I05381d3dada217db44e96445d6f6d63014f57241
2012-09-24fdo#54385: Displaying help/version early on UNX requires service managerStephan Bergmann
This regression was introduced with 6c6358a6822d3562b9b8c7668a7d60d6c644dfe8 "Related fdo#53006: Do not instantiate service manager too early." Change-Id: If22ea3ac6474188bf0792246620e5c705a813445
2012-09-21Properly check cmdline args in oosplashStephan Bergmann
...so that e.g. --headless (starting with a "h") is not also mistaken as -h and disables pagein and javaldx. Change-Id: I8a7b2b0373d96ec586975e07e17e7eabe201dcd0
2012-09-19ComponentContext::getUnoContext -> getComponentContext simplificationStephan Bergmann
...and some further clean-up. Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
2012-09-18Don't access broken service mgr during bootstrap failureStephan Bergmann
...so that displaying a (non-translated) error box upon BE_UNO_SERVICEMANAGER works after all. Augment the error text with an exception message where appropriate. This allows to revert fdfb7a3c4b3a89b73ab5546b9620348bc4984d8f "Related fdo#51252: Report uncaught exceptions with MessageBox on Windows" as that was to catch and display failures from instantiating the service mgr. Change-Id: I049a38e95342634796eb0e940e2ee8e55193c9d3
2012-09-18deprecate oustringostreaminserter.hxxNorbert Thiebaud
the intent of this header has canged over time. now it is already systematically included with ustring.hxx and the operator overload it provide fit nicely there... Just to be safe, since that include as been added to the api during the 3.5 timeframe and therefore is already in 'production' the header remain and simply attempt to include ustring.hxx but a warning is issued indicating that this header should not be used anymore... in a couple of major release we will thenr emove it completely All internal users of that header are converted. Change-Id: I8934c55f089e29d78c0f5649b7c87b2ecf024bad Reviewed-on: https://gerrit.libreoffice.org/634 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-17fdo#46808, Adapt bridge::BridgeFactory UNO service to new styleNoel Grandin
Create a merged XBridgeFactory2 interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Change-Id: I7309f4d30f0e772bc203c701eb3407b920ffafcc
2012-09-16move help compiler/linker/indexer to a new moduleAndras Timar
we may want to use syntax highlighter class from svtools later, which is not available for l10ntools Change-Id: I5a06b77cb6935e3ef68015fb608aa26ac7c53fac
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-10headless build: build oosplash againRiccardo Magliocchetti
It looks like we want it so revert: dae66b7b1df89d824017c7afb52f66ebfd2b8fe2 4d408cc2f09fcc645d0da736b74f2f5cae86edc4 64a530cfa8e9be44965c9d708dfb642c2df2a59d Change-Id: I7cd410861b28a0556de3375a0865a7baef52bd78
2012-09-07desktop: enable --invisible by default when built with --enable-headlessRiccardo Magliocchetti
Change-Id: I560759b91c5d37079a2b0d748cff5acf0a81ae4f
2012-09-07desktop: use soffice.bin instead of oosplash if build with --enable-headlessRiccardo Magliocchetti
Change-Id: I2e4742a6893267ea8d4ec2048dd0686fd309a7db
2012-09-06Java cleanup, remove unnecessary importsNoel Grandin
Change-Id: Iacfcb2e16cb0e3c25a4cd0678a374fe5111284f7
2012-09-06deb#681185: wait for InternalIPC::ProcessingDone in oosplashStephan Bergmann
Change-Id: I9606ec34ad0d8d24dca71d060bf5e1d37152903c
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-03desktop: i swear we don't need oosplash with --enable-headlessRiccardo Magliocchetti
Change-Id: I7d03590fc2a0942757b7214c15be78e8bc626e9c
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 io::Pipe UNO service to new styleNoel Grandin
Create a merged XPipe interface for this service to implement. Which is backwards-compatible, but does not require creating a new service. Change-Id: I682633c6252aab503eb2469c9bd2ba771f10bc4b
2012-09-03fdo#46808, Adapt xml::dom::DocumentBuilder UNO service to new styleNoel Grandin
Change-Id: I577fbc7f990be9ec1f7b7eea53218b7daaccb2a1
2012-09-03-Werror=shadowStephan Bergmann
Change-Id: Ibb4dea2bd4b13058895913fa37b7f0b4488cc417
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-31-Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann
Change-Id: I70840eba399c4b4f2b0f5330399dae6f1928c0bc
2012-08-24TypoStephan Bergmann
Change-Id: Iac9a2715b8a0a517f502c56ef0652e316bd76f52
2012-08-24Unused membersStephan Bergmann
Change-Id: I4f3e6f2c07d1ef55464646a5ab313c305f4a22e8
2012-08-24fdo#53968 etc.: Fix more "doesn't start after upgrade" problemsStephan Bergmann
* fdo#53968 revealed that multiple soffice.bin instances can run removeTree in parallel. Therefore, demoted failures from exceptions to SAL_WARNs. (And keeping fingers crossed.) * a8cdce148c76c93c5d41820610d6e6ac175e03a7 "fdo#53655: Ignore failure to remove directories (as happens on Windows XP)" was due to a forgotten osl::Directory::close before calling osl::Directory::remove after all. * UserInstallations have been seen in the wild where no extensions were installed per-user (any longer), but user/uno_packages/cache/registry/ com.sun.star.comp.deployment.component.PackageRegistryBackend/*.rdb files contained data nevertheless. To reliably clean out any old junk, refreshBundledExtensionsDir has been extended to cleanExtensionsCache which in tandem with an extended Desktop::SynchronizeExtensionRepositories now cleanly re-installs all bundled, shared, and per-user extensions after a LO upgrade. Change-Id: Ic6b5b6c1945d76eb3a65b6cd4512a657b7a835a0
2012-08-21TypoStephan Bergmann
Change-Id: I41fd1463b6432818ee36e7f90e920a5fd98c7106
2012-08-21fdo#53655: Ignore failure to remove directories (as happens on Windows XP)Stephan Bergmann
...plus, add error codes to other failure's exception strings, just in case... Change-Id: Ic21c52e0ab52ed1752745e86bde214aee7c3c208
2012-08-13fdo#53006: And detect LO downgrading scenarios...Stephan Bergmann
...that reinstall potentially broken prereg data but do not touch the buildid file. Change-Id: I1b02d2c265523dd751d8ef7f2dccb59ed048f568
2012-08-11Remove unused local varsJulien Nabet
Change-Id: I80bd0329e15cb365091ea6f5c7e1ef3559d681fc
2012-08-10fdo#53006: Remove directories too, not just plain filesStephan Bergmann
... that was an oversight in 5300f6f711c2167931d45248c1b72dbce3a7df38; thanks Petr for spotting it. Change-Id: I4d0179165bc3b29d698cd776f7e1aa51fa73ebe3
2012-08-10Related fdo#51252: No more prereg, no more unopkg syncStephan Bergmann
Now that 5c47e5f63a79a9e72ec4a100786b1bbf65137ed4 "fdo#51252 Disable copying share/prereg/bundled to avoid startup crashes" removed the use of share/prereg, there is no longer need to generate it in the first place (by calling "unopkg sync" at build or installation time), and so no need for the "unopkg sync" sub- command, either. This also allows to simplify some of the jvmfwk code that was only there so that "unopkg sync" (which can require a JVM) can work in "hostile" environments (during build and installation). Change-Id: I52657384f4561bf27948ba4f0f88f4498e90987f
2012-08-10fdo#42470: Do not show backing window on --nodefaultStephan Bergmann
Change-Id: Id265dc84de454568ea8194703687c68449e9a32b
2012-08-09fdo#53006: Remove user/extensions/bundled cache after upgradeStephan Bergmann
... to clean out all sorts of inconsitencies that can have accrued there over time apparently due to how the mechanism of copying share/prereg/bundled worked, and to work around stale $BUNDLED_EXTENSIONS_PREREG references in a better way than the previous 81fd6b084b0f3c0eb5a97c77592f5ceb21d2dfb1 "fdo#53006 Force reinstall of all bundled extensions on upgrade." See the comment on refreshBundledExtensionsDir for how, at least in theory, that functionality could be removed again in the future. This effectively reverts 2d2b19dea1ab401b1b4971ff5b12b87bb11fd666 "Force ExtensionManager resync when the implementation changes" and 81fd6b084b0f3c0eb5a97c77592f5ceb21d2dfb1 "fdo#53006 Force reinstall of all bundled extensions on upgrade" (the latter at least on master; it had never been cherry-picked to libreoffice-3-6), which it obsoletes. Change-Id: I8f80c07a06ec9d53b03813338eeff7d7757c9d4d
2012-08-09Related fdo#53006: Do not instantiate service manager too earlyStephan Bergmann
... in soffice_main calling GetCommandLineArgs, before Desktop::Init takes care of synchronization of the per-user bundled/shared extension information (as the latter potentially modifies data that the service manager consumes upon instantiation; this e.g. lead to bundled extensions not working during first start after an upgrade). The only reason GetCommandLineArgs needed ensureProcessServiceFactory appears to be the ExternalUriReferenceTranslator. So defer its usage to when the relevant cmd line args are actually processed (which, luckily, does not yet happen in soffice_main's usage of GetCommandLineArgs). Change-Id: I6ebbf0a4ad1c6f64c8fbbe2b0d7628fa42a1afb6