]>
Pileus Git - ~andy/gtk/log
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
Colin Walters [Fri, 11 Feb 2011 17:39:07 +0000 (12:39 -0500)]
docs: Link to all versions of both GTK3 and GTK2
Now that library supports both cleanly, fix the links so that
the user can go from the online doc to any version better.
Chun-wei Fan [Fri, 11 Feb 2011 10:41:22 +0000 (18:41 +0800)]
Win32 Visual C++ Support: Some more clean-ups
Update gtk+.vsprops...
Since gdkconfig.h should now reside in gdk/, there
is no longer need to create a lib/gtk-3.0/include folder.
Chun-wei Fan [Fri, 11 Feb 2011 10:05:16 +0000 (18:05 +0800)]
gdk/gdkconfig.h.win32: Make it more up-to-date
Make this pre-configured file to be more like the one used by the existing
X11 version, but using GDK_WINDOWING_WIN32 for obvious reasons.
Michael Natterer [Fri, 11 Feb 2011 09:35:25 +0000 (10:35 +0100)]
gtk: don't send BUTTON_RELEASE to unrealized widgets
which happened when the source widget was hidden or destroyed while a
drag was going on, like when dragging from a popup that got a grab
broken as result of the dnd operation.
Chun-wei Fan [Fri, 11 Feb 2011 09:45:32 +0000 (17:45 +0800)]
Visual C++ support: Fix the gdk-win32 Project
Apparently I previously had one of the source files wrong here...
Update this to reflect the correct file.
My fault for not seeing this earlier-sorry. DOH.
Matthias Clasen [Thu, 10 Feb 2011 20:27:54 +0000 (15:27 -0500)]
Bump version to 3.0.1
Matthias Clasen [Thu, 10 Feb 2011 20:02:33 +0000 (15:02 -0500)]
Correct sonames appearing in the docs
Matthias Clasen [Thu, 10 Feb 2011 20:00:20 +0000 (15:00 -0500)]
Mention library soname change
Matthias Clasen [Thu, 10 Feb 2011 19:41:02 +0000 (14:41 -0500)]
Bump the version to 3.0.0
At the same time, change the library sonames for -3.0 to just -3.
This is necessary since the 2.99 releases installed libraries like
libgtk-3.0.so.0.9903.0, and we want to prevent the library version
number from jumping back. So 3.0 will have libgtk-3.so.0.0.0.
Matthias Clasen [Thu, 10 Feb 2011 19:37:31 +0000 (14:37 -0500)]
Minor formatting tweak
Matthias Clasen [Thu, 10 Feb 2011 19:31:31 +0000 (14:31 -0500)]
Remove a long-unsupported script that does nothing
Murray Cumming [Thu, 10 Feb 2011 09:02:06 +0000 (10:02 +0100)]
Add "extern C" declarations around AppChooser headers.
This is necessary to allow linking from code compiled as C++.
Matthias Clasen [Wed, 9 Feb 2011 22:32:05 +0000 (17:32 -0500)]
Don't try to modify readonly strings
This was an oversight in the recent accel label improvement.
When we get an untranslated string back from gettext(), it is
not ok to replace '_' by ' ' in-place. Instead, do it while
appending to the GString.
https://bugzilla.gnome.org/show_bug.cgi?id=641912
Matthias Clasen [Wed, 9 Feb 2011 21:54:19 +0000 (16:54 -0500)]
Make online references point to the right place
Matthias Clasen [Wed, 9 Feb 2011 21:44:19 +0000 (16:44 -0500)]
Change the title of the GDK docs to mention '3'
This is necessary in preparation for having 2.x and 3 docs
listed next to each other on library.gnome.org.
Carlos Garnacho [Wed, 9 Feb 2011 19:08:35 +0000 (20:08 +0100)]
Change required glib version from "2.28" to "2.28.0"
Fixes the recent configure error:
checking for GLIB - version >= 2.28... 2.28, bad version string
introduced by
95446c311
Carlos Garnacho [Wed, 9 Feb 2011 16:00:49 +0000 (17:00 +0100)]
Avoid the need for cairo_push_group() in gtk_render_background()
This operation is potentially expensive, so the code has been
refurbished so avoid the cases it was needed for. Antialiased
cairo_clip() has been also reduced to transitions with surface
patterns involved.
Tristan Van Berkom [Wed, 9 Feb 2011 19:04:31 +0000 (04:04 +0900)]
Added padding to GtkTextLineDisplay struct for an addition of GdkRGBA pointer comming soon.
Javier Jardón [Tue, 8 Feb 2011 19:02:29 +0000 (19:02 +0000)]
configure.ac: Depend on stable versions of other libraries
Matthias Clasen [Wed, 9 Feb 2011 14:25:31 +0000 (09:25 -0500)]
Quell another warning
Matthias Clasen [Wed, 9 Feb 2011 14:01:16 +0000 (09:01 -0500)]
Add some more info for desktop app info
Small gotchas that can easily be avoided.
Matthias Clasen [Wed, 9 Feb 2011 07:43:07 +0000 (02:43 -0500)]
More GDK documentation tweaks
Garrett Regier [Wed, 9 Feb 2011 01:36:16 +0000 (17:36 -0800)]
Matthias Clasen [Wed, 9 Feb 2011 06:32:24 +0000 (01:32 -0500)]
Give the GDK docs some love
Reorganize some sections, drop the largely redundant multihead
section, add some more information about multiple backends.
Matthias Clasen [Wed, 9 Feb 2011 05:21:37 +0000 (00:21 -0500)]
Documentation tweaks
Matthias Clasen [Wed, 9 Feb 2011 04:19:47 +0000 (23:19 -0500)]
Remove no-longer exported symbols from the symbol list
Matthias Clasen [Wed, 9 Feb 2011 04:19:21 +0000 (23:19 -0500)]
Don't export GtkModifierStyle symbols
This is not public API, so don't export it.
Matthias Clasen [Wed, 9 Feb 2011 04:18:22 +0000 (23:18 -0500)]
Don't export gtk_cell_area_box_init_groups
That function can't be meant to be public, since it take
a GtkCellAreaBoxContext argument, which is not a public type.
Matthias Clasen [Wed, 9 Feb 2011 04:14:46 +0000 (23:14 -0500)]
Add some missing symbols to the docs
Javier Jardón [Wed, 9 Feb 2011 01:10:38 +0000 (01:10 +0000)]
README.in: Fix link to the migration guide
Matthias Clasen [Wed, 9 Feb 2011 01:00:27 +0000 (20:00 -0500)]
Remove annotation that breaks the docs
Before adding annotations, please check that gtk-doc can handle
them. Else they will be stripped out again.
Matthias Clasen [Wed, 9 Feb 2011 00:07:46 +0000 (19:07 -0500)]
Add links to the migration guide