]>
Pileus Git - ~andy/gtk/log
Matthias Clasen [Mon, 21 Feb 2011 23:09:57 +0000 (18:09 -0500)]
Update NEWS
Matthias Clasen [Mon, 21 Feb 2011 22:31:37 +0000 (17:31 -0500)]
Don't export extra symbols for accessibility
Alexander Shopov [Sun, 23 Jan 2011 08:00:53 +0000 (10:00 +0200)]
Updated Bulgarian translation
A S Alam [Mon, 21 Feb 2011 01:32:22 +0000 (07:02 +0530)]
update Punjabi Translation by A S Alam
Marc-André Lureau [Mon, 21 Feb 2011 00:44:35 +0000 (01:44 +0100)]
gdk_cursor_new_from_pixmap: Fix gdk_display_is_closed call
This was typoed in commit
dfe6ba932ca798c53121f90b7d696b5d2231a179
https://bugzilla.gnome.org/show_bug.cgi?id=642843
Benjamin Otte [Sun, 20 Feb 2011 23:06:08 +0000 (00:06 +0100)]
docs: Fix typo
Benjamin Otte [Sun, 20 Feb 2011 22:42:43 +0000 (23:42 +0100)]
docs: Replace pixmap use in migration guide with cairo surfaces
Merge my patch for this with Matthias' previous patch and keep the best
of both.
https://bugzilla.gnome.org/show_bug.cgi?id=642677
Benjamin Otte [Sun, 20 Feb 2011 22:35:16 +0000 (23:35 +0100)]
textview: Remove x/y arguments from render_para() func
We were only passing 0 anyway and it's easy to translate the cairo
context in use instead of passing x/y coordinates.
Benjamin Otte [Sun, 20 Feb 2011 22:29:49 +0000 (23:29 +0100)]
textview: Translate the cairo context instead of keeping y value
This avoids overflow when transforming a large value to a pango unit.
To reproduce the problem:
seq 200000 > test.txt && tets/print-editor test.txt
Then scroll to around line 140.000 to see it (depends on font size of
course).
Matthias Clasen [Sun, 20 Feb 2011 22:03:45 +0000 (17:03 -0500)]
Remove no-longer existing API from the migration guide
Some parts of the migration guide were written before the demise
of pixmaps, and still referred to pixmap API in their replacements.
Tor Lillqvist [Sun, 20 Feb 2011 21:54:57 +0000 (23:54 +0200)]
Tweak include order a bit to get around compilation errors
wintab.h defines an INT() macro that interfers with some lines in
commctrl.h.
Matthias Clasen [Sun, 20 Feb 2011 21:46:27 +0000 (16:46 -0500)]
Fix spelling
It is 'accessible', not 'accesible'.
Matthias Clasen [Sun, 20 Feb 2011 21:44:26 +0000 (16:44 -0500)]
React to is-focus change, not ignore it
A very old bug, noticed in
https://bugzilla.gnome.org/show_bug.cgi?id=642791
Jorge González [Sun, 20 Feb 2011 17:48:11 +0000 (18:48 +0100)]
Updated Spanish translation
Jorge González [Sun, 20 Feb 2011 17:47:10 +0000 (18:47 +0100)]
Updated Spanish translation
Jorge González [Sun, 20 Feb 2011 17:22:59 +0000 (18:22 +0100)]
Updated Spanish translation
Bruce Cowan [Sun, 20 Feb 2011 17:02:13 +0000 (17:02 +0000)]
Updated British English translation
Gabor Kelemen [Sun, 20 Feb 2011 14:55:58 +0000 (15:55 +0100)]
Updated Hungarian translation
Matthias Clasen [Sun, 20 Feb 2011 14:46:42 +0000 (09:46 -0500)]
Correctly treat GdkColor properties
Noticed by Daniel Garcia,
https://bugzilla.gnome.org/show_bug.cgi?id=642782
Daniel Mustieles [Sun, 20 Feb 2011 13:02:24 +0000 (14:02 +0100)]
Updated Spanish translation
Tor Lillqvist [Sat, 19 Feb 2011 23:39:13 +0000 (01:39 +0200)]
Handle emulated keyboard input that arrives as VK_PACKET
Fixes bug #642772. Thanks to the anonymous bug reporter for providing
a test program.
Matthias Clasen [Sat, 19 Feb 2011 18:47:43 +0000 (13:47 -0500)]
Replace GtkStyle uses from migration guide examples
Part of https://bugzilla.gnome.org/show_bug.cgi?id=642677
Matthias Clasen [Sat, 19 Feb 2011 18:34:42 +0000 (13:34 -0500)]
Fix a typo
https://bugzilla.gnome.org/show_bug.cgi?id=642751
Andre Klapper [Sat, 19 Feb 2011 18:33:21 +0000 (19:33 +0100)]
Fix typo
Matthias Clasen [Sat, 19 Feb 2011 18:31:50 +0000 (13:31 -0500)]
Plug a memleak in the tracker search engine
Patch by Vincent Untz,
https://bugzilla.gnome.org/show_bug.cgi?id=642771
Matthias Clasen [Sat, 19 Feb 2011 18:27:51 +0000 (13:27 -0500)]
Make gtk_combo_box_text_get_active_text() behave as documented
If there is an entry, it is supposed to return the contents
of the entry. Pointed out by Allin Cottrell,
https://bugzilla.gnome.org/show_bug.cgi?id=642681
Matthias Clasen [Sat, 19 Feb 2011 13:34:21 +0000 (08:34 -0500)]
Use the correct function to free boxed GdkColors
This fixes a segfault in gtk3-demo when running under accerciser.
Javier Jardón [Fri, 18 Feb 2011 22:17:04 +0000 (22:17 +0000)]
docs: migrating-2to3: improve cross-reference
Javier Jardón [Fri, 18 Feb 2011 22:09:40 +0000 (22:09 +0000)]
docs: migrating-2to3: Make the examples look prettier
Matthias Clasen [Fri, 18 Feb 2011 04:06:33 +0000 (23:06 -0500)]
GtkSwitch: Add an AtkAction implementation
Matthias Clasen [Fri, 18 Feb 2011 02:55:54 +0000 (21:55 -0500)]
GtkSwitch: Use ATK_DEFINE_TYPE properly
Matthias Clasen [Fri, 18 Feb 2011 02:00:35 +0000 (21:00 -0500)]
Hypertext does not really make sense for GtkLinkButton
Instead, implement HyperLinkImpl and return the single link
object. This commit also adds an AtkAction implementation
for the link object.
Matthias Clasen [Fri, 18 Feb 2011 00:06:19 +0000 (19:06 -0500)]
GailEntry: remove idle if cell editing is canceled
This avoids warnings when cell editing is interrupted e.g. by
adding or removing a row.
Matthias Clasen [Fri, 18 Feb 2011 00:06:19 +0000 (19:06 -0500)]
GailEntry: remove idle if cell editing is canceled
This avoids warnings when cell editing is interrupted e.g. by
adding or removing a row.
Matthias Clasen [Thu, 17 Feb 2011 23:49:01 +0000 (18:49 -0500)]
gtk-demo: plug a memleak in the editable cells demo
Matthias Clasen [Thu, 17 Feb 2011 23:34:28 +0000 (18:34 -0500)]
Fix a memory leak with file chooser previews
Matthias Clasen [Thu, 17 Feb 2011 21:40:00 +0000 (16:40 -0500)]
gtk-demo: Make the menu example work again
Matthias Clasen [Thu, 17 Feb 2011 20:56:52 +0000 (15:56 -0500)]
Remove a leaking get_name implementation
This was leaking a lot of memory; just rely on atk_object_get_name.
Matthias Clasen [Thu, 17 Feb 2011 20:54:50 +0000 (15:54 -0500)]
Don't leak the GDir in the iconview example
Carlos Garnacho [Thu, 17 Feb 2011 19:43:31 +0000 (20:43 +0100)]
Free event axes for double/triple click events.
The button event axes are copied over when synthesizing
these events, so free them as well in gdk_event_free().
Carlos Garnacho [Thu, 17 Feb 2011 19:04:29 +0000 (20:04 +0100)]
Fix parsing of color names containing numbers
They were being defined correctly through @define-color
in CSS, but parsing failed at the moment of creating
GtkSymbolicColors depending on these.
Matthias Clasen [Thu, 17 Feb 2011 18:29:59 +0000 (13:29 -0500)]
Check if the accessible is actually an AtkAction
Matthias Clasen [Thu, 17 Feb 2011 18:20:27 +0000 (13:20 -0500)]
GailProgressBar: make value setters work
Matthias Clasen [Thu, 17 Feb 2011 18:17:09 +0000 (13:17 -0500)]
Add forgotten include
Matthias Clasen [Thu, 17 Feb 2011 17:35:07 +0000 (12:35 -0500)]
Fix includes in gtkassistant.c
Also fix a bad case in gtk_assistant_accessible_get_n_children.
Matthias Clasen [Thu, 17 Feb 2011 17:25:23 +0000 (12:25 -0500)]
GtkAssistant: Use _gtk_accessible_set_factory_type
Matthias Clasen [Thu, 17 Feb 2011 16:51:16 +0000 (11:51 -0500)]
GtkGrid: Avoid problems with uninitialized memory
valgrind complained about these, and they make for bad size allocation
and the occasional crash.
Runa Bhattacharjee [Thu, 17 Feb 2011 15:01:19 +0000 (20:31 +0530)]
Updated Bengali India Translation
Runa Bhattacharjee [Thu, 17 Feb 2011 14:32:47 +0000 (20:02 +0530)]
Updated Bengali India Translation
Matthias Clasen [Thu, 17 Feb 2011 12:10:31 +0000 (07:10 -0500)]
Add a AtkHypertext implementation for GtkLinkButton
https://bugzilla.gnome.org/show_bug.cgi?id=586201
Emmanuele Bassi [Thu, 17 Feb 2011 09:33:07 +0000 (09:33 +0000)]
m4: Fix GTK_CHECK_BACKEND() to also check for a minimum version
This should make the macro slightly more useful.
Update the documentation mentioning the macro as well.
Emmanuele Bassi [Thu, 17 Feb 2011 09:24:25 +0000 (09:24 +0000)]
Build fix in GtkSeparatorMenuItem
https://bugzilla.gnome.org/show_bug.cgi?id=642541
Matthias Clasen [Thu, 17 Feb 2011 06:34:10 +0000 (01:34 -0500)]
Use _gtk_accessible_set_factory_type in GtkSeparatorMenuItem
Matthias Clasen [Thu, 17 Feb 2011 06:32:24 +0000 (01:32 -0500)]
Use _gtk_accessible_set_factory_type in GtkSwitch
Matthias Clasen [Thu, 17 Feb 2011 06:30:33 +0000 (01:30 -0500)]
Use _gtk_accessible_set_factory_type for GtkIconView
Matthias Clasen [Thu, 17 Feb 2011 06:24:43 +0000 (01:24 -0500)]
Add a private function for accessible factory registration
This avoids repeating the same code for each widget that
has its own accessible implementation inside GTK+.
Matthias Clasen [Thu, 17 Feb 2011 05:44:26 +0000 (00:44 -0500)]
Add an a11y implementation to GtkSeparatorMenuItem
Its all boilerplate, and it more than doubles the line count.
Yay :-(
Matthias Clasen [Thu, 17 Feb 2011 04:56:33 +0000 (23:56 -0500)]
ifdef X11-specific parts in gail
GTK_IS_PLUG() and GTK_IS_SOCKET() now need this protection.
https://bugzilla.gnome.org/show_bug.cgi?id=642263
Matthias Clasen [Thu, 17 Feb 2011 04:30:21 +0000 (23:30 -0500)]
Remove a bunch of crazy code from gail
...and replace it with only slightly less crazy code.
No need to create an destroy hash tables for each key press.
Matthias Clasen [Thu, 17 Feb 2011 04:26:36 +0000 (23:26 -0500)]
Forgotten file
Matthias Clasen [Thu, 17 Feb 2011 03:57:25 +0000 (22:57 -0500)]
gail: Fix the atk_add_key_event_listener implementation
Based on a patch by Alejandro Piñeiro Iglesias,
https://bugzilla.gnome.org/show_bug.cgi?id=599907
Matthias Clasen [Thu, 17 Feb 2011 03:35:16 +0000 (22:35 -0500)]
gail: support indeterminate state of check menuitems
Patch by Szilárd Pfeiffer
https://bugzilla.gnome.org/show_bug.cgi?id=626730
Matthias Clasen [Thu, 17 Feb 2011 02:58:10 +0000 (21:58 -0500)]
Fix gailstatusbar problems
Reported in https://bugzilla.gnome.org/show_bug.cgi?id=630971
Matthias Clasen [Wed, 16 Feb 2011 23:46:44 +0000 (18:46 -0500)]
Check the return value of gtk_tree_model_get_iter
Noticed in passing, didn't really see it crash there, but
better safe than sorry.
Matthias Clasen [Wed, 16 Feb 2011 23:40:14 +0000 (18:40 -0500)]
gtk_tree_model_filter_row_deleted: don't emit signals too early
gtk_tree_model_filter_row_deleted was emitting ::row-deleted while
the internal state of the model was still in disarray, causing
segfaults e.g. when mapping the file chooser with accessibility
turned on. This is just a bandaid fix, and doesn't try address
any of the deeper problems of the filter model code.
I did take the time to reduce rampant variable shadowing in that
function, though.
Emmanuele Bassi [Wed, 16 Feb 2011 15:53:20 +0000 (15:53 +0000)]
Allow checking for GDK backends
Now that a single shared object can contain multiple backends we also
need to provide a simple way for third party code to verify that the
copy of GDK they are linking to supports their backend.
The simplest way to verify is an m4 macro, GTK_CHECK_BACKEND(), shipped
with the gtk+ m4 macros.
The usage is pretty basic:
GTK_CHECK_BACKEND([x11], [gtk_has_x11=yes], [gtk_has_x11=no])
AM_CONDITIONAL(BUILD_X11_CODE, test "x$gtk_has_x11" = "xno")
https://bugzilla.gnome.org/show_bug.cgi?id=642479
Michael Natterer [Wed, 16 Feb 2011 17:39:33 +0000 (18:39 +0100)]
gtk: don't always invalidate spinbuttons on each leave_notify()
but only when an arrow was prelighted. Also, chain up unconditonally
in enter_notify() and leave_notify() because GtkEntry implements them
too.
Daniel Korostil [Wed, 16 Feb 2011 05:30:59 +0000 (07:30 +0200)]
Uploaded Ukranian
Daniel Korostil [Tue, 15 Feb 2011 19:57:17 +0000 (21:57 +0200)]
Updated Ukranian
Matthias Clasen [Mon, 14 Feb 2011 18:20:33 +0000 (13:20 -0500)]
Allow custom icon size in gtk_render_icon_pixbuf()
Pointed out in bug 642213.
Javier Jardón [Sun, 13 Feb 2011 14:21:12 +0000 (14:21 +0000)]
testgtk: Fix compilation warning
Javier Jardón [Sun, 13 Feb 2011 12:09:52 +0000 (12:09 +0000)]
configure.ac: Remove fd_set checks
fd_set uses were removed in GTK+ 2.2
Martin Nordholts [Tue, 1 Feb 2011 22:07:21 +0000 (23:07 +0100)]
Bug 633291 - Handle Shift-keys in X11 gdk_test_simulate_key()
If a level 1 key maps to a key value passed to
gdk_test_simulate_key(), raise the GDK_SHIFT_MASK flag so the reqested
key value is generated. Also add a regression test for this fix.
Javier Jardón [Sun, 6 Feb 2011 22:36:58 +0000 (22:36 +0000)]
configure.ac: Use AC_CONFIG_COMMANDS instead deprecated AC_OUTPUT_COMMANDS
Javier Jardón [Sun, 6 Feb 2011 22:26:02 +0000 (22:26 +0000)]
configure.ac: Use AC_PREPROC_IFELSE instead deprecated AC_TRY_CPP
Javier Jardón [Sun, 6 Feb 2011 22:19:23 +0000 (22:19 +0000)]
configure.ac: Use AC_RUN_IFELSE instead deprecated AC_TRY_RUN
Javier Jardón [Sun, 6 Feb 2011 22:10:21 +0000 (22:10 +0000)]
configure.ac: Use AC_LINK_IFELSE instead deprecated AC_TRY_LINK
Nguyễn Thái Ngọc Duy [Sun, 13 Feb 2011 10:51:49 +0000 (17:51 +0700)]
Updated Vietnamese translation
Nguyễn Thái Ngọc Duy [Sun, 13 Feb 2011 10:40:54 +0000 (17:40 +0700)]
po/vi.po: import from Damned Lies
Benjamin Otte [Sat, 12 Feb 2011 21:07:37 +0000 (22:07 +0100)]
gdk: Select the X11 backend a the last possible backend
On Windows and OS X we want to prefer the native backends over the X11
backend.
On Linux, nothing changes as nobody is going to enable those backends
(and if they do, they'll know what they get).
Benjamin Otte [Sat, 12 Feb 2011 21:03:08 +0000 (22:03 +0100)]
doc: Document the GDK_BACKEND environment variable
Benjamin Otte [Sat, 12 Feb 2011 20:50:52 +0000 (21:50 +0100)]
colorsel: Remove WINDOWING ifdef
That one was leftover from the times when GDK didn't allow pointer
warping and we had an X11-specific solution.
Changwoo Ryu [Sat, 12 Feb 2011 19:53:59 +0000 (04:53 +0900)]
Update Korean translation
Matthias Clasen [Sat, 12 Feb 2011 14:12:36 +0000 (09:12 -0500)]
Protect x11-specific functions in gtktypefuncs.c
This is just a bandaid fix, we really need to systematically collect
type functions for all backends.
Matthias Clasen [Sat, 12 Feb 2011 13:26:21 +0000 (08:26 -0500)]
No GTK_ENABLE_BROKEN anymore
We stopped shipping broken stuff...
danigm [Thu, 10 Feb 2011 23:59:19 +0000 (00:59 +0100)]
gail: Fixing little bug, gail_misc_add_attribute returns the new attrib_set
Some calls to gail_misc_add_attribute doesn't assing the return
valute to attrib_set, so the attrib_set never get modified.
Matthias Clasen [Sat, 12 Feb 2011 12:59:25 +0000 (07:59 -0500)]
Silence more compiler warnings
Matthias Clasen [Sat, 12 Feb 2011 04:59:42 +0000 (23:59 -0500)]
Quell compiler warnings
Kjartan Maraas [Sat, 12 Feb 2011 12:44:48 +0000 (13:44 +0100)]
Updated Norwegian bokmål translation.
Yaron Shahrabani [Sat, 12 Feb 2011 09:39:17 +0000 (11:39 +0200)]
Updated Hebrew translation
Abduxukur Abdurixit [Sat, 12 Feb 2011 07:18:25 +0000 (08:18 +0100)]
Added UG translation
Matthias Clasen [Sat, 12 Feb 2011 04:53:39 +0000 (23:53 -0500)]
Use standard icon names
Matthias Clasen [Sat, 12 Feb 2011 04:30:01 +0000 (23:30 -0500)]
Remove confusion over XI2 defines
Some places were using XINPUT_2, others XINPUT_XI2. Since configure
defines XINPUT_2, use that throughout.
Benjamin Otte [Sat, 12 Feb 2011 00:27:40 +0000 (01:27 +0100)]
x11: Make headers identical no matter if we run with or without XI2
Previously we weren't installing the device headers when compiling
without XINPUT support. But we would include them from gdkx.h, so
essentially the build was broken.
With this patch the types will exist but not do anything.
Benjamin Otte [Fri, 11 Feb 2011 23:16:03 +0000 (00:16 +0100)]
x11: Fix struct definition for GdkDeviceManagaerXI2
Benjamin Otte [Fri, 11 Feb 2011 22:53:48 +0000 (23:53 +0100)]
gtk: Fix warnings for dnd code without XInput
Benjamin Otte [Fri, 11 Feb 2011 22:53:14 +0000 (23:53 +0100)]
x11: Make the device manager struct actually subclass the correct device
Benjamin Otte [Wed, 9 Feb 2011 13:40:04 +0000 (14:40 +0100)]
stylecontext: Use the common approach for priate pointers
Has two advantages:
1) consistency
2) "print *context->priv" actually works in gdb
Benjamin Otte [Thu, 10 Feb 2011 12:58:07 +0000 (13:58 +0100)]
icontheme: constify arguments to gtk_icon_theme_load_symbolic()
Benjamin Otte [Fri, 11 Feb 2011 22:19:25 +0000 (23:19 +0100)]
x11: Fix build without Xinput
Missing ifdefs