]> Pileus Git - ~andy/gtk/log
~andy/gtk
12 years agoquartz: make gdk_quartz_osx_version conform to coding style
Kristian Rietveld [Sun, 6 Nov 2011 08:34:39 +0000 (09:34 +0100)]
quartz: make gdk_quartz_osx_version conform to coding style

12 years agoquartz: make test_resize () conform to coding style
Kristian Rietveld [Sun, 6 Nov 2011 08:33:50 +0000 (09:33 +0100)]
quartz: make test_resize () conform to coding style

12 years agoquartz: Process motion events within windows bounds without window set
Kristian Rietveld [Sun, 6 Nov 2011 08:25:16 +0000 (09:25 +0100)]
quartz: Process motion events within windows bounds without window set

When an NSEvent does not have the window field set, we already assumed
the event was not for us and discarded it.  But for NSMouseMoved events
we now make an exception, because such events generated after
using/clicking the main menu bar have the window field set to NULL while
the application window still has focus.

We used to experience a loss of motion events after using the menu bar,
this could be seen in buttons that stopped prelighting and first
clicks often being ignored unless you clicked somewhere else first.
These issues are fixed by this patch.

12 years agoquartz: Factor out toplevel from NSEvent code into function
Kristian Rietveld [Sat, 5 Nov 2011 21:53:22 +0000 (22:53 +0100)]
quartz: Factor out toplevel from NSEvent code into function

12 years agoquartz: Separate out screen_point conversion in function
Kristian Rietveld [Sat, 5 Nov 2011 21:43:17 +0000 (22:43 +0100)]
quartz: Separate out screen_point conversion in function

Reduces code duplication and confusion.

12 years agoquartz: remove unused variable
Kristian Rietveld [Sat, 5 Nov 2011 21:34:41 +0000 (22:34 +0100)]
quartz: remove unused variable

12 years agomenuitem: Always treat submenus as popup
Florian Müllner [Tue, 25 Oct 2011 13:42:59 +0000 (15:42 +0200)]
menuitem: Always treat submenus as popup

Submenus are not actually attached to a menubar, but styling them
as if they were imposes some problems (at least with Adwaita).
Just using GDK_WINDOW_TYPE_HINT_POPUP_MENU for submenus instead
fixes the issue.

https://bugzilla.gnome.org/show_bug.cgi?id=662691

12 years agoAllow fallback for input method modules
Akira TAGOH [Sat, 5 Nov 2011 05:47:46 +0000 (01:47 -0400)]
Allow fallback for input method modules

Accept a :-separated list of module names in GTK_IM_MODULE and
the corresponding setting, to deal a bit better with broken
situations.

https://bugzilla.gnome.org/show_bug.cgi?id=603559

12 years agogtk: add annotations for some GtkSymbolicColor constructors
Torsten Schönfeld [Sat, 15 Oct 2011 17:34:06 +0000 (19:34 +0200)]
gtk: add annotations for some GtkSymbolicColor constructors

https://bugzilla.gnome.org/show_bug.cgi?id=661859

12 years agox11: Fix window manager change detection
Rui Matos [Sat, 5 Nov 2011 05:36:52 +0000 (01:36 -0400)]
x11: Fix window manager change detection

Since the wmspec_check_window doesn't have a corresponding GdkWindow we can't
rely on the get_event_window() return value to get the XID from. Just use the
XID from the XEvent directly.

https://bugzilla.gnome.org/show_bug.cgi?id=662953

12 years agoMark gtk_dialog_new_with_buttons as NULL-terminated
Benjamin Moody [Sat, 5 Nov 2011 05:26:48 +0000 (01:26 -0400)]
Mark gtk_dialog_new_with_buttons as NULL-terminated

https://bugzilla.gnome.org/show_bug.cgi?id=663073

12 years agoPop up context menus at the right device
Matthias Clasen [Sat, 5 Nov 2011 05:23:06 +0000 (01:23 -0400)]
Pop up context menus at the right device

