]> Pileus Git - ~andy/gtk/log
~andy/gtk
13 years agoAdd sufficient API to make gail work
Matthias Clasen [Fri, 24 Dec 2010 01:11:38 +0000 (20:11 -0500)]
Add sufficient API to make gail work

The accessible implementations should really be folded into
gtk proper. Until that happens, we need some more guts exposed...

13 years agoRemove sealed members from GtkMenuShell
Matthias Clasen [Thu, 23 Dec 2010 23:21:53 +0000 (18:21 -0500)]
Remove sealed members from GtkMenuShell

13 years agoRemove sealed members from GtkMenu
Matthias Clasen [Thu, 23 Dec 2010 20:50:18 +0000 (15:50 -0500)]
Remove sealed members from GtkMenu

13 years agoUpdated Spanish translation
Jorge Gonzalez [Thu, 23 Dec 2010 19:37:52 +0000 (20:37 +0100)]
Updated Spanish translation

13 years agoAdded UG translation
Gheyret T.Kenji [Thu, 23 Dec 2010 19:17:15 +0000 (20:17 +0100)]
Added UG translation

13 years agoAdded UG translation
Gheyret T.Kenji [Thu, 23 Dec 2010 19:11:32 +0000 (20:11 +0100)]
Added UG translation

13 years agoAdded UG translation
Gheyret T.Kenji [Thu, 23 Dec 2010 18:18:55 +0000 (19:18 +0100)]
Added UG translation

13 years agoReserve space for a pointer in GtkDrawingArea
Matthias Clasen [Thu, 23 Dec 2010 18:01:21 +0000 (13:01 -0500)]
Reserve space for a pointer in GtkDrawingArea

It was pointed out that this will let us add a private pointer
without abi break in the future, should we ever need one.

13 years agoDrop long-obsolete linux framebuffer APIs
Matthias Clasen [Thu, 23 Dec 2010 17:58:00 +0000 (12:58 -0500)]
Drop long-obsolete linux framebuffer APIs

The functions to set frames on windows stopped being interesting
when the linux framebuffer port was dropped, many years ago.

Similar functionality may come back with client-side decorations
in the future.

13 years agoGtkCellRendererText: use PANGO_PIXELS_CEIL for text_width
Kristian Rietveld [Thu, 23 Dec 2010 17:41:23 +0000 (18:41 +0100)]
GtkCellRendererText: use PANGO_PIXELS_CEIL for text_width

Usually pango_layout_get_pixel_extents() is used, which uses
PANGO_PIXELS_CEIL on the rectangle's width.  This commit makes the new
function gtk_cell_renderer_text_get_preferred_width() consistent with
this.

This fixes rounding errors on Mac OS X, where we were seeing tree views
with a double height for a single line of text, while the usual single
row height would have been sufficient.

13 years agoHide GtkTreeViewColumn buttons when header_window is not visible
Kristian Rietveld [Thu, 23 Dec 2010 17:19:11 +0000 (18:19 +0100)]
Hide GtkTreeViewColumn buttons when header_window is not visible

13 years agoDelimit the other_entries array
Kristian Rietveld [Thu, 23 Dec 2010 13:38:03 +0000 (14:38 +0100)]
Delimit the other_entries array

13 years agoSome small doc corrections
Matthias Clasen [Thu, 23 Dec 2010 16:18:50 +0000 (11:18 -0500)]
Some small doc corrections

13 years agoUpdate keymap docs to match current behaviour
Matthias Clasen [Thu, 23 Dec 2010 15:06:08 +0000 (10:06 -0500)]
Update keymap docs to match current behaviour

An overlooked API change in the gdk-backend work: many of the
keymap functions used to accept NULL to mean 'default keymap'.
They no longer do, so update the docs to match the new behaviour.

13 years agoquartz: internalize _gdk_quartz_window_set_needs_display_in_region
Kristian Rietveld [Thu, 23 Dec 2010 13:13:35 +0000 (14:13 +0100)]
quartz: internalize _gdk_quartz_window_set_needs_display_in_region

