]> Pileus Git - ~andy/gtk/log
~andy/gtk
11 years agoImplement touch text selection in GtkEntry
Carlos Garnacho [Wed, 11 Jul 2012 13:55:00 +0000 (15:55 +0200)]
Implement touch text selection in GtkEntry

GtkTextHandle is used to indicate both the cursor position
and the selection bound, dragging the handles will modify
the selection and scroll if necessary.

Backwards text selection is also blocked for touch devices,
so the handles don't get inverted positions (This is more
important though on GtkTextView, as inverted handles may
obscure portions of the selected text, good for consistence
though)

11 years agoAdd GtkTextHandle
Carlos Garnacho [Wed, 11 Jul 2012 13:51:43 +0000 (15:51 +0200)]
Add GtkTextHandle

This is a helper object to allow text widgets to implement
text selection on touch devices. It allows for both cursor
placement and text selection, displaying draggable handles
on/around the cursor and selection bound positions.

Currently, this is private to GTK+, and only available to
GtkEntry and GtkTextView.

11 years agoscrolledwindow: don't capture events meant for non-child windows
Carlos Garnacho [Wed, 11 Jul 2012 14:44:16 +0000 (16:44 +0200)]
scrolledwindow: don't capture events meant for non-child windows

GtkTextHandle creates temporary override redirect windows, but still
hook to the text widget for events, so those are effectively captured
by GtkScrolledWindow if a text widget is within it

11 years agoUpdated Lithuanian translation
Aurimas Černius [Sun, 2 Sep 2012 12:41:45 +0000 (15:41 +0300)]
Updated Lithuanian translation

11 years agoupdate Punjabi Translation for gtk module
A S Alam [Sun, 2 Sep 2012 04:50:22 +0000 (10:20 +0530)]
update Punjabi Translation for gtk module

11 years agoTry harder to discriminate Shift-F10 and F10
Matthias Clasen [Sun, 2 Sep 2012 02:51:18 +0000 (22:51 -0400)]
Try harder to discriminate Shift-F10 and F10

A change in xkeyboard-config 2.4.1 made it so that function keys
now have a shift level which has the same symbol, but 'eats' the
shift modifier. This would ordinarily make it impossible for us
to discriminate between these key combinations.

This commit tries harder to discriminate in 2 ways:
- XKB has a mechanism to tell us when a modifier should not be
  consumed even though it was used in determining the level.
  We now respect such 'preserved' modifiers. This does not fix
  the Shift-F10 vs F10 problem yet, since xkeyboard-config does
  not currently mark Shift as preserved for function keys.
- Don't consume modifiers that do not change the symbol. For
  the function keys, the symbol on the shift level is the same
  as the base level, so we don't consider Shift consumed.

For more background on the xkeyboard-config change, see
https://bugs.freedesktop.org/show_bug.cgi?id=45008

https://bugzilla.gnome.org/show_bug.cgi?id=661973

11 years ago:qUpdated Latvian translation
Rūdolfs Mazurs [Sat, 1 Sep 2012 21:33:15 +0000 (00:33 +0300)]
:qUpdated Latvian translation

11 years agoUpdated Polish translation
Piotr Drąg [Sat, 1 Sep 2012 19:03:42 +0000 (21:03 +0200)]
Updated Polish translation

11 years agoUpdated Polish translation
Piotr Drąg [Sat, 1 Sep 2012 17:36:35 +0000 (19:36 +0200)]
Updated Polish translation

Also restore missing copyrights.

11 years agoUpdated Galician translations
Fran Diéguez [Sat, 1 Sep 2012 09:43:32 +0000 (11:43 +0200)]
Updated Galician translations

11 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Sat, 1 Sep 2012 08:43:02 +0000 (10:43 +0200)]
Updated Norwegian bokmål translation

11 years agoUpdated Vietnamese translation
Nguyễn Thái Ngọc Duy [Sat, 1 Sep 2012 06:09:03 +0000 (13:09 +0700)]
Updated Vietnamese translation

11 years agopo/vi: import from Damned Lies
Nguyễn Thái Ngọc Duy [Sat, 1 Sep 2012 06:08:27 +0000 (13:08 +0700)]
po/vi: import from Damned Lies