When multiple pointers are in play, we need to be careful
not to loose track of the device between receiving a button
press and popping up a menu.

https://bugzilla.gnome.org/show_bug.cgi?id=663396

12 years agoGtkWindow: Use new begin_resize_drag api
Matthias Clasen [Sat, 5 Nov 2011 05:12:50 +0000 (01:12 -0400)]
GtkWindow: Use new begin_resize_drag api

We have an event, so the correct thing to do is to pass
the device into the function that we are calling. GDK
just grew a variant that takes a device, for this purpose.

https://bugzilla.gnome.org/show_bug.cgi?id=663444

12 years agoWayland: Adapt to GdkWindowImpl api change
Matthias Clasen [Sat, 5 Nov 2011 05:12:26 +0000 (01:12 -0400)]
Wayland: Adapt to GdkWindowImpl api change

12 years agoBroadway: Adapt to GdkWindowImpl API change
Matthias Clasen [Sat, 5 Nov 2011 05:12:07 +0000 (01:12 -0400)]
Broadway: Adapt to GdkWindowImpl API change

12 years agoQuartz: Adapt to GdkWindowImpl api change
Matthias Clasen [Sat, 5 Nov 2011 05:11:50 +0000 (01:11 -0400)]
Quartz: Adapt to GdkWindowImpl api change

12 years agowin32: Adapt to GdkWindowImpl api change
Matthias Clasen [Sat, 5 Nov 2011 05:11:18 +0000 (01:11 -0400)]
win32: Adapt to GdkWindowImpl api change

12 years agoAdd device-taking variants of begin_resize/move_drag
Matthias Clasen [Sat, 5 Nov 2011 05:10:16 +0000 (01:10 -0400)]
Add device-taking variants of begin_resize/move_drag

This was one of the last places where display->core_pointer was
used in non-deprecated code paths.

12 years agoGdkDeviceManager: some reshuffling of docs
Matthias Clasen [Sat, 5 Nov 2011 03:38:11 +0000 (23:38 -0400)]
GdkDeviceManager: some reshuffling of docs

12 years agotests: Disable accel test until fixed
Bastien Nocera [Fri, 4 Nov 2011 16:39:12 +0000 (16:39 +0000)]
tests: Disable accel test until fixed

12 years agogtk: Add test program for keycode parsing
Bastien Nocera [Thu, 3 Nov 2011 18:53:19 +0000 (18:53 +0000)]
gtk: Add test program for keycode parsing

https://bugzilla.gnome.org/show_bug.cgi?id=662755

12 years agogtk: Add accel with keycode parsing functions
Bastien Nocera [Thu, 3 Nov 2011 15:39:57 +0000 (15:39 +0000)]
gtk: Add accel with keycode parsing functions

Which handle accelerators with keycodes as well as keyvals,
so we can use it in applications that use GtkCellRendererAccel's
"Other" mode of operations (namely gnome-control-center and
gnome-settings-daemon).

https://bugzilla.gnome.org/show_bug.cgi?id=662755

12 years agoFix make check
Matthias Clasen [Fri, 4 Nov 2011 03:58:46 +0000 (23:58 -0400)]
Fix make check

12 years agointrospection: Include deprecated headers for scanner too
Colin Walters [Thu, 3 Nov 2011 19:27:16 +0000 (15:27 -0400)]
introspection: Include deprecated headers for scanner too

https://bugzilla.gnome.org/show_bug.cgi?id=663345

12 years agoUpdated POTFILES.in
Piotr Drąg [Wed, 2 Nov 2011 21:12:53 +0000 (22:12 +0100)]
Updated POTFILES.in

12 years agoMake sure we only show icons in the file selector bookmarks toolbar
Alexander Larsson [Wed, 2 Nov 2011 13:46:53 +0000 (14:46 +0100)]
Make sure we only show icons in the file selector bookmarks toolbar

