]>
Pileus Git - ~andy/gtk/log
Benjamin Berg [Tue, 17 Jan 2012 19:33:32 +0000 (20:33 +0100)]
Strip "Custom." prefix when getting default options from cups.
Kristian Høgsberg [Tue, 17 Jan 2012 16:10:30 +0000 (11:10 -0500)]
wayland: Handle request for selection atoms when there's no selection
Ryan Lortie [Tue, 17 Jan 2012 15:55:50 +0000 (10:55 -0500)]
Revert "set the G_PARAM_CONSTRUCT flag on the GtkWindow:application property"
This reverts commit
d4fe912879ce1b19490ba5729f67a27b1cf397c9 .
This patch caused some unanticipated compatibility issues.
Colin Walters [Tue, 17 Jan 2012 15:24:39 +0000 (10:24 -0500)]
tests/visuals: Squash a compiler warning
Rob Bradford [Tue, 17 Jan 2012 14:59:03 +0000 (14:59 +0000)]
wayland: Adapt move_resize vfunc implementation to match semantics
Callers of this function were passing in -1, -1 for the width and height if
they just wanted the window moving - rather than the size changing. We need to
respect that behaviour and don't try and set the width/height to those
dimensions.
Now pop-up windows (ala combo-boxes) work!
Matthias Clasen [Tue, 17 Jan 2012 04:14:07 +0000 (23:14 -0500)]
Back to odd
Matthias Clasen [Tue, 17 Jan 2012 04:13:27 +0000 (23:13 -0500)]
3.3.8
Matthias Clasen [Tue, 17 Jan 2012 03:37:26 +0000 (22:37 -0500)]
Remove appchooser tests from the Makefile as well
Matthias Clasen [Tue, 17 Jan 2012 02:55:43 +0000 (21:55 -0500)]
Remove the appchooser a11y dump test as well
This test is also affected by treeview a11y fallout.
Matthias Clasen [Tue, 17 Jan 2012 02:07:36 +0000 (21:07 -0500)]
Remove tree.ui a11y dump test
This is just broken currently; it needs fixing before it can come
back.
Matthias Clasen [Tue, 17 Jan 2012 02:06:11 +0000 (21:06 -0500)]
Disable broken tree-relationships tests for now
Needs to be fixed up before it can come back.
Matthias Clasen [Tue, 17 Jan 2012 02:05:01 +0000 (21:05 -0500)]
Remove a check that broke the color chooser a11y dump
With the visible check, the opacity slider ended up without
a labeled-by, which is sad.
Matthias Clasen [Tue, 17 Jan 2012 02:04:24 +0000 (21:04 -0500)]
Adapt to focus changes in the treeview
Matthias Clasen [Tue, 17 Jan 2012 00:14:20 +0000 (19:14 -0500)]
Remove broken border-image-repeat test
It will come back when it works
Alexandre Rostovtsev [Thu, 12 Jan 2012 04:11:49 +0000 (23:11 -0500)]
Add Since: to gdk_x11_device_get_id(), gdk_x11_device_manager_lookup(), gdk_x11_window_set_utf8_property() docs
https://bugzilla.gnome.org/show_bug.cgi?id=667730
Matthias Clasen [Mon, 16 Jan 2012 23:05:44 +0000 (18:05 -0500)]
GtkScale: Always chain up in notify
Pointed out by Stefan Sauer.
Matthias Clasen [Mon, 16 Jan 2012 22:36:31 +0000 (17:36 -0500)]
Updates
Matthias Clasen [Mon, 16 Jan 2012 22:24:27 +0000 (17:24 -0500)]
Bump GLib dep to 2.31.10
Needed for GResource
Ryan Lortie [Mon, 16 Jan 2012 22:18:49 +0000 (17:18 -0500)]
gtk3-demo-application: fix sections
<section> doesn't need to be given in a menubar but it does need to be
given for submenus, so add those ones back.
Matthias Clasen [Mon, 16 Jan 2012 22:07:46 +0000 (17:07 -0500)]
configure: Set GLIB_COMPILE_RESOURCES
Matthias Clasen [Mon, 16 Jan 2012 22:07:12 +0000 (17:07 -0500)]
gtk-demo: Improve the GtkApplication demo
Following suggestions in bug 667968
Kristian Høgsberg [Mon, 16 Jan 2012 15:20:36 +0000 (10:20 -0500)]
wayland: Set GdkWindow focused state based on keyboard focus
Kristian Høgsberg [Sun, 15 Jan 2012 04:48:51 +0000 (23:48 -0500)]
wayland: Implement client side keyboard repeat
Rico Tzschichholz [Mon, 16 Jan 2012 18:45:27 +0000 (19:45 +0100)]
gtk.symbols: updated
Rico Tzschichholz [Mon, 16 Jan 2012 18:27:23 +0000 (19:27 +0100)]
build: Add missing files to EXTRA_DIST
Benjamin Otte [Mon, 16 Jan 2012 17:44:43 +0000 (18:44 +0100)]
cssprovider: Improve error handling for import errors
We don't want to include the whitespace after an import statement.
Because people tend to add newlines after @import, we report the wrong
lines for failed imports. And that's bad.
Benjamin Otte [Mon, 16 Jan 2012 17:39:52 +0000 (18:39 +0100)]
image: Fix gcc warnings
Benjamin Otte [Sun, 15 Jan 2012 20:09:46 +0000 (21:09 +0100)]
tests: Add a deprecation warning
This should probably have been added a while ago...
Benjamin Otte [Sun, 15 Jan 2012 18:20:34 +0000 (19:20 +0100)]
css: Don't import CSS too early
First, finish parsing the import rule including the semicolon. Then try
to actually import.
test: css/parser/at-invalid-01.css
Benjamin Otte [Sat, 14 Jan 2012 23:11:42 +0000 (00:11 +0100)]
css: Fix memleak
https://bugzilla.gnome.org/show_bug.cgi?id=667910
Kjartan Maraas [Mon, 16 Jan 2012 16:04:31 +0000 (17:04 +0100)]
Updated Norwegian bokmål translation
Rui Matos [Mon, 9 Jan 2012 05:54:08 +0000 (05:54 +0000)]
x11: Fix the _NET_SUPPORTING_WM_CHECK window fetch to be spec compliant
"The child window MUST also have the _NET_SUPPORTING_WM_CHECK property set to
the ID of the child window. […] If the _NET_SUPPORTING_WM_CHECK window on the
client window is missing or not properly set, clients SHOULD assume that no
conforming Window Manager is present."
This commit implements that, which allows us to not have to do a
XGetWindowProperty() every N seconds when running under a compliant WM.
This is also a more correct fix for the bug handled in commit
daf29bffeddc02a7ac55905a79d040c299a37eee .
https://bugzilla.gnome.org/show_bug.cgi?id=666921
Javier Jardón [Mon, 16 Jan 2012 14:49:38 +0000 (14:49 +0000)]
Trivial doc fix
Use GLib consistently capitalized in the docs.
Alexander Larsson [Mon, 16 Jan 2012 13:36:18 +0000 (14:36 +0100)]
Add missing cursors
Alexander Larsson [Mon, 16 Jan 2012 10:18:42 +0000 (11:18 +0100)]
Ensure we can load images via resource:// uris from CSS
Alexander Larsson [Mon, 16 Jan 2012 11:02:02 +0000 (12:02 +0100)]
Move fallback dnd cursors to resources
Alexander Larsson [Thu, 12 Jan 2012 21:11:41 +0000 (22:11 +0100)]
Add GtkImage constructors from resources
Atm you can't read back the resource path like
you can with filenames. Maybe we should add that.
Alexander Larsson [Thu, 12 Jan 2012 20:41:33 +0000 (21:41 +0100)]
Access win32 css as resource, not custom generated C code
Alexander Larsson [Thu, 12 Jan 2012 18:14:33 +0000 (19:14 +0100)]
Add Gtk resource file with the default CSS file
Alexander Larsson [Thu, 12 Jan 2012 18:00:39 +0000 (19:00 +0100)]
Add gtk_ui_manager_add_ui_from_resource
This is a helper function to easily add ui from resource files.
Alexander Larsson [Thu, 12 Jan 2012 17:11:19 +0000 (18:11 +0100)]
Add resource support for GtkBuilder
There are new calls to load ui files from resources, and
you can now read pixbufs by using relative paths in a ui
file read from a resource, or by using absolute resource:/// uris.
Alexander Larsson [Mon, 16 Jan 2012 12:58:23 +0000 (13:58 +0100)]
Fix build
Was getting this error:
main.c:785:13: error: ‘gtk_demos’ undeclared (first use in this function)
main.c:785:13: note: each undeclared identifier is reported only once for each function it appears in
main.c: In function ‘main’:
Matthias Clasen [Sun, 15 Jan 2012 23:54:05 +0000 (18:54 -0500)]
Revert "GtkNotebook: fix crash when DnD tabs between windows"
This reverts commit
eeb9de80e17d1915d877c98eabd9a9a1f4423e9c .
Matthias Clasen [Sun, 15 Jan 2012 19:46:31 +0000 (14:46 -0500)]
Forgotten file
Matthias Clasen [Sun, 15 Jan 2012 19:09:54 +0000 (14:09 -0500)]
GtkScale: Fix marks for inverted scales
Problem pointed out by Stefan Sauer in bug 667598. The solution
here is different from his patch. We always draw marks in increasing
direction, and flip the marks and stop positions to match.
Matthias Clasen [Sun, 15 Jan 2012 19:09:12 +0000 (14:09 -0500)]
Add an non-symmetric mark example
This makes it easier to spot problems with inverting.
Matthias Clasen [Sun, 15 Jan 2012 17:52:02 +0000 (12:52 -0500)]
GtkScale: remove an unused argument
All callers were passing 1 for 'match', so just get rid of it.
Patch provided by Stefan Sauer, in bug 667590.
Matthias Clasen [Sun, 15 Jan 2012 14:03:01 +0000 (09:03 -0500)]
Make testscale more versatile
Stefan Sauer [Fri, 13 Jan 2012 12:52:32 +0000 (13:52 +0100)]
scale: use a GList instead of a GSList
The range widget can be inverted, this will help us to handle that case.
Daniel Mustieles [Sun, 15 Jan 2012 18:29:58 +0000 (19:29 +0100)]
Updated Spanish translation
Matthias Clasen [Sun, 15 Jan 2012 01:29:38 +0000 (20:29 -0500)]
GtkRange: fix resize-grip overlap handling
We only want to shrink the scrollbar allocation by the actual
overlap, not always by the full size of the resize grip.
Matthias Clasen [Sun, 15 Jan 2012 00:53:48 +0000 (19:53 -0500)]
GtkStatusbar: Fix resize-grip overlap calculation
The allocation is relative to the window, so the way the statusbar
was doing the overlap calculation was wrong.
Matthias Clasen [Sun, 15 Jan 2012 00:48:40 +0000 (19:48 -0500)]
GtkApplicationWindow: another size allocation fix
Set the window allocation before giving allocations to children,
in case the children want to refer to the window allocation.
Matthias Clasen [Sat, 14 Jan 2012 23:22:33 +0000 (18:22 -0500)]
Add a GtkApplication example to gtk3-demo
Fran Diéguez [Sat, 14 Jan 2012 23:43:07 +0000 (00:43 +0100)]
Updated Galician translations
Matthias Clasen [Sat, 14 Jan 2012 18:26:09 +0000 (13:26 -0500)]
GtkApplicationWindow: Fix size-request logic
When finding the width for a given height, we can pass the full
height to both the menubar and the content. Instead, give the
menubar its minimum height, and give the rest to the content.
Matthias Clasen [Sat, 14 Jan 2012 18:23:02 +0000 (13:23 -0500)]
GtkApplicationWindow: Fix size-allocation logic
The code was not properly removing the menubar height from the
height given to the content, causing the statusbar to drop off
the bottom of the window in some examples.
Paolo Borelli [Sat, 14 Jan 2012 13:33:23 +0000 (14:33 +0100)]
Do not leak tree path when setting the model.
Paolo Borelli [Sat, 14 Jan 2012 10:52:48 +0000 (11:52 +0100)]
Destroy cairo context after painting css image url
Cosimo Cecchi [Fri, 13 Jan 2012 23:09:30 +0000 (18:09 -0500)]
parser: remove unused _gtk_css_parser_read_uri()
It's not used anymore now.
Cosimo Cecchi [Fri, 13 Jan 2012 23:08:12 +0000 (18:08 -0500)]
provider: use _gtk_css_parse_read_url() in parse_import()
Instead of _gtk_css_parser_read_uri(), which is going away.
Cosimo Cecchi [Fri, 13 Jan 2012 22:55:53 +0000 (17:55 -0500)]
parser: remove a duplicate copy of gtk_css_parse_url()
Move the function to gtkcssparser.c and use it in both places.
Piotr Drąg [Fri, 13 Jan 2012 20:07:26 +0000 (21:07 +0100)]
Updated POTFILES.in
Rob Bradford [Fri, 13 Jan 2012 16:43:50 +0000 (16:43 +0000)]
wayland: Add basic implementation of GtkClipboard for Wayland
This follows the approach used by the Quartz port - that of a separate
implementation matching GtkClipboard.
The simple clipboard tests in gtk3-demo function correctly but there are
almost certainly leaks and bugs.
Rob Bradford [Fri, 13 Jan 2012 16:34:11 +0000 (16:34 +0000)]
wayland: Free the internal selection data when the selection is cleared
Rob Bradford [Fri, 13 Jan 2012 15:42:53 +0000 (15:42 +0000)]
wayland: Fix memory handling for the selection callbacks
Rob Bradford [Fri, 13 Jan 2012 15:05:00 +0000 (15:05 +0000)]
wayland: Add basic API for setting and clearing the selection on the device
Rob Bradford [Wed, 14 Dec 2011 14:09:52 +0000 (14:09 +0000)]
wayland: Expose basic mechanism for getting selection content by callback
This version has a couple of TODOs/FIXMEs:
* We should do something better than g_io_channel_read_to_end
* Need to check the mime type is valid
Rob Bradford [Fri, 13 Jan 2012 13:33:53 +0000 (13:33 +0000)]
wayland: Add call to get types available for the selection as atoms
Rob Bradford [Fri, 13 Jan 2012 13:29:04 +0000 (13:29 +0000)]
wayland: Remove unused variables to silence compiler warning
Kristian Høgsberg [Fri, 13 Jan 2012 14:48:46 +0000 (09:48 -0500)]
wayland: Set surface type based on GdkWindow hint
Daniel Mustieles [Fri, 13 Jan 2012 13:42:21 +0000 (14:42 +0100)]
Updated Spanish translation
Rob Bradford [Fri, 13 Jan 2012 11:35:04 +0000 (11:35 +0000)]
wayland: Update to new SHM buffer format type
Yaron Shahrabani [Fri, 13 Jan 2012 07:37:09 +0000 (09:37 +0200)]
Updated Hebrew translation.
Yaron Shahrabani [Fri, 13 Jan 2012 07:35:54 +0000 (09:35 +0200)]
Updated Hebrew translation.
Matthias Clasen [Fri, 13 Jan 2012 03:56:17 +0000 (22:56 -0500)]
Updates
Matthias Clasen [Fri, 13 Jan 2012 01:39:48 +0000 (20:39 -0500)]
Expand the docs for GtkWindow::attached-to
Cosimo Cecchi [Thu, 12 Jan 2012 22:30:34 +0000 (17:30 -0500)]
visuals: remove copy paste leftover
Piotr Drąg [Thu, 12 Jan 2012 22:23:29 +0000 (23:23 +0100)]
Updated POTFILES.skip
Cosimo Cecchi [Thu, 12 Jan 2012 22:03:54 +0000 (17:03 -0500)]
visuals: add a runner for visual GtkBuilder files
This is useful to sketch out in GtkBuilder widgets in different states
all at once, so that we can check theming is right for them.
Add some initial UI files for primary-toolbar and inline-toolbar widgets.
Dan Winship [Thu, 12 Jan 2012 20:06:40 +0000 (15:06 -0500)]
gtk.symbols: fix a symbol name
Khaled Hosny [Thu, 12 Jan 2012 19:56:58 +0000 (21:56 +0200)]
Update Arabic translation
Cosimo Cecchi [Thu, 12 Jan 2012 19:02:29 +0000 (14:02 -0500)]
window: improve docs for gtk_window_set_attached_to()
Andrea Cimitan [Thu, 12 Jan 2012 18:29:52 +0000 (13:29 -0500)]
Introduce gtk_window_get/set_attached_to()
gtk_window_get/set_attached_to() is a new API that allows for windows to
be attached to a GtkWidget.
The attachment is a logical binding between the toplevel window and the
widget that generated it; this kind of information is currently used to
propagate style information from the widget to the window, but is also
useful e.g. for accessibility.
https://bugzilla.gnome.org/show_bug.cgi?id=666103
Benjamin Otte [Thu, 12 Jan 2012 18:34:45 +0000 (19:34 +0100)]
treeview: Do not focus a path on model change
Instead, focus nothing and wait until we get focus before doing so. This
restores previous behaviour but still emits proper cursor-changed
events.
Fixes a bunch of bugs in the filechooser which populates the treeview
asynchronously.
https://bugzilla.gnome.org/show_bug.cgi?id=613728
Benjamin Otte [Thu, 12 Jan 2012 18:30:35 +0000 (19:30 +0100)]
filechooser: Use SELECTION_SINGLE
We want to allow people to unselect the item.
Rob Bradford [Thu, 12 Jan 2012 13:37:10 +0000 (13:37 +0000)]
wayland: Remove unused variable from grab implementation
Rob Bradford [Thu, 12 Jan 2012 13:38:12 +0000 (13:38 +0000)]
wayland: Fix compilation warning for destroy function implementation
Rob Bradford [Thu, 12 Jan 2012 13:33:58 +0000 (13:33 +0000)]
wayland: Fix implementation of gdk_atom_name
Rob Bradford [Thu, 12 Jan 2012 13:39:26 +0000 (13:39 +0000)]
wayland: Remove unused variable
Javier Jardón [Thu, 12 Jan 2012 12:58:56 +0000 (12:58 +0000)]
gtkapplication.c: Add missing "Since" tag
Daniel Mustieles [Thu, 12 Jan 2012 09:30:11 +0000 (10:30 +0100)]
Updated Spanish translation
Benjamin Otte [Thu, 12 Jan 2012 01:34:27 +0000 (02:34 +0100)]
a11y: Disconnect from buffer signals
This way, we don't get crashes when the buffer is still in use after a
TextView gets finalized.
https://bugzilla.gnome.org/show_bug.cgi?id=667632
Benjamin Otte [Thu, 12 Jan 2012 03:40:06 +0000 (04:40 +0100)]
accessible: Remove stray semicolon
Note to self: Use -Wempty-body more
Benjamin Otte [Thu, 12 Jan 2012 03:35:36 +0000 (04:35 +0100)]
styleproperty: Fix 'currentColor'
It was always looking at the 'color' keyword for the parent context
instead of only doing that when used with the 'color' property.
Tested by border-color-default.ui reftest.
Benjamin Otte [Thu, 12 Jan 2012 00:07:23 +0000 (01:07 +0100)]
stylecontext: Don't unref animation description
We get it without a ref since
6962b49a99eadc7f4266d13f66fca8611802fe09
Cosimo Cecchi [Wed, 11 Jan 2012 22:37:21 +0000 (17:37 -0500)]
tests: add a CSS test for currentColor in border-color
Cosimo Cecchi [Wed, 11 Jan 2012 22:35:59 +0000 (17:35 -0500)]
shorthand: fix parsing of currentColor for border-color shorthand
Code for border-color was missing the currentColor parsing.
Cosimo Cecchi [Wed, 11 Jan 2012 21:13:09 +0000 (16:13 -0500)]
reftests: fix background-area reftest
background-clip: content-box broke when I made GtkButton allocate its
border-width, as for the CSS box model.
Dan Winship [Wed, 11 Jan 2012 16:52:23 +0000 (11:52 -0500)]
testlogout: actually quit if told to
https://bugzilla.gnome.org/show_bug.cgi?id=667705