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