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