summaryrefslogtreecommitdiff
path: root/svtools/source/contnr
AgeCommit message (Collapse)Author
2015-05-29tdf#91677 fix invidsible menu in BaseTomaž Vajngerl
Change-Id: Ie1a8d6125d4a9d67f06f7dc37aa4d5115ad1af28
2015-05-29loplugin:loopvartoosmallNoel Grandin
Change-Id: I1e9768c08af0bc7caac6a39c13842ee9d8ad962c
2015-05-28convert STARTTRACK constants to scoped enumNoel Grandin
Change-Id: I9b441688eb59ffd3540b014716a9abe7969c9be4
2015-05-28convert AUTOSCROLL constants to scoped enumNoel Grandin
Change-Id: Id1d2b5c13ad6af05314cba60ba5b9a62e0683f5e
2015-05-28fix highlight rendering for iconview with more effective clippingTomaž Vajngerl
Change-Id: I9d8f2341477b9b9c0acd71a7d33cd5a9a55757d2
2015-05-28fix drawing treelistbox with redefined background in dbaccessTomaž Vajngerl
Change-Id: Ia55797e3e42309f9d37d5335088f7657d99954de
2015-05-26loplugin: unnecessarysuperclass merge HashedEntryList into NameTranslationListNoel Grandin
Change-Id: Idba2112b81e06ada7567dd5476a4e9d84f38ff56 Reviewed-on: https://gerrit.libreoffice.org/15897 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-26convert SCROLL constants to scoped enumNoel Grandin
Change-Id: I5696fa39b2d032735cea7abe039349d4f83cf68d
2015-05-26convert INVALIDATE constants to scoped enumNoel Grandin
fixing a bug in Window::ImplMoveAllInvalidateRegions, and improving the IDL docs for XWindowPeer Change-Id: Idb774ac913945db2ac7c492c11cf86c370624c3d
2015-05-25Audit 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-24callcatcher: update unused codeCaolán McNamara
Change-Id: I1f2a94cdcd4329af68d946ff0a74ddec4ac1c590
2015-05-22loplugin:constantfunctionNoel Grandin
Change-Id: I7cb5b0c2cf9ade557173ca596ea5d42d853ff448
2015-05-21svtools: simplify code by replacing std::find_if with std::any_ofTakeshi Abe
... or std::none_of. Change-Id: Ib6af7f32d9495eca03e29dcea06ff3925b1cc7b7 Reviewed-on: https://gerrit.libreoffice.org/15839 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-05-20convert IMAGE_DRAW_ constants to scoped enumNoel Grandin
Change-Id: I75619eeb902af4953a5ac1525605cf3f0f15e2c0
2015-05-20convert TEXT_DRAW constants to scoped enumNoel Grandin
Change-Id: Ic0f7f8fa236bb478b3598ae3fd3c1b30ebbf1a01
2015-05-20Remove include stdio (part4)Julien Nabet
Change-Id: Ic17885b22167eedd0e56b3e5027c09a1c3aac1d8 Reviewed-on: https://gerrit.libreoffice.org/15819 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: Julien Nabet <serval2412@yahoo.fr> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-05-18callcatcher: update unused codeCaolán McNamara
Change-Id: I43dd399368953c629916dad8104a296f837a6344
2015-05-18pass RenderContext to PreparePaint in TreeListBoxTomaž Vajngerl
Change-Id: I32961f5cd511b9ecc756e99ca95e4e9ddbc6b795
2015-05-18refactor how font, fg. and bg. are applied in widgets/controlsTomaž Vajngerl
- Move vcl::RenderContext to outdev. - Change some methods on vcl::Window to accept RenderContext as parameter. - Add ApplySettings to vcl::Window - This method is called before painting. Refactor existing classes that use InitSettings to have ApplySettings or mark the classes to be refactored later. - Add RenderSettings for adding defered settings to rendering. This is similar to ApplySettings but for more ad-hoc calls. Change-Id: I4ea58461f3b6b08ccfa3e0ddd1a4a3e04f8c4f45
2015-05-14convert QUICKHELP constants to scoped enumNoel Grandin
Change-Id: Ie7302c909feb2e83b8b5e62a5e6a1f901783fb49
2015-05-13tdf#91125 - unwind horrendous SvTreeListBox drag&drop code.Michael Meeks
This removes a horrible mess of shoving various process pointers into byte arrays and (potentially) pushing them across a process boundary in a gross fashion. Killed the SvLBoxDDInfo struct, and its many un-used members. Instead use the existing (also non-ideal) global variable to track the relevant state. Change-Id: I0b694bd530e7019042d22e46db831b5a4aae0e23
2015-05-13convert BUTTON_DRAW constants to scoped enumNoel Grandin
Change-Id: I6ad6558c855736a4a5268593ced9c8300235d4bd
2015-05-13convert FRAME_HIGHLIGHT constants to scoped enumNoel Grandin
Change-Id: I44bd2c54c8b1d6cafd7c15eaf0d77a336ac3fa65
2015-05-12svtools: hold strong VclPtr references for global state.Michael Meeks
Change-Id: I55c384495a0b1e0e128ac71ec3ae4afee6964fde
2015-05-12Switch VclBuilder constructors to use VclPtr.Michael Meeks
Change-Id: Id35a86eb52bbde6ca09a5e61a0b1a79b23be8faf
2015-05-12cleanup SvHeaderTabListBoxTomaž Vajngerl
Change-Id: I55ccc084ca766460dd466e5ef9b725c13d851acc
2015-05-12cleanup SvSimpleTableTomaž Vajngerl
Change-Id: I1c431dfa4867bad9bd62d5ac7ec4f6b48b960431
2015-05-11Revert "Switch VclBuilder constructors to use VclPtr."Michael Meeks
Behaves oddly; not ready yet. This reverts commit 9f016bd69422bdfb4cf7c4f5e57356eb98db2d8c. Change-Id: I30d746eac29d1dbe78d3072b10d2e22c051e3f4e
2015-05-11Switch VclBuilder constructors to use VclPtr.Michael Meeks
Change-Id: Id35a86eb52bbde6ca09a5e61a0b1a79b23be8faf
2015-05-11convert COMMAND_ constants to scoped enumNoel Grandin
Change-Id: I88e67f89dbbab0646e8f106dfeb32c6ee1bb0b95 Reviewed-on: https://gerrit.libreoffice.org/15671 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-11tdf#91052 - more macros for 'make' constructors.Michael Meeks
Change-Id: Ic7ff127e2793993f9dcf1018f8d5ed4f2858a2c4
2015-05-11loplugin:cstylecast: nop between pointer types of exactly same spellingStephan Bergmann
Change-Id: I3abfd98f165e2f3951cacc83fa578d442779107e
2015-05-11refactor TreeListBox to use RenderContextTomaž Vajngerl
Change-Id: I901a1f1f9732fb66718dca34c698a851e5b0d87f
2015-05-11refactor BrowseBox, IconChoice to use RenderContextTomaž Vajngerl
Change-Id: I7bc3982895fa118616330ee9df88abae96abbe14
2015-05-10No more need for EMPTYARG in C++11Stephan Bergmann
Change-Id: I8a6abc563fa80a801d1907100d0b1138d260c36e
2015-05-10NOINSTANCE is implied now in IMPL_STATIC_LINK...Stephan Bergmann
Change-Id: Ifb032457d6c1b279c4183282ef2b271c706dd71a
2015-05-10Replace IMPL_STATIC_LINK[_TYPED] with more useful variantsStephan Bergmann
Change-Id: I344ba9d22adada82170d45a4cf723af6a286b883
2015-05-08lopluign:staticmethods: Handle DECL_LINKStephan Bergmann
Change-Id: Ib27854a8470f3ff5b208cb949a7bd02f2a86c969
2015-05-05vcl: rename other members of StateChangedType for consistencyMichael Stahl
Change-Id: Ifd3339813e5d3dfb54566fd226aaf2d2a199d59a
2015-05-05Use typed Idle::SetIdleHdl LinkStephan Bergmann
Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
2015-05-05Use typed Timer::SetTimeoutHdl LinkStephan Bergmann
Change-Id: Iaaf0c93e5b28c0f7dbe4f02eda8beeae30708100
2015-05-02Audit LoseFocus - forms, reportdesign, sc, starmath, svtools.Michael Meeks
Change-Id: If7068e59c88e8c3c3bafc70f64899a26d739e331
2015-05-02Audit LoseFocus - basctl, cui, dbaccess.Michael Meeks
Change-Id: If61b45f28f30e3ab00dbf071198233d59899d719
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-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-29Remove unnecessary IMPL_LINK[_NOARG]_INLINE_START/ENDStephan Bergmann
...just use IMPL_LINK[_NOARG] and let the compiler decide what to inline Change-Id: I63ec5116df7e79093ebf31193f8c674f1351c0e6
2015-04-29Remove unnecessary STATIC_LINK macroStephan Bergmann
Change-Id: I4788824667c8e0d1d4e0717b7ae7737bb0fd2c90
2015-04-29redundant castCaolán McNamara
Change-Id: Ib812a7cafabc4820946da67fb3f8896b6aad1461
2015-04-29fix compile: delegate RenderContext parameter to superTomaž Vajngerl
Change-Id: I1c08e29c45d8334db52b129a957098481f3e57a4
2015-04-29replace Paint calls to Invalidate + fix compilationTomaž Vajngerl
Change-Id: Id716c47d56922ab6ce0c3adb3d426ea814980674