This looked really bad in non-gnome settings where default is to
show text too.

12 years agoRevert a change to the plug/socket headers
Matthias Clasen [Wed, 2 Nov 2011 12:28:34 +0000 (08:28 -0400)]
Revert a change to the plug/socket headers

I was trying to avoid including gtk.h here, but this breaks
some of our tests, and there's a good chance that 3rd party
code also relies on this include.

12 years agoRemove some more uses of gdk_window_get_pointer
Matthias Clasen [Wed, 2 Nov 2011 11:33:21 +0000 (07:33 -0400)]
Remove some more uses of gdk_window_get_pointer

12 years agoRemove one instance of gdk_window_get_pointer
Matthias Clasen [Wed, 2 Nov 2011 11:20:28 +0000 (07:20 -0400)]
Remove one instance of gdk_window_get_pointer

12 years agoRemove various internal uses of deprecated api
Matthias Clasen [Wed, 2 Nov 2011 11:08:53 +0000 (07:08 -0400)]
Remove various internal uses of deprecated api

12 years agoDon't warn about deprecations in deprecated/
Matthias Clasen [Wed, 2 Nov 2011 11:08:13 +0000 (07:08 -0400)]
Don't warn about deprecations in deprecated/

12 years agoMove deprecated gtkwidget style api to gtkstyle
Matthias Clasen [Wed, 2 Nov 2011 10:45:10 +0000 (06:45 -0400)]
Move deprecated gtkwidget style api to gtkstyle

12 years agoDon't warn about deprecations in deprecated/
Matthias Clasen [Wed, 2 Nov 2011 05:21:49 +0000 (01:21 -0400)]
Don't warn about deprecations in deprecated/

We know we are deprecated here, no need to warn.

12 years agoMove gtkstyle and gtkrc to deprecated/
Matthias Clasen [Wed, 2 Nov 2011 05:15:21 +0000 (01:15 -0400)]
Move gtkstyle and gtkrc to deprecated/

This required a somewhat more substantial include reshuffling.
Some typedefs have been moved to gtkiconfactory.h and to
gtksettings.h.

12 years agoMove wholly deprecated files to a subdirectory
Matthias Clasen [Wed, 2 Nov 2011 02:52:32 +0000 (22:52 -0400)]
Move wholly deprecated files to a subdirectory

Also install their headers to a subdirectory.

12 years agoMove gtk_draw_insertion_cursor out of gtkstyle.[hc]
Matthias Clasen [Wed, 2 Nov 2011 03:50:19 +0000 (23:50 -0400)]
Move gtk_draw_insertion_cursor out of gtkstyle.[hc]

This function does not use GtkStyle at all and is not deprecated.

12 years agoDrop DISABLE_DEPRECATED guards here, too
Matthias Clasen [Wed, 2 Nov 2011 02:52:56 +0000 (22:52 -0400)]
Drop DISABLE_DEPRECATED guards here, too

12 years agoDon't use *DISABLE_DEPRECATED guards
Matthias Clasen [Wed, 2 Nov 2011 02:35:57 +0000 (22:35 -0400)]
Don't use *DISABLE_DEPRECATED guards

Instead define GDK_DISABLE_DEPRECATION_WARNINGS where appropriate.

12 years agoDon't use *_SINGLE_INCLUDES defines
Matthias Clasen [Wed, 2 Nov 2011 02:35:05 +0000 (22:35 -0400)]
Don't use *_SINGLE_INCLUDES defines

GLib now outlaws single includes always, anyway.

12 years agoDon't use *_DISABLE_DEPRECATED
Matthias Clasen [Wed, 2 Nov 2011 02:14:45 +0000 (22:14 -0400)]
Don't use *_DISABLE_DEPRECATED

