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