11 years agoRevert "menubutton: make it work with custom content in .ui file"
Matthias Clasen [Sat, 1 Sep 2012 03:10:30 +0000 (23:10 -0400)]
Revert "menubutton: make it work with custom content in .ui file"

This reverts commit 6e6487b461adf2628f49fc257a7a30a2346e5a25.

11 years agoGtkMenuButton: Override add
Matthias Clasen [Sat, 25 Aug 2012 03:32:41 +0000 (23:32 -0400)]
GtkMenuButton: Override add

By removing an existing child in add, if it is our own arrow,
we can make things work better in GtkBuilder.

https://bugzilla.gnome.org/show_bug.cgi?id=682291

11 years agomenubutton: make it work with custom content in .ui file
David Zeuthen [Tue, 21 Aug 2012 16:49:02 +0000 (12:49 -0400)]
menubutton: make it work with custom content in .ui file

This was reported in bug 682291.

https://bugzilla.gnome.org/show_bug.cgi?id=682291

Signed-off-by: David Zeuthen <zeuthen@gmail.com>
11 years agowindow: Add a delay before automatically showing mnemonics
Rui Matos [Mon, 20 Aug 2012 23:28:25 +0000 (01:28 +0200)]
window: Add a delay before automatically showing mnemonics

Showing mnemonics immediately on modifier press can be annoying and
distracting when the user is just trying to Alt+Tab into another
application/window since the mnemonic will show up and quickly vanish
again when we receive the focus out event.

https://bugzilla.gnome.org/show_bug.cgi?id=672431

11 years agoFix positioning of file format radios
Matthias Clasen [Sat, 1 Sep 2012 02:45:18 +0000 (22:45 -0400)]
Fix positioning of file format radios

When the file name changes, the file format radios were dancing
around. This commit keeps them flush right.

11 years agoFix mnemonic activation for some printer option widgets
Matthias Clasen [Sat, 1 Sep 2012 02:44:45 +0000 (22:44 -0400)]
Fix mnemonic activation for some printer option widgets

The file type radio group has a mnemonic on its label, but
activating it did not work, since GtkPrinterOptionWidget did
not know to forward the activation to one of the buttons.

11 years agoImprove print to file options in print dialog
Sebastian Geiger [Fri, 17 Aug 2012 23:04:22 +0000 (01:04 +0200)]
Improve print to file options in print dialog

* This patch gets rid of the separated
   fields for selecting a print to file
   target by removing the folder selection
   button and the entry. It is replaced by
   a browse button,  which opens a file
   selection dialog, that can select both
   the path AND the filename.
 * If the filename is relativ to the home
   folder it will substitute ~/ instead of
   the home folder. Additionally if the
   resulting filename is longer than 30
   characters, it cut of the first part
   and replace it by '...' so that
   the button text never gets too long.

https://bugzilla.gnome.org/show_bug.cgi?id=682129

11 years agol10n: Updated Persian translation
Arash Mousavi [Fri, 31 Aug 2012 19:17:31 +0000 (23:47 +0430)]
l10n: Updated Persian translation

11 years agoAllow setting Pango attributes on entries
Matthias Clasen [Fri, 31 Aug 2012 18:46:07 +0000 (14:46 -0400)]
Allow setting Pango attributes on entries

This is useful to adjust the weight or scale of the text.

11 years agoUpdated Galician translations
Fran Diéguez [Fri, 31 Aug 2012 19:06:05 +0000 (21:06 +0200)]
Updated Galician translations

11 years agoUpdated Polish translation
Piotr Drąg [Fri, 31 Aug 2012 18:48:12 +0000 (20:48 +0200)]
Updated Polish translation

11 years ago[GtkFileChooserButton] bgo#645065 - Restore the previously-selected file when the...
Sebastian Geiger [Fri, 31 Aug 2012 17:02:00 +0000 (12:02 -0500)]
[GtkFileChooserButton] bgo#645065 - Restore the previously-selected file when the button's GtkFileChooserDialog is canceled

The file chooser is asynchronous, so doing 'select_file (old_file)' and subsequently querying
the file for updating the labels is not going to work.  However, the underlying file chooser
will emit 'selection-changed' as appropriate when it finishes restoring the old file.  So,
we only need to update the labels when the file chooser dialog is confirmed, not cancelled.

