]> Pileus Git - ~andy/gtk/log
~andy/gtk
11 years agosymboliccolor: fix a critical warning
Cosimo Cecchi [Fri, 28 Sep 2012 16:49:22 +0000 (12:49 -0400)]
symboliccolor: fix a critical warning

This was introduced in 0cc32eae6219599882e7dc75115050ce77607887

11 years agocss: Huge refactoring to avoid computing wrong values
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.

11 years agosymboliccolor: Change prototype of _gtk_symbolic_color_resolve_full()
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.

11 years agocss: Move declaration
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.

11 years agocssvalue: Remove unnecessary include
Benjamin Otte [Thu, 27 Sep 2012 14:43:24 +0000 (16:43 +0200)]
cssvalue: Remove unnecessary include

11 years agocss: Don't crash when printing gradients
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.

11 years agocssvalue: Don't crash when printing NULL strings
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".

11 years agosection: Add _gtk_css_section_to_string()
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.

11 years agowindow: Fail if the parent window and the visual don't match
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.

11 years agostylecontext: Rebuild cached styles with correct classes/regions
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.

11 years agoquartz: Fix garbage content when windows are initially mapped
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)

11 years agotests: fix testtreecolumns not to segfault at startup
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.

11 years agoiconview: Render focus even in non-selected items
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

11 years agotreeview: fix size of the dragged column header
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.

11 years agoDon't create GdkWindows with NULL parents
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.

11 years agoUpdate Visual C++ property sheets
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

11 years agoUpdate gtk3-demo Visual C++ projects
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...

11 years ago[l10n] Updated Catalan (Valencian) translation
Carles Ferrando [Tue, 25 Sep 2012 23:37:47 +0000 (01:37 +0200)]
[l10n] Updated Catalan (Valencian) translation

11 years ago[l10n] Updated Catalan translation
Gil Forcada [Tue, 25 Sep 2012 23:37:15 +0000 (01:37 +0200)]
[l10n] Updated Catalan translation

11 years agoBump version
Matthias Clasen [Mon, 24 Sep 2012 23:22:12 +0000 (19:22 -0400)]
Bump version

11 years agoUpdate installation instructions for 3.6
Matthias Clasen [Mon, 24 Sep 2012 22:53:03 +0000 (18:53 -0400)]
Update installation instructions for 3.6

11 years agoUpdate release notes for 3.6
Matthias Clasen [Mon, 24 Sep 2012 22:51:51 +0000 (18:51 -0400)]
Update release notes for 3.6

11 years agoUpdate expected output of colorchooser a11y test
Matthias Clasen [Mon, 24 Sep 2012 22:39:17 +0000 (18:39 -0400)]
Update expected output of colorchooser a11y test

11 years agoUpdate expected output of entries a11y test
Matthias Clasen [Mon, 24 Sep 2012 22:38:29 +0000 (18:38 -0400)]
Update expected output of entries a11y test

11 years ago3.6.0
Matthias Clasen [Mon, 24 Sep 2012 20:51:57 +0000 (16:51 -0400)]
3.6.0

11 years agoUpdate Czech translation
Petr Kovar [Mon, 24 Sep 2012 20:34:53 +0000 (22:34 +0200)]
Update Czech translation

11 years agoUpdate Czech translation
Petr Kovar [Mon, 24 Sep 2012 15:18:39 +0000 (17:18 +0200)]
Update Czech translation

11 years agoUpdated LINGUAS for Kyrgyz translation
Timur Zhamakeev [Mon, 24 Sep 2012 09:50:24 +0000 (15:50 +0600)]
Updated LINGUAS for Kyrgyz translation

11 years agoAdded Kyrgyz translation
Timur Zhamakeev [Mon, 24 Sep 2012 09:49:45 +0000 (15:49 +0600)]
Added Kyrgyz translation

11 years agoAdded Kyrgyz translation of po-properties
Timur Zhamakeev [Mon, 24 Sep 2012 09:40:12 +0000 (15:40 +0600)]
Added Kyrgyz translation of po-properties

