Commit graph

34002 commits

Author SHA1 Message Date
Norbert Thiebaud
c21186c38d rename osl::SolarMutexGuard -> SolarGuard to avoid namespace ambiguity 2010-10-25 19:55:38 -05:00
Norbert Thiebaud
505309ad2d fix missing vos::Guard creeping back-up after rebase 2010-10-25 19:55:38 -05:00
Norbert Thiebaud
e25dcb6462 fix a mishap during the OGuard migration for aqua. 2010-10-25 19:55:38 -05:00
Norbert Thiebaud
2d4d886819 remove vos::OModule 2010-10-25 19:55:38 -05:00
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
98b2c08dff merge vosremoval-reference.diff 2010-10-25 19:55:37 -05:00
Norbert Thiebaud
5ef746c218 use SolarMutexGuard instead of LocalGuard in canvas
LocalGuard is a wrapper guard around the SolarMutex.
SolarMutexGuard already provide this function.
2010-10-25 19:55:37 -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
5baa9a51a8 merge vosremoval-pipe.diff 2010-10-25 19:55:36 -05:00
Norbert Thiebaud
548517c16a merge vosremoval-timer.diff 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
Norbert Thiebaud
8daf7c66c5 merge vosremoval-security patch 2010-10-25 19:55:36 -05:00
Caolán McNamara
75f4899265 fix typo 2010-10-25 21:08:29 +01:00
Caolán McNamara
344eb2834b micro optimization 2010-10-25 20:57:41 +01:00
Caolán McNamara
35e4fd2f46 micro optimization 2010-10-25 20:57:41 +01:00
Caolán McNamara
145cbf3571 micro optimization 2010-10-25 20:57:41 +01:00
Caolán McNamara
fbfbfc1abc micro opts 2010-10-25 20:57:40 +01:00
John LeMoyne Castle
1b7016add9 fix 32 bit overflow with 64 bit constants 2010-10-25 17:22:58 +01:00
Andras Timar
92e10dae56 do not extract non en-US files for localization from dictionaries/ 2010-10-24 22:26:22 +02:00
Caolán McNamara
34dff4e6b4 micro opts 2010-10-24 21:05:46 +01:00
Andras Timar
cc72fb7c41 typo fix 2010-10-24 19:05:50 +02:00
Jan Holesovsky
fdced3a36c Merge commit 'ooo/OOO330_m12' 2010-10-24 18:48:50 +02:00
Caolán McNamara
b13838e1f7 micro optimization, remove startup global 2010-10-24 15:32:12 +01:00
Caolán McNamara
972b189812 micro optimization 2010-10-24 15:26:21 +01:00
Jesús Corrius
1f76e25026 Make for_each less ambiguous for VC++ 10 2010-10-23 12:55:14 +02: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
Kurt Zenker
dfc8ac5316 CWS-TOOLING: integrate CWS ivo99 2010-10-20 16:54:57 +02:00
Cédric Bosdonnat
ee22ffc8bb Fixed fdo#30899 and n#610921: MetricFields SetUnit conversions 2010-10-20 14:14:56 +02:00
Caolán McNamara
ff41dd83e5 remove memory leaks to make this a handy valgrind test case 2010-10-20 10:16:51 +01:00
Caolán McNamara
305a9e0468 fdo#30773 Kabyle swap , and . as decimal seperator 2010-10-20 10:12:23 +01:00
Caolán McNamara
4af09530d7 fdo#30773 Kabyle swap , and . as decimal seperator 2010-10-20 10:11:56 +01:00
Caolán McNamara
dc1785a3be WaE unused parameter 2010-10-20 08:53:03 +01:00
Caolán McNamara
60a2e095f0 remove unused method 2010-10-20 08:53:03 +01:00
Caolán McNamara
eb6e285c07 fdo#30773 Kabyle swap , and . as decimal seperator 2010-10-20 08:53:03 +01:00
Caolán McNamara
11513ddf5b #i101100# strict-alias clean 2010-10-20 08:53:02 +01:00
Norbert Thiebaud
ae52e984f2 remove dead-code 2010-10-20 00:39:49 -05:00
David Tardon
6e768ec101 replace sizeof(foo)/sizeof(foo[0]) with SAL_N_ELEMENTS(foo) 2010-10-20 07:23:14 +02:00
Thorsten Behrens
15fd41aba7 Switch all urls from TDF to LibreOffice
Additionally, fixes fdo#30667 with new about dialog text, and a
link to http://libreoffice.org/credits.html
2010-10-19 18:06:08 +02:00
Caolán McNamara
70d9c52481 fdo#30773# add Kabyle locale data 2010-10-19 14:05:03 +01:00
Thomas Klausner
83da447b83 Add more files to EXCEPTIONSFILES to fix build on NetBSD. 2010-10-19 14:48:34 +02:00
Caolán McNamara
e3c52ca8d0 survive missing configuration entries for paths 2010-10-19 11:57:10 +01:00
Caolán McNamara
cdb4aae582 survive a missing history 2010-10-19 11:57:10 +01:00
Thomas Klausner
25d203e727 Add more files to EXCEPTIONSFILES, sort. 2010-10-19 12:16:12 +02:00