summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)AuthorFilesLines
2015-05-28Rewrite all calls like Dialog(params).Execute()Philippe Jung1-1/+1
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 Lippert4-8/+47
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 Meeks4-6/+6
Change-Id: I9ebed313827986473c60e77b7e218b4c1b2487fe (cherry picked from commit f849d96463d967214bc063f6de912a082272c395)
2015-05-27tdf#91450 fix infinite invalidation loopTomaž Vajngerl1-1/+2
Change-Id: I86f4e881011b2e3f50a0186fc301b142a65ccdf6
2015-05-26Resolves: tdf#89231 if no font has 0x202F fallback to a normal spaceCaolán McNamara2-1/+10
Change-Id: I2325c0b09ccf66ee15597251ad027b295de5502f (cherry picked from commit f76ecc3e9ce51b35fc18db55b808270079a3652b)
2015-05-26Resolves: tdf#90155 don't hide+show window before initial show completesCaolán McNamara1-4/+0
(cherry picked from commit c4bae028efbd32c8938c3a6051d58c1f202d5b8a) Change-Id: I16f6fb4ef025f2e464ca581fc348e8dd18981285
2015-05-26want to grab with owner_events trueCaolán McNamara1-1/+1
Change-Id: Iada234df8b476cee36a1a360de7fb5b14a0d01b8 (cherry picked from commit caf14ad1c2d8d198a45fbaaeeb6b9fc653f3a68d)
2015-05-26gtk3: call gtk_window_set_accept_focusCaolán McNamara1-2/+2
Change-Id: I4f30f05e81e1d5539e832fda144a9fafecdce8e2 (cherry picked from commit 17ee476e21fd07a82744d667ae2d5aa86fb390df)
2015-05-26gtk3: implement keyboard and mouse grabCaolán McNamara1-65/+73
Change-Id: Iff17dccc58e0fcd6bdc479e6135e067ae375dce9 (cherry picked from commit 06cb0e6d2675cff7b526f9fe2578d9727fda4404)
2015-05-26gtk3: fix bordersCaolán McNamara1-4/+4
Change-Id: I7ea1198d08333d0ce95c2e6b5d7dcf8928a11838 (cherry picked from commit b04c9cac994e39d28f5f715f560e97edcca0e666)
2015-05-26gtk3: focus rects for combobox entriesCaolán McNamara2-5/+8
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 Meeks1-1/+1
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 Meeks19-76/+120
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 Holesovsky1-0/+13
Change-Id: I9999150cafde6b103cf1a80232113b7a3d11cfdb
2015-05-25tdf#87373: Bad text spacing on OS XThorsten Wagner1-18/+42
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ž Vajngerl1-3/+6
Change-Id: I963cf83d32bb976095274be913806de19bdf7a86
2015-05-22tdf#91366 - invalidate only individual menu items to render highlight.Michael Meeks2-12/+53
Change-Id: I0dd741829dd315ed86e3fcf79b7fb4da349d0ac8
2015-05-22tdf#91283 - reset the PrinterController during dispose.Michael Meeks1-0/+1
Change-Id: I22c6c534cfefdbb68e965cbd6baab3da3146d9d0
2015-05-20cleanup codeTomaž Vajngerl3-331/+336
Change-Id: I0fdcb3d179d87ae202199d2eb904e701bad45ab1
2015-05-20fixes for changes in "edit"Tomaž Vajngerl2-5/+2
Change-Id: Ied0f44e38ac52f13c9c229366342849aa29ec754
2015-05-20scrollbar - setup painting settings in ApplySettingsTomaž Vajngerl1-19/+14
Change-Id: I5eeaa1ee9c63f1a1d624022857a80cbebc079627
2015-05-20edit - setup painting settings in ApplySettingsTomaž Vajngerl1-116/+70
Change-Id: I583caa0bbec9e4998bcc78e5edc4e29ab9d3b4b2
2015-05-20fix Win buildNoel Grandin1-3/+3
after my commit 7a0af37989d1f1b508a61f28e785c5b1f27d58af "convert SAL_LAYOUT flags to scoped enum" Change-Id: I7494793aae482f0b687501ae199856b1a6640143
2015-05-20error: assigning to 'PrintQueueFlags' from incompatible type 'int'David Tardon1-1/+1
Change-Id: I2c307ebe78935ceb19ad0c80b441d30c138ec84a
2015-05-20fix Win buildNoel Grandin1-7/+7
after my commit 7a0af37989d1f1b508a61f28e785c5b1f27d58af "convert SAL_LAYOUT flags to scoped enum" Change-Id: Iba12d2f60840a012d3e54a1364b672820e8bd6dc
2015-05-20fix Win buildNoel Grandin1-2/+2
after my commit 4b57be7234ea61aad0a472a56a4f073270933c8e "convert QUEUE_STATUS constants to scoped enum" Change-Id: I5a91a79148b3b3edaa12e6933344040ed64acc6a
2015-05-20convert QUEUE_STATUS constants to scoped enumNoel Grandin3-33/+35
Change-Id: I672e3a31c97fad91826dff1446d2d098d3d36150
2015-05-20convert DEFAULTCONSTANT constant to scoped enumNoel Grandin4-6/+6
Change-Id: I5ebd77edfa29d6c6c7acea37e826ef1d625916c3
2015-05-20convert FONT_SUBSTITUTE constants to scoped enumNoel Grandin2-10/+12
Change-Id: I8312f0117f33349218a09ccdfea946c66ceb1b3e
2015-05-20convert ANTIALIASING constants to scoped enumNoel Grandin14-32/+32
Change-Id: I175b8ea4e8bc01c3cdd3dd90506eba01b35e0085
2015-05-20convert DRAWMODE constants to scoped enumNoel Grandin13-131/+131
Change-Id: I36cbe8057d09226f8b302963bdd94dc5600b686f
2015-05-20convert GRID constants to scoped enumNoel Grandin2-7/+7
Change-Id: I73ae63bc5f41f38d1a4e396152808b22e88681d8
2015-05-20convert IMAGE_DRAW_ constants to scoped enumNoel Grandin11-30/+30
Change-Id: I75619eeb902af4953a5ac1525605cf3f0f15e2c0
2015-05-20convert COPYAREA constant to bool flagNoel Grandin4-9/+9
since there is only value in this flags thing Change-Id: I86d7a3a358c467a9748b00e1ba8c09106f282947
2015-05-20convert TEXT_DRAW constants to scoped enumNoel Grandin26-225/+227
Change-Id: Ic0f7f8fa236bb478b3598ae3fd3c1b30ebbf1a01
2015-05-20convert SAL_LAYOUT flags to scoped enumNoel Grandin18-156/+156
Change-Id: I0aeea1f32136e43e90a1afb0ea84dbaff2b77587
2015-05-20Don't use uninitialized ImplSplitItem::mnPixSizeStephan Bergmann1-0/+1
...as happened e.g. during CppunitTest_sw_ooxmlexport4 when SplitWindow::GetItemSize SfxSplitWindow::InsertWindow_Impl SfxSplitWindow::InsertWindow SfxDockingWindow::Initialize sfx2::sidebar::SidebarChildWindow::SidebarChildWindow sfx2::sidebar::SidebarChildWindow::CreateImpl SfxChildWindow::CreateChildWindow SfxWorkWindow::CreateChildWin_Impl SfxWorkWindow::UpdateChildWindows_Impl SfxWorkWindow::UpdateObjectBars_Impl SfxFrameWorkWin_Impl::UpdateObjectBars_Impl SfxDispatcher::Update_Impl SfxBaseController::ConnectSfxFrame_Impl SfxBaseController::attachFrame ... requests the SWIB_FIXED of an SWIB_PERCENTSIZE item. Hopefully zero is fine here and the value is only used for ephemeral computations that are overriden later with true sizes? Change-Id: I250b8fa38e42c111eef0bcedd703181e548a6b60
2015-05-19VclPtr: crash on exit if cursor is in fontsize widget in sidebarCaolán McNamara1-1/+1
Change-Id: I533abbe271beddbb6b60a7703fcf3d53fb5caeb7
2015-05-19gtk3: checkmarks slightly clipped on left sideCaolán McNamara1-8/+20
Change-Id: If10822b64e0a9a28c45fd8a1c0e9e44bdbfb054b
2015-05-19use CHECKED alias for GTK_STATE_FLAG_CHECKED instead.Michael Meeks1-1/+1
Change-Id: I42a1b3d133b32ff29eb02fbc262e6ec0aa941b9c
2015-05-19Resolves: tdf#91392 orig map for orig code paths, and new map for new pathCaolán McNamara1-6/+53
otherwise with SAL_DISABLE_NATIVE_ALPHA=1/SAL_USE_VCLPLUGIN=gtk3 the 8 bit page icons in the status bar lose their bottom rows Change-Id: Id9d9ba1a6fb74784a0a4c29bf3d13ebf8476c376
2015-05-19rendercontext toolbar: Invalidate instead of direct paint.Jan Holesovsky2-38/+36
Change-Id: Ib4c11d3f1ec793e66cd47c1f7bb4f7d06820d58f
2015-05-19rendercontext: Double-buffer an entire hierarchy.Jan Holesovsky1-83/+96
This finally allows real double-buffering. Also with the per-widget setting, no need to be experimental any more. Change-Id: I405b3b2ce084cb8176b761e7113d3c3c87a6febf
2015-05-19remove setup of painting for help windows (done in ApplySettings)Tomaž Vajngerl1-21/+0
Change-Id: Idc243ec7083602c639ce5769b8e18a3bac2f773f
2015-05-19Accomodate gcc 4.2's inabilities to cope with complex templates.Thorsten Behrens1-3/+6
Change-Id: I0a35849a02e3f185783c261a369052594583b082
2015-05-19vcl: handle NULL pCursor in Edit::ImplShowCursor()Miklos Vajna1-3/+6
I saw this happening on Writer shutdown. Change-Id: Ib357d070f53ce0728a5b89f895b87fc42628834c
2015-05-19downgrade remaining nwf spew to infoCaolán McNamara1-2/+1
Change-Id: I9b6a86ecf12c274d027a0484dd4c12c424e2761f
2015-05-19remove ImplInitMenuWindow as ApplySettings set it up insteadTomaž Vajngerl4-65/+3
Change-Id: I9086d36e254d3705bfc60ad9f01c09943f915c09
2015-05-19gtk3: nwf for list node expandersCaolán McNamara1-2/+12
Change-Id: I710e4feca188836f6572e55132fd6c5941ad06e6
2015-05-19gtk3: presume we want the same no-op for LISTNET as gtk2Caolán McNamara1-1/+2
Change-Id: Ic05f49d4e7d379c1d66c911e1d63f13680d2e293