Commit graph

133 commits

Author SHA1 Message Date
Stephan Bergmann
6e67c03dc0 Enable -Wnon-virtual-dtor for GCC 4.6
...which has the necessary features to support it.

Change a lot of classes to either contain a protected non-virtual dtor
(which is backwards compatible, so even works for cppumaker-generated
UNO headers) or a public virtual one.

cppuhelper/propertysetmixin.hxx still needs to disable the warning, as
the relevant class has a non-virtual dtor but friends, which would still
cause GCC to warn.

Includes a patch for libcmis, intended to be upstreamed.
2012-03-14 13:32:02 +01:00
Elton Chung
ba8919e812 Remove unused code 2012-02-25 20:33:57 +00:00
Thorsten Behrens
2c7e061997 Fix fdo#45219 wrong transparency for animated objects.
With the attachement from said bug, and cairocanvas, sprites
are displayed multiple times above each other (which, for semi-
transparent sprites, lead to incorrect overall transparency)
2012-02-22 11:14:06 +01:00
Elton Chung
23af031b09 Fix typos in comments 2012-02-18 09:35:43 +00:00
Elton Chung
dac6e46f29 Remove unused code 2012-02-13 16:21:42 +00:00
David Tardon
4ecc4a91e1 remove duplicate include 2012-02-01 06:07:22 +01:00
Caolán McNamara
5c1dc778d6 remove some unused code 2011-12-22 10:46:58 +00:00
Lior Kaplan
e10fc18fb2 typo fix: explicitely -> explicitly 2011-12-01 23:41:42 +02:00
Stephan Bergmann
0c7bff0271 Changed sal/log.h -> sal/log.hxx, drop _S from C++ streaming log macros.
A compile time check ensures the common case of streaming just a plain
C-style string literal still produces reasonably compact call-site code.
The format-string variants are still available in sal/detail/log.h, but
only to be used in obsolete osl/diagnose.h etc., and going to be removed
again eventually.
2011-11-23 15:50:58 +01:00
Stephan Bergmann
70a6b9ffbd New sal/log.h obsoletes osl/diagnose.h and tools/debug.hxx.
* New SAL_INFO..., SAL_WARN... macros.
* New SAL_STREAM supersedes OSL_FORMAT.
* oustringostreaminserter.hxx moved from unotest to rtl (and always UTF-8 now).
* TODO to enable GCC __attribute__((format)) in sal/log.h (requires call-site
  cleanup).
* Further functionality in tools/debug.hxx (DBG_MEMTEST, DBG_CTOR, etc.) not yet
  addressed.
