Commit Graph

28 Commits

Author SHA1 Message Date
Stephan Bergmann
6ac0e1399a Remove silly PUT_SEMICOLON_AT_THE_END
...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-07 17:27:39 +02:00
Noel Grandin
5babf1b903 remove unnecessary scope qualifier from sal_Bool uses
i.e. convert "::sal_Bool" to "sal_Bool"

Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-04-03 13:54:02 +02:00
Stephan Bergmann
362d4f0cd4 Explicitly mark overriding destructors as "virtual"
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-01 19:22:54 +02:00
Stephan Bergmann
70cc2b191b First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-26 16:39:26 +01:00
Stephan Bergmann
268be3ac88 Mark overriding DisambiguationHelper class template mem funs as SAL_OVERRIDE
...which reveals that some uses are not derived from XEventListener, so re-
introduce BaseMutexHelper as an alternative (which originally got superseded by
DisambiguationHelper in 09b546cf9c "Fix
overloaded-virtual warning in canvas").

Change-Id: I1418370733b72526ec481b70fa69f03e7c28b7ce
2014-03-12 16:24:39 +01:00
Stephan Bergmann
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
Thomas Arnhold
07fc8122f4 fixincludeguards.sh: canvas
Change-Id: I2fb527c2cb5814b15862144baf3783d226e675ef
2013-11-05 09:28:51 +01:00
Thomas Arnhold
bb142943a3 fixincludeguards.sh: canvas
Change-Id: I5b17411c58e5c5ae7b473d263fa5e4ee97ff35c8
2013-10-28 15:16:18 +01:00
Luboš Luňák
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).

Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
Michael Meeks
60337134e4 re-base on ALv2 code. Includes:
linecap: Reintegrating finished LineCap feature
    Patch contributed by Regina Henschel
    http://svn.apache.org/viewvc?view=revision&revision=1232507

    disable extended linecap API for now.

    gnumake4 work primarily from Mathias Bauer
    http://svn.apache.org/viewvc?view=revision&revision=1394326

    misc. dead code cleanups
    Patch contributed by Ariel Constenla-Haile
    http://svn.apache.org/viewvc?view=revision&revision=1204995
    http://svn.apache.org/viewvc?view=revision&revision=1207270
