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

11 years agomountoperation: don't timeout proxied mount operation dialogs
Cosimo Cecchi [Tue, 18 Sep 2012 17:44:04 +0000 (13:44 -0400)]
mountoperation: don't timeout proxied mount operation dialogs

When we proxy mount operation dialogs to the Shell agent, don't use a
timeout for the remote calls, since we will be waiting on user
interaction.

11 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 18 Sep 2012 14:37:16 +0000 (16:37 +0200)]
Updated Spanish translation

11 years agoRaleigh: Improve the spinner animation
Benjamin Otte [Tue, 18 Sep 2012 13:24:31 +0000 (15:24 +0200)]
Raleigh: Improve the spinner animation

Make it closer to how it was previously.

11 years agoGtkAccelLabel: adjust recent accel changes
Ryan Lortie [Tue, 18 Sep 2012 12:57:53 +0000 (08:57 -0400)]
GtkAccelLabel: adjust recent accel changes

In the event that a GtkAccelKey was present for the closure but it
contained a keyval of 0 the previous code would show "".  After the
recent adjustments, "-/-" would be shown in this case.

It turns out to be a pretty common case, so fix the logic to stop using
'0' as a magic value to mean "don't have an accel" and add a separate
boolean for that purpose.

11 years agocssimage: Add a hack to get antialiased circles
Benjamin Otte [Tue, 18 Sep 2012 11:26:20 +0000 (13:26 +0200)]
cssimage: Add a hack to get antialiased circles

We like to draw circles in themes, and as radial gradients are the only
okayish way to do that, at least make them antialiased.

11 years agoUpdated Marathi Translations
Sandeep Sheshrao Shedmake [Tue, 18 Sep 2012 07:49:41 +0000 (13:19 +0530)]
Updated Marathi Translations

11 years agoUpdated British English translation
Bruce Cowan [Tue, 18 Sep 2012 07:24:49 +0000 (08:24 +0100)]
Updated British English translation

11 years agoForce spinners to be square
Matthias Clasen [Tue, 18 Sep 2012 02:47:36 +0000 (22:47 -0400)]
Force spinners to be square

11 years agoGtkSettings: Properly clean up style providers
Matthias Clasen [Tue, 18 Sep 2012 02:30:14 +0000 (22:30 -0400)]
GtkSettings: Properly clean up style providers

11 years agoRevert "Bind the themes to the livecycle of the screen"
Matthias Clasen [Tue, 18 Sep 2012 02:10:59 +0000 (22:10 -0400)]
Revert "Bind the themes to the livecycle of the screen"

This reverts commit 1f5dea9eba4de5a54e9370fe8e4b90e6c0cec200,
since it was causeing noticable behaviour changes.

Previously, GTK_DATA_PREFIX=/ ./gtk3-demo would start
gtk3-demo with the Raleigh theme. With that change, it
was starting with no theme at all (i.e. all black).

11 years agoUpdated Hungarian translation
Gabor Kelemen [Mon, 17 Sep 2012 22:08:25 +0000 (00:08 +0200)]
Updated Hungarian translation

11 years agogtk-demo: fancier css demo
Matthias Clasen [Mon, 17 Sep 2012 21:37:03 +0000 (17:37 -0400)]
gtk-demo: fancier css demo

Thanks to Lapo Calamandrei.

11 years agoUpdated header for Brazilian Portuguese.
Rafael Ferreira [Mon, 17 Sep 2012 19:40:38 +0000 (15:40 -0400)]
Updated header for Brazilian Portuguese.

11 years agoUpdated Brazilian Portuguese translation.
Og B. Maciel [Mon, 17 Sep 2012 19:39:01 +0000 (15:39 -0400)]
Updated Brazilian Portuguese translation.

11 years agocss: Add a spinner animation to the default theme
Benjamin Otte [Mon, 17 Sep 2012 11:41:18 +0000 (13:41 +0200)]
css: Add a spinner animation to the default theme

