Commit Graph

36 Commits

Author SHA1 Message Date
Caolán McNamara
d6521b07f4 fix higher debug levels
Change-Id: I78a2b74a4e80018a8093457cb15a93d49c0ff8f3
2015-04-18 14:43:57 +01:00
Noel Grandin
71b809959b remove unnecessary use of void in function declarations
ie.
    void f(void);
becomes
    void f();

I used the following command to make the changes:

  git grep -lP '\(\s*void\s*\)' -- *.cxx \
    | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;'

and ran it for both .cxx and .hxx files.

Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
2015-04-15 11:47:12 +02:00
Noel Grandin
26ec80f47d loplugin:staticmethods
Change-Id: I33a8ca28b0c3bf1c31758d93238e74927bebde9c
2015-04-13 09:37:12 +02:00
Marcos Paulo de Souza
7e2b9fa213 Remove some useless tools/debug.hxx includes
Also remove the tools/solar.h included from tools/debug.hxx. The include of solar.h
header was necessary in some cases because of a macro or a typedef that was needed.

Change-Id: Ia6e15d5c2571c58c9e9138b0d0a7f08ae88053c9
Reviewed-on: https://gerrit.libreoffice.org/11075
Reviewed-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Tested-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
2014-08-22 16:33:18 -05:00
Stephan Bergmann
567ef6d578 Second batch of adding SAL_OVERRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-27 18:12:18 +01:00
Stephan Bergmann
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
Alexander Wilms
6f2691bb6c Remove visual noise from slideshow
Change-Id: I87d07afbffa9d4633ed31bdb88f2dad660c25a18
2014-02-25 21:22:48 +01:00
Alexander Wilms
0ce0c369aa Remove unneccessary comments
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-23 03:38:49 +00:00
Stephan Bergmann
a6ba5addb7 -Werror,-Wunused-member-function
Change-Id: Iefe2c50a8fbd6ab95a77856b3a65de9e6beacefe
2013-11-14 10:15:11 +01:00
Thorsten Behrens
21ec9beae2 XCanvas does no longer imply XBitmapCanvas
Remove the implication that XCanvas IS-A XBitmapCanvas, i.e. one can
access underlying pixels. That's a preparation for display-list based
canvas implementations, and was a rather silly assumption in the first
place.

Also fixes up all client sites.

Change-Id: I7a3d6f68ef46fe94b23cce7759cc0b8b6ca4dae9
2013-10-07 17:33:45 +02:00
Siqi LIU
22b1a83712 remove unused comment
Change-Id: I4076738c7186aeea2ab00a3d0424c86b7c005dbe
2013-08-23 11:22:39 +08:00
Siqi LIU
6aac349140 misc
Change-Id: I24736c4bd05644ed61e6df50f2267f6a2cd2f7f3
2013-08-23 11:18:29 +08:00
Michael Meeks
535e83550e re-base on ALv2 code. Includes:
Avoid some uses of non portable #!/bin/bash in shell scripts.
    Patch contributed by Pedro Giffuni
    http://svn.apache.org/viewvc?view=revision&revision=1235297
    remove redundant namespace, patch contributed Mathias Bauer
    http://svn.apache.org/viewvc?view=revision&revision=1162610
    removal of OS/2 port changes, and preferring our similiar
    tools/inc/tools/solar.h DLLPOSTFIX cleanup.
    i118595 - Removal of the use of getopt() from rscdep.
    Patch contributed by Andre Fische
    http://svn.apache.org/viewvc?view=revision&revision=1202270
2012-07-11 18:12:35 +01:00
Rob Snelders
912e36e911 Remove VERBOSE part 3 2012-04-10 13:37:11 +02:00
Thorsten Behrens
d32cf8d820 Clear whole layer in slideshow sprites fdo#45219
The clear() previously offsetted the topleft rect corner for sprites
by _the sprite topleft_ position, which is rather unhelpful but for
sprites located at (0,0).
2012-03-16 17:02:23 +01:00
Thorsten Behrens
b926611351 Clear sprites to white fdo#45219.
Another fix for a rendering glitch mentioned in fdo#45219 -
vclcanvas sadly does not properly implement compositing, so all-
black background yields dark shadows on semi-transparent objects.

