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