Commit graph

1289 commits

Author SHA1 Message Date
Tor Lillqvist
3d70fe990d WaE: unused function 'unoCapeFromCap'
Change-Id: I21dc33e39da8f46379fad672a83e8fb8449a0ec4
2012-10-08 13:43:22 +03: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
Peter Foley
ffbcd1c8b4 fix canvas build with Win8 SDK
Change-Id: I17bd44ba8f5a6484d10bb64201ace8e030cf334d
Reviewed-on: https://gerrit.libreoffice.org/789
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-10-07 02:03:06 +00:00
David Tardon
9efdb4c02f add missing dep on o3tl
Change-Id: Ib188836d0359491b556f16c0a5b22dbe1104e56f
2012-10-06 15:06:35 +02:00
David Tardon
e60b346a30 drop unused #include
Change-Id: I55b5815feb5674c830993440027c9f3fbbf1ec02
2012-10-06 15:06:35 +02:00
Arnaud Versini
36a2db3722 Replace usage of rtl_*Memory with equivalent from string.h
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159
Reviewed-on: https://gerrit.libreoffice.org/734
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-10-01 18:48:05 +00:00
Michael Stahl
5032dc0fc3 gbuild: invert handling of standard system libraries:
Always link in gb_STDLIBS, except when the library explicitly opts out
with gb_LinkTarget_disable_standard_system_libs.

Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28 16:49:08 +02:00
Michael Stahl
dc397aae70 gbuild: gb_Library_PLAINLIBS_NONE cleanup for WNT:
add a new gb_LinkTarget_use_system_win32_libs to abstract different
linker options on MSVC and GCC.

Change-Id: Ic9bf2545f59bf7871e6fc06b290c486ddfbec03d
2012-09-28 16:49:08 +02:00
Michael Stahl
80374355ab gbuild: gb_Library_PLAINLIBS_NONE cleanup for unxgcc/solaris
Change-Id: Ia7f64bdd0fd81c5dcc08d828db4602b65e2da949
2012-09-28 16:49:08 +02:00
Michael Stahl
cee32aae39 gbuild: clean up Mac OS X framework handling:
There are currently 3 different mechanisms being used for frameworks,
which is of course intolerable so we invent a 4th one and standardize on
it:  gb_LinkTarget_use_darwin_frameworks

