summaryrefslogtreecommitdiff
path: root/desktop
AgeCommit message (Collapse)Author
2012-08-06Some minor fixes.Andrzej J.R. Hunt
Change-Id: Id405b97440efc7160e76d535bddfd5580923fe24
2012-08-06Fixed remote control code to work correctly.Andrzej J. R. Hunt
Change-Id: I Ia600ed456fba135056f7a00398030b7c9e873329
2012-08-02fdo#53006 Force reinstall of all bundled extensions on upgradeStephan Bergmann
...as the per-user data about bundled extensions can otherwise contain stale $BUNDLED_EXTENSIONS_PREREG references if the old installation used share/prereg/bundled/, the new one does not (cf. the fixing for fdo#51252 "LO cannot start (reports runtime error with Visual C++ Runtime Library)"), and a bundled extension did not change version. It is safe to tie this behavior to the existing "force" parameter of dp_misc::syncRepositories, as the only place that calls it with force=true is the call to Desktop::SynchronizeExtensionRepositories(newInst) in Desktop::Main, where newInst=true is the relevant condition for this behavior, too. As stated in XExtensionManager.idl, "this [...] can go again once no exisiting UserInstallation's user/extensions/bundled/ data can contain any $BUNDLED_EXTENSIONS_PREREG references any longer." Change-Id: I630dec8f2d20282ee47c65ac61ed2c9b062448e1
2012-08-02Check for ComponentPackageImpl::isRegistered_ in the current rdbStephan Bergmann
...not the old one that does not contain the changes from the current session. Otherwise, actively registered components in bundled extensions would not necessarily be re-registered upon start up. Any old instance would be removed, but the new instance would not be registered as isRegistered_ would still return true. To me it looks like 7a400caaa6946399ea31614d056d435350f42dc1 "jl145: #i99257# Extension Manager prevents running of multiple instances which acces the same shared data" erroneously introduced a call to getRDB_RO instead of getRDB into isRegistered_. That (only) call of getRDB_RO gone allowed some clean up, incl. renaming remaining variables from ..._RO to ..._orig. Change-Id: I7eccac699e6fa5799f77b038b15d62e0a9c1ad17
2012-07-26tubes: avoid unnecessary re-building; move the include into source fileMatúš Kukan
Change-Id: Ib45a5fab8d4dc118ac0ae5282d47f46f9f86edc2
2012-07-26tubes: kill double-singletonning of TeleManagerMatúš Kukan
I am not sure why it was introduced in 0dae49a03c9b4816d8cdde69e30bcd2db2e30724 and hope that it's safe to remove it now. Change-Id: I62f0ac230a83473386eabc45c9fcc387f62631e3
2012-07-26fdo#51252 Disable copying share/prereg/bundled to avoid startup crashesStephan Bergmann
...see <https://bugs.freedesktop.org/show_bug.cgi?id=51252#c35>, comment 35 to "LO cannot start (reports runtime error with Visual C++ Runtime Library)" for all the details. This commit is intended as a band aid, to be backported to libreoffice-3-6-0. It can be cleaned up later on. Change-Id: I2984cdd7efc279e3ef482a762b614e1d625a697f
2012-07-25Related fdo#51252: Report uncaught exceptions with MessageBox on WindowsStephan Bergmann
...as stderr is not generally visible there to the user (and vcl's Application::ShowNativeErrorBox might not yet be functional during early start up). Change-Id: I1b99a77f7add967579d726462aa0a7b83a5d2d0a
2012-07-24tubes: init TeleManager in desktopMatúš Kukan
- register clients when we run --invisible - create ScDocFuncSend only if we are going to use it Change-Id: I7e33cd5a2e42e34a055146dc6c2bdac3657d6529
2012-07-20Fix SAL_LOG area usageStephan Bergmann
Change-Id: If8acc5e9fee2730796637dfb505e0c514f96f1a3
2012-07-18Revert hrc string cleanupThomas Arnhold
This reverts mostly all of my hrc string cleanup commits. As Markus stated in dc05a825e71316e6f602e5c8dfcd3d10ecb6252f those are erroneous and mostly untested. And therefore absolutely unsave. I only did test them by compiling and checking the main screens. Cleaning those files seems to be much more complicated than I thought. So to be absolutely save I do this huge revert. Sorry for this. Revert "hrc cleanup: Further cleanup" This reverts commit 60212988e1cd84169afb028a4255b6f935f1fd4b. Revert "hrc cleanup: Remove unused strings" This reverts commit 0e2d7550dd287843b70c03dee952c02f9bd8afb5. Revert "hrc cleanup: Remove unused Strings in sfx2/source/doc/doc.hrc" This reverts commit efb74b5dfdb773ba53b29080e1996a93d2c1cac2. Revert "hrc cleanup: Remove unused Strings in cui" This reverts commit 527e8f61868210c54bdad650f16390bda03c4353. Revert "hrc cleanup: Remove unused Strings in desktop" This reverts commit ac3800fbb9f3251276302b24fa0542441276a34f. Revert "hrc cleanup: Remove unused cstitem.src" This reverts commit ae95e31831916df760503bfc2496b7bc55bc638b. Revert "hrc cleanup: Remove unused strings in wizards" This reverts commit 20f9a1744319ecdf18c9ab6d0873bb586eb4d03f. Revert "hrc cleanup: Remove unused Strings in sfx2" This reverts commit c26d4d34467008418ebf138412e87886694c326c.
2012-07-17move sysui to postprocessDavid Tardon
The only thing that sysui exports that is used by another package are application icons, used in desktop (windows build only). But since gbuildification of desktop they are included directly from $(SRCDIR)/sysui/desktop/icons instead of $(OUTDIR)/inc/icons, so the dependency is no longer necessary. Change-Id: I6fa3153d3793e785c1ed602c3e67c86cead2bae2
2012-07-15remove 2 unused resourcesAndras Timar
Change-Id: I5b0faac6c47c284fd25f020fdf6dbbed5c643e72
2012-07-14Remove unused HIDsThomas Arnhold
Those were only listed in help_hid.lst Change-Id: I491a037b375015db76c30c93a59b615a63fb1838
2012-07-14Perform initialization in initialization list + fix typoJulien Nabet
Change-Id: Ic1596fb91bc879f29a576efbaf46f0292b698e6d
2012-07-14simplify include guardsThomas Arnhold
Change-Id: Id4210229b20a1d54b680ff1a2ccbcdd3684ecf5f
2012-07-13Search for char instead of 1 char long string, when possible.Christophe JAILLET
It is faster and even avoid memory allocation somtimes. Change-Id: Ic12ff70e95953de44ef5798131150669d07a5445
2012-07-13Hide information about failure during very early startup a little lessStephan Bergmann
Change-Id: I4ecbcf7e19c642bbb98f66d127050361fdb6136a
2012-07-13hrc cleanup: Remove unused Strings in desktopThomas Arnhold
Change-Id: I4c3550bcc214bd675c9f86b95597449255f6154a
2012-07-11soffice.sh: remove valgrind --error-exitcode=101Michael Stahl
This doesn't really seem so important, and it prevents running junit tests with VALGRIND=memcheck from working, because the special restart exit code on first start up is mangled by valgrind and so the actual test doesn't run.
2012-07-11warning C4702: unreachable codeMichael Stahl
Change-Id: Icec8f9e37fa679b25d9bd44de56c98477d758abc
2012-07-10solaris/intel: update .mk files to fix build errorsPierre-Eric Pelloux-Prayer
Change-Id: Iba306cde71eb5efeed29a4a44cefa19a47bac84b
2012-07-09targetted rename xcr -> xmlscript to match includes and module nameMichael Meeks
2012-07-09Resolves: rhbz#838368 --view ignored while -view acceptedCaolán McNamara
and our ooviewdoc script uses --view Change-Id: Ice708f1c72c8d29d411ba21e93cb19876af13881
2012-07-03ditch String::CreateFromAsciiCaolán McNamara
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
2012-07-03useless aMgrName stringCaolán McNamara
Change-Id: Ide39492cf17400f6d4bee980e1e1aca6a0863b3f
2012-07-03coverity: ensure the string is null-terminatedDavid Tardon
Change-Id: Iaaa0e60ca99e2beef7c70d38343917c4549d1eea
2012-07-02hrc cleanup: Remove include guardsThomas Arnhold
Also add some missing include guards. Change-Id: I320a3c017ca65d34f2cd516849bcde3dec9b33f1
2012-07-02Remove unused definesThomas Arnhold
Some of them were commented out for documentation purpose. Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
2012-07-02targetted improvement of UNO API includes / usageMichael Meeks
2012-07-01Remove unused definesThomas Arnhold
Change-Id: I45e1618dcff920b63b7e21ba9e842eed684114d7
2012-06-29re-base on ALv2 code.Michael Meeks
2012-06-28fdo#46510 optionally turn on Quickstarter by installerAndras Timar
Change-Id: Ie002ab01a804cceea06e0a2ba7e6b2fe2a495344
2012-06-28use defines from systools/win32/qswin32.h instead of duplicationAndras Timar
Change-Id: I3d52308087412d1250b8ad64ffc308ca7cc414fd
2012-06-28drop unused includesDavid Tardon
Change-Id: Ic6ead729034a2a02d08f9e8edda0af1d0ff3f459
2012-06-27targetted re-work of cppunit pieces.Michael Meeks
2012-06-27Remove unused header filesThomas Arnhold
Change-Id: I3d172e5200fee63c6afcdf236a7915b7d51baf9c
2012-06-27Remove unused include filesThomas Arnhold
Those never get included at any point in the code. Change-Id: I17736e005635b9e57759cfc95176a99e7c5e8988
2012-06-27Reduce newline bloat at eofThomas Arnhold
Change-Id: I494ceee07d6825f9466cab810742d7f85291fe14
2012-06-26removed unnecessary forward declarations of classTakeshi Abe
Change-Id: Id08393f66797ef1c4378c8f3549d0900d4f1c7ec
2012-06-25callcatcher: update listCaolán McNamara
Change-Id: Id31324a6bf36e937cc6396207913e4183253bf04
2012-06-22remove bunch of obsolete looking .dxp filesMichael Stahl
Change-Id: Ib06d88890007fd27d6838a5c8829230733d3df97
2012-06-22re-base on ALv2 code.Michael Meeks
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21Executable_oosplash.mk: fix typo in Solaris "socket" libMichael Stahl
Change-Id: Ic9338867a3bf9315f20fa02d7fdb1adda2db285a
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21Fix X Session Management supportStephan Bergmann
...passing -session= into soffice was no longer supported. The way I tested this with Gnome 3.4 (Fedora 17) is with: * Run gnome-session-properties to select "Options - Automatically remember running applications when logging out" * Create ~/.local/share/applications/lodev.desktop: [Desktop Entry] Exec=.../core/solver/unxlngx6/installation/opt/program/soffice Icon=libreoffice-startcenter Name=LOdev Type=Application * Run "startx /usr/bin/gnome-session -- /usr/bin/Xephyr :1" Change-Id: Id8a6e431e4c355caafa6c7111a435ebc0d35f78a
2012-06-21hrc cleanup: Remove unused definesThomas Arnhold
All of those defines (should) not be used at any point in the code. False positives may exist, because some macro names are getting generated by some template/macro foo. This is the version which compiled fine for me. Also there are many commented out lines removed. Change-Id: I6394024682e4ab3691eb72707a9363d41ba31df8
2012-06-20Show backing window instead of empty writer upon an "empty session"Stephan Bergmann
...(i.e., after logging out of a session with soffice still running, but only with the backing window still open). The key issue was that bSessionDataExists would always be true if /org.openoffice.Office.Recovery/RecoveryInfo/SessionData is true, even if /org.openoffice.Office.Recovery/RecoveryList is empty. Always calling doRestore (unless bExistsRecoveryData, but even if !bExistsSessionData) is there to ensure that /org.openoffice.Office.Recovery/RecoveryInfo/SessionData is eventually reset (whether or not that is really necessary). Change-Id: I9c3fff23f8019069f36e1dd5ded634ea1917bbd4
2012-06-20Avoid deadlock when signal handler joins threadStephan Bergmann
...as the signal can potentially be delivered to the to-be-joined thread. (It is unclear to me whether the SalMainPipeExchangeSingal_impl handler is really needed anyway, as there are various other places that should ensure that DisableOfficeIPCThread is called during shutdown. At least in theory, no longer joining here can cause the thread to incur crashes etc. when it it still running during shutdown.) Change-Id: I677a2e31e1a58d2b8d91634c2eb5274d63ac15f4