]> Pileus Git - ~andy/gtk/log
~andy/gtk
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

13 years agoImplement get_next_serial for quartz
Matthias Clasen [Fri, 17 Dec 2010 17:11:10 +0000 (12:11 -0500)]
Implement get_next_serial for quartz

13 years agogdk_display_warp_pointer is in the frontend now
Matthias Clasen [Fri, 17 Dec 2010 17:07:38 +0000 (12:07 -0500)]
gdk_display_warp_pointer is in the frontend now

13 years agoImplment process_updates_recurse vfunc for quartz
Matthias Clasen [Fri, 17 Dec 2010 17:01:54 +0000 (12:01 -0500)]
Implment process_updates_recurse vfunc for quartz

13 years agoImplement has_pending and queue_events vfuncs for quartz
Matthias Clasen [Fri, 17 Dec 2010 16:46:22 +0000 (11:46 -0500)]
Implement has_pending and queue_events vfuncs for quartz

13 years agoDerive GdkDisplayManager for quartz
Matthias Clasen [Fri, 17 Dec 2010 16:38:02 +0000 (11:38 -0500)]
Derive GdkDisplayManager for quartz

13 years agoAdapt quartz device code to new ways
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.

13 years agoAdapt quartz visual code to new ways
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

13 years agoRename _gdk_dnd_init
Matthias Clasen [Fri, 17 Dec 2010 15:53:00 +0000 (10:53 -0500)]
Rename _gdk_dnd_init

13 years agoImplement dnd vtables for quartz
Matthias Clasen [Fri, 17 Dec 2010 15:52:14 +0000 (10:52 -0500)]
Implement dnd vtables for quartz

13 years agoConvert a bunch of visual related calls to use the screen vtable, 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

13 years agoConvert all GdkScreen methods to vtable calls, quartz backend
Matthias Clasen [Fri, 17 Dec 2010 14:50:21 +0000 (09:50 -0500)]
Convert all GdkScreen methods to vtable calls, quartz backend

13 years agoDerive GdkKeymap for Quartz
Matthias Clasen [Fri, 17 Dec 2010 14:38:26 +0000 (09:38 -0500)]
Derive GdkKeymap for Quartz

13 years agoMake display method vtable calls, quartz backend
Matthias Clasen [Wed, 22 Dec 2010 02:13:02 +0000 (21:13 -0500)]
Make display method vtable calls, quartz backend

13 years agoConvert all gdk_window methods to vtable calls in the 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

13 years agocontinue to install gdk-$TARGET-3.0.pc
Matthias Clasen [Wed, 22 Dec 2010 16:39:58 +0000 (11:39 -0500)]
continue to install gdk-$TARGET-3.0.pc

13 years agoAdd a section about gdk_spawn to migration guide
Matthias Clasen [Wed, 22 Dec 2010 16:13:31 +0000 (11:13 -0500)]
Add a section about gdk_spawn to migration guide

13 years agoFixed GtkGrid GtkContainerClass->forall() to not use a for loop.
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.

13 years agoDocument WINDOWING macros
Matthias Clasen [Wed, 22 Dec 2010 06:43:57 +0000 (01:43 -0500)]
Document WINDOWING macros

13 years agoMention GDK_BACKEND in the docs
Matthias Clasen [Wed, 22 Dec 2010 06:32:18 +0000 (01:32 -0500)]
Mention GDK_BACKEND in the docs

13 years agoFix the X backend docs
Matthias Clasen [Wed, 22 Dec 2010 06:31:15 +0000 (01:31 -0500)]
Fix the X backend docs

13 years agoGtkAboutDialog: Be slightly more flexible when listing credits
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

13 years agoShow translators properly in the new about dialog
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.

13 years agoUse getters and setters for GtkPrintJob in gtkprintbackendtest.c
Robert Ancell [Wed, 22 Dec 2010 04:36:47 +0000 (15:36 +1100)]
Use getters and setters for GtkPrintJob in gtkprintbackendtest.c