(This doesn't mean using add_libs or externals was wrong, it was just
inconsistent... and i don't see an obvious benefit of using externals here)

Change-Id: I5de9020402c87e7236c6a358c47f02fa56642d3d
2012-09-28 16:49:07 +02:00
Michael Stahl
78b59b8302 gbuild: clean up usage of weird x11_extensions module etc.
Move libraries using those headers to RepositoryExternal.mk and
also move pkg-config invocation to configure.

Change-Id: I17a240fcba83a98f3f248f15b34d245f941c62e2
2012-09-28 16:49:07 +02:00
Michael Stahl
b85c349783 gbuild: replace direct gb_STDLIBS use with ...
... new gb_LinkTarget_add_standard_system_libs

Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28 16:49:06 +02:00
Michael Stahl
2e677c3981 gbuild: split uwinapi out of gb_STDLIBS
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-28 16:49:05 +02:00
Caolán McNamara
6ab899e7cc some windows SetPosSizePixel->setPosSizePixel
Change-Id: I676284380e2aab7327f4ceb5e043aafb29aa555d
2012-09-28 08:48:42 +01:00
Norbert Thiebaud
750fc20611 replace remaining InterlockedCount() with inlined version
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c
Reviewed-on: https://gerrit.libreoffice.org/671
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-25 01:55:38 +00:00
Stephan Bergmann
9ac86f484b Improvement on previous commit, UCB clean up
* As UCB is only ever initialized with "Local"/"Office", remove this
  configuration vector completely.  The "create" ctor creates an instance
  internally initialized with those "Local"/"Office" keys.  Special (test) code
  can still instantiate an uninitialized one via plain createInstance.  And for
  backwards compatilibity process startup still ensures to create an initialized
  instance early, in case there is still code out there (in extensions) that
  later calls plain createInstance and expects to get the already-initialized
  (single) instance.

* XInitialization is an "implementation detail" of the UniversalContentBroker
  service, do not expose in XUniversalContentBroker.

* ucbhelper/configurationkeys.hxx is no longer needed and is removed.

* ucbhelper/contentbroker.hxx is an empty wrapper and is removed; however, that
  requires ucbhelper::Content constructors to take explicit XComponentContext
  arguments now.

* The only remaining code in ucbhelper/source/client/contentbroker.cxx is
  Android-only InitUCBHelper.  Is that relevant still?

Change-Id: I3f7bddd0456bffbcd13590c66d9011915c760f28
2012-09-14 18:24:49 +02:00
Radek Doulik
b65b4160bf fill whole polypolygon at once, so that fill rule is applied correctly
- fixes rest of n#759172

Change-Id: I6c2694bf8276337b7d1fa54a12867bfc2b658a23
2012-08-20 12:54:37 +02:00
Matúš Kukan
23461fcf80 unusedcode: SpriteCanvasHelper's methods
Change-Id: I24021fa1495a9fb48c1cb5f107d119031a4d1e87
2012-08-13 01:48:57 +02:00
Thomas Arnhold
49ad17e2b1 remove include comments and boxes
Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
2012-08-08 13:53:53 +02:00
Thomas Arnhold
d80174e6f1 remove some more eof noise
Change-Id: Ib13c0435d61e803220d5444c29c99cf670340008
2012-08-08 13:53:52 +02:00
Thomas Arnhold
34569eb28f drop bogus eof lines
Change-Id: Idda2852c3e96ce15fde75d5a95369ec50a012410
2012-08-07 13:45:27 +02:00
Caolán McNamara
d4b172b819 strip down UniString some more
Change-Id: Ibd749a70a7bbe8c1023edf7bd144aa6547147a12
2012-08-02 08:55:53 +01:00
Julien Nabet
5cfd4e9200 Reduce scope
Change-Id: Ifbfd8e4b7a549d0225229a60a12b1b346fc02828
2012-07-16 23:09:35 +02:00
Christophe JAILLET
3396c06c55 Use rtl_zeroMemory in place of rtl_fillMemory(..., 0)
Change-Id: Idd83f6340d13a1d7111d0d5a7268f1aa8bf5c09e
2012-07-11 12:31:49 +05:30
Michael Meeks
b95cfee03c fix fdo#51547: revert "Some cppcheck cleaning"
This reverts commit 2f804c94cd.
2012-07-04 16:08:13 +01:00
Takeshi Abe
30d3637516 removed unnecessary forward declarations of class
Change-Id: I0d6aad17c471b6edd584c668dc7ff054090c185c
2012-07-04 19:18:57 +09:00
Michael Meeks
fdda178d88 targetted improvement of UNO API includes / usage 2012-07-02 14:43:34 +01:00
Thomas Arnhold
bbac35af14 Remove unused header files
These were only referenced by Package_inc.mk...

Change-Id: Idc771477595b9d221f9f2003b293fdd1ba7e1588
2012-06-27 13:34:35 +02:00
Thomas Arnhold
6fcac7dfc4 Remove unused include files
Those never get included at any point in the code.

Change-Id: I17736e005635b9e57759cfc95176a99e7c5e8988
2012-06-27 13:34:23 +02:00
Michael Stahl
7b6b71ce14 remove bunch of obsolete looking .flt files
Change-Id: Ic3d45afca14d0bebfb6168b6cf6fc6c618754183
2012-06-22 22:39:33 +02:00
Luboš Luňák
ceb8b18f5b use generic names rather than specific algorithm names when scaling
The Lanczos scaling is of very good quality, but it's rather slow,
which can be very noticeable with large images, so it's not a very
good default for everything. And in general, it's not good to refer
to a specific algorithm when all one usually wants is fast/default/best.

Some of these changes are a bit of a guess between default/best,
but the general logic is that best should be used only for images
that won't be large or where the possible waiting does not matter.

Change-Id: I53765507ecb7ed167890f6dd05e73fe53ffd0231
2012-06-22 17:40:09 +02:00
Michael Meeks
9d088154b4 fix comment snafu 2012-06-19 18:10:49 +01:00
Michael Meeks
bdc909b07d re-base on ALv2 code. 2012-06-19 18:00:37 +01:00
David Tardon
012b43d571 fdo#30519 paint scrolled area from the right surface
This adds a way to test whether mpCompositeSurface contains the front
buffer image, so it can be used as a source in painting operations.
It means the mpCompositeSurface changed status from 'temporary' to
'persistent' (which it was anyway, from implementation POV :-)

Change-Id: Iee4fc7a97cd60e47d0abb148e7337f0b50cabb40
2012-06-18 10:55:31 +02:00
David Tardon
fb1d37b4ba OSL_TRACE -> SAL_INFO
Change-Id: Icc6f47cc76dfa6716fc44f6c1b5f1b11ba1443c6
2012-06-18 10:55:31 +02:00
Takeshi Abe
462935f367 removed unused forward declarations of class
Change-Id: I819d5b931c937ec52b14f60591546d1d86c38631
2012-06-16 22:09:38 +09:00
Jan Holesovsky
6d78c490b0 Get rid of GRADIENT_* defines, they conflict with Windows GDI types.
Change-Id: Ia0bc37f81b7213b20fc5093beb46d7a05b1ac931
2012-06-12 16:31:43 +02:00
Jan Holesovsky
9afb6e1e38 Use BMP_SCALE_LANCZOS instead of BMP_SCALE_INTERPOLATE.
Where we explicitly ask for better quality, use BMP_SCALE_LANCZOS, instead of
BMP_SCALE_INTERPOLATE.

Change-Id: I28ddf3290204532a8660e09ee9ab0949b6ce1c73
2012-06-05 11:28:07 +02:00
Norbert Thiebaud
4d20c0d589 targeted string re-work
Change-Id: I73abfa24f5bb7f25afddef820bb4725bf7cee359
2012-06-02 12:58:04 -05:00
Julien Nabet
2f804c94cd Some cppcheck cleaning
Change-Id: Id5be3a25fc66d2f7fcec8325491a23d6908021fc
2012-05-28 20:50:31 +02:00
Caolán McNamara
df34ccb01d remove unneeded include of boost/bind.hpp
Change-Id: I5a254459a491b9547530d8e312260dceed21f25c
2012-05-16 15:05:36 +01:00
Caolán McNamara
107f844781 Related: fdo#48961 don't crash on silly pixmap sizes
Change-Id: I43dbe846160d19b203ad6bed06e807d4fbf7ce56
2012-05-09 11:35:43 +01:00
Jordi Mallach
a393af6e91 Remove unused method canvas::tools::clipBlit 2012-05-03 17:01:40 +02:00
Caolán McNamara
810f4a007c rework callcatcher makefile to build subsequentcheck tests
Change-Id: Idda0262e62e42817b8c0502a38ee16913495233c
2012-05-01 14:18:42 +01:00
Julien Nabet
0992e5111f Some removing in cairocanvas
Change-Id: Idd08fd733670f4410349a45de882710b19a31f67
2012-04-30 19:50:19 +02:00
Bjoern Michaelsen
b1c3e8ae28 make gbuild the default assumption of build.pl
this removes dmake completely out of the build for migrated modules
build.pl now assumes modules to be gbuild, unless there is a
prj/dmake file

Change-Id: I674a036b182ee13c5ec093e83cb3d38133112d3b
2012-04-29 03:50:46 +02:00
Thorsten Behrens
8df3fdd635 Updated canvas readme to contemporary state of things. 2012-04-26 13:54:58 +02:00
Tor Lillqvist
6100fd22ff Add trolling comments 2012-04-26 14:32:18 +03:00
Caolán McNamara
2130b6aaa9 WaE: msvc2008 unused formal parameter 2012-04-26 09:36:21 +01:00
Michael Meeks
b0547b358b bomb out compilation of cairo canvas for mac or windows
This is to avoid unintended regressions based on configure options.
2012-04-23 17:00:11 +01:00