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