13 years agoquartz: move gdkgeometry-quartz into gdkwindow-quartz.c
Kristian Rietveld [Thu, 23 Dec 2010 13:11:38 +0000 (14:11 +0100)]
quartz: move gdkgeometry-quartz into gdkwindow-quartz.c

13 years agoquartz: reorder gdkprivate-quartz.h and related clean up
Kristian Rietveld [Thu, 23 Dec 2010 13:08:40 +0000 (14:08 +0100)]
quartz: reorder gdkprivate-quartz.h and related clean up

13 years agoquartz: _gdk_quartz_visual -> gdk_quartz_visual
Kristian Rietveld [Thu, 23 Dec 2010 12:44:44 +0000 (13:44 +0100)]
quartz: _gdk_quartz_visual -> gdk_quartz_visual

13 years agoquartz: _gdk_quartz_screen -> gdk_quartz_screen
Kristian Rietveld [Thu, 23 Dec 2010 12:43:29 +0000 (13:43 +0100)]
quartz: _gdk_quartz_screen -> gdk_quartz_screen

13 years agoquartz: _gdk_quartz_keymap -> gdk_quartz_keymap
Kristian Rietveld [Thu, 23 Dec 2010 12:41:50 +0000 (13:41 +0100)]
quartz: _gdk_quartz_keymap -> gdk_quartz_keymap

13 years agoquartz: _gdk_quartz_display -> gdk_quartz_display
Kristian Rietveld [Thu, 23 Dec 2010 12:39:07 +0000 (13:39 +0100)]
quartz: _gdk_quartz_display -> gdk_quartz_display

13 years agoquartz: we must provide a window on drag begin now
Kristian Rietveld [Thu, 23 Dec 2010 12:20:24 +0000 (13:20 +0100)]
quartz: we must provide a window on drag begin now

13 years agoquartz: fix some more typos
Kristian Rietveld [Thu, 23 Dec 2010 12:20:14 +0000 (13:20 +0100)]
quartz: fix some more typos

13 years agoquartz: fix typo
Kristian Rietveld [Thu, 23 Dec 2010 12:19:17 +0000 (13:19 +0100)]
quartz: fix typo

13 years agoquartz: move utils to gdkutils-quartz.c
Kristian Rietveld [Thu, 23 Dec 2010 12:14:49 +0000 (13:14 +0100)]
quartz: move utils to gdkutils-quartz.c

13 years agoquartz: remove gdkmain-quartz.c
Kristian Rietveld [Thu, 23 Dec 2010 12:09:01 +0000 (13:09 +0100)]
quartz: remove gdkmain-quartz.c

13 years agoquartz: Clean up header files, use same arrangement as X11 backend
Kristian Rietveld [Thu, 23 Dec 2010 11:59:26 +0000 (12:59 +0100)]
quartz: Clean up header files, use same arrangement as X11 backend

13 years agoUpdated Kurdish translations
Erdal Ronahi [Thu, 23 Dec 2010 13:14:10 +0000 (14:14 +0100)]
Updated Kurdish translations

13 years agoAllow inspection of construct-only object properties
Matthias Clasen [Thu, 23 Dec 2010 05:40:58 +0000 (00:40 -0500)]
Allow inspection of construct-only object properties

The 'Properties' button here is not really modifying the property
in any way, so it doesn't make sense to disable it just because
the object can only be set at construction.

This lets us poke at e.g. the cell area of an icon view.

13 years agoFix spacing.
Brian Cameron [Thu, 23 Dec 2010 03:58:40 +0000 (21:58 -0600)]
Fix spacing.

13 years agoFix bug #637721, fix function prototype.
Brian Cameron [Thu, 23 Dec 2010 03:55:12 +0000 (21:55 -0600)]
Fix bug #637721, fix function prototype.

13 years agoBetter fix for keynav dnd
Matthias Clasen [Thu, 23 Dec 2010 03:33:40 +0000 (22:33 -0500)]
Better fix for keynav dnd

