1 2007-12-27 Matthias Clasen <mclasen@redhat.com>
3 * gtk/gtkcellrenderertext.c: Fix the default value for the
4 wrap-mode and font-scale properties.
6 * gtk/gtkaspectratio.c: Fix the default value for the ratio
9 2007-12-27 Matthias Clasen <mclasen@redhat.com>
11 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
12 defines. (#505708, MINAMI Hirokazu)
14 2007-12-27 Christian Persch <chpe@gnome.org>
16 * Makefile.am: Install gail.pc. Bug #505859.
18 2007-12-27 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 and
24 calendar_paint_day to consider and show calender details.
26 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
28 Add infrastructure for GtkCalendar details. (#339540)
30 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
31 Add "detail-width-chars" and "detail-height-rows" properties,
32 and gtk_calendar_set_detail_func function.
34 2007-12-27 Xan Lopez <xan@gnome.org>
37 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
39 Add gtk_border_new to avoid memory allocator confusions when using
40 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
42 2007-12-27 Christian Persch <chpe@gnome.org>
44 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
45 bug #504886 not to read unitialised memory.
47 2007-12-26 Xan Lopez <xan@gnome.org>
49 * gtk/gtkstatusbar.c (has_extra_children): take into account the
50 modification of the internal frame contents to decide if we have
51 extra children. (#415677)
53 2007-12-22 Christian Persch <chpe@gnome.org>
55 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
57 2007-12-25 Christian Persch <chpe@gnome.org>
59 * modules/other/gail/gailwindow.c: (gail_window_initialize):
60 Initialise |widget|. Fixes a buglet introduced by the commit from bug
63 2007-12-25 Christian Persch <chpe@gnome.org>
65 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
67 2007-12-25 Christian Persch <chpe@gnome.org>
69 * modules/other/gail/*.[ch]: Remove relocations from the atk
70 factories. Remove unused gail_foo_new() functions. Fix object
71 instantiation to be derivation safe by moving initialisation code
72 from the removed gail_foo_new() functions to the
73 AtkObjectClass::initialize implementation. Bug #505226.
75 2007-12-24 Matthias Clasen <mclasen@redhat.com>
77 * modules/other/gail/gailentry.c:
78 * modules/other/gail/gailimage.c:
79 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
80 uses of clipboards and settings. (#504722, Christian Persch)
82 2007-12-24 Matthias Clasen <mclasen@redhat.com>
84 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
87 2007-12-24 Matthias Clasen <mclasen@redhat.com>
89 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
90 use the time and button information from the event. (#504901,
93 2007-12-23 Cody Russell <bratsche@gnome.org>
95 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
96 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
97 Fixes a regression caused by #164537 patch where transient
98 windows that are hidden get shown (incorrectly) when their
99 parents are minimized. (#504984)
101 2007-12-22 Christian Persch <chpe@gnome.org>
103 * modules/other/gail/gailcell.c:
104 * modules/other/gail/gailcontainercell.c:
105 * modules/other/gail/gailexpander.c:
106 * modules/other/gail/gailtextcell.c:
107 * modules/other/gail/gailtextview.c:
108 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
110 2007-12-22 Christian Persch <chpe@gnome.org>
112 * modules/other/gail/*.c: Include config.h. Bug #504720.
114 2007-12-22 Christian Persch <chpe@gnome.org>
116 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
117 handwritten get_type functions. Bug #504661.
119 2007-12-23 Xan Lopez <xan@gnome.org>
121 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
122 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
124 Patch by Sadrul Habib Chowdhury (#504804)
126 2007-12-22 Christian Persch <chpe@gnome.org>
128 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
129 #504645, patch by Li Yuan.
131 2007-12-22 Christian Persch <chpe@gnome.org>
133 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
135 2007-12-22 Christian Persch <chpe@gnome.org>
137 * modules/other/gail/gail.c:
138 * modules/other/gail/gailbutton.c:
139 * modules/other/gail/gailcell.c:
140 * modules/other/gail/gailcombo.c:
141 * modules/other/gail/gailcombo.h:
142 * modules/other/gail/gailcombobox.c:
143 * modules/other/gail/gailentry.c:
144 * modules/other/gail/gailexpander.c:
145 * modules/other/gail/gailmenuitem.c:
146 * modules/other/gail/gailnotebook.c:
147 * modules/other/gail/gailnotebookpage.c:
148 * modules/other/gail/gailnotebookpage.h:
149 * modules/other/gail/gailoptionmenu.c:
150 * modules/other/gail/gailrange.c:
151 * modules/other/gail/gailtextview.c:
152 * modules/other/gail/gailtreeview.c:
153 * modules/other/gail/gailtreeview.h:
154 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
157 2007-12-22 Matthias Clasen <mclasen@redhat.com>
159 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
162 2007-12-21 Richard Hult <richard@imendio.com>
164 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
165 Plug leak of destroyed subviews, fixes bug #504753.
167 2007-12-20 Johan Dahlin <johan@gnome.org>
169 * tests/Makefile.am (TEST_PROGS):
170 * tests/defaultvaluetest.c: Add a test for default values,
171 based on program by Christan Perch
173 2007-12-20 Johan Dahlin <johan@gnome.org>
175 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
176 Refactor to avoid some duplication.
177 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
178 Fixes #504749, Yuri Pimenov
180 2007-12-20 Kristian Rietveld <kris@imendio.com>
182 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
183 the build work again on systems without xrandr 1.2.
185 2007-12-20 Christian Persch <chpe@gnome.org>
188 * modules/other/gail/libgail-util/Makefile.am:
189 Keep the same libtool version as the standalone libgail-util had.
192 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
194 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
196 2007-12-20 Alexander Larsson <alexl@redhat.com>
198 * gdk/x11/gdkapplaunchcontext-x11.c:
199 Update for gio API changes
201 2007-12-20 Richard Hult <richard@imendio.com>
203 * gdk/quartz/GdkQuartzWindow.c:
204 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
205 processing events after changing the size.
207 2007-12-20 Richard Hult <richard@imendio.com>
209 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
210 Add stub for quartz to fix build.
212 2007-12-20 Christian Persch <chpe@gnome.org>
214 * modules/other/gail/Makefile.am:
215 * modules/other/gail/gailimage.c: (gail_image_class_init),
216 (gail_image_init), (elide_underscores), (gail_image_get_name),
217 (atk_image_interface_init), (gail_image_finalize):
218 * modules/other/gail/gailimage.h:
219 R modules/other/gail/gailintl.h:
220 * po/POTFILES.skip: Use the stock item's label as the name of the
221 accessible in gailimage.c. Bug #504246.
223 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
225 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
226 are shown within the widget, or jst as tooltip.
228 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
229 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
230 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
233 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
235 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
236 are shown within the widget, or jst as tooltip.
238 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
239 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
240 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
243 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
245 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
246 are shown within the widget, or jst as tooltip.
248 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
249 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
250 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
253 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
255 Try more decent appearance of calendar details separator. (#339540)
257 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
258 and make it short by one pixel on each side.
260 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
262 Try more decent appearance of calendar details separator. (#339540)
264 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
265 and make it short by one pixel on each side.
267 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
269 Try more decent appearance of calendar details separator. (#339540)
271 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
272 and make it short by one pixel on each side.
274 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
276 Try more decent appearance of calendar details separator. (#339540)
278 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
279 and make it short by one pixel on each side.
281 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
283 Try more decent appearance of calendar details separator. (#339540)
285 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
286 and make it short by one pixel on each side.
288 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
290 Restructure testcalendar for testing calendar details. (#339540)
292 * tests/testcalendar.c: Move code arround to test calendar details.
294 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
296 Restructure testcalendar for testing calendar details. (#339540)
298 * tests/testcalendar.c: Move code arround to test calendar details.
300 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
302 Implement GtkTooltip API for calendar details. (#339540)
304 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
306 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
308 Without explicitly set "detail-width-chars" and "detail-height-rows"
309 properties not only the widget has to be redrawn on certain
310 conditions, but also its size must be recalculated. (#339540)
312 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
313 that function instead of gtk_widget_queue_draw.
315 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
317 Without explicitly set "detail-width-chars" and "detail-height-rows"
318 properties not only the widget has to be redrawn on certain
319 conditions, but also its size must be recalculated. (#339540)
321 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
322 that function instead of gtk_widget_queue_draw.
324 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
326 Without explicitly set "detail-width-chars" and "detail-height-rows"
327 properties not only the widget has to be redrawn on certain
328 conditions, but also its size must be recalculated. (#339540)
330 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
331 that function instead of gtk_widget_queue_draw.
333 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
335 Without explicitly set "detail-width-chars" and "detail-height-rows"
336 properties not only the widget has to be redrawn on certain
337 conditions, but also its size must be recalculated. (#339540)
339 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
340 that function instead of gtk_widget_queue_draw.
342 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
344 Consider in size-request and show calender details. (#339540)
346 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
347 is_color_attribute functions. Change gtk_calendar_size_request and
348 calendar_paint_day to consider and show calender details.
350 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
352 Avoid some compiler warnings and remove obsolete code. (#339540)
354 * gtk/gtkcalendar.c: Change week and year variable in
355 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
356 0" block from calendar_paint_day: The feature in question is handled
357 few lines above. Cast data returned by gtk_selection_data_get_text()
358 to (gchar*) in gtk_calendar_drag_data_received.
360 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
362 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
364 2007-12-19 Johan Dahlin <johan@gnome.org>
366 * tests/buildertest.c (test_object_properties):
367 Add another call to gtk_builder_add_string after using
368 delayed properties, as reported in #504393 but already
371 2007-12-18 Christian Persch <chpe@gnome.org>
374 * docs/reference/Makefile.am:
375 * docs/reference/libgail-util/*:
376 * gail-uninstalled.pc.in:
378 * modules/Makefile.am:
379 * modules/other/Makefile.am:
380 * modules/other/gail/*:
381 * modules/other/gail/libgail-util/*:
382 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
384 2007-12-17 Matthias Clasen <mclasen@redhat.com>
386 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
387 * gdk/win32/gdkproperty-win32.c:
388 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
390 * gtk/gtkimmodule.[hc]:
391 * gtk/gtkimmulticontext.[hc]: When determining the default context,
392 look at the gtk-im-module setting, and listen for changes to the
393 setting. (#502446, Akira Tagoh)
395 2007-12-17 Kristian Rietveld <kris@imendio.com>
397 * gtk/gtktooltip.c (gtk_tooltip_finalize),
398 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
399 to NULL as soon as it's destroyed. (#496546, patch from
402 2007-12-17 Kristian Rietveld <kris@imendio.com>
404 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
405 always determine what arrow to show if show_sort_indicator is true.
406 (#352738, Chris Vine).
408 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
410 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
413 * gtk/gtkpaned.c: Call gtk_container_forall instead of
414 gtk_container_foreach in get_child_panes.
416 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
418 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
420 Plug leak: When reordering the info in the list the old node is
421 removed but not freed. (#503569)
423 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
425 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
426 Use u32 instead of __u32 and u8 instead of __u8 as the other types
427 are deprecated since DirectFB 1.0.0. If compiling with an older
428 version define the new type name to the old types. Fixes bug #503190.
430 2007-12-14 Ray Strode <rstrode@redhat.com>
432 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
433 instead of g_signal_connect_after (..., "realize", ...) as an
434 alternative to gtk_widget_realize () (bug 503537).
436 2007-12-14 Michael Natterer <mitch@imendio.com>
439 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
442 * gdk/gdkapplaunchcontext.c
443 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
444 header already includes everything now.
446 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
448 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
449 next stable release shall be 2.16, not 2.14 - even if disagree.
451 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
453 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
455 Change GtkToolItem to retrieve its properties from GtkToolShell
456 interface, instead of relying on being child of a GtkToolbar.
459 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
460 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
461 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
462 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
463 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
464 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
465 Take section docs from template file and update them for GtkToolShell.
466 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
467 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
469 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
471 Extract loading of GtkPageSetup and GtkPrintSettings from their
472 *_new_*() functions and move that code into separate
473 *_load_*() functions (#475565).
475 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
476 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
477 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
478 Change the matching *_new_*() functions to use those functions.
480 2007-12-14 Matthias Clasen <mclasen@redhat.com>
483 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
485 2007-12-14 Kristian Rietveld <kris@imendio.com>
487 * gtk/tests/liststore.c:
488 * gtk/tests/treestore.c: added tests for insertion functions.
490 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
492 * Add RandR 1.2 support
494 - New monitors_changed signal - New API to get width/height of
495 monitors, and the name of the plug
497 2007-12-13 Kristian Rietveld <kris@imendio.com>
499 * gtk/tests/liststore.c:
500 * gtk/tests/treestore.c: test the move and swap functions on a
501 store with only one node.
503 2007-12-13 Kristian Rietveld <kris@imendio.com>
505 * gtk/gtktestutils.c (gtk_test_init): add a call to
508 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
511 2007-12-13 Kristian Rietveld <kris@imendio.com>
513 * gtk/tests/liststore.c:
514 * gtk/tests/treestore.c: start composing tests for the list and tree
517 * gtk/tests/treeview-scrolling.c: added automated tests for
518 GtkTreeView's scrolling "subsystem".
520 * gtk/tests/Makefile.am: updated; added new test programs.
522 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
524 Make the code compile again after the GdkAppLaunchContext changes.
526 * configure.in: Add gio-2.0 to GDK_PACKAGES.
527 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
529 2007-12-12 Matthias Clasen <mclasen@redhat.com>
531 * gdk/gdkapplaunchcontext.c: Add docs
533 2007-12-12 Matthias Clasen <mclasen@redhat.com>
535 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
536 in gdk, providing startup notification. (#503203)
538 * gdk/x11/gdkapplaunchcontext-x11.c:
539 * gdk/win32/gdkapplaunchcontext-win32.c:
540 * gdk/quartz/gdkapplaunchcontext-quartz.c:
541 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
542 parts. All but X11 are just empty stubs for now.
545 * gdk/gdkinternals.h:
547 * gdk/x11/Makefile.am:
548 * gdk/win32/Makefile.am:
549 * gdk/quartz/Makefile.am:
550 * gdk/directfb/Makefile.am: Necessary glue.
552 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
554 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
556 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
558 * gdk/directfb/gdktestutils-directfb.c:
559 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
560 which adds testing functions to the DirectFB backend.
562 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
564 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
565 Ciccani which fixes the mixing of gdk and cairo rendering.
567 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
569 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
570 on "drag-motion" handlers. Clearify documentation for
573 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
575 * buildertest.c: made unnecessarily exported symbols static.
576 switched g_return_if_fail() statements in tests to assertions.
577 special cased currently failing Widget/accesibility test to
578 run only for g_test_thorough(), so it doesn't break make check.
579 some coding style fixes.
581 * Makefile.am: added buildertest to TEST_PROGS.
583 2007-12-11 Stefan Kost <ensonic@users.sf.net>
585 * docs/tutorial/gtk-tut.sgml:
586 Use gtk_widget_get_parent_window() instead of widget->parent->window.
588 2007-12-10 Richard Hult <richard@imendio.com>
590 * gdk/quartz/Makefile.am:
591 * gdk/quartz/gdkquartz.h:
592 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
593 header (bug #405915). Also add a getter for the toplevel nswindow.
595 2007-12-10 Richard Hult <richard@imendio.com>
597 * gdk/quartz/gdkdrawable-quartz.c:
598 (gdk_quartz_drawable_get_context),
599 (gdk_quartz_drawable_release_context):
600 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
601 (gdk_event_check), (gdk_event_dispatch), (poll_func):
602 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
603 used for each drawing context and in prepare, dispatch and poll
604 with one that exists across each main loop iteration. Fixes leaks
605 on leopard and protects against future leaks introduce when the
606 underlying system changes again (bug #492977).
608 2007-12-10 Richard Hult <richard@imendio.com>
610 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
611 Fix the check for no changes to position and size.
613 2007-12-10 Richard Hult <richard@imendio.com>
615 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
616 sized areas at (0, 0), patch from Paul Davis.
618 2007-12-10 Richard Hult <richard@imendio.com>
620 * gdk/quartz/gdkprivate-quartz.h:
621 * gdk/quartz/gdkeventloop-quartz.c:
622 (_gdk_quartz_event_loop_get_pending),
623 (_gdk_quartz_event_loop_check_pending),
624 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
625 (gdk_event_check), (gdk_event_dispatch):
626 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
627 (_gdk_events_queue): Fix a bug where we could end up trying to
628 handle the same event more than once. Based on patch from Paul
631 2007-12-10 Tor Lillqvist <tml@novell.com>
633 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
636 2007-12-10 Matthias Clasen <mclasen@redhat.com>
638 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
639 to avoid further fallout from the fix for bug 388321.
641 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
643 * gdk/directfb/gdkgc-directfb.c:
644 * gdk/directfb/gdkdrawable-directfb.c:
645 * gdk/directfb/gdkdirectfb.h:
646 * gdk/directfb/gdkwindow-directfb.c:
647 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
648 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
649 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
650 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
651 which are expected to improve the performance of the DirectFB backend.
652 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
654 2007-12-07 Matthias Clasen <mclasen@redhat.com>
656 * gtk/gtkcontainer.c: Correct the documentation of child
657 property getter arguments. (#501992, David Brigada)
659 2007-12-07 Matthias Clasen <mclasen@redhat.com>
661 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
662 leak pixbufs. (#502250, Yevgen Muntyan)
664 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
666 * gtk/gtkprintunixdialog.c:
667 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
668 Print and Page Setup dialogs (#502202).
670 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
672 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
673 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
674 of XVFB_START, since it's the GTESTER invokation that needs this.
676 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
678 * gdk-pixbuf/gdk-pixbuf.symbols:
680 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
681 positives in abicheck.sh
683 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
685 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
686 GDK events generations in the DirectFB backend.
688 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
690 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
691 set of likely unused display ids, because MacOS has no seq(1) command.
693 2007-12-06 Richard Hult <richard@imendio.com>
695 * gdk/quartz/gdkevents-quartz.c:
696 (synthesize_crossing_events_for_ns_event): Fix warning when
697 switching spaces in leopard.
699 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
701 * tests/floatingtest.c: ported to new testing framework.
703 * tests/Makefile.am: run floatingtest as testing framework test.
705 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
707 * tests/autotestfilechooser.c: majorly speed up execution by reducing
708 timeouts and converting main loop sleeps to pending/iterate loops with
709 very low priority async handlers. eliminate output for non-verbose
710 tests. assert successfull subtests in all test functions. use testing
713 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
714 executed inside Xvfb upon make check.
716 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
718 * tests/objecttests.c: use string comparisons for string property
719 values and get rid of referencing symbols in array initialization.
721 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
723 * gtk+/Makefile.decl: run tests in current dir after setting up the
724 logging directory, so their results get properly merged into the
727 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
728 tests to loop over registered Gdk/Gtk+ types.
730 * gtk+/tests/objecttests.c: new test program, implements automated
731 property tests. several properties are blacklisted because they
732 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
733 can be used to test blacklisted properties and see which proprty failed.
735 2007-12-04 Richard Hult <richard@imendio.com>
737 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
738 Fully initialize the root window, fixes bug #501583.
740 2007-12-04 Matthias Clasen <mclasen@redhat.com>
742 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
745 2007-12-03 Richard Hult <richard@imendio.com>
747 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
748 Don't crash when dragging from a source that doesn't support uri
749 lists (bug #499868, Paul Davis).
751 2007-12-03 Richard Hult <richard@imendio.com>
753 * gdk/quartz/gdkwindow-quartz.c:
754 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
755 parent relative bg pixmap is set, and no parent has a bg
756 pixmap. Fixes bug #500804.
758 2007-12-03 Matthias Clasen <mclasen@redhat.com>
760 Two optimizations for icon cache lookups.
762 * gtk/gtkiconcache.[hc]:
763 * gtk/gtkicontheme.c: Remember the directory index for
764 subdirectories, instead of running over the directory list
767 * gtk/gtkiconcache.c (find_image_offset): Remember the last
768 chain and try it first; this helps with the the usage patterns
769 in gtkicontheme.c, where the same icon is queried for a lot
772 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
774 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
775 functions from header files. this should be portable across linux and
776 Mac OS, unlike the previpous sed expression.
778 2007-12-1 Cody Russell <bratsche@gnome.org>
780 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
781 On Windows, queue a redraw of child2 whenever we set
782 the pane handle position. This is unfortunately kind
783 of hacky, but solves the visual artifacts that were
784 occuring on at least certain types of child widgets
785 (e.g., text views and tree views) that are inside
786 horizontal or vertical panes. (#144269)
788 2007-11-30 Matthias Clasen <mclasen@redhat.com>
790 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
792 2007-11-29 Matthias Clasen <mclasen@redhat.com>
794 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
797 2007-11-29 Matthias Clasen <mclasen@redhat.com>
799 * gtk/Makefile.am: Fix ordering of subdirs.
801 2007-11-28 Tor Lillqvist <tml@novell.com>
803 A proper build of GNU libintl is supposed to export the variable
804 _nl_msg_cat_cntr. configure looks for that variable in order to
805 recognize GNU gettext. If it sees that it is indeed GNU gettext
806 that is used, it decides to install message catalogs in
807 share/locale, otherwise in lib/locale. Until now on Windows I have
808 built GTK+ against a build of GNU gettext that did not export
809 _nl_msg_cat_cntr. But this will change, so we can't assume message
810 catalogs are always in lib/locale.
812 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
813 GTK_LOCALEDIR being either in "lib" or "share". Move the function
814 before the inclusion of gtkprivate.h so that it sees the original
817 * gtk-zip.sh.in: Check whether the message catalogs are in
818 share/locale or lib/locale.
820 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
821 that the code in _gtk_get_localedir() will find the slashes.
823 2007-11-28 Tor Lillqvist <tml@novell.com>
825 * gtk/Makefile.am: Improve portability. The -o option is present
826 only in newish GNU egreps. Use one more sed in the pipeline
829 2007-11-28 Tor Lillqvist <tml@novell.com>
831 Fix #375893, patch by Ben Hague:
833 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
834 around GetLogicalDrives() that takes also the viewable drive
835 restrictions in the Registry (which are usually the result of an
836 Active Directory Group Policy) into account.
838 (check_volumes, gtk_file_system_win32_list_volumes) Call
839 get_viewable_logical_drives() instead of GetLogicalDrives().
841 2007-11-27 Matthias Clasen <mclasen@redhat.com>
843 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
844 variables to silence valgrind. (#495124, Morten Welinder)
846 2006-11-26 Ryan Lortie <desrt@desrt.ca>
848 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
849 that the construct_child function is responsible for returning a
851 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
852 objects from constructors
853 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
854 g_object_ref() to this construction function (it's the only
859 2006-11-26 Ryan Lortie <desrt@desrt.ca>
861 * gtkbuilder.c: remove concept of root objects and just refcount
862 all objects in the builder. Fixes #496651.
864 2007-11-26 Ryan Lortie <desrt@desrt.ca>
866 * tests/buildertest.c (test_window): fix invalid free
868 2007-11-26 Josselin Mouette <joss@malsain.org>
870 reviewed by: Federico Mena Quintero
872 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
873 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
874 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
875 Make the shortcuts activate with a single click. (#148828)
876 Fix a few things affected by the change:
877 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
878 where no shortcut is selected.
879 - Don't activate a shortcut in the response callback.
880 - Filter out duplicate entries in volumes and bookmarks to
881 avoid the selection to change when reordering them with DnD.
883 2007-11-26 Matthias Clasen <mclasen@redhat.com>
887 * gtk/gtkplugprivate.h:
889 * gtk/gtksocketprivate.h:
890 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
892 2007-11-26 Matthias Clasen <mclasen@redhat.com>
894 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
895 (#495574, Richard Hult)
897 2007-11-26 Matthias Clasen <mclasen@redhat.com>
899 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
900 String change ! (#376361, Sven Neumann)
902 2007-11-26 Matthias Clasen <mclasen@redhat.com>
904 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
906 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
909 2007-11-26 Matthias Clasen <mclasen@redhat.com>
911 * gtk/gtkassistant.c: Improve alternative button
912 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
914 2007-11-26 Matthias Clasen <mclasen@redhat.com>
916 * gtk/gtkcalendar.c: Fix a theming problem with colors
917 in GtkCalendar. (#499703, Michael Hofmann)
919 2007-11-26 Matthias Clasen <mclasen@redhat.com>
921 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
923 2007-11-26 Matthias Clasen <mclasen@redhat.com>
925 Use templates for glib-mkenums calls instead of
926 complicated commandlines in Makefiles. (#429910)
928 * gdk-pixbuf/Makefile.am:
931 * perf/Makefile.am: Use templates for glib-mkenums
933 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
934 * gdk/gdkenumtypes.[ch].template:
935 * gtk/gtktypebuiltings.[ch].template:
936 * perf/typebuiltins.[ch].template: The templates
938 2007-11-26 Matthias Clasen <mclasen@redhat.com>
940 * gtk/gtkfilechooserbutton.c:
941 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
942 some compilers choke on that. (#467722)
944 2007-11-26 Matthias Clasen <mclasen@redhat.com>
946 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
947 about hook setup. (#425004, Emmanuele Bassi)
949 2007-11-26 Tor Lillqvist <tml@novell.com>
951 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
952 monitor the window currently is on, not always the primary
953 monitor. (#463865, Tim Evans)
955 2007-11-26 Tor Lillqvist <tml@novell.com>
957 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
959 * gdk/win32/Makefile.am: Add it.
961 2007-11-26 Tor Lillqvist <tml@novell.com>
963 * configure.in: Don't add jasper to all_loaders if no libjasper.
965 2007-11-25 Bastien Nocera <hadess@hadess.net>
967 * configure.in: Add detection for libjasper, used by the
968 gdk-pixbuf JPEG2000 loader
970 2007-11-25 Matthias Clasen <mclasen@redhat.com>
972 * configure.in: Require gtk-doc 1.8
974 * */*.c: Use gtk-doc abbreviations for examples in docs.
976 2007-11-25 Matthias Clasen <mclasen@redhat.com>
978 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
981 2007-11-25 Matthias Clasen <mclasen@redhat.com>
983 * gtk/gtkdialog.c: Move signal and property documentation inline,
984 fix a problem with the ::response signal docs. (#499133, Josselin
987 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
989 * Makefile.decl: initialize automake variables EXTRA_DIST and
990 TEST_PROGS for unconditional appending via += in other makefiles.
991 define recursive test targets: test, test-report, perf-report,
992 full-report, as described here:
993 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
994 the test targets will execute Gtk+ test programs within an Xvfb session.
996 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
998 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
999 g_test_run() to run the tests to integrate with the testing framework.
1001 * gtk/tests/Makefile.am: removed exemplary testing rules.
1003 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
1004 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
1005 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
1006 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
1007 * docs/reference/Makefile.am, docs/tools/Makefile.am:
1008 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
1009 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
1010 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
1011 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
1012 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
1013 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
1014 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
1015 * modules/engines/ms-windows/Theme/Makefile.am:
1016 * modules/engines/ms-windows/Makefile.am:
1017 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
1018 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
1019 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
1020 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
1021 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
1022 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
1023 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
1025 2007-11-22 Matthias Clasen <mclasen@redhat.com>
1027 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
1028 (#485662, patch by Herbert Valerio Riedel)
1030 2007-11-22 Matthias Clasen <mclasen@redhat.com>
1032 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
1034 2007-11-21 Richard Hult <richard@imendio.com>
1036 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
1037 stubs for the testing functions to fix the build.
1039 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1041 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
1042 (#467711, The Written Word)
1044 2007-11-21 Ross Burton <ross@openedhand.com>
1046 * gdk/x11/gdksettings.c:
1047 Add xsetting for gtk-scrolled-window-placement (#458103).
1049 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1051 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
1052 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
1053 (#469239, Michael Natterer)
1055 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1057 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
1058 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
1059 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
1060 (#436536, Tommi Komulainen)
1062 2007-11-21 Matthias Clasen <mclasen@redhat.com>
1064 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
1065 property. (#489782, Jan Janech)
1067 2007-11-20 Matthias Clasen <mclasen@redhat.com>
1069 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
1070 frames. (#107398, Owen Taylor, Miguel Gomez)
1072 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
1074 Moved Gdk test functions from Gtk+ to Gdk test utils.
1076 * gdk/Makefile.am: added gdktestutils.h to public includes.
1078 * gdk/gdk.h: added gdktestutils.h to public includes.
1080 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
1081 gdk_test_render_sync.
1083 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
1084 gdk_test_simulate_key, gdk_test_render_sync.
1086 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
1088 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
1089 gdk_test_simulate_key, gdk_test_render_sync.
1091 * gtk/gtktestutils.c:
1092 * gtk/gtktestutils.h:
1093 * gtk/gtk.symbols: removed gtk_test_simulate_button
1094 gtk_test_simulate_key, gtk_test_xserver_render_sync.
1096 * gtk/tests/testing.c: call gdk_test_render_sync.
1098 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
1100 Added unit tests for Gtk+ testing utilities.
1102 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
1103 utility functions. some g_test_* related portions are disabled and need
1104 to be enabled once Gtk+ depends on a new glib with the GLib testing
1105 framework integrated.
1107 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
1108 added exemplary test rules to run tests inside Xvfb. this needs to depend
1109 on gtester for full fledged testing.
1111 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
1112 collecting _get_type functions to catch e.g. gtk_text_get_type().
1114 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
1116 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
1118 Added Gtk+ testing utilities.
1120 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
1121 for the most part, the functions herein involve navigating and interacting
1122 with dialog elements programatically, to automate user interaction tests of
1123 dialogs and widgets.
1125 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
1127 * gtk/gtk.symbols: added gtk_test_* symbols.
1129 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
1130 generate gtktypefuncs.c which contains a list of all _get_type functions in
1132 2007-11-20 Bastien Nocera <hadess@hadess.net>
1134 * configure.in: add support for conditional icns gdk-pixbuf loader
1137 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
1139 * configure.in: updated version number to 2.15.0 for development.
1141 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
1143 === Branch for 2.12 ===