1 2008-02-14 Richard Hult <richard@imendio.com>
3 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
4 (gdk_window_hide), (gdk_window_fullscreen),
5 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
8 2008-02-14 Richard Hult <richard@imendio.com>
10 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
11 resizing to be consistent and to avoid introducing an internal
12 transform in the view.
14 2008-02-14 Richard Hult <richard@imendio.com>
16 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
19 2008-02-14 Johan Dahlin <johan@gnome.org>
22 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
24 2008-02-13 Richard Hult <richard@imendio.com>
26 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
27 Remove unused variables.
28 (gtk_clipboard_set_contents),
29 (gtk_clipboard_get_owner), (clipboard_unset),
30 (gtk_clipboard_request_targets): Notify the previous clipboard
31 owner when the owner changes. Fixes bug #493406.
33 2008-02-13 Richard Hult <richard@imendio.com>
35 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
36 the return value (return number of colors that failed), and handle
38 (gdk_colormap_free_colors): Fix typo in comment.
40 2008-02-13 Kristian Rietveld <kris@imendio.com>
42 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
43 queue a redraw if the rubber banding has actually been active.
45 2008-02-12 Matthias Clasen <mclasne@redhat.com>
48 * gtk/gtkprintoperation.c:
49 * gtk/gtkvolumebutton.c:
50 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
51 out by Behdad Esfahbod.
53 2008-02-12 Federico Mena Quintero <federico@novell.com>
57 Don't focus the file list when shortcuts get activated. This
58 removes a lot of ambiguity in when the file selection should
59 change, and makes the overall code flow simpler.
61 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
62 file/save dialog clears the filename entry when changing
65 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
66 focus should not go to the file list when a shortcut is activated.
68 * gtk/gtkfilechooserdefault.c
69 (shortcuts_activate_volume_mount_cb): Don't focus the file list
70 (shortcuts_activate_get_info_cb): Likewise.
72 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
73 the file list (this was the last place where we would focus the
74 file list explicitly). If you are in the location entry, for
75 example, you don't want Alt-Home to take you to the file list; you
76 just want the current folder to change. Thanks to Olle Bergkvist
77 <olle.bergkvist@yahoo.se> for pointing this out in
78 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
79 (focus_browse_tree_view_if_possible): Removed.
81 2008-02-12 Matthias Clasen <mclasen@redhat.com>
83 Skip exensions when selecting filenames in the save-as dialog.
84 (#362516, Carlos Garnacho)
86 * gtk/gtkfilechooserentry.h:
87 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
88 New function to skip the extension part when selecting a filename.
89 (_gtk_file_chooser_entry_set_base_folder): Use it here.
91 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
94 2008-02-12 Matthias Clasen <mclasen@redhat.com>
96 * gtk/gtkiconview.c: Fix state change reporting for
97 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
99 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
101 * gtk/gtkrecentchooser.c:
102 (gtk_recent_chooser_class_init): Set the default value of the
103 :show-not-found property to TRUE, as every implementation sets
106 * gtk/gtkrecentchooserdefault.c:
107 (_gtk_recent_chooser_default_init): Sync show_tips to the
108 default value of the :show-tips property.
110 2008-02-12 Matthias Clasen <mclasen@redhat.com>
112 * gtk/gtkclipboard-quartz.c:
114 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
117 2008-02-12 Kristian Rietveld <kris@imendio.com>
119 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
120 (gtk_tree_view_real_toggle_cursor_row): guard against people
121 deleting the row in question in the selection-changed callback.
122 (#514621, Andreas Koehler).
124 2008-02-12 Matthias Clasen <mclasen@redhat.com>
126 * gtk/*.c: Unify the handling of various "Enter" keysyms
127 all over the place. (#515047, Christian Persch)
129 2008-02-12 Matthias Clasen <mclasen@redhat.com>
131 * gtk/gtkfilesystemmodel.c:
133 * gtk/gtkwidget.c: Use g_value_set_static_string() where
134 appropriate. (#515042, Christian Persch)
136 2008-02-12 Matthias Clasen <mclasen@redhat.com>
138 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
140 2008-02-12 Matthias Clasen <mclasen@redhat.com>
142 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
144 2008-02-12 Matthias Clasen <mclasen@redhat.com>
146 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
147 (recent_model_sort_drag_data_get):
148 (search_model_sort_drag_data_get):
149 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
150 * gtk/gtkpathbar.c (button_drag_data_get_cb):
151 Use gtk_selection_data_set_uris() instead of doing it
152 by hand. (#514890, Christian Persch)
154 2008-02-12 Michael Natterer <mitch@imendio.com>
156 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
157 gtk_get_current_event_time().
159 2008-02-12 Michael Natterer <mitch@imendio.com>
161 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
162 gtk_window_get_key_hash() to get the hash instead of manually
163 fiddling with quarks and gtk_window_keys_changed(). Also add
164 g_return_if_fail() to this public function.
166 2008-02-11 Matthias Clasen <mclasen@redhat.com>
168 Support keynav in status icons. (#473786, Li Yuan)
170 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
172 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
174 2008-02-11 Kristian Rietveld <kris@imendio.com>
176 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
177 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
178 wrt. link deletion from list; contination of fix for #503569.
180 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
182 * gtk/gtkrecentchoosermenu.c:
183 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
184 on the placeholder menu item.
186 * tests/testrecentchoosermenu.c:
187 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
188 whether the placeholder menu item gets shown.
190 2008-02-10 Cody Russell <bratsche@gnome.org>
192 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
193 Check the return value of _gtk_file_chooser_get_file_system () for
194 NULL before passing it to gtk_file_system_path_to_uri ().
195 (#515667, Francesco Montorsi)
197 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
199 * gtk/gtkbuilder.c: Improve the documentation for
200 gtk_builder_connect_signals. (#514471)
202 2008-02-10 Matthias Clasen <mclasen@redhat.com>
204 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
207 2008-02-08 Cody Russell <bratsche@gnome.org>
209 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
210 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
212 2008-02-08 Richard Hult <richard@imendio.com>
214 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
215 delta from the NSEvent for now, generating multiple scroll events
216 results in a lot of events getting queued up and things get really
219 2008-02-08 Sven Herzberg <sven@imendio.com>
221 Adjust the code to match the documentation, examples, "common sense"
222 and existing applications.
224 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
225 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
228 2008-02-07 Cody Russell <bratsche@gnome.org>
230 * gdk/win32/gdkevents-win32.c
231 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
232 of a block that were causing compile problems on old
233 compilers. (#515053, reported by Kazuki IWAMOTO)
235 2008-02-07 Michael Natterer <mitch@imendio.com>
244 * gtk/gtkoptionmenu.c
248 * gtk/gtkradiomenuitem.c
250 * gtk/gtkscrolledwindow.c
251 * gtk/gtksocket.c: remove g_return_if_fail() from private
252 functions and virtual function implementations.
254 2008-02-07 Michael Natterer <mitch@imendio.com>
261 * gtk/gtkcellrenderercombo.c
264 * gtk/gtkdrawingarea.c
265 * gtk/gtkentrycompletion.c
271 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
272 functions and virtual function implementations.
274 2008-02-07 Christian Persch <chpe@gnome.org>
276 * gdk/gdkpixbuf-render.c:
277 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
278 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
279 otherwise there will be random pixel values in the semi-transparent
280 area of the pixbuf within the mask. Bug #487865.
282 2008-02-06 Cody Russell <bratsche@gnome.org>
284 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
285 otherwise things get wonky when you click on a menu. This fixes
286 a regression caused in #505928. Thanks to Tor for spotting this
289 2008-02-06 Michael Natterer <mitch@imendio.com>
300 * gtk/gtkseparatortoolitem.c
302 * gtk/gtktextlayout.c
303 * gtk/gtktoggletoolbutton.c
304 * gtk/gtktoolbutton.c
307 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
310 2008-02-05 Matthias Clasen <mclasen@redhat.com>
312 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
313 Allow to store half-open ranges.
315 2008-02-05 Cody Russell <bratsche@gnome.org>
317 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
318 down the stack until we get to a window that is mapped.
319 Otherwise hiding a window will cause all windows in the app
320 to be blocked. (#514643)
322 2008-02-05 Matthias Clasen <mclasen@redhat.com>
324 * gtk/updateiconcache.c: Ignore images in the toplevel theme
325 directory, avoiding one source of invalid caches that has been
328 2008-02-05 Matthias Clasen <mclasen@redhat.com>
330 * gtk/updateiconcache.c: Fix the previous commit to compile.
332 2008-02-05 Matthias Clasen <mclasen@redhat.com>
334 * gtk/updateiconcache.c: Install a printerr handler that
335 prepends the program name, since gtk-update-icon-cache output
336 often appears in the middle of other output, e.g. rpm update logs.
338 2008-02-05 Cody Russell <bratsche@gnome.org>
340 * gdk/win32/gdkprivate-win32.h
341 * gdk/win32/gdkevents-win32.c
342 * gdk/win32/gdkwindow-win32.c
343 * gdk/win32/gdkwindow-win32.h
344 * gdk/win32/gdkwin32.h:
345 Modal window rework. (#455627 and #511111)
347 2008-02-04 Michael Natterer <mitch@imendio.com>
349 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
350 g_return_if_fail() if the cell is not part of the combo instead of
351 crashing in the next line.
353 2008-02-01 Cody Russell <cody@jhu.edu>
355 * modules/engines/ms-windows/xp_theme.[ch]
356 * modules/engines/ms-windows/xp_theme_defs.h
357 * modules/engines/ms-windows/msw_rc_style.c
358 * modules/engines/ms-windows/msw_theme_main.c
359 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
360 attempted to stylize more like the rest of the gtk+ stack's code.
362 2008-02-01 Michael Natterer <mitch@imendio.com>
364 * tests/testgtk.c: initialize GdkColor structs to fix warning
365 about uninitialized "pixel" member.
367 * tests/testactions.c: connect the toolbar_style() callback so it
368 does something useful and doesn't warn about being defined but not
371 2008-01-31 Cody Russell <bratsche@gnome.org>
373 * gdk/win32/gdkevents-win32.c:
374 Refactored some of the window hiding/showing code from
375 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
376 under WM_ACTIVATE was causing the application to go into
377 a weird state when the user right-clicked on the taskbar
378 entry of a window that was minimized. (#505928)
380 2008-01-31 Cody Russell <bratsche@gnome.org>
382 * gtk/gtkpaned.c (gtk_paned_set_position):
383 Change queue_resize() to queue_draw(), and add a check for
384 child2 != NULL in case someone calls this before there is
385 a child packed in there. (#144269 again)
387 2008-01-31 Sven Neumann <sven@gimp.org>
389 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
390 applied patch from Denis Oliver Kropp <dok@directfb.org>.
392 2008-01-31 Sven Neumann <sven@gimp.org>
394 * gdk/directfb/gdkdisplay-directfb.c
395 * gdk/directfb/gdkdrawable-directfb.c
396 * gdk/directfb/gdkprivate-directfb.h
397 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
398 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
400 2008-01-31 Richard Hult <richard@imendio.com>
402 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
403 issues with undecorated windows. Revert the change done on
404 2008-01-25 and fix it by using the view's bounds instead. The
405 bounds will always be up to date when setting up the tracking
406 rect, so this should be more robust.
408 2008-01-30 Sven Neumann <sven@gimp.org>
410 * gdk/directfb/gdkdrawable-directfb.c
411 * gdk/directfb/gdkwindow-directfb.c
412 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
413 Oliver Kropp <dok@directfb.org>. Adds debug messages using
414 DirectFB's debugging system
416 2008-01-30 Sven Neumann <sven@gimp.org>
418 * gdk/directfb/gdkdirectfb.h
419 * gdk/directfb/gdkdisplay-directfb.c
420 * gdk/directfb/gdkdrawable-directfb.c
421 * gdk/directfb/gdkim-directfb.c
422 * gdk/directfb/gdkimage-directfb.c
423 * gdk/directfb/gdkinput-directfb.c
424 * gdk/directfb/gdkmain-directfb.c
425 * gdk/directfb/gdkpixmap-directfb.c
426 * gdk/directfb/gdktestutils-directfb.c
427 * gdk/directfb/gdkvisual-directfb.c
428 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
429 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
430 errors and has some cleanups.
432 2008-01-30 Michael Natterer <mitch@imendio.com>
434 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
435 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
438 * gtk/updateiconcache.c (add_string): cast const gchar* to
439 gpointer when inserting in a GHashTable.
441 * tests/testcalendar.c (calendar_detail_cb): remove const from
442 return value since it's a newly allocated string.
444 (calendar_update_details): free the detail.
446 2008-01-29 Johan Dahlin <johan@gnome.org>
448 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
450 * demos/gtk-demo/demo.ui:
451 Move the about dialog to the glade file, add accessible tags
452 examples to the markup file.
454 2008-01-28 Paolo Borelli <pborelli@katamail.com>
456 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
457 layout, fixes #512375.
459 2008-01-28 Michael Natterer <mitch@imendio.com>
462 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
464 2008-01-28 Michael Natterer <mitch@imendio.com>
466 * demos/gtk-demo/builder.c (about_activate): use
467 gtk_about_dialog_set_program_name() instead of the deprecated
470 2008-01-28 Michael Natterer <mitch@imendio.com>
473 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
476 2008-01-26 Johan Dahlin <johan@gnome.org>
479 * tests/textbuffertest.c:
480 Rename textbuffer test and port it to the new test framework
482 2008-01-25 Johan Dahlin <johan@gnome.org>
484 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
485 unsetting of GTK_MODULES.
487 * gtk/gtk-builder-convert
488 (GtkBuilderConverter._convert_adjustment): Handle the case where
489 there is no child text node.
490 (GtkBuilderConverter): Allow xml comments in most places.
492 2008-01-25 Johan Dahlin <johan@gnome.org>
494 * gtk/gtk-builder-convert
495 (GtkBuilderConverter._convert_combobox_items): Remove the items
496 even if there are no items set.
497 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
498 signals and tooltips for all menu items subclasses and
499 GtkImageMenuItem:label.
500 Makes it possible to fully convert and run Jokosher.glade.
502 2008-01-25 Johan Dahlin <johan@gnome.org>
504 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
505 (gtk_widget_buildable_get_internal_child), (free_action),
506 (free_relation), (gtk_widget_buildable_parser_finished),
507 (accessibility_start_element),
508 (gtk_widget_buildable_custom_tag_start),
509 (gtk_widget_buildable_custom_finished):
510 Implement accessible support, fixes #454653.
512 * gtk/gtk-builder-convert:
513 Add support for migrating old glade files
515 * tests/buildertest.c: (test_widget), (test_file):
516 Add accessible tests and imprve the test_file function to display
517 toplevels and run dialogs.
519 2008-01-25 Richard Hult <richard@imendio.com>
521 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
522 didn't change, fixes focus event issues for undecorated windows.
524 2008-01-25 Richard Hult <richard@imendio.com>
526 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
527 const and remove unused variables).
529 2008-01-25 Michael Natterer <mitch@imendio.com>
532 * gtk/gtkcellrenderer.h
537 * gtk/gtktreeprivate.h
538 * gtk/gtktreeviewcolumn.h
539 * gtk/gtkwidget.h: add const to constant structs which are passed
540 into GTK+. Also add some forgotten const for const strings.
544 * gtk/gtkcellrenderer.c
550 * gtk/gtktreeviewcolumn.c
551 * gtk/gtkwidget.c: changed accordingly.
553 2008-01-25 Sven Herzberg <sven@imendio.com>
555 Reviewed by Johan Dahlin.
557 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
558 this is called with something that's not a GtkUIManager
560 2008-01-24 Johan Dahlin <johan@gnome.org>
562 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
563 Chain up to parent, so widgets can have internal children.
565 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
567 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
570 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
572 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
574 Use pango_layout_set_height() for calendar details (#506049).
576 * configure.in: Require 1.19.3 for pango_layout_set_height().
577 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
579 2008-01-18 Johan Dahlin <johan@gnome.org>
581 * gtk/gtk-builder-convert (get_property_node): New method
582 (GtkBuilderConverter._create_object): Conditionally take a node as
583 a property value, so don't lose translate/context attributes if they
585 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
586 property values instead of strings.
587 (#509153, Erik van Pienbroek)
589 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
591 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
593 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
594 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
595 * tests/testcalendar.c: Duplicate calendar details before returning.
597 2008-01-16 Christian Persch <chpe@gnome.org>
599 * gtk/gtkwidget.c: Store the event mask and extension event mode
600 directly in the gobject data pointer, instead of in an allocated
603 2008-01-16 Michael Natterer <mitch@imendio.com>
605 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
606 gdk-pixbuf now uses gio functions.
608 2008-01-16 Matthias Clasen <mclasen@redhat.com>
610 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
611 the notify::model signal. (#509819, David Zeuthen)
613 2008-01-15 Michael Natterer <mitch@imendio.com>
621 * gdk/gdkwindow.h: made more struct pointer and array parameters
622 const. GDK should now be constified as far as possible without
623 breaking source compatibility. Includes some minor cleanup like
624 indentation and s/nfoo/n_foo/ (bug #508544).
630 * gdk/gdkregion-generic.c
632 * gdk/directfb/gdkdisplay-directfb.c
633 * gdk/directfb/gdkwindow-directfb.c
634 * gdk/quartz/gdkdisplay-quartz.c
635 * gdk/quartz/gdkwindow-quartz.c
636 * gdk/win32/gdkdisplay-win32.c
637 * gdk/win32/gdkwindow-win32.c
638 * gdk/x11/gdkdisplay-x11.c
639 * gdk/x11/gdkwindow-x11.c: changed accordingly.
641 2008-01-14 Michael Natterer <mitch@imendio.com>
643 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
646 (gtk_rc_parse_any): change variables to const and introduce
647 another local variable to fix const warnings.
649 2008-01-14 Michael Natterer <mitch@imendio.com>
651 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
652 of gdk_screen_get_font_options() to gpointer to get rid of const
655 2008-01-14 Michael Natterer <mitch@imendio.com>
657 * tests/testdnd.c (source_drag_data_get): fix another call to
658 gtk_selection_data_set().
660 2008-01-14 Michael Natterer <mitch@imendio.com>
662 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
665 2008-01-14 Michael Natterer <mitch@imendio.com>
667 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
669 2008-01-14 Michael Natterer <mitch@imendio.com>
671 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
672 "uris" to guchar* when passing it to gtk_selection_data_set().
674 2008-01-14 Michael Natterer <mitch@imendio.com>
682 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
683 parameters const (bug #508544).
689 * gdk/gdkpolyreg-generic.c
690 * gdk/gdkregion-generic.c
691 * gdk/directfb/gdkcolor-directfb.c
692 * gdk/directfb/gdkgc-directfb.c
693 * gdk/directfb/gdkgeometry-directfb.c
694 * gdk/directfb/gdkwindow-directfb.c
695 * gdk/quartz/gdkcolor-quartz.c
696 * gdk/quartz/gdkgc-quartz.c
697 * gdk/quartz/gdkgeometry-quartz.c
698 * gdk/quartz/gdkwindow-quartz.c
699 * gdk/win32/gdkcolor-win32.c
700 * gdk/win32/gdkgc-win32.c
701 * gdk/win32/gdkgeometry-win32.c
702 * gdk/win32/gdkprivate-win32.h
703 * gdk/win32/gdkwindow-win32.c
704 * gdk/x11/gdkcolor-x11.c
705 * gdk/x11/gdkgc-x11.c
706 * gdk/x11/gdkgeometry-x11.c
707 * gdk/x11/gdkmain-x11.c
708 * gdk/x11/gdkprivate-x11.h
709 * gdk/x11/gdkwindow-x11.c: changed accordingly.
711 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
714 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
716 Explain name choice for gtk_tool_item_toolbar_reconfigured.
718 * gtk/gtktoolitem.c: Add comment expaining name choice for
719 gtk_tool_item_toolbar_reconfigured.
721 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
723 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
724 implementations to notify its children, when some aspect of their
725 configuration changed (#509042).
727 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
728 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
729 Rename _gtk_tool_item_toolbar_reconfigured.
731 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
733 Include <gtk/gtktoolshell.h> from gtk.h.
735 * gtk/gtk.h: Add gtktoolshell.h
737 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
739 Print angle brackets arround e-mail addresses in the about dialog
740 (#409520, Mariano Suárez-Alvarez).
742 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
744 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
746 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
747 special casing so test widgets are always queues for destruction
750 * gtk/tests/testing.c: removed bits left-over from testing without
753 2008-01-10 Tor Lillqvist <tml@novell.com>
755 * modules/other/gail/libgail-util/Makefile.am
756 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
759 2008-01-10 Tor Lillqvist <tml@novell.com>
761 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
762 uses gtkprintunixdialog API.
764 2008-01-10 Tor Lillqvist <tml@novell.com>
766 * gdk/win32/gdkdisplay-win32.c
767 * gdk/win32/gdkglobals-win32.c
768 * gdk/win32/gdkprivate-win32.h
769 * gdk/win32/gdkscreen-win32.c
770 * gdk/win32/gdkwindow-win32.c: Implement
771 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
772 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
775 2008-01-10 Cody Russell <bratsche@gnome.org>
777 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
778 Properly ref/unref windows and parents. (#506769)
780 2008-01-10 Richard Hult <richard@imendio.com>
782 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
783 (gdk_window_hide), (move_resize_window_internal): Move the
784 tracking rect workaround from here...
786 * gdk/quartz/GdkQuartzWindow.c:
787 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
788 movements during showing/hiding operations. Fixes bug #508516.
790 2008-01-10 Michael Natterer <mitch@imendio.com>
792 * gdk/directfb/gdkscreen-directfb.c
793 (gdk_screen_get_monitor_width_mm)
794 (gdk_screen_get_monitor_height_mm)
795 (gdk_screen_get_monitor_plug_name): add these functions to make
798 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
800 * gtk/gtkrecentchoosermenu.c:
801 (idle_populate_func), (idle_populate_clean_up): Fix possible
802 recursion by resetting the idle source id. (#507605, William
805 2008-01-10 Kristian Rietveld <kris@imendio.com>
807 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
808 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
809 avoid valgrind warnings. (#507751, patch from Christian Persch).
811 2008-01-10 Kristian Rietveld <kris@imendio.com>
813 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
814 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
816 2008-01-10 Kristian Rietveld <kris@imendio.com>
818 Fix #477175, reported by Juri Pakaste.
820 * gtk/gtktreeprivate.h:
821 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
822 tree_view->priv->dy here directly, just calculate the new value
823 and set it on the adjustment,
824 (gtk_tree_view_adjustment_changed): add guards to not call
825 gtk_tree_view_dy_to_top_row() if we are currently in
826 gtk_tree_view_top_row_to_dy(),
827 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
828 coordinates, not tree coordinates,
829 (gtk_tree_view_real_start_editing): add cast.
831 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
832 position of the editable in the "create new row and start editing"
835 2008-01-09 Michael Natterer <mitch@imendio.com>
837 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
840 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
841 * gtk/gtkicontheme.c (theme_list_contexts)
842 (gtk_icon_theme_lookup_icon)
843 * gtk/gtkimcontextsimple.c (beep_window)
844 * gtk/gtklinkbutton.c (set_link_color)
845 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
848 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
849 variable and add const to another to fix a warning.
851 2008-01-07 Matthias Clasen <mclasen@redhat.com>
853 * gtk/gtkassistant.c (remove_page): Be more robust when removing
854 the current page. (#499951, Andreas Sandberg)
856 2008-01-06 Johan Dahlin <johan@gnome.org>
858 * gtk/gtkspinbutton.c: Declare value in the example code for
859 GtkSpinButton::output, as pointed out by Anders Carlsson.
861 2008-01-06 Christian Persch <chpe@gnome.org>
863 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
864 and remove an obsolete event box. Bug #506760.
866 2008-01-06 Johan Dahlin <johan@gnome.org>
868 * tests/buildertest.c (test_domain):
869 Update, GtkBuilder::translation-domain is no longer set
871 * gtk/gtkbuilderparser.c (parse_interface):
872 Allow domains to be overridden in <interface>'s if a translation-domain
873 is set in the builder.
874 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
875 of the builder, make the domain set in the <interface> apply only to strings
877 (#496831, Ryan Lortie)
879 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
882 * gtk/gtktreestore.c (tree_model_end_element):
883 Remove an unused variable
885 2008-01-06 Matthias Clasen <mclasen@redhat.com>
887 * gtk/gtkspinbutton.c: Document the ::output signal and
888 add an example. (#507566, example by Owen Taylor)
890 2008-01-06 Johan Dahlin <johan@gnome.org>
892 * gtk/gtkcellrenderercombo.c:
893 (gtk_cell_renderer_combo_get_property),
894 (gtk_cell_renderer_combo_set_property):
895 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
896 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
897 * gtk/gtknotebook.c: (gtk_notebook_set_property):
898 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
899 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
900 (gtk_text_buffer_get_property):
901 * gtk/gtktextview.c: (gtk_text_view_set_property):
902 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
903 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
904 (gtk_tool_button_get_property):
905 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
906 (gtk_tool_item_get_property):
907 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
908 * gtk/gtkwidget.c: (gtk_widget_set_property):
909 * gtk/gtkwindow.c: (gtk_window_set_property):
910 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
913 2008-01-06 Johan Dahlin <johan@gnome.org>
915 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
916 Make sure that --root works for toplevel widgets.
917 (#491847, Phil Lello)
919 2008-01-05 Johan Dahlin <johan@gnome.org>
921 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
922 to make sure that make test-report works properly
924 2008-01-05 Christian Persch <chpe@gnome.org>
926 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
927 GType as integer through gpointer. Bug #507395.
929 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
931 Avoid some compiler warnings (#507000).
933 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
934 for value argument of _gtk_builder_flags_from_string.
935 * gtk/gtkwidget.c: Don't alias the child pointer passed
936 to gdk_window_get_user_data.
938 2008-01-04 Michael Natterer <mitch@imendio.com>
940 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
941 to set the time in the returned GdkTimeCoords.
943 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
945 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
946 correct comparison function (kudos to Christian Persch and
947 Claudio Saavedra for spotting this)
949 * gtk/gtkrecentchooserutils.c:
950 (sort_recent_items_mru),
951 (sort_recent_items_lru): Ditto as above.
953 2008-01-03 Johan Dahlin <johan@gnome.org>
955 * tests/defaultvaluetest.c: Make it pass again.
957 2008-01-02 Johan Dahlin <johan@gnome.org>
959 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
960 make it pass on Ubuntu.
961 (main): Use gtk_test_list_all_types () instead of providing our
963 And it no longer passes.
965 2007-12-30 Johannes Schmid <jhs@gnome.org>
967 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
968 Also reorder menu when reordering tabs by drag & drop
971 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
972 Add a menu to one of the notebooks to have a test-case for
973 the change mentioned above.
975 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
977 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
979 2007-12-31 Christian Persch <chpe@gnome.org>
981 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
982 Plug a mem leak. Bug #506107.
984 2007-12-28 Matthias Clasen <mclasen@redhat.com>
986 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
987 icon cache api change. (#506135, Kazuki Iwamoto)
989 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
991 Consider "wide-separators" and "separator-height" style properties:
992 The separator is drawn using gtk_paint_box instead of cairo, when
993 "wide-separators" is set. Also do not highlight details for previous
994 or next month, if their day matches the selected day. (#339540)
996 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
997 in gtk_calendar_size_request and calendar_paint_day
998 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
999 for selected detail separators in GtkCalendar.
1001 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1003 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
1005 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
1006 a local variable instead in gtk_calendar_size_request.
1008 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1010 * tests/defaultvaluetest.c: Add enough exclusions to make the
1013 2007-12-28 Christian Persch <chpe@gnome.org>
1015 * modules/other/gail/Makefile.am:
1016 * modules/other/gail/tests/*:
1017 * configure.in: Merge tests from standalone gail. Bug #504568.
1019 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1021 * gtk/gtkclipboard.c: Make the finalizer work when display is
1024 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1026 Draw bottom shadow of GtkCalender headings. (#506113)
1028 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
1030 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1032 * gtk/gtkcalendar.c: Document the initial values of year/month/day
1035 2007-12-28 Christian Persch <chpe@gnome.org>
1037 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
1038 a mem leak. Bug #506096.
1040 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1043 * gtk/gtktreeview.c:
1044 * gtk/gtkprintoperation.c:
1045 * gtk/gtkprogressbar.c:
1046 * gtk/gtkmessagedialog.c:
1047 * gtk/gtknotebook.c:
1051 * gtk/gtklinkbutton.c:
1052 * gtk/gtkmenu.c: More default property value corrections.
1054 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1056 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
1057 accel_group unless it is set.
1059 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1061 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
1063 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1065 * gtk/gtkhandlebox.c: Fix the default values of shadow and
1066 shadow-type properties.
1068 * gtk/gtkfontsel.c: Fix the default values of several properties.
1070 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
1073 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
1075 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
1078 2007-12-28 Johan Dahlin <johan@gnome.org>
1080 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
1081 (gtk_dialog_buildable_custom_tag_start): Chain up.
1082 This makes it possible to have accelerators tags on GtkDialog
1085 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1087 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
1088 are shown within the widget, or just as tooltip. (#339540)
1090 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
1091 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
1092 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
1095 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1097 Try more decent appearance of calendar details separator. (#339540)
1099 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
1100 and make it short by one pixel on each side.
1102 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1104 Apply trivial code-style changes from attachement 101101. (#339540)
1106 * tests/testcalendar.c: Some updates to current GTK+ code-style.
1108 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1110 Restructure testcalendar for testing calendar details. (#339540)
1112 * tests/testcalendar.c: Push code arround for testing calendar details.
1114 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1116 Implement GtkTooltip API for calendar details. (#339540)
1118 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
1119 Remember detail overflows in calendar_paint_day to show the tooltip
1120 only when neccessary.
1122 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1124 Without setting "detail-width-chars" and "detail-height-rows"
1125 properties not only the widget has to be redrawn on certain
1126 conditions, but also its size must be recalculated. (#339540)
1128 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
1129 that function instead of gtk_widget_queue_draw.
1131 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1133 Consider details for size-request and expose-event. (#339540)
1135 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
1136 is_color_attribute functions. Change gtk_calendar_size_request
1137 and calendar_paint_day to consider and show calender details.
1139 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1141 * gtk/gtkcombobox.c: Introduce local priv variables to
1144 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1146 * gtk/gtkcombobox.c: Correct the default value for the
1147 tearoff-title property.
1149 * gtk/gtkcellrenderertext.c: Fix the default value for the
1150 wrap-mode and font-scale properties.
1152 * gtk/gtkaspectratio.c: Fix the default value for the ratio
1155 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1157 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
1158 defines. (#505708, MINAMI Hirokazu)
1160 2007-12-27 Christian Persch <chpe@gnome.org>
1162 * Makefile.am: Install gail.pc. Bug #505859.
1164 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
1166 Add infrastructure for GtkCalendar details. (#339540)
1168 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
1169 Add "detail-width-chars" and "detail-height-rows" properties,
1170 and gtk_calendar_set_detail_func function.
1172 2007-12-27 Xan Lopez <xan@gnome.org>
1175 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
1177 Add gtk_border_new to avoid memory allocator confusions when using
1178 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
1180 2007-12-27 Christian Persch <chpe@gnome.org>
1182 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
1183 bug #504886 not to read unitialised memory.
1185 2007-12-26 Xan Lopez <xan@gnome.org>
1187 * gtk/gtkstatusbar.c (has_extra_children): take into account the
1188 modification of the internal frame contents to decide if we have
1189 extra children. (#415677)
1191 2007-12-22 Christian Persch <chpe@gnome.org>
1193 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
1195 2007-12-25 Christian Persch <chpe@gnome.org>
1197 * modules/other/gail/gailwindow.c: (gail_window_initialize):
1198 Initialise |widget|. Fixes a buglet introduced by the commit from bug
1201 2007-12-25 Christian Persch <chpe@gnome.org>
1203 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
1205 2007-12-25 Christian Persch <chpe@gnome.org>
1207 * modules/other/gail/*.[ch]: Remove relocations from the atk
1208 factories. Remove unused gail_foo_new() functions. Fix object
1209 instantiation to be derivation safe by moving initialisation code
1210 from the removed gail_foo_new() functions to the
1211 AtkObjectClass::initialize implementation. Bug #505226.
1213 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1215 * modules/other/gail/gailentry.c:
1216 * modules/other/gail/gailimage.c:
1217 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
1218 uses of clipboards and settings. (#504722, Christian Persch)
1220 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1222 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
1225 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1227 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
1228 use the time and button information from the event. (#504901,
1231 2007-12-23 Cody Russell <bratsche@gnome.org>
1233 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
1234 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
1235 Fixes a regression caused by #164537 patch where transient
1236 windows that are hidden get shown (incorrectly) when their
1237 parents are minimized. (#504984)
1239 2007-12-22 Christian Persch <chpe@gnome.org>
1241 * modules/other/gail/gailcell.c:
1242 * modules/other/gail/gailcontainercell.c:
1243 * modules/other/gail/gailexpander.c:
1244 * modules/other/gail/gailtextcell.c:
1245 * modules/other/gail/gailtextview.c:
1246 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
1248 2007-12-22 Christian Persch <chpe@gnome.org>
1250 * modules/other/gail/*.c: Include config.h. Bug #504720.
1252 2007-12-22 Christian Persch <chpe@gnome.org>
1254 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
1255 handwritten get_type functions. Bug #504661.
1257 2007-12-23 Xan Lopez <xan@gnome.org>
1259 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
1260 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
1262 Patch by Sadrul Habib Chowdhury (#504804)
1264 2007-12-22 Christian Persch <chpe@gnome.org>
1266 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
1267 #504645, patch by Li Yuan.
1269 2007-12-22 Christian Persch <chpe@gnome.org>
1271 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
1273 2007-12-22 Christian Persch <chpe@gnome.org>
1275 * modules/other/gail/gail.c:
1276 * modules/other/gail/gailbutton.c:
1277 * modules/other/gail/gailcell.c:
1278 * modules/other/gail/gailcombo.c:
1279 * modules/other/gail/gailcombo.h:
1280 * modules/other/gail/gailcombobox.c:
1281 * modules/other/gail/gailentry.c:
1282 * modules/other/gail/gailexpander.c:
1283 * modules/other/gail/gailmenuitem.c:
1284 * modules/other/gail/gailnotebook.c:
1285 * modules/other/gail/gailnotebookpage.c:
1286 * modules/other/gail/gailnotebookpage.h:
1287 * modules/other/gail/gailoptionmenu.c:
1288 * modules/other/gail/gailrange.c:
1289 * modules/other/gail/gailtextview.c:
1290 * modules/other/gail/gailtreeview.c:
1291 * modules/other/gail/gailtreeview.h:
1292 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
1295 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1297 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
1300 2007-12-21 Richard Hult <richard@imendio.com>
1302 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
1303 Plug leak of destroyed subviews, fixes bug #504753.
1305 2007-12-20 Johan Dahlin <johan@gnome.org>
1307 * tests/Makefile.am (TEST_PROGS):
1308 * tests/defaultvaluetest.c: Add a test for default values,
1309 based on program by Christan Perch
1311 2007-12-20 Johan Dahlin <johan@gnome.org>
1313 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
1314 Refactor to avoid some duplication.
1315 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
1316 Fixes #504749, Yuri Pimenov
1318 2007-12-20 Kristian Rietveld <kris@imendio.com>
1320 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
1321 the build work again on systems without xrandr 1.2.
1323 2007-12-20 Christian Persch <chpe@gnome.org>
1326 * modules/other/gail/libgail-util/Makefile.am:
1327 Keep the same libtool version as the standalone libgail-util had.
1330 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
1332 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
1334 2007-12-20 Alexander Larsson <alexl@redhat.com>
1336 * gdk/x11/gdkapplaunchcontext-x11.c:
1337 Update for gio API changes
1339 2007-12-20 Richard Hult <richard@imendio.com>
1341 * gdk/quartz/GdkQuartzWindow.c:
1342 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
1343 processing events after changing the size.
1345 2007-12-20 Richard Hult <richard@imendio.com>
1347 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
1348 Add stub for quartz to fix build.
1350 2007-12-20 Christian Persch <chpe@gnome.org>
1352 * modules/other/gail/Makefile.am:
1353 * modules/other/gail/gailimage.c: (gail_image_class_init),
1354 (gail_image_init), (elide_underscores), (gail_image_get_name),
1355 (atk_image_interface_init), (gail_image_finalize):
1356 * modules/other/gail/gailimage.h:
1357 R modules/other/gail/gailintl.h:
1358 * po/POTFILES.skip: Use the stock item's label as the name of the
1359 accessible in gailimage.c. Bug #504246.
1361 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
1363 Avoid some compiler warnings and remove obsolete code. (#339540)
1365 * gtk/gtkcalendar.c: Change week and year variable in
1366 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
1367 0" block from calendar_paint_day: The feature in question is handled
1368 few lines above. Cast data returned by gtk_selection_data_get_text()
1369 to (gchar*) in gtk_calendar_drag_data_received.
1371 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
1373 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
1375 2007-12-19 Johan Dahlin <johan@gnome.org>
1377 * tests/buildertest.c (test_object_properties):
1378 Add another call to gtk_builder_add_string after using
1379 delayed properties, as reported in #504393 but already
1382 2007-12-18 Christian Persch <chpe@gnome.org>
1385 * docs/reference/Makefile.am:
1386 * docs/reference/libgail-util/*:
1387 * gail-uninstalled.pc.in:
1389 * modules/Makefile.am:
1390 * modules/other/Makefile.am:
1391 * modules/other/gail/*:
1392 * modules/other/gail/libgail-util/*:
1393 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
1395 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1397 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
1398 * gdk/win32/gdkproperty-win32.c:
1399 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
1401 * gtk/gtkimmodule.[hc]:
1402 * gtk/gtkimmulticontext.[hc]: When determining the default context,
1403 look at the gtk-im-module setting, and listen for changes to the
1404 setting. (#502446, Akira Tagoh)
1406 2007-12-17 Kristian Rietveld <kris@imendio.com>
1408 * gtk/gtktooltip.c (gtk_tooltip_finalize),
1409 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
1410 to NULL as soon as it's destroyed. (#496546, patch from
1413 2007-12-17 Kristian Rietveld <kris@imendio.com>
1415 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
1416 always determine what arrow to show if show_sort_indicator is true.
1417 (#352738, Chris Vine).
1419 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
1421 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
1422 Sébastien Granjoux)
1424 * gtk/gtkpaned.c: Call gtk_container_forall instead of
1425 gtk_container_foreach in get_child_panes.
1427 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
1429 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
1431 Plug leak: When reordering the info in the list the old node is
1432 removed but not freed. (#503569)
1434 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
1436 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
1437 Use u32 instead of __u32 and u8 instead of __u8 as the other types
1438 are deprecated since DirectFB 1.0.0. If compiling with an older
1439 version define the new type name to the old types. Fixes bug #503190.
1441 2007-12-14 Ray Strode <rstrode@redhat.com>
1443 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
1444 instead of g_signal_connect_after (..., "realize", ...) as an
1445 alternative to gtk_widget_realize () (bug 503537).
1447 2007-12-14 Michael Natterer <mitch@imendio.com>
1449 * gdk/gdkinternals.h
1450 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
1453 * gdk/gdkapplaunchcontext.c
1454 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
1455 header already includes everything now.
1457 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1459 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
1460 next stable release shall be 2.16, not 2.14 - even if disagree.
1462 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
1464 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1466 Change GtkToolItem to retrieve its properties from GtkToolShell
1467 interface, instead of relying on being child of a GtkToolbar.
1470 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
1471 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
1472 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
1473 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
1474 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
1475 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
1476 Take section docs from template file and update them for GtkToolShell.
1477 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
1478 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
1480 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1482 Extract loading of GtkPageSetup and GtkPrintSettings from their
1483 *_new_*() functions and move that code into separate
1484 *_load_*() functions (#475565).
1486 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
1487 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
1488 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
1489 Change the matching *_new_*() functions to use those functions.
1491 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1494 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
1496 2007-12-14 Kristian Rietveld <kris@imendio.com>
1498 * gtk/tests/liststore.c:
1499 * gtk/tests/treestore.c: added tests for insertion functions.
1501 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
1503 * Add RandR 1.2 support
1505 - New monitors_changed signal - New API to get width/height of
1506 monitors, and the name of the plug
1508 2007-12-13 Kristian Rietveld <kris@imendio.com>
1510 * gtk/tests/liststore.c:
1511 * gtk/tests/treestore.c: test the move and swap functions on a
1512 store with only one node.
1514 2007-12-13 Kristian Rietveld <kris@imendio.com>
1516 * gtk/gtktestutils.c (gtk_test_init): add a call to
1519 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
1522 2007-12-13 Kristian Rietveld <kris@imendio.com>
1524 * gtk/tests/liststore.c:
1525 * gtk/tests/treestore.c: start composing tests for the list and tree
1528 * gtk/tests/treeview-scrolling.c: added automated tests for
1529 GtkTreeView's scrolling "subsystem".
1531 * gtk/tests/Makefile.am: updated; added new test programs.
1533 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
1535 Make the code compile again after the GdkAppLaunchContext changes.
1537 * configure.in: Add gio-2.0 to GDK_PACKAGES.
1538 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
1540 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1542 * gdk/gdkapplaunchcontext.c: Add docs
1544 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1546 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
1547 in gdk, providing startup notification. (#503203)
1549 * gdk/x11/gdkapplaunchcontext-x11.c:
1550 * gdk/win32/gdkapplaunchcontext-win32.c:
1551 * gdk/quartz/gdkapplaunchcontext-quartz.c:
1552 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
1553 parts. All but X11 are just empty stubs for now.
1556 * gdk/gdkinternals.h:
1558 * gdk/x11/Makefile.am:
1559 * gdk/win32/Makefile.am:
1560 * gdk/quartz/Makefile.am:
1561 * gdk/directfb/Makefile.am: Necessary glue.
1563 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
1565 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
1567 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1569 * gdk/directfb/gdktestutils-directfb.c:
1570 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
1571 which adds testing functions to the DirectFB backend.
1573 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1575 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
1576 Ciccani which fixes the mixing of gdk and cairo rendering.
1578 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
1580 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
1581 on "drag-motion" handlers. Clearify documentation for
1584 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
1586 * buildertest.c: made unnecessarily exported symbols static.
1587 switched g_return_if_fail() statements in tests to assertions.
1588 special cased currently failing Widget/accesibility test to
1589 run only for g_test_thorough(), so it doesn't break make check.
1590 some coding style fixes.
1592 * Makefile.am: added buildertest to TEST_PROGS.
1594 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1596 * docs/tutorial/gtk-tut.sgml:
1597 Use gtk_widget_get_parent_window() instead of widget->parent->window.
1599 2007-12-10 Richard Hult <richard@imendio.com>
1601 * gdk/quartz/Makefile.am:
1602 * gdk/quartz/gdkquartz.h:
1603 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
1604 header (bug #405915). Also add a getter for the toplevel nswindow.
1606 2007-12-10 Richard Hult <richard@imendio.com>
1608 * gdk/quartz/gdkdrawable-quartz.c:
1609 (gdk_quartz_drawable_get_context),
1610 (gdk_quartz_drawable_release_context):
1611 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
1612 (gdk_event_check), (gdk_event_dispatch), (poll_func):
1613 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
1614 used for each drawing context and in prepare, dispatch and poll
1615 with one that exists across each main loop iteration. Fixes leaks
1616 on leopard and protects against future leaks introduce when the
1617 underlying system changes again (bug #492977).
1619 2007-12-10 Richard Hult <richard@imendio.com>
1621 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
1622 Fix the check for no changes to position and size.
1624 2007-12-10 Richard Hult <richard@imendio.com>
1626 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
1627 sized areas at (0, 0), patch from Paul Davis.
1629 2007-12-10 Richard Hult <richard@imendio.com>
1631 * gdk/quartz/gdkprivate-quartz.h:
1632 * gdk/quartz/gdkeventloop-quartz.c:
1633 (_gdk_quartz_event_loop_get_pending),
1634 (_gdk_quartz_event_loop_check_pending),
1635 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
1636 (gdk_event_check), (gdk_event_dispatch):
1637 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
1638 (_gdk_events_queue): Fix a bug where we could end up trying to
1639 handle the same event more than once. Based on patch from Paul
1642 2007-12-10 Tor Lillqvist <tml@novell.com>
1644 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
1647 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1649 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
1650 to avoid further fallout from the fix for bug 388321.
1652 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1654 * gdk/directfb/gdkgc-directfb.c:
1655 * gdk/directfb/gdkdrawable-directfb.c:
1656 * gdk/directfb/gdkdirectfb.h:
1657 * gdk/directfb/gdkwindow-directfb.c:
1658 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
1659 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
1660 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
1661 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
1662 which are expected to improve the performance of the DirectFB backend.
1663 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
1665 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1667 * gtk/gtkcontainer.c: Correct the documentation of child
1668 property getter arguments. (#501992, David Brigada)
1670 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1672 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
1673 leak pixbufs. (#502250, Yevgen Muntyan)
1675 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
1677 * gtk/gtkprintunixdialog.c:
1678 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
1679 Print and Page Setup dialogs (#502202).
1681 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
1683 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
1684 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
1685 of XVFB_START, since it's the GTESTER invokation that needs this.
1687 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
1689 * gdk-pixbuf/gdk-pixbuf.symbols:
1691 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
1692 positives in abicheck.sh
1694 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1696 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
1697 GDK events generations in the DirectFB backend.
1699 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
1701 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
1702 set of likely unused display ids, because MacOS has no seq(1) command.
1704 2007-12-06 Richard Hult <richard@imendio.com>
1706 * gdk/quartz/gdkevents-quartz.c:
1707 (synthesize_crossing_events_for_ns_event): Fix warning when
1708 switching spaces in leopard.
1710 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
1712 * tests/floatingtest.c: ported to new testing framework.
1714 * tests/Makefile.am: run floatingtest as testing framework test.
1716 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
1718 * tests/autotestfilechooser.c: majorly speed up execution by reducing
1719 timeouts and converting main loop sleeps to pending/iterate loops with
1720 very low priority async handlers. eliminate output for non-verbose
1721 tests. assert successfull subtests in all test functions. use testing
1722 framework in main().
1724 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
1725 executed inside Xvfb upon make check.
1727 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
1729 * tests/objecttests.c: use string comparisons for string property
1730 values and get rid of referencing symbols in array initialization.
1732 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
1734 * gtk+/Makefile.decl: run tests in current dir after setting up the
1735 logging directory, so their results get properly merged into the
1738 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
1739 tests to loop over registered Gdk/Gtk+ types.
1741 * gtk+/tests/objecttests.c: new test program, implements automated
1742 property tests. several properties are blacklisted because they
1743 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
1744 can be used to test blacklisted properties and see which proprty failed.
1746 2007-12-04 Richard Hult <richard@imendio.com>
1748 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
1749 Fully initialize the root window, fixes bug #501583.
1751 2007-12-04 Matthias Clasen <mclasen@redhat.com>
1753 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
1756 2007-12-03 Richard Hult <richard@imendio.com>
1758 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
1759 Don't crash when dragging from a source that doesn't support uri
1760 lists (bug #499868, Paul Davis).
1762 2007-12-03 Richard Hult <richard@imendio.com>
1764 * gdk/quartz/gdkwindow-quartz.c:
1765 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
1766 parent relative bg pixmap is set, and no parent has a bg
1767 pixmap. Fixes bug #500804.
1769 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1771 Two optimizations for icon cache lookups.
1773 * gtk/gtkiconcache.[hc]:
1774 * gtk/gtkicontheme.c: Remember the directory index for
1775 subdirectories, instead of running over the directory list
1778 * gtk/gtkiconcache.c (find_image_offset): Remember the last
1779 chain and try it first; this helps with the the usage patterns
1780 in gtkicontheme.c, where the same icon is queried for a lot
1783 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
1785 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
1786 functions from header files. this should be portable across linux and
1787 Mac OS, unlike the previpous sed expression.
1789 2007-12-1 Cody Russell <bratsche@gnome.org>
1791 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
1792 On Windows, queue a redraw of child2 whenever we set
1793 the pane handle position. This is unfortunately kind
1794 of hacky, but solves the visual artifacts that were
1795 occuring on at least certain types of child widgets
1796 (e.g., text views and tree views) that are inside
1797 horizontal or vertical panes. (#144269)
1799 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1801 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
1803 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1805 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
1808 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1810 * gtk/Makefile.am: Fix ordering of subdirs.
1812 2007-11-28 Tor Lillqvist <tml@novell.com>
1814 A proper build of GNU libintl is supposed to export the variable
1815 _nl_msg_cat_cntr. configure looks for that variable in order to
1816 recognize GNU gettext. If it sees that it is indeed GNU gettext
1817 that is used, it decides to install message catalogs in
1818 share/locale, otherwise in lib/locale. Until now on Windows I have
1819 built GTK+ against a build of GNU gettext that did not export
1820 _nl_msg_cat_cntr. But this will change, so we can't assume message
1821 catalogs are always in lib/locale.
1823 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
1824 GTK_LOCALEDIR being either in "lib" or "share". Move the function
1825 before the inclusion of gtkprivate.h so that it sees the original
1828 * gtk-zip.sh.in: Check whether the message catalogs are in
1829 share/locale or lib/locale.
1831 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
1832 that the code in _gtk_get_localedir() will find the slashes.
1834 2007-11-28 Tor Lillqvist <tml@novell.com>
1836 * gtk/Makefile.am: Improve portability. The -o option is present
1837 only in newish GNU egreps. Use one more sed in the pipeline
1840 2007-11-28 Tor Lillqvist <tml@novell.com>
1842 Fix #375893, patch by Ben Hague:
1844 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
1845 around GetLogicalDrives() that takes also the viewable drive
1846 restrictions in the Registry (which are usually the result of an
1847 Active Directory Group Policy) into account.
1849 (check_volumes, gtk_file_system_win32_list_volumes) Call
1850 get_viewable_logical_drives() instead of GetLogicalDrives().
1852 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1854 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
1855 variables to silence valgrind. (#495124, Morten Welinder)
1857 2006-11-26 Ryan Lortie <desrt@desrt.ca>
1859 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
1860 that the construct_child function is responsible for returning a
1862 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
1863 objects from constructors
1864 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
1865 g_object_ref() to this construction function (it's the only
1870 2006-11-26 Ryan Lortie <desrt@desrt.ca>
1872 * gtkbuilder.c: remove concept of root objects and just refcount
1873 all objects in the builder. Fixes #496651.
1875 2007-11-26 Ryan Lortie <desrt@desrt.ca>
1877 * tests/buildertest.c (test_window): fix invalid free
1879 2007-11-26 Josselin Mouette <joss@malsain.org>
1881 reviewed by: Federico Mena Quintero
1883 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
1884 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
1885 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
1886 Make the shortcuts activate with a single click. (#148828)
1887 Fix a few things affected by the change:
1888 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
1889 where no shortcut is selected.
1890 - Don't activate a shortcut in the response callback.
1891 - Filter out duplicate entries in volumes and bookmarks to
1892 avoid the selection to change when reordering them with DnD.
1894 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1897 * gtk/gtknotebook.c:
1898 * gtk/gtkplugprivate.h:
1900 * gtk/gtksocketprivate.h:
1901 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
1903 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1905 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
1906 (#495574, Richard Hult)
1908 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1910 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
1911 String change ! (#376361, Sven Neumann)
1913 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1915 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
1917 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
1920 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1922 * gtk/gtkassistant.c: Improve alternative button
1923 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
1925 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1927 * gtk/gtkcalendar.c: Fix a theming problem with colors
1928 in GtkCalendar. (#499703, Michael Hofmann)
1930 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1932 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
1934 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1936 Use templates for glib-mkenums calls instead of
1937 complicated commandlines in Makefiles. (#429910)
1939 * gdk-pixbuf/Makefile.am:
1942 * perf/Makefile.am: Use templates for glib-mkenums
1944 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
1945 * gdk/gdkenumtypes.[ch].template:
1946 * gtk/gtktypebuiltings.[ch].template:
1947 * perf/typebuiltins.[ch].template: The templates
1949 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1951 * gtk/gtkfilechooserbutton.c:
1952 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
1953 some compilers choke on that. (#467722)
1955 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1957 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
1958 about hook setup. (#425004, Emmanuele Bassi)
1960 2007-11-26 Tor Lillqvist <tml@novell.com>
1962 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
1963 monitor the window currently is on, not always the primary
1964 monitor. (#463865, Tim Evans)
1966 2007-11-26 Tor Lillqvist <tml@novell.com>
1968 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
1970 * gdk/win32/Makefile.am: Add it.
1972 2007-11-26 Tor Lillqvist <tml@novell.com>
1974 * configure.in: Don't add jasper to all_loaders if no libjasper.
1976 2007-11-25 Bastien Nocera <hadess@hadess.net>
1978 * configure.in: Add detection for libjasper, used by the
1979 gdk-pixbuf JPEG2000 loader
1981 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1983 * configure.in: Require gtk-doc 1.8
1985 * */*.c: Use gtk-doc abbreviations for examples in docs.
1987 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1989 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
1992 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1994 * gtk/gtkdialog.c: Move signal and property documentation inline,
1995 fix a problem with the ::response signal docs. (#499133, Josselin
1998 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
2000 * Makefile.decl: initialize automake variables EXTRA_DIST and
2001 TEST_PROGS for unconditional appending via += in other makefiles.
2002 define recursive test targets: test, test-report, perf-report,
2003 full-report, as described here:
2004 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
2005 the test targets will execute Gtk+ test programs within an Xvfb session.
2007 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
2009 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
2010 g_test_run() to run the tests to integrate with the testing framework.
2012 * gtk/tests/Makefile.am: removed exemplary testing rules.
2014 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
2015 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
2016 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
2017 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
2018 * docs/reference/Makefile.am, docs/tools/Makefile.am:
2019 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
2020 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
2021 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
2022 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
2023 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
2024 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
2025 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
2026 * modules/engines/ms-windows/Theme/Makefile.am:
2027 * modules/engines/ms-windows/Makefile.am:
2028 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
2029 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
2030 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
2031 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
2032 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
2033 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
2034 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
2036 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2038 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
2039 (#485662, patch by Herbert Valerio Riedel)
2041 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2043 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
2045 2007-11-21 Richard Hult <richard@imendio.com>
2047 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
2048 stubs for the testing functions to fix the build.
2050 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2052 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
2053 (#467711, The Written Word)
2055 2007-11-21 Ross Burton <ross@openedhand.com>
2057 * gdk/x11/gdksettings.c:
2058 Add xsetting for gtk-scrolled-window-placement (#458103).
2060 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2062 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
2063 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
2064 (#469239, Michael Natterer)
2066 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2068 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
2069 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
2070 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
2071 (#436536, Tommi Komulainen)
2073 2007-11-21 Matthias Clasen <mclasen@redhat.com>
2075 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
2076 property. (#489782, Jan Janech)
2078 2007-11-20 Matthias Clasen <mclasen@redhat.com>
2080 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
2081 frames. (#107398, Owen Taylor, Miguel Gomez)
2083 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
2085 Moved Gdk test functions from Gtk+ to Gdk test utils.
2087 * gdk/Makefile.am: added gdktestutils.h to public includes.
2089 * gdk/gdk.h: added gdktestutils.h to public includes.
2091 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
2092 gdk_test_render_sync.
2094 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
2095 gdk_test_simulate_key, gdk_test_render_sync.
2097 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
2099 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
2100 gdk_test_simulate_key, gdk_test_render_sync.
2102 * gtk/gtktestutils.c:
2103 * gtk/gtktestutils.h:
2104 * gtk/gtk.symbols: removed gtk_test_simulate_button
2105 gtk_test_simulate_key, gtk_test_xserver_render_sync.
2107 * gtk/tests/testing.c: call gdk_test_render_sync.
2109 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
2111 Added unit tests for Gtk+ testing utilities.
2113 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
2114 utility functions. some g_test_* related portions are disabled and need
2115 to be enabled once Gtk+ depends on a new glib with the GLib testing
2116 framework integrated.
2118 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
2119 added exemplary test rules to run tests inside Xvfb. this needs to depend
2120 on gtester for full fledged testing.
2122 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
2123 collecting _get_type functions to catch e.g. gtk_text_get_type().
2125 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
2127 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
2129 Added Gtk+ testing utilities.
2131 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
2132 for the most part, the functions herein involve navigating and interacting
2133 with dialog elements programatically, to automate user interaction tests of
2134 dialogs and widgets.
2136 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
2138 * gtk/gtk.symbols: added gtk_test_* symbols.
2140 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
2141 generate gtktypefuncs.c which contains a list of all _get_type functions in
2143 2007-11-20 Bastien Nocera <hadess@hadess.net>
2145 * configure.in: add support for conditional icns gdk-pixbuf loader
2148 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
2150 * configure.in: updated version number to 2.15.0 for development.
2152 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
2154 === Branch for 2.12 ===