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