1 2008-02-15 Matthias Clasen <mclasen@redhat.com>
3 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
4 add the same target atom twice. (#516087, Christian Persch)
6 2008-02-15 Matthias Clasen <mclasen@redhat.com>
8 * tests/testfilechooser.c: Add a --backend option.
9 (#516073, Christian Persch)
11 2008-02-16 Richard Hult <richard@imendio.com>
13 * gdk/quartz/gdkprivate-quartz.h:
14 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
17 2008-02-15 Matthias Clasen <mclasen@redhat.com>
19 * configure.in: Go back to 2.13.0 as version for now,
20 as there was no consensus to do the jump.
22 * many other places: Update Since: tags.
24 2008-02-15 Matthias Clasen <mclasen@redhat.com>
26 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
28 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
30 2008-02-15 Richard Hult <richard@imendio.com>
32 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
33 instead of bounds when resizing windows.
35 2008-02-15 Matthias Clasen <mclasen@redhat.com>
37 * gdk/x11/gdkkeys-x11.c:
38 * gdk/x11/gdkcolor-x11.c:
39 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
41 2008-02-15 Matthias Clasen <mclasen@redhat.com>
43 * gdk/x11/gdktestutils-x11.c:
44 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
46 2008-02-15 Tor Lillqvist <tml@novell.com>
48 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
49 leak Registry key handles. (#516578)
51 2008-02-14 Richard Hult <richard@imendio.com>
53 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
54 makeKeyWindow unfortunately doesn't work in all cases, we must use
57 2008-02-14 Richard Hult <richard@imendio.com>
59 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
60 (gdk_window_hide), (gdk_window_fullscreen),
61 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
64 2008-02-14 Richard Hult <richard@imendio.com>
66 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
67 resizing to be consistent and to avoid introducing an internal
68 transform in the view.
70 2008-02-14 Richard Hult <richard@imendio.com>
72 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
75 2008-02-14 Johan Dahlin <johan@gnome.org>
78 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
80 2008-02-13 Richard Hult <richard@imendio.com>
82 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
83 Remove unused variables.
84 (gtk_clipboard_set_contents),
85 (gtk_clipboard_get_owner), (clipboard_unset),
86 (gtk_clipboard_request_targets): Notify the previous clipboard
87 owner when the owner changes. Fixes bug #493406.
89 2008-02-13 Richard Hult <richard@imendio.com>
91 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
92 the return value (return number of colors that failed), and handle
94 (gdk_colormap_free_colors): Fix typo in comment.
96 2008-02-13 Kristian Rietveld <kris@imendio.com>
98 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
99 queue a redraw if the rubber banding has actually been active.
101 2008-02-12 Matthias Clasen <mclasne@redhat.com>
103 * gtk/gtkpapersize.c:
104 * gtk/gtkprintoperation.c:
105 * gtk/gtkvolumebutton.c:
106 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
107 out by Behdad Esfahbod.
109 2008-02-12 Federico Mena Quintero <federico@novell.com>
111 Merged from gtk-2-12:
113 Don't focus the file list when shortcuts get activated. This
114 removes a lot of ambiguity in when the file selection should
115 change, and makes the overall code flow simpler.
117 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
118 file/save dialog clears the filename entry when changing
121 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
122 focus should not go to the file list when a shortcut is activated.
124 * gtk/gtkfilechooserdefault.c
125 (shortcuts_activate_volume_mount_cb): Don't focus the file list
126 (shortcuts_activate_get_info_cb): Likewise.
128 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
129 the file list (this was the last place where we would focus the
130 file list explicitly). If you are in the location entry, for
131 example, you don't want Alt-Home to take you to the file list; you
132 just want the current folder to change. Thanks to Olle Bergkvist
133 <olle.bergkvist@yahoo.se> for pointing this out in
134 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
135 (focus_browse_tree_view_if_possible): Removed.
137 2008-02-12 Matthias Clasen <mclasen@redhat.com>
139 Skip exensions when selecting filenames in the save-as dialog.
140 (#362516, Carlos Garnacho)
142 * gtk/gtkfilechooserentry.h:
143 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
144 New function to skip the extension part when selecting a filename.
145 (_gtk_file_chooser_entry_set_base_folder): Use it here.
147 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
150 2008-02-12 Matthias Clasen <mclasen@redhat.com>
152 * gtk/gtkiconview.c: Fix state change reporting for
153 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
155 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
157 * gtk/gtkrecentchooser.c:
158 (gtk_recent_chooser_class_init): Set the default value of the
159 :show-not-found property to TRUE, as every implementation sets
162 * gtk/gtkrecentchooserdefault.c:
163 (_gtk_recent_chooser_default_init): Sync show_tips to the
164 default value of the :show-tips property.
166 2008-02-12 Matthias Clasen <mclasen@redhat.com>
168 * gtk/gtkclipboard-quartz.c:
170 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
173 2008-02-12 Kristian Rietveld <kris@imendio.com>
175 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
176 (gtk_tree_view_real_toggle_cursor_row): guard against people
177 deleting the row in question in the selection-changed callback.
178 (#514621, Andreas Koehler).
180 2008-02-12 Matthias Clasen <mclasen@redhat.com>
182 * gtk/*.c: Unify the handling of various "Enter" keysyms
183 all over the place. (#515047, Christian Persch)
185 2008-02-12 Matthias Clasen <mclasen@redhat.com>
187 * gtk/gtkfilesystemmodel.c:
189 * gtk/gtkwidget.c: Use g_value_set_static_string() where
190 appropriate. (#515042, Christian Persch)
192 2008-02-12 Matthias Clasen <mclasen@redhat.com>
194 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
196 2008-02-12 Matthias Clasen <mclasen@redhat.com>
198 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
200 2008-02-12 Matthias Clasen <mclasen@redhat.com>
202 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
203 (recent_model_sort_drag_data_get):
204 (search_model_sort_drag_data_get):
205 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
206 * gtk/gtkpathbar.c (button_drag_data_get_cb):
207 Use gtk_selection_data_set_uris() instead of doing it
208 by hand. (#514890, Christian Persch)
210 2008-02-12 Michael Natterer <mitch@imendio.com>
212 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
213 gtk_get_current_event_time().
215 2008-02-12 Michael Natterer <mitch@imendio.com>
217 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
218 gtk_window_get_key_hash() to get the hash instead of manually
219 fiddling with quarks and gtk_window_keys_changed(). Also add
220 g_return_if_fail() to this public function.
222 2008-02-11 Matthias Clasen <mclasen@redhat.com>
224 Support keynav in status icons. (#473786, Li Yuan)
226 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
228 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
230 2008-02-11 Kristian Rietveld <kris@imendio.com>
232 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
233 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
234 wrt. link deletion from list; contination of fix for #503569.
236 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
238 * gtk/gtkrecentchoosermenu.c:
239 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
240 on the placeholder menu item.
242 * tests/testrecentchoosermenu.c:
243 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
244 whether the placeholder menu item gets shown.
246 2008-02-10 Cody Russell <bratsche@gnome.org>
248 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
249 Check the return value of _gtk_file_chooser_get_file_system () for
250 NULL before passing it to gtk_file_system_path_to_uri ().
251 (#515667, Francesco Montorsi)
253 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
255 * gtk/gtkbuilder.c: Improve the documentation for
256 gtk_builder_connect_signals. (#514471)
258 2008-02-10 Matthias Clasen <mclasen@redhat.com>
260 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
263 2008-02-08 Cody Russell <bratsche@gnome.org>
265 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
266 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
268 2008-02-08 Richard Hult <richard@imendio.com>
270 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
271 delta from the NSEvent for now, generating multiple scroll events
272 results in a lot of events getting queued up and things get really
275 2008-02-08 Sven Herzberg <sven@imendio.com>
277 Adjust the code to match the documentation, examples, "common sense"
278 and existing applications.
280 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
281 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
284 2008-02-07 Cody Russell <bratsche@gnome.org>
286 * gdk/win32/gdkevents-win32.c
287 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
288 of a block that were causing compile problems on old
289 compilers. (#515053, reported by Kazuki IWAMOTO)
291 2008-02-07 Michael Natterer <mitch@imendio.com>
300 * gtk/gtkoptionmenu.c
304 * gtk/gtkradiomenuitem.c
306 * gtk/gtkscrolledwindow.c
307 * gtk/gtksocket.c: remove g_return_if_fail() from private
308 functions and virtual function implementations.
310 2008-02-07 Michael Natterer <mitch@imendio.com>
317 * gtk/gtkcellrenderercombo.c
320 * gtk/gtkdrawingarea.c
321 * gtk/gtkentrycompletion.c
327 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
328 functions and virtual function implementations.
330 2008-02-07 Christian Persch <chpe@gnome.org>
332 * gdk/gdkpixbuf-render.c:
333 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
334 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
335 otherwise there will be random pixel values in the semi-transparent
336 area of the pixbuf within the mask. Bug #487865.
338 2008-02-06 Cody Russell <bratsche@gnome.org>
340 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
341 otherwise things get wonky when you click on a menu. This fixes
342 a regression caused in #505928. Thanks to Tor for spotting this
345 2008-02-06 Michael Natterer <mitch@imendio.com>
356 * gtk/gtkseparatortoolitem.c
358 * gtk/gtktextlayout.c
359 * gtk/gtktoggletoolbutton.c
360 * gtk/gtktoolbutton.c
363 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
366 2008-02-05 Matthias Clasen <mclasen@redhat.com>
368 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
369 Allow to store half-open ranges.
371 2008-02-05 Cody Russell <bratsche@gnome.org>
373 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
374 down the stack until we get to a window that is mapped.
375 Otherwise hiding a window will cause all windows in the app
376 to be blocked. (#514643)
378 2008-02-05 Matthias Clasen <mclasen@redhat.com>
380 * gtk/updateiconcache.c: Ignore images in the toplevel theme
381 directory, avoiding one source of invalid caches that has been
384 2008-02-05 Matthias Clasen <mclasen@redhat.com>
386 * gtk/updateiconcache.c: Fix the previous commit to compile.
388 2008-02-05 Matthias Clasen <mclasen@redhat.com>
390 * gtk/updateiconcache.c: Install a printerr handler that
391 prepends the program name, since gtk-update-icon-cache output
392 often appears in the middle of other output, e.g. rpm update logs.
394 2008-02-05 Cody Russell <bratsche@gnome.org>
396 * gdk/win32/gdkprivate-win32.h
397 * gdk/win32/gdkevents-win32.c
398 * gdk/win32/gdkwindow-win32.c
399 * gdk/win32/gdkwindow-win32.h
400 * gdk/win32/gdkwin32.h:
401 Modal window rework. (#455627 and #511111)
403 2008-02-04 Michael Natterer <mitch@imendio.com>
405 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
406 g_return_if_fail() if the cell is not part of the combo instead of
407 crashing in the next line.
409 2008-02-01 Cody Russell <cody@jhu.edu>
411 * modules/engines/ms-windows/xp_theme.[ch]
412 * modules/engines/ms-windows/xp_theme_defs.h
413 * modules/engines/ms-windows/msw_rc_style.c
414 * modules/engines/ms-windows/msw_theme_main.c
415 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
416 attempted to stylize more like the rest of the gtk+ stack's code.
418 2008-02-01 Michael Natterer <mitch@imendio.com>
420 * tests/testgtk.c: initialize GdkColor structs to fix warning
421 about uninitialized "pixel" member.
423 * tests/testactions.c: connect the toolbar_style() callback so it
424 does something useful and doesn't warn about being defined but not
427 2008-01-31 Cody Russell <bratsche@gnome.org>
429 * gdk/win32/gdkevents-win32.c:
430 Refactored some of the window hiding/showing code from
431 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
432 under WM_ACTIVATE was causing the application to go into
433 a weird state when the user right-clicked on the taskbar
434 entry of a window that was minimized. (#505928)
436 2008-01-31 Cody Russell <bratsche@gnome.org>
438 * gtk/gtkpaned.c (gtk_paned_set_position):
439 Change queue_resize() to queue_draw(), and add a check for
440 child2 != NULL in case someone calls this before there is
441 a child packed in there. (#144269 again)
443 2008-01-31 Sven Neumann <sven@gimp.org>
445 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
446 applied patch from Denis Oliver Kropp <dok@directfb.org>.
448 2008-01-31 Sven Neumann <sven@gimp.org>
450 * gdk/directfb/gdkdisplay-directfb.c
451 * gdk/directfb/gdkdrawable-directfb.c
452 * gdk/directfb/gdkprivate-directfb.h
453 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
454 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
456 2008-01-31 Richard Hult <richard@imendio.com>
458 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
459 issues with undecorated windows. Revert the change done on
460 2008-01-25 and fix it by using the view's bounds instead. The
461 bounds will always be up to date when setting up the tracking
462 rect, so this should be more robust.
464 2008-01-30 Sven Neumann <sven@gimp.org>
466 * gdk/directfb/gdkdrawable-directfb.c
467 * gdk/directfb/gdkwindow-directfb.c
468 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
469 Oliver Kropp <dok@directfb.org>. Adds debug messages using
470 DirectFB's debugging system
472 2008-01-30 Sven Neumann <sven@gimp.org>
474 * gdk/directfb/gdkdirectfb.h
475 * gdk/directfb/gdkdisplay-directfb.c
476 * gdk/directfb/gdkdrawable-directfb.c
477 * gdk/directfb/gdkim-directfb.c
478 * gdk/directfb/gdkimage-directfb.c
479 * gdk/directfb/gdkinput-directfb.c
480 * gdk/directfb/gdkmain-directfb.c
481 * gdk/directfb/gdkpixmap-directfb.c
482 * gdk/directfb/gdktestutils-directfb.c
483 * gdk/directfb/gdkvisual-directfb.c
484 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
485 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
486 errors and has some cleanups.
488 2008-01-30 Michael Natterer <mitch@imendio.com>
490 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
491 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
494 * gtk/updateiconcache.c (add_string): cast const gchar* to
495 gpointer when inserting in a GHashTable.
497 * tests/testcalendar.c (calendar_detail_cb): remove const from
498 return value since it's a newly allocated string.
500 (calendar_update_details): free the detail.
502 2008-01-29 Johan Dahlin <johan@gnome.org>
504 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
506 * demos/gtk-demo/demo.ui:
507 Move the about dialog to the glade file, add accessible tags
508 examples to the markup file.
510 2008-01-28 Paolo Borelli <pborelli@katamail.com>
512 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
513 layout, fixes #512375.
515 2008-01-28 Michael Natterer <mitch@imendio.com>
518 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
520 2008-01-28 Michael Natterer <mitch@imendio.com>
522 * demos/gtk-demo/builder.c (about_activate): use
523 gtk_about_dialog_set_program_name() instead of the deprecated
526 2008-01-28 Michael Natterer <mitch@imendio.com>
529 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
532 2008-01-26 Johan Dahlin <johan@gnome.org>
535 * tests/textbuffertest.c:
536 Rename textbuffer test and port it to the new test framework
538 2008-01-25 Johan Dahlin <johan@gnome.org>
540 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
541 unsetting of GTK_MODULES.
543 * gtk/gtk-builder-convert
544 (GtkBuilderConverter._convert_adjustment): Handle the case where
545 there is no child text node.
546 (GtkBuilderConverter): Allow xml comments in most places.
548 2008-01-25 Johan Dahlin <johan@gnome.org>
550 * gtk/gtk-builder-convert
551 (GtkBuilderConverter._convert_combobox_items): Remove the items
552 even if there are no items set.
553 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
554 signals and tooltips for all menu items subclasses and
555 GtkImageMenuItem:label.
556 Makes it possible to fully convert and run Jokosher.glade.
558 2008-01-25 Johan Dahlin <johan@gnome.org>
560 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
561 (gtk_widget_buildable_get_internal_child), (free_action),
562 (free_relation), (gtk_widget_buildable_parser_finished),
563 (accessibility_start_element),
564 (gtk_widget_buildable_custom_tag_start),
565 (gtk_widget_buildable_custom_finished):
566 Implement accessible support, fixes #454653.
568 * gtk/gtk-builder-convert:
569 Add support for migrating old glade files
571 * tests/buildertest.c: (test_widget), (test_file):
572 Add accessible tests and imprve the test_file function to display
573 toplevels and run dialogs.
575 2008-01-25 Richard Hult <richard@imendio.com>
577 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
578 didn't change, fixes focus event issues for undecorated windows.
580 2008-01-25 Richard Hult <richard@imendio.com>
582 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
583 const and remove unused variables).
585 2008-01-25 Michael Natterer <mitch@imendio.com>
588 * gtk/gtkcellrenderer.h
593 * gtk/gtktreeprivate.h
594 * gtk/gtktreeviewcolumn.h
595 * gtk/gtkwidget.h: add const to constant structs which are passed
596 into GTK+. Also add some forgotten const for const strings.
600 * gtk/gtkcellrenderer.c
606 * gtk/gtktreeviewcolumn.c
607 * gtk/gtkwidget.c: changed accordingly.
609 2008-01-25 Sven Herzberg <sven@imendio.com>
611 Reviewed by Johan Dahlin.
613 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
614 this is called with something that's not a GtkUIManager
616 2008-01-24 Johan Dahlin <johan@gnome.org>
618 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
619 Chain up to parent, so widgets can have internal children.
621 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
623 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
626 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
628 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
630 Use pango_layout_set_height() for calendar details (#506049).
632 * configure.in: Require 1.19.3 for pango_layout_set_height().
633 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
635 2008-01-18 Johan Dahlin <johan@gnome.org>
637 * gtk/gtk-builder-convert (get_property_node): New method
638 (GtkBuilderConverter._create_object): Conditionally take a node as
639 a property value, so don't lose translate/context attributes if they
641 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
642 property values instead of strings.
643 (#509153, Erik van Pienbroek)
645 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
647 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
649 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
650 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
651 * tests/testcalendar.c: Duplicate calendar details before returning.
653 2008-01-16 Christian Persch <chpe@gnome.org>
655 * gtk/gtkwidget.c: Store the event mask and extension event mode
656 directly in the gobject data pointer, instead of in an allocated
659 2008-01-16 Michael Natterer <mitch@imendio.com>
661 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
662 gdk-pixbuf now uses gio functions.
664 2008-01-16 Matthias Clasen <mclasen@redhat.com>
666 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
667 the notify::model signal. (#509819, David Zeuthen)
669 2008-01-15 Michael Natterer <mitch@imendio.com>
677 * gdk/gdkwindow.h: made more struct pointer and array parameters
678 const. GDK should now be constified as far as possible without
679 breaking source compatibility. Includes some minor cleanup like
680 indentation and s/nfoo/n_foo/ (bug #508544).
686 * gdk/gdkregion-generic.c
688 * gdk/directfb/gdkdisplay-directfb.c
689 * gdk/directfb/gdkwindow-directfb.c
690 * gdk/quartz/gdkdisplay-quartz.c
691 * gdk/quartz/gdkwindow-quartz.c
692 * gdk/win32/gdkdisplay-win32.c
693 * gdk/win32/gdkwindow-win32.c
694 * gdk/x11/gdkdisplay-x11.c
695 * gdk/x11/gdkwindow-x11.c: changed accordingly.
697 2008-01-14 Michael Natterer <mitch@imendio.com>
699 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
702 (gtk_rc_parse_any): change variables to const and introduce
703 another local variable to fix const warnings.
705 2008-01-14 Michael Natterer <mitch@imendio.com>
707 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
708 of gdk_screen_get_font_options() to gpointer to get rid of const
711 2008-01-14 Michael Natterer <mitch@imendio.com>
713 * tests/testdnd.c (source_drag_data_get): fix another call to
714 gtk_selection_data_set().
716 2008-01-14 Michael Natterer <mitch@imendio.com>
718 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
721 2008-01-14 Michael Natterer <mitch@imendio.com>
723 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
725 2008-01-14 Michael Natterer <mitch@imendio.com>
727 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
728 "uris" to guchar* when passing it to gtk_selection_data_set().
730 2008-01-14 Michael Natterer <mitch@imendio.com>
738 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
739 parameters const (bug #508544).
745 * gdk/gdkpolyreg-generic.c
746 * gdk/gdkregion-generic.c
747 * gdk/directfb/gdkcolor-directfb.c
748 * gdk/directfb/gdkgc-directfb.c
749 * gdk/directfb/gdkgeometry-directfb.c
750 * gdk/directfb/gdkwindow-directfb.c
751 * gdk/quartz/gdkcolor-quartz.c
752 * gdk/quartz/gdkgc-quartz.c
753 * gdk/quartz/gdkgeometry-quartz.c
754 * gdk/quartz/gdkwindow-quartz.c
755 * gdk/win32/gdkcolor-win32.c
756 * gdk/win32/gdkgc-win32.c
757 * gdk/win32/gdkgeometry-win32.c
758 * gdk/win32/gdkprivate-win32.h
759 * gdk/win32/gdkwindow-win32.c
760 * gdk/x11/gdkcolor-x11.c
761 * gdk/x11/gdkgc-x11.c
762 * gdk/x11/gdkgeometry-x11.c
763 * gdk/x11/gdkmain-x11.c
764 * gdk/x11/gdkprivate-x11.h
765 * gdk/x11/gdkwindow-x11.c: changed accordingly.
767 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
770 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
772 Explain name choice for gtk_tool_item_toolbar_reconfigured.
774 * gtk/gtktoolitem.c: Add comment expaining name choice for
775 gtk_tool_item_toolbar_reconfigured.
777 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
779 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
780 implementations to notify its children, when some aspect of their
781 configuration changed (#509042).
783 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
784 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
785 Rename _gtk_tool_item_toolbar_reconfigured.
787 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
789 Include <gtk/gtktoolshell.h> from gtk.h.
791 * gtk/gtk.h: Add gtktoolshell.h
793 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
795 Print angle brackets arround e-mail addresses in the about dialog
796 (#409520, Mariano Suárez-Alvarez).
798 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
800 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
802 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
803 special casing so test widgets are always queues for destruction
806 * gtk/tests/testing.c: removed bits left-over from testing without
809 2008-01-10 Tor Lillqvist <tml@novell.com>
811 * modules/other/gail/libgail-util/Makefile.am
812 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
815 2008-01-10 Tor Lillqvist <tml@novell.com>
817 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
818 uses gtkprintunixdialog API.
820 2008-01-10 Tor Lillqvist <tml@novell.com>
822 * gdk/win32/gdkdisplay-win32.c
823 * gdk/win32/gdkglobals-win32.c
824 * gdk/win32/gdkprivate-win32.h
825 * gdk/win32/gdkscreen-win32.c
826 * gdk/win32/gdkwindow-win32.c: Implement
827 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
828 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
831 2008-01-10 Cody Russell <bratsche@gnome.org>
833 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
834 Properly ref/unref windows and parents. (#506769)
836 2008-01-10 Richard Hult <richard@imendio.com>
838 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
839 (gdk_window_hide), (move_resize_window_internal): Move the
840 tracking rect workaround from here...
842 * gdk/quartz/GdkQuartzWindow.c:
843 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
844 movements during showing/hiding operations. Fixes bug #508516.
846 2008-01-10 Michael Natterer <mitch@imendio.com>
848 * gdk/directfb/gdkscreen-directfb.c
849 (gdk_screen_get_monitor_width_mm)
850 (gdk_screen_get_monitor_height_mm)
851 (gdk_screen_get_monitor_plug_name): add these functions to make
854 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
856 * gtk/gtkrecentchoosermenu.c:
857 (idle_populate_func), (idle_populate_clean_up): Fix possible
858 recursion by resetting the idle source id. (#507605, William
861 2008-01-10 Kristian Rietveld <kris@imendio.com>
863 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
864 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
865 avoid valgrind warnings. (#507751, patch from Christian Persch).
867 2008-01-10 Kristian Rietveld <kris@imendio.com>
869 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
870 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
872 2008-01-10 Kristian Rietveld <kris@imendio.com>
874 Fix #477175, reported by Juri Pakaste.
876 * gtk/gtktreeprivate.h:
877 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
878 tree_view->priv->dy here directly, just calculate the new value
879 and set it on the adjustment,
880 (gtk_tree_view_adjustment_changed): add guards to not call
881 gtk_tree_view_dy_to_top_row() if we are currently in
882 gtk_tree_view_top_row_to_dy(),
883 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
884 coordinates, not tree coordinates,
885 (gtk_tree_view_real_start_editing): add cast.
887 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
888 position of the editable in the "create new row and start editing"
891 2008-01-09 Michael Natterer <mitch@imendio.com>
893 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
896 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
897 * gtk/gtkicontheme.c (theme_list_contexts)
898 (gtk_icon_theme_lookup_icon)
899 * gtk/gtkimcontextsimple.c (beep_window)
900 * gtk/gtklinkbutton.c (set_link_color)
901 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
904 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
905 variable and add const to another to fix a warning.
907 2008-01-07 Matthias Clasen <mclasen@redhat.com>
909 * gtk/gtkassistant.c (remove_page): Be more robust when removing
910 the current page. (#499951, Andreas Sandberg)
912 2008-01-06 Johan Dahlin <johan@gnome.org>
914 * gtk/gtkspinbutton.c: Declare value in the example code for
915 GtkSpinButton::output, as pointed out by Anders Carlsson.
917 2008-01-06 Christian Persch <chpe@gnome.org>
919 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
920 and remove an obsolete event box. Bug #506760.
922 2008-01-06 Johan Dahlin <johan@gnome.org>
924 * tests/buildertest.c (test_domain):
925 Update, GtkBuilder::translation-domain is no longer set
927 * gtk/gtkbuilderparser.c (parse_interface):
928 Allow domains to be overridden in <interface>'s if a translation-domain
929 is set in the builder.
930 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
931 of the builder, make the domain set in the <interface> apply only to strings
933 (#496831, Ryan Lortie)
935 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
938 * gtk/gtktreestore.c (tree_model_end_element):
939 Remove an unused variable
941 2008-01-06 Matthias Clasen <mclasen@redhat.com>
943 * gtk/gtkspinbutton.c: Document the ::output signal and
944 add an example. (#507566, example by Owen Taylor)
946 2008-01-06 Johan Dahlin <johan@gnome.org>
948 * gtk/gtkcellrenderercombo.c:
949 (gtk_cell_renderer_combo_get_property),
950 (gtk_cell_renderer_combo_set_property):
951 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
952 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
953 * gtk/gtknotebook.c: (gtk_notebook_set_property):
954 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
955 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
956 (gtk_text_buffer_get_property):
957 * gtk/gtktextview.c: (gtk_text_view_set_property):
958 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
959 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
960 (gtk_tool_button_get_property):
961 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
962 (gtk_tool_item_get_property):
963 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
964 * gtk/gtkwidget.c: (gtk_widget_set_property):
965 * gtk/gtkwindow.c: (gtk_window_set_property):
966 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
969 2008-01-06 Johan Dahlin <johan@gnome.org>
971 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
972 Make sure that --root works for toplevel widgets.
973 (#491847, Phil Lello)
975 2008-01-05 Johan Dahlin <johan@gnome.org>
977 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
978 to make sure that make test-report works properly
980 2008-01-05 Christian Persch <chpe@gnome.org>
982 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
983 GType as integer through gpointer. Bug #507395.
985 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
987 Avoid some compiler warnings (#507000).
989 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
990 for value argument of _gtk_builder_flags_from_string.
991 * gtk/gtkwidget.c: Don't alias the child pointer passed
992 to gdk_window_get_user_data.
994 2008-01-04 Michael Natterer <mitch@imendio.com>
996 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
997 to set the time in the returned GdkTimeCoords.
999 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
1001 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
1002 correct comparison function (kudos to Christian Persch and
1003 Claudio Saavedra for spotting this)
1005 * gtk/gtkrecentchooserutils.c:
1006 (sort_recent_items_mru),
1007 (sort_recent_items_lru): Ditto as above.
1009 2008-01-03 Johan Dahlin <johan@gnome.org>
1011 * tests/defaultvaluetest.c: Make it pass again.
1013 2008-01-02 Johan Dahlin <johan@gnome.org>
1015 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
1016 make it pass on Ubuntu.
1017 (main): Use gtk_test_list_all_types () instead of providing our
1019 And it no longer passes.
1021 2007-12-30 Johannes Schmid <jhs@gnome.org>
1023 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
1024 Also reorder menu when reordering tabs by drag & drop
1027 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
1028 Add a menu to one of the notebooks to have a test-case for
1029 the change mentioned above.
1031 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
1033 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
1035 2007-12-31 Christian Persch <chpe@gnome.org>
1037 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
1038 Plug a mem leak. Bug #506107.
1040 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1042 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
1043 icon cache api change. (#506135, Kazuki Iwamoto)
1045 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1047 Consider "wide-separators" and "separator-height" style properties:
1048 The separator is drawn using gtk_paint_box instead of cairo, when
1049 "wide-separators" is set. Also do not highlight details for previous
1050 or next month, if their day matches the selected day. (#339540)
1052 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
1053 in gtk_calendar_size_request and calendar_paint_day
1054 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
1055 for selected detail separators in GtkCalendar.
1057 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1059 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
1061 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
1062 a local variable instead in gtk_calendar_size_request.
1064 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1066 * tests/defaultvaluetest.c: Add enough exclusions to make the
1069 2007-12-28 Christian Persch <chpe@gnome.org>
1071 * modules/other/gail/Makefile.am:
1072 * modules/other/gail/tests/*:
1073 * configure.in: Merge tests from standalone gail. Bug #504568.
1075 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1077 * gtk/gtkclipboard.c: Make the finalizer work when display is
1080 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1082 Draw bottom shadow of GtkCalender headings. (#506113)
1084 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
1086 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1088 * gtk/gtkcalendar.c: Document the initial values of year/month/day
1091 2007-12-28 Christian Persch <chpe@gnome.org>
1093 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
1094 a mem leak. Bug #506096.
1096 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1099 * gtk/gtktreeview.c:
1100 * gtk/gtkprintoperation.c:
1101 * gtk/gtkprogressbar.c:
1102 * gtk/gtkmessagedialog.c:
1103 * gtk/gtknotebook.c:
1107 * gtk/gtklinkbutton.c:
1108 * gtk/gtkmenu.c: More default property value corrections.
1110 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1112 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
1113 accel_group unless it is set.
1115 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1117 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
1119 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1121 * gtk/gtkhandlebox.c: Fix the default values of shadow and
1122 shadow-type properties.
1124 * gtk/gtkfontsel.c: Fix the default values of several properties.
1126 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
1129 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
1131 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
1134 2007-12-28 Johan Dahlin <johan@gnome.org>
1136 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
1137 (gtk_dialog_buildable_custom_tag_start): Chain up.
1138 This makes it possible to have accelerators tags on GtkDialog
1141 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1143 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
1144 are shown within the widget, or just as tooltip. (#339540)
1146 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
1147 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
1148 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
1151 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1153 Try more decent appearance of calendar details separator. (#339540)
1155 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
1156 and make it short by one pixel on each side.
1158 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1160 Apply trivial code-style changes from attachement 101101. (#339540)
1162 * tests/testcalendar.c: Some updates to current GTK+ code-style.
1164 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1166 Restructure testcalendar for testing calendar details. (#339540)
1168 * tests/testcalendar.c: Push code arround for testing calendar details.
1170 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1172 Implement GtkTooltip API for calendar details. (#339540)
1174 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
1175 Remember detail overflows in calendar_paint_day to show the tooltip
1176 only when neccessary.
1178 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1180 Without setting "detail-width-chars" and "detail-height-rows"
1181 properties not only the widget has to be redrawn on certain
1182 conditions, but also its size must be recalculated. (#339540)
1184 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
1185 that function instead of gtk_widget_queue_draw.
1187 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1189 Consider details for size-request and expose-event. (#339540)
1191 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
1192 is_color_attribute functions. Change gtk_calendar_size_request
1193 and calendar_paint_day to consider and show calender details.
1195 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1197 * gtk/gtkcombobox.c: Introduce local priv variables to
1200 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1202 * gtk/gtkcombobox.c: Correct the default value for the
1203 tearoff-title property.
1205 * gtk/gtkcellrenderertext.c: Fix the default value for the
1206 wrap-mode and font-scale properties.
1208 * gtk/gtkaspectratio.c: Fix the default value for the ratio
1211 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1213 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
1214 defines. (#505708, MINAMI Hirokazu)
1216 2007-12-27 Christian Persch <chpe@gnome.org>
1218 * Makefile.am: Install gail.pc. Bug #505859.
1220 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
1222 Add infrastructure for GtkCalendar details. (#339540)
1224 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
1225 Add "detail-width-chars" and "detail-height-rows" properties,
1226 and gtk_calendar_set_detail_func function.
1228 2007-12-27 Xan Lopez <xan@gnome.org>
1231 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
1233 Add gtk_border_new to avoid memory allocator confusions when using
1234 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
1236 2007-12-27 Christian Persch <chpe@gnome.org>
1238 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
1239 bug #504886 not to read unitialised memory.
1241 2007-12-26 Xan Lopez <xan@gnome.org>
1243 * gtk/gtkstatusbar.c (has_extra_children): take into account the
1244 modification of the internal frame contents to decide if we have
1245 extra children. (#415677)
1247 2007-12-22 Christian Persch <chpe@gnome.org>
1249 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
1251 2007-12-25 Christian Persch <chpe@gnome.org>
1253 * modules/other/gail/gailwindow.c: (gail_window_initialize):
1254 Initialise |widget|. Fixes a buglet introduced by the commit from bug
1257 2007-12-25 Christian Persch <chpe@gnome.org>
1259 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
1261 2007-12-25 Christian Persch <chpe@gnome.org>
1263 * modules/other/gail/*.[ch]: Remove relocations from the atk
1264 factories. Remove unused gail_foo_new() functions. Fix object
1265 instantiation to be derivation safe by moving initialisation code
1266 from the removed gail_foo_new() functions to the
1267 AtkObjectClass::initialize implementation. Bug #505226.
1269 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1271 * modules/other/gail/gailentry.c:
1272 * modules/other/gail/gailimage.c:
1273 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
1274 uses of clipboards and settings. (#504722, Christian Persch)
1276 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1278 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
1281 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1283 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
1284 use the time and button information from the event. (#504901,
1287 2007-12-23 Cody Russell <bratsche@gnome.org>
1289 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
1290 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
1291 Fixes a regression caused by #164537 patch where transient
1292 windows that are hidden get shown (incorrectly) when their
1293 parents are minimized. (#504984)
1295 2007-12-22 Christian Persch <chpe@gnome.org>
1297 * modules/other/gail/gailcell.c:
1298 * modules/other/gail/gailcontainercell.c:
1299 * modules/other/gail/gailexpander.c:
1300 * modules/other/gail/gailtextcell.c:
1301 * modules/other/gail/gailtextview.c:
1302 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
1304 2007-12-22 Christian Persch <chpe@gnome.org>
1306 * modules/other/gail/*.c: Include config.h. Bug #504720.
1308 2007-12-22 Christian Persch <chpe@gnome.org>
1310 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
1311 handwritten get_type functions. Bug #504661.
1313 2007-12-23 Xan Lopez <xan@gnome.org>
1315 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
1316 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
1318 Patch by Sadrul Habib Chowdhury (#504804)
1320 2007-12-22 Christian Persch <chpe@gnome.org>
1322 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
1323 #504645, patch by Li Yuan.
1325 2007-12-22 Christian Persch <chpe@gnome.org>
1327 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
1329 2007-12-22 Christian Persch <chpe@gnome.org>
1331 * modules/other/gail/gail.c:
1332 * modules/other/gail/gailbutton.c:
1333 * modules/other/gail/gailcell.c:
1334 * modules/other/gail/gailcombo.c:
1335 * modules/other/gail/gailcombo.h:
1336 * modules/other/gail/gailcombobox.c:
1337 * modules/other/gail/gailentry.c:
1338 * modules/other/gail/gailexpander.c:
1339 * modules/other/gail/gailmenuitem.c:
1340 * modules/other/gail/gailnotebook.c:
1341 * modules/other/gail/gailnotebookpage.c:
1342 * modules/other/gail/gailnotebookpage.h:
1343 * modules/other/gail/gailoptionmenu.c:
1344 * modules/other/gail/gailrange.c:
1345 * modules/other/gail/gailtextview.c:
1346 * modules/other/gail/gailtreeview.c:
1347 * modules/other/gail/gailtreeview.h:
1348 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
1351 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1353 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
1356 2007-12-21 Richard Hult <richard@imendio.com>
1358 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
1359 Plug leak of destroyed subviews, fixes bug #504753.
1361 2007-12-20 Johan Dahlin <johan@gnome.org>
1363 * tests/Makefile.am (TEST_PROGS):
1364 * tests/defaultvaluetest.c: Add a test for default values,
1365 based on program by Christan Perch
1367 2007-12-20 Johan Dahlin <johan@gnome.org>
1369 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
1370 Refactor to avoid some duplication.
1371 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
1372 Fixes #504749, Yuri Pimenov
1374 2007-12-20 Kristian Rietveld <kris@imendio.com>
1376 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
1377 the build work again on systems without xrandr 1.2.
1379 2007-12-20 Christian Persch <chpe@gnome.org>
1382 * modules/other/gail/libgail-util/Makefile.am:
1383 Keep the same libtool version as the standalone libgail-util had.
1386 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
1388 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
1390 2007-12-20 Alexander Larsson <alexl@redhat.com>
1392 * gdk/x11/gdkapplaunchcontext-x11.c:
1393 Update for gio API changes
1395 2007-12-20 Richard Hult <richard@imendio.com>
1397 * gdk/quartz/GdkQuartzWindow.c:
1398 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
1399 processing events after changing the size.
1401 2007-12-20 Richard Hult <richard@imendio.com>
1403 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
1404 Add stub for quartz to fix build.
1406 2007-12-20 Christian Persch <chpe@gnome.org>
1408 * modules/other/gail/Makefile.am:
1409 * modules/other/gail/gailimage.c: (gail_image_class_init),
1410 (gail_image_init), (elide_underscores), (gail_image_get_name),
1411 (atk_image_interface_init), (gail_image_finalize):
1412 * modules/other/gail/gailimage.h:
1413 R modules/other/gail/gailintl.h:
1414 * po/POTFILES.skip: Use the stock item's label as the name of the
1415 accessible in gailimage.c. Bug #504246.
1417 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
1419 Avoid some compiler warnings and remove obsolete code. (#339540)
1421 * gtk/gtkcalendar.c: Change week and year variable in
1422 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
1423 0" block from calendar_paint_day: The feature in question is handled
1424 few lines above. Cast data returned by gtk_selection_data_get_text()
1425 to (gchar*) in gtk_calendar_drag_data_received.
1427 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
1429 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
1431 2007-12-19 Johan Dahlin <johan@gnome.org>
1433 * tests/buildertest.c (test_object_properties):
1434 Add another call to gtk_builder_add_string after using
1435 delayed properties, as reported in #504393 but already
1438 2007-12-18 Christian Persch <chpe@gnome.org>
1441 * docs/reference/Makefile.am:
1442 * docs/reference/libgail-util/*:
1443 * gail-uninstalled.pc.in:
1445 * modules/Makefile.am:
1446 * modules/other/Makefile.am:
1447 * modules/other/gail/*:
1448 * modules/other/gail/libgail-util/*:
1449 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
1451 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1453 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
1454 * gdk/win32/gdkproperty-win32.c:
1455 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
1457 * gtk/gtkimmodule.[hc]:
1458 * gtk/gtkimmulticontext.[hc]: When determining the default context,
1459 look at the gtk-im-module setting, and listen for changes to the
1460 setting. (#502446, Akira Tagoh)
1462 2007-12-17 Kristian Rietveld <kris@imendio.com>
1464 * gtk/gtktooltip.c (gtk_tooltip_finalize),
1465 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
1466 to NULL as soon as it's destroyed. (#496546, patch from
1469 2007-12-17 Kristian Rietveld <kris@imendio.com>
1471 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
1472 always determine what arrow to show if show_sort_indicator is true.
1473 (#352738, Chris Vine).
1475 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
1477 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
1478 Sébastien Granjoux)
1480 * gtk/gtkpaned.c: Call gtk_container_forall instead of
1481 gtk_container_foreach in get_child_panes.
1483 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
1485 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
1487 Plug leak: When reordering the info in the list the old node is
1488 removed but not freed. (#503569)
1490 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
1492 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
1493 Use u32 instead of __u32 and u8 instead of __u8 as the other types
1494 are deprecated since DirectFB 1.0.0. If compiling with an older
1495 version define the new type name to the old types. Fixes bug #503190.
1497 2007-12-14 Ray Strode <rstrode@redhat.com>
1499 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
1500 instead of g_signal_connect_after (..., "realize", ...) as an
1501 alternative to gtk_widget_realize () (bug 503537).
1503 2007-12-14 Michael Natterer <mitch@imendio.com>
1505 * gdk/gdkinternals.h
1506 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
1509 * gdk/gdkapplaunchcontext.c
1510 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
1511 header already includes everything now.
1513 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1515 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
1516 next stable release shall be 2.16, not 2.14 - even if disagree.
1518 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
1520 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1522 Change GtkToolItem to retrieve its properties from GtkToolShell
1523 interface, instead of relying on being child of a GtkToolbar.
1526 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
1527 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
1528 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
1529 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
1530 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
1531 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
1532 Take section docs from template file and update them for GtkToolShell.
1533 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
1534 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
1536 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1538 Extract loading of GtkPageSetup and GtkPrintSettings from their
1539 *_new_*() functions and move that code into separate
1540 *_load_*() functions (#475565).
1542 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
1543 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
1544 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
1545 Change the matching *_new_*() functions to use those functions.
1547 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1550 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
1552 2007-12-14 Kristian Rietveld <kris@imendio.com>
1554 * gtk/tests/liststore.c:
1555 * gtk/tests/treestore.c: added tests for insertion functions.
1557 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
1559 * Add RandR 1.2 support
1561 - New monitors_changed signal - New API to get width/height of
1562 monitors, and the name of the plug
1564 2007-12-13 Kristian Rietveld <kris@imendio.com>
1566 * gtk/tests/liststore.c:
1567 * gtk/tests/treestore.c: test the move and swap functions on a
1568 store with only one node.
1570 2007-12-13 Kristian Rietveld <kris@imendio.com>
1572 * gtk/gtktestutils.c (gtk_test_init): add a call to
1575 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
1578 2007-12-13 Kristian Rietveld <kris@imendio.com>
1580 * gtk/tests/liststore.c:
1581 * gtk/tests/treestore.c: start composing tests for the list and tree
1584 * gtk/tests/treeview-scrolling.c: added automated tests for
1585 GtkTreeView's scrolling "subsystem".
1587 * gtk/tests/Makefile.am: updated; added new test programs.
1589 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
1591 Make the code compile again after the GdkAppLaunchContext changes.
1593 * configure.in: Add gio-2.0 to GDK_PACKAGES.
1594 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
1596 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1598 * gdk/gdkapplaunchcontext.c: Add docs
1600 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1602 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
1603 in gdk, providing startup notification. (#503203)
1605 * gdk/x11/gdkapplaunchcontext-x11.c:
1606 * gdk/win32/gdkapplaunchcontext-win32.c:
1607 * gdk/quartz/gdkapplaunchcontext-quartz.c:
1608 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
1609 parts. All but X11 are just empty stubs for now.
1612 * gdk/gdkinternals.h:
1614 * gdk/x11/Makefile.am:
1615 * gdk/win32/Makefile.am:
1616 * gdk/quartz/Makefile.am:
1617 * gdk/directfb/Makefile.am: Necessary glue.
1619 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
1621 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
1623 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1625 * gdk/directfb/gdktestutils-directfb.c:
1626 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
1627 which adds testing functions to the DirectFB backend.
1629 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1631 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
1632 Ciccani which fixes the mixing of gdk and cairo rendering.
1634 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
1636 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
1637 on "drag-motion" handlers. Clearify documentation for
1640 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
1642 * buildertest.c: made unnecessarily exported symbols static.
1643 switched g_return_if_fail() statements in tests to assertions.
1644 special cased currently failing Widget/accesibility test to
1645 run only for g_test_thorough(), so it doesn't break make check.
1646 some coding style fixes.
1648 * Makefile.am: added buildertest to TEST_PROGS.
1650 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1652 * docs/tutorial/gtk-tut.sgml:
1653 Use gtk_widget_get_parent_window() instead of widget->parent->window.
1655 2007-12-10 Richard Hult <richard@imendio.com>
1657 * gdk/quartz/Makefile.am:
1658 * gdk/quartz/gdkquartz.h:
1659 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
1660 header (bug #405915). Also add a getter for the toplevel nswindow.
1662 2007-12-10 Richard Hult <richard@imendio.com>
1664 * gdk/quartz/gdkdrawable-quartz.c:
1665 (gdk_quartz_drawable_get_context),
1666 (gdk_quartz_drawable_release_context):
1667 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
1668 (gdk_event_check), (gdk_event_dispatch), (poll_func):
1669 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
1670 used for each drawing context and in prepare, dispatch and poll
1671 with one that exists across each main loop iteration. Fixes leaks
1672 on leopard and protects against future leaks introduce when the
1673 underlying system changes again (bug #492977).
1675 2007-12-10 Richard Hult <richard@imendio.com>
1677 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
1678 Fix the check for no changes to position and size.
1680 2007-12-10 Richard Hult <richard@imendio.com>
1682 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
1683 sized areas at (0, 0), patch from Paul Davis.
1685 2007-12-10 Richard Hult <richard@imendio.com>
1687 * gdk/quartz/gdkprivate-quartz.h:
1688 * gdk/quartz/gdkeventloop-quartz.c:
1689 (_gdk_quartz_event_loop_get_pending),
1690 (_gdk_quartz_event_loop_check_pending),
1691 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
1692 (gdk_event_check), (gdk_event_dispatch):
1693 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
1694 (_gdk_events_queue): Fix a bug where we could end up trying to
1695 handle the same event more than once. Based on patch from Paul
1698 2007-12-10 Tor Lillqvist <tml@novell.com>
1700 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
1703 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1705 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
1706 to avoid further fallout from the fix for bug 388321.
1708 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1710 * gdk/directfb/gdkgc-directfb.c:
1711 * gdk/directfb/gdkdrawable-directfb.c:
1712 * gdk/directfb/gdkdirectfb.h:
1713 * gdk/directfb/gdkwindow-directfb.c:
1714 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
1715 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
1716 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
1717 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
1718 which are expected to improve the performance of the DirectFB backend.
1719 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
1721 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1723 * gtk/gtkcontainer.c: Correct the documentation of child
1724 property getter arguments. (#501992, David Brigada)
1726 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1728 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
1729 leak pixbufs. (#502250, Yevgen Muntyan)
1731 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
1733 * gtk/gtkprintunixdialog.c:
1734 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
1735 Print and Page Setup dialogs (#502202).
1737 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
1739 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
1740 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
1741 of XVFB_START, since it's the GTESTER invokation that needs this.
1743 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
1745 * gdk-pixbuf/gdk-pixbuf.symbols:
1747 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
1748 positives in abicheck.sh
1750 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1752 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
1753 GDK events generations in the DirectFB backend.
1755 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
1757 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
1758 set of likely unused display ids, because MacOS has no seq(1) command.
1760 2007-12-06 Richard Hult <richard@imendio.com>
1762 * gdk/quartz/gdkevents-quartz.c:
1763 (synthesize_crossing_events_for_ns_event): Fix warning when
1764 switching spaces in leopard.
1766 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
1768 * tests/floatingtest.c: ported to new testing framework.
1770 * tests/Makefile.am: run floatingtest as testing framework test.
1772 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
1774 * tests/autotestfilechooser.c: majorly speed up execution by reducing
1775 timeouts and converting main loop sleeps to pending/iterate loops with
1776 very low priority async handlers. eliminate output for non-verbose
1777 tests. assert successfull subtests in all test functions. use testing
1778 framework in main().
1780 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
1781 executed inside Xvfb upon make check.
1783 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
1785 * tests/objecttests.c: use string comparisons for string property
1786 values and get rid of referencing symbols in array initialization.
1788 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
1790 * gtk+/Makefile.decl: run tests in current dir after setting up the
1791 logging directory, so their results get properly merged into the
1794 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
1795 tests to loop over registered Gdk/Gtk+ types.
1797 * gtk+/tests/objecttests.c: new test program, implements automated
1798 property tests. several properties are blacklisted because they
1799 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
1800 can be used to test blacklisted properties and see which proprty failed.
1802 2007-12-04 Richard Hult <richard@imendio.com>
1804 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
1805 Fully initialize the root window, fixes bug #501583.
1807 2007-12-04 Matthias Clasen <mclasen@redhat.com>
1809 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
1812 2007-12-03 Richard Hult <richard@imendio.com>
1814 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
1815 Don't crash when dragging from a source that doesn't support uri
1816 lists (bug #499868, Paul Davis).
1818 2007-12-03 Richard Hult <richard@imendio.com>
1820 * gdk/quartz/gdkwindow-quartz.c:
1821 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
1822 parent relative bg pixmap is set, and no parent has a bg
1823 pixmap. Fixes bug #500804.
1825 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1827 Two optimizations for icon cache lookups.
1829 * gtk/gtkiconcache.[hc]:
1830 * gtk/gtkicontheme.c: Remember the directory index for
1831 subdirectories, instead of running over the directory list
1834 * gtk/gtkiconcache.c (find_image_offset): Remember the last
1835 chain and try it first; this helps with the the usage patterns
1836 in gtkicontheme.c, where the same icon is queried for a lot
1839 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
1841 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
1842 functions from header files. this should be portable across linux and
1843 Mac OS, unlike the previpous sed expression.
1845 2007-12-1 Cody Russell <bratsche@gnome.org>
1847 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
1848 On Windows, queue a redraw of child2 whenever we set
1849 the pane handle position. This is unfortunately kind
1850 of hacky, but solves the visual artifacts that were
1851 occuring on at least certain types of child widgets
1852 (e.g., text views and tree views) that are inside
1853 horizontal or vertical panes. (#144269)
1855 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1857 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
1859 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1861 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
1864 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1866 * gtk/Makefile.am: Fix ordering of subdirs.
1868 2007-11-28 Tor Lillqvist <tml@novell.com>
1870 A proper build of GNU libintl is supposed to export the variable
1871 _nl_msg_cat_cntr. configure looks for that variable in order to
1872 recognize GNU gettext. If it sees that it is indeed GNU gettext
1873 that is used, it decides to install message catalogs in
1874 share/locale, otherwise in lib/locale. Until now on Windows I have
1875 built GTK+ against a build of GNU gettext that did not export
1876 _nl_msg_cat_cntr. But this will change, so we can't assume message
1877 catalogs are always in lib/locale.
1879 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
1880 GTK_LOCALEDIR being either in "lib" or "share". Move the function
1881 before the inclusion of gtkprivate.h so that it sees the original
1884 * gtk-zip.sh.in: Check whether the message catalogs are in
1885 share/locale or lib/locale.
1887 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
1888 that the code in _gtk_get_localedir() will find the slashes.
1890 2007-11-28 Tor Lillqvist <tml@novell.com>
1892 * gtk/Makefile.am: Improve portability. The -o option is present
1893 only in newish GNU egreps. Use one more sed in the pipeline
1896 2007-11-28 Tor Lillqvist <tml@novell.com>
1898 Fix #375893, patch by Ben Hague:
1900 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
1901 around GetLogicalDrives() that takes also the viewable drive
1902 restrictions in the Registry (which are usually the result of an
1903 Active Directory Group Policy) into account.
1905 (check_volumes, gtk_file_system_win32_list_volumes) Call
1906 get_viewable_logical_drives() instead of GetLogicalDrives().
1908 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1910 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
1911 variables to silence valgrind. (#495124, Morten Welinder)
1913 2006-11-26 Ryan Lortie <desrt@desrt.ca>
1915 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
1916 that the construct_child function is responsible for returning a
1918 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
1919 objects from constructors
1920 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
1921 g_object_ref() to this construction function (it's the only
1926 2006-11-26 Ryan Lortie <desrt@desrt.ca>
1928 * gtkbuilder.c: remove concept of root objects and just refcount
1929 all objects in the builder. Fixes #496651.
1931 2007-11-26 Ryan Lortie <desrt@desrt.ca>
1933 * tests/buildertest.c (test_window): fix invalid free
1935 2007-11-26 Josselin Mouette <joss@malsain.org>
1937 reviewed by: Federico Mena Quintero
1939 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
1940 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
1941 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
1942 Make the shortcuts activate with a single click. (#148828)
1943 Fix a few things affected by the change:
1944 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
1945 where no shortcut is selected.
1946 - Don't activate a shortcut in the response callback.
1947 - Filter out duplicate entries in volumes and bookmarks to
1948 avoid the selection to change when reordering them with DnD.
1950 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1953 * gtk/gtknotebook.c:
1954 * gtk/gtkplugprivate.h:
1956 * gtk/gtksocketprivate.h:
1957 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
1959 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1961 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
1962 (#495574, Richard Hult)
1964 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1966 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
1967 String change ! (#376361, Sven Neumann)
1969 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1971 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
1973 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
1976 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1978 * gtk/gtkassistant.c: Improve alternative button
1979 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
1981 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1983 * gtk/gtkcalendar.c: Fix a theming problem with colors
1984 in GtkCalendar. (#499703, Michael Hofmann)
1986 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1988 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
1990 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1992 Use templates for glib-mkenums calls instead of
1993 complicated commandlines in Makefiles. (#429910)
1995 * gdk-pixbuf/Makefile.am:
1998 * perf/Makefile.am: Use templates for glib-mkenums
2000 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
2001 * gdk/gdkenumtypes.[ch].template:
2002 * gtk/gtktypebuiltings.[ch].template:
2003 * perf/typebuiltins.[ch].template: The templates
2005 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2007 * gtk/gtkfilechooserbutton.c:
2008 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
2009 some compilers choke on that. (#467722)
2011 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2013 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
2014 about hook setup. (#425004, Emmanuele Bassi)
2016 2007-11-26 Tor Lillqvist <tml@novell.com>
2018 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
2019 monitor the window currently is on, not always the primary
2020 monitor. (#463865, Tim Evans)
2022 2007-11-26 Tor Lillqvist <tml@novell.com>
2024 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
2026 * gdk/win32/Makefile.am: Add it.
2028 2007-11-26 Tor Lillqvist <tml@novell.com>
2030 * configure.in: Don't add jasper to all_loaders if no libjasper.
2032 2007-11-25 Bastien Nocera <hadess@hadess.net>
2034 * configure.in: Add detection for libjasper, used by the
2035 gdk-pixbuf JPEG2000 loader
2037 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2039 * configure.in: Require gtk-doc 1.8
2041 * */*.c: Use gtk-doc abbreviations for examples in docs.
2043 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2045 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
2048 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2050 * gtk/gtkdialog.c: Move signal and property documentation inline,
2051 fix a problem with the ::response signal docs. (#499133, Josselin
2054 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
2056 * Makefile.decl: initialize automake variables EXTRA_DIST and
2057 TEST_PROGS for unconditional appending via += in other makefiles.
2058 define recursive test targets: test, test-report, perf-report,
2059 full-report, as described here:
2060 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
2061 the test targets will execute Gtk+ test programs within an Xvfb session.
2063 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
2065 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
2066 g_test_run() to run the tests to integrate with the testing framework.
2068 * gtk/tests/Makefile.am: removed exemplary testing rules.
2070 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
2071 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
2072 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
2073 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
2074 * docs/reference/Makefile.am, docs/tools/Makefile.am:
2075 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
2076 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
2077 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
2078 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
2079 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
2080 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
2081 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
2082 * modules/engines/ms-windows/Theme/Makefile.am:
2083 * modules/engines/ms-windows/Makefile.am:
2084 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
2085 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
2086 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
2087 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
2088 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
2089 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
2090 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
2092 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2094 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
2095 (#485662, patch by Herbert Valerio Riedel)
2097 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2099 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
2101 2007-11-21 Richard Hult <richard@imendio.com>
2103 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
2104 stubs for the testing functions to fix the build.
2106 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2108 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
2109 (#467711, The Written Word)
2111 2007-11-21 Ross Burton <ross@openedhand.com>
2113 * gdk/x11/gdksettings.c:
2114 Add xsetting for gtk-scrolled-window-placement (#458103).
2116 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2118 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
2119 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
2120 (#469239, Michael Natterer)
2122 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2124 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
2125 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
2126 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
2127 (#436536, Tommi Komulainen)
2129 2007-11-21 Matthias Clasen <mclasen@redhat.com>
2131 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
2132 property. (#489782, Jan Janech)
2134 2007-11-20 Matthias Clasen <mclasen@redhat.com>
2136 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
2137 frames. (#107398, Owen Taylor, Miguel Gomez)
2139 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
2141 Moved Gdk test functions from Gtk+ to Gdk test utils.
2143 * gdk/Makefile.am: added gdktestutils.h to public includes.
2145 * gdk/gdk.h: added gdktestutils.h to public includes.
2147 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
2148 gdk_test_render_sync.
2150 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
2151 gdk_test_simulate_key, gdk_test_render_sync.
2153 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
2155 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
2156 gdk_test_simulate_key, gdk_test_render_sync.
2158 * gtk/gtktestutils.c:
2159 * gtk/gtktestutils.h:
2160 * gtk/gtk.symbols: removed gtk_test_simulate_button
2161 gtk_test_simulate_key, gtk_test_xserver_render_sync.
2163 * gtk/tests/testing.c: call gdk_test_render_sync.
2165 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
2167 Added unit tests for Gtk+ testing utilities.
2169 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
2170 utility functions. some g_test_* related portions are disabled and need
2171 to be enabled once Gtk+ depends on a new glib with the GLib testing
2172 framework integrated.
2174 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
2175 added exemplary test rules to run tests inside Xvfb. this needs to depend
2176 on gtester for full fledged testing.
2178 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
2179 collecting _get_type functions to catch e.g. gtk_text_get_type().
2181 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
2183 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
2185 Added Gtk+ testing utilities.
2187 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
2188 for the most part, the functions herein involve navigating and interacting
2189 with dialog elements programatically, to automate user interaction tests of
2190 dialogs and widgets.
2192 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
2194 * gtk/gtk.symbols: added gtk_test_* symbols.
2196 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
2197 generate gtktypefuncs.c which contains a list of all _get_type functions in
2199 2007-11-20 Bastien Nocera <hadess@hadess.net>
2201 * configure.in: add support for conditional icns gdk-pixbuf loader
2204 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
2206 * configure.in: updated version number to 2.15.0 for development.
2208 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
2210 === Branch for 2.12 ===