]> Pileus Git - ~andy/gtk/blob - ChangeLog
New function to go from tree window to tree coordinates, kept static for
[~andy/gtk] / ChangeLog
1 2004-05-14  Matthias Clasen  <mclasen@redhat.com>
2
3         * gtk/gtktreeview.c (gtk_tree_view_tree_window_to_tree_coords): 
4         New function to go from tree window to tree coordinates, kept
5         static for now until we figure out the multiple coordinate
6         system mess in GtkTreeView API-wise.
7         (gtk_tree_view_scroll_to_cell): Transform the coordinates 
8         from tree window to tree coordinates, using the new function.
9         Previously, the x coordinate was wrongly transformed. (#142494)
10
11         * gdk/gdktypes.h (GdkModifierType): Add a comment about unused
12         bits.
13
14         * gtk/gtkstock.c (real_add, gtk_stock_lookup): Use an unused
15         modifier bit to mark stock item which need to be freed 
16         eventually.  (#140654, Michal Pasternak, Scott Tsai)
17
18 2004-05-11  Robert Ögren  <gtk@roboros.com>
19
20         * gdk/win32/gdkevents-win32.c (gdk_event_translate): Add missing
21         call to g_object_ref in Wintab code. (#138341)
22
23         * gdk/win32/gdkinput-win32.c: Fix numerous Wintab problems
24         including unallocated buffers for event->motion.axes and
25         event->button.axes, unsigned wraparound problem in the code for
26         detecting missing press/release events and assigning min instead
27         of max when setting up axes.
28
29 2004-05-12  Matthias Clasen  <mclasen@redhat.com>
30
31         * tests/testtreeedit.c: Add a progress column.
32
33         * gtk/Makefile.am: Add gtkcellrendererprogress.[hc] in the right
34         places.
35
36         * gtk/gtk.h: Include gtkcellrendererprogress.h.
37
38         * gtk/gtkcellrendererprogress.[hc]: A progress cell renderer,
39         based on the one found in Epiphany.
40
41 2004-05-11  Michael Natterer  <mitch@gimp.org>
42
43         * gtk/gtkcombobox.c (gtk_combo_box_popup)
44         (gtk_combo_box_menu_button_press): don't allocate the popup
45         smaller than the combobox. Fixes bug #59660.
46
47 2004-05-11  Matthias Clasen  <mclasen@redhat.com>
48
49         * gtk/gtkuimanager.c (gtk_ui_manager_get_widget): Revert the
50         previous change to this function, clarify the docs instead.
51
52         * gtk/gtkcombobox.c (gtk_combo_box_list_setup): Use
53         GTK_SELECTION_BROWSE.
54
55         * gtk/gtktreeview.c: Make hover selection work for 
56         GTK_SELECTION_BROWSE as well.
57
58 Tue May 11 00:38:25 2004  Matthias Clasen  <maclas@gmx.de>
59
60         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_class_init): 
61         Document the ::toggled signal.
62
63 Mon May 10 23:04:25 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
64
65         * gtk/gtkwidget.h: Add prototype for _gtk_widget_grab_notify()
66
67 2004-05-10  Matthias Clasen  <mclasen@redhat.com>
68
69         * gtk/gtkwindow.c (get_screen_icon_info): Make static.
70
71         * gdk/gdkdisplay.c (singlehead_...): 
72         * gdk/x11/gdkkeys-x11.c (get_effective_keymap): 
73         * gdk/x11/gdkgeometry-x11.c (expose_serial_predicate): 
74         * gdk/x11/gdkdisplay-x11.c (escape_for_xmessage): Make static.
75
76         * gtk/gtktreeview.c (gtk_tree_view_set_fixed_height_mode): Add a 
77         note about COLUMN_FIXED restriction.
78
79         * gtk/gtkentrycompletion.c (gtk_entry_completion_list_button_press): 
80         Set the entry in the default handler of the ::match-selected signal.
81         (#137226)
82
83         * gtk/gtkcombobox.c (gtk_combo_box_menu_position_below): If we don't
84         do the move-selected-item below pointer thingie, do the 
85         place-below-or-above one.
86
87         * tests/testentrycompletion.c: Make the second example use the 
88         ::match-selected signal to make it actually work.
89
90         * gtk/gtkentrycompletion.c (gtk_entry_completion_init): 
91         * gtk/gtkcombobox.c (gtk_combo_box_list_setup): Use hover selection
92         mode.  (#127648, Dave Bordoley)
93
94         * gtk/gtktreeview.h:
95         * gtk/gtktreeview.c: Add a new property "hover_selection", which 
96         when TRUE makes the selection follow the mouse. Also add setter
97         and getter for the fixed_height property.
98
99 2004-05-10  Matthias Clasen  <mclasen@redhat.com>
100
101         * gtk/gtkcombobox.c (gtk_combo_box_popup) 
102         (gtk_combo_box_menu_button_press): Make sure the menu pops up
103         as wide as the combobox.  (#59660, Havoc Pennington)
104
105 2004-05-10  Matthias Clasen  <mclasen@redhat.com>
106
107         * gtk/gtkcombobox.h: 
108         * gtk/gtkcombobox.c: Support tearoffable combo boxes (in menu 
109         mode). Add a new property, add-tearoffs, for this.  (#135956)
110
111         * gtk/gtkfontsel.c (list_row_activated): Make Return activate the
112         default button.  (#118921)
113
114 Mon May 10 15:03:50 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
115
116         * gtk/gtkwidget.c (_gtk_widget_grab_notify): New internal function
117         that emits the grab notify signal.
118         
119         * gtk/gtkmain.c (gtk_grab_notify_foreach): Use it here.
120
121 Mon May 10 00:48:08 2004  Matthias Clasen  <maclas@gmx.de>
122
123         * gtk/gtkmenu.c: Make destruction of a torn off menu work 
124         like un-tearing off.
125
126 Sun May  9 21:05:38 2004  Matthias Clasen  <maclas@gmx.de>
127
128         Merge from 2.4:
129
130         * gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel): 
131         Allow to suppress the stock accelerator by using "".  (#142196,
132         David A Knight)
133         
134 Sun May  9 02:01:13 2004  Matthias Clasen  <maclas@gmx.de>
135
136         Merge from 2.4:
137         
138         * gtk/gtkcombobox.c (gtk_combo_box_list_button_released): 
139         In list mode, accept the same mouse/wheel bindings on 
140         the cellview as on the button.  (#136967)
141
142 Sun May  9 01:25:37 2004  Matthias Clasen  <maclas@gmx.de>
143
144         * gtk/gtkiconfactory.c (add_to_cache): Actually count the
145         cached icons.  (#135888, Crispin Flowerday)
146
147 Sun May  9 00:03:03 2004  Matthias Clasen  <maclas@gmx.de>
148
149         * gtk/gtkuimanager.c (gtk_ui_manager_get_widget): Make sure
150         that we actually return menus for nodes of type menu, not the
151         menuitems they're attached to.
152
153 Sat May  8 22:50:55 2004  Matthias Clasen  <maclas@gmx.de>
154
155         * gtk/gtkactiongroup.c (gtk_action_group_set_translation_domain): 
156         Add a note regarding UTF-8 requirements, proposed by 
157         Mariano Suárez-Alvarez.
158
159 Sat May  8 22:43:11 2004  Matthias Clasen  <maclas@gmx.de>
160
161         * gtk/gtktearoffmenuitem.h: 
162         * gtk/gtktearoffmenuitem.c: Put the torn_off flag back
163         into the GtkTearoffMenuItem struct, since it is used
164         by the Gimp, and keep it synchronized with the 
165         tearoff_state property of the parent menu.
166
167 2004-05-08  Hans Breuer  <hans@breuer.org>
168
169         * gtk/gtkfilesystemwin32.c (extract_icon) : finally also
170         create the correct mask for 'pseudo mime' icons
171
172         * gdk/win32/gdkwindow-win32.c(show_window_internal) : also
173         take focus_on_map into account
174
175         * gtk/gtkselection.c : g_message() only with DEBUG_SELECTION
176
177         * gtk/gtkactiongroup.c gtk/gtkcombobox.c : 
178         ... must return a value
179
180         * gdk/gdk.def gtk/gtk.def demos/gtk-demo/makefile.msc.in : updated
181
182 2004-05-07  Matthias Clasen  <mclasen@redhat.com>
183
184         * gtk/gtkbutton.c (gtk_button_size_allocate): Don't let the child
185         draw over the focus rectangle.
186
187         * gtk/gtkhsv.c: Draw focus indication in the color wheel using
188         standard focus style.  (#63071, Bill Haneman, idea for new
189         style by Owen Taylor)
190
191         * gtk/gtkstyle.c (gtk_default_draw_focus): Support drawing on
192         focus on the colorwheel via details.
193
194 2004-05-06  Matthias Clasen  <mclasen@redhat.com>
195
196         Merge from 2.4:
197         
198         * gtk/gtkcombobox.c (gtk_combo_box_menu_state_changed): Remove
199         this no longer needed signal handler.  (#141817, Paul Pogonyshev)
200
201 Fri May  7 00:41:46 2004  Matthias Clasen  <maclas@gmx.de>
202
203         * gtk/gtktearoffmenuitem.h: 
204         * gtk/gtktearoffmenuitem.c: Make the tearoff 
205         functionality model/view, the tearoffmenuitem being
206         the view and the tearoff_state property of the menu
207         being the model.  (#101185, Owen Taylor)
208
209         * gtk/gtkmenu.c: Add a tearoff_state property.
210
211 Thu May  6 23:52:13 2004  Matthias Clasen  <maclas@gmx.de>
212
213         Merge from 2.4:
214
215         * gtk/gtkmenuitem.c (gtk_menu_item_select_timeout): Also 
216         popup the submenu for items in torn off menus.  (#122051)
217
218 2004-05-06  Sven Neumann  <sven@gimp.org>
219
220         * gtk/gtkexpander.c (gtk_expander_size_allocate): in RTL mode,
221         position the title lable next to the arrow just as we do for LTR
222         rendering. Fixes bug #141825.
223
224 2004-05-06  Matthias Clasen  <mclasen@redhat.com>
225
226         * docs/RELEASE-HOWTO: Document the new policy of
227         bumping version numbers after release.
228
229         * configure.in: Bump version number to 2.5.0.
230
231 2004-05-06  Padraig O'Briain  <padraig.obriain@sun.com>
232
233         * gtk/gtkmenu.h:
234         * gtk/gtkmenu.c: Add new function gtk_menu_get_for_attach_widget.
235         (bug #113112).
236
237 Thu May  6 00:24:11 2004  Matthias Clasen  <maclas@gmx.de>
238
239         * gtk/gtkactiongroup.h: 
240         * gtk/gtkactiongroup.c (gtk_action_group_translate_string): 
241         New function to translate a string with translate_func.
242         (#135740)
243
244 Thu May  6 00:02:21 2004  Matthias Clasen  <maclas@gmx.de>
245
246         * gtk/gtkcombobox.c (gtk_combo_box_get_wrap_width): 
247         (gtk_combo_box_get_row_span_column): 
248         (gtk_combo_box_get_column_span_column): Add missing getters
249         for readwrite properies. (#135649)
250
251 Wed May  5 23:42:42 2004  Matthias Clasen  <maclas@gmx.de>
252
253         * gtk/gtkcombobox.h: 
254         * gtk/gtkcombobox.c (gtk_combo_box_get_active_text): 
255         Add gtk_combo_box_get_active_text() convenience 
256         function. (#136372, Christian Neumeir, patch by Olivier Andrieu) 
257
258 2004-05-05  Elijah Newren  <newren@math.utah.edu>
259
260         Changes to support do-not-focus-on-map hint in conjunction with
261         _NET_WM_USER_TIME (#115650):
262
263         * gdk/gdkwindow.h (struct _GdkWindowObject): Add a new boolean
264         field focus_on_map
265         
266         * gdk/gdkwindow.h (gdk_window_set_accept_focus): New function to
267         set it.
268
269         * gtk/gtkwindow.[hc]: Add a boolean property "focus_on_map"
270         and gtk_window_get_focus_on_map() and gtk_window_set_focus_on_map().
271
272         * gdk/win32/gdkwindow-win32.c (gdk_window_new): 
273         * gdk/linux-fb/gdkwindow-fb.c (gdk_window_new): 
274         * gdk/x11/gdkwindow-x11.c (gdk_window_new):
275         Initialize the focus_on_map field to TRUE.
276
277         * gdk/win32/gdkwindow-win32.c (gdk_window_set_focus_on_map): 
278         * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_focus_on_map): 
279         * gdk/x11/gdkwindow-x11.c (gdk_window_set_focus_on_map): 
280         * gdk/x11/gdkwindow-x11.c (setup_toplevel_window):
281         Implementations for the various backends. The Win32 and linux-fb
282         implementations set the focus_on_map field, but don't use it yet
283         to actually implement noinput windows. The X implementation sets
284         _NET_WM_USER_TIME to 0 if focus_on_map is FALSE (see the EWMH).
285
286         * gdk/x11/gdkwindow-x11.h: 
287         * gdk/x11/gdkevents-x11.c (set_user_time): 
288         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event): 
289         * gdk/x11/gdkwindow-x11.c (gdk_x11_window_set_user_time): 
290         s/_gdk_x11_window_set_user_time/gdk_x11_window_set_user_time/,
291         since we want that function to be part of the public API.
292
293 Wed May  5 22:20:21 2004  Matthias Clasen  <maclas@gmx.de>
294
295         Merge from 2.4:
296         
297         * gtk/gtkiconfactory.c (icon_source_clear): Don't
298         call g_free() on a pixbuf.  (#141961, Crispin Flowerday) 
299
300 2004-05-05  Matthias Clasen  <mclasen@redhat.com>
301    
302         Merge from 2.4:
303         
304         * gtk/gtkuimanager.c (print_node): Make the output 
305         parseable.  (#141929, Sven Neumann)
306
307 2004-05-05  Tor Lillqvist  <tml@iki.fi>
308
309         * gdk/win32/gdkdnd-win32.c (gdk_drag_find_window_for_screen): Add
310         multi-monitor offset. (#141842, John Ehresman)
311
312 2004-05-04  Federico Mena Quintero  <federico@ximian.com>
313
314         Fixes #139562, based on a patch by Christian Neumair.
315
316         * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault): Add
317         a filter_combo_hbox field to contain the filter combo.
318         (show_filters): Show/hide the filter_combo_hbox.
319         (create_filename_entry_and_filter_combo): Removed.
320         (file_pane_create): Create the filter_combo_hbox here.
321
322 2004-05-04  Matthias Clasen  <mclasen@redhat.com>
323
324         * modules/input/gtkimcontextxim.c: Fix the recent
325         string_conversion_callback change to work on 
326         Solaris.  (#141190, Padraig O'Briain)
327
328         * gtk/gtkselection.c: Disable debug logging again.
329
330 2004-05-03  Matthias Clasen  <mclasen@redhat.com>
331
332         * gtk/gtkselection.c: Make the chunk size for 
333         incremental transfers depend on the maximal request 
334         size, capped at 256k. This should allow most selections
335         to be transferred nonincrementally, avoiding many
336         roundtrips and protocol overhead.
337
338 2004-05-03  Federico Mena Quintero  <federico@ximian.com>
339
340         * gtk/gtkuimanager.c (gtk_ui_manager_class_init): Call
341         g_signal_new() correctly and initialize the signal fields.  Fixes
342         #141749; patch based on Michael Natterer's.
343
344 u2004-05-03  Matthias Clasen  <mclasen@redhat.com>
345
346         * gtk/gtkselection.c (_gtk_selection_request): Fix
347         a debug message to show correct information.
348         (_gtk_selection_incr_event): Make INCRemental transfer
349         of MULTIPLE targets work. This was broken since 1997!
350
351 2004-05-02  Hans Breuer  <hans@breuer.org>
352
353         * gdk/win32/gdkdrawable-win32.c (draw_segments) : don't
354         modify the passed in GdkSegment(s) in place, we may get
355         them again to draw at the same place. Fixes bug #129095, 
356         bug #137177, ...
357         (draw_segments) draw the end pixel again to get the 
358         pixmap mask right, fixes bug #126710, #130202
359
360         * gdk/win32/gdkwindow-win32.c : use SetForegroundWindow,
361         fixes bug #106013, John Ehresman
362
363         * gtk/makefile.msc.in : don't try to link gtk.res but
364         use gtk-win32.res (as supposed to be fixed below :)
365
366 2004-05-01  Hans Breuer  <hans@breuer.org>
367
368         * tests/Makefile.am : tests/makefile.msc is in CVS for
369         a long time, finally added to EXTRA_DIST : fixes bug 
370         #141334, John Ehresman
371
372 2004-04-30  Matthias Clasen  <mclasen@redhat.com>
373
374         * === Released 2.4.1 ===
375
376         * configure.in: Version 2.4.1, interface age 1. 
377
378         * NEWS: Updates
379
380 2004-04-29  Federico Mena Quintero  <federico@ximian.com>
381
382         Fixes #140412.
383
384         * gtk/gtkfilechooserdefault.c (remove_selected_bookmarks): New
385         function; moved the code over from
386         remove_bookmark_button_clicked_cb().
387         (remove_selected_bookmarks): Now, getting a non-removable bookmark
388         is not an error, as we may be called as a result of hitting the
389         Delete key.
390         (shortcuts_key_press_event_cb): New handler; delete the bookmark
391         if the user presses Backspace, Delete, or KP_Delete.
392
393 2004-04-29  Matthias Clasen  <mclasen@redhat.com>
394
395         * gtk/gtkaction.c (closure_accel_activate): Use
396         _gtk_action_emit_activate() instead of directly
397         emitting the activate signal.  (#141429, Jody Goldberg)
398
399         * gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel): 
400         Warn people when the accelerator can not be 
401         parsed.  (#141429, Jody Goldberg)
402
403 2004-04-29  Matthias Clasen  <mclasen@redhat.com>
404
405         * tests/testentrycompletion.c (main): Add a missing 
406         cat.  (#141070, Chris Sherlock)  
407
408         * gtk/gtkrc.c (gtk_rc_check_pixmap_dir): Remove unused
409         variable.  (#141022, Chris Sherlock)
410         
411         * gtk/gtkcombo.c (gtk_combo_popup_list): Add a missing
412         cast.  (#141013, Chris Sherlock)
413
414         * gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear): Remove
415         unused variable.  (#141011, Chris Sherlock)
416
417 2004-04-29  Tor Lillqvist  <tml@iki.fi>
418
419         * gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Plug memory
420         leak. (#140775, John Ehresman)
421
422 Thu Apr 29 01:09:50 2004  Matthias Clasen  <maclas@gmx.de>
423
424         * gdk/gdkdraw.c (_gdk_drawable_get_scratch_gc): Use depth - 1
425         to index the cached gcs, not depth.  (#139494)
426
427 2004-04-28  Matthias Clasen  <mclasen@redhat.com>
428
429         * gdk/gdkdraw.c (_gdk_drawable_get_scratch_gc): Docs typo fix.
430
431 Sun Apr 25 15:36:02 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
432
433         * gtk/gtktoolbutton.c (gtk_tool_button_set_label_widget): Fix
434         cut'n'paste-o from previous commit. (#141046, Torsten Schoenfeld).
435
436 2004-04-24  Theppitak Karoonboonyanan  <thep@linux.thai.net>
437
438         Patch to add support for string conversion callbacks to
439         GtkIMContextXIM (#101814)
440
441         * modules/input/gtkimcontextxim.c: Set the string conversion callback
442         if supported by the XIC.
443
444         (struct _GtkIMContextXIM): Add string_conversion_callback member.
445
446         (struct _GtkXIMInfo, setup_im): Check and keep flag inidicating
447         whether string conversion callback is supported.
448
449         (gtk_im_context_get_ic, +set_string_conversion_callback,
450         +string_conversion_callback): Also initialize string conversion
451         callback, if supported, along with the IC initialization.
452
453         * modules/input/imxim.c: Make "xim" module default for Thai as well.
454
455 2004-04-23  Matthias Clasen  <mclasen@redhat.com>
456
457         * gtk/gtkclipboard.c (gtk_clipboard_wait_for_targets): Correctly
458         initialize targets.  (#139883, John Finlay)
459
460         * gdk/gdkdraw.c (gdk_draw_drawable): Small doc improvement. 
461
462         * gtk/gtktreeselection.c (gtk_tree_selection_get_selected_rows): 
463         Don't recommend gtk_tree_row_reference_new_proxy().  (#138309,
464         Tim-Philipp Müller)
465
466         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_set_cell_data): 
467         Remove an excessive g_return_if_fail().
468
469         * gdk/x11/gdkevents-x11.c (set_user_time): Make set_user_time()
470         static.
471         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event): 
472         _-prefix calls of gdk_x11_window_set_user_time().
473
474 2004-04-22  Matthias Clasen  <mclasen@redhat.com>
475
476         * gtk/gtkuimanager.c (update_node): Make sure the separators 
477         used to demarkate placeholder ends don't show up on 
478         show_all().  (#140496, Murray Cumming)
479
480         * gtk/gtkspinbutton.c (spin_button_at_limit): Make spinbuttons
481         work with negative increments.  (#137975, Tim Gerla)
482
483 Wed Apr 21 21:38:03 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
484
485         * gtk/gtktoolbutton.c (gtk_tool_button_set_label_widget,
486         gtk_tool_button_set_icon_widget): Remove the old widget from the
487         tool button before overwriting it with the new widget.
488
489         (#140508, Todd Goyen)
490         
491 2004-04-22  Tor Lillqvist  <tml@iki.fi>
492
493         Fix the file chooser on Windows. I can't make it misbehave or
494         crash any more now. But presumably there are still corner cases
495         not handled. I haven't really checked behaviour of UNC paths, for
496         instance.
497
498         * gtk/gtkfilesystemwin32.c: Accept both backslash and slash in
499         several places. Use G_IS_DIR_SEPARATOR macro (which could be added
500         to GLib in 2.6).
501
502         (gtk_file_system_win32_get_parent): Like the Unix version, assert
503         filename is absolute, and avoid one unnecessary string allocation
504         and freeing.
505         
506         (canonicalize_filename,gtk_file_system_win32_parse): Handle drive
507         letters more correctly.
508
509         (gtk_file_system_win32_render_icon): Assure correct syntax is used
510         for root folder of a drive. (#137962, Morten Welinder)
511
512         (filename_is_some_root): New function that accepts also root
513         without any drive specified.
514
515         (filename_is_drive_root): Rename from filename_is_root.
516
517         * gtk/gtkfilechooserentry.c (completion_match_func): Casefold on
518         Windows.
519
520 2004-04-21  Matthias Clasen  <mclasen@redhat.com>
521
522         * gtk/gtkentry.c (gtk_entry_completion_timeout): Pop down the 
523         completion window if there are no completions anymore.
524
525         * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): 
526         Don't call gtk_tree_view_scroll_to_cell() on an empty tree view. 
527         It doesn't like that.  (#140642, Christian Persch)
528
529         * demos/gtk-demo/expander.c (do_expander): A new demo.
530
531         * demos/gtk-demo/Makefile.am (demos): Add expander.c.
532
533 2004-04-20  Matthias Clasen  <mclasen@redhat.com>
534
535         * gtk/gtktextview.c (gtk_text_view_allocate_children): Make
536         sure anchored children get size allocated, even if the layout
537         is valid.  (#122323, Andrew E. Makeev)
538         (gtk_text_view_scroll_pages): 
539         (gtk_text_view_scroll_hpages): Don't scroll to cursor position
540         if we already have pending scrolls. Bandaid fix for #78513.
541
542 Mon Apr 19 17:59:17 2004  Owen Taylor  <otaylor@redhat.com>
543
544         * INSTALL.in: Update libpng and libjpeg URLs, remove
545         note about building without since that's not the normal
546         case.
547
548 Sun Apr 11 09:45:11 2004  Owen Taylor  <otaylor@redhat.com>
549
550         * gtk/gtkicontheme.c (load_themes): Fix a couple of typos in
551         handling of SVG/non-SVG unthemed icons.
552
553 2004-04-19  Morten Welinder  <terra@gnome.org>
554
555         * gtk/gtktoolbar.c (gtk_toolbar_focus): Don't leak list of
556         children.  (#140523)
557
558 2004-04-19  Matthias Clasen  <mclasen@redhat.com>
559
560         * gtk/gtktextbtree.c (_gtk_text_line_previous_could_contain_tag): 
561         Don't stop the iteration up to the tag_root too 
562         early.  (#109945, Dongho Shin)
563
564 Sun Apr 18 17:06:03 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
565
566         * gdk/x11/gdkkeys-x11.c (get_effective_keymap): Make
567         gdk_keymap_translate_keyboard_state() handle NULL
568         keymaps. (#139715, Torsten Schoenfeld).
569
570 Sun Apr 18 16:59:21 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
571
572         * configure.in: Don't erase GDK_EXTRA_CFLAGS. Fixes bug 139586,
573         reported by Pedro RODRIGUEZ, about compilation problems when
574         Xcursor is installed in a non-standard location.
575
576 Sun Apr 18 16:15:15 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
577
578         Support for _NET_WM_USER_TIME (bug 115650). Patch by Elijah
579         Newren.
580         
581         * gdk/x11/gdkwindow-x11.[ch]: Add new internal function
582         _gdk_x11_set_user_time() to set the _NET_WM_USER_TIME property.
583
584         * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add user_time field
585
586         * gdk/x11/gdkdisplay-x11.c: Add _NET_WM_USER_TIME to list of
587         precached atoms.
588         
589         * gdk/x11/gdkinput-x11.c, gdk/x11/gdkevents-x11.c: Set the
590         property on user interaction.
591
592 2004-04-15  Federico Mena Quintero  <federico@ximian.com>
593
594         * gtk/gtkfilesel.c (open_new_dir): Tell the user to use
595         G_FILENAME_ENCODING, not G_BROKEN_FILENAMES.  Fixes #114065.
596
597         * gtk/gtkfilechooserdefault.c (split_uris): Use a variant of the
598         code from gtkfilesel.c to parse a "text/uri-list" blob.  Fixes
599         #140126.
600
601 2004-04-15  Matthias Clasen  <mclasen@redhat.com>
602
603         * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): 
604         * gtk/gtkbutton.c (gtk_button_class_init): Doc fixes.
605
606 2004-04-14  Matthias Clasen  <mclasen@redhat.com>
607
608         * gtk/gtkcombobox.c: 
609         * gtk/gtkwidget.c: 
610         Make all style properties readonly.
611
612 2004-04-14  Matthias Clasen  <mclasen@redhat.com>
613
614         * gtk/gtkcolorsel.c: Add a11y relations between the color
615         wheel and the spin buttons.  (#132745, Padraig O'Briain)
616
617         * gtk/gtkiconfactory.c (gtk_icon_set_render_icon): Document
618         the meaning of size == -1.
619
620         * gtk/gtkwidget.c (gtk_widget_render_icon): Explicitly accept  
621         a size of -1.  (#137436, Brian Cameron)
622
623         * gtk/gtkcombobox.c: Make the arrow and separator regular
624         children of an hbox inside the button, and propagate state
625         changes from the button to the cell view.  (part of the fix
626         for #138650, should also fix #137535)
627
628         * gtk/gtkcellview.c (gtk_cell_view_expose): Pass the PRELIT
629         state to gtk_cell_renderer_render() when prelighted. (part 
630         of the fix for #138650)
631
632         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): 
633         Use PRELIGHT state when appropriate.  (part of the fix for 
634         #138650)
635
636         * gtk/gtkcombobox.c (gtk_combo_box_relayout): Don't spit 
637         out warnings if called before the combo box is 
638         realized.  (#139742, Philip Langdale)
639
640 Wed Apr 14 03:45:39 2004  Jonathan Blandford  <jrb@gnome.org>
641
642         * gtk/gtktreeview.c (gtk_tree_view_expose): propagate expose
643         events to children.
644
645 Wed Apr 14 03:32:58 2004  Jonathan Blandford  <jrb@gnome.org>
646
647         * gtk/gtkpathbar.c (make_directory_button): remove spurious
648         gtk_box_pack_start.
649
650 Tue Apr 13 16:19:23 2004  Jonathan Blandford  <jrb@redhat.com>
651
652         * gtk/gtkpathbar.c (make_directory_button): patch from Owen to
653         make the buttons sized by a bold label.  This makes the text
654         'swim' a little, but stops the buttons from resizing, #137210
655
656 2004-04-13  Matthias Clasen  <mclasen@redhat.com>
657
658         * gtk/gtkuimanager.c (get_child_node): Don't crash if a node 
659         has no name.
660         (start_element_handler): Accept separators without unique 
661         names.  (#133302, Anders Carlsson)
662
663         * gtk/gtkactiongroup.c (gtk_action_group_add_action): Document
664         possible accelerator gotcha when using this function.  (#139641, 
665         Christian Persch)
666
667         * gtk/gtkuimanager.c (node_remove_ui_reference): Don't leak
668         list nodes.  (#138862, Morten Welinder)
669
670 Tue Apr 13 12:24:49 2004  Jonathan Blandford  <jrb@redhat.com>
671
672         * gtk/gtktreeview.c (gtk_tree_view_destroy): remove unused
673         variable.
674         (gtk_tree_view_button_press): If we activated the row we don't
675         want to grab focus back, as moving focus to another widget is
676         pretty common, #138458
677
678 2004-04-12  Federico Mena Quintero  <federico@ximian.com>
679
680         * gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Added
681         documentation to all the signals.
682
683 2004-04-12  Matthias Clasen  <mclasen@dhcp64-228.boston.redhat.com>
684
685         * gtk/gtkcombobox.c (gtk_combo_box_unset_model): Don't unref
686         model if it is NULL. (#139770)
687
688         * gtk/gtktreeview.c (gtk_tree_view_get_cell_area): Typo fix.
689
690         * gtk/gtkentrycompletion.c (gtk_entry_completion_init): Don't add
691         a shadow inside the scrolled window, add it around the vbox.
692
693         * gtk/gtkentryprivate.h: 
694         * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): 
695         Return a boolean indicating whether the popup is positioned above 
696         or below. Scroll the completions to the beginning or the end, 
697         depending on the positioning.
698
699         * gtk/gtkentry.c (gtk_entry_completion_key_press): Make keynav
700         wrap around in the entry completion popup, and allow GDK_UP to 
701         enter the popup.  (#137440)
702
703 2004-04-12  Matthias Clasen  <mclasen@redhat.com>
704
705         * gtk/gtkentry.c (gtk_entry_size_request): Make sure the style is 
706         there before using it.
707
708 Sun Apr 11 15:08:45 2004  Jonathan Blandford  <jrb@gnome.org>
709
710         * gtk/gtktreeprivate.h: Moved search entries into priv data.
711
712         * gtk/gtktreeview.c: Prep for type-ahead support.
713
714         (gtk_tree_view_destroy): Destroy the search window explicitly.
715         (gtk_tree_view_key_press): Minor change; prep for type-ahead
716         (gtk_tree_view_ensure_interactive_directory): New function
717         (gtk_tree_view_focus_out): Rework to handle new entry life-cycle.
718         (gtk_tree_view_real_start_interactive_search): rework
719         (gtk_tree_view_search_dialog_hide): ditto
720         (gtk_tree_view_search_delete_event): ditto
721         (gtk_tree_view_search_button_press_event): ditto
722         (gtk_tree_view_search_key_press_event): ditto
723         (gtk_tree_view_search_move): ditto
724         (gtk_tree_view_search_init): ditto
725
726         * gtk/gtktreeviewcolumn.c:
727         (gtk_tree_view_column_cell_layout_clear): remove unused variable.
728
729         * tests/testfilechooser.c: (main): change
730
731 2004-04-11  Hans Breuer  <hans@breuer.org>
732
733         * gdk/win32/gdkspawn-win32.c : workaround for bug #137496,
734         the real fix would involve just another small API breakage,
735         i.e. gdk_spawn_* using GPid not just gint.
736
737         * gtk/makefile.msc.in : build gtk-win32.res, not gtk.res
738
739 2004-04-10  Tor Lillqvist  <tml@iki.fi>
740
741         * gdk/win32/gdkkeys-win32.c (gdk_keymap_translate_keyboard_state):
742         If both Shift and CapsLock pressed, ignore the shift only for
743         letters (that would have been affected by the CapsLock). (#139095)
744
745         * gdk/win32/gdkglobals-win32.c: Disable tablet support by default,
746         seems to be even buggier now than it used to be. (#138341)
747         Initialize _gdk_input_ignore_wintab to TRUE.
748
749         * gdk/win32/gdkmain-win32.c: Add --use-wintab switch and
750         GDK_USE_WINTAB environment variable to turn on tablet support.
751
752 2004-04-09  Christian Persch  <chpe@cvs.gnome.org>
753
754         * gtk/gtkuimanager.c: (gtk_ui_manager_insert_action_group),
755         (gtk_ui_manager_remove_action_group): Terminate
756         g_object_[dis]connect() calls with NULL instead of 0.
757         Fixes #138997.
758
759 2004-04-09  Guntupalli Karunakar  <karunakar@freedomink.org>
760
761         * configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
762
763 2004-04-07  Federico Mena Quintero  <federico@ximian.com>
764
765         Fix #132500.
766
767         * gtk/gtkfilesystem.c (gtk_file_system_parse): Ensure that the
768         passed-in 'str' is not NULL.
769
770         * gtk/gtkfilesystemunix.c (expand_tilde): New helper function;
771         expands "~/" or "~foo/" at the beginning of a filename.
772         (gtk_file_system_unix_parse): Use expand_tilde() before doing
773         anything else.
774
775         * gtk/gtkfilechooserentry.c
776         (gtk_file_chooser_entry_maybe_update_directory): Take in a
777         force_reload argument.
778         (gtk_file_chooser_entry_changed): If gtk_file_system_parse()
779         returns an error, set the file_part_pos to -1.
780         (load_directory_callback): Only populate the model if the
781         file_part_pos is not -1.
782
783 2004-04-06  Pablo Saratxaga  <pablo@mandrakesoft.com>
784
785         * configure.in: Added Icelandic (is) to ALL_LINGUAS
786
787 2004-04-05  Federico Mena Quintero  <federico@ximian.com>
788
789         * gtk/gtkfilechooserdefault.c (location_popup_handler): Use a
790         title for SAVE and CREATE_FOLDER modes.  Fixes #137272.
791
792         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_make_path): Look
793         for G_DIR_SEPARATOR in the display_name, and err out if it is
794         present; use the same error message as Nautilus.  Fixes #136467.
795
796         * gtk/gtkfilechooserdefault.c (file_pane_create): Make the
797         new-folder button say "Create Fo_lder" rather than "Create
798         _Folder", so that the mnemonic doesn't conflict with the "Save in
799         _folder" label.  Fixes #136975.
800
801 2004-04-05  Federico Mena Quintero  <federico@ximian.com>
802
803         * gtk/gtkpathbar.c (_gtk_path_bar_set_path): Ref/sink the
804         buttons.  Also, free them correctly upon failure.  Based on a
805         patch by Morten Welinder, fixes #137956.
806
807 2004-04-05  Anders Carlsson  <andersca@gnome.org>
808
809         * gdk/gdk.c (gdk_arg_context_parse): Handle '--' correctly.
810
811 Fri Apr  2 17:57:33 2004  Jonathan Blandford  <jrb@redhat.com>
812
813         * gtk/gtktreeview.c (gtk_tree_view_row_inserted): set the height
814         correctly for fixed height when inserting a node, #138082
815
816 2004-04-01  Federico Mena Quintero  <federico@ximian.com>
817
818         Fix #136077.
819
820         * gtk/gtkpathbar.h (struct _GtkPathBarClass): Add a
821         "child_is_hidden" boolean argument to the "path-clicked" signal.
822
823         * gtk/gtkpathbar.c (struct _ButtonData): Added a file_is_hidden
824         field.
825         (make_directory_button): Take a file_is_hidden argument; put it in
826         the ButtonData.
827         (_gtk_path_bar_set_path): See whether each path component path is
828         a hidden file.
829         (gtk_path_bar_class_init): Add the file_is_hidden argument to the
830         "path-clicked" signal.
831         (button_clicked_cb): See if the downwards button represents a
832         hidden file for the file_is_hidden argument in the signal
833         emission.
834
835         * gtk/gtkmarshalers.list: Added a signal type VOID:POINTER,BOOLEAN.
836
837         * gtk/gtkfilechooserdefault.c
838         (gtk_file_chooser_default_select_path): If we fail to switch
839         folders, don't try to select the path in the file system model.
840         Also, return the result from _gtk_file_system_model_path_do().
841         (gtk_file_chooser_default_select_path): Turn on show_hidden in the
842         file system model if we are asked to select a hidden file.
843         (path_bar_clicked): Show hidden files based on whether the
844         immediate downwards folder in the path bar is a hidden file
845         itself.
846         (struct _GtkFileChooserDefault): Added fields
847         browse_files_popup_menu and browse_files_popup_menu_hidden_files_item.
848         (create_file_list): Set an object data key of
849         "GtkFileChooserDefault" on the tree view so that we can find the
850         impl from the popup menu callbacks.  Also, hook up to the
851         "button-press-event" and "popup-menu" signals in the file list to
852         bring up a popup menu.
853         (list_popup_menu_cb): New callback.
854         (list_button_press_event_cb): New callback.
855
856         Fix #138763:
857
858         * gtk/gtkfilesystemmodel.c
859         (_gtk_file_system_model_new): Oops, connect_object to
860         "finished-loading".
861
862 2004-03-31  Tor Lillqvist  <tml@iki.fi>
863
864         * configure.in: Move AC_CANONICAL_HOST earlier, before the check
865         for native Win32. (#136559, J. Ali Harlow)
866
867         * gdk/win32/gdkdrawable-win32.c (draw_arc): Use X11 semantics for
868         angles. Thanks to Tim Newsham.
869
870 2004-03-29  Federico Mena Quintero  <federico@ximian.com>
871
872         Fix #137520.
873
874         * gtk/gtkfilesystem.h (struct _GtkFileFolderIface): Added slots
875         for an ::is_finished_loading() method and a ::finished_loading()
876         signal at the end of the struct.
877
878         * gtk/gtkfilesystem.c (gtk_file_folder_base_init): Create the
879         "finished-loading" signal.
880         (gtk_file_folder_is_finished_loading): New function.
881
882         * gtk/gtkfilesystemunix.c
883         (gtk_file_folder_unix_is_finished_loading): Implement.
884
885         * gtk/gtkfilesystemmodel.c (struct _GtkFileSystemModelClass): New
886         slot for a "finished-loading" signal.
887         (gtk_file_system_model_class_init): Create the "finished-loading"
888         signal.
889         (struct _GtkFileSystemModel): New field
890         idle_finished_loading_source.  We emit the "finished-loading"
891         signal in an idle if the root folder was done loading right in
892         _gtk_file_system_model_new(), so that the caller has a chance to
893         connect to the signal.
894         (_gtk_file_system_model_new): Connect to the normal signals of the
895         folder even if the initial _list_children() fails.  Also, see if
896         the folder is finished loading; connect to the "finished-loading"
897         signal otherwise.
898         (gtk_file_system_model_finalize): Remove the idle handler.
899
900         * gtk/gtkfilechooserdefault.c (set_list_model): Set a busy cursor
901         and connect to the model's "finished-loading" signal.
902         (get_toplevel): New helper function.
903         (error_message): Use get_toplevel().
904         (trap_activate_cb): Likewise.
905         (location_popup_handler): Likewise.
906         (set_busy_cursor): New function.
907         (browse_files_model_finished_loading_cb): New callback.
908
909 2004-03-25  Federico Mena Quintero  <federico@ximian.com>
910
911         * gtk/gtkfilechooserdefault.c (check_preview_change): Just use the
912         file under the cursor; we don't need the logic from
913         GtkFileSelection after all.  Fixes #132255.
914
915 2004-03-25  Federico Mena Quintero  <federico@ximian.com>
916
917         * gtk/gtkfilechooserdefault.c (location_entry_create): Fill the
918         location entry with the display name of the file under the cursor
919         for Open mode, or the typed filename in Save mode.
920
921 2004-03-24  J. Ali Harlow  <ali@juiblex.co.uk>
922
923         * gtk/gtkfilesystemwin32.c
924         (filename_is_root): Bare drive designators (eg., "c:") are
925         no longer considered as root filenames.  Fixed #137942
926
927 2004-03-24  J. Ali Harlow  <ali@juiblex.co.uk>
928
929         * gtk/gtkfilesystemwin32.c
930         (gtk_file_system_win32_create_folder): Invert test for error in
931         mkdir.  Fixes #137945
932
933 2004-03-24  J. Ali Harlow  <ali@juiblex.co.uk>
934
935         Fixed #138004 using Federico's code from #132327.
936
937         * gtk/gtkfilesystemwin32.c (struct _GtkFileSystemWin32): Add a
938         folder_hash field to keep a list of live folder objects.
939         (gtk_file_system_win32_init): Create the folder_hash.
940         (gtk_file_system_win32_finalize): Destroy the folder_hash.
941         (gtk_file_system_win32_get_folder): Ref and return an existing
942         folder if we have it around, otherwise return a new folder object.
943         (struct _GtkFileFolderWin32): Add a field for the parent file system.
944         (gtk_file_folder_win32_finalize): Remove the folder from the file
945         system's hash table.
946         (gtk_file_system_win32_create_folder):  Emit "files-added" on the
947         newly-created folder's parent.  Fixes #138004.
948
949 2004-03-24  J. Ali Harlow  <ali@juiblex.co.uk>
950
951         * gtk/gtkfilesystemwin32.c
952         (gtk_file_system_win32_get_folder): Test that path is actually
953         a directory and throw error if not. Fixed bug #137950
954
955 2004-03-22  J. Ali Harlow  <ali@juiblex.co.uk>
956
957         * gtk/gtkfilesystemwin32.c
958         (gtk_file_system_win32_volume_get_display_name): Ignore empty
959         volume labels; assume that GetVolumeInformation would fail if
960         GetVolumeInformationW does; catches a small memory leak;
961         pass the buffer size to GetVolumeInformationW in wide
962         characters instead of bytes. Fixes bug #137543
963         (list_volumes): Cope with the theoretical possibility of
964         more than 26 logical drives. Fixes bug #137940
965         (bookmarks_serialize): Now actually removes bookmarks.
966         Fixes bug #137943
967
968 2004-03-22  Guntupalli Karunakar  <karunakar@freedomink.org>
969
970         * configure.in: Added "pa" (Punjabi) to ALL_LINGUAS.
971
972 2004-03-21  Tor Lillqvist  <tml@iki.fi>
973
974         * gtk/gtkfilesystemwin32.c
975         (gtk_file_system_win32_volume_get_base_path): Include the
976         backslash. Otherwise gtk_file_system_win32_path_to_uri() returns
977         NULL for a volume base path, as g_filename_to_uri() requires an
978         absolute path, and just a drive letter and colon isn't. (#137543)
979
980 2004-03-20  Hans Breuer  <hans@breuer.org>
981
982         * gtk/gtkfilesystemwin32.c : applied the undisputable and
983         required [due to recent gtkfilesystem internal api semantic 
984         changes] part of patches to fix bug #137543 (Tor Lillqvist,
985         J. Ali Harlow)
986
987         * gdk/gdkevents-win32.c (handle_configure_event) :
988              (gdk_event_translate), WM_WINDOWPOSCHANGED : initialize
989         GdkWindowObject::x, y with screen coords to make 
990         gdk_window_get_position () return the right thing and thus fix
991         drag and drop positioning (e.g. Gimp tabs, fixes bug #137192)
992
993 2004-03-19  Federico Mena Quintero  <federico@ximian.com>
994
995         * Revert the patch to #137520, as 2.4.1 is for conservative bug
996         fixes only.  The patch is attached to the bug report, for
997         reference.
998
999 2004-03-19  Morten Welinder  <terra@gnome.org>
1000
1001         * gtk/gtkfilechooserdefault.c
1002         (gtk_file_chooser_default_set_current_folder): Test existance of
1003         the path after checking for locality, if needed.
1004
1005 2004-03-19  Federico Mena Quintero  <federico@ximian.com>
1006
1007         Fix #137520.
1008
1009         * gtk/gtkfilesystem.h (struct _GtkFileFolderIface): Added slots
1010         for an ::is_finished_loading() method and a ::finished_loading()
1011         signal at the end of the struct.
1012
1013         * gtk/gtkfilesystem.c (gtk_file_folder_base_init): Create the
1014         "finished-loading" signal.
1015         (gtk_file_folder_is_finished_loading): New function.
1016
1017         * gtk/gtkfilesystemunix.c
1018         (gtk_file_folder_unix_is_finished_loading): Implement.
1019
1020         * gtk/gtkfilesystemmodel.c (struct _GtkFileSystemModelClass): New
1021         slot for a "finished-loading" signal.
1022         (gtk_file_system_model_class_init): Create the "finished-loading"
1023         signal.
1024         (struct _GtkFileSystemModel): New field
1025         idle_finished_loading_source.  We emit the "finished-loading"
1026         signal in an idle if the root folder was done loading right in
1027         _gtk_file_system_model_new(), so that the caller has a chance to
1028         connect to the signal.
1029         (_gtk_file_system_model_new): Connect to the normal signals of the
1030         folder even if the initial _list_children() fails.  Also, see if
1031         the folder is finished loading; connect to the "finished-loading"
1032         signal otherwise.
1033         (gtk_file_system_model_finalize): Remove the idle handler.
1034
1035         * gtk/gtkfilechooserdefault.c (set_list_model): Set a busy cursor
1036         and connect to the model's "finished-loading" signal.
1037         (get_toplevel): New helper function.
1038         (error_message): Use get_toplevel().
1039         (trap_activate_cb): Likewise.
1040         (location_popup_handler): Likewise.
1041         (set_busy_cursor): New function.
1042         (browse_files_model_finished_loading_cb): New callback.
1043
1044 Thu Mar 18 12:10:45 2004  Owen Taylor  <otaylor@redhat.com>
1045
1046         * gtk/gtktreeitem.c (gtk_tree_item_forall): Include 
1047         eventbox for expander. (#137564, reported by
1048         Jacques Garrigue)
1049
1050 2004-03-18  Guntupalli Karunakar  <karunakar@freedomink.org>
1051
1052         * mr.po: Added "mr" for Marathi to ALL_LINGUAS.
1053
1054 2004-03-17  Morten Welinder  <terra@gnome.org>
1055
1056         * gtk/gtkfilechooserdefault.c (shortcuts_add_volumes): Free
1057         volumes not actually put into the shortcut list.
1058
1059         * tests/prop-editor.c (object_changed): Plug leak.
1060
1061         * tests/testfilechooser.c (main): Plug some leaks and expose
1062         others.
1063
1064         * tests/prop-editor.c (create_prop_editor): Don't leak the tooltip
1065         object.  Fixed #136652.
1066
1067         * gtk/gtkfilechooserdefault.c (check_icon_theme): Do nothing if we
1068         have no screen.  Fixes #137260.
1069         (shortcuts_add_bookmark_from_path): Simplify using check_is_folder
1070         thereby fixing leak.  Fixes #137259.
1071
1072         * gtk/gtkpathbar.c (gtk_path_bar_forall): Make this work when the
1073         slider buttons have been destroyed.
1074         (gtk_path_bar_remove): Make this work for slider buttons too.
1075         Fixes #137257
1076
1077 2004-03-15  Morten Welinder  <terra@gnome.org>
1078
1079         * gtk/gtkfilechooserdefault.c (shortcuts_add_bookmark_from_path):
1080         Sanitize and plug leak.
1081         (check_icon_theme): Only do something if the widget has a screen.
1082
1083 Wed Mar 17 01:20:28 2004  Matthias Clasen  <maclas@gmx.de>
1084
1085         * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): 
1086         Move the repositioning logic from _gtk_entry_completion() popup
1087         over here. Fixes #137355, reported by Niklas Knutsson.
1088