]>
Pileus Git - ~andy/gtk/log
Kristian Høgsberg [Fri, 11 Feb 2011 14:50:10 +0000 (09:50 -0500)]
wayland: Trim some unused struct fields
Kristian Høgsberg [Fri, 11 Feb 2011 04:00:12 +0000 (23:00 -0500)]
wayland: Drop empty gdkscreen-wayland.h
Kristian Høgsberg [Fri, 11 Feb 2011 03:51:23 +0000 (22:51 -0500)]
wayland: Drop GdkToplevelWayland and gdkwindow-wayland.h
Kristian Høgsberg [Fri, 11 Feb 2011 03:37:51 +0000 (22:37 -0500)]
wayland: Fix resizing from other corners than just botton-right
Kristian Høgsberg [Fri, 11 Feb 2011 03:21:48 +0000 (22:21 -0500)]
wayland: Remove some fprintf debug messages
Kristian Høgsberg [Fri, 11 Feb 2011 03:21:08 +0000 (22:21 -0500)]
wayland: Fix hiding and withdrawing surfaces
Kristian Høgsberg [Fri, 11 Feb 2011 03:04:26 +0000 (22:04 -0500)]
wayland: Keep a reference to the surface we last attached
Kristian Høgsberg [Fri, 11 Feb 2011 01:34:14 +0000 (20:34 -0500)]
wayland: Port over missing xkb functionality from X11 backend
Kristian Høgsberg [Thu, 10 Feb 2011 21:35:38 +0000 (16:35 -0500)]
wayland: Copy gdk_wayland_keymap_translate_keyboard_state from X11 backend
Kristian Høgsberg [Thu, 10 Feb 2011 21:34:40 +0000 (16:34 -0500)]
wayland: Adjust the hw keycode in key events for min_key_code
Kristian Høgsberg [Thu, 10 Feb 2011 19:08:53 +0000 (14:08 -0500)]
wayland: Add a few more cursors
Kristian Høgsberg [Thu, 10 Feb 2011 18:44:45 +0000 (13:44 -0500)]
gtkwidget: Only call X GDK functions when the window is an X window
Kristian Høgsberg [Thu, 10 Feb 2011 18:42:59 +0000 (13:42 -0500)]
wayland: Return surface coordinates and mask in window_at_position
Kristian Høgsberg [Thu, 10 Feb 2011 16:01:30 +0000 (11:01 -0500)]
wayland: Send visibility event after map
Kristian Høgsberg [Thu, 10 Feb 2011 16:01:09 +0000 (11:01 -0500)]
wayland: Fix indentation
Kristian Høgsberg [Thu, 10 Feb 2011 15:59:30 +0000 (10:59 -0500)]
wayland: Unref the keyboard focus surface when losing keyboard focus
Kristian Høgsberg [Thu, 10 Feb 2011 15:58:43 +0000 (10:58 -0500)]
wayland: Use GDK_NOTE for logging event debug messages
Kristian Høgsberg [Thu, 10 Feb 2011 15:57:33 +0000 (10:57 -0500)]
wayland: Set event screen
Kristian Høgsberg [Thu, 10 Feb 2011 15:54:10 +0000 (10:54 -0500)]
wayland: Pretend selection works, print debug message
Kristian Høgsberg [Thu, 10 Feb 2011 15:53:31 +0000 (10:53 -0500)]
wayland: Copy translate_keyboard_string() form x11 backend
Kristian Høgsberg [Thu, 10 Feb 2011 15:49:51 +0000 (10:49 -0500)]
wayland: Actually return device in _gdk_wayland_device_get_device()
Kristian Høgsberg [Thu, 10 Feb 2011 15:49:09 +0000 (10:49 -0500)]
wayland: Handle blank cursor
Kristian Høgsberg [Wed, 9 Feb 2011 21:36:15 +0000 (16:36 -0500)]
wayland: Clear modifier mask before restoring from keyboard_focus value
Kristian Høgsberg [Wed, 9 Feb 2011 20:27:08 +0000 (15:27 -0500)]
wayland: Consolidate device and devicemanager implementation
Kristian Høgsberg [Wed, 9 Feb 2011 19:48:29 +0000 (14:48 -0500)]
wayland: Support setting cursors
And a handful unrelated cleanups. Still doesn't really have an answer
for cursor themes.
Kristian Høgsberg [Tue, 8 Feb 2011 21:02:22 +0000 (16:02 -0500)]
wayland: Use wayland-egl
Kristian Høgsberg [Tue, 8 Feb 2011 13:12:59 +0000 (08:12 -0500)]
Track 2.99.3 API changes
Kristian Høgsberg [Sat, 8 Jan 2011 01:49:40 +0000 (20:49 -0500)]
Clean up buffer handling a bit
Kristian Høgsberg [Sat, 8 Jan 2011 01:22:16 +0000 (20:22 -0500)]
Remove leftover _gdk_windowing_set_cairo_surface_size()
Kristian Høgsberg [Fri, 7 Jan 2011 19:21:56 +0000 (14:21 -0500)]
Hook up xkb_keysym_to_string and xkb_string_to_keysym
Kristian Høgsberg [Fri, 7 Jan 2011 17:10:41 +0000 (12:10 -0500)]
Implement GdkKeymap using libxkbcommon
Kristian Høgsberg [Fri, 7 Jan 2011 15:16:17 +0000 (10:16 -0500)]
Invalidate window on configure
This will trigger a repaint of the window, but it may be more efficient
to just copy back the old surface contents and let gtk+ just update the
changed parts.
Kristian Høgsberg [Thu, 6 Jan 2011 21:51:12 +0000 (16:51 -0500)]
Create and attach buffer at process_updates time
This way we don't try to show the buffer until we've handle the initial
expose.
Kristian Høgsberg [Thu, 6 Jan 2011 20:23:52 +0000 (15:23 -0500)]
Remove copy of grab enum that's now in wayland core
Kristian Høgsberg [Thu, 6 Jan 2011 20:22:36 +0000 (15:22 -0500)]
Dont iterate the display if there's nothing to write
Kristian Høgsberg [Sat, 18 Dec 2010 20:38:49 +0000 (15:38 -0500)]
Add Wayland backend
Matthias Clasen [Sat, 5 Feb 2011 16:21:21 +0000 (11:21 -0500)]
Avoid tons of warnings from stylecontext initialization without screen
This reverts part of commit
4dc9b29 .
Matthias Clasen [Sat, 5 Feb 2011 07:17:00 +0000 (02:17 -0500)]
Demonstrate the problem with a workaround
Carlos Garnacho [Sat, 5 Feb 2011 12:53:04 +0000 (13:53 +0100)]
Ensure gtk_render_background()/frame() yield the same shape
On rounded boxes the background and the frame wouldn't fit in
perfectly, leaving some visual noise in the corners. This is now
gone.
Carlos Garnacho [Sat, 5 Feb 2011 12:44:30 +0000 (13:44 +0100)]
Use cairo_push_group() to mix backgrounds during transitions
It also helps remove the cairo_clip() call to achieve the rounded
shape.
Michael Natterer [Sat, 5 Feb 2011 13:10:18 +0000 (14:10 +0100)]
gtk: don't style GtkLabel:selected's color separately
or labels in selected state will not have a different color. Reviewed
by Carlos.
Matthias Clasen [Sat, 5 Feb 2011 07:03:35 +0000 (02:03 -0500)]
Don't leak a cell area context
Matthias Clasen [Sat, 5 Feb 2011 06:56:19 +0000 (01:56 -0500)]
Migration guide additions
Some information about plugs and sockets, and event filters.
Matthias Clasen [Sat, 5 Feb 2011 06:24:21 +0000 (01:24 -0500)]
Add a testcase for cell positions
Bastien Nocera [Sat, 5 Feb 2011 02:22:17 +0000 (02:22 +0000)]
gtk-demo: Use symbolic icon that exists
For the Images test.
Matthias Clasen [Sat, 5 Feb 2011 03:06:25 +0000 (22:06 -0500)]
Simple test for display-less widget creation
Matthias Clasen [Sat, 5 Feb 2011 03:01:40 +0000 (22:01 -0500)]
Don't assume a screen exists before realize()
Fix for https://bugzilla.gnome.org/show_bug.cgi?id=641429
Matthias Clasen [Sat, 5 Feb 2011 02:21:14 +0000 (21:21 -0500)]
Improve GtkApplication migration guide
As pointed out in bug 641517, the examples did not actually
do the same.
Matthias Clasen [Sat, 5 Feb 2011 02:13:56 +0000 (21:13 -0500)]
Fix a memory leak in GtkCSSProvider
Found by Felix Riemann
https://bugzilla.gnome.org/show_bug.cgi?id=641558
Matthias Clasen [Sat, 5 Feb 2011 02:08:41 +0000 (21:08 -0500)]
XI2: translate group state back into core state
This is necessary to make the key event translation work
as expected.
https://bugzilla.gnome.org/show_bug.cgi?id=641367
Matthias Clasen [Sat, 5 Feb 2011 02:01:52 +0000 (21:01 -0500)]
Pass group state to _gdk_x11_device_xi2_translate_state
This will be necessary to make groups work with XI2.
Matthias Clasen [Sat, 5 Feb 2011 01:58:41 +0000 (20:58 -0500)]
Share code to fill GdkEventKey.string
This code was duplicated between the core and XI2 device manager
implementations.
Khaled Hosny [Fri, 4 Feb 2011 22:31:14 +0000 (00:31 +0200)]
Updated Arabic translation
Matthias Clasen [Fri, 4 Feb 2011 22:18:24 +0000 (17:18 -0500)]
Add an empty English translation for properties
Otherwise the build is unhappy about en in LINGUAS
Matthias Clasen [Fri, 4 Feb 2011 20:35:44 +0000 (15:35 -0500)]
Add an English translation
Currently, this just includes translations for keysyms.
Matthias Clasen [Fri, 4 Feb 2011 20:34:36 +0000 (15:34 -0500)]
Strip XF86 prefix from untranslated keysyms
When we don't have translations, at least remove the
ugly XF86 prefix.
Matthias Clasen [Fri, 4 Feb 2011 20:33:36 +0000 (15:33 -0500)]
Add translation entries for more common keysyms
In particular, the XF86 keysyms can benefit from a translation
that strips the prefix.
Matthias Clasen [Fri, 4 Feb 2011 19:05:22 +0000 (14:05 -0500)]
Remove debug spew
Matthias Clasen [Fri, 4 Feb 2011 17:51:46 +0000 (12:51 -0500)]
XI2: don't translate button releases as scroll events
This fixes scroll-by-2 sympoms seen in combo boxes.
https://bugzilla.gnome.org/show_bug.cgi?id=639846
Javier Jardón [Fri, 4 Feb 2011 16:58:59 +0000 (16:58 +0000)]
Remove latest bits of GtkItemFactory
Tristan Van Berkom [Fri, 4 Feb 2011 15:58:40 +0000 (00:58 +0900)]
Fixed gtk_recent_chooser_menu_set_current_filter to update the local pointer.
Before this patch, unsetting the filter manually before disposing
the recent chooser menu (or unsetting the filter twice), would cause
warnings (or invalid memory accesses).
Yaron Shahrabani [Fri, 4 Feb 2011 07:10:23 +0000 (09:10 +0200)]
Updated Hebrew translation.
Matthias Clasen [Thu, 3 Feb 2011 04:54:38 +0000 (23:54 -0500)]
Protect against tree_view being NULL
This apparently happens when setting the "visible" property
from ui files.
https://bugzilla.gnome.org/show_bug.cgi?id=640801
Tristan Van Berkom [Thu, 3 Feb 2011 14:50:10 +0000 (23:50 +0900)]
Added set_transient_for() implementation for GdkOffscreenWindow
Just a noop that is better than crashing in the case this is called
(it can be called for a toplevel GtkWindow that is parented into
another widget by setting gtk_widget_set_parent_window to an offscreen
window).
Laszlo Pandy [Thu, 3 Feb 2011 14:20:23 +0000 (15:20 +0100)]
[GI] Add method annotation for gtk_grab_add and gtk_grab_remove.
Laszlo Pandy [Thu, 3 Feb 2011 14:09:08 +0000 (15:09 +0100)]
[GI] Add method annotations to remaining gtk_drag_* functions.
https://bugzilla.gnome.org/show_bug.cgi?id=639945
Tristan Van Berkom [Thu, 3 Feb 2011 14:02:15 +0000 (23:02 +0900)]
Fixing GtkColorButton to redraw itself when gtk_color_button_set_rgba() is called.
Tristan Van Berkom [Thu, 3 Feb 2011 10:03:49 +0000 (19:03 +0900)]
Added default implementations of various GtkCellArea vfuncs.
Having default implementations on abstract classes that do nothing
or print errors make life easier for language bindings implementors,
inside GTK+ this makes little or no difference.
Tristan Van Berkom [Thu, 3 Feb 2011 10:01:55 +0000 (19:01 +0900)]
Added default implementation of GtkCellRendererClass.get_request_mode()
Having default implementations on abstract classes that do nothing
or print errors make life easier for language bindings implementors,
inside GTK+ this makes little or no difference.
Matthias Clasen [Thu, 3 Feb 2011 03:05:26 +0000 (22:05 -0500)]
Don't g_object_unref cairo surfaces
This was causing warnings when dragging text from labels.
Piotr Drąg [Wed, 2 Feb 2011 17:00:19 +0000 (18:00 +0100)]
Updated Polish translation
Piotr Drąg [Wed, 2 Feb 2011 16:59:47 +0000 (17:59 +0100)]
Updated Polish translation
Martin Pitt [Wed, 2 Feb 2011 16:51:48 +0000 (17:51 +0100)]
[GI] Annotate gtk_drag_{dest,source}* as methods
As these do not start with gtk_widget_*, the GI scanner does not recognize them
as methods. With the recently added (method) annotation [1] it is now possible
to mark them as proper methods of GtkWidget.
https://bugzilla.gnome.org/show_bug.cgi?id=639945
[1] http://git.gnome.org/browse/gobject-introspection/commit/?id=
09bca85dd4
Changwoo Ryu [Wed, 2 Feb 2011 15:28:37 +0000 (00:28 +0900)]
Updated Korean translation
Martin Pitt [Wed, 2 Feb 2011 14:11:06 +0000 (15:11 +0100)]
[GI] Mark mis-detected constructors as such
constructors which take an object of the same class as its first argument are
mis-detected as method call with "self" argument by the GIR scanner. Using the
new (constructor) annotation from bug 561264, mark some of them as proper
constuctors, so that you can call them with NULL as first argument from
bindings; in particular, this fixes gdk_window_new() and the
gtk_radio_button_new_with*() constructors.
Matthias Clasen [Wed, 2 Feb 2011 06:30:21 +0000 (01:30 -0500)]
Fix the build with --enable-gtk2-dependency
Tristan Van Berkom [Wed, 2 Feb 2011 06:20:42 +0000 (15:20 +0900)]
Fixed GtkCellLayout buildable implementation to set cell properties explicitly set to "" (i.e. explicitly set to nothing).
Tristan Van Berkom [Wed, 2 Feb 2011 06:19:39 +0000 (15:19 +0900)]
Fixed GtkContainer buildable implementation to set packing properties explicitly set to "" (i.e. explicitly set to nothing).
Matthias Clasen [Wed, 2 Feb 2011 06:00:51 +0000 (01:00 -0500)]
Don't build pixbuf engine, still
This was accidentally re-enabled together with the wimp.
Matthias Clasen [Wed, 2 Feb 2011 05:40:02 +0000 (00:40 -0500)]
Fix another GtkFixed regression, in gtk_fixed_forall()
b3f6f67c changed the loop from while() to for() in gtk_fixed_forall(),
but that's wrong since the callback can have side-effects on the list,
in case the current child gets removed. And that's the case when the
widget is destroyed.
Patch by Vincent Untz
https://bugzilla.gnome.org/show_bug.cgi?id=641196
Matthias Clasen [Wed, 2 Feb 2011 05:36:41 +0000 (00:36 -0500)]
Bump version
John Ralls [Tue, 1 Feb 2011 21:53:00 +0000 (13:53 -0800)]
Update quartz to reflect deletion of GdkNativeWindow and client_message functions.
Matthias Clasen [Tue, 1 Feb 2011 19:11:20 +0000 (14:11 -0500)]
Add another bug ref
Vincent Untz [Tue, 1 Feb 2011 19:01:49 +0000 (20:01 +0100)]
Fix crash in gtk_fixed_remove()
b3f6f67c changed the loop from while() to for(), but the line to move to
the next child was kept, so we could go past the end of the list.
https://bugzilla.gnome.org/show_bug.cgi?id=641176
Matthias Clasen [Tue, 1 Feb 2011 18:54:27 +0000 (13:54 -0500)]
Remove accidentally exported symbol
Matthias Clasen [Tue, 1 Feb 2011 18:39:41 +0000 (13:39 -0500)]
Updates for 2.99.3
Benjamin Otte [Tue, 1 Feb 2011 17:31:44 +0000 (18:31 +0100)]
API: gdk: Get rid of GdkNativeWindow
Also get rid of the GDK_NATIVE_WINDOW_POINTER define.
Benjamin Otte [Tue, 1 Feb 2011 17:29:20 +0000 (18:29 +0100)]
x11: Use Window isntead of GdkNativeWindow
Benjamin Otte [Tue, 1 Feb 2011 17:11:35 +0000 (18:11 +0100)]
API: gdk: Change get_drag_window() API
The previous function gdk_drag_get_protocol_for_display() took native
window handles, so it had to be changed. Because it didn't do what it
was named to do (it didn't return a protocol even though it was named
get_protocol) and because it doesn't operate on the display anymore but
on the actual window, it's now called gdk_window_get_drag_protocol().
Benjamin Otte [Tue, 1 Feb 2011 16:29:33 +0000 (17:29 +0100)]
API: gdk: Make GDK_DRAG_PROTOCOL_NONE equal to 0
THis way, we can do comparisons like "if (protocol)"
Benjamin Otte [Tue, 1 Feb 2011 16:22:04 +0000 (17:22 +0100)]
API: gdk: Make GdkEventSelection.requestor a GdkWindow
instead of a GdkNativeWindow. Also change gdk_selection_notify() API to
take a GdkWindow to match this change.
Benjamin Otte [Tue, 1 Feb 2011 15:36:23 +0000 (16:36 +0100)]
x11: Use gdk_x11_window_foreign_new_for_display() unconditionally
gdk_x11_window_lookup_window() calls are done by this function alreayd,
so no need to do them manually.
Matthias Clasen [Tue, 1 Feb 2011 14:48:32 +0000 (09:48 -0500)]
Fix a warning
Matthias Clasen [Tue, 1 Feb 2011 14:44:33 +0000 (09:44 -0500)]
Remove a dead member
The client_pointer field in GdkX11DeviceManagerXI2 is not used anywhere.
Matthias Clasen [Tue, 1 Feb 2011 14:42:53 +0000 (09:42 -0500)]
Make xim work with XI2
We cannot totally ignore core key events, since XFilterEvent generates
those at times and relies on them having an effect.
https://bugzilla.gnome.org/show_bug.cgi?id=640965
Matthias Clasen [Tue, 1 Feb 2011 06:28:45 +0000 (01:28 -0500)]
Make treeview expanders work reliably
It turns out that the gtk_grab_remove() can trigger a do_prelight()
call, which may end up changing prelight_node, and then the state
gets messed up. Moving the grab removal until after we're done with
button_pressed_node and prlight_node makes expanders work reliably.
One thing that is still not right is that the expander doesn't get
prelight again after the animation is done, if you manage to release
without any additional motion events.
https://bugzilla.gnome.org/show_bug.cgi?id=641039
Benjamin Otte [Tue, 1 Feb 2011 05:30:27 +0000 (06:30 +0100)]
gdk: Remove GdkEventClient
... and all APIs making use of it.
That code like it hasn't been touched in years, Google codesearch
didn't find any users and most importantly it's a horrendous API, so
let's just make it die instead of having to port it over to
non-GdkNativeWindow usage, which would be required for multi-backend
GDK.
http://mail.gnome.org/archives/gtk-devel-list/2011-January/msg00049.html
Benjamin Otte [Tue, 1 Feb 2011 05:29:51 +0000 (06:29 +0100)]
tests: Remove refreh button from testtoolbar test
It didn't work and did that by using APIs that are about to go away.
Benjamin Otte [Tue, 1 Feb 2011 05:27:46 +0000 (06:27 +0100)]
testgtk: Remove ability to reload all rc files
That ability didn't work for a while anyway, so removing client messages
doesn't hurt.
Benjamin Otte [Tue, 1 Feb 2011 05:25:57 +0000 (06:25 +0100)]
tests: Remove clientmessage test
Client messages will not be handled by GDK3 anymore, so no need to test
them.