Instead of undefining the DISABLE_DEPRECATED guards,
define the GDK_DISABLE_DEPRECATION_WARNING macro where needed.
Also replace INCLUDES by AM_CPPFLAGS to shut up automake.

12 years agoDon't use deprecated GValue api
Matthias Clasen [Wed, 2 Nov 2011 02:05:29 +0000 (22:05 -0400)]
Don't use deprecated GValue api

12 years agogtk-demo: Don't use deprecated code
Benjamin Otte [Fri, 28 Oct 2011 20:18:31 +0000 (13:18 -0700)]
gtk-demo: Don't use deprecated code

12 years agotests: Disable fontselection deprecation warnings
Benjamin Otte [Fri, 28 Oct 2011 20:17:52 +0000 (13:17 -0700)]
tests: Disable fontselection deprecation warnings

This test tests deprecated code...

12 years agotooltip: Don't use deprecated API
Benjamin Otte [Fri, 28 Oct 2011 20:12:02 +0000 (13:12 -0700)]
tooltip: Don't use deprecated API

12 years agotooltip: Remove unused variables
Benjamin Otte [Fri, 28 Oct 2011 17:58:51 +0000 (10:58 -0700)]
tooltip: Remove unused variables

12 years agoiconview: Keep the device for dnd autoscroll
Benjamin Otte [Fri, 28 Oct 2011 17:23:05 +0000 (10:23 -0700)]
iconview: Keep the device for dnd autoscroll

This is necessary to query the device's coordinates when doing the
scrolling.

12 years agotable: Define GDK_DISABLE_DEPRECATION_WARNINGS
Benjamin Otte [Fri, 28 Oct 2011 16:26:37 +0000 (09:26 -0700)]
table: Define GDK_DISABLE_DEPRECATION_WARNINGS

12 years agohandlebox: Define GDK_DISABLE_DEPRECATION_WARNINGS
Benjamin Otte [Fri, 28 Oct 2011 16:26:28 +0000 (09:26 -0700)]
handlebox: Define GDK_DISABLE_DEPRECATION_WARNINGS

12 years agofontsel: Define GDK_DISABLE_DEPRECATION_WARNINGS
Benjamin Otte [Fri, 28 Oct 2011 16:20:03 +0000 (09:20 -0700)]
fontsel: Define GDK_DISABLE_DEPRECATION_WARNINGS

12 years agogdk: Move a bunch of deprecated code to a new file
Benjamin Otte [Fri, 28 Oct 2011 15:34:30 +0000 (08:34 -0700)]
gdk: Move a bunch of deprecated code to a new file

The new file defines GDK_DISABLE_DEPRECATION_WARNINGS so it can happily
use deprecated APIs.

This commit moves those functions there that use deprecated functions
and currently cause warnings.

With this commit, GDK compiles without deprecation warnings.

12 years agodisplay: Don't use deprecated functions
Benjamin Otte [Fri, 28 Oct 2011 15:13:03 +0000 (08:13 -0700)]
display: Don't use deprecated functions

When synthesizing crossing events, actually query the position of the
device we care about instead of using the core pointer every time.

12 years agox11: Do fallback resize without deprecated functions
Benjamin Otte [Fri, 28 Oct 2011 15:04:11 +0000 (08:04 -0700)]
x11: Do fallback resize without deprecated functions

After consulting with Carlos, we agreed that it should be enough to grab
the core pointer instead of doing a full grab. If it turns out that's
wrong, we need to adapt the internal API for resizes to take the device
doing the resize.

12 years agox11: Don't use deprecated function
Benjamin Otte [Fri, 28 Oct 2011 14:08:29 +0000 (07:08 -0700)]
x11: Don't use deprecated function

Use the replacement instead.

12 years agotests: Remove unused variables
Benjamin Otte [Thu, 13 Oct 2011 07:26:37 +0000 (00:26 -0700)]
tests: Remove unused variables