With proper rounding, we can go back to a 'small step' of 1.

13 years agoAbort a drag when a keynav drop has not destination
Matthias Clasen [Thu, 23 Dec 2010 02:46:23 +0000 (21:46 -0500)]
Abort a drag when a keynav drop has not destination

This was claimed to cause problems for Chromium, see bug 599130.

Also work around apparent rounding errors in XIWarpDevice by
setting the 'small step' for keynav dnd to 2 instead of 1 - I notice
that a warp seems to sometimes warp a little less than I tell it to,
and if I tell it to only move by 1 pixel then moving less means
that you are stuck.

13 years agoAdd a default handler for drag_failed
Matthias Clasen [Wed, 22 Dec 2010 23:46:29 +0000 (18:46 -0500)]
Add a default handler for drag_failed

And use it in notebook dnd.

13 years agoAvoid invariant checking spew in gnome-shell
Matthias Clasen [Wed, 22 Dec 2010 21:53:26 +0000 (16:53 -0500)]
Avoid invariant checking spew in gnome-shell

For normal toplevels, visible is tightly bound to mapped, but for
something like a toplevel that exists within a Clutter stage we
may want to make mapping dependenton external factors, so we shouldn't
actually checked that !mapped toplevels are !visible.

Pointed out by Owen Taylor,

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

13 years agoquartz: Make keyboard input work again
Kristian Rietveld [Wed, 22 Dec 2010 21:33:05 +0000 (22:33 +0100)]
quartz: Make keyboard input work again

13 years agoImplement process_updates_recurse for GdkOffscreenWindow
Kristian Rietveld [Wed, 22 Dec 2010 19:41:06 +0000 (20:41 +0100)]
Implement process_updates_recurse for GdkOffscreenWindow

Makes offscreen windows work again.

13 years agoDon't return PropertyNotify.state as modifier state
Matthias Clasen [Wed, 22 Dec 2010 19:33:09 +0000 (14:33 -0500)]
Don't return PropertyNotify.state as modifier state

It isn't, it really is a GdkPropertyState.

Reported by Tim Janik in bug 633795.

13 years agoAvoid a crash
Matthias Clasen [Wed, 22 Dec 2010 19:08:03 +0000 (14:08 -0500)]
Avoid a crash

pointed out in bug 533745

13 years agodocs: fix a typo
Javier Jardón [Wed, 22 Dec 2010 17:05:50 +0000 (17:05 +0000)]
docs: fix a typo

13 years agoquartz: rename GdkDeviceManagerCore -> GdkQuartzDeviceManagerCore
Kristian Rietveld [Wed, 22 Dec 2010 16:30:29 +0000 (17:30 +0100)]
quartz: rename GdkDeviceManagerCore -> GdkQuartzDeviceManagerCore

13 years agoquartz: Rename GdkDeviceCore -> GdkQuartzDeviceCore
Kristian Rietveld [Wed, 22 Dec 2010 16:25:46 +0000 (17:25 +0100)]
quartz: Rename GdkDeviceCore -> GdkQuartzDeviceCore

13 years agoquartz: commit forgotten file
Kristian Rietveld [Wed, 22 Dec 2010 16:25:31 +0000 (17:25 +0100)]
quartz: commit forgotten file

13 years agoquartz: GdkDeviceCore: check for NULL pointer
Kristian Rietveld [Wed, 22 Dec 2010 16:08:25 +0000 (17:08 +0100)]
quartz: GdkDeviceCore: check for NULL pointer

13 years agoquartz: register before/after process all updates
Kristian Rietveld [Wed, 22 Dec 2010 16:06:13 +0000 (17:06 +0100)]
quartz: register before/after process all updates

13 years agoquartz: set all methods on window class, not root window class
Kristian Rietveld [Wed, 22 Dec 2010 16:04:40 +0000 (17:04 +0100)]
quartz: set all methods on window class, not root window class

13 years agoquartz: set window_type in display_class
Kristian Rietveld [Wed, 22 Dec 2010 15:56:58 +0000 (16:56 +0100)]
quartz: set window_type in display_class