Ultimately though, we should retire vclcanvas instead.
2012-03-16 17:02:22 +01:00
Norbert Thiebaud
05b879dabf remove include of pch header from slidewhow 2011-11-27 13:22:08 -06:00
Thomas Arnhold
c64a901829 Move OSL_ENSURE(false,...) to OSL_FAIL(...) 2011-03-12 14:13:33 +01:00
Sebastian Spaeth
80b0861510 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-13 10:57:43 +02:00
Vladimir Glazunov
e7fd3a40ed CWS-TOOLING: integrate CWS autorecovery 2010-03-23 11:58:14 +01:00
Armin Le Grand
c7ea93ac73 aw079: rebase to m75 2010-03-18 18:44:00 +01:00
Frank Schoenheit [fs]
2ee0a0a806 autorecovery: merged changes from m74. Still need to find out how to re-do two patches (to module_hidden_ooo.scp and file_ooo.scp in scp2/source/ooo) which do not apply anymore. 2010-03-11 11:26:05 +01:00
Jens-Heiner Rechtien
9e19ff00c7 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
Frank Schoenheit [fs]
7ffad11ac2 autorecovery: ENSURE_OR_RETURN => ENSURE_OR_RETURN_FALSE, added new ENSURE_OR_RETURN taking a return value 2010-01-29 08:49:42 +01:00
Armin Le Grand
6ecc93369b aw079: #i99147# attribute rework and others 2010-01-27 11:51:56 +01:00
Andre Fischer
69a4a545a5 #i48179# Debug: added descriptive strings to events. 2009-04-27 11:42:05 +00:00
Andre Fischer
3444422cc1 #i98806# Added IsSoundEnabled property to mute sound in some slide show views. 2009-03-24 13:53:29 +00:00
Jens-Heiner Rechtien
f7a9b6b5c3 CWS-TOOLING: integrate CWS impress163_DEV300 2008-11-20 14:55:36 +00:00
Vladimir Glazounov
f7566bb05d INTEGRATION: CWS aw033 (1.4.26); FILE MERGED
2008/07/11 11:38:20 aw 1.4.26.7: RESYNC: (1.7-1.8); FILE MERGED
2008/05/28 10:53:44 aw 1.4.26.6: #i39532# corrected clipping setup for slide when clipping is empty
2008/05/14 14:44:34 aw 1.4.26.5: RESYNC: (1.6-1.7); FILE MERGED
2007/12/18 15:00:24 aw 1.4.26.4: #i39532# corrected clipping changes
2007/12/12 13:25:05 aw 1.4.26.3: #i39532# clipping changes
2007/12/03 16:45:28 aw 1.4.26.2: RESYNC: (1.4-1.6); FILE MERGED
2007/11/22 15:11:24 aw 1.4.26.1: #i39532# polygon bezier changes
2008-08-19 23:07:51 +00:00
Kurt Zenker
49b63f95ad INTEGRATION: CWS canvas05 (1.4.18); FILE MERGED
2008/04/21 07:53:10 thb 1.4.18.4: RESYNC: (1.6-1.7); FILE MERGED
2008/01/22 00:53:30 thb 1.4.18.3: RESYNC: (1.5-1.6); FILE MERGED
2007/11/06 12:37:42 thb 1.4.18.2: RESYNC: (1.4-1.5); FILE MERGED
2007/10/01 13:49:11 thb 1.4.18.1: #i79258# Merge from CWS picom
2008-06-24 11:03:17 +00:00
Rüdiger Timm
775f09dda9 INTEGRATION: CWS changefileheader (1.6.24); FILE MERGED
2008/03/31 14:00:14 rt 1.6.24.1: #i87441# Change license header to LPGL v3.
2008-04-10 23:28:15 +00:00
Rüdiger Timm
d4fa9d0a3c INTEGRATION: CWS transogl01 (1.4.4); FILE MERGED
2007/10/10 12:02:30 thb 1.4.4.1: #i10000# WaE fixes; making verbose=t build work again
2007-11-09 09:16:50 +00:00
Jens-Heiner Rechtien
93955d7bbf INTEGRATION: CWS thbpp9_SRC680 (1.4.22); FILE MERGED
2007/10/17 21:01:29 thb 1.4.22.1: #i82485# Avoid unnecessary repaints
2007-11-01 13:46:46 +00:00
Vladimir Glazounov
422b1d24cc #i79802# SISSL remove 2007-07-20 04:30:21 +00:00
Vladimir Glazounov
213e1df7fa #i10000# percompiled header 2007-07-19 13:53:47 +00:00
Oliver Bolte
cfd7bf7f6e INTEGRATION: CWS presfixes12 (1.1.2); FILE ADDED
2007/05/10 20:32:39 thb 1.1.2.16: #i37778# Reworked LayerManager::updateShapeLayers - now much better aligned with general shape update, and avoids superfluous rendering; made unit tests work again; passing down slide background repaint status to LayerManager; relaxed preconditions for Shape::getUpdateArea() - no longer requires views to work; now catching singular view matrix and using sensible default at API border
2007/04/30 07:24:12 thb 1.1.2.15: #i37778# Added extra transformation query method, to account for the fact that sprite positioning and static shape positioning might have different offsets.
2007/04/16 09:40:03 thb 1.1.2.14: #i64783# Added generator script for effect test; fixed subtle issue with shapes missing a repaint when being set invisible and animated in the same update cycle; fixed container base node bug with indefinite state (both issues found with generated effects script)
2007/03/11 00:17:57 thb 1.1.2.13: #i37778# Necessary adaptions for cppcanvas clip behaviour (extra setClip()  methods to clear clip, instead of empty polygon, which denotes everything clipped on canvas); removed cyclic references for intrinsically animated shapes (GIF and drawing layer scroll text); fixed a few coding style inconsistencies
2007/03/05 13:47:07 thb 1.1.2.12: #i37778# Removed Activity::needsScreenUpdate() method - this is now handled by notifying ScreenUpdater explicitely; reorg of SlideShowImpl members, to align lifetime with mutual references; fixed (hopefully) last repaint issues with new LayerManager; added more tests
2007/02/25 01:10:24 thb 1.1.2.11: #i37778# Cleared up error handling a lot: no longer quenching RuntimeExceptions; reporting assertions in the debug case; ViewLayer  now reports resized sprite (which needs re-render from all shapes); fixed missing subset area reduction for glyph-level animations; added return of resize state from  Layer::commitLayerBounds(); adapted unit tests to corrected behaviour
2007/02/21 19:20:12 thb 1.1.2.10: #i37778# Parameter only used in debug build, added fake use
2007/02/21 13:44:10 thb 1.1.2.9: #i37778# Rounding ViewLayer transformation offset to integer pixel coordinates, to avoid ugly glyph jerking; found similar place where we rely on canvas doing sprite positioning on integer pixel
2007/02/20 22:41:15 thb 1.1.2.8: #i37778# Emulating old sprite behaviour to clear content on getContentCanvas() in AnimatedSprite; corrected handling of full and partial view clears; corrected layer update when shapes are added or removed
2007/02/13 14:33:12 thb 1.1.2.7: #i37778# Split up View::clear() into clear() and clearAll() method, to facilitate local, clip-region based slide updates
2007/02/12 02:14:51 thb 1.1.2.6: #i37778# Added workaround to have ViewLayer always return valid canvas (even if no size has been set); fixed silly reference-instead-of-byvalue bug in SlideAnimations for slide size; fixed member initialization order problem in SlideImpl (also affecting slide size); adapted shape import for new LayerManager (which no longer gracefully ignores addition of NULL shapes); extended unit tests to catch fixed bugs
2007/02/10 23:23:51 thb 1.1.2.5: #i37778# Renamed setMouseCursor() to setCursorShape() at View interface (name clash with API method otherwise); added LayerManager/Layer unit tests; fixed a bunch of bugs/glitches found during unit testing
2007/02/06 17:18:03 thb 1.1.2.4: #i37778# Moved clear() method from View to ViewLayer (also sprites need to be cleared); fixed a few more cases of local code style violations; removed redundant inline keywords; finished Layer/LayerManager rework (Layer now represents ViewLayers, shapes and rendering are fully under LayerManager control); made shape comparator reusable
2007/01/31 14:30:32 thb 1.1.2.3: #i37778# removed View::isContentDestroyed() and mbContentValid distinction on View::clear() - clear() now always clears view the hard way; added explicit screen update to CombTransition, which bypasses SlideChangeBase functionality
2007/01/30 16:43:49 thb 1.1.2.2: #i37778# Made view update/repaint/resize work again; swapped BackgroundShape parameters for correct mtf import
2007/01/29 14:01:56 thb 1.1.2.1: Issue number: #i37778#

Larger slideshow refactoring. Wrote design and coding style manifest,
and adapted the code to actually conform to this. In detail:
 - cleaned up ownership/disposable/weak_ptr story. removed hacks and
   explicit Disposable implementations, where workaround were available
 - removed object mutices, where superfluous
 - reworked EventMultiplexer (using templatized listener class now), added
   more events. EventMultiplexer now serves as a true blackboard
 - reworked directory structure: disjunct parts are now physically separated
   into directories, instantiation happens via factories & abstract interfaces
 - added CursorManager, to make setting mouse cursor less hackish
 - reworked DrawShape, to implement SeparateListener pattern
 - reworked IntrinsicAnimationActivity, to avoid cyclic references
 - modified hyperlink & shape cursor handling to communicate via
   EventMultiplexer
 - renamed & cleaned up files (presentation.cxx now named slideshowimpl.cxx,
   etc.)
 - added first version of the z-order fix to layer/layermanager
 - cleaned up include guards and include syntax
2007-07-17 13:41:02 +00:00