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