Commit graph

10110 commits

Author SHA1 Message Date
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
ea05f2aa4e migrate OClearableGuard(SoalrMutex) to SolarMutexGuard
Factorized the Guarded piece of code to locate the TopWindow under a
given Point, which was repeated verbatim in 4 different functions
That allowed as a bonus to remove the need for a ClearableGuard, and
allow the use of a straight SolarMutexGuard.
2010-10-25 19:55:37 -05:00
Norbert Thiebaud
3d99638e46 Add a new class SolarMutexClearbleGuard
Few place in the code use vos::OClearbleGuard aGuard(Application::GetSolarMutex());
or something similar.
This new class hide this ugliness into
SolarMutexClearableGuard aGuard;

This also has the merit to push down the vos:: dependency down into one location
for this kind of access, which will simplify the vos dependency removal.
2010-10-25 19:55:37 -05:00
Norbert Thiebaud
7223ecb528 Use SolarMutexGuard where appropriate 2010-10-25 19:55:37 -05:00
Norbert Thiebaud
18a9a87a80 use SolarMutexGuard to guard the SolarMutex 2010-10-25 19:55:36 -05:00
Norbert Thiebaud
b450a32890 create a class SolarMutexGuard to take a Guard on the SolarMutex
Most user of OGuard, use it to guard the SolarMutex.
using something like
vos::OGuard aGuard(Application::GetSolarMutex())

Which will now be written
vcl::SolarMutexGuard aGuard;

This will also, as a side effect remove the use of vos::Guard in many
sources, simplifying the migration out of ::vos
2010-10-25 19:55:36 -05:00
Norbert Thiebaud
d57d662ac7 merge vosremoval-conditn patch 2010-10-25 19:55:36 -05:00
Norbert Thiebaud
407f8c9293 merge vosremoval-signal patch 2010-10-25 19:55:36 -05:00
John LeMoyne Castle
1b7016add9 fix 32 bit overflow with 64 bit constants 2010-10-25 17:22:58 +01:00
Caolán McNamara
b13838e1f7 micro optimization, remove startup global 2010-10-24 15:32:12 +01:00
Caolán McNamara
520537359d move global sSilfMap to be a local sSilfMap to defer ctor until first use 2010-10-22 16:34:44 +01:00
David Tardon
37f4a7ed4c fix comparison of key events for IM 2010-10-22 07:30:36 +02:00
David Tardon
f8ff39976f fix IM input 2010-10-22 07:30:09 +02:00
Cédric Bosdonnat
ee22ffc8bb Fixed fdo#30899 and n#610921: MetricFields SetUnit conversions 2010-10-20 14:14:56 +02:00
Thomas Klausner
457ff1b63d Sort EXCEPTIONFILES and make sure all are in SLOFILES.
Noted by Caolán McNamara <caolanm@redhat.com>.
2010-10-18 17:59:31 +02:00
Povilas Kanapickas
849a713ffd remove non-compiled code 2010-10-18 16:52:27 +01:00
Thomas Klausner
f7cbde5254 Mark many more files as EXCEPTIONFILES.
Needed at least on NetBSD with system boost.
2010-10-18 17:23:15 +02:00
Caolán McNamara
b725a3ec57 #i112656# add osl_setEnvironment and osl_clearEnvironment 2010-10-18 15:43:44 +01:00
Kenneth Venken
bbe30ed814 replace sizeof(foo)/sizeof(foo[0]) by SAL_N_ELEMENTS 2010-10-18 12:28:33 +02:00
Michael Meeks
309b89b934 reduce large realloc / realloc thrash for image reading. 2010-10-15 15:23:48 +01:00
Luboš Luňák
31de11d143 try to process Qt events even when not using Qt event loop 2010-10-15 14:20:30 +02:00
Noel Power
c678b690a2 fix fdo#30856 remove VBAForm property and associated geometry hack 2010-10-15 13:01:52 +01:00
Luboš Luňák
8e399664b1 disable KDE's crash handler 2010-10-15 11:50:34 +02:00
Luboš Luňák
fef486c998 Qt event loop integration (when Glib is used) for KDE4 vclplug
So far disabled because of a pending bugfix for Qt, and support
for Qt's own event loop (without Glib) needs a missing feature
in Qt.
2010-10-14 18:14:14 +02:00
Luboš Luňák
924673ea9a make KDE4 vclplug use Qt event loop as the event loop 2010-10-14 18:14:14 +02:00
Luboš Luňák
6b5a13a80b proper accessor for SalKDEDisplay instead of random public vars 2010-10-14 18:13:44 +02:00
Luboš Luňák
ca6513e4d1 newline at end of files 2010-10-14 18:12:52 +02: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
Caolán McNamara
d863b3d5cb tweaks for AIX 2010-10-13 15:41:23 +01:00
Noel Power
1f4a6a21cb Merge branch 'master' of ssh://noelp@git.freedesktop.org/git/libreoffice/libs-gui 2010-10-13 15:17:38 +01:00
Noel Power
44b6cad402 Merge commit 'origin/master' 2010-10-13 13:14:57 +01:00
Noel Power
8c6ba71655 Merge branch 'vba' fix conflics, trailing ws & tab issues
Conflicts:
	unotools/source/config/fltrcfg.cxx
