]>
Pileus Git - ~andy/gtk/log
Matthias Clasen [Mon, 1 Oct 2012 00:33:38 +0000 (20:33 -0400)]
XIM: Don't force random windows to become native
GDK_WINDOW_XID() has the side-effect of turning a window native;
this in turn can have unexpected effects such as black backgrounds.
Avoid this by using the XID of the toplevel.
https://bugzilla.gnome.org/show_bug.cgi?id=682395
Matthias Clasen [Mon, 1 Oct 2012 00:28:59 +0000 (20:28 -0400)]
Trivial typo fix
Benjamin Otte [Mon, 1 Oct 2012 14:06:33 +0000 (16:06 +0200)]
gtk-demo: Beautify a demo
Use auto for the background size instead of 100% to avoid uglyfying the
background byt blurring it when the window gets larger.
Benjamin Otte [Mon, 1 Oct 2012 13:51:58 +0000 (15:51 +0200)]
gtk-demo: Use explicit resource:// urls in CSS
... because we load the data from a GtkTreeView::changed callback, the
relative directory is cwd. And we want the resources...
Benjamin Otte [Mon, 1 Oct 2012 13:51:36 +0000 (15:51 +0200)]
gtk-demo: Add missing file to resources
Benjamin Otte [Mon, 1 Oct 2012 13:43:21 +0000 (15:43 +0200)]
widget: Move style context update out of vfunc
Otherwise the evil widgets that don't chain up their map and unmap
vfuncs will not get updated style contexts. This is in particular true
for GtkWindow and the CSS Theming / animated backgrounds demo in
gtk-demo.
Alexander Larsson [Mon, 1 Oct 2012 12:53:18 +0000 (14:53 +0200)]
broadway: Use binary websockets if available
Alexander Larsson [Mon, 1 Oct 2012 11:02:21 +0000 (13:02 +0200)]
broadway: Output message data directly to buffer
This cleans up the code, as well as allows later format
changes for e.g. binary websockets
Alexander Larsson [Mon, 1 Oct 2012 10:44:38 +0000 (12:44 +0200)]
broadway: Encode urls directly into message buffer
No need for a temporary buffer
Alexander Larsson [Mon, 1 Oct 2012 10:09:07 +0000 (12:09 +0200)]
broadway: Restructure output
Now we queue all output commands in a single buffer, to
ensure we send everything in a single op even for v7plus.
Alexander Larsson [Mon, 1 Oct 2012 09:50:54 +0000 (11:50 +0200)]
broadway: Fix indentation
Alexander Larsson [Mon, 1 Oct 2012 09:50:16 +0000 (11:50 +0200)]
broadway: Detect binary websockets support
Alexander Larsson [Mon, 1 Oct 2012 09:30:03 +0000 (11:30 +0200)]
broadway: Centralize cmd parsing
This clean up things, as well as prepares for new message formats
such as binary websockets.
Benjamin Otte [Mon, 1 Oct 2012 12:23:15 +0000 (14:23 +0200)]
stylecontext: Actually use superset matcher
... when looking up the needed changes.
This is what that matcher was actually written for, but it seems I never
hooked it in.
Benjamin Otte [Mon, 1 Oct 2012 11:10:44 +0000 (13:10 +0200)]
css: Add forgotten enum value
This broke compilation in
a7d213854460a7820d9665650a507081b9d196b7 .
Benjamin Otte [Mon, 1 Oct 2012 11:09:49 +0000 (13:09 +0200)]
cssanimation: Don't store the end value in a CSS transition
Instead, query the intrinsic value at runtime.
Benjamin Otte [Mon, 1 Oct 2012 09:54:18 +0000 (11:54 +0200)]
treeview: Invalidate children properly
GtkTreeView still uses regions (yay!), so we need to invalidate the
regions when hiding/showing children, and not their siblings.
Benjamin Otte [Mon, 1 Oct 2012 09:48:50 +0000 (11:48 +0200)]
treeview: Fix computing child paths
We were adding the GtkButton class twice.
Benjamin Otte [Mon, 1 Oct 2012 08:32:59 +0000 (10:32 +0200)]
csscomputedvalues: Unset the section when setting a new value
Otherwise we end up with the wrong section if no new one is specified.
Cosimo Cecchi [Fri, 28 Sep 2012 16:49:22 +0000 (12:49 -0400)]
symboliccolor: fix a critical warning
This was introduced in
0cc32eae6219599882e7dc75115050ce77607887
Benjamin Otte [Fri, 28 Sep 2012 16:02:46 +0000 (18:02 +0200)]
css: Huge refactoring to avoid computing wrong values
Here's the shortest description of the bug I can come up with:
When computing values, we have 3 kinds of dependencies:
(1) other properties ("currentColor" or em values)
(2) inherited properties ("inherit")
(3) generic things from the theme (@keyframes or @define-color)
Previously, we passed the GtkStyleContext as an argument, because it
provided these 3 things using:
(1) _gtk_style_context_peek_property()
(2) _gtk_style_context_peek_property(gtk_style_context_get_parent())
(3) context->priv->cascade
However, this makes it impossible to lookup values other than the ones
accessible via _gtk_style_context_peek_property(). And this is exactly
what we are doing in gtk_style_context_update_cache(). So when the cache
updates encountered case (1), they were looking up the values from the
wrong style data.
So this large patch essentially does nothing but replace the
context argument in all compute functions with new arguments for the 3
cases above:
(1) values
(2) parent_values
(3) provider
We apparently have a lot of computing code.
Benjamin Otte [Fri, 28 Sep 2012 11:42:21 +0000 (13:42 +0200)]
symboliccolor: Change prototype of _gtk_symbolic_color_resolve_full()
We can juts pass a GtkStyleProviderPrivate, that one has the vfunc we
want already. So no need to pass vfuncs anymore.
Benjamin Otte [Thu, 27 Sep 2012 15:04:29 +0000 (17:04 +0200)]
css: Move declaration
... for future changes. This is just to check that compilation still
succeeds.
Benjamin Otte [Thu, 27 Sep 2012 14:43:24 +0000 (16:43 +0200)]
cssvalue: Remove unnecessary include
Benjamin Otte [Thu, 27 Sep 2012 14:24:30 +0000 (16:24 +0200)]
css: Don't crash when printing gradients
... in the fallback code. Instead print a FIXME.
Benjamin Otte [Thu, 27 Sep 2012 14:23:53 +0000 (16:23 +0200)]
cssvalue: Don't crash when printing NULL strings
A NULL string should be printed as "none".
Benjamin Otte [Thu, 27 Sep 2012 13:10:52 +0000 (15:10 +0200)]
section: Add _gtk_css_section_to_string()
Mostly for debugging pruposes, but use it for printing CSS errors in
GtkCssProvider, too.
Benjamin Otte [Thu, 27 Sep 2012 11:42:10 +0000 (13:42 +0200)]
window: Fail if the parent window and the visual don't match
They must be on the same screen.
Benjamin Otte [Wed, 26 Sep 2012 14:48:35 +0000 (16:48 +0200)]
stylecontext: Rebuild cached styles with correct classes/regions
Previously, we were using the default classes and regions. That's
obviously wrong.
Kristian Rietveld [Fri, 28 Sep 2012 04:50:13 +0000 (06:50 +0200)]
quartz: Fix garbage content when windows are initially mapped
The garbage would be visible if any widget enabled the toplevel
NSView's CALayer in order to do custom native rendering.
(cherry picked from commit
92ea94af5f1a4d0970628b58997192ccf74cab36 )
Cosimo Cecchi [Thu, 27 Sep 2012 20:53:34 +0000 (16:53 -0400)]
tests: fix testtreecolumns not to segfault at startup
The class/object definitions have the wrong size, and we're not using
G_DEFINE_TYPE. This fixes the test segfaulting when opening it.
Alexander Larsson [Thu, 27 Sep 2012 17:24:31 +0000 (19:24 +0200)]
iconview: Render focus even in non-selected items
This is needed for the SELECTION_NONE mode where nothing is ever
selected, but its also needed for CTRL-<key> keynav that moves the
focus without changing the selection.
https://bugzilla.gnome.org/show_bug.cgi?id=684984
Stefano Facchini [Thu, 27 Sep 2012 14:44:19 +0000 (16:44 +0200)]
treeview: fix size of the dragged column header
Currently the GdkWindow used for dragging is created once when
the first drag starts, and the reused identical each time.
Instead, just recreate it for each drag, with the correct size.
Alexander Larsson [Thu, 27 Sep 2012 11:46:26 +0000 (13:46 +0200)]
Don't create GdkWindows with NULL parents
This is not multi-display safe, you always need to pick the right
parent based on which screen your widget is at.
Chun-wei Fan [Thu, 27 Sep 2012 09:37:01 +0000 (17:37 +0800)]
Update Visual C++ property sheets
-Make up for the missed headers to "install"
-"Install" the gtk3-demo program and data files more like the way it is
done with the autotools builds
Chun-wei Fan [Thu, 27 Sep 2012 09:21:03 +0000 (17:21 +0800)]
Update gtk3-demo Visual C++ projects
Include the missed source files...
Carles Ferrando [Tue, 25 Sep 2012 23:37:47 +0000 (01:37 +0200)]
[l10n] Updated Catalan (Valencian) translation
Gil Forcada [Tue, 25 Sep 2012 23:37:15 +0000 (01:37 +0200)]
[l10n] Updated Catalan translation
Matthias Clasen [Mon, 24 Sep 2012 23:22:12 +0000 (19:22 -0400)]
Bump version
Matthias Clasen [Mon, 24 Sep 2012 22:53:03 +0000 (18:53 -0400)]
Update installation instructions for 3.6
Matthias Clasen [Mon, 24 Sep 2012 22:51:51 +0000 (18:51 -0400)]
Update release notes for 3.6
Matthias Clasen [Mon, 24 Sep 2012 22:39:17 +0000 (18:39 -0400)]
Update expected output of colorchooser a11y test
Matthias Clasen [Mon, 24 Sep 2012 22:38:29 +0000 (18:38 -0400)]
Update expected output of entries a11y test
Matthias Clasen [Mon, 24 Sep 2012 20:51:57 +0000 (16:51 -0400)]
3.6.0
Petr Kovar [Mon, 24 Sep 2012 20:34:53 +0000 (22:34 +0200)]
Update Czech translation
Petr Kovar [Mon, 24 Sep 2012 15:18:39 +0000 (17:18 +0200)]
Update Czech translation
Timur Zhamakeev [Mon, 24 Sep 2012 09:50:24 +0000 (15:50 +0600)]
Updated LINGUAS for Kyrgyz translation
Timur Zhamakeev [Mon, 24 Sep 2012 09:49:45 +0000 (15:49 +0600)]
Added Kyrgyz translation
Timur Zhamakeev [Mon, 24 Sep 2012 09:40:12 +0000 (15:40 +0600)]
Added Kyrgyz translation of po-properties
Matthias Clasen [Mon, 24 Sep 2012 04:08:30 +0000 (00:08 -0400)]
Remove gtk_menu_button_[sg]et_menu
These functions were never in a stable release, and have
been renamed to gtk_menu_button_[sg]et_popup.
Matthias Clasen [Mon, 24 Sep 2012 04:01:39 +0000 (00:01 -0400)]
Straigthen includes in gtkmenubutton.[hc]
Don't include gtk.h, but just include whats needed.
Matthias Clasen [Mon, 24 Sep 2012 03:57:34 +0000 (23:57 -0400)]
Fix the build
Matthias Clasen [Mon, 24 Sep 2012 03:38:04 +0000 (23:38 -0400)]
Add a missing GDK_AVAILABLE_IN annotation
Matthias Clasen [Mon, 24 Sep 2012 03:37:46 +0000 (23:37 -0400)]
Typo fix
Matthias Clasen [Mon, 24 Sep 2012 03:37:27 +0000 (23:37 -0400)]
Add missing symbols to the docs
Matthias Clasen [Mon, 24 Sep 2012 03:00:38 +0000 (23:00 -0400)]
Small updates to RELEASE-HOWTO
Matthias Clasen [Mon, 24 Sep 2012 01:15:27 +0000 (21:15 -0400)]
Document gtk_application_get_window_by_id
Matthias Clasen [Mon, 24 Sep 2012 01:14:46 +0000 (21:14 -0400)]
Remove empty doc comments
These confuse gtk-doc. All these functions are documented
in gtkclipboard.c
Matthias Clasen [Sun, 23 Sep 2012 21:33:53 +0000 (17:33 -0400)]
Update links for gtk2 docs
Rafael Ferreira [Sun, 23 Sep 2012 23:34:51 +0000 (20:34 -0300)]
Updated Brazilian Portuguese Translation
Yuri Myasoedov [Sun, 23 Sep 2012 16:27:29 +0000 (20:27 +0400)]
Updated Russian translation
Mario Blättermann [Sun, 23 Sep 2012 12:10:08 +0000 (14:10 +0200)]
[l10n] Updated German translation
Mario Blättermann [Sun, 23 Sep 2012 12:04:59 +0000 (14:04 +0200)]
[l10n] Updated German translation
Shankar Prasad [Sat, 22 Sep 2012 20:23:10 +0000 (01:53 +0530)]
Updated kn translation
Shankar Prasad [Sat, 22 Sep 2012 20:22:25 +0000 (01:52 +0530)]
Updated kn translation
Rūdolfs Mazurs [Sat, 22 Sep 2012 17:00:25 +0000 (20:00 +0300)]
Updated Latvian translation
Yaron Shahrabani [Sat, 22 Sep 2012 12:23:05 +0000 (15:23 +0300)]
Updated Hebrew translation.
Carles Ferrando [Sat, 22 Sep 2012 11:30:20 +0000 (13:30 +0200)]
[l10n]Updated Catalan (Valencian) translation
Gil Forcada [Sat, 22 Sep 2012 11:30:10 +0000 (13:30 +0200)]
[l10n] Updated Catalan translation
Alexander Shopov [Sat, 22 Sep 2012 09:02:42 +0000 (12:02 +0300)]
Updated Bulgarian translation
Matthias Clasen [Sat, 22 Sep 2012 03:53:11 +0000 (23:53 -0400)]
GtkMenuButton: improve rtl support
Show the menu at the side the arrow points to,
also in rtl locales.
https://bugzilla.gnome.org/show_bug.cgi?id=684606
Matthias Clasen [Sat, 22 Sep 2012 03:41:28 +0000 (23:41 -0400)]
GtkSearchEntry: add rtl support
Flip the clear icon in rtl locales.
https://bugzilla.gnome.org/show_bug.cgi?id=684607
Benjamin Otte [Fri, 21 Sep 2012 16:51:46 +0000 (18:51 +0200)]
Revert "blur: Use recording surface for capturing things to blur"
This reverts commit
f2cb8f12705ab3a36767df3430f8868ed7b29536 .
The patch actually didn't work for at least text. I currently have no
clue why, but I suspect it requires investigating Cairo code and
recording surfaces, and I'll not do that right now.
Benjamin Otte [Fri, 21 Sep 2012 16:50:15 +0000 (18:50 +0200)]
gtk-demo: Add a CSS shadows demo
Fran Diéguez [Fri, 21 Sep 2012 11:26:50 +0000 (13:26 +0200)]
Updated Galician translations
Sweta Kothari [Fri, 21 Sep 2012 07:35:27 +0000 (13:05 +0530)]
Updated gujarati file
Sweta Kothari [Fri, 21 Sep 2012 07:26:48 +0000 (12:56 +0530)]
Updated gujarati file
Pavel Vasin [Wed, 19 Sep 2012 16:30:16 +0000 (20:30 +0400)]
GtkMenuItem: fix leaked action_helper
Мирослав Николић [Thu, 20 Sep 2012 18:42:09 +0000 (20:42 +0200)]
Updated Serbian translation
Ryan Lortie [Thu, 20 Sep 2012 18:22:52 +0000 (14:22 -0400)]
gtkapplication: fix some crashing "leak fixes"
https://bugzilla.gnome.org/show_bug.cgi?id=684258
Runa Bhattacharjee [Thu, 20 Sep 2012 14:17:41 +0000 (19:47 +0530)]
Updated Bengali Translation
Ignacio Casal Quinteiro [Thu, 20 Sep 2012 10:50:27 +0000 (12:50 +0200)]
colobutton: skip set_rgba as it is already in the choosercolor interface
Krishnababu Krothapalli [Thu, 20 Sep 2012 10:47:42 +0000 (16:17 +0530)]
Updated Telugu Translations
Krishnababu Krothapalli [Thu, 20 Sep 2012 10:47:09 +0000 (16:17 +0530)]
Updated Telugu Translations
Benjamin Otte [Thu, 20 Sep 2012 00:39:35 +0000 (02:39 +0200)]
blur: Use recording surface for capturing things to blur
This gets around clipping issues quite nicely and provides us with a
(mostly theoretical) performance boost.
Andrea Cimitan [Mon, 16 Apr 2012 12:22:18 +0000 (13:22 +0100)]
shadow: add blur to icon-shadow (spinner)
Andrea Cimitan [Mon, 16 Apr 2012 12:02:59 +0000 (13:02 +0100)]
shadow: add blur to icon-shadow (icon)
Andrea Cimitan [Mon, 16 Apr 2012 11:02:41 +0000 (12:02 +0100)]
shadow: add blur to box-shadow
Andrea Cimitan [Tue, 17 Apr 2012 20:14:39 +0000 (16:14 -0400)]
shadow: add blur to text-shadow
Cosimo Cecchi [Tue, 17 Apr 2012 19:43:58 +0000 (15:43 -0400)]
shadow: add code to render blurred shadows
Split out the blurred shadow rendering in three steps:
- creation of a surface of the appropriate size - we use the clip
rectangle as a good measurement for the size, since we won't render
out of it anyway
- painting the unblurred shape on the surface - this is responsibility
of the single shadow implementations
- blur the surface and compose the result back on the original cairo_t
This means we can share code between the implementations for the first
and third steps; it also makes the code independent of the rendered
size, so we can avoid passing down a cairo_rectangle_t with e.g. the
icon coordinates.
Benjamin Otte [Wed, 19 Sep 2012 20:39:47 +0000 (22:39 +0200)]
blur: Do the same thing for rows and cols
Benjamin Otte [Wed, 19 Sep 2012 20:38:24 +0000 (22:38 +0200)]
blur: Use rowstride
Benjamin Otte [Wed, 19 Sep 2012 20:29:11 +0000 (22:29 +0200)]
blur: Simplify code
It's always the same code, so there's no need for switch statements.
Benjamin Otte [Wed, 19 Sep 2012 20:23:47 +0000 (22:23 +0200)]
blur: Fix pixel sizes
The code accesses pixels in a chunks of 4 bytes, so we must only support
formats where the size of a single pixel is 4 bytes.
Fix RGB24 to be 4 bytes (the alpha channel is ignored) and disallow A8.
Benjamin Otte [Wed, 19 Sep 2012 15:28:40 +0000 (17:28 +0200)]
blur: Take the radius as a double parameter
It's only ever used like that
Andrea Cimitan [Fri, 13 Apr 2012 09:59:26 +0000 (11:59 +0200)]
Add code for blurring (original code from Unico, copyright fine for Gtk+)
Ani Peter [Wed, 19 Sep 2012 20:58:21 +0000 (02:28 +0530)]
Updated Malayalam file
Ani Peter [Wed, 19 Sep 2012 20:56:53 +0000 (02:26 +0530)]
Updated Malayalam file
Cosimo Cecchi [Wed, 19 Sep 2012 19:41:19 +0000 (15:41 -0400)]
spinbutton: fix style context path for internal buttons
We were adding one child too much to the style context path when
generating it for the internal buttons, which in turn caused sibling
selectors from the theme such as :first-child to apply to both buttons
under certain circumstances. Spotted by Lapo Calamandrei.
Cosimo Cecchi [Wed, 19 Sep 2012 19:22:54 +0000 (15:22 -0400)]
Revert "levelbar: start filling from the bottom"
This reverts commit
4b3ed75f7d14bc10a045aeb4a3873ff36eee966a .
I didn't see https://bugzilla.gnome.org/show_bug.cgi?id=684288 - it
makes more sense to properly fix this for the next cycle.