]> Pileus Git - ~andy/gtk/blob - ChangeLog
gtk/gtkfontsel.c gtk/gtkrc.c gtk/gtkstyle.c use g_object_unref() instead
[~andy/gtk] / ChangeLog
1 2008-06-16  Michael Natterer  <mitch@imendio.com>
2
3         * gtk/gtkfontsel.c
4         * gtk/gtkrc.c
5         * gtk/gtkstyle.c
6         * gtk/gtkwidget.c: use g_object_unref() instead of the deprecated
7         gtk_rc_style_unref().
8
9 2008-06-16  Michael Natterer  <mitch@imendio.com>
10
11         * gtk/gtkcombobox.c (gtk_combo_box_class_init): use
12         _gtk_marshal_BOOLEAN__VOID instead of the deprecated
13         gtk_marshal_BOOLEAN__VOID.
14
15 2008-06-16  Michael Natterer  <mitch@imendio.com>
16
17         * gtk/gtkcellrendereraccel.h
18         * gtk/gtkiconview.h
19         * gtk/gtkobject.h: use G_TYPE macros instead of the old GTK_CHECK
20         macros for type checking.
21
22         (gtk_object_get_type): change prototype to return GType instead of
23         GtkType.
24
25 2008-06-16  Matthias Clasen  <mclasen@redhat.com>
26
27         * gtk/Makefile.am: Make folder, user-home and user-desktop links 
28         to gtk-directory in the builtin icon theme, so that we can
29         use these icon names without risk of ending up without an icon.
30
31 2008-06-16  Tor Lillqvist  <tml@novell.com>
32
33         Bug 538362 - Get Win32 icons back in the file chooser
34
35         * gtk/gtkicontheme.c (choose_icon): Check if the icon name is a
36         reference to an icon resource in a DLL or .EXE in the same format
37         as the DefaultIcon strings in the Registry. In
38         that case, extract the icon and convert to a GdkPixbuf. Patch by
39         Hans Breuer. This code has to be in sync with the corresponding
40         code in glib/gio/gcontenttype.c.
41
42 2008-06-16  Matthias Clasen  <mclasen@redhat.com>
43
44         * gtk/stock-icons/24/audio-volume*: Add icons used by GtkVolumeButton
45         to the builtin icon theme, to avoid showing broken images when
46         there is no icon theme around.  The new icons are thanks to
47         Lapo Calamandrei.
48
49 2008-06-16  Michael Natterer  <mitch@imendio.com>
50
51         * gtk/gtkfilechooserprivate.h: remove GtkTooltips member from the
52         GtkFileChooserDefault struct.
53
54         * gtk/gtkfilechooserdefault.c: don't allocate and free the
55         GtkTooltips.
56
57 2008-06-16  Carlos Garnacho  <carlos@imendio.com>
58
59         Bug 538519 – GtkCellRendererPixbuf doesn't allow unsetting the icon
60         anymore
61
62         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
63         Allow again setting any of the properties to render an image back to
64         NULL.
65
66 2008-06-15  Matthias Clasen  <mclasen@redhat.com>
67
68         * gtk/gtkimage.c: When pixel-size is specified, use
69         GTK_ICON_LOOKUP_FORCE_SIZE when loading themed icons.
70
71 2008-06-15  Carlos Garnacho  <carlos@imendio.com>
72
73         * gtk/gtkfilechooser.c (gtk_file_chooser_get_filename): Return full 
74         path here as expected, not just the basename.
75
76         * gtk/gtkfilechooserdefault.c
77         (gtk_file_chooser_default_update_current_folder): Ensure that we keep
78         a reference to file, since it can be destroyed when switching back to
79         browse mode.
80
81         * gtk/gtkfilesystem.c (get_icon_for_special_directory): Removed, home
82         and desktop directories are dealt by the filechooser as normal files,
83         not volumes, so the icon for these is handled directly by GIO.
84         (_gtk_file_system_volume_render_icon): Update caller.
85
86 2008-06-15  Matthias Clasen  <mclasen@redhat.com>
87
88         * gtk/gtkcellrendererpixbuf.c: Add a gicon property.
89
90 2008-06-14  Cody Russell  <bratsche@gnome.org>
91
92         * gdk/win32/gdkselection-win32.c (gdk_win32_selection_add_targets):
93
94         Initialize hwnd to NULL.  This fixes OpenClipboard() failure and,
95         according to MSDN docs, associates the open clipboard with the
96         current task.  (#378158, reported by Andreas Köhler)
97
98 2008-06-13  Matthias Clasen  <mclasen@redhat.com>
99
100         * configure.in: Bump version
101
102         * === Released 2.13.3 ===
103
104 2008-06-13  Matthias Clasen  <mclasen@redhat.com>
105
106         * gtk/gtkaccelgroup.c: Add some docs
107
108         * gdk/gdkwindow.c: Fix doc typos
109
110 2008-06-13  Matthias Clasen  <mclasen@redhat.com>
111
112         * gtk/gtkfilesystem.c: Avoid PLT entries by including
113         gtkalias.h
114
115 2008-06-13  Matthias Clasen  <mclasen@redhat.com>
116
117         * gtk/gtkfilechooserbutton.c:
118         * gtk/gtkfilechooserdefault.c:
119         * gtk/gtkfilechooserentry.c:
120         * gtk/gtkfilesystem.c:
121         * gtk/gtkfilesystem.h:
122         * gtk/gtkfilesystemmodel.c:
123         * gtk/gtkpathbar.c: Really make GtkFileSystem private
124         by _-prefixing all functions.
125
126 2008-06-13  Matthias Clasen  <mclasen@redhat.com>
127
128         * docs/RELEASE-HOWTO: Updates
129         * INSTALL.in: Bump version
130
131 2008-06-13  Matthias Clasen  <mclasen@redhat.com>
132
133         * NEWS: Updates
134
135 2008-06-13  Michael Natterer  <mitch@imendio.com>
136
137         * gtk/gtkcellrendereraccel.h
138         * gtk/gtkfilechooser.h
139         * gtk/gtkfilechooserdialog.h
140         * gtk/gtkfilechooserwidget.h
141         * gtk/gtkmenutoolbutton.h
142         * gtk/gtkpagesetup.h
143         * gtk/gtkpapersize.h
144         * gtk/gtkprintcontext.h
145         * gtk/gtkprintoperation.h
146         * gtk/gtkprintoperationpreview.h
147         * gtk/gtkprintsettings.h
148         * gtk/gtkradiotoolbutton.h
149         * gtk/gtkrecentchooser.h
150         * gtk/gtkrecentchooserdialog.h
151         * gtk/gtkrecentchoosermenu.h
152         * gtk/gtkrecentchooserwidget.h
153         * gtk/gtkseparatortoolitem.h
154         * gtk/gtkshow.h
155         * gtk/gtktoggletoolbutton.h
156         * gtk/gtktoolbar.h
157         * gtk/gtktoolbutton.h
158         * gtk/gtktooltip.h: #include <gtk/gtkfoo.h> instead of
159         "gtk/gtkfoo.h" or even just "gtkfoo.h" in public headers.
160
161 2008-06-13  Michael Natterer  <mitch@imendio.com>
162
163         * gtk/gtktexttagtable.h: remove double inclusion of
164         <gtk/gtktexttag.h>.
165
166 2008-06-13  Michael Natterer  <mitch@imendio.com>
167
168         * gtk/gtkaction.c (gtk_action_set_short_label): change type of
169         local "image" variable from GtkImage to GtkWidget to fix warning.
170
171 2008-06-13  Michael Natterer  <mitch@imendio.com>
172
173         * gtk/gtkcombobox.c (gtk_combo_box_menu_position): cast menu's
174         toplevel to GtkWindow when passing to gtk_window_set_type_hint().
175
176 2008-06-13  Michael Natterer  <mitch@imendio.com>
177
178         * gtk/gtkuimanager.c (start_element_handler): silently skip
179         unknown attributes instead of bailing out with an error in order
180         to be compatible with possible future attribute names.
181
182         This is related to the discussion in bug #516425 but actually
183         needed for any kind of XML format extension.
184
185 2008-05-23  Hans Breuer  <hans@breuer.org>
186
187         * gtk/gtkprintoperation.c : check surface status after ceating a pdf.
188         Avoids crashing when the target can not be written, bug #537685
189
190         * gdk/win32/gdkdisplay-win32.c : runtime linking of ProcessIdToSessionId
191
192         * gtk/gtkfilesystem.c : variadic macros are not supported with c89 and
193         it was not needed here anyway.
194
195 2008-06-13 Matthias Clasen  <mclasen@redhat.com>
196
197         * gtk/gtkentry.c (gtk_entry_draw_frame): Fix frame size allocation.
198         Patch by Jan Arne Peterson
199
200 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
201
202         Bug 537985 – gtk_init_with_args() doesn't open a display after
203         gtk_parse_args()
204
205         * gtk/gtkmain.c (gtk_init_with_args): Open the default display
206         even when gtk_parse_args() has already been called.
207         Patch by Mathias Hasselmann
208
209 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
210
211         Bug 524222 – GtkToolbar with mix of buttons with and without 
212         icons looks "bad"
213
214         * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents):
215         Improve appearance of "both vertical" mode toolbuttons.
216         Patch by Peter Johanson
217
218 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
219
220         Bug 519092 – Add accessibility support to GtkVolumeButton
221
222         * gtk/gtkvolumebutton.c: Set accessibility descriptions.
223         Patch by Jonh Wendell
224
225 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
226
227         Bug 517706 – Connecting GtkButton with "use-stock" == FALSE to a
228         GtkAction has problems
229         Patch by Peter Johanson
230
231         * gtk/gtkaction.c (connect_proxy): Set the image of a button
232         proxy to the "icon-name" property.
233
234         (gtk_action_set_short_label):  If the "image" property is set 
235         on the button proxy, also tries to set the "label" property on 
236         the GtkButton.
237
238 2008-06-12  Michael Natterer  <mitch@imendio.com>
239
240         * gtk/gtkmain.c
241         * gtk/gtktrayicon-x11.c: don't #include <libintl.h>, it's pulled
242         in via "gtkintl.h" from <glib/gi18n-lib.h>.
243
244 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
245
246         RH bug 248245 and 449379: cups client printing from gnome
247         applications fail
248
249         * modules/printbackends/cups/gtkprintbackendcups.c: Really fix
250         printer URI construction. Patch by Marek Kasik
251         
252 2008-06-12  Michael Natterer  <mitch@imendio.com>
253
254         * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
255         limit the number of displayed items by the actual screen height
256         instead of some arbitrary value (Bug #408154, Xan Lopez and
257         Christian Dywan).
258
259 2008-06-11  Behdad Esfahbod  <behdad@gnome.org>
260
261         Bug 503071 – Application direction changes to right to left even if
262         theres no translation
263
264         * configure.in: Bump glib requirement.
265
266         * gtk/gtkaccellabel.c
267         (_gtk_accel_label_class_get_accelerator_label):
268         * gtk/gtkactiongroup.c (dgettext_swapped):
269         * gtk/gtkbuilder.c (gtk_builder_class_init):
270         * gtk/gtkbuilderparser.c (_dpgettext),
271         (_gtk_builder_parser_translate):
272         * gtk/gtkfilechooserdefault.c (list_size_data_func):
273         * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
274         * gtk/gtkintl.h:
275         * gtk/gtkmain.c (setlocale_initialization),
276         (do_pre_parse_initialization), (gettext_initialization):
277         * gtk/gtkstock.c (gtk_stock_lookup), (sgettext_swapped):
278         Use g_dgettext() and g_dngettext().
279
280 2008-06-11  Matthias Clasen <mclasen@redhat.com>
281
282         * docs/RELEASE-HOWTO: Updates
283
284 2008-06-11  Tor Lillqvist  <tml@novell.com>
285
286         * gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): As we don't
287         support Win9x anyway, we can use ProcessIdToSessionId()
288         unconditionally.
289
290 2008-06-11  Michael Natterer  <mitch@imendio.com>
291
292         * gtk/gtkfilechooserbutton.c: fix local prototype of
293         _gtk_file_chooser_label_for_file() (takes a GFile, not const gchar*).
294
295 2008-06-10  Matthias Clasen <mclasen@redhat.com>
296
297         Bug 536765 – GtkComboBox should set COMBO type hint for its menu
298
299         * gtk/gtkoptionmenu.c:
300         * gtk/gtkcombobox.c: Set the window type hint on popups.
301         Patch by Danny Baumann
302
303 2008-06-10  Matthias Clasen <mclasen@redhat.com>
304
305         * gtk/gtkfilesystem.c (get_icon_for_special_directory):
306         (gtk_file_system_volume_render_icon): Add standard icon names,
307         and also fall back to builtin gtk stock icons.
308
309 2008-06-10  Christian Persch  <chpe@gnome.org>
310
311         * gtk/gtktreeview.c: (destroy_info), (set_destination_row),
312         (gtk_tree_view_maybe_begin_dragging_row),
313         (gtk_tree_view_set_reorderable),
314         (gtk_tree_view_enable_model_drag_source),
315         (gtk_tree_view_enable_model_drag_dest),
316         (gtk_tree_view_unset_rows_drag_source),
317         (gtk_tree_view_unset_rows_drag_dest): Make
318         gtk_tree_view_enable_model_drag_[source|dest] compatible with
319         gtk_drag_[source|dest]_add_*_targets. Bug #506853.
320
321 2008-06-10  Christian Persch  <chpe@gnome.org>
322
323         * gtk/gtktreeview.c: (gtk_tree_view_button_release_drag_column),
324         (dest_row_free), (set_dest_row), (ensure_info),
325         (gtk_tree_view_remove), (gtk_tree_view_put),
326         (gtk_tree_view_set_column_drag_info): Use GSlice. Patch from
327         bug #506853.
328
329 2008-06-10  Paolo Borelli  <pborelli@katamail.com>
330
331         * gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri)
332         use g_file_new_for_uri.
333
334 2008-06-10  Paolo Borelli  <pborelli@katamail.com>
335
336         * gtk/gtkfilesystem.c (gtk_file_system_volume_render_icon): do not
337         leak the GIcon.
338
339 2008-06-10  Carlos Garnacho  <carlos@imendio.com>
340
341         * configure.in:
342         * gtk/Makefile.am:
343         * gtk/xdgmime: removed local xdgmime copy as Matthias suggested in bug
344         #520874, comment #8. It's no longer used directly by GTK+.
345
346 2008-06-10  Carlos Garnacho  <carlos@imendio.com>
347
348         Bug 520874 - Should use gio directly.
349
350         * gtk/gtkfilesystem.[ch]: Turn into a private object, which mostly
351         provides helper functions for asynchronous calls, folder abstraction
352         and uniform handling of volumes/drives/mounts.
353
354         * gtk/gtkfilesystemwin32.[ch]:
355         * gtk/gtkfilesystemunix.[ch]: Removed, these are no longer required.
356
357         * gtk/gtkfilechooser.c:
358         * gtk/gtkfilechooserbutton.c:
359         * gtk/gtkfilechooserdefault.c:
360         * gtk/gtkfilechooserentry.[ch]:
361         * gtk/gtkfilechooserprivate.h:
362         * gtk/gtkfilechooserutils.c:
363         * gtk/gtkfilesystemmodel.[ch]:
364         * gtk/gtkpathbar.[ch]: Use GIO internally. Adapt to GtkFileSystem API.
365         Do not load filesystem implementation modules.
366
367         * gtk/Makefile.am:
368         * gtk/gtk.symbols: the gtkfilesystem.h private header isn't installed
369         anymore, nor the unix/win32 implementations.
370
371         * README.in: Add blurb about these changes.
372
373 2008-06-09  Kristian Rietveld  <kris@gtk.org>
374
375         Bug 526987 - GtkCellRendererCombo should allow model to be NULL
376
377         * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
378         (gtk_cell_renderer_combo_set_property),
379         (gtk_cell_renderer_combo_editing_done),
380         (gtk_cell_renderer_combo_start_editing): introduce private class
381         struct, allow model to be set to NULL.
382
383 2008-06-08  Björn Lindqvist  <bjourne@gmail.com>
384
385         Bug 131920 – gtkNotebook sends incorrect switch_page value
386
387         * gtk/gtknotebook.c (gtk_notebook_real_remove): Make switch-page
388         signal send correct page index when page index 0 is active and
389         removed. (#131920, Samuel Fogh)
390
391 2008-06-08  Kristian Rietveld  <kris@gtk.org>
392
393         Bug 536730 - memory corruption in gtktreeview
394
395         * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): first
396         remove the expand/collapse timeout and node, then free the rbtree.
397
398 2008-06-08  Kristian Rietveld  <kris@gtk.org>
399
400         Bug 488119 - critical warnings from gtk_tree_view_get_visible_range
401
402         * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): only try to
403         find path if we found valid nodes, return FALSE otherwise.  (Patch
404         from Matthias Clasen).
405
406 2008-06-08  Matthias Clasen  <mclasen@redhat.com>
407
408         * gtk/gtkrecentmanager.c:
409         * gtk/gtkrecentfilter.c:
410         * gtk/gtkfilefilter.c: Replace uses of xdgmime with
411         g_content_type.
412         
413 2008-06-08  Christian Persch <chpe@gnome.org>
414
415         Bug 535608 – do not string-copy accel paths in the menu code
416
417         * gtk/gtkaccelgroup.c:
418         * gtk/gtkaccelmap.c:
419         * gtk/gtkaction.c:
420         * gtk/gtkmenu.c:
421         * gtk/gtkmenuitem.c:
422         * gtk/gtkwidget.c:  Don't store the accel path as a string in
423         gtkmenu/gtkmenuitem. The accel path will be interned anyway, so
424         keeping a string copy around is just a waste of memory.
425         Improve the documentation to mention this.
426
427 2008-06-07  Tor Lillqvist  <tml@novell.com>
428
429         Bug 536990 - updateiconcache.c: 'close ()' is redundant
430
431         * gtk/updateiconcache.c (build_cache): Drop redundant close()
432         calls. fclose() on a fdopen()ed stream closes the underlying file
433         descriptor.
434
435 2008-06-06  Matthias Clasen  <mclasen@redhat.com>
436
437         Bug 536757 – regression: openoffice.org menus are placed at wrong
438         position since 2.12.10
439
440         * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
441         Return the right coordinates.  
442
443 2008-06-06  Behdad Esfahbod  <behdad@gnome.org>
444
445         Bug 536185 – monitor font configuration
446
447         * configure.in:
448         * gdk/x11/gdksettings.c:
449         * gtk/gtksettings.c (gtk_settings_class_init),
450         (gtk_settings_notify), (settings_update_fontconfig):
451         Monitor xsettings key Fontconfig/Timestamp and upon change,
452         reread fontconfig configuration, clear Pango's caches, and
453         redraw all widgets.
454
455 2008-06-06  Ross Burton  <ross@burtonini.com>
456
457         * gtk/gtkwindow.c:
458         Fix trivial typo in documentation.
459
460 2008-06-06  Tor Lillqvist  <tml@novell.com>
461
462         * config.h.win32.in: Slight update to match what configure
463         produces.
464
465 2008-06-05  Johan Dahlin  <jdahlin@async.com.br>
466
467         * gtk/gtkbuilder.h (enum): Add the new version mismatch error
468         constant to the end of the list, to avoid breaking the stable ABI
469
470 2008-06-05  Michael Natterer  <mitch@imendio.com>
471
472         * configure.in: add -DATK_DISABLE_SINGLE_INCLUDES to CPPFLAGS.
473
474 2008-06-05  Li Yuan  <li.yuan@sun.com>
475
476         * gail-uninstalled.pc.in:
477         Bug #536430. Patch from Damien Carbery <damien.carbery@sun.com>.
478         Correct paths to gail headers and libraries in gail-uninstalled.pc.in.
479
480 2008-06-03  Matthias Clasen  <mclasen@redhat.com>
481
482         * docs/RELEASE-HOWTO: Update a bit
483
484 2008-06-03  Matthias Clasen  <mclasen@redhat.com>
485
486         * configure.in: Bump version
487
488         * === Released 2.13.2 ===
489
490 2008-06-03  Federico Mena Quintero  <federico@novell.com>
491
492         * gtk/gtkfilechooserentry.c (install_completion_feedback_timer):
493         If the user presses Tab while the completion feedback window is
494         active, then we'll assert.  Remove the assertion and just re-set
495         the timer.  Fixes https://bugzilla.novell.com/show_bug.cgi?id=355225
496
497 2008-06-03  Colin Walters  <walters@redhat.com>
498         
499         Bug 535303 – add _get_implementation to GtkStatusIcon
500
501         * gtk/gtkstatusicon.c (gtk_status_icon_get_x11_window_id): New
502         function to retrieve internal X11 window ID, useful for libnotify.
503         * gtk/gtkstatusicon.h: Prototype it.
504         * docs/reference/gtk/gtk-sections.txt: Add to docs.
505         * gtk/gtk.symbols: Export it.
506
507 2008-06-03  Tor Lillqvist  <tml@novell.com>
508
509         * gtk/updateiconcache.c (build_cache): Use g_open().
510
511 2008-06-03  Michael Natterer  <mitch@imendio.com>
512
513         * gtk/gtkclist.h
514         * gtk/gtkctree.h: revert includes to how they have been before the
515         GTK_DISABLE_SINGLE_INCLUDES changes. Apparently I missed the fact
516         that you can't include <gtk/gtk.h> from two headers where one is a
517         parent class of the other and expect them both to be includable
518         individually.
519
520 2008-06-03  Michael Natterer  <mitch@imendio.com>
521
522         * gtk/gtkprinteroptionset.h: remove newline at beginning of file.
523
524 2008-06-02  Matthias Clasen  <mclasen@redhat.com>
525         
526         Bug 536092 – GtkEntryCompletion's popup window should set type hint
527
528         * gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set
529         a type hint on the popup window to help compiz.
530         Patch by Vaclav Slavik.
531
532 2008-06-02  Claudio Saavedra  <csaavedra@igalia.com>
533
534         Bug 535862 – gtk_action_create_icon can't create icons from the
535         icon themes
536
537         * gtk/gtkaction.c: (gtk_action_create_icon): Look for the icon in
538         the default factories as it's supposed.
539
540 2008-06-02  Yevgen Muntyan  <muntyan@tamu.edu>
541
542         Bug 535497 – Print preview doesn't work.
543
544         * gtk/Makefile.am: GTK_PRINT_PREVIEW_COMMAND on quartz: use open
545         instead of launching Preview.app directly.
546
547 2008-06-02  Michael Natterer  <mitch@imendio.com>
548
549         * gtk/gtksignal.h: put back #include <gtk/gtkmarshal.h>, it's not
550         in <gtk/gtk.h>. Fixes stuff that uses deprecated cruft.
551         (bug #536126).
552
553 2008-05-31  Emmanuele Bassi  <ebassi@gnome.org>
554
555         Bug 535830 – wrong content type adding an item
556
557         * gtk/gtkrecentmanager.c:
558         (gtk_recent_manager_add_item_query_info): Use the correct API
559         for retrieving the fast MIME type of a URI. (Carlos Garcia
560         Campos)
561
562 2008-05-31  Kristian Rietveld  <kris@imendio.com>
563
564         Bug 530146 - Setting non-string tooltip with
565         gtk_tree_view_set_tooltip_column() segfaults
566
567         * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_query_cb): use
568         gtk_tree_model_get_value() and explicitly transform the value to a
569         string before setting it as tooltip.
570
571 2008-05-30  Tor Lillqvist  <tml@novell.com>
572
573         * modules/engines/ms-windows/msw_style.h
574         * modules/engines/ms-windows/msw_rc_style.h: Include gtk.h.
575
576 2008-05-30  Michael Natterer  <mitch@imendio.com>
577
578         * gtk/gtkmenu.c (get_attach_info): cast attach_info_free() to
579         GDestroyNotify when using it in g_object_set_data_full().
580
581 2008-05-30  Michael Natterer  <mitch@imendio.com>
582
583         * gdk/gdkapplaunchcontext.h
584         * gdk/gdktestutils.h
585         * gtk/gtkmountoperation.h
586         * gtk/gtkshow.h
587         * gtk/gtktestutils.h
588         * gtk/gtktoolshell.h: no need to allow disabling single includes
589         conditionally in these new files. Simply forbid including them
590         individually from the beginning.
591
592 2008-05-30  Tor Lillqvist  <tml@novell.com>
593
594         Bug 533108 - leak of GDI region in function 'handle_wm_paint'
595
596         * gdk/win32/gdkevents-win32.c (handle_wm_paint): Patch by Daniel
597         Atallah.
598
599 2008-05-29  Matthias Clasen <mclasen@redhat.com>
600
601         * configure.in: Bump version 
602
603         * === Released 2.13.1 ===
604
605         * NEWS: Updates
606
607 2008-05-29  Matthias Clasen <mclasen@redhat.com>
608
609         * gtk/gtkwidget.c: s/2.16/2.14/ in Since tags
610
611 2008-05-29  Matthias Clasen <mclasen@redhat.com>
612
613         * tests/Makefile.am: Don't add testmountoperation to TEST_PROGS.
614
615 2008-05-29  Tor Lillqvist  <tml@novell.com>
616
617         Bug 535526 - updateiconcache.c: using open/close without prototype
618
619         * gtk/updateiconcache.c: Include <io.h> if _MSC_VER. Also, use
620         g_utime() when available instead of utime() for UTF-8 pathname
621         support on Windows.
622
623 2008-05-29  Jan Arne Petersen  <jpetersen@jpetersen.org>
624
625         Bug 56355 – GtkLabel - Not all changes propagate correctly
626
627         * gtk/gtklabel.c: (gtk_label_recalculate), (gtk_label_set_label),
628         (gtk_label_set_markup_with_mnemonic), (gtk_label_parse_uline),
629         (gtk_label_set_text_with_mnemonic), (gtk_label_set_use_underline):
630         Call gtk_label_setup_mnemonic from gtk_label_recalculate. Add
631         notifications of mnemonic-keyval changes.
632
633 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
634
635         Bug 522084 – GIcon support for GtkIconTheme & GtkImage
636
637         * gtk/gtkicontheme.[hc]: Add support for GIcon based lookups.
638         * gtk/gtkimage.[hc]: Allow setting an image from a GIcon.
639         * gtk/gtk.symbols: Additions
640         * tests/testimage.c: Add a GIcon test
641
642 2008-05-29  Michael Natterer  <mitch@imendio.org>
643
644         * gtk/Makefile.am
645         * gtk/gtkunixprint.h: add a single-include header for the unix
646         print stuff.
647
648         * gtk/gtkpagesetupunixdialog.h
649         * gtk/gtkprinter.h
650         * gtk/gtkprintjob.h
651         * gtk/gtkprintunixdialog.h: add single-include guards that #error
652         out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these
653         files is included individually.
654
655         * gtk/gtkprintbackend.h
656         * gtk/gtkprinter-private.h
657         * modules/printbackends/cups/gtkprintbackendcups.c
658         * modules/printbackends/cups/gtkprintercups.h
659         * modules/printbackends/lpr/gtkprintbackendlpr.c
660         * tests/buildertest.c
661         * tests/defaultvaluetest.c
662         * docs/tools/widgets.c: include <gtk/gtkunixprint.h> instead of
663         individual files.
664
665 2008-05-28  Michael Natterer  <mitch@imendio.com>
666
667         * gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
668         excess newlines and sprinkled some newlines where needed. Zero
669         code or formatting changes included.
670
671 2008-05-28  Michael Natterer  <mitch@imendio.com>
672
673         * gtk/gtkprinter.h: fix formatting of details_acquired() signal.
674
675 2008-05-28  Michael Natterer  <mitch@imendio.com>
676
677         * gtk/gtkcolorbutton.h: fix comment: the widget is called
678         GtkColorButton, not GtkColorSelectButton. Remove trailing
679         whitespace and excess newlines.
680
681 2008-05-28  Michael Natterer  <mitch@imendio.com>
682
683         * configure.in: last but not least, add G_DISABLE_SINGLE_INCLUDES,
684         GDK_PIXBUF_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES
685         to CPPFLAGS so it's impossible to commit code that would break
686         apps which use DISABLE_INCLUDE defines.
687
688 2008-05-28  Michael Natterer  <mitch@imendio.com>
689
690         * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
691         headers.
692
693         * gtk/gtktypebuiltins.h.template
694         * gtk/gtkversion.h.in
695         * gtk/gtk*.h: add single-include guards that #error out if
696         GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
697         included individually.
698
699         * gtk/gtkprintbackend.h
700         * gtk/gtkprinter-private.h
701         * gtk/gtktextlayout.h
702         * gtk/gtktexttagprivate.h
703         * gtk/gtktexttypes.h
704         * gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
705         headers in these private or semi-private headers.
706
707         * gtk/gtkimmodule.h: also here because it's not in gtk.h.
708
709         * gtk/gtkpagesetupunixdialog.h
710         * gtk/gtkprinter.h
711         * gtk/gtkprintjob.h
712         * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
713
714         * gtk/gtkclist.h
715         * gtk/gtkcombo.h
716         * gtk/gtkctree.h
717         * gtk/gtkfilesel.h
718         * gtk/gtkitemfactory.h
719         * gtk/gtklist.h
720         * gtk/gtklistitem.h
721         * gtk/gtkoldeditable.h
722         * gtk/gtkoptionmenu.h
723         * gtk/gtkpixmap.h
724         * gtk/gtkpreview.h
725         * gtk/gtksignal.h
726         * gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
727         instead of individual headers in these deprecated headers. They
728         don't get included at all when GTK_DISABLE_DEPRECATED is defined,
729         so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
730         and include them individually, which should continue to work.
731
732         * gtk/gtkclist.c: include "gtkctree.h" because of the change
733         above.
734
735 2008-05-28  Kristian Rietveld  <kris@imendio.com>
736
737         Bug 449625 - crash in gtk_tree_view_real_move_cursor at
738         gtktreeview.c:9641
739
740         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down):
741         cursor_offset *must* be larger than background height of the cursor
742         node, not just equal otherwise there is no guarantee there is a next
743         node.
744
745 2008-05-28  Michael Natterer  <mitch@imendio.com>
746
747         * gtk/gtktestutils.c: don't include <gdk/gdktestutils.h>.
748
749 2008-05-28  Michael Natterer  <mitch@imendio.com>
750
751         * gdk/gdk.h: define __GDK_H_INSIDE__ around including all other
752         headers.
753
754         * gdk/gdkenumtypes.h.template
755         * gdk/gdk*.h: add single-include guards that #error out if
756         GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
757         included individually. Also removed some redundant includes and
758         did some tiny trailing whitespace removal that's not worth to
759         commit separately.
760
761         * gdk/gdkprivate.h: include <gdk/gdk.h> instead of individual
762         files.
763
764         * gdk/win32/gdkwin32.h
765         * gdk/x11/gdkx.h: only include <gdk/gdkprivate.h> and remove all
766         other includes.
767
768 2008-05-28  Kristian Rietveld  <kris@imendio.com>
769
770         Bug 504087 - make gtk_tooltip_set_custom a no-op for setting the
771         current widget again.
772
773         * gtk/gtktooltip.c (gtk_tooltip_set_custom),
774         (gtk_tooltip_reset), (gtk_tooltip_run_requery): use a
775         custom_was_reset field to check if the custom widget is set again in
776         the query-tooltip callback; if not, we set it to NULL.  Based on a
777         patch by Xavier Claessens, insightful comments from Jean-Yves Lefort
778         and Christian Persch.
779
780 2008-05-28  Michael Natterer  <mitch@imendio.com>
781
782         * modules/printbackends/cups/gtkcupsutils.c
783         * modules/printbackends/cups/gtkprintbackendcups.c
784         * modules/printbackends/file/gtkprintbackendfile.c
785         * modules/printbackends/lpr/gtkprintbackendlpr.c: include
786         <gtk/gtk.h> instead of individual files.
787
788 2008-05-28  Michael Natterer  <mitch@imendio.com>
789
790         * demos/testpixbuf.c: include <gdk-pixbuf/gdk-pixbuf.h> instead of
791         individual files.
792
793 2008-05-28  Kristian Rietveld  <kris@imendio.com>
794
795         Bug 498010 - gtk_tree_view_set_cursor fails if model!=NULL.
796
797         * gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): return if fail
798         ->priv->tree != NULL.  Suggestion from Stefan Kost.
799
800 2008-05-28  Kristian Rietveld  <kris@imendio.com>
801
802         Bug 324282 - add selected signal to cell renderer combo.
803
804         * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
805         (gtk_cell_renderer_combo_changed),
806         (gtk_cell_renderer_combo_start_editing): add a new "changed" signal
807         that will be emitted as soon as the combo box emitted changed and has
808         an active iterator.  (Modified patch based on work by James
809         Pelletier).
810
811         * gtk/gtkmarshalers.list: add marshaler.
812
813 2008-05-28  Kristian Rietveld  <kris@imendio.com>
814
815         Refactor expand/collapse timeout handling (amendment to bug 511217).
816
817         * gtk/gtktreeview.c (add_expand_collapse_timeout),
818         (remove_expand_collapse_timeout): new functions, the remove function
819         also clears expanded_collapsed_node,
820         (cancel_arrow_animation): moved to be next to the add/remove timeout
821         functions,
822         (gtk_tree_view_unrealize),
823         (gtk_tree_view_row_deleted),
824         (gtk_tree_view_set_model),
825         (cancel_arrow_animation),
826         (gtk_tree_view_real_expand_row),
827         (gtk_tree_view_real_collapse_row): use the new add/remove functions.
828
829 2008-05-28  Kristian Rietveld  <kris@imendio.com>
830
831         Amendment of bug 485218 - Strange warning encountered.
832
833         * gtk/gtktreemodelsort.[ch]
834         (gtk_tree_model_sort_convert_child_iter_to_iter): return a boolean
835         indication whether or not the conversion had succeeded.
836
837 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
838
839         Bug 509788 - GTK+ should use CUPS to set Postscript level of PS output
840
841         * modules/printbackends/cups/gtkprintbackendcups.c
842         (cups_printer_create_cairo_surface): Fall back to PostScript level 2
843         if the printer does not support level 3. Patch by Marek Kašík.
844
845 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
846
847         Bug 404571 - Scroll arrow backgrounds should be painted with different
848         detail
849
850         * gtk/gtkmenu.c (gtk_menu_paint): Use "menu_scroll_arrow_up/down" 
851         as detail when drawing scroll arrow backgrounds. Proposed by
852         Tommi Komulainen.
853         
854 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
855
856         Bug 511217 - potential memory corruption after refreshing a tree_view
857
858         * gtk/gtktreeview.c (cancel_arrow_animation): Reset
859         expanded_collapsed_node when canceling the animation.
860         Patch by Nicholas Setton.
861
862 2008-05-28  Michael Natterer  <mitch@imendio.com>
863
864         * modules/input/gtkimcontextime.h
865         * modules/input/gtkimcontextmultipress.h
866         * modules/input/gtkimcontextthai.h
867         * modules/input/gtkimcontextxim.h: include <gtk/gtk.h> instead of
868         individual files.
869
870         * modules/input/gtkimcontextime.c
871         * modules/input/gtkimcontextmultipress.c
872         * modules/input/gtkimcontextxim.c
873         * modules/input/imam-et.c
874         * modules/input/imcedilla.c
875         * modules/input/imcyrillic-translit.c
876         * modules/input/iminuktitut.c
877         * modules/input/imipa.c
878         * modules/input/imti-er.c
879         * modules/input/imti-et.c
880         * modules/input/imviqr.c: ditto. Some minor cleanups like moving
881         "gtk/gtkintl.h" to the end of includes.
882
883 2008-05-28  Michael Natterer  <mitch@imendio.com>
884
885         * modules/engines/pixbuf/pixbuf-style.h
886         * modules/engines/pixbuf/pixbuf-rc-style.h: include <gtk/gtk.h>
887         instead of individual files.
888
889 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
890
891         Bug 485218 - Strange warning encountered
892
893         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted):
894         (gtk_tree_model_sort_convert_child_iter_to_iter):
895         (gtk_tree_model_sort_build_level): Better warnings. Patch
896         by Kristian Rietveld.
897
898 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
899
900         Bug 351910 - Search column setting lost
901
902         * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Clarify
903         the docs. Patch by Matt Barnes.
904
905 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
906
907         Bug 477278 - avoid unnecessary pointer subtraction
908
909         * gtk/gtkaccelgroup.c (quick_accel_remove): Avoid pointer 
910         subtraction that sparse complains about. Patch by Christian
911         Persch.
912
913 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
914
915         Bug 106574 - Inconsistent increment behavior for gtkspinbutton
916
917         * gtk/gtkspinbutton.c (gtk_spin_button_real_value_change):
918         Commit the entry text before doing an increment. Patch by
919         Björn Lindqvist.
920
921 2008-05-27  Federico Mena Quintero  <federico@novell.com>
922
923         http://bugzilla.gnome.org/show_bug.cgi?id=533891 - Don't allow
924         drag and drop from the file list into itself, as it doesn't make
925         sense (it would just change the current folder).
926
927         * gtk/gtkfilechooserdefault.c (file_list_dest_targets): Use
928         GTK_TARGET_OTHER_WIDGET so we don't DnD from the file list into
929         itself.
930
931 2008-05-27  Michael Natterer  <mitch@imendio.com>
932
933         * gtk/gtksignal.h: move deprecated guards around everything,
934         including includes and include guards (just as in all other
935         deprecated files).
936
937 2008-05-27  Tor Lillqvist  <tml@novell.com>
938
939         * gtk/updateiconcache.c (build_cache): Use simpler mode for open()
940         on Windows. (No S_I?GRP and S_I?OTH bits are defined in
941         <sys/stat.h> on Windows, and the mode used in open() doesn't
942         matter much as there are no rwxrwxrwx bits on Windows anyway.)
943         Open file in binary mode. Passing "b" to fdopen() later isn't
944         enough.
945
946 2008-05-27 10:33:41  Tim Janik  <timj@imendio.com>
947
948         * gtk/gtkwidget.c: guard gtk_widget_get_snapshot() against
949         invalid or invisible widgets.
950
951 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
952
953         Bug 531008 – Crash in gtkprintunixdialog.c
954
955         * gtk/gtkprintunixdialog.c: Disconnect signal handlers when
956         the dialog closes. Patch by Yevgen Muntyan.
957
958 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
959
960         RH bug 248245: cups client printing from gnome applications fail
961
962         * modules/printbackends/cups/gtkprintbackendcups.c
963         (gtk_print_backend_cups_print_stream): Specify the right server.
964
965 2008-05-27  Carlos Garnacho  <carlos@imendio.com>
966
967         * gtk/gtkfilechooserdefault.c (set_select_multiple): Enable
968         rubberbanding when "select-multiple" is TRUE. Bug #446068.
969
970 2008-05-27  Carlos Garnacho  <carlos@imendio.com>
971
972         * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Enable
973         correctly dialog buttons sensitivity when the anonymous option is
974         enabled by default. Bug #531865.
975
976 2008-05-27  Carlos Garnacho  <carlos@imendio.com>
977
978         * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Set
979         password dialog modal and transient for the parent window also if it
980         was specified in the constructor. Bug #531864.
981
982 2008-05-26  Richard Hult  <richard@imendio.com>
983
984         * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Try
985         setting the default font, might need to tweak this.
986
987 2008-05-26  Michael Natterer  <mitch@imendio.com>
988
989         * examples/gtkdial/gtkdial.h
990         * modules/input/gtkimcontextthai.h: use G_BEGIN/END_DECLS.
991
992 2008-05-26  Michael Natterer  <mitch@imendio.com>
993
994         * gtk/gtkimmodule.h: fix indentation.
995
996 2008-05-26  Michael Natterer  <mitch@imendio.com>
997
998         * gtk/gtkshow.h: include "gdk/gdk.h" instead of "gdk/gdkscreen.h"
999
1000         * gtk/gtkshow.c: remove inclusion of single files from gdk/
1001
1002         Removed trailing whitespace in both files.
1003
1004 2008-05-26  Richard Hult  <richard@imendio.com>
1005
1006         Bug 530353 – Mac-like gtk_accelerator_get_label()
1007
1008         * gtk/gtkaccellabel.c: (gtk_accel_label_class_init),
1009         (append_keyval_symbol), (_gtk_accel_label_class_get_accelerator_label):
1010         On quartz, make gtk_accelerator_get_label() format a Mac-like
1011         string, using unicode characters for modifier keys, arrows, delete
1012         etc. Patch from Yevgen Muntyan.
1013
1014 2008-05-26  Richard Hult  <richard@imendio.com>
1015
1016         Bug 534869 – Length miscalculation in
1017         _gtk_quartz_get_selection_data_from_pasteboard
1018
1019         * gtk/gtkquartz.c: (_gtk_quartz_get_selection_data_from_pasteboard):
1020         Get the number of bytes, not the number of characters, patch from
1021         Yevgen Muntyan.
1022
1023 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
1024
1025         * gtk/gtkwidget.c: Some doc formatting fixes.
1026
1027 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
1028
1029         Bug 511163 – Remove pango_extents_to_pixels() calls
1030
1031         * gtk/gtkcellrenderertext.c (get_size): Use
1032         pango_layout_get_pixel_extents.
1033
1034         * configure.in: Bump Pango requirement to 1.20
1035
1036         * INSTALL.in: Update required versions
1037
1038 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
1039
1040         Bug 513811 – Use cairo_format_stride_for_width()
1041
1042         * gtk/gtkhsv.c (paint_ring, paint_triangle):
1043         * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Use
1044         cairo_format_stride_for_width, proposed by Behdad Esfahbod.
1045
1046         * configure.in: Bump cairo requirement to 1.6.0
1047
1048         * INSTALL.in: Update required versions
1049
1050 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
1051
1052         * gtk/gtkshow.[hc]: Formatting fixes
1053
1054         * gtk/gtkmountoperation.c: Add docs
1055
1056 2008-05-25  Cody Russell  <bratsche@gnome.org>
1057
1058         Bug 507389 – use gslice for gtksettings
1059
1060         * gtk/gtksettings.c: Change from g_new0/g_free to use GSlice.
1061         Report and patch by Christian Persch.
1062
1063 2008-05-25  Cody Russell  <bratsche@gnome.org>
1064
1065         Bug 523562 - gtk-update-icon-cache core dumps when run concurrently and
1066         when options are missing
1067
1068         * gtk/updateiconcache.c: Open the cache file (O_CREAT | O_EXCL) so
1069         that other processes that try to open it will fail gracefully.  Also
1070         fix a crasher caused by lack of a NULL check.  Report and patch
1071         by Erwann Chenede.
1072
1073 2008-05-25  Cody Russell  <bratsche@gnome.org>
1074
1075         Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows
1076
1077         * gdk/x11/gdkwindow-x11.c (_gdk_window_get_toplevel): Check
1078         !WINDOW_IS_TOPLEVEL instead of checking for GDK_WINDOW_CHILD,
1079         so that we also take into account for foreign windows.
1080         Report and patch by Nathaniel Smith.
1081
1082 2008-05-25  Cody Russell  <bratsche@gnome.org>
1083
1084         Bug 525461 - Don't invalidate under an input-only child
1085
1086         * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child):
1087         Check that the window is not input-only before invalidating.
1088         Report and patch by Owen Taylor.
1089
1090 2008-05-25  Cody Russell  <bratsche@gnome.org>
1091
1092         Bug 524110 - Gdk should not assume reparenting WMs when retrieving
1093         window frame extents
1094
1095         * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
1096         Use _NET_FRAME_EXTENTS, if available.  Patch by Danny Baumann.
1097
1098 2008-05-25  Cody Russell  <bratsche@gnome.org>
1099
1100         Bug 522269 - Evince windows sometimes incorrectly unmaximized,
1101         caused by missing flag initialization
1102
1103         * gdk/x11/gdkwindow-x11.c (set_initial_hints): Initialize
1104         top-level private flags correctly.  Patch by Danny Baumann.
1105
1106 2008-05-25  Cody Russell  <bratsche@gnome.org>
1107
1108         Bug 534463 - non-editable GtkTextView should not call
1109         gtk_im_context_focus_in in focus event
1110
1111         * gtk/gtktextview.c: Add checks to see if the textview is
1112         editable.  Patch by Wang Diancheng.
1113
1114 2008-05-25  Matthias Clasen  <mclasen@redhat.com>
1115
1116         Bug 501730 – use GSlice for small allocs
1117
1118         * gtk/gtkmenuitem.c:
1119         * gtk/gtkmenu.c: Use the slice allocator for small allocations.
1120         Patch by Christian Persch.
1121         
1122 2008-05-25  Matthias Clasen  <mclasen@redhat.com>
1123
1124         Bug 523930 – sort -> search in gtktreeview.c
1125
1126         * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Fix a doc
1127         glitch, pointed out by Björn Lindqvist.
1128
1129 2008-05-25  Matthias Clasen  <mclasen@redhat.com>
1130
1131         Bug 479384 – gtk_selection_data_targets_include_uri docs buglet
1132
1133         * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): Fix
1134         doc glitch, pointed out by Christian Persch.
1135
1136 2008-05-25  Matthias Clasen  <mclasen@redhat.com>
1137
1138         Bug 534694 – Col id in GtkListStore could be out of range
1139
1140         * gtk/gtkliststore.c (list_store_start_element): Fix up error handling
1141         a bit. Pointed out by Jan Arne Petersen.
1142
1143 2008-05-25  Matthias Clasen  <mclasen@redhat.com>
1144
1145         Bug 532497 – Configure problem when cross-compiling
1146
1147         * configure.in: Use AC_CHECK_TOOLS to find C++ compiler, 
1148         pointed out by Marko Lindqvist.
1149
1150 2008-05-25  Richard Hult  <richard@imendio.com>
1151
1152         * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
1153         Slight coding style cleanup.
1154
1155 2008-05-25  Tristan Van Berkom <tvb@gnome.org>
1156
1157         * gtk/gtkbuilderprivate.h, gtk/gtkbuilder.h, gtk/gtkbuilderparser.c:
1158         Added support for parsing required toolkit versions (so that ui descriptions
1159         can target specific versions of the backend widget libraries) bug 527612.
1160
1161         * gtk/docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
1162         for the added xml tags to the ui description.
1163
1164         * tests/buildertest.c: Enhanced pango attribute tests, Added tests
1165         for requires tag handling.
1166
1167 2008-05-25  Richard Hult  <richard@imendio.com>
1168
1169         * gtk/gtkdnd-quartz.c: (gtk_drag_drop_finished): Run
1170         gtk_drag_source_info_destroy in an idle, workaround for bug
1171         #501588, that makes any code that uses the context returned from
1172         gtk_drag_begin() crash, like treeview/iconview dnd.
1173         (GdkDragSourceOwner::provideDataForType): only use the data if we
1174         got any.
1175
1176 2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
1177
1178         * gtk/gtkfilechooserdefault.c: (create_file_list): Add GDK_ACTION_MOVE
1179         to the drag actions to allow trash (#137717).
1180
1181 2008-05-25  Josselin Mouette  <joss@malsain.org>
1182
1183         reviewed by: Matthias Clasen
1184
1185         * gtk/gtksearchenginetracker.c: (_gtk_search_engine_tracker_new):
1186         check that tracker is actually working before using it. Fixes
1187         bug #479197.
1188
1189 2008-05-25  Sven Neumann  <sven@gimp.org>
1190
1191         * gtk/gtkdrawingarea.c (gtk_drawing_area_realize)
1192         (gtk_drawing_area_size_allocate): respect the GTK_NO_WINDOW flag
1193         and don't create an output window if it is set.
1194
1195         * gtk/gtkprintunixdialog.c: set the GTK_NO_WINDOW flag for the
1196         drawing areas. Fixes bug #519317.
1197
1198 2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
1199
1200         * gtk/gtkentry.c: (gtk_entry_class_init), (get_text_area_size),
1201         (gtk_entry_get_text_area_size), (gtk_entry_draw_frame):
1202         * gtk/gtkentry.h:
1203         * gtk/gtkspinbutton.c: (gtk_spin_button_class_init),
1204         (gtk_spin_button_realize), (gtk_spin_button_size_allocate),
1205         (gtk_spin_button_expose), (gtk_spin_button_draw_arrow),
1206         (gtk_spin_button_enter_notify), (gtk_spin_button_leave_notify),
1207         (gtk_spin_button_grab_notify), (gtk_spin_button_state_changed),
1208         (start_spinning), (gtk_spin_button_button_release),
1209         (gtk_spin_button_motion_notify), (gtk_spin_button_value_changed),
1210         (gtk_spin_button_get_text_area_size), (gtk_spin_button_real_spin),
1211         (gtk_spin_button_update): Reorder strange window hierarchy of the
1212         GtkSpinButton (#466000).
1213
1214 2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
1215
1216         * gtk/gtklabel.c: (get_layout_location): Subtract logical.x from x to
1217         fix the wrong position for right and center justified labels with
1218         logical.x > 0 (#530255).
1219
1220 2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
1221
1222         * gtk/gtkfilechooserdefault.c:
1223         (shortcuts_activate_volume_mount_cb): Ignore G_IO_ERROR_FAILED_HANDLED
1224         errors (#532262).
1225
1226 2008-05-25  Björn Lindqvist  <bjourne@gmail.com>
1227
1228         * tests/pixbuf-lowmem.c
1229         * tests/pixbuf-random.c
1230         * tests/pixbuf-randomly-modified.c
1231         * tests/pixbuf-read.c
1232         * tests/pixbuf-threads.c
1233         * tests/testgtk.c
1234         * tests/testtreeview.c: Fix remaining compiler warnings in these
1235         files (#523751).
1236
1237 2008-05-25  Jaap A. Haitsma  <jaap@haitsma.org>
1238
1239         reviewed by: Matthias Clasen
1240
1241         * gtk/Makefile.am:
1242         * gtk/gtk.h:
1243         * gtk/gtk.symbols:
1244         * gtk/gtkshow.c: (gtk_show_uri):
1245         * gtk/gtkshow.h:
1246         Add gtk_show_uri to make showing uris really easy. Fixes bug #514396
1247
1248 2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
1249
1250         * gtk/gtkliststore.c: (list_store_text): Use type of the correct
1251         column (#529535).
1252         * tests/buildertest.c: (test_list_store): Add test.
1253
1254 2008-05-24  Matthias Clasen  <mclasen@redhat.com>
1255
1256         Bug 520989 – icon factory buildable too strict
1257
1258         * gtk/gtkiconfactory.c (icon_source_start_element): Make filename
1259         an optional attribute.
1260
1261 2008-05-24  Matthias Clasen  <mclasen@redhat.com>
1262
1263         Bug 387972 – gtkassistant drawing problem
1264
1265         * gtk/gtkassistant.c (gtk_assistant_size_allocate): Make 
1266         GtkAssistant work better in glade. 
1267
1268 2008-05-24  Jan Arne Petersen  <jpetersen@jpetersen.org>
1269
1270         * gtk/gtktoolbar.c: (gtk_toolbar_class_init): Change defaults of child
1271         properties "expand" and "homogeneous" from TRUE to FALSE (as they are
1272         used in GtkToolItem) (#532787).
1273
1274 2008-05-24  Jan Arne Petersen  <jpetersen@jpetersen.org>
1275
1276         * gtk/gtkfilechooserdefault.c: (location_toggle_popup_handler): Don't
1277         try to toggle the visibility of the location entry field in search and
1278         recent mode (#526422).
1279
1280 2008-05-24  Jan Arne Petersen  <jpetersen@jpetersen.org>
1281
1282         * gtk/gtkfilechooserdefault.c: (shortcuts_query_tooltip_cb),
1283         (shortcuts_list_create): Show parse name as tooltip for path
1284         shortcuts (#137503).
1285
1286 2008-05-24  Björn Lindqvist  <bjourne@gmail.com>
1287
1288         * gdk/gdkcolor.c (gdk_color_parse): Update docstring to match
1289         pango_color_parse, do not reference XParseColor forms (#434991).
1290
1291 2008-05-24  James Sharpe <jsharpe@gnome.org>
1292
1293         * gdk/gdk.symbols: Remove duplicate
1294         gdk_window_redirect_to_drawable and gdk_window_remove_redirection
1295         * gtk/gtk.symbols: Remove duplicate gtk_widget_get_snapshot
1296         
1297 2008-05-23  Hans Breuer  <hans@breuer.org>
1298
1299         * **/makefile.msc gtk/makefile.msc.in : updated
1300         * gtk/gtkwidget.c : fix c99ism (variable at start of block
1301         * gdk/gdk.symbols gtk/gtk.symbols : export functions for window 
1302         redirection
1303         * gtk/gtkfilechooserdefault.c : #include <locale.h> for 
1304         setlocale(LC_ALL, ...)
1305
1306 2008-05-23  Tor Lillqvist  <tml@novell.com>
1307
1308         * gdk/gdk.symbols: Add gdk_window_redirect_to_drawable and
1309         gdk_window_remove_redirection.
1310
1311         * gdk/win32/gdkwindow-win32.c (_gdk_window_new)
1312         (_gdk_window_reparent): Rename to adapt to the offscreen rendering
1313         changes. Remove now unnecessary parameter checks as the caller
1314         does that already.
1315
1316         * gtk/gtk.symbols: Add gtk_widget_get_snapshot.
1317
1318 2008-05-23  Tor Lillqvist  <tml@novell.com>
1319
1320         * gdk/win32/gdkwindow-win32.c (update_style_bits): Don't do
1321         anything if style doesn't change. Improve debugging output.
1322
1323 2008-05-23  Michael Natterer  <mitch@gimp.org>
1324
1325         * perf/widgets.h
1326         * tests/print-editor.c
1327         * tests/prop-editor.h
1328         * tests/testmountoperation.c
1329         * tests/testmultidisplay.c
1330         * tests/testnouiprint.c
1331         * tests/testprint.c
1332         * tests/testprintfileoperation.h
1333         * tests/testtreesort.c
1334         * tests/textbuffertest.c: include <gtk/gtk.h> instead of single
1335         files. Remove some redundant includes.
1336
1337 2008-05-22  Hiroyuki Ikezoe  <poincare@ikezoe.net>
1338
1339         * gtk/gtksockget.c: (gtk_socket_realize): Remove second call of
1340         GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED).
1341
1342 2008-05-21  Richard Hult  <richard@imendio.com>
1343
1344         * gdk/quartz/gdkwindow-quartz.c:
1345         (_gdk_window_new), (_gdk_window_reparent): Renamed to adapt to the
1346         offscreen rendering changes, fixes build.
1347
1348 2008-05-21 21:10:15  Tim Janik  <timj@imendio.com>
1349
1350         * gtk/gtkwidget.h: added GdkRectangle *clip_rect to gtk_widget_get_snapshot().
1351
1352         * gtk/gtkwidget.c: clip the returned snapshot pixmap to clip_rect.
1353         return snapshot pixmap coordinates widget relative in *clip_rect.
1354
1355         * tests/testgtk.c: fixed bogus NULL pointer unref.
1356
1357 2008-05-21 21:04:28  Tim Janik  <timj@imendio.com>
1358
1359         * gtk/gtkwidget.c gtk_widget_get_snapshot(): grow snapshot area from
1360         widget's allocation to cover extra widget windows placed outside the
1361         widget allocation (spinbutton arrows are the prime example for this).
1362
1363 2008-03-18 10:49:20  Tim Janik  <timj@imendio.com>
1364
1365         * Applied pixmap redirection patch by Alexander Larsson with
1366         various updates from:
1367         Bug 318807 – Offscreen windows and window redirection.
1368
1369
1370         Updates:
1371
1372         * updated docs to mention "Since 2.16".
1373
1374         * tests/testgtk.c: fixed snapshooting pixmap leak.
1375         convert pixmap to pixbuf after snapshooting, to compensate for different
1376         bit depths (occurs when snapshooting ARGB visuals and displaying the
1377         pixmap in an RGB visual).
1378
1379         * gdk/gdkwindow.[hc]: made GdkWindowRedirect private.
1380
1381         * gdk/gdkwindow.c: removed damage idle handler, there's no aparent
1382         need for it. enqueue damage notification as GDK_DAMAGE events
1383         for each painting redirection at the start of the event queue.
1384         consider windows with a redirection fully visible when invalidating,
1385         and when updating from backing store. cleaned up stale variables.
1386
1387         * gdk/gdkevents.c: added _gdk_event_queue_prepend().
1388
1389         * gtk/gtkwidget.c: fixed coordinates for !NO_WINDOW widgets in
1390         gtk_widget_get_snapshot; this fixes garbage snap offsets for gammacurve,
1391         tree, drawingarea, text, handlebox, etc.
1392         clip the redirected window hierarchy to window sizes, the visible
1393         rectangles don't need to be taken into account here.
1394         extended snapshooting docs to recommend gdk_pixbuf_get_from_drawable()
1395         in case pixmap visuals could mismatch.
1396
1397         * gdk/x11/gdkwindow-x11.c: removed _gdk_windowing_window_get_visible_rect().
1398
1399
1400         Base patch:
1401
1402         * tests/testgtk.c: add a "Snapshot" test to demonstrate snapshooting
1403         of possibly obscured widgets into an offscreen pixmap.
1404
1405         * gtk/gtkwidget.[hc]: add GtkWidget::damage-event signal, add
1406         gtk_widget_get_snapshot() to render a widget's contents to a GdkPixmap.
1407
1408         * gtk/gtkmain.c: dispatch GDK_DAMAGE events.
1409
1410         * gdk/gdkwindow.c: moved outer gdk_window_new() and gdk_window_reparent()
1411         implementations here, adapted them to propagate redirects to child windows.
1412         gdk_window_end_paint(): copy repainted window contents to redirection pixmap,
1413         clipped to visible region. queue GDK_DAMAGE event delivery.
1414         gdk_window_redirect_to_drawable(): install window painting redirection.
1415         gdk_window_remove_redirection(): remove previously installed redirection.
1416
1417         * gdk/x11/gdkwindow-x11.c: added _gdk_windowing_window_get_visible_rect(),
1418         renamed _gdk_window_new() and _gdk_window_reparent().
1419
1420         * gdk/gdkwindow.h: added GdkWindowRedirect* to GdkWindowObject, export
1421         gdk_window_redirect_to_drawable() and gdk_window_remove_redirection().
1422
1423         * gdk/gdkevents.h: added GDK_DAMAGE event type.
1424
1425         * gdk/gdkevents.c: extract time and state from GDK_DAMAGE events.
1426
1427         * gdk/gdkinternals.h: added internal prototypes.
1428
1429 2008-05-21  Michael Natterer  <mitch@imendio.com>
1430
1431         * gtk/gtkalignment.c
1432         * gtk/gtkarrow.c
1433         * gtk/gtkbbox.c
1434         * gtk/gtkcalendar.c
1435         * gtk/gtkscrolledwindow.c: remove PROP_LAST enum values.
1436
1437 2008-05-20  Matthias Clasen  <mclasen@redhat.com>
1438
1439         RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size
1440         was chosen
1441
1442         Patch by Marek Kasik.
1443
1444         * gtk/gtk.symbols:
1445         * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.
1446         
1447         * gtk/gtkprintbackend.[hc]: Add fallback implementation.
1448
1449         * modules/printbackends/file/gtkprintbackendfile.c:
1450         * modules/printbackends/cups/gtkprintbackendcups.c: Implement
1451         get_default_page_size.
1452
1453         * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
1454         select its default paper size.
1455
1456         * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
1457         use the printer default.
1458
1459         * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
1460         if we don't have a default page setup.
1461
1462 2008-05-20  Gian Mario Tagliaretti  <gianmt@gnome.org>
1463
1464         * gtk/gtkdnd.c: (gtk_drag_set_icon_pixmap): Fix the docs, the mask param
1465         can accept NULL for none. Fixes bug #533920.
1466
1467 2008-05-20  Björn Lindqvist  <bjourne@gmail.com>
1468
1469         * gtk/gtkspinbutton.c: (gtk_spin_button_snap,
1470         gtk_spin_button_update): Remove two chunks of duplicated
1471         code (#533733).
1472
1473 2008-05-20 14:27:34  Tim Janik  <timj@imendio.com>
1474
1475         * reverted recent unapproved changes by Yair Hershkovitz,
1476         regarding: Bug 503071 – Application direction changes to right
1477         to left even if theres no translation.
1478
1479 2008-05-19  Richard Hult  <richard@imendio.com>
1480
1481         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_hide),
1482         (gdk_window_fullscreen), (gdk_window_unfullscreen): Use
1483         SetSystemUIMode instead of hiding and showing the menubar.
1484
1485 2008-05-19  Federico Mena Quintero  <federico@novell.com>
1486
1487         http://bugzilla.gnome.org/show_bug.cgi?id=322298 - Save dialog
1488         can't be resized until you expand the "Browse for other folders"
1489         section.
1490
1491         * gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
1492         Removed the "get_resizable" method.
1493         (_gtk_file_chooser_embed_get_resizable): Removed.
1494
1495         * gtk/gtkfilechooserembed.c: Removed the _get_resizable() machinery.
1496
1497         * gtk/gtkfilechooserdefault.c: Likewise.
1498
1499         * gtk/gtkfilechooserdialog.c
1500         (file_chooser_widget_default_size_changed): Act as if the dialog
1501         were always resizable.
1502
1503 2008-05-19  Michael Natterer  <mitch@imendio.com>
1504
1505         * gtk/gtkcellrenderer.c
1506         * gtk/gtkcellrendererpixbuf.c
1507         * gtk/gtkcellrenderertoggle.c
1508         * gtk/gtkimagemenuitem.c
1509         * gtk/gtkmenutoolbutton.c
1510         * gtk/gtkoptionmenu.c
1511         * gtk/gtkstatusbar.c
1512         * gtk/gtktextview.c: s/PROP_ZERO/PROP_0/g, remove LAST_PROP.
1513
1514 2008-05-17  Yair Hershkovitz  <yairhr@gmail.com>
1515
1516         * gtk/gtkmain.c: gtk_disable_setlocale() - Added a call to
1517         g_disable_setlocale().
1518
1519 2008-05-17  Richard Hult  <richard@imendio.com>
1520
1521         * gdk/quartz/gdkwindow-quartz.c:
1522         (gdk_window_impl_quartz_invalidate_maybe_recurse):
1523         (gdk_window_quartz_update_idle): Use gdk_threads_add_idle instead
1524         of g_idle_add. Add a temporary check if the window is already in
1525         the updates list, since update_area currently doesn't always match
1526         the backend's state, see bug #530801.
1527
1528 2008-05-13  Tor Lillqvist  <tml@novell.com>
1529
1530         Bug 496958 - Wacom Bamboo doesn't function with GTK apps in Win32
1531
1532         * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Set
1533         the "packet rate" of devices to zero instead of 50. This is
1534         reported to help significantly with Wacom tablet behaviour in GIMP
1535         and Inkscape. Patch from Thomas Bleeker.
1536
1537 2008-05-12  Richard Hult  <richard@imendio.com>
1538
1539         * gdk/quartz/gdkevents-quartz.c:
1540         * gdk/quartz/gdkquartz.h: Remove special casing of menu key events
1541         as it's no longer necessary; instead the added quartz API to get
1542         the nsevent from an event should be used. Also move the global
1543         filter up so it's done before the check for window-less events.
1544
1545 2008-05-12  Tor Lillqvist  <tml@novell.com>
1546
1547         Bug 532558 - Cannot build dll when using separate builddir
1548
1549         * gdk/Makefile.am
1550         * gtk/Makefile.am: .def file belongs in $(srcdir). Patch by Marko
1551         Lindqvist.
1552
1553 2008-05-12  Yair Hershkovitz  <yairhr@gmail.com>
1554
1555         * gtk/gtkmain.c: g_i18n_init(); -> g_i18n_init ();
1556
1557 2008-05-12  Tor Lillqvist  <tml@novell.com>
1558
1559         Bug 532059 - Leak in win32 clipboard manipulation
1560
1561         * gdk/win32/gdkselection-win32.c
1562         (gdk_win32_selection_add_targets): Plug memory leak. Patch by
1563         Daniel Atallah.
1564
1565 2008-05-11  Yair Hershkovitz  <yairhr@gmail.com>
1566
1567         * gtk/gtkmain.c: call g_i18n_init() in gettext_initialization(). do
1568         gettext_initialization only once.
1569
1570         *  gtk/gtkbuilderparser.c: use glib i18n api. removed dpgettext() as it
1571         duplicates g_dpgettext() and added _g_dpgettext() to wrap g_dpgettext 
1572         with the extended functionality that was in the removed dpgettext().
1573
1574         * gtk/gtkaccellabelc:
1575         * gtk/gtkstock.c:
1576         * gtk/gtkimmulticontext.c:
1577         * gtk/gtkactiongroup.c:
1578         * gtk/gtkintl.h: use glib i18n api.
1579
1580 2008-05-08  Richard Hult  <richard@imendio.com>
1581
1582         * gdk/quartz/gdkgeometry-quartz.c (gdk_window_scroll): Move the
1583         currently invalidated region. Fixes bug #532048, patch by Yevgen
1584         Muntyan.
1585
1586 2008-05-08  Richard Hult  <richard@imendio.com>
1587
1588         * gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake
1589         fd's revents, not the first one. Fixes bug #531056, spotted by
1590         Yevgen Muntyan.
1591
1592 2008-05-07  Tor Lillqvist  <tml@novell.com>
1593
1594         * gtk-zip.sh.in: Add gtk-update-icon-cache.exe and more man pages
1595         to the dev zipfile.
1596
1597 2008-05-05  Matthias Clasen  <mclasen@redhat.com>
1598
1599         Apply a patch by Marek Kasik <mkasik@redhat.com> to display
1600         more printer status information in the print dialog. 
1601
1602         * modules/printbackends/cups/gtkprintbackendcups.c: Translate
1603         printer-state-reasons into suitable messages and icons.
1604
1605         * gtk/stock-icons/16/gtk-print-error.{svg,png}:
1606         * gtk/stock-icons/16/gtk-print-report.{svg,png}:
1607         * gtk/stock-icons/16/gtk-print-warning.{svg,png}:
1608         * gtk/Makefile.am: 
1609         * gtk/gtkiconfactory.c:
1610         * gtk/gtkstock.h: New stock icons to display printer state.
1611
1612 2008-05-07  Michael Natterer  <mitch@imendio.com>
1613
1614         * gdk/gdkinternals.h
1615         * gdk/gdkevents.c
1616         * gdk/directfb/gdkevents-directfb.c
1617         * gdk/quartz/gdkevents-quartz.c
1618         * gdk/win32/gdkevents-win32.c
1619         * gdk/x11/gdkevents-x11.c (_gdk_windowing_event_data_copy):
1620         order parameters src,dest and make src const.
1621
1622 2008-05-06  Richard Hult  <richard@imendio.com>
1623
1624         * gdk/gdkevents.c: (gdk_event_copy), (gdk_event_free):
1625         * gdk/gdkinternals.h: Add private backend data to events, and
1626         handle it when copying/freeing events. Currently only needed in
1627         the quartz backend.
1628
1629         * gdk/directfb/gdkevents-directfb.c:
1630         * gdk/quartz/gdkevents-quartz.c:
1631         * gdk/win32/gdkevents-win32.c:
1632         * gdk/x11/gdkevents-x11.c: (_gdk_windowing_event_data_copy)
1633         (_gdk_windowing_event_data_free): Add stubs for X11, win32 and
1634         directfb. Implement for quartz. Part of fixing bug #473822.
1635
1636 2008-05-05  Richard Hult  <richard@imendio.com>
1637
1638         * gdk/quartz/gdkmain-quartz.c (_gdk_windowing_init): Initalize
1639         framework if there is one.
1640
1641 2008-05-05  Michael Natterer  <mitch@imendio.com>
1642
1643         * gtk/gtkcellrenderercombo.h
1644         * gtk/gtkcellrendererspin.h
1645         * gtk/gtkfilechooserbutton.h: style cleanups for the sake of
1646         consistency.
1647
1648         * gtk/gtkfilechooserdialog.h
1649         * gtk/gtkfilechooserwidget.h
1650         * gtk/gtkscalebutton.h: reorder instance and class structs to be
1651         in canonical order.
1652
1653 2008-05-04  Richard Hult  <richard@imendio.com>
1654
1655         * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Check if
1656         gdk_unicode_to_keyval() worked before using the result. Makes
1657         function keys work, bug #530156. Also add F16 to the function key
1658         map.
1659
1660 2008-05-04  Richard Hult  <richard@imendio.com>
1661
1662         * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Remove stray
1663         semicolon after if statement. Fixes bug #530963, patch from Yevgen
1664         Muntyan.
1665
1666 2008-05-02  Michael Natterer  <mitch@imendio.com>
1667
1668         * gtk/gtk.h: add 15 files that were missing (they all got included
1669         indirectly by including gtk.h, so should have been here in the
1670         first place).
1671
1672 2008-05-02  Michael Natterer  <mitch@imendio.com>
1673
1674         * modules/input/imthai.c: use GETTEXT_PACKAGE instead of "gtk20".
1675
1676 2008-05-01  Richard Hult  <richard@imendio.com>
1677
1678         * gtk/gtkquartz.c (_gtk_quartz_set_selection_data_for_pasteboard):
1679         Prevent crash, fixes bug #530153. Patch from Yevgen Muntyan.
1680
1681 2008-05-01  Matthias Clasen  <mclasen@redhat.com>
1682
1683         * modules/imput/imthai.c: Register the right translation domain.
1684
1685 2008-04-30  Matthias Clasen  <mclasen@redhat.com>
1686
1687         Bug 529386 – Printing options hidden by blacklisted option
1688
1689         * modules/printbackend/cups/gtkprintbackendcups.c
1690         (cups_printer_get_options): Fix the blacklist handling. 
1691         Patch by Marek Kašík.
1692         
1693 2008-04-30  Richard Hult  <richard@imendio.com>
1694
1695         * gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose
1696         area.
1697
1698 2008-04-30  Richard Hult  <richard@imendio.com>
1699
1700         * gdk/quartz/gdkevents-quartz.c: (_gdk_events_queue): Don't send
1701         nsevents with the gdk lock held, fixes deadlock when doing manual
1702         window resizing with threading enabled.
1703
1704 2008-04-30  Richard Hult  <richard@imendio.com>
1705
1706         * gdk/quartz/gdkevents-quartz.c:
1707         (get_keyboard_modifiers_from_ns_event), (create_key_event): Map
1708         Alt to Alt and Cmd to Meta. This is not only more logical but also
1709         makes it easier to have Mac-like behavior.
1710
1711 2008-04-25  Björn Lindqvist  <bjourne@gmail.com>
1712
1713         * gtk/gtkentry.c: (gtk_entry_expose) Use existing window size when
1714         painting the flat box instead of recalculating it. (#437493,
1715         Ricardo Cruz)
1716
1717 2008-04-25  Michael Emmel  <mike.emmel@gmail.com>
1718
1719         Bug 529841 – incorrect position in directfb 
1720
1721         * gdk/directfb/gdkwindow-directfb.c: fix y = abs_x 
1722
1723 2008-04-25  Johan Dahlin  <jdahlin@async.com.br>
1724
1725         * gtk/gtkwidget.h: include <atk/atk.h> instead of <atk/atkobject.h>
1726
1727 2008-04-25  Michael Natterer  <mitch@imendio.com>
1728
1729         * gtk/gtkprintcontext.h: include <pango/pango.h> instead of
1730         <pango/pango-layout.h>.
1731
1732         * gtk/gtkiconfactory.c
1733         * gtk/gtkimmodule.c
1734         * gtk/gtkmain.c
1735         * gtk/gtkmodules.c
1736         * gtk/queryimmodules.c: remove inclusion of single files from
1737         pango, none of them was actually needed.
1738
1739         * modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
1740         <pango/pango-utils.h>.
1741
1742 2008-04-25  Michael Natterer  <mitch@imendio.com>
1743
1744         * gdk/gdkfont.h: include <pango/pango.h> instead of
1745         <pango/pango-font.h>.
1746
1747 2008-04-25  Michael Natterer  <mitch@imendio.com>
1748
1749         * gtk/gtkmountoperation.h: include <gdk/gdk.h> instead of
1750         <gdk/gdkscreen.h>.
1751
1752 2008-04-21  Michael Natterer  <mitch@imendio.com>
1753
1754         * gtk/gtkselection.c: add tons of g_return_if_fail() instead of
1755         crashing when NULL pointers get passed.
1756
1757 2008-04-18  Michael Natterer  <mitch@imendio.com>
1758
1759         * gtk/gtkenums.h: move a few '{' to their own lines so all enums
1760         here have the same style.
1761
1762 2008-04-18  Michael Natterer  <mitch@imendio.com>
1763
1764         * gtk/gtkicontheme.h
1765         * gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
1766         <gdk/gdkscreen.h>.
1767
1768         * gtk/gtkbuilderparser.c
1769         * gtk/gtklinkbutton.c
1770         * gtk/gtkpreview.c
1771         * gtk/gtkrecentchooserdefault.c
1772         * gtk/gtkrecentchoosermenu.c
1773         * modules/input/gtkimcontextthai.c: remove inclusion of single
1774         files from gdk, none of the includes was actually needed.
1775
1776 2008-04-18  Michael Natterer  <mitch@imendio.com>
1777
1778         * gdk/gdk.h: reorder one include so they are all alphabetical.
1779
1780 2008-04-18  Michael Natterer  <mitch@imendio.com>
1781
1782         * modules/printbackends/cups/gtkprintercups.[ch]
1783         (gtk_printer_cups_get_ppd_name): change return value and local
1784         variable to const gchar* to fix warning about discarding const
1785         qualifier.
1786
1787 2008-04-18  Emmanuele Bassi  <ebassi@gnome.org>
1788
1789         * gtk/gtkrecentmanager.c:
1790         (gtk_recent_manager_set_filename): Keep the default storage
1791         file in $HOME, as we don't have a migration code in place yet.
1792
1793 2008-04-18  Michael Natterer  <mitch@imendio.com>
1794
1795         * gtk/gtkrecentmanager.c (gtk_recent_manager_clamp_to_age):
1796         g_strfreev() the uris returned by g_bookmark_file_get_uris().
1797
1798 2008-04-17  Michael Natterer  <mitch@imendio.com>
1799
1800         * gtk/gtkiconfactory.c (get_default_icons): register the
1801         GTK_STOCK_PAGE_SETUP icon.
1802
1803 2008-04-17  Michael Natterer  <mitch@imendio.com>
1804
1805         * gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
1806         g_return_if_fail(tooltips != NULL);
1807
1808 2008-04-16  Tristan Van Berkom <tvb@gnome.org>
1809
1810         * gtk/gtkwindow.c: Chain up in buildable_finish()
1811
1812         * gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
1813         cases where g_path_get_dirname() returns "."
1814
1815         * docs/reference/gtk/tmpl/gtklabel.sgml, 
1816         docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
1817         for the <attributes> tags on GtkLabel
1818
1819 2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
1820
1821         * gtk/gtkrecentmanager.c:
1822         (gtk_recent_manager_real_changed): Fix last commit, and
1823         complete the gtk-recent-files-max-age semantics: if the
1824         property is set to 0 then purge the list.
1825
1826 2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
1827
1828         Bug 488507 – boundless growth of .recently-used.xbel file
1829         slows down applications
1830
1831         * gtk/gtkrecentmanager.c:
1832         (gtk_recent_manager_init),
1833         (gtk_recent_manager_real_changed),
1834         (gtk_recent_manager_set_filename),
1835         (gtk_recent_manager_clamp_to_age): Clamp the recently
1836         used resources list by the age of its items, using
1837         the newly added GtkSettings property.
1838
1839         * gtk/gtksettings.c (gtk_settings_class_init): Add the
1840         gtk-recent-files-max-age property, controlling the
1841         maximum age of the items in the recently used resources
1842         list.
1843
1844 2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
1845
1846         * gtk/gtkrecentmanager.c:
1847         (gtk_recent_manager_add_item_query_info),
1848         (gtk_recent_manager_add_item): Emit the ::changed signal
1849         at the end of the asynchronous MIME type query.
1850
1851 2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
1852
1853         Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel
1854         every 5 seconds
1855
1856         * gtk/gtkrecentmanager.c: Use GFileMonitor to check for
1857         changes in the recently used resources storage file, and
1858         drop the timeout-based poll.
1859
1860         * ChangeLog: Fix attribution of the patch of the previous
1861         commit.
1862
1863 2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
1864
1865         Bug 506062 – gtk_recent_manager_add_item does not detect mime
1866         type on Windows
1867
1868         * configure.in: Depend on gio-2.0
1869
1870         * gtk/gtkrecentmanager.c:
1871         (gtk_recent_manager_add_item_query_info_cb),
1872         (gtk_recent_manager_add_item): Use GIO to (asynchronously)
1873         query the MIME type of the passed URI (based on a patch by
1874         Armin Burgmeier)
1875
1876 2008-04-11  Carlos Garnacho  <carlos@imendio.com>
1877
1878         * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
1879         page to visited page list instead of next current page. (#527466,
1880         patch by Marcus Brinkmann)
1881
1882 2008-04-11  Tristan Van Berkom <tvb@gnome.org>
1883
1884         * gtk/gtklabel.c: Added <attributes> / <attribute>
1885         custom tags to parse pango attributes into labels (#527486).
1886
1887         * tests/buildertest.c: Added tests for GtkLabel custom
1888         tag parsing.
1889
1890 2008-04-10  Carlos Garnacho  <carlos@imendio.com>
1891
1892         * gtk/gtknotebook.c (hide_drag_window): Do not call
1893         gtk_widget_set_parent_window(), using widget->window instead of NULL
1894         to unset is the wrong thing, and gtk_widget_unparent() will already 
1895         take care of this (#467698, patch by Sébastien Granjoux)
1896
1897 2008-04-08  Tor Lillqvist  <tml@novell.com>
1898
1899         * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
1900         these functions with G_MODULE_EXPORT.
1901
1902 2008-04-08  Tomas Bzatek  <tbzatek@redhat.com>
1903
1904         * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
1905         (gtk_file_system_volume_render_icon):
1906         Fix fallback icon rendering size
1907
1908 2008-04-08  Michael Natterer  <mitch@imendio.com>
1909
1910         * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
1911         touchscreen-mode keynav corner case: when navigating to the parent
1912         menu, make sure we don't close two menus at the same time in case
1913         the deepest open menu has no selectable items.
1914
1915 2008-04-06  Tristan Van Berkom <tvb@gnome.org>
1916
1917         * gtk/gtkwidget.c: Clarified a g_warning message regarding
1918         parsing accelerators from builder files.
1919
1920 2008-04-03  Cody Russell  <bratsche@gnome.org>
1921
1922         * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
1923         of the block. (#526021, reported by Kazuki IWAMOTO)
1924
1925 2008-04-03  Tor Lillqvist  <tml@novell.com>
1926
1927         Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
1928         strange behavior
1929
1930         * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
1931         workaround for a specific kind of screwed up locale setting.
1932
1933 2008-04-02  Matthias Clasen  <mclasen@redhat.com>
1934
1935         * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign
1936         colormaps.  Found by Daniel Berrange.
1937
1938 2008-04-02  Björn Lindqvist  <bjourne@gmail.com>
1939
1940         * tests/autotestfilechooser.c: Cover
1941         GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
1942         name. (#346058, Joe Halliwell)
1943
1944 2008-04-02  Federico Mena Quintero  <federico@novell.com>
1945
1946         Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file
1947         chooser incorrectly substitutes and expands a ~ when you type it
1948         in the filename entry.
1949
1950         * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty
1951         basenames result in a slash-terminated pathname.
1952         gtk_file_system_unix_parse() is correct, but it was splitting
1953         "/home/username" into path="/home" and file_part="username", which
1954         is not what the caller wants when the entry has just "~" or
1955         "~username".
1956
1957 2008-04-02  Tor Lillqvist  <tml@novell.com>
1958
1959         * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
1960         and gtksearchenginetracker.c on Windows.
1961
1962         * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
1963         on Windows.
1964
1965 2008-04-01  Cody Russell  <bratsche@gnome.org>
1966
1967         * configure.in: Bump required Cairo to 1.5.2.
1968
1969         * gtk/gtkprintoperation-win32.c: Add support for using the new
1970         cairo_win32_printing_surface for printing.  Also fixed to use
1971         cairo_surface_show_page(). (#488833 and #521178)
1972
1973 2008-03-31  Cody Russell  <bratsche@gnome.org>
1974
1975         * demos/gtk-demo/printing.c (draw_page): Move down each line in         
1976         units of text_height rather than in units of data->font_size.
1977         (totally awesome catch by Dom Lachowicz)
1978
1979 2008-03-28  Richard Hult  <richard@imendio.com>
1980
1981         * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
1982         (_gdk_quartz_events_trigger_crossing_events): Defer the generated
1983         event to the mainloop and don't generate one at all if the
1984         toplevel didn't change. Use the actual window and not the toplevel
1985         as event window. These changes make the generated crossing events
1986         match the X11 behavior and fixes issues with e.g. tooltips,
1987         comboboxes and menus.
1988
1989         * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
1990         the view has no window, it will be updated as soon as it's put
1991         inside a window.
1992
1993         * gdk/quartz/gdkwindow-quartz.c:
1994         (_gdk_quartz_window_debug_highlight): Make it possible to track
1995         multiple windows with debug highlighting.
1996         (show_window_internal): Remove workaround for tooltips and popups
1997         that is no longer needed with the above changes.
1998
1999 2008-03-26  Federico Mena Quintero  <federico@novell.com>
2000
2001         * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
2002         helper function; factored out from the functions that commit the
2003         current suggested autocompletion and that refresh the entry's paths.
2004         (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
2005         (_gtk_file_chooser_entry_get_file_part): Likewise.
2006         (_gtk_file_chooser_entry_get_current_folder): Likewise.  This
2007         makes the entry have the correct paths when *not* using any form
2008         of completion (and makes the file chooser work when clicking the
2009         OK button).
2010
2011 2008-03-25  Richard Hult  <richard@imendio.com>
2012
2013         * gdk/quartz/gdkevents-quartz.c:
2014         (_gdk_quartz_events_trigger_crossing_events): Bail out early if we
2015         can't find a matching window.
2016
2017         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
2018         comment, and only trigger an event for non-temp windows, fixes
2019         problems for tooltips caused by the workarounds for the
2020         problematic tracking rect API.
2021
2022 2008-03-25  Richard Hult  <richard@imendio.com>
2023
2024         * gdk/quartz/gdkwindow-quartz.c:
2025         (gdk_window_quartz_process_all_updates): Plug a leak and add a
2026         check that we have a toplevel before accessing it.
2027
2028 2008-03-24  Tor Lillqvist  <tml@novell.com>
2029
2030         Bug 524151 - Dragging of 0-byte files results in an empty filename
2031         on Windows XP and above
2032
2033         * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
2034         being empty first. For some reason ISHellLink and IPersistFile
2035         succeeds in interpreting empty files as shortcuts, claiming the
2036         target of the shortcut is an empty path.
2037
2038         Change the function to take the wide character file name that the
2039         caller already has anyway, to avoid a superfluous conversion from
2040         UTF-8 to UTF-16.
2041
2042 2008-03-23  Björn Lindqvist  <bjourne@gmail.com>
2043
2044         * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
2045         against NULL pointer. (#467051, Gian Mario Tagliaretti)
2046
2047 2008-03-23  Cody Russell  <bratsche@gnome.org>
2048
2049         * gdk/win32/gdkevents-win32.c (show_window_recurse):
2050         Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
2051         ShowWindow (SW_RESTORE).  This fixes a problem where tearing off
2052         menus from a maximized window would force the window to restore
2053         its size. (#518846)
2054
2055 2008-03-23  Johan Dahlin  <johan@gnome.org>
2056
2057         * gtk/gtk-builder-convert:
2058         Properly convert GtkImageMenuItems which use stock labels but don't
2059         have any children.
2060         (#523932, Brian Pepple)
2061         
2062 2008-03-22  Matthew Barnes  <mbarnes@redhat.com>
2063
2064         * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
2065         New function implements GtkCellLayoutClass::get_cells.  (#523787)
2066
2067 2008-03-22  Tor Lillqvist  <tml@novell.com>
2068
2069         Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
2070
2071         * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
2072         GDK_THREADS_LEAVE() call. Approved by mclasen.
2073
2074 2008-03-22  Björn Lindqvist  <bjourne@gmail.com>
2075
2076         * gtk/gtkexpander.c (gtk_expander_get_label):
2077         gtk_label_get_label() should be used instead of
2078         gtk_label_get_text(). (#353088, Xan Lopez)
2079
2080 2008-03-21  Tor Lillqvist  <tml@novell.com>
2081
2082         Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
2083         Lachowicz and Alberto Ruiz into the GTK+ tree, from the
2084         gdip-pixbuf-loader module.
2085
2086         * configure.in: Add switch --disable-gdiplus-loaders that disables
2087         building of the GDI+ loaders.
2088
2089         When including loaders in the gdk-pixbuf library, and building
2090         GDI+ loaders, either build in all the GDI+ loaders or none of
2091         them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to
2092         signal building them in.
2093
2094         Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
2095         whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
2096         indicate whether they should be built-in.
2097         
2098         For the rest of the changes, see gdk-pixbuf/ChangeLog.
2099         
2100 2008-03-20  Tor Lillqvist  <tml@novell.com>
2101
2102         * gtk/Makefile.am: Revert accidental change that went in as part
2103         of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
2104         Darwin. On Windows one has to use a newer GNU grep that has -o,
2105         for instance the one from gnuwin32, instead of the oldish one in
2106         MSYS that doesn't have -o.
2107
2108 2008-03-20  Tor Lillqvist  <tml@novell.com>
2109
2110         * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
2111         pass NULL for %s to g_message().
2112         (main): Drop unnecessary call to gtk_widget_destroy().
2113
2114 2008-03-20  Tor Lillqvist  <tml@novell.com>
2115
2116         Bug 314084 - GTK+ dialogs should not be placed partially offscreen
2117
2118         * gtk/gtkwindow.c (clamp): New function. Clamps a window position
2119         in one dimension, or centered in case it doesn't fit.
2120         (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
2121         dimensions.
2122
2123 2008-03-18  Tor Lillqvist  <tml@novell.com>
2124
2125         Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
2126         
2127         * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
2128         G_MODULE_ENTRY decoration can be put in a more correct place.
2129
2130 2008-03-18  Sven Neumann  <sven@gimp.org>
2131
2132         * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
2133         alternative button order on the password dialog.
2134
2135 2008-03-18  Tor Lillqvist  <tml@novell.com>
2136
2137         Bug 99192 - Add --with-include-input-modules
2138
2139         * configure.in: Add --with-included-immodules switch. Handled in a
2140         similar way as the --with-included-loaders switch. For each input
2141         method module foo: Collect the list of input modules to be built
2142         into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
2143         -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
2144         Define Automake conditionals INCLUDE_IM_FOO.
2145
2146         * modules/input/Makefile.am: For modules to be included in libgtk,
2147         build a static library.
2148         
2149         * modules/input/im*.c: Use MODULE_ENTRY macros much like in
2150         gdk-pixbuf to get unique names for the functions called by libgtk
2151         in the included case. Use G_MODULE_EXPORT in the non-included case
2152         so that we don't unnecessarily export unneeded random global
2153         symbols on Windows.
2154
2155         * gtk/Makefile.am: Build the included modules and link them into libgtk.
2156
2157         * gtk/gtkimmodule.c: Handle the built-in modules. Remove
2158         copy/paste leftover mentions of "themes" in comments.
2159
2160 2008-03-18  Tor Lillqvist  <tml@novell.com>
2161
2162         * tests/Makefile.am: Build testmountoperation only on Unix for now.
2163
2164 2008-03-17  Christian Kellner  <gicmo@gnome.org>
2165
2166         Implement GtkMountOperation, a subclass of GMountOperation
2167         to be used with gio wherever there is the need to ask the
2168         user for credentials or questions while mounting a volume.
2169         This is bug #522245
2170
2171         * gtk/gtkmountoperation.c:
2172         * gtk/gtkmountoperation.h:
2173         Implement GtkMountOperation.
2174         
2175         * gtk/gtk.h: Add gtkmountoperation.h
2176         * gtk/Makefile.am: Add gtkmountoperation.[hc]
2177         * gtk/gtk.symbols: Add symbols of GtkMountOperation.
2178         * tests/testmountoperation.c: Test program for it.
2179         * tests/Makefile.am: Add testmountoperation.
2180
2181 2008-03-17  Emmanuele Bassi  <ebassi@gnome.org>
2182
2183         * gtk/gtkcontainer.c: Properly document
2184         gtk_container_set_focus_child(). (#521739, Andrew Cowie)
2185
2186 2008-03-16  Alberto Ruiz <aruiz@gnome.org>
2187
2188         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
2189         style names for the ComboBox thickness style
2190
2191 2008-03-16  Alberto Ruiz <aruiz@gnome.org>
2192
2193         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
2194         * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
2195         (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
2196         intelligent separation for the xp theming engine and the classic
2197         theme while drawing the GtkComboBox button.  combobox_draw_arrow
2198         is not used anymore, commented.  The style has been updated to fix
2199         border/thickness glitches in the combobox according to the fixes
2200         commited regarding bug #521442. (bug #461805)
2201
2202 2008-03-16  Alberto Ruiz <aruiz@gnome.org>
2203
2204         * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
2205         now aware of both the combobox and frame (if has-frame is set)
2206         thickness and border. (bug #521442)
2207
2208 2008-03-15  Andre Klapper  <a9016009@gmx.de>
2209
2210         * configure.in: Added "si" to ALL_LINGUAS.
2211
2212 2008-03-15  Matthias Clasen  <mclasen@redhat.com>
2213
2214         * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
2215         Set window type hint on the search popup.  (#522279, Danny Baumann)
2216
2217 2008-03-15  Matthias Clasen  <mclasen@redhat.com>
2218
2219         * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
2220         appropriate.  (#521934, Huang Peng)
2221
2222 2008-03-14  Michael Natterer  <mitch@imendio.com>
2223
2224         * gdk/gdkspawn.h
2225         * gtk/gtkbuilderprivate.h
2226         * gtk/gtkfilechoosersettings.c
2227         * gtk/gtksearchenginesimple.c
2228         * gtk/tests/liststore.c
2229         * gtk/tests/treestore.c: remove single-file includes of GLib
2230         headers or replace them by <glib.h> where needed.
2231
2232 2008-03-14  Michael Natterer  <mitch@imendio.com>
2233
2234         * gtk/gtkadjustment.c: coding style cleanup.
2235
2236         (gtk_adjustment_set_property): no need to call g_object_notify()
2237         on the set properties.
2238
2239         Implement GObject::dispatch_properties_changed() and make sure we
2240         emit "changed" when anything but the "value" property changes.
2241
2242 2008-03-14  Tor Lillqvist  <tml@novell.com>
2243
2244         * gdk/win32/gdkevents-win32.c: Drop the support for the
2245         MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
2246         Win95. Thanks to mitch for noticing this obsolete code.
2247
2248 2008-03-14  Cody Russell  <bratsche@gnome.org>
2249
2250         * examples/scribble-xinput/scribble-xinput.c: Changed
2251         'void int main()' to 'int main()'. (#522211, Liqing Huang)
2252         
2253 2008-03-14  Richard Hult  <richard@imendio.com>
2254
2255         * gdk/quartz/gdkwindow-quartz.c:
2256         (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
2257         only flush the toplevel once per update.
2258
2259 2008-03-13  Federico Mena Quintero  <federico@novell.com>
2260
2261         * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
2262         Set the mouse cursor of the feedback window to invisible, so that
2263         we respect GtkEntry's invisible cursor while typing.
2264
2265 2008-03-13  Federico Mena Quintero  <federico@novell.com>
2266
2267         * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
2268         the feedback window at entry_height/2 pixels to the right of the
2269         cursor, for a cheap "M-width / 2" spacing.
2270
2271 2008-03-13  Sven Neumann  <sven@gimp.org>
2272
2273         * gtk/gtkfilechooserdefault.c
2274         * gtk/gtkprintunixdialog.c: set alternative button order for
2275         overwrite confirmation dialogs (bug #522191).
2276
2277 2008-03-13  Sven Neumann  <sven@gimp.org>
2278
2279         * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
2280         (overwrite_confirmation_dialog): added some line-breaks for
2281         readability.
2282
2283 2008-03-12  Federico Mena Quintero  <federico@novell.com>
2284
2285         Rework the way completion works in GtkFileChooserEntry.  Fixes
2286         http://bugzilla.gnome.org/attachment.cgi?bugid=314873 - 
2287         Tab completion should work even if the cursor is not at the end of
2288         the entry.
2289
2290         * gtk/gtkfilechooserentry.c: Change the strategy by which we do
2291         completion.
2292
2293         We distinguish between two cases:
2294
2295                 - autocompletion - happens only in the Open modes by
2296                   inserting and selecting the common prefix as you type.
2297
2298                 - explicit completion - happens when you hit Tab.
2299
2300         When some type of completion needs to happen, the entry first
2301         parses its input and sees if it needs to initiate a folder load.
2302         Completion will not happen until the folder finishes loading.
2303
2304         If the folder is already completely loaded, then completion is
2305         performed immediately.  Otherwise, the entry queues a pending
2306         completion and starts loading the new folder (or waits until the
2307         current folder is completely loaded).
2308
2309         Tab completion is allowed to happen even if the cursor is not at
2310         the end of the entry.
2311
2312         There is a new feedback mechanism for explicit completion, so that
2313         you will get an Emacs-like tip whenever there are ambiguities in
2314         completion, no matches, etc.  (This needs to be polished so that
2315         we support RTL entries and all the fancy Pango layout in GtkEntry).
2316
2317         The only remaining thing to fix is the popup suggestion window.
2318         Unfortunately, GtkEntryCompletion does not let us do what we want,
2319         and will need further changes.
2320
2321 2008-03-12  Tor Lillqvist  <tml@novell.com>
2322
2323         Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
2324
2325         * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
2326         for the TaskbarCreated message in the window procedure for the
2327         dummy "tray observer" window we create. When we get a
2328         TaskbarCreated message, iterate over the status icons and re-add
2329         them to the task bar, and update them by calling
2330         gtk_status_icon_update_image().
2331
2332         Move some ifdefs around to avoid unused functions.
2333
2334 2008-03-12  Tor Lillqvist  <tml@novell.com>
2335
2336         * config.h.win32.in: Update to match what configure produces.
2337
2338 2008-03-12  Jens Granseuer  <jensgr@gmx.net>
2339
2340         * modules/printbackends/cups/gtkprintbackendcups.c:
2341         (cups_printer_prepare_for_print): Don't define variables in the
2342         middle of a block. (#522067)
2343
2344 2008-03-12  Matthias Clasen  <mclasen@redhat.com>
2345
2346         * gtk/gtkprintunixdialog.c: Add an overwrite confirmation 
2347         dialog for print-to-file.  (#474302, Marek Kašík)
2348
2349 2008-03-12  Matthias Clasen  <mclasen@redhat.com>
2350
2351         * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
2352         (#469210, Wouter Bolsterlee)
2353
2354 2008-03-12  Matthias Clasen  <mclasen@redhat.com>
2355
2356         * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak 
2357         paper_size here.  (#488820, Morten Welinder)
2358
2359 2008-03-12  Michael Natterer  <mitch@imendio.com>
2360
2361         * acconfig.h: remove this deprecated file.
2362
2363         * configure.in: added comments to all instances of AC_DEFINE() so
2364         config.h can be completely generated from configure.in.
2365
2366 2008-03-12  Michael Natterer  <mitch@imendio.com>
2367
2368         * modules/printbackends/cups/gtkprintbackendcups.c: include
2369         <glib/gstdio.h> for g_fopen().
2370
2371 2008-03-11  Matthias Clasen  <mclasen@redhat.com>
2372
2373         * modules/printbackends/cups/gtkprintbackendcups.c: Use
2374         g_ascii_formatd when formatting custom paper sizes, since
2375         cups doesn't handle , as decimal separator.  (#521548)
2376
2377 2008-03-11  Tor Lillqvist  <tml@novell.com>
2378
2379         Bug 469868 - Filenames with colon ":" are not saved correctly
2380
2381         * gtk/gtkfilechooserentry.c (insert_text_callback)
2382         (delete_text_callback) [Win32]: New functions to make sure that
2383         colons used otherwise than as a separator after a drive letter, or
2384         characters that are always illegal in file names, are rejected on
2385         input. This means that the GTK+ file chooser can't be used to
2386         input full names of alternate data streams, but oh well. There are
2387         still more checks that could be done on the file names, see the
2388         bug report. But this will do for now.
2389         (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
2390
2391 2008-03-11  Jordi Mallach  <jordi@sindominio.net>
2392
2393         * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
2394
2395 2008-03-11  Michael Natterer  <mitch@imendio.com>
2396
2397         * gdk/linux-fb/*: removed linux-fb backend files.
2398
2399         * acconfig.h
2400         * config.h.win32.in
2401         * docs/README.linux-fb
2402         * gtk/Makefile.am: remove remaining traces of linux-fb.
2403
2404         * gtk/gtkwindow-decorate.c: same here. There is some code that
2405         calls into linux-fb to set window move/resize callbacks. I put it
2406         in #if 0 as a reminder because we did use decorated windows with
2407         the DirectFB backend and it did work, so I don't really know why
2408         this code is needed or how it could work with DirectFB back then.
2409         The file does actually compile now if DECORATE_WINDOWS is defined,
2410         but I didn't test with DirectFB to check if it does anything.
2411
2412 2008-03-11  Alberto Ruiz  <aruiz@gnome.org>
2413
2414         * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
2415         Take thickness into account in the size allocation of the child widgets in
2416         list mode.
2417         Fixes #521442
2418
2419 2008-03-11  Richard Hult  <richard@imendio.com>
2420
2421         * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
2422
2423 2008-03-10  Tor Lillqvist  <tml@novell.com>
2424
2425         * tests/teststatusicon.c (do_exit, popup_menu): Add the
2426         possibility to test what happens if the process just calls exit()
2427         without any orderly cleanup of GTK+.
2428
2429 2008-03-10  Tor Lillqvist  <tml@novell.com>
2430
2431         * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
2432
2433 2008-03-10  Tor Lillqvist  <tml@novell.com>
2434
2435         Bug 520286 - Non-deletable window has no minimize / maximize buttons
2436
2437         * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
2438         New debugging output function that decodes a set of WS_* bits.
2439
2440         * gdk/win32/gdkprivate-win32.h: Declare it.
2441
2442         * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
2443         New function that enables or disables one menu entry in the system
2444         menu of a top-level window. (The corresponding decoration will
2445         then also be enabled or disabled (grayed).)
2446
2447         (update_style_bits): Do as the comment says and don't try to
2448         update the window style based on the GdkWMFunctions set for the
2449         window.
2450                    
2451         (update_system_menu): New function that enables or disables the
2452         system menu entries based on a window's stored set of
2453         GdkWMFunctions.
2454
2455         (gdk_window_set_functions): Call update_system_menu() instead of
2456         update_style_bits().
2457
2458 2008-03-10  Emmanuele Bassi  <ebassi@gnome.org>
2459
2460         * README.in: Reword the 2.14 release notes entry about the
2461         deprecation of the gtkitemfactory.h header, and fix typos
2462         and grammar.
2463
2464 2008-03-08  Alberto Ruiz  <aruiz@gnome.org>
2465
2466         * modules/engines/ms-windows/msw_style.c (draw_shadow):
2467         Do not draw frame if parent if combobox.
2468         (draw_box):
2469         Uses scrollbar width system metrics for combobox button.
2470         Fixes #461805 for XP theme engine.
2471
2472 2008-03-07  Johan Dahlin  <johan@gnome.org>
2473
2474         * gtk/gtkbuilder.c:
2475         * gtk/gtkbuilderparser.c:
2476         * gtk/gtkbuilderprivate.h:
2477         * gtk/gtkiconfactory.c:
2478         * tests/buildertest.c:
2479         - Treat enums like enums and not values
2480         - Avoid invalid free, in case of more than two sources
2481         - Add better error messages
2482         - Add much improved tests
2483         (#520979, Christian Persch)
2484
2485 2008-03-07  Carlos Garnacho  <carlos@imendio.com>
2486
2487         * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
2488         Fix build.
2489
2490 2008-03-06  Federico Mena Quintero  <federico@novell.com>
2491
2492         Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
2493         GtkFileChooserDialog should set a default response button if the
2494         app doesn't set it.  Based on a patch by Chris Wang <chris.wang@sun.com>.
2495
2496         * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
2497         function, refactor from where there was duplicated code.
2498         (gtk_file_chooser_dialog_map): Look at the buttons in our
2499         action_area.  If the response ID for a button is one of the stock
2500         ones, make it the default response button.
2501
2502 2008-03-06  Johan Dahlin  <jdahlin@async.com.br>
2503
2504         * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
2505         * gtk/gtkbuilder.c:
2506         * gtk/gtkbuilderprivate.h:
2507         * gtk/gtkiconfactory.c:
2508         * tests/buildertest.c:
2509         Implement GtkBuildable on GtkIconFactory, to make
2510         it possible to register custom stock icons.
2511         Fixes #517066
2512
2513 2008-03-06  Johan Dahlin  <johan@gnome.org>
2514
2515         Make gtk-doc happy:
2516         
2517         * gtk/gtkstyle.c: npoints->n_points.
2518         * gtk/gtktestutils.h: widget->spinner
2519         * gtk/gtktestutils.c: argc->argcp, argv->argvp
2520
2521 2008-03-06  William Lachance <wrlach@gmail.com>
2522
2523         * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M" 
2524         string localizable (as it should be). 
2525
2526 2008-03-06  William Lachance <wrlach@gmail.com>
2527
2528         * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
2529         the time for today's date. It's redudant. (see bug #410517).
2530
2531 2008-03-06  Xan Lopez  <xan@gnome.org>
2532
2533         * gtk/gtkfixed.c: fix typo in documentation.
2534
2535 2008-03-06  Johan Dahlin  <jdahlin@async.com.br>
2536
2537         * gtk/gtkitemfactory.h:
2538         * gtk/gtktypeutils.h:
2539         Move GtkTranslateFunc to gtktypeutils.h so we can completely
2540         deprecate gtkitemfactory.h. 
2541
2542         * gtk/gtkactiongroup.h:
2543         * gtk/gtkstock.h:
2544         Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
2545
2546         * README.in: 
2547         Add a note describing this slight incompatible change
2548         
2549 2008-03-06  Johan Dahlin  <johan@gnome.org>
2550
2551         * gtk/gtkpreview.h: Avoid double-deprecation.
2552
2553 2008-03-06  Michael Natterer  <mitch@imendio.com>
2554
2555         * gtk/gtk.h
2556         * gtk/Makefile.am: move the remaining deprecated widgets to the
2557         separate sections and replaced spaces by tabs in Makefile.am
2558
2559 2008-03-05  Johan Dahlin  <johan@gnome.org>
2560
2561         * configure.in: Add --disable-cups option.
2562         (#513826, Alberto Ruiz)
2563
2564         * gtk/gtk.h: 
2565         * gtk/Makefile.am:
2566         Separate broken and deprecated sources and headers into different sections
2567
2568         * tests/buildertest.c (test_list_store): Restore accidentally broken test.
2569
2570 2008-03-05  Kristian Rietveld  <kris@imendio.com>
2571
2572         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
2573         short-circuit in case an empty root level would be build (and thus
2574         directly destroyed) if no virtual root has been set.
2575
2576 2008-03-04  Matthias Clasen  <mclasen@redhat.com>
2577
2578         * modules/printbackends/cups/gtkprintbackendcups.c: 
2579         Honor cups user default options from ~/.cups/lpoptions
2580         (#469210, Stijn Hoop)
2581
2582 2008-03-04  Michael Natterer  <mitch@imendio.com>
2583
2584         * gtk/gtkcellview.c
2585         * gtk/gtkcolorbutton.c
2586         * gtk/gtkentrycompletion.c
2587         * gtk/gtkfontbutton.c
2588         * gtk/gtkiconview.c
2589         * gtk/gtkobject.c
2590         * gtk/gtkpaned.c
2591         * gtk/gtkpreview.c: don't include "gtksignal.h".
2592
2593         * gtk/gtkfilefilter.c
2594         * gtk/gtkrecentchoosermenu.c
2595         * gtk/gtkrecentfilter.c
2596         * gtk/gtktext.c: don't include "gtkobject.h".
2597
2598 2008-03-04  Simos Xenitellis  <simos@gnome.org>
2599
2600         Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
2601         - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
2602         
2603         * gdk/gdkkeysyms.h: Updated file from upstream (using script from 
2604         same directory).
2605         
2606         * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New 
2607         file, contains compose sequences that used to exist in 
2608         gtk/gtkimcontextsimple.c
2609
2610         * gtk/compose-parse.py: Script to generate compose 
2611         sequences from upstream (Xorg).
2612
2613         * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table, 
2614         check_algorithmically): New functions. First two search in
2615         gtk_compose_seqs_compact[] for matching compose sequence, third
2616         tries NFC normalisation on incoming compose sequence.
2617         (gtk_im_context_simple_filter_keypress): 
2618         Adds searching with check_compact_table(), check_algorithmically().
2619
2620 2008-03-03  Carlos Garnacho  <carlos@imendio.com>
2621
2622         Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
2623         scrollwheel work in GtkPathBar.
2624
2625         * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
2626
2627         * gtk/gtkpathbar.c (gtk_path_bar_realize): New function.  Create
2628         an input-only window, event_window, which we'll use to capture
2629         scroll events.
2630         (gtk_path_bar_map): Show the event_window under the rest of the
2631         windows, so it will be a catch-all for unhandled events.
2632
2633 2008-03-03  Sven Neumann  <sven@gimp.org>
2634
2635         * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
2636         typo in the documentation of the GtkFileChooserButtons::file-set
2637         signal (see bug #353196).
2638
2639 2008-03-03  Tor Lillqvist  <tml@novell.com>
2640
2641         * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
2642         location.
2643
2644 2008-03-02  Johan Dahlin  <johan@gnome.org>
2645
2646         * gtk/gtkiconview.c (gtk_icon_view_paint_item): 
2647         Remove left-over focus_pad variable.
2648         (#490892, Claudio Saavedra)
2649
2650         * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
2651         (#518166, Matt Kraai)
2652
2653 2008-03-02  Johan Dahlin  <johan@gnome.org>
2654
2655         * docs/tutorial/gtk-tut.sgml: Add a missing space
2656         (#517954, Matt Kraai)
2657
2658 2008-03-03  Tor Lillqvist  <tml@novell.com>
2659
2660         * modules/engines/ms-windows/msw_style.c (draw_box): Check that
2661         the widget is a GtkButton before casting.
2662
2663 2008-03-02  Johan Dahlin  <johan@gnome.org>
2664
2665         * configure.in: Compare using = instead of ==, which is portable.
2666         (#490787, Thomas Klausner)
2667
2668 2008-03-02  Johan Dahlin  <johan@gnome.org>
2669
2670         * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
2671         fixes non-C++ build.
2672         (#496032, Nelson Benitez)
2673
2674 2008-02-29  Johan Dahlin  <johan@gnome.org>
2675
2676         * demos/gtk-demo/demo.ui:
2677         * gtk/gtkbuilderparser.c:
2678         * gtk/gtkbuilderprivate.h:
2679         * gtk/gtkliststore.c:
2680         * tests/buildertest.c:
2681         Add translatable/context and comment attributes on
2682         <col> tags under a GtkListStore. Refactor parts of the
2683         translation api and make it available inside gtk+ itself.
2684         Update tests and example.
2685         Fixes a part of #518642
2686
2687 2008-02-29  Johan Dahlin  <johan@gnome.org>
2688
2689         * gtk/gtkbuilder.c:
2690         Add missing g_return_val_if_fail checks for public API.
2691
2692         * gtk/gtkbuilderparser.c:
2693         * gtk/gtkbuilderprivate.h:
2694         Do not use g_error for a few more errors, instead set
2695         the GError sent in through add_from_file/add_from_string.
2696         * tests/buildertest.c:
2697         Add a couple of new parsing tests.
2698         (#519199, Pavel Syomin)
2699
2700 2008-02-29  Federico Mena Quintero  <federico@novell.com>
2701
2702         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
2703         refreshing an existing folder (i.e. when we are about to reload
2704         its file list), turn off the folder's is_finished_loading flag.
2705         Otherwise callers which do ::is_finished_loading() followed by
2706         ::list_children() will get nothing.
2707
2708 2008-02-29  Cody Russell  <bratsche@gnome.org>
2709
2710         * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
2711         say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
2712
2713 2008-02-28  Matthias Clasen  <mclasen@redhat.com>
2714
2715         * gtk/gtkcalendar.h: Remove trailing comma from enum to
2716         make the compiler happy.  (#517295, Sylvain Pasche)
2717
2718 2008-02-27  Michael Natterer  <mitch@imendio.com>
2719
2720         * gtk/gtkmenushell.c
2721         * gtk/gtktable.c
2722         * gtk/gtktext.c
2723         * gtk/gtktipsquery.c
2724         * gtk/gtktoolbar.c
2725         * gtk/gtktreeitem.c
2726         * gtk/gtktreeview.c
2727         * gtk/gtkviewport.c
2728         * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
2729         private functions and virtual function implementations.
2730
2731 2008-02-27  Richard Hult  <richard@imendio.com>
2732
2733         * gdk/quartz/GdkQuartzView.c:
2734         * gdk/quartz/GdkQuartzView.h:
2735         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
2736         Fix performance regression for borderless transparent windows
2737         with shadow.
2738
2739 2008-02-27  Emmanuele Bassi  <ebassi@gnome.org>
2740
2741         * tests/testgtk.c: Revert back to r19454.
2742
2743 2008-02-27  Sven Neumann  <sven@gimp.org>
2744
2745         * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
2746         Quartz backend, use a native Mac OS X application for the print
2747         preview (bug #518624).
2748
2749 2008-02-26  Michael Natterer  <mitch@imendio.com>
2750
2751         * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
2752         the members of info->tag_stack since they are a) gobjects and b)
2753         not even owned by us, ugh... Fixes crash when deserializing fails.
2754
2755 2008-02-26  Sven Neumann  <sven@gimp.org>
2756
2757         * docs/tools/shooter.c (find_toplevel_window)
2758         * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
2759         argument passed to XQueryTree().
2760
2761 2008-02-25  Matthias Clasen  <mclasen@redhat.com>
2762
2763         * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
2764         don't use beagle_query_add_hit_type.
2765
2766 2008-02-25  Richard Hult  <richard@imendio.com>
2767
2768         * gdk/quartz/gdkevents-quartz.c
2769         (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
2770
2771 2008-02-24  Richard Hult  <richard@imendio.com>
2772
2773         * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
2774         shown without gdk's control when clicking the dock icon.
2775
2776 2008-02-24  Richard Hult  <richard@imendio.com>
2777
2778         * gdk/quartz/gdkprivate-quartz.h:
2779         * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
2780         Use the subtype field for the custom event that is used to wake up
2781         the mainloop so we can have other custom event types.
2782
2783         * gdk/quartz/gdkevents-quartz.c:
2784         (_gdk_quartz_events_trigger_crossing_events):
2785         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
2786         crossing events after showing a window if necessary, to work
2787         around problems with the tracking rect API.
2788
2789 2008-02-22  Dominic Lachowicz  <domlachowicz@gmail.com>
2790
2791         * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives 
2792         wrong results on win32 because it doesn't set the printing units, 
2793         which affect the transformation of the cairo context 
2794         (#347125, Erik van Pienbroek)
2795
2796 2008-02-22  Tor Lillqvist  <tml@novell.com>
2797
2798         * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
2799
2800 2008-02-22  Dominic Lachowicz  <domlachowicz@gmail.com>
2801
2802         * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
2803         acceptable for a module to only support the save_to_callback()
2804         method if it marks itself as WRITABLE
2805
2806 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
2807         
2808         * configure.in: Bump version
2809
2810 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
2811
2812         * === Released 2.13.0 ===
2813
2814         * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
2815
2816 2008-02-21  Tor Lillqvist  <tml@novell.com>
2817
2818         * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
2819         pass the format string to strftime in the C library's locale's
2820         charset, not the system's. Correspondingly, the return value from
2821         strftime() is in the C library's locale's charset. (#509885)
2822
2823 2008-02-20  Richard Hult  <richard@imendio.com>
2824
2825         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
2826         the right window level and shadow after recreating the window.
2827
2828         * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
2829         necessary after drawing (bug #517338).
2830
2831 2008-02-20  Marc-Andre Lureau  <marcandre.lureau@gmail.com>
2832
2833         * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
2834         call to g_type_class_unref in case of error. (#517563)
2835
2836 2008-02-18  Sven Neumann  <sven@gimp.org>
2837
2838         * gtk/Makefile.am (STOCK_ICONS)
2839         * gtk/stock-icons/16/gtk-page-setup.png
2840         * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
2841         taken from GNOME icon theme.
2842
2843         * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
2844
2845 2008-02-18  Runa Bhattacharjee <runabh@gmail.com>
2846
2847         * configure.in: Added Kannada (kn) to ALL_LINGUAS
2848
2849 2008-02-17  Johan Dahlin  <johan@gnome.org>
2850
2851         * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem): 
2852         When converting a stock item based on the label, remove the label property.
2853
2854 2008-02-17  Richard Hult  <richard@imendio.com>
2855
2856         * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
2857         position after showing the window since the window manager might
2858         not place it where we requested in the first places.
2859
2860 2008-02-17  Richard Hult  <richard@imendio.com>
2861
2862         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
2863         (_gdk_quartz_window_detach_from_parent),
2864         (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
2865         the toplevel ordering list in all places where the order is
2866         potentially changed. Fixes mouse focus issues for windows with
2867         a transient parent set.
2868
2869 2008-02-17  Richard Hult  <richard@imendio.com>
2870
2871         * gdk/quartz/gdkevents-quartz.c
2872         (_gdk_quartz_events_update_mouse_window): Highlight the mouse
2873         window when event debugging is enabled.
2874
2875 2008-02-16  Richard Hult  <richard@imendio.com>
2876
2877         * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
2878         to the scroll event (bug #516757, Paul Davis).
2879
2880 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
2881
2882         * NEWS: Updates
2883
2884 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
2885
2886         * gtk/gtklinkbutton.c: Show the URI in a tooltip.  (#505480,
2887         Teppo Turtiainen)
2888
2889 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
2890
2891         * gdk/Makefile.am: Don't install private headers. (#463510)
2892
2893         * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
2894         the installed header gdkprivate.h.
2895
2896 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
2897
2898         * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
2899         a crash with hidden, reorderable tabs.  (#513230, 
2900         Mike Massonnet, patch by Carlos Garnacho)
2901
2902 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
2903
2904         * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
2905         Warn on duplicate action group names.  (#501746, Christian
2906         Persch)
2907
2908 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
2909
2910         * gtk/Makefile.am:
2911         * modules/other/gail/tests/Makefile.am:
2912         * modules/other/gail/libgail-util/Makefile.am:
2913         * modules/other/gail/Makefile.am: Fix builddir!=srcdir
2914         builds.  (#516254,  Yevgen Muntyan)
2915
2916 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
2917
2918         * gtk/gtkentry.c:
2919         * gtk/gtkfilesel.c:
2920         * gtk/gtklabel.c:
2921         * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets 
2922         instead of hardcoded target tables.  (#516092, Christian Persch)
2923
2924 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
2925
2926         * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
2927         add the same target atom twice.  (#516087, Christian Persch)
2928
2929 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
2930
2931         * tests/testfilechooser.c: Add a --backend option.
2932         (#516073, Christian Persch)
2933
2934 2008-02-16  Richard Hult  <richard@imendio.com>
2935
2936         * gdk/quartz/gdkprivate-quartz.h:
2937         * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
2938         gdkwindow.
2939
2940 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
2941
2942         * configure.in: Go back to 2.13.0 as version for now,
2943         as there was no consensus to do the jump.
2944
2945         * many other places: Update Since: tags.
2946
2947 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
2948
2949         * gtk/gtk.symbols: Add gtk_tool_shell_get_type
2950
2951         * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
2952
2953 2008-02-15  Richard Hult  <richard@imendio.com>
2954
2955         * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
2956         instead of bounds when resizing windows.
2957
2958 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
2959
2960         * gdk/x11/gdkkeys-x11.c:
2961         * gdk/x11/gdkcolor-x11.c:
2962         * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
2963
2964 2008-02-15  Matthias Clasen <mclasen@redhat.com>
2965
2966         * gdk/x11/gdktestutils-x11.c:
2967         * gdk/x11/gdkscreen-x11.c: Documentation fixes.
2968
2969 2008-02-15  Tor Lillqvist  <tml@novell.com>
2970
2971         * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
2972         leak Registry key handles. (#516578)
2973
2974 2008-02-14  Richard Hult  <richard@imendio.com>
2975
2976         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
2977         makeKeyWindow unfortunately doesn't work in all cases, we must use
2978         makeKeyAndOrderFront.
2979
2980 2008-02-14  Richard Hult  <richard@imendio.com>
2981
2982         * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
2983         (gdk_window_hide), (gdk_window_fullscreen),
2984         (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
2985         the window is hidden.
2986
2987 2008-02-14  Richard Hult  <richard@imendio.com>
2988
2989         * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
2990         resizing to be consistent and to avoid introducing an internal
2991         transform in the view.
2992
2993 2008-02-14  Richard Hult  <richard@imendio.com>
2994
2995         * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
2996         fix.
2997
2998 2008-02-14  Johan Dahlin  <johan@gnome.org>
2999
3000         * gdk/gdktestutils.h
3001         * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
3002
3003 2008-02-13  Richard Hult  <richard@imendio.com>
3004
3005         * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
3006         Remove unused variables.
3007         (gtk_clipboard_set_contents),
3008         (gtk_clipboard_get_owner), (clipboard_unset),
3009         (gtk_clipboard_request_targets): Notify the previous clipboard
3010         owner when the owner changes. Fixes bug #493406.
3011         
3012 2008-02-13  Richard Hult  <richard@imendio.com>
3013
3014         * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
3015         the return value (return number of colors that failed), and handle
3016         RGBA colormap.
3017         (gdk_colormap_free_colors): Fix typo in comment.
3018
3019 2008-02-13  Kristian Rietveld  <kris@imendio.com>
3020
3021         * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
3022         queue a redraw if the rubber banding has actually been active.
3023
3024 2008-02-12  Matthias Clasen  <mclasne@redhat.com>
3025
3026         * gtk/gtkpapersize.c:
3027         * gtk/gtkprintoperation.c:
3028         * gtk/gtkvolumebutton.c:
3029         * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
3030         out by Behdad Esfahbod.
3031
3032 2008-02-12  Federico Mena Quintero  <federico@novell.com>
3033
3034         Merged from gtk-2-12:
3035
3036         Don't focus the file list when shortcuts get activated.  This
3037         removes a lot of ambiguity in when the file selection should
3038         change, and makes the overall code flow simpler.
3039
3040         This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
3041         file/save dialog clears the filename entry when changing
3042         directories.
3043
3044         Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
3045         focus should not go to the file list when a shortcut is activated.
3046
3047         * gtk/gtkfilechooserdefault.c
3048         (shortcuts_activate_volume_mount_cb): Don't focus the file list
3049         (shortcuts_activate_get_info_cb): Likewise.
3050
3051         * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
3052         the file list (this was the last place where we would focus the
3053         file list explicitly).  If you are in the location entry, for
3054         example, you don't want Alt-Home to take you to the file list; you
3055         just want the current folder to change.  Thanks to Olle Bergkvist
3056         <olle.bergkvist@yahoo.se> for pointing this out in
3057         http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
3058         (focus_browse_tree_view_if_possible): Removed.
3059
3060 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
3061
3062         Skip exensions when selecting filenames in the save-as dialog.
3063         (#362516, Carlos Garnacho)
3064
3065         * gtk/gtkfilechooserentry.h:
3066         * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
3067         New function to skip the extension part when selecting a filename.
3068         (_gtk_file_chooser_entry_set_base_folder): Use it here.
3069
3070         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
3071         ...and here.
3072
3073 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
3074
3075         * gtk/gtkiconview.c: Fix state change reporting for 
3076         accessibility.  (#499835, Rich Burridge, patch by LiYan Zhang)
3077
3078 2008-02-12  Emmanuele Bassi  <ebassi@gnome.org>
3079
3080         * gtk/gtkrecentchooser.c:
3081         (gtk_recent_chooser_class_init): Set the default value of the
3082         :show-not-found property to TRUE, as every implementation sets
3083         it to TRUE already.
3084
3085         * gtk/gtkrecentchooserdefault.c:
3086         (_gtk_recent_chooser_default_init): Sync show_tips to the
3087         default value of the :show-tips property.
3088
3089 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
3090
3091         * gtk/gtkclipboard-quartz.c:
3092         * gtkquartz.c:
3093         * gtkselection.c: Use GSlice for GtkSelectionData.  (#515060,
3094         Christian Persch)
3095
3096 2008-02-12  Kristian Rietveld  <kris@imendio.com>
3097
3098         * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
3099         (gtk_tree_view_real_toggle_cursor_row): guard against people
3100         deleting the row in question in the selection-changed callback.
3101         (#514621, Andreas Koehler).
3102
3103 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
3104
3105         * gtk/*.c: Unify the handling of various "Enter" keysyms
3106         all over the place.  (#515047, Christian Persch)
3107
3108 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
3109
3110         * gtk/gtkfilesystemmodel.c:
3111         * gtk/gtkprinter.c:
3112         * gtk/gtkwidget.c: Use g_value_set_static_string() where 
3113         appropriate.  (#515042, Christian Persch)
3114
3115 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
3116
3117         * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
3118         
3119 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
3120
3121         * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
3122
3123 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
3124
3125         * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
3126         (recent_model_sort_drag_data_get):
3127         (search_model_sort_drag_data_get):
3128         * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
3129         * gtk/gtkpathbar.c (button_drag_data_get_cb):
3130         Use gtk_selection_data_set_uris() instead of doing it
3131         by hand.  (#514890, Christian Persch)
3132
3133 2008-02-12  Michael Natterer  <mitch@imendio.com>
3134
3135         * gtk/gtkstatusicon.c: #include "gtkmain.h" for
3136         gtk_get_current_event_time().
3137
3138 2008-02-12  Michael Natterer  <mitch@imendio.com>
3139
3140         * gtk/gtkwindow.c (gtk_window_activate_key): simply use
3141         gtk_window_get_key_hash() to get the hash instead of manually
3142         fiddling with quarks and gtk_window_keys_changed(). Also add
3143         g_return_if_fail() to this public function.
3144
3145 2008-02-11  Matthias Clasen  <mclasen@redhat.com>
3146
3147         Support keynav in status icons.  (#473786, Li Yuan)
3148
3149         * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
3150
3151         * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
3152
3153 2008-02-11  Kristian Rietveld  <kris@imendio.com>
3154
3155         * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
3156         * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
3157         wrt. link deletion from list; contination of fix for #503569.
3158
3159 2008-02-11  Emmanuele Bassi  <ebassi@gnome.org>
3160
3161         * gtk/gtkrecentchoosermenu.c:
3162         (gtk_recent_chooser_menu_constructor): Set no-show-all flag
3163         on the placeholder menu item.
3164
3165         * tests/testrecentchoosermenu.c:
3166         (create_recent_chooser_menu): Use gtk_widget_show_all() to test
3167         whether the placeholder menu item gets shown.
3168
3169 2008-02-10  Cody Russell  <bratsche@gnome.org>
3170
3171         * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
3172         Check the return value of _gtk_file_chooser_get_file_system () for
3173         NULL before passing it to gtk_file_system_path_to_uri ().
3174         (#515667, Francesco Montorsi)
3175
3176 2008-02-10  Philip Withnall  <pwithnall@svn.gnome.org>
3177
3178         * gtk/gtkbuilder.c: Improve the documentation for
3179         gtk_builder_connect_signals. (#514471)
3180
3181 2008-02-10  Matthias Clasen  <mclasen@redhat.com>
3182
3183         * gtk/gtkrecentaction.c: Propagate local-only.  (#511987, 
3184         Jonh Wendell)
3185
3186 2008-02-08  Cody Russell  <bratsche@gnome.org>
3187
3188         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
3189         Removed an extra semicolon.  (#515219, reported by Kazuki IWAMOTO)
3190
3191 2008-02-08  Richard Hult  <richard@imendio.com>
3192
3193         * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
3194         delta from the NSEvent for now, generating multiple scroll events
3195         results in a lot of events getting queued up and things get really
3196         slow.
3197
3198 2008-02-08  Sven Herzberg  <sven@imendio.com>
3199
3200         Adjust the code to match the documentation, examples, "common sense"
3201         and existing applications.
3202
3203         * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
3204         that a GtkMenu for a <popup> element doesn't have to have a GtkAction
3205         assigned
3206
3207 2008-02-07  Cody Russell  <bratsche@gnome.org>
3208
3209         * gdk/win32/gdkevents-win32.c
3210         * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
3211         of a block that were causing compile problems on old
3212         compilers. (#515053, reported by Kazuki IWAMOTO)
3213         
3214 2008-02-07  Michael Natterer  <mitch@imendio.com>
3215
3216         * gtk/gtkcellview.c
3217         * gtk/gtklabel.c
3218         * gtk/gtklayout.c
3219         * gtk/gtklist.c
3220         * gtk/gtkmenu.c
3221         * gtk/gtkmenushell.c
3222         * gtk/gtkmisc.c
3223         * gtk/gtkoptionmenu.c
3224         * gtk/gtkplug.c
3225         * gtk/gtkpreview.c
3226         * gtk/gtkprogress.c
3227         * gtk/gtkradiomenuitem.c
3228         * gtk/gtkscale.c
3229         * gtk/gtkscrolledwindow.c
3230         * gtk/gtksocket.c: remove g_return_if_fail() from private
3231         functions and virtual function implementations.
3232
3233 2008-02-07  Michael Natterer  <mitch@imendio.com>
3234
3235         * gtk/gtkaction.c
3236         * gtk/gtkassistant.c
3237         * gtk/gtkbin.c
3238         * gtk/gtkbox.c
3239         * gtk/gtkcalendar.c
3240         * gtk/gtkcellrenderercombo.c
3241         * gtk/gtkcombobox.c
3242         * gtk/gtkcombo.c
3243         * gtk/gtkdrawingarea.c
3244         * gtk/gtkentrycompletion.c
3245         * gtk/gtkfixed.h
3246         * gtk/gtkgamma.c
3247         * gtk/gtkhpaned.c
3248         * gtk/gtkiconview.c
3249         * gtk/gtkitem.c
3250         * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
3251         functions and virtual function implementations.
3252
3253 2008-02-07  Christian Persch  <chpe@gnome.org>
3254
3255         * gdk/gdkpixbuf-render.c:
3256         (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
3257         alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
3258         otherwise there will be random pixel values in the semi-transparent
3259         area of the pixbuf within the mask. Bug #487865.
3260
3261 2008-02-06  Cody Russell  <bratsche@gnome.org>
3262
3263         * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
3264         otherwise things get wonky when you click on a menu.  This fixes
3265         a regression caused in #505928.  Thanks to Tor for spotting this
3266         one!  (#514789)
3267
3268 2008-02-06  Michael Natterer  <mitch@imendio.com>
3269
3270         * gtk/gtkcontainer.c
3271         * gtk/gtkexpander.c
3272         * gtk/gtkframe.c
3273         * gtk/gtklabel.c
3274         * gtk/gtkmain.c
3275         * gtk/gtkmenu.c
3276         * gtk/gtkmenuitem.c
3277         * gtk/gtkmenushell.c
3278         * gtk/gtknotebook.c
3279         * gtk/gtkseparatortoolitem.c
3280         * gtk/gtksocket.c
3281         * gtk/gtktextlayout.c
3282         * gtk/gtktoggletoolbutton.c
3283         * gtk/gtktoolbutton.c
3284         * gtk/gtktoolitem.c
3285         * gtk/gtktree.c
3286         * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
3287         "GTK_IS_FOO (foo)".
3288
3289 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
3290
3291         * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
3292         Allow to store half-open ranges.
3293
3294 2008-02-05  Cody Russell  <bratsche@gnome.org>
3295
3296         * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
3297         down the stack until we get to a window that is mapped.
3298         Otherwise hiding a window will cause all windows in the app
3299         to be blocked. (#514643)
3300
3301 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
3302
3303         * gtk/updateiconcache.c: Ignore images in the toplevel theme
3304         directory, avoiding one source of invalid caches that has been
3305         spotted in the wild.
3306
3307 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
3308
3309         * gtk/updateiconcache.c: Fix the previous commit to compile.
3310
3311 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
3312
3313         * gtk/updateiconcache.c: Install a printerr handler that
3314         prepends the program name, since gtk-update-icon-cache output
3315         often appears in the middle of other output, e.g. rpm update logs.
3316
3317 2008-02-05  Cody Russell  <bratsche@gnome.org>
3318
3319         * gdk/win32/gdkprivate-win32.h
3320         * gdk/win32/gdkevents-win32.c
3321         * gdk/win32/gdkwindow-win32.c
3322         * gdk/win32/gdkwindow-win32.h
3323         * gdk/win32/gdkwin32.h:
3324         Modal window rework.  (#455627 and #511111)
3325
3326 2008-02-04  Michael Natterer  <mitch@imendio.com>
3327
3328         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
3329         g_return_if_fail() if the cell is not part of the combo instead of
3330         crashing in the next line.
3331
3332 2008-02-01  Cody Russell  <cody@jhu.edu>
3333
3334         * modules/engines/ms-windows/xp_theme.[ch]
3335         * modules/engines/ms-windows/xp_theme_defs.h
3336         * modules/engines/ms-windows/msw_rc_style.c
3337         * modules/engines/ms-windows/msw_theme_main.c
3338         * modules/engines/ms-windows/msw_style.c: Re-indented and generally
3339         attempted to stylize more like the rest of the gtk+ stack's code.
3340
3341 2008-02-01  Michael Natterer  <mitch@imendio.com>
3342
3343         * tests/testgtk.c: initialize GdkColor structs to fix warning
3344         about uninitialized "pixel" member.
3345
3346         * tests/testactions.c: connect the toolbar_style() callback so it
3347         does something useful and doesn't warn about being defined but not
3348         used.
3349
3350 2008-01-31  Cody Russell  <bratsche@gnome.org>
3351
3352         * gdk/win32/gdkevents-win32.c:
3353         Refactored some of the window hiding/showing code from
3354         WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND.  Having this
3355         under WM_ACTIVATE was causing the application to go into
3356         a weird state when the user right-clicked on the taskbar
3357         entry of a window that was minimized.  (#505928)
3358         
3359 2008-01-31  Cody Russell  <bratsche@gnome.org>
3360
3361         * gtk/gtkpaned.c (gtk_paned_set_position):
3362         Change queue_resize() to queue_draw(), and add a check for
3363         child2 != NULL in case someone calls this before there is
3364         a child packed in there.  (#144269 again)
3365
3366 2008-01-31  Sven Neumann  <sven@gimp.org>
3367
3368         * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
3369         applied patch from Denis Oliver Kropp <dok@directfb.org>.
3370
3371 2008-01-31  Sven Neumann  <sven@gimp.org>
3372
3373         * gdk/directfb/gdkdisplay-directfb.c
3374         * gdk/directfb/gdkdrawable-directfb.c
3375         * gdk/directfb/gdkprivate-directfb.h
3376         * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
3377         Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
3378
3379 2008-01-31  Richard Hult  <richard@imendio.com>
3380
3381         * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
3382         issues with undecorated windows. Revert the change done on
3383         2008-01-25 and fix it by using the view's bounds instead. The
3384         bounds will always be up to date when setting up the tracking
3385         rect, so this should be more robust.
3386
3387 2008-01-30  Sven Neumann  <sven@gimp.org>
3388
3389         * gdk/directfb/gdkdrawable-directfb.c
3390         * gdk/directfb/gdkwindow-directfb.c
3391         * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
3392         Oliver Kropp <dok@directfb.org>. Adds debug messages using
3393         DirectFB's debugging system
3394
3395 2008-01-30  Sven Neumann  <sven@gimp.org>
3396
3397         * gdk/directfb/gdkdirectfb.h
3398         * gdk/directfb/gdkdisplay-directfb.c
3399         * gdk/directfb/gdkdrawable-directfb.c
3400         * gdk/directfb/gdkim-directfb.c
3401         * gdk/directfb/gdkimage-directfb.c
3402         * gdk/directfb/gdkinput-directfb.c
3403         * gdk/directfb/gdkmain-directfb.c
3404         * gdk/directfb/gdkpixmap-directfb.c
3405         * gdk/directfb/gdktestutils-directfb.c
3406         * gdk/directfb/gdkvisual-directfb.c
3407         * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
3408         Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
3409         errors and has some cleanups.
3410
3411 2008-01-30  Michael Natterer  <mitch@imendio.com>
3412
3413         * gtk/gtkbuilderparser.c (parse_custom): use the right type for
3414         "subparser_data" and remove the (gpointer*) cast. Fixes bogus
3415         aliasing warning.
3416
3417         * gtk/updateiconcache.c (add_string): cast const gchar* to
3418         gpointer when inserting in a GHashTable.
3419
3420         * tests/testcalendar.c (calendar_detail_cb): remove const from
3421         return value since it's a newly allocated string.
3422
3423         (calendar_update_details): free the detail.
3424
3425 2008-01-29  Johan Dahlin  <johan@gnome.org>
3426
3427         * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
3428         (do_builder):
3429         * demos/gtk-demo/demo.ui:
3430         Move the about dialog to the glade file, add accessible tags
3431         examples to the markup file.
3432
3433 2008-01-28  Paolo Borelli  <pborelli@katamail.com>
3434
3435         * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
3436         layout, fixes #512375.
3437
3438 2008-01-28  Michael Natterer  <mitch@imendio.com>
3439
3440         * gtk/gtktextchild.c
3441         * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
3442
3443 2008-01-28  Michael Natterer  <mitch@imendio.com>
3444
3445         * demos/gtk-demo/builder.c (about_activate): use
3446         gtk_about_dialog_set_program_name() instead of the deprecated
3447         set_name().
3448
3449 2008-01-28  Michael Natterer  <mitch@imendio.com>
3450
3451         * gtk/gtktextchild.c
3452         * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
3453         is deprecated now).
3454
3455 2008-01-26  Johan Dahlin  <johan@gnome.org>
3456
3457         * tests/Makefile.am:
3458         * tests/textbuffertest.c:
3459         Rename textbuffer test and port it to the new test framework
3460         
3461 2008-01-25  Johan Dahlin  <johan@gnome.org>
3462
3463         * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
3464         unsetting of GTK_MODULES.
3465
3466         * gtk/gtk-builder-convert
3467         (GtkBuilderConverter._convert_adjustment): Handle the case where
3468         there is no child text node.
3469         (GtkBuilderConverter): Allow xml comments in most places.
3470
3471 2008-01-25  Johan Dahlin  <johan@gnome.org>
3472
3473         * gtk/gtk-builder-convert
3474         (GtkBuilderConverter._convert_combobox_items): Remove the items
3475         even if there are no items set.
3476         (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
3477         signals and tooltips for all menu items subclasses and 
3478         GtkImageMenuItem:label. 
3479         Makes it possible to fully convert and run Jokosher.glade.
3480
3481 2008-01-25  Johan Dahlin  <johan@gnome.org>
3482
3483         * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
3484         (gtk_widget_buildable_get_internal_child), (free_action),
3485         (free_relation), (gtk_widget_buildable_parser_finished),
3486         (accessibility_start_element),
3487         (gtk_widget_buildable_custom_tag_start),
3488         (gtk_widget_buildable_custom_finished):
3489         Implement accessible support, fixes #454653.
3490
3491         * gtk/gtk-builder-convert:
3492         Add support for migrating old glade files
3493         
3494         * tests/buildertest.c: (test_widget), (test_file):
3495         Add accessible tests and imprve the test_file function to display
3496         toplevels and run dialogs.
3497
3498 2008-01-25  Richard Hult  <richard@imendio.com>
3499
3500         * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
3501         didn't change, fixes focus event issues for undecorated windows.
3502
3503 2008-01-25  Richard Hult  <richard@imendio.com>
3504
3505         * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
3506         const and remove unused variables).
3507
3508 2008-01-25  Michael Natterer  <mitch@imendio.com>
3509
3510         * gtk/gtkbutton.h
3511         * gtk/gtkcellrenderer.h
3512         * gtk/gtkimcontext.h
3513         * gtk/gtkstyle.h
3514         * gtk/gtktoolbar.h
3515         * gtk/gtktooltip.h
3516         * gtk/gtktreeprivate.h
3517         * gtk/gtktreeviewcolumn.h
3518         * gtk/gtkwidget.h: add const to constant structs which are passed
3519         into GTK+. Also add some forgotten const for const strings.
3520         Fixes bug #511554.
3521
3522         * gtk/gtkbutton.c
3523         * gtk/gtkcellrenderer.c
3524         * gtk/gtkimcontext.c
3525         * gtk/gtkstyle.c
3526         * gtk/gtktoolbar.c
3527         * gtk/gtktooltip.c
3528         * gtk/gtktreeview.c
3529         * gtk/gtktreeviewcolumn.c
3530         * gtk/gtkwidget.c: changed accordingly.
3531
3532 2008-01-25  Sven Herzberg  <sven@imendio.com>
3533
3534         Reviewed by Johan Dahlin.
3535
3536         * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
3537         this is called with something that's not a GtkUIManager
3538
3539 2008-01-24  Johan Dahlin  <johan@gnome.org>
3540
3541         * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child): 
3542         Chain up to parent, so widgets can have internal children.
3543
3544 2008-01-22  Mathias Hasselmann  <mathias@openismus.com>
3545
3546         Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
3547         IWAMOTO).
3548
3549         * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
3550
3551 2008-01-22  Mathias Hasselmann  <mathias@openismus.com>
3552
3553         Use pango_layout_set_height() for calendar details (#506049).
3554
3555         * configure.in: Require 1.19.3 for pango_layout_set_height().
3556         * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
3557
3558 2008-01-18  Johan Dahlin  <johan@gnome.org>
3559
3560         * gtk/gtk-builder-convert (get_property_node): New method
3561         (GtkBuilderConverter._create_object): Conditionally take a node as
3562         a property value, so don't lose translate/context attributes if they
3563         are set. 
3564         (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
3565         property values instead of strings.
3566         (#509153, Erik van Pienbroek)
3567
3568 2008-01-16  Mathias Hasselmann  <mathias@openismus.com>
3569
3570         Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
3571
3572         * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
3573         * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
3574         * tests/testcalendar.c: Duplicate calendar details before returning.
3575
3576 2008-01-16  Christian Persch  <chpe@gnome.org>
3577
3578         * gtk/gtkwidget.c: Store the event mask and extension event mode
3579         directly in the gobject data pointer, instead of in an allocated
3580         gint. Bug #506604.
3581
3582 2008-01-16  Michael Natterer  <mitch@imendio.com>
3583
3584         * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
3585         gdk-pixbuf now uses gio functions.
3586
3587 2008-01-16  Matthias Clasen  <mclasen@redhat.com>
3588
3589         * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
3590         the notify::model signal.  (#509819, David Zeuthen)
3591
3592 2008-01-15  Michael Natterer  <mitch@imendio.com>
3593
3594         * gdk/gdkdisplay.h
3595         * gdk/gdkdrawable.h
3596         * gdk/gdkevents.h
3597         * gdk/gdkpango.h
3598         * gdk/gdkregion.h
3599         * gdk/gdkrgb.h
3600         * gdk/gdkwindow.h: made more struct pointer and array parameters
3601         const. GDK should now be constified as far as possible without
3602         breaking source compatibility. Includes some minor cleanup like
3603         indentation and s/nfoo/n_foo/ (bug #508544).
3604
3605         * gdk/gdkdisplay.c
3606         * gdk/gdkdraw.c
3607         * gdk/gdkevents.c
3608         * gdk/gdkpango.c
3609         * gdk/gdkregion-generic.c
3610         * gdk/gdkrgb.c
3611         * gdk/directfb/gdkdisplay-directfb.c
3612         * gdk/directfb/gdkwindow-directfb.c
3613         * gdk/quartz/gdkdisplay-quartz.c
3614         * gdk/quartz/gdkwindow-quartz.c
3615         * gdk/win32/gdkdisplay-win32.c
3616         * gdk/win32/gdkwindow-win32.c
3617         * gdk/x11/gdkdisplay-x11.c
3618         * gdk/x11/gdkwindow-x11.c: changed accordingly.
3619
3620 2008-01-14  Michael Natterer  <mitch@imendio.com>
3621
3622         * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
3623         const warning.
3624
3625         (gtk_rc_parse_any): change variables to const and introduce
3626         another local variable to fix const warnings.
3627
3628 2008-01-14  Michael Natterer  <mitch@imendio.com>
3629
3630         * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
3631         of gdk_screen_get_font_options() to gpointer to get rid of const
3632         warning.
3633
3634 2008-01-14  Michael Natterer  <mitch@imendio.com>
3635
3636         * tests/testdnd.c (source_drag_data_get): fix another call to
3637         gtk_selection_data_set().
3638
3639 2008-01-14  Michael Natterer  <mitch@imendio.com>
3640
3641         * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
3642         signedness warning.
3643
3644 2008-01-14  Michael Natterer  <mitch@imendio.com>
3645
3646         * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
3647
3648 2008-01-14  Michael Natterer  <mitch@imendio.com>
3649
3650         * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
3651         "uris" to guchar* when passing it to gtk_selection_data_set().
3652
3653 2008-01-14  Michael Natterer  <mitch@imendio.com>
3654
3655         * gdk/gdk.h
3656         * gdk/gdkcairo.h
3657         * gdk/gdkcolor.h
3658         * gdk/gdkgc.h
3659         * gdk/gdkinternals.h
3660         * gdk/gdkregion.h
3661         * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
3662         parameters const (bug #508544).
3663
3664         * gdk/gdkcairo.c
3665         * gdk/gdkgc.c
3666         * gdk/gdkwindow.c
3667         * gdk/gdkrectangle.c
3668         * gdk/gdkpolyreg-generic.c
3669         * gdk/gdkregion-generic.c
3670         * gdk/directfb/gdkcolor-directfb.c
3671         * gdk/directfb/gdkgc-directfb.c
3672         * gdk/directfb/gdkgeometry-directfb.c
3673         * gdk/directfb/gdkwindow-directfb.c
3674         * gdk/quartz/gdkcolor-quartz.c
3675         * gdk/quartz/gdkgc-quartz.c
3676         * gdk/quartz/gdkgeometry-quartz.c
3677         * gdk/quartz/gdkwindow-quartz.c
3678         * gdk/win32/gdkcolor-win32.c
3679         * gdk/win32/gdkgc-win32.c
3680         * gdk/win32/gdkgeometry-win32.c
3681         * gdk/win32/gdkprivate-win32.h
3682         * gdk/win32/gdkwindow-win32.c
3683         * gdk/x11/gdkcolor-x11.c
3684         * gdk/x11/gdkgc-x11.c
3685         * gdk/x11/gdkgeometry-x11.c
3686         * gdk/x11/gdkmain-x11.c
3687         * gdk/x11/gdkprivate-x11.h
3688         * gdk/x11/gdkwindow-x11.c: changed accordingly.
3689
3690         * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
3691         headers.
3692
3693 2008-01-14  Mathias Hasselmann  <mathias@openismus.com>
3694
3695         Explain name choice for gtk_tool_item_toolbar_reconfigured.
3696
3697         * gtk/gtktoolitem.c: Add comment expaining name choice for
3698         gtk_tool_item_toolbar_reconfigured.
3699
3700 2008-01-14  Mathias Hasselmann  <mathias@openismus.com>
3701
3702         Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
3703         implementations to notify its children, when some aspect of their
3704         configuration changed (#509042).
3705
3706         * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
3707         * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
3708         Rename _gtk_tool_item_toolbar_reconfigured.
3709
3710 2008-01-12  Mathias Hasselmann  <mathias@openismus.com>
3711
3712         Include <gtk/gtktoolshell.h> from gtk.h.
3713
3714         * gtk/gtk.h: Add gtktoolshell.h
3715
3716 2008-01-12  Mathias Hasselmann  <mathias@openismus.com>
3717
3718         Print angle brackets arround e-mail addresses in the about dialog
3719         (#409520, Mariano Suárez-Alvarez).
3720
3721         * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
3722
3723 2008-01-11 13:28:02  Tim Janik  <timj@imendio.com>
3724
3725         * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
3726         special casing so test widgets are always queues for destruction
3727         during teardown.
3728
3729         * gtk/tests/testing.c: removed bits left-over from testing without
3730         gtestutils.h.
3731
3732 2008-01-10  Tor Lillqvist  <tml@novell.com>
3733
3734         * modules/other/gail/libgail-util/Makefile.am
3735         * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
3736         gdktargetlib.
3737         
3738 2008-01-10  Tor Lillqvist  <tml@novell.com>
3739
3740         * tests/Makefile.am: Build defaultvaluetest only on Unix as it
3741         uses gtkprintunixdialog API.
3742
3743 2008-01-10  Tor Lillqvist  <tml@novell.com>
3744
3745         * gdk/win32/gdkdisplay-win32.c
3746         * gdk/win32/gdkglobals-win32.c
3747         * gdk/win32/gdkprivate-win32.h
3748         * gdk/win32/gdkscreen-win32.c
3749         * gdk/win32/gdkwindow-win32.c: Implement
3750         gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
3751         and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
3752         Iwamoto. (#505753)
3753
3754 2008-01-10  Cody Russell  <bratsche@gnome.org>
3755
3756         * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
3757         Properly ref/unref windows and parents.  (#506769)
3758
3759 2008-01-10  Richard Hult  <richard@imendio.com>
3760
3761         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
3762         (gdk_window_hide), (move_resize_window_internal): Move the
3763         tracking rect workaround from here...
3764
3765         * gdk/quartz/GdkQuartzWindow.c:
3766         * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
3767         movements during showing/hiding operations. Fixes bug #508516.
3768
3769 2008-01-10  Michael Natterer  <mitch@imendio.com>
3770
3771         * gdk/directfb/gdkscreen-directfb.c
3772         (gdk_screen_get_monitor_width_mm)
3773         (gdk_screen_get_monitor_height_mm)
3774         (gdk_screen_get_monitor_plug_name): add these functions to make
3775         it build again.
3776
3777 2008-01-10  Emmanuele Bassi  <ebassi@gnome.org>
3778
3779         * gtk/gtkrecentchoosermenu.c:
3780         (idle_populate_func), (idle_populate_clean_up): Fix possible
3781         recursion by resetting the idle source id. (#507605, William
3782         Pitcock)
3783
3784 2008-01-10  Kristian Rietveld  <kris@imendio.com>
3785
3786         * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
3787         (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
3788         avoid valgrind warnings.  (#507751, patch from Christian Persch).
3789
3790 2008-01-10  Kristian Rietveld  <kris@imendio.com>
3791
3792         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
3793         a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
3794
3795 2008-01-10  Kristian Rietveld  <kris@imendio.com>
3796
3797         Fix #477175, reported by Juri Pakaste.
3798
3799         * gtk/gtktreeprivate.h:
3800         * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
3801         tree_view->priv->dy here directly, just calculate the new value
3802         and set it on the adjustment,
3803         (gtk_tree_view_adjustment_changed): add guards to not call
3804         gtk_tree_view_dy_to_top_row() if we are currently in
3805         gtk_tree_view_top_row_to_dy(),
3806         (gtk_tree_view_put): fix coordinate annotation: these are bin_window
3807         coordinates, not tree coordinates,
3808         (gtk_tree_view_real_start_editing): add cast.
3809
3810         * gtk/tests/treeview-scrolling.c: add an assertion for checking the
3811         position of the editable in the "create new row and start editing"
3812         tests.
3813
3814 2008-01-09  Michael Natterer  <mitch@imendio.com>
3815
3816         * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
3817         variable.
3818
3819         * gtk/gtkcombobox.c (gtk_combo_box_detacher)
3820         * gtk/gtkicontheme.c (theme_list_contexts)
3821         (gtk_icon_theme_lookup_icon)
3822         * gtk/gtkimcontextsimple.c (beep_window)
3823         * gtk/gtklinkbutton.c (set_link_color)
3824         * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
3825         fix warnings.
3826
3827         * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
3828         variable and add const to another to fix a warning.
3829
3830 2008-01-07  Matthias Clasen  <mclasen@redhat.com>
3831
3832         * gtk/gtkassistant.c (remove_page): Be more robust when removing 
3833         the current page.  (#499951, Andreas Sandberg)
3834
3835 2008-01-06  Johan Dahlin  <johan@gnome.org>
3836
3837         * gtk/gtkspinbutton.c: Declare value in the example code for
3838         GtkSpinButton::output, as pointed out by Anders Carlsson.
3839
3840 2008-01-06  Christian Persch  <chpe@gnome.org>
3841
3842         * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
3843         and remove an obsolete event box. Bug #506760.
3844
3845 2008-01-06  Johan Dahlin  <johan@gnome.org>
3846
3847         * tests/buildertest.c (test_domain): 
3848         Update, GtkBuilder::translation-domain is no longer set
3849         
3850         * gtk/gtkbuilderparser.c (parse_interface): 
3851         Allow domains to be overridden in <interface>'s if a translation-domain
3852         is set in the builder.
3853         (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
3854         of the builder, make the domain set in the <interface> apply only to strings
3855         in that interface.
3856         (#496831, Ryan Lortie)
3857
3858         * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines 
3859         to g_warning calls.
3860
3861         * gtk/gtktreestore.c (tree_model_end_element): 
3862         Remove an unused variable
3863
3864 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
3865
3866         * gtk/gtkspinbutton.c: Document the ::output signal and
3867         add an example.  (#507566, example by Owen Taylor)
3868
3869 2008-01-06  Johan Dahlin  <johan@gnome.org>
3870
3871         * gtk/gtkcellrenderercombo.c:
3872         (gtk_cell_renderer_combo_get_property),
3873         (gtk_cell_renderer_combo_set_property):
3874         * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
3875         * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
3876         * gtk/gtknotebook.c: (gtk_notebook_set_property):
3877         * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
3878         * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
3879         (gtk_text_buffer_get_property):
3880         * gtk/gtktextview.c: (gtk_text_view_set_property):
3881         * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
3882         * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
3883         (gtk_tool_button_get_property):
3884         * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
3885         (gtk_tool_item_get_property):
3886         * gtk/gtktreeview.c: (gtk_tree_view_set_property):
3887         * gtk/gtkwidget.c: (gtk_widget_set_property):
3888         * gtk/gtkwindow.c: (gtk_window_set_property):
3889         Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
3890         Fixes #507585
3891
3892 2008-01-06  Johan Dahlin  <johan@gnome.org>
3893
3894         * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root): 
3895         Make sure that --root works for toplevel widgets.
3896         (#491847, Phil Lello)
3897
3898 2008-01-05  Johan Dahlin  <johan@gnome.org>
3899
3900         * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
3901         to make sure that make test-report works properly
3902
3903 2008-01-05  Christian Persch  <chpe@gnome.org>
3904
3905         * tests/defaultvaluetest.c: Fix mem leak, and don't pass
3906         GType as integer through gpointer. Bug #507395.
3907
3908 2008-01-04  Mathias Hasselmann  <mathias@openismus.com>
3909
3910         Avoid some compiler warnings (#507000).
3911
3912         * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
3913         for value argument of _gtk_builder_flags_from_string.
3914         * gtk/gtkwidget.c: Don't alias the child pointer passed
3915         to gdk_window_get_user_data.
3916
3917 2008-01-04  Michael Natterer  <mitch@imendio.com>
3918
3919         * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
3920         to set the time in the returned GdkTimeCoords.
3921
3922 2008-01-03  Emmanuele Bassi  <ebassi@gnome.org>
3923
3924         * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
3925         correct comparison function (kudos to Christian Persch and
3926         Claudio Saavedra for spotting this)
3927
3928         * gtk/gtkrecentchooserutils.c:
3929         (sort_recent_items_mru),
3930         (sort_recent_items_lru): Ditto as above.
3931
3932 2008-01-03  Johan Dahlin  <johan@gnome.org>
3933
3934         * tests/defaultvaluetest.c: Make it pass again.
3935
3936 2008-01-02  Johan Dahlin  <johan@gnome.org>
3937
3938         * tests/defaultvaluetest.c (test_type): Ignore a few more tests to 
3939         make it pass on Ubuntu.
3940         (main): Use gtk_test_list_all_types () instead of providing our
3941         own list.
3942         And it no longer passes.
3943
3944 2007-12-30  Johannes Schmid <jhs@gnome.org>
3945
3946         * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
3947         Also reorder menu when reordering tabs by drag & drop
3948         (Bug #506474)
3949         
3950         * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
3951         Add a menu to one of the notebooks to have a test-case for
3952         the change mentioned above.
3953
3954 2007-12-31  Philip Van Hoof  <pvanhoof@gnome.org>
3955
3956         * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
3957
3958 2007-12-31  Christian Persch  <chpe@gnome.org>
3959
3960         * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
3961         Plug a mem leak. Bug #506107.
3962
3963 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
3964
3965         * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
3966         icon cache api change.  (#506135, Kazuki Iwamoto)
3967
3968 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
3969
3970         Consider "wide-separators" and "separator-height" style properties:
3971         The separator is drawn using gtk_paint_box instead of cairo, when
3972         "wide-separators" is set. Also do not highlight details for previous
3973         or next month, if their day matches the selected day. (#339540)
3974
3975         * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
3976         in gtk_calendar_size_request and calendar_paint_day
3977         * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
3978         for selected detail separators in GtkCalendar.
3979
3980 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
3981
3982         Remove max_detail_height field from GtkCalendarPrivate. (#339540)
3983
3984         * gtk/gtkcalendar.c: Drop max_detail_height field, and use
3985         a local variable instead in gtk_calendar_size_request.
3986
3987 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
3988
3989         * tests/defaultvaluetest.c: Add enough exclusions to make the
3990         test succeed.
3991
3992 2007-12-28  Christian Persch  <chpe@gnome.org>
3993
3994         * modules/other/gail/Makefile.am:
3995         * modules/other/gail/tests/*:
3996         * configure.in: Merge tests from standalone gail. Bug #504568.
3997
3998 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
3999
4000         * gtk/gtkclipboard.c: Make the finalizer work when display is
4001         not set.
4002
4003 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
4004
4005         Draw bottom shadow of GtkCalender headings. (#506113)
4006
4007         * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
4008
4009 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
4010
4011         * gtk/gtkcalendar.c: Document the initial values of year/month/day
4012         properties.
4013
4014 2007-12-28  Christian Persch  <chpe@gnome.org>
4015
4016         * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
4017         a mem leak. Bug #506096.
4018
4019 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
4020
4021         * gtk/gtktable.c:
4022         * gtk/gtktreeview.c:
4023         * gtk/gtkprintoperation.c:
4024         * gtk/gtkprogressbar.c:
4025         * gtk/gtkmessagedialog.c:
4026         * gtk/gtknotebook.c:
4027         * gtk/gtkprinter.c:
4028         * gtk/gtkfilesel.c:
4029         * gtk/gtklabel.c:
4030         * gtk/gtklinkbutton.c:
4031         * gtk/gtkmenu.c: More default property value corrections.
4032
4033 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
4034
4035         * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
4036         accel_group unless it is set.
4037
4038 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
4039
4040         * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
4041
4042 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
4043
4044         * gtk/gtkhandlebox.c: Fix the default values of shadow and 
4045         shadow-type properties.
4046
4047         * gtk/gtkfontsel.c: Fix the default values of several properties.
4048
4049         * gtk/gtkfilesel.c: Fix the default value of the show-fileops
4050         property.
4051
4052         * gtk/gtkcurve.c: Fix the default value of the curve-type property.
4053
4054         * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
4055         property.
4056
4057 2007-12-28  Johan Dahlin  <johan@gnome.org>
4058
4059         * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
4060         (gtk_dialog_buildable_custom_tag_start): Chain up. 
4061         This makes it possible to have accelerators tags on GtkDialog 
4062         subclasses.
4063
4064 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
4065
4066         Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
4067         are shown within the widget, or just as tooltip. (#339540)
4068
4069         * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
4070         aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
4071         * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
4072         in flags vbox.
4073
4074 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
4075
4076         Try more decent appearance of calendar details separator. (#339540)
4077
4078         * gtk/gtkcalendar.c: Use different colors for drawing the separator,
4079         and make it short by one pixel on each side.
4080
4081 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
4082
4083         Apply trivial code-style changes from attachement 101101. (#339540)
4084
4085         * tests/testcalendar.c: Some updates to current GTK+ code-style.
4086
4087 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
4088
4089         Restructure testcalendar for testing calendar details. (#339540)
4090
4091         * tests/testcalendar.c: Push code arround for testing calendar details.
4092
4093 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
4094
4095         Implement GtkTooltip API for calendar details. (#339540)
4096
4097         * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
4098         Remember detail overflows in calendar_paint_day to show the tooltip
4099         only when neccessary.
4100
4101 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
4102
4103         Without setting "detail-width-chars" and "detail-height-rows"
4104         properties not only the widget has to be redrawn on certain
4105         conditions, but also its size must be recalculated. (#339540)
4106
4107         * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
4108         that function instead of gtk_widget_queue_draw.
4109
4110 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
4111
4112         Consider details for size-request and expose-event. (#339540)
4113
4114         * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
4115         is_color_attribute functions. Change gtk_calendar_size_request
4116         and calendar_paint_day to consider and show calender details.
4117
4118 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
4119
4120         * gtk/gtkcombobox.c: Introduce local priv variables to 
4121         reduce ->->
4122
4123 2007-12-27  Matthias Clasen  <mclasen@redhat.com>
4124
4125         * gtk/gtkcombobox.c: Correct the default value for the 
4126         tearoff-title property.
4127
4128         * gtk/gtkcellrenderertext.c: Fix the default value for the
4129         wrap-mode and font-scale properties.
4130
4131         * gtk/gtkaspectratio.c: Fix the default value for the ratio
4132         property.
4133
4134 2007-12-27  Matthias Clasen  <mclasen@redhat.com>
4135
4136         * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
4137         defines.  (#505708,  MINAMI Hirokazu)
4138
4139 2007-12-27  Christian Persch  <chpe@gnome.org>
4140         
4141         * Makefile.am: Install gail.pc. Bug #505859.
4142
4143 2007-12-27  Mathias Hasselmann  <mathias@openismus.com>
4144
4145         Add infrastructure for GtkCalendar details. (#339540)
4146
4147         * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
4148         Add "detail-width-chars" and "detail-height-rows" properties,
4149         and gtk_calendar_set_detail_func function.
4150
4151 2007-12-27  Xan Lopez  <xan@gnome.org>
4152
4153         * gtk/gtk.symbols: 
4154         * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy): 
4155
4156         Add gtk_border_new to avoid memory allocator confusions when using
4157         GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
4158
4159 2007-12-27  Christian Persch  <chpe@gnome.org>
4160
4161         * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from 
4162         bug #504886 not to read unitialised memory.
4163
4164 2007-12-26  Xan Lopez  <xan@gnome.org>
4165
4166         * gtk/gtkstatusbar.c (has_extra_children): take into account the
4167         modification of the internal frame contents to decide if we have
4168         extra children. (#415677)
4169
4170 2007-12-22  Christian Persch  <chpe@gnome.org>
4171
4172         * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
4173
4174 2007-12-25  Christian Persch  <chpe@gnome.org>
4175
4176         * modules/other/gail/gailwindow.c: (gail_window_initialize):
4177         Initialise |widget|. Fixes a buglet introduced by the commit from bug
4178         #505226.
4179
4180 2007-12-25  Christian Persch  <chpe@gnome.org>
4181
4182         * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
4183         
4184 2007-12-25  Christian Persch  <chpe@gnome.org>
4185
4186         * modules/other/gail/*.[ch]: Remove relocations from the atk
4187         factories. Remove unused gail_foo_new() functions. Fix object
4188         instantiation to be derivation safe by moving initialisation code
4189         from the removed gail_foo_new() functions to the
4190         AtkObjectClass::initialize implementation. Bug #505226.
4191
4192 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
4193
4194         * modules/other/gail/gailentry.c:
4195         * modules/other/gail/gailimage.c:
4196         * modules/other/gail/gailtextview.c: Remove non-multihead-safe
4197         uses of clipboards and settings.  (#504722, Christian Persch)
4198
4199 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
4200
4201         * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
4202          Kazuki IWAMOTO)
4203
4204 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
4205
4206         * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
4207         use the time and button information from the event.  (#504901,
4208         Peter Bloomfield)
4209
4210 2007-12-23  Cody Russell  <bratsche@gnome.org>
4211
4212         * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
4213         the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
4214         Fixes a regression caused by #164537 patch where transient
4215         windows that are hidden get shown (incorrectly) when their
4216         parents are minimized. (#504984)
4217         
4218 2007-12-22  Christian Persch  <chpe@gnome.org>
4219
4220         * modules/other/gail/gailcell.c:
4221         * modules/other/gail/gailcontainercell.c:
4222         * modules/other/gail/gailexpander.c:
4223         * modules/other/gail/gailtextcell.c:
4224         * modules/other/gail/gailtextview.c:
4225         * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
4226
4227 2007-12-22  Christian Persch  <chpe@gnome.org>
4228
4229         * modules/other/gail/*.c: Include config.h. Bug #504720.
4230
4231 2007-12-22  Christian Persch  <chpe@gnome.org>
4232
4233         * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
4234         handwritten get_type functions. Bug #504661.
4235
4236 2007-12-23  Xan Lopez  <xan@gnome.org>
4237
4238         * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
4239         to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
4240
4241         Patch by Sadrul Habib Chowdhury (#504804)
4242
4243 2007-12-22  Christian Persch  <chpe@gnome.org>
4244
4245         * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
4246         #504645, patch by Li Yuan.
4247
4248 2007-12-22  Christian Persch  <chpe@gnome.org>
4249
4250         * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
4251
4252 2007-12-22  Christian Persch  <chpe@gnome.org>
4253         
4254         * modules/other/gail/gail.c:
4255         * modules/other/gail/gailbutton.c:
4256         * modules/other/gail/gailcell.c:
4257         * modules/other/gail/gailcombo.c:
4258         * modules/other/gail/gailcombo.h:
4259         * modules/other/gail/gailcombobox.c:
4260         * modules/other/gail/gailentry.c:
4261         * modules/other/gail/gailexpander.c:
4262         * modules/other/gail/gailmenuitem.c:
4263         * modules/other/gail/gailnotebook.c:
4264         * modules/other/gail/gailnotebookpage.c:
4265         * modules/other/gail/gailnotebookpage.h:
4266         * modules/other/gail/gailoptionmenu.c:
4267         * modules/other/gail/gailrange.c:
4268         * modules/other/gail/gailtextview.c:
4269         * modules/other/gail/gailtreeview.c:
4270         * modules/other/gail/gailtreeview.h:
4271         * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
4272         Bug #504571.
4273
4274 2007-12-22  Matthias Clasen  <mclasen@redhat.com>
4275
4276         * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
4277         Christian Persch)
4278
4279 2007-12-21  Richard Hult  <richard@imendio.com>
4280
4281         * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
4282         Plug leak of destroyed subviews, fixes bug #504753.
4283
4284 2007-12-20  Johan Dahlin  <johan@gnome.org>
4285
4286         * tests/Makefile.am (TEST_PROGS): 
4287         * tests/defaultvaluetest.c: Add a test for default values,
4288         based on program by Christan Perch
4289
4290 2007-12-20  Johan Dahlin  <johan@gnome.org>
4291
4292         * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window): 
4293         Refactor to avoid some duplication.
4294         Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
4295         Fixes #504749, Yuri Pimenov
4296
4297 2007-12-20  Kristian Rietveld  <kris@imendio.com>
4298
4299         * configure.in: RYuri Pimenovemove leftovers from old XRandR check.  Makes
4300         the build work again on systems without xrandr 1.2.
4301
4302 2007-12-20  Christian Persch  <chpe@gnome.org>
4303
4304         * configure.in:
4305         * modules/other/gail/libgail-util/Makefile.am:
4306         Keep the same libtool version as the standalone libgail-util had.
4307         Bug #504643.
4308
4309 2007-12-20 15:30:09  Tim Janik  <timj@imendio.com>
4310
4311         * Makefile.decl: generate HTML reports for test-report perf-report full-report.
4312
4313 2007-12-20  Alexander Larsson  <alexl@redhat.com>
4314         
4315         * gdk/x11/gdkapplaunchcontext-x11.c:
4316         Update for gio API changes
4317
4318 2007-12-20  Richard Hult  <richard@imendio.com>
4319
4320         * gdk/quartz/GdkQuartzWindow.c:
4321         * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
4322         processing events after changing the size.
4323
4324 2007-12-20  Richard Hult  <richard@imendio.com>
4325
4326         * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
4327         Add stub for quartz to fix build.
4328
4329 2007-12-20  Christian Persch  <chpe@gnome.org>
4330
4331         * modules/other/gail/Makefile.am:
4332         * modules/other/gail/gailimage.c: (gail_image_class_init),
4333         (gail_image_init), (elide_underscores), (gail_image_get_name),
4334         (atk_image_interface_init), (gail_image_finalize):
4335         * modules/other/gail/gailimage.h:
4336         R modules/other/gail/gailintl.h:
4337         * po/POTFILES.skip: Use the stock item's label as the name of the
4338         accessible in gailimage.c. Bug #504246.
4339
4340 2007-12-19  Mathias Hasselmann  <mathias@openismus.com>
4341
4342         Avoid some compiler warnings and remove obsolete code. (#339540)
4343
4344         * gtk/gtkcalendar.c: Change week and year variable in
4345         calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
4346         0" block from calendar_paint_day: The feature in question is handled
4347         few lines above. Cast data returned by gtk_selection_data_get_text()
4348         to (gchar*) in gtk_calendar_drag_data_received.
4349
4350 2007-12-19 17:05:31  Tim Janik  <timj@imendio.com>
4351
4352         * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
4353
4354 2007-12-19  Johan Dahlin  <johan@gnome.org>
4355
4356         * tests/buildertest.c (test_object_properties): 
4357         Add another call to gtk_builder_add_string after using
4358         delayed properties, as reported in #504393 but already
4359         fixed in #495769.
4360
4361 2007-12-18  Christian Persch  <chpe@gnome.org>
4362
4363         * configure.in:
4364         * docs/reference/Makefile.am:
4365         * docs/reference/libgail-util/*:
4366         * gail-uninstalled.pc.in:
4367         * gail.pc.in:
4368         * modules/Makefile.am:
4369         * modules/other/Makefile.am:
4370         * modules/other/gail/*:
4371         * modules/other/gail/libgail-util/*:
4372         * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
4373
4374 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
4375
4376         * gtk/gtksettings.c: Add a gtk-im-module GTK setting
4377         * gdk/win32/gdkproperty-win32.c: 
4378         * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
4379
4380         * gtk/gtkimmodule.[hc]: 
4381         * gtk/gtkimmulticontext.[hc]: When determining the default context,
4382         look at the gtk-im-module setting, and listen for changes to the
4383         setting.  (#502446, Akira Tagoh)
4384
4385 2007-12-17  Kristian Rietveld  <kris@imendio.com>
4386
4387         * gtk/gtktooltip.c (gtk_tooltip_finalize),
4388         (gtk_tooltip_set_last_window): use a weak pointer to set last_window
4389         to NULL as soon as it's destroyed.  (#496546, patch from
4390         Benjamin Berg).
4391
4392 2007-12-17  Kristian Rietveld  <kris@imendio.com>
4393
4394         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
4395         always determine what arrow to show if show_sort_indicator is true.
4396         (#352738, Chris Vine).
4397
4398 2007-12-16  Mathias Hasselmann  <mathias@openismus.com>
4399
4400         Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
4401         Sébastien Granjoux)
4402
4403         * gtk/gtkpaned.c: Call gtk_container_forall instead of
4404         gtk_container_foreach in get_child_panes.
4405
4406 2007-12-15  Xan Lopez  <xan.lopez@nokia.com>
4407
4408         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
4409
4410         Plug leak: When reordering the info in the list the old node is
4411         removed but not freed. (#503569)
4412
4413 2007-12-15  Sebastian Dröge  <slomo@circular-chaos.org>
4414
4415         * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
4416         Use u32 instead of __u32 and u8 instead of __u8 as the other types
4417         are deprecated since DirectFB 1.0.0. If compiling with an older
4418         version define the new type name to the old types. Fixes bug #503190.
4419
4420 2007-12-14  Ray Strode  <rstrode@redhat.com>
4421
4422         * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
4423         instead of g_signal_connect_after (..., "realize", ...) as an
4424         alternative to gtk_widget_realize () (bug 503537).
4425
4426 2007-12-14  Michael Natterer  <mitch@imendio.com>
4427
4428         * gdk/gdkinternals.h
4429         * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
4430         individual files.
4431
4432         * gdk/gdkapplaunchcontext.c
4433         * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
4434         header already includes everything now.
4435
4436 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
4437
4438         Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
4439         next stable release shall be 2.16, not 2.14 - even if disagree.
4440
4441         * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
4442
4443 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
4444
4445         Change GtkToolItem to retrieve its properties from GtkToolShell
4446         interface, instead of relying on being child of a GtkToolbar.
4447         (#5034079)
4448
4449         * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
4450         docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
4451         * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
4452         * gtk/gtktoolbar.c: Implement GtkToolShellIface.
4453         * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
4454         * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
4455         Take section docs from template file and update them for GtkToolShell.
4456         * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
4457         * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
4458
4459 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
4460
4461         Extract loading of GtkPageSetup and GtkPrintSettings from their
4462         *_new_*() functions and move that code into separate
4463         *_load_*() functions (#475565).
4464
4465         * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
4466         Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
4467         gtk_print_settings_load_file and gtk_print_settings_load_key_file.
4468         Change the matching *_new_*() functions to use those functions.
4469
4470 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
4471
4472         * gtk/gtk.symbols:
4473         * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
4474
4475 2007-12-14  Kristian Rietveld  <kris@imendio.com>
4476
4477         * gtk/tests/liststore.c:
4478         * gtk/tests/treestore.c: added tests for insertion functions.
4479
4480 Thu Dec 13 13:14:50 2007  Søren Sandmann  <sandmann@redhat.com>
4481
4482         * Add RandR 1.2 support
4483
4484         - New monitors_changed signal - New API to get width/height of
4485           monitors, and the name of the plug
4486
4487 2007-12-13  Kristian Rietveld  <kris@imendio.com>
4488
4489         * gtk/tests/liststore.c:
4490         * gtk/tests/treestore.c: test the move and swap functions on a
4491         store with only one node.
4492
4493 2007-12-13  Kristian Rietveld  <kris@imendio.com>
4494
4495         * gtk/gtktestutils.c (gtk_test_init): add a call to
4496         g_test_bug_base().
4497
4498         * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
4499         appriopriate tests.
4500
4501 2007-12-13  Kristian Rietveld  <kris@imendio.com>
4502
4503         * gtk/tests/liststore.c:
4504         * gtk/tests/treestore.c: start composing tests for the list and tree
4505         store.
4506
4507         * gtk/tests/treeview-scrolling.c: added automated tests for
4508         GtkTreeView's scrolling "subsystem".
4509
4510         * gtk/tests/Makefile.am: updated; added new test programs.
4511
4512 2007-12-13  Mathias Hasselmann  <mathias@openismus.com>
4513
4514         Make the code compile again after the GdkAppLaunchContext changes.
4515
4516         * configure.in: Add gio-2.0 to GDK_PACKAGES.
4517         * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
4518
4519 2007-12-12  Matthias Clasen  <mclasen@redhat.com>
4520
4521         * gdk/gdkapplaunchcontext.c: Add docs
4522
4523 2007-12-12  Matthias Clasen  <mclasen@redhat.com>
4524
4525         * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext 
4526         in gdk, providing startup notification.  (#503203)
4527
4528         * gdk/x11/gdkapplaunchcontext-x11.c: 
4529         * gdk/win32/gdkapplaunchcontext-win32.c:
4530         * gdk/quartz/gdkapplaunchcontext-quartz.c: 
4531         * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
4532         parts. All but X11 are just empty stubs for now.
4533
4534         * gdk/gdk.symbols:
4535         * gdk/gdkinternals.h:
4536         * gdk/Makefile.am:
4537         * gdk/x11/Makefile.am: 
4538         * gdk/win32/Makefile.am: 
4539         * gdk/quartz/Makefile.am: 
4540         * gdk/directfb/Makefile.am: Necessary glue.
4541
4542 2007-12-12  Mathias Hasselmann  <mathias@openismus.com>
4543
4544         * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
4545
4546 2007-12-11  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
4547
4548         * gdk/directfb/gdktestutils-directfb.c:
4549         * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
4550         which adds testing functions to the DirectFB backend.
4551
4552 2007-12-11  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
4553
4554         * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
4555         Ciccani which fixes the mixing of gdk and cairo rendering.
4556
4557 2007-12-11  Mathias Hasselmann  <mathias@openismus.com>
4558
4559         * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
4560         on "drag-motion" handlers. Clearify documentation for
4561         gtk_drag_dest_set.
4562
4563 2007-12-11 15:44:01  Tim Janik  <timj@imendio.com>
4564
4565         * buildertest.c: made unnecessarily exported symbols static.
4566         switched g_return_if_fail() statements in tests to assertions.
4567         special cased currently failing Widget/accesibility test to
4568         run only for g_test_thorough(), so it doesn't break make check.
4569         some coding style fixes.
4570
4571         * Makefile.am: added buildertest to TEST_PROGS.
4572
4573 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
4574
4575         * docs/tutorial/gtk-tut.sgml:
4576           Use gtk_widget_get_parent_window() instead of widget->parent->window.
4577
4578 2007-12-10  Richard Hult  <richard@imendio.com>
4579
4580         * gdk/quartz/Makefile.am:
4581         * gdk/quartz/gdkquartz.h:
4582         * gdk/quartz/gdkwindow-quartz.c: Install backend specific
4583         header (bug #405915). Also add a getter for the toplevel nswindow.
4584
4585 2007-12-10  Richard Hult  <richard@imendio.com>
4586
4587         * gdk/quartz/gdkdrawable-quartz.c:
4588         (gdk_quartz_drawable_get_context),
4589         (gdk_quartz_drawable_release_context):
4590         * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
4591         (gdk_event_check), (gdk_event_dispatch), (poll_func):
4592         * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
4593         used for each drawing context and in prepare, dispatch and poll
4594         with one that exists across each main loop iteration. Fixes leaks
4595         on leopard and protects against future leaks introduce when the
4596         underlying system changes again (bug #492977).
4597
4598 2007-12-10  Richard Hult  <richard@imendio.com>
4599
4600         * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
4601         Fix the check for no changes to position and size.
4602
4603 2007-12-10  Richard Hult  <richard@imendio.com>
4604
4605         * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
4606         sized areas at (0, 0), patch from Paul Davis.
4607
4608 2007-12-10  Richard Hult  <richard@imendio.com>
4609
4610         * gdk/quartz/gdkprivate-quartz.h: 
4611         * gdk/quartz/gdkeventloop-quartz.c:
4612         (_gdk_quartz_event_loop_get_pending),
4613         (_gdk_quartz_event_loop_check_pending),
4614         (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
4615         (gdk_event_check), (gdk_event_dispatch):
4616         * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
4617         (_gdk_events_queue): Fix a bug where we could end up trying to
4618         handle the same event more than once. Based on patch from Paul
4619         Davis.
4620
4621 2007-12-10  Tor Lillqvist  <tml@novell.com>
4622
4623         * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
4624         package. (#502850)
4625
4626 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
4627
4628         * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
4629         to avoid further fallout from the fix for bug 388321.
4630
4631 2007-12-09 09:56:06  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
4632
4633         * gdk/directfb/gdkgc-directfb.c:
4634         * gdk/directfb/gdkdrawable-directfb.c:
4635         * gdk/directfb/gdkdirectfb.h:
4636         * gdk/directfb/gdkwindow-directfb.c:
4637         * gdk/directfb/gdkprivate-directfb.h: Committed several patches
4638         (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
4639         blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
4640         opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
4641         which are expected to improve the performance of the DirectFB backend.
4642         Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
4643
4644 2007-12-07  Matthias Clasen  <mclasen@redhat.com>
4645
4646         * gtk/gtkcontainer.c: Correct the documentation of child
4647         property getter arguments.  (#501992, David Brigada)
4648
4649 2007-12-07  Matthias Clasen  <mclasen@redhat.com>
4650
4651         * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
4652         leak pixbufs.  (#502250, Yevgen Muntyan)
4653
4654 2007-12-07  Yevgen Muntyan  <muntyan@tamu.edu>
4655
4656         * gtk/gtkprintunixdialog.c:
4657         * gtk/gtkpagesetupunixdialog.c: added alternative button order in
4658         Print and Page Setup dialogs (#502202).
4659
4660 2007-12-07 13:16:33  Tim Janik  <timj@imendio.com>
4661
4662         * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
4663         Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
4664         of XVFB_START, since it's the GTESTER invokation that needs this.
4665
4666 2007-12-06  Tommi Komulainen  <tommi.komulainen@iki.fi>
4667
4668         * gdk-pixbuf/gdk-pixbuf.symbols:
4669         * gdk/gdk.symbols:
4670         * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
4671         positives in abicheck.sh
4672
4673 2007-12-06 18:45:06  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
4674
4675         * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
4676         GDK events generations in the DirectFB backend.
4677
4678 2007-12-06 13:55:06  Tim Janik  <timj@imendio.com>
4679
4680         * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
4681         set of likely unused display ids, because MacOS has no seq(1) command.
4682
4683 2007-12-06  Richard Hult  <richard@imendio.com>
4684
4685         * gdk/quartz/gdkevents-quartz.c:
4686         (synthesize_crossing_events_for_ns_event): Fix warning when
4687         switching spaces in leopard.
4688
4689 2007-12-06 13:38:36  Tim Janik  <timj@imendio.com>
4690
4691         * tests/floatingtest.c: ported to new testing framework.
4692
4693         * tests/Makefile.am: run floatingtest as testing framework test.
4694
4695 2007-12-06 10:44:52  Tim Janik  <timj@imendio.com>
4696
4697         * tests/autotestfilechooser.c: majorly speed up execution by reducing
4698         timeouts and converting main loop sleeps to pending/iterate loops with
4699         very low priority async handlers. eliminate output for non-verbose
4700         tests. assert successfull subtests in all test functions. use testing
4701         framework in main().
4702
4703         * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
4704         executed inside Xvfb upon make check.
4705
4706 2007-12-06 08:23:38  Tim Janik  <timj@imendio.com>
4707
4708         * tests/objecttests.c: use string comparisons for string property
4709         values and get rid of referencing symbols in array initialization.
4710
4711 2007-12-05 18:59:59  Tim Janik  <timj@imendio.com>
4712
4713         * gtk+/Makefile.decl: run tests in current dir after setting up the
4714         logging directory, so their results get properly merged into the
4715         resulting test log.
4716
4717         * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
4718         tests to loop over registered Gdk/Gtk+ types.
4719
4720         * gtk+/tests/objecttests.c: new test program, implements automated
4721         property tests. several properties are blacklisted because they
4722         seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
4723         can be used to test blacklisted properties and see which proprty failed.
4724
4725 2007-12-04  Richard Hult  <richard@imendio.com>
4726
4727         * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
4728         Fully initialize the root window, fixes bug #501583.
4729
4730 2007-12-04  Matthias Clasen  <mclasen@redhat.com>
4731
4732         * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
4733         crash epiphany.
4734
4735 2007-12-03  Richard Hult  <richard@imendio.com>
4736
4737         * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
4738         Don't crash when dragging from a source that doesn't support uri
4739         lists (bug #499868, Paul Davis).
4740
4741 2007-12-03  Richard Hult  <richard@imendio.com>
4742
4743         * gdk/quartz/gdkwindow-quartz.c:
4744         (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
4745         parent relative bg pixmap is set, and no parent has a bg
4746         pixmap. Fixes bug #500804.
4747
4748 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
4749
4750         Two optimizations for icon cache lookups.
4751
4752         * gtk/gtkiconcache.[hc]:
4753         * gtk/gtkicontheme.c: Remember the directory index for
4754         subdirectories, instead of running over the directory list
4755         again and again.
4756
4757         * gtk/gtkiconcache.c (find_image_offset): Remember the last 
4758         chain and try it first; this helps with the the usage patterns
4759         in gtkicontheme.c, where the same icon is queried for a lot
4760         of subdirectories.
4761
4762 2007-12-03 15:18:17  Tim Janik  <timj@imendio.com>
4763
4764         * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
4765         functions from header files. this should be portable across linux and
4766         Mac OS, unlike the previpous sed expression.
4767
4768 2007-12-1  Cody Russell  <bratsche@gnome.org>
4769
4770         * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
4771         On Windows, queue a redraw of child2 whenever we set
4772         the pane handle position.  This is unfortunately kind
4773         of hacky, but solves the visual artifacts that were
4774         occuring on at least certain types of child widgets
4775         (e.g., text views and tree views) that are inside
4776         horizontal or vertical panes. (#144269)
4777
4778 2007-11-30  Matthias Clasen  <mclasen@redhat.com>
4779
4780         * gtk/gtkrc.c: Fix doc typos.  (#500672, David Lambert)
4781
4782 2007-11-29  Matthias Clasen  <mclasen@redhat.com>
4783
4784         * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
4785         debug spew.
4786
4787 2007-11-29  Matthias Clasen  <mclasen@redhat.com>
4788
4789         * gtk/Makefile.am: Fix ordering of subdirs.
4790
4791 2007-11-28  Tor Lillqvist  <tml@novell.com>
4792
4793         A proper build of GNU libintl is supposed to export the variable
4794         _nl_msg_cat_cntr. configure looks for that variable in order to
4795         recognize GNU gettext. If it sees that it is indeed GNU gettext
4796         that is used, it decides to install message catalogs in
4797         share/locale, otherwise in lib/locale. Until now on Windows I have
4798         built GTK+ against a build of GNU gettext that did not export
4799         _nl_msg_cat_cntr. But this will change, so we can't assume message
4800         catalogs are always in lib/locale.
4801
4802         * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
4803         GTK_LOCALEDIR being either in "lib" or "share". Move the function
4804         before the inclusion of gtkprivate.h so that it sees the original
4805         GTK_LOCALEDIR.
4806
4807         * gtk-zip.sh.in: Check whether the message catalogs are in
4808         share/locale or lib/locale.
4809
4810         * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
4811         that the code in _gtk_get_localedir() will find the slashes.
4812
4813 2007-11-28  Tor Lillqvist  <tml@novell.com>
4814
4815         * gtk/Makefile.am: Improve portability. The -o option is present
4816         only in newish GNU egreps. Use one more sed in the pipeline
4817         instead.
4818
4819 2007-11-28  Tor Lillqvist  <tml@novell.com>
4820
4821         Fix #375893, patch by Ben Hague:
4822
4823         * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
4824         around GetLogicalDrives() that takes also the viewable drive
4825         restrictions in the Registry (which are usually the result of an
4826         Active Directory Group Policy) into account.
4827
4828         (check_volumes, gtk_file_system_win32_list_volumes) Call
4829         get_viewable_logical_drives() instead of GetLogicalDrives().
4830
4831 2007-11-27  Matthias Clasen <mclasen@redhat.com>
4832
4833         * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
4834         variables to silence valgrind.  (#495124, Morten Welinder)
4835
4836 2006-11-26  Ryan Lortie  <desrt@desrt.ca>
4837
4838         * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
4839         that the construct_child function is responsible for returning a
4840         reference.
4841         * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
4842         objects from constructors
4843         * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
4844         g_object_ref() to this construction function (it's the only
4845         implementer in GTK)
4846
4847         Fixes #496645.
4848
4849 2006-11-26  Ryan Lortie  <desrt@desrt.ca>
4850
4851         * gtkbuilder.c: remove concept of root objects and just refcount
4852         all objects in the builder.  Fixes #496651.
4853
4854 2007-11-26  Ryan Lortie  <desrt@desrt.ca>
4855
4856         * tests/buildertest.c (test_window): fix invalid free
4857
4858 2007-11-26  Josselin Mouette <joss@malsain.org>
4859
4860         reviewed by: Federico Mena Quintero
4861
4862         * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
4863         (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
4864         (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
4865         Make the shortcuts activate with a single click. (#148828)
4866         Fix a few things affected by the change:
4867           - Set selection mode to GTK_SELECTION_SINGLE to allow a case 
4868             where no shortcut is selected.
4869           - Don't activate a shortcut in the response callback.
4870           - Filter out duplicate entries in volumes and bookmarks to 
4871             avoid the selection to change when reordering them with DnD.
4872
4873 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
4874
4875         * gtk/gtkmain.c:
4876         * gtk/gtknotebook.c:
4877         * gtk/gtkplugprivate.h:
4878         * gtk/gtksocket.c:
4879         * gtk/gtksocketprivate.h:
4880         * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
4881
4882 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
4883
4884         * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
4885         (#495574, Richard Hult)
4886
4887 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
4888
4889         * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
4890         String change !   (#376361, Sven Neumann)
4891
4892 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
4893
4894         * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
4895         destroy.
4896         (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
4897         Welinder)
4898
4899 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
4900
4901         * gtk/gtkassistant.c: Improve alternative button
4902         ordering.  (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
4903
4904 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
4905
4906         * gtk/gtkcalendar.c: Fix a theming problem with colors
4907         in GtkCalendar.  (#499703, Michael Hofmann)
4908
4909 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
4910
4911         * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
4912
4913 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
4914
4915         Use templates for glib-mkenums calls instead of 
4916         complicated commandlines in Makefiles.  (#429910)
4917
4918         * gdk-pixbuf/Makefile.am:
4919         * gdk/Makefile.am: 
4920         * gtk/Makefile.am: 
4921         * perf/Makefile.am: Use templates for glib-mkenums
4922
4923         * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
4924         * gdk/gdkenumtypes.[ch].template: 
4925         * gtk/gtktypebuiltings.[ch].template: 
4926         * perf/typebuiltins.[ch].template: The templates
4927
4928 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
4929
4930         * gtk/gtkfilechooserbutton.c:
4931         * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
4932         some compilers choke on that.  (#467722)
4933
4934 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
4935
4936         * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
4937         about hook setup.  (#425004, Emmanuele Bassi)
4938
4939 2007-11-26  Tor Lillqvist  <tml@novell.com>
4940
4941         * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
4942         monitor the window currently is on, not always the primary
4943         monitor. (#463865, Tim Evans)
4944
4945 2007-11-26  Tor Lillqvist  <tml@novell.com>
4946
4947         * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
4948
4949         * gdk/win32/Makefile.am: Add it.
4950
4951 2007-11-26  Tor Lillqvist  <tml@novell.com>
4952
4953         * configure.in: Don't add jasper to all_loaders if no libjasper.
4954
4955 2007-11-25  Bastien Nocera  <hadess@hadess.net>
4956
4957         * configure.in: Add detection for libjasper, used by the
4958         gdk-pixbuf JPEG2000 loader
4959
4960 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
4961
4962         * configure.in: Require gtk-doc 1.8
4963
4964         * */*.c: Use gtk-doc abbreviations for examples in docs.
4965
4966 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
4967
4968         * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
4969         typo.  (#498922)
4970
4971 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
4972
4973         * gtk/gtkdialog.c: Move signal and property documentation inline,
4974         fix a problem with the ::response signal docs.  (#499133, Josselin
4975         Mouette)
4976
4977 2007-11-22 15:48:26  Tim Janik  <timj@imendio.com>
4978
4979         * Makefile.decl: initialize automake variables EXTRA_DIST and
4980         TEST_PROGS for unconditional appending via += in other makefiles.
4981         define recursive test targets: test, test-report, perf-report,
4982         full-report, as described here:
4983       http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
4984         the test targets will execute Gtk+ test programs within an Xvfb session.
4985
4986         * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
4987
4988         * gtk/tests/testing.c: use g_test_add_func() to register tests and use
4989         g_test_run() to run the tests to integrate with the testing framework.
4990
4991         * gtk/tests/Makefile.am: removed exemplary testing rules.
4992
4993         * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
4994         * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
4995         * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
4996         * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
4997         * docs/reference/Makefile.am, docs/tools/Makefile.am:
4998         * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
4999         * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
5000         * demos/gtk-demo/Makefile.am, demos/Makefile.am:
5001         * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
5002         * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
5003         * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
5004         * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
5005         * modules/engines/ms-windows/Theme/Makefile.am:
5006         * modules/engines/ms-windows/Makefile.am:
5007         * modules/engines/Makefile.am,  modules/engines/pixbuf/Makefile.am:
5008         * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
5009         * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
5010         * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
5011         * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
5012         * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
5013         include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
5014
5015 2007-11-22  Matthias Clasen  <mclasen@redhat.com>
5016
5017         * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
5018         (#485662, patch by Herbert Valerio Riedel)
5019
5020 2007-11-22  Matthias Clasen  <mclasen@redhat.com>
5021
5022         * gtk/gtktextiter.c: Fix an aliasing problem.  (#347585, Ed Catmur)
5023
5024 2007-11-21  Richard Hult  <richard@imendio.com>
5025
5026         * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
5027         stubs for the testing functions to fix the build.
5028
5029 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
5030
5031         * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
5032         (#467711, The Written Word)
5033
5034 2007-11-21  Ross Burton  <ross@openedhand.com>
5035
5036         * gdk/x11/gdksettings.c:
5037         Add xsetting for gtk-scrolled-window-placement (#458103).
5038
5039 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
5040
5041         * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
5042         (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
5043         (#469239, Michael Natterer)
5044
5045 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
5046
5047         * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
5048         Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
5049         gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
5050         (#436536, Tommi Komulainen)
5051
5052 2007-11-21  Matthias Clasen  <mclasen@redhat.com>
5053
5054         * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
5055         property.  (#489782, Jan Janech)
5056
5057 2007-11-20  Matthias Clasen  <mclasen@redhat.com>
5058
5059         * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
5060         frames.  (#107398, Owen Taylor, Miguel Gomez)
5061
5062 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
5063
5064         Moved Gdk test functions from Gtk+ to Gdk test utils.
5065
5066         * gdk/Makefile.am: added gdktestutils.h to public includes.
5067
5068         * gdk/gdk.h: added gdktestutils.h to public includes.
5069
5070         * gdk/gdk.symbols: added gdk_test_simulate_button,
5071         gdk_test_simulate_key, gdk_test_render_sync.
5072
5073         * gdk/gdktestutils.h: new file, added prototypes for
5074         gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
5075
5076         * gdk/x11/Makefile.am: build gdktestutils-x11.c.
5077
5078         * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
5079         gdk_test_simulate_key, gdk_test_render_sync.
5080
5081         * gtk/gtktestutils.c:
5082         * gtk/gtktestutils.h:
5083         * gtk/gtk.symbols: removed gtk_test_simulate_button
5084         gtk_test_simulate_key, gtk_test_xserver_render_sync.
5085
5086         * gtk/tests/testing.c: call gdk_test_render_sync.
5087
5088 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
5089
5090         Added unit tests for Gtk+ testing utilities.
5091
5092         * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
5093         utility functions. some g_test_* related portions are disabled and need
5094         to be enabled once Gtk+ depends on a new glib with the GLib testing
5095         framework integrated.
5096
5097         * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
5098         tests.  added exemplary test rules to run tests inside Xvfb. this
5099         needs to depend on gtester for full fledged testing.
5100
5101         * gtk/Makefile.am: build gtk+/gtk/tests, define
5102         -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
5103         e.g. gtk_text_get_type().
5104
5105         * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
5106
5107 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
5108
5109         Added Gtk+ testing utilities.
5110
5111         * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
5112         functions.  for the most part, the functions herein involve
5113         navigating and interacting with dialog elements programatically,
5114         to automate user interaction tests of dialogs and widgets.
5115
5116         * gtk/gtk.h: include gtk/gtktestutils.h as public API.
5117
5118         * gtk/gtk.symbols: added gtk_test_* symbols.
5119
5120         * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
5121         the build.  generate gtktypefuncs.c which contains a list of all
5122         _get_type functions in Gtk+ and Gdk.
5123
5124 2007-11-20  Bastien Nocera  <hadess@hadess.net>
5125
5126         * configure.in: add support for conditional icns gdk-pixbuf loader
5127         (Closes: #395738)
5128
5129 2007-11-19 10:31:26  Tim Janik  <timj@imendio.com>
5130
5131         * configure.in: updated version number to 2.15.0 for development.
5132
5133 2007-11-19 10:27:39  Tim Janik  <timj@imendio.com>
5134
5135         === Branch for 2.12 ===
5136