]>
Pileus Git - ~andy/gtk/log
Kristian Rietveld [Wed, 22 Dec 2010 13:29:24 +0000 (14:29 +0100)]
quartz: Port gdkkeys-quartz.c to new API
Kristian Rietveld [Wed, 22 Dec 2010 13:24:20 +0000 (14:24 +0100)]
quartz: Remove gdkinput code
Kristian Rietveld [Wed, 22 Dec 2010 13:16:52 +0000 (14:16 +0100)]
quartz: gdkeventloop-quartz.c: fix
Kristian Rietveld [Wed, 22 Dec 2010 13:14:48 +0000 (14:14 +0100)]
quartz: Fix gdkevents-quartz.c
Kristian Rietveld [Wed, 22 Dec 2010 13:13:41 +0000 (14:13 +0100)]
quartz: Make GdkQuartzDisplay compile
Kristian Rietveld [Wed, 22 Dec 2010 13:13:21 +0000 (14:13 +0100)]
quartz: Fix display manager, move over code from gdkmain-quartz.c
Kristian Rietveld [Wed, 22 Dec 2010 12:53:01 +0000 (13:53 +0100)]
quartz: gdkcursor-quartz.h: fix cut-n-paste error
Kristian Rietveld [Wed, 22 Dec 2010 12:48:04 +0000 (13:48 +0100)]
quartz: gdkdevice-core: fix up
Kristian Rietveld [Wed, 22 Dec 2010 12:44:31 +0000 (13:44 +0100)]
quartz: gdkdevice-core.c: use GdkQuartzCursor
Kristian Rietveld [Wed, 22 Dec 2010 12:43:43 +0000 (13:43 +0100)]
quartz: add forgotten file (gdkdnd-quartz.h)
Kristian Rietveld [Wed, 22 Dec 2010 12:43:14 +0000 (13:43 +0100)]
quartz: move bits into gdkcursor-quartz.h (private header for now)
Kristian Rietveld [Wed, 22 Dec 2010 12:40:00 +0000 (13:40 +0100)]
quartz: remove GdkCursorPrivate typedef
Kristian Rietveld [Wed, 22 Dec 2010 12:37:49 +0000 (13:37 +0100)]
quartz: Remove API for extension checks
Kristian Rietveld [Wed, 22 Dec 2010 12:32:14 +0000 (13:32 +0100)]
quartz: convert GdkQuartzWindow to new drag context API
Kristian Rietveld [Wed, 22 Dec 2010 12:31:58 +0000 (13:31 +0100)]
quartz: fix up GdkDragContext conversion
Kristian Rietveld [Wed, 22 Dec 2010 09:45:29 +0000 (10:45 +0100)]
Fix typo
Kristian Rietveld [Wed, 22 Dec 2010 09:45:07 +0000 (10:45 +0100)]
quartz: turn quartz GdkCursor into GObject
Matthias Clasen [Fri, 17 Dec 2010 18:34:04 +0000 (13:34 -0500)]
Deal with property encoding functions for quartz
Matthias Clasen [Fri, 17 Dec 2010 18:29:54 +0000 (13:29 -0500)]
Implement selection related vfuncs for quartz
Matthias Clasen [Fri, 17 Dec 2010 18:25:04 +0000 (13:25 -0500)]
Implement selection owner vfuncs for quartz
Matthias Clasen [Wed, 22 Dec 2010 02:29:50 +0000 (21:29 -0500)]
Implement window property vfuncs for quartz
Matthias Clasen [Fri, 17 Dec 2010 18:18:17 +0000 (13:18 -0500)]
Implement keyval vfuncs for quartz
Matthias Clasen [Fri, 17 Dec 2010 17:59:07 +0000 (12:59 -0500)]
Drop gdk_set_locale from quartz
Matthias Clasen [Wed, 22 Dec 2010 02:24:25 +0000 (21:24 -0500)]
Implement test vfuncs for quartz
Matthias Clasen [Fri, 17 Dec 2010 17:51:38 +0000 (12:51 -0500)]
Implement atom-related vfuncs for quartz
Matthias Clasen [Fri, 17 Dec 2010 17:46:46 +0000 (12:46 -0500)]
Implement get_keymap vfunc for quartz
Matthias Clasen [Fri, 17 Dec 2010 17:34:40 +0000 (12:34 -0500)]
Implement create_window_impl vfunc for quartz
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.
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
Matthias Clasen [Fri, 17 Dec 2010 17:25:47 +0000 (12:25 -0500)]
Implement event_data_{copy,free} for quartz
Matthias Clasen [Fri, 17 Dec 2010 17:19:14 +0000 (12:19 -0500)]
Implement notify_startup_complete vfunc for quartz
Matthias Clasen [Fri, 17 Dec 2010 17:15:55 +0000 (12:15 -0500)]
Remove a duplicate doc comment
Matthias Clasen [Fri, 17 Dec 2010 17:11:10 +0000 (12:11 -0500)]
Implement get_next_serial for quartz
Matthias Clasen [Fri, 17 Dec 2010 17:07:38 +0000 (12:07 -0500)]
gdk_display_warp_pointer is in the frontend now
Matthias Clasen [Fri, 17 Dec 2010 17:01:54 +0000 (12:01 -0500)]
Implment process_updates_recurse vfunc for quartz
Matthias Clasen [Fri, 17 Dec 2010 16:46:22 +0000 (11:46 -0500)]
Implement has_pending and queue_events vfuncs for quartz
Matthias Clasen [Fri, 17 Dec 2010 16:38:02 +0000 (11:38 -0500)]
Derive GdkDisplayManager for quartz
Matthias Clasen [Fri, 17 Dec 2010 16:19:37 +0000 (11:19 -0500)]
Adapt quartz device code to new ways
We will need to rename the Core implementations in X11/Quartz
to not clash, later.
Matthias Clasen [Fri, 17 Dec 2010 16:05:53 +0000 (11:05 -0500)]
Adapt quartz visual code to new ways
We may still need a subclass here later, not sure
Matthias Clasen [Fri, 17 Dec 2010 15:53:00 +0000 (10:53 -0500)]
Rename _gdk_dnd_init
Matthias Clasen [Fri, 17 Dec 2010 15:52:14 +0000 (10:52 -0500)]
Implement dnd vtables for quartz
Matthias Clasen [Fri, 17 Dec 2010 15:17:04 +0000 (10:17 -0500)]
Convert a bunch of visual related calls to use the screen vtable, quartz
Matthias Clasen [Fri, 17 Dec 2010 14:50:21 +0000 (09:50 -0500)]
Convert all GdkScreen methods to vtable calls, quartz backend
Matthias Clasen [Fri, 17 Dec 2010 14:38:26 +0000 (09:38 -0500)]
Derive GdkKeymap for Quartz
Matthias Clasen [Wed, 22 Dec 2010 02:13:02 +0000 (21:13 -0500)]
Make display method vtable calls, quartz backend
Matthias Clasen [Wed, 22 Dec 2010 02:12:04 +0000 (21:12 -0500)]
Convert all gdk_window methods to vtable calls in the quartz backend
Matthias Clasen [Wed, 22 Dec 2010 16:39:58 +0000 (11:39 -0500)]
continue to install gdk-$TARGET-3.0.pc
Matthias Clasen [Wed, 22 Dec 2010 16:13:31 +0000 (11:13 -0500)]
Add a section about gdk_spawn to migration guide
Tristan Van Berkom [Wed, 22 Dec 2010 12:21:44 +0000 (21:21 +0900)]
Fixed GtkGrid GtkContainerClass->forall() to not use a for loop.
This loop needs to be safe for removing children in a forall loop.
Matthias Clasen [Wed, 22 Dec 2010 06:43:57 +0000 (01:43 -0500)]
Document WINDOWING macros
Matthias Clasen [Wed, 22 Dec 2010 06:32:18 +0000 (01:32 -0500)]
Mention GDK_BACKEND in the docs
Matthias Clasen [Wed, 22 Dec 2010 06:31:15 +0000 (01:31 -0500)]
Fix the X backend docs
Matthias Clasen [Wed, 22 Dec 2010 06:03:58 +0000 (01:03 -0500)]
GtkAboutDialog: Be slightly more flexible when listing credits
Make sure we render credits ok that are occurring in the wild,
such as "Contact us at:", "<foo@bar>" or "guy1\nguy2\nguy3"
https://bugzilla.gnome.org/show_bug.cgi?id=637763
https://bugzilla.gnome.org/show_bug.cgi?id=637736
Matthias Clasen [Wed, 22 Dec 2010 05:31:05 +0000 (00:31 -0500)]
Show translators properly in the new about dialog
translator-credits is a single string, typically with newline-
separated names.
Robert Ancell [Wed, 22 Dec 2010 04:36:47 +0000 (15:36 +1100)]
Use getters and setters for GtkPrintJob in gtkprintbackendtest.c
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.