1 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3 * gtk/gtkcombobox.c: Introduce local priv variables to
6 2007-12-27 Matthias Clasen <mclasen@redhat.com>
8 * gtk/gtkcombobox.c: Correct the default value for the
9 tearoff-title property.
11 * gtk/gtkcellrenderertext.c: Fix the default value for the
12 wrap-mode and font-scale properties.
14 * gtk/gtkaspectratio.c: Fix the default value for the ratio
17 2007-12-27 Matthias Clasen <mclasen@redhat.com>
19 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
20 defines. (#505708, MINAMI Hirokazu)
22 2007-12-27 Christian Persch <chpe@gnome.org>
24 * Makefile.am: Install gail.pc. Bug #505859.
26 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
28 Consider details for size-request and expose-event. (#339540)
30 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
31 is_color_attribute functions. Change gtk_calendar_size_request and
32 calendar_paint_day to consider and show calender details.
34 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
36 Add infrastructure for GtkCalendar details. (#339540)
38 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
39 Add "detail-width-chars" and "detail-height-rows" properties,
40 and gtk_calendar_set_detail_func function.
42 2007-12-27 Xan Lopez <xan@gnome.org>
45 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
47 Add gtk_border_new to avoid memory allocator confusions when using
48 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
50 2007-12-27 Christian Persch <chpe@gnome.org>
52 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
53 bug #504886 not to read unitialised memory.
55 2007-12-26 Xan Lopez <xan@gnome.org>
57 * gtk/gtkstatusbar.c (has_extra_children): take into account the
58 modification of the internal frame contents to decide if we have
59 extra children. (#415677)
61 2007-12-22 Christian Persch <chpe@gnome.org>
63 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
65 2007-12-25 Christian Persch <chpe@gnome.org>
67 * modules/other/gail/gailwindow.c: (gail_window_initialize):
68 Initialise |widget|. Fixes a buglet introduced by the commit from bug
71 2007-12-25 Christian Persch <chpe@gnome.org>
73 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
75 2007-12-25 Christian Persch <chpe@gnome.org>
77 * modules/other/gail/*.[ch]: Remove relocations from the atk
78 factories. Remove unused gail_foo_new() functions. Fix object
79 instantiation to be derivation safe by moving initialisation code
80 from the removed gail_foo_new() functions to the
81 AtkObjectClass::initialize implementation. Bug #505226.
83 2007-12-24 Matthias Clasen <mclasen@redhat.com>
85 * modules/other/gail/gailentry.c:
86 * modules/other/gail/gailimage.c:
87 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
88 uses of clipboards and settings. (#504722, Christian Persch)
90 2007-12-24 Matthias Clasen <mclasen@redhat.com>
92 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
95 2007-12-24 Matthias Clasen <mclasen@redhat.com>
97 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
98 use the time and button information from the event. (#504901,
101 2007-12-23 Cody Russell <bratsche@gnome.org>
103 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
104 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
105 Fixes a regression caused by #164537 patch where transient
106 windows that are hidden get shown (incorrectly) when their
107 parents are minimized. (#504984)
109 2007-12-22 Christian Persch <chpe@gnome.org>
111 * modules/other/gail/gailcell.c:
112 * modules/other/gail/gailcontainercell.c:
113 * modules/other/gail/gailexpander.c:
114 * modules/other/gail/gailtextcell.c:
115 * modules/other/gail/gailtextview.c:
116 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
118 2007-12-22 Christian Persch <chpe@gnome.org>
120 * modules/other/gail/*.c: Include config.h. Bug #504720.
122 2007-12-22 Christian Persch <chpe@gnome.org>
124 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
125 handwritten get_type functions. Bug #504661.
127 2007-12-23 Xan Lopez <xan@gnome.org>
129 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
130 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
132 Patch by Sadrul Habib Chowdhury (#504804)
134 2007-12-22 Christian Persch <chpe@gnome.org>
136 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
137 #504645, patch by Li Yuan.
139 2007-12-22 Christian Persch <chpe@gnome.org>
141 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
143 2007-12-22 Christian Persch <chpe@gnome.org>
145 * modules/other/gail/gail.c:
146 * modules/other/gail/gailbutton.c:
147 * modules/other/gail/gailcell.c:
148 * modules/other/gail/gailcombo.c:
149 * modules/other/gail/gailcombo.h:
150 * modules/other/gail/gailcombobox.c:
151 * modules/other/gail/gailentry.c:
152 * modules/other/gail/gailexpander.c:
153 * modules/other/gail/gailmenuitem.c:
154 * modules/other/gail/gailnotebook.c:
155 * modules/other/gail/gailnotebookpage.c:
156 * modules/other/gail/gailnotebookpage.h:
157 * modules/other/gail/gailoptionmenu.c:
158 * modules/other/gail/gailrange.c:
159 * modules/other/gail/gailtextview.c:
160 * modules/other/gail/gailtreeview.c:
161 * modules/other/gail/gailtreeview.h:
162 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
165 2007-12-22 Matthias Clasen <mclasen@redhat.com>
167 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
170 2007-12-21 Richard Hult <richard@imendio.com>
172 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
173 Plug leak of destroyed subviews, fixes bug #504753.
175 2007-12-20 Johan Dahlin <johan@gnome.org>
177 * tests/Makefile.am (TEST_PROGS):
178 * tests/defaultvaluetest.c: Add a test for default values,
179 based on program by Christan Perch
181 2007-12-20 Johan Dahlin <johan@gnome.org>
183 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
184 Refactor to avoid some duplication.
185 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
186 Fixes #504749, Yuri Pimenov
188 2007-12-20 Kristian Rietveld <kris@imendio.com>
190 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
191 the build work again on systems without xrandr 1.2.
193 2007-12-20 Christian Persch <chpe@gnome.org>
196 * modules/other/gail/libgail-util/Makefile.am:
197 Keep the same libtool version as the standalone libgail-util had.
200 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
202 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
204 2007-12-20 Alexander Larsson <alexl@redhat.com>
206 * gdk/x11/gdkapplaunchcontext-x11.c:
207 Update for gio API changes
209 2007-12-20 Richard Hult <richard@imendio.com>
211 * gdk/quartz/GdkQuartzWindow.c:
212 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
213 processing events after changing the size.
215 2007-12-20 Richard Hult <richard@imendio.com>
217 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
218 Add stub for quartz to fix build.
220 2007-12-20 Christian Persch <chpe@gnome.org>
222 * modules/other/gail/Makefile.am:
223 * modules/other/gail/gailimage.c: (gail_image_class_init),
224 (gail_image_init), (elide_underscores), (gail_image_get_name),
225 (atk_image_interface_init), (gail_image_finalize):
226 * modules/other/gail/gailimage.h:
227 R modules/other/gail/gailintl.h:
228 * po/POTFILES.skip: Use the stock item's label as the name of the
229 accessible in gailimage.c. Bug #504246.
231 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
233 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
234 are shown within the widget, or jst as tooltip.
236 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
237 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
238 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
241 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
243 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
244 are shown within the widget, or jst as tooltip.
246 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
247 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
248 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
251 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
253 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
254 are shown within the widget, or jst as tooltip.
256 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
257 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
258 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
261 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
263 Try more decent appearance of calendar details separator. (#339540)
265 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
266 and make it short by one pixel on each side.
268 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
270 Try more decent appearance of calendar details separator. (#339540)
272 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
273 and make it short by one pixel on each side.
275 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
277 Try more decent appearance of calendar details separator. (#339540)
279 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
280 and make it short by one pixel on each side.
282 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
284 Try more decent appearance of calendar details separator. (#339540)
286 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
287 and make it short by one pixel on each side.
289 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
291 Try more decent appearance of calendar details separator. (#339540)
293 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
294 and make it short by one pixel on each side.
296 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
298 Restructure testcalendar for testing calendar details. (#339540)
300 * tests/testcalendar.c: Move code arround to test calendar details.
302 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
304 Restructure testcalendar for testing calendar details. (#339540)
306 * tests/testcalendar.c: Move code arround to test calendar details.
308 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
310 Implement GtkTooltip API for calendar details. (#339540)
312 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
314 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
316 Without explicitly set "detail-width-chars" and "detail-height-rows"
317 properties not only the widget has to be redrawn on certain
318 conditions, but also its size must be recalculated. (#339540)
320 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
321 that function instead of gtk_widget_queue_draw.
323 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
325 Without explicitly set "detail-width-chars" and "detail-height-rows"
326 properties not only the widget has to be redrawn on certain
327 conditions, but also its size must be recalculated. (#339540)
329 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
330 that function instead of gtk_widget_queue_draw.
332 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
334 Without explicitly set "detail-width-chars" and "detail-height-rows"
335 properties not only the widget has to be redrawn on certain
336 conditions, but also its size must be recalculated. (#339540)
338 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
339 that function instead of gtk_widget_queue_draw.
341 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
343 Without explicitly set "detail-width-chars" and "detail-height-rows"
344 properties not only the widget has to be redrawn on certain
345 conditions, but also its size must be recalculated. (#339540)
347 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
348 that function instead of gtk_widget_queue_draw.
350 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
352 Consider in size-request and show calender details. (#339540)
354 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
355 is_color_attribute functions. Change gtk_calendar_size_request and
356 calendar_paint_day to consider and show calender details.
358 2007-12-17 Mathias Hasselmann <mathias@openismus.com>
360 Avoid some compiler warnings and remove obsolete code. (#339540)
362 * gtk/gtkcalendar.c: Change week and year variable in
363 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
364 0" block from calendar_paint_day: The feature in question is handled
365 few lines above. Cast data returned by gtk_selection_data_get_text()
366 to (gchar*) in gtk_calendar_drag_data_received.
368 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
370 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
372 2007-12-19 Johan Dahlin <johan@gnome.org>
374 * tests/buildertest.c (test_object_properties):
375 Add another call to gtk_builder_add_string after using
376 delayed properties, as reported in #504393 but already
379 2007-12-18 Christian Persch <chpe@gnome.org>
382 * docs/reference/Makefile.am:
383 * docs/reference/libgail-util/*:
384 * gail-uninstalled.pc.in:
386 * modules/Makefile.am:
387 * modules/other/Makefile.am:
388 * modules/other/gail/*:
389 * modules/other/gail/libgail-util/*:
390 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
392 2007-12-17 Matthias Clasen <mclasen@redhat.com>
394 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
395 * gdk/win32/gdkproperty-win32.c:
396 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
398 * gtk/gtkimmodule.[hc]:
399 * gtk/gtkimmulticontext.[hc]: When determining the default context,
400 look at the gtk-im-module setting, and listen for changes to the
401 setting. (#502446, Akira Tagoh)
403 2007-12-17 Kristian Rietveld <kris@imendio.com>
405 * gtk/gtktooltip.c (gtk_tooltip_finalize),
406 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
407 to NULL as soon as it's destroyed. (#496546, patch from
410 2007-12-17 Kristian Rietveld <kris@imendio.com>
412 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
413 always determine what arrow to show if show_sort_indicator is true.
414 (#352738, Chris Vine).
416 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
418 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
421 * gtk/gtkpaned.c: Call gtk_container_forall instead of
422 gtk_container_foreach in get_child_panes.
424 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
426 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
428 Plug leak: When reordering the info in the list the old node is
429 removed but not freed. (#503569)
431 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
433 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
434 Use u32 instead of __u32 and u8 instead of __u8 as the other types
435 are deprecated since DirectFB 1.0.0. If compiling with an older
436 version define the new type name to the old types. Fixes bug #503190.
438 2007-12-14 Ray Strode <rstrode@redhat.com>
440 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
441 instead of g_signal_connect_after (..., "realize", ...) as an
442 alternative to gtk_widget_realize () (bug 503537).
444 2007-12-14 Michael Natterer <mitch@imendio.com>
447 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
450 * gdk/gdkapplaunchcontext.c
451 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
452 header already includes everything now.
454 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
456 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
457 next stable release shall be 2.16, not 2.14 - even if disagree.
459 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
461 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
463 Change GtkToolItem to retrieve its properties from GtkToolShell
464 interface, instead of relying on being child of a GtkToolbar.
467 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
468 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
469 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
470 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
471 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
472 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
473 Take section docs from template file and update them for GtkToolShell.
474 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
475 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
477 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
479 Extract loading of GtkPageSetup and GtkPrintSettings from their
480 *_new_*() functions and move that code into separate
481 *_load_*() functions (#475565).
483 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
484 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
485 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
486 Change the matching *_new_*() functions to use those functions.
488 2007-12-14 Matthias Clasen <mclasen@redhat.com>
491 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
493 2007-12-14 Kristian Rietveld <kris@imendio.com>
495 * gtk/tests/liststore.c:
496 * gtk/tests/treestore.c: added tests for insertion functions.
498 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
500 * Add RandR 1.2 support
502 - New monitors_changed signal - New API to get width/height of
503 monitors, and the name of the plug
505 2007-12-13 Kristian Rietveld <kris@imendio.com>
507 * gtk/tests/liststore.c:
508 * gtk/tests/treestore.c: test the move and swap functions on a
509 store with only one node.
511 2007-12-13 Kristian Rietveld <kris@imendio.com>
513 * gtk/gtktestutils.c (gtk_test_init): add a call to
516 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
519 2007-12-13 Kristian Rietveld <kris@imendio.com>
521 * gtk/tests/liststore.c:
522 * gtk/tests/treestore.c: start composing tests for the list and tree
525 * gtk/tests/treeview-scrolling.c: added automated tests for
526 GtkTreeView's scrolling "subsystem".
528 * gtk/tests/Makefile.am: updated; added new test programs.
530 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
532 Make the code compile again after the GdkAppLaunchContext changes.
534 * configure.in: Add gio-2.0 to GDK_PACKAGES.
535 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
537 2007-12-12 Matthias Clasen <mclasen@redhat.com>
539 * gdk/gdkapplaunchcontext.c: Add docs
541 2007-12-12 Matthias Clasen <mclasen@redhat.com>
543 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
544 in gdk, providing startup notification. (#503203)
546 * gdk/x11/gdkapplaunchcontext-x11.c:
547 * gdk/win32/gdkapplaunchcontext-win32.c:
548 * gdk/quartz/gdkapplaunchcontext-quartz.c:
549 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
550 parts. All but X11 are just empty stubs for now.
553 * gdk/gdkinternals.h:
555 * gdk/x11/Makefile.am:
556 * gdk/win32/Makefile.am:
557 * gdk/quartz/Makefile.am:
558 * gdk/directfb/Makefile.am: Necessary glue.
560 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
562 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
564 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
566 * gdk/directfb/gdktestutils-directfb.c:
567 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
568 which adds testing functions to the DirectFB backend.
570 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
572 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
573 Ciccani which fixes the mixing of gdk and cairo rendering.
575 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
577 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
578 on "drag-motion" handlers. Clearify documentation for
581 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
583 * buildertest.c: made unnecessarily exported symbols static.
584 switched g_return_if_fail() statements in tests to assertions.
585 special cased currently failing Widget/accesibility test to
586 run only for g_test_thorough(), so it doesn't break make check.
587 some coding style fixes.
589 * Makefile.am: added buildertest to TEST_PROGS.
591 2007-12-11 Stefan Kost <ensonic@users.sf.net>
593 * docs/tutorial/gtk-tut.sgml:
594 Use gtk_widget_get_parent_window() instead of widget->parent->window.
596 2007-12-10 Richard Hult <richard@imendio.com>
598 * gdk/quartz/Makefile.am:
599 * gdk/quartz/gdkquartz.h:
600 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
601 header (bug #405915). Also add a getter for the toplevel nswindow.
603 2007-12-10 Richard Hult <richard@imendio.com>
605 * gdk/quartz/gdkdrawable-quartz.c:
606 (gdk_quartz_drawable_get_context),
607 (gdk_quartz_drawable_release_context):
608 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
609 (gdk_event_check), (gdk_event_dispatch), (poll_func):
610 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
611 used for each drawing context and in prepare, dispatch and poll
612 with one that exists across each main loop iteration. Fixes leaks
613 on leopard and protects against future leaks introduce when the
614 underlying system changes again (bug #492977).
616 2007-12-10 Richard Hult <richard@imendio.com>
618 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
619 Fix the check for no changes to position and size.
621 2007-12-10 Richard Hult <richard@imendio.com>
623 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
624 sized areas at (0, 0), patch from Paul Davis.
626 2007-12-10 Richard Hult <richard@imendio.com>
628 * gdk/quartz/gdkprivate-quartz.h:
629 * gdk/quartz/gdkeventloop-quartz.c:
630 (_gdk_quartz_event_loop_get_pending),
631 (_gdk_quartz_event_loop_check_pending),
632 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
633 (gdk_event_check), (gdk_event_dispatch):
634 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
635 (_gdk_events_queue): Fix a bug where we could end up trying to
636 handle the same event more than once. Based on patch from Paul
639 2007-12-10 Tor Lillqvist <tml@novell.com>
641 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
644 2007-12-10 Matthias Clasen <mclasen@redhat.com>
646 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
647 to avoid further fallout from the fix for bug 388321.
649 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
651 * gdk/directfb/gdkgc-directfb.c:
652 * gdk/directfb/gdkdrawable-directfb.c:
653 * gdk/directfb/gdkdirectfb.h:
654 * gdk/directfb/gdkwindow-directfb.c:
655 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
656 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
657 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
658 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
659 which are expected to improve the performance of the DirectFB backend.
660 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
662 2007-12-07 Matthias Clasen <mclasen@redhat.com>
664 * gtk/gtkcontainer.c: Correct the documentation of child
665 property getter arguments. (#501992, David Brigada)
667 2007-12-07 Matthias Clasen <mclasen@redhat.com>
669 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
670 leak pixbufs. (#502250, Yevgen Muntyan)
672 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
674 * gtk/gtkprintunixdialog.c:
675 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
676 Print and Page Setup dialogs (#502202).
678 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
680 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
681 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
682 of XVFB_START, since it's the GTESTER invokation that needs this.
684 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
686 * gdk-pixbuf/gdk-pixbuf.symbols:
688 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
689 positives in abicheck.sh
691 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
693 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
694 GDK events generations in the DirectFB backend.
696 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
698 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
699 set of likely unused display ids, because MacOS has no seq(1) command.
701 2007-12-06 Richard Hult <richard@imendio.com>
703 * gdk/quartz/gdkevents-quartz.c:
704 (synthesize_crossing_events_for_ns_event): Fix warning when
705 switching spaces in leopard.
707 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
709 * tests/floatingtest.c: ported to new testing framework.
711 * tests/Makefile.am: run floatingtest as testing framework test.
713 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
715 * tests/autotestfilechooser.c: majorly speed up execution by reducing
716 timeouts and converting main loop sleeps to pending/iterate loops with
717 very low priority async handlers. eliminate output for non-verbose
718 tests. assert successfull subtests in all test functions. use testing
721 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
722 executed inside Xvfb upon make check.
724 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
726 * tests/objecttests.c: use string comparisons for string property
727 values and get rid of referencing symbols in array initialization.
729 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
731 * gtk+/Makefile.decl: run tests in current dir after setting up the
732 logging directory, so their results get properly merged into the
735 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
736 tests to loop over registered Gdk/Gtk+ types.
738 * gtk+/tests/objecttests.c: new test program, implements automated
739 property tests. several properties are blacklisted because they
740 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
741 can be used to test blacklisted properties and see which proprty failed.
743 2007-12-04 Richard Hult <richard@imendio.com>
745 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
746 Fully initialize the root window, fixes bug #501583.
748 2007-12-04 Matthias Clasen <mclasen@redhat.com>
750 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
753 2007-12-03 Richard Hult <richard@imendio.com>
755 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
756 Don't crash when dragging from a source that doesn't support uri
757 lists (bug #499868, Paul Davis).
759 2007-12-03 Richard Hult <richard@imendio.com>
761 * gdk/quartz/gdkwindow-quartz.c:
762 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
763 parent relative bg pixmap is set, and no parent has a bg
764 pixmap. Fixes bug #500804.
766 2007-12-03 Matthias Clasen <mclasen@redhat.com>
768 Two optimizations for icon cache lookups.
770 * gtk/gtkiconcache.[hc]:
771 * gtk/gtkicontheme.c: Remember the directory index for
772 subdirectories, instead of running over the directory list
775 * gtk/gtkiconcache.c (find_image_offset): Remember the last
776 chain and try it first; this helps with the the usage patterns
777 in gtkicontheme.c, where the same icon is queried for a lot
780 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
782 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
783 functions from header files. this should be portable across linux and
784 Mac OS, unlike the previpous sed expression.
786 2007-12-1 Cody Russell <bratsche@gnome.org>
788 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
789 On Windows, queue a redraw of child2 whenever we set
790 the pane handle position. This is unfortunately kind
791 of hacky, but solves the visual artifacts that were
792 occuring on at least certain types of child widgets
793 (e.g., text views and tree views) that are inside
794 horizontal or vertical panes. (#144269)
796 2007-11-30 Matthias Clasen <mclasen@redhat.com>
798 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
800 2007-11-29 Matthias Clasen <mclasen@redhat.com>
802 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
805 2007-11-29 Matthias Clasen <mclasen@redhat.com>
807 * gtk/Makefile.am: Fix ordering of subdirs.
809 2007-11-28 Tor Lillqvist <tml@novell.com>
811 A proper build of GNU libintl is supposed to export the variable
812 _nl_msg_cat_cntr. configure looks for that variable in order to
813 recognize GNU gettext. If it sees that it is indeed GNU gettext
814 that is used, it decides to install message catalogs in
815 share/locale, otherwise in lib/locale. Until now on Windows I have
816 built GTK+ against a build of GNU gettext that did not export
817 _nl_msg_cat_cntr. But this will change, so we can't assume message
818 catalogs are always in lib/locale.
820 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
821 GTK_LOCALEDIR being either in "lib" or "share". Move the function
822 before the inclusion of gtkprivate.h so that it sees the original
825 * gtk-zip.sh.in: Check whether the message catalogs are in
826 share/locale or lib/locale.
828 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
829 that the code in _gtk_get_localedir() will find the slashes.
831 2007-11-28 Tor Lillqvist <tml@novell.com>
833 * gtk/Makefile.am: Improve portability. The -o option is present
834 only in newish GNU egreps. Use one more sed in the pipeline
837 2007-11-28 Tor Lillqvist <tml@novell.com>
839 Fix #375893, patch by Ben Hague:
841 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
842 around GetLogicalDrives() that takes also the viewable drive
843 restrictions in the Registry (which are usually the result of an
844 Active Directory Group Policy) into account.
846 (check_volumes, gtk_file_system_win32_list_volumes) Call
847 get_viewable_logical_drives() instead of GetLogicalDrives().
849 2007-11-27 Matthias Clasen <mclasen@redhat.com>
851 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
852 variables to silence valgrind. (#495124, Morten Welinder)
854 2006-11-26 Ryan Lortie <desrt@desrt.ca>
856 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
857 that the construct_child function is responsible for returning a
859 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
860 objects from constructors
861 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
862 g_object_ref() to this construction function (it's the only
867 2006-11-26 Ryan Lortie <desrt@desrt.ca>
869 * gtkbuilder.c: remove concept of root objects and just refcount
870 all objects in the builder. Fixes #496651.
872 2007-11-26 Ryan Lortie <desrt@desrt.ca>
874 * tests/buildertest.c (test_window): fix invalid free
876 2007-11-26 Josselin Mouette <joss@malsain.org>
878 reviewed by: Federico Mena Quintero
880 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
881 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
882 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
883 Make the shortcuts activate with a single click. (#148828)
884 Fix a few things affected by the change:
885 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
886 where no shortcut is selected.
887 - Don't activate a shortcut in the response callback.
888 - Filter out duplicate entries in volumes and bookmarks to
889 avoid the selection to change when reordering them with DnD.
891 2007-11-26 Matthias Clasen <mclasen@redhat.com>
895 * gtk/gtkplugprivate.h:
897 * gtk/gtksocketprivate.h:
898 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
900 2007-11-26 Matthias Clasen <mclasen@redhat.com>
902 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
903 (#495574, Richard Hult)
905 2007-11-26 Matthias Clasen <mclasen@redhat.com>
907 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
908 String change ! (#376361, Sven Neumann)
910 2007-11-26 Matthias Clasen <mclasen@redhat.com>
912 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
914 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
917 2007-11-26 Matthias Clasen <mclasen@redhat.com>
919 * gtk/gtkassistant.c: Improve alternative button
920 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
922 2007-11-26 Matthias Clasen <mclasen@redhat.com>
924 * gtk/gtkcalendar.c: Fix a theming problem with colors
925 in GtkCalendar. (#499703, Michael Hofmann)
927 2007-11-26 Matthias Clasen <mclasen@redhat.com>
929 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
931 2007-11-26 Matthias Clasen <mclasen@redhat.com>
933 Use templates for glib-mkenums calls instead of
934 complicated commandlines in Makefiles. (#429910)
936 * gdk-pixbuf/Makefile.am:
939 * perf/Makefile.am: Use templates for glib-mkenums
941 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
942 * gdk/gdkenumtypes.[ch].template:
943 * gtk/gtktypebuiltings.[ch].template:
944 * perf/typebuiltins.[ch].template: The templates
946 2007-11-26 Matthias Clasen <mclasen@redhat.com>
948 * gtk/gtkfilechooserbutton.c:
949 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
950 some compilers choke on that. (#467722)
952 2007-11-26 Matthias Clasen <mclasen@redhat.com>
954 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
955 about hook setup. (#425004, Emmanuele Bassi)
957 2007-11-26 Tor Lillqvist <tml@novell.com>
959 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
960 monitor the window currently is on, not always the primary
961 monitor. (#463865, Tim Evans)
963 2007-11-26 Tor Lillqvist <tml@novell.com>
965 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
967 * gdk/win32/Makefile.am: Add it.
969 2007-11-26 Tor Lillqvist <tml@novell.com>
971 * configure.in: Don't add jasper to all_loaders if no libjasper.
973 2007-11-25 Bastien Nocera <hadess@hadess.net>
975 * configure.in: Add detection for libjasper, used by the
976 gdk-pixbuf JPEG2000 loader
978 2007-11-25 Matthias Clasen <mclasen@redhat.com>
980 * configure.in: Require gtk-doc 1.8
982 * */*.c: Use gtk-doc abbreviations for examples in docs.
984 2007-11-25 Matthias Clasen <mclasen@redhat.com>
986 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
989 2007-11-25 Matthias Clasen <mclasen@redhat.com>
991 * gtk/gtkdialog.c: Move signal and property documentation inline,
992 fix a problem with the ::response signal docs. (#499133, Josselin
995 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
997 * Makefile.decl: initialize automake variables EXTRA_DIST and
998 TEST_PROGS for unconditional appending via += in other makefiles.
999 define recursive test targets: test, test-report, perf-report,
1000 full-report, as described here:
1001 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
1002 the test targets will execute Gtk+ test programs within an Xvfb session.
1004 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
1006 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
1007 g_test_run() to run the tests to integrate with the testing framework.
1009 * gtk/tests/Makefile.am: removed exemplary testing rules.
1011 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
1012 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
1013 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
1014 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
1015 * docs/reference/Makefile.am, docs/tools/Makefile.am:
1016 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
1017 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
1018 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
1019 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
1020 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
1021 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
1022 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
1023 * modules/engines/ms-windows/Theme/Makefile.am:
1024 * modules/engines/ms-windows/Makefile.am:
1025 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
1026 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
1027 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
1028 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
1029 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
1030 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
1031 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
1033 2007-11-22 Matthias Clasen <mclasen@redhat.com>
1035 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
1036 (#485662, patch by Herbert Valerio Riedel)
1038 2007-11-22 Matthias Clasen <mclasen@redhat.com>
1040 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
1042 2007-11-21 Richard Hult <richard@imendio.com>
1044 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
1045 stubs for the testing functions to fix the build.
1047 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1049 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
1050 (#467711, The Written Word)
1052 2007-11-21 Ross Burton <ross@openedhand.com>
1054 * gdk/x11/gdksettings.c:
1055 Add xsetting for gtk-scrolled-window-placement (#458103).
1057 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1059 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
1060 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
1061 (#469239, Michael Natterer)
1063 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1065 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
1066 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
1067 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
1068 (#436536, Tommi Komulainen)
1070 2007-11-21 Matthias Clasen <mclasen@redhat.com>
1072 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
1073 property. (#489782, Jan Janech)
1075 2007-11-20 Matthias Clasen <mclasen@redhat.com>
1077 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
1078 frames. (#107398, Owen Taylor, Miguel Gomez)
1080 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
1082 Moved Gdk test functions from Gtk+ to Gdk test utils.
1084 * gdk/Makefile.am: added gdktestutils.h to public includes.
1086 * gdk/gdk.h: added gdktestutils.h to public includes.
1088 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
1089 gdk_test_render_sync.
1091 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
1092 gdk_test_simulate_key, gdk_test_render_sync.
1094 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
1096 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
1097 gdk_test_simulate_key, gdk_test_render_sync.
1099 * gtk/gtktestutils.c:
1100 * gtk/gtktestutils.h:
1101 * gtk/gtk.symbols: removed gtk_test_simulate_button
1102 gtk_test_simulate_key, gtk_test_xserver_render_sync.
1104 * gtk/tests/testing.c: call gdk_test_render_sync.
1106 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
1108 Added unit tests for Gtk+ testing utilities.
1110 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
1111 utility functions. some g_test_* related portions are disabled and need
1112 to be enabled once Gtk+ depends on a new glib with the GLib testing
1113 framework integrated.
1115 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
1116 added exemplary test rules to run tests inside Xvfb. this needs to depend
1117 on gtester for full fledged testing.
1119 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
1120 collecting _get_type functions to catch e.g. gtk_text_get_type().
1122 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
1124 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
1126 Added Gtk+ testing utilities.
1128 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
1129 for the most part, the functions herein involve navigating and interacting
1130 with dialog elements programatically, to automate user interaction tests of
1131 dialogs and widgets.
1133 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
1135 * gtk/gtk.symbols: added gtk_test_* symbols.
1137 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
1138 generate gtktypefuncs.c which contains a list of all _get_type functions in
1140 2007-11-20 Bastien Nocera <hadess@hadess.net>
1142 * configure.in: add support for conditional icns gdk-pixbuf loader
1145 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
1147 * configure.in: updated version number to 2.15.0 for development.
1149 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
1151 === Branch for 2.12 ===