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