]>
Pileus Git - ~andy/gtk/log
Robert Ancell [Wed, 22 Dec 2010 04:01:50 +0000 (15:01 +1100)]
Fix DSO link issues
Matthias Clasen [Wed, 22 Dec 2010 01:17:35 +0000 (20:17 -0500)]
Bump version
Matthias Clasen [Wed, 22 Dec 2010 00:37:18 +0000 (19:37 -0500)]
Fix distcheck
Matthias Clasen [Tue, 21 Dec 2010 23:42:30 +0000 (18:42 -0500)]
Fix a blunder in grab handling
This was causing segfaults which would go away when compiled with
debug options.
Matthias Clasen [Tue, 21 Dec 2010 23:17:58 +0000 (18:17 -0500)]
Set a default value for rgba style properties
Matthias Clasen [Tue, 21 Dec 2010 23:15:43 +0000 (18:15 -0500)]
Fix a tag mismatch in the docs
Mike Gorse [Tue, 21 Dec 2010 23:18:07 +0000 (18:18 -0500)]
Fix inclusion of gdkconfig.h
Matthias Clasen [Tue, 21 Dec 2010 22:57:40 +0000 (17:57 -0500)]
Add gtkselectionprivate.h to Makefile
Matthias Clasen [Tue, 21 Dec 2010 22:36:50 +0000 (17:36 -0500)]
Drop no-longer-existing header from Makefile
Matthias Clasen [Tue, 21 Dec 2010 21:37:16 +0000 (16:37 -0500)]
Don't install headers twice
Matthias Clasen [Tue, 21 Dec 2010 21:25:27 +0000 (16:25 -0500)]
Update NEWS
Matthias Clasen [Tue, 21 Dec 2010 19:43:17 +0000 (14:43 -0500)]
Temporarily disable combo box entry test
This one got broken by the treeview refactoring, I assume.
Matthias Clasen [Tue, 21 Dec 2010 19:32:59 +0000 (14:32 -0500)]
Add gdk_disable_multidevice to headers
Owen W. Taylor [Mon, 20 Dec 2010 18:48:44 +0000 (13:48 -0500)]
Return an appropriate GtkStyle from gtk_rc_get_style_by_paths()
Always returning NULL (no match) from gtk_rc_get_style_by_paths()
means that looking up colors and style properties based on the
GtkStyle will give default values instead of themed values. We can
do better by returning a GtkStyle based on a GtkWidgetPath that we
figure out from the values passed in to get_style_by_paths().
https://bugzilla.gnome.org/show_bug.cgi?id=637520
Matthias Clasen [Tue, 21 Dec 2010 19:20:19 +0000 (14:20 -0500)]
Implement some more vfuncs in GdkOffscreenWindow
Matthias Clasen [Tue, 21 Dec 2010 19:17:02 +0000 (14:17 -0500)]
More include shuffling; keep X extension headers to ourselves
Matthias Clasen [Tue, 21 Dec 2010 17:41:29 +0000 (12:41 -0500)]
Check the right library for symbols
Matthias Clasen [Tue, 21 Dec 2010 17:32:34 +0000 (12:32 -0500)]
Fix another typo
Matthias Clasen [Tue, 21 Dec 2010 17:19:03 +0000 (12:19 -0500)]
Fix a silly typo
Matthias Clasen [Tue, 21 Dec 2010 16:29:18 +0000 (11:29 -0500)]
Disable the GtkPlug xi2 hack more thoroughly
Matthias Clasen [Tue, 21 Dec 2010 16:27:27 +0000 (11:27 -0500)]
Detangle includes for GdkDeviceManager subclasses
Matthias Clasen [Tue, 21 Dec 2010 15:37:21 +0000 (10:37 -0500)]
Detangle includes for device subclasses
Matthias Clasen [Tue, 21 Dec 2010 14:56:42 +0000 (09:56 -0500)]
Forgotten file
Matthias Clasen [Tue, 21 Dec 2010 07:32:15 +0000 (02:32 -0500)]
Rename GdkAppLaunchContextX11 to GdkX11AppLaunchContext
Matthias Clasen [Tue, 21 Dec 2010 07:23:30 +0000 (02:23 -0500)]
Rename GdkDragContextX11 to GdkX11DragContext
Matthias Clasen [Tue, 21 Dec 2010 06:43:08 +0000 (01:43 -0500)]
Don't export gdk_x11_cursor_finalize
Matthias Clasen [Tue, 21 Dec 2010 06:41:51 +0000 (01:41 -0500)]
Get abicheck to almost pass again
Matthias Clasen [Tue, 21 Dec 2010 06:32:01 +0000 (01:32 -0500)]
Rename x11-specific GdkDevice[Manager] implementations
Make them all fit in the gdk_x11_ prefix, and make the
get_type functions and standard macros available in headers.
Matthias Clasen [Tue, 21 Dec 2010 04:59:07 +0000 (23:59 -0500)]
Rename GdkDevice[Manager]Core to GdkX11Device[Manager]Core
This is mainly to avoid clash with the classes of the same
name in the quartz backend.
Matthias Clasen [Tue, 21 Dec 2010 04:32:48 +0000 (23:32 -0500)]
Rename GdkKeymapX11 to GdkX11Keymap
And add a gdkx11keys.h header file.
Matthias Clasen [Tue, 21 Dec 2010 04:14:47 +0000 (23:14 -0500)]
Rename GdkDisplayManagerX11 to GdkX11DisplayManager
And add a gdkx11displaymanager.h header file.
Benjamin Otte [Tue, 21 Dec 2010 02:54:15 +0000 (03:54 +0100)]
gdk: Make GdkWindow abstract
This way backend implementors get an error if they don't set
display_class->window_type to their subclass. And that's exactly what we
want.
Benjamin Otte [Tue, 21 Dec 2010 02:39:32 +0000 (03:39 +0100)]
gdk: Use G_DEFINE_TYPE for GdkWindow
Benjamin Otte [Tue, 21 Dec 2010 02:34:31 +0000 (03:34 +0100)]
x11: Add a GdkX11Window class for X11 windows
Benjamin Otte [Tue, 21 Dec 2010 02:13:55 +0000 (03:13 +0100)]
gdk: Allow display subclasses to override the type used for windows
We want to have different window types for different displays, so we can
write code like this:
#if GDK_WINDOWING_X11
if (GDK_IS_X11_WINDOW (window))
{
/* do x11 stuff */
}
else
#endif
#if GDK_WINDOWING_WAYLAND
if (GDK_IS_WAYLAND_WINDOW (window))
{
/* do wayland stuff */
}
else
#endif
{
/* do stuff for unsupported system */
}
This requires different GdkWindow types and we currently don't have
that, as only the GdkWindowImpl differs. With this method, every backend
defines a custom type that's just a simple subclass of GdkWindow. This
way GdkWindow behaves like all the other types (visuals, screens,
displays) and we can write code like the above.
Benjamin Otte [Tue, 21 Dec 2010 02:06:59 +0000 (03:06 +0100)]
gdk: Create windows via _gdk_display_create_window()
THe use of this function will become visible in the next commits. But
wrapping g_object_new() is a generally a good idea anyway.
Benjamin Otte [Tue, 21 Dec 2010 01:40:45 +0000 (02:40 +0100)]
x11: Export GdkX11Screen
Benjamin Otte [Tue, 21 Dec 2010 01:32:13 +0000 (02:32 +0100)]
x11: Rename GdkScreenX11 to GdkX11Screen
Benjamin Otte [Tue, 21 Dec 2010 01:17:04 +0000 (02:17 +0100)]
x11: Export GdkX11Visual
Benjamin Otte [Tue, 21 Dec 2010 01:13:40 +0000 (02:13 +0100)]
x11: Rename GdkVisualX11 to GdkX11Visual
Benjamin Otte [Tue, 21 Dec 2010 01:09:30 +0000 (02:09 +0100)]
x11: Have a proper GdkVisualX11Class struct
Benjamin Otte [Tue, 21 Dec 2010 01:05:12 +0000 (02:05 +0100)]
x11: Export GdkX11Cursor
Benjamin Otte [Mon, 20 Dec 2010 22:43:04 +0000 (23:43 +0100)]
x11: typedef GdkX11Display to GdkDisplay
This is for compatibility reasons. We want to change APIs that operate
on X11 objects to take the X11 objects as arguments. However, this would
break a lot of APIs and we'd like to avoid this, so we play this little
trick (we will use the same trick for the other X11 objects). Also,
gobject-introspection and other bindings can correctly attach the
functions to the correct types as it is the same scheme that GDK2 used
for pixmaps, windows and drawables.
For GTK 4, we will remove this trick, so apps should properly cast their
objects right now.
Unfortunately, I don't think there is a way to use
GDK_DISABLE_DEPRECATED or similar macros to check for proper type casts
while compiling ensure compatibility with future GDK versions. I'm free
to consider them though.
Benjamin Otte [Mon, 20 Dec 2010 18:42:53 +0000 (19:42 +0100)]
x11: Export GdkX11Display
Benjamin Otte [Mon, 20 Dec 2010 18:20:10 +0000 (19:20 +0100)]
x11: Rename GdkDisplayX11 to GdkX11Display
Also rename all the macros etc.
Benjamin Otte [Mon, 20 Dec 2010 16:14:04 +0000 (17:14 +0100)]
x11: Rename GdkDisplayX11 to GdkX11Display
Benjamin Otte [Mon, 20 Dec 2010 16:11:00 +0000 (17:11 +0100)]
API: gdk: GDK_DISPLAY_OBJECT() => GDK_DISPLAY()
GDK_DISPLAY_OBJECT is now deprecated. No need to keep failures from
gtk1 around.
Benjamin Otte [Mon, 20 Dec 2010 14:55:16 +0000 (15:55 +0100)]
x11: Move remaining APIs into gdkx11utils.h
Now gdkx.h is a clean header equivalent to gdk.h.
Benjamin Otte [Mon, 20 Dec 2010 14:52:49 +0000 (15:52 +0100)]
x11: Move atom API into gdkx11property.h
Benjamin Otte [Mon, 20 Dec 2010 14:49:17 +0000 (15:49 +0100)]
x11: Move selection-specific API into gdkx11selection.h
Benjamin Otte [Mon, 20 Dec 2010 14:42:37 +0000 (15:42 +0100)]
x11: Move display-specific APIs into gdkx11display.h
Benjamin Otte [Mon, 20 Dec 2010 14:35:05 +0000 (15:35 +0100)]
x11: Move screen-specific API into gdkx11screen.h
Benjamin Otte [Mon, 20 Dec 2010 14:29:17 +0000 (15:29 +0100)]
x11: Move visual-specific API into gdkx11visual.h
Benjamin Otte [Mon, 20 Dec 2010 14:25:50 +0000 (15:25 +0100)]
x11: Move cursor API into gdkx11cursor.h
Benjamin Otte [Mon, 20 Dec 2010 14:22:50 +0000 (15:22 +0100)]
x11: Split out public window API into gdkx11window.h
Benjamin Otte [Mon, 20 Dec 2010 14:05:47 +0000 (15:05 +0100)]
API: gdk: gdk_display_warp_device() => gdk_device_warp()
warping devices has nothing to do with displays, so putting it there
seems weird.
Benjamin Otte [Mon, 20 Dec 2010 13:07:11 +0000 (14:07 +0100)]
gdk: Move gdk_cursor_get_image() to the base class
.. and make it call a vfunc on the cursor
Benjamin Otte [Mon, 20 Dec 2010 12:57:48 +0000 (13:57 +0100)]
x11: Remove duplicated docs
They're in gdk/gdkdisplay.c now.
Benjamin Otte [Mon, 20 Dec 2010 12:55:46 +0000 (13:55 +0100)]
x11: Don't keep the display around anymore
Use gdk_cursor_get_display() instead.
Benjamin Otte [Mon, 20 Dec 2010 12:47:35 +0000 (13:47 +0100)]
gdk: Move gdk_cursor_get_display() out of the backends
Now that we store the display inside the cursor, that change is obvious.
Benjamin Otte [Mon, 20 Dec 2010 12:45:31 +0000 (13:45 +0100)]
gdk: Make display a property of GdkCursor
Benjamin Otte [Mon, 20 Dec 2010 12:35:39 +0000 (13:35 +0100)]
gdk: Make cursor-type a property of the cursor
Benjamin Otte [Mon, 20 Dec 2010 02:27:05 +0000 (03:27 +0100)]
API: gdk: Deprecate gdk_cursor_ref() and gdk_cursor_unref()
Now that GdkCursor is a GObject, it doesn't need custom refcount
handling anymore.
Benjamin Otte [Mon, 20 Dec 2010 02:13:47 +0000 (03:13 +0100)]
testgtk: Use g_object_unref instead of gdk_cursor_unref
Benjamin Otte [Mon, 20 Dec 2010 02:59:58 +0000 (03:59 +0100)]
gtk-demo: Use g_object_unref instead of gdk_cursor_unref
Benjamin Otte [Mon, 20 Dec 2010 02:14:38 +0000 (03:14 +0100)]
gtk: Use g_object_unref instead of gdk_cursor_unref
Benjamin Otte [Mon, 20 Dec 2010 02:23:44 +0000 (03:23 +0100)]
gdk: Use g_object_(un)ref instead of gdk_cursor_(un)ref
Benjamin Otte [Mon, 20 Dec 2010 02:12:33 +0000 (03:12 +0100)]
x11: Use g_object_(un)ref instead of gdk_cursor_(un)ref
Benjamin Otte [Mon, 20 Dec 2010 02:09:31 +0000 (03:09 +0100)]
gdk: Make GdkCursor a GObject
Also port the X11 implementation. Win32 and Quartz need to be ported
still.
Benjamin Otte [Mon, 20 Dec 2010 01:20:48 +0000 (02:20 +0100)]
gdk: Move GdkCursor definition into a private header
Benjamin Otte [Mon, 20 Dec 2010 01:07:27 +0000 (02:07 +0100)]
x11: Move GdkCursorPrivate into the C file
Benjamin Otte [Mon, 20 Dec 2010 00:56:07 +0000 (01:56 +0100)]
x11: Use public API to access cursor's xcursor
Matthias Clasen [Fri, 17 Dec 2010 06:48:12 +0000 (01:48 -0500)]
Downgrade some Since tags
Matthias Clasen [Fri, 17 Dec 2010 05:46:04 +0000 (00:46 -0500)]
Add win32 implementation for foreign window functions
Matthias Clasen [Fri, 17 Dec 2010 05:43:07 +0000 (00:43 -0500)]
Drop sm_client_id implementation for Quartz
Matthias Clasen [Fri, 17 Dec 2010 05:41:55 +0000 (00:41 -0500)]
Drop sm_client_id win32 implementation
Matthias Clasen [Fri, 17 Dec 2010 05:04:17 +0000 (00:04 -0500)]
Reinstate the correct field value
Matthias Clasen [Fri, 17 Dec 2010 04:44:50 +0000 (23:44 -0500)]
Deal with property encoding functions
Move everything dealing with compound text to be X11 specific
Only gdk_text_property_to_utf8_list and gdk_utf8_to_string_target
are kept across backends, so add vfuncs for these.
Also, remove the non-multihead-safe variants of all these.
Matthias Clasen [Fri, 17 Dec 2010 02:45:57 +0000 (21:45 -0500)]
Avoid unnecessary use of gdk conversion routines
We can use use gtk_selection_data_get_uris, instead of
manually doing the conversion ourselves.
Matthias Clasen [Fri, 17 Dec 2010 01:25:32 +0000 (20:25 -0500)]
Add a vfunc for gdk_selection_convert
Matthias Clasen [Fri, 17 Dec 2010 01:10:11 +0000 (20:10 -0500)]
Add a vfunc for gdk_selection_property_get
Matthias Clasen [Fri, 17 Dec 2010 00:58:07 +0000 (19:58 -0500)]
Add a vfunc for gdk_selection_send_notify_for_display
Matthias Clasen [Fri, 17 Dec 2010 00:26:05 +0000 (19:26 -0500)]
Rename some private x11 backend functions to _gdk_x11
Matthias Clasen [Fri, 17 Dec 2010 00:22:44 +0000 (19:22 -0500)]
Add vfuncs for get/set_selection_owner
Matthias Clasen [Fri, 17 Dec 2010 00:00:01 +0000 (19:00 -0500)]
Add vfuncs for keyval and window property functions
The keyval functions should really be generic, and the window
property api should be completely revisited, but for now this
will allow us to proceed.
Matthias Clasen [Thu, 16 Dec 2010 16:33:43 +0000 (11:33 -0500)]
Drop g[dt]k_set_locale
These functions were essentially just calling setlocale anyway.
The X11 version was also setting a gdk_use_mb variable that
is not used anywhere.
Matthias Clasen [Fri, 17 Dec 2010 04:42:17 +0000 (23:42 -0500)]
Don't use gtk_set_locale
Matthias Clasen [Thu, 16 Dec 2010 06:21:49 +0000 (01:21 -0500)]
Add vfuncs for gdk_test apis
Matthias Clasen [Thu, 16 Dec 2010 05:37:39 +0000 (00:37 -0500)]
Add vfuncs for atoms
Matthias Clasen [Thu, 16 Dec 2010 05:08:42 +0000 (00:08 -0500)]
Add a vfunc for gdk_keymap_get_for_display
Matthias Clasen [Thu, 16 Dec 2010 04:49:31 +0000 (23:49 -0500)]
Rename private keymap symbols to _gdk_x11_keymap...
Matthias Clasen [Thu, 16 Dec 2010 04:35:15 +0000 (23:35 -0500)]
Rename the _gdk_xid_table functions
Matthias Clasen [Thu, 16 Dec 2010 04:18:38 +0000 (23:18 -0500)]
Remove gdk_net_wm_supports
This function is totally misnamed, only operates on the default
screen, and has a perfectly fine replacement in
gdk_x11_screen_supports_net_wm_hint.
Matthias Clasen [Thu, 16 Dec 2010 04:11:21 +0000 (23:11 -0500)]
Remove the --sync commandline option
Remove the --sync option and remove the possibility of backend-specific
commandline options altogether. --sync is being replaced by
a GDK_SYNCHRONIZE environment variable.
Matthias Clasen [Thu, 16 Dec 2010 03:45:37 +0000 (22:45 -0500)]
Remove unused _gdk_use_xshm global
Matthias Clasen [Thu, 16 Dec 2010 03:21:39 +0000 (22:21 -0500)]
Rename _gdk_window_move_resize_child
Rename _gdk_window_move_resize_child and _gdk_window_process_expose
to _gdk_x11.
Matthias Clasen [Thu, 16 Dec 2010 03:09:35 +0000 (22:09 -0500)]
Clean up gdkx.h a bit
Moving the direct-access redefinitions of various macros
to gdkprivate-x11.h and use that header throughout in x11/.
Also remove a workaround for a long-fixed X server bug.
Matthias Clasen [Thu, 16 Dec 2010 01:56:32 +0000 (20:56 -0500)]
drop dead function
Matthias Clasen [Thu, 16 Dec 2010 00:07:36 +0000 (19:07 -0500)]
Add a vfunc for _gdk_window_impl_new
Matthias Clasen [Wed, 15 Dec 2010 23:42:38 +0000 (18:42 -0500)]
Get rid of the _gdk_selection_property global