Commit Graph

1407 Commits

Author SHA1 Message Date
Noel Grandin
33a0f8ce65 fdo#46808, Adapt awt::Toolkit UNO service to new style
Create a merged XToolkit2 interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.

Also mark sub-interfaces as non-optional.

Change-Id: I278d0288e92be277033013302267cf93f7d70480
2012-10-24 16:49:49 +02:00
Caolán McNamara
ab4eb0e332 SetPosSizePixel->setPosSizePixel
Change-Id: Id1cab5b27776180cd8403af848c1294858384b4a
2012-09-28 09:18:09 +01:00
Caolán McNamara
2f002e3a49 having two SetPosSizePixel is a blasted nuisance
Lets rename the multiargument SetPosSizePixel to
setPosSizePixel drop the various using Window::SetPosSizePixel
and work towards de-virtualizing SetPosSizePixel/SetPosPixel and
SetSizePixel and doing the work in a virtual setPosSizePixel

Change-Id: I7057654168001b67becee1791e97f9e9dc01f7b8
2012-09-28 08:48:39 +01:00
David Tardon
7fac82d6f4 convert OSL_ debug funcs to SAL_
Change-Id: I8903dd6aff6cdd6a4b24e3030309780975ea9318
2012-09-07 10:07:02 +02:00
David Tardon
6b84e09ff1 more refactoring
Change-Id: I2470e0d1ace4139a735e9de32c124bc054b8ff76
2012-09-07 10:07:02 +02:00
David Tardon
e24e04ccac refactor the OGLTransitionerImpl init. a bit
This removes some possible code paths that IMHO only added complexity
and shaves some time off each presentation start (200--500 ms on this
machine) by avoiding one call of GLInitSlides, which creates the
textures.

Change-Id: I0f66d138f14c86c87d6046276adc36072227c859
2012-09-07 10:07:01 +02:00
David Tardon
1d5d8584a3 shuffle #ifdefs around a bit
Change-Id: I93b7c3796acf2da0ba28d3ae61aab4e15681683f
2012-09-07 10:07:01 +02:00
David Tardon
c0582db6f9 more indentation fixes
Change-Id: Ia4a3a2aede8240d98423dbf78da15b95e19bfa5b
2012-09-07 10:07:01 +02:00
David Tardon
07bb32fdcb drop useless nested anonymous namespace
Change-Id: I0876e253b69fa4ec8262946339bb643aa43f3bad
2012-09-07 10:07:00 +02:00
David Tardon
9a6544bc9f add more timing code
Change-Id: I481e1acfee06e56932bf7ba7bbe7f89f35ff0435
2012-09-07 10:07:00 +02:00
David Tardon
38b70b169c simplify time profiling
Change-Id: Ib5976cd3e0c6e3b90fc62fe8336317f259dd544b
2012-09-07 10:06:59 +02:00
David Tardon
7a545ea8bd use meaningful names for debugging variables
Change-Id: I50918435903a053ce99487c6ad48d45552358cd2
2012-09-07 10:06:59 +02:00
Stephan Bergmann
07f44bfd39 -Werror,-Wunused-private-field (Clang towards 3.2)
Change-Id: I885db00df96c73c35f9c1a6add8caf6b93f7c01a
2012-08-31 09:04:16 +02:00
David Tardon
76367894c0 switch logging from OSL_ to SAL_
Change-Id: Iad5041fe85c5f03b9b5ed4a13d5c59c4ac027386
2012-08-17 14:42:53 +02:00
David Tardon
67955bfb2a fix indentation
Change-Id: I9b077cbbeac37c0eaac1365a8793cbc3f33f8b3e
2012-08-17 14:42:53 +02:00
David Tardon
65435f2197 do not paint background if no fade color was set
The condition got lost in commit 2e8b2e6de1 .

Change-Id: I8c9a6baf56dfe36d55e02476823e2847d77a7f58
2012-08-17 14:42:52 +02:00
David Tardon
49e6bf7c96 fix copypasta
Change-Id: Iaf0ef140ac60088bce95d82f8b09e4e218e12dab
2012-08-17 14:42:51 +02:00
David Tardon
2e8b2e6de1 fix "uncover" slide transitions with presenter console
It turns out it is really not a good idea to render _anything_ on the
first run of performIn/performOut in classes derived from
SlideChangeBase. That is because the functions are called separetely for
every view, so, if there is more than one view, like when the presenter
console is active, it will be done only for the first of them. This
commit introduces another function, prepareForRun, that can be used
reliably for that purpose.

