summaryrefslogtreecommitdiff
path: root/desktop
AgeCommit message (Collapse)Author
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
2012-12-18Replace GUIBASE checks with equivalent OS checksTor Lillqvist
The idea is to get rid of GUIBASE and GUI checks as much as possible. GUIBASE=aqua <=> OS=MACOSX GUIBASE=WIN <=> OS=WNT GUIBASE=cocoatouch <=> OS=IOS GUIBASE=android <=> OS=ANDROID Don't set GUIBASE to these values any more in configure.ac either. GUIBASE_FOR_BUILD is not used anywhere. Conflicts: configure.ac postprocess/packcomponents/makefile.mk postprocess/packregistry/makefile.mk Change-Id: Ie0526b40e1073f2328ba6c333e28752104b0fed3
2012-12-17Remove --with-stlport from LO 4.0Stephan Bergmann
The STLport was only built for the benefit of old extensions on platforms that once used it themselves (Linux x86, Solaris x86 and SPARC, Windows). We deliberately break such old extensions for LO 4.0 by no longer shipping that backwards-compatiblity cludge. Keeps STLport listed in readlicense_oo/ because of o3tl/inc/o3tl/compat_functionality.hxx. Also removes GXX_INCLUDE_PATH, as that was only used by STLport (if at all?). Removes a spurious #define MOVEFILE_REPLACE_EXISTING 0x01 from l10ntools/inc/helpmerge.hxx that was once added with 854812584862d0609b695682d2bfea2667d75c00 "INTEGRATION: CWS extensionl10nfix01 (1.11.6); FILE MERGED: 2008/06/26 13:56:03 ihi 1.11.6.1: #i90987# windows rename -> MoveFileEx" but now starts to cause trouble on Windows. Also disables warning C4005 about redefinition of WB_LEFT/RIGHT macros (defined in both tools/wintypes.hxx and the Windows API) in a number of places that include windows.h -- however the old STLport caused those warnings to not show. Change-Id: Ie138a219fbbc86fb5aaa7ea0b88cf349935d9829
2012-12-13fdo#58060 use acor_und.dat and LANGUAGE_UNDETERMINEDEike Rathke
Previous versions used an empty language tag for LANGUAGE_DONTKNOW with the "[All]" autocorrection entry and read/wrote from/to arco_.dat file. An empty language tag otherwise is used for system locale and doesn't convert flawlessly with the new LanguageTag system. Instead use LANGUAGE_UNDETERMINED with the ISO 639 code 'und' so the file name is "acor_und.dat". During user profile migration an existing 3/user/autocorr/acor_.dat is copied to the new 4/user/autocorr/acor_und.dat Change-Id: I593f24829c6efd58f36e93ebd3385a3c925f7217
2012-12-13Related fdo#33484: Terminate OfficeIPCThread by closing the accepting pipeStephan Bergmann
... (and setting mbDowning to indicate an error returned from accept() is due to termination) instead of setting up an extra pipe connection to send an "InternalIPC::TerminateThread" message (which allegedly caused deadlocks, see <https://gerrit.libreoffice.org/#/c/1311/> "Change Idf933915: office ipc: use timeout pipe feature when connecting to self"). Change-Id: Id302ca13112fc409685e7665b38f1030704a0ccf
2012-12-13Reduce scope of OfficeIPCThread::maStreamPipeStephan Bergmann
(Also, its destructor will close it when it goes out of scope.) Change-Id: Iaa9bebce3c0bda780f4c80c193ce619c2e6d5768
2012-12-13startup: more reliable startup of multiple instancesPierre-Eric Pelloux-Prayer
Until now, when a new soffice instance (S2) started and tried to connect to an existing soffice process (S1), S2 may have failed to boostrap due to race condition in communication over the shared pipe. S1 can be shutdown after S2 connected to it but _before_ S1 handled its arguments (code run after 'accept' method in OfficeIPCThread). This patch introduces a new message, sent by the main soffice after it has called accept if and only if it's not shutting down (see mbDowning member). The other soffice waits for this message before enabling going in PIPE_CONNECTED mode. If soffice fails to receive this message, pipe mode is left unchanged and after a quick pause, it will try again. Change-Id: I2e099a5804e1e8dd535cfd31ef454cffa44efa62 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2012-12-13fdo#46808, Adapt ui::UIElementFactoryManager UNO service to new styleNoel Grandin
Required creating a new merged interface. Change-Id: I12be54e7e4c0614a31a04715342aa244d1687c42
2012-12-13fdo#46808, use service constructor for ui::WindowStateConfigurationNoel Grandin
Change-Id: I0b7f773a7db47049d7df4138d07e7fc38c657a65
2012-12-12Clean up configuration access in Desktop::CheckFirstRunStephan Bergmann
Change-Id: I8765f0939302bd7ed24de4539e682330f4f4d59b
2012-12-12Remove xml2cmp leftoversStephan Bergmann
Change-Id: I7c0ba8b653b8e0534ae17bd879b93b75c6554893
2012-12-07use config_xxx.h files instead of -DHAVE_XXX on the command lineLuboš Luňák
As the latter does not quite scale, and also source files depending on the setting/feature did not rebuild in case of a change. There are intentionally more config_xxx.h files (so autoheader from autotools is not used), so that a setting change does not force automatically a rebuild of everything. Running configure does not touch those config_xxx.h files that have not changed. There's config/README with a howto. Change-Id: I6d6e82050ff8faf5364ed246848b8401aca3e0e5
2012-12-05Move flag file extensions/bundled/buildid -> extensions/buildidStephan Bergmann
...it does not only control bundled extensions. Change-Id: Idc4c9d3c6788fc77e90aa2478d50f2b0151a1238
2012-12-05Remove hack for LO 3.6.x downgrading to preregistered bundled extensions againStephan Bergmann
With LO 4 using its own user profile, the problem of sharing a user profile between LO versions that do and do not use preregistration of bundled extensions can no longer happen, and so e9631f40ee49a244b6c6816e5cfb36814b9bafba "fdo#53006: And detect LO downgrading scenarios..." can be reverted again. Change-Id: I515077340823b8b277ffb6758b0d6a3cf8bfd0d5
2012-12-05Bye bye ODMATor Lillqvist
SUSE has no interest in it any longer, and I doubt anybody else has either.
2012-12-04Take extra cache/uno_packages/*.tmp_/*properties files into accountStephan Bergmann
...when migrating user extensions from an old user profile. Change-Id: I4425eba1e840bfdb33782bb3ed0542ce48b2f75f
2012-12-03-Werror=unused-parameterStephan Bergmann
Change-Id: If1aad98965a90ac6b2e5488f21fe0d84c9b4af47
2012-12-02ensure lockfile doesn't leakCaolán McNamara
Change-Id: I6a4c7024da154104d985bca25b26a8243174ec8d
2012-12-02Remove unused method from desktopMarcos Paulo de Souza
Change-Id: I17b269c70bbf82aa5a4345d488777ac98d1d6938 Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1221 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-11-30drop one more #include <rtl/locale.hxx>David Tardon
Change-Id: Ie01d49341ea1317153f4e57841a0a401a329140a