]> Pileus Git - ~andy/gtk/log
~andy/gtk
11 years agoUpdated Spanish translation
Daniel Mustieles [Thu, 16 Aug 2012 14:10:50 +0000 (16:10 +0200)]
Updated Spanish translation

11 years agogtk/gtklevelbar.c: Fix build on non-C99 compilers
Chun-wei Fan [Wed, 15 Aug 2012 07:52:01 +0000 (15:52 +0800)]
gtk/gtklevelbar.c: Fix build on non-C99 compilers

-Include fallback-c89.c for the usage of round(), where an implementation
 of round() is provided for compilers that don't have it
-Use g_ascii_strtod() instead of strtof as strtof() may not be universally
 available.

11 years agoUpdate Visual C++ 2010 project files
Chun-wei Fan [Wed, 15 Aug 2012 07:48:15 +0000 (15:48 +0800)]
Update Visual C++ 2010 project files

-Turn on Whole Program Optimization for all Release builds.
-Disable Incremental Linking for all Release builds.
-Use MultiByte character set for all configurations for consistency.

11 years agoUpdate Visual C++ 2008 projects
Chun-wei Fan [Wed, 15 Aug 2012 07:07:15 +0000 (15:07 +0800)]
Update Visual C++ 2008 projects

-Enhance optimization by turning on WholeProgramOptimization for all
 Release builds
-Disable IncrementalLinking for all Release builds
-Make sure we are using MultiByte character set, to be consistent across
 the board for all configurations

11 years agoFix _gtk_entry_get_borders() declaration
Colin Walters [Tue, 14 Aug 2012 23:47:28 +0000 (19:47 -0400)]
Fix _gtk_entry_get_borders() declaration

Regression introduced by https://bugzilla.gnome.org/show_bug.cgi?id=681591

11 years agodocs: Clarify GtkToggleButton action documentation
David King [Fri, 4 May 2012 02:25:22 +0000 (03:25 +0100)]
docs: Clarify GtkToggleButton action documentation

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

11 years agoAllow building with CFLAGS=-Werror
Stef Walter [Fri, 10 Aug 2012 18:12:39 +0000 (03:12 +0900)]
Allow building with CFLAGS=-Werror

Allow building using:

$ CFLAGS=-Werror sh autogen.sh --prefix=/xxx

11 years agoFix typo in documentation
William Jon McCann [Fri, 10 Aug 2012 16:23:02 +0000 (12:23 -0400)]
Fix typo in documentation

11 years agoUpdate accessibility unit tests to consider password fields.
Mario Sanchez Prada [Fri, 10 Aug 2012 16:05:58 +0000 (18:05 +0200)]
Update accessibility unit tests to consider password fields.

Updated test/a11y/entries.ui to include a new GtkEntry with
'visibility' set to FALSE, and update expectations.

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

11 years agoExpose the masked string for password fields to assistive technologies.
Mario Sanchez Prada [Fri, 10 Aug 2012 16:04:57 +0000 (18:04 +0200)]
Expose the masked string for password fields to assistive technologies.

Call _gtk_entry_get_display_text()from gtkentryaccessible.c to make
sure we always consider the actual text being displayed when
implementing the functions from the AtkTet interface.

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

11 years agoExport gtk_entry_get_display_text() as a private function through
Mario Sanchez Prada [Fri, 10 Aug 2012 16:03:17 +0000 (18:03 +0200)]
Export gtk_entry_get_display_text() as a private function through
gtkentryprivate.h, so we can use it from gtkentryaccessible.c

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

11 years agoAssamese translation updated
Nilamdyuti Goswami [Fri, 10 Aug 2012 15:27:31 +0000 (20:57 +0530)]
Assamese translation updated

11 years agoappchooserdialog: add a missing label mnemonic
Cosimo Cecchi [Fri, 10 Aug 2012 11:28:01 +0000 (13:28 +0200)]
appchooserdialog: add a missing label mnemonic

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

11 years agopo/eo.po: fix translations for GtkSwitch
Ryan Lortie [Fri, 10 Aug 2012 02:44:04 +0000 (22:44 -0400)]
po/eo.po: fix translations for GtkSwitch

