]> Pileus Git - ~andy/gtk/blob - ChangeLog
424b585ecc3bf983bb5800a3389ddeb72024200b
[~andy/gtk] / ChangeLog
1 2008-02-07  Michael Natterer  <mitch@imendio.com>
2
3         * gtk/gtkaction.c
4         * gtk/gtkassistant.c
5         * gtk/gtkbin.c
6         * gtk/gtkbox.c
7         * gtk/gtkcalendar.c
8         * gtk/gtkcellrenderercombo.c
9         * gtk/gtkcombobox.c
10         * gtk/gtkcombo.c
11         * gtk/gtkdrawingarea.c
12         * gtk/gtkentrycompletion.c
13         * gtk/gtkfixed.h
14         * gtk/gtkgamma.c
15         * gtk/gtkhpaned.c
16         * gtk/gtkiconview.c
17         * gtk/gtkitem.c
18         * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
19         functions and virtual function implementations.
20
21 2008-02-07  Christian Persch  <chpe@gnome.org>
22
23         * gdk/gdkpixbuf-render.c:
24         (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
25         alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
26         otherwise there will be random pixel values in the semi-transparent
27         area of the pixbuf within the mask. Bug #487865.
28
29 2008-02-06  Cody Russell  <bratsche@gnome.org>
30
31         * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
32         otherwise things get wonky when you click on a menu.  This fixes
33         a regression caused in #505928.  Thanks to Tor for spotting this
34         one!  (#514789)
35
36 2008-02-06  Michael Natterer  <mitch@imendio.com>
37
38         * gtk/gtkcontainer.c
39         * gtk/gtkexpander.c
40         * gtk/gtkframe.c
41         * gtk/gtklabel.c
42         * gtk/gtkmain.c
43         * gtk/gtkmenu.c
44         * gtk/gtkmenuitem.c
45         * gtk/gtkmenushell.c
46         * gtk/gtknotebook.c
47         * gtk/gtkseparatortoolitem.c
48         * gtk/gtksocket.c
49         * gtk/gtktextlayout.c
50         * gtk/gtktoggletoolbutton.c
51         * gtk/gtktoolbutton.c
52         * gtk/gtktoolitem.c
53         * gtk/gtktree.c
54         * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
55         "GTK_IS_FOO (foo)".
56
57 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
58
59         * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
60         Allow to store half-open ranges.
61
62 2008-02-05  Cody Russell  <bratsche@gnome.org>
63
64         * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
65         down the stack until we get to a window that is mapped.
66         Otherwise hiding a window will cause all windows in the app
67         to be blocked. (#514643)
68
69 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
70
71         * gtk/updateiconcache.c: Ignore images in the toplevel theme
72         directory, avoiding one source of invalid caches that has been
73         spotted in the wild.
74
75 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
76
77         * gtk/updateiconcache.c: Fix the previous commit to compile.
78
79 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
80
81         * gtk/updateiconcache.c: Install a printerr handler that
82         prepends the program name, since gtk-update-icon-cache output
83         often appears in the middle of other output, e.g. rpm update logs.
84
85 2008-02-05  Cody Russell  <bratsche@gnome.org>
86
87         * gdk/win32/gdkprivate-win32.h
88         * gdk/win32/gdkevents-win32.c
89         * gdk/win32/gdkwindow-win32.c
90         * gdk/win32/gdkwindow-win32.h
91         * gdk/win32/gdkwin32.h:
92         Modal window rework.  (#455627 and #511111)
93
94 2008-02-04  Michael Natterer  <mitch@imendio.com>
95
96         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
97         g_return_if_fail() if the cell is not part of the combo instead of
98         crashing in the next line.
99
100 2008-02-01  Cody Russell  <cody@jhu.edu>
101
102         * modules/engines/ms-windows/xp_theme.[ch]
103         * modules/engines/ms-windows/xp_theme_defs.h
104         * modules/engines/ms-windows/msw_rc_style.c
105         * modules/engines/ms-windows/msw_theme_main.c
106         * modules/engines/ms-windows/msw_style.c: Re-indented and generally
107         attempted to stylize more like the rest of the gtk+ stack's code.
108
109 2008-02-01  Michael Natterer  <mitch@imendio.com>
110
111         * tests/testgtk.c: initialize GdkColor structs to fix warning
112         about uninitialized "pixel" member.
113
114         * tests/testactions.c: connect the toolbar_style() callback so it
115         does something useful and doesn't warn about being defined but not
116         used.
117
118 2008-01-31  Cody Russell  <bratsche@gnome.org>
119
120         * gdk/win32/gdkevents-win32.c:
121         Refactored some of the window hiding/showing code from
122         WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND.  Having this
123         under WM_ACTIVATE was causing the application to go into
124         a weird state when the user right-clicked on the taskbar
125         entry of a window that was minimized.  (#505928)
126         
127 2008-01-31  Cody Russell  <bratsche@gnome.org>
128
129         * gtk/gtkpaned.c (gtk_paned_set_position):
130         Change queue_resize() to queue_draw(), and add a check for
131         child2 != NULL in case someone calls this before there is
132         a child packed in there.  (#144269 again)
133
134 2008-01-31  Sven Neumann  <sven@gimp.org>
135
136         * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
137         applied patch from Denis Oliver Kropp <dok@directfb.org>.
138
139 2008-01-31  Sven Neumann  <sven@gimp.org>
140
141         * gdk/directfb/gdkdisplay-directfb.c
142         * gdk/directfb/gdkdrawable-directfb.c
143         * gdk/directfb/gdkprivate-directfb.h
144         * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
145         Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
146
147 2008-01-31  Richard Hult  <richard@imendio.com>
148
149         * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
150         issues with undecorated windows. Revert the change done on
151         2008-01-25 and fix it by using the view's bounds instead. The
152         bounds will always be up to date when setting up the tracking
153         rect, so this should be more robust.
154
155 2008-01-30  Sven Neumann  <sven@gimp.org>
156
157         * gdk/directfb/gdkdrawable-directfb.c
158         * gdk/directfb/gdkwindow-directfb.c
159         * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
160         Oliver Kropp <dok@directfb.org>. Adds debug messages using
161         DirectFB's debugging system
162
163 2008-01-30  Sven Neumann  <sven@gimp.org>
164
165         * gdk/directfb/gdkdirectfb.h
166         * gdk/directfb/gdkdisplay-directfb.c
167         * gdk/directfb/gdkdrawable-directfb.c
168         * gdk/directfb/gdkim-directfb.c
169         * gdk/directfb/gdkimage-directfb.c
170         * gdk/directfb/gdkinput-directfb.c
171         * gdk/directfb/gdkmain-directfb.c
172         * gdk/directfb/gdkpixmap-directfb.c
173         * gdk/directfb/gdktestutils-directfb.c
174         * gdk/directfb/gdkvisual-directfb.c
175         * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
176         Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
177         errors and has some cleanups.
178
179 2008-01-30  Michael Natterer  <mitch@imendio.com>
180
181         * gtk/gtkbuilderparser.c (parse_custom): use the right type for
182         "subparser_data" and remove the (gpointer*) cast. Fixes bogus
183         aliasing warning.
184
185         * gtk/updateiconcache.c (add_string): cast const gchar* to
186         gpointer when inserting in a GHashTable.
187
188         * tests/testcalendar.c (calendar_detail_cb): remove const from
189         return value since it's a newly allocated string.
190
191         (calendar_update_details): free the detail.
192
193 2008-01-29  Johan Dahlin  <johan@gnome.org>
194
195         * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
196         (do_builder):
197         * demos/gtk-demo/demo.ui:
198         Move the about dialog to the glade file, add accessible tags
199         examples to the markup file.
200
201 2008-01-28  Paolo Borelli  <pborelli@katamail.com>
202
203         * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
204         layout, fixes #512375.
205
206 2008-01-28  Michael Natterer  <mitch@imendio.com>
207
208         * gtk/gtktextchild.c
209         * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
210
211 2008-01-28  Michael Natterer  <mitch@imendio.com>
212
213         * demos/gtk-demo/builder.c (about_activate): use
214         gtk_about_dialog_set_program_name() instead of the deprecated
215         set_name().
216
217 2008-01-28  Michael Natterer  <mitch@imendio.com>
218
219         * gtk/gtktextchild.c
220         * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
221         is deprecated now).
222
223 2008-01-26  Johan Dahlin  <johan@gnome.org>
224
225         * tests/Makefile.am:
226         * tests/textbuffertest.c:
227         Rename textbuffer test and port it to the new test framework
228         
229 2008-01-25  Johan Dahlin  <johan@gnome.org>
230
231         * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
232         unsetting of GTK_MODULES.
233
234         * gtk/gtk-builder-convert
235         (GtkBuilderConverter._convert_adjustment): Handle the case where
236         there is no child text node.
237         (GtkBuilderConverter): Allow xml comments in most places.
238
239 2008-01-25  Johan Dahlin  <johan@gnome.org>
240
241         * gtk/gtk-builder-convert
242         (GtkBuilderConverter._convert_combobox_items): Remove the items
243         even if there are no items set.
244         (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
245         signals and tooltips for all menu items subclasses and 
246         GtkImageMenuItem:label. 
247         Makes it possible to fully convert and run Jokosher.glade.
248
249 2008-01-25  Johan Dahlin  <johan@gnome.org>
250
251         * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
252         (gtk_widget_buildable_get_internal_child), (free_action),
253         (free_relation), (gtk_widget_buildable_parser_finished),
254         (accessibility_start_element),
255         (gtk_widget_buildable_custom_tag_start),
256         (gtk_widget_buildable_custom_finished):
257         Implement accessible support, fixes #454653.
258
259         * gtk/gtk-builder-convert:
260         Add support for migrating old glade files
261         
262         * tests/buildertest.c: (test_widget), (test_file):
263         Add accessible tests and imprve the test_file function to display
264         toplevels and run dialogs.
265
266 2008-01-25  Richard Hult  <richard@imendio.com>
267
268         * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
269         didn't change, fixes focus event issues for undecorated windows.
270
271 2008-01-25  Richard Hult  <richard@imendio.com>
272
273         * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
274         const and remove unused variables).
275
276 2008-01-25  Michael Natterer  <mitch@imendio.com>
277
278         * gtk/gtkbutton.h
279         * gtk/gtkcellrenderer.h
280         * gtk/gtkimcontext.h
281         * gtk/gtkstyle.h
282         * gtk/gtktoolbar.h
283         * gtk/gtktooltip.h
284         * gtk/gtktreeprivate.h
285         * gtk/gtktreeviewcolumn.h
286         * gtk/gtkwidget.h: add const to constant structs which are passed
287         into GTK+. Also add some forgotten const for const strings.
288         Fixes bug #511554.
289
290         * gtk/gtkbutton.c
291         * gtk/gtkcellrenderer.c
292         * gtk/gtkimcontext.c
293         * gtk/gtkstyle.c
294         * gtk/gtktoolbar.c
295         * gtk/gtktooltip.c
296         * gtk/gtktreeview.c
297         * gtk/gtktreeviewcolumn.c
298         * gtk/gtkwidget.c: changed accordingly.
299
300 2008-01-25  Sven Herzberg  <sven@imendio.com>
301
302         Reviewed by Johan Dahlin.
303
304         * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
305         this is called with something that's not a GtkUIManager
306
307 2008-01-24  Johan Dahlin  <johan@gnome.org>
308
309         * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child): 
310         Chain up to parent, so widgets can have internal children.
311
312 2008-01-22  Mathias Hasselmann  <mathias@openismus.com>
313
314         Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
315         IWAMOTO).
316
317         * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
318
319 2008-01-22  Mathias Hasselmann  <mathias@openismus.com>
320
321         Use pango_layout_set_height() for calendar details (#506049).
322
323         * configure.in: Require 1.19.3 for pango_layout_set_height().
324         * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
325
326 2008-01-18  Johan Dahlin  <johan@gnome.org>
327
328         * gtk/gtk-builder-convert (get_property_node): New method
329         (GtkBuilderConverter._create_object): Conditionally take a node as
330         a property value, so don't lose translate/context attributes if they
331         are set. 
332         (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
333         property values instead of strings.
334         (#509153, Erik van Pienbroek)
335
336 2008-01-16  Mathias Hasselmann  <mathias@openismus.com>
337
338         Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
339
340         * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
341         * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
342         * tests/testcalendar.c: Duplicate calendar details before returning.
343
344 2008-01-16  Christian Persch  <chpe@gnome.org>
345
346         * gtk/gtkwidget.c: Store the event mask and extension event mode
347         directly in the gobject data pointer, instead of in an allocated
348         gint. Bug #506604.
349
350 2008-01-16  Michael Natterer  <mitch@imendio.com>
351
352         * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
353         gdk-pixbuf now uses gio functions.
354
355 2008-01-16  Matthias Clasen  <mclasen@redhat.com>
356
357         * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
358         the notify::model signal.  (#509819, David Zeuthen)
359
360 2008-01-15  Michael Natterer  <mitch@imendio.com>
361
362         * gdk/gdkdisplay.h
363         * gdk/gdkdrawable.h
364         * gdk/gdkevents.h
365         * gdk/gdkpango.h
366         * gdk/gdkregion.h
367         * gdk/gdkrgb.h
368         * gdk/gdkwindow.h: made more struct pointer and array parameters
369         const. GDK should now be constified as far as possible without
370         breaking source compatibility. Includes some minor cleanup like
371         indentation and s/nfoo/n_foo/ (bug #508544).
372
373         * gdk/gdkdisplay.c
374         * gdk/gdkdraw.c
375         * gdk/gdkevents.c
376         * gdk/gdkpango.c
377         * gdk/gdkregion-generic.c
378         * gdk/gdkrgb.c
379         * gdk/directfb/gdkdisplay-directfb.c
380         * gdk/directfb/gdkwindow-directfb.c
381         * gdk/quartz/gdkdisplay-quartz.c
382         * gdk/quartz/gdkwindow-quartz.c
383         * gdk/win32/gdkdisplay-win32.c
384         * gdk/win32/gdkwindow-win32.c
385         * gdk/x11/gdkdisplay-x11.c
386         * gdk/x11/gdkwindow-x11.c: changed accordingly.
387
388 2008-01-14  Michael Natterer  <mitch@imendio.com>
389
390         * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
391         const warning.
392
393         (gtk_rc_parse_any): change variables to const and introduce
394         another local variable to fix const warnings.
395
396 2008-01-14  Michael Natterer  <mitch@imendio.com>
397
398         * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
399         of gdk_screen_get_font_options() to gpointer to get rid of const
400         warning.
401
402 2008-01-14  Michael Natterer  <mitch@imendio.com>
403
404         * tests/testdnd.c (source_drag_data_get): fix another call to
405         gtk_selection_data_set().
406
407 2008-01-14  Michael Natterer  <mitch@imendio.com>
408
409         * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
410         signedness warning.
411
412 2008-01-14  Michael Natterer  <mitch@imendio.com>
413
414         * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
415
416 2008-01-14  Michael Natterer  <mitch@imendio.com>
417
418         * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
419         "uris" to guchar* when passing it to gtk_selection_data_set().
420
421 2008-01-14  Michael Natterer  <mitch@imendio.com>
422
423         * gdk/gdk.h
424         * gdk/gdkcairo.h
425         * gdk/gdkcolor.h
426         * gdk/gdkgc.h
427         * gdk/gdkinternals.h
428         * gdk/gdkregion.h
429         * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
430         parameters const (bug #508544).
431
432         * gdk/gdkcairo.c
433         * gdk/gdkgc.c
434         * gdk/gdkwindow.c
435         * gdk/gdkrectangle.c
436         * gdk/gdkpolyreg-generic.c
437         * gdk/gdkregion-generic.c
438         * gdk/directfb/gdkcolor-directfb.c
439         * gdk/directfb/gdkgc-directfb.c
440         * gdk/directfb/gdkgeometry-directfb.c
441         * gdk/directfb/gdkwindow-directfb.c
442         * gdk/quartz/gdkcolor-quartz.c
443         * gdk/quartz/gdkgc-quartz.c
444         * gdk/quartz/gdkgeometry-quartz.c
445         * gdk/quartz/gdkwindow-quartz.c
446         * gdk/win32/gdkcolor-win32.c
447         * gdk/win32/gdkgc-win32.c
448         * gdk/win32/gdkgeometry-win32.c
449         * gdk/win32/gdkprivate-win32.h
450         * gdk/win32/gdkwindow-win32.c
451         * gdk/x11/gdkcolor-x11.c
452         * gdk/x11/gdkgc-x11.c
453         * gdk/x11/gdkgeometry-x11.c
454         * gdk/x11/gdkmain-x11.c
455         * gdk/x11/gdkprivate-x11.h
456         * gdk/x11/gdkwindow-x11.c: changed accordingly.
457
458         * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
459         headers.
460
461 2008-01-14  Mathias Hasselmann  <mathias@openismus.com>
462
463         Explain name choice for gtk_tool_item_toolbar_reconfigured.
464
465         * gtk/gtktoolitem.c: Add comment expaining name choice for
466         gtk_tool_item_toolbar_reconfigured.
467
468 2008-01-14  Mathias Hasselmann  <mathias@openismus.com>
469
470         Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
471         implementations to notify its children, when some aspect of their
472         configuration changed (#509042).
473
474         * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
475         * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
476         Rename _gtk_tool_item_toolbar_reconfigured.
477
478 2008-01-12  Mathias Hasselmann  <mathias@openismus.com>
479
480         Include <gtk/gtktoolshell.h> from gtk.h.
481
482         * gtk/gtk.h: Add gtktoolshell.h
483
484 2008-01-12  Mathias Hasselmann  <mathias@openismus.com>
485
486         Print angle brackets arround e-mail addresses in the about dialog
487         (#409520, Mariano Suárez-Alvarez).
488
489         * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
490
491 2008-01-11 13:28:02  Tim Janik  <timj@imendio.com>
492
493         * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
494         special casing so test widgets are always queues for destruction
495         during teardown.
496
497         * gtk/tests/testing.c: removed bits left-over from testing without
498         gtestutils.h.
499
500 2008-01-10  Tor Lillqvist  <tml@novell.com>
501
502         * modules/other/gail/libgail-util/Makefile.am
503         * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
504         gdktargetlib.
505         
506 2008-01-10  Tor Lillqvist  <tml@novell.com>
507
508         * tests/Makefile.am: Build defaultvaluetest only on Unix as it
509         uses gtkprintunixdialog API.
510
511 2008-01-10  Tor Lillqvist  <tml@novell.com>
512
513         * gdk/win32/gdkdisplay-win32.c
514         * gdk/win32/gdkglobals-win32.c
515         * gdk/win32/gdkprivate-win32.h
516         * gdk/win32/gdkscreen-win32.c
517         * gdk/win32/gdkwindow-win32.c: Implement
518         gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
519         and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
520         Iwamoto. (#505753)
521
522 2008-01-10  Cody Russell  <bratsche@gnome.org>
523
524         * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
525         Properly ref/unref windows and parents.  (#506769)
526
527 2008-01-10  Richard Hult  <richard@imendio.com>
528
529         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
530         (gdk_window_hide), (move_resize_window_internal): Move the
531         tracking rect workaround from here...
532
533         * gdk/quartz/GdkQuartzWindow.c:
534         * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
535         movements during showing/hiding operations. Fixes bug #508516.
536
537 2008-01-10  Michael Natterer  <mitch@imendio.com>
538
539         * gdk/directfb/gdkscreen-directfb.c
540         (gdk_screen_get_monitor_width_mm)
541         (gdk_screen_get_monitor_height_mm)
542         (gdk_screen_get_monitor_plug_name): add these functions to make
543         it build again.
544
545 2008-01-10  Emmanuele Bassi  <ebassi@gnome.org>
546
547         * gtk/gtkrecentchoosermenu.c:
548         (idle_populate_func), (idle_populate_clean_up): Fix possible
549         recursion by resetting the idle source id. (#507605, William
550         Pitcock)
551
552 2008-01-10  Kristian Rietveld  <kris@imendio.com>
553
554         * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
555         (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
556         avoid valgrind warnings.  (#507751, patch from Christian Persch).
557
558 2008-01-10  Kristian Rietveld  <kris@imendio.com>
559
560         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
561         a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
562
563 2008-01-10  Kristian Rietveld  <kris@imendio.com>
564
565         Fix #477175, reported by Juri Pakaste.
566
567         * gtk/gtktreeprivate.h:
568         * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
569         tree_view->priv->dy here directly, just calculate the new value
570         and set it on the adjustment,
571         (gtk_tree_view_adjustment_changed): add guards to not call
572         gtk_tree_view_dy_to_top_row() if we are currently in
573         gtk_tree_view_top_row_to_dy(),
574         (gtk_tree_view_put): fix coordinate annotation: these are bin_window
575         coordinates, not tree coordinates,
576         (gtk_tree_view_real_start_editing): add cast.
577
578         * gtk/tests/treeview-scrolling.c: add an assertion for checking the
579         position of the editable in the "create new row and start editing"
580         tests.
581
582 2008-01-09  Michael Natterer  <mitch@imendio.com>
583
584         * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
585         variable.
586
587         * gtk/gtkcombobox.c (gtk_combo_box_detacher)
588         * gtk/gtkicontheme.c (theme_list_contexts)
589         (gtk_icon_theme_lookup_icon)
590         * gtk/gtkimcontextsimple.c (beep_window)
591         * gtk/gtklinkbutton.c (set_link_color)
592         * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
593         fix warnings.
594
595         * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
596         variable and add const to another to fix a warning.
597
598 2008-01-07  Matthias Clasen  <mclasen@redhat.com>
599
600         * gtk/gtkassistant.c (remove_page): Be more robust when removing 
601         the current page.  (#499951, Andreas Sandberg)
602
603 2008-01-06  Johan Dahlin  <johan@gnome.org>
604
605         * gtk/gtkspinbutton.c: Declare value in the example code for
606         GtkSpinButton::output, as pointed out by Anders Carlsson.
607
608 2008-01-06  Christian Persch  <chpe@gnome.org>
609
610         * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
611         and remove an obsolete event box. Bug #506760.
612
613 2008-01-06  Johan Dahlin  <johan@gnome.org>
614
615         * tests/buildertest.c (test_domain): 
616         Update, GtkBuilder::translation-domain is no longer set
617         
618         * gtk/gtkbuilderparser.c (parse_interface): 
619         Allow domains to be overridden in <interface>'s if a translation-domain
620         is set in the builder.
621         (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
622         of the builder, make the domain set in the <interface> apply only to strings
623         in that interface.
624         (#496831, Ryan Lortie)
625
626         * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines 
627         to g_warning calls.
628
629         * gtk/gtktreestore.c (tree_model_end_element): 
630         Remove an unused variable
631
632 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
633
634         * gtk/gtkspinbutton.c: Document the ::output signal and
635         add an example.  (#507566, example by Owen Taylor)
636
637 2008-01-06  Johan Dahlin  <johan@gnome.org>
638
639         * gtk/gtkcellrenderercombo.c:
640         (gtk_cell_renderer_combo_get_property),
641         (gtk_cell_renderer_combo_set_property):
642         * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
643         * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
644         * gtk/gtknotebook.c: (gtk_notebook_set_property):
645         * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
646         * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
647         (gtk_text_buffer_get_property):
648         * gtk/gtktextview.c: (gtk_text_view_set_property):
649         * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
650         * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
651         (gtk_tool_button_get_property):
652         * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
653         (gtk_tool_item_get_property):
654         * gtk/gtktreeview.c: (gtk_tree_view_set_property):
655         * gtk/gtkwidget.c: (gtk_widget_set_property):
656         * gtk/gtkwindow.c: (gtk_window_set_property):
657         Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
658         Fixes #507585
659
660 2008-01-06  Johan Dahlin  <johan@gnome.org>
661
662         * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root): 
663         Make sure that --root works for toplevel widgets.
664         (#491847, Phil Lello)
665
666 2008-01-05  Johan Dahlin  <johan@gnome.org>
667
668         * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
669         to make sure that make test-report works properly
670
671 2008-01-05  Christian Persch  <chpe@gnome.org>
672
673         * tests/defaultvaluetest.c: Fix mem leak, and don't pass
674         GType as integer through gpointer. Bug #507395.
675
676 2008-01-04  Mathias Hasselmann  <mathias@openismus.com>
677
678         Avoid some compiler warnings (#507000).
679
680         * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
681         for value argument of _gtk_builder_flags_from_string.
682         * gtk/gtkwidget.c: Don't alias the child pointer passed
683         to gdk_window_get_user_data.
684
685 2008-01-04  Michael Natterer  <mitch@imendio.com>
686
687         * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
688         to set the time in the returned GdkTimeCoords.
689
690 2008-01-03  Emmanuele Bassi  <ebassi@gnome.org>
691
692         * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
693         correct comparison function (kudos to Christian Persch and
694         Claudio Saavedra for spotting this)
695
696         * gtk/gtkrecentchooserutils.c:
697         (sort_recent_items_mru),
698         (sort_recent_items_lru): Ditto as above.
699
700 2008-01-03  Johan Dahlin  <johan@gnome.org>
701
702         * tests/defaultvaluetest.c: Make it pass again.
703
704 2008-01-02  Johan Dahlin  <johan@gnome.org>
705
706         * tests/defaultvaluetest.c (test_type): Ignore a few more tests to 
707         make it pass on Ubuntu.
708         (main): Use gtk_test_list_all_types () instead of providing our
709         own list.
710         And it no longer passes.
711
712 2007-12-30  Johannes Schmid <jhs@gnome.org>
713
714         * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
715         Also reorder menu when reordering tabs by drag & drop
716         (Bug #506474)
717         
718         * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
719         Add a menu to one of the notebooks to have a test-case for
720         the change mentioned above.
721
722 2007-12-31  Philip Van Hoof  <pvanhoof@gnome.org>
723
724         * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
725
726 2007-12-31  Christian Persch  <chpe@gnome.org>
727
728         * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
729         Plug a mem leak. Bug #506107.
730
731 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
732
733         * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
734         icon cache api change.  (#506135, Kazuki Iwamoto)
735
736 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
737
738         Consider "wide-separators" and "separator-height" style properties:
739         The separator is drawn using gtk_paint_box instead of cairo, when
740         "wide-separators" is set. Also do not highlight details for previous
741         or next month, if their day matches the selected day. (#339540)
742
743         * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
744         in gtk_calendar_size_request and calendar_paint_day
745         * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
746         for selected detail separators in GtkCalendar.
747
748 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
749
750         Remove max_detail_height field from GtkCalendarPrivate. (#339540)
751
752         * gtk/gtkcalendar.c: Drop max_detail_height field, and use
753         a local variable instead in gtk_calendar_size_request.
754
755 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
756
757         * tests/defaultvaluetest.c: Add enough exclusions to make the
758         test succeed.
759
760 2007-12-28  Christian Persch  <chpe@gnome.org>
761
762         * modules/other/gail/Makefile.am:
763         * modules/other/gail/tests/*:
764         * configure.in: Merge tests from standalone gail. Bug #504568.
765
766 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
767
768         * gtk/gtkclipboard.c: Make the finalizer work when display is
769         not set.
770
771 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
772
773         Draw bottom shadow of GtkCalender headings. (#506113)
774
775         * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
776
777 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
778
779         * gtk/gtkcalendar.c: Document the initial values of year/month/day
780         properties.
781
782 2007-12-28  Christian Persch  <chpe@gnome.org>
783
784         * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
785         a mem leak. Bug #506096.
786
787 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
788
789         * gtk/gtktable.c:
790         * gtk/gtktreeview.c:
791         * gtk/gtkprintoperation.c:
792         * gtk/gtkprogressbar.c:
793         * gtk/gtkmessagedialog.c:
794         * gtk/gtknotebook.c:
795         * gtk/gtkprinter.c:
796         * gtk/gtkfilesel.c:
797         * gtk/gtklabel.c:
798         * gtk/gtklinkbutton.c:
799         * gtk/gtkmenu.c: More default property value corrections.
800
801 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
802
803         * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
804         accel_group unless it is set.
805
806 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
807
808         * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
809
810 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
811
812         * gtk/gtkhandlebox.c: Fix the default values of shadow and 
813         shadow-type properties.
814
815         * gtk/gtkfontsel.c: Fix the default values of several properties.
816
817         * gtk/gtkfilesel.c: Fix the default value of the show-fileops
818         property.
819
820         * gtk/gtkcurve.c: Fix the default value of the curve-type property.
821
822         * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
823         property.
824
825 2007-12-28  Johan Dahlin  <johan@gnome.org>
826
827         * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
828         (gtk_dialog_buildable_custom_tag_start): Chain up. 
829         This makes it possible to have accelerators tags on GtkDialog 
830         subclasses.
831
832 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
833
834         Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
835         are shown within the widget, or just as tooltip. (#339540)
836
837         * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
838         aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
839         * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
840         in flags vbox.
841
842 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
843
844         Try more decent appearance of calendar details separator. (#339540)
845
846         * gtk/gtkcalendar.c: Use different colors for drawing the separator,
847         and make it short by one pixel on each side.
848
849 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
850
851         Apply trivial code-style changes from attachement 101101. (#339540)
852
853         * tests/testcalendar.c: Some updates to current GTK+ code-style.
854
855 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
856
857         Restructure testcalendar for testing calendar details. (#339540)
858
859         * tests/testcalendar.c: Push code arround for testing calendar details.
860
861 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
862
863         Implement GtkTooltip API for calendar details. (#339540)
864
865         * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
866         Remember detail overflows in calendar_paint_day to show the tooltip
867         only when neccessary.
868
869 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
870
871         Without setting "detail-width-chars" and "detail-height-rows"
872         properties not only the widget has to be redrawn on certain
873         conditions, but also its size must be recalculated. (#339540)
874
875         * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
876         that function instead of gtk_widget_queue_draw.
877
878 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
879
880         Consider details for size-request and expose-event. (#339540)
881
882         * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
883         is_color_attribute functions. Change gtk_calendar_size_request
884         and calendar_paint_day to consider and show calender details.
885
886 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
887
888         * gtk/gtkcombobox.c: Introduce local priv variables to 
889         reduce ->->
890
891 2007-12-27  Matthias Clasen  <mclasen@redhat.com>
892
893         * gtk/gtkcombobox.c: Correct the default value for the 
894         tearoff-title property.
895
896         * gtk/gtkcellrenderertext.c: Fix the default value for the
897         wrap-mode and font-scale properties.
898
899         * gtk/gtkaspectratio.c: Fix the default value for the ratio
900         property.
901
902 2007-12-27  Matthias Clasen  <mclasen@redhat.com>
903
904         * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
905         defines.  (#505708,  MINAMI Hirokazu)
906
907 2007-12-27  Christian Persch  <chpe@gnome.org>
908         
909         * Makefile.am: Install gail.pc. Bug #505859.
910
911 2007-12-27  Mathias Hasselmann  <mathias@openismus.com>
912
913         Add infrastructure for GtkCalendar details. (#339540)
914
915         * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
916         Add "detail-width-chars" and "detail-height-rows" properties,
917         and gtk_calendar_set_detail_func function.
918
919 2007-12-27  Xan Lopez  <xan@gnome.org>
920
921         * gtk/gtk.symbols: 
922         * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy): 
923
924         Add gtk_border_new to avoid memory allocator confusions when using
925         GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
926
927 2007-12-27  Christian Persch  <chpe@gnome.org>
928
929         * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from 
930         bug #504886 not to read unitialised memory.
931
932 2007-12-26  Xan Lopez  <xan@gnome.org>
933
934         * gtk/gtkstatusbar.c (has_extra_children): take into account the
935         modification of the internal frame contents to decide if we have
936         extra children. (#415677)
937
938 2007-12-22  Christian Persch  <chpe@gnome.org>
939
940         * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
941
942 2007-12-25  Christian Persch  <chpe@gnome.org>
943
944         * modules/other/gail/gailwindow.c: (gail_window_initialize):
945         Initialise |widget|. Fixes a buglet introduced by the commit from bug
946         #505226.
947
948 2007-12-25  Christian Persch  <chpe@gnome.org>
949
950         * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
951         
952 2007-12-25  Christian Persch  <chpe@gnome.org>
953
954         * modules/other/gail/*.[ch]: Remove relocations from the atk
955         factories. Remove unused gail_foo_new() functions. Fix object
956         instantiation to be derivation safe by moving initialisation code
957         from the removed gail_foo_new() functions to the
958         AtkObjectClass::initialize implementation. Bug #505226.
959
960 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
961
962         * modules/other/gail/gailentry.c:
963         * modules/other/gail/gailimage.c:
964         * modules/other/gail/gailtextview.c: Remove non-multihead-safe
965         uses of clipboards and settings.  (#504722, Christian Persch)
966
967 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
968
969         * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
970          Kazuki IWAMOTO)
971
972 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
973
974         * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
975         use the time and button information from the event.  (#504901,
976         Peter Bloomfield)
977
978 2007-12-23  Cody Russell  <bratsche@gnome.org>
979
980         * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
981         the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
982         Fixes a regression caused by #164537 patch where transient
983         windows that are hidden get shown (incorrectly) when their
984         parents are minimized. (#504984)
985         
986 2007-12-22  Christian Persch  <chpe@gnome.org>
987
988         * modules/other/gail/gailcell.c:
989         * modules/other/gail/gailcontainercell.c:
990         * modules/other/gail/gailexpander.c:
991         * modules/other/gail/gailtextcell.c:
992         * modules/other/gail/gailtextview.c:
993         * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
994
995 2007-12-22  Christian Persch  <chpe@gnome.org>
996
997         * modules/other/gail/*.c: Include config.h. Bug #504720.
998
999 2007-12-22  Christian Persch  <chpe@gnome.org>
1000
1001         * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
1002         handwritten get_type functions. Bug #504661.
1003
1004 2007-12-23  Xan Lopez  <xan@gnome.org>
1005
1006         * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
1007         to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
1008
1009         Patch by Sadrul Habib Chowdhury (#504804)
1010
1011 2007-12-22  Christian Persch  <chpe@gnome.org>
1012
1013         * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
1014         #504645, patch by Li Yuan.
1015
1016 2007-12-22  Christian Persch  <chpe@gnome.org>
1017
1018         * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
1019
1020 2007-12-22  Christian Persch  <chpe@gnome.org>
1021         
1022         * modules/other/gail/gail.c:
1023         * modules/other/gail/gailbutton.c:
1024         * modules/other/gail/gailcell.c:
1025         * modules/other/gail/gailcombo.c:
1026         * modules/other/gail/gailcombo.h:
1027         * modules/other/gail/gailcombobox.c:
1028         * modules/other/gail/gailentry.c:
1029         * modules/other/gail/gailexpander.c:
1030         * modules/other/gail/gailmenuitem.c:
1031         * modules/other/gail/gailnotebook.c:
1032         * modules/other/gail/gailnotebookpage.c:
1033         * modules/other/gail/gailnotebookpage.h:
1034         * modules/other/gail/gailoptionmenu.c:
1035         * modules/other/gail/gailrange.c:
1036         * modules/other/gail/gailtextview.c:
1037         * modules/other/gail/gailtreeview.c:
1038         * modules/other/gail/gailtreeview.h:
1039         * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
1040         Bug #504571.
1041
1042 2007-12-22  Matthias Clasen  <mclasen@redhat.com>
1043
1044         * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
1045         Christian Persch)
1046
1047 2007-12-21  Richard Hult  <richard@imendio.com>
1048
1049         * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
1050         Plug leak of destroyed subviews, fixes bug #504753.
1051
1052 2007-12-20  Johan Dahlin  <johan@gnome.org>
1053
1054         * tests/Makefile.am (TEST_PROGS): 
1055         * tests/defaultvaluetest.c: Add a test for default values,
1056         based on program by Christan Perch
1057
1058 2007-12-20  Johan Dahlin  <johan@gnome.org>
1059
1060         * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window): 
1061         Refactor to avoid some duplication.
1062         Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
1063         Fixes #504749, Yuri Pimenov
1064
1065 2007-12-20  Kristian Rietveld  <kris@imendio.com>
1066
1067         * configure.in: RYuri Pimenovemove leftovers from old XRandR check.  Makes
1068         the build work again on systems without xrandr 1.2.
1069
1070 2007-12-20  Christian Persch  <chpe@gnome.org>
1071
1072         * configure.in:
1073         * modules/other/gail/libgail-util/Makefile.am:
1074         Keep the same libtool version as the standalone libgail-util had.
1075         Bug #504643.
1076
1077 2007-12-20 15:30:09  Tim Janik  <timj@imendio.com>
1078
1079         * Makefile.decl: generate HTML reports for test-report perf-report full-report.
1080
1081 2007-12-20  Alexander Larsson  <alexl@redhat.com>
1082         
1083         * gdk/x11/gdkapplaunchcontext-x11.c:
1084         Update for gio API changes
1085
1086 2007-12-20  Richard Hult  <richard@imendio.com>
1087
1088         * gdk/quartz/GdkQuartzWindow.c:
1089         * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
1090         processing events after changing the size.
1091
1092 2007-12-20  Richard Hult  <richard@imendio.com>
1093
1094         * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
1095         Add stub for quartz to fix build.
1096
1097 2007-12-20  Christian Persch  <chpe@gnome.org>
1098
1099         * modules/other/gail/Makefile.am:
1100         * modules/other/gail/gailimage.c: (gail_image_class_init),
1101         (gail_image_init), (elide_underscores), (gail_image_get_name),
1102         (atk_image_interface_init), (gail_image_finalize):
1103         * modules/other/gail/gailimage.h:
1104         R modules/other/gail/gailintl.h:
1105         * po/POTFILES.skip: Use the stock item's label as the name of the
1106         accessible in gailimage.c. Bug #504246.
1107
1108 2007-12-19  Mathias Hasselmann  <mathias@openismus.com>
1109
1110         Avoid some compiler warnings and remove obsolete code. (#339540)
1111
1112         * gtk/gtkcalendar.c: Change week and year variable in
1113         calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
1114         0" block from calendar_paint_day: The feature in question is handled
1115         few lines above. Cast data returned by gtk_selection_data_get_text()
1116         to (gchar*) in gtk_calendar_drag_data_received.
1117
1118 2007-12-19 17:05:31  Tim Janik  <timj@imendio.com>
1119
1120         * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
1121
1122 2007-12-19  Johan Dahlin  <johan@gnome.org>
1123
1124         * tests/buildertest.c (test_object_properties): 
1125         Add another call to gtk_builder_add_string after using
1126         delayed properties, as reported in #504393 but already
1127         fixed in #495769.
1128
1129 2007-12-18  Christian Persch  <chpe@gnome.org>
1130
1131         * configure.in:
1132         * docs/reference/Makefile.am:
1133         * docs/reference/libgail-util/*:
1134         * gail-uninstalled.pc.in:
1135         * gail.pc.in:
1136         * modules/Makefile.am:
1137         * modules/other/Makefile.am:
1138         * modules/other/gail/*:
1139         * modules/other/gail/libgail-util/*:
1140         * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
1141
1142 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
1143
1144         * gtk/gtksettings.c: Add a gtk-im-module GTK setting
1145         * gdk/win32/gdkproperty-win32.c: 
1146         * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
1147
1148         * gtk/gtkimmodule.[hc]: 
1149         * gtk/gtkimmulticontext.[hc]: When determining the default context,
1150         look at the gtk-im-module setting, and listen for changes to the
1151         setting.  (#502446, Akira Tagoh)
1152
1153 2007-12-17  Kristian Rietveld  <kris@imendio.com>
1154
1155         * gtk/gtktooltip.c (gtk_tooltip_finalize),
1156         (gtk_tooltip_set_last_window): use a weak pointer to set last_window
1157         to NULL as soon as it's destroyed.  (#496546, patch from
1158         Benjamin Berg).
1159
1160 2007-12-17  Kristian Rietveld  <kris@imendio.com>
1161
1162         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
1163         always determine what arrow to show if show_sort_indicator is true.
1164         (#352738, Chris Vine).
1165
1166 2007-12-16  Mathias Hasselmann  <mathias@openismus.com>
1167
1168         Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
1169         Sébastien Granjoux)
1170
1171         * gtk/gtkpaned.c: Call gtk_container_forall instead of
1172         gtk_container_foreach in get_child_panes.
1173
1174 2007-12-15  Xan Lopez  <xan.lopez@nokia.com>
1175
1176         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
1177
1178         Plug leak: When reordering the info in the list the old node is
1179         removed but not freed. (#503569)
1180
1181 2007-12-15  Sebastian Dröge  <slomo@circular-chaos.org>
1182
1183         * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
1184         Use u32 instead of __u32 and u8 instead of __u8 as the other types
1185         are deprecated since DirectFB 1.0.0. If compiling with an older
1186         version define the new type name to the old types. Fixes bug #503190.
1187
1188 2007-12-14  Ray Strode  <rstrode@redhat.com>
1189
1190         * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
1191         instead of g_signal_connect_after (..., "realize", ...) as an
1192         alternative to gtk_widget_realize () (bug 503537).
1193
1194 2007-12-14  Michael Natterer  <mitch@imendio.com>
1195
1196         * gdk/gdkinternals.h
1197         * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
1198         individual files.
1199
1200         * gdk/gdkapplaunchcontext.c
1201         * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
1202         header already includes everything now.
1203
1204 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
1205
1206         Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
1207         next stable release shall be 2.16, not 2.14 - even if disagree.
1208
1209         * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
1210
1211 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
1212
1213         Change GtkToolItem to retrieve its properties from GtkToolShell
1214         interface, instead of relying on being child of a GtkToolbar.
1215         (#5034079)
1216
1217         * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
1218         docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
1219         * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
1220         * gtk/gtktoolbar.c: Implement GtkToolShellIface.
1221         * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
1222         * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
1223         Take section docs from template file and update them for GtkToolShell.
1224         * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
1225         * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
1226
1227 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
1228
1229         Extract loading of GtkPageSetup and GtkPrintSettings from their
1230         *_new_*() functions and move that code into separate
1231         *_load_*() functions (#475565).
1232
1233         * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
1234         Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
1235         gtk_print_settings_load_file and gtk_print_settings_load_key_file.
1236         Change the matching *_new_*() functions to use those functions.
1237
1238 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
1239
1240         * gtk/gtk.symbols:
1241         * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
1242
1243 2007-12-14  Kristian Rietveld  <kris@imendio.com>
1244
1245         * gtk/tests/liststore.c:
1246         * gtk/tests/treestore.c: added tests for insertion functions.
1247
1248 Thu Dec 13 13:14:50 2007  Søren Sandmann  <sandmann@redhat.com>
1249
1250         * Add RandR 1.2 support
1251
1252         - New monitors_changed signal - New API to get width/height of
1253           monitors, and the name of the plug
1254
1255 2007-12-13  Kristian Rietveld  <kris@imendio.com>
1256
1257         * gtk/tests/liststore.c:
1258         * gtk/tests/treestore.c: test the move and swap functions on a
1259         store with only one node.
1260
1261 2007-12-13  Kristian Rietveld  <kris@imendio.com>
1262
1263         * gtk/gtktestutils.c (gtk_test_init): add a call to
1264         g_test_bug_base().
1265
1266         * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
1267         appriopriate tests.
1268
1269 2007-12-13  Kristian Rietveld  <kris@imendio.com>
1270
1271         * gtk/tests/liststore.c:
1272         * gtk/tests/treestore.c: start composing tests for the list and tree
1273         store.
1274
1275         * gtk/tests/treeview-scrolling.c: added automated tests for
1276         GtkTreeView's scrolling "subsystem".
1277
1278         * gtk/tests/Makefile.am: updated; added new test programs.
1279
1280 2007-12-13  Mathias Hasselmann  <mathias@openismus.com>
1281
1282         Make the code compile again after the GdkAppLaunchContext changes.
1283
1284         * configure.in: Add gio-2.0 to GDK_PACKAGES.
1285         * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
1286
1287 2007-12-12  Matthias Clasen  <mclasen@redhat.com>
1288
1289         * gdk/gdkapplaunchcontext.c: Add docs
1290
1291 2007-12-12  Matthias Clasen  <mclasen@redhat.com>
1292
1293         * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext 
1294         in gdk, providing startup notification.  (#503203)
1295
1296         * gdk/x11/gdkapplaunchcontext-x11.c: 
1297         * gdk/win32/gdkapplaunchcontext-win32.c:
1298         * gdk/quartz/gdkapplaunchcontext-quartz.c: 
1299         * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
1300         parts. All but X11 are just empty stubs for now.
1301
1302         * gdk/gdk.symbols:
1303         * gdk/gdkinternals.h:
1304         * gdk/Makefile.am:
1305         * gdk/x11/Makefile.am: 
1306         * gdk/win32/Makefile.am: 
1307         * gdk/quartz/Makefile.am: 
1308         * gdk/directfb/Makefile.am: Necessary glue.
1309
1310 2007-12-12  Mathias Hasselmann  <mathias@openismus.com>
1311
1312         * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
1313
1314 2007-12-11  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
1315
1316         * gdk/directfb/gdktestutils-directfb.c:
1317         * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
1318         which adds testing functions to the DirectFB backend.
1319
1320 2007-12-11  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
1321
1322         * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
1323         Ciccani which fixes the mixing of gdk and cairo rendering.
1324
1325 2007-12-11  Mathias Hasselmann  <mathias@openismus.com>
1326
1327         * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
1328         on "drag-motion" handlers. Clearify documentation for
1329         gtk_drag_dest_set.
1330
1331 2007-12-11 15:44:01  Tim Janik  <timj@imendio.com>
1332
1333         * buildertest.c: made unnecessarily exported symbols static.
1334         switched g_return_if_fail() statements in tests to assertions.
1335         special cased currently failing Widget/accesibility test to
1336         run only for g_test_thorough(), so it doesn't break make check.
1337         some coding style fixes.
1338
1339         * Makefile.am: added buildertest to TEST_PROGS.
1340
1341 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
1342
1343         * docs/tutorial/gtk-tut.sgml:
1344           Use gtk_widget_get_parent_window() instead of widget->parent->window.
1345
1346 2007-12-10  Richard Hult  <richard@imendio.com>
1347
1348         * gdk/quartz/Makefile.am:
1349         * gdk/quartz/gdkquartz.h:
1350         * gdk/quartz/gdkwindow-quartz.c: Install backend specific
1351         header (bug #405915). Also add a getter for the toplevel nswindow.
1352
1353 2007-12-10  Richard Hult  <richard@imendio.com>
1354
1355         * gdk/quartz/gdkdrawable-quartz.c:
1356         (gdk_quartz_drawable_get_context),
1357         (gdk_quartz_drawable_release_context):
1358         * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
1359         (gdk_event_check), (gdk_event_dispatch), (poll_func):
1360         * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
1361         used for each drawing context and in prepare, dispatch and poll
1362         with one that exists across each main loop iteration. Fixes leaks
1363         on leopard and protects against future leaks introduce when the
1364         underlying system changes again (bug #492977).
1365
1366 2007-12-10  Richard Hult  <richard@imendio.com>
1367
1368         * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
1369         Fix the check for no changes to position and size.
1370
1371 2007-12-10  Richard Hult  <richard@imendio.com>
1372
1373         * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
1374         sized areas at (0, 0), patch from Paul Davis.
1375
1376 2007-12-10  Richard Hult  <richard@imendio.com>
1377
1378         * gdk/quartz/gdkprivate-quartz.h: 
1379         * gdk/quartz/gdkeventloop-quartz.c:
1380         (_gdk_quartz_event_loop_get_pending),
1381         (_gdk_quartz_event_loop_check_pending),
1382         (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
1383         (gdk_event_check), (gdk_event_dispatch):
1384         * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
1385         (_gdk_events_queue): Fix a bug where we could end up trying to
1386         handle the same event more than once. Based on patch from Paul
1387         Davis.
1388
1389 2007-12-10  Tor Lillqvist  <tml@novell.com>
1390
1391         * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
1392         package. (#502850)
1393
1394 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
1395
1396         * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
1397         to avoid further fallout from the fix for bug 388321.
1398
1399 2007-12-09 09:56:06  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
1400
1401         * gdk/directfb/gdkgc-directfb.c:
1402         * gdk/directfb/gdkdrawable-directfb.c:
1403         * gdk/directfb/gdkdirectfb.h:
1404         * gdk/directfb/gdkwindow-directfb.c:
1405         * gdk/directfb/gdkprivate-directfb.h: Committed several patches
1406         (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
1407         blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
1408         opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
1409         which are expected to improve the performance of the DirectFB backend.
1410         Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
1411
1412 2007-12-07  Matthias Clasen  <mclasen@redhat.com>
1413
1414         * gtk/gtkcontainer.c: Correct the documentation of child
1415         property getter arguments.  (#501992, David Brigada)
1416
1417 2007-12-07  Matthias Clasen  <mclasen@redhat.com>
1418
1419         * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
1420         leak pixbufs.  (#502250, Yevgen Muntyan)
1421
1422 2007-12-07  Yevgen Muntyan  <muntyan@tamu.edu>
1423
1424         * gtk/gtkprintunixdialog.c:
1425         * gtk/gtkpagesetupunixdialog.c: added alternative button order in
1426         Print and Page Setup dialogs (#502202).
1427
1428 2007-12-07 13:16:33  Tim Janik  <timj@imendio.com>
1429
1430         * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
1431         Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
1432         of XVFB_START, since it's the GTESTER invokation that needs this.
1433
1434 2007-12-06  Tommi Komulainen  <tommi.komulainen@iki.fi>
1435
1436         * gdk-pixbuf/gdk-pixbuf.symbols:
1437         * gdk/gdk.symbols:
1438         * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
1439         positives in abicheck.sh
1440
1441 2007-12-06 18:45:06  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
1442
1443         * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
1444         GDK events generations in the DirectFB backend.
1445
1446 2007-12-06 13:55:06  Tim Janik  <timj@imendio.com>
1447
1448         * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
1449         set of likely unused display ids, because MacOS has no seq(1) command.
1450
1451 2007-12-06  Richard Hult  <richard@imendio.com>
1452
1453         * gdk/quartz/gdkevents-quartz.c:
1454         (synthesize_crossing_events_for_ns_event): Fix warning when
1455         switching spaces in leopard.
1456
1457 2007-12-06 13:38:36  Tim Janik  <timj@imendio.com>
1458
1459         * tests/floatingtest.c: ported to new testing framework.
1460
1461         * tests/Makefile.am: run floatingtest as testing framework test.
1462
1463 2007-12-06 10:44:52  Tim Janik  <timj@imendio.com>
1464
1465         * tests/autotestfilechooser.c: majorly speed up execution by reducing
1466         timeouts and converting main loop sleeps to pending/iterate loops with
1467         very low priority async handlers. eliminate output for non-verbose
1468         tests. assert successfull subtests in all test functions. use testing
1469         framework in main().
1470
1471         * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
1472         executed inside Xvfb upon make check.
1473
1474 2007-12-06 08:23:38  Tim Janik  <timj@imendio.com>
1475
1476         * tests/objecttests.c: use string comparisons for string property
1477         values and get rid of referencing symbols in array initialization.
1478
1479 2007-12-05 18:59:59  Tim Janik  <timj@imendio.com>
1480
1481         * gtk+/Makefile.decl: run tests in current dir after setting up the
1482         logging directory, so their results get properly merged into the
1483         resulting test log.
1484
1485         * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
1486         tests to loop over registered Gdk/Gtk+ types.
1487
1488         * gtk+/tests/objecttests.c: new test program, implements automated
1489         property tests. several properties are blacklisted because they
1490         seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
1491         can be used to test blacklisted properties and see which proprty failed.
1492
1493 2007-12-04  Richard Hult  <richard@imendio.com>
1494
1495         * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
1496         Fully initialize the root window, fixes bug #501583.
1497
1498 2007-12-04  Matthias Clasen  <mclasen@redhat.com>
1499
1500         * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
1501         crash epiphany.
1502
1503 2007-12-03  Richard Hult  <richard@imendio.com>
1504
1505         * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
1506         Don't crash when dragging from a source that doesn't support uri
1507         lists (bug #499868, Paul Davis).
1508
1509 2007-12-03  Richard Hult  <richard@imendio.com>
1510
1511         * gdk/quartz/gdkwindow-quartz.c:
1512         (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
1513         parent relative bg pixmap is set, and no parent has a bg
1514         pixmap. Fixes bug #500804.
1515
1516 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
1517
1518         Two optimizations for icon cache lookups.
1519
1520         * gtk/gtkiconcache.[hc]:
1521         * gtk/gtkicontheme.c: Remember the directory index for
1522         subdirectories, instead of running over the directory list
1523         again and again.
1524
1525         * gtk/gtkiconcache.c (find_image_offset): Remember the last 
1526         chain and try it first; this helps with the the usage patterns
1527         in gtkicontheme.c, where the same icon is queried for a lot
1528         of subdirectories.
1529
1530 2007-12-03 15:18:17  Tim Janik  <timj@imendio.com>
1531
1532         * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
1533         functions from header files. this should be portable across linux and
1534         Mac OS, unlike the previpous sed expression.
1535
1536 2007-12-1  Cody Russell  <bratsche@gnome.org>
1537
1538         * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
1539         On Windows, queue a redraw of child2 whenever we set
1540         the pane handle position.  This is unfortunately kind
1541         of hacky, but solves the visual artifacts that were
1542         occuring on at least certain types of child widgets
1543         (e.g., text views and tree views) that are inside
1544         horizontal or vertical panes. (#144269)
1545
1546 2007-11-30  Matthias Clasen  <mclasen@redhat.com>
1547
1548         * gtk/gtkrc.c: Fix doc typos.  (#500672, David Lambert)
1549
1550 2007-11-29  Matthias Clasen  <mclasen@redhat.com>
1551
1552         * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
1553         debug spew.
1554
1555 2007-11-29  Matthias Clasen  <mclasen@redhat.com>
1556
1557         * gtk/Makefile.am: Fix ordering of subdirs.
1558
1559 2007-11-28  Tor Lillqvist  <tml@novell.com>
1560
1561         A proper build of GNU libintl is supposed to export the variable
1562         _nl_msg_cat_cntr. configure looks for that variable in order to
1563         recognize GNU gettext. If it sees that it is indeed GNU gettext
1564         that is used, it decides to install message catalogs in
1565         share/locale, otherwise in lib/locale. Until now on Windows I have
1566         built GTK+ against a build of GNU gettext that did not export
1567         _nl_msg_cat_cntr. But this will change, so we can't assume message
1568         catalogs are always in lib/locale.
1569
1570         * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
1571         GTK_LOCALEDIR being either in "lib" or "share". Move the function
1572         before the inclusion of gtkprivate.h so that it sees the original
1573         GTK_LOCALEDIR.
1574
1575         * gtk-zip.sh.in: Check whether the message catalogs are in
1576         share/locale or lib/locale.
1577
1578         * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
1579         that the code in _gtk_get_localedir() will find the slashes.
1580
1581 2007-11-28  Tor Lillqvist  <tml@novell.com>
1582
1583         * gtk/Makefile.am: Improve portability. The -o option is present
1584         only in newish GNU egreps. Use one more sed in the pipeline
1585         instead.
1586
1587 2007-11-28  Tor Lillqvist  <tml@novell.com>
1588
1589         Fix #375893, patch by Ben Hague:
1590
1591         * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
1592         around GetLogicalDrives() that takes also the viewable drive
1593         restrictions in the Registry (which are usually the result of an
1594         Active Directory Group Policy) into account.
1595
1596         (check_volumes, gtk_file_system_win32_list_volumes) Call
1597         get_viewable_logical_drives() instead of GetLogicalDrives().
1598
1599 2007-11-27  Matthias Clasen <mclasen@redhat.com>
1600
1601         * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
1602         variables to silence valgrind.  (#495124, Morten Welinder)
1603
1604 2006-11-26  Ryan Lortie  <desrt@desrt.ca>
1605
1606         * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
1607         that the construct_child function is responsible for returning a
1608         reference.
1609         * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
1610         objects from constructors
1611         * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
1612         g_object_ref() to this construction function (it's the only
1613         implementer in GTK)
1614
1615         Fixes #496645.
1616
1617 2006-11-26  Ryan Lortie  <desrt@desrt.ca>
1618
1619         * gtkbuilder.c: remove concept of root objects and just refcount
1620         all objects in the builder.  Fixes #496651.
1621
1622 2007-11-26  Ryan Lortie  <desrt@desrt.ca>
1623
1624         * tests/buildertest.c (test_window): fix invalid free
1625
1626 2007-11-26  Josselin Mouette <joss@malsain.org>
1627
1628         reviewed by: Federico Mena Quintero
1629
1630         * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
1631         (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
1632         (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
1633         Make the shortcuts activate with a single click. (#148828)
1634         Fix a few things affected by the change:
1635           - Set selection mode to GTK_SELECTION_SINGLE to allow a case 
1636             where no shortcut is selected.
1637           - Don't activate a shortcut in the response callback.
1638           - Filter out duplicate entries in volumes and bookmarks to 
1639             avoid the selection to change when reordering them with DnD.
1640
1641 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
1642
1643         * gtk/gtkmain.c:
1644         * gtk/gtknotebook.c:
1645         * gtk/gtkplugprivate.h:
1646         * gtk/gtksocket.c:
1647         * gtk/gtksocketprivate.h:
1648         * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
1649
1650 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
1651
1652         * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
1653         (#495574, Richard Hult)
1654
1655 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
1656
1657         * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
1658         String change !   (#376361, Sven Neumann)
1659
1660 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
1661
1662         * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
1663         destroy.
1664         (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
1665         Welinder)
1666
1667 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
1668
1669         * gtk/gtkassistant.c: Improve alternative button
1670         ordering.  (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
1671
1672 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
1673
1674         * gtk/gtkcalendar.c: Fix a theming problem with colors
1675         in GtkCalendar.  (#499703, Michael Hofmann)
1676
1677 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
1678
1679         * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
1680
1681 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
1682
1683         Use templates for glib-mkenums calls instead of 
1684         complicated commandlines in Makefiles.  (#429910)
1685
1686         * gdk-pixbuf/Makefile.am:
1687         * gdk/Makefile.am: 
1688         * gtk/Makefile.am: 
1689         * perf/Makefile.am: Use templates for glib-mkenums
1690
1691         * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
1692         * gdk/gdkenumtypes.[ch].template: 
1693         * gtk/gtktypebuiltings.[ch].template: 
1694         * perf/typebuiltins.[ch].template: The templates
1695
1696 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
1697
1698         * gtk/gtkfilechooserbutton.c:
1699         * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
1700         some compilers choke on that.  (#467722)
1701
1702 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
1703
1704         * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
1705         about hook setup.  (#425004, Emmanuele Bassi)
1706
1707 2007-11-26  Tor Lillqvist  <tml@novell.com>
1708
1709         * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
1710         monitor the window currently is on, not always the primary
1711         monitor. (#463865, Tim Evans)
1712
1713 2007-11-26  Tor Lillqvist  <tml@novell.com>
1714
1715         * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
1716
1717         * gdk/win32/Makefile.am: Add it.
1718
1719 2007-11-26  Tor Lillqvist  <tml@novell.com>
1720
1721         * configure.in: Don't add jasper to all_loaders if no libjasper.
1722
1723 2007-11-25  Bastien Nocera  <hadess@hadess.net>
1724
1725         * configure.in: Add detection for libjasper, used by the
1726         gdk-pixbuf JPEG2000 loader
1727
1728 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
1729
1730         * configure.in: Require gtk-doc 1.8
1731
1732         * */*.c: Use gtk-doc abbreviations for examples in docs.
1733
1734 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
1735
1736         * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
1737         typo.  (#498922)
1738
1739 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
1740
1741         * gtk/gtkdialog.c: Move signal and property documentation inline,
1742         fix a problem with the ::response signal docs.  (#499133, Josselin
1743         Mouette)
1744
1745 2007-11-22 15:48:26  Tim Janik  <timj@imendio.com>
1746
1747         * Makefile.decl: initialize automake variables EXTRA_DIST and
1748         TEST_PROGS for unconditional appending via += in other makefiles.
1749         define recursive test targets: test, test-report, perf-report,
1750         full-report, as described here:
1751       http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
1752         the test targets will execute Gtk+ test programs within an Xvfb session.
1753
1754         * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
1755
1756         * gtk/tests/testing.c: use g_test_add_func() to register tests and use
1757         g_test_run() to run the tests to integrate with the testing framework.
1758
1759         * gtk/tests/Makefile.am: removed exemplary testing rules.
1760
1761         * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
1762         * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
1763         * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
1764         * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
1765         * docs/reference/Makefile.am, docs/tools/Makefile.am:
1766         * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
1767         * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
1768         * demos/gtk-demo/Makefile.am, demos/Makefile.am:
1769         * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
1770         * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
1771         * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
1772         * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
1773         * modules/engines/ms-windows/Theme/Makefile.am:
1774         * modules/engines/ms-windows/Makefile.am:
1775         * modules/engines/Makefile.am,  modules/engines/pixbuf/Makefile.am:
1776         * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
1777         * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
1778         * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
1779         * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
1780         * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
1781         include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
1782
1783 2007-11-22  Matthias Clasen  <mclasen@redhat.com>
1784
1785         * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
1786         (#485662, patch by Herbert Valerio Riedel)
1787
1788 2007-11-22  Matthias Clasen  <mclasen@redhat.com>
1789
1790         * gtk/gtktextiter.c: Fix an aliasing problem.  (#347585, Ed Catmur)
1791
1792 2007-11-21  Richard Hult  <richard@imendio.com>
1793
1794         * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
1795         stubs for the testing functions to fix the build.
1796
1797 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
1798
1799         * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
1800         (#467711, The Written Word)
1801
1802 2007-11-21  Ross Burton  <ross@openedhand.com>
1803
1804         * gdk/x11/gdksettings.c:
1805         Add xsetting for gtk-scrolled-window-placement (#458103).
1806
1807 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
1808
1809         * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
1810         (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
1811         (#469239, Michael Natterer)
1812
1813 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
1814
1815         * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
1816         Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
1817         gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
1818         (#436536, Tommi Komulainen)
1819
1820 2007-11-21  Matthias Clasen  <mclasen@redhat.com>
1821
1822         * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
1823         property.  (#489782, Jan Janech)
1824
1825 2007-11-20  Matthias Clasen  <mclasen@redhat.com>
1826
1827         * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
1828         frames.  (#107398, Owen Taylor, Miguel Gomez)
1829
1830 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
1831
1832         Moved Gdk test functions from Gtk+ to Gdk test utils.
1833
1834         * gdk/Makefile.am: added gdktestutils.h to public includes.
1835
1836         * gdk/gdk.h: added gdktestutils.h to public includes.
1837
1838         * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
1839         gdk_test_render_sync.
1840
1841         * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
1842         gdk_test_simulate_key, gdk_test_render_sync.
1843
1844         * gdk/x11/Makefile.am: build gdktestutils-x11.c.
1845
1846         * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
1847         gdk_test_simulate_key, gdk_test_render_sync.
1848
1849         * gtk/gtktestutils.c:
1850         * gtk/gtktestutils.h:
1851         * gtk/gtk.symbols: removed gtk_test_simulate_button
1852         gtk_test_simulate_key, gtk_test_xserver_render_sync.
1853
1854         * gtk/tests/testing.c: call gdk_test_render_sync.
1855
1856 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
1857
1858         Added unit tests for Gtk+ testing utilities.
1859
1860         * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
1861         utility functions. some g_test_* related portions are disabled and need
1862         to be enabled once Gtk+ depends on a new glib with the GLib testing
1863         framework integrated.
1864
1865         * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
1866         added exemplary test rules to run tests inside Xvfb. this needs to depend
1867         on gtester for full fledged testing.
1868
1869         * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
1870         collecting _get_type functions to catch e.g. gtk_text_get_type().
1871
1872         * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
1873
1874 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
1875
1876         Added Gtk+ testing utilities.
1877
1878         * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
1879         for the most part, the functions herein involve navigating and interacting
1880         with dialog elements programatically, to automate user interaction tests of
1881         dialogs and widgets.
1882
1883         * gtk/gtk.h: include gtk/gtktestutils.h as public API.
1884
1885         * gtk/gtk.symbols: added gtk_test_* symbols.
1886
1887         * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
1888         generate gtktypefuncs.c which contains a list of all _get_type functions in
1889         Gtk+ and Gdk.
1890 2007-11-20  Bastien Nocera  <hadess@hadess.net>
1891
1892         * configure.in: add support for conditional icns gdk-pixbuf loader
1893         (Closes: #395738)
1894
1895 2007-11-19 10:31:26  Tim Janik  <timj@imendio.com>
1896
1897         * configure.in: updated version number to 2.15.0 for development.
1898
1899 2007-11-19 10:27:39  Tim Janik  <timj@imendio.com>
1900
1901         === Branch for 2.12 ===
1902