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