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