1 2008-03-06 Johan Dahlin <johan@gnome.org>
5 * gtk/gtkstyle.c: npoints->n_points.
6 * gtk/gtktestutils.h: widget->spinner
7 * gtk/gtktestutils.c: argc->argcp, argv->argvp
9 2008-03-06 William Lachance <wrlach@gmail.com>
11 * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M"
12 string localizable (as it should be).
14 2008-03-06 William Lachance <wrlach@gmail.com>
16 * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
17 the time for today's date. It's redudant. (see bug #410517).
19 2008-03-06 Xan Lopez <xan@gnome.org>
21 * gtk/gtkfixed.c: fix typo in documentation.
23 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
25 * gtk/gtkitemfactory.h:
27 Move GtkTranslateFunc to gtktypeutils.h so we can completely
28 deprecate gtkitemfactory.h.
30 * gtk/gtkactiongroup.h:
32 Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
35 Add a note describing this slight incompatible change
37 2008-03-06 Johan Dahlin <johan@gnome.org>
39 * gtk/gtkpreview.h: Avoid double-deprecation.
41 2008-03-06 Michael Natterer <mitch@imendio.com>
44 * gtk/Makefile.am: move the remaining deprecated widgets to the
45 separate sections and replaced spaces by tabs in Makefile.am
47 2008-03-05 Johan Dahlin <johan@gnome.org>
49 * configure.in: Add --disable-cups option.
50 (#513826, Alberto Ruiz)
54 Separate broken and deprecated sources and headers into different sections
56 * tests/buildertest.c (test_list_store): Restore accidentally broken test.
58 2008-03-05 Kristian Rietveld <kris@imendio.com>
60 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
61 short-circuit in case an empty root level would be build (and thus
62 directly destroyed) if no virtual root has been set.
64 2008-03-04 Matthias Clasen <mclasen@redhat.com>
66 * modules/printbackends/cups/gtkprintbackendcups.c:
67 Honor cups user default options from ~/.cups/lpoptions
70 2008-03-04 Michael Natterer <mitch@imendio.com>
73 * gtk/gtkcolorbutton.c
74 * gtk/gtkentrycompletion.c
79 * gtk/gtkpreview.c: don't include "gtksignal.h".
82 * gtk/gtkrecentchoosermenu.c
83 * gtk/gtkrecentfilter.c
84 * gtk/gtktext.c: don't include "gtkobject.h".
86 2008-03-04 Simos Xenitellis <simos@gnome.org>
88 Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
89 - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
91 * gdk/gdkkeysyms.h: Updated file from upstream (using script from
94 * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New
95 file, contains compose sequences that used to exist in
96 gtk/gtkimcontextsimple.c
98 * gtk/compose-parse.py: Script to generate compose
99 sequences from upstream (Xorg).
101 * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table,
102 check_algorithmically): New functions. First two search in
103 gtk_compose_seqs_compact[] for matching compose sequence, third
104 tries NFC normalisation on incoming compose sequence.
105 (gtk_im_context_simple_filter_keypress):
106 Adds searching with check_compact_table(), check_algorithmically().
108 2008-03-03 Carlos Garnacho <carlos@imendio.com>
110 Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
111 scrollwheel work in GtkPathBar.
113 * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
115 * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
116 an input-only window, event_window, which we'll use to capture
118 (gtk_path_bar_map): Show the event_window under the rest of the
119 windows, so it will be a catch-all for unhandled events.
121 2008-03-03 Sven Neumann <sven@gimp.org>
123 * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
124 typo in the documentation of the GtkFileChooserButtons::file-set
125 signal (see bug #353196).
127 2008-03-03 Tor Lillqvist <tml@novell.com>
129 * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
132 2008-03-02 Johan Dahlin <johan@gnome.org>
134 * gtk/gtkitemfactory.h: Use void instead of empty arguments.
135 (#508760, Philip Van Hoof)
137 * gtk/gtkiconview.c (gtk_icon_view_paint_item):
138 Remove left-over focus_pad variable.
139 (#490892, Claudio Saavedra)
141 * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
142 (#518166, Matt Kraai)
144 2008-03-02 Johan Dahlin <johan@gnome.org>
146 * docs/tutorial/gtk-tut.sgml: Add a missing space
147 (#517954, Matt Kraai)
149 2008-03-03 Tor Lillqvist <tml@novell.com>
151 * modules/engines/ms-windows/msw_style.c (draw_box): Check that
152 the widget is a GtkButton before casting.
154 2008-03-02 Johan Dahlin <johan@gnome.org>
156 * configure.in: Compare using = instead of ==, which is portable.
157 (#490787, Thomas Klausner)
159 2008-03-02 Johan Dahlin <johan@gnome.org>
161 * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
163 (#496032, Nelson Benitez)
165 2008-02-29 Johan Dahlin <johan@gnome.org>
167 * demos/gtk-demo/demo.ui:
168 * gtk/gtkbuilderparser.c:
169 * gtk/gtkbuilderprivate.h:
170 * gtk/gtkliststore.c:
171 * tests/buildertest.c:
172 Add translatable/context and comment attributes on
173 <col> tags under a GtkListStore. Refactor parts of the
174 translation api and make it available inside gtk+ itself.
175 Update tests and example.
176 Fixes a part of #518642
178 2008-02-29 Johan Dahlin <johan@gnome.org>
181 Add missing g_return_val_if_fail checks for public API.
183 * gtk/gtkbuilderparser.c:
184 * gtk/gtkbuilderprivate.h:
185 Do not use g_error for a few more errors, instead set
186 the GError sent in through add_from_file/add_from_string.
187 * tests/buildertest.c:
188 Add a couple of new parsing tests.
189 (#519199, Pavel Syomin)
191 2008-02-29 Federico Mena Quintero <federico@novell.com>
193 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
194 refreshing an existing folder (i.e. when we are about to reload
195 its file list), turn off the folder's is_finished_loading flag.
196 Otherwise callers which do ::is_finished_loading() followed by
197 ::list_children() will get nothing.
199 2008-02-29 Cody Russell <bratsche@gnome.org>
201 * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
202 say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
204 2008-02-28 Matthias Clasen <mclasen@redhat.com>
206 * gtk/gtkcalendar.h: Remove trailing comma from enum to
207 make the compiler happy. (#517295, Sylvain Pasche)
209 2008-02-27 Michael Natterer <mitch@imendio.com>
219 * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
220 private functions and virtual function implementations.
222 2008-02-27 Richard Hult <richard@imendio.com>
224 * gdk/quartz/GdkQuartzView.c:
225 * gdk/quartz/GdkQuartzView.h:
226 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
227 Fix performance regression for borderless transparent windows
230 2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
232 * tests/testgtk.c: Revert back to r19454.
234 2008-02-27 Sven Neumann <sven@gimp.org>
236 * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
237 Quartz backend, use a native Mac OS X application for the print
238 preview (bug #518624).
240 2008-02-26 Michael Natterer <mitch@imendio.com>
242 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
243 the members of info->tag_stack since they are a) gobjects and b)
244 not even owned by us, ugh... Fixes crash when deserializing fails.
246 2008-02-26 Sven Neumann <sven@gimp.org>
248 * docs/tools/shooter.c (find_toplevel_window)
249 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
250 argument passed to XQueryTree().
252 2008-02-25 Matthias Clasen <mclasen@redhat.com>
254 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
255 don't use beagle_query_add_hit_type.
257 2008-02-25 Richard Hult <richard@imendio.com>
259 * gdk/quartz/gdkevents-quartz.c
260 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
262 2008-02-24 Richard Hult <richard@imendio.com>
264 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
265 shown without gdk's control when clicking the dock icon.
267 2008-02-24 Richard Hult <richard@imendio.com>
269 * gdk/quartz/gdkprivate-quartz.h:
270 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
271 Use the subtype field for the custom event that is used to wake up
272 the mainloop so we can have other custom event types.
274 * gdk/quartz/gdkevents-quartz.c:
275 (_gdk_quartz_events_trigger_crossing_events):
276 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
277 crossing events after showing a window if necessary, to work
278 around problems with the tracking rect API.
280 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
282 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
283 wrong results on win32 because it doesn't set the printing units,
284 which affect the transformation of the cairo context
285 (#347125, Erik van Pienbroek)
287 2008-02-22 Tor Lillqvist <tml@novell.com>
289 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
291 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
293 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
294 acceptable for a module to only support the save_to_callback()
295 method if it marks itself as WRITABLE
297 2008-02-16 Matthias Clasen <mclasen@redhat.com>
299 * configure.in: Bump version
301 2008-02-16 Matthias Clasen <mclasen@redhat.com>
303 * === Released 2.13.0 ===
305 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
307 2008-02-21 Tor Lillqvist <tml@novell.com>
309 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
310 pass the format string to strftime in the C library's locale's
311 charset, not the system's. Correspondingly, the return value from
312 strftime() is in the C library's locale's charset. (#509885)
314 2008-02-20 Richard Hult <richard@imendio.com>
316 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
317 the right window level and shadow after recreating the window.
319 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
320 necessary after drawing (bug #517338).
322 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
324 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
325 call to g_type_class_unref in case of error. (#517563)
327 2008-02-18 Sven Neumann <sven@gimp.org>
329 * gtk/Makefile.am (STOCK_ICONS)
330 * gtk/stock-icons/16/gtk-page-setup.png
331 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
332 taken from GNOME icon theme.
334 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
336 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
338 * configure.in: Added Kannada (kn) to ALL_LINGUAS
340 2008-02-17 Johan Dahlin <johan@gnome.org>
342 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
343 When converting a stock item based on the label, remove the label property.
345 2008-02-17 Richard Hult <richard@imendio.com>
347 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
348 position after showing the window since the window manager might
349 not place it where we requested in the first places.
351 2008-02-17 Richard Hult <richard@imendio.com>
353 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
354 (_gdk_quartz_window_detach_from_parent),
355 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
356 the toplevel ordering list in all places where the order is
357 potentially changed. Fixes mouse focus issues for windows with
358 a transient parent set.
360 2008-02-17 Richard Hult <richard@imendio.com>
362 * gdk/quartz/gdkevents-quartz.c
363 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
364 window when event debugging is enabled.
366 2008-02-16 Richard Hult <richard@imendio.com>
368 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
369 to the scroll event (bug #516757, Paul Davis).
371 2008-02-16 Matthias Clasen <mclasen@redhat.com>
375 2008-02-16 Matthias Clasen <mclasen@redhat.com>
377 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
380 2008-02-15 Matthias Clasen <mclasen@redhat.com>
382 * gdk/Makefile.am: Don't install private headers. (#463510)
384 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
385 the installed header gdkprivate.h.
387 2008-02-15 Matthias Clasen <mclasen@redhat.com>
389 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
390 a crash with hidden, reorderable tabs. (#513230,
391 Mike Massonnet, patch by Carlos Garnacho)
393 2008-02-15 Matthias Clasen <mclasen@redhat.com>
395 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
396 Warn on duplicate action group names. (#501746, Christian
399 2008-02-15 Matthias Clasen <mclasen@redhat.com>
402 * modules/other/gail/tests/Makefile.am:
403 * modules/other/gail/libgail-util/Makefile.am:
404 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
405 builds. (#516254, Yevgen Muntyan)
407 2008-02-15 Matthias Clasen <mclasen@redhat.com>
412 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
413 instead of hardcoded target tables. (#516092, Christian Persch)
415 2008-02-15 Matthias Clasen <mclasen@redhat.com>
417 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
418 add the same target atom twice. (#516087, Christian Persch)
420 2008-02-15 Matthias Clasen <mclasen@redhat.com>
422 * tests/testfilechooser.c: Add a --backend option.
423 (#516073, Christian Persch)
425 2008-02-16 Richard Hult <richard@imendio.com>
427 * gdk/quartz/gdkprivate-quartz.h:
428 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
431 2008-02-15 Matthias Clasen <mclasen@redhat.com>
433 * configure.in: Go back to 2.13.0 as version for now,
434 as there was no consensus to do the jump.
436 * many other places: Update Since: tags.
438 2008-02-15 Matthias Clasen <mclasen@redhat.com>
440 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
442 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
444 2008-02-15 Richard Hult <richard@imendio.com>
446 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
447 instead of bounds when resizing windows.
449 2008-02-15 Matthias Clasen <mclasen@redhat.com>
451 * gdk/x11/gdkkeys-x11.c:
452 * gdk/x11/gdkcolor-x11.c:
453 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
455 2008-02-15 Matthias Clasen <mclasen@redhat.com>
457 * gdk/x11/gdktestutils-x11.c:
458 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
460 2008-02-15 Tor Lillqvist <tml@novell.com>
462 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
463 leak Registry key handles. (#516578)
465 2008-02-14 Richard Hult <richard@imendio.com>
467 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
468 makeKeyWindow unfortunately doesn't work in all cases, we must use
469 makeKeyAndOrderFront.
471 2008-02-14 Richard Hult <richard@imendio.com>
473 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
474 (gdk_window_hide), (gdk_window_fullscreen),
475 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
476 the window is hidden.
478 2008-02-14 Richard Hult <richard@imendio.com>
480 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
481 resizing to be consistent and to avoid introducing an internal
482 transform in the view.
484 2008-02-14 Richard Hult <richard@imendio.com>
486 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
489 2008-02-14 Johan Dahlin <johan@gnome.org>
492 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
494 2008-02-13 Richard Hult <richard@imendio.com>
496 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
497 Remove unused variables.
498 (gtk_clipboard_set_contents),
499 (gtk_clipboard_get_owner), (clipboard_unset),
500 (gtk_clipboard_request_targets): Notify the previous clipboard
501 owner when the owner changes. Fixes bug #493406.
503 2008-02-13 Richard Hult <richard@imendio.com>
505 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
506 the return value (return number of colors that failed), and handle
508 (gdk_colormap_free_colors): Fix typo in comment.
510 2008-02-13 Kristian Rietveld <kris@imendio.com>
512 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
513 queue a redraw if the rubber banding has actually been active.
515 2008-02-12 Matthias Clasen <mclasne@redhat.com>
517 * gtk/gtkpapersize.c:
518 * gtk/gtkprintoperation.c:
519 * gtk/gtkvolumebutton.c:
520 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
521 out by Behdad Esfahbod.
523 2008-02-12 Federico Mena Quintero <federico@novell.com>
525 Merged from gtk-2-12:
527 Don't focus the file list when shortcuts get activated. This
528 removes a lot of ambiguity in when the file selection should
529 change, and makes the overall code flow simpler.
531 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
532 file/save dialog clears the filename entry when changing
535 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
536 focus should not go to the file list when a shortcut is activated.
538 * gtk/gtkfilechooserdefault.c
539 (shortcuts_activate_volume_mount_cb): Don't focus the file list
540 (shortcuts_activate_get_info_cb): Likewise.
542 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
543 the file list (this was the last place where we would focus the
544 file list explicitly). If you are in the location entry, for
545 example, you don't want Alt-Home to take you to the file list; you
546 just want the current folder to change. Thanks to Olle Bergkvist
547 <olle.bergkvist@yahoo.se> for pointing this out in
548 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
549 (focus_browse_tree_view_if_possible): Removed.
551 2008-02-12 Matthias Clasen <mclasen@redhat.com>
553 Skip exensions when selecting filenames in the save-as dialog.
554 (#362516, Carlos Garnacho)
556 * gtk/gtkfilechooserentry.h:
557 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
558 New function to skip the extension part when selecting a filename.
559 (_gtk_file_chooser_entry_set_base_folder): Use it here.
561 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
564 2008-02-12 Matthias Clasen <mclasen@redhat.com>
566 * gtk/gtkiconview.c: Fix state change reporting for
567 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
569 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
571 * gtk/gtkrecentchooser.c:
572 (gtk_recent_chooser_class_init): Set the default value of the
573 :show-not-found property to TRUE, as every implementation sets
576 * gtk/gtkrecentchooserdefault.c:
577 (_gtk_recent_chooser_default_init): Sync show_tips to the
578 default value of the :show-tips property.
580 2008-02-12 Matthias Clasen <mclasen@redhat.com>
582 * gtk/gtkclipboard-quartz.c:
584 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
587 2008-02-12 Kristian Rietveld <kris@imendio.com>
589 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
590 (gtk_tree_view_real_toggle_cursor_row): guard against people
591 deleting the row in question in the selection-changed callback.
592 (#514621, Andreas Koehler).
594 2008-02-12 Matthias Clasen <mclasen@redhat.com>
596 * gtk/*.c: Unify the handling of various "Enter" keysyms
597 all over the place. (#515047, Christian Persch)
599 2008-02-12 Matthias Clasen <mclasen@redhat.com>
601 * gtk/gtkfilesystemmodel.c:
603 * gtk/gtkwidget.c: Use g_value_set_static_string() where
604 appropriate. (#515042, Christian Persch)
606 2008-02-12 Matthias Clasen <mclasen@redhat.com>
608 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
610 2008-02-12 Matthias Clasen <mclasen@redhat.com>
612 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
614 2008-02-12 Matthias Clasen <mclasen@redhat.com>
616 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
617 (recent_model_sort_drag_data_get):
618 (search_model_sort_drag_data_get):
619 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
620 * gtk/gtkpathbar.c (button_drag_data_get_cb):
621 Use gtk_selection_data_set_uris() instead of doing it
622 by hand. (#514890, Christian Persch)
624 2008-02-12 Michael Natterer <mitch@imendio.com>
626 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
627 gtk_get_current_event_time().
629 2008-02-12 Michael Natterer <mitch@imendio.com>
631 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
632 gtk_window_get_key_hash() to get the hash instead of manually
633 fiddling with quarks and gtk_window_keys_changed(). Also add
634 g_return_if_fail() to this public function.
636 2008-02-11 Matthias Clasen <mclasen@redhat.com>
638 Support keynav in status icons. (#473786, Li Yuan)
640 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
642 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
644 2008-02-11 Kristian Rietveld <kris@imendio.com>
646 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
647 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
648 wrt. link deletion from list; contination of fix for #503569.
650 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
652 * gtk/gtkrecentchoosermenu.c:
653 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
654 on the placeholder menu item.
656 * tests/testrecentchoosermenu.c:
657 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
658 whether the placeholder menu item gets shown.
660 2008-02-10 Cody Russell <bratsche@gnome.org>
662 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
663 Check the return value of _gtk_file_chooser_get_file_system () for
664 NULL before passing it to gtk_file_system_path_to_uri ().
665 (#515667, Francesco Montorsi)
667 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
669 * gtk/gtkbuilder.c: Improve the documentation for
670 gtk_builder_connect_signals. (#514471)
672 2008-02-10 Matthias Clasen <mclasen@redhat.com>
674 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
677 2008-02-08 Cody Russell <bratsche@gnome.org>
679 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
680 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
682 2008-02-08 Richard Hult <richard@imendio.com>
684 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
685 delta from the NSEvent for now, generating multiple scroll events
686 results in a lot of events getting queued up and things get really
689 2008-02-08 Sven Herzberg <sven@imendio.com>
691 Adjust the code to match the documentation, examples, "common sense"
692 and existing applications.
694 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
695 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
698 2008-02-07 Cody Russell <bratsche@gnome.org>
700 * gdk/win32/gdkevents-win32.c
701 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
702 of a block that were causing compile problems on old
703 compilers. (#515053, reported by Kazuki IWAMOTO)
705 2008-02-07 Michael Natterer <mitch@imendio.com>
714 * gtk/gtkoptionmenu.c
718 * gtk/gtkradiomenuitem.c
720 * gtk/gtkscrolledwindow.c
721 * gtk/gtksocket.c: remove g_return_if_fail() from private
722 functions and virtual function implementations.
724 2008-02-07 Michael Natterer <mitch@imendio.com>
731 * gtk/gtkcellrenderercombo.c
734 * gtk/gtkdrawingarea.c
735 * gtk/gtkentrycompletion.c
741 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
742 functions and virtual function implementations.
744 2008-02-07 Christian Persch <chpe@gnome.org>
746 * gdk/gdkpixbuf-render.c:
747 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
748 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
749 otherwise there will be random pixel values in the semi-transparent
750 area of the pixbuf within the mask. Bug #487865.
752 2008-02-06 Cody Russell <bratsche@gnome.org>
754 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
755 otherwise things get wonky when you click on a menu. This fixes
756 a regression caused in #505928. Thanks to Tor for spotting this
759 2008-02-06 Michael Natterer <mitch@imendio.com>
770 * gtk/gtkseparatortoolitem.c
772 * gtk/gtktextlayout.c
773 * gtk/gtktoggletoolbutton.c
774 * gtk/gtktoolbutton.c
777 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
780 2008-02-05 Matthias Clasen <mclasen@redhat.com>
782 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
783 Allow to store half-open ranges.
785 2008-02-05 Cody Russell <bratsche@gnome.org>
787 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
788 down the stack until we get to a window that is mapped.
789 Otherwise hiding a window will cause all windows in the app
790 to be blocked. (#514643)
792 2008-02-05 Matthias Clasen <mclasen@redhat.com>
794 * gtk/updateiconcache.c: Ignore images in the toplevel theme
795 directory, avoiding one source of invalid caches that has been
798 2008-02-05 Matthias Clasen <mclasen@redhat.com>
800 * gtk/updateiconcache.c: Fix the previous commit to compile.
802 2008-02-05 Matthias Clasen <mclasen@redhat.com>
804 * gtk/updateiconcache.c: Install a printerr handler that
805 prepends the program name, since gtk-update-icon-cache output
806 often appears in the middle of other output, e.g. rpm update logs.
808 2008-02-05 Cody Russell <bratsche@gnome.org>
810 * gdk/win32/gdkprivate-win32.h
811 * gdk/win32/gdkevents-win32.c
812 * gdk/win32/gdkwindow-win32.c
813 * gdk/win32/gdkwindow-win32.h
814 * gdk/win32/gdkwin32.h:
815 Modal window rework. (#455627 and #511111)
817 2008-02-04 Michael Natterer <mitch@imendio.com>
819 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
820 g_return_if_fail() if the cell is not part of the combo instead of
821 crashing in the next line.
823 2008-02-01 Cody Russell <cody@jhu.edu>
825 * modules/engines/ms-windows/xp_theme.[ch]
826 * modules/engines/ms-windows/xp_theme_defs.h
827 * modules/engines/ms-windows/msw_rc_style.c
828 * modules/engines/ms-windows/msw_theme_main.c
829 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
830 attempted to stylize more like the rest of the gtk+ stack's code.
832 2008-02-01 Michael Natterer <mitch@imendio.com>
834 * tests/testgtk.c: initialize GdkColor structs to fix warning
835 about uninitialized "pixel" member.
837 * tests/testactions.c: connect the toolbar_style() callback so it
838 does something useful and doesn't warn about being defined but not
841 2008-01-31 Cody Russell <bratsche@gnome.org>
843 * gdk/win32/gdkevents-win32.c:
844 Refactored some of the window hiding/showing code from
845 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
846 under WM_ACTIVATE was causing the application to go into
847 a weird state when the user right-clicked on the taskbar
848 entry of a window that was minimized. (#505928)
850 2008-01-31 Cody Russell <bratsche@gnome.org>
852 * gtk/gtkpaned.c (gtk_paned_set_position):
853 Change queue_resize() to queue_draw(), and add a check for
854 child2 != NULL in case someone calls this before there is
855 a child packed in there. (#144269 again)
857 2008-01-31 Sven Neumann <sven@gimp.org>
859 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
860 applied patch from Denis Oliver Kropp <dok@directfb.org>.
862 2008-01-31 Sven Neumann <sven@gimp.org>
864 * gdk/directfb/gdkdisplay-directfb.c
865 * gdk/directfb/gdkdrawable-directfb.c
866 * gdk/directfb/gdkprivate-directfb.h
867 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
868 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
870 2008-01-31 Richard Hult <richard@imendio.com>
872 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
873 issues with undecorated windows. Revert the change done on
874 2008-01-25 and fix it by using the view's bounds instead. The
875 bounds will always be up to date when setting up the tracking
876 rect, so this should be more robust.
878 2008-01-30 Sven Neumann <sven@gimp.org>
880 * gdk/directfb/gdkdrawable-directfb.c
881 * gdk/directfb/gdkwindow-directfb.c
882 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
883 Oliver Kropp <dok@directfb.org>. Adds debug messages using
884 DirectFB's debugging system
886 2008-01-30 Sven Neumann <sven@gimp.org>
888 * gdk/directfb/gdkdirectfb.h
889 * gdk/directfb/gdkdisplay-directfb.c
890 * gdk/directfb/gdkdrawable-directfb.c
891 * gdk/directfb/gdkim-directfb.c
892 * gdk/directfb/gdkimage-directfb.c
893 * gdk/directfb/gdkinput-directfb.c
894 * gdk/directfb/gdkmain-directfb.c
895 * gdk/directfb/gdkpixmap-directfb.c
896 * gdk/directfb/gdktestutils-directfb.c
897 * gdk/directfb/gdkvisual-directfb.c
898 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
899 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
900 errors and has some cleanups.
902 2008-01-30 Michael Natterer <mitch@imendio.com>
904 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
905 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
908 * gtk/updateiconcache.c (add_string): cast const gchar* to
909 gpointer when inserting in a GHashTable.
911 * tests/testcalendar.c (calendar_detail_cb): remove const from
912 return value since it's a newly allocated string.
914 (calendar_update_details): free the detail.
916 2008-01-29 Johan Dahlin <johan@gnome.org>
918 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
920 * demos/gtk-demo/demo.ui:
921 Move the about dialog to the glade file, add accessible tags
922 examples to the markup file.
924 2008-01-28 Paolo Borelli <pborelli@katamail.com>
926 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
927 layout, fixes #512375.
929 2008-01-28 Michael Natterer <mitch@imendio.com>
932 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
934 2008-01-28 Michael Natterer <mitch@imendio.com>
936 * demos/gtk-demo/builder.c (about_activate): use
937 gtk_about_dialog_set_program_name() instead of the deprecated
940 2008-01-28 Michael Natterer <mitch@imendio.com>
943 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
946 2008-01-26 Johan Dahlin <johan@gnome.org>
949 * tests/textbuffertest.c:
950 Rename textbuffer test and port it to the new test framework
952 2008-01-25 Johan Dahlin <johan@gnome.org>
954 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
955 unsetting of GTK_MODULES.
957 * gtk/gtk-builder-convert
958 (GtkBuilderConverter._convert_adjustment): Handle the case where
959 there is no child text node.
960 (GtkBuilderConverter): Allow xml comments in most places.
962 2008-01-25 Johan Dahlin <johan@gnome.org>
964 * gtk/gtk-builder-convert
965 (GtkBuilderConverter._convert_combobox_items): Remove the items
966 even if there are no items set.
967 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
968 signals and tooltips for all menu items subclasses and
969 GtkImageMenuItem:label.
970 Makes it possible to fully convert and run Jokosher.glade.
972 2008-01-25 Johan Dahlin <johan@gnome.org>
974 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
975 (gtk_widget_buildable_get_internal_child), (free_action),
976 (free_relation), (gtk_widget_buildable_parser_finished),
977 (accessibility_start_element),
978 (gtk_widget_buildable_custom_tag_start),
979 (gtk_widget_buildable_custom_finished):
980 Implement accessible support, fixes #454653.
982 * gtk/gtk-builder-convert:
983 Add support for migrating old glade files
985 * tests/buildertest.c: (test_widget), (test_file):
986 Add accessible tests and imprve the test_file function to display
987 toplevels and run dialogs.
989 2008-01-25 Richard Hult <richard@imendio.com>
991 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
992 didn't change, fixes focus event issues for undecorated windows.
994 2008-01-25 Richard Hult <richard@imendio.com>
996 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
997 const and remove unused variables).
999 2008-01-25 Michael Natterer <mitch@imendio.com>
1002 * gtk/gtkcellrenderer.h
1003 * gtk/gtkimcontext.h
1007 * gtk/gtktreeprivate.h
1008 * gtk/gtktreeviewcolumn.h
1009 * gtk/gtkwidget.h: add const to constant structs which are passed
1010 into GTK+. Also add some forgotten const for const strings.
1014 * gtk/gtkcellrenderer.c
1015 * gtk/gtkimcontext.c
1020 * gtk/gtktreeviewcolumn.c
1021 * gtk/gtkwidget.c: changed accordingly.
1023 2008-01-25 Sven Herzberg <sven@imendio.com>
1025 Reviewed by Johan Dahlin.
1027 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
1028 this is called with something that's not a GtkUIManager
1030 2008-01-24 Johan Dahlin <johan@gnome.org>
1032 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
1033 Chain up to parent, so widgets can have internal children.
1035 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
1037 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
1040 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
1042 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
1044 Use pango_layout_set_height() for calendar details (#506049).
1046 * configure.in: Require 1.19.3 for pango_layout_set_height().
1047 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
1049 2008-01-18 Johan Dahlin <johan@gnome.org>
1051 * gtk/gtk-builder-convert (get_property_node): New method
1052 (GtkBuilderConverter._create_object): Conditionally take a node as
1053 a property value, so don't lose translate/context attributes if they
1055 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
1056 property values instead of strings.
1057 (#509153, Erik van Pienbroek)
1059 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
1061 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
1063 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
1064 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
1065 * tests/testcalendar.c: Duplicate calendar details before returning.
1067 2008-01-16 Christian Persch <chpe@gnome.org>
1069 * gtk/gtkwidget.c: Store the event mask and extension event mode
1070 directly in the gobject data pointer, instead of in an allocated
1073 2008-01-16 Michael Natterer <mitch@imendio.com>
1075 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
1076 gdk-pixbuf now uses gio functions.
1078 2008-01-16 Matthias Clasen <mclasen@redhat.com>
1080 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
1081 the notify::model signal. (#509819, David Zeuthen)
1083 2008-01-15 Michael Natterer <mitch@imendio.com>
1091 * gdk/gdkwindow.h: made more struct pointer and array parameters
1092 const. GDK should now be constified as far as possible without
1093 breaking source compatibility. Includes some minor cleanup like
1094 indentation and s/nfoo/n_foo/ (bug #508544).
1100 * gdk/gdkregion-generic.c
1102 * gdk/directfb/gdkdisplay-directfb.c
1103 * gdk/directfb/gdkwindow-directfb.c
1104 * gdk/quartz/gdkdisplay-quartz.c
1105 * gdk/quartz/gdkwindow-quartz.c
1106 * gdk/win32/gdkdisplay-win32.c
1107 * gdk/win32/gdkwindow-win32.c
1108 * gdk/x11/gdkdisplay-x11.c
1109 * gdk/x11/gdkwindow-x11.c: changed accordingly.
1111 2008-01-14 Michael Natterer <mitch@imendio.com>
1113 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
1116 (gtk_rc_parse_any): change variables to const and introduce
1117 another local variable to fix const warnings.
1119 2008-01-14 Michael Natterer <mitch@imendio.com>
1121 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
1122 of gdk_screen_get_font_options() to gpointer to get rid of const
1125 2008-01-14 Michael Natterer <mitch@imendio.com>
1127 * tests/testdnd.c (source_drag_data_get): fix another call to
1128 gtk_selection_data_set().
1130 2008-01-14 Michael Natterer <mitch@imendio.com>
1132 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
1135 2008-01-14 Michael Natterer <mitch@imendio.com>
1137 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
1139 2008-01-14 Michael Natterer <mitch@imendio.com>
1141 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
1142 "uris" to guchar* when passing it to gtk_selection_data_set().
1144 2008-01-14 Michael Natterer <mitch@imendio.com>
1150 * gdk/gdkinternals.h
1152 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
1153 parameters const (bug #508544).
1158 * gdk/gdkrectangle.c
1159 * gdk/gdkpolyreg-generic.c
1160 * gdk/gdkregion-generic.c
1161 * gdk/directfb/gdkcolor-directfb.c
1162 * gdk/directfb/gdkgc-directfb.c
1163 * gdk/directfb/gdkgeometry-directfb.c
1164 * gdk/directfb/gdkwindow-directfb.c
1165 * gdk/quartz/gdkcolor-quartz.c
1166 * gdk/quartz/gdkgc-quartz.c
1167 * gdk/quartz/gdkgeometry-quartz.c
1168 * gdk/quartz/gdkwindow-quartz.c
1169 * gdk/win32/gdkcolor-win32.c
1170 * gdk/win32/gdkgc-win32.c
1171 * gdk/win32/gdkgeometry-win32.c
1172 * gdk/win32/gdkprivate-win32.h
1173 * gdk/win32/gdkwindow-win32.c
1174 * gdk/x11/gdkcolor-x11.c
1175 * gdk/x11/gdkgc-x11.c
1176 * gdk/x11/gdkgeometry-x11.c
1177 * gdk/x11/gdkmain-x11.c
1178 * gdk/x11/gdkprivate-x11.h
1179 * gdk/x11/gdkwindow-x11.c: changed accordingly.
1181 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
1184 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
1186 Explain name choice for gtk_tool_item_toolbar_reconfigured.
1188 * gtk/gtktoolitem.c: Add comment expaining name choice for
1189 gtk_tool_item_toolbar_reconfigured.
1191 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
1193 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
1194 implementations to notify its children, when some aspect of their
1195 configuration changed (#509042).
1197 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
1198 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
1199 Rename _gtk_tool_item_toolbar_reconfigured.
1201 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
1203 Include <gtk/gtktoolshell.h> from gtk.h.
1205 * gtk/gtk.h: Add gtktoolshell.h
1207 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
1209 Print angle brackets arround e-mail addresses in the about dialog
1210 (#409520, Mariano Suárez-Alvarez).
1212 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
1214 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
1216 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
1217 special casing so test widgets are always queues for destruction
1220 * gtk/tests/testing.c: removed bits left-over from testing without
1223 2008-01-10 Tor Lillqvist <tml@novell.com>
1225 * modules/other/gail/libgail-util/Makefile.am
1226 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
1229 2008-01-10 Tor Lillqvist <tml@novell.com>
1231 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
1232 uses gtkprintunixdialog API.
1234 2008-01-10 Tor Lillqvist <tml@novell.com>
1236 * gdk/win32/gdkdisplay-win32.c
1237 * gdk/win32/gdkglobals-win32.c
1238 * gdk/win32/gdkprivate-win32.h
1239 * gdk/win32/gdkscreen-win32.c
1240 * gdk/win32/gdkwindow-win32.c: Implement
1241 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
1242 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
1245 2008-01-10 Cody Russell <bratsche@gnome.org>
1247 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
1248 Properly ref/unref windows and parents. (#506769)
1250 2008-01-10 Richard Hult <richard@imendio.com>
1252 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
1253 (gdk_window_hide), (move_resize_window_internal): Move the
1254 tracking rect workaround from here...
1256 * gdk/quartz/GdkQuartzWindow.c:
1257 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
1258 movements during showing/hiding operations. Fixes bug #508516.
1260 2008-01-10 Michael Natterer <mitch@imendio.com>
1262 * gdk/directfb/gdkscreen-directfb.c
1263 (gdk_screen_get_monitor_width_mm)
1264 (gdk_screen_get_monitor_height_mm)
1265 (gdk_screen_get_monitor_plug_name): add these functions to make
1268 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
1270 * gtk/gtkrecentchoosermenu.c:
1271 (idle_populate_func), (idle_populate_clean_up): Fix possible
1272 recursion by resetting the idle source id. (#507605, William
1275 2008-01-10 Kristian Rietveld <kris@imendio.com>
1277 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
1278 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
1279 avoid valgrind warnings. (#507751, patch from Christian Persch).
1281 2008-01-10 Kristian Rietveld <kris@imendio.com>
1283 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
1284 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
1286 2008-01-10 Kristian Rietveld <kris@imendio.com>
1288 Fix #477175, reported by Juri Pakaste.
1290 * gtk/gtktreeprivate.h:
1291 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
1292 tree_view->priv->dy here directly, just calculate the new value
1293 and set it on the adjustment,
1294 (gtk_tree_view_adjustment_changed): add guards to not call
1295 gtk_tree_view_dy_to_top_row() if we are currently in
1296 gtk_tree_view_top_row_to_dy(),
1297 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
1298 coordinates, not tree coordinates,
1299 (gtk_tree_view_real_start_editing): add cast.
1301 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
1302 position of the editable in the "create new row and start editing"
1305 2008-01-09 Michael Natterer <mitch@imendio.com>
1307 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
1310 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
1311 * gtk/gtkicontheme.c (theme_list_contexts)
1312 (gtk_icon_theme_lookup_icon)
1313 * gtk/gtkimcontextsimple.c (beep_window)
1314 * gtk/gtklinkbutton.c (set_link_color)
1315 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
1318 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
1319 variable and add const to another to fix a warning.
1321 2008-01-07 Matthias Clasen <mclasen@redhat.com>
1323 * gtk/gtkassistant.c (remove_page): Be more robust when removing
1324 the current page. (#499951, Andreas Sandberg)
1326 2008-01-06 Johan Dahlin <johan@gnome.org>
1328 * gtk/gtkspinbutton.c: Declare value in the example code for
1329 GtkSpinButton::output, as pointed out by Anders Carlsson.
1331 2008-01-06 Christian Persch <chpe@gnome.org>
1333 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
1334 and remove an obsolete event box. Bug #506760.
1336 2008-01-06 Johan Dahlin <johan@gnome.org>
1338 * tests/buildertest.c (test_domain):
1339 Update, GtkBuilder::translation-domain is no longer set
1341 * gtk/gtkbuilderparser.c (parse_interface):
1342 Allow domains to be overridden in <interface>'s if a translation-domain
1343 is set in the builder.
1344 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
1345 of the builder, make the domain set in the <interface> apply only to strings
1347 (#496831, Ryan Lortie)
1349 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
1352 * gtk/gtktreestore.c (tree_model_end_element):
1353 Remove an unused variable
1355 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1357 * gtk/gtkspinbutton.c: Document the ::output signal and
1358 add an example. (#507566, example by Owen Taylor)
1360 2008-01-06 Johan Dahlin <johan@gnome.org>
1362 * gtk/gtkcellrenderercombo.c:
1363 (gtk_cell_renderer_combo_get_property),
1364 (gtk_cell_renderer_combo_set_property):
1365 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
1366 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
1367 * gtk/gtknotebook.c: (gtk_notebook_set_property):
1368 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
1369 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
1370 (gtk_text_buffer_get_property):
1371 * gtk/gtktextview.c: (gtk_text_view_set_property):
1372 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
1373 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
1374 (gtk_tool_button_get_property):
1375 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
1376 (gtk_tool_item_get_property):
1377 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
1378 * gtk/gtkwidget.c: (gtk_widget_set_property):
1379 * gtk/gtkwindow.c: (gtk_window_set_property):
1380 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
1383 2008-01-06 Johan Dahlin <johan@gnome.org>
1385 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
1386 Make sure that --root works for toplevel widgets.
1387 (#491847, Phil Lello)
1389 2008-01-05 Johan Dahlin <johan@gnome.org>
1391 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
1392 to make sure that make test-report works properly
1394 2008-01-05 Christian Persch <chpe@gnome.org>
1396 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
1397 GType as integer through gpointer. Bug #507395.
1399 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
1401 Avoid some compiler warnings (#507000).
1403 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
1404 for value argument of _gtk_builder_flags_from_string.
1405 * gtk/gtkwidget.c: Don't alias the child pointer passed
1406 to gdk_window_get_user_data.
1408 2008-01-04 Michael Natterer <mitch@imendio.com>
1410 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
1411 to set the time in the returned GdkTimeCoords.
1413 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
1415 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
1416 correct comparison function (kudos to Christian Persch and
1417 Claudio Saavedra for spotting this)
1419 * gtk/gtkrecentchooserutils.c:
1420 (sort_recent_items_mru),
1421 (sort_recent_items_lru): Ditto as above.
1423 2008-01-03 Johan Dahlin <johan@gnome.org>
1425 * tests/defaultvaluetest.c: Make it pass again.
1427 2008-01-02 Johan Dahlin <johan@gnome.org>
1429 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
1430 make it pass on Ubuntu.
1431 (main): Use gtk_test_list_all_types () instead of providing our
1433 And it no longer passes.
1435 2007-12-30 Johannes Schmid <jhs@gnome.org>
1437 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
1438 Also reorder menu when reordering tabs by drag & drop
1441 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
1442 Add a menu to one of the notebooks to have a test-case for
1443 the change mentioned above.
1445 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
1447 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
1449 2007-12-31 Christian Persch <chpe@gnome.org>
1451 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
1452 Plug a mem leak. Bug #506107.
1454 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1456 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
1457 icon cache api change. (#506135, Kazuki Iwamoto)
1459 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1461 Consider "wide-separators" and "separator-height" style properties:
1462 The separator is drawn using gtk_paint_box instead of cairo, when
1463 "wide-separators" is set. Also do not highlight details for previous
1464 or next month, if their day matches the selected day. (#339540)
1466 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
1467 in gtk_calendar_size_request and calendar_paint_day
1468 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
1469 for selected detail separators in GtkCalendar.
1471 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1473 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
1475 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
1476 a local variable instead in gtk_calendar_size_request.
1478 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1480 * tests/defaultvaluetest.c: Add enough exclusions to make the
1483 2007-12-28 Christian Persch <chpe@gnome.org>
1485 * modules/other/gail/Makefile.am:
1486 * modules/other/gail/tests/*:
1487 * configure.in: Merge tests from standalone gail. Bug #504568.
1489 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1491 * gtk/gtkclipboard.c: Make the finalizer work when display is
1494 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1496 Draw bottom shadow of GtkCalender headings. (#506113)
1498 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
1500 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1502 * gtk/gtkcalendar.c: Document the initial values of year/month/day
1505 2007-12-28 Christian Persch <chpe@gnome.org>
1507 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
1508 a mem leak. Bug #506096.
1510 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1513 * gtk/gtktreeview.c:
1514 * gtk/gtkprintoperation.c:
1515 * gtk/gtkprogressbar.c:
1516 * gtk/gtkmessagedialog.c:
1517 * gtk/gtknotebook.c:
1521 * gtk/gtklinkbutton.c:
1522 * gtk/gtkmenu.c: More default property value corrections.
1524 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1526 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
1527 accel_group unless it is set.
1529 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1531 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
1533 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1535 * gtk/gtkhandlebox.c: Fix the default values of shadow and
1536 shadow-type properties.
1538 * gtk/gtkfontsel.c: Fix the default values of several properties.
1540 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
1543 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
1545 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
1548 2007-12-28 Johan Dahlin <johan@gnome.org>
1550 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
1551 (gtk_dialog_buildable_custom_tag_start): Chain up.
1552 This makes it possible to have accelerators tags on GtkDialog
1555 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1557 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
1558 are shown within the widget, or just as tooltip. (#339540)
1560 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
1561 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
1562 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
1565 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1567 Try more decent appearance of calendar details separator. (#339540)
1569 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
1570 and make it short by one pixel on each side.
1572 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1574 Apply trivial code-style changes from attachement 101101. (#339540)
1576 * tests/testcalendar.c: Some updates to current GTK+ code-style.
1578 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1580 Restructure testcalendar for testing calendar details. (#339540)
1582 * tests/testcalendar.c: Push code arround for testing calendar details.
1584 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1586 Implement GtkTooltip API for calendar details. (#339540)
1588 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
1589 Remember detail overflows in calendar_paint_day to show the tooltip
1590 only when neccessary.
1592 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1594 Without setting "detail-width-chars" and "detail-height-rows"
1595 properties not only the widget has to be redrawn on certain
1596 conditions, but also its size must be recalculated. (#339540)
1598 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
1599 that function instead of gtk_widget_queue_draw.
1601 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1603 Consider details for size-request and expose-event. (#339540)
1605 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
1606 is_color_attribute functions. Change gtk_calendar_size_request
1607 and calendar_paint_day to consider and show calender details.
1609 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1611 * gtk/gtkcombobox.c: Introduce local priv variables to
1614 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1616 * gtk/gtkcombobox.c: Correct the default value for the
1617 tearoff-title property.
1619 * gtk/gtkcellrenderertext.c: Fix the default value for the
1620 wrap-mode and font-scale properties.
1622 * gtk/gtkaspectratio.c: Fix the default value for the ratio
1625 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1627 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
1628 defines. (#505708, MINAMI Hirokazu)
1630 2007-12-27 Christian Persch <chpe@gnome.org>
1632 * Makefile.am: Install gail.pc. Bug #505859.
1634 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
1636 Add infrastructure for GtkCalendar details. (#339540)
1638 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
1639 Add "detail-width-chars" and "detail-height-rows" properties,
1640 and gtk_calendar_set_detail_func function.
1642 2007-12-27 Xan Lopez <xan@gnome.org>
1645 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
1647 Add gtk_border_new to avoid memory allocator confusions when using
1648 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
1650 2007-12-27 Christian Persch <chpe@gnome.org>
1652 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
1653 bug #504886 not to read unitialised memory.
1655 2007-12-26 Xan Lopez <xan@gnome.org>
1657 * gtk/gtkstatusbar.c (has_extra_children): take into account the
1658 modification of the internal frame contents to decide if we have
1659 extra children. (#415677)
1661 2007-12-22 Christian Persch <chpe@gnome.org>
1663 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
1665 2007-12-25 Christian Persch <chpe@gnome.org>
1667 * modules/other/gail/gailwindow.c: (gail_window_initialize):
1668 Initialise |widget|. Fixes a buglet introduced by the commit from bug
1671 2007-12-25 Christian Persch <chpe@gnome.org>
1673 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
1675 2007-12-25 Christian Persch <chpe@gnome.org>
1677 * modules/other/gail/*.[ch]: Remove relocations from the atk
1678 factories. Remove unused gail_foo_new() functions. Fix object
1679 instantiation to be derivation safe by moving initialisation code
1680 from the removed gail_foo_new() functions to the
1681 AtkObjectClass::initialize implementation. Bug #505226.
1683 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1685 * modules/other/gail/gailentry.c:
1686 * modules/other/gail/gailimage.c:
1687 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
1688 uses of clipboards and settings. (#504722, Christian Persch)
1690 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1692 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
1695 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1697 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
1698 use the time and button information from the event. (#504901,
1701 2007-12-23 Cody Russell <bratsche@gnome.org>
1703 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
1704 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
1705 Fixes a regression caused by #164537 patch where transient
1706 windows that are hidden get shown (incorrectly) when their
1707 parents are minimized. (#504984)
1709 2007-12-22 Christian Persch <chpe@gnome.org>
1711 * modules/other/gail/gailcell.c:
1712 * modules/other/gail/gailcontainercell.c:
1713 * modules/other/gail/gailexpander.c:
1714 * modules/other/gail/gailtextcell.c:
1715 * modules/other/gail/gailtextview.c:
1716 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
1718 2007-12-22 Christian Persch <chpe@gnome.org>
1720 * modules/other/gail/*.c: Include config.h. Bug #504720.
1722 2007-12-22 Christian Persch <chpe@gnome.org>
1724 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
1725 handwritten get_type functions. Bug #504661.
1727 2007-12-23 Xan Lopez <xan@gnome.org>
1729 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
1730 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
1732 Patch by Sadrul Habib Chowdhury (#504804)
1734 2007-12-22 Christian Persch <chpe@gnome.org>
1736 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
1737 #504645, patch by Li Yuan.
1739 2007-12-22 Christian Persch <chpe@gnome.org>
1741 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
1743 2007-12-22 Christian Persch <chpe@gnome.org>
1745 * modules/other/gail/gail.c:
1746 * modules/other/gail/gailbutton.c:
1747 * modules/other/gail/gailcell.c:
1748 * modules/other/gail/gailcombo.c:
1749 * modules/other/gail/gailcombo.h:
1750 * modules/other/gail/gailcombobox.c:
1751 * modules/other/gail/gailentry.c:
1752 * modules/other/gail/gailexpander.c:
1753 * modules/other/gail/gailmenuitem.c:
1754 * modules/other/gail/gailnotebook.c:
1755 * modules/other/gail/gailnotebookpage.c:
1756 * modules/other/gail/gailnotebookpage.h:
1757 * modules/other/gail/gailoptionmenu.c:
1758 * modules/other/gail/gailrange.c:
1759 * modules/other/gail/gailtextview.c:
1760 * modules/other/gail/gailtreeview.c:
1761 * modules/other/gail/gailtreeview.h:
1762 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
1765 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1767 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
1770 2007-12-21 Richard Hult <richard@imendio.com>
1772 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
1773 Plug leak of destroyed subviews, fixes bug #504753.
1775 2007-12-20 Johan Dahlin <johan@gnome.org>
1777 * tests/Makefile.am (TEST_PROGS):
1778 * tests/defaultvaluetest.c: Add a test for default values,
1779 based on program by Christan Perch
1781 2007-12-20 Johan Dahlin <johan@gnome.org>
1783 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
1784 Refactor to avoid some duplication.
1785 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
1786 Fixes #504749, Yuri Pimenov
1788 2007-12-20 Kristian Rietveld <kris@imendio.com>
1790 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
1791 the build work again on systems without xrandr 1.2.
1793 2007-12-20 Christian Persch <chpe@gnome.org>
1796 * modules/other/gail/libgail-util/Makefile.am:
1797 Keep the same libtool version as the standalone libgail-util had.
1800 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
1802 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
1804 2007-12-20 Alexander Larsson <alexl@redhat.com>
1806 * gdk/x11/gdkapplaunchcontext-x11.c:
1807 Update for gio API changes
1809 2007-12-20 Richard Hult <richard@imendio.com>
1811 * gdk/quartz/GdkQuartzWindow.c:
1812 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
1813 processing events after changing the size.
1815 2007-12-20 Richard Hult <richard@imendio.com>
1817 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
1818 Add stub for quartz to fix build.
1820 2007-12-20 Christian Persch <chpe@gnome.org>
1822 * modules/other/gail/Makefile.am:
1823 * modules/other/gail/gailimage.c: (gail_image_class_init),
1824 (gail_image_init), (elide_underscores), (gail_image_get_name),
1825 (atk_image_interface_init), (gail_image_finalize):
1826 * modules/other/gail/gailimage.h:
1827 R modules/other/gail/gailintl.h:
1828 * po/POTFILES.skip: Use the stock item's label as the name of the
1829 accessible in gailimage.c. Bug #504246.
1831 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
1833 Avoid some compiler warnings and remove obsolete code. (#339540)
1835 * gtk/gtkcalendar.c: Change week and year variable in
1836 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
1837 0" block from calendar_paint_day: The feature in question is handled
1838 few lines above. Cast data returned by gtk_selection_data_get_text()
1839 to (gchar*) in gtk_calendar_drag_data_received.
1841 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
1843 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
1845 2007-12-19 Johan Dahlin <johan@gnome.org>
1847 * tests/buildertest.c (test_object_properties):
1848 Add another call to gtk_builder_add_string after using
1849 delayed properties, as reported in #504393 but already
1852 2007-12-18 Christian Persch <chpe@gnome.org>
1855 * docs/reference/Makefile.am:
1856 * docs/reference/libgail-util/*:
1857 * gail-uninstalled.pc.in:
1859 * modules/Makefile.am:
1860 * modules/other/Makefile.am:
1861 * modules/other/gail/*:
1862 * modules/other/gail/libgail-util/*:
1863 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
1865 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1867 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
1868 * gdk/win32/gdkproperty-win32.c:
1869 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
1871 * gtk/gtkimmodule.[hc]:
1872 * gtk/gtkimmulticontext.[hc]: When determining the default context,
1873 look at the gtk-im-module setting, and listen for changes to the
1874 setting. (#502446, Akira Tagoh)
1876 2007-12-17 Kristian Rietveld <kris@imendio.com>
1878 * gtk/gtktooltip.c (gtk_tooltip_finalize),
1879 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
1880 to NULL as soon as it's destroyed. (#496546, patch from
1883 2007-12-17 Kristian Rietveld <kris@imendio.com>
1885 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
1886 always determine what arrow to show if show_sort_indicator is true.
1887 (#352738, Chris Vine).
1889 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
1891 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
1892 Sébastien Granjoux)
1894 * gtk/gtkpaned.c: Call gtk_container_forall instead of
1895 gtk_container_foreach in get_child_panes.
1897 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
1899 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
1901 Plug leak: When reordering the info in the list the old node is
1902 removed but not freed. (#503569)
1904 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
1906 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
1907 Use u32 instead of __u32 and u8 instead of __u8 as the other types
1908 are deprecated since DirectFB 1.0.0. If compiling with an older
1909 version define the new type name to the old types. Fixes bug #503190.
1911 2007-12-14 Ray Strode <rstrode@redhat.com>
1913 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
1914 instead of g_signal_connect_after (..., "realize", ...) as an
1915 alternative to gtk_widget_realize () (bug 503537).
1917 2007-12-14 Michael Natterer <mitch@imendio.com>
1919 * gdk/gdkinternals.h
1920 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
1923 * gdk/gdkapplaunchcontext.c
1924 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
1925 header already includes everything now.
1927 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1929 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
1930 next stable release shall be 2.16, not 2.14 - even if disagree.
1932 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
1934 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1936 Change GtkToolItem to retrieve its properties from GtkToolShell
1937 interface, instead of relying on being child of a GtkToolbar.
1940 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
1941 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
1942 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
1943 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
1944 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
1945 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
1946 Take section docs from template file and update them for GtkToolShell.
1947 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
1948 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
1950 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1952 Extract loading of GtkPageSetup and GtkPrintSettings from their
1953 *_new_*() functions and move that code into separate
1954 *_load_*() functions (#475565).
1956 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
1957 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
1958 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
1959 Change the matching *_new_*() functions to use those functions.
1961 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1964 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
1966 2007-12-14 Kristian Rietveld <kris@imendio.com>
1968 * gtk/tests/liststore.c:
1969 * gtk/tests/treestore.c: added tests for insertion functions.
1971 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
1973 * Add RandR 1.2 support
1975 - New monitors_changed signal - New API to get width/height of
1976 monitors, and the name of the plug
1978 2007-12-13 Kristian Rietveld <kris@imendio.com>
1980 * gtk/tests/liststore.c:
1981 * gtk/tests/treestore.c: test the move and swap functions on a
1982 store with only one node.
1984 2007-12-13 Kristian Rietveld <kris@imendio.com>
1986 * gtk/gtktestutils.c (gtk_test_init): add a call to
1989 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
1992 2007-12-13 Kristian Rietveld <kris@imendio.com>
1994 * gtk/tests/liststore.c:
1995 * gtk/tests/treestore.c: start composing tests for the list and tree
1998 * gtk/tests/treeview-scrolling.c: added automated tests for
1999 GtkTreeView's scrolling "subsystem".
2001 * gtk/tests/Makefile.am: updated; added new test programs.
2003 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
2005 Make the code compile again after the GdkAppLaunchContext changes.
2007 * configure.in: Add gio-2.0 to GDK_PACKAGES.
2008 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
2010 2007-12-12 Matthias Clasen <mclasen@redhat.com>
2012 * gdk/gdkapplaunchcontext.c: Add docs
2014 2007-12-12 Matthias Clasen <mclasen@redhat.com>
2016 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
2017 in gdk, providing startup notification. (#503203)
2019 * gdk/x11/gdkapplaunchcontext-x11.c:
2020 * gdk/win32/gdkapplaunchcontext-win32.c:
2021 * gdk/quartz/gdkapplaunchcontext-quartz.c:
2022 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
2023 parts. All but X11 are just empty stubs for now.
2026 * gdk/gdkinternals.h:
2028 * gdk/x11/Makefile.am:
2029 * gdk/win32/Makefile.am:
2030 * gdk/quartz/Makefile.am:
2031 * gdk/directfb/Makefile.am: Necessary glue.
2033 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
2035 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
2037 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2039 * gdk/directfb/gdktestutils-directfb.c:
2040 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
2041 which adds testing functions to the DirectFB backend.
2043 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2045 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
2046 Ciccani which fixes the mixing of gdk and cairo rendering.
2048 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
2050 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
2051 on "drag-motion" handlers. Clearify documentation for
2054 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
2056 * buildertest.c: made unnecessarily exported symbols static.
2057 switched g_return_if_fail() statements in tests to assertions.
2058 special cased currently failing Widget/accesibility test to
2059 run only for g_test_thorough(), so it doesn't break make check.
2060 some coding style fixes.
2062 * Makefile.am: added buildertest to TEST_PROGS.
2064 2007-12-11 Stefan Kost <ensonic@users.sf.net>
2066 * docs/tutorial/gtk-tut.sgml:
2067 Use gtk_widget_get_parent_window() instead of widget->parent->window.
2069 2007-12-10 Richard Hult <richard@imendio.com>
2071 * gdk/quartz/Makefile.am:
2072 * gdk/quartz/gdkquartz.h:
2073 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
2074 header (bug #405915). Also add a getter for the toplevel nswindow.
2076 2007-12-10 Richard Hult <richard@imendio.com>
2078 * gdk/quartz/gdkdrawable-quartz.c:
2079 (gdk_quartz_drawable_get_context),
2080 (gdk_quartz_drawable_release_context):
2081 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
2082 (gdk_event_check), (gdk_event_dispatch), (poll_func):
2083 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
2084 used for each drawing context and in prepare, dispatch and poll
2085 with one that exists across each main loop iteration. Fixes leaks
2086 on leopard and protects against future leaks introduce when the
2087 underlying system changes again (bug #492977).
2089 2007-12-10 Richard Hult <richard@imendio.com>
2091 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
2092 Fix the check for no changes to position and size.
2094 2007-12-10 Richard Hult <richard@imendio.com>
2096 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
2097 sized areas at (0, 0), patch from Paul Davis.
2099 2007-12-10 Richard Hult <richard@imendio.com>
2101 * gdk/quartz/gdkprivate-quartz.h:
2102 * gdk/quartz/gdkeventloop-quartz.c:
2103 (_gdk_quartz_event_loop_get_pending),
2104 (_gdk_quartz_event_loop_check_pending),
2105 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
2106 (gdk_event_check), (gdk_event_dispatch):
2107 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
2108 (_gdk_events_queue): Fix a bug where we could end up trying to
2109 handle the same event more than once. Based on patch from Paul
2112 2007-12-10 Tor Lillqvist <tml@novell.com>
2114 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
2117 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2119 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
2120 to avoid further fallout from the fix for bug 388321.
2122 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2124 * gdk/directfb/gdkgc-directfb.c:
2125 * gdk/directfb/gdkdrawable-directfb.c:
2126 * gdk/directfb/gdkdirectfb.h:
2127 * gdk/directfb/gdkwindow-directfb.c:
2128 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
2129 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
2130 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
2131 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
2132 which are expected to improve the performance of the DirectFB backend.
2133 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
2135 2007-12-07 Matthias Clasen <mclasen@redhat.com>
2137 * gtk/gtkcontainer.c: Correct the documentation of child
2138 property getter arguments. (#501992, David Brigada)
2140 2007-12-07 Matthias Clasen <mclasen@redhat.com>
2142 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
2143 leak pixbufs. (#502250, Yevgen Muntyan)
2145 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
2147 * gtk/gtkprintunixdialog.c:
2148 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
2149 Print and Page Setup dialogs (#502202).
2151 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
2153 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
2154 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
2155 of XVFB_START, since it's the GTESTER invokation that needs this.
2157 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
2159 * gdk-pixbuf/gdk-pixbuf.symbols:
2161 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
2162 positives in abicheck.sh
2164 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2166 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
2167 GDK events generations in the DirectFB backend.
2169 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
2171 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
2172 set of likely unused display ids, because MacOS has no seq(1) command.
2174 2007-12-06 Richard Hult <richard@imendio.com>
2176 * gdk/quartz/gdkevents-quartz.c:
2177 (synthesize_crossing_events_for_ns_event): Fix warning when
2178 switching spaces in leopard.
2180 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
2182 * tests/floatingtest.c: ported to new testing framework.
2184 * tests/Makefile.am: run floatingtest as testing framework test.
2186 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
2188 * tests/autotestfilechooser.c: majorly speed up execution by reducing
2189 timeouts and converting main loop sleeps to pending/iterate loops with
2190 very low priority async handlers. eliminate output for non-verbose
2191 tests. assert successfull subtests in all test functions. use testing
2192 framework in main().
2194 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
2195 executed inside Xvfb upon make check.
2197 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
2199 * tests/objecttests.c: use string comparisons for string property
2200 values and get rid of referencing symbols in array initialization.
2202 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
2204 * gtk+/Makefile.decl: run tests in current dir after setting up the
2205 logging directory, so their results get properly merged into the
2208 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
2209 tests to loop over registered Gdk/Gtk+ types.
2211 * gtk+/tests/objecttests.c: new test program, implements automated
2212 property tests. several properties are blacklisted because they
2213 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
2214 can be used to test blacklisted properties and see which proprty failed.
2216 2007-12-04 Richard Hult <richard@imendio.com>
2218 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
2219 Fully initialize the root window, fixes bug #501583.
2221 2007-12-04 Matthias Clasen <mclasen@redhat.com>
2223 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
2226 2007-12-03 Richard Hult <richard@imendio.com>
2228 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
2229 Don't crash when dragging from a source that doesn't support uri
2230 lists (bug #499868, Paul Davis).
2232 2007-12-03 Richard Hult <richard@imendio.com>
2234 * gdk/quartz/gdkwindow-quartz.c:
2235 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
2236 parent relative bg pixmap is set, and no parent has a bg
2237 pixmap. Fixes bug #500804.
2239 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2241 Two optimizations for icon cache lookups.
2243 * gtk/gtkiconcache.[hc]:
2244 * gtk/gtkicontheme.c: Remember the directory index for
2245 subdirectories, instead of running over the directory list
2248 * gtk/gtkiconcache.c (find_image_offset): Remember the last
2249 chain and try it first; this helps with the the usage patterns
2250 in gtkicontheme.c, where the same icon is queried for a lot
2253 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
2255 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
2256 functions from header files. this should be portable across linux and
2257 Mac OS, unlike the previpous sed expression.
2259 2007-12-1 Cody Russell <bratsche@gnome.org>
2261 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
2262 On Windows, queue a redraw of child2 whenever we set
2263 the pane handle position. This is unfortunately kind
2264 of hacky, but solves the visual artifacts that were
2265 occuring on at least certain types of child widgets
2266 (e.g., text views and tree views) that are inside
2267 horizontal or vertical panes. (#144269)
2269 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2271 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
2273 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2275 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
2278 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2280 * gtk/Makefile.am: Fix ordering of subdirs.
2282 2007-11-28 Tor Lillqvist <tml@novell.com>
2284 A proper build of GNU libintl is supposed to export the variable
2285 _nl_msg_cat_cntr. configure looks for that variable in order to
2286 recognize GNU gettext. If it sees that it is indeed GNU gettext
2287 that is used, it decides to install message catalogs in
2288 share/locale, otherwise in lib/locale. Until now on Windows I have
2289 built GTK+ against a build of GNU gettext that did not export
2290 _nl_msg_cat_cntr. But this will change, so we can't assume message
2291 catalogs are always in lib/locale.
2293 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
2294 GTK_LOCALEDIR being either in "lib" or "share". Move the function
2295 before the inclusion of gtkprivate.h so that it sees the original
2298 * gtk-zip.sh.in: Check whether the message catalogs are in
2299 share/locale or lib/locale.
2301 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
2302 that the code in _gtk_get_localedir() will find the slashes.
2304 2007-11-28 Tor Lillqvist <tml@novell.com>
2306 * gtk/Makefile.am: Improve portability. The -o option is present
2307 only in newish GNU egreps. Use one more sed in the pipeline
2310 2007-11-28 Tor Lillqvist <tml@novell.com>
2312 Fix #375893, patch by Ben Hague:
2314 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
2315 around GetLogicalDrives() that takes also the viewable drive
2316 restrictions in the Registry (which are usually the result of an
2317 Active Directory Group Policy) into account.
2319 (check_volumes, gtk_file_system_win32_list_volumes) Call
2320 get_viewable_logical_drives() instead of GetLogicalDrives().
2322 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2324 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
2325 variables to silence valgrind. (#495124, Morten Welinder)
2327 2006-11-26 Ryan Lortie <desrt@desrt.ca>
2329 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
2330 that the construct_child function is responsible for returning a
2332 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
2333 objects from constructors
2334 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
2335 g_object_ref() to this construction function (it's the only
2340 2006-11-26 Ryan Lortie <desrt@desrt.ca>
2342 * gtkbuilder.c: remove concept of root objects and just refcount
2343 all objects in the builder. Fixes #496651.
2345 2007-11-26 Ryan Lortie <desrt@desrt.ca>
2347 * tests/buildertest.c (test_window): fix invalid free
2349 2007-11-26 Josselin Mouette <joss@malsain.org>
2351 reviewed by: Federico Mena Quintero
2353 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
2354 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
2355 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
2356 Make the shortcuts activate with a single click. (#148828)
2357 Fix a few things affected by the change:
2358 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
2359 where no shortcut is selected.
2360 - Don't activate a shortcut in the response callback.
2361 - Filter out duplicate entries in volumes and bookmarks to
2362 avoid the selection to change when reordering them with DnD.
2364 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2367 * gtk/gtknotebook.c:
2368 * gtk/gtkplugprivate.h:
2370 * gtk/gtksocketprivate.h:
2371 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
2373 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2375 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
2376 (#495574, Richard Hult)
2378 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2380 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
2381 String change ! (#376361, Sven Neumann)
2383 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2385 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
2387 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
2390 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2392 * gtk/gtkassistant.c: Improve alternative button
2393 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
2395 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2397 * gtk/gtkcalendar.c: Fix a theming problem with colors
2398 in GtkCalendar. (#499703, Michael Hofmann)
2400 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2402 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
2404 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2406 Use templates for glib-mkenums calls instead of
2407 complicated commandlines in Makefiles. (#429910)
2409 * gdk-pixbuf/Makefile.am:
2412 * perf/Makefile.am: Use templates for glib-mkenums
2414 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
2415 * gdk/gdkenumtypes.[ch].template:
2416 * gtk/gtktypebuiltings.[ch].template:
2417 * perf/typebuiltins.[ch].template: The templates
2419 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2421 * gtk/gtkfilechooserbutton.c:
2422 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
2423 some compilers choke on that. (#467722)
2425 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2427 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
2428 about hook setup. (#425004, Emmanuele Bassi)
2430 2007-11-26 Tor Lillqvist <tml@novell.com>
2432 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
2433 monitor the window currently is on, not always the primary
2434 monitor. (#463865, Tim Evans)
2436 2007-11-26 Tor Lillqvist <tml@novell.com>
2438 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
2440 * gdk/win32/Makefile.am: Add it.
2442 2007-11-26 Tor Lillqvist <tml@novell.com>
2444 * configure.in: Don't add jasper to all_loaders if no libjasper.
2446 2007-11-25 Bastien Nocera <hadess@hadess.net>
2448 * configure.in: Add detection for libjasper, used by the
2449 gdk-pixbuf JPEG2000 loader
2451 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2453 * configure.in: Require gtk-doc 1.8
2455 * */*.c: Use gtk-doc abbreviations for examples in docs.
2457 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2459 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
2462 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2464 * gtk/gtkdialog.c: Move signal and property documentation inline,
2465 fix a problem with the ::response signal docs. (#499133, Josselin
2468 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
2470 * Makefile.decl: initialize automake variables EXTRA_DIST and
2471 TEST_PROGS for unconditional appending via += in other makefiles.
2472 define recursive test targets: test, test-report, perf-report,
2473 full-report, as described here:
2474 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
2475 the test targets will execute Gtk+ test programs within an Xvfb session.
2477 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
2479 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
2480 g_test_run() to run the tests to integrate with the testing framework.
2482 * gtk/tests/Makefile.am: removed exemplary testing rules.
2484 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
2485 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
2486 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
2487 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
2488 * docs/reference/Makefile.am, docs/tools/Makefile.am:
2489 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
2490 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
2491 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
2492 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
2493 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
2494 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
2495 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
2496 * modules/engines/ms-windows/Theme/Makefile.am:
2497 * modules/engines/ms-windows/Makefile.am:
2498 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
2499 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
2500 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
2501 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
2502 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
2503 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
2504 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
2506 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2508 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
2509 (#485662, patch by Herbert Valerio Riedel)
2511 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2513 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
2515 2007-11-21 Richard Hult <richard@imendio.com>
2517 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
2518 stubs for the testing functions to fix the build.
2520 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2522 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
2523 (#467711, The Written Word)
2525 2007-11-21 Ross Burton <ross@openedhand.com>
2527 * gdk/x11/gdksettings.c:
2528 Add xsetting for gtk-scrolled-window-placement (#458103).
2530 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2532 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
2533 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
2534 (#469239, Michael Natterer)
2536 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2538 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
2539 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
2540 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
2541 (#436536, Tommi Komulainen)
2543 2007-11-21 Matthias Clasen <mclasen@redhat.com>
2545 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
2546 property. (#489782, Jan Janech)
2548 2007-11-20 Matthias Clasen <mclasen@redhat.com>
2550 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
2551 frames. (#107398, Owen Taylor, Miguel Gomez)
2553 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
2555 Moved Gdk test functions from Gtk+ to Gdk test utils.
2557 * gdk/Makefile.am: added gdktestutils.h to public includes.
2559 * gdk/gdk.h: added gdktestutils.h to public includes.
2561 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
2562 gdk_test_render_sync.
2564 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
2565 gdk_test_simulate_key, gdk_test_render_sync.
2567 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
2569 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
2570 gdk_test_simulate_key, gdk_test_render_sync.
2572 * gtk/gtktestutils.c:
2573 * gtk/gtktestutils.h:
2574 * gtk/gtk.symbols: removed gtk_test_simulate_button
2575 gtk_test_simulate_key, gtk_test_xserver_render_sync.
2577 * gtk/tests/testing.c: call gdk_test_render_sync.
2579 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
2581 Added unit tests for Gtk+ testing utilities.
2583 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
2584 utility functions. some g_test_* related portions are disabled and need
2585 to be enabled once Gtk+ depends on a new glib with the GLib testing
2586 framework integrated.
2588 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
2589 added exemplary test rules to run tests inside Xvfb. this needs to depend
2590 on gtester for full fledged testing.
2592 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
2593 collecting _get_type functions to catch e.g. gtk_text_get_type().
2595 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
2597 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
2599 Added Gtk+ testing utilities.
2601 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
2602 for the most part, the functions herein involve navigating and interacting
2603 with dialog elements programatically, to automate user interaction tests of
2604 dialogs and widgets.
2606 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
2608 * gtk/gtk.symbols: added gtk_test_* symbols.
2610 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
2611 generate gtktypefuncs.c which contains a list of all _get_type functions in
2613 2007-11-20 Bastien Nocera <hadess@hadess.net>
2615 * configure.in: add support for conditional icns gdk-pixbuf loader
2618 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
2620 * configure.in: updated version number to 2.15.0 for development.
2622 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
2624 === Branch for 2.12 ===