summaryrefslogtreecommitdiff
path: root/desktop/unx
AgeCommit message (Collapse)Author
2015-10-07tdf#94829: Splash screen sets invalid XSizeHintsJulien Nabet
Change-Id: I70b86624b4d34eb6cb8f2efee0305539f6689335 Reviewed-on: https://gerrit.libreoffice.org/19219 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-10-06Fix typosAndrea Gelmini
Change-Id: Ia6246bb6d37a0ec1ac53a4cb095bfd6fd15f873d Reviewed-on: https://gerrit.libreoffice.org/18945 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-10-05Add new line after error message during startupArnaud Versini
Change-Id: Ieaf81a3b9491141805722ea60c6a8ddfe94ecda3 Reviewed-on: https://gerrit.libreoffice.org/19120 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-09-23CppCheck : reduce variables scopeMichaël Lefèvre
Change-Id: Ief402017b693a4337f330fb07bb7a6dc6e749f72 Reviewed-on: https://gerrit.libreoffice.org/18753 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-08read_percent returns ProgressStatus, not sal_BoolStephan Bergmann
Change-Id: I6e1c1f88b28db2728b2f29ea47c3e86ef8983697
2015-03-30Revert "Merge the --invisible and --headless options"Tor Lillqvist
Stephan told about the intended use case for --invisible, and it does sound like a plausible use case, so let's revert this. "ah, now that I see 4fe56f3b9af814430a28a1880799f450fb8146b9: one use case for invisible + !headless might be in workflows where external code keeps a LO instance running and lets it pop up document windows, but you don't want the initial start center thing I think that's historically where the --invisible thing is coming from, now that I vaguely remember again" This reverts commit 4fe56f3b9af814430a28a1880799f450fb8146b9. Change-Id: I17f535adee7e533abbee150b0ce5156ecf78c781
2015-03-30Merge the --invisible and --headless optionsTor Lillqvist
No need to have both. Change-Id: Ibd2f9f6d352ffb52bf43f4e1a4f69f60a60458ff
2015-03-26tdf#39440 cppcheck cleanliness, Fixing basic cpp errorsVarun
Initialized a non-initialized integer variable which is widely used in if else Change-Id: Ibd99c0baa4cd3d4d409310a9a70dc7b421f6a8b2 Reviewed-on: https://gerrit.libreoffice.org/14780 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-03-16CppCheck cleaning : remove unused struct memberMichaël Lefèvre
Change-Id: I07ebb82b71d6019a35b7cd2757464dab269d2098 Reviewed-on: https://gerrit.libreoffice.org/14855 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-02-23remove unnecessary parenthesis in return statementsNoel Grandin
found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
2015-01-01desktop: adapt pArgDescr to CommandLineArgs::ParseCommandLine_Impl()Miklos Vajna
Commit fe5527f1c6dc259af464a0593e86a2da2983b7ed (desktop, sysui: let --convert-to imply --headless, 2014-12-22) changed CommandLineArgs::ParseCommandLine_Impl(), so that --convert-to implies --headless. However, that worked only when ./soffice.bin was launched; when the ./soffice wrapper started oosplash, then a logo was still shown, as oosplash has its own list of switches that disable the splash screen. Fix the inconsistency by adding "convert-to" to oosplash's list as well. Change-Id: I47e30db3b658f179f10e8a447b5d7cea083fcc60
2014-12-02Use OSL_LIT/BIGENDIANStephan Bergmann
...one of which is guaranteed to be defined Change-Id: Icb02826f8da03ad0d605ec11f07bf60f30d1a3d0
2014-11-28Clean upStephan Bergmann
Change-Id: Idc8aa334dd784b7d55f092b0a0e353bb2f9b38d1
2014-11-28Fold URE: Linux ure/bin/* -> program/Stephan Bergmann
Change-Id: Id6cab518329829c22600f2a68b6b59abd04a564c
2014-11-21make glxtest available in salmainMarkus Mohrhard
Change-Id: Ic8bc3f2d5d96506590d35138089ead2eac984314
2014-11-20WaE: work around loplugin:unreffun and loplugin:externandnotdefinedTor Lillqvist
Change-Id: I5192ad1f068746da257f3e1d9340325956b1e69d
2014-11-20include the unx part for getting OpenGL driver & device informationMarkus Mohrhard
desktop/unx/source/glxtest.cxx is taken directly from the Mozilla project. THe whole concept is taken from Mozilla and is based on starting an early process that creates an OpenGL context. This prevents crashing drivers to crash Libreoffice. We read the information from the pipe as soon as we create the first vcl Window. In that place we then decide if the device/driver combination is blacklisted. Change-Id: I2624d4ce06d503281a4459cf3174f57cf1f7b733
2014-10-28coverity#982159 silence Unchecked return value from libraryCaolán McNamara
Change-Id: I92ff023ea2a8503d7c4799921c644aa011685ae2
2014-10-10coverity#1242395 Don't call randomCaolán McNamara
Change-Id: Idd4adac71222e03d85446c86f1c086ce32528bd6 mmeeks: just chop that else {} block out in splashx and good riddance
2014-10-09desktop: -Werror=unused-macrosMichael Stahl
The documented feature test macro is _BSD_SOURCE, and anyway, feature test macros must be defined before the first libc header is included, so this one is evidently useless. Change-Id: Ib4b2db0c6151c2f3df322992b189257f5dd0ea22
2014-06-04desktop: fix includesThomas Arnhold
Change-Id: Ia51cd6fcdb84c049907b0aeda20774558198b575
2014-05-20C string usage improvmentArnaud Versini
Change-Id: I5c59f0d2d1b911ffa1ee251e0f1355d137616493 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-04-13Clean up function declarations and some unused functionsStephan Bergmann
Change-Id: Ie35d71a03d2f89cd72836db21fac8746a9e85b09
2013-11-21fdo#60698: Unify spl and spl_unxMarcos Paulo de Souza
Change-Id: Ifd328ff3ce12364e95d05405759df6588b3a86bc Reviewed-on: https://gerrit.libreoffice.org/6503 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2013-10-28fixincludeguards.sh: desktopThomas Arnhold
Change-Id: Iaeba85d313af1840f925fd0536d11ac83545a118
2013-10-17fdo#58982 Center the splash screen in dual-monitor setupSamuel Mehrbrodt
The problem was that the position of the screen was not considered. Change-Id: I1b2feb916952a4175bfff0675a884477407a702c Reviewed-on: https://gerrit.libreoffice.org/6119 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-09Be less verbose in a plain debug buildTor Lillqvist
Change-Id: Ieffdf077372f56016fa735ce0266c9e6e6a1fe1d
2013-08-19Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVATor Lillqvist
Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3
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-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-05-14coverity#982969 Resource leakNorbert Thiebaud
Change-Id: Iabf637be4b704de4165c5cefb6a19687a1b5637a Reviewed-on: https://gerrit.libreoffice.org/3902 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-29Remove residue of undocumented "edition" featureStephan Bergmann
...whereby some branding could be orverridden with information from a program/edition/ directory. Change-Id: I7f9324678b09bc8069775dfcbda97be8e0618a91
2013-04-28namespacing cleanupThomas Arnhold
Change-Id: I1384bf53a29e174bb97db4c0644f9dce39c0e36d
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-03-27WaE: macro is not used: USE_LIBPNGTor Lillqvist
Change-Id: I900d4957d964332ef97cb389d17206438f94743c
2013-03-27-Wunused-macrosThomas Arnhold
Change-Id: Ia147a72a4bbd5cec45a2a74b721a81ff8c4340c2
2013-03-19further OUString cleanupThomas Arnhold
Change-Id: I19954ee5976cb881a5fe73a889c8e04a19b14eb6
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-12No namespace desktop visible or needed in this source file any moreTor Lillqvist
Change-Id: Id8174bd2bd50afa510ff60dcca63d8c560769f61
2013-03-12Need relative path to where exithelper.h isTor Lillqvist
Change-Id: If503e364700428ec3eac3d6f86e0388860cec10d
2013-03-12Use symbolic names instead of magic literal constantsTor Lillqvist
We use tons of plain C-style #defines to give symbolic names to constants all over the place already, in headers used from C++ code only. So why in this rare case where the symbolic names for some constants actually would be needed from a C source file, too, here then we define them inside a C++ class? Change-Id: I45726fe42687779724c45a1e2b118cc7a1debcf1
2013-02-25loplugin: improve indentationThomas Arnhold
Change-Id: Idb847766d93dc222d6c55889616da21eeac212ee
2013-02-23Fix typo "fuction" -> "function"Julien Nabet
Change-Id: I369da2262d42fbc7cc3cfeeef4920606522237cd
2013-02-18added comment about language tagsEike Rathke
Change-Id: If5a64f7e2b3ad0ad62733ea7e1a0c958ef6a7cd1
2013-01-18Never pass -env: arguments across OfficeIPC connectionStephan Bergmann
Change-Id: I1874ad0542bc8dcbe9ec588599a054030fd5d7d8
2012-12-13startup: more reliable startup of multiple instancesPierre-Eric Pelloux-Prayer
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>
2012-12-03-Werror=unused-parameterStephan Bergmann
Change-Id: If1aad98965a90ac6b2e5488f21fe0d84c9b4af47
2012-11-20loplugin: fixed busted indentCaolán McNamara
Change-Id: I47180d899701de5436e518bebcf82620f4ce9669