summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/plugadapt
AgeCommit message (Collapse)Author
2017-12-19coverity#1426314 silence Resource leakCaolán McNamara
Change-Id: I266463184f902df11943a23fa4129086c6441783 Reviewed-on: https://gerrit.libreoffice.org/46703 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-31ReleaseYieldMutex is always called with trueNoel Grandin
so drop param and rename to ReleaseYieldMutexAll Change-Id: Ic4fcee24d46405659e54363c87f21d88696b0ce1 Reviewed-on: https://gerrit.libreoffice.org/44057 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-10-27Remove some old KDE3 and TDE stuffJan-Marek Glogowski
Both VCL plugins are long gone. We currently just keep the desktop detection. Generally fall back to gtk in VCL detection. Change-Id: I35830868cb75d16ae7b90b20df699929cefa4636 Reviewed-on: https://gerrit.libreoffice.org/43940 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-10-23loplugin:includeform: vclStephan Bergmann
Change-Id: Id7dea3917740aaf4db8dada5e2bea6e117d714ea
2017-09-19Unify SolarMutex implementationsJan-Marek Glogowski
All backends implement the SolarMutex in mostly the same way. So this consolidates this code into a GenericSolarMutex. We still need the abstract SolarMutex class for the fake AKA fascade implementation in dbaccess. The patch also replaces various places of direct mutex usage with either SolarMutexGuard or SolarMutexReleaser objects. Change-Id: Ia0146dd6c51a3b9a513cc6af34a66def58aad831 Reviewed-on: https://gerrit.libreoffice.org/42325 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2017-06-17loplugin:unusedfields in vcl part3Noel Grandin
Change-Id: I5a6319ba1667af6e9b7b92c22f858188c28c4c61 Reviewed-on: https://gerrit.libreoffice.org/38835 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-06-06add COVERITY_NOEXCEPT_FALSECaolán McNamara
to markup dtors that coverity warns might throw exceptions which won't throw in practice, or where std::terminate is an acceptable response if they do Change-Id: I32b94814e8245372e1d1dc36be0d81e3564042f4 Reviewed-on: https://gerrit.libreoffice.org/38318 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-05-02printerinfomanager.hxx can be moved into vclCaolán McNamara
probably was exposed while padmin was still a thing Change-Id: I9605b7ae0c5bc59aa998580f5a28dc7b527219e9
2016-12-03add the SalAbort message to the crash reporterMarkus Mohrhard
Change-Id: Ibe08034bcf2a73fb12562c87c2898db1e974376c Reviewed-on: https://gerrit.libreoffice.org/31577 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-03-27Revert "vcl: two printing headers should be private Unix headers"Julien Nabet
This reverts commit 6b2889b3c4b2da175c4f95bde4495a1a89deedc3. It breaks several TBs eg: /Users/cloph/source/libo-core/sw/source/uibase/dbui/dbmgr.cxx:140:10: fatal error: 'config_cups.h' file not found ^
2016-03-28vcl: two printing headers should be private Unix headersChris Sherlock
Change-Id: I17a8d361b6c24dd9c4853d82e788c48084133e69
2016-02-13vcl: include vcl headers via triangular brackets instead of quotesChris Sherlock
Change-Id: I311f7db622ce341527fe12a92b516f800b602f92
2016-01-11vcl: move vcl/generic/app/ files to vcl/unx/generic/appChris Sherlock
These source files as all specific to Unix environments (not, however, OS X) and are not "generic" (i.e. used across all platforms). Change-Id: Idba1e9bbe14d8a4bb8e5dd2c2ad1dc75458da53c Reviewed-on: https://gerrit.libreoffice.org/21335 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I05e89f9896170d4df3d1377549ea074f06b884a0
2015-09-03remove KDE3 support, --enable-kde and --enable-kdeabMichael Stahl
With the new RHEL6-era baseline TDF can finally ship KDE4 support. Change-Id: I227278b576a3ed2f2aaa751d41b469ca92dc78b3 Reviewed-on: https://gerrit.libreoffice.org/18267 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-02vcl: rename DESKTOP_KDE to DESKTOP_KDE3Michael Stahl
Change-Id: Ie9d4d339f0fe3248a7fd7f790adcb89e660d34ec
2015-06-19use gtk3 vclplug by default under GNOME3 if availableCaolán McNamara
Change-Id: I4efe8bdfb7080365094306aee9db6b69a7f9e86a
2015-03-24Ensure RTTI symbol visibility for Linux Clang -fsanitize=function,vptrStephan Bergmann
use RTLD_GLOBAL, similar to 62b124b2704adf11a63681164d05a8eb49dfb105 "Ensure RTTI symbol visibility for Linux Clang -fsanitize=function,vptr" Change-Id: I8b3e8681b5ec07fa67f035651c1a99652a56b7f9
2015-03-20The 'svp' "plug-in" library is empty so don't build it at allTor Lillqvist
Its code is in the vcl library nowadays. Change-Id: Idb659e541226724004660102f6641c38a2312c27
2015-01-26Fix types of functions called via pointer (-fsanitze=function)Stephan Bergmann
Change-Id: Ife0151a04477ce30bb132e6dfae9f4d3a74bf4b0
2015-01-20Some more loplugin:cstylecast: vclStephan Bergmann
Change-Id: I74d35630b9fcdaa97af0b1f1e6d1e5c72488964d
2015-01-09Revert "Use SVLIBRARY instead of gb_Library_get_runtime_filename"Matúš Kukan
$(call gb_Library__get_name,foo) returns "libmerged" if library foo is merged. This reverts commit ee567a63fad9e755b11ca28696da35f00ed3b0fc. Change-Id: I6ab9b7f0b01262a6f9d5a6834a6cffdd6ffc6f8a
2015-01-06Use SVLIBRARY instead of gb_Library_get_runtime_filenameStephan Bergmann
Change-Id: I0d21d9685cdc801f7d6975a752999788c1f132e4
2014-12-10Make IsHeadlessModeRequested hack work for LOKStephan Bergmann
Change-Id: I30bf474fc44b122c8b7218e187c822a8784783fd
2014-12-10Demote Application::IsHeadlessModeRequested to local hackStephan Bergmann
Change-Id: I3ae51b8c57e70593153805e5c7c139573c543b5a
2014-11-22Add Breeze icon theme for use with KDE Plasma 5Jonathan Riddell
Change-Id: I936d31300126e2ce000ea3a7cd70c8a2dec19502 Reviewed-on: https://gerrit.libreoffice.org/13043 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2014-07-03fix libmerged: vclplug_svp is inMatúš Kukan
Change-Id: I6ab00275b36725fbb0a446c7e5eb888e034a8989
2014-06-27create_SalInstance does not need an oslModule parameterStephan Bergmann
Change-Id: I658974102f544185bf27f985bc920d8d54b40656
2014-06-09gbuild: remove config_libraries.h and gb_Helper_generate_config_librariesMichael Stahl
This much ugly complexity, generating a header on every gbuild startup etc. is really not warranted for 6 callers of the generated macros. Also, the Win32 make has problems with the quoting. Change-Id: If945e09c1730e52174a6084677842dc611d66b2f
2014-02-25Add config_libraries.h definitions to get library names easily.Matúš Kukan
Works for libmerged too, so we can get rid of LIBO_MERGELIBS. And remove few more #defines in vcl. It's generated by gbuild, so probably abusing config_host directory. Open to improvements. Change-Id: I87ab109bf109e42751766011daf076e9cdf8f5ee
2013-11-03fdo#70885: disable app menu under UnityIvan Timofeev
Change-Id: I90ca2f5dd8d2678dff74ae5599e640c9a69aee33
2013-10-17Consistently use SAL_USE_VCLPLUGIN as a bootstrap variableStephan Bergmann
...and neither exclusively nor additionally as an environment variable (where bootstrap variables include environment variables, see the @file comment in include/rtl/bootstrap.h). Note that LibLibreOffice_Impl::initialize (desktop/source/lib/init.cxx) sets it as a bootstrap, not as an environment variable. (Though desktop/unx/source/start.c still only reads it as an environment variable; could potentially check argv for -env:SAL_USE_VCLPLUGIN=...) Change-Id: I9315f585cdb4f0783181359e030686167c4e4625
2013-08-28Clean up logging and string handlingStephan Bergmann
Change-Id: I39823e303097ef32f3cc394b0d9215ae351a88f3
2013-07-02fdo#46990 - re-work new desktop checks, guard against NULL DESKTOP_SESSION.Michael Meeks
Change-Id: Ia3e408b372989b757f7dde080849e38d315d53cd
2013-07-02fdo#46990 - detect MATE and XFCE desktops.Pader Rezso
Change-Id: Id72860fc2e7d6b40f4fcb96b8f504a4f86a335b1
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-04-02vcl: don't try to dlopen kde plugins when kde support is disabledMiklos Vajna
Change-Id: I01e19a9c7345e4a3489377ccb38c0465f8c88292
2013-03-31fix vcl with Library_mergedPeter Foley
Change-Id: Ie85ba53c59eda5586b70527a518e3f80223fc49e
2013-03-21Fix force-choosing gtk3 backend.Thorsten Behrens
Extra parameter got lost in refactoring, if we set envvar, we *do* want to try that backend. Change-Id: Ib530a3a6b3e6ee33aab729ce7cd1f93e209d4513
2013-03-12liblibo: install test library by itself and install it.Michael Meeks
Also fix debugging with threads, find fundamentalrc correctly, make it headless, finally loads a document then exits. Change-Id: I2017075bf3b3c7198bde53b9fe85585089e5ab6c
2013-03-08Remove now obsolete RTL_CONSTASCII_(U)STRINGPARAM from salplug.cxxChris
Change-Id: I49b77fee3864e8a389998a4e9df1054bf29b2722 Reviewed-on: https://gerrit.libreoffice.org/2594 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-06Remove commented out code in salplug.cxxChris
Change-Id: Ie3f55a35874ecaf07440da26c8ba22c2803a0480 Reviewed-on: https://gerrit.libreoffice.org/2566 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-01-30Remove unused DeInitSalMainStephan Bergmann
Change-Id: I8fd733fe6535cc4f9f299f53adc1821ce344a85c
2012-11-12re-base on ALv2 code. Includes:Michael Meeks
Patches contributed by Pedro Giffuni: Avoid some uses of non portable #!/bin/bash in shell scripts. http://svn.apache.org/viewvc?view=revision&revision=1235297 Reduce the dependencies on non standard GNU copy. http://svn.apache.org/viewvc?view=revision&revision=1238684 Correct /usr/bin/env path. http://svn.apache.org/viewvc?view=revision&revision=1235619 Complex Toolbar Controls Extension from the SDK Patches contributed by Ariel Constenla-Haile http://svn.apache.org/viewvc?view=revision&revision=1190390 i118615 - make epm more verbose http://svn.apache.org/viewvc?view=revision&revision=1204288 Patches contributed by Mathias Bauer (and others) gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 Patches contributed by Juergen Schmidt: jsc341: i117327: take care if no dependency node in current description exists, create one http://svn.apache.org/viewvc?view=revision&revision=1172101 jsc341: i117327: add extra extension dependency check http://svn.apache.org/viewvc?view=revision&revision=1172098 make initial branding changes http://svn.apache.org/viewvc?view=revision&revision=1231878 Patches contributed by Ingo Schmidt native373: #i117733# no linux jre installation on 64 bit systems http://svn.apache.org/viewvc?view=revision&revision=1167536 native373: ##164464# improve debian support http://svn.apache.org/viewvc?view=revision&revision=1167537 Patch contribtued by Armin Le-Grand: Changed various aspects concerning usages of old vendor names http://svn.apache.org/viewvc?view=revision&revision=1293313 fix for neon webdav, remove coinmp bits, improve odk script, cleanup & remove OS/2 conditionals, system ucpp fixes, remove OS/2 conditionals, restore our license filenames.
2012-09-18Enable experimental gtk3 plugin only via SAL_USE_VCLPLUGINStephan Bergmann
...and not also via experimental mode, to avoid trying to use the UNO service manager before it has been initialized. Change-Id: Idee8bdccf1193ebe5aa0c47c801f0e2209d57899
2012-08-20Fix TDE VCL interfaceTimothy Pearson
Change-Id: Ifd28ab758ba8be89a57c152d3fb9d361715bb33f
2012-05-18TDE is certainly not a preferred fallback over KDE4Luboš Luňák
Change-Id: Iebfe536f228e7831d81d59ea3c3692f8906f72ad
2012-05-14TDE integrationNorbert Thiebaud
Change-Id: I6f468005c8d8d99d9251a9c4fe4629b98bc4aa5e
2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi
2012-03-26configuration checked before component context existsCaolán McNamara
in simple applications, e.g. spadmin, which don't have a custom main, then this configuration check happens too early before Application::Main gets run to have a chance to set the ProcessComponentContext.