Commit graph

10254 commits

Author SHA1 Message Date
David Tardon
b274d974c7 initialize session client when SalSession is created
This avoids crash on end of desktop session if quickstarter is running
and no window has been opened yet.
2010-12-07 14:18:11 +01:00
Takeshi Abe
54b4213411 Replace all occured, occurance etc. 2010-12-05 19:05:55 +00:00
Caolán McNamara
8ca6dee3a6 cppcheck: can reduce the scope of this variable 2010-12-05 13:22:02 +00:00
Caolán McNamara
c7f3bf8c9e Resolves: fdo#31243 glyph fallback for cairo-canvas
(cherry picked from commit cbd99e3bdd8a2bb887fb3eeb1e8d0a90f7576234)
2010-12-03 11:16:09 +00:00
Caolán McNamara
ff438bb411 Resolves: #i115788# URIs must be exported as 7bit ASCII
(cherry picked from commit 8b074d17a7e81f075dfe30236dfcd1b0e9f36ad2)
2010-12-03 11:11:58 +00:00
Caolán McNamara
c290fd4808 Resolves: fdo#31243 glyph fallback for cairo-canvas 2010-12-03 11:00:01 +00:00
Radek Doulik
47b589156c fix invalid read in doubleSequenceToColor, fixes crash in n#654065
Signed-off-by: Thorsten Behrens <tbehrens@novell.com>
2010-12-02 22:21:36 +01:00
Caolán McNamara
b9563a0745 convert archaic String types to rtl 2010-12-02 16:24:28 +00:00
Radek Doulik
62df3b1bd5 fix invalid read in doubleSequenceToColor, fixes crash in n#654065 2010-12-02 15:24:12 +01:00
sj
2e512af879 impress205: #i115825# fixed metatextarray issues 2010-12-02 14:31:22 +01:00
Caolán McNamara
130d0b455f Resolves: #i115788# URIs must be exported as 7bit ASCII 2010-12-02 11:18:12 +00:00
sj
23cdc612cc impress205: #i115825# fixed copy&paste problem of metafiles 2010-11-30 13:41:46 +01:00
Caolán McNamara
4357f0d995 cppcheck: init some members in ctor 2010-11-28 20:44:48 +00:00
Caolán McNamara
777e5d5310 cppcheck: uninit member variable 2010-11-28 12:11:30 +00:00
Caolán McNamara
f8c026cd6d cppcheck: init member variable in ctor 2010-11-27 21:09:13 +00:00
Caolán McNamara
6fc9d45a94 cppcheck: use prefix form 2010-11-27 12:47:55 +00:00
Caolán McNamara
612fde3b4a cppcheck: the scope of this variable can be reduced 2010-11-27 12:47:54 +00:00
David Tardon
947461a9b0 fix debug build with dbglevel=3 2010-11-27 10:17:49 +01:00
David Tardon
5442fa723d fix debug build with dbglevel=3 2010-11-27 10:17:49 +01:00
David Tardon
3a3a33eb87 fix debug build with dbglevel=3 2010-11-27 10:17:49 +01:00
Rene Engelhard
47c176eff3 Merge branch 'libreoffice-3-3' 2010-11-26 17:50:30 +01:00
Rene Engelhard
5529d7947c Merge commit 'ooo/OOO330_m17' into libreoffice-3-3 2010-11-26 17:42:01 +01:00
Gert Faller
6708ef0453 RTL_CONSTASCII_USTRINGPARAM in libs-gui 21 2010-11-25 22:44:41 +01:00
Jan Holesovsky
aeab953045 Merge branch 'master' of ssh://git.freedesktop.org/git/libreoffice/libs-gui 2010-11-25 21:00:22 +01:00
Caolán McNamara
caa01900a7 cppcheck: methods can be const 2010-11-25 16:02:40 +00:00
Jan Holesovsky
f45f864898 Merge remote branch 'origin/libreoffice-3-3' 2010-11-25 14:27:02 +01:00
Joachim Trémouroux
6c1779cedf Add a 'loadMissing' parameter for loading a special icon if necessary 2010-11-25 13:11:18 +00:00
Thorsten Behrens
afd5ff21ce Make toolbar icon size native-widget controlled
This improves on the gui-toolbox-large-icons.diff, in that the
icon size is set to 'auto', and the native widget code decides which
size to pick. This was chiefly triggered by Mac user complaints, not
so much liking the large icons there.
2010-11-25 00:25:02 +01:00
Caolán McNamara
19658260a4 make possible to build with c++0x 2010-11-24 15:40:00 +00:00
Caolán McNamara
a89295a88f cppcheck: silence bogus warning 2010-11-24 09:50:35 +00:00
Caolán McNamara
3990279226 cppcheck: Unused private function 2010-11-24 08:56:44 +00:00
Caolán McNamara
dd45908fe2 cppcheck: This function can be const 2010-11-23 21:14:46 +00:00
Kurt Zenker
2ca22cab45 CWS-TOOLING: integrate CWS os145 2010-11-23 16:56:24 +01:00
Caolán McNamara
43bc8a784e make possible to build with c++0x 2010-11-23 15:47:19 +00:00
Joseph Powers
ecdd2800f2 Remove last of the HC icons from libs-gui
Auto HC detection will set the icons to the HC set; since we no longer have
HC icons in the normal sets.
2010-11-22 18:57:39 -08:00
Gert Faller
6e8883ba74 RTL_CONSTASCII_USTRINGPARAM in libs-gui 10 2010-11-22 23:04:19 +01:00
sj
b9113ba2a8 os145: #b7001886# fixing small ppt import problem, improving png reader 2010-11-22 19:00:24 +01:00
sj
13881ca76e os145: #b7001888# fixing small svm problem 2010-11-22 18:54:49 +01:00
Herbert Duerr [hdu]
a26b166697 #i108584# workaround unexpected ATSUBreakLine error result 2010-11-22 10:29:58 +01:00
Herbert Duerr [hdu]
a7efcc6389 #i108584# workaround unexpected ATSUBreakLine error result 2010-11-22 10:18:47 +01:00
Kohei Yoshida
5973a9a655 Allow the dropdown list of a combo box to be scrollable. (fdo#31710)
This change makes the dropdown list of a combo box control to be
horizontally scrollable in case the longest text in the list box
is wider than the maximum allowed width of the dropdown list.

Also, previously the dropdown list would become wider than the
desktop width when the longest text exceeded the desktop width.
This change caps the max width of the dropdown list to be the width
of the desktop width.
2010-11-19 18:17:10 -05:00
Kohei Yoshida
da04155499 Removed non-printable characters. 2010-11-19 15:46:19 -05:00
Herbert Duerr [hdu]
7a4ec865ea #i115618# fix bad PDF export regression for simple RTL cases 2010-11-19 14:37:26 +01:00
Caolán McNamara
9a4a4feefd remove 64bit warnings in debug mode 2010-11-18 13:50:03 +00:00
Caolán McNamara
49b2aaa585 use printf size_t modifier on all platforms 2010-11-18 13:24:31 +00:00
Caolán McNamara
eea07309e0 Resolves: rhbz#654203# crash after unhandled exception
(cherry picked from commit 4af5d4b6be76231c0db1a0f5dcbfdd5dab293f2c)
2010-11-18 13:14:47 +00:00
Cédric Bosdonnat
93e71e9cd8 Fixed remaining use of HighContrast defines 2010-11-17 20:55:07 +01:00
Joseph Powers
888b88e39c libs-gui HC cleanup and .bmp fix 2010-11-17 07:42:27 -08:00
Caolán McNamara
8ea96c44d8 Resolves: rhbz#654203# crash after unhandled exception 2010-11-17 09:13:50 +00:00
Joseph Powers
1702d31ddf HC Cleanup - libs-gui 2010-11-16 19:03:56 -08:00
Jan Holesovsky
d3ea07a3c7 Merge remote branch 'origin/libreoffice-3-3' 2010-11-16 09:34:30 +01:00
Jan Holesovsky
7c25546fd5 Merge commit 'ooo/OOO330_m15' into libreoffice-3-3 2010-11-16 09:00:43 +01:00
J. Graeme Lingard
029dddde0e Remove unused dated comments 2010-11-13 18:01:41 +00:00
Joseph Powers
857d9d570f Purged BmpColorMode from libs-gui - libs-gui 2010-11-13 00:35:47 -08:00
obo
d9d5b04b12 CWS-TOOLING: integrate CWS sw33bf12 2010-11-12 08:08:56 +01:00
Sebastian Spaeth
65a16b2142 Remove more traces of _HC (high contrast)
This patch needs to go hand in hand with the similar one in libs-core,
I believe.
2010-11-11 14:55:06 +01:00
Philipp Lohmann [pl]
89bcc72a5b calc63: #i115504# cleanup image tree to prevent static destructor troubles 2010-11-11 13:57:44 +01:00
Oliver-Rainer Wittmann
05b9f3f8c9 sw33bf12: #i115437# method <OutputDevice::DrawLine(..)> - correct initialisation of LineColor Pen for fat or dashed lines - patch provided by AW 2010-11-10 14:04:55 +01:00
Robert Nagy
48e6d1582a Add OpenBSD ifdefs for vcl too 2010-11-08 12:30:02 +01:00
Noel Power
493856b63b Merge branch 'master' of ssh://git.freedesktop.org/git/libreoffice/libs-gui 2010-11-05 11:45:44 +00:00
Robert Nagy
329b46f153 Add OpenBSD ifdefs for vcl too 2010-11-05 11:36:09 +01:00
Niko Rönkkö
28d6a63740 Elide all "SO:" and "OOo:" build.lst prefixes 2010-11-04 23:38:05 +01:00
Caolán McNamara
8dd26a7479 latest libX11 changed header guards
(cherry picked from commit cd10b146b67f7329f699e48e74d2961dbcceb123)
2010-11-04 16:07:09 +00:00
Caolán McNamara
5ffc48f0aa latest libX11 changed header guards 2010-11-04 14:44:14 +00:00
Nigel Hawkins
f0708abc6f vcl: fix fprintf compile warnings in cff.cxx 2010-11-03 20:31:21 +00:00
Nigel Hawkins
7c8e265b0b vcl: fix fprintf compile warnings in sft.cxx 2010-11-03 20:31:21 +00:00
Luboš Luňák
61921b8f17 use sane scrollbar sizes when drawing
bnc#619772 leads to a crash because maximum = minimum = 0, and this
strange (but for whatever reason needed) '- mnVisibleSize' hack
makes maximum be -1, eventually leading to a crash
2010-11-03 15:19:08 +01:00
Thorsten Behrens
b433e9fa99 Changing a few more strings to read "LibreOffice"
(cherry picked from commit d69179723a2f8f72d344b884647fd106221a1391)
2010-11-03 11:50:02 +01:00
Thorsten Behrens
0d78724de5 Changing a few more strings to read "LibreOffice" 2010-11-03 11:49:24 +01:00
Caolán McNamara
698ee41703 abort doesn't gain us anything here.
abort doesn't gain us anything here except to force abrt automatic bugreports kick
in, and XIOErrors can't be worked around
2010-11-03 10:16:06 +00:00
Noel Power
95824f8636 initial import of latest cws container_controls 2010-11-02 20:05:21 +00:00
Thorsten Behrens
e5eab37d6f Make envvar SAL_NO_MOUSEGRABS avoid mouse grabs on X11
When debugging UI code, mouse grabs can really get in the way -
so just set SAL_NO_MOUSEGRABS=1 and LibO will stop blocking your
X11 session, when a gdb breakpoint hits.
2010-11-01 16:50:25 +01:00
Jan Holesovsky
748df2ab7b Merge branch 'master' of ssh://git.freedesktop.org/git/libreoffice/libs-gui 2010-11-01 16:09:03 +01:00
Luboš Luňák
834f3f8068 using Qt4's Glib-based event loop should work now
Qt commit http://qt.gitorious.org/qt/qt/merge_requests/2492 , should
be in 4.8.
2010-11-01 14:03:16 +01:00
Jan Holesovsky
bb7dd559d5 Merge commit 'ooo/OOO330_m13'
Conflicts:
	vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
2010-11-01 13:54:40 +01:00
Caolán McNamara
406c8ea567 small startup optimization 2010-10-30 17:01:20 +01:00
Caolán McNamara
f952d70c48 small startup optimization 2010-10-30 17:01:20 +01:00
Caolán McNamara
fcf499e028 small startup optimization 2010-10-30 17:01:20 +01:00
David Tardon
2e43d23898 skip reserved operators 2010-10-29 18:04:28 +02:00
Caolán McNamara
0dd92103ac microopt 2010-10-29 16:40:56 +01:00
Caolán McNamara
e321ace4d8 avoid linking against wrong libstlport by accident when linking against kde 2010-10-29 10:51:07 +01:00
Caolán McNamara
08cbfebc04 add modelines to .h and .c files as well 2010-10-28 15:52:27 +01:00
Caolán McNamara
2aee163304 fdo#632229# provide some support for a per-windowframe ApplicationID/WM_CLASS 2010-10-27 23:09:46 +01:00
Tor Lillqvist
9701dc3061 Fix mutex related compilation errors 2010-10-27 19:27:22 +03:00
Caolán McNamara
7fd222927b make these not leak and safe to use 2010-10-26 11:38:27 +01:00
Joseph Powers
8e24e5412b compile error inducing typo in aqua salinst.cxx 2010-10-25 22:17:56 -05:00
Norbert Thiebaud
a04813dcf1 missing include for build on aqua
Thanks to Joseph Powers for reporting this.
2010-10-25 19:55:38 -05:00
Norbert Thiebaud
ab9eecc53a Finally, gut the vos module out of the build 2010-10-25 19:55:38 -05:00
Norbert Thiebaud
08be4cfe51 convert vos/process.hxx and related API 2010-10-25 19:55:38 -05:00
Norbert Thiebaud
854ff7bfc8 remvove vos/macros.h usage 2010-10-25 19:55:38 -05:00
Norbert Thiebaud
c21186c38d rename osl::SolarMutexGuard -> SolarGuard to avoid namespace ambiguity 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
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