11 years agoRemove gtk_menu_button_[sg]et_menu
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.

11 years agoStraigthen includes in gtkmenubutton.[hc]
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.

11 years agoFix the build
Matthias Clasen [Mon, 24 Sep 2012 03:57:34 +0000 (23:57 -0400)]
Fix the build

11 years agoAdd a missing GDK_AVAILABLE_IN annotation
Matthias Clasen [Mon, 24 Sep 2012 03:38:04 +0000 (23:38 -0400)]
Add a missing GDK_AVAILABLE_IN annotation

11 years agoTypo fix
Matthias Clasen [Mon, 24 Sep 2012 03:37:46 +0000 (23:37 -0400)]
Typo fix

11 years agoAdd missing symbols to the docs
Matthias Clasen [Mon, 24 Sep 2012 03:37:27 +0000 (23:37 -0400)]
Add missing symbols to the docs

11 years agoSmall updates to RELEASE-HOWTO
Matthias Clasen [Mon, 24 Sep 2012 03:00:38 +0000 (23:00 -0400)]
Small updates to RELEASE-HOWTO

11 years agoDocument gtk_application_get_window_by_id
Matthias Clasen [Mon, 24 Sep 2012 01:15:27 +0000 (21:15 -0400)]
Document gtk_application_get_window_by_id

11 years agoRemove empty doc comments
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

11 years agoUpdate links for gtk2 docs
Matthias Clasen [Sun, 23 Sep 2012 21:33:53 +0000 (17:33 -0400)]
Update links for gtk2 docs

11 years agoUpdated Brazilian Portuguese Translation
Rafael Ferreira [Sun, 23 Sep 2012 23:34:51 +0000 (20:34 -0300)]
Updated Brazilian Portuguese Translation

11 years agoUpdated Russian translation
Yuri Myasoedov [Sun, 23 Sep 2012 16:27:29 +0000 (20:27 +0400)]
Updated Russian translation

11 years ago[l10n] Updated German translation
Mario Blättermann [Sun, 23 Sep 2012 12:10:08 +0000 (14:10 +0200)]
[l10n] Updated German translation

11 years ago[l10n] Updated German translation
Mario Blättermann [Sun, 23 Sep 2012 12:04:59 +0000 (14:04 +0200)]
[l10n] Updated German translation

11 years agoUpdated kn translation
Shankar Prasad [Sat, 22 Sep 2012 20:23:10 +0000 (01:53 +0530)]
Updated kn translation

11 years agoUpdated kn translation
Shankar Prasad [Sat, 22 Sep 2012 20:22:25 +0000 (01:52 +0530)]
Updated kn translation

11 years agoUpdated Latvian translation
Rūdolfs Mazurs [Sat, 22 Sep 2012 17:00:25 +0000 (20:00 +0300)]
Updated Latvian translation

11 years agoUpdated Hebrew translation.
Yaron Shahrabani [Sat, 22 Sep 2012 12:23:05 +0000 (15:23 +0300)]
Updated Hebrew translation.

11 years ago[l10n]Updated Catalan (Valencian) translation
Carles Ferrando [Sat, 22 Sep 2012 11:30:20 +0000 (13:30 +0200)]
[l10n]Updated Catalan (Valencian) translation

11 years ago[l10n] Updated Catalan translation
Gil Forcada [Sat, 22 Sep 2012 11:30:10 +0000 (13:30 +0200)]
[l10n] Updated Catalan translation

11 years agoUpdated Bulgarian translation
Alexander Shopov [Sat, 22 Sep 2012 09:02:42 +0000 (12:02 +0300)]
Updated Bulgarian translation

11 years agoGtkMenuButton: improve rtl support
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

11 years agoGtkSearchEntry: add rtl support
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

11 years agoRevert "blur: Use recording surface for capturing things to blur"
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.

