summaryrefslogtreecommitdiff
path: root/vcl/unx/generic
AgeCommit message (Collapse)AuthorFilesLines
2012-11-06impress211: #i116339# implement bHandleAllCurrentEventsPhilipp Lohmann [pl]1-3/+5
Conflicts: vcl/unx/generic/app/saldata.cxx
2012-10-01Replace usage of rtl_*Memory with equivalent from string.hArnaud Versini1-2/+2
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159 Reviewed-on: https://gerrit.libreoffice.org/734 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-20cups: initialize thread running memberMichael Meeks1-1/+2
Change-Id: Idf8b079857638558075fa6b1fb5f7ea6b3c9f632
2012-09-18Enable experimental gtk3 plugin only via SAL_USE_VCLPLUGINStephan Bergmann1-11/+5
...and not also via experimental mode, to avoid trying to use the UNO service manager before it has been initialized. Change-Id: Idee8bdccf1193ebe5aa0c47c801f0e2209d57899
2012-09-17nothing propagates HAVE_CUPS_H so cups is always disabledCaolán McNamara2-260/+37
regression from 22f2e5f286d55cd5c1ead07fb82cd78027abf490 so, lets follow the same pattern as else where and fixup ENABLE_CUPS to be TRUE when enabled and lets just link against cups and not do the dlopen dance Change-Id: I3cff1bd98a7474c403d7ff66183e76e26e407de8
2012-09-17don't add invalid UTF-8 to _NET_WM_NAME and _NET_WM_ICON_NAMEChristian Lohmaier1-6/+2
time to get rid of workarounds for broken window managers that were introduced more than 10 years ago. Change-Id: I43b4c7aeab1b86b3d4a290a1d1d64c6fcb9a57ef Reviewed-on: https://gerrit.libreoffice.org/633 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-12Resolves: rhbz#855541 XIOError handler multithread woesCaolán McNamara1-0/+6
We have two threads using X, on an XIOError both threads call their XIOError handlers and two calls to exit trample all over eachother. Change-Id: I20defc6f84cc6ea2372a0d6c979e8078fe920a88
2012-09-12remove unused hMainThread_Caolán McNamara1-3/+0
Change-Id: Iea56d7f1b4d3133067e321a033df81378be2817a
2012-09-06vcl: Fix cups ifdeferyRiccardo Magliocchetti1-1/+1
So ENABLE_CUPS is defined if we want CUPS but that does not guarantee that we actually have it installed. So use HAVE_CUPS_H that is defined only if the cups headers are found. Change-Id: I7c6c3659b368dbf9f8efab31ef457f41ac162160
2012-09-03Refetch fonts if new ones installed or old ones deinstalledCaolán McNamara1-1/+5
i.e. honour gtk-fontconfig-timestamp so that if we request a font from packagekit to be installed, then we can auto-use it when it appears. Change-Id: Id0d914a3f9cd589d9e8a87bf9be4b6e47de2e191
2012-08-23unusedcode.easy: remove recently unused codeThomas Arnhold1-80/+0
Change-Id: Ia33e933d9c15c2afa25915b7e8d6a13b0c740d1c Reviewed-on: https://gerrit.libreoffice.org/426 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2012-08-20Fix TDE VCL interfaceTimothy Pearson1-3/+0
Change-Id: Ifd28ab758ba8be89a57c152d3fb9d361715bb33f
2012-08-14Replace usage of rtl/memory.h in vcl with equivalent from string.hArnaud Versini4-4/+3
Change-Id: If8d460189c57f9c02923019e95bf47db1d96c716
2012-08-13unusedcode.easy: remove unused codeThomas Arnhold1-61/+0
Change-Id: I87e7264ffd3086796aaa8e136c2f9b77fde7b74f
2012-08-07ditch obsolete XvaOpenIM stuffCaolán McNamara1-251/+0
Change-Id: Id6977932781909c81e4a5dc071f50308a58748cf
2012-08-07Remove non-existing forward declarationsThomas Arnhold1-1/+0
Those classes don't exist. So remove friend class operators too. Change-Id: I8e3b32db933dea7cbab86015f0c926df967511f6
2012-08-05Clang:Null pointer passed as an argument to a 'nonnull' parameterJulien Nabet1-1/+1
Change-Id: Ia07c50f4822af256b3b35f39f46dc442750c8439
2012-07-31fdo#48549 System::Beep() removalMathieu Vonlanthen2-23/+0
Change-Id: I402202e199dfc8c2462859d00529f2782f6228b0
2012-07-16the unknwon typo is surprisingly popularLuboš Luňák1-1/+1
Change-Id: Iffe25051c8357019521196f9a27065d6108ede47
2012-07-11Decrease header files dependenciesMatteo Casalin2-2/+0
Change-Id: I654e71e56d60bf629625df09eb93b21c9ef670e8
2012-07-10solaris: fix compilation error by adding temp var holding const_cast resultPierre-Eric Pelloux-Prayer1-1/+2
Change-Id: I3e42bb8dae6ad628f5414d8e46616432a704679f
2012-07-09Related: fdo#30763 fill in default user realname under GNOME3Caolán McNamara1-1/+6
i.e. recognize that gnome-shell is a gnome session so we use gconfbackend for default settings so that we get a default name filled in for FirstName, LastName so that the author/editor properties of new documents gets filled in by default out of the box so that the last-used position in odf files gets restored for that user Change-Id: I6630866e64414e886c80abad1ca6200ffc25b378
2012-07-02typo in Norwegian translations of keyboard shortcuts (fdo#50415)Mihkel Tõnnov1-1/+1
Change-Id: Ia6408f7c50ad16851d3302eebf603545996b2978
2012-07-02Estonian translation for keyboard shortcuts (fdo#50415)Mihkel Tõnnov1-0/+31
Change-Id: I741553e5f489b74b339e991ae01d7e6f1b7f29c7
2012-06-27Remove unused include filesThomas Arnhold1-140/+0
Those never get included at any point in the code. Change-Id: I17736e005635b9e57759cfc95176a99e7c5e8988
2012-06-22Some further clean-up of X Session Management codeStephan Bergmann1-233/+239
Change-Id: I0cc47b152835d69e90226f42609eabe5291f55f3
2012-06-21re-base on ALv2 code.Michael Meeks9-210/+129
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21Fix X Session Management supportStephan Bergmann1-4/+4
...passing -session= into soffice was no longer supported. The way I tested this with Gnome 3.4 (Fedora 17) is with: * Run gnome-session-properties to select "Options - Automatically remember running applications when logging out" * Create ~/.local/share/applications/lodev.desktop: [Desktop Entry] Exec=.../core/solver/unxlngx6/installation/opt/program/soffice Icon=libreoffice-startcenter Name=LOdev Type=Application * Run "startx /usr/bin/gnome-session -- /usr/bin/Xephyr :1" Change-Id: Id8a6e431e4c355caafa6c7111a435ebc0d35f78a
2012-06-20Work around false valgrind warning about optimized strlen implementationStephan Bergmann1-1/+1
...that reads in word sized chunks and thus can read past the nominal end of a memory buffer. Also, the return type of rtl_str_getLength (sal_Int32) fits better with the type of SmPropValue.length (int) than the return type of strlen (size_t). Change-Id: I7ff91408b4c6d8c9913cede516586f42b8349ed3
2012-06-20pOldStyleSaveFrame is never set anywayStephan Bergmann3-125/+5
...so rip out all the corresponding, apparently obsolete, functionality. Change-Id: Ie1ca3fcf7f729464e4c11070caafc90a34da2d68
2012-06-20Move IceSalSession declaration to sm.cxxStephan Bergmann1-0/+18
Change-Id: I532e27b873e011aacebc1dd405de6d2e182ca3d4
2012-06-20Move pOneInstance to SessionManagerClient::m_pSessionStephan Bergmann1-17/+20
Change-Id: I264d978fe3db9ab7eedf79351f70cee194ef792c
2012-06-20Clean up how nStateVal is smuggled inStephan Bergmann1-6/+6
Change-Id: Ib27bce3d6d20dd8ea81dc51f1501774cd313b5da
2012-06-20Properly detect and remove ".bin" at endStephan Bergmann1-3/+2
Change-Id: I89b321d5103017aa01151bd813d5789e688b62dd
2012-06-20USE_SM_EXTENSION is always definedStephan Bergmann1-20/+0
Change-Id: I70cde1991514dcc25e4bb8824812eb64c2e66edc
2012-06-20Rename the class ImplFontData into PhysicalFontFaceNorbert Thiebaud1-8/+8
Change-Id: I402481e7c6ea605c8ccfdf6cb08166859b37e8de
2012-06-19death to some UniStringsCaolán McNamara1-1/+1
Change-Id: I0fa0c60e12c418d25f8bd96cc04c6abd74b1a608
2012-06-19remove some UniString ctorsCaolán McNamara2-8/+8
Change-Id: Ic2e712f4447b733b79d980e178d9d6d9d8bf0e40
2012-06-13reduce use of UniString ctor from null-terminated unicodearrayCaolán McNamara1-1/+1
Change-Id: I98361309ada084d8f78517ce88f210d785f59cc0
2012-06-11Remove unused InterceptChildWindowKeyDownThomas Arnhold1-6/+0
- InterceptChildWindowKeyDown never gets called - so mbInterceptChildWindowKeyDown doesn't get changed - at ImplInterceptChildWindowKeyDown a) ImplSendMessage() is never accessed b) always returns sal_False Change-Id: I2dc84c88644d19c238064ab1b7dff0a24f90dc5d
2012-06-10Remove bogus headerThomas Arnhold1-2/+0
Thanks to Rene Engelhard for pointing this out. Change-Id: I6a6c91f6675ec8034c0af85dcb89bcbfaa7a18d8
2012-06-09Remove superfluous empty lines on topThomas Arnhold1-2/+0
More than two lines are removed for readability. Change-Id: Ibff6cf68d7c512e240a54065b54a225bb23a782b
2012-06-05remove unused headersThomas Arnhold1-6/+0
Change-Id: I72fefdcd8aaf6d1f1677b4cae21cb915e96ed503
2012-06-05fdo#50415 and fdo#34638 Fix Shortcut names are not localized on LinuxThomas Arnhold2-7/+386
This partially reverts commit 2233aa52da14ec85331aee1163b885fe9a9fb507 Before the keyboard name was used to determine the target language for translation of UI shortcuts. With this patch the UI locale is used to determine the language. Related to: - 8d9e2d9a211f710e91ac7c607fea25895282d245 - 04b9c2f633f0be1b676933943bdd0b1dc58b5471 Change-Id: I14c6759dc405db490d210a78ce19e1416efb7ac7
2012-06-02targeted string re-workNorbert Thiebaud3-38/+38
Change-Id: Ic1fb9f4ec0f37d4efcf43c58b903388478d52173
2012-06-02targeted string re-workNorbert Thiebaud3-12/+12
Change-Id: I0ca912c8b7e485f5ec78422150aedc72ca6df32f
2012-06-01Return correct bounding box of glyphs on Linux, we forgot to rotate it.Jan Holesovsky1-1/+15
This makes the behavior consistent with what happens on Windows. Change-Id: Ifb04d4a8e485182c5ef2771025b06832bfd75ae0
2012-05-23removed unused temporary rtl::OUStringTakeshi Abe1-1/+0
Change-Id: I9d118a5fbe2306465d8bcdb9ddd0596588137e5e
2012-05-18Revert fix for "#i86306# prepare against really broken CUPS installations..."Stephan Bergmann1-61/+15
...from 8046a87ecc879651ee9cf344211cdd198a419cab. At least sometimes in sw_complex test (with various bundled Java extensions enabled) under load, this code reports "Signal 11 during cups initialization called, ignoring cups" and in-process JVM aborts in panic. Looks like a legitimate SIGSEGV (to be translated into java.lang.NullPointerException) from JVM code is erroneously caught by the temporary lcl_signal_action in cupsmgr.cxx instead. As there is no non-cooperative way to have different signal handlers for different threads (at least under POSIX), and <https://issues.apache.org/ooo/show_bug.cgi?id=86306> "office crashes at startup on Solaris Intel" suggests this signal-catching business is only there to work around a completely broken machine, I think it is best to simply remove it again. Change-Id: I55b95a71d622f83c975989a4ffb1d95ef5737075
2012-05-18TDE is certainly not a preferred fallback over KDE4Luboš Luňák1-1/+1
Change-Id: Iebfe536f228e7831d81d59ea3c3692f8906f72ad