summaryrefslogtreecommitdiff
path: root/desktop
AgeCommit message (Collapse)Author
2012-10-31Missing "static"Stephan Bergmann
Change-Id: I8474e5da02036f065057a5610def6701db4cedc7
2012-10-31Get rid of vcl::unohelper::GetMultiServiceFactoryStephan Bergmann
...which effectively is just a glorious wrapper around comphelper::getProcessServiceFactory. In turn gets also rid of ImplSVAppData's mxMSF and mpMSFTempFileName and the rSMgr parameter to InitVCL. All the VCL users "soffice", "spadmin", and "unopkg gui" appear to still work fine. Change-Id: I797d48f7d0d8c35bb82124c9ab0ee63850c4d863
2012-10-30cppCheck: unusedStructMemberjailletc36
Kill unused class member and struct definition in desktop/source/splash/splash.cxx Change-Id: I06a901a5442cacf0f7fa2b0c775fc89709968601 Signed-off-by: jailletc36 <christophe.jaillet@wanadoo.fr> Reviewed-on: https://gerrit.libreoffice.org/943 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-10-30desktop: tweak xmlCleanupParser hack: disable on return from mainMichael Stahl
Lubos has apparently a case of xmlCleanupParser run as an atexit handler, from KDE's Strigi library; hopefully this should help to avoid the abort then. Change-Id: I50d2e92e5078016943f71a62070743ab8d6628bb
2012-10-30In "unopkg gui" dispose component context from DeInitVCLStephan Bergmann
...the same way it is done in soffice.bin. framework's Desktop::dispose() requires the solar mutex to be still alive, which is destroyed in DeInitVCL, so if the component context/service manager is only disposed afterwards, the solar mutex is already gone. This required moving disposeBridges() around, but it allowed to get rid of DisposeGuard. Change-Id: Ibec3d19040fdae23f492cd1e29084e673403e00b
2012-10-29fdo#46808, use service constructor for task::JobExecutorNoel Grandin
Also remove some unnecessary fields.
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-26Work around premature disposing of PackageRegistryBackendsStephan Bergmann
With ucbhelper::Content now requiring an XComponentContext during construction, calling "unopkg add" with an .oxt that requires license acceptance would lead to an assertion about a null XComponentContext, as doChecksForAddExtension calls the XPackage's checkPrerequisites -> checkLicnese -> getTextFromURL, which creates an ucbhelper::Content with getMyBackend()->getComponentContext(), but early release of the "tmp" manager would already have caused disposing of that backend, which clears m_xComponentContext. I assume this problem had always been lurking silently in the code. Change-Id: I9f59c612fe3831b2f6dd832ef2f0505b6590b8e0
2012-10-26Add sanity-check assertionStephan Bergmann
Change-Id: I119f008734e4978d6bcf5f786ae3604db5c0f8a9
2012-10-26Improve error messageStephan Bergmann
Change-Id: Icdbb60525f858a2a0002a5e6f599eb6a6954a9dd
2012-10-24desktop: try to cope with MSVC being silly with C4702 and C4715Michael Stahl
Change-Id: I9812079bd9987c841dd1856573de768d7192873b
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-23fdo#46808, Adapt packages::manifest::ManifestWriter UNO service to new styleNoel Grandin
The service already existed, it just did not have an IDL file Change-Id: I04c617a97262e9cc96af17fcae9cc084245c0149
2012-10-23fdo#46808, Adapt packages::manifest::ManifestReader UNO service to new styleNoel Grandin
The service already existed, it just did not have an IDL file. Change-Id: Idad85ab23f6650c89ba3095d10568a302503613b
2012-10-19move 2>&1 where it belongs in soffice.sh, thanks mstRene Engelhard
Change-Id: I5cc08e3fd88beba70cac61ff4570c02dbad9faa0
2012-10-19Merge SvListEntry and SvLBoxEntry into SvTreeListEntry.Kohei Yoshida
Change-Id: I89cfc8c1288c00674fe64e791c149743d377d5ee
2012-10-18deb#690717 fix bashism in /bin/sh scriptRene Engelhard
Change-Id: I43b0065e56b234a5aa748ac1593c29a44fdb1647
2012-10-11Merged SvTreeListBox and SvLBox.Kohei Yoshida
There is no reason to keep SvLBox separate. Change-Id: I0b34aa8f8ca539d4f4f0f9cea9fa9b8faec241e8
2012-10-10drop unused includesDavid Tardon
Change-Id: Id061f9bc09e791308ebcc908092f921a2b309566
2012-10-10drop unused #includeDavid Tardon
Change-Id: Ibba81e9e517dcc33a7c25fb803ef46a496e20a97
2012-10-08cppcheck: clarifyCalculationjailletc36
Use () to clarify the order of the operator + minor formatting Change-Id: I3dfa6566758d30bd76bed478089a0937ade24f89
2012-10-06drop unused includesDavid Tardon
Change-Id: Iba9f3dcb5404d28b60585bbddd2af4ec0511cea2
2012-10-06drop unused #includeDavid Tardon
Change-Id: I11b59681a101c3e89db8d7a15d196e8bf11114ed
2012-10-06drop unused #includeDavid Tardon
Change-Id: I88173adc7ee9f3c3bb909190e983474fb201467f
2012-10-06fix deps on .hrc filesDavid Tardon
Change-Id: Id50515efae1729d08bd8d90488ab77a82b1ad7c8
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-04Fixes/improvements on previous commitStephan Bergmann
* UUIInteractionHandler still needs to implement XInitialization. * Moved ambiguating InteractionHandler typedef out of the way. * Removed InteractionHandler.createDefault, as it was originally stated that "it is strongly recommended that [the "Parent"] property is supplied." * Added back documentation about Parent and Context. * Simplified some call-sites to directly use XInteractionHandler2. Change-Id: I1029b8f3cf079171c75920cafaaa44b5bbada883
2012-10-04fdo#46808, Adapt task::InteractionHandler UNO service to new styleNoel Grandin
Since we don't need to expose XInitialisation, we can make the new-style service implement XInteractionHandler2. Change-Id: Ib27beed1c12df17592c6472d6f58c233d2c41558
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