Translating "ON" as "EK" (verb prefix for beginning of an action) and
"OFF" as "FOR" (away) is suboptimal.  Just use the suggested 1/0 glpyhs
instead.

The previous translator was clearly insane.

11 years agoAssamese translation updated
Nilamdyuti Goswami [Wed, 8 Aug 2012 15:30:11 +0000 (21:00 +0530)]
Assamese translation updated

11 years agoAssamese translation updated
Nilamdyuti Goswami [Wed, 8 Aug 2012 12:42:14 +0000 (18:12 +0530)]
Assamese translation updated

11 years agoAssamese translation updated
Nilamdyuti Goswami [Wed, 8 Aug 2012 12:30:28 +0000 (18:00 +0530)]
Assamese translation updated

11 years agoChain up relevant GObjectClass:notify vfuncs
Claudio Saavedra [Wed, 4 Apr 2012 08:10:44 +0000 (11:10 +0300)]
Chain up relevant GObjectClass:notify vfuncs

These widgets have ancestors other than GObject which could eventually
implement the notify vfunc for their properties. For correctness, they
should chain up the notify vfunc.

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

11 years agotoolbar: deprecate shadow-type style property
Cosimo Cecchi [Tue, 7 Aug 2012 11:09:42 +0000 (13:09 +0200)]
toolbar: deprecate shadow-type style property

While shadow-type *properties* can make sense, to opt-out of the
padding/border machinery programmatically, having it as a style
property doesn't make any sense, since we have a better way to change
the bevel style from the theme already.
This commit deprecates the shadow-type style property in GtkToolbar.

11 years agotoolbar: don't request CSS padding twice
Cosimo Cecchi [Tue, 7 Aug 2012 14:05:30 +0000 (16:05 +0200)]
toolbar: don't request CSS padding twice

This is a regression from commit
d0d21a4f00fee2c931dc3217bd89518dfcf7fe2a.

We are requesting the CSS padding twice: once unconditionally and
another time if SHADOW_TYPE != NONE, which is usually the case.

11 years agotoolbar: deprecate internal-padding style property
Cosimo Cecchi [Tue, 7 Aug 2012 10:54:30 +0000 (12:54 +0200)]
toolbar: deprecate internal-padding style property

This is equivalent to a regular CSS padding, and that's what people
should use.