* Some replacements tools String -> rtl::OUString.
2011-11-22 09:41:47 +01:00
Thorsten Behrens
e563f1401a Removed weird VERBOSE overload in canvas
Now doing extra logging / graphical debug cues via OSL_DEBUG_LEVEL
of 3. Also saves some lines in makefiles.
2011-07-26 23:56:14 +02:00
Bjoern Michaelsen
941020379b Merge branch 'master' into feature/gnumake4
Conflicts:
	basebmp/prj/d.lst
	basebmp/test/basictest.cxx
	basebmp/test/makefile.mk
	basegfx/inc/basegfx/basegfxdllapi.h
	basegfx/inc/basegfx/tools/debugplotter.hxx
	basegfx/inc/basegfx/tuple/b2ituple.hxx
	basegfx/prj/d.lst
	basegfx/source/numeric/makefile.mk
	basegfx/source/polygon/makefile.mk
	basegfx/source/range/makefile.mk
	basegfx/source/raster/makefile.mk
	basegfx/source/tuple/makefile.mk
	basegfx/source/vector/makefile.mk
	basegfx/test/basegfx1d.cxx
	basegfx/test/makefile.mk
	basegfx/util/makefile.mk
	canvas/Library_canvasfactory.mk
	canvas/Module_canvas.mk
	canvas/prj/build.lst
	canvas/prj/d.lst
	canvas/source/cairo/cairo_canvashelper_texturefill.cxx
	canvas/source/cairo/makefile.mk
	canvas/source/tools/makefile.mk
	comphelper/qa/string/makefile.mk
	cppcanvas/Module_cppcanvas.mk
	cppcanvas/inc/cppcanvas/cppcanvasdllapi.h
	cppcanvas/prj/build.lst
	cppcanvas/prj/d.lst
	cppcanvas/source/mtfrenderer/makefile.mk
	cppcanvas/util/makefile.mk
	i18npool/source/search/makefile.mk
	regexp/Library_regexp.mk
	regexp/prj/d.lst
	sax/CppunitTest_sax.mk
	sax/Library_sax.mk
	sax/prj/d.lst
	sax/qa/cppunit/test_converter.cxx
	sax/source/expatwrap/attrlistimpl.hxx
	sax/util/makefile.mk
	svtools/Library_svt.mk
	tools/Executable_sspretty.mk
	ucbhelper/prj/d.lst
	ucbhelper/source/provider/configureucb.cxx
	ucbhelper/source/provider/provconf.cxx
	ucbhelper/util/makefile.mk
	unotools/Library_utl.mk
	unotools/Module_unotools.mk
	unotools/Package_inc.mk
	unotools/prj/build.lst
	vcl/Library_desktop_detector.mk
	vcl/Library_vcl.mk
	vcl/Library_vclplug_gtk.mk
	vcl/aqua/source/gdi/salprn.cxx
	vcl/inc/aqua/saldata.hxx
	vcl/unx/generic/gdi/salgdi3.cxx
2011-06-19 12:47:44 +02:00
Michael Stahl
ccbdbacc60 gnumake4: remove DOS lineendings from new dllapi files, add terminating newline [hg:6a190c99c8ff] 2011-06-17 01:20:56 +02:00
Mathias Bauer
8704e9fbb6 CWS gnumake4: convert canvas to new build system 2011-06-16 12:40:20 +02:00
Tor Lillqvist
05c950fe29 Fixes to make it compile on Windows 2011-05-30 19:57:45 +03:00
Bjoern Michaelsen
e86be178a8 restoring basemutexhelper.hxx
* got killed in 3cd302f4e5dd443670debfb9bbae7e3be1676ca6
* checked out from 7db45b251adf8588624fee439df3ae0629c6ac4f
2011-04-16 19:35:05 +02:00
Tor Lillqvist
92c19ff289 disposeEventSource should not be SAL_CALL 2011-04-11 11:23:44 +03: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
Thomas Arnhold
d86e9a3906 Move OSL_ENSURE(false,...) to OSL_FAIL(...) 2011-03-12 14:19:17 +01:00
Takeshi Abe
54b4213411 Replace all occured, occurance etc. 2010-12-05 19:05:55 +00:00
Kevin Hunter
e080757dc9 EasyHack: RTL macro converted from createFromAscii 2010-11-09 21:51:03 +01:00
Norbert Thiebaud
d88b292704 merge vosremoval-mutex.diff
In practice the changeset is 'inspired' by vosremoval-mutex.diff
but was essentially redone manually
2010-10-25 19:55:38 -05:00
Norbert Thiebaud
18a9a87a80 use SolarMutexGuard to guard the SolarMutex 2010-10-25 19:55:36 -05: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
Petr Mladek
1275d274db more removed include guards using fixguard.py 2010-10-05 18:21:30 +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
thb
b76532e1fb Fix dxcanvas gradient glitches
* moved common gradient step size code
   out to canvastools to share
 * reverted back to manual polygon rendering
   for anisotrophic rect and ellipse gradients
 * fixed tilemode==none case for bitmap fills
