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