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