11 years agoMove entry completion code where it belongs
Matthias Clasen [Fri, 31 Aug 2012 14:47:23 +0000 (10:47 -0400)]
Move entry completion code where it belongs

This commit moves all the entry completion implementation
into gtkentrycompletion.c. It also gets rid of an unnecessary
completion_device member in GtkEntryPrivate.

11 years agoGtkEntry: pack GtkEntryPrivate a bit better
Matthias Clasen [Fri, 31 Aug 2012 02:14:23 +0000 (22:14 -0400)]
GtkEntry: pack GtkEntryPrivate a bit better

11 years agoAlso compile gtkdbusgenerated.c on non-UNIX environments
Erik van Pienbroek [Mon, 27 Aug 2012 20:18:29 +0000 (22:18 +0200)]
Also compile gtkdbusgenerated.c on non-UNIX environments

When compiling gtk on Win32 then the file gtkdbusgenerated.c also needs to be
compiled and linked into the gtk library as it's needed for GtkMountOperation

https://bugzilla.gnome.org/show_bug.cgi?id=682825

11 years agoAlways make primary headings bold in message dialogs
William Jon McCann [Wed, 29 Aug 2012 21:19:49 +0000 (17:19 -0400)]
Always make primary headings bold in message dialogs

Unless they have markup. But only use big text if there is
secondary text.

https://bugzilla.gnome.org/show_bug.cgi?id=683001

11 years agoUpdated Kazakh translation
Baurzhan Muftakhidinov [Thu, 30 Aug 2012 17:04:39 +0000 (23:04 +0600)]
Updated Kazakh translation

11 years agoRemove unintentional symbol export
Matthias Clasen [Wed, 29 Aug 2012 22:16:34 +0000 (18:16 -0400)]
Remove unintentional symbol export

Just a forgotten static.

11 years agoRevert "gtk: Fix exports for new symbols"
Matthias Clasen [Wed, 29 Aug 2012 22:15:46 +0000 (18:15 -0400)]
Revert "gtk: Fix exports for new symbols"

This reverts commit 07b33586e2552faece4a404c01cffb340ab7fc62.

11 years agogtk: Fix exports for new symbols
Rico Tzschichholz [Wed, 29 Aug 2012 06:17:36 +0000 (08:17 +0200)]
gtk: Fix exports for new symbols

11 years agoUpdate config.h.win32.in
Chun-wei Fan [Wed, 29 Aug 2012 04:19:56 +0000 (12:19 +0800)]
Update config.h.win32.in

Make the entries more in line with those given in the generated
config.h.in.

11 years agoUpdated Galician translations
Fran Diéguez [Tue, 28 Aug 2012 22:08:53 +0000 (00:08 +0200)]
Updated Galician translations

11 years agoUpdated Lithuanian translation
Aurimas Černius [Tue, 28 Aug 2012 19:17:30 +0000 (22:17 +0300)]
Updated Lithuanian translation

11 years agoscrolled-window: fix rendering of scrolled window background
Cosimo Cecchi [Tue, 28 Aug 2012 15:51:18 +0000 (11:51 -0400)]
scrolled-window: fix rendering of scrolled window background

- don't poke at the children's background pattern at draw time, but just
  call gtk_render_background()
- we should propagate rendering of the background to the overshoot
  window when the state flags or the style changes, or it won't respond
  to e.g. focused/backdrop changes correctly

https://bugzilla.gnome.org/show_bug.cgi?id=682854

11 years agocss: Remove unused macro
Benjamin Otte [Tue, 28 Aug 2012 13:30:23 +0000 (15:30 +0200)]
css: Remove unused macro

GTK_CSS_DEPENDS_ON_EVERYTHING was used as a placeholder when
implementing dependencies. Now that dependencies are completely
implemented, it's no longer necessary.

11 years agocssimage: Implement dependencies for images
Benjamin Otte [Tue, 28 Aug 2012 13:29:56 +0000 (15:29 +0200)]
cssimage: Implement dependencies for images

11 years agocssvalue: Implement dependency tracking for gradients
Benjamin Otte [Mon, 27 Aug 2012 16:39:46 +0000 (18:39 +0200)]
cssvalue: Implement dependency tracking for gradients

