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