12 years agobox: Fix includes so hbox/vbox compile warning-free
Benjamin Otte [Thu, 6 Oct 2011 01:48:29 +0000 (18:48 -0700)]
box: Fix includes so hbox/vbox compile warning-free

And make sure most of the code is included before undeffing deprecated
code.

12 years agoDon't use deprecated Pango api
Matthias Clasen [Wed, 2 Nov 2011 01:22:14 +0000 (21:22 -0400)]
Don't use deprecated Pango api

12 years agoDon't use g_value_set_char
Matthias Clasen [Wed, 2 Nov 2011 01:18:27 +0000 (21:18 -0400)]
Don't use g_value_set_char

12 years agoDon't use deprecated Pango api
Matthias Clasen [Wed, 2 Nov 2011 01:13:35 +0000 (21:13 -0400)]
Don't use deprecated Pango api

12 years agoGDK: Adapt to GLib thread api changes
Matthias Clasen [Wed, 2 Nov 2011 01:11:04 +0000 (21:11 -0400)]
GDK: Adapt to GLib thread api changes

12 years agoGtkSearchEngineSimple: adapt the GLib thread api changes
Matthias Clasen [Wed, 2 Nov 2011 01:06:09 +0000 (21:06 -0400)]
GtkSearchEngineSimple: adapt the GLib thread api changes

12 years agoiconview: layout items immediately when setting a GtkTreeModel
Cosimo Cecchi [Tue, 1 Nov 2011 00:33:41 +0000 (20:33 -0400)]
iconview: layout items immediately when setting a GtkTreeModel

As the draw handler expects the items to be laid out already, we cannot
queue a layout here to avoid a race condition with the resize that is
queued immediately after, which in turn would lead to a segfault later
in the paint_item() implementation.

https://bugzilla.gnome.org/show_bug.cgi?id=663138

12 years agoradiotoolbutton: Fix the introspection annotations
Emmanuele Bassi [Thu, 27 Oct 2011 18:03:11 +0000 (19:03 +0100)]
radiotoolbutton: Fix the introspection annotations

Everything that deals with a group has to be fixed.

Plus, we have NULL checks without allowing NULL arguments; since NULL
arguments are perfectly fine, we can relax the argument checks.

https://bugzilla.gnome.org/show_bug.cgi?id=662870

12 years agoradiotoolbutton: Fix the annotation for get_group()
Emmanuele Bassi [Thu, 27 Oct 2011 17:51:38 +0000 (18:51 +0100)]
radiotoolbutton: Fix the annotation for get_group()

Use the same annotation used by gtk_radio_button_get_group().

https://bugzilla.gnome.org/show_bug.cgi?id=662870

12 years agogtk: Fix XIGrabKeycode usage
Bastien Nocera [Thu, 27 Oct 2011 10:09:26 +0000 (11:09 +0100)]
gtk: Fix XIGrabKeycode usage

A modifier of "0" is still a modifier and must be submitted normally.
A num_modifiers of 0 is essentially a noop in the server.

As mentioned by Peter Hutterer <peter.hutterer@who-t.net>

https://bugzilla.gnome.org/show_bug.cgi?id=662839

12 years agoPrint dialog: small keynav improvement
Matthias Clasen [Thu, 27 Oct 2011 01:51:36 +0000 (21:51 -0400)]
Print dialog: small keynav improvement

Mark the page range entry and the copies spin button as
activates-default.

https://bugzilla.gnome.org/show_bug.cgi?id=662670

12 years agotests: Store keycode in tree for testaccel
Bastien Nocera [Wed, 26 Oct 2011 11:47:07 +0000 (12:47 +0100)]
tests: Store keycode in tree for testaccel

Useful for testing keys without a keysym.

12 years agogdk: Translate keyboard brightness keys
Bastien Nocera [Tue, 25 Oct 2011 13:36:47 +0000 (14:36 +0100)]
gdk: Translate keyboard brightness keys

