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