Change-Id: I2c690fb145ccc05a680d4c2991c73900336e6f42
2012-08-14 15:16:19 +02:00
Tor Lillqvist
07a33fd7db Check MACOSX_SDK_VERSION, not MAC_OS_X_VERSION_MIN_REQUIRED
Change-Id: I7b24c218d45cdcd743d0b56ae94e604c72c59ebf
2012-08-12 11:01:52 +03:00
Thomas Arnhold
1340890ccd simplify include guards
Change-Id: Id4210229b20a1d54b680ff1a2ccbcdd3684ecf5f
2012-07-14 05:44:15 +02: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
Matteo Casalin
739e20ac58 Decrease header files dependencies
Change-Id: I654e71e56d60bf629625df09eb93b21c9ef670e8
2012-07-11 11:12:15 +05:30
David Tardon
9bd1acd164 sprinkle explicit over constructors
Change-Id: I6599147a74e5c99f964b08935ec7c77f2d4cadef
2012-07-03 17:47:18 +02:00
Marco Cecchetti
ed92cdd7f1 Bug fix: now skip effect work correctly with repeated animations 2012-06-28 12:28:07 +02:00
Marco Cecchetti
0685901045 Fixed a bug that prevented repeated animations to work properly when the repeatCount
value is greater than 2.
2012-06-28 12:28:07 +02:00
Marco Cecchetti
1ef95a7206 Added support for the repeatCount attribute for time containers.
The support is limited to the case when the value of the repeatCount attribute is an integral 
number and the duration time is defined implicitly by the active duration of the time container 
children. The accumulate attribute is not handled.

The support for such a feature has been implemented for both the C++ and the JavaScript 
presentation engine.
2012-06-28 12:28:06 +02:00
Marco Cecchetti
372c47309a Now to animations and repeated to animations are handled by the C++ presentation engine
as the SMIL spec describes.
2012-06-28 12:28:06 +02:00
Caolán McNamara
022b62296c callcatcher: update list
Change-Id: Id31324a6bf36e937cc6396207913e4183253bf04
2012-06-25 14:19:02 +01:00
Norbert Thiebaud
2c506447fc WaE on Mac SDK > 10.4
Change-Id: Ie0e413a6beef87d399807f98f345103c82442a9c
2012-06-23 23:23:24 -05:00
Michael Stahl
0caf87c580 remove bunch of obsolete looking .dxp files
Change-Id: Ib06d88890007fd27d6838a5c8829230733d3df97
2012-06-22 22:39:34 +02:00
Michael Meeks
ec5fa0164b replace all but one .hdl include with equivalent .hpp includes.
Change-Id: I15e94f112144549692d0c2babeb48c77adcb93a9
2012-06-21 19:28:47 +01:00
Michael Meeks
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Norbert Thiebaud
6933730601 targeted string re-work
Change-Id: Ia1ab054537ac379f08ecd1950ca686d08be35d03
2012-06-02 16:48:36 -05:00
Caolán McNamara
df34ccb01d remove unneeded include of boost/bind.hpp
Change-Id: I5a254459a491b9547530d8e312260dceed21f25c
2012-05-16 15:05:36 +01:00
Tor Lillqvist
4005503177 Bin commented-out code 2012-04-24 12:22:42 +03:00
Tor Lillqvist
2a0444f7ad WaE: assigning to 'AquaOpenGLView *' from incompatible type 'NSOpenGLView *' 2012-04-24 12:22:40 +03:00
Tor Lillqvist
efc80f71f5 Add hopefully helpful comment 2012-04-24 12:22:38 +03:00
Tor Lillqvist
72108b8cba WaE: 'SceneObject' has virtual functions but non-virtual destructor 2012-04-24 12:22:36 +03:00
Tor Lillqvist
a5554ed563 WaE: incompatible pointer types: 'long *' vs. 'const GLint *' 2012-04-24 12:22:18 +03:00
Caolán McNamara
be3ee9c889 callcatcher: update unused code list 2012-04-12 09:46:23 +01:00
Caolán McNamara
bb7d331ecd callcatcher: update list 2012-04-11 12:06:24 +01:00
Caolán McNamara
5c8c911f12 fix build 2012-04-10 13:12:11 +01:00
Rob Snelders
912e36e911 Remove VERBOSE part 3 2012-04-10 13:37:11 +02:00
Szabolcs Dezsi
e4fb171d3a Replaced a few equal calls with == 2012-04-08 19:24:00 +02:00
Julien Nabet
a160601163 Fix Prefer prefix ++/-- operators 2012-04-08 01:01:31 +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
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
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