11 years agogtk-demo: Add a CSS shadows demo
Benjamin Otte [Fri, 21 Sep 2012 16:50:15 +0000 (18:50 +0200)]
gtk-demo: Add a CSS shadows demo

11 years agoUpdated Galician translations
Fran Diéguez [Fri, 21 Sep 2012 11:26:50 +0000 (13:26 +0200)]
Updated Galician translations

11 years agoUpdated gujarati file
Sweta Kothari [Fri, 21 Sep 2012 07:35:27 +0000 (13:05 +0530)]
Updated gujarati file

11 years agoUpdated gujarati file
Sweta Kothari [Fri, 21 Sep 2012 07:26:48 +0000 (12:56 +0530)]
Updated gujarati file

11 years agoGtkMenuItem: fix leaked action_helper
Pavel Vasin [Wed, 19 Sep 2012 16:30:16 +0000 (20:30 +0400)]
GtkMenuItem: fix leaked action_helper

11 years agoUpdated Serbian translation
Мирослав Николић [Thu, 20 Sep 2012 18:42:09 +0000 (20:42 +0200)]
Updated Serbian translation

11 years agogtkapplication: fix some crashing "leak fixes"
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

11 years agoUpdated Bengali Translation
Runa Bhattacharjee [Thu, 20 Sep 2012 14:17:41 +0000 (19:47 +0530)]
Updated Bengali Translation

11 years agocolobutton: skip set_rgba as it is already in the choosercolor interface
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

11 years agoUpdated Telugu Translations
Krishnababu Krothapalli [Thu, 20 Sep 2012 10:47:42 +0000 (16:17 +0530)]
Updated Telugu Translations

11 years agoUpdated Telugu Translations
Krishnababu Krothapalli [Thu, 20 Sep 2012 10:47:09 +0000 (16:17 +0530)]
Updated Telugu Translations

11 years agoblur: Use recording surface for capturing things to blur
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.

11 years agoshadow: add blur to icon-shadow (spinner)
Andrea Cimitan [Mon, 16 Apr 2012 12:22:18 +0000 (13:22 +0100)]
shadow: add blur to icon-shadow (spinner)

11 years agoshadow: add blur to icon-shadow (icon)
Andrea Cimitan [Mon, 16 Apr 2012 12:02:59 +0000 (13:02 +0100)]
shadow: add blur to icon-shadow (icon)

11 years agoshadow: add blur to box-shadow
Andrea Cimitan [Mon, 16 Apr 2012 11:02:41 +0000 (12:02 +0100)]
shadow: add blur to box-shadow

11 years agoshadow: add blur to text-shadow
Andrea Cimitan [Tue, 17 Apr 2012 20:14:39 +0000 (16:14 -0400)]
shadow: add blur to text-shadow

11 years agoshadow: add code to render blurred shadows
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.

11 years agoblur: Do the same thing for rows and cols
Benjamin Otte [Wed, 19 Sep 2012 20:39:47 +0000 (22:39 +0200)]
blur: Do the same thing for rows and cols

11 years agoblur: Use rowstride
Benjamin Otte [Wed, 19 Sep 2012 20:38:24 +0000 (22:38 +0200)]
blur: Use rowstride

11 years agoblur: Simplify code
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.

11 years agoblur: Fix pixel sizes
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.

11 years agoblur: Take the radius as a double parameter
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

11 years agoAdd code for blurring (original code from Unico, copyright fine for Gtk+)
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+)

11 years agoUpdated Malayalam file
Ani Peter [Wed, 19 Sep 2012 20:58:21 +0000 (02:28 +0530)]
Updated Malayalam file

11 years agoUpdated Malayalam file
Ani Peter [Wed, 19 Sep 2012 20:56:53 +0000 (02:26 +0530)]
Updated Malayalam file

11 years agospinbutton: fix style context path for internal buttons
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.

11 years agoRevert "levelbar: start filling from the bottom"
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.