13 years agoquartz: introduce GdkQuartzWindow (as a subclass of GdkWindow)
Kristian Rietveld [Wed, 22 Dec 2010 15:56:44 +0000 (16:56 +0100)]
quartz: introduce GdkQuartzWindow (as a subclass of GdkWindow)

13 years agoquartz: rename GdkQuartzWindow to GdkQuartzNSWindow
Kristian Rietveld [Wed, 22 Dec 2010 15:55:56 +0000 (16:55 +0100)]
quartz: rename GdkQuartzWindow to GdkQuartzNSWindow

13 years agoquartz: fix typo
Kristian Rietveld [Wed, 22 Dec 2010 15:17:43 +0000 (16:17 +0100)]
quartz: fix typo

13 years agoquartz: add new files to Makefile.am
Kristian Rietveld [Wed, 22 Dec 2010 15:15:42 +0000 (16:15 +0100)]
quartz: add new files to Makefile.am

13 years agoGdkDisplayManager: register Quartz backend when applicable
Kristian Rietveld [Wed, 22 Dec 2010 15:14:09 +0000 (16:14 +0100)]
GdkDisplayManager: register Quartz backend when applicable

13 years agoquartz: create gdkdisplaymanager-quartz.h
Kristian Rietveld [Wed, 22 Dec 2010 15:13:50 +0000 (16:13 +0100)]
quartz: create gdkdisplaymanager-quartz.h

13 years agoquartz: gdkselection-quartz.c: fix typos
Kristian Rietveld [Wed, 22 Dec 2010 15:07:05 +0000 (16:07 +0100)]
quartz: gdkselection-quartz.c: fix typos

13 years agoquartz: re-introduce _gdk_quartz_display_list_devices
Kristian Rietveld [Wed, 22 Dec 2010 15:05:12 +0000 (16:05 +0100)]
quartz: re-introduce _gdk_quartz_display_list_devices

13 years agogdkwindow-quartz: fix typo
Kristian Rietveld [Wed, 22 Dec 2010 14:47:46 +0000 (15:47 +0100)]
gdkwindow-quartz: fix typo

13 years agogtkclipboard-quartz: use accessors and add missing include
Kristian Rietveld [Wed, 22 Dec 2010 14:46:10 +0000 (15:46 +0100)]
gtkclipboard-quartz: use accessors and add missing include

13 years agogtkdnd-quartz: use accessors and add missing include
Kristian Rietveld [Wed, 22 Dec 2010 14:45:44 +0000 (15:45 +0100)]
gtkdnd-quartz: use accessors and add missing include

13 years agoquartz: gtkquartz.c: add missing include
Kristian Rietveld [Wed, 22 Dec 2010 14:44:58 +0000 (15:44 +0100)]
quartz: gtkquartz.c: add missing include

13 years agogdk: Fix toplevel makefile to build non-x11 backends again
Kristian Rietveld [Wed, 22 Dec 2010 14:07:12 +0000 (15:07 +0100)]
gdk: Fix toplevel makefile to build non-x11 backends again

13 years agoquartz: remove duplicate definition of gdk_flush
Kristian Rietveld [Wed, 22 Dec 2010 14:06:55 +0000 (15:06 +0100)]
quartz: remove duplicate definition of gdk_flush

13 years agoquartz: gdkkeys-quartz.c: remove duplicate function
Kristian Rietveld [Wed, 22 Dec 2010 14:06:44 +0000 (15:06 +0100)]
quartz: gdkkeys-quartz.c: remove duplicate function

13 years agoquartz: remove duplicate functions from gdkmain-quartz.c
Kristian Rietveld [Wed, 22 Dec 2010 14:06:32 +0000 (15:06 +0100)]
quartz: remove duplicate functions from gdkmain-quartz.c

13 years agoquartz: make gdkwindow-quartz.c build again
Kristian Rietveld [Wed, 22 Dec 2010 13:50:39 +0000 (14:50 +0100)]
quartz: make gdkwindow-quartz.c build again

