summaryrefslogtreecommitdiff
path: root/extensions
AgeCommit message (Collapse)AuthorFilesLines
2015-06-07gcc4.6: remove trigraph sequences '<::'Thorsten Behrens1-2/+2
Change-Id: Iaea3121fbc4e826b5d1f76b052c21b4dcf18df70
2015-06-06Apply new VclPtr clang plugin to catch potential problems.Noel Grandin1-2/+2
Omit the plugin, and sw's FrameControlsManager for now. Change-Id: Ifb98a2e6e03a9d099efc1668305b96bd9142ca5f Reviewed-on: https://gerrit.libreoffice.org/16117 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-06-04tdf#91702 - fix stack-based MessBox allocation.Michael Meeks1-1/+1
Change-Id: I62dd164e281911d9db3de453789a5badc7cd5fd7 Reviewed-on: https://gerrit.libreoffice.org/15954 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-05-29convert WINDOW_POSSIZE constants to scoped enumNoel Grandin1-1/+2
Change-Id: Id85137ffc7309a66b04132d588d289db136117b9 Signed-off-by: Jan Holesovsky <kendy@collabora.com>
2015-05-29convert POINTER constants to scoped enumNoel Grandin1-2/+2
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-29Fix Windows 64-bit buildStephan Bergmann1-1/+1
Change-Id: Ie02b1b51463aa9d6c5e80001eb089909995d5b5b (cherry picked from commit 9155210d0ad8c9c79c9a493527452b52e7aceb98)
2015-05-28Rewrite all calls like Dialog(params).Execute()Philippe Jung2-2/+2
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-28tdf#91671 avoid use of already disposed controlDavid Tardon1-1/+2
Change-Id: I9cf5feeb2fc0ea91c7684aaf8adc2809907fa5d7 (cherry picked from commit a14d7e3b41e1083edcebdeb3484e3cc6666dd63c)
2015-05-26Audit all PostUserEvent calls and instrument for VclPtr.Michael Meeks2-2/+2
Hold a reference on the VclPtr while we're waiting for the UserEvent. Change-Id: I55c2671ca12eb14761c6a7dffd551af71547ecbd
2015-05-20convert TEXT_DRAW constants to scoped enumNoel Grandin2-5/+5
Change-Id: Ic0f7f8fa236bb478b3598ae3fd3c1b30ebbf1a01
2015-05-18loplugin:staticmethodsStephan Bergmann1-27/+30
Change-Id: I11dfc42c11c4a689e4bde6f511751e5fb89471ca
2015-05-18refactor scanner ext. to use RenderContextTomaž Vajngerl2-117/+132
Change-Id: I31e4ea09b3a7bd65e589481c4c128275a8a7c1b7
2015-05-15tdf#62475: partial handmade fixesAndrea Gelmini75-508/+30
Change-Id: Ib9af202c43b916b9af4b4e18db35d470a8692fe4 Reviewed-on: https://gerrit.libreoffice.org/15712 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-05-14tdf#91240 - cope with state-change after dispose and dispose fixedtext.Michael Meeks2-20/+2
Change-Id: Iba204fbeebbc4ea0982036159507b755cedd544e
2015-05-13convert FLOATWIN_POPUPMODE constants to scoped enumNoel Grandin1-1/+1
Change-Id: I744d430ef6a506977eb10b892582c8969ec27524
2015-05-12Switch VclBuilder constructors to use VclPtr.Michael Meeks2-3/+2
Change-Id: Id35a86eb52bbde6ca09a5e61a0b1a79b23be8faf
2015-05-11Revert "Switch VclBuilder constructors to use VclPtr."Michael Meeks2-2/+3
Behaves oddly; not ready yet. This reverts commit 9f016bd69422bdfb4cf7c4f5e57356eb98db2d8c. Change-Id: I30d746eac29d1dbe78d3072b10d2e22c051e3f4e
2015-05-11Switch VclBuilder constructors to use VclPtr.Michael Meeks2-3/+2
Change-Id: Id35a86eb52bbde6ca09a5e61a0b1a79b23be8faf
2015-05-11convert COMMAND_ constants to scoped enumNoel Grandin1-3/+3
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-10Use IMPL_LINK_NOARG[_TYPED] where applicableStephan Bergmann11-14/+14
Change-Id: I70598072c1d492e360ef46dd7b5ef5a2fa4be495
2015-05-10No more need for EMPTYARG in C++11Stephan Bergmann1-1/+1
Change-Id: I8a6abc563fa80a801d1907100d0b1138d260c36e
2015-05-10Replace IMPL_STATIC_LINK[_TYPED] with more useful variantsStephan Bergmann4-6/+6
Change-Id: I1a8a07623c264154451d36b55db1986be4a6f54c
2015-05-09tdf#91052 - more macros for 'make' constructors.Michael Meeks4-17/+8
Change-Id: Id05266810760f73db2daba10d1efa14aa9f88dd9
2015-05-08lopluign:staticmethods: Handle DECL_LINKStephan Bergmann1-0/+1
Change-Id: Ib27854a8470f3ff5b208cb949a7bd02f2a86c969
2015-05-08Clean up checks of sal_Bool valuesStephan Bergmann1-2/+2
Change-Id: Ia05565077823d6efaeaeb35d3d80b51dd9a10d4c
2015-05-06convert CONFIG_MODE constants to scoped enumNoel Grandin1-1/+1
Change-Id: I1b0fb976e7bf8d7de06da0c30012e8bba1320498
2015-05-06Use various typed ToolBox::Set*Hdl LinksStephan Bergmann2-3/+2
Change-Id: Iddfd36ae0de86fdd2d4febb2c05d1fe0c02801f0
2015-05-05vcl: rename other members of StateChangedType for consistencyMichael Stahl1-1/+1
Change-Id: Ifd3339813e5d3dfb54566fd226aaf2d2a199d59a
2015-05-05Use typed Idle::SetIdleHdl LinkStephan Bergmann5-11/+6
Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
2015-05-05Use typed Timer::SetTimeoutHdl LinkStephan Bergmann1-4/+2
Change-Id: Iaaf0c93e5b28c0f7dbe4f02eda8beeae30708100
2015-05-04Use typed TabControl::SetDeactivatePageHdl LinkStephan Bergmann2-4/+4
Change-Id: I487aad5217cb685ece971717445a68b4fb3d2b3a
2015-05-01these are static all the way downCaolán McNamara1-17/+2
Change-Id: I20fe835f81680866412fde5e28f508625b043402
2015-05-01another attempt to get coverity to parse thisCaolán McNamara1-2/+4
i.e. coverity#1296212 Misused comma operator coverity#1296213 Misused comma operator Change-Id: I8f02530e151ac597f58710894891c3ac559d91ce
2015-04-30reorg this template to see if coverity can parse thenCaolán McNamara2-137/+65
Change-Id: Iaa6f353fb4819bc238f2a914303feb162e7f4eba
2015-04-30Use typed MaybeFile LinkStephan Bergmann1-1/+1
Change-Id: Ic9eebca9d8fe3e9173b1873bdc7800e5161f9999
2015-04-30Gradually typed LinkStephan Bergmann19-42/+42
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 initial :: for the svx namespaceTor Lillqvist2-2/+2
Change-Id: I03e428a749bca409ebac9c142acaddafcbfeca23
2015-04-30Get rid of the initial :: for the vcl namespaceTor Lillqvist3-3/+3
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-29Clean up tools/link.hxxStephan Bergmann2-0/+3
Change-Id: I44e4abb228394f99109f7d7e005cfeb26e4b95c1
2015-04-29Remove unnecessary STATIC_LINK macroStephan Bergmann2-2/+2
Change-Id: I4788824667c8e0d1d4e0717b7ae7737bb0fd2c90
2015-04-29redundant castCaolán McNamara1-1/+1
Change-Id: Ib812a7cafabc4820946da67fb3f8896b6aad1461
2015-04-29convert WZB_ constants to scoped enumNoel Grandin8-32/+32
Change-Id: If2f12ea54b57f32df23fc22fb8be0aa3c6f2e76e
2015-04-29Also add RenderContext parameter to updatecheckuiTomaž Vajngerl1-2/+2
Change-Id: Idf648740f58c120fa08c9a278a511c6be205ce79
2015-04-29fix compile: delegate RenderContext parameter to superTomaž Vajngerl2-4/+4
Change-Id: I1c08e29c45d8334db52b129a957098481f3e57a4
2015-04-29replace Paint calls to Invalidate + fix compilationTomaž Vajngerl1-4/+2
Change-Id: Id716c47d56922ab6ce0c3adb3d426ea814980674
2015-04-29mass rewrite Paint(Rect&) to Paint(RenderContext&, Rect&)Tomaž Vajngerl2-4/+4
Change-Id: Ia1667246064d11827dbd149def15e5bf08b119b8
2015-04-28extensions: fix GCC-4.7 buildMiklos Vajna2-2/+2
Change-Id: I7db7a1d8e7fc4e57abb2cc75eaa99706d65d47ea
2015-04-28loplugin:vclwidgets (best guess)Stephan Bergmann1-7/+4
Change-Id: I9870b4ae7c8c11af34be1edb1ebcbab5e708f42e
2015-04-28Merge remote-tracking branch 'origin/feature/vclptr'Michael Meeks87-658/+1241
Resolve several thousand lines of conflicts. Conflicts: accessibility/source/extended/accessiblelistbox.cxx accessibility/source/standard/vclxaccessiblecombobox.cxx accessibility/source/standard/vclxaccessibledropdowncombobox.cxx accessibility/source/standard/vclxaccessibledropdownlistbox.cxx accessibility/source/standard/vclxaccessiblelistbox.cxx accessibility/source/standard/vclxaccessibletextfield.cxx basctl/source/basicide/basidesh.cxx cui/source/inc/chardlg.hxx cui/source/tabpages/tpbitmap.cxx dbaccess/source/ui/dlg/UserAdmin.cxx dbaccess/source/ui/querydesign/ConnectionLineAccess.cxx extensions/source/propctrlr/propertyeditor.hxx extensions/source/scanner/sanedlg.cxx filter/source/pdf/impdialog.cxx include/sfx2/mgetempl.hxx include/sfx2/sidebar/SidebarToolBox.hxx include/sfx2/viewsh.hxx include/svtools/brwbox.hxx include/svtools/filectrl.hxx include/svtools/scrwin.hxx include/svx/dlgctrl.hxx include/svx/sidebar/Popup.hxx include/svx/sidebar/PopupContainer.hxx include/svx/sidebar/PopupControl.hxx include/svx/sidebar/SidebarDialControl.hxx include/svx/sidebar/ValueSetWithTextControl.hxx sc/source/ui/condformat/condformatdlgentry.cxx sc/source/ui/navipi/navipi.cxx sc/source/ui/sidebar/CellBorderStyleControl.hxx sd/source/ui/animations/CustomAnimationDialog.cxx sd/source/ui/inc/DrawViewShell.hxx sd/source/ui/inc/Ruler.hxx sd/source/ui/inc/SlideSorter.hxx sd/source/ui/inc/ViewTabBar.hxx sd/source/ui/inc/Window.hxx sd/source/ui/inc/morphdlg.hxx sd/source/ui/inc/sdpreslt.hxx sd/source/ui/sidebar/CurrentMasterPagesSelector.hxx sd/source/ui/sidebar/LayoutMenu.hxx sd/source/ui/sidebar/MasterPagesSelector.hxx sd/source/ui/sidebar/NavigatorWrapper.hxx sd/source/ui/sidebar/PanelBase.hxx sd/source/ui/sidebar/RecentMasterPagesSelector.cxx sd/source/ui/sidebar/RecentMasterPagesSelector.hxx sd/source/ui/slideshow/showwindow.hxx sd/source/ui/slidesorter/view/SlsInsertAnimator.cxx sd/source/ui/slidesorter/view/SlsLayeredDevice.hxx sd/source/ui/view/ViewShellBase.cxx sd/source/ui/view/drviewsa.cxx sfx2/source/appl/fileobj.hxx sfx2/source/appl/opengrf.cxx sfx2/source/control/thumbnailviewacc.hxx sfx2/source/dialog/securitypage.cxx sfx2/source/dialog/templdlg.cxx sfx2/source/doc/docinsert.cxx sfx2/source/doc/guisaveas.cxx sfx2/source/inc/alienwarn.hxx sfx2/source/sidebar/Deck.cxx sfx2/source/sidebar/Deck.hxx sfx2/source/sidebar/DeckTitleBar.cxx sfx2/source/sidebar/DeckTitleBar.hxx sfx2/source/sidebar/MenuButton.cxx sfx2/source/sidebar/MenuButton.hxx sfx2/source/sidebar/Panel.cxx sfx2/source/sidebar/Panel.hxx sfx2/source/sidebar/PanelTitleBar.hxx sfx2/source/sidebar/SidebarDockingWindow.hxx sfx2/source/sidebar/SidebarToolBox.cxx sfx2/source/sidebar/TabBar.hxx sfx2/source/sidebar/TabItem.cxx sfx2/source/sidebar/TabItem.hxx sfx2/source/sidebar/TitleBar.hxx sfx2/source/toolbox/imgmgr.cxx starmath/inc/edit.hxx starmath/inc/smmod.hxx starmath/qa/cppunit/test_starmath.cxx starmath/source/edit.cxx starmath/source/smmod.cxx svtools/source/brwbox/brwbox1.cxx svtools/source/brwbox/datwin.hxx svtools/source/contnr/fileview.cxx svtools/source/contnr/simptabl.cxx svtools/source/control/filectrl.cxx svtools/source/control/valueimp.hxx svx/inc/GalleryControl.hxx svx/source/dialog/dlgctrl.cxx svx/source/dialog/swframeexample.cxx svx/source/fmcomp/fmgridif.cxx svx/source/gallery2/GalleryControl.cxx svx/source/sidebar/EmptyPanel.hxx svx/source/sidebar/area/AreaPropertyPanel.hxx svx/source/sidebar/area/AreaTransparencyGradientControl.hxx svx/source/sidebar/graphic/GraphicPropertyPanel.hxx svx/source/sidebar/insert/InsertPropertyPanel.cxx svx/source/sidebar/insert/InsertPropertyPanel.hxx svx/source/sidebar/line/LinePropertyPanel.hxx svx/source/sidebar/line/LineWidthControl.cxx svx/source/sidebar/line/LineWidthControl.hxx svx/source/sidebar/line/LineWidthValueSet.hxx svx/source/sidebar/paragraph/ParaPropertyPanel.hxx svx/source/sidebar/possize/SidebarDialControl.cxx svx/source/sidebar/text/TextCharacterSpacingPopup.hxx svx/source/sidebar/text/TextPropertyPanel.hxx svx/source/sidebar/tools/PopupContainer.cxx svx/source/sidebar/tools/PopupControl.cxx svx/source/sidebar/tools/ValueSetWithTextControl.cxx svx/source/svdraw/svdfmtf.hxx svx/source/svdraw/svdibrow.cxx svx/source/tbxctrls/colrctrl.cxx svx/source/tbxctrls/tbcontrl.cxx sw/source/ui/dbui/mmaddressblockpage.cxx sw/source/ui/dialog/uiregionsw.cxx sw/source/ui/index/cnttab.cxx sw/source/uibase/inc/drpcps.hxx sw/source/uibase/sidebar/PageColumnControl.hxx sw/source/uibase/sidebar/PageMarginControl.hxx sw/source/uibase/sidebar/PageOrientationControl.hxx sw/source/uibase/sidebar/PagePropertyPanel.hxx sw/source/uibase/sidebar/PageSizeControl.hxx sw/source/uibase/uiview/view2.cxx sw/source/uibase/utlui/navipi.cxx vcl/inc/svdata.hxx vcl/source/control/combobox.cxx vcl/source/control/lstbox.cxx vcl/source/window/dockwin.cxx vcl/source/window/winproc.cxx Change-Id: I056cf3026ff17d65cca0b6e6588bda4a88fa8d95
2015-04-28Dialog::Execute return type is short/VclResponseTypeStephan Bergmann1-1/+1
Change-Id: I40fb77dff3112ee154d6d413757af6593486280d