https://bugzilla.gnome.org/show_bug.cgi?id=662628

12 years agogdk: Make gen-keyname-table.pl work again
Bastien Nocera [Tue, 25 Oct 2011 13:34:27 +0000 (14:34 +0100)]
gdk: Make gen-keyname-table.pl work again

keyname-table.h was modified by hand, and gen-keyname-table.pl
couldn't be used to generate that file again.

https://bugzilla.gnome.org/show_bug.cgi?id=662628

12 years agoUpdate grid tests to match
Matthias Clasen [Wed, 26 Oct 2011 03:20:37 +0000 (23:20 -0400)]
Update grid tests to match

The previous fix changed some test results here.

12 years agoFix gtk_grid_attach_next_to
Matthias Clasen [Wed, 26 Oct 2011 03:18:21 +0000 (23:18 -0400)]
Fix gtk_grid_attach_next_to

The function did not behave as intended when @sibling is NULL.
Also add an example to the docs to clarify the intended behaviour.

12 years agogtkrc.key.mac: add Command-cursor text navigation
Michael Natterer [Tue, 25 Oct 2011 20:19:11 +0000 (22:19 +0200)]
gtkrc.key.mac: add Command-cursor text navigation

and some emacs-ish Control bindings that work in native widgets.
Patch from Michael Hutchinson.
(cherry picked from commit ccf12f7b406ecbd8f0c26b0e6dc86d4593144dab)

12 years agogtkrc.key.mac: remove half the file, it was an accidential double paste
Michael Natterer [Tue, 25 Oct 2011 15:01:25 +0000 (17:01 +0200)]
gtkrc.key.mac: remove half the file, it was an accidential double paste
(cherry picked from commit 79a92f99a9dbdc7b1a651b0e8665807bd89c6632)

12 years agoPost-release version bump
Matthias Clasen [Tue, 25 Oct 2011 14:22:15 +0000 (10:22 -0400)]
Post-release version bump

Halfway to 666 !

12 years agoBump version to 3.3.2
Matthias Clasen [Tue, 25 Oct 2011 13:15:50 +0000 (09:15 -0400)]
Bump version to 3.3.2

12 years agoUpdates
Matthias Clasen [Tue, 25 Oct 2011 11:37:32 +0000 (07:37 -0400)]
Updates

12 years agoFix more test breakage
Matthias Clasen [Fri, 14 Oct 2011 19:52:24 +0000 (15:52 -0400)]
Fix more test breakage

12 years agoa11y: Hack around infinite loops in parent setting
Benjamin Otte [Mon, 3 Oct 2011 15:05:40 +0000 (17:05 +0200)]
a11y: Hack around infinite loops in parent setting

This is kind of a hack to get rid of infinite loops that occur when
child accessibles try to set their parent upon creation but the parent
accessible creates its children in the initialize vfunc. Because in that
case, the parent will not have an accessible set when the child tries to
access it, because it is still initializing itself. Which will cause a
new accessible to be created.

https://bugzilla.gnome.org/show_bug.cgi?id=660687

12 years agoFix make check
Matthias Clasen [Fri, 14 Oct 2011 15:43:40 +0000 (11:43 -0400)]
Fix make check

Somebody committed a behaviour change that broke his own
tests...tsk, tsk.

12 years agoAdd a css parser test for transparent
Matthias Clasen [Fri, 14 Oct 2011 15:23:43 +0000 (11:23 -0400)]
Add a css parser test for transparent

12 years agoprintunixdialog: fix a GtkTable->GtkGrid typo
Cosimo Cecchi [Mon, 24 Oct 2011 20:31:50 +0000 (16:31 -0400)]
printunixdialog: fix a GtkTable->GtkGrid typo

Code was treating the GtkScrolledWindow as a grid, not the grid itself.

12 years agoFix handling of GtkCellRendererProgress::inverted
Matthias Clasen [Mon, 24 Oct 2011 17:50:00 +0000 (13:50 -0400)]
Fix handling of GtkCellRendererProgress::inverted

