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