13 years agoquartz: adapt gdkdisplay-quartz.c to new function names
Kristian Rietveld [Wed, 22 Dec 2010 13:45:35 +0000 (14:45 +0100)]
quartz: adapt gdkdisplay-quartz.c to new function names

13 years agoquartz: add prototype for _gdk_quartz_screen_new()
Kristian Rietveld [Wed, 22 Dec 2010 13:45:25 +0000 (14:45 +0100)]
quartz: add prototype for _gdk_quartz_screen_new()

13 years agoquartz: convert GdkVisual
Kristian Rietveld [Wed, 22 Dec 2010 13:42:25 +0000 (14:42 +0100)]
quartz: convert GdkVisual

13 years agoquartz: Fix screen implementation, rename to GdkQuartzScreen
Kristian Rietveld [Wed, 22 Dec 2010 13:34:15 +0000 (14:34 +0100)]
quartz: Fix screen implementation, rename to GdkQuartzScreen

13 years agoquartz: Port gdkkeys-quartz.c to new API
Kristian Rietveld [Wed, 22 Dec 2010 13:29:24 +0000 (14:29 +0100)]
quartz: Port gdkkeys-quartz.c to new API

13 years agoquartz: Remove gdkinput code
Kristian Rietveld [Wed, 22 Dec 2010 13:24:20 +0000 (14:24 +0100)]
quartz: Remove gdkinput code

13 years agoquartz: gdkeventloop-quartz.c: fix
Kristian Rietveld [Wed, 22 Dec 2010 13:16:52 +0000 (14:16 +0100)]
quartz: gdkeventloop-quartz.c: fix

13 years agoquartz: Fix gdkevents-quartz.c
Kristian Rietveld [Wed, 22 Dec 2010 13:14:48 +0000 (14:14 +0100)]
quartz: Fix gdkevents-quartz.c

13 years agoquartz: Make GdkQuartzDisplay compile
Kristian Rietveld [Wed, 22 Dec 2010 13:13:41 +0000 (14:13 +0100)]
quartz: Make GdkQuartzDisplay compile

13 years agoquartz: Fix display manager, move over code from gdkmain-quartz.c
Kristian Rietveld [Wed, 22 Dec 2010 13:13:21 +0000 (14:13 +0100)]
quartz: Fix display manager, move over code from gdkmain-quartz.c

13 years agoquartz: gdkcursor-quartz.h: fix cut-n-paste error
Kristian Rietveld [Wed, 22 Dec 2010 12:53:01 +0000 (13:53 +0100)]
quartz: gdkcursor-quartz.h: fix cut-n-paste error

13 years agoquartz: gdkdevice-core: fix up
Kristian Rietveld [Wed, 22 Dec 2010 12:48:04 +0000 (13:48 +0100)]
quartz: gdkdevice-core: fix up

13 years agoquartz: gdkdevice-core.c: use GdkQuartzCursor
Kristian Rietveld [Wed, 22 Dec 2010 12:44:31 +0000 (13:44 +0100)]
quartz: gdkdevice-core.c: use GdkQuartzCursor

13 years agoquartz: add forgotten file (gdkdnd-quartz.h)
Kristian Rietveld [Wed, 22 Dec 2010 12:43:43 +0000 (13:43 +0100)]
quartz: add forgotten file (gdkdnd-quartz.h)

13 years agoquartz: move bits into gdkcursor-quartz.h (private header for now)
Kristian Rietveld [Wed, 22 Dec 2010 12:43:14 +0000 (13:43 +0100)]
quartz: move bits into gdkcursor-quartz.h (private header for now)

13 years agoquartz: remove GdkCursorPrivate typedef
Kristian Rietveld [Wed, 22 Dec 2010 12:40:00 +0000 (13:40 +0100)]
quartz: remove GdkCursorPrivate typedef

13 years agoquartz: Remove API for extension checks
Kristian Rietveld [Wed, 22 Dec 2010 12:37:49 +0000 (13:37 +0100)]
quartz: Remove API for extension checks

