summaryrefslogtreecommitdiff
path: root/vcl/unx/generic
AgeCommit message (Collapse)Author
2013-06-07Fix memory leak in SelectionManager::getXdndVersion.Mark Wielaard
Release XListProperties atom properties of window after inspection. Change-Id: I89d86509babd7a9d8ec65dbabe0a062bf69fc493 Reviewed-on: https://gerrit.libreoffice.org/4186 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-06-06fix WM_CLASSLuboš Luňák
VCLSalFrame is definitely not the name of any instance of LibreOffice. Change-Id: Iba227061c0c0541290c90876c94d1016aa1e783e
2013-06-06simplify WM_COMMANDLuboš Luňák
it's not necessary to prepend /bin/sh to WM_COMMAND, soffice itself already is executable Change-Id: Iece77f901f233c8c675f524c8c88510d0cfc1c52
2013-05-14SolarMutex does not belong into the URE interfaceStephan Bergmann
...so move it from osl/mutex.hxx to its own comphelper/solarmutex.hxx. It looks like a newbie mistake that 59e7685d8d812ee8773f57475cbe3aa2a0bdfc81 "Create an abstract interface to be used to implement a SolarMutex" put it here in the first place. I do not consider this an incompatible change really, as no external URE client code should have used SolarMutex anyway. (Also included some clean up, like removing unused {Clearable,Resettable}SolarGuard, and spelling out SolarGuard in the few places it is used.) Change-Id: I121ffb5b7cefbc19e88b5405e5a85ffc895be852
2013-05-06remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák
Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-04-22rhbz#954991 Avoid static data (causing trouble at exit)Stephan Bergmann
Change-Id: Ifc8275276811ba24b62f93096e7cb98a5dbf658c
2013-04-20fdo#63154: Change Min/Max/Abs for std::min/max/absMarcos Paulo de Souza
Now all these usages were removed from LO. Change-Id: I8a7233db20abdcdbb18428ad4004c78cc516a0e6 Reviewed-on: https://gerrit.libreoffice.org/3326 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-18Related: rhbz#761009 lp#766153 lp#892904 HandleFontOptions crashCaolán McNamara
The mpServerFont member of a ImplServerFontEntry must not be deleted while the ImplServerFontEntry still exists see also 39cbce553da1834f78b77f48b2f1be9578d6cc05 for another reason a crash in the same place can happen. Its impossible from traces in crashes before 39cbce553da1834f78b77f48b2f1be9578d6cc05 was fixed to distinguish those crashes from this crash. This crash is a regression due to 7a416820ab5e03f8b988656e0f6a592cb1e81d07 where we went from modifying pServerFont in X11SalGraphics::setFont directly to modifying it/a-different-one indirectly via ImplServerFontEntry The various font caches and font thing lifecycles of LibreOffice are somewhat confusing. This crash had eluded me for years, to reproduce: insert->special chars->select a font with loads of glyphs, i.e. "AR PL UKai CN" click on the first row of glyphs and hold down page-down until you hit the bottom, then page-up until you hit the top. Pre patch it won't survive the whole down+up (and valgrind will moan quite a bit) Change-Id: Ifde0cb375f487c556b04a640d77765a7dc2f0913
2013-04-17fdo#62096 - replace some O(U)String compareTo with ==Artur Dryomov
Change-Id: I98d04d7da4c2b7ea0b769df9c2bfa8c1ad86bf2d Reviewed-on: https://gerrit.libreoffice.org/3422 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-04-16Move {pre,post}x.h to where {pre,post}mac.h and {pre,post}win.h areTor Lillqvist
Change-Id: I561aa6cc1de7ed6128d25c82cd493d5d5718e052
2013-04-10vcl/inc/unx/Xproto.h seems pointlessTor Lillqvist
Change-Id: I22405b5d3416be28e677d7a383e8101bd6f15559
2013-04-10Minor refactoring: Move a function to the only file where it is usedTor Lillqvist
Change-Id: I98f1eda871eb36cdf61e003d046395698dcdad18
2013-04-10Bin a local X11 wrapper header, vcl/inc/unx/salstd.hxxTor Lillqvist
We already have <tools/prex.h> and <tools/postx.h>, so make those be sufficient instead. Bin another local vcl header vcl/inc/unx/svunx.h that just included those prex.h and postx.h. Adapt includers accordingly. Change-Id: I6638b3260fd3da45478fcc216b41f8c8a539f0d7
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-05new module i18nlangtagEike Rathke
Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-04-03fdo#58807 bring Beep() for basic backThomas Arnhold
The functionality was removed by fdo#48549. This partially reverts 0f6101cfef4c2e45d9f1f1b3a61ef94799e4526b 0bdf6fc7c71c4c49e6d6f83d56ac953272ad16d5 85cb9084533605657aca0394afe4516058a8e4ef I changed the behavior to always beep, because only the basic macro function is using Beep(). Looks like the Beep macro function didn't even work correctly before the removal, because the default was to not beep for most platforms. So I set the volume from disable (0) to 50% for XBell(). Change-Id: I663ffb7af75d2fd6d2c1f94073e4412d9744de4a Reviewed-on: https://gerrit.libreoffice.org/3124 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
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-27-Wunused-macrosStephan Bergmann
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-27No need for two sets of names for the same exttextinput flag bitsTor Lillqvist
Change-Id: Ic5756d75bc86795a7add95694aef6fc9d1f6b9fa
2013-03-27No need for two sets of names for the same frame/window state bitsTor Lillqvist
Bin the SAL_FRAMESTATE_* defines which as the comment said had to be the same as the WINDOWSTATE_*] in syswin.hxx. Change-Id: I42fcd91db543821f007038e558872ba8f69e4a78
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-20fdo#39468 German comments in vcl/unx/generic/...Christian M. Heller
Change-Id: I869f5ac346b378ee63832e01ce099f366b7c184f Reviewed-on: https://gerrit.libreoffice.org/2865 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-20use #if instead of #ifdef for testing config_xxx.hxx macrosLuboš Luňák
http://lists.freedesktop.org/archives/libreoffice/2013-March/047769.html Change-Id: I81ed4500878ff3193e028410a1f0205e28d17fc3
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
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-16Bin some pointless comments and ASCII graphicsTor Lillqvist
Change-Id: Ib7b176eb1889ebd94d4b628899011de9ebbb3dbd
2013-03-14Remove some accidental merge by-products.Thorsten Behrens
Change-Id: Ic04832bf95fd425f839bd4f6a1390959f3c82247
2013-03-14pass argb32 pixmaps from vcl to canvas, avoiding costly x11 roundtripsRadek Doulik
- fixes also problem with emf+ rendering for slideshow Change-Id: Icb894d3f37b29f23d3f267c944d827eefbf47fda
2013-03-12Removal finished of CreateFromAsciiRicardo Montania
Change-Id: I7bb590fef530c64adbe473cffa9e09b2e4507daf Reviewed-on: https://gerrit.libreoffice.org/2685 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
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-11use startsWith() instead of compareToAscii()Thomas Arnhold
brain damage... Change-Id: I4dc63c7346f724eded9ac7b82cda25c2bb60beff
2013-03-09Remove now obsolete RTL_CONSTASCII_(U)STRINGPARAMChris
Change-Id: I15ae64d621fd0a1fa178f9a4062b93520628bdb0 Reviewed-on: https://gerrit.libreoffice.org/2627 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
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-08WaE: avoid mis-detection of uninitialized pixmap.Michael Meeks
2013-03-07fix canvas bitmap rendering (argb32 pixmaps) fixes color issue in n#780830Radek Doulik
Change-Id: I5242bbb171ba21da43e535255b7e9dd73c1d4930
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-03-06fdo#60148 Clean up warnings from the Clang compiler pluginnccuong
Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671 loplugin: clean warnings: unused variables, incorrect indentation and log area. Reviewed-on: https://gerrit.libreoffice.org/2544 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-03-06c#708666# remove unused member m_aThread from GetPPDAttribs structHerbert Dürr
(cherry picked from commit 83587cfa95ca3ffa6c857d184f28e74c5b0a6bd7) Change-Id: I15bb5c1e6007688bc394858bea8374c59b965057
2013-03-04doubled includesThomas Arnhold
Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold
Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
2013-03-03SalDisplay::PrintInfo: convert to SAL_INFOMiklos Vajna
Change-Id: I4abf6b9858e1d74450d7b44d86e0ce96f5195310
2013-03-01fix higher debug level buildCaolán McNamara
Change-Id: I1c0fb9a3c36708159495af6ac08f1e66074fc029
2013-02-28cleanup some module calls.Michael Meeks
Change-Id: I2871b7e49416c1fb25b80a7a4e7e2dc98efd75d8
2013-02-25loplugin: improve indentationThomas Arnhold
Change-Id: Idb847766d93dc222d6c55889616da21eeac212ee
2013-02-20typo: allways -> alwaysAndras Timar
Change-Id: I48bd0161dd76c36eeaa39c45e9539584a4ef6841
2013-02-18added language tags commentEike Rathke
Change-Id: Ia71e1b9149b823a30cbeb1e75e04d27b40f11b12
2013-02-13Some cppcheck cleaningJulien Nabet
Change-Id: I3d515fabc272e5c14f2e2779da1c43f92514f290
2013-01-30Remove unused DeInitSalMainStephan Bergmann
Change-Id: I8fd733fe6535cc4f9f299f53adc1821ce344a85c
2013-01-22Add Lithuanian translations of keyboard shortcuts (related to fdo#50415)Aurimas Fišeras
Change-Id: Ie5df8819c59135625f504f7d5b6736ddab7aab53 Reviewed-on: https://gerrit.libreoffice.org/1774 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>