summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2015-07-20fix linux buildbotNoel Grandin
the GTK3 version check for the GDK_IS_X11_DISPLAY macro does not appear to work well on all the machines Change-Id: I7020afdca1b270f89910753737c2c70b61453b34
2015-07-19Fix typosAndrea Gelmini
Change-Id: I52cbaad71560d73f5e24f3de3cd62b00d678dd6c Reviewed-on: https://gerrit.libreoffice.org/17187 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-07-19Use sal_uInt32 consistently for WindowStateData::SetMask and relatedMatteo Casalin
Change-Id: I722828785a861065a69a1d83bc6e40517b164102
2015-07-19Fix some downcast warnings and reduce scope of variablesMatteo Casalin
Change-Id: Ica5f5947f37207c9dd2e51b7903fad52dd4836fd
2015-07-19sal_uInt16 suffices here, and suppresses a downcast warningMatteo Casalin
Change-Id: I480a816e39d188ef135f51d71ab8eb70c7aacc59
2015-07-17WaE: -Wmaybe-uninitializedCaolán McNamara
Change-Id: I295ef24b8d524e152c85b90548d8a7753347dacd
2015-07-17WaE: unused macroCaolán McNamara
Change-Id: Ic7112f9bdd638ad72758e1b187778d004df4dd7b
2015-07-17wayland: actually show somethingCaolán McNamara
Change-Id: Icd081c38de1374c6bfd6fb04d7765e07ff5d1aff
2015-07-17presumably XSetIOErrorHandler is meaningless on waylandCaolán McNamara
Change-Id: I72247a38021b11a521d785f7565c218a425a857f
2015-07-17move all the X foo of desktop detection in the fallback pathCaolán McNamara
Change-Id: I53e2634984c8e08b707dc3a21b2a6e68b48ec701
2015-07-17add gnome-wayland alongside gnomeCaolán McNamara
Change-Id: I5d57f715edbadc7fef5c508cae7e98bcde0e4e5c
2015-07-17formatting of public/private/protected section qualifiersNoel Grandin
make it consistent across the codebase, no space between keyword and the colon Change-Id: Idca61ddfc74ad2460fb05fe417499324b05e5de5 Reviewed-on: https://gerrit.libreoffice.org/17148 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-17force a specific DPI with SAL_FORCEDPI (GTK2 & GTK3 backends only)Tomaž Vajngerl
Change-Id: I2c154e4df060ade36744c6aa2fbffa8c6e665629
2015-07-17GTK3 HiDPI: disable window scaling and get display DPI via GTK3Tomaž Vajngerl
Change-Id: I66b92146757352408a331f9e23289839f443ff79
2015-07-16need cairo >= 1.10.0 for these featuresCaolán McNamara
Change-Id: I8e1e45caadc6cc537f27a194851dd00b1f1d0e89
2015-07-16tdf#92706 - avoid dbaccess wizard crash.Michael Meeks
Hold a VclPtr on the window, make reset cleaner, and don't crash removing listeners from disposed windows. Change-Id: I3efb71117fc45562d5c740578f5e33dabb2684fe Reviewed-on: https://gerrit.libreoffice.org/17037 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2015-07-16loplugin:redundantcastNoel Grandin
Change-Id: Ifafd45865c93d474510bd0557bb9ab3843b7dbb7
2015-07-16vcl: replace boost::ptr_vector with std::vector<std::unique_ptr>Michael Stahl
Change-Id: I11bd73ff134895d05c7ce054b5ef26829a3bf8c3
2015-07-15cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: Id438b987f72ae57bd4fa882e01fba17d3fa5b95b
2015-07-15getFiles refactoring: kde4 partJulien Nabet
before: getFiles retrieves all files with their url getSelectedFiles just returns getFiles result after: getSelectedFiles retrieves all files with their url getFiles uses getSelectedFiles and truncates to 1 entry if necessary See http://nabble.documentfoundation.org/Dev-f1639786.html for discussion Conflicts: vcl/unx/kde4/KDE4FilePicker.cxx Change-Id: I56a0e2bc877f93e28f08d5ebaafd1826a92cef8b Reviewed-on: https://gerrit.libreoffice.org/17025 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-07-14Revert "Revert "WaE: comparison of integers of different signs""Michael Stahl
This reverts commit e60f6ac2492f7780f55e0d336966d78097a4b396. The "width" field is "int" in freetype 2.4.8 and "unsigned int" in 2.5.5 Change-Id: I4f7cc2bcf715890a85b956a5bf59667f634f31b5
2015-07-14Revert "WaE: comparison of integers of different signs"Michael Stahl
This is pointless, the GCC warning was fixed in the previous commit and FT_Bitmap.width is of type "unsigned int" already. This reverts commit bc4a2d7ce9d4417f9d6cd58505d4ea3e959b1354.
2015-07-14use same limit in ProcessOneCode as AddToTableCaolán McNamara
Change-Id: Id0345e5d867d18bf7eb341f04086226b7fa79680
2015-07-14Revert "Avoid loplugin:staticmethods in non-debug build"Stephan Bergmann
This reverts commit 97df2dee8ea4f33f4efb7467cfeec2d8954c006c, obsoleted by cbce40e965acef51822b31d73da5fbc271fbcad0 "Make content of OSL_ASSERT, DBG_ASSERT, etc. visiblie in non-debug builds."
2015-07-14tdf#92582 Revert "tdf#91544: fix freezing of Data source window"Marek Doležel
This reverts commit 77c47fc79c1c8096c19a81a0d320e75b84857144. This doesn't reintroduce the original problem of tdf#91544. Change-Id: Iee4d54e584cf098be70e8c49f9050d537567cf92
2015-07-13fix a third emf crashCaolán McNamara
Change-Id: I3b5d0daf05e3272d2afa0da84ff0b1f8d5c965a4
2015-07-13Make content of OSL_ASSERT, DBG_ASSERT, etc. visiblie in non-debug buildsStephan Bergmann
...to avoid lots of loplugin:staticmethods warnings. Also enables DBG_ASSERT etc. also for --enable-debug builds in addition to --enable-dbgutil builds. Change-Id: Ib89ecd9ab8ce7abb2c64790ace248b31f9d2b64d
2015-07-13Resolves: tdf#92671 union each monitor workarea to find best screen workareaCaolán McNamara
Change-Id: Ia77063f7008f960373861b8b59710abe9918865c
2015-07-13-Werror,-Wunused-private-fieldStephan Bergmann
Change-Id: I35749d468d126084a518bcd423f8a081c7382d80
2015-07-13Bin two unused fieldsTor Lillqvist
Change-Id: If06753320d34e0e677c9456ddb47bfd3636e8a66
2015-07-13min legal size here is > 4Caolán McNamara
Change-Id: I9f68d000b32623db4d949d13284043630f5689f4
2015-07-13loplugin:unusedmethods vclNoel Grandin
Change-Id: I53c66b7898f4e0a66e6172d22c6f782dadaf6589 Reviewed-on: https://gerrit.libreoffice.org/16975 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-13don't crash on Shift+F10, men can be null, tdf#92630 follow-upEike Rathke
... and actually make this work with a context menu.. Change-Id: I9a9bcdccae859cb2a54ec7db442435215e21e0e0
2015-07-13emf: fix another hangCaolán McNamara
Change-Id: I971ba5f422827f3b8fcdb86c447fc48415225eca
2015-07-13emf: fix hangCaolán McNamara
Change-Id: I2410308ecccb8c5318a718bafadc7b40a98cb82b
2015-07-13emf: test for empty polygonsCaolán McNamara
Change-Id: I3c8896230e3d48a37f4b8d702b0f673e44f45ba4
2015-07-13Broken codeStephan Bergmann
...from d11b244bf9b9115f5384d6ff43bdffc7f1289d71 "getFiles: truncate to 1 file only" Change-Id: I149489212db943f79dfda7f1012d22809f090851
2015-07-13getFiles: truncate to 1 file onlyJulien Nabet
See http://nabble.documentfoundation.org/Multiselection-needs-work-td4153207.html for details Change-Id: I7f855a067349381e2567bd15a8daa56aad412774 Reviewed-on: https://gerrit.libreoffice.org/16959 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-12emf: test for negative numbersCaolán McNamara
Change-Id: I9d9b6f3e9592ca7b85cee5422e43d4ca46b8bb36
2015-07-12coverity#1311654 Uninitialized scalar fieldCaolán McNamara
Change-Id: I48d9aebfba7bcd6d8ac00fcc2c76ec49216f4a0d
2015-07-12coverity#1311650 Dereference after null checkCaolán McNamara
Change-Id: I06e9c28f49f4231a02a7f21940ea55ef41836b67
2015-07-12add xpm testsCaolán McNamara
Change-Id: Ifaa0a8892746493234154949d2023141498a03ce
2015-07-12fix another gif import crashCaolán McNamara
Change-Id: I0ffa569e0c4240e11184df7dd56b95d87a12425d
2015-07-11asan: ensure mbMenuKey is initializedCaolán McNamara
Change-Id: I5404e4410b88e84f55fadb4bc82f936e1f1c2d96
2015-07-11fix and test for xbm import crashCaolán McNamara
Change-Id: I47e7cb259908ffc6a00475369af1a841acda1da7
2015-07-11fix gif import crashCaolán McNamara
Change-Id: I3a5e0efef6843fb8f8b485fa2369ac5b99513c31
2015-07-11Blind fix for kdeJulien Nabet
/home/tinderbox/master/vcl/unx/kde/salnativewidgets-kde.cxx:1987:88: error: implicit instantiation of undefined template ´boost::optional<Color>´ aStyleSettings.SetMenuBarTextColor( aStyleSettings.GetPersonaMenuBarTextColor().get_value_or( aMenuFore ) ); /home/tinderbox/master/include/vcl/settings.hxx:38:32: note: template is declared here template<typename T> class optional; Change-Id: Ic681d36f376f7433dae56fc1da5f8a2dd0f597ea
2015-07-10vcl: avoid a boost::ptr_map in VclBuilderMichael Stahl
This eliminates 638MB of preprocessor input. Change-Id: Ife434310ec08e408e1f8aaf52d6298f8caa209af
2015-07-10vcl: remove boost/signal2/signal.hpp from headerMichael Stahl
The most relevant signal member function appears to be connect(), so let's create a wrapper function for that now, without the more esoteric ordering features for now. Move the signal member itself to a new pImpl. The benefits are worth it: preprocessor input reduced by 2.8GB, that's 9% of the total (excluding system headers which are not counted because they don't generate dependencies). Change-Id: I0aaeda51a5630a348bb12c81a83f67afbd508a14
2015-07-10vcl: pImplify ComboBoxMichael Stahl
The boost::signal stuff is quite heavy (33 kloc), so try to hide it from the header. Change-Id: I87826ccfd2a151aff274ffa6b7159a988f751808