summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
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
2015-07-10vcl: forward declare boost::optional in settings.hxxMichael Stahl
... for 1134 fewer uses of optional.hpp and a saving of 673 MB of preprocessor input. Change-Id: I9e8020f3e1ae968db403174c1bc0c1eba1139ecb
2015-07-10vcl: move resample kernel classes out of bitmap.hxxMichael Stahl
Since commit f31e6debfa7e330f985a0846a6ca91130d3dab20 this drags in ridiculous amounts of boost headers, for probably negigible improvemnts of sin(x)/x for tiny x values. The compile time impact was not negligible, moving this nonsense to its own header removes 1.79 GB of preprocessor input from a full build. Change-Id: Ic41b2210eac8b130726610f2dbdbb449379225d1
2015-07-10do not include boost/utility.hppMichael Stahl
It just includes a bunch of other boost headers; mostly we need boost/noncopyable.hpp so include that directly. This eliminates 831 MB(!) of boost/preprocessor/seq/fold_left.hpp completely, which is the 2nd biggest header after ustring.hxx. Change-Id: I3df55770adcb46e56f389af828e8ba80da2dc1f2
2015-07-10fix assert when pasting nil clipboard contentEike Rathke
This happened when one of our modules had clipboard content and was closed, which currently clears the clipboard, and then reopened and attempting to paste the content. Apparently the utf-16 mime-type is still alive but the content isn't, on which rtl_str_getLength(pText) asserts. Change-Id: I5cc7c20ac1f1a8551a10b033e1f37bf83c5cc202
2015-07-10tdf#92670 GtkSalGraphics::NWPaintGTKMenubar: fix modified clip rectangleMiklos Vajna
Happens only with when double buffering is enabled, and e.g. with the oxygen GTK2 theme, but not with the default one. Change-Id: Iad9911121e57388c84c25860413763f75e06b0ea
2015-07-10fix potential hang hereCaolán McNamara
Change-Id: Id62cdb90420b9ccf4e98fc1af46c70db6ed60ee0
2015-07-10-Werror,-Wunused-private-fieldStephan Bergmann
Change-Id: Ie3feae1a6bac2e5a51d38fb402525097483313e2
2015-07-10Related tdf#91362: disable paper size & orientation selectionKatarina Behrens
Unless 'Use only papersize from printer prefs' is toggled on, whatever the user sets here doesn't have any effect on the actual printing (page settings from the document are used instead). It is misleading to have the user believe otherwise. It was really challenging to have this one toggle get all the way down through several layers of abstraction, though ... Change-Id: If240084ca23b3946a92882a6ee47dbc161b3b86c Reviewed-on: https://gerrit.libreoffice.org/16812 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-07-10loplugin:unusedmethods vcl(part2)Noel Grandin
Change-Id: I12356b3fdce68282a30cae2b270b02e46558860a Reviewed-on: https://gerrit.libreoffice.org/16847 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-10avoid endless loop with busted wmfCaolán McNamara
Change-Id: I104de360f2e861e959ad2dad434a768440877f6f
2015-07-10loplugin:literaltoboolconversionStephan Bergmann
Change-Id: Iee43daf2f3c5dfe7dd1434ad63ffccc28d165cde
2015-07-09tdf#92115 KDE4: better listbox themingJan-Marek Glogowski
This is not a final fix to apply full theming, but it makes the listboxes at least usable again. Change-Id: Ic83b8209208fddafe34e04f4e5e531f0d28e62bd