summaryrefslogtreecommitdiffstats
path: root/desktop
Commit message (Collapse)AuthorAgeFilesLines
* coverity#983483 String not null terminatedNorbert Thiebaud2013-02-191-0/+6
| | | | | | | Change-Id: I4cefa485b52afcdb761bfea99dd2515a206812a8 Reviewed-on: https://gerrit.libreoffice.org/2199 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
* added comment about language tagsEike Rathke2013-02-181-0/+4
| | | | Change-Id: If5a64f7e2b3ad0ad62733ea7e1a0c958ef6a7cd1
* Clean up some supportsService implementationsStephan Bergmann2013-02-167-43/+28
| | | | Change-Id: Ib74400765a6e0ef203e751afa5433a01c8564fee
* Added the current commit to "soffice --version". Fixes bug 60688.Christopher Hotchkiss2013-02-152-1/+4
| | | | | | | Change-Id: I95300b093b4fabc9a52f9c92de874f7c8e4d2869 Reviewed-on: https://gerrit.libreoffice.org/2160 Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
* Removed several useless macros: UNISTRING, USTR, USTR_ASCII, ASCII_STR, ↵Jean-Noël Rouvignac2013-02-141-6/+4
| | | | | | | | | ASCII_STRING, CONST_ASCII, ASCSTR, ASCII, DEFINE_CONST_UNICODE, DEFINE_CONST_OUSTRING Change-Id: I96d690bf9f9b319e9eeafcf218ec5ce87f21215f Reviewed-on: https://gerrit.libreoffice.org/1954 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
* Undefined UpdateRequiredDialog::selectEntryStephan Bergmann2013-02-121-1/+0
| | | | Change-Id: I7319b4bc276a38cf94aa90934529835ac38f57fa
* Clean up EXTENSION_LISTBOX_ENTRY_NOTFOUNDStephan Bergmann2013-02-123-10/+11
| | | | Change-Id: Ie491835b854bf59694a20c4f94e2333b72142d08
* fdo#46808, Adapt ui::dialogs::FilePicker UNO service to new styleNoel Grandin2013-02-121-10/+6
| | | | Change-Id: I1cafbfc53994e5d74241042dbd1d292ddbda67d5
* fdo#46808, convert code in desktop module to XComponentContextNoel Grandin2013-02-116-43/+46
| | | | Change-Id: I79a22f52ebe59f8f89291d4e6e78bd37817cd047
* fdo#46808, convert xml::xpath::XPathAPI to new-style serviceNoel Grandin2013-02-113-24/+7
| | | | Change-Id: I54bb0eb08d687e7d54c42601c826c580a7a17ebb
* fdo#46808, Use singleton util::theMacroExpander new-style constructorNoel Grandin2013-02-111-6/+2
| | | | | | And deprecate the old-style service util::MacroExpander Change-Id: Ifcefe31a8f8c68c6d44d6ec19616727eb607e1cd
* Revert "Cleanly remove an extension again that cannot be activated while ↵Stephan Bergmann2013-02-071-19/+3
| | | | | | | | | | | | 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."
* pagein: learn to respect --enable-mergelibs caseMatúš Kukan2013-02-061-4/+5
| | | | | | | | | 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
* remove obsolete no_localization filesAndras Timar2013-02-061-1/+0
| | | | Change-Id: Ib6e570a9f409a4700b73da133c57628e9c10eeb1
* remove obsolete hidother.src filesAndras Timar2013-02-061-39/+0
| | | | Change-Id: Ieb30afd81d16d184e0276ce7699b848f26a00013
* The resstart crack causes a crash when running sandboxed on OS XTor Lillqvist2013-02-063-0/+15
| | | | | | | | | | | | 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
* Better error reportingStephan Bergmann2013-02-051-5/+6
| | | | Change-Id: Icb083795c9c00a9ca33c2a901b4183b81c98918c
* Cleanly remove components from rdb again that fail during live insertionStephan Bergmann2013-02-051-4/+18
| | | | | | | | 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
* Cleanly remove an extension again that cannot be activated while installing itStephan Bergmann2013-02-051-3/+19
| | | | | | ...otherwise, it will needlessly be carried forward marked "broken." Change-Id: I12fbd4430e1ecc11f1969ae5f49aed43668f2c27
* Avoid a SAL_WARN caused by IllegalArgumentEx now being a RuntimeExStephan Bergmann2013-02-051-0/+9
| | | | Change-Id: I6fad4e840cf47b4d41592ff179f66943a4469760
* Ignore IPC socket setup errors on OS X as they occur always when sandboxedTor Lillqvist2013-02-053-2/+23
| | | | | | | | | | 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
* osl::{File,Directory}::getURL() had curiously been missingStephan Bergmann2013-01-301-10/+13
| | | | Change-Id: I0af83e7aeaf681440d4bbb50d8b00390f8464b1a
* gbuild: fix silly "expandtabs" in makefile VIM modelinesMichael Stahl2013-01-263-3/+3
| | | | Change-Id: I54d8923ad315e8041fd3904da3a29f1a7a8c8b16
* gbuild: remove various pointless calls that don't add anythingMichael Stahl2013-01-269-36/+0
| | | | Change-Id: I7eccac4fa8890c2873c6bbd7f8f5bf5b0dd006d2
* gbuild: do not copy boost headers aroundMichael Stahl2013-01-267-0/+14
| | | | | | | | | - 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
* fdo#57061: Use a new MIGRATION4 flag file for profile migration LO 3 -> 4Stephan Bergmann2013-01-251-1/+1
| | | | | | | | | ...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
* Improve debug error reportingStephan Bergmann2013-01-241-1/+2
| | | | Change-Id: I6798f7f855ed65a7628b4a178497205bce2e6060
* PRODUCTEXTENSION: fix various obvious strings and such...Michael Stahl2013-01-182-2/+2
| | | | | | | | | | | ... 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
* Never pass -env: arguments across OfficeIPC connectionStephan Bergmann2013-01-182-3/+10
| | | | Change-Id: I1874ad0542bc8dcbe9ec588599a054030fd5d7d8
* fdo#46808, Adapt frame::SessionListener UNO service to new styleNoel Grandin2013-01-151-9/+10
| | | | | | The service already existed, it just did not have an IDL file. Change-Id: I88b914995eaa52708c1d51271455478fedb65a63
* fdo#46808, Adapt frame::StartModule UNO service to new styleNoel Grandin2013-01-151-41/+27
| | | | | | The service already existed, it just did not have an IDL file. Change-Id: I400551d34d074cc8cf36fad58badc921422a2efa
* Use std::back_inserterStephan Bergmann2013-01-141-4/+3
| | | | Change-Id: If87f96b5c616ee6ec70de6aa7f2a58c044f04f3a
* QUARTZ is equivalent to MACOSXTor Lillqvist2013-01-111-2/+2
| | | | | | | So just check MACOSX in the sources, and don't pass any -DQUARTZ to compilations. Change-Id: Ia1de6024810f81f1eea01b8eb0b885d9d1ee8e20
* fdo#58909: Missing BAK_EXTENSIONS bootstrap variableStephan Bergmann2013-01-101-1/+1
| | | | | | | | | | | | | | | 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
* add a CloseButton to vcl for convenienceCaolán McNamara2013-01-091-1/+1
| | | | | | | does exactly the same default action as a CancelButton except with "Close" as the label Change-Id: I538e8fc761cde4a1050d066ef935df1ecd930414
* Fix MigrationImpl::subtractStephan Bergmann2013-01-082-37/+23
| | | | | | | | | | | | | | | | "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
* fdo#57203 Unknown option: -EmbeddingAurimas Fišeras2013-01-071-0/+9
| | | | | | | | | | | | 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>
* Cleanup: #include <tools/gen.hxx>Matteo Casalin2013-01-071-1/+0
| | | | | | | Change-Id: Ic547b4a59102afc8bdbc85ec95ac312e32ef2530 Reviewed-on: https://gerrit.libreoffice.org/1484 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* TypoTor Lillqvist2013-01-061-1/+1
|
* The "ProductSource" (MWS name) makes no sense any moreTor Lillqvist2013-01-061-2/+2
|
* Make LO buildable again after the GraphicFilter move.Jan Holesovsky2013-01-041-1/+1
| | | | Change-Id: I3455a7294b136400f32163626d5a7a7f2bfa898c
* RTL_CONSTASCII_(U)STRINGPARAM removed in desktopChr. Rossmanith2013-01-016-141/+107
| | | | Change-Id: I23bd979aa39a8062f65f66e701cfd8ca3a18da8c
* fix fallout from string cleanupPeter Foley2012-12-301-1/+1
| | | | Change-Id: Ibd1bf217a6cb2b34eac67b0c3066f5800b584905
* RTL_CONSTASCII_(U)STRINGPARAM removed in desktop/source/deployment/managerChr. Rossmanith2012-12-307-199/+159
| | | | | | removed OUSTR() as well and replaced .equals() with == Change-Id: I3cbf3654f64bbc906352efc34d1458b00db3ddef
* RTL_CONSTASCII_(U)STRINGPARAM removed in desktop/source/appChr. Rossmanith2012-12-307-103/+92
| | | | | | removed OUSTRING() as well Change-Id: Ib074d4729370a921b6b51d50360e4fa92f3d5ddf
* RTL_CONSTASCII_(U)STRINGPARAM removed in desktopChr. Rossmanith2012-12-3017-493/+371
| | | | | | | subdirs registry and deployment removed OUSTR() as well and replaced .equals() with == Change-Id: Ib4ca45ba7fdff2179d744dac5a034dc35558d92b
* RTL_CONSTASCII_(U)STRINGPARAM removed in desktop/source/deploymentChr. Rossmanith2012-12-306-182/+94
| | | | | | removed OUSTR() as well and replaced equals() with == Change-Id: Ica293711467cd93c8b4df3d52bb72bd0710ca05a
* RTL_CONSTASCII_(U)STRINGPARAM removed in desktop/source/migrationChr. Rossmanith2012-12-305-88/+76
| | | | | | removed OUSTR() as well Change-Id: I420f2e9214db86e1edefae0ed14a6a1faf065cfc
* RTL_CONSTASCII_(U)STRINGPARAM removed in desktop/source/deployment/miscChr. Rossmanith2012-12-305-129/+107
| | | | | | Removed OUSTR() as well and replaced .equals() with == Change-Id: I99e8fcd936f0b2ec1d17d4d0a0be5832108c0f3b
* RTL_CONSTASCII_(U)STRINGPARAM removed in desktop/source/deployment/guiChr. Rossmanith2012-12-306-84/+75
| | | | | | Removed OUSTR() as well and replaced .equals() with == Change-Id: Ie12ac42a76beb35ff2570d92584fc415e6e061cf