summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2015-06-04fix status bar flickering (zoom slider fo example)Tomaž Vajngerl
Change-Id: I3fb71868a9f8f56c76353f3a2d84fdb078c8f8fb (cherry picked from commit 758916a88d6dfbabc31b8430b1cc605cb2c1e890)
2015-06-03OS X: Default to the 'breeze' icon theme.Jan Holesovsky
As agreed in the Design team meeting today. Change-Id: I660462fb7b56eb3c8f883f8540cf88801e48165c Reviewed-on: https://gerrit.libreoffice.org/16065 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-06-03fix rendercontext rendering of toolboxLászló Németh
(cherry-picked from 751d697db61341a481178b86c6b28efa7d3c7d64) Change-Id: I927a7ffdac278384ef102e6619f217daf24879a2 Reviewed-on: https://gerrit.libreoffice.org/16042 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-06-01tdf#91652 - store PDF FilterConfigItem options in dispose.Michael Meeks
Change-Id: I808aeab8fdac35330de24970b873f49e22c52c6a Reviewed-on: https://gerrit.libreoffice.org/15946 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> (cherry picked from commit fee29fde64567e91c69a350a787b6aefadfb71af)
2015-05-31rendercontext: Initialize X11SalVirtualDevice with appropriate SalGraphics.Jan Holesovsky
Change-Id: I4230412ccc389b8ba6768229b569d7075e7ac466 Reviewed-on: https://gerrit.libreoffice.org/15979 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-05-31rendercontext: Make the Gtk+ native widgets work with double-buffering.Jan Holesovsky
Change-Id: Ic7101ab7cbaa7fd5f6b073a73ef0c0088b1af4c6 Reviewed-on: https://gerrit.libreoffice.org/15980 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-05-29tdf#91720 - after MailMerge print, plain std print is not possibleJuergen Funk
Reset the batchmode variable, after the batch print job Related: 138d29aa09417eba4d15ade4c9f4dab2620b6326 (cherry picked from commit 1950ad547462fface018aafe7b65d5ceb445648a) Change-Id: I6d8861e53ba6245019213d88d83603bfe932f010 Reviewed-on: https://gerrit.libreoffice.org/15975 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-29forward RenderCOntext to UserDraw, remove obsolete draw callTomaž Vajngerl
Change-Id: I29dcc22a6840e7104bdf68d050b616c8e06226fa Signed-off-by: Jan Holesovsky <kendy@collabora.com>
2015-05-29convert splitter to use RenderContextTomaž Vajngerl
Change-Id: Ia010aa7daf14fcaeee5d46cc4e5b8ed21e00efcf Signed-off-by: Jan Holesovsky <kendy@collabora.com>
2015-05-29rendercontext: Improve comboboxes in the double-buffered toolbar.Jan Holesovsky
Change-Id: I91bfb4ea4672ff09482679f8fcf18a65e5a6ee3c
2015-05-29rendercontext: Fix border window's painting to work well with rendercontext.Jan Holesovsky
This partially fixes rendering of comboboxes. Change-Id: I243f63a0cd83bb435876d3954a073df0acd54c58
2015-05-29loplugin:staticmethodsStephan Bergmann
Change-Id: I20dac7fb627ec202558ed8be4e043bc01837b333 Signed-off-by: Jan Holesovsky <kendy@collabora.com>
2015-05-29convert WINDOW_POSSIZE constants to scoped enumNoel Grandin
Change-Id: Id85137ffc7309a66b04132d588d289db136117b9 Signed-off-by: Jan Holesovsky <kendy@collabora.com>
2015-05-29convert WINDOW constants for GetWindow() methods to scoped enumNoel Grandin
Change-Id: I0c7c6d095732704eb4ab48f1277a0592b1c7fa33 Signed-off-by: Jan Holesovsky <kendy@collabora.com>
2015-05-29convert TITLE_BUTTON constants to scoped enumNoel Grandin
Change-Id: Ibfee4c394724570d9f64098d3703a08b7246ad2c Signed-off-by: Jan Holesovsky <kendy@collabora.com>
2015-05-29convert constants in include/vcl/settings.hxx to scoped enumsNoel Grandin
Change-Id: I2a110c017f13eca6ddbd70ef3ed195d24adef0a3 Reviewed-on: https://gerrit.libreoffice.org/15828 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com> Signed-off-by: Jan Holesovsky <kendy@collabora.com>
2015-05-29convert POINTER constants to scoped enumNoel Grandin
Change-Id: Iea29ce5fd6c620535197d3ca8538335078430e19 Reviewed-on: https://gerrit.libreoffice.org/15825 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com> Signed-off-by: Jan Holesovsky <kendy@collabora.com>
2015-05-29menu: call ApplySettings on places that InitSettings was calledTomaž Vajngerl
Change-Id: I5519cf6a8e77a7da27fa883f2f7695ae4371af88 Signed-off-by: Jan Holesovsky <kendy@collabora.com>
2015-05-29tdf#91649 call ApplySettings at a more correct placeTomaž Vajngerl
Change-Id: I84a620a845b9338cd830c8929346204e3d88003f Signed-off-by: Jan Holesovsky <kendy@collabora.com>
2015-05-29fix calls to RenderContextTomaž Vajngerl
Change-Id: I5ef4b740a9c62d5cc7a2126686df4fd86a4b3492 Signed-off-by: Jan Holesovsky <kendy@collabora.com>
2015-05-29use RenderContext in user draw, use ApplySettingsTomaž Vajngerl
Change-Id: I6cc22677000459a5f19bfb207007f5c246f187e0 Signed-off-by: Jan Holesovsky <kendy@collabora.com>
2015-05-29call ApplySettings sooner when paintingTomaž Vajngerl
Change-Id: I2ddd6a6b4ccfccc55f394d8a6851843ef2479fe3 Signed-off-by: Jan Holesovsky <kendy@collabora.com>
2015-05-29fix for the failed JUnit testTomaž Vajngerl
Change-Id: I5a9bc081daa872e000e3dbdb0ecc3d57705683c7 Signed-off-by: Jan Holesovsky <kendy@collabora.com>
2015-05-29use ApplySettings instead of ImplInitSettings is calledTomaž Vajngerl
Change-Id: I30cbfe1906d5d59db93a354ca1d1862c4b5e631a Signed-off-by: Jan Holesovsky <kendy@collabora.com>
2015-05-29rendercontext: Make borderwindow painting via rendercontext.Jan Holesovsky
Change-Id: I51bce6c3af7484d1e5dd42190f14511ba88e1679
2015-05-29rendercontext: Position the double-buffered subwidgets correctly.Jan Holesovsky
Change-Id: I707ff09ac2b7b610f0f13440a215abf083f9815d
2015-05-29rendercontext: Draw toolbox separators via the rendercontext.Jan Holesovsky
Change-Id: Ie34f9eeb9f706e1a43c31d08869c8b6c610228ec
2015-05-29rendercontext: Correct output of the type that is not double-buffered.Jan Holesovsky
And also don't attempt to draw the non-double-buffered windows via double buffering. Change-Id: Ic7afb976dfbe005e1aeff2d726360f259f87f4bc
2015-05-29fix base wizard sizeCaolán McNamara
if we are forced to fetch the theme early before the MiscSettings in svtools sets it then don't cache the value so that when the MiscSettings kicks in that the SettingsChanged signal is sent out and we get the right fontsize (or something like that) Change-Id: I0447c934ec184232591183c6c099a4d7217183fb (cherry picked from commit e9bb7c9e69999467a8dd5aa1683563228c619edc)
2015-05-28vcl: Do nothing when we don't have mpWindowImpl.Jan Holesovsky
Avoids a crash in Impress search. Change-Id: I07106e0185a1fe4cfa09a6783396c0d48b028f10
2015-05-28Rewrite all calls like Dialog(params).Execute()Philippe Jung
Replace all calls looking like ADialog(some params).Execute() by ScopedVclPtrInstance<ADialog>::Create(some parms)->Execute() Change-Id: I0b6f0a9ea5ef0a749ffa30ce131e9dc989604639 Reviewed-on: https://gerrit.libreoffice.org/15915 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2015-05-27tdf#88675 Fix display names for hicontrast and tango_testingTobias Lippert
The special cases for the icon themes with the filenames "images_hicontrast.zip" and "images_tango_testing.zip" are now handled. They will be displayed as "High Contrast" and "Tango Testing" respectively. Change-Id: Ia3c2b8b57809db9c5ed132c42a412157e91b2599 Reviewed-on: https://gerrit.libreoffice.org/14574 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com> (cherry picked from commit 2a0118a98fc39dfed56fb7904733f63f6a2d6fe8) Reviewed-on: https://gerrit.libreoffice.org/15925 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-27tdf#91416 - fix some incorrectly allocated VirtualDevices.Michael Meeks
Change-Id: I9ebed313827986473c60e77b7e218b4c1b2487fe (cherry picked from commit f849d96463d967214bc063f6de912a082272c395)
2015-05-27tdf#91450 fix infinite invalidation loopTomaž Vajngerl
Change-Id: I86f4e881011b2e3f50a0186fc301b142a65ccdf6
2015-05-26Resolves: tdf#89231 if no font has 0x202F fallback to a normal spaceCaolán McNamara
Change-Id: I2325c0b09ccf66ee15597251ad027b295de5502f (cherry picked from commit f76ecc3e9ce51b35fc18db55b808270079a3652b)
2015-05-26Resolves: tdf#90155 don't hide+show window before initial show completesCaolán McNamara
(cherry picked from commit c4bae028efbd32c8938c3a6051d58c1f202d5b8a) Change-Id: I16f6fb4ef025f2e464ca581fc348e8dd18981285
2015-05-26want to grab with owner_events trueCaolán McNamara
Change-Id: Iada234df8b476cee36a1a360de7fb5b14a0d01b8 (cherry picked from commit caf14ad1c2d8d198a45fbaaeeb6b9fc653f3a68d)
2015-05-26gtk3: call gtk_window_set_accept_focusCaolán McNamara
Change-Id: I4f30f05e81e1d5539e832fda144a9fafecdce8e2 (cherry picked from commit 17ee476e21fd07a82744d667ae2d5aa86fb390df)
2015-05-26gtk3: implement keyboard and mouse grabCaolán McNamara
Change-Id: Iff17dccc58e0fcd6bdc479e6135e067ae375dce9 (cherry picked from commit 06cb0e6d2675cff7b526f9fe2578d9727fda4404)
2015-05-26gtk3: fix bordersCaolán McNamara
Change-Id: I7ea1198d08333d0ce95c2e6b5d7dcf8928a11838 (cherry picked from commit b04c9cac994e39d28f5f715f560e97edcca0e666)
2015-05-26gtk3: focus rects for combobox entriesCaolán McNamara
mpComboboxEntryStyle refuses to draw the left side. I have no idea why and have burned too much time on it, so use the normal EntryStyle and set its right junction to get the flat right side Change-Id: Iff5fb1c1b21d2935c3817e7825b86b8e30e899eb (cherry picked from commit 7cf1206e1e0872d8525f6012d0017917a4840783)
2015-05-26Audit all PostUserEvent calls and instrument for VclPtr.Michael Meeks
Hold a reference on the VclPtr while we're waiting for the UserEvent. Change-Id: I55c2671ca12eb14761c6a7dffd551af71547ecbd
2015-05-26VclPtr - add compat methods for old-style focus / notification.Michael Meeks
The previous code would only invoke Window:: methods by the time we hit the destructor; do the same to avoid fixing more scattered crashers for now. Reviewed-on: https://gerrit.libreoffice.org/15880 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Conflicts: vcl/source/control/slider.cxx Change-Id: Ibdcd1290309bb7fc31a44d534c52d357da022591
2015-05-25tdf#90127: Read icon theme from the config when called too early.Jan Holesovsky
Change-Id: I9999150cafde6b103cf1a80232113b7a3d11cfdb
2015-05-25tdf#87373: Bad text spacing on OS XThorsten Wagner
Adjustments to character positions less than one pixel are ignored. These adjustments are probably introduced by lossy conversions between integer based and float based coordinates. DXArray elements are adjusted to integers avoiding cummulated rounding differences. Change-Id: I65d476301247251a7d329b14adb70be367538c97 Reviewed-on: https://gerrit.libreoffice.org/15633 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org> (cherry picked from commit 187af9b0c09f6ba57e994a25a756f0994beae7e5) Reviewed-on: https://gerrit.libreoffice.org/15887 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-05-23tdf#91404 check if the item position is validTomaž Vajngerl
Change-Id: I963cf83d32bb976095274be913806de19bdf7a86
2015-05-22tdf#91366 - invalidate only individual menu items to render highlight.Michael Meeks
Change-Id: I0dd741829dd315ed86e3fcf79b7fb4da349d0ac8
2015-05-22tdf#91283 - reset the PrinterController during dispose.Michael Meeks
Change-Id: I22c6c534cfefdbb68e965cbd6baab3da3146d9d0
2015-05-20cleanup codeTomaž Vajngerl
Change-Id: I0fdcb3d179d87ae202199d2eb904e701bad45ab1
2015-05-20fixes for changes in "edit"Tomaž Vajngerl
Change-Id: Ied0f44e38ac52f13c9c229366342849aa29ec754