11 years agocssvalue: Handle dependencies for typed values
Benjamin Otte [Mon, 27 Aug 2012 15:52:02 +0000 (17:52 +0200)]
cssvalue: Handle dependencies for typed values

11 years agocss: Make color lookup handle dependencies
Benjamin Otte [Mon, 27 Aug 2012 15:27:06 +0000 (17:27 +0200)]
css: Make color lookup handle dependencies

11 years agocss: Handle some more simple cases of dependencies
Matthias Clasen [Sat, 25 Aug 2012 15:22:14 +0000 (11:22 -0400)]
css: Handle some more simple cases of dependencies

11 years agocssvalue: First step of proper dependency tracking
Benjamin Otte [Fri, 24 Aug 2012 23:59:13 +0000 (01:59 +0200)]
cssvalue: First step of proper dependency tracking

Instead of using the EVERYTHING aka FIXME value for tdependencies,
actually compute the dependencies in a bunch of simple cases.

11 years agostylecontext: Update computed values when dependencies change
Benjamin Otte [Fri, 24 Aug 2012 16:17:52 +0000 (18:17 +0200)]
stylecontext: Update computed values when dependencies change

This fixes the longstanding bug where GTK would not update styles when
parent styles would change.

https://bugzilla.gnome.org/show_bug.cgi?id=672046

11 years agostylecontext: Refactor some code
Benjamin Otte [Fri, 24 Aug 2012 16:17:07 +0000 (18:17 +0200)]
stylecontext: Refactor some code

This just changes the arguments passed to build_properties() and moves
that function around in the source file. No functional changes are
happening.

11 years agocss: Pass relevant properties to css lookup code
Benjamin Otte [Fri, 24 Aug 2012 15:31:57 +0000 (17:31 +0200)]
css: Pass relevant properties to css lookup code

This is not used yet in this patch.

11 years agocomputedvalues: Pass dependencies to set_value()
Benjamin Otte [Fri, 24 Aug 2012 15:00:02 +0000 (17:00 +0200)]
computedvalues: Pass dependencies to set_value()

This simplifies the code.

11 years agostylecontext: Compute correct changes
Benjamin Otte [Fri, 24 Aug 2012 14:28:47 +0000 (16:28 +0200)]
stylecontext: Compute correct changes

... in the case where no change of the DOM tree actually happened.

We don't do anything yet with that information, this patch just
correctly computes it.

11 years agostylecontext: Split out a function for simplicity
Benjamin Otte [Tue, 24 Jul 2012 14:22:06 +0000 (16:22 +0200)]
stylecontext: Split out a function for simplicity

11 years agocssomputedvalues: Track dependencies
Benjamin Otte [Mon, 23 Jul 2012 14:14:20 +0000 (16:14 +0200)]
cssomputedvalues: Track dependencies

We now track what values have dependencies on what other values so that
we could in theory recompute them when we need to.

11 years agostylecontext: Pass the changes in the parent to validation function
Benjamin Otte [Wed, 18 Jul 2012 14:55:32 +0000 (16:55 +0200)]
stylecontext: Pass the changes in the parent to validation function

This way, inherited properties can be updated.

11 years agocss: Introduce dependencies for value computations
Benjamin Otte [Mon, 16 Jul 2012 12:48:43 +0000 (14:48 +0200)]
css: Introduce dependencies for value computations

When values are computed, they might depend on various other values and
we need to track this so we can update the values when those other
values change. This is the first step in making that happen.

This patch does not do any dependency tracking at all, instead it uses
GTK_CSS_DEPENDS_ON_EVERYTHING as a sort of FIXME.

11 years agocss: Move computing of initial and inherit values
Benjamin Otte [Tue, 17 Jul 2012 12:01:52 +0000 (14:01 +0200)]
css: Move computing of initial and inherit values

... to the compute vfunc. Simplifies code quite a bit. But makes the
code no longer a simple step-by-step implementation of the spec.

11 years agocssstyleproperty: Get rid of unused API
Benjamin Otte [Mon, 16 Jul 2012 12:28:58 +0000 (14:28 +0200)]
cssstyleproperty: Get rid of unused API

Both _gtk_css_style_property_print_value() and
_gtk_css_style_property_compute_value() aren't necessary anymore and are
replaced by _gtk_css_value_print() and _gtk_css_value_comptue()
respectively.

