1 2008-02-15 Richard Hult <richard@imendio.com>
3 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
4 instead of bounds when resizing windows.
6 2008-02-15 Matthias Clasen <mclasen@redhat.com>
8 * gdk/x11/gdkkeys-x11.c:
9 * gdk/x11/gdkcolor-x11.c:
10 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
12 2008-02-15 Matthias Clasen <mclasen@redhat.com>
14 * gdk/x11/gdktestutils-x11.c:
15 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
17 2008-02-15 Tor Lillqvist <tml@novell.com>
19 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
20 leak Registry key handles. (#516578)
22 2008-02-14 Richard Hult <richard@imendio.com>
24 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
25 makeKeyWindow unfortunately doesn't work in all cases, we must use
28 2008-02-14 Richard Hult <richard@imendio.com>
30 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
31 (gdk_window_hide), (gdk_window_fullscreen),
32 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
35 2008-02-14 Richard Hult <richard@imendio.com>
37 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
38 resizing to be consistent and to avoid introducing an internal
39 transform in the view.
41 2008-02-14 Richard Hult <richard@imendio.com>
43 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
46 2008-02-14 Johan Dahlin <johan@gnome.org>
49 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
51 2008-02-13 Richard Hult <richard@imendio.com>
53 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
54 Remove unused variables.
55 (gtk_clipboard_set_contents),
56 (gtk_clipboard_get_owner), (clipboard_unset),
57 (gtk_clipboard_request_targets): Notify the previous clipboard
58 owner when the owner changes. Fixes bug #493406.
60 2008-02-13 Richard Hult <richard@imendio.com>
62 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
63 the return value (return number of colors that failed), and handle
65 (gdk_colormap_free_colors): Fix typo in comment.
67 2008-02-13 Kristian Rietveld <kris@imendio.com>
69 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
70 queue a redraw if the rubber banding has actually been active.
72 2008-02-12 Matthias Clasen <mclasne@redhat.com>
75 * gtk/gtkprintoperation.c:
76 * gtk/gtkvolumebutton.c:
77 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
78 out by Behdad Esfahbod.
80 2008-02-12 Federico Mena Quintero <federico@novell.com>
84 Don't focus the file list when shortcuts get activated. This
85 removes a lot of ambiguity in when the file selection should
86 change, and makes the overall code flow simpler.
88 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
89 file/save dialog clears the filename entry when changing
92 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
93 focus should not go to the file list when a shortcut is activated.
95 * gtk/gtkfilechooserdefault.c
96 (shortcuts_activate_volume_mount_cb): Don't focus the file list
97 (shortcuts_activate_get_info_cb): Likewise.
99 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
100 the file list (this was the last place where we would focus the
101 file list explicitly). If you are in the location entry, for
102 example, you don't want Alt-Home to take you to the file list; you
103 just want the current folder to change. Thanks to Olle Bergkvist
104 <olle.bergkvist@yahoo.se> for pointing this out in
105 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
106 (focus_browse_tree_view_if_possible): Removed.
108 2008-02-12 Matthias Clasen <mclasen@redhat.com>
110 Skip exensions when selecting filenames in the save-as dialog.
111 (#362516, Carlos Garnacho)
113 * gtk/gtkfilechooserentry.h:
114 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
115 New function to skip the extension part when selecting a filename.
116 (_gtk_file_chooser_entry_set_base_folder): Use it here.
118 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
121 2008-02-12 Matthias Clasen <mclasen@redhat.com>
123 * gtk/gtkiconview.c: Fix state change reporting for
124 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
126 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
128 * gtk/gtkrecentchooser.c:
129 (gtk_recent_chooser_class_init): Set the default value of the
130 :show-not-found property to TRUE, as every implementation sets
133 * gtk/gtkrecentchooserdefault.c:
134 (_gtk_recent_chooser_default_init): Sync show_tips to the
135 default value of the :show-tips property.
137 2008-02-12 Matthias Clasen <mclasen@redhat.com>
139 * gtk/gtkclipboard-quartz.c:
141 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
144 2008-02-12 Kristian Rietveld <kris@imendio.com>
146 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
147 (gtk_tree_view_real_toggle_cursor_row): guard against people
148 deleting the row in question in the selection-changed callback.
149 (#514621, Andreas Koehler).
151 2008-02-12 Matthias Clasen <mclasen@redhat.com>
153 * gtk/*.c: Unify the handling of various "Enter" keysyms
154 all over the place. (#515047, Christian Persch)
156 2008-02-12 Matthias Clasen <mclasen@redhat.com>
158 * gtk/gtkfilesystemmodel.c:
160 * gtk/gtkwidget.c: Use g_value_set_static_string() where
161 appropriate. (#515042, Christian Persch)
163 2008-02-12 Matthias Clasen <mclasen@redhat.com>
165 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
167 2008-02-12 Matthias Clasen <mclasen@redhat.com>
169 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
171 2008-02-12 Matthias Clasen <mclasen@redhat.com>
173 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
174 (recent_model_sort_drag_data_get):
175 (search_model_sort_drag_data_get):
176 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
177 * gtk/gtkpathbar.c (button_drag_data_get_cb):
178 Use gtk_selection_data_set_uris() instead of doing it
179 by hand. (#514890, Christian Persch)
181 2008-02-12 Michael Natterer <mitch@imendio.com>
183 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
184 gtk_get_current_event_time().
186 2008-02-12 Michael Natterer <mitch@imendio.com>
188 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
189 gtk_window_get_key_hash() to get the hash instead of manually
190 fiddling with quarks and gtk_window_keys_changed(). Also add
191 g_return_if_fail() to this public function.
193 2008-02-11 Matthias Clasen <mclasen@redhat.com>
195 Support keynav in status icons. (#473786, Li Yuan)
197 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
199 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
201 2008-02-11 Kristian Rietveld <kris@imendio.com>
203 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
204 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
205 wrt. link deletion from list; contination of fix for #503569.
207 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
209 * gtk/gtkrecentchoosermenu.c:
210 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
211 on the placeholder menu item.
213 * tests/testrecentchoosermenu.c:
214 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
215 whether the placeholder menu item gets shown.
217 2008-02-10 Cody Russell <bratsche@gnome.org>
219 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
220 Check the return value of _gtk_file_chooser_get_file_system () for
221 NULL before passing it to gtk_file_system_path_to_uri ().
222 (#515667, Francesco Montorsi)
224 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
226 * gtk/gtkbuilder.c: Improve the documentation for
227 gtk_builder_connect_signals. (#514471)
229 2008-02-10 Matthias Clasen <mclasen@redhat.com>
231 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
234 2008-02-08 Cody Russell <bratsche@gnome.org>
236 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
237 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
239 2008-02-08 Richard Hult <richard@imendio.com>
241 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
242 delta from the NSEvent for now, generating multiple scroll events
243 results in a lot of events getting queued up and things get really
246 2008-02-08 Sven Herzberg <sven@imendio.com>
248 Adjust the code to match the documentation, examples, "common sense"
249 and existing applications.
251 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
252 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
255 2008-02-07 Cody Russell <bratsche@gnome.org>
257 * gdk/win32/gdkevents-win32.c
258 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
259 of a block that were causing compile problems on old
260 compilers. (#515053, reported by Kazuki IWAMOTO)
262 2008-02-07 Michael Natterer <mitch@imendio.com>
271 * gtk/gtkoptionmenu.c
275 * gtk/gtkradiomenuitem.c
277 * gtk/gtkscrolledwindow.c
278 * gtk/gtksocket.c: remove g_return_if_fail() from private
279 functions and virtual function implementations.
281 2008-02-07 Michael Natterer <mitch@imendio.com>
288 * gtk/gtkcellrenderercombo.c
291 * gtk/gtkdrawingarea.c
292 * gtk/gtkentrycompletion.c
298 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
299 functions and virtual function implementations.
301 2008-02-07 Christian Persch <chpe@gnome.org>
303 * gdk/gdkpixbuf-render.c:
304 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
305 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
306 otherwise there will be random pixel values in the semi-transparent
307 area of the pixbuf within the mask. Bug #487865.
309 2008-02-06 Cody Russell <bratsche@gnome.org>
311 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
312 otherwise things get wonky when you click on a menu. This fixes
313 a regression caused in #505928. Thanks to Tor for spotting this
316 2008-02-06 Michael Natterer <mitch@imendio.com>
327 * gtk/gtkseparatortoolitem.c
329 * gtk/gtktextlayout.c
330 * gtk/gtktoggletoolbutton.c
331 * gtk/gtktoolbutton.c
334 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
337 2008-02-05 Matthias Clasen <mclasen@redhat.com>
339 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
340 Allow to store half-open ranges.
342 2008-02-05 Cody Russell <bratsche@gnome.org>
344 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
345 down the stack until we get to a window that is mapped.
346 Otherwise hiding a window will cause all windows in the app
347 to be blocked. (#514643)
349 2008-02-05 Matthias Clasen <mclasen@redhat.com>
351 * gtk/updateiconcache.c: Ignore images in the toplevel theme
352 directory, avoiding one source of invalid caches that has been
355 2008-02-05 Matthias Clasen <mclasen@redhat.com>
357 * gtk/updateiconcache.c: Fix the previous commit to compile.
359 2008-02-05 Matthias Clasen <mclasen@redhat.com>
361 * gtk/updateiconcache.c: Install a printerr handler that
362 prepends the program name, since gtk-update-icon-cache output
363 often appears in the middle of other output, e.g. rpm update logs.
365 2008-02-05 Cody Russell <bratsche@gnome.org>
367 * gdk/win32/gdkprivate-win32.h
368 * gdk/win32/gdkevents-win32.c
369 * gdk/win32/gdkwindow-win32.c
370 * gdk/win32/gdkwindow-win32.h
371 * gdk/win32/gdkwin32.h:
372 Modal window rework. (#455627 and #511111)
374 2008-02-04 Michael Natterer <mitch@imendio.com>
376 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
377 g_return_if_fail() if the cell is not part of the combo instead of
378 crashing in the next line.
380 2008-02-01 Cody Russell <cody@jhu.edu>
382 * modules/engines/ms-windows/xp_theme.[ch]
383 * modules/engines/ms-windows/xp_theme_defs.h
384 * modules/engines/ms-windows/msw_rc_style.c
385 * modules/engines/ms-windows/msw_theme_main.c
386 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
387 attempted to stylize more like the rest of the gtk+ stack's code.
389 2008-02-01 Michael Natterer <mitch@imendio.com>
391 * tests/testgtk.c: initialize GdkColor structs to fix warning
392 about uninitialized "pixel" member.
394 * tests/testactions.c: connect the toolbar_style() callback so it
395 does something useful and doesn't warn about being defined but not
398 2008-01-31 Cody Russell <bratsche@gnome.org>
400 * gdk/win32/gdkevents-win32.c:
401 Refactored some of the window hiding/showing code from
402 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
403 under WM_ACTIVATE was causing the application to go into
404 a weird state when the user right-clicked on the taskbar
405 entry of a window that was minimized. (#505928)
407 2008-01-31 Cody Russell <bratsche@gnome.org>
409 * gtk/gtkpaned.c (gtk_paned_set_position):
410 Change queue_resize() to queue_draw(), and add a check for
411 child2 != NULL in case someone calls this before there is
412 a child packed in there. (#144269 again)
414 2008-01-31 Sven Neumann <sven@gimp.org>
416 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
417 applied patch from Denis Oliver Kropp <dok@directfb.org>.
419 2008-01-31 Sven Neumann <sven@gimp.org>
421 * gdk/directfb/gdkdisplay-directfb.c
422 * gdk/directfb/gdkdrawable-directfb.c
423 * gdk/directfb/gdkprivate-directfb.h
424 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
425 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
427 2008-01-31 Richard Hult <richard@imendio.com>
429 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
430 issues with undecorated windows. Revert the change done on
431 2008-01-25 and fix it by using the view's bounds instead. The
432 bounds will always be up to date when setting up the tracking
433 rect, so this should be more robust.
435 2008-01-30 Sven Neumann <sven@gimp.org>
437 * gdk/directfb/gdkdrawable-directfb.c
438 * gdk/directfb/gdkwindow-directfb.c
439 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
440 Oliver Kropp <dok@directfb.org>. Adds debug messages using
441 DirectFB's debugging system
443 2008-01-30 Sven Neumann <sven@gimp.org>
445 * gdk/directfb/gdkdirectfb.h
446 * gdk/directfb/gdkdisplay-directfb.c
447 * gdk/directfb/gdkdrawable-directfb.c
448 * gdk/directfb/gdkim-directfb.c
449 * gdk/directfb/gdkimage-directfb.c
450 * gdk/directfb/gdkinput-directfb.c
451 * gdk/directfb/gdkmain-directfb.c
452 * gdk/directfb/gdkpixmap-directfb.c
453 * gdk/directfb/gdktestutils-directfb.c
454 * gdk/directfb/gdkvisual-directfb.c
455 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
456 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
457 errors and has some cleanups.
459 2008-01-30 Michael Natterer <mitch@imendio.com>
461 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
462 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
465 * gtk/updateiconcache.c (add_string): cast const gchar* to
466 gpointer when inserting in a GHashTable.
468 * tests/testcalendar.c (calendar_detail_cb): remove const from
469 return value since it's a newly allocated string.
471 (calendar_update_details): free the detail.
473 2008-01-29 Johan Dahlin <johan@gnome.org>
475 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
477 * demos/gtk-demo/demo.ui:
478 Move the about dialog to the glade file, add accessible tags
479 examples to the markup file.
481 2008-01-28 Paolo Borelli <pborelli@katamail.com>
483 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
484 layout, fixes #512375.
486 2008-01-28 Michael Natterer <mitch@imendio.com>
489 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
491 2008-01-28 Michael Natterer <mitch@imendio.com>
493 * demos/gtk-demo/builder.c (about_activate): use
494 gtk_about_dialog_set_program_name() instead of the deprecated
497 2008-01-28 Michael Natterer <mitch@imendio.com>
500 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
503 2008-01-26 Johan Dahlin <johan@gnome.org>
506 * tests/textbuffertest.c:
507 Rename textbuffer test and port it to the new test framework
509 2008-01-25 Johan Dahlin <johan@gnome.org>
511 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
512 unsetting of GTK_MODULES.
514 * gtk/gtk-builder-convert
515 (GtkBuilderConverter._convert_adjustment): Handle the case where
516 there is no child text node.
517 (GtkBuilderConverter): Allow xml comments in most places.
519 2008-01-25 Johan Dahlin <johan@gnome.org>
521 * gtk/gtk-builder-convert
522 (GtkBuilderConverter._convert_combobox_items): Remove the items
523 even if there are no items set.
524 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
525 signals and tooltips for all menu items subclasses and
526 GtkImageMenuItem:label.
527 Makes it possible to fully convert and run Jokosher.glade.
529 2008-01-25 Johan Dahlin <johan@gnome.org>
531 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
532 (gtk_widget_buildable_get_internal_child), (free_action),
533 (free_relation), (gtk_widget_buildable_parser_finished),
534 (accessibility_start_element),
535 (gtk_widget_buildable_custom_tag_start),
536 (gtk_widget_buildable_custom_finished):
537 Implement accessible support, fixes #454653.
539 * gtk/gtk-builder-convert:
540 Add support for migrating old glade files
542 * tests/buildertest.c: (test_widget), (test_file):
543 Add accessible tests and imprve the test_file function to display
544 toplevels and run dialogs.
546 2008-01-25 Richard Hult <richard@imendio.com>
548 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
549 didn't change, fixes focus event issues for undecorated windows.
551 2008-01-25 Richard Hult <richard@imendio.com>
553 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
554 const and remove unused variables).
556 2008-01-25 Michael Natterer <mitch@imendio.com>
559 * gtk/gtkcellrenderer.h
564 * gtk/gtktreeprivate.h
565 * gtk/gtktreeviewcolumn.h
566 * gtk/gtkwidget.h: add const to constant structs which are passed
567 into GTK+. Also add some forgotten const for const strings.
571 * gtk/gtkcellrenderer.c
577 * gtk/gtktreeviewcolumn.c
578 * gtk/gtkwidget.c: changed accordingly.
580 2008-01-25 Sven Herzberg <sven@imendio.com>
582 Reviewed by Johan Dahlin.
584 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
585 this is called with something that's not a GtkUIManager
587 2008-01-24 Johan Dahlin <johan@gnome.org>
589 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
590 Chain up to parent, so widgets can have internal children.
592 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
594 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
597 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
599 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
601 Use pango_layout_set_height() for calendar details (#506049).
603 * configure.in: Require 1.19.3 for pango_layout_set_height().
604 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
606 2008-01-18 Johan Dahlin <johan@gnome.org>
608 * gtk/gtk-builder-convert (get_property_node): New method
609 (GtkBuilderConverter._create_object): Conditionally take a node as
610 a property value, so don't lose translate/context attributes if they
612 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
613 property values instead of strings.
614 (#509153, Erik van Pienbroek)
616 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
618 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
620 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
621 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
622 * tests/testcalendar.c: Duplicate calendar details before returning.
624 2008-01-16 Christian Persch <chpe@gnome.org>
626 * gtk/gtkwidget.c: Store the event mask and extension event mode
627 directly in the gobject data pointer, instead of in an allocated
630 2008-01-16 Michael Natterer <mitch@imendio.com>
632 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
633 gdk-pixbuf now uses gio functions.
635 2008-01-16 Matthias Clasen <mclasen@redhat.com>
637 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
638 the notify::model signal. (#509819, David Zeuthen)
640 2008-01-15 Michael Natterer <mitch@imendio.com>
648 * gdk/gdkwindow.h: made more struct pointer and array parameters
649 const. GDK should now be constified as far as possible without
650 breaking source compatibility. Includes some minor cleanup like
651 indentation and s/nfoo/n_foo/ (bug #508544).
657 * gdk/gdkregion-generic.c
659 * gdk/directfb/gdkdisplay-directfb.c
660 * gdk/directfb/gdkwindow-directfb.c
661 * gdk/quartz/gdkdisplay-quartz.c
662 * gdk/quartz/gdkwindow-quartz.c
663 * gdk/win32/gdkdisplay-win32.c
664 * gdk/win32/gdkwindow-win32.c
665 * gdk/x11/gdkdisplay-x11.c
666 * gdk/x11/gdkwindow-x11.c: changed accordingly.
668 2008-01-14 Michael Natterer <mitch@imendio.com>
670 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
673 (gtk_rc_parse_any): change variables to const and introduce
674 another local variable to fix const warnings.
676 2008-01-14 Michael Natterer <mitch@imendio.com>
678 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
679 of gdk_screen_get_font_options() to gpointer to get rid of const
682 2008-01-14 Michael Natterer <mitch@imendio.com>
684 * tests/testdnd.c (source_drag_data_get): fix another call to
685 gtk_selection_data_set().
687 2008-01-14 Michael Natterer <mitch@imendio.com>
689 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
692 2008-01-14 Michael Natterer <mitch@imendio.com>
694 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
696 2008-01-14 Michael Natterer <mitch@imendio.com>
698 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
699 "uris" to guchar* when passing it to gtk_selection_data_set().
701 2008-01-14 Michael Natterer <mitch@imendio.com>
709 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
710 parameters const (bug #508544).
716 * gdk/gdkpolyreg-generic.c
717 * gdk/gdkregion-generic.c
718 * gdk/directfb/gdkcolor-directfb.c
719 * gdk/directfb/gdkgc-directfb.c
720 * gdk/directfb/gdkgeometry-directfb.c
721 * gdk/directfb/gdkwindow-directfb.c
722 * gdk/quartz/gdkcolor-quartz.c
723 * gdk/quartz/gdkgc-quartz.c
724 * gdk/quartz/gdkgeometry-quartz.c
725 * gdk/quartz/gdkwindow-quartz.c
726 * gdk/win32/gdkcolor-win32.c
727 * gdk/win32/gdkgc-win32.c
728 * gdk/win32/gdkgeometry-win32.c
729 * gdk/win32/gdkprivate-win32.h
730 * gdk/win32/gdkwindow-win32.c
731 * gdk/x11/gdkcolor-x11.c
732 * gdk/x11/gdkgc-x11.c
733 * gdk/x11/gdkgeometry-x11.c
734 * gdk/x11/gdkmain-x11.c
735 * gdk/x11/gdkprivate-x11.h
736 * gdk/x11/gdkwindow-x11.c: changed accordingly.
738 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
741 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
743 Explain name choice for gtk_tool_item_toolbar_reconfigured.
745 * gtk/gtktoolitem.c: Add comment expaining name choice for
746 gtk_tool_item_toolbar_reconfigured.
748 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
750 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
751 implementations to notify its children, when some aspect of their
752 configuration changed (#509042).
754 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
755 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
756 Rename _gtk_tool_item_toolbar_reconfigured.
758 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
760 Include <gtk/gtktoolshell.h> from gtk.h.
762 * gtk/gtk.h: Add gtktoolshell.h
764 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
766 Print angle brackets arround e-mail addresses in the about dialog
767 (#409520, Mariano Suárez-Alvarez).
769 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
771 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
773 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
774 special casing so test widgets are always queues for destruction
777 * gtk/tests/testing.c: removed bits left-over from testing without
780 2008-01-10 Tor Lillqvist <tml@novell.com>
782 * modules/other/gail/libgail-util/Makefile.am
783 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
786 2008-01-10 Tor Lillqvist <tml@novell.com>
788 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
789 uses gtkprintunixdialog API.
791 2008-01-10 Tor Lillqvist <tml@novell.com>
793 * gdk/win32/gdkdisplay-win32.c
794 * gdk/win32/gdkglobals-win32.c
795 * gdk/win32/gdkprivate-win32.h
796 * gdk/win32/gdkscreen-win32.c
797 * gdk/win32/gdkwindow-win32.c: Implement
798 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
799 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
802 2008-01-10 Cody Russell <bratsche@gnome.org>
804 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
805 Properly ref/unref windows and parents. (#506769)
807 2008-01-10 Richard Hult <richard@imendio.com>
809 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
810 (gdk_window_hide), (move_resize_window_internal): Move the
811 tracking rect workaround from here...
813 * gdk/quartz/GdkQuartzWindow.c:
814 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
815 movements during showing/hiding operations. Fixes bug #508516.
817 2008-01-10 Michael Natterer <mitch@imendio.com>
819 * gdk/directfb/gdkscreen-directfb.c
820 (gdk_screen_get_monitor_width_mm)
821 (gdk_screen_get_monitor_height_mm)
822 (gdk_screen_get_monitor_plug_name): add these functions to make
825 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
827 * gtk/gtkrecentchoosermenu.c:
828 (idle_populate_func), (idle_populate_clean_up): Fix possible
829 recursion by resetting the idle source id. (#507605, William
832 2008-01-10 Kristian Rietveld <kris@imendio.com>
834 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
835 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
836 avoid valgrind warnings. (#507751, patch from Christian Persch).
838 2008-01-10 Kristian Rietveld <kris@imendio.com>
840 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
841 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
843 2008-01-10 Kristian Rietveld <kris@imendio.com>
845 Fix #477175, reported by Juri Pakaste.
847 * gtk/gtktreeprivate.h:
848 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
849 tree_view->priv->dy here directly, just calculate the new value
850 and set it on the adjustment,
851 (gtk_tree_view_adjustment_changed): add guards to not call
852 gtk_tree_view_dy_to_top_row() if we are currently in
853 gtk_tree_view_top_row_to_dy(),
854 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
855 coordinates, not tree coordinates,
856 (gtk_tree_view_real_start_editing): add cast.
858 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
859 position of the editable in the "create new row and start editing"
862 2008-01-09 Michael Natterer <mitch@imendio.com>
864 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
867 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
868 * gtk/gtkicontheme.c (theme_list_contexts)
869 (gtk_icon_theme_lookup_icon)
870 * gtk/gtkimcontextsimple.c (beep_window)
871 * gtk/gtklinkbutton.c (set_link_color)
872 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
875 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
876 variable and add const to another to fix a warning.
878 2008-01-07 Matthias Clasen <mclasen@redhat.com>
880 * gtk/gtkassistant.c (remove_page): Be more robust when removing
881 the current page. (#499951, Andreas Sandberg)
883 2008-01-06 Johan Dahlin <johan@gnome.org>
885 * gtk/gtkspinbutton.c: Declare value in the example code for
886 GtkSpinButton::output, as pointed out by Anders Carlsson.
888 2008-01-06 Christian Persch <chpe@gnome.org>
890 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
891 and remove an obsolete event box. Bug #506760.
893 2008-01-06 Johan Dahlin <johan@gnome.org>
895 * tests/buildertest.c (test_domain):
896 Update, GtkBuilder::translation-domain is no longer set
898 * gtk/gtkbuilderparser.c (parse_interface):
899 Allow domains to be overridden in <interface>'s if a translation-domain
900 is set in the builder.
901 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
902 of the builder, make the domain set in the <interface> apply only to strings
904 (#496831, Ryan Lortie)
906 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
909 * gtk/gtktreestore.c (tree_model_end_element):
910 Remove an unused variable
912 2008-01-06 Matthias Clasen <mclasen@redhat.com>
914 * gtk/gtkspinbutton.c: Document the ::output signal and
915 add an example. (#507566, example by Owen Taylor)
917 2008-01-06 Johan Dahlin <johan@gnome.org>
919 * gtk/gtkcellrenderercombo.c:
920 (gtk_cell_renderer_combo_get_property),
921 (gtk_cell_renderer_combo_set_property):
922 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
923 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
924 * gtk/gtknotebook.c: (gtk_notebook_set_property):
925 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
926 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
927 (gtk_text_buffer_get_property):
928 * gtk/gtktextview.c: (gtk_text_view_set_property):
929 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
930 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
931 (gtk_tool_button_get_property):
932 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
933 (gtk_tool_item_get_property):
934 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
935 * gtk/gtkwidget.c: (gtk_widget_set_property):
936 * gtk/gtkwindow.c: (gtk_window_set_property):
937 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
940 2008-01-06 Johan Dahlin <johan@gnome.org>
942 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
943 Make sure that --root works for toplevel widgets.
944 (#491847, Phil Lello)
946 2008-01-05 Johan Dahlin <johan@gnome.org>
948 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
949 to make sure that make test-report works properly
951 2008-01-05 Christian Persch <chpe@gnome.org>
953 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
954 GType as integer through gpointer. Bug #507395.
956 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
958 Avoid some compiler warnings (#507000).
960 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
961 for value argument of _gtk_builder_flags_from_string.
962 * gtk/gtkwidget.c: Don't alias the child pointer passed
963 to gdk_window_get_user_data.
965 2008-01-04 Michael Natterer <mitch@imendio.com>
967 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
968 to set the time in the returned GdkTimeCoords.
970 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
972 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
973 correct comparison function (kudos to Christian Persch and
974 Claudio Saavedra for spotting this)
976 * gtk/gtkrecentchooserutils.c:
977 (sort_recent_items_mru),
978 (sort_recent_items_lru): Ditto as above.
980 2008-01-03 Johan Dahlin <johan@gnome.org>
982 * tests/defaultvaluetest.c: Make it pass again.
984 2008-01-02 Johan Dahlin <johan@gnome.org>
986 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
987 make it pass on Ubuntu.
988 (main): Use gtk_test_list_all_types () instead of providing our
990 And it no longer passes.
992 2007-12-30 Johannes Schmid <jhs@gnome.org>
994 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
995 Also reorder menu when reordering tabs by drag & drop
998 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
999 Add a menu to one of the notebooks to have a test-case for
1000 the change mentioned above.
1002 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
1004 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
1006 2007-12-31 Christian Persch <chpe@gnome.org>
1008 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
1009 Plug a mem leak. Bug #506107.
1011 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1013 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
1014 icon cache api change. (#506135, Kazuki Iwamoto)
1016 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1018 Consider "wide-separators" and "separator-height" style properties:
1019 The separator is drawn using gtk_paint_box instead of cairo, when
1020 "wide-separators" is set. Also do not highlight details for previous
1021 or next month, if their day matches the selected day. (#339540)
1023 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
1024 in gtk_calendar_size_request and calendar_paint_day
1025 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
1026 for selected detail separators in GtkCalendar.
1028 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1030 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
1032 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
1033 a local variable instead in gtk_calendar_size_request.
1035 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1037 * tests/defaultvaluetest.c: Add enough exclusions to make the
1040 2007-12-28 Christian Persch <chpe@gnome.org>
1042 * modules/other/gail/Makefile.am:
1043 * modules/other/gail/tests/*:
1044 * configure.in: Merge tests from standalone gail. Bug #504568.
1046 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1048 * gtk/gtkclipboard.c: Make the finalizer work when display is
1051 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1053 Draw bottom shadow of GtkCalender headings. (#506113)
1055 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
1057 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1059 * gtk/gtkcalendar.c: Document the initial values of year/month/day
1062 2007-12-28 Christian Persch <chpe@gnome.org>
1064 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
1065 a mem leak. Bug #506096.
1067 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1070 * gtk/gtktreeview.c:
1071 * gtk/gtkprintoperation.c:
1072 * gtk/gtkprogressbar.c:
1073 * gtk/gtkmessagedialog.c:
1074 * gtk/gtknotebook.c:
1078 * gtk/gtklinkbutton.c:
1079 * gtk/gtkmenu.c: More default property value corrections.
1081 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1083 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
1084 accel_group unless it is set.
1086 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1088 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
1090 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1092 * gtk/gtkhandlebox.c: Fix the default values of shadow and
1093 shadow-type properties.
1095 * gtk/gtkfontsel.c: Fix the default values of several properties.
1097 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
1100 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
1102 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
1105 2007-12-28 Johan Dahlin <johan@gnome.org>
1107 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
1108 (gtk_dialog_buildable_custom_tag_start): Chain up.
1109 This makes it possible to have accelerators tags on GtkDialog
1112 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1114 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
1115 are shown within the widget, or just as tooltip. (#339540)
1117 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
1118 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
1119 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
1122 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1124 Try more decent appearance of calendar details separator. (#339540)
1126 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
1127 and make it short by one pixel on each side.
1129 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1131 Apply trivial code-style changes from attachement 101101. (#339540)
1133 * tests/testcalendar.c: Some updates to current GTK+ code-style.
1135 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1137 Restructure testcalendar for testing calendar details. (#339540)
1139 * tests/testcalendar.c: Push code arround for testing calendar details.
1141 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1143 Implement GtkTooltip API for calendar details. (#339540)
1145 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
1146 Remember detail overflows in calendar_paint_day to show the tooltip
1147 only when neccessary.
1149 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1151 Without setting "detail-width-chars" and "detail-height-rows"
1152 properties not only the widget has to be redrawn on certain
1153 conditions, but also its size must be recalculated. (#339540)
1155 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
1156 that function instead of gtk_widget_queue_draw.
1158 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1160 Consider details for size-request and expose-event. (#339540)
1162 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
1163 is_color_attribute functions. Change gtk_calendar_size_request
1164 and calendar_paint_day to consider and show calender details.
1166 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1168 * gtk/gtkcombobox.c: Introduce local priv variables to
1171 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1173 * gtk/gtkcombobox.c: Correct the default value for the
1174 tearoff-title property.
1176 * gtk/gtkcellrenderertext.c: Fix the default value for the
1177 wrap-mode and font-scale properties.
1179 * gtk/gtkaspectratio.c: Fix the default value for the ratio
1182 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1184 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
1185 defines. (#505708, MINAMI Hirokazu)
1187 2007-12-27 Christian Persch <chpe@gnome.org>
1189 * Makefile.am: Install gail.pc. Bug #505859.
1191 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
1193 Add infrastructure for GtkCalendar details. (#339540)
1195 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
1196 Add "detail-width-chars" and "detail-height-rows" properties,
1197 and gtk_calendar_set_detail_func function.
1199 2007-12-27 Xan Lopez <xan@gnome.org>
1202 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
1204 Add gtk_border_new to avoid memory allocator confusions when using
1205 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
1207 2007-12-27 Christian Persch <chpe@gnome.org>
1209 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
1210 bug #504886 not to read unitialised memory.
1212 2007-12-26 Xan Lopez <xan@gnome.org>
1214 * gtk/gtkstatusbar.c (has_extra_children): take into account the
1215 modification of the internal frame contents to decide if we have
1216 extra children. (#415677)
1218 2007-12-22 Christian Persch <chpe@gnome.org>
1220 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
1222 2007-12-25 Christian Persch <chpe@gnome.org>
1224 * modules/other/gail/gailwindow.c: (gail_window_initialize):
1225 Initialise |widget|. Fixes a buglet introduced by the commit from bug
1228 2007-12-25 Christian Persch <chpe@gnome.org>
1230 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
1232 2007-12-25 Christian Persch <chpe@gnome.org>
1234 * modules/other/gail/*.[ch]: Remove relocations from the atk
1235 factories. Remove unused gail_foo_new() functions. Fix object
1236 instantiation to be derivation safe by moving initialisation code
1237 from the removed gail_foo_new() functions to the
1238 AtkObjectClass::initialize implementation. Bug #505226.
1240 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1242 * modules/other/gail/gailentry.c:
1243 * modules/other/gail/gailimage.c:
1244 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
1245 uses of clipboards and settings. (#504722, Christian Persch)
1247 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1249 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
1252 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1254 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
1255 use the time and button information from the event. (#504901,
1258 2007-12-23 Cody Russell <bratsche@gnome.org>
1260 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
1261 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
1262 Fixes a regression caused by #164537 patch where transient
1263 windows that are hidden get shown (incorrectly) when their
1264 parents are minimized. (#504984)
1266 2007-12-22 Christian Persch <chpe@gnome.org>
1268 * modules/other/gail/gailcell.c:
1269 * modules/other/gail/gailcontainercell.c:
1270 * modules/other/gail/gailexpander.c:
1271 * modules/other/gail/gailtextcell.c:
1272 * modules/other/gail/gailtextview.c:
1273 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
1275 2007-12-22 Christian Persch <chpe@gnome.org>
1277 * modules/other/gail/*.c: Include config.h. Bug #504720.
1279 2007-12-22 Christian Persch <chpe@gnome.org>
1281 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
1282 handwritten get_type functions. Bug #504661.
1284 2007-12-23 Xan Lopez <xan@gnome.org>
1286 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
1287 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
1289 Patch by Sadrul Habib Chowdhury (#504804)
1291 2007-12-22 Christian Persch <chpe@gnome.org>
1293 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
1294 #504645, patch by Li Yuan.
1296 2007-12-22 Christian Persch <chpe@gnome.org>
1298 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
1300 2007-12-22 Christian Persch <chpe@gnome.org>
1302 * modules/other/gail/gail.c:
1303 * modules/other/gail/gailbutton.c:
1304 * modules/other/gail/gailcell.c:
1305 * modules/other/gail/gailcombo.c:
1306 * modules/other/gail/gailcombo.h:
1307 * modules/other/gail/gailcombobox.c:
1308 * modules/other/gail/gailentry.c:
1309 * modules/other/gail/gailexpander.c:
1310 * modules/other/gail/gailmenuitem.c:
1311 * modules/other/gail/gailnotebook.c:
1312 * modules/other/gail/gailnotebookpage.c:
1313 * modules/other/gail/gailnotebookpage.h:
1314 * modules/other/gail/gailoptionmenu.c:
1315 * modules/other/gail/gailrange.c:
1316 * modules/other/gail/gailtextview.c:
1317 * modules/other/gail/gailtreeview.c:
1318 * modules/other/gail/gailtreeview.h:
1319 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
1322 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1324 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
1327 2007-12-21 Richard Hult <richard@imendio.com>
1329 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
1330 Plug leak of destroyed subviews, fixes bug #504753.
1332 2007-12-20 Johan Dahlin <johan@gnome.org>
1334 * tests/Makefile.am (TEST_PROGS):
1335 * tests/defaultvaluetest.c: Add a test for default values,
1336 based on program by Christan Perch
1338 2007-12-20 Johan Dahlin <johan@gnome.org>
1340 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
1341 Refactor to avoid some duplication.
1342 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
1343 Fixes #504749, Yuri Pimenov
1345 2007-12-20 Kristian Rietveld <kris@imendio.com>
1347 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
1348 the build work again on systems without xrandr 1.2.
1350 2007-12-20 Christian Persch <chpe@gnome.org>
1353 * modules/other/gail/libgail-util/Makefile.am:
1354 Keep the same libtool version as the standalone libgail-util had.
1357 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
1359 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
1361 2007-12-20 Alexander Larsson <alexl@redhat.com>
1363 * gdk/x11/gdkapplaunchcontext-x11.c:
1364 Update for gio API changes
1366 2007-12-20 Richard Hult <richard@imendio.com>
1368 * gdk/quartz/GdkQuartzWindow.c:
1369 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
1370 processing events after changing the size.
1372 2007-12-20 Richard Hult <richard@imendio.com>
1374 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
1375 Add stub for quartz to fix build.
1377 2007-12-20 Christian Persch <chpe@gnome.org>
1379 * modules/other/gail/Makefile.am:
1380 * modules/other/gail/gailimage.c: (gail_image_class_init),
1381 (gail_image_init), (elide_underscores), (gail_image_get_name),
1382 (atk_image_interface_init), (gail_image_finalize):
1383 * modules/other/gail/gailimage.h:
1384 R modules/other/gail/gailintl.h:
1385 * po/POTFILES.skip: Use the stock item's label as the name of the
1386 accessible in gailimage.c. Bug #504246.
1388 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
1390 Avoid some compiler warnings and remove obsolete code. (#339540)
1392 * gtk/gtkcalendar.c: Change week and year variable in
1393 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
1394 0" block from calendar_paint_day: The feature in question is handled
1395 few lines above. Cast data returned by gtk_selection_data_get_text()
1396 to (gchar*) in gtk_calendar_drag_data_received.
1398 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
1400 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
1402 2007-12-19 Johan Dahlin <johan@gnome.org>
1404 * tests/buildertest.c (test_object_properties):
1405 Add another call to gtk_builder_add_string after using
1406 delayed properties, as reported in #504393 but already
1409 2007-12-18 Christian Persch <chpe@gnome.org>
1412 * docs/reference/Makefile.am:
1413 * docs/reference/libgail-util/*:
1414 * gail-uninstalled.pc.in:
1416 * modules/Makefile.am:
1417 * modules/other/Makefile.am:
1418 * modules/other/gail/*:
1419 * modules/other/gail/libgail-util/*:
1420 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
1422 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1424 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
1425 * gdk/win32/gdkproperty-win32.c:
1426 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
1428 * gtk/gtkimmodule.[hc]:
1429 * gtk/gtkimmulticontext.[hc]: When determining the default context,
1430 look at the gtk-im-module setting, and listen for changes to the
1431 setting. (#502446, Akira Tagoh)
1433 2007-12-17 Kristian Rietveld <kris@imendio.com>
1435 * gtk/gtktooltip.c (gtk_tooltip_finalize),
1436 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
1437 to NULL as soon as it's destroyed. (#496546, patch from
1440 2007-12-17 Kristian Rietveld <kris@imendio.com>
1442 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
1443 always determine what arrow to show if show_sort_indicator is true.
1444 (#352738, Chris Vine).
1446 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
1448 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
1449 Sébastien Granjoux)
1451 * gtk/gtkpaned.c: Call gtk_container_forall instead of
1452 gtk_container_foreach in get_child_panes.
1454 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
1456 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
1458 Plug leak: When reordering the info in the list the old node is
1459 removed but not freed. (#503569)
1461 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
1463 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
1464 Use u32 instead of __u32 and u8 instead of __u8 as the other types
1465 are deprecated since DirectFB 1.0.0. If compiling with an older
1466 version define the new type name to the old types. Fixes bug #503190.
1468 2007-12-14 Ray Strode <rstrode@redhat.com>
1470 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
1471 instead of g_signal_connect_after (..., "realize", ...) as an
1472 alternative to gtk_widget_realize () (bug 503537).
1474 2007-12-14 Michael Natterer <mitch@imendio.com>
1476 * gdk/gdkinternals.h
1477 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
1480 * gdk/gdkapplaunchcontext.c
1481 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
1482 header already includes everything now.
1484 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1486 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
1487 next stable release shall be 2.16, not 2.14 - even if disagree.
1489 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
1491 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1493 Change GtkToolItem to retrieve its properties from GtkToolShell
1494 interface, instead of relying on being child of a GtkToolbar.
1497 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
1498 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
1499 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
1500 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
1501 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
1502 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
1503 Take section docs from template file and update them for GtkToolShell.
1504 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
1505 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
1507 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1509 Extract loading of GtkPageSetup and GtkPrintSettings from their
1510 *_new_*() functions and move that code into separate
1511 *_load_*() functions (#475565).
1513 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
1514 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
1515 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
1516 Change the matching *_new_*() functions to use those functions.
1518 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1521 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
1523 2007-12-14 Kristian Rietveld <kris@imendio.com>
1525 * gtk/tests/liststore.c:
1526 * gtk/tests/treestore.c: added tests for insertion functions.
1528 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
1530 * Add RandR 1.2 support
1532 - New monitors_changed signal - New API to get width/height of
1533 monitors, and the name of the plug
1535 2007-12-13 Kristian Rietveld <kris@imendio.com>
1537 * gtk/tests/liststore.c:
1538 * gtk/tests/treestore.c: test the move and swap functions on a
1539 store with only one node.
1541 2007-12-13 Kristian Rietveld <kris@imendio.com>
1543 * gtk/gtktestutils.c (gtk_test_init): add a call to
1546 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
1549 2007-12-13 Kristian Rietveld <kris@imendio.com>
1551 * gtk/tests/liststore.c:
1552 * gtk/tests/treestore.c: start composing tests for the list and tree
1555 * gtk/tests/treeview-scrolling.c: added automated tests for
1556 GtkTreeView's scrolling "subsystem".
1558 * gtk/tests/Makefile.am: updated; added new test programs.
1560 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
1562 Make the code compile again after the GdkAppLaunchContext changes.
1564 * configure.in: Add gio-2.0 to GDK_PACKAGES.
1565 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
1567 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1569 * gdk/gdkapplaunchcontext.c: Add docs
1571 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1573 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
1574 in gdk, providing startup notification. (#503203)
1576 * gdk/x11/gdkapplaunchcontext-x11.c:
1577 * gdk/win32/gdkapplaunchcontext-win32.c:
1578 * gdk/quartz/gdkapplaunchcontext-quartz.c:
1579 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
1580 parts. All but X11 are just empty stubs for now.
1583 * gdk/gdkinternals.h:
1585 * gdk/x11/Makefile.am:
1586 * gdk/win32/Makefile.am:
1587 * gdk/quartz/Makefile.am:
1588 * gdk/directfb/Makefile.am: Necessary glue.
1590 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
1592 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
1594 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1596 * gdk/directfb/gdktestutils-directfb.c:
1597 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
1598 which adds testing functions to the DirectFB backend.
1600 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1602 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
1603 Ciccani which fixes the mixing of gdk and cairo rendering.
1605 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
1607 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
1608 on "drag-motion" handlers. Clearify documentation for
1611 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
1613 * buildertest.c: made unnecessarily exported symbols static.
1614 switched g_return_if_fail() statements in tests to assertions.
1615 special cased currently failing Widget/accesibility test to
1616 run only for g_test_thorough(), so it doesn't break make check.
1617 some coding style fixes.
1619 * Makefile.am: added buildertest to TEST_PROGS.
1621 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1623 * docs/tutorial/gtk-tut.sgml:
1624 Use gtk_widget_get_parent_window() instead of widget->parent->window.
1626 2007-12-10 Richard Hult <richard@imendio.com>
1628 * gdk/quartz/Makefile.am:
1629 * gdk/quartz/gdkquartz.h:
1630 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
1631 header (bug #405915). Also add a getter for the toplevel nswindow.
1633 2007-12-10 Richard Hult <richard@imendio.com>
1635 * gdk/quartz/gdkdrawable-quartz.c:
1636 (gdk_quartz_drawable_get_context),
1637 (gdk_quartz_drawable_release_context):
1638 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
1639 (gdk_event_check), (gdk_event_dispatch), (poll_func):
1640 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
1641 used for each drawing context and in prepare, dispatch and poll
1642 with one that exists across each main loop iteration. Fixes leaks
1643 on leopard and protects against future leaks introduce when the
1644 underlying system changes again (bug #492977).
1646 2007-12-10 Richard Hult <richard@imendio.com>
1648 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
1649 Fix the check for no changes to position and size.
1651 2007-12-10 Richard Hult <richard@imendio.com>
1653 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
1654 sized areas at (0, 0), patch from Paul Davis.
1656 2007-12-10 Richard Hult <richard@imendio.com>
1658 * gdk/quartz/gdkprivate-quartz.h:
1659 * gdk/quartz/gdkeventloop-quartz.c:
1660 (_gdk_quartz_event_loop_get_pending),
1661 (_gdk_quartz_event_loop_check_pending),
1662 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
1663 (gdk_event_check), (gdk_event_dispatch):
1664 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
1665 (_gdk_events_queue): Fix a bug where we could end up trying to
1666 handle the same event more than once. Based on patch from Paul
1669 2007-12-10 Tor Lillqvist <tml@novell.com>
1671 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
1674 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1676 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
1677 to avoid further fallout from the fix for bug 388321.
1679 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1681 * gdk/directfb/gdkgc-directfb.c:
1682 * gdk/directfb/gdkdrawable-directfb.c:
1683 * gdk/directfb/gdkdirectfb.h:
1684 * gdk/directfb/gdkwindow-directfb.c:
1685 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
1686 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
1687 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
1688 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
1689 which are expected to improve the performance of the DirectFB backend.
1690 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
1692 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1694 * gtk/gtkcontainer.c: Correct the documentation of child
1695 property getter arguments. (#501992, David Brigada)
1697 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1699 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
1700 leak pixbufs. (#502250, Yevgen Muntyan)
1702 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
1704 * gtk/gtkprintunixdialog.c:
1705 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
1706 Print and Page Setup dialogs (#502202).
1708 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
1710 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
1711 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
1712 of XVFB_START, since it's the GTESTER invokation that needs this.
1714 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
1716 * gdk-pixbuf/gdk-pixbuf.symbols:
1718 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
1719 positives in abicheck.sh
1721 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1723 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
1724 GDK events generations in the DirectFB backend.
1726 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
1728 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
1729 set of likely unused display ids, because MacOS has no seq(1) command.
1731 2007-12-06 Richard Hult <richard@imendio.com>
1733 * gdk/quartz/gdkevents-quartz.c:
1734 (synthesize_crossing_events_for_ns_event): Fix warning when
1735 switching spaces in leopard.
1737 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
1739 * tests/floatingtest.c: ported to new testing framework.
1741 * tests/Makefile.am: run floatingtest as testing framework test.
1743 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
1745 * tests/autotestfilechooser.c: majorly speed up execution by reducing
1746 timeouts and converting main loop sleeps to pending/iterate loops with
1747 very low priority async handlers. eliminate output for non-verbose
1748 tests. assert successfull subtests in all test functions. use testing
1749 framework in main().
1751 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
1752 executed inside Xvfb upon make check.
1754 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
1756 * tests/objecttests.c: use string comparisons for string property
1757 values and get rid of referencing symbols in array initialization.
1759 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
1761 * gtk+/Makefile.decl: run tests in current dir after setting up the
1762 logging directory, so their results get properly merged into the
1765 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
1766 tests to loop over registered Gdk/Gtk+ types.
1768 * gtk+/tests/objecttests.c: new test program, implements automated
1769 property tests. several properties are blacklisted because they
1770 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
1771 can be used to test blacklisted properties and see which proprty failed.
1773 2007-12-04 Richard Hult <richard@imendio.com>
1775 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
1776 Fully initialize the root window, fixes bug #501583.
1778 2007-12-04 Matthias Clasen <mclasen@redhat.com>
1780 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
1783 2007-12-03 Richard Hult <richard@imendio.com>
1785 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
1786 Don't crash when dragging from a source that doesn't support uri
1787 lists (bug #499868, Paul Davis).
1789 2007-12-03 Richard Hult <richard@imendio.com>
1791 * gdk/quartz/gdkwindow-quartz.c:
1792 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
1793 parent relative bg pixmap is set, and no parent has a bg
1794 pixmap. Fixes bug #500804.
1796 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1798 Two optimizations for icon cache lookups.
1800 * gtk/gtkiconcache.[hc]:
1801 * gtk/gtkicontheme.c: Remember the directory index for
1802 subdirectories, instead of running over the directory list
1805 * gtk/gtkiconcache.c (find_image_offset): Remember the last
1806 chain and try it first; this helps with the the usage patterns
1807 in gtkicontheme.c, where the same icon is queried for a lot
1810 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
1812 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
1813 functions from header files. this should be portable across linux and
1814 Mac OS, unlike the previpous sed expression.
1816 2007-12-1 Cody Russell <bratsche@gnome.org>
1818 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
1819 On Windows, queue a redraw of child2 whenever we set
1820 the pane handle position. This is unfortunately kind
1821 of hacky, but solves the visual artifacts that were
1822 occuring on at least certain types of child widgets
1823 (e.g., text views and tree views) that are inside
1824 horizontal or vertical panes. (#144269)
1826 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1828 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
1830 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1832 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
1835 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1837 * gtk/Makefile.am: Fix ordering of subdirs.
1839 2007-11-28 Tor Lillqvist <tml@novell.com>
1841 A proper build of GNU libintl is supposed to export the variable
1842 _nl_msg_cat_cntr. configure looks for that variable in order to
1843 recognize GNU gettext. If it sees that it is indeed GNU gettext
1844 that is used, it decides to install message catalogs in
1845 share/locale, otherwise in lib/locale. Until now on Windows I have
1846 built GTK+ against a build of GNU gettext that did not export
1847 _nl_msg_cat_cntr. But this will change, so we can't assume message
1848 catalogs are always in lib/locale.
1850 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
1851 GTK_LOCALEDIR being either in "lib" or "share". Move the function
1852 before the inclusion of gtkprivate.h so that it sees the original
1855 * gtk-zip.sh.in: Check whether the message catalogs are in
1856 share/locale or lib/locale.
1858 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
1859 that the code in _gtk_get_localedir() will find the slashes.
1861 2007-11-28 Tor Lillqvist <tml@novell.com>
1863 * gtk/Makefile.am: Improve portability. The -o option is present
1864 only in newish GNU egreps. Use one more sed in the pipeline
1867 2007-11-28 Tor Lillqvist <tml@novell.com>
1869 Fix #375893, patch by Ben Hague:
1871 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
1872 around GetLogicalDrives() that takes also the viewable drive
1873 restrictions in the Registry (which are usually the result of an
1874 Active Directory Group Policy) into account.
1876 (check_volumes, gtk_file_system_win32_list_volumes) Call
1877 get_viewable_logical_drives() instead of GetLogicalDrives().
1879 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1881 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
1882 variables to silence valgrind. (#495124, Morten Welinder)
1884 2006-11-26 Ryan Lortie <desrt@desrt.ca>
1886 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
1887 that the construct_child function is responsible for returning a
1889 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
1890 objects from constructors
1891 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
1892 g_object_ref() to this construction function (it's the only
1897 2006-11-26 Ryan Lortie <desrt@desrt.ca>
1899 * gtkbuilder.c: remove concept of root objects and just refcount
1900 all objects in the builder. Fixes #496651.
1902 2007-11-26 Ryan Lortie <desrt@desrt.ca>
1904 * tests/buildertest.c (test_window): fix invalid free
1906 2007-11-26 Josselin Mouette <joss@malsain.org>
1908 reviewed by: Federico Mena Quintero
1910 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
1911 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
1912 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
1913 Make the shortcuts activate with a single click. (#148828)
1914 Fix a few things affected by the change:
1915 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
1916 where no shortcut is selected.
1917 - Don't activate a shortcut in the response callback.
1918 - Filter out duplicate entries in volumes and bookmarks to
1919 avoid the selection to change when reordering them with DnD.
1921 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1924 * gtk/gtknotebook.c:
1925 * gtk/gtkplugprivate.h:
1927 * gtk/gtksocketprivate.h:
1928 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
1930 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1932 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
1933 (#495574, Richard Hult)
1935 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1937 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
1938 String change ! (#376361, Sven Neumann)
1940 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1942 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
1944 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
1947 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1949 * gtk/gtkassistant.c: Improve alternative button
1950 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
1952 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1954 * gtk/gtkcalendar.c: Fix a theming problem with colors
1955 in GtkCalendar. (#499703, Michael Hofmann)
1957 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1959 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
1961 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1963 Use templates for glib-mkenums calls instead of
1964 complicated commandlines in Makefiles. (#429910)
1966 * gdk-pixbuf/Makefile.am:
1969 * perf/Makefile.am: Use templates for glib-mkenums
1971 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
1972 * gdk/gdkenumtypes.[ch].template:
1973 * gtk/gtktypebuiltings.[ch].template:
1974 * perf/typebuiltins.[ch].template: The templates
1976 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1978 * gtk/gtkfilechooserbutton.c:
1979 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
1980 some compilers choke on that. (#467722)
1982 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1984 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
1985 about hook setup. (#425004, Emmanuele Bassi)
1987 2007-11-26 Tor Lillqvist <tml@novell.com>
1989 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
1990 monitor the window currently is on, not always the primary
1991 monitor. (#463865, Tim Evans)
1993 2007-11-26 Tor Lillqvist <tml@novell.com>
1995 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
1997 * gdk/win32/Makefile.am: Add it.
1999 2007-11-26 Tor Lillqvist <tml@novell.com>
2001 * configure.in: Don't add jasper to all_loaders if no libjasper.
2003 2007-11-25 Bastien Nocera <hadess@hadess.net>
2005 * configure.in: Add detection for libjasper, used by the
2006 gdk-pixbuf JPEG2000 loader
2008 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2010 * configure.in: Require gtk-doc 1.8
2012 * */*.c: Use gtk-doc abbreviations for examples in docs.
2014 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2016 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
2019 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2021 * gtk/gtkdialog.c: Move signal and property documentation inline,
2022 fix a problem with the ::response signal docs. (#499133, Josselin
2025 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
2027 * Makefile.decl: initialize automake variables EXTRA_DIST and
2028 TEST_PROGS for unconditional appending via += in other makefiles.
2029 define recursive test targets: test, test-report, perf-report,
2030 full-report, as described here:
2031 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
2032 the test targets will execute Gtk+ test programs within an Xvfb session.
2034 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
2036 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
2037 g_test_run() to run the tests to integrate with the testing framework.
2039 * gtk/tests/Makefile.am: removed exemplary testing rules.
2041 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
2042 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
2043 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
2044 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
2045 * docs/reference/Makefile.am, docs/tools/Makefile.am:
2046 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
2047 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
2048 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
2049 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
2050 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
2051 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
2052 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
2053 * modules/engines/ms-windows/Theme/Makefile.am:
2054 * modules/engines/ms-windows/Makefile.am:
2055 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
2056 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
2057 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
2058 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
2059 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
2060 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
2061 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
2063 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2065 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
2066 (#485662, patch by Herbert Valerio Riedel)
2068 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2070 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
2072 2007-11-21 Richard Hult <richard@imendio.com>
2074 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
2075 stubs for the testing functions to fix the build.
2077 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2079 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
2080 (#467711, The Written Word)
2082 2007-11-21 Ross Burton <ross@openedhand.com>
2084 * gdk/x11/gdksettings.c:
2085 Add xsetting for gtk-scrolled-window-placement (#458103).
2087 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2089 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
2090 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
2091 (#469239, Michael Natterer)
2093 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2095 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
2096 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
2097 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
2098 (#436536, Tommi Komulainen)
2100 2007-11-21 Matthias Clasen <mclasen@redhat.com>
2102 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
2103 property. (#489782, Jan Janech)
2105 2007-11-20 Matthias Clasen <mclasen@redhat.com>
2107 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
2108 frames. (#107398, Owen Taylor, Miguel Gomez)
2110 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
2112 Moved Gdk test functions from Gtk+ to Gdk test utils.
2114 * gdk/Makefile.am: added gdktestutils.h to public includes.
2116 * gdk/gdk.h: added gdktestutils.h to public includes.
2118 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
2119 gdk_test_render_sync.
2121 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
2122 gdk_test_simulate_key, gdk_test_render_sync.
2124 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
2126 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
2127 gdk_test_simulate_key, gdk_test_render_sync.
2129 * gtk/gtktestutils.c:
2130 * gtk/gtktestutils.h:
2131 * gtk/gtk.symbols: removed gtk_test_simulate_button
2132 gtk_test_simulate_key, gtk_test_xserver_render_sync.
2134 * gtk/tests/testing.c: call gdk_test_render_sync.
2136 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
2138 Added unit tests for Gtk+ testing utilities.
2140 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
2141 utility functions. some g_test_* related portions are disabled and need
2142 to be enabled once Gtk+ depends on a new glib with the GLib testing
2143 framework integrated.
2145 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
2146 added exemplary test rules to run tests inside Xvfb. this needs to depend
2147 on gtester for full fledged testing.
2149 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
2150 collecting _get_type functions to catch e.g. gtk_text_get_type().
2152 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
2154 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
2156 Added Gtk+ testing utilities.
2158 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
2159 for the most part, the functions herein involve navigating and interacting
2160 with dialog elements programatically, to automate user interaction tests of
2161 dialogs and widgets.
2163 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
2165 * gtk/gtk.symbols: added gtk_test_* symbols.
2167 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
2168 generate gtktypefuncs.c which contains a list of all _get_type functions in
2170 2007-11-20 Bastien Nocera <hadess@hadess.net>
2172 * configure.in: add support for conditional icns gdk-pixbuf loader
2175 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
2177 * configure.in: updated version number to 2.15.0 for development.
2179 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
2181 === Branch for 2.12 ===