]> Pileus Git - ~andy/gtk/blob - ChangeLog
Doc fixes
[~andy/gtk] / ChangeLog
1 2008-07-21  Matthias Clasen  <mclasen@redhat.com>
2
3         * gtk/gtktestutils.c:
4         * gtk/gtkscalebutton.c:
5         * gtk/gtkmessagedialog.c:
6         * gtk/gtkmenu.c:
7         * gtk/gtkcontainer.c:
8         * gtk/gtkcolorseldialog.c:
9         * gtk/gtkaccelgroup.c:
10         * gtk/gtkentry.c:
11         * gtk/gtkfontsel.c: Fix some doc problems.
12
13 2008-07-21  Michael Natterer  <mitch@imendio.com>
14
15         * gtk/gtkbox.c (gtk_box_add): use gtk_box_pack_start() instead of
16         the deprecated gtk_box_pack_start_defaults().
17
18         * gtk/gtkbindings.c (gtk_binding_entry_add_signal)
19         (gtk_binding_parse_signal): use _gtk_binding_entry_add_signall()
20         instead of the deprecated gtk_binding_entry_add_signall().
21
22 2008-07-21  Emmanuele Bassi  <ebassi@gnome.org>
23
24         * gtk/gtkrecentmanager.c:
25         (recent_app_info_new), (recent_app_info_free): Use GSlice to
26         allocate the application data for recently used resources;
27         do not call time() to initialize the timestamp, as it will
28         be overwritten anyway later. (#535223, Michael Meeks)
29
30 2008-07-21  Kristian Rietveld  <kris@gtk.org>
31
32         Bug 543989 - Crash in gtk_tree_view_size_allocate_columns
33
34         * gtk/gtktreeview.c (gtk_tree_view_size_allocate_columns): check
35         for width_changed != NULL.  (Patch by Josselin Mouette).
36
37 2008-07-21  Michael Natterer  <mitch@imendio.com>
38
39         Bug 442042 – GtkScaleButton is too limited
40
41         * tests/testvolumebutton.c: forgot to commit code that tests
42         toggling the button's orientation. Also fixes the file's coding
43         style.
44
45 2008-07-21  Cody Russell  <bratsche@gnome.org>
46
47         Bug 153567 – Repaint glitches in widgets
48
49         * gdk/win32/gdkevents-win32.c: Set a sync timer when
50         we receive WM_SYNCPAINT, and RedrawWindow() once
51         the timer expires.
52
53 2008-07-21  Michael Natterer  <mitch@imendio.com>
54
55         * gtk/gtktoolbar.c (gtk_toolbar_class_init): use the simpler
56         g_signal_override_class_handler() instead of
57         g_signal_override_class_closure().
58
59         * gtk/gtktextview.c (gtk_text_view_class_init): ditto.
60
61         (gtk_text_view_compat_move_focus): chain up using
62         g_signal_chain_from_overridden_handler() instead of the generic
63         g_signal_chain_from_overridden() which needs manual fiddling with
64         millions of GValues.
65
66 2008-07-21  Michael Natterer  <mitch@imendio.com>
67
68         * gtk/gtkuimanager.c: remove redundant include.
69
70 2008-07-21  Michael Natterer  <mitch@imendio.com>
71
72         * gtk/gtkbindings.[ch]: remove _gtk_binding_signal_new().
73
74         * gtk/gtkfilechooserdefault.c
75         * gtk/gtkmenu.c
76         * gtk/gtkmenushell.c
77         * gtk/gtkscalebutton.c
78         * gtk/gtktextview.c
79         * gtk/gtktoolbar.c
80         * gtk/gtkwidget.c: use g_signal_new_class_handler() instead. Add
81         some missing I_() to the signal names.
82
83 2008-07-21  Michael Natterer  <mitch@imendio.com>
84
85         * gtk/gtkspinbutton.c: remove g_return_if_fail() from private
86         functions and virtual function implementations. Some minor
87         cleanups.
88
89 2008-07-20  Andre Klapper  <a9016009@gmx.de>
90
91         Bug 543915 - translation issues
92
93         * modules/printbackends/cups/gtkprintbackendcups.c:
94         Add translator comments for several strings.
95
96 2008-07-20  Sven Herzberg  <sven@imendio.com>
97
98         reviewed by: Richard Hult
99
100         Fixes #543868: GdkPixmap is upside down on quartz
101
102         * gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_drawable): flip the
103         coordinate space from GTK+ orientation to CoreGraphics orientation
104         before calling CoreGraphics code
105         * gdk/quartz/gdkgc-quartz.c (gdk_quartz_draw_tiled_pattern): drop the
106         coordinate space flipping (we always get it right, now)
107         * gdk/quartz/gdkpixmap-quartz.c
108         (gdk_pixmap_impl_quartz_get_context): flip the coordinate space when
109         creating the CGContextRef
110
111 2008-07-20  Sven Herzberg  <sven@imendio.com>
112
113         reviewed by: Richard Hult
114
115         Extracted the CGContextRef creation into a virtual function of
116         GdkDrawableImplQuartz; implement get_context() for GdkPixmap and
117         GdkWindow
118
119         * gdk/quartz/gdkdrawable-quartz.c
120         (gdk_quartz_drawable_get_context): dropped the different
121         implementations; forward to the virtual function now
122         * gdk/quartz/gdkdrawable-quartz.h: added the virtual function
123         * gdk/quartz/gdkpixmap-quartz.c
124         (gdk_pixmap_impl_quartz_get_context),
125         (gdk_pixmap_impl_quartz_class_init): implemented get_context()
126         * gdk/quartz/gdkwindow-quartz.c
127         (gdk_window_impl_quartz_get_context),
128         (gdk_window_impl_quartz_class_init): implemented get_context()
129
130 2007-08-19  Matthias Clasen  <mclasen@redhat.com>
131
132         * NEWS: Updates
133
134 2007-08-18  Matthias Clasen  <mclasen@redhat.com>
135
136         Bug 543545 – GtkAssistant crashes when gtk_widget_hide() is called
137         inside "apply" signal handler
138
139         * gtk/gtkassistant.c: Don't emit signals with extra parameters.
140         Patch by Antti Kaijanmäki
141
142 2007-08-18  Matthias Clasen  <mclasen@redhat.com>
143
144         Bug 543217 – GTK application crashed with directfb backend
145
146         *  gdk/directfb/gdkvisual-directfb.c: Avoid a crash in
147         _gdk_visual_init().  Patch by Huimin He.
148
149 2008-07-18  Federico Mena Quintero  <federico@novell.com>
150
151         * gtk/updateiconcache.c (build_cache): If the resulting cache file
152         would be empty, erase the old cache file as well as the temporary file.
153
154 2008-07-18  Federico Mena Quintero  <federico@novell.com>
155
156         * demos/gtk-demo/changedisplay.c (find_toplevel_at_pointer): Don't
157         do funny casts to avoid compiler warnings.
158
159         * demos/gtk-demo/textview.c (easter_egg_callback): Likewise.
160
161         * gtk/gtkmain.c (rewrite_event_for_grabs, gtk_get_event_widget): Likewise.
162
163         * gtk/gtkmodules.c (load_module): Likewise.
164
165         * gtk/gtkselection.c (gtk_selection_convert): Likewise.
166
167         * gtk/gtktipsquery.c (gtk_tips_query_event): Likewise.
168
169         * gtk/queryimmodules.c (query_module): Likewise.
170
171         * tests/testgtk.c (create_gridded_geometry, create_key_lookup)
172         (find_widget_at_pointer): Likewise.
173
174 2008-07-08  Matthias Clasen  <mclasen@redhat.com>
175
176         * modules/printbackends/cups/gtkprintbackendcups.c: Add a forgotten
177         hunk of the previous commit.
178
179 2008-07-18  Sven Herzberg  <sven@imendio.com>
180
181         Make aliasfilecheck.sh pass for the quartz backend, too.
182
183         * gtk/Makefile.am: don't include gtkquartz.h in the list of c files
184
185 2008-07-17  Runa Bhattacharjee <runabh@gmail.com>
186
187         * configure.in: Added Pashto (ps) to ALL_LINGUAS
188
189 2008-07-15  Paolo Borelli  <pborelli@katamail.com>
190
191         Bug 447998 - GtkBuilder does not support building parts of the xml tree
192
193         * gtk/gtkbuilder.c:
194         * gtk/gtkbuilder.h:
195         * gtk/gtkbuilderprivate.h:
196         * gtk/gtkbuilderparser.c:
197         * gtk/gtk.symbols:
198         Add two new functions that allow cherry picking and construct
199         objects from a ui description file or string.
200
201         * gtk/tests/builder.c: tests for the above.
202
203 2008-07-15  Paolo Borelli  <pborelli@katamail.com>
204
205         * gtk/tests/builder.c: fix up broken test (cellview has no "clicked"
206         signal) case and plug a couple of leaks.
207
208 2008-07-15  Matthias Clasen  <mclasen@redhat.com>
209
210         Bug 543244 – crashes when renaming a bookmark
211
212         * gtk/gtkfilesystem.c (_gtk_file_system_set_bookmark_label): Don't
213         free a GFile. Reported by Sebastien Bacher
214
215 2008-07-15  Matthias Clasen  <mclasen@redhat.com>
216
217         Bug 339591 – Detect list of availible cover pages
218
219         Patch by Marek Kasik:
220         * modules/printbackends/cups/gtkprintbackendcups.c: Get the list of
221         available cover pages and the default front and back cover pages 
222         from the cups server.
223
224 2008-07-15  Matthias Clasen  <mclasen@redhat.com>
225
226         Bug 384940 – handle rejecting jobs and authentication meaningfully
227
228         Patch by Marek Kasik, icons by Mike Langlie:
229         * gtk/gtk.symbols:
230         * gtk/gtkprintbackend.h:
231         * gtk/gtkprinter.[hc]: Add new paused and accepting-jobs properties
232         and getters/setters.
233
234         * gtk/gtkstock.h:
235         * gtk/gtkiconfactory.c:
236         * gtk/Makefile.am:
237         * gtk/stock-icons/{16,24}/gtk-print-paused.{png,svg}: New icon.
238
239         * modules/printbackends/cups/gtkprintbackendcups.c: 
240         * gtk/gtkprintunixdialog.c: Handle paused and job-rejecting 
241         printers.
242
243 2008-07-15  Matthias Clasen  <mclasen@redhat.com>
244
245         * configure.in: Add a test to see if GIO can sniff image data,
246         this should make gdk-pixbuf use its own sniffing again, on OS X.
247
248 2008-07-15  Xavier Claessens  <xclaesse@gmail.com>
249
250         Bug 542523 – GtkTextTag should handle setting properties to NULL
251
252         * gtk/gtktexttag.c (gtk_text_tag_set_property): Unset the color when
253         setting it to NULL instead of displaying a warning.
254
255 2008-07-15  Matthias Clasen  <mclasen@redhat.com>
256
257         Bug 479780 – Bookmarks in left pane of FileChooser cannot be renamed
258
259         * gtk/gtkfilechooserdefault.c (shortcuts_build_popup_menu):
260         Call shortcuts_check_popup_sensitivity() every time the
261         menu is popped up. Problem reported by Hong Jen Yee
262         
263 2008-07-15  Matthias Clasen  <mclasen@redhat.com>
264
265         Bug 488766 – GtkFileChooserButton doesn't clear icon after
266         gtk_file_chooser_unselect_all
267
268         * gtk/gtkfilechooserbutton.c (update_label_and_image): Unset
269         the image when the label is set to "(None)". Reported by
270         Neil Roberts
271
272         * tests/testfilechooserbutton.c: Add an "Unselect all" button.
273
274 2008-07-15  Matthias Clasen  <mclasen@redhat.com>
275
276         Bug 507394 – mem leak from gtk_selection_add_targets
277
278         * gtk/gtkoldeditable.c: Free target lists in finalize.
279         Reported by Christian Persch
280
281 2008-07-14  Matthias Clasen  <mclasen@redhat.com>
282
283         * gtk/gtk.symbols:
284         * gtk/gtktypeutils.[hc]: Complete the deprecation of gtk_type_class.
285
286 2008-07-14  Matthias Clasen  <mclasen@redhat.com>
287
288         * gtk/gtklabel.c: Trivial doc fix.
289
290 2008-07-14  Matthias Clasen  <mclasen@redhat.com>
291
292         Bug 542853 – jasper test fails due to incomplete library arguments
293
294         * configure.in: Add -ljpeg when checking for jasper.
295         Reported by Mike Calmus
296
297 2008-07-14  Matthias Clasen  <mclasen@redhat.com>
298
299         * gtk/Makefile.am: Add some missing stock-icons. Noticed by Marek 
300         Kasik.
301
302 2008-07-11  Kristian Rietveld  <kris@gtk.org>
303
304         Bug 316087 - Resizing columns is chaotic
305
306         * gtk/gtktreeprivate.h: add new member fields.
307
308         * gtk/gtktreeview.c (gtk_tree_view_init), (validate_row): set post
309         validation flag,
310         (gtk_tree_view_size_allocate_columns): rework the size allocation
311         mechanism to only recalculate the expand values if the width of the
312         widget, content or the column configuration has changed,
313         (gtk_tree_view_size_allocate): move call to size_allocate_columns()
314         to before the adjustment updates so the proper width is used after
315         we updated it,
316         (gtk_tree_view_button_press), (gtk_tree_view_motion_resize_column):
317         use the column width minus the expand value for the resized width,
318         (gtk_tree_view_move_column_after): update call to
319         gtk_tree_view_size_allocate_columns().
320
321         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_expand): set use
322         resized width to FALSE.
323
324         * tests/Makefile.am:
325         * tests/testtreecolumnsizing.c: new interactive test program
326         for testing column resizing with different column configurations.
327
328 2008-07-11  Simos Xenitellis  <simos@gnome.org>
329
330         * gtk/compose-parse.py:
331         * gtk/gtkimcontextsimple.c:
332         Fixed typo for the name of Markus Kuhn, issue mentioned 
333         in bug #321896 (comment 61).
334         
335 2008-07-11  Simos Xenitellis  <simos@gnome.org> 
336
337         Bug 334418 – Support easy input of ellipsis
338
339         * gtk/gtkimcontextsimpleseqs.h: Fixed 18 compose sequences
340         that listed the wrong codepoint.  Reported by Wouter Bolsterlee.
341
342 2008-07-03  Murray Cumming  <murrayc@murrayc.com>
343
344         * gtk/gtkwidget.c (gtk_widget_set_property):  tooltip-text and 
345         tooltip-markup properties: Interpret an empty string as a NULL 
346         string because an empty tooltip is silly. This will help 
347         language bindings that do not bother to have the two types of 
348         empty/null strings.
349         Bug #541399.
350
351 2008-07-10  Matthias Clasen  <mclasen@redhat.com>
352
353         Bug 542234 – iconview a11y implementation segfaults
354
355         * gtk/gtkiconview.c: Fix a segfault in the a11y code.
356         Patch by Li Yuan.
357
358 2008-07-08  Christian Neumair  <cneumair@gnome.org>
359
360         * gtk/gtkuimanager.c (update_node):
361         Skip update of accelerator child node if it has no associated action.
362         Fixes #541950.
363
364 2008-07-07  Cody Russell  <bratsche@gnome.org>
365
366         Bug 541964 – [Win32] Setting modal hint to current value might confuse the stack
367
368         * gdk/win32/gdkwindow-win32.c: Check if the value is the same as the
369         existing modal hint value before setting it.
370
371 2008-07-07  Cody Russell  <bratsche@gnome.org>
372
373         Bug 540994 – [Win32] Some windows don't appear at the top when created
374
375         * gdk/win32/gdkwindow-win32.c: Raise the window when setting it modal.
376
377         I actually already committed this one by accident, probably when I committed
378         #541305, but just wanted to document it here in the ChangeLog.
379
380 2008-07-07  Johan Dahlin  <johan@gnome.org>
381
382         * gtk/tests/builder.c (test_cell_view):
383         Add a test case for 528845.
384
385 2008-07-07  Tor Lillqvist  <tml@novell.com>
386
387         * gdk/win32/gdkwindow-win32.c
388         (gdk_window_foreign_new_for_display): Need to initialise
389         private->impl here, too.
390
391 2008-07-07  Michael Natterer  <mitch@imendio.com>
392
393         * gtk/gtkfilesystem.c: include the two needed headers instead of
394         <gtk/gtk.h>.
395
396 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
397
398         Bug 528845 – segv from GtkBuilder on attempting <accelerator> under
399         GtkCellView
400
401         * gtk/gtkcellview.c: Don't blindly chain up in the buildable
402         implementation.  Reported by Kevin Ryde.
403
404 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
405
406         Bug 469068 – clarify gdk_cairo_create()
407
408         * gdk/gdkcairo.c (gdk_cairo_create): Add a note that cairo
409         contexts cannot be cached for handling expose events.
410         Proposed by Behdad Esfahbod.
411
412 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
413
414         Bug 507953 – gtk_tree_view_set_tooltip_column() shows markups
415
416         * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_column): Mention
417         that the tooltip is set as markup. Proposed by Czirkos Zoltan.
418
419 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
420
421         Bug 510225 – gtk_widget_get_composite_name retval should be freed
422
423         * gtk/gtkwidget.c (gtk_widget_get_composite_name): Clarify the
424         docs. Pointed out by Wolfgang Oertl
425
426 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
427
428         Bug 531129 – gtk_style_copy() does not include a return value or 
429         description
430
431         * gtk/gtkstyle.c: Document gtk_style_copy.
432
433 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
434
435         Bug 541540 – Dead link to pkg-config site in GTK+ online FAQ
436         Bug 513580 – Broken link in GTK+ FAQ
437
438         * docs/faq/gtk-faq.sgml: Remove or update some outdated links.
439
440 2008-07-07  Christian Dywan  <christian@imendio.com>
441
442         * gtk/gtkcontainer.c (gtk_container_add_with_properties): Remove
443         erroneously added g_return_if_fail (bug #541811).
444
445 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
446
447         Bug 343663 – source-buffer highlighting highlights "char" in
448         gtk_text_iter_forward_char
449
450         * demos/gtk-demo/*.c: Fix up the handrolled hilighting a bit.
451
452 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
453
454         Bug 327582 – Incomplete docs for GtkSettings::gtk-icon-sizes
455         
456         * gtk/gtksettings.c: Improve the documentation of the
457         gtk-icon-sizes setting. Proposed by Tommi Komulainen.
458
459 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
460
461         Bug 539248 – gtk_calender_query_tooltip calls ->detail_func with
462         invalid dates
463
464         * gtk/gtkcalendar.c (gtk_calendar_query_tooltip):
465         Check that the cursor is over a valid date before retrieving
466         its details.  Patch by Chris Wilson
467
468 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
469
470         Bug 493008 – gdk_screen_get_window_stack is not 64-bit-compatible
471
472         * gdk/x11/gdkscreen-x11.c (gdk_screen_get_window_stack): Fix
473         64-bit brokenness. Reported by Christian Hammond.
474
475 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
476
477         Bug 541645 – gtkfilechooserdefault segfaults when bookmark does not
478         contain ://
479
480         * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_file):
481         Be more robust. Reported by  Jelte van der Hoek
482
483 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
484
485         Bug 540917 – deprecate pack_start_defaults()
486
487         * gtk/gtk.symbols:
488         * gtk/gtkbox.[hc]: Deprecated gtk_box_pack_{start,end}_defaults.
489         Proposed by Owen Taylor
490
491 2008-07-05  Matthias Clasen  <mclasen@redhat.com>
492
493         * configure.in: Bump version
494
495 2008-07-05  Matthias Clasen  <mclasen@redhat.com>
496
497         * === Released 2.13.4 ===
498
499 2008-07-05  Michael Natterer  <mitch@imendio.com>
500
501         * gtk/gtk.symbols: move gtk_draw_insertion_cursor() out of the
502         deprecated section because it isn't deprecated.
503
504 2008-07-05  Michael Natterer  <mitch@imendio.com>
505
506         * gtk/gtkprogressbar.c: remove #if HAVE_CONFIG_H and clean up
507         other include weirdness in this file.
508
509 2008-07-05  Matthias Clasen  <mclasen@redhat.com>
510
511         * NEWS: Updates
512
513 2008-07-04  Matthias Clasen  <mclasen@redhat.com>
514
515         * gtk/gtkiconview.c:
516         * gtk/gtkfontsel.c:
517         * gtk/gtkscalebutton.c: Small doc fixes.
518
519 2008-07-04  Matthias Clasen  <mclasen@redhat.com>
520
521         * gdk/gdkevents.c:
522         * gdk/x11/gdktestutils-x11.c: Small doc fixes
523
524 2008-07-04  Matthias Clasen  <mclasen@redhat.com>
525
526         * gtk/tests/defaultvalue.c: Omit some more untestable properties.
527
528         * gtk/gtkmenu.c: Fix the initial value of the monitor property.
529
530         * gtk/gtkentry.c: Fix the property getter for text-length property.
531
532         * gtk/gtkaccelgroup.c: Fix default value for modifier-mask property.
533
534 2008-07-04  Matthias Clasen  <mclasen@redhat.com>
535
536         * gtk/gtkmenu.c: Debork the attach-widget property.
537
538 2008-07-04  Michael Natterer  <mitch@imendio.com>
539
540         Fix make check:
541
542         * gtk/Makefile.am: remove GTK_DISABLE_DEPRECATED from INCLUDES
543         again :-(
544
545         * gtk/gtkclist.c
546         * gtk/gtkcombo.c
547         * gtk/gtkctree.c
548         * gtk/gtklist.c
549         * gtk/gtklistitem.c
550         * gtk/gtknotebook.c
551         * gtk/gtkobject.c
552         * gtk/gtkoldeditable.c
553         * gtk/gtkpixmap.c
554         * gtk/gtktext.c
555         * gtk/gtktipsquery.c
556         * gtk/gtktree.c
557         * gtk/gtktreeitem.c: don't #define it again before including
558         gtkalias.h after it has been #undef'ed before.
559
560 2008-07-04  Michael Natterer  <mitch@imendio.com>
561
562         * gtk/gtkentry.c (_gtk_entry_reset_im_context): set need_im_reset
563         to FALSE instead of 0.
564
565 2008-07-04  Michael Natterer  <mitch@imendio.com>
566
567         Allocate with GSlice:
568
569         * gtk/gtkassistant.c: GtkAssistantPage
570         * gtk/gtkcellview.c: GtkCellViewCellInfo
571         * gtk/gtkentry.c: GtkEntryPasswordHint, PopupInfo
572         * gtk/gtkfilefilter.c: FilterRule
573         * gtk/gtknotebook.c: GtkNotebookPage
574
575 2008-07-04  Michael Natterer  <mitch@imendio.com>
576
577         * gtk/gtkcombobox.c: allocate ComboCellInfo with GSlice.
578
579 2008-07-04  Michael Natterer  <mitch@imendio.com>
580
581         * gtk/gtkprintoperation.c (print_pages): change "error_dialog"
582         variable to GtkWidget fo fix two warnings.
583
584 2008-07-04  Michael Natterer  <mitch@imendio.com>
585
586         Bug 539944 – Add GtkScaleButton API so struct fields can be marked
587         as private
588
589         * gtk/gtk.symbols
590         * gtk/gtkscalebutton.[ch]: add gtk_scale_button_get_plus_button()
591         and _get_minus_button(). Patch by Christian Dywan.
592
593 2008-07-04  Matthias Clasen  <mclasen@redhat.com>
594
595         * gtk/gtkscalebutton.c:
596         * gdk/gdk.symbols: 
597         * gdk/gdkwindowimpl.c: Fix make check.
598
599 2008-07-03  Matthias Clasen  <mclasen@redhat.com>
600
601         Bug 540618 – gtk_menu_shell_select_first prints warning on GtkMenubar
602         constructed using GtkUIManager
603
604         * gtk/gtkmenuitem.c: Fall back to the default positioning when
605         the menuitem is not realized. Patch by Björn Lindqvist.
606
607 2008-07-03  Matthias Clasen  <mclasen@redhat.com>
608
609         Bug 540612 – mem leak in filechooser
610
611         * gtk/gtkfilesystem.c (get_volumes_list): Fix a memory leak.
612         Patch by Christian Persch.
613
614 2008-07-04  Tor Lillqvist  <tml@novell.com>
615
616         Bug 540861 - invalid UTF-8 in input device name
617
618         * gdk/win32/gdkinput-win32.c: Fetch the device and cursor names in
619         Unicode, and convert to UTF-8 for the GdkDevice's name field.
620
621 2008-07-03  Matthias Clasen  <mclasen@redhat.com>
622
623         Bug 538863 – Fixes assertion on entering empty folder
624
625         * gtk/gtkfilechooserdefault.c (browse_files_select_first_row): Don't
626         select the first row if the folder is empty.
627         Patch by Olle Bergkvist.
628
629 2008-07-03  Matthias Clasen  <mclasen@redhat.com>
630
631         Bug 540915 – GtkBuilder sets properties in reverse order
632
633         * gtk/gtkbuilderparser.c (parse_custom): Set properties in the order 
634         in which they are specified in the xml file.  
635
636 2008-07-03  Matthias Clasen  <mclasen@redhat.com>
637         
638         Bug 539944 – Add GtkScaleButton API so struct fields can be marked as
639         private
640
641         * gtk/gtk.symbols:
642         * gtk/gtkscalebutton.[hc] (gtk_scale_button_get_popup): Add an
643         accessor for the popup. Patch by Christian Dywan
644
645 2008-07-03  Matthias Clasen  <mclasen@redhat.com>
646
647         Bug 535498 – Printing demo broken
648
649         * demos/gtk-demo/printing.c: Use monospace as font name, 
650         not mono. Also use the right advance when moving from line to line.
651         Patch by Yevgen Muntyan.
652
653 2008-07-03  Matthias Clasen  <mclasen@redhat.com>
654
655         Bug 538547 – Update doc-shooter in gtk documentation
656
657         * docs/tools/Makefile.am:
658         * docs/tools/folder.png:
659         * docs/tools/gnome.png: New images
660
661         * docs/tools/widgets.c: Use the new images.
662         Patch by Baptiste Mille-Mathias.
663
664 2008-07-03  Michael Natterer  <mitch@imendio.com>
665
666         * gtk/gtkscalebutton.c: remove "_from_bindings" suffix from the
667         names of binding signal implementations.
668
669 2008-07-03  Li Yuan  <li.yuan@sun.com>
670
671         * gail-uninstalled.pc.in:
672         Bug #536430. Add libgailutil.la into gail-uninstalled.pc.in.
673
674 2008-07-03  Cody Russell  <bratsche@gnome.org>
675
676         Bug 540529 – Remove all GIMP references
677
678         * gtk+-2.0.pc.in:
679         * gdk-2.0.pc.in:
680         * gtk+-unix-print-2.0.pc.in:
681         * gtk+-2.0-uninstalled.pc.in:
682         * gdk-2.0-uninstalled.pc.in: Changed GIMP Toolkit to say
683         GTK+ Graphical UI Library in the pkg-config files.
684
685 2008-07-02  Cody Russell  <bratsche@gnome.org>
686
687         Bug 541305 – [Win32] Scrolling was broken after GdkWindow refactoring
688
689         * gdk/win32/gdkwindow-win32.c: Reverted some logic so that scrolling
690         works again.
691
692         * gdk/win32/gdkgeometry-win32.c: Removed some more unnecessary checks.
693         * gdk/win32/gdkkeys-win32.c: Removed unused variable to fix compile-time
694         warnings.
695
696 2008-07-02  Cody Russell  <bratsche@gnome.org>
697
698         Bug 541249 – [Win32] Fix some internal static methods
699
700         * gdk/gdkwindow-win32.c: Make the interface implementation methods
701         static.
702
703 2008-07-02  Michael Natterer  <mitch@imendio.com>
704
705         Bug 537591 – Don't hardcode minimum width of menuitems
706
707         * gtk/gtkmenuitem.c: applied patch from Christian Dywan which
708         introduces a "width-chars" style property which replaces the
709         hardcoded minimum width of menuitems with submenu. Patch
710         extracted from Maemo-GTK+.
711
712 2008-07-02  Michael Natterer  <mitch@imendio.com>
713
714         * gtk/gtkfilechooserdefault.c: remove some of the million includes.
715
716 2008-07-02  Kristian Rietveld  <kris@imendio.com>
717
718         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init):
719         Since s/2.16/2.14/ for the new gicon property.
720
721 2008-07-02  Kristian Rietveld  <kris@imendio.com>
722
723         Bug 455268 - Add gtk-enable-tooltips GtkSetting
724
725         * gtk/gtk.symbols:
726         * gtk/gtktoolbar.[ch] (gtk_toolbar_[gs]et_tooltips): deprecated.
727
728         * gtk/gtksettings.c: introduce gtk-enable-tooltips XSetting.
729
730         * gtk/gtktooltip.c (_gtk_tooltip_handle_event): take the newly
731         introduced XSetting into account.
732
733         * demos/gtk-demo/appwindow.c: don't use the now deprecated
734         gtk_toolbar_set_tooltips().
735
736 2008-07-02  Cody Russell  <bratsche@gnome.org>
737
738         Bug 541162 – [Win32] Update for the new GdkWindowImpl stuff
739
740         * gdk/win32/gdkprivate-win32.h:
741         * gdk/win32/gdkgeometry-win32.c:
742         * gdk/win32/gdkevents-win32.c:
743         * gdk/win32/gdkwindow-win32.c: Update Win32 backend according to
744         the newly refactored GdkWindow code.
745         
746 2008-07-01  Cody Russell  <bratsche@gnome.org>
747
748         Bug 539164 – Windows' System Menu blocks main loop
749
750         * gdk/win32/gdkevents-win32.c: Use a modal timer proc in between
751         receiving WM_ENTERMENULOOP and WM_EXITMENULOOP and pump the
752         GLib mainloop from there.
753
754 2008-07-01  Richard Hult  <richard@imendio.com>
755
756         Some aftermath from the window impl cleanups:
757
758         * gdk/quartz/gdkwindow-quartz.c:
759         (gdk_window_merge_child_input_shapes): Rename and export again.
760         (gdk_window_quartz_get_offsets): Make static.
761
762 2008-07-01  Michael Natterer  <mitch@imendio.com>
763
764         * gtk/gtkscalebutton.h: forgot to commit the header, fixed now.
765
766 2008-07-01  Matthias Clasen  <mclasen@redhat.com>
767
768         539790 – [PATCH] Please add three new settings to GtkSettings
769
770         * gdk/x11/gdksettings.c: 
771         * gtk/gtksettings.c: Add event sound settings.
772         Patch by Lennart Poettering.
773
774 2008-07-01  Matthias Clasen  <mclasen@redhat.com>
775
776         Bug 434535 – printoperation's create_surface doesn't check temp file
777         creation for success
778
779         Patch by Marek Kasik:
780
781         * gtk/gtkprintoperation-unix.c
782         (_gtk_print_operation_platform_backend_create_preview_surface): 
783         Handle failure to create temp file by returning NULL.
784
785         * gtk/gtkprintoperation.c (gtk_print_operation_preview_handler):
786         Return FALSE if surface creation fails.
787
788         (print_pages): If the preiew signal is not handled, show an
789         error dialog.
790
791 2008-07-01  Michael Natterer  <mitch@imendio.com>
792
793         Bug 442042 – GtkScaleButton is too limited
794
795         * gtk/gtkscalebutton.[ch]: turn "orientation" into a normal
796         property that can be changed at any time after widget
797         creation. Add public API for it.
798
799         * gtk/gtk.symbols: add gtk_scale_button_get/set_orientation.
800
801 2008-06-30  Michael Natterer  <mitch@imendio.com>
802
803         Some unrelated cleanups found while reviewing
804         the offscreen window patch:
805
806         * gdk/gdkwindow.c: add missing Since: 2.14 to the redirection
807         functions, fix some function header indentation, update
808         documentation of redirect_to_drawable().
809
810         * gdk/x11/gdkwindow-x11.c
811         * gdk/x11/gdkpixmap-x11.c: fix function header
812         formatting/indentation.
813
814         * gtk/gtkwidget.c: use I_() on "damage_event".
815
816 2008-06-30  Michael Natterer  <mitch@imendio.com>
817
818         * gdk/gdkinternals.h: remove duplicate declaration of
819         _gdk_window_new().
820
821 2008-06-30  Michael Natterer  <mitch@imendio.com>
822
823         * gdk/Makefile.am: reorder source lists alphabetically.
824
825 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
826
827         Bug 540310 – Avoid unnecessary repaints when resizing GtkWindow
828
829         * gtk/gtkwindow.c: Avoid unnecessary redraws when resizing.
830         Patch by Owen Taylor
831
832 2008-06-29  Behdad Esfahbod  <behdad@gnome.org>
833
834         Bug 530255 – GtkAboutDialog cuts off comments label
835         Followup patch from  Jan Arne Petersen
836
837         * gtk/gtklabel.c (gtk_label_get_layout_offsets): Ensure layout.
838
839 2008-06-28  Michael Natterer  <mitch@imendio.com>
840
841         * gtk/gtkselection.h: properly indent the newly added
842         GtkSelectionData accessors. Some newlines can't hurt either.
843
844 2008-06-27  Mikael Hallendal  <micke@imendio.com>
845
846         * gtk/gtkbox.c (gtk_box_pack): Removed accidental empty row.
847
848 2008-06-27  Mikael Hallendal  <micke@imendio.com>
849
850         * gtk/gtkbox.c (gtk_box_pack, gtk_box_pack_start, gtk_box_pack_end):
851         Factored out gtk_box_pack from gtk_box_pack_start and use it from both
852         pack_start and pack_end in order to reduce the code duplication.
853
854 2008-06-27  Michael Natterer  <mitch@imendio.com>
855
856         Bug 442042 – GtkScaleButton is too limited
857
858         * gtk/gtkscalebutton.c (gtk_scale_button_init): set the name
859         "gtk-scalebutton-popup-window" on the popup window so it is
860         properly themeable.
861
862 2008-06-27  Kristian Rietveld  <kris@imendio.com>
863
864         * gdk/quartz/gdkgeometry-quartz.c:
865         * gdk/quartz/gdkwindow-quartz.c:
866         * gdk/quartz/gdkprivate-quartz.h: adapt to use GdkWindowImpl
867         interface.
868
869 2008-06-27  Carlos Garnacho  <carlos@imendio.com>
870
871         * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Fix two potential
872         critical warnings. Bug #539470.
873
874 2008-06-27  Emmanuele Bassi  <ebassi@gnome.org>
875
876         Abstract some GdkWindow API into an interface that the backends
877         must implement. (based on a patch by Alex Larsson)
878
879         * gdk/Makefile.am: Add gdkwindowimpl.[ch]
880
881         * gdk/gdk.symbols: Move symbols around.
882
883         * gdk/gdkinternals.h:
884         * gdk/gdkwindowimpl.[ch]: Move some of the GdkWindow API we require
885         from the backends to a GInterface that the backends should implement
886         instead.
887
888         * gdk/gdkwindow.c: Provide some of the GdkWindow public API as a
889         wrapper call around the GdkWindowImpl interface vtable.
890
891         * gdk/x11/gdkevents-x11.c:
892         * gdk/x11/gdkgeometry-x11.c:
893         * gdk/x11/gdkprivate-x11.h:
894         * gdk/x11/gdkwindow-x11.c:
895         * gdk/x11/gdkwindow-x11.h: Update the X11 backend to implement
896         the GdkWindowImpl interface.
897
898 2008-06-27  Martyn Russell  <martyn@imendio.com>
899
900         Bug 540318 - Invalid URL
901         
902         * gtk/gtkcontainer.c: (gtk_container_add): Fixed the FAQ location
903         in the warning produced here.
904
905 2008-06-27  Michael Natterer  <mitch@imendio.com>
906
907         Bug 442042 – GtkScaleButton is too limited
908
909         * gtk/gtkscalebutton.c: add "orientation" property. Make sure the
910         stuff that is part of the public API continues to be created in
911         init() to stay compatible. Move creating of the popup scale to
912         constructor(). Add an internal HScale class. Changed popup
913         positioning for horizontal scales accordingly.
914
915 2008-06-26  Michael Natterer  <mitch@imendio.com>
916
917         * gtk/gtkscalebutton.c
918         * gtk/gtkvolumebutton.c: remove redundant init() and class_init()
919         prototypes, remove redundant includes, remove a little trailing
920         whitespace.
921
922 2008-06-26  Richard Hult  <richard@imendio.com>
923
924         * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
925         * gtk/gtkquartz.c:
926         (_gtk_quartz_get_selection_data_from_pasteboard),
927         (_gtk_quartz_set_selection_data_for_pasteboard): Patch from
928         Christian Dywan to clean up selection data setting.
929
930 2008-06-26  Richard Hult  <richard@imendio.com>
931
932         * gtk/gtkdnd-quartz.c (gtk_drag_begin_internal): Don't use
933         deprecated function gtk_widget_ref, replace with g_object_ref.
934
935 2008-06-26  Michael Natterer  <mitch@imendio.com>
936
937         * gtk/gtkfilesystem.c: #include "config.h"
938
939 2008-06-26  Carlos Garnacho  <carlos@imendio.com>
940
941         * gtk/gtkfilechooserdefault.c
942         (gtk_file_chooser_default_get_current_folder): current_folder can be
943         NULL here, do not try to reference it (Bug #540235)
944         (gtk_file_chooser_default_get_files): Deal better with
945         gtk_file_chooser_default_get_current_folder() being able to return
946         NULL.
947
948 2008-06-26  Michael Natterer  <mitch@imendio.com>
949
950         * gtk/gtktextutil.c (_gtk_text_util_append_special_char_menuitems):
951         allocate the GtkTextUtilCallbackInfo structs with GSlice.
952
953 2008-06-25  Michael Natterer  <mitch@imendio.com>
954
955         * gtk/gtktypeutils.h: there is no reason to include
956         <gtk/gtktypebuiltins.h> in the middle of the file, move it to top,
957         replacing the <glib-object.h> include. Also move the remaining few
958         non-deprecated things to the top and move some deprecated things
959         around to clean up the mess with too many deprecated sections even
960         more.
961
962 2008-06-24  Michael Natterer  <mitch@imendio.com>
963
964         * gtk/gtktypeutils.h: deprecate gtk_type_init() unconditionally
965         (also for GTK_COMPILATION). Move some deprecated typedefs around
966         to reduce the mess with zillions of deprecated sections.
967
968         * gtk/gtkmain.c (do_post_parse_initialization): replace the call
969         to gtk_type_init() by g_type_init() and gtk_object_get_type() even
970         though the latter is probably completely pointless.
971
972 2008-06-24  Michael Natterer  <mitch@imendio.com>
973
974         * gtk/gtkdialog.c (gtk_dialog_init): also revert change in how
975         the dialog's vbox was added (bug #539732).
976
977 2008-06-24  Carlos Garnacho  <carlos@imendio.com>
978
979         * gtk/gtkdialog.[ch]: Remove container implementation, which isn't
980         thought for handling non-direct children. Fixes #539732.
981         (gtk_dialog_pack_start) (gtk_dialog_pack_end): Removed as well, it
982         doesn't provide enough control to API users (removing, reordering...),
983         this is better handled through:
984         (gtk_dialog_get_content_area): New function which just returns
985         dialog->vbox.
986         * gtk/gtk.symbols: Modify accordingly.
987         * docs/reference/gtk/tmpl/gtkdialog.sgml: Update docs to recommend
988         using gtk_dialog_get_[action|content]_area() instead of accessing
989         dialog struct members directly.
990
991 2008-06-24  Michael Natterer  <mitch@imendio.com>
992
993         * gtk/gtkassistant.h
994         * gtk/gtkcellrenderer.h
995         * gtk/gtkfilechooserentry.h
996         * gtk/gtkprivate.h
997         * gtk/gtktooltip.h
998         * gtk/gtktreeview.h
999         * gtk/gtkwindow.h: no need to include gtkwidget.h or gtkobject.h
1000         if there is any other widget included, they all have to include
1001         their respective parent classes (the is-a relation works for
1002         includes too).
1003
1004 2008-06-24  Michael Natterer  <mitch@imendio.com>
1005
1006         * gtk/gtktextutil.h: remove includes from this internal header.
1007
1008         * gtk/gtktextutil.c: include gtktextbuffer.h before gtktextutil.h.
1009
1010 2008-06-23  Michael Natterer  <mitch@imendio.com>
1011
1012         * gtk/gtkinvisible.h: formatting.
1013
1014 2008-06-23  Michael Natterer  <mitch@imendio.com>
1015
1016         * gtk/gtkaction.h
1017         * gtk/gtkbuildable.h
1018         * gtk/gtkbuilderprivate.h
1019         * gtk/gtkcelllayout.h
1020         * gtk/gtkentrycompletion.h
1021         * gtk/gtkfilechoosersettings.h
1022         * gtk/gtkfilesystem.h
1023         * gtk/gtkfilesystemmodel.h
1024         * gtk/gtkicontheme.h
1025         * gtk/gtklinkbutton.h
1026         * gtk/gtkpagesetup.h
1027         * gtk/gtkpapersize.h
1028         * gtk/gtkprintcontext.h
1029         * gtk/gtkprintoperation.h
1030         * gtk/gtkprintoperationpreview.h
1031         * gtk/gtkprintsettings.h
1032         * gtk/gtkrecentchooserprivate.h
1033         * gtk/gtkrecentmanager.h
1034         * gtk/gtksearchengine.h
1035         * gtk/gtktexttag.h
1036         * gtk/gtktreeselection.h
1037         * gtk/gtktreeviewcolumn.h
1038         * gtk/gtkuimanager.h: remove redundant inclusion of <glib.h> and
1039         <glib-object.h>. There is no point in relying on them being pulled
1040         in by other headers in some places and placing them explicitly in
1041         other places, so choose the "as little includes as possible"
1042         approach and get rid of them.
1043
1044 2008-06-23  Kristian Rietveld  <kris@imendio.com>
1045
1046         * gdk/gdkenumtypes.h.template:
1047         * gdk-pixbuf/gdk-pixbuf-enum-types.h.template:
1048         * gtk/gtktypebuiltins.h.template:
1049         * perf/typebuiltins.h.template: do not hard code the prefix of the
1050         enum, use @ENUMPREFIX@ instead (you need an up to date glib for this).
1051
1052 2008-06-23  Michael Natterer  <mitch@imendio.com>
1053
1054         * gtk/gtkmountoperation.h
1055         * gtk/gtktestutils.h
1056         * gtk/gtkshow.[ch]: remove as many includes as possible from these
1057         new files. They can't be included individually, so nothing can break.
1058
1059 2008-06-22  Michael Natterer  <mitch@imendio.com>
1060
1061         * gtk/gtkaccelgroup.c: use g_param_spec_flags(), not enum() when
1062         registering the "modifier-mask" property.
1063
1064 2008-06-21  Johan Dahlin  <jdahlin@async.com.br>
1065
1066     * *.[ch]: Include "config.h" instead of <config.h>
1067         Command used:
1068         find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
1069         Rubberstamped by Mitch and Tim
1070
1071 2008-06-21  Carlos Garnacho  <carlos@imendio.com>
1072
1073         Bug 539466 – GtkMenuShell API/ABI break in trunk.
1074
1075         * gtk/gtkmenushell.h: Fix API/ABI break, two guint fields had
1076         different name and packing width.
1077
1078 2008-06-21  Johan Dahlin  <jdahlin@async.com.br>
1079
1080         * gtk/gtkiconcachevalidator.c (check_pixel_data): Cast to guint8* to avoid
1081         a compiler warning.
1082
1083 2008-06-21  Michael Natterer  <mitch@imendio.com>
1084
1085         * gdk/gdkapplaunchcontext.h: remove redundant include, fix
1086         indentation, replace header by a GDK copyright header (don't say
1087         "The Gnome Library"), remove trailing whitespace.
1088
1089 2008-06-21  Hans Breuer  <hans@breuer.org>
1090
1091         * gtk/gtkprintoperation-win32.c(1713) : fix 'function' : incompatible 
1092         types - from 'struct _cairo *' to 'struct _cairo_surface *' by
1093         passing the surface to cairo_surface_show_page(), not the context
1094         * gtk/gtkprintoperation-win32.c(866) : get rid of warning C4018: 
1095         '<' : signed/unsigned mismatch by using guint for the loop
1096
1097         * gtk/gtkmenu.c(gtk_menu_get_property) : property 'menu::active' is 
1098         an uint, gtk_menu_get_active() returns the widget pointer. Convert
1099         the latter to the former by calculating the index in menu::children
1100         Also fix some occurences of g_return_if_fail() where 
1101         g_return_val_if_fail() was meant
1102
1103 2008-06-21  Björn Lindqvist  <bjourne@gmail.com>
1104
1105         Bug 539363 – Segfault when creating GtkPlugs
1106
1107         * gtk/gtkplug.c (gtk_plug_class_init): Spaces not allowed in
1108         property names. "socket window" => "socket-window"
1109
1110 2008-06-20  Jody Goldberg <jody@gnome.org>
1111
1112         * gtk/gtkprintoperation-win32.c (gtk_print_run_page_setup_dialog) : 
1113           Fix life cycle to avoid crash. [#536966]
1114
1115 2008-06-20  Hans Breuer  <hans@breuer.org>
1116
1117         * gtk/gtkmenuitem.c gtk/gtkmessagedialog.c gtk/gtkplug.c : must return
1118         a value of the appropriate type with g_return_val_if_fail
1119         
1120         * gdk/gdkconfig.h.win32 : add the GSEAL definition here as well
1121
1122         * gtk/gtkfilesystem.c : don't add the "File System" on win32
1123
1124         * tests/makefile.msc : remove broken autotestfile(system|chooser) 
1125         from build
1126
1127 2008-06-20  Johan Dahlin  <jdahlin@async.com.br>
1128
1129         * gtk/gtkbutton.c: Document a style property
1130
1131         * gtk/gtkeditable.c: Document and use - instead of _ in signal names.
1132
1133         * gtk/gtkbutton.c:
1134         * gtk/gtkcolorsel.c:
1135         * gtk/gtkentry.c:
1136         * gtk/gtkitemfactory.c:
1137         * gtk/gtknotebook.c:
1138         Fix up deprecated markup syntax. Add version numbers and
1139         a message on the remaning ones.
1140
1141 2008-06-20  Mikael Hallendal  <micke@imendio.com>
1142
1143         * tests/testthreads.c: Use g_signal_connect instead of
1144         gtk_signal_connect.
1145
1146         * demos/testgtk/main.c: switched to use GSignal instead of GtkSignal.
1147         While the code is not built, people may still look at it.
1148
1149 2008-06-20  Kjartan Maraas  <kmaraas@gnome.org>
1150
1151         reviewed by: <Carlos Garnacho <garnacho@gnome.org>
1152
1153         * gtk/gtkbuilder.h:
1154         * gtk/gtkliststore.h:
1155         * gtk/gtkobject.h:
1156         * gtk/gtktextchild.h:
1157         * gtk/gtktreemodelfilter.h:
1158         * gtk/gtktreemodelsort.h:
1159         * gtk/gtktreestore.h:
1160         #include <gdkconfig.h> not <gdk/gdkconfig.h>
1161
1162 2008-06-20  Martyn Russell  <martyn@imendio.com>
1163
1164         * gtk/gtkaccelgroup.c: Fix warnings from calling
1165         g_object_notify() on a GtkAccelGroup without casting to a
1166         GObject.
1167
1168 2008-06-20  Johan Dahlin  <jdahlin@async.com.br>
1169
1170         * gtk/gtkcolorsel.c: Modernize and order things as most
1171         other objects. Defines at the top, class init before init
1172         before gobject methods before object method before widget
1173         methods. No changes to the logic done.
1174
1175 2008-06-20  Martyn Russell  <martyn@imendio.com>
1176
1177         * gtk/gtkaccelgroup.c: Don't call g_object_notify() with
1178         properties that don't exist. Also, make sure we notify for
1179         the "is-locked" property.
1180
1181 2008-06-20  Johan Dahlin  <jdahlin@async.com.br>
1182
1183         * gtk/gtklayout.c (enum): Remove left-over unused property enum.
1184
1185 2008-06-20  Johan Dahlin  <jdahlin@async.com.br>
1186
1187         * gtk/gtkscalebutton.c: Fix gtk-doc syntax, add missing trailing colon.
1188
1189         * gtk/gtk.symbols: Add all newly added accessors so abicheck.sh passes
1190
1191         * gtk/gtkwidget.c (gtk_widget_get_allocation): Initialize the
1192         allocation to avoid compiler warnings
1193
1194 2008-06-20  Michael Natterer  <mitch@imendio.com>
1195
1196         * gtk/gtkaccellabel.h
1197         * gtk/gtkactiongroup.h
1198         * gtk/gtkalignment.h
1199         * gtk/gtkarrow.h
1200         * gtk/gtkaspectframe.h
1201         * gtk/gtkbin.h
1202         * gtk/gtkhandlebox.h
1203         * gtk/gtkprogressbar.h
1204         * gtk/gtkrange.h
1205         * gtk/gtkscale.h
1206         * gtk/gtkscalebutton.h
1207         * gtk/gtkselection.h: fix some formatting and spacing uglyness
1208         that got merged from the GSEAL branch.
1209
1210 2008-06-20  Johan Dahlin  <jdahlin@async.com.br>
1211
1212         * gtk/gtk.symbols:
1213         * gtk/gtkmessagedialog.c (gtk_message_dialog_get_image):
1214         * gtk/gtkmessagedialog.h:
1215         Add missing accessor for sealed field GtkMessageDialog->image.
1216
1217 2008-06-20  Michael Natterer  <mitch@imendio.com>
1218
1219         * gtk/gtkprinter.h: the GSEAL branch added two includes for no
1220         reason.
1221
1222 2008-06-20  Johan Dahlin  <jdahlin@async.com.br>
1223
1224         * gtk/gtkaccelgroup.c:
1225         * gtk/gtkcolorseldialog.c:
1226         * gtk/gtkcontainer.c:
1227         * gtk/gtkdialog.c:
1228         * gtk/gtkentry.c (gtk_entry_class_init):
1229         * gtk/gtkfontsel.c:
1230         * gtk/gtkhandlebox.c:
1231         * gtk/gtklayout.c:
1232         * gtk/gtkmenu.c (gtk_menu_class_init):
1233         * gtk/gtkmenuitem.c (gtk_menu_item_class_init):
1234         * gtk/gtkplug.c (gtk_plug_class_init):
1235         * gtk/gtkselection.c:
1236         * gtk/gtksocket.c:
1237         * gtk/gtktreeselection.c:
1238         * gtk/gtkwidget.c (gtk_widget_class_init):
1239         * gtk/gtkwindow.c:
1240         Add missing Since: gtk-doc markup for newly added GSEAL API.
1241         Change all Since: GSEAL-branch to Since: 2.14.
1242
1243 2008-06-20  Michael Natterer  <mitch@imendio.com>
1244
1245         * gtk/gtkaccelgroup.[ch]: fix some formatting and whitespace in
1246         the code merged from the GSEAL branch.
1247
1248 2008-06-20  Michael Natterer  <mitch@imendio.com>
1249
1250         * gtk/gtkdialog.[ch] (gtk_dialog_get_action_area): change return
1251         value from GtkHButtonBox to GtkWidget.
1252
1253 2008-06-20  Michael Natterer  <mitch@imendio.com>
1254
1255         * gtk/gtkhandlebox.h (struct _GtkHandleBox): deuglify formatting
1256         of sealed fields.
1257
1258 2008-06-20  Michael Natterer  <mitch@imendio.com>
1259
1260         * gtk/gtkwindow.[ch]
1261         * gtk/gtk.symbols: rename gtk_window_group_get_windows() to
1262         gtk_window_group_list_windows().
1263
1264 2008-06-20 12:35:20 +0200 Tim Janik
1265
1266         * Fixed wrongly resolved merge conflicts.
1267
1268 2008-06-19 19:01:41 +0200 Carlos Garnacho
1269
1270         Add gtk_window_group_get_windows().
1271
1272         * gtk/gtk.symbols:
1273         * gtk/gtkwindow.[ch] (gtk_window_group_get_windows): New function.
1274
1275 2008-06-19 18:39:47 +0200 Carlos Garnacho
1276
1277         Document gtk_dialog_get_action_area(), gtk_dialog_pack_start() and gtk_dialog_pack_end()
1278
1279         * gtk/gtkdialog.c: Add missing documentation for new fucntions.
1280
1281 2008-06-19 18:38:35 +0200 Carlos Garnacho
1282
1283         Document gtk_container_get_focus_child().
1284
1285         * gtk/gtkcontainer.c: Add documentation for gtk_container_get_focus_child().
1286
1287 2008-06-19 13:50:06 +0200 Christian Dywan
1288
1289         Add gtk_plug_get_socket_window
1290
1291 2008-06-19 13:11:52 +0200 Christian Dywan
1292
1293         Remove superflous gtkselection accessors and merge _get_data
1294
1295 2008-06-13 15:56:51 +0200 Christian Dywan
1296
1297         Implement gtk_selection_get_display, style fixes
1298
1299 2008-06-13 15:45:00 +0200 Christian Dywan
1300
1301         Fix indentation of a comment.
1302
1303 2008-06-13 15:10:08 +0200 Christian Dywan
1304
1305         Change docs and signature of gtk_widget_get_allocation
1306
1307 2008-06-13 14:22:17 +0200 Christian Dywan
1308
1309         Remove unneeded GtkColorSelectionDialog accessors
1310
1311 2008-06-13 12:57:54 +0200 Christian Dywan
1312
1313         Fix documentaion of gtk_menu_item_get_accel_path
1314
1315 2008-06-11 13:49:34 +0200 Christian Dywan
1316
1317         Fix gtk_widget_get_allocation
1318
1319 2008-06-07 15:37:18 +0200 Carlos Garnacho
1320
1321         Switch to "guint GSEAL (foo) : width;" when packing fields in guints.
1322
1323         * gtk/gtkbox.h:
1324         * gtk/gtkbutton.h:
1325         * gtk/gtkcellrenderer.h:
1326         * gtk/gtkcellrenderertext.h:
1327         * gtk/gtkcheckmenuitem.h:
1328         * gtk/gtkcontainer.h:
1329         * gtk/gtkentry.h:
1330         * gtk/gtkhandlebox.h:
1331         * gtk/gtkimcontextsimple.h:
1332         * gtk/gtklabel.h:
1333         * gtk/gtkliststore.h:
1334         * gtk/gtkmenu.h:
1335         * gtk/gtkmenuitem.h:
1336         * gtk/gtkmenushell.h:
1337         * gtk/gtknotebook.h:
1338         * gtk/gtkpaned.h:
1339         * gtk/gtkplug.h:
1340         * gtk/gtkprintjob.h:
1341         * gtk/gtkprogressbar.h:
1342         * gtk/gtkrange.h:
1343         * gtk/gtkscale.h:
1344         * gtk/gtkscrolledwindow.h:
1345         * gtk/gtksizegroup.h:
1346         * gtk/gtksocket.h:
1347         * gtk/gtkspinbutton.h:
1348         * gtk/gtkstatusbar.h:
1349         * gtk/gtktable.h:
1350         * gtk/gtktearoffmenuitem.h:
1351         * gtk/gtktextbuffer.h:
1352         * gtk/gtktextview.h:
1353         * gtk/gtktogglebutton.h:
1354         * gtk/gtktoolbar.h:
1355         * gtk/gtktreestore.h:
1356         * gtk/gtktreeviewcolumn.h:
1357         * gtk/gtkwindow.h: Do not specify width inside GSEAL() when packing fields in guints.
1358
1359 2008-06-06 19:02:17 +0200 Christian Dywan
1360
1361         Seal GtkWidget
1362
1363 2008-06-06 17:58:21 +0200 Christian Dywan
1364
1365         Seal GtkSelectionData
1366
1367 2008-06-06 17:57:23 +0200 Christian Dywan
1368
1369         Fix GtkDialog, don't add vbox via gtk_container_add.
1370
1371 2008-06-06 13:39:34 +0200 Kristian Rietveld
1372
1373         Make GtkCellRenderer::editing read-only.  (Catched by Matthias)
1374
1375 2008-06-03 09:11:50 +0200 Kristian Rietveld
1376
1377         Seal GtkTextView.
1378
1379 2008-05-30 16:48:12 +0100 Martyn Russell
1380
1381         Seal GtkFontSelection & GtkFontSelectionDialog
1382
1383 2008-05-29 10:35:29 +0200 Kristian Rietveld
1384
1385         Seal GtkTearoffMenuItem.
1386
1387         (the torn_off field is for internal state keeping, you can retrieve
1388         the value from the parent menu's tearoff_state).
1389
1390 2008-05-27 18:34:12 +0200 Christian Dywan
1391
1392         Seal GtkObject
1393
1394 2008-05-27 18:17:44 +0200 Christian Dywan
1395
1396         Seal GtkRange
1397
1398 2008-05-27 15:10:02 +0200 Christian Dywan
1399
1400         Seal GtkPlug
1401
1402 2008-05-27 14:17:45 +0200 Christian Dywan
1403
1404         Seal GtkMenuItem
1405
1406 2008-05-27 14:04:31 +0200 Christian Dywan
1407
1408         Seal GtkMenuShell
1409
1410 2008-05-27 12:40:08 +0200 Christian Dywan
1411
1412         Seal GtkInputDialog
1413
1414 2008-05-27 12:39:49 +0200 Christian Dywan
1415
1416         Seal GtkIMMultiContext
1417
1418 2008-05-27 12:39:17 +0200 Christian Dywan
1419
1420         Seal GtkIMContextSimple
1421
1422 2008-05-27 12:14:53 +0200 Christian Dywan
1423
1424         Seal GtkImage
1425
1426 2008-05-27 11:14:21 +0200 Christian Dywan
1427
1428         Seal GtkSocket
1429
1430 2008-05-27 10:54:20 +0200 Christian Dywan
1431
1432         Fix the build by including gdkconfig.h in gtkprinter.h.
1433
1434 2008-05-27 10:38:02 +0200 Christian Dywan
1435
1436         Seal GtkGammaCurve
1437
1438 2008-05-27 10:20:56 +0200 Christian Dywan
1439
1440         Seal GtkHandleBox
1441
1442 2008-05-26 17:58:19 +0200 Kristian Rietveld
1443
1444         Seal GtkInvisible.
1445
1446 2008-05-26 17:54:56 +0200 Kristian Rietveld
1447
1448         Seal GtkPrintJob.
1449
1450 2008-05-26 17:48:23 +0200 Kristian Rietveld
1451
1452         Seal GtkTextBuffer.
1453
1454 2008-05-26 17:39:38 +0200 Kristian Rietveld
1455
1456         Seal GtkSpinButton.
1457
1458 2008-05-26 17:31:06 +0200 Kristian Rietveld
1459
1460         Seal GtkTable.
1461
1462 2008-05-26 17:27:22 +0200 Kristian Rietveld
1463
1464         Seal GtkRuler.
1465
1466 2008-05-26 17:07:43 +0200 Kristian Rietveld
1467
1468         Seal GtkStatusBar.
1469
1470 2008-05-26 17:07:37 +0200 Kristian Rietveld
1471
1472         Seal GtkTextMark.
1473
1474 2008-05-26 16:39:27 +0200 Kristian Rietveld
1475
1476         Seal GtkTextTagTable.
1477
1478 2008-05-26 16:34:13 +0200 Kristian Rietveld
1479
1480         Seal GtkViewPort.
1481
1482 2008-05-26 17:08:19 +0200 Christian Dywan
1483
1484         Seal GtkSettings.h
1485
1486 2008-05-26 16:40:05 +0200 Christian Dywan
1487
1488         Seal GtkMenu
1489
1490 2008-05-26 16:37:54 +0200 Christian Dywan
1491
1492         Seal GtkLayout
1493
1494 2008-05-26 14:09:32 +0200 Kristian Rietveld
1495
1496         Seal priv pointer in GtkToggleToolButton.
1497
1498 2008-05-26 14:04:51 +0200 Kristian Rietveld
1499
1500         Seal priv pointer in GtkUIManager.
1501
1502 2008-05-26 14:01:32 +0200 Kristian Rietveld
1503
1504         Seal priv pointer in GtkToolItem.
1505
1506 2008-05-26 14:01:12 +0200 Kristian Rietveld
1507
1508         Seal priv pointer in GtkToolButton.
1509
1510 2008-05-26 14:00:24 +0200 Kristian Rietveld
1511
1512         Seal priv pointer in GtkToggleAction.
1513
1514 2008-05-26 13:58:01 +0200 Kristian Rietveld
1515
1516         Seal priv pointer in GtkStatusIcon.
1517
1518 2008-05-26 13:57:33 +0200 Kristian Rietveld
1519
1520         Seal priv pointer in GtkSeparatorToolItem.
1521
1522 2008-05-26 13:56:33 +0200 Kristian Rietveld
1523
1524         Seal priv pointer in GtkScaleButton.
1525
1526 2008-05-26 13:55:57 +0200 Kristian Rietveld
1527
1528         Seal priv pointer in GtkRecentManager.
1529
1530 2008-05-26 13:55:25 +0200 Kristian Rietveld
1531
1532         Seal priv pointer in GtkRecentChooserWidget.
1533
1534 2008-05-26 13:54:39 +0200 Kristian Rietveld
1535
1536         Seal priv pointer in GtkRecentChooserMenu.
1537
1538 2008-05-26 13:54:15 +0200 Kristian Rietveld
1539
1540         Seal priv pointer in GtkRecentChooserDialog.
1541
1542 2008-05-26 13:52:40 +0200 Kristian Rietveld
1543
1544         Seal priv pointer in GtkRecentAction.
1545
1546 2008-05-26 13:51:47 +0200 Kristian Rietveld
1547
1548         Seal priv pointer in GtkRadioAction.
1549
1550 2008-05-26 13:50:49 +0200 Kristian Rietveld
1551
1552         Seal priv pointer in GtkPrintUnixDialog.
1553
1554 2008-05-26 13:50:08 +0200 Kristian Rietveld
1555
1556         Seal priv pointer in GtkPrintOperation.
1557
1558 2008-05-26 13:49:41 +0200 Kristian Rietveld
1559
1560         Seal priv pointer in GtkPrinter.
1561
1562 2008-05-26 13:48:49 +0200 Kristian Rietveld
1563
1564         Seal priv pointer in  GtkPageSetupUnixDialog.
1565
1566 2008-05-26 13:47:39 +0200 Kristian Rietveld
1567
1568         Seal priv pointer in GtkMenuToolButton.
1569
1570 2008-05-26 13:47:29 +0200 Kristian Rietveld
1571
1572         Add gdkconfig.h include to GtkBuilder for GSEAL macro.
1573
1574 2008-05-26 13:23:45 +0200 Kristian Rietveld
1575
1576         Seal priv pointer in GtkLinkButton.
1577
1578 2008-05-26 13:22:25 +0200 Kristian Rietveld
1579
1580         Seal priv pointer in GtkIconView.
1581
1582 2008-05-26 13:22:04 +0200 Kristian Rietveld
1583
1584         Seal priv pointer in GtkIconTheme.
1585
1586 2008-05-26 13:13:49 +0200 Kristian Rietveld
1587
1588         Seal child_allocation field in GtkFrame.
1589
1590 2008-05-26 13:10:17 +0200 Kristian Rietveld
1591
1592         Sealed priv pointer in GtkFontButton.
1593
1594 2008-05-26 13:07:14 +0200 Kristian Rietveld
1595
1596         Seal priv pointer in GtkFileChooserButton.
1597
1598 2008-05-26 13:06:43 +0200 Kristian Rietveld
1599
1600         Seal priv pointer in GtkExpander.
1601
1602 2008-05-26 13:03:24 +0200 Kristian Rietveld
1603
1604         Sealed remaining (private) fields in GtkContainer.
1605
1606 2008-05-26 13:02:26 +0200 Kristian Rietveld
1607
1608         Seal priv pointer in GtkComboBoxEntry.
1609
1610 2008-05-26 13:01:40 +0200 Kristian Rietveld
1611
1612         Seal priv pointer in GtkComboBox.
1613
1614 2008-05-26 13:00:59 +0200 Kristian Rietveld
1615
1616         Seal private_data pointer in GtkColorSel.
1617
1618 2008-05-26 12:57:50 +0200 Kristian Rietveld
1619
1620         Seal 3 remaining fields in GtkButton.
1621
1622 2008-05-26 12:55:24 +0200 Kristian Rietveld
1623
1624         Seal priv pointer in GtkBuilder.
1625
1626 2008-05-26 12:52:44 +0200 Kristian Rietveld
1627
1628         Seal center_allocation field in GtkAspectFrame.
1629
1630 2008-05-26 12:48:18 +0200 Kristian Rietveld
1631
1632         Seal priv pointer in GtkAction.
1633
1634 2008-05-26 12:46:11 +0200 Kristian Rietveld
1635
1636         Seal priv pointer in GtkAboutDialog.
1637
1638 2008-05-26 12:41:46 +0200 Kristian Rietveld
1639
1640         Seal GtkSizeGroup.
1641
1642 2008-05-26 12:39:54 +0200 Kristian Rietveld
1643
1644         Seal GtkPaned.
1645
1646 2008-05-26 11:59:35 +0200 Kristian Rietveld
1647
1648         Set the Since: values in the API docs to GSEAL-branch for the newly added accessors/properties.
1649
1650 2008-05-26 11:52:20 +0200 Kristian Rietveld
1651
1652         Add new GtkColorSelectionDialog accessors to gtk.symbols.
1653
1654 2008-05-26 11:41:47 +0200 Kristian Rietveld
1655
1656         gtklabel.h: include bit-size of fields inside GSEAL parens.
1657
1658 2008-05-26 11:40:07 +0200 Kristian Rietveld
1659
1660         gtktoolbar.h: include bit-size of fields inside GSEAL parens.
1661
1662 2008-05-26 11:39:35 +0200 Kristian Rietveld
1663
1664         gtkentry.h: include bit-size of fields inside GSEAL parens.
1665
1666 2008-05-26 11:34:14 +0200 Kristian Rietveld
1667
1668         Add new accessors for GtkEntry to gtk.symbols.
1669
1670 2008-05-26 11:23:56 +0200 Kristian Rietveld
1671
1672         Also seal GtkWindowGroup in gtkwindow.h
1673
1674 2008-05-26 10:48:48 +0200 Kristian Rietveld
1675
1676         Fix the build by including gdkconfig.h in gtktextchild.h.
1677
1678 2008-05-23 18:48:56 +0200 Christian Dywan
1679
1680         Seal GtkLabel
1681
1682 2008-05-23 18:28:39 +0200 Christian Dywan
1683
1684         Seal GtkToolbar
1685
1686 2008-05-23 18:28:07 +0200 Christian Dywan
1687
1688         Seal GtkColorSelectionDialog
1689
1690 2008-05-23 18:03:44 +0200 Carlos Garnacho
1691
1692         Seal GtkTextChildAnchor.
1693
1694         * gtk/gtktextchild.h: Sealed private member.
1695
1696 2008-05-23 17:42:01 +0200 Carlos Garnacho
1697
1698         Seal GtkWindow.
1699
1700         * gtk/gtkwindow.h: Seal all fields.
1701
1702 2008-05-23 17:40:09 +0200 Carlos Garnacho
1703
1704         Add gtk_window_get_default()
1705
1706         * gtk/gtkwindow.[ch]: Add gtk_window_get_default().
1707         * gtk/gtk.symbols: same here.
1708
1709 2008-05-09 15:41:57 +0100 Martyn Russell
1710
1711         Seal GtkAccelGroup - fixed some issues with the initial attempt thanks to comments from Tim
1712
1713 2008-05-02 16:31:40 +0200 Martyn Russell
1714
1715         Seal GtkEntry
1716
1717 2008-05-02 16:30:09 +0200 Martyn Russell
1718
1719         Seal GtkContainer - fixed Carlos' missing gtk_container_get_focus_child() header declaration
1720
1721 2008-04-27 18:49:50 +0200 Kristian Rietveld
1722
1723         Seal GtkToggleButton.
1724
1725         * gtk/gtktogglebutton.h: Seal all member fields.
1726
1727 2008-04-27 18:41:46 +0200 Kristian Rietveld
1728
1729         Seal GtkTreeViewColumn.
1730
1731         * gtk/gtktreeviewcolumn.h: Seal all public member fields.  The button field is
1732         still troublesome.  We are probably going to need an accessor for this and
1733         deprecated it immediately in GTK+ 3.0.  Accessors for requested_width and
1734         resized_width can be useful, but I really consider them to be private and
1735         of not much use to applications.
1736
1737 2008-04-27 18:23:23 +0200 Kristian Rietveld
1738
1739         Seal GtkRadioMenuItem.
1740
1741         * gtk/gtkradiomenuitem.h: Seal member field.
1742
1743 2008-04-27 18:21:29 +0200 Kristian Rietveld
1744
1745         Seal GtkRadioButton.
1746
1747         * gtk/gtkradiobutton.h: seal member field.
1748
1749 2008-04-27 18:11:41 +0200 Kristian Rietveld
1750
1751         Seal GtkTreeSelection.
1752
1753         * gtk/gtktreeselection.h: Seal all member fields.
1754
1755 2008-04-27 18:09:46 +0200 Kristian Rietveld
1756
1757         Add gtk_tree_selection_get_select_function().
1758
1759         * gtk/gtktreeselection.[ch] (gtk_tree_selection_get_select_function): new
1760         function.
1761         * gtk/gtk.symbols: add new function.
1762
1763 2008-04-27 16:05:02 +0200 Kristian Rietveld
1764
1765         Seal GtkScrolledWindow.
1766
1767         * gtk/gtkscrolledwindow.h: Seal all object member fields.
1768
1769 2008-04-27 15:56:33 +0200 Kristian Rietveld
1770
1771         Seal GtkCellRenderer.
1772
1773         * gtk/gtkcellrenderer.h: seal all member fields.  All member fields are
1774         already accessible via GObject properties.
1775
1776 2008-04-27 15:56:01 +0200 Kristian Rietveld
1777
1778         Add "editing" GObject property to GtkCellRenderer.
1779
1780         * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init),
1781         (gtk_cell_renderer_get_property),
1782         (gtk_cell_renderer_set_property): add the property and hook
1783         it up.
1784
1785 2008-04-27 15:42:08 +0200 Kristian Rietveld
1786
1787         Seal GtkCellRendererText.
1788
1789         * gtk/gtkcellrenderertext.h: seal all member fields (all of them were already
1790         marked as private).
1791
1792 2008-04-27 15:40:47 +0200 Kristian Rietveld
1793
1794         Seal GtkCellRendererCombo.
1795
1796         * gtk/gtkcellrenderercombo.h: seal all member fields.  The members fields
1797         that were not marked as private are already accessible via GObject properties.
1798
1799 2008-04-27 15:39:41 +0200 Kristian Rietveld
1800
1801         Seal GtkCellRendererAccel.
1802
1803         * gtk/gtkcellrendereraccel.h: seal all member fields that were already
1804         marked as private.
1805
1806 2008-04-18 16:55:44 +0200 Kristian Rietveld
1807
1808         Seal GtkTreeView
1809
1810         * gtk/gtktreeview.h: seal private pointer.
1811
1812 2008-04-18 16:52:54 +0200 Kristian Rietveld
1813
1814         Seal GtkTreeModelFilter
1815
1816         * gtk/gtktreemodelfilter.h: include gdkconfig.h for GSEAL, seal private
1817         pointer.
1818
1819 2008-04-18 16:50:55 +0200 Kristian Rietveld
1820
1821         Seal GtkTreeModelSort
1822
1823         * gtk/gtktreemodelsort.h: include gdkconfig.h to get GSEAL defined, seal
1824         all public member fields.
1825
1826 2008-04-18 16:42:28 +0200 Kristian Rietveld
1827
1828         Seal GtkTreeStore
1829
1830         * gtk/gtktreestore.h: include gdkconfig.h to get GSEAL defined, seal
1831         public member fields.
1832
1833 2008-04-18 16:37:43 +0200 Kristian Rietveld
1834
1835         Seal GtkListStore
1836
1837         * gtk/gtkliststore.h: include gdkconfig.h to get GSEAL defined; seal
1838         public member fields.
1839
1840 2008-04-18 18:26:31 +0200 Carlos Garnacho
1841
1842         * gtk/gtkcontainer.c (gtk_container_get_focus_child): add accessor.
1843
1844 2008-04-18 18:25:22 +0200 Carlos Garnacho
1845
1846         * gtk/gtkcontainer.h: seal members.
1847
1848 2008-04-11 17:28:54 +0200 Carlos Garnacho
1849
1850         * gtk/gtkmisc.h: seal members.
1851
1852 2008-04-11 17:28:05 +0200 Carlos Garnacho
1853
1854         *gtk/gtkfixed.h: seal members.
1855
1856 2008-04-11 16:04:23 +0200 Michael Natterer
1857
1858         * gtk/gtkcellrendererpixbuf.h: seal all members.
1859
1860 2008-04-11 16:01:19 +0200 Michael Natterer
1861
1862         * gtk/gtkcellrendererprogress.h: seal private member.
1863
1864 2008-04-11 15:43:22 +0200 Michael Natterer
1865
1866         * gtk/gtkcellrenderertoggle.h: seal all members.
1867
1868 2008-04-04 18:50:05 +0200 Carlos Garnacho
1869
1870         * gtk/gtkfilechooserwidget.h: Seal the private member.
1871
1872 2008-04-04 18:46:47 +0200 Carlos Garnacho
1873
1874         gtk/gtkfilechooserdialog.h: seal the private member.
1875
1876 2008-04-04 18:42:17 +0200 Carlos Garnacho
1877
1878         * gtk/gtkentrycompletion.h: Seal private member.
1879
1880 2008-04-04 18:36:35 +0200 Carlos Garnacho
1881
1882         * gtk/gtkcellview.h: Seal the private member.
1883
1884 2008-04-04 18:28:00 +0200 Carlos Garnacho
1885
1886         * gtk/gtkcolorbutton.h: seal private member.
1887
1888 2008-04-04 18:27:26 +0200 Carlos Garnacho
1889
1890         * gtk/gtkcheckmenuitem.h: seal public struct members.
1891
1892 2008-04-04 18:25:25 +0200 Carlos Garnacho
1893
1894         * gtk/gtkcalendar.h: seal public struct members.
1895
1896 2008-04-04 18:24:15 +0200 Carlos Garnacho
1897
1898         * gtk/gtkdialog.h: Also seal variables marked as private.
1899
1900 2008-04-04 17:35:48 +0200 Michael Natterer
1901
1902         * gtk/gtkimagemenuitem.h: seal private member.
1903
1904 2008-04-04 17:28:56 +0200 Michael Natterer
1905
1906         * gtk/gtkiconfactory.h: seal private member.
1907
1908 2008-03-28 16:56:53 +0000 Martyn Russell
1909
1910         Seal GtkActionGroup
1911
1912         * gtk/gtkactiongroup.[ch]: Use GSEAL macro on ->private_data public
1913           member and clean up .c file to reflect this.
1914
1915 2008-03-28 15:00:09 +0100 Sven Herzberg
1916
1917         Seal GtkAccelLabel
1918
1919         gtk/gtkaccellabel.h: deprecate direct field access to GtkAccelLabel fields
1920
1921 2008-03-28 16:38:00 +0100 Michael Natterer
1922
1923         * gtk/gtkdrawingarea.h: seal instance struct member.
1924
1925 2008-03-28 16:23:32 +0100 Christian Dywan
1926
1927         Seal GtkScaleButton public fields
1928
1929         * gtk/gtkscalebutton.h: Deprecate direct access through GSEAL().
1930
1931 2008-03-28 16:07:50 +0100 Christian Dywan
1932
1933         Seal GtkScale public fields
1934
1935         * gtk/gtkscale.h: Deprecate direct access through GSEAL().
1936
1937 2008-03-14 20:45:34 +0100 Christian Dywan
1938
1939         Seal GtkProgressBar public fields
1940
1941
1942 2008-03-14 20:32:12 +0100 Christian Dywan
1943
1944         Seal GtkFrame public vars
1945
1946 2008-03-14 18:57:35 +0100 Carlos Garnacho
1947
1948         Deprecate direct access to public variables in GtkButton.
1949
1950         * gtk/gtkbutton.h: Deprecate direct access through GSEAL().
1951
1952 2008-03-14 18:56:23 +0100 Carlos Garnacho
1953
1954         Deprecate direct access to public variables in GtkButtonBox.
1955
1956         * gtk/gtkbbox.h: Deprecate direct access through GSEAL().
1957
1958 2008-03-14 18:54:35 +0100 Carlos Garnacho
1959
1960         Deprecate direct access to public variables in GtkBox.
1961
1962         * gtk/gtkbox.h: Deprecate direct access through GSEAL().
1963
1964 2008-03-09 11:50:41 +0100 Carlos Garnacho
1965
1966         Seal GtkMessageDialog public vars
1967
1968 2008-03-09 11:38:00 +0100 Carlos Garnacho
1969
1970         Seal GtkDialog public vars
1971
1972 2008-03-09 11:32:05 +0100 Carlos Garnacho
1973
1974         Add accessors for GtkDialog public vars, also implement GtkContainer::add/remove
1975
1976 2008-03-09 11:31:46 +0100 Carlos Garnacho
1977
1978         Seal GtkAssistant public fields
1979
1980 2008-03-09 11:31:30 +0100 Carlos Garnacho
1981
1982         Seal GtkNotebook public fields
1983
1984 2008-03-07 20:29:47 +0100 Mikael Hallendal
1985
1986         Deprecate direct access to child in GtkBin.
1987
1988         * gtk/gtkbin.h: Deprecate direct access to child by GSEAL.
1989
1990 2008-03-07 18:25:59 +0000 Martyn Russell
1991
1992         Sealed GtkAccelGroup and added
1993
1994         * gtk/gtkaccelgroup.[ch]: Added GObject properties for lock_count,
1995           modifier_mask, acceleratables, n_accels and priv_accels. Added seal
1996           macro for public struct members which should be private.
1997
1998 2008-03-07 18:54:22 +0100 Mikael Hallendal
1999
2000         Deprecate xalign, yalign, ratio and obey_child direct access in GtkAspectFrame.
2001
2002         * gtk/gtkaspectframe.h: Deprecate public object fields by GSEAL.
2003
2004 2008-03-07 18:48:29 +0100 Mikael Hallendal
2005
2006         Deprecate arrow_type and shadow_type direct access in GtkArrow.
2007
2008         * gtk/gtkarrow.h: Deprecate public object fields by GSEAL.
2009
2010 2008-03-07 18:35:12 +0100 Mikael Hallendal
2011
2012         Added GSEAL to GtkAlignment.
2013
2014         * gtk/gtkalignment.h: Seal the object data with GSEAL.
2015
2016 2008-03-07 15:24:27 +0100 Tim Janik
2017
2018         Introduce GSEAL() macro.
2019
2020         * configure.in: define GSEAL() when generating gdkconfig.h
2021
2022 2008-06-20  Michael Natterer  <mitch@imendio.com>
2023
2024         Bug 538395 – gtk_combo_box_append_text() on non-compliant model
2025         segfaults
2026
2027         * gtk/gtkcombobox.c (gtk_combo_box_append_text)
2028         (gtk_combo_box_insert_text)
2029         (gtk_combo_box_prepend_text)
2030         (gtk_combo_box_remove_text)
2031         (gtk_combo_box_real_get_active_text): apply patch from Christian
2032         Dywan which adds the needed g_return_if_fail() to prevent the
2033         crashes.
2034
2035 2008-06-20  Cody Russell  <cody@jhu.edu>
2036
2037         * gdk/directfb/gdkwindow-directfb.c:
2038
2039         Rename gdk_window_new -> _gdk_window_new and
2040         gdk_window_reparent -> _gdk_window_reparent to fix
2041         the build.  (#539095, Sebastien Bacher)
2042
2043 2008-06-19  Johan Dahlin  <jdahlin@async.com.br>
2044
2045         * gtk/gtkmenuitem.c: remove an unused variable and cast
2046         accel_path to gchar, just like in gtkmenu.c
2047
2048 2008-06-19  Matthias Clasen  <mclasen@redhat.com>
2049
2050         * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Use GIO
2051         for this.
2052
2053 2008-06-19  Johan Dahlin  <jdahlin@async.com.br>
2054
2055         * gtk/gtkprintbackend.c: Fix a typo in a comment
2056
2057         * gtk/gtkhsv.c (paint_ring, paint_triangle):
2058         Cast buf to unsigned char to avoid two compiler
2059         warnings.
2060
2061         * gtk/gtkclist.c:
2062         * gtk/gtkstyle.c (gtk_style_finalize):
2063         Do not ignore the return value of g_slist_remove.
2064         gtkstyle.c changes rubberstamped by Owen.
2065
2066 2008-06-19  Johan Dahlin  <jdahlin@async.com.br>
2067
2068         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines),
2069         (gtk_tree_view_set_enable_tree_lines):
2070         gdk_gc_set_dashes expects a list of gint8, not guint8.
2071
2072 2008-06-19  Johan Dahlin  <jdahlin@async.com.br>
2073
2074         * gtk/gtkmenu.c (gtk_menu_set_accel_path):
2075         Remove an unused variable and cast to gchar to avoid a compiler
2076         warning.
2077
2078 2008-06-19  Christian Persch  <chpe@gnome.org>
2079
2080         * docs/reference/gtk/gtk-sections.txt:
2081         * gtk/gtk.symbols:
2082         * gtk/gtkclipboard.c:
2083         * gtk/gtkclipboard.h: Add clipboard convenience functions  for URI 
2084         targets. Bug #537639.
2085
2086 2008-06-19  Christian Persch  <chpe@gnome.org>
2087
2088         * gtk/gtkfilechooserdefault.c: Use gtk_drag_*_add_*_targets instead of
2089         hardcoded target tables. Bug #516092.
2090
2091 2008-06-19  Christian Persch  <chpe@gnome.org>
2092
2093         * gdk-pixbuf/gdk-pixbuf-io.c:
2094         * gdk-pixbuf/gdk-pixdata.c:
2095         * gdk-pixbuf/io-ani.c:
2096         * gdk-pixbuf/io-bmp.c:
2097         * gdk-pixbuf/io-gdip-utils.c:
2098         * gdk-pixbuf/io-gif.c:
2099         * gdk-pixbuf/io-icns.c:
2100         * gdk-pixbuf/io-ico.c:
2101         * gdk-pixbuf/io-jasper.c:
2102         * gdk-pixbuf/io-jpeg.c:
2103         * gdk-pixbuf/io-pcx.c:
2104         * gdk-pixbuf/io-png.c:
2105         * gdk-pixbuf/io-pnm.c:
2106         * gdk-pixbuf/io-ras.c:
2107         * gdk-pixbuf/io-tga.c:
2108         * gdk-pixbuf/io-tiff.c:
2109         * gdk-pixbuf/io-wbmp.c:
2110         * gdk-pixbuf/io-xbm.c:
2111         * gdk-pixbuf/io-xpm.c:
2112         * gtk/gtkfilechooserdefault.c:
2113         * gtk/gtkfilesystemmodel.c:
2114         * gtk/gtkiconfactory.c:
2115         * gtk/gtkicontheme.c:
2116         * gtk/gtkmain.c:
2117         * gtk/gtkpagesetup.c:
2118         * gtk/gtkpapersize.c:
2119         * gtk/gtkprintoperation-win32.c:
2120         * gtk/gtktextbufferserialize.c:
2121         * tests/testfilechooser.c: Use g_set_error_literal where appropriate. Bug #538640.
2122
2123         * configure.in: Update glib requirement to 2.17.3.
2124
2125 2008-06-19  Johan Dahlin  <jdahlin@async.com.br>
2126
2127         * demos/testpixbuf.c (new_testrgb_window):
2128         * gtk/gtkctree.c (gtk_ctree_new_with_titles):
2129         * gtk/gtkitemfactory.c (gtk_item_factory_construct),
2130         (gtk_item_factory_create_item):
2131         * gtk/gtkmenu.c (gtk_menu_set_tearoff_state)
2132         * gtk/gtkprogressbar.c (gtk_progress_bar_new),
2133         (gtk_progress_bar_new_with_adjustment):
2134         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_new):
2135         * gtk/gtktext.c (gtk_text_new):
2136         * gtk/gtkviewport.c (gtk_viewport_new):
2137         * tests/simple.c (main):
2138         * tests/testgtk.c (create_statusbar), (create_get_image),
2139         (create_saved_position), (create_tooltips), (create_cursors),
2140         (create_display_screen), (create_progress_bar), (create_idle_test):
2141         * tests/testmultidisplay.c (make_selection_dialog), (main):
2142         * tests/testmultiscreen.c (main):
2143         * tests/testrgb.c (new_testrgb_window):
2144         Use g_object_new instead of gtk_widget_new
2145
2146 2008-06-19  Johan Dahlin  <jdahlin@async.com.br>
2147
2148         * gtk/gtkcellrendererpixbuf.c: Remove an unused prototype.
2149
2150         * gtk/gtklabel.c (gtk_label_set_text_with_mnemonic): Remove
2151         an unused variable.
2152
2153         * gtk/gtkactiongroup.c: Use GdkModifierType instedd of guint,
2154         to avoid a gcc warning.
2155
2156 2008-06-18  Olle Bergkvist <olle.bergkvist@yahoo.se>
2157
2158         http://bugzilla.gnome.org/show_bug.cgi?id=538784 - Don't change
2159         the filename in the name entry in CREATE_FOLDER mode when changing
2160         folders, so that you can enter a new subfolder name, double-click on a
2161         folder to change to it, and close the dialog.
2162
2163         * gtk/gtkfilechooserdefault.c (update_chooser_entry): Don't change
2164         the filename in the entry in CREATE_FOLDER mode, either.
2165
2166 2008-06-18  Olle Bergkvist <olle.bergkvist@yahoo.se>
2167
2168         http://bugzilla.gnome.org/show_bug.cgi?id=419737#c59 - The file
2169         chooser clears the filename entry in SAVE/CREATE_FOLDER modes when
2170         it shouldn't.
2171
2172         * gtk/gtkfilechooserdefault.c (shortcuts_activate_iter): Don't
2173         clear the entry for CREATE_FOLDER either; this needs the same
2174         behavior as SAVE mode.
2175         (update_chooser_entry): Only clear the entry in OPEN/SELECT_FOLDER
2176         modes.
2177
2178 2008-06-18  Matthias Clasen  <mclasen@redhat.com>
2179
2180         * gtk/gtkfilesystem.c (_gtk_file_system_volume_render_icon):
2181         * gtk/gtkfilechooserbutton.c (change_icon_theme):
2182         (model_add_bookmarks):
2183         (model_update_current_folder):
2184         * gtk/gtkfilechooserdefault.c (shortcuts_insert_file):
2185         (shortcuts_reload_icons): Use standard icon names.
2186
2187 2008-06-18  Matthias Clasen  <mclasen@redhat.com>
2188
2189         * gtk/Makefile.am: Add some more aliases for standard
2190         icon names to the builtin icon theme: drive-harddisk,
2191         folder, folder-remote, text-x-generic.
2192
2193 2008-06-18  Michael Natterer  <mitch@imendio.com>
2194
2195         * gtk/gtkcalendar.c: set the maximum of the "year" property to
2196         G_MAXINT >> 8 instead of G_MAXINT to fix overflows in internal
2197         calculations which in turn caused writing beyond the boundaries of
2198         the calendar->day_month[] and day[] arrays which in turn caused a
2199         SEGV. This limits the lifetime of GTK+ to the year 8,388,608 ;)
2200
2201 2008-06-18  Michael Natterer  <mitch@imendio.com>
2202
2203         * tests/Makefile.am
2204         * tests/autotestfilechooser.c
2205         * tests/buildertest.c
2206         * tests/defaultvaluetest.c
2207         * tests/floatingtest.c
2208         * tests/objecttests.c
2209         * tests/pixbuf-init.c
2210         * tests/textbuffertest.c: remove unit tests here...
2211
2212         * gtk/tests/Makefile.am
2213         * gtk/tests/builder.c
2214         * gtk/tests/defaultvalue.c
2215         * gtk/tests/filechooser.c
2216         * gtk/tests/floating.c
2217         * gtk/tests/object.c
2218         * gtk/tests/pixbuf-init.c
2219         * gtk/tests/textbuffer.c: ...and add them here.
2220
2221 2008-06-18  Michael Natterer  <mitch@imendio.com>
2222
2223         * gdk/gdk.h: deprecate GdkDestroyNotify.
2224
2225         * gdk/gdkevents.c
2226         * gdk/gdktypes.h
2227         * gdk/x11/gdkevents-x11.c
2228         * gtk/gtkmain.c: s/GdkDestroyNotify/GDestroyNotify/g.
2229
2230 2008-06-18  Michael Natterer  <mitch@imendio.com>
2231
2232         * gtk/gtktypeutils.h: deprecate GtkDestroyNotify.
2233
2234         * gtk/gtkactiongroup.[ch]
2235         * gtk/gtkcombobox.[ch]
2236         * gtk/gtkcontainer.[ch]
2237         * gtk/gtkliststore.[ch]
2238         * gtk/gtkmain.[ch]
2239         * gtk/gtkmenu.c
2240         * gtk/gtkstock.[ch]
2241         * gtk/gtktreedatalist.[ch]
2242         * gtk/gtktreemodelfilter.[ch]
2243         * gtk/gtktreemodelsort.[ch]
2244         * gtk/gtktreeprivate.h
2245         * gtk/gtktreeselection.[ch]
2246         * gtk/gtktreesortable.[ch]
2247         * gtk/gtktreestore.[ch]
2248         * gtk/gtktreeview.[ch]
2249         * gtk/gtktreeviewcolumn.[ch]: s/GtkDestroyNotify/GDestroyNotify/g.
2250
2251 2008-06-18  Michael Natterer  <mitch@imendio.com>
2252
2253         * tests/testgtk.c: some more undeprecation.
2254
2255 2008-06-18  Michael Natterer  <mitch@imendio.com>
2256
2257         * gtk/gtktypeutils.h: deprecate GtkType, GtkSignalFunc and
2258         GTK_SIGNAL_FUNC().
2259
2260         (struct GtkArg): s/GtkType/GType/ and s/GtkSignalFunc/GCallback/
2261
2262 2008-06-18  Michael Natterer  <mitch@imendio.com>
2263
2264         * gtk/gtktypeutils.[ch]: deprecate gtk_type_class().
2265
2266         * gtk/gtk.symbols: changed accordingly.
2267
2268         * gtk/gtksettings.c (gtk_settings_install_property)
2269         (gtk_settings_install_property_parser): get rid of using
2270         gtk_type_class() by keeping a static reference to GtkSettingsClass
2271         around in both functions and passing that pointer on to
2272         settings_install_property_parser().
2273
2274         * tests/testgtk.c: use g_type_class_ref()/unref() instead of
2275         gtk_type_class().
2276
2277         * gtk/gtkobject.c: #undef GTK_DISABLE_DEPRECATED around including
2278         gtktypeutils.h.
2279
2280 2008-06-17  Johan Dahlin  <jdahlin@async.com.br>
2281
2282         * gtk/gtkstyle.c: Add deprecated version
2283         and change the deprecation markup used by ref/unref 
2284
2285 2008-06-17  Johan Dahlin  <jdahlin@async.com.br>
2286
2287         * gtk/gtkwidget.c: 
2288         Add deprecated versions and fixup markup.
2289
2290 2008-06-17  Johan Dahlin  <jdahlin@async.com.br>
2291
2292         * gtk/gtkaboutdialog.c:
2293         * gtk/gtkbutton.c (gtk_button_class_init):
2294         Don't markup deprecated in italics.
2295
2296 2008-06-18  Carlos Garnacho  <carlos@imendio.com>
2297
2298         * gtk/gtkfilesystem.[ch]: Remove GtkFileSystemError, use
2299         GtkFileChooserError instead. (#538378, patch by Matthias Clasen)
2300
2301 2008-06-17  Michael Natterer  <mitch@imendio.com>
2302
2303         * examples/gtkdial/gtkdial.[ch]: undeprecate.
2304
2305 2008-06-17  Michael Natterer  <mitch@imendio.com>
2306
2307         * gtk/gtkobject.c: remove bogus extern declaration of non-existing
2308         function gtk_object_init_type().
2309
2310 2008-06-17  Michael Natterer  <mitch@imendio.com>
2311
2312         * gtk/gtkbindings.c (gtk_binding_entry_add_signal):
2313         * gtk/gtktoolbutton.c (gtk_tool_button_get_type): 
2314         * examples/gtkdial/gtkdial.h (gtk_dial_get_type): 
2315         s/GtkType/GType/
2316
2317 2008-06-17  Tor Lillqvist  <tml@novell.com>
2318
2319         * gtk/gtknotebook.c: Need to do the GTK_DISABLE_DEPRECATED
2320         #undef/#define dance here, too, because
2321         gtk_notebook_set_group_id() is deprecated but used here before it
2322         is defined, and gcc complains about conflicting type from the
2323         implicit int declaration when it sees the actual void definition.
2324
2325         * modules/input/gtkimcontextime.h: Don't use the deprecated GTK_*
2326         GtkType macros.
2327
2328 2008-06-17  Michael Natterer  <mitch@imendio.com>
2329
2330         * gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED.
2331
2332         * gtk/gtkclist.c
2333         * gtk/gtkcombo.c
2334         * gtk/gtkctree.c
2335         * gtk/gtklist.c
2336         * gtk/gtklistitem.c
2337         * gtk/gtkoldeditable.c
2338         * gtk/gtkpixmap.c
2339         * gtk/gtktext.c
2340         * gtk/gtktipsquery.c
2341         * gtk/gtktree.c
2342         * gtk/gtktreeitem.c: whenever we #undef GTK_DISABLE_DEPRECATED and
2343         actually use deprecated symbols (not just types or macros),
2344         #define it again before #include "gtkalias.h" so the symbols match
2345         and the beast links.
2346
2347 2008-06-17  Paolo Borelli  <pborelli@katamail.com>
2348
2349         * gtk/tests/recentmanager.c: more tests for GtkRecentManager.
2350
2351 2008-06-17  Michael Natterer  <mitch@imendio.com>
2352
2353         * modules/input/gtkimcontextmultipress.h
2354         * modules/input/gtkimcontextthai.h
2355         * modules/input/gtkimcontextxim.h: use G_TYPE instead of GTK_CHECK
2356         type checking macros.
2357
2358 2008-06-17  Michael Natterer  <mitch@imendio.com>
2359
2360         * gtk/gtktypeutils.h: really move the GtkType typedef to an
2361         undeprecated section.
2362
2363 2008-06-17  Michael Natterer  <mitch@imendio.com>
2364
2365         * gtk/gtktypeutils.h: deprecate GTK_CHECK_CAST, GTK_CHECK_CLASS_CAST,
2366         GTK_CHECK_GET_CLASS, GTK_CHECK_TYPE and GTK_CHECK_CLASS_TYPE.
2367         Move the GtkType typedef to an undeprecated section.
2368
2369 2008-06-17  Michael Natterer  <mitch@imendio.com>
2370
2371         * gtk/gtkprogress.h: use G_TYPE macros for type checking instead
2372         of GTK_CHECK ones because it's the parent class of an undeprecated
2373         class and the GTK_CHECK stuff will soon be deprecated.
2374
2375 2008-06-17  Michael Natterer  <mitch@imendio.com>
2376
2377         * gtk/gtkfilesel.c
2378         * gtk/gtkinputdialog.c
2379         * gtk/gtkmenutoolbutton.c
2380         * gtk/gtkoptionmenu.c
2381         * gtk/gtktoolitem.c
2382         * gtk/gtktooltips.c: add or move around
2383         #undef GTK_DISABLE_DEPRECATED so it's possible to build without
2384         deprecated stuff again (with the minor glitch that it doesn't
2385         link ;) but at least it's a tool to keep the code clean).
2386
2387 2008-06-17  Emmanuele Bassi  <ebassi@gnome.org>
2388
2389         * gtk/gtkrecentmanager.c:
2390         (gtk_recent_manager_remove_item): Fix dumb typo in the previous
2391         commit.
2392
2393 2008-06-17  Emmanuele Bassi  <ebassi@gnome.org>
2394
2395         * gtk/gtkrecentmanager.c:
2396         (gtk_recent_manager_remove_item),
2397         (gtk_recent_manager_move_item): Increase the consistency of the
2398         errors returned by GtkRecentManager. (Paolo Borelli)
2399
2400 2008-06-17  Paolo Borelli  <pborelli@katamail.com>
2401
2402         * gtk/tests/recentmanager.c: add some unit tests for GtkRecentManager.
2403
2404 2008-06-17  Emmanuele Bassi  <ebassi@gnome.org>
2405
2406         * gtk/gtkrecentmanager.c:
2407         (gtk_recent_manager_remove_item): Consistently use the same
2408         error when removing a URI from an empty GtkRecentManager.
2409
2410 2008-06-17  Michael Natterer  <mitch@imendio.com>
2411
2412         * gtk/gtkfilechooserdefault.c: remove static integer variables
2413         which hold the number of members in GtkTargetEntry arrays and use
2414         G_N_ELEMENTS() directly instead.
2415
2416 2008-06-17  Michael Natterer  <mitch@imendio.com>
2417
2418         * gtk/gtk.symbols: move some deprecated symbols into
2419         #ifndef GTK_DISABLE_DEPRECATED.
2420
2421 2008-06-17  Emmanuele Bassi  <ebassi@gnome.org>
2422
2423         * gtk/gtkfilechooserdefault.c:
2424         (gtk_file_chooser_default_init),
2425         (gtk_file_chooser_default_constructor),
2426         (gtk_file_chooser_default_screen_changed),
2427         (recent_start_loading): Remove the GtkRecentManager screen
2428         dance, as it has been deprecated since 2.12. Now we get the
2429         GtkRecentManager singleton whewn we create the FileChooserDefault
2430         instance. (Michael Natterer)
2431
2432 2008-06-17  Michael Natterer  <mitch@imendio.com>
2433
2434         * gtk/gtkoptionmenu.c (gtk_option_menu_position): cast menu's
2435         toplevel to GtkWindow when passing to gtk_window_set_type_hint().
2436
2437 2008-06-17  Michael Natterer  <mitch@imendio.com>
2438
2439         * gtk/gtktestutils.c: #undef GTK_DISABLE_DEPRECATED, clean up
2440         includes a bit.
2441
2442         * gtk/gtkuimanager.c: #include "gtkwindow.h", it was only pulled
2443         in via deprecated headers.
2444
2445 2008-06-16  Matthias Clasen  <mclasen@redhat.com>
2446
2447         Bug 508751 – gnome-terminal crashed with SIGSEGV after keypress
2448
2449         * gdk/x11/gdkkeys-x11.c (_gdk_keymap_key_is_modifier): Protect
2450         against XKB being stupid. Reported by Pedro Villavicencio.
2451
2452 2008-06-17  Michael Natterer  <mitch@imendio.com>
2453
2454         * gtk/gtkplug.c (_gtk_plug_send_delete_event): use g_object_ref()
2455         and unref() instead of the deprecated gtk_widget_ref() and unref().
2456
2457 2008-06-16  Michael Natterer  <mitch@imendio.com>
2458
2459         * gtk/gtkentry.c: removed function drag_begin_cb(), which was in
2460         svn since 2.8 but was never used.
2461
2462 2008-06-16  Michael Natterer  <mitch@imendio.com>
2463
2464         * gtk/gtkbindings.c (_gtk_binding_entry_add_signall): use
2465         gtk_binding_entry_clear() instead of gtk_binding_entry_add()
2466         (the former is deprecated and #defined to gtk_binding_entry_clear)
2467
2468 2008-06-16  Michael Natterer  <mitch@imendio.com>
2469
2470         * gtk/gtkprintoperation-unix.c: don't include the deprecated (and
2471         unused) "gtkmarshal.h".
2472
2473 2008-06-16  Behdad Esfahbod  <behdad@gnome.org>
2474
2475         Bug 538182 – pango_cairo_context_update_layout is not noop after
2476         gtk_widget_create_pango_layout
2477
2478         * gtk/gtksettings.c (settings_update_font_options): Make sure all
2479         font option fields are set to non-DEFAULT values.
2480
2481 2008-06-16  Michael Natterer  <mitch@imendio.com>
2482
2483         * gtk/gtkfontsel.c
2484         * gtk/gtkrc.c
2485         * gtk/gtkstyle.c
2486         * gtk/gtkwidget.c: use g_object_unref() instead of the deprecated
2487         gtk_rc_style_unref().
2488
2489 2008-06-16  Michael Natterer  <mitch@imendio.com>
2490
2491         * gtk/gtkcombobox.c (gtk_combo_box_class_init): use
2492         _gtk_marshal_BOOLEAN__VOID instead of the deprecated
2493         gtk_marshal_BOOLEAN__VOID.
2494
2495 2008-06-16  Michael Natterer  <mitch@imendio.com>
2496
2497         * gtk/gtkcellrendereraccel.h
2498         * gtk/gtkiconview.h
2499         * gtk/gtkobject.h: use G_TYPE macros instead of the old GTK_CHECK
2500         macros for type checking.
2501
2502         (gtk_object_get_type): change prototype to return GType instead of
2503         GtkType.
2504
2505 2008-06-16  Matthias Clasen  <mclasen@redhat.com>
2506
2507         * gtk/Makefile.am: Make folder, user-home and user-desktop links 
2508         to gtk-directory in the builtin icon theme, so that we can
2509         use these icon names without risk of ending up without an icon.
2510
2511 2008-06-16  Tor Lillqvist  <tml@novell.com>
2512
2513         Bug 538362 - Get Win32 icons back in the file chooser
2514
2515         * gtk/gtkicontheme.c (choose_icon): Check if the icon name is a
2516         reference to an icon resource in a DLL or .EXE in the same format
2517         as the DefaultIcon strings in the Registry. In that case, extract
2518         the icon and convert to a GdkPixbuf. Patch by Hans Breuer. This
2519         code has to be in sync with the corresponding code in
2520         glib/gio/gcontenttype.c.
2521
2522 2008-06-16  Matthias Clasen  <mclasen@redhat.com>
2523
2524         * gtk/stock-icons/24/audio-volume*: Add icons used by GtkVolumeButton
2525         to the builtin icon theme, to avoid showing broken images when
2526         there is no icon theme around.  The new icons are thanks to
2527         Lapo Calamandrei.
2528
2529 2008-06-16  Michael Natterer  <mitch@imendio.com>
2530
2531         * gtk/gtkfilechooserprivate.h: remove GtkTooltips member from the
2532         GtkFileChooserDefault struct.
2533
2534         * gtk/gtkfilechooserdefault.c: don't allocate and free the
2535         GtkTooltips.
2536
2537 2008-06-16  Carlos Garnacho  <carlos@imendio.com>
2538
2539         Bug 538519 – GtkCellRendererPixbuf doesn't allow unsetting the icon
2540         anymore
2541
2542         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
2543         Allow again setting any of the properties to render an image back to
2544         NULL.
2545
2546 2008-06-15  Matthias Clasen  <mclasen@redhat.com>
2547
2548         * gtk/gtkimage.c: When pixel-size is specified, use
2549         GTK_ICON_LOOKUP_FORCE_SIZE when loading themed icons.
2550
2551 2008-06-15  Carlos Garnacho  <carlos@imendio.com>
2552
2553         * gtk/gtkfilechooser.c (gtk_file_chooser_get_filename): Return full 
2554         path here as expected, not just the basename.
2555
2556         * gtk/gtkfilechooserdefault.c
2557         (gtk_file_chooser_default_update_current_folder): Ensure that we keep
2558         a reference to file, since it can be destroyed when switching back to
2559         browse mode.
2560
2561         * gtk/gtkfilesystem.c (get_icon_for_special_directory): Removed, home
2562         and desktop directories are dealt by the filechooser as normal files,
2563         not volumes, so the icon for these is handled directly by GIO.
2564         (_gtk_file_system_volume_render_icon): Update caller.
2565
2566 2008-06-15  Matthias Clasen  <mclasen@redhat.com>
2567
2568         * gtk/gtkcellrendererpixbuf.c: Add a gicon property.
2569
2570 2008-06-14  Cody Russell  <bratsche@gnome.org>
2571
2572         * gdk/win32/gdkselection-win32.c (gdk_win32_selection_add_targets):
2573
2574         Initialize hwnd to NULL.  This fixes OpenClipboard() failure and,
2575         according to MSDN docs, associates the open clipboard with the
2576         current task.  (#378158, reported by Andreas Köhler)
2577
2578 2008-06-13  Matthias Clasen  <mclasen@redhat.com>
2579
2580         * configure.in: Bump version
2581
2582         * === Released 2.13.3 ===
2583
2584 2008-06-13  Matthias Clasen  <mclasen@redhat.com>
2585
2586         * gtk/gtkaccelgroup.c: Add some docs
2587
2588         * gdk/gdkwindow.c: Fix doc typos
2589
2590 2008-06-13  Matthias Clasen  <mclasen@redhat.com>
2591
2592         * gtk/gtkfilesystem.c: Avoid PLT entries by including
2593         gtkalias.h
2594
2595 2008-06-13  Matthias Clasen  <mclasen@redhat.com>
2596
2597         * gtk/gtkfilechooserbutton.c:
2598         * gtk/gtkfilechooserdefault.c:
2599         * gtk/gtkfilechooserentry.c:
2600         * gtk/gtkfilesystem.c:
2601         * gtk/gtkfilesystem.h:
2602         * gtk/gtkfilesystemmodel.c:
2603         * gtk/gtkpathbar.c: Really make GtkFileSystem private
2604         by _-prefixing all functions.
2605
2606 2008-06-13  Matthias Clasen  <mclasen@redhat.com>
2607
2608         * docs/RELEASE-HOWTO: Updates
2609         * INSTALL.in: Bump version
2610
2611 2008-06-13  Matthias Clasen  <mclasen@redhat.com>
2612
2613         * NEWS: Updates
2614
2615 2008-06-13  Michael Natterer  <mitch@imendio.com>
2616
2617         * gtk/gtkcellrendereraccel.h
2618         * gtk/gtkfilechooser.h
2619         * gtk/gtkfilechooserdialog.h
2620         * gtk/gtkfilechooserwidget.h
2621         * gtk/gtkmenutoolbutton.h
2622         * gtk/gtkpagesetup.h
2623         * gtk/gtkpapersize.h
2624         * gtk/gtkprintcontext.h
2625         * gtk/gtkprintoperation.h
2626         * gtk/gtkprintoperationpreview.h
2627         * gtk/gtkprintsettings.h
2628         * gtk/gtkradiotoolbutton.h
2629         * gtk/gtkrecentchooser.h
2630         * gtk/gtkrecentchooserdialog.h
2631         * gtk/gtkrecentchoosermenu.h
2632         * gtk/gtkrecentchooserwidget.h
2633         * gtk/gtkseparatortoolitem.h
2634         * gtk/gtkshow.h
2635         * gtk/gtktoggletoolbutton.h
2636         * gtk/gtktoolbar.h
2637         * gtk/gtktoolbutton.h
2638         * gtk/gtktooltip.h: #include <gtk/gtkfoo.h> instead of
2639         "gtk/gtkfoo.h" or even just "gtkfoo.h" in public headers.
2640
2641 2008-06-13  Michael Natterer  <mitch@imendio.com>
2642
2643         * gtk/gtktexttagtable.h: remove double inclusion of
2644         <gtk/gtktexttag.h>.
2645
2646 2008-06-13  Michael Natterer  <mitch@imendio.com>
2647
2648         * gtk/gtkaction.c (gtk_action_set_short_label): change type of
2649         local "image" variable from GtkImage to GtkWidget to fix warning.
2650
2651 2008-06-13  Michael Natterer  <mitch@imendio.com>
2652
2653         * gtk/gtkcombobox.c (gtk_combo_box_menu_position): cast menu's
2654         toplevel to GtkWindow when passing to gtk_window_set_type_hint().
2655
2656 2008-06-13  Michael Natterer  <mitch@imendio.com>
2657
2658         * gtk/gtkuimanager.c (start_element_handler): silently skip
2659         unknown attributes instead of bailing out with an error in order
2660         to be compatible with possible future attribute names.
2661
2662         This is related to the discussion in bug #516425 but actually
2663         needed for any kind of XML format extension.
2664
2665 2008-05-23  Hans Breuer  <hans@breuer.org>
2666
2667         * gtk/gtkprintoperation.c : check surface status after ceating a pdf.
2668         Avoids crashing when the target can not be written, bug #537685
2669
2670         * gdk/win32/gdkdisplay-win32.c : runtime linking of ProcessIdToSessionId
2671
2672         * gtk/gtkfilesystem.c : variadic macros are not supported with c89 and
2673         it was not needed here anyway.
2674
2675 2008-06-13 Matthias Clasen  <mclasen@redhat.com>
2676
2677         * gtk/gtkentry.c (gtk_entry_draw_frame): Fix frame size allocation.
2678         Patch by Jan Arne Peterson
2679
2680 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
2681
2682         Bug 537985 – gtk_init_with_args() doesn't open a display after
2683         gtk_parse_args()
2684
2685         * gtk/gtkmain.c (gtk_init_with_args): Open the default display
2686         even when gtk_parse_args() has already been called.
2687         Patch by Mathias Hasselmann
2688
2689 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
2690
2691         Bug 524222 – GtkToolbar with mix of buttons with and without 
2692         icons looks "bad"
2693
2694         * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents):
2695         Improve appearance of "both vertical" mode toolbuttons.
2696         Patch by Peter Johanson
2697
2698 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
2699
2700         Bug 519092 – Add accessibility support to GtkVolumeButton
2701
2702         * gtk/gtkvolumebutton.c: Set accessibility descriptions.
2703         Patch by Jonh Wendell
2704
2705 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
2706
2707         Bug 517706 – Connecting GtkButton with "use-stock" == FALSE to a
2708         GtkAction has problems
2709         Patch by Peter Johanson
2710
2711         * gtk/gtkaction.c (connect_proxy): Set the image of a button
2712         proxy to the "icon-name" property.
2713
2714         (gtk_action_set_short_label):  If the "image" property is set 
2715         on the button proxy, also tries to set the "label" property on 
2716         the GtkButton.
2717
2718 2008-06-12  Michael Natterer  <mitch@imendio.com>
2719
2720         * gtk/gtkmain.c
2721         * gtk/gtktrayicon-x11.c: don't #include <libintl.h>, it's pulled
2722         in via "gtkintl.h" from <glib/gi18n-lib.h>.
2723
2724 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
2725
2726         RH bug 248245 and 449379: cups client printing from gnome
2727         applications fail
2728
2729         * modules/printbackends/cups/gtkprintbackendcups.c: Really fix
2730         printer URI construction. Patch by Marek Kasik
2731         
2732 2008-06-12  Michael Natterer  <mitch@imendio.com>
2733
2734         * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
2735         limit the number of displayed items by the actual screen height
2736         instead of some arbitrary value (Bug #408154, Xan Lopez and
2737         Christian Dywan).
2738
2739 2008-06-11  Behdad Esfahbod  <behdad@gnome.org>
2740
2741         Bug 503071 – Application direction changes to right to left even if
2742         theres no translation
2743
2744         * configure.in: Bump glib requirement.
2745
2746         * gtk/gtkaccellabel.c
2747         (_gtk_accel_label_class_get_accelerator_label):
2748         * gtk/gtkactiongroup.c (dgettext_swapped):
2749         * gtk/gtkbuilder.c (gtk_builder_class_init):
2750         * gtk/gtkbuilderparser.c (_dpgettext),
2751         (_gtk_builder_parser_translate):
2752         * gtk/gtkfilechooserdefault.c (list_size_data_func):
2753         * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
2754         * gtk/gtkintl.h:
2755         * gtk/gtkmain.c (setlocale_initialization),
2756         (do_pre_parse_initialization), (gettext_initialization):
2757         * gtk/gtkstock.c (gtk_stock_lookup), (sgettext_swapped):
2758         Use g_dgettext() and g_dngettext().
2759
2760 2008-06-11  Matthias Clasen <mclasen@redhat.com>
2761
2762         * docs/RELEASE-HOWTO: Updates
2763
2764 2008-06-11  Tor Lillqvist  <tml@novell.com>
2765
2766         * gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): As we don't
2767         support Win9x anyway, we can use ProcessIdToSessionId()
2768         unconditionally.
2769
2770 2008-06-11  Michael Natterer  <mitch@imendio.com>
2771
2772         * gtk/gtkfilechooserbutton.c: fix local prototype of
2773         _gtk_file_chooser_label_for_file() (takes a GFile, not const gchar*).
2774
2775 2008-06-10  Matthias Clasen <mclasen@redhat.com>
2776
2777         Bug 536765 – GtkComboBox should set COMBO type hint for its menu
2778
2779         * gtk/gtkoptionmenu.c:
2780         * gtk/gtkcombobox.c: Set the window type hint on popups.
2781         Patch by Danny Baumann
2782
2783 2008-06-10  Matthias Clasen <mclasen@redhat.com>
2784
2785         * gtk/gtkfilesystem.c (get_icon_for_special_directory):
2786         (gtk_file_system_volume_render_icon): Add standard icon names,
2787         and also fall back to builtin gtk stock icons.
2788
2789 2008-06-10  Christian Persch  <chpe@gnome.org>
2790
2791         * gtk/gtktreeview.c: (destroy_info), (set_destination_row),
2792         (gtk_tree_view_maybe_begin_dragging_row),
2793         (gtk_tree_view_set_reorderable),
2794         (gtk_tree_view_enable_model_drag_source),
2795         (gtk_tree_view_enable_model_drag_dest),
2796         (gtk_tree_view_unset_rows_drag_source),
2797         (gtk_tree_view_unset_rows_drag_dest): Make
2798         gtk_tree_view_enable_model_drag_[source|dest] compatible with
2799         gtk_drag_[source|dest]_add_*_targets. Bug #506853.
2800
2801 2008-06-10  Christian Persch  <chpe@gnome.org>
2802
2803         * gtk/gtktreeview.c: (gtk_tree_view_button_release_drag_column),
2804         (dest_row_free), (set_dest_row), (ensure_info),
2805         (gtk_tree_view_remove), (gtk_tree_view_put),
2806         (gtk_tree_view_set_column_drag_info): Use GSlice. Patch from
2807         bug #506853.
2808
2809 2008-06-10  Paolo Borelli  <pborelli@katamail.com>
2810
2811         * gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri)
2812         use g_file_new_for_uri.
2813
2814 2008-06-10  Paolo Borelli  <pborelli@katamail.com>
2815
2816         * gtk/gtkfilesystem.c (gtk_file_system_volume_render_icon): do not
2817         leak the GIcon.
2818
2819 2008-06-10  Carlos Garnacho  <carlos@imendio.com>
2820
2821         * configure.in:
2822         * gtk/Makefile.am:
2823         * gtk/xdgmime: removed local xdgmime copy as Matthias suggested in bug
2824         #520874, comment #8. It's no longer used directly by GTK+.
2825
2826 2008-06-10  Carlos Garnacho  <carlos@imendio.com>
2827
2828         Bug 520874 - Should use gio directly.
2829
2830         * gtk/gtkfilesystem.[ch]: Turn into a private object, which mostly
2831         provides helper functions for asynchronous calls, folder abstraction
2832         and uniform handling of volumes/drives/mounts.
2833
2834         * gtk/gtkfilesystemwin32.[ch]:
2835         * gtk/gtkfilesystemunix.[ch]: Removed, these are no longer required.
2836
2837         * gtk/gtkfilechooser.c:
2838         * gtk/gtkfilechooserbutton.c:
2839         * gtk/gtkfilechooserdefault.c:
2840         * gtk/gtkfilechooserentry.[ch]:
2841         * gtk/gtkfilechooserprivate.h:
2842         * gtk/gtkfilechooserutils.c:
2843         * gtk/gtkfilesystemmodel.[ch]:
2844         * gtk/gtkpathbar.[ch]: Use GIO internally. Adapt to GtkFileSystem API.
2845         Do not load filesystem implementation modules.
2846
2847         * gtk/Makefile.am:
2848         * gtk/gtk.symbols: the gtkfilesystem.h private header isn't installed
2849         anymore, nor the unix/win32 implementations.
2850
2851         * README.in: Add blurb about these changes.
2852
2853 2008-06-09  Kristian Rietveld  <kris@gtk.org>
2854
2855         Bug 526987 - GtkCellRendererCombo should allow model to be NULL
2856
2857         * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
2858         (gtk_cell_renderer_combo_set_property),
2859         (gtk_cell_renderer_combo_editing_done),
2860         (gtk_cell_renderer_combo_start_editing): introduce private class
2861         struct, allow model to be set to NULL.
2862
2863 2008-06-08  Björn Lindqvist  <bjourne@gmail.com>
2864
2865         Bug 131920 – gtkNotebook sends incorrect switch_page value
2866
2867         * gtk/gtknotebook.c (gtk_notebook_real_remove): Make switch-page
2868         signal send correct page index when page index 0 is active and
2869         removed. (#131920, Samuel Fogh)
2870
2871 2008-06-08  Kristian Rietveld  <kris@gtk.org>
2872
2873         Bug 536730 - memory corruption in gtktreeview
2874
2875         * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): first
2876         remove the expand/collapse timeout and node, then free the rbtree.
2877
2878 2008-06-08  Kristian Rietveld  <kris@gtk.org>
2879
2880         Bug 488119 - critical warnings from gtk_tree_view_get_visible_range
2881
2882         * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): only try to
2883         find path if we found valid nodes, return FALSE otherwise.  (Patch
2884         from Matthias Clasen).
2885
2886 2008-06-08  Matthias Clasen  <mclasen@redhat.com>
2887
2888         * gtk/gtkrecentmanager.c:
2889         * gtk/gtkrecentfilter.c:
2890         * gtk/gtkfilefilter.c: Replace uses of xdgmime with
2891         g_content_type.
2892         
2893 2008-06-08  Christian Persch <chpe@gnome.org>
2894
2895         Bug 535608 – do not string-copy accel paths in the menu code
2896
2897         * gtk/gtkaccelgroup.c:
2898         * gtk/gtkaccelmap.c:
2899         * gtk/gtkaction.c:
2900         * gtk/gtkmenu.c:
2901         * gtk/gtkmenuitem.c:
2902         * gtk/gtkwidget.c:  Don't store the accel path as a string in
2903         gtkmenu/gtkmenuitem. The accel path will be interned anyway, so
2904         keeping a string copy around is just a waste of memory.
2905         Improve the documentation to mention this.
2906
2907 2008-06-07  Tor Lillqvist  <tml@novell.com>
2908
2909         Bug 536990 - updateiconcache.c: 'close ()' is redundant
2910
2911         * gtk/updateiconcache.c (build_cache): Drop redundant close()
2912         calls. fclose() on a fdopen()ed stream closes the underlying file
2913         descriptor.
2914
2915 2008-06-06  Matthias Clasen  <mclasen@redhat.com>
2916
2917         Bug 536757 – regression: openoffice.org menus are placed at wrong
2918         position since 2.12.10
2919
2920         * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
2921         Return the right coordinates.  
2922
2923 2008-06-06  Behdad Esfahbod  <behdad@gnome.org>
2924
2925         Bug 536185 – monitor font configuration
2926
2927         * configure.in:
2928         * gdk/x11/gdksettings.c:
2929         * gtk/gtksettings.c (gtk_settings_class_init),
2930         (gtk_settings_notify), (settings_update_fontconfig):
2931         Monitor xsettings key Fontconfig/Timestamp and upon change,
2932         reread fontconfig configuration, clear Pango's caches, and
2933         redraw all widgets.
2934
2935 2008-06-06  Ross Burton  <ross@burtonini.com>
2936
2937         * gtk/gtkwindow.c:
2938         Fix trivial typo in documentation.
2939
2940 2008-06-06  Tor Lillqvist  <tml@novell.com>
2941
2942         * config.h.win32.in: Slight update to match what configure
2943         produces.
2944
2945 2008-06-05  Johan Dahlin  <jdahlin@async.com.br>
2946
2947         * gtk/gtkbuilder.h (enum): Add the new version mismatch error
2948         constant to the end of the list, to avoid breaking the stable ABI
2949
2950 2008-06-05  Michael Natterer  <mitch@imendio.com>
2951
2952         * configure.in: add -DATK_DISABLE_SINGLE_INCLUDES to CPPFLAGS.
2953
2954 2008-06-05  Li Yuan  <li.yuan@sun.com>
2955
2956         * gail-uninstalled.pc.in:
2957         Bug #536430. Patch from Damien Carbery <damien.carbery@sun.com>.
2958         Correct paths to gail headers and libraries in gail-uninstalled.pc.in.
2959
2960 2008-06-03  Matthias Clasen  <mclasen@redhat.com>
2961
2962         * docs/RELEASE-HOWTO: Update a bit
2963
2964 2008-06-03  Matthias Clasen  <mclasen@redhat.com>
2965
2966         * configure.in: Bump version
2967
2968         * === Released 2.13.2 ===
2969
2970 2008-06-03  Federico Mena Quintero  <federico@novell.com>
2971
2972         * gtk/gtkfilechooserentry.c (install_completion_feedback_timer):
2973         If the user presses Tab while the completion feedback window is
2974         active, then we'll assert.  Remove the assertion and just re-set
2975         the timer.  Fixes https://bugzilla.novell.com/show_bug.cgi?id=355225
2976
2977 2008-06-03  Colin Walters  <walters@redhat.com>
2978         
2979         Bug 535303 – add _get_implementation to GtkStatusIcon
2980
2981         * gtk/gtkstatusicon.c (gtk_status_icon_get_x11_window_id): New
2982         function to retrieve internal X11 window ID, useful for libnotify.
2983         * gtk/gtkstatusicon.h: Prototype it.
2984         * docs/reference/gtk/gtk-sections.txt: Add to docs.
2985         * gtk/gtk.symbols: Export it.
2986
2987 2008-06-03  Tor Lillqvist  <tml@novell.com>
2988
2989         * gtk/updateiconcache.c (build_cache): Use g_open().
2990
2991 2008-06-03  Michael Natterer  <mitch@imendio.com>
2992
2993         * gtk/gtkclist.h
2994         * gtk/gtkctree.h: revert includes to how they have been before the
2995         GTK_DISABLE_SINGLE_INCLUDES changes. Apparently I missed the fact
2996         that you can't include <gtk/gtk.h> from two headers where one is a
2997         parent class of the other and expect them both to be includable
2998         individually.
2999
3000 2008-06-03  Michael Natterer  <mitch@imendio.com>
3001
3002         * gtk/gtkprinteroptionset.h: remove newline at beginning of file.
3003
3004 2008-06-02  Matthias Clasen  <mclasen@redhat.com>
3005         
3006         Bug 536092 – GtkEntryCompletion's popup window should set type hint
3007
3008         * gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set
3009         a type hint on the popup window to help compiz.
3010         Patch by Vaclav Slavik.
3011
3012 2008-06-02  Claudio Saavedra  <csaavedra@igalia.com>
3013
3014         Bug 535862 – gtk_action_create_icon can't create icons from the
3015         icon themes
3016
3017         * gtk/gtkaction.c: (gtk_action_create_icon): Look for the icon in
3018         the default factories as it's supposed.
3019
3020 2008-06-02  Yevgen Muntyan  <muntyan@tamu.edu>
3021
3022         Bug 535497 – Print preview doesn't work.
3023
3024         * gtk/Makefile.am: GTK_PRINT_PREVIEW_COMMAND on quartz: use open
3025         instead of launching Preview.app directly.
3026
3027 2008-06-02  Michael Natterer  <mitch@imendio.com>
3028
3029         * gtk/gtksignal.h: put back #include <gtk/gtkmarshal.h>, it's not
3030         in <gtk/gtk.h>. Fixes stuff that uses deprecated cruft.
3031         (bug #536126).
3032
3033 2008-05-31  Emmanuele Bassi  <ebassi@gnome.org>
3034
3035         Bug 535830 – wrong content type adding an item
3036
3037         * gtk/gtkrecentmanager.c:
3038         (gtk_recent_manager_add_item_query_info): Use the correct API
3039         for retrieving the fast MIME type of a URI. (Carlos Garcia
3040         Campos)
3041
3042 2008-05-31  Kristian Rietveld  <kris@imendio.com>
3043
3044         Bug 530146 - Setting non-string tooltip with
3045         gtk_tree_view_set_tooltip_column() segfaults
3046
3047         * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_query_cb): use
3048         gtk_tree_model_get_value() and explicitly transform the value to a
3049         string before setting it as tooltip.
3050
3051 2008-05-30  Tor Lillqvist  <tml@novell.com>
3052
3053         * modules/engines/ms-windows/msw_style.h
3054         * modules/engines/ms-windows/msw_rc_style.h: Include gtk.h.
3055
3056 2008-05-30  Michael Natterer  <mitch@imendio.com>
3057
3058         * gtk/gtkmenu.c (get_attach_info): cast attach_info_free() to
3059         GDestroyNotify when using it in g_object_set_data_full().
3060
3061 2008-05-30  Michael Natterer  <mitch@imendio.com>
3062
3063         * gdk/gdkapplaunchcontext.h
3064         * gdk/gdktestutils.h
3065         * gtk/gtkmountoperation.h
3066         * gtk/gtkshow.h
3067         * gtk/gtktestutils.h
3068         * gtk/gtktoolshell.h: no need to allow disabling single includes
3069         conditionally in these new files. Simply forbid including them
3070         individually from the beginning.
3071
3072 2008-05-30  Tor Lillqvist  <tml@novell.com>
3073
3074         Bug 533108 - leak of GDI region in function 'handle_wm_paint'
3075
3076         * gdk/win32/gdkevents-win32.c (handle_wm_paint): Patch by Daniel
3077         Atallah.
3078
3079 2008-05-29  Matthias Clasen <mclasen@redhat.com>
3080
3081         * configure.in: Bump version 
3082
3083         * === Released 2.13.1 ===
3084
3085         * NEWS: Updates
3086
3087 2008-05-29  Matthias Clasen <mclasen@redhat.com>
3088
3089         * gtk/gtkwidget.c: s/2.16/2.14/ in Since tags
3090
3091 2008-05-29  Matthias Clasen <mclasen@redhat.com>
3092
3093         * tests/Makefile.am: Don't add testmountoperation to TEST_PROGS.
3094
3095 2008-05-29  Tor Lillqvist  <tml@novell.com>
3096
3097         Bug 535526 - updateiconcache.c: using open/close without prototype
3098
3099         * gtk/updateiconcache.c: Include <io.h> if _MSC_VER. Also, use
3100         g_utime() when available instead of utime() for UTF-8 pathname
3101         support on Windows.
3102
3103 2008-05-29  Jan Arne Petersen  <jpetersen@jpetersen.org>
3104
3105         Bug 56355 – GtkLabel - Not all changes propagate correctly
3106
3107         * gtk/gtklabel.c: (gtk_label_recalculate), (gtk_label_set_label),
3108         (gtk_label_set_markup_with_mnemonic), (gtk_label_parse_uline),
3109         (gtk_label_set_text_with_mnemonic), (gtk_label_set_use_underline):
3110         Call gtk_label_setup_mnemonic from gtk_label_recalculate. Add
3111         notifications of mnemonic-keyval changes.
3112
3113 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
3114
3115         Bug 522084 – GIcon support for GtkIconTheme & GtkImage
3116
3117         * gtk/gtkicontheme.[hc]: Add support for GIcon based lookups.
3118         * gtk/gtkimage.[hc]: Allow setting an image from a GIcon.
3119         * gtk/gtk.symbols: Additions
3120         * tests/testimage.c: Add a GIcon test
3121
3122 2008-05-29  Michael Natterer  <mitch@imendio.org>
3123
3124         * gtk/Makefile.am
3125         * gtk/gtkunixprint.h: add a single-include header for the unix
3126         print stuff.
3127
3128         * gtk/gtkpagesetupunixdialog.h
3129         * gtk/gtkprinter.h
3130         * gtk/gtkprintjob.h
3131         * gtk/gtkprintunixdialog.h: add single-include guards that #error
3132         out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these
3133         files is included individually.
3134
3135         * gtk/gtkprintbackend.h
3136         * gtk/gtkprinter-private.h
3137         * modules/printbackends/cups/gtkprintbackendcups.c
3138         * modules/printbackends/cups/gtkprintercups.h
3139         * modules/printbackends/lpr/gtkprintbackendlpr.c
3140         * tests/buildertest.c
3141         * tests/defaultvaluetest.c
3142         * docs/tools/widgets.c: include <gtk/gtkunixprint.h> instead of
3143         individual files.
3144
3145 2008-05-28  Michael Natterer  <mitch@imendio.com>
3146
3147         * gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
3148         excess newlines and sprinkled some newlines where needed. Zero
3149         code or formatting changes included.
3150
3151 2008-05-28  Michael Natterer  <mitch@imendio.com>
3152
3153         * gtk/gtkprinter.h: fix formatting of details_acquired() signal.
3154
3155 2008-05-28  Michael Natterer  <mitch@imendio.com>
3156
3157         * gtk/gtkcolorbutton.h: fix comment: the widget is called
3158         GtkColorButton, not GtkColorSelectButton. Remove trailing
3159         whitespace and excess newlines.
3160
3161 2008-05-28  Michael Natterer  <mitch@imendio.com>
3162
3163         * configure.in: last but not least, add G_DISABLE_SINGLE_INCLUDES,
3164         GDK_PIXBUF_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES
3165         to CPPFLAGS so it's impossible to commit code that would break
3166         apps which use DISABLE_INCLUDE defines.
3167
3168 2008-05-28  Michael Natterer  <mitch@imendio.com>
3169
3170         * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
3171         headers.
3172
3173         * gtk/gtktypebuiltins.h.template
3174         * gtk/gtkversion.h.in
3175         * gtk/gtk*.h: add single-include guards that #error out if
3176         GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
3177         included individually.
3178
3179         * gtk/gtkprintbackend.h
3180         * gtk/gtkprinter-private.h
3181         * gtk/gtktextlayout.h
3182         * gtk/gtktexttagprivate.h
3183         * gtk/gtktexttypes.h
3184         * gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
3185         headers in these private or semi-private headers.
3186
3187         * gtk/gtkimmodule.h: also here because it's not in gtk.h.
3188
3189         * gtk/gtkpagesetupunixdialog.h
3190         * gtk/gtkprinter.h
3191         * gtk/gtkprintjob.h
3192         * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
3193
3194         * gtk/gtkclist.h
3195         * gtk/gtkcombo.h
3196         * gtk/gtkctree.h
3197         * gtk/gtkfilesel.h
3198         * gtk/gtkitemfactory.h
3199         * gtk/gtklist.h
3200         * gtk/gtklistitem.h
3201         * gtk/gtkoldeditable.h
3202         * gtk/gtkoptionmenu.h
3203         * gtk/gtkpixmap.h
3204         * gtk/gtkpreview.h
3205         * gtk/gtksignal.h
3206         * gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
3207         instead of individual headers in these deprecated headers. They
3208         don't get included at all when GTK_DISABLE_DEPRECATED is defined,
3209         so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
3210         and include them individually, which should continue to work.
3211
3212         * gtk/gtkclist.c: include "gtkctree.h" because of the change
3213         above.
3214
3215 2008-05-28  Kristian Rietveld  <kris@imendio.com>
3216
3217         Bug 449625 - crash in gtk_tree_view_real_move_cursor at
3218         gtktreeview.c:9641
3219
3220         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down):
3221         cursor_offset *must* be larger than background height of the cursor
3222         node, not just equal otherwise there is no guarantee there is a next
3223         node.
3224
3225 2008-05-28  Michael Natterer  <mitch@imendio.com>
3226
3227         * gtk/gtktestutils.c: don't include <gdk/gdktestutils.h>.
3228
3229 2008-05-28  Michael Natterer  <mitch@imendio.com>
3230
3231         * gdk/gdk.h: define __GDK_H_INSIDE__ around including all other
3232         headers.
3233
3234         * gdk/gdkenumtypes.h.template
3235         * gdk/gdk*.h: add single-include guards that #error out if
3236         GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
3237         included individually. Also removed some redundant includes and
3238         did some tiny trailing whitespace removal that's not worth to
3239         commit separately.
3240
3241         * gdk/gdkprivate.h: include <gdk/gdk.h> instead of individual
3242         files.
3243
3244         * gdk/win32/gdkwin32.h
3245         * gdk/x11/gdkx.h: only include <gdk/gdkprivate.h> and remove all
3246         other includes.
3247
3248 2008-05-28  Kristian Rietveld  <kris@imendio.com>
3249
3250         Bug 504087 - make gtk_tooltip_set_custom a no-op for setting the
3251         current widget again.
3252
3253         * gtk/gtktooltip.c (gtk_tooltip_set_custom),
3254         (gtk_tooltip_reset), (gtk_tooltip_run_requery): use a
3255         custom_was_reset field to check if the custom widget is set again in
3256         the query-tooltip callback; if not, we set it to NULL.  Based on a
3257         patch by Xavier Claessens, insightful comments from Jean-Yves Lefort
3258         and Christian Persch.
3259
3260 2008-05-28  Michael Natterer  <mitch@imendio.com>
3261
3262         * modules/printbackends/cups/gtkcupsutils.c
3263         * modules/printbackends/cups/gtkprintbackendcups.c
3264         * modules/printbackends/file/gtkprintbackendfile.c
3265         * modules/printbackends/lpr/gtkprintbackendlpr.c: include
3266         <gtk/gtk.h> instead of individual files.
3267
3268 2008-05-28  Michael Natterer  <mitch@imendio.com>
3269
3270         * demos/testpixbuf.c: include <gdk-pixbuf/gdk-pixbuf.h> instead of
3271         individual files.
3272
3273 2008-05-28  Kristian Rietveld  <kris@imendio.com>
3274
3275         Bug 498010 - gtk_tree_view_set_cursor fails if model!=NULL.
3276
3277         * gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): return if fail
3278         ->priv->tree != NULL.  Suggestion from Stefan Kost.
3279
3280 2008-05-28  Kristian Rietveld  <kris@imendio.com>
3281
3282         Bug 324282 - add selected signal to cell renderer combo.
3283
3284         * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
3285         (gtk_cell_renderer_combo_changed),
3286         (gtk_cell_renderer_combo_start_editing): add a new "changed" signal
3287         that will be emitted as soon as the combo box emitted changed and has
3288         an active iterator.  (Modified patch based on work by James
3289         Pelletier).
3290
3291         * gtk/gtkmarshalers.list: add marshaler.
3292
3293 2008-05-28  Kristian Rietveld  <kris@imendio.com>
3294
3295         Refactor expand/collapse timeout handling (amendment to bug 511217).
3296
3297         * gtk/gtktreeview.c (add_expand_collapse_timeout),
3298         (remove_expand_collapse_timeout): new functions, the remove function
3299         also clears expanded_collapsed_node,
3300         (cancel_arrow_animation): moved to be next to the add/remove timeout
3301         functions,
3302         (gtk_tree_view_unrealize),
3303         (gtk_tree_view_row_deleted),
3304         (gtk_tree_view_set_model),
3305         (cancel_arrow_animation),
3306         (gtk_tree_view_real_expand_row),
3307         (gtk_tree_view_real_collapse_row): use the new add/remove functions.
3308
3309 2008-05-28  Kristian Rietveld  <kris@imendio.com>
3310
3311         Amendment of bug 485218 - Strange warning encountered.
3312
3313         * gtk/gtktreemodelsort.[ch]
3314         (gtk_tree_model_sort_convert_child_iter_to_iter): return a boolean
3315         indication whether or not the conversion had succeeded.
3316
3317 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
3318
3319         Bug 509788 - GTK+ should use CUPS to set Postscript level of PS output
3320
3321         * modules/printbackends/cups/gtkprintbackendcups.c
3322         (cups_printer_create_cairo_surface): Fall back to PostScript level 2
3323         if the printer does not support level 3. Patch by Marek Kašík.
3324
3325 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
3326
3327         Bug 404571 - Scroll arrow backgrounds should be painted with different
3328         detail
3329
3330         * gtk/gtkmenu.c (gtk_menu_paint): Use "menu_scroll_arrow_up/down" 
3331         as detail when drawing scroll arrow backgrounds. Proposed by
3332         Tommi Komulainen.
3333         
3334 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
3335
3336         Bug 511217 - potential memory corruption after refreshing a tree_view
3337
3338         * gtk/gtktreeview.c (cancel_arrow_animation): Reset
3339         expanded_collapsed_node when canceling the animation.
3340         Patch by Nicholas Setton.
3341
3342 2008-05-28  Michael Natterer  <mitch@imendio.com>
3343
3344         * modules/input/gtkimcontextime.h
3345         * modules/input/gtkimcontextmultipress.h
3346         * modules/input/gtkimcontextthai.h
3347         * modules/input/gtkimcontextxim.h: include <gtk/gtk.h> instead of
3348         individual files.
3349
3350         * modules/input/gtkimcontextime.c
3351         * modules/input/gtkimcontextmultipress.c
3352         * modules/input/gtkimcontextxim.c
3353         * modules/input/imam-et.c
3354         * modules/input/imcedilla.c
3355         * modules/input/imcyrillic-translit.c
3356         * modules/input/iminuktitut.c
3357         * modules/input/imipa.c
3358         * modules/input/imti-er.c
3359         * modules/input/imti-et.c
3360         * modules/input/imviqr.c: ditto. Some minor cleanups like moving
3361         "gtk/gtkintl.h" to the end of includes.
3362
3363 2008-05-28  Michael Natterer  <mitch@imendio.com>
3364
3365         * modules/engines/pixbuf/pixbuf-style.h
3366         * modules/engines/pixbuf/pixbuf-rc-style.h: include <gtk/gtk.h>
3367         instead of individual files.
3368
3369 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
3370
3371         Bug 485218 - Strange warning encountered
3372
3373         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted):
3374         (gtk_tree_model_sort_convert_child_iter_to_iter):
3375         (gtk_tree_model_sort_build_level): Better warnings. Patch
3376         by Kristian Rietveld.
3377
3378 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
3379
3380         Bug 351910 - Search column setting lost
3381
3382         * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Clarify
3383         the docs. Patch by Matt Barnes.
3384
3385 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
3386
3387         Bug 477278 - avoid unnecessary pointer subtraction
3388
3389         * gtk/gtkaccelgroup.c (quick_accel_remove): Avoid pointer 
3390         subtraction that sparse complains about. Patch by Christian
3391         Persch.
3392
3393 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
3394
3395         Bug 106574 - Inconsistent increment behavior for gtkspinbutton
3396
3397         * gtk/gtkspinbutton.c (gtk_spin_button_real_value_change):
3398         Commit the entry text before doing an increment. Patch by
3399         Björn Lindqvist.
3400
3401 2008-05-27  Federico Mena Quintero  <federico@novell.com>
3402
3403         http://bugzilla.gnome.org/show_bug.cgi?id=533891 - Don't allow
3404         drag and drop from the file list into itself, as it doesn't make
3405         sense (it would just change the current folder).
3406
3407         * gtk/gtkfilechooserdefault.c (file_list_dest_targets): Use
3408         GTK_TARGET_OTHER_WIDGET so we don't DnD from the file list into
3409         itself.
3410
3411 2008-05-27  Michael Natterer  <mitch@imendio.com>
3412
3413         * gtk/gtksignal.h: move deprecated guards around everything,
3414         including includes and include guards (just as in all other
3415         deprecated files).
3416
3417 2008-05-27  Tor Lillqvist  <tml@novell.com>
3418
3419         * gtk/updateiconcache.c (build_cache): Use simpler mode for open()
3420         on Windows. (No S_I?GRP and S_I?OTH bits are defined in
3421         <sys/stat.h> on Windows, and the mode used in open() doesn't
3422         matter much as there are no rwxrwxrwx bits on Windows anyway.)
3423         Open file in binary mode. Passing "b" to fdopen() later isn't
3424         enough.
3425
3426 2008-05-27 10:33:41  Tim Janik  <timj@imendio.com>
3427
3428         * gtk/gtkwidget.c: guard gtk_widget_get_snapshot() against
3429         invalid or invisible widgets.
3430
3431 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
3432
3433         Bug 531008 – Crash in gtkprintunixdialog.c
3434
3435         * gtk/gtkprintunixdialog.c: Disconnect signal handlers when
3436         the dialog closes. Patch by Yevgen Muntyan.
3437
3438 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
3439
3440         RH bug 248245: cups client printing from gnome applications fail
3441
3442         * modules/printbackends/cups/gtkprintbackendcups.c
3443         (gtk_print_backend_cups_print_stream): Specify the right server.
3444
3445 2008-05-27  Carlos Garnacho  <carlos@imendio.com>
3446
3447         * gtk/gtkfilechooserdefault.c (set_select_multiple): Enable
3448         rubberbanding when "select-multiple" is TRUE. Bug #446068.
3449
3450 2008-05-27  Carlos Garnacho  <carlos@imendio.com>
3451
3452         * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Enable
3453         correctly dialog buttons sensitivity when the anonymous option is
3454         enabled by default. Bug #531865.
3455
3456 2008-05-27  Carlos Garnacho  <carlos@imendio.com>
3457
3458         * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Set
3459         password dialog modal and transient for the parent window also if it
3460         was specified in the constructor. Bug #531864.
3461
3462 2008-05-26  Richard Hult  <richard@imendio.com>
3463
3464         * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Try
3465         setting the default font, might need to tweak this.
3466
3467 2008-05-26  Michael Natterer  <mitch@imendio.com>
3468
3469         * examples/gtkdial/gtkdial.h
3470         * modules/input/gtkimcontextthai.h: use G_BEGIN/END_DECLS.
3471
3472 2008-05-26  Michael Natterer  <mitch@imendio.com>
3473
3474         * gtk/gtkimmodule.h: fix indentation.
3475
3476 2008-05-26  Michael Natterer  <mitch@imendio.com>
3477
3478         * gtk/gtkshow.h: include "gdk/gdk.h" instead of "gdk/gdkscreen.h"
3479
3480         * gtk/gtkshow.c: remove inclusion of single files from gdk/
3481
3482         Removed trailing whitespace in both files.
3483
3484 2008-05-26  Richard Hult  <richard@imendio.com>
3485
3486         Bug 530353 – Mac-like gtk_accelerator_get_label()
3487
3488         * gtk/gtkaccellabel.c: (gtk_accel_label_class_init),
3489         (append_keyval_symbol), (_gtk_accel_label_class_get_accelerator_label):
3490         On quartz, make gtk_accelerator_get_label() format a Mac-like
3491         string, using unicode characters for modifier keys, arrows, delete
3492         etc. Patch from Yevgen Muntyan.
3493
3494 2008-05-26  Richard Hult  <richard@imendio.com>
3495
3496         Bug 534869 – Length miscalculation in
3497         _gtk_quartz_get_selection_data_from_pasteboard
3498
3499         * gtk/gtkquartz.c: (_gtk_quartz_get_selection_data_from_pasteboard):
3500         Get the number of bytes, not the number of characters, patch from
3501         Yevgen Muntyan.
3502
3503 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
3504
3505         * gtk/gtkwidget.c: Some doc formatting fixes.
3506
3507 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
3508
3509         Bug 511163 – Remove pango_extents_to_pixels() calls
3510
3511         * gtk/gtkcellrenderertext.c (get_size): Use
3512         pango_layout_get_pixel_extents.
3513
3514         * configure.in: Bump Pango requirement to 1.20
3515
3516         * INSTALL.in: Update required versions
3517
3518 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
3519
3520         Bug 513811 – Use cairo_format_stride_for_width()
3521
3522         * gtk/gtkhsv.c (paint_ring, paint_triangle):
3523         * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Use
3524         cairo_format_stride_for_width, proposed by Behdad Esfahbod.
3525
3526         * configure.in: Bump cairo requirement to 1.6.0
3527
3528         * INSTALL.in: Update required versions
3529
3530 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
3531
3532         * gtk/gtkshow.[hc]: Formatting fixes
3533
3534         * gtk/gtkmountoperation.c: Add docs
3535
3536 2008-05-25  Cody Russell  <bratsche@gnome.org>
3537
3538         Bug 507389 – use gslice for gtksettings
3539
3540         * gtk/gtksettings.c: Change from g_new0/g_free to use GSlice.
3541         Report and patch by Christian Persch.
3542
3543 2008-05-25  Cody Russell  <bratsche@gnome.org>
3544
3545         Bug 523562 - gtk-update-icon-cache core dumps when run concurrently and
3546         when options are missing
3547
3548         * gtk/updateiconcache.c: Open the cache file (O_CREAT | O_EXCL) so
3549         that other processes that try to open it will fail gracefully.  Also
3550         fix a crasher caused by lack of a NULL check.  Report and patch
3551         by Erwann Chenede.
3552
3553 2008-05-25  Cody Russell  <bratsche@gnome.org>
3554
3555         Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows
3556
3557         * gdk/x11/gdkwindow-x11.c (_gdk_window_get_toplevel): Check
3558         !WINDOW_IS_TOPLEVEL instead of checking for GDK_WINDOW_CHILD,
3559         so that we also take into account for foreign windows.
3560         Report and patch by Nathaniel Smith.
3561
3562 2008-05-25  Cody Russell  <bratsche@gnome.org>
3563
3564         Bug 525461 - Don't invalidate under an input-only child
3565
3566         * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child):
3567         Check that the window is not input-only before invalidating.
3568         Report and patch by Owen Taylor.
3569
3570 2008-05-25  Cody Russell  <bratsche@gnome.org>
3571
3572         Bug 524110 - Gdk should not assume reparenting WMs when retrieving
3573         window frame extents
3574
3575         * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
3576         Use _NET_FRAME_EXTENTS, if available.  Patch by Danny Baumann.
3577
3578 2008-05-25  Cody Russell  <bratsche@gnome.org>
3579
3580         Bug 522269 - Evince windows sometimes incorrectly unmaximized,
3581         caused by missing flag initialization
3582
3583         * gdk/x11/gdkwindow-x11.c (set_initial_hints): Initialize
3584         top-level private flags correctly.  Patch by Danny Baumann.
3585
3586 2008-05-25  Cody Russell  <bratsche@gnome.org>
3587
3588         Bug 534463 - non-editable GtkTextView should not call
3589         gtk_im_context_focus_in in focus event
3590
3591         * gtk/gtktextview.c: Add checks to see if the textview is
3592         editable.  Patch by Wang Diancheng.
3593
3594 2008-05-25  Matthias Clasen  <mclasen@redhat.com>
3595
3596         Bug 501730 – use GSlice for small allocs
3597
3598         * gtk/gtkmenuitem.c:
3599         * gtk/gtkmenu.c: Use the slice allocator for small allocations.
3600         Patch by Christian Persch.
3601         
3602 2008-05-25  Matthias Clasen  <mclasen@redhat.com>
3603
3604         Bug 523930 – sort -> search in gtktreeview.c
3605
3606         * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Fix a doc
3607         glitch, pointed out by Björn Lindqvist.
3608
3609 2008-05-25  Matthias Clasen  <mclasen@redhat.com>
3610
3611         Bug 479384 – gtk_selection_data_targets_include_uri docs buglet
3612
3613         * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): Fix
3614         doc glitch, pointed out by Christian Persch.
3615
3616 2008-05-25  Matthias Clasen  <mclasen@redhat.com>
3617
3618         Bug 534694 – Col id in GtkListStore could be out of range
3619
3620         * gtk/gtkliststore.c (list_store_start_element): Fix up error handling
3621         a bit. Pointed out by Jan Arne Petersen.
3622
3623 2008-05-25  Matthias Clasen  <mclasen@redhat.com>
3624
3625         Bug 532497 – Configure problem when cross-compiling
3626
3627         * configure.in: Use AC_CHECK_TOOLS to find C++ compiler, 
3628         pointed out by Marko Lindqvist.
3629
3630 2008-05-25  Richard Hult  <richard@imendio.com>
3631
3632         * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
3633         Slight coding style cleanup.
3634
3635 2008-05-25  Tristan Van Berkom <tvb@gnome.org>
3636
3637         * gtk/gtkbuilderprivate.h, gtk/gtkbuilder.h, gtk/gtkbuilderparser.c:
3638         Added support for parsing required toolkit versions (so that ui descriptions
3639         can target specific versions of the backend widget libraries) bug 527612.
3640
3641         * gtk/docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
3642         for the added xml tags to the ui description.
3643
3644         * tests/buildertest.c: Enhanced pango attribute tests, Added tests
3645         for requires tag handling.
3646
3647 2008-05-25  Richard Hult  <richard@imendio.com>
3648
3649         * gtk/gtkdnd-quartz.c: (gtk_drag_drop_finished): Run
3650         gtk_drag_source_info_destroy in an idle, workaround for bug
3651         #501588, that makes any code that uses the context returned from
3652         gtk_drag_begin() crash, like treeview/iconview dnd.
3653         (GdkDragSourceOwner::provideDataForType): only use the data if we
3654         got any.
3655
3656 2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
3657
3658         * gtk/gtkfilechooserdefault.c: (create_file_list): Add GDK_ACTION_MOVE
3659         to the drag actions to allow trash (#137717).
3660
3661 2008-05-25  Josselin Mouette  <joss@malsain.org>
3662
3663         reviewed by: Matthias Clasen
3664
3665         * gtk/gtksearchenginetracker.c: (_gtk_search_engine_tracker_new):
3666         check that tracker is actually working before using it. Fixes
3667         bug #479197.
3668
3669 2008-05-25  Sven Neumann  <sven@gimp.org>
3670
3671         * gtk/gtkdrawingarea.c (gtk_drawing_area_realize)
3672         (gtk_drawing_area_size_allocate): respect the GTK_NO_WINDOW flag
3673         and don't create an output window if it is set.
3674
3675         * gtk/gtkprintunixdialog.c: set the GTK_NO_WINDOW flag for the
3676         drawing areas. Fixes bug #519317.
3677
3678 2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
3679
3680         * gtk/gtkentry.c: (gtk_entry_class_init), (get_text_area_size),
3681         (gtk_entry_get_text_area_size), (gtk_entry_draw_frame):
3682         * gtk/gtkentry.h:
3683         * gtk/gtkspinbutton.c: (gtk_spin_button_class_init),
3684         (gtk_spin_button_realize), (gtk_spin_button_size_allocate),
3685         (gtk_spin_button_expose), (gtk_spin_button_draw_arrow),
3686         (gtk_spin_button_enter_notify), (gtk_spin_button_leave_notify),
3687         (gtk_spin_button_grab_notify), (gtk_spin_button_state_changed),
3688         (start_spinning), (gtk_spin_button_button_release),
3689         (gtk_spin_button_motion_notify), (gtk_spin_button_value_changed),
3690         (gtk_spin_button_get_text_area_size), (gtk_spin_button_real_spin),
3691         (gtk_spin_button_update): Reorder strange window hierarchy of the
3692         GtkSpinButton (#466000).
3693
3694 2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
3695
3696         * gtk/gtklabel.c: (get_layout_location): Subtract logical.x from x to
3697         fix the wrong position for right and center justified labels with
3698         logical.x > 0 (#530255).
3699
3700 2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
3701
3702         * gtk/gtkfilechooserdefault.c:
3703         (shortcuts_activate_volume_mount_cb): Ignore G_IO_ERROR_FAILED_HANDLED
3704         errors (#532262).
3705
3706 2008-05-25  Björn Lindqvist  <bjourne@gmail.com>
3707
3708         * tests/pixbuf-lowmem.c
3709         * tests/pixbuf-random.c
3710         * tests/pixbuf-randomly-modified.c
3711         * tests/pixbuf-read.c
3712         * tests/pixbuf-threads.c
3713         * tests/testgtk.c
3714         * tests/testtreeview.c: Fix remaining compiler warnings in these
3715         files (#523751).
3716
3717 2008-05-25  Jaap A. Haitsma  <jaap@haitsma.org>
3718
3719         reviewed by: Matthias Clasen
3720
3721         * gtk/Makefile.am:
3722         * gtk/gtk.h:
3723         * gtk/gtk.symbols:
3724         * gtk/gtkshow.c: (gtk_show_uri):
3725         * gtk/gtkshow.h:
3726         Add gtk_show_uri to make showing uris really easy. Fixes bug #514396
3727
3728 2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
3729
3730         * gtk/gtkliststore.c: (list_store_text): Use type of the correct
3731         column (#529535).
3732         * tests/buildertest.c: (test_list_store): Add test.
3733
3734 2008-05-24  Matthias Clasen  <mclasen@redhat.com>
3735
3736         Bug 520989 – icon factory buildable too strict
3737
3738         * gtk/gtkiconfactory.c (icon_source_start_element): Make filename
3739         an optional attribute.
3740
3741 2008-05-24  Matthias Clasen  <mclasen@redhat.com>
3742
3743         Bug 387972 – gtkassistant drawing problem
3744
3745         * gtk/gtkassistant.c (gtk_assistant_size_allocate): Make 
3746         GtkAssistant work better in glade. 
3747
3748 2008-05-24  Jan Arne Petersen  <jpetersen@jpetersen.org>
3749
3750         * gtk/gtktoolbar.c: (gtk_toolbar_class_init): Change defaults of child
3751         properties "expand" and "homogeneous" from TRUE to FALSE (as they are
3752         used in GtkToolItem) (#532787).
3753
3754 2008-05-24  Jan Arne Petersen  <jpetersen@jpetersen.org>
3755
3756         * gtk/gtkfilechooserdefault.c: (location_toggle_popup_handler): Don't
3757         try to toggle the visibility of the location entry field in search and
3758         recent mode (#526422).
3759
3760 2008-05-24  Jan Arne Petersen  <jpetersen@jpetersen.org>
3761
3762         * gtk/gtkfilechooserdefault.c: (shortcuts_query_tooltip_cb),
3763         (shortcuts_list_create): Show parse name as tooltip for path
3764         shortcuts (#137503).
3765
3766 2008-05-24  Björn Lindqvist  <bjourne@gmail.com>
3767
3768         * gdk/gdkcolor.c (gdk_color_parse): Update docstring to match
3769         pango_color_parse, do not reference XParseColor forms (#434991).
3770
3771 2008-05-24  James Sharpe <jsharpe@gnome.org>
3772
3773         * gdk/gdk.symbols: Remove duplicate
3774         gdk_window_redirect_to_drawable and gdk_window_remove_redirection
3775         * gtk/gtk.symbols: Remove duplicate gtk_widget_get_snapshot
3776         
3777 2008-05-23  Hans Breuer  <hans@breuer.org>
3778
3779         * **/makefile.msc gtk/makefile.msc.in : updated
3780         * gtk/gtkwidget.c : fix c99ism (variable at start of block
3781         * gdk/gdk.symbols gtk/gtk.symbols : export functions for window 
3782         redirection
3783         * gtk/gtkfilechooserdefault.c : #include <locale.h> for 
3784         setlocale(LC_ALL, ...)
3785
3786 2008-05-23  Tor Lillqvist  <tml@novell.com>
3787
3788         * gdk/gdk.symbols: Add gdk_window_redirect_to_drawable and
3789         gdk_window_remove_redirection.
3790
3791         * gdk/win32/gdkwindow-win32.c (_gdk_window_new)
3792         (_gdk_window_reparent): Rename to adapt to the offscreen rendering
3793         changes. Remove now unnecessary parameter checks as the caller
3794         does that already.
3795
3796         * gtk/gtk.symbols: Add gtk_widget_get_snapshot.
3797
3798 2008-05-23  Tor Lillqvist  <tml@novell.com>
3799
3800         * gdk/win32/gdkwindow-win32.c (update_style_bits): Don't do
3801         anything if style doesn't change. Improve debugging output.
3802
3803 2008-05-23  Michael Natterer  <mitch@gimp.org>
3804
3805         * perf/widgets.h
3806         * tests/print-editor.c
3807         * tests/prop-editor.h
3808         * tests/testmountoperation.c
3809         * tests/testmultidisplay.c
3810         * tests/testnouiprint.c
3811         * tests/testprint.c
3812         * tests/testprintfileoperation.h
3813         * tests/testtreesort.c
3814         * tests/textbuffertest.c: include <gtk/gtk.h> instead of single
3815         files. Remove some redundant includes.
3816
3817 2008-05-22  Hiroyuki Ikezoe  <poincare@ikezoe.net>
3818
3819         * gtk/gtksockget.c: (gtk_socket_realize): Remove second call of
3820         GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED).
3821
3822 2008-05-21  Richard Hult  <richard@imendio.com>
3823
3824         * gdk/quartz/gdkwindow-quartz.c:
3825         (_gdk_window_new), (_gdk_window_reparent): Renamed to adapt to the
3826         offscreen rendering changes, fixes build.
3827
3828 2008-05-21 21:10:15  Tim Janik  <timj@imendio.com>
3829
3830         * gtk/gtkwidget.h: added GdkRectangle *clip_rect to gtk_widget_get_snapshot().
3831
3832         * gtk/gtkwidget.c: clip the returned snapshot pixmap to clip_rect.
3833         return snapshot pixmap coordinates widget relative in *clip_rect.
3834
3835         * tests/testgtk.c: fixed bogus NULL pointer unref.
3836
3837 2008-05-21 21:04:28  Tim Janik  <timj@imendio.com>
3838
3839         * gtk/gtkwidget.c gtk_widget_get_snapshot(): grow snapshot area from
3840         widget's allocation to cover extra widget windows placed outside the
3841         widget allocation (spinbutton arrows are the prime example for this).
3842
3843 2008-03-18 10:49:20  Tim Janik  <timj@imendio.com>
3844
3845         * Applied pixmap redirection patch by Alexander Larsson with
3846         various updates from:
3847         Bug 318807 – Offscreen windows and window redirection.
3848
3849
3850         Updates:
3851
3852         * updated docs to mention "Since 2.16".
3853
3854         * tests/testgtk.c: fixed snapshooting pixmap leak.
3855         convert pixmap to pixbuf after snapshooting, to compensate for different
3856         bit depths (occurs when snapshooting ARGB visuals and displaying the
3857         pixmap in an RGB visual).
3858
3859         * gdk/gdkwindow.[hc]: made GdkWindowRedirect private.
3860
3861         * gdk/gdkwindow.c: removed damage idle handler, there's no aparent
3862         need for it. enqueue damage notification as GDK_DAMAGE events
3863         for each painting redirection at the start of the event queue.
3864         consider windows with a redirection fully visible when invalidating,
3865         and when updating from backing store. cleaned up stale variables.
3866
3867         * gdk/gdkevents.c: added _gdk_event_queue_prepend().
3868
3869         * gtk/gtkwidget.c: fixed coordinates for !NO_WINDOW widgets in
3870         gtk_widget_get_snapshot; this fixes garbage snap offsets for gammacurve,
3871         tree, drawingarea, text, handlebox, etc.
3872         clip the redirected window hierarchy to window sizes, the visible
3873         rectangles don't need to be taken into account here.
3874         extended snapshooting docs to recommend gdk_pixbuf_get_from_drawable()
3875         in case pixmap visuals could mismatch.
3876
3877         * gdk/x11/gdkwindow-x11.c: removed _gdk_windowing_window_get_visible_rect().
3878
3879
3880         Base patch:
3881
3882         * tests/testgtk.c: add a "Snapshot" test to demonstrate snapshooting
3883         of possibly obscured widgets into an offscreen pixmap.
3884
3885         * gtk/gtkwidget.[hc]: add GtkWidget::damage-event signal, add
3886         gtk_widget_get_snapshot() to render a widget's contents to a GdkPixmap.
3887
3888         * gtk/gtkmain.c: dispatch GDK_DAMAGE events.
3889
3890         * gdk/gdkwindow.c: moved outer gdk_window_new() and gdk_window_reparent()
3891         implementations here, adapted them to propagate redirects to child windows.
3892         gdk_window_end_paint(): copy repainted window contents to redirection pixmap,
3893         clipped to visible region. queue GDK_DAMAGE event delivery.
3894         gdk_window_redirect_to_drawable(): install window painting redirection.
3895         gdk_window_remove_redirection(): remove previously installed redirection.
3896
3897         * gdk/x11/gdkwindow-x11.c: added _gdk_windowing_window_get_visible_rect(),
3898         renamed _gdk_window_new() and _gdk_window_reparent().
3899
3900         * gdk/gdkwindow.h: added GdkWindowRedirect* to GdkWindowObject, export
3901         gdk_window_redirect_to_drawable() and gdk_window_remove_redirection().
3902
3903         * gdk/gdkevents.h: added GDK_DAMAGE event type.
3904
3905         * gdk/gdkevents.c: extract time and state from GDK_DAMAGE events.
3906
3907         * gdk/gdkinternals.h: added internal prototypes.
3908
3909 2008-05-21  Michael Natterer  <mitch@imendio.com>
3910
3911         * gtk/gtkalignment.c
3912         * gtk/gtkarrow.c
3913         * gtk/gtkbbox.c
3914         * gtk/gtkcalendar.c
3915         * gtk/gtkscrolledwindow.c: remove PROP_LAST enum values.
3916
3917 2008-05-20  Matthias Clasen  <mclasen@redhat.com>
3918
3919         RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size
3920         was chosen
3921
3922         Patch by Marek Kasik.
3923
3924         * gtk/gtk.symbols:
3925         * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.
3926         
3927         * gtk/gtkprintbackend.[hc]: Add fallback implementation.
3928
3929         * modules/printbackends/file/gtkprintbackendfile.c:
3930         * modules/printbackends/cups/gtkprintbackendcups.c: Implement
3931         get_default_page_size.
3932
3933         * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
3934         select its default paper size.
3935
3936         * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
3937         use the printer default.
3938
3939         * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
3940         if we don't have a default page setup.
3941
3942 2008-05-20  Gian Mario Tagliaretti  <gianmt@gnome.org>
3943
3944         * gtk/gtkdnd.c: (gtk_drag_set_icon_pixmap): Fix the docs, the mask param
3945         can accept NULL for none. Fixes bug #533920.
3946
3947 2008-05-20  Björn Lindqvist  <bjourne@gmail.com>
3948
3949         * gtk/gtkspinbutton.c: (gtk_spin_button_snap,
3950         gtk_spin_button_update): Remove two chunks of duplicated
3951         code (#533733).
3952
3953 2008-05-20 14:27:34  Tim Janik  <timj@imendio.com>
3954
3955         * reverted recent unapproved changes by Yair Hershkovitz,
3956         regarding: Bug 503071 – Application direction changes to right
3957         to left even if theres no translation.
3958
3959 2008-05-19  Richard Hult  <richard@imendio.com>
3960
3961         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_hide),
3962         (gdk_window_fullscreen), (gdk_window_unfullscreen): Use
3963         SetSystemUIMode instead of hiding and showing the menubar.
3964
3965 2008-05-19  Federico Mena Quintero  <federico@novell.com>
3966
3967         http://bugzilla.gnome.org/show_bug.cgi?id=322298 - Save dialog
3968         can't be resized until you expand the "Browse for other folders"
3969         section.
3970
3971         * gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
3972         Removed the "get_resizable" method.
3973         (_gtk_file_chooser_embed_get_resizable): Removed.
3974
3975         * gtk/gtkfilechooserembed.c: Removed the _get_resizable() machinery.
3976
3977         * gtk/gtkfilechooserdefault.c: Likewise.
3978
3979         * gtk/gtkfilechooserdialog.c
3980         (file_chooser_widget_default_size_changed): Act as if the dialog
3981         were always resizable.
3982
3983 2008-05-19  Michael Natterer  <mitch@imendio.com>
3984
3985         * gtk/gtkcellrenderer.c
3986         * gtk/gtkcellrendererpixbuf.c
3987         * gtk/gtkcellrenderertoggle.c
3988         * gtk/gtkimagemenuitem.c
3989         * gtk/gtkmenutoolbutton.c
3990         * gtk/gtkoptionmenu.c
3991         * gtk/gtkstatusbar.c
3992         * gtk/gtktextview.c: s/PROP_ZERO/PROP_0/g, remove LAST_PROP.
3993
3994 2008-05-17  Yair Hershkovitz  <yairhr@gmail.com>
3995
3996         * gtk/gtkmain.c: gtk_disable_setlocale() - Added a call to
3997         g_disable_setlocale().
3998
3999 2008-05-17  Richard Hult  <richard@imendio.com>
4000
4001         * gdk/quartz/gdkwindow-quartz.c:
4002         (gdk_window_impl_quartz_invalidate_maybe_recurse):
4003         (gdk_window_quartz_update_idle): Use gdk_threads_add_idle instead
4004         of g_idle_add. Add a temporary check if the window is already in
4005         the updates list, since update_area currently doesn't always match
4006         the backend's state, see bug #530801.
4007
4008 2008-05-13  Tor Lillqvist  <tml@novell.com>
4009
4010         Bug 496958 - Wacom Bamboo doesn't function with GTK apps in Win32
4011
4012         * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Set
4013         the "packet rate" of devices to zero instead of 50. This is
4014         reported to help significantly with Wacom tablet behaviour in GIMP
4015         and Inkscape. Patch from Thomas Bleeker.
4016
4017 2008-05-12  Richard Hult  <richard@imendio.com>
4018
4019         * gdk/quartz/gdkevents-quartz.c:
4020         * gdk/quartz/gdkquartz.h: Remove special casing of menu key events
4021         as it's no longer necessary; instead the added quartz API to get
4022         the nsevent from an event should be used. Also move the global
4023         filter up so it's done before the check for window-less events.
4024
4025 2008-05-12  Tor Lillqvist  <tml@novell.com>
4026
4027         Bug 532558 - Cannot build dll when using separate builddir
4028
4029         * gdk/Makefile.am
4030         * gtk/Makefile.am: .def file belongs in $(srcdir). Patch by Marko
4031         Lindqvist.
4032
4033 2008-05-12  Yair Hershkovitz  <yairhr@gmail.com>
4034
4035         * gtk/gtkmain.c: g_i18n_init(); -> g_i18n_init ();
4036
4037 2008-05-12  Tor Lillqvist  <tml@novell.com>
4038
4039         Bug 532059 - Leak in win32 clipboard manipulation
4040
4041         * gdk/win32/gdkselection-win32.c
4042         (gdk_win32_selection_add_targets): Plug memory leak. Patch by
4043         Daniel Atallah.
4044
4045 2008-05-11  Yair Hershkovitz  <yairhr@gmail.com>
4046
4047         * gtk/gtkmain.c: call g_i18n_init() in gettext_initialization(). do
4048         gettext_initialization only once.
4049
4050         *  gtk/gtkbuilderparser.c: use glib i18n api. removed dpgettext() as it
4051         duplicates g_dpgettext() and added _g_dpgettext() to wrap g_dpgettext 
4052         with the extended functionality that was in the removed dpgettext().
4053
4054         * gtk/gtkaccellabelc:
4055         * gtk/gtkstock.c:
4056         * gtk/gtkimmulticontext.c:
4057         * gtk/gtkactiongroup.c:
4058         * gtk/gtkintl.h: use glib i18n api.
4059
4060 2008-05-08  Richard Hult  <richard@imendio.com>
4061
4062         * gdk/quartz/gdkgeometry-quartz.c (gdk_window_scroll): Move the
4063         currently invalidated region. Fixes bug #532048, patch by Yevgen
4064         Muntyan.
4065
4066 2008-05-08  Richard Hult  <richard@imendio.com>
4067
4068         * gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake
4069         fd's revents, not the first one. Fixes bug #531056, spotted by
4070         Yevgen Muntyan.
4071
4072 2008-05-07  Tor Lillqvist  <tml@novell.com>
4073
4074         * gtk-zip.sh.in: Add gtk-update-icon-cache.exe and more man pages
4075         to the dev zipfile.
4076
4077 2008-05-05  Matthias Clasen  <mclasen@redhat.com>
4078
4079         Apply a patch by Marek Kasik <mkasik@redhat.com> to display
4080         more printer status information in the print dialog. 
4081
4082         * modules/printbackends/cups/gtkprintbackendcups.c: Translate
4083         printer-state-reasons into suitable messages and icons.
4084
4085         * gtk/stock-icons/16/gtk-print-error.{svg,png}:
4086         * gtk/stock-icons/16/gtk-print-report.{svg,png}:
4087         * gtk/stock-icons/16/gtk-print-warning.{svg,png}:
4088         * gtk/Makefile.am: 
4089         * gtk/gtkiconfactory.c:
4090         * gtk/gtkstock.h: New stock icons to display printer state.
4091
4092 2008-05-07  Michael Natterer  <mitch@imendio.com>
4093
4094         * gdk/gdkinternals.h
4095         * gdk/gdkevents.c
4096         * gdk/directfb/gdkevents-directfb.c
4097         * gdk/quartz/gdkevents-quartz.c
4098         * gdk/win32/gdkevents-win32.c
4099         * gdk/x11/gdkevents-x11.c (_gdk_windowing_event_data_copy):
4100         order parameters src,dest and make src const.
4101
4102 2008-05-06  Richard Hult  <richard@imendio.com>
4103
4104         * gdk/gdkevents.c: (gdk_event_copy), (gdk_event_free):
4105         * gdk/gdkinternals.h: Add private backend data to events, and
4106         handle it when copying/freeing events. Currently only needed in
4107         the quartz backend.
4108
4109         * gdk/directfb/gdkevents-directfb.c:
4110         * gdk/quartz/gdkevents-quartz.c:
4111         * gdk/win32/gdkevents-win32.c:
4112         * gdk/x11/gdkevents-x11.c: (_gdk_windowing_event_data_copy)
4113         (_gdk_windowing_event_data_free): Add stubs for X11, win32 and
4114         directfb. Implement for quartz. Part of fixing bug #473822.
4115
4116 2008-05-05  Richard Hult  <richard@imendio.com>
4117
4118         * gdk/quartz/gdkmain-quartz.c (_gdk_windowing_init): Initalize
4119         framework if there is one.
4120
4121 2008-05-05  Michael Natterer  <mitch@imendio.com>
4122
4123         * gtk/gtkcellrenderercombo.h
4124         * gtk/gtkcellrendererspin.h
4125         * gtk/gtkfilechooserbutton.h: style cleanups for the sake of
4126         consistency.
4127
4128         * gtk/gtkfilechooserdialog.h
4129         * gtk/gtkfilechooserwidget.h
4130         * gtk/gtkscalebutton.h: reorder instance and class structs to be
4131         in canonical order.
4132
4133 2008-05-04  Richard Hult  <richard@imendio.com>
4134
4135         * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Check if
4136         gdk_unicode_to_keyval() worked before using the result. Makes
4137         function keys work, bug #530156. Also add F16 to the function key
4138         map.
4139
4140 2008-05-04  Richard Hult  <richard@imendio.com>
4141
4142         * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Remove stray
4143         semicolon after if statement. Fixes bug #530963, patch from Yevgen
4144         Muntyan.
4145
4146 2008-05-02  Michael Natterer  <mitch@imendio.com>
4147
4148         * gtk/gtk.h: add 15 files that were missing (they all got included
4149         indirectly by including gtk.h, so should have been here in the
4150         first place).
4151
4152 2008-05-02  Michael Natterer  <mitch@imendio.com>
4153
4154         * modules/input/imthai.c: use GETTEXT_PACKAGE instead of "gtk20".
4155
4156 2008-05-01  Richard Hult  <richard@imendio.com>
4157
4158         * gtk/gtkquartz.c (_gtk_quartz_set_selection_data_for_pasteboard):
4159         Prevent crash, fixes bug #530153. Patch from Yevgen Muntyan.
4160
4161 2008-05-01  Matthias Clasen  <mclasen@redhat.com>
4162
4163         * modules/imput/imthai.c: Register the right translation domain.
4164
4165 2008-04-30  Matthias Clasen  <mclasen@redhat.com>
4166
4167         Bug 529386 – Printing options hidden by blacklisted option
4168
4169         * modules/printbackend/cups/gtkprintbackendcups.c
4170         (cups_printer_get_options): Fix the blacklist handling. 
4171         Patch by Marek Kašík.
4172         
4173 2008-04-30  Richard Hult  <richard@imendio.com>
4174
4175         * gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose
4176         area.
4177
4178 2008-04-30  Richard Hult  <richard@imendio.com>
4179
4180         * gdk/quartz/gdkevents-quartz.c: (_gdk_events_queue): Don't send
4181         nsevents with the gdk lock held, fixes deadlock when doing manual
4182         window resizing with threading enabled.
4183
4184 2008-04-30  Richard Hult  <richard@imendio.com>
4185
4186         * gdk/quartz/gdkevents-quartz.c:
4187         (get_keyboard_modifiers_from_ns_event), (create_key_event): Map
4188         Alt to Alt and Cmd to Meta. This is not only more logical but also
4189         makes it easier to have Mac-like behavior.
4190
4191 2008-04-25  Björn Lindqvist  <bjourne@gmail.com>
4192
4193         * gtk/gtkentry.c: (gtk_entry_expose) Use existing window size when
4194         painting the flat box instead of recalculating it. (#437493,
4195         Ricardo Cruz)
4196
4197 2008-04-25  Michael Emmel  <mike.emmel@gmail.com>
4198
4199         Bug 529841 – incorrect position in directfb 
4200
4201         * gdk/directfb/gdkwindow-directfb.c: fix y = abs_x 
4202
4203 2008-04-25  Johan Dahlin  <jdahlin@async.com.br>
4204
4205         * gtk/gtkwidget.h: include <atk/atk.h> instead of <atk/atkobject.h>
4206
4207 2008-04-25  Michael Natterer  <mitch@imendio.com>
4208
4209         * gtk/gtkprintcontext.h: include <pango/pango.h> instead of
4210         <pango/pango-layout.h>.
4211
4212         * gtk/gtkiconfactory.c
4213         * gtk/gtkimmodule.c
4214         * gtk/gtkmain.c
4215         * gtk/gtkmodules.c
4216         * gtk/queryimmodules.c: remove inclusion of single files from
4217         pango, none of them was actually needed.
4218
4219         * modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
4220         <pango/pango-utils.h>.
4221
4222 2008-04-25  Michael Natterer  <mitch@imendio.com>
4223
4224         * gdk/gdkfont.h: include <pango/pango.h> instead of
4225         <pango/pango-font.h>.
4226
4227 2008-04-25  Michael Natterer  <mitch@imendio.com>
4228
4229         * gtk/gtkmountoperation.h: include <gdk/gdk.h> instead of
4230         <gdk/gdkscreen.h>.
4231
4232 2008-04-21  Michael Natterer  <mitch@imendio.com>
4233
4234         * gtk/gtkselection.c: add tons of g_return_if_fail() instead of
4235         crashing when NULL pointers get passed.
4236
4237 2008-04-18  Michael Natterer  <mitch@imendio.com>
4238
4239         * gtk/gtkenums.h: move a few '{' to their own lines so all enums
4240         here have the same style.
4241
4242 2008-04-18  Michael Natterer  <mitch@imendio.com>
4243
4244         * gtk/gtkicontheme.h
4245         * gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
4246         <gdk/gdkscreen.h>.
4247
4248         * gtk/gtkbuilderparser.c
4249         * gtk/gtklinkbutton.c
4250         * gtk/gtkpreview.c
4251         * gtk/gtkrecentchooserdefault.c
4252         * gtk/gtkrecentchoosermenu.c
4253         * modules/input/gtkimcontextthai.c: remove inclusion of single
4254         files from gdk, none of the includes was actually needed.
4255
4256 2008-04-18  Michael Natterer  <mitch@imendio.com>
4257
4258         * gdk/gdk.h: reorder one include so they are all alphabetical.
4259
4260 2008-04-18  Michael Natterer  <mitch@imendio.com>
4261
4262         * modules/printbackends/cups/gtkprintercups.[ch]
4263         (gtk_printer_cups_get_ppd_name): change return value and local
4264         variable to const gchar* to fix warning about discarding const
4265         qualifier.
4266
4267 2008-04-18  Emmanuele Bassi  <ebassi@gnome.org>
4268
4269         * gtk/gtkrecentmanager.c:
4270         (gtk_recent_manager_set_filename): Keep the default storage
4271         file in $HOME, as we don't have a migration code in place yet.
4272
4273 2008-04-18  Michael Natterer  <mitch@imendio.com>
4274
4275         * gtk/gtkrecentmanager.c (gtk_recent_manager_clamp_to_age):
4276         g_strfreev() the uris returned by g_bookmark_file_get_uris().
4277
4278 2008-04-17  Michael Natterer  <mitch@imendio.com>
4279
4280         * gtk/gtkiconfactory.c (get_default_icons): register the
4281         GTK_STOCK_PAGE_SETUP icon.
4282
4283 2008-04-17  Michael Natterer  <mitch@imendio.com>
4284
4285         * gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
4286         g_return_if_fail(tooltips != NULL);
4287
4288 2008-04-16  Tristan Van Berkom <tvb@gnome.org>
4289
4290         * gtk/gtkwindow.c: Chain up in buildable_finish()
4291
4292         * gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
4293         cases where g_path_get_dirname() returns "."
4294
4295         * docs/reference/gtk/tmpl/gtklabel.sgml, 
4296         docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
4297         for the <attributes> tags on GtkLabel
4298
4299 2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
4300
4301         * gtk/gtkrecentmanager.c:
4302         (gtk_recent_manager_real_changed): Fix last commit, and
4303         complete the gtk-recent-files-max-age semantics: if the
4304         property is set to 0 then purge the list.
4305
4306 2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
4307
4308         Bug 488507 – boundless growth of .recently-used.xbel file
4309         slows down applications
4310
4311         * gtk/gtkrecentmanager.c:
4312         (gtk_recent_manager_init),
4313         (gtk_recent_manager_real_changed),
4314         (gtk_recent_manager_set_filename),
4315         (gtk_recent_manager_clamp_to_age): Clamp the recently
4316         used resources list by the age of its items, using
4317         the newly added GtkSettings property.
4318
4319         * gtk/gtksettings.c (gtk_settings_class_init): Add the
4320         gtk-recent-files-max-age property, controlling the
4321         maximum age of the items in the recently used resources
4322         list.
4323
4324 2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
4325
4326         * gtk/gtkrecentmanager.c:
4327         (gtk_recent_manager_add_item_query_info),
4328         (gtk_recent_manager_add_item): Emit the ::changed signal
4329         at the end of the asynchronous MIME type query.
4330
4331 2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
4332
4333         Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel
4334         every 5 seconds
4335
4336         * gtk/gtkrecentmanager.c: Use GFileMonitor to check for
4337         changes in the recently used resources storage file, and
4338         drop the timeout-based poll.
4339
4340         * ChangeLog: Fix attribution of the patch of the previous
4341         commit.
4342
4343 2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
4344
4345         Bug 506062 – gtk_recent_manager_add_item does not detect mime
4346         type on Windows
4347
4348         * configure.in: Depend on gio-2.0
4349
4350         * gtk/gtkrecentmanager.c:
4351         (gtk_recent_manager_add_item_query_info_cb),
4352         (gtk_recent_manager_add_item): Use GIO to (asynchronously)
4353         query the MIME type of the passed URI (based on a patch by
4354         Armin Burgmeier)
4355
4356 2008-04-11  Carlos Garnacho  <carlos@imendio.com>
4357
4358         * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
4359         page to visited page list instead of next current page. (#527466,
4360         patch by Marcus Brinkmann)
4361
4362 2008-04-11  Tristan Van Berkom <tvb@gnome.org>
4363
4364         * gtk/gtklabel.c: Added <attributes> / <attribute>
4365         custom tags to parse pango attributes into labels (#527486).
4366
4367         * tests/buildertest.c: Added tests for GtkLabel custom
4368         tag parsing.
4369
4370 2008-04-10  Carlos Garnacho  <carlos@imendio.com>
4371
4372         * gtk/gtknotebook.c (hide_drag_window): Do not call
4373         gtk_widget_set_parent_window(), using widget->window instead of NULL
4374         to unset is the wrong thing, and gtk_widget_unparent() will already 
4375         take care of this (#467698, patch by Sébastien Granjoux)
4376
4377 2008-04-08  Tor Lillqvist  <tml@novell.com>
4378
4379         * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
4380         these functions with G_MODULE_EXPORT.
4381
4382 2008-04-08  Tomas Bzatek  <tbzatek@redhat.com>
4383
4384         * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
4385         (gtk_file_system_volume_render_icon):
4386         Fix fallback icon rendering size
4387
4388 2008-04-08  Michael Natterer  <mitch@imendio.com>
4389
4390         * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
4391         touchscreen-mode keynav corner case: when navigating to the parent
4392         menu, make sure we don't close two menus at the same time in case
4393         the deepest open menu has no selectable items.
4394
4395 2008-04-06  Tristan Van Berkom <tvb@gnome.org>
4396
4397         * gtk/gtkwidget.c: Clarified a g_warning message regarding
4398         parsing accelerators from builder files.
4399
4400 2008-04-03  Cody Russell  <bratsche@gnome.org>
4401
4402         * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
4403         of the block. (#526021, reported by Kazuki IWAMOTO)
4404
4405 2008-04-03  Tor Lillqvist  <tml@novell.com>
4406
4407         Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
4408         strange behavior
4409
4410         * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
4411         workaround for a specific kind of screwed up locale setting.
4412
4413 2008-04-02  Matthias Clasen  <mclasen@redhat.com>
4414
4415         * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign
4416         colormaps.  Found by Daniel Berrange.
4417
4418 2008-04-02  Björn Lindqvist  <bjourne@gmail.com>
4419
4420         * tests/autotestfilechooser.c: Cover
4421         GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
4422         name. (#346058, Joe Halliwell)
4423
4424 2008-04-02  Federico Mena Quintero  <federico@novell.com>
4425
4426         Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file
4427         chooser incorrectly substitutes and expands a ~ when you type it
4428         in the filename entry.
4429
4430         * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty
4431         basenames result in a slash-terminated pathname.
4432         gtk_file_system_unix_parse() is correct, but it was splitting
4433         "/home/username" into path="/home" and file_part="username", which
4434         is not what the caller wants when the entry has just "~" or
4435         "~username".
4436
4437 2008-04-02  Tor Lillqvist  <tml@novell.com>
4438
4439         * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
4440         and gtksearchenginetracker.c on Windows.
4441
4442         * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
4443         on Windows.
4444
4445 2008-04-01  Cody Russell  <bratsche@gnome.org>
4446
4447         * configure.in: Bump required Cairo to 1.5.2.
4448
4449         * gtk/gtkprintoperation-win32.c: Add support for using the new
4450         cairo_win32_printing_surface for printing.  Also fixed to use
4451         cairo_surface_show_page(). (#488833 and #521178)
4452
4453 2008-03-31  Cody Russell  <bratsche@gnome.org>
4454
4455         * demos/gtk-demo/printing.c (draw_page): Move down each line in         
4456         units of text_height rather than in units of data->font_size.
4457         (totally awesome catch by Dom Lachowicz)
4458
4459 2008-03-28  Richard Hult  <richard@imendio.com>
4460
4461         * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
4462         (_gdk_quartz_events_trigger_crossing_events): Defer the generated
4463         event to the mainloop and don't generate one at all if the
4464         toplevel didn't change. Use the actual window and not the toplevel
4465         as event window. These changes make the generated crossing events
4466         match the X11 behavior and fixes issues with e.g. tooltips,
4467         comboboxes and menus.
4468
4469         * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
4470         the view has no window, it will be updated as soon as it's put
4471         inside a window.
4472
4473         * gdk/quartz/gdkwindow-quartz.c:
4474         (_gdk_quartz_window_debug_highlight): Make it possible to track
4475         multiple windows with debug highlighting.
4476         (show_window_internal): Remove workaround for tooltips and popups
4477         that is no longer needed with the above changes.
4478
4479 2008-03-26  Federico Mena Quintero  <federico@novell.com>
4480
4481         * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
4482         helper function; factored out from the functions that commit the
4483         current suggested autocompletion and that refresh the entry's paths.
4484         (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
4485         (_gtk_file_chooser_entry_get_file_part): Likewise.
4486         (_gtk_file_chooser_entry_get_current_folder): Likewise.  This
4487         makes the entry have the correct paths when *not* using any form
4488         of completion (and makes the file chooser work when clicking the
4489         OK button).
4490
4491 2008-03-25  Richard Hult  <richard@imendio.com>
4492
4493         * gdk/quartz/gdkevents-quartz.c:
4494         (_gdk_quartz_events_trigger_crossing_events): Bail out early if we
4495         can't find a matching window.
4496
4497         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
4498         comment, and only trigger an event for non-temp windows, fixes
4499         problems for tooltips caused by the workarounds for the
4500         problematic tracking rect API.
4501
4502 2008-03-25  Richard Hult  <richard@imendio.com>
4503
4504         * gdk/quartz/gdkwindow-quartz.c:
4505         (gdk_window_quartz_process_all_updates): Plug a leak and add a
4506         check that we have a toplevel before accessing it.
4507
4508 2008-03-24  Tor Lillqvist  <tml@novell.com>
4509
4510         Bug 524151 - Dragging of 0-byte files results in an empty filename
4511         on Windows XP and above
4512
4513         * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
4514         being empty first. For some reason ISHellLink and IPersistFile
4515         succeeds in interpreting empty files as shortcuts, claiming the
4516         target of the shortcut is an empty path.
4517
4518         Change the function to take the wide character file name that the
4519         caller already has anyway, to avoid a superfluous conversion from
4520         UTF-8 to UTF-16.
4521
4522 2008-03-23  Björn Lindqvist  <bjourne@gmail.com>
4523
4524         * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
4525         against NULL pointer. (#467051, Gian Mario Tagliaretti)
4526
4527 2008-03-23  Cody Russell  <bratsche@gnome.org>
4528
4529         * gdk/win32/gdkevents-win32.c (show_window_recurse):
4530         Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
4531         ShowWindow (SW_RESTORE).  This fixes a problem where tearing off
4532         menus from a maximized window would force the window to restore
4533         its size. (#518846)
4534
4535 2008-03-23  Johan Dahlin  <johan@gnome.org>
4536
4537         * gtk/gtk-builder-convert:
4538         Properly convert GtkImageMenuItems which use stock labels but don't
4539         have any children.
4540         (#523932, Brian Pepple)
4541         
4542 2008-03-22  Matthew Barnes  <mbarnes@redhat.com>
4543
4544         * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
4545         New function implements GtkCellLayoutClass::get_cells.  (#523787)
4546
4547 2008-03-22  Tor Lillqvist  <tml@novell.com>
4548
4549         Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
4550
4551         * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
4552         GDK_THREADS_LEAVE() call. Approved by mclasen.
4553
4554 2008-03-22  Björn Lindqvist  <bjourne@gmail.com>
4555
4556         * gtk/gtkexpander.c (gtk_expander_get_label):
4557         gtk_label_get_label() should be used instead of
4558         gtk_label_get_text(). (#353088, Xan Lopez)
4559
4560 2008-03-21  Tor Lillqvist  <tml@novell.com>
4561
4562         Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
4563         Lachowicz and Alberto Ruiz into the GTK+ tree, from the
4564         gdip-pixbuf-loader module.
4565
4566         * configure.in: Add switch --disable-gdiplus-loaders that disables
4567         building of the GDI+ loaders.
4568
4569         When including loaders in the gdk-pixbuf library, and building
4570         GDI+ loaders, either build in all the GDI+ loaders or none of
4571         them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to
4572         signal building them in.
4573
4574         Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
4575         whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
4576         indicate whether they should be built-in.
4577         
4578         For the rest of the changes, see gdk-pixbuf/ChangeLog.
4579         
4580 2008-03-20  Tor Lillqvist  <tml@novell.com>
4581
4582         * gtk/Makefile.am: Revert accidental change that went in as part
4583         of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
4584         Darwin. On Windows one has to use a newer GNU grep that has -o,
4585         for instance the one from gnuwin32, instead of the oldish one in
4586         MSYS that doesn't have -o.
4587
4588 2008-03-20  Tor Lillqvist  <tml@novell.com>
4589
4590         * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
4591         pass NULL for %s to g_message().
4592         (main): Drop unnecessary call to gtk_widget_destroy().
4593
4594 2008-03-20  Tor Lillqvist  <tml@novell.com>
4595
4596         Bug 314084 - GTK+ dialogs should not be placed partially offscreen
4597
4598         * gtk/gtkwindow.c (clamp): New function. Clamps a window position
4599         in one dimension, or centered in case it doesn't fit.
4600         (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
4601         dimensions.
4602
4603 2008-03-18  Tor Lillqvist  <tml@novell.com>
4604
4605         Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
4606         
4607         * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
4608         G_MODULE_ENTRY decoration can be put in a more correct place.
4609
4610 2008-03-18  Sven Neumann  <sven@gimp.org>
4611
4612         * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
4613         alternative button order on the password dialog.
4614
4615 2008-03-18  Tor Lillqvist  <tml@novell.com>
4616
4617         Bug 99192 - Add --with-include-input-modules
4618
4619         * configure.in: Add --with-included-immodules switch. Handled in a
4620         similar way as the --with-included-loaders switch. For each input
4621         method module foo: Collect the list of input modules to be built
4622         into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
4623         -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
4624         Define Automake conditionals INCLUDE_IM_FOO.
4625
4626         * modules/input/Makefile.am: For modules to be included in libgtk,
4627         build a static library.
4628         
4629         * modules/input/im*.c: Use MODULE_ENTRY macros much like in
4630         gdk-pixbuf to get unique names for the functions called by libgtk
4631         in the included case. Use G_MODULE_EXPORT in the non-included case
4632         so that we don't unnecessarily export unneeded random global
4633         symbols on Windows.
4634
4635         * gtk/Makefile.am: Build the included modules and link them into libgtk.
4636
4637         * gtk/gtkimmodule.c: Handle the built-in modules. Remove
4638         copy/paste leftover mentions of "themes" in comments.
4639
4640 2008-03-18  Tor Lillqvist  <tml@novell.com>
4641
4642         * tests/Makefile.am: Build testmountoperation only on Unix for now.
4643
4644 2008-03-17  Christian Kellner  <gicmo@gnome.org>
4645
4646         Implement GtkMountOperation, a subclass of GMountOperation
4647         to be used with gio wherever there is the need to ask the
4648         user for credentials or questions while mounting a volume.
4649         This is bug #522245
4650
4651         * gtk/gtkmountoperation.c:
4652         * gtk/gtkmountoperation.h:
4653         Implement GtkMountOperation.
4654         
4655         * gtk/gtk.h: Add gtkmountoperation.h
4656         * gtk/Makefile.am: Add gtkmountoperation.[hc]
4657         * gtk/gtk.symbols: Add symbols of GtkMountOperation.
4658         * tests/testmountoperation.c: Test program for it.
4659         * tests/Makefile.am: Add testmountoperation.
4660
4661 2008-03-17  Emmanuele Bassi  <ebassi@gnome.org>
4662
4663         * gtk/gtkcontainer.c: Properly document
4664         gtk_container_set_focus_child(). (#521739, Andrew Cowie)
4665
4666 2008-03-16  Alberto Ruiz <aruiz@gnome.org>
4667
4668         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
4669         style names for the ComboBox thickness style
4670
4671 2008-03-16  Alberto Ruiz <aruiz@gnome.org>
4672
4673         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
4674         * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
4675         (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
4676         intelligent separation for the xp theming engine and the classic
4677         theme while drawing the GtkComboBox button.  combobox_draw_arrow
4678         is not used anymore, commented.  The style has been updated to fix
4679         border/thickness glitches in the combobox according to the fixes
4680         commited regarding bug #521442. (bug #461805)
4681
4682 2008-03-16  Alberto Ruiz <aruiz@gnome.org>
4683
4684         * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
4685         now aware of both the combobox and frame (if has-frame is set)
4686         thickness and border. (bug #521442)
4687
4688 2008-03-15  Andre Klapper  <a9016009@gmx.de>
4689
4690         * configure.in: Added "si" to ALL_LINGUAS.
4691
4692 2008-03-15  Matthias Clasen  <mclasen@redhat.com>
4693
4694         * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
4695         Set window type hint on the search popup.  (#522279, Danny Baumann)
4696
4697 2008-03-15  Matthias Clasen  <mclasen@redhat.com>
4698
4699         * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
4700         appropriate.  (#521934, Huang Peng)
4701
4702 2008-03-14  Michael Natterer  <mitch@imendio.com>
4703
4704         * gdk/gdkspawn.h
4705         * gtk/gtkbuilderprivate.h
4706         * gtk/gtkfilechoosersettings.c
4707         * gtk/gtksearchenginesimple.c
4708         * gtk/tests/liststore.c
4709         * gtk/tests/treestore.c: remove single-file includes of GLib
4710         headers or replace them by <glib.h> where needed.
4711
4712 2008-03-14  Michael Natterer  <mitch@imendio.com>
4713
4714         * gtk/gtkadjustment.c: coding style cleanup.
4715
4716         (gtk_adjustment_set_property): no need to call g_object_notify()
4717         on the set properties.
4718
4719         Implement GObject::dispatch_properties_changed() and make sure we
4720         emit "changed" when anything but the "value" property changes.
4721
4722 2008-03-14  Tor Lillqvist  <tml@novell.com>
4723
4724         * gdk/win32/gdkevents-win32.c: Drop the support for the
4725         MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
4726         Win95. Thanks to mitch for noticing this obsolete code.
4727
4728 2008-03-14  Cody Russell  <bratsche@gnome.org>
4729
4730         * examples/scribble-xinput/scribble-xinput.c: Changed
4731         'void int main()' to 'int main()'. (#522211, Liqing Huang)
4732         
4733 2008-03-14  Richard Hult  <richard@imendio.com>
4734
4735         * gdk/quartz/gdkwindow-quartz.c:
4736         (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
4737         only flush the toplevel once per update.
4738
4739 2008-03-13  Federico Mena Quintero  <federico@novell.com>
4740
4741         * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
4742         Set the mouse cursor of the feedback window to invisible, so that
4743         we respect GtkEntry's invisible cursor while typing.
4744
4745 2008-03-13  Federico Mena Quintero  <federico@novell.com>
4746
4747         * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
4748         the feedback window at entry_height/2 pixels to the right of the
4749         cursor, for a cheap "M-width / 2" spacing.
4750
4751 2008-03-13  Sven Neumann  <sven@gimp.org>
4752
4753         * gtk/gtkfilechooserdefault.c
4754         * gtk/gtkprintunixdialog.c: set alternative button order for
4755         overwrite confirmation dialogs (bug #522191).
4756
4757 2008-03-13  Sven Neumann  <sven@gimp.org>
4758
4759         * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
4760         (overwrite_confirmation_dialog): added some line-breaks for
4761         readability.
4762
4763 2008-03-12  Federico Mena Quintero  <federico@novell.com>
4764
4765         Rework the way completion works in GtkFileChooserEntry.  Fixes
4766         http://bugzilla.gnome.org/attachment.cgi?bugid=314873 - 
4767         Tab completion should work even if the cursor is not at the end of
4768         the entry.
4769
4770         * gtk/gtkfilechooserentry.c: Change the strategy by which we do
4771         completion.
4772
4773         We distinguish between two cases:
4774
4775                 - autocompletion - happens only in the Open modes by
4776                   inserting and selecting the common prefix as you type.
4777
4778                 - explicit completion - happens when you hit Tab.
4779
4780         When some type of completion needs to happen, the entry first
4781         parses its input and sees if it needs to initiate a folder load.
4782         Completion will not happen until the folder finishes loading.
4783
4784         If the folder is already completely loaded, then completion is
4785         performed immediately.  Otherwise, the entry queues a pending
4786         completion and starts loading the new folder (or waits until the
4787         current folder is completely loaded).
4788
4789         Tab completion is allowed to happen even if the cursor is not at
4790         the end of the entry.
4791
4792         There is a new feedback mechanism for explicit completion, so that
4793         you will get an Emacs-like tip whenever there are ambiguities in
4794         completion, no matches, etc.  (This needs to be polished so that
4795         we support RTL entries and all the fancy Pango layout in GtkEntry).
4796
4797         The only remaining thing to fix is the popup suggestion window.
4798         Unfortunately, GtkEntryCompletion does not let us do what we want,
4799         and will need further changes.
4800
4801 2008-03-12  Tor Lillqvist  <tml@novell.com>
4802
4803         Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
4804
4805         * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
4806         for the TaskbarCreated message in the window procedure for the
4807         dummy "tray observer" window we create. When we get a
4808         TaskbarCreated message, iterate over the status icons and re-add
4809         them to the task bar, and update them by calling
4810         gtk_status_icon_update_image().
4811
4812         Move some ifdefs around to avoid unused functions.
4813
4814 2008-03-12  Tor Lillqvist  <tml@novell.com>
4815
4816         * config.h.win32.in: Update to match what configure produces.
4817
4818 2008-03-12  Jens Granseuer  <jensgr@gmx.net>
4819
4820         * modules/printbackends/cups/gtkprintbackendcups.c:
4821         (cups_printer_prepare_for_print): Don't define variables in the
4822         middle of a block. (#522067)
4823
4824 2008-03-12  Matthias Clasen  <mclasen@redhat.com>
4825
4826         * gtk/gtkprintunixdialog.c: Add an overwrite confirmation 
4827         dialog for print-to-file.  (#474302, Marek Kašík)
4828
4829 2008-03-12  Matthias Clasen  <mclasen@redhat.com>
4830
4831         * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
4832         (#469210, Wouter Bolsterlee)
4833
4834 2008-03-12  Matthias Clasen  <mclasen@redhat.com>
4835
4836         * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak 
4837         paper_size here.  (#488820, Morten Welinder)
4838
4839 2008-03-12  Michael Natterer  <mitch@imendio.com>
4840
4841         * acconfig.h: remove this deprecated file.
4842
4843         * configure.in: added comments to all instances of AC_DEFINE() so
4844         config.h can be completely generated from configure.in.
4845
4846 2008-03-12  Michael Natterer  <mitch@imendio.com>
4847
4848         * modules/printbackends/cups/gtkprintbackendcups.c: include
4849         <glib/gstdio.h> for g_fopen().
4850
4851 2008-03-11  Matthias Clasen  <mclasen@redhat.com>
4852
4853         * modules/printbackends/cups/gtkprintbackendcups.c: Use
4854         g_ascii_formatd when formatting custom paper sizes, since
4855         cups doesn't handle , as decimal separator.  (#521548)
4856
4857 2008-03-11  Tor Lillqvist  <tml@novell.com>
4858
4859         Bug 469868 - Filenames with colon ":" are not saved correctly
4860
4861         * gtk/gtkfilechooserentry.c (insert_text_callback)
4862         (delete_text_callback) [Win32]: New functions to make sure that
4863         colons used otherwise than as a separator after a drive letter, or
4864         characters that are always illegal in file names, are rejected on
4865         input. This means that the GTK+ file chooser can't be used to
4866         input full names of alternate data streams, but oh well. There are
4867         still more checks that could be done on the file names, see the
4868         bug report. But this will do for now.
4869         (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
4870
4871 2008-03-11  Jordi Mallach  <jordi@sindominio.net>
4872
4873         * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
4874
4875 2008-03-11  Michael Natterer  <mitch@imendio.com>
4876
4877         * gdk/linux-fb/*: removed linux-fb backend files.
4878
4879         * acconfig.h
4880         * config.h.win32.in
4881         * docs/README.linux-fb
4882         * gtk/Makefile.am: remove remaining traces of linux-fb.
4883
4884         * gtk/gtkwindow-decorate.c: same here. There is some code that
4885         calls into linux-fb to set window move/resize callbacks. I put it
4886         in #if 0 as a reminder because we did use decorated windows with
4887         the DirectFB backend and it did work, so I don't really know why
4888         this code is needed or how it could work with DirectFB back then.
4889         The file does actually compile now if DECORATE_WINDOWS is defined,
4890         but I didn't test with DirectFB to check if it does anything.
4891
4892 2008-03-11  Alberto Ruiz  <aruiz@gnome.org>
4893
4894         * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
4895         Take thickness into account in the size allocation of the child widgets in
4896         list mode.
4897         Fixes #521442
4898
4899 2008-03-11  Richard Hult  <richard@imendio.com>
4900
4901         * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
4902
4903 2008-03-10  Tor Lillqvist  <tml@novell.com>
4904
4905         * tests/teststatusicon.c (do_exit, popup_menu): Add the
4906         possibility to test what happens if the process just calls exit()
4907         without any orderly cleanup of GTK+.
4908
4909 2008-03-10  Tor Lillqvist  <tml@novell.com>
4910
4911         * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
4912
4913 2008-03-10  Tor Lillqvist  <tml@novell.com>
4914
4915         Bug 520286 - Non-deletable window has no minimize / maximize buttons
4916
4917         * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
4918         New debugging output function that decodes a set of WS_* bits.
4919
4920         * gdk/win32/gdkprivate-win32.h: Declare it.
4921
4922         * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
4923         New function that enables or disables one menu entry in the system
4924         menu of a top-level window. (The corresponding decoration will
4925         then also be enabled or disabled (grayed).)
4926
4927         (update_style_bits): Do as the comment says and don't try to
4928         update the window style based on the GdkWMFunctions set for the
4929         window.
4930                    
4931         (update_system_menu): New function that enables or disables the
4932         system menu entries based on a window's stored set of
4933         GdkWMFunctions.
4934
4935         (gdk_window_set_functions): Call update_system_menu() instead of
4936         update_style_bits().
4937
4938 2008-03-10  Emmanuele Bassi  <ebassi@gnome.org>
4939
4940         * README.in: Reword the 2.14 release notes entry about the
4941         deprecation of the gtkitemfactory.h header, and fix typos
4942         and grammar.
4943
4944 2008-03-08  Alberto Ruiz  <aruiz@gnome.org>
4945
4946         * modules/engines/ms-windows/msw_style.c (draw_shadow):
4947         Do not draw frame if parent if combobox.
4948         (draw_box):
4949         Uses scrollbar width system metrics for combobox button.
4950         Fixes #461805 for XP theme engine.
4951
4952 2008-03-07  Johan Dahlin  <johan@gnome.org>
4953
4954         * gtk/gtkbuilder.c:
4955         * gtk/gtkbuilderparser.c:
4956         * gtk/gtkbuilderprivate.h:
4957         * gtk/gtkiconfactory.c:
4958         * tests/buildertest.c:
4959         - Treat enums like enums and not values
4960         - Avoid invalid free, in case of more than two sources
4961         - Add better error messages
4962         - Add much improved tests
4963         (#520979, Christian Persch)
4964
4965 2008-03-07  Carlos Garnacho  <carlos@imendio.com>
4966
4967         * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
4968         Fix build.
4969
4970 2008-03-06  Federico Mena Quintero  <federico@novell.com>
4971
4972         Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
4973         GtkFileChooserDialog should set a default response button if the
4974         app doesn't set it.  Based on a patch by Chris Wang <chris.wang@sun.com>.
4975
4976         * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
4977         function, refactor from where there was duplicated code.
4978         (gtk_file_chooser_dialog_map): Look at the buttons in our
4979         action_area.  If the response ID for a button is one of the stock
4980         ones, make it the default response button.
4981
4982 2008-03-06  Johan Dahlin  <jdahlin@async.com.br>
4983
4984         * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
4985         * gtk/gtkbuilder.c:
4986         * gtk/gtkbuilderprivate.h:
4987         * gtk/gtkiconfactory.c:
4988         * tests/buildertest.c:
4989         Implement GtkBuildable on GtkIconFactory, to make
4990         it possible to register custom stock icons.
4991         Fixes #517066
4992
4993 2008-03-06  Johan Dahlin  <johan@gnome.org>
4994
4995         Make gtk-doc happy:
4996         
4997         * gtk/gtkstyle.c: npoints->n_points.
4998         * gtk/gtktestutils.h: widget->spinner
4999         * gtk/gtktestutils.c: argc->argcp, argv->argvp
5000
5001 2008-03-06  William Lachance <wrlach@gmail.com>
5002
5003         * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M" 
5004         string localizable (as it should be). 
5005
5006 2008-03-06  William Lachance <wrlach@gmail.com>
5007
5008         * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
5009         the time for today's date. It's redudant. (see bug #410517).
5010
5011 2008-03-06  Xan Lopez  <xan@gnome.org>
5012
5013         * gtk/gtkfixed.c: fix typo in documentation.
5014
5015 2008-03-06  Johan Dahlin  <jdahlin@async.com.br>
5016
5017         * gtk/gtkitemfactory.h:
5018         * gtk/gtktypeutils.h:
5019         Move GtkTranslateFunc to gtktypeutils.h so we can completely
5020         deprecate gtkitemfactory.h. 
5021
5022         * gtk/gtkactiongroup.h:
5023         * gtk/gtkstock.h:
5024         Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
5025
5026         * README.in: 
5027         Add a note describing this slight incompatible change
5028         
5029 2008-03-06  Johan Dahlin  <johan@gnome.org>
5030
5031         * gtk/gtkpreview.h: Avoid double-deprecation.
5032
5033 2008-03-06  Michael Natterer  <mitch@imendio.com>
5034
5035         * gtk/gtk.h
5036         * gtk/Makefile.am: move the remaining deprecated widgets to the
5037         separate sections and replaced spaces by tabs in Makefile.am
5038
5039 2008-03-05  Johan Dahlin  <johan@gnome.org>
5040
5041         * configure.in: Add --disable-cups option.
5042         (#513826, Alberto Ruiz)
5043
5044         * gtk/gtk.h: 
5045         * gtk/Makefile.am:
5046         Separate broken and deprecated sources and headers into different sections
5047
5048         * tests/buildertest.c (test_list_store): Restore accidentally broken test.
5049
5050 2008-03-05  Kristian Rietveld  <kris@imendio.com>
5051
5052         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
5053         short-circuit in case an empty root level would be build (and thus
5054         directly destroyed) if no virtual root has been set.
5055
5056 2008-03-04  Matthias Clasen  <mclasen@redhat.com>
5057
5058         * modules/printbackends/cups/gtkprintbackendcups.c: 
5059         Honor cups user default options from ~/.cups/lpoptions
5060         (#469210, Stijn Hoop)
5061
5062 2008-03-04  Michael Natterer  <mitch@imendio.com>
5063
5064         * gtk/gtkcellview.c
5065         * gtk/gtkcolorbutton.c
5066         * gtk/gtkentrycompletion.c
5067         * gtk/gtkfontbutton.c
5068         * gtk/gtkiconview.c
5069         * gtk/gtkobject.c
5070         * gtk/gtkpaned.c
5071         * gtk/gtkpreview.c: don't include "gtksignal.h".
5072
5073         * gtk/gtkfilefilter.c
5074         * gtk/gtkrecentchoosermenu.c
5075         * gtk/gtkrecentfilter.c
5076         * gtk/gtktext.c: don't include "gtkobject.h".
5077
5078 2008-03-04  Simos Xenitellis  <simos@gnome.org>
5079
5080         Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
5081         - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
5082         
5083         * gdk/gdkkeysyms.h: Updated file from upstream (using script from 
5084         same directory).
5085         
5086         * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New 
5087         file, contains compose sequences that used to exist in 
5088         gtk/gtkimcontextsimple.c
5089
5090         * gtk/compose-parse.py: Script to generate compose 
5091         sequences from upstream (Xorg).
5092
5093         * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table, 
5094         check_algorithmically): New functions. First two search in
5095         gtk_compose_seqs_compact[] for matching compose sequence, third
5096         tries NFC normalisation on incoming compose sequence.
5097         (gtk_im_context_simple_filter_keypress): 
5098         Adds searching with check_compact_table(), check_algorithmically().
5099
5100 2008-03-03  Carlos Garnacho  <carlos@imendio.com>
5101
5102         Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
5103         scrollwheel work in GtkPathBar.
5104
5105         * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
5106
5107         * gtk/gtkpathbar.c (gtk_path_bar_realize): New function.  Create
5108         an input-only window, event_window, which we'll use to capture
5109         scroll events.
5110         (gtk_path_bar_map): Show the event_window under the rest of the
5111         windows, so it will be a catch-all for unhandled events.
5112
5113 2008-03-03  Sven Neumann  <sven@gimp.org>
5114
5115         * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
5116         typo in the documentation of the GtkFileChooserButtons::file-set
5117         signal (see bug #353196).
5118
5119 2008-03-03  Tor Lillqvist  <tml@novell.com>
5120
5121         * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
5122         location.
5123
5124 2008-03-02  Johan Dahlin  <johan@gnome.org>
5125
5126         * gtk/gtkiconview.c (gtk_icon_view_paint_item): 
5127         Remove left-over focus_pad variable.
5128         (#490892, Claudio Saavedra)
5129
5130         * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
5131         (#518166, Matt Kraai)
5132
5133 2008-03-02  Johan Dahlin  <johan@gnome.org>
5134
5135         * docs/tutorial/gtk-tut.sgml: Add a missing space
5136         (#517954, Matt Kraai)
5137
5138 2008-03-03  Tor Lillqvist  <tml@novell.com>
5139
5140         * modules/engines/ms-windows/msw_style.c (draw_box): Check that
5141         the widget is a GtkButton before casting.
5142
5143 2008-03-02  Johan Dahlin  <johan@gnome.org>
5144
5145         * configure.in: Compare using = instead of ==, which is portable.
5146         (#490787, Thomas Klausner)
5147
5148 2008-03-02  Johan Dahlin  <johan@gnome.org>
5149
5150         * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
5151         fixes non-C++ build.
5152         (#496032, Nelson Benitez)
5153
5154 2008-02-29  Johan Dahlin  <johan@gnome.org>
5155
5156         * demos/gtk-demo/demo.ui:
5157         * gtk/gtkbuilderparser.c:
5158         * gtk/gtkbuilderprivate.h:
5159         * gtk/gtkliststore.c:
5160         * tests/buildertest.c:
5161         Add translatable/context and comment attributes on
5162         <col> tags under a GtkListStore. Refactor parts of the
5163         translation api and make it available inside gtk+ itself.
5164         Update tests and example.
5165         Fixes a part of #518642
5166
5167 2008-02-29  Johan Dahlin  <johan@gnome.org>
5168
5169         * gtk/gtkbuilder.c:
5170         Add missing g_return_val_if_fail checks for public API.
5171
5172         * gtk/gtkbuilderparser.c:
5173         * gtk/gtkbuilderprivate.h:
5174         Do not use g_error for a few more errors, instead set
5175         the GError sent in through add_from_file/add_from_string.
5176         * tests/buildertest.c:
5177         Add a couple of new parsing tests.
5178         (#519199, Pavel Syomin)
5179
5180 2008-02-29  Federico Mena Quintero  <federico@novell.com>
5181
5182         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
5183         refreshing an existing folder (i.e. when we are about to reload
5184         its file list), turn off the folder's is_finished_loading flag.
5185         Otherwise callers which do ::is_finished_loading() followed by
5186         ::list_children() will get nothing.
5187
5188 2008-02-29  Cody Russell  <bratsche@gnome.org>
5189
5190         * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
5191         say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
5192
5193 2008-02-28  Matthias Clasen  <mclasen@redhat.com>
5194
5195         * gtk/gtkcalendar.h: Remove trailing comma from enum to
5196         make the compiler happy.  (#517295, Sylvain Pasche)
5197
5198 2008-02-27  Michael Natterer  <mitch@imendio.com>
5199
5200         * gtk/gtkmenushell.c
5201         * gtk/gtktable.c
5202         * gtk/gtktext.c
5203         * gtk/gtktipsquery.c
5204         * gtk/gtktoolbar.c
5205         * gtk/gtktreeitem.c
5206         * gtk/gtktreeview.c
5207         * gtk/gtkviewport.c
5208         * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
5209         private functions and virtual function implementations.
5210
5211 2008-02-27  Richard Hult  <richard@imendio.com>
5212
5213         * gdk/quartz/GdkQuartzView.c:
5214         * gdk/quartz/GdkQuartzView.h:
5215         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
5216         Fix performance regression for borderless transparent windows
5217         with shadow.
5218
5219 2008-02-27  Emmanuele Bassi  <ebassi@gnome.org>
5220
5221         * tests/testgtk.c: Revert back to r19454.
5222
5223 2008-02-27  Sven Neumann  <sven@gimp.org>
5224
5225         * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
5226         Quartz backend, use a native Mac OS X application for the print
5227         preview (bug #518624).
5228
5229 2008-02-26  Michael Natterer  <mitch@imendio.com>
5230
5231         * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
5232         the members of info->tag_stack since they are a) gobjects and b)
5233         not even owned by us, ugh... Fixes crash when deserializing fails.
5234
5235 2008-02-26  Sven Neumann  <sven@gimp.org>
5236
5237         * docs/tools/shooter.c (find_toplevel_window)
5238         * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
5239         argument passed to XQueryTree().
5240
5241 2008-02-25  Matthias Clasen  <mclasen@redhat.com>
5242
5243         * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
5244         don't use beagle_query_add_hit_type.
5245
5246 2008-02-25  Richard Hult  <richard@imendio.com>
5247
5248         * gdk/quartz/gdkevents-quartz.c
5249         (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
5250
5251 2008-02-24  Richard Hult  <richard@imendio.com>
5252
5253         * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
5254         shown without gdk's control when clicking the dock icon.
5255
5256 2008-02-24  Richard Hult  <richard@imendio.com>
5257
5258         * gdk/quartz/gdkprivate-quartz.h:
5259         * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
5260         Use the subtype field for the custom event that is used to wake up
5261         the mainloop so we can have other custom event types.
5262
5263         * gdk/quartz/gdkevents-quartz.c:
5264         (_gdk_quartz_events_trigger_crossing_events):
5265         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
5266         crossing events after showing a window if necessary, to work
5267         around problems with the tracking rect API.
5268
5269 2008-02-22  Dominic Lachowicz  <domlachowicz@gmail.com>
5270
5271         * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives 
5272         wrong results on win32 because it doesn't set the printing units, 
5273         which affect the transformation of the cairo context 
5274         (#347125, Erik van Pienbroek)
5275
5276 2008-02-22  Tor Lillqvist  <tml@novell.com>
5277
5278         * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
5279
5280 2008-02-22  Dominic Lachowicz  <domlachowicz@gmail.com>
5281
5282         * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
5283         acceptable for a module to only support the save_to_callback()
5284         method if it marks itself as WRITABLE
5285
5286 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
5287         
5288         * configure.in: Bump version
5289
5290 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
5291
5292         * === Released 2.13.0 ===
5293
5294         * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
5295
5296 2008-02-21  Tor Lillqvist  <tml@novell.com>
5297
5298         * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
5299         pass the format string to strftime in the C library's locale's
5300         charset, not the system's. Correspondingly, the return value from
5301         strftime() is in the C library's locale's charset. (#509885)
5302
5303 2008-02-20  Richard Hult  <richard@imendio.com>
5304
5305         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
5306         the right window level and shadow after recreating the window.
5307
5308         * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
5309         necessary after drawing (bug #517338).
5310
5311 2008-02-20  Marc-Andre Lureau  <marcandre.lureau@gmail.com>
5312
5313         * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
5314         call to g_type_class_unref in case of error. (#517563)
5315
5316 2008-02-18  Sven Neumann  <sven@gimp.org>
5317
5318         * gtk/Makefile.am (STOCK_ICONS)
5319         * gtk/stock-icons/16/gtk-page-setup.png
5320         * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
5321         taken from GNOME icon theme.
5322
5323         * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
5324
5325 2008-02-18  Runa Bhattacharjee <runabh@gmail.com>
5326
5327         * configure.in: Added Kannada (kn) to ALL_LINGUAS
5328
5329 2008-02-17  Johan Dahlin  <johan@gnome.org>
5330
5331         * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem): 
5332         When converting a stock item based on the label, remove the label property.
5333
5334 2008-02-17  Richard Hult  <richard@imendio.com>
5335
5336         * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
5337         position after showing the window since the window manager might
5338         not place it where we requested in the first places.
5339
5340 2008-02-17  Richard Hult  <richard@imendio.com>
5341
5342         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
5343         (_gdk_quartz_window_detach_from_parent),
5344         (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
5345         the toplevel ordering list in all places where the order is
5346         potentially changed. Fixes mouse focus issues for windows with
5347         a transient parent set.
5348
5349 2008-02-17  Richard Hult  <richard@imendio.com>
5350
5351         * gdk/quartz/gdkevents-quartz.c
5352         (_gdk_quartz_events_update_mouse_window): Highlight the mouse
5353         window when event debugging is enabled.
5354
5355 2008-02-16  Richard Hult  <richard@imendio.com>
5356
5357         * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
5358         to the scroll event (bug #516757, Paul Davis).
5359
5360 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
5361
5362         * NEWS: Updates
5363
5364 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
5365
5366         * gtk/gtklinkbutton.c: Show the URI in a tooltip.  (#505480,
5367         Teppo Turtiainen)
5368
5369 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
5370
5371         * gdk/Makefile.am: Don't install private headers. (#463510)
5372
5373         * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
5374         the installed header gdkprivate.h.
5375
5376 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
5377
5378         * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
5379         a crash with hidden, reorderable tabs.  (#513230, 
5380         Mike Massonnet, patch by Carlos Garnacho)
5381
5382 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
5383
5384         * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
5385         Warn on duplicate action group names.  (#501746, Christian
5386         Persch)
5387
5388 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
5389
5390         * gtk/Makefile.am:
5391         * modules/other/gail/tests/Makefile.am:
5392         * modules/other/gail/libgail-util/Makefile.am:
5393         * modules/other/gail/Makefile.am: Fix builddir!=srcdir
5394         builds.  (#516254,  Yevgen Muntyan)
5395
5396 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
5397
5398         * gtk/gtkentry.c:
5399         * gtk/gtkfilesel.c:
5400         * gtk/gtklabel.c:
5401         * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets 
5402         instead of hardcoded target tables.  (#516092, Christian Persch)
5403
5404 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
5405
5406         * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
5407         add the same target atom twice.  (#516087, Christian Persch)
5408
5409 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
5410
5411         * tests/testfilechooser.c: Add a --backend option.
5412         (#516073, Christian Persch)
5413
5414 2008-02-16  Richard Hult  <richard@imendio.com>
5415
5416         * gdk/quartz/gdkprivate-quartz.h:
5417         * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
5418         gdkwindow.
5419
5420 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
5421
5422         * configure.in: Go back to 2.13.0 as version for now,
5423         as there was no consensus to do the jump.
5424
5425         * many other places: Update Since: tags.
5426
5427 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
5428
5429         * gtk/gtk.symbols: Add gtk_tool_shell_get_type
5430
5431         * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
5432
5433 2008-02-15  Richard Hult  <richard@imendio.com>
5434
5435         * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
5436         instead of bounds when resizing windows.
5437
5438 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
5439
5440         * gdk/x11/gdkkeys-x11.c:
5441         * gdk/x11/gdkcolor-x11.c:
5442         * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
5443
5444 2008-02-15  Matthias Clasen <mclasen@redhat.com>
5445
5446         * gdk/x11/gdktestutils-x11.c:
5447         * gdk/x11/gdkscreen-x11.c: Documentation fixes.
5448
5449 2008-02-15  Tor Lillqvist  <tml@novell.com>
5450
5451         * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
5452         leak Registry key handles. (#516578)
5453
5454 2008-02-14  Richard Hult  <richard@imendio.com>
5455
5456         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
5457         makeKeyWindow unfortunately doesn't work in all cases, we must use
5458         makeKeyAndOrderFront.
5459
5460 2008-02-14  Richard Hult  <richard@imendio.com>
5461
5462         * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
5463         (gdk_window_hide), (gdk_window_fullscreen),
5464         (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
5465         the window is hidden.
5466
5467 2008-02-14  Richard Hult  <richard@imendio.com>
5468
5469         * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
5470         resizing to be consistent and to avoid introducing an internal
5471         transform in the view.
5472
5473 2008-02-14  Richard Hult  <richard@imendio.com>
5474
5475         * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
5476         fix.
5477
5478 2008-02-14  Johan Dahlin  <johan@gnome.org>
5479
5480         * gdk/gdktestutils.h
5481         * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
5482
5483 2008-02-13  Richard Hult  <richard@imendio.com>
5484
5485         * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
5486         Remove unused variables.
5487         (gtk_clipboard_set_contents),
5488         (gtk_clipboard_get_owner), (clipboard_unset),
5489         (gtk_clipboard_request_targets): Notify the previous clipboard
5490         owner when the owner changes. Fixes bug #493406.
5491         
5492 2008-02-13  Richard Hult  <richard@imendio.com>
5493
5494         * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
5495         the return value (return number of colors that failed), and handle
5496         RGBA colormap.
5497         (gdk_colormap_free_colors): Fix typo in comment.
5498
5499 2008-02-13  Kristian Rietveld  <kris@imendio.com>
5500
5501         * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
5502         queue a redraw if the rubber banding has actually been active.
5503
5504 2008-02-12  Matthias Clasen  <mclasne@redhat.com>
5505
5506         * gtk/gtkpapersize.c:
5507         * gtk/gtkprintoperation.c:
5508         * gtk/gtkvolumebutton.c:
5509         * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
5510         out by Behdad Esfahbod.
5511
5512 2008-02-12  Federico Mena Quintero  <federico@novell.com>
5513
5514         Merged from gtk-2-12:
5515
5516         Don't focus the file list when shortcuts get activated.  This
5517         removes a lot of ambiguity in when the file selection should
5518         change, and makes the overall code flow simpler.
5519
5520         This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
5521         file/save dialog clears the filename entry when changing
5522         directories.
5523
5524         Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
5525         focus should not go to the file list when a shortcut is activated.
5526
5527         * gtk/gtkfilechooserdefault.c
5528         (shortcuts_activate_volume_mount_cb): Don't focus the file list
5529         (shortcuts_activate_get_info_cb): Likewise.
5530
5531         * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
5532         the file list (this was the last place where we would focus the
5533         file list explicitly).  If you are in the location entry, for
5534         example, you don't want Alt-Home to take you to the file list; you
5535         just want the current folder to change.  Thanks to Olle Bergkvist
5536         <olle.bergkvist@yahoo.se> for pointing this out in
5537         http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
5538         (focus_browse_tree_view_if_possible): Removed.
5539
5540 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
5541
5542         Skip exensions when selecting filenames in the save-as dialog.
5543         (#362516, Carlos Garnacho)
5544
5545         * gtk/gtkfilechooserentry.h:
5546         * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
5547         New function to skip the extension part when selecting a filename.
5548         (_gtk_file_chooser_entry_set_base_folder): Use it here.
5549
5550         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
5551         ...and here.
5552
5553 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
5554
5555         * gtk/gtkiconview.c: Fix state change reporting for 
5556         accessibility.  (#499835, Rich Burridge, patch by LiYan Zhang)
5557
5558 2008-02-12  Emmanuele Bassi  <ebassi@gnome.org>
5559
5560         * gtk/gtkrecentchooser.c:
5561         (gtk_recent_chooser_class_init): Set the default value of the
5562         :show-not-found property to TRUE, as every implementation sets
5563         it to TRUE already.
5564
5565         * gtk/gtkrecentchooserdefault.c:
5566         (_gtk_recent_chooser_default_init): Sync show_tips to the
5567         default value of the :show-tips property.
5568
5569 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
5570
5571         * gtk/gtkclipboard-quartz.c:
5572         * gtkquartz.c:
5573         * gtkselection.c: Use GSlice for GtkSelectionData.  (#515060,
5574         Christian Persch)
5575
5576 2008-02-12  Kristian Rietveld  <kris@imendio.com>
5577
5578         * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
5579         (gtk_tree_view_real_toggle_cursor_row): guard against people
5580         deleting the row in question in the selection-changed callback.
5581         (#514621, Andreas Koehler).
5582
5583 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
5584
5585         * gtk/*.c: Unify the handling of various "Enter" keysyms
5586         all over the place.  (#515047, Christian Persch)
5587
5588 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
5589
5590         * gtk/gtkfilesystemmodel.c:
5591         * gtk/gtkprinter.c:
5592         * gtk/gtkwidget.c: Use g_value_set_static_string() where 
5593         appropriate.  (#515042, Christian Persch)
5594
5595 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
5596
5597         * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
5598         
5599 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
5600
5601         * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
5602
5603 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
5604
5605         * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
5606         (recent_model_sort_drag_data_get):
5607         (search_model_sort_drag_data_get):
5608         * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
5609         * gtk/gtkpathbar.c (button_drag_data_get_cb):
5610         Use gtk_selection_data_set_uris() instead of doing it
5611         by hand.  (#514890, Christian Persch)
5612
5613 2008-02-12  Michael Natterer  <mitch@imendio.com>
5614
5615         * gtk/gtkstatusicon.c: #include "gtkmain.h" for
5616         gtk_get_current_event_time().
5617
5618 2008-02-12  Michael Natterer  <mitch@imendio.com>
5619
5620         * gtk/gtkwindow.c (gtk_window_activate_key): simply use
5621         gtk_window_get_key_hash() to get the hash instead of manually
5622         fiddling with quarks and gtk_window_keys_changed(). Also add
5623         g_return_if_fail() to this public function.
5624
5625 2008-02-11  Matthias Clasen  <mclasen@redhat.com>
5626
5627         Support keynav in status icons.  (#473786, Li Yuan)
5628
5629         * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
5630
5631         * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
5632
5633 2008-02-11  Kristian Rietveld  <kris@imendio.com>
5634
5635         * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
5636         * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
5637         wrt. link deletion from list; contination of fix for #503569.
5638
5639 2008-02-11  Emmanuele Bassi  <ebassi@gnome.org>
5640
5641         * gtk/gtkrecentchoosermenu.c:
5642         (gtk_recent_chooser_menu_constructor): Set no-show-all flag
5643         on the placeholder menu item.
5644
5645         * tests/testrecentchoosermenu.c:
5646         (create_recent_chooser_menu): Use gtk_widget_show_all() to test
5647         whether the placeholder menu item gets shown.
5648
5649 2008-02-10  Cody Russell  <bratsche@gnome.org>
5650
5651         * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
5652         Check the return value of _gtk_file_chooser_get_file_system () for
5653         NULL before passing it to gtk_file_system_path_to_uri ().
5654         (#515667, Francesco Montorsi)
5655
5656 2008-02-10  Philip Withnall  <pwithnall@svn.gnome.org>
5657
5658         * gtk/gtkbuilder.c: Improve the documentation for
5659         gtk_builder_connect_signals. (#514471)
5660
5661 2008-02-10  Matthias Clasen  <mclasen@redhat.com>
5662
5663         * gtk/gtkrecentaction.c: Propagate local-only.  (#511987, 
5664         Jonh Wendell)
5665
5666 2008-02-08  Cody Russell  <bratsche@gnome.org>
5667
5668         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
5669         Removed an extra semicolon.  (#515219, reported by Kazuki IWAMOTO)
5670
5671 2008-02-08  Richard Hult  <richard@imendio.com>
5672
5673         * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
5674         delta from the NSEvent for now, generating multiple scroll events
5675         results in a lot of events getting queued up and things get really
5676         slow.
5677
5678 2008-02-08  Sven Herzberg  <sven@imendio.com>
5679
5680         Adjust the code to match the documentation, examples, "common sense"
5681         and existing applications.
5682
5683         * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
5684         that a GtkMenu for a <popup> element doesn't have to have a GtkAction
5685         assigned
5686
5687 2008-02-07  Cody Russell  <bratsche@gnome.org>
5688
5689         * gdk/win32/gdkevents-win32.c
5690         * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
5691         of a block that were causing compile problems on old
5692         compilers. (#515053, reported by Kazuki IWAMOTO)
5693         
5694 2008-02-07  Michael Natterer  <mitch@imendio.com>
5695
5696         * gtk/gtkcellview.c
5697         * gtk/gtklabel.c
5698         * gtk/gtklayout.c
5699         * gtk/gtklist.c
5700         * gtk/gtkmenu.c
5701         * gtk/gtkmenushell.c
5702         * gtk/gtkmisc.c
5703         * gtk/gtkoptionmenu.c
5704         * gtk/gtkplug.c
5705         * gtk/gtkpreview.c
5706         * gtk/gtkprogress.c
5707         * gtk/gtkradiomenuitem.c
5708         * gtk/gtkscale.c
5709         * gtk/gtkscrolledwindow.c
5710         * gtk/gtksocket.c: remove g_return_if_fail() from private
5711         functions and virtual function implementations.
5712
5713 2008-02-07  Michael Natterer  <mitch@imendio.com>
5714
5715         * gtk/gtkaction.c
5716         * gtk/gtkassistant.c
5717         * gtk/gtkbin.c
5718         * gtk/gtkbox.c
5719         * gtk/gtkcalendar.c
5720         * gtk/gtkcellrenderercombo.c
5721         * gtk/gtkcombobox.c
5722         * gtk/gtkcombo.c
5723         * gtk/gtkdrawingarea.c
5724         * gtk/gtkentrycompletion.c
5725         * gtk/gtkfixed.h
5726         * gtk/gtkgamma.c
5727         * gtk/gtkhpaned.c
5728         * gtk/gtkiconview.c
5729         * gtk/gtkitem.c
5730         * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
5731         functions and virtual function implementations.
5732
5733 2008-02-07  Christian Persch  <chpe@gnome.org>
5734
5735         * gdk/gdkpixbuf-render.c:
5736         (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
5737         alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
5738         otherwise there will be random pixel values in the semi-transparent
5739         area of the pixbuf within the mask. Bug #487865.
5740
5741 2008-02-06  Cody Russell  <bratsche@gnome.org>
5742
5743         * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
5744         otherwise things get wonky when you click on a menu.  This fixes
5745         a regression caused in #505928.  Thanks to Tor for spotting this
5746         one!  (#514789)
5747
5748 2008-02-06  Michael Natterer  <mitch@imendio.com>
5749
5750         * gtk/gtkcontainer.c
5751         * gtk/gtkexpander.c
5752         * gtk/gtkframe.c
5753         * gtk/gtklabel.c
5754         * gtk/gtkmain.c
5755         * gtk/gtkmenu.c
5756         * gtk/gtkmenuitem.c
5757         * gtk/gtkmenushell.c
5758         * gtk/gtknotebook.c
5759         * gtk/gtkseparatortoolitem.c
5760         * gtk/gtksocket.c
5761         * gtk/gtktextlayout.c
5762         * gtk/gtktoggletoolbutton.c
5763         * gtk/gtktoolbutton.c
5764         * gtk/gtktoolitem.c
5765         * gtk/gtktree.c
5766         * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
5767         "GTK_IS_FOO (foo)".
5768
5769 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
5770
5771         * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
5772         Allow to store half-open ranges.
5773
5774 2008-02-05  Cody Russell  <bratsche@gnome.org>
5775
5776         * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
5777         down the stack until we get to a window that is mapped.
5778         Otherwise hiding a window will cause all windows in the app
5779         to be blocked. (#514643)
5780
5781 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
5782
5783         * gtk/updateiconcache.c: Ignore images in the toplevel theme
5784         directory, avoiding one source of invalid caches that has been
5785         spotted in the wild.
5786
5787 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
5788
5789         * gtk/updateiconcache.c: Fix the previous commit to compile.
5790
5791 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
5792
5793         * gtk/updateiconcache.c: Install a printerr handler that
5794         prepends the program name, since gtk-update-icon-cache output
5795         often appears in the middle of other output, e.g. rpm update logs.
5796
5797 2008-02-05  Cody Russell  <bratsche@gnome.org>
5798
5799         * gdk/win32/gdkprivate-win32.h
5800         * gdk/win32/gdkevents-win32.c
5801         * gdk/win32/gdkwindow-win32.c
5802         * gdk/win32/gdkwindow-win32.h
5803         * gdk/win32/gdkwin32.h:
5804         Modal window rework.  (#455627 and #511111)
5805
5806 2008-02-04  Michael Natterer  <mitch@imendio.com>
5807
5808         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
5809         g_return_if_fail() if the cell is not part of the combo instead of
5810         crashing in the next line.
5811
5812 2008-02-01  Cody Russell  <cody@jhu.edu>
5813
5814         * modules/engines/ms-windows/xp_theme.[ch]
5815         * modules/engines/ms-windows/xp_theme_defs.h
5816         * modules/engines/ms-windows/msw_rc_style.c
5817         * modules/engines/ms-windows/msw_theme_main.c
5818         * modules/engines/ms-windows/msw_style.c: Re-indented and generally
5819         attempted to stylize more like the rest of the gtk+ stack's code.
5820
5821 2008-02-01  Michael Natterer  <mitch@imendio.com>
5822
5823         * tests/testgtk.c: initialize GdkColor structs to fix warning
5824         about uninitialized "pixel" member.
5825
5826         * tests/testactions.c: connect the toolbar_style() callback so it
5827         does something useful and doesn't warn about being defined but not
5828         used.
5829
5830 2008-01-31  Cody Russell  <bratsche@gnome.org>
5831
5832         * gdk/win32/gdkevents-win32.c:
5833         Refactored some of the window hiding/showing code from
5834         WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND.  Having this
5835         under WM_ACTIVATE was causing the application to go into
5836         a weird state when the user right-clicked on the taskbar
5837         entry of a window that was minimized.  (#505928)
5838         
5839 2008-01-31  Cody Russell  <bratsche@gnome.org>
5840
5841         * gtk/gtkpaned.c (gtk_paned_set_position):
5842         Change queue_resize() to queue_draw(), and add a check for
5843         child2 != NULL in case someone calls this before there is
5844         a child packed in there.  (#144269 again)
5845
5846 2008-01-31  Sven Neumann  <sven@gimp.org>
5847
5848         * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
5849         applied patch from Denis Oliver Kropp <dok@directfb.org>.
5850
5851 2008-01-31  Sven Neumann  <sven@gimp.org>
5852
5853         * gdk/directfb/gdkdisplay-directfb.c
5854         * gdk/directfb/gdkdrawable-directfb.c
5855         * gdk/directfb/gdkprivate-directfb.h
5856         * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
5857         Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
5858
5859 2008-01-31  Richard Hult  <richard@imendio.com>
5860
5861         * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
5862         issues with undecorated windows. Revert the change done on
5863         2008-01-25 and fix it by using the view's bounds instead. The
5864         bounds will always be up to date when setting up the tracking
5865         rect, so this should be more robust.
5866
5867 2008-01-30  Sven Neumann  <sven@gimp.org>
5868
5869         * gdk/directfb/gdkdrawable-directfb.c
5870         * gdk/directfb/gdkwindow-directfb.c
5871         * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
5872         Oliver Kropp <dok@directfb.org>. Adds debug messages using
5873         DirectFB's debugging system
5874
5875 2008-01-30  Sven Neumann  <sven@gimp.org>
5876
5877         * gdk/directfb/gdkdirectfb.h
5878         * gdk/directfb/gdkdisplay-directfb.c
5879         * gdk/directfb/gdkdrawable-directfb.c
5880         * gdk/directfb/gdkim-directfb.c
5881         * gdk/directfb/gdkimage-directfb.c
5882         * gdk/directfb/gdkinput-directfb.c
5883         * gdk/directfb/gdkmain-directfb.c
5884         * gdk/directfb/gdkpixmap-directfb.c
5885         * gdk/directfb/gdktestutils-directfb.c
5886         * gdk/directfb/gdkvisual-directfb.c
5887         * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
5888         Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
5889         errors and has some cleanups.
5890
5891 2008-01-30  Michael Natterer  <mitch@imendio.com>
5892
5893         * gtk/gtkbuilderparser.c (parse_custom): use the right type for
5894         "subparser_data" and remove the (gpointer*) cast. Fixes bogus
5895         aliasing warning.
5896
5897         * gtk/updateiconcache.c (add_string): cast const gchar* to
5898         gpointer when inserting in a GHashTable.
5899
5900         * tests/testcalendar.c (calendar_detail_cb): remove const from
5901         return value since it's a newly allocated string.
5902
5903         (calendar_update_details): free the detail.
5904
5905 2008-01-29  Johan Dahlin  <johan@gnome.org>
5906
5907         * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
5908         (do_builder):
5909         * demos/gtk-demo/demo.ui:
5910         Move the about dialog to the glade file, add accessible tags
5911         examples to the markup file.
5912
5913 2008-01-28  Paolo Borelli  <pborelli@katamail.com>
5914
5915         * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
5916         layout, fixes #512375.
5917
5918 2008-01-28  Michael Natterer  <mitch@imendio.com>
5919
5920         * gtk/gtktextchild.c
5921         * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
5922
5923 2008-01-28  Michael Natterer  <mitch@imendio.com>
5924
5925         * demos/gtk-demo/builder.c (about_activate): use
5926         gtk_about_dialog_set_program_name() instead of the deprecated
5927         set_name().
5928
5929 2008-01-28  Michael Natterer  <mitch@imendio.com>
5930
5931         * gtk/gtktextchild.c
5932         * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
5933         is deprecated now).
5934
5935 2008-01-26  Johan Dahlin  <johan@gnome.org>
5936
5937         * tests/Makefile.am:
5938         * tests/textbuffertest.c:
5939         Rename textbuffer test and port it to the new test framework
5940         
5941 2008-01-25  Johan Dahlin  <johan@gnome.org>
5942
5943         * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
5944         unsetting of GTK_MODULES.
5945
5946         * gtk/gtk-builder-convert
5947         (GtkBuilderConverter._convert_adjustment): Handle the case where
5948         there is no child text node.
5949         (GtkBuilderConverter): Allow xml comments in most places.
5950
5951 2008-01-25  Johan Dahlin  <johan@gnome.org>
5952
5953         * gtk/gtk-builder-convert
5954         (GtkBuilderConverter._convert_combobox_items): Remove the items
5955         even if there are no items set.
5956         (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
5957         signals and tooltips for all menu items subclasses and 
5958         GtkImageMenuItem:label. 
5959         Makes it possible to fully convert and run Jokosher.glade.
5960
5961 2008-01-25  Johan Dahlin  <johan@gnome.org>
5962
5963         * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
5964         (gtk_widget_buildable_get_internal_child), (free_action),
5965         (free_relation), (gtk_widget_buildable_parser_finished),
5966         (accessibility_start_element),
5967         (gtk_widget_buildable_custom_tag_start),
5968         (gtk_widget_buildable_custom_finished):
5969         Implement accessible support, fixes #454653.
5970
5971         * gtk/gtk-builder-convert:
5972         Add support for migrating old glade files
5973         
5974         * tests/buildertest.c: (test_widget), (test_file):
5975         Add accessible tests and imprve the test_file function to display
5976         toplevels and run dialogs.
5977
5978 2008-01-25  Richard Hult  <richard@imendio.com>
5979
5980         * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
5981         didn't change, fixes focus event issues for undecorated windows.
5982
5983 2008-01-25  Richard Hult  <richard@imendio.com>
5984
5985         * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
5986         const and remove unused variables).
5987
5988 2008-01-25  Michael Natterer  <mitch@imendio.com>
5989
5990         * gtk/gtkbutton.h
5991         * gtk/gtkcellrenderer.h
5992         * gtk/gtkimcontext.h
5993         * gtk/gtkstyle.h
5994         * gtk/gtktoolbar.h
5995         * gtk/gtktooltip.h
5996         * gtk/gtktreeprivate.h
5997         * gtk/gtktreeviewcolumn.h
5998         * gtk/gtkwidget.h: add const to constant structs which are passed
5999         into GTK+. Also add some forgotten const for const strings.
6000         Fixes bug #511554.
6001
6002         * gtk/gtkbutton.c
6003         * gtk/gtkcellrenderer.c
6004         * gtk/gtkimcontext.c
6005         * gtk/gtkstyle.c
6006         * gtk/gtktoolbar.c
6007         * gtk/gtktooltip.c
6008         * gtk/gtktreeview.c
6009         * gtk/gtktreeviewcolumn.c
6010         * gtk/gtkwidget.c: changed accordingly.
6011
6012 2008-01-25  Sven Herzberg  <sven@imendio.com>
6013
6014         Reviewed by Johan Dahlin.
6015
6016         * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
6017         this is called with something that's not a GtkUIManager
6018
6019 2008-01-24  Johan Dahlin  <johan@gnome.org>
6020
6021         * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child): 
6022         Chain up to parent, so widgets can have internal children.
6023
6024 2008-01-22  Mathias Hasselmann  <mathias@openismus.com>
6025
6026         Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
6027         IWAMOTO).
6028
6029         * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
6030
6031 2008-01-22  Mathias Hasselmann  <mathias@openismus.com>
6032
6033         Use pango_layout_set_height() for calendar details (#506049).
6034
6035         * configure.in: Require 1.19.3 for pango_layout_set_height().
6036         * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
6037
6038 2008-01-18  Johan Dahlin  <johan@gnome.org>
6039
6040         * gtk/gtk-builder-convert (get_property_node): New method
6041         (GtkBuilderConverter._create_object): Conditionally take a node as
6042         a property value, so don't lose translate/context attributes if they
6043         are set. 
6044         (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
6045         property values instead of strings.
6046         (#509153, Erik van Pienbroek)
6047
6048 2008-01-16  Mathias Hasselmann  <mathias@openismus.com>
6049
6050         Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
6051
6052         * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
6053         * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
6054         * tests/testcalendar.c: Duplicate calendar details before returning.
6055
6056 2008-01-16  Christian Persch  <chpe@gnome.org>
6057
6058         * gtk/gtkwidget.c: Store the event mask and extension event mode
6059         directly in the gobject data pointer, instead of in an allocated
6060         gint. Bug #506604.
6061
6062 2008-01-16  Michael Natterer  <mitch@imendio.com>
6063
6064         * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
6065         gdk-pixbuf now uses gio functions.
6066
6067 2008-01-16  Matthias Clasen  <mclasen@redhat.com>
6068
6069         * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
6070         the notify::model signal.  (#509819, David Zeuthen)
6071
6072 2008-01-15  Michael Natterer  <mitch@imendio.com>
6073
6074         * gdk/gdkdisplay.h
6075         * gdk/gdkdrawable.h
6076         * gdk/gdkevents.h
6077         * gdk/gdkpango.h
6078         * gdk/gdkregion.h
6079         * gdk/gdkrgb.h
6080         * gdk/gdkwindow.h: made more struct pointer and array parameters
6081         const. GDK should now be constified as far as possible without
6082         breaking source compatibility. Includes some minor cleanup like
6083         indentation and s/nfoo/n_foo/ (bug #508544).
6084
6085         * gdk/gdkdisplay.c
6086         * gdk/gdkdraw.c
6087         * gdk/gdkevents.c
6088         * gdk/gdkpango.c
6089         * gdk/gdkregion-generic.c
6090         * gdk/gdkrgb.c
6091         * gdk/directfb/gdkdisplay-directfb.c
6092         * gdk/directfb/gdkwindow-directfb.c
6093         * gdk/quartz/gdkdisplay-quartz.c
6094         * gdk/quartz/gdkwindow-quartz.c
6095         * gdk/win32/gdkdisplay-win32.c
6096         * gdk/win32/gdkwindow-win32.c
6097         * gdk/x11/gdkdisplay-x11.c
6098         * gdk/x11/gdkwindow-x11.c: changed accordingly.
6099
6100 2008-01-14  Michael Natterer  <mitch@imendio.com>
6101
6102         * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
6103         const warning.
6104
6105         (gtk_rc_parse_any): change variables to const and introduce
6106         another local variable to fix const warnings.
6107
6108 2008-01-14  Michael Natterer  <mitch@imendio.com>
6109
6110         * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
6111         of gdk_screen_get_font_options() to gpointer to get rid of const
6112         warning.
6113
6114 2008-01-14  Michael Natterer  <mitch@imendio.com>
6115
6116         * tests/testdnd.c (source_drag_data_get): fix another call to
6117         gtk_selection_data_set().
6118
6119 2008-01-14  Michael Natterer  <mitch@imendio.com>
6120
6121         * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
6122         signedness warning.
6123
6124 2008-01-14  Michael Natterer  <mitch@imendio.com>
6125
6126         * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
6127
6128 2008-01-14  Michael Natterer  <mitch@imendio.com>
6129
6130         * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
6131         "uris" to guchar* when passing it to gtk_selection_data_set().
6132
6133 2008-01-14  Michael Natterer  <mitch@imendio.com>
6134
6135         * gdk/gdk.h
6136         * gdk/gdkcairo.h
6137         * gdk/gdkcolor.h
6138         * gdk/gdkgc.h
6139         * gdk/gdkinternals.h
6140         * gdk/gdkregion.h
6141         * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
6142         parameters const (bug #508544).
6143
6144         * gdk/gdkcairo.c
6145         * gdk/gdkgc.c
6146         * gdk/gdkwindow.c
6147         * gdk/gdkrectangle.c
6148         * gdk/gdkpolyreg-generic.c
6149         * gdk/gdkregion-generic.c
6150         * gdk/directfb/gdkcolor-directfb.c
6151         * gdk/directfb/gdkgc-directfb.c
6152         * gdk/directfb/gdkgeometry-directfb.c
6153         * gdk/directfb/gdkwindow-directfb.c
6154         * gdk/quartz/gdkcolor-quartz.c
6155         * gdk/quartz/gdkgc-quartz.c
6156         * gdk/quartz/gdkgeometry-quartz.c
6157         * gdk/quartz/gdkwindow-quartz.c
6158         * gdk/win32/gdkcolor-win32.c
6159         * gdk/win32/gdkgc-win32.c
6160         * gdk/win32/gdkgeometry-win32.c
6161         * gdk/win32/gdkprivate-win32.h
6162         * gdk/win32/gdkwindow-win32.c
6163         * gdk/x11/gdkcolor-x11.c
6164         * gdk/x11/gdkgc-x11.c
6165         * gdk/x11/gdkgeometry-x11.c
6166         * gdk/x11/gdkmain-x11.c
6167         * gdk/x11/gdkprivate-x11.h
6168         * gdk/x11/gdkwindow-x11.c: changed accordingly.
6169
6170         * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
6171         headers.
6172
6173 2008-01-14  Mathias Hasselmann  <mathias@openismus.com>
6174
6175         Explain name choice for gtk_tool_item_toolbar_reconfigured.
6176
6177         * gtk/gtktoolitem.c: Add comment expaining name choice for
6178         gtk_tool_item_toolbar_reconfigured.
6179
6180 2008-01-14  Mathias Hasselmann  <mathias@openismus.com>
6181
6182         Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
6183         implementations to notify its children, when some aspect of their
6184         configuration changed (#509042).
6185
6186         * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
6187         * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
6188         Rename _gtk_tool_item_toolbar_reconfigured.
6189
6190 2008-01-12  Mathias Hasselmann  <mathias@openismus.com>
6191
6192         Include <gtk/gtktoolshell.h> from gtk.h.
6193
6194         * gtk/gtk.h: Add gtktoolshell.h
6195
6196 2008-01-12  Mathias Hasselmann  <mathias@openismus.com>
6197
6198         Print angle brackets arround e-mail addresses in the about dialog
6199         (#409520, Mariano Suárez-Alvarez).
6200
6201         * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
6202
6203 2008-01-11 13:28:02  Tim Janik  <timj@imendio.com>
6204
6205         * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
6206         special casing so test widgets are always queues for destruction
6207         during teardown.
6208
6209         * gtk/tests/testing.c: removed bits left-over from testing without
6210         gtestutils.h.
6211
6212 2008-01-10  Tor Lillqvist  <tml@novell.com>
6213
6214         * modules/other/gail/libgail-util/Makefile.am
6215         * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
6216         gdktargetlib.
6217         
6218 2008-01-10  Tor Lillqvist  <tml@novell.com>
6219
6220         * tests/Makefile.am: Build defaultvaluetest only on Unix as it
6221         uses gtkprintunixdialog API.
6222
6223 2008-01-10  Tor Lillqvist  <tml@novell.com>
6224
6225         * gdk/win32/gdkdisplay-win32.c
6226         * gdk/win32/gdkglobals-win32.c
6227         * gdk/win32/gdkprivate-win32.h
6228         * gdk/win32/gdkscreen-win32.c
6229         * gdk/win32/gdkwindow-win32.c: Implement
6230         gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
6231         and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
6232         Iwamoto. (#505753)
6233
6234 2008-01-10  Cody Russell  <bratsche@gnome.org>
6235
6236         * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
6237         Properly ref/unref windows and parents.  (#506769)
6238
6239 2008-01-10  Richard Hult  <richard@imendio.com>
6240
6241         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
6242         (gdk_window_hide), (move_resize_window_internal): Move the
6243         tracking rect workaround from here...
6244
6245         * gdk/quartz/GdkQuartzWindow.c:
6246         * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
6247         movements during showing/hiding operations. Fixes bug #508516.
6248
6249 2008-01-10  Michael Natterer  <mitch@imendio.com>
6250
6251         * gdk/directfb/gdkscreen-directfb.c
6252         (gdk_screen_get_monitor_width_mm)
6253         (gdk_screen_get_monitor_height_mm)
6254         (gdk_screen_get_monitor_plug_name): add these functions to make
6255         it build again.
6256
6257 2008-01-10  Emmanuele Bassi  <ebassi@gnome.org>
6258
6259         * gtk/gtkrecentchoosermenu.c:
6260         (idle_populate_func), (idle_populate_clean_up): Fix possible
6261         recursion by resetting the idle source id. (#507605, William
6262         Pitcock)
6263
6264 2008-01-10  Kristian Rietveld  <kris@imendio.com>
6265
6266         * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
6267         (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
6268         avoid valgrind warnings.  (#507751, patch from Christian Persch).
6269
6270 2008-01-10  Kristian Rietveld  <kris@imendio.com>
6271
6272         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
6273         a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
6274
6275 2008-01-10  Kristian Rietveld  <kris@imendio.com>
6276
6277         Fix #477175, reported by Juri Pakaste.
6278
6279         * gtk/gtktreeprivate.h:
6280         * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
6281         tree_view->priv->dy here directly, just calculate the new value
6282         and set it on the adjustment,
6283         (gtk_tree_view_adjustment_changed): add guards to not call
6284         gtk_tree_view_dy_to_top_row() if we are currently in
6285         gtk_tree_view_top_row_to_dy(),
6286         (gtk_tree_view_put): fix coordinate annotation: these are bin_window
6287         coordinates, not tree coordinates,
6288         (gtk_tree_view_real_start_editing): add cast.
6289
6290         * gtk/tests/treeview-scrolling.c: add an assertion for checking the
6291         position of the editable in the "create new row and start editing"
6292         tests.
6293
6294 2008-01-09  Michael Natterer  <mitch@imendio.com>
6295
6296         * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
6297         variable.
6298
6299         * gtk/gtkcombobox.c (gtk_combo_box_detacher)
6300         * gtk/gtkicontheme.c (theme_list_contexts)
6301         (gtk_icon_theme_lookup_icon)
6302         * gtk/gtkimcontextsimple.c (beep_window)
6303         * gtk/gtklinkbutton.c (set_link_color)
6304         * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
6305         fix warnings.
6306
6307         * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
6308         variable and add const to another to fix a warning.
6309
6310 2008-01-07  Matthias Clasen  <mclasen@redhat.com>
6311
6312         * gtk/gtkassistant.c (remove_page): Be more robust when removing 
6313         the current page.  (#499951, Andreas Sandberg)
6314
6315 2008-01-06  Johan Dahlin  <johan@gnome.org>
6316
6317         * gtk/gtkspinbutton.c: Declare value in the example code for
6318         GtkSpinButton::output, as pointed out by Anders Carlsson.
6319
6320 2008-01-06  Christian Persch  <chpe@gnome.org>
6321
6322         * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
6323         and remove an obsolete event box. Bug #506760.
6324
6325 2008-01-06  Johan Dahlin  <johan@gnome.org>
6326
6327         * tests/buildertest.c (test_domain): 
6328         Update, GtkBuilder::translation-domain is no longer set
6329         
6330         * gtk/gtkbuilderparser.c (parse_interface): 
6331         Allow domains to be overridden in <interface>'s if a translation-domain
6332         is set in the builder.
6333         (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
6334         of the builder, make the domain set in the <interface> apply only to strings
6335         in that interface.
6336         (#496831, Ryan Lortie)
6337
6338         * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines 
6339         to g_warning calls.
6340
6341         * gtk/gtktreestore.c (tree_model_end_element): 
6342         Remove an unused variable
6343
6344 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
6345
6346         * gtk/gtkspinbutton.c: Document the ::output signal and
6347         add an example.  (#507566, example by Owen Taylor)
6348
6349 2008-01-06  Johan Dahlin  <johan@gnome.org>
6350
6351         * gtk/gtkcellrenderercombo.c:
6352         (gtk_cell_renderer_combo_get_property),
6353         (gtk_cell_renderer_combo_set_property):
6354         * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
6355         * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
6356         * gtk/gtknotebook.c: (gtk_notebook_set_property):
6357         * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
6358         * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
6359         (gtk_text_buffer_get_property):
6360         * gtk/gtktextview.c: (gtk_text_view_set_property):
6361         * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
6362         * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
6363         (gtk_tool_button_get_property):
6364         * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
6365         (gtk_tool_item_get_property):
6366         * gtk/gtktreeview.c: (gtk_tree_view_set_property):
6367         * gtk/gtkwidget.c: (gtk_widget_set_property):
6368         * gtk/gtkwindow.c: (gtk_window_set_property):
6369         Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
6370         Fixes #507585
6371
6372 2008-01-06  Johan Dahlin  <johan@gnome.org>
6373
6374         * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root): 
6375         Make sure that --root works for toplevel widgets.
6376         (#491847, Phil Lello)
6377
6378 2008-01-05  Johan Dahlin  <johan@gnome.org>
6379
6380         * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
6381         to make sure that make test-report works properly
6382
6383 2008-01-05  Christian Persch  <chpe@gnome.org>
6384
6385         * tests/defaultvaluetest.c: Fix mem leak, and don't pass
6386         GType as integer through gpointer. Bug #507395.
6387
6388 2008-01-04  Mathias Hasselmann  <mathias@openismus.com>
6389
6390         Avoid some compiler warnings (#507000).
6391
6392         * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
6393         for value argument of _gtk_builder_flags_from_string.
6394         * gtk/gtkwidget.c: Don't alias the child pointer passed
6395         to gdk_window_get_user_data.
6396
6397 2008-01-04  Michael Natterer  <mitch@imendio.com>
6398
6399         * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
6400         to set the time in the returned GdkTimeCoords.
6401
6402 2008-01-03  Emmanuele Bassi  <ebassi@gnome.org>
6403
6404         * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
6405         correct comparison function (kudos to Christian Persch and
6406         Claudio Saavedra for spotting this)
6407
6408         * gtk/gtkrecentchooserutils.c:
6409         (sort_recent_items_mru),
6410         (sort_recent_items_lru): Ditto as above.
6411
6412 2008-01-03  Johan Dahlin  <johan@gnome.org>
6413
6414         * tests/defaultvaluetest.c: Make it pass again.
6415
6416 2008-01-02  Johan Dahlin  <johan@gnome.org>
6417
6418         * tests/defaultvaluetest.c (test_type): Ignore a few more tests to 
6419         make it pass on Ubuntu.
6420         (main): Use gtk_test_list_all_types () instead of providing our
6421         own list.
6422         And it no longer passes.
6423
6424 2007-12-30  Johannes Schmid <jhs@gnome.org>
6425
6426         * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
6427         Also reorder menu when reordering tabs by drag & drop
6428         (Bug #506474)
6429         
6430         * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
6431         Add a menu to one of the notebooks to have a test-case for
6432         the change mentioned above.
6433
6434 2007-12-31  Philip Van Hoof  <pvanhoof@gnome.org>
6435
6436         * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
6437
6438 2007-12-31  Christian Persch  <chpe@gnome.org>
6439
6440         * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
6441         Plug a mem leak. Bug #506107.
6442
6443 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
6444
6445         * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
6446         icon cache api change.  (#506135, Kazuki Iwamoto)
6447
6448 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
6449
6450         Consider "wide-separators" and "separator-height" style properties:
6451         The separator is drawn using gtk_paint_box instead of cairo, when
6452         "wide-separators" is set. Also do not highlight details for previous
6453         or next month, if their day matches the selected day. (#339540)
6454
6455         * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
6456         in gtk_calendar_size_request and calendar_paint_day
6457         * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
6458         for selected detail separators in GtkCalendar.
6459
6460 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
6461
6462         Remove max_detail_height field from GtkCalendarPrivate. (#339540)
6463
6464         * gtk/gtkcalendar.c: Drop max_detail_height field, and use
6465         a local variable instead in gtk_calendar_size_request.
6466
6467 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
6468
6469         * tests/defaultvaluetest.c: Add enough exclusions to make the
6470         test succeed.
6471
6472 2007-12-28  Christian Persch  <chpe@gnome.org>
6473
6474         * modules/other/gail/Makefile.am:
6475         * modules/other/gail/tests/*:
6476         * configure.in: Merge tests from standalone gail. Bug #504568.
6477
6478 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
6479
6480         * gtk/gtkclipboard.c: Make the finalizer work when display is
6481         not set.
6482
6483 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
6484
6485         Draw bottom shadow of GtkCalender headings. (#506113)
6486
6487         * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
6488
6489 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
6490
6491         * gtk/gtkcalendar.c: Document the initial values of year/month/day
6492         properties.
6493
6494 2007-12-28  Christian Persch  <chpe@gnome.org>
6495
6496         * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
6497         a mem leak. Bug #506096.
6498
6499 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
6500
6501         * gtk/gtktable.c:
6502         * gtk/gtktreeview.c:
6503         * gtk/gtkprintoperation.c:
6504         * gtk/gtkprogressbar.c:
6505         * gtk/gtkmessagedialog.c:
6506         * gtk/gtknotebook.c:
6507         * gtk/gtkprinter.c:
6508         * gtk/gtkfilesel.c:
6509         * gtk/gtklabel.c:
6510         * gtk/gtklinkbutton.c:
6511         * gtk/gtkmenu.c: More default property value corrections.
6512
6513 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
6514
6515         * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
6516         accel_group unless it is set.
6517
6518 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
6519
6520         * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
6521
6522 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
6523
6524         * gtk/gtkhandlebox.c: Fix the default values of shadow and 
6525         shadow-type properties.
6526
6527         * gtk/gtkfontsel.c: Fix the default values of several properties.
6528
6529         * gtk/gtkfilesel.c: Fix the default value of the show-fileops
6530         property.
6531
6532         * gtk/gtkcurve.c: Fix the default value of the curve-type property.
6533
6534         * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
6535         property.
6536
6537 2007-12-28  Johan Dahlin  <johan@gnome.org>
6538
6539         * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
6540         (gtk_dialog_buildable_custom_tag_start): Chain up. 
6541         This makes it possible to have accelerators tags on GtkDialog 
6542         subclasses.
6543
6544 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
6545
6546         Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
6547         are shown within the widget, or just as tooltip. (#339540)
6548
6549         * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
6550         aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
6551         * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
6552         in flags vbox.
6553
6554 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
6555
6556         Try more decent appearance of calendar details separator. (#339540)
6557
6558         * gtk/gtkcalendar.c: Use different colors for drawing the separator,
6559         and make it short by one pixel on each side.
6560
6561 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
6562
6563         Apply trivial code-style changes from attachement 101101. (#339540)
6564
6565         * tests/testcalendar.c: Some updates to current GTK+ code-style.
6566
6567 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
6568
6569         Restructure testcalendar for testing calendar details. (#339540)
6570
6571         * tests/testcalendar.c: Push code arround for testing calendar details.
6572
6573 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
6574
6575         Implement GtkTooltip API for calendar details. (#339540)
6576
6577         * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
6578         Remember detail overflows in calendar_paint_day to show the tooltip
6579         only when neccessary.
6580
6581 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
6582
6583         Without setting "detail-width-chars" and "detail-height-rows"
6584         properties not only the widget has to be redrawn on certain
6585         conditions, but also its size must be recalculated. (#339540)
6586
6587         * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
6588         that function instead of gtk_widget_queue_draw.
6589
6590 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
6591
6592         Consider details for size-request and expose-event. (#339540)
6593
6594         * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
6595         is_color_attribute functions. Change gtk_calendar_size_request
6596         and calendar_paint_day to consider and show calender details.
6597
6598 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
6599
6600         * gtk/gtkcombobox.c: Introduce local priv variables to 
6601         reduce ->->
6602
6603 2007-12-27  Matthias Clasen  <mclasen@redhat.com>
6604
6605         * gtk/gtkcombobox.c: Correct the default value for the 
6606         tearoff-title property.
6607
6608         * gtk/gtkcellrenderertext.c: Fix the default value for the
6609         wrap-mode and font-scale properties.
6610
6611         * gtk/gtkaspectratio.c: Fix the default value for the ratio
6612         property.
6613
6614 2007-12-27  Matthias Clasen  <mclasen@redhat.com>
6615
6616         * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
6617         defines.  (#505708,  MINAMI Hirokazu)
6618
6619 2007-12-27  Christian Persch  <chpe@gnome.org>
6620         
6621         * Makefile.am: Install gail.pc. Bug #505859.
6622
6623 2007-12-27  Mathias Hasselmann  <mathias@openismus.com>
6624
6625         Add infrastructure for GtkCalendar details. (#339540)
6626
6627         * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
6628         Add "detail-width-chars" and "detail-height-rows" properties,
6629         and gtk_calendar_set_detail_func function.
6630
6631 2007-12-27  Xan Lopez  <xan@gnome.org>
6632
6633         * gtk/gtk.symbols: 
6634         * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy): 
6635
6636         Add gtk_border_new to avoid memory allocator confusions when using
6637         GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
6638
6639 2007-12-27  Christian Persch  <chpe@gnome.org>
6640
6641         * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from 
6642         bug #504886 not to read unitialised memory.
6643
6644 2007-12-26  Xan Lopez  <xan@gnome.org>
6645
6646         * gtk/gtkstatusbar.c (has_extra_children): take into account the
6647         modification of the internal frame contents to decide if we have
6648         extra children. (#415677)
6649
6650 2007-12-22  Christian Persch  <chpe@gnome.org>
6651
6652         * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
6653
6654 2007-12-25  Christian Persch  <chpe@gnome.org>
6655
6656         * modules/other/gail/gailwindow.c: (gail_window_initialize):
6657         Initialise |widget|. Fixes a buglet introduced by the commit from bug
6658         #505226.
6659
6660 2007-12-25  Christian Persch  <chpe@gnome.org>
6661
6662         * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
6663         
6664 2007-12-25  Christian Persch  <chpe@gnome.org>
6665
6666         * modules/other/gail/*.[ch]: Remove relocations from the atk
6667         factories. Remove unused gail_foo_new() functions. Fix object
6668         instantiation to be derivation safe by moving initialisation code
6669         from the removed gail_foo_new() functions to the
6670         AtkObjectClass::initialize implementation. Bug #505226.
6671
6672 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
6673
6674         * modules/other/gail/gailentry.c:
6675         * modules/other/gail/gailimage.c:
6676         * modules/other/gail/gailtextview.c: Remove non-multihead-safe
6677         uses of clipboards and settings.  (#504722, Christian Persch)
6678
6679 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
6680
6681         * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
6682          Kazuki IWAMOTO)
6683
6684 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
6685
6686         * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
6687         use the time and button information from the event.  (#504901,
6688         Peter Bloomfield)
6689
6690 2007-12-23  Cody Russell  <bratsche@gnome.org>
6691
6692         * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
6693         the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
6694         Fixes a regression caused by #164537 patch where transient
6695         windows that are hidden get shown (incorrectly) when their
6696         parents are minimized. (#504984)
6697         
6698 2007-12-22  Christian Persch  <chpe@gnome.org>
6699
6700         * modules/other/gail/gailcell.c:
6701         * modules/other/gail/gailcontainercell.c:
6702         * modules/other/gail/gailexpander.c:
6703         * modules/other/gail/gailtextcell.c:
6704         * modules/other/gail/gailtextview.c:
6705         * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
6706
6707 2007-12-22  Christian Persch  <chpe@gnome.org>
6708
6709         * modules/other/gail/*.c: Include config.h. Bug #504720.
6710
6711 2007-12-22  Christian Persch  <chpe@gnome.org>
6712
6713         * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
6714         handwritten get_type functions. Bug #504661.
6715
6716 2007-12-23  Xan Lopez  <xan@gnome.org>
6717
6718         * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
6719         to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
6720
6721         Patch by Sadrul Habib Chowdhury (#504804)
6722
6723 2007-12-22  Christian Persch  <chpe@gnome.org>
6724
6725         * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
6726         #504645, patch by Li Yuan.
6727
6728 2007-12-22  Christian Persch  <chpe@gnome.org>
6729
6730         * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
6731
6732 2007-12-22  Christian Persch  <chpe@gnome.org>
6733         
6734         * modules/other/gail/gail.c:
6735         * modules/other/gail/gailbutton.c:
6736         * modules/other/gail/gailcell.c:
6737         * modules/other/gail/gailcombo.c:
6738         * modules/other/gail/gailcombo.h:
6739         * modules/other/gail/gailcombobox.c:
6740         * modules/other/gail/gailentry.c:
6741         * modules/other/gail/gailexpander.c:
6742         * modules/other/gail/gailmenuitem.c:
6743         * modules/other/gail/gailnotebook.c:
6744         * modules/other/gail/gailnotebookpage.c:
6745         * modules/other/gail/gailnotebookpage.h:
6746         * modules/other/gail/gailoptionmenu.c:
6747         * modules/other/gail/gailrange.c:
6748         * modules/other/gail/gailtextview.c:
6749         * modules/other/gail/gailtreeview.c:
6750         * modules/other/gail/gailtreeview.h:
6751         * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
6752         Bug #504571.
6753
6754 2007-12-22  Matthias Clasen  <mclasen@redhat.com>
6755
6756         * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
6757         Christian Persch)
6758
6759 2007-12-21  Richard Hult  <richard@imendio.com>
6760
6761         * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
6762         Plug leak of destroyed subviews, fixes bug #504753.
6763
6764 2007-12-20  Johan Dahlin  <johan@gnome.org>
6765
6766         * tests/Makefile.am (TEST_PROGS): 
6767         * tests/defaultvaluetest.c: Add a test for default values,
6768         based on program by Christan Perch
6769
6770 2007-12-20  Johan Dahlin  <johan@gnome.org>
6771
6772         * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window): 
6773         Refactor to avoid some duplication.
6774         Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
6775         Fixes #504749, Yuri Pimenov
6776
6777 2007-12-20  Kristian Rietveld  <kris@imendio.com>
6778
6779         * configure.in: RYuri Pimenovemove leftovers from old XRandR check.  Makes
6780         the build work again on systems without xrandr 1.2.
6781
6782 2007-12-20  Christian Persch  <chpe@gnome.org>
6783
6784         * configure.in:
6785         * modules/other/gail/libgail-util/Makefile.am:
6786         Keep the same libtool version as the standalone libgail-util had.
6787         Bug #504643.
6788
6789 2007-12-20 15:30:09  Tim Janik  <timj@imendio.com>
6790
6791         * Makefile.decl: generate HTML reports for test-report perf-report full-report.
6792
6793 2007-12-20  Alexander Larsson  <alexl@redhat.com>
6794         
6795         * gdk/x11/gdkapplaunchcontext-x11.c:
6796         Update for gio API changes
6797
6798 2007-12-20  Richard Hult  <richard@imendio.com>
6799
6800         * gdk/quartz/GdkQuartzWindow.c:
6801         * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
6802         processing events after changing the size.
6803
6804 2007-12-20  Richard Hult  <richard@imendio.com>
6805
6806         * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
6807         Add stub for quartz to fix build.
6808
6809 2007-12-20  Christian Persch  <chpe@gnome.org>
6810
6811         * modules/other/gail/Makefile.am:
6812         * modules/other/gail/gailimage.c: (gail_image_class_init),
6813         (gail_image_init), (elide_underscores), (gail_image_get_name),
6814         (atk_image_interface_init), (gail_image_finalize):
6815         * modules/other/gail/gailimage.h:
6816         R modules/other/gail/gailintl.h:
6817         * po/POTFILES.skip: Use the stock item's label as the name of the
6818         accessible in gailimage.c. Bug #504246.
6819
6820 2007-12-19  Mathias Hasselmann  <mathias@openismus.com>
6821
6822         Avoid some compiler warnings and remove obsolete code. (#339540)
6823
6824         * gtk/gtkcalendar.c: Change week and year variable in
6825         calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
6826         0" block from calendar_paint_day: The feature in question is handled
6827         few lines above. Cast data returned by gtk_selection_data_get_text()
6828         to (gchar*) in gtk_calendar_drag_data_received.
6829
6830 2007-12-19 17:05:31  Tim Janik  <timj@imendio.com>
6831
6832         * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
6833
6834 2007-12-19  Johan Dahlin  <johan@gnome.org>
6835
6836         * tests/buildertest.c (test_object_properties): 
6837         Add another call to gtk_builder_add_string after using
6838         delayed properties, as reported in #504393 but already
6839         fixed in #495769.
6840
6841 2007-12-18  Christian Persch  <chpe@gnome.org>
6842
6843         * configure.in:
6844         * docs/reference/Makefile.am:
6845         * docs/reference/libgail-util/*:
6846         * gail-uninstalled.pc.in:
6847         * gail.pc.in:
6848         * modules/Makefile.am:
6849         * modules/other/Makefile.am:
6850         * modules/other/gail/*:
6851         * modules/other/gail/libgail-util/*:
6852         * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
6853
6854 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
6855
6856         * gtk/gtksettings.c: Add a gtk-im-module GTK setting
6857         * gdk/win32/gdkproperty-win32.c: 
6858         * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
6859
6860         * gtk/gtkimmodule.[hc]: 
6861         * gtk/gtkimmulticontext.[hc]: When determining the default context,
6862         look at the gtk-im-module setting, and listen for changes to the
6863         setting.  (#502446, Akira Tagoh)
6864
6865 2007-12-17  Kristian Rietveld  <kris@imendio.com>
6866
6867         * gtk/gtktooltip.c (gtk_tooltip_finalize),
6868         (gtk_tooltip_set_last_window): use a weak pointer to set last_window
6869         to NULL as soon as it's destroyed.  (#496546, patch from
6870         Benjamin Berg).
6871
6872 2007-12-17  Kristian Rietveld  <kris@imendio.com>
6873
6874         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
6875         always determine what arrow to show if show_sort_indicator is true.
6876         (#352738, Chris Vine).
6877
6878 2007-12-16  Mathias Hasselmann  <mathias@openismus.com>
6879
6880         Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
6881         Sébastien Granjoux)
6882
6883         * gtk/gtkpaned.c: Call gtk_container_forall instead of
6884         gtk_container_foreach in get_child_panes.
6885
6886 2007-12-15  Xan Lopez  <xan.lopez@nokia.com>
6887
6888         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
6889
6890         Plug leak: When reordering the info in the list the old node is
6891         removed but not freed. (#503569)
6892
6893 2007-12-15  Sebastian Dröge  <slomo@circular-chaos.org>
6894
6895         * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
6896         Use u32 instead of __u32 and u8 instead of __u8 as the other types
6897         are deprecated since DirectFB 1.0.0. If compiling with an older
6898         version define the new type name to the old types. Fixes bug #503190.
6899
6900 2007-12-14  Ray Strode  <rstrode@redhat.com>
6901
6902         * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
6903         instead of g_signal_connect_after (..., "realize", ...) as an
6904         alternative to gtk_widget_realize () (bug 503537).
6905
6906 2007-12-14  Michael Natterer  <mitch@imendio.com>
6907
6908         * gdk/gdkinternals.h
6909         * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
6910         individual files.
6911
6912         * gdk/gdkapplaunchcontext.c
6913         * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
6914         header already includes everything now.
6915
6916 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
6917
6918         Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
6919         next stable release shall be 2.16, not 2.14 - even if disagree.
6920
6921         * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
6922
6923 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
6924
6925         Change GtkToolItem to retrieve its properties from GtkToolShell
6926         interface, instead of relying on being child of a GtkToolbar.
6927         (#5034079)
6928
6929         * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
6930         docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
6931         * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
6932         * gtk/gtktoolbar.c: Implement GtkToolShellIface.
6933         * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
6934         * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
6935         Take section docs from template file and update them for GtkToolShell.
6936         * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
6937         * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
6938
6939 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
6940
6941         Extract loading of GtkPageSetup and GtkPrintSettings from their
6942         *_new_*() functions and move that code into separate
6943         *_load_*() functions (#475565).
6944
6945         * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
6946         Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
6947         gtk_print_settings_load_file and gtk_print_settings_load_key_file.
6948         Change the matching *_new_*() functions to use those functions.
6949
6950 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
6951
6952         * gtk/gtk.symbols:
6953         * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
6954
6955 2007-12-14  Kristian Rietveld  <kris@imendio.com>
6956
6957         * gtk/tests/liststore.c:
6958         * gtk/tests/treestore.c: added tests for insertion functions.
6959
6960 Thu Dec 13 13:14:50 2007  Søren Sandmann  <sandmann@redhat.com>
6961
6962         * Add RandR 1.2 support
6963
6964         - New monitors_changed signal - New API to get width/height of
6965           monitors, and the name of the plug
6966
6967 2007-12-13  Kristian Rietveld  <kris@imendio.com>
6968
6969         * gtk/tests/liststore.c:
6970         * gtk/tests/treestore.c: test the move and swap functions on a
6971         store with only one node.
6972
6973 2007-12-13  Kristian Rietveld  <kris@imendio.com>
6974
6975         * gtk/gtktestutils.c (gtk_test_init): add a call to
6976         g_test_bug_base().
6977
6978         * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
6979         appriopriate tests.
6980
6981 2007-12-13  Kristian Rietveld  <kris@imendio.com>
6982
6983         * gtk/tests/liststore.c:
6984         * gtk/tests/treestore.c: start composing tests for the list and tree
6985         store.
6986
6987         * gtk/tests/treeview-scrolling.c: added automated tests for
6988         GtkTreeView's scrolling "subsystem".
6989
6990         * gtk/tests/Makefile.am: updated; added new test programs.
6991
6992 2007-12-13  Mathias Hasselmann  <mathias@openismus.com>
6993
6994         Make the code compile again after the GdkAppLaunchContext changes.
6995
6996         * configure.in: Add gio-2.0 to GDK_PACKAGES.
6997         * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
6998
6999 2007-12-12  Matthias Clasen  <mclasen@redhat.com>
7000
7001         * gdk/gdkapplaunchcontext.c: Add docs
7002
7003 2007-12-12  Matthias Clasen  <mclasen@redhat.com>
7004
7005         * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext 
7006         in gdk, providing startup notification.  (#503203)
7007
7008         * gdk/x11/gdkapplaunchcontext-x11.c: 
7009         * gdk/win32/gdkapplaunchcontext-win32.c:
7010         * gdk/quartz/gdkapplaunchcontext-quartz.c: 
7011         * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
7012         parts. All but X11 are just empty stubs for now.
7013
7014         * gdk/gdk.symbols:
7015         * gdk/gdkinternals.h:
7016         * gdk/Makefile.am:
7017         * gdk/x11/Makefile.am: 
7018         * gdk/win32/Makefile.am: 
7019         * gdk/quartz/Makefile.am: 
7020         * gdk/directfb/Makefile.am: Necessary glue.
7021
7022 2007-12-12  Mathias Hasselmann  <mathias@openismus.com>
7023
7024         * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
7025
7026 2007-12-11  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
7027
7028         * gdk/directfb/gdktestutils-directfb.c:
7029         * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
7030         which adds testing functions to the DirectFB backend.
7031
7032 2007-12-11  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
7033
7034         * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
7035         Ciccani which fixes the mixing of gdk and cairo rendering.
7036
7037 2007-12-11  Mathias Hasselmann  <mathias@openismus.com>
7038
7039         * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
7040         on "drag-motion" handlers. Clearify documentation for
7041         gtk_drag_dest_set.
7042
7043 2007-12-11 15:44:01  Tim Janik  <timj@imendio.com>
7044
7045         * buildertest.c: made unnecessarily exported symbols static.
7046         switched g_return_if_fail() statements in tests to assertions.
7047         special cased currently failing Widget/accesibility test to
7048         run only for g_test_thorough(), so it doesn't break make check.
7049         some coding style fixes.
7050
7051         * Makefile.am: added buildertest to TEST_PROGS.
7052
7053 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
7054
7055         * docs/tutorial/gtk-tut.sgml:
7056           Use gtk_widget_get_parent_window() instead of widget->parent->window.
7057
7058 2007-12-10  Richard Hult  <richard@imendio.com>
7059
7060         * gdk/quartz/Makefile.am:
7061         * gdk/quartz/gdkquartz.h:
7062         * gdk/quartz/gdkwindow-quartz.c: Install backend specific
7063         header (bug #405915). Also add a getter for the toplevel nswindow.
7064
7065 2007-12-10  Richard Hult  <richard@imendio.com>
7066
7067         * gdk/quartz/gdkdrawable-quartz.c:
7068         (gdk_quartz_drawable_get_context),
7069         (gdk_quartz_drawable_release_context):
7070         * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
7071         (gdk_event_check), (gdk_event_dispatch), (poll_func):
7072         * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
7073         used for each drawing context and in prepare, dispatch and poll
7074         with one that exists across each main loop iteration. Fixes leaks
7075         on leopard and protects against future leaks introduce when the
7076         underlying system changes again (bug #492977).
7077
7078 2007-12-10  Richard Hult  <richard@imendio.com>
7079
7080         * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
7081         Fix the check for no changes to position and size.
7082
7083 2007-12-10  Richard Hult  <richard@imendio.com>
7084
7085         * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
7086         sized areas at (0, 0), patch from Paul Davis.
7087
7088 2007-12-10  Richard Hult  <richard@imendio.com>
7089
7090         * gdk/quartz/gdkprivate-quartz.h: 
7091         * gdk/quartz/gdkeventloop-quartz.c:
7092         (_gdk_quartz_event_loop_get_pending),
7093         (_gdk_quartz_event_loop_check_pending),
7094         (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
7095         (gdk_event_check), (gdk_event_dispatch):
7096         * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
7097         (_gdk_events_queue): Fix a bug where we could end up trying to
7098         handle the same event more than once. Based on patch from Paul
7099         Davis.
7100
7101 2007-12-10  Tor Lillqvist  <tml@novell.com>
7102
7103         * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
7104         package. (#502850)
7105
7106 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
7107
7108         * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
7109         to avoid further fallout from the fix for bug 388321.
7110
7111 2007-12-09 09:56:06  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
7112
7113         * gdk/directfb/gdkgc-directfb.c:
7114         * gdk/directfb/gdkdrawable-directfb.c:
7115         * gdk/directfb/gdkdirectfb.h:
7116         * gdk/directfb/gdkwindow-directfb.c:
7117         * gdk/directfb/gdkprivate-directfb.h: Committed several patches
7118         (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
7119         blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
7120         opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
7121         which are expected to improve the performance of the DirectFB backend.
7122         Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
7123
7124 2007-12-07  Matthias Clasen  <mclasen@redhat.com>
7125
7126         * gtk/gtkcontainer.c: Correct the documentation of child
7127         property getter arguments.  (#501992, David Brigada)
7128
7129 2007-12-07  Matthias Clasen  <mclasen@redhat.com>
7130
7131         * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
7132         leak pixbufs.  (#502250, Yevgen Muntyan)
7133
7134 2007-12-07  Yevgen Muntyan  <muntyan@tamu.edu>
7135
7136         * gtk/gtkprintunixdialog.c:
7137         * gtk/gtkpagesetupunixdialog.c: added alternative button order in
7138         Print and Page Setup dialogs (#502202).
7139
7140 2007-12-07 13:16:33  Tim Janik  <timj@imendio.com>
7141
7142         * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
7143         Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
7144         of XVFB_START, since it's the GTESTER invokation that needs this.
7145
7146 2007-12-06  Tommi Komulainen  <tommi.komulainen@iki.fi>
7147
7148         * gdk-pixbuf/gdk-pixbuf.symbols:
7149         * gdk/gdk.symbols:
7150         * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
7151         positives in abicheck.sh
7152
7153 2007-12-06 18:45:06  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
7154
7155         * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
7156         GDK events generations in the DirectFB backend.
7157
7158 2007-12-06 13:55:06  Tim Janik  <timj@imendio.com>
7159
7160         * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
7161         set of likely unused display ids, because MacOS has no seq(1) command.
7162
7163 2007-12-06  Richard Hult  <richard@imendio.com>
7164
7165         * gdk/quartz/gdkevents-quartz.c:
7166         (synthesize_crossing_events_for_ns_event): Fix warning when
7167         switching spaces in leopard.
7168
7169 2007-12-06 13:38:36  Tim Janik  <timj@imendio.com>
7170
7171         * tests/floatingtest.c: ported to new testing framework.
7172
7173         * tests/Makefile.am: run floatingtest as testing framework test.
7174
7175 2007-12-06 10:44:52  Tim Janik  <timj@imendio.com>
7176
7177         * tests/autotestfilechooser.c: majorly speed up execution by reducing
7178         timeouts and converting main loop sleeps to pending/iterate loops with
7179         very low priority async handlers. eliminate output for non-verbose
7180         tests. assert successfull subtests in all test functions. use testing
7181         framework in main().
7182
7183         * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
7184         executed inside Xvfb upon make check.
7185
7186 2007-12-06 08:23:38  Tim Janik  <timj@imendio.com>
7187
7188         * tests/objecttests.c: use string comparisons for string property
7189         values and get rid of referencing symbols in array initialization.
7190
7191 2007-12-05 18:59:59  Tim Janik  <timj@imendio.com>
7192
7193         * gtk+/Makefile.decl: run tests in current dir after setting up the
7194         logging directory, so their results get properly merged into the
7195         resulting test log.
7196
7197         * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
7198         tests to loop over registered Gdk/Gtk+ types.
7199
7200         * gtk+/tests/objecttests.c: new test program, implements automated
7201         property tests. several properties are blacklisted because they
7202         seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
7203         can be used to test blacklisted properties and see which proprty failed.
7204
7205 2007-12-04  Richard Hult  <richard@imendio.com>
7206
7207         * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
7208         Fully initialize the root window, fixes bug #501583.
7209
7210 2007-12-04  Matthias Clasen  <mclasen@redhat.com>
7211
7212         * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
7213         crash epiphany.
7214
7215 2007-12-03  Richard Hult  <richard@imendio.com>
7216
7217         * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
7218         Don't crash when dragging from a source that doesn't support uri
7219         lists (bug #499868, Paul Davis).
7220
7221 2007-12-03  Richard Hult  <richard@imendio.com>
7222
7223         * gdk/quartz/gdkwindow-quartz.c:
7224         (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
7225         parent relative bg pixmap is set, and no parent has a bg
7226         pixmap. Fixes bug #500804.
7227
7228 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
7229
7230         Two optimizations for icon cache lookups.
7231
7232         * gtk/gtkiconcache.[hc]:
7233         * gtk/gtkicontheme.c: Remember the directory index for
7234         subdirectories, instead of running over the directory list
7235         again and again.
7236
7237         * gtk/gtkiconcache.c (find_image_offset): Remember the last 
7238         chain and try it first; this helps with the the usage patterns
7239         in gtkicontheme.c, where the same icon is queried for a lot
7240         of subdirectories.
7241
7242 2007-12-03 15:18:17  Tim Janik  <timj@imendio.com>
7243
7244         * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
7245         functions from header files. this should be portable across linux and
7246         Mac OS, unlike the previpous sed expression.
7247
7248 2007-12-1  Cody Russell  <bratsche@gnome.org>
7249
7250         * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
7251         On Windows, queue a redraw of child2 whenever we set
7252         the pane handle position.  This is unfortunately kind
7253         of hacky, but solves the visual artifacts that were
7254         occuring on at least certain types of child widgets
7255         (e.g., text views and tree views) that are inside
7256         horizontal or vertical panes. (#144269)
7257
7258 2007-11-30  Matthias Clasen  <mclasen@redhat.com>
7259
7260         * gtk/gtkrc.c: Fix doc typos.  (#500672, David Lambert)
7261
7262 2007-11-29  Matthias Clasen  <mclasen@redhat.com>
7263
7264         * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
7265         debug spew.
7266
7267 2007-11-29  Matthias Clasen  <mclasen@redhat.com>
7268
7269         * gtk/Makefile.am: Fix ordering of subdirs.
7270
7271 2007-11-28  Tor Lillqvist  <tml@novell.com>
7272
7273         A proper build of GNU libintl is supposed to export the variable
7274         _nl_msg_cat_cntr. configure looks for that variable in order to
7275         recognize GNU gettext. If it sees that it is indeed GNU gettext
7276         that is used, it decides to install message catalogs in
7277         share/locale, otherwise in lib/locale. Until now on Windows I have
7278         built GTK+ against a build of GNU gettext that did not export
7279         _nl_msg_cat_cntr. But this will change, so we can't assume message
7280         catalogs are always in lib/locale.
7281
7282         * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
7283         GTK_LOCALEDIR being either in "lib" or "share". Move the function
7284         before the inclusion of gtkprivate.h so that it sees the original
7285         GTK_LOCALEDIR.
7286
7287         * gtk-zip.sh.in: Check whether the message catalogs are in
7288         share/locale or lib/locale.
7289
7290         * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
7291         that the code in _gtk_get_localedir() will find the slashes.
7292
7293 2007-11-28  Tor Lillqvist  <tml@novell.com>
7294
7295         * gtk/Makefile.am: Improve portability. The -o option is present
7296         only in newish GNU egreps. Use one more sed in the pipeline
7297         instead.
7298
7299 2007-11-28  Tor Lillqvist  <tml@novell.com>
7300
7301         Fix #375893, patch by Ben Hague:
7302
7303         * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
7304         around GetLogicalDrives() that takes also the viewable drive
7305         restrictions in the Registry (which are usually the result of an
7306         Active Directory Group Policy) into account.
7307
7308         (check_volumes, gtk_file_system_win32_list_volumes) Call
7309         get_viewable_logical_drives() instead of GetLogicalDrives().
7310
7311 2007-11-27  Matthias Clasen <mclasen@redhat.com>
7312
7313         * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
7314         variables to silence valgrind.  (#495124, Morten Welinder)
7315
7316 2006-11-26  Ryan Lortie  <desrt@desrt.ca>
7317
7318         * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
7319         that the construct_child function is responsible for returning a
7320         reference.
7321         * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
7322         objects from constructors
7323         * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
7324         g_object_ref() to this construction function (it's the only
7325         implementer in GTK)
7326
7327         Fixes #496645.
7328
7329 2006-11-26  Ryan Lortie  <desrt@desrt.ca>
7330
7331         * gtkbuilder.c: remove concept of root objects and just refcount
7332         all objects in the builder.  Fixes #496651.
7333
7334 2007-11-26  Ryan Lortie  <desrt@desrt.ca>
7335
7336         * tests/buildertest.c (test_window): fix invalid free
7337
7338 2007-11-26  Josselin Mouette <joss@malsain.org>
7339
7340         reviewed by: Federico Mena Quintero
7341
7342         * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
7343         (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
7344         (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
7345         Make the shortcuts activate with a single click. (#148828)
7346         Fix a few things affected by the change:
7347           - Set selection mode to GTK_SELECTION_SINGLE to allow a case 
7348             where no shortcut is selected.
7349           - Don't activate a shortcut in the response callback.
7350           - Filter out duplicate entries in volumes and bookmarks to 
7351             avoid the selection to change when reordering them with DnD.
7352
7353 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
7354
7355         * gtk/gtkmain.c:
7356         * gtk/gtknotebook.c:
7357         * gtk/gtkplugprivate.h:
7358         * gtk/gtksocket.c:
7359         * gtk/gtksocketprivate.h:
7360         * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
7361
7362 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
7363
7364         * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
7365         (#495574, Richard Hult)
7366
7367 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
7368
7369         * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
7370         String change !   (#376361, Sven Neumann)
7371
7372 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
7373
7374         * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
7375         destroy.
7376         (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
7377         Welinder)
7378
7379 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
7380
7381         * gtk/gtkassistant.c: Improve alternative button
7382         ordering.  (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
7383
7384 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
7385
7386         * gtk/gtkcalendar.c: Fix a theming problem with colors
7387         in GtkCalendar.  (#499703, Michael Hofmann)
7388
7389 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
7390
7391         * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
7392
7393 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
7394
7395         Use templates for glib-mkenums calls instead of 
7396         complicated commandlines in Makefiles.  (#429910)
7397
7398         * gdk-pixbuf/Makefile.am:
7399         * gdk/Makefile.am: 
7400         * gtk/Makefile.am: 
7401         * perf/Makefile.am: Use templates for glib-mkenums
7402
7403         * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
7404         * gdk/gdkenumtypes.[ch].template: 
7405         * gtk/gtktypebuiltings.[ch].template: 
7406         * perf/typebuiltins.[ch].template: The templates
7407
7408 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
7409
7410         * gtk/gtkfilechooserbutton.c:
7411         * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
7412         some compilers choke on that.  (#467722)
7413
7414 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
7415
7416         * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
7417         about hook setup.  (#425004, Emmanuele Bassi)
7418
7419 2007-11-26  Tor Lillqvist  <tml@novell.com>
7420
7421         * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
7422         monitor the window currently is on, not always the primary
7423         monitor. (#463865, Tim Evans)
7424
7425 2007-11-26  Tor Lillqvist  <tml@novell.com>
7426
7427         * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
7428
7429         * gdk/win32/Makefile.am: Add it.
7430
7431 2007-11-26  Tor Lillqvist  <tml@novell.com>
7432
7433         * configure.in: Don't add jasper to all_loaders if no libjasper.
7434
7435 2007-11-25  Bastien Nocera  <hadess@hadess.net>
7436
7437         * configure.in: Add detection for libjasper, used by the
7438         gdk-pixbuf JPEG2000 loader
7439
7440 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
7441
7442         * configure.in: Require gtk-doc 1.8
7443
7444         * */*.c: Use gtk-doc abbreviations for examples in docs.
7445
7446 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
7447
7448         * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
7449         typo.  (#498922)
7450
7451 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
7452
7453         * gtk/gtkdialog.c: Move signal and property documentation inline,
7454         fix a problem with the ::response signal docs.  (#499133, Josselin
7455         Mouette)
7456
7457 2007-11-22 15:48:26  Tim Janik  <timj@imendio.com>
7458
7459         * Makefile.decl: initialize automake variables EXTRA_DIST and
7460         TEST_PROGS for unconditional appending via += in other makefiles.
7461         define recursive test targets: test, test-report, perf-report,
7462         full-report, as described here:
7463       http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
7464         the test targets will execute Gtk+ test programs within an Xvfb session.
7465
7466         * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
7467
7468         * gtk/tests/testing.c: use g_test_add_func() to register tests and use
7469         g_test_run() to run the tests to integrate with the testing framework.
7470
7471         * gtk/tests/Makefile.am: removed exemplary testing rules.
7472
7473         * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
7474         * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
7475         * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
7476         * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
7477         * docs/reference/Makefile.am, docs/tools/Makefile.am:
7478         * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
7479         * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
7480         * demos/gtk-demo/Makefile.am, demos/Makefile.am:
7481         * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
7482         * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
7483         * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
7484         * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
7485         * modules/engines/ms-windows/Theme/Makefile.am:
7486         * modules/engines/ms-windows/Makefile.am:
7487         * modules/engines/Makefile.am,  modules/engines/pixbuf/Makefile.am:
7488         * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
7489         * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
7490         * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
7491         * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
7492         * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
7493         include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
7494
7495 2007-11-22  Matthias Clasen  <mclasen@redhat.com>
7496
7497         * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
7498         (#485662, patch by Herbert Valerio Riedel)
7499
7500 2007-11-22  Matthias Clasen  <mclasen@redhat.com>
7501
7502         * gtk/gtktextiter.c: Fix an aliasing problem.  (#347585, Ed Catmur)
7503
7504 2007-11-21  Richard Hult  <richard@imendio.com>
7505
7506         * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
7507         stubs for the testing functions to fix the build.
7508
7509 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
7510
7511         * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
7512         (#467711, The Written Word)
7513
7514 2007-11-21  Ross Burton  <ross@openedhand.com>
7515
7516         * gdk/x11/gdksettings.c:
7517         Add xsetting for gtk-scrolled-window-placement (#458103).
7518
7519 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
7520
7521         * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
7522         (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
7523         (#469239, Michael Natterer)
7524
7525 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
7526
7527         * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
7528         Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
7529         gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
7530         (#436536, Tommi Komulainen)
7531
7532 2007-11-21  Matthias Clasen  <mclasen@redhat.com>
7533
7534         * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
7535         property.  (#489782, Jan Janech)
7536
7537 2007-11-20  Matthias Clasen  <mclasen@redhat.com>
7538
7539         * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
7540         frames.  (#107398, Owen Taylor, Miguel Gomez)
7541
7542 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
7543
7544         Moved Gdk test functions from Gtk+ to Gdk test utils.
7545
7546         * gdk/Makefile.am: added gdktestutils.h to public includes.
7547
7548         * gdk/gdk.h: added gdktestutils.h to public includes.
7549
7550         * gdk/gdk.symbols: added gdk_test_simulate_button,
7551         gdk_test_simulate_key, gdk_test_render_sync.
7552
7553         * gdk/gdktestutils.h: new file, added prototypes for
7554         gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
7555
7556         * gdk/x11/Makefile.am: build gdktestutils-x11.c.
7557
7558         * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
7559         gdk_test_simulate_key, gdk_test_render_sync.
7560
7561         * gtk/gtktestutils.c:
7562         * gtk/gtktestutils.h:
7563         * gtk/gtk.symbols: removed gtk_test_simulate_button
7564         gtk_test_simulate_key, gtk_test_xserver_render_sync.
7565
7566         * gtk/tests/testing.c: call gdk_test_render_sync.
7567
7568 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
7569
7570         Added unit tests for Gtk+ testing utilities.
7571
7572         * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
7573         utility functions. some g_test_* related portions are disabled and need
7574         to be enabled once Gtk+ depends on a new glib with the GLib testing
7575         framework integrated.
7576
7577         * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
7578         tests.  added exemplary test rules to run tests inside Xvfb. this
7579         needs to depend on gtester for full fledged testing.
7580
7581         * gtk/Makefile.am: build gtk+/gtk/tests, define
7582         -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
7583         e.g. gtk_text_get_type().
7584
7585         * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
7586
7587 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
7588
7589         Added Gtk+ testing utilities.
7590
7591         * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
7592         functions.  for the most part, the functions herein involve
7593         navigating and interacting with dialog elements programatically,
7594         to automate user interaction tests of dialogs and widgets.
7595
7596         * gtk/gtk.h: include gtk/gtktestutils.h as public API.
7597
7598         * gtk/gtk.symbols: added gtk_test_* symbols.
7599
7600         * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
7601         the build.  generate gtktypefuncs.c which contains a list of all
7602         _get_type functions in Gtk+ and Gdk.
7603
7604 2007-11-20  Bastien Nocera  <hadess@hadess.net>
7605
7606         * configure.in: add support for conditional icns gdk-pixbuf loader
7607         (Closes: #395738)
7608
7609 2007-11-19 10:31:26  Tim Janik  <timj@imendio.com>
7610
7611         * configure.in: updated version number to 2.15.0 for development.
7612
7613 2007-11-19 10:27:39  Tim Janik  <timj@imendio.com>
7614
7615         === Branch for 2.12 ===
7616