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