summaryrefslogtreecommitdiff
path: root/vcl/source
AgeCommit message (Collapse)Author
2015-05-23Remove include stdio (part6)Julien Nabet
Change-Id: I4dde46c81b36b318710e32c8f420dff8d9c2e655 Reviewed-on: https://gerrit.libreoffice.org/15879 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2015-05-23fix for the failed JUnit testTomaž Vajngerl
Change-Id: I5a9bc081daa872e000e3dbdb0ecc3d57705683c7
2015-05-23Set 'pseudo headlesness' also when being used from LibreOfficeKitTor Lillqvist
Pseudo headlessness, one of the many kinds of headlessness, all slightly different and essential. NIH! Change-Id: I4da86751989bdeedfb009a5966df7226aa806eb6
2015-05-23support linking a Slider with a NumericFieldTomaž Vajngerl
Change-Id: I5cfd28d278cc21884eb9bf1b0e5a619c871f6bd2
2015-05-23call ApplySettings sooner when paintingTomaž Vajngerl
Change-Id: I2ddd6a6b4ccfccc55f394d8a6851843ef2479fe3
2015-05-23use ApplySettings instead of ImplInitSettings is calledTomaž Vajngerl
Change-Id: I30cbfe1906d5d59db93a354ca1d1862c4b5e631a
2015-05-23loplugin:staticmethodsStephan Bergmann
Change-Id: I20dac7fb627ec202558ed8be4e043bc01837b333
2015-05-22tdf#91366 - invalidate only individual menu items to render highlight.Michael Meeks
Change-Id: I0dd741829dd315ed86e3fcf79b7fb4da349d0ac8
2015-05-22rendercontext: Make borderwindow painting via rendercontext.Jan Holesovsky
Change-Id: I51bce6c3af7484d1e5dd42190f14511ba88e1679
2015-05-22rendercontext: Position the double-buffered subwidgets correctly.Jan Holesovsky
Change-Id: I707ff09ac2b7b610f0f13440a215abf083f9815d
2015-05-22rendercontext: Draw toolbox separators via the rendercontext.Jan Holesovsky
Change-Id: Ie34f9eeb9f706e1a43c31d08869c8b6c610228ec
2015-05-22rendercontext: 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-22fix crash related to VclPtr workMarkus Mohrhard
Change-Id: I273658a6edd9787c19cfaac0e1cb4a2c33611b99
2015-05-22tdf#91283 - reset the PrinterController during dispose.Michael Meeks
Change-Id: I22c6c534cfefdbb68e965cbd6baab3da3146d9d0
2015-05-22convert WINDOW_POSSIZE constants to scoped enumNoel Grandin
Change-Id: Id85137ffc7309a66b04132d588d289db136117b9
2015-05-22convert WINDOW constants for GetWindow() methods to scoped enumNoel Grandin
Change-Id: I0c7c6d095732704eb4ab48f1277a0592b1c7fa33
2015-05-22convert TITLE_BUTTON constants to scoped enumNoel Grandin
Change-Id: Ibfee4c394724570d9f64098d3703a08b7246ad2c
2015-05-22loplugin:constantfunctionNoel Grandin
Change-Id: I7cb5b0c2cf9ade557173ca596ea5d42d853ff448
2015-05-22convert 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>
2015-05-22convert 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>
2015-05-21convert SWIB constants to scoped enumNoel Grandin
Change-Id: If64368f22e748cc646a726cb962e60ad29a66df9 Reviewed-on: https://gerrit.libreoffice.org/15840 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-21convert MENUBAR_MODE constants to scoped enumNoel Grandin
Change-Id: Ie4cda46d02e82cca1710603cfb3af379c702d9d7
2015-05-21convert CVT constants to scoped enumNoel Grandin
Change-Id: I7703816b6a1df2bf24c06cdf9992f9982ae724e8 Reviewed-on: https://gerrit.libreoffice.org/15826 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-21convert TABITEM constants to scoped enumNoel Grandin
Change-Id: Ia16127a7d97ef7db59bd2b0e6b8d14d8625bc526 Reviewed-on: https://gerrit.libreoffice.org/15827 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-20convert PRINT_CAPABILITIES constants to scoped enumNoel Grandin
Change-Id: Ib8750a7acaf038476b0a5307e4a8a0bc3bf16015 Reviewed-on: https://gerrit.libreoffice.org/15824 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-20tdf#91404 check if the item position is validTomaž Vajngerl
Change-Id: I963cf83d32bb976095274be913806de19bdf7a86
2015-05-20cleanup codeTomaž Vajngerl
Change-Id: I0fdcb3d179d87ae202199d2eb904e701bad45ab1
2015-05-20fixes for changes in "edit"Tomaž Vajngerl
Change-Id: Ied0f44e38ac52f13c9c229366342849aa29ec754
2015-05-20scrollbar - setup painting settings in ApplySettingsTomaž Vajngerl
Change-Id: I5eeaa1ee9c63f1a1d624022857a80cbebc079627
2015-05-20edit - setup painting settings in ApplySettingsTomaž Vajngerl
Change-Id: I583caa0bbec9e4998bcc78e5edc4e29ab9d3b4b2
2015-05-20convert QUEUE_STATUS constants to scoped enumNoel Grandin
Change-Id: I672e3a31c97fad91826dff1446d2d098d3d36150
2015-05-20convert DEFAULTCONSTANT constant to scoped enumNoel Grandin
Change-Id: I5ebd77edfa29d6c6c7acea37e826ef1d625916c3
2015-05-20convert FONT_SUBSTITUTE constants to scoped enumNoel Grandin
Change-Id: I8312f0117f33349218a09ccdfea946c66ceb1b3e
2015-05-20convert ANTIALIASING constants to scoped enumNoel Grandin
Change-Id: I175b8ea4e8bc01c3cdd3dd90506eba01b35e0085
2015-05-20convert DRAWMODE constants to scoped enumNoel Grandin
Change-Id: I36cbe8057d09226f8b302963bdd94dc5600b686f
2015-05-20convert GRID constants to scoped enumNoel Grandin
Change-Id: I73ae63bc5f41f38d1a4e396152808b22e88681d8
2015-05-20convert IMAGE_DRAW_ constants to scoped enumNoel Grandin
Change-Id: I75619eeb902af4953a5ac1525605cf3f0f15e2c0
2015-05-20convert COPYAREA constant to bool flagNoel Grandin
since there is only value in this flags thing Change-Id: I86d7a3a358c467a9748b00e1ba8c09106f282947
2015-05-20convert TEXT_DRAW constants to scoped enumNoel Grandin
Change-Id: Ic0f7f8fa236bb478b3598ae3fd3c1b30ebbf1a01
2015-05-20convert SAL_LAYOUT flags to scoped enumNoel Grandin
Change-Id: I0aeea1f32136e43e90a1afb0ea84dbaff2b77587
2015-05-20Don't use uninitialized ImplSplitItem::mnPixSizeStephan Bergmann
...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 McNamara
Change-Id: I533abbe271beddbb6b60a7703fcf3d53fb5caeb7
2015-05-19Resolves: tdf#91392 orig map for orig code paths, and new map for new pathCaolán McNamara
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 Holesovsky
Change-Id: Ib4c11d3f1ec793e66cd47c1f7bb4f7d06820d58f
2015-05-19rendercontext: Double-buffer an entire hierarchy.Jan Holesovsky
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ž Vajngerl
Change-Id: Idc243ec7083602c639ce5769b8e18a3bac2f773f
2015-05-19Accomodate gcc 4.2's inabilities to cope with complex templates.Thorsten Behrens
Change-Id: I0a35849a02e3f185783c261a369052594583b082
2015-05-19vcl: handle NULL pCursor in Edit::ImplShowCursor()Miklos Vajna
I saw this happening on Writer shutdown. Change-Id: Ib357d070f53ce0728a5b89f895b87fc42628834c
2015-05-19remove ImplInitMenuWindow as ApplySettings set it up insteadTomaž Vajngerl
Change-Id: I9086d36e254d3705bfc60ad9f01c09943f915c09
2015-05-19tdf#91259 Crash when closing HelpPhilippe Jung
Rewrite of splitwin. The previous implementation used struct and memset/memcpy/memmove. Struct have been replaced by classes with destructors. Array of pointers are handled in vectors. This enables clean call to clear of VclPtr. Change-Id: Iab77303fb1d802f208dfdf476140557e42af949a Reviewed-on: https://gerrit.libreoffice.org/15788 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>