13 years agoFix DSO link issues
Robert Ancell [Wed, 22 Dec 2010 04:01:50 +0000 (15:01 +1100)]
Fix DSO link issues

13 years agoBump version
Matthias Clasen [Wed, 22 Dec 2010 01:17:35 +0000 (20:17 -0500)]
Bump version

13 years agoFix distcheck
Matthias Clasen [Wed, 22 Dec 2010 00:37:18 +0000 (19:37 -0500)]
Fix distcheck

13 years agoFix a blunder in grab handling
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.

13 years agoSet a default value for rgba style properties
Matthias Clasen [Tue, 21 Dec 2010 23:17:58 +0000 (18:17 -0500)]
Set a default value for rgba style properties

13 years agoFix a tag mismatch in the docs
Matthias Clasen [Tue, 21 Dec 2010 23:15:43 +0000 (18:15 -0500)]
Fix a tag mismatch in the docs

13 years agoFix inclusion of gdkconfig.h
Mike Gorse [Tue, 21 Dec 2010 23:18:07 +0000 (18:18 -0500)]
Fix inclusion of gdkconfig.h

13 years agoAdd gtkselectionprivate.h to Makefile
Matthias Clasen [Tue, 21 Dec 2010 22:57:40 +0000 (17:57 -0500)]
Add gtkselectionprivate.h to Makefile

13 years agoDrop no-longer-existing header from Makefile
Matthias Clasen [Tue, 21 Dec 2010 22:36:50 +0000 (17:36 -0500)]
Drop no-longer-existing header from Makefile

13 years agoDon't install headers twice
Matthias Clasen [Tue, 21 Dec 2010 21:37:16 +0000 (16:37 -0500)]
Don't install headers twice

13 years agoUpdate NEWS
Matthias Clasen [Tue, 21 Dec 2010 21:25:27 +0000 (16:25 -0500)]
Update NEWS

13 years agoTemporarily disable combo box entry test
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.

13 years agoAdd gdk_disable_multidevice to headers
Matthias Clasen [Tue, 21 Dec 2010 19:32:59 +0000 (14:32 -0500)]
Add gdk_disable_multidevice to headers

13 years agoReturn an appropriate GtkStyle from gtk_rc_get_style_by_paths()
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

13 years agoImplement some more vfuncs in GdkOffscreenWindow
Matthias Clasen [Tue, 21 Dec 2010 19:20:19 +0000 (14:20 -0500)]
Implement some more vfuncs in GdkOffscreenWindow

13 years agoMore include shuffling; keep X extension headers to ourselves
Matthias Clasen [Tue, 21 Dec 2010 19:17:02 +0000 (14:17 -0500)]
More include shuffling; keep X extension headers to ourselves

13 years agoCheck the right library for symbols
Matthias Clasen [Tue, 21 Dec 2010 17:41:29 +0000 (12:41 -0500)]
Check the right library for symbols

13 years agoFix another typo
Matthias Clasen [Tue, 21 Dec 2010 17:32:34 +0000 (12:32 -0500)]
Fix another typo

13 years agoFix a silly typo
Matthias Clasen [Tue, 21 Dec 2010 17:19:03 +0000 (12:19 -0500)]
Fix a silly typo

13 years agoDisable the GtkPlug xi2 hack more thoroughly
Matthias Clasen [Tue, 21 Dec 2010 16:29:18 +0000 (11:29 -0500)]
Disable the GtkPlug xi2 hack more thoroughly

13 years agoDetangle includes for GdkDeviceManager subclasses
Matthias Clasen [Tue, 21 Dec 2010 16:27:27 +0000 (11:27 -0500)]
Detangle includes for GdkDeviceManager subclasses

13 years agoDetangle includes for device subclasses
Matthias Clasen [Tue, 21 Dec 2010 15:37:21 +0000 (10:37 -0500)]
Detangle includes for device subclasses

13 years agoForgotten file
Matthias Clasen [Tue, 21 Dec 2010 14:56:42 +0000 (09:56 -0500)]
Forgotten file

