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