]> Pileus Git - ~andy/gtk/blob - ChangeLog
Fix the mime sniffing test
[~andy/gtk] / ChangeLog
1 2008-08-07  Matthias Clasen  <mclasen@redhat.com>
2
3         * configure.in: Its g_content_type_from_mime_type, not 
4         g_content_type_for_mime_type. Noticed by Roger Brown
5
6 2008-08-07 16:19:16  Tim Janik  <timj@imendio.com>
7
8         * gdk/gdkrgb.c (gdk_rgb_select_conv): use g_error() instead of a
9         combination of g_warning+exit to avoid misleading the user.
10
11 2008-08-07  Michael Natterer  <mitch@imendio.com>
12
13         * gtk/gtkactiongroup.c
14         * gtk/gtkcellrendererspin.c
15         * gtk/gtkfilechooserbutton.c
16         * gtk/gtktoolitem.c: chain up unconditionally in finalize().
17
18 2008-08-07  Michael Natterer  <mitch@imendio.com>
19
20         * gtk/gtkclist.c
21         * gtk/gtkcontainer.c
22         * gtk/gtkfilechooserbutton.c
23         * gtk/gtkgamma.c
24         * gtk/gtkmenutoolbutton.c
25         * gtk/gtkoptionmenu.c
26         * gtk/gtkradiobutton.c
27         * gtk/gtkradiomenuitem.c
28         * gtk/gtktipsquery.c
29         * gtk/gtktree.c
30         * gtk/gtktreeview.c: chain up unconditionally in destroy().
31
32         * gtk/gtkhandlebox.c: remove empty destroy() implementation.
33
34 2008-08-07  Michael Natterer  <mitch@imendio.com>
35
36         Bug 546756 – gnome-panel crashed with SIGSEGV in
37         g_type_check_instance_cast()
38
39         * gtk/gtkimagemenuitem.c: add GtkObject::destroy() implementation
40         and remove the image now that it's an internal child and isn't
41         destroyed by gtk_container_destroy() any longer. Thanks to tml for
42         helping bisecting this down.
43
44 2008-08-07  Sven Neumann  <sven@gimp.org>
45
46         Bug 546771 - Add writable property "visited" to GtkLinkButton
47
48         * gtk/gtk.symbols
49         * gtk/gtklinkbutton.[ch]: expose the 'visited' state as a
50         read-write property with getters and setters. Also move the nick
51         and blurb of the "uri" property to the proper translation domain.
52
53 2008-08-07  Michael Natterer  <mitch@imendio.com>
54
55         * gtk/gtkicontheme.c (apply_emblems): move variables to local
56         scopes, fix indentation and silence bogus warning about using
57         uninitialized variables.
58
59 2008-08-07  Richard Hult  <richard@imendio.com>
60
61         Bug 535573 – Deadlock in gdkeventloop-quartz.c:poll_func()
62
63         * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
64         (select_thread_func), (poll_func): Patch by Yevgen Muntyan, fixes
65         deadlock and missing events.
66
67 2008-08-07  Richard Hult  <richard@imendio.com>
68
69         * gdk/quartz/gdkscreen-quartz.c: (gdk_screen_get_monitor_plug_name)
70         (gdk_screen_get_monitor_height_mm, gdk_screen_get_monitor_width_mm):
71         Implement those, fixes loading python bindings.
72
73 2008-08-07  Emmanuele Bassi  <ebassi@gnome.org>
74
75         Bug 545031 – list of recently used files is created world-readable
76
77         * gtk/gtkrecentmanager.c:
78         (gtk_recent_manager_real_changed): Set the recently-used.xbel
79         file to 0600. (Guido Berhoerster)
80
81 2008-08-06  Michael Natterer  <mitch@imendio.com>
82
83         * modules/printbackends/cups/gtkcupsutils.c
84         (gtk_cups_connection_test_free): remove return value, this
85         function returns void.
86
87 2008-08-06  Michael Natterer  <mitch@imendio.com>
88
89         * gtk/gtkcombobox.c
90         * gtk/gtkiconview.c
91         * gtk/gtkrange.c
92         * gtk/gtkscrolledwindow.c
93         * gtk/gtktreeview.c: remove CLAMPing from values passed to
94         gtk_adjustment_set_value() since it does it right now.
95
96 2008-08-05  Matthias Clasen  <mclasen@redhat.com>
97
98         * configure.in: Bump version
99
100         * === Released 2.13.6 ===
101
102         * gdk/tests/Makefile.am: Disable check-gdk-cairo test for now,
103         since it breaks make distcheck.
104
105 2008-08-05  Michael Natterer  <mitch@imendio.com>
106
107         * gtk/gtkcombobox.c (gtk_combo_box_update_sensitivity): bail out
108         early if priv->button is NULL to avoid zillions of warnings when
109         destroying combo boxes that were working fine before the
110         button sensitivity patch.
111
112 2008-08-05  Michael Natterer  <mitch@imendio.com>
113
114         Bug 544858 – Seal GtkAdjustment
115
116         * gtk/gtk.symbols
117         * gtk/gtkadjustment.[ch] (struct GtkAdjustment): seal all struct
118         members.
119
120         Add accessors for all properties and additionally a new function
121         gtk_adjustment_configure() which sets all properties at
122         once. Patch by Christian Dywan and myself.
123
124 2008-08-05  Michael Natterer  <mitch@imendio.com>
125
126         * gtk/gtkadjustment.c (gtk_adjustment_set_value): clamp the value
127         to [lower...upper-page_size] instead of only [lower...upper].
128
129         * README: add note about this change.
130
131         While this fix is correct and should have been there forever, it
132         has the potential to break some corner cases, however these cases
133         would set page_size to a value != 0 which suggests they want it
134         honored.
135
136 2008-08-05  Michael Natterer  <mitch@imendio.com>
137
138         * tests/testiconview.c: don't use the deprecated
139         gtk_box_pack_start_defaults().
140
141 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
142
143         Bug 545982 – missing braces cause bogus warnings when using GtkBuilder
144
145         * gtk/gtkcelllayout.c:
146         * gtk/gtkdialog.c:
147         * gtk/gtkcontainer.c: Add missing braces to some GtkBuildable
148         implementations. Patch by Antti Kaijanmäki
149
150 2008-08-05  Tor Lillqvist  <tml@novell.com>
151
152         * gtk/gtktext.c: Cast pointer to gintptr instead of gulong to
153         avoid warning on Win64.
154
155 2008-08-05  Tor Lillqvist  <tml@novell.com>
156
157         * gtk/gtkgc.c: Cast tile, stipple and clip_mask pointers to
158         gintptr instead of long when calculating hash, so we get all of
159         the pointer bits on Win64 where long is 32 bits.
160
161 2008-08-05  Tor Lillqvist  <tml@novell.com>
162
163         * gtk/gtkprintoperation-win32.c: Don't need to declare
164         IPrintDialogCallback with mingw64 either. It seems to be provided
165         with the newer versions of the headers included with mingw64.
166
167 2008-08-05  Tor Lillqvist  <tml@novell.com>
168
169         Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
170
171         * gtk/gtksocket-win32.c: Don't cast HWND to guint, pass it as such
172         as the GdkNativeWindow parameter to
173         gtk_window_remove_embedded_xid(). Debugging printout format fixes.
174
175         * gtk/gtkwin32embed.h
176         * gtk/gtkwin32embed.c: Change the types of wparam and lparam
177         parameters to actually be WPARAM and LPARAM.
178
179         * gtk/gtkplug-win32.c: Adapt accordingly.
180
181 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
182
183         * gtk/gtksettings.c: Improve a setting nick: 'aureal' is not really
184         a word, use 'audible' instead.
185
186 2008-08-05  Tor Lillqvist  <tml@novell.com>
187
188         * gtk/updateiconcache.c (write_bucket): Enclose ?: expression
189         with parens so cast covers all of it.
190
191 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
192
193         Bug 382291 – Automatically dim the combobox when the model is empty
194
195         * gtk/gtk.symbols:
196         * gtkcombobox.[hc]: Add a GtkComboBox::button-sensitivity
197         property with getter and setter to control the sensitity of
198         empty combo boxes. Patch by Carlos Garnacho, Sven Herzberg,
199         Christian Dywan and others.
200
201         * README.in: Add a note about automatic combobox sensitivity.
202         
203 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
204
205         * gtk/tests/Makefile.am: Skip crossingevents test when
206         running make check, since it doesn't work on a naked
207         X server.
208
209 2008-08-05  Tor Lillqvist  <tml@novell.com>
210
211         Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
212
213         * gdk/gdkdnd.h
214         * gdk/gdkdnd.c
215         * gdk/win32/gdkdnd-win32.c
216         * gdk/x11/gdkdnd-x11.c: Change return value and type of window id
217         from guint32 to GdkNativeWindow for
218         gdk_drag_get_protocol_for_display() and
219         gdk_drag_get_protocol(). This is not an API break on existing
220         platforms, as GdkNativeWindow has been guint32 for them
221         already.
222
223         * gdk/gdkselection.h
224         * gdk/gdkselection.c
225         * gdk/win32/gdkselection-win32.c
226         * gdk/x11/gdkselection-x11.c: Ditto for the requestor window id
227         parameter of gdk_selection_send_notify_for_display() and
228         gdk_selection_send_notify().
229
230         * gdk/win32/gdkcursor-win32.c
231         * gdk/win32/xcursors.h: Change some gchar* to guchar* and vice
232         versa to avoid gcc 4.4 signedness warnings.
233
234         * gdk/win32/gdkevents-win32.c
235         * gdk/win32/gdkproperty-win32.c
236         * gdk/win32/gdkselection-win32.c: Add some guchar and char pointer
237         casts to get rid of gcc 4.4 signedness warnings. Print GdkAtom
238         values in debugging output using the %p format.
239         
240         * gdk/win32/gdkkeys-win32.c
241         * gdk/win32/gdkfont-win32.c
242         * gdk/win32/gdkmain-win32.c: Add some casts to avoid gcc warnings.
243  
244         * gdk/win32/gdkwindow-win32.c: Use SetWindowLongPtr() instead of
245         SetWindowLong().
246
247         * gdk/win32/gdkwin32id.c (gdk_handle_hash): Use all 64 bits of a
248         HANDLE on Win64.
249
250         * gtk/gtkwindow.h
251         * gtk/gtkwindow.c: Change the type of the xid parameter of the
252         internal gtk_window_remove_embedded_xid() and
253         gtk_window_add_embedded_xid() functions from guint to
254         GdkNativeWindow.
255
256         * gtk/gtkwindow.c (send_client_message_to_embedded_windows):
257         Instead of GPOINTER_TO_UINT(), just cast the gpointer to
258         GdkNativeWindow. GPOINTER_TO_UINT() drops the upper 32 bits on
259         Win64.
260
261 2008-08-05  Tor Lillqvist  <tml@novell.com>
262
263         * gdk/gdkrgb.c: Cast pointers to guintptr, not unsigned long,
264         before doing bit tests on them.
265
266 2008-08-05  Tor Lillqvist  <tml@novell.com>
267
268         * configure.in: Define GDK_NATIVE_WINDOW_POINTER on 32-bit
269         Windows, too. It just makes more sense, as a HWND *is* a kind of
270         pointer.
271
272         * gdk/gdkconfig.h.win32: Ditto here.
273
274 2008-08-04  Björn Lindqvist  <bjourne@gmail.com>
275
276         Bug 534979 – GtkImageMenuItem is a bin but has two children.
277
278         * gtk/gtkimagemenuitem.c (gtk_image_menu_item_forall): Do not
279         include the image widget when iterating over non-internal
280         children. Patch by rainwoodman.
281
282 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
283
284         * NEWS: Updates
285
286 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
287
288         * configure.in: Bump glib dependency to 2.17.6
289
290 2008-08-04  Michael Natterer  <mitch@imendio.com>
291
292         * gtk/gtkclist.c
293         * gtk/gtkctree.c
294         * gtk/gtkpixmap.c
295         * gtk/gtkpreview.c: get rid of using deprecated GDK APIs.
296
297         * gtk/gtktext.c: ditto, apart from the text cruft APIs.
298
299 2008-08-04  Michael Natterer  <mitch@imendio.com>
300
301         * gdk/gdk.c (gdk_parse_args): call gdk_rgb_set_verbose(TRUE) if
302         "gdkrgb" is in the debug flags.
303
304         * gdk/gdkrgb.c (gdk_rgb_init): remove setting the verbose flag
305         here, this function is deprecated and the debug flag didn't work
306         when using GDK properly.
307
308 2008-08-04  Matthias Clasen  <mclasen@redhat.com>
309
310         * gtk/gtkicontheme.c: Update to handle GEmblem.
311
312 2008-08-04  Michael Natterer  <mitch@imendio.com>
313
314         * tests/prop-editor.c: undeprecate (apart from still using
315         GtkOptionMenu).
316
317 2008-08-04  Michael Natterer  <mitch@imendio.com>
318
319         * gtk/gtkseparatortoolitem.c
320         * tests/testactions.c: remove pointless #undef GTK_DISABLE_DEPRECATED.
321
322         * gtk/gtkcalendar.c (calendar_set_display_option): use
323         gtk_calendar_set_display_options() instead of the deprecated
324         gtk_calendar_display_options().
325
326 2008-08-04  Carlos Garnacho  <carlos@imendio.com>
327
328         * gtk/gtkfilechooserbutton.c: Fix "/* within comment" warning.
329
330 2008-08-04  Carlos Garnacho  <carlos@imendio.com>
331
332         * gtk/gtknotebook.c (gtk_notebook_expose): Set drag window background
333         to be the GtkNotebook background color. This is a workaround to
334         prevent black pixels in rounded tabs when reordering. Improves
335         #368234.
336
337 2008-08-04  Carlos Garnacho  <carlos@imendio.com>
338
339         * gtk/gtk.symbols:
340         * gtk/gtkfilechooserbutton.[ch]:
341         * gtk/gtkfilechooserdefault.[ch]:
342         * gtk/gtkfilechooserdialog.[ch]:
343         * gtk/gtkfilechooserwidget.[ch]: Deprecate
344         gtk_file_chooser_*_new_with_backend(), since GIO is already used
345         directly. Fixes #545976.
346
347 2008-08-04  Carlos Garnacho  <carlos@imendio.com>
348
349         * gtk/gtk.symbols:
350         * gtk/gtkfilechooser.[ch]: Make GFile-oriented API public. Fixes
351         #545978.
352         * gtk/gtkfilechooserbutton.c:
353         * gtk/gtkfilechooserdefault.c:
354         * gtk/gtkfilechooserutils.c: Update to use public GFile API.
355
356 2008-08-04  Michael Natterer  <mitch@imendio.com>
357
358         * gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED again.
359
360         Fix pltcheck.sh by restricting the visibility of deprecated
361         symbols to the places where they are actually used:
362
363         * gtk/gtkclist.c
364         * gtk/gtkctree.c
365         * gtk/gtklistitem.c
366         * gtk/gtklist.c
367         * gtk/gtkprogressbar.c
368         * gtk/gtkpixmap.c
369         * gtk/gtkprogress.c: #undef GTK_DISABLE_DEPRECATED and #define
370         __GTK_FOO_C__ on top instead of before including gtkaliasdef.c.
371
372         * gtk/gtkclist.h
373         * gtk/gtkctree.h
374         * gtk/gtklistitem.h
375         * gtk/gtklist.h
376         * gtk/gtkpixmap.h
377         * gtk/gtkprogress.h: make the headers visible if the respective
378         __GTK_FOO_C__ are defined.
379
380 2008-08-04  Michael Natterer  <mitch@imendio.com>
381
382         * gtk/gtkclist.c
383         * gtk/gtklist.c
384         * gtk/gtkoldeditable.c
385         * gtk/gtkpixmap.c
386         * gtk/gtktipsquery.c
387         * gtk/gtktree.c
388         * gtk/gtktreeitem.c: avoid using deprecated GtkWidget API.
389
390 2008-08-04  Michael Natterer  <mitch@imendio.com>
391
392         * gtk/gtkclist.[ch]
393         * gtk/gtkctree.[ch]
394         * gtk/gtkitemfactory.[ch]
395         * gtk/gtkobject.[ch]
396         * gtk/gtksignal.[ch]: s/GtkDestroyNotify/GDestroyNotify/g
397
398 2008-08-04  Sven Neumann  <sven@gimp.org>
399
400         * gtk/gtklinkbutton.c (gtk_link_button_set_uri): update the link
401         color when the "visited" state is changed.
402
403 2008-08-04  Michael Natterer  <mitch@imendio.com>
404
405         * gtk/gtkwindow.c: move the code of the deprecated
406         gtk_window_set_policy() to a new private function
407         gtk_window_set_policy_internal() and call it from
408         gtk_window_set_policy().
409
410         (gtk_window_set_resizable): use the new internal function in order
411         to avoid our own deprecated public API.
412
413 2008-08-04  Michael Natterer  <mitch@imendio.com>
414
415         * gtk/gtkbindings.c: move the code of the deprecated
416         gtk_binding_entry_clear() to a new private function
417         gtk_binding_entry_clear_internal() and call it from
418         gtk_binding_entry_clear().
419
420         (_gtk_binding_entry_add_signall)
421         (gtk_binding_parse_bind): use the new internal function in order
422         to avoid our own deprecated public API.
423
424 2008-08-04  Michael Natterer  <mitch@imendio.com>
425
426         * gtk/gtkfontsel.c (gtk_font_selection_dialog_get_font):
427         avoid our own deprecated public API and use
428         gtk_font_selection_get_font_internal() instead of
429         gtk_font_selection_get_font().
430
431         (gtk_font_selection_get_font)
432         (gtk_font_selection_dialog_get_font): Add missing
433         "Deprecated: 2.0" to the api doc comments.
434
435 2008-08-04  Michael Natterer  <mitch@imendio.com>
436
437         * gdk/tests/Makefile.am: add the generated PNGs to CLEANFILES.
438
439 2008-08-04  Tor Lillqvist  <tml@novell.com>
440
441         * configure.in: Set LIB_EXE_MACHINE_FLAG to either X86 or X64 on
442         Windows. AC_SUBST it.
443
444         * gdk/Makefile.am
445         * gtk/Makefile.am: Pass appropriate -machine flag to lib.exe.
446
447 2008-08-04  Tor Lillqvist  <tml@novell.com>
448
449         Bug 544684 - Win64 issue, window handles are assumed to be 32-bit
450
451         * configure.in: On Win64, define GDK_NATIVE_WINDOW_POINTER.
452
453         * gdk/gdkconfig.h.win32: Ditto here.
454
455 2008-08-04  Tor Lillqvist  <tml@novell.com>
456
457         * gtk/gtkstatusicon.c: Fix typo in Win32 and Quartz code:
458         s/gtk_icon_icon_info_load_icon/gtk_icon_info_load_icon/ .
459
460 2008-08-04  Tor Lillqvist  <tml@novell.com>
461
462         * configure.in: Don't bother with the test "if gio can sniff png"
463         if $gio_can_sniff has been already set. Preset it to "no" for
464         Win32. This helps cross-compilation from 32-bit Windows to 64-bit,
465         or from Unix to Windows in general. No idea how this should be
466         handled for cross-compilation in general.
467
468 2008-08-04  Tor Lillqvist  <tml@novell.com>
469
470         * gdk/win32/gdkdisplay-win32.c: Don't bother looking up
471         EnumDisplayMonitors and GetMonitorInfoA dynamically, they are
472         present in NT-based Windows since Windows 2000.
473         (enum_monitor): For some reason the MONITORINFOEX struct in
474         mingw-win64 is different than the proper one as in MSDN and 32-bit
475         mingw, so just copy the proper definition here.
476
477 2008-08-03  Björn Lindqvist  <bjourne@gmail.com>
478
479         Bug 540379 – gtk_tree_view_enable_model_drag_dest and
480         gtk_tree_view_enable_model_drag_source unsets reorderable property
481
482         * gtk/gtktreeview.c: Improve docstrings regarding reorderable
483         property.
484
485 2008-08-03  Matthias Clasen  <mclasen@redhat.com>
486
487         * gdk/x11/gdkapplaunchcontext-x11.c: Support GEmblemedIcon.
488
489 2008-08-03  Matthias Clasen  <mclasen@redhat.com>
490
491         Bug 546128 – Weirz string
492
493         * gtk/gtksettings.c: Add a translator hint.
494         Requested by Ignacio Casal Quinteiro
495
496 2008-08-02  Tor Lillqvist  <tml@novell.com>
497
498         Bug 538686 - gtkprintoperation-win32.c: devmode_from_settings
499
500         * gtk/gtkprintoperation-win32.c (devmode_from_settings): Plug
501         potential leak. Thanks to Morten Welinder.
502
503 2008-08-02  Tor Lillqvist  <tml@novell.com>
504
505         * gtk/gtkprint-win32.c
506         * gtk/gtkprint-win32.h
507         * gtk/gtkprintoperation-win32.c: Cosmetic fixups after patch
508         below.
509
510 2008-08-02  Tor Lillqvist  <tml@novell.com>
511
512         Bug 339699 - implement gtk_print_operation_set_show_dialog for
513         Windows
514         
515         * gtk/gtkprint-win32.c
516         * gtk/gtkprint-win32.h
517         * gtk/gtkprintoperation-win32.c: Patch by ecyrbe@gmail.com.
518
519 2008-08-02  Matthias Clasen  <mclasen@redhat.com>
520         
521         Bug 544302 – GtkStatusIcon should support GIcon
522
523         * gtk/gtk.symbols:
524         * gtk/gtkstatusicon.[hc]: Add GIcon support to GtkStatusIcon.
525         Patch by Christian Dywan
526
527 2008-08-02  Matthias Clasen  <mclasen@redhat.com>
528         
529         Bug 429427 – Add "arrow-spacing" style property to GtkRange
530
531         * gtk/gtkrange.c: Add an arrow-spacing style property.
532         Patch by Carlos Garnacho and Christian Dywan
533
534 2008-08-02  Matthias Clasen  <mclasen@redhat.com>
535
536         Bug 429411 – add style properties to set minimum progressbar 
537         width/height
538
539         * gtk/gtkprogressbar.c: Add style properties for minimum size.
540         Patch by Carlos Garnacho and Christian Dywan
541
542 2008-08-02  Matthias Clasen  <mclasen@redhat.com>
543
544         Bug 526575 – Missing return type in gtk_ui_manager_get_toplevels
545         documentation
546
547         * gtk/gtkuimanager.c (gtk_ui_manager_get_toplevels): Improve
548         the docs.
549
550 2008-08-02  Matthias Clasen  <mclasen@redhat.com>
551
552         Bug 523950 – GtkTreeModelFilter's visible function may get an empty
553         row
554
555         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_visible_func):
556         Explain and show how iterators pointing to empty rows should be
557         handled in the visible function. Patch by Björn Lindqvist
558
559 2008-08-02  Matthias Clasen  <mclasen@redhat.com>
560
561         Bug 539733 – No way to control treeview separator height
562
563         * gtk/gtktreeview.c: Respect the wide-separators and
564         separator-height style properties when drawing separators.
565         Patch by Christian Dywan
566
567 2008-08-02  Matthias Clasen  <mclasen@redhat.com>
568
569         Bug 65818 – rename gtk_window_set_default() and add getter for it
570
571         * gtk/gtk.symbols:
572         * gtk/gtkwindow.[hc]: Rename gtk_window_get_default to
573         gtk_window_get_default_widget. Patch by Christian Dywan
574
575 2008-08-02  Matthias Clasen  <mclasen@redhat.com>
576
577         Bug 344383 – use po/LINGUAS
578
579         * po/LINGUAS: New file, to make translators happy.
580         * configure.in: Use po/LINGUAS
581         * po/Makefile.in.in: Add po/LINGUAS to DISTFILES
582         Patch by Claude Paroz
583
584 2008-08-02  Matthias Clasen  <mclasen@redhat.com>
585
586         * gdk/gdkapplaunchcontext.c: Improve the docs
587
588 2008-08-01  Claudio Saavedra  <csaavedra@igalia.com>
589
590         Bug 545931 – small documentation typos
591
592         * gtk/gtkcomboboxentry.c: Fix some typos in the documentation.
593
594 2008-08-01  Hans Breuer  <hans@breuer.org>
595
596         * gdk/makefile.msc : build gdkwindowimpl
597
598         * gtk/gtkwidget.c : fix c99ism - declaration needs to be at the
599         start of a block
600
601         * tests/makefile.msc : update
602
603 2008-07-31  Cody Russell  <bratsche@gnome.org>
604
605         Bug 56070 – Can't click button after setting it sensitive.
606
607         * gtk/gtkwidget.[ch]
608         * gtk/gtkwindow.c
609         * gtk/gtkmain.c
610         * gtk/gtkbutton.c
611         * gtk/gtkprivate.h
612         * gdk/gdkevents.h: Synthesize crossing events events where necessary.
613
614         * gtk/tests/crossingevents.c: Add unit tests for crossing events.
615
616         Big thanks to Ed Catmur, Matthias Clasen, and everyone else who
617         has worked on and helped out with this.
618
619 2008-07-31  Matthias Clasen  <mclasen@redhat.com>
620
621         Bug 424207 – printing hangs on unreachable cups server
622
623         * modules/printbackends/cups/gtkcupsutils.[hc]: Implement a
624         non-blocking test for reachability of the cups server.
625
626         * modules/printbackends/cups/gtkprintbackendcups.c: Don't block
627         while trying to get the default printer. Patch by Marek Kasik.
628
629 2008-07-31  Matthias Clasen  <mclasen@redhat.com>
630
631         * modules/input/gtkimcontextmultipress.c: Use a second-granularity
632         timer for automatic commit.
633
634         * gtk/gtkclipboard.c (gtk_clipboard_store): Use a second-grandularity
635         timer for the store timeout.
636
637 2008-07-31  Matthias Clasen  <mclasen@redhat.com>
638
639         * gdk/gdk.[hc]:
640         * gdk/gdk.symbols: Complete the set of thread-safe timeout function
641         with second-granularity versions. Patch by Marek Kasik.
642
643 2008-07-30  Tor Lillqvist  <tml@novell.com>
644
645         * gtk/gtkprintoperation-win32.c: Fix problems in handling custom
646         paper sizes. The DEVMODE::dmPaperWidth and dmPaperLength are in
647         tenths of a millimeter, and the RECT passed to CreateEnhMetaFile()
648         is in hundredths of a millimeter. Patch by Sven Neumann.
649
650 2008-07-28  Matthias Clasen  <mclasen@redhat.com>
651
652         * gtk/gtktreemodel.c: Small doc improvements.
653
654 2008-07-28  Matthias Clasen  <mclasen@redhat.com>
655
656         * configure.in: Bump GLib requirement to 2.17.5 for GEmblemedIcon
657
658         * gtk/gtkicontheme.c: Support rendering GEmblemedIcons.
659
660 2008-07-27  Sven Herzberg  <sven@imendio.com>
661
662         Bug 544863 – gtkquartz.h not included in released 2.13.5 package
663
664         * gtk/Makefile.am: explicitly include the moved header in EXTRA_DIST
665
666 2008-07-25  Murray Cumming  <murrayc@murrayc.com>
667
668         * gtk/gtkstatusicon.c (gtk_status_icon_class_init):
669         Documented the activate and popup-menu signals as being for use 
670         by applications and language bindings, though they are G_SIGNAL_ACTION, 
671         as stated in bug #361561.
672
673 2008-07-24  Sebastien Bacher  <seb128@ubuntu.com>
674
675         * modules/printbackends/cups/gtkprintbackendcups.c:
676         (cups_printer_get_options): don't try free gettext() values,
677         fix a printing dialog crasher (bug 544390)
678
679 2008-07-24  Cody Russell  <bratsche@gnome.org>
680
681         Bug 544510 – SetTimer callback signatures has the wrong type
682
683         * gdk/win32/gdkevents-win32.c: Fix modal_timer_proc() and
684         sync_timer_proc() to use UINT_PTR for the 'id' parameter
685         instead of 'id'.  Patch by Richard Hult.
686
687 2008-07-23  Matthias Clasen  <mclasen@redhat.com>
688
689         Bug 543915 – "Sole completion" translation issue
690
691         * gtk/gtkfilechooserentry.c: Add translator hints to a
692         bunch of strings. Requested by Andre Klapper
693
694 2008-07-23  Matthias Clasen  <mclasen@redhat.com>
695
696         Bug 544265 – GDK assumes XFIXES extension
697
698         * gdk/x11/gdkcursor-x11.c (_gdk_x11_cursor_update_theme):
699         Only call XFixes functions if the server has the extension.
700         Reported by Ian Turner.
701
702 2008-07-22  Matthias Clasen  <mclasen@redhat.com>
703
704         * configure.in: Compare two content types, not content type
705         and mime type.
706
707 2008-07-22  Sven Herzberg  <sven@imendio.com>
708
709         Fix svn:ignore and the include condition
710
711         * gdk/tests/check-gdk-cairo.c: ifndef => ifdef
712
713 2008-07-22  Tor Lillqvist  <tml@novell.com>
714
715         * configure.in: Workaround for what apparently is a bug in MSYS:
716         returning -1 from main() is misinterpreted as exit status 0, so
717         make sure we return 0 or 1. (The net effect of the bug was that no
718         image loading worked on Windows.)
719
720 2008-07-22  Sven Herzberg  <sven@imendio.com>
721
722         Add a test for my fixes from July 20th.
723
724         * configure.in: create gdk/tests/Makefile
725         * gdk/Makefile.am: include the tests subfolder
726         * gdk/tests/Makefile.am: create and run my test
727         * gdk/tests/check-gdk-cairo.c (test), (main): the test that I wrote
728         (passes at least for x11 and quartz backends)
729
730 2008-07-22  Frederic Crozat  <fcrozat@mandriva.com>
731
732         * gdk/x11/gdkscreen-x11.c: Don't use RandR 1.2
733         if driver is detected as randr12_compat (ie X driver
734         is not RandR 1.2 compliant). Fixes multihead with 
735         such drivers. Bug #543317.
736
737 2008-07-21  Matthias Clasen  <mclasen@redhat.com>
738
739         * configure.in: Default to linking against Xinerama again,
740         so that we can fallback to Xinerama when broken X drivers
741         make Xrandr useless. Sigh.
742
743 2008-07-21  Matthias Clasen  <mclasen@redhat.com>
744
745         * configure.in: Bump version
746
747         * === Released 2.13.5 ===
748
749 2008-07-21  Matthias Clasen  <mclasen@redhat.com>
750
751         * gtk/gtktestutils.c:
752         * gtk/gtkscalebutton.c:
753         * gtk/gtkmessagedialog.c:
754         * gtk/gtkmenu.c:
755         * gtk/gtkcontainer.c:
756         * gtk/gtkcolorseldialog.c:
757         * gtk/gtkaccelgroup.c:
758         * gtk/gtkentry.c:
759         * gtk/gtkfontsel.c: Fix some doc problems.
760
761 2008-07-21  Michael Natterer  <mitch@imendio.com>
762
763         * gtk/gtkbox.c (gtk_box_add): use gtk_box_pack_start() instead of
764         the deprecated gtk_box_pack_start_defaults().
765
766         * gtk/gtkbindings.c (gtk_binding_entry_add_signal)
767         (gtk_binding_parse_signal): use _gtk_binding_entry_add_signall()
768         instead of the deprecated gtk_binding_entry_add_signall().
769
770 2008-07-21  Emmanuele Bassi  <ebassi@gnome.org>
771
772         * gtk/gtkrecentmanager.c:
773         (recent_app_info_new), (recent_app_info_free): Use GSlice to
774         allocate the application data for recently used resources;
775         do not call time() to initialize the timestamp, as it will
776         be overwritten anyway later. (#535223, Michael Meeks)
777
778 2008-07-21  Kristian Rietveld  <kris@gtk.org>
779
780         Bug 543989 - Crash in gtk_tree_view_size_allocate_columns
781
782         * gtk/gtktreeview.c (gtk_tree_view_size_allocate_columns): check
783         for width_changed != NULL.  (Patch by Josselin Mouette).
784
785 2008-07-21  Michael Natterer  <mitch@imendio.com>
786
787         Bug 442042 – GtkScaleButton is too limited
788
789         * tests/testvolumebutton.c: forgot to commit code that tests
790         toggling the button's orientation. Also fixes the file's coding
791         style.
792
793 2008-07-21  Cody Russell  <bratsche@gnome.org>
794
795         Bug 153567 – Repaint glitches in widgets
796
797         * gdk/win32/gdkevents-win32.c: Set a sync timer when
798         we receive WM_SYNCPAINT, and RedrawWindow() once
799         the timer expires.
800
801 2008-07-21  Michael Natterer  <mitch@imendio.com>
802
803         * gtk/gtktoolbar.c (gtk_toolbar_class_init): use the simpler
804         g_signal_override_class_handler() instead of
805         g_signal_override_class_closure().
806
807         * gtk/gtktextview.c (gtk_text_view_class_init): ditto.
808
809         (gtk_text_view_compat_move_focus): chain up using
810         g_signal_chain_from_overridden_handler() instead of the generic
811         g_signal_chain_from_overridden() which needs manual fiddling with
812         millions of GValues.
813
814 2008-07-21  Michael Natterer  <mitch@imendio.com>
815
816         * gtk/gtkuimanager.c: remove redundant include.
817
818 2008-07-21  Michael Natterer  <mitch@imendio.com>
819
820         * gtk/gtkbindings.[ch]: remove _gtk_binding_signal_new().
821
822         * gtk/gtkfilechooserdefault.c
823         * gtk/gtkmenu.c
824         * gtk/gtkmenushell.c
825         * gtk/gtkscalebutton.c
826         * gtk/gtktextview.c
827         * gtk/gtktoolbar.c
828         * gtk/gtkwidget.c: use g_signal_new_class_handler() instead. Add
829         some missing I_() to the signal names.
830
831 2008-07-21  Michael Natterer  <mitch@imendio.com>
832
833         * gtk/gtkspinbutton.c: remove g_return_if_fail() from private
834         functions and virtual function implementations. Some minor
835         cleanups.
836
837 2008-07-20  Andre Klapper  <a9016009@gmx.de>
838
839         Bug 543915 - translation issues
840
841         * modules/printbackends/cups/gtkprintbackendcups.c:
842         Add translator comments for several strings.
843
844 2008-07-20  Sven Herzberg  <sven@imendio.com>
845
846         reviewed by: Richard Hult
847
848         Fixes #543868: GdkPixmap is upside down on quartz
849
850         * gdk/quartz/gdkdrawable-quartz.c (gdk_quartz_draw_drawable): flip the
851         coordinate space from GTK+ orientation to CoreGraphics orientation
852         before calling CoreGraphics code
853         * gdk/quartz/gdkgc-quartz.c (gdk_quartz_draw_tiled_pattern): drop the
854         coordinate space flipping (we always get it right, now)
855         * gdk/quartz/gdkpixmap-quartz.c
856         (gdk_pixmap_impl_quartz_get_context): flip the coordinate space when
857         creating the CGContextRef
858
859 2008-07-20  Sven Herzberg  <sven@imendio.com>
860
861         reviewed by: Richard Hult
862
863         Extracted the CGContextRef creation into a virtual function of
864         GdkDrawableImplQuartz; implement get_context() for GdkPixmap and
865         GdkWindow
866
867         * gdk/quartz/gdkdrawable-quartz.c
868         (gdk_quartz_drawable_get_context): dropped the different
869         implementations; forward to the virtual function now
870         * gdk/quartz/gdkdrawable-quartz.h: added the virtual function
871         * gdk/quartz/gdkpixmap-quartz.c
872         (gdk_pixmap_impl_quartz_get_context),
873         (gdk_pixmap_impl_quartz_class_init): implemented get_context()
874         * gdk/quartz/gdkwindow-quartz.c
875         (gdk_window_impl_quartz_get_context),
876         (gdk_window_impl_quartz_class_init): implemented get_context()
877
878 2007-08-19  Matthias Clasen  <mclasen@redhat.com>
879
880         * NEWS: Updates
881
882 2007-08-18  Matthias Clasen  <mclasen@redhat.com>
883
884         Bug 543545 – GtkAssistant crashes when gtk_widget_hide() is called
885         inside "apply" signal handler
886
887         * gtk/gtkassistant.c: Don't emit signals with extra parameters.
888         Patch by Antti Kaijanmäki
889
890 2007-08-18  Matthias Clasen  <mclasen@redhat.com>
891
892         Bug 543217 – GTK application crashed with directfb backend
893
894         *  gdk/directfb/gdkvisual-directfb.c: Avoid a crash in
895         _gdk_visual_init().  Patch by Huimin He.
896
897 2008-07-18  Federico Mena Quintero  <federico@novell.com>
898
899         * gtk/updateiconcache.c (build_cache): If the resulting cache file
900         would be empty, erase the old cache file as well as the temporary file.
901
902 2008-07-18  Federico Mena Quintero  <federico@novell.com>
903
904         * demos/gtk-demo/changedisplay.c (find_toplevel_at_pointer): Don't
905         do funny casts to avoid compiler warnings.
906
907         * demos/gtk-demo/textview.c (easter_egg_callback): Likewise.
908
909         * gtk/gtkmain.c (rewrite_event_for_grabs, gtk_get_event_widget): Likewise.
910
911         * gtk/gtkmodules.c (load_module): Likewise.
912
913         * gtk/gtkselection.c (gtk_selection_convert): Likewise.
914
915         * gtk/gtktipsquery.c (gtk_tips_query_event): Likewise.
916
917         * gtk/queryimmodules.c (query_module): Likewise.
918
919         * tests/testgtk.c (create_gridded_geometry, create_key_lookup)
920         (find_widget_at_pointer): Likewise.
921
922 2008-07-08  Matthias Clasen  <mclasen@redhat.com>
923
924         * modules/printbackends/cups/gtkprintbackendcups.c: Add a forgotten
925         hunk of the previous commit.
926
927 2008-07-18  Sven Herzberg  <sven@imendio.com>
928
929         Make aliasfilecheck.sh pass for the quartz backend, too.
930
931         * gtk/Makefile.am: don't include gtkquartz.h in the list of c files
932
933 2008-07-17  Runa Bhattacharjee <runabh@gmail.com>
934
935         * configure.in: Added Pashto (ps) to ALL_LINGUAS
936
937 2008-07-15  Paolo Borelli  <pborelli@katamail.com>
938
939         Bug 447998 - GtkBuilder does not support building parts of the xml tree
940
941         * gtk/gtkbuilder.c:
942         * gtk/gtkbuilder.h:
943         * gtk/gtkbuilderprivate.h:
944         * gtk/gtkbuilderparser.c:
945         * gtk/gtk.symbols:
946         Add two new functions that allow cherry picking and construct
947         objects from a ui description file or string.
948
949         * gtk/tests/builder.c: tests for the above.
950
951 2008-07-15  Paolo Borelli  <pborelli@katamail.com>
952
953         * gtk/tests/builder.c: fix up broken test (cellview has no "clicked"
954         signal) case and plug a couple of leaks.
955
956 2008-07-15  Matthias Clasen  <mclasen@redhat.com>
957
958         Bug 543244 – crashes when renaming a bookmark
959
960         * gtk/gtkfilesystem.c (_gtk_file_system_set_bookmark_label): Don't
961         free a GFile. Reported by Sebastien Bacher
962
963 2008-07-15  Matthias Clasen  <mclasen@redhat.com>
964
965         Bug 339591 – Detect list of availible cover pages
966
967         Patch by Marek Kasik:
968         * modules/printbackends/cups/gtkprintbackendcups.c: Get the list of
969         available cover pages and the default front and back cover pages 
970         from the cups server.
971
972 2008-07-15  Matthias Clasen  <mclasen@redhat.com>
973
974         Bug 384940 – handle rejecting jobs and authentication meaningfully
975
976         Patch by Marek Kasik, icons by Mike Langlie:
977         * gtk/gtk.symbols:
978         * gtk/gtkprintbackend.h:
979         * gtk/gtkprinter.[hc]: Add new paused and accepting-jobs properties
980         and getters/setters.
981
982         * gtk/gtkstock.h:
983         * gtk/gtkiconfactory.c:
984         * gtk/Makefile.am:
985         * gtk/stock-icons/{16,24}/gtk-print-paused.{png,svg}: New icon.
986
987         * modules/printbackends/cups/gtkprintbackendcups.c: 
988         * gtk/gtkprintunixdialog.c: Handle paused and job-rejecting 
989         printers.
990
991 2008-07-15  Matthias Clasen  <mclasen@redhat.com>
992
993         * configure.in: Add a test to see if GIO can sniff image data,
994         this should make gdk-pixbuf use its own sniffing again, on OS X.
995
996 2008-07-15  Xavier Claessens  <xclaesse@gmail.com>
997
998         Bug 542523 – GtkTextTag should handle setting properties to NULL
999
1000         * gtk/gtktexttag.c (gtk_text_tag_set_property): Unset the color when
1001         setting it to NULL instead of displaying a warning.
1002
1003 2008-07-15  Matthias Clasen  <mclasen@redhat.com>
1004
1005         Bug 479780 – Bookmarks in left pane of FileChooser cannot be renamed
1006
1007         * gtk/gtkfilechooserdefault.c (shortcuts_build_popup_menu):
1008         Call shortcuts_check_popup_sensitivity() every time the
1009         menu is popped up. Problem reported by Hong Jen Yee
1010         
1011 2008-07-15  Matthias Clasen  <mclasen@redhat.com>
1012
1013         Bug 488766 – GtkFileChooserButton doesn't clear icon after
1014         gtk_file_chooser_unselect_all
1015
1016         * gtk/gtkfilechooserbutton.c (update_label_and_image): Unset
1017         the image when the label is set to "(None)". Reported by
1018         Neil Roberts
1019
1020         * tests/testfilechooserbutton.c: Add an "Unselect all" button.
1021
1022 2008-07-15  Matthias Clasen  <mclasen@redhat.com>
1023
1024         Bug 507394 – mem leak from gtk_selection_add_targets
1025
1026         * gtk/gtkoldeditable.c: Free target lists in finalize.
1027         Reported by Christian Persch
1028
1029 2008-07-14  Matthias Clasen  <mclasen@redhat.com>
1030
1031         * gtk/gtk.symbols:
1032         * gtk/gtktypeutils.[hc]: Complete the deprecation of gtk_type_class.
1033
1034 2008-07-14  Matthias Clasen  <mclasen@redhat.com>
1035
1036         * gtk/gtklabel.c: Trivial doc fix.
1037
1038 2008-07-14  Matthias Clasen  <mclasen@redhat.com>
1039
1040         Bug 542853 – jasper test fails due to incomplete library arguments
1041
1042         * configure.in: Add -ljpeg when checking for jasper.
1043         Reported by Mike Calmus
1044
1045 2008-07-14  Matthias Clasen  <mclasen@redhat.com>
1046
1047         * gtk/Makefile.am: Add some missing stock-icons. Noticed by Marek 
1048         Kasik.
1049
1050 2008-07-11  Kristian Rietveld  <kris@gtk.org>
1051
1052         Bug 316087 - Resizing columns is chaotic
1053
1054         * gtk/gtktreeprivate.h: add new member fields.
1055
1056         * gtk/gtktreeview.c (gtk_tree_view_init), (validate_row): set post
1057         validation flag,
1058         (gtk_tree_view_size_allocate_columns): rework the size allocation
1059         mechanism to only recalculate the expand values if the width of the
1060         widget, content or the column configuration has changed,
1061         (gtk_tree_view_size_allocate): move call to size_allocate_columns()
1062         to before the adjustment updates so the proper width is used after
1063         we updated it,
1064         (gtk_tree_view_button_press), (gtk_tree_view_motion_resize_column):
1065         use the column width minus the expand value for the resized width,
1066         (gtk_tree_view_move_column_after): update call to
1067         gtk_tree_view_size_allocate_columns().
1068
1069         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_expand): set use
1070         resized width to FALSE.
1071
1072         * tests/Makefile.am:
1073         * tests/testtreecolumnsizing.c: new interactive test program
1074         for testing column resizing with different column configurations.
1075
1076 2008-07-11  Simos Xenitellis  <simos@gnome.org>
1077
1078         * gtk/compose-parse.py:
1079         * gtk/gtkimcontextsimple.c:
1080         Fixed typo for the name of Markus Kuhn, issue mentioned 
1081         in bug #321896 (comment 61).
1082         
1083 2008-07-11  Simos Xenitellis  <simos@gnome.org> 
1084
1085         Bug 334418 – Support easy input of ellipsis
1086
1087         * gtk/gtkimcontextsimpleseqs.h: Fixed 18 compose sequences
1088         that listed the wrong codepoint.  Reported by Wouter Bolsterlee.
1089
1090 2008-07-03  Murray Cumming  <murrayc@murrayc.com>
1091
1092         * gtk/gtkwidget.c (gtk_widget_set_property):  tooltip-text and 
1093         tooltip-markup properties: Interpret an empty string as a NULL 
1094         string because an empty tooltip is silly. This will help 
1095         language bindings that do not bother to have the two types of 
1096         empty/null strings.
1097         Bug #541399.
1098
1099 2008-07-10  Matthias Clasen  <mclasen@redhat.com>
1100
1101         Bug 542234 – iconview a11y implementation segfaults
1102
1103         * gtk/gtkiconview.c: Fix a segfault in the a11y code.
1104         Patch by Li Yuan.
1105
1106 2008-07-08  Christian Neumair  <cneumair@gnome.org>
1107
1108         * gtk/gtkuimanager.c (update_node):
1109         Skip update of accelerator child node if it has no associated action.
1110         Fixes #541950.
1111
1112 2008-07-07  Cody Russell  <bratsche@gnome.org>
1113
1114         Bug 541964 – [Win32] Setting modal hint to current value might confuse the stack
1115
1116         * gdk/win32/gdkwindow-win32.c: Check if the value is the same as the
1117         existing modal hint value before setting it.
1118
1119 2008-07-07  Cody Russell  <bratsche@gnome.org>
1120
1121         Bug 540994 – [Win32] Some windows don't appear at the top when created
1122
1123         * gdk/win32/gdkwindow-win32.c: Raise the window when setting it modal.
1124
1125         I actually already committed this one by accident, probably when I committed
1126         #541305, but just wanted to document it here in the ChangeLog.
1127
1128 2008-07-07  Johan Dahlin  <johan@gnome.org>
1129
1130         * gtk/tests/builder.c (test_cell_view):
1131         Add a test case for 528845.
1132
1133 2008-07-07  Tor Lillqvist  <tml@novell.com>
1134
1135         * gdk/win32/gdkwindow-win32.c
1136         (gdk_window_foreign_new_for_display): Need to initialise
1137         private->impl here, too.
1138
1139 2008-07-07  Michael Natterer  <mitch@imendio.com>
1140
1141         * gtk/gtkfilesystem.c: include the two needed headers instead of
1142         <gtk/gtk.h>.
1143
1144 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
1145
1146         Bug 528845 – segv from GtkBuilder on attempting <accelerator> under
1147         GtkCellView
1148
1149         * gtk/gtkcellview.c: Don't blindly chain up in the buildable
1150         implementation.  Reported by Kevin Ryde.
1151
1152 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
1153
1154         Bug 469068 – clarify gdk_cairo_create()
1155
1156         * gdk/gdkcairo.c (gdk_cairo_create): Add a note that cairo
1157         contexts cannot be cached for handling expose events.
1158         Proposed by Behdad Esfahbod.
1159
1160 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
1161
1162         Bug 507953 – gtk_tree_view_set_tooltip_column() shows markups
1163
1164         * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_column): Mention
1165         that the tooltip is set as markup. Proposed by Czirkos Zoltan.
1166
1167 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
1168
1169         Bug 510225 – gtk_widget_get_composite_name retval should be freed
1170
1171         * gtk/gtkwidget.c (gtk_widget_get_composite_name): Clarify the
1172         docs. Pointed out by Wolfgang Oertl
1173
1174 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
1175
1176         Bug 531129 – gtk_style_copy() does not include a return value or 
1177         description
1178
1179         * gtk/gtkstyle.c: Document gtk_style_copy.
1180
1181 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
1182
1183         Bug 541540 – Dead link to pkg-config site in GTK+ online FAQ
1184         Bug 513580 – Broken link in GTK+ FAQ
1185
1186         * docs/faq/gtk-faq.sgml: Remove or update some outdated links.
1187
1188 2008-07-07  Christian Dywan  <christian@imendio.com>
1189
1190         * gtk/gtkcontainer.c (gtk_container_add_with_properties): Remove
1191         erroneously added g_return_if_fail (bug #541811).
1192
1193 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
1194
1195         Bug 343663 – source-buffer highlighting highlights "char" in
1196         gtk_text_iter_forward_char
1197
1198         * demos/gtk-demo/*.c: Fix up the handrolled hilighting a bit.
1199
1200 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
1201
1202         Bug 327582 – Incomplete docs for GtkSettings::gtk-icon-sizes
1203         
1204         * gtk/gtksettings.c: Improve the documentation of the
1205         gtk-icon-sizes setting. Proposed by Tommi Komulainen.
1206
1207 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
1208
1209         Bug 539248 – gtk_calender_query_tooltip calls ->detail_func with
1210         invalid dates
1211
1212         * gtk/gtkcalendar.c (gtk_calendar_query_tooltip):
1213         Check that the cursor is over a valid date before retrieving
1214         its details.  Patch by Chris Wilson
1215
1216 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
1217
1218         Bug 493008 – gdk_screen_get_window_stack is not 64-bit-compatible
1219
1220         * gdk/x11/gdkscreen-x11.c (gdk_screen_get_window_stack): Fix
1221         64-bit brokenness. Reported by Christian Hammond.
1222
1223 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
1224
1225         Bug 541645 – gtkfilechooserdefault segfaults when bookmark does not
1226         contain ://
1227
1228         * gtk/gtkfilechooserdefault.c (_gtk_file_chooser_label_for_file):
1229         Be more robust. Reported by  Jelte van der Hoek
1230
1231 2008-07-06  Matthias Clasen  <mclasen@redhat.com>
1232
1233         Bug 540917 – deprecate pack_start_defaults()
1234
1235         * gtk/gtk.symbols:
1236         * gtk/gtkbox.[hc]: Deprecated gtk_box_pack_{start,end}_defaults.
1237         Proposed by Owen Taylor
1238
1239 2008-07-05  Matthias Clasen  <mclasen@redhat.com>
1240
1241         * configure.in: Bump version
1242
1243 2008-07-05  Matthias Clasen  <mclasen@redhat.com>
1244
1245         * === Released 2.13.4 ===
1246
1247 2008-07-05  Michael Natterer  <mitch@imendio.com>
1248
1249         * gtk/gtk.symbols: move gtk_draw_insertion_cursor() out of the
1250         deprecated section because it isn't deprecated.
1251
1252 2008-07-05  Michael Natterer  <mitch@imendio.com>
1253
1254         * gtk/gtkprogressbar.c: remove #if HAVE_CONFIG_H and clean up
1255         other include weirdness in this file.
1256
1257 2008-07-05  Matthias Clasen  <mclasen@redhat.com>
1258
1259         * NEWS: Updates
1260
1261 2008-07-04  Matthias Clasen  <mclasen@redhat.com>
1262
1263         * gtk/gtkiconview.c:
1264         * gtk/gtkfontsel.c:
1265         * gtk/gtkscalebutton.c: Small doc fixes.
1266
1267 2008-07-04  Matthias Clasen  <mclasen@redhat.com>
1268
1269         * gdk/gdkevents.c:
1270         * gdk/x11/gdktestutils-x11.c: Small doc fixes
1271
1272 2008-07-04  Matthias Clasen  <mclasen@redhat.com>
1273
1274         * gtk/tests/defaultvalue.c: Omit some more untestable properties.
1275
1276         * gtk/gtkmenu.c: Fix the initial value of the monitor property.
1277
1278         * gtk/gtkentry.c: Fix the property getter for text-length property.
1279
1280         * gtk/gtkaccelgroup.c: Fix default value for modifier-mask property.
1281
1282 2008-07-04  Matthias Clasen  <mclasen@redhat.com>
1283
1284         * gtk/gtkmenu.c: Debork the attach-widget property.
1285
1286 2008-07-04  Michael Natterer  <mitch@imendio.com>
1287
1288         Fix make check:
1289
1290         * gtk/Makefile.am: remove GTK_DISABLE_DEPRECATED from INCLUDES
1291         again :-(
1292
1293         * gtk/gtkclist.c
1294         * gtk/gtkcombo.c
1295         * gtk/gtkctree.c
1296         * gtk/gtklist.c
1297         * gtk/gtklistitem.c
1298         * gtk/gtknotebook.c
1299         * gtk/gtkobject.c
1300         * gtk/gtkoldeditable.c
1301         * gtk/gtkpixmap.c
1302         * gtk/gtktext.c
1303         * gtk/gtktipsquery.c
1304         * gtk/gtktree.c
1305         * gtk/gtktreeitem.c: don't #define it again before including
1306         gtkalias.h after it has been #undef'ed before.
1307
1308 2008-07-04  Michael Natterer  <mitch@imendio.com>
1309
1310         * gtk/gtkentry.c (_gtk_entry_reset_im_context): set need_im_reset
1311         to FALSE instead of 0.
1312
1313 2008-07-04  Michael Natterer  <mitch@imendio.com>
1314
1315         Allocate with GSlice:
1316
1317         * gtk/gtkassistant.c: GtkAssistantPage
1318         * gtk/gtkcellview.c: GtkCellViewCellInfo
1319         * gtk/gtkentry.c: GtkEntryPasswordHint, PopupInfo
1320         * gtk/gtkfilefilter.c: FilterRule
1321         * gtk/gtknotebook.c: GtkNotebookPage
1322
1323 2008-07-04  Michael Natterer  <mitch@imendio.com>
1324
1325         * gtk/gtkcombobox.c: allocate ComboCellInfo with GSlice.
1326
1327 2008-07-04  Michael Natterer  <mitch@imendio.com>
1328
1329         * gtk/gtkprintoperation.c (print_pages): change "error_dialog"
1330         variable to GtkWidget fo fix two warnings.
1331
1332 2008-07-04  Michael Natterer  <mitch@imendio.com>
1333
1334         Bug 539944 – Add GtkScaleButton API so struct fields can be marked
1335         as private
1336
1337         * gtk/gtk.symbols
1338         * gtk/gtkscalebutton.[ch]: add gtk_scale_button_get_plus_button()
1339         and _get_minus_button(). Patch by Christian Dywan.
1340
1341 2008-07-04  Matthias Clasen  <mclasen@redhat.com>
1342
1343         * gtk/gtkscalebutton.c:
1344         * gdk/gdk.symbols: 
1345         * gdk/gdkwindowimpl.c: Fix make check.
1346
1347 2008-07-03  Matthias Clasen  <mclasen@redhat.com>
1348
1349         Bug 540618 – gtk_menu_shell_select_first prints warning on GtkMenubar
1350         constructed using GtkUIManager
1351
1352         * gtk/gtkmenuitem.c: Fall back to the default positioning when
1353         the menuitem is not realized. Patch by Björn Lindqvist.
1354
1355 2008-07-03  Matthias Clasen  <mclasen@redhat.com>
1356
1357         Bug 540612 – mem leak in filechooser
1358
1359         * gtk/gtkfilesystem.c (get_volumes_list): Fix a memory leak.
1360         Patch by Christian Persch.
1361
1362 2008-07-04  Tor Lillqvist  <tml@novell.com>
1363
1364         Bug 540861 - invalid UTF-8 in input device name
1365
1366         * gdk/win32/gdkinput-win32.c: Fetch the device and cursor names in
1367         Unicode, and convert to UTF-8 for the GdkDevice's name field.
1368
1369 2008-07-03  Matthias Clasen  <mclasen@redhat.com>
1370
1371         Bug 538863 – Fixes assertion on entering empty folder
1372
1373         * gtk/gtkfilechooserdefault.c (browse_files_select_first_row): Don't
1374         select the first row if the folder is empty.
1375         Patch by Olle Bergkvist.
1376
1377 2008-07-03  Matthias Clasen  <mclasen@redhat.com>
1378
1379         Bug 540915 – GtkBuilder sets properties in reverse order
1380
1381         * gtk/gtkbuilderparser.c (parse_custom): Set properties in the order 
1382         in which they are specified in the xml file.  
1383
1384 2008-07-03  Matthias Clasen  <mclasen@redhat.com>
1385         
1386         Bug 539944 – Add GtkScaleButton API so struct fields can be marked as
1387         private
1388
1389         * gtk/gtk.symbols:
1390         * gtk/gtkscalebutton.[hc] (gtk_scale_button_get_popup): Add an
1391         accessor for the popup. Patch by Christian Dywan
1392
1393 2008-07-03  Matthias Clasen  <mclasen@redhat.com>
1394
1395         Bug 535498 – Printing demo broken
1396
1397         * demos/gtk-demo/printing.c: Use monospace as font name, 
1398         not mono. Also use the right advance when moving from line to line.
1399         Patch by Yevgen Muntyan.
1400
1401 2008-07-03  Matthias Clasen  <mclasen@redhat.com>
1402
1403         Bug 538547 – Update doc-shooter in gtk documentation
1404
1405         * docs/tools/Makefile.am:
1406         * docs/tools/folder.png:
1407         * docs/tools/gnome.png: New images
1408
1409         * docs/tools/widgets.c: Use the new images.
1410         Patch by Baptiste Mille-Mathias.
1411
1412 2008-07-03  Michael Natterer  <mitch@imendio.com>
1413
1414         * gtk/gtkscalebutton.c: remove "_from_bindings" suffix from the
1415         names of binding signal implementations.
1416
1417 2008-07-03  Li Yuan  <li.yuan@sun.com>
1418
1419         * gail-uninstalled.pc.in:
1420         Bug #536430. Add libgailutil.la into gail-uninstalled.pc.in.
1421
1422 2008-07-03  Cody Russell  <bratsche@gnome.org>
1423
1424         Bug 540529 – Remove all GIMP references
1425
1426         * gtk+-2.0.pc.in:
1427         * gdk-2.0.pc.in:
1428         * gtk+-unix-print-2.0.pc.in:
1429         * gtk+-2.0-uninstalled.pc.in:
1430         * gdk-2.0-uninstalled.pc.in: Changed GIMP Toolkit to say
1431         GTK+ Graphical UI Library in the pkg-config files.
1432
1433 2008-07-02  Cody Russell  <bratsche@gnome.org>
1434
1435         Bug 541305 – [Win32] Scrolling was broken after GdkWindow refactoring
1436
1437         * gdk/win32/gdkwindow-win32.c: Reverted some logic so that scrolling
1438         works again.
1439
1440         * gdk/win32/gdkgeometry-win32.c: Removed some more unnecessary checks.
1441         * gdk/win32/gdkkeys-win32.c: Removed unused variable to fix compile-time
1442         warnings.
1443
1444 2008-07-02  Cody Russell  <bratsche@gnome.org>
1445
1446         Bug 541249 – [Win32] Fix some internal static methods
1447
1448         * gdk/gdkwindow-win32.c: Make the interface implementation methods
1449         static.
1450
1451 2008-07-02  Michael Natterer  <mitch@imendio.com>
1452
1453         Bug 537591 – Don't hardcode minimum width of menuitems
1454
1455         * gtk/gtkmenuitem.c: applied patch from Christian Dywan which
1456         introduces a "width-chars" style property which replaces the
1457         hardcoded minimum width of menuitems with submenu. Patch
1458         extracted from Maemo-GTK+.
1459
1460 2008-07-02  Michael Natterer  <mitch@imendio.com>
1461
1462         * gtk/gtkfilechooserdefault.c: remove some of the million includes.
1463
1464 2008-07-02  Kristian Rietveld  <kris@imendio.com>
1465
1466         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init):
1467         Since s/2.16/2.14/ for the new gicon property.
1468
1469 2008-07-02  Kristian Rietveld  <kris@imendio.com>
1470
1471         Bug 455268 - Add gtk-enable-tooltips GtkSetting
1472
1473         * gtk/gtk.symbols:
1474         * gtk/gtktoolbar.[ch] (gtk_toolbar_[gs]et_tooltips): deprecated.
1475
1476         * gtk/gtksettings.c: introduce gtk-enable-tooltips XSetting.
1477
1478         * gtk/gtktooltip.c (_gtk_tooltip_handle_event): take the newly
1479         introduced XSetting into account.
1480
1481         * demos/gtk-demo/appwindow.c: don't use the now deprecated
1482         gtk_toolbar_set_tooltips().
1483
1484 2008-07-02  Cody Russell  <bratsche@gnome.org>
1485
1486         Bug 541162 – [Win32] Update for the new GdkWindowImpl stuff
1487
1488         * gdk/win32/gdkprivate-win32.h:
1489         * gdk/win32/gdkgeometry-win32.c:
1490         * gdk/win32/gdkevents-win32.c:
1491         * gdk/win32/gdkwindow-win32.c: Update Win32 backend according to
1492         the newly refactored GdkWindow code.
1493         
1494 2008-07-01  Cody Russell  <bratsche@gnome.org>
1495
1496         Bug 539164 – Windows' System Menu blocks main loop
1497
1498         * gdk/win32/gdkevents-win32.c: Use a modal timer proc in between
1499         receiving WM_ENTERMENULOOP and WM_EXITMENULOOP and pump the
1500         GLib mainloop from there.
1501
1502 2008-07-01  Richard Hult  <richard@imendio.com>
1503
1504         Some aftermath from the window impl cleanups:
1505
1506         * gdk/quartz/gdkwindow-quartz.c:
1507         (gdk_window_merge_child_input_shapes): Rename and export again.
1508         (gdk_window_quartz_get_offsets): Make static.
1509
1510 2008-07-01  Michael Natterer  <mitch@imendio.com>
1511
1512         * gtk/gtkscalebutton.h: forgot to commit the header, fixed now.
1513
1514 2008-07-01  Matthias Clasen  <mclasen@redhat.com>
1515
1516         539790 – [PATCH] Please add three new settings to GtkSettings
1517
1518         * gdk/x11/gdksettings.c: 
1519         * gtk/gtksettings.c: Add event sound settings.
1520         Patch by Lennart Poettering.
1521
1522 2008-07-01  Matthias Clasen  <mclasen@redhat.com>
1523
1524         Bug 434535 – printoperation's create_surface doesn't check temp file
1525         creation for success
1526
1527         Patch by Marek Kasik:
1528
1529         * gtk/gtkprintoperation-unix.c
1530         (_gtk_print_operation_platform_backend_create_preview_surface): 
1531         Handle failure to create temp file by returning NULL.
1532
1533         * gtk/gtkprintoperation.c (gtk_print_operation_preview_handler):
1534         Return FALSE if surface creation fails.
1535
1536         (print_pages): If the preiew signal is not handled, show an
1537         error dialog.
1538
1539 2008-07-01  Michael Natterer  <mitch@imendio.com>
1540
1541         Bug 442042 – GtkScaleButton is too limited
1542
1543         * gtk/gtkscalebutton.[ch]: turn "orientation" into a normal
1544         property that can be changed at any time after widget
1545         creation. Add public API for it.
1546
1547         * gtk/gtk.symbols: add gtk_scale_button_get/set_orientation.
1548
1549 2008-06-30  Michael Natterer  <mitch@imendio.com>
1550
1551         Some unrelated cleanups found while reviewing
1552         the offscreen window patch:
1553
1554         * gdk/gdkwindow.c: add missing Since: 2.14 to the redirection
1555         functions, fix some function header indentation, update
1556         documentation of redirect_to_drawable().
1557
1558         * gdk/x11/gdkwindow-x11.c
1559         * gdk/x11/gdkpixmap-x11.c: fix function header
1560         formatting/indentation.
1561
1562         * gtk/gtkwidget.c: use I_() on "damage_event".
1563
1564 2008-06-30  Michael Natterer  <mitch@imendio.com>
1565
1566         * gdk/gdkinternals.h: remove duplicate declaration of
1567         _gdk_window_new().
1568
1569 2008-06-30  Michael Natterer  <mitch@imendio.com>
1570
1571         * gdk/Makefile.am: reorder source lists alphabetically.
1572
1573 2008-06-30  Matthias Clasen  <mclasen@redhat.com>
1574
1575         Bug 540310 – Avoid unnecessary repaints when resizing GtkWindow
1576
1577         * gtk/gtkwindow.c: Avoid unnecessary redraws when resizing.
1578         Patch by Owen Taylor
1579
1580 2008-06-29  Behdad Esfahbod  <behdad@gnome.org>
1581
1582         Bug 530255 – GtkAboutDialog cuts off comments label
1583         Followup patch from  Jan Arne Petersen
1584
1585         * gtk/gtklabel.c (gtk_label_get_layout_offsets): Ensure layout.
1586
1587 2008-06-28  Michael Natterer  <mitch@imendio.com>
1588
1589         * gtk/gtkselection.h: properly indent the newly added
1590         GtkSelectionData accessors. Some newlines can't hurt either.
1591
1592 2008-06-27  Mikael Hallendal  <micke@imendio.com>
1593
1594         * gtk/gtkbox.c (gtk_box_pack): Removed accidental empty row.
1595
1596 2008-06-27  Mikael Hallendal  <micke@imendio.com>
1597
1598         * gtk/gtkbox.c (gtk_box_pack, gtk_box_pack_start, gtk_box_pack_end):
1599         Factored out gtk_box_pack from gtk_box_pack_start and use it from both
1600         pack_start and pack_end in order to reduce the code duplication.
1601
1602 2008-06-27  Michael Natterer  <mitch@imendio.com>
1603
1604         Bug 442042 – GtkScaleButton is too limited
1605
1606         * gtk/gtkscalebutton.c (gtk_scale_button_init): set the name
1607         "gtk-scalebutton-popup-window" on the popup window so it is
1608         properly themeable.
1609
1610 2008-06-27  Kristian Rietveld  <kris@imendio.com>
1611
1612         * gdk/quartz/gdkgeometry-quartz.c:
1613         * gdk/quartz/gdkwindow-quartz.c:
1614         * gdk/quartz/gdkprivate-quartz.h: adapt to use GdkWindowImpl
1615         interface.
1616
1617 2008-06-27  Carlos Garnacho  <carlos@imendio.com>
1618
1619         * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Fix two potential
1620         critical warnings. Bug #539470.
1621
1622 2008-06-27  Emmanuele Bassi  <ebassi@gnome.org>
1623
1624         Abstract some GdkWindow API into an interface that the backends
1625         must implement. (based on a patch by Alex Larsson)
1626
1627         * gdk/Makefile.am: Add gdkwindowimpl.[ch]
1628
1629         * gdk/gdk.symbols: Move symbols around.
1630
1631         * gdk/gdkinternals.h:
1632         * gdk/gdkwindowimpl.[ch]: Move some of the GdkWindow API we require
1633         from the backends to a GInterface that the backends should implement
1634         instead.
1635
1636         * gdk/gdkwindow.c: Provide some of the GdkWindow public API as a
1637         wrapper call around the GdkWindowImpl interface vtable.
1638
1639         * gdk/x11/gdkevents-x11.c:
1640         * gdk/x11/gdkgeometry-x11.c:
1641         * gdk/x11/gdkprivate-x11.h:
1642         * gdk/x11/gdkwindow-x11.c:
1643         * gdk/x11/gdkwindow-x11.h: Update the X11 backend to implement
1644         the GdkWindowImpl interface.
1645
1646 2008-06-27  Martyn Russell  <martyn@imendio.com>
1647
1648         Bug 540318 - Invalid URL
1649         
1650         * gtk/gtkcontainer.c: (gtk_container_add): Fixed the FAQ location
1651         in the warning produced here.
1652
1653 2008-06-27  Michael Natterer  <mitch@imendio.com>
1654
1655         Bug 442042 – GtkScaleButton is too limited
1656
1657         * gtk/gtkscalebutton.c: add "orientation" property. Make sure the
1658         stuff that is part of the public API continues to be created in
1659         init() to stay compatible. Move creating of the popup scale to
1660         constructor(). Add an internal HScale class. Changed popup
1661         positioning for horizontal scales accordingly.
1662
1663 2008-06-26  Michael Natterer  <mitch@imendio.com>
1664
1665         * gtk/gtkscalebutton.c
1666         * gtk/gtkvolumebutton.c: remove redundant init() and class_init()
1667         prototypes, remove redundant includes, remove a little trailing
1668         whitespace.
1669
1670 2008-06-26  Richard Hult  <richard@imendio.com>
1671
1672         * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
1673         * gtk/gtkquartz.c:
1674         (_gtk_quartz_get_selection_data_from_pasteboard),
1675         (_gtk_quartz_set_selection_data_for_pasteboard): Patch from
1676         Christian Dywan to clean up selection data setting.
1677
1678 2008-06-26  Richard Hult  <richard@imendio.com>
1679
1680         * gtk/gtkdnd-quartz.c (gtk_drag_begin_internal): Don't use
1681         deprecated function gtk_widget_ref, replace with g_object_ref.
1682
1683 2008-06-26  Michael Natterer  <mitch@imendio.com>
1684
1685         * gtk/gtkfilesystem.c: #include "config.h"
1686
1687 2008-06-26  Carlos Garnacho  <carlos@imendio.com>
1688
1689         * gtk/gtkfilechooserdefault.c
1690         (gtk_file_chooser_default_get_current_folder): current_folder can be
1691         NULL here, do not try to reference it (Bug #540235)
1692         (gtk_file_chooser_default_get_files): Deal better with
1693         gtk_file_chooser_default_get_current_folder() being able to return
1694         NULL.
1695
1696 2008-06-26  Michael Natterer  <mitch@imendio.com>
1697
1698         * gtk/gtktextutil.c (_gtk_text_util_append_special_char_menuitems):
1699         allocate the GtkTextUtilCallbackInfo structs with GSlice.
1700
1701 2008-06-25  Michael Natterer  <mitch@imendio.com>
1702
1703         * gtk/gtktypeutils.h: there is no reason to include
1704         <gtk/gtktypebuiltins.h> in the middle of the file, move it to top,
1705         replacing the <glib-object.h> include. Also move the remaining few
1706         non-deprecated things to the top and move some deprecated things
1707         around to clean up the mess with too many deprecated sections even
1708         more.
1709
1710 2008-06-24  Michael Natterer  <mitch@imendio.com>
1711
1712         * gtk/gtktypeutils.h: deprecate gtk_type_init() unconditionally
1713         (also for GTK_COMPILATION). Move some deprecated typedefs around
1714         to reduce the mess with zillions of deprecated sections.
1715
1716         * gtk/gtkmain.c (do_post_parse_initialization): replace the call
1717         to gtk_type_init() by g_type_init() and gtk_object_get_type() even
1718         though the latter is probably completely pointless.
1719
1720 2008-06-24  Michael Natterer  <mitch@imendio.com>
1721
1722         * gtk/gtkdialog.c (gtk_dialog_init): also revert change in how
1723         the dialog's vbox was added (bug #539732).
1724
1725 2008-06-24  Carlos Garnacho  <carlos@imendio.com>
1726
1727         * gtk/gtkdialog.[ch]: Remove container implementation, which isn't
1728         thought for handling non-direct children. Fixes #539732.
1729         (gtk_dialog_pack_start) (gtk_dialog_pack_end): Removed as well, it
1730         doesn't provide enough control to API users (removing, reordering...),
1731         this is better handled through:
1732         (gtk_dialog_get_content_area): New function which just returns
1733         dialog->vbox.
1734         * gtk/gtk.symbols: Modify accordingly.
1735         * docs/reference/gtk/tmpl/gtkdialog.sgml: Update docs to recommend
1736         using gtk_dialog_get_[action|content]_area() instead of accessing
1737         dialog struct members directly.
1738
1739 2008-06-24  Michael Natterer  <mitch@imendio.com>
1740
1741         * gtk/gtkassistant.h
1742         * gtk/gtkcellrenderer.h
1743         * gtk/gtkfilechooserentry.h
1744         * gtk/gtkprivate.h
1745         * gtk/gtktooltip.h
1746         * gtk/gtktreeview.h
1747         * gtk/gtkwindow.h: no need to include gtkwidget.h or gtkobject.h
1748         if there is any other widget included, they all have to include
1749         their respective parent classes (the is-a relation works for
1750         includes too).
1751
1752 2008-06-24  Michael Natterer  <mitch@imendio.com>
1753
1754         * gtk/gtktextutil.h: remove includes from this internal header.
1755
1756         * gtk/gtktextutil.c: include gtktextbuffer.h before gtktextutil.h.
1757
1758 2008-06-23  Michael Natterer  <mitch@imendio.com>
1759
1760         * gtk/gtkinvisible.h: formatting.
1761
1762 2008-06-23  Michael Natterer  <mitch@imendio.com>
1763
1764         * gtk/gtkaction.h
1765         * gtk/gtkbuildable.h
1766         * gtk/gtkbuilderprivate.h
1767         * gtk/gtkcelllayout.h
1768         * gtk/gtkentrycompletion.h
1769         * gtk/gtkfilechoosersettings.h
1770         * gtk/gtkfilesystem.h
1771         * gtk/gtkfilesystemmodel.h
1772         * gtk/gtkicontheme.h
1773         * gtk/gtklinkbutton.h
1774         * gtk/gtkpagesetup.h
1775         * gtk/gtkpapersize.h
1776         * gtk/gtkprintcontext.h
1777         * gtk/gtkprintoperation.h
1778         * gtk/gtkprintoperationpreview.h
1779         * gtk/gtkprintsettings.h
1780         * gtk/gtkrecentchooserprivate.h
1781         * gtk/gtkrecentmanager.h
1782         * gtk/gtksearchengine.h
1783         * gtk/gtktexttag.h
1784         * gtk/gtktreeselection.h
1785         * gtk/gtktreeviewcolumn.h
1786         * gtk/gtkuimanager.h: remove redundant inclusion of <glib.h> and
1787         <glib-object.h>. There is no point in relying on them being pulled
1788         in by other headers in some places and placing them explicitly in
1789         other places, so choose the "as little includes as possible"
1790         approach and get rid of them.
1791
1792 2008-06-23  Kristian Rietveld  <kris@imendio.com>
1793
1794         * gdk/gdkenumtypes.h.template:
1795         * gdk-pixbuf/gdk-pixbuf-enum-types.h.template:
1796         * gtk/gtktypebuiltins.h.template:
1797         * perf/typebuiltins.h.template: do not hard code the prefix of the
1798         enum, use @ENUMPREFIX@ instead (you need an up to date glib for this).
1799
1800 2008-06-23  Michael Natterer  <mitch@imendio.com>
1801
1802         * gtk/gtkmountoperation.h
1803         * gtk/gtktestutils.h
1804         * gtk/gtkshow.[ch]: remove as many includes as possible from these
1805         new files. They can't be included individually, so nothing can break.
1806
1807 2008-06-22  Michael Natterer  <mitch@imendio.com>
1808
1809         * gtk/gtkaccelgroup.c: use g_param_spec_flags(), not enum() when
1810         registering the "modifier-mask" property.
1811
1812 2008-06-21  Johan Dahlin  <jdahlin@async.com.br>
1813
1814     * *.[ch]: Include "config.h" instead of <config.h>
1815         Command used:
1816         find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
1817         Rubberstamped by Mitch and Tim
1818
1819 2008-06-21  Carlos Garnacho  <carlos@imendio.com>
1820
1821         Bug 539466 – GtkMenuShell API/ABI break in trunk.
1822
1823         * gtk/gtkmenushell.h: Fix API/ABI break, two guint fields had
1824         different name and packing width.
1825
1826 2008-06-21  Johan Dahlin  <jdahlin@async.com.br>
1827
1828         * gtk/gtkiconcachevalidator.c (check_pixel_data): Cast to guint8* to avoid
1829         a compiler warning.
1830
1831 2008-06-21  Michael Natterer  <mitch@imendio.com>
1832
1833         * gdk/gdkapplaunchcontext.h: remove redundant include, fix
1834         indentation, replace header by a GDK copyright header (don't say
1835         "The Gnome Library"), remove trailing whitespace.
1836
1837 2008-06-21  Hans Breuer  <hans@breuer.org>
1838
1839         * gtk/gtkprintoperation-win32.c(1713) : fix 'function' : incompatible 
1840         types - from 'struct _cairo *' to 'struct _cairo_surface *' by
1841         passing the surface to cairo_surface_show_page(), not the context
1842         * gtk/gtkprintoperation-win32.c(866) : get rid of warning C4018: 
1843         '<' : signed/unsigned mismatch by using guint for the loop
1844
1845         * gtk/gtkmenu.c(gtk_menu_get_property) : property 'menu::active' is 
1846         an uint, gtk_menu_get_active() returns the widget pointer. Convert
1847         the latter to the former by calculating the index in menu::children
1848         Also fix some occurences of g_return_if_fail() where 
1849         g_return_val_if_fail() was meant
1850
1851 2008-06-21  Björn Lindqvist  <bjourne@gmail.com>
1852
1853         Bug 539363 – Segfault when creating GtkPlugs
1854
1855         * gtk/gtkplug.c (gtk_plug_class_init): Spaces not allowed in
1856         property names. "socket window" => "socket-window"
1857
1858 2008-06-20  Jody Goldberg <jody@gnome.org>
1859
1860         * gtk/gtkprintoperation-win32.c (gtk_print_run_page_setup_dialog) : 
1861           Fix life cycle to avoid crash. [#536966]
1862
1863 2008-06-20  Hans Breuer  <hans@breuer.org>
1864
1865         * gtk/gtkmenuitem.c gtk/gtkmessagedialog.c gtk/gtkplug.c : must return
1866         a value of the appropriate type with g_return_val_if_fail
1867         
1868         * gdk/gdkconfig.h.win32 : add the GSEAL definition here as well
1869
1870         * gtk/gtkfilesystem.c : don't add the "File System" on win32
1871
1872         * tests/makefile.msc : remove broken autotestfile(system|chooser) 
1873         from build
1874
1875 2008-06-20  Johan Dahlin  <jdahlin@async.com.br>
1876
1877         * gtk/gtkbutton.c: Document a style property
1878
1879         * gtk/gtkeditable.c: Document and use - instead of _ in signal names.
1880
1881         * gtk/gtkbutton.c:
1882         * gtk/gtkcolorsel.c:
1883         * gtk/gtkentry.c:
1884         * gtk/gtkitemfactory.c:
1885         * gtk/gtknotebook.c:
1886         Fix up deprecated markup syntax. Add version numbers and
1887         a message on the remaning ones.
1888
1889 2008-06-20  Mikael Hallendal  <micke@imendio.com>
1890
1891         * tests/testthreads.c: Use g_signal_connect instead of
1892         gtk_signal_connect.
1893
1894         * demos/testgtk/main.c: switched to use GSignal instead of GtkSignal.
1895         While the code is not built, people may still look at it.
1896
1897 2008-06-20  Kjartan Maraas  <kmaraas@gnome.org>
1898
1899         reviewed by: <Carlos Garnacho <garnacho@gnome.org>
1900
1901         * gtk/gtkbuilder.h:
1902         * gtk/gtkliststore.h:
1903         * gtk/gtkobject.h:
1904         * gtk/gtktextchild.h:
1905         * gtk/gtktreemodelfilter.h:
1906         * gtk/gtktreemodelsort.h:
1907         * gtk/gtktreestore.h:
1908         #include <gdkconfig.h> not <gdk/gdkconfig.h>
1909
1910 2008-06-20  Martyn Russell  <martyn@imendio.com>
1911
1912         * gtk/gtkaccelgroup.c: Fix warnings from calling
1913         g_object_notify() on a GtkAccelGroup without casting to a
1914         GObject.
1915
1916 2008-06-20  Johan Dahlin  <jdahlin@async.com.br>
1917
1918         * gtk/gtkcolorsel.c: Modernize and order things as most
1919         other objects. Defines at the top, class init before init
1920         before gobject methods before object method before widget
1921         methods. No changes to the logic done.
1922
1923 2008-06-20  Martyn Russell  <martyn@imendio.com>
1924
1925         * gtk/gtkaccelgroup.c: Don't call g_object_notify() with
1926         properties that don't exist. Also, make sure we notify for
1927         the "is-locked" property.
1928
1929 2008-06-20  Johan Dahlin  <jdahlin@async.com.br>
1930
1931         * gtk/gtklayout.c (enum): Remove left-over unused property enum.
1932
1933 2008-06-20  Johan Dahlin  <jdahlin@async.com.br>
1934
1935         * gtk/gtkscalebutton.c: Fix gtk-doc syntax, add missing trailing colon.
1936
1937         * gtk/gtk.symbols: Add all newly added accessors so abicheck.sh passes
1938
1939         * gtk/gtkwidget.c (gtk_widget_get_allocation): Initialize the
1940         allocation to avoid compiler warnings
1941
1942 2008-06-20  Michael Natterer  <mitch@imendio.com>
1943
1944         * gtk/gtkaccellabel.h
1945         * gtk/gtkactiongroup.h
1946         * gtk/gtkalignment.h
1947         * gtk/gtkarrow.h
1948         * gtk/gtkaspectframe.h
1949         * gtk/gtkbin.h
1950         * gtk/gtkhandlebox.h
1951         * gtk/gtkprogressbar.h
1952         * gtk/gtkrange.h
1953         * gtk/gtkscale.h
1954         * gtk/gtkscalebutton.h
1955         * gtk/gtkselection.h: fix some formatting and spacing uglyness
1956         that got merged from the GSEAL branch.
1957
1958 2008-06-20  Johan Dahlin  <jdahlin@async.com.br>
1959
1960         * gtk/gtk.symbols:
1961         * gtk/gtkmessagedialog.c (gtk_message_dialog_get_image):
1962         * gtk/gtkmessagedialog.h:
1963         Add missing accessor for sealed field GtkMessageDialog->image.
1964
1965 2008-06-20  Michael Natterer  <mitch@imendio.com>
1966
1967         * gtk/gtkprinter.h: the GSEAL branch added two includes for no
1968         reason.
1969
1970 2008-06-20  Johan Dahlin  <jdahlin@async.com.br>
1971
1972         * gtk/gtkaccelgroup.c:
1973         * gtk/gtkcolorseldialog.c:
1974         * gtk/gtkcontainer.c:
1975         * gtk/gtkdialog.c:
1976         * gtk/gtkentry.c (gtk_entry_class_init):
1977         * gtk/gtkfontsel.c:
1978         * gtk/gtkhandlebox.c:
1979         * gtk/gtklayout.c:
1980         * gtk/gtkmenu.c (gtk_menu_class_init):
1981         * gtk/gtkmenuitem.c (gtk_menu_item_class_init):
1982         * gtk/gtkplug.c (gtk_plug_class_init):
1983         * gtk/gtkselection.c:
1984         * gtk/gtksocket.c:
1985         * gtk/gtktreeselection.c:
1986         * gtk/gtkwidget.c (gtk_widget_class_init):
1987         * gtk/gtkwindow.c:
1988         Add missing Since: gtk-doc markup for newly added GSEAL API.
1989         Change all Since: GSEAL-branch to Since: 2.14.
1990
1991 2008-06-20  Michael Natterer  <mitch@imendio.com>
1992
1993         * gtk/gtkaccelgroup.[ch]: fix some formatting and whitespace in
1994         the code merged from the GSEAL branch.
1995
1996 2008-06-20  Michael Natterer  <mitch@imendio.com>
1997
1998         * gtk/gtkdialog.[ch] (gtk_dialog_get_action_area): change return
1999         value from GtkHButtonBox to GtkWidget.
2000
2001 2008-06-20  Michael Natterer  <mitch@imendio.com>
2002
2003         * gtk/gtkhandlebox.h (struct _GtkHandleBox): deuglify formatting
2004         of sealed fields.
2005
2006 2008-06-20  Michael Natterer  <mitch@imendio.com>
2007
2008         * gtk/gtkwindow.[ch]
2009         * gtk/gtk.symbols: rename gtk_window_group_get_windows() to
2010         gtk_window_group_list_windows().
2011
2012 2008-06-20 12:35:20 +0200 Tim Janik
2013
2014         * Fixed wrongly resolved merge conflicts.
2015
2016 2008-06-19 19:01:41 +0200 Carlos Garnacho
2017
2018         Add gtk_window_group_get_windows().
2019
2020         * gtk/gtk.symbols:
2021         * gtk/gtkwindow.[ch] (gtk_window_group_get_windows): New function.
2022
2023 2008-06-19 18:39:47 +0200 Carlos Garnacho
2024
2025         Document gtk_dialog_get_action_area(), gtk_dialog_pack_start() and gtk_dialog_pack_end()
2026
2027         * gtk/gtkdialog.c: Add missing documentation for new fucntions.
2028
2029 2008-06-19 18:38:35 +0200 Carlos Garnacho
2030
2031         Document gtk_container_get_focus_child().
2032
2033         * gtk/gtkcontainer.c: Add documentation for gtk_container_get_focus_child().
2034
2035 2008-06-19 13:50:06 +0200 Christian Dywan
2036
2037         Add gtk_plug_get_socket_window
2038
2039 2008-06-19 13:11:52 +0200 Christian Dywan
2040
2041         Remove superflous gtkselection accessors and merge _get_data
2042
2043 2008-06-13 15:56:51 +0200 Christian Dywan
2044
2045         Implement gtk_selection_get_display, style fixes
2046
2047 2008-06-13 15:45:00 +0200 Christian Dywan
2048
2049         Fix indentation of a comment.
2050
2051 2008-06-13 15:10:08 +0200 Christian Dywan
2052
2053         Change docs and signature of gtk_widget_get_allocation
2054
2055 2008-06-13 14:22:17 +0200 Christian Dywan
2056
2057         Remove unneeded GtkColorSelectionDialog accessors
2058
2059 2008-06-13 12:57:54 +0200 Christian Dywan
2060
2061         Fix documentaion of gtk_menu_item_get_accel_path
2062
2063 2008-06-11 13:49:34 +0200 Christian Dywan
2064
2065         Fix gtk_widget_get_allocation
2066
2067 2008-06-07 15:37:18 +0200 Carlos Garnacho
2068
2069         Switch to "guint GSEAL (foo) : width;" when packing fields in guints.
2070
2071         * gtk/gtkbox.h:
2072         * gtk/gtkbutton.h:
2073         * gtk/gtkcellrenderer.h:
2074         * gtk/gtkcellrenderertext.h:
2075         * gtk/gtkcheckmenuitem.h:
2076         * gtk/gtkcontainer.h:
2077         * gtk/gtkentry.h:
2078         * gtk/gtkhandlebox.h:
2079         * gtk/gtkimcontextsimple.h:
2080         * gtk/gtklabel.h:
2081         * gtk/gtkliststore.h:
2082         * gtk/gtkmenu.h:
2083         * gtk/gtkmenuitem.h:
2084         * gtk/gtkmenushell.h:
2085         * gtk/gtknotebook.h:
2086         * gtk/gtkpaned.h:
2087         * gtk/gtkplug.h:
2088         * gtk/gtkprintjob.h:
2089         * gtk/gtkprogressbar.h:
2090         * gtk/gtkrange.h:
2091         * gtk/gtkscale.h:
2092         * gtk/gtkscrolledwindow.h:
2093         * gtk/gtksizegroup.h:
2094         * gtk/gtksocket.h:
2095         * gtk/gtkspinbutton.h:
2096         * gtk/gtkstatusbar.h:
2097         * gtk/gtktable.h:
2098         * gtk/gtktearoffmenuitem.h:
2099         * gtk/gtktextbuffer.h:
2100         * gtk/gtktextview.h:
2101         * gtk/gtktogglebutton.h:
2102         * gtk/gtktoolbar.h:
2103         * gtk/gtktreestore.h:
2104         * gtk/gtktreeviewcolumn.h:
2105         * gtk/gtkwindow.h: Do not specify width inside GSEAL() when packing fields in guints.
2106
2107 2008-06-06 19:02:17 +0200 Christian Dywan
2108
2109         Seal GtkWidget
2110
2111 2008-06-06 17:58:21 +0200 Christian Dywan
2112
2113         Seal GtkSelectionData
2114
2115 2008-06-06 17:57:23 +0200 Christian Dywan
2116
2117         Fix GtkDialog, don't add vbox via gtk_container_add.
2118
2119 2008-06-06 13:39:34 +0200 Kristian Rietveld
2120
2121         Make GtkCellRenderer::editing read-only.  (Catched by Matthias)
2122
2123 2008-06-03 09:11:50 +0200 Kristian Rietveld
2124
2125         Seal GtkTextView.
2126
2127 2008-05-30 16:48:12 +0100 Martyn Russell
2128
2129         Seal GtkFontSelection & GtkFontSelectionDialog
2130
2131 2008-05-29 10:35:29 +0200 Kristian Rietveld
2132
2133         Seal GtkTearoffMenuItem.
2134
2135         (the torn_off field is for internal state keeping, you can retrieve
2136         the value from the parent menu's tearoff_state).
2137
2138 2008-05-27 18:34:12 +0200 Christian Dywan
2139
2140         Seal GtkObject
2141
2142 2008-05-27 18:17:44 +0200 Christian Dywan
2143
2144         Seal GtkRange
2145
2146 2008-05-27 15:10:02 +0200 Christian Dywan
2147
2148         Seal GtkPlug
2149
2150 2008-05-27 14:17:45 +0200 Christian Dywan
2151
2152         Seal GtkMenuItem
2153
2154 2008-05-27 14:04:31 +0200 Christian Dywan
2155
2156         Seal GtkMenuShell
2157
2158 2008-05-27 12:40:08 +0200 Christian Dywan
2159
2160         Seal GtkInputDialog
2161
2162 2008-05-27 12:39:49 +0200 Christian Dywan
2163
2164         Seal GtkIMMultiContext
2165
2166 2008-05-27 12:39:17 +0200 Christian Dywan
2167
2168         Seal GtkIMContextSimple
2169
2170 2008-05-27 12:14:53 +0200 Christian Dywan
2171
2172         Seal GtkImage
2173
2174 2008-05-27 11:14:21 +0200 Christian Dywan
2175
2176         Seal GtkSocket
2177
2178 2008-05-27 10:54:20 +0200 Christian Dywan
2179
2180         Fix the build by including gdkconfig.h in gtkprinter.h.
2181
2182 2008-05-27 10:38:02 +0200 Christian Dywan
2183
2184         Seal GtkGammaCurve
2185
2186 2008-05-27 10:20:56 +0200 Christian Dywan
2187
2188         Seal GtkHandleBox
2189
2190 2008-05-26 17:58:19 +0200 Kristian Rietveld
2191
2192         Seal GtkInvisible.
2193
2194 2008-05-26 17:54:56 +0200 Kristian Rietveld
2195
2196         Seal GtkPrintJob.
2197
2198 2008-05-26 17:48:23 +0200 Kristian Rietveld
2199
2200         Seal GtkTextBuffer.
2201
2202 2008-05-26 17:39:38 +0200 Kristian Rietveld
2203
2204         Seal GtkSpinButton.
2205
2206 2008-05-26 17:31:06 +0200 Kristian Rietveld
2207
2208         Seal GtkTable.
2209
2210 2008-05-26 17:27:22 +0200 Kristian Rietveld
2211
2212         Seal GtkRuler.
2213
2214 2008-05-26 17:07:43 +0200 Kristian Rietveld
2215
2216         Seal GtkStatusBar.
2217
2218 2008-05-26 17:07:37 +0200 Kristian Rietveld
2219
2220         Seal GtkTextMark.
2221
2222 2008-05-26 16:39:27 +0200 Kristian Rietveld
2223
2224         Seal GtkTextTagTable.
2225
2226 2008-05-26 16:34:13 +0200 Kristian Rietveld
2227
2228         Seal GtkViewPort.
2229
2230 2008-05-26 17:08:19 +0200 Christian Dywan
2231
2232         Seal GtkSettings.h
2233
2234 2008-05-26 16:40:05 +0200 Christian Dywan
2235
2236         Seal GtkMenu
2237
2238 2008-05-26 16:37:54 +0200 Christian Dywan
2239
2240         Seal GtkLayout
2241
2242 2008-05-26 14:09:32 +0200 Kristian Rietveld
2243
2244         Seal priv pointer in GtkToggleToolButton.
2245
2246 2008-05-26 14:04:51 +0200 Kristian Rietveld
2247
2248         Seal priv pointer in GtkUIManager.
2249
2250 2008-05-26 14:01:32 +0200 Kristian Rietveld
2251
2252         Seal priv pointer in GtkToolItem.
2253
2254 2008-05-26 14:01:12 +0200 Kristian Rietveld
2255
2256         Seal priv pointer in GtkToolButton.
2257
2258 2008-05-26 14:00:24 +0200 Kristian Rietveld
2259
2260         Seal priv pointer in GtkToggleAction.
2261
2262 2008-05-26 13:58:01 +0200 Kristian Rietveld
2263
2264         Seal priv pointer in GtkStatusIcon.
2265
2266 2008-05-26 13:57:33 +0200 Kristian Rietveld
2267
2268         Seal priv pointer in GtkSeparatorToolItem.
2269
2270 2008-05-26 13:56:33 +0200 Kristian Rietveld
2271
2272         Seal priv pointer in GtkScaleButton.
2273
2274 2008-05-26 13:55:57 +0200 Kristian Rietveld
2275
2276         Seal priv pointer in GtkRecentManager.
2277
2278 2008-05-26 13:55:25 +0200 Kristian Rietveld
2279
2280         Seal priv pointer in GtkRecentChooserWidget.
2281
2282 2008-05-26 13:54:39 +0200 Kristian Rietveld
2283
2284         Seal priv pointer in GtkRecentChooserMenu.
2285
2286 2008-05-26 13:54:15 +0200 Kristian Rietveld
2287
2288         Seal priv pointer in GtkRecentChooserDialog.
2289
2290 2008-05-26 13:52:40 +0200 Kristian Rietveld
2291
2292         Seal priv pointer in GtkRecentAction.
2293
2294 2008-05-26 13:51:47 +0200 Kristian Rietveld
2295
2296         Seal priv pointer in GtkRadioAction.
2297
2298 2008-05-26 13:50:49 +0200 Kristian Rietveld
2299
2300         Seal priv pointer in GtkPrintUnixDialog.
2301
2302 2008-05-26 13:50:08 +0200 Kristian Rietveld
2303
2304         Seal priv pointer in GtkPrintOperation.
2305
2306 2008-05-26 13:49:41 +0200 Kristian Rietveld
2307
2308         Seal priv pointer in GtkPrinter.
2309
2310 2008-05-26 13:48:49 +0200 Kristian Rietveld
2311
2312         Seal priv pointer in  GtkPageSetupUnixDialog.
2313
2314 2008-05-26 13:47:39 +0200 Kristian Rietveld
2315
2316         Seal priv pointer in GtkMenuToolButton.
2317
2318 2008-05-26 13:47:29 +0200 Kristian Rietveld
2319
2320         Add gdkconfig.h include to GtkBuilder for GSEAL macro.
2321
2322 2008-05-26 13:23:45 +0200 Kristian Rietveld
2323
2324         Seal priv pointer in GtkLinkButton.
2325
2326 2008-05-26 13:22:25 +0200 Kristian Rietveld
2327
2328         Seal priv pointer in GtkIconView.
2329
2330 2008-05-26 13:22:04 +0200 Kristian Rietveld
2331
2332         Seal priv pointer in GtkIconTheme.
2333
2334 2008-05-26 13:13:49 +0200 Kristian Rietveld
2335
2336         Seal child_allocation field in GtkFrame.
2337
2338 2008-05-26 13:10:17 +0200 Kristian Rietveld
2339
2340         Sealed priv pointer in GtkFontButton.
2341
2342 2008-05-26 13:07:14 +0200 Kristian Rietveld
2343
2344         Seal priv pointer in GtkFileChooserButton.
2345
2346 2008-05-26 13:06:43 +0200 Kristian Rietveld
2347
2348         Seal priv pointer in GtkExpander.
2349
2350 2008-05-26 13:03:24 +0200 Kristian Rietveld
2351
2352         Sealed remaining (private) fields in GtkContainer.
2353
2354 2008-05-26 13:02:26 +0200 Kristian Rietveld
2355
2356         Seal priv pointer in GtkComboBoxEntry.
2357
2358 2008-05-26 13:01:40 +0200 Kristian Rietveld
2359
2360         Seal priv pointer in GtkComboBox.
2361
2362 2008-05-26 13:00:59 +0200 Kristian Rietveld
2363
2364         Seal private_data pointer in GtkColorSel.
2365
2366 2008-05-26 12:57:50 +0200 Kristian Rietveld
2367
2368         Seal 3 remaining fields in GtkButton.
2369
2370 2008-05-26 12:55:24 +0200 Kristian Rietveld
2371
2372         Seal priv pointer in GtkBuilder.
2373
2374 2008-05-26 12:52:44 +0200 Kristian Rietveld
2375
2376         Seal center_allocation field in GtkAspectFrame.
2377
2378 2008-05-26 12:48:18 +0200 Kristian Rietveld
2379
2380         Seal priv pointer in GtkAction.
2381
2382 2008-05-26 12:46:11 +0200 Kristian Rietveld
2383
2384         Seal priv pointer in GtkAboutDialog.
2385
2386 2008-05-26 12:41:46 +0200 Kristian Rietveld
2387
2388         Seal GtkSizeGroup.
2389
2390 2008-05-26 12:39:54 +0200 Kristian Rietveld
2391
2392         Seal GtkPaned.
2393
2394 2008-05-26 11:59:35 +0200 Kristian Rietveld
2395
2396         Set the Since: values in the API docs to GSEAL-branch for the newly added accessors/properties.
2397
2398 2008-05-26 11:52:20 +0200 Kristian Rietveld
2399
2400         Add new GtkColorSelectionDialog accessors to gtk.symbols.
2401
2402 2008-05-26 11:41:47 +0200 Kristian Rietveld
2403
2404         gtklabel.h: include bit-size of fields inside GSEAL parens.
2405
2406 2008-05-26 11:40:07 +0200 Kristian Rietveld
2407
2408         gtktoolbar.h: include bit-size of fields inside GSEAL parens.
2409
2410 2008-05-26 11:39:35 +0200 Kristian Rietveld
2411
2412         gtkentry.h: include bit-size of fields inside GSEAL parens.
2413
2414 2008-05-26 11:34:14 +0200 Kristian Rietveld
2415
2416         Add new accessors for GtkEntry to gtk.symbols.
2417
2418 2008-05-26 11:23:56 +0200 Kristian Rietveld
2419
2420         Also seal GtkWindowGroup in gtkwindow.h
2421
2422 2008-05-26 10:48:48 +0200 Kristian Rietveld
2423
2424         Fix the build by including gdkconfig.h in gtktextchild.h.
2425
2426 2008-05-23 18:48:56 +0200 Christian Dywan
2427
2428         Seal GtkLabel
2429
2430 2008-05-23 18:28:39 +0200 Christian Dywan
2431
2432         Seal GtkToolbar
2433
2434 2008-05-23 18:28:07 +0200 Christian Dywan
2435
2436         Seal GtkColorSelectionDialog
2437
2438 2008-05-23 18:03:44 +0200 Carlos Garnacho
2439
2440         Seal GtkTextChildAnchor.
2441
2442         * gtk/gtktextchild.h: Sealed private member.
2443
2444 2008-05-23 17:42:01 +0200 Carlos Garnacho
2445
2446         Seal GtkWindow.
2447
2448         * gtk/gtkwindow.h: Seal all fields.
2449
2450 2008-05-23 17:40:09 +0200 Carlos Garnacho
2451
2452         Add gtk_window_get_default()
2453
2454         * gtk/gtkwindow.[ch]: Add gtk_window_get_default().
2455         * gtk/gtk.symbols: same here.
2456
2457 2008-05-09 15:41:57 +0100 Martyn Russell
2458
2459         Seal GtkAccelGroup - fixed some issues with the initial attempt thanks to comments from Tim
2460
2461 2008-05-02 16:31:40 +0200 Martyn Russell
2462
2463         Seal GtkEntry
2464
2465 2008-05-02 16:30:09 +0200 Martyn Russell
2466
2467         Seal GtkContainer - fixed Carlos' missing gtk_container_get_focus_child() header declaration
2468
2469 2008-04-27 18:49:50 +0200 Kristian Rietveld
2470
2471         Seal GtkToggleButton.
2472
2473         * gtk/gtktogglebutton.h: Seal all member fields.
2474
2475 2008-04-27 18:41:46 +0200 Kristian Rietveld
2476
2477         Seal GtkTreeViewColumn.
2478
2479         * gtk/gtktreeviewcolumn.h: Seal all public member fields.  The button field is
2480         still troublesome.  We are probably going to need an accessor for this and
2481         deprecated it immediately in GTK+ 3.0.  Accessors for requested_width and
2482         resized_width can be useful, but I really consider them to be private and
2483         of not much use to applications.
2484
2485 2008-04-27 18:23:23 +0200 Kristian Rietveld
2486
2487         Seal GtkRadioMenuItem.
2488
2489         * gtk/gtkradiomenuitem.h: Seal member field.
2490
2491 2008-04-27 18:21:29 +0200 Kristian Rietveld
2492
2493         Seal GtkRadioButton.
2494
2495         * gtk/gtkradiobutton.h: seal member field.
2496
2497 2008-04-27 18:11:41 +0200 Kristian Rietveld
2498
2499         Seal GtkTreeSelection.
2500
2501         * gtk/gtktreeselection.h: Seal all member fields.
2502
2503 2008-04-27 18:09:46 +0200 Kristian Rietveld
2504
2505         Add gtk_tree_selection_get_select_function().
2506
2507         * gtk/gtktreeselection.[ch] (gtk_tree_selection_get_select_function): new
2508         function.
2509         * gtk/gtk.symbols: add new function.
2510
2511 2008-04-27 16:05:02 +0200 Kristian Rietveld
2512
2513         Seal GtkScrolledWindow.
2514
2515         * gtk/gtkscrolledwindow.h: Seal all object member fields.
2516
2517 2008-04-27 15:56:33 +0200 Kristian Rietveld
2518
2519         Seal GtkCellRenderer.
2520
2521         * gtk/gtkcellrenderer.h: seal all member fields.  All member fields are
2522         already accessible via GObject properties.
2523
2524 2008-04-27 15:56:01 +0200 Kristian Rietveld
2525
2526         Add "editing" GObject property to GtkCellRenderer.
2527
2528         * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init),
2529         (gtk_cell_renderer_get_property),
2530         (gtk_cell_renderer_set_property): add the property and hook
2531         it up.
2532
2533 2008-04-27 15:42:08 +0200 Kristian Rietveld
2534
2535         Seal GtkCellRendererText.
2536
2537         * gtk/gtkcellrenderertext.h: seal all member fields (all of them were already
2538         marked as private).
2539
2540 2008-04-27 15:40:47 +0200 Kristian Rietveld
2541
2542         Seal GtkCellRendererCombo.
2543
2544         * gtk/gtkcellrenderercombo.h: seal all member fields.  The members fields
2545         that were not marked as private are already accessible via GObject properties.
2546
2547 2008-04-27 15:39:41 +0200 Kristian Rietveld
2548
2549         Seal GtkCellRendererAccel.
2550
2551         * gtk/gtkcellrendereraccel.h: seal all member fields that were already
2552         marked as private.
2553
2554 2008-04-18 16:55:44 +0200 Kristian Rietveld
2555
2556         Seal GtkTreeView
2557
2558         * gtk/gtktreeview.h: seal private pointer.
2559
2560 2008-04-18 16:52:54 +0200 Kristian Rietveld
2561
2562         Seal GtkTreeModelFilter
2563
2564         * gtk/gtktreemodelfilter.h: include gdkconfig.h for GSEAL, seal private
2565         pointer.
2566
2567 2008-04-18 16:50:55 +0200 Kristian Rietveld
2568
2569         Seal GtkTreeModelSort
2570
2571         * gtk/gtktreemodelsort.h: include gdkconfig.h to get GSEAL defined, seal
2572         all public member fields.
2573
2574 2008-04-18 16:42:28 +0200 Kristian Rietveld
2575
2576         Seal GtkTreeStore
2577
2578         * gtk/gtktreestore.h: include gdkconfig.h to get GSEAL defined, seal
2579         public member fields.
2580
2581 2008-04-18 16:37:43 +0200 Kristian Rietveld
2582
2583         Seal GtkListStore
2584
2585         * gtk/gtkliststore.h: include gdkconfig.h to get GSEAL defined; seal
2586         public member fields.
2587
2588 2008-04-18 18:26:31 +0200 Carlos Garnacho
2589
2590         * gtk/gtkcontainer.c (gtk_container_get_focus_child): add accessor.
2591
2592 2008-04-18 18:25:22 +0200 Carlos Garnacho
2593
2594         * gtk/gtkcontainer.h: seal members.
2595
2596 2008-04-11 17:28:54 +0200 Carlos Garnacho
2597
2598         * gtk/gtkmisc.h: seal members.
2599
2600 2008-04-11 17:28:05 +0200 Carlos Garnacho
2601
2602         *gtk/gtkfixed.h: seal members.
2603
2604 2008-04-11 16:04:23 +0200 Michael Natterer
2605
2606         * gtk/gtkcellrendererpixbuf.h: seal all members.
2607
2608 2008-04-11 16:01:19 +0200 Michael Natterer
2609
2610         * gtk/gtkcellrendererprogress.h: seal private member.
2611
2612 2008-04-11 15:43:22 +0200 Michael Natterer
2613
2614         * gtk/gtkcellrenderertoggle.h: seal all members.
2615
2616 2008-04-04 18:50:05 +0200 Carlos Garnacho
2617
2618         * gtk/gtkfilechooserwidget.h: Seal the private member.
2619
2620 2008-04-04 18:46:47 +0200 Carlos Garnacho
2621
2622         gtk/gtkfilechooserdialog.h: seal the private member.
2623
2624 2008-04-04 18:42:17 +0200 Carlos Garnacho
2625
2626         * gtk/gtkentrycompletion.h: Seal private member.
2627
2628 2008-04-04 18:36:35 +0200 Carlos Garnacho
2629
2630         * gtk/gtkcellview.h: Seal the private member.
2631
2632 2008-04-04 18:28:00 +0200 Carlos Garnacho
2633
2634         * gtk/gtkcolorbutton.h: seal private member.
2635
2636 2008-04-04 18:27:26 +0200 Carlos Garnacho
2637
2638         * gtk/gtkcheckmenuitem.h: seal public struct members.
2639
2640 2008-04-04 18:25:25 +0200 Carlos Garnacho
2641
2642         * gtk/gtkcalendar.h: seal public struct members.
2643
2644 2008-04-04 18:24:15 +0200 Carlos Garnacho
2645
2646         * gtk/gtkdialog.h: Also seal variables marked as private.
2647
2648 2008-04-04 17:35:48 +0200 Michael Natterer
2649
2650         * gtk/gtkimagemenuitem.h: seal private member.
2651
2652 2008-04-04 17:28:56 +0200 Michael Natterer
2653
2654         * gtk/gtkiconfactory.h: seal private member.
2655
2656 2008-03-28 16:56:53 +0000 Martyn Russell
2657
2658         Seal GtkActionGroup
2659
2660         * gtk/gtkactiongroup.[ch]: Use GSEAL macro on ->private_data public
2661           member and clean up .c file to reflect this.
2662
2663 2008-03-28 15:00:09 +0100 Sven Herzberg
2664
2665         Seal GtkAccelLabel
2666
2667         gtk/gtkaccellabel.h: deprecate direct field access to GtkAccelLabel fields
2668
2669 2008-03-28 16:38:00 +0100 Michael Natterer
2670
2671         * gtk/gtkdrawingarea.h: seal instance struct member.
2672
2673 2008-03-28 16:23:32 +0100 Christian Dywan
2674
2675         Seal GtkScaleButton public fields
2676
2677         * gtk/gtkscalebutton.h: Deprecate direct access through GSEAL().
2678
2679 2008-03-28 16:07:50 +0100 Christian Dywan
2680
2681         Seal GtkScale public fields
2682
2683         * gtk/gtkscale.h: Deprecate direct access through GSEAL().
2684
2685 2008-03-14 20:45:34 +0100 Christian Dywan
2686
2687         Seal GtkProgressBar public fields
2688
2689
2690 2008-03-14 20:32:12 +0100 Christian Dywan
2691
2692         Seal GtkFrame public vars
2693
2694 2008-03-14 18:57:35 +0100 Carlos Garnacho
2695
2696         Deprecate direct access to public variables in GtkButton.
2697
2698         * gtk/gtkbutton.h: Deprecate direct access through GSEAL().
2699
2700 2008-03-14 18:56:23 +0100 Carlos Garnacho
2701
2702         Deprecate direct access to public variables in GtkButtonBox.
2703
2704         * gtk/gtkbbox.h: Deprecate direct access through GSEAL().
2705
2706 2008-03-14 18:54:35 +0100 Carlos Garnacho
2707
2708         Deprecate direct access to public variables in GtkBox.
2709
2710         * gtk/gtkbox.h: Deprecate direct access through GSEAL().
2711
2712 2008-03-09 11:50:41 +0100 Carlos Garnacho
2713
2714         Seal GtkMessageDialog public vars
2715
2716 2008-03-09 11:38:00 +0100 Carlos Garnacho
2717
2718         Seal GtkDialog public vars
2719
2720 2008-03-09 11:32:05 +0100 Carlos Garnacho
2721
2722         Add accessors for GtkDialog public vars, also implement GtkContainer::add/remove
2723
2724 2008-03-09 11:31:46 +0100 Carlos Garnacho
2725
2726         Seal GtkAssistant public fields
2727
2728 2008-03-09 11:31:30 +0100 Carlos Garnacho
2729
2730         Seal GtkNotebook public fields
2731
2732 2008-03-07 20:29:47 +0100 Mikael Hallendal
2733
2734         Deprecate direct access to child in GtkBin.
2735
2736         * gtk/gtkbin.h: Deprecate direct access to child by GSEAL.
2737
2738 2008-03-07 18:25:59 +0000 Martyn Russell
2739
2740         Sealed GtkAccelGroup and added
2741
2742         * gtk/gtkaccelgroup.[ch]: Added GObject properties for lock_count,
2743           modifier_mask, acceleratables, n_accels and priv_accels. Added seal
2744           macro for public struct members which should be private.
2745
2746 2008-03-07 18:54:22 +0100 Mikael Hallendal
2747
2748         Deprecate xalign, yalign, ratio and obey_child direct access in GtkAspectFrame.
2749
2750         * gtk/gtkaspectframe.h: Deprecate public object fields by GSEAL.
2751
2752 2008-03-07 18:48:29 +0100 Mikael Hallendal
2753
2754         Deprecate arrow_type and shadow_type direct access in GtkArrow.
2755
2756         * gtk/gtkarrow.h: Deprecate public object fields by GSEAL.
2757
2758 2008-03-07 18:35:12 +0100 Mikael Hallendal
2759
2760         Added GSEAL to GtkAlignment.
2761
2762         * gtk/gtkalignment.h: Seal the object data with GSEAL.
2763
2764 2008-03-07 15:24:27 +0100 Tim Janik
2765
2766         Introduce GSEAL() macro.
2767
2768         * configure.in: define GSEAL() when generating gdkconfig.h
2769
2770 2008-06-20  Michael Natterer  <mitch@imendio.com>
2771
2772         Bug 538395 – gtk_combo_box_append_text() on non-compliant model
2773         segfaults
2774
2775         * gtk/gtkcombobox.c (gtk_combo_box_append_text)
2776         (gtk_combo_box_insert_text)
2777         (gtk_combo_box_prepend_text)
2778         (gtk_combo_box_remove_text)
2779         (gtk_combo_box_real_get_active_text): apply patch from Christian
2780         Dywan which adds the needed g_return_if_fail() to prevent the
2781         crashes.
2782
2783 2008-06-20  Cody Russell  <cody@jhu.edu>
2784
2785         * gdk/directfb/gdkwindow-directfb.c:
2786
2787         Rename gdk_window_new -> _gdk_window_new and
2788         gdk_window_reparent -> _gdk_window_reparent to fix
2789         the build.  (#539095, Sebastien Bacher)
2790
2791 2008-06-19  Johan Dahlin  <jdahlin@async.com.br>
2792
2793         * gtk/gtkmenuitem.c: remove an unused variable and cast
2794         accel_path to gchar, just like in gtkmenu.c
2795
2796 2008-06-19  Matthias Clasen  <mclasen@redhat.com>
2797
2798         * gtk/gtkrecentmanager.c (get_icon_for_mime_type): Use GIO
2799         for this.
2800
2801 2008-06-19  Johan Dahlin  <jdahlin@async.com.br>
2802
2803         * gtk/gtkprintbackend.c: Fix a typo in a comment
2804
2805         * gtk/gtkhsv.c (paint_ring, paint_triangle):
2806         Cast buf to unsigned char to avoid two compiler
2807         warnings.
2808
2809         * gtk/gtkclist.c:
2810         * gtk/gtkstyle.c (gtk_style_finalize):
2811         Do not ignore the return value of g_slist_remove.
2812         gtkstyle.c changes rubberstamped by Owen.
2813
2814 2008-06-19  Johan Dahlin  <jdahlin@async.com.br>
2815
2816         * gtk/gtktreeview.c (gtk_tree_view_set_grid_lines),
2817         (gtk_tree_view_set_enable_tree_lines):
2818         gdk_gc_set_dashes expects a list of gint8, not guint8.
2819
2820 2008-06-19  Johan Dahlin  <jdahlin@async.com.br>
2821
2822         * gtk/gtkmenu.c (gtk_menu_set_accel_path):
2823         Remove an unused variable and cast to gchar to avoid a compiler
2824         warning.
2825
2826 2008-06-19  Christian Persch  <chpe@gnome.org>
2827
2828         * docs/reference/gtk/gtk-sections.txt:
2829         * gtk/gtk.symbols:
2830         * gtk/gtkclipboard.c:
2831         * gtk/gtkclipboard.h: Add clipboard convenience functions  for URI 
2832         targets. Bug #537639.
2833
2834 2008-06-19  Christian Persch  <chpe@gnome.org>
2835
2836         * gtk/gtkfilechooserdefault.c: Use gtk_drag_*_add_*_targets instead of
2837         hardcoded target tables. Bug #516092.
2838
2839 2008-06-19  Christian Persch  <chpe@gnome.org>
2840
2841         * gdk-pixbuf/gdk-pixbuf-io.c:
2842         * gdk-pixbuf/gdk-pixdata.c:
2843         * gdk-pixbuf/io-ani.c:
2844         * gdk-pixbuf/io-bmp.c:
2845         * gdk-pixbuf/io-gdip-utils.c:
2846         * gdk-pixbuf/io-gif.c:
2847         * gdk-pixbuf/io-icns.c:
2848         * gdk-pixbuf/io-ico.c:
2849         * gdk-pixbuf/io-jasper.c:
2850         * gdk-pixbuf/io-jpeg.c:
2851         * gdk-pixbuf/io-pcx.c:
2852         * gdk-pixbuf/io-png.c:
2853         * gdk-pixbuf/io-pnm.c:
2854         * gdk-pixbuf/io-ras.c:
2855         * gdk-pixbuf/io-tga.c:
2856         * gdk-pixbuf/io-tiff.c:
2857         * gdk-pixbuf/io-wbmp.c:
2858         * gdk-pixbuf/io-xbm.c:
2859         * gdk-pixbuf/io-xpm.c:
2860         * gtk/gtkfilechooserdefault.c:
2861         * gtk/gtkfilesystemmodel.c:
2862         * gtk/gtkiconfactory.c:
2863         * gtk/gtkicontheme.c:
2864         * gtk/gtkmain.c:
2865         * gtk/gtkpagesetup.c:
2866         * gtk/gtkpapersize.c:
2867         * gtk/gtkprintoperation-win32.c:
2868         * gtk/gtktextbufferserialize.c:
2869         * tests/testfilechooser.c: Use g_set_error_literal where appropriate. Bug #538640.
2870
2871         * configure.in: Update glib requirement to 2.17.3.
2872
2873 2008-06-19  Johan Dahlin  <jdahlin@async.com.br>
2874
2875         * demos/testpixbuf.c (new_testrgb_window):
2876         * gtk/gtkctree.c (gtk_ctree_new_with_titles):
2877         * gtk/gtkitemfactory.c (gtk_item_factory_construct),
2878         (gtk_item_factory_create_item):
2879         * gtk/gtkmenu.c (gtk_menu_set_tearoff_state)
2880         * gtk/gtkprogressbar.c (gtk_progress_bar_new),
2881         (gtk_progress_bar_new_with_adjustment):
2882         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_new):
2883         * gtk/gtktext.c (gtk_text_new):
2884         * gtk/gtkviewport.c (gtk_viewport_new):
2885         * tests/simple.c (main):
2886         * tests/testgtk.c (create_statusbar), (create_get_image),
2887         (create_saved_position), (create_tooltips), (create_cursors),
2888         (create_display_screen), (create_progress_bar), (create_idle_test):
2889         * tests/testmultidisplay.c (make_selection_dialog), (main):
2890         * tests/testmultiscreen.c (main):
2891         * tests/testrgb.c (new_testrgb_window):
2892         Use g_object_new instead of gtk_widget_new
2893
2894 2008-06-19  Johan Dahlin  <jdahlin@async.com.br>
2895
2896         * gtk/gtkcellrendererpixbuf.c: Remove an unused prototype.
2897
2898         * gtk/gtklabel.c (gtk_label_set_text_with_mnemonic): Remove
2899         an unused variable.
2900
2901         * gtk/gtkactiongroup.c: Use GdkModifierType instedd of guint,
2902         to avoid a gcc warning.
2903
2904 2008-06-18  Olle Bergkvist <olle.bergkvist@yahoo.se>
2905
2906         http://bugzilla.gnome.org/show_bug.cgi?id=538784 - Don't change
2907         the filename in the name entry in CREATE_FOLDER mode when changing
2908         folders, so that you can enter a new subfolder name, double-click on a
2909         folder to change to it, and close the dialog.
2910
2911         * gtk/gtkfilechooserdefault.c (update_chooser_entry): Don't change
2912         the filename in the entry in CREATE_FOLDER mode, either.
2913
2914 2008-06-18  Olle Bergkvist <olle.bergkvist@yahoo.se>
2915
2916         http://bugzilla.gnome.org/show_bug.cgi?id=419737#c59 - The file
2917         chooser clears the filename entry in SAVE/CREATE_FOLDER modes when
2918         it shouldn't.
2919
2920         * gtk/gtkfilechooserdefault.c (shortcuts_activate_iter): Don't
2921         clear the entry for CREATE_FOLDER either; this needs the same
2922         behavior as SAVE mode.
2923         (update_chooser_entry): Only clear the entry in OPEN/SELECT_FOLDER
2924         modes.
2925
2926 2008-06-18  Matthias Clasen  <mclasen@redhat.com>
2927
2928         * gtk/gtkfilesystem.c (_gtk_file_system_volume_render_icon):
2929         * gtk/gtkfilechooserbutton.c (change_icon_theme):
2930         (model_add_bookmarks):
2931         (model_update_current_folder):
2932         * gtk/gtkfilechooserdefault.c (shortcuts_insert_file):
2933         (shortcuts_reload_icons): Use standard icon names.
2934
2935 2008-06-18  Matthias Clasen  <mclasen@redhat.com>
2936
2937         * gtk/Makefile.am: Add some more aliases for standard
2938         icon names to the builtin icon theme: drive-harddisk,
2939         folder, folder-remote, text-x-generic.
2940
2941 2008-06-18  Michael Natterer  <mitch@imendio.com>
2942
2943         * gtk/gtkcalendar.c: set the maximum of the "year" property to
2944         G_MAXINT >> 8 instead of G_MAXINT to fix overflows in internal
2945         calculations which in turn caused writing beyond the boundaries of
2946         the calendar->day_month[] and day[] arrays which in turn caused a
2947         SEGV. This limits the lifetime of GTK+ to the year 8,388,608 ;)
2948
2949 2008-06-18  Michael Natterer  <mitch@imendio.com>
2950
2951         * tests/Makefile.am
2952         * tests/autotestfilechooser.c
2953         * tests/buildertest.c
2954         * tests/defaultvaluetest.c
2955         * tests/floatingtest.c
2956         * tests/objecttests.c
2957         * tests/pixbuf-init.c
2958         * tests/textbuffertest.c: remove unit tests here...
2959
2960         * gtk/tests/Makefile.am
2961         * gtk/tests/builder.c
2962         * gtk/tests/defaultvalue.c
2963         * gtk/tests/filechooser.c
2964         * gtk/tests/floating.c
2965         * gtk/tests/object.c
2966         * gtk/tests/pixbuf-init.c
2967         * gtk/tests/textbuffer.c: ...and add them here.
2968
2969 2008-06-18  Michael Natterer  <mitch@imendio.com>
2970
2971         * gdk/gdk.h: deprecate GdkDestroyNotify.
2972
2973         * gdk/gdkevents.c
2974         * gdk/gdktypes.h
2975         * gdk/x11/gdkevents-x11.c
2976         * gtk/gtkmain.c: s/GdkDestroyNotify/GDestroyNotify/g.
2977
2978 2008-06-18  Michael Natterer  <mitch@imendio.com>
2979
2980         * gtk/gtktypeutils.h: deprecate GtkDestroyNotify.
2981
2982         * gtk/gtkactiongroup.[ch]
2983         * gtk/gtkcombobox.[ch]
2984         * gtk/gtkcontainer.[ch]
2985         * gtk/gtkliststore.[ch]
2986         * gtk/gtkmain.[ch]
2987         * gtk/gtkmenu.c
2988         * gtk/gtkstock.[ch]
2989         * gtk/gtktreedatalist.[ch]
2990         * gtk/gtktreemodelfilter.[ch]
2991         * gtk/gtktreemodelsort.[ch]
2992         * gtk/gtktreeprivate.h
2993         * gtk/gtktreeselection.[ch]
2994         * gtk/gtktreesortable.[ch]
2995         * gtk/gtktreestore.[ch]
2996         * gtk/gtktreeview.[ch]
2997         * gtk/gtktreeviewcolumn.[ch]: s/GtkDestroyNotify/GDestroyNotify/g.
2998
2999 2008-06-18  Michael Natterer  <mitch@imendio.com>
3000
3001         * tests/testgtk.c: some more undeprecation.
3002
3003 2008-06-18  Michael Natterer  <mitch@imendio.com>
3004
3005         * gtk/gtktypeutils.h: deprecate GtkType, GtkSignalFunc and
3006         GTK_SIGNAL_FUNC().
3007
3008         (struct GtkArg): s/GtkType/GType/ and s/GtkSignalFunc/GCallback/
3009
3010 2008-06-18  Michael Natterer  <mitch@imendio.com>
3011
3012         * gtk/gtktypeutils.[ch]: deprecate gtk_type_class().
3013
3014         * gtk/gtk.symbols: changed accordingly.
3015
3016         * gtk/gtksettings.c (gtk_settings_install_property)
3017         (gtk_settings_install_property_parser): get rid of using
3018         gtk_type_class() by keeping a static reference to GtkSettingsClass
3019         around in both functions and passing that pointer on to
3020         settings_install_property_parser().
3021
3022         * tests/testgtk.c: use g_type_class_ref()/unref() instead of
3023         gtk_type_class().
3024
3025         * gtk/gtkobject.c: #undef GTK_DISABLE_DEPRECATED around including
3026         gtktypeutils.h.
3027
3028 2008-06-17  Johan Dahlin  <jdahlin@async.com.br>
3029
3030         * gtk/gtkstyle.c: Add deprecated version
3031         and change the deprecation markup used by ref/unref 
3032
3033 2008-06-17  Johan Dahlin  <jdahlin@async.com.br>
3034
3035         * gtk/gtkwidget.c: 
3036         Add deprecated versions and fixup markup.
3037
3038 2008-06-17  Johan Dahlin  <jdahlin@async.com.br>
3039
3040         * gtk/gtkaboutdialog.c:
3041         * gtk/gtkbutton.c (gtk_button_class_init):
3042         Don't markup deprecated in italics.
3043
3044 2008-06-18  Carlos Garnacho  <carlos@imendio.com>
3045
3046         * gtk/gtkfilesystem.[ch]: Remove GtkFileSystemError, use
3047         GtkFileChooserError instead. (#538378, patch by Matthias Clasen)
3048
3049 2008-06-17  Michael Natterer  <mitch@imendio.com>
3050
3051         * examples/gtkdial/gtkdial.[ch]: undeprecate.
3052
3053 2008-06-17  Michael Natterer  <mitch@imendio.com>
3054
3055         * gtk/gtkobject.c: remove bogus extern declaration of non-existing
3056         function gtk_object_init_type().
3057
3058 2008-06-17  Michael Natterer  <mitch@imendio.com>
3059
3060         * gtk/gtkbindings.c (gtk_binding_entry_add_signal):
3061         * gtk/gtktoolbutton.c (gtk_tool_button_get_type): 
3062         * examples/gtkdial/gtkdial.h (gtk_dial_get_type): 
3063         s/GtkType/GType/
3064
3065 2008-06-17  Tor Lillqvist  <tml@novell.com>
3066
3067         * gtk/gtknotebook.c: Need to do the GTK_DISABLE_DEPRECATED
3068         #undef/#define dance here, too, because
3069         gtk_notebook_set_group_id() is deprecated but used here before it
3070         is defined, and gcc complains about conflicting type from the
3071         implicit int declaration when it sees the actual void definition.
3072
3073         * modules/input/gtkimcontextime.h: Don't use the deprecated GTK_*
3074         GtkType macros.
3075
3076 2008-06-17  Michael Natterer  <mitch@imendio.com>
3077
3078         * gtk/Makefile.am: build with GTK_DISABLE_DEPRECATED.
3079
3080         * gtk/gtkclist.c
3081         * gtk/gtkcombo.c
3082         * gtk/gtkctree.c
3083         * gtk/gtklist.c
3084         * gtk/gtklistitem.c
3085         * gtk/gtkoldeditable.c
3086         * gtk/gtkpixmap.c
3087         * gtk/gtktext.c
3088         * gtk/gtktipsquery.c
3089         * gtk/gtktree.c
3090         * gtk/gtktreeitem.c: whenever we #undef GTK_DISABLE_DEPRECATED and
3091         actually use deprecated symbols (not just types or macros),
3092         #define it again before #include "gtkalias.h" so the symbols match
3093         and the beast links.
3094
3095 2008-06-17  Paolo Borelli  <pborelli@katamail.com>
3096
3097         * gtk/tests/recentmanager.c: more tests for GtkRecentManager.
3098
3099 2008-06-17  Michael Natterer  <mitch@imendio.com>
3100
3101         * modules/input/gtkimcontextmultipress.h
3102         * modules/input/gtkimcontextthai.h
3103         * modules/input/gtkimcontextxim.h: use G_TYPE instead of GTK_CHECK
3104         type checking macros.
3105
3106 2008-06-17  Michael Natterer  <mitch@imendio.com>
3107
3108         * gtk/gtktypeutils.h: really move the GtkType typedef to an
3109         undeprecated section.
3110
3111 2008-06-17  Michael Natterer  <mitch@imendio.com>
3112
3113         * gtk/gtktypeutils.h: deprecate GTK_CHECK_CAST, GTK_CHECK_CLASS_CAST,
3114         GTK_CHECK_GET_CLASS, GTK_CHECK_TYPE and GTK_CHECK_CLASS_TYPE.
3115         Move the GtkType typedef to an undeprecated section.
3116
3117 2008-06-17  Michael Natterer  <mitch@imendio.com>
3118
3119         * gtk/gtkprogress.h: use G_TYPE macros for type checking instead
3120         of GTK_CHECK ones because it's the parent class of an undeprecated
3121         class and the GTK_CHECK stuff will soon be deprecated.
3122
3123 2008-06-17  Michael Natterer  <mitch@imendio.com>
3124
3125         * gtk/gtkfilesel.c
3126         * gtk/gtkinputdialog.c
3127         * gtk/gtkmenutoolbutton.c
3128         * gtk/gtkoptionmenu.c
3129         * gtk/gtktoolitem.c
3130         * gtk/gtktooltips.c: add or move around
3131         #undef GTK_DISABLE_DEPRECATED so it's possible to build without
3132         deprecated stuff again (with the minor glitch that it doesn't
3133         link ;) but at least it's a tool to keep the code clean).
3134
3135 2008-06-17  Emmanuele Bassi  <ebassi@gnome.org>
3136
3137         * gtk/gtkrecentmanager.c:
3138         (gtk_recent_manager_remove_item): Fix dumb typo in the previous
3139         commit.
3140
3141 2008-06-17  Emmanuele Bassi  <ebassi@gnome.org>
3142
3143         * gtk/gtkrecentmanager.c:
3144         (gtk_recent_manager_remove_item),
3145         (gtk_recent_manager_move_item): Increase the consistency of the
3146         errors returned by GtkRecentManager. (Paolo Borelli)
3147
3148 2008-06-17  Paolo Borelli  <pborelli@katamail.com>
3149
3150         * gtk/tests/recentmanager.c: add some unit tests for GtkRecentManager.
3151
3152 2008-06-17  Emmanuele Bassi  <ebassi@gnome.org>
3153
3154         * gtk/gtkrecentmanager.c:
3155         (gtk_recent_manager_remove_item): Consistently use the same
3156         error when removing a URI from an empty GtkRecentManager.
3157
3158 2008-06-17  Michael Natterer  <mitch@imendio.com>
3159
3160         * gtk/gtkfilechooserdefault.c: remove static integer variables
3161         which hold the number of members in GtkTargetEntry arrays and use
3162         G_N_ELEMENTS() directly instead.
3163
3164 2008-06-17  Michael Natterer  <mitch@imendio.com>
3165
3166         * gtk/gtk.symbols: move some deprecated symbols into
3167         #ifndef GTK_DISABLE_DEPRECATED.
3168
3169 2008-06-17  Emmanuele Bassi  <ebassi@gnome.org>
3170
3171         * gtk/gtkfilechooserdefault.c:
3172         (gtk_file_chooser_default_init),
3173         (gtk_file_chooser_default_constructor),
3174         (gtk_file_chooser_default_screen_changed),
3175         (recent_start_loading): Remove the GtkRecentManager screen
3176         dance, as it has been deprecated since 2.12. Now we get the
3177         GtkRecentManager singleton whewn we create the FileChooserDefault
3178         instance. (Michael Natterer)
3179
3180 2008-06-17  Michael Natterer  <mitch@imendio.com>
3181
3182         * gtk/gtkoptionmenu.c (gtk_option_menu_position): cast menu's
3183         toplevel to GtkWindow when passing to gtk_window_set_type_hint().
3184
3185 2008-06-17  Michael Natterer  <mitch@imendio.com>
3186
3187         * gtk/gtktestutils.c: #undef GTK_DISABLE_DEPRECATED, clean up
3188         includes a bit.
3189
3190         * gtk/gtkuimanager.c: #include "gtkwindow.h", it was only pulled
3191         in via deprecated headers.
3192
3193 2008-06-16  Matthias Clasen  <mclasen@redhat.com>
3194
3195         Bug 508751 – gnome-terminal crashed with SIGSEGV after keypress
3196
3197         * gdk/x11/gdkkeys-x11.c (_gdk_keymap_key_is_modifier): Protect
3198         against XKB being stupid. Reported by Pedro Villavicencio.
3199
3200 2008-06-17  Michael Natterer  <mitch@imendio.com>
3201
3202         * gtk/gtkplug.c (_gtk_plug_send_delete_event): use g_object_ref()
3203         and unref() instead of the deprecated gtk_widget_ref() and unref().
3204
3205 2008-06-16  Michael Natterer  <mitch@imendio.com>
3206
3207         * gtk/gtkentry.c: removed function drag_begin_cb(), which was in
3208         svn since 2.8 but was never used.
3209
3210 2008-06-16  Michael Natterer  <mitch@imendio.com>
3211
3212         * gtk/gtkbindings.c (_gtk_binding_entry_add_signall): use
3213         gtk_binding_entry_clear() instead of gtk_binding_entry_add()
3214         (the former is deprecated and #defined to gtk_binding_entry_clear)
3215
3216 2008-06-16  Michael Natterer  <mitch@imendio.com>
3217
3218         * gtk/gtkprintoperation-unix.c: don't include the deprecated (and
3219         unused) "gtkmarshal.h".
3220
3221 2008-06-16  Behdad Esfahbod  <behdad@gnome.org>
3222
3223         Bug 538182 – pango_cairo_context_update_layout is not noop after
3224         gtk_widget_create_pango_layout
3225
3226         * gtk/gtksettings.c (settings_update_font_options): Make sure all
3227         font option fields are set to non-DEFAULT values.
3228
3229 2008-06-16  Michael Natterer  <mitch@imendio.com>
3230
3231         * gtk/gtkfontsel.c
3232         * gtk/gtkrc.c
3233         * gtk/gtkstyle.c
3234         * gtk/gtkwidget.c: use g_object_unref() instead of the deprecated
3235         gtk_rc_style_unref().
3236
3237 2008-06-16  Michael Natterer  <mitch@imendio.com>
3238
3239         * gtk/gtkcombobox.c (gtk_combo_box_class_init): use
3240         _gtk_marshal_BOOLEAN__VOID instead of the deprecated
3241         gtk_marshal_BOOLEAN__VOID.
3242
3243 2008-06-16  Michael Natterer  <mitch@imendio.com>
3244
3245         * gtk/gtkcellrendereraccel.h
3246         * gtk/gtkiconview.h
3247         * gtk/gtkobject.h: use G_TYPE macros instead of the old GTK_CHECK
3248         macros for type checking.
3249
3250         (gtk_object_get_type): change prototype to return GType instead of
3251         GtkType.
3252
3253 2008-06-16  Matthias Clasen  <mclasen@redhat.com>
3254
3255         * gtk/Makefile.am: Make folder, user-home and user-desktop links 
3256         to gtk-directory in the builtin icon theme, so that we can
3257         use these icon names without risk of ending up without an icon.
3258
3259 2008-06-16  Tor Lillqvist  <tml@novell.com>
3260
3261         Bug 538362 - Get Win32 icons back in the file chooser
3262
3263         * gtk/gtkicontheme.c (choose_icon): Check if the icon name is a
3264         reference to an icon resource in a DLL or .EXE in the same format
3265         as the DefaultIcon strings in the Registry. In that case, extract
3266         the icon and convert to a GdkPixbuf. Patch by Hans Breuer. This
3267         code has to be in sync with the corresponding code in
3268         glib/gio/gcontenttype.c.
3269
3270 2008-06-16  Matthias Clasen  <mclasen@redhat.com>
3271
3272         * gtk/stock-icons/24/audio-volume*: Add icons used by GtkVolumeButton
3273         to the builtin icon theme, to avoid showing broken images when
3274         there is no icon theme around.  The new icons are thanks to
3275         Lapo Calamandrei.
3276
3277 2008-06-16  Michael Natterer  <mitch@imendio.com>
3278
3279         * gtk/gtkfilechooserprivate.h: remove GtkTooltips member from the
3280         GtkFileChooserDefault struct.
3281
3282         * gtk/gtkfilechooserdefault.c: don't allocate and free the
3283         GtkTooltips.
3284
3285 2008-06-16  Carlos Garnacho  <carlos@imendio.com>
3286
3287         Bug 538519 – GtkCellRendererPixbuf doesn't allow unsetting the icon
3288         anymore
3289
3290         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
3291         Allow again setting any of the properties to render an image back to
3292         NULL.
3293
3294 2008-06-15  Matthias Clasen  <mclasen@redhat.com>
3295
3296         * gtk/gtkimage.c: When pixel-size is specified, use
3297         GTK_ICON_LOOKUP_FORCE_SIZE when loading themed icons.
3298
3299 2008-06-15  Carlos Garnacho  <carlos@imendio.com>
3300
3301         * gtk/gtkfilechooser.c (gtk_file_chooser_get_filename): Return full 
3302         path here as expected, not just the basename.
3303
3304         * gtk/gtkfilechooserdefault.c
3305         (gtk_file_chooser_default_update_current_folder): Ensure that we keep
3306         a reference to file, since it can be destroyed when switching back to
3307         browse mode.
3308
3309         * gtk/gtkfilesystem.c (get_icon_for_special_directory): Removed, home
3310         and desktop directories are dealt by the filechooser as normal files,
3311         not volumes, so the icon for these is handled directly by GIO.
3312         (_gtk_file_system_volume_render_icon): Update caller.
3313
3314 2008-06-15  Matthias Clasen  <mclasen@redhat.com>
3315
3316         * gtk/gtkcellrendererpixbuf.c: Add a gicon property.
3317
3318 2008-06-14  Cody Russell  <bratsche@gnome.org>
3319
3320         * gdk/win32/gdkselection-win32.c (gdk_win32_selection_add_targets):
3321
3322         Initialize hwnd to NULL.  This fixes OpenClipboard() failure and,
3323         according to MSDN docs, associates the open clipboard with the
3324         current task.  (#378158, reported by Andreas Köhler)
3325
3326 2008-06-13  Matthias Clasen  <mclasen@redhat.com>
3327
3328         * configure.in: Bump version
3329
3330         * === Released 2.13.3 ===
3331
3332 2008-06-13  Matthias Clasen  <mclasen@redhat.com>
3333
3334         * gtk/gtkaccelgroup.c: Add some docs
3335
3336         * gdk/gdkwindow.c: Fix doc typos
3337
3338 2008-06-13  Matthias Clasen  <mclasen@redhat.com>
3339
3340         * gtk/gtkfilesystem.c: Avoid PLT entries by including
3341         gtkalias.h
3342
3343 2008-06-13  Matthias Clasen  <mclasen@redhat.com>
3344
3345         * gtk/gtkfilechooserbutton.c:
3346         * gtk/gtkfilechooserdefault.c:
3347         * gtk/gtkfilechooserentry.c:
3348         * gtk/gtkfilesystem.c:
3349         * gtk/gtkfilesystem.h:
3350         * gtk/gtkfilesystemmodel.c:
3351         * gtk/gtkpathbar.c: Really make GtkFileSystem private
3352         by _-prefixing all functions.
3353
3354 2008-06-13  Matthias Clasen  <mclasen@redhat.com>
3355
3356         * docs/RELEASE-HOWTO: Updates
3357         * INSTALL.in: Bump version
3358
3359 2008-06-13  Matthias Clasen  <mclasen@redhat.com>
3360
3361         * NEWS: Updates
3362
3363 2008-06-13  Michael Natterer  <mitch@imendio.com>
3364
3365         * gtk/gtkcellrendereraccel.h
3366         * gtk/gtkfilechooser.h
3367         * gtk/gtkfilechooserdialog.h
3368         * gtk/gtkfilechooserwidget.h
3369         * gtk/gtkmenutoolbutton.h
3370         * gtk/gtkpagesetup.h
3371         * gtk/gtkpapersize.h
3372         * gtk/gtkprintcontext.h
3373         * gtk/gtkprintoperation.h
3374         * gtk/gtkprintoperationpreview.h
3375         * gtk/gtkprintsettings.h
3376         * gtk/gtkradiotoolbutton.h
3377         * gtk/gtkrecentchooser.h
3378         * gtk/gtkrecentchooserdialog.h
3379         * gtk/gtkrecentchoosermenu.h
3380         * gtk/gtkrecentchooserwidget.h
3381         * gtk/gtkseparatortoolitem.h
3382         * gtk/gtkshow.h
3383         * gtk/gtktoggletoolbutton.h
3384         * gtk/gtktoolbar.h
3385         * gtk/gtktoolbutton.h
3386         * gtk/gtktooltip.h: #include <gtk/gtkfoo.h> instead of
3387         "gtk/gtkfoo.h" or even just "gtkfoo.h" in public headers.
3388
3389 2008-06-13  Michael Natterer  <mitch@imendio.com>
3390
3391         * gtk/gtktexttagtable.h: remove double inclusion of
3392         <gtk/gtktexttag.h>.
3393
3394 2008-06-13  Michael Natterer  <mitch@imendio.com>
3395
3396         * gtk/gtkaction.c (gtk_action_set_short_label): change type of
3397         local "image" variable from GtkImage to GtkWidget to fix warning.
3398
3399 2008-06-13  Michael Natterer  <mitch@imendio.com>
3400
3401         * gtk/gtkcombobox.c (gtk_combo_box_menu_position): cast menu's
3402         toplevel to GtkWindow when passing to gtk_window_set_type_hint().
3403
3404 2008-06-13  Michael Natterer  <mitch@imendio.com>
3405
3406         * gtk/gtkuimanager.c (start_element_handler): silently skip
3407         unknown attributes instead of bailing out with an error in order
3408         to be compatible with possible future attribute names.
3409
3410         This is related to the discussion in bug #516425 but actually
3411         needed for any kind of XML format extension.
3412
3413 2008-05-23  Hans Breuer  <hans@breuer.org>
3414
3415         * gtk/gtkprintoperation.c : check surface status after ceating a pdf.
3416         Avoids crashing when the target can not be written, bug #537685
3417
3418         * gdk/win32/gdkdisplay-win32.c : runtime linking of ProcessIdToSessionId
3419
3420         * gtk/gtkfilesystem.c : variadic macros are not supported with c89 and
3421         it was not needed here anyway.
3422
3423 2008-06-13 Matthias Clasen  <mclasen@redhat.com>
3424
3425         * gtk/gtkentry.c (gtk_entry_draw_frame): Fix frame size allocation.
3426         Patch by Jan Arne Peterson
3427
3428 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
3429
3430         Bug 537985 – gtk_init_with_args() doesn't open a display after
3431         gtk_parse_args()
3432
3433         * gtk/gtkmain.c (gtk_init_with_args): Open the default display
3434         even when gtk_parse_args() has already been called.
3435         Patch by Mathias Hasselmann
3436
3437 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
3438
3439         Bug 524222 – GtkToolbar with mix of buttons with and without 
3440         icons looks "bad"
3441
3442         * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents):
3443         Improve appearance of "both vertical" mode toolbuttons.
3444         Patch by Peter Johanson
3445
3446 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
3447
3448         Bug 519092 – Add accessibility support to GtkVolumeButton
3449
3450         * gtk/gtkvolumebutton.c: Set accessibility descriptions.
3451         Patch by Jonh Wendell
3452
3453 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
3454
3455         Bug 517706 – Connecting GtkButton with "use-stock" == FALSE to a
3456         GtkAction has problems
3457         Patch by Peter Johanson
3458
3459         * gtk/gtkaction.c (connect_proxy): Set the image of a button
3460         proxy to the "icon-name" property.
3461
3462         (gtk_action_set_short_label):  If the "image" property is set 
3463         on the button proxy, also tries to set the "label" property on 
3464         the GtkButton.
3465
3466 2008-06-12  Michael Natterer  <mitch@imendio.com>
3467
3468         * gtk/gtkmain.c
3469         * gtk/gtktrayicon-x11.c: don't #include <libintl.h>, it's pulled
3470         in via "gtkintl.h" from <glib/gi18n-lib.h>.
3471
3472 2008-06-12  Matthias Clasen  <mclasen@redhat.com>
3473
3474         RH bug 248245 and 449379: cups client printing from gnome
3475         applications fail
3476
3477         * modules/printbackends/cups/gtkprintbackendcups.c: Really fix
3478         printer URI construction. Patch by Marek Kasik
3479         
3480 2008-06-12  Michael Natterer  <mitch@imendio.com>
3481
3482         * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup):
3483         limit the number of displayed items by the actual screen height
3484         instead of some arbitrary value (Bug #408154, Xan Lopez and
3485         Christian Dywan).
3486
3487 2008-06-11  Behdad Esfahbod  <behdad@gnome.org>
3488
3489         Bug 503071 – Application direction changes to right to left even if
3490         theres no translation
3491
3492         * configure.in: Bump glib requirement.
3493
3494         * gtk/gtkaccellabel.c
3495         (_gtk_accel_label_class_get_accelerator_label):
3496         * gtk/gtkactiongroup.c (dgettext_swapped):
3497         * gtk/gtkbuilder.c (gtk_builder_class_init):
3498         * gtk/gtkbuilderparser.c (_dpgettext),
3499         (_gtk_builder_parser_translate):
3500         * gtk/gtkfilechooserdefault.c (list_size_data_func):
3501         * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
3502         * gtk/gtkintl.h:
3503         * gtk/gtkmain.c (setlocale_initialization),
3504         (do_pre_parse_initialization), (gettext_initialization):
3505         * gtk/gtkstock.c (gtk_stock_lookup), (sgettext_swapped):
3506         Use g_dgettext() and g_dngettext().
3507
3508 2008-06-11  Matthias Clasen <mclasen@redhat.com>
3509
3510         * docs/RELEASE-HOWTO: Updates
3511
3512 2008-06-11  Tor Lillqvist  <tml@novell.com>
3513
3514         * gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): As we don't
3515         support Win9x anyway, we can use ProcessIdToSessionId()
3516         unconditionally.
3517
3518 2008-06-11  Michael Natterer  <mitch@imendio.com>
3519
3520         * gtk/gtkfilechooserbutton.c: fix local prototype of
3521         _gtk_file_chooser_label_for_file() (takes a GFile, not const gchar*).
3522
3523 2008-06-10  Matthias Clasen <mclasen@redhat.com>
3524
3525         Bug 536765 – GtkComboBox should set COMBO type hint for its menu
3526
3527         * gtk/gtkoptionmenu.c:
3528         * gtk/gtkcombobox.c: Set the window type hint on popups.
3529         Patch by Danny Baumann
3530
3531 2008-06-10  Matthias Clasen <mclasen@redhat.com>
3532
3533         * gtk/gtkfilesystem.c (get_icon_for_special_directory):
3534         (gtk_file_system_volume_render_icon): Add standard icon names,
3535         and also fall back to builtin gtk stock icons.
3536
3537 2008-06-10  Christian Persch  <chpe@gnome.org>
3538
3539         * gtk/gtktreeview.c: (destroy_info), (set_destination_row),
3540         (gtk_tree_view_maybe_begin_dragging_row),
3541         (gtk_tree_view_set_reorderable),
3542         (gtk_tree_view_enable_model_drag_source),
3543         (gtk_tree_view_enable_model_drag_dest),
3544         (gtk_tree_view_unset_rows_drag_source),
3545         (gtk_tree_view_unset_rows_drag_dest): Make
3546         gtk_tree_view_enable_model_drag_[source|dest] compatible with
3547         gtk_drag_[source|dest]_add_*_targets. Bug #506853.
3548
3549 2008-06-10  Christian Persch  <chpe@gnome.org>
3550
3551         * gtk/gtktreeview.c: (gtk_tree_view_button_release_drag_column),
3552         (dest_row_free), (set_dest_row), (ensure_info),
3553         (gtk_tree_view_remove), (gtk_tree_view_put),
3554         (gtk_tree_view_set_column_drag_info): Use GSlice. Patch from
3555         bug #506853.
3556
3557 2008-06-10  Paolo Borelli  <pborelli@katamail.com>
3558
3559         * gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder_uri)
3560         use g_file_new_for_uri.
3561
3562 2008-06-10  Paolo Borelli  <pborelli@katamail.com>
3563
3564         * gtk/gtkfilesystem.c (gtk_file_system_volume_render_icon): do not
3565         leak the GIcon.
3566
3567 2008-06-10  Carlos Garnacho  <carlos@imendio.com>
3568
3569         * configure.in:
3570         * gtk/Makefile.am:
3571         * gtk/xdgmime: removed local xdgmime copy as Matthias suggested in bug
3572         #520874, comment #8. It's no longer used directly by GTK+.
3573
3574 2008-06-10  Carlos Garnacho  <carlos@imendio.com>
3575
3576         Bug 520874 - Should use gio directly.
3577
3578         * gtk/gtkfilesystem.[ch]: Turn into a private object, which mostly
3579         provides helper functions for asynchronous calls, folder abstraction
3580         and uniform handling of volumes/drives/mounts.
3581
3582         * gtk/gtkfilesystemwin32.[ch]:
3583         * gtk/gtkfilesystemunix.[ch]: Removed, these are no longer required.
3584
3585         * gtk/gtkfilechooser.c:
3586         * gtk/gtkfilechooserbutton.c:
3587         * gtk/gtkfilechooserdefault.c:
3588         * gtk/gtkfilechooserentry.[ch]:
3589         * gtk/gtkfilechooserprivate.h:
3590         * gtk/gtkfilechooserutils.c:
3591         * gtk/gtkfilesystemmodel.[ch]:
3592         * gtk/gtkpathbar.[ch]: Use GIO internally. Adapt to GtkFileSystem API.
3593         Do not load filesystem implementation modules.
3594
3595         * gtk/Makefile.am:
3596         * gtk/gtk.symbols: the gtkfilesystem.h private header isn't installed
3597         anymore, nor the unix/win32 implementations.
3598
3599         * README.in: Add blurb about these changes.
3600
3601 2008-06-09  Kristian Rietveld  <kris@gtk.org>
3602
3603         Bug 526987 - GtkCellRendererCombo should allow model to be NULL
3604
3605         * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
3606         (gtk_cell_renderer_combo_set_property),
3607         (gtk_cell_renderer_combo_editing_done),
3608         (gtk_cell_renderer_combo_start_editing): introduce private class
3609         struct, allow model to be set to NULL.
3610
3611 2008-06-08  Björn Lindqvist  <bjourne@gmail.com>
3612
3613         Bug 131920 – gtkNotebook sends incorrect switch_page value
3614
3615         * gtk/gtknotebook.c (gtk_notebook_real_remove): Make switch-page
3616         signal send correct page index when page index 0 is active and
3617         removed. (#131920, Samuel Fogh)
3618
3619 2008-06-08  Kristian Rietveld  <kris@gtk.org>
3620
3621         Bug 536730 - memory corruption in gtktreeview
3622
3623         * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): first
3624         remove the expand/collapse timeout and node, then free the rbtree.
3625
3626 2008-06-08  Kristian Rietveld  <kris@gtk.org>
3627
3628         Bug 488119 - critical warnings from gtk_tree_view_get_visible_range
3629
3630         * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): only try to
3631         find path if we found valid nodes, return FALSE otherwise.  (Patch
3632         from Matthias Clasen).
3633
3634 2008-06-08  Matthias Clasen  <mclasen@redhat.com>
3635
3636         * gtk/gtkrecentmanager.c:
3637         * gtk/gtkrecentfilter.c:
3638         * gtk/gtkfilefilter.c: Replace uses of xdgmime with
3639         g_content_type.
3640         
3641 2008-06-08  Christian Persch <chpe@gnome.org>
3642
3643         Bug 535608 – do not string-copy accel paths in the menu code
3644
3645         * gtk/gtkaccelgroup.c:
3646         * gtk/gtkaccelmap.c:
3647         * gtk/gtkaction.c:
3648         * gtk/gtkmenu.c:
3649         * gtk/gtkmenuitem.c:
3650         * gtk/gtkwidget.c:  Don't store the accel path as a string in
3651         gtkmenu/gtkmenuitem. The accel path will be interned anyway, so
3652         keeping a string copy around is just a waste of memory.
3653         Improve the documentation to mention this.
3654
3655 2008-06-07  Tor Lillqvist  <tml@novell.com>
3656
3657         Bug 536990 - updateiconcache.c: 'close ()' is redundant
3658
3659         * gtk/updateiconcache.c (build_cache): Drop redundant close()
3660         calls. fclose() on a fdopen()ed stream closes the underlying file
3661         descriptor.
3662
3663 2008-06-06  Matthias Clasen  <mclasen@redhat.com>
3664
3665         Bug 536757 – regression: openoffice.org menus are placed at wrong
3666         position since 2.12.10
3667
3668         * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
3669         Return the right coordinates.  
3670
3671 2008-06-06  Behdad Esfahbod  <behdad@gnome.org>
3672
3673         Bug 536185 – monitor font configuration
3674
3675         * configure.in:
3676         * gdk/x11/gdksettings.c:
3677         * gtk/gtksettings.c (gtk_settings_class_init),
3678         (gtk_settings_notify), (settings_update_fontconfig):
3679         Monitor xsettings key Fontconfig/Timestamp and upon change,
3680         reread fontconfig configuration, clear Pango's caches, and
3681         redraw all widgets.
3682
3683 2008-06-06  Ross Burton  <ross@burtonini.com>
3684
3685         * gtk/gtkwindow.c:
3686         Fix trivial typo in documentation.
3687
3688 2008-06-06  Tor Lillqvist  <tml@novell.com>
3689
3690         * config.h.win32.in: Slight update to match what configure
3691         produces.
3692
3693 2008-06-05  Johan Dahlin  <jdahlin@async.com.br>
3694
3695         * gtk/gtkbuilder.h (enum): Add the new version mismatch error
3696         constant to the end of the list, to avoid breaking the stable ABI
3697
3698 2008-06-05  Michael Natterer  <mitch@imendio.com>
3699
3700         * configure.in: add -DATK_DISABLE_SINGLE_INCLUDES to CPPFLAGS.
3701
3702 2008-06-05  Li Yuan  <li.yuan@sun.com>
3703
3704         * gail-uninstalled.pc.in:
3705         Bug #536430. Patch from Damien Carbery <damien.carbery@sun.com>.
3706         Correct paths to gail headers and libraries in gail-uninstalled.pc.in.
3707
3708 2008-06-03  Matthias Clasen  <mclasen@redhat.com>
3709
3710         * docs/RELEASE-HOWTO: Update a bit
3711
3712 2008-06-03  Matthias Clasen  <mclasen@redhat.com>
3713
3714         * configure.in: Bump version
3715
3716         * === Released 2.13.2 ===
3717
3718 2008-06-03  Federico Mena Quintero  <federico@novell.com>
3719
3720         * gtk/gtkfilechooserentry.c (install_completion_feedback_timer):
3721         If the user presses Tab while the completion feedback window is
3722         active, then we'll assert.  Remove the assertion and just re-set
3723         the timer.  Fixes https://bugzilla.novell.com/show_bug.cgi?id=355225
3724
3725 2008-06-03  Colin Walters  <walters@redhat.com>
3726         
3727         Bug 535303 – add _get_implementation to GtkStatusIcon
3728
3729         * gtk/gtkstatusicon.c (gtk_status_icon_get_x11_window_id): New
3730         function to retrieve internal X11 window ID, useful for libnotify.
3731         * gtk/gtkstatusicon.h: Prototype it.
3732         * docs/reference/gtk/gtk-sections.txt: Add to docs.
3733         * gtk/gtk.symbols: Export it.
3734
3735 2008-06-03  Tor Lillqvist  <tml@novell.com>
3736
3737         * gtk/updateiconcache.c (build_cache): Use g_open().
3738
3739 2008-06-03  Michael Natterer  <mitch@imendio.com>
3740
3741         * gtk/gtkclist.h
3742         * gtk/gtkctree.h: revert includes to how they have been before the
3743         GTK_DISABLE_SINGLE_INCLUDES changes. Apparently I missed the fact
3744         that you can't include <gtk/gtk.h> from two headers where one is a
3745         parent class of the other and expect them both to be includable
3746         individually.
3747
3748 2008-06-03  Michael Natterer  <mitch@imendio.com>
3749
3750         * gtk/gtkprinteroptionset.h: remove newline at beginning of file.
3751
3752 2008-06-02  Matthias Clasen  <mclasen@redhat.com>
3753         
3754         Bug 536092 – GtkEntryCompletion's popup window should set type hint
3755
3756         * gtk/gtkentrycompletion.c (gtk_entry_completion_init): Set
3757         a type hint on the popup window to help compiz.
3758         Patch by Vaclav Slavik.
3759
3760 2008-06-02  Claudio Saavedra  <csaavedra@igalia.com>
3761
3762         Bug 535862 – gtk_action_create_icon can't create icons from the
3763         icon themes
3764
3765         * gtk/gtkaction.c: (gtk_action_create_icon): Look for the icon in
3766         the default factories as it's supposed.
3767
3768 2008-06-02  Yevgen Muntyan  <muntyan@tamu.edu>
3769
3770         Bug 535497 – Print preview doesn't work.
3771
3772         * gtk/Makefile.am: GTK_PRINT_PREVIEW_COMMAND on quartz: use open
3773         instead of launching Preview.app directly.
3774
3775 2008-06-02  Michael Natterer  <mitch@imendio.com>
3776
3777         * gtk/gtksignal.h: put back #include <gtk/gtkmarshal.h>, it's not
3778         in <gtk/gtk.h>. Fixes stuff that uses deprecated cruft.
3779         (bug #536126).
3780
3781 2008-05-31  Emmanuele Bassi  <ebassi@gnome.org>
3782
3783         Bug 535830 – wrong content type adding an item
3784
3785         * gtk/gtkrecentmanager.c:
3786         (gtk_recent_manager_add_item_query_info): Use the correct API
3787         for retrieving the fast MIME type of a URI. (Carlos Garcia
3788         Campos)
3789
3790 2008-05-31  Kristian Rietveld  <kris@imendio.com>
3791
3792         Bug 530146 - Setting non-string tooltip with
3793         gtk_tree_view_set_tooltip_column() segfaults
3794
3795         * gtk/gtktreeview.c (gtk_tree_view_set_tooltip_query_cb): use
3796         gtk_tree_model_get_value() and explicitly transform the value to a
3797         string before setting it as tooltip.
3798
3799 2008-05-30  Tor Lillqvist  <tml@novell.com>
3800
3801         * modules/engines/ms-windows/msw_style.h
3802         * modules/engines/ms-windows/msw_rc_style.h: Include gtk.h.
3803
3804 2008-05-30  Michael Natterer  <mitch@imendio.com>
3805
3806         * gtk/gtkmenu.c (get_attach_info): cast attach_info_free() to
3807         GDestroyNotify when using it in g_object_set_data_full().
3808
3809 2008-05-30  Michael Natterer  <mitch@imendio.com>
3810
3811         * gdk/gdkapplaunchcontext.h
3812         * gdk/gdktestutils.h
3813         * gtk/gtkmountoperation.h
3814         * gtk/gtkshow.h
3815         * gtk/gtktestutils.h
3816         * gtk/gtktoolshell.h: no need to allow disabling single includes
3817         conditionally in these new files. Simply forbid including them
3818         individually from the beginning.
3819
3820 2008-05-30  Tor Lillqvist  <tml@novell.com>
3821
3822         Bug 533108 - leak of GDI region in function 'handle_wm_paint'
3823
3824         * gdk/win32/gdkevents-win32.c (handle_wm_paint): Patch by Daniel
3825         Atallah.
3826
3827 2008-05-29  Matthias Clasen <mclasen@redhat.com>
3828
3829         * configure.in: Bump version 
3830
3831         * === Released 2.13.1 ===
3832
3833         * NEWS: Updates
3834
3835 2008-05-29  Matthias Clasen <mclasen@redhat.com>
3836
3837         * gtk/gtkwidget.c: s/2.16/2.14/ in Since tags
3838
3839 2008-05-29  Matthias Clasen <mclasen@redhat.com>
3840
3841         * tests/Makefile.am: Don't add testmountoperation to TEST_PROGS.
3842
3843 2008-05-29  Tor Lillqvist  <tml@novell.com>
3844
3845         Bug 535526 - updateiconcache.c: using open/close without prototype
3846
3847         * gtk/updateiconcache.c: Include <io.h> if _MSC_VER. Also, use
3848         g_utime() when available instead of utime() for UTF-8 pathname
3849         support on Windows.
3850
3851 2008-05-29  Jan Arne Petersen  <jpetersen@jpetersen.org>
3852
3853         Bug 56355 – GtkLabel - Not all changes propagate correctly
3854
3855         * gtk/gtklabel.c: (gtk_label_recalculate), (gtk_label_set_label),
3856         (gtk_label_set_markup_with_mnemonic), (gtk_label_parse_uline),
3857         (gtk_label_set_text_with_mnemonic), (gtk_label_set_use_underline):
3858         Call gtk_label_setup_mnemonic from gtk_label_recalculate. Add
3859         notifications of mnemonic-keyval changes.
3860
3861 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
3862
3863         Bug 522084 – GIcon support for GtkIconTheme & GtkImage
3864
3865         * gtk/gtkicontheme.[hc]: Add support for GIcon based lookups.
3866         * gtk/gtkimage.[hc]: Allow setting an image from a GIcon.
3867         * gtk/gtk.symbols: Additions
3868         * tests/testimage.c: Add a GIcon test
3869
3870 2008-05-29  Michael Natterer  <mitch@imendio.org>
3871
3872         * gtk/Makefile.am
3873         * gtk/gtkunixprint.h: add a single-include header for the unix
3874         print stuff.
3875
3876         * gtk/gtkpagesetupunixdialog.h
3877         * gtk/gtkprinter.h
3878         * gtk/gtkprintjob.h
3879         * gtk/gtkprintunixdialog.h: add single-include guards that #error
3880         out if GTK_DISABLE_SINGLE_INCLUDES is defined and any of these
3881         files is included individually.
3882
3883         * gtk/gtkprintbackend.h
3884         * gtk/gtkprinter-private.h
3885         * modules/printbackends/cups/gtkprintbackendcups.c
3886         * modules/printbackends/cups/gtkprintercups.h
3887         * modules/printbackends/lpr/gtkprintbackendlpr.c
3888         * tests/buildertest.c
3889         * tests/defaultvaluetest.c
3890         * docs/tools/widgets.c: include <gtk/gtkunixprint.h> instead of
3891         individual files.
3892
3893 2008-05-28  Michael Natterer  <mitch@imendio.com>
3894
3895         * gtk/gtk*.h: whitespace cleanup: remove trailing whitespace and
3896         excess newlines and sprinkled some newlines where needed. Zero
3897         code or formatting changes included.
3898
3899 2008-05-28  Michael Natterer  <mitch@imendio.com>
3900
3901         * gtk/gtkprinter.h: fix formatting of details_acquired() signal.
3902
3903 2008-05-28  Michael Natterer  <mitch@imendio.com>
3904
3905         * gtk/gtkcolorbutton.h: fix comment: the widget is called
3906         GtkColorButton, not GtkColorSelectButton. Remove trailing
3907         whitespace and excess newlines.
3908
3909 2008-05-28  Michael Natterer  <mitch@imendio.com>
3910
3911         * configure.in: last but not least, add G_DISABLE_SINGLE_INCLUDES,
3912         GDK_PIXBUF_DISABLE_SINGLE_INCLUDES and GTK_DISABLE_SINGLE_INCLUDES
3913         to CPPFLAGS so it's impossible to commit code that would break
3914         apps which use DISABLE_INCLUDE defines.
3915
3916 2008-05-28  Michael Natterer  <mitch@imendio.com>
3917
3918         * gtk/gtk.h: define __GTK_H_INSIDE__ around including all other
3919         headers.
3920
3921         * gtk/gtktypebuiltins.h.template
3922         * gtk/gtkversion.h.in
3923         * gtk/gtk*.h: add single-include guards that #error out if
3924         GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
3925         included individually.
3926
3927         * gtk/gtkprintbackend.h
3928         * gtk/gtkprinter-private.h
3929         * gtk/gtktextlayout.h
3930         * gtk/gtktexttagprivate.h
3931         * gtk/gtktexttypes.h
3932         * gtk/gtktreedatalist.h: include <gtk/gtk.h> instead of individual
3933         headers in these private or semi-private headers.
3934
3935         * gtk/gtkimmodule.h: also here because it's not in gtk.h.
3936
3937         * gtk/gtkpagesetupunixdialog.h
3938         * gtk/gtkprinter.h
3939         * gtk/gtkprintjob.h
3940         * gtk/gtkprintunixdialog.h: likewise in the gtkunixprint headers.
3941
3942         * gtk/gtkclist.h
3943         * gtk/gtkcombo.h
3944         * gtk/gtkctree.h
3945         * gtk/gtkfilesel.h
3946         * gtk/gtkitemfactory.h
3947         * gtk/gtklist.h
3948         * gtk/gtklistitem.h
3949         * gtk/gtkoldeditable.h
3950         * gtk/gtkoptionmenu.h
3951         * gtk/gtkpixmap.h
3952         * gtk/gtkpreview.h
3953         * gtk/gtksignal.h
3954         * gtk/gtktipsquery.h: whenever possible, include only <gtk/gtk.h>
3955         instead of individual headers in these deprecated headers. They
3956         don't get included at all when GTK_DISABLE_DEPRECATED is defined,
3957         so if an app needs them anyway, it must undef GTK_DISABLE_DEPRECATED
3958         and include them individually, which should continue to work.
3959
3960         * gtk/gtkclist.c: include "gtkctree.h" because of the change
3961         above.
3962
3963 2008-05-28  Kristian Rietveld  <kris@imendio.com>
3964
3965         Bug 449625 - crash in gtk_tree_view_real_move_cursor at
3966         gtktreeview.c:9641
3967
3968         * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down):
3969         cursor_offset *must* be larger than background height of the cursor
3970         node, not just equal otherwise there is no guarantee there is a next
3971         node.
3972
3973 2008-05-28  Michael Natterer  <mitch@imendio.com>
3974
3975         * gtk/gtktestutils.c: don't include <gdk/gdktestutils.h>.
3976
3977 2008-05-28  Michael Natterer  <mitch@imendio.com>
3978
3979         * gdk/gdk.h: define __GDK_H_INSIDE__ around including all other
3980         headers.
3981
3982         * gdk/gdkenumtypes.h.template
3983         * gdk/gdk*.h: add single-include guards that #error out if
3984         GTK_DISABLE_SINGLE_INCLUDES is defined and any of these files is
3985         included individually. Also removed some redundant includes and
3986         did some tiny trailing whitespace removal that's not worth to
3987         commit separately.
3988
3989         * gdk/gdkprivate.h: include <gdk/gdk.h> instead of individual
3990         files.
3991
3992         * gdk/win32/gdkwin32.h
3993         * gdk/x11/gdkx.h: only include <gdk/gdkprivate.h> and remove all
3994         other includes.
3995
3996 2008-05-28  Kristian Rietveld  <kris@imendio.com>
3997
3998         Bug 504087 - make gtk_tooltip_set_custom a no-op for setting the
3999         current widget again.
4000
4001         * gtk/gtktooltip.c (gtk_tooltip_set_custom),
4002         (gtk_tooltip_reset), (gtk_tooltip_run_requery): use a
4003         custom_was_reset field to check if the custom widget is set again in
4004         the query-tooltip callback; if not, we set it to NULL.  Based on a
4005         patch by Xavier Claessens, insightful comments from Jean-Yves Lefort
4006         and Christian Persch.
4007
4008 2008-05-28  Michael Natterer  <mitch@imendio.com>
4009
4010         * modules/printbackends/cups/gtkcupsutils.c
4011         * modules/printbackends/cups/gtkprintbackendcups.c
4012         * modules/printbackends/file/gtkprintbackendfile.c
4013         * modules/printbackends/lpr/gtkprintbackendlpr.c: include
4014         <gtk/gtk.h> instead of individual files.
4015
4016 2008-05-28  Michael Natterer  <mitch@imendio.com>
4017
4018         * demos/testpixbuf.c: include <gdk-pixbuf/gdk-pixbuf.h> instead of
4019         individual files.
4020
4021 2008-05-28  Kristian Rietveld  <kris@imendio.com>
4022
4023         Bug 498010 - gtk_tree_view_set_cursor fails if model!=NULL.
4024
4025         * gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): return if fail
4026         ->priv->tree != NULL.  Suggestion from Stefan Kost.
4027
4028 2008-05-28  Kristian Rietveld  <kris@imendio.com>
4029
4030         Bug 324282 - add selected signal to cell renderer combo.
4031
4032         * gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_class_init),
4033         (gtk_cell_renderer_combo_changed),
4034         (gtk_cell_renderer_combo_start_editing): add a new "changed" signal
4035         that will be emitted as soon as the combo box emitted changed and has
4036         an active iterator.  (Modified patch based on work by James
4037         Pelletier).
4038
4039         * gtk/gtkmarshalers.list: add marshaler.
4040
4041 2008-05-28  Kristian Rietveld  <kris@imendio.com>
4042
4043         Refactor expand/collapse timeout handling (amendment to bug 511217).
4044
4045         * gtk/gtktreeview.c (add_expand_collapse_timeout),
4046         (remove_expand_collapse_timeout): new functions, the remove function
4047         also clears expanded_collapsed_node,
4048         (cancel_arrow_animation): moved to be next to the add/remove timeout
4049         functions,
4050         (gtk_tree_view_unrealize),
4051         (gtk_tree_view_row_deleted),
4052         (gtk_tree_view_set_model),
4053         (cancel_arrow_animation),
4054         (gtk_tree_view_real_expand_row),
4055         (gtk_tree_view_real_collapse_row): use the new add/remove functions.
4056
4057 2008-05-28  Kristian Rietveld  <kris@imendio.com>
4058
4059         Amendment of bug 485218 - Strange warning encountered.
4060
4061         * gtk/gtktreemodelsort.[ch]
4062         (gtk_tree_model_sort_convert_child_iter_to_iter): return a boolean
4063         indication whether or not the conversion had succeeded.
4064
4065 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
4066
4067         Bug 509788 - GTK+ should use CUPS to set Postscript level of PS output
4068
4069         * modules/printbackends/cups/gtkprintbackendcups.c
4070         (cups_printer_create_cairo_surface): Fall back to PostScript level 2
4071         if the printer does not support level 3. Patch by Marek Kašík.
4072
4073 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
4074
4075         Bug 404571 - Scroll arrow backgrounds should be painted with different
4076         detail
4077
4078         * gtk/gtkmenu.c (gtk_menu_paint): Use "menu_scroll_arrow_up/down" 
4079         as detail when drawing scroll arrow backgrounds. Proposed by
4080         Tommi Komulainen.
4081         
4082 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
4083
4084         Bug 511217 - potential memory corruption after refreshing a tree_view
4085
4086         * gtk/gtktreeview.c (cancel_arrow_animation): Reset
4087         expanded_collapsed_node when canceling the animation.
4088         Patch by Nicholas Setton.
4089
4090 2008-05-28  Michael Natterer  <mitch@imendio.com>
4091
4092         * modules/input/gtkimcontextime.h
4093         * modules/input/gtkimcontextmultipress.h
4094         * modules/input/gtkimcontextthai.h
4095         * modules/input/gtkimcontextxim.h: include <gtk/gtk.h> instead of
4096         individual files.
4097
4098         * modules/input/gtkimcontextime.c
4099         * modules/input/gtkimcontextmultipress.c
4100         * modules/input/gtkimcontextxim.c
4101         * modules/input/imam-et.c
4102         * modules/input/imcedilla.c
4103         * modules/input/imcyrillic-translit.c
4104         * modules/input/iminuktitut.c
4105         * modules/input/imipa.c
4106         * modules/input/imti-er.c
4107         * modules/input/imti-et.c
4108         * modules/input/imviqr.c: ditto. Some minor cleanups like moving
4109         "gtk/gtkintl.h" to the end of includes.
4110
4111 2008-05-28  Michael Natterer  <mitch@imendio.com>
4112
4113         * modules/engines/pixbuf/pixbuf-style.h
4114         * modules/engines/pixbuf/pixbuf-rc-style.h: include <gtk/gtk.h>
4115         instead of individual files.
4116
4117 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
4118
4119         Bug 485218 - Strange warning encountered
4120
4121         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted):
4122         (gtk_tree_model_sort_convert_child_iter_to_iter):
4123         (gtk_tree_model_sort_build_level): Better warnings. Patch
4124         by Kristian Rietveld.
4125
4126 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
4127
4128         Bug 351910 - Search column setting lost
4129
4130         * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Clarify
4131         the docs. Patch by Matt Barnes.
4132
4133 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
4134
4135         Bug 477278 - avoid unnecessary pointer subtraction
4136
4137         * gtk/gtkaccelgroup.c (quick_accel_remove): Avoid pointer 
4138         subtraction that sparse complains about. Patch by Christian
4139         Persch.
4140
4141 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
4142
4143         Bug 106574 - Inconsistent increment behavior for gtkspinbutton
4144
4145         * gtk/gtkspinbutton.c (gtk_spin_button_real_value_change):
4146         Commit the entry text before doing an increment. Patch by
4147         Björn Lindqvist.
4148
4149 2008-05-27  Federico Mena Quintero  <federico@novell.com>
4150
4151         http://bugzilla.gnome.org/show_bug.cgi?id=533891 - Don't allow
4152         drag and drop from the file list into itself, as it doesn't make
4153         sense (it would just change the current folder).
4154
4155         * gtk/gtkfilechooserdefault.c (file_list_dest_targets): Use
4156         GTK_TARGET_OTHER_WIDGET so we don't DnD from the file list into
4157         itself.
4158
4159 2008-05-27  Michael Natterer  <mitch@imendio.com>
4160
4161         * gtk/gtksignal.h: move deprecated guards around everything,
4162         including includes and include guards (just as in all other
4163         deprecated files).
4164
4165 2008-05-27  Tor Lillqvist  <tml@novell.com>
4166
4167         * gtk/updateiconcache.c (build_cache): Use simpler mode for open()
4168         on Windows. (No S_I?GRP and S_I?OTH bits are defined in
4169         <sys/stat.h> on Windows, and the mode used in open() doesn't
4170         matter much as there are no rwxrwxrwx bits on Windows anyway.)
4171         Open file in binary mode. Passing "b" to fdopen() later isn't
4172         enough.
4173
4174 2008-05-27 10:33:41  Tim Janik  <timj@imendio.com>
4175
4176         * gtk/gtkwidget.c: guard gtk_widget_get_snapshot() against
4177         invalid or invisible widgets.
4178
4179 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
4180
4181         Bug 531008 – Crash in gtkprintunixdialog.c
4182
4183         * gtk/gtkprintunixdialog.c: Disconnect signal handlers when
4184         the dialog closes. Patch by Yevgen Muntyan.
4185
4186 2008-05-27  Matthias Clasen  <mclasen@redhat.com>
4187
4188         RH bug 248245: cups client printing from gnome applications fail
4189
4190         * modules/printbackends/cups/gtkprintbackendcups.c
4191         (gtk_print_backend_cups_print_stream): Specify the right server.
4192
4193 2008-05-27  Carlos Garnacho  <carlos@imendio.com>
4194
4195         * gtk/gtkfilechooserdefault.c (set_select_multiple): Enable
4196         rubberbanding when "select-multiple" is TRUE. Bug #446068.
4197
4198 2008-05-27  Carlos Garnacho  <carlos@imendio.com>
4199
4200         * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Enable
4201         correctly dialog buttons sensitivity when the anonymous option is
4202         enabled by default. Bug #531865.
4203
4204 2008-05-27  Carlos Garnacho  <carlos@imendio.com>
4205
4206         * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): Set
4207         password dialog modal and transient for the parent window also if it
4208         was specified in the constructor. Bug #531864.
4209
4210 2008-05-26  Richard Hult  <richard@imendio.com>
4211
4212         * gdk/quartz/gdkevents-quartz.c: (gdk_screen_get_setting): Try
4213         setting the default font, might need to tweak this.
4214
4215 2008-05-26  Michael Natterer  <mitch@imendio.com>
4216
4217         * examples/gtkdial/gtkdial.h
4218         * modules/input/gtkimcontextthai.h: use G_BEGIN/END_DECLS.
4219
4220 2008-05-26  Michael Natterer  <mitch@imendio.com>
4221
4222         * gtk/gtkimmodule.h: fix indentation.
4223
4224 2008-05-26  Michael Natterer  <mitch@imendio.com>
4225
4226         * gtk/gtkshow.h: include "gdk/gdk.h" instead of "gdk/gdkscreen.h"
4227
4228         * gtk/gtkshow.c: remove inclusion of single files from gdk/
4229
4230         Removed trailing whitespace in both files.
4231
4232 2008-05-26  Richard Hult  <richard@imendio.com>
4233
4234         Bug 530353 – Mac-like gtk_accelerator_get_label()
4235
4236         * gtk/gtkaccellabel.c: (gtk_accel_label_class_init),
4237         (append_keyval_symbol), (_gtk_accel_label_class_get_accelerator_label):
4238         On quartz, make gtk_accelerator_get_label() format a Mac-like
4239         string, using unicode characters for modifier keys, arrows, delete
4240         etc. Patch from Yevgen Muntyan.
4241
4242 2008-05-26  Richard Hult  <richard@imendio.com>
4243
4244         Bug 534869 – Length miscalculation in
4245         _gtk_quartz_get_selection_data_from_pasteboard
4246
4247         * gtk/gtkquartz.c: (_gtk_quartz_get_selection_data_from_pasteboard):
4248         Get the number of bytes, not the number of characters, patch from
4249         Yevgen Muntyan.
4250
4251 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
4252
4253         * gtk/gtkwidget.c: Some doc formatting fixes.
4254
4255 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
4256
4257         Bug 511163 – Remove pango_extents_to_pixels() calls
4258
4259         * gtk/gtkcellrenderertext.c (get_size): Use
4260         pango_layout_get_pixel_extents.
4261
4262         * configure.in: Bump Pango requirement to 1.20
4263
4264         * INSTALL.in: Update required versions
4265
4266 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
4267
4268         Bug 513811 – Use cairo_format_stride_for_width()
4269
4270         * gtk/gtkhsv.c (paint_ring, paint_triangle):
4271         * gdk/gdkcairo.c (gdk_cairo_set_source_pixbuf): Use
4272         cairo_format_stride_for_width, proposed by Behdad Esfahbod.
4273
4274         * configure.in: Bump cairo requirement to 1.6.0
4275
4276         * INSTALL.in: Update required versions
4277
4278 2008-05-26  Matthias Clasen  <mclasen@redhat.com>
4279
4280         * gtk/gtkshow.[hc]: Formatting fixes
4281
4282         * gtk/gtkmountoperation.c: Add docs
4283
4284 2008-05-25  Cody Russell  <bratsche@gnome.org>
4285
4286         Bug 507389 – use gslice for gtksettings
4287
4288         * gtk/gtksettings.c: Change from g_new0/g_free to use GSlice.
4289         Report and patch by Christian Persch.
4290
4291 2008-05-25  Cody Russell  <bratsche@gnome.org>
4292
4293         Bug 523562 - gtk-update-icon-cache core dumps when run concurrently and
4294         when options are missing
4295
4296         * gtk/updateiconcache.c: Open the cache file (O_CREAT | O_EXCL) so
4297         that other processes that try to open it will fail gracefully.  Also
4298         fix a crasher caused by lack of a NULL check.  Report and patch
4299         by Erwann Chenede.
4300
4301 2008-05-25  Cody Russell  <bratsche@gnome.org>
4302
4303         Bug 526635 - _gdk_window_get_toplevel handles FOREIGN windows
4304
4305         * gdk/x11/gdkwindow-x11.c (_gdk_window_get_toplevel): Check
4306         !WINDOW_IS_TOPLEVEL instead of checking for GDK_WINDOW_CHILD,
4307         so that we also take into account for foreign windows.
4308         Report and patch by Nathaniel Smith.
4309
4310 2008-05-25  Cody Russell  <bratsche@gnome.org>
4311
4312         Bug 525461 - Don't invalidate under an input-only child
4313
4314         * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child):
4315         Check that the window is not input-only before invalidating.
4316         Report and patch by Owen Taylor.
4317
4318 2008-05-25  Cody Russell  <bratsche@gnome.org>
4319
4320         Bug 524110 - Gdk should not assume reparenting WMs when retrieving
4321         window frame extents
4322
4323         * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents):
4324         Use _NET_FRAME_EXTENTS, if available.  Patch by Danny Baumann.
4325
4326 2008-05-25  Cody Russell  <bratsche@gnome.org>
4327
4328         Bug 522269 - Evince windows sometimes incorrectly unmaximized,
4329         caused by missing flag initialization
4330
4331         * gdk/x11/gdkwindow-x11.c (set_initial_hints): Initialize
4332         top-level private flags correctly.  Patch by Danny Baumann.
4333
4334 2008-05-25  Cody Russell  <bratsche@gnome.org>
4335
4336         Bug 534463 - non-editable GtkTextView should not call
4337         gtk_im_context_focus_in in focus event
4338
4339         * gtk/gtktextview.c: Add checks to see if the textview is
4340         editable.  Patch by Wang Diancheng.
4341
4342 2008-05-25  Matthias Clasen  <mclasen@redhat.com>
4343
4344         Bug 501730 – use GSlice for small allocs
4345
4346         * gtk/gtkmenuitem.c:
4347         * gtk/gtkmenu.c: Use the slice allocator for small allocations.
4348         Patch by Christian Persch.
4349         
4350 2008-05-25  Matthias Clasen  <mclasen@redhat.com>
4351
4352         Bug 523930 – sort -> search in gtktreeview.c
4353
4354         * gtk/gtktreeview.c (gtk_tree_view_set_search_column): Fix a doc
4355         glitch, pointed out by Björn Lindqvist.
4356
4357 2008-05-25  Matthias Clasen  <mclasen@redhat.com>
4358
4359         Bug 479384 – gtk_selection_data_targets_include_uri docs buglet
4360
4361         * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): Fix
4362         doc glitch, pointed out by Christian Persch.
4363
4364 2008-05-25  Matthias Clasen  <mclasen@redhat.com>
4365
4366         Bug 534694 – Col id in GtkListStore could be out of range
4367
4368         * gtk/gtkliststore.c (list_store_start_element): Fix up error handling
4369         a bit. Pointed out by Jan Arne Petersen.
4370
4371 2008-05-25  Matthias Clasen  <mclasen@redhat.com>
4372
4373         Bug 532497 – Configure problem when cross-compiling
4374
4375         * configure.in: Use AC_CHECK_TOOLS to find C++ compiler, 
4376         pointed out by Marko Lindqvist.
4377
4378 2008-05-25  Richard Hult  <richard@imendio.com>
4379
4380         * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
4381         Slight coding style cleanup.
4382
4383 2008-05-25  Tristan Van Berkom <tvb@gnome.org>
4384
4385         * gtk/gtkbuilderprivate.h, gtk/gtkbuilder.h, gtk/gtkbuilderparser.c:
4386         Added support for parsing required toolkit versions (so that ui descriptions
4387         can target specific versions of the backend widget libraries) bug 527612.
4388
4389         * gtk/docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
4390         for the added xml tags to the ui description.
4391
4392         * tests/buildertest.c: Enhanced pango attribute tests, Added tests
4393         for requires tag handling.
4394
4395 2008-05-25  Richard Hult  <richard@imendio.com>
4396
4397         * gtk/gtkdnd-quartz.c: (gtk_drag_drop_finished): Run
4398         gtk_drag_source_info_destroy in an idle, workaround for bug
4399         #501588, that makes any code that uses the context returned from
4400         gtk_drag_begin() crash, like treeview/iconview dnd.
4401         (GdkDragSourceOwner::provideDataForType): only use the data if we
4402         got any.
4403
4404 2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
4405
4406         * gtk/gtkfilechooserdefault.c: (create_file_list): Add GDK_ACTION_MOVE
4407         to the drag actions to allow trash (#137717).
4408
4409 2008-05-25  Josselin Mouette  <joss@malsain.org>
4410
4411         reviewed by: Matthias Clasen
4412
4413         * gtk/gtksearchenginetracker.c: (_gtk_search_engine_tracker_new):
4414         check that tracker is actually working before using it. Fixes
4415         bug #479197.
4416
4417 2008-05-25  Sven Neumann  <sven@gimp.org>
4418
4419         * gtk/gtkdrawingarea.c (gtk_drawing_area_realize)
4420         (gtk_drawing_area_size_allocate): respect the GTK_NO_WINDOW flag
4421         and don't create an output window if it is set.
4422
4423         * gtk/gtkprintunixdialog.c: set the GTK_NO_WINDOW flag for the
4424         drawing areas. Fixes bug #519317.
4425
4426 2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
4427
4428         * gtk/gtkentry.c: (gtk_entry_class_init), (get_text_area_size),
4429         (gtk_entry_get_text_area_size), (gtk_entry_draw_frame):
4430         * gtk/gtkentry.h:
4431         * gtk/gtkspinbutton.c: (gtk_spin_button_class_init),
4432         (gtk_spin_button_realize), (gtk_spin_button_size_allocate),
4433         (gtk_spin_button_expose), (gtk_spin_button_draw_arrow),
4434         (gtk_spin_button_enter_notify), (gtk_spin_button_leave_notify),
4435         (gtk_spin_button_grab_notify), (gtk_spin_button_state_changed),
4436         (start_spinning), (gtk_spin_button_button_release),
4437         (gtk_spin_button_motion_notify), (gtk_spin_button_value_changed),
4438         (gtk_spin_button_get_text_area_size), (gtk_spin_button_real_spin),
4439         (gtk_spin_button_update): Reorder strange window hierarchy of the
4440         GtkSpinButton (#466000).
4441
4442 2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
4443
4444         * gtk/gtklabel.c: (get_layout_location): Subtract logical.x from x to
4445         fix the wrong position for right and center justified labels with
4446         logical.x > 0 (#530255).
4447
4448 2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
4449
4450         * gtk/gtkfilechooserdefault.c:
4451         (shortcuts_activate_volume_mount_cb): Ignore G_IO_ERROR_FAILED_HANDLED
4452         errors (#532262).
4453
4454 2008-05-25  Björn Lindqvist  <bjourne@gmail.com>
4455
4456         * tests/pixbuf-lowmem.c
4457         * tests/pixbuf-random.c
4458         * tests/pixbuf-randomly-modified.c
4459         * tests/pixbuf-read.c
4460         * tests/pixbuf-threads.c
4461         * tests/testgtk.c
4462         * tests/testtreeview.c: Fix remaining compiler warnings in these
4463         files (#523751).
4464
4465 2008-05-25  Jaap A. Haitsma  <jaap@haitsma.org>
4466
4467         reviewed by: Matthias Clasen
4468
4469         * gtk/Makefile.am:
4470         * gtk/gtk.h:
4471         * gtk/gtk.symbols:
4472         * gtk/gtkshow.c: (gtk_show_uri):
4473         * gtk/gtkshow.h:
4474         Add gtk_show_uri to make showing uris really easy. Fixes bug #514396
4475
4476 2008-05-25  Jan Arne Petersen  <jpetersen@jpetersen.org>
4477
4478         * gtk/gtkliststore.c: (list_store_text): Use type of the correct
4479         column (#529535).
4480         * tests/buildertest.c: (test_list_store): Add test.
4481
4482 2008-05-24  Matthias Clasen  <mclasen@redhat.com>
4483
4484         Bug 520989 – icon factory buildable too strict
4485
4486         * gtk/gtkiconfactory.c (icon_source_start_element): Make filename
4487         an optional attribute.
4488
4489 2008-05-24  Matthias Clasen  <mclasen@redhat.com>
4490
4491         Bug 387972 – gtkassistant drawing problem
4492
4493         * gtk/gtkassistant.c (gtk_assistant_size_allocate): Make 
4494         GtkAssistant work better in glade. 
4495
4496 2008-05-24  Jan Arne Petersen  <jpetersen@jpetersen.org>
4497
4498         * gtk/gtktoolbar.c: (gtk_toolbar_class_init): Change defaults of child
4499         properties "expand" and "homogeneous" from TRUE to FALSE (as they are
4500         used in GtkToolItem) (#532787).
4501
4502 2008-05-24  Jan Arne Petersen  <jpetersen@jpetersen.org>
4503
4504         * gtk/gtkfilechooserdefault.c: (location_toggle_popup_handler): Don't
4505         try to toggle the visibility of the location entry field in search and
4506         recent mode (#526422).
4507
4508 2008-05-24  Jan Arne Petersen  <jpetersen@jpetersen.org>
4509
4510         * gtk/gtkfilechooserdefault.c: (shortcuts_query_tooltip_cb),
4511         (shortcuts_list_create): Show parse name as tooltip for path
4512         shortcuts (#137503).
4513
4514 2008-05-24  Björn Lindqvist  <bjourne@gmail.com>
4515
4516         * gdk/gdkcolor.c (gdk_color_parse): Update docstring to match
4517         pango_color_parse, do not reference XParseColor forms (#434991).
4518
4519 2008-05-24  James Sharpe <jsharpe@gnome.org>
4520
4521         * gdk/gdk.symbols: Remove duplicate
4522         gdk_window_redirect_to_drawable and gdk_window_remove_redirection
4523         * gtk/gtk.symbols: Remove duplicate gtk_widget_get_snapshot
4524         
4525 2008-05-23  Hans Breuer  <hans@breuer.org>
4526
4527         * **/makefile.msc gtk/makefile.msc.in : updated
4528         * gtk/gtkwidget.c : fix c99ism (variable at start of block
4529         * gdk/gdk.symbols gtk/gtk.symbols : export functions for window 
4530         redirection
4531         * gtk/gtkfilechooserdefault.c : #include <locale.h> for 
4532         setlocale(LC_ALL, ...)
4533
4534 2008-05-23  Tor Lillqvist  <tml@novell.com>
4535
4536         * gdk/gdk.symbols: Add gdk_window_redirect_to_drawable and
4537         gdk_window_remove_redirection.
4538
4539         * gdk/win32/gdkwindow-win32.c (_gdk_window_new)
4540         (_gdk_window_reparent): Rename to adapt to the offscreen rendering
4541         changes. Remove now unnecessary parameter checks as the caller
4542         does that already.
4543
4544         * gtk/gtk.symbols: Add gtk_widget_get_snapshot.
4545
4546 2008-05-23  Tor Lillqvist  <tml@novell.com>
4547
4548         * gdk/win32/gdkwindow-win32.c (update_style_bits): Don't do
4549         anything if style doesn't change. Improve debugging output.
4550
4551 2008-05-23  Michael Natterer  <mitch@gimp.org>
4552
4553         * perf/widgets.h
4554         * tests/print-editor.c
4555         * tests/prop-editor.h
4556         * tests/testmountoperation.c
4557         * tests/testmultidisplay.c
4558         * tests/testnouiprint.c
4559         * tests/testprint.c
4560         * tests/testprintfileoperation.h
4561         * tests/testtreesort.c
4562         * tests/textbuffertest.c: include <gtk/gtk.h> instead of single
4563         files. Remove some redundant includes.
4564
4565 2008-05-22  Hiroyuki Ikezoe  <poincare@ikezoe.net>
4566
4567         * gtk/gtksockget.c: (gtk_socket_realize): Remove second call of
4568         GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED).
4569
4570 2008-05-21  Richard Hult  <richard@imendio.com>
4571
4572         * gdk/quartz/gdkwindow-quartz.c:
4573         (_gdk_window_new), (_gdk_window_reparent): Renamed to adapt to the
4574         offscreen rendering changes, fixes build.
4575
4576 2008-05-21 21:10:15  Tim Janik  <timj@imendio.com>
4577
4578         * gtk/gtkwidget.h: added GdkRectangle *clip_rect to gtk_widget_get_snapshot().
4579
4580         * gtk/gtkwidget.c: clip the returned snapshot pixmap to clip_rect.
4581         return snapshot pixmap coordinates widget relative in *clip_rect.
4582
4583         * tests/testgtk.c: fixed bogus NULL pointer unref.
4584
4585 2008-05-21 21:04:28  Tim Janik  <timj@imendio.com>
4586
4587         * gtk/gtkwidget.c gtk_widget_get_snapshot(): grow snapshot area from
4588         widget's allocation to cover extra widget windows placed outside the
4589         widget allocation (spinbutton arrows are the prime example for this).
4590
4591 2008-03-18 10:49:20  Tim Janik  <timj@imendio.com>
4592
4593         * Applied pixmap redirection patch by Alexander Larsson with
4594         various updates from:
4595         Bug 318807 – Offscreen windows and window redirection.
4596
4597
4598         Updates:
4599
4600         * updated docs to mention "Since 2.16".
4601
4602         * tests/testgtk.c: fixed snapshooting pixmap leak.
4603         convert pixmap to pixbuf after snapshooting, to compensate for different
4604         bit depths (occurs when snapshooting ARGB visuals and displaying the
4605         pixmap in an RGB visual).
4606
4607         * gdk/gdkwindow.[hc]: made GdkWindowRedirect private.
4608
4609         * gdk/gdkwindow.c: removed damage idle handler, there's no aparent
4610         need for it. enqueue damage notification as GDK_DAMAGE events
4611         for each painting redirection at the start of the event queue.
4612         consider windows with a redirection fully visible when invalidating,
4613         and when updating from backing store. cleaned up stale variables.
4614
4615         * gdk/gdkevents.c: added _gdk_event_queue_prepend().
4616
4617         * gtk/gtkwidget.c: fixed coordinates for !NO_WINDOW widgets in
4618         gtk_widget_get_snapshot; this fixes garbage snap offsets for gammacurve,
4619         tree, drawingarea, text, handlebox, etc.
4620         clip the redirected window hierarchy to window sizes, the visible
4621         rectangles don't need to be taken into account here.
4622         extended snapshooting docs to recommend gdk_pixbuf_get_from_drawable()
4623         in case pixmap visuals could mismatch.
4624
4625         * gdk/x11/gdkwindow-x11.c: removed _gdk_windowing_window_get_visible_rect().
4626
4627
4628         Base patch:
4629
4630         * tests/testgtk.c: add a "Snapshot" test to demonstrate snapshooting
4631         of possibly obscured widgets into an offscreen pixmap.
4632
4633         * gtk/gtkwidget.[hc]: add GtkWidget::damage-event signal, add
4634         gtk_widget_get_snapshot() to render a widget's contents to a GdkPixmap.
4635
4636         * gtk/gtkmain.c: dispatch GDK_DAMAGE events.
4637
4638         * gdk/gdkwindow.c: moved outer gdk_window_new() and gdk_window_reparent()
4639         implementations here, adapted them to propagate redirects to child windows.
4640         gdk_window_end_paint(): copy repainted window contents to redirection pixmap,
4641         clipped to visible region. queue GDK_DAMAGE event delivery.
4642         gdk_window_redirect_to_drawable(): install window painting redirection.
4643         gdk_window_remove_redirection(): remove previously installed redirection.
4644
4645         * gdk/x11/gdkwindow-x11.c: added _gdk_windowing_window_get_visible_rect(),
4646         renamed _gdk_window_new() and _gdk_window_reparent().
4647
4648         * gdk/gdkwindow.h: added GdkWindowRedirect* to GdkWindowObject, export
4649         gdk_window_redirect_to_drawable() and gdk_window_remove_redirection().
4650
4651         * gdk/gdkevents.h: added GDK_DAMAGE event type.
4652
4653         * gdk/gdkevents.c: extract time and state from GDK_DAMAGE events.
4654
4655         * gdk/gdkinternals.h: added internal prototypes.
4656
4657 2008-05-21  Michael Natterer  <mitch@imendio.com>
4658
4659         * gtk/gtkalignment.c
4660         * gtk/gtkarrow.c
4661         * gtk/gtkbbox.c
4662         * gtk/gtkcalendar.c
4663         * gtk/gtkscrolledwindow.c: remove PROP_LAST enum values.
4664
4665 2008-05-20  Matthias Clasen  <mclasen@redhat.com>
4666
4667         RH bug 204621 - "GtkPrint" asks for "Letter" size paper when "A4" size
4668         was chosen
4669
4670         Patch by Marek Kasik.
4671
4672         * gtk/gtk.symbols:
4673         * gtk/gtkprinter.[hc]: Add gtk_printer_get_default_page_size.
4674         
4675         * gtk/gtkprintbackend.[hc]: Add fallback implementation.
4676
4677         * modules/printbackends/file/gtkprintbackendfile.c:
4678         * modules/printbackends/cups/gtkprintbackendcups.c: Implement
4679         get_default_page_size.
4680
4681         * gtk/gtkpagesetupunixdialog.c: When selecting a different printer,
4682         select its default paper size.
4683
4684         * gtk/gtkprintunixdialog.c: If no explicit page setup has been set,
4685         use the printer default.
4686
4687         * gtk/gtkprintoperation-unix.c: Don't create an empty page setup
4688         if we don't have a default page setup.
4689
4690 2008-05-20  Gian Mario Tagliaretti  <gianmt@gnome.org>
4691
4692         * gtk/gtkdnd.c: (gtk_drag_set_icon_pixmap): Fix the docs, the mask param
4693         can accept NULL for none. Fixes bug #533920.
4694
4695 2008-05-20  Björn Lindqvist  <bjourne@gmail.com>
4696
4697         * gtk/gtkspinbutton.c: (gtk_spin_button_snap,
4698         gtk_spin_button_update): Remove two chunks of duplicated
4699         code (#533733).
4700
4701 2008-05-20 14:27:34  Tim Janik  <timj@imendio.com>
4702
4703         * reverted recent unapproved changes by Yair Hershkovitz,
4704         regarding: Bug 503071 – Application direction changes to right
4705         to left even if theres no translation.
4706
4707 2008-05-19  Richard Hult  <richard@imendio.com>
4708
4709         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_hide),
4710         (gdk_window_fullscreen), (gdk_window_unfullscreen): Use
4711         SetSystemUIMode instead of hiding and showing the menubar.
4712
4713 2008-05-19  Federico Mena Quintero  <federico@novell.com>
4714
4715         http://bugzilla.gnome.org/show_bug.cgi?id=322298 - Save dialog
4716         can't be resized until you expand the "Browse for other folders"
4717         section.
4718
4719         * gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
4720         Removed the "get_resizable" method.
4721         (_gtk_file_chooser_embed_get_resizable): Removed.
4722
4723         * gtk/gtkfilechooserembed.c: Removed the _get_resizable() machinery.
4724
4725         * gtk/gtkfilechooserdefault.c: Likewise.
4726
4727         * gtk/gtkfilechooserdialog.c
4728         (file_chooser_widget_default_size_changed): Act as if the dialog
4729         were always resizable.
4730
4731 2008-05-19  Michael Natterer  <mitch@imendio.com>
4732
4733         * gtk/gtkcellrenderer.c
4734         * gtk/gtkcellrendererpixbuf.c
4735         * gtk/gtkcellrenderertoggle.c
4736         * gtk/gtkimagemenuitem.c
4737         * gtk/gtkmenutoolbutton.c
4738         * gtk/gtkoptionmenu.c
4739         * gtk/gtkstatusbar.c
4740         * gtk/gtktextview.c: s/PROP_ZERO/PROP_0/g, remove LAST_PROP.
4741
4742 2008-05-17  Yair Hershkovitz  <yairhr@gmail.com>
4743
4744         * gtk/gtkmain.c: gtk_disable_setlocale() - Added a call to
4745         g_disable_setlocale().
4746
4747 2008-05-17  Richard Hult  <richard@imendio.com>
4748
4749         * gdk/quartz/gdkwindow-quartz.c:
4750         (gdk_window_impl_quartz_invalidate_maybe_recurse):
4751         (gdk_window_quartz_update_idle): Use gdk_threads_add_idle instead
4752         of g_idle_add. Add a temporary check if the window is already in
4753         the updates list, since update_area currently doesn't always match
4754         the backend's state, see bug #530801.
4755
4756 2008-05-13  Tor Lillqvist  <tml@novell.com>
4757
4758         Bug 496958 - Wacom Bamboo doesn't function with GTK apps in Win32
4759
4760         * gdk/win32/gdkinput-win32.c (_gdk_input_wintab_init_check): Set
4761         the "packet rate" of devices to zero instead of 50. This is
4762         reported to help significantly with Wacom tablet behaviour in GIMP
4763         and Inkscape. Patch from Thomas Bleeker.
4764
4765 2008-05-12  Richard Hult  <richard@imendio.com>
4766
4767         * gdk/quartz/gdkevents-quartz.c:
4768         * gdk/quartz/gdkquartz.h: Remove special casing of menu key events
4769         as it's no longer necessary; instead the added quartz API to get
4770         the nsevent from an event should be used. Also move the global
4771         filter up so it's done before the check for window-less events.
4772
4773 2008-05-12  Tor Lillqvist  <tml@novell.com>
4774
4775         Bug 532558 - Cannot build dll when using separate builddir
4776
4777         * gdk/Makefile.am
4778         * gtk/Makefile.am: .def file belongs in $(srcdir). Patch by Marko
4779         Lindqvist.
4780
4781 2008-05-12  Yair Hershkovitz  <yairhr@gmail.com>
4782
4783         * gtk/gtkmain.c: g_i18n_init(); -> g_i18n_init ();
4784
4785 2008-05-12  Tor Lillqvist  <tml@novell.com>
4786
4787         Bug 532059 - Leak in win32 clipboard manipulation
4788
4789         * gdk/win32/gdkselection-win32.c
4790         (gdk_win32_selection_add_targets): Plug memory leak. Patch by
4791         Daniel Atallah.
4792
4793 2008-05-11  Yair Hershkovitz  <yairhr@gmail.com>
4794
4795         * gtk/gtkmain.c: call g_i18n_init() in gettext_initialization(). do
4796         gettext_initialization only once.
4797
4798         *  gtk/gtkbuilderparser.c: use glib i18n api. removed dpgettext() as it
4799         duplicates g_dpgettext() and added _g_dpgettext() to wrap g_dpgettext 
4800         with the extended functionality that was in the removed dpgettext().
4801
4802         * gtk/gtkaccellabelc:
4803         * gtk/gtkstock.c:
4804         * gtk/gtkimmulticontext.c:
4805         * gtk/gtkactiongroup.c:
4806         * gtk/gtkintl.h: use glib i18n api.
4807
4808 2008-05-08  Richard Hult  <richard@imendio.com>
4809
4810         * gdk/quartz/gdkgeometry-quartz.c (gdk_window_scroll): Move the
4811         currently invalidated region. Fixes bug #532048, patch by Yevgen
4812         Muntyan.
4813
4814 2008-05-08  Richard Hult  <richard@imendio.com>
4815
4816         * gdk/quartz/gdkeventloop-quartz.c (poll_func): Only set the fake
4817         fd's revents, not the first one. Fixes bug #531056, spotted by
4818         Yevgen Muntyan.
4819
4820 2008-05-07  Tor Lillqvist  <tml@novell.com>
4821
4822         * gtk-zip.sh.in: Add gtk-update-icon-cache.exe and more man pages
4823         to the dev zipfile.
4824
4825 2008-05-05  Matthias Clasen  <mclasen@redhat.com>
4826
4827         Apply a patch by Marek Kasik <mkasik@redhat.com> to display
4828         more printer status information in the print dialog. 
4829
4830         * modules/printbackends/cups/gtkprintbackendcups.c: Translate
4831         printer-state-reasons into suitable messages and icons.
4832
4833         * gtk/stock-icons/16/gtk-print-error.{svg,png}:
4834         * gtk/stock-icons/16/gtk-print-report.{svg,png}:
4835         * gtk/stock-icons/16/gtk-print-warning.{svg,png}:
4836         * gtk/Makefile.am: 
4837         * gtk/gtkiconfactory.c:
4838         * gtk/gtkstock.h: New stock icons to display printer state.
4839
4840 2008-05-07  Michael Natterer  <mitch@imendio.com>
4841
4842         * gdk/gdkinternals.h
4843         * gdk/gdkevents.c
4844         * gdk/directfb/gdkevents-directfb.c
4845         * gdk/quartz/gdkevents-quartz.c
4846         * gdk/win32/gdkevents-win32.c
4847         * gdk/x11/gdkevents-x11.c (_gdk_windowing_event_data_copy):
4848         order parameters src,dest and make src const.
4849
4850 2008-05-06  Richard Hult  <richard@imendio.com>
4851
4852         * gdk/gdkevents.c: (gdk_event_copy), (gdk_event_free):
4853         * gdk/gdkinternals.h: Add private backend data to events, and
4854         handle it when copying/freeing events. Currently only needed in
4855         the quartz backend.
4856
4857         * gdk/directfb/gdkevents-directfb.c:
4858         * gdk/quartz/gdkevents-quartz.c:
4859         * gdk/win32/gdkevents-win32.c:
4860         * gdk/x11/gdkevents-x11.c: (_gdk_windowing_event_data_copy)
4861         (_gdk_windowing_event_data_free): Add stubs for X11, win32 and
4862         directfb. Implement for quartz. Part of fixing bug #473822.
4863
4864 2008-05-05  Richard Hult  <richard@imendio.com>
4865
4866         * gdk/quartz/gdkmain-quartz.c (_gdk_windowing_init): Initalize
4867         framework if there is one.
4868
4869 2008-05-05  Michael Natterer  <mitch@imendio.com>
4870
4871         * gtk/gtkcellrenderercombo.h
4872         * gtk/gtkcellrendererspin.h
4873         * gtk/gtkfilechooserbutton.h: style cleanups for the sake of
4874         consistency.
4875
4876         * gtk/gtkfilechooserdialog.h
4877         * gtk/gtkfilechooserwidget.h
4878         * gtk/gtkscalebutton.h: reorder instance and class structs to be
4879         in canonical order.
4880
4881 2008-05-04  Richard Hult  <richard@imendio.com>
4882
4883         * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Check if
4884         gdk_unicode_to_keyval() worked before using the result. Makes
4885         function keys work, bug #530156. Also add F16 to the function key
4886         map.
4887
4888 2008-05-04  Richard Hult  <richard@imendio.com>
4889
4890         * gdk/quartz/gdkkeys-quartz.c (maybe_update_keymap): Remove stray
4891         semicolon after if statement. Fixes bug #530963, patch from Yevgen
4892         Muntyan.
4893
4894 2008-05-02  Michael Natterer  <mitch@imendio.com>
4895
4896         * gtk/gtk.h: add 15 files that were missing (they all got included
4897         indirectly by including gtk.h, so should have been here in the
4898         first place).
4899
4900 2008-05-02  Michael Natterer  <mitch@imendio.com>
4901
4902         * modules/input/imthai.c: use GETTEXT_PACKAGE instead of "gtk20".
4903
4904 2008-05-01  Richard Hult  <richard@imendio.com>
4905
4906         * gtk/gtkquartz.c (_gtk_quartz_set_selection_data_for_pasteboard):
4907         Prevent crash, fixes bug #530153. Patch from Yevgen Muntyan.
4908
4909 2008-05-01  Matthias Clasen  <mclasen@redhat.com>
4910
4911         * modules/imput/imthai.c: Register the right translation domain.
4912
4913 2008-04-30  Matthias Clasen  <mclasen@redhat.com>
4914
4915         Bug 529386 – Printing options hidden by blacklisted option
4916
4917         * modules/printbackend/cups/gtkprintbackendcups.c
4918         (cups_printer_get_options): Fix the blacklist handling. 
4919         Patch by Marek Kašík.
4920         
4921 2008-04-30  Richard Hult  <richard@imendio.com>
4922
4923         * gdk/quartz/GdkQuartzView.c: Simplify check for zero sized expose
4924         area.
4925
4926 2008-04-30  Richard Hult  <richard@imendio.com>
4927
4928         * gdk/quartz/gdkevents-quartz.c: (_gdk_events_queue): Don't send
4929         nsevents with the gdk lock held, fixes deadlock when doing manual
4930         window resizing with threading enabled.
4931
4932 2008-04-30  Richard Hult  <richard@imendio.com>
4933
4934         * gdk/quartz/gdkevents-quartz.c:
4935         (get_keyboard_modifiers_from_ns_event), (create_key_event): Map
4936         Alt to Alt and Cmd to Meta. This is not only more logical but also
4937         makes it easier to have Mac-like behavior.
4938
4939 2008-04-25  Björn Lindqvist  <bjourne@gmail.com>
4940
4941         * gtk/gtkentry.c: (gtk_entry_expose) Use existing window size when
4942         painting the flat box instead of recalculating it. (#437493,
4943         Ricardo Cruz)
4944
4945 2008-04-25  Michael Emmel  <mike.emmel@gmail.com>
4946
4947         Bug 529841 – incorrect position in directfb 
4948
4949         * gdk/directfb/gdkwindow-directfb.c: fix y = abs_x 
4950
4951 2008-04-25  Johan Dahlin  <jdahlin@async.com.br>
4952
4953         * gtk/gtkwidget.h: include <atk/atk.h> instead of <atk/atkobject.h>
4954
4955 2008-04-25  Michael Natterer  <mitch@imendio.com>
4956
4957         * gtk/gtkprintcontext.h: include <pango/pango.h> instead of
4958         <pango/pango-layout.h>.
4959
4960         * gtk/gtkiconfactory.c
4961         * gtk/gtkimmodule.c
4962         * gtk/gtkmain.c
4963         * gtk/gtkmodules.c
4964         * gtk/queryimmodules.c: remove inclusion of single files from
4965         pango, none of them was actually needed.
4966
4967         * modules/input/gtkimcontextime.c: include <pango/pango.h> instead of
4968         <pango/pango-utils.h>.
4969
4970 2008-04-25  Michael Natterer  <mitch@imendio.com>
4971
4972         * gdk/gdkfont.h: include <pango/pango.h> instead of
4973         <pango/pango-font.h>.
4974
4975 2008-04-25  Michael Natterer  <mitch@imendio.com>
4976
4977         * gtk/gtkmountoperation.h: include <gdk/gdk.h> instead of
4978         <gdk/gdkscreen.h>.
4979
4980 2008-04-21  Michael Natterer  <mitch@imendio.com>
4981
4982         * gtk/gtkselection.c: add tons of g_return_if_fail() instead of
4983         crashing when NULL pointers get passed.
4984
4985 2008-04-18  Michael Natterer  <mitch@imendio.com>
4986
4987         * gtk/gtkenums.h: move a few '{' to their own lines so all enums
4988         here have the same style.
4989
4990 2008-04-18  Michael Natterer  <mitch@imendio.com>
4991
4992         * gtk/gtkicontheme.h
4993         * gtk/gtkrecentmanager.h: include <gdk/gdk.h> instead of
4994         <gdk/gdkscreen.h>.
4995
4996         * gtk/gtkbuilderparser.c
4997         * gtk/gtklinkbutton.c
4998         * gtk/gtkpreview.c
4999         * gtk/gtkrecentchooserdefault.c
5000         * gtk/gtkrecentchoosermenu.c
5001         * modules/input/gtkimcontextthai.c: remove inclusion of single
5002         files from gdk, none of the includes was actually needed.
5003
5004 2008-04-18  Michael Natterer  <mitch@imendio.com>
5005
5006         * gdk/gdk.h: reorder one include so they are all alphabetical.
5007
5008 2008-04-18  Michael Natterer  <mitch@imendio.com>
5009
5010         * modules/printbackends/cups/gtkprintercups.[ch]
5011         (gtk_printer_cups_get_ppd_name): change return value and local
5012         variable to const gchar* to fix warning about discarding const
5013         qualifier.
5014
5015 2008-04-18  Emmanuele Bassi  <ebassi@gnome.org>
5016
5017         * gtk/gtkrecentmanager.c:
5018         (gtk_recent_manager_set_filename): Keep the default storage
5019         file in $HOME, as we don't have a migration code in place yet.
5020
5021 2008-04-18  Michael Natterer  <mitch@imendio.com>
5022
5023         * gtk/gtkrecentmanager.c (gtk_recent_manager_clamp_to_age):
5024         g_strfreev() the uris returned by g_bookmark_file_get_uris().
5025
5026 2008-04-17  Michael Natterer  <mitch@imendio.com>
5027
5028         * gtk/gtkiconfactory.c (get_default_icons): register the
5029         GTK_STOCK_PAGE_SETUP icon.
5030
5031 2008-04-17  Michael Natterer  <mitch@imendio.com>
5032
5033         * gtk/gtktooltips.c (gtk_tooltips_destroy): no need to
5034         g_return_if_fail(tooltips != NULL);
5035
5036 2008-04-16  Tristan Van Berkom <tvb@gnome.org>
5037
5038         * gtk/gtkwindow.c: Chain up in buildable_finish()
5039
5040         * gtk/gtkbuilder.c: _gtk_builder_get_absolute_filename() handle
5041         cases where g_path_get_dirname() returns "."
5042
5043         * docs/reference/gtk/tmpl/gtklabel.sgml, 
5044         docs/reference/gtk/tmpl/gtkbuilder.sgml: Added documentation
5045         for the <attributes> tags on GtkLabel
5046
5047 2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
5048
5049         * gtk/gtkrecentmanager.c:
5050         (gtk_recent_manager_real_changed): Fix last commit, and
5051         complete the gtk-recent-files-max-age semantics: if the
5052         property is set to 0 then purge the list.
5053
5054 2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
5055
5056         Bug 488507 – boundless growth of .recently-used.xbel file
5057         slows down applications
5058
5059         * gtk/gtkrecentmanager.c:
5060         (gtk_recent_manager_init),
5061         (gtk_recent_manager_real_changed),
5062         (gtk_recent_manager_set_filename),
5063         (gtk_recent_manager_clamp_to_age): Clamp the recently
5064         used resources list by the age of its items, using
5065         the newly added GtkSettings property.
5066
5067         * gtk/gtksettings.c (gtk_settings_class_init): Add the
5068         gtk-recent-files-max-age property, controlling the
5069         maximum age of the items in the recently used resources
5070         list.
5071
5072 2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
5073
5074         * gtk/gtkrecentmanager.c:
5075         (gtk_recent_manager_add_item_query_info),
5076         (gtk_recent_manager_add_item): Emit the ::changed signal
5077         at the end of the asynchronous MIME type query.
5078
5079 2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
5080
5081         Bug 487375 – gtkrecent apps poll ~/.recently-used.xbel
5082         every 5 seconds
5083
5084         * gtk/gtkrecentmanager.c: Use GFileMonitor to check for
5085         changes in the recently used resources storage file, and
5086         drop the timeout-based poll.
5087
5088         * ChangeLog: Fix attribution of the patch of the previous
5089         commit.
5090
5091 2008-04-15  Emmanuele Bassi  <ebassi@gnome.org>
5092
5093         Bug 506062 – gtk_recent_manager_add_item does not detect mime
5094         type on Windows
5095
5096         * configure.in: Depend on gio-2.0
5097
5098         * gtk/gtkrecentmanager.c:
5099         (gtk_recent_manager_add_item_query_info_cb),
5100         (gtk_recent_manager_add_item): Use GIO to (asynchronously)
5101         query the MIME type of the passed URI (based on a patch by
5102         Armin Burgmeier)
5103
5104 2008-04-11  Carlos Garnacho  <carlos@imendio.com>
5105
5106         * gtk/gtkassistant.c (gtk_assistant_set_current_page): Add current
5107         page to visited page list instead of next current page. (#527466,
5108         patch by Marcus Brinkmann)
5109
5110 2008-04-11  Tristan Van Berkom <tvb@gnome.org>
5111
5112         * gtk/gtklabel.c: Added <attributes> / <attribute>
5113         custom tags to parse pango attributes into labels (#527486).
5114
5115         * tests/buildertest.c: Added tests for GtkLabel custom
5116         tag parsing.
5117
5118 2008-04-10  Carlos Garnacho  <carlos@imendio.com>
5119
5120         * gtk/gtknotebook.c (hide_drag_window): Do not call
5121         gtk_widget_set_parent_window(), using widget->window instead of NULL
5122         to unset is the wrong thing, and gtk_widget_unparent() will already 
5123         take care of this (#467698, patch by Sébastien Granjoux)
5124
5125 2008-04-08  Tor Lillqvist  <tml@novell.com>
5126
5127         * demos/gtk-demo/builder.c (quit_activate, about_activate): Mark
5128         these functions with G_MODULE_EXPORT.
5129
5130 2008-04-08  Tomas Bzatek  <tbzatek@redhat.com>
5131
5132         * gtk/gtkfilesystem.c: (gtk_file_info_render_icon),
5133         (gtk_file_system_volume_render_icon):
5134         Fix fallback icon rendering size
5135
5136 2008-04-08  Michael Natterer  <mitch@imendio.com>
5137
5138         * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): fix a
5139         touchscreen-mode keynav corner case: when navigating to the parent
5140         menu, make sure we don't close two menus at the same time in case
5141         the deepest open menu has no selectable items.
5142
5143 2008-04-06  Tristan Van Berkom <tvb@gnome.org>
5144
5145         * gtk/gtkwidget.c: Clarified a g_warning message regarding
5146         parsing accelerators from builder files.
5147
5148 2008-04-03  Cody Russell  <bratsche@gnome.org>
5149
5150         * gtk/gtkprintoperation-win32.c: Fix variable declared in the middle
5151         of the block. (#526021, reported by Kazuki IWAMOTO)
5152
5153 2008-04-03  Tor Lillqvist  <tml@novell.com>
5154
5155         Bug 330743 - Up/down spinbuttons won't take zeros and exhibit very
5156         strange behavior
5157
5158         * gtk/gtkspinbutton.c (gtk_spin_button_insert_text) [Win32]: Add
5159         workaround for a specific kind of screwed up locale setting.
5160
5161 2008-04-02  Matthias Clasen  <mclasen@redhat.com>
5162
5163         * gdk/x11/gdkcolor-x11.c: Don't call XFreeColormap on foreign
5164         colormaps.  Found by Daniel Berrange.
5165
5166 2008-04-02  Björn Lindqvist  <bjourne@gmail.com>
5167
5168         * tests/autotestfilechooser.c: Cover
5169         GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER action in tests for current
5170         name. (#346058, Joe Halliwell)
5171
5172 2008-04-02  Federico Mena Quintero  <federico@novell.com>
5173
5174         Fix http://bugzilla.gnome.org/show_bug.cgi?id=492134 - The file
5175         chooser incorrectly substitutes and expands a ~ when you type it
5176         in the filename entry.
5177
5178         * gtk/gtkfilesystemunix.c (expand_tilde): Ensure that empty
5179         basenames result in a slash-terminated pathname.
5180         gtk_file_system_unix_parse() is correct, but it was splitting
5181         "/home/username" into path="/home" and file_part="username", which
5182         is not what the caller wants when the entry has just "~" or
5183         "~username".
5184
5185 2008-04-02  Tor Lillqvist  <tml@novell.com>
5186
5187         * gtk/Makefile.am: Don't bother compiling gtksearchenginebeagle.c
5188         and gtksearchenginetracker.c on Windows.
5189
5190         * gtk/gtksearchengine.c: Don't define HAVE_BEAGLE and HAVE_TRACKER
5191         on Windows.
5192
5193 2008-04-01  Cody Russell  <bratsche@gnome.org>
5194
5195         * configure.in: Bump required Cairo to 1.5.2.
5196
5197         * gtk/gtkprintoperation-win32.c: Add support for using the new
5198         cairo_win32_printing_surface for printing.  Also fixed to use
5199         cairo_surface_show_page(). (#488833 and #521178)
5200
5201 2008-03-31  Cody Russell  <bratsche@gnome.org>
5202
5203         * demos/gtk-demo/printing.c (draw_page): Move down each line in         
5204         units of text_height rather than in units of data->font_size.
5205         (totally awesome catch by Dom Lachowicz)
5206
5207 2008-03-28  Richard Hult  <richard@imendio.com>
5208
5209         * gdk/quartz/gdkevents-quartz.c: (gdk_event_translate),
5210         (_gdk_quartz_events_trigger_crossing_events): Defer the generated
5211         event to the mainloop and don't generate one at all if the
5212         toplevel didn't change. Use the actual window and not the toplevel
5213         as event window. These changes make the generated crossing events
5214         match the X11 behavior and fixes issues with e.g. tooltips,
5215         comboboxes and menus.
5216
5217         * gdk/quartz/GdkQuartzView.c: Don't update the tracking rect if
5218         the view has no window, it will be updated as soon as it's put
5219         inside a window.
5220
5221         * gdk/quartz/gdkwindow-quartz.c:
5222         (_gdk_quartz_window_debug_highlight): Make it possible to track
5223         multiple windows with debug highlighting.
5224         (show_window_internal): Remove workaround for tooltips and popups
5225         that is no longer needed with the above changes.
5226
5227 2008-03-26  Federico Mena Quintero  <federico@novell.com>
5228
5229         * gtk/gtkfilechooserentry.c (commit_completion_and_refresh): New
5230         helper function; factored out from the functions that commit the
5231         current suggested autocompletion and that refresh the entry's paths.
5232         (gtk_file_chooser_entry_activate): Use commit_completion_and_refresh().
5233         (_gtk_file_chooser_entry_get_file_part): Likewise.
5234         (_gtk_file_chooser_entry_get_current_folder): Likewise.  This
5235         makes the entry have the correct paths when *not* using any form
5236         of completion (and makes the file chooser work when clicking the
5237         OK button).
5238
5239 2008-03-25  Richard Hult  <richard@imendio.com>
5240
5241         * gdk/quartz/gdkevents-quartz.c:
5242         (_gdk_quartz_events_trigger_crossing_events): Bail out early if we
5243         can't find a matching window.
5244
5245         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Add a
5246         comment, and only trigger an event for non-temp windows, fixes
5247         problems for tooltips caused by the workarounds for the
5248         problematic tracking rect API.
5249
5250 2008-03-25  Richard Hult  <richard@imendio.com>
5251
5252         * gdk/quartz/gdkwindow-quartz.c:
5253         (gdk_window_quartz_process_all_updates): Plug a leak and add a
5254         check that we have a toplevel before accessing it.
5255
5256 2008-03-24  Tor Lillqvist  <tml@novell.com>
5257
5258         Bug 524151 - Dragging of 0-byte files results in an empty filename
5259         on Windows XP and above
5260
5261         * gdk/win32/gdkdnd-win32.c (resolve_link): Check for the file
5262         being empty first. For some reason ISHellLink and IPersistFile
5263         succeeds in interpreting empty files as shortcuts, claiming the
5264         target of the shortcut is an empty path.
5265
5266         Change the function to take the wide character file name that the
5267         caller already has anyway, to avoid a superfluous conversion from
5268         UTF-8 to UTF-16.
5269
5270 2008-03-23  Björn Lindqvist  <bjourne@gmail.com>
5271
5272         * gdk-pixbuf/gdk-pixbuf-io.c (gdk_pixbuf_new_from_xpm_data): Guard
5273         against NULL pointer. (#467051, Gian Mario Tagliaretti)
5274
5275 2008-03-23  Cody Russell  <bratsche@gnome.org>
5276
5277         * gdk/win32/gdkevents-win32.c (show_window_recurse):
5278         Check window state for GDK_WINDOW_STATE_ICONIFIED before doing
5279         ShowWindow (SW_RESTORE).  This fixes a problem where tearing off
5280         menus from a maximized window would force the window to restore
5281         its size. (#518846)
5282
5283 2008-03-23  Johan Dahlin  <johan@gnome.org>
5284
5285         * gtk/gtk-builder-convert:
5286         Properly convert GtkImageMenuItems which use stock labels but don't
5287         have any children.
5288         (#523932, Brian Pepple)
5289         
5290 2008-03-22  Matthew Barnes  <mbarnes@redhat.com>
5291
5292         * gtk/gtkentrycompletion.c (gtk_entry_completion_get_cells):
5293         New function implements GtkCellLayoutClass::get_cells.  (#523787)
5294
5295 2008-03-22  Tor Lillqvist  <tml@novell.com>
5296
5297         Bug 523782 - Leftover call to GDK_THREADS_LEAVE() in gtktoolbar.c
5298
5299         * gtk/gtktoolbar.c (slide_idle_handler): Remove obviously wrong
5300         GDK_THREADS_LEAVE() call. Approved by mclasen.
5301
5302 2008-03-22  Björn Lindqvist  <bjourne@gmail.com>
5303
5304         * gtk/gtkexpander.c (gtk_expander_get_label):
5305         gtk_label_get_label() should be used instead of
5306         gtk_label_get_text(). (#353088, Xan Lopez)
5307
5308 2008-03-21  Tor Lillqvist  <tml@novell.com>
5309
5310         Import the GDI+ gdk-pixbuf loaders for Windows by Dominic
5311         Lachowicz and Alberto Ruiz into the GTK+ tree, from the
5312         gdip-pixbuf-loader module.
5313
5314         * configure.in: Add switch --disable-gdiplus-loaders that disables
5315         building of the GDI+ loaders.
5316
5317         When including loaders in the gdk-pixbuf library, and building
5318         GDI+ loaders, either build in all the GDI+ loaders or none of
5319         them. Use just -DINCLUDE_gdiplus in $INCLUDED_LOADER_DEFINE to
5320         signal building them in.
5321
5322         Add Automake conditionals BUILD_GDIPLUS_LOADERS to indicate
5323         whether the GDI+ loaders should be built and INCLUDE_GDIPLUS to
5324         indicate whether they should be built-in.
5325         
5326         For the rest of the changes, see gdk-pixbuf/ChangeLog.
5327         
5328 2008-03-20  Tor Lillqvist  <tml@novell.com>
5329
5330         * gtk/Makefile.am: Revert accidental change that went in as part
5331         of the commit on 2008-03-18. Do use grep -o. Unbreaks build on
5332         Darwin. On Windows one has to use a newer GNU grep that has -o,
5333         for instance the one from gnuwin32, instead of the oldish one in
5334         MSYS that doesn't have -o.
5335
5336 2008-03-20  Tor Lillqvist  <tml@novell.com>
5337
5338         * tests/testfilechooserbutton.c (chooser_update_preview_cb): Don't
5339         pass NULL for %s to g_message().
5340         (main): Drop unnecessary call to gtk_widget_destroy().
5341
5342 2008-03-20  Tor Lillqvist  <tml@novell.com>
5343
5344         Bug 314084 - GTK+ dialogs should not be placed partially offscreen
5345
5346         * gtk/gtkwindow.c (clamp): New function. Clamps a window position
5347         in one dimension, or centered in case it doesn't fit.
5348         (clamp_window_to_rectangle): Simplify. Call clamp() for x and y
5349         dimensions.
5350
5351 2008-03-18  Tor Lillqvist  <tml@novell.com>
5352
5353         Bug 523225 - modules/input/im*.c: MODULE_ENTRY macros make illegal code
5354         
5355         * modules/input/im*.c: Modify the MODULE_ENTRY macro so the
5356         G_MODULE_ENTRY decoration can be put in a more correct place.
5357
5358 2008-03-18  Sven Neumann  <sven@gimp.org>
5359
5360         * gtk/gtkmountoperation.c (gtk_mount_operation_ask_password): set
5361         alternative button order on the password dialog.
5362
5363 2008-03-18  Tor Lillqvist  <tml@novell.com>
5364
5365         Bug 99192 - Add --with-include-input-modules
5366
5367         * configure.in: Add --with-included-immodules switch. Handled in a
5368         similar way as the --with-included-loaders switch. For each input
5369         method module foo: Collect the list of input modules to be built
5370         into libgtk into INCLUDED_IMMODULE_OBJ. Collect a list of
5371         -DINCLUDE_IM_foo definitions into INCLUDED_IMMODULE_DEFINE.
5372         Define Automake conditionals INCLUDE_IM_FOO.
5373
5374         * modules/input/Makefile.am: For modules to be included in libgtk,
5375         build a static library.
5376         
5377         * modules/input/im*.c: Use MODULE_ENTRY macros much like in
5378         gdk-pixbuf to get unique names for the functions called by libgtk
5379         in the included case. Use G_MODULE_EXPORT in the non-included case
5380         so that we don't unnecessarily export unneeded random global
5381         symbols on Windows.
5382
5383         * gtk/Makefile.am: Build the included modules and link them into libgtk.
5384
5385         * gtk/gtkimmodule.c: Handle the built-in modules. Remove
5386         copy/paste leftover mentions of "themes" in comments.
5387
5388 2008-03-18  Tor Lillqvist  <tml@novell.com>
5389
5390         * tests/Makefile.am: Build testmountoperation only on Unix for now.
5391
5392 2008-03-17  Christian Kellner  <gicmo@gnome.org>
5393
5394         Implement GtkMountOperation, a subclass of GMountOperation
5395         to be used with gio wherever there is the need to ask the
5396         user for credentials or questions while mounting a volume.
5397         This is bug #522245
5398
5399         * gtk/gtkmountoperation.c:
5400         * gtk/gtkmountoperation.h:
5401         Implement GtkMountOperation.
5402         
5403         * gtk/gtk.h: Add gtkmountoperation.h
5404         * gtk/Makefile.am: Add gtkmountoperation.[hc]
5405         * gtk/gtk.symbols: Add symbols of GtkMountOperation.
5406         * tests/testmountoperation.c: Test program for it.
5407         * tests/Makefile.am: Add testmountoperation.
5408
5409 2008-03-17  Emmanuele Bassi  <ebassi@gnome.org>
5410
5411         * gtk/gtkcontainer.c: Properly document
5412         gtk_container_set_focus_child(). (#521739, Andrew Cowie)
5413
5414 2008-03-16  Alberto Ruiz <aruiz@gnome.org>
5415
5416         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc: more descriptive
5417         style names for the ComboBox thickness style
5418
5419 2008-03-16  Alberto Ruiz <aruiz@gnome.org>
5420
5421         * modules/engines/ms-windows/Theme/gtk-2.0/gtkrc:
5422         * modules/engines/ms-windows/msw_style.c (draw_box) (draw_arrow)
5423         (combo_box_draw_arrow) (setup_msw_rc_style): draw box does more
5424         intelligent separation for the xp theming engine and the classic
5425         theme while drawing the GtkComboBox button.  combobox_draw_arrow
5426         is not used anymore, commented.  The style has been updated to fix
5427         border/thickness glitches in the combobox according to the fixes
5428         commited regarding bug #521442. (bug #461805)
5429
5430 2008-03-16  Alberto Ruiz <aruiz@gnome.org>
5431
5432         * gtk/gtkcombobox.c: (gtk_combo_box_size_allocate) The child is
5433         now aware of both the combobox and frame (if has-frame is set)
5434         thickness and border. (bug #521442)
5435
5436 2008-03-15  Andre Klapper  <a9016009@gmx.de>
5437
5438         * configure.in: Added "si" to ALL_LINGUAS.
5439
5440 2008-03-15  Matthias Clasen  <mclasen@redhat.com>
5441
5442         * gtk/gtktreeview.c (gtk_tree_view_ensure_interactive_directory):
5443         Set window type hint on the search popup.  (#522279, Danny Baumann)
5444
5445 2008-03-15  Matthias Clasen  <mclasen@redhat.com>
5446
5447         * gtk/gtkimcontextsimple.c: Emit preedit_start/_end as
5448         appropriate.  (#521934, Huang Peng)
5449
5450 2008-03-14  Michael Natterer  <mitch@imendio.com>
5451
5452         * gdk/gdkspawn.h
5453         * gtk/gtkbuilderprivate.h
5454         * gtk/gtkfilechoosersettings.c
5455         * gtk/gtksearchenginesimple.c
5456         * gtk/tests/liststore.c
5457         * gtk/tests/treestore.c: remove single-file includes of GLib
5458         headers or replace them by <glib.h> where needed.
5459
5460 2008-03-14  Michael Natterer  <mitch@imendio.com>
5461
5462         * gtk/gtkadjustment.c: coding style cleanup.
5463
5464         (gtk_adjustment_set_property): no need to call g_object_notify()
5465         on the set properties.
5466
5467         Implement GObject::dispatch_properties_changed() and make sure we
5468         emit "changed" when anything but the "value" property changes.
5469
5470 2008-03-14  Tor Lillqvist  <tml@novell.com>
5471
5472         * gdk/win32/gdkevents-win32.c: Drop the support for the
5473         MSH_MOUSEWHEEL message that MSDN says is used only on NT 3.51 and
5474         Win95. Thanks to mitch for noticing this obsolete code.
5475
5476 2008-03-14  Cody Russell  <bratsche@gnome.org>
5477
5478         * examples/scribble-xinput/scribble-xinput.c: Changed
5479         'void int main()' to 'int main()'. (#522211, Liqing Huang)
5480         
5481 2008-03-14  Richard Hult  <richard@imendio.com>
5482
5483         * gdk/quartz/gdkwindow-quartz.c:
5484         (gdk_window_quartz_process_all_updates): Patch from Paul Davis,
5485         only flush the toplevel once per update.
5486
5487 2008-03-13  Federico Mena Quintero  <federico@novell.com>
5488
5489         * gtk/gtkfilechooserentry.c (create_completion_feedback_window):
5490         Set the mouse cursor of the feedback window to invisible, so that
5491         we respect GtkEntry's invisible cursor while typing.
5492
5493 2008-03-13  Federico Mena Quintero  <federico@novell.com>
5494
5495         * gtk/gtkfilechooserentry.c (show_completion_feedback_window): Put
5496         the feedback window at entry_height/2 pixels to the right of the
5497         cursor, for a cheap "M-width / 2" spacing.
5498
5499 2008-03-13  Sven Neumann  <sven@gimp.org>
5500
5501         * gtk/gtkfilechooserdefault.c
5502         * gtk/gtkprintunixdialog.c: set alternative button order for
5503         overwrite confirmation dialogs (bug #522191).
5504
5505 2008-03-13  Sven Neumann  <sven@gimp.org>
5506
5507         * gtk/gtkprintunixdialog.c (add_custom_button_to_dialog)
5508         (overwrite_confirmation_dialog): added some line-breaks for
5509         readability.
5510
5511 2008-03-12  Federico Mena Quintero  <federico@novell.com>
5512
5513         Rework the way completion works in GtkFileChooserEntry.  Fixes
5514         http://bugzilla.gnome.org/attachment.cgi?bugid=314873 - 
5515         Tab completion should work even if the cursor is not at the end of
5516         the entry.
5517
5518         * gtk/gtkfilechooserentry.c: Change the strategy by which we do
5519         completion.
5520
5521         We distinguish between two cases:
5522
5523                 - autocompletion - happens only in the Open modes by
5524                   inserting and selecting the common prefix as you type.
5525
5526                 - explicit completion - happens when you hit Tab.
5527
5528         When some type of completion needs to happen, the entry first
5529         parses its input and sees if it needs to initiate a folder load.
5530         Completion will not happen until the folder finishes loading.
5531
5532         If the folder is already completely loaded, then completion is
5533         performed immediately.  Otherwise, the entry queues a pending
5534         completion and starts loading the new folder (or waits until the
5535         current folder is completely loaded).
5536
5537         Tab completion is allowed to happen even if the cursor is not at
5538         the end of the entry.
5539
5540         There is a new feedback mechanism for explicit completion, so that
5541         you will get an Emacs-like tip whenever there are ambiguities in
5542         completion, no matches, etc.  (This needs to be polished so that
5543         we support RTL entries and all the fancy Pango layout in GtkEntry).
5544
5545         The only remaining thing to fix is the popup suggestion window.
5546         Unfortunately, GtkEntryCompletion does not let us do what we want,
5547         and will need further changes.
5548
5549 2008-03-12  Tor Lillqvist  <tml@novell.com>
5550
5551         Bug 510000 - GtkStatusIcon doesn't reshow after explorer.exe crash
5552
5553         * gtk/gtkstatusicon.c [Win32]: Keep a list of status icons. Check
5554         for the TaskbarCreated message in the window procedure for the
5555         dummy "tray observer" window we create. When we get a
5556         TaskbarCreated message, iterate over the status icons and re-add
5557         them to the task bar, and update them by calling
5558         gtk_status_icon_update_image().
5559
5560         Move some ifdefs around to avoid unused functions.
5561
5562 2008-03-12  Tor Lillqvist  <tml@novell.com>
5563
5564         * config.h.win32.in: Update to match what configure produces.
5565
5566 2008-03-12  Jens Granseuer  <jensgr@gmx.net>
5567
5568         * modules/printbackends/cups/gtkprintbackendcups.c:
5569         (cups_printer_prepare_for_print): Don't define variables in the
5570         middle of a block. (#522067)
5571
5572 2008-03-12  Matthias Clasen  <mclasen@redhat.com>
5573
5574         * gtk/gtkprintunixdialog.c: Add an overwrite confirmation 
5575         dialog for print-to-file.  (#474302, Marek Kašík)
5576
5577 2008-03-12  Matthias Clasen  <mclasen@redhat.com>
5578
5579         * modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
5580         (#469210, Wouter Bolsterlee)
5581
5582 2008-03-12  Matthias Clasen  <mclasen@redhat.com>
5583
5584         * gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak 
5585         paper_size here.  (#488820, Morten Welinder)
5586
5587 2008-03-12  Michael Natterer  <mitch@imendio.com>
5588
5589         * acconfig.h: remove this deprecated file.
5590
5591         * configure.in: added comments to all instances of AC_DEFINE() so
5592         config.h can be completely generated from configure.in.
5593
5594 2008-03-12  Michael Natterer  <mitch@imendio.com>
5595
5596         * modules/printbackends/cups/gtkprintbackendcups.c: include
5597         <glib/gstdio.h> for g_fopen().
5598
5599 2008-03-11  Matthias Clasen  <mclasen@redhat.com>
5600
5601         * modules/printbackends/cups/gtkprintbackendcups.c: Use
5602         g_ascii_formatd when formatting custom paper sizes, since
5603         cups doesn't handle , as decimal separator.  (#521548)
5604
5605 2008-03-11  Tor Lillqvist  <tml@novell.com>
5606
5607         Bug 469868 - Filenames with colon ":" are not saved correctly
5608
5609         * gtk/gtkfilechooserentry.c (insert_text_callback)
5610         (delete_text_callback) [Win32]: New functions to make sure that
5611         colons used otherwise than as a separator after a drive letter, or
5612         characters that are always illegal in file names, are rejected on
5613         input. This means that the GTK+ file chooser can't be used to
5614         input full names of alternate data streams, but oh well. There are
5615         still more checks that could be done on the file names, see the
5616         bug report. But this will do for now.
5617         (_gtk_file_chooser_entry_init) [Win32]: Connect above functions.
5618
5619 2008-03-11  Jordi Mallach  <jordi@sindominio.net>
5620
5621         * configure.in (ALL_LINGUAS): Add ca@valencia (Valencian-Catalan).
5622
5623 2008-03-11  Michael Natterer  <mitch@imendio.com>
5624
5625         * gdk/linux-fb/*: removed linux-fb backend files.
5626
5627         * acconfig.h
5628         * config.h.win32.in
5629         * docs/README.linux-fb
5630         * gtk/Makefile.am: remove remaining traces of linux-fb.
5631
5632         * gtk/gtkwindow-decorate.c: same here. There is some code that
5633         calls into linux-fb to set window move/resize callbacks. I put it
5634         in #if 0 as a reminder because we did use decorated windows with
5635         the DirectFB backend and it did work, so I don't really know why
5636         this code is needed or how it could work with DirectFB back then.
5637         The file does actually compile now if DECORATE_WINDOWS is defined,
5638         but I didn't test with DirectFB to check if it does anything.
5639
5640 2008-03-11  Alberto Ruiz  <aruiz@gnome.org>
5641
5642         * gtk/gtkcombobox.c (gtk_combo_box_size_allocate):
5643         Take thickness into account in the size allocation of the child widgets in
5644         list mode.
5645         Fixes #521442
5646
5647 2008-03-11  Richard Hult  <richard@imendio.com>
5648
5649         * gdk/quartz/gdkwindow-quartz.c: Implement gdk_window_reparent.
5650
5651 2008-03-10  Tor Lillqvist  <tml@novell.com>
5652
5653         * tests/teststatusicon.c (do_exit, popup_menu): Add the
5654         possibility to test what happens if the process just calls exit()
5655         without any orderly cleanup of GTK+.
5656
5657 2008-03-10  Tor Lillqvist  <tml@novell.com>
5658
5659         * gtk/gtktrayicon-win32.c: Remove from SVN, finally.
5660
5661 2008-03-10  Tor Lillqvist  <tml@novell.com>
5662
5663         Bug 520286 - Non-deletable window has no minimize / maximize buttons
5664
5665         * gdk/win32/gdkmain-win32.c (_gdk_win32_window_style_to_string):
5666         New debugging output function that decodes a set of WS_* bits.
5667
5668         * gdk/win32/gdkprivate-win32.h: Declare it.
5669
5670         * gdk/win32/gdkwindow-win32.c (update_single_system_menu_entry):
5671         New function that enables or disables one menu entry in the system
5672         menu of a top-level window. (The corresponding decoration will
5673         then also be enabled or disabled (grayed).)
5674
5675         (update_style_bits): Do as the comment says and don't try to
5676         update the window style based on the GdkWMFunctions set for the
5677         window.
5678                    
5679         (update_system_menu): New function that enables or disables the
5680         system menu entries based on a window's stored set of
5681         GdkWMFunctions.
5682
5683         (gdk_window_set_functions): Call update_system_menu() instead of
5684         update_style_bits().
5685
5686 2008-03-10  Emmanuele Bassi  <ebassi@gnome.org>
5687
5688         * README.in: Reword the 2.14 release notes entry about the
5689         deprecation of the gtkitemfactory.h header, and fix typos
5690         and grammar.
5691
5692 2008-03-08  Alberto Ruiz  <aruiz@gnome.org>
5693
5694         * modules/engines/ms-windows/msw_style.c (draw_shadow):
5695         Do not draw frame if parent if combobox.
5696         (draw_box):
5697         Uses scrollbar width system metrics for combobox button.
5698         Fixes #461805 for XP theme engine.
5699
5700 2008-03-07  Johan Dahlin  <johan@gnome.org>
5701
5702         * gtk/gtkbuilder.c:
5703         * gtk/gtkbuilderparser.c:
5704         * gtk/gtkbuilderprivate.h:
5705         * gtk/gtkiconfactory.c:
5706         * tests/buildertest.c:
5707         - Treat enums like enums and not values
5708         - Avoid invalid free, in case of more than two sources
5709         - Add better error messages
5710         - Add much improved tests
5711         (#520979, Christian Persch)
5712
5713 2008-03-07  Carlos Garnacho  <carlos@imendio.com>
5714
5715         * gtk/gtkiconfactory.c (gtk_icon_factory_buildable_custom_tag_end):
5716         Fix build.
5717
5718 2008-03-06  Federico Mena Quintero  <federico@novell.com>
5719
5720         Fix http://bugzilla.gnome.org/show_bug.cgi?id=505857 -
5721         GtkFileChooserDialog should set a default response button if the
5722         app doesn't set it.  Based on a patch by Chris Wang <chris.wang@sun.com>.
5723
5724         * gtk/gtkfilechooserdialog.c (is_stock_accept_response_id): New
5725         function, refactor from where there was duplicated code.
5726         (gtk_file_chooser_dialog_map): Look at the buttons in our
5727         action_area.  If the response ID for a button is one of the stock
5728         ones, make it the default response button.
5729
5730 2008-03-06  Johan Dahlin  <jdahlin@async.com.br>
5731
5732         * docs/reference/gtk/tmpl/gtkiconfactory.sgml:
5733         * gtk/gtkbuilder.c:
5734         * gtk/gtkbuilderprivate.h:
5735         * gtk/gtkiconfactory.c:
5736         * tests/buildertest.c:
5737         Implement GtkBuildable on GtkIconFactory, to make
5738         it possible to register custom stock icons.
5739         Fixes #517066
5740
5741 2008-03-06  Johan Dahlin  <johan@gnome.org>
5742
5743         Make gtk-doc happy:
5744         
5745         * gtk/gtkstyle.c: npoints->n_points.
5746         * gtk/gtktestutils.h: widget->spinner
5747         * gtk/gtktestutils.c: argc->argcp, argv->argvp
5748
5749 2008-03-06  William Lachance <wrlach@gmail.com>
5750
5751         * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M" 
5752         string localizable (as it should be). 
5753
5754 2008-03-06  William Lachance <wrlach@gmail.com>
5755
5756         * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
5757         the time for today's date. It's redudant. (see bug #410517).
5758
5759 2008-03-06  Xan Lopez  <xan@gnome.org>
5760
5761         * gtk/gtkfixed.c: fix typo in documentation.
5762
5763 2008-03-06  Johan Dahlin  <jdahlin@async.com.br>
5764
5765         * gtk/gtkitemfactory.h:
5766         * gtk/gtktypeutils.h:
5767         Move GtkTranslateFunc to gtktypeutils.h so we can completely
5768         deprecate gtkitemfactory.h. 
5769
5770         * gtk/gtkactiongroup.h:
5771         * gtk/gtkstock.h:
5772         Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
5773
5774         * README.in: 
5775         Add a note describing this slight incompatible change
5776         
5777 2008-03-06  Johan Dahlin  <johan@gnome.org>
5778
5779         * gtk/gtkpreview.h: Avoid double-deprecation.
5780
5781 2008-03-06  Michael Natterer  <mitch@imendio.com>
5782
5783         * gtk/gtk.h
5784         * gtk/Makefile.am: move the remaining deprecated widgets to the
5785         separate sections and replaced spaces by tabs in Makefile.am
5786
5787 2008-03-05  Johan Dahlin  <johan@gnome.org>
5788
5789         * configure.in: Add --disable-cups option.
5790         (#513826, Alberto Ruiz)
5791
5792         * gtk/gtk.h: 
5793         * gtk/Makefile.am:
5794         Separate broken and deprecated sources and headers into different sections
5795
5796         * tests/buildertest.c (test_list_store): Restore accidentally broken test.
5797
5798 2008-03-05  Kristian Rietveld  <kris@imendio.com>
5799
5800         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
5801         short-circuit in case an empty root level would be build (and thus
5802         directly destroyed) if no virtual root has been set.
5803
5804 2008-03-04  Matthias Clasen  <mclasen@redhat.com>
5805
5806         * modules/printbackends/cups/gtkprintbackendcups.c: 
5807         Honor cups user default options from ~/.cups/lpoptions
5808         (#469210, Stijn Hoop)
5809
5810 2008-03-04  Michael Natterer  <mitch@imendio.com>
5811
5812         * gtk/gtkcellview.c
5813         * gtk/gtkcolorbutton.c
5814         * gtk/gtkentrycompletion.c
5815         * gtk/gtkfontbutton.c
5816         * gtk/gtkiconview.c
5817         * gtk/gtkobject.c
5818         * gtk/gtkpaned.c
5819         * gtk/gtkpreview.c: don't include "gtksignal.h".
5820
5821         * gtk/gtkfilefilter.c
5822         * gtk/gtkrecentchoosermenu.c
5823         * gtk/gtkrecentfilter.c
5824         * gtk/gtktext.c: don't include "gtkobject.h".
5825
5826 2008-03-04  Simos Xenitellis  <simos@gnome.org>
5827
5828         Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
5829         - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
5830         
5831         * gdk/gdkkeysyms.h: Updated file from upstream (using script from 
5832         same directory).
5833         
5834         * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New 
5835         file, contains compose sequences that used to exist in 
5836         gtk/gtkimcontextsimple.c
5837
5838         * gtk/compose-parse.py: Script to generate compose 
5839         sequences from upstream (Xorg).
5840
5841         * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table, 
5842         check_algorithmically): New functions. First two search in
5843         gtk_compose_seqs_compact[] for matching compose sequence, third
5844         tries NFC normalisation on incoming compose sequence.
5845         (gtk_im_context_simple_filter_keypress): 
5846         Adds searching with check_compact_table(), check_algorithmically().
5847
5848 2008-03-03  Carlos Garnacho  <carlos@imendio.com>
5849
5850         Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
5851         scrollwheel work in GtkPathBar.
5852
5853         * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
5854
5855         * gtk/gtkpathbar.c (gtk_path_bar_realize): New function.  Create
5856         an input-only window, event_window, which we'll use to capture
5857         scroll events.
5858         (gtk_path_bar_map): Show the event_window under the rest of the
5859         windows, so it will be a catch-all for unhandled events.
5860
5861 2008-03-03  Sven Neumann  <sven@gimp.org>
5862
5863         * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
5864         typo in the documentation of the GtkFileChooserButtons::file-set
5865         signal (see bug #353196).
5866
5867 2008-03-03  Tor Lillqvist  <tml@novell.com>
5868
5869         * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
5870         location.
5871
5872 2008-03-02  Johan Dahlin  <johan@gnome.org>
5873
5874         * gtk/gtkiconview.c (gtk_icon_view_paint_item): 
5875         Remove left-over focus_pad variable.
5876         (#490892, Claudio Saavedra)
5877
5878         * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
5879         (#518166, Matt Kraai)
5880
5881 2008-03-02  Johan Dahlin  <johan@gnome.org>
5882
5883         * docs/tutorial/gtk-tut.sgml: Add a missing space
5884         (#517954, Matt Kraai)
5885
5886 2008-03-03  Tor Lillqvist  <tml@novell.com>
5887
5888         * modules/engines/ms-windows/msw_style.c (draw_box): Check that
5889         the widget is a GtkButton before casting.
5890
5891 2008-03-02  Johan Dahlin  <johan@gnome.org>
5892
5893         * configure.in: Compare using = instead of ==, which is portable.
5894         (#490787, Thomas Klausner)
5895
5896 2008-03-02  Johan Dahlin  <johan@gnome.org>
5897
5898         * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
5899         fixes non-C++ build.
5900         (#496032, Nelson Benitez)
5901
5902 2008-02-29  Johan Dahlin  <johan@gnome.org>
5903
5904         * demos/gtk-demo/demo.ui:
5905         * gtk/gtkbuilderparser.c:
5906         * gtk/gtkbuilderprivate.h:
5907         * gtk/gtkliststore.c:
5908         * tests/buildertest.c:
5909         Add translatable/context and comment attributes on
5910         <col> tags under a GtkListStore. Refactor parts of the
5911         translation api and make it available inside gtk+ itself.
5912         Update tests and example.
5913         Fixes a part of #518642
5914
5915 2008-02-29  Johan Dahlin  <johan@gnome.org>
5916
5917         * gtk/gtkbuilder.c:
5918         Add missing g_return_val_if_fail checks for public API.
5919
5920         * gtk/gtkbuilderparser.c:
5921         * gtk/gtkbuilderprivate.h:
5922         Do not use g_error for a few more errors, instead set
5923         the GError sent in through add_from_file/add_from_string.
5924         * tests/buildertest.c:
5925         Add a couple of new parsing tests.
5926         (#519199, Pavel Syomin)
5927
5928 2008-02-29  Federico Mena Quintero  <federico@novell.com>
5929
5930         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
5931         refreshing an existing folder (i.e. when we are about to reload
5932         its file list), turn off the folder's is_finished_loading flag.
5933         Otherwise callers which do ::is_finished_loading() followed by
5934         ::list_children() will get nothing.
5935
5936 2008-02-29  Cody Russell  <bratsche@gnome.org>
5937
5938         * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
5939         say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
5940
5941 2008-02-28  Matthias Clasen  <mclasen@redhat.com>
5942
5943         * gtk/gtkcalendar.h: Remove trailing comma from enum to
5944         make the compiler happy.  (#517295, Sylvain Pasche)
5945
5946 2008-02-27  Michael Natterer  <mitch@imendio.com>
5947
5948         * gtk/gtkmenushell.c
5949         * gtk/gtktable.c
5950         * gtk/gtktext.c
5951         * gtk/gtktipsquery.c
5952         * gtk/gtktoolbar.c
5953         * gtk/gtktreeitem.c
5954         * gtk/gtktreeview.c
5955         * gtk/gtkviewport.c
5956         * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
5957         private functions and virtual function implementations.
5958
5959 2008-02-27  Richard Hult  <richard@imendio.com>
5960
5961         * gdk/quartz/GdkQuartzView.c:
5962         * gdk/quartz/GdkQuartzView.h:
5963         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
5964         Fix performance regression for borderless transparent windows
5965         with shadow.
5966
5967 2008-02-27  Emmanuele Bassi  <ebassi@gnome.org>
5968
5969         * tests/testgtk.c: Revert back to r19454.
5970
5971 2008-02-27  Sven Neumann  <sven@gimp.org>
5972
5973         * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
5974         Quartz backend, use a native Mac OS X application for the print
5975         preview (bug #518624).
5976
5977 2008-02-26  Michael Natterer  <mitch@imendio.com>
5978
5979         * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
5980         the members of info->tag_stack since they are a) gobjects and b)
5981         not even owned by us, ugh... Fixes crash when deserializing fails.
5982
5983 2008-02-26  Sven Neumann  <sven@gimp.org>
5984
5985         * docs/tools/shooter.c (find_toplevel_window)
5986         * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
5987         argument passed to XQueryTree().
5988
5989 2008-02-25  Matthias Clasen  <mclasen@redhat.com>
5990
5991         * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
5992         don't use beagle_query_add_hit_type.
5993
5994 2008-02-25  Richard Hult  <richard@imendio.com>
5995
5996         * gdk/quartz/gdkevents-quartz.c
5997         (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
5998
5999 2008-02-24  Richard Hult  <richard@imendio.com>
6000
6001         * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
6002         shown without gdk's control when clicking the dock icon.
6003
6004 2008-02-24  Richard Hult  <richard@imendio.com>
6005
6006         * gdk/quartz/gdkprivate-quartz.h:
6007         * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
6008         Use the subtype field for the custom event that is used to wake up
6009         the mainloop so we can have other custom event types.
6010
6011         * gdk/quartz/gdkevents-quartz.c:
6012         (_gdk_quartz_events_trigger_crossing_events):
6013         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
6014         crossing events after showing a window if necessary, to work
6015         around problems with the tracking rect API.
6016
6017 2008-02-22  Dominic Lachowicz  <domlachowicz@gmail.com>
6018
6019         * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives 
6020         wrong results on win32 because it doesn't set the printing units, 
6021         which affect the transformation of the cairo context 
6022         (#347125, Erik van Pienbroek)
6023
6024 2008-02-22  Tor Lillqvist  <tml@novell.com>
6025
6026         * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
6027
6028 2008-02-22  Dominic Lachowicz  <domlachowicz@gmail.com>
6029
6030         * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
6031         acceptable for a module to only support the save_to_callback()
6032         method if it marks itself as WRITABLE
6033
6034 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
6035         
6036         * configure.in: Bump version
6037
6038 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
6039
6040         * === Released 2.13.0 ===
6041
6042         * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
6043
6044 2008-02-21  Tor Lillqvist  <tml@novell.com>
6045
6046         * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
6047         pass the format string to strftime in the C library's locale's
6048         charset, not the system's. Correspondingly, the return value from
6049         strftime() is in the C library's locale's charset. (#509885)
6050
6051 2008-02-20  Richard Hult  <richard@imendio.com>
6052
6053         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
6054         the right window level and shadow after recreating the window.
6055
6056         * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
6057         necessary after drawing (bug #517338).
6058
6059 2008-02-20  Marc-Andre Lureau  <marcandre.lureau@gmail.com>
6060
6061         * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
6062         call to g_type_class_unref in case of error. (#517563)
6063
6064 2008-02-18  Sven Neumann  <sven@gimp.org>
6065
6066         * gtk/Makefile.am (STOCK_ICONS)
6067         * gtk/stock-icons/16/gtk-page-setup.png
6068         * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
6069         taken from GNOME icon theme.
6070
6071         * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
6072
6073 2008-02-18  Runa Bhattacharjee <runabh@gmail.com>
6074
6075         * configure.in: Added Kannada (kn) to ALL_LINGUAS
6076
6077 2008-02-17  Johan Dahlin  <johan@gnome.org>
6078
6079         * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem): 
6080         When converting a stock item based on the label, remove the label property.
6081
6082 2008-02-17  Richard Hult  <richard@imendio.com>
6083
6084         * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
6085         position after showing the window since the window manager might
6086         not place it where we requested in the first places.
6087
6088 2008-02-17  Richard Hult  <richard@imendio.com>
6089
6090         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
6091         (_gdk_quartz_window_detach_from_parent),
6092         (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
6093         the toplevel ordering list in all places where the order is
6094         potentially changed. Fixes mouse focus issues for windows with
6095         a transient parent set.
6096
6097 2008-02-17  Richard Hult  <richard@imendio.com>
6098
6099         * gdk/quartz/gdkevents-quartz.c
6100         (_gdk_quartz_events_update_mouse_window): Highlight the mouse
6101         window when event debugging is enabled.
6102
6103 2008-02-16  Richard Hult  <richard@imendio.com>
6104
6105         * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
6106         to the scroll event (bug #516757, Paul Davis).
6107
6108 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
6109
6110         * NEWS: Updates
6111
6112 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
6113
6114         * gtk/gtklinkbutton.c: Show the URI in a tooltip.  (#505480,
6115         Teppo Turtiainen)
6116
6117 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
6118
6119         * gdk/Makefile.am: Don't install private headers. (#463510)
6120
6121         * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
6122         the installed header gdkprivate.h.
6123
6124 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
6125
6126         * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
6127         a crash with hidden, reorderable tabs.  (#513230, 
6128         Mike Massonnet, patch by Carlos Garnacho)
6129
6130 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
6131
6132         * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
6133         Warn on duplicate action group names.  (#501746, Christian
6134         Persch)
6135
6136 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
6137
6138         * gtk/Makefile.am:
6139         * modules/other/gail/tests/Makefile.am:
6140         * modules/other/gail/libgail-util/Makefile.am:
6141         * modules/other/gail/Makefile.am: Fix builddir!=srcdir
6142         builds.  (#516254,  Yevgen Muntyan)
6143
6144 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
6145
6146         * gtk/gtkentry.c:
6147         * gtk/gtkfilesel.c:
6148         * gtk/gtklabel.c:
6149         * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets 
6150         instead of hardcoded target tables.  (#516092, Christian Persch)
6151
6152 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
6153
6154         * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
6155         add the same target atom twice.  (#516087, Christian Persch)
6156
6157 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
6158
6159         * tests/testfilechooser.c: Add a --backend option.
6160         (#516073, Christian Persch)
6161
6162 2008-02-16  Richard Hult  <richard@imendio.com>
6163
6164         * gdk/quartz/gdkprivate-quartz.h:
6165         * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
6166         gdkwindow.
6167
6168 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
6169
6170         * configure.in: Go back to 2.13.0 as version for now,
6171         as there was no consensus to do the jump.
6172
6173         * many other places: Update Since: tags.
6174
6175 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
6176
6177         * gtk/gtk.symbols: Add gtk_tool_shell_get_type
6178
6179         * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
6180
6181 2008-02-15  Richard Hult  <richard@imendio.com>
6182
6183         * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
6184         instead of bounds when resizing windows.
6185
6186 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
6187
6188         * gdk/x11/gdkkeys-x11.c:
6189         * gdk/x11/gdkcolor-x11.c:
6190         * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
6191
6192 2008-02-15  Matthias Clasen <mclasen@redhat.com>
6193
6194         * gdk/x11/gdktestutils-x11.c:
6195         * gdk/x11/gdkscreen-x11.c: Documentation fixes.
6196
6197 2008-02-15  Tor Lillqvist  <tml@novell.com>
6198
6199         * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
6200         leak Registry key handles. (#516578)
6201
6202 2008-02-14  Richard Hult  <richard@imendio.com>
6203
6204         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
6205         makeKeyWindow unfortunately doesn't work in all cases, we must use
6206         makeKeyAndOrderFront.
6207
6208 2008-02-14  Richard Hult  <richard@imendio.com>
6209
6210         * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
6211         (gdk_window_hide), (gdk_window_fullscreen),
6212         (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
6213         the window is hidden.
6214
6215 2008-02-14  Richard Hult  <richard@imendio.com>
6216
6217         * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
6218         resizing to be consistent and to avoid introducing an internal
6219         transform in the view.
6220
6221 2008-02-14  Richard Hult  <richard@imendio.com>
6222
6223         * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
6224         fix.
6225
6226 2008-02-14  Johan Dahlin  <johan@gnome.org>
6227
6228         * gdk/gdktestutils.h
6229         * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
6230
6231 2008-02-13  Richard Hult  <richard@imendio.com>
6232
6233         * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
6234         Remove unused variables.
6235         (gtk_clipboard_set_contents),
6236         (gtk_clipboard_get_owner), (clipboard_unset),
6237         (gtk_clipboard_request_targets): Notify the previous clipboard
6238         owner when the owner changes. Fixes bug #493406.
6239         
6240 2008-02-13  Richard Hult  <richard@imendio.com>
6241
6242         * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
6243         the return value (return number of colors that failed), and handle
6244         RGBA colormap.
6245         (gdk_colormap_free_colors): Fix typo in comment.
6246
6247 2008-02-13  Kristian Rietveld  <kris@imendio.com>
6248
6249         * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
6250         queue a redraw if the rubber banding has actually been active.
6251
6252 2008-02-12  Matthias Clasen  <mclasne@redhat.com>
6253
6254         * gtk/gtkpapersize.c:
6255         * gtk/gtkprintoperation.c:
6256         * gtk/gtkvolumebutton.c:
6257         * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
6258         out by Behdad Esfahbod.
6259
6260 2008-02-12  Federico Mena Quintero  <federico@novell.com>
6261
6262         Merged from gtk-2-12:
6263
6264         Don't focus the file list when shortcuts get activated.  This
6265         removes a lot of ambiguity in when the file selection should
6266         change, and makes the overall code flow simpler.
6267
6268         This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
6269         file/save dialog clears the filename entry when changing
6270         directories.
6271
6272         Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
6273         focus should not go to the file list when a shortcut is activated.
6274
6275         * gtk/gtkfilechooserdefault.c
6276         (shortcuts_activate_volume_mount_cb): Don't focus the file list
6277         (shortcuts_activate_get_info_cb): Likewise.
6278
6279         * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
6280         the file list (this was the last place where we would focus the
6281         file list explicitly).  If you are in the location entry, for
6282         example, you don't want Alt-Home to take you to the file list; you
6283         just want the current folder to change.  Thanks to Olle Bergkvist
6284         <olle.bergkvist@yahoo.se> for pointing this out in
6285         http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
6286         (focus_browse_tree_view_if_possible): Removed.
6287
6288 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
6289
6290         Skip exensions when selecting filenames in the save-as dialog.
6291         (#362516, Carlos Garnacho)
6292
6293         * gtk/gtkfilechooserentry.h:
6294         * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
6295         New function to skip the extension part when selecting a filename.
6296         (_gtk_file_chooser_entry_set_base_folder): Use it here.
6297
6298         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
6299         ...and here.
6300
6301 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
6302
6303         * gtk/gtkiconview.c: Fix state change reporting for 
6304         accessibility.  (#499835, Rich Burridge, patch by LiYan Zhang)
6305
6306 2008-02-12  Emmanuele Bassi  <ebassi@gnome.org>
6307
6308         * gtk/gtkrecentchooser.c:
6309         (gtk_recent_chooser_class_init): Set the default value of the
6310         :show-not-found property to TRUE, as every implementation sets
6311         it to TRUE already.
6312
6313         * gtk/gtkrecentchooserdefault.c:
6314         (_gtk_recent_chooser_default_init): Sync show_tips to the
6315         default value of the :show-tips property.
6316
6317 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
6318
6319         * gtk/gtkclipboard-quartz.c:
6320         * gtkquartz.c:
6321         * gtkselection.c: Use GSlice for GtkSelectionData.  (#515060,
6322         Christian Persch)
6323
6324 2008-02-12  Kristian Rietveld  <kris@imendio.com>
6325
6326         * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
6327         (gtk_tree_view_real_toggle_cursor_row): guard against people
6328         deleting the row in question in the selection-changed callback.
6329         (#514621, Andreas Koehler).
6330
6331 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
6332
6333         * gtk/*.c: Unify the handling of various "Enter" keysyms
6334         all over the place.  (#515047, Christian Persch)
6335
6336 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
6337
6338         * gtk/gtkfilesystemmodel.c:
6339         * gtk/gtkprinter.c:
6340         * gtk/gtkwidget.c: Use g_value_set_static_string() where 
6341         appropriate.  (#515042, Christian Persch)
6342
6343 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
6344
6345         * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
6346         
6347 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
6348
6349         * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
6350
6351 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
6352
6353         * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
6354         (recent_model_sort_drag_data_get):
6355         (search_model_sort_drag_data_get):
6356         * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
6357         * gtk/gtkpathbar.c (button_drag_data_get_cb):
6358         Use gtk_selection_data_set_uris() instead of doing it
6359         by hand.  (#514890, Christian Persch)
6360
6361 2008-02-12  Michael Natterer  <mitch@imendio.com>
6362
6363         * gtk/gtkstatusicon.c: #include "gtkmain.h" for
6364         gtk_get_current_event_time().
6365
6366 2008-02-12  Michael Natterer  <mitch@imendio.com>
6367
6368         * gtk/gtkwindow.c (gtk_window_activate_key): simply use
6369         gtk_window_get_key_hash() to get the hash instead of manually
6370         fiddling with quarks and gtk_window_keys_changed(). Also add
6371         g_return_if_fail() to this public function.
6372
6373 2008-02-11  Matthias Clasen  <mclasen@redhat.com>
6374
6375         Support keynav in status icons.  (#473786, Li Yuan)
6376
6377         * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
6378
6379         * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
6380
6381 2008-02-11  Kristian Rietveld  <kris@imendio.com>
6382
6383         * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
6384         * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
6385         wrt. link deletion from list; contination of fix for #503569.
6386
6387 2008-02-11  Emmanuele Bassi  <ebassi@gnome.org>
6388
6389         * gtk/gtkrecentchoosermenu.c:
6390         (gtk_recent_chooser_menu_constructor): Set no-show-all flag
6391         on the placeholder menu item.
6392
6393         * tests/testrecentchoosermenu.c:
6394         (create_recent_chooser_menu): Use gtk_widget_show_all() to test
6395         whether the placeholder menu item gets shown.
6396
6397 2008-02-10  Cody Russell  <bratsche@gnome.org>
6398
6399         * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
6400         Check the return value of _gtk_file_chooser_get_file_system () for
6401         NULL before passing it to gtk_file_system_path_to_uri ().
6402         (#515667, Francesco Montorsi)
6403
6404 2008-02-10  Philip Withnall  <pwithnall@svn.gnome.org>
6405
6406         * gtk/gtkbuilder.c: Improve the documentation for
6407         gtk_builder_connect_signals. (#514471)
6408
6409 2008-02-10  Matthias Clasen  <mclasen@redhat.com>
6410
6411         * gtk/gtkrecentaction.c: Propagate local-only.  (#511987, 
6412         Jonh Wendell)
6413
6414 2008-02-08  Cody Russell  <bratsche@gnome.org>
6415
6416         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
6417         Removed an extra semicolon.  (#515219, reported by Kazuki IWAMOTO)
6418
6419 2008-02-08  Richard Hult  <richard@imendio.com>
6420
6421         * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
6422         delta from the NSEvent for now, generating multiple scroll events
6423         results in a lot of events getting queued up and things get really
6424         slow.
6425
6426 2008-02-08  Sven Herzberg  <sven@imendio.com>
6427
6428         Adjust the code to match the documentation, examples, "common sense"
6429         and existing applications.
6430
6431         * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
6432         that a GtkMenu for a <popup> element doesn't have to have a GtkAction
6433         assigned
6434
6435 2008-02-07  Cody Russell  <bratsche@gnome.org>
6436
6437         * gdk/win32/gdkevents-win32.c
6438         * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
6439         of a block that were causing compile problems on old
6440         compilers. (#515053, reported by Kazuki IWAMOTO)
6441         
6442 2008-02-07  Michael Natterer  <mitch@imendio.com>
6443
6444         * gtk/gtkcellview.c
6445         * gtk/gtklabel.c
6446         * gtk/gtklayout.c
6447         * gtk/gtklist.c
6448         * gtk/gtkmenu.c
6449         * gtk/gtkmenushell.c
6450         * gtk/gtkmisc.c
6451         * gtk/gtkoptionmenu.c
6452         * gtk/gtkplug.c
6453         * gtk/gtkpreview.c
6454         * gtk/gtkprogress.c
6455         * gtk/gtkradiomenuitem.c
6456         * gtk/gtkscale.c
6457         * gtk/gtkscrolledwindow.c
6458         * gtk/gtksocket.c: remove g_return_if_fail() from private
6459         functions and virtual function implementations.
6460
6461 2008-02-07  Michael Natterer  <mitch@imendio.com>
6462
6463         * gtk/gtkaction.c
6464         * gtk/gtkassistant.c
6465         * gtk/gtkbin.c
6466         * gtk/gtkbox.c
6467         * gtk/gtkcalendar.c
6468         * gtk/gtkcellrenderercombo.c
6469         * gtk/gtkcombobox.c
6470         * gtk/gtkcombo.c
6471         * gtk/gtkdrawingarea.c
6472         * gtk/gtkentrycompletion.c
6473         * gtk/gtkfixed.h
6474         * gtk/gtkgamma.c
6475         * gtk/gtkhpaned.c
6476         * gtk/gtkiconview.c
6477         * gtk/gtkitem.c
6478         * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
6479         functions and virtual function implementations.
6480
6481 2008-02-07  Christian Persch  <chpe@gnome.org>
6482
6483         * gdk/gdkpixbuf-render.c:
6484         (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
6485         alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
6486         otherwise there will be random pixel values in the semi-transparent
6487         area of the pixbuf within the mask. Bug #487865.
6488
6489 2008-02-06  Cody Russell  <bratsche@gnome.org>
6490
6491         * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
6492         otherwise things get wonky when you click on a menu.  This fixes
6493         a regression caused in #505928.  Thanks to Tor for spotting this
6494         one!  (#514789)
6495
6496 2008-02-06  Michael Natterer  <mitch@imendio.com>
6497
6498         * gtk/gtkcontainer.c
6499         * gtk/gtkexpander.c
6500         * gtk/gtkframe.c
6501         * gtk/gtklabel.c
6502         * gtk/gtkmain.c
6503         * gtk/gtkmenu.c
6504         * gtk/gtkmenuitem.c
6505         * gtk/gtkmenushell.c
6506         * gtk/gtknotebook.c
6507         * gtk/gtkseparatortoolitem.c
6508         * gtk/gtksocket.c
6509         * gtk/gtktextlayout.c
6510         * gtk/gtktoggletoolbutton.c
6511         * gtk/gtktoolbutton.c
6512         * gtk/gtktoolitem.c
6513         * gtk/gtktree.c
6514         * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
6515         "GTK_IS_FOO (foo)".
6516
6517 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
6518
6519         * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
6520         Allow to store half-open ranges.
6521
6522 2008-02-05  Cody Russell  <bratsche@gnome.org>
6523
6524         * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
6525         down the stack until we get to a window that is mapped.
6526         Otherwise hiding a window will cause all windows in the app
6527         to be blocked. (#514643)
6528
6529 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
6530
6531         * gtk/updateiconcache.c: Ignore images in the toplevel theme
6532         directory, avoiding one source of invalid caches that has been
6533         spotted in the wild.
6534
6535 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
6536
6537         * gtk/updateiconcache.c: Fix the previous commit to compile.
6538
6539 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
6540
6541         * gtk/updateiconcache.c: Install a printerr handler that
6542         prepends the program name, since gtk-update-icon-cache output
6543         often appears in the middle of other output, e.g. rpm update logs.
6544
6545 2008-02-05  Cody Russell  <bratsche@gnome.org>
6546
6547         * gdk/win32/gdkprivate-win32.h
6548         * gdk/win32/gdkevents-win32.c
6549         * gdk/win32/gdkwindow-win32.c
6550         * gdk/win32/gdkwindow-win32.h
6551         * gdk/win32/gdkwin32.h:
6552         Modal window rework.  (#455627 and #511111)
6553
6554 2008-02-04  Michael Natterer  <mitch@imendio.com>
6555
6556         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
6557         g_return_if_fail() if the cell is not part of the combo instead of
6558         crashing in the next line.
6559
6560 2008-02-01  Cody Russell  <cody@jhu.edu>
6561
6562         * modules/engines/ms-windows/xp_theme.[ch]
6563         * modules/engines/ms-windows/xp_theme_defs.h
6564         * modules/engines/ms-windows/msw_rc_style.c
6565         * modules/engines/ms-windows/msw_theme_main.c
6566         * modules/engines/ms-windows/msw_style.c: Re-indented and generally
6567         attempted to stylize more like the rest of the gtk+ stack's code.
6568
6569 2008-02-01  Michael Natterer  <mitch@imendio.com>
6570
6571         * tests/testgtk.c: initialize GdkColor structs to fix warning
6572         about uninitialized "pixel" member.
6573
6574         * tests/testactions.c: connect the toolbar_style() callback so it
6575         does something useful and doesn't warn about being defined but not
6576         used.
6577
6578 2008-01-31  Cody Russell  <bratsche@gnome.org>
6579
6580         * gdk/win32/gdkevents-win32.c:
6581         Refactored some of the window hiding/showing code from
6582         WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND.  Having this
6583         under WM_ACTIVATE was causing the application to go into
6584         a weird state when the user right-clicked on the taskbar
6585         entry of a window that was minimized.  (#505928)
6586         
6587 2008-01-31  Cody Russell  <bratsche@gnome.org>
6588
6589         * gtk/gtkpaned.c (gtk_paned_set_position):
6590         Change queue_resize() to queue_draw(), and add a check for
6591         child2 != NULL in case someone calls this before there is
6592         a child packed in there.  (#144269 again)
6593
6594 2008-01-31  Sven Neumann  <sven@gimp.org>
6595
6596         * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
6597         applied patch from Denis Oliver Kropp <dok@directfb.org>.
6598
6599 2008-01-31  Sven Neumann  <sven@gimp.org>
6600
6601         * gdk/directfb/gdkdisplay-directfb.c
6602         * gdk/directfb/gdkdrawable-directfb.c
6603         * gdk/directfb/gdkprivate-directfb.h
6604         * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
6605         Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
6606
6607 2008-01-31  Richard Hult  <richard@imendio.com>
6608
6609         * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
6610         issues with undecorated windows. Revert the change done on
6611         2008-01-25 and fix it by using the view's bounds instead. The
6612         bounds will always be up to date when setting up the tracking
6613         rect, so this should be more robust.
6614
6615 2008-01-30  Sven Neumann  <sven@gimp.org>
6616
6617         * gdk/directfb/gdkdrawable-directfb.c
6618         * gdk/directfb/gdkwindow-directfb.c
6619         * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
6620         Oliver Kropp <dok@directfb.org>. Adds debug messages using
6621         DirectFB's debugging system
6622
6623 2008-01-30  Sven Neumann  <sven@gimp.org>
6624
6625         * gdk/directfb/gdkdirectfb.h
6626         * gdk/directfb/gdkdisplay-directfb.c
6627         * gdk/directfb/gdkdrawable-directfb.c
6628         * gdk/directfb/gdkim-directfb.c
6629         * gdk/directfb/gdkimage-directfb.c
6630         * gdk/directfb/gdkinput-directfb.c
6631         * gdk/directfb/gdkmain-directfb.c
6632         * gdk/directfb/gdkpixmap-directfb.c
6633         * gdk/directfb/gdktestutils-directfb.c
6634         * gdk/directfb/gdkvisual-directfb.c
6635         * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
6636         Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
6637         errors and has some cleanups.
6638
6639 2008-01-30  Michael Natterer  <mitch@imendio.com>
6640
6641         * gtk/gtkbuilderparser.c (parse_custom): use the right type for
6642         "subparser_data" and remove the (gpointer*) cast. Fixes bogus
6643         aliasing warning.
6644
6645         * gtk/updateiconcache.c (add_string): cast const gchar* to
6646         gpointer when inserting in a GHashTable.
6647
6648         * tests/testcalendar.c (calendar_detail_cb): remove const from
6649         return value since it's a newly allocated string.
6650
6651         (calendar_update_details): free the detail.
6652
6653 2008-01-29  Johan Dahlin  <johan@gnome.org>
6654
6655         * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
6656         (do_builder):
6657         * demos/gtk-demo/demo.ui:
6658         Move the about dialog to the glade file, add accessible tags
6659         examples to the markup file.
6660
6661 2008-01-28  Paolo Borelli  <pborelli@katamail.com>
6662
6663         * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
6664         layout, fixes #512375.
6665
6666 2008-01-28  Michael Natterer  <mitch@imendio.com>
6667
6668         * gtk/gtktextchild.c
6669         * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
6670
6671 2008-01-28  Michael Natterer  <mitch@imendio.com>
6672
6673         * demos/gtk-demo/builder.c (about_activate): use
6674         gtk_about_dialog_set_program_name() instead of the deprecated
6675         set_name().
6676
6677 2008-01-28  Michael Natterer  <mitch@imendio.com>
6678
6679         * gtk/gtktextchild.c
6680         * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
6681         is deprecated now).
6682
6683 2008-01-26  Johan Dahlin  <johan@gnome.org>
6684
6685         * tests/Makefile.am:
6686         * tests/textbuffertest.c:
6687         Rename textbuffer test and port it to the new test framework
6688         
6689 2008-01-25  Johan Dahlin  <johan@gnome.org>
6690
6691         * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
6692         unsetting of GTK_MODULES.
6693
6694         * gtk/gtk-builder-convert
6695         (GtkBuilderConverter._convert_adjustment): Handle the case where
6696         there is no child text node.
6697         (GtkBuilderConverter): Allow xml comments in most places.
6698
6699 2008-01-25  Johan Dahlin  <johan@gnome.org>
6700
6701         * gtk/gtk-builder-convert
6702         (GtkBuilderConverter._convert_combobox_items): Remove the items
6703         even if there are no items set.
6704         (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
6705         signals and tooltips for all menu items subclasses and 
6706         GtkImageMenuItem:label. 
6707         Makes it possible to fully convert and run Jokosher.glade.
6708
6709 2008-01-25  Johan Dahlin  <johan@gnome.org>
6710
6711         * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
6712         (gtk_widget_buildable_get_internal_child), (free_action),
6713         (free_relation), (gtk_widget_buildable_parser_finished),
6714         (accessibility_start_element),
6715         (gtk_widget_buildable_custom_tag_start),
6716         (gtk_widget_buildable_custom_finished):
6717         Implement accessible support, fixes #454653.
6718
6719         * gtk/gtk-builder-convert:
6720         Add support for migrating old glade files
6721         
6722         * tests/buildertest.c: (test_widget), (test_file):
6723         Add accessible tests and imprve the test_file function to display
6724         toplevels and run dialogs.
6725
6726 2008-01-25  Richard Hult  <richard@imendio.com>
6727
6728         * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
6729         didn't change, fixes focus event issues for undecorated windows.
6730
6731 2008-01-25  Richard Hult  <richard@imendio.com>
6732
6733         * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
6734         const and remove unused variables).
6735
6736 2008-01-25  Michael Natterer  <mitch@imendio.com>
6737
6738         * gtk/gtkbutton.h
6739         * gtk/gtkcellrenderer.h
6740         * gtk/gtkimcontext.h
6741         * gtk/gtkstyle.h
6742         * gtk/gtktoolbar.h
6743         * gtk/gtktooltip.h
6744         * gtk/gtktreeprivate.h
6745         * gtk/gtktreeviewcolumn.h
6746         * gtk/gtkwidget.h: add const to constant structs which are passed
6747         into GTK+. Also add some forgotten const for const strings.
6748         Fixes bug #511554.
6749
6750         * gtk/gtkbutton.c
6751         * gtk/gtkcellrenderer.c
6752         * gtk/gtkimcontext.c
6753         * gtk/gtkstyle.c
6754         * gtk/gtktoolbar.c
6755         * gtk/gtktooltip.c
6756         * gtk/gtktreeview.c
6757         * gtk/gtktreeviewcolumn.c
6758         * gtk/gtkwidget.c: changed accordingly.
6759
6760 2008-01-25  Sven Herzberg  <sven@imendio.com>
6761
6762         Reviewed by Johan Dahlin.
6763
6764         * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
6765         this is called with something that's not a GtkUIManager
6766
6767 2008-01-24  Johan Dahlin  <johan@gnome.org>
6768
6769         * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child): 
6770         Chain up to parent, so widgets can have internal children.
6771
6772 2008-01-22  Mathias Hasselmann  <mathias@openismus.com>
6773
6774         Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
6775         IWAMOTO).
6776
6777         * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
6778
6779 2008-01-22  Mathias Hasselmann  <mathias@openismus.com>
6780
6781         Use pango_layout_set_height() for calendar details (#506049).
6782
6783         * configure.in: Require 1.19.3 for pango_layout_set_height().
6784         * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
6785
6786 2008-01-18  Johan Dahlin  <johan@gnome.org>
6787
6788         * gtk/gtk-builder-convert (get_property_node): New method
6789         (GtkBuilderConverter._create_object): Conditionally take a node as
6790         a property value, so don't lose translate/context attributes if they
6791         are set. 
6792         (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
6793         property values instead of strings.
6794         (#509153, Erik van Pienbroek)
6795
6796 2008-01-16  Mathias Hasselmann  <mathias@openismus.com>
6797
6798         Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
6799
6800         * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
6801         * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
6802         * tests/testcalendar.c: Duplicate calendar details before returning.
6803
6804 2008-01-16  Christian Persch  <chpe@gnome.org>
6805
6806         * gtk/gtkwidget.c: Store the event mask and extension event mode
6807         directly in the gobject data pointer, instead of in an allocated
6808         gint. Bug #506604.
6809
6810 2008-01-16  Michael Natterer  <mitch@imendio.com>
6811
6812         * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
6813         gdk-pixbuf now uses gio functions.
6814
6815 2008-01-16  Matthias Clasen  <mclasen@redhat.com>
6816
6817         * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
6818         the notify::model signal.  (#509819, David Zeuthen)
6819
6820 2008-01-15  Michael Natterer  <mitch@imendio.com>
6821
6822         * gdk/gdkdisplay.h
6823         * gdk/gdkdrawable.h
6824         * gdk/gdkevents.h
6825         * gdk/gdkpango.h
6826         * gdk/gdkregion.h
6827         * gdk/gdkrgb.h
6828         * gdk/gdkwindow.h: made more struct pointer and array parameters
6829         const. GDK should now be constified as far as possible without
6830         breaking source compatibility. Includes some minor cleanup like
6831         indentation and s/nfoo/n_foo/ (bug #508544).
6832
6833         * gdk/gdkdisplay.c
6834         * gdk/gdkdraw.c
6835         * gdk/gdkevents.c
6836         * gdk/gdkpango.c
6837         * gdk/gdkregion-generic.c
6838         * gdk/gdkrgb.c
6839         * gdk/directfb/gdkdisplay-directfb.c
6840         * gdk/directfb/gdkwindow-directfb.c
6841         * gdk/quartz/gdkdisplay-quartz.c
6842         * gdk/quartz/gdkwindow-quartz.c
6843         * gdk/win32/gdkdisplay-win32.c
6844         * gdk/win32/gdkwindow-win32.c
6845         * gdk/x11/gdkdisplay-x11.c
6846         * gdk/x11/gdkwindow-x11.c: changed accordingly.
6847
6848 2008-01-14  Michael Natterer  <mitch@imendio.com>
6849
6850         * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
6851         const warning.
6852
6853         (gtk_rc_parse_any): change variables to const and introduce
6854         another local variable to fix const warnings.
6855
6856 2008-01-14  Michael Natterer  <mitch@imendio.com>
6857
6858         * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
6859         of gdk_screen_get_font_options() to gpointer to get rid of const
6860         warning.
6861
6862 2008-01-14  Michael Natterer  <mitch@imendio.com>
6863
6864         * tests/testdnd.c (source_drag_data_get): fix another call to
6865         gtk_selection_data_set().
6866
6867 2008-01-14  Michael Natterer  <mitch@imendio.com>
6868
6869         * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
6870         signedness warning.
6871
6872 2008-01-14  Michael Natterer  <mitch@imendio.com>
6873
6874         * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
6875
6876 2008-01-14  Michael Natterer  <mitch@imendio.com>
6877
6878         * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
6879         "uris" to guchar* when passing it to gtk_selection_data_set().
6880
6881 2008-01-14  Michael Natterer  <mitch@imendio.com>
6882
6883         * gdk/gdk.h
6884         * gdk/gdkcairo.h
6885         * gdk/gdkcolor.h
6886         * gdk/gdkgc.h
6887         * gdk/gdkinternals.h
6888         * gdk/gdkregion.h
6889         * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
6890         parameters const (bug #508544).
6891
6892         * gdk/gdkcairo.c
6893         * gdk/gdkgc.c
6894         * gdk/gdkwindow.c
6895         * gdk/gdkrectangle.c
6896         * gdk/gdkpolyreg-generic.c
6897         * gdk/gdkregion-generic.c
6898         * gdk/directfb/gdkcolor-directfb.c
6899         * gdk/directfb/gdkgc-directfb.c
6900         * gdk/directfb/gdkgeometry-directfb.c
6901         * gdk/directfb/gdkwindow-directfb.c
6902         * gdk/quartz/gdkcolor-quartz.c
6903         * gdk/quartz/gdkgc-quartz.c
6904         * gdk/quartz/gdkgeometry-quartz.c
6905         * gdk/quartz/gdkwindow-quartz.c
6906         * gdk/win32/gdkcolor-win32.c
6907         * gdk/win32/gdkgc-win32.c
6908         * gdk/win32/gdkgeometry-win32.c
6909         * gdk/win32/gdkprivate-win32.h
6910         * gdk/win32/gdkwindow-win32.c
6911         * gdk/x11/gdkcolor-x11.c
6912         * gdk/x11/gdkgc-x11.c
6913         * gdk/x11/gdkgeometry-x11.c
6914         * gdk/x11/gdkmain-x11.c
6915         * gdk/x11/gdkprivate-x11.h
6916         * gdk/x11/gdkwindow-x11.c: changed accordingly.
6917
6918         * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
6919         headers.
6920
6921 2008-01-14  Mathias Hasselmann  <mathias@openismus.com>
6922
6923         Explain name choice for gtk_tool_item_toolbar_reconfigured.
6924
6925         * gtk/gtktoolitem.c: Add comment expaining name choice for
6926         gtk_tool_item_toolbar_reconfigured.
6927
6928 2008-01-14  Mathias Hasselmann  <mathias@openismus.com>
6929
6930         Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
6931         implementations to notify its children, when some aspect of their
6932         configuration changed (#509042).
6933
6934         * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
6935         * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
6936         Rename _gtk_tool_item_toolbar_reconfigured.
6937
6938 2008-01-12  Mathias Hasselmann  <mathias@openismus.com>
6939
6940         Include <gtk/gtktoolshell.h> from gtk.h.
6941
6942         * gtk/gtk.h: Add gtktoolshell.h
6943
6944 2008-01-12  Mathias Hasselmann  <mathias@openismus.com>
6945
6946         Print angle brackets arround e-mail addresses in the about dialog
6947         (#409520, Mariano Suárez-Alvarez).
6948
6949         * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
6950
6951 2008-01-11 13:28:02  Tim Janik  <timj@imendio.com>
6952
6953         * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
6954         special casing so test widgets are always queues for destruction
6955         during teardown.
6956
6957         * gtk/tests/testing.c: removed bits left-over from testing without
6958         gtestutils.h.
6959
6960 2008-01-10  Tor Lillqvist  <tml@novell.com>
6961
6962         * modules/other/gail/libgail-util/Makefile.am
6963         * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
6964         gdktargetlib.
6965         
6966 2008-01-10  Tor Lillqvist  <tml@novell.com>
6967
6968         * tests/Makefile.am: Build defaultvaluetest only on Unix as it
6969         uses gtkprintunixdialog API.
6970
6971 2008-01-10  Tor Lillqvist  <tml@novell.com>
6972
6973         * gdk/win32/gdkdisplay-win32.c
6974         * gdk/win32/gdkglobals-win32.c
6975         * gdk/win32/gdkprivate-win32.h
6976         * gdk/win32/gdkscreen-win32.c
6977         * gdk/win32/gdkwindow-win32.c: Implement
6978         gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
6979         and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
6980         Iwamoto. (#505753)
6981
6982 2008-01-10  Cody Russell  <bratsche@gnome.org>
6983
6984         * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
6985         Properly ref/unref windows and parents.  (#506769)
6986
6987 2008-01-10  Richard Hult  <richard@imendio.com>
6988
6989         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
6990         (gdk_window_hide), (move_resize_window_internal): Move the
6991         tracking rect workaround from here...
6992
6993         * gdk/quartz/GdkQuartzWindow.c:
6994         * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
6995         movements during showing/hiding operations. Fixes bug #508516.
6996
6997 2008-01-10  Michael Natterer  <mitch@imendio.com>
6998
6999         * gdk/directfb/gdkscreen-directfb.c
7000         (gdk_screen_get_monitor_width_mm)
7001         (gdk_screen_get_monitor_height_mm)
7002         (gdk_screen_get_monitor_plug_name): add these functions to make
7003         it build again.
7004
7005 2008-01-10  Emmanuele Bassi  <ebassi@gnome.org>
7006
7007         * gtk/gtkrecentchoosermenu.c:
7008         (idle_populate_func), (idle_populate_clean_up): Fix possible
7009         recursion by resetting the idle source id. (#507605, William
7010         Pitcock)
7011
7012 2008-01-10  Kristian Rietveld  <kris@imendio.com>
7013
7014         * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
7015         (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
7016         avoid valgrind warnings.  (#507751, patch from Christian Persch).
7017
7018 2008-01-10  Kristian Rietveld  <kris@imendio.com>
7019
7020         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
7021         a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
7022
7023 2008-01-10  Kristian Rietveld  <kris@imendio.com>
7024
7025         Fix #477175, reported by Juri Pakaste.
7026
7027         * gtk/gtktreeprivate.h:
7028         * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
7029         tree_view->priv->dy here directly, just calculate the new value
7030         and set it on the adjustment,
7031         (gtk_tree_view_adjustment_changed): add guards to not call
7032         gtk_tree_view_dy_to_top_row() if we are currently in
7033         gtk_tree_view_top_row_to_dy(),
7034         (gtk_tree_view_put): fix coordinate annotation: these are bin_window
7035         coordinates, not tree coordinates,
7036         (gtk_tree_view_real_start_editing): add cast.
7037
7038         * gtk/tests/treeview-scrolling.c: add an assertion for checking the
7039         position of the editable in the "create new row and start editing"
7040         tests.
7041
7042 2008-01-09  Michael Natterer  <mitch@imendio.com>
7043
7044         * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
7045         variable.
7046
7047         * gtk/gtkcombobox.c (gtk_combo_box_detacher)
7048         * gtk/gtkicontheme.c (theme_list_contexts)
7049         (gtk_icon_theme_lookup_icon)
7050         * gtk/gtkimcontextsimple.c (beep_window)
7051         * gtk/gtklinkbutton.c (set_link_color)
7052         * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
7053         fix warnings.
7054
7055         * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
7056         variable and add const to another to fix a warning.
7057
7058 2008-01-07  Matthias Clasen  <mclasen@redhat.com>
7059
7060         * gtk/gtkassistant.c (remove_page): Be more robust when removing 
7061         the current page.  (#499951, Andreas Sandberg)
7062
7063 2008-01-06  Johan Dahlin  <johan@gnome.org>
7064
7065         * gtk/gtkspinbutton.c: Declare value in the example code for
7066         GtkSpinButton::output, as pointed out by Anders Carlsson.
7067
7068 2008-01-06  Christian Persch  <chpe@gnome.org>
7069
7070         * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
7071         and remove an obsolete event box. Bug #506760.
7072
7073 2008-01-06  Johan Dahlin  <johan@gnome.org>
7074
7075         * tests/buildertest.c (test_domain): 
7076         Update, GtkBuilder::translation-domain is no longer set
7077         
7078         * gtk/gtkbuilderparser.c (parse_interface): 
7079         Allow domains to be overridden in <interface>'s if a translation-domain
7080         is set in the builder.
7081         (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
7082         of the builder, make the domain set in the <interface> apply only to strings
7083         in that interface.
7084         (#496831, Ryan Lortie)
7085
7086         * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines 
7087         to g_warning calls.
7088
7089         * gtk/gtktreestore.c (tree_model_end_element): 
7090         Remove an unused variable
7091
7092 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
7093
7094         * gtk/gtkspinbutton.c: Document the ::output signal and
7095         add an example.  (#507566, example by Owen Taylor)
7096
7097 2008-01-06  Johan Dahlin  <johan@gnome.org>
7098
7099         * gtk/gtkcellrenderercombo.c:
7100         (gtk_cell_renderer_combo_get_property),
7101         (gtk_cell_renderer_combo_set_property):
7102         * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
7103         * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
7104         * gtk/gtknotebook.c: (gtk_notebook_set_property):
7105         * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
7106         * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
7107         (gtk_text_buffer_get_property):
7108         * gtk/gtktextview.c: (gtk_text_view_set_property):
7109         * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
7110         * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
7111         (gtk_tool_button_get_property):
7112         * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
7113         (gtk_tool_item_get_property):
7114         * gtk/gtktreeview.c: (gtk_tree_view_set_property):
7115         * gtk/gtkwidget.c: (gtk_widget_set_property):
7116         * gtk/gtkwindow.c: (gtk_window_set_property):
7117         Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
7118         Fixes #507585
7119
7120 2008-01-06  Johan Dahlin  <johan@gnome.org>
7121
7122         * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root): 
7123         Make sure that --root works for toplevel widgets.
7124         (#491847, Phil Lello)
7125
7126 2008-01-05  Johan Dahlin  <johan@gnome.org>
7127
7128         * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
7129         to make sure that make test-report works properly
7130
7131 2008-01-05  Christian Persch  <chpe@gnome.org>
7132
7133         * tests/defaultvaluetest.c: Fix mem leak, and don't pass
7134         GType as integer through gpointer. Bug #507395.
7135
7136 2008-01-04  Mathias Hasselmann  <mathias@openismus.com>
7137
7138         Avoid some compiler warnings (#507000).
7139
7140         * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
7141         for value argument of _gtk_builder_flags_from_string.
7142         * gtk/gtkwidget.c: Don't alias the child pointer passed
7143         to gdk_window_get_user_data.
7144
7145 2008-01-04  Michael Natterer  <mitch@imendio.com>
7146
7147         * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
7148         to set the time in the returned GdkTimeCoords.
7149
7150 2008-01-03  Emmanuele Bassi  <ebassi@gnome.org>
7151
7152         * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
7153         correct comparison function (kudos to Christian Persch and
7154         Claudio Saavedra for spotting this)
7155
7156         * gtk/gtkrecentchooserutils.c:
7157         (sort_recent_items_mru),
7158         (sort_recent_items_lru): Ditto as above.
7159
7160 2008-01-03  Johan Dahlin  <johan@gnome.org>
7161
7162         * tests/defaultvaluetest.c: Make it pass again.
7163
7164 2008-01-02  Johan Dahlin  <johan@gnome.org>
7165
7166         * tests/defaultvaluetest.c (test_type): Ignore a few more tests to 
7167         make it pass on Ubuntu.
7168         (main): Use gtk_test_list_all_types () instead of providing our
7169         own list.
7170         And it no longer passes.
7171
7172 2007-12-30  Johannes Schmid <jhs@gnome.org>
7173
7174         * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
7175         Also reorder menu when reordering tabs by drag & drop
7176         (Bug #506474)
7177         
7178         * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
7179         Add a menu to one of the notebooks to have a test-case for
7180         the change mentioned above.
7181
7182 2007-12-31  Philip Van Hoof  <pvanhoof@gnome.org>
7183
7184         * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
7185
7186 2007-12-31  Christian Persch  <chpe@gnome.org>
7187
7188         * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
7189         Plug a mem leak. Bug #506107.
7190
7191 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
7192
7193         * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
7194         icon cache api change.  (#506135, Kazuki Iwamoto)
7195
7196 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
7197
7198         Consider "wide-separators" and "separator-height" style properties:
7199         The separator is drawn using gtk_paint_box instead of cairo, when
7200         "wide-separators" is set. Also do not highlight details for previous
7201         or next month, if their day matches the selected day. (#339540)
7202
7203         * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
7204         in gtk_calendar_size_request and calendar_paint_day
7205         * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
7206         for selected detail separators in GtkCalendar.
7207
7208 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
7209
7210         Remove max_detail_height field from GtkCalendarPrivate. (#339540)
7211
7212         * gtk/gtkcalendar.c: Drop max_detail_height field, and use
7213         a local variable instead in gtk_calendar_size_request.
7214
7215 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
7216
7217         * tests/defaultvaluetest.c: Add enough exclusions to make the
7218         test succeed.
7219
7220 2007-12-28  Christian Persch  <chpe@gnome.org>
7221
7222         * modules/other/gail/Makefile.am:
7223         * modules/other/gail/tests/*:
7224         * configure.in: Merge tests from standalone gail. Bug #504568.
7225
7226 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
7227
7228         * gtk/gtkclipboard.c: Make the finalizer work when display is
7229         not set.
7230
7231 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
7232
7233         Draw bottom shadow of GtkCalender headings. (#506113)
7234
7235         * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
7236
7237 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
7238
7239         * gtk/gtkcalendar.c: Document the initial values of year/month/day
7240         properties.
7241
7242 2007-12-28  Christian Persch  <chpe@gnome.org>
7243
7244         * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
7245         a mem leak. Bug #506096.
7246
7247 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
7248
7249         * gtk/gtktable.c:
7250         * gtk/gtktreeview.c:
7251         * gtk/gtkprintoperation.c:
7252         * gtk/gtkprogressbar.c:
7253         * gtk/gtkmessagedialog.c:
7254         * gtk/gtknotebook.c:
7255         * gtk/gtkprinter.c:
7256         * gtk/gtkfilesel.c:
7257         * gtk/gtklabel.c:
7258         * gtk/gtklinkbutton.c:
7259         * gtk/gtkmenu.c: More default property value corrections.
7260
7261 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
7262
7263         * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
7264         accel_group unless it is set.
7265
7266 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
7267
7268         * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
7269
7270 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
7271
7272         * gtk/gtkhandlebox.c: Fix the default values of shadow and 
7273         shadow-type properties.
7274
7275         * gtk/gtkfontsel.c: Fix the default values of several properties.
7276
7277         * gtk/gtkfilesel.c: Fix the default value of the show-fileops
7278         property.
7279
7280         * gtk/gtkcurve.c: Fix the default value of the curve-type property.
7281
7282         * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
7283         property.
7284
7285 2007-12-28  Johan Dahlin  <johan@gnome.org>
7286
7287         * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
7288         (gtk_dialog_buildable_custom_tag_start): Chain up. 
7289         This makes it possible to have accelerators tags on GtkDialog 
7290         subclasses.
7291
7292 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
7293
7294         Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
7295         are shown within the widget, or just as tooltip. (#339540)
7296
7297         * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
7298         aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
7299         * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
7300         in flags vbox.
7301
7302 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
7303
7304         Try more decent appearance of calendar details separator. (#339540)
7305
7306         * gtk/gtkcalendar.c: Use different colors for drawing the separator,
7307         and make it short by one pixel on each side.
7308
7309 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
7310
7311         Apply trivial code-style changes from attachement 101101. (#339540)
7312
7313         * tests/testcalendar.c: Some updates to current GTK+ code-style.
7314
7315 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
7316
7317         Restructure testcalendar for testing calendar details. (#339540)
7318
7319         * tests/testcalendar.c: Push code arround for testing calendar details.
7320
7321 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
7322
7323         Implement GtkTooltip API for calendar details. (#339540)
7324
7325         * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
7326         Remember detail overflows in calendar_paint_day to show the tooltip
7327         only when neccessary.
7328
7329 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
7330
7331         Without setting "detail-width-chars" and "detail-height-rows"
7332         properties not only the widget has to be redrawn on certain
7333         conditions, but also its size must be recalculated. (#339540)
7334
7335         * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
7336         that function instead of gtk_widget_queue_draw.
7337
7338 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
7339
7340         Consider details for size-request and expose-event. (#339540)
7341
7342         * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
7343         is_color_attribute functions. Change gtk_calendar_size_request
7344         and calendar_paint_day to consider and show calender details.
7345
7346 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
7347
7348         * gtk/gtkcombobox.c: Introduce local priv variables to 
7349         reduce ->->
7350
7351 2007-12-27  Matthias Clasen  <mclasen@redhat.com>
7352
7353         * gtk/gtkcombobox.c: Correct the default value for the 
7354         tearoff-title property.
7355
7356         * gtk/gtkcellrenderertext.c: Fix the default value for the
7357         wrap-mode and font-scale properties.
7358
7359         * gtk/gtkaspectratio.c: Fix the default value for the ratio
7360         property.
7361
7362 2007-12-27  Matthias Clasen  <mclasen@redhat.com>
7363
7364         * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
7365         defines.  (#505708,  MINAMI Hirokazu)
7366
7367 2007-12-27  Christian Persch  <chpe@gnome.org>
7368         
7369         * Makefile.am: Install gail.pc. Bug #505859.
7370
7371 2007-12-27  Mathias Hasselmann  <mathias@openismus.com>
7372
7373         Add infrastructure for GtkCalendar details. (#339540)
7374
7375         * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
7376         Add "detail-width-chars" and "detail-height-rows" properties,
7377         and gtk_calendar_set_detail_func function.
7378
7379 2007-12-27  Xan Lopez  <xan@gnome.org>
7380
7381         * gtk/gtk.symbols: 
7382         * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy): 
7383
7384         Add gtk_border_new to avoid memory allocator confusions when using
7385         GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
7386
7387 2007-12-27  Christian Persch  <chpe@gnome.org>
7388
7389         * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from 
7390         bug #504886 not to read unitialised memory.
7391
7392 2007-12-26  Xan Lopez  <xan@gnome.org>
7393
7394         * gtk/gtkstatusbar.c (has_extra_children): take into account the
7395         modification of the internal frame contents to decide if we have
7396         extra children. (#415677)
7397
7398 2007-12-22  Christian Persch  <chpe@gnome.org>
7399
7400         * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
7401
7402 2007-12-25  Christian Persch  <chpe@gnome.org>
7403
7404         * modules/other/gail/gailwindow.c: (gail_window_initialize):
7405         Initialise |widget|. Fixes a buglet introduced by the commit from bug
7406         #505226.
7407
7408 2007-12-25  Christian Persch  <chpe@gnome.org>
7409
7410         * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
7411         
7412 2007-12-25  Christian Persch  <chpe@gnome.org>
7413
7414         * modules/other/gail/*.[ch]: Remove relocations from the atk
7415         factories. Remove unused gail_foo_new() functions. Fix object
7416         instantiation to be derivation safe by moving initialisation code
7417         from the removed gail_foo_new() functions to the
7418         AtkObjectClass::initialize implementation. Bug #505226.
7419
7420 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
7421
7422         * modules/other/gail/gailentry.c:
7423         * modules/other/gail/gailimage.c:
7424         * modules/other/gail/gailtextview.c: Remove non-multihead-safe
7425         uses of clipboards and settings.  (#504722, Christian Persch)
7426
7427 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
7428
7429         * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
7430          Kazuki IWAMOTO)
7431
7432 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
7433
7434         * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
7435         use the time and button information from the event.  (#504901,
7436         Peter Bloomfield)
7437
7438 2007-12-23  Cody Russell  <bratsche@gnome.org>
7439
7440         * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
7441         the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
7442         Fixes a regression caused by #164537 patch where transient
7443         windows that are hidden get shown (incorrectly) when their
7444         parents are minimized. (#504984)
7445         
7446 2007-12-22  Christian Persch  <chpe@gnome.org>
7447
7448         * modules/other/gail/gailcell.c:
7449         * modules/other/gail/gailcontainercell.c:
7450         * modules/other/gail/gailexpander.c:
7451         * modules/other/gail/gailtextcell.c:
7452         * modules/other/gail/gailtextview.c:
7453         * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
7454
7455 2007-12-22  Christian Persch  <chpe@gnome.org>
7456
7457         * modules/other/gail/*.c: Include config.h. Bug #504720.
7458
7459 2007-12-22  Christian Persch  <chpe@gnome.org>
7460
7461         * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
7462         handwritten get_type functions. Bug #504661.
7463
7464 2007-12-23  Xan Lopez  <xan@gnome.org>
7465
7466         * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
7467         to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
7468
7469         Patch by Sadrul Habib Chowdhury (#504804)
7470
7471 2007-12-22  Christian Persch  <chpe@gnome.org>
7472
7473         * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
7474         #504645, patch by Li Yuan.
7475
7476 2007-12-22  Christian Persch  <chpe@gnome.org>
7477
7478         * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
7479
7480 2007-12-22  Christian Persch  <chpe@gnome.org>
7481         
7482         * modules/other/gail/gail.c:
7483         * modules/other/gail/gailbutton.c:
7484         * modules/other/gail/gailcell.c:
7485         * modules/other/gail/gailcombo.c:
7486         * modules/other/gail/gailcombo.h:
7487         * modules/other/gail/gailcombobox.c:
7488         * modules/other/gail/gailentry.c:
7489         * modules/other/gail/gailexpander.c:
7490         * modules/other/gail/gailmenuitem.c:
7491         * modules/other/gail/gailnotebook.c:
7492         * modules/other/gail/gailnotebookpage.c:
7493         * modules/other/gail/gailnotebookpage.h:
7494         * modules/other/gail/gailoptionmenu.c:
7495         * modules/other/gail/gailrange.c:
7496         * modules/other/gail/gailtextview.c:
7497         * modules/other/gail/gailtreeview.c:
7498         * modules/other/gail/gailtreeview.h:
7499         * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
7500         Bug #504571.
7501
7502 2007-12-22  Matthias Clasen  <mclasen@redhat.com>
7503
7504         * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
7505         Christian Persch)
7506
7507 2007-12-21  Richard Hult  <richard@imendio.com>
7508
7509         * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
7510         Plug leak of destroyed subviews, fixes bug #504753.
7511
7512 2007-12-20  Johan Dahlin  <johan@gnome.org>
7513
7514         * tests/Makefile.am (TEST_PROGS): 
7515         * tests/defaultvaluetest.c: Add a test for default values,
7516         based on program by Christan Perch
7517
7518 2007-12-20  Johan Dahlin  <johan@gnome.org>
7519
7520         * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window): 
7521         Refactor to avoid some duplication.
7522         Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
7523         Fixes #504749, Yuri Pimenov
7524
7525 2007-12-20  Kristian Rietveld  <kris@imendio.com>
7526
7527         * configure.in: RYuri Pimenovemove leftovers from old XRandR check.  Makes
7528         the build work again on systems without xrandr 1.2.
7529
7530 2007-12-20  Christian Persch  <chpe@gnome.org>
7531
7532         * configure.in:
7533         * modules/other/gail/libgail-util/Makefile.am:
7534         Keep the same libtool version as the standalone libgail-util had.
7535         Bug #504643.
7536
7537 2007-12-20 15:30:09  Tim Janik  <timj@imendio.com>
7538
7539         * Makefile.decl: generate HTML reports for test-report perf-report full-report.
7540
7541 2007-12-20  Alexander Larsson  <alexl@redhat.com>
7542         
7543         * gdk/x11/gdkapplaunchcontext-x11.c:
7544         Update for gio API changes
7545
7546 2007-12-20  Richard Hult  <richard@imendio.com>
7547
7548         * gdk/quartz/GdkQuartzWindow.c:
7549         * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
7550         processing events after changing the size.
7551
7552 2007-12-20  Richard Hult  <richard@imendio.com>
7553
7554         * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
7555         Add stub for quartz to fix build.
7556
7557 2007-12-20  Christian Persch  <chpe@gnome.org>
7558
7559         * modules/other/gail/Makefile.am:
7560         * modules/other/gail/gailimage.c: (gail_image_class_init),
7561         (gail_image_init), (elide_underscores), (gail_image_get_name),
7562         (atk_image_interface_init), (gail_image_finalize):
7563         * modules/other/gail/gailimage.h:
7564         R modules/other/gail/gailintl.h:
7565         * po/POTFILES.skip: Use the stock item's label as the name of the
7566         accessible in gailimage.c. Bug #504246.
7567
7568 2007-12-19  Mathias Hasselmann  <mathias@openismus.com>
7569
7570         Avoid some compiler warnings and remove obsolete code. (#339540)
7571
7572         * gtk/gtkcalendar.c: Change week and year variable in
7573         calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
7574         0" block from calendar_paint_day: The feature in question is handled
7575         few lines above. Cast data returned by gtk_selection_data_get_text()
7576         to (gchar*) in gtk_calendar_drag_data_received.
7577
7578 2007-12-19 17:05:31  Tim Janik  <timj@imendio.com>
7579
7580         * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
7581
7582 2007-12-19  Johan Dahlin  <johan@gnome.org>
7583
7584         * tests/buildertest.c (test_object_properties): 
7585         Add another call to gtk_builder_add_string after using
7586         delayed properties, as reported in #504393 but already
7587         fixed in #495769.
7588
7589 2007-12-18  Christian Persch  <chpe@gnome.org>
7590
7591         * configure.in:
7592         * docs/reference/Makefile.am:
7593         * docs/reference/libgail-util/*:
7594         * gail-uninstalled.pc.in:
7595         * gail.pc.in:
7596         * modules/Makefile.am:
7597         * modules/other/Makefile.am:
7598         * modules/other/gail/*:
7599         * modules/other/gail/libgail-util/*:
7600         * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
7601
7602 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
7603
7604         * gtk/gtksettings.c: Add a gtk-im-module GTK setting
7605         * gdk/win32/gdkproperty-win32.c: 
7606         * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
7607
7608         * gtk/gtkimmodule.[hc]: 
7609         * gtk/gtkimmulticontext.[hc]: When determining the default context,
7610         look at the gtk-im-module setting, and listen for changes to the
7611         setting.  (#502446, Akira Tagoh)
7612
7613 2007-12-17  Kristian Rietveld  <kris@imendio.com>
7614
7615         * gtk/gtktooltip.c (gtk_tooltip_finalize),
7616         (gtk_tooltip_set_last_window): use a weak pointer to set last_window
7617         to NULL as soon as it's destroyed.  (#496546, patch from
7618         Benjamin Berg).
7619
7620 2007-12-17  Kristian Rietveld  <kris@imendio.com>
7621
7622         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
7623         always determine what arrow to show if show_sort_indicator is true.
7624         (#352738, Chris Vine).
7625
7626 2007-12-16  Mathias Hasselmann  <mathias@openismus.com>
7627
7628         Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
7629         Sébastien Granjoux)
7630
7631         * gtk/gtkpaned.c: Call gtk_container_forall instead of
7632         gtk_container_foreach in get_child_panes.
7633
7634 2007-12-15  Xan Lopez  <xan.lopez@nokia.com>
7635
7636         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
7637
7638         Plug leak: When reordering the info in the list the old node is
7639         removed but not freed. (#503569)
7640
7641 2007-12-15  Sebastian Dröge  <slomo@circular-chaos.org>
7642
7643         * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
7644         Use u32 instead of __u32 and u8 instead of __u8 as the other types
7645         are deprecated since DirectFB 1.0.0. If compiling with an older
7646         version define the new type name to the old types. Fixes bug #503190.
7647
7648 2007-12-14  Ray Strode  <rstrode@redhat.com>
7649
7650         * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
7651         instead of g_signal_connect_after (..., "realize", ...) as an
7652         alternative to gtk_widget_realize () (bug 503537).
7653
7654 2007-12-14  Michael Natterer  <mitch@imendio.com>
7655
7656         * gdk/gdkinternals.h
7657         * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
7658         individual files.
7659
7660         * gdk/gdkapplaunchcontext.c
7661         * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
7662         header already includes everything now.
7663
7664 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
7665
7666         Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
7667         next stable release shall be 2.16, not 2.14 - even if disagree.
7668
7669         * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
7670
7671 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
7672
7673         Change GtkToolItem to retrieve its properties from GtkToolShell
7674         interface, instead of relying on being child of a GtkToolbar.
7675         (#5034079)
7676
7677         * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
7678         docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
7679         * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
7680         * gtk/gtktoolbar.c: Implement GtkToolShellIface.
7681         * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
7682         * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
7683         Take section docs from template file and update them for GtkToolShell.
7684         * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
7685         * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
7686
7687 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
7688
7689         Extract loading of GtkPageSetup and GtkPrintSettings from their
7690         *_new_*() functions and move that code into separate
7691         *_load_*() functions (#475565).
7692
7693         * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
7694         Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
7695         gtk_print_settings_load_file and gtk_print_settings_load_key_file.
7696         Change the matching *_new_*() functions to use those functions.
7697
7698 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
7699
7700         * gtk/gtk.symbols:
7701         * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
7702
7703 2007-12-14  Kristian Rietveld  <kris@imendio.com>
7704
7705         * gtk/tests/liststore.c:
7706         * gtk/tests/treestore.c: added tests for insertion functions.
7707
7708 Thu Dec 13 13:14:50 2007  Søren Sandmann  <sandmann@redhat.com>
7709
7710         * Add RandR 1.2 support
7711
7712         - New monitors_changed signal - New API to get width/height of
7713           monitors, and the name of the plug
7714
7715 2007-12-13  Kristian Rietveld  <kris@imendio.com>
7716
7717         * gtk/tests/liststore.c:
7718         * gtk/tests/treestore.c: test the move and swap functions on a
7719         store with only one node.
7720
7721 2007-12-13  Kristian Rietveld  <kris@imendio.com>
7722
7723         * gtk/gtktestutils.c (gtk_test_init): add a call to
7724         g_test_bug_base().
7725
7726         * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
7727         appriopriate tests.
7728
7729 2007-12-13  Kristian Rietveld  <kris@imendio.com>
7730
7731         * gtk/tests/liststore.c:
7732         * gtk/tests/treestore.c: start composing tests for the list and tree
7733         store.
7734
7735         * gtk/tests/treeview-scrolling.c: added automated tests for
7736         GtkTreeView's scrolling "subsystem".
7737
7738         * gtk/tests/Makefile.am: updated; added new test programs.
7739
7740 2007-12-13  Mathias Hasselmann  <mathias@openismus.com>
7741
7742         Make the code compile again after the GdkAppLaunchContext changes.
7743
7744         * configure.in: Add gio-2.0 to GDK_PACKAGES.
7745         * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
7746
7747 2007-12-12  Matthias Clasen  <mclasen@redhat.com>
7748
7749         * gdk/gdkapplaunchcontext.c: Add docs
7750
7751 2007-12-12  Matthias Clasen  <mclasen@redhat.com>
7752
7753         * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext 
7754         in gdk, providing startup notification.  (#503203)
7755
7756         * gdk/x11/gdkapplaunchcontext-x11.c: 
7757         * gdk/win32/gdkapplaunchcontext-win32.c:
7758         * gdk/quartz/gdkapplaunchcontext-quartz.c: 
7759         * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
7760         parts. All but X11 are just empty stubs for now.
7761
7762         * gdk/gdk.symbols:
7763         * gdk/gdkinternals.h:
7764         * gdk/Makefile.am:
7765         * gdk/x11/Makefile.am: 
7766         * gdk/win32/Makefile.am: 
7767         * gdk/quartz/Makefile.am: 
7768         * gdk/directfb/Makefile.am: Necessary glue.
7769
7770 2007-12-12  Mathias Hasselmann  <mathias@openismus.com>
7771
7772         * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
7773
7774 2007-12-11  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
7775
7776         * gdk/directfb/gdktestutils-directfb.c:
7777         * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
7778         which adds testing functions to the DirectFB backend.
7779
7780 2007-12-11  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
7781
7782         * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
7783         Ciccani which fixes the mixing of gdk and cairo rendering.
7784
7785 2007-12-11  Mathias Hasselmann  <mathias@openismus.com>
7786
7787         * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
7788         on "drag-motion" handlers. Clearify documentation for
7789         gtk_drag_dest_set.
7790
7791 2007-12-11 15:44:01  Tim Janik  <timj@imendio.com>
7792
7793         * buildertest.c: made unnecessarily exported symbols static.
7794         switched g_return_if_fail() statements in tests to assertions.
7795         special cased currently failing Widget/accesibility test to
7796         run only for g_test_thorough(), so it doesn't break make check.
7797         some coding style fixes.
7798
7799         * Makefile.am: added buildertest to TEST_PROGS.
7800
7801 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
7802
7803         * docs/tutorial/gtk-tut.sgml:
7804           Use gtk_widget_get_parent_window() instead of widget->parent->window.
7805
7806 2007-12-10  Richard Hult  <richard@imendio.com>
7807
7808         * gdk/quartz/Makefile.am:
7809         * gdk/quartz/gdkquartz.h:
7810         * gdk/quartz/gdkwindow-quartz.c: Install backend specific
7811         header (bug #405915). Also add a getter for the toplevel nswindow.
7812
7813 2007-12-10  Richard Hult  <richard@imendio.com>
7814
7815         * gdk/quartz/gdkdrawable-quartz.c:
7816         (gdk_quartz_drawable_get_context),
7817         (gdk_quartz_drawable_release_context):
7818         * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
7819         (gdk_event_check), (gdk_event_dispatch), (poll_func):
7820         * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
7821         used for each drawing context and in prepare, dispatch and poll
7822         with one that exists across each main loop iteration. Fixes leaks
7823         on leopard and protects against future leaks introduce when the
7824         underlying system changes again (bug #492977).
7825
7826 2007-12-10  Richard Hult  <richard@imendio.com>
7827
7828         * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
7829         Fix the check for no changes to position and size.
7830
7831 2007-12-10  Richard Hult  <richard@imendio.com>
7832
7833         * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
7834         sized areas at (0, 0), patch from Paul Davis.
7835
7836 2007-12-10  Richard Hult  <richard@imendio.com>
7837
7838         * gdk/quartz/gdkprivate-quartz.h: 
7839         * gdk/quartz/gdkeventloop-quartz.c:
7840         (_gdk_quartz_event_loop_get_pending),
7841         (_gdk_quartz_event_loop_check_pending),
7842         (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
7843         (gdk_event_check), (gdk_event_dispatch):
7844         * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
7845         (_gdk_events_queue): Fix a bug where we could end up trying to
7846         handle the same event more than once. Based on patch from Paul
7847         Davis.
7848
7849 2007-12-10  Tor Lillqvist  <tml@novell.com>
7850
7851         * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
7852         package. (#502850)
7853
7854 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
7855
7856         * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
7857         to avoid further fallout from the fix for bug 388321.
7858
7859 2007-12-09 09:56:06  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
7860
7861         * gdk/directfb/gdkgc-directfb.c:
7862         * gdk/directfb/gdkdrawable-directfb.c:
7863         * gdk/directfb/gdkdirectfb.h:
7864         * gdk/directfb/gdkwindow-directfb.c:
7865         * gdk/directfb/gdkprivate-directfb.h: Committed several patches
7866         (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
7867         blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
7868         opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
7869         which are expected to improve the performance of the DirectFB backend.
7870         Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
7871
7872 2007-12-07  Matthias Clasen  <mclasen@redhat.com>
7873
7874         * gtk/gtkcontainer.c: Correct the documentation of child
7875         property getter arguments.  (#501992, David Brigada)
7876
7877 2007-12-07  Matthias Clasen  <mclasen@redhat.com>
7878
7879         * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
7880         leak pixbufs.  (#502250, Yevgen Muntyan)
7881
7882 2007-12-07  Yevgen Muntyan  <muntyan@tamu.edu>
7883
7884         * gtk/gtkprintunixdialog.c:
7885         * gtk/gtkpagesetupunixdialog.c: added alternative button order in
7886         Print and Page Setup dialogs (#502202).
7887
7888 2007-12-07 13:16:33  Tim Janik  <timj@imendio.com>
7889
7890         * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
7891         Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
7892         of XVFB_START, since it's the GTESTER invokation that needs this.
7893
7894 2007-12-06  Tommi Komulainen  <tommi.komulainen@iki.fi>
7895
7896         * gdk-pixbuf/gdk-pixbuf.symbols:
7897         * gdk/gdk.symbols:
7898         * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
7899         positives in abicheck.sh
7900
7901 2007-12-06 18:45:06  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
7902
7903         * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
7904         GDK events generations in the DirectFB backend.
7905
7906 2007-12-06 13:55:06  Tim Janik  <timj@imendio.com>
7907
7908         * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
7909         set of likely unused display ids, because MacOS has no seq(1) command.
7910
7911 2007-12-06  Richard Hult  <richard@imendio.com>
7912
7913         * gdk/quartz/gdkevents-quartz.c:
7914         (synthesize_crossing_events_for_ns_event): Fix warning when
7915         switching spaces in leopard.
7916
7917 2007-12-06 13:38:36  Tim Janik  <timj@imendio.com>
7918
7919         * tests/floatingtest.c: ported to new testing framework.
7920
7921         * tests/Makefile.am: run floatingtest as testing framework test.
7922
7923 2007-12-06 10:44:52  Tim Janik  <timj@imendio.com>
7924
7925         * tests/autotestfilechooser.c: majorly speed up execution by reducing
7926         timeouts and converting main loop sleeps to pending/iterate loops with
7927         very low priority async handlers. eliminate output for non-verbose
7928         tests. assert successfull subtests in all test functions. use testing
7929         framework in main().
7930
7931         * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
7932         executed inside Xvfb upon make check.
7933
7934 2007-12-06 08:23:38  Tim Janik  <timj@imendio.com>
7935
7936         * tests/objecttests.c: use string comparisons for string property
7937         values and get rid of referencing symbols in array initialization.
7938
7939 2007-12-05 18:59:59  Tim Janik  <timj@imendio.com>
7940
7941         * gtk+/Makefile.decl: run tests in current dir after setting up the
7942         logging directory, so their results get properly merged into the
7943         resulting test log.
7944
7945         * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
7946         tests to loop over registered Gdk/Gtk+ types.
7947
7948         * gtk+/tests/objecttests.c: new test program, implements automated
7949         property tests. several properties are blacklisted because they
7950         seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
7951         can be used to test blacklisted properties and see which proprty failed.
7952
7953 2007-12-04  Richard Hult  <richard@imendio.com>
7954
7955         * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
7956         Fully initialize the root window, fixes bug #501583.
7957
7958 2007-12-04  Matthias Clasen  <mclasen@redhat.com>
7959
7960         * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
7961         crash epiphany.
7962
7963 2007-12-03  Richard Hult  <richard@imendio.com>
7964
7965         * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
7966         Don't crash when dragging from a source that doesn't support uri
7967         lists (bug #499868, Paul Davis).
7968
7969 2007-12-03  Richard Hult  <richard@imendio.com>
7970
7971         * gdk/quartz/gdkwindow-quartz.c:
7972         (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
7973         parent relative bg pixmap is set, and no parent has a bg
7974         pixmap. Fixes bug #500804.
7975
7976 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
7977
7978         Two optimizations for icon cache lookups.
7979
7980         * gtk/gtkiconcache.[hc]:
7981         * gtk/gtkicontheme.c: Remember the directory index for
7982         subdirectories, instead of running over the directory list
7983         again and again.
7984
7985         * gtk/gtkiconcache.c (find_image_offset): Remember the last 
7986         chain and try it first; this helps with the the usage patterns
7987         in gtkicontheme.c, where the same icon is queried for a lot
7988         of subdirectories.
7989
7990 2007-12-03 15:18:17  Tim Janik  <timj@imendio.com>
7991
7992         * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
7993         functions from header files. this should be portable across linux and
7994         Mac OS, unlike the previpous sed expression.
7995
7996 2007-12-1  Cody Russell  <bratsche@gnome.org>
7997
7998         * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
7999         On Windows, queue a redraw of child2 whenever we set
8000         the pane handle position.  This is unfortunately kind
8001         of hacky, but solves the visual artifacts that were
8002         occuring on at least certain types of child widgets
8003         (e.g., text views and tree views) that are inside
8004         horizontal or vertical panes. (#144269)
8005
8006 2007-11-30  Matthias Clasen  <mclasen@redhat.com>
8007
8008         * gtk/gtkrc.c: Fix doc typos.  (#500672, David Lambert)
8009
8010 2007-11-29  Matthias Clasen  <mclasen@redhat.com>
8011
8012         * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
8013         debug spew.
8014
8015 2007-11-29  Matthias Clasen  <mclasen@redhat.com>
8016
8017         * gtk/Makefile.am: Fix ordering of subdirs.
8018
8019 2007-11-28  Tor Lillqvist  <tml@novell.com>
8020
8021         A proper build of GNU libintl is supposed to export the variable
8022         _nl_msg_cat_cntr. configure looks for that variable in order to
8023         recognize GNU gettext. If it sees that it is indeed GNU gettext
8024         that is used, it decides to install message catalogs in
8025         share/locale, otherwise in lib/locale. Until now on Windows I have
8026         built GTK+ against a build of GNU gettext that did not export
8027         _nl_msg_cat_cntr. But this will change, so we can't assume message
8028         catalogs are always in lib/locale.
8029
8030         * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
8031         GTK_LOCALEDIR being either in "lib" or "share". Move the function
8032         before the inclusion of gtkprivate.h so that it sees the original
8033         GTK_LOCALEDIR.
8034
8035         * gtk-zip.sh.in: Check whether the message catalogs are in
8036         share/locale or lib/locale.
8037
8038         * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
8039         that the code in _gtk_get_localedir() will find the slashes.
8040
8041 2007-11-28  Tor Lillqvist  <tml@novell.com>
8042
8043         * gtk/Makefile.am: Improve portability. The -o option is present
8044         only in newish GNU egreps. Use one more sed in the pipeline
8045         instead.
8046
8047 2007-11-28  Tor Lillqvist  <tml@novell.com>
8048
8049         Fix #375893, patch by Ben Hague:
8050
8051         * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
8052         around GetLogicalDrives() that takes also the viewable drive
8053         restrictions in the Registry (which are usually the result of an
8054         Active Directory Group Policy) into account.
8055
8056         (check_volumes, gtk_file_system_win32_list_volumes) Call
8057         get_viewable_logical_drives() instead of GetLogicalDrives().
8058
8059 2007-11-27  Matthias Clasen <mclasen@redhat.com>
8060
8061         * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
8062         variables to silence valgrind.  (#495124, Morten Welinder)
8063
8064 2006-11-26  Ryan Lortie  <desrt@desrt.ca>
8065
8066         * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
8067         that the construct_child function is responsible for returning a
8068         reference.
8069         * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
8070         objects from constructors
8071         * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
8072         g_object_ref() to this construction function (it's the only
8073         implementer in GTK)
8074
8075         Fixes #496645.
8076
8077 2006-11-26  Ryan Lortie  <desrt@desrt.ca>
8078
8079         * gtkbuilder.c: remove concept of root objects and just refcount
8080         all objects in the builder.  Fixes #496651.
8081
8082 2007-11-26  Ryan Lortie  <desrt@desrt.ca>
8083
8084         * tests/buildertest.c (test_window): fix invalid free
8085
8086 2007-11-26  Josselin Mouette <joss@malsain.org>
8087
8088         reviewed by: Federico Mena Quintero
8089
8090         * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
8091         (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
8092         (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
8093         Make the shortcuts activate with a single click. (#148828)
8094         Fix a few things affected by the change:
8095           - Set selection mode to GTK_SELECTION_SINGLE to allow a case 
8096             where no shortcut is selected.
8097           - Don't activate a shortcut in the response callback.
8098           - Filter out duplicate entries in volumes and bookmarks to 
8099             avoid the selection to change when reordering them with DnD.
8100
8101 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
8102
8103         * gtk/gtkmain.c:
8104         * gtk/gtknotebook.c:
8105         * gtk/gtkplugprivate.h:
8106         * gtk/gtksocket.c:
8107         * gtk/gtksocketprivate.h:
8108         * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
8109
8110 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
8111
8112         * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
8113         (#495574, Richard Hult)
8114
8115 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
8116
8117         * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
8118         String change !   (#376361, Sven Neumann)
8119
8120 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
8121
8122         * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
8123         destroy.
8124         (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
8125         Welinder)
8126
8127 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
8128
8129         * gtk/gtkassistant.c: Improve alternative button
8130         ordering.  (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
8131
8132 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
8133
8134         * gtk/gtkcalendar.c: Fix a theming problem with colors
8135         in GtkCalendar.  (#499703, Michael Hofmann)
8136
8137 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
8138
8139         * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
8140
8141 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
8142
8143         Use templates for glib-mkenums calls instead of 
8144         complicated commandlines in Makefiles.  (#429910)
8145
8146         * gdk-pixbuf/Makefile.am:
8147         * gdk/Makefile.am: 
8148         * gtk/Makefile.am: 
8149         * perf/Makefile.am: Use templates for glib-mkenums
8150
8151         * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
8152         * gdk/gdkenumtypes.[ch].template: 
8153         * gtk/gtktypebuiltings.[ch].template: 
8154         * perf/typebuiltins.[ch].template: The templates
8155
8156 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
8157
8158         * gtk/gtkfilechooserbutton.c:
8159         * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
8160         some compilers choke on that.  (#467722)
8161
8162 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
8163
8164         * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
8165         about hook setup.  (#425004, Emmanuele Bassi)
8166
8167 2007-11-26  Tor Lillqvist  <tml@novell.com>
8168
8169         * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
8170         monitor the window currently is on, not always the primary
8171         monitor. (#463865, Tim Evans)
8172
8173 2007-11-26  Tor Lillqvist  <tml@novell.com>
8174
8175         * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
8176
8177         * gdk/win32/Makefile.am: Add it.
8178
8179 2007-11-26  Tor Lillqvist  <tml@novell.com>
8180
8181         * configure.in: Don't add jasper to all_loaders if no libjasper.
8182
8183 2007-11-25  Bastien Nocera  <hadess@hadess.net>
8184
8185         * configure.in: Add detection for libjasper, used by the
8186         gdk-pixbuf JPEG2000 loader
8187
8188 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
8189
8190         * configure.in: Require gtk-doc 1.8
8191
8192         * */*.c: Use gtk-doc abbreviations for examples in docs.
8193
8194 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
8195
8196         * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
8197         typo.  (#498922)
8198
8199 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
8200
8201         * gtk/gtkdialog.c: Move signal and property documentation inline,
8202         fix a problem with the ::response signal docs.  (#499133, Josselin
8203         Mouette)
8204
8205 2007-11-22 15:48:26  Tim Janik  <timj@imendio.com>
8206
8207         * Makefile.decl: initialize automake variables EXTRA_DIST and
8208         TEST_PROGS for unconditional appending via += in other makefiles.
8209         define recursive test targets: test, test-report, perf-report,
8210         full-report, as described here:
8211       http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
8212         the test targets will execute Gtk+ test programs within an Xvfb session.
8213
8214         * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
8215
8216         * gtk/tests/testing.c: use g_test_add_func() to register tests and use
8217         g_test_run() to run the tests to integrate with the testing framework.
8218
8219         * gtk/tests/Makefile.am: removed exemplary testing rules.
8220
8221         * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
8222         * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
8223         * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
8224         * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
8225         * docs/reference/Makefile.am, docs/tools/Makefile.am:
8226         * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
8227         * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
8228         * demos/gtk-demo/Makefile.am, demos/Makefile.am:
8229         * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
8230         * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
8231         * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
8232         * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
8233         * modules/engines/ms-windows/Theme/Makefile.am:
8234         * modules/engines/ms-windows/Makefile.am:
8235         * modules/engines/Makefile.am,  modules/engines/pixbuf/Makefile.am:
8236         * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
8237         * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
8238         * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
8239         * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
8240         * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
8241         include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
8242
8243 2007-11-22  Matthias Clasen  <mclasen@redhat.com>
8244
8245         * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
8246         (#485662, patch by Herbert Valerio Riedel)
8247
8248 2007-11-22  Matthias Clasen  <mclasen@redhat.com>
8249
8250         * gtk/gtktextiter.c: Fix an aliasing problem.  (#347585, Ed Catmur)
8251
8252 2007-11-21  Richard Hult  <richard@imendio.com>
8253
8254         * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
8255         stubs for the testing functions to fix the build.
8256
8257 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
8258
8259         * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
8260         (#467711, The Written Word)
8261
8262 2007-11-21  Ross Burton  <ross@openedhand.com>
8263
8264         * gdk/x11/gdksettings.c:
8265         Add xsetting for gtk-scrolled-window-placement (#458103).
8266
8267 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
8268
8269         * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
8270         (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
8271         (#469239, Michael Natterer)
8272
8273 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
8274
8275         * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
8276         Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
8277         gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
8278         (#436536, Tommi Komulainen)
8279
8280 2007-11-21  Matthias Clasen  <mclasen@redhat.com>
8281
8282         * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
8283         property.  (#489782, Jan Janech)
8284
8285 2007-11-20  Matthias Clasen  <mclasen@redhat.com>
8286
8287         * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
8288         frames.  (#107398, Owen Taylor, Miguel Gomez)
8289
8290 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
8291
8292         Moved Gdk test functions from Gtk+ to Gdk test utils.
8293
8294         * gdk/Makefile.am: added gdktestutils.h to public includes.
8295
8296         * gdk/gdk.h: added gdktestutils.h to public includes.
8297
8298         * gdk/gdk.symbols: added gdk_test_simulate_button,
8299         gdk_test_simulate_key, gdk_test_render_sync.
8300
8301         * gdk/gdktestutils.h: new file, added prototypes for
8302         gdk_test_simulate_button, gdk_test_simulate_key, gdk_test_render_sync.
8303
8304         * gdk/x11/Makefile.am: build gdktestutils-x11.c.
8305
8306         * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
8307         gdk_test_simulate_key, gdk_test_render_sync.
8308
8309         * gtk/gtktestutils.c:
8310         * gtk/gtktestutils.h:
8311         * gtk/gtk.symbols: removed gtk_test_simulate_button
8312         gtk_test_simulate_key, gtk_test_xserver_render_sync.
8313
8314         * gtk/tests/testing.c: call gdk_test_render_sync.
8315
8316 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
8317
8318         Added unit tests for Gtk+ testing utilities.
8319
8320         * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
8321         utility functions. some g_test_* related portions are disabled and need
8322         to be enabled once Gtk+ depends on a new glib with the GLib testing
8323         framework integrated.
8324
8325         * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+
8326         tests.  added exemplary test rules to run tests inside Xvfb. this
8327         needs to depend on gtester for full fledged testing.
8328
8329         * gtk/Makefile.am: build gtk+/gtk/tests, define
8330         -DGTK_ENABLE_BROKEN when collecting _get_type functions to catch
8331         e.g. gtk_text_get_type().
8332
8333         * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
8334
8335 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
8336
8337         Added Gtk+ testing utilities.
8338
8339         * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility
8340         functions.  for the most part, the functions herein involve
8341         navigating and interacting with dialog elements programatically,
8342         to automate user interaction tests of dialogs and widgets.
8343
8344         * gtk/gtk.h: include gtk/gtktestutils.h as public API.
8345
8346         * gtk/gtk.symbols: added gtk_test_* symbols.
8347
8348         * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into
8349         the build.  generate gtktypefuncs.c which contains a list of all
8350         _get_type functions in Gtk+ and Gdk.
8351
8352 2007-11-20  Bastien Nocera  <hadess@hadess.net>
8353
8354         * configure.in: add support for conditional icns gdk-pixbuf loader
8355         (Closes: #395738)
8356
8357 2007-11-19 10:31:26  Tim Janik  <timj@imendio.com>
8358
8359         * configure.in: updated version number to 2.15.0 for development.
8360
8361 2007-11-19 10:27:39  Tim Janik  <timj@imendio.com>
8362
8363         === Branch for 2.12 ===
8364