summaryrefslogtreecommitdiff
path: root/starmath
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-20bin/rename-sw-abbreviations.shlibreoffice-5-0-branch-pointChristian Lohmaier1-3/+3
renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I9a62759138126c1537cc5c985ba05cf54d6132d9
2015-05-20convert DEFAULTCONSTANT constant to scoped enumNoel Grandin2-2/+2
Change-Id: I5ebd77edfa29d6c6c7acea37e826ef1d625916c3
2015-05-20convert DRAWMODE constants to scoped enumNoel Grandin2-3/+3
Change-Id: I36cbe8057d09226f8b302963bdd94dc5600b686f
2015-05-19Update Apache Bugzilla’s URLAdolfo Jayme Barrientos1-3/+3
Change-Id: I6ef4ae530b7fb4e615100803ae6e3972d9b4545f
2015-05-18Remove include stdio (part2)Julien Nabet3-4/+0
Change-Id: Iae58d107d8df1c543a165086fb2b7c288e7121dd Reviewed-on: https://gerrit.libreoffice.org/15775 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2015-05-18refactor how font, fg. and bg. are applied in widgets/controlsTomaž Vajngerl1-1/+3
- 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-15fix starmath testsTomaž Vajngerl1-0/+10
Change-Id: I0fc6fc4a1ce71507f97797dcfe77a6d5b21e4b80
2015-05-14more refactorings in starmath dialogs..Tomaž Vajngerl2-149/+84
Change-Id: I24b6584a72b4a8db031d9bf8906d8682e32e4545
2015-05-14SmShowFont: change to save the font and use it in Paint + HiDPITomaž Vajngerl2-23/+23
No painting should be performed outside of Paint hierarchy. Change-Id: I97a8d6429abcd6022e9bf89295dc2944485984eb
2015-05-14cleanup starmath view/documentTomaž Vajngerl3-133/+120
Change-Id: Ieda85c0f157a6b299ba10528dd3cee3fe9942783
2015-05-14refactor starmath view/edit classes to use RenderContextTomaž Vajngerl3-155/+127
Change-Id: I741e596a665119b50597586e9b0b5e8339a826ae
2015-05-14refacor starmath dialogs to use RenderContextTomaž Vajngerl1-31/+26
Change-Id: I077fb1fbb3a5b55c50b61235ef9f0315c342faa4
2015-05-14refactor ElementsDockingWindow to use RenderContextTomaž Vajngerl1-41/+29
Change-Id: I3a37883fc7688d4edd978e38e545e2386ae814b0
2015-05-13tdf#68871 Nuke old Elements box from menu, rename new paneAdolfo Jayme Barrientos2-2/+1
Change-Id: I22301e72a8cb8d11ad35ea63e6361b56e7c7e867
2015-05-13convert FRAME_DRAW constants to scoped enumNoel Grandin1-2/+2
Change-Id: I98e52aa56ec063ecc8f3d10baef65eb293c726bf
2015-05-12tdf#68871: Remove the old Elements panel from MathJulien Nabet9-728/+0
Conflicts: starmath/inc/toolbox.hxx starmath/source/toolbox.cxx Change-Id: Ie148d57dc14ed3f38566c24ee027f23e25987810 Reviewed-on: https://gerrit.libreoffice.org/15599 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-12Switch VclBuilder constructors to use VclPtr.Michael Meeks1-4/+3
Change-Id: Id35a86eb52bbde6ca09a5e61a0b1a79b23be8faf
2015-05-11Revert "Switch VclBuilder constructors to use VclPtr."Michael Meeks1-3/+3
Behaves oddly; not ready yet. This reverts commit 9f016bd69422bdfb4cf7c4f5e57356eb98db2d8c. Change-Id: I30d746eac29d1dbe78d3072b10d2e22c051e3f4e
2015-05-11Switch VclBuilder constructors to use VclPtr.Michael Meeks1-3/+3
Change-Id: Id35a86eb52bbde6ca09a5e61a0b1a79b23be8faf
2015-05-11convert COMMAND_ constants to scoped enumNoel Grandin2-4/+6
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 Meeks2-13/+7
Change-Id: Ic7ff127e2793993f9dcf1018f8d5ed4f2858a2c4
2015-05-11sw,sc,sd,starmath: convert to vcl::RenderContextNoel Grandin2-2/+2
Change-Id: I5d0a3b8ed1c49ba2806e0fa528d908da45afd58c
2015-05-10No more need for EMPTYARG in C++11Stephan Bergmann2-17/+17
Change-Id: I8a6abc563fa80a801d1907100d0b1138d260c36e
2015-05-07Unwind SotStorageStreamRef typedefStephan Bergmann3-6/+6
Change-Id: If7652a7c0251b741660365848a717c06954ca419
2015-05-07Unwind SotStorageRef typedefStephan Bergmann4-4/+4
Change-Id: I8d5363bb2ad813ef29b4078848914f4b0989b9f1
2015-05-07Remove SvStorageRef aliasStephan Bergmann3-3/+3
Change-Id: Icd1bf88cefac929916ece9a30b9b65c5297ec2a3
2015-05-07Remove SvStorageStream aliasStephan Bergmann3-5/+5
Change-Id: I9d835e6032e2366e5357240609ff0e60273d475b
2015-05-07Remove SvStorageStreamRef aliasStephan Bergmann3-6/+6
Change-Id: Ic25c39adf8796bb433fa7746f53a68e3e2bfd228
2015-05-07drop unused debugging ColorCaolán McNamara1-3/+0
Change-Id: I02fc8f71543e7fda48fbbce131abd172c8c03259
2015-05-06convert DEFAULTFONT_ constants to scoped enumNoel Grandin2-29/+29
Change-Id: Ia33e957f6cf530e2639b3c86d9482f642652cb46
2015-05-06Use various typed ToolBox::Set*Hdl LinksStephan Bergmann2-6/+4
Change-Id: Iddfd36ae0de86fdd2d4febb2c05d1fe0c02801f0
2015-05-05vcl: rename other members of StateChangedType for consistencyMichael Stahl2-3/+3
Change-Id: Ifd3339813e5d3dfb54566fd226aaf2d2a199d59a
2015-05-05loplugin:staticmethodsNoel Grandin23-61/+57
Change-Id: I4d19f868a618cb135aa7a949222972dc35b47d2a
2015-05-05Use typed Idle::SetIdleHdl LinkStephan Bergmann2-8/+5
Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
2015-05-05Use typed Timer::SetTimeoutHdl LinkStephan Bergmann2-7/+4
Change-Id: Iaaf0c93e5b28c0f7dbe4f02eda8beeae30708100
2015-05-04prefer OUStringBuffer to concatenating OUString in a loopTakeshi Abe1-3/+7
Change-Id: Ia617e6e3524264ecc62d50bb8b58d1458b8e3303 Reviewed-on: https://gerrit.libreoffice.org/15582 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-05-03starmath: Convert many services to constructors.Jan Holesovsky4-184/+30
Change-Id: Iadeb0723ec4f4d30996aa5677b936de9f11ffadc
2015-05-02Audit LoseFocus - forms, reportdesign, sc, starmath, svtools.Michael Meeks1-2/+3
Change-Id: If7068e59c88e8c3c3bafc70f64899a26d739e331
2015-04-30Gradually typed LinkStephan Bergmann3-13/+13
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 Lillqvist2-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-29Remove unnecessary IMPL_LINK[_NOARG]_INLINE_START/ENDStephan Bergmann3-15/+6
...just use IMPL_LINK[_NOARG] and let the compiler decide what to inline Change-Id: I63ec5116df7e79093ebf31193f8c674f1351c0e6
2015-04-29error C2666: 'operator ==' : 2 overloads have similar conversionsDavid Tardon1-1/+2
Change-Id: I94b54586477ae0cad3b5351953cccffffecbf902
2015-04-29convert STR_EVENT constants to scoped enumNoel Grandin1-1/+1
- also add needed infrastructure to o3tl::enumarray so we can use std::find on it - move the Impl inside the .cxx file, no need to expose it in the header Change-Id: I7758a6175849f46723d97b1e657f846524c3b7cd
2015-04-29avoid ambiguityStephan Bergmann1-1/+1
Change-Id: Iaccb07e1060ea2f3aa611170895da3e72bf6fefd
2015-04-29fix compile: delegate RenderContext parameter to superTomaž Vajngerl1-6/+6
Change-Id: I1c08e29c45d8334db52b129a957098481f3e57a4
2015-04-29mass rewrite Paint(Rect&) to Paint(RenderContext&, Rect&)Tomaž Vajngerl8-16/+16
Change-Id: Ia1667246064d11827dbd149def15e5bf08b119b8
2015-04-28Merge remote-tracking branch 'origin/feature/vclptr'Michael Meeks19-200/+444
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-27use std::unique_ptr<> to simplify ctor and dtorTakeshi Abe2-41/+22
Change-Id: Iea949e5936f58317e64e60a407613bb99ae113ff Reviewed-on: https://gerrit.libreoffice.org/15489 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-04-27More loplugin:simplifyboolStephan Bergmann1-1/+1
Change-Id: Id4c8b4c2ac064838b968bac4f24e544162a55bdf