2010-02-19 01:13:34 +01: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
Thorsten Behrens
a73452e618 #i10000# To please SunCC, had to implement isAccelerated/getDeviceHandle on most derived device helper classes 2008-06-27 15:48:36 +00:00
Vladimir Glazounov
e42918e446 #i10000# buildbreak on solaris fixed 2008-06-27 14:42:31 +00:00
Kurt Zenker
c90e6850e8 #i10000 buildbreak on solaris 2008-06-27 13:10:37 +00:00
Kurt Zenker
e6fa7691f3 INTEGRATION: CWS canvas05 (1.2.112); FILE MERGED
2008/04/21 07:27:09 thb 1.2.112.2: RESYNC: (1.2-1.3); FILE MERGED
2007/10/01 13:02:01 thb 1.2.112.1: #i78888# #i78925# #i79258# #i79437# Merge from CWS picom
2008-06-24 09:15:39 +00:00
Kurt Zenker
f3694fbf84 INTEGRATION: CWS canvas05 (1.6.26); FILE MERGED
2008/04/21 07:27:06 thb 1.6.26.3: RESYNC: (1.6-1.7); FILE MERGED
2007/12/20 22:18:56 thb 1.6.26.2: #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/10/01 13:02:01 thb 1.6.26.1: #i78888# #i78925# #i79258# #i79437# Merge from CWS picom
2008-06-24 09:15:02 +00:00
Kurt Zenker
f8417b511a INTEGRATION: CWS canvas05 (1.1.2); FILE ADDED
2008/06/09 12:51:46 thb 1.1.2.3: #i88081# Join from CWS impress144 (fixing the dxcanvas crash), extended for the other canvas impls
2008/05/23 22:03:43 thb 1.1.2.2: Moving all remaining new files to LGPL 3
2007/12/20 22:18:56 thb 1.1.2.1: #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
2008-06-24 09:13:44 +00:00
Kurt Zenker
279faf7bf4 INTEGRATION: CWS canvas05 (1.2.112); FILE MERGED
2008/04/21 07:27:03 thb 1.2.112.2: RESYNC: (1.2-1.3); FILE MERGED
2007/10/01 13:02:01 thb 1.2.112.1: #i78888# #i78925# #i79258# #i79437# Merge from CWS picom
2008-06-24 09:13:17 +00:00
Kurt Zenker
4f3d63e10c INTEGRATION: CWS canvas05 (1.2.112); FILE MERGED
2008/04/21 07:26:57 thb 1.2.112.2: RESYNC: (1.2-1.3); FILE MERGED
2007/12/20 22:18:55 thb 1.2.112.1: #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
2008-06-24 09:12:58 +00:00
Kurt Zenker
bb9aae9e42 INTEGRATION: CWS canvas05 (1.6.112); FILE MERGED
2008/04/21 07:27:00 thb 1.6.112.2: RESYNC: (1.6-1.7); FILE MERGED
2007/10/01 13:02:00 thb 1.6.112.1: #i78888# #i78925# #i79258# #i79437# Merge from CWS picom
2008-06-24 09:12:25 +00:00
Kurt Zenker
abd0c71c35 INTEGRATION: CWS canvas05 (1.13.56); FILE MERGED
2008/04/21 07:26:54 thb 1.13.56.3: RESYNC: (1.13-1.14); FILE MERGED
2008/03/13 14:57:21 thb 1.13.56.2: Finishing touches to StdColorSpace; move cairocanvas to new color space mechanisms
2007/10/01 13:02:00 thb 1.13.56.1: #i78888# #i78925# #i79258# #i79437# Merge from CWS picom
2008-06-24 09:11:58 +00:00
Rüdiger Timm
d89f7a5474 INTEGRATION: CWS changefileheader (1.2.136); FILE MERGED
2008/04/01 10:49:26 thb 1.2.136.2: #i85898# Stripping all external header guards
2008/03/28 16:34:54 rt 1.2.136.1: #i87441# Change license header to LPGL v3.
2008-04-11 07:47:47 +00:00
Rüdiger Timm
a042f69d63 INTEGRATION: CWS changefileheader (1.2.136); FILE MERGED
2008/04/01 15:03:04 thb 1.2.136.2: #i85898# Stripping all external header guards
2008/03/28 16:34:54 rt 1.2.136.1: #i87441# Change license header to LPGL v3.
2008-04-11 07:47:11 +00:00
Rüdiger Timm
07ba82ab44 INTEGRATION: CWS changefileheader (1.3.80); FILE MERGED
2008/04/01 15:03:04 thb 1.3.80.2: #i85898# Stripping all external header guards
2008/03/28 16:34:54 rt 1.3.80.1: #i87441# Change license header to LPGL v3.
2008-04-11 07:46:55 +00:00
Rüdiger Timm
d656ff427a INTEGRATION: CWS changefileheader (1.2.136); FILE MERGED
2008/04/01 15:03:04 thb 1.2.136.3: #i85898# Stripping all external header guards
2008/04/01 10:49:26 thb 1.2.136.2: #i85898# Stripping all external header guards
2008/03/28 16:34:54 rt 1.2.136.1: #i87441# Change license header to LPGL v3.
2008-04-11 07:46:04 +00:00
Rüdiger Timm
ae32493e4f INTEGRATION: CWS changefileheader (1.3.108); FILE MERGED
2008/04/01 10:49:26 thb 1.3.108.2: #i85898# Stripping all external header guards
2008/03/28 16:34:53 rt 1.3.108.1: #i87441# Change license header to LPGL v3.
2008-04-11 07:45:32 +00:00
Rüdiger Timm
844c8ecf05 INTEGRATION: CWS changefileheader (1.3.80); FILE MERGED
2008/04/01 15:03:03 thb 1.3.80.3: #i85898# Stripping all external header guards
2008/04/01 10:49:25 thb 1.3.80.2: #i85898# Stripping all external header guards
2008/03/28 16:34:53 rt 1.3.80.1: #i87441# Change license header to LPGL v3.
2008-04-11 07:45:17 +00:00
Rüdiger Timm
e0f9eda257 INTEGRATION: CWS changefileheader (1.4.50); FILE MERGED
2008/04/01 19:54:51 thb 1.4.50.4: #i85898# Stripping all external header guards, now manually fixing misspelled ones and other compile-time breakage
2008/04/01 15:03:03 thb 1.4.50.3: #i85898# Stripping all external header guards
2008/04/01 10:49:25 thb 1.4.50.2: #i85898# Stripping all external header guards
2008/03/28 16:34:53 rt 1.4.50.1: #i87441# Change license header to LPGL v3.
2008-04-11 07:44:55 +00:00
Rüdiger Timm
44ee6a05c4 INTEGRATION: CWS changefileheader (1.2.136); FILE MERGED
2008/04/01 10:49:25 thb 1.2.136.2: #i85898# Stripping all external header guards
2008/03/28 16:34:53 rt 1.2.136.1: #i87441# Change license header to LPGL v3.
2008-04-11 07:44:22 +00:00
Rüdiger Timm
9c81b2deaf INTEGRATION: CWS changefileheader (1.6.50); FILE MERGED
2008/04/01 15:03:03 thb 1.6.50.3: #i85898# Stripping all external header guards
2008/04/01 10:49:25 thb 1.6.50.2: #i85898# Stripping all external header guards
2008/03/28 16:34:53 rt 1.6.50.1: #i87441# Change license header to LPGL v3.
2008-04-11 07:44:08 +00:00
Rüdiger Timm
b21da45a40 INTEGRATION: CWS changefileheader (1.3.50); FILE MERGED
2008/04/01 15:03:03 thb 1.3.50.3: #i85898# Stripping all external header guards
2008/04/01 10:49:25 thb 1.3.50.2: #i85898# Stripping all external header guards
2008/03/28 16:34:53 rt 1.3.50.1: #i87441# Change license header to LPGL v3.
2008-04-11 07:43:17 +00:00
Rüdiger Timm
674e9a160d INTEGRATION: CWS changefileheader (1.3.50); FILE MERGED
2008/04/01 15:03:02 thb 1.3.50.3: #i85898# Stripping all external header guards
2008/04/01 10:49:25 thb 1.3.50.2: #i85898# Stripping all external header guards
2008/03/28 16:34:53 rt 1.3.50.1: #i87441# Change license header to LPGL v3.
2008-04-11 07:43:01 +00:00