1 2008-01-30 Michael Natterer <mitch@imendio.com>
3 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
4 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
7 * gtk/updateiconcache.c (add_string): cast const gchar* to
8 gpointer when inserting in a GHashTable.
10 * tests/testcalendar.c (calendar_detail_cb): remove const from
11 return value since it's a newly allocated string.
13 (calendar_update_details): free the detail.
15 2008-01-29 Johan Dahlin <johan@gnome.org>
17 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
19 * demos/gtk-demo/demo.ui:
20 Move the about dialog to the glade file, add accessible tags
21 examples to the markup file.
23 2008-01-28 Paolo Borelli <pborelli@katamail.com>
25 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
26 layout, fixes #512375.
28 2008-01-28 Michael Natterer <mitch@imendio.com>
31 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
33 2008-01-28 Michael Natterer <mitch@imendio.com>
35 * demos/gtk-demo/builder.c (about_activate): use
36 gtk_about_dialog_set_program_name() instead of the deprecated
39 2008-01-28 Michael Natterer <mitch@imendio.com>
42 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
45 2008-01-26 Johan Dahlin <johan@gnome.org>
48 * tests/textbuffertest.c:
49 Rename textbuffer test and port it to the new test framework
51 2008-01-25 Johan Dahlin <johan@gnome.org>
53 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
54 unsetting of GTK_MODULES.
56 * gtk/gtk-builder-convert
57 (GtkBuilderConverter._convert_adjustment): Handle the case where
58 there is no child text node.
59 (GtkBuilderConverter): Allow xml comments in most places.
61 2008-01-25 Johan Dahlin <johan@gnome.org>
63 * gtk/gtk-builder-convert
64 (GtkBuilderConverter._convert_combobox_items): Remove the items
65 even if there are no items set.
66 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
67 signals and tooltips for all menu items subclasses and
68 GtkImageMenuItem:label.
69 Makes it possible to fully convert and run Jokosher.glade.
71 2008-01-25 Johan Dahlin <johan@gnome.org>
73 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
74 (gtk_widget_buildable_get_internal_child), (free_action),
75 (free_relation), (gtk_widget_buildable_parser_finished),
76 (accessibility_start_element),
77 (gtk_widget_buildable_custom_tag_start),
78 (gtk_widget_buildable_custom_finished):
79 Implement accessible support, fixes #454653.
81 * gtk/gtk-builder-convert:
82 Add support for migrating old glade files
84 * tests/buildertest.c: (test_widget), (test_file):
85 Add accessible tests and imprve the test_file function to display
86 toplevels and run dialogs.
88 2008-01-25 Richard Hult <richard@imendio.com>
90 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
91 didn't change, fixes focus event issues for undecorated windows.
93 2008-01-25 Richard Hult <richard@imendio.com>
95 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
96 const and remove unused variables).
98 2008-01-25 Michael Natterer <mitch@imendio.com>
101 * gtk/gtkcellrenderer.h
106 * gtk/gtktreeprivate.h
107 * gtk/gtktreeviewcolumn.h
108 * gtk/gtkwidget.h: add const to constant structs which are passed
109 into GTK+. Also add some forgotten const for const strings.
113 * gtk/gtkcellrenderer.c
119 * gtk/gtktreeviewcolumn.c
120 * gtk/gtkwidget.c: changed accordingly.
122 2008-01-25 Sven Herzberg <sven@imendio.com>
124 Reviewed by Johan Dahlin.
126 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
127 this is called with something that's not a GtkUIManager
129 2008-01-24 Johan Dahlin <johan@gnome.org>
131 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
132 Chain up to parent, so widgets can have internal children.
134 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
136 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
139 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
141 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
143 Use pango_layout_set_height() for calendar details (#506049).
145 * configure.in: Require 1.19.3 for pango_layout_set_height().
146 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
148 2008-01-18 Johan Dahlin <johan@gnome.org>
150 * gtk/gtk-builder-convert (get_property_node): New method
151 (GtkBuilderConverter._create_object): Conditionally take a node as
152 a property value, so don't lose translate/context attributes if they
154 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
155 property values instead of strings.
156 (#509153, Erik van Pienbroek)
158 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
160 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
162 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
163 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
164 * tests/testcalendar.c: Duplicate calendar details before returning.
166 2008-01-16 Christian Persch <chpe@gnome.org>
168 * gtk/gtkwidget.c: Store the event mask and extension event mode
169 directly in the gobject data pointer, instead of in an allocated
172 2008-01-16 Michael Natterer <mitch@imendio.com>
174 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
175 gdk-pixbuf now uses gio functions.
177 2008-01-16 Matthias Clasen <mclasen@redhat.com>
179 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
180 the notify::model signal. (#509819, David Zeuthen)
182 2008-01-15 Michael Natterer <mitch@imendio.com>
190 * gdk/gdkwindow.h: made more struct pointer and array parameters
191 const. GDK should now be constified as far as possible without
192 breaking source compatibility. Includes some minor cleanup like
193 indentation and s/nfoo/n_foo/ (bug #508544).
199 * gdk/gdkregion-generic.c
201 * gdk/directfb/gdkdisplay-directfb.c
202 * gdk/directfb/gdkwindow-directfb.c
203 * gdk/quartz/gdkdisplay-quartz.c
204 * gdk/quartz/gdkwindow-quartz.c
205 * gdk/win32/gdkdisplay-win32.c
206 * gdk/win32/gdkwindow-win32.c
207 * gdk/x11/gdkdisplay-x11.c
208 * gdk/x11/gdkwindow-x11.c: changed accordingly.
210 2008-01-14 Michael Natterer <mitch@imendio.com>
212 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
215 (gtk_rc_parse_any): change variables to const and introduce
216 another local variable to fix const warnings.
218 2008-01-14 Michael Natterer <mitch@imendio.com>
220 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
221 of gdk_screen_get_font_options() to gpointer to get rid of const
224 2008-01-14 Michael Natterer <mitch@imendio.com>
226 * tests/testdnd.c (source_drag_data_get): fix another call to
227 gtk_selection_data_set().
229 2008-01-14 Michael Natterer <mitch@imendio.com>
231 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
234 2008-01-14 Michael Natterer <mitch@imendio.com>
236 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
238 2008-01-14 Michael Natterer <mitch@imendio.com>
240 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
241 "uris" to guchar* when passing it to gtk_selection_data_set().
243 2008-01-14 Michael Natterer <mitch@imendio.com>
251 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
252 parameters const (bug #508544).
258 * gdk/gdkpolyreg-generic.c
259 * gdk/gdkregion-generic.c
260 * gdk/directfb/gdkcolor-directfb.c
261 * gdk/directfb/gdkgc-directfb.c
262 * gdk/directfb/gdkgeometry-directfb.c
263 * gdk/directfb/gdkwindow-directfb.c
264 * gdk/quartz/gdkcolor-quartz.c
265 * gdk/quartz/gdkgc-quartz.c
266 * gdk/quartz/gdkgeometry-quartz.c
267 * gdk/quartz/gdkwindow-quartz.c
268 * gdk/win32/gdkcolor-win32.c
269 * gdk/win32/gdkgc-win32.c
270 * gdk/win32/gdkgeometry-win32.c
271 * gdk/win32/gdkprivate-win32.h
272 * gdk/win32/gdkwindow-win32.c
273 * gdk/x11/gdkcolor-x11.c
274 * gdk/x11/gdkgc-x11.c
275 * gdk/x11/gdkgeometry-x11.c
276 * gdk/x11/gdkmain-x11.c
277 * gdk/x11/gdkprivate-x11.h
278 * gdk/x11/gdkwindow-x11.c: changed accordingly.
280 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
283 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
285 Explain name choice for gtk_tool_item_toolbar_reconfigured.
287 * gtk/gtktoolitem.c: Add comment expaining name choice for
288 gtk_tool_item_toolbar_reconfigured.
290 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
292 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
293 implementations to notify its children, when some aspect of their
294 configuration changed (#509042).
296 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
297 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
298 Rename _gtk_tool_item_toolbar_reconfigured.
300 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
302 Include <gtk/gtktoolshell.h> from gtk.h.
304 * gtk/gtk.h: Add gtktoolshell.h
306 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
308 Print angle brackets arround e-mail addresses in the about dialog
309 (#409520, Mariano Suárez-Alvarez).
311 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
313 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
315 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
316 special casing so test widgets are always queues for destruction
319 * gtk/tests/testing.c: removed bits left-over from testing without
322 2008-01-10 Tor Lillqvist <tml@novell.com>
324 * modules/other/gail/libgail-util/Makefile.am
325 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
328 2008-01-10 Tor Lillqvist <tml@novell.com>
330 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
331 uses gtkprintunixdialog API.
333 2008-01-10 Tor Lillqvist <tml@novell.com>
335 * gdk/win32/gdkdisplay-win32.c
336 * gdk/win32/gdkglobals-win32.c
337 * gdk/win32/gdkprivate-win32.h
338 * gdk/win32/gdkscreen-win32.c
339 * gdk/win32/gdkwindow-win32.c: Implement
340 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
341 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
344 2008-01-10 Cody Russell <bratsche@gnome.org>
346 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
347 Properly ref/unref windows and parents. (#506769)
349 2008-01-10 Richard Hult <richard@imendio.com>
351 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
352 (gdk_window_hide), (move_resize_window_internal): Move the
353 tracking rect workaround from here...
355 * gdk/quartz/GdkQuartzWindow.c:
356 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
357 movements during showing/hiding operations. Fixes bug #508516.
359 2008-01-10 Michael Natterer <mitch@imendio.com>
361 * gdk/directfb/gdkscreen-directfb.c
362 (gdk_screen_get_monitor_width_mm)
363 (gdk_screen_get_monitor_height_mm)
364 (gdk_screen_get_monitor_plug_name): add these functions to make
367 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
369 * gtk/gtkrecentchoosermenu.c:
370 (idle_populate_func), (idle_populate_clean_up): Fix possible
371 recursion by resetting the idle source id. (#507605, William
374 2008-01-10 Kristian Rietveld <kris@imendio.com>
376 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
377 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
378 avoid valgrind warnings. (#507751, patch from Christian Persch).
380 2008-01-10 Kristian Rietveld <kris@imendio.com>
382 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
383 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
385 2008-01-10 Kristian Rietveld <kris@imendio.com>
387 Fix #477175, reported by Juri Pakaste.
389 * gtk/gtktreeprivate.h:
390 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
391 tree_view->priv->dy here directly, just calculate the new value
392 and set it on the adjustment,
393 (gtk_tree_view_adjustment_changed): add guards to not call
394 gtk_tree_view_dy_to_top_row() if we are currently in
395 gtk_tree_view_top_row_to_dy(),
396 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
397 coordinates, not tree coordinates,
398 (gtk_tree_view_real_start_editing): add cast.
400 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
401 position of the editable in the "create new row and start editing"
404 2008-01-09 Michael Natterer <mitch@imendio.com>
406 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
409 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
410 * gtk/gtkicontheme.c (theme_list_contexts)
411 (gtk_icon_theme_lookup_icon)
412 * gtk/gtkimcontextsimple.c (beep_window)
413 * gtk/gtklinkbutton.c (set_link_color)
414 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
417 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
418 variable and add const to another to fix a warning.
420 2008-01-07 Matthias Clasen <mclasen@redhat.com>
422 * gtk/gtkassistant.c (remove_page): Be more robust when removing
423 the current page. (#499951, Andreas Sandberg)
425 2008-01-06 Johan Dahlin <johan@gnome.org>
427 * gtk/gtkspinbutton.c: Declare value in the example code for
428 GtkSpinButton::output, as pointed out by Anders Carlsson.
430 2008-01-06 Christian Persch <chpe@gnome.org>
432 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
433 and remove an obsolete event box. Bug #506760.
435 2008-01-06 Johan Dahlin <johan@gnome.org>
437 * tests/buildertest.c (test_domain):
438 Update, GtkBuilder::translation-domain is no longer set
440 * gtk/gtkbuilderparser.c (parse_interface):
441 Allow domains to be overridden in <interface>'s if a translation-domain
442 is set in the builder.
443 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
444 of the builder, make the domain set in the <interface> apply only to strings
446 (#496831, Ryan Lortie)
448 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
451 * gtk/gtktreestore.c (tree_model_end_element):
452 Remove an unused variable
454 2008-01-06 Matthias Clasen <mclasen@redhat.com>
456 * gtk/gtkspinbutton.c: Document the ::output signal and
457 add an example. (#507566, example by Owen Taylor)
459 2008-01-06 Johan Dahlin <johan@gnome.org>
461 * gtk/gtkcellrenderercombo.c:
462 (gtk_cell_renderer_combo_get_property),
463 (gtk_cell_renderer_combo_set_property):
464 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
465 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
466 * gtk/gtknotebook.c: (gtk_notebook_set_property):
467 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
468 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
469 (gtk_text_buffer_get_property):
470 * gtk/gtktextview.c: (gtk_text_view_set_property):
471 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
472 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
473 (gtk_tool_button_get_property):
474 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
475 (gtk_tool_item_get_property):
476 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
477 * gtk/gtkwidget.c: (gtk_widget_set_property):
478 * gtk/gtkwindow.c: (gtk_window_set_property):
479 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
482 2008-01-06 Johan Dahlin <johan@gnome.org>
484 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
485 Make sure that --root works for toplevel widgets.
486 (#491847, Phil Lello)
488 2008-01-05 Johan Dahlin <johan@gnome.org>
490 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
491 to make sure that make test-report works properly
493 2008-01-05 Christian Persch <chpe@gnome.org>
495 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
496 GType as integer through gpointer. Bug #507395.
498 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
500 Avoid some compiler warnings (#507000).
502 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
503 for value argument of _gtk_builder_flags_from_string.
504 * gtk/gtkwidget.c: Don't alias the child pointer passed
505 to gdk_window_get_user_data.
507 2008-01-04 Michael Natterer <mitch@imendio.com>
509 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
510 to set the time in the returned GdkTimeCoords.
512 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
514 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
515 correct comparison function (kudos to Christian Persch and
516 Claudio Saavedra for spotting this)
518 * gtk/gtkrecentchooserutils.c:
519 (sort_recent_items_mru),
520 (sort_recent_items_lru): Ditto as above.
522 2008-01-03 Johan Dahlin <johan@gnome.org>
524 * tests/defaultvaluetest.c: Make it pass again.
526 2008-01-02 Johan Dahlin <johan@gnome.org>
528 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
529 make it pass on Ubuntu.
530 (main): Use gtk_test_list_all_types () instead of providing our
532 And it no longer passes.
534 2007-12-30 Johannes Schmid <jhs@gnome.org>
536 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
537 Also reorder menu when reordering tabs by drag & drop
540 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
541 Add a menu to one of the notebooks to have a test-case for
542 the change mentioned above.
544 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
546 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
548 2007-12-31 Christian Persch <chpe@gnome.org>
550 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
551 Plug a mem leak. Bug #506107.
553 2007-12-28 Matthias Clasen <mclasen@redhat.com>
555 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
556 icon cache api change. (#506135, Kazuki Iwamoto)
558 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
560 Consider "wide-separators" and "separator-height" style properties:
561 The separator is drawn using gtk_paint_box instead of cairo, when
562 "wide-separators" is set. Also do not highlight details for previous
563 or next month, if their day matches the selected day. (#339540)
565 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
566 in gtk_calendar_size_request and calendar_paint_day
567 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
568 for selected detail separators in GtkCalendar.
570 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
572 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
574 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
575 a local variable instead in gtk_calendar_size_request.
577 2007-12-28 Matthias Clasen <mclasen@redhat.com>
579 * tests/defaultvaluetest.c: Add enough exclusions to make the
582 2007-12-28 Christian Persch <chpe@gnome.org>
584 * modules/other/gail/Makefile.am:
585 * modules/other/gail/tests/*:
586 * configure.in: Merge tests from standalone gail. Bug #504568.
588 2007-12-28 Matthias Clasen <mclasen@redhat.com>
590 * gtk/gtkclipboard.c: Make the finalizer work when display is
593 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
595 Draw bottom shadow of GtkCalender headings. (#506113)
597 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
599 2007-12-28 Matthias Clasen <mclasen@redhat.com>
601 * gtk/gtkcalendar.c: Document the initial values of year/month/day
604 2007-12-28 Christian Persch <chpe@gnome.org>
606 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
607 a mem leak. Bug #506096.
609 2007-12-28 Matthias Clasen <mclasen@redhat.com>
613 * gtk/gtkprintoperation.c:
614 * gtk/gtkprogressbar.c:
615 * gtk/gtkmessagedialog.c:
620 * gtk/gtklinkbutton.c:
621 * gtk/gtkmenu.c: More default property value corrections.
623 2007-12-28 Matthias Clasen <mclasen@redhat.com>
625 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
626 accel_group unless it is set.
628 2007-12-28 Matthias Clasen <mclasen@redhat.com>
630 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
632 2007-12-28 Matthias Clasen <mclasen@redhat.com>
634 * gtk/gtkhandlebox.c: Fix the default values of shadow and
635 shadow-type properties.
637 * gtk/gtkfontsel.c: Fix the default values of several properties.
639 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
642 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
644 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
647 2007-12-28 Johan Dahlin <johan@gnome.org>
649 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
650 (gtk_dialog_buildable_custom_tag_start): Chain up.
651 This makes it possible to have accelerators tags on GtkDialog
654 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
656 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
657 are shown within the widget, or just as tooltip. (#339540)
659 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
660 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
661 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
664 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
666 Try more decent appearance of calendar details separator. (#339540)
668 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
669 and make it short by one pixel on each side.
671 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
673 Apply trivial code-style changes from attachement 101101. (#339540)
675 * tests/testcalendar.c: Some updates to current GTK+ code-style.
677 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
679 Restructure testcalendar for testing calendar details. (#339540)
681 * tests/testcalendar.c: Push code arround for testing calendar details.
683 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
685 Implement GtkTooltip API for calendar details. (#339540)
687 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
688 Remember detail overflows in calendar_paint_day to show the tooltip
689 only when neccessary.
691 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
693 Without setting "detail-width-chars" and "detail-height-rows"
694 properties not only the widget has to be redrawn on certain
695 conditions, but also its size must be recalculated. (#339540)
697 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
698 that function instead of gtk_widget_queue_draw.
700 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
702 Consider details for size-request and expose-event. (#339540)
704 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
705 is_color_attribute functions. Change gtk_calendar_size_request
706 and calendar_paint_day to consider and show calender details.
708 2007-12-28 Matthias Clasen <mclasen@redhat.com>
710 * gtk/gtkcombobox.c: Introduce local priv variables to
713 2007-12-27 Matthias Clasen <mclasen@redhat.com>
715 * gtk/gtkcombobox.c: Correct the default value for the
716 tearoff-title property.
718 * gtk/gtkcellrenderertext.c: Fix the default value for the
719 wrap-mode and font-scale properties.
721 * gtk/gtkaspectratio.c: Fix the default value for the ratio
724 2007-12-27 Matthias Clasen <mclasen@redhat.com>
726 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
727 defines. (#505708, MINAMI Hirokazu)
729 2007-12-27 Christian Persch <chpe@gnome.org>
731 * Makefile.am: Install gail.pc. Bug #505859.
733 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
735 Add infrastructure for GtkCalendar details. (#339540)
737 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
738 Add "detail-width-chars" and "detail-height-rows" properties,
739 and gtk_calendar_set_detail_func function.
741 2007-12-27 Xan Lopez <xan@gnome.org>
744 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
746 Add gtk_border_new to avoid memory allocator confusions when using
747 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
749 2007-12-27 Christian Persch <chpe@gnome.org>
751 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
752 bug #504886 not to read unitialised memory.
754 2007-12-26 Xan Lopez <xan@gnome.org>
756 * gtk/gtkstatusbar.c (has_extra_children): take into account the
757 modification of the internal frame contents to decide if we have
758 extra children. (#415677)
760 2007-12-22 Christian Persch <chpe@gnome.org>
762 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
764 2007-12-25 Christian Persch <chpe@gnome.org>
766 * modules/other/gail/gailwindow.c: (gail_window_initialize):
767 Initialise |widget|. Fixes a buglet introduced by the commit from bug
770 2007-12-25 Christian Persch <chpe@gnome.org>
772 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
774 2007-12-25 Christian Persch <chpe@gnome.org>
776 * modules/other/gail/*.[ch]: Remove relocations from the atk
777 factories. Remove unused gail_foo_new() functions. Fix object
778 instantiation to be derivation safe by moving initialisation code
779 from the removed gail_foo_new() functions to the
780 AtkObjectClass::initialize implementation. Bug #505226.
782 2007-12-24 Matthias Clasen <mclasen@redhat.com>
784 * modules/other/gail/gailentry.c:
785 * modules/other/gail/gailimage.c:
786 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
787 uses of clipboards and settings. (#504722, Christian Persch)
789 2007-12-24 Matthias Clasen <mclasen@redhat.com>
791 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
794 2007-12-24 Matthias Clasen <mclasen@redhat.com>
796 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
797 use the time and button information from the event. (#504901,
800 2007-12-23 Cody Russell <bratsche@gnome.org>
802 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
803 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
804 Fixes a regression caused by #164537 patch where transient
805 windows that are hidden get shown (incorrectly) when their
806 parents are minimized. (#504984)
808 2007-12-22 Christian Persch <chpe@gnome.org>
810 * modules/other/gail/gailcell.c:
811 * modules/other/gail/gailcontainercell.c:
812 * modules/other/gail/gailexpander.c:
813 * modules/other/gail/gailtextcell.c:
814 * modules/other/gail/gailtextview.c:
815 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
817 2007-12-22 Christian Persch <chpe@gnome.org>
819 * modules/other/gail/*.c: Include config.h. Bug #504720.
821 2007-12-22 Christian Persch <chpe@gnome.org>
823 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
824 handwritten get_type functions. Bug #504661.
826 2007-12-23 Xan Lopez <xan@gnome.org>
828 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
829 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
831 Patch by Sadrul Habib Chowdhury (#504804)
833 2007-12-22 Christian Persch <chpe@gnome.org>
835 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
836 #504645, patch by Li Yuan.
838 2007-12-22 Christian Persch <chpe@gnome.org>
840 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
842 2007-12-22 Christian Persch <chpe@gnome.org>
844 * modules/other/gail/gail.c:
845 * modules/other/gail/gailbutton.c:
846 * modules/other/gail/gailcell.c:
847 * modules/other/gail/gailcombo.c:
848 * modules/other/gail/gailcombo.h:
849 * modules/other/gail/gailcombobox.c:
850 * modules/other/gail/gailentry.c:
851 * modules/other/gail/gailexpander.c:
852 * modules/other/gail/gailmenuitem.c:
853 * modules/other/gail/gailnotebook.c:
854 * modules/other/gail/gailnotebookpage.c:
855 * modules/other/gail/gailnotebookpage.h:
856 * modules/other/gail/gailoptionmenu.c:
857 * modules/other/gail/gailrange.c:
858 * modules/other/gail/gailtextview.c:
859 * modules/other/gail/gailtreeview.c:
860 * modules/other/gail/gailtreeview.h:
861 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
864 2007-12-22 Matthias Clasen <mclasen@redhat.com>
866 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
869 2007-12-21 Richard Hult <richard@imendio.com>
871 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
872 Plug leak of destroyed subviews, fixes bug #504753.
874 2007-12-20 Johan Dahlin <johan@gnome.org>
876 * tests/Makefile.am (TEST_PROGS):
877 * tests/defaultvaluetest.c: Add a test for default values,
878 based on program by Christan Perch
880 2007-12-20 Johan Dahlin <johan@gnome.org>
882 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
883 Refactor to avoid some duplication.
884 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
885 Fixes #504749, Yuri Pimenov
887 2007-12-20 Kristian Rietveld <kris@imendio.com>
889 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
890 the build work again on systems without xrandr 1.2.
892 2007-12-20 Christian Persch <chpe@gnome.org>
895 * modules/other/gail/libgail-util/Makefile.am:
896 Keep the same libtool version as the standalone libgail-util had.
899 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
901 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
903 2007-12-20 Alexander Larsson <alexl@redhat.com>
905 * gdk/x11/gdkapplaunchcontext-x11.c:
906 Update for gio API changes
908 2007-12-20 Richard Hult <richard@imendio.com>
910 * gdk/quartz/GdkQuartzWindow.c:
911 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
912 processing events after changing the size.
914 2007-12-20 Richard Hult <richard@imendio.com>
916 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
917 Add stub for quartz to fix build.
919 2007-12-20 Christian Persch <chpe@gnome.org>
921 * modules/other/gail/Makefile.am:
922 * modules/other/gail/gailimage.c: (gail_image_class_init),
923 (gail_image_init), (elide_underscores), (gail_image_get_name),
924 (atk_image_interface_init), (gail_image_finalize):
925 * modules/other/gail/gailimage.h:
926 R modules/other/gail/gailintl.h:
927 * po/POTFILES.skip: Use the stock item's label as the name of the
928 accessible in gailimage.c. Bug #504246.
930 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
932 Avoid some compiler warnings and remove obsolete code. (#339540)
934 * gtk/gtkcalendar.c: Change week and year variable in
935 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
936 0" block from calendar_paint_day: The feature in question is handled
937 few lines above. Cast data returned by gtk_selection_data_get_text()
938 to (gchar*) in gtk_calendar_drag_data_received.
940 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
942 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
944 2007-12-19 Johan Dahlin <johan@gnome.org>
946 * tests/buildertest.c (test_object_properties):
947 Add another call to gtk_builder_add_string after using
948 delayed properties, as reported in #504393 but already
951 2007-12-18 Christian Persch <chpe@gnome.org>
954 * docs/reference/Makefile.am:
955 * docs/reference/libgail-util/*:
956 * gail-uninstalled.pc.in:
958 * modules/Makefile.am:
959 * modules/other/Makefile.am:
960 * modules/other/gail/*:
961 * modules/other/gail/libgail-util/*:
962 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
964 2007-12-17 Matthias Clasen <mclasen@redhat.com>
966 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
967 * gdk/win32/gdkproperty-win32.c:
968 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
970 * gtk/gtkimmodule.[hc]:
971 * gtk/gtkimmulticontext.[hc]: When determining the default context,
972 look at the gtk-im-module setting, and listen for changes to the
973 setting. (#502446, Akira Tagoh)
975 2007-12-17 Kristian Rietveld <kris@imendio.com>
977 * gtk/gtktooltip.c (gtk_tooltip_finalize),
978 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
979 to NULL as soon as it's destroyed. (#496546, patch from
982 2007-12-17 Kristian Rietveld <kris@imendio.com>
984 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
985 always determine what arrow to show if show_sort_indicator is true.
986 (#352738, Chris Vine).
988 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
990 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
993 * gtk/gtkpaned.c: Call gtk_container_forall instead of
994 gtk_container_foreach in get_child_panes.
996 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
998 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
1000 Plug leak: When reordering the info in the list the old node is
1001 removed but not freed. (#503569)
1003 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
1005 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
1006 Use u32 instead of __u32 and u8 instead of __u8 as the other types
1007 are deprecated since DirectFB 1.0.0. If compiling with an older
1008 version define the new type name to the old types. Fixes bug #503190.
1010 2007-12-14 Ray Strode <rstrode@redhat.com>
1012 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
1013 instead of g_signal_connect_after (..., "realize", ...) as an
1014 alternative to gtk_widget_realize () (bug 503537).
1016 2007-12-14 Michael Natterer <mitch@imendio.com>
1018 * gdk/gdkinternals.h
1019 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
1022 * gdk/gdkapplaunchcontext.c
1023 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
1024 header already includes everything now.
1026 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1028 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
1029 next stable release shall be 2.16, not 2.14 - even if disagree.
1031 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
1033 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1035 Change GtkToolItem to retrieve its properties from GtkToolShell
1036 interface, instead of relying on being child of a GtkToolbar.
1039 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
1040 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
1041 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
1042 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
1043 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
1044 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
1045 Take section docs from template file and update them for GtkToolShell.
1046 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
1047 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
1049 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1051 Extract loading of GtkPageSetup and GtkPrintSettings from their
1052 *_new_*() functions and move that code into separate
1053 *_load_*() functions (#475565).
1055 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
1056 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
1057 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
1058 Change the matching *_new_*() functions to use those functions.
1060 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1063 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
1065 2007-12-14 Kristian Rietveld <kris@imendio.com>
1067 * gtk/tests/liststore.c:
1068 * gtk/tests/treestore.c: added tests for insertion functions.
1070 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
1072 * Add RandR 1.2 support
1074 - New monitors_changed signal - New API to get width/height of
1075 monitors, and the name of the plug
1077 2007-12-13 Kristian Rietveld <kris@imendio.com>
1079 * gtk/tests/liststore.c:
1080 * gtk/tests/treestore.c: test the move and swap functions on a
1081 store with only one node.
1083 2007-12-13 Kristian Rietveld <kris@imendio.com>
1085 * gtk/gtktestutils.c (gtk_test_init): add a call to
1088 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
1091 2007-12-13 Kristian Rietveld <kris@imendio.com>
1093 * gtk/tests/liststore.c:
1094 * gtk/tests/treestore.c: start composing tests for the list and tree
1097 * gtk/tests/treeview-scrolling.c: added automated tests for
1098 GtkTreeView's scrolling "subsystem".
1100 * gtk/tests/Makefile.am: updated; added new test programs.
1102 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
1104 Make the code compile again after the GdkAppLaunchContext changes.
1106 * configure.in: Add gio-2.0 to GDK_PACKAGES.
1107 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
1109 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1111 * gdk/gdkapplaunchcontext.c: Add docs
1113 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1115 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
1116 in gdk, providing startup notification. (#503203)
1118 * gdk/x11/gdkapplaunchcontext-x11.c:
1119 * gdk/win32/gdkapplaunchcontext-win32.c:
1120 * gdk/quartz/gdkapplaunchcontext-quartz.c:
1121 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
1122 parts. All but X11 are just empty stubs for now.
1125 * gdk/gdkinternals.h:
1127 * gdk/x11/Makefile.am:
1128 * gdk/win32/Makefile.am:
1129 * gdk/quartz/Makefile.am:
1130 * gdk/directfb/Makefile.am: Necessary glue.
1132 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
1134 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
1136 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1138 * gdk/directfb/gdktestutils-directfb.c:
1139 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
1140 which adds testing functions to the DirectFB backend.
1142 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1144 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
1145 Ciccani which fixes the mixing of gdk and cairo rendering.
1147 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
1149 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
1150 on "drag-motion" handlers. Clearify documentation for
1153 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
1155 * buildertest.c: made unnecessarily exported symbols static.
1156 switched g_return_if_fail() statements in tests to assertions.
1157 special cased currently failing Widget/accesibility test to
1158 run only for g_test_thorough(), so it doesn't break make check.
1159 some coding style fixes.
1161 * Makefile.am: added buildertest to TEST_PROGS.
1163 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1165 * docs/tutorial/gtk-tut.sgml:
1166 Use gtk_widget_get_parent_window() instead of widget->parent->window.
1168 2007-12-10 Richard Hult <richard@imendio.com>
1170 * gdk/quartz/Makefile.am:
1171 * gdk/quartz/gdkquartz.h:
1172 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
1173 header (bug #405915). Also add a getter for the toplevel nswindow.
1175 2007-12-10 Richard Hult <richard@imendio.com>
1177 * gdk/quartz/gdkdrawable-quartz.c:
1178 (gdk_quartz_drawable_get_context),
1179 (gdk_quartz_drawable_release_context):
1180 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
1181 (gdk_event_check), (gdk_event_dispatch), (poll_func):
1182 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
1183 used for each drawing context and in prepare, dispatch and poll
1184 with one that exists across each main loop iteration. Fixes leaks
1185 on leopard and protects against future leaks introduce when the
1186 underlying system changes again (bug #492977).
1188 2007-12-10 Richard Hult <richard@imendio.com>
1190 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
1191 Fix the check for no changes to position and size.
1193 2007-12-10 Richard Hult <richard@imendio.com>
1195 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
1196 sized areas at (0, 0), patch from Paul Davis.
1198 2007-12-10 Richard Hult <richard@imendio.com>
1200 * gdk/quartz/gdkprivate-quartz.h:
1201 * gdk/quartz/gdkeventloop-quartz.c:
1202 (_gdk_quartz_event_loop_get_pending),
1203 (_gdk_quartz_event_loop_check_pending),
1204 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
1205 (gdk_event_check), (gdk_event_dispatch):
1206 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
1207 (_gdk_events_queue): Fix a bug where we could end up trying to
1208 handle the same event more than once. Based on patch from Paul
1211 2007-12-10 Tor Lillqvist <tml@novell.com>
1213 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
1216 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1218 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
1219 to avoid further fallout from the fix for bug 388321.
1221 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1223 * gdk/directfb/gdkgc-directfb.c:
1224 * gdk/directfb/gdkdrawable-directfb.c:
1225 * gdk/directfb/gdkdirectfb.h:
1226 * gdk/directfb/gdkwindow-directfb.c:
1227 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
1228 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
1229 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
1230 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
1231 which are expected to improve the performance of the DirectFB backend.
1232 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
1234 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1236 * gtk/gtkcontainer.c: Correct the documentation of child
1237 property getter arguments. (#501992, David Brigada)
1239 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1241 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
1242 leak pixbufs. (#502250, Yevgen Muntyan)
1244 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
1246 * gtk/gtkprintunixdialog.c:
1247 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
1248 Print and Page Setup dialogs (#502202).
1250 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
1252 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
1253 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
1254 of XVFB_START, since it's the GTESTER invokation that needs this.
1256 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
1258 * gdk-pixbuf/gdk-pixbuf.symbols:
1260 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
1261 positives in abicheck.sh
1263 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1265 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
1266 GDK events generations in the DirectFB backend.
1268 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
1270 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
1271 set of likely unused display ids, because MacOS has no seq(1) command.
1273 2007-12-06 Richard Hult <richard@imendio.com>
1275 * gdk/quartz/gdkevents-quartz.c:
1276 (synthesize_crossing_events_for_ns_event): Fix warning when
1277 switching spaces in leopard.
1279 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
1281 * tests/floatingtest.c: ported to new testing framework.
1283 * tests/Makefile.am: run floatingtest as testing framework test.
1285 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
1287 * tests/autotestfilechooser.c: majorly speed up execution by reducing
1288 timeouts and converting main loop sleeps to pending/iterate loops with
1289 very low priority async handlers. eliminate output for non-verbose
1290 tests. assert successfull subtests in all test functions. use testing
1291 framework in main().
1293 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
1294 executed inside Xvfb upon make check.
1296 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
1298 * tests/objecttests.c: use string comparisons for string property
1299 values and get rid of referencing symbols in array initialization.
1301 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
1303 * gtk+/Makefile.decl: run tests in current dir after setting up the
1304 logging directory, so their results get properly merged into the
1307 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
1308 tests to loop over registered Gdk/Gtk+ types.
1310 * gtk+/tests/objecttests.c: new test program, implements automated
1311 property tests. several properties are blacklisted because they
1312 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
1313 can be used to test blacklisted properties and see which proprty failed.
1315 2007-12-04 Richard Hult <richard@imendio.com>
1317 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
1318 Fully initialize the root window, fixes bug #501583.
1320 2007-12-04 Matthias Clasen <mclasen@redhat.com>
1322 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
1325 2007-12-03 Richard Hult <richard@imendio.com>
1327 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
1328 Don't crash when dragging from a source that doesn't support uri
1329 lists (bug #499868, Paul Davis).
1331 2007-12-03 Richard Hult <richard@imendio.com>
1333 * gdk/quartz/gdkwindow-quartz.c:
1334 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
1335 parent relative bg pixmap is set, and no parent has a bg
1336 pixmap. Fixes bug #500804.
1338 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1340 Two optimizations for icon cache lookups.
1342 * gtk/gtkiconcache.[hc]:
1343 * gtk/gtkicontheme.c: Remember the directory index for
1344 subdirectories, instead of running over the directory list
1347 * gtk/gtkiconcache.c (find_image_offset): Remember the last
1348 chain and try it first; this helps with the the usage patterns
1349 in gtkicontheme.c, where the same icon is queried for a lot
1352 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
1354 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
1355 functions from header files. this should be portable across linux and
1356 Mac OS, unlike the previpous sed expression.
1358 2007-12-1 Cody Russell <bratsche@gnome.org>
1360 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
1361 On Windows, queue a redraw of child2 whenever we set
1362 the pane handle position. This is unfortunately kind
1363 of hacky, but solves the visual artifacts that were
1364 occuring on at least certain types of child widgets
1365 (e.g., text views and tree views) that are inside
1366 horizontal or vertical panes. (#144269)
1368 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1370 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
1372 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1374 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
1377 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1379 * gtk/Makefile.am: Fix ordering of subdirs.
1381 2007-11-28 Tor Lillqvist <tml@novell.com>
1383 A proper build of GNU libintl is supposed to export the variable
1384 _nl_msg_cat_cntr. configure looks for that variable in order to
1385 recognize GNU gettext. If it sees that it is indeed GNU gettext
1386 that is used, it decides to install message catalogs in
1387 share/locale, otherwise in lib/locale. Until now on Windows I have
1388 built GTK+ against a build of GNU gettext that did not export
1389 _nl_msg_cat_cntr. But this will change, so we can't assume message
1390 catalogs are always in lib/locale.
1392 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
1393 GTK_LOCALEDIR being either in "lib" or "share". Move the function
1394 before the inclusion of gtkprivate.h so that it sees the original
1397 * gtk-zip.sh.in: Check whether the message catalogs are in
1398 share/locale or lib/locale.
1400 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
1401 that the code in _gtk_get_localedir() will find the slashes.
1403 2007-11-28 Tor Lillqvist <tml@novell.com>
1405 * gtk/Makefile.am: Improve portability. The -o option is present
1406 only in newish GNU egreps. Use one more sed in the pipeline
1409 2007-11-28 Tor Lillqvist <tml@novell.com>
1411 Fix #375893, patch by Ben Hague:
1413 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
1414 around GetLogicalDrives() that takes also the viewable drive
1415 restrictions in the Registry (which are usually the result of an
1416 Active Directory Group Policy) into account.
1418 (check_volumes, gtk_file_system_win32_list_volumes) Call
1419 get_viewable_logical_drives() instead of GetLogicalDrives().
1421 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1423 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
1424 variables to silence valgrind. (#495124, Morten Welinder)
1426 2006-11-26 Ryan Lortie <desrt@desrt.ca>
1428 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
1429 that the construct_child function is responsible for returning a
1431 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
1432 objects from constructors
1433 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
1434 g_object_ref() to this construction function (it's the only
1439 2006-11-26 Ryan Lortie <desrt@desrt.ca>
1441 * gtkbuilder.c: remove concept of root objects and just refcount
1442 all objects in the builder. Fixes #496651.
1444 2007-11-26 Ryan Lortie <desrt@desrt.ca>
1446 * tests/buildertest.c (test_window): fix invalid free
1448 2007-11-26 Josselin Mouette <joss@malsain.org>
1450 reviewed by: Federico Mena Quintero
1452 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
1453 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
1454 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
1455 Make the shortcuts activate with a single click. (#148828)
1456 Fix a few things affected by the change:
1457 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
1458 where no shortcut is selected.
1459 - Don't activate a shortcut in the response callback.
1460 - Filter out duplicate entries in volumes and bookmarks to
1461 avoid the selection to change when reordering them with DnD.
1463 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1466 * gtk/gtknotebook.c:
1467 * gtk/gtkplugprivate.h:
1469 * gtk/gtksocketprivate.h:
1470 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
1472 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1474 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
1475 (#495574, Richard Hult)
1477 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1479 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
1480 String change ! (#376361, Sven Neumann)
1482 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1484 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
1486 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
1489 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1491 * gtk/gtkassistant.c: Improve alternative button
1492 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
1494 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1496 * gtk/gtkcalendar.c: Fix a theming problem with colors
1497 in GtkCalendar. (#499703, Michael Hofmann)
1499 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1501 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
1503 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1505 Use templates for glib-mkenums calls instead of
1506 complicated commandlines in Makefiles. (#429910)
1508 * gdk-pixbuf/Makefile.am:
1511 * perf/Makefile.am: Use templates for glib-mkenums
1513 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
1514 * gdk/gdkenumtypes.[ch].template:
1515 * gtk/gtktypebuiltings.[ch].template:
1516 * perf/typebuiltins.[ch].template: The templates
1518 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1520 * gtk/gtkfilechooserbutton.c:
1521 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
1522 some compilers choke on that. (#467722)
1524 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1526 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
1527 about hook setup. (#425004, Emmanuele Bassi)
1529 2007-11-26 Tor Lillqvist <tml@novell.com>
1531 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
1532 monitor the window currently is on, not always the primary
1533 monitor. (#463865, Tim Evans)
1535 2007-11-26 Tor Lillqvist <tml@novell.com>
1537 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
1539 * gdk/win32/Makefile.am: Add it.
1541 2007-11-26 Tor Lillqvist <tml@novell.com>
1543 * configure.in: Don't add jasper to all_loaders if no libjasper.
1545 2007-11-25 Bastien Nocera <hadess@hadess.net>
1547 * configure.in: Add detection for libjasper, used by the
1548 gdk-pixbuf JPEG2000 loader
1550 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1552 * configure.in: Require gtk-doc 1.8
1554 * */*.c: Use gtk-doc abbreviations for examples in docs.
1556 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1558 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
1561 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1563 * gtk/gtkdialog.c: Move signal and property documentation inline,
1564 fix a problem with the ::response signal docs. (#499133, Josselin
1567 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
1569 * Makefile.decl: initialize automake variables EXTRA_DIST and
1570 TEST_PROGS for unconditional appending via += in other makefiles.
1571 define recursive test targets: test, test-report, perf-report,
1572 full-report, as described here:
1573 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
1574 the test targets will execute Gtk+ test programs within an Xvfb session.
1576 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
1578 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
1579 g_test_run() to run the tests to integrate with the testing framework.
1581 * gtk/tests/Makefile.am: removed exemplary testing rules.
1583 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
1584 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
1585 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
1586 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
1587 * docs/reference/Makefile.am, docs/tools/Makefile.am:
1588 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
1589 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
1590 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
1591 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
1592 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
1593 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
1594 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
1595 * modules/engines/ms-windows/Theme/Makefile.am:
1596 * modules/engines/ms-windows/Makefile.am:
1597 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
1598 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
1599 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
1600 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
1601 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
1602 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
1603 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
1605 2007-11-22 Matthias Clasen <mclasen@redhat.com>
1607 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
1608 (#485662, patch by Herbert Valerio Riedel)
1610 2007-11-22 Matthias Clasen <mclasen@redhat.com>
1612 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
1614 2007-11-21 Richard Hult <richard@imendio.com>
1616 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
1617 stubs for the testing functions to fix the build.
1619 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1621 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
1622 (#467711, The Written Word)
1624 2007-11-21 Ross Burton <ross@openedhand.com>
1626 * gdk/x11/gdksettings.c:
1627 Add xsetting for gtk-scrolled-window-placement (#458103).
1629 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1631 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
1632 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
1633 (#469239, Michael Natterer)
1635 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1637 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
1638 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
1639 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
1640 (#436536, Tommi Komulainen)
1642 2007-11-21 Matthias Clasen <mclasen@redhat.com>
1644 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
1645 property. (#489782, Jan Janech)
1647 2007-11-20 Matthias Clasen <mclasen@redhat.com>
1649 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
1650 frames. (#107398, Owen Taylor, Miguel Gomez)
1652 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
1654 Moved Gdk test functions from Gtk+ to Gdk test utils.
1656 * gdk/Makefile.am: added gdktestutils.h to public includes.
1658 * gdk/gdk.h: added gdktestutils.h to public includes.
1660 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
1661 gdk_test_render_sync.
1663 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
1664 gdk_test_simulate_key, gdk_test_render_sync.
1666 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
1668 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
1669 gdk_test_simulate_key, gdk_test_render_sync.
1671 * gtk/gtktestutils.c:
1672 * gtk/gtktestutils.h:
1673 * gtk/gtk.symbols: removed gtk_test_simulate_button
1674 gtk_test_simulate_key, gtk_test_xserver_render_sync.
1676 * gtk/tests/testing.c: call gdk_test_render_sync.
1678 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
1680 Added unit tests for Gtk+ testing utilities.
1682 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
1683 utility functions. some g_test_* related portions are disabled and need
1684 to be enabled once Gtk+ depends on a new glib with the GLib testing
1685 framework integrated.
1687 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
1688 added exemplary test rules to run tests inside Xvfb. this needs to depend
1689 on gtester for full fledged testing.
1691 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
1692 collecting _get_type functions to catch e.g. gtk_text_get_type().
1694 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
1696 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
1698 Added Gtk+ testing utilities.
1700 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
1701 for the most part, the functions herein involve navigating and interacting
1702 with dialog elements programatically, to automate user interaction tests of
1703 dialogs and widgets.
1705 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
1707 * gtk/gtk.symbols: added gtk_test_* symbols.
1709 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
1710 generate gtktypefuncs.c which contains a list of all _get_type functions in
1712 2007-11-20 Bastien Nocera <hadess@hadess.net>
1714 * configure.in: add support for conditional icns gdk-pixbuf loader
1717 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
1719 * configure.in: updated version number to 2.15.0 for development.
1721 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
1723 === Branch for 2.12 ===