11 years agolevelbar: start filling from the bottom
Stefano Facchini [Mon, 17 Sep 2012 20:29:54 +0000 (22:29 +0200)]
levelbar: start filling from the bottom

As long as we don't have an API for explicitly inverting the bar, it
makes more sense for the progress in vertical orientation to fill from
the bottom.

11 years agoUpdated Telugu Translation
Praveen Illa [Wed, 19 Sep 2012 18:36:22 +0000 (00:06 +0530)]
Updated Telugu Translation

11 years agoprinting: Add "Custom." prefix only once to paper size
Marek Kasik [Tue, 18 Sep 2012 12:18:15 +0000 (14:18 +0200)]
printing: Add "Custom." prefix only once to paper size

Check whether "Custom." prefix is already present in the name
of selected paper size. (#679883)

11 years agoupdate Punjabi Translation
A S Alam [Wed, 19 Sep 2012 13:48:39 +0000 (19:18 +0530)]
update Punjabi Translation

11 years agocssprovider: Remove another path that can't be reached
Benjamin Otte [Wed, 19 Sep 2012 13:32:38 +0000 (15:32 +0200)]
cssprovider: Remove another path that can't be reached

... because the return value of a function is always TRUE.

11 years agodocs: Clarify GtkCssProvider loading return values
Benjamin Otte [Wed, 19 Sep 2012 13:30:21 +0000 (15:30 +0200)]
docs: Clarify GtkCssProvider loading return values

11 years agocssprovider: Get rid of return value
Benjamin Otte [Wed, 19 Sep 2012 13:18:19 +0000 (15:18 +0200)]
cssprovider: Get rid of return value

... that is always TRUE.

11 years agohindi update
Rajesh Ranjan [Wed, 19 Sep 2012 11:58:41 +0000 (17:28 +0530)]
hindi update

11 years agohindi update
Rajesh Ranjan [Wed, 19 Sep 2012 11:51:34 +0000 (17:21 +0530)]
hindi update

11 years agoGtkSettings: Fix small typo in docs.
Murray Cumming [Thu, 19 Jul 2012 09:34:16 +0000 (11:34 +0200)]
GtkSettings: Fix small typo in docs.

11 years agoUpdated Galician translations
Fran Diéguez [Wed, 19 Sep 2012 01:05:38 +0000 (03:05 +0200)]
Updated Galician translations

11 years agobump version
Matthias Clasen [Tue, 18 Sep 2012 22:36:33 +0000 (18:36 -0400)]
bump version

11 years ago3.5.18
Matthias Clasen [Tue, 18 Sep 2012 22:35:16 +0000 (18:35 -0400)]
3.5.18

11 years agoPrepare for 3.5.18
Matthias Clasen [Tue, 18 Sep 2012 21:35:16 +0000 (17:35 -0400)]
Prepare for 3.5.18

11 years agoFix distcheck
Matthias Clasen [Tue, 18 Sep 2012 19:10:24 +0000 (15:10 -0400)]
Fix distcheck

A mention of gtkmodelmenu.h was leftover in Makefile.am.

11 years agoAvoid an unintented export
Matthias Clasen [Tue, 18 Sep 2012 17:36:35 +0000 (13:36 -0400)]
Avoid an unintented export

GtkStyleCascade is entirely private, so don't leak any symbols.

11 years agoFix gdk docs build
Matthias Clasen [Tue, 18 Sep 2012 16:55:38 +0000 (12:55 -0400)]
Fix gdk docs build

This took far too long: The actual problem turned out to
be an unclosed <SECTION> in gdk3-sections.txt.

11 years agoGdkWindow: remove reference to a long-removed example
Matthias Clasen [Tue, 18 Sep 2012 15:43:20 +0000 (11:43 -0400)]
GdkWindow: remove reference to a long-removed example

11 years agomountoperation: fix previous commit
Cosimo Cecchi [Tue, 18 Sep 2012 17:48:07 +0000 (13:48 -0400)]
mountoperation: fix previous commit

We don't want to call this method if there's no shell agent.