11 years agocssanimation: Implement pausing the animation
Benjamin Otte [Mon, 17 Sep 2012 15:00:02 +0000 (17:00 +0200)]
cssanimation: Implement pausing the animation

11 years agostylecontext: Always create animations
Benjamin Otte [Mon, 17 Sep 2012 09:34:54 +0000 (11:34 +0200)]
stylecontext: Always create animations

Even when there is no current values, do create animations. This ensures
that animations do exist for unmapped widgets when they get mapped
later.

11 years agostylecontext: Only create transitions conditionally
Benjamin Otte [Mon, 17 Sep 2012 09:30:21 +0000 (11:30 +0200)]
stylecontext: Only create transitions conditionally

While regular animations should always be created, transitions should
not. This patch allows to express this by passing NULL as the values to
transition from.

It also adds a gtk_style_context_should_create_transitions() function
that returns TRUE when transitions should be created.

11 years agostylecontext: Refactor the way animations are started and stopped
Benjamin Otte [Mon, 17 Sep 2012 09:22:06 +0000 (11:22 +0200)]
stylecontext: Refactor the way animations are started and stopped

We now create animation objects unconditionally, but we only run the
animation loop when gtk_style_context_should_animate() return TRUE.

11 years agostylecontext: Clear animations for values kept in cache
Benjamin Otte [Mon, 17 Sep 2012 08:53:16 +0000 (10:53 +0200)]
stylecontext: Clear animations for values kept in cache

11 years agostylecontext: Remove leftover debugging
Benjamin Otte [Mon, 17 Sep 2012 08:48:38 +0000 (10:48 +0200)]
stylecontext: Remove leftover debugging

... that actually was both wrong, a performance failure and has been
there since the original checkin.

Updating the cached style data absolutely does not mean clearing all
cached style data first. There's nothing to update then.

11 years agocsscomputedvalues: Handle starting animations differently
Benjamin Otte [Sun, 16 Sep 2012 17:07:40 +0000 (19:07 +0200)]
csscomputedvalues: Handle starting animations differently

11 years agoanimation: Don't set the changed properties anymore
Benjamin Otte [Sun, 16 Sep 2012 16:56:32 +0000 (18:56 +0200)]
animation: Don't set the changed properties anymore

The code is not needed anymore. And it looked wrong, too, so I'm glad
it's gone.

11 years agocsscomputedvalues: Compute the changes by animations ourselves
Benjamin Otte [Sun, 16 Sep 2012 16:51:07 +0000 (18:51 +0200)]
csscomputedvalues: Compute the changes by animations ourselves

Instead of letting the animation set a bitmask unconditionally, actually
compare the before and after values for changes.

11 years agocssimage: Make cross-fade code safe for non-integer sizes
Benjamin Otte [Sun, 16 Sep 2012 16:45:17 +0000 (18:45 +0200)]
cssimage: Make cross-fade code safe for non-integer sizes

This includes sizes < 1px, which previously caused a SEGV.

11 years agocssvalue: Fix out-of-bounds in array transition code
Benjamin Otte [Sun, 16 Sep 2012 16:44:59 +0000 (18:44 +0200)]
cssvalue: Fix out-of-bounds in array transition code

11 years agothemingengine: animate spinners again
Cosimo Cecchi [Mon, 10 Sep 2012 17:15:25 +0000 (13:15 -0400)]
themingengine: animate spinners again

Using the animation specified with CSS by the theme.

11 years agocssvalue: Always consider values equal to themselves
Benjamin Otte [Sun, 16 Sep 2012 16:42:25 +0000 (18:42 +0200)]
cssvalue: Always consider values equal to themselves

11 years agocsseasevalue: fix wrong priority in steps easing transformation
Cosimo Cecchi [Mon, 10 Sep 2012 17:10:47 +0000 (13:10 -0400)]
csseasevalue: fix wrong priority in steps easing transformation

