1 2008-03-03 Tor Lillqvist <tml@novell.com>
3 * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
6 2008-03-02 Johan Dahlin <johan@gnome.org>
8 * gtk/gtkitemfactory.h: Use void instead of empty arguments.
9 (#508760, Philip Van Hoof)
11 * gtk/gtkiconview.c (gtk_icon_view_paint_item):
12 Remove left-over focus_pad variable.
13 (#490892, Claudio Saavedra)
15 * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
18 2008-03-02 Johan Dahlin <johan@gnome.org>
20 * docs/tutorial/gtk-tut.sgml: Add a missing space
23 2008-03-03 Tor Lillqvist <tml@novell.com>
25 * modules/engines/ms-windows/msw_style.c (draw_box): Check that
26 the widget is a GtkButton before casting.
28 2008-03-02 Johan Dahlin <johan@gnome.org>
30 * configure.in: Compare using = instead of ==, which is portable.
31 (#490787, Thomas Klausner)
33 d2008-03-02 Johan Dahlin <johan@gnome.org>
35 * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
37 (#496032, Nelson Benitez)
39 2008-02-29 Johan Dahlin <johan@gnome.org>
41 * demos/gtk-demo/demo.ui:
42 * gtk/gtkbuilderparser.c:
43 * gtk/gtkbuilderprivate.h:
45 * tests/buildertest.c:
46 Add translatable/context and comment attributes on
47 <col> tags under a GtkListStore. Refactor parts of the
48 translation api and make it available inside gtk+ itself.
49 Update tests and example.
50 Fixes a part of #518642
52 2008-02-29 Johan Dahlin <johan@gnome.org>
55 Add missing g_return_val_if_fail checks for public API.
57 * gtk/gtkbuilderparser.c:
58 * gtk/gtkbuilderprivate.h:
59 Do not use g_error for a few more errors, instead set
60 the GError sent in through add_from_file/add_from_string.
61 * tests/buildertest.c:
62 Add a couple of new parsing tests.
63 (#519199, Pavel Syomin)
65 2008-02-29 Federico Mena Quintero <federico@novell.com>
67 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
68 refreshing an existing folder (i.e. when we are about to reload
69 its file list), turn off the folder's is_finished_loading flag.
70 Otherwise callers which do ::is_finished_loading() followed by
71 ::list_children() will get nothing.
73 2008-02-29 Cody Russell <bratsche@gnome.org>
75 * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
76 say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
78 2008-02-28 Matthias Clasen <mclasen@redhat.com>
80 * gtk/gtkcalendar.h: Remove trailing comma from enum to
81 make the compiler happy. (#517295, Sylvain Pasche)
83 2008-02-27 Michael Natterer <mitch@imendio.com>
93 * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
94 private functions and virtual function implementations.
96 2008-02-27 Richard Hult <richard@imendio.com>
98 * gdk/quartz/GdkQuartzView.c:
99 * gdk/quartz/GdkQuartzView.h:
100 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
101 Fix performance regression for borderless transparent windows
104 2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
106 * tests/testgtk.c: Revert back to r19454.
108 2008-02-27 Sven Neumann <sven@gimp.org>
110 * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
111 Quartz backend, use a native Mac OS X application for the print
112 preview (bug #518624).
114 2008-02-26 Michael Natterer <mitch@imendio.com>
116 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
117 the members of info->tag_stack since they are a) gobjects and b)
118 not even owned by us, ugh... Fixes crash when deserializing fails.
120 2008-02-26 Sven Neumann <sven@gimp.org>
122 * docs/tools/shooter.c (find_toplevel_window)
123 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
124 argument passed to XQueryTree().
126 2008-02-25 Matthias Clasen <mclasen@redhat.com>
128 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
129 don't use beagle_query_add_hit_type.
131 2008-02-25 Richard Hult <richard@imendio.com>
133 * gdk/quartz/gdkevents-quartz.c
134 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
136 2008-02-24 Richard Hult <richard@imendio.com>
138 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
139 shown without gdk's control when clicking the dock icon.
141 2008-02-24 Richard Hult <richard@imendio.com>
143 * gdk/quartz/gdkprivate-quartz.h:
144 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
145 Use the subtype field for the custom event that is used to wake up
146 the mainloop so we can have other custom event types.
148 * gdk/quartz/gdkevents-quartz.c:
149 (_gdk_quartz_events_trigger_crossing_events):
150 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
151 crossing events after showing a window if necessary, to work
152 around problems with the tracking rect API.
154 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
156 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
157 wrong results on win32 because it doesn't set the printing units,
158 which affect the transformation of the cairo context
159 (#347125, Erik van Pienbroek)
161 2008-02-22 Tor Lillqvist <tml@novell.com>
163 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
165 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
167 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
168 acceptable for a module to only support the save_to_callback()
169 method if it marks itself as WRITABLE
171 2008-02-16 Matthias Clasen <mclasen@redhat.com>
173 * configure.in: Bump version
175 2008-02-16 Matthias Clasen <mclasen@redhat.com>
177 * === Released 2.13.0 ===
179 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
181 2008-02-21 Tor Lillqvist <tml@novell.com>
183 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
184 pass the format string to strftime in the C library's locale's
185 charset, not the system's. Correspondingly, the return value from
186 strftime() is in the C library's locale's charset. (#509885)
188 2008-02-20 Richard Hult <richard@imendio.com>
190 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
191 the right window level and shadow after recreating the window.
193 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
194 necessary after drawing (bug #517338).
196 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
198 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
199 call to g_type_class_unref in case of error. (#517563)
201 2008-02-18 Sven Neumann <sven@gimp.org>
203 * gtk/Makefile.am (STOCK_ICONS)
204 * gtk/stock-icons/16/gtk-page-setup.png
205 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
206 taken from GNOME icon theme.
208 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
210 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
212 * configure.in: Added Kannada (kn) to ALL_LINGUAS
214 2008-02-17 Johan Dahlin <johan@gnome.org>
216 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
217 When converting a stock item based on the label, remove the label property.
219 2008-02-17 Richard Hult <richard@imendio.com>
221 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
222 position after showing the window since the window manager might
223 not place it where we requested in the first places.
225 2008-02-17 Richard Hult <richard@imendio.com>
227 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
228 (_gdk_quartz_window_detach_from_parent),
229 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
230 the toplevel ordering list in all places where the order is
231 potentially changed. Fixes mouse focus issues for windows with
232 a transient parent set.
234 2008-02-17 Richard Hult <richard@imendio.com>
236 * gdk/quartz/gdkevents-quartz.c
237 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
238 window when event debugging is enabled.
240 2008-02-16 Richard Hult <richard@imendio.com>
242 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
243 to the scroll event (bug #516757, Paul Davis).
245 2008-02-16 Matthias Clasen <mclasen@redhat.com>
249 2008-02-16 Matthias Clasen <mclasen@redhat.com>
251 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
254 2008-02-15 Matthias Clasen <mclasen@redhat.com>
256 * gdk/Makefile.am: Don't install private headers. (#463510)
258 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
259 the installed header gdkprivate.h.
261 2008-02-15 Matthias Clasen <mclasen@redhat.com>
263 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
264 a crash with hidden, reorderable tabs. (#513230,
265 Mike Massonnet, patch by Carlos Garnacho)
267 2008-02-15 Matthias Clasen <mclasen@redhat.com>
269 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
270 Warn on duplicate action group names. (#501746, Christian
273 2008-02-15 Matthias Clasen <mclasen@redhat.com>
276 * modules/other/gail/tests/Makefile.am:
277 * modules/other/gail/libgail-util/Makefile.am:
278 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
279 builds. (#516254, Yevgen Muntyan)
281 2008-02-15 Matthias Clasen <mclasen@redhat.com>
286 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
287 instead of hardcoded target tables. (#516092, Christian Persch)
289 2008-02-15 Matthias Clasen <mclasen@redhat.com>
291 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
292 add the same target atom twice. (#516087, Christian Persch)
294 2008-02-15 Matthias Clasen <mclasen@redhat.com>
296 * tests/testfilechooser.c: Add a --backend option.
297 (#516073, Christian Persch)
299 2008-02-16 Richard Hult <richard@imendio.com>
301 * gdk/quartz/gdkprivate-quartz.h:
302 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
305 2008-02-15 Matthias Clasen <mclasen@redhat.com>
307 * configure.in: Go back to 2.13.0 as version for now,
308 as there was no consensus to do the jump.
310 * many other places: Update Since: tags.
312 2008-02-15 Matthias Clasen <mclasen@redhat.com>
314 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
316 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
318 2008-02-15 Richard Hult <richard@imendio.com>
320 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
321 instead of bounds when resizing windows.
323 2008-02-15 Matthias Clasen <mclasen@redhat.com>
325 * gdk/x11/gdkkeys-x11.c:
326 * gdk/x11/gdkcolor-x11.c:
327 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
329 2008-02-15 Matthias Clasen <mclasen@redhat.com>
331 * gdk/x11/gdktestutils-x11.c:
332 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
334 2008-02-15 Tor Lillqvist <tml@novell.com>
336 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
337 leak Registry key handles. (#516578)
339 2008-02-14 Richard Hult <richard@imendio.com>
341 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
342 makeKeyWindow unfortunately doesn't work in all cases, we must use
343 makeKeyAndOrderFront.
345 2008-02-14 Richard Hult <richard@imendio.com>
347 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
348 (gdk_window_hide), (gdk_window_fullscreen),
349 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
350 the window is hidden.
352 2008-02-14 Richard Hult <richard@imendio.com>
354 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
355 resizing to be consistent and to avoid introducing an internal
356 transform in the view.
358 2008-02-14 Richard Hult <richard@imendio.com>
360 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
363 2008-02-14 Johan Dahlin <johan@gnome.org>
366 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
368 2008-02-13 Richard Hult <richard@imendio.com>
370 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
371 Remove unused variables.
372 (gtk_clipboard_set_contents),
373 (gtk_clipboard_get_owner), (clipboard_unset),
374 (gtk_clipboard_request_targets): Notify the previous clipboard
375 owner when the owner changes. Fixes bug #493406.
377 2008-02-13 Richard Hult <richard@imendio.com>
379 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
380 the return value (return number of colors that failed), and handle
382 (gdk_colormap_free_colors): Fix typo in comment.
384 2008-02-13 Kristian Rietveld <kris@imendio.com>
386 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
387 queue a redraw if the rubber banding has actually been active.
389 2008-02-12 Matthias Clasen <mclasne@redhat.com>
391 * gtk/gtkpapersize.c:
392 * gtk/gtkprintoperation.c:
393 * gtk/gtkvolumebutton.c:
394 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
395 out by Behdad Esfahbod.
397 2008-02-12 Federico Mena Quintero <federico@novell.com>
399 Merged from gtk-2-12:
401 Don't focus the file list when shortcuts get activated. This
402 removes a lot of ambiguity in when the file selection should
403 change, and makes the overall code flow simpler.
405 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
406 file/save dialog clears the filename entry when changing
409 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
410 focus should not go to the file list when a shortcut is activated.
412 * gtk/gtkfilechooserdefault.c
413 (shortcuts_activate_volume_mount_cb): Don't focus the file list
414 (shortcuts_activate_get_info_cb): Likewise.
416 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
417 the file list (this was the last place where we would focus the
418 file list explicitly). If you are in the location entry, for
419 example, you don't want Alt-Home to take you to the file list; you
420 just want the current folder to change. Thanks to Olle Bergkvist
421 <olle.bergkvist@yahoo.se> for pointing this out in
422 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
423 (focus_browse_tree_view_if_possible): Removed.
425 2008-02-12 Matthias Clasen <mclasen@redhat.com>
427 Skip exensions when selecting filenames in the save-as dialog.
428 (#362516, Carlos Garnacho)
430 * gtk/gtkfilechooserentry.h:
431 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
432 New function to skip the extension part when selecting a filename.
433 (_gtk_file_chooser_entry_set_base_folder): Use it here.
435 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
438 2008-02-12 Matthias Clasen <mclasen@redhat.com>
440 * gtk/gtkiconview.c: Fix state change reporting for
441 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
443 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
445 * gtk/gtkrecentchooser.c:
446 (gtk_recent_chooser_class_init): Set the default value of the
447 :show-not-found property to TRUE, as every implementation sets
450 * gtk/gtkrecentchooserdefault.c:
451 (_gtk_recent_chooser_default_init): Sync show_tips to the
452 default value of the :show-tips property.
454 2008-02-12 Matthias Clasen <mclasen@redhat.com>
456 * gtk/gtkclipboard-quartz.c:
458 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
461 2008-02-12 Kristian Rietveld <kris@imendio.com>
463 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
464 (gtk_tree_view_real_toggle_cursor_row): guard against people
465 deleting the row in question in the selection-changed callback.
466 (#514621, Andreas Koehler).
468 2008-02-12 Matthias Clasen <mclasen@redhat.com>
470 * gtk/*.c: Unify the handling of various "Enter" keysyms
471 all over the place. (#515047, Christian Persch)
473 2008-02-12 Matthias Clasen <mclasen@redhat.com>
475 * gtk/gtkfilesystemmodel.c:
477 * gtk/gtkwidget.c: Use g_value_set_static_string() where
478 appropriate. (#515042, Christian Persch)
480 2008-02-12 Matthias Clasen <mclasen@redhat.com>
482 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
484 2008-02-12 Matthias Clasen <mclasen@redhat.com>
486 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
488 2008-02-12 Matthias Clasen <mclasen@redhat.com>
490 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
491 (recent_model_sort_drag_data_get):
492 (search_model_sort_drag_data_get):
493 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
494 * gtk/gtkpathbar.c (button_drag_data_get_cb):
495 Use gtk_selection_data_set_uris() instead of doing it
496 by hand. (#514890, Christian Persch)
498 2008-02-12 Michael Natterer <mitch@imendio.com>
500 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
501 gtk_get_current_event_time().
503 2008-02-12 Michael Natterer <mitch@imendio.com>
505 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
506 gtk_window_get_key_hash() to get the hash instead of manually
507 fiddling with quarks and gtk_window_keys_changed(). Also add
508 g_return_if_fail() to this public function.
510 2008-02-11 Matthias Clasen <mclasen@redhat.com>
512 Support keynav in status icons. (#473786, Li Yuan)
514 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
516 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
518 2008-02-11 Kristian Rietveld <kris@imendio.com>
520 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
521 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
522 wrt. link deletion from list; contination of fix for #503569.
524 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
526 * gtk/gtkrecentchoosermenu.c:
527 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
528 on the placeholder menu item.
530 * tests/testrecentchoosermenu.c:
531 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
532 whether the placeholder menu item gets shown.
534 2008-02-10 Cody Russell <bratsche@gnome.org>
536 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
537 Check the return value of _gtk_file_chooser_get_file_system () for
538 NULL before passing it to gtk_file_system_path_to_uri ().
539 (#515667, Francesco Montorsi)
541 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
543 * gtk/gtkbuilder.c: Improve the documentation for
544 gtk_builder_connect_signals. (#514471)
546 2008-02-10 Matthias Clasen <mclasen@redhat.com>
548 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
551 2008-02-08 Cody Russell <bratsche@gnome.org>
553 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
554 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
556 2008-02-08 Richard Hult <richard@imendio.com>
558 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
559 delta from the NSEvent for now, generating multiple scroll events
560 results in a lot of events getting queued up and things get really
563 2008-02-08 Sven Herzberg <sven@imendio.com>
565 Adjust the code to match the documentation, examples, "common sense"
566 and existing applications.
568 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
569 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
572 2008-02-07 Cody Russell <bratsche@gnome.org>
574 * gdk/win32/gdkevents-win32.c
575 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
576 of a block that were causing compile problems on old
577 compilers. (#515053, reported by Kazuki IWAMOTO)
579 2008-02-07 Michael Natterer <mitch@imendio.com>
588 * gtk/gtkoptionmenu.c
592 * gtk/gtkradiomenuitem.c
594 * gtk/gtkscrolledwindow.c
595 * gtk/gtksocket.c: remove g_return_if_fail() from private
596 functions and virtual function implementations.
598 2008-02-07 Michael Natterer <mitch@imendio.com>
605 * gtk/gtkcellrenderercombo.c
608 * gtk/gtkdrawingarea.c
609 * gtk/gtkentrycompletion.c
615 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
616 functions and virtual function implementations.
618 2008-02-07 Christian Persch <chpe@gnome.org>
620 * gdk/gdkpixbuf-render.c:
621 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
622 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
623 otherwise there will be random pixel values in the semi-transparent
624 area of the pixbuf within the mask. Bug #487865.
626 2008-02-06 Cody Russell <bratsche@gnome.org>
628 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
629 otherwise things get wonky when you click on a menu. This fixes
630 a regression caused in #505928. Thanks to Tor for spotting this
633 2008-02-06 Michael Natterer <mitch@imendio.com>
644 * gtk/gtkseparatortoolitem.c
646 * gtk/gtktextlayout.c
647 * gtk/gtktoggletoolbutton.c
648 * gtk/gtktoolbutton.c
651 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
654 2008-02-05 Matthias Clasen <mclasen@redhat.com>
656 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
657 Allow to store half-open ranges.
659 2008-02-05 Cody Russell <bratsche@gnome.org>
661 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
662 down the stack until we get to a window that is mapped.
663 Otherwise hiding a window will cause all windows in the app
664 to be blocked. (#514643)
666 2008-02-05 Matthias Clasen <mclasen@redhat.com>
668 * gtk/updateiconcache.c: Ignore images in the toplevel theme
669 directory, avoiding one source of invalid caches that has been
672 2008-02-05 Matthias Clasen <mclasen@redhat.com>
674 * gtk/updateiconcache.c: Fix the previous commit to compile.
676 2008-02-05 Matthias Clasen <mclasen@redhat.com>
678 * gtk/updateiconcache.c: Install a printerr handler that
679 prepends the program name, since gtk-update-icon-cache output
680 often appears in the middle of other output, e.g. rpm update logs.
682 2008-02-05 Cody Russell <bratsche@gnome.org>
684 * gdk/win32/gdkprivate-win32.h
685 * gdk/win32/gdkevents-win32.c
686 * gdk/win32/gdkwindow-win32.c
687 * gdk/win32/gdkwindow-win32.h
688 * gdk/win32/gdkwin32.h:
689 Modal window rework. (#455627 and #511111)
691 2008-02-04 Michael Natterer <mitch@imendio.com>
693 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
694 g_return_if_fail() if the cell is not part of the combo instead of
695 crashing in the next line.
697 2008-02-01 Cody Russell <cody@jhu.edu>
699 * modules/engines/ms-windows/xp_theme.[ch]
700 * modules/engines/ms-windows/xp_theme_defs.h
701 * modules/engines/ms-windows/msw_rc_style.c
702 * modules/engines/ms-windows/msw_theme_main.c
703 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
704 attempted to stylize more like the rest of the gtk+ stack's code.
706 2008-02-01 Michael Natterer <mitch@imendio.com>
708 * tests/testgtk.c: initialize GdkColor structs to fix warning
709 about uninitialized "pixel" member.
711 * tests/testactions.c: connect the toolbar_style() callback so it
712 does something useful and doesn't warn about being defined but not
715 2008-01-31 Cody Russell <bratsche@gnome.org>
717 * gdk/win32/gdkevents-win32.c:
718 Refactored some of the window hiding/showing code from
719 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
720 under WM_ACTIVATE was causing the application to go into
721 a weird state when the user right-clicked on the taskbar
722 entry of a window that was minimized. (#505928)
724 2008-01-31 Cody Russell <bratsche@gnome.org>
726 * gtk/gtkpaned.c (gtk_paned_set_position):
727 Change queue_resize() to queue_draw(), and add a check for
728 child2 != NULL in case someone calls this before there is
729 a child packed in there. (#144269 again)
731 2008-01-31 Sven Neumann <sven@gimp.org>
733 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
734 applied patch from Denis Oliver Kropp <dok@directfb.org>.
736 2008-01-31 Sven Neumann <sven@gimp.org>
738 * gdk/directfb/gdkdisplay-directfb.c
739 * gdk/directfb/gdkdrawable-directfb.c
740 * gdk/directfb/gdkprivate-directfb.h
741 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
742 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
744 2008-01-31 Richard Hult <richard@imendio.com>
746 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
747 issues with undecorated windows. Revert the change done on
748 2008-01-25 and fix it by using the view's bounds instead. The
749 bounds will always be up to date when setting up the tracking
750 rect, so this should be more robust.
752 2008-01-30 Sven Neumann <sven@gimp.org>
754 * gdk/directfb/gdkdrawable-directfb.c
755 * gdk/directfb/gdkwindow-directfb.c
756 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
757 Oliver Kropp <dok@directfb.org>. Adds debug messages using
758 DirectFB's debugging system
760 2008-01-30 Sven Neumann <sven@gimp.org>
762 * gdk/directfb/gdkdirectfb.h
763 * gdk/directfb/gdkdisplay-directfb.c
764 * gdk/directfb/gdkdrawable-directfb.c
765 * gdk/directfb/gdkim-directfb.c
766 * gdk/directfb/gdkimage-directfb.c
767 * gdk/directfb/gdkinput-directfb.c
768 * gdk/directfb/gdkmain-directfb.c
769 * gdk/directfb/gdkpixmap-directfb.c
770 * gdk/directfb/gdktestutils-directfb.c
771 * gdk/directfb/gdkvisual-directfb.c
772 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
773 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
774 errors and has some cleanups.
776 2008-01-30 Michael Natterer <mitch@imendio.com>
778 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
779 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
782 * gtk/updateiconcache.c (add_string): cast const gchar* to
783 gpointer when inserting in a GHashTable.
785 * tests/testcalendar.c (calendar_detail_cb): remove const from
786 return value since it's a newly allocated string.
788 (calendar_update_details): free the detail.
790 2008-01-29 Johan Dahlin <johan@gnome.org>
792 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
794 * demos/gtk-demo/demo.ui:
795 Move the about dialog to the glade file, add accessible tags
796 examples to the markup file.
798 2008-01-28 Paolo Borelli <pborelli@katamail.com>
800 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
801 layout, fixes #512375.
803 2008-01-28 Michael Natterer <mitch@imendio.com>
806 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
808 2008-01-28 Michael Natterer <mitch@imendio.com>
810 * demos/gtk-demo/builder.c (about_activate): use
811 gtk_about_dialog_set_program_name() instead of the deprecated
814 2008-01-28 Michael Natterer <mitch@imendio.com>
817 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
820 2008-01-26 Johan Dahlin <johan@gnome.org>
823 * tests/textbuffertest.c:
824 Rename textbuffer test and port it to the new test framework
826 2008-01-25 Johan Dahlin <johan@gnome.org>
828 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
829 unsetting of GTK_MODULES.
831 * gtk/gtk-builder-convert
832 (GtkBuilderConverter._convert_adjustment): Handle the case where
833 there is no child text node.
834 (GtkBuilderConverter): Allow xml comments in most places.
836 2008-01-25 Johan Dahlin <johan@gnome.org>
838 * gtk/gtk-builder-convert
839 (GtkBuilderConverter._convert_combobox_items): Remove the items
840 even if there are no items set.
841 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
842 signals and tooltips for all menu items subclasses and
843 GtkImageMenuItem:label.
844 Makes it possible to fully convert and run Jokosher.glade.
846 2008-01-25 Johan Dahlin <johan@gnome.org>
848 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
849 (gtk_widget_buildable_get_internal_child), (free_action),
850 (free_relation), (gtk_widget_buildable_parser_finished),
851 (accessibility_start_element),
852 (gtk_widget_buildable_custom_tag_start),
853 (gtk_widget_buildable_custom_finished):
854 Implement accessible support, fixes #454653.
856 * gtk/gtk-builder-convert:
857 Add support for migrating old glade files
859 * tests/buildertest.c: (test_widget), (test_file):
860 Add accessible tests and imprve the test_file function to display
861 toplevels and run dialogs.
863 2008-01-25 Richard Hult <richard@imendio.com>
865 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
866 didn't change, fixes focus event issues for undecorated windows.
868 2008-01-25 Richard Hult <richard@imendio.com>
870 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
871 const and remove unused variables).
873 2008-01-25 Michael Natterer <mitch@imendio.com>
876 * gtk/gtkcellrenderer.h
881 * gtk/gtktreeprivate.h
882 * gtk/gtktreeviewcolumn.h
883 * gtk/gtkwidget.h: add const to constant structs which are passed
884 into GTK+. Also add some forgotten const for const strings.
888 * gtk/gtkcellrenderer.c
894 * gtk/gtktreeviewcolumn.c
895 * gtk/gtkwidget.c: changed accordingly.
897 2008-01-25 Sven Herzberg <sven@imendio.com>
899 Reviewed by Johan Dahlin.
901 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
902 this is called with something that's not a GtkUIManager
904 2008-01-24 Johan Dahlin <johan@gnome.org>
906 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
907 Chain up to parent, so widgets can have internal children.
909 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
911 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
914 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
916 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
918 Use pango_layout_set_height() for calendar details (#506049).
920 * configure.in: Require 1.19.3 for pango_layout_set_height().
921 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
923 2008-01-18 Johan Dahlin <johan@gnome.org>
925 * gtk/gtk-builder-convert (get_property_node): New method
926 (GtkBuilderConverter._create_object): Conditionally take a node as
927 a property value, so don't lose translate/context attributes if they
929 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
930 property values instead of strings.
931 (#509153, Erik van Pienbroek)
933 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
935 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
937 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
938 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
939 * tests/testcalendar.c: Duplicate calendar details before returning.
941 2008-01-16 Christian Persch <chpe@gnome.org>
943 * gtk/gtkwidget.c: Store the event mask and extension event mode
944 directly in the gobject data pointer, instead of in an allocated
947 2008-01-16 Michael Natterer <mitch@imendio.com>
949 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
950 gdk-pixbuf now uses gio functions.
952 2008-01-16 Matthias Clasen <mclasen@redhat.com>
954 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
955 the notify::model signal. (#509819, David Zeuthen)
957 2008-01-15 Michael Natterer <mitch@imendio.com>
965 * gdk/gdkwindow.h: made more struct pointer and array parameters
966 const. GDK should now be constified as far as possible without
967 breaking source compatibility. Includes some minor cleanup like
968 indentation and s/nfoo/n_foo/ (bug #508544).
974 * gdk/gdkregion-generic.c
976 * gdk/directfb/gdkdisplay-directfb.c
977 * gdk/directfb/gdkwindow-directfb.c
978 * gdk/quartz/gdkdisplay-quartz.c
979 * gdk/quartz/gdkwindow-quartz.c
980 * gdk/win32/gdkdisplay-win32.c
981 * gdk/win32/gdkwindow-win32.c
982 * gdk/x11/gdkdisplay-x11.c
983 * gdk/x11/gdkwindow-x11.c: changed accordingly.
985 2008-01-14 Michael Natterer <mitch@imendio.com>
987 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
990 (gtk_rc_parse_any): change variables to const and introduce
991 another local variable to fix const warnings.
993 2008-01-14 Michael Natterer <mitch@imendio.com>
995 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
996 of gdk_screen_get_font_options() to gpointer to get rid of const
999 2008-01-14 Michael Natterer <mitch@imendio.com>
1001 * tests/testdnd.c (source_drag_data_get): fix another call to
1002 gtk_selection_data_set().
1004 2008-01-14 Michael Natterer <mitch@imendio.com>
1006 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
1009 2008-01-14 Michael Natterer <mitch@imendio.com>
1011 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
1013 2008-01-14 Michael Natterer <mitch@imendio.com>
1015 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
1016 "uris" to guchar* when passing it to gtk_selection_data_set().
1018 2008-01-14 Michael Natterer <mitch@imendio.com>
1024 * gdk/gdkinternals.h
1026 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
1027 parameters const (bug #508544).
1032 * gdk/gdkrectangle.c
1033 * gdk/gdkpolyreg-generic.c
1034 * gdk/gdkregion-generic.c
1035 * gdk/directfb/gdkcolor-directfb.c
1036 * gdk/directfb/gdkgc-directfb.c
1037 * gdk/directfb/gdkgeometry-directfb.c
1038 * gdk/directfb/gdkwindow-directfb.c
1039 * gdk/quartz/gdkcolor-quartz.c
1040 * gdk/quartz/gdkgc-quartz.c
1041 * gdk/quartz/gdkgeometry-quartz.c
1042 * gdk/quartz/gdkwindow-quartz.c
1043 * gdk/win32/gdkcolor-win32.c
1044 * gdk/win32/gdkgc-win32.c
1045 * gdk/win32/gdkgeometry-win32.c
1046 * gdk/win32/gdkprivate-win32.h
1047 * gdk/win32/gdkwindow-win32.c
1048 * gdk/x11/gdkcolor-x11.c
1049 * gdk/x11/gdkgc-x11.c
1050 * gdk/x11/gdkgeometry-x11.c
1051 * gdk/x11/gdkmain-x11.c
1052 * gdk/x11/gdkprivate-x11.h
1053 * gdk/x11/gdkwindow-x11.c: changed accordingly.
1055 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
1058 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
1060 Explain name choice for gtk_tool_item_toolbar_reconfigured.
1062 * gtk/gtktoolitem.c: Add comment expaining name choice for
1063 gtk_tool_item_toolbar_reconfigured.
1065 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
1067 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
1068 implementations to notify its children, when some aspect of their
1069 configuration changed (#509042).
1071 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
1072 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
1073 Rename _gtk_tool_item_toolbar_reconfigured.
1075 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
1077 Include <gtk/gtktoolshell.h> from gtk.h.
1079 * gtk/gtk.h: Add gtktoolshell.h
1081 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
1083 Print angle brackets arround e-mail addresses in the about dialog
1084 (#409520, Mariano Suárez-Alvarez).
1086 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
1088 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
1090 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
1091 special casing so test widgets are always queues for destruction
1094 * gtk/tests/testing.c: removed bits left-over from testing without
1097 2008-01-10 Tor Lillqvist <tml@novell.com>
1099 * modules/other/gail/libgail-util/Makefile.am
1100 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
1103 2008-01-10 Tor Lillqvist <tml@novell.com>
1105 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
1106 uses gtkprintunixdialog API.
1108 2008-01-10 Tor Lillqvist <tml@novell.com>
1110 * gdk/win32/gdkdisplay-win32.c
1111 * gdk/win32/gdkglobals-win32.c
1112 * gdk/win32/gdkprivate-win32.h
1113 * gdk/win32/gdkscreen-win32.c
1114 * gdk/win32/gdkwindow-win32.c: Implement
1115 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
1116 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
1119 2008-01-10 Cody Russell <bratsche@gnome.org>
1121 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
1122 Properly ref/unref windows and parents. (#506769)
1124 2008-01-10 Richard Hult <richard@imendio.com>
1126 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
1127 (gdk_window_hide), (move_resize_window_internal): Move the
1128 tracking rect workaround from here...
1130 * gdk/quartz/GdkQuartzWindow.c:
1131 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
1132 movements during showing/hiding operations. Fixes bug #508516.
1134 2008-01-10 Michael Natterer <mitch@imendio.com>
1136 * gdk/directfb/gdkscreen-directfb.c
1137 (gdk_screen_get_monitor_width_mm)
1138 (gdk_screen_get_monitor_height_mm)
1139 (gdk_screen_get_monitor_plug_name): add these functions to make
1142 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
1144 * gtk/gtkrecentchoosermenu.c:
1145 (idle_populate_func), (idle_populate_clean_up): Fix possible
1146 recursion by resetting the idle source id. (#507605, William
1149 2008-01-10 Kristian Rietveld <kris@imendio.com>
1151 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
1152 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
1153 avoid valgrind warnings. (#507751, patch from Christian Persch).
1155 2008-01-10 Kristian Rietveld <kris@imendio.com>
1157 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
1158 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
1160 2008-01-10 Kristian Rietveld <kris@imendio.com>
1162 Fix #477175, reported by Juri Pakaste.
1164 * gtk/gtktreeprivate.h:
1165 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
1166 tree_view->priv->dy here directly, just calculate the new value
1167 and set it on the adjustment,
1168 (gtk_tree_view_adjustment_changed): add guards to not call
1169 gtk_tree_view_dy_to_top_row() if we are currently in
1170 gtk_tree_view_top_row_to_dy(),
1171 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
1172 coordinates, not tree coordinates,
1173 (gtk_tree_view_real_start_editing): add cast.
1175 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
1176 position of the editable in the "create new row and start editing"
1179 2008-01-09 Michael Natterer <mitch@imendio.com>
1181 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
1184 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
1185 * gtk/gtkicontheme.c (theme_list_contexts)
1186 (gtk_icon_theme_lookup_icon)
1187 * gtk/gtkimcontextsimple.c (beep_window)
1188 * gtk/gtklinkbutton.c (set_link_color)
1189 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
1192 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
1193 variable and add const to another to fix a warning.
1195 2008-01-07 Matthias Clasen <mclasen@redhat.com>
1197 * gtk/gtkassistant.c (remove_page): Be more robust when removing
1198 the current page. (#499951, Andreas Sandberg)
1200 2008-01-06 Johan Dahlin <johan@gnome.org>
1202 * gtk/gtkspinbutton.c: Declare value in the example code for
1203 GtkSpinButton::output, as pointed out by Anders Carlsson.
1205 2008-01-06 Christian Persch <chpe@gnome.org>
1207 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
1208 and remove an obsolete event box. Bug #506760.
1210 2008-01-06 Johan Dahlin <johan@gnome.org>
1212 * tests/buildertest.c (test_domain):
1213 Update, GtkBuilder::translation-domain is no longer set
1215 * gtk/gtkbuilderparser.c (parse_interface):
1216 Allow domains to be overridden in <interface>'s if a translation-domain
1217 is set in the builder.
1218 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
1219 of the builder, make the domain set in the <interface> apply only to strings
1221 (#496831, Ryan Lortie)
1223 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
1226 * gtk/gtktreestore.c (tree_model_end_element):
1227 Remove an unused variable
1229 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1231 * gtk/gtkspinbutton.c: Document the ::output signal and
1232 add an example. (#507566, example by Owen Taylor)
1234 2008-01-06 Johan Dahlin <johan@gnome.org>
1236 * gtk/gtkcellrenderercombo.c:
1237 (gtk_cell_renderer_combo_get_property),
1238 (gtk_cell_renderer_combo_set_property):
1239 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
1240 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
1241 * gtk/gtknotebook.c: (gtk_notebook_set_property):
1242 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
1243 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
1244 (gtk_text_buffer_get_property):
1245 * gtk/gtktextview.c: (gtk_text_view_set_property):
1246 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
1247 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
1248 (gtk_tool_button_get_property):
1249 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
1250 (gtk_tool_item_get_property):
1251 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
1252 * gtk/gtkwidget.c: (gtk_widget_set_property):
1253 * gtk/gtkwindow.c: (gtk_window_set_property):
1254 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
1257 2008-01-06 Johan Dahlin <johan@gnome.org>
1259 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
1260 Make sure that --root works for toplevel widgets.
1261 (#491847, Phil Lello)
1263 2008-01-05 Johan Dahlin <johan@gnome.org>
1265 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
1266 to make sure that make test-report works properly
1268 2008-01-05 Christian Persch <chpe@gnome.org>
1270 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
1271 GType as integer through gpointer. Bug #507395.
1273 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
1275 Avoid some compiler warnings (#507000).
1277 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
1278 for value argument of _gtk_builder_flags_from_string.
1279 * gtk/gtkwidget.c: Don't alias the child pointer passed
1280 to gdk_window_get_user_data.
1282 2008-01-04 Michael Natterer <mitch@imendio.com>
1284 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
1285 to set the time in the returned GdkTimeCoords.
1287 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
1289 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
1290 correct comparison function (kudos to Christian Persch and
1291 Claudio Saavedra for spotting this)
1293 * gtk/gtkrecentchooserutils.c:
1294 (sort_recent_items_mru),
1295 (sort_recent_items_lru): Ditto as above.
1297 2008-01-03 Johan Dahlin <johan@gnome.org>
1299 * tests/defaultvaluetest.c: Make it pass again.
1301 2008-01-02 Johan Dahlin <johan@gnome.org>
1303 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
1304 make it pass on Ubuntu.
1305 (main): Use gtk_test_list_all_types () instead of providing our
1307 And it no longer passes.
1309 2007-12-30 Johannes Schmid <jhs@gnome.org>
1311 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
1312 Also reorder menu when reordering tabs by drag & drop
1315 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
1316 Add a menu to one of the notebooks to have a test-case for
1317 the change mentioned above.
1319 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
1321 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
1323 2007-12-31 Christian Persch <chpe@gnome.org>
1325 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
1326 Plug a mem leak. Bug #506107.
1328 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1330 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
1331 icon cache api change. (#506135, Kazuki Iwamoto)
1333 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1335 Consider "wide-separators" and "separator-height" style properties:
1336 The separator is drawn using gtk_paint_box instead of cairo, when
1337 "wide-separators" is set. Also do not highlight details for previous
1338 or next month, if their day matches the selected day. (#339540)
1340 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
1341 in gtk_calendar_size_request and calendar_paint_day
1342 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
1343 for selected detail separators in GtkCalendar.
1345 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1347 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
1349 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
1350 a local variable instead in gtk_calendar_size_request.
1352 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1354 * tests/defaultvaluetest.c: Add enough exclusions to make the
1357 2007-12-28 Christian Persch <chpe@gnome.org>
1359 * modules/other/gail/Makefile.am:
1360 * modules/other/gail/tests/*:
1361 * configure.in: Merge tests from standalone gail. Bug #504568.
1363 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1365 * gtk/gtkclipboard.c: Make the finalizer work when display is
1368 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1370 Draw bottom shadow of GtkCalender headings. (#506113)
1372 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
1374 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1376 * gtk/gtkcalendar.c: Document the initial values of year/month/day
1379 2007-12-28 Christian Persch <chpe@gnome.org>
1381 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
1382 a mem leak. Bug #506096.
1384 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1387 * gtk/gtktreeview.c:
1388 * gtk/gtkprintoperation.c:
1389 * gtk/gtkprogressbar.c:
1390 * gtk/gtkmessagedialog.c:
1391 * gtk/gtknotebook.c:
1395 * gtk/gtklinkbutton.c:
1396 * gtk/gtkmenu.c: More default property value corrections.
1398 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1400 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
1401 accel_group unless it is set.
1403 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1405 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
1407 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1409 * gtk/gtkhandlebox.c: Fix the default values of shadow and
1410 shadow-type properties.
1412 * gtk/gtkfontsel.c: Fix the default values of several properties.
1414 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
1417 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
1419 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
1422 2007-12-28 Johan Dahlin <johan@gnome.org>
1424 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
1425 (gtk_dialog_buildable_custom_tag_start): Chain up.
1426 This makes it possible to have accelerators tags on GtkDialog
1429 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1431 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
1432 are shown within the widget, or just as tooltip. (#339540)
1434 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
1435 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
1436 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
1439 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1441 Try more decent appearance of calendar details separator. (#339540)
1443 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
1444 and make it short by one pixel on each side.
1446 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1448 Apply trivial code-style changes from attachement 101101. (#339540)
1450 * tests/testcalendar.c: Some updates to current GTK+ code-style.
1452 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1454 Restructure testcalendar for testing calendar details. (#339540)
1456 * tests/testcalendar.c: Push code arround for testing calendar details.
1458 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1460 Implement GtkTooltip API for calendar details. (#339540)
1462 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
1463 Remember detail overflows in calendar_paint_day to show the tooltip
1464 only when neccessary.
1466 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1468 Without setting "detail-width-chars" and "detail-height-rows"
1469 properties not only the widget has to be redrawn on certain
1470 conditions, but also its size must be recalculated. (#339540)
1472 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
1473 that function instead of gtk_widget_queue_draw.
1475 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1477 Consider details for size-request and expose-event. (#339540)
1479 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
1480 is_color_attribute functions. Change gtk_calendar_size_request
1481 and calendar_paint_day to consider and show calender details.
1483 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1485 * gtk/gtkcombobox.c: Introduce local priv variables to
1488 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1490 * gtk/gtkcombobox.c: Correct the default value for the
1491 tearoff-title property.
1493 * gtk/gtkcellrenderertext.c: Fix the default value for the
1494 wrap-mode and font-scale properties.
1496 * gtk/gtkaspectratio.c: Fix the default value for the ratio
1499 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1501 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
1502 defines. (#505708, MINAMI Hirokazu)
1504 2007-12-27 Christian Persch <chpe@gnome.org>
1506 * Makefile.am: Install gail.pc. Bug #505859.
1508 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
1510 Add infrastructure for GtkCalendar details. (#339540)
1512 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
1513 Add "detail-width-chars" and "detail-height-rows" properties,
1514 and gtk_calendar_set_detail_func function.
1516 2007-12-27 Xan Lopez <xan@gnome.org>
1519 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
1521 Add gtk_border_new to avoid memory allocator confusions when using
1522 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
1524 2007-12-27 Christian Persch <chpe@gnome.org>
1526 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
1527 bug #504886 not to read unitialised memory.
1529 2007-12-26 Xan Lopez <xan@gnome.org>
1531 * gtk/gtkstatusbar.c (has_extra_children): take into account the
1532 modification of the internal frame contents to decide if we have
1533 extra children. (#415677)
1535 2007-12-22 Christian Persch <chpe@gnome.org>
1537 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
1539 2007-12-25 Christian Persch <chpe@gnome.org>
1541 * modules/other/gail/gailwindow.c: (gail_window_initialize):
1542 Initialise |widget|. Fixes a buglet introduced by the commit from bug
1545 2007-12-25 Christian Persch <chpe@gnome.org>
1547 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
1549 2007-12-25 Christian Persch <chpe@gnome.org>
1551 * modules/other/gail/*.[ch]: Remove relocations from the atk
1552 factories. Remove unused gail_foo_new() functions. Fix object
1553 instantiation to be derivation safe by moving initialisation code
1554 from the removed gail_foo_new() functions to the
1555 AtkObjectClass::initialize implementation. Bug #505226.
1557 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1559 * modules/other/gail/gailentry.c:
1560 * modules/other/gail/gailimage.c:
1561 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
1562 uses of clipboards and settings. (#504722, Christian Persch)
1564 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1566 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
1569 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1571 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
1572 use the time and button information from the event. (#504901,
1575 2007-12-23 Cody Russell <bratsche@gnome.org>
1577 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
1578 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
1579 Fixes a regression caused by #164537 patch where transient
1580 windows that are hidden get shown (incorrectly) when their
1581 parents are minimized. (#504984)
1583 2007-12-22 Christian Persch <chpe@gnome.org>
1585 * modules/other/gail/gailcell.c:
1586 * modules/other/gail/gailcontainercell.c:
1587 * modules/other/gail/gailexpander.c:
1588 * modules/other/gail/gailtextcell.c:
1589 * modules/other/gail/gailtextview.c:
1590 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
1592 2007-12-22 Christian Persch <chpe@gnome.org>
1594 * modules/other/gail/*.c: Include config.h. Bug #504720.
1596 2007-12-22 Christian Persch <chpe@gnome.org>
1598 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
1599 handwritten get_type functions. Bug #504661.
1601 2007-12-23 Xan Lopez <xan@gnome.org>
1603 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
1604 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
1606 Patch by Sadrul Habib Chowdhury (#504804)
1608 2007-12-22 Christian Persch <chpe@gnome.org>
1610 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
1611 #504645, patch by Li Yuan.
1613 2007-12-22 Christian Persch <chpe@gnome.org>
1615 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
1617 2007-12-22 Christian Persch <chpe@gnome.org>
1619 * modules/other/gail/gail.c:
1620 * modules/other/gail/gailbutton.c:
1621 * modules/other/gail/gailcell.c:
1622 * modules/other/gail/gailcombo.c:
1623 * modules/other/gail/gailcombo.h:
1624 * modules/other/gail/gailcombobox.c:
1625 * modules/other/gail/gailentry.c:
1626 * modules/other/gail/gailexpander.c:
1627 * modules/other/gail/gailmenuitem.c:
1628 * modules/other/gail/gailnotebook.c:
1629 * modules/other/gail/gailnotebookpage.c:
1630 * modules/other/gail/gailnotebookpage.h:
1631 * modules/other/gail/gailoptionmenu.c:
1632 * modules/other/gail/gailrange.c:
1633 * modules/other/gail/gailtextview.c:
1634 * modules/other/gail/gailtreeview.c:
1635 * modules/other/gail/gailtreeview.h:
1636 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
1639 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1641 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
1644 2007-12-21 Richard Hult <richard@imendio.com>
1646 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
1647 Plug leak of destroyed subviews, fixes bug #504753.
1649 2007-12-20 Johan Dahlin <johan@gnome.org>
1651 * tests/Makefile.am (TEST_PROGS):
1652 * tests/defaultvaluetest.c: Add a test for default values,
1653 based on program by Christan Perch
1655 2007-12-20 Johan Dahlin <johan@gnome.org>
1657 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
1658 Refactor to avoid some duplication.
1659 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
1660 Fixes #504749, Yuri Pimenov
1662 2007-12-20 Kristian Rietveld <kris@imendio.com>
1664 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
1665 the build work again on systems without xrandr 1.2.
1667 2007-12-20 Christian Persch <chpe@gnome.org>
1670 * modules/other/gail/libgail-util/Makefile.am:
1671 Keep the same libtool version as the standalone libgail-util had.
1674 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
1676 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
1678 2007-12-20 Alexander Larsson <alexl@redhat.com>
1680 * gdk/x11/gdkapplaunchcontext-x11.c:
1681 Update for gio API changes
1683 2007-12-20 Richard Hult <richard@imendio.com>
1685 * gdk/quartz/GdkQuartzWindow.c:
1686 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
1687 processing events after changing the size.
1689 2007-12-20 Richard Hult <richard@imendio.com>
1691 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
1692 Add stub for quartz to fix build.
1694 2007-12-20 Christian Persch <chpe@gnome.org>
1696 * modules/other/gail/Makefile.am:
1697 * modules/other/gail/gailimage.c: (gail_image_class_init),
1698 (gail_image_init), (elide_underscores), (gail_image_get_name),
1699 (atk_image_interface_init), (gail_image_finalize):
1700 * modules/other/gail/gailimage.h:
1701 R modules/other/gail/gailintl.h:
1702 * po/POTFILES.skip: Use the stock item's label as the name of the
1703 accessible in gailimage.c. Bug #504246.
1705 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
1707 Avoid some compiler warnings and remove obsolete code. (#339540)
1709 * gtk/gtkcalendar.c: Change week and year variable in
1710 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
1711 0" block from calendar_paint_day: The feature in question is handled
1712 few lines above. Cast data returned by gtk_selection_data_get_text()
1713 to (gchar*) in gtk_calendar_drag_data_received.
1715 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
1717 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
1719 2007-12-19 Johan Dahlin <johan@gnome.org>
1721 * tests/buildertest.c (test_object_properties):
1722 Add another call to gtk_builder_add_string after using
1723 delayed properties, as reported in #504393 but already
1726 2007-12-18 Christian Persch <chpe@gnome.org>
1729 * docs/reference/Makefile.am:
1730 * docs/reference/libgail-util/*:
1731 * gail-uninstalled.pc.in:
1733 * modules/Makefile.am:
1734 * modules/other/Makefile.am:
1735 * modules/other/gail/*:
1736 * modules/other/gail/libgail-util/*:
1737 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
1739 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1741 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
1742 * gdk/win32/gdkproperty-win32.c:
1743 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
1745 * gtk/gtkimmodule.[hc]:
1746 * gtk/gtkimmulticontext.[hc]: When determining the default context,
1747 look at the gtk-im-module setting, and listen for changes to the
1748 setting. (#502446, Akira Tagoh)
1750 2007-12-17 Kristian Rietveld <kris@imendio.com>
1752 * gtk/gtktooltip.c (gtk_tooltip_finalize),
1753 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
1754 to NULL as soon as it's destroyed. (#496546, patch from
1757 2007-12-17 Kristian Rietveld <kris@imendio.com>
1759 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
1760 always determine what arrow to show if show_sort_indicator is true.
1761 (#352738, Chris Vine).
1763 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
1765 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
1766 Sébastien Granjoux)
1768 * gtk/gtkpaned.c: Call gtk_container_forall instead of
1769 gtk_container_foreach in get_child_panes.
1771 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
1773 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
1775 Plug leak: When reordering the info in the list the old node is
1776 removed but not freed. (#503569)
1778 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
1780 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
1781 Use u32 instead of __u32 and u8 instead of __u8 as the other types
1782 are deprecated since DirectFB 1.0.0. If compiling with an older
1783 version define the new type name to the old types. Fixes bug #503190.
1785 2007-12-14 Ray Strode <rstrode@redhat.com>
1787 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
1788 instead of g_signal_connect_after (..., "realize", ...) as an
1789 alternative to gtk_widget_realize () (bug 503537).
1791 2007-12-14 Michael Natterer <mitch@imendio.com>
1793 * gdk/gdkinternals.h
1794 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
1797 * gdk/gdkapplaunchcontext.c
1798 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
1799 header already includes everything now.
1801 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1803 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
1804 next stable release shall be 2.16, not 2.14 - even if disagree.
1806 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
1808 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1810 Change GtkToolItem to retrieve its properties from GtkToolShell
1811 interface, instead of relying on being child of a GtkToolbar.
1814 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
1815 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
1816 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
1817 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
1818 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
1819 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
1820 Take section docs from template file and update them for GtkToolShell.
1821 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
1822 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
1824 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1826 Extract loading of GtkPageSetup and GtkPrintSettings from their
1827 *_new_*() functions and move that code into separate
1828 *_load_*() functions (#475565).
1830 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
1831 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
1832 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
1833 Change the matching *_new_*() functions to use those functions.
1835 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1838 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
1840 2007-12-14 Kristian Rietveld <kris@imendio.com>
1842 * gtk/tests/liststore.c:
1843 * gtk/tests/treestore.c: added tests for insertion functions.
1845 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
1847 * Add RandR 1.2 support
1849 - New monitors_changed signal - New API to get width/height of
1850 monitors, and the name of the plug
1852 2007-12-13 Kristian Rietveld <kris@imendio.com>
1854 * gtk/tests/liststore.c:
1855 * gtk/tests/treestore.c: test the move and swap functions on a
1856 store with only one node.
1858 2007-12-13 Kristian Rietveld <kris@imendio.com>
1860 * gtk/gtktestutils.c (gtk_test_init): add a call to
1863 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
1866 2007-12-13 Kristian Rietveld <kris@imendio.com>
1868 * gtk/tests/liststore.c:
1869 * gtk/tests/treestore.c: start composing tests for the list and tree
1872 * gtk/tests/treeview-scrolling.c: added automated tests for
1873 GtkTreeView's scrolling "subsystem".
1875 * gtk/tests/Makefile.am: updated; added new test programs.
1877 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
1879 Make the code compile again after the GdkAppLaunchContext changes.
1881 * configure.in: Add gio-2.0 to GDK_PACKAGES.
1882 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
1884 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1886 * gdk/gdkapplaunchcontext.c: Add docs
1888 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1890 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
1891 in gdk, providing startup notification. (#503203)
1893 * gdk/x11/gdkapplaunchcontext-x11.c:
1894 * gdk/win32/gdkapplaunchcontext-win32.c:
1895 * gdk/quartz/gdkapplaunchcontext-quartz.c:
1896 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
1897 parts. All but X11 are just empty stubs for now.
1900 * gdk/gdkinternals.h:
1902 * gdk/x11/Makefile.am:
1903 * gdk/win32/Makefile.am:
1904 * gdk/quartz/Makefile.am:
1905 * gdk/directfb/Makefile.am: Necessary glue.
1907 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
1909 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
1911 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1913 * gdk/directfb/gdktestutils-directfb.c:
1914 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
1915 which adds testing functions to the DirectFB backend.
1917 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1919 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
1920 Ciccani which fixes the mixing of gdk and cairo rendering.
1922 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
1924 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
1925 on "drag-motion" handlers. Clearify documentation for
1928 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
1930 * buildertest.c: made unnecessarily exported symbols static.
1931 switched g_return_if_fail() statements in tests to assertions.
1932 special cased currently failing Widget/accesibility test to
1933 run only for g_test_thorough(), so it doesn't break make check.
1934 some coding style fixes.
1936 * Makefile.am: added buildertest to TEST_PROGS.
1938 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1940 * docs/tutorial/gtk-tut.sgml:
1941 Use gtk_widget_get_parent_window() instead of widget->parent->window.
1943 2007-12-10 Richard Hult <richard@imendio.com>
1945 * gdk/quartz/Makefile.am:
1946 * gdk/quartz/gdkquartz.h:
1947 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
1948 header (bug #405915). Also add a getter for the toplevel nswindow.
1950 2007-12-10 Richard Hult <richard@imendio.com>
1952 * gdk/quartz/gdkdrawable-quartz.c:
1953 (gdk_quartz_drawable_get_context),
1954 (gdk_quartz_drawable_release_context):
1955 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
1956 (gdk_event_check), (gdk_event_dispatch), (poll_func):
1957 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
1958 used for each drawing context and in prepare, dispatch and poll
1959 with one that exists across each main loop iteration. Fixes leaks
1960 on leopard and protects against future leaks introduce when the
1961 underlying system changes again (bug #492977).
1963 2007-12-10 Richard Hult <richard@imendio.com>
1965 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
1966 Fix the check for no changes to position and size.
1968 2007-12-10 Richard Hult <richard@imendio.com>
1970 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
1971 sized areas at (0, 0), patch from Paul Davis.
1973 2007-12-10 Richard Hult <richard@imendio.com>
1975 * gdk/quartz/gdkprivate-quartz.h:
1976 * gdk/quartz/gdkeventloop-quartz.c:
1977 (_gdk_quartz_event_loop_get_pending),
1978 (_gdk_quartz_event_loop_check_pending),
1979 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
1980 (gdk_event_check), (gdk_event_dispatch):
1981 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
1982 (_gdk_events_queue): Fix a bug where we could end up trying to
1983 handle the same event more than once. Based on patch from Paul
1986 2007-12-10 Tor Lillqvist <tml@novell.com>
1988 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
1991 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1993 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
1994 to avoid further fallout from the fix for bug 388321.
1996 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1998 * gdk/directfb/gdkgc-directfb.c:
1999 * gdk/directfb/gdkdrawable-directfb.c:
2000 * gdk/directfb/gdkdirectfb.h:
2001 * gdk/directfb/gdkwindow-directfb.c:
2002 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
2003 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
2004 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
2005 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
2006 which are expected to improve the performance of the DirectFB backend.
2007 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
2009 2007-12-07 Matthias Clasen <mclasen@redhat.com>
2011 * gtk/gtkcontainer.c: Correct the documentation of child
2012 property getter arguments. (#501992, David Brigada)
2014 2007-12-07 Matthias Clasen <mclasen@redhat.com>
2016 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
2017 leak pixbufs. (#502250, Yevgen Muntyan)
2019 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
2021 * gtk/gtkprintunixdialog.c:
2022 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
2023 Print and Page Setup dialogs (#502202).
2025 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
2027 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
2028 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
2029 of XVFB_START, since it's the GTESTER invokation that needs this.
2031 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
2033 * gdk-pixbuf/gdk-pixbuf.symbols:
2035 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
2036 positives in abicheck.sh
2038 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2040 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
2041 GDK events generations in the DirectFB backend.
2043 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
2045 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
2046 set of likely unused display ids, because MacOS has no seq(1) command.
2048 2007-12-06 Richard Hult <richard@imendio.com>
2050 * gdk/quartz/gdkevents-quartz.c:
2051 (synthesize_crossing_events_for_ns_event): Fix warning when
2052 switching spaces in leopard.
2054 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
2056 * tests/floatingtest.c: ported to new testing framework.
2058 * tests/Makefile.am: run floatingtest as testing framework test.
2060 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
2062 * tests/autotestfilechooser.c: majorly speed up execution by reducing
2063 timeouts and converting main loop sleeps to pending/iterate loops with
2064 very low priority async handlers. eliminate output for non-verbose
2065 tests. assert successfull subtests in all test functions. use testing
2066 framework in main().
2068 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
2069 executed inside Xvfb upon make check.
2071 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
2073 * tests/objecttests.c: use string comparisons for string property
2074 values and get rid of referencing symbols in array initialization.
2076 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
2078 * gtk+/Makefile.decl: run tests in current dir after setting up the
2079 logging directory, so their results get properly merged into the
2082 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
2083 tests to loop over registered Gdk/Gtk+ types.
2085 * gtk+/tests/objecttests.c: new test program, implements automated
2086 property tests. several properties are blacklisted because they
2087 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
2088 can be used to test blacklisted properties and see which proprty failed.
2090 2007-12-04 Richard Hult <richard@imendio.com>
2092 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
2093 Fully initialize the root window, fixes bug #501583.
2095 2007-12-04 Matthias Clasen <mclasen@redhat.com>
2097 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
2100 2007-12-03 Richard Hult <richard@imendio.com>
2102 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
2103 Don't crash when dragging from a source that doesn't support uri
2104 lists (bug #499868, Paul Davis).
2106 2007-12-03 Richard Hult <richard@imendio.com>
2108 * gdk/quartz/gdkwindow-quartz.c:
2109 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
2110 parent relative bg pixmap is set, and no parent has a bg
2111 pixmap. Fixes bug #500804.
2113 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2115 Two optimizations for icon cache lookups.
2117 * gtk/gtkiconcache.[hc]:
2118 * gtk/gtkicontheme.c: Remember the directory index for
2119 subdirectories, instead of running over the directory list
2122 * gtk/gtkiconcache.c (find_image_offset): Remember the last
2123 chain and try it first; this helps with the the usage patterns
2124 in gtkicontheme.c, where the same icon is queried for a lot
2127 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
2129 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
2130 functions from header files. this should be portable across linux and
2131 Mac OS, unlike the previpous sed expression.
2133 2007-12-1 Cody Russell <bratsche@gnome.org>
2135 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
2136 On Windows, queue a redraw of child2 whenever we set
2137 the pane handle position. This is unfortunately kind
2138 of hacky, but solves the visual artifacts that were
2139 occuring on at least certain types of child widgets
2140 (e.g., text views and tree views) that are inside
2141 horizontal or vertical panes. (#144269)
2143 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2145 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
2147 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2149 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
2152 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2154 * gtk/Makefile.am: Fix ordering of subdirs.
2156 2007-11-28 Tor Lillqvist <tml@novell.com>
2158 A proper build of GNU libintl is supposed to export the variable
2159 _nl_msg_cat_cntr. configure looks for that variable in order to
2160 recognize GNU gettext. If it sees that it is indeed GNU gettext
2161 that is used, it decides to install message catalogs in
2162 share/locale, otherwise in lib/locale. Until now on Windows I have
2163 built GTK+ against a build of GNU gettext that did not export
2164 _nl_msg_cat_cntr. But this will change, so we can't assume message
2165 catalogs are always in lib/locale.
2167 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
2168 GTK_LOCALEDIR being either in "lib" or "share". Move the function
2169 before the inclusion of gtkprivate.h so that it sees the original
2172 * gtk-zip.sh.in: Check whether the message catalogs are in
2173 share/locale or lib/locale.
2175 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
2176 that the code in _gtk_get_localedir() will find the slashes.
2178 2007-11-28 Tor Lillqvist <tml@novell.com>
2180 * gtk/Makefile.am: Improve portability. The -o option is present
2181 only in newish GNU egreps. Use one more sed in the pipeline
2184 2007-11-28 Tor Lillqvist <tml@novell.com>
2186 Fix #375893, patch by Ben Hague:
2188 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
2189 around GetLogicalDrives() that takes also the viewable drive
2190 restrictions in the Registry (which are usually the result of an
2191 Active Directory Group Policy) into account.
2193 (check_volumes, gtk_file_system_win32_list_volumes) Call
2194 get_viewable_logical_drives() instead of GetLogicalDrives().
2196 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2198 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
2199 variables to silence valgrind. (#495124, Morten Welinder)
2201 2006-11-26 Ryan Lortie <desrt@desrt.ca>
2203 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
2204 that the construct_child function is responsible for returning a
2206 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
2207 objects from constructors
2208 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
2209 g_object_ref() to this construction function (it's the only
2214 2006-11-26 Ryan Lortie <desrt@desrt.ca>
2216 * gtkbuilder.c: remove concept of root objects and just refcount
2217 all objects in the builder. Fixes #496651.
2219 2007-11-26 Ryan Lortie <desrt@desrt.ca>
2221 * tests/buildertest.c (test_window): fix invalid free
2223 2007-11-26 Josselin Mouette <joss@malsain.org>
2225 reviewed by: Federico Mena Quintero
2227 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
2228 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
2229 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
2230 Make the shortcuts activate with a single click. (#148828)
2231 Fix a few things affected by the change:
2232 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
2233 where no shortcut is selected.
2234 - Don't activate a shortcut in the response callback.
2235 - Filter out duplicate entries in volumes and bookmarks to
2236 avoid the selection to change when reordering them with DnD.
2238 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2241 * gtk/gtknotebook.c:
2242 * gtk/gtkplugprivate.h:
2244 * gtk/gtksocketprivate.h:
2245 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
2247 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2249 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
2250 (#495574, Richard Hult)
2252 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2254 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
2255 String change ! (#376361, Sven Neumann)
2257 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2259 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
2261 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
2264 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2266 * gtk/gtkassistant.c: Improve alternative button
2267 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
2269 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2271 * gtk/gtkcalendar.c: Fix a theming problem with colors
2272 in GtkCalendar. (#499703, Michael Hofmann)
2274 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2276 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
2278 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2280 Use templates for glib-mkenums calls instead of
2281 complicated commandlines in Makefiles. (#429910)
2283 * gdk-pixbuf/Makefile.am:
2286 * perf/Makefile.am: Use templates for glib-mkenums
2288 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
2289 * gdk/gdkenumtypes.[ch].template:
2290 * gtk/gtktypebuiltings.[ch].template:
2291 * perf/typebuiltins.[ch].template: The templates
2293 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2295 * gtk/gtkfilechooserbutton.c:
2296 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
2297 some compilers choke on that. (#467722)
2299 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2301 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
2302 about hook setup. (#425004, Emmanuele Bassi)
2304 2007-11-26 Tor Lillqvist <tml@novell.com>
2306 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
2307 monitor the window currently is on, not always the primary
2308 monitor. (#463865, Tim Evans)
2310 2007-11-26 Tor Lillqvist <tml@novell.com>
2312 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
2314 * gdk/win32/Makefile.am: Add it.
2316 2007-11-26 Tor Lillqvist <tml@novell.com>
2318 * configure.in: Don't add jasper to all_loaders if no libjasper.
2320 2007-11-25 Bastien Nocera <hadess@hadess.net>
2322 * configure.in: Add detection for libjasper, used by the
2323 gdk-pixbuf JPEG2000 loader
2325 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2327 * configure.in: Require gtk-doc 1.8
2329 * */*.c: Use gtk-doc abbreviations for examples in docs.
2331 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2333 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
2336 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2338 * gtk/gtkdialog.c: Move signal and property documentation inline,
2339 fix a problem with the ::response signal docs. (#499133, Josselin
2342 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
2344 * Makefile.decl: initialize automake variables EXTRA_DIST and
2345 TEST_PROGS for unconditional appending via += in other makefiles.
2346 define recursive test targets: test, test-report, perf-report,
2347 full-report, as described here:
2348 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
2349 the test targets will execute Gtk+ test programs within an Xvfb session.
2351 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
2353 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
2354 g_test_run() to run the tests to integrate with the testing framework.
2356 * gtk/tests/Makefile.am: removed exemplary testing rules.
2358 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
2359 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
2360 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
2361 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
2362 * docs/reference/Makefile.am, docs/tools/Makefile.am:
2363 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
2364 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
2365 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
2366 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
2367 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
2368 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
2369 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
2370 * modules/engines/ms-windows/Theme/Makefile.am:
2371 * modules/engines/ms-windows/Makefile.am:
2372 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
2373 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
2374 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
2375 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
2376 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
2377 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
2378 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
2380 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2382 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
2383 (#485662, patch by Herbert Valerio Riedel)
2385 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2387 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
2389 2007-11-21 Richard Hult <richard@imendio.com>
2391 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
2392 stubs for the testing functions to fix the build.
2394 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2396 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
2397 (#467711, The Written Word)
2399 2007-11-21 Ross Burton <ross@openedhand.com>
2401 * gdk/x11/gdksettings.c:
2402 Add xsetting for gtk-scrolled-window-placement (#458103).
2404 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2406 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
2407 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
2408 (#469239, Michael Natterer)
2410 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2412 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
2413 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
2414 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
2415 (#436536, Tommi Komulainen)
2417 2007-11-21 Matthias Clasen <mclasen@redhat.com>
2419 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
2420 property. (#489782, Jan Janech)
2422 2007-11-20 Matthias Clasen <mclasen@redhat.com>
2424 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
2425 frames. (#107398, Owen Taylor, Miguel Gomez)
2427 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
2429 Moved Gdk test functions from Gtk+ to Gdk test utils.
2431 * gdk/Makefile.am: added gdktestutils.h to public includes.
2433 * gdk/gdk.h: added gdktestutils.h to public includes.
2435 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
2436 gdk_test_render_sync.
2438 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
2439 gdk_test_simulate_key, gdk_test_render_sync.
2441 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
2443 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
2444 gdk_test_simulate_key, gdk_test_render_sync.
2446 * gtk/gtktestutils.c:
2447 * gtk/gtktestutils.h:
2448 * gtk/gtk.symbols: removed gtk_test_simulate_button
2449 gtk_test_simulate_key, gtk_test_xserver_render_sync.
2451 * gtk/tests/testing.c: call gdk_test_render_sync.
2453 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
2455 Added unit tests for Gtk+ testing utilities.
2457 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
2458 utility functions. some g_test_* related portions are disabled and need
2459 to be enabled once Gtk+ depends on a new glib with the GLib testing
2460 framework integrated.
2462 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
2463 added exemplary test rules to run tests inside Xvfb. this needs to depend
2464 on gtester for full fledged testing.
2466 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
2467 collecting _get_type functions to catch e.g. gtk_text_get_type().
2469 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
2471 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
2473 Added Gtk+ testing utilities.
2475 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
2476 for the most part, the functions herein involve navigating and interacting
2477 with dialog elements programatically, to automate user interaction tests of
2478 dialogs and widgets.
2480 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
2482 * gtk/gtk.symbols: added gtk_test_* symbols.
2484 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
2485 generate gtktypefuncs.c which contains a list of all _get_type functions in
2487 2007-11-20 Bastien Nocera <hadess@hadess.net>
2489 * configure.in: add support for conditional icns gdk-pixbuf loader
2492 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
2494 * configure.in: updated version number to 2.15.0 for development.
2496 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
2498 === Branch for 2.12 ===