summaryrefslogtreecommitdiff
path: root/canvas
AgeCommit message (Collapse)Author
2014-04-14typo: implicitely -> implicitlyThomas Arnhold
2014-04-10It's "its", not "it's"Tor Lillqvist
Change-Id: Ieaa787afd7cc622b4750a2ee8f17f6dad934ba63
2014-04-07Remove silly PUT_SEMICOLON_AT_THE_ENDStephan Bergmann
...and rather live with macro calls not terminated by semicolons until those macros are gone for good anyway. Completely remove unused DECLARE_UNO3_XCOMPONENT_DEFAULTS. Change-Id: I0d4eb5a91736004b0da2b09fce860e57f6d1ddbd
2014-04-04fdo#43157 : clean up more OSL_POSTCONDMichaël Lefèvre
Change-Id: Iaca31b4e12c258b762b3d88fbad0fb08b4f1fc16 Reviewed-on: https://gerrit.libreoffice.org/8832 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-04-03remove unnecessary scope qualifier from sal_Bool usesNoel Grandin
i.e. convert "::sal_Bool" to "sal_Bool" Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann
It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-04-01coverity#738566 Uninitialized pointer fieldCaolán McNamara
Change-Id: I8eefe76a202c11858df0c5bddebfce3559ec8ca4
2014-03-29typo: optimisation -> optimizationThomas Arnhold
2014-03-28fdo#38844 Remove XOR rendering code from canvas moduleKrisztian Pinter
Change-Id: Ie0c6b2950184bd3843baae59eff08a2f4e9e1b9c Reviewed-on: https://gerrit.libreoffice.org/8715 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-20Remove unused includeStephan Bergmann
Change-Id: Icb79f8f67271a4bcf56be9b4fa88f14cb9d7633c
2014-03-12Mark overriding DisambiguationHelper class template mem funs as SAL_OVERRIDEStephan Bergmann
...which reveals that some uses are not derived from XEventListener, so re- introduce BaseMutexHelper as an alternative (which originally got superseded by DisambiguationHelper in 09b546cf9c1d0d9f78066e70a0348c7678cdcb14 "Fix overloaded-virtual warning in canvas"). Change-Id: I1418370733b72526ec481b70fa69f03e7c28b7ce
2014-03-12Mark overriding BitmapCanvasBase class template member funs as SAL_OVERRIDEStephan Bergmann
...which reveals that SpriteCanvasBase is not derived from XBitmapCanvas, so split up BitmapCanvasBase (just XBitmap) and BitmapCanvasBase2 (plus XBitmapCanvas) and make IntegerBitmapBase directly abstract over those two as arguments. Change-Id: Ieae87fe466bb9f1a861c8a95162ef25235ae5799
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-25Remove visual noise from canvasAlexander Wilms
Change-Id: I0f01a4064ab6d1f55647ecdc1a8710e289e5d96c
2014-02-23Remove unneccessary commentsAlexander Wilms
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-21vcl: sal_Bool -> boolStephan Bergmann
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-14Drop unused #includeTakeshi Abe
Change-Id: Id05440ffb8eb9990d2d08f721d6914f3dbc86cab
2014-02-11coverity#706253 Uncaught exceptionCaolán McNamara
Change-Id: Id55f2ae36c03db59011ce11538fd45d9e909d5c0
2014-02-11coverity#706250 Uncaught exceptionCaolán McNamara
Change-Id: I862f30149c46869ad8cb973442a1818af8e9031f
2014-02-11coverity#1103731 Uncaught exceptionCaolán McNamara
Change-Id: Ia56720a1dbc209b048cb9285266e8d897b37cf29
2014-01-31cairo canvas: Zero font's width means "the same as height".Jan Holesovsky
Change-Id: I1d24b2039fb3c615e672189d12c77e960cc858ee
2014-01-22bool improvementsStephan Bergmann
Change-Id: Ic02ccfcadc1a82f489280304ce1180c86aaa3a63
2014-01-16Add missing include.Matúš Kukan
Change-Id: I9e32df45b44513562202f9e453138f54c1d2abe8
2014-01-16fdo#54938: Convert canvas to cppu::supportsServiceMarcos Paulo de Souza
Final part Change-Id: I5ff8e4aacf7be7c0cb1eab520f01cc312143641e
2014-01-14longparas: drop wrong xub_StrLen casts nowCaolán McNamara
Change-Id: I720b921367ad810e3d775155535c1e05ab5f6f2c
2014-01-10Be explicit when using bool as integral valueStephan Bergmann
Change-Id: I3a6b9df9b1b6c48d5db506942d651f66cefdaa18
2013-12-18vcl get rid of xub_StrLen and STRING_LEN in outdev3Norbert Thiebaud
a new log section (sal.rtl.xub) is used to display alert in case of suspicious len == 0xFFFF (aka STRING_LEN) Change-Id: I3ed2aa7896e12592be9e003580dd6c8eda4add5e Reviewed-on: https://gerrit.libreoffice.org/7117 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-17Remove unnecessary use of OUString constructor in + expressionsNoel Grandin
Convert code like aFilename = OUString::number(nFilePostfixCount) + OUString(".bmp"); to aFilename = OUString::number(nFilePostfixCount) + ".bmp"; Change-Id: I03f513ad1c8ec8846b2afbdc67ab12525ed07e50
2013-11-29Revert "add dummy oglcanvas::SpriteCanvas::copyRect so this compiles..."Thorsten Behrens
With the XCanvas / XBitmapCanvas revert in, this can go, too. This reverts commit f0d93fab3eaad5865feb5895e542e8947c866aef.
2013-11-28add dummy oglcanvas::SpriteCanvas::copyRect so this compiles...Michael Stahl
Change-Id: I5c6986b4c765c8328cacb84ce84cc99eb6871d0a
2013-11-27cairo canvas: Line dashing size depends on the line width.Jan Holesovsky
Change-Id: I6a3f563b6effd37b448ec3e8463a87879e0566d4
2013-11-20Windows: Require at least Windows XP SP2Thomas Arnhold
* Windows XP SP2 is 0x0502, see http://msdn.microsoft.com/en-us/library/aa383745.aspx * If a module changes the Windows SDK version setting, this is done module wide now. So the overall behavior is as before. This seems to be the best compromise for now. * We need at least SP2 because of the bluetooth stuff used in sd/source/ui/remotecontrol. * Now, we require at least Internet Explorer 7.0. IE6 has been outdated for a long time. * Leave StdAfx.h file definitions, as those are Microsoft project specific precompiled header files. * All local definitions of WINVER are removed, because the global WINVER setting makes them obsolete now. To the relation of the three macros: Setting _WIN32_WINNT sets WINVER and NTDDI_VERSION automatically to the same value as _WIN32_WINNT. WINVER and NTDDI_VERSION can be set idenpendently each for itself. Change-Id: Ibcc12493aae4fcaf7bcfda88be99c1b61bc326cb Reviewed-on: https://gerrit.libreoffice.org/6496 Reviewed-by: Thorsten Behrens <thb@documentfoundation.org> Tested-by: Thorsten Behrens <thb@documentfoundation.org>
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-11canvas: include <> for external includesNorbert Thiebaud
Change-Id: I63f1fe2f1dfc65b3e50e03e1d2ebb6256560bd5c
2013-11-11remove unnecessary use of OUString constructorNoel Grandin
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-11-05fixincludeguards.sh: canvasThomas Arnhold
Change-Id: I2fb527c2cb5814b15862144baf3783d226e675ef
2013-11-04remove redundant calls to OUString constructorNoel Grandin
Change code like this: aStr = OUString("xxxx"); into this: aStr = "xxxx"; Change-Id: I31cb92e21658d57bb9e14b65c179536eae8096f6
2013-10-31Resolves: #i123433# Detect pseudo-vertices at svg import...Armin Le Grand
unify svg:d handling, correct svg:d import for relative sub-polygons in svg import; changed default for moveto writes for svg:d in ODF to absolute (cherry picked from commit f15874d8f976f3874bdbcb53429eeefa65c28841) Conflicts: basegfx/inc/basegfx/polygon/b2dpolygontools.hxx basegfx/inc/basegfx/polygon/b2dpolypolygontools.hxx basegfx/inc/basegfx/polygon/b3dpolypolygontools.hxx basegfx/source/polygon/b2dpolypolygontools.cxx basegfx/source/polygon/b2dsvgpolypolygon.cxx basegfx/source/polygon/b3dpolypolygontools.cxx basegfx/source/tools/makefile.mk basegfx/test/boxclipper.cxx basegfx/test/clipstate.cxx basegfx/test/genericclipper.cxx canvas/source/tools/surfaceproxy.cxx sdext/source/pdfimport/tree/drawtreevisiting.cxx sdext/source/pdfimport/tree/writertreevisiting.cxx xmloff/inc/xexptran.hxx xmloff/source/draw/XMLImageMapContext.cxx xmloff/source/draw/XMLImageMapExport.cxx xmloff/source/draw/shapeexport2.cxx xmloff/source/draw/shapeexport3.cxx xmloff/source/draw/xexptran.cxx xmloff/source/draw/ximp3dobject.cxx xmloff/source/draw/ximpshap.cxx xmloff/source/style/MarkerStyle.cxx xmloff/source/text/XMLTextFrameContext.cxx xmloff/source/text/txtparae.cxx Change-Id: I5171b4a3559ea116bea45152e1f2685666463635
2013-10-28fixincludeguards.sh: canvasThomas Arnhold
Change-Id: I5b17411c58e5c5ae7b473d263fa5e4ee97ff35c8
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-22missing headersCaolán McNamara
Change-Id: I62a0e0d4d1d297c8faf1b684d845a630aa3a1a81
2013-10-12What we actually want to check here is HAVE_FEATURE_X11Tor Lillqvist
Change-Id: Id3f695f4b8dce4ace558c6d791488e8b6efd1c54
2013-10-11CID#1103749 unintialized memberCaolán McNamara
Change-Id: I33f92b9fc6adc6fabc9732c4e62e7331e0baba25
2013-10-09oglcanvas: OUString cleanupThorsten Behrens
Change-Id: If37ea29ba239c0affd8e5777c82db755ee03f1c2
2013-10-08oglcanvas: ship comp registration, return device window.Thorsten Behrens
Change-Id: I6c7e9416f908fd3b903eaef82492c1f4445b4e0c
2013-10-08-Werror,-Wunused-private-fieldStephan Bergmann
Change-Id: Ie8aaab5fb6042c4845cb5355db2ee1a1c66d9d92
2013-10-07only build openGL canvas when libGL supports shaderChristian Lohmaier
and disable for Mac until code is adjusted to compile Change-Id: I48c69962ae5e59ae3bdd35d343deeeffdde6e903 Reviewed-on: https://gerrit.libreoffice.org/6160 Reviewed-by: Thorsten Behrens <thb@documentfoundation.org> Tested-by: Thorsten Behrens <thb@documentfoundation.org>
2013-10-07We're still stuck with boost::unordered_mapStephan Bergmann
Change-Id: If6d59fefd35541a53405dab13188a217c48ad52c