2012-10-08 11:36:37 +01:00
Lior Kaplan
e10fc18fb2 typo fix: explicitely -> explicitly 2011-12-01 23:41:42 +02:00
Thorsten Behrens
09b546cf9c Fix overloaded-virtual warning in canvas
With enabled -Woverloaded-virtual gcc warning (see
http://lists.freedesktop.org/archives/libreoffice/2011-March/009567.html),
canvas exposed a nasty clash between WeakComponentImplHelper::disposing
and XEventListener::disposing. Fixed by overriding *once* in baseclass,
and then calling disambiguated, renamed methods.
2011-04-08 16:47:25 +02:00
Sebastian Spaeth
4905a19032 Add vim/emacs modelines to all source files
Fixes #fdo30794
Based on bin/add-modelines script (originally posted in mail
1286706307.1871.1399280959@webmail.messagingengine.com)

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
2010-10-14 17:02:15 +02:00
thb
ce1a6f9141 Merge DEV300_m75
* resolved two conflicts caused by lineend changes in
   canvashelper_texturefill.cxx and implrenderer.cxx. Took the cws
   version, which uses new texture fill semantics, and fixes clipping
   bug
 * binned file header changes from head for deleted files
2010-03-31 14:57:58 +02:00
Jens-Heiner Rechtien
8764506704 changefileheader2: #i109125#: change source file copyright notice from Sun Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision) 2010-02-12 15:01:35 +01:00
thb
1837a267a2 #i105937# Much improved gradient support for canvas/basegfx/drawinglayer.
See http://blog.thebehrens.net/2009/07/28/hackweek-iv-canvas-convwatch/ for more background information
2009-10-16 00:43:16 +02:00
Kurt Zenker
66db37c9e1 INTEGRATION: CWS canvas05 (1.10.56); FILE MERGED
2008/06/09 12:51:48 thb 1.10.56.6: #i88081# Join from CWS impress144 (fixing the dxcanvas crash), extended for the other canvas impls
2008/04/21 07:28:07 thb 1.10.56.5: RESYNC: (1.11-1.12); FILE MERGED
2008/04/09 14:33:12 thb 1.10.56.4: Gave back vclcanvas the window surface; made cairocanvas consistent with rest (regarding setWindow)
2007/12/20 22:19:00 thb 1.10.56.3: #i81092# #i78888# #i78925# #i79258# #i79437# #i84784# Large canvas rework, completing various areas such as color spaces, bitmap data access, true sprite and non-sprite implementations, and upstreaming the canvas parts of rodos emf+ rendering
2007/11/06 12:37:04 thb 1.10.56.2: RESYNC: (1.10-1.11); FILE MERGED
2007/10/01 13:02:04 thb 1.10.56.1: #i78888# #i78925# #i79258# #i79437# Merge from CWS picom
2008-06-24 10:02:39 +00:00
Rüdiger Timm
cbba2c25c3 INTEGRATION: CWS changefileheader (1.11.24); FILE MERGED
2008/03/28 16:35:17 rt 1.11.24.1: #i87441# Change license header to LPGL v3.
2008-04-11 08:58:55 +00:00
Jens-Heiner Rechtien
1e18bcce01 INTEGRATION: CWS thbpp9_SRC680 (1.10.58); FILE MERGED
2007/10/17 21:14:36 thb 1.10.58.1: #i82485# Carry clips along, also for XCachedPrimitive repaints
2007-11-01 13:43:16 +00:00
Kurt Zenker
c1a79d861a INTEGRATION: CWS presfixes09 (1.9.32); FILE MERGED
2006/10/20 11:40:40 thb 1.9.32.5: #i10000# Removed post-merge compiler warnings; removed spurious semicolon after macro
2006/04/25 12:53:54 thb 1.9.32.4: #i63943# Handling probe construction special
2006/03/08 18:00:04 thb 1.9.32.3: #i49357# Now also providing the C lib entry points again
2006/03/07 15:08:03 thb 1.9.32.2: #i49357# Adapted to recent XWindow vs. XWindowListener changes; using dbo's new ServiceDecl goodness
2006/03/06 22:49:01 thb 1.9.32.1: #i49357# Reworked canvas/window association (canvas is now window-listener, and exposes the associated window via a property)
2006-12-13 13:48:53 +00:00
Kurt Zenker
0565f6b78e INTEGRATION: CWS canvas02 (1.7.4); FILE MERGED
2005/10/19 13:47:18 thb 1.7.4.5: #i48939# Adapted to GraphicDeviceBase changes; add screen dump facility; now providing the sprite bounds debug feature as a public property
2005/10/08 12:57:00 thb 1.7.4.4: RESYNC: (1.7-1.8); FILE MERGED
2005/07/21 14:52:49 thb 1.7.4.3: #i48939# Factored out round up/down to integer; removed backend specific methods from base Sprite interface; removed updateScreen overwrite from SpriteCanvasBase (too much backend specifics need to be passed to HW canvases); now passing the target OutputDevice directly via Sprite::redraw() method in VCL canvas; made XFont -> impl font conversion dynamic cast, too; removed the getSpriteTargetSurface crap from SpriteCanvas
2005/07/03 20:25:18 thb 1.7.4.2: #i48939# Reworked ParametricPolyPolygon, to extract state in an atomic operation; added more state checking 'isXDirty()' methods to canvascustomspritehelper; added various comments and notes
2005/06/17 23:49:52 thb 1.7.4.1: #i48939# Huge refactoring of canvas; as much functionality as possible is now common in a bunch of shared base classes (input checking, locking, sprite redraw, etc.); added scroll update optimization, transparently to all canvas implementations
2005-11-02 12:04:27 +00:00
Rüdiger Timm
8af2905a7f INTEGRATION: CWS ooo19126 (1.7.18); FILE MERGED
2005/09/05 17:27:17 rt 1.7.18.1: #i54170# Change license header: remove SISSL
2005-09-07 22:23:37 +00:00
Oliver Bolte
eb95efc03a INTEGRATION: CWS presfixes03 (1.6.2); FILE MERGED
2005/04/08 11:23:25 thb 1.6.2.1: #i36190# Sprite-transform support made it necessary to track update area also for moves (because the sprite size is no longer fixed, but can vary between the enqueuing of the sprite record and the actual repaint; slightly adapted getSpriteRect(), to match bounds actually attained during sprite transform
2005-04-18 08:12:52 +00:00
Rüdiger Timm
fd874452ef INTEGRATION: CWS presfixes02 (1.5.2); FILE MERGED
2005/03/14 16:03:09 thb 1.5.2.1: #i35136# #i36914# #i41113# #i44100# Merge from presfixes01 patches
2005-03-30 06:39:09 +00:00
Vladimir Glazounov
c8fd0cf2ac INTEGRATION: CWS presfixes01 (1.4.10); FILE MERGED
2005/02/16 11:14:15 fs 1.4.10.1: #i42558# drafts.com.sun.star.drawing/rendering/geometry moved to com.sun.star.*
2005-03-10 11:01:10 +00:00
Thorsten Behrens
f49af82484 #i38282#, #i37796# Added XWindow interface to sprite canvas. Via this interface, the VCL window notifies dependent canvases about visibility/size changes, which makes the VCL canvas react properly on window resizes 2004-12-02 11:41:49 +00:00
Rüdiger Timm
a72a833dd8 INTEGRATION: CWS presentationengine01 (1.2.2); FILE MERGED
2004/11/17 17:00:33 thb 1.2.2.7: #118514# Canvas module reorg
2004/08/27 18:46:18 thb 1.2.2.6: #110496# Adapted to recent canvas API changes (XSpriteCanvas::updateScreen and sprite clip semantics
2004/08/02 17:51:00 thb 1.2.2.5: #110496# Adapted to recent XCanvas API changes, streamlined and factored out common code with directxcanvas
2004/07/20 19:23:57 thb 1.2.2.4: #110496# Removed self-references to various interface implementations, along the lines, factored out common base implementation for all c++ canvases
2004/05/27 20:51:25 thb 1.2.2.3: #110496#
Added classification code to all TODO/HACK/FIXME comments.
There are four categories:
 - code quality (C)
 - performance (P)
 - missing functionality (F)
 - and missing/incomplete error handling (E)

Furthermore, every category has a severity number between
1 and 3 associated, where 1 is lowest and 3 highest
severity
2004/04/12 15:12:26 thb 1.2.2.2: #110496# Adaptions after canvas01 merge
2004/04/05 15:58:01 thb 1.2.2.1: Resync with canvas01 changes
2004-11-26 16:15:43 +00:00
Thorsten Behrens
6e89341b50 #110496# Merge from cws_srx645_canvas01: first working version of XCanvas UNO components, for now consisting of javacanvas.uno.jar, vclcanvas.uno and directxcanvas.uno (windows only) 2004-03-18 09:38:44 +00:00