summaryrefslogtreecommitdiff
path: root/desktop
AgeCommit message (Collapse)Author
2013-02-12fdo#46808, Adapt ui::dialogs::FilePicker UNO service to new styleNoel Grandin
Change-Id: I1cafbfc53994e5d74241042dbd1d292ddbda67d5
2013-02-11fdo#46808, convert code in desktop module to XComponentContextNoel Grandin
Change-Id: I79a22f52ebe59f8f89291d4e6e78bd37817cd047
2013-02-11fdo#46808, convert xml::xpath::XPathAPI to new-style serviceNoel Grandin
Change-Id: I54bb0eb08d687e7d54c42601c826c580a7a17ebb
2013-02-11fdo#46808, Use singleton util::theMacroExpander new-style constructorNoel Grandin
And deprecate the old-style service util::MacroExpander Change-Id: Ifcefe31a8f8c68c6d44d6ec19616727eb607e1cd
2013-02-07Revert "Cleanly remove an extension again that cannot be activated while ↵Stephan Bergmann
installing it" This reverts commit 3c71fa1e5ee6cd83f713c65a372006bc3aef0953. There are cases (like failure to install a per-user extension during upgrade), where the user may want to still see the broken extension in the Extension Manager, instead of it "disappearing completely." A better fix would be to roll back registration of the broken extension completely, so that "unopkg list" would not list the first half of its parts as "is registered: yes" and the second half as "is registered: no."
2013-02-06pagein: learn to respect --enable-mergelibs caseMatúš Kukan
Add libmerged to pagein-common and remove merged libraries from there. Also fixes few misspelled library names. This should make pagein usefull also for libmerged and speed up cold start by pre-loading it. Change-Id: I80ffb263ed5f399dc639e0d054f782ecb85001d6
2013-02-06remove obsolete no_localization filesAndras Timar
Change-Id: Ib6e570a9f409a4700b73da133c57628e9c10eeb1
2013-02-06remove obsolete hidother.src filesAndras Timar
Change-Id: Ieb30afd81d16d184e0276ce7699b848f26a00013
2013-02-06The resstart crack causes a crash when running sandboxed on OS XTor Lillqvist
I doubt any other app would intentionally do such a restart trick, so it isn't surprising that the app sandbox designers have not taken such a possibility into account. So instead of crashing, display a dialog informing the user that LO must be restarted manually once after installation (or after being updated, presumably). Change-Id: I0e6ea8384fe5a9b3a8b3ddb07743374a4c2300cd
2013-02-05Better error reportingStephan Bergmann
Change-Id: Icb083795c9c00a9ca33c2a901b4183b81c98918c
2013-02-05Cleanly remove components from rdb again that fail during live insertionStephan Bergmann
Such failure happens e.g. for components that bring along duplicate UNO implementation names, and if they ever got added to an rdb, LO would afterwards refuse to start forever. Change-Id: Ia62ac496547a45f5a72fdc81543f15a417c09687
2013-02-05Cleanly remove an extension again that cannot be activated while installing itStephan Bergmann
...otherwise, it will needlessly be carried forward marked "broken." Change-Id: I12fbd4430e1ecc11f1969ae5f49aed43668f2c27
2013-02-05Avoid a SAL_WARN caused by IllegalArgumentEx now being a RuntimeExStephan Bergmann
Change-Id: I6fad4e840cf47b4d41592ff179f66943a4469760
2013-02-05Ignore IPC socket setup errors on OS X as they occur always when sandboxedTor Lillqvist
In a sandboxed LibreOffice, on 10.8.2 at least, creating the Unix domain socket fails. Ignore that as hopefully people running a sandboxed LO won't attempt starting it from the command-line or in other tricky ways, so the normal OS X mechanism that prevents multiple instances of an app from being started should work fine. I hope. Change-Id: I4e0aa0c823328d00c8ff1c039859e78ba8ae92c5
2013-01-30osl::{File,Directory}::getURL() had curiously been missingStephan Bergmann
Change-Id: I0af83e7aeaf681440d4bbb50d8b00390f8464b1a
2013-01-26gbuild: fix silly "expandtabs" in makefile VIM modelinesMichael Stahl
Change-Id: I54d8923ad315e8041fd3904da3a29f1a7a8c8b16
2013-01-26gbuild: remove various pointless calls that don't add anythingMichael Stahl
Change-Id: I7eccac4fa8890c2873c6bbd7f8f5bf5b0dd006d2
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl
- do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2013-01-25fdo#57061: Use a new MIGRATION4 flag file for profile migration LO 3 -> 4Stephan Bergmann
...to avoid missing migrations on Windows and Mac OS X, where existing "3" user profiles got the "MIGRATED" flag file erroneously added when running LO 3 already, presumably due to 6b522673373797bbf53d795d53e0ec45175a5d67 "default config location has changed, look in old config dir when migrating." Change-Id: I8dd50a36450c167d47411834cc06a754affadf6d
2013-01-24Improve debug error reportingStephan Bergmann
Change-Id: I6798f7f855ed65a7628b4a178497205bce2e6060
2013-01-18PRODUCTEXTENSION: fix various obvious strings and such...Michael Stahl
... to look pretty; most of these expect PRODUCTEXTENSION to be a word like "Beta" but nowadays it is ".micro.rc.alphabeta" numbers so there should be no space before it. ReplaceStringHookProc adds insult to injury by refusing to replace %ABOUTBOX variables unless some %PRODUCT is in the string. Change-Id: Ib676f3837ab0785529a226fc9359e8defacf3459
2013-01-18Never pass -env: arguments across OfficeIPC connectionStephan Bergmann
Change-Id: I1874ad0542bc8dcbe9ec588599a054030fd5d7d8
2013-01-15fdo#46808, Adapt frame::SessionListener UNO service to new styleNoel Grandin
The service already existed, it just did not have an IDL file. Change-Id: I88b914995eaa52708c1d51271455478fedb65a63
2013-01-15fdo#46808, Adapt frame::StartModule UNO service to new styleNoel Grandin
The service already existed, it just did not have an IDL file. Change-Id: I400551d34d074cc8cf36fad58badc921422a2efa
2013-01-14Use std::back_inserterStephan Bergmann
Change-Id: If87f96b5c616ee6ec70de6aa7f2a58c044f04f3a
2013-01-11QUARTZ is equivalent to MACOSXTor Lillqvist
So just check MACOSX in the sources, and don't pass any -DQUARTZ to compilations. Change-Id: Ia1de6024810f81f1eea01b8eb0b885d9d1ee8e20
2013-01-10fdo#58909: Missing BAK_EXTENSIONS bootstrap variableStephan Bergmann
daeed90f4586eb9533041fb89bee163a5193596c "re-base on ALv2 code" had incorporated from <http://svn.apache.org/viewvc?view=revision&revision=1172102> "imported patch extensions_i117681.patch" the parts using BAK_EXTENSIONS in desktop/source/deployment/manager/, but not the parts setting BAK_EXTENSIONS in scp2/source/ooo/. Also, setting the stamp for "bak" in PackageManagerImpl::create needed to be adapted to bee742eb7a0d5dfe23e61d9ee49a29286de90256 "Fix sense of r/o detection code, and clean up" and 61eeb689d7605a23c3e71c652b57ee65cf5b28dc "fix smoketest - need to check read-only-ness of non-existent paths." Change-Id: If7cc363b3cf21fd13fb467f5f672eda5312515c8
2013-01-09add a CloseButton to vcl for convenienceCaolán McNamara
does exactly the same default action as a CancelButton except with "Close" as the label Change-Id: I538e8fc761cde4a1050d066ef935df1ecd930414
2013-01-08Fix MigrationImpl::subtractStephan Bergmann
"The original code is broken to begin with, as it ignores the return values from the std::unique calls, so excess elements remain at the end of va and vb." (<http://lists.freedesktop.org/archives/libreoffice/2013-January/043552.html> "[PATCH] Simplify MigrationImpl::subtract in desktop;" see that mail thread also for the inspiration to use std::set_difference.) This fix is not very relevant though, as there are no "ExcludedFiles" lists in officecfg/registry/data/org/openoffice/Setup.xcu, so the second argument is always empty, so the return value is always a (sorted) copy of the first argument, and the "IncludedFiles" lists in Setup.xcu produce no duplicates, so std::unique does not shrink the first argument anyway. Change-Id: Ie9fb64ee40fef6e7bdf0f5d0eca5717fec7b0d50
2013-01-07fdo#57203 Unknown option: -EmbeddingAurimas Fišeras
Ignore this option on Windows. This work-arounds a regression introduced by f4a4ba9ac Windows appends -Embedding when LibreOffice is called by COM+ Before f4a4ba9ac this option was silently ignored. Change-Id: I8a727895c9ec8fa4b06aea8ad66b2791ada66dd5 Reviewed-on: https://gerrit.libreoffice.org/1514 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-07Cleanup: #include <tools/gen.hxx>Matteo Casalin
Change-Id: Ic547b4a59102afc8bdbc85ec95ac312e32ef2530 Reviewed-on: https://gerrit.libreoffice.org/1484 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-06TypoTor Lillqvist
2013-01-06The "ProductSource" (MWS name) makes no sense any moreTor Lillqvist
2013-01-04Make LO buildable again after the GraphicFilter move.Jan Holesovsky
Change-Id: I3455a7294b136400f32163626d5a7a7f2bfa898c
2013-01-01RTL_CONSTASCII_(U)STRINGPARAM removed in desktopChr. Rossmanith
Change-Id: I23bd979aa39a8062f65f66e701cfd8ca3a18da8c
2012-12-30fix fallout from string cleanupPeter Foley
Change-Id: Ibd1bf217a6cb2b34eac67b0c3066f5800b584905
2012-12-30RTL_CONSTASCII_(U)STRINGPARAM removed in desktop/source/deployment/managerChr. Rossmanith
removed OUSTR() as well and replaced .equals() with == Change-Id: I3cbf3654f64bbc906352efc34d1458b00db3ddef
2012-12-30RTL_CONSTASCII_(U)STRINGPARAM removed in desktop/source/appChr. Rossmanith
removed OUSTRING() as well Change-Id: Ib074d4729370a921b6b51d50360e4fa92f3d5ddf
2012-12-30RTL_CONSTASCII_(U)STRINGPARAM removed in desktopChr. Rossmanith
subdirs registry and deployment removed OUSTR() as well and replaced .equals() with == Change-Id: Ib4ca45ba7fdff2179d744dac5a034dc35558d92b
2012-12-30RTL_CONSTASCII_(U)STRINGPARAM removed in desktop/source/deploymentChr. Rossmanith
removed OUSTR() as well and replaced equals() with == Change-Id: Ica293711467cd93c8b4df3d52bb72bd0710ca05a
2012-12-30RTL_CONSTASCII_(U)STRINGPARAM removed in desktop/source/migrationChr. Rossmanith
removed OUSTR() as well Change-Id: I420f2e9214db86e1edefae0ed14a6a1faf065cfc
2012-12-30RTL_CONSTASCII_(U)STRINGPARAM removed in desktop/source/deployment/miscChr. Rossmanith
Removed OUSTR() as well and replaced .equals() with == Change-Id: I99e8fcd936f0b2ec1d17d4d0a0be5832108c0f3b
2012-12-30RTL_CONSTASCII_(U)STRINGPARAM removed in desktop/source/deployment/guiChr. Rossmanith
Removed OUSTR() as well and replaced .equals() with == Change-Id: Ie12ac42a76beb35ff2570d92584fc415e6e061cf
2012-12-28Some cppcheck cleaning + Related fdo#57950Julien Nabet
Change-Id: I7ac04bf39004f8fd86404710ef2f15cf9678f63d
2012-12-25Get rid of (most uses of) GUITor Lillqvist
GUI only takes values UNX or WNT, so it is fairly pointless. One can check whether OS is WNT or not instead. Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34 Reviewed-on: https://gerrit.libreoffice.org/1304 Reviewed-by: Peter Foley <pefoley2@verizon.net> Tested-by: Peter Foley <pefoley2@verizon.net>
2012-12-21Remove unused cppuhelper/servicefactory.hxx includesStephan Bergmann
Change-Id: I27fd4d1f1dfafccaa7936defb5cd687d6266e0a2
2012-12-21fdo#46808, Convert frame::Desktop to new style service.Noel Grandin
I had to drop XEventBroadcaster from the merged interface because it introduced method name conflicts (addEventListener). Shouldn't be an issue since it was scheduled to be dropped anyhow, and the service implementation still implements it, so existing clients will be fine. I dropped the interface XPropertySet from the combined IDL because nobody seems to be using it, and it's primary purpose appears to be to set weird flags. I dropped the optional interfaces XStatusIndicatorFactory XDispatchInformationProvider from the combined IDL because the service does not implement them, and nobody seems to be using them. I suspect they were mistakenly copied from XFrame. I also did not convert the Title, UserDefinedAttributes and LayoutManager properties to attributes, again because no-one is using them. Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
2012-12-21fdo#46808, Adapt frame::PopupMenuControllerFactory UNO service to new styleNoel Grandin
Required creating a new merged interface. The service interface is going to be shared by some other services, which is why it's name is != the service name. Change-Id: I9af3c27b367807147a0052fb6fa4e42eb1ad32de
2012-12-20Spurious leftover from debugging experimentsStephan Bergmann
Change-Id: I538468b606cc29fd56362dbeb99c2698efac0f58
2012-12-19fdo#58331: Handle IllegalArgumentException routinely thrown for legacy extsStephan Bergmann
...that was no longer handled properly when installing such a legacy .zip extension due to 31170413ae3786bf44564e813d7291354e939a77 "API CHANGE: com.sun.star.lang.IllegalArgumentException." Change-Id: I6f5f4be0eed16496d8d3c3623d6676c7c669c5c4