1 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
3 Implement GtkTooltip API for calendar details. (#339540)
5 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
6 Remember detail overflows in calendar_paint_day to show the tooltip
9 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
11 Without setting "detail-width-chars" and "detail-height-rows"
12 properties not only the widget has to be redrawn on certain
13 conditions, but also its size must be recalculated. (#339540)
15 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
16 that function instead of gtk_widget_queue_draw.
18 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
20 Consider details for size-request and expose-event. (#339540)
22 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
23 is_color_attribute functions. Change gtk_calendar_size_request
24 and calendar_paint_day to consider and show calender details.
26 2007-12-28 Matthias Clasen <mclasen@redhat.com>
28 * gtk/gtkcombobox.c: Introduce local priv variables to
31 2007-12-27 Matthias Clasen <mclasen@redhat.com>
33 * gtk/gtkcombobox.c: Correct the default value for the
34 tearoff-title property.
36 * gtk/gtkcellrenderertext.c: Fix the default value for the
37 wrap-mode and font-scale properties.
39 * gtk/gtkaspectratio.c: Fix the default value for the ratio
42 2007-12-27 Matthias Clasen <mclasen@redhat.com>
44 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
45 defines. (#505708, MINAMI Hirokazu)
47 2007-12-27 Christian Persch <chpe@gnome.org>
49 * Makefile.am: Install gail.pc. Bug #505859.
51 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
53 Consider details for size-request and expose-event. (#339540)
55 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
56 is_color_attribute functions. Change gtk_calendar_size_request and
57 calendar_paint_day to consider and show calender details.
59 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
61 Add infrastructure for GtkCalendar details. (#339540)
63 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
64 Add "detail-width-chars" and "detail-height-rows" properties,
65 and gtk_calendar_set_detail_func function.
67 2007-12-27 Xan Lopez <xan@gnome.org>
70 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
72 Add gtk_border_new to avoid memory allocator confusions when using
73 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
75 2007-12-27 Christian Persch <chpe@gnome.org>
77 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
78 bug #504886 not to read unitialised memory.
80 2007-12-26 Xan Lopez <xan@gnome.org>
82 * gtk/gtkstatusbar.c (has_extra_children): take into account the
83 modification of the internal frame contents to decide if we have
84 extra children. (#415677)
86 2007-12-22 Christian Persch <chpe@gnome.org>
88 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
90 2007-12-25 Christian Persch <chpe@gnome.org>
92 * modules/other/gail/gailwindow.c: (gail_window_initialize):
93 Initialise |widget|. Fixes a buglet introduced by the commit from bug
96 2007-12-25 Christian Persch <chpe@gnome.org>
98 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
100 2007-12-25 Christian Persch <chpe@gnome.org>
102 * modules/other/gail/*.[ch]: Remove relocations from the atk
103 factories. Remove unused gail_foo_new() functions. Fix object
104 instantiation to be derivation safe by moving initialisation code
105 from the removed gail_foo_new() functions to the
106 AtkObjectClass::initialize implementation. Bug #505226.
108 2007-12-24 Matthias Clasen <mclasen@redhat.com>
110 * modules/other/gail/gailentry.c:
111 * modules/other/gail/gailimage.c:
112 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
113 uses of clipboards and settings. (#504722, Christian Persch)
115 2007-12-24 Matthias Clasen <mclasen@redhat.com>
117 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
120 2007-12-24 Matthias Clasen <mclasen@redhat.com>
122 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
123 use the time and button information from the event. (#504901,
126 2007-12-23 Cody Russell <bratsche@gnome.org>
128 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
129 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
130 Fixes a regression caused by #164537 patch where transient
131 windows that are hidden get shown (incorrectly) when their
132 parents are minimized. (#504984)
134 2007-12-22 Christian Persch <chpe@gnome.org>
136 * modules/other/gail/gailcell.c:
137 * modules/other/gail/gailcontainercell.c:
138 * modules/other/gail/gailexpander.c:
139 * modules/other/gail/gailtextcell.c:
140 * modules/other/gail/gailtextview.c:
141 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
143 2007-12-22 Christian Persch <chpe@gnome.org>
145 * modules/other/gail/*.c: Include config.h. Bug #504720.
147 2007-12-22 Christian Persch <chpe@gnome.org>
149 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
150 handwritten get_type functions. Bug #504661.
152 2007-12-23 Xan Lopez <xan@gnome.org>
154 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
155 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
157 Patch by Sadrul Habib Chowdhury (#504804)
159 2007-12-22 Christian Persch <chpe@gnome.org>
161 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
162 #504645, patch by Li Yuan.
164 2007-12-22 Christian Persch <chpe@gnome.org>
166 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
168 2007-12-22 Christian Persch <chpe@gnome.org>
170 * modules/other/gail/gail.c:
171 * modules/other/gail/gailbutton.c:
172 * modules/other/gail/gailcell.c:
173 * modules/other/gail/gailcombo.c:
174 * modules/other/gail/gailcombo.h:
175 * modules/other/gail/gailcombobox.c:
176 * modules/other/gail/gailentry.c:
177 * modules/other/gail/gailexpander.c:
178 * modules/other/gail/gailmenuitem.c:
179 * modules/other/gail/gailnotebook.c:
180 * modules/other/gail/gailnotebookpage.c:
181 * modules/other/gail/gailnotebookpage.h:
182 * modules/other/gail/gailoptionmenu.c:
183 * modules/other/gail/gailrange.c:
184 * modules/other/gail/gailtextview.c:
185 * modules/other/gail/gailtreeview.c:
186 * modules/other/gail/gailtreeview.h:
187 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
190 2007-12-22 Matthias Clasen <mclasen@redhat.com>
192 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
195 2007-12-21 Richard Hult <richard@imendio.com>
197 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
198 Plug leak of destroyed subviews, fixes bug #504753.
200 2007-12-20 Johan Dahlin <johan@gnome.org>
202 * tests/Makefile.am (TEST_PROGS):
203 * tests/defaultvaluetest.c: Add a test for default values,
204 based on program by Christan Perch
206 2007-12-20 Johan Dahlin <johan@gnome.org>
208 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
209 Refactor to avoid some duplication.
210 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
211 Fixes #504749, Yuri Pimenov
213 2007-12-20 Kristian Rietveld <kris@imendio.com>
215 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
216 the build work again on systems without xrandr 1.2.
218 2007-12-20 Christian Persch <chpe@gnome.org>
221 * modules/other/gail/libgail-util/Makefile.am:
222 Keep the same libtool version as the standalone libgail-util had.
225 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
227 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
229 2007-12-20 Alexander Larsson <alexl@redhat.com>
231 * gdk/x11/gdkapplaunchcontext-x11.c:
232 Update for gio API changes
234 2007-12-20 Richard Hult <richard@imendio.com>
236 * gdk/quartz/GdkQuartzWindow.c:
237 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
238 processing events after changing the size.
240 2007-12-20 Richard Hult <richard@imendio.com>
242 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
243 Add stub for quartz to fix build.
245 2007-12-20 Christian Persch <chpe@gnome.org>
247 * modules/other/gail/Makefile.am:
248 * modules/other/gail/gailimage.c: (gail_image_class_init),
249 (gail_image_init), (elide_underscores), (gail_image_get_name),
250 (atk_image_interface_init), (gail_image_finalize):
251 * modules/other/gail/gailimage.h:
252 R modules/other/gail/gailintl.h:
253 * po/POTFILES.skip: Use the stock item's label as the name of the
254 accessible in gailimage.c. Bug #504246.
256 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
258 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
259 are shown within the widget, or jst as tooltip.
261 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
262 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
263 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
266 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
268 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
269 are shown within the widget, or jst as tooltip.
271 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
272 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
273 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
276 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
278 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
279 are shown within the widget, or jst as tooltip.
281 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
282 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
283 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
286 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
288 Try more decent appearance of calendar details separator. (#339540)
290 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
291 and make it short by one pixel on each side.
293 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
295 Try more decent appearance of calendar details separator. (#339540)
297 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
298 and make it short by one pixel on each side.
300 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
302 Try more decent appearance of calendar details separator. (#339540)
304 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
305 and make it short by one pixel on each side.
307 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
309 Try more decent appearance of calendar details separator. (#339540)
311 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
312 and make it short by one pixel on each side.
314 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
316 Try more decent appearance of calendar details separator. (#339540)
318 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
319 and make it short by one pixel on each side.
321 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
323 Restructure testcalendar for testing calendar details. (#339540)
325 * tests/testcalendar.c: Move code arround to test calendar details.
327 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
329 Restructure testcalendar for testing calendar details. (#339540)
331 * tests/testcalendar.c: Move code arround to test calendar details.
333 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
335 Implement GtkTooltip API for calendar details. (#339540)
337 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
339 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
341 Without explicitly set "detail-width-chars" and "detail-height-rows"
342 properties not only the widget has to be redrawn on certain
343 conditions, but also its size must be recalculated. (#339540)
345 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
346 that function instead of gtk_widget_queue_draw.
348 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
350 Without explicitly set "detail-width-chars" and "detail-height-rows"
351 properties not only the widget has to be redrawn on certain
352 conditions, but also its size must be recalculated. (#339540)
354 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
355 that function instead of gtk_widget_queue_draw.
357 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
359 Without explicitly set "detail-width-chars" and "detail-height-rows"
360 properties not only the widget has to be redrawn on certain
361 conditions, but also its size must be recalculated. (#339540)
363 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
364 that function instead of gtk_widget_queue_draw.
366 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
368 Without explicitly set "detail-width-chars" and "detail-height-rows"
369 properties not only the widget has to be redrawn on certain
370 conditions, but also its size must be recalculated. (#339540)
372 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
373 that function instead of gtk_widget_queue_draw.
375 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
377 Consider in size-request and show calender details. (#339540)
379 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
380 is_color_attribute functions. Change gtk_calendar_size_request and
381 calendar_paint_day to consider and show calender details.
383 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
385 Avoid some compiler warnings and remove obsolete code. (#339540)
387 * gtk/gtkcalendar.c: Change week and year variable in
388 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
389 0" block from calendar_paint_day: The feature in question is handled
390 few lines above. Cast data returned by gtk_selection_data_get_text()
391 to (gchar*) in gtk_calendar_drag_data_received.
393 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
395 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
397 2007-12-19 Johan Dahlin <johan@gnome.org>
399 * tests/buildertest.c (test_object_properties):
400 Add another call to gtk_builder_add_string after using
401 delayed properties, as reported in #504393 but already
404 2007-12-18 Christian Persch <chpe@gnome.org>
407 * docs/reference/Makefile.am:
408 * docs/reference/libgail-util/*:
409 * gail-uninstalled.pc.in:
411 * modules/Makefile.am:
412 * modules/other/Makefile.am:
413 * modules/other/gail/*:
414 * modules/other/gail/libgail-util/*:
415 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
417 2007-12-17 Matthias Clasen <mclasen@redhat.com>
419 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
420 * gdk/win32/gdkproperty-win32.c:
421 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
423 * gtk/gtkimmodule.[hc]:
424 * gtk/gtkimmulticontext.[hc]: When determining the default context,
425 look at the gtk-im-module setting, and listen for changes to the
426 setting. (#502446, Akira Tagoh)
428 2007-12-17 Kristian Rietveld <kris@imendio.com>
430 * gtk/gtktooltip.c (gtk_tooltip_finalize),
431 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
432 to NULL as soon as it's destroyed. (#496546, patch from
435 2007-12-17 Kristian Rietveld <kris@imendio.com>
437 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
438 always determine what arrow to show if show_sort_indicator is true.
439 (#352738, Chris Vine).
441 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
443 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
446 * gtk/gtkpaned.c: Call gtk_container_forall instead of
447 gtk_container_foreach in get_child_panes.
449 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
451 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
453 Plug leak: When reordering the info in the list the old node is
454 removed but not freed. (#503569)
456 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
458 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
459 Use u32 instead of __u32 and u8 instead of __u8 as the other types
460 are deprecated since DirectFB 1.0.0. If compiling with an older
461 version define the new type name to the old types. Fixes bug #503190.
463 2007-12-14 Ray Strode <rstrode@redhat.com>
465 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
466 instead of g_signal_connect_after (..., "realize", ...) as an
467 alternative to gtk_widget_realize () (bug 503537).
469 2007-12-14 Michael Natterer <mitch@imendio.com>
472 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
475 * gdk/gdkapplaunchcontext.c
476 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
477 header already includes everything now.
479 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
481 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
482 next stable release shall be 2.16, not 2.14 - even if disagree.
484 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
486 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
488 Change GtkToolItem to retrieve its properties from GtkToolShell
489 interface, instead of relying on being child of a GtkToolbar.
492 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
493 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
494 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
495 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
496 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
497 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
498 Take section docs from template file and update them for GtkToolShell.
499 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
500 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
502 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
504 Extract loading of GtkPageSetup and GtkPrintSettings from their
505 *_new_*() functions and move that code into separate
506 *_load_*() functions (#475565).
508 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
509 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
510 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
511 Change the matching *_new_*() functions to use those functions.
513 2007-12-14 Matthias Clasen <mclasen@redhat.com>
516 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
518 2007-12-14 Kristian Rietveld <kris@imendio.com>
520 * gtk/tests/liststore.c:
521 * gtk/tests/treestore.c: added tests for insertion functions.
523 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
525 * Add RandR 1.2 support
527 - New monitors_changed signal - New API to get width/height of
528 monitors, and the name of the plug
530 2007-12-13 Kristian Rietveld <kris@imendio.com>
532 * gtk/tests/liststore.c:
533 * gtk/tests/treestore.c: test the move and swap functions on a
534 store with only one node.
536 2007-12-13 Kristian Rietveld <kris@imendio.com>
538 * gtk/gtktestutils.c (gtk_test_init): add a call to
541 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
544 2007-12-13 Kristian Rietveld <kris@imendio.com>
546 * gtk/tests/liststore.c:
547 * gtk/tests/treestore.c: start composing tests for the list and tree
550 * gtk/tests/treeview-scrolling.c: added automated tests for
551 GtkTreeView's scrolling "subsystem".
553 * gtk/tests/Makefile.am: updated; added new test programs.
555 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
557 Make the code compile again after the GdkAppLaunchContext changes.
559 * configure.in: Add gio-2.0 to GDK_PACKAGES.
560 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
562 2007-12-12 Matthias Clasen <mclasen@redhat.com>
564 * gdk/gdkapplaunchcontext.c: Add docs
566 2007-12-12 Matthias Clasen <mclasen@redhat.com>
568 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
569 in gdk, providing startup notification. (#503203)
571 * gdk/x11/gdkapplaunchcontext-x11.c:
572 * gdk/win32/gdkapplaunchcontext-win32.c:
573 * gdk/quartz/gdkapplaunchcontext-quartz.c:
574 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
575 parts. All but X11 are just empty stubs for now.
578 * gdk/gdkinternals.h:
580 * gdk/x11/Makefile.am:
581 * gdk/win32/Makefile.am:
582 * gdk/quartz/Makefile.am:
583 * gdk/directfb/Makefile.am: Necessary glue.
585 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
587 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
589 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
591 * gdk/directfb/gdktestutils-directfb.c:
592 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
593 which adds testing functions to the DirectFB backend.
595 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
597 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
598 Ciccani which fixes the mixing of gdk and cairo rendering.
600 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
602 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
603 on "drag-motion" handlers. Clearify documentation for
606 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
608 * buildertest.c: made unnecessarily exported symbols static.
609 switched g_return_if_fail() statements in tests to assertions.
610 special cased currently failing Widget/accesibility test to
611 run only for g_test_thorough(), so it doesn't break make check.
612 some coding style fixes.
614 * Makefile.am: added buildertest to TEST_PROGS.
616 2007-12-11 Stefan Kost <ensonic@users.sf.net>
618 * docs/tutorial/gtk-tut.sgml:
619 Use gtk_widget_get_parent_window() instead of widget->parent->window.
621 2007-12-10 Richard Hult <richard@imendio.com>
623 * gdk/quartz/Makefile.am:
624 * gdk/quartz/gdkquartz.h:
625 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
626 header (bug #405915). Also add a getter for the toplevel nswindow.
628 2007-12-10 Richard Hult <richard@imendio.com>
630 * gdk/quartz/gdkdrawable-quartz.c:
631 (gdk_quartz_drawable_get_context),
632 (gdk_quartz_drawable_release_context):
633 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
634 (gdk_event_check), (gdk_event_dispatch), (poll_func):
635 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
636 used for each drawing context and in prepare, dispatch and poll
637 with one that exists across each main loop iteration. Fixes leaks
638 on leopard and protects against future leaks introduce when the
639 underlying system changes again (bug #492977).
641 2007-12-10 Richard Hult <richard@imendio.com>
643 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
644 Fix the check for no changes to position and size.
646 2007-12-10 Richard Hult <richard@imendio.com>
648 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
649 sized areas at (0, 0), patch from Paul Davis.
651 2007-12-10 Richard Hult <richard@imendio.com>
653 * gdk/quartz/gdkprivate-quartz.h:
654 * gdk/quartz/gdkeventloop-quartz.c:
655 (_gdk_quartz_event_loop_get_pending),
656 (_gdk_quartz_event_loop_check_pending),
657 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
658 (gdk_event_check), (gdk_event_dispatch):
659 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
660 (_gdk_events_queue): Fix a bug where we could end up trying to
661 handle the same event more than once. Based on patch from Paul
664 2007-12-10 Tor Lillqvist <tml@novell.com>
666 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
669 2007-12-10 Matthias Clasen <mclasen@redhat.com>
671 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
672 to avoid further fallout from the fix for bug 388321.
674 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
676 * gdk/directfb/gdkgc-directfb.c:
677 * gdk/directfb/gdkdrawable-directfb.c:
678 * gdk/directfb/gdkdirectfb.h:
679 * gdk/directfb/gdkwindow-directfb.c:
680 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
681 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
682 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
683 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
684 which are expected to improve the performance of the DirectFB backend.
685 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
687 2007-12-07 Matthias Clasen <mclasen@redhat.com>
689 * gtk/gtkcontainer.c: Correct the documentation of child
690 property getter arguments. (#501992, David Brigada)
692 2007-12-07 Matthias Clasen <mclasen@redhat.com>
694 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
695 leak pixbufs. (#502250, Yevgen Muntyan)
697 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
699 * gtk/gtkprintunixdialog.c:
700 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
701 Print and Page Setup dialogs (#502202).
703 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
705 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
706 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
707 of XVFB_START, since it's the GTESTER invokation that needs this.
709 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
711 * gdk-pixbuf/gdk-pixbuf.symbols:
713 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
714 positives in abicheck.sh
716 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
718 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
719 GDK events generations in the DirectFB backend.
721 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
723 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
724 set of likely unused display ids, because MacOS has no seq(1) command.
726 2007-12-06 Richard Hult <richard@imendio.com>
728 * gdk/quartz/gdkevents-quartz.c:
729 (synthesize_crossing_events_for_ns_event): Fix warning when
730 switching spaces in leopard.
732 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
734 * tests/floatingtest.c: ported to new testing framework.
736 * tests/Makefile.am: run floatingtest as testing framework test.
738 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
740 * tests/autotestfilechooser.c: majorly speed up execution by reducing
741 timeouts and converting main loop sleeps to pending/iterate loops with
742 very low priority async handlers. eliminate output for non-verbose
743 tests. assert successfull subtests in all test functions. use testing
746 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
747 executed inside Xvfb upon make check.
749 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
751 * tests/objecttests.c: use string comparisons for string property
752 values and get rid of referencing symbols in array initialization.
754 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
756 * gtk+/Makefile.decl: run tests in current dir after setting up the
757 logging directory, so their results get properly merged into the
760 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
761 tests to loop over registered Gdk/Gtk+ types.
763 * gtk+/tests/objecttests.c: new test program, implements automated
764 property tests. several properties are blacklisted because they
765 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
766 can be used to test blacklisted properties and see which proprty failed.
768 2007-12-04 Richard Hult <richard@imendio.com>
770 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
771 Fully initialize the root window, fixes bug #501583.
773 2007-12-04 Matthias Clasen <mclasen@redhat.com>
775 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
778 2007-12-03 Richard Hult <richard@imendio.com>
780 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
781 Don't crash when dragging from a source that doesn't support uri
782 lists (bug #499868, Paul Davis).
784 2007-12-03 Richard Hult <richard@imendio.com>
786 * gdk/quartz/gdkwindow-quartz.c:
787 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
788 parent relative bg pixmap is set, and no parent has a bg
789 pixmap. Fixes bug #500804.
791 2007-12-03 Matthias Clasen <mclasen@redhat.com>
793 Two optimizations for icon cache lookups.
795 * gtk/gtkiconcache.[hc]:
796 * gtk/gtkicontheme.c: Remember the directory index for
797 subdirectories, instead of running over the directory list
800 * gtk/gtkiconcache.c (find_image_offset): Remember the last
801 chain and try it first; this helps with the the usage patterns
802 in gtkicontheme.c, where the same icon is queried for a lot
805 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
807 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
808 functions from header files. this should be portable across linux and
809 Mac OS, unlike the previpous sed expression.
811 2007-12-1 Cody Russell <bratsche@gnome.org>
813 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
814 On Windows, queue a redraw of child2 whenever we set
815 the pane handle position. This is unfortunately kind
816 of hacky, but solves the visual artifacts that were
817 occuring on at least certain types of child widgets
818 (e.g., text views and tree views) that are inside
819 horizontal or vertical panes. (#144269)
821 2007-11-30 Matthias Clasen <mclasen@redhat.com>
823 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
825 2007-11-29 Matthias Clasen <mclasen@redhat.com>
827 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
830 2007-11-29 Matthias Clasen <mclasen@redhat.com>
832 * gtk/Makefile.am: Fix ordering of subdirs.
834 2007-11-28 Tor Lillqvist <tml@novell.com>
836 A proper build of GNU libintl is supposed to export the variable
837 _nl_msg_cat_cntr. configure looks for that variable in order to
838 recognize GNU gettext. If it sees that it is indeed GNU gettext
839 that is used, it decides to install message catalogs in
840 share/locale, otherwise in lib/locale. Until now on Windows I have
841 built GTK+ against a build of GNU gettext that did not export
842 _nl_msg_cat_cntr. But this will change, so we can't assume message
843 catalogs are always in lib/locale.
845 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
846 GTK_LOCALEDIR being either in "lib" or "share". Move the function
847 before the inclusion of gtkprivate.h so that it sees the original
850 * gtk-zip.sh.in: Check whether the message catalogs are in
851 share/locale or lib/locale.
853 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
854 that the code in _gtk_get_localedir() will find the slashes.
856 2007-11-28 Tor Lillqvist <tml@novell.com>
858 * gtk/Makefile.am: Improve portability. The -o option is present
859 only in newish GNU egreps. Use one more sed in the pipeline
862 2007-11-28 Tor Lillqvist <tml@novell.com>
864 Fix #375893, patch by Ben Hague:
866 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
867 around GetLogicalDrives() that takes also the viewable drive
868 restrictions in the Registry (which are usually the result of an
869 Active Directory Group Policy) into account.
871 (check_volumes, gtk_file_system_win32_list_volumes) Call
872 get_viewable_logical_drives() instead of GetLogicalDrives().
874 2007-11-27 Matthias Clasen <mclasen@redhat.com>
876 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
877 variables to silence valgrind. (#495124, Morten Welinder)
879 2006-11-26 Ryan Lortie <desrt@desrt.ca>
881 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
882 that the construct_child function is responsible for returning a
884 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
885 objects from constructors
886 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
887 g_object_ref() to this construction function (it's the only
892 2006-11-26 Ryan Lortie <desrt@desrt.ca>
894 * gtkbuilder.c: remove concept of root objects and just refcount
895 all objects in the builder. Fixes #496651.
897 2007-11-26 Ryan Lortie <desrt@desrt.ca>
899 * tests/buildertest.c (test_window): fix invalid free
901 2007-11-26 Josselin Mouette <joss@malsain.org>
903 reviewed by: Federico Mena Quintero
905 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
906 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
907 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
908 Make the shortcuts activate with a single click. (#148828)
909 Fix a few things affected by the change:
910 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
911 where no shortcut is selected.
912 - Don't activate a shortcut in the response callback.
913 - Filter out duplicate entries in volumes and bookmarks to
914 avoid the selection to change when reordering them with DnD.
916 2007-11-26 Matthias Clasen <mclasen@redhat.com>
920 * gtk/gtkplugprivate.h:
922 * gtk/gtksocketprivate.h:
923 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
925 2007-11-26 Matthias Clasen <mclasen@redhat.com>
927 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
928 (#495574, Richard Hult)
930 2007-11-26 Matthias Clasen <mclasen@redhat.com>
932 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
933 String change ! (#376361, Sven Neumann)
935 2007-11-26 Matthias Clasen <mclasen@redhat.com>
937 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
939 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
942 2007-11-26 Matthias Clasen <mclasen@redhat.com>
944 * gtk/gtkassistant.c: Improve alternative button
945 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
947 2007-11-26 Matthias Clasen <mclasen@redhat.com>
949 * gtk/gtkcalendar.c: Fix a theming problem with colors
950 in GtkCalendar. (#499703, Michael Hofmann)
952 2007-11-26 Matthias Clasen <mclasen@redhat.com>
954 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
956 2007-11-26 Matthias Clasen <mclasen@redhat.com>
958 Use templates for glib-mkenums calls instead of
959 complicated commandlines in Makefiles. (#429910)
961 * gdk-pixbuf/Makefile.am:
964 * perf/Makefile.am: Use templates for glib-mkenums
966 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
967 * gdk/gdkenumtypes.[ch].template:
968 * gtk/gtktypebuiltings.[ch].template:
969 * perf/typebuiltins.[ch].template: The templates
971 2007-11-26 Matthias Clasen <mclasen@redhat.com>
973 * gtk/gtkfilechooserbutton.c:
974 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
975 some compilers choke on that. (#467722)
977 2007-11-26 Matthias Clasen <mclasen@redhat.com>
979 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
980 about hook setup. (#425004, Emmanuele Bassi)
982 2007-11-26 Tor Lillqvist <tml@novell.com>
984 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
985 monitor the window currently is on, not always the primary
986 monitor. (#463865, Tim Evans)
988 2007-11-26 Tor Lillqvist <tml@novell.com>
990 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
992 * gdk/win32/Makefile.am: Add it.
994 2007-11-26 Tor Lillqvist <tml@novell.com>
996 * configure.in: Don't add jasper to all_loaders if no libjasper.
998 2007-11-25 Bastien Nocera <hadess@hadess.net>
1000 * configure.in: Add detection for libjasper, used by the
1001 gdk-pixbuf JPEG2000 loader
1003 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1005 * configure.in: Require gtk-doc 1.8
1007 * */*.c: Use gtk-doc abbreviations for examples in docs.
1009 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1011 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
1014 2007-11-25 Matthias Clasen <mclasen@redhat.com>
1016 * gtk/gtkdialog.c: Move signal and property documentation inline,
1017 fix a problem with the ::response signal docs. (#499133, Josselin
1020 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
1022 * Makefile.decl: initialize automake variables EXTRA_DIST and
1023 TEST_PROGS for unconditional appending via += in other makefiles.
1024 define recursive test targets: test, test-report, perf-report,
1025 full-report, as described here:
1026 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
1027 the test targets will execute Gtk+ test programs within an Xvfb session.
1029 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
1031 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
1032 g_test_run() to run the tests to integrate with the testing framework.
1034 * gtk/tests/Makefile.am: removed exemplary testing rules.
1036 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
1037 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
1038 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
1039 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
1040 * docs/reference/Makefile.am, docs/tools/Makefile.am:
1041 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
1042 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
1043 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
1044 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
1045 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
1046 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
1047 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
1048 * modules/engines/ms-windows/Theme/Makefile.am:
1049 * modules/engines/ms-windows/Makefile.am:
1050 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
1051 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
1052 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
1053 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
1054 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
1055 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
1056 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
1058 2007-11-22 Matthias Clasen <mclasen@redhat.com>
1060 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
1061 (#485662, patch by Herbert Valerio Riedel)
1063 2007-11-22 Matthias Clasen <mclasen@redhat.com>
1065 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
1067 2007-11-21 Richard Hult <richard@imendio.com>
1069 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
1070 stubs for the testing functions to fix the build.
1072 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1074 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
1075 (#467711, The Written Word)
1077 2007-11-21 Ross Burton <ross@openedhand.com>
1079 * gdk/x11/gdksettings.c:
1080 Add xsetting for gtk-scrolled-window-placement (#458103).
1082 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1084 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
1085 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
1086 (#469239, Michael Natterer)
1088 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1090 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
1091 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
1092 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
1093 (#436536, Tommi Komulainen)
1095 2007-11-21 Matthias Clasen <mclasen@redhat.com>
1097 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
1098 property. (#489782, Jan Janech)
1100 2007-11-20 Matthias Clasen <mclasen@redhat.com>
1102 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
1103 frames. (#107398, Owen Taylor, Miguel Gomez)
1105 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
1107 Moved Gdk test functions from Gtk+ to Gdk test utils.
1109 * gdk/Makefile.am: added gdktestutils.h to public includes.
1111 * gdk/gdk.h: added gdktestutils.h to public includes.
1113 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
1114 gdk_test_render_sync.
1116 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
1117 gdk_test_simulate_key, gdk_test_render_sync.
1119 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
1121 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
1122 gdk_test_simulate_key, gdk_test_render_sync.
1124 * gtk/gtktestutils.c:
1125 * gtk/gtktestutils.h:
1126 * gtk/gtk.symbols: removed gtk_test_simulate_button
1127 gtk_test_simulate_key, gtk_test_xserver_render_sync.
1129 * gtk/tests/testing.c: call gdk_test_render_sync.
1131 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
1133 Added unit tests for Gtk+ testing utilities.
1135 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
1136 utility functions. some g_test_* related portions are disabled and need
1137 to be enabled once Gtk+ depends on a new glib with the GLib testing
1138 framework integrated.
1140 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
1141 added exemplary test rules to run tests inside Xvfb. this needs to depend
1142 on gtester for full fledged testing.
1144 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
1145 collecting _get_type functions to catch e.g. gtk_text_get_type().
1147 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
1149 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
1151 Added Gtk+ testing utilities.
1153 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
1154 for the most part, the functions herein involve navigating and interacting
1155 with dialog elements programatically, to automate user interaction tests of
1156 dialogs and widgets.
1158 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
1160 * gtk/gtk.symbols: added gtk_test_* symbols.
1162 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
1163 generate gtktypefuncs.c which contains a list of all _get_type functions in
1165 2007-11-20 Bastien Nocera <hadess@hadess.net>
1167 * configure.in: add support for conditional icns gdk-pixbuf loader
1170 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
1172 * configure.in: updated version number to 2.15.0 for development.
1174 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
1176 === Branch for 2.12 ===