1 2007-12-26 Xan Lopez <xan@gnome.org>
3 * gtk/gtkstatusbar.c (has_extra_children): take into account the
4 modification of the internal frame contents to decide if we have
5 extra children. (#415677)
7 2007-12-22 Christian Persch <chpe@gnome.org>
9 * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
11 2007-12-25 Christian Persch <chpe@gnome.org>
13 * modules/other/gail/gailwindow.c: (gail_window_initialize):
14 Initialise |widget|. Fixes a buglet introduced by the commit from bug
17 2007-12-25 Christian Persch <chpe@gnome.org>
19 * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
21 2007-12-25 Christian Persch <chpe@gnome.org>
23 * modules/other/gail/*.[ch]: Remove relocations from the atk
24 factories. Remove unused gail_foo_new() functions. Fix object
25 instantiation to be derivation safe by moving initialisation code
26 from the removed gail_foo_new() functions to the
27 AtkObjectClass::initialize implementation. Bug #505226.
29 2007-12-24 Matthias Clasen <mclasen@redhat.com>
31 * modules/other/gail/gailentry.c:
32 * modules/other/gail/gailimage.c:
33 * modules/other/gail/gailtextview.c: Remove non-multihead-safe
34 uses of clipboards and settings. (#504722, Christian Persch)
36 2007-12-24 Matthias Clasen <mclasen@redhat.com>
38 * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
41 2007-12-24 Matthias Clasen <mclasen@redhat.com>
43 * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
44 use the time and button information from the event. (#504901,
47 2007-12-23 Cody Russell <bratsche@gnome.org>
49 * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
50 the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
51 Fixes a regression caused by #164537 patch where transient
52 windows that are hidden get shown (incorrectly) when their
53 parents are minimized. (#504984)
55 2007-12-22 Christian Persch <chpe@gnome.org>
57 * modules/other/gail/gailcell.c:
58 * modules/other/gail/gailcontainercell.c:
59 * modules/other/gail/gailexpander.c:
60 * modules/other/gail/gailtextcell.c:
61 * modules/other/gail/gailtextview.c:
62 * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
64 2007-12-22 Christian Persch <chpe@gnome.org>
66 * modules/other/gail/*.c: Include config.h. Bug #504720.
68 2007-12-22 Christian Persch <chpe@gnome.org>
70 * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
71 handwritten get_type functions. Bug #504661.
73 2007-12-23 Xan Lopez <xan@gnome.org>
75 * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
76 to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
78 Patch by Sadrul Habib Chowdhury (#504804)
80 2007-12-22 Christian Persch <chpe@gnome.org>
82 * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
83 #504645, patch by Li Yuan.
85 2007-12-22 Christian Persch <chpe@gnome.org>
87 * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
89 2007-12-22 Christian Persch <chpe@gnome.org>
91 * modules/other/gail/gail.c:
92 * modules/other/gail/gailbutton.c:
93 * modules/other/gail/gailcell.c:
94 * modules/other/gail/gailcombo.c:
95 * modules/other/gail/gailcombo.h:
96 * modules/other/gail/gailcombobox.c:
97 * modules/other/gail/gailentry.c:
98 * modules/other/gail/gailexpander.c:
99 * modules/other/gail/gailmenuitem.c:
100 * modules/other/gail/gailnotebook.c:
101 * modules/other/gail/gailnotebookpage.c:
102 * modules/other/gail/gailnotebookpage.h:
103 * modules/other/gail/gailoptionmenu.c:
104 * modules/other/gail/gailrange.c:
105 * modules/other/gail/gailtextview.c:
106 * modules/other/gail/gailtreeview.c:
107 * modules/other/gail/gailtreeview.h:
108 * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
111 2007-12-22 Matthias Clasen <mclasen@redhat.com>
113 * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
116 2007-12-21 Richard Hult <richard@imendio.com>
118 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
119 Plug leak of destroyed subviews, fixes bug #504753.
121 2007-12-20 Johan Dahlin <johan@gnome.org>
123 * tests/Makefile.am (TEST_PROGS):
124 * tests/defaultvaluetest.c: Add a test for default values,
125 based on program by Christan Perch
127 2007-12-20 Johan Dahlin <johan@gnome.org>
129 * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window):
130 Refactor to avoid some duplication.
131 Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
132 Fixes #504749, Yuri Pimenov
134 2007-12-20 Kristian Rietveld <kris@imendio.com>
136 * configure.in: RYuri Pimenovemove leftovers from old XRandR check. Makes
137 the build work again on systems without xrandr 1.2.
139 2007-12-20 Christian Persch <chpe@gnome.org>
142 * modules/other/gail/libgail-util/Makefile.am:
143 Keep the same libtool version as the standalone libgail-util had.
146 2007-12-20 15:30:09 Tim Janik <timj@imendio.com>
148 * Makefile.decl: generate HTML reports for test-report perf-report full-report.
150 2007-12-20 Alexander Larsson <alexl@redhat.com>
152 * gdk/x11/gdkapplaunchcontext-x11.c:
153 Update for gio API changes
155 2007-12-20 Richard Hult <richard@imendio.com>
157 * gdk/quartz/GdkQuartzWindow.c:
158 * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
159 processing events after changing the size.
161 2007-12-20 Richard Hult <richard@imendio.com>
163 * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
164 Add stub for quartz to fix build.
166 2007-12-20 Christian Persch <chpe@gnome.org>
168 * modules/other/gail/Makefile.am:
169 * modules/other/gail/gailimage.c: (gail_image_class_init),
170 (gail_image_init), (elide_underscores), (gail_image_get_name),
171 (atk_image_interface_init), (gail_image_finalize):
172 * modules/other/gail/gailimage.h:
173 R modules/other/gail/gailintl.h:
174 * po/POTFILES.skip: Use the stock item's label as the name of the
175 accessible in gailimage.c. Bug #504246.
177 2007-12-19 Mathias Hasselmann <mathias@openismus.com>
179 Avoid some compiler warnings and remove obsolete code. (#339540)
181 * gtk/gtkcalendar.c: Change week and year variable in
182 calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
183 0" block from calendar_paint_day: The feature in question is handled
184 few lines above. Cast data returned by gtk_selection_data_get_text()
185 to (gchar*) in gtk_calendar_drag_data_received.
187 2007-12-19 17:05:31 Tim Janik <timj@imendio.com>
189 * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
191 2007-12-19 Johan Dahlin <johan@gnome.org>
193 * tests/buildertest.c (test_object_properties):
194 Add another call to gtk_builder_add_string after using
195 delayed properties, as reported in #504393 but already
198 2007-12-18 Christian Persch <chpe@gnome.org>
201 * docs/reference/Makefile.am:
202 * docs/reference/libgail-util/*:
203 * gail-uninstalled.pc.in:
205 * modules/Makefile.am:
206 * modules/other/Makefile.am:
207 * modules/other/gail/*:
208 * modules/other/gail/libgail-util/*:
209 * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
211 2007-12-17 Matthias Clasen <mclasen@redhat.com>
213 * gtk/gtksettings.c: Add a gtk-im-module GTK setting
214 * gdk/win32/gdkproperty-win32.c:
215 * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
217 * gtk/gtkimmodule.[hc]:
218 * gtk/gtkimmulticontext.[hc]: When determining the default context,
219 look at the gtk-im-module setting, and listen for changes to the
220 setting. (#502446, Akira Tagoh)
222 2007-12-17 Kristian Rietveld <kris@imendio.com>
224 * gtk/gtktooltip.c (gtk_tooltip_finalize),
225 (gtk_tooltip_set_last_window): use a weak pointer to set last_window
226 to NULL as soon as it's destroyed. (#496546, patch from
229 2007-12-17 Kristian Rietveld <kris@imendio.com>
231 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
232 always determine what arrow to show if show_sort_indicator is true.
233 (#352738, Chris Vine).
235 2007-12-16 Mathias Hasselmann <mathias@openismus.com>
237 Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
240 * gtk/gtkpaned.c: Call gtk_container_forall instead of
241 gtk_container_foreach in get_child_panes.
243 2007-12-15 Xan Lopez <xan.lopez@nokia.com>
245 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
247 Plug leak: When reordering the info in the list the old node is
248 removed but not freed. (#503569)
250 2007-12-15 Sebastian Dröge <slomo@circular-chaos.org>
252 * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
253 Use u32 instead of __u32 and u8 instead of __u8 as the other types
254 are deprecated since DirectFB 1.0.0. If compiling with an older
255 version define the new type name to the old types. Fixes bug #503190.
257 2007-12-14 Ray Strode <rstrode@redhat.com>
259 * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
260 instead of g_signal_connect_after (..., "realize", ...) as an
261 alternative to gtk_widget_realize () (bug 503537).
263 2007-12-14 Michael Natterer <mitch@imendio.com>
266 * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
269 * gdk/gdkapplaunchcontext.c
270 * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
271 header already includes everything now.
273 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
275 Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
276 next stable release shall be 2.16, not 2.14 - even if disagree.
278 * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
280 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
282 Change GtkToolItem to retrieve its properties from GtkToolShell
283 interface, instead of relying on being child of a GtkToolbar.
286 * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
287 docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
288 * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
289 * gtk/gtktoolbar.c: Implement GtkToolShellIface.
290 * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
291 * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
292 Take section docs from template file and update them for GtkToolShell.
293 * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
294 * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
296 2007-12-14 Mathias Hasselmann <mathias@openismus.com>
298 Extract loading of GtkPageSetup and GtkPrintSettings from their
299 *_new_*() functions and move that code into separate
300 *_load_*() functions (#475565).
302 * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
303 Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
304 gtk_print_settings_load_file and gtk_print_settings_load_key_file.
305 Change the matching *_new_*() functions to use those functions.
307 2007-12-14 Matthias Clasen <mclasen@redhat.com>
310 * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
312 2007-12-14 Kristian Rietveld <kris@imendio.com>
314 * gtk/tests/liststore.c:
315 * gtk/tests/treestore.c: added tests for insertion functions.
317 Thu Dec 13 13:14:50 2007 Søren Sandmann <sandmann@redhat.com>
319 * Add RandR 1.2 support
321 - New monitors_changed signal - New API to get width/height of
322 monitors, and the name of the plug
324 2007-12-13 Kristian Rietveld <kris@imendio.com>
326 * gtk/tests/liststore.c:
327 * gtk/tests/treestore.c: test the move and swap functions on a
328 store with only one node.
330 2007-12-13 Kristian Rietveld <kris@imendio.com>
332 * gtk/gtktestutils.c (gtk_test_init): add a call to
335 * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
338 2007-12-13 Kristian Rietveld <kris@imendio.com>
340 * gtk/tests/liststore.c:
341 * gtk/tests/treestore.c: start composing tests for the list and tree
344 * gtk/tests/treeview-scrolling.c: added automated tests for
345 GtkTreeView's scrolling "subsystem".
347 * gtk/tests/Makefile.am: updated; added new test programs.
349 2007-12-13 Mathias Hasselmann <mathias@openismus.com>
351 Make the code compile again after the GdkAppLaunchContext changes.
353 * configure.in: Add gio-2.0 to GDK_PACKAGES.
354 * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
356 2007-12-12 Matthias Clasen <mclasen@redhat.com>
358 * gdk/gdkapplaunchcontext.c: Add docs
360 2007-12-12 Matthias Clasen <mclasen@redhat.com>
362 * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext
363 in gdk, providing startup notification. (#503203)
365 * gdk/x11/gdkapplaunchcontext-x11.c:
366 * gdk/win32/gdkapplaunchcontext-win32.c:
367 * gdk/quartz/gdkapplaunchcontext-quartz.c:
368 * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
369 parts. All but X11 are just empty stubs for now.
372 * gdk/gdkinternals.h:
374 * gdk/x11/Makefile.am:
375 * gdk/win32/Makefile.am:
376 * gdk/quartz/Makefile.am:
377 * gdk/directfb/Makefile.am: Necessary glue.
379 2007-12-12 Mathias Hasselmann <mathias@openismus.com>
381 * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
383 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
385 * gdk/directfb/gdktestutils-directfb.c:
386 * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
387 which adds testing functions to the DirectFB backend.
389 2007-12-11 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
391 * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
392 Ciccani which fixes the mixing of gdk and cairo rendering.
394 2007-12-11 Mathias Hasselmann <mathias@openismus.com>
396 * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
397 on "drag-motion" handlers. Clearify documentation for
400 2007-12-11 15:44:01 Tim Janik <timj@imendio.com>
402 * buildertest.c: made unnecessarily exported symbols static.
403 switched g_return_if_fail() statements in tests to assertions.
404 special cased currently failing Widget/accesibility test to
405 run only for g_test_thorough(), so it doesn't break make check.
406 some coding style fixes.
408 * Makefile.am: added buildertest to TEST_PROGS.
410 2007-12-11 Stefan Kost <ensonic@users.sf.net>
412 * docs/tutorial/gtk-tut.sgml:
413 Use gtk_widget_get_parent_window() instead of widget->parent->window.
415 2007-12-10 Richard Hult <richard@imendio.com>
417 * gdk/quartz/Makefile.am:
418 * gdk/quartz/gdkquartz.h:
419 * gdk/quartz/gdkwindow-quartz.c: Install backend specific
420 header (bug #405915). Also add a getter for the toplevel nswindow.
422 2007-12-10 Richard Hult <richard@imendio.com>
424 * gdk/quartz/gdkdrawable-quartz.c:
425 (gdk_quartz_drawable_get_context),
426 (gdk_quartz_drawable_release_context):
427 * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
428 (gdk_event_check), (gdk_event_dispatch), (poll_func):
429 * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
430 used for each drawing context and in prepare, dispatch and poll
431 with one that exists across each main loop iteration. Fixes leaks
432 on leopard and protects against future leaks introduce when the
433 underlying system changes again (bug #492977).
435 2007-12-10 Richard Hult <richard@imendio.com>
437 * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
438 Fix the check for no changes to position and size.
440 2007-12-10 Richard Hult <richard@imendio.com>
442 * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
443 sized areas at (0, 0), patch from Paul Davis.
445 2007-12-10 Richard Hult <richard@imendio.com>
447 * gdk/quartz/gdkprivate-quartz.h:
448 * gdk/quartz/gdkeventloop-quartz.c:
449 (_gdk_quartz_event_loop_get_pending),
450 (_gdk_quartz_event_loop_check_pending),
451 (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
452 (gdk_event_check), (gdk_event_dispatch):
453 * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
454 (_gdk_events_queue): Fix a bug where we could end up trying to
455 handle the same event more than once. Based on patch from Paul
458 2007-12-10 Tor Lillqvist <tml@novell.com>
460 * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
463 2007-12-10 Matthias Clasen <mclasen@redhat.com>
465 * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
466 to avoid further fallout from the fix for bug 388321.
468 2007-12-09 09:56:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
470 * gdk/directfb/gdkgc-directfb.c:
471 * gdk/directfb/gdkdrawable-directfb.c:
472 * gdk/directfb/gdkdirectfb.h:
473 * gdk/directfb/gdkwindow-directfb.c:
474 * gdk/directfb/gdkprivate-directfb.h: Committed several patches
475 (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
476 blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
477 opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
478 which are expected to improve the performance of the DirectFB backend.
479 Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
481 2007-12-07 Matthias Clasen <mclasen@redhat.com>
483 * gtk/gtkcontainer.c: Correct the documentation of child
484 property getter arguments. (#501992, David Brigada)
486 2007-12-07 Matthias Clasen <mclasen@redhat.com>
488 * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
489 leak pixbufs. (#502250, Yevgen Muntyan)
491 2007-12-07 Yevgen Muntyan <muntyan@tamu.edu>
493 * gtk/gtkprintunixdialog.c:
494 * gtk/gtkpagesetupunixdialog.c: added alternative button order in
495 Print and Page Setup dialogs (#502202).
497 2007-12-07 13:16:33 Tim Janik <timj@imendio.com>
499 * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
500 Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
501 of XVFB_START, since it's the GTESTER invokation that needs this.
503 2007-12-06 Tommi Komulainen <tommi.komulainen@iki.fi>
505 * gdk-pixbuf/gdk-pixbuf.symbols:
507 * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
508 positives in abicheck.sh
510 2007-12-06 18:45:06 Attilio Fiandrotti <attilio.fiandrotti@gmail.com>
512 * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
513 GDK events generations in the DirectFB backend.
515 2007-12-06 13:55:06 Tim Janik <timj@imendio.com>
517 * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
518 set of likely unused display ids, because MacOS has no seq(1) command.
520 2007-12-06 Richard Hult <richard@imendio.com>
522 * gdk/quartz/gdkevents-quartz.c:
523 (synthesize_crossing_events_for_ns_event): Fix warning when
524 switching spaces in leopard.
526 2007-12-06 13:38:36 Tim Janik <timj@imendio.com>
528 * tests/floatingtest.c: ported to new testing framework.
530 * tests/Makefile.am: run floatingtest as testing framework test.
532 2007-12-06 10:44:52 Tim Janik <timj@imendio.com>
534 * tests/autotestfilechooser.c: majorly speed up execution by reducing
535 timeouts and converting main loop sleeps to pending/iterate loops with
536 very low priority async handlers. eliminate output for non-verbose
537 tests. assert successfull subtests in all test functions. use testing
540 * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
541 executed inside Xvfb upon make check.
543 2007-12-06 08:23:38 Tim Janik <timj@imendio.com>
545 * tests/objecttests.c: use string comparisons for string property
546 values and get rid of referencing symbols in array initialization.
548 2007-12-05 18:59:59 Tim Janik <timj@imendio.com>
550 * gtk+/Makefile.decl: run tests in current dir after setting up the
551 logging directory, so their results get properly merged into the
554 * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
555 tests to loop over registered Gdk/Gtk+ types.
557 * gtk+/tests/objecttests.c: new test program, implements automated
558 property tests. several properties are blacklisted because they
559 seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
560 can be used to test blacklisted properties and see which proprty failed.
562 2007-12-04 Richard Hult <richard@imendio.com>
564 * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
565 Fully initialize the root window, fixes bug #501583.
567 2007-12-04 Matthias Clasen <mclasen@redhat.com>
569 * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
572 2007-12-03 Richard Hult <richard@imendio.com>
574 * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
575 Don't crash when dragging from a source that doesn't support uri
576 lists (bug #499868, Paul Davis).
578 2007-12-03 Richard Hult <richard@imendio.com>
580 * gdk/quartz/gdkwindow-quartz.c:
581 (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
582 parent relative bg pixmap is set, and no parent has a bg
583 pixmap. Fixes bug #500804.
585 2007-12-03 Matthias Clasen <mclasen@redhat.com>
587 Two optimizations for icon cache lookups.
589 * gtk/gtkiconcache.[hc]:
590 * gtk/gtkicontheme.c: Remember the directory index for
591 subdirectories, instead of running over the directory list
594 * gtk/gtkiconcache.c (find_image_offset): Remember the last
595 chain and try it first; this helps with the the usage patterns
596 in gtkicontheme.c, where the same icon is queried for a lot
599 2007-12-03 15:18:17 Tim Janik <timj@imendio.com>
601 * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
602 functions from header files. this should be portable across linux and
603 Mac OS, unlike the previpous sed expression.
605 2007-12-1 Cody Russell <bratsche@gnome.org>
607 * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
608 On Windows, queue a redraw of child2 whenever we set
609 the pane handle position. This is unfortunately kind
610 of hacky, but solves the visual artifacts that were
611 occuring on at least certain types of child widgets
612 (e.g., text views and tree views) that are inside
613 horizontal or vertical panes. (#144269)
615 2007-11-30 Matthias Clasen <mclasen@redhat.com>
617 * gtk/gtkrc.c: Fix doc typos. (#500672, David Lambert)
619 2007-11-29 Matthias Clasen <mclasen@redhat.com>
621 * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
624 2007-11-29 Matthias Clasen <mclasen@redhat.com>
626 * gtk/Makefile.am: Fix ordering of subdirs.
628 2007-11-28 Tor Lillqvist <tml@novell.com>
630 A proper build of GNU libintl is supposed to export the variable
631 _nl_msg_cat_cntr. configure looks for that variable in order to
632 recognize GNU gettext. If it sees that it is indeed GNU gettext
633 that is used, it decides to install message catalogs in
634 share/locale, otherwise in lib/locale. Until now on Windows I have
635 built GTK+ against a build of GNU gettext that did not export
636 _nl_msg_cat_cntr. But this will change, so we can't assume message
637 catalogs are always in lib/locale.
639 * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
640 GTK_LOCALEDIR being either in "lib" or "share". Move the function
641 before the inclusion of gtkprivate.h so that it sees the original
644 * gtk-zip.sh.in: Check whether the message catalogs are in
645 share/locale or lib/locale.
647 * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
648 that the code in _gtk_get_localedir() will find the slashes.
650 2007-11-28 Tor Lillqvist <tml@novell.com>
652 * gtk/Makefile.am: Improve portability. The -o option is present
653 only in newish GNU egreps. Use one more sed in the pipeline
656 2007-11-28 Tor Lillqvist <tml@novell.com>
658 Fix #375893, patch by Ben Hague:
660 * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
661 around GetLogicalDrives() that takes also the viewable drive
662 restrictions in the Registry (which are usually the result of an
663 Active Directory Group Policy) into account.
665 (check_volumes, gtk_file_system_win32_list_volumes) Call
666 get_viewable_logical_drives() instead of GetLogicalDrives().
668 2007-11-27 Matthias Clasen <mclasen@redhat.com>
670 * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
671 variables to silence valgrind. (#495124, Morten Welinder)
673 2006-11-26 Ryan Lortie <desrt@desrt.ca>
675 * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
676 that the construct_child function is responsible for returning a
678 * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
679 objects from constructors
680 * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
681 g_object_ref() to this construction function (it's the only
686 2006-11-26 Ryan Lortie <desrt@desrt.ca>
688 * gtkbuilder.c: remove concept of root objects and just refcount
689 all objects in the builder. Fixes #496651.
691 2007-11-26 Ryan Lortie <desrt@desrt.ca>
693 * tests/buildertest.c (test_window): fix invalid free
695 2007-11-26 Josselin Mouette <joss@malsain.org>
697 reviewed by: Federico Mena Quintero
699 * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
700 (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
701 (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
702 Make the shortcuts activate with a single click. (#148828)
703 Fix a few things affected by the change:
704 - Set selection mode to GTK_SELECTION_SINGLE to allow a case
705 where no shortcut is selected.
706 - Don't activate a shortcut in the response callback.
707 - Filter out duplicate entries in volumes and bookmarks to
708 avoid the selection to change when reordering them with DnD.
710 2007-11-26 Matthias Clasen <mclasen@redhat.com>
714 * gtk/gtkplugprivate.h:
716 * gtk/gtksocketprivate.h:
717 * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
719 2007-11-26 Matthias Clasen <mclasen@redhat.com>
721 * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
722 (#495574, Richard Hult)
724 2007-11-26 Matthias Clasen <mclasen@redhat.com>
726 * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
727 String change ! (#376361, Sven Neumann)
729 2007-11-26 Matthias Clasen <mclasen@redhat.com>
731 * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
733 (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
736 2007-11-26 Matthias Clasen <mclasen@redhat.com>
738 * gtk/gtkassistant.c: Improve alternative button
739 ordering. (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
741 2007-11-26 Matthias Clasen <mclasen@redhat.com>
743 * gtk/gtkcalendar.c: Fix a theming problem with colors
744 in GtkCalendar. (#499703, Michael Hofmann)
746 2007-11-26 Matthias Clasen <mclasen@redhat.com>
748 * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
750 2007-11-26 Matthias Clasen <mclasen@redhat.com>
752 Use templates for glib-mkenums calls instead of
753 complicated commandlines in Makefiles. (#429910)
755 * gdk-pixbuf/Makefile.am:
758 * perf/Makefile.am: Use templates for glib-mkenums
760 * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
761 * gdk/gdkenumtypes.[ch].template:
762 * gtk/gtktypebuiltings.[ch].template:
763 * perf/typebuiltins.[ch].template: The templates
765 2007-11-26 Matthias Clasen <mclasen@redhat.com>
767 * gtk/gtkfilechooserbutton.c:
768 * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
769 some compilers choke on that. (#467722)
771 2007-11-26 Matthias Clasen <mclasen@redhat.com>
773 * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
774 about hook setup. (#425004, Emmanuele Bassi)
776 2007-11-26 Tor Lillqvist <tml@novell.com>
778 * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
779 monitor the window currently is on, not always the primary
780 monitor. (#463865, Tim Evans)
782 2007-11-26 Tor Lillqvist <tml@novell.com>
784 * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
786 * gdk/win32/Makefile.am: Add it.
788 2007-11-26 Tor Lillqvist <tml@novell.com>
790 * configure.in: Don't add jasper to all_loaders if no libjasper.
792 2007-11-25 Bastien Nocera <hadess@hadess.net>
794 * configure.in: Add detection for libjasper, used by the
795 gdk-pixbuf JPEG2000 loader
797 2007-11-25 Matthias Clasen <mclasen@redhat.com>
799 * configure.in: Require gtk-doc 1.8
801 * */*.c: Use gtk-doc abbreviations for examples in docs.
803 2007-11-25 Matthias Clasen <mclasen@redhat.com>
805 * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
808 2007-11-25 Matthias Clasen <mclasen@redhat.com>
810 * gtk/gtkdialog.c: Move signal and property documentation inline,
811 fix a problem with the ::response signal docs. (#499133, Josselin
814 2007-11-22 15:48:26 Tim Janik <timj@imendio.com>
816 * Makefile.decl: initialize automake variables EXTRA_DIST and
817 TEST_PROGS for unconditional appending via += in other makefiles.
818 define recursive test targets: test, test-report, perf-report,
819 full-report, as described here:
820 http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
821 the test targets will execute Gtk+ test programs within an Xvfb session.
823 * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
825 * gtk/tests/testing.c: use g_test_add_func() to register tests and use
826 g_test_run() to run the tests to integrate with the testing framework.
828 * gtk/tests/Makefile.am: removed exemplary testing rules.
830 * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
831 * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
832 * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
833 * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
834 * docs/reference/Makefile.am, docs/tools/Makefile.am:
835 * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
836 * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
837 * demos/gtk-demo/Makefile.am, demos/Makefile.am:
838 * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
839 * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
840 * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
841 * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
842 * modules/engines/ms-windows/Theme/Makefile.am:
843 * modules/engines/ms-windows/Makefile.am:
844 * modules/engines/Makefile.am, modules/engines/pixbuf/Makefile.am:
845 * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
846 * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
847 * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
848 * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
849 * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
850 include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
852 2007-11-22 Matthias Clasen <mclasen@redhat.com>
854 * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
855 (#485662, patch by Herbert Valerio Riedel)
857 2007-11-22 Matthias Clasen <mclasen@redhat.com>
859 * gtk/gtktextiter.c: Fix an aliasing problem. (#347585, Ed Catmur)
861 2007-11-21 Richard Hult <richard@imendio.com>
863 * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
864 stubs for the testing functions to fix the build.
866 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
868 * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
869 (#467711, The Written Word)
871 2007-11-21 Ross Burton <ross@openedhand.com>
873 * gdk/x11/gdksettings.c:
874 Add xsetting for gtk-scrolled-window-placement (#458103).
876 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
878 * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
879 (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
880 (#469239, Michael Natterer)
882 2007-11-21 Behdad Esfahbod <behdad@gnome.org>
884 * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
885 Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
886 gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
887 (#436536, Tommi Komulainen)
889 2007-11-21 Matthias Clasen <mclasen@redhat.com>
891 * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
892 property. (#489782, Jan Janech)
894 2007-11-20 Matthias Clasen <mclasen@redhat.com>
896 * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
897 frames. (#107398, Owen Taylor, Miguel Gomez)
899 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
901 Moved Gdk test functions from Gtk+ to Gdk test utils.
903 * gdk/Makefile.am: added gdktestutils.h to public includes.
905 * gdk/gdk.h: added gdktestutils.h to public includes.
907 * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
908 gdk_test_render_sync.
910 * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
911 gdk_test_simulate_key, gdk_test_render_sync.
913 * gdk/x11/Makefile.am: build gdktestutils-x11.c.
915 * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
916 gdk_test_simulate_key, gdk_test_render_sync.
918 * gtk/gtktestutils.c:
919 * gtk/gtktestutils.h:
920 * gtk/gtk.symbols: removed gtk_test_simulate_button
921 gtk_test_simulate_key, gtk_test_xserver_render_sync.
923 * gtk/tests/testing.c: call gdk_test_render_sync.
925 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
927 Added unit tests for Gtk+ testing utilities.
929 * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
930 utility functions. some g_test_* related portions are disabled and need
931 to be enabled once Gtk+ depends on a new glib with the GLib testing
932 framework integrated.
934 * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
935 added exemplary test rules to run tests inside Xvfb. this needs to depend
936 on gtester for full fledged testing.
938 * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
939 collecting _get_type functions to catch e.g. gtk_text_get_type().
941 * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
943 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
945 Added Gtk+ testing utilities.
947 * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
948 for the most part, the functions herein involve navigating and interacting
949 with dialog elements programatically, to automate user interaction tests of
952 * gtk/gtk.h: include gtk/gtktestutils.h as public API.
954 * gtk/gtk.symbols: added gtk_test_* symbols.
956 * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
957 generate gtktypefuncs.c which contains a list of all _get_type functions in
959 2007-11-20 Bastien Nocera <hadess@hadess.net>
961 * configure.in: add support for conditional icns gdk-pixbuf loader
964 2007-11-19 10:31:26 Tim Janik <timj@imendio.com>
966 * configure.in: updated version number to 2.15.0 for development.
968 2007-11-19 10:27:39 Tim Janik <timj@imendio.com>
970 === Branch for 2.12 ===