1 2008-02-15 Matthias Clasen <mclasen@redhat.com>
3 * gdk/x11/gdktestutils-x11.c:
4 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
6 2008-02-15 Tor Lillqvist <tml@novell.com>
8 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
9 leak Registry key handles. (#516578)
11 2008-02-14 Richard Hult <richard@imendio.com>
13 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
14 makeKeyWindow unfortunately doesn't work in all cases, we must use
17 2008-02-14 Richard Hult <richard@imendio.com>
19 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
20 (gdk_window_hide), (gdk_window_fullscreen),
21 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
24 2008-02-14 Richard Hult <richard@imendio.com>
26 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
27 resizing to be consistent and to avoid introducing an internal
28 transform in the view.
30 2008-02-14 Richard Hult <richard@imendio.com>
32 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
35 2008-02-14 Johan Dahlin <johan@gnome.org>
38 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
40 2008-02-13 Richard Hult <richard@imendio.com>
42 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
43 Remove unused variables.
44 (gtk_clipboard_set_contents),
45 (gtk_clipboard_get_owner), (clipboard_unset),
46 (gtk_clipboard_request_targets): Notify the previous clipboard
47 owner when the owner changes. Fixes bug #493406.
49 2008-02-13 Richard Hult <richard@imendio.com>
51 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
52 the return value (return number of colors that failed), and handle
54 (gdk_colormap_free_colors): Fix typo in comment.
56 2008-02-13 Kristian Rietveld <kris@imendio.com>
58 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
59 queue a redraw if the rubber banding has actually been active.
61 2008-02-12 Matthias Clasen <mclasne@redhat.com>
64 * gtk/gtkprintoperation.c:
65 * gtk/gtkvolumebutton.c:
66 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
67 out by Behdad Esfahbod.
69 2008-02-12 Federico Mena Quintero <federico@novell.com>
73 Don't focus the file list when shortcuts get activated. This
74 removes a lot of ambiguity in when the file selection should
75 change, and makes the overall code flow simpler.
77 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
78 file/save dialog clears the filename entry when changing
81 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
82 focus should not go to the file list when a shortcut is activated.
84 * gtk/gtkfilechooserdefault.c
85 (shortcuts_activate_volume_mount_cb): Don't focus the file list
86 (shortcuts_activate_get_info_cb): Likewise.
88 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
89 the file list (this was the last place where we would focus the
90 file list explicitly). If you are in the location entry, for
91 example, you don't want Alt-Home to take you to the file list; you
92 just want the current folder to change. Thanks to Olle Bergkvist
93 <olle.bergkvist@yahoo.se> for pointing this out in
94 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
95 (focus_browse_tree_view_if_possible): Removed.
97 2008-02-12 Matthias Clasen <mclasen@redhat.com>
99 Skip exensions when selecting filenames in the save-as dialog.
100 (#362516, Carlos Garnacho)
102 * gtk/gtkfilechooserentry.h:
103 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
104 New function to skip the extension part when selecting a filename.
105 (_gtk_file_chooser_entry_set_base_folder): Use it here.
107 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
110 2008-02-12 Matthias Clasen <mclasen@redhat.com>
112 * gtk/gtkiconview.c: Fix state change reporting for
113 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
115 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
117 * gtk/gtkrecentchooser.c:
118 (gtk_recent_chooser_class_init): Set the default value of the
119 :show-not-found property to TRUE, as every implementation sets
122 * gtk/gtkrecentchooserdefault.c:
123 (_gtk_recent_chooser_default_init): Sync show_tips to the
124 default value of the :show-tips property.
126 2008-02-12 Matthias Clasen <mclasen@redhat.com>
128 * gtk/gtkclipboard-quartz.c:
130 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
133 2008-02-12 Kristian Rietveld <kris@imendio.com>
135 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
136 (gtk_tree_view_real_toggle_cursor_row): guard against people
137 deleting the row in question in the selection-changed callback.
138 (#514621, Andreas Koehler).
140 2008-02-12 Matthias Clasen <mclasen@redhat.com>
142 * gtk/*.c: Unify the handling of various "Enter" keysyms
143 all over the place. (#515047, Christian Persch)
145 2008-02-12 Matthias Clasen <mclasen@redhat.com>
147 * gtk/gtkfilesystemmodel.c:
149 * gtk/gtkwidget.c: Use g_value_set_static_string() where
150 appropriate. (#515042, Christian Persch)
152 2008-02-12 Matthias Clasen <mclasen@redhat.com>
154 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
156 2008-02-12 Matthias Clasen <mclasen@redhat.com>
158 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
160 2008-02-12 Matthias Clasen <mclasen@redhat.com>
162 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
163 (recent_model_sort_drag_data_get):
164 (search_model_sort_drag_data_get):
165 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
166 * gtk/gtkpathbar.c (button_drag_data_get_cb):
167 Use gtk_selection_data_set_uris() instead of doing it
168 by hand. (#514890, Christian Persch)
170 2008-02-12 Michael Natterer <mitch@imendio.com>
172 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
173 gtk_get_current_event_time().
175 2008-02-12 Michael Natterer <mitch@imendio.com>
177 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
178 gtk_window_get_key_hash() to get the hash instead of manually
179 fiddling with quarks and gtk_window_keys_changed(). Also add
180 g_return_if_fail() to this public function.
182 2008-02-11 Matthias Clasen <mclasen@redhat.com>
184 Support keynav in status icons. (#473786, Li Yuan)
186 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
188 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
190 2008-02-11 Kristian Rietveld <kris@imendio.com>
192 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
193 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
194 wrt. link deletion from list; contination of fix for #503569.
196 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
198 * gtk/gtkrecentchoosermenu.c:
199 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
200 on the placeholder menu item.
202 * tests/testrecentchoosermenu.c:
203 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
204 whether the placeholder menu item gets shown.
206 2008-02-10 Cody Russell <bratsche@gnome.org>
208 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
209 Check the return value of _gtk_file_chooser_get_file_system () for
210 NULL before passing it to gtk_file_system_path_to_uri ().
211 (#515667, Francesco Montorsi)
213 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
215 * gtk/gtkbuilder.c: Improve the documentation for
216 gtk_builder_connect_signals. (#514471)
218 2008-02-10 Matthias Clasen <mclasen@redhat.com>
220 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
223 2008-02-08 Cody Russell <bratsche@gnome.org>
225 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
226 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
228 2008-02-08 Richard Hult <richard@imendio.com>
230 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
231 delta from the NSEvent for now, generating multiple scroll events
232 results in a lot of events getting queued up and things get really
235 2008-02-08 Sven Herzberg <sven@imendio.com>
237 Adjust the code to match the documentation, examples, "common sense"
238 and existing applications.
240 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
241 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
244 2008-02-07 Cody Russell <bratsche@gnome.org>
246 * gdk/win32/gdkevents-win32.c
247 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
248 of a block that were causing compile problems on old
249 compilers. (#515053, reported by Kazuki IWAMOTO)
251 2008-02-07 Michael Natterer <mitch@imendio.com>
260 * gtk/gtkoptionmenu.c
264 * gtk/gtkradiomenuitem.c
266 * gtk/gtkscrolledwindow.c
267 * gtk/gtksocket.c: remove g_return_if_fail() from private
268 functions and virtual function implementations.
270 2008-02-07 Michael Natterer <mitch@imendio.com>
277 * gtk/gtkcellrenderercombo.c
280 * gtk/gtkdrawingarea.c
281 * gtk/gtkentrycompletion.c
287 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
288 functions and virtual function implementations.
290 2008-02-07 Christian Persch <chpe@gnome.org>
292 * gdk/gdkpixbuf-render.c:
293 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
294 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
295 otherwise there will be random pixel values in the semi-transparent
296 area of the pixbuf within the mask. Bug #487865.
298 2008-02-06 Cody Russell <bratsche@gnome.org>
300 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
301 otherwise things get wonky when you click on a menu. This fixes
302 a regression caused in #505928. Thanks to Tor for spotting this
305 2008-02-06 Michael Natterer <mitch@imendio.com>
316 * gtk/gtkseparatortoolitem.c
318 * gtk/gtktextlayout.c
319 * gtk/gtktoggletoolbutton.c
320 * gtk/gtktoolbutton.c
323 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
326 2008-02-05 Matthias Clasen <mclasen@redhat.com>
328 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
329 Allow to store half-open ranges.
331 2008-02-05 Cody Russell <bratsche@gnome.org>
333 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
334 down the stack until we get to a window that is mapped.
335 Otherwise hiding a window will cause all windows in the app
336 to be blocked. (#514643)
338 2008-02-05 Matthias Clasen <mclasen@redhat.com>
340 * gtk/updateiconcache.c: Ignore images in the toplevel theme
341 directory, avoiding one source of invalid caches that has been
344 2008-02-05 Matthias Clasen <mclasen@redhat.com>
346 * gtk/updateiconcache.c: Fix the previous commit to compile.
348 2008-02-05 Matthias Clasen <mclasen@redhat.com>
350 * gtk/updateiconcache.c: Install a printerr handler that
351 prepends the program name, since gtk-update-icon-cache output
352 often appears in the middle of other output, e.g. rpm update logs.
354 2008-02-05 Cody Russell <bratsche@gnome.org>
356 * gdk/win32/gdkprivate-win32.h
357 * gdk/win32/gdkevents-win32.c
358 * gdk/win32/gdkwindow-win32.c
359 * gdk/win32/gdkwindow-win32.h
360 * gdk/win32/gdkwin32.h:
361 Modal window rework. (#455627 and #511111)
363 2008-02-04 Michael Natterer <mitch@imendio.com>
365 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
366 g_return_if_fail() if the cell is not part of the combo instead of
367 crashing in the next line.
369 2008-02-01 Cody Russell <cody@jhu.edu>
371 * modules/engines/ms-windows/xp_theme.[ch]
372 * modules/engines/ms-windows/xp_theme_defs.h
373 * modules/engines/ms-windows/msw_rc_style.c
374 * modules/engines/ms-windows/msw_theme_main.c
375 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
376 attempted to stylize more like the rest of the gtk+ stack's code.
378 2008-02-01 Michael Natterer <mitch@imendio.com>
380 * tests/testgtk.c: initialize GdkColor structs to fix warning
381 about uninitialized "pixel" member.
383 * tests/testactions.c: connect the toolbar_style() callback so it
384 does something useful and doesn't warn about being defined but not
387 2008-01-31 Cody Russell <bratsche@gnome.org>
389 * gdk/win32/gdkevents-win32.c:
390 Refactored some of the window hiding/showing code from
391 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
392 under WM_ACTIVATE was causing the application to go into
393 a weird state when the user right-clicked on the taskbar
394 entry of a window that was minimized. (#505928)
396 2008-01-31 Cody Russell <bratsche@gnome.org>
398 * gtk/gtkpaned.c (gtk_paned_set_position):
399 Change queue_resize() to queue_draw(), and add a check for
400 child2 != NULL in case someone calls this before there is
401 a child packed in there. (#144269 again)
403 2008-01-31 Sven Neumann <sven@gimp.org>
405 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
406 applied patch from Denis Oliver Kropp <dok@directfb.org>.
408 2008-01-31 Sven Neumann <sven@gimp.org>
410 * gdk/directfb/gdkdisplay-directfb.c
411 * gdk/directfb/gdkdrawable-directfb.c
412 * gdk/directfb/gdkprivate-directfb.h
413 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
414 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
416 2008-01-31 Richard Hult <richard@imendio.com>
418 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
419 issues with undecorated windows. Revert the change done on
420 2008-01-25 and fix it by using the view's bounds instead. The
421 bounds will always be up to date when setting up the tracking
422 rect, so this should be more robust.
424 2008-01-30 Sven Neumann <sven@gimp.org>
426 * gdk/directfb/gdkdrawable-directfb.c
427 * gdk/directfb/gdkwindow-directfb.c
428 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
429 Oliver Kropp <dok@directfb.org>. Adds debug messages using
430 DirectFB's debugging system
432 2008-01-30 Sven Neumann <sven@gimp.org>
434 * gdk/directfb/gdkdirectfb.h
435 * gdk/directfb/gdkdisplay-directfb.c
436 * gdk/directfb/gdkdrawable-directfb.c
437 * gdk/directfb/gdkim-directfb.c
438 * gdk/directfb/gdkimage-directfb.c
439 * gdk/directfb/gdkinput-directfb.c
440 * gdk/directfb/gdkmain-directfb.c
441 * gdk/directfb/gdkpixmap-directfb.c
442 * gdk/directfb/gdktestutils-directfb.c
443 * gdk/directfb/gdkvisual-directfb.c
444 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
445 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
446 errors and has some cleanups.
448 2008-01-30 Michael Natterer <mitch@imendio.com>
450 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
451 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
454 * gtk/updateiconcache.c (add_string): cast const gchar* to
455 gpointer when inserting in a GHashTable.
457 * tests/testcalendar.c (calendar_detail_cb): remove const from
458 return value since it's a newly allocated string.
460 (calendar_update_details): free the detail.
462 2008-01-29 Johan Dahlin <johan@gnome.org>
464 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
466 * demos/gtk-demo/demo.ui:
467 Move the about dialog to the glade file, add accessible tags
468 examples to the markup file.
470 2008-01-28 Paolo Borelli <pborelli@katamail.com>
472 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
473 layout, fixes #512375.
475 2008-01-28 Michael Natterer <mitch@imendio.com>
478 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
480 2008-01-28 Michael Natterer <mitch@imendio.com>
482 * demos/gtk-demo/builder.c (about_activate): use
483 gtk_about_dialog_set_program_name() instead of the deprecated
486 2008-01-28 Michael Natterer <mitch@imendio.com>
489 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
492 2008-01-26 Johan Dahlin <johan@gnome.org>
495 * tests/textbuffertest.c:
496 Rename textbuffer test and port it to the new test framework
498 2008-01-25 Johan Dahlin <johan@gnome.org>
500 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
501 unsetting of GTK_MODULES.
503 * gtk/gtk-builder-convert
504 (GtkBuilderConverter._convert_adjustment): Handle the case where
505 there is no child text node.
506 (GtkBuilderConverter): Allow xml comments in most places.
508 2008-01-25 Johan Dahlin <johan@gnome.org>
510 * gtk/gtk-builder-convert
511 (GtkBuilderConverter._convert_combobox_items): Remove the items
512 even if there are no items set.
513 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
514 signals and tooltips for all menu items subclasses and
515 GtkImageMenuItem:label.
516 Makes it possible to fully convert and run Jokosher.glade.
518 2008-01-25 Johan Dahlin <johan@gnome.org>
520 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
521 (gtk_widget_buildable_get_internal_child), (free_action),
522 (free_relation), (gtk_widget_buildable_parser_finished),
523 (accessibility_start_element),
524 (gtk_widget_buildable_custom_tag_start),
525 (gtk_widget_buildable_custom_finished):
526 Implement accessible support, fixes #454653.
528 * gtk/gtk-builder-convert:
529 Add support for migrating old glade files
531 * tests/buildertest.c: (test_widget), (test_file):
532 Add accessible tests and imprve the test_file function to display
533 toplevels and run dialogs.
535 2008-01-25 Richard Hult <richard@imendio.com>
537 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
538 didn't change, fixes focus event issues for undecorated windows.
540 2008-01-25 Richard Hult <richard@imendio.com>
542 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
543 const and remove unused variables).
545 2008-01-25 Michael Natterer <mitch@imendio.com>
548 * gtk/gtkcellrenderer.h
553 * gtk/gtktreeprivate.h
554 * gtk/gtktreeviewcolumn.h
555 * gtk/gtkwidget.h: add const to constant structs which are passed
556 into GTK+. Also add some forgotten const for const strings.
560 * gtk/gtkcellrenderer.c
566 * gtk/gtktreeviewcolumn.c
567 * gtk/gtkwidget.c: changed accordingly.
569 2008-01-25 Sven Herzberg <sven@imendio.com>
571 Reviewed by Johan Dahlin.
573 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
574 this is called with something that's not a GtkUIManager
576 2008-01-24 Johan Dahlin <johan@gnome.org>
578 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
579 Chain up to parent, so widgets can have internal children.
581 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
583 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
586 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
588 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
590 Use pango_layout_set_height() for calendar details (#506049).
592 * configure.in: Require 1.19.3 for pango_layout_set_height().
593 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
595 2008-01-18 Johan Dahlin <johan@gnome.org>
597 * gtk/gtk-builder-convert (get_property_node): New method
598 (GtkBuilderConverter._create_object): Conditionally take a node as
599 a property value, so don't lose translate/context attributes if they
601 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
602 property values instead of strings.
603 (#509153, Erik van Pienbroek)
605 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
607 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
609 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
610 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
611 * tests/testcalendar.c: Duplicate calendar details before returning.
613 2008-01-16 Christian Persch <chpe@gnome.org>
615 * gtk/gtkwidget.c: Store the event mask and extension event mode
616 directly in the gobject data pointer, instead of in an allocated
619 2008-01-16 Michael Natterer <mitch@imendio.com>
621 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
622 gdk-pixbuf now uses gio functions.
624 2008-01-16 Matthias Clasen <mclasen@redhat.com>
626 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
627 the notify::model signal. (#509819, David Zeuthen)
629 2008-01-15 Michael Natterer <mitch@imendio.com>
637 * gdk/gdkwindow.h: made more struct pointer and array parameters
638 const. GDK should now be constified as far as possible without
639 breaking source compatibility. Includes some minor cleanup like
640 indentation and s/nfoo/n_foo/ (bug #508544).
646 * gdk/gdkregion-generic.c
648 * gdk/directfb/gdkdisplay-directfb.c
649 * gdk/directfb/gdkwindow-directfb.c
650 * gdk/quartz/gdkdisplay-quartz.c
651 * gdk/quartz/gdkwindow-quartz.c
652 * gdk/win32/gdkdisplay-win32.c
653 * gdk/win32/gdkwindow-win32.c
654 * gdk/x11/gdkdisplay-x11.c
655 * gdk/x11/gdkwindow-x11.c: changed accordingly.
657 2008-01-14 Michael Natterer <mitch@imendio.com>
659 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
662 (gtk_rc_parse_any): change variables to const and introduce
663 another local variable to fix const warnings.
665 2008-01-14 Michael Natterer <mitch@imendio.com>
667 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
668 of gdk_screen_get_font_options() to gpointer to get rid of const
671 2008-01-14 Michael Natterer <mitch@imendio.com>
673 * tests/testdnd.c (source_drag_data_get): fix another call to
674 gtk_selection_data_set().
676 2008-01-14 Michael Natterer <mitch@imendio.com>
678 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
681 2008-01-14 Michael Natterer <mitch@imendio.com>
683 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
685 2008-01-14 Michael Natterer <mitch@imendio.com>
687 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
688 "uris" to guchar* when passing it to gtk_selection_data_set().
690 2008-01-14 Michael Natterer <mitch@imendio.com>
698 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
699 parameters const (bug #508544).
705 * gdk/gdkpolyreg-generic.c
706 * gdk/gdkregion-generic.c
707 * gdk/directfb/gdkcolor-directfb.c
708 * gdk/directfb/gdkgc-directfb.c
709 * gdk/directfb/gdkgeometry-directfb.c
710 * gdk/directfb/gdkwindow-directfb.c
711 * gdk/quartz/gdkcolor-quartz.c
712 * gdk/quartz/gdkgc-quartz.c
713 * gdk/quartz/gdkgeometry-quartz.c
714 * gdk/quartz/gdkwindow-quartz.c
715 * gdk/win32/gdkcolor-win32.c
716 * gdk/win32/gdkgc-win32.c
717 * gdk/win32/gdkgeometry-win32.c
718 * gdk/win32/gdkprivate-win32.h
719 * gdk/win32/gdkwindow-win32.c
720 * gdk/x11/gdkcolor-x11.c
721 * gdk/x11/gdkgc-x11.c
722 * gdk/x11/gdkgeometry-x11.c
723 * gdk/x11/gdkmain-x11.c
724 * gdk/x11/gdkprivate-x11.h
725 * gdk/x11/gdkwindow-x11.c: changed accordingly.
727 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
730 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
732 Explain name choice for gtk_tool_item_toolbar_reconfigured.
734 * gtk/gtktoolitem.c: Add comment expaining name choice for
735 gtk_tool_item_toolbar_reconfigured.
737 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
739 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
740 implementations to notify its children, when some aspect of their
741 configuration changed (#509042).
743 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
744 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
745 Rename _gtk_tool_item_toolbar_reconfigured.
747 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
749 Include <gtk/gtktoolshell.h> from gtk.h.
751 * gtk/gtk.h: Add gtktoolshell.h
753 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
755 Print angle brackets arround e-mail addresses in the about dialog
756 (#409520, Mariano Suárez-Alvarez).
758 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
760 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
762 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
763 special casing so test widgets are always queues for destruction
766 * gtk/tests/testing.c: removed bits left-over from testing without
769 2008-01-10 Tor Lillqvist <tml@novell.com>
771 * modules/other/gail/libgail-util/Makefile.am
772 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
775 2008-01-10 Tor Lillqvist <tml@novell.com>
777 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
778 uses gtkprintunixdialog API.
780 2008-01-10 Tor Lillqvist <tml@novell.com>
782 * gdk/win32/gdkdisplay-win32.c
783 * gdk/win32/gdkglobals-win32.c
784 * gdk/win32/gdkprivate-win32.h
785 * gdk/win32/gdkscreen-win32.c
786 * gdk/win32/gdkwindow-win32.c: Implement
787 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
788 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
791 2008-01-10 Cody Russell <bratsche@gnome.org>
793 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
794 Properly ref/unref windows and parents. (#506769)
796 2008-01-10 Richard Hult <richard@imendio.com>
798 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
799 (gdk_window_hide), (move_resize_window_internal): Move the
800 tracking rect workaround from here...
802 * gdk/quartz/GdkQuartzWindow.c:
803 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
804 movements during showing/hiding operations. Fixes bug #508516.
806 2008-01-10 Michael Natterer <mitch@imendio.com>
808 * gdk/directfb/gdkscreen-directfb.c
809 (gdk_screen_get_monitor_width_mm)
810 (gdk_screen_get_monitor_height_mm)
811 (gdk_screen_get_monitor_plug_name): add these functions to make
814 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
816 * gtk/gtkrecentchoosermenu.c:
817 (idle_populate_func), (idle_populate_clean_up): Fix possible
818 recursion by resetting the idle source id. (#507605, William
821 2008-01-10 Kristian Rietveld <kris@imendio.com>
823 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
824 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
825 avoid valgrind warnings. (#507751, patch from Christian Persch).
827 2008-01-10 Kristian Rietveld <kris@imendio.com>
829 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
830 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
832 2008-01-10 Kristian Rietveld <kris@imendio.com>
834 Fix #477175, reported by Juri Pakaste.
836 * gtk/gtktreeprivate.h:
837 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
838 tree_view->priv->dy here directly, just calculate the new value
839 and set it on the adjustment,
840 (gtk_tree_view_adjustment_changed): add guards to not call
841 gtk_tree_view_dy_to_top_row() if we are currently in
842 gtk_tree_view_top_row_to_dy(),
843 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
844 coordinates, not tree coordinates,
845 (gtk_tree_view_real_start_editing): add cast.
847 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
848 position of the editable in the "create new row and start editing"
851 2008-01-09 Michael Natterer <mitch@imendio.com>
853 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
856 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
857 * gtk/gtkicontheme.c (theme_list_contexts)
858 (gtk_icon_theme_lookup_icon)
859 * gtk/gtkimcontextsimple.c (beep_window)
860 * gtk/gtklinkbutton.c (set_link_color)
861 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
864 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
865 variable and add const to another to fix a warning.
867 2008-01-07 Matthias Clasen <mclasen@redhat.com>
869 * gtk/gtkassistant.c (remove_page): Be more robust when removing
870 the current page. (#499951, Andreas Sandberg)
872 2008-01-06 Johan Dahlin <johan@gnome.org>
874 * gtk/gtkspinbutton.c: Declare value in the example code for
875 GtkSpinButton::output, as pointed out by Anders Carlsson.
877 2008-01-06 Christian Persch <chpe@gnome.org>
879 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
880 and remove an obsolete event box. Bug #506760.
882 2008-01-06 Johan Dahlin <johan@gnome.org>
884 * tests/buildertest.c (test_domain):
885 Update, GtkBuilder::translation-domain is no longer set
887 * gtk/gtkbuilderparser.c (parse_interface):
888 Allow domains to be overridden in <interface>'s if a translation-domain
889 is set in the builder.
890 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
891 of the builder, make the domain set in the <interface> apply only to strings
893 (#496831, Ryan Lortie)
895 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
898 * gtk/gtktreestore.c (tree_model_end_element):
899 Remove an unused variable
901 2008-01-06 Matthias Clasen <mclasen@redhat.com>
903 * gtk/gtkspinbutton.c: Document the ::output signal and
904 add an example. (#507566, example by Owen Taylor)
906 2008-01-06 Johan Dahlin <johan@gnome.org>
908 * gtk/gtkcellrenderercombo.c:
909 (gtk_cell_renderer_combo_get_property),
910 (gtk_cell_renderer_combo_set_property):
911 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
912 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
913 * gtk/gtknotebook.c: (gtk_notebook_set_property):
914 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
915 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
916 (gtk_text_buffer_get_property):
917 * gtk/gtktextview.c: (gtk_text_view_set_property):
918 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
919 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
920 (gtk_tool_button_get_property):
921 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
922 (gtk_tool_item_get_property):
923 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
924 * gtk/gtkwidget.c: (gtk_widget_set_property):
925 * gtk/gtkwindow.c: (gtk_window_set_property):
926 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
929 2008-01-06 Johan Dahlin <johan@gnome.org>
931 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
932 Make sure that --root works for toplevel widgets.
933 (#491847, Phil Lello)
935 2008-01-05 Johan Dahlin <johan@gnome.org>
937 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
938 to make sure that make test-report works properly
940 2008-01-05 Christian Persch <chpe@gnome.org>
942 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
943 GType as integer through gpointer. Bug #507395.
945 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
947 Avoid some compiler warnings (#507000).
949 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
950 for value argument of _gtk_builder_flags_from_string.
951 * gtk/gtkwidget.c: Don't alias the child pointer passed
952 to gdk_window_get_user_data.
954 2008-01-04 Michael Natterer <mitch@imendio.com>
956 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
957 to set the time in the returned GdkTimeCoords.
959 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
961 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
962 correct comparison function (kudos to Christian Persch and
963 Claudio Saavedra for spotting this)
965 * gtk/gtkrecentchooserutils.c:
966 (sort_recent_items_mru),
967 (sort_recent_items_lru): Ditto as above.
969 2008-01-03 Johan Dahlin <johan@gnome.org>
971 * tests/defaultvaluetest.c: Make it pass again.
973 2008-01-02 Johan Dahlin <johan@gnome.org>
975 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
976 make it pass on Ubuntu.
977 (main): Use gtk_test_list_all_types () instead of providing our
979 And it no longer passes.
981 2007-12-30 Johannes Schmid <jhs@gnome.org>
983 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
984 Also reorder menu when reordering tabs by drag & drop
987 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
988 Add a menu to one of the notebooks to have a test-case for
989 the change mentioned above.
991 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
993 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
995 2007-12-31 Christian Persch <chpe@gnome.org>
997 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
998 Plug a mem leak. Bug #506107.
1000 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1002 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
1003 icon cache api change. (#506135, Kazuki Iwamoto)
1005 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1007 Consider "wide-separators" and "separator-height" style properties:
1008 The separator is drawn using gtk_paint_box instead of cairo, when
1009 "wide-separators" is set. Also do not highlight details for previous
1010 or next month, if their day matches the selected day. (#339540)
1012 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
1013 in gtk_calendar_size_request and calendar_paint_day
1014 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
1015 for selected detail separators in GtkCalendar.
1017 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1019 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
1021 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
1022 a local variable instead in gtk_calendar_size_request.
1024 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1026 * tests/defaultvaluetest.c: Add enough exclusions to make the
1029 2007-12-28 Christian Persch <chpe@gnome.org>
1031 * modules/other/gail/Makefile.am:
1032 * modules/other/gail/tests/*:
1033 * configure.in: Merge tests from standalone gail. Bug #504568.
1035 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1037 * gtk/gtkclipboard.c: Make the finalizer work when display is
1040 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1042 Draw bottom shadow of GtkCalender headings. (#506113)
1044 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
1046 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1048 * gtk/gtkcalendar.c: Document the initial values of year/month/day
1051 2007-12-28 Christian Persch <chpe@gnome.org>
1053 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
1054 a mem leak. Bug #506096.
1056 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1059 * gtk/gtktreeview.c:
1060 * gtk/gtkprintoperation.c:
1061 * gtk/gtkprogressbar.c:
1062 * gtk/gtkmessagedialog.c:
1063 * gtk/gtknotebook.c:
1067 * gtk/gtklinkbutton.c:
1068 * gtk/gtkmenu.c: More default property value corrections.
1070 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1072 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
1073 accel_group unless it is set.
1075 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1077 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
1079 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1081 * gtk/gtkhandlebox.c: Fix the default values of shadow and
1082 shadow-type properties.
1084 * gtk/gtkfontsel.c: Fix the default values of several properties.
1086 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
1089 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
1091 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
1094 2007-12-28 Johan Dahlin <johan@gnome.org>
1096 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
1097 (gtk_dialog_buildable_custom_tag_start): Chain up.
1098 This makes it possible to have accelerators tags on GtkDialog
1101 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1103 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
1104 are shown within the widget, or just as tooltip. (#339540)
1106 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
1107 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
1108 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
1111 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1113 Try more decent appearance of calendar details separator. (#339540)
1115 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
1116 and make it short by one pixel on each side.
1118 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1120 Apply trivial code-style changes from attachement 101101. (#339540)
1122 * tests/testcalendar.c: Some updates to current GTK+ code-style.
1124 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1126 Restructure testcalendar for testing calendar details. (#339540)
1128 * tests/testcalendar.c: Push code arround for testing calendar details.
1130 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1132 Implement GtkTooltip API for calendar details. (#339540)
1134 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
1135 Remember detail overflows in calendar_paint_day to show the tooltip
1136 only when neccessary.
1138 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1140 Without setting "detail-width-chars" and "detail-height-rows"
1141 properties not only the widget has to be redrawn on certain
1142 conditions, but also its size must be recalculated. (#339540)
1144 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
1145 that function instead of gtk_widget_queue_draw.
1147 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1149 Consider details for size-request and expose-event. (#339540)
1151 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
1152 is_color_attribute functions. Change gtk_calendar_size_request
1153 and calendar_paint_day to consider and show calender details.
1155 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1157 * gtk/gtkcombobox.c: Introduce local priv variables to
1160 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1162 * gtk/gtkcombobox.c: Correct the default value for the
1163 tearoff-title property.
1165 * gtk/gtkcellrenderertext.c: Fix the default value for the
1166 wrap-mode and font-scale properties.
1168 * gtk/gtkaspectratio.c: Fix the default value for the ratio
1171 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1173 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
1174 defines. (#505708, MINAMI Hirokazu)
1176 2007-12-27 Christian Persch <chpe@gnome.org>
1178 * Makefile.am: Install gail.pc. Bug #505859.
1180 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
1182 Add infrastructure for GtkCalendar details. (#339540)
1184 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
1185 Add "detail-width-chars" and "detail-height-rows" properties,
1186 and gtk_calendar_set_detail_func function.
1188 2007-12-27 Xan Lopez <xan@gnome.org>
1191 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
1193 Add gtk_border_new to avoid memory allocator confusions when using
1194 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
1196 2007-12-27 Christian Persch <chpe@gnome.org>
1198 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
1199 bug #504886 not to read unitialised memory.
1201 2007-12-26 Xan Lopez <xan@gnome.org>
1203 * gtk/gtkstatusbar.c (has_extra_children): take into account the
1204 modification of the internal frame contents to decide if we have
1205 extra children. (#415677)
1207 2007-12-22 Christian Persch <chpe@gnome.org>
1209 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
1211 2007-12-25 Christian Persch <chpe@gnome.org>
1213 * modules/other/gail/gailwindow.c: (gail_window_initialize):
1214 Initialise |widget|. Fixes a buglet introduced by the commit from bug
1217 2007-12-25 Christian Persch <chpe@gnome.org>
1219 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
1221 2007-12-25 Christian Persch <chpe@gnome.org>
1223 * modules/other/gail/*.[ch]: Remove relocations from the atk
1224 factories. Remove unused gail_foo_new() functions. Fix object
1225 instantiation to be derivation safe by moving initialisation code
1226 from the removed gail_foo_new() functions to the
1227 AtkObjectClass::initialize implementation. Bug #505226.
1229 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1231 * modules/other/gail/gailentry.c:
1232 * modules/other/gail/gailimage.c:
1233 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
1234 uses of clipboards and settings. (#504722, Christian Persch)
1236 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1238 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
1241 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1243 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
1244 use the time and button information from the event. (#504901,
1247 2007-12-23 Cody Russell <bratsche@gnome.org>
1249 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
1250 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
1251 Fixes a regression caused by #164537 patch where transient
1252 windows that are hidden get shown (incorrectly) when their
1253 parents are minimized. (#504984)
1255 2007-12-22 Christian Persch <chpe@gnome.org>
1257 * modules/other/gail/gailcell.c:
1258 * modules/other/gail/gailcontainercell.c:
1259 * modules/other/gail/gailexpander.c:
1260 * modules/other/gail/gailtextcell.c:
1261 * modules/other/gail/gailtextview.c:
1262 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
1264 2007-12-22 Christian Persch <chpe@gnome.org>
1266 * modules/other/gail/*.c: Include config.h. Bug #504720.
1268 2007-12-22 Christian Persch <chpe@gnome.org>
1270 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
1271 handwritten get_type functions. Bug #504661.
1273 2007-12-23 Xan Lopez <xan@gnome.org>
1275 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
1276 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
1278 Patch by Sadrul Habib Chowdhury (#504804)
1280 2007-12-22 Christian Persch <chpe@gnome.org>
1282 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
1283 #504645, patch by Li Yuan.
1285 2007-12-22 Christian Persch <chpe@gnome.org>
1287 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
1289 2007-12-22 Christian Persch <chpe@gnome.org>
1291 * modules/other/gail/gail.c:
1292 * modules/other/gail/gailbutton.c:
1293 * modules/other/gail/gailcell.c:
1294 * modules/other/gail/gailcombo.c:
1295 * modules/other/gail/gailcombo.h:
1296 * modules/other/gail/gailcombobox.c:
1297 * modules/other/gail/gailentry.c:
1298 * modules/other/gail/gailexpander.c:
1299 * modules/other/gail/gailmenuitem.c:
1300 * modules/other/gail/gailnotebook.c:
1301 * modules/other/gail/gailnotebookpage.c:
1302 * modules/other/gail/gailnotebookpage.h:
1303 * modules/other/gail/gailoptionmenu.c:
1304 * modules/other/gail/gailrange.c:
1305 * modules/other/gail/gailtextview.c:
1306 * modules/other/gail/gailtreeview.c:
1307 * modules/other/gail/gailtreeview.h:
1308 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
1311 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1313 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
1316 2007-12-21 Richard Hult <richard@imendio.com>
1318 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
1319 Plug leak of destroyed subviews, fixes bug #504753.
1321 2007-12-20 Johan Dahlin <johan@gnome.org>
1323 * tests/Makefile.am (TEST_PROGS):
1324 * tests/defaultvaluetest.c: Add a test for default values,
1325 based on program by Christan Perch
1327 2007-12-20 Johan Dahlin <johan@gnome.org>
1329 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
1330 Refactor to avoid some duplication.
1331 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
1332 Fixes #504749, Yuri Pimenov
1334 2007-12-20 Kristian Rietveld <kris@imendio.com>
1336 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
1337 the build work again on systems without xrandr 1.2.
1339 2007-12-20 Christian Persch <chpe@gnome.org>
1342 * modules/other/gail/libgail-util/Makefile.am:
1343 Keep the same libtool version as the standalone libgail-util had.
1346 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
1348 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
1350 2007-12-20 Alexander Larsson <alexl@redhat.com>
1352 * gdk/x11/gdkapplaunchcontext-x11.c:
1353 Update for gio API changes
1355 2007-12-20 Richard Hult <richard@imendio.com>
1357 * gdk/quartz/GdkQuartzWindow.c:
1358 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
1359 processing events after changing the size.
1361 2007-12-20 Richard Hult <richard@imendio.com>
1363 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
1364 Add stub for quartz to fix build.
1366 2007-12-20 Christian Persch <chpe@gnome.org>
1368 * modules/other/gail/Makefile.am:
1369 * modules/other/gail/gailimage.c: (gail_image_class_init),
1370 (gail_image_init), (elide_underscores), (gail_image_get_name),
1371 (atk_image_interface_init), (gail_image_finalize):
1372 * modules/other/gail/gailimage.h:
1373 R modules/other/gail/gailintl.h:
1374 * po/POTFILES.skip: Use the stock item's label as the name of the
1375 accessible in gailimage.c. Bug #504246.
1377 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
1379 Avoid some compiler warnings and remove obsolete code. (#339540)
1381 * gtk/gtkcalendar.c: Change week and year variable in
1382 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
1383 0" block from calendar_paint_day: The feature in question is handled
1384 few lines above. Cast data returned by gtk_selection_data_get_text()
1385 to (gchar*) in gtk_calendar_drag_data_received.
1387 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
1389 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
1391 2007-12-19 Johan Dahlin <johan@gnome.org>
1393 * tests/buildertest.c (test_object_properties):
1394 Add another call to gtk_builder_add_string after using
1395 delayed properties, as reported in #504393 but already
1398 2007-12-18 Christian Persch <chpe@gnome.org>
1401 * docs/reference/Makefile.am:
1402 * docs/reference/libgail-util/*:
1403 * gail-uninstalled.pc.in:
1405 * modules/Makefile.am:
1406 * modules/other/Makefile.am:
1407 * modules/other/gail/*:
1408 * modules/other/gail/libgail-util/*:
1409 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
1411 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1413 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
1414 * gdk/win32/gdkproperty-win32.c:
1415 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
1417 * gtk/gtkimmodule.[hc]:
1418 * gtk/gtkimmulticontext.[hc]: When determining the default context,
1419 look at the gtk-im-module setting, and listen for changes to the
1420 setting. (#502446, Akira Tagoh)
1422 2007-12-17 Kristian Rietveld <kris@imendio.com>
1424 * gtk/gtktooltip.c (gtk_tooltip_finalize),
1425 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
1426 to NULL as soon as it's destroyed. (#496546, patch from
1429 2007-12-17 Kristian Rietveld <kris@imendio.com>
1431 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
1432 always determine what arrow to show if show_sort_indicator is true.
1433 (#352738, Chris Vine).
1435 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
1437 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
1438 Sébastien Granjoux)
1440 * gtk/gtkpaned.c: Call gtk_container_forall instead of
1441 gtk_container_foreach in get_child_panes.
1443 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
1445 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
1447 Plug leak: When reordering the info in the list the old node is
1448 removed but not freed. (#503569)
1450 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
1452 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
1453 Use u32 instead of __u32 and u8 instead of __u8 as the other types
1454 are deprecated since DirectFB 1.0.0. If compiling with an older
1455 version define the new type name to the old types. Fixes bug #503190.
1457 2007-12-14 Ray Strode <rstrode@redhat.com>
1459 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
1460 instead of g_signal_connect_after (..., "realize", ...) as an
1461 alternative to gtk_widget_realize () (bug 503537).
1463 2007-12-14 Michael Natterer <mitch@imendio.com>
1465 * gdk/gdkinternals.h
1466 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
1469 * gdk/gdkapplaunchcontext.c
1470 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
1471 header already includes everything now.
1473 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1475 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
1476 next stable release shall be 2.16, not 2.14 - even if disagree.
1478 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
1480 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1482 Change GtkToolItem to retrieve its properties from GtkToolShell
1483 interface, instead of relying on being child of a GtkToolbar.
1486 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
1487 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
1488 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
1489 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
1490 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
1491 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
1492 Take section docs from template file and update them for GtkToolShell.
1493 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
1494 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
1496 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1498 Extract loading of GtkPageSetup and GtkPrintSettings from their
1499 *_new_*() functions and move that code into separate
1500 *_load_*() functions (#475565).
1502 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
1503 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
1504 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
1505 Change the matching *_new_*() functions to use those functions.
1507 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1510 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
1512 2007-12-14 Kristian Rietveld <kris@imendio.com>
1514 * gtk/tests/liststore.c:
1515 * gtk/tests/treestore.c: added tests for insertion functions.
1517 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
1519 * Add RandR 1.2 support
1521 - New monitors_changed signal - New API to get width/height of
1522 monitors, and the name of the plug
1524 2007-12-13 Kristian Rietveld <kris@imendio.com>
1526 * gtk/tests/liststore.c:
1527 * gtk/tests/treestore.c: test the move and swap functions on a
1528 store with only one node.
1530 2007-12-13 Kristian Rietveld <kris@imendio.com>
1532 * gtk/gtktestutils.c (gtk_test_init): add a call to
1535 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
1538 2007-12-13 Kristian Rietveld <kris@imendio.com>
1540 * gtk/tests/liststore.c:
1541 * gtk/tests/treestore.c: start composing tests for the list and tree
1544 * gtk/tests/treeview-scrolling.c: added automated tests for
1545 GtkTreeView's scrolling "subsystem".
1547 * gtk/tests/Makefile.am: updated; added new test programs.
1549 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
1551 Make the code compile again after the GdkAppLaunchContext changes.
1553 * configure.in: Add gio-2.0 to GDK_PACKAGES.
1554 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
1556 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1558 * gdk/gdkapplaunchcontext.c: Add docs
1560 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1562 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
1563 in gdk, providing startup notification. (#503203)
1565 * gdk/x11/gdkapplaunchcontext-x11.c:
1566 * gdk/win32/gdkapplaunchcontext-win32.c:
1567 * gdk/quartz/gdkapplaunchcontext-quartz.c:
1568 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
1569 parts. All but X11 are just empty stubs for now.
1572 * gdk/gdkinternals.h:
1574 * gdk/x11/Makefile.am:
1575 * gdk/win32/Makefile.am:
1576 * gdk/quartz/Makefile.am:
1577 * gdk/directfb/Makefile.am: Necessary glue.
1579 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
1581 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
1583 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1585 * gdk/directfb/gdktestutils-directfb.c:
1586 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
1587 which adds testing functions to the DirectFB backend.
1589 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1591 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
1592 Ciccani which fixes the mixing of gdk and cairo rendering.
1594 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
1596 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
1597 on "drag-motion" handlers. Clearify documentation for
1600 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
1602 * buildertest.c: made unnecessarily exported symbols static.
1603 switched g_return_if_fail() statements in tests to assertions.
1604 special cased currently failing Widget/accesibility test to
1605 run only for g_test_thorough(), so it doesn't break make check.
1606 some coding style fixes.
1608 * Makefile.am: added buildertest to TEST_PROGS.
1610 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1612 * docs/tutorial/gtk-tut.sgml:
1613 Use gtk_widget_get_parent_window() instead of widget->parent->window.
1615 2007-12-10 Richard Hult <richard@imendio.com>
1617 * gdk/quartz/Makefile.am:
1618 * gdk/quartz/gdkquartz.h:
1619 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
1620 header (bug #405915). Also add a getter for the toplevel nswindow.
1622 2007-12-10 Richard Hult <richard@imendio.com>
1624 * gdk/quartz/gdkdrawable-quartz.c:
1625 (gdk_quartz_drawable_get_context),
1626 (gdk_quartz_drawable_release_context):
1627 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
1628 (gdk_event_check), (gdk_event_dispatch), (poll_func):
1629 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
1630 used for each drawing context and in prepare, dispatch and poll
1631 with one that exists across each main loop iteration. Fixes leaks
1632 on leopard and protects against future leaks introduce when the
1633 underlying system changes again (bug #492977).
1635 2007-12-10 Richard Hult <richard@imendio.com>
1637 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
1638 Fix the check for no changes to position and size.
1640 2007-12-10 Richard Hult <richard@imendio.com>
1642 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
1643 sized areas at (0, 0), patch from Paul Davis.
1645 2007-12-10 Richard Hult <richard@imendio.com>
1647 * gdk/quartz/gdkprivate-quartz.h:
1648 * gdk/quartz/gdkeventloop-quartz.c:
1649 (_gdk_quartz_event_loop_get_pending),
1650 (_gdk_quartz_event_loop_check_pending),
1651 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
1652 (gdk_event_check), (gdk_event_dispatch):
1653 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
1654 (_gdk_events_queue): Fix a bug where we could end up trying to
1655 handle the same event more than once. Based on patch from Paul
1658 2007-12-10 Tor Lillqvist <tml@novell.com>
1660 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
1663 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1665 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
1666 to avoid further fallout from the fix for bug 388321.
1668 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1670 * gdk/directfb/gdkgc-directfb.c:
1671 * gdk/directfb/gdkdrawable-directfb.c:
1672 * gdk/directfb/gdkdirectfb.h:
1673 * gdk/directfb/gdkwindow-directfb.c:
1674 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
1675 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
1676 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
1677 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
1678 which are expected to improve the performance of the DirectFB backend.
1679 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
1681 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1683 * gtk/gtkcontainer.c: Correct the documentation of child
1684 property getter arguments. (#501992, David Brigada)
1686 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1688 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
1689 leak pixbufs. (#502250, Yevgen Muntyan)
1691 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
1693 * gtk/gtkprintunixdialog.c:
1694 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
1695 Print and Page Setup dialogs (#502202).
1697 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
1699 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
1700 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
1701 of XVFB_START, since it's the GTESTER invokation that needs this.
1703 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
1705 * gdk-pixbuf/gdk-pixbuf.symbols:
1707 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
1708 positives in abicheck.sh
1710 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1712 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
1713 GDK events generations in the DirectFB backend.
1715 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
1717 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
1718 set of likely unused display ids, because MacOS has no seq(1) command.
1720 2007-12-06 Richard Hult <richard@imendio.com>
1722 * gdk/quartz/gdkevents-quartz.c:
1723 (synthesize_crossing_events_for_ns_event): Fix warning when
1724 switching spaces in leopard.
1726 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
1728 * tests/floatingtest.c: ported to new testing framework.
1730 * tests/Makefile.am: run floatingtest as testing framework test.
1732 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
1734 * tests/autotestfilechooser.c: majorly speed up execution by reducing
1735 timeouts and converting main loop sleeps to pending/iterate loops with
1736 very low priority async handlers. eliminate output for non-verbose
1737 tests. assert successfull subtests in all test functions. use testing
1738 framework in main().
1740 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
1741 executed inside Xvfb upon make check.
1743 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
1745 * tests/objecttests.c: use string comparisons for string property
1746 values and get rid of referencing symbols in array initialization.
1748 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
1750 * gtk+/Makefile.decl: run tests in current dir after setting up the
1751 logging directory, so their results get properly merged into the
1754 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
1755 tests to loop over registered Gdk/Gtk+ types.
1757 * gtk+/tests/objecttests.c: new test program, implements automated
1758 property tests. several properties are blacklisted because they
1759 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
1760 can be used to test blacklisted properties and see which proprty failed.
1762 2007-12-04 Richard Hult <richard@imendio.com>
1764 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
1765 Fully initialize the root window, fixes bug #501583.
1767 2007-12-04 Matthias Clasen <mclasen@redhat.com>
1769 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
1772 2007-12-03 Richard Hult <richard@imendio.com>
1774 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
1775 Don't crash when dragging from a source that doesn't support uri
1776 lists (bug #499868, Paul Davis).
1778 2007-12-03 Richard Hult <richard@imendio.com>
1780 * gdk/quartz/gdkwindow-quartz.c:
1781 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
1782 parent relative bg pixmap is set, and no parent has a bg
1783 pixmap. Fixes bug #500804.
1785 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1787 Two optimizations for icon cache lookups.
1789 * gtk/gtkiconcache.[hc]:
1790 * gtk/gtkicontheme.c: Remember the directory index for
1791 subdirectories, instead of running over the directory list
1794 * gtk/gtkiconcache.c (find_image_offset): Remember the last
1795 chain and try it first; this helps with the the usage patterns
1796 in gtkicontheme.c, where the same icon is queried for a lot
1799 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
1801 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
1802 functions from header files. this should be portable across linux and
1803 Mac OS, unlike the previpous sed expression.
1805 2007-12-1 Cody Russell <bratsche@gnome.org>
1807 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
1808 On Windows, queue a redraw of child2 whenever we set
1809 the pane handle position. This is unfortunately kind
1810 of hacky, but solves the visual artifacts that were
1811 occuring on at least certain types of child widgets
1812 (e.g., text views and tree views) that are inside
1813 horizontal or vertical panes. (#144269)
1815 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1817 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
1819 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1821 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
1824 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1826 * gtk/Makefile.am: Fix ordering of subdirs.
1828 2007-11-28 Tor Lillqvist <tml@novell.com>
1830 A proper build of GNU libintl is supposed to export the variable
1831 _nl_msg_cat_cntr. configure looks for that variable in order to
1832 recognize GNU gettext. If it sees that it is indeed GNU gettext
1833 that is used, it decides to install message catalogs in
1834 share/locale, otherwise in lib/locale. Until now on Windows I have
1835 built GTK+ against a build of GNU gettext that did not export
1836 _nl_msg_cat_cntr. But this will change, so we can't assume message
1837 catalogs are always in lib/locale.
1839 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
1840 GTK_LOCALEDIR being either in "lib" or "share". Move the function
1841 before the inclusion of gtkprivate.h so that it sees the original
1844 * gtk-zip.sh.in: Check whether the message catalogs are in
1845 share/locale or lib/locale.
1847 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
1848 that the code in _gtk_get_localedir() will find the slashes.
1850 2007-11-28 Tor Lillqvist <tml@novell.com>
1852 * gtk/Makefile.am: Improve portability. The -o option is present
1853 only in newish GNU egreps. Use one more sed in the pipeline
1856 2007-11-28 Tor Lillqvist <tml@novell.com>
1858 Fix #375893, patch by Ben Hague:
1860 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
1861 around GetLogicalDrives() that takes also the viewable drive
1862 restrictions in the Registry (which are usually the result of an
1863 Active Directory Group Policy) into account.
1865 (check_volumes, gtk_file_system_win32_list_volumes) Call
1866 get_viewable_logical_drives() instead of GetLogicalDrives().
1868 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1870 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
1871 variables to silence valgrind. (#495124, Morten Welinder)
1873 2006-11-26 Ryan Lortie <desrt@desrt.ca>
1875 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
1876 that the construct_child function is responsible for returning a
1878 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
1879 objects from constructors
1880 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
1881 g_object_ref() to this construction function (it's the only
1886 2006-11-26 Ryan Lortie <desrt@desrt.ca>
1888 * gtkbuilder.c: remove concept of root objects and just refcount
1889 all objects in the builder. Fixes #496651.
1891 2007-11-26 Ryan Lortie <desrt@desrt.ca>
1893 * tests/buildertest.c (test_window): fix invalid free
1895 2007-11-26 Josselin Mouette <joss@malsain.org>
1897 reviewed by: Federico Mena Quintero
1899 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
1900 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
1901 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
1902 Make the shortcuts activate with a single click. (#148828)
1903 Fix a few things affected by the change:
1904 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
1905 where no shortcut is selected.
1906 - Don't activate a shortcut in the response callback.
1907 - Filter out duplicate entries in volumes and bookmarks to
1908 avoid the selection to change when reordering them with DnD.
1910 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1913 * gtk/gtknotebook.c:
1914 * gtk/gtkplugprivate.h:
1916 * gtk/gtksocketprivate.h:
1917 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
1919 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1921 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
1922 (#495574, Richard Hult)
1924 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1926 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
1927 String change ! (#376361, Sven Neumann)
1929 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1931 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
1933 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
1936 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1938 * gtk/gtkassistant.c: Improve alternative button
1939 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
1941 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1943 * gtk/gtkcalendar.c: Fix a theming problem with colors
1944 in GtkCalendar. (#499703, Michael Hofmann)
1946 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1948 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
1950 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1952 Use templates for glib-mkenums calls instead of
1953 complicated commandlines in Makefiles. (#429910)
1955 * gdk-pixbuf/Makefile.am:
1958 * perf/Makefile.am: Use templates for glib-mkenums
1960 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
1961 * gdk/gdkenumtypes.[ch].template:
1962 * gtk/gtktypebuiltings.[ch].template:
1963 * perf/typebuiltins.[ch].template: The templates
1965 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1967 * gtk/gtkfilechooserbutton.c:
1968 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
1969 some compilers choke on that. (#467722)
1971 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1973 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
1974 about hook setup. (#425004, Emmanuele Bassi)
1976 2007-11-26 Tor Lillqvist <tml@novell.com>
1978 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
1979 monitor the window currently is on, not always the primary
1980 monitor. (#463865, Tim Evans)
1982 2007-11-26 Tor Lillqvist <tml@novell.com>
1984 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
1986 * gdk/win32/Makefile.am: Add it.
1988 2007-11-26 Tor Lillqvist <tml@novell.com>
1990 * configure.in: Don't add jasper to all_loaders if no libjasper.
1992 2007-11-25 Bastien Nocera <hadess@hadess.net>
1994 * configure.in: Add detection for libjasper, used by the
1995 gdk-pixbuf JPEG2000 loader
1997 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1999 * configure.in: Require gtk-doc 1.8
2001 * */*.c: Use gtk-doc abbreviations for examples in docs.
2003 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2005 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
2008 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2010 * gtk/gtkdialog.c: Move signal and property documentation inline,
2011 fix a problem with the ::response signal docs. (#499133, Josselin
2014 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
2016 * Makefile.decl: initialize automake variables EXTRA_DIST and
2017 TEST_PROGS for unconditional appending via += in other makefiles.
2018 define recursive test targets: test, test-report, perf-report,
2019 full-report, as described here:
2020 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
2021 the test targets will execute Gtk+ test programs within an Xvfb session.
2023 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
2025 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
2026 g_test_run() to run the tests to integrate with the testing framework.
2028 * gtk/tests/Makefile.am: removed exemplary testing rules.
2030 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
2031 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
2032 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
2033 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
2034 * docs/reference/Makefile.am, docs/tools/Makefile.am:
2035 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
2036 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
2037 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
2038 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
2039 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
2040 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
2041 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
2042 * modules/engines/ms-windows/Theme/Makefile.am:
2043 * modules/engines/ms-windows/Makefile.am:
2044 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
2045 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
2046 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
2047 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
2048 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
2049 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
2050 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
2052 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2054 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
2055 (#485662, patch by Herbert Valerio Riedel)
2057 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2059 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
2061 2007-11-21 Richard Hult <richard@imendio.com>
2063 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
2064 stubs for the testing functions to fix the build.
2066 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2068 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
2069 (#467711, The Written Word)
2071 2007-11-21 Ross Burton <ross@openedhand.com>
2073 * gdk/x11/gdksettings.c:
2074 Add xsetting for gtk-scrolled-window-placement (#458103).
2076 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2078 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
2079 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
2080 (#469239, Michael Natterer)
2082 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2084 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
2085 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
2086 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
2087 (#436536, Tommi Komulainen)
2089 2007-11-21 Matthias Clasen <mclasen@redhat.com>
2091 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
2092 property. (#489782, Jan Janech)
2094 2007-11-20 Matthias Clasen <mclasen@redhat.com>
2096 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
2097 frames. (#107398, Owen Taylor, Miguel Gomez)
2099 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
2101 Moved Gdk test functions from Gtk+ to Gdk test utils.
2103 * gdk/Makefile.am: added gdktestutils.h to public includes.
2105 * gdk/gdk.h: added gdktestutils.h to public includes.
2107 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
2108 gdk_test_render_sync.
2110 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
2111 gdk_test_simulate_key, gdk_test_render_sync.
2113 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
2115 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
2116 gdk_test_simulate_key, gdk_test_render_sync.
2118 * gtk/gtktestutils.c:
2119 * gtk/gtktestutils.h:
2120 * gtk/gtk.symbols: removed gtk_test_simulate_button
2121 gtk_test_simulate_key, gtk_test_xserver_render_sync.
2123 * gtk/tests/testing.c: call gdk_test_render_sync.
2125 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
2127 Added unit tests for Gtk+ testing utilities.
2129 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
2130 utility functions. some g_test_* related portions are disabled and need
2131 to be enabled once Gtk+ depends on a new glib with the GLib testing
2132 framework integrated.
2134 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
2135 added exemplary test rules to run tests inside Xvfb. this needs to depend
2136 on gtester for full fledged testing.
2138 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
2139 collecting _get_type functions to catch e.g. gtk_text_get_type().
2141 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
2143 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
2145 Added Gtk+ testing utilities.
2147 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
2148 for the most part, the functions herein involve navigating and interacting
2149 with dialog elements programatically, to automate user interaction tests of
2150 dialogs and widgets.
2152 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
2154 * gtk/gtk.symbols: added gtk_test_* symbols.
2156 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
2157 generate gtktypefuncs.c which contains a list of all _get_type functions in
2159 2007-11-20 Bastien Nocera <hadess@hadess.net>
2161 * configure.in: add support for conditional icns gdk-pixbuf loader
2164 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
2166 * configure.in: updated version number to 2.15.0 for development.
2168 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
2170 === Branch for 2.12 ===