11 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Tue, 7 Aug 2012 05:41:47 +0000 (13:41 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

11 years agoBump version
Matthias Clasen [Tue, 7 Aug 2012 05:37:59 +0000 (01:37 -0400)]
Bump version

11 years ago3.5.10
Matthias Clasen [Tue, 7 Aug 2012 05:21:17 +0000 (01:21 -0400)]
3.5.10

11 years agoUpdate expected dump output for color choooser
Matthias Clasen [Tue, 7 Aug 2012 05:17:51 +0000 (01:17 -0400)]
Update expected dump output for color choooser

11 years agoUpdates
Matthias Clasen [Tue, 7 Aug 2012 04:58:46 +0000 (00:58 -0400)]
Updates

11 years agoOptimize gtk_widget_path_copy() by preallocating "elems" array
Matthias Clasen [Tue, 7 Aug 2012 04:38:48 +0000 (00:38 -0400)]
Optimize gtk_widget_path_copy() by preallocating "elems" array

gtk_widget_path_copy() currently calls g_array_append_val() in a loop,
which is inefficient due to reallocating the array's memory. Calling
g_array_set_size() before entering the loop reduces the number of CPU
cycles used by roughly 30%.

Patch by John Lindgren,
https://bugzilla.gnome.org/show_bug.cgi?id=679978

11 years agoFix a memory leak
Matthias Clasen [Tue, 7 Aug 2012 03:37:36 +0000 (23:37 -0400)]
Fix a memory leak

As Pavel Vesin pointed out in bug 681064, we were leaking
the container_restyle_queue.

11 years agoFix DND keyboard control with XI2
Matthias Clasen [Tue, 7 Aug 2012 02:56:59 +0000 (22:56 -0400)]
Fix DND keyboard control with XI2

We are using XI2 to grab the key events, but we did not do the
necessary extra work to make GDK deliver root window events to us.

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

11 years agoImprove GtkMenuButton menu positioning
Matthias Clasen [Tue, 7 Aug 2012 02:26:13 +0000 (22:26 -0400)]
Improve GtkMenuButton menu positioning

Take the menu halign/valign into consideration when positioning
the menu. Also, document the various combinations.

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

11 years agoRemove references to deprecated functions
Matthias Clasen [Mon, 6 Aug 2012 23:44:17 +0000 (19:44 -0400)]
Remove references to deprecated functions

This inconsistency of the docs was pointed out by
Pierre-Yves Luyten in bug 680949.

11 years agogtk/gtkadjustment.c: Improve docs
Javier Jardón [Mon, 6 Aug 2012 18:19:38 +0000 (03:19 +0900)]
gtk/gtkadjustment.c: Improve docs

Refer to #GtkAdjustment properties instead fields

11 years agoLeave GDK_THREADS_ENTER/LEAVE visible for now
Matthias Clasen [Mon, 6 Aug 2012 12:34:46 +0000 (08:34 -0400)]
Leave GDK_THREADS_ENTER/LEAVE visible for now

Not defining these macros at all causes harsh build breakages.
Better to leave them defined (but documented as deprecated) for now.
Everybody will still get the deprecation warnings for the underlying
gdk_threads_enter/leave.

We can hide the macros again later on when the world has had some
time to port off GDK threads.

11 years agoMake GtkToolbar honour css border and padding
Paolo Borelli [Sat, 4 Aug 2012 15:22:38 +0000 (17:22 +0200)]
Make GtkToolbar honour css border and padding

The widget is already calling gtk_render_frame, but is not measuring css
border and padding when negotiating its size. This patch replaces the
already existing get_internal_padding static helper with a function that
sums the old internal-padding value with the values specified via css.

11 years agocups: Use IPP api when necessary with CUPS 1.6
Rico Tzschichholz [Sun, 5 Aug 2012 07:56:58 +0000 (09:56 +0200)]
cups: Use IPP api when necessary with CUPS 1.6

11 years agoAdd labels to some visual index images
Matthias Clasen [Sat, 4 Aug 2012 23:11:43 +0000 (19:11 -0400)]
Add labels to some visual index images

11 years agoAdd GtkLevelBar to the visual index
Matthias Clasen [Sat, 4 Aug 2012 23:10:58 +0000 (19:10 -0400)]
Add GtkLevelBar to the visual index

11 years agoSync man page configury with GLib
Matthias Clasen [Thu, 2 Aug 2012 23:58:01 +0000 (01:58 +0200)]
Sync man page configury with GLib

11 years agoCosmetic improvements to man pages
Matthias Clasen [Thu, 2 Aug 2012 23:50:41 +0000 (01:50 +0200)]
Cosmetic improvements to man pages

11 years agodocs: Add examples for use of GDK_VERSION_MIN_REQUIRED
Matthias Clasen [Thu, 2 Aug 2012 23:49:56 +0000 (01:49 +0200)]
docs: Add examples for use of GDK_VERSION_MIN_REQUIRED

I had to work this out for myself, so better document it.

11 years agodocs: Improve man page generation
Matthias Clasen [Thu, 2 Aug 2012 23:49:15 +0000 (01:49 +0200)]
docs: Improve man page generation

Use $(AM_V_GEN) for generating man pages, and set some parameters
for the XSL stylesheets. Among other things, don't generate AUTHORS
and COPYRIGHT sections.

11 years agoUpdated Persian translations
Arash Mousavi [Sat, 4 Aug 2012 19:20:20 +0000 (23:50 +0430)]
Updated Persian translations

11 years agogtk: ref the action around gtk_action_emit_activate()
Michael Natterer [Fri, 3 Aug 2012 21:24:39 +0000 (23:24 +0200)]
gtk: ref the action around gtk_action_emit_activate()

for the same reason we already ref the action's group in the function.
(cherry picked from commit ebe50bbecba1d4797853134add2cb37baa13092e)

11 years agoUpdated gujarati file
Sweta Kothari [Fri, 3 Aug 2012 09:59:51 +0000 (15:29 +0530)]
Updated gujarati file

11 years agoUpdated gujarati file
Sweta Kothari [Fri, 3 Aug 2012 09:46:32 +0000 (15:16 +0530)]
Updated gujarati file

11 years agoiconview: fix get_tooltip_context transfer annotation
René Stadler [Wed, 1 Aug 2012 16:51:21 +0000 (18:51 +0200)]
iconview: fix get_tooltip_context transfer annotation

Just like treeview.

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

11 years ago[l10n] Update Japanese translation
Jiro Matsuzawa [Wed, 1 Aug 2012 13:19:19 +0000 (22:19 +0900)]
[l10n] Update Japanese translation

Modify the About label

11 years agoExpand the thread deprecation documentation
Matthias Clasen [Wed, 1 Aug 2012 08:26:17 +0000 (10:26 +0200)]
Expand the thread deprecation documentation

The story is slightly different for applications vs libraries;
make it clear that libraries should continue using the lock so
we don't break applications that haven't been ported to the
'single thread' model yet.

11 years agofix bug#680901: translations of "even sheet" and "odd sheet" are wrong
Funda Wang [Tue, 31 Jul 2012 22:05:24 +0000 (22:05 +0000)]
fix bug#680901: translations of "even sheet" and "odd sheet" are wrong

11 years agonotebook: restore previous behaviour wrt. unparenting of tab labels
Cosimo Cecchi [Tue, 31 Jul 2012 18:17:54 +0000 (20:17 +0200)]
notebook: restore previous behaviour wrt. unparenting of tab labels

When the tab label gets removed from the notebook on widget
desctruction, we should still unconditionally unparent it from the
notebook, since failing to do so will keep a stray reference alive.

In case applications rely on the tab label being destroyed to release
other references (e.g. because the tab label is a custom object, or
another object's lifecycle is tied to it using g_object_set_data_full()),
this will also possibly cause other references to get leaked.
In Nautilus, the result was we were failing to release the reference to
a NautilusWindowSlot, and other parts of the application relied
on it being destroyed at a specific time instead, causing the
application to crash when closing a window.

This is a regression from commit
325cf071d1b6de55eac2a97d8f38558efda17807.

This commit restores the previous unparenting behavior in case we're not
in a DnD operation.

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

11 years agomenubutton: Clear references in dispose, not finalize
Jasper St. Pierre [Sun, 29 Jul 2012 16:43:26 +0000 (13:43 -0300)]
menubutton: Clear references in dispose, not finalize

We need to do this here so that an explicit gtk_widget_destroy
on either the widget or a container that holds it will kill the
reference to the menu or model.

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

11 years agoImprove threading documentation
Matthias Clasen [Mon, 30 Jul 2012 08:44:22 +0000 (10:44 +0200)]
Improve threading documentation

This commit just adds a small section to the threading documentation
about the deprecation. More is needed here, including a migration
example.

11 years agogdk: Deprecate thread functions
Matthias Clasen [Sat, 28 Jul 2012 15:23:17 +0000 (17:23 +0200)]
gdk: Deprecate thread functions

This commit deprecates gdk_threads_init, gdk_threads_enter,
gdk_threads_leave and gdk_threads_set_lock_functions. Using GTK+
from multiple threads does not work at all on Windows, and is
problematic on other platforms as well. We want to move to a world
where all GTK+ calls are made from the main thread.
Use g_main_context_invoke, g_idle_add and related functions if you
need to schedule GTK+ calls from other threads.

http://bugzilla.gnome.org/show_bug.cgi?id=680754

11 years agodemos: Don't use GDK_THREADS_ENTER/LEAVE macros
Matthias Clasen [Mon, 30 Jul 2012 09:15:40 +0000 (11:15 +0200)]
demos: Don't use GDK_THREADS_ENTER/LEAVE macros

We don't use threads here, so no need to use them.

11 years agomodules: Don't use GDK_THREADS_ENTER/LEAVE macros internally
Matthias Clasen [Mon, 30 Jul 2012 08:37:32 +0000 (10:37 +0200)]
modules: Don't use GDK_THREADS_ENTER/LEAVE macros internally

These are just wrappers for the functions, and we want to
deprecate them. Stopping to use them internally is a good
first step. Also define GTK_COMPILATION so we can keep using
gdk_threads_enter/leave without causing deprecation warnings.

11 years agogtk: Don't use GDK_THREADS_ENTER/LEAVE macros internally
Matthias Clasen [Sat, 28 Jul 2012 12:52:40 +0000 (14:52 +0200)]
gtk: Don't use GDK_THREADS_ENTER/LEAVE macros internally

These are just wrappers for the functions, and we want to
deprecate them. Stopping to use them internally is a good
first step.

11 years agogdk: Don't use GDK_THREADS_ENTER/LEAVE macros internally
Matthias Clasen [Sat, 28 Jul 2012 12:40:04 +0000 (14:40 +0200)]
gdk: Don't use GDK_THREADS_ENTER/LEAVE macros internally

These are just wrappers for the functions, and we want to
deprecate them. Stopping to use them internally is a good
first step.

11 years agoBug 680822 — Document return value of GtkWidget::draw
Philip Withnall [Mon, 30 Jul 2012 10:38:59 +0000 (12:38 +0200)]
Bug 680822 — Document return value of GtkWidget::draw

Document the boolean accumulator used by GtkWidget::draw and a few other
GtkWidget signals.

Closes: https://bugzilla.gnome.org/show_bug.cgi?id=680822
11 years agoUpdated Galician translations
Fran Diéguez [Mon, 30 Jul 2012 00:32:03 +0000 (02:32 +0200)]
Updated Galician translations

11 years agowindow: Update _gtk_window_set_is_active API comment
Rob Bradford [Sat, 28 Jul 2012 14:17:11 +0000 (15:17 +0100)]
window: Update _gtk_window_set_is_active API comment

The comment referenced GTK_TOPLEVEL which has been replaced by
GTK_WINDOW_TOPLEVEL.

11 years agoUpdated Telugu Translation
Praveen Illa [Thu, 26 Jul 2012 17:39:14 +0000 (23:09 +0530)]
Updated Telugu Translation

11 years agoVisual C++ property sheets: Remove wrong "install" line
Chun-wei Fan [Thu, 26 Jul 2012 10:04:22 +0000 (18:04 +0800)]
Visual C++ property sheets: Remove wrong "install" line

We have gailutil-3.0.lib, not gailutil.lib

11 years agoVisual C++ projects: Update .dll/.lib naming
Chun-wei Fan [Thu, 26 Jul 2012 07:39:51 +0000 (15:39 +0800)]
Visual C++ projects: Update .dll/.lib naming

Remove the "-win32-" from the output file names for the GDK and GTK+ DLLs,
like what is now done for quite a while on other platforms
(and MinGW builds), for consistency reasons.  This is due to GDK/GTK+
are buildable with multiple backends.

Note: For references, the Windows build only builds the Win32 backend
for the time being.

11 years agoUpdated Kazakh translation
Baurzhan Muftakhidinov [Thu, 26 Jul 2012 03:14:33 +0000 (09:14 +0600)]
Updated Kazakh translation

11 years agoUpdated Serbian translation
Мирослав Николић [Wed, 25 Jul 2012 21:29:24 +0000 (23:29 +0200)]
Updated Serbian translation

11 years agoUpdated Serbian translation
Мирослав Николић [Wed, 25 Jul 2012 21:23:48 +0000 (23:23 +0200)]
Updated Serbian translation

11 years agoUpdated Greek translations
Tom Tryfonidis [Tue, 24 Jul 2012 15:14:05 +0000 (18:14 +0300)]
Updated Greek translations

11 years agoUpdated Norwegian bokmål translation
Kjartan Maraas [Mon, 23 Jul 2012 09:46:43 +0000 (11:46 +0200)]
Updated Norwegian bokmål translation

11 years agoAdd an example for handling app menu fallback
Matthias Clasen [Mon, 23 Jul 2012 01:01:15 +0000 (21:01 -0400)]
Add an example for handling app menu fallback

The example shows how to use a menu button instead of the default
menubar when the shell doesn't show the app menu.

11 years agoUpdated German translation
Wolfgang Stoeggl [Sun, 22 Jul 2012 19:43:49 +0000 (21:43 +0200)]
Updated German translation

11 years agoUpdated Spanish translation
Daniel Mustieles [Sat, 21 Jul 2012 16:49:57 +0000 (18:49 +0200)]
Updated Spanish translation

11 years agowidget-factory: add two GtkLevelBar (continuous and discrete)
Frédéric Péters [Thu, 19 Jul 2012 14:46:05 +0000 (16:46 +0200)]
widget-factory: add two GtkLevelBar (continuous and discrete)

11 years agoUpdated Slovenian translation
Matej Urbančič [Thu, 19 Jul 2012 08:11:16 +0000 (10:11 +0200)]
Updated Slovenian translation

11 years agoUpdated POTFILES.in
Piotr Drąg [Wed, 18 Jul 2012 21:10:30 +0000 (23:10 +0200)]
Updated POTFILES.in

11 years agowayland: Fallback to setting transient windows if no seat available
Rob Bradford [Wed, 18 Jul 2012 15:16:56 +0000 (16:16 +0100)]
wayland: Fallback to setting transient windows if no seat available

If we don't have a wl_seat - because a grab hasn't been initialised by GTK+
then fallback to making the shell surface transient to the parent rather than
a popup surface.

11 years agowayland: Don't compare against GdkWindowTypeHint as a bitmask
Rob Bradford [Wed, 18 Jul 2012 15:06:06 +0000 (16:06 +0100)]
wayland: Don't compare against GdkWindowTypeHint as a bitmask

The hint was being compared as a bitmask which means types that were not in
the list were being erroneously matched

11 years agoUpdated Traditional Chinese translation(Hong Kong and Taiwan)
Chao-Hsiung Liao [Wed, 18 Jul 2012 11:33:41 +0000 (19:33 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)

11 years agowayland: Add default settings implementation for Wayland backend.
José Dapena Paz [Mon, 16 Jul 2012 06:38:31 +0000 (08:38 +0200)]
wayland: Add default settings implementation for Wayland backend.

Signed-off-by: Rob Bradford <rob@linux.intel.com>
11 years agowayland: don't wipe clipboard on any change coming from the same owner.
José Dapena Paz [Mon, 16 Jul 2012 13:49:51 +0000 (15:49 +0200)]
wayland: don't wipe clipboard on any change coming from the same owner.

We now support independent selection and primary clipboards, and avoid
wiping clipboard on modifying its contents from the same owner. This fixes
most of the interaction issues with clipboard and selection.

Signed-off-by: Rob Bradford <rob@linux.intel.com>
11 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 17 Jul 2012 10:04:56 +0000 (12:04 +0200)]
Updated Spanish translation

11 years agoGtkTreeModelFilter: Fix _iter_previous() when iter points at 2nd node
Rui Matos [Sat, 14 Jul 2012 00:34:26 +0000 (02:34 +0200)]
GtkTreeModelFilter: Fix _iter_previous() when iter points at 2nd node

GSequence iterators point at the position between two elements so an
iterator pointing at the N tree model node is actually between the N-1
and N sequence elements. This means that asking for the previous
sequence iterator first and then checking if it is the begin iterator
would yeld true for an iterator pointing at the 2nd tree model node
and make us return FALSE mistakenly.

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

11 years agotests/filtermodel: Add test for bug 679910
Rui Matos [Mon, 16 Jul 2012 17:14:17 +0000 (19:14 +0200)]
tests/filtermodel: Add test for bug 679910

11 years agowayland: Initial version of keyboard key event handling
José Dapena Paz [Mon, 16 Jul 2012 19:08:20 +0000 (20:08 +0100)]
wayland: Initial version of keyboard key event handling

Review comment: I think the implementation of the vfuncs in gdkkeys-wayland.c
depend on that we're using the keysysm as the hardware keycode. I think that
needs to be evaluated for the future. But for now this patch gives reasonably
complete keyboard input.

Signed-off-by: Rob Bradford <rob@linux.intel.com>
11 years agowayland: Hook up _get_num_lock / _get_caps_lock to read from XKB state
José Dapena Paz [Mon, 16 Jul 2012 18:51:48 +0000 (19:51 +0100)]
wayland: Hook up _get_num_lock / _get_caps_lock to read from XKB state

Signed-off-by: Rob Bradford <rob@linux.intel.com>
11 years agowayland: Remove unused function declaration
Rob Bradford [Mon, 16 Jul 2012 18:45:57 +0000 (19:45 +0100)]
wayland: Remove unused function declaration

11 years agowayland: Remove annoying whitespace
Rob Bradford [Mon, 16 Jul 2012 18:29:16 +0000 (19:29 +0100)]
wayland: Remove annoying whitespace

11 years agowayland: Create and expose an xkb_state on the keymap object
José Dapena Paz [Mon, 16 Jul 2012 18:16:48 +0000 (19:16 +0100)]
wayland: Create and expose an xkb_state on the keymap object

This is then logically associated with the input device since each (keyboard)
input device has its own keymap.

Signed-off-by: Rob Bradford <rob@linux.intel.com>
11 years agowayland: Refactor the keymap handling so it is associated with device
José Dapena Paz [Mon, 16 Jul 2012 18:02:41 +0000 (19:02 +0100)]
wayland: Refactor the keymap handling so it is associated with device

Although GDK expects the keymap to be associated with the display under
Wayland this is really associated with the input device so expose this by
finding the first keyboard device.

Signed-off-by: Rob Bradford <rob@linux.intel.com>
11 years agoBump version
Matthias Clasen [Mon, 16 Jul 2012 19:08:17 +0000 (15:08 -0400)]
Bump version

11 years ago3.5.8
Matthias Clasen [Mon, 16 Jul 2012 12:33:07 +0000 (08:33 -0400)]
3.5.8

11 years agoMore updates
Matthias Clasen [Mon, 16 Jul 2012 18:27:03 +0000 (14:27 -0400)]
More updates

11 years agoNew gtk-launch command
Tomas Bzatek [Mon, 16 Jul 2012 15:29:01 +0000 (17:29 +0200)]
New gtk-launch command

This program launches an application specified by its desktop name
optinally taking list of URIs which are passed as arguments.

Uses GdkAppLaunchContext to get proper startup notification and
display handling for graphical apps.

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

11 years agoUpdated POTFILES.in
Piotr Drąg [Mon, 16 Jul 2012 15:43:11 +0000 (17:43 +0200)]
Updated POTFILES.in

11 years agowayland: Use the correct union member for axis events
Rob Bradford [Mon, 16 Jul 2012 14:36:40 +0000 (15:36 +0100)]
wayland: Use the correct union member for axis events

Otherwise we end up overriding other members of the struct (in this case the
device pointer) and generate an error.

11 years agowayland: implementation of pointer_handle_axis.
José Dapena Paz [Fri, 13 Jul 2012 14:29:25 +0000 (16:29 +0200)]
wayland: implementation of pointer_handle_axis.

We translate wayland pointer axis events to GDK smooth scroll events, to
implement pointer_handle_axis events.

https://bugzilla.gnome.org/show_bug.cgi?id=679986
Signed-off-by: Rob Bradford <rob@linux.intel.com>
11 years agocellrendererpix: set the IMAGE style class when rendering an icon
Cosimo Cecchi [Wed, 11 Jul 2012 15:22:20 +0000 (11:22 -0400)]
cellrendererpix: set the IMAGE style class when rendering an icon

This way, themes can change symbolic icon colors for views, by using a

.view.image {

}

CSS selector.

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

11 years agowayland: Implement the keyboard_enter/keyboard_leave events
Rob Bradford [Mon, 16 Jul 2012 12:40:55 +0000 (13:40 +0100)]
wayland: Implement the keyboard_enter/keyboard_leave events

This code is derived from the old keyboard focus change event handling.

11 years agowayland: data_device.data_offer now has a safe object wrapper
Rob Bradford [Mon, 16 Jul 2012 12:39:32 +0000 (13:39 +0100)]
wayland: data_device.data_offer now has a safe object wrapper

The prototype for the listener has changed to provide a typesafe object rather
than an id that you have to bind into an object yourself.

11 years agowayland: Process the keymap that is sent over from the compositor
Rob Bradford [Mon, 16 Jul 2012 11:33:35 +0000 (12:33 +0100)]
wayland: Process the keymap that is sent over from the compositor

Load the keymap from the file descriptor that the compositor has sent us and
then save that into our internal object for future use.

11 years agowayland: Expose _gdk_wayland_display_get_keymap internally
Rob Bradford [Sat, 14 Jul 2012 17:37:47 +0000 (18:37 +0100)]
wayland: Expose _gdk_wayland_display_get_keymap internally