11 years agocsscustomproperty: Move compute code to GtkCssTypedValue
Benjamin Otte [Mon, 16 Jul 2012 12:15:19 +0000 (14:15 +0200)]
csscustomproperty: Move compute code to GtkCssTypedValue

This way, we don't need the print_value vfunc anymore.

11 years agocssstyleproperty: Don't set print or compute vfuncs anymore
Benjamin Otte [Mon, 16 Jul 2012 12:01:37 +0000 (14:01 +0200)]
cssstyleproperty: Don't set print or compute vfuncs anymore

Nobody does that these days.

11 years agocssstyleproperty: Remove all useless compute vfuncs
Benjamin Otte [Mon, 16 Jul 2012 11:53:19 +0000 (13:53 +0200)]
cssstyleproperty: Remove all useless compute vfuncs

Now that we call _compute() by default, we don't need any special cases
anymore that do the same thing.

11 years agocssstyleproperty: Call _compute() in the compute function
Benjamin Otte [Mon, 16 Jul 2012 11:47:04 +0000 (13:47 +0200)]
cssstyleproperty: Call _compute() in the compute function

... instead pof just reffing the value.

11 years agocss: Move special case for 0px borders
Benjamin Otte [Mon, 16 Jul 2012 11:42:18 +0000 (13:42 +0200)]
css: Move special case for 0px borders

This is in preparation for the next commits.

11 years agocss: Fold color value computation into gtksymboliccolor.c
Benjamin Otte [Sat, 14 Jul 2012 18:24:46 +0000 (20:24 +0200)]
css: Fold color value computation into gtksymboliccolor.c

This gets rid of the public function
_gtk_css_rgba_value_compute_from_symbolic().
The fallback is now handled using a switch statement instead of letting
the caller pass the function.

11 years agocss: Pass property_id to compute function
Benjamin Otte [Thu, 12 Jul 2012 01:43:15 +0000 (03:43 +0200)]
css: Pass property_id to compute function

This is a reorganization of how value computing should be done.
Previously the GtkCssStyleProperty.compute vfunc was supposed to take
care of special cases when it needed those for computation. However,
this proved to be very complicated in cases where values were nested and
only the last value (of a common type) needed to be special cased.

A common example for this was the fallback handling for unresolvable
colors.

Now, we pass the property's ID along with all compute functions so we
can do the special casing where it's necessary.
Note that no actual changes happen in this commit. This will happen in
follow-ups.

11 years agocss: Introduce _gtk_css_value_compute()
Benjamin Otte [Wed, 11 Jul 2012 04:56:07 +0000 (06:56 +0200)]
css: Introduce _gtk_css_value_compute()

This commit is essentially a large reorganization. Instead of all value
subtypes having their own compute function, there is the general
_gtk_css_value_compute() function that then calls a vfunc on the
subtype.

11 years agoImplemented FUEL entries to Assamese translation
Nilamdyuti Goswami [Mon, 27 Aug 2012 18:55:20 +0000 (00:25 +0530)]
Implemented FUEL entries to Assamese translation

11 years agoImplemented FUEL entries to Assamese translation
Nilamdyuti Goswami [Mon, 27 Aug 2012 18:54:10 +0000 (00:24 +0530)]
Implemented FUEL entries to Assamese translation

11 years ago[l10n] Update Japanese translation
Jiro Matsuzawa [Mon, 27 Aug 2012 15:03:02 +0000 (00:03 +0900)]
[l10n] Update Japanese translation

11 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Mon, 27 Aug 2012 08:24:01 +0000 (10:24 +0200)]
Updated Norwegian bokmål translation

11 years agogkimmulticontext: Remove left over debug print
Adel Gadllah [Sun, 26 Aug 2012 22:48:43 +0000 (00:48 +0200)]
gkimmulticontext: Remove left over debug print

Remove the g_print debug statement from propagate_purpose.

https://bugzilla.gnome.org/show_bug.cgi?id=682747

11 years agoUpdated Greek translations
Tom Tryfonidis [Sun, 26 Aug 2012 20:05:07 +0000 (23:05 +0300)]
Updated Greek translations

11 years agoAssamese translation updated
Nilamdyuti Goswami [Sun, 26 Aug 2012 16:36:09 +0000 (22:06 +0530)]
Assamese translation updated

