summaryrefslogtreecommitdiff
path: root/vcl
AgeCommit message (Collapse)Author
2015-05-06cleanup DIALOG_NO_PARENT, follow on to tdf#91090Noel Grandin
remove the DIALOG_NO_PARENT abomination and replace it with a flags parameter Change-Id: I71b7dc46c619f2db56af6d4dc2c17daf0a2c8534 Reviewed-on: https://gerrit.libreoffice.org/15645 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-05-06cancel doesn't cancel printingCaolán McNamara
regression from commit e0ad036eed6b151ea81311fcf9ba46f1726b103c Author: Luboš Luňák <l.lunak@collabora.com> Date: Thu Feb 19 16:39:06 2015 +0100 mailmerge doesn't need to use the singlefile technique for printing Change-Id: Ib1a7ae3033c03d13ba930cb6b94d85bd8041334c
2015-05-06Use typed ToolBox::SetMenuButtonHdl LinkStephan Bergmann
Change-Id: I00cd35374294ccdcc0ac3223ae81ba8129b9a5d7
2015-05-06Use typed ToolBox::SetDataChangedHdl LinkStephan Bergmann
Change-Id: Ia4fe932e765651653e6c534e755a8fc32875ffc3
2015-05-06Use typed ToolBox::SetCommandHdl LinkStephan Bergmann
Change-Id: Ieee142ddebb288037647fb77bac6f11b9827c4a8
2015-05-06Remove unused ToolBox::Get/SetHighlightHdlStephan Bergmann
Change-Id: Ieea90173e84dc4d1d0202a3804033d1c42370261
2015-05-06WaE: loplugin:cstylecastTor Lillqvist
Change-Id: Id59ba5f0fcb27e5a3fec322ba0a016c5fc4bacc1
2015-05-06color bar doesn't fill tool itemCaolán McNamara
since commit b8f21298288890d52c06fef6c84441634c56c986 Author: Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> Date: Mon Mar 2 20:57:32 2015 +0900 the color bar is always drawn under the icon and doesn't get drawn to the right and fill all the empty space of the tool item, e.g. in impress see the new toolbar color selector Change-Id: Ib70fec9c933b9d743e67475899938a5d9f405496
2015-05-06this is a no-op, remove ifCaolán McNamara
Change-Id: I01a7d41084185c8c9d4a103fb124a0416a3bc890
2015-05-06fix windows buildNoel Grandin
Change-Id: I32dc6c24c523519d6c2376c555b2d774fa40b3ba
2015-05-06fix OSX buildNoel Grandin
Change-Id: I6df0009cad65134e626f89563be168ff739ca092
2015-05-06convert BMP_MIRROR constants to scoped enumNoel Grandin
and fix bug in svx/source/xoutdev/_xoutbmp.cxx,XOutBitmap::MirrorGraphic where it was not correctly translating between different flags types. Change-Id: I78b4965544da2aa54b67ec18307fa54c8ffc3aee
2015-05-06convert BMP_SCALE constant to scoped enumNoel Grandin
Change-Id: Ibc9f88d2588c028cd71aa86c26d970a73025ef22
2015-05-06convert DEFAULTFONT_ constants to scoped enumNoel Grandin
Change-Id: Ia33e957f6cf530e2639b3c86d9482f642652cb46
2015-05-06convert IMPL_FONT_ATTR constants to scoped enumNoel Grandin
Change-Id: I2b5986ea69dc09e6ba18b23a80029f6551b48152
2015-05-06convert CONFIG_MODE constants to scoped enumNoel Grandin
Change-Id: I1b0fb976e7bf8d7de06da0c30012e8bba1320498
2015-05-06Use various typed ToolBox::Set*Hdl LinksStephan Bergmann
Change-Id: Iddfd36ae0de86fdd2d4febb2c05d1fe0c02801f0
2015-05-05VclPtr: crash on exit on impressCaolán McNamara
Change-Id: I3f81128b58992db68263fb6c8d2a94cbae855632
2015-05-05vcl: rename other members of StateChangedType for consistencyMichael Stahl
Change-Id: Ifd3339813e5d3dfb54566fd226aaf2d2a199d59a
2015-05-05vcl: remove WIN32_TRANSPARENTMichael Stahl
Change-Id: I164106e89cf910c2f9fa6815b23f58ad6c6ee789
2015-05-05vcl: rename conflicting defintion of TRANSPARENT remove it from postwin.hMichael Stahl
Change-Id: I3b4e25c27593e3a61612a96baa2a4378542d151c
2015-05-05tdf#91081 Fix LO crash after dialog closing by ESCPhilippe Jung
When control is no longuer valid, skip emission of notification - chaining to the parent When opening a popup dialog by right click and immediately pressing ESC immediately, LO crashes. A focus event listener is still registered. It triggers an event on a component previously freed. Change-Id: Icfc941849be5d50e2477d4e92afff844f76892d8
2015-05-05loplugin:staticcallStephan Bergmann
Change-Id: If0b59a15a2fa740760419b1dc3345cf665857114
2015-05-05Use typed Idle::SetIdleHdl LinkStephan Bergmann
Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
2015-05-05AllocateFrame() and TriggerPaintEvent() can't be static when --enable-gtk3Tor Lillqvist
Change-Id: I1d637285b6b6ef64b83ab759bd4a379713bbf96b
2015-05-05Use typed Timer::SetTimeoutHdl LinkStephan Bergmann
Change-Id: Iaaf0c93e5b28c0f7dbe4f02eda8beeae30708100
2015-05-05loplugin:staticmethodsNoel Grandin
Change-Id: Idfd6368eba8e638cf9e6adf998b19ccd1f5e876c
2015-05-05tdf#90539 special case for EMF placeholder icon of OLE objectAndras Timar
Change-Id: Id775680d6b2aec1fd84981a72a94fe4934bef003 Reviewed-on: https://gerrit.libreoffice.org/15632 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-05-05typo: strech -> stretchAndras Timar
Change-Id: I0de1cfaa0df460c7bc8e49752b31056f95c30053 Reviewed-on: https://gerrit.libreoffice.org/15628 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2015-05-04Revert "Fix tdf#87373: Kerning broken on OS X"Khaled Hosny
This reverts commit bec8fc58a827c220b3f28462ae127cc1c571d1bf. It does not really solve the bad spacing issue and it broke handling of trailing whitespace in right-to-left text.
2015-05-03Use deleted function macro.Michael Meeks
Change-Id: Id1c7efc5af7ba335466ff637eac637d7a6c41ed5
2015-05-03tdf#91043 - attempted fix of filer-less gtk+ save dialog crash.Michael Meeks
Change-Id: If307f233d5db1520c307443321fa855e044c3de9
2015-05-01gtk3: distinguish between first, last and only tabsCaolán McNamara
Change-Id: Ic69b84a3dd94ee25d5e660da152b1e776fa2b38e
2015-04-30Use typed Link for MenuButton::SetSelectHdlStephan Bergmann
(and MenuButton::GetSelectHdl was unused) Change-Id: I94df06bcda9e041fde65553e30247874b20ff74b
2015-04-30gtk3: use different colors for the different states of a tabCaolán McNamara
Change-Id: I0ab8f98b64ac56b1f7b76ad99b433b6a2c370e27
2015-04-30gtk3: Set tab normal/rollover/hightlight text colorsCaolán McNamara
Change-Id: I4dff83941df62bcd5ec5a70a87f59e9ce17c979d
2015-04-30TextWindow: handle LoseFocus during dispose.Michael Meeks
Change-Id: I7a7d9cc7948ee08211cbfaa3df8197c1ede148b7
2015-04-30Gradually typed LinkStephan Bergmann
Turn the Link class into a template abstracting over the link's argument and return types, but provide default template arguments that keep the generic, unsafe "void* in, sal_IntPtr out" behvior. That way, individual uses of the Link class can be updated over time. All the related macros are duplicated with ..._TYPED counterparts, that additionally take the RetType (except for LINK_TYPED, which manages to infer the relevant types from the supplied Member). (It would have been attractive to change the "untyped" LinkStubs from taking a void* to a properly typed ArgType parameter, too, but that would cause -fsanitize=function to flag uses of "untyped" Link::Call.) Change-Id: I3b0140378bad99abbf240140ebb4a46a05d2d2f8
2015-04-30loplugin:literaltoboolconversionStephan Bergmann
Change-Id: I556a0fc4e47e51880b12c7e1ae25a588f576cd7c
2015-04-30Get rid of the initial :: for the vcl namespaceTor Lillqvist
We used it all over the place without leading :: already anyway, even in many files in include. So let's be consistent. In the majority of cases, prefer the easier-on-the-eyes choice, not the "safe" one. In those files in include where *all* existing uses of ::vcl:: indeed used the :: prefix, there let's keep it for consistency. Change-Id: If99cb41d3bf290d38c601d91125c3c8d935e61d0
2015-04-30Bin some pointless comments and reduce some vertical whitespaceTor Lillqvist
Bin pointless '// predeclarations' or '// forward declarations' comments. If a programmer doesn't know what a forward declaration is, well, why read C++ source code? Also bin some pointless '// end of namespace foo' comments after namespace blocks just a handful of lines long, and some superfluous vertical whitespace. Change-Id: I2a31c5d73d9b4de8825fb8eb9e7559dbd7303ef9
2015-04-29coverity#1296208 Operands don't affect resultCaolán McNamara
Change-Id: I9ba731626bb43daae277c20829306c7d2eccd41f
2015-04-29coverity#1296215 Dereference before null checkCaolán McNamara
Change-Id: I38fd1780bbbe30f2dbc6ca5db9b815e571f06750
2015-04-29More bits on event emission during dispose.Michael Meeks
Change-Id: I89b6735bca19eec1ccc1d14cd3c35e88fd36d51f
2015-04-29abhortive focus unit test - apparently we need visible windows for that.Michael Meeks
Change-Id: I64999eb625a4b312997ba78698710bd1acaf8da7
2015-04-29Protect against event emission during dispose.Michael Meeks
Change-Id: I8c97fdb637a8ea4d50bef5815ef3716a4be03688
2015-04-29Remove unnecessary STATIC_LINK macroStephan Bergmann
Change-Id: I4788824667c8e0d1d4e0717b7ae7737bb0fd2c90
2015-04-29gtk3: implement background theme paintingCaolán McNamara
Change-Id: I23d7dcb1491c480786f1aa2efcb682c5f6933c90
2015-04-29delegate RenderContext, invalidate - prgsbar, scrbarTomaž Vajngerl
Change-Id: I05d68be744044cc82c0397fac25518a53c270761
2015-04-29delegate RenderContext, invalidate - ilstboxTomaž Vajngerl
Change-Id: I9d47e828a784bf6b120b4b1e9df332ea85690a19