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