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