summaryrefslogtreecommitdiff
path: root/desktop
AgeCommit message (Collapse)Author
2013-09-26typo fixes in commentsAndras Timar
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-09-25Start hacking --enable-canonical-installation-tree-structure back into shapeTor Lillqvist
Had been totaly broken by the recent changes. (Which is fine, it is just an experimental hack anyway, I am not sure whether it will ever be used in anger. Just a pet peeve of mine, I dislike seeing libraries, configuration files, resources etc mixed together in one "program" folder, especially on OS X, where the convention is to have app-specific dylibs and frameworks in "Frameworks", and resource files in "Resources". But this is not any requirement as such; there are apps in the Mac App Store that blatantly "break" this convention.) Basically, replace uses of gb_PROGRAMDIRNAME and gb_Package_PROGRAMDIRNAME with more specific LIBO_FOO_FOLDER, which for normal builds all expand to the same "program" anyway. Change-Id: I16c2b3351caa00e251e229aafbccb8346042d3c1
2013-09-25We don't want the sbase etc scripts on OS XTor Lillqvist
Change-Id: If9748185c004b2368401373a38db92d6b61373cb
2013-09-23Try to fix cross-compilationTor Lillqvist
Add more FOO_FOR_BUILD variables and some gb_Foo_for_build functions. Get rid of gb_INSTROOT and gb_DEVINSTALLROOT, just use INSTROOT. Change-Id: Iee531b02d14fae41edb68ad589a5dec829a60255
2013-09-22add mode lines to new files (and idls) since last runCaolán McNamara
Change-Id: Id1e74f18c90e69d1a781c8f02e30dc3c005ed4fd
2013-09-22desktop: soffice.bin and unopkg.bin cleanupMichael Stahl
Clean up the horrible mess around unopkg.bin unopkg.com unopkg.exe and soffice.bin soffice.exe and crashrep.com executables and associated renaming via Packages in the desktop makefiles by simply using RepositoryFixes to correct the names. Change-Id: I4d3a549462cfa90a63d62b35db1b0407b25239f7
2013-09-22gbuild: refactor LinkTarget representationMichael Stahl
If the link targets are not in workdir then 2 different aspects are needed: the previously used location relative to workdir's LinkTarget dir (for all the misc. related targets), and the full target file. Adding an additional parameter to all LinkTarget functions would be quite annoying, especially since it would need passing through all the gb_LinkTarget__use functions in RepositoryExternal.mk; instead encode both into the linktarget itself, and modify the functions gb_LinkTarget_get_target to return the target and all others to return the workdir linktargetname. - replace gb_Library_get_linktargetname with either: * gb_Library__get_workdir_linktargetname * gb_Library__get_linktarget_target * gb_Library_get_linktarget - similar for gb_Executable_get_linktargetname - similar for gb_StaticLibrary_get_linktargetname - similar for gb_CppunitTest__get_linktargetname - add calls to gb_LinkTarget__get_workdir_linktargetname where needed Change-Id: I917ad7957fee50ec2517a9f9cc9ff452c8d97d1b
2013-09-17Revert "warn if people havn't source the environment after linkoo"Matúš Kukan
This reverts commit b0eeac20a1c1db422eaf152c353a4101cb200de9. Linkoo is now dead, whatever the problem was. Conflicts: desktop/source/app/app.cxx Change-Id: Ic8fce7db9ac8b5e9661b2b767bfba9f7cdd84e9a
2013-09-17drop intermediate StringsCaolán McNamara
Change-Id: I7f730d4f5329525eda9f78514dcaa3788149d077
2013-09-17remove OUStringHashCode in favor of OUStringHashCaolán McNamara
(and as always if you find one, you can be sure there are 6 others in there when you grep for them) Change-Id: I9296ddbdda266c7b6d8a0ac0bc13ec5b6340cee7
2013-09-17convert DESKTOP module from String to OUStringNoel Grandin
Change-Id: I5dc43849ace8edbab9e6308db80a70797f090c69
2013-09-11Put Mac OS X program -> MacOS symlink into instdirStephan Bergmann
Change-Id: Ie3a9546afa4faf07e1f69a59347ff1e15f8a9cb6
2013-09-11Towards a working instdir for Mac OS XStephan Bergmann
Introduced gb_INSTROOT, which is the same as $(INSTDIR) except for Mac OS X, where it is $(INSTDIR)/LibreOffice.app/Contents. Most stuff ends up there (so most occurrences of $(INSTDIR) have been replaced with $(gb_INSTROOT)), but SDK- related stuff goes to $(INSTDIR)/$(gb_Package_SDKDIRNAME). (And GeneratedPackage needed to be made more flexible, to allow for packages that go into either of those two places.) For Android and iOS, gb_INSTROOT probably still needs to be set. The most obvious missing thing yet to make instdir work for Mac OS X is the instdir/*/LibreOffice.app/Contents/ure/ vs. instdir/*/LibreOffice.app/Contents/ure-link/ split. Change-Id: I4478edd27b14c92c96d92d5169bdca3ec50d78f5
2013-09-10desktop: ure-link is installed by ure/Packge_install.mk alreadyMichael Stahl
Change-Id: Ic575d340d0b3b42dc9b07790ab094c8ce6016329
2013-09-09Extension Manager: surely we should be able to spawn uno ...Michael Stahl
... in finite time; waiting forever may hang the smoktetest in case uno fails to start. Change-Id: I42be4cecb8eec82df8f2df63f02e1223e4933626
2013-09-09start to use instdir for subsequentcheck tests; avoid make dev-installMatúš Kukan
This commit breaks linkoo. make dev-install continues to work as before but it's not necessary to use it anymore. make check now uses files copied into instdir by gbuild. TODO: fix remaining issues so that instdir is the same as install/. Change-Id: I66836170f0922ee9ba204a61ffacc30d9e9a5d98
2013-09-09gbuild: avoid packages when copying files into instdirMatúš Kukan
There should be only two ways how to add file into instdir: - gb_Helper_install used in gbuild - gb_Package_set_outdir used also elsewhere, preferably with scp2 containing its .filelist. Change-Id: I75ec0ba63f32acf4b56b17dc972f4488edf6a777
2013-09-09desktop: put soffice.bin in INSTDIR tooMichael Stahl
Change-Id: Icfafff9120cae51c32ebfd87267e664f18f7ec8a
2013-09-09install soffice script into instdirMatúš Kukan
Change-Id: Id55fc6efcd957de926df79ca02200f4fda7c56b0
2013-09-09Be less verbose in a plain debug buildTor Lillqvist
Change-Id: Ieffdf077372f56016fa735ce0266c9e6e6a1fe1d
2013-09-07s/wiki.services.openoffice.org/wiki.openoffice.org/gAndras Timar
Change-Id: I059fbee385a109069c70f3869021c8e2ee48fee1
2013-09-05getFallbackStrings() with bIncludeFullBcp47 parameterEike Rathke
so the various places that check the full tag first do not have to get it just to delete it again. Change-Id: Ib4e3cf1b16988464db875f1b6ac5cf4a0ab60fe5
2013-09-03was convertIsoStringToLanguage(), use convertToLanguageTypeWithFallback()Eike Rathke
Change-Id: Idfbf8bf9007268fb8a5c636be0454ae2704c3ddd
2013-09-03was convertIsoStringToLanguage(), use makeFallback()Eike Rathke
Change-Id: I215e418d314cbc8bbc333c2d75cdc1a0c07e9071
2013-08-30ENABLE_RELEASE_BUILD Harmonize ENABLE_* variable to TRUE/<nothing>Norbert Thiebaud
Change-Id: I7387ff3d3adf9a4e7c15466076e9d84d4892bb3e Reviewed-on: https://gerrit.libreoffice.org/5703 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-08-30Add macosx_x86_64 extension platform identifierStephan Bergmann
Change-Id: Ie7b6e8dee54ae240ff1ca7e7cac89b914dcce9ff
2013-08-30WaE: size/t/DWORD/int: possible loss of dataTor Lillqvist
Change-Id: I4fa005a8ddb3efd3dc624110215b938ee20a67a6
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