]>
Pileus Git - ~andy/gtk/log
Inaki Larranaga Murgoitio [Tue, 5 Jan 2010 11:54:33 +0000 (12:54 +0100)]
Updated Basque language
Javier Jardón [Mon, 4 Jan 2010 10:47:40 +0000 (11:47 +0100)]
Fix compilation warning: use const *gchar variable
https://bugzilla.gnome.org/show_bug.cgi?id=605090
Javier Jardón [Mon, 21 Dec 2009 03:01:03 +0000 (04:01 +0100)]
Fix compilation warning: use the correct conversion specifier
Use G_GSIZE_FORMAT instead of %i
The warning was added in
commit
ba651d4022ed4dceb6ad7394adcb0ff6c8006581
Christian Dywan [Mon, 4 Jan 2010 07:41:07 +0000 (08:41 +0100)]
Don't use GTK_WIDGET_NO_WINDOW in GtkEventBox
Christian Dywan [Mon, 4 Jan 2010 07:39:24 +0000 (08:39 +0100)]
No GTK_WIDGET_NO_WINDOW in GtkFixed and deprecate gtk_fixed_set_has_window
Christian Dywan [Mon, 4 Jan 2010 07:26:50 +0000 (08:26 +0100)]
Don't use GTK_WIDGET_NO_WINDOW in GtkContainer
Christian Dywan [Mon, 4 Jan 2010 06:49:26 +0000 (07:49 +0100)]
Deprecate flag macros for toplevel, state, no window and composite child
Deprecate widget flag macros GTK_WIDGET_STATE, GTK_WIDGET_SAVED_STATE,
GTK_WIDGET_FLAGS, GTK_WIDGET_TOPLEVEL, GTK_WIDGET_NO_WINDOW and
GTK_WIDGET_COMPOSITE_CHILD.
Also deprecate the type macros GTK_WIDGET_TYPE, GTK_OBJECT_TYPE_NAME and
GTK_OBJECT_TYPE which have become redundant.
Instances of GTK_WIDGET_TOPLEVEL are replaced with gtk_widget_is_toplevel,
GTK_WIDGET_TYPE is replaced with G_OBJECT_TYPE, GTK_WIDGET_COMPOSITE_CHILD
is replaced with use of the "composite-child" property and uses of
GTK_WIDGET_NO_WINDOW are adjusted to use gtk_widget_get_has_window.
Uses of GTK_WIDGET_SAVED_STATE and GTK_WIDGET_FLAGS inside GtkWidget are
changed to direct flag usage.
Documentation is updated to refer to gtk_widget_set_has_window and
gtk_widget_get_has_window.
Gail and tests are updated as well.
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=69872
Christian Dywan [Mon, 4 Jan 2010 06:30:57 +0000 (07:30 +0100)]
Fix missing GTK_WIDGET cast on printer option widget in construct_widgets
Christian Dywan [Mon, 4 Jan 2010 06:29:42 +0000 (07:29 +0100)]
Fix missing GTK_WINDOW cast in _gtk_menu_shell_update_mnemonics
Benjamin Otte [Sun, 3 Jan 2010 22:11:05 +0000 (23:11 +0100)]
Document missing signal parameter
Javier Jardón [Sun, 20 Dec 2009 20:39:42 +0000 (21:39 +0100)]
[docs] Add documentation for GdkWindow 'cursor' property
Reported by Rafal Luzynski here:
https://bugzilla.gnome.org/show_bug.cgi?id=604821
Theppitak Karoonboonyanan [Sun, 3 Jan 2010 15:24:02 +0000 (22:24 +0700)]
Updated Thai translation.
Hiroyuki Ikezoe [Sun, 3 Jan 2010 09:22:55 +0000 (18:22 +0900)]
Use CAIRO_VERSION instead of CAIRO_VERSION_CODE
Cairo does not have CAIRO_VERSION_CODE macro.
Fix for bug #605472.
Matthias Clasen [Sun, 3 Jan 2010 05:57:14 +0000 (00:57 -0500)]
Make mnemonic hiding work in all cases
Both gtk-enable-mnemonics and gtk-auto-mnemonis did not work with
gtk_label_set_markup_with_mnemonic(). Also, fix gtk_label_set_pattern().
Matthias Clasen [Sun, 3 Jan 2010 03:20:51 +0000 (22:20 -0500)]
Update dependency information
Matthias Clasen [Sun, 3 Jan 2010 01:11:50 +0000 (20:11 -0500)]
Don't use string concatentation in translated strings
gettext can't handle it, and there is no real need to use G_GSIZE_FORMAT
here anyway.
Matej Urbančič [Sat, 2 Jan 2010 08:59:16 +0000 (09:59 +0100)]
Updated Slovenian translation
Matej Urbančič [Sat, 2 Jan 2010 08:59:04 +0000 (09:59 +0100)]
Updated Slovenian translation
Kristian Rietveld [Fri, 1 Jan 2010 19:54:27 +0000 (20:54 +0100)]
Plug leaks in quartz implementation of gtk_drag_begin_idle()
Kristian Rietveld [Fri, 1 Jan 2010 19:39:57 +0000 (20:39 +0100)]
Rework a previous commit to not crash in addition to fixing leaks
The target list/entry to pasteboard entry conversions return a NSSet
now instead of NSArray.
Murray Cumming [Thu, 31 Dec 2009 12:55:51 +0000 (13:55 +0100)]
GtkToolPalette: docs: Minor English corrections.
Johan Dahlin [Thu, 31 Dec 2009 00:48:50 +0000 (01:48 +0100)]
Make sure Gdk-2.0.gir is installed
Fixes a variable name typo
Johan Dahlin [Thu, 31 Dec 2009 00:47:24 +0000 (01:47 +0100)]
Avoid warnings when introspetion is not available
-include is the same as include but will never warn if the
file is not available
Johan Dahlin [Thu, 31 Dec 2009 00:19:13 +0000 (01:19 +0100)]
Fix build with system install of introspection
Or redo it properly and remove previous hack by Matthias.
Kristian Rietveld [Wed, 30 Dec 2009 13:21:31 +0000 (14:21 +0100)]
Fix compiler warning
Kristian Rietveld [Wed, 30 Dec 2009 13:18:33 +0000 (14:18 +0100)]
Fix memory management of types array
Also add autorelease pool to gtk_drag_begin_idle().
Kristian Rietveld [Wed, 30 Dec 2009 13:16:55 +0000 (14:16 +0100)]
Do not leak the NSMutableSet
Kristian Rietveld [Wed, 30 Dec 2009 13:14:21 +0000 (14:14 +0100)]
Release view after setting it as contentView
Fixes GdkQuartzView being leaked.
Kristian Rietveld [Wed, 30 Dec 2009 13:12:42 +0000 (14:12 +0100)]
Fix memleak in get_nsscreen_for_point()
One codepath did not go through GDK_QUARTZ_RELEASE_POOL, refactored
the code to fix this.
Kristian Rietveld [Wed, 30 Dec 2009 13:11:14 +0000 (14:11 +0100)]
Fix memory leak in GdkQuartzView
Should remove the tracking rect in dealloc.
Kristian Rietveld [Mon, 28 Dec 2009 22:01:42 +0000 (23:01 +0100)]
Use CGFLOAT_DEFINED, don't rely on NSINTEGER_DEFINED for this
Kristian Rietveld [Mon, 28 Dec 2009 20:34:17 +0000 (21:34 +0100)]
Unset expander_column when expander column is removed from tree view
Kristian Rietveld [Mon, 28 Dec 2009 20:18:06 +0000 (21:18 +0100)]
Add gdk_keymap_map_virtual_modifiers() to Quartz backend
Kristian Rietveld [Mon, 28 Dec 2009 08:01:01 +0000 (09:01 +0100)]
Start using CGFloat
Fixes a bunch of compiler warnings. Since CGFloat does not exist on
Tiger and earlier, we have added a typedef likewise as was done for
NSInteger.
Kristian Rietveld [Sun, 27 Dec 2009 21:59:51 +0000 (22:59 +0100)]
Fix compile warning in gdk_cursor_new_from_pixmap
Kristian Rietveld [Sun, 27 Dec 2009 21:56:52 +0000 (22:56 +0100)]
initWithContentRect: has a NSUInteger parameter now
The typedef in place for Tiger and earlier systems should change this
to unsigned int without problems.
Cody Russell [Mon, 28 Dec 2009 15:42:12 +0000 (09:42 -0600)]
Add GtkOffscreenWindow to gtk-sections.txt
Cody Russell [Mon, 28 Dec 2009 15:24:12 +0000 (09:24 -0600)]
Documentation changes.
Cody Russell [Mon, 28 Dec 2009 15:23:05 +0000 (09:23 -0600)]
Add 'Since 2.20' documentation.
Cody Russell [Sat, 19 Dec 2009 15:09:54 +0000 (16:09 +0100)]
Add documentation note for GtkOffscreenWindow emission of damage-event.
Cody Russell [Sat, 19 Dec 2009 12:08:20 +0000 (13:08 +0100)]
Add gtk-doc section for GtkOffscreenWindow
Cody Russell [Sat, 19 Dec 2009 11:30:47 +0000 (12:30 +0100)]
Add gtk_offscreen_window_get_{pixmap,pixbuf} to gtk.symbols
Cody Russell [Fri, 18 Dec 2009 20:27:41 +0000 (21:27 +0100)]
Add gtkoffscreenwindow.sgml
Cody Russell [Fri, 18 Dec 2009 19:08:45 +0000 (20:08 +0100)]
Add gtk_offscreen_window_get_pixmap() and gtk_offscreen_window_get_pixbuf(), some API docs.
Cody Russell [Fri, 18 Dec 2009 13:57:03 +0000 (14:57 +0100)]
Add headers
Cody Russell [Fri, 18 Dec 2009 13:52:36 +0000 (14:52 +0100)]
Add offscreen window symbols to gtk.symbols
Cody Russell [Fri, 18 Dec 2009 13:37:12 +0000 (14:37 +0100)]
Add gtk_offscreen_window_new() prototype to gtkoffscreenwindow.h
Cody Russell [Fri, 18 Dec 2009 13:36:37 +0000 (14:36 +0100)]
Add delete-event callback to window, use gtk_widget_queue_draw() instead of gtk_widget_draw()
Cody Russell [Fri, 18 Dec 2009 12:43:11 +0000 (13:43 +0100)]
GtkOffscreenWindow implementation for #604901
Jorge González [Mon, 28 Dec 2009 01:09:35 +0000 (02:09 +0100)]
Updated Spanish translation
Kristian Rietveld [Sun, 27 Dec 2009 16:01:25 +0000 (17:01 +0100)]
Start using NSInteger and NSUInteger
These have been introduced in Leopard and default to int and unsigned int.
In 64-bit Snow Leopard they are long and unsigned long. This caused issues
with the getRectsBeingDrawn message which needs a pointer to a NSInteger
(long on 64-bit!) but we passed in an integer. Surprisingly this problem
was visible when compiling with -O0 (segfault), but *not* when compiling
with -O1. Other messages were NSInteger is now needed have also been
adapted.
Since NSInteger and NSUInteger are not available on Tiger, a define
has been added to add typedefs for these when they have not been defined
by the system headers.
Ivar Smolin [Sat, 26 Dec 2009 22:54:40 +0000 (00:54 +0200)]
Updating Estonian translation
Iestyn Pryce [Thu, 24 Dec 2009 23:47:44 +0000 (23:47 +0000)]
Updated Welsh translation
Iestyn Pryce [Thu, 24 Dec 2009 23:45:52 +0000 (23:45 +0000)]
Updated Welsh translation
Kristian Rietveld [Wed, 23 Dec 2009 07:31:21 +0000 (08:31 +0100)]
Fix call to update_prelight()
Seems like some minus signs sneaked in while diffing and reapplying...
Fixes regression noted in 480065.
Theppitak Karoonboonyanan [Wed, 23 Dec 2009 00:59:08 +0000 (07:59 +0700)]
Updated Thai translation.
Jonh Wendell [Tue, 22 Dec 2009 14:18:05 +0000 (11:18 -0300)]
Fix a memory leak in gtk_label_compose_effective_attrs()
Matthias Clasen [Tue, 22 Dec 2009 03:51:08 +0000 (22:51 -0500)]
Forgotten news
Matthias Clasen [Tue, 22 Dec 2009 03:26:43 +0000 (22:26 -0500)]
Bump version and add dist-bzip2
Matthias Clasen [Tue, 22 Dec 2009 03:24:59 +0000 (22:24 -0500)]
2.19.2
Kristian Rietveld [Mon, 21 Dec 2009 21:33:59 +0000 (22:33 +0100)]
Correct problems with earlier fix for bug #480065
Initialize event_last_[xy] to out of range coordinates and also update
these values in enter and leave notify. Fix up calls to
update_prelight() from size allocate. Unconditionally doing these calls
caused problems with hover selection. Now we only do this call when
the "width before the expander column" has changed. (Which might be
awkward, but it is the best heuristic I could come up with so far).
Kristian Rietveld [Thu, 26 Nov 2009 20:05:01 +0000 (21:05 +0100)]
Bug 480065 - wrong tree collapsed (or expanded) after having scrolled
Commit again after revert.
Store (x, y) of last motion event. From
gtk_tree_view_adjustment_changed(), call prelight_or_select() so that
the prelight is recalculated. We do the same from
gtk_tree_view_size_allocate() for the case that clicking on an expander
shows new rows that resize the column(s) left of the expander. This
means that the expander is moved horizontally, in such a case the
prelight also has to be reconsidered.
Matthias Clasen [Mon, 21 Dec 2009 21:07:21 +0000 (16:07 -0500)]
Updates
Tor Lillqvist [Mon, 21 Dec 2009 20:42:55 +0000 (22:42 +0200)]
Add gdk_keymap_map_virtual_modifiers() implementation
Matthias Clasen [Mon, 21 Dec 2009 20:27:46 +0000 (15:27 -0500)]
Fix a think in the CSW input extension handling
This was causing stack overflow due to an obvious infinite recursion.
See e.g. RH #548849.
Matthias Clasen [Mon, 21 Dec 2009 18:13:36 +0000 (13:13 -0500)]
Fix make check
Matthias Clasen [Mon, 21 Dec 2009 16:29:12 +0000 (11:29 -0500)]
Improve selection/arrow key behaviour in GtkTextView
This patch makes the text view behave more similar to entries.
Patch by Michael Natterer, see bug 50942
Matthias Clasen [Mon, 21 Dec 2009 16:26:11 +0000 (11:26 -0500)]
Add a release note about virtual modifiers
Matthias Clasen [Mon, 21 Dec 2009 16:15:28 +0000 (11:15 -0500)]
Try harder to handle accelerators involving virtual modifiers
This patch changes GDK to add all matching virtual modifiers in
the state field of the key event. The corresponding GTK+ change makes
use of a new GdkKeymap function to map virtual modifiers back to
real modifiers and detect conflicts while doing so.
This should fix bug 603190 and bug 427409.
Richard Hughes [Mon, 21 Dec 2009 08:53:28 +0000 (08:53 +0000)]
Add icc-profile option to gdk-pixbuf for the TIFF image format
Javier Jardón [Wed, 14 Oct 2009 21:44:59 +0000 (23:44 +0200)]
Move documentation to inline comments: GtkMountOperation
https://bugzilla.gnome.org/show_bug.cgi?id=597865
Javier Jardón [Fri, 18 Dec 2009 00:59:21 +0000 (01:59 +0100)]
Move documentation to inline comments: GtkImage
https://bugzilla.gnome.org/show_bug.cgi?id=597865
Javier Jardón [Mon, 21 Dec 2009 05:05:51 +0000 (06:05 +0100)]
Move documentation to inline comments: GtkFileChooser
Also, use Gtk-Doc markup to improve documentation
cross-references.
https://bugzilla.gnome.org/show_bug.cgi?id=597865
Benjamin Otte [Mon, 21 Dec 2009 01:43:10 +0000 (02:43 +0100)]
Build adds not-yet-built libgtk-x11-2.0.la into the linker flags
Commit
9e7c91bf83fd21a559b5658d02a1466deb4de919 added a bit too many
LDFLAGS to the build of gtk-update-icon-cache, revert it to only use the
required ones. Bug 605036
Matthias Clasen [Sun, 20 Dec 2009 23:32:58 +0000 (18:32 -0500)]
Make mnemonic hiding work for printer option widgets
By making the widget itself insensitive.
Matthias Clasen [Sun, 20 Dec 2009 23:29:47 +0000 (18:29 -0500)]
More auto-mnemonics tweaks
When auto-mnemonics are on, hide mnemonics with insensitive target.
Matthias Clasen [Sun, 20 Dec 2009 23:20:42 +0000 (18:20 -0500)]
Some improvements to the auto-mnemonics code
Matthias Clasen [Sun, 20 Dec 2009 22:56:28 +0000 (17:56 -0500)]
Handle reading the create-folders property
Javier Jardón [Sun, 20 Dec 2009 20:17:34 +0000 (21:17 +0100)]
Fix compilation warning: cast to GTK_WIDGET()
Javier Jardón [Sun, 20 Dec 2009 20:13:26 +0000 (21:13 +0100)]
Fix compilation warning: use the correct conversion specifier
Use G_GSIZE_FORMAT instead of %d
Jorge González [Sun, 20 Dec 2009 12:37:45 +0000 (13:37 +0100)]
Updated Spanish translation
Matthias Clasen [Sun, 20 Dec 2009 08:04:52 +0000 (03:04 -0500)]
Only show the mnemonic underline when pressing Alt
...and show them in menus when navigating the menu with the keyboard.
This is similar to what other platforms do, and reduces visual clutter.
There is a setting to control this. Most of the work on this patch was
done by Thomas Wood. See bug 588554.
Matthias Clasen [Sun, 20 Dec 2009 08:04:08 +0000 (03:04 -0500)]
Small documentation correction
Matthias Clasen [Sat, 19 Dec 2009 18:51:12 +0000 (13:51 -0500)]
Properly free damage events
This was reported in bug 605008
Benjamin Otte [Sat, 19 Dec 2009 17:37:39 +0000 (18:37 +0100)]
Fix up linker flags
This adds LDFLAGS everywhere where they were previously pulled in via
other libraries. This is however unsupported by modern linkers.
You can trigger these failures by building with gold (or, I'm told, with
very new ld).
Benjamin Otte [Sat, 19 Dec 2009 12:46:18 +0000 (13:46 +0100)]
Disconnect signal handlers on adjustment in destroy handler
Not removing the signal handler caused crashes if the adjustment
survived longer than the scrolled window and still emitted signals. This
could happen inside WebKit.
Jorge González [Sat, 19 Dec 2009 12:31:19 +0000 (13:31 +0100)]
Updated Spanish translation
Carlos Garcia Campos [Sat, 19 Dec 2009 11:28:46 +0000 (12:28 +0100)]
Fix a crash on print preview
There's no printer when doing print preview so it's not possible to get
its hard margins.
Dan Winship [Fri, 18 Dec 2009 10:58:36 +0000 (11:58 +0100)]
Change GtkIconSize to int in params/return values
GtkIconSize is an extensible enumeration (via
gtk_icon_size_register()), so methods that claim to take/return a
GtkIconSize need to actually use "int" to work correctly with bindings
that are strict about enum values.
https://bugzilla.gnome.org/show_bug.cgi?id=604895
Dan Winship [Fri, 18 Dec 2009 10:45:14 +0000 (11:45 +0100)]
Fix out/transfer annotations on GtkImage getters
https://bugzilla.gnome.org/show_bug.cgi?id=604895
Matthias Clasen [Sat, 19 Dec 2009 02:47:03 +0000 (21:47 -0500)]
Fix doc typos
Reported in bug 604902.
Javier Jardón [Fri, 18 Dec 2009 03:34:15 +0000 (04:34 +0100)]
[docs] Cast to GFunc in gtk_tree_selection_get_selected_rows() example code
Reported by Diego Escalante Urrelo here:
https://bugzilla.gnome.org/show_bug.cgi?id=502266
Hiroyuki Ikezoe [Sat, 19 Dec 2009 00:18:14 +0000 (01:18 +0100)]
[gtk] GtkCellEditable::editing-cancelled should be writable
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604881
Signed-off-by: Javier Jardón <jjardon@gnome.org>
Matthias Clasen [Sat, 19 Dec 2009 00:17:04 +0000 (19:17 -0500)]
Fix a thinko in computing damage for segments
The code was not taking the endpoint of the first segment into account.
This was reported in bug 604747.
Matthias Clasen [Fri, 18 Dec 2009 23:43:32 +0000 (18:43 -0500)]
Ensure native windows in gdk_property_change
Using X properties on non-toplevel windows is somewhat exotic,
but some people seem to do it, so better to keep it working.
See bug 604787.
Torsten Schoenfeld [Fri, 18 Dec 2009 19:58:26 +0000 (20:58 +0100)]
[docs] Add some 'Since: 2.4' tags
This patch adds Since: 2.4 tags to gtk_bindings_activate_event,
gtk_window_propagate_key_event and gtk_window_activate_key.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=604859
Signed-off-by: Javier Jardón <jjardon@gnome.org>
Hiroyuki Ikezoe [Thu, 17 Dec 2009 10:35:34 +0000 (19:35 +0900)]
Use g_value_dup_string instead.
g_value_get_string and g_strdup should be replaced by
g_value_dup_string.
Richard Hughes [Fri, 18 Dec 2009 15:17:13 +0000 (15:17 +0000)]
Add color management support to gdk_pixbuf_save
This patch adds an icc-profile option to a GdkPixbuf which can
be used to read or write an embedded ICC profile.
Add PNG support for now, but other image formats are awaiting
review.
Alexander Larsson [Fri, 18 Dec 2009 14:35:04 +0000 (15:35 +0100)]
Actually send exposes from gdk_window_clear_area_e
Javier Jardón [Thu, 17 Dec 2009 18:17:22 +0000 (19:17 +0100)]
Add 'Since: 2.18' tag
Add missing 'Since:' tag in gdk_window_get_root_coords() and
gdk_window_is_destroyed()
Reported by Rafal Luzynski in
https://bugzilla.gnome.org/show_bug.cgi?id=604821