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