1 2007-12-28 Matthias Clasen <mclasen@redhat.com>
3 * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
4 icon cache api change. (#506135, Kazuki Iwamoto)
6 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
8 Remove max_detail_height field from GtkCalendarPrivate. (#339540)
10 * gtk/gtkcalendar.c: Drop max_detail_height field, and use
11 a local variable instead in gtk_calendar_size_request.
13 2007-12-28 Matthias Clasen <mclasen@redhat.com>
15 * tests/defaultvaluetest.c: Add enough exclusions to make the
18 2007-12-28 Christian Persch <chpe@gnome.org>
20 * modules/other/gail/Makefile.am:
21 * modules/other/gail/tests/*:
22 * configure.in: Merge tests from standalone gail. Bug #504568.
24 2007-12-28 Matthias Clasen <mclasen@redhat.com>
26 * gtk/gtkclipboard.c: Make the finalizer work when display is
29 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
31 Draw bottom shadow of GtkCalender headings. (#506113)
33 * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
35 2007-12-28 Matthias Clasen <mclasen@redhat.com>
37 * gtk/gtkcalendar.c: Document the initial values of year/month/day
40 2007-12-28 Christian Persch <chpe@gnome.org>
42 * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
43 a mem leak. Bug #506096.
45 2007-12-28 Matthias Clasen <mclasen@redhat.com>
49 * gtk/gtkprintoperation.c:
50 * gtk/gtkprogressbar.c:
51 * gtk/gtkmessagedialog.c:
56 * gtk/gtklinkbutton.c:
57 * gtk/gtkmenu.c: More default property value corrections.
59 2007-12-28 Matthias Clasen <mclasen@redhat.com>
61 * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
62 accel_group unless it is set.
64 2007-12-28 Matthias Clasen <mclasen@redhat.com>
66 * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
68 2007-12-28 Matthias Clasen <mclasen@redhat.com>
70 * gtk/gtkhandlebox.c: Fix the default values of shadow and
71 shadow-type properties.
73 * gtk/gtkfontsel.c: Fix the default values of several properties.
75 * gtk/gtkfilesel.c: Fix the default value of the show-fileops
78 * gtk/gtkcurve.c: Fix the default value of the curve-type property.
80 * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
83 2007-12-28 Johan Dahlin <johan@gnome.org>
85 * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
86 (gtk_dialog_buildable_custom_tag_start): Chain up.
87 This makes it possible to have accelerators tags on GtkDialog
90 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
92 Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
93 are shown within the widget, or just as tooltip. (#339540)
95 * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
96 aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
97 * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
100 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
102 Try more decent appearance of calendar details separator. (#339540)
104 * gtk/gtkcalendar.c: Use different colors for drawing the separator,
105 and make it short by one pixel on each side.
107 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
109 Apply trivial code-style changes from attachement 101101. (#339540)
111 * tests/testcalendar.c: Some updates to current GTK+ code-style.
113 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
115 Restructure testcalendar for testing calendar details. (#339540)
117 * tests/testcalendar.c: Push code arround for testing calendar details.
119 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
121 Implement GtkTooltip API for calendar details. (#339540)
123 * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
124 Remember detail overflows in calendar_paint_day to show the tooltip
125 only when neccessary.
127 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
129 Without setting "detail-width-chars" and "detail-height-rows"
130 properties not only the widget has to be redrawn on certain
131 conditions, but also its size must be recalculated. (#339540)
133 * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
134 that function instead of gtk_widget_queue_draw.
136 2007-12-28 Mathias Hasselmann <mathias@openismus.com>
138 Consider details for size-request and expose-event. (#339540)
140 * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
141 is_color_attribute functions. Change gtk_calendar_size_request
142 and calendar_paint_day to consider and show calender details.
144 2007-12-28 Matthias Clasen <mclasen@redhat.com>
146 * gtk/gtkcombobox.c: Introduce local priv variables to
149 2007-12-27 Matthias Clasen <mclasen@redhat.com>
151 * gtk/gtkcombobox.c: Correct the default value for the
152 tearoff-title property.
154 * gtk/gtkcellrenderertext.c: Fix the default value for the
155 wrap-mode and font-scale properties.
157 * gtk/gtkaspectratio.c: Fix the default value for the ratio
160 2007-12-27 Matthias Clasen <mclasen@redhat.com>
162 * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
163 defines. (#505708, MINAMI Hirokazu)
165 2007-12-27 Christian Persch <chpe@gnome.org>
167 * Makefile.am: Install gail.pc. Bug #505859.
169 2007-12-27 Mathias Hasselmann <mathias@openismus.com>
171 Add infrastructure for GtkCalendar details. (#339540)
173 * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
174 Add "detail-width-chars" and "detail-height-rows" properties,
175 and gtk_calendar_set_detail_func function.
177 2007-12-27 Xan Lopez <xan@gnome.org>
180 * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy):
182 Add gtk_border_new to avoid memory allocator confusions when using
183 GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
185 2007-12-27 Christian Persch <chpe@gnome.org>
187 * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from
188 bug #504886 not to read unitialised memory.
190 2007-12-26 Xan Lopez <xan@gnome.org>
192 * gtk/gtkstatusbar.c (has_extra_children): take into account the
193 modification of the internal frame contents to decide if we have
194 extra children. (#415677)
196 2007-12-22 Christian Persch <chpe@gnome.org>
198 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
200 2007-12-25 Christian Persch <chpe@gnome.org>
202 * modules/other/gail/gailwindow.c: (gail_window_initialize):
203 Initialise |widget|. Fixes a buglet introduced by the commit from bug
206 2007-12-25 Christian Persch <chpe@gnome.org>
208 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
210 2007-12-25 Christian Persch <chpe@gnome.org>
212 * modules/other/gail/*.[ch]: Remove relocations from the atk
213 factories. Remove unused gail_foo_new() functions. Fix object
214 instantiation to be derivation safe by moving initialisation code
215 from the removed gail_foo_new() functions to the
216 AtkObjectClass::initialize implementation. Bug #505226.
218 2007-12-24 Matthias Clasen <mclasen@redhat.com>
220 * modules/other/gail/gailentry.c:
221 * modules/other/gail/gailimage.c:
222 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
223 uses of clipboards and settings. (#504722, Christian Persch)
225 2007-12-24 Matthias Clasen <mclasen@redhat.com>
227 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
230 2007-12-24 Matthias Clasen <mclasen@redhat.com>
232 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
233 use the time and button information from the event. (#504901,
236 2007-12-23 Cody Russell <bratsche@gnome.org>
238 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
239 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
240 Fixes a regression caused by #164537 patch where transient
241 windows that are hidden get shown (incorrectly) when their
242 parents are minimized. (#504984)
244 2007-12-22 Christian Persch <chpe@gnome.org>
246 * modules/other/gail/gailcell.c:
247 * modules/other/gail/gailcontainercell.c:
248 * modules/other/gail/gailexpander.c:
249 * modules/other/gail/gailtextcell.c:
250 * modules/other/gail/gailtextview.c:
251 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
253 2007-12-22 Christian Persch <chpe@gnome.org>
255 * modules/other/gail/*.c: Include config.h. Bug #504720.
257 2007-12-22 Christian Persch <chpe@gnome.org>
259 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
260 handwritten get_type functions. Bug #504661.
262 2007-12-23 Xan Lopez <xan@gnome.org>
264 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
265 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
267 Patch by Sadrul Habib Chowdhury (#504804)
269 2007-12-22 Christian Persch <chpe@gnome.org>
271 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
272 #504645, patch by Li Yuan.
274 2007-12-22 Christian Persch <chpe@gnome.org>
276 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
278 2007-12-22 Christian Persch <chpe@gnome.org>
280 * modules/other/gail/gail.c:
281 * modules/other/gail/gailbutton.c:
282 * modules/other/gail/gailcell.c:
283 * modules/other/gail/gailcombo.c:
284 * modules/other/gail/gailcombo.h:
285 * modules/other/gail/gailcombobox.c:
286 * modules/other/gail/gailentry.c:
287 * modules/other/gail/gailexpander.c:
288 * modules/other/gail/gailmenuitem.c:
289 * modules/other/gail/gailnotebook.c:
290 * modules/other/gail/gailnotebookpage.c:
291 * modules/other/gail/gailnotebookpage.h:
292 * modules/other/gail/gailoptionmenu.c:
293 * modules/other/gail/gailrange.c:
294 * modules/other/gail/gailtextview.c:
295 * modules/other/gail/gailtreeview.c:
296 * modules/other/gail/gailtreeview.h:
297 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
300 2007-12-22 Matthias Clasen <mclasen@redhat.com>
302 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
305 2007-12-21 Richard Hult <richard@imendio.com>
307 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
308 Plug leak of destroyed subviews, fixes bug #504753.
310 2007-12-20 Johan Dahlin <johan@gnome.org>
312 * tests/Makefile.am (TEST_PROGS):
313 * tests/defaultvaluetest.c: Add a test for default values,
314 based on program by Christan Perch
316 2007-12-20 Johan Dahlin <johan@gnome.org>
318 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
319 Refactor to avoid some duplication.
320 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
321 Fixes #504749, Yuri Pimenov
323 2007-12-20 Kristian Rietveld <kris@imendio.com>
325 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
326 the build work again on systems without xrandr 1.2.
328 2007-12-20 Christian Persch <chpe@gnome.org>
331 * modules/other/gail/libgail-util/Makefile.am:
332 Keep the same libtool version as the standalone libgail-util had.
335 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
337 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
339 2007-12-20 Alexander Larsson <alexl@redhat.com>
341 * gdk/x11/gdkapplaunchcontext-x11.c:
342 Update for gio API changes
344 2007-12-20 Richard Hult <richard@imendio.com>
346 * gdk/quartz/GdkQuartzWindow.c:
347 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
348 processing events after changing the size.
350 2007-12-20 Richard Hult <richard@imendio.com>
352 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
353 Add stub for quartz to fix build.
355 2007-12-20 Christian Persch <chpe@gnome.org>
357 * modules/other/gail/Makefile.am:
358 * modules/other/gail/gailimage.c: (gail_image_class_init),
359 (gail_image_init), (elide_underscores), (gail_image_get_name),
360 (atk_image_interface_init), (gail_image_finalize):
361 * modules/other/gail/gailimage.h:
362 R modules/other/gail/gailintl.h:
363 * po/POTFILES.skip: Use the stock item's label as the name of the
364 accessible in gailimage.c. Bug #504246.
366 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
368 Avoid some compiler warnings and remove obsolete code. (#339540)
370 * gtk/gtkcalendar.c: Change week and year variable in
371 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
372 0" block from calendar_paint_day: The feature in question is handled
373 few lines above. Cast data returned by gtk_selection_data_get_text()
374 to (gchar*) in gtk_calendar_drag_data_received.
376 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
378 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
380 2007-12-19 Johan Dahlin <johan@gnome.org>
382 * tests/buildertest.c (test_object_properties):
383 Add another call to gtk_builder_add_string after using
384 delayed properties, as reported in #504393 but already
387 2007-12-18 Christian Persch <chpe@gnome.org>
390 * docs/reference/Makefile.am:
391 * docs/reference/libgail-util/*:
392 * gail-uninstalled.pc.in:
394 * modules/Makefile.am:
395 * modules/other/Makefile.am:
396 * modules/other/gail/*:
397 * modules/other/gail/libgail-util/*:
398 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
400 2007-12-17 Matthias Clasen <mclasen@redhat.com>
402 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
403 * gdk/win32/gdkproperty-win32.c:
404 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
406 * gtk/gtkimmodule.[hc]:
407 * gtk/gtkimmulticontext.[hc]: When determining the default context,
408 look at the gtk-im-module setting, and listen for changes to the
409 setting. (#502446, Akira Tagoh)
411 2007-12-17 Kristian Rietveld <kris@imendio.com>
413 * gtk/gtktooltip.c (gtk_tooltip_finalize),
414 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
415 to NULL as soon as it's destroyed. (#496546, patch from
418 2007-12-17 Kristian Rietveld <kris@imendio.com>
420 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
421 always determine what arrow to show if show_sort_indicator is true.
422 (#352738, Chris Vine).
424 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
426 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
429 * gtk/gtkpaned.c: Call gtk_container_forall instead of
430 gtk_container_foreach in get_child_panes.
432 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
434 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
436 Plug leak: When reordering the info in the list the old node is
437 removed but not freed. (#503569)
439 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
441 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
442 Use u32 instead of __u32 and u8 instead of __u8 as the other types
443 are deprecated since DirectFB 1.0.0. If compiling with an older
444 version define the new type name to the old types. Fixes bug #503190.
446 2007-12-14 Ray Strode <rstrode@redhat.com>
448 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
449 instead of g_signal_connect_after (..., "realize", ...) as an
450 alternative to gtk_widget_realize () (bug 503537).
452 2007-12-14 Michael Natterer <mitch@imendio.com>
455 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
458 * gdk/gdkapplaunchcontext.c
459 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
460 header already includes everything now.
462 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
464 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
465 next stable release shall be 2.16, not 2.14 - even if disagree.
467 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
469 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
471 Change GtkToolItem to retrieve its properties from GtkToolShell
472 interface, instead of relying on being child of a GtkToolbar.
475 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
476 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
477 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
478 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
479 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
480 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
481 Take section docs from template file and update them for GtkToolShell.
482 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
483 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
485 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
487 Extract loading of GtkPageSetup and GtkPrintSettings from their
488 *_new_*() functions and move that code into separate
489 *_load_*() functions (#475565).
491 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
492 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
493 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
494 Change the matching *_new_*() functions to use those functions.
496 2007-12-14 Matthias Clasen <mclasen@redhat.com>
499 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
501 2007-12-14 Kristian Rietveld <kris@imendio.com>
503 * gtk/tests/liststore.c:
504 * gtk/tests/treestore.c: added tests for insertion functions.
506 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
508 * Add RandR 1.2 support
510 - New monitors_changed signal - New API to get width/height of
511 monitors, and the name of the plug
513 2007-12-13 Kristian Rietveld <kris@imendio.com>
515 * gtk/tests/liststore.c:
516 * gtk/tests/treestore.c: test the move and swap functions on a
517 store with only one node.
519 2007-12-13 Kristian Rietveld <kris@imendio.com>
521 * gtk/gtktestutils.c (gtk_test_init): add a call to
524 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
527 2007-12-13 Kristian Rietveld <kris@imendio.com>
529 * gtk/tests/liststore.c:
530 * gtk/tests/treestore.c: start composing tests for the list and tree
533 * gtk/tests/treeview-scrolling.c: added automated tests for
534 GtkTreeView's scrolling "subsystem".
536 * gtk/tests/Makefile.am: updated; added new test programs.
538 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
540 Make the code compile again after the GdkAppLaunchContext changes.
542 * configure.in: Add gio-2.0 to GDK_PACKAGES.
543 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
545 2007-12-12 Matthias Clasen <mclasen@redhat.com>
547 * gdk/gdkapplaunchcontext.c: Add docs
549 2007-12-12 Matthias Clasen <mclasen@redhat.com>
551 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
552 in gdk, providing startup notification. (#503203)
554 * gdk/x11/gdkapplaunchcontext-x11.c:
555 * gdk/win32/gdkapplaunchcontext-win32.c:
556 * gdk/quartz/gdkapplaunchcontext-quartz.c:
557 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
558 parts. All but X11 are just empty stubs for now.
561 * gdk/gdkinternals.h:
563 * gdk/x11/Makefile.am:
564 * gdk/win32/Makefile.am:
565 * gdk/quartz/Makefile.am:
566 * gdk/directfb/Makefile.am: Necessary glue.
568 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
570 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
572 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
574 * gdk/directfb/gdktestutils-directfb.c:
575 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
576 which adds testing functions to the DirectFB backend.
578 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
580 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
581 Ciccani which fixes the mixing of gdk and cairo rendering.
583 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
585 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
586 on "drag-motion" handlers. Clearify documentation for
589 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
591 * buildertest.c: made unnecessarily exported symbols static.
592 switched g_return_if_fail() statements in tests to assertions.
593 special cased currently failing Widget/accesibility test to
594 run only for g_test_thorough(), so it doesn't break make check.
595 some coding style fixes.
597 * Makefile.am: added buildertest to TEST_PROGS.
599 2007-12-11 Stefan Kost <ensonic@users.sf.net>
601 * docs/tutorial/gtk-tut.sgml:
602 Use gtk_widget_get_parent_window() instead of widget->parent->window.
604 2007-12-10 Richard Hult <richard@imendio.com>
606 * gdk/quartz/Makefile.am:
607 * gdk/quartz/gdkquartz.h:
608 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
609 header (bug #405915). Also add a getter for the toplevel nswindow.
611 2007-12-10 Richard Hult <richard@imendio.com>
613 * gdk/quartz/gdkdrawable-quartz.c:
614 (gdk_quartz_drawable_get_context),
615 (gdk_quartz_drawable_release_context):
616 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
617 (gdk_event_check), (gdk_event_dispatch), (poll_func):
618 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
619 used for each drawing context and in prepare, dispatch and poll
620 with one that exists across each main loop iteration. Fixes leaks
621 on leopard and protects against future leaks introduce when the
622 underlying system changes again (bug #492977).
624 2007-12-10 Richard Hult <richard@imendio.com>
626 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
627 Fix the check for no changes to position and size.
629 2007-12-10 Richard Hult <richard@imendio.com>
631 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
632 sized areas at (0, 0), patch from Paul Davis.
634 2007-12-10 Richard Hult <richard@imendio.com>
636 * gdk/quartz/gdkprivate-quartz.h:
637 * gdk/quartz/gdkeventloop-quartz.c:
638 (_gdk_quartz_event_loop_get_pending),
639 (_gdk_quartz_event_loop_check_pending),
640 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
641 (gdk_event_check), (gdk_event_dispatch):
642 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
643 (_gdk_events_queue): Fix a bug where we could end up trying to
644 handle the same event more than once. Based on patch from Paul
647 2007-12-10 Tor Lillqvist <tml@novell.com>
649 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
652 2007-12-10 Matthias Clasen <mclasen@redhat.com>
654 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
655 to avoid further fallout from the fix for bug 388321.
657 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
659 * gdk/directfb/gdkgc-directfb.c:
660 * gdk/directfb/gdkdrawable-directfb.c:
661 * gdk/directfb/gdkdirectfb.h:
662 * gdk/directfb/gdkwindow-directfb.c:
663 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
664 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
665 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
666 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
667 which are expected to improve the performance of the DirectFB backend.
668 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
670 2007-12-07 Matthias Clasen <mclasen@redhat.com>
672 * gtk/gtkcontainer.c: Correct the documentation of child
673 property getter arguments. (#501992, David Brigada)
675 2007-12-07 Matthias Clasen <mclasen@redhat.com>
677 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
678 leak pixbufs. (#502250, Yevgen Muntyan)
680 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
682 * gtk/gtkprintunixdialog.c:
683 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
684 Print and Page Setup dialogs (#502202).
686 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
688 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
689 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
690 of XVFB_START, since it's the GTESTER invokation that needs this.
692 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
694 * gdk-pixbuf/gdk-pixbuf.symbols:
696 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
697 positives in abicheck.sh
699 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
701 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
702 GDK events generations in the DirectFB backend.
704 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
706 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
707 set of likely unused display ids, because MacOS has no seq(1) command.
709 2007-12-06 Richard Hult <richard@imendio.com>
711 * gdk/quartz/gdkevents-quartz.c:
712 (synthesize_crossing_events_for_ns_event): Fix warning when
713 switching spaces in leopard.
715 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
717 * tests/floatingtest.c: ported to new testing framework.
719 * tests/Makefile.am: run floatingtest as testing framework test.
721 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
723 * tests/autotestfilechooser.c: majorly speed up execution by reducing
724 timeouts and converting main loop sleeps to pending/iterate loops with
725 very low priority async handlers. eliminate output for non-verbose
726 tests. assert successfull subtests in all test functions. use testing
729 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
730 executed inside Xvfb upon make check.
732 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
734 * tests/objecttests.c: use string comparisons for string property
735 values and get rid of referencing symbols in array initialization.
737 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
739 * gtk+/Makefile.decl: run tests in current dir after setting up the
740 logging directory, so their results get properly merged into the
743 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
744 tests to loop over registered Gdk/Gtk+ types.
746 * gtk+/tests/objecttests.c: new test program, implements automated
747 property tests. several properties are blacklisted because they
748 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
749 can be used to test blacklisted properties and see which proprty failed.
751 2007-12-04 Richard Hult <richard@imendio.com>
753 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
754 Fully initialize the root window, fixes bug #501583.
756 2007-12-04 Matthias Clasen <mclasen@redhat.com>
758 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
761 2007-12-03 Richard Hult <richard@imendio.com>
763 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
764 Don't crash when dragging from a source that doesn't support uri
765 lists (bug #499868, Paul Davis).
767 2007-12-03 Richard Hult <richard@imendio.com>
769 * gdk/quartz/gdkwindow-quartz.c:
770 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
771 parent relative bg pixmap is set, and no parent has a bg
772 pixmap. Fixes bug #500804.
774 2007-12-03 Matthias Clasen <mclasen@redhat.com>
776 Two optimizations for icon cache lookups.
778 * gtk/gtkiconcache.[hc]:
779 * gtk/gtkicontheme.c: Remember the directory index for
780 subdirectories, instead of running over the directory list
783 * gtk/gtkiconcache.c (find_image_offset): Remember the last
784 chain and try it first; this helps with the the usage patterns
785 in gtkicontheme.c, where the same icon is queried for a lot
788 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
790 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
791 functions from header files. this should be portable across linux and
792 Mac OS, unlike the previpous sed expression.
794 2007-12-1 Cody Russell <bratsche@gnome.org>
796 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
797 On Windows, queue a redraw of child2 whenever we set
798 the pane handle position. This is unfortunately kind
799 of hacky, but solves the visual artifacts that were
800 occuring on at least certain types of child widgets
801 (e.g., text views and tree views) that are inside
802 horizontal or vertical panes. (#144269)
804 2007-11-30 Matthias Clasen <mclasen@redhat.com>
806 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
808 2007-11-29 Matthias Clasen <mclasen@redhat.com>
810 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
813 2007-11-29 Matthias Clasen <mclasen@redhat.com>
815 * gtk/Makefile.am: Fix ordering of subdirs.
817 2007-11-28 Tor Lillqvist <tml@novell.com>
819 A proper build of GNU libintl is supposed to export the variable
820 _nl_msg_cat_cntr. configure looks for that variable in order to
821 recognize GNU gettext. If it sees that it is indeed GNU gettext
822 that is used, it decides to install message catalogs in
823 share/locale, otherwise in lib/locale. Until now on Windows I have
824 built GTK+ against a build of GNU gettext that did not export
825 _nl_msg_cat_cntr. But this will change, so we can't assume message
826 catalogs are always in lib/locale.
828 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
829 GTK_LOCALEDIR being either in "lib" or "share". Move the function
830 before the inclusion of gtkprivate.h so that it sees the original
833 * gtk-zip.sh.in: Check whether the message catalogs are in
834 share/locale or lib/locale.
836 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
837 that the code in _gtk_get_localedir() will find the slashes.
839 2007-11-28 Tor Lillqvist <tml@novell.com>
841 * gtk/Makefile.am: Improve portability. The -o option is present
842 only in newish GNU egreps. Use one more sed in the pipeline
845 2007-11-28 Tor Lillqvist <tml@novell.com>
847 Fix #375893, patch by Ben Hague:
849 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
850 around GetLogicalDrives() that takes also the viewable drive
851 restrictions in the Registry (which are usually the result of an
852 Active Directory Group Policy) into account.
854 (check_volumes, gtk_file_system_win32_list_volumes) Call
855 get_viewable_logical_drives() instead of GetLogicalDrives().
857 2007-11-27 Matthias Clasen <mclasen@redhat.com>
859 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
860 variables to silence valgrind. (#495124, Morten Welinder)
862 2006-11-26 Ryan Lortie <desrt@desrt.ca>
864 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
865 that the construct_child function is responsible for returning a
867 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
868 objects from constructors
869 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
870 g_object_ref() to this construction function (it's the only
875 2006-11-26 Ryan Lortie <desrt@desrt.ca>
877 * gtkbuilder.c: remove concept of root objects and just refcount
878 all objects in the builder. Fixes #496651.
880 2007-11-26 Ryan Lortie <desrt@desrt.ca>
882 * tests/buildertest.c (test_window): fix invalid free
884 2007-11-26 Josselin Mouette <joss@malsain.org>
886 reviewed by: Federico Mena Quintero
888 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
889 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
890 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
891 Make the shortcuts activate with a single click. (#148828)
892 Fix a few things affected by the change:
893 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
894 where no shortcut is selected.
895 - Don't activate a shortcut in the response callback.
896 - Filter out duplicate entries in volumes and bookmarks to
897 avoid the selection to change when reordering them with DnD.
899 2007-11-26 Matthias Clasen <mclasen@redhat.com>
903 * gtk/gtkplugprivate.h:
905 * gtk/gtksocketprivate.h:
906 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
908 2007-11-26 Matthias Clasen <mclasen@redhat.com>
910 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
911 (#495574, Richard Hult)
913 2007-11-26 Matthias Clasen <mclasen@redhat.com>
915 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
916 String change ! (#376361, Sven Neumann)
918 2007-11-26 Matthias Clasen <mclasen@redhat.com>
920 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
922 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
925 2007-11-26 Matthias Clasen <mclasen@redhat.com>
927 * gtk/gtkassistant.c: Improve alternative button
928 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
930 2007-11-26 Matthias Clasen <mclasen@redhat.com>
932 * gtk/gtkcalendar.c: Fix a theming problem with colors
933 in GtkCalendar. (#499703, Michael Hofmann)
935 2007-11-26 Matthias Clasen <mclasen@redhat.com>
937 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
939 2007-11-26 Matthias Clasen <mclasen@redhat.com>
941 Use templates for glib-mkenums calls instead of
942 complicated commandlines in Makefiles. (#429910)
944 * gdk-pixbuf/Makefile.am:
947 * perf/Makefile.am: Use templates for glib-mkenums
949 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
950 * gdk/gdkenumtypes.[ch].template:
951 * gtk/gtktypebuiltings.[ch].template:
952 * perf/typebuiltins.[ch].template: The templates
954 2007-11-26 Matthias Clasen <mclasen@redhat.com>
956 * gtk/gtkfilechooserbutton.c:
957 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
958 some compilers choke on that. (#467722)
960 2007-11-26 Matthias Clasen <mclasen@redhat.com>
962 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
963 about hook setup. (#425004, Emmanuele Bassi)
965 2007-11-26 Tor Lillqvist <tml@novell.com>
967 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
968 monitor the window currently is on, not always the primary
969 monitor. (#463865, Tim Evans)
971 2007-11-26 Tor Lillqvist <tml@novell.com>
973 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
975 * gdk/win32/Makefile.am: Add it.
977 2007-11-26 Tor Lillqvist <tml@novell.com>
979 * configure.in: Don't add jasper to all_loaders if no libjasper.
981 2007-11-25 Bastien Nocera <hadess@hadess.net>
983 * configure.in: Add detection for libjasper, used by the
984 gdk-pixbuf JPEG2000 loader
986 2007-11-25 Matthias Clasen <mclasen@redhat.com>
988 * configure.in: Require gtk-doc 1.8
990 * */*.c: Use gtk-doc abbreviations for examples in docs.
992 2007-11-25 Matthias Clasen <mclasen@redhat.com>
994 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
997 2007-11-25 Matthias Clasen <mclasen@redhat.com>
999 * gtk/gtkdialog.c: Move signal and property documentation inline,
1000 fix a problem with the ::response signal docs. (#499133, Josselin
1003 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
1005 * Makefile.decl: initialize automake variables EXTRA_DIST and
1006 TEST_PROGS for unconditional appending via += in other makefiles.
1007 define recursive test targets: test, test-report, perf-report,
1008 full-report, as described here:
1009 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
1010 the test targets will execute Gtk+ test programs within an Xvfb session.
1012 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
1014 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
1015 g_test_run() to run the tests to integrate with the testing framework.
1017 * gtk/tests/Makefile.am: removed exemplary testing rules.
1019 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
1020 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
1021 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
1022 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
1023 * docs/reference/Makefile.am, docs/tools/Makefile.am:
1024 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
1025 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
1026 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
1027 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
1028 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
1029 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
1030 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
1031 * modules/engines/ms-windows/Theme/Makefile.am:
1032 * modules/engines/ms-windows/Makefile.am:
1033 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
1034 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
1035 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
1036 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
1037 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
1038 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
1039 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
1041 2007-11-22 Matthias Clasen <mclasen@redhat.com>
1043 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
1044 (#485662, patch by Herbert Valerio Riedel)
1046 2007-11-22 Matthias Clasen <mclasen@redhat.com>
1048 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
1050 2007-11-21 Richard Hult <richard@imendio.com>
1052 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
1053 stubs for the testing functions to fix the build.
1055 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1057 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
1058 (#467711, The Written Word)
1060 2007-11-21 Ross Burton <ross@openedhand.com>
1062 * gdk/x11/gdksettings.c:
1063 Add xsetting for gtk-scrolled-window-placement (#458103).
1065 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1067 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
1068 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
1069 (#469239, Michael Natterer)
1071 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
1073 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
1074 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
1075 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
1076 (#436536, Tommi Komulainen)
1078 2007-11-21 Matthias Clasen <mclasen@redhat.com>
1080 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
1081 property. (#489782, Jan Janech)
1083 2007-11-20 Matthias Clasen <mclasen@redhat.com>
1085 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
1086 frames. (#107398, Owen Taylor, Miguel Gomez)
1088 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
1090 Moved Gdk test functions from Gtk+ to Gdk test utils.
1092 * gdk/Makefile.am: added gdktestutils.h to public includes.
1094 * gdk/gdk.h: added gdktestutils.h to public includes.
1096 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
1097 gdk_test_render_sync.
1099 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
1100 gdk_test_simulate_key, gdk_test_render_sync.
1102 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
1104 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
1105 gdk_test_simulate_key, gdk_test_render_sync.
1107 * gtk/gtktestutils.c:
1108 * gtk/gtktestutils.h:
1109 * gtk/gtk.symbols: removed gtk_test_simulate_button
1110 gtk_test_simulate_key, gtk_test_xserver_render_sync.
1112 * gtk/tests/testing.c: call gdk_test_render_sync.
1114 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
1116 Added unit tests for Gtk+ testing utilities.
1118 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
1119 utility functions. some g_test_* related portions are disabled and need
1120 to be enabled once Gtk+ depends on a new glib with the GLib testing
1121 framework integrated.
1123 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
1124 added exemplary test rules to run tests inside Xvfb. this needs to depend
1125 on gtester for full fledged testing.
1127 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
1128 collecting _get_type functions to catch e.g. gtk_text_get_type().
1130 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
1132 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
1134 Added Gtk+ testing utilities.
1136 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
1137 for the most part, the functions herein involve navigating and interacting
1138 with dialog elements programatically, to automate user interaction tests of
1139 dialogs and widgets.
1141 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
1143 * gtk/gtk.symbols: added gtk_test_* symbols.
1145 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
1146 generate gtktypefuncs.c which contains a list of all _get_type functions in
1148 2007-11-20 Bastien Nocera <hadess@hadess.net>
1150 * configure.in: add support for conditional icns gdk-pixbuf loader
1153 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
1155 * configure.in: updated version number to 2.15.0 for development.
1157 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
1159 === Branch for 2.12 ===