We were setting the wrong field.
https://bugzilla.redhat.com/show_bug.cgi?id=747761

12 years agonotebook: update tab area allocation when switching page
Cosimo Cecchi [Mon, 24 Oct 2011 17:12:21 +0000 (13:12 -0400)]
notebook: update tab area allocation when switching page

When the active page is switched, it's important
gtk_notebook_pages_allocate() is called after the bulk of
gtk_notebook_real_switch_page() is run, as the former allocates a
different space according to the currently active tab, which is set by
the latter.
gtk_notebook_pages_allocate() already calls gtk_notebook_redraw_tabs()
when the allocation changes, so just move its call down to
gtk_notebook_real_switch_page() to fix the bug.

https://bugzilla.gnome.org/show_bug.cgi?id=662629

12 years agowin32: fix unterminated #ifdef error
Dieter Verfaillie [Sun, 23 Oct 2011 19:43:16 +0000 (21:43 +0200)]
win32: fix unterminated #ifdef error

By removing all ifdefs as gtk/gtkwin32.c is only built
on win32 anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=662481

12 years agotooltip: only update shape if the window is realized
Rui Matos [Sat, 22 Oct 2011 16:38:29 +0000 (17:38 +0100)]
tooltip: only update shape if the window is realized

If we get a composited-changed signal before the tooltip is ever realized we
have nothing to do.

This actually prevents a segfault in maybe_update_shape() because calling
gtk_widget_get_window() on a non-realized widget returns NULL.

https://bugzilla.gnome.org/show_bug.cgi?id=662467

12 years agogtk: move _gtk_modules_has_mixed_deps() to gtkmodlesprivate.h
Michael Natterer [Sun, 23 Oct 2011 11:57:07 +0000 (13:57 +0200)]
gtk: move _gtk_modules_has_mixed_deps() to gtkmodlesprivate.h

and remove gtkmainprivate.h completely.

12 years agogtk: clean up the private horror
Michael Natterer [Sat, 22 Oct 2011 06:48:13 +0000 (08:48 +0200)]
gtk: clean up the private horror

- add gtkmodulesprivate.h and move stuff there from gtkprivate.h
- add gtkprivate.c and move stuff there from gtkmain.c
- add gtkwin32.c and move stuff there from gtkmain.c
- don't redefine GTK_DATADIR and friends in gtkprivate.h
- have _gtk_get_datadir() and friends on all platforms
- remove the horrid hacks where gtkprivate.h can't be included,
  or must be included later due to redefinition of the compile-time
  directories

12 years agogtkquartz: don't free the string returned by get_bundle_path()
Michael Natterer [Sat, 22 Oct 2011 21:08:32 +0000 (23:08 +0200)]
gtkquartz: don't free the string returned by get_bundle_path()

It's statically allocated.
(cherry picked from commit c040b03c2e32a773a4d9cf4019050c2f8a5b91ce)

12 years agoquartz: don't return FALSE from GdkDevice::query_state()
Michael Natterer [Sat, 22 Oct 2011 19:32:49 +0000 (21:32 +0200)]
quartz: don't return FALSE from GdkDevice::query_state()

Not finding a child window to return is not a failure.

12 years agoUpdated German translation
Hendrik Knackstedt [Fri, 21 Oct 2011 22:38:28 +0000 (00:38 +0200)]
Updated German translation

12 years agoGtkRange: use the right widget for coordinate translation
Cosimo Cecchi [Fri, 21 Oct 2011 20:30:34 +0000 (16:30 -0400)]
GtkRange: use the right widget for coordinate translation

GtkRange needs to check if its allocation intersects with the resize
grip allocation (trimming its own allocation if it does).
In order to do that, it needs to translate its allocation into window
coordinates, and before that, find the window to whose the allocation
is relative; code goes all the way finding the right parent widget, but
then doesn't actually use it when translating the coordinates, leading
to using the wrong rectangles for the intersection check.

