]> Pileus Git - ~andy/gtk/blob - ChangeLog
Make gtk-doc happy:
[~andy/gtk] / ChangeLog
1 2008-03-06  Johan Dahlin  <johan@gnome.org>
2
3         Make gtk-doc happy:
4         
5         * gtk/gtkstyle.c: npoints->n_points.
6         * gtk/gtktestutils.h: widget->spinner
7         * gtk/gtktestutils.c: argc->argcp, argv->argvp
8
9 2008-03-06  William Lachance <wrlach@gmail.com>
10
11         * gtk/gtkfilechooserdefault.c: Oops, forgot to make the raw "%H:%M" 
12         string localizable (as it should be). 
13
14 2008-03-06  William Lachance <wrlach@gmail.com>
15
16         * gtk/gtkfilechooserdefault.c: Don't print "Today at" in front of
17         the time for today's date. It's redudant. (see bug #410517).
18
19 2008-03-06  Xan Lopez  <xan@gnome.org>
20
21         * gtk/gtkfixed.c: fix typo in documentation.
22
23 2008-03-06  Johan Dahlin  <jdahlin@async.com.br>
24
25         * gtk/gtkitemfactory.h:
26         * gtk/gtktypeutils.h:
27         Move GtkTranslateFunc to gtktypeutils.h so we can completely
28         deprecate gtkitemfactory.h. 
29
30         * gtk/gtkactiongroup.h:
31         * gtk/gtkstock.h:
32         Do not include gtkitemfactory.h directly, instead include gtktypeutils.h
33
34         * README.in: 
35         Add a note describing this slight incompatible change
36         
37 2008-03-06  Johan Dahlin  <johan@gnome.org>
38
39         * gtk/gtkpreview.h: Avoid double-deprecation.
40
41 2008-03-06  Michael Natterer  <mitch@imendio.com>
42
43         * gtk/gtk.h
44         * gtk/Makefile.am: move the remaining deprecated widgets to the
45         separate sections and replaced spaces by tabs in Makefile.am
46
47 2008-03-05  Johan Dahlin  <johan@gnome.org>
48
49         * configure.in: Add --disable-cups option.
50         (#513826, Alberto Ruiz)
51
52         * gtk/gtk.h: 
53         * gtk/Makefile.am:
54         Separate broken and deprecated sources and headers into different sections
55
56         * tests/buildertest.c (test_list_store): Restore accidentally broken test.
57
58 2008-03-05  Kristian Rietveld  <kris@imendio.com>
59
60         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted):
61         short-circuit in case an empty root level would be build (and thus
62         directly destroyed) if no virtual root has been set.
63
64 2008-03-04  Matthias Clasen  <mclasen@redhat.com>
65
66         * modules/printbackends/cups/gtkprintbackendcups.c: 
67         Honor cups user default options from ~/.cups/lpoptions
68         (#469210, Stijn Hoop)
69
70 2008-03-04  Michael Natterer  <mitch@imendio.com>
71
72         * gtk/gtkcellview.c
73         * gtk/gtkcolorbutton.c
74         * gtk/gtkentrycompletion.c
75         * gtk/gtkfontbutton.c
76         * gtk/gtkiconview.c
77         * gtk/gtkobject.c
78         * gtk/gtkpaned.c
79         * gtk/gtkpreview.c: don't include "gtksignal.h".
80
81         * gtk/gtkfilefilter.c
82         * gtk/gtkrecentchoosermenu.c
83         * gtk/gtkrecentfilter.c
84         * gtk/gtktext.c: don't include "gtkobject.h".
85
86 2008-03-04  Simos Xenitellis  <simos@gnome.org>
87
88         Patch from http://bugzilla.gnome.org/show_bug.cgi?id=321896
89         - Synch gdkkeysyms.h/gtkimcontextsimple.c with X.org 6.9/7.0
90         
91         * gdk/gdkkeysyms.h: Updated file from upstream (using script from 
92         same directory).
93         
94         * gtk/gtkimcontextsimpleseqs.h (gtk_compose_seqs_compact[]): New 
95         file, contains compose sequences that used to exist in 
96         gtk/gtkimcontextsimple.c
97
98         * gtk/compose-parse.py: Script to generate compose 
99         sequences from upstream (Xorg).
100
101         * gtk/gtkimcontextsimple.c (compare_seq_index, check_compact_table, 
102         check_algorithmically): New functions. First two search in
103         gtk_compose_seqs_compact[] for matching compose sequence, third
104         tries NFC normalisation on incoming compose sequence.
105         (gtk_im_context_simple_filter_keypress): 
106         Adds searching with check_compact_table(), check_algorithmically().
107
108 2008-03-03  Carlos Garnacho  <carlos@imendio.com>
109
110         Fix http://bugzilla.gnome.org/show_bug.cgi?id=417389 - Make the
111         scrollwheel work in GtkPathBar.
112
113         * gtk/gtkpathbar.h (struct _GtkPathBar): New field event_window.
114
115         * gtk/gtkpathbar.c (gtk_path_bar_realize): New function.  Create
116         an input-only window, event_window, which we'll use to capture
117         scroll events.
118         (gtk_path_bar_map): Show the event_window under the rest of the
119         windows, so it will be a catch-all for unhandled events.
120
121 2008-03-03  Sven Neumann  <sven@gimp.org>
122
123         * gtk/gtkfilechooserbutton.c (G_DEFINE_TYPE_WITH_CODE): fixed a
124         typo in the documentation of the GtkFileChooserButtons::file-set
125         signal (see bug #353196).
126
127 2008-03-03  Tor Lillqvist  <tml@novell.com>
128
129         * gtk-zip.sh.in: Add gail bits. Simplify check for message catalog
130         location.
131
132 2008-03-02  Johan Dahlin  <johan@gnome.org>
133
134         * gtk/gtkitemfactory.h: Use void instead of empty arguments.
135         (#508760, Philip Van Hoof)
136
137         * gtk/gtkiconview.c (gtk_icon_view_paint_item): 
138         Remove left-over focus_pad variable.
139         (#490892, Claudio Saavedra)
140
141         * docs/tutorial/gtk-tut.sgml: Remove an extra space and swap word order
142         (#518166, Matt Kraai)
143
144 2008-03-02  Johan Dahlin  <johan@gnome.org>
145
146         * docs/tutorial/gtk-tut.sgml: Add a missing space
147         (#517954, Matt Kraai)
148
149 2008-03-03  Tor Lillqvist  <tml@novell.com>
150
151         * modules/engines/ms-windows/msw_style.c (draw_box): Check that
152         the widget is a GtkButton before casting.
153
154 2008-03-02  Johan Dahlin  <johan@gnome.org>
155
156         * configure.in: Compare using = instead of ==, which is portable.
157         (#490787, Thomas Klausner)
158
159 2008-03-02  Johan Dahlin  <johan@gnome.org>
160
161         * tests/Makefile.am (noinst_PROGRAMS): Remove autotestkeywords, it's added later,
162         fixes non-C++ build.
163         (#496032, Nelson Benitez)
164
165 2008-02-29  Johan Dahlin  <johan@gnome.org>
166
167         * demos/gtk-demo/demo.ui:
168         * gtk/gtkbuilderparser.c:
169         * gtk/gtkbuilderprivate.h:
170         * gtk/gtkliststore.c:
171         * tests/buildertest.c:
172         Add translatable/context and comment attributes on
173         <col> tags under a GtkListStore. Refactor parts of the
174         translation api and make it available inside gtk+ itself.
175         Update tests and example.
176         Fixes a part of #518642
177
178 2008-02-29  Johan Dahlin  <johan@gnome.org>
179
180         * gtk/gtkbuilder.c:
181         Add missing g_return_val_if_fail checks for public API.
182
183         * gtk/gtkbuilderparser.c:
184         * gtk/gtkbuilderprivate.h:
185         Do not use g_error for a few more errors, instead set
186         the GError sent in through add_from_file/add_from_string.
187         * tests/buildertest.c:
188         Add a couple of new parsing tests.
189         (#519199, Pavel Syomin)
190
191 2008-02-29  Federico Mena Quintero  <federico@novell.com>
192
193         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): When
194         refreshing an existing folder (i.e. when we are about to reload
195         its file list), turn off the folder's is_finished_loading flag.
196         Otherwise callers which do ::is_finished_loading() followed by
197         ::list_children() will get nothing.
198
199 2008-02-29  Cody Russell  <bratsche@gnome.org>
200
201         * docs/tutorial/gtk-tut.sgml: Fix tutorial documentation to
202         say 'gtk_main_quit()' instead of 'gtk_quit()'. (#517908, Matt Kraai)
203
204 2008-02-28  Matthias Clasen  <mclasen@redhat.com>
205
206         * gtk/gtkcalendar.h: Remove trailing comma from enum to
207         make the compiler happy.  (#517295, Sylvain Pasche)
208
209 2008-02-27  Michael Natterer  <mitch@imendio.com>
210
211         * gtk/gtkmenushell.c
212         * gtk/gtktable.c
213         * gtk/gtktext.c
214         * gtk/gtktipsquery.c
215         * gtk/gtktoolbar.c
216         * gtk/gtktreeitem.c
217         * gtk/gtktreeview.c
218         * gtk/gtkviewport.c
219         * gtk/gtkwin32embedwidget.c: remove g_return_if_fail() from
220         private functions and virtual function implementations.
221
222 2008-02-27  Richard Hult  <richard@imendio.com>
223
224         * gdk/quartz/GdkQuartzView.c:
225         * gdk/quartz/GdkQuartzView.h:
226         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations):
227         Fix performance regression for borderless transparent windows
228         with shadow.
229
230 2008-02-27  Emmanuele Bassi  <ebassi@gnome.org>
231
232         * tests/testgtk.c: Revert back to r19454.
233
234 2008-02-27  Sven Neumann  <sven@gimp.org>
235
236         * gtk/Makefile.am (GTK_PRINT_PREVIEW_COMMAND): when building the
237         Quartz backend, use a native Mac OS X application for the print
238         preview (bug #518624).
239
240 2008-02-26  Michael Natterer  <mitch@imendio.com>
241
242         * gtk/gtktextbufferserialize.c (parse_info_free): don't g_free()
243         the members of info->tag_stack since they are a) gobjects and b)
244         not even owned by us, ugh... Fixes crash when deserializing fails.
245
246 2008-02-26  Sven Neumann  <sven@gimp.org>
247
248         * docs/tools/shooter.c (find_toplevel_window)
249         * docs/tools/widgets.c (find_toplevel_window): fixed signedness of
250         argument passed to XQueryTree().
251
252 2008-02-25  Matthias Clasen  <mclasen@redhat.com>
253
254         * gtk/gtksearchenginebeagle.c: Look for libbeagle.so.1 and
255         don't use beagle_query_add_hit_type.
256
257 2008-02-25  Richard Hult  <richard@imendio.com>
258
259         * gdk/quartz/gdkevents-quartz.c
260         (_gdk_quartz_events_trigger_crossing_events): Fix build on tiger.
261
262 2008-02-24  Richard Hult  <richard@imendio.com>
263
264         * gdk/quartz/GdkQuartzWindow.c: Prevent hidden windows from being
265         shown without gdk's control when clicking the dock icon.
266
267 2008-02-24  Richard Hult  <richard@imendio.com>
268
269         * gdk/quartz/gdkprivate-quartz.h:
270         * gdk/quartz/gdkeventloop-quartz.c: (got_fd_activity), (poll_func):
271         Use the subtype field for the custom event that is used to wake up
272         the mainloop so we can have other custom event types.
273
274         * gdk/quartz/gdkevents-quartz.c:
275         (_gdk_quartz_events_trigger_crossing_events):
276         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal): Create
277         crossing events after showing a window if necessary, to work
278         around problems with the tracking rect API.
279
280 2008-02-22  Dominic Lachowicz  <domlachowicz@gmail.com>
281
282         * demos/gtk-demo/printing.c (do_printing): gtk-demo printing gives 
283         wrong results on win32 because it doesn't set the printing units, 
284         which affect the transformation of the cairo context 
285         (#347125, Erik van Pienbroek)
286
287 2008-02-22  Tor Lillqvist  <tml@novell.com>
288
289         * tests/pixbuf-init.c: Add file missing from SVN, from the tarball.
290
291 2008-02-22  Dominic Lachowicz  <domlachowicz@gmail.com>
292
293         * gdk-pixbuf/queryloaders.c (loader_sanity_check): It's perfectly
294         acceptable for a module to only support the save_to_callback()
295         method if it marks itself as WRITABLE
296
297 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
298         
299         * configure.in: Bump version
300
301 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
302
303         * === Released 2.13.0 ===
304
305         * Makefile.decl: Start Xvfb at depth 16 so cairo doesn't choke.
306
307 2008-02-21  Tor Lillqvist  <tml@novell.com>
308
309         * gtk/gtkfilechooserdefault.c (list_mtime_data_func) [Win32]: Must
310         pass the format string to strftime in the C library's locale's
311         charset, not the system's. Correspondingly, the return value from
312         strftime() is in the C library's locale's charset. (#509885)
313
314 2008-02-20  Richard Hult  <richard@imendio.com>
315
316         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_set_decorations): Set
317         the right window level and shadow after recreating the window.
318
319         * gdk/quartz/GdkQuartzView.c: (drawRect): Invalidate the shadow if
320         necessary after drawing (bug #517338).
321
322 2008-02-20  Marc-Andre Lureau  <marcandre.lureau@gmail.com>
323
324         * gtk/gtkbuilder.c (_gtk_builder_enum_from_string): fix missing
325         call to g_type_class_unref in case of error. (#517563)
326
327 2008-02-18  Sven Neumann  <sven@gimp.org>
328
329         * gtk/Makefile.am (STOCK_ICONS)
330         * gtk/stock-icons/16/gtk-page-setup.png
331         * gtk/stock-icons/24/gtk-page-setup.png: added page-setup icons
332         taken from GNOME icon theme.
333
334         * gtk/gtkstock.[ch]: added GTK_STOCK_PAGE_SETUP. Closes bug #514410.
335
336 2008-02-18  Runa Bhattacharjee <runabh@gmail.com>
337
338         * configure.in: Added Kannada (kn) to ALL_LINGUAS
339
340 2008-02-17  Johan Dahlin  <johan@gnome.org>
341
342         * gtk/gtk-builder-convert (GtkBuilderConverter._add_action_from_menuitem): 
343         When converting a stock item based on the label, remove the label property.
344
345 2008-02-17  Richard Hult  <richard@imendio.com>
346
347         * gdk/quartz/GdkQuartzWindow.c: (showAndMakeKey): Update the
348         position after showing the window since the window manager might
349         not place it where we requested in the first places.
350
351 2008-02-17  Richard Hult  <richard@imendio.com>
352
353         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
354         (_gdk_quartz_window_detach_from_parent),
355         (_gdk_quartz_window_attach_to_parent), (gdk_window_focus): Clear
356         the toplevel ordering list in all places where the order is
357         potentially changed. Fixes mouse focus issues for windows with
358         a transient parent set.
359
360 2008-02-17  Richard Hult  <richard@imendio.com>
361
362         * gdk/quartz/gdkevents-quartz.c
363         (_gdk_quartz_events_update_mouse_window): Highlight the mouse
364         window when event debugging is enabled.
365
366 2008-02-16  Richard Hult  <richard@imendio.com>
367
368         * gdk/quartz/gdkevents-quartz.c (create_scroll_event): Add state
369         to the scroll event (bug #516757, Paul Davis).
370
371 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
372
373         * NEWS: Updates
374
375 2008-02-16  Matthias Clasen  <mclasen@redhat.com>
376
377         * gtk/gtklinkbutton.c: Show the URI in a tooltip.  (#505480,
378         Teppo Turtiainen)
379
380 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
381
382         * gdk/Makefile.am: Don't install private headers. (#463510)
383
384         * gdk/gdkinternal.h: Include gdkmedialib.h here, not in
385         the installed header gdkprivate.h.
386
387 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
388
389         * gtk/gtknotebook.c (gtk_notebook_stop_reorder): Prevent
390         a crash with hidden, reorderable tabs.  (#513230, 
391         Mike Massonnet, patch by Carlos Garnacho)
392
393 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
394
395         * gtk/gtkuimanager.c (gtk_ui_manager_insert_action_group):
396         Warn on duplicate action group names.  (#501746, Christian
397         Persch)
398
399 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
400
401         * gtk/Makefile.am:
402         * modules/other/gail/tests/Makefile.am:
403         * modules/other/gail/libgail-util/Makefile.am:
404         * modules/other/gail/Makefile.am: Fix builddir!=srcdir
405         builds.  (#516254,  Yevgen Muntyan)
406
407 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
408
409         * gtk/gtkentry.c:
410         * gtk/gtkfilesel.c:
411         * gtk/gtklabel.c:
412         * gtk/gtkpathbar.c: Use gtk_drag_*_add_{text,uri}_targets 
413         instead of hardcoded target tables.  (#516092, Christian Persch)
414
415 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
416
417         * gtk/gtkselection.c (gtk_target_list_add_text_targets): Don't
418         add the same target atom twice.  (#516087, Christian Persch)
419
420 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
421
422         * tests/testfilechooser.c: Add a --backend option.
423         (#516073, Christian Persch)
424
425 2008-02-16  Richard Hult  <richard@imendio.com>
426
427         * gdk/quartz/gdkprivate-quartz.h:
428         * gdk/quartz/gdkwindow-quartz.c: Add debugging code to highlight a
429         gdkwindow.
430
431 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
432
433         * configure.in: Go back to 2.13.0 as version for now,
434         as there was no consensus to do the jump.
435
436         * many other places: Update Since: tags.
437
438 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
439
440         * gtk/gtk.symbols: Add gtk_tool_shell_get_type
441
442         * gtk/gtktestutils.c: Don't generate unnecessary PLT entries
443
444 2008-02-15  Richard Hult  <richard@imendio.com>
445
446         * gdk/quartz/GdkQuartzView.c: Adapt to the change to use frame
447         instead of bounds when resizing windows.
448
449 2008-02-15  Matthias Clasen  <mclasen@redhat.com>
450
451         * gdk/x11/gdkkeys-x11.c:
452         * gdk/x11/gdkcolor-x11.c:
453         * gdk/gdkpolyreg-generic.c: Fix a small doc issues.
454
455 2008-02-15  Matthias Clasen <mclasen@redhat.com>
456
457         * gdk/x11/gdktestutils-x11.c:
458         * gdk/x11/gdkscreen-x11.c: Documentation fixes.
459
460 2008-02-15  Tor Lillqvist  <tml@novell.com>
461
462         * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Don't
463         leak Registry key handles. (#516578)
464
465 2008-02-14  Richard Hult  <richard@imendio.com>
466
467         * gdk/quartz/gdkwindow-quartz.c: (gdk_window_focus): Using
468         makeKeyWindow unfortunately doesn't work in all cases, we must use
469         makeKeyAndOrderFront.
470
471 2008-02-14  Richard Hult  <richard@imendio.com>
472
473         * gdk/quartz/gdkwindow-quartz.c: (get_fullscreen_geometry),
474         (gdk_window_hide), (gdk_window_fullscreen),
475         (gdk_window_unfullscreen): Make sure we leave fullscreen mode if
476         the window is hidden.
477
478 2008-02-14  Richard Hult  <richard@imendio.com>
479
480         * gdk/quartz/GdkQuartzWindow.c: Set frame, not bounds when
481         resizing to be consistent and to avoid introducing an internal
482         transform in the view.
483
484 2008-02-14  Richard Hult  <richard@imendio.com>
485
486         * gdk/quartz/gdkdisplay-quartz.c: (gdk_display_open): Coding style
487         fix.
488
489 2008-02-14  Johan Dahlin  <johan@gnome.org>
490
491         * gdk/gdktestutils.h
492         * gtk/gtktestutils.h: Remove ; trailing G_BEGIN/END_DECLS
493
494 2008-02-13  Richard Hult  <richard@imendio.com>
495
496         * gtk/gtkclipboard-quartz.c: (gtk_clipboard_wait_for_contents):
497         Remove unused variables.
498         (gtk_clipboard_set_contents),
499         (gtk_clipboard_get_owner), (clipboard_unset),
500         (gtk_clipboard_request_targets): Notify the previous clipboard
501         owner when the owner changes. Fixes bug #493406.
502         
503 2008-02-13  Richard Hult  <richard@imendio.com>
504
505         * gdk/quartz/gdkcolor-quartz.c: (gdk_colormap_alloc_colors): Fix
506         the return value (return number of colors that failed), and handle
507         RGBA colormap.
508         (gdk_colormap_free_colors): Fix typo in comment.
509
510 2008-02-13  Kristian Rietveld  <kris@imendio.com>
511
512         * gtk/gtktreeview.c (gtk_tree_view_stop_rubber_band): only
513         queue a redraw if the rubber banding has actually been active.
514
515 2008-02-12  Matthias Clasen  <mclasne@redhat.com>
516
517         * gtk/gtkpapersize.c:
518         * gtk/gtkprintoperation.c:
519         * gtk/gtkvolumebutton.c:
520         * gtk/gtkbulderparser.c: Fix some i18n errors. Pointed
521         out by Behdad Esfahbod.
522
523 2008-02-12  Federico Mena Quintero  <federico@novell.com>
524
525         Merged from gtk-2-12:
526
527         Don't focus the file list when shortcuts get activated.  This
528         removes a lot of ambiguity in when the file selection should
529         change, and makes the overall code flow simpler.
530
531         This fixes http://bugzilla.gnome.org/show_bug.cgi?id=419737 -
532         file/save dialog clears the filename entry when changing
533         directories.
534
535         Also fixes http://bugzilla.gnome.org/show_bug.cgi?id=499940 -
536         focus should not go to the file list when a shortcut is activated.
537
538         * gtk/gtkfilechooserdefault.c
539         (shortcuts_activate_volume_mount_cb): Don't focus the file list
540         (shortcuts_activate_get_info_cb): Likewise.
541
542         * gtk/gtkfilechooserdefault.c (switch_to_shortcut): Don't focus
543         the file list (this was the last place where we would focus the
544         file list explicitly).  If you are in the location entry, for
545         example, you don't want Alt-Home to take you to the file list; you
546         just want the current folder to change.  Thanks to Olle Bergkvist
547         <olle.bergkvist@yahoo.se> for pointing this out in
548         http://bugzilla.gnome.org/show_bug.cgi?id=419737#c51.
549         (focus_browse_tree_view_if_possible): Removed.
550
551 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
552
553         Skip exensions when selecting filenames in the save-as dialog.
554         (#362516, Carlos Garnacho)
555
556         * gtk/gtkfilechooserentry.h:
557         * gtk/gtkfilechooserentry.c (_gtk_file_chooser_entry_select_filename):
558         New function to skip the extension part when selecting a filename.
559         (_gtk_file_chooser_entry_set_base_folder): Use it here.
560
561         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_entry_grab_focus):
562         ...and here.
563
564 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
565
566         * gtk/gtkiconview.c: Fix state change reporting for 
567         accessibility.  (#499835, Rich Burridge, patch by LiYan Zhang)
568
569 2008-02-12  Emmanuele Bassi  <ebassi@gnome.org>
570
571         * gtk/gtkrecentchooser.c:
572         (gtk_recent_chooser_class_init): Set the default value of the
573         :show-not-found property to TRUE, as every implementation sets
574         it to TRUE already.
575
576         * gtk/gtkrecentchooserdefault.c:
577         (_gtk_recent_chooser_default_init): Sync show_tips to the
578         default value of the :show-tips property.
579
580 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
581
582         * gtk/gtkclipboard-quartz.c:
583         * gtkquartz.c:
584         * gtkselection.c: Use GSlice for GtkSelectionData.  (#515060,
585         Christian Persch)
586
587 2008-02-12  Kristian Rietveld  <kris@imendio.com>
588
589         * gtk/gtktreeview.c (gtk_tree_view_real_select_cursor_row),
590         (gtk_tree_view_real_toggle_cursor_row): guard against people
591         deleting the row in question in the selection-changed callback.
592         (#514621, Andreas Koehler).
593
594 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
595
596         * gtk/*.c: Unify the handling of various "Enter" keysyms
597         all over the place.  (#515047, Christian Persch)
598
599 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
600
601         * gtk/gtkfilesystemmodel.c:
602         * gtk/gtkprinter.c:
603         * gtk/gtkwidget.c: Use g_value_set_static_string() where 
604         appropriate.  (#515042, Christian Persch)
605
606 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
607
608         * tests/prop-editor.c: Fix a memory leak (#515039, Christian Persch)
609         
610 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
611
612         * tests/testmerge.c: Fix a memory leak (#515038, Christian Persch)
613
614 2008-02-12  Matthias Clasen  <mclasen@redhat.com>
615
616         * gtk/gtkfilechooserdefault.c (recent_model_sort_drag_data_get):
617         (recent_model_sort_drag_data_get):
618         (search_model_sort_drag_data_get):
619         * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get):
620         * gtk/gtkpathbar.c (button_drag_data_get_cb):
621         Use gtk_selection_data_set_uris() instead of doing it
622         by hand.  (#514890, Christian Persch)
623
624 2008-02-12  Michael Natterer  <mitch@imendio.com>
625
626         * gtk/gtkstatusicon.c: #include "gtkmain.h" for
627         gtk_get_current_event_time().
628
629 2008-02-12  Michael Natterer  <mitch@imendio.com>
630
631         * gtk/gtkwindow.c (gtk_window_activate_key): simply use
632         gtk_window_get_key_hash() to get the hash instead of manually
633         fiddling with quarks and gtk_window_keys_changed(). Also add
634         g_return_if_fail() to this public function.
635
636 2008-02-11  Matthias Clasen  <mclasen@redhat.com>
637
638         Support keynav in status icons.  (#473786, Li Yuan)
639
640         * gtk/gtkstatusicon.c: Handle keynav, make the tray icon focusable.
641
642         * gtk/gtktrayicon-x11.c: Draw a focus rectangle when focused.
643
644 2008-02-11  Kristian Rietveld  <kris@imendio.com>
645
646         * gtk/gtkcellview.c (gtk_cell_view_cell_layout_reorder)
647         * gtk/gtkiconview.c (gtk_icon_view_cell_layout_reorder): plug leak
648         wrt. link deletion from list; contination of fix for #503569.
649
650 2008-02-11  Emmanuele Bassi  <ebassi@gnome.org>
651
652         * gtk/gtkrecentchoosermenu.c:
653         (gtk_recent_chooser_menu_constructor): Set no-show-all flag
654         on the placeholder menu item.
655
656         * tests/testrecentchoosermenu.c:
657         (create_recent_chooser_menu): Use gtk_widget_show_all() to test
658         whether the placeholder menu item gets shown.
659
660 2008-02-10  Cody Russell  <bratsche@gnome.org>
661
662         * gtk/gtkfilechooser.c (gtk_file_chooser_get_current_folder_uri):
663         Check the return value of _gtk_file_chooser_get_file_system () for
664         NULL before passing it to gtk_file_system_path_to_uri ().
665         (#515667, Francesco Montorsi)
666
667 2008-02-10  Philip Withnall  <pwithnall@svn.gnome.org>
668
669         * gtk/gtkbuilder.c: Improve the documentation for
670         gtk_builder_connect_signals. (#514471)
671
672 2008-02-10  Matthias Clasen  <mclasen@redhat.com>
673
674         * gtk/gtkrecentaction.c: Propagate local-only.  (#511987, 
675         Jonh Wendell)
676
677 2008-02-08  Cody Russell  <bratsche@gnome.org>
678
679         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start):
680         Removed an extra semicolon.  (#515219, reported by Kazuki IWAMOTO)
681
682 2008-02-08  Richard Hult  <richard@imendio.com>
683
684         * gdk/quartz/gdkevents-quartz.c (gdk_event_translate): Ignore the
685         delta from the NSEvent for now, generating multiple scroll events
686         results in a lot of events getting queued up and things get really
687         slow.
688
689 2008-02-08  Sven Herzberg  <sven@imendio.com>
690
691         Adjust the code to match the documentation, examples, "common sense"
692         and existing applications.
693
694         * gtk/gtkaction.c: (_gtk_action_sync_menu_visible): take into account
695         that a GtkMenu for a <popup> element doesn't have to have a GtkAction
696         assigned
697
698 2008-02-07  Cody Russell  <bratsche@gnome.org>
699
700         * gdk/win32/gdkevents-win32.c
701         * gdk/win32/gdkwindow-win32.c: Fixed two declarations in the middle
702         of a block that were causing compile problems on old
703         compilers. (#515053, reported by Kazuki IWAMOTO)
704         
705 2008-02-07  Michael Natterer  <mitch@imendio.com>
706
707         * gtk/gtkcellview.c
708         * gtk/gtklabel.c
709         * gtk/gtklayout.c
710         * gtk/gtklist.c
711         * gtk/gtkmenu.c
712         * gtk/gtkmenushell.c
713         * gtk/gtkmisc.c
714         * gtk/gtkoptionmenu.c
715         * gtk/gtkplug.c
716         * gtk/gtkpreview.c
717         * gtk/gtkprogress.c
718         * gtk/gtkradiomenuitem.c
719         * gtk/gtkscale.c
720         * gtk/gtkscrolledwindow.c
721         * gtk/gtksocket.c: remove g_return_if_fail() from private
722         functions and virtual function implementations.
723
724 2008-02-07  Michael Natterer  <mitch@imendio.com>
725
726         * gtk/gtkaction.c
727         * gtk/gtkassistant.c
728         * gtk/gtkbin.c
729         * gtk/gtkbox.c
730         * gtk/gtkcalendar.c
731         * gtk/gtkcellrenderercombo.c
732         * gtk/gtkcombobox.c
733         * gtk/gtkcombo.c
734         * gtk/gtkdrawingarea.c
735         * gtk/gtkentrycompletion.c
736         * gtk/gtkfixed.h
737         * gtk/gtkgamma.c
738         * gtk/gtkhpaned.c
739         * gtk/gtkiconview.c
740         * gtk/gtkitem.c
741         * gtk/gtkitemfactory.c: remove g_return_if_fail() from private
742         functions and virtual function implementations.
743
744 2008-02-07  Christian Persch  <chpe@gnome.org>
745
746         * gdk/gdkpixbuf-render.c:
747         (gdk_pixbuf_render_pixmap_and_mask_for_colormap): If the pixbuf has an
748         alpha channel, use gdk_draw_rgb_32_image to draw it to the pixmap;
749         otherwise there will be random pixel values in the semi-transparent
750         area of the pixbuf within the mask. Bug #487865.
751
752 2008-02-06  Cody Russell  <bratsche@gnome.org>
753
754         * gdk/win32/gdkevents-win32.c: Check if the window is a temp window,
755         otherwise things get wonky when you click on a menu.  This fixes
756         a regression caused in #505928.  Thanks to Tor for spotting this
757         one!  (#514789)
758
759 2008-02-06  Michael Natterer  <mitch@imendio.com>
760
761         * gtk/gtkcontainer.c
762         * gtk/gtkexpander.c
763         * gtk/gtkframe.c
764         * gtk/gtklabel.c
765         * gtk/gtkmain.c
766         * gtk/gtkmenu.c
767         * gtk/gtkmenuitem.c
768         * gtk/gtkmenushell.c
769         * gtk/gtknotebook.c
770         * gtk/gtkseparatortoolitem.c
771         * gtk/gtksocket.c
772         * gtk/gtktextlayout.c
773         * gtk/gtktoggletoolbutton.c
774         * gtk/gtktoolbutton.c
775         * gtk/gtktoolitem.c
776         * gtk/gtktree.c
777         * gtk/gtktreeitem.c: replace "foo && GTK_IS_FOO (foo)" by simply
778         "GTK_IS_FOO (foo)".
779
780 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
781
782         * gtk/gtkprintsettings.c (gtk_print_settings_get_page_ranges):
783         Allow to store half-open ranges.
784
785 2008-02-05  Cody Russell  <bratsche@gnome.org>
786
787         * gdk/win32/gdkwindow-win32.c (_gdk_modal_current): Walk
788         down the stack until we get to a window that is mapped.
789         Otherwise hiding a window will cause all windows in the app
790         to be blocked. (#514643)
791
792 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
793
794         * gtk/updateiconcache.c: Ignore images in the toplevel theme
795         directory, avoiding one source of invalid caches that has been
796         spotted in the wild.
797
798 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
799
800         * gtk/updateiconcache.c: Fix the previous commit to compile.
801
802 2008-02-05  Matthias Clasen  <mclasen@redhat.com>
803
804         * gtk/updateiconcache.c: Install a printerr handler that
805         prepends the program name, since gtk-update-icon-cache output
806         often appears in the middle of other output, e.g. rpm update logs.
807
808 2008-02-05  Cody Russell  <bratsche@gnome.org>
809
810         * gdk/win32/gdkprivate-win32.h
811         * gdk/win32/gdkevents-win32.c
812         * gdk/win32/gdkwindow-win32.c
813         * gdk/win32/gdkwindow-win32.h
814         * gdk/win32/gdkwin32.h:
815         Modal window rework.  (#455627 and #511111)
816
817 2008-02-04  Michael Natterer  <mitch@imendio.com>
818
819         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_add_attribute):
820         g_return_if_fail() if the cell is not part of the combo instead of
821         crashing in the next line.
822
823 2008-02-01  Cody Russell  <cody@jhu.edu>
824
825         * modules/engines/ms-windows/xp_theme.[ch]
826         * modules/engines/ms-windows/xp_theme_defs.h
827         * modules/engines/ms-windows/msw_rc_style.c
828         * modules/engines/ms-windows/msw_theme_main.c
829         * modules/engines/ms-windows/msw_style.c: Re-indented and generally
830         attempted to stylize more like the rest of the gtk+ stack's code.
831
832 2008-02-01  Michael Natterer  <mitch@imendio.com>
833
834         * tests/testgtk.c: initialize GdkColor structs to fix warning
835         about uninitialized "pixel" member.
836
837         * tests/testactions.c: connect the toolbar_style() callback so it
838         does something useful and doesn't warn about being defined but not
839         used.
840
841 2008-01-31  Cody Russell  <bratsche@gnome.org>
842
843         * gdk/win32/gdkevents-win32.c:
844         Refactored some of the window hiding/showing code from
845         WM_ACTIVATE to WM_SIZE and WM_SYSCOMMAND.  Having this
846         under WM_ACTIVATE was causing the application to go into
847         a weird state when the user right-clicked on the taskbar
848         entry of a window that was minimized.  (#505928)
849         
850 2008-01-31  Cody Russell  <bratsche@gnome.org>
851
852         * gtk/gtkpaned.c (gtk_paned_set_position):
853         Change queue_resize() to queue_draw(), and add a check for
854         child2 != NULL in case someone calls this before there is
855         a child packed in there.  (#144269 again)
856
857 2008-01-31  Sven Neumann  <sven@gimp.org>
858
859         * gdk/directfb/gdkimage-directfb.c (_gdk_directfb_copy_to_image):
860         applied patch from Denis Oliver Kropp <dok@directfb.org>.
861
862 2008-01-31  Sven Neumann  <sven@gimp.org>
863
864         * gdk/directfb/gdkdisplay-directfb.c
865         * gdk/directfb/gdkdrawable-directfb.c
866         * gdk/directfb/gdkprivate-directfb.h
867         * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
868         Oliver Kropp <dok@directfb.org>. Fixes remaining warnings.
869
870 2008-01-31  Richard Hult  <richard@imendio.com>
871
872         * gdk/quartz/GdkQuartzView.c: Another attempt at fixing focus
873         issues with undecorated windows. Revert the change done on
874         2008-01-25 and fix it by using the view's bounds instead. The
875         bounds will always be up to date when setting up the tracking
876         rect, so this should be more robust.
877
878 2008-01-30  Sven Neumann  <sven@gimp.org>
879
880         * gdk/directfb/gdkdrawable-directfb.c
881         * gdk/directfb/gdkwindow-directfb.c
882         * gdk/directfb/gdkprivate-directfb.h: applied patch from Denis
883         Oliver Kropp <dok@directfb.org>. Adds debug messages using
884         DirectFB's debugging system
885
886 2008-01-30  Sven Neumann  <sven@gimp.org>
887
888         * gdk/directfb/gdkdirectfb.h
889         * gdk/directfb/gdkdisplay-directfb.c
890         * gdk/directfb/gdkdrawable-directfb.c
891         * gdk/directfb/gdkim-directfb.c
892         * gdk/directfb/gdkimage-directfb.c
893         * gdk/directfb/gdkinput-directfb.c
894         * gdk/directfb/gdkmain-directfb.c
895         * gdk/directfb/gdkpixmap-directfb.c
896         * gdk/directfb/gdktestutils-directfb.c
897         * gdk/directfb/gdkvisual-directfb.c
898         * gdk/directfb/gdkwindow-directfb.c: applied patch from Denis
899         Oliver Kropp <dok@directfb.org>. Fixes various warnings, some
900         errors and has some cleanups.
901
902 2008-01-30  Michael Natterer  <mitch@imendio.com>
903
904         * gtk/gtkbuilderparser.c (parse_custom): use the right type for
905         "subparser_data" and remove the (gpointer*) cast. Fixes bogus
906         aliasing warning.
907
908         * gtk/updateiconcache.c (add_string): cast const gchar* to
909         gpointer when inserting in a GHashTable.
910
911         * tests/testcalendar.c (calendar_detail_cb): remove const from
912         return value since it's a newly allocated string.
913
914         (calendar_update_details): free the detail.
915
916 2008-01-29  Johan Dahlin  <johan@gnome.org>
917
918         * demos/gtk-demo/builder.c: (quit_activate), (about_activate),
919         (do_builder):
920         * demos/gtk-demo/demo.ui:
921         Move the about dialog to the glade file, add accessible tags
922         examples to the markup file.
923
924 2008-01-28  Paolo Borelli  <pborelli@katamail.com>
925
926         * gtk/gtkprintunixdialog.c (draw_page_cb): do not leak the pango
927         layout, fixes #512375.
928
929 2008-01-28  Michael Natterer  <mitch@imendio.com>
930
931         * gtk/gtktextchild.c
932         * gtk/gtktextview.c: meant to use G_STRFUNC, not G_STRLOC...
933
934 2008-01-28  Michael Natterer  <mitch@imendio.com>
935
936         * demos/gtk-demo/builder.c (about_activate): use
937         gtk_about_dialog_set_program_name() instead of the deprecated
938         set_name().
939
940 2008-01-28  Michael Natterer  <mitch@imendio.com>
941
942         * gtk/gtktextchild.c
943         * gtk/gtktextview.c: use G_STRLOC instead of G_GNUC_FUNCTION (which
944         is deprecated now).
945
946 2008-01-26  Johan Dahlin  <johan@gnome.org>
947
948         * tests/Makefile.am:
949         * tests/textbuffertest.c:
950         Rename textbuffer test and port it to the new test framework
951         
952 2008-01-25  Johan Dahlin  <johan@gnome.org>
953
954         * gtk/gtktestutils.c (gtk_test_init): Restore accidentally removed
955         unsetting of GTK_MODULES.
956
957         * gtk/gtk-builder-convert
958         (GtkBuilderConverter._convert_adjustment): Handle the case where
959         there is no child text node.
960         (GtkBuilderConverter): Allow xml comments in most places.
961
962 2008-01-25  Johan Dahlin  <johan@gnome.org>
963
964         * gtk/gtk-builder-convert
965         (GtkBuilderConverter._convert_combobox_items): Remove the items
966         even if there are no items set.
967         (GtkBuilderConverter._add_action_from_menuitem): Convert toggled
968         signals and tooltips for all menu items subclasses and 
969         GtkImageMenuItem:label. 
970         Makes it possible to fully convert and run Jokosher.glade.
971
972 2008-01-25  Johan Dahlin  <johan@gnome.org>
973
974         * gtk/gtkwidget.c: (gtk_widget_buildable_interface_init),
975         (gtk_widget_buildable_get_internal_child), (free_action),
976         (free_relation), (gtk_widget_buildable_parser_finished),
977         (accessibility_start_element),
978         (gtk_widget_buildable_custom_tag_start),
979         (gtk_widget_buildable_custom_finished):
980         Implement accessible support, fixes #454653.
981
982         * gtk/gtk-builder-convert:
983         Add support for migrating old glade files
984         
985         * tests/buildertest.c: (test_widget), (test_file):
986         Add accessible tests and imprve the test_file function to display
987         toplevels and run dialogs.
988
989 2008-01-25  Richard Hult  <richard@imendio.com>
990
991         * gdk/quartz/GdkQuartzView.c: Don't recreate a tracking rect if it
992         didn't change, fixes focus event issues for undecorated windows.
993
994 2008-01-25  Richard Hult  <richard@imendio.com>
995
996         * gdk/quartz/gdkwindow-quartz.c: Fix compile warnings (add missing
997         const and remove unused variables).
998
999 2008-01-25  Michael Natterer  <mitch@imendio.com>
1000
1001         * gtk/gtkbutton.h
1002         * gtk/gtkcellrenderer.h
1003         * gtk/gtkimcontext.h
1004         * gtk/gtkstyle.h
1005         * gtk/gtktoolbar.h
1006         * gtk/gtktooltip.h
1007         * gtk/gtktreeprivate.h
1008         * gtk/gtktreeviewcolumn.h
1009         * gtk/gtkwidget.h: add const to constant structs which are passed
1010         into GTK+. Also add some forgotten const for const strings.
1011         Fixes bug #511554.
1012
1013         * gtk/gtkbutton.c
1014         * gtk/gtkcellrenderer.c
1015         * gtk/gtkimcontext.c
1016         * gtk/gtkstyle.c
1017         * gtk/gtktoolbar.c
1018         * gtk/gtktooltip.c
1019         * gtk/gtktreeview.c
1020         * gtk/gtktreeviewcolumn.c
1021         * gtk/gtkwidget.c: changed accordingly.
1022
1023 2008-01-25  Sven Herzberg  <sven@imendio.com>
1024
1025         Reviewed by Johan Dahlin.
1026
1027         * gtk/gtkuimanager.c (gtk_ui_manager_remove_ui): emit a warning if
1028         this is called with something that's not a GtkUIManager
1029
1030 2008-01-24  Johan Dahlin  <johan@gnome.org>
1031
1032         * gtk/gtkdialog.c (gtk_dialog_buildable_get_internal_child): 
1033         Chain up to parent, so widgets can have internal children.
1034
1035 2008-01-22  Mathias Hasselmann  <mathias@openismus.com>
1036
1037         Add gdk_app_launch_context_get_type() to gdk.symbols (#511308, Kazuki
1038         IWAMOTO).
1039
1040         * gdk/gdk.symbols: Add gdk_app_launch_context_get_type().
1041
1042 2008-01-22  Mathias Hasselmann  <mathias@openismus.com>
1043
1044         Use pango_layout_set_height() for calendar details (#506049).
1045
1046         * configure.in: Require 1.19.3 for pango_layout_set_height().
1047         * gtk/gtkcalendar.c: Use pango_layout_set_height() for details.
1048
1049 2008-01-18  Johan Dahlin  <johan@gnome.org>
1050
1051         * gtk/gtk-builder-convert (get_property_node): New method
1052         (GtkBuilderConverter._create_object): Conditionally take a node as
1053         a property value, so don't lose translate/context attributes if they
1054         are set. 
1055         (GtkBuilderConverter._add_action_from_menuitem): Send in Node as
1056         property values instead of strings.
1057         (#509153, Erik van Pienbroek)
1058
1059 2008-01-16  Mathias Hasselmann  <mathias@openismus.com>
1060
1061         Change GtkCalendarDetailFunc to return newly allocated string. (#339540)
1062
1063         * gtk/gtkcalendar.c: Release the memory returned by the detail_func.
1064         * gtk/gtkcalendar.h: Remove G_CONST_RETURN from GtkCalendarDetailFunc.
1065         * tests/testcalendar.c: Duplicate calendar details before returning.
1066
1067 2008-01-16  Christian Persch  <chpe@gnome.org>
1068
1069         * gtk/gtkwidget.c: Store the event mask and extension event mode
1070         directly in the gobject data pointer, instead of in an allocated
1071         gint. Bug #506604.
1072
1073 2008-01-16  Michael Natterer  <mitch@imendio.com>
1074
1075         * configure.in (GDK_PIXBUF_PACKAGES): add "gio-2.0" because
1076         gdk-pixbuf now uses gio functions.
1077
1078 2008-01-16  Matthias Clasen  <mclasen@redhat.com>
1079
1080         * gtk/gtkcombobox.c (gtk_combo_box_set_model): Emit
1081         the notify::model signal.  (#509819, David Zeuthen)
1082
1083 2008-01-15  Michael Natterer  <mitch@imendio.com>
1084
1085         * gdk/gdkdisplay.h
1086         * gdk/gdkdrawable.h
1087         * gdk/gdkevents.h
1088         * gdk/gdkpango.h
1089         * gdk/gdkregion.h
1090         * gdk/gdkrgb.h
1091         * gdk/gdkwindow.h: made more struct pointer and array parameters
1092         const. GDK should now be constified as far as possible without
1093         breaking source compatibility. Includes some minor cleanup like
1094         indentation and s/nfoo/n_foo/ (bug #508544).
1095
1096         * gdk/gdkdisplay.c
1097         * gdk/gdkdraw.c
1098         * gdk/gdkevents.c
1099         * gdk/gdkpango.c
1100         * gdk/gdkregion-generic.c
1101         * gdk/gdkrgb.c
1102         * gdk/directfb/gdkdisplay-directfb.c
1103         * gdk/directfb/gdkwindow-directfb.c
1104         * gdk/quartz/gdkdisplay-quartz.c
1105         * gdk/quartz/gdkwindow-quartz.c
1106         * gdk/win32/gdkdisplay-win32.c
1107         * gdk/win32/gdkwindow-win32.c
1108         * gdk/x11/gdkdisplay-x11.c
1109         * gdk/x11/gdkwindow-x11.c: changed accordingly.
1110
1111 2008-01-14  Michael Natterer  <mitch@imendio.com>
1112
1113         * gtk/gtkrc.c (_gtk_rc_style_unset_rc_property): add cast to fix
1114         const warning.
1115
1116         (gtk_rc_parse_any): change variables to const and introduce
1117         another local variable to fix const warnings.
1118
1119 2008-01-14  Michael Natterer  <mitch@imendio.com>
1120
1121         * gdk/gdkscreen.c (gdk_screen_get_property): cast the return value
1122         of gdk_screen_get_font_options() to gpointer to get rid of const
1123         warning.
1124
1125 2008-01-14  Michael Natterer  <mitch@imendio.com>
1126
1127         * tests/testdnd.c (source_drag_data_get): fix another call to
1128         gtk_selection_data_set().
1129
1130 2008-01-14  Michael Natterer  <mitch@imendio.com>
1131
1132         * gtk/gtkoldeditable.c (gtk_old_editable_selection_received): fix
1133         signedness warning.
1134
1135 2008-01-14  Michael Natterer  <mitch@imendio.com>
1136
1137         * gtk/gtkiconcache.c (find_image_offset): remove unused variable.
1138
1139 2008-01-14  Michael Natterer  <mitch@imendio.com>
1140
1141         * gtk/gtkfilesystemmodel.c (drag_source_drag_data_get): cast
1142         "uris" to guchar* when passing it to gtk_selection_data_set().
1143
1144 2008-01-14  Michael Natterer  <mitch@imendio.com>
1145
1146         * gdk/gdk.h
1147         * gdk/gdkcairo.h
1148         * gdk/gdkcolor.h
1149         * gdk/gdkgc.h
1150         * gdk/gdkinternals.h
1151         * gdk/gdkregion.h
1152         * gdk/gdkwindow.h: made GdkRectangle*, GdkRegion* and GdkColor*
1153         parameters const (bug #508544).
1154
1155         * gdk/gdkcairo.c
1156         * gdk/gdkgc.c
1157         * gdk/gdkwindow.c
1158         * gdk/gdkrectangle.c
1159         * gdk/gdkpolyreg-generic.c
1160         * gdk/gdkregion-generic.c
1161         * gdk/directfb/gdkcolor-directfb.c
1162         * gdk/directfb/gdkgc-directfb.c
1163         * gdk/directfb/gdkgeometry-directfb.c
1164         * gdk/directfb/gdkwindow-directfb.c
1165         * gdk/quartz/gdkcolor-quartz.c
1166         * gdk/quartz/gdkgc-quartz.c
1167         * gdk/quartz/gdkgeometry-quartz.c
1168         * gdk/quartz/gdkwindow-quartz.c
1169         * gdk/win32/gdkcolor-win32.c
1170         * gdk/win32/gdkgc-win32.c
1171         * gdk/win32/gdkgeometry-win32.c
1172         * gdk/win32/gdkprivate-win32.h
1173         * gdk/win32/gdkwindow-win32.c
1174         * gdk/x11/gdkcolor-x11.c
1175         * gdk/x11/gdkgc-x11.c
1176         * gdk/x11/gdkgeometry-x11.c
1177         * gdk/x11/gdkmain-x11.c
1178         * gdk/x11/gdkprivate-x11.h
1179         * gdk/x11/gdkwindow-x11.c: changed accordingly.
1180
1181         * gdk/gdkpolyreg-generic.c: uncruftify to have proper function
1182         headers.
1183
1184 2008-01-14  Mathias Hasselmann  <mathias@openismus.com>
1185
1186         Explain name choice for gtk_tool_item_toolbar_reconfigured.
1187
1188         * gtk/gtktoolitem.c: Add comment expaining name choice for
1189         gtk_tool_item_toolbar_reconfigured.
1190
1191 2008-01-14  Mathias Hasselmann  <mathias@openismus.com>
1192
1193         Make _gtk_tool_item_toolbar_reconfigured public to allow GtkToolShell
1194         implementations to notify its children, when some aspect of their
1195         configuration changed (#509042).
1196
1197         * gtk/gtk.symbols: Add gtk_tool_item_toolbar_reconfigured.
1198         * gtk/gtktoolbar.c, gtk/gtktoolitem.c, gtk/gtktoolitem.h:
1199         Rename _gtk_tool_item_toolbar_reconfigured.
1200
1201 2008-01-12  Mathias Hasselmann  <mathias@openismus.com>
1202
1203         Include <gtk/gtktoolshell.h> from gtk.h.
1204
1205         * gtk/gtk.h: Add gtktoolshell.h
1206
1207 2008-01-12  Mathias Hasselmann  <mathias@openismus.com>
1208
1209         Print angle brackets arround e-mail addresses in the about dialog
1210         (#409520, Mariano Suárez-Alvarez).
1211
1212         * gtk/gtkaboutdialog.c: Keep e-mail brackets in add_credits_page().
1213
1214 2008-01-11 13:28:02  Tim Janik  <timj@imendio.com>
1215
1216         * gtk/gtktestutils.c (gtk_test_create_widget): removed old testutils
1217         special casing so test widgets are always queues for destruction
1218         during teardown.
1219
1220         * gtk/tests/testing.c: removed bits left-over from testing without
1221         gtestutils.h.
1222
1223 2008-01-10  Tor Lillqvist  <tml@novell.com>
1224
1225         * modules/other/gail/libgail-util/Makefile.am
1226         * modules/other/gail/tests/Makefile.am: Link with gtktargetlib and
1227         gdktargetlib.
1228         
1229 2008-01-10  Tor Lillqvist  <tml@novell.com>
1230
1231         * tests/Makefile.am: Build defaultvaluetest only on Unix as it
1232         uses gtkprintunixdialog API.
1233
1234 2008-01-10  Tor Lillqvist  <tml@novell.com>
1235
1236         * gdk/win32/gdkdisplay-win32.c
1237         * gdk/win32/gdkglobals-win32.c
1238         * gdk/win32/gdkprivate-win32.h
1239         * gdk/win32/gdkscreen-win32.c
1240         * gdk/win32/gdkwindow-win32.c: Implement
1241         gdk_screen_get_monitor_width_mm(), gdk_screen_get_monitor_height_mm()
1242         and gdk_screen_get_monitor_plug_name(). Thanks to Kazuki
1243         Iwamoto. (#505753)
1244
1245 2008-01-10  Cody Russell  <bratsche@gnome.org>
1246
1247         * gdk/win32/gdkwindow-win32.c: (gdk_window_set_transient_for),
1248         Properly ref/unref windows and parents.  (#506769)
1249
1250 2008-01-10  Richard Hult  <richard@imendio.com>
1251
1252         * gdk/quartz/gdkwindow-quartz.c: (show_window_internal),
1253         (gdk_window_hide), (move_resize_window_internal): Move the
1254         tracking rect workaround from here...
1255
1256         * gdk/quartz/GdkQuartzWindow.c:
1257         * gdk/quartz/GdkQuartzWindow.h: ...to here, and ignore window
1258         movements during showing/hiding operations. Fixes bug #508516.
1259
1260 2008-01-10  Michael Natterer  <mitch@imendio.com>
1261
1262         * gdk/directfb/gdkscreen-directfb.c
1263         (gdk_screen_get_monitor_width_mm)
1264         (gdk_screen_get_monitor_height_mm)
1265         (gdk_screen_get_monitor_plug_name): add these functions to make
1266         it build again.
1267
1268 2008-01-10  Emmanuele Bassi  <ebassi@gnome.org>
1269
1270         * gtk/gtkrecentchoosermenu.c:
1271         (idle_populate_func), (idle_populate_clean_up): Fix possible
1272         recursion by resetting the idle source id. (#507605, William
1273         Pitcock)
1274
1275 2008-01-10  Kristian Rietveld  <kris@imendio.com>
1276
1277         * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow),
1278         (_gtk_tree_view_column_start_drag): fully initialize GdkWindowAttr to
1279         avoid valgrind warnings.  (#507751, patch from Christian Persch).
1280
1281 2008-01-10  Kristian Rietveld  <kris@imendio.com>
1282
1283         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_path): Fix
1284         a leak of the path (#504611, patch from Sadrul Habib Chowdhury).
1285
1286 2008-01-10  Kristian Rietveld  <kris@imendio.com>
1287
1288         Fix #477175, reported by Juri Pakaste.
1289
1290         * gtk/gtktreeprivate.h:
1291         * gtk/gtktreeview.c (gtk_tree_view_top_row_to_dy): do not set
1292         tree_view->priv->dy here directly, just calculate the new value
1293         and set it on the adjustment,
1294         (gtk_tree_view_adjustment_changed): add guards to not call
1295         gtk_tree_view_dy_to_top_row() if we are currently in
1296         gtk_tree_view_top_row_to_dy(),
1297         (gtk_tree_view_put): fix coordinate annotation: these are bin_window
1298         coordinates, not tree coordinates,
1299         (gtk_tree_view_real_start_editing): add cast.
1300
1301         * gtk/tests/treeview-scrolling.c: add an assertion for checking the
1302         position of the editable in the "create new row and start editing"
1303         tests.
1304
1305 2008-01-09  Michael Natterer  <mitch@imendio.com>
1306
1307         * gtk/gtkcolorsel.c (make_label_spinbutton): remove unused
1308         variable.
1309
1310         * gtk/gtkcombobox.c (gtk_combo_box_detacher)
1311         * gtk/gtkicontheme.c (theme_list_contexts)
1312         (gtk_icon_theme_lookup_icon)
1313         * gtk/gtkimcontextsimple.c (beep_window)
1314         * gtk/gtklinkbutton.c (set_link_color)
1315         * gtk/gtkuimanager.c (child_hierarchy_changed_cb): add casts to
1316         fix warnings.
1317
1318         * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): remove unused
1319         variable and add const to another to fix a warning.
1320
1321 2008-01-07  Matthias Clasen  <mclasen@redhat.com>
1322
1323         * gtk/gtkassistant.c (remove_page): Be more robust when removing 
1324         the current page.  (#499951, Andreas Sandberg)
1325
1326 2008-01-06  Johan Dahlin  <johan@gnome.org>
1327
1328         * gtk/gtkspinbutton.c: Declare value in the example code for
1329         GtkSpinButton::output, as pointed out by Anders Carlsson.
1330
1331 2008-01-06  Christian Persch  <chpe@gnome.org>
1332
1333         * gtk/gtkpagesetupunixdialog.c: Make the labels left-aligned,
1334         and remove an obsolete event box. Bug #506760.
1335
1336 2008-01-06  Johan Dahlin  <johan@gnome.org>
1337
1338         * tests/buildertest.c (test_domain): 
1339         Update, GtkBuilder::translation-domain is no longer set
1340         
1341         * gtk/gtkbuilderparser.c (parse_interface): 
1342         Allow domains to be overridden in <interface>'s if a translation-domain
1343         is set in the builder.
1344         (_gtk_builder_parser_parse_buffer): Do not modify the translation-domain
1345         of the builder, make the domain set in the <interface> apply only to strings
1346         in that interface.
1347         (#496831, Ryan Lortie)
1348
1349         * gtk/gtkbuilder.c: Avoid adding unnecessary trailing newlines 
1350         to g_warning calls.
1351
1352         * gtk/gtktreestore.c (tree_model_end_element): 
1353         Remove an unused variable
1354
1355 2008-01-06  Matthias Clasen  <mclasen@redhat.com>
1356
1357         * gtk/gtkspinbutton.c: Document the ::output signal and
1358         add an example.  (#507566, example by Owen Taylor)
1359
1360 2008-01-06  Johan Dahlin  <johan@gnome.org>
1361
1362         * gtk/gtkcellrenderercombo.c:
1363         (gtk_cell_renderer_combo_get_property),
1364         (gtk_cell_renderer_combo_set_property):
1365         * gtk/gtkcombobox.c: (gtk_combo_box_set_property):
1366         * gtk/gtkcomboboxentry.c: (gtk_combo_box_entry_set_property):
1367         * gtk/gtknotebook.c: (gtk_notebook_set_property):
1368         * gtk/gtkspinbutton.c: (gtk_spin_button_set_property):
1369         * gtk/gtktextbuffer.c: (gtk_text_buffer_set_property),
1370         (gtk_text_buffer_get_property):
1371         * gtk/gtktextview.c: (gtk_text_view_set_property):
1372         * gtk/gtktogglebutton.c: (gtk_toggle_button_set_property):
1373         * gtk/gtktoolbutton.c: (gtk_tool_button_set_property),
1374         (gtk_tool_button_get_property):
1375         * gtk/gtktoolitem.c: (gtk_tool_item_set_property),
1376         (gtk_tool_item_get_property):
1377         * gtk/gtktreeview.c: (gtk_tree_view_set_property):
1378         * gtk/gtkwidget.c: (gtk_widget_set_property):
1379         * gtk/gtkwindow.c: (gtk_window_set_property):
1380         Use G_OBJECT_WARN_INVALID_PROPERTY_ID consistently.
1381         Fixes #507585
1382
1383 2008-01-06  Johan Dahlin  <johan@gnome.org>
1384
1385         * gtk/gtk-builder-convert (GtkBuilderConverter._strip_root): 
1386         Make sure that --root works for toplevel widgets.
1387         (#491847, Phil Lello)
1388
1389 2008-01-05  Johan Dahlin  <johan@gnome.org>
1390
1391         * modules/other/gail/tests/Makefile.am: Include Makefile.decl,
1392         to make sure that make test-report works properly
1393
1394 2008-01-05  Christian Persch  <chpe@gnome.org>
1395
1396         * tests/defaultvaluetest.c: Fix mem leak, and don't pass
1397         GType as integer through gpointer. Bug #507395.
1398
1399 2008-01-04  Mathias Hasselmann  <mathias@openismus.com>
1400
1401         Avoid some compiler warnings (#507000).
1402
1403         * gtk/gtkbuilder.c, gtk/gtkbuilderprivate.h: Use proper sign
1404         for value argument of _gtk_builder_flags_from_string.
1405         * gtk/gtkwidget.c: Don't alias the child pointer passed
1406         to gdk_window_get_user_data.
1407
1408 2008-01-04  Michael Natterer  <mitch@imendio.com>
1409
1410         * gdk/x11/gdkinput-x11.c (_gdk_device_get_history): don't forget
1411         to set the time in the returned GdkTimeCoords.
1412
1413 2008-01-03  Emmanuele Bassi  <ebassi@gnome.org>
1414
1415         * gtk/gtkfilechooserdefault.c (recent_sort_mru): Use the
1416         correct comparison function (kudos to Christian Persch and
1417         Claudio Saavedra for spotting this)
1418
1419         * gtk/gtkrecentchooserutils.c:
1420         (sort_recent_items_mru),
1421         (sort_recent_items_lru): Ditto as above.
1422
1423 2008-01-03  Johan Dahlin  <johan@gnome.org>
1424
1425         * tests/defaultvaluetest.c: Make it pass again.
1426
1427 2008-01-02  Johan Dahlin  <johan@gnome.org>
1428
1429         * tests/defaultvaluetest.c (test_type): Ignore a few more tests to 
1430         make it pass on Ubuntu.
1431         (main): Use gtk_test_list_all_types () instead of providing our
1432         own list.
1433         And it no longer passes.
1434
1435 2007-12-30  Johannes Schmid <jhs@gnome.org>
1436
1437         * gtk/gtknotebook.c: (gtk_notebook_stop_reorder):
1438         Also reorder menu when reordering tabs by drag & drop
1439         (Bug #506474)
1440         
1441         * tests/testnotebookdnd.c: (create_notebook_with_notebooks):
1442         Add a menu to one of the notebooks to have a test-case for
1443         the change mentioned above.
1444
1445 2007-12-31  Philip Van Hoof  <pvanhoof@gnome.org>
1446
1447         * gtk/gtktreemodel.c: Using GSlice for GtkTreePath
1448
1449 2007-12-31  Christian Persch  <chpe@gnome.org>
1450
1451         * gtk/gtkprintunixdialog.c: (gtk_print_unix_dialog_get_property):
1452         Plug a mem leak. Bug #506107.
1453
1454 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1455
1456         * gtk/gtkiconfactory.c (render_fallback_image): Adjust to
1457         icon cache api change.  (#506135, Kazuki Iwamoto)
1458
1459 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1460
1461         Consider "wide-separators" and "separator-height" style properties:
1462         The separator is drawn using gtk_paint_box instead of cairo, when
1463         "wide-separators" is set. Also do not highlight details for previous
1464         or next month, if their day matches the selected day. (#339540)
1465
1466         * gtk/gtkcalendar.c: Consider "wide-separators" and "separator-height"
1467         in gtk_calendar_size_request and calendar_paint_day
1468         * gtk/gtkstyle.c: Modify gtk_default_draw_box to use special colors
1469         for selected detail separators in GtkCalendar.
1470
1471 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1472
1473         Remove max_detail_height field from GtkCalendarPrivate. (#339540)
1474
1475         * gtk/gtkcalendar.c: Drop max_detail_height field, and use
1476         a local variable instead in gtk_calendar_size_request.
1477
1478 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1479
1480         * tests/defaultvaluetest.c: Add enough exclusions to make the
1481         test succeed.
1482
1483 2007-12-28  Christian Persch  <chpe@gnome.org>
1484
1485         * modules/other/gail/Makefile.am:
1486         * modules/other/gail/tests/*:
1487         * configure.in: Merge tests from standalone gail. Bug #504568.
1488
1489 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1490
1491         * gtk/gtkclipboard.c: Make the finalizer work when display is
1492         not set.
1493
1494 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1495
1496         Draw bottom shadow of GtkCalender headings. (#506113)
1497
1498         * gtk/gtkcalendar.c: Set proper initial height for priv->header_win.
1499
1500 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1501
1502         * gtk/gtkcalendar.c: Document the initial values of year/month/day
1503         properties.
1504
1505 2007-12-28  Christian Persch  <chpe@gnome.org>
1506
1507         * gtk/gtkfontsel.c: (gtk_font_selection_get_property): Plug
1508         a mem leak. Bug #506096.
1509
1510 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1511
1512         * gtk/gtktable.c:
1513         * gtk/gtktreeview.c:
1514         * gtk/gtkprintoperation.c:
1515         * gtk/gtkprogressbar.c:
1516         * gtk/gtkmessagedialog.c:
1517         * gtk/gtknotebook.c:
1518         * gtk/gtkprinter.c:
1519         * gtk/gtkfilesel.c:
1520         * gtk/gtklabel.c:
1521         * gtk/gtklinkbutton.c:
1522         * gtk/gtkmenu.c: More default property value corrections.
1523
1524 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1525
1526         * gtk/gtkitemfactory.c (gtk_item_factory_finalize): Don't unref
1527         accel_group unless it is set.
1528
1529 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1530
1531         * gdk/x11/gdkwindow-x11.c (get_default_title): Don't return NULL.
1532
1533 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1534
1535         * gtk/gtkhandlebox.c: Fix the default values of shadow and 
1536         shadow-type properties.
1537
1538         * gtk/gtkfontsel.c: Fix the default values of several properties.
1539
1540         * gtk/gtkfilesel.c: Fix the default value of the show-fileops
1541         property.
1542
1543         * gtk/gtkcurve.c: Fix the default value of the curve-type property.
1544
1545         * gtk/gtkcombo.c: Fix the default value of the enable-arrows-always
1546         property.
1547
1548 2007-12-28  Johan Dahlin  <johan@gnome.org>
1549
1550         * gtk/gtkdialog.c (gtk_dialog_buildable_custom_finished)
1551         (gtk_dialog_buildable_custom_tag_start): Chain up. 
1552         This makes it possible to have accelerators tags on GtkDialog 
1553         subclasses.
1554
1555 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1556
1557         Add GTK_CALENDAR_SHOW_DETAILS display flag, which chooses if details
1558         are shown within the widget, or just as tooltip. (#339540)
1559
1560         * gtk/gtkcalendar.c, gtk/gtkcalendar.h: Add "show-details" property
1561         aka. GTK_CALENDAR_SHOW_DETAILS, and use it.
1562         * tests/testcalendar.c: Test GTK_CALENDAR_SHOW_DETAILS. Reduce padding
1563         in flags vbox.
1564
1565 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1566
1567         Try more decent appearance of calendar details separator. (#339540)
1568
1569         * gtk/gtkcalendar.c: Use different colors for drawing the separator,
1570         and make it short by one pixel on each side.
1571
1572 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1573
1574         Apply trivial code-style changes from attachement 101101. (#339540)
1575
1576         * tests/testcalendar.c: Some updates to current GTK+ code-style.
1577
1578 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1579
1580         Restructure testcalendar for testing calendar details. (#339540)
1581
1582         * tests/testcalendar.c: Push code arround for testing calendar details.
1583
1584 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1585
1586         Implement GtkTooltip API for calendar details. (#339540)
1587
1588         * gtk/gtkcalendar.c: Add gtk_calendar_query_tooltip and chain it up.
1589         Remember detail overflows in calendar_paint_day to show the tooltip
1590         only when neccessary.
1591
1592 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1593
1594         Without setting "detail-width-chars" and "detail-height-rows"
1595         properties not only the widget has to be redrawn on certain
1596         conditions, but also its size must be recalculated. (#339540)
1597
1598         * gtk/gtkcalendar.c: Add calendar_queue_refresh and call
1599         that function instead of gtk_widget_queue_draw.
1600
1601 2007-12-28  Mathias Hasselmann  <mathias@openismus.com>
1602
1603         Consider details for size-request and expose-event. (#339540)
1604
1605         * gtk/gtkcalendar.c: Add gtk_calendar_get_detail and
1606         is_color_attribute functions. Change gtk_calendar_size_request
1607         and calendar_paint_day to consider and show calender details.
1608
1609 2007-12-28  Matthias Clasen  <mclasen@redhat.com>
1610
1611         * gtk/gtkcombobox.c: Introduce local priv variables to 
1612         reduce ->->
1613
1614 2007-12-27  Matthias Clasen  <mclasen@redhat.com>
1615
1616         * gtk/gtkcombobox.c: Correct the default value for the 
1617         tearoff-title property.
1618
1619         * gtk/gtkcellrenderertext.c: Fix the default value for the
1620         wrap-mode and font-scale properties.
1621
1622         * gtk/gtkaspectratio.c: Fix the default value for the ratio
1623         property.
1624
1625 2007-12-27  Matthias Clasen  <mclasen@redhat.com>
1626
1627         * gkt/gtksignal.h: Fix 0<>NULL confusion in gtk_signal_connect...
1628         defines.  (#505708,  MINAMI Hirokazu)
1629
1630 2007-12-27  Christian Persch  <chpe@gnome.org>
1631         
1632         * Makefile.am: Install gail.pc. Bug #505859.
1633
1634 2007-12-27  Mathias Hasselmann  <mathias@openismus.com>
1635
1636         Add infrastructure for GtkCalendar details. (#339540)
1637
1638         * gtk/gtkcalendar.c, gtk/gtkcalendar.h, gtk/gtk.symbols:
1639         Add "detail-width-chars" and "detail-height-rows" properties,
1640         and gtk_calendar_set_detail_func function.
1641
1642 2007-12-27  Xan Lopez  <xan@gnome.org>
1643
1644         * gtk/gtk.symbols: 
1645         * gtk/gtkstyle.c (gtk_border_new, gtk_border_copy): 
1646
1647         Add gtk_border_new to avoid memory allocator confusions when using
1648         GtkBorders. Also, make gtk_border_copy use g_slice_dup. (#454042)
1649
1650 2007-12-27  Christian Persch  <chpe@gnome.org>
1651
1652         * gdk/x11/gdkscreen-x11.c: (init_randr12): Fir the patch from 
1653         bug #504886 not to read unitialised memory.
1654
1655 2007-12-26  Xan Lopez  <xan@gnome.org>
1656
1657         * gtk/gtkstatusbar.c (has_extra_children): take into account the
1658         modification of the internal frame contents to decide if we have
1659         extra children. (#415677)
1660
1661 2007-12-22  Christian Persch  <chpe@gnome.org>
1662
1663         * modules/other/gail/gailitem.c: Fix mem leak. Bug #505556.
1664
1665 2007-12-25  Christian Persch  <chpe@gnome.org>
1666
1667         * modules/other/gail/gailwindow.c: (gail_window_initialize):
1668         Initialise |widget|. Fixes a buglet introduced by the commit from bug
1669         #505226.
1670
1671 2007-12-25  Christian Persch  <chpe@gnome.org>
1672
1673         * modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
1674         
1675 2007-12-25  Christian Persch  <chpe@gnome.org>
1676
1677         * modules/other/gail/*.[ch]: Remove relocations from the atk
1678         factories. Remove unused gail_foo_new() functions. Fix object
1679         instantiation to be derivation safe by moving initialisation code
1680         from the removed gail_foo_new() functions to the
1681         AtkObjectClass::initialize implementation. Bug #505226.
1682
1683 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
1684
1685         * modules/other/gail/gailentry.c:
1686         * modules/other/gail/gailimage.c:
1687         * modules/other/gail/gailtextview.c: Remove non-multihead-safe
1688         uses of clipboards and settings.  (#504722, Christian Persch)
1689
1690 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
1691
1692         * gdk/gdkapplaunchcontext.c: Remove unneeded includes. (#505411,
1693          Kazuki IWAMOTO)
1694
1695 2007-12-24  Matthias Clasen  <mclasen@redhat.com>
1696
1697         * gtk/gtkcombobox.c: When popping up a menu from a treeview cell,
1698         use the time and button information from the event.  (#504901,
1699         Peter Bloomfield)
1700
1701 2007-12-23  Cody Russell  <bratsche@gnome.org>
1702
1703         * gdk/win32/gdkevents-win32.c (show_window_recurse): Check that
1704         the window is mapped before setting SW_RESTORE or SW_MINIMIZE.
1705         Fixes a regression caused by #164537 patch where transient
1706         windows that are hidden get shown (incorrectly) when their
1707         parents are minimized. (#504984)
1708         
1709 2007-12-22  Christian Persch  <chpe@gnome.org>
1710
1711         * modules/other/gail/gailcell.c:
1712         * modules/other/gail/gailcontainercell.c:
1713         * modules/other/gail/gailexpander.c:
1714         * modules/other/gail/gailtextcell.c:
1715         * modules/other/gail/gailtextview.c:
1716         * modules/other/gail/gailwindow.c: Fix compile warnings. Bug #504701.
1717
1718 2007-12-22  Christian Persch  <chpe@gnome.org>
1719
1720         * modules/other/gail/*.c: Include config.h. Bug #504720.
1721
1722 2007-12-22  Christian Persch  <chpe@gnome.org>
1723
1724         * modules/other/gail/*.c: Use G_DEFINE_TYPE[_WITH_CODE] instead of
1725         handwritten get_type functions. Bug #504661.
1726
1727 2007-12-23  Xan Lopez  <xan@gnome.org>
1728
1729         * gtk/gtktreeview.c (gtk_tree_view_build_tree): pass correct argument
1730         to g_signal_emit for TEST_EXPAND_ROW (GtkTreeIter* vs. GtkTreeIter**).
1731
1732         Patch by Sadrul Habib Chowdhury (#504804)
1733
1734 2007-12-22  Christian Persch  <chpe@gnome.org>
1735
1736         * modules/other/gail/Makefile.am: Link to gdk and gtk libs. Bug
1737         #504645, patch by Li Yuan.
1738
1739 2007-12-22  Christian Persch  <chpe@gnome.org>
1740
1741         * gdk/x11/gdkscreen-x11.c: (init_randr12): Plug mem leaks. Bug #504886.
1742
1743 2007-12-22  Christian Persch  <chpe@gnome.org>
1744         
1745         * modules/other/gail/gail.c:
1746         * modules/other/gail/gailbutton.c:
1747         * modules/other/gail/gailcell.c:
1748         * modules/other/gail/gailcombo.c:
1749         * modules/other/gail/gailcombo.h:
1750         * modules/other/gail/gailcombobox.c:
1751         * modules/other/gail/gailentry.c:
1752         * modules/other/gail/gailexpander.c:
1753         * modules/other/gail/gailmenuitem.c:
1754         * modules/other/gail/gailnotebook.c:
1755         * modules/other/gail/gailnotebookpage.c:
1756         * modules/other/gail/gailnotebookpage.h:
1757         * modules/other/gail/gailoptionmenu.c:
1758         * modules/other/gail/gailrange.c:
1759         * modules/other/gail/gailtextview.c:
1760         * modules/other/gail/gailtreeview.c:
1761         * modules/other/gail/gailtreeview.h:
1762         * modules/other/gail/gailwindow.c: Use gdk_threads_add_idle.
1763         Bug #504571.
1764
1765 2007-12-22  Matthias Clasen  <mclasen@redhat.com>
1766
1767         * modules/other/gail/gailclist.c: Chain up the finalizer (#504570,
1768         Christian Persch)
1769
1770 2007-12-21  Richard Hult  <richard@imendio.com>
1771
1772         * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_destroy):
1773         Plug leak of destroyed subviews, fixes bug #504753.
1774
1775 2007-12-20  Johan Dahlin  <johan@gnome.org>
1776
1777         * tests/Makefile.am (TEST_PROGS): 
1778         * tests/defaultvaluetest.c: Add a test for default values,
1779         based on program by Christan Perch
1780
1781 2007-12-20  Johan Dahlin  <johan@gnome.org>
1782
1783         * gtk/gtk-builder-convert (GtkBuilderConverter._remove_window): 
1784         Refactor to avoid some duplication.
1785         Convert toplevel GtkMenu's top popups and not menubars in the ui manager.
1786         Fixes #504749, Yuri Pimenov
1787
1788 2007-12-20  Kristian Rietveld  <kris@imendio.com>
1789
1790         * configure.in: RYuri Pimenovemove leftovers from old XRandR check.  Makes
1791         the build work again on systems without xrandr 1.2.
1792
1793 2007-12-20  Christian Persch  <chpe@gnome.org>
1794
1795         * configure.in:
1796         * modules/other/gail/libgail-util/Makefile.am:
1797         Keep the same libtool version as the standalone libgail-util had.
1798         Bug #504643.
1799
1800 2007-12-20 15:30:09  Tim Janik  <timj@imendio.com>
1801
1802         * Makefile.decl: generate HTML reports for test-report perf-report full-report.
1803
1804 2007-12-20  Alexander Larsson  <alexl@redhat.com>
1805         
1806         * gdk/x11/gdkapplaunchcontext-x11.c:
1807         Update for gio API changes
1808
1809 2007-12-20  Richard Hult  <richard@imendio.com>
1810
1811         * gdk/quartz/GdkQuartzWindow.c:
1812         * gdk/quartz/GdkQuartzWindow.h: Make manual resizing smoother by
1813         processing events after changing the size.
1814
1815 2007-12-20  Richard Hult  <richard@imendio.com>
1816
1817         * modules/other/gail/gailwindow.c: (gail_window_get_mdi_zorder):
1818         Add stub for quartz to fix build.
1819
1820 2007-12-20  Christian Persch  <chpe@gnome.org>
1821
1822         * modules/other/gail/Makefile.am:
1823         * modules/other/gail/gailimage.c: (gail_image_class_init),
1824         (gail_image_init), (elide_underscores), (gail_image_get_name),
1825         (atk_image_interface_init), (gail_image_finalize):
1826         * modules/other/gail/gailimage.h:
1827         R modules/other/gail/gailintl.h:
1828         * po/POTFILES.skip: Use the stock item's label as the name of the
1829         accessible in gailimage.c. Bug #504246.
1830
1831 2007-12-19  Mathias Hasselmann  <mathias@openismus.com>
1832
1833         Avoid some compiler warnings and remove obsolete code. (#339540)
1834
1835         * gtk/gtkcalendar.c: Change week and year variable in
1836         calendar_paint_week_numbers from gint to guint. Remove obsolete "#if
1837         0" block from calendar_paint_day: The feature in question is handled
1838         few lines above. Cast data returned by gtk_selection_data_get_text()
1839         to (gchar*) in gtk_calendar_drag_data_received.
1840
1841 2007-12-19 17:05:31  Tim Janik  <timj@imendio.com>
1842
1843         * modules/other/Makefile.am: include Makefile.decl to unbreak test rules.
1844
1845 2007-12-19  Johan Dahlin  <johan@gnome.org>
1846
1847         * tests/buildertest.c (test_object_properties): 
1848         Add another call to gtk_builder_add_string after using
1849         delayed properties, as reported in #504393 but already
1850         fixed in #495769.
1851
1852 2007-12-18  Christian Persch  <chpe@gnome.org>
1853
1854         * configure.in:
1855         * docs/reference/Makefile.am:
1856         * docs/reference/libgail-util/*:
1857         * gail-uninstalled.pc.in:
1858         * gail.pc.in:
1859         * modules/Makefile.am:
1860         * modules/other/Makefile.am:
1861         * modules/other/gail/*:
1862         * modules/other/gail/libgail-util/*:
1863         * po/POTFILES.skip: Integrate gail into gtk+. Bug #169488.
1864
1865 2007-12-17  Matthias Clasen  <mclasen@redhat.com>
1866
1867         * gtk/gtksettings.c: Add a gtk-im-module GTK setting
1868         * gdk/win32/gdkproperty-win32.c: 
1869         * gdk/x11/gdksettings.c: ...and back it by a Gtk/IMModule X setting.
1870
1871         * gtk/gtkimmodule.[hc]: 
1872         * gtk/gtkimmulticontext.[hc]: When determining the default context,
1873         look at the gtk-im-module setting, and listen for changes to the
1874         setting.  (#502446, Akira Tagoh)
1875
1876 2007-12-17  Kristian Rietveld  <kris@imendio.com>
1877
1878         * gtk/gtktooltip.c (gtk_tooltip_finalize),
1879         (gtk_tooltip_set_last_window): use a weak pointer to set last_window
1880         to NULL as soon as it's destroyed.  (#496546, patch from
1881         Benjamin Berg).
1882
1883 2007-12-17  Kristian Rietveld  <kris@imendio.com>
1884
1885         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_update_button):
1886         always determine what arrow to show if show_sort_indicator is true.
1887         (#352738, Chris Vine).
1888
1889 2007-12-16  Mathias Hasselmann  <mathias@openismus.com>
1890
1891         Prevent assertion failure in gtk_paned_find_neighbours. (#503824,
1892         Sébastien Granjoux)
1893
1894         * gtk/gtkpaned.c: Call gtk_container_forall instead of
1895         gtk_container_foreach in get_child_panes.
1896
1897 2007-12-15  Xan Lopez  <xan.lopez@nokia.com>
1898
1899         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_reorder):
1900
1901         Plug leak: When reordering the info in the list the old node is
1902         removed but not freed. (#503569)
1903
1904 2007-12-15  Sebastian Dröge  <slomo@circular-chaos.org>
1905
1906         * gdk/directfb/gdkcursor-directfb.c: (gdk_cursor_new_for_display):
1907         Use u32 instead of __u32 and u8 instead of __u8 as the other types
1908         are deprecated since DirectFB 1.0.0. If compiling with an older
1909         version define the new type name to the old types. Fixes bug #503190.
1910
1911 2007-12-14  Ray Strode  <rstrode@redhat.com>
1912
1913         * gtk/gtkwidget.c: Suggest g_signal_connect (..., "realize", ...)
1914         instead of g_signal_connect_after (..., "realize", ...) as an
1915         alternative to gtk_widget_realize () (bug 503537).
1916
1917 2007-12-14  Michael Natterer  <mitch@imendio.com>
1918
1919         * gdk/gdkinternals.h
1920         * gdk/gdkapplaunchcontext.h: #include <gio/gio.h> instead of
1921         individual files.
1922
1923         * gdk/gdkapplaunchcontext.c
1924         * gdk/x11/gdkapplaunchcontext-x11.c: remove all gio includes, the
1925         header already includes everything now.
1926
1927 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
1928
1929         Correct "Since:" tags for GtkPageSetup and GtkPrintSettings as
1930         next stable release shall be 2.16, not 2.14 - even if disagree.
1931
1932         * gtk/gtkpagesetup.c, gtk/gtkprintsettings.c: s/2.14/2.16/
1933
1934 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
1935
1936         Change GtkToolItem to retrieve its properties from GtkToolShell
1937         interface, instead of relying on being child of a GtkToolbar.
1938         (#5034079)
1939
1940         * gtk/gtk.symbols, docs/reference/gtk/gtk-docs.sgml,
1941         docs/reference/gtk/gtk-sections.txt: Add GtkToolShell symbols.
1942         * docs/reference/gtk/tmpl/gtktoolitem.sgml: Move section docs inline.
1943         * gtk/gtktoolbar.c: Implement GtkToolShellIface.
1944         * gtk/gtktoolbar.h: Remove _gtk_toolbar_rebuild_menu.
1945         * gtk/gtktoolitem.c: Use GtkToolShell, instead of GtkToolbar.
1946         Take section docs from template file and update them for GtkToolShell.
1947         * gtk/Makefile.am: Add gtk/gtktoolshell.c and gtk/gtktoolshell.h.
1948         * gtk/gtktoolshell.c, gtk/gtktoolshell.h: New GtkToolShellIface.
1949
1950 2007-12-14  Mathias Hasselmann  <mathias@openismus.com>
1951
1952         Extract loading of GtkPageSetup and GtkPrintSettings from their
1953         *_new_*() functions and move that code into separate
1954         *_load_*() functions (#475565).
1955
1956         * gtk/gtk.symbols, gtk/gtkpagesetup.c, gtk/gtkpagesetup.h:
1957         Extract gtk_page_setup_load_file, gtk_page_setup_load_key_file,
1958         gtk_print_settings_load_file and gtk_print_settings_load_key_file.
1959         Change the matching *_new_*() functions to use those functions.
1960
1961 2007-12-14  Matthias Clasen  <mclasen@redhat.com>
1962
1963         * gtk/gtk.symbols:
1964         * gtk/gtktooltip.[hc]: Add gtk_tooltip_set_icon_from_icon_name().
1965
1966 2007-12-14  Kristian Rietveld  <kris@imendio.com>
1967
1968         * gtk/tests/liststore.c:
1969         * gtk/tests/treestore.c: added tests for insertion functions.
1970
1971 Thu Dec 13 13:14:50 2007  Søren Sandmann  <sandmann@redhat.com>
1972
1973         * Add RandR 1.2 support
1974
1975         - New monitors_changed signal - New API to get width/height of
1976           monitors, and the name of the plug
1977
1978 2007-12-13  Kristian Rietveld  <kris@imendio.com>
1979
1980         * gtk/tests/liststore.c:
1981         * gtk/tests/treestore.c: test the move and swap functions on a
1982         store with only one node.
1983
1984 2007-12-13  Kristian Rietveld  <kris@imendio.com>
1985
1986         * gtk/gtktestutils.c (gtk_test_init): add a call to
1987         g_test_bug_base().
1988
1989         * gtk/tests/treeview-scrolling.c: add g_test_bug() calls to
1990         appriopriate tests.
1991
1992 2007-12-13  Kristian Rietveld  <kris@imendio.com>
1993
1994         * gtk/tests/liststore.c:
1995         * gtk/tests/treestore.c: start composing tests for the list and tree
1996         store.
1997
1998         * gtk/tests/treeview-scrolling.c: added automated tests for
1999         GtkTreeView's scrolling "subsystem".
2000
2001         * gtk/tests/Makefile.am: updated; added new test programs.
2002
2003 2007-12-13  Mathias Hasselmann  <mathias@openismus.com>
2004
2005         Make the code compile again after the GdkAppLaunchContext changes.
2006
2007         * configure.in: Add gio-2.0 to GDK_PACKAGES.
2008         * gdk/gdkinternals.h: Include <gio/gappinfo.h>.
2009
2010 2007-12-12  Matthias Clasen  <mclasen@redhat.com>
2011
2012         * gdk/gdkapplaunchcontext.c: Add docs
2013
2014 2007-12-12  Matthias Clasen  <mclasen@redhat.com>
2015
2016         * gdk/gdkapplaunchcontext.[hc]: Implement GAppLaunchContext 
2017         in gdk, providing startup notification.  (#503203)
2018
2019         * gdk/x11/gdkapplaunchcontext-x11.c: 
2020         * gdk/win32/gdkapplaunchcontext-win32.c:
2021         * gdk/quartz/gdkapplaunchcontext-quartz.c: 
2022         * gdk/directfb/gdkapplaunchcontext-directfb.c: Backend-specific
2023         parts. All but X11 are just empty stubs for now.
2024
2025         * gdk/gdk.symbols:
2026         * gdk/gdkinternals.h:
2027         * gdk/Makefile.am:
2028         * gdk/x11/Makefile.am: 
2029         * gdk/win32/Makefile.am: 
2030         * gdk/quartz/Makefile.am: 
2031         * gdk/directfb/Makefile.am: Necessary glue.
2032
2033 2007-12-12  Mathias Hasselmann  <mathias@openismus.com>
2034
2035         * gtk/gtkdnd.c: Another attempt to improve gtk_drag_dest_set docs.
2036
2037 2007-12-11  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
2038
2039         * gdk/directfb/gdktestutils-directfb.c:
2040         * gdk/directfb/Makefile.am: Applied a patch by Claudio Ciccani
2041         which adds testing functions to the DirectFB backend.
2042
2043 2007-12-11  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
2044
2045         * gdk/directfb/gdkdrawable-directfb.c: Applied a patch by Claudio
2046         Ciccani which fixes the mixing of gdk and cairo rendering.
2047
2048 2007-12-11  Mathias Hasselmann  <mathias@openismus.com>
2049
2050         * gtk/gtkdnd.c, gtk/gtkwidget.c: Mention impact of GtkDestDefaults
2051         on "drag-motion" handlers. Clearify documentation for
2052         gtk_drag_dest_set.
2053
2054 2007-12-11 15:44:01  Tim Janik  <timj@imendio.com>
2055
2056         * buildertest.c: made unnecessarily exported symbols static.
2057         switched g_return_if_fail() statements in tests to assertions.
2058         special cased currently failing Widget/accesibility test to
2059         run only for g_test_thorough(), so it doesn't break make check.
2060         some coding style fixes.
2061
2062         * Makefile.am: added buildertest to TEST_PROGS.
2063
2064 2007-12-11  Stefan Kost  <ensonic@users.sf.net>
2065
2066         * docs/tutorial/gtk-tut.sgml:
2067           Use gtk_widget_get_parent_window() instead of widget->parent->window.
2068
2069 2007-12-10  Richard Hult  <richard@imendio.com>
2070
2071         * gdk/quartz/Makefile.am:
2072         * gdk/quartz/gdkquartz.h:
2073         * gdk/quartz/gdkwindow-quartz.c: Install backend specific
2074         header (bug #405915). Also add a getter for the toplevel nswindow.
2075
2076 2007-12-10  Richard Hult  <richard@imendio.com>
2077
2078         * gdk/quartz/gdkdrawable-quartz.c:
2079         (gdk_quartz_drawable_get_context),
2080         (gdk_quartz_drawable_release_context):
2081         * gdk/quartz/gdkeventloop-quartz.c: (gdk_event_prepare),
2082         (gdk_event_check), (gdk_event_dispatch), (poll_func):
2083         * gdk/quartz/gdkwindow-quartz.h: Replace the autorelease pools
2084         used for each drawing context and in prepare, dispatch and poll
2085         with one that exists across each main loop iteration. Fixes leaks
2086         on leopard and protects against future leaks introduce when the
2087         underlying system changes again (bug #492977).
2088
2089 2007-12-10  Richard Hult  <richard@imendio.com>
2090
2091         * gdk/quartz/gdkwindow-quartz.c: (move_resize_window_internal):
2092         Fix the check for no changes to position and size.
2093
2094 2007-12-10  Richard Hult  <richard@imendio.com>
2095
2096         * gdk/quartz/GdkQuartzView.c: Ignore drawRect calls with zero
2097         sized areas at (0, 0), patch from Paul Davis.
2098
2099 2007-12-10  Richard Hult  <richard@imendio.com>
2100
2101         * gdk/quartz/gdkprivate-quartz.h: 
2102         * gdk/quartz/gdkeventloop-quartz.c:
2103         (_gdk_quartz_event_loop_get_pending),
2104         (_gdk_quartz_event_loop_check_pending),
2105         (_gdk_quartz_event_loop_release_event), (gdk_event_prepare),
2106         (gdk_event_check), (gdk_event_dispatch):
2107         * gdk/quartz/gdkevents-quartz.c: (gdk_events_pending)
2108         (_gdk_events_queue): Fix a bug where we could end up trying to
2109         handle the same event more than once. Based on patch from Paul
2110         Davis.
2111
2112 2007-12-10  Tor Lillqvist  <tml@novell.com>
2113
2114         * gtk-zip.sh.in: Include bin/gtk-builder-convert in the dev
2115         package. (#502850)
2116
2117 2007-12-10  Matthias Clasen  <mclasen@redhat.com>
2118
2119         * gtk/gtknotebook.c (gtk_notebook_real_remove): Another fix
2120         to avoid further fallout from the fix for bug 388321.
2121
2122 2007-12-09 09:56:06  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
2123
2124         * gdk/directfb/gdkgc-directfb.c:
2125         * gdk/directfb/gdkdrawable-directfb.c:
2126         * gdk/directfb/gdkdirectfb.h:
2127         * gdk/directfb/gdkwindow-directfb.c:
2128         * gdk/directfb/gdkprivate-directfb.h: Committed several patches
2129         (window_flip_group, no_background_pixmap_fix, opt_temp_region2,
2130         blit_after_cairo_fix, rect_clip_fix, fast_blend, opt_temp_region_etc,
2131         opt_clip_region_and_fill_rects, no_state_resets) by Denis Oliver Knopp
2132         which are expected to improve the performance of the DirectFB backend.
2133         Experimental pieces of code (GDK_DIRECTFB_NO_EXPERIMENTS) are disabled.
2134
2135 2007-12-07  Matthias Clasen  <mclasen@redhat.com>
2136
2137         * gtk/gtkcontainer.c: Correct the documentation of child
2138         property getter arguments.  (#501992, David Brigada)
2139
2140 2007-12-07  Matthias Clasen  <mclasen@redhat.com>
2141
2142         * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): Don't
2143         leak pixbufs.  (#502250, Yevgen Muntyan)
2144
2145 2007-12-07  Yevgen Muntyan  <muntyan@tamu.edu>
2146
2147         * gtk/gtkprintunixdialog.c:
2148         * gtk/gtkpagesetupunixdialog.c: added alternative button order in
2149         Print and Page Setup dialogs (#502202).
2150
2151 2007-12-07 13:16:33  Tim Janik  <timj@imendio.com>
2152
2153         * Makefile.decl: skip tests if gdktarget!=x11, since GUI tests need
2154         Xvfb. only start Xvfb if TEST_PROGS is not empty. moved "set -e" out
2155         of XVFB_START, since it's the GTESTER invokation that needs this.
2156
2157 2007-12-06  Tommi Komulainen  <tommi.komulainen@iki.fi>
2158
2159         * gdk-pixbuf/gdk-pixbuf.symbols:
2160         * gdk/gdk.symbols:
2161         * gdk/gtk.symbols: Remove trailing whitespace that can trigger false
2162         positives in abicheck.sh
2163
2164 2007-12-06 18:45:06  Attilio Fiandrotti  <attilio.fiandrotti@gmail.com>
2165
2166         * gdk/directfb/gdkevents-directfb.c: Committed a patch by DOK to fix
2167         GDK events generations in the DirectFB backend.
2168
2169 2007-12-06 13:55:06  Tim Janik  <timj@imendio.com>
2170
2171         * Makefile.decl: replaced seq(1) invokation for X11 ids with a hardcoded
2172         set of likely unused display ids, because MacOS has no seq(1) command.
2173
2174 2007-12-06  Richard Hult  <richard@imendio.com>
2175
2176         * gdk/quartz/gdkevents-quartz.c:
2177         (synthesize_crossing_events_for_ns_event): Fix warning when
2178         switching spaces in leopard.
2179
2180 2007-12-06 13:38:36  Tim Janik  <timj@imendio.com>
2181
2182         * tests/floatingtest.c: ported to new testing framework.
2183
2184         * tests/Makefile.am: run floatingtest as testing framework test.
2185
2186 2007-12-06 10:44:52  Tim Janik  <timj@imendio.com>
2187
2188         * tests/autotestfilechooser.c: majorly speed up execution by reducing
2189         timeouts and converting main loop sleeps to pending/iterate loops with
2190         very low priority async handlers. eliminate output for non-verbose
2191         tests. assert successfull subtests in all test functions. use testing
2192         framework in main().
2193
2194         * tests/Makefile.am: add autotestfilechooser to TEST_PROGS, so it's
2195         executed inside Xvfb upon make check.
2196
2197 2007-12-06 08:23:38  Tim Janik  <timj@imendio.com>
2198
2199         * tests/objecttests.c: use string comparisons for string property
2200         values and get rid of referencing symbols in array initialization.
2201
2202 2007-12-05 18:59:59  Tim Janik  <timj@imendio.com>
2203
2204         * gtk+/Makefile.decl: run tests in current dir after setting up the
2205         logging directory, so their results get properly merged into the
2206         resulting test log.
2207
2208         * gtk+/gtk/gtktestutils.[hc]: added gtk_test_list_all_types() for
2209         tests to loop over registered Gdk/Gtk+ types.
2210
2211         * gtk+/tests/objecttests.c: new test program, implements automated
2212         property tests. several properties are blacklisted because they
2213         seem to trigger Gdk/Gtk+ bugs. ./objecttests -m thorough --verbose
2214         can be used to test blacklisted properties and see which proprty failed.
2215
2216 2007-12-04  Richard Hult  <richard@imendio.com>
2217
2218         * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
2219         Fully initialize the root window, fixes bug #501583.
2220
2221 2007-12-04  Matthias Clasen  <mclasen@redhat.com>
2222
2223         * gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
2224         crash epiphany.
2225
2226 2007-12-03  Richard Hult  <richard@imendio.com>
2227
2228         * gtk/gtkquartz.c: (_gtk_quartz_set_selection_data_for_pasteboard):
2229         Don't crash when dragging from a source that doesn't support uri
2230         lists (bug #499868, Paul Davis).
2231
2232 2007-12-03  Richard Hult  <richard@imendio.com>
2233
2234         * gdk/quartz/gdkwindow-quartz.c:
2235         (gdk_window_impl_quartz_begin_paint_region): Don't crash when a
2236         parent relative bg pixmap is set, and no parent has a bg
2237         pixmap. Fixes bug #500804.
2238
2239 2007-12-03  Matthias Clasen  <mclasen@redhat.com>
2240
2241         Two optimizations for icon cache lookups.
2242
2243         * gtk/gtkiconcache.[hc]:
2244         * gtk/gtkicontheme.c: Remember the directory index for
2245         subdirectories, instead of running over the directory list
2246         again and again.
2247
2248         * gtk/gtkiconcache.c (find_image_offset): Remember the last 
2249         chain and try it first; this helps with the the usage patterns
2250         in gtkicontheme.c, where the same icon is queried for a lot
2251         of subdirectories.
2252
2253 2007-12-03 15:18:17  Tim Janik  <timj@imendio.com>
2254
2255         * gtk/Makefile.am (gtktypefuncs.c): use 'grep -o' to extract _get_type
2256         functions from header files. this should be portable across linux and
2257         Mac OS, unlike the previpous sed expression.
2258
2259 2007-12-1  Cody Russell  <bratsche@gnome.org>
2260
2261         * gtk/gtkpaned.c: (gtk_paned_set_position) [Win32]:
2262         On Windows, queue a redraw of child2 whenever we set
2263         the pane handle position.  This is unfortunately kind
2264         of hacky, but solves the visual artifacts that were
2265         occuring on at least certain types of child widgets
2266         (e.g., text views and tree views) that are inside
2267         horizontal or vertical panes. (#144269)
2268
2269 2007-11-30  Matthias Clasen  <mclasen@redhat.com>
2270
2271         * gtk/gtkrc.c: Fix doc typos.  (#500672, David Lambert)
2272
2273 2007-11-29  Matthias Clasen  <mclasen@redhat.com>
2274
2275         * gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove leftover
2276         debug spew.
2277
2278 2007-11-29  Matthias Clasen  <mclasen@redhat.com>
2279
2280         * gtk/Makefile.am: Fix ordering of subdirs.
2281
2282 2007-11-28  Tor Lillqvist  <tml@novell.com>
2283
2284         A proper build of GNU libintl is supposed to export the variable
2285         _nl_msg_cat_cntr. configure looks for that variable in order to
2286         recognize GNU gettext. If it sees that it is indeed GNU gettext
2287         that is used, it decides to install message catalogs in
2288         share/locale, otherwise in lib/locale. Until now on Windows I have
2289         built GTK+ against a build of GNU gettext that did not export
2290         _nl_msg_cat_cntr. But this will change, so we can't assume message
2291         catalogs are always in lib/locale.
2292
2293         * gtk/gtkmain.c: (_gtk_get_localedir) [Win32]: Rework to handle
2294         GTK_LOCALEDIR being either in "lib" or "share". Move the function
2295         before the inclusion of gtkprivate.h so that it sees the original
2296         GTK_LOCALEDIR.
2297
2298         * gtk-zip.sh.in: Check whether the message catalogs are in
2299         share/locale or lib/locale.
2300
2301         * config.h.win32.in: Tack on "/share/locale" to GTK_LOCALEDIR so
2302         that the code in _gtk_get_localedir() will find the slashes.
2303
2304 2007-11-28  Tor Lillqvist  <tml@novell.com>
2305
2306         * gtk/Makefile.am: Improve portability. The -o option is present
2307         only in newish GNU egreps. Use one more sed in the pipeline
2308         instead.
2309
2310 2007-11-28  Tor Lillqvist  <tml@novell.com>
2311
2312         Fix #375893, patch by Ben Hague:
2313
2314         * gtk/gtkfilesystemwin32.c (get_viewable_logical_drives): Wrapper
2315         around GetLogicalDrives() that takes also the viewable drive
2316         restrictions in the Registry (which are usually the result of an
2317         Active Directory Group Policy) into account.
2318
2319         (check_volumes, gtk_file_system_win32_list_volumes) Call
2320         get_viewable_logical_drives() instead of GetLogicalDrives().
2321
2322 2007-11-27  Matthias Clasen <mclasen@redhat.com>
2323
2324         * gtk/gtkwindow.c (gtk_window_move_resize): Zero some
2325         variables to silence valgrind.  (#495124, Morten Welinder)
2326
2327 2006-11-26  Ryan Lortie  <desrt@desrt.ca>
2328
2329         * docs/reference/gtk/tmpl/gtkbuildable.sgml: add clarification stating
2330         that the construct_child function is responsible for returning a
2331         reference.
2332         * gtkbuilder.c (_gtk_builder_construct): remove g_object_ref() for
2333         objects from constructors
2334         * gtkuimanager.c (gtk_ui_manager_buildable_construct_child): add
2335         g_object_ref() to this construction function (it's the only
2336         implementer in GTK)
2337
2338         Fixes #496645.
2339
2340 2006-11-26  Ryan Lortie  <desrt@desrt.ca>
2341
2342         * gtkbuilder.c: remove concept of root objects and just refcount
2343         all objects in the builder.  Fixes #496651.
2344
2345 2007-11-26  Ryan Lortie  <desrt@desrt.ca>
2346
2347         * tests/buildertest.c (test_window): fix invalid free
2348
2349 2007-11-26  Josselin Mouette <joss@malsain.org>
2350
2351         reviewed by: Federico Mena Quintero
2352
2353         * gtk/gtkfilechooserdefault.c: (shortcuts_append_paths),
2354         (shortcuts_add_bookmarks), (shortcuts_selection_changed_cb),
2355         (shortcuts_list_create), (gtk_file_chooser_default_should_respond):
2356         Make the shortcuts activate with a single click. (#148828)
2357         Fix a few things affected by the change:
2358           - Set selection mode to GTK_SELECTION_SINGLE to allow a case 
2359             where no shortcut is selected.
2360           - Don't activate a shortcut in the response callback.
2361           - Filter out duplicate entries in volumes and bookmarks to 
2362             avoid the selection to change when reordering them with DnD.
2363
2364 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
2365
2366         * gtk/gtkmain.c:
2367         * gtk/gtknotebook.c:
2368         * gtk/gtkplugprivate.h:
2369         * gtk/gtksocket.c:
2370         * gtk/gtksocketprivate.h:
2371         * gtk/gtktable.c: Fix up some doc comments to shut up gtk-doc.
2372
2373 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
2374
2375         * configure.in: Use $CUPS_CONFIG instead of hardcoded cups-config.
2376         (#495574, Richard Hult)
2377
2378 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
2379
2380         * gtk/gtkprintunixdialog.c: Change some labels to be clearer.
2381         String change !   (#376361, Sven Neumann)
2382
2383 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
2384
2385         * gtk/gtknotebook.c (gtk_notebook_update_labels): Short-circuit on
2386         destroy.
2387         (gtk_notebook_destroy): Destroy tab_label widgets. (#388321, Morten
2388         Welinder)
2389
2390 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
2391
2392         * gtk/gtkassistant.c: Improve alternative button
2393         ordering.  (#476827, Yevgen Muntyan, patch by Carlos Garnacho)
2394
2395 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
2396
2397         * gtk/gtkcalendar.c: Fix a theming problem with colors
2398         in GtkCalendar.  (#499703, Michael Hofmann)
2399
2400 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
2401
2402         * configure.in: Bump glib requirement to 2.15.0 (for g_test_init)
2403
2404 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
2405
2406         Use templates for glib-mkenums calls instead of 
2407         complicated commandlines in Makefiles.  (#429910)
2408
2409         * gdk-pixbuf/Makefile.am:
2410         * gdk/Makefile.am: 
2411         * gtk/Makefile.am: 
2412         * perf/Makefile.am: Use templates for glib-mkenums
2413
2414         * gdk-pixbuf/gdk-pixbuf-enum-types.[ch].template:
2415         * gdk/gdkenumtypes.[ch].template: 
2416         * gtk/gtktypebuiltings.[ch].template: 
2417         * perf/typebuiltins.[ch].template: The templates
2418
2419 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
2420
2421         * gtk/gtkfilechooserbutton.c:
2422         * gtk/gtktoolbar.c: Don't use guint8 for bitfields, since
2423         some compilers choke on that.  (#467722)
2424
2425 2007-11-26  Matthias Clasen  <mclasen@redhat.com>
2426
2427         * gtk/gtkaboutdialog.c (gtk_about_dialog_set_website): Add a note
2428         about hook setup.  (#425004, Emmanuele Bassi)
2429
2430 2007-11-26  Tor Lillqvist  <tml@novell.com>
2431
2432         * gdk/win32/gdkwindow-win32.c (gdk_window_fullscreen): Use the
2433         monitor the window currently is on, not always the primary
2434         monitor. (#463865, Tim Evans)
2435
2436 2007-11-26  Tor Lillqvist  <tml@novell.com>
2437
2438         * gdk/win32/gdktestutils-win32.c: New file, dummy implementations.
2439
2440         * gdk/win32/Makefile.am: Add it.
2441
2442 2007-11-26  Tor Lillqvist  <tml@novell.com>
2443
2444         * configure.in: Don't add jasper to all_loaders if no libjasper.
2445
2446 2007-11-25  Bastien Nocera  <hadess@hadess.net>
2447
2448         * configure.in: Add detection for libjasper, used by the
2449         gdk-pixbuf JPEG2000 loader
2450
2451 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
2452
2453         * configure.in: Require gtk-doc 1.8
2454
2455         * */*.c: Use gtk-doc abbreviations for examples in docs.
2456
2457 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
2458
2459         * gtk/gtktreeview.c (gtk_tree_view_set_show_expanders): Fix a
2460         typo.  (#498922)
2461
2462 2007-11-25  Matthias Clasen  <mclasen@redhat.com>
2463
2464         * gtk/gtkdialog.c: Move signal and property documentation inline,
2465         fix a problem with the ::response signal docs.  (#499133, Josselin
2466         Mouette)
2467
2468 2007-11-22 15:48:26  Tim Janik  <timj@imendio.com>
2469
2470         * Makefile.decl: initialize automake variables EXTRA_DIST and
2471         TEST_PROGS for unconditional appending via += in other makefiles.
2472         define recursive test targets: test, test-report, perf-report,
2473         full-report, as described here:
2474       http://mail.gnome.org/archives/gtk-devel-list/2007-November/msg00000.html
2475         the test targets will execute Gtk+ test programs within an Xvfb session.
2476
2477         * gtk/gtktestutils.c: call g_test_init() from gtk_test_init().
2478
2479         * gtk/tests/testing.c: use g_test_add_func() to register tests and use
2480         g_test_run() to run the tests to integrate with the testing framework.
2481
2482         * gtk/tests/Makefile.am: removed exemplary testing rules.
2483
2484         * Makefile.am, gtk/tests/Makefile.am, gtk/Makefile.am:
2485         * gtk/xdgmime/Makefile.am, gtk/theme-bits/Makefile.am:
2486         * tests/Makefile.am, docs/reference/gdk-pixbuf/Makefile.am:
2487         * docs/reference/gdk/Makefile.am, docs/reference/gtk/Makefile.am:
2488         * docs/reference/Makefile.am, docs/tools/Makefile.am:
2489         * docs/tutorial/Makefile.am, docs/faq/Makefile.am, docs/Makefile.am:
2490         * gdk-pixbuf/pixops/Makefile.am, gdk-pixbuf/Makefile.am:
2491         * demos/gtk-demo/Makefile.am, demos/Makefile.am:
2492         * modules/input/Makefile.am, modules/printbackends/file/Makefile.am:
2493         * modules/printbackends/test/Makefile.am, modules/printbackends/Makefile.am:
2494         * modules/printbackends/cups/Makefile.am, modules/printbackends/lpr/Makefile.am:
2495         * modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am:
2496         * modules/engines/ms-windows/Theme/Makefile.am:
2497         * modules/engines/ms-windows/Makefile.am:
2498         * modules/engines/Makefile.am,  modules/engines/pixbuf/Makefile.am:
2499         * modules/Makefile.am, m4macros/Makefile.am, perf/Makefile.am:
2500         * contrib/Makefile.am, contrib/gdk-pixbuf-xlib/Makefile.am:
2501         * gdk/directfb/Makefile.am, gdk/linux-fb/Makefile.am:
2502         * gdk/quartz/Makefile.am, gdk/win32/rc/Makefile.am:
2503         * gdk/win32/Makefile.am, gdk/x11/Makefile.am, gdk/Makefile.am:
2504         include $(top_srcdir)/Makefile.decl, adapted EXTRA_DIST assignments.
2505
2506 2007-11-22  Matthias Clasen  <mclasen@redhat.com>
2507
2508         * modules/printbackends/cups/gtkcupsutils.c: Fix a casting problem.
2509         (#485662, patch by Herbert Valerio Riedel)
2510
2511 2007-11-22  Matthias Clasen  <mclasen@redhat.com>
2512
2513         * gtk/gtktextiter.c: Fix an aliasing problem.  (#347585, Ed Catmur)
2514
2515 2007-11-21  Richard Hult  <richard@imendio.com>
2516
2517         * gdk/quartz/Makefile.am: * gdk/quartz/gdktestutils-quartz.c: Add
2518         stubs for the testing functions to fix the build.
2519
2520 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
2521
2522         * tests/testrichtext.c (setup_buffer): Fix C89 compilation issue.
2523         (#467711, The Written Word)
2524
2525 2007-11-21  Ross Burton  <ross@openedhand.com>
2526
2527         * gdk/x11/gdksettings.c:
2528         Add xsetting for gtk-scrolled-window-placement (#458103).
2529
2530 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
2531
2532         * gtk/gtkmenuitem.c (gtk_menu_item_class_init),
2533         (gtk_menu_item_paint): Make GtkMenuItem's arrow size themeable.
2534         (#469239, Michael Natterer)
2535
2536 2007-11-21  Behdad Esfahbod  <behdad@gnome.org>
2537
2538         * gdk/x11/gdksettings.c (gdk_settings_names, gdk_settings_map): Add
2539         Gtk/EnableAccels and Gtk/EnableMnemonics xsettings for
2540         gtk-enable-accels and gtk-enable-mnemonics GtkSettings respectively.
2541         (#436536, Tommi Komulainen)
2542
2543 2007-11-21  Matthias Clasen  <mclasen@redhat.com>
2544
2545         * gtk/gtktoolbar.c: Fix the default value of the toolbar-style
2546         property.  (#489782, Jan Janech)
2547
2548 2007-11-20  Matthias Clasen  <mclasen@redhat.com>
2549
2550         * gtk/gtkimage.c (animation_timeout): Avoid drawing one too many
2551         frames.  (#107398, Owen Taylor, Miguel Gomez)
2552
2553 Tue Nov 20 15:19:42 2007 +0100 Tim Janik
2554
2555         Moved Gdk test functions from Gtk+ to Gdk test utils.
2556
2557         * gdk/Makefile.am: added gdktestutils.h to public includes.
2558
2559         * gdk/gdk.h: added gdktestutils.h to public includes.
2560
2561         * gdk/gdk.symbols: added gdk_test_simulate_button, gdk_test_simulate_key,
2562         gdk_test_render_sync.
2563
2564         * gdk/gdktestutils.h: new file, added prototypes for gdk_test_simulate_button,
2565         gdk_test_simulate_key, gdk_test_render_sync.
2566
2567         * gdk/x11/Makefile.am: build gdktestutils-x11.c.
2568
2569         * gdk/x11/gdktestutils-x11.c: implemented gdk_test_simulate_button,
2570         gdk_test_simulate_key, gdk_test_render_sync.
2571
2572         * gtk/gtktestutils.c:
2573         * gtk/gtktestutils.h:
2574         * gtk/gtk.symbols: removed gtk_test_simulate_button
2575         gtk_test_simulate_key, gtk_test_xserver_render_sync.
2576
2577         * gtk/tests/testing.c: call gdk_test_render_sync.
2578
2579 Thu Nov 15 13:11:39 2007 +0100 Tim Janik
2580
2581         Added unit tests for Gtk+ testing utilities.
2582
2583         * gtk/tests/testing.c: added a sample test program that tests Gtk+ test
2584         utility functions. some g_test_* related portions are disabled and need
2585         to be enabled once Gtk+ depends on a new glib with the GLib testing
2586         framework integrated.
2587
2588         * gtk/tests/Makefile.am: new subdirectory to include quick Gtk+ tests.
2589         added exemplary test rules to run tests inside Xvfb. this needs to depend
2590         on gtester for full fledged testing.
2591
2592         * gtk/Makefile.am: build gtk+/gtk/tests, define -DGTK_ENABLE_BROKEN when
2593         collecting _get_type functions to catch e.g. gtk_text_get_type().
2594
2595         * configure.in: create gtk/tests/Makefile.in and gtk/tests/Makefile.
2596
2597 Thu Nov 15 11:55:34 2007 +0100 Tim Janik
2598
2599         Added Gtk+ testing utilities.
2600
2601         * gtk/gtktestutils.h, gtk/gtktestutils.c: added unit test utility functions.
2602         for the most part, the functions herein involve navigating and interacting
2603         with dialog elements programatically, to automate user interaction tests of
2604         dialogs and widgets.
2605
2606         * gtk/gtk.h: include gtk/gtktestutils.h as public API.
2607
2608         * gtk/gtk.symbols: added gtk_test_* symbols.
2609
2610         * gtk/Makefile.am: include gtktestutils.h and gtktestutils.c into the build.
2611         generate gtktypefuncs.c which contains a list of all _get_type functions in
2612         Gtk+ and Gdk.
2613 2007-11-20  Bastien Nocera  <hadess@hadess.net>
2614
2615         * configure.in: add support for conditional icns gdk-pixbuf loader
2616         (Closes: #395738)
2617
2618 2007-11-19 10:31:26  Tim Janik  <timj@imendio.com>
2619
2620         * configure.in: updated version number to 2.15.0 for development.
2621
2622 2007-11-19 10:27:39  Tim Janik  <timj@imendio.com>
2623
2624         === Branch for 2.12 ===
2625