1427 Commits

Author SHA1 Message Date
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 2f804c94cdaaa9ac047f229509c774dbea1dbcaa.
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
Tor Lillqvist
5d369a2ca7 Nah, don't obscure the right type with void* 2012-04-15 11:56:48 +02:00
Tor Lillqvist
83ba7b4e8f Copy and adapt current state of Norbert's CoreText work for iOS
Compiles, but I obviously have no idea how it works yet.

Yes, eventually we should factor out common parts from the iOS and
MacOSX code.
2012-04-15 11:56:47 +02:00
Thomas Arnhold
7a18848e14 unusedcode.easy: remove various methods 2012-04-12 12:35:48 +02:00
Radek Doulik
f0a5e147eb add .5 to control points coordinates after transformation
- otherwise we might end up with wrong coordinates
 - fixes fdo#38580
2012-04-12 10:07:35 +02:00
Gábor Stefanik
c73f01822c Remove unused constructor for ParametricPolyPolygon 2012-04-10 14:15:34 +01:00
Julien Nabet
161fb1781b Remove canvas::tools::calcRectToRectTransform 2012-04-09 13:45:35 +02:00
Szabolcs Dezsi
e4fb171d3a Replaced a few equal calls with == 2012-04-08 19:24:00 +02:00
Michael Stahl
4c50f23f87 LinkTarget.mk: remove gb_LinkTarget_add_package_headers 2012-04-08 01:05:53 +02:00
Michael Stahl
c923f7d2c2 gbuild: "use" vs. "add":
Naming convention for gbuild methods:
- "add" is used for stuff that is logically a part of the target
  (i.e. not registered at the Module, but defined in the target's makefile)
- "use" is used for stuff that is logically a different target
  (i.e. it is registered at the Module, has it's own makefile, may be
  in a different module than the target)
2012-04-08 01:05:52 +02:00
Szabolcs Dezsi
d6bc02f8c4 Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator 2012-04-06 20:03:42 +02:00
Szabolcs Dezsi
743f22045c Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
2012-04-06 15:07:41 +02:00
Szabolcs Dezsi
f770c5d6bc Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operator
Pattern used:

find . -name "*.cxx" -exec sed -i 's/\( *\)return \([^()]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\) ) *);/\1return \2 == \3;/' \{\} \;
2012-04-06 12:48:32 +02:00