https://bugzilla.gnome.org/show_bug.cgi?id=662308

12 years agoFix document generation in out of tree builds
Sjoerd Simons [Fri, 21 Oct 2011 13:55:50 +0000 (15:55 +0200)]
Fix document generation in out of tree builds

https://bugzilla.gnome.org/show_bug.cgi?id=661032

12 years agoFix natural/min widht calculations for empty grids
Matthias Clasen [Fri, 21 Oct 2011 20:23:03 +0000 (16:23 -0400)]
Fix natural/min widht calculations for empty grids

https://bugzilla.gnome.org/show_bug.cgi?id=660139

12 years agoAdd GtkSwitch to widget-factory
Matthias Clasen [Fri, 21 Oct 2011 02:15:41 +0000 (22:15 -0400)]
Add GtkSwitch to widget-factory

12 years agoDistribute tests/css/parser/selector.errors
Matthias Clasen [Fri, 21 Oct 2011 01:51:21 +0000 (21:51 -0400)]
Distribute tests/css/parser/selector.errors

https://bugzilla.gnome.org/show_bug.cgi?id=662024

12 years agoDon't refer to --sync anymore
Matthias Clasen [Fri, 21 Oct 2011 01:48:54 +0000 (21:48 -0400)]
Don't refer to --sync anymore

That commandline option got replaced with an environment variable,
so mention that in the warning text.

https://bugzilla.gnome.org/show_bug.cgi?id=662132

12 years agoDND: Work better with XI2
Matthias Clasen [Fri, 21 Oct 2011 00:59:50 +0000 (20:59 -0400)]
DND: Work better with XI2

It turns out that simply using XIGrabKeycode instead of XGrabKey
makes the DND keyboard support mostly work (there seem to be some
minor issues with modifiers). This means we no longer grab the
keyboard actively during DND, which in turn makes Alt-Tab and
other window manager shortcuts work again during DND.

At the same time, bring the DND key handling code into the
multi-backend work, by checking for X11 and XI2 at runtime,
in addition to compile time.

12 years agotreemodel: document gtk_tree_path_free() as allow-none
Cosimo Cecchi [Wed, 19 Oct 2011 18:47:50 +0000 (14:47 -0400)]
treemodel: document gtk_tree_path_free() as allow-none

https://bugzilla.gnome.org/show_bug.cgi?id=662230

12 years agogtk: GtkToolbar returns invalid paths when adding tool items
Stef Walter [Wed, 19 Oct 2011 11:17:18 +0000 (13:17 +0200)]
gtk: GtkToolbar returns invalid paths when adding tool items

 * Calculate siblings_path on demand, so that it's always correct
   and doesn't get out of sync with the toolbar state.

https://bugzilla.gnome.org/show_bug.cgi?id=662177

12 years agotooltip: add support for opacity and rounded corners for tooltips
Cosimo Cecchi [Thu, 6 Oct 2011 21:06:57 +0000 (17:06 -0400)]
tooltip: add support for opacity and rounded corners for tooltips

Rounded corners now will always work, using XShape in case we're not
running a composite manager.
Also, setting an RGBA visual (if available) on the tooltip toplevel
enables them to be transparent if the theme specifies so.

https://bugzilla.gnome.org/show_bug.cgi?id=599617

12 years agoGMountOperation on OpenBSD: remove the need for kvm(3)
Antoine Jacoutot [Sat, 15 Oct 2011 09:27:47 +0000 (11:27 +0200)]
GMountOperation on OpenBSD: remove the need for kvm(3)

kvm(3) is considered a deprecated interface, so make
GMountOperation::show-processes use the recommended sysctl(3) interface
instead. This also removes the need to link with libkvm.

https://bugzilla.gnome.org/show_bug.cgi?id=661835