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