13 years agoRename GdkAppLaunchContextX11 to GdkX11AppLaunchContext
Matthias Clasen [Tue, 21 Dec 2010 07:32:15 +0000 (02:32 -0500)]
Rename GdkAppLaunchContextX11 to GdkX11AppLaunchContext

13 years agoRename GdkDragContextX11 to GdkX11DragContext
Matthias Clasen [Tue, 21 Dec 2010 07:23:30 +0000 (02:23 -0500)]
Rename GdkDragContextX11 to GdkX11DragContext

13 years agoDon't export gdk_x11_cursor_finalize
Matthias Clasen [Tue, 21 Dec 2010 06:43:08 +0000 (01:43 -0500)]
Don't export gdk_x11_cursor_finalize

13 years agoGet abicheck to almost pass again
Matthias Clasen [Tue, 21 Dec 2010 06:41:51 +0000 (01:41 -0500)]
Get abicheck to almost pass again

13 years agoRename x11-specific GdkDevice[Manager] implementations
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.

13 years agoRename GdkDevice[Manager]Core to GdkX11Device[Manager]Core
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.

13 years agoRename GdkKeymapX11 to GdkX11Keymap
Matthias Clasen [Tue, 21 Dec 2010 04:32:48 +0000 (23:32 -0500)]
Rename GdkKeymapX11 to GdkX11Keymap

And add a gdkx11keys.h header file.

13 years agoRename GdkDisplayManagerX11 to GdkX11DisplayManager
Matthias Clasen [Tue, 21 Dec 2010 04:14:47 +0000 (23:14 -0500)]
Rename GdkDisplayManagerX11 to GdkX11DisplayManager

And add a gdkx11displaymanager.h header file.

13 years agogdk: Make GdkWindow abstract
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.

13 years agogdk: Use G_DEFINE_TYPE for GdkWindow
Benjamin Otte [Tue, 21 Dec 2010 02:39:32 +0000 (03:39 +0100)]
gdk: Use G_DEFINE_TYPE for GdkWindow

13 years agox11: Add a GdkX11Window class for X11 windows
Benjamin Otte [Tue, 21 Dec 2010 02:34:31 +0000 (03:34 +0100)]
x11: Add a GdkX11Window class for X11 windows

13 years agogdk: Allow display subclasses to override the type used for 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.

13 years agogdk: Create windows via _gdk_display_create_window()
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.

13 years agox11: Export GdkX11Screen
Benjamin Otte [Tue, 21 Dec 2010 01:40:45 +0000 (02:40 +0100)]
x11: Export GdkX11Screen

13 years agox11: Rename GdkScreenX11 to GdkX11Screen
Benjamin Otte [Tue, 21 Dec 2010 01:32:13 +0000 (02:32 +0100)]
x11: Rename GdkScreenX11 to GdkX11Screen

13 years agox11: Export GdkX11Visual
Benjamin Otte [Tue, 21 Dec 2010 01:17:04 +0000 (02:17 +0100)]
x11: Export GdkX11Visual

13 years agox11: Rename GdkVisualX11 to GdkX11Visual
Benjamin Otte [Tue, 21 Dec 2010 01:13:40 +0000 (02:13 +0100)]
x11: Rename GdkVisualX11 to GdkX11Visual

13 years agox11: Have a proper GdkVisualX11Class struct
Benjamin Otte [Tue, 21 Dec 2010 01:09:30 +0000 (02:09 +0100)]
x11: Have a proper GdkVisualX11Class struct

13 years agox11: Export GdkX11Cursor
Benjamin Otte [Tue, 21 Dec 2010 01:05:12 +0000 (02:05 +0100)]
x11: Export GdkX11Cursor

13 years agox11: typedef GdkX11Display to GdkDisplay
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.

13 years agox11: Export GdkX11Display
Benjamin Otte [Mon, 20 Dec 2010 18:42:53 +0000 (19:42 +0100)]
x11: Export GdkX11Display

13 years agox11: Rename GdkDisplayX11 to 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.