summaryrefslogtreecommitdiff
path: root/desktop
AgeCommit message (Collapse)Author
2013-08-26TyposStephan Bergmann
Change-Id: I367313b5cec1847c646f93a1cc4a6f0f69efc712
2013-08-26Related fdo#68240: Rework langselect to provide better error messagesStephan Bergmann
...and in general removed lots of cruft from that code. Change-Id: Ie673413d8abf5a8ec78c02f4abee2647bdf10a04
2013-08-26Remove unused STARTLANG featureStephan Bergmann
Change-Id: Ib33f2ba2541faad24779cfdfbff7cf7f8a960af2
2013-08-25The "shared" extensions are read-only when HAVE_FEATURE_READONLY_INSTALLSETTor Lillqvist
Change-Id: Ia7b9a5a297ecc3bf8eedae10ee8918b5db40a5e6
2013-08-23Clean up desktop::UserInstallStephan Bergmann
Change-Id: I0cbf15443877648b1b2d82bdcf03dcccdf5f26ac
2013-08-23/org.openoffice.Setup/Office/ooSetupInstCompleted is not localizedStephan Bergmann
...so it makes no sense to localize the configuration provider when retrieving its value. (The "real" call to the default configuration provider's setLocale is in desktop::LanguageSelection::prepareLanguage anyway.) Change-Id: I55e8177d83a480a433ab38f49cb8f49fea2f6c77
2013-08-22No use continuing with empty extensions sequence past the exception hereStephan Bergmann
Change-Id: I889c7d526b0b06b3c77248d1da255ffa8f754da1
2013-08-22Various desktop::Acceptor clean upStephan Bergmann
Change-Id: Idcb41f8b83863ac1d37ea47a8bb61901f3bc7e06
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-20unopkg: use default umask when installing shared extensionsBjörgvin Ragnarsson
This makes sure shared extensions are readable by users when root's umask has been set to a value such as 0027. Change-Id: If495afae8eaf3a640c99ecb7598b79b59363c12c Reviewed-on: https://gerrit.libreoffice.org/5521 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-08-19Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVATor Lillqvist
Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3
2013-08-18Further work on the "Mac-like app structure" optionTor Lillqvist
Lots of stuff still either ended up in the wrong place, or was looked up from the wrong place, or both. Fix most cases. Change-Id: I06ebbce207c219f3cd82b4387dd9b3fdb83420d4
2013-08-18Use subfolder names from <config_folders.h>Tor Lillqvist
Change all instances of hardcoded "program", "share" etc subfolder names to use those from <config_folders.h> instead. In normal builds, the end result will not change. Change-Id: I91c95cd8e482818be67307e889ae6df887763f53
2013-08-18Add a --nstemporarydirectory switch for potential use when sandboxedTor Lillqvist
Intentionally very brutally just exit after printing out what NSTemporaryDirectory() returns, as this is for use only in unit testing, so that makefiles can learn the app-specific sandboxed temp dir. Change-Id: I96fba1399ffc43b09fe317c1b9db5af76432f4e0
2013-08-18Revert "Fixing i#119950 warn about other running terminal sessions"Jesús Corrius
This reverts commit b218cbf59de4d7ae0a6962995fb0f719ed68b5d2. The original patch just looks for another instance running which of course can be in the same terminal session. The assumptions the author makes are wrong. The bug the patch tries to solve is real and we'll probably have to solve it in the future, but not this way. Conflicts: desktop/source/app/officeipcthread.cxx Change-Id: I1e645671aa09c6147163820c12d5efb3b3688bd1 Reviewed-on: https://gerrit.libreoffice.org/5415 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-08-15intermittent crash with failed empty response during update checkCaolán McNamara
version1 is empty and version2 is not, so on second segment of version2 the i1 is already -1 from the first segment check -> kaboom Change-Id: Ic19511a3b150f40d3cd9cf66bf9d86c94f3f9187
2013-08-11m_psn is set but never usedTor Lillqvist
For some reason Clang did not notice and warn about this. I think it should have been able to, as it is a private field and all code for this class is in the same source file. Change-Id: Ib3352695e1d725b768f4e0978a5e9c72715f1021
2013-08-09#i122991# provide some details about fatal exceptions in the desktop appHerbert Dürr
In the desktop application the FatalError() facility provides a dialog with copy+pasteable text that helps to communicate details important for the understanding of such critical bugs. (cherry picked from commit 0881e04dda51387318b7a91170fc485a69f98a05)
2013-08-02Clarify commentTor Lillqvist
Change-Id: If850bc359383c089b5a4f3bd49e46499b761bbe4
2013-07-30Fix a typo and -- hopefully -- tinderbox make checkFridrich Štrba
Change-Id: I3ba939ae97d9d6cd966dc9f0bf3c96d9039d8752
2013-07-30Fix build breaker: add missing string resourceAriel Constenla-Haile
(cherry picked from commit c5a4e46fab045ae8abe01cbfd397806a58039d8a)
2013-07-30Fixing i#119950 warn about other running terminal sessionsJürgen Schmidt
introduce new warning message box to inform about further running terminal sessions Patch By: Juan Li Review By: Jina Fang Zheng, jsc (cherry picked from commit 208b788dd4afc0559eb26c6e20a59548be0d993e) Conflicts: desktop/source/app/app.cxx desktop/source/app/officeipcthread.cxx desktop/source/app/officeipcthread.hxx Change-Id: Icd858adaa0d2400eecba3c61c91e0c6fdb6d6af7
2013-07-29liblo - add ability to select filter / format for saveas.Michael Meeks
Change-Id: I866c6cb836407019973559051c854d24f9549d2a
2013-07-27fdo#54264: Fix multi-argument ApplicationEvent::TYPE_OPEN/PRINTStephan Bergmann
...that had been broken when 5c22a03320f20ae9ac2c3c16025e7c5e3a7915d5> "Cleaned up CommandLineArgs" changed the representation of those multi-arguments from a single string with \n delimiters to vector<string> in desktop/soruce/app/cmdlineargs.hxx, but missed updating other producers of such ApplicationEvents. Change-Id: I527d620c60a87f3a01d970927c521163fb6df192
2013-07-26avoid strncpy for windows.Michael Meeks
Change-Id: I7949697bb245e08355a061b4548c4078bbe9a091
2013-07-26more liblibreoffice pieces.Michael Meeks
Change-Id: I21d67de281847321d784cddc652d4a51a437fadf
2013-07-26Move OS X sandbox flag to config_features.hTor Lillqvist
Change-Id: I189fa06d13a78bcaa8e17b32756076473ced3641
2013-07-20fdo#35785 LibreOffice's support of recent documents in Windows 7 brokenJesús Corrius
Change-Id: I916ba1335b0a0420f568ab9340632f273e3c9516 Reviewed-on: https://gerrit.libreoffice.org/4997 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-17remove last users of gb_StaticLibrary_add_noexception_objectBjoern Michaelsen
Change-Id: Ide24057ec7df09c719ad443085390fb53d1bae02 Reviewed-on: https://gerrit.libreoffice.org/4954 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-07-17remove last users of gb_Executable_add_noexception_objectBjoern Michaelsen
Change-Id: Iddee238aa800ecfee8f97a7132b38b6446e0b2a4 Reviewed-on: https://gerrit.libreoffice.org/4953 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2013-07-14String::SearchAndReplaceAllAscii -> OUString::replaceAllCaolán McNamara
Change-Id: I5091835c9f71c712f15996e5c6263fc5f21f6f96
2013-07-13use static LanguageTag::convertTo...() for standalone conversionsEike Rathke
If no LanguageTag instance is at hand use the static methods to convert between BCP 47 string, Locale and MS-LangID instead of creating temporary instances. Change-Id: I9597f768078eb81c840e84a5db5617f26bb7dc09
2013-07-11Resolves: #i121544# - Clean-up MessageBox APIAriel Constenla-Haile
(cherry picked from commit 27cfcb1e9d103b3e49c1263b1fa59fee8b187b21) Conflicts: desktop/test/deployment/active/active_native.cxx desktop/test/deployment/passive/Dispatch.java desktop/test/deployment/passive/passive_native.cxx odk/examples/DevelopersGuide/Charts/SelectionChangeListener.java odk/examples/DevelopersGuide/GUI/MessageBox.java odk/examples/cpp/complextoolbarcontrols/MyProtocolHandler.cxx odk/examples/java/Inspector/Inspector.java offapi/com/sun/star/awt/MessageBoxButtons.idl offapi/com/sun/star/awt/MessageBoxResults.idl offapi/com/sun/star/awt/XMessageBox.idl offapi/com/sun/star/awt/XMessageBoxFactory.idl offapi/com/sun/star/awt/makefile.mk offapi/type_reference/types.rdb sdext/source/minimizer/unodialog.cxx toolkit/inc/toolkit/awt/vclxtoolkit.hxx toolkit/source/awt/vclxtoolkit.cxx toolkit/source/layout/core/root.cxx Change-Id: I170b494fb96362bb25ba8d0f2518d4e46934dd67 Related: #i121544# - Clean-up MessageBox API (post fix) (cherry picked from commit c9f7a06e7798bcd5253844c49d210ea9345bd4b8) Conflicts: sw/inc/pch/precompiled_sw.hxx Change-Id: Ib8b1e7aaac769feff5206fcdd238c487a6130dd1 Related: #i121544# - Fix header guards Found by: Tsutomu Uchino (cherry picked from commit 82194a19ff4f29c8451c8e6ab6fe4f1b9d08df27) Conflicts: offapi/com/sun/star/awt/MessageBoxType.idl Change-Id: Ide8ba697fbc80395d2f30a068a0820a6afa3332f
2013-07-09fdo#62192: broken launch script, bork in March in GermanyErik Auerswald
Change-Id: I0b726a696fe64ffb80a0cf367d5fa6225619ec92
2013-07-03fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFORadu Ioan
- replaced RTL_CONTEXT_ with SAL_INFO - replace OSL_* with SAL_* Change-Id: I26761cf1d4c1cfe21dec7d8ede6df6f177bf2c3e Reviewed-on: https://gerrit.libreoffice.org/4620 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-07-02OUString convertion for unotoolsNorbert Thiebaud
Change-Id: Ifae7f344e3827875e32afa3cda23c771f5735707 Reviewed-on: https://gerrit.libreoffice.org/4659 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-30Clean String and sal_Bool in toolsNorbert Thiebaud
Change-Id: I6a92196f33d7a5278c7dcc426112e9c56d582655 Reviewed-on: https://gerrit.libreoffice.org/4627 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-06-29remove OUString wrap for string literalsThomas Arnhold
For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-06-29String to OUStringThomas Arnhold
Change-Id: I68c0cc796760928c70cd29be27ed1280f9117702
2013-06-28remove toolkit/unohlp.hxx hackThomas Arnhold
Change-Id: Idb9971d848870f4d00dbf77e80e48bf7dfde8913 Reviewed-on: https://gerrit.libreoffice.org/4601 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-16Don't build icule library as we no longer use itKhaled Hosny
Change-Id: I25401eee45988bf4d156c11d9a5848c783204c02
2013-06-15clean executables in Repository.mkMatúš Kukan
..so that no executable in gb_Helper_register_executables,NONE is installed (except cppunittester from scp2/source/smoketest/) and all others are installed. Also remove unused officeloader executable. Change-Id: I1726afc4d9d6848bca7fa07ebce3acd340777e8a
2013-06-10_UNICODE macro unusedFridrich Štrba
Change-Id: I4820830f24c8a9a6d9ec3ad79df51bb2ac4f1e4d
2013-06-10Macro reported as unusedFridrich Štrba
Change-Id: Iaf7c4bc438147a283e6493598d250c9b53dd6fc0
2013-06-10fdo#46808, Use service constructor for connection::AcceptorNoel Grandin
Change-Id: I0e69e43b5e6c6907447d6a8c23c0579b88ceb9a3
2013-06-07further reduce GUIBASE usage; don't set it to headlessMatúš Kukan
Change-Id: I76916c15f380bd80e823845f52f32a1c444079da
2013-06-05Related: fdo#65407 set a default size related to font size rather than pixelsCaolán McNamara
Change-Id: I97ff54de97ca1e02aff2a94dc01f2e4991600cd5
2013-06-05fdo#46808, Convert XMultiServiceFactory in filter moduleNoel Grandin
Change-Id: I9dcddba4f5a8a7adeddc31b5df014b0174b9745d
2013-06-03fdo#46808, Convert XMultiServiceFactory to XComponentContextNoel Grandin
Change-Id: Ice5ec3a056f7f2f5184523bda1c709ccac876736
2013-06-03fdo#46808, Convert office::Quickstart service to new styleNoel Grandin
Service already existed, just needed an IDL file. Change-Id: Ief5563e53c7331b65dd429079180c4eed2f2c071