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