Commit graph

1225 commits

Author SHA1 Message Date
Takeshi Abe
6749dcc154 removed duplicate includes in basic / canvas / chart2 / comphelper 2012-03-26 22:39:42 +09:00
Luboš Luňák
66ff55f8c6 compile these with exceptions again
a13a88bd2c changes them to build
without exceptions by mistake, causing a boost problem
2012-03-17 21:52:46 +01:00
Thorsten Behrens
ccd8e23b4d Add missing component file for canvas. 2012-03-16 19:23:02 +01:00
Thorsten Behrens
eb4f96c988 Cleanup formatting in cairocanvas
White-space changes - code was in parts unreadable after tab/spaces
conversion. While at it, removed a few lines of commented-out code.
2012-03-16 17:02:23 +01:00
Thorsten Behrens
80fe015a86 Add COMPHELPER_SERVICEDECL_EXPORTS* back in, after libmerge changes
Did I mention I hate boilerplate copied all over the place? ;)
2012-03-16 17:02:23 +01:00
Thorsten Behrens
3f5efa1e76 Use transparency for gradients fdo#45219
vclcanvas has 1bpp alpha - so cut-off transparency at 98%
This looks for all practical cases close enough to full alpha.
2012-03-16 17:02:22 +01:00
Thorsten Behrens
4b475f31eb Return proper transparency value even for ignore_color.
Rather unexpectedly, calling setupOutDevState() with IGNORE_COLOR
does not return a proper transparency, but null. Fixed now.
2012-03-16 17:02:22 +01:00
Thorsten Behrens
024d661424 Make sure mask is rendered opaque in vclcanvas. 2012-03-16 17:02:21 +01:00
Thorsten Behrens
315d82d741 Remove nasty xor hack for non-Mac vclcanvas
This nowadays really is a pessimization.
2012-03-16 17:02:21 +01:00
Thorsten Behrens
50309b9574 Another partial fix for fdo#45219
Make sure transparent polygons really only cover the polygonal area,
not the whole bounding box for sprites.
2012-03-16 17:02:21 +01:00
Thorsten Behrens
83114b27fa Consistent use of alpha in cairocanvas
Use GetIndex() instead of GetBlue() (does the same, but more
self-documenting); use opaque when no alpha channel consistently.
2012-03-16 17:02:20 +01:00
Michael Stahl
a13a88bd2c fdo#47246: canvas: split out static library directxcanvas 2012-03-14 21:08:48 +01:00
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
Matúš Kukan
84b3f7b345 gbuild: get rid of realpath in gb_Foo_set_include 2012-03-10 21:23:20 +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
David Tardon
48453f3d5d mark parameter as unused 2012-02-17 18:46:59 +01:00
David Tardon
b24c4e7461 remove unused variable 2012-02-17 18:46:59 +01:00
Elton Chung
dac6e46f29 Remove unused code 2012-02-13 16:21:42 +00:00
Carsten Niehaus
40cddfce8b Removing one obsolte GNUC check for GCC < 4.0.1
See https://bugs.freedesktop.org/show_bug.cgi?id=45131
2012-02-10 10:56:13 +01:00
Josh Heidenreich
8b9615be88 Added (and improved) READMEs for modules which used to be in libs-gui 2012-02-08 07:46:57 +01:00
Thorsten Behrens
efbe3f6490 Remove obsolete quirk for text rotation.
With 800806ba85 matrix decompose
returns the correct angle right away, no need to catch it here.
2012-02-07 15:41:55 +01:00
Norbert Thiebaud
c857dff7fc switch to include-based build rather than sourced-based build 2012-02-05 19:34:05 -06:00
Norbert Thiebaud
69b6ca8ed5 Eliminate un-used DIRECTX5 2012-02-05 19:34:02 -06:00
David Tardon
4ecc4a91e1 remove duplicate include 2012-02-01 06:07:22 +01:00
David Tardon
4f6a5040db the depth argument must be >= 0 2012-02-01 06:07:21 +01:00
David Tardon
259e0dfc29 transparency gradient effect fade in is wrong (fdo#45219) 2012-01-25 13:12:04 +01:00
David Tardon
f933735c1c make slide transitions work 2012-01-24 12:36:36 +01:00
Caolán McNamara
6008c3f547 WaE: unused i 2012-01-13 09:06:01 +00:00
Thorsten Behrens
ea1ce3c630 Kill unused macro in canvas. 2012-01-09 18:59:51 +01:00
Thorsten Behrens
53ec7e3b2c Avoid pointless const_cast, use getConstArray in all cases.
Another code-review follow-up fix from fdo#44533 - don't use
Sequence::getArray, that tends to create a new copy everytime you
call.
2012-01-09 18:38:09 +01:00
Thorsten Behrens
c85142eb63 Fix more incorrect iterator re-use.
Follow-up fix for 540963d879
std::algos use iterator arguments by value, and may change them.
2012-01-09 18:37:52 +01:00
julien2412
540963d879 Fix crash when play particular presentation with sound
This fixes fdo#44533.
2012-01-09 18:37:33 +01:00
Michael Stahl
52394ea0f9 canvas: work around NOMINMAX windows breakage 2012-01-04 18:39:53 +01:00
Matúš Kukan
b769901d5a unusedcode: remove various unused classes 2011-12-22 15:33:50 +01:00
Caolán McNamara
5c1dc778d6 remove some unused code 2011-12-22 10:46:58 +00:00
Jesse
6a8f6c4b13 Removed extra semicolons 2011-12-15 16:38:50 +00:00
Caolán McNamara
59bf1b583f regpathhelper: unused, so we've got to have two of them 2011-12-14 09:52:49 +00:00
Bjoern Michaelsen
2acd8fbac9 in modules, when we have a env we are in stage gbuild 2011-12-07 15:53:06 +01:00
Caolán McNamara
b6e200a2be fix annoying debugging-mode crash 2011-12-06 10:33:05 +00:00
Lior Kaplan
e10fc18fb2 typo fix: explicitely -> explicitly 2011-12-01 23:41:42 +02:00
Takeshi Abe
7113c7152d catch by constant reference 2011-11-30 11:27:42 +09:00
Bjoern Michaelsen
d73e574d8a move reconfigure into gbuild 2011-11-29 17:25:14 +01:00
Norbert Thiebaud
c0bed9c72e remove precompiled_xxx.hxx/cxx 2011-11-27 18:07:55 -06:00
Norbert Thiebaud
3f2ff54778 remove pch from the include list 2011-11-27 15:24:45 -06:00
Norbert Thiebaud
24c0f87615 remove include of pch header in canvas 2011-11-27 12:57:22 -06:00
Norbert Thiebaud
992757cc5e remove pre-compiled header support in gbuild and gbuildified module 2011-11-27 11:49:38 -06:00
Bjoern Michaelsen
f2f0dbd273 make gbuild makefiles run independant of pwd again 2011-11-25 12:04:40 +01: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