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