11 years agoAssamese translation updated
Nilamdyuti Goswami [Sun, 26 Aug 2012 16:29:27 +0000 (21:59 +0530)]
Assamese translation updated

11 years agoFix a typo in the the comments
William Jon McCann [Sun, 26 Aug 2012 14:52:08 +0000 (22:52 +0800)]
Fix a typo in the the comments

https://bugzilla.gnome.org/show_bug.cgi?id=682724

11 years agoUpdated Polish translation
Piotr Drąg [Sun, 26 Aug 2012 12:52:56 +0000 (14:52 +0200)]
Updated Polish translation

11 years agoDocs: GtkAspectFrame: use top/bottom for vertical alignment
Thomas Hindoe Paaboel Andersen [Sat, 25 Aug 2012 12:33:45 +0000 (14:33 +0200)]
Docs: GtkAspectFrame: use top/bottom for vertical alignment

Before left/right was used.

https://bugzilla.gnome.org/show_bug.cgi?id=682662

11 years agoUse new printer setting to reduce code required by application
Timothy Arceri [Fri, 25 May 2012 03:12:36 +0000 (13:12 +1000)]
Use new printer setting to reduce code required by application

Updated demo to use new setting that allows an application to change the
output filename without the need to create the uri itself.

https://bugzilla.gnome.org/show_bug.cgi?id=676787

11 years agoGtkIMMultcontext: Propagate input purpose and hints
Matthias Clasen [Sat, 25 Aug 2012 19:40:50 +0000 (15:40 -0400)]
GtkIMMultcontext: Propagate input purpose and hints

The lack of this was pointed out by Carlos Garnacho in
https://bugzilla.gnome.org/show_bug.cgi?id=651244

11 years agoAdd GTK_INPUT_HINT_INHIBIT_OSK to GtkInputHints
Carlos Garnacho [Fri, 24 Aug 2012 18:41:43 +0000 (20:41 +0200)]
Add GTK_INPUT_HINT_INHIBIT_OSK to GtkInputHints

This hint may be used in text widgets to inhibit their
input methods. The most compelling usecase is calculator
applications, which already have a builtin and better
suited onscreen keyboard.

https://bugzilla.gnome.org/show_bug.cgi?id=651244

11 years agoTrivial: Fix a whitespace messup
Matthias Clasen [Sat, 25 Aug 2012 18:24:20 +0000 (14:24 -0400)]
Trivial: Fix a whitespace messup

Pointed out by Carlos Garnacho in bug 651244.

11 years agoUpdated Spanish translation
Daniel Mustieles [Sat, 25 Aug 2012 10:08:08 +0000 (12:08 +0200)]
Updated Spanish translation

11 years agoUpdated Vietnamese translation
Nguyễn Thái Ngọc Duy [Sat, 25 Aug 2012 04:19:37 +0000 (11:19 +0700)]
Updated Vietnamese translation

11 years agopo/vi: import from Damned Lies
Nguyễn Thái Ngọc Duy [Sat, 25 Aug 2012 04:17:02 +0000 (11:17 +0700)]
po/vi: import from Damned Lies

11 years agoUpdated Polish translation
Piotr Drąg [Fri, 24 Aug 2012 22:29:48 +0000 (00:29 +0200)]
Updated Polish translation

11 years agoImprove the layout of the mount operation dialog
William Jon McCann [Thu, 23 Aug 2012 16:04:23 +0000 (12:04 -0400)]
Improve the layout of the mount operation dialog

This improves the layout of the mount operations dialog to:
 * Make primary labels bold in all cases
 * Lay out the widgets in a grid
 * Put space between the two radio groups to distinguish them

https://bugzilla.gnome.org/show_bug.cgi?id=682552

11 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 23 Aug 2012 15:42:22 +0000 (17:42 +0200)]
Updated Spanish translation

11 years agoRemove gdk_window_flush_if_exposing as its not needed anymore
Alexander Larsson [Thu, 23 Aug 2012 13:59:33 +0000 (15:59 +0200)]
Remove gdk_window_flush_if_exposing as its not needed anymore

We no longer support modifying GdkWindow hierarchies during
expose events. This is not working anymore anyway as the
flush operation now does not push already rendered pixels
in the flushed window from the double buffer to the window.