We need to add parentheses around the ternary operator, or it will be
applied to the whole expression.

11 years agotests: Add a simple CSS test for cross-fade
Benjamin Otte [Fri, 14 Sep 2012 00:10:53 +0000 (02:10 +0200)]
tests: Add a simple CSS test for cross-fade

11 years agocssimage: Implement (most of) current cross-fade syntax
Benjamin Otte [Fri, 14 Sep 2012 00:06:14 +0000 (02:06 +0200)]
cssimage: Implement (most of) current cross-fade syntax

The CSS4 spec adapted their cross-fade syntax again. Yay!
(The previous parser was completely broken anyway...)

11 years agocsscomputedvalues: Get rid of animated values
Benjamin Otte [Thu, 13 Sep 2012 16:11:29 +0000 (18:11 +0200)]
csscomputedvalues: Get rid of animated values

Merge the animated values code into the computed values code. This
should get rid of various bugs related to animated->computed updating.

11 years agocsscomputedvalues: Store animated values here
Benjamin Otte [Thu, 13 Sep 2012 14:23:36 +0000 (16:23 +0200)]
csscomputedvalues: Store animated values here

Actually use the GtkCssComputedValues to store the computed values here
instead of putting them into the GtkCssAnimatedValues separately.

11 years agocsscomputedvalues: Allow storing animated values here
Benjamin Otte [Thu, 13 Sep 2012 12:25:52 +0000 (14:25 +0200)]
csscomputedvalues: Allow storing animated values here

It's not used yet, but that will come in the next patch(es). This is a
separate patch to make sure we didn't mess up anything.

11 years agocsscomputedvalues: Inline function
Benjamin Otte [Thu, 13 Sep 2012 12:15:22 +0000 (14:15 +0200)]
csscomputedvalues: Inline function

11 years agoanimation: Add _gtk_style_animation_is_static()
Benjamin Otte [Wed, 12 Sep 2012 13:27:59 +0000 (15:27 +0200)]
animation: Add _gtk_style_animation_is_static()

This will be useful to not trigger updates all the time when nothing is
happening (ie due to animations being paused or due to them having
reached their final value).

11 years agocss: Add animation support
Benjamin Otte [Mon, 10 Sep 2012 11:57:56 +0000 (13:57 +0200)]
css: Add animation support

This adds the GtkCssAnimation class and the code needed to hook it into
GtkStyleContext. It takes the values out of the CSS "animation"
properties and does animations. See
  http://dev.w3.org/csswg/css3-animations/
for details.

Note that the code for starting and stopping animations with widget
visibility doesn't work yet.

11 years agowidget: Use gtk_widget_queue_draw() for queueing redraws
Benjamin Otte [Mon, 10 Sep 2012 11:50:10 +0000 (13:50 +0200)]
widget: Use gtk_widget_queue_draw() for queueing redraws

This change is necessary because the old code did not accound for corner
cases (like translucent child windows), which could stop
gtk_widget_queue_resize() to not trigger redraws.

11 years agostylecontext: Provide a function for getting the style provider
Benjamin Otte [Mon, 10 Sep 2012 10:35:46 +0000 (12:35 +0200)]
stylecontext: Provide a function for getting the style provider

This will be necessary for creating the computed values for keyframes.

11 years agowindow: Add the .background class to windows unconditionally
Benjamin Otte [Mon, 10 Sep 2012 10:29:09 +0000 (12:29 +0200)]
window: Add the .background class to windows unconditionally

11 years agocss: Implement 'animation' shorthand parsing
Benjamin Otte [Mon, 10 Sep 2012 10:15:44 +0000 (12:15 +0200)]
css: Implement 'animation' shorthand parsing

11 years agogtk-demo: Add animated pixbufs example
Benjamin Otte [Tue, 22 May 2012 11:41:05 +0000 (13:41 +0200)]
gtk-demo: Add animated pixbufs example