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