1 2008-03-11 Michael Natterer <mitch@imendio.com>
3 * gdk/linux-fb/*: removed linux-fb backend files.
8 * gtk/Makefile.am: remove remaining traces of linux-fb.
10 * gtk/gtkwindow-decorate.c: same here. There is some code that
11 calls into linux-fb to set window move/resize callbacks. I put it
12 in #if 0 as a reminder because we did use decorated windows with
13 the DirectFB backend and it did work, so I don't really know why
14 this code is needed or how it could work with DirectFB back then.
15 The file does actually compile now if DECORATE_WINDOWS is defined,
16 but I didn't test with DirectFB to check if it does anything.
18 2008-03-11 Alberto Ruiz <aruiz@gnome.org>
20 * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
21 Take thickness into account in the size allocation of the child widgets in
25 2008-03-11 Richard Hult <richard@imendio.com>
27 * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
29 2008-03-10 Tor Lillqvist <tml@novell.com>
31 * tests/teststatusicon.c (do_exit, popup_menu): Add the
32 possibility to test what happens if the process just calls exit()
33 without any orderly cleanup of GTK+.
35 2008-03-10 Tor Lillqvist <tml@novell.com>
38 * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
40 2008-03-10 Tor Lillqvist <tml@novell.com>
42 Bug 520286 - Non-deletable window has no minimize / maximize buttons
44 * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
45 New debugging output function that decodes a set of WS_* bits.
47 * gdk/win32/gdkprivate-win32.h: Declare it.
49 * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
50 New function that enables or disables one menu entry in the system
51 menu of a top-level window. (The corresponding decoration will
52 then also be enabled or disabled (grayed).)
54 (update_style_bits): Do as the comment says and don't try to
55 update the window style based on the GdkWMFunctions set for the
58 (update_system_menu): New function that enables or disables the
59 system menu entries based on a window's stored set of
62 (gdk_window_set_functions): Call update_system_menu() instead of
65 2008-03-10 Emmanuele Bassi <ebassi@gnome.org>
67 * README.in: Reword the 2.14 release notes entry about the
68 deprecation of the gtkitemfactory.h header, and fix typos
71 2008-03-08 Alberto Ruiz <aruiz@gnome.org>
73 * modules/engines/ms-windows/msw_style.c (draw_shadow):
74 Do not draw frame if parent if combobox.
76 Uses scrollbar width system metrics for combobox button.
77 Fixes #461805 for XP theme engine.
79 2008-03-07 Johan Dahlin <johan@gnome.org>
82 * gtk/gtkbuilderparser.c:
83 * gtk/gtkbuilderprivate.h:
84 * gtk/gtkiconfactory.c:
85 * tests/buildertest.c:
86 - Treat enums like enums and not values
87 - Avoid invalid free, in case of more than two sources
88 - Add better error messages
89 - Add much improved tests
90 (#520979, Christian Persch)
92 2008-03-07 Carlos Garnacho <carlos@imendio.com>
94 * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
97 2008-03-06 Federico Mena Quintero <federico@novell.com>
99 Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
100 GtkFileChooserDialog should set a default response button if the
101 app doesn't set it. Based on a patch by Chris Wang <chris.wang@sun.com>.
103 * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
104 function, refactor from where there was duplicated code.
105 (gtk_file_chooser_dialog_map): Look at the buttons in our
106 action_area. If the response ID for a button is one of the stock
107 ones, make it the default response button.
109 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
111 * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
113 * gtk/gtkbuilderprivate.h:
114 * gtk/gtkiconfactory.c:
115 * tests/buildertest.c:
116 Implement GtkBuildable on GtkIconFactory, to make
117 it possible to register custom stock icons.
120 2008-03-06 Johan Dahlin <johan@gnome.org>
124 * gtk/gtkstyle.c: npoints->n_points.
125 * gtk/gtktestutils.h: widget->spinner
126 * gtk/gtktestutils.c: argc->argcp, argv->argvp
128 2008-03-06 William Lachance <wrlach@gmail.com>
130 * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M"
131 string localizable (as it should be).
133 2008-03-06 William Lachance <wrlach@gmail.com>
135 * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
136 the time for today's date. It's redudant. (see bug #410517).
138 2008-03-06 Xan Lopez <xan@gnome.org>
140 * gtk/gtkfixed.c: fix typo in documentation.
142 2008-03-06 Johan Dahlin <jdahlin@async.com.br>
144 * gtk/gtkitemfactory.h:
145 * gtk/gtktypeutils.h:
146 Move GtkTranslateFunc to gtktypeutils.h so we can completely
147 deprecate gtkitemfactory.h.
149 * gtk/gtkactiongroup.h:
151 Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
154 Add a note describing this slight incompatible change
156 2008-03-06 Johan Dahlin <johan@gnome.org>
158 * gtk/gtkpreview.h: Avoid double-deprecation.
160 2008-03-06 Michael Natterer <mitch@imendio.com>
163 * gtk/Makefile.am: move the remaining deprecated widgets to the
164 separate sections and replaced spaces by tabs in Makefile.am
166 2008-03-05 Johan Dahlin <johan@gnome.org>
168 * configure.in: Add --disable-cups option.
169 (#513826, Alberto Ruiz)
173 Separate broken and deprecated sources and headers into different sections
175 * tests/buildertest.c (test_list_store): Restore accidentally broken test.
177 2008-03-05 Kristian Rietveld <kris@imendio.com>
179 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
180 short-circuit in case an empty root level would be build (and thus
181 directly destroyed) if no virtual root has been set.
183 2008-03-04 Matthias Clasen <mclasen@redhat.com>
185 * modules/printbackends/cups/gtkprintbackendcups.c:
186 Honor cups user default options from ~/.cups/lpoptions
187 (#469210, Stijn Hoop)
189 2008-03-04 Michael Natterer <mitch@imendio.com>
192 * gtk/gtkcolorbutton.c
193 * gtk/gtkentrycompletion.c
194 * gtk/gtkfontbutton.c
198 * gtk/gtkpreview.c: don't include "gtksignal.h".
200 * gtk/gtkfilefilter.c
201 * gtk/gtkrecentchoosermenu.c
202 * gtk/gtkrecentfilter.c
203 * gtk/gtktext.c: don't include "gtkobject.h".
205 2008-03-04 Simos Xenitellis <simos@gnome.org>
207 Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
208 - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
210 * gdk/gdkkeysyms.h: Updated file from upstream (using script from
213 * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New
214 file, contains compose sequences that used to exist in
215 gtk/gtkimcontextsimple.c
217 * gtk/compose-parse.py: Script to generate compose
218 sequences from upstream (Xorg).
220 * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table,
221 check_algorithmically): New functions. First two search in
222 gtk_compose_seqs_compact[] for matching compose sequence, third
223 tries NFC normalisation on incoming compose sequence.
224 (gtk_im_context_simple_filter_keypress):
225 Adds searching with check_compact_table(), check_algorithmically().
227 2008-03-03 Carlos Garnacho <carlos@imendio.com>
229 Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
230 scrollwheel work in GtkPathBar.
232 * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
234 * gtk/gtkpathbar.c (gtk_path_bar_realize): New function. Create
235 an input-only window, event_window, which we'll use to capture
237 (gtk_path_bar_map): Show the event_window under the rest of the
238 windows, so it will be a catch-all for unhandled events.
240 2008-03-03 Sven Neumann <sven@gimp.org>
242 * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
243 typo in the documentation of the GtkFileChooserButtons::file-set
244 signal (see bug #353196).
246 2008-03-03 Tor Lillqvist <tml@novell.com>
248 * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
251 2008-03-02 Johan Dahlin <johan@gnome.org>
253 * gtk/gtkiconview.c (gtk_icon_view_paint_item):
254 Remove left-over focus_pad variable.
255 (#490892, Claudio Saavedra)
257 * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
258 (#518166, Matt Kraai)
260 2008-03-02 Johan Dahlin <johan@gnome.org>
262 * docs/tutorial/gtk-tut.sgml: Add a missing space
263 (#517954, Matt Kraai)
265 2008-03-03 Tor Lillqvist <tml@novell.com>
267 * modules/engines/ms-windows/msw_style.c (draw_box): Check that
268 the widget is a GtkButton before casting.
270 2008-03-02 Johan Dahlin <johan@gnome.org>
272 * configure.in: Compare using = instead of ==, which is portable.
273 (#490787, Thomas Klausner)
275 2008-03-02 Johan Dahlin <johan@gnome.org>
277 * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
279 (#496032, Nelson Benitez)
281 2008-02-29 Johan Dahlin <johan@gnome.org>
283 * demos/gtk-demo/demo.ui:
284 * gtk/gtkbuilderparser.c:
285 * gtk/gtkbuilderprivate.h:
286 * gtk/gtkliststore.c:
287 * tests/buildertest.c:
288 Add translatable/context and comment attributes on
289 <col> tags under a GtkListStore. Refactor parts of the
290 translation api and make it available inside gtk+ itself.
291 Update tests and example.
292 Fixes a part of #518642
294 2008-02-29 Johan Dahlin <johan@gnome.org>
297 Add missing g_return_val_if_fail checks for public API.
299 * gtk/gtkbuilderparser.c:
300 * gtk/gtkbuilderprivate.h:
301 Do not use g_error for a few more errors, instead set
302 the GError sent in through add_from_file/add_from_string.
303 * tests/buildertest.c:
304 Add a couple of new parsing tests.
305 (#519199, Pavel Syomin)
307 2008-02-29 Federico Mena Quintero <federico@novell.com>
309 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
310 refreshing an existing folder (i.e. when we are about to reload
311 its file list), turn off the folder's is_finished_loading flag.
312 Otherwise callers which do ::is_finished_loading() followed by
313 ::list_children() will get nothing.
315 2008-02-29 Cody Russell <bratsche@gnome.org>
317 * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
318 say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
320 2008-02-28 Matthias Clasen <mclasen@redhat.com>
322 * gtk/gtkcalendar.h: Remove trailing comma from enum to
323 make the compiler happy. (#517295, Sylvain Pasche)
325 2008-02-27 Michael Natterer <mitch@imendio.com>
335 * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
336 private functions and virtual function implementations.
338 2008-02-27 Richard Hult <richard@imendio.com>
340 * gdk/quartz/GdkQuartzView.c:
341 * gdk/quartz/GdkQuartzView.h:
342 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
343 Fix performance regression for borderless transparent windows
346 2008-02-27 Emmanuele Bassi <ebassi@gnome.org>
348 * tests/testgtk.c: Revert back to r19454.
350 2008-02-27 Sven Neumann <sven@gimp.org>
352 * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
353 Quartz backend, use a native Mac OS X application for the print
354 preview (bug #518624).
356 2008-02-26 Michael Natterer <mitch@imendio.com>
358 * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
359 the members of info->tag_stack since they are a) gobjects and b)
360 not even owned by us, ugh... Fixes crash when deserializing fails.
362 2008-02-26 Sven Neumann <sven@gimp.org>
364 * docs/tools/shooter.c (find_toplevel_window)
365 * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
366 argument passed to XQueryTree().
368 2008-02-25 Matthias Clasen <mclasen@redhat.com>
370 * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
371 don't use beagle_query_add_hit_type.
373 2008-02-25 Richard Hult <richard@imendio.com>
375 * gdk/quartz/gdkevents-quartz.c
376 (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
378 2008-02-24 Richard Hult <richard@imendio.com>
380 * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
381 shown without gdk's control when clicking the dock icon.
383 2008-02-24 Richard Hult <richard@imendio.com>
385 * gdk/quartz/gdkprivate-quartz.h:
386 * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
387 Use the subtype field for the custom event that is used to wake up
388 the mainloop so we can have other custom event types.
390 * gdk/quartz/gdkevents-quartz.c:
391 (_gdk_quartz_events_trigger_crossing_events):
392 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
393 crossing events after showing a window if necessary, to work
394 around problems with the tracking rect API.
396 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
398 * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives
399 wrong results on win32 because it doesn't set the printing units,
400 which affect the transformation of the cairo context
401 (#347125, Erik van Pienbroek)
403 2008-02-22 Tor Lillqvist <tml@novell.com>
405 * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
407 2008-02-22 Dominic Lachowicz <domlachowicz@gmail.com>
409 * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
410 acceptable for a module to only support the save_to_callback()
411 method if it marks itself as WRITABLE
413 2008-02-16 Matthias Clasen <mclasen@redhat.com>
415 * configure.in: Bump version
417 2008-02-16 Matthias Clasen <mclasen@redhat.com>
419 * === Released 2.13.0 ===
421 * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
423 2008-02-21 Tor Lillqvist <tml@novell.com>
425 * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
426 pass the format string to strftime in the C library's locale's
427 charset, not the system's. Correspondingly, the return value from
428 strftime() is in the C library's locale's charset. (#509885)
430 2008-02-20 Richard Hult <richard@imendio.com>
432 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
433 the right window level and shadow after recreating the window.
435 * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
436 necessary after drawing (bug #517338).
438 2008-02-20 Marc-Andre Lureau <marcandre.lureau@gmail.com>
440 * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
441 call to g_type_class_unref in case of error. (#517563)
443 2008-02-18 Sven Neumann <sven@gimp.org>
445 * gtk/Makefile.am (STOCK_ICONS)
446 * gtk/stock-icons/16/gtk-page-setup.png
447 * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
448 taken from GNOME icon theme.
450 * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
452 2008-02-18 Runa Bhattacharjee <runabh@gmail.com>
454 * configure.in: Added Kannada (kn) to ALL_LINGUAS
456 2008-02-17 Johan Dahlin <johan@gnome.org>
458 * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem):
459 When converting a stock item based on the label, remove the label property.
461 2008-02-17 Richard Hult <richard@imendio.com>
463 * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
464 position after showing the window since the window manager might
465 not place it where we requested in the first places.
467 2008-02-17 Richard Hult <richard@imendio.com>
469 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
470 (_gdk_quartz_window_detach_from_parent),
471 (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
472 the toplevel ordering list in all places where the order is
473 potentially changed. Fixes mouse focus issues for windows with
474 a transient parent set.
476 2008-02-17 Richard Hult <richard@imendio.com>
478 * gdk/quartz/gdkevents-quartz.c
479 (_gdk_quartz_events_update_mouse_window): Highlight the mouse
480 window when event debugging is enabled.
482 2008-02-16 Richard Hult <richard@imendio.com>
484 * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
485 to the scroll event (bug #516757, Paul Davis).
487 2008-02-16 Matthias Clasen <mclasen@redhat.com>
491 2008-02-16 Matthias Clasen <mclasen@redhat.com>
493 * gtk/gtklinkbutton.c: Show the URI in a tooltip. (#505480,
496 2008-02-15 Matthias Clasen <mclasen@redhat.com>
498 * gdk/Makefile.am: Don't install private headers. (#463510)
500 * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
501 the installed header gdkprivate.h.
503 2008-02-15 Matthias Clasen <mclasen@redhat.com>
505 * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
506 a crash with hidden, reorderable tabs. (#513230,
507 Mike Massonnet, patch by Carlos Garnacho)
509 2008-02-15 Matthias Clasen <mclasen@redhat.com>
511 * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
512 Warn on duplicate action group names. (#501746, Christian
515 2008-02-15 Matthias Clasen <mclasen@redhat.com>
518 * modules/other/gail/tests/Makefile.am:
519 * modules/other/gail/libgail-util/Makefile.am:
520 * modules/other/gail/Makefile.am: Fix builddir!=srcdir
521 builds. (#516254, Yevgen Muntyan)
523 2008-02-15 Matthias Clasen <mclasen@redhat.com>
528 * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets
529 instead of hardcoded target tables. (#516092, Christian Persch)
531 2008-02-15 Matthias Clasen <mclasen@redhat.com>
533 * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
534 add the same target atom twice. (#516087, Christian Persch)
536 2008-02-15 Matthias Clasen <mclasen@redhat.com>
538 * tests/testfilechooser.c: Add a --backend option.
539 (#516073, Christian Persch)
541 2008-02-16 Richard Hult <richard@imendio.com>
543 * gdk/quartz/gdkprivate-quartz.h:
544 * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
547 2008-02-15 Matthias Clasen <mclasen@redhat.com>
549 * configure.in: Go back to 2.13.0 as version for now,
550 as there was no consensus to do the jump.
552 * many other places: Update Since: tags.
554 2008-02-15 Matthias Clasen <mclasen@redhat.com>
556 * gtk/gtk.symbols: Add gtk_tool_shell_get_type
558 * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
560 2008-02-15 Richard Hult <richard@imendio.com>
562 * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
563 instead of bounds when resizing windows.
565 2008-02-15 Matthias Clasen <mclasen@redhat.com>
567 * gdk/x11/gdkkeys-x11.c:
568 * gdk/x11/gdkcolor-x11.c:
569 * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
571 2008-02-15 Matthias Clasen <mclasen@redhat.com>
573 * gdk/x11/gdktestutils-x11.c:
574 * gdk/x11/gdkscreen-x11.c: Documentation fixes.
576 2008-02-15 Tor Lillqvist <tml@novell.com>
578 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
579 leak Registry key handles. (#516578)
581 2008-02-14 Richard Hult <richard@imendio.com>
583 * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
584 makeKeyWindow unfortunately doesn't work in all cases, we must use
585 makeKeyAndOrderFront.
587 2008-02-14 Richard Hult <richard@imendio.com>
589 * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
590 (gdk_window_hide), (gdk_window_fullscreen),
591 (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
592 the window is hidden.
594 2008-02-14 Richard Hult <richard@imendio.com>
596 * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
597 resizing to be consistent and to avoid introducing an internal
598 transform in the view.
600 2008-02-14 Richard Hult <richard@imendio.com>
602 * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
605 2008-02-14 Johan Dahlin <johan@gnome.org>
608 * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
610 2008-02-13 Richard Hult <richard@imendio.com>
612 * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
613 Remove unused variables.
614 (gtk_clipboard_set_contents),
615 (gtk_clipboard_get_owner), (clipboard_unset),
616 (gtk_clipboard_request_targets): Notify the previous clipboard
617 owner when the owner changes. Fixes bug #493406.
619 2008-02-13 Richard Hult <richard@imendio.com>
621 * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
622 the return value (return number of colors that failed), and handle
624 (gdk_colormap_free_colors): Fix typo in comment.
626 2008-02-13 Kristian Rietveld <kris@imendio.com>
628 * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
629 queue a redraw if the rubber banding has actually been active.
631 2008-02-12 Matthias Clasen <mclasne@redhat.com>
633 * gtk/gtkpapersize.c:
634 * gtk/gtkprintoperation.c:
635 * gtk/gtkvolumebutton.c:
636 * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
637 out by Behdad Esfahbod.
639 2008-02-12 Federico Mena Quintero <federico@novell.com>
641 Merged from gtk-2-12:
643 Don't focus the file list when shortcuts get activated. This
644 removes a lot of ambiguity in when the file selection should
645 change, and makes the overall code flow simpler.
647 This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
648 file/save dialog clears the filename entry when changing
651 Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
652 focus should not go to the file list when a shortcut is activated.
654 * gtk/gtkfilechooserdefault.c
655 (shortcuts_activate_volume_mount_cb): Don't focus the file list
656 (shortcuts_activate_get_info_cb): Likewise.
658 * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
659 the file list (this was the last place where we would focus the
660 file list explicitly). If you are in the location entry, for
661 example, you don't want Alt-Home to take you to the file list; you
662 just want the current folder to change. Thanks to Olle Bergkvist
663 <olle.bergkvist@yahoo.se> for pointing this out in
664 http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
665 (focus_browse_tree_view_if_possible): Removed.
667 2008-02-12 Matthias Clasen <mclasen@redhat.com>
669 Skip exensions when selecting filenames in the save-as dialog.
670 (#362516, Carlos Garnacho)
672 * gtk/gtkfilechooserentry.h:
673 * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
674 New function to skip the extension part when selecting a filename.
675 (_gtk_file_chooser_entry_set_base_folder): Use it here.
677 * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
680 2008-02-12 Matthias Clasen <mclasen@redhat.com>
682 * gtk/gtkiconview.c: Fix state change reporting for
683 accessibility. (#499835, Rich Burridge, patch by LiYan Zhang)
685 2008-02-12 Emmanuele Bassi <ebassi@gnome.org>
687 * gtk/gtkrecentchooser.c:
688 (gtk_recent_chooser_class_init): Set the default value of the
689 :show-not-found property to TRUE, as every implementation sets
692 * gtk/gtkrecentchooserdefault.c:
693 (_gtk_recent_chooser_default_init): Sync show_tips to the
694 default value of the :show-tips property.
696 2008-02-12 Matthias Clasen <mclasen@redhat.com>
698 * gtk/gtkclipboard-quartz.c:
700 * gtkselection.c: Use GSlice for GtkSelectionData. (#515060,
703 2008-02-12 Kristian Rietveld <kris@imendio.com>
705 * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
706 (gtk_tree_view_real_toggle_cursor_row): guard against people
707 deleting the row in question in the selection-changed callback.
708 (#514621, Andreas Koehler).
710 2008-02-12 Matthias Clasen <mclasen@redhat.com>
712 * gtk/*.c: Unify the handling of various "Enter" keysyms
713 all over the place. (#515047, Christian Persch)
715 2008-02-12 Matthias Clasen <mclasen@redhat.com>
717 * gtk/gtkfilesystemmodel.c:
719 * gtk/gtkwidget.c: Use g_value_set_static_string() where
720 appropriate. (#515042, Christian Persch)
722 2008-02-12 Matthias Clasen <mclasen@redhat.com>
724 * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
726 2008-02-12 Matthias Clasen <mclasen@redhat.com>
728 * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
730 2008-02-12 Matthias Clasen <mclasen@redhat.com>
732 * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
733 (recent_model_sort_drag_data_get):
734 (search_model_sort_drag_data_get):
735 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
736 * gtk/gtkpathbar.c (button_drag_data_get_cb):
737 Use gtk_selection_data_set_uris() instead of doing it
738 by hand. (#514890, Christian Persch)
740 2008-02-12 Michael Natterer <mitch@imendio.com>
742 * gtk/gtkstatusicon.c: #include "gtkmain.h" for
743 gtk_get_current_event_time().
745 2008-02-12 Michael Natterer <mitch@imendio.com>
747 * gtk/gtkwindow.c (gtk_window_activate_key): simply use
748 gtk_window_get_key_hash() to get the hash instead of manually
749 fiddling with quarks and gtk_window_keys_changed(). Also add
750 g_return_if_fail() to this public function.
752 2008-02-11 Matthias Clasen <mclasen@redhat.com>
754 Support keynav in status icons. (#473786, Li Yuan)
756 * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
758 * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
760 2008-02-11 Kristian Rietveld <kris@imendio.com>
762 * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
763 * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
764 wrt. link deletion from list; contination of fix for #503569.
766 2008-02-11 Emmanuele Bassi <ebassi@gnome.org>
768 * gtk/gtkrecentchoosermenu.c:
769 (gtk_recent_chooser_menu_constructor): Set no-show-all flag
770 on the placeholder menu item.
772 * tests/testrecentchoosermenu.c:
773 (create_recent_chooser_menu): Use gtk_widget_show_all() to test
774 whether the placeholder menu item gets shown.
776 2008-02-10 Cody Russell <bratsche@gnome.org>
778 * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
779 Check the return value of _gtk_file_chooser_get_file_system () for
780 NULL before passing it to gtk_file_system_path_to_uri ().
781 (#515667, Francesco Montorsi)
783 2008-02-10 Philip Withnall <pwithnall@svn.gnome.org>
785 * gtk/gtkbuilder.c: Improve the documentation for
786 gtk_builder_connect_signals. (#514471)
788 2008-02-10 Matthias Clasen <mclasen@redhat.com>
790 * gtk/gtkrecentaction.c: Propagate local-only. (#511987,
793 2008-02-08 Cody Russell <bratsche@gnome.org>
795 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
796 Removed an extra semicolon. (#515219, reported by Kazuki IWAMOTO)
798 2008-02-08 Richard Hult <richard@imendio.com>
800 * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
801 delta from the NSEvent for now, generating multiple scroll events
802 results in a lot of events getting queued up and things get really
805 2008-02-08 Sven Herzberg <sven@imendio.com>
807 Adjust the code to match the documentation, examples, "common sense"
808 and existing applications.
810 * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
811 that a GtkMenu for a <popup> element doesn't have to have a GtkAction
814 2008-02-07 Cody Russell <bratsche@gnome.org>
816 * gdk/win32/gdkevents-win32.c
817 * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
818 of a block that were causing compile problems on old
819 compilers. (#515053, reported by Kazuki IWAMOTO)
821 2008-02-07 Michael Natterer <mitch@imendio.com>
830 * gtk/gtkoptionmenu.c
834 * gtk/gtkradiomenuitem.c
836 * gtk/gtkscrolledwindow.c
837 * gtk/gtksocket.c: remove g_return_if_fail() from private
838 functions and virtual function implementations.
840 2008-02-07 Michael Natterer <mitch@imendio.com>
847 * gtk/gtkcellrenderercombo.c
850 * gtk/gtkdrawingarea.c
851 * gtk/gtkentrycompletion.c
857 * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
858 functions and virtual function implementations.
860 2008-02-07 Christian Persch <chpe@gnome.org>
862 * gdk/gdkpixbuf-render.c:
863 (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
864 alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
865 otherwise there will be random pixel values in the semi-transparent
866 area of the pixbuf within the mask. Bug #487865.
868 2008-02-06 Cody Russell <bratsche@gnome.org>
870 * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
871 otherwise things get wonky when you click on a menu. This fixes
872 a regression caused in #505928. Thanks to Tor for spotting this
875 2008-02-06 Michael Natterer <mitch@imendio.com>
886 * gtk/gtkseparatortoolitem.c
888 * gtk/gtktextlayout.c
889 * gtk/gtktoggletoolbutton.c
890 * gtk/gtktoolbutton.c
893 * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
896 2008-02-05 Matthias Clasen <mclasen@redhat.com>
898 * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
899 Allow to store half-open ranges.
901 2008-02-05 Cody Russell <bratsche@gnome.org>
903 * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
904 down the stack until we get to a window that is mapped.
905 Otherwise hiding a window will cause all windows in the app
906 to be blocked. (#514643)
908 2008-02-05 Matthias Clasen <mclasen@redhat.com>
910 * gtk/updateiconcache.c: Ignore images in the toplevel theme
911 directory, avoiding one source of invalid caches that has been
914 2008-02-05 Matthias Clasen <mclasen@redhat.com>
916 * gtk/updateiconcache.c: Fix the previous commit to compile.
918 2008-02-05 Matthias Clasen <mclasen@redhat.com>
920 * gtk/updateiconcache.c: Install a printerr handler that
921 prepends the program name, since gtk-update-icon-cache output
922 often appears in the middle of other output, e.g. rpm update logs.
924 2008-02-05 Cody Russell <bratsche@gnome.org>
926 * gdk/win32/gdkprivate-win32.h
927 * gdk/win32/gdkevents-win32.c
928 * gdk/win32/gdkwindow-win32.c
929 * gdk/win32/gdkwindow-win32.h
930 * gdk/win32/gdkwin32.h:
931 Modal window rework. (#455627 and #511111)
933 2008-02-04 Michael Natterer <mitch@imendio.com>
935 * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
936 g_return_if_fail() if the cell is not part of the combo instead of
937 crashing in the next line.
939 2008-02-01 Cody Russell <cody@jhu.edu>
941 * modules/engines/ms-windows/xp_theme.[ch]
942 * modules/engines/ms-windows/xp_theme_defs.h
943 * modules/engines/ms-windows/msw_rc_style.c
944 * modules/engines/ms-windows/msw_theme_main.c
945 * modules/engines/ms-windows/msw_style.c: Re-indented and generally
946 attempted to stylize more like the rest of the gtk+ stack's code.
948 2008-02-01 Michael Natterer <mitch@imendio.com>
950 * tests/testgtk.c: initialize GdkColor structs to fix warning
951 about uninitialized "pixel" member.
953 * tests/testactions.c: connect the toolbar_style() callback so it
954 does something useful and doesn't warn about being defined but not
957 2008-01-31 Cody Russell <bratsche@gnome.org>
959 * gdk/win32/gdkevents-win32.c:
960 Refactored some of the window hiding/showing code from
961 WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND. Having this
962 under WM_ACTIVATE was causing the application to go into
963 a weird state when the user right-clicked on the taskbar
964 entry of a window that was minimized. (#505928)
966 2008-01-31 Cody Russell <bratsche@gnome.org>
968 * gtk/gtkpaned.c (gtk_paned_set_position):
969 Change queue_resize() to queue_draw(), and add a check for
970 child2 != NULL in case someone calls this before there is
971 a child packed in there. (#144269 again)
973 2008-01-31 Sven Neumann <sven@gimp.org>
975 * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
976 applied patch from Denis Oliver Kropp <dok@directfb.org>.
978 2008-01-31 Sven Neumann <sven@gimp.org>
980 * gdk/directfb/gdkdisplay-directfb.c
981 * gdk/directfb/gdkdrawable-directfb.c
982 * gdk/directfb/gdkprivate-directfb.h
983 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
984 Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
986 2008-01-31 Richard Hult <richard@imendio.com>
988 * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
989 issues with undecorated windows. Revert the change done on
990 2008-01-25 and fix it by using the view's bounds instead. The
991 bounds will always be up to date when setting up the tracking
992 rect, so this should be more robust.
994 2008-01-30 Sven Neumann <sven@gimp.org>
996 * gdk/directfb/gdkdrawable-directfb.c
997 * gdk/directfb/gdkwindow-directfb.c
998 * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
999 Oliver Kropp <dok@directfb.org>. Adds debug messages using
1000 DirectFB's debugging system
1002 2008-01-30 Sven Neumann <sven@gimp.org>
1004 * gdk/directfb/gdkdirectfb.h
1005 * gdk/directfb/gdkdisplay-directfb.c
1006 * gdk/directfb/gdkdrawable-directfb.c
1007 * gdk/directfb/gdkim-directfb.c
1008 * gdk/directfb/gdkimage-directfb.c
1009 * gdk/directfb/gdkinput-directfb.c
1010 * gdk/directfb/gdkmain-directfb.c
1011 * gdk/directfb/gdkpixmap-directfb.c
1012 * gdk/directfb/gdktestutils-directfb.c
1013 * gdk/directfb/gdkvisual-directfb.c
1014 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
1015 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
1016 errors and has some cleanups.
1018 2008-01-30 Michael Natterer <mitch@imendio.com>
1020 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
1021 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
1024 * gtk/updateiconcache.c (add_string): cast const gchar* to
1025 gpointer when inserting in a GHashTable.
1027 * tests/testcalendar.c (calendar_detail_cb): remove const from
1028 return value since it's a newly allocated string.
1030 (calendar_update_details): free the detail.
1032 2008-01-29 Johan Dahlin <johan@gnome.org>
1034 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
1036 * demos/gtk-demo/demo.ui:
1037 Move the about dialog to the glade file, add accessible tags
1038 examples to the markup file.
1040 2008-01-28 Paolo Borelli <pborelli@katamail.com>
1042 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
1043 layout, fixes #512375.
1045 2008-01-28 Michael Natterer <mitch@imendio.com>
1047 * gtk/gtktextchild.c
1048 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
1050 2008-01-28 Michael Natterer <mitch@imendio.com>
1052 * demos/gtk-demo/builder.c (about_activate): use
1053 gtk_about_dialog_set_program_name() instead of the deprecated
1056 2008-01-28 Michael Natterer <mitch@imendio.com>
1058 * gtk/gtktextchild.c
1059 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
1062 2008-01-26 Johan Dahlin <johan@gnome.org>
1064 * tests/Makefile.am:
1065 * tests/textbuffertest.c:
1066 Rename textbuffer test and port it to the new test framework
1068 2008-01-25 Johan Dahlin <johan@gnome.org>
1070 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
1071 unsetting of GTK_MODULES.
1073 * gtk/gtk-builder-convert
1074 (GtkBuilderConverter._convert_adjustment): Handle the case where
1075 there is no child text node.
1076 (GtkBuilderConverter): Allow xml comments in most places.
1078 2008-01-25 Johan Dahlin <johan@gnome.org>
1080 * gtk/gtk-builder-convert
1081 (GtkBuilderConverter._convert_combobox_items): Remove the items
1082 even if there are no items set.
1083 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
1084 signals and tooltips for all menu items subclasses and
1085 GtkImageMenuItem:label.
1086 Makes it possible to fully convert and run Jokosher.glade.
1088 2008-01-25 Johan Dahlin <johan@gnome.org>
1090 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
1091 (gtk_widget_buildable_get_internal_child), (free_action),
1092 (free_relation), (gtk_widget_buildable_parser_finished),
1093 (accessibility_start_element),
1094 (gtk_widget_buildable_custom_tag_start),
1095 (gtk_widget_buildable_custom_finished):
1096 Implement accessible support, fixes #454653.
1098 * gtk/gtk-builder-convert:
1099 Add support for migrating old glade files
1101 * tests/buildertest.c: (test_widget), (test_file):
1102 Add accessible tests and imprve the test_file function to display
1103 toplevels and run dialogs.
1105 2008-01-25 Richard Hult <richard@imendio.com>
1107 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
1108 didn't change, fixes focus event issues for undecorated windows.
1110 2008-01-25 Richard Hult <richard@imendio.com>
1112 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
1113 const and remove unused variables).
1115 2008-01-25 Michael Natterer <mitch@imendio.com>
1118 * gtk/gtkcellrenderer.h
1119 * gtk/gtkimcontext.h
1123 * gtk/gtktreeprivate.h
1124 * gtk/gtktreeviewcolumn.h
1125 * gtk/gtkwidget.h: add const to constant structs which are passed
1126 into GTK+. Also add some forgotten const for const strings.
1130 * gtk/gtkcellrenderer.c
1131 * gtk/gtkimcontext.c
1136 * gtk/gtktreeviewcolumn.c
1137 * gtk/gtkwidget.c: changed accordingly.
1139 2008-01-25 Sven Herzberg <sven@imendio.com>
1141 Reviewed by Johan Dahlin.
1143 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
1144 this is called with something that's not a GtkUIManager
1146 2008-01-24 Johan Dahlin <johan@gnome.org>
1148 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
1149 Chain up to parent, so widgets can have internal children.
1151 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
1153 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
1156 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
1158 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
1160 Use pango_layout_set_height() for calendar details (#506049).
1162 * configure.in: Require 1.19.3 for pango_layout_set_height().
1163 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
1165 2008-01-18 Johan Dahlin <johan@gnome.org>
1167 * gtk/gtk-builder-convert (get_property_node): New method
1168 (GtkBuilderConverter._create_object): Conditionally take a node as
1169 a property value, so don't lose translate/context attributes if they
1171 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
1172 property values instead of strings.
1173 (#509153, Erik van Pienbroek)
1175 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
1177 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
1179 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
1180 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
1181 * tests/testcalendar.c: Duplicate calendar details before returning.
1183 2008-01-16 Christian Persch <chpe@gnome.org>
1185 * gtk/gtkwidget.c: Store the event mask and extension event mode
1186 directly in the gobject data pointer, instead of in an allocated
1189 2008-01-16 Michael Natterer <mitch@imendio.com>
1191 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
1192 gdk-pixbuf now uses gio functions.
1194 2008-01-16 Matthias Clasen <mclasen@redhat.com>
1196 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
1197 the notify::model signal. (#509819, David Zeuthen)
1199 2008-01-15 Michael Natterer <mitch@imendio.com>
1207 * gdk/gdkwindow.h: made more struct pointer and array parameters
1208 const. GDK should now be constified as far as possible without
1209 breaking source compatibility. Includes some minor cleanup like
1210 indentation and s/nfoo/n_foo/ (bug #508544).
1216 * gdk/gdkregion-generic.c
1218 * gdk/directfb/gdkdisplay-directfb.c
1219 * gdk/directfb/gdkwindow-directfb.c
1220 * gdk/quartz/gdkdisplay-quartz.c
1221 * gdk/quartz/gdkwindow-quartz.c
1222 * gdk/win32/gdkdisplay-win32.c
1223 * gdk/win32/gdkwindow-win32.c
1224 * gdk/x11/gdkdisplay-x11.c
1225 * gdk/x11/gdkwindow-x11.c: changed accordingly.
1227 2008-01-14 Michael Natterer <mitch@imendio.com>
1229 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
1232 (gtk_rc_parse_any): change variables to const and introduce
1233 another local variable to fix const warnings.
1235 2008-01-14 Michael Natterer <mitch@imendio.com>
1237 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
1238 of gdk_screen_get_font_options() to gpointer to get rid of const
1241 2008-01-14 Michael Natterer <mitch@imendio.com>
1243 * tests/testdnd.c (source_drag_data_get): fix another call to
1244 gtk_selection_data_set().
1246 2008-01-14 Michael Natterer <mitch@imendio.com>
1248 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
1251 2008-01-14 Michael Natterer <mitch@imendio.com>
1253 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
1255 2008-01-14 Michael Natterer <mitch@imendio.com>
1257 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
1258 "uris" to guchar* when passing it to gtk_selection_data_set().
1260 2008-01-14 Michael Natterer <mitch@imendio.com>
1266 * gdk/gdkinternals.h
1268 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
1269 parameters const (bug #508544).
1274 * gdk/gdkrectangle.c
1275 * gdk/gdkpolyreg-generic.c
1276 * gdk/gdkregion-generic.c
1277 * gdk/directfb/gdkcolor-directfb.c
1278 * gdk/directfb/gdkgc-directfb.c
1279 * gdk/directfb/gdkgeometry-directfb.c
1280 * gdk/directfb/gdkwindow-directfb.c
1281 * gdk/quartz/gdkcolor-quartz.c
1282 * gdk/quartz/gdkgc-quartz.c
1283 * gdk/quartz/gdkgeometry-quartz.c
1284 * gdk/quartz/gdkwindow-quartz.c
1285 * gdk/win32/gdkcolor-win32.c
1286 * gdk/win32/gdkgc-win32.c
1287 * gdk/win32/gdkgeometry-win32.c
1288 * gdk/win32/gdkprivate-win32.h
1289 * gdk/win32/gdkwindow-win32.c
1290 * gdk/x11/gdkcolor-x11.c
1291 * gdk/x11/gdkgc-x11.c
1292 * gdk/x11/gdkgeometry-x11.c
1293 * gdk/x11/gdkmain-x11.c
1294 * gdk/x11/gdkprivate-x11.h
1295 * gdk/x11/gdkwindow-x11.c: changed accordingly.
1297 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
1300 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
1302 Explain name choice for gtk_tool_item_toolbar_reconfigured.
1304 * gtk/gtktoolitem.c: Add comment expaining name choice for
1305 gtk_tool_item_toolbar_reconfigured.
1307 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
1309 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
1310 implementations to notify its children, when some aspect of their
1311 configuration changed (#509042).
1313 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
1314 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
1315 Rename _gtk_tool_item_toolbar_reconfigured.
1317 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
1319 Include <gtk/gtktoolshell.h> from gtk.h.
1321 * gtk/gtk.h: Add gtktoolshell.h
1323 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
1325 Print angle brackets arround e-mail addresses in the about dialog
1326 (#409520, Mariano Suárez-Alvarez).
1328 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
1330 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
1332 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
1333 special casing so test widgets are always queues for destruction
1336 * gtk/tests/testing.c: removed bits left-over from testing without
1339 2008-01-10 Tor Lillqvist <tml@novell.com>
1341 * modules/other/gail/libgail-util/Makefile.am
1342 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
1345 2008-01-10 Tor Lillqvist <tml@novell.com>
1347 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
1348 uses gtkprintunixdialog API.
1350 2008-01-10 Tor Lillqvist <tml@novell.com>
1352 * gdk/win32/gdkdisplay-win32.c
1353 * gdk/win32/gdkglobals-win32.c
1354 * gdk/win32/gdkprivate-win32.h
1355 * gdk/win32/gdkscreen-win32.c
1356 * gdk/win32/gdkwindow-win32.c: Implement
1357 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
1358 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
1361 2008-01-10 Cody Russell <bratsche@gnome.org>
1363 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
1364 Properly ref/unref windows and parents. (#506769)
1366 2008-01-10 Richard Hult <richard@imendio.com>
1368 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
1369 (gdk_window_hide), (move_resize_window_internal): Move the
1370 tracking rect workaround from here...
1372 * gdk/quartz/GdkQuartzWindow.c:
1373 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
1374 movements during showing/hiding operations. Fixes bug #508516.
1376 2008-01-10 Michael Natterer <mitch@imendio.com>
1378 * gdk/directfb/gdkscreen-directfb.c
1379 (gdk_screen_get_monitor_width_mm)
1380 (gdk_screen_get_monitor_height_mm)
1381 (gdk_screen_get_monitor_plug_name): add these functions to make
1384 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
1386 * gtk/gtkrecentchoosermenu.c:
1387 (idle_populate_func), (idle_populate_clean_up): Fix possible
1388 recursion by resetting the idle source id. (#507605, William
1391 2008-01-10 Kristian Rietveld <kris@imendio.com>
1393 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
1394 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
1395 avoid valgrind warnings. (#507751, patch from Christian Persch).
1397 2008-01-10 Kristian Rietveld <kris@imendio.com>
1399 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
1400 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
1402 2008-01-10 Kristian Rietveld <kris@imendio.com>
1404 Fix #477175, reported by Juri Pakaste.
1406 * gtk/gtktreeprivate.h:
1407 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
1408 tree_view->priv->dy here directly, just calculate the new value
1409 and set it on the adjustment,
1410 (gtk_tree_view_adjustment_changed): add guards to not call
1411 gtk_tree_view_dy_to_top_row() if we are currently in
1412 gtk_tree_view_top_row_to_dy(),
1413 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
1414 coordinates, not tree coordinates,
1415 (gtk_tree_view_real_start_editing): add cast.
1417 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
1418 position of the editable in the "create new row and start editing"
1421 2008-01-09 Michael Natterer <mitch@imendio.com>
1423 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
1426 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
1427 * gtk/gtkicontheme.c (theme_list_contexts)
1428 (gtk_icon_theme_lookup_icon)
1429 * gtk/gtkimcontextsimple.c (beep_window)
1430 * gtk/gtklinkbutton.c (set_link_color)
1431 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
1434 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
1435 variable and add const to another to fix a warning.
1437 2008-01-07 Matthias Clasen <mclasen@redhat.com>
1439 * gtk/gtkassistant.c (remove_page): Be more robust when removing
1440 the current page. (#499951, Andreas Sandberg)
1442 2008-01-06 Johan Dahlin <johan@gnome.org>
1444 * gtk/gtkspinbutton.c: Declare value in the example code for
1445 GtkSpinButton::output, as pointed out by Anders Carlsson.
1447 2008-01-06 Christian Persch <chpe@gnome.org>
1449 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
1450 and remove an obsolete event box. Bug #506760.
1452 2008-01-06 Johan Dahlin <johan@gnome.org>
1454 * tests/buildertest.c (test_domain):
1455 Update, GtkBuilder::translation-domain is no longer set
1457 * gtk/gtkbuilderparser.c (parse_interface):
1458 Allow domains to be overridden in <interface>'s if a translation-domain
1459 is set in the builder.
1460 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
1461 of the builder, make the domain set in the <interface> apply only to strings
1463 (#496831, Ryan Lortie)
1465 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
1468 * gtk/gtktreestore.c (tree_model_end_element):
1469 Remove an unused variable
1471 2008-01-06 Matthias Clasen <mclasen@redhat.com>
1473 * gtk/gtkspinbutton.c: Document the ::output signal and
1474 add an example. (#507566, example by Owen Taylor)
1476 2008-01-06 Johan Dahlin <johan@gnome.org>
1478 * gtk/gtkcellrenderercombo.c:
1479 (gtk_cell_renderer_combo_get_property),
1480 (gtk_cell_renderer_combo_set_property):
1481 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
1482 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
1483 * gtk/gtknotebook.c: (gtk_notebook_set_property):
1484 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
1485 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
1486 (gtk_text_buffer_get_property):
1487 * gtk/gtktextview.c: (gtk_text_view_set_property):
1488 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
1489 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
1490 (gtk_tool_button_get_property):
1491 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
1492 (gtk_tool_item_get_property):
1493 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
1494 * gtk/gtkwidget.c: (gtk_widget_set_property):
1495 * gtk/gtkwindow.c: (gtk_window_set_property):
1496 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
1499 2008-01-06 Johan Dahlin <johan@gnome.org>
1501 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
1502 Make sure that --root works for toplevel widgets.
1503 (#491847, Phil Lello)
1505 2008-01-05 Johan Dahlin <johan@gnome.org>
1507 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
1508 to make sure that make test-report works properly
1510 2008-01-05 Christian Persch <chpe@gnome.org>
1512 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
1513 GType as integer through gpointer. Bug #507395.
1515 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
1517 Avoid some compiler warnings (#507000).
1519 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
1520 for value argument of _gtk_builder_flags_from_string.
1521 * gtk/gtkwidget.c: Don't alias the child pointer passed
1522 to gdk_window_get_user_data.
1524 2008-01-04 Michael Natterer <mitch@imendio.com>
1526 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
1527 to set the time in the returned GdkTimeCoords.
1529 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
1531 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
1532 correct comparison function (kudos to Christian Persch and
1533 Claudio Saavedra for spotting this)
1535 * gtk/gtkrecentchooserutils.c:
1536 (sort_recent_items_mru),
1537 (sort_recent_items_lru): Ditto as above.
1539 2008-01-03 Johan Dahlin <johan@gnome.org>
1541 * tests/defaultvaluetest.c: Make it pass again.
1543 2008-01-02 Johan Dahlin <johan@gnome.org>
1545 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
1546 make it pass on Ubuntu.
1547 (main): Use gtk_test_list_all_types () instead of providing our
1549 And it no longer passes.
1551 2007-12-30 Johannes Schmid <jhs@gnome.org>
1553 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
1554 Also reorder menu when reordering tabs by drag & drop
1557 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
1558 Add a menu to one of the notebooks to have a test-case for
1559 the change mentioned above.
1561 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
1563 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
1565 2007-12-31 Christian Persch <chpe@gnome.org>
1567 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
1568 Plug a mem leak. Bug #506107.
1570 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1572 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
1573 icon cache api change. (#506135, Kazuki Iwamoto)
1575 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1577 Consider "wide-separators" and "separator-height" style properties:
1578 The separator is drawn using gtk_paint_box instead of cairo, when
1579 "wide-separators" is set. Also do not highlight details for previous
1580 or next month, if their day matches the selected day. (#339540)
1582 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
1583 in gtk_calendar_size_request and calendar_paint_day
1584 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
1585 for selected detail separators in GtkCalendar.
1587 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1589 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
1591 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
1592 a local variable instead in gtk_calendar_size_request.
1594 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1596 * tests/defaultvaluetest.c: Add enough exclusions to make the
1599 2007-12-28 Christian Persch <chpe@gnome.org>
1601 * modules/other/gail/Makefile.am:
1602 * modules/other/gail/tests/*:
1603 * configure.in: Merge tests from standalone gail. Bug #504568.
1605 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1607 * gtk/gtkclipboard.c: Make the finalizer work when display is
1610 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1612 Draw bottom shadow of GtkCalender headings. (#506113)
1614 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
1616 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1618 * gtk/gtkcalendar.c: Document the initial values of year/month/day
1621 2007-12-28 Christian Persch <chpe@gnome.org>
1623 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
1624 a mem leak. Bug #506096.
1626 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1629 * gtk/gtktreeview.c:
1630 * gtk/gtkprintoperation.c:
1631 * gtk/gtkprogressbar.c:
1632 * gtk/gtkmessagedialog.c:
1633 * gtk/gtknotebook.c:
1637 * gtk/gtklinkbutton.c:
1638 * gtk/gtkmenu.c: More default property value corrections.
1640 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1642 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
1643 accel_group unless it is set.
1645 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1647 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
1649 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1651 * gtk/gtkhandlebox.c: Fix the default values of shadow and
1652 shadow-type properties.
1654 * gtk/gtkfontsel.c: Fix the default values of several properties.
1656 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
1659 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
1661 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
1664 2007-12-28 Johan Dahlin <johan@gnome.org>
1666 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
1667 (gtk_dialog_buildable_custom_tag_start): Chain up.
1668 This makes it possible to have accelerators tags on GtkDialog
1671 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1673 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
1674 are shown within the widget, or just as tooltip. (#339540)
1676 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
1677 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
1678 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
1681 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1683 Try more decent appearance of calendar details separator. (#339540)
1685 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
1686 and make it short by one pixel on each side.
1688 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1690 Apply trivial code-style changes from attachement 101101. (#339540)
1692 * tests/testcalendar.c: Some updates to current GTK+ code-style.
1694 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1696 Restructure testcalendar for testing calendar details. (#339540)
1698 * tests/testcalendar.c: Push code arround for testing calendar details.
1700 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1702 Implement GtkTooltip API for calendar details. (#339540)
1704 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
1705 Remember detail overflows in calendar_paint_day to show the tooltip
1706 only when neccessary.
1708 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1710 Without setting "detail-width-chars" and "detail-height-rows"
1711 properties not only the widget has to be redrawn on certain
1712 conditions, but also its size must be recalculated. (#339540)
1714 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
1715 that function instead of gtk_widget_queue_draw.
1717 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
1719 Consider details for size-request and expose-event. (#339540)
1721 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
1722 is_color_attribute functions. Change gtk_calendar_size_request
1723 and calendar_paint_day to consider and show calender details.
1725 2007-12-28 Matthias Clasen <mclasen@redhat.com>
1727 * gtk/gtkcombobox.c: Introduce local priv variables to
1730 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1732 * gtk/gtkcombobox.c: Correct the default value for the
1733 tearoff-title property.
1735 * gtk/gtkcellrenderertext.c: Fix the default value for the
1736 wrap-mode and font-scale properties.
1738 * gtk/gtkaspectratio.c: Fix the default value for the ratio
1741 2007-12-27 Matthias Clasen <mclasen@redhat.com>
1743 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
1744 defines. (#505708, MINAMI Hirokazu)
1746 2007-12-27 Christian Persch <chpe@gnome.org>
1748 * Makefile.am: Install gail.pc. Bug #505859.
1750 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
1752 Add infrastructure for GtkCalendar details. (#339540)
1754 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
1755 Add "detail-width-chars" and "detail-height-rows" properties,
1756 and gtk_calendar_set_detail_func function.
1758 2007-12-27 Xan Lopez <xan@gnome.org>
1761 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
1763 Add gtk_border_new to avoid memory allocator confusions when using
1764 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
1766 2007-12-27 Christian Persch <chpe@gnome.org>
1768 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
1769 bug #504886 not to read unitialised memory.
1771 2007-12-26 Xan Lopez <xan@gnome.org>
1773 * gtk/gtkstatusbar.c (has_extra_children): take into account the
1774 modification of the internal frame contents to decide if we have
1775 extra children. (#415677)
1777 2007-12-22 Christian Persch <chpe@gnome.org>
1779 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
1781 2007-12-25 Christian Persch <chpe@gnome.org>
1783 * modules/other/gail/gailwindow.c: (gail_window_initialize):
1784 Initialise |widget|. Fixes a buglet introduced by the commit from bug
1787 2007-12-25 Christian Persch <chpe@gnome.org>
1789 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
1791 2007-12-25 Christian Persch <chpe@gnome.org>
1793 * modules/other/gail/*.[ch]: Remove relocations from the atk
1794 factories. Remove unused gail_foo_new() functions. Fix object
1795 instantiation to be derivation safe by moving initialisation code
1796 from the removed gail_foo_new() functions to the
1797 AtkObjectClass::initialize implementation. Bug #505226.
1799 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1801 * modules/other/gail/gailentry.c:
1802 * modules/other/gail/gailimage.c:
1803 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
1804 uses of clipboards and settings. (#504722, Christian Persch)
1806 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1808 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
1811 2007-12-24 Matthias Clasen <mclasen@redhat.com>
1813 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
1814 use the time and button information from the event. (#504901,
1817 2007-12-23 Cody Russell <bratsche@gnome.org>
1819 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
1820 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
1821 Fixes a regression caused by #164537 patch where transient
1822 windows that are hidden get shown (incorrectly) when their
1823 parents are minimized. (#504984)
1825 2007-12-22 Christian Persch <chpe@gnome.org>
1827 * modules/other/gail/gailcell.c:
1828 * modules/other/gail/gailcontainercell.c:
1829 * modules/other/gail/gailexpander.c:
1830 * modules/other/gail/gailtextcell.c:
1831 * modules/other/gail/gailtextview.c:
1832 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
1834 2007-12-22 Christian Persch <chpe@gnome.org>
1836 * modules/other/gail/*.c: Include config.h. Bug #504720.
1838 2007-12-22 Christian Persch <chpe@gnome.org>
1840 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
1841 handwritten get_type functions. Bug #504661.
1843 2007-12-23 Xan Lopez <xan@gnome.org>
1845 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
1846 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
1848 Patch by Sadrul Habib Chowdhury (#504804)
1850 2007-12-22 Christian Persch <chpe@gnome.org>
1852 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
1853 #504645, patch by Li Yuan.
1855 2007-12-22 Christian Persch <chpe@gnome.org>
1857 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
1859 2007-12-22 Christian Persch <chpe@gnome.org>
1861 * modules/other/gail/gail.c:
1862 * modules/other/gail/gailbutton.c:
1863 * modules/other/gail/gailcell.c:
1864 * modules/other/gail/gailcombo.c:
1865 * modules/other/gail/gailcombo.h:
1866 * modules/other/gail/gailcombobox.c:
1867 * modules/other/gail/gailentry.c:
1868 * modules/other/gail/gailexpander.c:
1869 * modules/other/gail/gailmenuitem.c:
1870 * modules/other/gail/gailnotebook.c:
1871 * modules/other/gail/gailnotebookpage.c:
1872 * modules/other/gail/gailnotebookpage.h:
1873 * modules/other/gail/gailoptionmenu.c:
1874 * modules/other/gail/gailrange.c:
1875 * modules/other/gail/gailtextview.c:
1876 * modules/other/gail/gailtreeview.c:
1877 * modules/other/gail/gailtreeview.h:
1878 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
1881 2007-12-22 Matthias Clasen <mclasen@redhat.com>
1883 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
1886 2007-12-21 Richard Hult <richard@imendio.com>
1888 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
1889 Plug leak of destroyed subviews, fixes bug #504753.
1891 2007-12-20 Johan Dahlin <johan@gnome.org>
1893 * tests/Makefile.am (TEST_PROGS):
1894 * tests/defaultvaluetest.c: Add a test for default values,
1895 based on program by Christan Perch
1897 2007-12-20 Johan Dahlin <johan@gnome.org>
1899 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
1900 Refactor to avoid some duplication.
1901 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
1902 Fixes #504749, Yuri Pimenov
1904 2007-12-20 Kristian Rietveld <kris@imendio.com>
1906 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
1907 the build work again on systems without xrandr 1.2.
1909 2007-12-20 Christian Persch <chpe@gnome.org>
1912 * modules/other/gail/libgail-util/Makefile.am:
1913 Keep the same libtool version as the standalone libgail-util had.
1916 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
1918 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
1920 2007-12-20 Alexander Larsson <alexl@redhat.com>
1922 * gdk/x11/gdkapplaunchcontext-x11.c:
1923 Update for gio API changes
1925 2007-12-20 Richard Hult <richard@imendio.com>
1927 * gdk/quartz/GdkQuartzWindow.c:
1928 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
1929 processing events after changing the size.
1931 2007-12-20 Richard Hult <richard@imendio.com>
1933 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
1934 Add stub for quartz to fix build.
1936 2007-12-20 Christian Persch <chpe@gnome.org>
1938 * modules/other/gail/Makefile.am:
1939 * modules/other/gail/gailimage.c: (gail_image_class_init),
1940 (gail_image_init), (elide_underscores), (gail_image_get_name),
1941 (atk_image_interface_init), (gail_image_finalize):
1942 * modules/other/gail/gailimage.h:
1943 R modules/other/gail/gailintl.h:
1944 * po/POTFILES.skip: Use the stock item's label as the name of the
1945 accessible in gailimage.c. Bug #504246.
1947 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
1949 Avoid some compiler warnings and remove obsolete code. (#339540)
1951 * gtk/gtkcalendar.c: Change week and year variable in
1952 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
1953 0" block from calendar_paint_day: The feature in question is handled
1954 few lines above. Cast data returned by gtk_selection_data_get_text()
1955 to (gchar*) in gtk_calendar_drag_data_received.
1957 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
1959 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
1961 2007-12-19 Johan Dahlin <johan@gnome.org>
1963 * tests/buildertest.c (test_object_properties):
1964 Add another call to gtk_builder_add_string after using
1965 delayed properties, as reported in #504393 but already
1968 2007-12-18 Christian Persch <chpe@gnome.org>
1971 * docs/reference/Makefile.am:
1972 * docs/reference/libgail-util/*:
1973 * gail-uninstalled.pc.in:
1975 * modules/Makefile.am:
1976 * modules/other/Makefile.am:
1977 * modules/other/gail/*:
1978 * modules/other/gail/libgail-util/*:
1979 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
1981 2007-12-17 Matthias Clasen <mclasen@redhat.com>
1983 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
1984 * gdk/win32/gdkproperty-win32.c:
1985 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
1987 * gtk/gtkimmodule.[hc]:
1988 * gtk/gtkimmulticontext.[hc]: When determining the default context,
1989 look at the gtk-im-module setting, and listen for changes to the
1990 setting. (#502446, Akira Tagoh)
1992 2007-12-17 Kristian Rietveld <kris@imendio.com>
1994 * gtk/gtktooltip.c (gtk_tooltip_finalize),
1995 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
1996 to NULL as soon as it's destroyed. (#496546, patch from
1999 2007-12-17 Kristian Rietveld <kris@imendio.com>
2001 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
2002 always determine what arrow to show if show_sort_indicator is true.
2003 (#352738, Chris Vine).
2005 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
2007 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
2008 Sébastien Granjoux)
2010 * gtk/gtkpaned.c: Call gtk_container_forall instead of
2011 gtk_container_foreach in get_child_panes.
2013 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
2015 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
2017 Plug leak: When reordering the info in the list the old node is
2018 removed but not freed. (#503569)
2020 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
2022 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
2023 Use u32 instead of __u32 and u8 instead of __u8 as the other types
2024 are deprecated since DirectFB 1.0.0. If compiling with an older
2025 version define the new type name to the old types. Fixes bug #503190.
2027 2007-12-14 Ray Strode <rstrode@redhat.com>
2029 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
2030 instead of g_signal_connect_after (..., "realize", ...) as an
2031 alternative to gtk_widget_realize () (bug 503537).
2033 2007-12-14 Michael Natterer <mitch@imendio.com>
2035 * gdk/gdkinternals.h
2036 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
2039 * gdk/gdkapplaunchcontext.c
2040 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
2041 header already includes everything now.
2043 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2045 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
2046 next stable release shall be 2.16, not 2.14 - even if disagree.
2048 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
2050 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2052 Change GtkToolItem to retrieve its properties from GtkToolShell
2053 interface, instead of relying on being child of a GtkToolbar.
2056 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
2057 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
2058 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
2059 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
2060 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
2061 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
2062 Take section docs from template file and update them for GtkToolShell.
2063 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
2064 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
2066 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
2068 Extract loading of GtkPageSetup and GtkPrintSettings from their
2069 *_new_*() functions and move that code into separate
2070 *_load_*() functions (#475565).
2072 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
2073 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
2074 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
2075 Change the matching *_new_*() functions to use those functions.
2077 2007-12-14 Matthias Clasen <mclasen@redhat.com>
2080 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
2082 2007-12-14 Kristian Rietveld <kris@imendio.com>
2084 * gtk/tests/liststore.c:
2085 * gtk/tests/treestore.c: added tests for insertion functions.
2087 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
2089 * Add RandR 1.2 support
2091 - New monitors_changed signal - New API to get width/height of
2092 monitors, and the name of the plug
2094 2007-12-13 Kristian Rietveld <kris@imendio.com>
2096 * gtk/tests/liststore.c:
2097 * gtk/tests/treestore.c: test the move and swap functions on a
2098 store with only one node.
2100 2007-12-13 Kristian Rietveld <kris@imendio.com>
2102 * gtk/gtktestutils.c (gtk_test_init): add a call to
2105 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
2108 2007-12-13 Kristian Rietveld <kris@imendio.com>
2110 * gtk/tests/liststore.c:
2111 * gtk/tests/treestore.c: start composing tests for the list and tree
2114 * gtk/tests/treeview-scrolling.c: added automated tests for
2115 GtkTreeView's scrolling "subsystem".
2117 * gtk/tests/Makefile.am: updated; added new test programs.
2119 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
2121 Make the code compile again after the GdkAppLaunchContext changes.
2123 * configure.in: Add gio-2.0 to GDK_PACKAGES.
2124 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
2126 2007-12-12 Matthias Clasen <mclasen@redhat.com>
2128 * gdk/gdkapplaunchcontext.c: Add docs
2130 2007-12-12 Matthias Clasen <mclasen@redhat.com>
2132 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
2133 in gdk, providing startup notification. (#503203)
2135 * gdk/x11/gdkapplaunchcontext-x11.c:
2136 * gdk/win32/gdkapplaunchcontext-win32.c:
2137 * gdk/quartz/gdkapplaunchcontext-quartz.c:
2138 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
2139 parts. All but X11 are just empty stubs for now.
2142 * gdk/gdkinternals.h:
2144 * gdk/x11/Makefile.am:
2145 * gdk/win32/Makefile.am:
2146 * gdk/quartz/Makefile.am:
2147 * gdk/directfb/Makefile.am: Necessary glue.
2149 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
2151 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
2153 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2155 * gdk/directfb/gdktestutils-directfb.c:
2156 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
2157 which adds testing functions to the DirectFB backend.
2159 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2161 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
2162 Ciccani which fixes the mixing of gdk and cairo rendering.
2164 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
2166 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
2167 on "drag-motion" handlers. Clearify documentation for
2170 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
2172 * buildertest.c: made unnecessarily exported symbols static.
2173 switched g_return_if_fail() statements in tests to assertions.
2174 special cased currently failing Widget/accesibility test to
2175 run only for g_test_thorough(), so it doesn't break make check.
2176 some coding style fixes.
2178 * Makefile.am: added buildertest to TEST_PROGS.
2180 2007-12-11 Stefan Kost <ensonic@users.sf.net>
2182 * docs/tutorial/gtk-tut.sgml:
2183 Use gtk_widget_get_parent_window() instead of widget->parent->window.
2185 2007-12-10 Richard Hult <richard@imendio.com>
2187 * gdk/quartz/Makefile.am:
2188 * gdk/quartz/gdkquartz.h:
2189 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
2190 header (bug #405915). Also add a getter for the toplevel nswindow.
2192 2007-12-10 Richard Hult <richard@imendio.com>
2194 * gdk/quartz/gdkdrawable-quartz.c:
2195 (gdk_quartz_drawable_get_context),
2196 (gdk_quartz_drawable_release_context):
2197 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
2198 (gdk_event_check), (gdk_event_dispatch), (poll_func):
2199 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
2200 used for each drawing context and in prepare, dispatch and poll
2201 with one that exists across each main loop iteration. Fixes leaks
2202 on leopard and protects against future leaks introduce when the
2203 underlying system changes again (bug #492977).
2205 2007-12-10 Richard Hult <richard@imendio.com>
2207 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
2208 Fix the check for no changes to position and size.
2210 2007-12-10 Richard Hult <richard@imendio.com>
2212 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
2213 sized areas at (0, 0), patch from Paul Davis.
2215 2007-12-10 Richard Hult <richard@imendio.com>
2217 * gdk/quartz/gdkprivate-quartz.h:
2218 * gdk/quartz/gdkeventloop-quartz.c:
2219 (_gdk_quartz_event_loop_get_pending),
2220 (_gdk_quartz_event_loop_check_pending),
2221 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
2222 (gdk_event_check), (gdk_event_dispatch):
2223 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
2224 (_gdk_events_queue): Fix a bug where we could end up trying to
2225 handle the same event more than once. Based on patch from Paul
2228 2007-12-10 Tor Lillqvist <tml@novell.com>
2230 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
2233 2007-12-10 Matthias Clasen <mclasen@redhat.com>
2235 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
2236 to avoid further fallout from the fix for bug 388321.
2238 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2240 * gdk/directfb/gdkgc-directfb.c:
2241 * gdk/directfb/gdkdrawable-directfb.c:
2242 * gdk/directfb/gdkdirectfb.h:
2243 * gdk/directfb/gdkwindow-directfb.c:
2244 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
2245 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
2246 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
2247 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
2248 which are expected to improve the performance of the DirectFB backend.
2249 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
2251 2007-12-07 Matthias Clasen <mclasen@redhat.com>
2253 * gtk/gtkcontainer.c: Correct the documentation of child
2254 property getter arguments. (#501992, David Brigada)
2256 2007-12-07 Matthias Clasen <mclasen@redhat.com>
2258 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
2259 leak pixbufs. (#502250, Yevgen Muntyan)
2261 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
2263 * gtk/gtkprintunixdialog.c:
2264 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
2265 Print and Page Setup dialogs (#502202).
2267 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
2269 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
2270 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
2271 of XVFB_START, since it's the GTESTER invokation that needs this.
2273 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
2275 * gdk-pixbuf/gdk-pixbuf.symbols:
2277 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
2278 positives in abicheck.sh
2280 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
2282 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
2283 GDK events generations in the DirectFB backend.
2285 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
2287 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
2288 set of likely unused display ids, because MacOS has no seq(1) command.
2290 2007-12-06 Richard Hult <richard@imendio.com>
2292 * gdk/quartz/gdkevents-quartz.c:
2293 (synthesize_crossing_events_for_ns_event): Fix warning when
2294 switching spaces in leopard.
2296 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
2298 * tests/floatingtest.c: ported to new testing framework.
2300 * tests/Makefile.am: run floatingtest as testing framework test.
2302 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
2304 * tests/autotestfilechooser.c: majorly speed up execution by reducing
2305 timeouts and converting main loop sleeps to pending/iterate loops with
2306 very low priority async handlers. eliminate output for non-verbose
2307 tests. assert successfull subtests in all test functions. use testing
2308 framework in main().
2310 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
2311 executed inside Xvfb upon make check.
2313 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
2315 * tests/objecttests.c: use string comparisons for string property
2316 values and get rid of referencing symbols in array initialization.
2318 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
2320 * gtk+/Makefile.decl: run tests in current dir after setting up the
2321 logging directory, so their results get properly merged into the
2324 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
2325 tests to loop over registered Gdk/Gtk+ types.
2327 * gtk+/tests/objecttests.c: new test program, implements automated
2328 property tests. several properties are blacklisted because they
2329 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
2330 can be used to test blacklisted properties and see which proprty failed.
2332 2007-12-04 Richard Hult <richard@imendio.com>
2334 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
2335 Fully initialize the root window, fixes bug #501583.
2337 2007-12-04 Matthias Clasen <mclasen@redhat.com>
2339 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
2342 2007-12-03 Richard Hult <richard@imendio.com>
2344 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
2345 Don't crash when dragging from a source that doesn't support uri
2346 lists (bug #499868, Paul Davis).
2348 2007-12-03 Richard Hult <richard@imendio.com>
2350 * gdk/quartz/gdkwindow-quartz.c:
2351 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
2352 parent relative bg pixmap is set, and no parent has a bg
2353 pixmap. Fixes bug #500804.
2355 2007-12-03 Matthias Clasen <mclasen@redhat.com>
2357 Two optimizations for icon cache lookups.
2359 * gtk/gtkiconcache.[hc]:
2360 * gtk/gtkicontheme.c: Remember the directory index for
2361 subdirectories, instead of running over the directory list
2364 * gtk/gtkiconcache.c (find_image_offset): Remember the last
2365 chain and try it first; this helps with the the usage patterns
2366 in gtkicontheme.c, where the same icon is queried for a lot
2369 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
2371 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
2372 functions from header files. this should be portable across linux and
2373 Mac OS, unlike the previpous sed expression.
2375 2007-12-1 Cody Russell <bratsche@gnome.org>
2377 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
2378 On Windows, queue a redraw of child2 whenever we set
2379 the pane handle position. This is unfortunately kind
2380 of hacky, but solves the visual artifacts that were
2381 occuring on at least certain types of child widgets
2382 (e.g., text views and tree views) that are inside
2383 horizontal or vertical panes. (#144269)
2385 2007-11-30 Matthias Clasen <mclasen@redhat.com>
2387 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
2389 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2391 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
2394 2007-11-29 Matthias Clasen <mclasen@redhat.com>
2396 * gtk/Makefile.am: Fix ordering of subdirs.
2398 2007-11-28 Tor Lillqvist <tml@novell.com>
2400 A proper build of GNU libintl is supposed to export the variable
2401 _nl_msg_cat_cntr. configure looks for that variable in order to
2402 recognize GNU gettext. If it sees that it is indeed GNU gettext
2403 that is used, it decides to install message catalogs in
2404 share/locale, otherwise in lib/locale. Until now on Windows I have
2405 built GTK+ against a build of GNU gettext that did not export
2406 _nl_msg_cat_cntr. But this will change, so we can't assume message
2407 catalogs are always in lib/locale.
2409 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
2410 GTK_LOCALEDIR being either in "lib" or "share". Move the function
2411 before the inclusion of gtkprivate.h so that it sees the original
2414 * gtk-zip.sh.in: Check whether the message catalogs are in
2415 share/locale or lib/locale.
2417 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
2418 that the code in _gtk_get_localedir() will find the slashes.
2420 2007-11-28 Tor Lillqvist <tml@novell.com>
2422 * gtk/Makefile.am: Improve portability. The -o option is present
2423 only in newish GNU egreps. Use one more sed in the pipeline
2426 2007-11-28 Tor Lillqvist <tml@novell.com>
2428 Fix #375893, patch by Ben Hague:
2430 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
2431 around GetLogicalDrives() that takes also the viewable drive
2432 restrictions in the Registry (which are usually the result of an
2433 Active Directory Group Policy) into account.
2435 (check_volumes, gtk_file_system_win32_list_volumes) Call
2436 get_viewable_logical_drives() instead of GetLogicalDrives().
2438 2007-11-27 Matthias Clasen <mclasen@redhat.com>
2440 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
2441 variables to silence valgrind. (#495124, Morten Welinder)
2443 2006-11-26 Ryan Lortie <desrt@desrt.ca>
2445 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
2446 that the construct_child function is responsible for returning a
2448 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
2449 objects from constructors
2450 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
2451 g_object_ref() to this construction function (it's the only
2456 2006-11-26 Ryan Lortie <desrt@desrt.ca>
2458 * gtkbuilder.c: remove concept of root objects and just refcount
2459 all objects in the builder. Fixes #496651.
2461 2007-11-26 Ryan Lortie <desrt@desrt.ca>
2463 * tests/buildertest.c (test_window): fix invalid free
2465 2007-11-26 Josselin Mouette <joss@malsain.org>
2467 reviewed by: Federico Mena Quintero
2469 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
2470 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
2471 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
2472 Make the shortcuts activate with a single click. (#148828)
2473 Fix a few things affected by the change:
2474 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
2475 where no shortcut is selected.
2476 - Don't activate a shortcut in the response callback.
2477 - Filter out duplicate entries in volumes and bookmarks to
2478 avoid the selection to change when reordering them with DnD.
2480 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2483 * gtk/gtknotebook.c:
2484 * gtk/gtkplugprivate.h:
2486 * gtk/gtksocketprivate.h:
2487 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
2489 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2491 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
2492 (#495574, Richard Hult)
2494 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2496 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
2497 String change ! (#376361, Sven Neumann)
2499 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2501 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
2503 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
2506 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2508 * gtk/gtkassistant.c: Improve alternative button
2509 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
2511 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2513 * gtk/gtkcalendar.c: Fix a theming problem with colors
2514 in GtkCalendar. (#499703, Michael Hofmann)
2516 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2518 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
2520 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2522 Use templates for glib-mkenums calls instead of
2523 complicated commandlines in Makefiles. (#429910)
2525 * gdk-pixbuf/Makefile.am:
2528 * perf/Makefile.am: Use templates for glib-mkenums
2530 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
2531 * gdk/gdkenumtypes.[ch].template:
2532 * gtk/gtktypebuiltings.[ch].template:
2533 * perf/typebuiltins.[ch].template: The templates
2535 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2537 * gtk/gtkfilechooserbutton.c:
2538 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
2539 some compilers choke on that. (#467722)
2541 2007-11-26 Matthias Clasen <mclasen@redhat.com>
2543 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
2544 about hook setup. (#425004, Emmanuele Bassi)
2546 2007-11-26 Tor Lillqvist <tml@novell.com>
2548 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
2549 monitor the window currently is on, not always the primary
2550 monitor. (#463865, Tim Evans)
2552 2007-11-26 Tor Lillqvist <tml@novell.com>
2554 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
2556 * gdk/win32/Makefile.am: Add it.
2558 2007-11-26 Tor Lillqvist <tml@novell.com>
2560 * configure.in: Don't add jasper to all_loaders if no libjasper.
2562 2007-11-25 Bastien Nocera <hadess@hadess.net>
2564 * configure.in: Add detection for libjasper, used by the
2565 gdk-pixbuf JPEG2000 loader
2567 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2569 * configure.in: Require gtk-doc 1.8
2571 * */*.c: Use gtk-doc abbreviations for examples in docs.
2573 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2575 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
2578 2007-11-25 Matthias Clasen <mclasen@redhat.com>
2580 * gtk/gtkdialog.c: Move signal and property documentation inline,
2581 fix a problem with the ::response signal docs. (#499133, Josselin
2584 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
2586 * Makefile.decl: initialize automake variables EXTRA_DIST and
2587 TEST_PROGS for unconditional appending via += in other makefiles.
2588 define recursive test targets: test, test-report, perf-report,
2589 full-report, as described here:
2590 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
2591 the test targets will execute Gtk+ test programs within an Xvfb session.
2593 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
2595 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
2596 g_test_run() to run the tests to integrate with the testing framework.
2598 * gtk/tests/Makefile.am: removed exemplary testing rules.
2600 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
2601 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
2602 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
2603 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
2604 * docs/reference/Makefile.am, docs/tools/Makefile.am:
2605 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
2606 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
2607 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
2608 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
2609 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
2610 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
2611 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
2612 * modules/engines/ms-windows/Theme/Makefile.am:
2613 * modules/engines/ms-windows/Makefile.am:
2614 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
2615 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
2616 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
2617 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
2618 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
2619 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
2620 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
2622 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2624 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
2625 (#485662, patch by Herbert Valerio Riedel)
2627 2007-11-22 Matthias Clasen <mclasen@redhat.com>
2629 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
2631 2007-11-21 Richard Hult <richard@imendio.com>
2633 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
2634 stubs for the testing functions to fix the build.
2636 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2638 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
2639 (#467711, The Written Word)
2641 2007-11-21 Ross Burton <ross@openedhand.com>
2643 * gdk/x11/gdksettings.c:
2644 Add xsetting for gtk-scrolled-window-placement (#458103).
2646 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2648 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
2649 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
2650 (#469239, Michael Natterer)
2652 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
2654 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
2655 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
2656 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
2657 (#436536, Tommi Komulainen)
2659 2007-11-21 Matthias Clasen <mclasen@redhat.com>
2661 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
2662 property. (#489782, Jan Janech)
2664 2007-11-20 Matthias Clasen <mclasen@redhat.com>
2666 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
2667 frames. (#107398, Owen Taylor, Miguel Gomez)
2669 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
2671 Moved Gdk test functions from Gtk+ to Gdk test utils.
2673 * gdk/Makefile.am: added gdktestutils.h to public includes.
2675 * gdk/gdk.h: added gdktestutils.h to public includes.
2677 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
2678 gdk_test_render_sync.
2680 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
2681 gdk_test_simulate_key, gdk_test_render_sync.
2683 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
2685 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
2686 gdk_test_simulate_key, gdk_test_render_sync.
2688 * gtk/gtktestutils.c:
2689 * gtk/gtktestutils.h:
2690 * gtk/gtk.symbols: removed gtk_test_simulate_button
2691 gtk_test_simulate_key, gtk_test_xserver_render_sync.
2693 * gtk/tests/testing.c: call gdk_test_render_sync.
2695 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
2697 Added unit tests for Gtk+ testing utilities.
2699 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
2700 utility functions. some g_test_* related portions are disabled and need
2701 to be enabled once Gtk+ depends on a new glib with the GLib testing
2702 framework integrated.
2704 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
2705 added exemplary test rules to run tests inside Xvfb. this needs to depend
2706 on gtester for full fledged testing.
2708 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
2709 collecting _get_type functions to catch e.g. gtk_text_get_type().
2711 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
2713 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
2715 Added Gtk+ testing utilities.
2717 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
2718 for the most part, the functions herein involve navigating and interacting
2719 with dialog elements programatically, to automate user interaction tests of
2720 dialogs and widgets.
2722 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
2724 * gtk/gtk.symbols: added gtk_test_* symbols.
2726 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
2727 generate gtktypefuncs.c which contains a list of all _get_type functions in
2729 2007-11-20 Bastien Nocera <hadess@hadess.net>
2731 * configure.in: add support for conditional icns gdk-pixbuf loader
2734 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
2736 * configure.in: updated version number to 2.15.0 for development.
2738 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
2740 === Branch for 2.12 ===