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