1 2008-02-14 Richard Hult <richard@imendio.com>
3 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
6 2008-02-14 Johan Dahlin <johan@gnome.org>
9 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
11 2008-02-13 Richard Hult <richard@imendio.com>
13 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
14 Remove unused variables.
15 (gtk_clipboard_set_contents),
16 (gtk_clipboard_get_owner), (clipboard_unset),
17 (gtk_clipboard_request_targets): Notify the previous clipboard
18 owner when the owner changes. Fixes bug #493406.
20 2008-02-13 Richard Hult <richard@imendio.com>
22 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
23 the return value (return number of colors that failed), and handle
25 (gdk_colormap_free_colors): Fix typo in comment.
27 2008-02-13 Kristian Rietveld <kris@imendio.com>
29 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
30 queue a redraw if the rubber banding has actually been active.
32 2008-02-12 Matthias Clasen <mclasne@redhat.com>
35 * gtk/gtkprintoperation.c:
36 * gtk/gtkvolumebutton.c:
37 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
38 out by Behdad Esfahbod.
40 2008-02-12 Federico Mena Quintero <federico@novell.com>
44 Don't focus the file list when shortcuts get activated. This
45 removes a lot of ambiguity in when the file selection should
46 change, and makes the overall code flow simpler.
48 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
49 file/save dialog clears the filename entry when changing
52 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
53 focus should not go to the file list when a shortcut is activated.
55 * gtk/gtkfilechooserdefault.c
56 (shortcuts_activate_volume_mount_cb): Don't focus the file list
57 (shortcuts_activate_get_info_cb): Likewise.
59 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
60 the file list (this was the last place where we would focus the
61 file list explicitly). If you are in the location entry, for
62 example, you don't want Alt-Home to take you to the file list; you
63 just want the current folder to change. Thanks to Olle Bergkvist
64 <olle.bergkvist@yahoo.se> for pointing this out in
65 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
66 (focus_browse_tree_view_if_possible): Removed.
68 2008-02-12 Matthias Clasen <mclasen@redhat.com>
70 Skip exensions when selecting filenames in the save-as dialog.
71 (#362516, Carlos Garnacho)
73 * gtk/gtkfilechooserentry.h:
74 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
75 New function to skip the extension part when selecting a filename.
76 (_gtk_file_chooser_entry_set_base_folder): Use it here.
78 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
81 2008-02-12 Matthias Clasen <mclasen@redhat.com>
83 * gtk/gtkiconview.c: Fix state change reporting for
84 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
86 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
88 * gtk/gtkrecentchooser.c:
89 (gtk_recent_chooser_class_init): Set the default value of the
90 :show-not-found property to TRUE, as every implementation sets
93 * gtk/gtkrecentchooserdefault.c:
94 (_gtk_recent_chooser_default_init): Sync show_tips to the
95 default value of the :show-tips property.
97 2008-02-12 Matthias Clasen <mclasen@redhat.com>
99 * gtk/gtkclipboard-quartz.c:
101 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
104 2008-02-12 Kristian Rietveld <kris@imendio.com>
106 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
107 (gtk_tree_view_real_toggle_cursor_row): guard against people
108 deleting the row in question in the selection-changed callback.
109 (#514621, Andreas Koehler).
111 2008-02-12 Matthias Clasen <mclasen@redhat.com>
113 * gtk/*.c: Unify the handling of various "Enter" keysyms
114 all over the place. (#515047, Christian Persch)
116 2008-02-12 Matthias Clasen <mclasen@redhat.com>
118 * gtk/gtkfilesystemmodel.c:
120 * gtk/gtkwidget.c: Use g_value_set_static_string() where
121 appropriate. (#515042, Christian Persch)
123 2008-02-12 Matthias Clasen <mclasen@redhat.com>
125 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
127 2008-02-12 Matthias Clasen <mclasen@redhat.com>
129 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
131 2008-02-12 Matthias Clasen <mclasen@redhat.com>
133 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
134 (recent_model_sort_drag_data_get):
135 (search_model_sort_drag_data_get):
136 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
137 * gtk/gtkpathbar.c (button_drag_data_get_cb):
138 Use gtk_selection_data_set_uris() instead of doing it
139 by hand. (#514890, Christian Persch)
141 2008-02-12 Michael Natterer <mitch@imendio.com>
143 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
144 gtk_get_current_event_time().
146 2008-02-12 Michael Natterer <mitch@imendio.com>
148 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
149 gtk_window_get_key_hash() to get the hash instead of manually
150 fiddling with quarks and gtk_window_keys_changed(). Also add
151 g_return_if_fail() to this public function.
153 2008-02-11 Matthias Clasen <mclasen@redhat.com>
155 Support keynav in status icons. (#473786, Li Yuan)
157 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
159 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
161 2008-02-11 Kristian Rietveld <kris@imendio.com>
163 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
164 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
165 wrt. link deletion from list; contination of fix for #503569.
167 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
169 * gtk/gtkrecentchoosermenu.c:
170 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
171 on the placeholder menu item.
173 * tests/testrecentchoosermenu.c:
174 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
175 whether the placeholder menu item gets shown.
177 2008-02-10 Cody Russell <bratsche@gnome.org>
179 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
180 Check the return value of _gtk_file_chooser_get_file_system () for
181 NULL before passing it to gtk_file_system_path_to_uri ().
182 (#515667, Francesco Montorsi)
184 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
186 * gtk/gtkbuilder.c: Improve the documentation for
187 gtk_builder_connect_signals. (#514471)
189 2008-02-10 Matthias Clasen <mclasen@redhat.com>
191 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
194 2008-02-08 Cody Russell <bratsche@gnome.org>
196 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
197 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
199 2008-02-08 Richard Hult <richard@imendio.com>
201 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
202 delta from the NSEvent for now, generating multiple scroll events
203 results in a lot of events getting queued up and things get really
206 2008-02-08 Sven Herzberg <sven@imendio.com>
208 Adjust the code to match the documentation, examples, "common sense"
209 and existing applications.
211 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
212 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
215 2008-02-07 Cody Russell <bratsche@gnome.org>
217 * gdk/win32/gdkevents-win32.c
218 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
219 of a block that were causing compile problems on old
220 compilers. (#515053, reported by Kazuki IWAMOTO)
222 2008-02-07 Michael Natterer <mitch@imendio.com>
231 * gtk/gtkoptionmenu.c
235 * gtk/gtkradiomenuitem.c
237 * gtk/gtkscrolledwindow.c
238 * gtk/gtksocket.c: remove g_return_if_fail() from private
239 functions and virtual function implementations.
241 2008-02-07 Michael Natterer <mitch@imendio.com>
248 * gtk/gtkcellrenderercombo.c
251 * gtk/gtkdrawingarea.c
252 * gtk/gtkentrycompletion.c
258 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
259 functions and virtual function implementations.
261 2008-02-07 Christian Persch <chpe@gnome.org>
263 * gdk/gdkpixbuf-render.c:
264 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
265 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
266 otherwise there will be random pixel values in the semi-transparent
267 area of the pixbuf within the mask. Bug #487865.
269 2008-02-06 Cody Russell <bratsche@gnome.org>
271 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
272 otherwise things get wonky when you click on a menu. This fixes
273 a regression caused in #505928. Thanks to Tor for spotting this
276 2008-02-06 Michael Natterer <mitch@imendio.com>
287 * gtk/gtkseparatortoolitem.c
289 * gtk/gtktextlayout.c
290 * gtk/gtktoggletoolbutton.c
291 * gtk/gtktoolbutton.c
294 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
297 2008-02-05 Matthias Clasen <mclasen@redhat.com>
299 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
300 Allow to store half-open ranges.
302 2008-02-05 Cody Russell <bratsche@gnome.org>
304 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
305 down the stack until we get to a window that is mapped.
306 Otherwise hiding a window will cause all windows in the app
307 to be blocked. (#514643)
309 2008-02-05 Matthias Clasen <mclasen@redhat.com>
311 * gtk/updateiconcache.c: Ignore images in the toplevel theme
312 directory, avoiding one source of invalid caches that has been
315 2008-02-05 Matthias Clasen <mclasen@redhat.com>
317 * gtk/updateiconcache.c: Fix the previous commit to compile.
319 2008-02-05 Matthias Clasen <mclasen@redhat.com>
321 * gtk/updateiconcache.c: Install a printerr handler that
322 prepends the program name, since gtk-update-icon-cache output
323 often appears in the middle of other output, e.g. rpm update logs.
325 2008-02-05 Cody Russell <bratsche@gnome.org>
327 * gdk/win32/gdkprivate-win32.h
328 * gdk/win32/gdkevents-win32.c
329 * gdk/win32/gdkwindow-win32.c
330 * gdk/win32/gdkwindow-win32.h
331 * gdk/win32/gdkwin32.h:
332 Modal window rework. (#455627 and #511111)
334 2008-02-04 Michael Natterer <mitch@imendio.com>
336 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
337 g_return_if_fail() if the cell is not part of the combo instead of
338 crashing in the next line.
340 2008-02-01 Cody Russell <cody@jhu.edu>
342 * modules/engines/ms-windows/xp_theme.[ch]
343 * modules/engines/ms-windows/xp_theme_defs.h
344 * modules/engines/ms-windows/msw_rc_style.c
345 * modules/engines/ms-windows/msw_theme_main.c
346 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
347 attempted to stylize more like the rest of the gtk+ stack's code.
349 2008-02-01 Michael Natterer <mitch@imendio.com>
351 * tests/testgtk.c: initialize GdkColor structs to fix warning
352 about uninitialized "pixel" member.
354 * tests/testactions.c: connect the toolbar_style() callback so it
355 does something useful and doesn't warn about being defined but not
358 2008-01-31 Cody Russell <bratsche@gnome.org>
360 * gdk/win32/gdkevents-win32.c:
361 Refactored some of the window hiding/showing code from
362 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
363 under WM_ACTIVATE was causing the application to go into
364 a weird state when the user right-clicked on the taskbar
365 entry of a window that was minimized. (#505928)
367 2008-01-31 Cody Russell <bratsche@gnome.org>
369 * gtk/gtkpaned.c (gtk_paned_set_position):
370 Change queue_resize() to queue_draw(), and add a check for
371 child2 != NULL in case someone calls this before there is
372 a child packed in there. (#144269 again)
374 2008-01-31 Sven Neumann <sven@gimp.org>
376 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
377 applied patch from Denis Oliver Kropp <dok@directfb.org>.
379 2008-01-31 Sven Neumann <sven@gimp.org>
381 * gdk/directfb/gdkdisplay-directfb.c
382 * gdk/directfb/gdkdrawable-directfb.c
383 * gdk/directfb/gdkprivate-directfb.h
384 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
385 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
387 2008-01-31 Richard Hult <richard@imendio.com>
389 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
390 issues with undecorated windows. Revert the change done on
391 2008-01-25 and fix it by using the view's bounds instead. The
392 bounds will always be up to date when setting up the tracking
393 rect, so this should be more robust.
395 2008-01-30 Sven Neumann <sven@gimp.org>
397 * gdk/directfb/gdkdrawable-directfb.c
398 * gdk/directfb/gdkwindow-directfb.c
399 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
400 Oliver Kropp <dok@directfb.org>. Adds debug messages using
401 DirectFB's debugging system
403 2008-01-30 Sven Neumann <sven@gimp.org>
405 * gdk/directfb/gdkdirectfb.h
406 * gdk/directfb/gdkdisplay-directfb.c
407 * gdk/directfb/gdkdrawable-directfb.c
408 * gdk/directfb/gdkim-directfb.c
409 * gdk/directfb/gdkimage-directfb.c
410 * gdk/directfb/gdkinput-directfb.c
411 * gdk/directfb/gdkmain-directfb.c
412 * gdk/directfb/gdkpixmap-directfb.c
413 * gdk/directfb/gdktestutils-directfb.c
414 * gdk/directfb/gdkvisual-directfb.c
415 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
416 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
417 errors and has some cleanups.
419 2008-01-30 Michael Natterer <mitch@imendio.com>
421 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
422 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
425 * gtk/updateiconcache.c (add_string): cast const gchar* to
426 gpointer when inserting in a GHashTable.
428 * tests/testcalendar.c (calendar_detail_cb): remove const from
429 return value since it's a newly allocated string.
431 (calendar_update_details): free the detail.
433 2008-01-29 Johan Dahlin <johan@gnome.org>
435 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
437 * demos/gtk-demo/demo.ui:
438 Move the about dialog to the glade file, add accessible tags
439 examples to the markup file.
441 2008-01-28 Paolo Borelli <pborelli@katamail.com>
443 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
444 layout, fixes #512375.
446 2008-01-28 Michael Natterer <mitch@imendio.com>
449 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
451 2008-01-28 Michael Natterer <mitch@imendio.com>
453 * demos/gtk-demo/builder.c (about_activate): use
454 gtk_about_dialog_set_program_name() instead of the deprecated
457 2008-01-28 Michael Natterer <mitch@imendio.com>
460 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
463 2008-01-26 Johan Dahlin <johan@gnome.org>
466 * tests/textbuffertest.c:
467 Rename textbuffer test and port it to the new test framework
469 2008-01-25 Johan Dahlin <johan@gnome.org>
471 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
472 unsetting of GTK_MODULES.
474 * gtk/gtk-builder-convert
475 (GtkBuilderConverter._convert_adjustment): Handle the case where
476 there is no child text node.
477 (GtkBuilderConverter): Allow xml comments in most places.
479 2008-01-25 Johan Dahlin <johan@gnome.org>
481 * gtk/gtk-builder-convert
482 (GtkBuilderConverter._convert_combobox_items): Remove the items
483 even if there are no items set.
484 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
485 signals and tooltips for all menu items subclasses and
486 GtkImageMenuItem:label.
487 Makes it possible to fully convert and run Jokosher.glade.
489 2008-01-25 Johan Dahlin <johan@gnome.org>
491 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
492 (gtk_widget_buildable_get_internal_child), (free_action),
493 (free_relation), (gtk_widget_buildable_parser_finished),
494 (accessibility_start_element),
495 (gtk_widget_buildable_custom_tag_start),
496 (gtk_widget_buildable_custom_finished):
497 Implement accessible support, fixes #454653.
499 * gtk/gtk-builder-convert:
500 Add support for migrating old glade files
502 * tests/buildertest.c: (test_widget), (test_file):
503 Add accessible tests and imprve the test_file function to display
504 toplevels and run dialogs.
506 2008-01-25 Richard Hult <richard@imendio.com>
508 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
509 didn't change, fixes focus event issues for undecorated windows.
511 2008-01-25 Richard Hult <richard@imendio.com>
513 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
514 const and remove unused variables).
516 2008-01-25 Michael Natterer <mitch@imendio.com>
519 * gtk/gtkcellrenderer.h
524 * gtk/gtktreeprivate.h
525 * gtk/gtktreeviewcolumn.h
526 * gtk/gtkwidget.h: add const to constant structs which are passed
527 into GTK+. Also add some forgotten const for const strings.
531 * gtk/gtkcellrenderer.c
537 * gtk/gtktreeviewcolumn.c
538 * gtk/gtkwidget.c: changed accordingly.
540 2008-01-25 Sven Herzberg <sven@imendio.com>
542 Reviewed by Johan Dahlin.
544 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
545 this is called with something that's not a GtkUIManager
547 2008-01-24 Johan Dahlin <johan@gnome.org>
549 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
550 Chain up to parent, so widgets can have internal children.
552 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
554 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
557 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
559 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
561 Use pango_layout_set_height() for calendar details (#506049).
563 * configure.in: Require 1.19.3 for pango_layout_set_height().
564 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
566 2008-01-18 Johan Dahlin <johan@gnome.org>
568 * gtk/gtk-builder-convert (get_property_node): New method
569 (GtkBuilderConverter._create_object): Conditionally take a node as
570 a property value, so don't lose translate/context attributes if they
572 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
573 property values instead of strings.
574 (#509153, Erik van Pienbroek)
576 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
578 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
580 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
581 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
582 * tests/testcalendar.c: Duplicate calendar details before returning.
584 2008-01-16 Christian Persch <chpe@gnome.org>
586 * gtk/gtkwidget.c: Store the event mask and extension event mode
587 directly in the gobject data pointer, instead of in an allocated
590 2008-01-16 Michael Natterer <mitch@imendio.com>
592 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
593 gdk-pixbuf now uses gio functions.
595 2008-01-16 Matthias Clasen <mclasen@redhat.com>
597 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
598 the notify::model signal. (#509819, David Zeuthen)
600 2008-01-15 Michael Natterer <mitch@imendio.com>
608 * gdk/gdkwindow.h: made more struct pointer and array parameters
609 const. GDK should now be constified as far as possible without
610 breaking source compatibility. Includes some minor cleanup like
611 indentation and s/nfoo/n_foo/ (bug #508544).
617 * gdk/gdkregion-generic.c
619 * gdk/directfb/gdkdisplay-directfb.c
620 * gdk/directfb/gdkwindow-directfb.c
621 * gdk/quartz/gdkdisplay-quartz.c
622 * gdk/quartz/gdkwindow-quartz.c
623 * gdk/win32/gdkdisplay-win32.c
624 * gdk/win32/gdkwindow-win32.c
625 * gdk/x11/gdkdisplay-x11.c
626 * gdk/x11/gdkwindow-x11.c: changed accordingly.
628 2008-01-14 Michael Natterer <mitch@imendio.com>
630 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
633 (gtk_rc_parse_any): change variables to const and introduce
634 another local variable to fix const warnings.
636 2008-01-14 Michael Natterer <mitch@imendio.com>
638 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
639 of gdk_screen_get_font_options() to gpointer to get rid of const
642 2008-01-14 Michael Natterer <mitch@imendio.com>
644 * tests/testdnd.c (source_drag_data_get): fix another call to
645 gtk_selection_data_set().
647 2008-01-14 Michael Natterer <mitch@imendio.com>
649 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
652 2008-01-14 Michael Natterer <mitch@imendio.com>
654 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
656 2008-01-14 Michael Natterer <mitch@imendio.com>
658 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
659 "uris" to guchar* when passing it to gtk_selection_data_set().
661 2008-01-14 Michael Natterer <mitch@imendio.com>
669 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
670 parameters const (bug #508544).
676 * gdk/gdkpolyreg-generic.c
677 * gdk/gdkregion-generic.c
678 * gdk/directfb/gdkcolor-directfb.c
679 * gdk/directfb/gdkgc-directfb.c
680 * gdk/directfb/gdkgeometry-directfb.c
681 * gdk/directfb/gdkwindow-directfb.c
682 * gdk/quartz/gdkcolor-quartz.c
683 * gdk/quartz/gdkgc-quartz.c
684 * gdk/quartz/gdkgeometry-quartz.c
685 * gdk/quartz/gdkwindow-quartz.c
686 * gdk/win32/gdkcolor-win32.c
687 * gdk/win32/gdkgc-win32.c
688 * gdk/win32/gdkgeometry-win32.c
689 * gdk/win32/gdkprivate-win32.h
690 * gdk/win32/gdkwindow-win32.c
691 * gdk/x11/gdkcolor-x11.c
692 * gdk/x11/gdkgc-x11.c
693 * gdk/x11/gdkgeometry-x11.c
694 * gdk/x11/gdkmain-x11.c
695 * gdk/x11/gdkprivate-x11.h
696 * gdk/x11/gdkwindow-x11.c: changed accordingly.
698 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
701 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
703 Explain name choice for gtk_tool_item_toolbar_reconfigured.
705 * gtk/gtktoolitem.c: Add comment expaining name choice for
706 gtk_tool_item_toolbar_reconfigured.
708 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
710 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
711 implementations to notify its children, when some aspect of their
712 configuration changed (#509042).
714 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
715 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
716 Rename _gtk_tool_item_toolbar_reconfigured.
718 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
720 Include <gtk/gtktoolshell.h> from gtk.h.
722 * gtk/gtk.h: Add gtktoolshell.h
724 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
726 Print angle brackets arround e-mail addresses in the about dialog
727 (#409520, Mariano Suárez-Alvarez).
729 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
731 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
733 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
734 special casing so test widgets are always queues for destruction
737 * gtk/tests/testing.c: removed bits left-over from testing without
740 2008-01-10 Tor Lillqvist <tml@novell.com>
742 * modules/other/gail/libgail-util/Makefile.am
743 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
746 2008-01-10 Tor Lillqvist <tml@novell.com>
748 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
749 uses gtkprintunixdialog API.
751 2008-01-10 Tor Lillqvist <tml@novell.com>
753 * gdk/win32/gdkdisplay-win32.c
754 * gdk/win32/gdkglobals-win32.c
755 * gdk/win32/gdkprivate-win32.h
756 * gdk/win32/gdkscreen-win32.c
757 * gdk/win32/gdkwindow-win32.c: Implement
758 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
759 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
762 2008-01-10 Cody Russell <bratsche@gnome.org>
764 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
765 Properly ref/unref windows and parents. (#506769)
767 2008-01-10 Richard Hult <richard@imendio.com>
769 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
770 (gdk_window_hide), (move_resize_window_internal): Move the
771 tracking rect workaround from here...
773 * gdk/quartz/GdkQuartzWindow.c:
774 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
775 movements during showing/hiding operations. Fixes bug #508516.
777 2008-01-10 Michael Natterer <mitch@imendio.com>
779 * gdk/directfb/gdkscreen-directfb.c
780 (gdk_screen_get_monitor_width_mm)
781 (gdk_screen_get_monitor_height_mm)
782 (gdk_screen_get_monitor_plug_name): add these functions to make
785 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
787 * gtk/gtkrecentchoosermenu.c:
788 (idle_populate_func), (idle_populate_clean_up): Fix possible
789 recursion by resetting the idle source id. (#507605, William
792 2008-01-10 Kristian Rietveld <kris@imendio.com>
794 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
795 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
796 avoid valgrind warnings. (#507751, patch from Christian Persch).
798 2008-01-10 Kristian Rietveld <kris@imendio.com>
800 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
801 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
803 2008-01-10 Kristian Rietveld <kris@imendio.com>
805 Fix #477175, reported by Juri Pakaste.
807 * gtk/gtktreeprivate.h:
808 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
809 tree_view->priv->dy here directly, just calculate the new value
810 and set it on the adjustment,
811 (gtk_tree_view_adjustment_changed): add guards to not call
812 gtk_tree_view_dy_to_top_row() if we are currently in
813 gtk_tree_view_top_row_to_dy(),
814 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
815 coordinates, not tree coordinates,
816 (gtk_tree_view_real_start_editing): add cast.
818 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
819 position of the editable in the "create new row and start editing"
822 2008-01-09 Michael Natterer <mitch@imendio.com>
824 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
827 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
828 * gtk/gtkicontheme.c (theme_list_contexts)
829 (gtk_icon_theme_lookup_icon)
830 * gtk/gtkimcontextsimple.c (beep_window)
831 * gtk/gtklinkbutton.c (set_link_color)
832 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
835 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
836 variable and add const to another to fix a warning.
838 2008-01-07 Matthias Clasen <mclasen@redhat.com>
840 * gtk/gtkassistant.c (remove_page): Be more robust when removing
841 the current page. (#499951, Andreas Sandberg)
843 2008-01-06 Johan Dahlin <johan@gnome.org>
845 * gtk/gtkspinbutton.c: Declare value in the example code for
846 GtkSpinButton::output, as pointed out by Anders Carlsson.
848 2008-01-06 Christian Persch <chpe@gnome.org>
850 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
851 and remove an obsolete event box. Bug #506760.
853 2008-01-06 Johan Dahlin <johan@gnome.org>
855 * tests/buildertest.c (test_domain):
856 Update, GtkBuilder::translation-domain is no longer set
858 * gtk/gtkbuilderparser.c (parse_interface):
859 Allow domains to be overridden in <interface>'s if a translation-domain
860 is set in the builder.
861 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
862 of the builder, make the domain set in the <interface> apply only to strings
864 (#496831, Ryan Lortie)
866 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
869 * gtk/gtktreestore.c (tree_model_end_element):
870 Remove an unused variable
872 2008-01-06 Matthias Clasen <mclasen@redhat.com>
874 * gtk/gtkspinbutton.c: Document the ::output signal and
875 add an example. (#507566, example by Owen Taylor)
877 2008-01-06 Johan Dahlin <johan@gnome.org>
879 * gtk/gtkcellrenderercombo.c:
880 (gtk_cell_renderer_combo_get_property),
881 (gtk_cell_renderer_combo_set_property):
882 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
883 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
884 * gtk/gtknotebook.c: (gtk_notebook_set_property):
885 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
886 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
887 (gtk_text_buffer_get_property):
888 * gtk/gtktextview.c: (gtk_text_view_set_property):
889 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
890 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
891 (gtk_tool_button_get_property):
892 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
893 (gtk_tool_item_get_property):
894 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
895 * gtk/gtkwidget.c: (gtk_widget_set_property):
896 * gtk/gtkwindow.c: (gtk_window_set_property):
897 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
900 2008-01-06 Johan Dahlin <johan@gnome.org>
902 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
903 Make sure that --root works for toplevel widgets.
904 (#491847, Phil Lello)
906 2008-01-05 Johan Dahlin <johan@gnome.org>
908 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
909 to make sure that make test-report works properly
911 2008-01-05 Christian Persch <chpe@gnome.org>
913 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
914 GType as integer through gpointer. Bug #507395.
916 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
918 Avoid some compiler warnings (#507000).
920 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
921 for value argument of _gtk_builder_flags_from_string.
922 * gtk/gtkwidget.c: Don't alias the child pointer passed
923 to gdk_window_get_user_data.
925 2008-01-04 Michael Natterer <mitch@imendio.com>
927 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
928 to set the time in the returned GdkTimeCoords.
930 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
932 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
933 correct comparison function (kudos to Christian Persch and
934 Claudio Saavedra for spotting this)
936 * gtk/gtkrecentchooserutils.c:
937 (sort_recent_items_mru),
938 (sort_recent_items_lru): Ditto as above.
940 2008-01-03 Johan Dahlin <johan@gnome.org>
942 * tests/defaultvaluetest.c: Make it pass again.
944 2008-01-02 Johan Dahlin <johan@gnome.org>
946 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
947 make it pass on Ubuntu.
948 (main): Use gtk_test_list_all_types () instead of providing our
950 And it no longer passes.
952 2007-12-30 Johannes Schmid <jhs@gnome.org>
954 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
955 Also reorder menu when reordering tabs by drag & drop
958 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
959 Add a menu to one of the notebooks to have a test-case for
960 the change mentioned above.
962 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
964 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
966 2007-12-31 Christian Persch <chpe@gnome.org>
968 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
969 Plug a mem leak. Bug #506107.
971 2007-12-28 Matthias Clasen <mclasen@redhat.com>
973 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
974 icon cache api change. (#506135, Kazuki Iwamoto)
976 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
978 Consider "wide-separators" and "separator-height" style properties:
979 The separator is drawn using gtk_paint_box instead of cairo, when
980 "wide-separators" is set. Also do not highlight details for previous
981 or next month, if their day matches the selected day. (#339540)
983 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
984 in gtk_calendar_size_request and calendar_paint_day
985 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
986 for selected detail separators in GtkCalendar.
988 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
990 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
992 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
993 a local variable instead in gtk_calendar_size_request.
995 2007-12-28 Matthias Clasen <mclasen@redhat.com>
997 * tests/defaultvaluetest.c: Add enough exclusions to make the
1000 2007-12-28 Christian Persch <chpe@gnome.org>
1002 * modules/other/gail/Makefile.am:
1003 * modules/other/gail/tests/*:
1004 * configure.in: Merge tests from standalone gail. Bug #504568.
1006 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1008 * gtk/gtkclipboard.c: Make the finalizer work when display is
1011 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1013 Draw bottom shadow of GtkCalender headings. (#506113)
1015 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
1017 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1019 * gtk/gtkcalendar.c: Document the initial values of year/month/day
1022 2007-12-28 Christian Persch <chpe@gnome.org>
1024 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
1025 a mem leak. Bug #506096.
1027 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1030 * gtk/gtktreeview.c:
1031 * gtk/gtkprintoperation.c:
1032 * gtk/gtkprogressbar.c:
1033 * gtk/gtkmessagedialog.c:
1034 * gtk/gtknotebook.c:
1038 * gtk/gtklinkbutton.c:
1039 * gtk/gtkmenu.c: More default property value corrections.
1041 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1043 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
1044 accel_group unless it is set.
1046 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1048 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
1050 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1052 * gtk/gtkhandlebox.c: Fix the default values of shadow and
1053 shadow-type properties.
1055 * gtk/gtkfontsel.c: Fix the default values of several properties.
1057 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
1060 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
1062 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
1065 2007-12-28 Johan Dahlin <johan@gnome.org>
1067 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
1068 (gtk_dialog_buildable_custom_tag_start): Chain up.
1069 This makes it possible to have accelerators tags on GtkDialog
1072 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1074 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
1075 are shown within the widget, or just as tooltip. (#339540)
1077 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
1078 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
1079 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
1082 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1084 Try more decent appearance of calendar details separator. (#339540)
1086 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
1087 and make it short by one pixel on each side.
1089 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1091 Apply trivial code-style changes from attachement 101101. (#339540)
1093 * tests/testcalendar.c: Some updates to current GTK+ code-style.
1095 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1097 Restructure testcalendar for testing calendar details. (#339540)
1099 * tests/testcalendar.c: Push code arround for testing calendar details.
1101 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1103 Implement GtkTooltip API for calendar details. (#339540)
1105 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
1106 Remember detail overflows in calendar_paint_day to show the tooltip
1107 only when neccessary.
1109 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1111 Without setting "detail-width-chars" and "detail-height-rows"
1112 properties not only the widget has to be redrawn on certain
1113 conditions, but also its size must be recalculated. (#339540)
1115 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
1116 that function instead of gtk_widget_queue_draw.
1118 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1120 Consider details for size-request and expose-event. (#339540)
1122 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
1123 is_color_attribute functions. Change gtk_calendar_size_request
1124 and calendar_paint_day to consider and show calender details.
1126 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1128 * gtk/gtkcombobox.c: Introduce local priv variables to
1131 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1133 * gtk/gtkcombobox.c: Correct the default value for the
1134 tearoff-title property.
1136 * gtk/gtkcellrenderertext.c: Fix the default value for the
1137 wrap-mode and font-scale properties.
1139 * gtk/gtkaspectratio.c: Fix the default value for the ratio
1142 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1144 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
1145 defines. (#505708, MINAMI Hirokazu)
1147 2007-12-27 Christian Persch <chpe@gnome.org>
1149 * Makefile.am: Install gail.pc. Bug #505859.
1151 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
1153 Add infrastructure for GtkCalendar details. (#339540)
1155 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
1156 Add "detail-width-chars" and "detail-height-rows" properties,
1157 and gtk_calendar_set_detail_func function.
1159 2007-12-27 Xan Lopez <xan@gnome.org>
1162 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
1164 Add gtk_border_new to avoid memory allocator confusions when using
1165 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
1167 2007-12-27 Christian Persch <chpe@gnome.org>
1169 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
1170 bug #504886 not to read unitialised memory.
1172 2007-12-26 Xan Lopez <xan@gnome.org>
1174 * gtk/gtkstatusbar.c (has_extra_children): take into account the
1175 modification of the internal frame contents to decide if we have
1176 extra children. (#415677)
1178 2007-12-22 Christian Persch <chpe@gnome.org>
1180 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
1182 2007-12-25 Christian Persch <chpe@gnome.org>
1184 * modules/other/gail/gailwindow.c: (gail_window_initialize):
1185 Initialise |widget|. Fixes a buglet introduced by the commit from bug
1188 2007-12-25 Christian Persch <chpe@gnome.org>
1190 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
1192 2007-12-25 Christian Persch <chpe@gnome.org>
1194 * modules/other/gail/*.[ch]: Remove relocations from the atk
1195 factories. Remove unused gail_foo_new() functions. Fix object
1196 instantiation to be derivation safe by moving initialisation code
1197 from the removed gail_foo_new() functions to the
1198 AtkObjectClass::initialize implementation. Bug #505226.
1200 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1202 * modules/other/gail/gailentry.c:
1203 * modules/other/gail/gailimage.c:
1204 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
1205 uses of clipboards and settings. (#504722, Christian Persch)
1207 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1209 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
1212 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1214 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
1215 use the time and button information from the event. (#504901,
1218 2007-12-23 Cody Russell <bratsche@gnome.org>
1220 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
1221 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
1222 Fixes a regression caused by #164537 patch where transient
1223 windows that are hidden get shown (incorrectly) when their
1224 parents are minimized. (#504984)
1226 2007-12-22 Christian Persch <chpe@gnome.org>
1228 * modules/other/gail/gailcell.c:
1229 * modules/other/gail/gailcontainercell.c:
1230 * modules/other/gail/gailexpander.c:
1231 * modules/other/gail/gailtextcell.c:
1232 * modules/other/gail/gailtextview.c:
1233 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
1235 2007-12-22 Christian Persch <chpe@gnome.org>
1237 * modules/other/gail/*.c: Include config.h. Bug #504720.
1239 2007-12-22 Christian Persch <chpe@gnome.org>
1241 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
1242 handwritten get_type functions. Bug #504661.
1244 2007-12-23 Xan Lopez <xan@gnome.org>
1246 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
1247 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
1249 Patch by Sadrul Habib Chowdhury (#504804)
1251 2007-12-22 Christian Persch <chpe@gnome.org>
1253 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
1254 #504645, patch by Li Yuan.
1256 2007-12-22 Christian Persch <chpe@gnome.org>
1258 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
1260 2007-12-22 Christian Persch <chpe@gnome.org>
1262 * modules/other/gail/gail.c:
1263 * modules/other/gail/gailbutton.c:
1264 * modules/other/gail/gailcell.c:
1265 * modules/other/gail/gailcombo.c:
1266 * modules/other/gail/gailcombo.h:
1267 * modules/other/gail/gailcombobox.c:
1268 * modules/other/gail/gailentry.c:
1269 * modules/other/gail/gailexpander.c:
1270 * modules/other/gail/gailmenuitem.c:
1271 * modules/other/gail/gailnotebook.c:
1272 * modules/other/gail/gailnotebookpage.c:
1273 * modules/other/gail/gailnotebookpage.h:
1274 * modules/other/gail/gailoptionmenu.c:
1275 * modules/other/gail/gailrange.c:
1276 * modules/other/gail/gailtextview.c:
1277 * modules/other/gail/gailtreeview.c:
1278 * modules/other/gail/gailtreeview.h:
1279 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
1282 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1284 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
1287 2007-12-21 Richard Hult <richard@imendio.com>
1289 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
1290 Plug leak of destroyed subviews, fixes bug #504753.
1292 2007-12-20 Johan Dahlin <johan@gnome.org>
1294 * tests/Makefile.am (TEST_PROGS):
1295 * tests/defaultvaluetest.c: Add a test for default values,
1296 based on program by Christan Perch
1298 2007-12-20 Johan Dahlin <johan@gnome.org>
1300 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
1301 Refactor to avoid some duplication.
1302 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
1303 Fixes #504749, Yuri Pimenov
1305 2007-12-20 Kristian Rietveld <kris@imendio.com>
1307 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
1308 the build work again on systems without xrandr 1.2.
1310 2007-12-20 Christian Persch <chpe@gnome.org>
1313 * modules/other/gail/libgail-util/Makefile.am:
1314 Keep the same libtool version as the standalone libgail-util had.
1317 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
1319 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
1321 2007-12-20 Alexander Larsson <alexl@redhat.com>
1323 * gdk/x11/gdkapplaunchcontext-x11.c:
1324 Update for gio API changes
1326 2007-12-20 Richard Hult <richard@imendio.com>
1328 * gdk/quartz/GdkQuartzWindow.c:
1329 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
1330 processing events after changing the size.
1332 2007-12-20 Richard Hult <richard@imendio.com>
1334 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
1335 Add stub for quartz to fix build.
1337 2007-12-20 Christian Persch <chpe@gnome.org>
1339 * modules/other/gail/Makefile.am:
1340 * modules/other/gail/gailimage.c: (gail_image_class_init),
1341 (gail_image_init), (elide_underscores), (gail_image_get_name),
1342 (atk_image_interface_init), (gail_image_finalize):
1343 * modules/other/gail/gailimage.h:
1344 R modules/other/gail/gailintl.h:
1345 * po/POTFILES.skip: Use the stock item's label as the name of the
1346 accessible in gailimage.c. Bug #504246.
1348 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
1350 Avoid some compiler warnings and remove obsolete code. (#339540)
1352 * gtk/gtkcalendar.c: Change week and year variable in
1353 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
1354 0" block from calendar_paint_day: The feature in question is handled
1355 few lines above. Cast data returned by gtk_selection_data_get_text()
1356 to (gchar*) in gtk_calendar_drag_data_received.
1358 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
1360 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
1362 2007-12-19 Johan Dahlin <johan@gnome.org>
1364 * tests/buildertest.c (test_object_properties):
1365 Add another call to gtk_builder_add_string after using
1366 delayed properties, as reported in #504393 but already
1369 2007-12-18 Christian Persch <chpe@gnome.org>
1372 * docs/reference/Makefile.am:
1373 * docs/reference/libgail-util/*:
1374 * gail-uninstalled.pc.in:
1376 * modules/Makefile.am:
1377 * modules/other/Makefile.am:
1378 * modules/other/gail/*:
1379 * modules/other/gail/libgail-util/*:
1380 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
1382 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1384 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
1385 * gdk/win32/gdkproperty-win32.c:
1386 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
1388 * gtk/gtkimmodule.[hc]:
1389 * gtk/gtkimmulticontext.[hc]: When determining the default context,
1390 look at the gtk-im-module setting, and listen for changes to the
1391 setting. (#502446, Akira Tagoh)
1393 2007-12-17 Kristian Rietveld <kris@imendio.com>
1395 * gtk/gtktooltip.c (gtk_tooltip_finalize),
1396 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
1397 to NULL as soon as it's destroyed. (#496546, patch from
1400 2007-12-17 Kristian Rietveld <kris@imendio.com>
1402 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
1403 always determine what arrow to show if show_sort_indicator is true.
1404 (#352738, Chris Vine).
1406 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
1408 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
1409 Sébastien Granjoux)
1411 * gtk/gtkpaned.c: Call gtk_container_forall instead of
1412 gtk_container_foreach in get_child_panes.
1414 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
1416 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
1418 Plug leak: When reordering the info in the list the old node is
1419 removed but not freed. (#503569)
1421 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
1423 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
1424 Use u32 instead of __u32 and u8 instead of __u8 as the other types
1425 are deprecated since DirectFB 1.0.0. If compiling with an older
1426 version define the new type name to the old types. Fixes bug #503190.
1428 2007-12-14 Ray Strode <rstrode@redhat.com>
1430 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
1431 instead of g_signal_connect_after (..., "realize", ...) as an
1432 alternative to gtk_widget_realize () (bug 503537).
1434 2007-12-14 Michael Natterer <mitch@imendio.com>
1436 * gdk/gdkinternals.h
1437 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
1440 * gdk/gdkapplaunchcontext.c
1441 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
1442 header already includes everything now.
1444 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1446 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
1447 next stable release shall be 2.16, not 2.14 - even if disagree.
1449 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
1451 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1453 Change GtkToolItem to retrieve its properties from GtkToolShell
1454 interface, instead of relying on being child of a GtkToolbar.
1457 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
1458 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
1459 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
1460 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
1461 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
1462 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
1463 Take section docs from template file and update them for GtkToolShell.
1464 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
1465 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
1467 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1469 Extract loading of GtkPageSetup and GtkPrintSettings from their
1470 *_new_*() functions and move that code into separate
1471 *_load_*() functions (#475565).
1473 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
1474 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
1475 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
1476 Change the matching *_new_*() functions to use those functions.
1478 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1481 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
1483 2007-12-14 Kristian Rietveld <kris@imendio.com>
1485 * gtk/tests/liststore.c:
1486 * gtk/tests/treestore.c: added tests for insertion functions.
1488 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
1490 * Add RandR 1.2 support
1492 - New monitors_changed signal - New API to get width/height of
1493 monitors, and the name of the plug
1495 2007-12-13 Kristian Rietveld <kris@imendio.com>
1497 * gtk/tests/liststore.c:
1498 * gtk/tests/treestore.c: test the move and swap functions on a
1499 store with only one node.
1501 2007-12-13 Kristian Rietveld <kris@imendio.com>
1503 * gtk/gtktestutils.c (gtk_test_init): add a call to
1506 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
1509 2007-12-13 Kristian Rietveld <kris@imendio.com>
1511 * gtk/tests/liststore.c:
1512 * gtk/tests/treestore.c: start composing tests for the list and tree
1515 * gtk/tests/treeview-scrolling.c: added automated tests for
1516 GtkTreeView's scrolling "subsystem".
1518 * gtk/tests/Makefile.am: updated; added new test programs.
1520 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
1522 Make the code compile again after the GdkAppLaunchContext changes.
1524 * configure.in: Add gio-2.0 to GDK_PACKAGES.
1525 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
1527 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1529 * gdk/gdkapplaunchcontext.c: Add docs
1531 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1533 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
1534 in gdk, providing startup notification. (#503203)
1536 * gdk/x11/gdkapplaunchcontext-x11.c:
1537 * gdk/win32/gdkapplaunchcontext-win32.c:
1538 * gdk/quartz/gdkapplaunchcontext-quartz.c:
1539 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
1540 parts. All but X11 are just empty stubs for now.
1543 * gdk/gdkinternals.h:
1545 * gdk/x11/Makefile.am:
1546 * gdk/win32/Makefile.am:
1547 * gdk/quartz/Makefile.am:
1548 * gdk/directfb/Makefile.am: Necessary glue.
1550 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
1552 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
1554 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1556 * gdk/directfb/gdktestutils-directfb.c:
1557 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
1558 which adds testing functions to the DirectFB backend.
1560 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1562 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
1563 Ciccani which fixes the mixing of gdk and cairo rendering.
1565 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
1567 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
1568 on "drag-motion" handlers. Clearify documentation for
1571 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
1573 * buildertest.c: made unnecessarily exported symbols static.
1574 switched g_return_if_fail() statements in tests to assertions.
1575 special cased currently failing Widget/accesibility test to
1576 run only for g_test_thorough(), so it doesn't break make check.
1577 some coding style fixes.
1579 * Makefile.am: added buildertest to TEST_PROGS.
1581 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1583 * docs/tutorial/gtk-tut.sgml:
1584 Use gtk_widget_get_parent_window() instead of widget->parent->window.
1586 2007-12-10 Richard Hult <richard@imendio.com>
1588 * gdk/quartz/Makefile.am:
1589 * gdk/quartz/gdkquartz.h:
1590 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
1591 header (bug #405915). Also add a getter for the toplevel nswindow.
1593 2007-12-10 Richard Hult <richard@imendio.com>
1595 * gdk/quartz/gdkdrawable-quartz.c:
1596 (gdk_quartz_drawable_get_context),
1597 (gdk_quartz_drawable_release_context):
1598 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
1599 (gdk_event_check), (gdk_event_dispatch), (poll_func):
1600 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
1601 used for each drawing context and in prepare, dispatch and poll
1602 with one that exists across each main loop iteration. Fixes leaks
1603 on leopard and protects against future leaks introduce when the
1604 underlying system changes again (bug #492977).
1606 2007-12-10 Richard Hult <richard@imendio.com>
1608 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
1609 Fix the check for no changes to position and size.
1611 2007-12-10 Richard Hult <richard@imendio.com>
1613 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
1614 sized areas at (0, 0), patch from Paul Davis.
1616 2007-12-10 Richard Hult <richard@imendio.com>
1618 * gdk/quartz/gdkprivate-quartz.h:
1619 * gdk/quartz/gdkeventloop-quartz.c:
1620 (_gdk_quartz_event_loop_get_pending),
1621 (_gdk_quartz_event_loop_check_pending),
1622 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
1623 (gdk_event_check), (gdk_event_dispatch):
1624 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
1625 (_gdk_events_queue): Fix a bug where we could end up trying to
1626 handle the same event more than once. Based on patch from Paul
1629 2007-12-10 Tor Lillqvist <tml@novell.com>
1631 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
1634 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1636 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
1637 to avoid further fallout from the fix for bug 388321.
1639 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1641 * gdk/directfb/gdkgc-directfb.c:
1642 * gdk/directfb/gdkdrawable-directfb.c:
1643 * gdk/directfb/gdkdirectfb.h:
1644 * gdk/directfb/gdkwindow-directfb.c:
1645 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
1646 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
1647 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
1648 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
1649 which are expected to improve the performance of the DirectFB backend.
1650 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
1652 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1654 * gtk/gtkcontainer.c: Correct the documentation of child
1655 property getter arguments. (#501992, David Brigada)
1657 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1659 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
1660 leak pixbufs. (#502250, Yevgen Muntyan)
1662 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
1664 * gtk/gtkprintunixdialog.c:
1665 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
1666 Print and Page Setup dialogs (#502202).
1668 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
1670 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
1671 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
1672 of XVFB_START, since it's the GTESTER invokation that needs this.
1674 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
1676 * gdk-pixbuf/gdk-pixbuf.symbols:
1678 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
1679 positives in abicheck.sh
1681 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1683 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
1684 GDK events generations in the DirectFB backend.
1686 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
1688 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
1689 set of likely unused display ids, because MacOS has no seq(1) command.
1691 2007-12-06 Richard Hult <richard@imendio.com>
1693 * gdk/quartz/gdkevents-quartz.c:
1694 (synthesize_crossing_events_for_ns_event): Fix warning when
1695 switching spaces in leopard.
1697 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
1699 * tests/floatingtest.c: ported to new testing framework.
1701 * tests/Makefile.am: run floatingtest as testing framework test.
1703 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
1705 * tests/autotestfilechooser.c: majorly speed up execution by reducing
1706 timeouts and converting main loop sleeps to pending/iterate loops with
1707 very low priority async handlers. eliminate output for non-verbose
1708 tests. assert successfull subtests in all test functions. use testing
1709 framework in main().
1711 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
1712 executed inside Xvfb upon make check.
1714 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
1716 * tests/objecttests.c: use string comparisons for string property
1717 values and get rid of referencing symbols in array initialization.
1719 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
1721 * gtk+/Makefile.decl: run tests in current dir after setting up the
1722 logging directory, so their results get properly merged into the
1725 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
1726 tests to loop over registered Gdk/Gtk+ types.
1728 * gtk+/tests/objecttests.c: new test program, implements automated
1729 property tests. several properties are blacklisted because they
1730 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
1731 can be used to test blacklisted properties and see which proprty failed.
1733 2007-12-04 Richard Hult <richard@imendio.com>
1735 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
1736 Fully initialize the root window, fixes bug #501583.
1738 2007-12-04 Matthias Clasen <mclasen@redhat.com>
1740 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
1743 2007-12-03 Richard Hult <richard@imendio.com>
1745 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
1746 Don't crash when dragging from a source that doesn't support uri
1747 lists (bug #499868, Paul Davis).
1749 2007-12-03 Richard Hult <richard@imendio.com>
1751 * gdk/quartz/gdkwindow-quartz.c:
1752 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
1753 parent relative bg pixmap is set, and no parent has a bg
1754 pixmap. Fixes bug #500804.
1756 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1758 Two optimizations for icon cache lookups.
1760 * gtk/gtkiconcache.[hc]:
1761 * gtk/gtkicontheme.c: Remember the directory index for
1762 subdirectories, instead of running over the directory list
1765 * gtk/gtkiconcache.c (find_image_offset): Remember the last
1766 chain and try it first; this helps with the the usage patterns
1767 in gtkicontheme.c, where the same icon is queried for a lot
1770 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
1772 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
1773 functions from header files. this should be portable across linux and
1774 Mac OS, unlike the previpous sed expression.
1776 2007-12-1 Cody Russell <bratsche@gnome.org>
1778 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
1779 On Windows, queue a redraw of child2 whenever we set
1780 the pane handle position. This is unfortunately kind
1781 of hacky, but solves the visual artifacts that were
1782 occuring on at least certain types of child widgets
1783 (e.g., text views and tree views) that are inside
1784 horizontal or vertical panes. (#144269)
1786 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1788 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
1790 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1792 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
1795 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1797 * gtk/Makefile.am: Fix ordering of subdirs.
1799 2007-11-28 Tor Lillqvist <tml@novell.com>
1801 A proper build of GNU libintl is supposed to export the variable
1802 _nl_msg_cat_cntr. configure looks for that variable in order to
1803 recognize GNU gettext. If it sees that it is indeed GNU gettext
1804 that is used, it decides to install message catalogs in
1805 share/locale, otherwise in lib/locale. Until now on Windows I have
1806 built GTK+ against a build of GNU gettext that did not export
1807 _nl_msg_cat_cntr. But this will change, so we can't assume message
1808 catalogs are always in lib/locale.
1810 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
1811 GTK_LOCALEDIR being either in "lib" or "share". Move the function
1812 before the inclusion of gtkprivate.h so that it sees the original
1815 * gtk-zip.sh.in: Check whether the message catalogs are in
1816 share/locale or lib/locale.
1818 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
1819 that the code in _gtk_get_localedir() will find the slashes.
1821 2007-11-28 Tor Lillqvist <tml@novell.com>
1823 * gtk/Makefile.am: Improve portability. The -o option is present
1824 only in newish GNU egreps. Use one more sed in the pipeline
1827 2007-11-28 Tor Lillqvist <tml@novell.com>
1829 Fix #375893, patch by Ben Hague:
1831 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
1832 around GetLogicalDrives() that takes also the viewable drive
1833 restrictions in the Registry (which are usually the result of an
1834 Active Directory Group Policy) into account.
1836 (check_volumes, gtk_file_system_win32_list_volumes) Call
1837 get_viewable_logical_drives() instead of GetLogicalDrives().
1839 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1841 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
1842 variables to silence valgrind. (#495124, Morten Welinder)
1844 2006-11-26 Ryan Lortie <desrt@desrt.ca>
1846 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
1847 that the construct_child function is responsible for returning a
1849 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
1850 objects from constructors
1851 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
1852 g_object_ref() to this construction function (it's the only
1857 2006-11-26 Ryan Lortie <desrt@desrt.ca>
1859 * gtkbuilder.c: remove concept of root objects and just refcount
1860 all objects in the builder. Fixes #496651.
1862 2007-11-26 Ryan Lortie <desrt@desrt.ca>
1864 * tests/buildertest.c (test_window): fix invalid free
1866 2007-11-26 Josselin Mouette <joss@malsain.org>
1868 reviewed by: Federico Mena Quintero
1870 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
1871 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
1872 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
1873 Make the shortcuts activate with a single click. (#148828)
1874 Fix a few things affected by the change:
1875 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
1876 where no shortcut is selected.
1877 - Don't activate a shortcut in the response callback.
1878 - Filter out duplicate entries in volumes and bookmarks to
1879 avoid the selection to change when reordering them with DnD.
1881 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1884 * gtk/gtknotebook.c:
1885 * gtk/gtkplugprivate.h:
1887 * gtk/gtksocketprivate.h:
1888 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
1890 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1892 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
1893 (#495574, Richard Hult)
1895 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1897 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
1898 String change ! (#376361, Sven Neumann)
1900 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1902 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
1904 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
1907 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1909 * gtk/gtkassistant.c: Improve alternative button
1910 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
1912 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1914 * gtk/gtkcalendar.c: Fix a theming problem with colors
1915 in GtkCalendar. (#499703, Michael Hofmann)
1917 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1919 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
1921 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1923 Use templates for glib-mkenums calls instead of
1924 complicated commandlines in Makefiles. (#429910)
1926 * gdk-pixbuf/Makefile.am:
1929 * perf/Makefile.am: Use templates for glib-mkenums
1931 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
1932 * gdk/gdkenumtypes.[ch].template:
1933 * gtk/gtktypebuiltings.[ch].template:
1934 * perf/typebuiltins.[ch].template: The templates
1936 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1938 * gtk/gtkfilechooserbutton.c:
1939 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
1940 some compilers choke on that. (#467722)
1942 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1944 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
1945 about hook setup. (#425004, Emmanuele Bassi)
1947 2007-11-26 Tor Lillqvist <tml@novell.com>
1949 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
1950 monitor the window currently is on, not always the primary
1951 monitor. (#463865, Tim Evans)
1953 2007-11-26 Tor Lillqvist <tml@novell.com>
1955 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
1957 * gdk/win32/Makefile.am: Add it.
1959 2007-11-26 Tor Lillqvist <tml@novell.com>
1961 * configure.in: Don't add jasper to all_loaders if no libjasper.
1963 2007-11-25 Bastien Nocera <hadess@hadess.net>
1965 * configure.in: Add detection for libjasper, used by the
1966 gdk-pixbuf JPEG2000 loader
1968 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1970 * configure.in: Require gtk-doc 1.8
1972 * */*.c: Use gtk-doc abbreviations for examples in docs.
1974 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1976 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
1979 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1981 * gtk/gtkdialog.c: Move signal and property documentation inline,
1982 fix a problem with the ::response signal docs. (#499133, Josselin
1985 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
1987 * Makefile.decl: initialize automake variables EXTRA_DIST and
1988 TEST_PROGS for unconditional appending via += in other makefiles.
1989 define recursive test targets: test, test-report, perf-report,
1990 full-report, as described here:
1991 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
1992 the test targets will execute Gtk+ test programs within an Xvfb session.
1994 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
1996 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
1997 g_test_run() to run the tests to integrate with the testing framework.
1999 * gtk/tests/Makefile.am: removed exemplary testing rules.
2001 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
2002 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
2003 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
2004 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
2005 * docs/reference/Makefile.am, docs/tools/Makefile.am:
2006 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
2007 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
2008 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
2009 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
2010 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
2011 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
2012 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
2013 * modules/engines/ms-windows/Theme/Makefile.am:
2014 * modules/engines/ms-windows/Makefile.am:
2015 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
2016 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
2017 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
2018 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
2019 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
2020 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
2021 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
2023 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2025 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
2026 (#485662, patch by Herbert Valerio Riedel)
2028 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2030 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
2032 2007-11-21 Richard Hult <richard@imendio.com>
2034 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
2035 stubs for the testing functions to fix the build.
2037 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2039 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
2040 (#467711, The Written Word)
2042 2007-11-21 Ross Burton <ross@openedhand.com>
2044 * gdk/x11/gdksettings.c:
2045 Add xsetting for gtk-scrolled-window-placement (#458103).
2047 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2049 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
2050 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
2051 (#469239, Michael Natterer)
2053 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2055 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
2056 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
2057 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
2058 (#436536, Tommi Komulainen)
2060 2007-11-21 Matthias Clasen <mclasen@redhat.com>
2062 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
2063 property. (#489782, Jan Janech)
2065 2007-11-20 Matthias Clasen <mclasen@redhat.com>
2067 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
2068 frames. (#107398, Owen Taylor, Miguel Gomez)
2070 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
2072 Moved Gdk test functions from Gtk+ to Gdk test utils.
2074 * gdk/Makefile.am: added gdktestutils.h to public includes.
2076 * gdk/gdk.h: added gdktestutils.h to public includes.
2078 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
2079 gdk_test_render_sync.
2081 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
2082 gdk_test_simulate_key, gdk_test_render_sync.
2084 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
2086 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
2087 gdk_test_simulate_key, gdk_test_render_sync.
2089 * gtk/gtktestutils.c:
2090 * gtk/gtktestutils.h:
2091 * gtk/gtk.symbols: removed gtk_test_simulate_button
2092 gtk_test_simulate_key, gtk_test_xserver_render_sync.
2094 * gtk/tests/testing.c: call gdk_test_render_sync.
2096 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
2098 Added unit tests for Gtk+ testing utilities.
2100 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
2101 utility functions. some g_test_* related portions are disabled and need
2102 to be enabled once Gtk+ depends on a new glib with the GLib testing
2103 framework integrated.
2105 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
2106 added exemplary test rules to run tests inside Xvfb. this needs to depend
2107 on gtester for full fledged testing.
2109 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
2110 collecting _get_type functions to catch e.g. gtk_text_get_type().
2112 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
2114 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
2116 Added Gtk+ testing utilities.
2118 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
2119 for the most part, the functions herein involve navigating and interacting
2120 with dialog elements programatically, to automate user interaction tests of
2121 dialogs and widgets.
2123 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
2125 * gtk/gtk.symbols: added gtk_test_* symbols.
2127 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
2128 generate gtktypefuncs.c which contains a list of all _get_type functions in
2130 2007-11-20 Bastien Nocera <hadess@hadess.net>
2132 * configure.in: add support for conditional icns gdk-pixbuf loader
2135 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
2137 * configure.in: updated version number to 2.15.0 for development.
2139 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
2141 === Branch for 2.12 ===