summaryrefslogtreecommitdiff
path: root/desktop
AgeCommit message (Collapse)AuthorFilesLines
2013-02-22Try ignoring IPC pipe errors on AndroidTor Lillqvist1-0/+2
Change-Id: I906df7fb65226422973e11ad69abdcc4fbd980c9
2013-02-22Rename the package and .apk of the "desktop" test app to avoid confusionTor Lillqvist1-2/+2
It used the same package name as DocumentLoader and the same .apk name as the eary sc cppunit test app. Probably having two unrelated apps with the same package name causes some confusion somewhere. Change-Id: I11414b9cd59694eb97d39bfaeac4ed1066ae3aab
2013-02-22these stray fprintfs drive people dementedCaolán McNamara1-4/+0
Change-Id: Ifee5c39423957bcc4708a7933c760d9467e2ac27
2013-02-22[Uu]sefull -> [Uu]sefulJulien Nabet1-1/+1
Change-Id: I5dad83789ff9b6815561208679a5e19821041e1f
2013-02-22s/the the/the/Tor Lillqvist3-4/+4
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-21Remove leftover debugging printfTor Lillqvist1-1/+0
Change-Id: I90a75a3d2eed8929b21eef3f710aec37a9f9c5bd
2013-02-21android: finally starting and rendering at least something again.Michael Meeks2-1/+38
Only renders on very-first-start after install (oddly). We initialize vcl in it's own thread to avoid problems. Thanks to tml for fixing a linking issue. Change-Id: I960d11c6098681356fea0634970545aa9af9bacb
2013-02-21Revert "Clean up remains of NativeActivity-based Android app support"Michael Meeks1-0/+9
This reverts commit cecc926070ee3d2ad6296fc5e0cfcde8642bb140. Conflicts: sal/android/lo-bootstrap.c sal/inc/osl/detail/android-bootstrap.h
2013-02-21Missing "lib:widget delimiter from : to -" changeStephan Bergmann1-1/+1
Change-Id: I131ead5269fb0815de0e96fa268358461d45e47c
2013-02-21Clean up code that sends and recvs strings accross the OfficeIPC pipeStephan Bergmann1-55/+56
Change-Id: I5e85d5e0e4e53f3c61e59430afea15028444018f
2013-02-20Some cppcheck cleaningJulien Nabet2-5/+2
Change-Id: I0b9d3b5f8283e2fddc96b220a755ba6bcdd11606
2013-02-20s/FaultBack/Fallback/Tor Lillqvist1-6/+6
Change-Id: I9ecf4f57770151c1e4976c57d1f93982f35ac0fb
2013-02-19Good way to initialize array of char char var[NB]={0}Julien Nabet1-7/+1
See http://stackoverflow.com/questions/1920430/c-array-initialization Change-Id: Ibbbe249684dc34f8aa44868c99cc1344a2928ade
2013-02-19coverity#983483 String not null terminatedNorbert Thiebaud1-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>
2013-02-18added comment about language tagsEike Rathke1-0/+4
Change-Id: If5a64f7e2b3ad0ad62733ea7e1a0c958ef6a7cd1
2013-02-16Clean up some supportsService implementationsStephan Bergmann7-43/+28
Change-Id: Ib74400765a6e0ef203e751afa5433a01c8564fee
2013-02-15Added the current commit to "soffice --version". Fixes bug 60688.Christopher Hotchkiss2-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>
2013-02-14Removed several useless macros: UNISTRING, USTR, USTR_ASCII, ASCII_STR, ↵Jean-Noël Rouvignac1-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>
2013-02-12Undefined UpdateRequiredDialog::selectEntryStephan Bergmann1-1/+0
Change-Id: I7319b4bc276a38cf94aa90934529835ac38f57fa
2013-02-12Clean up EXTENSION_LISTBOX_ENTRY_NOTFOUNDStephan Bergmann3-10/+11
Change-Id: Ie491835b854bf59694a20c4f94e2333b72142d08
2013-02-12fdo#46808, Adapt ui::dialogs::FilePicker UNO service to new styleNoel Grandin1-10/+6
Change-Id: I1cafbfc53994e5d74241042dbd1d292ddbda67d5
2013-02-11fdo#46808, convert code in desktop module to XComponentContextNoel Grandin6-43/+46
Change-Id: I79a22f52ebe59f8f89291d4e6e78bd37817cd047
2013-02-11fdo#46808, convert xml::xpath::XPathAPI to new-style serviceNoel Grandin3-24/+7
Change-Id: I54bb0eb08d687e7d54c42601c826c580a7a17ebb
2013-02-11fdo#46808, Use singleton util::theMacroExpander new-style constructorNoel Grandin1-6/+2
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 Bergmann1-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."
2013-02-06pagein: learn to respect --enable-mergelibs caseMatúš Kukan1-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
2013-02-06remove obsolete no_localization filesAndras Timar1-1/+0
Change-Id: Ib6e570a9f409a4700b73da133c57628e9c10eeb1
2013-02-06remove obsolete hidother.src filesAndras Timar1-39/+0
Change-Id: Ieb30afd81d16d184e0276ce7699b848f26a00013
2013-02-06The resstart crack causes a crash when running sandboxed on OS XTor Lillqvist3-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
2013-02-05Better error reportingStephan Bergmann1-5/+6
Change-Id: Icb083795c9c00a9ca33c2a901b4183b81c98918c
2013-02-05Cleanly remove components from rdb again that fail during live insertionStephan Bergmann1-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
2013-02-05Cleanly remove an extension again that cannot be activated while installing itStephan Bergmann1-3/+19
...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 Bergmann1-0/+9
Change-Id: I6fad4e840cf47b4d41592ff179f66943a4469760
2013-02-05Ignore IPC socket setup errors on OS X as they occur always when sandboxedTor Lillqvist3-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
2013-01-30osl::{File,Directory}::getURL() had curiously been missingStephan Bergmann1-10/+13
Change-Id: I0af83e7aeaf681440d4bbb50d8b00390f8464b1a
2013-01-26gbuild: fix silly "expandtabs" in makefile VIM modelinesMichael Stahl3-3/+3
Change-Id: I54d8923ad315e8041fd3904da3a29f1a7a8c8b16
2013-01-26gbuild: remove various pointless calls that don't add anythingMichael Stahl9-36/+0
Change-Id: I7eccac4fa8890c2873c6bbd7f8f5bf5b0dd006d2
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl7-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
2013-01-25fdo#57061: Use a new MIGRATION4 flag file for profile migration LO 3 -> 4Stephan Bergmann1-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
2013-01-24Improve debug error reportingStephan Bergmann1-1/+2
Change-Id: I6798f7f855ed65a7628b4a178497205bce2e6060
2013-01-18PRODUCTEXTENSION: fix various obvious strings and such...Michael Stahl2-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
2013-01-18Never pass -env: arguments across OfficeIPC connectionStephan Bergmann2-3/+10
Change-Id: I1874ad0542bc8dcbe9ec588599a054030fd5d7d8
2013-01-15fdo#46808, Adapt frame::SessionListener UNO service to new styleNoel Grandin1-9/+10
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 Grandin1-41/+27
The service already existed, it just did not have an IDL file. Change-Id: I400551d34d074cc8cf36fad58badc921422a2efa
2013-01-14Use std::back_inserterStephan Bergmann1-4/+3
Change-Id: If87f96b5c616ee6ec70de6aa7f2a58c044f04f3a
2013-01-11QUARTZ is equivalent to MACOSXTor Lillqvist1-2/+2
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 Bergmann1-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
2013-01-09add a CloseButton to vcl for convenienceCaolán McNamara1-1/+1
does exactly the same default action as a CancelButton except with "Close" as the label Change-Id: I538e8fc761cde4a1050d066ef935df1ecd930414
2013-01-08Fix MigrationImpl::subtractStephan Bergmann2-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
2013-01-07fdo#57203 Unknown option: -EmbeddingAurimas Fišeras1-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>