13 years agoquartz: convert GdkQuartzWindow to new drag context API
Kristian Rietveld [Wed, 22 Dec 2010 12:32:14 +0000 (13:32 +0100)]
quartz: convert GdkQuartzWindow to new drag context API

13 years agoquartz: fix up GdkDragContext conversion
Kristian Rietveld [Wed, 22 Dec 2010 12:31:58 +0000 (13:31 +0100)]
quartz: fix up GdkDragContext conversion

13 years agoFix typo
Kristian Rietveld [Wed, 22 Dec 2010 09:45:29 +0000 (10:45 +0100)]
Fix typo

13 years agoquartz: turn quartz GdkCursor into GObject
Kristian Rietveld [Wed, 22 Dec 2010 09:45:07 +0000 (10:45 +0100)]
quartz: turn quartz GdkCursor into GObject

13 years agoDeal with property encoding functions for quartz
Matthias Clasen [Fri, 17 Dec 2010 18:34:04 +0000 (13:34 -0500)]
Deal with property encoding functions for quartz

13 years agoImplement selection related vfuncs for quartz
Matthias Clasen [Fri, 17 Dec 2010 18:29:54 +0000 (13:29 -0500)]
Implement selection related vfuncs for quartz

13 years agoImplement selection owner vfuncs for quartz
Matthias Clasen [Fri, 17 Dec 2010 18:25:04 +0000 (13:25 -0500)]
Implement selection owner vfuncs for quartz

13 years agoImplement window property vfuncs for quartz
Matthias Clasen [Wed, 22 Dec 2010 02:29:50 +0000 (21:29 -0500)]
Implement window property vfuncs for quartz

13 years agoImplement keyval vfuncs for quartz
Matthias Clasen [Fri, 17 Dec 2010 18:18:17 +0000 (13:18 -0500)]
Implement keyval vfuncs for quartz

13 years agoDrop gdk_set_locale from quartz
Matthias Clasen [Fri, 17 Dec 2010 17:59:07 +0000 (12:59 -0500)]
Drop gdk_set_locale from quartz

13 years agoImplement test vfuncs for quartz
Matthias Clasen [Wed, 22 Dec 2010 02:24:25 +0000 (21:24 -0500)]
Implement test vfuncs for quartz

13 years agoImplement atom-related vfuncs for quartz
Matthias Clasen [Fri, 17 Dec 2010 17:51:38 +0000 (12:51 -0500)]
Implement atom-related vfuncs for quartz

13 years agoImplement get_keymap vfunc for quartz
Matthias Clasen [Fri, 17 Dec 2010 17:46:46 +0000 (12:46 -0500)]
Implement get_keymap vfunc for quartz

13 years agoImplement create_window_impl vfunc for quartz
Matthias Clasen [Fri, 17 Dec 2010 17:34:40 +0000 (12:34 -0500)]
Implement create_window_impl vfunc for quartz

13 years agoDrop gdk_spawn functions
Matthias Clasen [Fri, 17 Dec 2010 17:31:18 +0000 (12:31 -0500)]
Drop gdk_spawn functions

These have been removed since the implementation was just
a straight wrapper around g_spawn.

13 years agoDrop unimplemented foreign window functions
Matthias Clasen [Fri, 17 Dec 2010 17:30:13 +0000 (12:30 -0500)]
Drop unimplemented foreign window functions

These have been relegated to backend-specific

13 years agoImplement event_data_{copy,free} for quartz
Matthias Clasen [Fri, 17 Dec 2010 17:25:47 +0000 (12:25 -0500)]
Implement event_data_{copy,free} for quartz

13 years agoImplement notify_startup_complete vfunc for quartz
Matthias Clasen [Fri, 17 Dec 2010 17:19:14 +0000 (12:19 -0500)]
Implement notify_startup_complete vfunc for quartz

13 years agoRemove a duplicate doc comment
Matthias Clasen [Fri, 17 Dec 2010 17:15:55 +0000 (12:15 -0500)]
Remove a duplicate doc comment