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