1 2008-02-12 Federico Mena Quintero <federico@novell.com>
5 Don't focus the file list when shortcuts get activated. This
6 removes a lot of ambiguity in when the file selection should
7 change, and makes the overall code flow simpler.
9 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
10 file/save dialog clears the filename entry when changing
13 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
14 focus should not go to the file list when a shortcut is activated.
16 * gtk/gtkfilechooserdefault.c
17 (shortcuts_activate_volume_mount_cb): Don't focus the file list
18 (shortcuts_activate_get_info_cb): Likewise.
20 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
21 the file list (this was the last place where we would focus the
22 file list explicitly). If you are in the location entry, for
23 example, you don't want Alt-Home to take you to the file list; you
24 just want the current folder to change. Thanks to Olle Bergkvist
25 <olle.bergkvist@yahoo.se> for pointing this out in
26 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
27 (focus_browse_tree_view_if_possible): Removed.
29 2008-02-12 Matthias Clasen <mclasen@redhat.com>
31 Skip exensions when selecting filenames in the save-as dialog.
32 (#362516, Carlos Garnacho)
34 * gtk/gtkfilechooserentry.h:
35 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
36 New function to skip the extension part when selecting a filename.
37 (_gtk_file_chooser_entry_set_base_folder): Use it here.
39 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
42 2008-02-12 Matthias Clasen <mclasen@redhat.com>
44 * gtk/gtkiconview.c: Fix state change reporting for
45 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
47 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
49 * gtk/gtkrecentchooser.c:
50 (gtk_recent_chooser_class_init): Set the default value of the
51 :show-not-found property to TRUE, as every implementation sets
54 * gtk/gtkrecentchooserdefault.c:
55 (_gtk_recent_chooser_default_init): Sync show_tips to the
56 default value of the :show-tips property.
58 2008-02-12 Matthias Clasen <mclasen@redhat.com>
60 * gtk/gtkclipboard-quartz.c:
62 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
65 2008-02-12 Kristian Rietveld <kris@imendio.com>
67 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
68 (gtk_tree_view_real_toggle_cursor_row): guard against people
69 deleting the row in question in the selection-changed callback.
70 (#514621, Andreas Koehler).
72 2008-02-12 Matthias Clasen <mclasen@redhat.com>
74 * gtk/*.c: Unify the handling of various "Enter" keysyms
75 all over the place. (#515047, Christian Persch)
77 2008-02-12 Matthias Clasen <mclasen@redhat.com>
79 * gtk/gtkfilesystemmodel.c:
81 * gtk/gtkwidget.c: Use g_value_set_static_string() where
82 appropriate. (#515042, Christian Persch)
84 2008-02-12 Matthias Clasen <mclasen@redhat.com>
86 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
88 2008-02-12 Matthias Clasen <mclasen@redhat.com>
90 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
92 2008-02-12 Matthias Clasen <mclasen@redhat.com>
94 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
95 (recent_model_sort_drag_data_get):
96 (search_model_sort_drag_data_get):
97 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
98 * gtk/gtkpathbar.c (button_drag_data_get_cb):
99 Use gtk_selection_data_set_uris() instead of doing it
100 by hand. (#514890, Christian Persch)
102 2008-02-12 Michael Natterer <mitch@imendio.com>
104 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
105 gtk_get_current_event_time().
107 2008-02-12 Michael Natterer <mitch@imendio.com>
109 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
110 gtk_window_get_key_hash() to get the hash instead of manually
111 fiddling with quarks and gtk_window_keys_changed(). Also add
112 g_return_if_fail() to this public function.
114 2008-02-11 Matthias Clasen <mclasen@redhat.com>
116 Support keynav in status icons. (#473786, Li Yuan)
118 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
120 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
122 2008-02-11 Kristian Rietveld <kris@imendio.com>
124 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
125 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
126 wrt. link deletion from list; contination of fix for #503569.
128 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
130 * gtk/gtkrecentchoosermenu.c:
131 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
132 on the placeholder menu item.
134 * tests/testrecentchoosermenu.c:
135 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
136 whether the placeholder menu item gets shown.
138 2008-02-10 Cody Russell <bratsche@gnome.org>
140 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
141 Check the return value of _gtk_file_chooser_get_file_system () for
142 NULL before passing it to gtk_file_system_path_to_uri ().
143 (#515667, Francesco Montorsi)
145 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
147 * gtk/gtkbuilder.c: Improve the documentation for
148 gtk_builder_connect_signals. (#514471)
150 2008-02-10 Matthias Clasen <mclasen@redhat.com>
152 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
155 2008-02-08 Cody Russell <bratsche@gnome.org>
157 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
158 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
160 2008-02-08 Richard Hult <richard@imendio.com>
162 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
163 delta from the NSEvent for now, generating multiple scroll events
164 results in a lot of events getting queued up and things get really
167 2008-02-08 Sven Herzberg <sven@imendio.com>
169 Adjust the code to match the documentation, examples, "common sense"
170 and existing applications.
172 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
173 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
176 2008-02-07 Cody Russell <bratsche@gnome.org>
178 * gdk/win32/gdkevents-win32.c
179 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
180 of a block that were causing compile problems on old
181 compilers. (#515053, reported by Kazuki IWAMOTO)
183 2008-02-07 Michael Natterer <mitch@imendio.com>
192 * gtk/gtkoptionmenu.c
196 * gtk/gtkradiomenuitem.c
198 * gtk/gtkscrolledwindow.c
199 * gtk/gtksocket.c: remove g_return_if_fail() from private
200 functions and virtual function implementations.
202 2008-02-07 Michael Natterer <mitch@imendio.com>
209 * gtk/gtkcellrenderercombo.c
212 * gtk/gtkdrawingarea.c
213 * gtk/gtkentrycompletion.c
219 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
220 functions and virtual function implementations.
222 2008-02-07 Christian Persch <chpe@gnome.org>
224 * gdk/gdkpixbuf-render.c:
225 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
226 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
227 otherwise there will be random pixel values in the semi-transparent
228 area of the pixbuf within the mask. Bug #487865.
230 2008-02-06 Cody Russell <bratsche@gnome.org>
232 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
233 otherwise things get wonky when you click on a menu. This fixes
234 a regression caused in #505928. Thanks to Tor for spotting this
237 2008-02-06 Michael Natterer <mitch@imendio.com>
248 * gtk/gtkseparatortoolitem.c
250 * gtk/gtktextlayout.c
251 * gtk/gtktoggletoolbutton.c
252 * gtk/gtktoolbutton.c
255 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
258 2008-02-05 Matthias Clasen <mclasen@redhat.com>
260 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
261 Allow to store half-open ranges.
263 2008-02-05 Cody Russell <bratsche@gnome.org>
265 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
266 down the stack until we get to a window that is mapped.
267 Otherwise hiding a window will cause all windows in the app
268 to be blocked. (#514643)
270 2008-02-05 Matthias Clasen <mclasen@redhat.com>
272 * gtk/updateiconcache.c: Ignore images in the toplevel theme
273 directory, avoiding one source of invalid caches that has been
276 2008-02-05 Matthias Clasen <mclasen@redhat.com>
278 * gtk/updateiconcache.c: Fix the previous commit to compile.
280 2008-02-05 Matthias Clasen <mclasen@redhat.com>
282 * gtk/updateiconcache.c: Install a printerr handler that
283 prepends the program name, since gtk-update-icon-cache output
284 often appears in the middle of other output, e.g. rpm update logs.
286 2008-02-05 Cody Russell <bratsche@gnome.org>
288 * gdk/win32/gdkprivate-win32.h
289 * gdk/win32/gdkevents-win32.c
290 * gdk/win32/gdkwindow-win32.c
291 * gdk/win32/gdkwindow-win32.h
292 * gdk/win32/gdkwin32.h:
293 Modal window rework. (#455627 and #511111)
295 2008-02-04 Michael Natterer <mitch@imendio.com>
297 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
298 g_return_if_fail() if the cell is not part of the combo instead of
299 crashing in the next line.
301 2008-02-01 Cody Russell <cody@jhu.edu>
303 * modules/engines/ms-windows/xp_theme.[ch]
304 * modules/engines/ms-windows/xp_theme_defs.h
305 * modules/engines/ms-windows/msw_rc_style.c
306 * modules/engines/ms-windows/msw_theme_main.c
307 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
308 attempted to stylize more like the rest of the gtk+ stack's code.
310 2008-02-01 Michael Natterer <mitch@imendio.com>
312 * tests/testgtk.c: initialize GdkColor structs to fix warning
313 about uninitialized "pixel" member.
315 * tests/testactions.c: connect the toolbar_style() callback so it
316 does something useful and doesn't warn about being defined but not
319 2008-01-31 Cody Russell <bratsche@gnome.org>
321 * gdk/win32/gdkevents-win32.c:
322 Refactored some of the window hiding/showing code from
323 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
324 under WM_ACTIVATE was causing the application to go into
325 a weird state when the user right-clicked on the taskbar
326 entry of a window that was minimized. (#505928)
328 2008-01-31 Cody Russell <bratsche@gnome.org>
330 * gtk/gtkpaned.c (gtk_paned_set_position):
331 Change queue_resize() to queue_draw(), and add a check for
332 child2 != NULL in case someone calls this before there is
333 a child packed in there. (#144269 again)
335 2008-01-31 Sven Neumann <sven@gimp.org>
337 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
338 applied patch from Denis Oliver Kropp <dok@directfb.org>.
340 2008-01-31 Sven Neumann <sven@gimp.org>
342 * gdk/directfb/gdkdisplay-directfb.c
343 * gdk/directfb/gdkdrawable-directfb.c
344 * gdk/directfb/gdkprivate-directfb.h
345 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
346 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
348 2008-01-31 Richard Hult <richard@imendio.com>
350 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
351 issues with undecorated windows. Revert the change done on
352 2008-01-25 and fix it by using the view's bounds instead. The
353 bounds will always be up to date when setting up the tracking
354 rect, so this should be more robust.
356 2008-01-30 Sven Neumann <sven@gimp.org>
358 * gdk/directfb/gdkdrawable-directfb.c
359 * gdk/directfb/gdkwindow-directfb.c
360 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
361 Oliver Kropp <dok@directfb.org>. Adds debug messages using
362 DirectFB's debugging system
364 2008-01-30 Sven Neumann <sven@gimp.org>
366 * gdk/directfb/gdkdirectfb.h
367 * gdk/directfb/gdkdisplay-directfb.c
368 * gdk/directfb/gdkdrawable-directfb.c
369 * gdk/directfb/gdkim-directfb.c
370 * gdk/directfb/gdkimage-directfb.c
371 * gdk/directfb/gdkinput-directfb.c
372 * gdk/directfb/gdkmain-directfb.c
373 * gdk/directfb/gdkpixmap-directfb.c
374 * gdk/directfb/gdktestutils-directfb.c
375 * gdk/directfb/gdkvisual-directfb.c
376 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
377 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
378 errors and has some cleanups.
380 2008-01-30 Michael Natterer <mitch@imendio.com>
382 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
383 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
386 * gtk/updateiconcache.c (add_string): cast const gchar* to
387 gpointer when inserting in a GHashTable.
389 * tests/testcalendar.c (calendar_detail_cb): remove const from
390 return value since it's a newly allocated string.
392 (calendar_update_details): free the detail.
394 2008-01-29 Johan Dahlin <johan@gnome.org>
396 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
398 * demos/gtk-demo/demo.ui:
399 Move the about dialog to the glade file, add accessible tags
400 examples to the markup file.
402 2008-01-28 Paolo Borelli <pborelli@katamail.com>
404 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
405 layout, fixes #512375.
407 2008-01-28 Michael Natterer <mitch@imendio.com>
410 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
412 2008-01-28 Michael Natterer <mitch@imendio.com>
414 * demos/gtk-demo/builder.c (about_activate): use
415 gtk_about_dialog_set_program_name() instead of the deprecated
418 2008-01-28 Michael Natterer <mitch@imendio.com>
421 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
424 2008-01-26 Johan Dahlin <johan@gnome.org>
427 * tests/textbuffertest.c:
428 Rename textbuffer test and port it to the new test framework
430 2008-01-25 Johan Dahlin <johan@gnome.org>
432 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
433 unsetting of GTK_MODULES.
435 * gtk/gtk-builder-convert
436 (GtkBuilderConverter._convert_adjustment): Handle the case where
437 there is no child text node.
438 (GtkBuilderConverter): Allow xml comments in most places.
440 2008-01-25 Johan Dahlin <johan@gnome.org>
442 * gtk/gtk-builder-convert
443 (GtkBuilderConverter._convert_combobox_items): Remove the items
444 even if there are no items set.
445 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
446 signals and tooltips for all menu items subclasses and
447 GtkImageMenuItem:label.
448 Makes it possible to fully convert and run Jokosher.glade.
450 2008-01-25 Johan Dahlin <johan@gnome.org>
452 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
453 (gtk_widget_buildable_get_internal_child), (free_action),
454 (free_relation), (gtk_widget_buildable_parser_finished),
455 (accessibility_start_element),
456 (gtk_widget_buildable_custom_tag_start),
457 (gtk_widget_buildable_custom_finished):
458 Implement accessible support, fixes #454653.
460 * gtk/gtk-builder-convert:
461 Add support for migrating old glade files
463 * tests/buildertest.c: (test_widget), (test_file):
464 Add accessible tests and imprve the test_file function to display
465 toplevels and run dialogs.
467 2008-01-25 Richard Hult <richard@imendio.com>
469 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
470 didn't change, fixes focus event issues for undecorated windows.
472 2008-01-25 Richard Hult <richard@imendio.com>
474 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
475 const and remove unused variables).
477 2008-01-25 Michael Natterer <mitch@imendio.com>
480 * gtk/gtkcellrenderer.h
485 * gtk/gtktreeprivate.h
486 * gtk/gtktreeviewcolumn.h
487 * gtk/gtkwidget.h: add const to constant structs which are passed
488 into GTK+. Also add some forgotten const for const strings.
492 * gtk/gtkcellrenderer.c
498 * gtk/gtktreeviewcolumn.c
499 * gtk/gtkwidget.c: changed accordingly.
501 2008-01-25 Sven Herzberg <sven@imendio.com>
503 Reviewed by Johan Dahlin.
505 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
506 this is called with something that's not a GtkUIManager
508 2008-01-24 Johan Dahlin <johan@gnome.org>
510 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
511 Chain up to parent, so widgets can have internal children.
513 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
515 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
518 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
520 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
522 Use pango_layout_set_height() for calendar details (#506049).
524 * configure.in: Require 1.19.3 for pango_layout_set_height().
525 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
527 2008-01-18 Johan Dahlin <johan@gnome.org>
529 * gtk/gtk-builder-convert (get_property_node): New method
530 (GtkBuilderConverter._create_object): Conditionally take a node as
531 a property value, so don't lose translate/context attributes if they
533 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
534 property values instead of strings.
535 (#509153, Erik van Pienbroek)
537 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
539 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
541 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
542 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
543 * tests/testcalendar.c: Duplicate calendar details before returning.
545 2008-01-16 Christian Persch <chpe@gnome.org>
547 * gtk/gtkwidget.c: Store the event mask and extension event mode
548 directly in the gobject data pointer, instead of in an allocated
551 2008-01-16 Michael Natterer <mitch@imendio.com>
553 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
554 gdk-pixbuf now uses gio functions.
556 2008-01-16 Matthias Clasen <mclasen@redhat.com>
558 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
559 the notify::model signal. (#509819, David Zeuthen)
561 2008-01-15 Michael Natterer <mitch@imendio.com>
569 * gdk/gdkwindow.h: made more struct pointer and array parameters
570 const. GDK should now be constified as far as possible without
571 breaking source compatibility. Includes some minor cleanup like
572 indentation and s/nfoo/n_foo/ (bug #508544).
578 * gdk/gdkregion-generic.c
580 * gdk/directfb/gdkdisplay-directfb.c
581 * gdk/directfb/gdkwindow-directfb.c
582 * gdk/quartz/gdkdisplay-quartz.c
583 * gdk/quartz/gdkwindow-quartz.c
584 * gdk/win32/gdkdisplay-win32.c
585 * gdk/win32/gdkwindow-win32.c
586 * gdk/x11/gdkdisplay-x11.c
587 * gdk/x11/gdkwindow-x11.c: changed accordingly.
589 2008-01-14 Michael Natterer <mitch@imendio.com>
591 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
594 (gtk_rc_parse_any): change variables to const and introduce
595 another local variable to fix const warnings.
597 2008-01-14 Michael Natterer <mitch@imendio.com>
599 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
600 of gdk_screen_get_font_options() to gpointer to get rid of const
603 2008-01-14 Michael Natterer <mitch@imendio.com>
605 * tests/testdnd.c (source_drag_data_get): fix another call to
606 gtk_selection_data_set().
608 2008-01-14 Michael Natterer <mitch@imendio.com>
610 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
613 2008-01-14 Michael Natterer <mitch@imendio.com>
615 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
617 2008-01-14 Michael Natterer <mitch@imendio.com>
619 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
620 "uris" to guchar* when passing it to gtk_selection_data_set().
622 2008-01-14 Michael Natterer <mitch@imendio.com>
630 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
631 parameters const (bug #508544).
637 * gdk/gdkpolyreg-generic.c
638 * gdk/gdkregion-generic.c
639 * gdk/directfb/gdkcolor-directfb.c
640 * gdk/directfb/gdkgc-directfb.c
641 * gdk/directfb/gdkgeometry-directfb.c
642 * gdk/directfb/gdkwindow-directfb.c
643 * gdk/quartz/gdkcolor-quartz.c
644 * gdk/quartz/gdkgc-quartz.c
645 * gdk/quartz/gdkgeometry-quartz.c
646 * gdk/quartz/gdkwindow-quartz.c
647 * gdk/win32/gdkcolor-win32.c
648 * gdk/win32/gdkgc-win32.c
649 * gdk/win32/gdkgeometry-win32.c
650 * gdk/win32/gdkprivate-win32.h
651 * gdk/win32/gdkwindow-win32.c
652 * gdk/x11/gdkcolor-x11.c
653 * gdk/x11/gdkgc-x11.c
654 * gdk/x11/gdkgeometry-x11.c
655 * gdk/x11/gdkmain-x11.c
656 * gdk/x11/gdkprivate-x11.h
657 * gdk/x11/gdkwindow-x11.c: changed accordingly.
659 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
662 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
664 Explain name choice for gtk_tool_item_toolbar_reconfigured.
666 * gtk/gtktoolitem.c: Add comment expaining name choice for
667 gtk_tool_item_toolbar_reconfigured.
669 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
671 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
672 implementations to notify its children, when some aspect of their
673 configuration changed (#509042).
675 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
676 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
677 Rename _gtk_tool_item_toolbar_reconfigured.
679 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
681 Include <gtk/gtktoolshell.h> from gtk.h.
683 * gtk/gtk.h: Add gtktoolshell.h
685 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
687 Print angle brackets arround e-mail addresses in the about dialog
688 (#409520, Mariano Suárez-Alvarez).
690 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
692 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
694 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
695 special casing so test widgets are always queues for destruction
698 * gtk/tests/testing.c: removed bits left-over from testing without
701 2008-01-10 Tor Lillqvist <tml@novell.com>
703 * modules/other/gail/libgail-util/Makefile.am
704 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
707 2008-01-10 Tor Lillqvist <tml@novell.com>
709 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
710 uses gtkprintunixdialog API.
712 2008-01-10 Tor Lillqvist <tml@novell.com>
714 * gdk/win32/gdkdisplay-win32.c
715 * gdk/win32/gdkglobals-win32.c
716 * gdk/win32/gdkprivate-win32.h
717 * gdk/win32/gdkscreen-win32.c
718 * gdk/win32/gdkwindow-win32.c: Implement
719 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
720 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
723 2008-01-10 Cody Russell <bratsche@gnome.org>
725 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
726 Properly ref/unref windows and parents. (#506769)
728 2008-01-10 Richard Hult <richard@imendio.com>
730 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
731 (gdk_window_hide), (move_resize_window_internal): Move the
732 tracking rect workaround from here...
734 * gdk/quartz/GdkQuartzWindow.c:
735 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
736 movements during showing/hiding operations. Fixes bug #508516.
738 2008-01-10 Michael Natterer <mitch@imendio.com>
740 * gdk/directfb/gdkscreen-directfb.c
741 (gdk_screen_get_monitor_width_mm)
742 (gdk_screen_get_monitor_height_mm)
743 (gdk_screen_get_monitor_plug_name): add these functions to make
746 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
748 * gtk/gtkrecentchoosermenu.c:
749 (idle_populate_func), (idle_populate_clean_up): Fix possible
750 recursion by resetting the idle source id. (#507605, William
753 2008-01-10 Kristian Rietveld <kris@imendio.com>
755 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
756 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
757 avoid valgrind warnings. (#507751, patch from Christian Persch).
759 2008-01-10 Kristian Rietveld <kris@imendio.com>
761 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
762 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
764 2008-01-10 Kristian Rietveld <kris@imendio.com>
766 Fix #477175, reported by Juri Pakaste.
768 * gtk/gtktreeprivate.h:
769 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
770 tree_view->priv->dy here directly, just calculate the new value
771 and set it on the adjustment,
772 (gtk_tree_view_adjustment_changed): add guards to not call
773 gtk_tree_view_dy_to_top_row() if we are currently in
774 gtk_tree_view_top_row_to_dy(),
775 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
776 coordinates, not tree coordinates,
777 (gtk_tree_view_real_start_editing): add cast.
779 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
780 position of the editable in the "create new row and start editing"
783 2008-01-09 Michael Natterer <mitch@imendio.com>
785 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
788 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
789 * gtk/gtkicontheme.c (theme_list_contexts)
790 (gtk_icon_theme_lookup_icon)
791 * gtk/gtkimcontextsimple.c (beep_window)
792 * gtk/gtklinkbutton.c (set_link_color)
793 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
796 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
797 variable and add const to another to fix a warning.
799 2008-01-07 Matthias Clasen <mclasen@redhat.com>
801 * gtk/gtkassistant.c (remove_page): Be more robust when removing
802 the current page. (#499951, Andreas Sandberg)
804 2008-01-06 Johan Dahlin <johan@gnome.org>
806 * gtk/gtkspinbutton.c: Declare value in the example code for
807 GtkSpinButton::output, as pointed out by Anders Carlsson.
809 2008-01-06 Christian Persch <chpe@gnome.org>
811 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
812 and remove an obsolete event box. Bug #506760.
814 2008-01-06 Johan Dahlin <johan@gnome.org>
816 * tests/buildertest.c (test_domain):
817 Update, GtkBuilder::translation-domain is no longer set
819 * gtk/gtkbuilderparser.c (parse_interface):
820 Allow domains to be overridden in <interface>'s if a translation-domain
821 is set in the builder.
822 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
823 of the builder, make the domain set in the <interface> apply only to strings
825 (#496831, Ryan Lortie)
827 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
830 * gtk/gtktreestore.c (tree_model_end_element):
831 Remove an unused variable
833 2008-01-06 Matthias Clasen <mclasen@redhat.com>
835 * gtk/gtkspinbutton.c: Document the ::output signal and
836 add an example. (#507566, example by Owen Taylor)
838 2008-01-06 Johan Dahlin <johan@gnome.org>
840 * gtk/gtkcellrenderercombo.c:
841 (gtk_cell_renderer_combo_get_property),
842 (gtk_cell_renderer_combo_set_property):
843 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
844 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
845 * gtk/gtknotebook.c: (gtk_notebook_set_property):
846 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
847 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
848 (gtk_text_buffer_get_property):
849 * gtk/gtktextview.c: (gtk_text_view_set_property):
850 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
851 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
852 (gtk_tool_button_get_property):
853 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
854 (gtk_tool_item_get_property):
855 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
856 * gtk/gtkwidget.c: (gtk_widget_set_property):
857 * gtk/gtkwindow.c: (gtk_window_set_property):
858 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
861 2008-01-06 Johan Dahlin <johan@gnome.org>
863 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
864 Make sure that --root works for toplevel widgets.
865 (#491847, Phil Lello)
867 2008-01-05 Johan Dahlin <johan@gnome.org>
869 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
870 to make sure that make test-report works properly
872 2008-01-05 Christian Persch <chpe@gnome.org>
874 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
875 GType as integer through gpointer. Bug #507395.
877 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
879 Avoid some compiler warnings (#507000).
881 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
882 for value argument of _gtk_builder_flags_from_string.
883 * gtk/gtkwidget.c: Don't alias the child pointer passed
884 to gdk_window_get_user_data.
886 2008-01-04 Michael Natterer <mitch@imendio.com>
888 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
889 to set the time in the returned GdkTimeCoords.
891 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
893 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
894 correct comparison function (kudos to Christian Persch and
895 Claudio Saavedra for spotting this)
897 * gtk/gtkrecentchooserutils.c:
898 (sort_recent_items_mru),
899 (sort_recent_items_lru): Ditto as above.
901 2008-01-03 Johan Dahlin <johan@gnome.org>
903 * tests/defaultvaluetest.c: Make it pass again.
905 2008-01-02 Johan Dahlin <johan@gnome.org>
907 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
908 make it pass on Ubuntu.
909 (main): Use gtk_test_list_all_types () instead of providing our
911 And it no longer passes.
913 2007-12-30 Johannes Schmid <jhs@gnome.org>
915 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
916 Also reorder menu when reordering tabs by drag & drop
919 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
920 Add a menu to one of the notebooks to have a test-case for
921 the change mentioned above.
923 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
925 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
927 2007-12-31 Christian Persch <chpe@gnome.org>
929 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
930 Plug a mem leak. Bug #506107.
932 2007-12-28 Matthias Clasen <mclasen@redhat.com>
934 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
935 icon cache api change. (#506135, Kazuki Iwamoto)
937 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
939 Consider "wide-separators" and "separator-height" style properties:
940 The separator is drawn using gtk_paint_box instead of cairo, when
941 "wide-separators" is set. Also do not highlight details for previous
942 or next month, if their day matches the selected day. (#339540)
944 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
945 in gtk_calendar_size_request and calendar_paint_day
946 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
947 for selected detail separators in GtkCalendar.
949 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
951 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
953 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
954 a local variable instead in gtk_calendar_size_request.
956 2007-12-28 Matthias Clasen <mclasen@redhat.com>
958 * tests/defaultvaluetest.c: Add enough exclusions to make the
961 2007-12-28 Christian Persch <chpe@gnome.org>
963 * modules/other/gail/Makefile.am:
964 * modules/other/gail/tests/*:
965 * configure.in: Merge tests from standalone gail. Bug #504568.
967 2007-12-28 Matthias Clasen <mclasen@redhat.com>
969 * gtk/gtkclipboard.c: Make the finalizer work when display is
972 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
974 Draw bottom shadow of GtkCalender headings. (#506113)
976 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
978 2007-12-28 Matthias Clasen <mclasen@redhat.com>
980 * gtk/gtkcalendar.c: Document the initial values of year/month/day
983 2007-12-28 Christian Persch <chpe@gnome.org>
985 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
986 a mem leak. Bug #506096.
988 2007-12-28 Matthias Clasen <mclasen@redhat.com>
992 * gtk/gtkprintoperation.c:
993 * gtk/gtkprogressbar.c:
994 * gtk/gtkmessagedialog.c:
999 * gtk/gtklinkbutton.c:
1000 * gtk/gtkmenu.c: More default property value corrections.
1002 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1004 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
1005 accel_group unless it is set.
1007 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1009 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
1011 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1013 * gtk/gtkhandlebox.c: Fix the default values of shadow and
1014 shadow-type properties.
1016 * gtk/gtkfontsel.c: Fix the default values of several properties.
1018 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
1021 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
1023 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
1026 2007-12-28 Johan Dahlin <johan@gnome.org>
1028 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
1029 (gtk_dialog_buildable_custom_tag_start): Chain up.
1030 This makes it possible to have accelerators tags on GtkDialog
1033 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1035 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
1036 are shown within the widget, or just as tooltip. (#339540)
1038 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
1039 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
1040 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
1043 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1045 Try more decent appearance of calendar details separator. (#339540)
1047 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
1048 and make it short by one pixel on each side.
1050 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1052 Apply trivial code-style changes from attachement 101101. (#339540)
1054 * tests/testcalendar.c: Some updates to current GTK+ code-style.
1056 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1058 Restructure testcalendar for testing calendar details. (#339540)
1060 * tests/testcalendar.c: Push code arround for testing calendar details.
1062 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1064 Implement GtkTooltip API for calendar details. (#339540)
1066 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
1067 Remember detail overflows in calendar_paint_day to show the tooltip
1068 only when neccessary.
1070 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1072 Without setting "detail-width-chars" and "detail-height-rows"
1073 properties not only the widget has to be redrawn on certain
1074 conditions, but also its size must be recalculated. (#339540)
1076 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
1077 that function instead of gtk_widget_queue_draw.
1079 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1081 Consider details for size-request and expose-event. (#339540)
1083 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
1084 is_color_attribute functions. Change gtk_calendar_size_request
1085 and calendar_paint_day to consider and show calender details.
1087 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1089 * gtk/gtkcombobox.c: Introduce local priv variables to
1092 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1094 * gtk/gtkcombobox.c: Correct the default value for the
1095 tearoff-title property.
1097 * gtk/gtkcellrenderertext.c: Fix the default value for the
1098 wrap-mode and font-scale properties.
1100 * gtk/gtkaspectratio.c: Fix the default value for the ratio
1103 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1105 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
1106 defines. (#505708, MINAMI Hirokazu)
1108 2007-12-27 Christian Persch <chpe@gnome.org>
1110 * Makefile.am: Install gail.pc. Bug #505859.
1112 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
1114 Add infrastructure for GtkCalendar details. (#339540)
1116 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
1117 Add "detail-width-chars" and "detail-height-rows" properties,
1118 and gtk_calendar_set_detail_func function.
1120 2007-12-27 Xan Lopez <xan@gnome.org>
1123 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
1125 Add gtk_border_new to avoid memory allocator confusions when using
1126 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
1128 2007-12-27 Christian Persch <chpe@gnome.org>
1130 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
1131 bug #504886 not to read unitialised memory.
1133 2007-12-26 Xan Lopez <xan@gnome.org>
1135 * gtk/gtkstatusbar.c (has_extra_children): take into account the
1136 modification of the internal frame contents to decide if we have
1137 extra children. (#415677)
1139 2007-12-22 Christian Persch <chpe@gnome.org>
1141 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
1143 2007-12-25 Christian Persch <chpe@gnome.org>
1145 * modules/other/gail/gailwindow.c: (gail_window_initialize):
1146 Initialise |widget|. Fixes a buglet introduced by the commit from bug
1149 2007-12-25 Christian Persch <chpe@gnome.org>
1151 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
1153 2007-12-25 Christian Persch <chpe@gnome.org>
1155 * modules/other/gail/*.[ch]: Remove relocations from the atk
1156 factories. Remove unused gail_foo_new() functions. Fix object
1157 instantiation to be derivation safe by moving initialisation code
1158 from the removed gail_foo_new() functions to the
1159 AtkObjectClass::initialize implementation. Bug #505226.
1161 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1163 * modules/other/gail/gailentry.c:
1164 * modules/other/gail/gailimage.c:
1165 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
1166 uses of clipboards and settings. (#504722, Christian Persch)
1168 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1170 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
1173 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1175 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
1176 use the time and button information from the event. (#504901,
1179 2007-12-23 Cody Russell <bratsche@gnome.org>
1181 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
1182 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
1183 Fixes a regression caused by #164537 patch where transient
1184 windows that are hidden get shown (incorrectly) when their
1185 parents are minimized. (#504984)
1187 2007-12-22 Christian Persch <chpe@gnome.org>
1189 * modules/other/gail/gailcell.c:
1190 * modules/other/gail/gailcontainercell.c:
1191 * modules/other/gail/gailexpander.c:
1192 * modules/other/gail/gailtextcell.c:
1193 * modules/other/gail/gailtextview.c:
1194 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
1196 2007-12-22 Christian Persch <chpe@gnome.org>
1198 * modules/other/gail/*.c: Include config.h. Bug #504720.
1200 2007-12-22 Christian Persch <chpe@gnome.org>
1202 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
1203 handwritten get_type functions. Bug #504661.
1205 2007-12-23 Xan Lopez <xan@gnome.org>
1207 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
1208 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
1210 Patch by Sadrul Habib Chowdhury (#504804)
1212 2007-12-22 Christian Persch <chpe@gnome.org>
1214 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
1215 #504645, patch by Li Yuan.
1217 2007-12-22 Christian Persch <chpe@gnome.org>
1219 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
1221 2007-12-22 Christian Persch <chpe@gnome.org>
1223 * modules/other/gail/gail.c:
1224 * modules/other/gail/gailbutton.c:
1225 * modules/other/gail/gailcell.c:
1226 * modules/other/gail/gailcombo.c:
1227 * modules/other/gail/gailcombo.h:
1228 * modules/other/gail/gailcombobox.c:
1229 * modules/other/gail/gailentry.c:
1230 * modules/other/gail/gailexpander.c:
1231 * modules/other/gail/gailmenuitem.c:
1232 * modules/other/gail/gailnotebook.c:
1233 * modules/other/gail/gailnotebookpage.c:
1234 * modules/other/gail/gailnotebookpage.h:
1235 * modules/other/gail/gailoptionmenu.c:
1236 * modules/other/gail/gailrange.c:
1237 * modules/other/gail/gailtextview.c:
1238 * modules/other/gail/gailtreeview.c:
1239 * modules/other/gail/gailtreeview.h:
1240 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
1243 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1245 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
1248 2007-12-21 Richard Hult <richard@imendio.com>
1250 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
1251 Plug leak of destroyed subviews, fixes bug #504753.
1253 2007-12-20 Johan Dahlin <johan@gnome.org>
1255 * tests/Makefile.am (TEST_PROGS):
1256 * tests/defaultvaluetest.c: Add a test for default values,
1257 based on program by Christan Perch
1259 2007-12-20 Johan Dahlin <johan@gnome.org>
1261 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
1262 Refactor to avoid some duplication.
1263 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
1264 Fixes #504749, Yuri Pimenov
1266 2007-12-20 Kristian Rietveld <kris@imendio.com>
1268 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
1269 the build work again on systems without xrandr 1.2.
1271 2007-12-20 Christian Persch <chpe@gnome.org>
1274 * modules/other/gail/libgail-util/Makefile.am:
1275 Keep the same libtool version as the standalone libgail-util had.
1278 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
1280 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
1282 2007-12-20 Alexander Larsson <alexl@redhat.com>
1284 * gdk/x11/gdkapplaunchcontext-x11.c:
1285 Update for gio API changes
1287 2007-12-20 Richard Hult <richard@imendio.com>
1289 * gdk/quartz/GdkQuartzWindow.c:
1290 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
1291 processing events after changing the size.
1293 2007-12-20 Richard Hult <richard@imendio.com>
1295 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
1296 Add stub for quartz to fix build.
1298 2007-12-20 Christian Persch <chpe@gnome.org>
1300 * modules/other/gail/Makefile.am:
1301 * modules/other/gail/gailimage.c: (gail_image_class_init),
1302 (gail_image_init), (elide_underscores), (gail_image_get_name),
1303 (atk_image_interface_init), (gail_image_finalize):
1304 * modules/other/gail/gailimage.h:
1305 R modules/other/gail/gailintl.h:
1306 * po/POTFILES.skip: Use the stock item's label as the name of the
1307 accessible in gailimage.c. Bug #504246.
1309 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
1311 Avoid some compiler warnings and remove obsolete code. (#339540)
1313 * gtk/gtkcalendar.c: Change week and year variable in
1314 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
1315 0" block from calendar_paint_day: The feature in question is handled
1316 few lines above. Cast data returned by gtk_selection_data_get_text()
1317 to (gchar*) in gtk_calendar_drag_data_received.
1319 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
1321 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
1323 2007-12-19 Johan Dahlin <johan@gnome.org>
1325 * tests/buildertest.c (test_object_properties):
1326 Add another call to gtk_builder_add_string after using
1327 delayed properties, as reported in #504393 but already
1330 2007-12-18 Christian Persch <chpe@gnome.org>
1333 * docs/reference/Makefile.am:
1334 * docs/reference/libgail-util/*:
1335 * gail-uninstalled.pc.in:
1337 * modules/Makefile.am:
1338 * modules/other/Makefile.am:
1339 * modules/other/gail/*:
1340 * modules/other/gail/libgail-util/*:
1341 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
1343 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1345 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
1346 * gdk/win32/gdkproperty-win32.c:
1347 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
1349 * gtk/gtkimmodule.[hc]:
1350 * gtk/gtkimmulticontext.[hc]: When determining the default context,
1351 look at the gtk-im-module setting, and listen for changes to the
1352 setting. (#502446, Akira Tagoh)
1354 2007-12-17 Kristian Rietveld <kris@imendio.com>
1356 * gtk/gtktooltip.c (gtk_tooltip_finalize),
1357 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
1358 to NULL as soon as it's destroyed. (#496546, patch from
1361 2007-12-17 Kristian Rietveld <kris@imendio.com>
1363 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
1364 always determine what arrow to show if show_sort_indicator is true.
1365 (#352738, Chris Vine).
1367 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
1369 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
1370 Sébastien Granjoux)
1372 * gtk/gtkpaned.c: Call gtk_container_forall instead of
1373 gtk_container_foreach in get_child_panes.
1375 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
1377 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
1379 Plug leak: When reordering the info in the list the old node is
1380 removed but not freed. (#503569)
1382 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
1384 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
1385 Use u32 instead of __u32 and u8 instead of __u8 as the other types
1386 are deprecated since DirectFB 1.0.0. If compiling with an older
1387 version define the new type name to the old types. Fixes bug #503190.
1389 2007-12-14 Ray Strode <rstrode@redhat.com>
1391 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
1392 instead of g_signal_connect_after (..., "realize", ...) as an
1393 alternative to gtk_widget_realize () (bug 503537).
1395 2007-12-14 Michael Natterer <mitch@imendio.com>
1397 * gdk/gdkinternals.h
1398 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
1401 * gdk/gdkapplaunchcontext.c
1402 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
1403 header already includes everything now.
1405 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1407 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
1408 next stable release shall be 2.16, not 2.14 - even if disagree.
1410 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
1412 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1414 Change GtkToolItem to retrieve its properties from GtkToolShell
1415 interface, instead of relying on being child of a GtkToolbar.
1418 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
1419 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
1420 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
1421 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
1422 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
1423 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
1424 Take section docs from template file and update them for GtkToolShell.
1425 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
1426 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
1428 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1430 Extract loading of GtkPageSetup and GtkPrintSettings from their
1431 *_new_*() functions and move that code into separate
1432 *_load_*() functions (#475565).
1434 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
1435 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
1436 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
1437 Change the matching *_new_*() functions to use those functions.
1439 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1442 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
1444 2007-12-14 Kristian Rietveld <kris@imendio.com>
1446 * gtk/tests/liststore.c:
1447 * gtk/tests/treestore.c: added tests for insertion functions.
1449 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
1451 * Add RandR 1.2 support
1453 - New monitors_changed signal - New API to get width/height of
1454 monitors, and the name of the plug
1456 2007-12-13 Kristian Rietveld <kris@imendio.com>
1458 * gtk/tests/liststore.c:
1459 * gtk/tests/treestore.c: test the move and swap functions on a
1460 store with only one node.
1462 2007-12-13 Kristian Rietveld <kris@imendio.com>
1464 * gtk/gtktestutils.c (gtk_test_init): add a call to
1467 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
1470 2007-12-13 Kristian Rietveld <kris@imendio.com>
1472 * gtk/tests/liststore.c:
1473 * gtk/tests/treestore.c: start composing tests for the list and tree
1476 * gtk/tests/treeview-scrolling.c: added automated tests for
1477 GtkTreeView's scrolling "subsystem".
1479 * gtk/tests/Makefile.am: updated; added new test programs.
1481 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
1483 Make the code compile again after the GdkAppLaunchContext changes.
1485 * configure.in: Add gio-2.0 to GDK_PACKAGES.
1486 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
1488 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1490 * gdk/gdkapplaunchcontext.c: Add docs
1492 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1494 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
1495 in gdk, providing startup notification. (#503203)
1497 * gdk/x11/gdkapplaunchcontext-x11.c:
1498 * gdk/win32/gdkapplaunchcontext-win32.c:
1499 * gdk/quartz/gdkapplaunchcontext-quartz.c:
1500 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
1501 parts. All but X11 are just empty stubs for now.
1504 * gdk/gdkinternals.h:
1506 * gdk/x11/Makefile.am:
1507 * gdk/win32/Makefile.am:
1508 * gdk/quartz/Makefile.am:
1509 * gdk/directfb/Makefile.am: Necessary glue.
1511 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
1513 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
1515 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1517 * gdk/directfb/gdktestutils-directfb.c:
1518 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
1519 which adds testing functions to the DirectFB backend.
1521 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1523 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
1524 Ciccani which fixes the mixing of gdk and cairo rendering.
1526 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
1528 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
1529 on "drag-motion" handlers. Clearify documentation for
1532 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
1534 * buildertest.c: made unnecessarily exported symbols static.
1535 switched g_return_if_fail() statements in tests to assertions.
1536 special cased currently failing Widget/accesibility test to
1537 run only for g_test_thorough(), so it doesn't break make check.
1538 some coding style fixes.
1540 * Makefile.am: added buildertest to TEST_PROGS.
1542 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1544 * docs/tutorial/gtk-tut.sgml:
1545 Use gtk_widget_get_parent_window() instead of widget->parent->window.
1547 2007-12-10 Richard Hult <richard@imendio.com>
1549 * gdk/quartz/Makefile.am:
1550 * gdk/quartz/gdkquartz.h:
1551 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
1552 header (bug #405915). Also add a getter for the toplevel nswindow.
1554 2007-12-10 Richard Hult <richard@imendio.com>
1556 * gdk/quartz/gdkdrawable-quartz.c:
1557 (gdk_quartz_drawable_get_context),
1558 (gdk_quartz_drawable_release_context):
1559 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
1560 (gdk_event_check), (gdk_event_dispatch), (poll_func):
1561 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
1562 used for each drawing context and in prepare, dispatch and poll
1563 with one that exists across each main loop iteration. Fixes leaks
1564 on leopard and protects against future leaks introduce when the
1565 underlying system changes again (bug #492977).
1567 2007-12-10 Richard Hult <richard@imendio.com>
1569 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
1570 Fix the check for no changes to position and size.
1572 2007-12-10 Richard Hult <richard@imendio.com>
1574 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
1575 sized areas at (0, 0), patch from Paul Davis.
1577 2007-12-10 Richard Hult <richard@imendio.com>
1579 * gdk/quartz/gdkprivate-quartz.h:
1580 * gdk/quartz/gdkeventloop-quartz.c:
1581 (_gdk_quartz_event_loop_get_pending),
1582 (_gdk_quartz_event_loop_check_pending),
1583 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
1584 (gdk_event_check), (gdk_event_dispatch):
1585 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
1586 (_gdk_events_queue): Fix a bug where we could end up trying to
1587 handle the same event more than once. Based on patch from Paul
1590 2007-12-10 Tor Lillqvist <tml@novell.com>
1592 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
1595 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1597 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
1598 to avoid further fallout from the fix for bug 388321.
1600 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1602 * gdk/directfb/gdkgc-directfb.c:
1603 * gdk/directfb/gdkdrawable-directfb.c:
1604 * gdk/directfb/gdkdirectfb.h:
1605 * gdk/directfb/gdkwindow-directfb.c:
1606 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
1607 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
1608 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
1609 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
1610 which are expected to improve the performance of the DirectFB backend.
1611 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
1613 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1615 * gtk/gtkcontainer.c: Correct the documentation of child
1616 property getter arguments. (#501992, David Brigada)
1618 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1620 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
1621 leak pixbufs. (#502250, Yevgen Muntyan)
1623 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
1625 * gtk/gtkprintunixdialog.c:
1626 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
1627 Print and Page Setup dialogs (#502202).
1629 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
1631 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
1632 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
1633 of XVFB_START, since it's the GTESTER invokation that needs this.
1635 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
1637 * gdk-pixbuf/gdk-pixbuf.symbols:
1639 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
1640 positives in abicheck.sh
1642 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1644 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
1645 GDK events generations in the DirectFB backend.
1647 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
1649 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
1650 set of likely unused display ids, because MacOS has no seq(1) command.
1652 2007-12-06 Richard Hult <richard@imendio.com>
1654 * gdk/quartz/gdkevents-quartz.c:
1655 (synthesize_crossing_events_for_ns_event): Fix warning when
1656 switching spaces in leopard.
1658 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
1660 * tests/floatingtest.c: ported to new testing framework.
1662 * tests/Makefile.am: run floatingtest as testing framework test.
1664 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
1666 * tests/autotestfilechooser.c: majorly speed up execution by reducing
1667 timeouts and converting main loop sleeps to pending/iterate loops with
1668 very low priority async handlers. eliminate output for non-verbose
1669 tests. assert successfull subtests in all test functions. use testing
1670 framework in main().
1672 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
1673 executed inside Xvfb upon make check.
1675 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
1677 * tests/objecttests.c: use string comparisons for string property
1678 values and get rid of referencing symbols in array initialization.
1680 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
1682 * gtk+/Makefile.decl: run tests in current dir after setting up the
1683 logging directory, so their results get properly merged into the
1686 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
1687 tests to loop over registered Gdk/Gtk+ types.
1689 * gtk+/tests/objecttests.c: new test program, implements automated
1690 property tests. several properties are blacklisted because they
1691 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
1692 can be used to test blacklisted properties and see which proprty failed.
1694 2007-12-04 Richard Hult <richard@imendio.com>
1696 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
1697 Fully initialize the root window, fixes bug #501583.
1699 2007-12-04 Matthias Clasen <mclasen@redhat.com>
1701 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
1704 2007-12-03 Richard Hult <richard@imendio.com>
1706 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
1707 Don't crash when dragging from a source that doesn't support uri
1708 lists (bug #499868, Paul Davis).
1710 2007-12-03 Richard Hult <richard@imendio.com>
1712 * gdk/quartz/gdkwindow-quartz.c:
1713 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
1714 parent relative bg pixmap is set, and no parent has a bg
1715 pixmap. Fixes bug #500804.
1717 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1719 Two optimizations for icon cache lookups.
1721 * gtk/gtkiconcache.[hc]:
1722 * gtk/gtkicontheme.c: Remember the directory index for
1723 subdirectories, instead of running over the directory list
1726 * gtk/gtkiconcache.c (find_image_offset): Remember the last
1727 chain and try it first; this helps with the the usage patterns
1728 in gtkicontheme.c, where the same icon is queried for a lot
1731 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
1733 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
1734 functions from header files. this should be portable across linux and
1735 Mac OS, unlike the previpous sed expression.
1737 2007-12-1 Cody Russell <bratsche@gnome.org>
1739 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
1740 On Windows, queue a redraw of child2 whenever we set
1741 the pane handle position. This is unfortunately kind
1742 of hacky, but solves the visual artifacts that were
1743 occuring on at least certain types of child widgets
1744 (e.g., text views and tree views) that are inside
1745 horizontal or vertical panes. (#144269)
1747 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1749 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
1751 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1753 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
1756 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1758 * gtk/Makefile.am: Fix ordering of subdirs.
1760 2007-11-28 Tor Lillqvist <tml@novell.com>
1762 A proper build of GNU libintl is supposed to export the variable
1763 _nl_msg_cat_cntr. configure looks for that variable in order to
1764 recognize GNU gettext. If it sees that it is indeed GNU gettext
1765 that is used, it decides to install message catalogs in
1766 share/locale, otherwise in lib/locale. Until now on Windows I have
1767 built GTK+ against a build of GNU gettext that did not export
1768 _nl_msg_cat_cntr. But this will change, so we can't assume message
1769 catalogs are always in lib/locale.
1771 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
1772 GTK_LOCALEDIR being either in "lib" or "share". Move the function
1773 before the inclusion of gtkprivate.h so that it sees the original
1776 * gtk-zip.sh.in: Check whether the message catalogs are in
1777 share/locale or lib/locale.
1779 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
1780 that the code in _gtk_get_localedir() will find the slashes.
1782 2007-11-28 Tor Lillqvist <tml@novell.com>
1784 * gtk/Makefile.am: Improve portability. The -o option is present
1785 only in newish GNU egreps. Use one more sed in the pipeline
1788 2007-11-28 Tor Lillqvist <tml@novell.com>
1790 Fix #375893, patch by Ben Hague:
1792 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
1793 around GetLogicalDrives() that takes also the viewable drive
1794 restrictions in the Registry (which are usually the result of an
1795 Active Directory Group Policy) into account.
1797 (check_volumes, gtk_file_system_win32_list_volumes) Call
1798 get_viewable_logical_drives() instead of GetLogicalDrives().
1800 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1802 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
1803 variables to silence valgrind. (#495124, Morten Welinder)
1805 2006-11-26 Ryan Lortie <desrt@desrt.ca>
1807 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
1808 that the construct_child function is responsible for returning a
1810 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
1811 objects from constructors
1812 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
1813 g_object_ref() to this construction function (it's the only
1818 2006-11-26 Ryan Lortie <desrt@desrt.ca>
1820 * gtkbuilder.c: remove concept of root objects and just refcount
1821 all objects in the builder. Fixes #496651.
1823 2007-11-26 Ryan Lortie <desrt@desrt.ca>
1825 * tests/buildertest.c (test_window): fix invalid free
1827 2007-11-26 Josselin Mouette <joss@malsain.org>
1829 reviewed by: Federico Mena Quintero
1831 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
1832 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
1833 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
1834 Make the shortcuts activate with a single click. (#148828)
1835 Fix a few things affected by the change:
1836 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
1837 where no shortcut is selected.
1838 - Don't activate a shortcut in the response callback.
1839 - Filter out duplicate entries in volumes and bookmarks to
1840 avoid the selection to change when reordering them with DnD.
1842 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1845 * gtk/gtknotebook.c:
1846 * gtk/gtkplugprivate.h:
1848 * gtk/gtksocketprivate.h:
1849 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
1851 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1853 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
1854 (#495574, Richard Hult)
1856 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1858 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
1859 String change ! (#376361, Sven Neumann)
1861 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1863 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
1865 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
1868 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1870 * gtk/gtkassistant.c: Improve alternative button
1871 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
1873 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1875 * gtk/gtkcalendar.c: Fix a theming problem with colors
1876 in GtkCalendar. (#499703, Michael Hofmann)
1878 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1880 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
1882 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1884 Use templates for glib-mkenums calls instead of
1885 complicated commandlines in Makefiles. (#429910)
1887 * gdk-pixbuf/Makefile.am:
1890 * perf/Makefile.am: Use templates for glib-mkenums
1892 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
1893 * gdk/gdkenumtypes.[ch].template:
1894 * gtk/gtktypebuiltings.[ch].template:
1895 * perf/typebuiltins.[ch].template: The templates
1897 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1899 * gtk/gtkfilechooserbutton.c:
1900 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
1901 some compilers choke on that. (#467722)
1903 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1905 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
1906 about hook setup. (#425004, Emmanuele Bassi)
1908 2007-11-26 Tor Lillqvist <tml@novell.com>
1910 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
1911 monitor the window currently is on, not always the primary
1912 monitor. (#463865, Tim Evans)
1914 2007-11-26 Tor Lillqvist <tml@novell.com>
1916 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
1918 * gdk/win32/Makefile.am: Add it.
1920 2007-11-26 Tor Lillqvist <tml@novell.com>
1922 * configure.in: Don't add jasper to all_loaders if no libjasper.
1924 2007-11-25 Bastien Nocera <hadess@hadess.net>
1926 * configure.in: Add detection for libjasper, used by the
1927 gdk-pixbuf JPEG2000 loader
1929 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1931 * configure.in: Require gtk-doc 1.8
1933 * */*.c: Use gtk-doc abbreviations for examples in docs.
1935 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1937 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
1940 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1942 * gtk/gtkdialog.c: Move signal and property documentation inline,
1943 fix a problem with the ::response signal docs. (#499133, Josselin
1946 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
1948 * Makefile.decl: initialize automake variables EXTRA_DIST and
1949 TEST_PROGS for unconditional appending via += in other makefiles.
1950 define recursive test targets: test, test-report, perf-report,
1951 full-report, as described here:
1952 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
1953 the test targets will execute Gtk+ test programs within an Xvfb session.
1955 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
1957 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
1958 g_test_run() to run the tests to integrate with the testing framework.
1960 * gtk/tests/Makefile.am: removed exemplary testing rules.
1962 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
1963 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
1964 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
1965 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
1966 * docs/reference/Makefile.am, docs/tools/Makefile.am:
1967 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
1968 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
1969 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
1970 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
1971 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
1972 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
1973 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
1974 * modules/engines/ms-windows/Theme/Makefile.am:
1975 * modules/engines/ms-windows/Makefile.am:
1976 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
1977 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
1978 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
1979 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
1980 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
1981 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
1982 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
1984 2007-11-22 Matthias Clasen <mclasen@redhat.com>
1986 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
1987 (#485662, patch by Herbert Valerio Riedel)
1989 2007-11-22 Matthias Clasen <mclasen@redhat.com>
1991 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
1993 2007-11-21 Richard Hult <richard@imendio.com>
1995 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
1996 stubs for the testing functions to fix the build.
1998 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2000 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
2001 (#467711, The Written Word)
2003 2007-11-21 Ross Burton <ross@openedhand.com>
2005 * gdk/x11/gdksettings.c:
2006 Add xsetting for gtk-scrolled-window-placement (#458103).
2008 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2010 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
2011 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
2012 (#469239, Michael Natterer)
2014 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2016 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
2017 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
2018 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
2019 (#436536, Tommi Komulainen)
2021 2007-11-21 Matthias Clasen <mclasen@redhat.com>
2023 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
2024 property. (#489782, Jan Janech)
2026 2007-11-20 Matthias Clasen <mclasen@redhat.com>
2028 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
2029 frames. (#107398, Owen Taylor, Miguel Gomez)
2031 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
2033 Moved Gdk test functions from Gtk+ to Gdk test utils.
2035 * gdk/Makefile.am: added gdktestutils.h to public includes.
2037 * gdk/gdk.h: added gdktestutils.h to public includes.
2039 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
2040 gdk_test_render_sync.
2042 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
2043 gdk_test_simulate_key, gdk_test_render_sync.
2045 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
2047 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
2048 gdk_test_simulate_key, gdk_test_render_sync.
2050 * gtk/gtktestutils.c:
2051 * gtk/gtktestutils.h:
2052 * gtk/gtk.symbols: removed gtk_test_simulate_button
2053 gtk_test_simulate_key, gtk_test_xserver_render_sync.
2055 * gtk/tests/testing.c: call gdk_test_render_sync.
2057 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
2059 Added unit tests for Gtk+ testing utilities.
2061 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
2062 utility functions. some g_test_* related portions are disabled and need
2063 to be enabled once Gtk+ depends on a new glib with the GLib testing
2064 framework integrated.
2066 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
2067 added exemplary test rules to run tests inside Xvfb. this needs to depend
2068 on gtester for full fledged testing.
2070 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
2071 collecting _get_type functions to catch e.g. gtk_text_get_type().
2073 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
2075 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
2077 Added Gtk+ testing utilities.
2079 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
2080 for the most part, the functions herein involve navigating and interacting
2081 with dialog elements programatically, to automate user interaction tests of
2082 dialogs and widgets.
2084 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
2086 * gtk/gtk.symbols: added gtk_test_* symbols.
2088 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
2089 generate gtktypefuncs.c which contains a list of all _get_type functions in
2091 2007-11-20 Bastien Nocera <hadess@hadess.net>
2093 * configure.in: add support for conditional icns gdk-pixbuf loader
2096 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
2098 * configure.in: updated version number to 2.15.0 for development.
2100 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
2102 === Branch for 2.12 ===