summaryrefslogtreecommitdiff
path: root/desktop/inc
AgeCommit message (Collapse)AuthorFilesLines
2013-11-15-Werror,-Wlogical-not-parenthesesStephan Bergmann1-1/+1
Change-Id: I7a61ce2b235e7aa566d647fcca2dcfc09799e648
2013-11-15liblibo: expose a C API for ABI reasons, and wrap with C++.Michael Meeks2-8/+84
Change-Id: I7b3bcead05788e663d94724522bfa3f227b15499
2013-10-28fixincludeguards.sh: desktopThomas Arnhold3-7/+7
Change-Id: Iaeba85d313af1840f925fd0536d11ac83545a118
2013-10-18Some clean-upStephan Bergmann1-4/+0
Change-Id: I142f9c4e73585272c3028880e40c20f4a056f3c3
2013-08-23Clean up desktop::UserInstallStephan Bergmann1-2/+0
Change-Id: I0cbf15443877648b1b2d82bdcf03dcccdf5f26ac
2013-08-18Revert "Fixing i#119950 warn about other running terminal sessions"Jesús Corrius1-1/+0
This reverts commit b218cbf59de4d7ae0a6962995fb0f719ed68b5d2. The original patch just looks for another instance running which of course can be in the same terminal session. The assumptions the author makes are wrong. The bug the patch tries to solve is real and we'll probably have to solve it in the future, but not this way. Conflicts: desktop/source/app/officeipcthread.cxx Change-Id: I1e645671aa09c6147163820c12d5efb3b3688bd1 Reviewed-on: https://gerrit.libreoffice.org/5415 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-30Fixing i#119950 warn about other running terminal sessionsJürgen Schmidt1-0/+1
introduce new warning message box to inform about further running terminal sessions Patch By: Juan Li Review By: Jina Fang Zheng, jsc (cherry picked from commit 208b788dd4afc0559eb26c6e20a59548be0d993e) Conflicts: desktop/source/app/app.cxx desktop/source/app/officeipcthread.cxx desktop/source/app/officeipcthread.hxx Change-Id: Icd858adaa0d2400eecba3c61c91e0c6fdb6d6af7
2013-07-29liblo - add ability to select filter / format for saveas.Michael Meeks1-1/+2
Change-Id: I866c6cb836407019973559051c854d24f9549d2a
2013-07-26more liblibreoffice pieces.Michael Meeks2-31/+13
Change-Id: I21d67de281847321d784cddc652d4a51a437fadf
2013-04-28namespacing cleanupThomas Arnhold1-9/+5
Change-Id: I1384bf53a29e174bb97db4c0644f9dce39c0e36d
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák1-9/+9
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-03-12liblibo: better init code.Michael Meeks2-8/+4
Change-Id: I8757739960cb1c764a5a66bd67d34731e3dfbf31
2013-03-12liblibo: move to C++ interface.Jack Leigh3-38/+60
Change-Id: Ie14a9446abd9524604feddf811d5373a26a30cbd
2013-03-12liblibo: create initial liblibreoffice.Michael Meeks1-0/+38
bootstrap libreoffice, start a dummy test-harness: can't use CppUnit or link to any URE / LibreOffice libraries. Change-Id: I855b640557f93959749e966a2d8e5e577fd84574
2013-03-08fdo#60691 add modelines to *.src and *.hrc filesBorim1-0/+3
use solenv/bin/add-modulelines script for the task and remove all UTF bom from *.src and *.hrc files svx/source/dialog/hdft.src Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
2013-02-11fdo#46808, convert code in desktop module to XComponentContextNoel Grandin1-1/+1
Change-Id: I79a22f52ebe59f8f89291d4e6e78bd37817cd047
2012-12-02ensure lockfile doesn't leakCaolán McNamara1-1/+2
Change-Id: I6a4c7024da154104d985bca25b26a8243174ec8d
2012-11-30Remove SvtStartOptionsStephan Bergmann1-1/+7
...the single remaining user can use officecfg/Setup.hxx instead. Change-Id: Icc1b56d820a9fcd7ecc52e279bcdde3aac4499d4
2012-11-19re-base on ALv2 code. Includes:Michael Meeks3-72/+45
Patch contributed by: Jurgen Schmidt remove onlineregistration with dependencies http://svn.apache.org/viewvc?view=revision&revision=1240245 imported patch package_eventlistener.patch http://svn.apache.org/viewvc?view=revision&revision=1172103 Patch contributed by Pedro Giffuni Accept Google Chrome OS fonts as equivalent to MS fonts. http://svn.apache.org/viewvc?view=revision&revision=1233155 http://svn.apache.org/viewvc?view=revision&revision=1233408 Patch contributed by Andre Fischer Do not add targets for junit tests when junit is disabled. http://svn.apache.org/viewvc?view=revision&revision=1241508 Patches contributed by Mathias Bauer (and others) gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 cws mba34issues01: #i114600#: remove forbidden characters from list of unencoded characters http://svn.apache.org/viewvc?view=revision&revision=1172370 Patches contributed by Oliver Rainer-Wittman some clean up in JPEGReader due to memory constraints http://svn.apache.org/viewvc?view=revision&revision=1299729 119114 - method <UpdateDialog::addSpecificError(..)> - create entry with correct type http://svn.apache.org/viewvc?view=revision&revision=1305265 Patches contributed by Ariel Constenla-Haile i118707 - make toolbar control's popup window grab focus http://svn.apache.org/viewvc?view=revision&revision=1225846 Patches contributed by Herbert Duerr #i118662# remove usage of BerkeleyDB in desktop module http://svn.apache.org/viewvc?view=revision&revision=1213171 minor cleanups in dp_persmap.* http://svn.apache.org/viewvc?view=revision&revision=1215064 flush early to prevent problem with extension manager not cleaning up its objects http://svn.apache.org/viewvc?view=revision&revision=1228147 i118726 do not flush *pmap file while reading it http://svn.apache.org/viewvc?view=revision&revision=1230614 #i119048# migrate BDB extension entries using a simple heuristic http://svn.apache.org/viewvc?view=revision&revision=1300972 #i119048# handle edge cases when importing BDB hash files http://svn.apache.org/viewvc?view=revision&revision=1301428 #i119113# fix of-by-one when importing BDB files http://svn.apache.org/viewvc?view=revision&revision=1305420 restore our encryption settings, icon themes, and dictionaries. removed wrapper hacks, kill obsolete bundled extension blob / pre-registration handling, remove duplicated quickstart code. remove OS/2 conditionals.
2012-11-19Revert "sb140: #i117084# do not leak Lockfile instance"Michael Meeks1-2/+1
This reverts commit 1d38dbab29245e430792f7b3a4c14c94cd011504. Conflicts: desktop/source/app/app.cxx
2012-09-29Use comphelper::getComponentContextStephan Bergmann1-2/+0
...and some further clean up. Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
2012-09-24fdo#54385: Displaying help/version early on UNX requires service managerStephan Bergmann1-3/+3
This regression was introduced with 6c6358a6822d3562b9b8c7668a7d60d6c644dfe8 "Related fdo#53006: Do not instantiate service manager too early." Change-Id: If22ea3ac6474188bf0792246620e5c705a813445
2012-09-18Don't access broken service mgr during bootstrap failureStephan Bergmann1-11/+8
...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-08-24Unused membersStephan Bergmann1-4/+0
Change-Id: I4f3e6f2c07d1ef55464646a5ab313c305f4a22e8
2012-08-24fdo#53968 etc.: Fix more "doesn't start after upgrade" problemsStephan Bergmann1-0/+1
* 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-09fdo#53006: Remove user/extensions/bundled cache after upgradeStephan Bergmann1-3/+1
... 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-08tubes: finish efforts to make TeleManager staticMatúš Kukan1-7/+0
Change-Id: I1d25a6074c3465a6e8c1df3127093d30d913b65d
2012-07-26tubes: avoid unnecessary re-building; move the include into source fileMatúš Kukan1-1/+2
Change-Id: Ib45a5fab8d4dc118ac0ae5282d47f46f9f86edc2
2012-07-24tubes: init TeleManager in desktopMatúš Kukan1-0/+6
- register clients when we run --invisible - create ScDocFuncSend only if we are going to use it Change-Id: I7e33cd5a2e42e34a055146dc6c2bdac3657d6529
2012-07-14simplify include guardsThomas Arnhold1-1/+1
Change-Id: Id4210229b20a1d54b680ff1a2ccbcdd3684ecf5f
2012-07-01Remove unused definesThomas Arnhold1-4/+0
Change-Id: I45e1618dcff920b63b7e21ba9e842eed684114d7
2012-06-15hrc cleanup: Remove completely unused RIDsThomas Arnhold1-1/+1
These RID definitions aren't used at any other point. So remove them. Unused START and END definitions were commented out for documentation purpose. All definitions in basctl/source/basicide/tbxctl.hrc were unused, so I removed this file. Change-Id: I4713188a12b9da912b2a91b85ea4e54ca1aeb994
2012-06-07bnc#524250: Show backing component after cancelled recoveryStephan Bergmann1-0/+2
...instead of an empty Writer document, which is non-intuitive when the user had worked on something other than a Writer document before the crash. f8e1d2438199c4a76ceeb36352678c415e25272c "win32-dont-attempt-restart.diff: Don't attempt to restart OOo after crash" had previously attempted to fix this with a sledgehammer approach of not restarting at all after a crash on Windows, under the wrong assumption that there would be no restart after crash at all on Linux either (which was apparently rather a bug caused by the newly introduced oosplash at that time). Change-Id: If65d2e21640d56262c486d887c4a29137cabcd0a
2012-05-02Cleaned up CommandLineArgsStephan Bergmann1-1/+1
* Support for dead arguments has been removed. ** Especially, dead UCB_CONFIGURATION_KEY1/2_xxx values have also been removed, and code initializing UCB has been simplified accordingly. * For the sake of simplicity, behaviour has been changed slightly. For example, passing both --calc --writer now always lets --writer win (whereas in the past the one mentioned first, i.e., --calc in this example, would win). Change-Id: Id40a19b9ef96db0d439cadd96ba491bf640d28fb
2012-04-24Force ExtensionManager resync when the implementation changesStephan Bergmann1-1/+3
...as checking the lastsynchronized time-stamps can give wrong results if new and old impl use same user config and old impl is started once more after new impl is installed, in which case per-user data of bundled exts of new impl would not be regenerated, leading to inconsistencies.
2011-11-27remove precompiled_xxx.hxx/cxxNorbert Thiebaud2-72/+0
2011-11-27remove include of pch header in desktopNorbert Thiebaud2-2/+0
2011-11-15Introduced LibreOffice-minimal-version extension dependency.Stephan Bergmann1-2/+5
2011-11-14Simplified some uses of css.configuration.theDefaultProvider.Stephan Bergmann1-1/+1
* Retro-added new-style UNOIDL singleton specification for it, for easy instantiation. * Plus new comphelper::getComponentContext to map from XMultiServiceFactory to XComponentContext.
2011-11-09dp_dependencies clean upStephan Bergmann1-3/+3
2011-11-04Further clean up of areas touched by previous commit.Stephan Bergmann1-1/+0
2011-10-26chmod -xTor Lillqvist1-0/+0
2011-09-21Improved some error reporting.Stephan Bergmann1-0/+1
2011-09-15gbuildize desktopDavid Tardon1-47/+0
2011-09-09sb140: #i117084# do not leak Lockfile instanceStephan Bergmann1-1/+2
plus improvements based on a14010cb8c485ee1d07530d34a00f03db3233e02 "valgrind: fix leak"
2011-09-01Resolves: fdo#37195 CreateProcessServiceFactory can't happen before syncCaolán McNamara1-2/+2
If CreateProcessServiceFactory is called, then common.rdb of "Users/YOU/AppData/Roaming/LibreOffice/3/user/extensions/bundled/registry/ com.sun.star.comp.deployment.component.PackageRegistryBackend/common.rdb" is opened mmapped On a new start of an LibreOffice which wants to synchronize new config over an old config, then it will want do a copy of "install/share/prereg/bundled/registry/ com.sun.star.comp.deployment.component.PackageRegistryBackend/common.rdb" over "Users/YOU/AppData/Roaming/LibreOffice/3/user/extensions/bundled/registry/ com.sun.star.comp.deployment.component.PackageRegistryBackend/common.rdb" which will fail on windows with error 1224, i.e. ERROR_USER_MAPPED_FILE That aborts the copy_bundled_recursive copy, leaving an old config pointing to the old location of dictionaries. So for windows at least, CreateProcessServiceFactory shouldn't happen before copy_bundled_recursive.
2011-07-07Remove socomp library related codeMatus Kukan1-1/+0
2011-04-01Use our rtl::Static pattern hereCaolán McNamara1-2/+2
avoid memleak, and remove excessive pointer/new foo, and ensure thread-safety on some compilers while leaving the door open to skip it with gcc, and help out helgrind
2011-03-29drop bogus executable flag from [ch]xx/bas/asm filesFrancisco Saito4-0/+0
2011-03-13fix mis-merge in desktopNorbert Thiebaud1-1/+1