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