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