1 2008-06-17 Michael Natterer <mitch@imendio.com>
3 * gtk/gtkobject.c: remove bogus extern declaration of non-existing
4 function gtk_object_init_type().
6 2008-06-17 Michael Natterer <mitch@imendio.com>
8 * gtk/gtkbindings.c (gtk_binding_entry_add_signal):
9 * gtk/gtktoolbutton.c (gtk_tool_button_get_type):
10 * examples/gtkdial/gtkdial.h (gtk_dial_get_type):
13 2008-06-17 Tor Lillqvist <tml@novell.com>
15 * gtk/gtknotebook.c: Need to do the GTK_DISABLE_DEPRECATED
16 #undef/#define dance here, too, because
17 gtk_notebook_set_group_id() is deprecated but used here before it
18 is defined, and gcc complains about conflicting type from the
19 implicit int declaration when it sees the actual void definition.
21 * modules/input/gtkimcontextime.h: Don't use the deprecated GTK_*
24 2008-06-17 Michael Natterer <mitch@imendio.com>
26 * gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED.
33 * gtk/gtkoldeditable.c
38 * gtk/gtktreeitem.c: whenever we #undef GTK_DISABLE_DEPRECATED and
39 actually use deprecated symbols (not just types or macros),
40 #define it again before #include "gtkalias.h" so the symbols match
43 2008-06-17 Paolo Borelli <pborelli@katamail.com>
45 * gtk/tests/recentmanager.c: more tests for GtkRecentManager.
47 2008-06-17 Michael Natterer <mitch@imendio.com>
49 * modules/input/gtkimcontextmultipress.h
50 * modules/input/gtkimcontextthai.h
51 * modules/input/gtkimcontextxim.h: use G_TYPE instead of GTK_CHECK
54 2008-06-17 Michael Natterer <mitch@imendio.com>
56 * gtk/gtktypeutils.h: really move the GtkType typedef to an
59 2008-06-17 Michael Natterer <mitch@imendio.com>
61 * gtk/gtktypeutils.h: deprecate GTK_CHECK_CAST, GTK_CHECK_CLASS_CAST,
62 GTK_CHECK_GET_CLASS, GTK_CHECK_TYPE and GTK_CHECK_CLASS_TYPE.
63 Move the GtkType typedef to an undeprecated section.
65 2008-06-17 Michael Natterer <mitch@imendio.com>
67 * gtk/gtkprogress.h: use G_TYPE macros for type checking instead
68 of GTK_CHECK ones because it's the parent class of an undeprecated
69 class and the GTK_CHECK stuff will soon be deprecated.
71 2008-06-17 Michael Natterer <mitch@imendio.com>
74 * gtk/gtkinputdialog.c
75 * gtk/gtkmenutoolbutton.c
78 * gtk/gtktooltips.c: add or move around
79 #undef GTK_DISABLE_DEPRECATED so it's possible to build without
80 deprecated stuff again (with the minor glitch that it doesn't
81 link ;) but at least it's a tool to keep the code clean).
83 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
85 * gtk/gtkrecentmanager.c:
86 (gtk_recent_manager_remove_item): Fix dumb typo in the previous
89 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
91 * gtk/gtkrecentmanager.c:
92 (gtk_recent_manager_remove_item),
93 (gtk_recent_manager_move_item): Increase the consistency of the
94 errors returned by GtkRecentManager. (Paolo Borelli)
96 2008-06-17 Paolo Borelli <pborelli@katamail.com>
98 * gtk/tests/recentmanager.c: add some unit tests for GtkRecentManager.
100 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
102 * gtk/gtkrecentmanager.c:
103 (gtk_recent_manager_remove_item): Consistently use the same
104 error when removing a URI from an empty GtkRecentManager.
106 2008-06-17 Michael Natterer <mitch@imendio.com>
108 * gtk/gtkfilechooserdefault.c: remove static integer variables
109 which hold the number of members in GtkTargetEntry arrays and use
110 G_N_ELEMENTS() directly instead.
112 2008-06-17 Michael Natterer <mitch@imendio.com>
114 * gtk/gtk.symbols: move some deprecated symbols into
115 #ifndef GTK_DISABLE_DEPRECATED.
117 2008-06-17 Emmanuele Bassi <ebassi@gnome.org>
119 * gtk/gtkfilechooserdefault.c:
120 (gtk_file_chooser_default_init),
121 (gtk_file_chooser_default_constructor),
122 (gtk_file_chooser_default_screen_changed),
123 (recent_start_loading): Remove the GtkRecentManager screen
124 dance, as it has been deprecated since 2.12. Now we get the
125 GtkRecentManager singleton whewn we create the FileChooserDefault
126 instance. (Michael Natterer)
128 2008-06-17 Michael Natterer <mitch@imendio.com>
130 * gtk/gtkoptionmenu.c (gtk_option_menu_position): cast menu's
131 toplevel to GtkWindow when passing to gtk_window_set_type_hint().
133 2008-06-17 Michael Natterer <mitch@imendio.com>
135 * gtk/gtktestutils.c: #undef GTK_DISABLE_DEPRECATED, clean up
138 * gtk/gtkuimanager.c: #include "gtkwindow.h", it was only pulled
139 in via deprecated headers.
141 2008-06-16 Matthias Clasen <mclasen@redhat.com>
143 Bug 508751 – gnome-terminal crashed with SIGSEGV after keypress
145 * gdk/x11/gdkkeys-x11.c (_gdk_keymap_key_is_modifier): Protect
146 against XKB being stupid. Reported by Pedro Villavicencio.
148 2008-06-17 Michael Natterer <mitch@imendio.com>
150 * gtk/gtkplug.c (_gtk_plug_send_delete_event): use g_object_ref()
151 and unref() instead of the deprecated gtk_widget_ref() and unref().
153 2008-06-16 Michael Natterer <mitch@imendio.com>
155 * gtk/gtkentry.c: removed function drag_begin_cb(), which was in
156 svn since 2.8 but was never used.
158 2008-06-16 Michael Natterer <mitch@imendio.com>
160 * gtk/gtkbindings.c (_gtk_binding_entry_add_signall): use
161 gtk_binding_entry_clear() instead of gtk_binding_entry_add()
162 (the former is deprecated and #defined to gtk_binding_entry_clear)
164 2008-06-16 Michael Natterer <mitch@imendio.com>
166 * gtk/gtkprintoperation-unix.c: don't include the deprecated (and
167 unused) "gtkmarshal.h".
169 2008-06-16 Behdad Esfahbod <behdad@gnome.org>
171 Bug 538182 – pango_cairo_context_update_layout is not noop after
172 gtk_widget_create_pango_layout
174 * gtk/gtksettings.c (settings_update_font_options): Make sure all
175 font option fields are set to non-DEFAULT values.
177 2008-06-16 Michael Natterer <mitch@imendio.com>
182 * gtk/gtkwidget.c: use g_object_unref() instead of the deprecated
183 gtk_rc_style_unref().
185 2008-06-16 Michael Natterer <mitch@imendio.com>
187 * gtk/gtkcombobox.c (gtk_combo_box_class_init): use
188 _gtk_marshal_BOOLEAN__VOID instead of the deprecated
189 gtk_marshal_BOOLEAN__VOID.
191 2008-06-16 Michael Natterer <mitch@imendio.com>
193 * gtk/gtkcellrendereraccel.h
195 * gtk/gtkobject.h: use G_TYPE macros instead of the old GTK_CHECK
196 macros for type checking.
198 (gtk_object_get_type): change prototype to return GType instead of
201 2008-06-16 Matthias Clasen <mclasen@redhat.com>
203 * gtk/Makefile.am: Make folder, user-home and user-desktop links
204 to gtk-directory in the builtin icon theme, so that we can
205 use these icon names without risk of ending up without an icon.
207 2008-06-16 Tor Lillqvist <tml@novell.com>
209 Bug 538362 - Get Win32 icons back in the file chooser
211 * gtk/gtkicontheme.c (choose_icon): Check if the icon name is a
212 reference to an icon resource in a DLL or .EXE in the same format
213 as the DefaultIcon strings in the Registry. In that case, extract
214 the icon and convert to a GdkPixbuf. Patch by Hans Breuer. This
215 code has to be in sync with the corresponding code in
216 glib/gio/gcontenttype.c.
218 2008-06-16 Matthias Clasen <mclasen@redhat.com>
220 * gtk/stock-icons/24/audio-volume*: Add icons used by GtkVolumeButton
221 to the builtin icon theme, to avoid showing broken images when
222 there is no icon theme around. The new icons are thanks to
225 2008-06-16 Michael Natterer <mitch@imendio.com>
227 * gtk/gtkfilechooserprivate.h: remove GtkTooltips member from the
228 GtkFileChooserDefault struct.
230 * gtk/gtkfilechooserdefault.c: don't allocate and free the
233 2008-06-16 Carlos Garnacho <carlos@imendio.com>
235 Bug 538519 – GtkCellRendererPixbuf doesn't allow unsetting the icon
238 * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
239 Allow again setting any of the properties to render an image back to
242 2008-06-15 Matthias Clasen <mclasen@redhat.com>
244 * gtk/gtkimage.c: When pixel-size is specified, use
245 GTK_ICON_LOOKUP_FORCE_SIZE when loading themed icons.
247 2008-06-15 Carlos Garnacho <carlos@imendio.com>
249 * gtk/gtkfilechooser.c (gtk_file_chooser_get_filename): Return full
250 path here as expected, not just the basename.
252 * gtk/gtkfilechooserdefault.c
253 (gtk_file_chooser_default_update_current_folder): Ensure that we keep
254 a reference to file, since it can be destroyed when switching back to
257 * gtk/gtkfilesystem.c (get_icon_for_special_directory): Removed, home
258 and desktop directories are dealt by the filechooser as normal files,
259 not volumes, so the icon for these is handled directly by GIO.
260 (_gtk_file_system_volume_render_icon): Update caller.
262 2008-06-15 Matthias Clasen <mclasen@redhat.com>
264 * gtk/gtkcellrendererpixbuf.c: Add a gicon property.
266 2008-06-14 Cody Russell <bratsche@gnome.org>
268 * gdk/win32/gdkselection-win32.c (gdk_win32_selection_add_targets):
270 Initialize hwnd to NULL. This fixes OpenClipboard() failure and,
271 according to MSDN docs, associates the open clipboard with the
272 current task. (#378158, reported by Andreas Köhler)
274 2008-06-13 Matthias Clasen <mclasen@redhat.com>
276 * configure.in: Bump version
278 * === Released 2.13.3 ===
280 2008-06-13 Matthias Clasen <mclasen@redhat.com>
282 * gtk/gtkaccelgroup.c: Add some docs
284 * gdk/gdkwindow.c: Fix doc typos
286 2008-06-13 Matthias Clasen <mclasen@redhat.com>
288 * gtk/gtkfilesystem.c: Avoid PLT entries by including
291 2008-06-13 Matthias Clasen <mclasen@redhat.com>
293 * gtk/gtkfilechooserbutton.c:
294 * gtk/gtkfilechooserdefault.c:
295 * gtk/gtkfilechooserentry.c:
296 * gtk/gtkfilesystem.c:
297 * gtk/gtkfilesystem.h:
298 * gtk/gtkfilesystemmodel.c:
299 * gtk/gtkpathbar.c: Really make GtkFileSystem private
300 by _-prefixing all functions.
302 2008-06-13 Matthias Clasen <mclasen@redhat.com>
304 * docs/RELEASE-HOWTO: Updates
305 * INSTALL.in: Bump version
307 2008-06-13 Matthias Clasen <mclasen@redhat.com>
311 2008-06-13 Michael Natterer <mitch@imendio.com>
313 * gtk/gtkcellrendereraccel.h
314 * gtk/gtkfilechooser.h
315 * gtk/gtkfilechooserdialog.h
316 * gtk/gtkfilechooserwidget.h
317 * gtk/gtkmenutoolbutton.h
320 * gtk/gtkprintcontext.h
321 * gtk/gtkprintoperation.h
322 * gtk/gtkprintoperationpreview.h
323 * gtk/gtkprintsettings.h
324 * gtk/gtkradiotoolbutton.h
325 * gtk/gtkrecentchooser.h
326 * gtk/gtkrecentchooserdialog.h
327 * gtk/gtkrecentchoosermenu.h
328 * gtk/gtkrecentchooserwidget.h
329 * gtk/gtkseparatortoolitem.h
331 * gtk/gtktoggletoolbutton.h
333 * gtk/gtktoolbutton.h
334 * gtk/gtktooltip.h: #include <gtk/gtkfoo.h> instead of
335 "gtk/gtkfoo.h" or even just "gtkfoo.h" in public headers.
337 2008-06-13 Michael Natterer <mitch@imendio.com>
339 * gtk/gtktexttagtable.h: remove double inclusion of
342 2008-06-13 Michael Natterer <mitch@imendio.com>
344 * gtk/gtkaction.c (gtk_action_set_short_label): change type of
345 local "image" variable from GtkImage to GtkWidget to fix warning.
347 2008-06-13 Michael Natterer <mitch@imendio.com>
349 * gtk/gtkcombobox.c (gtk_combo_box_menu_position): cast menu's
350 toplevel to GtkWindow when passing to gtk_window_set_type_hint().
352 2008-06-13 Michael Natterer <mitch@imendio.com>
354 * gtk/gtkuimanager.c (start_element_handler): silently skip
355 unknown attributes instead of bailing out with an error in order
356 to be compatible with possible future attribute names.
358 This is related to the discussion in bug #516425 but actually
359 needed for any kind of XML format extension.
361 2008-05-23 Hans Breuer <hans@breuer.org>
363 * gtk/gtkprintoperation.c : check surface status after ceating a pdf.
364 Avoids crashing when the target can not be written, bug #537685
366 * gdk/win32/gdkdisplay-win32.c : runtime linking of ProcessIdToSessionId
368 * gtk/gtkfilesystem.c : variadic macros are not supported with c89 and
369 it was not needed here anyway.
371 2008-06-13 Matthias Clasen <mclasen@redhat.com>
373 * gtk/gtkentry.c (gtk_entry_draw_frame): Fix frame size allocation.
374 Patch by Jan Arne Peterson
376 2008-06-12 Matthias Clasen <mclasen@redhat.com>
378 Bug 537985 – gtk_init_with_args() doesn't open a display after
381 * gtk/gtkmain.c (gtk_init_with_args): Open the default display
382 even when gtk_parse_args() has already been called.
383 Patch by Mathias Hasselmann
385 2008-06-12 Matthias Clasen <mclasen@redhat.com>
387 Bug 524222 – GtkToolbar with mix of buttons with and without
390 * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents):
391 Improve appearance of "both vertical" mode toolbuttons.
392 Patch by Peter Johanson
394 2008-06-12 Matthias Clasen <mclasen@redhat.com>
396 Bug 519092 – Add accessibility support to GtkVolumeButton
398 * gtk/gtkvolumebutton.c: Set accessibility descriptions.
399 Patch by Jonh Wendell
401 2008-06-12 Matthias Clasen <mclasen@redhat.com>
403 Bug 517706 – Connecting GtkButton with "use-stock" == FALSE to a
404 GtkAction has problems
405 Patch by Peter Johanson
407 * gtk/gtkaction.c (connect_proxy): Set the image of a button
408 proxy to the "icon-name" property.
410 (gtk_action_set_short_label): If the "image" property is set
411 on the button proxy, also tries to set the "label" property on
414 2008-06-12 Michael Natterer <mitch@imendio.com>
417 * gtk/gtktrayicon-x11.c: don't #include <libintl.h>, it's pulled
418 in via "gtkintl.h" from <glib/gi18n-lib.h>.
420 2008-06-12 Matthias Clasen <mclasen@redhat.com>
422 RH bug 248245 and 449379: cups client printing from gnome
425 * modules/printbackends/cups/gtkprintbackendcups.c: Really fix
426 printer URI construction. Patch by Marek Kasik
428 2008-06-12 Michael Natterer <mitch@imendio.com>
430 * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
431 limit the number of displayed items by the actual screen height
432 instead of some arbitrary value (Bug #408154, Xan Lopez and
435 2008-06-11 Behdad Esfahbod <behdad@gnome.org>
437 Bug 503071 – Application direction changes to right to left even if
438 theres no translation
440 * configure.in: Bump glib requirement.
442 * gtk/gtkaccellabel.c
443 (_gtk_accel_label_class_get_accelerator_label):
444 * gtk/gtkactiongroup.c (dgettext_swapped):
445 * gtk/gtkbuilder.c (gtk_builder_class_init):
446 * gtk/gtkbuilderparser.c (_dpgettext),
447 (_gtk_builder_parser_translate):
448 * gtk/gtkfilechooserdefault.c (list_size_data_func):
449 * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
451 * gtk/gtkmain.c (setlocale_initialization),
452 (do_pre_parse_initialization), (gettext_initialization):
453 * gtk/gtkstock.c (gtk_stock_lookup), (sgettext_swapped):
454 Use g_dgettext() and g_dngettext().
456 2008-06-11 Matthias Clasen <mclasen@redhat.com>
458 * docs/RELEASE-HOWTO: Updates
460 2008-06-11 Tor Lillqvist <tml@novell.com>
462 * gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): As we don't
463 support Win9x anyway, we can use ProcessIdToSessionId()
466 2008-06-11 Michael Natterer <mitch@imendio.com>
468 * gtk/gtkfilechooserbutton.c: fix local prototype of
469 _gtk_file_chooser_label_for_file() (takes a GFile, not const gchar*).
471 2008-06-10 Matthias Clasen <mclasen@redhat.com>
473 Bug 536765 – GtkComboBox should set COMBO type hint for its menu
475 * gtk/gtkoptionmenu.c:
476 * gtk/gtkcombobox.c: Set the window type hint on popups.
477 Patch by Danny Baumann
479 2008-06-10 Matthias Clasen <mclasen@redhat.com>
481 * gtk/gtkfilesystem.c (get_icon_for_special_directory):
482 (gtk_file_system_volume_render_icon): Add standard icon names,
483 and also fall back to builtin gtk stock icons.
485 2008-06-10 Christian Persch <chpe@gnome.org>
487 * gtk/gtktreeview.c: (destroy_info), (set_destination_row),
488 (gtk_tree_view_maybe_begin_dragging_row),
489 (gtk_tree_view_set_reorderable),
490 (gtk_tree_view_enable_model_drag_source),
491 (gtk_tree_view_enable_model_drag_dest),
492 (gtk_tree_view_unset_rows_drag_source),
493 (gtk_tree_view_unset_rows_drag_dest): Make
494 gtk_tree_view_enable_model_drag_[source|dest] compatible with
495 gtk_drag_[source|dest]_add_*_targets. Bug #506853.
497 2008-06-10 Christian Persch <chpe@gnome.org>
499 * gtk/gtktreeview.c: (gtk_tree_view_button_release_drag_column),
500 (dest_row_free), (set_dest_row), (ensure_info),
501 (gtk_tree_view_remove), (gtk_tree_view_put),
502 (gtk_tree_view_set_column_drag_info): Use GSlice. Patch from
505 2008-06-10 Paolo Borelli <pborelli@katamail.com>
507 * gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri)
508 use g_file_new_for_uri.
510 2008-06-10 Paolo Borelli <pborelli@katamail.com>
512 * gtk/gtkfilesystem.c (gtk_file_system_volume_render_icon): do not
515 2008-06-10 Carlos Garnacho <carlos@imendio.com>
519 * gtk/xdgmime: removed local xdgmime copy as Matthias suggested in bug
520 #520874, comment #8. It's no longer used directly by GTK+.
522 2008-06-10 Carlos Garnacho <carlos@imendio.com>
524 Bug 520874 - Should use gio directly.
526 * gtk/gtkfilesystem.[ch]: Turn into a private object, which mostly
527 provides helper functions for asynchronous calls, folder abstraction
528 and uniform handling of volumes/drives/mounts.
530 * gtk/gtkfilesystemwin32.[ch]:
531 * gtk/gtkfilesystemunix.[ch]: Removed, these are no longer required.
533 * gtk/gtkfilechooser.c:
534 * gtk/gtkfilechooserbutton.c:
535 * gtk/gtkfilechooserdefault.c:
536 * gtk/gtkfilechooserentry.[ch]:
537 * gtk/gtkfilechooserprivate.h:
538 * gtk/gtkfilechooserutils.c:
539 * gtk/gtkfilesystemmodel.[ch]:
540 * gtk/gtkpathbar.[ch]: Use GIO internally. Adapt to GtkFileSystem API.
541 Do not load filesystem implementation modules.
544 * gtk/gtk.symbols: the gtkfilesystem.h private header isn't installed
545 anymore, nor the unix/win32 implementations.
547 * README.in: Add blurb about these changes.
549 2008-06-09 Kristian Rietveld <kris@gtk.org>
551 Bug 526987 - GtkCellRendererCombo should allow model to be NULL
553 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
554 (gtk_cell_renderer_combo_set_property),
555 (gtk_cell_renderer_combo_editing_done),
556 (gtk_cell_renderer_combo_start_editing): introduce private class
557 struct, allow model to be set to NULL.
559 2008-06-08 Björn Lindqvist <bjourne@gmail.com>
561 Bug 131920 – gtkNotebook sends incorrect switch_page value
563 * gtk/gtknotebook.c (gtk_notebook_real_remove): Make switch-page
564 signal send correct page index when page index 0 is active and
565 removed. (#131920, Samuel Fogh)
567 2008-06-08 Kristian Rietveld <kris@gtk.org>
569 Bug 536730 - memory corruption in gtktreeview
571 * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): first
572 remove the expand/collapse timeout and node, then free the rbtree.
574 2008-06-08 Kristian Rietveld <kris@gtk.org>
576 Bug 488119 - critical warnings from gtk_tree_view_get_visible_range
578 * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): only try to
579 find path if we found valid nodes, return FALSE otherwise. (Patch
580 from Matthias Clasen).
582 2008-06-08 Matthias Clasen <mclasen@redhat.com>
584 * gtk/gtkrecentmanager.c:
585 * gtk/gtkrecentfilter.c:
586 * gtk/gtkfilefilter.c: Replace uses of xdgmime with
589 2008-06-08 Christian Persch <chpe@gnome.org>
591 Bug 535608 – do not string-copy accel paths in the menu code
593 * gtk/gtkaccelgroup.c:
598 * gtk/gtkwidget.c: Don't store the accel path as a string in
599 gtkmenu/gtkmenuitem. The accel path will be interned anyway, so
600 keeping a string copy around is just a waste of memory.
601 Improve the documentation to mention this.
603 2008-06-07 Tor Lillqvist <tml@novell.com>
605 Bug 536990 - updateiconcache.c: 'close ()' is redundant
607 * gtk/updateiconcache.c (build_cache): Drop redundant close()
608 calls. fclose() on a fdopen()ed stream closes the underlying file
611 2008-06-06 Matthias Clasen <mclasen@redhat.com>
613 Bug 536757 – regression: openoffice.org menus are placed at wrong
614 position since 2.12.10
616 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
617 Return the right coordinates.
619 2008-06-06 Behdad Esfahbod <behdad@gnome.org>
621 Bug 536185 – monitor font configuration
624 * gdk/x11/gdksettings.c:
625 * gtk/gtksettings.c (gtk_settings_class_init),
626 (gtk_settings_notify), (settings_update_fontconfig):
627 Monitor xsettings key Fontconfig/Timestamp and upon change,
628 reread fontconfig configuration, clear Pango's caches, and
631 2008-06-06 Ross Burton <ross@burtonini.com>
634 Fix trivial typo in documentation.
636 2008-06-06 Tor Lillqvist <tml@novell.com>
638 * config.h.win32.in: Slight update to match what configure
641 2008-06-05 Johan Dahlin <jdahlin@async.com.br>
643 * gtk/gtkbuilder.h (enum): Add the new version mismatch error
644 constant to the end of the list, to avoid breaking the stable ABI
646 2008-06-05 Michael Natterer <mitch@imendio.com>
648 * configure.in: add -DATK_DISABLE_SINGLE_INCLUDES to CPPFLAGS.
650 2008-06-05 Li Yuan <li.yuan@sun.com>
652 * gail-uninstalled.pc.in:
653 Bug #536430. Patch from Damien Carbery <damien.carbery@sun.com>.
654 Correct paths to gail headers and libraries in gail-uninstalled.pc.in.
656 2008-06-03 Matthias Clasen <mclasen@redhat.com>
658 * docs/RELEASE-HOWTO: Update a bit
660 2008-06-03 Matthias Clasen <mclasen@redhat.com>
662 * configure.in: Bump version
664 * === Released 2.13.2 ===
666 2008-06-03 Federico Mena Quintero <federico@novell.com>
668 * gtk/gtkfilechooserentry.c (install_completion_feedback_timer):
669 If the user presses Tab while the completion feedback window is
670 active, then we'll assert. Remove the assertion and just re-set
671 the timer. Fixes https://bugzilla.novell.com/show_bug.cgi?id=355225
673 2008-06-03 Colin Walters <walters@redhat.com>
675 Bug 535303 – add _get_implementation to GtkStatusIcon
677 * gtk/gtkstatusicon.c (gtk_status_icon_get_x11_window_id): New
678 function to retrieve internal X11 window ID, useful for libnotify.
679 * gtk/gtkstatusicon.h: Prototype it.
680 * docs/reference/gtk/gtk-sections.txt: Add to docs.
681 * gtk/gtk.symbols: Export it.
683 2008-06-03 Tor Lillqvist <tml@novell.com>
685 * gtk/updateiconcache.c (build_cache): Use g_open().
687 2008-06-03 Michael Natterer <mitch@imendio.com>
690 * gtk/gtkctree.h: revert includes to how they have been before the
691 GTK_DISABLE_SINGLE_INCLUDES changes. Apparently I missed the fact
692 that you can't include <gtk/gtk.h> from two headers where one is a
693 parent class of the other and expect them both to be includable
696 2008-06-03 Michael Natterer <mitch@imendio.com>
698 * gtk/gtkprinteroptionset.h: remove newline at beginning of file.
700 2008-06-02 Matthias Clasen <mclasen@redhat.com>
702 Bug 536092 – GtkEntryCompletion's popup window should set type hint
704 * gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set
705 a type hint on the popup window to help compiz.
706 Patch by Vaclav Slavik.
708 2008-06-02 Claudio Saavedra <csaavedra@igalia.com>
710 Bug 535862 – gtk_action_create_icon can't create icons from the
713 * gtk/gtkaction.c: (gtk_action_create_icon): Look for the icon in
714 the default factories as it's supposed.
716 2008-06-02 Yevgen Muntyan <muntyan@tamu.edu>
718 Bug 535497 – Print preview doesn't work.
720 * gtk/Makefile.am: GTK_PRINT_PREVIEW_COMMAND on quartz: use open
721 instead of launching Preview.app directly.
723 2008-06-02 Michael Natterer <mitch@imendio.com>
725 * gtk/gtksignal.h: put back #include <gtk/gtkmarshal.h>, it's not
726 in <gtk/gtk.h>. Fixes stuff that uses deprecated cruft.
729 2008-05-31 Emmanuele Bassi <ebassi@gnome.org>
731 Bug 535830 – wrong content type adding an item
733 * gtk/gtkrecentmanager.c:
734 (gtk_recent_manager_add_item_query_info): Use the correct API
735 for retrieving the fast MIME type of a URI. (Carlos Garcia
738 2008-05-31 Kristian Rietveld <kris@imendio.com>
740 Bug 530146 - Setting non-string tooltip with
741 gtk_tree_view_set_tooltip_column() segfaults
743 * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_query_cb): use
744 gtk_tree_model_get_value() and explicitly transform the value to a
745 string before setting it as tooltip.
747 2008-05-30 Tor Lillqvist <tml@novell.com>
749 * modules/engines/ms-windows/msw_style.h
750 * modules/engines/ms-windows/msw_rc_style.h: Include gtk.h.
752 2008-05-30 Michael Natterer <mitch@imendio.com>
754 * gtk/gtkmenu.c (get_attach_info): cast attach_info_free() to
755 GDestroyNotify when using it in g_object_set_data_full().
757 2008-05-30 Michael Natterer <mitch@imendio.com>
759 * gdk/gdkapplaunchcontext.h
761 * gtk/gtkmountoperation.h
764 * gtk/gtktoolshell.h: no need to allow disabling single includes
765 conditionally in these new files. Simply forbid including them
766 individually from the beginning.
768 2008-05-30 Tor Lillqvist <tml@novell.com>
770 Bug 533108 - leak of GDI region in function 'handle_wm_paint'
772 * gdk/win32/gdkevents-win32.c (handle_wm_paint): Patch by Daniel
775 2008-05-29 Matthias Clasen <mclasen@redhat.com>
777 * configure.in: Bump version
779 * === Released 2.13.1 ===
783 2008-05-29 Matthias Clasen <mclasen@redhat.com>
785 * gtk/gtkwidget.c: s/2.16/2.14/ in Since tags
787 2008-05-29 Matthias Clasen <mclasen@redhat.com>
789 * tests/Makefile.am: Don't add testmountoperation to TEST_PROGS.
791 2008-05-29 Tor Lillqvist <tml@novell.com>
793 Bug 535526 - updateiconcache.c: using open/close without prototype
795 * gtk/updateiconcache.c: Include <io.h> if _MSC_VER. Also, use
796 g_utime() when available instead of utime() for UTF-8 pathname
799 2008-05-29 Jan Arne Petersen <jpetersen@jpetersen.org>
801 Bug 56355 – GtkLabel - Not all changes propagate correctly
803 * gtk/gtklabel.c: (gtk_label_recalculate), (gtk_label_set_label),
804 (gtk_label_set_markup_with_mnemonic), (gtk_label_parse_uline),
805 (gtk_label_set_text_with_mnemonic), (gtk_label_set_use_underline):
806 Call gtk_label_setup_mnemonic from gtk_label_recalculate. Add
807 notifications of mnemonic-keyval changes.
809 2008-05-27 Matthias Clasen <mclasen@redhat.com>
811 Bug 522084 – GIcon support for GtkIconTheme & GtkImage
813 * gtk/gtkicontheme.[hc]: Add support for GIcon based lookups.
814 * gtk/gtkimage.[hc]: Allow setting an image from a GIcon.
815 * gtk/gtk.symbols: Additions
816 * tests/testimage.c: Add a GIcon test
818 2008-05-29 Michael Natterer <mitch@imendio.org>
821 * gtk/gtkunixprint.h: add a single-include header for the unix
824 * gtk/gtkpagesetupunixdialog.h
827 * gtk/gtkprintunixdialog.h: add single-include guards that #error
828 out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these
829 files is included individually.
831 * gtk/gtkprintbackend.h
832 * gtk/gtkprinter-private.h
833 * modules/printbackends/cups/gtkprintbackendcups.c
834 * modules/printbackends/cups/gtkprintercups.h
835 * modules/printbackends/lpr/gtkprintbackendlpr.c
836 * tests/buildertest.c
837 * tests/defaultvaluetest.c
838 * docs/tools/widgets.c: include <gtk/gtkunixprint.h> instead of
841 2008-05-28 Michael Natterer <mitch@imendio.com>
843 * gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
844 excess newlines and sprinkled some newlines where needed. Zero
845 code or formatting changes included.
847 2008-05-28 Michael Natterer <mitch@imendio.com>
849 * gtk/gtkprinter.h: fix formatting of details_acquired() signal.
851 2008-05-28 Michael Natterer <mitch@imendio.com>
853 * gtk/gtkcolorbutton.h: fix comment: the widget is called
854 GtkColorButton, not GtkColorSelectButton. Remove trailing
855 whitespace and excess newlines.
857 2008-05-28 Michael Natterer <mitch@imendio.com>
859 * configure.in: last but not least, add G_DISABLE_SINGLE_INCLUDES,
860 GDK_PIXBUF_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES
861 to CPPFLAGS so it's impossible to commit code that would break
862 apps which use DISABLE_INCLUDE defines.
864 2008-05-28 Michael Natterer <mitch@imendio.com>
866 * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
869 * gtk/gtktypebuiltins.h.template
870 * gtk/gtkversion.h.in
871 * gtk/gtk*.h: add single-include guards that #error out if
872 GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
873 included individually.
875 * gtk/gtkprintbackend.h
876 * gtk/gtkprinter-private.h
877 * gtk/gtktextlayout.h
878 * gtk/gtktexttagprivate.h
880 * gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
881 headers in these private or semi-private headers.
883 * gtk/gtkimmodule.h: also here because it's not in gtk.h.
885 * gtk/gtkpagesetupunixdialog.h
888 * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
894 * gtk/gtkitemfactory.h
897 * gtk/gtkoldeditable.h
898 * gtk/gtkoptionmenu.h
902 * gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
903 instead of individual headers in these deprecated headers. They
904 don't get included at all when GTK_DISABLE_DEPRECATED is defined,
905 so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
906 and include them individually, which should continue to work.
908 * gtk/gtkclist.c: include "gtkctree.h" because of the change
911 2008-05-28 Kristian Rietveld <kris@imendio.com>
913 Bug 449625 - crash in gtk_tree_view_real_move_cursor at
916 * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down):
917 cursor_offset *must* be larger than background height of the cursor
918 node, not just equal otherwise there is no guarantee there is a next
921 2008-05-28 Michael Natterer <mitch@imendio.com>
923 * gtk/gtktestutils.c: don't include <gdk/gdktestutils.h>.
925 2008-05-28 Michael Natterer <mitch@imendio.com>
927 * gdk/gdk.h: define __GDK_H_INSIDE__ around including all other
930 * gdk/gdkenumtypes.h.template
931 * gdk/gdk*.h: add single-include guards that #error out if
932 GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
933 included individually. Also removed some redundant includes and
934 did some tiny trailing whitespace removal that's not worth to
937 * gdk/gdkprivate.h: include <gdk/gdk.h> instead of individual
940 * gdk/win32/gdkwin32.h
941 * gdk/x11/gdkx.h: only include <gdk/gdkprivate.h> and remove all
944 2008-05-28 Kristian Rietveld <kris@imendio.com>
946 Bug 504087 - make gtk_tooltip_set_custom a no-op for setting the
947 current widget again.
949 * gtk/gtktooltip.c (gtk_tooltip_set_custom),
950 (gtk_tooltip_reset), (gtk_tooltip_run_requery): use a
951 custom_was_reset field to check if the custom widget is set again in
952 the query-tooltip callback; if not, we set it to NULL. Based on a
953 patch by Xavier Claessens, insightful comments from Jean-Yves Lefort
954 and Christian Persch.
956 2008-05-28 Michael Natterer <mitch@imendio.com>
958 * modules/printbackends/cups/gtkcupsutils.c
959 * modules/printbackends/cups/gtkprintbackendcups.c
960 * modules/printbackends/file/gtkprintbackendfile.c
961 * modules/printbackends/lpr/gtkprintbackendlpr.c: include
962 <gtk/gtk.h> instead of individual files.
964 2008-05-28 Michael Natterer <mitch@imendio.com>
966 * demos/testpixbuf.c: include <gdk-pixbuf/gdk-pixbuf.h> instead of
969 2008-05-28 Kristian Rietveld <kris@imendio.com>
971 Bug 498010 - gtk_tree_view_set_cursor fails if model!=NULL.
973 * gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): return if fail
974 ->priv->tree != NULL. Suggestion from Stefan Kost.
976 2008-05-28 Kristian Rietveld <kris@imendio.com>
978 Bug 324282 - add selected signal to cell renderer combo.
980 * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
981 (gtk_cell_renderer_combo_changed),
982 (gtk_cell_renderer_combo_start_editing): add a new "changed" signal
983 that will be emitted as soon as the combo box emitted changed and has
984 an active iterator. (Modified patch based on work by James
987 * gtk/gtkmarshalers.list: add marshaler.
989 2008-05-28 Kristian Rietveld <kris@imendio.com>
991 Refactor expand/collapse timeout handling (amendment to bug 511217).
993 * gtk/gtktreeview.c (add_expand_collapse_timeout),
994 (remove_expand_collapse_timeout): new functions, the remove function
995 also clears expanded_collapsed_node,
996 (cancel_arrow_animation): moved to be next to the add/remove timeout
998 (gtk_tree_view_unrealize),
999 (gtk_tree_view_row_deleted),
1000 (gtk_tree_view_set_model),
1001 (cancel_arrow_animation),
1002 (gtk_tree_view_real_expand_row),
1003 (gtk_tree_view_real_collapse_row): use the new add/remove functions.
1005 2008-05-28 Kristian Rietveld <kris@imendio.com>
1007 Amendment of bug 485218 - Strange warning encountered.
1009 * gtk/gtktreemodelsort.[ch]
1010 (gtk_tree_model_sort_convert_child_iter_to_iter): return a boolean
1011 indication whether or not the conversion had succeeded.
1013 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1015 Bug 509788 - GTK+ should use CUPS to set Postscript level of PS output
1017 * modules/printbackends/cups/gtkprintbackendcups.c
1018 (cups_printer_create_cairo_surface): Fall back to PostScript level 2
1019 if the printer does not support level 3. Patch by Marek Kašík.
1021 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1023 Bug 404571 - Scroll arrow backgrounds should be painted with different
1026 * gtk/gtkmenu.c (gtk_menu_paint): Use "menu_scroll_arrow_up/down"
1027 as detail when drawing scroll arrow backgrounds. Proposed by
1030 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1032 Bug 511217 - potential memory corruption after refreshing a tree_view
1034 * gtk/gtktreeview.c (cancel_arrow_animation): Reset
1035 expanded_collapsed_node when canceling the animation.
1036 Patch by Nicholas Setton.
1038 2008-05-28 Michael Natterer <mitch@imendio.com>
1040 * modules/input/gtkimcontextime.h
1041 * modules/input/gtkimcontextmultipress.h
1042 * modules/input/gtkimcontextthai.h
1043 * modules/input/gtkimcontextxim.h: include <gtk/gtk.h> instead of
1046 * modules/input/gtkimcontextime.c
1047 * modules/input/gtkimcontextmultipress.c
1048 * modules/input/gtkimcontextxim.c
1049 * modules/input/imam-et.c
1050 * modules/input/imcedilla.c
1051 * modules/input/imcyrillic-translit.c
1052 * modules/input/iminuktitut.c
1053 * modules/input/imipa.c
1054 * modules/input/imti-er.c
1055 * modules/input/imti-et.c
1056 * modules/input/imviqr.c: ditto. Some minor cleanups like moving
1057 "gtk/gtkintl.h" to the end of includes.
1059 2008-05-28 Michael Natterer <mitch@imendio.com>
1061 * modules/engines/pixbuf/pixbuf-style.h
1062 * modules/engines/pixbuf/pixbuf-rc-style.h: include <gtk/gtk.h>
1063 instead of individual files.
1065 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1067 Bug 485218 - Strange warning encountered
1069 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted):
1070 (gtk_tree_model_sort_convert_child_iter_to_iter):
1071 (gtk_tree_model_sort_build_level): Better warnings. Patch
1072 by Kristian Rietveld.
1074 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1076 Bug 351910 - Search column setting lost
1078 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Clarify
1079 the docs. Patch by Matt Barnes.
1081 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1083 Bug 477278 - avoid unnecessary pointer subtraction
1085 * gtk/gtkaccelgroup.c (quick_accel_remove): Avoid pointer
1086 subtraction that sparse complains about. Patch by Christian
1089 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1091 Bug 106574 - Inconsistent increment behavior for gtkspinbutton
1093 * gtk/gtkspinbutton.c (gtk_spin_button_real_value_change):
1094 Commit the entry text before doing an increment. Patch by
1097 2008-05-27 Federico Mena Quintero <federico@novell.com>
1099 http://bugzilla.gnome.org/show_bug.cgi?id=533891 - Don't allow
1100 drag and drop from the file list into itself, as it doesn't make
1101 sense (it would just change the current folder).
1103 * gtk/gtkfilechooserdefault.c (file_list_dest_targets): Use
1104 GTK_TARGET_OTHER_WIDGET so we don't DnD from the file list into
1107 2008-05-27 Michael Natterer <mitch@imendio.com>
1109 * gtk/gtksignal.h: move deprecated guards around everything,
1110 including includes and include guards (just as in all other
1113 2008-05-27 Tor Lillqvist <tml@novell.com>
1115 * gtk/updateiconcache.c (build_cache): Use simpler mode for open()
1116 on Windows. (No S_I?GRP and S_I?OTH bits are defined in
1117 <sys/stat.h> on Windows, and the mode used in open() doesn't
1118 matter much as there are no rwxrwxrwx bits on Windows anyway.)
1119 Open file in binary mode. Passing "b" to fdopen() later isn't
1122 2008-05-27 10:33:41 Tim Janik <timj@imendio.com>
1124 * gtk/gtkwidget.c: guard gtk_widget_get_snapshot() against
1125 invalid or invisible widgets.
1127 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1129 Bug 531008 – Crash in gtkprintunixdialog.c
1131 * gtk/gtkprintunixdialog.c: Disconnect signal handlers when
1132 the dialog closes. Patch by Yevgen Muntyan.
1134 2008-05-27 Matthias Clasen <mclasen@redhat.com>
1136 RH bug 248245: cups client printing from gnome applications fail
1138 * modules/printbackends/cups/gtkprintbackendcups.c
1139 (gtk_print_backend_cups_print_stream): Specify the right server.
1141 2008-05-27 Carlos Garnacho <carlos@imendio.com>
1143 * gtk/gtkfilechooserdefault.c (set_select_multiple): Enable
1144 rubberbanding when "select-multiple" is TRUE. Bug #446068.
1146 2008-05-27 Carlos Garnacho <carlos@imendio.com>
1148 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Enable
1149 correctly dialog buttons sensitivity when the anonymous option is
1150 enabled by default. Bug #531865.
1152 2008-05-27 Carlos Garnacho <carlos@imendio.com>
1154 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Set
1155 password dialog modal and transient for the parent window also if it
1156 was specified in the constructor. Bug #531864.
1158 2008-05-26 Richard Hult <richard@imendio.com>
1160 * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Try
1161 setting the default font, might need to tweak this.
1163 2008-05-26 Michael Natterer <mitch@imendio.com>
1165 * examples/gtkdial/gtkdial.h
1166 * modules/input/gtkimcontextthai.h: use G_BEGIN/END_DECLS.
1168 2008-05-26 Michael Natterer <mitch@imendio.com>
1170 * gtk/gtkimmodule.h: fix indentation.
1172 2008-05-26 Michael Natterer <mitch@imendio.com>
1174 * gtk/gtkshow.h: include "gdk/gdk.h" instead of "gdk/gdkscreen.h"
1176 * gtk/gtkshow.c: remove inclusion of single files from gdk/
1178 Removed trailing whitespace in both files.
1180 2008-05-26 Richard Hult <richard@imendio.com>
1182 Bug 530353 – Mac-like gtk_accelerator_get_label()
1184 * gtk/gtkaccellabel.c: (gtk_accel_label_class_init),
1185 (append_keyval_symbol), (_gtk_accel_label_class_get_accelerator_label):
1186 On quartz, make gtk_accelerator_get_label() format a Mac-like
1187 string, using unicode characters for modifier keys, arrows, delete
1188 etc. Patch from Yevgen Muntyan.
1190 2008-05-26 Richard Hult <richard@imendio.com>
1192 Bug 534869 – Length miscalculation in
1193 _gtk_quartz_get_selection_data_from_pasteboard
1195 * gtk/gtkquartz.c: (_gtk_quartz_get_selection_data_from_pasteboard):
1196 Get the number of bytes, not the number of characters, patch from
1199 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1201 * gtk/gtkwidget.c: Some doc formatting fixes.
1203 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1205 Bug 511163 – Remove pango_extents_to_pixels() calls
1207 * gtk/gtkcellrenderertext.c (get_size): Use
1208 pango_layout_get_pixel_extents.
1210 * configure.in: Bump Pango requirement to 1.20
1212 * INSTALL.in: Update required versions
1214 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1216 Bug 513811 – Use cairo_format_stride_for_width()
1218 * gtk/gtkhsv.c (paint_ring, paint_triangle):
1219 * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Use
1220 cairo_format_stride_for_width, proposed by Behdad Esfahbod.
1222 * configure.in: Bump cairo requirement to 1.6.0
1224 * INSTALL.in: Update required versions
1226 2008-05-26 Matthias Clasen <mclasen@redhat.com>
1228 * gtk/gtkshow.[hc]: Formatting fixes
1230 * gtk/gtkmountoperation.c: Add docs
1232 2008-05-25 Cody Russell <bratsche@gnome.org>
1234 Bug 507389 – use gslice for gtksettings
1236 * gtk/gtksettings.c: Change from g_new0/g_free to use GSlice.
1237 Report and patch by Christian Persch.
1239 2008-05-25 Cody Russell <bratsche@gnome.org>
1241 Bug 523562 - gtk-update-icon-cache core dumps when run concurrently and
1242 when options are missing
1244 * gtk/updateiconcache.c: Open the cache file (O_CREAT | O_EXCL) so
1245 that other processes that try to open it will fail gracefully. Also
1246 fix a crasher caused by lack of a NULL check. Report and patch
1249 2008-05-25 Cody Russell <bratsche@gnome.org>
1251 Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows
1253 * gdk/x11/gdkwindow-x11.c (_gdk_window_get_toplevel): Check
1254 !WINDOW_IS_TOPLEVEL instead of checking for GDK_WINDOW_CHILD,
1255 so that we also take into account for foreign windows.
1256 Report and patch by Nathaniel Smith.
1258 2008-05-25 Cody Russell <bratsche@gnome.org>
1260 Bug 525461 - Don't invalidate under an input-only child
1262 * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child):
1263 Check that the window is not input-only before invalidating.
1264 Report and patch by Owen Taylor.
1266 2008-05-25 Cody Russell <bratsche@gnome.org>
1268 Bug 524110 - Gdk should not assume reparenting WMs when retrieving
1269 window frame extents
1271 * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
1272 Use _NET_FRAME_EXTENTS, if available. Patch by Danny Baumann.
1274 2008-05-25 Cody Russell <bratsche@gnome.org>
1276 Bug 522269 - Evince windows sometimes incorrectly unmaximized,
1277 caused by missing flag initialization
1279 * gdk/x11/gdkwindow-x11.c (set_initial_hints): Initialize
1280 top-level private flags correctly. Patch by Danny Baumann.
1282 2008-05-25 Cody Russell <bratsche@gnome.org>
1284 Bug 534463 - non-editable GtkTextView should not call
1285 gtk_im_context_focus_in in focus event
1287 * gtk/gtktextview.c: Add checks to see if the textview is
1288 editable. Patch by Wang Diancheng.
1290 2008-05-25 Matthias Clasen <mclasen@redhat.com>
1292 Bug 501730 – use GSlice for small allocs
1294 * gtk/gtkmenuitem.c:
1295 * gtk/gtkmenu.c: Use the slice allocator for small allocations.
1296 Patch by Christian Persch.
1298 2008-05-25 Matthias Clasen <mclasen@redhat.com>
1300 Bug 523930 – sort -> search in gtktreeview.c
1302 * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Fix a doc
1303 glitch, pointed out by Björn Lindqvist.
1305 2008-05-25 Matthias Clasen <mclasen@redhat.com>
1307 Bug 479384 – gtk_selection_data_targets_include_uri docs buglet
1309 * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): Fix
1310 doc glitch, pointed out by Christian Persch.
1312 2008-05-25 Matthias Clasen <mclasen@redhat.com>
1314 Bug 534694 – Col id in GtkListStore could be out of range
1316 * gtk/gtkliststore.c (list_store_start_element): Fix up error handling
1317 a bit. Pointed out by Jan Arne Petersen.
1319 2008-05-25 Matthias Clasen <mclasen@redhat.com>
1321 Bug 532497 – Configure problem when cross-compiling
1323 * configure.in: Use AC_CHECK_TOOLS to find C++ compiler,
1324 pointed out by Marko Lindqvist.
1326 2008-05-25 Richard Hult <richard@imendio.com>
1328 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
1329 Slight coding style cleanup.
1331 2008-05-25 Tristan Van Berkom <tvb@gnome.org>
1333 * gtk/gtkbuilderprivate.h, gtk/gtkbuilder.h, gtk/gtkbuilderparser.c:
1334 Added support for parsing required toolkit versions (so that ui descriptions
1335 can target specific versions of the backend widget libraries) bug 527612.
1337 * gtk/docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
1338 for the added xml tags to the ui description.
1340 * tests/buildertest.c: Enhanced pango attribute tests, Added tests
1341 for requires tag handling.
1343 2008-05-25 Richard Hult <richard@imendio.com>
1345 * gtk/gtkdnd-quartz.c: (gtk_drag_drop_finished): Run
1346 gtk_drag_source_info_destroy in an idle, workaround for bug
1347 #501588, that makes any code that uses the context returned from
1348 gtk_drag_begin() crash, like treeview/iconview dnd.
1349 (GdkDragSourceOwner::provideDataForType): only use the data if we
1352 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
1354 * gtk/gtkfilechooserdefault.c: (create_file_list): Add GDK_ACTION_MOVE
1355 to the drag actions to allow trash (#137717).
1357 2008-05-25 Josselin Mouette <joss@malsain.org>
1359 reviewed by: Matthias Clasen
1361 * gtk/gtksearchenginetracker.c: (_gtk_search_engine_tracker_new):
1362 check that tracker is actually working before using it. Fixes
1365 2008-05-25 Sven Neumann <sven@gimp.org>
1367 * gtk/gtkdrawingarea.c (gtk_drawing_area_realize)
1368 (gtk_drawing_area_size_allocate): respect the GTK_NO_WINDOW flag
1369 and don't create an output window if it is set.
1371 * gtk/gtkprintunixdialog.c: set the GTK_NO_WINDOW flag for the
1372 drawing areas. Fixes bug #519317.
1374 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
1376 * gtk/gtkentry.c: (gtk_entry_class_init), (get_text_area_size),
1377 (gtk_entry_get_text_area_size), (gtk_entry_draw_frame):
1379 * gtk/gtkspinbutton.c: (gtk_spin_button_class_init),
1380 (gtk_spin_button_realize), (gtk_spin_button_size_allocate),
1381 (gtk_spin_button_expose), (gtk_spin_button_draw_arrow),
1382 (gtk_spin_button_enter_notify), (gtk_spin_button_leave_notify),
1383 (gtk_spin_button_grab_notify), (gtk_spin_button_state_changed),
1384 (start_spinning), (gtk_spin_button_button_release),
1385 (gtk_spin_button_motion_notify), (gtk_spin_button_value_changed),
1386 (gtk_spin_button_get_text_area_size), (gtk_spin_button_real_spin),
1387 (gtk_spin_button_update): Reorder strange window hierarchy of the
1388 GtkSpinButton (#466000).
1390 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
1392 * gtk/gtklabel.c: (get_layout_location): Subtract logical.x from x to
1393 fix the wrong position for right and center justified labels with
1394 logical.x > 0 (#530255).
1396 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
1398 * gtk/gtkfilechooserdefault.c:
1399 (shortcuts_activate_volume_mount_cb): Ignore G_IO_ERROR_FAILED_HANDLED
1402 2008-05-25 Björn Lindqvist <bjourne@gmail.com>
1404 * tests/pixbuf-lowmem.c
1405 * tests/pixbuf-random.c
1406 * tests/pixbuf-randomly-modified.c
1407 * tests/pixbuf-read.c
1408 * tests/pixbuf-threads.c
1410 * tests/testtreeview.c: Fix remaining compiler warnings in these
1413 2008-05-25 Jaap A. Haitsma <jaap@haitsma.org>
1415 reviewed by: Matthias Clasen
1420 * gtk/gtkshow.c: (gtk_show_uri):
1422 Add gtk_show_uri to make showing uris really easy. Fixes bug #514396
1424 2008-05-25 Jan Arne Petersen <jpetersen@jpetersen.org>
1426 * gtk/gtkliststore.c: (list_store_text): Use type of the correct
1428 * tests/buildertest.c: (test_list_store): Add test.
1430 2008-05-24 Matthias Clasen <mclasen@redhat.com>
1432 Bug 520989 – icon factory buildable too strict
1434 * gtk/gtkiconfactory.c (icon_source_start_element): Make filename
1435 an optional attribute.
1437 2008-05-24 Matthias Clasen <mclasen@redhat.com>
1439 Bug 387972 – gtkassistant drawing problem
1441 * gtk/gtkassistant.c (gtk_assistant_size_allocate): Make
1442 GtkAssistant work better in glade.
1444 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
1446 * gtk/gtktoolbar.c: (gtk_toolbar_class_init): Change defaults of child
1447 properties "expand" and "homogeneous" from TRUE to FALSE (as they are
1448 used in GtkToolItem) (#532787).
1450 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
1452 * gtk/gtkfilechooserdefault.c: (location_toggle_popup_handler): Don't
1453 try to toggle the visibility of the location entry field in search and
1454 recent mode (#526422).
1456 2008-05-24 Jan Arne Petersen <jpetersen@jpetersen.org>
1458 * gtk/gtkfilechooserdefault.c: (shortcuts_query_tooltip_cb),
1459 (shortcuts_list_create): Show parse name as tooltip for path
1460 shortcuts (#137503).
1462 2008-05-24 Björn Lindqvist <bjourne@gmail.com>
1464 * gdk/gdkcolor.c (gdk_color_parse): Update docstring to match
1465 pango_color_parse, do not reference XParseColor forms (#434991).
1467 2008-05-24 James Sharpe <jsharpe@gnome.org>
1469 * gdk/gdk.symbols: Remove duplicate
1470 gdk_window_redirect_to_drawable and gdk_window_remove_redirection
1471 * gtk/gtk.symbols: Remove duplicate gtk_widget_get_snapshot
1473 2008-05-23 Hans Breuer <hans@breuer.org>
1475 * **/makefile.msc gtk/makefile.msc.in : updated
1476 * gtk/gtkwidget.c : fix c99ism (variable at start of block
1477 * gdk/gdk.symbols gtk/gtk.symbols : export functions for window
1479 * gtk/gtkfilechooserdefault.c : #include <locale.h> for
1480 setlocale(LC_ALL, ...)
1482 2008-05-23 Tor Lillqvist <tml@novell.com>
1484 * gdk/gdk.symbols: Add gdk_window_redirect_to_drawable and
1485 gdk_window_remove_redirection.
1487 * gdk/win32/gdkwindow-win32.c (_gdk_window_new)
1488 (_gdk_window_reparent): Rename to adapt to the offscreen rendering
1489 changes. Remove now unnecessary parameter checks as the caller
1492 * gtk/gtk.symbols: Add gtk_widget_get_snapshot.
1494 2008-05-23 Tor Lillqvist <tml@novell.com>
1496 * gdk/win32/gdkwindow-win32.c (update_style_bits): Don't do
1497 anything if style doesn't change. Improve debugging output.
1499 2008-05-23 Michael Natterer <mitch@gimp.org>
1502 * tests/print-editor.c
1503 * tests/prop-editor.h
1504 * tests/testmountoperation.c
1505 * tests/testmultidisplay.c
1506 * tests/testnouiprint.c
1508 * tests/testprintfileoperation.h
1509 * tests/testtreesort.c
1510 * tests/textbuffertest.c: include <gtk/gtk.h> instead of single
1511 files. Remove some redundant includes.
1513 2008-05-22 Hiroyuki Ikezoe <poincare@ikezoe.net>
1515 * gtk/gtksockget.c: (gtk_socket_realize): Remove second call of
1516 GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED).
1518 2008-05-21 Richard Hult <richard@imendio.com>
1520 * gdk/quartz/gdkwindow-quartz.c:
1521 (_gdk_window_new), (_gdk_window_reparent): Renamed to adapt to the
1522 offscreen rendering changes, fixes build.
1524 2008-05-21 21:10:15 Tim Janik <timj@imendio.com>
1526 * gtk/gtkwidget.h: added GdkRectangle *clip_rect to gtk_widget_get_snapshot().
1528 * gtk/gtkwidget.c: clip the returned snapshot pixmap to clip_rect.
1529 return snapshot pixmap coordinates widget relative in *clip_rect.
1531 * tests/testgtk.c: fixed bogus NULL pointer unref.
1533 2008-05-21 21:04:28 Tim Janik <timj@imendio.com>
1535 * gtk/gtkwidget.c gtk_widget_get_snapshot(): grow snapshot area from
1536 widget's allocation to cover extra widget windows placed outside the
1537 widget allocation (spinbutton arrows are the prime example for this).
1539 2008-03-18 10:49:20 Tim Janik <timj@imendio.com>
1541 * Applied pixmap redirection patch by Alexander Larsson with
1542 various updates from:
1543 Bug 318807 – Offscreen windows and window redirection.
1548 * updated docs to mention "Since 2.16".
1550 * tests/testgtk.c: fixed snapshooting pixmap leak.
1551 convert pixmap to pixbuf after snapshooting, to compensate for different
1552 bit depths (occurs when snapshooting ARGB visuals and displaying the
1553 pixmap in an RGB visual).
1555 * gdk/gdkwindow.[hc]: made GdkWindowRedirect private.
1557 * gdk/gdkwindow.c: removed damage idle handler, there's no aparent
1558 need for it. enqueue damage notification as GDK_DAMAGE events
1559 for each painting redirection at the start of the event queue.
1560 consider windows with a redirection fully visible when invalidating,
1561 and when updating from backing store. cleaned up stale variables.
1563 * gdk/gdkevents.c: added _gdk_event_queue_prepend().
1565 * gtk/gtkwidget.c: fixed coordinates for !NO_WINDOW widgets in
1566 gtk_widget_get_snapshot; this fixes garbage snap offsets for gammacurve,
1567 tree, drawingarea, text, handlebox, etc.
1568 clip the redirected window hierarchy to window sizes, the visible
1569 rectangles don't need to be taken into account here.
1570 extended snapshooting docs to recommend gdk_pixbuf_get_from_drawable()
1571 in case pixmap visuals could mismatch.
1573 * gdk/x11/gdkwindow-x11.c: removed _gdk_windowing_window_get_visible_rect().
1578 * tests/testgtk.c: add a "Snapshot" test to demonstrate snapshooting
1579 of possibly obscured widgets into an offscreen pixmap.
1581 * gtk/gtkwidget.[hc]: add GtkWidget::damage-event signal, add
1582 gtk_widget_get_snapshot() to render a widget's contents to a GdkPixmap.
1584 * gtk/gtkmain.c: dispatch GDK_DAMAGE events.
1586 * gdk/gdkwindow.c: moved outer gdk_window_new() and gdk_window_reparent()
1587 implementations here, adapted them to propagate redirects to child windows.
1588 gdk_window_end_paint(): copy repainted window contents to redirection pixmap,
1589 clipped to visible region. queue GDK_DAMAGE event delivery.
1590 gdk_window_redirect_to_drawable(): install window painting redirection.
1591 gdk_window_remove_redirection(): remove previously installed redirection.
1593 * gdk/x11/gdkwindow-x11.c: added _gdk_windowing_window_get_visible_rect(),
1594 renamed _gdk_window_new() and _gdk_window_reparent().
1596 * gdk/gdkwindow.h: added GdkWindowRedirect* to GdkWindowObject, export
1597 gdk_window_redirect_to_drawable() and gdk_window_remove_redirection().
1599 * gdk/gdkevents.h: added GDK_DAMAGE event type.
1601 * gdk/gdkevents.c: extract time and state from GDK_DAMAGE events.
1603 * gdk/gdkinternals.h: added internal prototypes.
1605 2008-05-21 Michael Natterer <mitch@imendio.com>
1607 * gtk/gtkalignment.c
1611 * gtk/gtkscrolledwindow.c: remove PROP_LAST enum values.
1613 2008-05-20 Matthias Clasen <mclasen@redhat.com>
1615 RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size
1618 Patch by Marek Kasik.
1621 * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.
1623 * gtk/gtkprintbackend.[hc]: Add fallback implementation.
1625 * modules/printbackends/file/gtkprintbackendfile.c:
1626 * modules/printbackends/cups/gtkprintbackendcups.c: Implement
1627 get_default_page_size.
1629 * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
1630 select its default paper size.
1632 * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
1633 use the printer default.
1635 * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
1636 if we don't have a default page setup.
1638 2008-05-20 Gian Mario Tagliaretti <gianmt@gnome.org>
1640 * gtk/gtkdnd.c: (gtk_drag_set_icon_pixmap): Fix the docs, the mask param
1641 can accept NULL for none. Fixes bug #533920.
1643 2008-05-20 Björn Lindqvist <bjourne@gmail.com>
1645 * gtk/gtkspinbutton.c: (gtk_spin_button_snap,
1646 gtk_spin_button_update): Remove two chunks of duplicated
1649 2008-05-20 14:27:34 Tim Janik <timj@imendio.com>
1651 * reverted recent unapproved changes by Yair Hershkovitz,
1652 regarding: Bug 503071 – Application direction changes to right
1653 to left even if theres no translation.
1655 2008-05-19 Richard Hult <richard@imendio.com>
1657 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_hide),
1658 (gdk_window_fullscreen), (gdk_window_unfullscreen): Use
1659 SetSystemUIMode instead of hiding and showing the menubar.
1661 2008-05-19 Federico Mena Quintero <federico@novell.com>
1663 http://bugzilla.gnome.org/show_bug.cgi?id=322298 - Save dialog
1664 can't be resized until you expand the "Browse for other folders"
1667 * gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
1668 Removed the "get_resizable" method.
1669 (_gtk_file_chooser_embed_get_resizable): Removed.
1671 * gtk/gtkfilechooserembed.c: Removed the _get_resizable() machinery.
1673 * gtk/gtkfilechooserdefault.c: Likewise.
1675 * gtk/gtkfilechooserdialog.c
1676 (file_chooser_widget_default_size_changed): Act as if the dialog
1677 were always resizable.
1679 2008-05-19 Michael Natterer <mitch@imendio.com>
1681 * gtk/gtkcellrenderer.c
1682 * gtk/gtkcellrendererpixbuf.c
1683 * gtk/gtkcellrenderertoggle.c
1684 * gtk/gtkimagemenuitem.c
1685 * gtk/gtkmenutoolbutton.c
1686 * gtk/gtkoptionmenu.c
1687 * gtk/gtkstatusbar.c
1688 * gtk/gtktextview.c: s/PROP_ZERO/PROP_0/g, remove LAST_PROP.
1690 2008-05-17 Yair Hershkovitz <yairhr@gmail.com>
1692 * gtk/gtkmain.c: gtk_disable_setlocale() - Added a call to
1693 g_disable_setlocale().
1695 2008-05-17 Richard Hult <richard@imendio.com>
1697 * gdk/quartz/gdkwindow-quartz.c:
1698 (gdk_window_impl_quartz_invalidate_maybe_recurse):
1699 (gdk_window_quartz_update_idle): Use gdk_threads_add_idle instead
1700 of g_idle_add. Add a temporary check if the window is already in
1701 the updates list, since update_area currently doesn't always match
1702 the backend's state, see bug #530801.
1704 2008-05-13 Tor Lillqvist <tml@novell.com>
1706 Bug 496958 - Wacom Bamboo doesn't function with GTK apps in Win32
1708 * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Set
1709 the "packet rate" of devices to zero instead of 50. This is
1710 reported to help significantly with Wacom tablet behaviour in GIMP
1711 and Inkscape. Patch from Thomas Bleeker.
1713 2008-05-12 Richard Hult <richard@imendio.com>
1715 * gdk/quartz/gdkevents-quartz.c:
1716 * gdk/quartz/gdkquartz.h: Remove special casing of menu key events
1717 as it's no longer necessary; instead the added quartz API to get
1718 the nsevent from an event should be used. Also move the global
1719 filter up so it's done before the check for window-less events.
1721 2008-05-12 Tor Lillqvist <tml@novell.com>
1723 Bug 532558 - Cannot build dll when using separate builddir
1726 * gtk/Makefile.am: .def file belongs in $(srcdir). Patch by Marko
1729 2008-05-12 Yair Hershkovitz <yairhr@gmail.com>
1731 * gtk/gtkmain.c: g_i18n_init(); -> g_i18n_init ();
1733 2008-05-12 Tor Lillqvist <tml@novell.com>
1735 Bug 532059 - Leak in win32 clipboard manipulation
1737 * gdk/win32/gdkselection-win32.c
1738 (gdk_win32_selection_add_targets): Plug memory leak. Patch by
1741 2008-05-11 Yair Hershkovitz <yairhr@gmail.com>
1743 * gtk/gtkmain.c: call g_i18n_init() in gettext_initialization(). do
1744 gettext_initialization only once.
1746 * gtk/gtkbuilderparser.c: use glib i18n api. removed dpgettext() as it
1747 duplicates g_dpgettext() and added _g_dpgettext() to wrap g_dpgettext
1748 with the extended functionality that was in the removed dpgettext().
1750 * gtk/gtkaccellabelc:
1752 * gtk/gtkimmulticontext.c:
1753 * gtk/gtkactiongroup.c:
1754 * gtk/gtkintl.h: use glib i18n api.
1756 2008-05-08 Richard Hult <richard@imendio.com>
1758 * gdk/quartz/gdkgeometry-quartz.c (gdk_window_scroll): Move the
1759 currently invalidated region. Fixes bug #532048, patch by Yevgen
1762 2008-05-08 Richard Hult <richard@imendio.com>
1764 * gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake
1765 fd's revents, not the first one. Fixes bug #531056, spotted by
1768 2008-05-07 Tor Lillqvist <tml@novell.com>
1770 * gtk-zip.sh.in: Add gtk-update-icon-cache.exe and more man pages
1773 2008-05-05 Matthias Clasen <mclasen@redhat.com>
1775 Apply a patch by Marek Kasik <mkasik@redhat.com> to display
1776 more printer status information in the print dialog.
1778 * modules/printbackends/cups/gtkprintbackendcups.c: Translate
1779 printer-state-reasons into suitable messages and icons.
1781 * gtk/stock-icons/16/gtk-print-error.{svg,png}:
1782 * gtk/stock-icons/16/gtk-print-report.{svg,png}:
1783 * gtk/stock-icons/16/gtk-print-warning.{svg,png}:
1785 * gtk/gtkiconfactory.c:
1786 * gtk/gtkstock.h: New stock icons to display printer state.
1788 2008-05-07 Michael Natterer <mitch@imendio.com>
1790 * gdk/gdkinternals.h
1792 * gdk/directfb/gdkevents-directfb.c
1793 * gdk/quartz/gdkevents-quartz.c
1794 * gdk/win32/gdkevents-win32.c
1795 * gdk/x11/gdkevents-x11.c (_gdk_windowing_event_data_copy):
1796 order parameters src,dest and make src const.
1798 2008-05-06 Richard Hult <richard@imendio.com>
1800 * gdk/gdkevents.c: (gdk_event_copy), (gdk_event_free):
1801 * gdk/gdkinternals.h: Add private backend data to events, and
1802 handle it when copying/freeing events. Currently only needed in
1805 * gdk/directfb/gdkevents-directfb.c:
1806 * gdk/quartz/gdkevents-quartz.c:
1807 * gdk/win32/gdkevents-win32.c:
1808 * gdk/x11/gdkevents-x11.c: (_gdk_windowing_event_data_copy)
1809 (_gdk_windowing_event_data_free): Add stubs for X11, win32 and
1810 directfb. Implement for quartz. Part of fixing bug #473822.
1812 2008-05-05 Richard Hult <richard@imendio.com>
1814 * gdk/quartz/gdkmain-quartz.c (_gdk_windowing_init): Initalize
1815 framework if there is one.
1817 2008-05-05 Michael Natterer <mitch@imendio.com>
1819 * gtk/gtkcellrenderercombo.h
1820 * gtk/gtkcellrendererspin.h
1821 * gtk/gtkfilechooserbutton.h: style cleanups for the sake of
1824 * gtk/gtkfilechooserdialog.h
1825 * gtk/gtkfilechooserwidget.h
1826 * gtk/gtkscalebutton.h: reorder instance and class structs to be
1829 2008-05-04 Richard Hult <richard@imendio.com>
1831 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Check if
1832 gdk_unicode_to_keyval() worked before using the result. Makes
1833 function keys work, bug #530156. Also add F16 to the function key
1836 2008-05-04 Richard Hult <richard@imendio.com>
1838 * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Remove stray
1839 semicolon after if statement. Fixes bug #530963, patch from Yevgen
1842 2008-05-02 Michael Natterer <mitch@imendio.com>
1844 * gtk/gtk.h: add 15 files that were missing (they all got included
1845 indirectly by including gtk.h, so should have been here in the
1848 2008-05-02 Michael Natterer <mitch@imendio.com>
1850 * modules/input/imthai.c: use GETTEXT_PACKAGE instead of "gtk20".
1852 2008-05-01 Richard Hult <richard@imendio.com>
1854 * gtk/gtkquartz.c (_gtk_quartz_set_selection_data_for_pasteboard):
1855 Prevent crash, fixes bug #530153. Patch from Yevgen Muntyan.
1857 2008-05-01 Matthias Clasen <mclasen@redhat.com>
1859 * modules/imput/imthai.c: Register the right translation domain.
1861 2008-04-30 Matthias Clasen <mclasen@redhat.com>
1863 Bug 529386 – Printing options hidden by blacklisted option
1865 * modules/printbackend/cups/gtkprintbackendcups.c
1866 (cups_printer_get_options): Fix the blacklist handling.
1867 Patch by Marek Kašík.
1869 2008-04-30 Richard Hult <richard@imendio.com>
1871 * gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose
1874 2008-04-30 Richard Hult <richard@imendio.com>
1876 * gdk/quartz/gdkevents-quartz.c: (_gdk_events_queue): Don't send
1877 nsevents with the gdk lock held, fixes deadlock when doing manual
1878 window resizing with threading enabled.
1880 2008-04-30 Richard Hult <richard@imendio.com>
1882 * gdk/quartz/gdkevents-quartz.c:
1883 (get_keyboard_modifiers_from_ns_event), (create_key_event): Map
1884 Alt to Alt and Cmd to Meta. This is not only more logical but also
1885 makes it easier to have Mac-like behavior.
1887 2008-04-25 Björn Lindqvist <bjourne@gmail.com>
1889 * gtk/gtkentry.c: (gtk_entry_expose) Use existing window size when
1890 painting the flat box instead of recalculating it. (#437493,
1893 2008-04-25 Michael Emmel <mike.emmel@gmail.com>
1895 Bug 529841 – incorrect position in directfb
1897 * gdk/directfb/gdkwindow-directfb.c: fix y = abs_x
1899 2008-04-25 Johan Dahlin <jdahlin@async.com.br>
1901 * gtk/gtkwidget.h: include <atk/atk.h> instead of <atk/atkobject.h>
1903 2008-04-25 Michael Natterer <mitch@imendio.com>
1905 * gtk/gtkprintcontext.h: include <pango/pango.h> instead of
1906 <pango/pango-layout.h>.
1908 * gtk/gtkiconfactory.c
1912 * gtk/queryimmodules.c: remove inclusion of single files from
1913 pango, none of them was actually needed.
1915 * modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
1916 <pango/pango-utils.h>.
1918 2008-04-25 Michael Natterer <mitch@imendio.com>
1920 * gdk/gdkfont.h: include <pango/pango.h> instead of
1921 <pango/pango-font.h>.
1923 2008-04-25 Michael Natterer <mitch@imendio.com>
1925 * gtk/gtkmountoperation.h: include <gdk/gdk.h> instead of
1928 2008-04-21 Michael Natterer <mitch@imendio.com>
1930 * gtk/gtkselection.c: add tons of g_return_if_fail() instead of
1931 crashing when NULL pointers get passed.
1933 2008-04-18 Michael Natterer <mitch@imendio.com>
1935 * gtk/gtkenums.h: move a few '{' to their own lines so all enums
1936 here have the same style.
1938 2008-04-18 Michael Natterer <mitch@imendio.com>
1940 * gtk/gtkicontheme.h
1941 * gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
1944 * gtk/gtkbuilderparser.c
1945 * gtk/gtklinkbutton.c
1947 * gtk/gtkrecentchooserdefault.c
1948 * gtk/gtkrecentchoosermenu.c
1949 * modules/input/gtkimcontextthai.c: remove inclusion of single
1950 files from gdk, none of the includes was actually needed.
1952 2008-04-18 Michael Natterer <mitch@imendio.com>
1954 * gdk/gdk.h: reorder one include so they are all alphabetical.
1956 2008-04-18 Michael Natterer <mitch@imendio.com>
1958 * modules/printbackends/cups/gtkprintercups.[ch]
1959 (gtk_printer_cups_get_ppd_name): change return value and local
1960 variable to const gchar* to fix warning about discarding const
1963 2008-04-18 Emmanuele Bassi <ebassi@gnome.org>
1965 * gtk/gtkrecentmanager.c:
1966 (gtk_recent_manager_set_filename): Keep the default storage
1967 file in $HOME, as we don't have a migration code in place yet.
1969 2008-04-18 Michael Natterer <mitch@imendio.com>
1971 * gtk/gtkrecentmanager.c (gtk_recent_manager_clamp_to_age):
1972 g_strfreev() the uris returned by g_bookmark_file_get_uris().
1974 2008-04-17 Michael Natterer <mitch@imendio.com>
1976 * gtk/gtkiconfactory.c (get_default_icons): register the
1977 GTK_STOCK_PAGE_SETUP icon.
1979 2008-04-17 Michael Natterer <mitch@imendio.com>
1981 * gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
1982 g_return_if_fail(tooltips != NULL);
1984 2008-04-16 Tristan Van Berkom <tvb@gnome.org>
1986 * gtk/gtkwindow.c: Chain up in buildable_finish()
1988 * gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
1989 cases where g_path_get_dirname() returns "."
1991 * docs/reference/gtk/tmpl/gtklabel.sgml,
1992 docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
1993 for the <attributes> tags on GtkLabel
1995 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
1997 * gtk/gtkrecentmanager.c:
1998 (gtk_recent_manager_real_changed): Fix last commit, and
1999 complete the gtk-recent-files-max-age semantics: if the
2000 property is set to 0 then purge the list.
2002 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
2004 Bug 488507 – boundless growth of .recently-used.xbel file
2005 slows down applications
2007 * gtk/gtkrecentmanager.c:
2008 (gtk_recent_manager_init),
2009 (gtk_recent_manager_real_changed),
2010 (gtk_recent_manager_set_filename),
2011 (gtk_recent_manager_clamp_to_age): Clamp the recently
2012 used resources list by the age of its items, using
2013 the newly added GtkSettings property.
2015 * gtk/gtksettings.c (gtk_settings_class_init): Add the
2016 gtk-recent-files-max-age property, controlling the
2017 maximum age of the items in the recently used resources
2020 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
2022 * gtk/gtkrecentmanager.c:
2023 (gtk_recent_manager_add_item_query_info),
2024 (gtk_recent_manager_add_item): Emit the ::changed signal
2025 at the end of the asynchronous MIME type query.
2027 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
2029 Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel
2032 * gtk/gtkrecentmanager.c: Use GFileMonitor to check for
2033 changes in the recently used resources storage file, and
2034 drop the timeout-based poll.
2036 * ChangeLog: Fix attribution of the patch of the previous
2039 2008-04-15 Emmanuele Bassi <ebassi@gnome.org>
2041 Bug 506062 – gtk_recent_manager_add_item does not detect mime
2044 * configure.in: Depend on gio-2.0
2046 * gtk/gtkrecentmanager.c:
2047 (gtk_recent_manager_add_item_query_info_cb),
2048 (gtk_recent_manager_add_item): Use GIO to (asynchronously)
2049 query the MIME type of the passed URI (based on a patch by
2052 2008-04-11 Carlos Garnacho <carlos@imendio.com>
2054 * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
2055 page to visited page list instead of next current page. (#527466,
2056 patch by Marcus Brinkmann)
2058 2008-04-11 Tristan Van Berkom <tvb@gnome.org>
2060 * gtk/gtklabel.c: Added <attributes> / <attribute>
2061 custom tags to parse pango attributes into labels (#527486).
2063 * tests/buildertest.c: Added tests for GtkLabel custom
2066 2008-04-10 Carlos Garnacho <carlos@imendio.com>
2068 * gtk/gtknotebook.c (hide_drag_window): Do not call
2069 gtk_widget_set_parent_window(), using widget->window instead of NULL
2070 to unset is the wrong thing, and gtk_widget_unparent() will already
2071 take care of this (#467698, patch by Sébastien Granjoux)
2073 2008-04-08 Tor Lillqvist <tml@novell.com>
2075 * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
2076 these functions with G_MODULE_EXPORT.
2078 2008-04-08 Tomas Bzatek <tbzatek@redhat.com>
2080 * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
2081 (gtk_file_system_volume_render_icon):
2082 Fix fallback icon rendering size
2084 2008-04-08 Michael Natterer <mitch@imendio.com>
2086 * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
2087 touchscreen-mode keynav corner case: when navigating to the parent
2088 menu, make sure we don't close two menus at the same time in case
2089 the deepest open menu has no selectable items.
2091 2008-04-06 Tristan Van Berkom <tvb@gnome.org>
2093 * gtk/gtkwidget.c: Clarified a g_warning message regarding
2094 parsing accelerators from builder files.
2096 2008-04-03 Cody Russell <bratsche@gnome.org>
2098 * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
2099 of the block. (#526021, reported by Kazuki IWAMOTO)
2101 2008-04-03 Tor Lillqvist <tml@novell.com>
2103 Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
2106 * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
2107 workaround for a specific kind of screwed up locale setting.
2109 2008-04-02 Matthias Clasen <mclasen@redhat.com>
2111 * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign
2112 colormaps. Found by Daniel Berrange.
2114 2008-04-02 Björn Lindqvist <bjourne@gmail.com>
2116 * tests/autotestfilechooser.c: Cover
2117 GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
2118 name. (#346058, Joe Halliwell)
2120 2008-04-02 Federico Mena Quintero <federico@novell.com>
2122 Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file
2123 chooser incorrectly substitutes and expands a ~ when you type it
2124 in the filename entry.
2126 * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty
2127 basenames result in a slash-terminated pathname.
2128 gtk_file_system_unix_parse() is correct, but it was splitting
2129 "/home/username" into path="/home" and file_part="username", which
2130 is not what the caller wants when the entry has just "~" or
2133 2008-04-02 Tor Lillqvist <tml@novell.com>
2135 * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
2136 and gtksearchenginetracker.c on Windows.
2138 * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
2141 2008-04-01 Cody Russell <bratsche@gnome.org>
2143 * configure.in: Bump required Cairo to 1.5.2.
2145 * gtk/gtkprintoperation-win32.c: Add support for using the new
2146 cairo_win32_printing_surface for printing. Also fixed to use
2147 cairo_surface_show_page(). (#488833 and #521178)
2149 2008-03-31 Cody Russell <bratsche@gnome.org>
2151 * demos/gtk-demo/printing.c (draw_page): Move down each line in
2152 units of text_height rather than in units of data->font_size.
2153 (totally awesome catch by Dom Lachowicz)
2155 2008-03-28 Richard Hult <richard@imendio.com>
2157 * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
2158 (_gdk_quartz_events_trigger_crossing_events): Defer the generated
2159 event to the mainloop and don't generate one at all if the
2160 toplevel didn't change. Use the actual window and not the toplevel
2161 as event window. These changes make the generated crossing events
2162 match the X11 behavior and fixes issues with e.g. tooltips,
2163 comboboxes and menus.
2165 * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
2166 the view has no window, it will be updated as soon as it's put
2169 * gdk/quartz/gdkwindow-quartz.c:
2170 (_gdk_quartz_window_debug_highlight): Make it possible to track
2171 multiple windows with debug highlighting.
2172 (show_window_internal): Remove workaround for tooltips and popups
2173 that is no longer needed with the above changes.
2175 2008-03-26 Federico Mena Quintero <federico@novell.com>
2177 * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
2178 helper function; factored out from the functions that commit the
2179 current suggested autocompletion and that refresh the entry's paths.
2180 (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
2181 (_gtk_file_chooser_entry_get_file_part): Likewise.
2182 (_gtk_file_chooser_entry_get_current_folder): Likewise. This
2183 makes the entry have the correct paths when *not* using any form
2184 of completion (and makes the file chooser work when clicking the
2187 2008-03-25 Richard Hult <richard@imendio.com>
2189 * gdk/quartz/gdkevents-quartz.c:
2190 (_gdk_quartz_events_trigger_crossing_events): Bail out early if we
2191 can't find a matching window.
2193 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
2194 comment, and only trigger an event for non-temp windows, fixes
2195 problems for tooltips caused by the workarounds for the
2196 problematic tracking rect API.
2198 2008-03-25 Richard Hult <richard@imendio.com>
2200 * gdk/quartz/gdkwindow-quartz.c:
2201 (gdk_window_quartz_process_all_updates): Plug a leak and add a
2202 check that we have a toplevel before accessing it.
2204 2008-03-24 Tor Lillqvist <tml@novell.com>
2206 Bug 524151 - Dragging of 0-byte files results in an empty filename
2207 on Windows XP and above
2209 * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
2210 being empty first. For some reason ISHellLink and IPersistFile
2211 succeeds in interpreting empty files as shortcuts, claiming the
2212 target of the shortcut is an empty path.
2214 Change the function to take the wide character file name that the
2215 caller already has anyway, to avoid a superfluous conversion from
2218 2008-03-23 Björn Lindqvist <bjourne@gmail.com>
2220 * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
2221 against NULL pointer. (#467051, Gian Mario Tagliaretti)
2223 2008-03-23 Cody Russell <bratsche@gnome.org>
2225 * gdk/win32/gdkevents-win32.c (show_window_recurse):
2226 Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
2227 ShowWindow (SW_RESTORE). This fixes a problem where tearing off
2228 menus from a maximized window would force the window to restore
2231 2008-03-23 Johan Dahlin <johan@gnome.org>
2233 * gtk/gtk-builder-convert:
2234 Properly convert GtkImageMenuItems which use stock labels but don't
2236 (#523932, Brian Pepple)
2238 2008-03-22 Matthew Barnes <mbarnes@redhat.com>
2240 * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
2241 New function implements GtkCellLayoutClass::get_cells. (#523787)
2243 2008-03-22 Tor Lillqvist <tml@novell.com>
2245 Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
2247 * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
2248 GDK_THREADS_LEAVE() call. Approved by mclasen.
2250 2008-03-22 Björn Lindqvist <bjourne@gmail.com>
2252 * gtk/gtkexpander.c (gtk_expander_get_label):
2253 gtk_label_get_label() should be used instead of
2254 gtk_label_get_text(). (#353088, Xan Lopez)
2256 2008-03-21 Tor Lillqvist <tml@novell.com>
2258 Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
2259 Lachowicz and Alberto Ruiz into the GTK+ tree, from the
2260 gdip-pixbuf-loader module.
2262 * configure.in: Add switch --disable-gdiplus-loaders that disables
2263 building of the GDI+ loaders.
2265 When including loaders in the gdk-pixbuf library, and building
2266 GDI+ loaders, either build in all the GDI+ loaders or none of
2267 them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to
2268 signal building them in.
2270 Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
2271 whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
2272 indicate whether they should be built-in.
2274 For the rest of the changes, see gdk-pixbuf/ChangeLog.
2276 2008-03-20 Tor Lillqvist <tml@novell.com>
2278 * gtk/Makefile.am: Revert accidental change that went in as part
2279 of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
2280 Darwin. On Windows one has to use a newer GNU grep that has -o,
2281 for instance the one from gnuwin32, instead of the oldish one in
2282 MSYS that doesn't have -o.
2284 2008-03-20 Tor Lillqvist <tml@novell.com>
2286 * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
2287 pass NULL for %s to g_message().
2288 (main): Drop unnecessary call to gtk_widget_destroy().
2290 2008-03-20 Tor Lillqvist <tml@novell.com>
2292 Bug 314084 - GTK+ dialogs should not be placed partially offscreen
2294 * gtk/gtkwindow.c (clamp): New function. Clamps a window position
2295 in one dimension, or centered in case it doesn't fit.
2296 (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
2299 2008-03-18 Tor Lillqvist <tml@novell.com>
2301 Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
2303 * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
2304 G_MODULE_ENTRY decoration can be put in a more correct place.
2306 2008-03-18 Sven Neumann <sven@gimp.org>
2308 * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
2309 alternative button order on the password dialog.
2311 2008-03-18 Tor Lillqvist <tml@novell.com>
2313 Bug 99192 - Add --with-include-input-modules
2315 * configure.in: Add --with-included-immodules switch. Handled in a
2316 similar way as the --with-included-loaders switch. For each input
2317 method module foo: Collect the list of input modules to be built
2318 into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
2319 -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
2320 Define Automake conditionals INCLUDE_IM_FOO.
2322 * modules/input/Makefile.am: For modules to be included in libgtk,
2323 build a static library.
2325 * modules/input/im*.c: Use MODULE_ENTRY macros much like in
2326 gdk-pixbuf to get unique names for the functions called by libgtk
2327 in the included case. Use G_MODULE_EXPORT in the non-included case
2328 so that we don't unnecessarily export unneeded random global
2331 * gtk/Makefile.am: Build the included modules and link them into libgtk.
2333 * gtk/gtkimmodule.c: Handle the built-in modules. Remove
2334 copy/paste leftover mentions of "themes" in comments.
2336 2008-03-18 Tor Lillqvist <tml@novell.com>
2338 * tests/Makefile.am: Build testmountoperation only on Unix for now.
2340 2008-03-17 Christian Kellner <gicmo@gnome.org>
2342 Implement GtkMountOperation, a subclass of GMountOperation
2343 to be used with gio wherever there is the need to ask the
2344 user for credentials or questions while mounting a volume.
2347 * gtk/gtkmountoperation.c:
2348 * gtk/gtkmountoperation.h:
2349 Implement GtkMountOperation.
2351 * gtk/gtk.h: Add gtkmountoperation.h
2352 * gtk/Makefile.am: Add gtkmountoperation.[hc]
2353 * gtk/gtk.symbols: Add symbols of GtkMountOperation.
2354 * tests/testmountoperation.c: Test program for it.
2355 * tests/Makefile.am: Add testmountoperation.
2357 2008-03-17 Emmanuele Bassi <ebassi@gnome.org>
2359 * gtk/gtkcontainer.c: Properly document
2360 gtk_container_set_focus_child(). (#521739, Andrew Cowie)
2362 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
2364 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
2365 style names for the ComboBox thickness style
2367 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
2369 * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
2370 * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
2371 (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
2372 intelligent separation for the xp theming engine and the classic
2373 theme while drawing the GtkComboBox button. combobox_draw_arrow
2374 is not used anymore, commented. The style has been updated to fix
2375 border/thickness glitches in the combobox according to the fixes
2376 commited regarding bug #521442. (bug #461805)
2378 2008-03-16 Alberto Ruiz <aruiz@gnome.org>
2380 * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
2381 now aware of both the combobox and frame (if has-frame is set)
2382 thickness and border. (bug #521442)
2384 2008-03-15 Andre Klapper <a9016009@gmx.de>
2386 * configure.in: Added "si" to ALL_LINGUAS.
2388 2008-03-15 Matthias Clasen <mclasen@redhat.com>
2390 * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
2391 Set window type hint on the search popup. (#522279, Danny Baumann)
2393 2008-03-15 Matthias Clasen <mclasen@redhat.com>
2395 * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
2396 appropriate. (#521934, Huang Peng)
2398 2008-03-14 Michael Natterer <mitch@imendio.com>
2401 * gtk/gtkbuilderprivate.h
2402 * gtk/gtkfilechoosersettings.c
2403 * gtk/gtksearchenginesimple.c
2404 * gtk/tests/liststore.c
2405 * gtk/tests/treestore.c: remove single-file includes of GLib
2406 headers or replace them by <glib.h> where needed.
2408 2008-03-14 Michael Natterer <mitch@imendio.com>
2410 * gtk/gtkadjustment.c: coding style cleanup.
2412 (gtk_adjustment_set_property): no need to call g_object_notify()
2413 on the set properties.
2415 Implement GObject::dispatch_properties_changed() and make sure we
2416 emit "changed" when anything but the "value" property changes.
2418 2008-03-14 Tor Lillqvist <tml@novell.com>
2420 * gdk/win32/gdkevents-win32.c: Drop the support for the
2421 MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
2422 Win95. Thanks to mitch for noticing this obsolete code.
2424 2008-03-14 Cody Russell <bratsche@gnome.org>
2426 * examples/scribble-xinput/scribble-xinput.c: Changed
2427 'void int main()' to 'int main()'. (#522211, Liqing Huang)
2429 2008-03-14 Richard Hult <richard@imendio.com>
2431 * gdk/quartz/gdkwindow-quartz.c:
2432 (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
2433 only flush the toplevel once per update.
2435 2008-03-13 Federico Mena Quintero <federico@novell.com>
2437 * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
2438 Set the mouse cursor of the feedback window to invisible, so that
2439 we respect GtkEntry's invisible cursor while typing.
2441 2008-03-13 Federico Mena Quintero <federico@novell.com>
2443 * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
2444 the feedback window at entry_height/2 pixels to the right of the
2445 cursor, for a cheap "M-width / 2" spacing.
2447 2008-03-13 Sven Neumann <sven@gimp.org>
2449 * gtk/gtkfilechooserdefault.c
2450 * gtk/gtkprintunixdialog.c: set alternative button order for
2451 overwrite confirmation dialogs (bug #522191).
2453 2008-03-13 Sven Neumann <sven@gimp.org>
2455 * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
2456 (overwrite_confirmation_dialog): added some line-breaks for
2459 2008-03-12 Federico Mena Quintero <federico@novell.com>
2461 Rework the way completion works in GtkFileChooserEntry. Fixes
2462 http://bugzilla.gnome.org/attachment.cgi?bugid=314873 -
2463 Tab completion should work even if the cursor is not at the end of
2466 * gtk/gtkfilechooserentry.c: Change the strategy by which we do
2469 We distinguish between two cases:
2471 - autocompletion - happens only in the Open modes by
2472 inserting and selecting the common prefix as you type.
2474 - explicit completion - happens when you hit Tab.
2476 When some type of completion needs to happen, the entry first
2477 parses its input and sees if it needs to initiate a folder load.
2478 Completion will not happen until the folder finishes loading.
2480 If the folder is already completely loaded, then completion is
2481 performed immediately. Otherwise, the entry queues a pending
2482 completion and starts loading the new folder (or waits until the
2483 current folder is completely loaded).
2485 Tab completion is allowed to happen even if the cursor is not at
2486 the end of the entry.
2488 There is a new feedback mechanism for explicit completion, so that
2489 you will get an Emacs-like tip whenever there are ambiguities in
2490 completion, no matches, etc. (This needs to be polished so that
2491 we support RTL entries and all the fancy Pango layout in GtkEntry).
2493 The only remaining thing to fix is the popup suggestion window.
2494 Unfortunately, GtkEntryCompletion does not let us do what we want,
2495 and will need further changes.
2497 2008-03-12 Tor Lillqvist <tml@novell.com>
2499 Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
2501 * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
2502 for the TaskbarCreated message in the window procedure for the
2503 dummy "tray observer" window we create. When we get a
2504 TaskbarCreated message, iterate over the status icons and re-add
2505 them to the task bar, and update them by calling
2506 gtk_status_icon_update_image().
2508 Move some ifdefs around to avoid unused functions.
2510 2008-03-12 Tor Lillqvist <tml@novell.com>
2512 * config.h.win32.in: Update to match what configure produces.
2514 2008-03-12 Jens Granseuer <jensgr@gmx.net>
2516 * modules/printbackends/cups/gtkprintbackendcups.c:
2517 (cups_printer_prepare_for_print): Don't define variables in the
2518 middle of a block. (#522067)
2520 2008-03-12 Matthias Clasen <mclasen@redhat.com>
2522 * gtk/gtkprintunixdialog.c: Add an overwrite confirmation
2523 dialog for print-to-file. (#474302, Marek Kašík)
2525 2008-03-12 Matthias Clasen <mclasen@redhat.com>
2527 * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
2528 (#469210, Wouter Bolsterlee)
2530 2008-03-12 Matthias Clasen <mclasen@redhat.com>
2532 * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
2533 paper_size here. (#488820, Morten Welinder)
2535 2008-03-12 Michael Natterer <mitch@imendio.com>
2537 * acconfig.h: remove this deprecated file.
2539 * configure.in: added comments to all instances of AC_DEFINE() so
2540 config.h can be completely generated from configure.in.
2542 2008-03-12 Michael Natterer <mitch@imendio.com>
2544 * modules/printbackends/cups/gtkprintbackendcups.c: include
2545 <glib/gstdio.h> for g_fopen().
2547 2008-03-11 Matthias Clasen <mclasen@redhat.com>
2549 * modules/printbackends/cups/gtkprintbackendcups.c: Use
2550 g_ascii_formatd when formatting custom paper sizes, since
2551 cups doesn't handle , as decimal separator. (#521548)
2553 2008-03-11 Tor Lillqvist <tml@novell.com>
2555 Bug 469868 - Filenames with colon ":" are not saved correctly
2557 * gtk/gtkfilechooserentry.c (insert_text_callback)
2558 (delete_text_callback) [Win32]: New functions to make sure that
2559 colons used otherwise than as a separator after a drive letter, or
2560 characters that are always illegal in file names, are rejected on
2561 input. This means that the GTK+ file chooser can't be used to
2562 input full names of alternate data streams, but oh well. There are
2563 still more checks that could be done on the file names, see the
2564 bug report. But this will do for now.
2565 (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
2567 2008-03-11 Jordi Mallach <jordi@sindominio.net>
2569 * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
2571 2008-03-11 Michael Natterer <mitch@imendio.com>
2573 * gdk/linux-fb/*: removed linux-fb backend files.
2577 * docs/README.linux-fb
2578 * gtk/Makefile.am: remove remaining traces of linux-fb.
2580 * gtk/gtkwindow-decorate.c: same here. There is some code that
2581 calls into linux-fb to set window move/resize callbacks. I put it
2582 in #if 0 as a reminder because we did use decorated windows with
2583 the DirectFB backend and it did work, so I don't really know why
2584 this code is needed or how it could work with DirectFB back then.
2585 The file does actually compile now if DECORATE_WINDOWS is defined,
2586 but I didn't test with DirectFB to check if it does anything.
2588 2008-03-11 Alberto Ruiz <aruiz@gnome.org>
2590 * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
2591 Take thickness into account in the size allocation of the child widgets in
2595 2008-03-11 Richard Hult <richard@imendio.com>
2597 * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
2599 2008-03-10 Tor Lillqvist <tml@novell.com>
2601 * tests/teststatusicon.c (do_exit, popup_menu): Add the
2602 possibility to test what happens if the process just calls exit()
2603 without any orderly cleanup of GTK+.
2605 2008-03-10 Tor Lillqvist <tml@novell.com>
2607 * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
2609 2008-03-10 Tor Lillqvist <tml@novell.com>
2611 Bug 520286 - Non-deletable window has no minimize / maximize buttons
2613 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
2614 New debugging output function that decodes a set of WS_* bits.
2616 * gdk/win32/gdkprivate-win32.h: Declare it.
2618 * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
2619 New function that enables or disables one menu entry in the system
2620 menu of a top-level window. (The corresponding decoration will
2621 then also be enabled or disabled (grayed).)
2623 (update_style_bits): Do as the comment says and don't try to
2624 update the window style based on the GdkWMFunctions set for the
2627 (update_system_menu): New function that enables or disables the
2628 system menu entries based on a window's stored set of
2631 (gdk_window_set_functions): Call update_system_menu() instead of
2632 update_style_bits().
2634 2008-03-10 Emmanuele Bassi <ebassi@gnome.org>
2636 * README.in: Reword the 2.14 release notes entry about the
2637 deprecation of the gtkitemfactory.h header, and fix typos
2640 2008-03-08 Alberto Ruiz <aruiz@gnome.org>
2642 * modules/engines/ms-windows/msw_style.c (draw_shadow):
2643 Do not draw frame if parent if combobox.
2645 Uses scrollbar width system metrics for combobox button.
2646 Fixes #461805 for XP theme engine.
2648 2008-03-07 Johan Dahlin <johan@gnome.org>
2651 * gtk/gtkbuilderparser.c:
2652 * gtk/gtkbuilderprivate.h:
2653 * gtk/gtkiconfactory.c:
2654 * tests/buildertest.c:
2655 - Treat enums like enums and not values
2656 - Avoid invalid free, in case of more than two sources
2657 - Add better error messages
2658 - Add much improved tests
2659 (#520979, Christian Persch)
2661 2008-03-07 Carlos Garnacho <carlos@imendio.com>
2663 * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
2666 2008-03-06 Federico Mena Quintero <federico@novell.com>
2668 Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
2669 GtkFileChooserDialog should set a default response button if the
2670 app doesn't set it. Based on a patch by Chris Wang <chris.wang@sun.com>.
2672 * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
2673 function, refactor from where there was duplicated code.
2674 (gtk_file_chooser_dialog_map): Look at the buttons in our
2675 action_area. If the response ID for a button is one of the stock
2676 ones, make it the default response button.
2678 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
2680 * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
2682 * gtk/gtkbuilderprivate.h:
2683 * gtk/gtkiconfactory.c:
2684 * tests/buildertest.c:
2685 Implement GtkBuildable on GtkIconFactory, to make
2686 it possible to register custom stock icons.
2689 2008-03-06 Johan Dahlin <johan@gnome.org>
2693 * gtk/gtkstyle.c: npoints->n_points.
2694 * gtk/gtktestutils.h: widget->spinner
2695 * gtk/gtktestutils.c: argc->argcp, argv->argvp
2697 2008-03-06 William Lachance <wrlach@gmail.com>
2699 * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M"
2700 string localizable (as it should be).
2702 2008-03-06 William Lachance <wrlach@gmail.com>
2704 * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
2705 the time for today's date. It's redudant. (see bug #410517).
2707 2008-03-06 Xan Lopez <xan@gnome.org>
2709 * gtk/gtkfixed.c: fix typo in documentation.
2711 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
2713 * gtk/gtkitemfactory.h:
2714 * gtk/gtktypeutils.h:
2715 Move GtkTranslateFunc to gtktypeutils.h so we can completely
2716 deprecate gtkitemfactory.h.
2718 * gtk/gtkactiongroup.h:
2720 Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
2723 Add a note describing this slight incompatible change
2725 2008-03-06 Johan Dahlin <johan@gnome.org>
2727 * gtk/gtkpreview.h: Avoid double-deprecation.
2729 2008-03-06 Michael Natterer <mitch@imendio.com>
2732 * gtk/Makefile.am: move the remaining deprecated widgets to the
2733 separate sections and replaced spaces by tabs in Makefile.am
2735 2008-03-05 Johan Dahlin <johan@gnome.org>
2737 * configure.in: Add --disable-cups option.
2738 (#513826, Alberto Ruiz)
2742 Separate broken and deprecated sources and headers into different sections
2744 * tests/buildertest.c (test_list_store): Restore accidentally broken test.
2746 2008-03-05 Kristian Rietveld <kris@imendio.com>
2748 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
2749 short-circuit in case an empty root level would be build (and thus
2750 directly destroyed) if no virtual root has been set.
2752 2008-03-04 Matthias Clasen <mclasen@redhat.com>
2754 * modules/printbackends/cups/gtkprintbackendcups.c:
2755 Honor cups user default options from ~/.cups/lpoptions
2756 (#469210, Stijn Hoop)
2758 2008-03-04 Michael Natterer <mitch@imendio.com>
2761 * gtk/gtkcolorbutton.c
2762 * gtk/gtkentrycompletion.c
2763 * gtk/gtkfontbutton.c
2767 * gtk/gtkpreview.c: don't include "gtksignal.h".
2769 * gtk/gtkfilefilter.c
2770 * gtk/gtkrecentchoosermenu.c
2771 * gtk/gtkrecentfilter.c
2772 * gtk/gtktext.c: don't include "gtkobject.h".
2774 2008-03-04 Simos Xenitellis <simos@gnome.org>
2776 Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
2777 - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
2779 * gdk/gdkkeysyms.h: Updated file from upstream (using script from
2782 * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New
2783 file, contains compose sequences that used to exist in
2784 gtk/gtkimcontextsimple.c
2786 * gtk/compose-parse.py: Script to generate compose
2787 sequences from upstream (Xorg).
2789 * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table,
2790 check_algorithmically): New functions. First two search in
2791 gtk_compose_seqs_compact[] for matching compose sequence, third
2792 tries NFC normalisation on incoming compose sequence.
2793 (gtk_im_context_simple_filter_keypress):
2794 Adds searching with check_compact_table(), check_algorithmically().
2796 2008-03-03 Carlos Garnacho <carlos@imendio.com>
2798 Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
2799 scrollwheel work in GtkPathBar.
2801 * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
2803 * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
2804 an input-only window, event_window, which we'll use to capture
2806 (gtk_path_bar_map): Show the event_window under the rest of the
2807 windows, so it will be a catch-all for unhandled events.
2809 2008-03-03 Sven Neumann <sven@gimp.org>
2811 * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
2812 typo in the documentation of the GtkFileChooserButtons::file-set
2813 signal (see bug #353196).
2815 2008-03-03 Tor Lillqvist <tml@novell.com>
2817 * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
2820 2008-03-02 Johan Dahlin <johan@gnome.org>
2822 * gtk/gtkiconview.c (gtk_icon_view_paint_item):
2823 Remove left-over focus_pad variable.
2824 (#490892, Claudio Saavedra)
2826 * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
2827 (#518166, Matt Kraai)
2829 2008-03-02 Johan Dahlin <johan@gnome.org>
2831 * docs/tutorial/gtk-tut.sgml: Add a missing space
2832 (#517954, Matt Kraai)
2834 2008-03-03 Tor Lillqvist <tml@novell.com>
2836 * modules/engines/ms-windows/msw_style.c (draw_box): Check that
2837 the widget is a GtkButton before casting.
2839 2008-03-02 Johan Dahlin <johan@gnome.org>
2841 * configure.in: Compare using = instead of ==, which is portable.
2842 (#490787, Thomas Klausner)
2844 2008-03-02 Johan Dahlin <johan@gnome.org>
2846 * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
2847 fixes non-C++ build.
2848 (#496032, Nelson Benitez)
2850 2008-02-29 Johan Dahlin <johan@gnome.org>
2852 * demos/gtk-demo/demo.ui:
2853 * gtk/gtkbuilderparser.c:
2854 * gtk/gtkbuilderprivate.h:
2855 * gtk/gtkliststore.c:
2856 * tests/buildertest.c:
2857 Add translatable/context and comment attributes on
2858 <col> tags under a GtkListStore. Refactor parts of the
2859 translation api and make it available inside gtk+ itself.
2860 Update tests and example.
2861 Fixes a part of #518642
2863 2008-02-29 Johan Dahlin <johan@gnome.org>
2866 Add missing g_return_val_if_fail checks for public API.
2868 * gtk/gtkbuilderparser.c:
2869 * gtk/gtkbuilderprivate.h:
2870 Do not use g_error for a few more errors, instead set
2871 the GError sent in through add_from_file/add_from_string.
2872 * tests/buildertest.c:
2873 Add a couple of new parsing tests.
2874 (#519199, Pavel Syomin)
2876 2008-02-29 Federico Mena Quintero <federico@novell.com>
2878 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
2879 refreshing an existing folder (i.e. when we are about to reload
2880 its file list), turn off the folder's is_finished_loading flag.
2881 Otherwise callers which do ::is_finished_loading() followed by
2882 ::list_children() will get nothing.
2884 2008-02-29 Cody Russell <bratsche@gnome.org>
2886 * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
2887 say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
2889 2008-02-28 Matthias Clasen <mclasen@redhat.com>
2891 * gtk/gtkcalendar.h: Remove trailing comma from enum to
2892 make the compiler happy. (#517295, Sylvain Pasche)
2894 2008-02-27 Michael Natterer <mitch@imendio.com>
2896 * gtk/gtkmenushell.c
2899 * gtk/gtktipsquery.c
2904 * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
2905 private functions and virtual function implementations.
2907 2008-02-27 Richard Hult <richard@imendio.com>
2909 * gdk/quartz/GdkQuartzView.c:
2910 * gdk/quartz/GdkQuartzView.h:
2911 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
2912 Fix performance regression for borderless transparent windows
2915 2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
2917 * tests/testgtk.c: Revert back to r19454.
2919 2008-02-27 Sven Neumann <sven@gimp.org>
2921 * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
2922 Quartz backend, use a native Mac OS X application for the print
2923 preview (bug #518624).
2925 2008-02-26 Michael Natterer <mitch@imendio.com>
2927 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
2928 the members of info->tag_stack since they are a) gobjects and b)
2929 not even owned by us, ugh... Fixes crash when deserializing fails.
2931 2008-02-26 Sven Neumann <sven@gimp.org>
2933 * docs/tools/shooter.c (find_toplevel_window)
2934 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
2935 argument passed to XQueryTree().
2937 2008-02-25 Matthias Clasen <mclasen@redhat.com>
2939 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
2940 don't use beagle_query_add_hit_type.
2942 2008-02-25 Richard Hult <richard@imendio.com>
2944 * gdk/quartz/gdkevents-quartz.c
2945 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
2947 2008-02-24 Richard Hult <richard@imendio.com>
2949 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
2950 shown without gdk's control when clicking the dock icon.
2952 2008-02-24 Richard Hult <richard@imendio.com>
2954 * gdk/quartz/gdkprivate-quartz.h:
2955 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
2956 Use the subtype field for the custom event that is used to wake up
2957 the mainloop so we can have other custom event types.
2959 * gdk/quartz/gdkevents-quartz.c:
2960 (_gdk_quartz_events_trigger_crossing_events):
2961 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
2962 crossing events after showing a window if necessary, to work
2963 around problems with the tracking rect API.
2965 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
2967 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
2968 wrong results on win32 because it doesn't set the printing units,
2969 which affect the transformation of the cairo context
2970 (#347125, Erik van Pienbroek)
2972 2008-02-22 Tor Lillqvist <tml@novell.com>
2974 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
2976 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
2978 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
2979 acceptable for a module to only support the save_to_callback()
2980 method if it marks itself as WRITABLE
2982 2008-02-16 Matthias Clasen <mclasen@redhat.com>
2984 * configure.in: Bump version
2986 2008-02-16 Matthias Clasen <mclasen@redhat.com>
2988 * === Released 2.13.0 ===
2990 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
2992 2008-02-21 Tor Lillqvist <tml@novell.com>
2994 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
2995 pass the format string to strftime in the C library's locale's
2996 charset, not the system's. Correspondingly, the return value from
2997 strftime() is in the C library's locale's charset. (#509885)
2999 2008-02-20 Richard Hult <richard@imendio.com>
3001 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
3002 the right window level and shadow after recreating the window.
3004 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
3005 necessary after drawing (bug #517338).
3007 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
3009 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
3010 call to g_type_class_unref in case of error. (#517563)
3012 2008-02-18 Sven Neumann <sven@gimp.org>
3014 * gtk/Makefile.am (STOCK_ICONS)
3015 * gtk/stock-icons/16/gtk-page-setup.png
3016 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
3017 taken from GNOME icon theme.
3019 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
3021 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
3023 * configure.in: Added Kannada (kn) to ALL_LINGUAS
3025 2008-02-17 Johan Dahlin <johan@gnome.org>
3027 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
3028 When converting a stock item based on the label, remove the label property.
3030 2008-02-17 Richard Hult <richard@imendio.com>
3032 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
3033 position after showing the window since the window manager might
3034 not place it where we requested in the first places.
3036 2008-02-17 Richard Hult <richard@imendio.com>
3038 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
3039 (_gdk_quartz_window_detach_from_parent),
3040 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
3041 the toplevel ordering list in all places where the order is
3042 potentially changed. Fixes mouse focus issues for windows with
3043 a transient parent set.
3045 2008-02-17 Richard Hult <richard@imendio.com>
3047 * gdk/quartz/gdkevents-quartz.c
3048 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
3049 window when event debugging is enabled.
3051 2008-02-16 Richard Hult <richard@imendio.com>
3053 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
3054 to the scroll event (bug #516757, Paul Davis).
3056 2008-02-16 Matthias Clasen <mclasen@redhat.com>
3060 2008-02-16 Matthias Clasen <mclasen@redhat.com>
3062 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
3065 2008-02-15 Matthias Clasen <mclasen@redhat.com>
3067 * gdk/Makefile.am: Don't install private headers. (#463510)
3069 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
3070 the installed header gdkprivate.h.
3072 2008-02-15 Matthias Clasen <mclasen@redhat.com>
3074 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
3075 a crash with hidden, reorderable tabs. (#513230,
3076 Mike Massonnet, patch by Carlos Garnacho)
3078 2008-02-15 Matthias Clasen <mclasen@redhat.com>
3080 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
3081 Warn on duplicate action group names. (#501746, Christian
3084 2008-02-15 Matthias Clasen <mclasen@redhat.com>
3087 * modules/other/gail/tests/Makefile.am:
3088 * modules/other/gail/libgail-util/Makefile.am:
3089 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
3090 builds. (#516254, Yevgen Muntyan)
3092 2008-02-15 Matthias Clasen <mclasen@redhat.com>
3097 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
3098 instead of hardcoded target tables. (#516092, Christian Persch)
3100 2008-02-15 Matthias Clasen <mclasen@redhat.com>
3102 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
3103 add the same target atom twice. (#516087, Christian Persch)
3105 2008-02-15 Matthias Clasen <mclasen@redhat.com>
3107 * tests/testfilechooser.c: Add a --backend option.
3108 (#516073, Christian Persch)
3110 2008-02-16 Richard Hult <richard@imendio.com>
3112 * gdk/quartz/gdkprivate-quartz.h:
3113 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
3116 2008-02-15 Matthias Clasen <mclasen@redhat.com>
3118 * configure.in: Go back to 2.13.0 as version for now,
3119 as there was no consensus to do the jump.
3121 * many other places: Update Since: tags.
3123 2008-02-15 Matthias Clasen <mclasen@redhat.com>
3125 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
3127 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
3129 2008-02-15 Richard Hult <richard@imendio.com>
3131 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
3132 instead of bounds when resizing windows.
3134 2008-02-15 Matthias Clasen <mclasen@redhat.com>
3136 * gdk/x11/gdkkeys-x11.c:
3137 * gdk/x11/gdkcolor-x11.c:
3138 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
3140 2008-02-15 Matthias Clasen <mclasen@redhat.com>
3142 * gdk/x11/gdktestutils-x11.c:
3143 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
3145 2008-02-15 Tor Lillqvist <tml@novell.com>
3147 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
3148 leak Registry key handles. (#516578)
3150 2008-02-14 Richard Hult <richard@imendio.com>
3152 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
3153 makeKeyWindow unfortunately doesn't work in all cases, we must use
3154 makeKeyAndOrderFront.
3156 2008-02-14 Richard Hult <richard@imendio.com>
3158 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
3159 (gdk_window_hide), (gdk_window_fullscreen),
3160 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
3161 the window is hidden.
3163 2008-02-14 Richard Hult <richard@imendio.com>
3165 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
3166 resizing to be consistent and to avoid introducing an internal
3167 transform in the view.
3169 2008-02-14 Richard Hult <richard@imendio.com>
3171 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
3174 2008-02-14 Johan Dahlin <johan@gnome.org>
3176 * gdk/gdktestutils.h
3177 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
3179 2008-02-13 Richard Hult <richard@imendio.com>
3181 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
3182 Remove unused variables.
3183 (gtk_clipboard_set_contents),
3184 (gtk_clipboard_get_owner), (clipboard_unset),
3185 (gtk_clipboard_request_targets): Notify the previous clipboard
3186 owner when the owner changes. Fixes bug #493406.
3188 2008-02-13 Richard Hult <richard@imendio.com>
3190 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
3191 the return value (return number of colors that failed), and handle
3193 (gdk_colormap_free_colors): Fix typo in comment.
3195 2008-02-13 Kristian Rietveld <kris@imendio.com>
3197 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
3198 queue a redraw if the rubber banding has actually been active.
3200 2008-02-12 Matthias Clasen <mclasne@redhat.com>
3202 * gtk/gtkpapersize.c:
3203 * gtk/gtkprintoperation.c:
3204 * gtk/gtkvolumebutton.c:
3205 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
3206 out by Behdad Esfahbod.
3208 2008-02-12 Federico Mena Quintero <federico@novell.com>
3210 Merged from gtk-2-12:
3212 Don't focus the file list when shortcuts get activated. This
3213 removes a lot of ambiguity in when the file selection should
3214 change, and makes the overall code flow simpler.
3216 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
3217 file/save dialog clears the filename entry when changing
3220 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
3221 focus should not go to the file list when a shortcut is activated.
3223 * gtk/gtkfilechooserdefault.c
3224 (shortcuts_activate_volume_mount_cb): Don't focus the file list
3225 (shortcuts_activate_get_info_cb): Likewise.
3227 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
3228 the file list (this was the last place where we would focus the
3229 file list explicitly). If you are in the location entry, for
3230 example, you don't want Alt-Home to take you to the file list; you
3231 just want the current folder to change. Thanks to Olle Bergkvist
3232 <olle.bergkvist@yahoo.se> for pointing this out in
3233 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
3234 (focus_browse_tree_view_if_possible): Removed.
3236 2008-02-12 Matthias Clasen <mclasen@redhat.com>
3238 Skip exensions when selecting filenames in the save-as dialog.
3239 (#362516, Carlos Garnacho)
3241 * gtk/gtkfilechooserentry.h:
3242 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
3243 New function to skip the extension part when selecting a filename.
3244 (_gtk_file_chooser_entry_set_base_folder): Use it here.
3246 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
3249 2008-02-12 Matthias Clasen <mclasen@redhat.com>
3251 * gtk/gtkiconview.c: Fix state change reporting for
3252 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
3254 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
3256 * gtk/gtkrecentchooser.c:
3257 (gtk_recent_chooser_class_init): Set the default value of the
3258 :show-not-found property to TRUE, as every implementation sets
3261 * gtk/gtkrecentchooserdefault.c:
3262 (_gtk_recent_chooser_default_init): Sync show_tips to the
3263 default value of the :show-tips property.
3265 2008-02-12 Matthias Clasen <mclasen@redhat.com>
3267 * gtk/gtkclipboard-quartz.c:
3269 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
3272 2008-02-12 Kristian Rietveld <kris@imendio.com>
3274 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
3275 (gtk_tree_view_real_toggle_cursor_row): guard against people
3276 deleting the row in question in the selection-changed callback.
3277 (#514621, Andreas Koehler).
3279 2008-02-12 Matthias Clasen <mclasen@redhat.com>
3281 * gtk/*.c: Unify the handling of various "Enter" keysyms
3282 all over the place. (#515047, Christian Persch)
3284 2008-02-12 Matthias Clasen <mclasen@redhat.com>
3286 * gtk/gtkfilesystemmodel.c:
3288 * gtk/gtkwidget.c: Use g_value_set_static_string() where
3289 appropriate. (#515042, Christian Persch)
3291 2008-02-12 Matthias Clasen <mclasen@redhat.com>
3293 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
3295 2008-02-12 Matthias Clasen <mclasen@redhat.com>
3297 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
3299 2008-02-12 Matthias Clasen <mclasen@redhat.com>
3301 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
3302 (recent_model_sort_drag_data_get):
3303 (search_model_sort_drag_data_get):
3304 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
3305 * gtk/gtkpathbar.c (button_drag_data_get_cb):
3306 Use gtk_selection_data_set_uris() instead of doing it
3307 by hand. (#514890, Christian Persch)
3309 2008-02-12 Michael Natterer <mitch@imendio.com>
3311 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
3312 gtk_get_current_event_time().
3314 2008-02-12 Michael Natterer <mitch@imendio.com>
3316 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
3317 gtk_window_get_key_hash() to get the hash instead of manually
3318 fiddling with quarks and gtk_window_keys_changed(). Also add
3319 g_return_if_fail() to this public function.
3321 2008-02-11 Matthias Clasen <mclasen@redhat.com>
3323 Support keynav in status icons. (#473786, Li Yuan)
3325 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
3327 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
3329 2008-02-11 Kristian Rietveld <kris@imendio.com>
3331 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
3332 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
3333 wrt. link deletion from list; contination of fix for #503569.
3335 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
3337 * gtk/gtkrecentchoosermenu.c:
3338 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
3339 on the placeholder menu item.
3341 * tests/testrecentchoosermenu.c:
3342 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
3343 whether the placeholder menu item gets shown.
3345 2008-02-10 Cody Russell <bratsche@gnome.org>
3347 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
3348 Check the return value of _gtk_file_chooser_get_file_system () for
3349 NULL before passing it to gtk_file_system_path_to_uri ().
3350 (#515667, Francesco Montorsi)
3352 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
3354 * gtk/gtkbuilder.c: Improve the documentation for
3355 gtk_builder_connect_signals. (#514471)
3357 2008-02-10 Matthias Clasen <mclasen@redhat.com>
3359 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
3362 2008-02-08 Cody Russell <bratsche@gnome.org>
3364 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
3365 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
3367 2008-02-08 Richard Hult <richard@imendio.com>
3369 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
3370 delta from the NSEvent for now, generating multiple scroll events
3371 results in a lot of events getting queued up and things get really
3374 2008-02-08 Sven Herzberg <sven@imendio.com>
3376 Adjust the code to match the documentation, examples, "common sense"
3377 and existing applications.
3379 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
3380 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
3383 2008-02-07 Cody Russell <bratsche@gnome.org>
3385 * gdk/win32/gdkevents-win32.c
3386 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
3387 of a block that were causing compile problems on old
3388 compilers. (#515053, reported by Kazuki IWAMOTO)
3390 2008-02-07 Michael Natterer <mitch@imendio.com>
3397 * gtk/gtkmenushell.c
3399 * gtk/gtkoptionmenu.c
3403 * gtk/gtkradiomenuitem.c
3405 * gtk/gtkscrolledwindow.c
3406 * gtk/gtksocket.c: remove g_return_if_fail() from private
3407 functions and virtual function implementations.
3409 2008-02-07 Michael Natterer <mitch@imendio.com>
3412 * gtk/gtkassistant.c
3416 * gtk/gtkcellrenderercombo.c
3419 * gtk/gtkdrawingarea.c
3420 * gtk/gtkentrycompletion.c
3426 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
3427 functions and virtual function implementations.
3429 2008-02-07 Christian Persch <chpe@gnome.org>
3431 * gdk/gdkpixbuf-render.c:
3432 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
3433 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
3434 otherwise there will be random pixel values in the semi-transparent
3435 area of the pixbuf within the mask. Bug #487865.
3437 2008-02-06 Cody Russell <bratsche@gnome.org>
3439 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
3440 otherwise things get wonky when you click on a menu. This fixes
3441 a regression caused in #505928. Thanks to Tor for spotting this
3444 2008-02-06 Michael Natterer <mitch@imendio.com>
3446 * gtk/gtkcontainer.c
3453 * gtk/gtkmenushell.c
3455 * gtk/gtkseparatortoolitem.c
3457 * gtk/gtktextlayout.c
3458 * gtk/gtktoggletoolbutton.c
3459 * gtk/gtktoolbutton.c
3462 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
3465 2008-02-05 Matthias Clasen <mclasen@redhat.com>
3467 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
3468 Allow to store half-open ranges.
3470 2008-02-05 Cody Russell <bratsche@gnome.org>
3472 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
3473 down the stack until we get to a window that is mapped.
3474 Otherwise hiding a window will cause all windows in the app
3475 to be blocked. (#514643)
3477 2008-02-05 Matthias Clasen <mclasen@redhat.com>
3479 * gtk/updateiconcache.c: Ignore images in the toplevel theme
3480 directory, avoiding one source of invalid caches that has been
3481 spotted in the wild.
3483 2008-02-05 Matthias Clasen <mclasen@redhat.com>
3485 * gtk/updateiconcache.c: Fix the previous commit to compile.
3487 2008-02-05 Matthias Clasen <mclasen@redhat.com>
3489 * gtk/updateiconcache.c: Install a printerr handler that
3490 prepends the program name, since gtk-update-icon-cache output
3491 often appears in the middle of other output, e.g. rpm update logs.
3493 2008-02-05 Cody Russell <bratsche@gnome.org>
3495 * gdk/win32/gdkprivate-win32.h
3496 * gdk/win32/gdkevents-win32.c
3497 * gdk/win32/gdkwindow-win32.c
3498 * gdk/win32/gdkwindow-win32.h
3499 * gdk/win32/gdkwin32.h:
3500 Modal window rework. (#455627 and #511111)
3502 2008-02-04 Michael Natterer <mitch@imendio.com>
3504 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
3505 g_return_if_fail() if the cell is not part of the combo instead of
3506 crashing in the next line.
3508 2008-02-01 Cody Russell <cody@jhu.edu>
3510 * modules/engines/ms-windows/xp_theme.[ch]
3511 * modules/engines/ms-windows/xp_theme_defs.h
3512 * modules/engines/ms-windows/msw_rc_style.c
3513 * modules/engines/ms-windows/msw_theme_main.c
3514 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
3515 attempted to stylize more like the rest of the gtk+ stack's code.
3517 2008-02-01 Michael Natterer <mitch@imendio.com>
3519 * tests/testgtk.c: initialize GdkColor structs to fix warning
3520 about uninitialized "pixel" member.
3522 * tests/testactions.c: connect the toolbar_style() callback so it
3523 does something useful and doesn't warn about being defined but not
3526 2008-01-31 Cody Russell <bratsche@gnome.org>
3528 * gdk/win32/gdkevents-win32.c:
3529 Refactored some of the window hiding/showing code from
3530 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
3531 under WM_ACTIVATE was causing the application to go into
3532 a weird state when the user right-clicked on the taskbar
3533 entry of a window that was minimized. (#505928)
3535 2008-01-31 Cody Russell <bratsche@gnome.org>
3537 * gtk/gtkpaned.c (gtk_paned_set_position):
3538 Change queue_resize() to queue_draw(), and add a check for
3539 child2 != NULL in case someone calls this before there is
3540 a child packed in there. (#144269 again)
3542 2008-01-31 Sven Neumann <sven@gimp.org>
3544 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
3545 applied patch from Denis Oliver Kropp <dok@directfb.org>.
3547 2008-01-31 Sven Neumann <sven@gimp.org>
3549 * gdk/directfb/gdkdisplay-directfb.c
3550 * gdk/directfb/gdkdrawable-directfb.c
3551 * gdk/directfb/gdkprivate-directfb.h
3552 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
3553 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
3555 2008-01-31 Richard Hult <richard@imendio.com>
3557 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
3558 issues with undecorated windows. Revert the change done on
3559 2008-01-25 and fix it by using the view's bounds instead. The
3560 bounds will always be up to date when setting up the tracking
3561 rect, so this should be more robust.
3563 2008-01-30 Sven Neumann <sven@gimp.org>
3565 * gdk/directfb/gdkdrawable-directfb.c
3566 * gdk/directfb/gdkwindow-directfb.c
3567 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
3568 Oliver Kropp <dok@directfb.org>. Adds debug messages using
3569 DirectFB's debugging system
3571 2008-01-30 Sven Neumann <sven@gimp.org>
3573 * gdk/directfb/gdkdirectfb.h
3574 * gdk/directfb/gdkdisplay-directfb.c
3575 * gdk/directfb/gdkdrawable-directfb.c
3576 * gdk/directfb/gdkim-directfb.c
3577 * gdk/directfb/gdkimage-directfb.c
3578 * gdk/directfb/gdkinput-directfb.c
3579 * gdk/directfb/gdkmain-directfb.c
3580 * gdk/directfb/gdkpixmap-directfb.c
3581 * gdk/directfb/gdktestutils-directfb.c
3582 * gdk/directfb/gdkvisual-directfb.c
3583 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
3584 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
3585 errors and has some cleanups.
3587 2008-01-30 Michael Natterer <mitch@imendio.com>
3589 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
3590 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
3593 * gtk/updateiconcache.c (add_string): cast const gchar* to
3594 gpointer when inserting in a GHashTable.
3596 * tests/testcalendar.c (calendar_detail_cb): remove const from
3597 return value since it's a newly allocated string.
3599 (calendar_update_details): free the detail.
3601 2008-01-29 Johan Dahlin <johan@gnome.org>
3603 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
3605 * demos/gtk-demo/demo.ui:
3606 Move the about dialog to the glade file, add accessible tags
3607 examples to the markup file.
3609 2008-01-28 Paolo Borelli <pborelli@katamail.com>
3611 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
3612 layout, fixes #512375.
3614 2008-01-28 Michael Natterer <mitch@imendio.com>
3616 * gtk/gtktextchild.c
3617 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
3619 2008-01-28 Michael Natterer <mitch@imendio.com>
3621 * demos/gtk-demo/builder.c (about_activate): use
3622 gtk_about_dialog_set_program_name() instead of the deprecated
3625 2008-01-28 Michael Natterer <mitch@imendio.com>
3627 * gtk/gtktextchild.c
3628 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
3631 2008-01-26 Johan Dahlin <johan@gnome.org>
3633 * tests/Makefile.am:
3634 * tests/textbuffertest.c:
3635 Rename textbuffer test and port it to the new test framework
3637 2008-01-25 Johan Dahlin <johan@gnome.org>
3639 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
3640 unsetting of GTK_MODULES.
3642 * gtk/gtk-builder-convert
3643 (GtkBuilderConverter._convert_adjustment): Handle the case where
3644 there is no child text node.
3645 (GtkBuilderConverter): Allow xml comments in most places.
3647 2008-01-25 Johan Dahlin <johan@gnome.org>
3649 * gtk/gtk-builder-convert
3650 (GtkBuilderConverter._convert_combobox_items): Remove the items
3651 even if there are no items set.
3652 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
3653 signals and tooltips for all menu items subclasses and
3654 GtkImageMenuItem:label.
3655 Makes it possible to fully convert and run Jokosher.glade.
3657 2008-01-25 Johan Dahlin <johan@gnome.org>
3659 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
3660 (gtk_widget_buildable_get_internal_child), (free_action),
3661 (free_relation), (gtk_widget_buildable_parser_finished),
3662 (accessibility_start_element),
3663 (gtk_widget_buildable_custom_tag_start),
3664 (gtk_widget_buildable_custom_finished):
3665 Implement accessible support, fixes #454653.
3667 * gtk/gtk-builder-convert:
3668 Add support for migrating old glade files
3670 * tests/buildertest.c: (test_widget), (test_file):
3671 Add accessible tests and imprve the test_file function to display
3672 toplevels and run dialogs.
3674 2008-01-25 Richard Hult <richard@imendio.com>
3676 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
3677 didn't change, fixes focus event issues for undecorated windows.
3679 2008-01-25 Richard Hult <richard@imendio.com>
3681 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
3682 const and remove unused variables).
3684 2008-01-25 Michael Natterer <mitch@imendio.com>
3687 * gtk/gtkcellrenderer.h
3688 * gtk/gtkimcontext.h
3692 * gtk/gtktreeprivate.h
3693 * gtk/gtktreeviewcolumn.h
3694 * gtk/gtkwidget.h: add const to constant structs which are passed
3695 into GTK+. Also add some forgotten const for const strings.
3699 * gtk/gtkcellrenderer.c
3700 * gtk/gtkimcontext.c
3705 * gtk/gtktreeviewcolumn.c
3706 * gtk/gtkwidget.c: changed accordingly.
3708 2008-01-25 Sven Herzberg <sven@imendio.com>
3710 Reviewed by Johan Dahlin.
3712 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
3713 this is called with something that's not a GtkUIManager
3715 2008-01-24 Johan Dahlin <johan@gnome.org>
3717 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
3718 Chain up to parent, so widgets can have internal children.
3720 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
3722 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
3725 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
3727 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
3729 Use pango_layout_set_height() for calendar details (#506049).
3731 * configure.in: Require 1.19.3 for pango_layout_set_height().
3732 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
3734 2008-01-18 Johan Dahlin <johan@gnome.org>
3736 * gtk/gtk-builder-convert (get_property_node): New method
3737 (GtkBuilderConverter._create_object): Conditionally take a node as
3738 a property value, so don't lose translate/context attributes if they
3740 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
3741 property values instead of strings.
3742 (#509153, Erik van Pienbroek)
3744 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
3746 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
3748 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
3749 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
3750 * tests/testcalendar.c: Duplicate calendar details before returning.
3752 2008-01-16 Christian Persch <chpe@gnome.org>
3754 * gtk/gtkwidget.c: Store the event mask and extension event mode
3755 directly in the gobject data pointer, instead of in an allocated
3758 2008-01-16 Michael Natterer <mitch@imendio.com>
3760 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
3761 gdk-pixbuf now uses gio functions.
3763 2008-01-16 Matthias Clasen <mclasen@redhat.com>
3765 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
3766 the notify::model signal. (#509819, David Zeuthen)
3768 2008-01-15 Michael Natterer <mitch@imendio.com>
3776 * gdk/gdkwindow.h: made more struct pointer and array parameters
3777 const. GDK should now be constified as far as possible without
3778 breaking source compatibility. Includes some minor cleanup like
3779 indentation and s/nfoo/n_foo/ (bug #508544).
3785 * gdk/gdkregion-generic.c
3787 * gdk/directfb/gdkdisplay-directfb.c
3788 * gdk/directfb/gdkwindow-directfb.c
3789 * gdk/quartz/gdkdisplay-quartz.c
3790 * gdk/quartz/gdkwindow-quartz.c
3791 * gdk/win32/gdkdisplay-win32.c
3792 * gdk/win32/gdkwindow-win32.c
3793 * gdk/x11/gdkdisplay-x11.c
3794 * gdk/x11/gdkwindow-x11.c: changed accordingly.
3796 2008-01-14 Michael Natterer <mitch@imendio.com>
3798 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
3801 (gtk_rc_parse_any): change variables to const and introduce
3802 another local variable to fix const warnings.
3804 2008-01-14 Michael Natterer <mitch@imendio.com>
3806 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
3807 of gdk_screen_get_font_options() to gpointer to get rid of const
3810 2008-01-14 Michael Natterer <mitch@imendio.com>
3812 * tests/testdnd.c (source_drag_data_get): fix another call to
3813 gtk_selection_data_set().
3815 2008-01-14 Michael Natterer <mitch@imendio.com>
3817 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
3820 2008-01-14 Michael Natterer <mitch@imendio.com>
3822 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
3824 2008-01-14 Michael Natterer <mitch@imendio.com>
3826 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
3827 "uris" to guchar* when passing it to gtk_selection_data_set().
3829 2008-01-14 Michael Natterer <mitch@imendio.com>
3835 * gdk/gdkinternals.h
3837 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
3838 parameters const (bug #508544).
3843 * gdk/gdkrectangle.c
3844 * gdk/gdkpolyreg-generic.c
3845 * gdk/gdkregion-generic.c
3846 * gdk/directfb/gdkcolor-directfb.c
3847 * gdk/directfb/gdkgc-directfb.c
3848 * gdk/directfb/gdkgeometry-directfb.c
3849 * gdk/directfb/gdkwindow-directfb.c
3850 * gdk/quartz/gdkcolor-quartz.c
3851 * gdk/quartz/gdkgc-quartz.c
3852 * gdk/quartz/gdkgeometry-quartz.c
3853 * gdk/quartz/gdkwindow-quartz.c
3854 * gdk/win32/gdkcolor-win32.c
3855 * gdk/win32/gdkgc-win32.c
3856 * gdk/win32/gdkgeometry-win32.c
3857 * gdk/win32/gdkprivate-win32.h
3858 * gdk/win32/gdkwindow-win32.c
3859 * gdk/x11/gdkcolor-x11.c
3860 * gdk/x11/gdkgc-x11.c
3861 * gdk/x11/gdkgeometry-x11.c
3862 * gdk/x11/gdkmain-x11.c
3863 * gdk/x11/gdkprivate-x11.h
3864 * gdk/x11/gdkwindow-x11.c: changed accordingly.
3866 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
3869 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
3871 Explain name choice for gtk_tool_item_toolbar_reconfigured.
3873 * gtk/gtktoolitem.c: Add comment expaining name choice for
3874 gtk_tool_item_toolbar_reconfigured.
3876 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
3878 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
3879 implementations to notify its children, when some aspect of their
3880 configuration changed (#509042).
3882 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
3883 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
3884 Rename _gtk_tool_item_toolbar_reconfigured.
3886 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
3888 Include <gtk/gtktoolshell.h> from gtk.h.
3890 * gtk/gtk.h: Add gtktoolshell.h
3892 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
3894 Print angle brackets arround e-mail addresses in the about dialog
3895 (#409520, Mariano Suárez-Alvarez).
3897 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
3899 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
3901 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
3902 special casing so test widgets are always queues for destruction
3905 * gtk/tests/testing.c: removed bits left-over from testing without
3908 2008-01-10 Tor Lillqvist <tml@novell.com>
3910 * modules/other/gail/libgail-util/Makefile.am
3911 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
3914 2008-01-10 Tor Lillqvist <tml@novell.com>
3916 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
3917 uses gtkprintunixdialog API.
3919 2008-01-10 Tor Lillqvist <tml@novell.com>
3921 * gdk/win32/gdkdisplay-win32.c
3922 * gdk/win32/gdkglobals-win32.c
3923 * gdk/win32/gdkprivate-win32.h
3924 * gdk/win32/gdkscreen-win32.c
3925 * gdk/win32/gdkwindow-win32.c: Implement
3926 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
3927 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
3930 2008-01-10 Cody Russell <bratsche@gnome.org>
3932 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
3933 Properly ref/unref windows and parents. (#506769)
3935 2008-01-10 Richard Hult <richard@imendio.com>
3937 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
3938 (gdk_window_hide), (move_resize_window_internal): Move the
3939 tracking rect workaround from here...
3941 * gdk/quartz/GdkQuartzWindow.c:
3942 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
3943 movements during showing/hiding operations. Fixes bug #508516.
3945 2008-01-10 Michael Natterer <mitch@imendio.com>
3947 * gdk/directfb/gdkscreen-directfb.c
3948 (gdk_screen_get_monitor_width_mm)
3949 (gdk_screen_get_monitor_height_mm)
3950 (gdk_screen_get_monitor_plug_name): add these functions to make
3953 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
3955 * gtk/gtkrecentchoosermenu.c:
3956 (idle_populate_func), (idle_populate_clean_up): Fix possible
3957 recursion by resetting the idle source id. (#507605, William
3960 2008-01-10 Kristian Rietveld <kris@imendio.com>
3962 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
3963 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
3964 avoid valgrind warnings. (#507751, patch from Christian Persch).
3966 2008-01-10 Kristian Rietveld <kris@imendio.com>
3968 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
3969 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
3971 2008-01-10 Kristian Rietveld <kris@imendio.com>
3973 Fix #477175, reported by Juri Pakaste.
3975 * gtk/gtktreeprivate.h:
3976 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
3977 tree_view->priv->dy here directly, just calculate the new value
3978 and set it on the adjustment,
3979 (gtk_tree_view_adjustment_changed): add guards to not call
3980 gtk_tree_view_dy_to_top_row() if we are currently in
3981 gtk_tree_view_top_row_to_dy(),
3982 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
3983 coordinates, not tree coordinates,
3984 (gtk_tree_view_real_start_editing): add cast.
3986 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
3987 position of the editable in the "create new row and start editing"
3990 2008-01-09 Michael Natterer <mitch@imendio.com>
3992 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
3995 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
3996 * gtk/gtkicontheme.c (theme_list_contexts)
3997 (gtk_icon_theme_lookup_icon)
3998 * gtk/gtkimcontextsimple.c (beep_window)
3999 * gtk/gtklinkbutton.c (set_link_color)
4000 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
4003 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
4004 variable and add const to another to fix a warning.
4006 2008-01-07 Matthias Clasen <mclasen@redhat.com>
4008 * gtk/gtkassistant.c (remove_page): Be more robust when removing
4009 the current page. (#499951, Andreas Sandberg)
4011 2008-01-06 Johan Dahlin <johan@gnome.org>
4013 * gtk/gtkspinbutton.c: Declare value in the example code for
4014 GtkSpinButton::output, as pointed out by Anders Carlsson.
4016 2008-01-06 Christian Persch <chpe@gnome.org>
4018 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
4019 and remove an obsolete event box. Bug #506760.
4021 2008-01-06 Johan Dahlin <johan@gnome.org>
4023 * tests/buildertest.c (test_domain):
4024 Update, GtkBuilder::translation-domain is no longer set
4026 * gtk/gtkbuilderparser.c (parse_interface):
4027 Allow domains to be overridden in <interface>'s if a translation-domain
4028 is set in the builder.
4029 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
4030 of the builder, make the domain set in the <interface> apply only to strings
4032 (#496831, Ryan Lortie)
4034 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
4037 * gtk/gtktreestore.c (tree_model_end_element):
4038 Remove an unused variable
4040 2008-01-06 Matthias Clasen <mclasen@redhat.com>
4042 * gtk/gtkspinbutton.c: Document the ::output signal and
4043 add an example. (#507566, example by Owen Taylor)
4045 2008-01-06 Johan Dahlin <johan@gnome.org>
4047 * gtk/gtkcellrenderercombo.c:
4048 (gtk_cell_renderer_combo_get_property),
4049 (gtk_cell_renderer_combo_set_property):
4050 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
4051 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
4052 * gtk/gtknotebook.c: (gtk_notebook_set_property):
4053 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
4054 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
4055 (gtk_text_buffer_get_property):
4056 * gtk/gtktextview.c: (gtk_text_view_set_property):
4057 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
4058 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
4059 (gtk_tool_button_get_property):
4060 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
4061 (gtk_tool_item_get_property):
4062 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
4063 * gtk/gtkwidget.c: (gtk_widget_set_property):
4064 * gtk/gtkwindow.c: (gtk_window_set_property):
4065 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
4068 2008-01-06 Johan Dahlin <johan@gnome.org>
4070 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
4071 Make sure that --root works for toplevel widgets.
4072 (#491847, Phil Lello)
4074 2008-01-05 Johan Dahlin <johan@gnome.org>
4076 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
4077 to make sure that make test-report works properly
4079 2008-01-05 Christian Persch <chpe@gnome.org>
4081 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
4082 GType as integer through gpointer. Bug #507395.
4084 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
4086 Avoid some compiler warnings (#507000).
4088 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
4089 for value argument of _gtk_builder_flags_from_string.
4090 * gtk/gtkwidget.c: Don't alias the child pointer passed
4091 to gdk_window_get_user_data.
4093 2008-01-04 Michael Natterer <mitch@imendio.com>
4095 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
4096 to set the time in the returned GdkTimeCoords.
4098 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
4100 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
4101 correct comparison function (kudos to Christian Persch and
4102 Claudio Saavedra for spotting this)
4104 * gtk/gtkrecentchooserutils.c:
4105 (sort_recent_items_mru),
4106 (sort_recent_items_lru): Ditto as above.
4108 2008-01-03 Johan Dahlin <johan@gnome.org>
4110 * tests/defaultvaluetest.c: Make it pass again.
4112 2008-01-02 Johan Dahlin <johan@gnome.org>
4114 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
4115 make it pass on Ubuntu.
4116 (main): Use gtk_test_list_all_types () instead of providing our
4118 And it no longer passes.
4120 2007-12-30 Johannes Schmid <jhs@gnome.org>
4122 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
4123 Also reorder menu when reordering tabs by drag & drop
4126 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
4127 Add a menu to one of the notebooks to have a test-case for
4128 the change mentioned above.
4130 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
4132 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
4134 2007-12-31 Christian Persch <chpe@gnome.org>
4136 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
4137 Plug a mem leak. Bug #506107.
4139 2007-12-28 Matthias Clasen <mclasen@redhat.com>
4141 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
4142 icon cache api change. (#506135, Kazuki Iwamoto)
4144 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
4146 Consider "wide-separators" and "separator-height" style properties:
4147 The separator is drawn using gtk_paint_box instead of cairo, when
4148 "wide-separators" is set. Also do not highlight details for previous
4149 or next month, if their day matches the selected day. (#339540)
4151 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
4152 in gtk_calendar_size_request and calendar_paint_day
4153 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
4154 for selected detail separators in GtkCalendar.
4156 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
4158 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
4160 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
4161 a local variable instead in gtk_calendar_size_request.
4163 2007-12-28 Matthias Clasen <mclasen@redhat.com>
4165 * tests/defaultvaluetest.c: Add enough exclusions to make the
4168 2007-12-28 Christian Persch <chpe@gnome.org>
4170 * modules/other/gail/Makefile.am:
4171 * modules/other/gail/tests/*:
4172 * configure.in: Merge tests from standalone gail. Bug #504568.
4174 2007-12-28 Matthias Clasen <mclasen@redhat.com>
4176 * gtk/gtkclipboard.c: Make the finalizer work when display is
4179 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
4181 Draw bottom shadow of GtkCalender headings. (#506113)
4183 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
4185 2007-12-28 Matthias Clasen <mclasen@redhat.com>
4187 * gtk/gtkcalendar.c: Document the initial values of year/month/day
4190 2007-12-28 Christian Persch <chpe@gnome.org>
4192 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
4193 a mem leak. Bug #506096.
4195 2007-12-28 Matthias Clasen <mclasen@redhat.com>
4198 * gtk/gtktreeview.c:
4199 * gtk/gtkprintoperation.c:
4200 * gtk/gtkprogressbar.c:
4201 * gtk/gtkmessagedialog.c:
4202 * gtk/gtknotebook.c:
4206 * gtk/gtklinkbutton.c:
4207 * gtk/gtkmenu.c: More default property value corrections.
4209 2007-12-28 Matthias Clasen <mclasen@redhat.com>
4211 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
4212 accel_group unless it is set.
4214 2007-12-28 Matthias Clasen <mclasen@redhat.com>
4216 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
4218 2007-12-28 Matthias Clasen <mclasen@redhat.com>
4220 * gtk/gtkhandlebox.c: Fix the default values of shadow and
4221 shadow-type properties.
4223 * gtk/gtkfontsel.c: Fix the default values of several properties.
4225 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
4228 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
4230 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
4233 2007-12-28 Johan Dahlin <johan@gnome.org>
4235 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
4236 (gtk_dialog_buildable_custom_tag_start): Chain up.
4237 This makes it possible to have accelerators tags on GtkDialog
4240 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
4242 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
4243 are shown within the widget, or just as tooltip. (#339540)
4245 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
4246 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
4247 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
4250 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
4252 Try more decent appearance of calendar details separator. (#339540)
4254 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
4255 and make it short by one pixel on each side.
4257 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
4259 Apply trivial code-style changes from attachement 101101. (#339540)
4261 * tests/testcalendar.c: Some updates to current GTK+ code-style.
4263 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
4265 Restructure testcalendar for testing calendar details. (#339540)
4267 * tests/testcalendar.c: Push code arround for testing calendar details.
4269 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
4271 Implement GtkTooltip API for calendar details. (#339540)
4273 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
4274 Remember detail overflows in calendar_paint_day to show the tooltip
4275 only when neccessary.
4277 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
4279 Without setting "detail-width-chars" and "detail-height-rows"
4280 properties not only the widget has to be redrawn on certain
4281 conditions, but also its size must be recalculated. (#339540)
4283 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
4284 that function instead of gtk_widget_queue_draw.
4286 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
4288 Consider details for size-request and expose-event. (#339540)
4290 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
4291 is_color_attribute functions. Change gtk_calendar_size_request
4292 and calendar_paint_day to consider and show calender details.
4294 2007-12-28 Matthias Clasen <mclasen@redhat.com>
4296 * gtk/gtkcombobox.c: Introduce local priv variables to
4299 2007-12-27 Matthias Clasen <mclasen@redhat.com>
4301 * gtk/gtkcombobox.c: Correct the default value for the
4302 tearoff-title property.
4304 * gtk/gtkcellrenderertext.c: Fix the default value for the
4305 wrap-mode and font-scale properties.
4307 * gtk/gtkaspectratio.c: Fix the default value for the ratio
4310 2007-12-27 Matthias Clasen <mclasen@redhat.com>
4312 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
4313 defines. (#505708, MINAMI Hirokazu)
4315 2007-12-27 Christian Persch <chpe@gnome.org>
4317 * Makefile.am: Install gail.pc. Bug #505859.
4319 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
4321 Add infrastructure for GtkCalendar details. (#339540)
4323 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
4324 Add "detail-width-chars" and "detail-height-rows" properties,
4325 and gtk_calendar_set_detail_func function.
4327 2007-12-27 Xan Lopez <xan@gnome.org>
4330 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
4332 Add gtk_border_new to avoid memory allocator confusions when using
4333 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
4335 2007-12-27 Christian Persch <chpe@gnome.org>
4337 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
4338 bug #504886 not to read unitialised memory.
4340 2007-12-26 Xan Lopez <xan@gnome.org>
4342 * gtk/gtkstatusbar.c (has_extra_children): take into account the
4343 modification of the internal frame contents to decide if we have
4344 extra children. (#415677)
4346 2007-12-22 Christian Persch <chpe@gnome.org>
4348 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
4350 2007-12-25 Christian Persch <chpe@gnome.org>
4352 * modules/other/gail/gailwindow.c: (gail_window_initialize):
4353 Initialise |widget|. Fixes a buglet introduced by the commit from bug
4356 2007-12-25 Christian Persch <chpe@gnome.org>
4358 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
4360 2007-12-25 Christian Persch <chpe@gnome.org>
4362 * modules/other/gail/*.[ch]: Remove relocations from the atk
4363 factories. Remove unused gail_foo_new() functions. Fix object
4364 instantiation to be derivation safe by moving initialisation code
4365 from the removed gail_foo_new() functions to the
4366 AtkObjectClass::initialize implementation. Bug #505226.
4368 2007-12-24 Matthias Clasen <mclasen@redhat.com>
4370 * modules/other/gail/gailentry.c:
4371 * modules/other/gail/gailimage.c:
4372 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
4373 uses of clipboards and settings. (#504722, Christian Persch)
4375 2007-12-24 Matthias Clasen <mclasen@redhat.com>
4377 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
4380 2007-12-24 Matthias Clasen <mclasen@redhat.com>
4382 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
4383 use the time and button information from the event. (#504901,
4386 2007-12-23 Cody Russell <bratsche@gnome.org>
4388 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
4389 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
4390 Fixes a regression caused by #164537 patch where transient
4391 windows that are hidden get shown (incorrectly) when their
4392 parents are minimized. (#504984)
4394 2007-12-22 Christian Persch <chpe@gnome.org>
4396 * modules/other/gail/gailcell.c:
4397 * modules/other/gail/gailcontainercell.c:
4398 * modules/other/gail/gailexpander.c:
4399 * modules/other/gail/gailtextcell.c:
4400 * modules/other/gail/gailtextview.c:
4401 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
4403 2007-12-22 Christian Persch <chpe@gnome.org>
4405 * modules/other/gail/*.c: Include config.h. Bug #504720.
4407 2007-12-22 Christian Persch <chpe@gnome.org>
4409 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
4410 handwritten get_type functions. Bug #504661.
4412 2007-12-23 Xan Lopez <xan@gnome.org>
4414 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
4415 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
4417 Patch by Sadrul Habib Chowdhury (#504804)
4419 2007-12-22 Christian Persch <chpe@gnome.org>
4421 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
4422 #504645, patch by Li Yuan.
4424 2007-12-22 Christian Persch <chpe@gnome.org>
4426 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
4428 2007-12-22 Christian Persch <chpe@gnome.org>
4430 * modules/other/gail/gail.c:
4431 * modules/other/gail/gailbutton.c:
4432 * modules/other/gail/gailcell.c:
4433 * modules/other/gail/gailcombo.c:
4434 * modules/other/gail/gailcombo.h:
4435 * modules/other/gail/gailcombobox.c:
4436 * modules/other/gail/gailentry.c:
4437 * modules/other/gail/gailexpander.c:
4438 * modules/other/gail/gailmenuitem.c:
4439 * modules/other/gail/gailnotebook.c:
4440 * modules/other/gail/gailnotebookpage.c:
4441 * modules/other/gail/gailnotebookpage.h:
4442 * modules/other/gail/gailoptionmenu.c:
4443 * modules/other/gail/gailrange.c:
4444 * modules/other/gail/gailtextview.c:
4445 * modules/other/gail/gailtreeview.c:
4446 * modules/other/gail/gailtreeview.h:
4447 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
4450 2007-12-22 Matthias Clasen <mclasen@redhat.com>
4452 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
4455 2007-12-21 Richard Hult <richard@imendio.com>
4457 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
4458 Plug leak of destroyed subviews, fixes bug #504753.
4460 2007-12-20 Johan Dahlin <johan@gnome.org>
4462 * tests/Makefile.am (TEST_PROGS):
4463 * tests/defaultvaluetest.c: Add a test for default values,
4464 based on program by Christan Perch
4466 2007-12-20 Johan Dahlin <johan@gnome.org>
4468 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
4469 Refactor to avoid some duplication.
4470 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
4471 Fixes #504749, Yuri Pimenov
4473 2007-12-20 Kristian Rietveld <kris@imendio.com>
4475 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
4476 the build work again on systems without xrandr 1.2.
4478 2007-12-20 Christian Persch <chpe@gnome.org>
4481 * modules/other/gail/libgail-util/Makefile.am:
4482 Keep the same libtool version as the standalone libgail-util had.
4485 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
4487 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
4489 2007-12-20 Alexander Larsson <alexl@redhat.com>
4491 * gdk/x11/gdkapplaunchcontext-x11.c:
4492 Update for gio API changes
4494 2007-12-20 Richard Hult <richard@imendio.com>
4496 * gdk/quartz/GdkQuartzWindow.c:
4497 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
4498 processing events after changing the size.
4500 2007-12-20 Richard Hult <richard@imendio.com>
4502 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
4503 Add stub for quartz to fix build.
4505 2007-12-20 Christian Persch <chpe@gnome.org>
4507 * modules/other/gail/Makefile.am:
4508 * modules/other/gail/gailimage.c: (gail_image_class_init),
4509 (gail_image_init), (elide_underscores), (gail_image_get_name),
4510 (atk_image_interface_init), (gail_image_finalize):
4511 * modules/other/gail/gailimage.h:
4512 R modules/other/gail/gailintl.h:
4513 * po/POTFILES.skip: Use the stock item's label as the name of the
4514 accessible in gailimage.c. Bug #504246.
4516 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
4518 Avoid some compiler warnings and remove obsolete code. (#339540)
4520 * gtk/gtkcalendar.c: Change week and year variable in
4521 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
4522 0" block from calendar_paint_day: The feature in question is handled
4523 few lines above. Cast data returned by gtk_selection_data_get_text()
4524 to (gchar*) in gtk_calendar_drag_data_received.
4526 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
4528 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
4530 2007-12-19 Johan Dahlin <johan@gnome.org>
4532 * tests/buildertest.c (test_object_properties):
4533 Add another call to gtk_builder_add_string after using
4534 delayed properties, as reported in #504393 but already
4537 2007-12-18 Christian Persch <chpe@gnome.org>
4540 * docs/reference/Makefile.am:
4541 * docs/reference/libgail-util/*:
4542 * gail-uninstalled.pc.in:
4544 * modules/Makefile.am:
4545 * modules/other/Makefile.am:
4546 * modules/other/gail/*:
4547 * modules/other/gail/libgail-util/*:
4548 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
4550 2007-12-17 Matthias Clasen <mclasen@redhat.com>
4552 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
4553 * gdk/win32/gdkproperty-win32.c:
4554 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
4556 * gtk/gtkimmodule.[hc]:
4557 * gtk/gtkimmulticontext.[hc]: When determining the default context,
4558 look at the gtk-im-module setting, and listen for changes to the
4559 setting. (#502446, Akira Tagoh)
4561 2007-12-17 Kristian Rietveld <kris@imendio.com>
4563 * gtk/gtktooltip.c (gtk_tooltip_finalize),
4564 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
4565 to NULL as soon as it's destroyed. (#496546, patch from
4568 2007-12-17 Kristian Rietveld <kris@imendio.com>
4570 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
4571 always determine what arrow to show if show_sort_indicator is true.
4572 (#352738, Chris Vine).
4574 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
4576 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
4579 * gtk/gtkpaned.c: Call gtk_container_forall instead of
4580 gtk_container_foreach in get_child_panes.
4582 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
4584 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
4586 Plug leak: When reordering the info in the list the old node is
4587 removed but not freed. (#503569)
4589 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
4591 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
4592 Use u32 instead of __u32 and u8 instead of __u8 as the other types
4593 are deprecated since DirectFB 1.0.0. If compiling with an older
4594 version define the new type name to the old types. Fixes bug #503190.
4596 2007-12-14 Ray Strode <rstrode@redhat.com>
4598 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
4599 instead of g_signal_connect_after (..., "realize", ...) as an
4600 alternative to gtk_widget_realize () (bug 503537).
4602 2007-12-14 Michael Natterer <mitch@imendio.com>
4604 * gdk/gdkinternals.h
4605 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
4608 * gdk/gdkapplaunchcontext.c
4609 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
4610 header already includes everything now.
4612 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
4614 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
4615 next stable release shall be 2.16, not 2.14 - even if disagree.
4617 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
4619 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
4621 Change GtkToolItem to retrieve its properties from GtkToolShell
4622 interface, instead of relying on being child of a GtkToolbar.
4625 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
4626 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
4627 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
4628 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
4629 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
4630 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
4631 Take section docs from template file and update them for GtkToolShell.
4632 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
4633 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
4635 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
4637 Extract loading of GtkPageSetup and GtkPrintSettings from their
4638 *_new_*() functions and move that code into separate
4639 *_load_*() functions (#475565).
4641 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
4642 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
4643 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
4644 Change the matching *_new_*() functions to use those functions.
4646 2007-12-14 Matthias Clasen <mclasen@redhat.com>
4649 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
4651 2007-12-14 Kristian Rietveld <kris@imendio.com>
4653 * gtk/tests/liststore.c:
4654 * gtk/tests/treestore.c: added tests for insertion functions.
4656 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
4658 * Add RandR 1.2 support
4660 - New monitors_changed signal - New API to get width/height of
4661 monitors, and the name of the plug
4663 2007-12-13 Kristian Rietveld <kris@imendio.com>
4665 * gtk/tests/liststore.c:
4666 * gtk/tests/treestore.c: test the move and swap functions on a
4667 store with only one node.
4669 2007-12-13 Kristian Rietveld <kris@imendio.com>
4671 * gtk/gtktestutils.c (gtk_test_init): add a call to
4674 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
4677 2007-12-13 Kristian Rietveld <kris@imendio.com>
4679 * gtk/tests/liststore.c:
4680 * gtk/tests/treestore.c: start composing tests for the list and tree
4683 * gtk/tests/treeview-scrolling.c: added automated tests for
4684 GtkTreeView's scrolling "subsystem".
4686 * gtk/tests/Makefile.am: updated; added new test programs.
4688 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
4690 Make the code compile again after the GdkAppLaunchContext changes.
4692 * configure.in: Add gio-2.0 to GDK_PACKAGES.
4693 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
4695 2007-12-12 Matthias Clasen <mclasen@redhat.com>
4697 * gdk/gdkapplaunchcontext.c: Add docs
4699 2007-12-12 Matthias Clasen <mclasen@redhat.com>
4701 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
4702 in gdk, providing startup notification. (#503203)
4704 * gdk/x11/gdkapplaunchcontext-x11.c:
4705 * gdk/win32/gdkapplaunchcontext-win32.c:
4706 * gdk/quartz/gdkapplaunchcontext-quartz.c:
4707 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
4708 parts. All but X11 are just empty stubs for now.
4711 * gdk/gdkinternals.h:
4713 * gdk/x11/Makefile.am:
4714 * gdk/win32/Makefile.am:
4715 * gdk/quartz/Makefile.am:
4716 * gdk/directfb/Makefile.am: Necessary glue.
4718 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
4720 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
4722 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
4724 * gdk/directfb/gdktestutils-directfb.c:
4725 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
4726 which adds testing functions to the DirectFB backend.
4728 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
4730 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
4731 Ciccani which fixes the mixing of gdk and cairo rendering.
4733 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
4735 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
4736 on "drag-motion" handlers. Clearify documentation for
4739 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
4741 * buildertest.c: made unnecessarily exported symbols static.
4742 switched g_return_if_fail() statements in tests to assertions.
4743 special cased currently failing Widget/accesibility test to
4744 run only for g_test_thorough(), so it doesn't break make check.
4745 some coding style fixes.
4747 * Makefile.am: added buildertest to TEST_PROGS.
4749 2007-12-11 Stefan Kost <ensonic@users.sf.net>
4751 * docs/tutorial/gtk-tut.sgml:
4752 Use gtk_widget_get_parent_window() instead of widget->parent->window.
4754 2007-12-10 Richard Hult <richard@imendio.com>
4756 * gdk/quartz/Makefile.am:
4757 * gdk/quartz/gdkquartz.h:
4758 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
4759 header (bug #405915). Also add a getter for the toplevel nswindow.
4761 2007-12-10 Richard Hult <richard@imendio.com>
4763 * gdk/quartz/gdkdrawable-quartz.c:
4764 (gdk_quartz_drawable_get_context),
4765 (gdk_quartz_drawable_release_context):
4766 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
4767 (gdk_event_check), (gdk_event_dispatch), (poll_func):
4768 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
4769 used for each drawing context and in prepare, dispatch and poll
4770 with one that exists across each main loop iteration. Fixes leaks
4771 on leopard and protects against future leaks introduce when the
4772 underlying system changes again (bug #492977).
4774 2007-12-10 Richard Hult <richard@imendio.com>
4776 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
4777 Fix the check for no changes to position and size.
4779 2007-12-10 Richard Hult <richard@imendio.com>
4781 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
4782 sized areas at (0, 0), patch from Paul Davis.
4784 2007-12-10 Richard Hult <richard@imendio.com>
4786 * gdk/quartz/gdkprivate-quartz.h:
4787 * gdk/quartz/gdkeventloop-quartz.c:
4788 (_gdk_quartz_event_loop_get_pending),
4789 (_gdk_quartz_event_loop_check_pending),
4790 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
4791 (gdk_event_check), (gdk_event_dispatch):
4792 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
4793 (_gdk_events_queue): Fix a bug where we could end up trying to
4794 handle the same event more than once. Based on patch from Paul
4797 2007-12-10 Tor Lillqvist <tml@novell.com>
4799 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
4802 2007-12-10 Matthias Clasen <mclasen@redhat.com>
4804 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
4805 to avoid further fallout from the fix for bug 388321.
4807 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
4809 * gdk/directfb/gdkgc-directfb.c:
4810 * gdk/directfb/gdkdrawable-directfb.c:
4811 * gdk/directfb/gdkdirectfb.h:
4812 * gdk/directfb/gdkwindow-directfb.c:
4813 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
4814 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
4815 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
4816 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
4817 which are expected to improve the performance of the DirectFB backend.
4818 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
4820 2007-12-07 Matthias Clasen <mclasen@redhat.com>
4822 * gtk/gtkcontainer.c: Correct the documentation of child
4823 property getter arguments. (#501992, David Brigada)
4825 2007-12-07 Matthias Clasen <mclasen@redhat.com>
4827 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
4828 leak pixbufs. (#502250, Yevgen Muntyan)
4830 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
4832 * gtk/gtkprintunixdialog.c:
4833 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
4834 Print and Page Setup dialogs (#502202).
4836 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
4838 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
4839 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
4840 of XVFB_START, since it's the GTESTER invokation that needs this.
4842 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
4844 * gdk-pixbuf/gdk-pixbuf.symbols:
4846 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
4847 positives in abicheck.sh
4849 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
4851 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
4852 GDK events generations in the DirectFB backend.
4854 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
4856 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
4857 set of likely unused display ids, because MacOS has no seq(1) command.
4859 2007-12-06 Richard Hult <richard@imendio.com>
4861 * gdk/quartz/gdkevents-quartz.c:
4862 (synthesize_crossing_events_for_ns_event): Fix warning when
4863 switching spaces in leopard.
4865 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
4867 * tests/floatingtest.c: ported to new testing framework.
4869 * tests/Makefile.am: run floatingtest as testing framework test.
4871 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
4873 * tests/autotestfilechooser.c: majorly speed up execution by reducing
4874 timeouts and converting main loop sleeps to pending/iterate loops with
4875 very low priority async handlers. eliminate output for non-verbose
4876 tests. assert successfull subtests in all test functions. use testing
4877 framework in main().
4879 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
4880 executed inside Xvfb upon make check.
4882 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
4884 * tests/objecttests.c: use string comparisons for string property
4885 values and get rid of referencing symbols in array initialization.
4887 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
4889 * gtk+/Makefile.decl: run tests in current dir after setting up the
4890 logging directory, so their results get properly merged into the
4893 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
4894 tests to loop over registered Gdk/Gtk+ types.
4896 * gtk+/tests/objecttests.c: new test program, implements automated
4897 property tests. several properties are blacklisted because they
4898 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
4899 can be used to test blacklisted properties and see which proprty failed.
4901 2007-12-04 Richard Hult <richard@imendio.com>
4903 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
4904 Fully initialize the root window, fixes bug #501583.
4906 2007-12-04 Matthias Clasen <mclasen@redhat.com>
4908 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
4911 2007-12-03 Richard Hult <richard@imendio.com>
4913 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
4914 Don't crash when dragging from a source that doesn't support uri
4915 lists (bug #499868, Paul Davis).
4917 2007-12-03 Richard Hult <richard@imendio.com>
4919 * gdk/quartz/gdkwindow-quartz.c:
4920 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
4921 parent relative bg pixmap is set, and no parent has a bg
4922 pixmap. Fixes bug #500804.
4924 2007-12-03 Matthias Clasen <mclasen@redhat.com>
4926 Two optimizations for icon cache lookups.
4928 * gtk/gtkiconcache.[hc]:
4929 * gtk/gtkicontheme.c: Remember the directory index for
4930 subdirectories, instead of running over the directory list
4933 * gtk/gtkiconcache.c (find_image_offset): Remember the last
4934 chain and try it first; this helps with the the usage patterns
4935 in gtkicontheme.c, where the same icon is queried for a lot
4938 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
4940 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
4941 functions from header files. this should be portable across linux and
4942 Mac OS, unlike the previpous sed expression.
4944 2007-12-1 Cody Russell <bratsche@gnome.org>
4946 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
4947 On Windows, queue a redraw of child2 whenever we set
4948 the pane handle position. This is unfortunately kind
4949 of hacky, but solves the visual artifacts that were
4950 occuring on at least certain types of child widgets
4951 (e.g., text views and tree views) that are inside
4952 horizontal or vertical panes. (#144269)
4954 2007-11-30 Matthias Clasen <mclasen@redhat.com>
4956 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
4958 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4960 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
4963 2007-11-29 Matthias Clasen <mclasen@redhat.com>
4965 * gtk/Makefile.am: Fix ordering of subdirs.
4967 2007-11-28 Tor Lillqvist <tml@novell.com>
4969 A proper build of GNU libintl is supposed to export the variable
4970 _nl_msg_cat_cntr. configure looks for that variable in order to
4971 recognize GNU gettext. If it sees that it is indeed GNU gettext
4972 that is used, it decides to install message catalogs in
4973 share/locale, otherwise in lib/locale. Until now on Windows I have
4974 built GTK+ against a build of GNU gettext that did not export
4975 _nl_msg_cat_cntr. But this will change, so we can't assume message
4976 catalogs are always in lib/locale.
4978 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
4979 GTK_LOCALEDIR being either in "lib" or "share". Move the function
4980 before the inclusion of gtkprivate.h so that it sees the original
4983 * gtk-zip.sh.in: Check whether the message catalogs are in
4984 share/locale or lib/locale.
4986 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
4987 that the code in _gtk_get_localedir() will find the slashes.
4989 2007-11-28 Tor Lillqvist <tml@novell.com>
4991 * gtk/Makefile.am: Improve portability. The -o option is present
4992 only in newish GNU egreps. Use one more sed in the pipeline
4995 2007-11-28 Tor Lillqvist <tml@novell.com>
4997 Fix #375893, patch by Ben Hague:
4999 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
5000 around GetLogicalDrives() that takes also the viewable drive
5001 restrictions in the Registry (which are usually the result of an
5002 Active Directory Group Policy) into account.
5004 (check_volumes, gtk_file_system_win32_list_volumes) Call
5005 get_viewable_logical_drives() instead of GetLogicalDrives().
5007 2007-11-27 Matthias Clasen <mclasen@redhat.com>
5009 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
5010 variables to silence valgrind. (#495124, Morten Welinder)
5012 2006-11-26 Ryan Lortie <desrt@desrt.ca>
5014 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
5015 that the construct_child function is responsible for returning a
5017 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
5018 objects from constructors
5019 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
5020 g_object_ref() to this construction function (it's the only
5025 2006-11-26 Ryan Lortie <desrt@desrt.ca>
5027 * gtkbuilder.c: remove concept of root objects and just refcount
5028 all objects in the builder. Fixes #496651.
5030 2007-11-26 Ryan Lortie <desrt@desrt.ca>
5032 * tests/buildertest.c (test_window): fix invalid free
5034 2007-11-26 Josselin Mouette <joss@malsain.org>
5036 reviewed by: Federico Mena Quintero
5038 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
5039 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
5040 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
5041 Make the shortcuts activate with a single click. (#148828)
5042 Fix a few things affected by the change:
5043 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
5044 where no shortcut is selected.
5045 - Don't activate a shortcut in the response callback.
5046 - Filter out duplicate entries in volumes and bookmarks to
5047 avoid the selection to change when reordering them with DnD.
5049 2007-11-26 Matthias Clasen <mclasen@redhat.com>
5052 * gtk/gtknotebook.c:
5053 * gtk/gtkplugprivate.h:
5055 * gtk/gtksocketprivate.h:
5056 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
5058 2007-11-26 Matthias Clasen <mclasen@redhat.com>
5060 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
5061 (#495574, Richard Hult)
5063 2007-11-26 Matthias Clasen <mclasen@redhat.com>
5065 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
5066 String change ! (#376361, Sven Neumann)
5068 2007-11-26 Matthias Clasen <mclasen@redhat.com>
5070 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
5072 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
5075 2007-11-26 Matthias Clasen <mclasen@redhat.com>
5077 * gtk/gtkassistant.c: Improve alternative button
5078 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
5080 2007-11-26 Matthias Clasen <mclasen@redhat.com>
5082 * gtk/gtkcalendar.c: Fix a theming problem with colors
5083 in GtkCalendar. (#499703, Michael Hofmann)
5085 2007-11-26 Matthias Clasen <mclasen@redhat.com>
5087 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
5089 2007-11-26 Matthias Clasen <mclasen@redhat.com>
5091 Use templates for glib-mkenums calls instead of
5092 complicated commandlines in Makefiles. (#429910)
5094 * gdk-pixbuf/Makefile.am:
5097 * perf/Makefile.am: Use templates for glib-mkenums
5099 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
5100 * gdk/gdkenumtypes.[ch].template:
5101 * gtk/gtktypebuiltings.[ch].template:
5102 * perf/typebuiltins.[ch].template: The templates
5104 2007-11-26 Matthias Clasen <mclasen@redhat.com>
5106 * gtk/gtkfilechooserbutton.c:
5107 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
5108 some compilers choke on that. (#467722)
5110 2007-11-26 Matthias Clasen <mclasen@redhat.com>
5112 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
5113 about hook setup. (#425004, Emmanuele Bassi)
5115 2007-11-26 Tor Lillqvist <tml@novell.com>
5117 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
5118 monitor the window currently is on, not always the primary
5119 monitor. (#463865, Tim Evans)
5121 2007-11-26 Tor Lillqvist <tml@novell.com>
5123 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
5125 * gdk/win32/Makefile.am: Add it.
5127 2007-11-26 Tor Lillqvist <tml@novell.com>
5129 * configure.in: Don't add jasper to all_loaders if no libjasper.
5131 2007-11-25 Bastien Nocera <hadess@hadess.net>
5133 * configure.in: Add detection for libjasper, used by the
5134 gdk-pixbuf JPEG2000 loader
5136 2007-11-25 Matthias Clasen <mclasen@redhat.com>
5138 * configure.in: Require gtk-doc 1.8
5140 * */*.c: Use gtk-doc abbreviations for examples in docs.
5142 2007-11-25 Matthias Clasen <mclasen@redhat.com>
5144 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
5147 2007-11-25 Matthias Clasen <mclasen@redhat.com>
5149 * gtk/gtkdialog.c: Move signal and property documentation inline,
5150 fix a problem with the ::response signal docs. (#499133, Josselin
5153 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
5155 * Makefile.decl: initialize automake variables EXTRA_DIST and
5156 TEST_PROGS for unconditional appending via += in other makefiles.
5157 define recursive test targets: test, test-report, perf-report,
5158 full-report, as described here:
5159 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
5160 the test targets will execute Gtk+ test programs within an Xvfb session.
5162 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
5164 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
5165 g_test_run() to run the tests to integrate with the testing framework.
5167 * gtk/tests/Makefile.am: removed exemplary testing rules.
5169 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
5170 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
5171 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
5172 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
5173 * docs/reference/Makefile.am, docs/tools/Makefile.am:
5174 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
5175 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
5176 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
5177 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
5178 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
5179 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
5180 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
5181 * modules/engines/ms-windows/Theme/Makefile.am:
5182 * modules/engines/ms-windows/Makefile.am:
5183 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
5184 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
5185 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
5186 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
5187 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
5188 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
5189 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
5191 2007-11-22 Matthias Clasen <mclasen@redhat.com>
5193 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
5194 (#485662, patch by Herbert Valerio Riedel)
5196 2007-11-22 Matthias Clasen <mclasen@redhat.com>
5198 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
5200 2007-11-21 Richard Hult <richard@imendio.com>
5202 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
5203 stubs for the testing functions to fix the build.
5205 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
5207 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
5208 (#467711, The Written Word)
5210 2007-11-21 Ross Burton <ross@openedhand.com>
5212 * gdk/x11/gdksettings.c:
5213 Add xsetting for gtk-scrolled-window-placement (#458103).
5215 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
5217 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
5218 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
5219 (#469239, Michael Natterer)
5221 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
5223 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
5224 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
5225 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
5226 (#436536, Tommi Komulainen)
5228 2007-11-21 Matthias Clasen <mclasen@redhat.com>
5230 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
5231 property. (#489782, Jan Janech)
5233 2007-11-20 Matthias Clasen <mclasen@redhat.com>
5235 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
5236 frames. (#107398, Owen Taylor, Miguel Gomez)
5238 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
5240 Moved Gdk test functions from Gtk+ to Gdk test utils.
5242 * gdk/Makefile.am: added gdktestutils.h to public includes.
5244 * gdk/gdk.h: added gdktestutils.h to public includes.
5246 * gdk/gdk.symbols: added gdk_test_simulate_button,
5247 gdk_test_simulate_key, gdk_test_render_sync.
5249 * gdk/gdktestutils.h: new file, added prototypes for
5250 gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
5252 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
5254 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
5255 gdk_test_simulate_key, gdk_test_render_sync.
5257 * gtk/gtktestutils.c:
5258 * gtk/gtktestutils.h:
5259 * gtk/gtk.symbols: removed gtk_test_simulate_button
5260 gtk_test_simulate_key, gtk_test_xserver_render_sync.
5262 * gtk/tests/testing.c: call gdk_test_render_sync.
5264 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
5266 Added unit tests for Gtk+ testing utilities.
5268 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
5269 utility functions. some g_test_* related portions are disabled and need
5270 to be enabled once Gtk+ depends on a new glib with the GLib testing
5271 framework integrated.
5273 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
5274 tests. added exemplary test rules to run tests inside Xvfb. this
5275 needs to depend on gtester for full fledged testing.
5277 * gtk/Makefile.am: build gtk+/gtk/tests, define
5278 -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
5279 e.g. gtk_text_get_type().
5281 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
5283 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
5285 Added Gtk+ testing utilities.
5287 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
5288 functions. for the most part, the functions herein involve
5289 navigating and interacting with dialog elements programatically,
5290 to automate user interaction tests of dialogs and widgets.
5292 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
5294 * gtk/gtk.symbols: added gtk_test_* symbols.
5296 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
5297 the build. generate gtktypefuncs.c which contains a list of all
5298 _get_type functions in Gtk+ and Gdk.
5300 2007-11-20 Bastien Nocera <hadess@hadess.net>
5302 * configure.in: add support for conditional icns gdk-pixbuf loader
5305 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
5307 * configure.in: updated version number to 2.15.0 for development.
5309 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
5311 === Branch for 2.12 ===