Michael Meeks
14f6de30ce
gtk3: add run-time check for gtk >= 3.2.0
2011-11-07 14:19:35 +00:00
Michael Meeks
6de32a1afc
gtk: cleanup resource provider and associated lifecycle issue
2011-11-07 14:19:35 +00:00
Michael Meeks
6aa5164070
gtk3: port file-picker, using more standard combobox APIs etc.
2011-11-07 14:19:34 +00:00
Michael Meeks
aeffd7f25f
move required resources down from fpicker & svtools into vcl
2011-11-07 14:19:34 +00:00
Michael Meeks
f1abe3035c
gtk: cleanup to make the vcl file-picker interface work.
2011-11-07 14:19:34 +00:00
Michael Meeks
17084c750d
gtk: move the file-picker into vcl/ and add Application:: factory hooks
...
drop un-necessary uno service related fluff, and component instantiation.
nominal move to XMultiComponentFactory from XMultiServiceFactory
Include fpicker in compilation for gtk3, but more work required here
Simplify setting up transient parents for picker dialogs
2011-11-07 14:19:33 +00:00
Michael Meeks
7a47e0ead3
gtk: use a more sensibly unique version define
2011-11-07 14:19:33 +00:00
Thomas Arnhold
2411ea09a8
redundant if not-null checks on delete
2011-11-07 12:49:03 +00:00
David Tardon
effa8def9d
remove unused file
2011-11-07 12:54:39 +01:00
Ivan Timofeev
5122e3413b
cppcheck: avoid possible null pointer dereferences
2011-11-06 15:47:55 +04:00
Michael Meeks
e335eb1438
gtk3: move gtk+ file picker into vcl - a more sensible place for it
2011-11-04 11:56:12 +00:00
Stephan Bergmann
b05266ab75
Some WNT-only code still needs ApplicationEvent(); plus made the other ctor explicit.
2011-11-04 11:36:06 +01:00
Michael Meeks
62b44c3482
gtk3: add missing include, and rtl namespace
2011-11-04 09:45:35 +00:00
Stephan Bergmann
e66e54fb00
Further clean up of areas touched by previous commit.
2011-11-04 08:21:26 +01:00
August Sodora
e042493375
String->OUString, remove unused code
2011-11-04 08:21:25 +01:00
David Tardon
08488edd45
add missing includes
2011-11-04 06:22:44 +01:00
Joseph Powers
d0d62edf3f
Cleanup basebmp a little
...
I removed 2 unused headers.
I also stopped delivering a lot of headers that no one outside of basebmp
cared about.
I also removed the unused methods:
basebmp::BitmapDevice::getPaletteEntryCount() const
basebmp::BitmapDevice::getPixelData(basegfx::B2IPoint const&)
2011-11-03 20:46:00 -07:00
Caolán McNamara
5436b3242a
Unwind and refactor some of the Grey Palette stuff
...
We get some assertions in the smoketest with --enable-debug, looking
closer I think to use a single bIsGrey flag we...
a) would need to check after every modification of a Palette that mbIsGrey is
still valid and update it accordingly
b) There are a lot of routes outside of direct assignation to the stock Grey
Palettes that can result in Grey palettes in e.g. the pngreader, they would
all need updating :-(
So, how about just refactoring the original HasGreyPalette and IsGreyPalette.
2011-11-03 23:45:21 +00:00
Cosimo Cecchi
910bbf6f1e
fix gtk2 build
2011-11-03 21:36:05 +01:00
Michael Meeks
e53ac9984c
gtk3: Check for gtk3 >= 3.2 - we need that for broadway anyway
2011-11-03 19:48:25 +00:00
Michael Meeks
3c8b99a3fc
IsGreyPalette: belt and braces, empty palettes are grey (apparently)
2011-11-03 19:12:10 +00:00
Cosimo Cecchi
dab309e782
gtk: fix the build
2011-11-03 14:09:16 -04:00
Cosimo Cecchi
06840c3b3d
gtk3: implement rendering for Listbox widgets
2011-11-03 13:15:10 -04:00
Cosimo Cecchi
3226260137
gtk3: translate the cairo context instead of rendering from (1, 1)
...
It's just way easier than doing it every time.
2011-11-03 13:15:10 -04:00
Cosimo Cecchi
d444079d03
gtk3: misc cleanups
2011-11-03 13:15:10 -04:00
Cosimo Cecchi
585140eb25
gtk3: implement rendering for Comboboxes
2011-11-03 13:15:09 -04:00
Cosimo Cecchi
73980c1526
gtk3: implement rendering for spinbuttons
2011-11-03 13:15:09 -04:00
Cosimo Cecchi
671b1d26d0
gtk3: always set the wmclass using the X helper
...
The helper provided by GTK is only meant to be used before the toplevel
is realized, so it's not useful for this case. Instead, always call the
X helper.
This also gets rid of some GTK warnings we get on the terminal.
2011-11-03 13:15:09 -04:00
Cosimo Cecchi
56d287872a
gtk: add widget_get_xid()
...
And use it in GtkSalFrame
2011-11-03 13:15:09 -04:00
Caolán McNamara
6598e65cfc
probably need to add mbIsGrey to operator== comparison
2011-11-03 15:42:41 +00:00
Caolán McNamara
33a4950477
need to assign mbIsGrey in operator=
2011-11-03 15:42:41 +00:00
Caolán McNamara
d0d1cd58cf
mbIsGrey needs to be initialized in ctor
2011-11-03 15:42:41 +00:00
Michael Meeks
b9474a8cac
Cleanup inline IsGreyPalette implementation for mac platforms.
2011-11-03 11:32:23 +00:00
Emanuele Fia
4029a580f7
Removed IsGreyPalette
2011-11-03 11:22:40 +00:00
Thorsten Behrens
1e297aef53
Move BitmapDevice to use B2IBox instead of B2IRange.
...
Semantically, B2IBox represents a pixel rect much better than
B2IRange - replaced all occurences in and around the software
renderer, and client code.
2011-11-02 23:58:28 +01:00
Thorsten Behrens
3c1b4b6ef7
Keep basebmp free of naked ptrs.
...
Moved the implementation detail that SalFrames lifetime is handled
manually in vcl out of basebmp & into vcl. Added lightweight wrapper
class to decouple damagetracker lifetime from GtkFrame lifetime.
2011-11-02 23:58:27 +01:00
Michael Stahl
543c57eb87
Merge branch 'master' of git://anongit.freedesktop.org/libreoffice/core
2011-11-02 21:58:35 +01:00
Michael Stahl
75fe0e01d9
Library_vclplug_gtk3.mk: fix typo
2011-11-02 18:12:33 +01:00
Michael Stahl
66d9925bb6
Merge branch 'master' of git://anongit.freedesktop.org/libreoffice/core
2011-11-02 17:49:42 +01:00
Cosimo Cecchi
625afed7a8
gtk3: improve the GTK3 theming layer somewhat
...
Improvements include:
- don't create widgets when calculating the native region size, but use
GtkStyleContext instead
- refactor the native control drawing cycle
- theme scrollbars
- theme menu radios/checks/separators/arrows
2011-11-02 16:47:44 +00:00
Caolán McNamara
da0bd7a501
drop freshly unused methods
2011-11-02 16:04:27 +00:00
David Tardon
b2e0b5f3f5
use SAL_N_ELEMENTS
2011-11-02 14:56:19 +01:00
David Tardon
337b07d872
use external
2011-11-02 13:26:53 +01:00
Michael Stahl
d33e8d9bfe
SalYieldMutex::release(): add assertion
2011-11-01 19:34:00 +01:00
Luboš Luňák
18a22145c6
let's see if better eventloop integr. makes it into Qt4.9, if any
...
https://bugreports.qt.nokia.com//browse/QTBUG-16934
2011-11-01 16:20:18 +01:00
Michael Meeks
fc11164520
gtk: fix cpu burn when inactive - broken timeout calculation
2011-11-01 13:01:33 +00:00
Caolán McNamara
3c95b2c39a
drop GetImageIds
2011-11-01 09:27:25 +00:00
Caolán McNamara
9cb9ddbfb7
callcatcher: remove unused appendStr
2011-11-01 09:27:24 +00:00
Caolán McNamara
76e37b7f79
adapt naming scheme
2011-11-01 09:27:24 +00:00
Caolán McNamara
489272ce9e
add and use an OString::equalsIgnoreAsciiCaseAsciiL equivalent to OUString one
2011-11-01 09:27:22 +00:00