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