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