https://bugzilla.gnome.org/show_bug.cgi?id=679144

11 years agoFix flashing in non-double-buffered widgets
Alexander Larsson [Thu, 23 Aug 2012 13:51:13 +0000 (15:51 +0200)]
Fix flashing in non-double-buffered widgets

Avoid copying back partially drawn double-buffer data
when flushing to avoid flicker. This means non double
buffered widgets must draw opaque pixels in its expose
handlers, and that you are not allowed to use direct
rendering (or modify GdkWindow pos/size/order) from
inside the expose handler of a double buffered widget.

See https://bugzilla.gnome.org/show_bug.cgi?id=679144 for more
details

11 years agoGtkWidget: fix insert_action_group(NULL)
Ryan Lortie [Thu, 23 Aug 2012 12:18:11 +0000 (08:18 -0400)]
GtkWidget: fix insert_action_group(NULL)

gtk_widget_insert_action_group (widget, "foo", NULL) is valid, but
g_action_muxer_insert (muxer, "foo", NULL) is not.  Use
g_action_muxer_remove() for that case.

11 years agogdkwindow.c: Fix up window debug code
Alexander Larsson [Thu, 23 Aug 2012 09:59:00 +0000 (11:59 +0200)]
gdkwindow.c: Fix up window debug code

Make this build and fully print clip regions.

11 years agoAvoid unnecessary window flushes
Alexander Larsson [Wed, 22 Aug 2012 15:01:15 +0000 (17:01 +0200)]
Avoid unnecessary window flushes

The code was calling _gdk_window_ref_cairo_surface in a few places
where the intent was not to read/write to the surface, but just look
at its type (to e.g. create a similar surface). This is bad, as that
operation causes a flush which may cause unnecessary work and/or
flashing. Instead we just get the impl surface in these cases.

11 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Thu, 23 Aug 2012 07:40:42 +0000 (15:40 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

11 years agoquartz: add evil casting to make sure time wraps correctly on 32bit machines
Michael Natterer [Thu, 23 Aug 2012 07:28:13 +0000 (09:28 +0200)]
quartz: add evil casting to make sure time wraps correctly on 32bit machines

get_time_from_ns_event(): apply patch from Michael Hutchinson which
makes sure the returned guint32 wraps correctly on 32 bit machines
when the uptime exceeds 2^32 ms.

11 years agoUpdated Polish translation
Piotr Drąg [Wed, 22 Aug 2012 22:01:33 +0000 (00:01 +0200)]
Updated Polish translation

11 years agoProtect pasteboard GtkTargetPair flag values from being out of range
John Ralls [Wed, 22 Aug 2012 21:38:53 +0000 (14:38 -0700)]
Protect pasteboard GtkTargetPair flag values from being out of range

11 years agoImplement gdk_quartz_keymap_lookup_key
John Ralls [Thu, 26 Jul 2012 22:21:02 +0000 (15:21 -0700)]
Implement gdk_quartz_keymap_lookup_key

11 years agoCopy in annotations missing from gtkdnd-quartz and gtkclipboard-quartz
John Ralls [Mon, 16 Jul 2012 22:09:28 +0000 (15:09 -0700)]
Copy in annotations missing from gtkdnd-quartz and gtkclipboard-quartz

11 years agoUpdate French translation
Alexandre Franke [Wed, 22 Aug 2012 14:22:06 +0000 (16:22 +0200)]
Update French translation

11 years agoFix French translation
Alexandre Franke [Wed, 22 Aug 2012 13:37:11 +0000 (15:37 +0200)]
Fix French translation

11 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Wed, 22 Aug 2012 08:29:59 +0000 (10:29 +0200)]
Updated Norwegian bokmål translation

11 years agoGtkActionHelper: two small fixups in _set_target_value()
Ryan Lortie [Wed, 22 Aug 2012 04:54:57 +0000 (00:54 -0400)]
GtkActionHelper: two small fixups in _set_target_value()

First, ensure we always consume floating values, as documented.

Second (and more serious), don't try to query the action if the
action name is not set yet.  This will cause crashes...

11 years agoUpdated Vietnamese translation
Nguyễn Thái Ngọc Duy [Wed, 22 Aug 2012 02:02:05 +0000 (09:02 +0700)]
Updated Vietnamese translation