2010-10-13 10:55:27 +01:00
Jan Holesovsky
8e3b6ac324 Merge commit 'ooo/OOO330_m10'
Conflicts:
	vcl/unx/source/fontmanager/fontconfig.cxx
2010-10-13 11:45:25 +02:00
Jan Holesovsky
b2b138ac3d Implement hooks for unix quickstarter 2010-10-12 15:40:56 +01:00
Norbert Thiebaud
2e9987515e missing OThread ocnversion in aqua 2010-10-12 01:46:46 -05:00
Michael Meeks
81d99042d2 file I forgot 2010-10-11 13:21:51 +01:00
Michael Meeks
63148a8bf7 move the branded bitmap locator down the stack - for framework use 2010-10-11 12:22:12 +01:00
David Tardon
e428247f68 #i114706# fix adding font aliases 2010-10-11 10:29:56 +02:00
Norbert Thiebaud
f744968454 merge vosremoval-thread patch 2010-10-10 21:29:08 -05:00
Caolán McNamara
0ecc627bc0 add GetDefaultMonitorNumber back in
add GetDefaultMonitorNumber back in, but take care for the gener^C vclplug code
route
2010-10-10 20:39:27 +01:00
Keith Stribley
e1790a6b60 fix of underlining problem with Graphite fonts #i114765# 2010-10-10 19:08:34 +02:00
Norbert Thiebaud
d02017d4d3 squash misc warnings 2010-10-10 04:25:31 -05:00
Thomas Klausner
b71ba8c3f1 Handle NetBSD in the same way as FreeBSD. 2010-10-09 11:04:37 +02:00
Luboš Luňák
3f04560a2a Revert "i#112421# make Presenter Screen default to the laptop, not projector"
This reverts commit dbbfe692dfbde95f0a21997dd8f88fd009286964.

This crashes with anything but GNOME (try OOO_FORCE_DESKTOP=none).
2010-10-08 18:32:39 +02:00
Luboš Luňák
a92fd9f05f Revert "gdk_screen_get_monitor_plug_name needs at least 2.14"
This reverts commit d53ac3474f8aa7596f34af67ff2be316e26a1542.
2010-10-08 18:32:26 +02:00
Luboš Luňák
f171c99af3 Revert "remove filtering of Qt's X11 events by our core"
This reverts commit 84def8400a146ba815d5e6cb6dc22496c9411a27.
My mistake, there is just one X connection, created by Qt in this case.
2010-10-08 14:54:05 +02:00
obo
d90ed34d08 CWS-TOOLING: integrate CWS sw33bf10 2010-10-08 08:19:25 +02:00
obo
bde077de4b CWS-TOOLING: integrate CWS ooo33gsl10 2010-10-08 08:14:20 +02:00
J. Graeme Lingard
5ba8a3f904 Remove redundant #include directives & comments 2010-10-07 20:49:14 -04:00
Caolán McNamara
a80c69688f gdk_screen_get_monitor_plug_name needs at least 2.14 2010-10-07 17:04:12 +01:00