summaryrefslogtreecommitdiffstats
path: root/desktop
Commit message (Collapse)AuthorAgeFilesLines
* Get rid of (most uses of) GUITor Lillqvist2012-12-252-2/+2
| | | | | | | | | | 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>
* Remove unused cppuhelper/servicefactory.hxx includesStephan Bergmann2012-12-211-1/+0
| | | | Change-Id: I27fd4d1f1dfafccaa7936defb5cd687d6266e0a2
* fdo#46808, Convert frame::Desktop to new style service.Noel Grandin2012-12-217-160/+106
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* fdo#46808, Adapt frame::PopupMenuControllerFactory UNO service to new styleNoel Grandin2012-12-211-16/+10
| | | | | | | | 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
* Spurious leftover from debugging experimentsStephan Bergmann2012-12-201-1/+1
| | | | Change-Id: I538468b606cc29fd56362dbeb99c2698efac0f58
* fdo#58331: Handle IllegalArgumentException routinely thrown for legacy extsStephan Bergmann2012-12-191-4/+10
| | | | | | | | ...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
* Replace GUIBASE checks with equivalent OS checksTor Lillqvist2012-12-181-2/+2
| | | | | | | | | | | | | | | | | | | | | 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
* Remove --with-stlport from LO 4.0Stephan Bergmann2012-12-172-0/+8
| | | | | | | | | | | | | | | | | | | | | | | 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
* fdo#58060 use acor_und.dat and LANGUAGE_UNDETERMINEDEike Rathke2012-12-131-0/+8
| | | | | | | | | | | | | 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
* Related fdo#33484: Terminate OfficeIPCThread by closing the accepting pipeStephan Bergmann2012-12-132-32/+23
| | | | | | | | | | ... (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
* Reduce scope of OfficeIPCThread::maStreamPipeStephan Bergmann2012-12-132-7/+6
| | | | | | (Also, its destructor will close it when it goes out of scope.) Change-Id: Iaa9bebce3c0bda780f4c80c193ce619c2e6d5768
* startup: more reliable startup of multiple instancesPierre-Eric Pelloux-Prayer2012-12-134-31/+88
| | | | | | | | | | | | | | | | | | 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>
* fdo#46808, Adapt ui::UIElementFactoryManager UNO service to new styleNoel Grandin2012-12-131-13/+7
| | | | | | Required creating a new merged interface. Change-Id: I12be54e7e4c0614a31a04715342aa244d1687c42
* fdo#46808, use service constructor for ui::WindowStateConfigurationNoel Grandin2012-12-131-46/+42
| | | | Change-Id: I0b7f773a7db47049d7df4138d07e7fc38c657a65
* Clean up configuration access in Desktop::CheckFirstRunStephan Bergmann2012-12-121-59/+35
| | | | Change-Id: I8765f0939302bd7ed24de4539e682330f4f4d59b
* Remove xml2cmp leftoversStephan Bergmann2012-12-121-78/+0
| | | | Change-Id: I7c0ba8b653b8e0534ae17bd879b93b75c6554893
* use config_xxx.h files instead of -DHAVE_XXX on the command lineLuboš Luňák2012-12-071-0/+2
| | | | | | | | | | | | | | 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
* Move flag file extensions/bundled/buildid -> extensions/buildidStephan Bergmann2012-12-051-7/+6
| | | | | | ...it does not only control bundled extensions. Change-Id: Idc4c9d3c6788fc77e90aa2478d50f2b0151a1238
* Remove hack for LO 3.6.x downgrading to preregistered bundled extensions againStephan Bergmann2012-12-052-67/+35
| | | | | | | | | 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
* Bye bye ODMATor Lillqvist2012-12-051-9/+0
| | | | | SUSE has no interest in it any longer, and I doubt anybody else has either.
* Take extra cache/uno_packages/*.tmp_/*properties files into accountStephan Bergmann2012-12-041-11/+14
| | | | | | ...when migrating user extensions from an old user profile. Change-Id: I4425eba1e840bfdb33782bb3ed0542ce48b2f75f
* -Werror=unused-parameterStephan Bergmann2012-12-031-0/+3
| | | | Change-Id: If1aad98965a90ac6b2e5488f21fe0d84c9b4af47
* ensure lockfile doesn't leakCaolán McNamara2012-12-022-20/+7
| | | | Change-Id: I6a4c7024da154104d985bca25b26a8243174ec8d
* Remove unused method from desktopMarcos Paulo de Souza2012-12-022-12/+0
| | | | | | | | 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>
* drop one more #include <rtl/locale.hxx>David Tardon2012-11-301-1/+0
| | | | Change-Id: Ie01d49341ea1317153f4e57841a0a401a329140a
* eradicate all traces of OLocale and rtl/locale.hxxMichael Stahl2012-11-301-1/+0
| | | | | | ... damn language tags breaking builds left and right ... Change-Id: I73224cb3fb2bb98779fdcace700cad2a4fb7cd0e
* de-cargocult singleton creationBjoern Michaelsen2012-11-301-4/+2
|
* c++ API: use css alias in generated headers, adds global css declThorsten Behrens2012-11-3044-71/+0
| | | | | | | | | | | | This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
* fdo#46808, use service constructor for i18n::CollatorNoel Grandin2012-11-301-1/+1
| | | | Change-Id: I15a360723e335345aad09e73fcb0f6815ed9e0d4
* Remove SvtStartOptionsStephan Bergmann2012-11-303-5/+12
| | | | | | ...the single remaining user can use officecfg/Setup.hxx instead. Change-Id: Icc1b56d820a9fcd7ecc52e279bcdde3aac4499d4
* We only support MSVC 2008 (_MSC_VER 1500) or laterTor Lillqvist2012-11-282-6/+2
| | | | | | We can drop or simplify many conditionals. Change-Id: I37e820e515cc09845c30b62c89ddb3b6ff370f97
* Remove useless method SetBackgroundBitmapMarcos Paulo de Souza2012-11-281-2/+0
| | | | | | | | | Thomas Arnhold asked me to take a look at the method SetBackgroundBitmap. In my XFCE, removing this method didn't chnage anything. So this needs more tests in Windows and other WM's. Change-Id: I3e10bea4eac114326ff981fb21ba0d292818b1da Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
* fdo#46808, use service constructor for i18n::CollatorNoel Grandin2012-11-281-6/+3
| | | | Change-Id: If6ad17fa9e274beff7ba872a095ced65438962af
* String=>OUString in svl's inettype and fall-outNorbert Thiebaud2012-11-278-52/+41
| | | | Change-Id: I7d64d117183738b86d1869ed629d73675de9c679
* Desktop::GetDesktopResManager: handle language tagEike Rathke2012-11-271-9/+5
| | | | Change-Id: Ica043b923e0918f65fb6b18c4205ba91784ef3c2
* get rid of LanguageSelection::IsoStringToLocale() and use LanguageTagEike Rathke2012-11-273-21/+10
| | | | Change-Id: Id327a4164435ee2e22980827ab21a5affdb8de9d
* API CHANGE: com.sun.star.lang.IllegalArgumentExceptionMichael Stahl2012-11-262-10/+4
| | | | | | | | | | | | | | | | | | | | | ... derives from com.sun.star.uno.RuntimeException instead of com.sun.star.uno.Exception. Only test that breaks with this change is jurt_uno/AnyConverter_Test, which for mysterious reasons effectively tests that IllegalArgumentException is a subclass of Exception and not RuntimeException. Presumably this is just a generic exception test that happens to use IllegalArgumentException. Some further testing indicates there are no problems expected at runtime: Running "make subsequentcheck" with all Java test code compiled against a ridl.jar that does not contain the change, running against a soffice that uses ridl.jar and rdbs with the change + ridl.jar with the change on the test side yields exactly the same AnyConverter_Test failure, with no other failures. Change-Id: Iad183de76ec7e0d56648084e97cdcc160b5b033d
* Make XRestartmanager.requestRestart work from inside Desktop::ExecuteStephan Bergmann2012-11-251-0/+3
| | | | Change-Id: I285f4ea088c08139593d0daad9a36a755985dec6
* OfficeRestartManager clean-upStephan Bergmann2012-11-251-19/+8
| | | | Change-Id: I21c6d9d2b23512e76cf46ebdbc765da780f8ec5c
* Adapt to OUString-oriented SearchForwardStephan Bergmann2012-11-251-3/+3
| | | | Change-Id: I0aec0bf6d2d3010292f5dee314074457c24ee408
* AllSettings with LanguageTagEike Rathke2012-11-223-5/+4
| | | | Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d
* IPC_STATUS_2ND_OFFICE -> BS_TERMINATE -> EXIT_SUCCES rather than EXIT_FAILUREStephan Bergmann2012-11-221-1/+1
| | | | Change-Id: Ic2dd861de07f90676bb263c7ea6c00c2b4335de5
* Clean up remains of NativeActivity-based Android app supportTor Lillqvist2012-11-211-9/+0
| | | | | | | | | | | | | | | We haven't been able to build NativeActivity-based apps (like the android/qa/sc and anroid/qa/desktop thingies) since we switched to DISABLE_DYNLOADING and a single DSO liblo-native-code.so anyway. No lo_main() any more. <sal/main.h> should not be included ever when compiling for Android of iOS now. Lots of stuff binned from vcl's androidinst.cxx, in the (vain?) hope that it will reduce the amount of never invoked GUI code that gets linked in. Change-Id: I25f584864c40110774c728a23151e089620442d9
* re-base on ALv2 code. Includes:Michael Meeks2012-11-211-4/+0
| | | | | | | | | | | | | | | | | | | | | Patch contributed by Herbert Duerr: #i118662# remove berkeleyDB from module xmlhelp (author=orwitt) http://svn.apache.org/viewvc?view=revision&revision=1213188 #i119141# remove ISCII converter for now http://svn.apache.org/viewvc?view=revision&revision=1306246 make exceptions for cppunittester verbose http://svn.apache.org/viewvc?view=revision&revision=1174831 Patches contributed by Pedro Giffuni: Avoid some uses of non portable #!/bin/bash in shell scripts. http://svn.apache.org/viewvc?view=revision&revision=1235297 Patch contributed by Oliver-Rainer Wittmann 88652: applied patch, remove unicows deps http://svn.apache.org/viewvc?view=revision&revision=1177585 drop OS/2 code, remove in-line assembler ARM atomics, and obsolete armarch header.
* remove OUSTR defineCaolán McNamara2012-11-211-13/+11
| | | | Change-Id: I7b78fa23760af3641dcaf47bc90a995ae215404b
* xslt dialog is supposed to be a modeless dialogCaolán McNamara2012-11-211-10/+7
| | | | | | and fix the lifecycle to die at the right time Change-Id: Ibe8f683ed162500a93e02a56d8607bd2ee431ded
* loplugin: fixed busted indentCaolán McNamara2012-11-201-10/+12
| | | | Change-Id: I47180d899701de5436e518bebcf82620f4ce9669
* Merge branch 'feature/killsdf'Andras Timar2012-11-201-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: desktop/prj/build.lst helpcontent2 l10ntools/Executable_gsicheck.mk l10ntools/Executable_uiex.mk regexp/inc/regexp/reclass.hxx solenv/gbuild/AllLangResTarget.mk Change-Id: I398f0cd9e7daefa8d2e04fd977d5bc2e9708169b
| * Merge branch 'master' into feature/killsdfAndras Timar2012-11-1119-164/+136
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Repository.mk RepositoryFixes.mk connectivity/prj/build.lst extensions/prj/build.lst filter/prj/build.lst fpicker/prj/build.lst l10ntools/StaticLibrary_transex.mk saxon/build.xml shell/prj/build.lst solenv/gbuild/AllLangResTarget.mk solenv/gbuild/Configuration.mk solenv/gbuild/UI.mk ucb/source/ucp/webdav/webdavcontent.cxx
| * \ Merge branch 'master' into feature/killsdfAndras Timar2012-10-1317-63/+75
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile.top Module_tail_build.mk RepositoryExternal.mk RepositoryFixes.mk accessibility/source/standard/vclxaccessibletoolbox.cxx basic/source/uno/dlgcont.cxx connectivity/Library_ado.mk cross_tail_build/prj/build.lst desktop/source/offacc/acceptor.cxx filter/Library_PptImporter.mk filter/source/t602/filterenv.cxx i18npool/Library_textconv_dict.mk ooo.lst.in saxon/ExternalProject_saxon.mk saxon/build.xml sc/sdi/scalc.sdi sc/source/filter/xml/xmlstyli.cxx sc/source/ui/condformat/condformatdlg.cxx sc/source/ui/condformat/condformatmgr.cxx sc/source/ui/view/cellsh1.cxx sdext/source/pdfimport/misc/pwdinteract.cxx shell/qa/zip/makefile.mk shell/qa/zip/testimpl/makefile.mk solenv/gbuild/CppunitTest.mk solenv/gbuild/gbuild.mk solenv/gbuild/platform/android.mk solenv/gbuild/platform/com_GCC_defs.mk solenv/gbuild/platform/macosx.mk soltools/Executable_adjustvisibility.mk soltools/Executable_checkdll.mk soltools/Executable_cpp.mk soltools/Executable_javadep.mk soltools/Executable_makedepend.mk sw/qa/extras/rtfimport/rtfimport.cxx tail_build/prj/build.lst tomcat/ExternalProject_tomcat.mk ucb/source/ucp/webdav/webdavcontent.cxx xml2cmp/Executable_xml2cmp.mk