Caolán McNamara
c35b12cc0a
extend this to headless plugin as well
2011-06-01 15:21:54 +01:00
Luboš Luňák
6e20f6a854
implement vcl::DeleteOnDeinit::reset()
...
the class is pretty bad API without it
2011-05-31 20:54:58 +02:00
Luboš Luňák
3d87ce7865
proper debug output again, enabled by mistake
2011-05-31 18:27:15 +02:00
Luboš Luňák
61acd9e800
move kde_headers.h to other inc/unx/kde headers
2011-05-31 18:23:24 +02:00
Luboš Luňák
2dfbdb6fb0
use enum instead of strings for desktop types
...
welcome to the future! (well, almost)
2011-05-31 18:20:17 +02:00
Luboš Luňák
4ed61b6dca
SAL_DLLEXTENSION should not be used here
...
probably result of a bad merge
2011-05-31 17:27:09 +02:00
Luboš Luňák
f94fc773b3
desktop detector stuff is desktop_detector, not vclplug_kde
2011-05-31 17:24:08 +02:00
Luboš Luňák
f5497068c5
#include "" -> #include <> for non-local includes
2011-05-31 15:02:56 +02:00
Luboš Luňák
53a16157cb
do not have a .cxx file just for #including a .moc file
2011-05-31 14:21:30 +02:00
Luboš Luňák
65347f4b1c
fix include path for KDE3 build
2011-05-31 13:56:36 +02:00
Jan Holesovsky
a0cdfdc157
Merge branch 'master' of git://anongit.freedesktop.org/libreoffice/libs-gui
2011-05-31 10:47:34 +02:00
Jan Holesovsky
ec6c98105a
Merge commit 'libreoffice-3.4.0.2'
...
Conflicts:
svtools/source/filter/wmf/winmtf.hxx
tools/source/fsys/urlobj.cxx
unotools/source/config/configmgr.cxx
unotools/source/config/makefile.mk
vcl/inc/vcl/cursor.hxx
vcl/source/gdi/outdevnative.cxx
vcl/source/window/abstdlg.cxx
vcl/source/window/toolbox.cxx
vcl/unx/generic/printer/ppdparser.cxx
vcl/unx/generic/printer/printerinfomanager.cxx
2011-05-31 10:45:54 +02:00
Tor Lillqvist
05c950fe29
Fixes to make it compile on Windows
2011-05-30 19:57:45 +03:00
Tor Lillqvist
00f5e8f623
Link with the "version" library on Windows
2011-05-30 19:57:43 +03:00
Tor Lillqvist
072d097e49
Match the less clash-prone gobject DLL name we now produce
2011-05-30 19:57:41 +03:00
Tor Lillqvist
3b11d0b97a
Link with graphite2_off on Windows, too
2011-05-30 19:57:39 +03:00
Korrawit Pruegsanusak
cda4a29360
Code cleanup
...
* Remove dead code lying since 2001
* Remove duplicate if checking
* So unindent the code
Released under LGPLv3+/MPL
2011-05-30 12:27:26 +01:00
Caolán McNamara
da94363ed7
add custom rule to build moc stuff for kde4
2011-05-29 22:26:41 +01:00
Caolán McNamara
9c1f42a13b
make this compile
2011-05-29 14:52:13 +01:00
Tor Lillqvist
d892a900e3
Fix compilation errors on Windows, linking errors remain
2011-05-28 23:24:40 +03:00
Tor Lillqvist
46dd0c2cf1
chmod -x
2011-05-28 22:39:50 +03:00
Tor Lillqvist
9ff135581c
Attempt to fix vcl build on Windows
2011-05-28 22:39:48 +03:00
Julien Nabet
845c261d8c
fix 2 bugs, there are still for a complete compilation with kde4
2011-05-28 15:54:14 +02:00
David Tardon
bb471e9372
fix build with ENABLE_DBUS
2011-05-28 07:06:17 +02:00
David Tardon
a0a2956a68
this must be #if defined(DBG_UTIL) for now
...
If this bold font testing is actually useful, IMHO the best approach is
to make it depend on an env. variable, e.g., SAL_TEST_BOLDAPPFONT.
Otherwise it should just be scrapped.
2011-05-28 06:57:47 +02:00
Norbert Thiebaud
a4ab5f421e
fix tab vs sapce in Makefile
2011-05-27 17:31:03 -05:00
Thorsten Behrens
c67eef40f5
Fix dbgutil build after m106 merge
2011-05-27 23:33:43 +02:00
Jan Holesovsky
66bf06edd0
Merge branch 'master' of git://anongit.freedesktop.org/libreoffice/libs-gui
...
Conflicts:
vcl/source/control/makefile.mk
vcl/unx/generic/printer/ppdparser.cxx
2011-05-27 21:12:53 +02:00
Jan Holesovsky
9e5584a826
Merge remote-tracking branch 'origin/integration/dev300_m106'
...
Conflicts:
cppcanvas/source/mtfrenderer/implrenderer.cxx
i18npool/inc/i18npool/lang.h
i18npool/source/isolang/isolang.cxx
svtools/source/filter/exportdialog.cxx
svtools/source/graphic/grfmgr.cxx
vcl/aqua/source/dtrans/aqua_service.cxx
vcl/aqua/source/window/salframe.cxx
vcl/inc/sft.hxx
vcl/inc/unx/pspgraphics.h
vcl/inc/vcl/cursor.hxx
vcl/inc/vcl/gdimtf.hxx
vcl/inc/vcl/settings.hxx
vcl/prj/d.lst
vcl/source/app/settings.cxx
vcl/source/control/edit.cxx
vcl/source/gdi/gdimtf.cxx
vcl/source/window/cursor.cxx
vcl/source/window/window.cxx
vcl/unx/generic/fontmanager/fontconfig.cxx
vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
vcl/unx/kde4/KDESalGraphics.cxx
2011-05-27 20:47:31 +02:00
Rafael Dominguez
c711904053
Make sure we dont oob when erasing.
...
Signed-off-by: Noel Power <noel.power@novell.com>
2011-05-27 10:12:04 +01:00
Lucas Baudin
89673c8a0a
Remove a GtkToggleToolButton widget which wasn't used
2011-05-26 14:05:36 +01:00
Lucas Baudin
30dc33f6fb
Fix a gtk warning
2011-05-26 14:05:36 +01:00
Caolán McNamara
4a56954e39
add salhelper::LinkResolver
2011-05-25 08:53:31 +01:00
Caolán McNamara
514ac98b89
WaE: enable exceptions
2011-05-24 15:52:57 +01:00
Joseph Powers
635ef71cb2
Remove unneeded forward reference to class UniqueIndex.
2011-05-24 07:27:44 -07:00
Lucas Baudin
5e4d196f7f
Fix some visual glitch with GTK+
...
- Fix separators, they weren't properly aligned, and they didn't use
gtk_paint_box when needed some gtk themes/engine draw lines with box ^^
(for 3d appearance for instance)
- Fix pressed toolbar buttons state: it wasn't drawn correctly
- Fix toolbar buttons background: window background was paint, but the
background was the toolbar, so, now, the background of the toolbar is paint
- Use gtk_paint_box instead of gtk_paint_flat_box for buttondefault, it wasn't
correct and caused some weird things in the corners
- Code cleanup: remove a function call which set the widgets flags, it is
useless (and could cause some segfaults) since we must specify widget state
and shadow in gtk_paint_(flat_)box).
- Code cleanup: remove duplicated code, toolbar button are now drawn using the
same function as normal buttons
2011-05-24 14:13:03 +01:00
Lucas Baudin
76c4961168
Replace tabs by space in salnativewidgets-gtk.cxx
2011-05-24 14:13:03 +01:00
Caolán McNamara
9ba847c523
List->vector change incorrect return index
2011-05-23 10:35:48 +01:00
Caolán McNamara
7ff13f7afb
output unsupported property name
2011-05-23 08:55:22 +01:00
Tor Lillqvist
27266b10b8
Drop OS2
2011-05-21 17:00:45 +03:00
Caolán McNamara
112b79c4b3
tweak all this to be non-leaky
2011-05-20 15:23:39 +01:00
Caolán McNamara
06a3ac41e3
adjust for non leaky singleton
2011-05-20 15:23:39 +01:00
Caolán McNamara
4f97da16ee
valgrind: fix leak
2011-05-20 15:23:39 +01:00
Caolán McNamara
25384a8019
fix merge conflicts
2011-05-20 15:23:39 +01:00
Caolán McNamara
c71e90f957
no need to cast
2011-05-20 15:23:39 +01:00
Tor Lillqvist
7d2e7b5a67
Stylistic follow-up cleanup
...
Rename the bHighlight parameter to ImplDrawItem to nHighlight. It is
no longer claimed to be a boolean (even if it was passed values 0, 1
or 2) but instead a sal_uInt16.
When used in a logical expression, use explicit nHighlight!=0.
Pass nHighlight integers 0 or 1 in calls instead of sal_False or
sal_True.
2011-05-20 13:30:16 +03:00
Kohei Yoshida
304828eaf3
fdo#36690: Don't broadcast setting changes during painting of button.
...
Calling SetSettings() when the output device is Window causes it to
broadcast data change. PushButton::Draw() in fact calls this method
when the button contains colors, which ends up broadcasting its change
via Window::DataChanged call. But depending on the output device
this DataChanged call may end up painting it again, which basically
causes a recursive loop.
The solution is to make sure OutputDevice::SetSettings() is called ( which only
changes the settings without doing anything else ) and *not* and derived
classes 'SetSettings()' method
Signed-off-by: Noel Power <noel.power@novell.com>
Signed-off-by: Michael Meeks <michael.meeks@novell.com>
Signed-off-by: Jan Holesovsky <kendy@suse.cz>
2011-05-20 12:25:16 +02:00
Lucas Baudin
e3b7881e8c
Fix a bug about presssed button state (fdo#36613)
...
Signed-off-by: Tor Lillqvist <tlillqvist@novell.com>
Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2011-05-20 12:14:07 +02:00
Lucas Baudin
5f26ee2291
Fix headers for the toolbox
2011-05-20 11:59:33 +03:00
Lucas Baudin
cc41e3bcf1
Fix a bug about presssed button state
2011-05-20 11:59:16 +03:00