1 2008-01-30 Sven Neumann <sven@gimp.org>
3 * gdk/directfb/gdkdirectfb.h
4 * gdk/directfb/gdkdisplay-directfb.c
5 * gdk/directfb/gdkdrawable-directfb.c
6 * gdk/directfb/gdkim-directfb.c
7 * gdk/directfb/gdkimage-directfb.c
8 * gdk/directfb/gdkinput-directfb.c
9 * gdk/directfb/gdkmain-directfb.c
10 * gdk/directfb/gdkpixmap-directfb.c
11 * gdk/directfb/gdktestutils-directfb.c
12 * gdk/directfb/gdkvisual-directfb.c
13 * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
14 Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
15 errors and has some cleanups.
17 2008-01-30 Michael Natterer <mitch@imendio.com>
19 * gtk/gtkbuilderparser.c (parse_custom): use the right type for
20 "subparser_data" and remove the (gpointer*) cast. Fixes bogus
23 * gtk/updateiconcache.c (add_string): cast const gchar* to
24 gpointer when inserting in a GHashTable.
26 * tests/testcalendar.c (calendar_detail_cb): remove const from
27 return value since it's a newly allocated string.
29 (calendar_update_details): free the detail.
31 2008-01-29 Johan Dahlin <johan@gnome.org>
33 * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
35 * demos/gtk-demo/demo.ui:
36 Move the about dialog to the glade file, add accessible tags
37 examples to the markup file.
39 2008-01-28 Paolo Borelli <pborelli@katamail.com>
41 * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
42 layout, fixes #512375.
44 2008-01-28 Michael Natterer <mitch@imendio.com>
47 * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
49 2008-01-28 Michael Natterer <mitch@imendio.com>
51 * demos/gtk-demo/builder.c (about_activate): use
52 gtk_about_dialog_set_program_name() instead of the deprecated
55 2008-01-28 Michael Natterer <mitch@imendio.com>
58 * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
61 2008-01-26 Johan Dahlin <johan@gnome.org>
64 * tests/textbuffertest.c:
65 Rename textbuffer test and port it to the new test framework
67 2008-01-25 Johan Dahlin <johan@gnome.org>
69 * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
70 unsetting of GTK_MODULES.
72 * gtk/gtk-builder-convert
73 (GtkBuilderConverter._convert_adjustment): Handle the case where
74 there is no child text node.
75 (GtkBuilderConverter): Allow xml comments in most places.
77 2008-01-25 Johan Dahlin <johan@gnome.org>
79 * gtk/gtk-builder-convert
80 (GtkBuilderConverter._convert_combobox_items): Remove the items
81 even if there are no items set.
82 (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
83 signals and tooltips for all menu items subclasses and
84 GtkImageMenuItem:label.
85 Makes it possible to fully convert and run Jokosher.glade.
87 2008-01-25 Johan Dahlin <johan@gnome.org>
89 * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
90 (gtk_widget_buildable_get_internal_child), (free_action),
91 (free_relation), (gtk_widget_buildable_parser_finished),
92 (accessibility_start_element),
93 (gtk_widget_buildable_custom_tag_start),
94 (gtk_widget_buildable_custom_finished):
95 Implement accessible support, fixes #454653.
97 * gtk/gtk-builder-convert:
98 Add support for migrating old glade files
100 * tests/buildertest.c: (test_widget), (test_file):
101 Add accessible tests and imprve the test_file function to display
102 toplevels and run dialogs.
104 2008-01-25 Richard Hult <richard@imendio.com>
106 * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
107 didn't change, fixes focus event issues for undecorated windows.
109 2008-01-25 Richard Hult <richard@imendio.com>
111 * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
112 const and remove unused variables).
114 2008-01-25 Michael Natterer <mitch@imendio.com>
117 * gtk/gtkcellrenderer.h
122 * gtk/gtktreeprivate.h
123 * gtk/gtktreeviewcolumn.h
124 * gtk/gtkwidget.h: add const to constant structs which are passed
125 into GTK+. Also add some forgotten const for const strings.
129 * gtk/gtkcellrenderer.c
135 * gtk/gtktreeviewcolumn.c
136 * gtk/gtkwidget.c: changed accordingly.
138 2008-01-25 Sven Herzberg <sven@imendio.com>
140 Reviewed by Johan Dahlin.
142 * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
143 this is called with something that's not a GtkUIManager
145 2008-01-24 Johan Dahlin <johan@gnome.org>
147 * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child):
148 Chain up to parent, so widgets can have internal children.
150 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
152 Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
155 * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
157 2008-01-22 Mathias Hasselmann <mathias@openismus.com>
159 Use pango_layout_set_height() for calendar details (#506049).
161 * configure.in: Require 1.19.3 for pango_layout_set_height().
162 * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
164 2008-01-18 Johan Dahlin <johan@gnome.org>
166 * gtk/gtk-builder-convert (get_property_node): New method
167 (GtkBuilderConverter._create_object): Conditionally take a node as
168 a property value, so don't lose translate/context attributes if they
170 (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
171 property values instead of strings.
172 (#509153, Erik van Pienbroek)
174 2008-01-16 Mathias Hasselmann <mathias@openismus.com>
176 Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
178 * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
179 * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
180 * tests/testcalendar.c: Duplicate calendar details before returning.
182 2008-01-16 Christian Persch <chpe@gnome.org>
184 * gtk/gtkwidget.c: Store the event mask and extension event mode
185 directly in the gobject data pointer, instead of in an allocated
188 2008-01-16 Michael Natterer <mitch@imendio.com>
190 * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
191 gdk-pixbuf now uses gio functions.
193 2008-01-16 Matthias Clasen <mclasen@redhat.com>
195 * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
196 the notify::model signal. (#509819, David Zeuthen)
198 2008-01-15 Michael Natterer <mitch@imendio.com>
206 * gdk/gdkwindow.h: made more struct pointer and array parameters
207 const. GDK should now be constified as far as possible without
208 breaking source compatibility. Includes some minor cleanup like
209 indentation and s/nfoo/n_foo/ (bug #508544).
215 * gdk/gdkregion-generic.c
217 * gdk/directfb/gdkdisplay-directfb.c
218 * gdk/directfb/gdkwindow-directfb.c
219 * gdk/quartz/gdkdisplay-quartz.c
220 * gdk/quartz/gdkwindow-quartz.c
221 * gdk/win32/gdkdisplay-win32.c
222 * gdk/win32/gdkwindow-win32.c
223 * gdk/x11/gdkdisplay-x11.c
224 * gdk/x11/gdkwindow-x11.c: changed accordingly.
226 2008-01-14 Michael Natterer <mitch@imendio.com>
228 * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
231 (gtk_rc_parse_any): change variables to const and introduce
232 another local variable to fix const warnings.
234 2008-01-14 Michael Natterer <mitch@imendio.com>
236 * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
237 of gdk_screen_get_font_options() to gpointer to get rid of const
240 2008-01-14 Michael Natterer <mitch@imendio.com>
242 * tests/testdnd.c (source_drag_data_get): fix another call to
243 gtk_selection_data_set().
245 2008-01-14 Michael Natterer <mitch@imendio.com>
247 * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
250 2008-01-14 Michael Natterer <mitch@imendio.com>
252 * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
254 2008-01-14 Michael Natterer <mitch@imendio.com>
256 * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
257 "uris" to guchar* when passing it to gtk_selection_data_set().
259 2008-01-14 Michael Natterer <mitch@imendio.com>
267 * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
268 parameters const (bug #508544).
274 * gdk/gdkpolyreg-generic.c
275 * gdk/gdkregion-generic.c
276 * gdk/directfb/gdkcolor-directfb.c
277 * gdk/directfb/gdkgc-directfb.c
278 * gdk/directfb/gdkgeometry-directfb.c
279 * gdk/directfb/gdkwindow-directfb.c
280 * gdk/quartz/gdkcolor-quartz.c
281 * gdk/quartz/gdkgc-quartz.c
282 * gdk/quartz/gdkgeometry-quartz.c
283 * gdk/quartz/gdkwindow-quartz.c
284 * gdk/win32/gdkcolor-win32.c
285 * gdk/win32/gdkgc-win32.c
286 * gdk/win32/gdkgeometry-win32.c
287 * gdk/win32/gdkprivate-win32.h
288 * gdk/win32/gdkwindow-win32.c
289 * gdk/x11/gdkcolor-x11.c
290 * gdk/x11/gdkgc-x11.c
291 * gdk/x11/gdkgeometry-x11.c
292 * gdk/x11/gdkmain-x11.c
293 * gdk/x11/gdkprivate-x11.h
294 * gdk/x11/gdkwindow-x11.c: changed accordingly.
296 * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
299 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
301 Explain name choice for gtk_tool_item_toolbar_reconfigured.
303 * gtk/gtktoolitem.c: Add comment expaining name choice for
304 gtk_tool_item_toolbar_reconfigured.
306 2008-01-14 Mathias Hasselmann <mathias@openismus.com>
308 Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
309 implementations to notify its children, when some aspect of their
310 configuration changed (#509042).
312 * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
313 * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
314 Rename _gtk_tool_item_toolbar_reconfigured.
316 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
318 Include <gtk/gtktoolshell.h> from gtk.h.
320 * gtk/gtk.h: Add gtktoolshell.h
322 2008-01-12 Mathias Hasselmann <mathias@openismus.com>
324 Print angle brackets arround e-mail addresses in the about dialog
325 (#409520, Mariano Suárez-Alvarez).
327 * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
329 2008-01-11 13:28:02 Tim Janik <timj@imendio.com>
331 * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
332 special casing so test widgets are always queues for destruction
335 * gtk/tests/testing.c: removed bits left-over from testing without
338 2008-01-10 Tor Lillqvist <tml@novell.com>
340 * modules/other/gail/libgail-util/Makefile.am
341 * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
344 2008-01-10 Tor Lillqvist <tml@novell.com>
346 * tests/Makefile.am: Build defaultvaluetest only on Unix as it
347 uses gtkprintunixdialog API.
349 2008-01-10 Tor Lillqvist <tml@novell.com>
351 * gdk/win32/gdkdisplay-win32.c
352 * gdk/win32/gdkglobals-win32.c
353 * gdk/win32/gdkprivate-win32.h
354 * gdk/win32/gdkscreen-win32.c
355 * gdk/win32/gdkwindow-win32.c: Implement
356 gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
357 and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
360 2008-01-10 Cody Russell <bratsche@gnome.org>
362 * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
363 Properly ref/unref windows and parents. (#506769)
365 2008-01-10 Richard Hult <richard@imendio.com>
367 * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
368 (gdk_window_hide), (move_resize_window_internal): Move the
369 tracking rect workaround from here...
371 * gdk/quartz/GdkQuartzWindow.c:
372 * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
373 movements during showing/hiding operations. Fixes bug #508516.
375 2008-01-10 Michael Natterer <mitch@imendio.com>
377 * gdk/directfb/gdkscreen-directfb.c
378 (gdk_screen_get_monitor_width_mm)
379 (gdk_screen_get_monitor_height_mm)
380 (gdk_screen_get_monitor_plug_name): add these functions to make
383 2008-01-10 Emmanuele Bassi <ebassi@gnome.org>
385 * gtk/gtkrecentchoosermenu.c:
386 (idle_populate_func), (idle_populate_clean_up): Fix possible
387 recursion by resetting the idle source id. (#507605, William
390 2008-01-10 Kristian Rietveld <kris@imendio.com>
392 * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
393 (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
394 avoid valgrind warnings. (#507751, patch from Christian Persch).
396 2008-01-10 Kristian Rietveld <kris@imendio.com>
398 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
399 a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
401 2008-01-10 Kristian Rietveld <kris@imendio.com>
403 Fix #477175, reported by Juri Pakaste.
405 * gtk/gtktreeprivate.h:
406 * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
407 tree_view->priv->dy here directly, just calculate the new value
408 and set it on the adjustment,
409 (gtk_tree_view_adjustment_changed): add guards to not call
410 gtk_tree_view_dy_to_top_row() if we are currently in
411 gtk_tree_view_top_row_to_dy(),
412 (gtk_tree_view_put): fix coordinate annotation: these are bin_window
413 coordinates, not tree coordinates,
414 (gtk_tree_view_real_start_editing): add cast.
416 * gtk/tests/treeview-scrolling.c: add an assertion for checking the
417 position of the editable in the "create new row and start editing"
420 2008-01-09 Michael Natterer <mitch@imendio.com>
422 * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
425 * gtk/gtkcombobox.c (gtk_combo_box_detacher)
426 * gtk/gtkicontheme.c (theme_list_contexts)
427 (gtk_icon_theme_lookup_icon)
428 * gtk/gtkimcontextsimple.c (beep_window)
429 * gtk/gtklinkbutton.c (set_link_color)
430 * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
433 * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
434 variable and add const to another to fix a warning.
436 2008-01-07 Matthias Clasen <mclasen@redhat.com>
438 * gtk/gtkassistant.c (remove_page): Be more robust when removing
439 the current page. (#499951, Andreas Sandberg)
441 2008-01-06 Johan Dahlin <johan@gnome.org>
443 * gtk/gtkspinbutton.c: Declare value in the example code for
444 GtkSpinButton::output, as pointed out by Anders Carlsson.
446 2008-01-06 Christian Persch <chpe@gnome.org>
448 * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
449 and remove an obsolete event box. Bug #506760.
451 2008-01-06 Johan Dahlin <johan@gnome.org>
453 * tests/buildertest.c (test_domain):
454 Update, GtkBuilder::translation-domain is no longer set
456 * gtk/gtkbuilderparser.c (parse_interface):
457 Allow domains to be overridden in <interface>'s if a translation-domain
458 is set in the builder.
459 (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
460 of the builder, make the domain set in the <interface> apply only to strings
462 (#496831, Ryan Lortie)
464 * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines
467 * gtk/gtktreestore.c (tree_model_end_element):
468 Remove an unused variable
470 2008-01-06 Matthias Clasen <mclasen@redhat.com>
472 * gtk/gtkspinbutton.c: Document the ::output signal and
473 add an example. (#507566, example by Owen Taylor)
475 2008-01-06 Johan Dahlin <johan@gnome.org>
477 * gtk/gtkcellrenderercombo.c:
478 (gtk_cell_renderer_combo_get_property),
479 (gtk_cell_renderer_combo_set_property):
480 * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
481 * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
482 * gtk/gtknotebook.c: (gtk_notebook_set_property):
483 * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
484 * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
485 (gtk_text_buffer_get_property):
486 * gtk/gtktextview.c: (gtk_text_view_set_property):
487 * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
488 * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
489 (gtk_tool_button_get_property):
490 * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
491 (gtk_tool_item_get_property):
492 * gtk/gtktreeview.c: (gtk_tree_view_set_property):
493 * gtk/gtkwidget.c: (gtk_widget_set_property):
494 * gtk/gtkwindow.c: (gtk_window_set_property):
495 Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
498 2008-01-06 Johan Dahlin <johan@gnome.org>
500 * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root):
501 Make sure that --root works for toplevel widgets.
502 (#491847, Phil Lello)
504 2008-01-05 Johan Dahlin <johan@gnome.org>
506 * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
507 to make sure that make test-report works properly
509 2008-01-05 Christian Persch <chpe@gnome.org>
511 * tests/defaultvaluetest.c: Fix mem leak, and don't pass
512 GType as integer through gpointer. Bug #507395.
514 2008-01-04 Mathias Hasselmann <mathias@openismus.com>
516 Avoid some compiler warnings (#507000).
518 * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
519 for value argument of _gtk_builder_flags_from_string.
520 * gtk/gtkwidget.c: Don't alias the child pointer passed
521 to gdk_window_get_user_data.
523 2008-01-04 Michael Natterer <mitch@imendio.com>
525 * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
526 to set the time in the returned GdkTimeCoords.
528 2008-01-03 Emmanuele Bassi <ebassi@gnome.org>
530 * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
531 correct comparison function (kudos to Christian Persch and
532 Claudio Saavedra for spotting this)
534 * gtk/gtkrecentchooserutils.c:
535 (sort_recent_items_mru),
536 (sort_recent_items_lru): Ditto as above.
538 2008-01-03 Johan Dahlin <johan@gnome.org>
540 * tests/defaultvaluetest.c: Make it pass again.
542 2008-01-02 Johan Dahlin <johan@gnome.org>
544 * tests/defaultvaluetest.c (test_type): Ignore a few more tests to
545 make it pass on Ubuntu.
546 (main): Use gtk_test_list_all_types () instead of providing our
548 And it no longer passes.
550 2007-12-30 Johannes Schmid <jhs@gnome.org>
552 * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
553 Also reorder menu when reordering tabs by drag & drop
556 * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
557 Add a menu to one of the notebooks to have a test-case for
558 the change mentioned above.
560 2007-12-31 Philip Van Hoof <pvanhoof@gnome.org>
562 * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
564 2007-12-31 Christian Persch <chpe@gnome.org>
566 * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
567 Plug a mem leak. Bug #506107.
569 2007-12-28 Matthias Clasen <mclasen@redhat.com>
571 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
572 icon cache api change. (#506135, Kazuki Iwamoto)
574 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
576 Consider "wide-separators" and "separator-height" style properties:
577 The separator is drawn using gtk_paint_box instead of cairo, when
578 "wide-separators" is set. Also do not highlight details for previous
579 or next month, if their day matches the selected day. (#339540)
581 * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
582 in gtk_calendar_size_request and calendar_paint_day
583 * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
584 for selected detail separators in GtkCalendar.
586 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
588 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
590 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
591 a local variable instead in gtk_calendar_size_request.
593 2007-12-28 Matthias Clasen <mclasen@redhat.com>
595 * tests/defaultvaluetest.c: Add enough exclusions to make the
598 2007-12-28 Christian Persch <chpe@gnome.org>
600 * modules/other/gail/Makefile.am:
601 * modules/other/gail/tests/*:
602 * configure.in: Merge tests from standalone gail. Bug #504568.
604 2007-12-28 Matthias Clasen <mclasen@redhat.com>
606 * gtk/gtkclipboard.c: Make the finalizer work when display is
609 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
611 Draw bottom shadow of GtkCalender headings. (#506113)
613 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
615 2007-12-28 Matthias Clasen <mclasen@redhat.com>
617 * gtk/gtkcalendar.c: Document the initial values of year/month/day
620 2007-12-28 Christian Persch <chpe@gnome.org>
622 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
623 a mem leak. Bug #506096.
625 2007-12-28 Matthias Clasen <mclasen@redhat.com>
629 * gtk/gtkprintoperation.c:
630 * gtk/gtkprogressbar.c:
631 * gtk/gtkmessagedialog.c:
636 * gtk/gtklinkbutton.c:
637 * gtk/gtkmenu.c: More default property value corrections.
639 2007-12-28 Matthias Clasen <mclasen@redhat.com>
641 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
642 accel_group unless it is set.
644 2007-12-28 Matthias Clasen <mclasen@redhat.com>
646 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
648 2007-12-28 Matthias Clasen <mclasen@redhat.com>
650 * gtk/gtkhandlebox.c: Fix the default values of shadow and
651 shadow-type properties.
653 * gtk/gtkfontsel.c: Fix the default values of several properties.
655 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
658 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
660 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
663 2007-12-28 Johan Dahlin <johan@gnome.org>
665 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
666 (gtk_dialog_buildable_custom_tag_start): Chain up.
667 This makes it possible to have accelerators tags on GtkDialog
670 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
672 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
673 are shown within the widget, or just as tooltip. (#339540)
675 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
676 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
677 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
680 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
682 Try more decent appearance of calendar details separator. (#339540)
684 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
685 and make it short by one pixel on each side.
687 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
689 Apply trivial code-style changes from attachement 101101. (#339540)
691 * tests/testcalendar.c: Some updates to current GTK+ code-style.
693 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
695 Restructure testcalendar for testing calendar details. (#339540)
697 * tests/testcalendar.c: Push code arround for testing calendar details.
699 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
701 Implement GtkTooltip API for calendar details. (#339540)
703 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
704 Remember detail overflows in calendar_paint_day to show the tooltip
705 only when neccessary.
707 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
709 Without setting "detail-width-chars" and "detail-height-rows"
710 properties not only the widget has to be redrawn on certain
711 conditions, but also its size must be recalculated. (#339540)
713 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
714 that function instead of gtk_widget_queue_draw.
716 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
718 Consider details for size-request and expose-event. (#339540)
720 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
721 is_color_attribute functions. Change gtk_calendar_size_request
722 and calendar_paint_day to consider and show calender details.
724 2007-12-28 Matthias Clasen <mclasen@redhat.com>
726 * gtk/gtkcombobox.c: Introduce local priv variables to
729 2007-12-27 Matthias Clasen <mclasen@redhat.com>
731 * gtk/gtkcombobox.c: Correct the default value for the
732 tearoff-title property.
734 * gtk/gtkcellrenderertext.c: Fix the default value for the
735 wrap-mode and font-scale properties.
737 * gtk/gtkaspectratio.c: Fix the default value for the ratio
740 2007-12-27 Matthias Clasen <mclasen@redhat.com>
742 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
743 defines. (#505708, MINAMI Hirokazu)
745 2007-12-27 Christian Persch <chpe@gnome.org>
747 * Makefile.am: Install gail.pc. Bug #505859.
749 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
751 Add infrastructure for GtkCalendar details. (#339540)
753 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
754 Add "detail-width-chars" and "detail-height-rows" properties,
755 and gtk_calendar_set_detail_func function.
757 2007-12-27 Xan Lopez <xan@gnome.org>
760 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
762 Add gtk_border_new to avoid memory allocator confusions when using
763 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
765 2007-12-27 Christian Persch <chpe@gnome.org>
767 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
768 bug #504886 not to read unitialised memory.
770 2007-12-26 Xan Lopez <xan@gnome.org>
772 * gtk/gtkstatusbar.c (has_extra_children): take into account the
773 modification of the internal frame contents to decide if we have
774 extra children. (#415677)
776 2007-12-22 Christian Persch <chpe@gnome.org>
778 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
780 2007-12-25 Christian Persch <chpe@gnome.org>
782 * modules/other/gail/gailwindow.c: (gail_window_initialize):
783 Initialise |widget|. Fixes a buglet introduced by the commit from bug
786 2007-12-25 Christian Persch <chpe@gnome.org>
788 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
790 2007-12-25 Christian Persch <chpe@gnome.org>
792 * modules/other/gail/*.[ch]: Remove relocations from the atk
793 factories. Remove unused gail_foo_new() functions. Fix object
794 instantiation to be derivation safe by moving initialisation code
795 from the removed gail_foo_new() functions to the
796 AtkObjectClass::initialize implementation. Bug #505226.
798 2007-12-24 Matthias Clasen <mclasen@redhat.com>
800 * modules/other/gail/gailentry.c:
801 * modules/other/gail/gailimage.c:
802 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
803 uses of clipboards and settings. (#504722, Christian Persch)
805 2007-12-24 Matthias Clasen <mclasen@redhat.com>
807 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
810 2007-12-24 Matthias Clasen <mclasen@redhat.com>
812 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
813 use the time and button information from the event. (#504901,
816 2007-12-23 Cody Russell <bratsche@gnome.org>
818 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
819 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
820 Fixes a regression caused by #164537 patch where transient
821 windows that are hidden get shown (incorrectly) when their
822 parents are minimized. (#504984)
824 2007-12-22 Christian Persch <chpe@gnome.org>
826 * modules/other/gail/gailcell.c:
827 * modules/other/gail/gailcontainercell.c:
828 * modules/other/gail/gailexpander.c:
829 * modules/other/gail/gailtextcell.c:
830 * modules/other/gail/gailtextview.c:
831 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
833 2007-12-22 Christian Persch <chpe@gnome.org>
835 * modules/other/gail/*.c: Include config.h. Bug #504720.
837 2007-12-22 Christian Persch <chpe@gnome.org>
839 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
840 handwritten get_type functions. Bug #504661.
842 2007-12-23 Xan Lopez <xan@gnome.org>
844 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
845 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
847 Patch by Sadrul Habib Chowdhury (#504804)
849 2007-12-22 Christian Persch <chpe@gnome.org>
851 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
852 #504645, patch by Li Yuan.
854 2007-12-22 Christian Persch <chpe@gnome.org>
856 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
858 2007-12-22 Christian Persch <chpe@gnome.org>
860 * modules/other/gail/gail.c:
861 * modules/other/gail/gailbutton.c:
862 * modules/other/gail/gailcell.c:
863 * modules/other/gail/gailcombo.c:
864 * modules/other/gail/gailcombo.h:
865 * modules/other/gail/gailcombobox.c:
866 * modules/other/gail/gailentry.c:
867 * modules/other/gail/gailexpander.c:
868 * modules/other/gail/gailmenuitem.c:
869 * modules/other/gail/gailnotebook.c:
870 * modules/other/gail/gailnotebookpage.c:
871 * modules/other/gail/gailnotebookpage.h:
872 * modules/other/gail/gailoptionmenu.c:
873 * modules/other/gail/gailrange.c:
874 * modules/other/gail/gailtextview.c:
875 * modules/other/gail/gailtreeview.c:
876 * modules/other/gail/gailtreeview.h:
877 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
880 2007-12-22 Matthias Clasen <mclasen@redhat.com>
882 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
885 2007-12-21 Richard Hult <richard@imendio.com>
887 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
888 Plug leak of destroyed subviews, fixes bug #504753.
890 2007-12-20 Johan Dahlin <johan@gnome.org>
892 * tests/Makefile.am (TEST_PROGS):
893 * tests/defaultvaluetest.c: Add a test for default values,
894 based on program by Christan Perch
896 2007-12-20 Johan Dahlin <johan@gnome.org>
898 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
899 Refactor to avoid some duplication.
900 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
901 Fixes #504749, Yuri Pimenov
903 2007-12-20 Kristian Rietveld <kris@imendio.com>
905 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
906 the build work again on systems without xrandr 1.2.
908 2007-12-20 Christian Persch <chpe@gnome.org>
911 * modules/other/gail/libgail-util/Makefile.am:
912 Keep the same libtool version as the standalone libgail-util had.
915 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
917 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
919 2007-12-20 Alexander Larsson <alexl@redhat.com>
921 * gdk/x11/gdkapplaunchcontext-x11.c:
922 Update for gio API changes
924 2007-12-20 Richard Hult <richard@imendio.com>
926 * gdk/quartz/GdkQuartzWindow.c:
927 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
928 processing events after changing the size.
930 2007-12-20 Richard Hult <richard@imendio.com>
932 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
933 Add stub for quartz to fix build.
935 2007-12-20 Christian Persch <chpe@gnome.org>
937 * modules/other/gail/Makefile.am:
938 * modules/other/gail/gailimage.c: (gail_image_class_init),
939 (gail_image_init), (elide_underscores), (gail_image_get_name),
940 (atk_image_interface_init), (gail_image_finalize):
941 * modules/other/gail/gailimage.h:
942 R modules/other/gail/gailintl.h:
943 * po/POTFILES.skip: Use the stock item's label as the name of the
944 accessible in gailimage.c. Bug #504246.
946 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
948 Avoid some compiler warnings and remove obsolete code. (#339540)
950 * gtk/gtkcalendar.c: Change week and year variable in
951 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
952 0" block from calendar_paint_day: The feature in question is handled
953 few lines above. Cast data returned by gtk_selection_data_get_text()
954 to (gchar*) in gtk_calendar_drag_data_received.
956 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
958 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
960 2007-12-19 Johan Dahlin <johan@gnome.org>
962 * tests/buildertest.c (test_object_properties):
963 Add another call to gtk_builder_add_string after using
964 delayed properties, as reported in #504393 but already
967 2007-12-18 Christian Persch <chpe@gnome.org>
970 * docs/reference/Makefile.am:
971 * docs/reference/libgail-util/*:
972 * gail-uninstalled.pc.in:
974 * modules/Makefile.am:
975 * modules/other/Makefile.am:
976 * modules/other/gail/*:
977 * modules/other/gail/libgail-util/*:
978 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
980 2007-12-17 Matthias Clasen <mclasen@redhat.com>
982 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
983 * gdk/win32/gdkproperty-win32.c:
984 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
986 * gtk/gtkimmodule.[hc]:
987 * gtk/gtkimmulticontext.[hc]: When determining the default context,
988 look at the gtk-im-module setting, and listen for changes to the
989 setting. (#502446, Akira Tagoh)
991 2007-12-17 Kristian Rietveld <kris@imendio.com>
993 * gtk/gtktooltip.c (gtk_tooltip_finalize),
994 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
995 to NULL as soon as it's destroyed. (#496546, patch from
998 2007-12-17 Kristian Rietveld <kris@imendio.com>
1000 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
1001 always determine what arrow to show if show_sort_indicator is true.
1002 (#352738, Chris Vine).
1004 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
1006 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
1007 Sébastien Granjoux)
1009 * gtk/gtkpaned.c: Call gtk_container_forall instead of
1010 gtk_container_foreach in get_child_panes.
1012 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
1014 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
1016 Plug leak: When reordering the info in the list the old node is
1017 removed but not freed. (#503569)
1019 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
1021 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
1022 Use u32 instead of __u32 and u8 instead of __u8 as the other types
1023 are deprecated since DirectFB 1.0.0. If compiling with an older
1024 version define the new type name to the old types. Fixes bug #503190.
1026 2007-12-14 Ray Strode <rstrode@redhat.com>
1028 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
1029 instead of g_signal_connect_after (..., "realize", ...) as an
1030 alternative to gtk_widget_realize () (bug 503537).
1032 2007-12-14 Michael Natterer <mitch@imendio.com>
1034 * gdk/gdkinternals.h
1035 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
1038 * gdk/gdkapplaunchcontext.c
1039 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
1040 header already includes everything now.
1042 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1044 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
1045 next stable release shall be 2.16, not 2.14 - even if disagree.
1047 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
1049 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1051 Change GtkToolItem to retrieve its properties from GtkToolShell
1052 interface, instead of relying on being child of a GtkToolbar.
1055 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
1056 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
1057 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
1058 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
1059 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
1060 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
1061 Take section docs from template file and update them for GtkToolShell.
1062 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
1063 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
1065 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
1067 Extract loading of GtkPageSetup and GtkPrintSettings from their
1068 *_new_*() functions and move that code into separate
1069 *_load_*() functions (#475565).
1071 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
1072 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
1073 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
1074 Change the matching *_new_*() functions to use those functions.
1076 2007-12-14 Matthias Clasen <mclasen@redhat.com>
1079 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
1081 2007-12-14 Kristian Rietveld <kris@imendio.com>
1083 * gtk/tests/liststore.c:
1084 * gtk/tests/treestore.c: added tests for insertion functions.
1086 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
1088 * Add RandR 1.2 support
1090 - New monitors_changed signal - New API to get width/height of
1091 monitors, and the name of the plug
1093 2007-12-13 Kristian Rietveld <kris@imendio.com>
1095 * gtk/tests/liststore.c:
1096 * gtk/tests/treestore.c: test the move and swap functions on a
1097 store with only one node.
1099 2007-12-13 Kristian Rietveld <kris@imendio.com>
1101 * gtk/gtktestutils.c (gtk_test_init): add a call to
1104 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
1107 2007-12-13 Kristian Rietveld <kris@imendio.com>
1109 * gtk/tests/liststore.c:
1110 * gtk/tests/treestore.c: start composing tests for the list and tree
1113 * gtk/tests/treeview-scrolling.c: added automated tests for
1114 GtkTreeView's scrolling "subsystem".
1116 * gtk/tests/Makefile.am: updated; added new test programs.
1118 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
1120 Make the code compile again after the GdkAppLaunchContext changes.
1122 * configure.in: Add gio-2.0 to GDK_PACKAGES.
1123 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
1125 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1127 * gdk/gdkapplaunchcontext.c: Add docs
1129 2007-12-12 Matthias Clasen <mclasen@redhat.com>
1131 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
1132 in gdk, providing startup notification. (#503203)
1134 * gdk/x11/gdkapplaunchcontext-x11.c:
1135 * gdk/win32/gdkapplaunchcontext-win32.c:
1136 * gdk/quartz/gdkapplaunchcontext-quartz.c:
1137 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
1138 parts. All but X11 are just empty stubs for now.
1141 * gdk/gdkinternals.h:
1143 * gdk/x11/Makefile.am:
1144 * gdk/win32/Makefile.am:
1145 * gdk/quartz/Makefile.am:
1146 * gdk/directfb/Makefile.am: Necessary glue.
1148 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
1150 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
1152 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1154 * gdk/directfb/gdktestutils-directfb.c:
1155 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
1156 which adds testing functions to the DirectFB backend.
1158 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1160 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
1161 Ciccani which fixes the mixing of gdk and cairo rendering.
1163 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
1165 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
1166 on "drag-motion" handlers. Clearify documentation for
1169 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
1171 * buildertest.c: made unnecessarily exported symbols static.
1172 switched g_return_if_fail() statements in tests to assertions.
1173 special cased currently failing Widget/accesibility test to
1174 run only for g_test_thorough(), so it doesn't break make check.
1175 some coding style fixes.
1177 * Makefile.am: added buildertest to TEST_PROGS.
1179 2007-12-11 Stefan Kost <ensonic@users.sf.net>
1181 * docs/tutorial/gtk-tut.sgml:
1182 Use gtk_widget_get_parent_window() instead of widget->parent->window.
1184 2007-12-10 Richard Hult <richard@imendio.com>
1186 * gdk/quartz/Makefile.am:
1187 * gdk/quartz/gdkquartz.h:
1188 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
1189 header (bug #405915). Also add a getter for the toplevel nswindow.
1191 2007-12-10 Richard Hult <richard@imendio.com>
1193 * gdk/quartz/gdkdrawable-quartz.c:
1194 (gdk_quartz_drawable_get_context),
1195 (gdk_quartz_drawable_release_context):
1196 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
1197 (gdk_event_check), (gdk_event_dispatch), (poll_func):
1198 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
1199 used for each drawing context and in prepare, dispatch and poll
1200 with one that exists across each main loop iteration. Fixes leaks
1201 on leopard and protects against future leaks introduce when the
1202 underlying system changes again (bug #492977).
1204 2007-12-10 Richard Hult <richard@imendio.com>
1206 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
1207 Fix the check for no changes to position and size.
1209 2007-12-10 Richard Hult <richard@imendio.com>
1211 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
1212 sized areas at (0, 0), patch from Paul Davis.
1214 2007-12-10 Richard Hult <richard@imendio.com>
1216 * gdk/quartz/gdkprivate-quartz.h:
1217 * gdk/quartz/gdkeventloop-quartz.c:
1218 (_gdk_quartz_event_loop_get_pending),
1219 (_gdk_quartz_event_loop_check_pending),
1220 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
1221 (gdk_event_check), (gdk_event_dispatch):
1222 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
1223 (_gdk_events_queue): Fix a bug where we could end up trying to
1224 handle the same event more than once. Based on patch from Paul
1227 2007-12-10 Tor Lillqvist <tml@novell.com>
1229 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
1232 2007-12-10 Matthias Clasen <mclasen@redhat.com>
1234 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
1235 to avoid further fallout from the fix for bug 388321.
1237 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1239 * gdk/directfb/gdkgc-directfb.c:
1240 * gdk/directfb/gdkdrawable-directfb.c:
1241 * gdk/directfb/gdkdirectfb.h:
1242 * gdk/directfb/gdkwindow-directfb.c:
1243 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
1244 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
1245 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
1246 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
1247 which are expected to improve the performance of the DirectFB backend.
1248 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
1250 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1252 * gtk/gtkcontainer.c: Correct the documentation of child
1253 property getter arguments. (#501992, David Brigada)
1255 2007-12-07 Matthias Clasen <mclasen@redhat.com>
1257 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
1258 leak pixbufs. (#502250, Yevgen Muntyan)
1260 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
1262 * gtk/gtkprintunixdialog.c:
1263 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
1264 Print and Page Setup dialogs (#502202).
1266 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
1268 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
1269 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
1270 of XVFB_START, since it's the GTESTER invokation that needs this.
1272 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
1274 * gdk-pixbuf/gdk-pixbuf.symbols:
1276 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
1277 positives in abicheck.sh
1279 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
1281 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
1282 GDK events generations in the DirectFB backend.
1284 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
1286 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
1287 set of likely unused display ids, because MacOS has no seq(1) command.
1289 2007-12-06 Richard Hult <richard@imendio.com>
1291 * gdk/quartz/gdkevents-quartz.c:
1292 (synthesize_crossing_events_for_ns_event): Fix warning when
1293 switching spaces in leopard.
1295 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
1297 * tests/floatingtest.c: ported to new testing framework.
1299 * tests/Makefile.am: run floatingtest as testing framework test.
1301 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
1303 * tests/autotestfilechooser.c: majorly speed up execution by reducing
1304 timeouts and converting main loop sleeps to pending/iterate loops with
1305 very low priority async handlers. eliminate output for non-verbose
1306 tests. assert successfull subtests in all test functions. use testing
1307 framework in main().
1309 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
1310 executed inside Xvfb upon make check.
1312 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
1314 * tests/objecttests.c: use string comparisons for string property
1315 values and get rid of referencing symbols in array initialization.
1317 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
1319 * gtk+/Makefile.decl: run tests in current dir after setting up the
1320 logging directory, so their results get properly merged into the
1323 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
1324 tests to loop over registered Gdk/Gtk+ types.
1326 * gtk+/tests/objecttests.c: new test program, implements automated
1327 property tests. several properties are blacklisted because they
1328 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
1329 can be used to test blacklisted properties and see which proprty failed.
1331 2007-12-04 Richard Hult <richard@imendio.com>
1333 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
1334 Fully initialize the root window, fixes bug #501583.
1336 2007-12-04 Matthias Clasen <mclasen@redhat.com>
1338 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
1341 2007-12-03 Richard Hult <richard@imendio.com>
1343 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
1344 Don't crash when dragging from a source that doesn't support uri
1345 lists (bug #499868, Paul Davis).
1347 2007-12-03 Richard Hult <richard@imendio.com>
1349 * gdk/quartz/gdkwindow-quartz.c:
1350 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
1351 parent relative bg pixmap is set, and no parent has a bg
1352 pixmap. Fixes bug #500804.
1354 2007-12-03 Matthias Clasen <mclasen@redhat.com>
1356 Two optimizations for icon cache lookups.
1358 * gtk/gtkiconcache.[hc]:
1359 * gtk/gtkicontheme.c: Remember the directory index for
1360 subdirectories, instead of running over the directory list
1363 * gtk/gtkiconcache.c (find_image_offset): Remember the last
1364 chain and try it first; this helps with the the usage patterns
1365 in gtkicontheme.c, where the same icon is queried for a lot
1368 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
1370 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
1371 functions from header files. this should be portable across linux and
1372 Mac OS, unlike the previpous sed expression.
1374 2007-12-1 Cody Russell <bratsche@gnome.org>
1376 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
1377 On Windows, queue a redraw of child2 whenever we set
1378 the pane handle position. This is unfortunately kind
1379 of hacky, but solves the visual artifacts that were
1380 occuring on at least certain types of child widgets
1381 (e.g., text views and tree views) that are inside
1382 horizontal or vertical panes. (#144269)
1384 2007-11-30 Matthias Clasen <mclasen@redhat.com>
1386 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
1388 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1390 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
1393 2007-11-29 Matthias Clasen <mclasen@redhat.com>
1395 * gtk/Makefile.am: Fix ordering of subdirs.
1397 2007-11-28 Tor Lillqvist <tml@novell.com>
1399 A proper build of GNU libintl is supposed to export the variable
1400 _nl_msg_cat_cntr. configure looks for that variable in order to
1401 recognize GNU gettext. If it sees that it is indeed GNU gettext
1402 that is used, it decides to install message catalogs in
1403 share/locale, otherwise in lib/locale. Until now on Windows I have
1404 built GTK+ against a build of GNU gettext that did not export
1405 _nl_msg_cat_cntr. But this will change, so we can't assume message
1406 catalogs are always in lib/locale.
1408 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
1409 GTK_LOCALEDIR being either in "lib" or "share". Move the function
1410 before the inclusion of gtkprivate.h so that it sees the original
1413 * gtk-zip.sh.in: Check whether the message catalogs are in
1414 share/locale or lib/locale.
1416 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
1417 that the code in _gtk_get_localedir() will find the slashes.
1419 2007-11-28 Tor Lillqvist <tml@novell.com>
1421 * gtk/Makefile.am: Improve portability. The -o option is present
1422 only in newish GNU egreps. Use one more sed in the pipeline
1425 2007-11-28 Tor Lillqvist <tml@novell.com>
1427 Fix #375893, patch by Ben Hague:
1429 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
1430 around GetLogicalDrives() that takes also the viewable drive
1431 restrictions in the Registry (which are usually the result of an
1432 Active Directory Group Policy) into account.
1434 (check_volumes, gtk_file_system_win32_list_volumes) Call
1435 get_viewable_logical_drives() instead of GetLogicalDrives().
1437 2007-11-27 Matthias Clasen <mclasen@redhat.com>
1439 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
1440 variables to silence valgrind. (#495124, Morten Welinder)
1442 2006-11-26 Ryan Lortie <desrt@desrt.ca>
1444 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
1445 that the construct_child function is responsible for returning a
1447 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
1448 objects from constructors
1449 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
1450 g_object_ref() to this construction function (it's the only
1455 2006-11-26 Ryan Lortie <desrt@desrt.ca>
1457 * gtkbuilder.c: remove concept of root objects and just refcount
1458 all objects in the builder. Fixes #496651.
1460 2007-11-26 Ryan Lortie <desrt@desrt.ca>
1462 * tests/buildertest.c (test_window): fix invalid free
1464 2007-11-26 Josselin Mouette <joss@malsain.org>
1466 reviewed by: Federico Mena Quintero
1468 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
1469 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
1470 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
1471 Make the shortcuts activate with a single click. (#148828)
1472 Fix a few things affected by the change:
1473 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
1474 where no shortcut is selected.
1475 - Don't activate a shortcut in the response callback.
1476 - Filter out duplicate entries in volumes and bookmarks to
1477 avoid the selection to change when reordering them with DnD.
1479 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1482 * gtk/gtknotebook.c:
1483 * gtk/gtkplugprivate.h:
1485 * gtk/gtksocketprivate.h:
1486 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
1488 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1490 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
1491 (#495574, Richard Hult)
1493 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1495 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
1496 String change ! (#376361, Sven Neumann)
1498 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1500 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
1502 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
1505 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1507 * gtk/gtkassistant.c: Improve alternative button
1508 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
1510 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1512 * gtk/gtkcalendar.c: Fix a theming problem with colors
1513 in GtkCalendar. (#499703, Michael Hofmann)
1515 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1517 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
1519 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1521 Use templates for glib-mkenums calls instead of
1522 complicated commandlines in Makefiles. (#429910)
1524 * gdk-pixbuf/Makefile.am:
1527 * perf/Makefile.am: Use templates for glib-mkenums
1529 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
1530 * gdk/gdkenumtypes.[ch].template:
1531 * gtk/gtktypebuiltings.[ch].template:
1532 * perf/typebuiltins.[ch].template: The templates
1534 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1536 * gtk/gtkfilechooserbutton.c:
1537 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
1538 some compilers choke on that. (#467722)
1540 2007-11-26 Matthias Clasen <mclasen@redhat.com>
1542 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
1543 about hook setup. (#425004, Emmanuele Bassi)
1545 2007-11-26 Tor Lillqvist <tml@novell.com>
1547 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
1548 monitor the window currently is on, not always the primary
1549 monitor. (#463865, Tim Evans)
1551 2007-11-26 Tor Lillqvist <tml@novell.com>
1553 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
1555 * gdk/win32/Makefile.am: Add it.
1557 2007-11-26 Tor Lillqvist <tml@novell.com>
1559 * configure.in: Don't add jasper to all_loaders if no libjasper.
1561 2007-11-25 Bastien Nocera <hadess@hadess.net>
1563 * configure.in: Add detection for libjasper, used by the
1564 gdk-pixbuf JPEG2000 loader
1566 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1568 * configure.in: Require gtk-doc 1.8
1570 * */*.c: Use gtk-doc abbreviations for examples in docs.
1572 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1574 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
1577 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1579 * gtk/gtkdialog.c: Move signal and property documentation inline,
1580 fix a problem with the ::response signal docs. (#499133, Josselin
1583 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
1585 * Makefile.decl: initialize automake variables EXTRA_DIST and
1586 TEST_PROGS for unconditional appending via += in other makefiles.
1587 define recursive test targets: test, test-report, perf-report,
1588 full-report, as described here:
1589 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
1590 the test targets will execute Gtk+ test programs within an Xvfb session.
1592 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
1594 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
1595 g_test_run() to run the tests to integrate with the testing framework.
1597 * gtk/tests/Makefile.am: removed exemplary testing rules.
1599 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
1600 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
1601 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
1602 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
1603 * docs/reference/Makefile.am, docs/tools/Makefile.am:
1604 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
1605 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
1606 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
1607 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
1608 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
1609 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
1610 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
1611 * modules/engines/ms-windows/Theme/Makefile.am:
1612 * modules/engines/ms-windows/Makefile.am:
1613 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
1614 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
1615 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
1616 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
1617 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
1618 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
1619 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
1621 2007-11-22 Matthias Clasen <mclasen@redhat.com>
1623 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
1624 (#485662, patch by Herbert Valerio Riedel)
1626 2007-11-22 Matthias Clasen <mclasen@redhat.com>
1628 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
1630 2007-11-21 Richard Hult <richard@imendio.com>
1632 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
1633 stubs for the testing functions to fix the build.
1635 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1637 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
1638 (#467711, The Written Word)
1640 2007-11-21 Ross Burton <ross@openedhand.com>
1642 * gdk/x11/gdksettings.c:
1643 Add xsetting for gtk-scrolled-window-placement (#458103).
1645 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1647 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
1648 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
1649 (#469239, Michael Natterer)
1651 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1653 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
1654 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
1655 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
1656 (#436536, Tommi Komulainen)
1658 2007-11-21 Matthias Clasen <mclasen@redhat.com>
1660 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
1661 property. (#489782, Jan Janech)
1663 2007-11-20 Matthias Clasen <mclasen@redhat.com>
1665 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
1666 frames. (#107398, Owen Taylor, Miguel Gomez)
1668 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
1670 Moved Gdk test functions from Gtk+ to Gdk test utils.
1672 * gdk/Makefile.am: added gdktestutils.h to public includes.
1674 * gdk/gdk.h: added gdktestutils.h to public includes.
1676 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
1677 gdk_test_render_sync.
1679 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
1680 gdk_test_simulate_key, gdk_test_render_sync.
1682 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
1684 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
1685 gdk_test_simulate_key, gdk_test_render_sync.
1687 * gtk/gtktestutils.c:
1688 * gtk/gtktestutils.h:
1689 * gtk/gtk.symbols: removed gtk_test_simulate_button
1690 gtk_test_simulate_key, gtk_test_xserver_render_sync.
1692 * gtk/tests/testing.c: call gdk_test_render_sync.
1694 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
1696 Added unit tests for Gtk+ testing utilities.
1698 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
1699 utility functions. some g_test_* related portions are disabled and need
1700 to be enabled once Gtk+ depends on a new glib with the GLib testing
1701 framework integrated.
1703 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
1704 added exemplary test rules to run tests inside Xvfb. this needs to depend
1705 on gtester for full fledged testing.
1707 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
1708 collecting _get_type functions to catch e.g. gtk_text_get_type().
1710 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
1712 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
1714 Added Gtk+ testing utilities.
1716 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
1717 for the most part, the functions herein involve navigating and interacting
1718 with dialog elements programatically, to automate user interaction tests of
1719 dialogs and widgets.
1721 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
1723 * gtk/gtk.symbols: added gtk_test_* symbols.
1725 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
1726 generate gtktypefuncs.c which contains a list of all _get_type functions in
1728 2007-11-20 Bastien Nocera <hadess@hadess.net>
1730 * configure.in: add support for conditional icns gdk-pixbuf loader
1733 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
1735 * configure.in: updated version number to 2.15.0 for development.
1737 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
1739 === Branch for 2.12 ===