1 2008-02-15 Matthias Clasen <mclasen@redhat.com>
3 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
4 Warn on duplicate action group names. (#501746, Christian
7 2008-02-15 Matthias Clasen <mclasen@redhat.com>
10 * modules/other/gail/tests/Makefile.am:
11 * modules/other/gail/libgail-util/Makefile.am:
12 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
13 builds. (#516254, Yevgen Muntyan)
15 2008-02-15 Matthias Clasen <mclasen@redhat.com>
20 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
21 instead of hardcoded target tables. (#516092, Christian Persch)
23 2008-02-15 Matthias Clasen <mclasen@redhat.com>
25 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
26 add the same target atom twice. (#516087, Christian Persch)
28 2008-02-15 Matthias Clasen <mclasen@redhat.com>
30 * tests/testfilechooser.c: Add a --backend option.
31 (#516073, Christian Persch)
33 2008-02-16 Richard Hult <richard@imendio.com>
35 * gdk/quartz/gdkprivate-quartz.h:
36 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
39 2008-02-15 Matthias Clasen <mclasen@redhat.com>
41 * configure.in: Go back to 2.13.0 as version for now,
42 as there was no consensus to do the jump.
44 * many other places: Update Since: tags.
46 2008-02-15 Matthias Clasen <mclasen@redhat.com>
48 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
50 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
52 2008-02-15 Richard Hult <richard@imendio.com>
54 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
55 instead of bounds when resizing windows.
57 2008-02-15 Matthias Clasen <mclasen@redhat.com>
59 * gdk/x11/gdkkeys-x11.c:
60 * gdk/x11/gdkcolor-x11.c:
61 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
63 2008-02-15 Matthias Clasen <mclasen@redhat.com>
65 * gdk/x11/gdktestutils-x11.c:
66 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
68 2008-02-15 Tor Lillqvist <tml@novell.com>
70 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
71 leak Registry key handles. (#516578)
73 2008-02-14 Richard Hult <richard@imendio.com>
75 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
76 makeKeyWindow unfortunately doesn't work in all cases, we must use
79 2008-02-14 Richard Hult <richard@imendio.com>
81 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
82 (gdk_window_hide), (gdk_window_fullscreen),
83 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
86 2008-02-14 Richard Hult <richard@imendio.com>
88 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
89 resizing to be consistent and to avoid introducing an internal
90 transform in the view.
92 2008-02-14 Richard Hult <richard@imendio.com>
94 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
97 2008-02-14 Johan Dahlin <johan@gnome.org>
100 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
102 2008-02-13 Richard Hult <richard@imendio.com>
104 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
105 Remove unused variables.
106 (gtk_clipboard_set_contents),
107 (gtk_clipboard_get_owner), (clipboard_unset),
108 (gtk_clipboard_request_targets): Notify the previous clipboard
109 owner when the owner changes. Fixes bug #493406.
111 2008-02-13 Richard Hult <richard@imendio.com>
113 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
114 the return value (return number of colors that failed), and handle
116 (gdk_colormap_free_colors): Fix typo in comment.
118 2008-02-13 Kristian Rietveld <kris@imendio.com>
120 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
121 queue a redraw if the rubber banding has actually been active.
123 2008-02-12 Matthias Clasen <mclasne@redhat.com>
125 * gtk/gtkpapersize.c:
126 * gtk/gtkprintoperation.c:
127 * gtk/gtkvolumebutton.c:
128 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
129 out by Behdad Esfahbod.
131 2008-02-12 Federico Mena Quintero <federico@novell.com>
133 Merged from gtk-2-12:
135 Don't focus the file list when shortcuts get activated. This
136 removes a lot of ambiguity in when the file selection should
137 change, and makes the overall code flow simpler.
139 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
140 file/save dialog clears the filename entry when changing
143 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
144 focus should not go to the file list when a shortcut is activated.
146 * gtk/gtkfilechooserdefault.c
147 (shortcuts_activate_volume_mount_cb): Don't focus the file list
148 (shortcuts_activate_get_info_cb): Likewise.
150 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
151 the file list (this was the last place where we would focus the
152 file list explicitly). If you are in the location entry, for
153 example, you don't want Alt-Home to take you to the file list; you
154 just want the current folder to change. Thanks to Olle Bergkvist
155 <olle.bergkvist@yahoo.se> for pointing this out in
156 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
157 (focus_browse_tree_view_if_possible): Removed.
159 2008-02-12 Matthias Clasen <mclasen@redhat.com>
161 Skip exensions when selecting filenames in the save-as dialog.
162 (#362516, Carlos Garnacho)
164 * gtk/gtkfilechooserentry.h:
165 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
166 New function to skip the extension part when selecting a filename.
167 (_gtk_file_chooser_entry_set_base_folder): Use it here.
169 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
172 2008-02-12 Matthias Clasen <mclasen@redhat.com>
174 * gtk/gtkiconview.c: Fix state change reporting for
175 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
177 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
179 * gtk/gtkrecentchooser.c:
180 (gtk_recent_chooser_class_init): Set the default value of the
181 :show-not-found property to TRUE, as every implementation sets
184 * gtk/gtkrecentchooserdefault.c:
185 (_gtk_recent_chooser_default_init): Sync show_tips to the
186 default value of the :show-tips property.
188 2008-02-12 Matthias Clasen <mclasen@redhat.com>
190 * gtk/gtkclipboard-quartz.c:
192 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
195 2008-02-12 Kristian Rietveld <kris@imendio.com>
197 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
198 (gtk_tree_view_real_toggle_cursor_row): guard against people
199 deleting the row in question in the selection-changed callback.
200 (#514621, Andreas Koehler).
202 2008-02-12 Matthias Clasen <mclasen@redhat.com>
204 * gtk/*.c: Unify the handling of various "Enter" keysyms
205 all over the place. (#515047, Christian Persch)
207 2008-02-12 Matthias Clasen <mclasen@redhat.com>
209 * gtk/gtkfilesystemmodel.c:
211 * gtk/gtkwidget.c: Use g_value_set_static_string() where
212 appropriate. (#515042, Christian Persch)
214 2008-02-12 Matthias Clasen <mclasen@redhat.com>
216 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
218 2008-02-12 Matthias Clasen <mclasen@redhat.com>
220 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
222 2008-02-12 Matthias Clasen <mclasen@redhat.com>
224 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
225 (recent_model_sort_drag_data_get):
226 (search_model_sort_drag_data_get):
227 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
228 * gtk/gtkpathbar.c (button_drag_data_get_cb):
229 Use gtk_selection_data_set_uris() instead of doing it
230 by hand. (#514890, Christian Persch)
232 2008-02-12 Michael Natterer <mitch@imendio.com>
234 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
235 gtk_get_current_event_time().
237 2008-02-12 Michael Natterer <mitch@imendio.com>
239 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
240 gtk_window_get_key_hash() to get the hash instead of manually
241 fiddling with quarks and gtk_window_keys_changed(). Also add
242 g_return_if_fail() to this public function.
244 2008-02-11 Matthias Clasen <mclasen@redhat.com>
246 Support keynav in status icons. (#473786, Li Yuan)
248 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
250 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
252 2008-02-11 Kristian Rietveld <kris@imendio.com>
254 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
255 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
256 wrt. link deletion from list; contination of fix for #503569.
258 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
260 * gtk/gtkrecentchoosermenu.c:
261 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
262 on the placeholder menu item.
264 * tests/testrecentchoosermenu.c:
265 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
266 whether the placeholder menu item gets shown.
268 2008-02-10 Cody Russell <bratsche@gnome.org>
270 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
271 Check the return value of _gtk_file_chooser_get_file_system () for
272 NULL before passing it to gtk_file_system_path_to_uri ().
273 (#515667, Francesco Montorsi)
275 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
277 * gtk/gtkbuilder.c: Improve the documentation for
278 gtk_builder_connect_signals. (#514471)
280 2008-02-10 Matthias Clasen <mclasen@redhat.com>
282 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
285 2008-02-08 Cody Russell <bratsche@gnome.org>
287 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
288 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
290 2008-02-08 Richard Hult <richard@imendio.com>
292 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
293 delta from the NSEvent for now, generating multiple scroll events
294 results in a lot of events getting queued up and things get really
297 2008-02-08 Sven Herzberg <sven@imendio.com>
299 Adjust the code to match the documentation, examples, "common sense"
300 and existing applications.
302 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
303 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
306 2008-02-07 Cody Russell <bratsche@gnome.org>
308 * gdk/win32/gdkevents-win32.c
309 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
310 of a block that were causing compile problems on old
311 compilers. (#515053, reported by Kazuki IWAMOTO)
313 2008-02-07 Michael Natterer <mitch@imendio.com>
322 * gtk/gtkoptionmenu.c
326 * gtk/gtkradiomenuitem.c
328 * gtk/gtkscrolledwindow.c
329 * gtk/gtksocket.c: remove g_return_if_fail() from private
330 functions and virtual function implementations.
332 2008-02-07 Michael Natterer <mitch@imendio.com>
339 * gtk/gtkcellrenderercombo.c
342 * gtk/gtkdrawingarea.c
343 * gtk/gtkentrycompletion.c
349 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
350 functions and virtual function implementations.
352 2008-02-07 Christian Persch <chpe@gnome.org>
354 * gdk/gdkpixbuf-render.c:
355 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
356 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
357 otherwise there will be random pixel values in the semi-transparent
358 area of the pixbuf within the mask. Bug #487865.
360 2008-02-06 Cody Russell <bratsche@gnome.org>
362 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
363 otherwise things get wonky when you click on a menu. This fixes
364 a regression caused in #505928. Thanks to Tor for spotting this
367 2008-02-06 Michael Natterer <mitch@imendio.com>
378 * gtk/gtkseparatortoolitem.c
380 * gtk/gtktextlayout.c
381 * gtk/gtktoggletoolbutton.c
382 * gtk/gtktoolbutton.c
385 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
388 2008-02-05 Matthias Clasen <mclasen@redhat.com>
390 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
391 Allow to store half-open ranges.
393 2008-02-05 Cody Russell <bratsche@gnome.org>
395 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
396 down the stack until we get to a window that is mapped.
397 Otherwise hiding a window will cause all windows in the app
398 to be blocked. (#514643)
400 2008-02-05 Matthias Clasen <mclasen@redhat.com>
402 * gtk/updateiconcache.c: Ignore images in the toplevel theme
403 directory, avoiding one source of invalid caches that has been
406 2008-02-05 Matthias Clasen <mclasen@redhat.com>
408 * gtk/updateiconcache.c: Fix the previous commit to compile.
410 2008-02-05 Matthias Clasen <mclasen@redhat.com>
412 * gtk/updateiconcache.c: Install a printerr handler that
413 prepends the program name, since gtk-update-icon-cache output
414 often appears in the middle of other output, e.g. rpm update logs.
416 2008-02-05 Cody Russell <bratsche@gnome.org>
418 * gdk/win32/gdkprivate-win32.h
419 * gdk/win32/gdkevents-win32.c
420 * gdk/win32/gdkwindow-win32.c
421 * gdk/win32/gdkwindow-win32.h
422 * gdk/win32/gdkwin32.h:
423 Modal window rework. (#455627 and #511111)
425 2008-02-04 Michael Natterer <mitch@imendio.com>
427 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
428 g_return_if_fail() if the cell is not part of the combo instead of
429 crashing in the next line.
431 2008-02-01 Cody Russell <cody@jhu.edu>
433 * modules/engines/ms-windows/xp_theme.[ch]
434 * modules/engines/ms-windows/xp_theme_defs.h
435 * modules/engines/ms-windows/msw_rc_style.c
436 * modules/engines/ms-windows/msw_theme_main.c
437 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
438 attempted to stylize more like the rest of the gtk+ stack's code.
440 2008-02-01 Michael Natterer <mitch@imendio.com>
442 * tests/testgtk.c: initialize GdkColor structs to fix warning
443 about uninitialized "pixel" member.
445 * tests/testactions.c: connect the toolbar_style() callback so it
446 does something useful and doesn't warn about being defined but not
449 2008-01-31 Cody Russell <bratsche@gnome.org>
451 * gdk/win32/gdkevents-win32.c:
452 Refactored some of the window hiding/showing code from
453 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
454 under WM_ACTIVATE was causing the application to go into
455 a weird state when the user right-clicked on the taskbar
456 entry of a window that was minimized. (#505928)
458 2008-01-31 Cody Russell <bratsche@gnome.org>
460 * gtk/gtkpaned.c (gtk_paned_set_position):
461 Change queue_resize() to queue_draw(), and add a check for
462 child2 != NULL in case someone calls this before there is
463 a child packed in there. (#144269 again)
465 2008-01-31 Sven Neumann <sven@gimp.org>
467 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
468 applied patch from Denis Oliver Kropp <dok@directfb.org>.
470 2008-01-31 Sven Neumann <sven@gimp.org>
472 * gdk/directfb/gdkdisplay-directfb.c
473 * gdk/directfb/gdkdrawable-directfb.c
474 * gdk/directfb/gdkprivate-directfb.h
475 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
476 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
478 2008-01-31 Richard Hult <richard@imendio.com>
480 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
481 issues with undecorated windows. Revert the change done on
482 2008-01-25 and fix it by using the view's bounds instead. The
483 bounds will always be up to date when setting up the tracking
484 rect, so this should be more robust.
486 2008-01-30 Sven Neumann <sven@gimp.org>
488 * gdk/directfb/gdkdrawable-directfb.c
489 * gdk/directfb/gdkwindow-directfb.c
490 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
491 Oliver Kropp <dok@directfb.org>. Adds debug messages using
492 DirectFB's debugging system
494 2008-01-30 Sven Neumann <sven@gimp.org>
496 * gdk/directfb/gdkdirectfb.h
497 * gdk/directfb/gdkdisplay-directfb.c
498 * gdk/directfb/gdkdrawable-directfb.c
499 * gdk/directfb/gdkim-directfb.c
500 * gdk/directfb/gdkimage-directfb.c
501 * gdk/directfb/gdkinput-directfb.c
502 * gdk/directfb/gdkmain-directfb.c
503 * gdk/directfb/gdkpixmap-directfb.c
504 * gdk/directfb/gdktestutils-directfb.c
505 * gdk/directfb/gdkvisual-directfb.c
506 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
507 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
508 errors and has some cleanups.
510 2008-01-30 Michael Natterer <mitch@imendio.com>
512 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
513 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
516 * gtk/updateiconcache.c (add_string): cast const gchar* to
517 gpointer when inserting in a GHashTable.
519 * tests/testcalendar.c (calendar_detail_cb): remove const from
520 return value since it's a newly allocated string.
522 (calendar_update_details): free the detail.
524 2008-01-29 Johan Dahlin <johan@gnome.org>
526 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
528 * demos/gtk-demo/demo.ui:
529 Move the about dialog to the glade file, add accessible tags
530 examples to the markup file.
532 2008-01-28 Paolo Borelli <pborelli@katamail.com>
534 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
535 layout, fixes #512375.
537 2008-01-28 Michael Natterer <mitch@imendio.com>
540 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
542 2008-01-28 Michael Natterer <mitch@imendio.com>
544 * demos/gtk-demo/builder.c (about_activate): use
545 gtk_about_dialog_set_program_name() instead of the deprecated
548 2008-01-28 Michael Natterer <mitch@imendio.com>
551 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
554 2008-01-26 Johan Dahlin <johan@gnome.org>
557 * tests/textbuffertest.c:
558 Rename textbuffer test and port it to the new test framework
560 2008-01-25 Johan Dahlin <johan@gnome.org>
562 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
563 unsetting of GTK_MODULES.
565 * gtk/gtk-builder-convert
566 (GtkBuilderConverter._convert_adjustment): Handle the case where
567 there is no child text node.
568 (GtkBuilderConverter): Allow xml comments in most places.
570 2008-01-25 Johan Dahlin <johan@gnome.org>
572 * gtk/gtk-builder-convert
573 (GtkBuilderConverter._convert_combobox_items): Remove the items
574 even if there are no items set.
575 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
576 signals and tooltips for all menu items subclasses and
577 GtkImageMenuItem:label.
578 Makes it possible to fully convert and run Jokosher.glade.
580 2008-01-25 Johan Dahlin <johan@gnome.org>
582 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
583 (gtk_widget_buildable_get_internal_child), (free_action),
584 (free_relation), (gtk_widget_buildable_parser_finished),
585 (accessibility_start_element),
586 (gtk_widget_buildable_custom_tag_start),
587 (gtk_widget_buildable_custom_finished):
588 Implement accessible support, fixes #454653.
590 * gtk/gtk-builder-convert:
591 Add support for migrating old glade files
593 * tests/buildertest.c: (test_widget), (test_file):
594 Add accessible tests and imprve the test_file function to display
595 toplevels and run dialogs.
597 2008-01-25 Richard Hult <richard@imendio.com>
599 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
600 didn't change, fixes focus event issues for undecorated windows.
602 2008-01-25 Richard Hult <richard@imendio.com>
604 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
605 const and remove unused variables).
607 2008-01-25 Michael Natterer <mitch@imendio.com>
610 * gtk/gtkcellrenderer.h
615 * gtk/gtktreeprivate.h
616 * gtk/gtktreeviewcolumn.h
617 * gtk/gtkwidget.h: add const to constant structs which are passed
618 into GTK+. Also add some forgotten const for const strings.
622 * gtk/gtkcellrenderer.c
628 * gtk/gtktreeviewcolumn.c
629 * gtk/gtkwidget.c: changed accordingly.
631 2008-01-25 Sven Herzberg <sven@imendio.com>
633 Reviewed by Johan Dahlin.
635 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
636 this is called with something that's not a GtkUIManager
638 2008-01-24 Johan Dahlin <johan@gnome.org>
640 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
641 Chain up to parent, so widgets can have internal children.
643 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
645 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
648 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
650 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
652 Use pango_layout_set_height() for calendar details (#506049).
654 * configure.in: Require 1.19.3 for pango_layout_set_height().
655 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
657 2008-01-18 Johan Dahlin <johan@gnome.org>
659 * gtk/gtk-builder-convert (get_property_node): New method
660 (GtkBuilderConverter._create_object): Conditionally take a node as
661 a property value, so don't lose translate/context attributes if they
663 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
664 property values instead of strings.
665 (#509153, Erik van Pienbroek)
667 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
669 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
671 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
672 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
673 * tests/testcalendar.c: Duplicate calendar details before returning.
675 2008-01-16 Christian Persch <chpe@gnome.org>
677 * gtk/gtkwidget.c: Store the event mask and extension event mode
678 directly in the gobject data pointer, instead of in an allocated
681 2008-01-16 Michael Natterer <mitch@imendio.com>
683 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
684 gdk-pixbuf now uses gio functions.
686 2008-01-16 Matthias Clasen <mclasen@redhat.com>
688 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
689 the notify::model signal. (#509819, David Zeuthen)
691 2008-01-15 Michael Natterer <mitch@imendio.com>
699 * gdk/gdkwindow.h: made more struct pointer and array parameters
700 const. GDK should now be constified as far as possible without
701 breaking source compatibility. Includes some minor cleanup like
702 indentation and s/nfoo/n_foo/ (bug #508544).
708 * gdk/gdkregion-generic.c
710 * gdk/directfb/gdkdisplay-directfb.c
711 * gdk/directfb/gdkwindow-directfb.c
712 * gdk/quartz/gdkdisplay-quartz.c
713 * gdk/quartz/gdkwindow-quartz.c
714 * gdk/win32/gdkdisplay-win32.c
715 * gdk/win32/gdkwindow-win32.c
716 * gdk/x11/gdkdisplay-x11.c
717 * gdk/x11/gdkwindow-x11.c: changed accordingly.
719 2008-01-14 Michael Natterer <mitch@imendio.com>
721 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
724 (gtk_rc_parse_any): change variables to const and introduce
725 another local variable to fix const warnings.
727 2008-01-14 Michael Natterer <mitch@imendio.com>
729 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
730 of gdk_screen_get_font_options() to gpointer to get rid of const
733 2008-01-14 Michael Natterer <mitch@imendio.com>
735 * tests/testdnd.c (source_drag_data_get): fix another call to
736 gtk_selection_data_set().
738 2008-01-14 Michael Natterer <mitch@imendio.com>
740 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
743 2008-01-14 Michael Natterer <mitch@imendio.com>
745 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
747 2008-01-14 Michael Natterer <mitch@imendio.com>
749 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
750 "uris" to guchar* when passing it to gtk_selection_data_set().
752 2008-01-14 Michael Natterer <mitch@imendio.com>
760 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
761 parameters const (bug #508544).
767 * gdk/gdkpolyreg-generic.c
768 * gdk/gdkregion-generic.c
769 * gdk/directfb/gdkcolor-directfb.c
770 * gdk/directfb/gdkgc-directfb.c
771 * gdk/directfb/gdkgeometry-directfb.c
772 * gdk/directfb/gdkwindow-directfb.c
773 * gdk/quartz/gdkcolor-quartz.c
774 * gdk/quartz/gdkgc-quartz.c
775 * gdk/quartz/gdkgeometry-quartz.c
776 * gdk/quartz/gdkwindow-quartz.c
777 * gdk/win32/gdkcolor-win32.c
778 * gdk/win32/gdkgc-win32.c
779 * gdk/win32/gdkgeometry-win32.c
780 * gdk/win32/gdkprivate-win32.h
781 * gdk/win32/gdkwindow-win32.c
782 * gdk/x11/gdkcolor-x11.c
783 * gdk/x11/gdkgc-x11.c
784 * gdk/x11/gdkgeometry-x11.c
785 * gdk/x11/gdkmain-x11.c
786 * gdk/x11/gdkprivate-x11.h
787 * gdk/x11/gdkwindow-x11.c: changed accordingly.
789 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
792 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
794 Explain name choice for gtk_tool_item_toolbar_reconfigured.
796 * gtk/gtktoolitem.c: Add comment expaining name choice for
797 gtk_tool_item_toolbar_reconfigured.
799 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
801 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
802 implementations to notify its children, when some aspect of their
803 configuration changed (#509042).
805 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
806 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
807 Rename _gtk_tool_item_toolbar_reconfigured.
809 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
811 Include <gtk/gtktoolshell.h> from gtk.h.
813 * gtk/gtk.h: Add gtktoolshell.h
815 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
817 Print angle brackets arround e-mail addresses in the about dialog
818 (#409520, Mariano Suárez-Alvarez).
820 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
822 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
824 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
825 special casing so test widgets are always queues for destruction
828 * gtk/tests/testing.c: removed bits left-over from testing without
831 2008-01-10 Tor Lillqvist <tml@novell.com>
833 * modules/other/gail/libgail-util/Makefile.am
834 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
837 2008-01-10 Tor Lillqvist <tml@novell.com>
839 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
840 uses gtkprintunixdialog API.
842 2008-01-10 Tor Lillqvist <tml@novell.com>
844 * gdk/win32/gdkdisplay-win32.c
845 * gdk/win32/gdkglobals-win32.c
846 * gdk/win32/gdkprivate-win32.h
847 * gdk/win32/gdkscreen-win32.c
848 * gdk/win32/gdkwindow-win32.c: Implement
849 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
850 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
853 2008-01-10 Cody Russell <bratsche@gnome.org>
855 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
856 Properly ref/unref windows and parents. (#506769)
858 2008-01-10 Richard Hult <richard@imendio.com>
860 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
861 (gdk_window_hide), (move_resize_window_internal): Move the
862 tracking rect workaround from here...
864 * gdk/quartz/GdkQuartzWindow.c:
865 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
866 movements during showing/hiding operations. Fixes bug #508516.
868 2008-01-10 Michael Natterer <mitch@imendio.com>
870 * gdk/directfb/gdkscreen-directfb.c
871 (gdk_screen_get_monitor_width_mm)
872 (gdk_screen_get_monitor_height_mm)
873 (gdk_screen_get_monitor_plug_name): add these functions to make
876 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
878 * gtk/gtkrecentchoosermenu.c:
879 (idle_populate_func), (idle_populate_clean_up): Fix possible
880 recursion by resetting the idle source id. (#507605, William
883 2008-01-10 Kristian Rietveld <kris@imendio.com>
885 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
886 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
887 avoid valgrind warnings. (#507751, patch from Christian Persch).
889 2008-01-10 Kristian Rietveld <kris@imendio.com>
891 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
892 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
894 2008-01-10 Kristian Rietveld <kris@imendio.com>
896 Fix #477175, reported by Juri Pakaste.
898 * gtk/gtktreeprivate.h:
899 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
900 tree_view->priv->dy here directly, just calculate the new value
901 and set it on the adjustment,
902 (gtk_tree_view_adjustment_changed): add guards to not call
903 gtk_tree_view_dy_to_top_row() if we are currently in
904 gtk_tree_view_top_row_to_dy(),
905 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
906 coordinates, not tree coordinates,
907 (gtk_tree_view_real_start_editing): add cast.
909 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
910 position of the editable in the "create new row and start editing"
913 2008-01-09 Michael Natterer <mitch@imendio.com>
915 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
918 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
919 * gtk/gtkicontheme.c (theme_list_contexts)
920 (gtk_icon_theme_lookup_icon)
921 * gtk/gtkimcontextsimple.c (beep_window)
922 * gtk/gtklinkbutton.c (set_link_color)
923 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
926 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
927 variable and add const to another to fix a warning.
929 2008-01-07 Matthias Clasen <mclasen@redhat.com>
931 * gtk/gtkassistant.c (remove_page): Be more robust when removing
932 the current page. (#499951, Andreas Sandberg)
934 2008-01-06 Johan Dahlin <johan@gnome.org>
936 * gtk/gtkspinbutton.c: Declare value in the example code for
937 GtkSpinButton::output, as pointed out by Anders Carlsson.
939 2008-01-06 Christian Persch <chpe@gnome.org>
941 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
942 and remove an obsolete event box. Bug #506760.
944 2008-01-06 Johan Dahlin <johan@gnome.org>
946 * tests/buildertest.c (test_domain):
947 Update, GtkBuilder::translation-domain is no longer set
949 * gtk/gtkbuilderparser.c (parse_interface):
950 Allow domains to be overridden in <interface>'s if a translation-domain
951 is set in the builder.
952 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
953 of the builder, make the domain set in the <interface> apply only to strings
955 (#496831, Ryan Lortie)
957 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
960 * gtk/gtktreestore.c (tree_model_end_element):
961 Remove an unused variable
963 2008-01-06 Matthias Clasen <mclasen@redhat.com>
965 * gtk/gtkspinbutton.c: Document the ::output signal and
966 add an example. (#507566, example by Owen Taylor)
968 2008-01-06 Johan Dahlin <johan@gnome.org>
970 * gtk/gtkcellrenderercombo.c:
971 (gtk_cell_renderer_combo_get_property),
972 (gtk_cell_renderer_combo_set_property):
973 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
974 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
975 * gtk/gtknotebook.c: (gtk_notebook_set_property):
976 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
977 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
978 (gtk_text_buffer_get_property):
979 * gtk/gtktextview.c: (gtk_text_view_set_property):
980 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
981 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
982 (gtk_tool_button_get_property):
983 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
984 (gtk_tool_item_get_property):
985 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
986 * gtk/gtkwidget.c: (gtk_widget_set_property):
987 * gtk/gtkwindow.c: (gtk_window_set_property):
988 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
991 2008-01-06 Johan Dahlin <johan@gnome.org>
993 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
994 Make sure that --root works for toplevel widgets.
995 (#491847, Phil Lello)
997 2008-01-05 Johan Dahlin <johan@gnome.org>
999 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
1000 to make sure that make test-report works properly
1002 2008-01-05 Christian Persch <chpe@gnome.org>
1004 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
1005 GType as integer through gpointer. Bug #507395.
1007 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
1009 Avoid some compiler warnings (#507000).
1011 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
1012 for value argument of _gtk_builder_flags_from_string.
1013 * gtk/gtkwidget.c: Don't alias the child pointer passed
1014 to gdk_window_get_user_data.
1016 2008-01-04 Michael Natterer <mitch@imendio.com>
1018 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
1019 to set the time in the returned GdkTimeCoords.
1021 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
1023 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
1024 correct comparison function (kudos to Christian Persch and
1025 Claudio Saavedra for spotting this)
1027 * gtk/gtkrecentchooserutils.c:
1028 (sort_recent_items_mru),
1029 (sort_recent_items_lru): Ditto as above.
1031 2008-01-03 Johan Dahlin <johan@gnome.org>
1033 * tests/defaultvaluetest.c: Make it pass again.
1035 2008-01-02 Johan Dahlin <johan@gnome.org>
1037 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
1038 make it pass on Ubuntu.
1039 (main): Use gtk_test_list_all_types () instead of providing our
1041 And it no longer passes.
1043 2007-12-30 Johannes Schmid <jhs@gnome.org>
1045 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
1046 Also reorder menu when reordering tabs by drag & drop
1049 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
1050 Add a menu to one of the notebooks to have a test-case for
1051 the change mentioned above.
1053 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
1055 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
1057 2007-12-31 Christian Persch <chpe@gnome.org>
1059 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
1060 Plug a mem leak. Bug #506107.
1062 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1064 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
1065 icon cache api change. (#506135, Kazuki Iwamoto)
1067 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1069 Consider "wide-separators" and "separator-height" style properties:
1070 The separator is drawn using gtk_paint_box instead of cairo, when
1071 "wide-separators" is set. Also do not highlight details for previous
1072 or next month, if their day matches the selected day. (#339540)
1074 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
1075 in gtk_calendar_size_request and calendar_paint_day
1076 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
1077 for selected detail separators in GtkCalendar.
1079 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1081 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
1083 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
1084 a local variable instead in gtk_calendar_size_request.
1086 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1088 * tests/defaultvaluetest.c: Add enough exclusions to make the
1091 2007-12-28 Christian Persch <chpe@gnome.org>
1093 * modules/other/gail/Makefile.am:
1094 * modules/other/gail/tests/*:
1095 * configure.in: Merge tests from standalone gail. Bug #504568.
1097 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1099 * gtk/gtkclipboard.c: Make the finalizer work when display is
1102 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1104 Draw bottom shadow of GtkCalender headings. (#506113)
1106 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
1108 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1110 * gtk/gtkcalendar.c: Document the initial values of year/month/day
1113 2007-12-28 Christian Persch <chpe@gnome.org>
1115 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
1116 a mem leak. Bug #506096.
1118 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1121 * gtk/gtktreeview.c:
1122 * gtk/gtkprintoperation.c:
1123 * gtk/gtkprogressbar.c:
1124 * gtk/gtkmessagedialog.c:
1125 * gtk/gtknotebook.c:
1129 * gtk/gtklinkbutton.c:
1130 * gtk/gtkmenu.c: More default property value corrections.
1132 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1134 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
1135 accel_group unless it is set.
1137 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1139 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
1141 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1143 * gtk/gtkhandlebox.c: Fix the default values of shadow and
1144 shadow-type properties.
1146 * gtk/gtkfontsel.c: Fix the default values of several properties.
1148 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
1151 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
1153 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
1156 2007-12-28 Johan Dahlin <johan@gnome.org>
1158 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
1159 (gtk_dialog_buildable_custom_tag_start): Chain up.
1160 This makes it possible to have accelerators tags on GtkDialog
1163 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1165 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
1166 are shown within the widget, or just as tooltip. (#339540)
1168 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
1169 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
1170 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
1173 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1175 Try more decent appearance of calendar details separator. (#339540)
1177 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
1178 and make it short by one pixel on each side.
1180 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1182 Apply trivial code-style changes from attachement 101101. (#339540)
1184 * tests/testcalendar.c: Some updates to current GTK+ code-style.
1186 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1188 Restructure testcalendar for testing calendar details. (#339540)
1190 * tests/testcalendar.c: Push code arround for testing calendar details.
1192 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1194 Implement GtkTooltip API for calendar details. (#339540)
1196 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
1197 Remember detail overflows in calendar_paint_day to show the tooltip
1198 only when neccessary.
1200 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1202 Without setting "detail-width-chars" and "detail-height-rows"
1203 properties not only the widget has to be redrawn on certain
1204 conditions, but also its size must be recalculated. (#339540)
1206 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
1207 that function instead of gtk_widget_queue_draw.
1209 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1211 Consider details for size-request and expose-event. (#339540)
1213 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
1214 is_color_attribute functions. Change gtk_calendar_size_request
1215 and calendar_paint_day to consider and show calender details.
1217 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1219 * gtk/gtkcombobox.c: Introduce local priv variables to
1222 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1224 * gtk/gtkcombobox.c: Correct the default value for the
1225 tearoff-title property.
1227 * gtk/gtkcellrenderertext.c: Fix the default value for the
1228 wrap-mode and font-scale properties.
1230 * gtk/gtkaspectratio.c: Fix the default value for the ratio
1233 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1235 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
1236 defines. (#505708, MINAMI Hirokazu)
1238 2007-12-27 Christian Persch <chpe@gnome.org>
1240 * Makefile.am: Install gail.pc. Bug #505859.
1242 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
1244 Add infrastructure for GtkCalendar details. (#339540)
1246 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
1247 Add "detail-width-chars" and "detail-height-rows" properties,
1248 and gtk_calendar_set_detail_func function.
1250 2007-12-27 Xan Lopez <xan@gnome.org>
1253 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
1255 Add gtk_border_new to avoid memory allocator confusions when using
1256 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
1258 2007-12-27 Christian Persch <chpe@gnome.org>
1260 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
1261 bug #504886 not to read unitialised memory.
1263 2007-12-26 Xan Lopez <xan@gnome.org>
1265 * gtk/gtkstatusbar.c (has_extra_children): take into account the
1266 modification of the internal frame contents to decide if we have
1267 extra children. (#415677)
1269 2007-12-22 Christian Persch <chpe@gnome.org>
1271 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
1273 2007-12-25 Christian Persch <chpe@gnome.org>
1275 * modules/other/gail/gailwindow.c: (gail_window_initialize):
1276 Initialise |widget|. Fixes a buglet introduced by the commit from bug
1279 2007-12-25 Christian Persch <chpe@gnome.org>
1281 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
1283 2007-12-25 Christian Persch <chpe@gnome.org>
1285 * modules/other/gail/*.[ch]: Remove relocations from the atk
1286 factories. Remove unused gail_foo_new() functions. Fix object
1287 instantiation to be derivation safe by moving initialisation code
1288 from the removed gail_foo_new() functions to the
1289 AtkObjectClass::initialize implementation. Bug #505226.
1291 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1293 * modules/other/gail/gailentry.c:
1294 * modules/other/gail/gailimage.c:
1295 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
1296 uses of clipboards and settings. (#504722, Christian Persch)
1298 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1300 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
1303 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1305 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
1306 use the time and button information from the event. (#504901,
1309 2007-12-23 Cody Russell <bratsche@gnome.org>
1311 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
1312 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
1313 Fixes a regression caused by #164537 patch where transient
1314 windows that are hidden get shown (incorrectly) when their
1315 parents are minimized. (#504984)
1317 2007-12-22 Christian Persch <chpe@gnome.org>
1319 * modules/other/gail/gailcell.c:
1320 * modules/other/gail/gailcontainercell.c:
1321 * modules/other/gail/gailexpander.c:
1322 * modules/other/gail/gailtextcell.c:
1323 * modules/other/gail/gailtextview.c:
1324 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
1326 2007-12-22 Christian Persch <chpe@gnome.org>
1328 * modules/other/gail/*.c: Include config.h. Bug #504720.
1330 2007-12-22 Christian Persch <chpe@gnome.org>
1332 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
1333 handwritten get_type functions. Bug #504661.
1335 2007-12-23 Xan Lopez <xan@gnome.org>
1337 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
1338 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
1340 Patch by Sadrul Habib Chowdhury (#504804)
1342 2007-12-22 Christian Persch <chpe@gnome.org>
1344 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
1345 #504645, patch by Li Yuan.
1347 2007-12-22 Christian Persch <chpe@gnome.org>
1349 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
1351 2007-12-22 Christian Persch <chpe@gnome.org>
1353 * modules/other/gail/gail.c:
1354 * modules/other/gail/gailbutton.c:
1355 * modules/other/gail/gailcell.c:
1356 * modules/other/gail/gailcombo.c:
1357 * modules/other/gail/gailcombo.h:
1358 * modules/other/gail/gailcombobox.c:
1359 * modules/other/gail/gailentry.c:
1360 * modules/other/gail/gailexpander.c:
1361 * modules/other/gail/gailmenuitem.c:
1362 * modules/other/gail/gailnotebook.c:
1363 * modules/other/gail/gailnotebookpage.c:
1364 * modules/other/gail/gailnotebookpage.h:
1365 * modules/other/gail/gailoptionmenu.c:
1366 * modules/other/gail/gailrange.c:
1367 * modules/other/gail/gailtextview.c:
1368 * modules/other/gail/gailtreeview.c:
1369 * modules/other/gail/gailtreeview.h:
1370 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
1373 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1375 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
1378 2007-12-21 Richard Hult <richard@imendio.com>
1380 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
1381 Plug leak of destroyed subviews, fixes bug #504753.
1383 2007-12-20 Johan Dahlin <johan@gnome.org>
1385 * tests/Makefile.am (TEST_PROGS):
1386 * tests/defaultvaluetest.c: Add a test for default values,
1387 based on program by Christan Perch
1389 2007-12-20 Johan Dahlin <johan@gnome.org>
1391 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
1392 Refactor to avoid some duplication.
1393 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
1394 Fixes #504749, Yuri Pimenov
1396 2007-12-20 Kristian Rietveld <kris@imendio.com>
1398 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
1399 the build work again on systems without xrandr 1.2.
1401 2007-12-20 Christian Persch <chpe@gnome.org>
1404 * modules/other/gail/libgail-util/Makefile.am:
1405 Keep the same libtool version as the standalone libgail-util had.
1408 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
1410 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
1412 2007-12-20 Alexander Larsson <alexl@redhat.com>
1414 * gdk/x11/gdkapplaunchcontext-x11.c:
1415 Update for gio API changes
1417 2007-12-20 Richard Hult <richard@imendio.com>
1419 * gdk/quartz/GdkQuartzWindow.c:
1420 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
1421 processing events after changing the size.
1423 2007-12-20 Richard Hult <richard@imendio.com>
1425 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
1426 Add stub for quartz to fix build.
1428 2007-12-20 Christian Persch <chpe@gnome.org>
1430 * modules/other/gail/Makefile.am:
1431 * modules/other/gail/gailimage.c: (gail_image_class_init),
1432 (gail_image_init), (elide_underscores), (gail_image_get_name),
1433 (atk_image_interface_init), (gail_image_finalize):
1434 * modules/other/gail/gailimage.h:
1435 R modules/other/gail/gailintl.h:
1436 * po/POTFILES.skip: Use the stock item's label as the name of the
1437 accessible in gailimage.c. Bug #504246.
1439 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
1441 Avoid some compiler warnings and remove obsolete code. (#339540)
1443 * gtk/gtkcalendar.c: Change week and year variable in
1444 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
1445 0" block from calendar_paint_day: The feature in question is handled
1446 few lines above. Cast data returned by gtk_selection_data_get_text()
1447 to (gchar*) in gtk_calendar_drag_data_received.
1449 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
1451 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
1453 2007-12-19 Johan Dahlin <johan@gnome.org>
1455 * tests/buildertest.c (test_object_properties):
1456 Add another call to gtk_builder_add_string after using
1457 delayed properties, as reported in #504393 but already
1460 2007-12-18 Christian Persch <chpe@gnome.org>
1463 * docs/reference/Makefile.am:
1464 * docs/reference/libgail-util/*:
1465 * gail-uninstalled.pc.in:
1467 * modules/Makefile.am:
1468 * modules/other/Makefile.am:
1469 * modules/other/gail/*:
1470 * modules/other/gail/libgail-util/*:
1471 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
1473 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1475 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
1476 * gdk/win32/gdkproperty-win32.c:
1477 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
1479 * gtk/gtkimmodule.[hc]:
1480 * gtk/gtkimmulticontext.[hc]: When determining the default context,
1481 look at the gtk-im-module setting, and listen for changes to the
1482 setting. (#502446, Akira Tagoh)
1484 2007-12-17 Kristian Rietveld <kris@imendio.com>
1486 * gtk/gtktooltip.c (gtk_tooltip_finalize),
1487 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
1488 to NULL as soon as it's destroyed. (#496546, patch from
1491 2007-12-17 Kristian Rietveld <kris@imendio.com>
1493 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
1494 always determine what arrow to show if show_sort_indicator is true.
1495 (#352738, Chris Vine).
1497 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
1499 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
1500 Sébastien Granjoux)
1502 * gtk/gtkpaned.c: Call gtk_container_forall instead of
1503 gtk_container_foreach in get_child_panes.
1505 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
1507 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
1509 Plug leak: When reordering the info in the list the old node is
1510 removed but not freed. (#503569)
1512 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
1514 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
1515 Use u32 instead of __u32 and u8 instead of __u8 as the other types
1516 are deprecated since DirectFB 1.0.0. If compiling with an older
1517 version define the new type name to the old types. Fixes bug #503190.
1519 2007-12-14 Ray Strode <rstrode@redhat.com>
1521 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
1522 instead of g_signal_connect_after (..., "realize", ...) as an
1523 alternative to gtk_widget_realize () (bug 503537).
1525 2007-12-14 Michael Natterer <mitch@imendio.com>
1527 * gdk/gdkinternals.h
1528 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
1531 * gdk/gdkapplaunchcontext.c
1532 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
1533 header already includes everything now.
1535 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1537 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
1538 next stable release shall be 2.16, not 2.14 - even if disagree.
1540 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
1542 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1544 Change GtkToolItem to retrieve its properties from GtkToolShell
1545 interface, instead of relying on being child of a GtkToolbar.
1548 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
1549 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
1550 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
1551 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
1552 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
1553 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
1554 Take section docs from template file and update them for GtkToolShell.
1555 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
1556 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
1558 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1560 Extract loading of GtkPageSetup and GtkPrintSettings from their
1561 *_new_*() functions and move that code into separate
1562 *_load_*() functions (#475565).
1564 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
1565 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
1566 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
1567 Change the matching *_new_*() functions to use those functions.
1569 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1572 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
1574 2007-12-14 Kristian Rietveld <kris@imendio.com>
1576 * gtk/tests/liststore.c:
1577 * gtk/tests/treestore.c: added tests for insertion functions.
1579 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
1581 * Add RandR 1.2 support
1583 - New monitors_changed signal - New API to get width/height of
1584 monitors, and the name of the plug
1586 2007-12-13 Kristian Rietveld <kris@imendio.com>
1588 * gtk/tests/liststore.c:
1589 * gtk/tests/treestore.c: test the move and swap functions on a
1590 store with only one node.
1592 2007-12-13 Kristian Rietveld <kris@imendio.com>
1594 * gtk/gtktestutils.c (gtk_test_init): add a call to
1597 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
1600 2007-12-13 Kristian Rietveld <kris@imendio.com>
1602 * gtk/tests/liststore.c:
1603 * gtk/tests/treestore.c: start composing tests for the list and tree
1606 * gtk/tests/treeview-scrolling.c: added automated tests for
1607 GtkTreeView's scrolling "subsystem".
1609 * gtk/tests/Makefile.am: updated; added new test programs.
1611 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
1613 Make the code compile again after the GdkAppLaunchContext changes.
1615 * configure.in: Add gio-2.0 to GDK_PACKAGES.
1616 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
1618 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1620 * gdk/gdkapplaunchcontext.c: Add docs
1622 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1624 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
1625 in gdk, providing startup notification. (#503203)
1627 * gdk/x11/gdkapplaunchcontext-x11.c:
1628 * gdk/win32/gdkapplaunchcontext-win32.c:
1629 * gdk/quartz/gdkapplaunchcontext-quartz.c:
1630 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
1631 parts. All but X11 are just empty stubs for now.
1634 * gdk/gdkinternals.h:
1636 * gdk/x11/Makefile.am:
1637 * gdk/win32/Makefile.am:
1638 * gdk/quartz/Makefile.am:
1639 * gdk/directfb/Makefile.am: Necessary glue.
1641 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
1643 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
1645 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1647 * gdk/directfb/gdktestutils-directfb.c:
1648 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
1649 which adds testing functions to the DirectFB backend.
1651 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1653 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
1654 Ciccani which fixes the mixing of gdk and cairo rendering.
1656 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
1658 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
1659 on "drag-motion" handlers. Clearify documentation for
1662 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
1664 * buildertest.c: made unnecessarily exported symbols static.
1665 switched g_return_if_fail() statements in tests to assertions.
1666 special cased currently failing Widget/accesibility test to
1667 run only for g_test_thorough(), so it doesn't break make check.
1668 some coding style fixes.
1670 * Makefile.am: added buildertest to TEST_PROGS.
1672 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1674 * docs/tutorial/gtk-tut.sgml:
1675 Use gtk_widget_get_parent_window() instead of widget->parent->window.
1677 2007-12-10 Richard Hult <richard@imendio.com>
1679 * gdk/quartz/Makefile.am:
1680 * gdk/quartz/gdkquartz.h:
1681 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
1682 header (bug #405915). Also add a getter for the toplevel nswindow.
1684 2007-12-10 Richard Hult <richard@imendio.com>
1686 * gdk/quartz/gdkdrawable-quartz.c:
1687 (gdk_quartz_drawable_get_context),
1688 (gdk_quartz_drawable_release_context):
1689 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
1690 (gdk_event_check), (gdk_event_dispatch), (poll_func):
1691 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
1692 used for each drawing context and in prepare, dispatch and poll
1693 with one that exists across each main loop iteration. Fixes leaks
1694 on leopard and protects against future leaks introduce when the
1695 underlying system changes again (bug #492977).
1697 2007-12-10 Richard Hult <richard@imendio.com>
1699 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
1700 Fix the check for no changes to position and size.
1702 2007-12-10 Richard Hult <richard@imendio.com>
1704 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
1705 sized areas at (0, 0), patch from Paul Davis.
1707 2007-12-10 Richard Hult <richard@imendio.com>
1709 * gdk/quartz/gdkprivate-quartz.h:
1710 * gdk/quartz/gdkeventloop-quartz.c:
1711 (_gdk_quartz_event_loop_get_pending),
1712 (_gdk_quartz_event_loop_check_pending),
1713 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
1714 (gdk_event_check), (gdk_event_dispatch):
1715 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
1716 (_gdk_events_queue): Fix a bug where we could end up trying to
1717 handle the same event more than once. Based on patch from Paul
1720 2007-12-10 Tor Lillqvist <tml@novell.com>
1722 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
1725 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1727 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
1728 to avoid further fallout from the fix for bug 388321.
1730 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1732 * gdk/directfb/gdkgc-directfb.c:
1733 * gdk/directfb/gdkdrawable-directfb.c:
1734 * gdk/directfb/gdkdirectfb.h:
1735 * gdk/directfb/gdkwindow-directfb.c:
1736 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
1737 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
1738 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
1739 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
1740 which are expected to improve the performance of the DirectFB backend.
1741 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
1743 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1745 * gtk/gtkcontainer.c: Correct the documentation of child
1746 property getter arguments. (#501992, David Brigada)
1748 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1750 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
1751 leak pixbufs. (#502250, Yevgen Muntyan)
1753 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
1755 * gtk/gtkprintunixdialog.c:
1756 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
1757 Print and Page Setup dialogs (#502202).
1759 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
1761 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
1762 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
1763 of XVFB_START, since it's the GTESTER invokation that needs this.
1765 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
1767 * gdk-pixbuf/gdk-pixbuf.symbols:
1769 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
1770 positives in abicheck.sh
1772 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1774 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
1775 GDK events generations in the DirectFB backend.
1777 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
1779 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
1780 set of likely unused display ids, because MacOS has no seq(1) command.
1782 2007-12-06 Richard Hult <richard@imendio.com>
1784 * gdk/quartz/gdkevents-quartz.c:
1785 (synthesize_crossing_events_for_ns_event): Fix warning when
1786 switching spaces in leopard.
1788 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
1790 * tests/floatingtest.c: ported to new testing framework.
1792 * tests/Makefile.am: run floatingtest as testing framework test.
1794 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
1796 * tests/autotestfilechooser.c: majorly speed up execution by reducing
1797 timeouts and converting main loop sleeps to pending/iterate loops with
1798 very low priority async handlers. eliminate output for non-verbose
1799 tests. assert successfull subtests in all test functions. use testing
1800 framework in main().
1802 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
1803 executed inside Xvfb upon make check.
1805 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
1807 * tests/objecttests.c: use string comparisons for string property
1808 values and get rid of referencing symbols in array initialization.
1810 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
1812 * gtk+/Makefile.decl: run tests in current dir after setting up the
1813 logging directory, so their results get properly merged into the
1816 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
1817 tests to loop over registered Gdk/Gtk+ types.
1819 * gtk+/tests/objecttests.c: new test program, implements automated
1820 property tests. several properties are blacklisted because they
1821 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
1822 can be used to test blacklisted properties and see which proprty failed.
1824 2007-12-04 Richard Hult <richard@imendio.com>
1826 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
1827 Fully initialize the root window, fixes bug #501583.
1829 2007-12-04 Matthias Clasen <mclasen@redhat.com>
1831 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
1834 2007-12-03 Richard Hult <richard@imendio.com>
1836 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
1837 Don't crash when dragging from a source that doesn't support uri
1838 lists (bug #499868, Paul Davis).
1840 2007-12-03 Richard Hult <richard@imendio.com>
1842 * gdk/quartz/gdkwindow-quartz.c:
1843 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
1844 parent relative bg pixmap is set, and no parent has a bg
1845 pixmap. Fixes bug #500804.
1847 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1849 Two optimizations for icon cache lookups.
1851 * gtk/gtkiconcache.[hc]:
1852 * gtk/gtkicontheme.c: Remember the directory index for
1853 subdirectories, instead of running over the directory list
1856 * gtk/gtkiconcache.c (find_image_offset): Remember the last
1857 chain and try it first; this helps with the the usage patterns
1858 in gtkicontheme.c, where the same icon is queried for a lot
1861 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
1863 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
1864 functions from header files. this should be portable across linux and
1865 Mac OS, unlike the previpous sed expression.
1867 2007-12-1 Cody Russell <bratsche@gnome.org>
1869 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
1870 On Windows, queue a redraw of child2 whenever we set
1871 the pane handle position. This is unfortunately kind
1872 of hacky, but solves the visual artifacts that were
1873 occuring on at least certain types of child widgets
1874 (e.g., text views and tree views) that are inside
1875 horizontal or vertical panes. (#144269)
1877 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1879 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
1881 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1883 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
1886 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1888 * gtk/Makefile.am: Fix ordering of subdirs.
1890 2007-11-28 Tor Lillqvist <tml@novell.com>
1892 A proper build of GNU libintl is supposed to export the variable
1893 _nl_msg_cat_cntr. configure looks for that variable in order to
1894 recognize GNU gettext. If it sees that it is indeed GNU gettext
1895 that is used, it decides to install message catalogs in
1896 share/locale, otherwise in lib/locale. Until now on Windows I have
1897 built GTK+ against a build of GNU gettext that did not export
1898 _nl_msg_cat_cntr. But this will change, so we can't assume message
1899 catalogs are always in lib/locale.
1901 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
1902 GTK_LOCALEDIR being either in "lib" or "share". Move the function
1903 before the inclusion of gtkprivate.h so that it sees the original
1906 * gtk-zip.sh.in: Check whether the message catalogs are in
1907 share/locale or lib/locale.
1909 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
1910 that the code in _gtk_get_localedir() will find the slashes.
1912 2007-11-28 Tor Lillqvist <tml@novell.com>
1914 * gtk/Makefile.am: Improve portability. The -o option is present
1915 only in newish GNU egreps. Use one more sed in the pipeline
1918 2007-11-28 Tor Lillqvist <tml@novell.com>
1920 Fix #375893, patch by Ben Hague:
1922 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
1923 around GetLogicalDrives() that takes also the viewable drive
1924 restrictions in the Registry (which are usually the result of an
1925 Active Directory Group Policy) into account.
1927 (check_volumes, gtk_file_system_win32_list_volumes) Call
1928 get_viewable_logical_drives() instead of GetLogicalDrives().
1930 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1932 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
1933 variables to silence valgrind. (#495124, Morten Welinder)
1935 2006-11-26 Ryan Lortie <desrt@desrt.ca>
1937 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
1938 that the construct_child function is responsible for returning a
1940 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
1941 objects from constructors
1942 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
1943 g_object_ref() to this construction function (it's the only
1948 2006-11-26 Ryan Lortie <desrt@desrt.ca>
1950 * gtkbuilder.c: remove concept of root objects and just refcount
1951 all objects in the builder. Fixes #496651.
1953 2007-11-26 Ryan Lortie <desrt@desrt.ca>
1955 * tests/buildertest.c (test_window): fix invalid free
1957 2007-11-26 Josselin Mouette <joss@malsain.org>
1959 reviewed by: Federico Mena Quintero
1961 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
1962 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
1963 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
1964 Make the shortcuts activate with a single click. (#148828)
1965 Fix a few things affected by the change:
1966 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
1967 where no shortcut is selected.
1968 - Don't activate a shortcut in the response callback.
1969 - Filter out duplicate entries in volumes and bookmarks to
1970 avoid the selection to change when reordering them with DnD.
1972 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1975 * gtk/gtknotebook.c:
1976 * gtk/gtkplugprivate.h:
1978 * gtk/gtksocketprivate.h:
1979 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
1981 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1983 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
1984 (#495574, Richard Hult)
1986 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1988 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
1989 String change ! (#376361, Sven Neumann)
1991 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1993 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
1995 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
1998 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2000 * gtk/gtkassistant.c: Improve alternative button
2001 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
2003 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2005 * gtk/gtkcalendar.c: Fix a theming problem with colors
2006 in GtkCalendar. (#499703, Michael Hofmann)
2008 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2010 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
2012 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2014 Use templates for glib-mkenums calls instead of
2015 complicated commandlines in Makefiles. (#429910)
2017 * gdk-pixbuf/Makefile.am:
2020 * perf/Makefile.am: Use templates for glib-mkenums
2022 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
2023 * gdk/gdkenumtypes.[ch].template:
2024 * gtk/gtktypebuiltings.[ch].template:
2025 * perf/typebuiltins.[ch].template: The templates
2027 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2029 * gtk/gtkfilechooserbutton.c:
2030 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
2031 some compilers choke on that. (#467722)
2033 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2035 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
2036 about hook setup. (#425004, Emmanuele Bassi)
2038 2007-11-26 Tor Lillqvist <tml@novell.com>
2040 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
2041 monitor the window currently is on, not always the primary
2042 monitor. (#463865, Tim Evans)
2044 2007-11-26 Tor Lillqvist <tml@novell.com>
2046 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
2048 * gdk/win32/Makefile.am: Add it.
2050 2007-11-26 Tor Lillqvist <tml@novell.com>
2052 * configure.in: Don't add jasper to all_loaders if no libjasper.
2054 2007-11-25 Bastien Nocera <hadess@hadess.net>
2056 * configure.in: Add detection for libjasper, used by the
2057 gdk-pixbuf JPEG2000 loader
2059 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2061 * configure.in: Require gtk-doc 1.8
2063 * */*.c: Use gtk-doc abbreviations for examples in docs.
2065 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2067 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
2070 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2072 * gtk/gtkdialog.c: Move signal and property documentation inline,
2073 fix a problem with the ::response signal docs. (#499133, Josselin
2076 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
2078 * Makefile.decl: initialize automake variables EXTRA_DIST and
2079 TEST_PROGS for unconditional appending via += in other makefiles.
2080 define recursive test targets: test, test-report, perf-report,
2081 full-report, as described here:
2082 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
2083 the test targets will execute Gtk+ test programs within an Xvfb session.
2085 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
2087 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
2088 g_test_run() to run the tests to integrate with the testing framework.
2090 * gtk/tests/Makefile.am: removed exemplary testing rules.
2092 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
2093 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
2094 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
2095 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
2096 * docs/reference/Makefile.am, docs/tools/Makefile.am:
2097 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
2098 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
2099 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
2100 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
2101 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
2102 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
2103 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
2104 * modules/engines/ms-windows/Theme/Makefile.am:
2105 * modules/engines/ms-windows/Makefile.am:
2106 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
2107 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
2108 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
2109 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
2110 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
2111 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
2112 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
2114 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2116 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
2117 (#485662, patch by Herbert Valerio Riedel)
2119 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2121 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
2123 2007-11-21 Richard Hult <richard@imendio.com>
2125 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
2126 stubs for the testing functions to fix the build.
2128 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2130 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
2131 (#467711, The Written Word)
2133 2007-11-21 Ross Burton <ross@openedhand.com>
2135 * gdk/x11/gdksettings.c:
2136 Add xsetting for gtk-scrolled-window-placement (#458103).
2138 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2140 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
2141 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
2142 (#469239, Michael Natterer)
2144 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2146 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
2147 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
2148 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
2149 (#436536, Tommi Komulainen)
2151 2007-11-21 Matthias Clasen <mclasen@redhat.com>
2153 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
2154 property. (#489782, Jan Janech)
2156 2007-11-20 Matthias Clasen <mclasen@redhat.com>
2158 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
2159 frames. (#107398, Owen Taylor, Miguel Gomez)
2161 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
2163 Moved Gdk test functions from Gtk+ to Gdk test utils.
2165 * gdk/Makefile.am: added gdktestutils.h to public includes.
2167 * gdk/gdk.h: added gdktestutils.h to public includes.
2169 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
2170 gdk_test_render_sync.
2172 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
2173 gdk_test_simulate_key, gdk_test_render_sync.
2175 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
2177 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
2178 gdk_test_simulate_key, gdk_test_render_sync.
2180 * gtk/gtktestutils.c:
2181 * gtk/gtktestutils.h:
2182 * gtk/gtk.symbols: removed gtk_test_simulate_button
2183 gtk_test_simulate_key, gtk_test_xserver_render_sync.
2185 * gtk/tests/testing.c: call gdk_test_render_sync.
2187 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
2189 Added unit tests for Gtk+ testing utilities.
2191 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
2192 utility functions. some g_test_* related portions are disabled and need
2193 to be enabled once Gtk+ depends on a new glib with the GLib testing
2194 framework integrated.
2196 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
2197 added exemplary test rules to run tests inside Xvfb. this needs to depend
2198 on gtester for full fledged testing.
2200 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
2201 collecting _get_type functions to catch e.g. gtk_text_get_type().
2203 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
2205 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
2207 Added Gtk+ testing utilities.
2209 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
2210 for the most part, the functions herein involve navigating and interacting
2211 with dialog elements programatically, to automate user interaction tests of
2212 dialogs and widgets.
2214 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
2216 * gtk/gtk.symbols: added gtk_test_* symbols.
2218 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
2219 generate gtktypefuncs.c which contains a list of all _get_type functions in
2221 2007-11-20 Bastien Nocera <hadess@hadess.net>
2223 * configure.in: add support for conditional icns gdk-pixbuf loader
2226 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
2228 * configure.in: updated version number to 2.15.0 for development.
2230 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
2232 === Branch for 2.12 ===