]> Pileus Git - ~andy/gtk/blob - ChangeLog
4676c76c8f9d4254b97ea2563a3276479c6b58cd
[~andy/gtk] / ChangeLog
1 2005-09-09  Tor Lillqvist  <tml@novell.com>
2
3         * gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): Cache the
4         display name. There is only one GdkDisplay on Win32, and
5         constructing the display name isn't entirely trivial, so cacheing
6         is probably worth it. For instance GIMP calls this function a lot.
7         (gdk_display_open): Call gdk_display_get_name() to prime the
8         cached name.
9         (gdk_display_get_n_screens, gdk_display_get_screen,
10         gdk_display_get_default_screen): Verify parameter correctness like
11         the X11 backend does.
12
13         * gdk/win32/gdkscreen-win32.c (gdk_screen_make_display_name):
14         Return a freshly allocated string, as the API specifies. Fixes a
15         heap corruption problem that caused random errors and crashes in
16         GIMP, for instance.
17
18 2005-09-07  Matthias Clasen  <mclasen@redhat.com>
19
20         * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress): 
21         Make C-u commit and restart hex input if we are already in a
22         hex sequence.
23
24 2005-09-06  Matthias Clasen  <mclasen@redhat.com>
25
26         * gdk/x11/gdkkeys-x11.c (update_modmap): Make the modmap reflexive.
27         (_gdk_keymap_add_virtual_modifiers): Don't add both Alt and Meta
28         if they are mapped to the same modifier.
29
30         * gtk/Makefile.am: Rename gtkstatusicon-x11.c and gtktrayicon.c
31         to gtkstatusicon.c and gtktrayicon-x11.c
32
33         * gtk/gtkaccelgroup.c: Include Super, Hyper and Meta in the
34         default accel mod mask.
35
36         * gtk/gtkaccelgroup.c (gtk_accelerator_parse): 
37         * gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label): 
38         Don't use GDK_ALT_MASK.
39
40         * gdk/gdktypes.h: No need to introduce GDK_ALT_MASK
41
42 2005-09-06  Matthias Clasen  <mclasen@redhat.com>
43
44         Add support for extra virtual modifiers:  (#85780, Owen Taylor)
45         
46         * tests/testgtk.c (create_key_lookup): Add tests for extra virtual
47         modifiers.
48
49         * gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Try to match both against
50         Mod2 - Mod5 and against Super, Hyper, Meta.
51
52         * gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label): 
53         * gtk/gtkaccelgroup.c (gtk_accelerator_parse) 
54         (gtk_accelerator_name): Support Super, Hyper Meta and Mod2 - Mod5.
55
56         * gdk/x11/gdkkeys-x11.c (struct _GdkKeymapX11): Add a 
57         modmap to maintain the information which X modifiers map to
58         virtual modifiers.
59         (get_xkb): Set up the modmap from the XKB tables.
60         (update_keymaps): Set up the modmap from the information returned
61         by XGetModifierMapping in the non-XKB case.
62
63         * gdk/x11/gdkprivate-x11.h: 
64         * gdk/x11/gdkkeys-x11.c (_gdk_keymap_add_virtual_modifiers): New 
65         function to set the virtual modifiers in the state.
66
67         * gdk/x11/gdkevents-x11.c (translate_key_event): Call 
68         _gdk_keymap_add_virtual_modifiers here.
69
70         * gdk/gdktypes.h (GdkModifierType): Add bits for virtual Super, 
71         Hyper and Meta modifiers. Also add GDK_ALT_MASK as an alias
72         for GDK_MOD1_MASK.
73
74 2005-09-05  Matthias Clasen  <mclasen@redhat.com>
75
76         * gtk/gtkaction.c (connect_proxy): Set the label of a button
77         if it has no child.  (#315253, John Finlay)
78
79 2005-09-02  Matthias Clasen  <mclasen@redhat.com>
80
81         * gtkimcontextsimple.h: Add a modifiers_dropped bit
82
83 2005-09-02  Matthias Clasen  <mclasen@redhat.com>
84
85         * gtk/gtkentry.c (gtk_entry_destroy): Disconnect idle handlers
86         on destroy to avoid problems when they are called on a destroyed
87         widget.  (#315135, John Cupitt)
88         
89         * gtk/gtkentry.c (gtk_entry_class_init):
90         * gtk/gtktextview.c (gtk_text_view_class_init): Add bindings
91         for Ctrl-Shift-A to unselect all.  (#309301, Kathy Fernandes)
92
93         * gtk/gtkimcontextsimple.c: Rework the Unicode hex input
94         code. Now we only steal a single key combination, Ctrl-Shift-U,
95         instead of sixteen. 
96         A hex Unicode sequence must be started with Ctrl-Shift-U, followed
97         by a sequence of hex digits entered with Ctrl-Shift still held.
98         Releasing one of the modifiers or pressing space while the modifiers
99         are still held commits the character. It is possible to erase
100         digits using backspace.
101         As an extension to the above, we also allow to start the sequence
102         with Ctrl-Shift-U, then release the modifiers before typing any
103         digits, and enter the digits without modifiers.
104         (#82011, Owen Taylor)
105         
106 2005-09-02  Matthias Clasen  <mclasen@redhat.com>
107
108         * gtk/gtkmain.c (gtk_get_event_widget): If the window is destroyed,
109         we still need to deliver the destroy event.  (#314980, Chris Lahey)
110
111         * gtk/gtktextview.c (gtk_text_view_key_press_event): Reset 
112         im context before committing \n or \t.
113
114 2005-09-02  Alexander Larsson  <alexl@redhat.com>
115
116         * gtk/gtkfilechooserdefault.c: (shortcuts_add_volumes),
117         (shortcuts_activate_volume):
118         Handle base_path being null in the rest of the cases (#310270)
119
120 2005-09-02  Tor Lillqvist  <tml@novell.com>
121
122         * gdk/win32/gdkevents-win32.c (gdk_event_translate): Keep track of
123         cursor position also in root window coordinates. Prune out
124         superfluous WM_MOUSEMOVE events even earlier, based on root window
125         coordinates. Windows sends WM_MOUSEMOVE messages after a new
126         window has ben mapped below the cursor even if the mouse doesn't
127         move. We used to generate GDK_MOTION_NOTIFY in these cases. This
128         confused at least gtk_menu_motion_notify(). (#314995)
129
130         * gtk/gtkintl.h: No need to include config.h here. It caused
131         warnings about GTK_LOCALEDIR being redefined on Win32 when
132         compiling files where gtkintl.h is included after gtkprivate.h
133         (which #undefines and re-#defines GTK_LOCALEDIR on Win32).
134
135         * gtk/gtkplug.c: Include config.h.
136
137 2005-09-01  Matthias Clasen  <mclasen@redhat.com>
138
139         * gtk/gtkfilesystemunix.c: Pass statbufs down to 
140         xdg_mime_get_mime_type_for_file() where possible, to avoid
141         useless re-stating.  
142         
143         * gtk/gtkaction.c (gtk_action_get_accel_closure): Fix doc
144         typo.  (#314921, Guillaume Cottenceau)
145
146         * gdk/*.c: Intern some more strings.
147         * gtk/gtkintl.h: 
148         * gtk/*.c: Define an I_() macro and use it instead of the 
149         bulky g_intern_static_string().
150
151 2005-08-31  Matthias Clasen  <mclasen@redhat.com>
152
153         * gtk/gtkbindings.c (binding_signal_new): Intern the signal name
154         instead of copying it.
155
156         * gtk/gtktypeutils.c (gtk_identifier_get_type): Some more string interning.
157
158         * gtk/*.c: Also intern static strings passed to 
159         g_object_set_data().
160
161         * gdk/Makefile.am: 
162         * gtk/Makefile.am: Intern type names in code generated by 
163         glib-mkenums, too.
164
165         * gtk/*.c: 
166         * gdk/x11/*.c: 
167         * gdk/*.c: Intern type names before registering the type to avoid 
168         unnecessary copies.
169
170         * configure.in: Require GLib 2.9.0
171
172 2005-08-31  Matthias Clasen  <mclasen@redhat.com>
173
174         * gtk/gtktoolbar.c: Undeprecate gtk_toolbar_set_icon_size(),
175         and add icon-size and icon-size-set properties.  (#314172)      
176
177         * gtk/gtkwindow.c (gtk_window_set_transient_for): Inherit window
178         groups across transient parents.  (#312918, Christian Persch)
179
180         * gtk/gtktreemodel.c: Some documentation fixes.  (#314882,
181         Guillaume Cottenceau)
182
183         * gtk/gtktextiter.c (gtk_text_iter_backward_visible_cursor_positions): 
184         Fix a typo in the docs.  (#314878, Guillaume Cottenceau)
185
186 2005-08-30  Matthias Clasen  <mclasen@redhat.com>
187
188         * gtk/gtkentry.c (gtk_entry_class_init): Add key bindings to
189         make C-/ select all and C-\ unselect all.  (#309301,
190         Kathy Fernandez)
191
192         * gtk/gtkimcontextsimple.c: Change the compose sequence for
193         soft hyphen to be multi_key-minus-minus-space, and add
194         compose sequences multi_key-minus-minus-period and 
195         multi_key-minus-minus-minus for en dash and em dash.
196         (#172653, Christian Lohmaier)
197
198         * gtk/gtkentry.c (gtk_entry_draw_frame): Fix some unused
199         code.  (#313946, Christian Persch)
200
201         * gtk/gtkuimanager.c (gtk_ui_manager_class_init): Another
202         fix for the default value of the "ui" property.
203
204 2005-08-30  Matthias Clasen  <mclasen@redhat.com>
205
206         * gtk/gtk.symbols: 
207         * gtk/gtkselection.h:
208         * gtk/gtkselection.c: Add functions which look for text, image
209         or uri targets in an array of atoms.   (#314089, Mark Wielaard)
210
211         * gtk/gtk.symbols: 
212         * gtk/gtkselection.h:
213         * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): 
214         Add a function to check wether targets include uri.  
215         (#314092, Mark Wielaard)
216         
217         * gtk/gtk.symbols: 
218         * gtk/gtkwindow.h: 
219         * gtk/gtkwindow.c: Add a deletable property with getter
220         and setter, to control the close button in the window 
221         frame.  (#59718, Havoc Pennington)
222
223 2005-08-29  Matthias Clasen  <mclasen@redhat.com>
224
225         * gtk/gtkrc.key.emacs: Add C-n/C-p/C-f/C-b as alternatives
226         to the arrow keys for menu navigation.  (#162825, Carl Worth)
227
228         * gtk/gtkentry.c, gtk/gtktextview.c: More typo fixes
229
230         * gtk/gtksocket-x11.c, gtk/gtkstatusicon-x11.c: Fix typos.
231
232         * gtk/gtkstatusicon-x11.c (gtk_status_icon_new_from_stock): 
233         * gtk/gtkimage.c (gtk_image_new_from_stock): Don't
234         refer to nonexisting stock ids.
235
236         * gtk/gtktextview.c (popup_targets_received): 
237         * gtk/gtkentry.c (popup_targets_received): Construct
238         the "Select All" menuitem from stock.
239
240         * gtk/stock-icons/stock_select_all_{16,24}.png:
241         * gtk/stock-icons/Makefile.am: 
242         * gtk/gtkiconfactory.c:
243         * gtk/gtkstock.h: 
244         * gtk/gtkstock.c: Add a "Select All" stock item.  (#78545,
245         Calum Benson)
246
247         * gtk/gtktrayicon.c: Add a pointer to the spec.
248
249         * gtk/gtkstatusicon-x11.c: Add docs.
250
251         * gtk/gtkstatusicon.h: Fix a typo.
252
253         Add a cross-platform "tray icon" API, by
254         porting EggStatusIcon/EggTrayIcon (#105101)
255         
256         * gtk/gtkstatusicon.h: A GtkStatusIcon is an object which
257         displays an icon in a notification area.
258
259         * gtk/gtkstatusicon-x11.c: GtkStatusIcon implementation for
260         X11, using GtkTrayIcon.
261
262         * gtk/gtktrayicon.h: 
263         * gtk/gtktrayicon.c: An implementation of the freedesktop.org
264         system tray specification, not public API.
265
266         * gtk/gtk.symbols: Add new exported functions.
267
268         * gtk/gtk.h: Include gtkstatusicon.h.
269
270         * gtk/Makefile.am: Add new files.
271
272         * tests/Makefile.am:
273         * tests/teststatusicon.c: Test for GtkStatusIcon.
274
275 2005-08-29  Christopher Aillon  <caillon@redhat.com>
276
277         * gtk/gtkstock.c: Add builtin GtkStockItems for GTK_STOCK_CONNECT
278         and GTK_STOCK_DISCONNECT
279         
280 2005-08-29  Matthias Clasen  <mclasen@redhat.com>
281
282         * gtk/gtksocket-x11.c (_gtk_socket_windowing_embed_notify): 
283         Use XFixesChangeSaveSet if available.  (#314682)
284
285         * gtk/gtkmenu.c (gtk_menu_grab_notify):  Only cancel if the menu
286         was active.  (#314298, Christian Persch, analysis by Mark McLoughlin)
287
288 2005-08-29  Matthias Clasen  <mclasen@redhat.com>
289
290         * gtk/gtkiconcache.c (_gtk_icon_cache_get_icon): Remove an
291         accidentally leftover duplicate pixbuf creation.  (#314700,
292         Kjartan Maraas)
293
294         * gtk/gtksettings.c (settings_update_cursor_theme): Don't 
295         leak the cursor theme name.  (#314693, Kjartan Maraas)
296
297         * gdk/x11/gdkasync.c (_gdk_x11_get_window_child_info): Free 
298         state.children in all cases.  (#313862, Kjartan Maraas)
299
300 2005-08-28  Matthias Clasen  <mclasen@redhat.com>
301
302         * po/POTFILES.in, po-properties/POTFILES.in:
303         Add gdk/gdkscreen.c
304
305 2005-08-27  Matthias Clasen  <mclasen@redhat.com>
306
307         * gtk/gtkuimanager.c (gtk_ui_manager_class_init): Fix the default
308         value of the ui property. (#314532, Yong Wang)
309
310         * gdk/x11/gdkproperty-x11.c (gdk_property_get): Don't warn
311         when G_MAXLONG is passed as length.  
312
313 2005-08-26  Matthias Clasen  <mclasen@redhat.com>
314
315         * gtk/updateiconcache.c: Add a separate --ignore-theme-index option
316         to avoid overloading --force.  (JP Rosevaar)
317
318 2005-08-26  Matthias Clasen  <mclasen@redhat.com>
319
320         * configure.in: Bump version to 2.9.0
321
322         * gdk/gdk.symbols: 
323         * gdk/gdkscreen.h: 
324         * gdk/gdkscreen.c: Make the GdkScreen font options api
325         public, and add properties GdkScreen::font-options and
326         GdkScreen::resolution.  (#314004)
327
328         * gdk/gdkpango.c:
329         * gtk/gtksettings.c:
330         * gtk/gtkwidget.c: Adjust all callers.
331         
332         * gdk/gdkintl.h: Simplify and use glib/gi18n-lib.h.
333         * gdk/gdkpango.c: Include gdkintl.h, not gtkintl.h.
334         * gdk/gdkscreen.c: Include gdkintl.h.
335
336         * gtk/gtkicontheme.c (theme_lookup_icon): Avoid an uninitialized
337         variable warning, pointed out by Colin Walters. (#314585)
338
339 2005-08-26  Tor Lillqvist  <tml@novell.com>
340
341         * gtk/gtkfilesystemwin32.c: Remove some ifdeffed out debugging
342         printouts.
343         (gtk_file_system_win32_parse): Don't mishandle UNC paths. (#314519)
344
345 2005-08-26  Matthias Clasen  <mclasen@redhat.com>
346
347         * gtk/gtkcalendar.c (gtk_calendar_init): Fix the calculation
348         of week_start.  (#314473, JP Rosevaar)
349
350 2005-08-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
351
352         * gtk/gtkfilesystemmodel.c (idle_finished_loading_cb): Acquire GDK
353         lock.  (#314533, Thomas Fitzsimmons)
354
355 2005-08-25  Matthias Clasen  <mclasen@redhat.com>
356
357         * gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores): Handle
358         NULL gracefully.  (#314523, Ed Catmur)
359
360 2005-08-25  Owen Taylor  <otaylor@redhat.com>
361
362         * gdk/x11/gdkcursor-x11.c (gdk_x11_display_set_cursor_theme): 
363         Handle theme == NULL.
364
365 2005-08-25  Matthias Clasen  <mclasen@redhat.com>
366
367         * gtk/gtkmenutoolbutton.c (menu_position_func): Take widget
368         y offset into account when positioning the popup.  (#314470,
369         Christian Persch)
370
371 2005-08-25  Owen Taylor  <otaylor@redhat.com>
372
373         * gdk/gdkscreen.c (gdk_screen_get_type): Use gdk_screen_init
374         as instance_init, not base_init! (#314452, Fix from Frederic
375         Crozat, reported by Joe Marcus Clarke). Trivial cleanup: use -1.
376         rather than 1 for a negative flag value.
377
378 2005-08-24  Owen Taylor  <otaylor@redhat.com>
379
380         * gdk/gdkpango.c (draw_error_underline): Add a note about
381         cut-and-paste between here and Pango.
382
383 2005-08-24  Matthias Clasen  <mclasen@redhat.com>
384
385         * === Released 2.8.2 ===
386
387         * gtk/gtkclipboard.c (request_image_received_func): Use the correct
388         callback for image/gif, and also try image/bmp.  (#314086,  Mark 
389         Wielaard)
390
391         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_volume_render_icon): 
392         Use gnome-dev-harddisk for volumes, not gnome-fs-blockdev.  (#314382,
393         Sebastien Bacher)
394         
395         * NEWS: Updates
396
397         * gtk/gtksettings.c (gtk_settings_get_for_screen): Make sure font
398         and cursor settings get propagated down to the screen initially.
399         Pointed out by Frederic Crozat.
400
401         * gtk/gtkicontheme.c (ensure_valid_themes): Don't try to send a client
402         message if the screen is NULL. Noticed by Kjartan Maraas.
403
404 2005-08-24  Matthias Clasen  <mclasen@redhat.com>
405
406         * Bump version
407
408         * === Released 2.8.1 ===
409
410         * NEWS: Updates
411         
412 2005-08-24  Matthias Clasen  <mclasen@redhat.com>
413
414         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_visible): Protect
415         against lazy filterers which return values other than TRUE or
416         FALSE from their visible func.  (#314335)
417
418 2005-08-23  Owen Taylor  <otaylor@redhat.com>
419
420         Fix for #314004, reported by Michael Reinsch:
421
422         * gdk/gdk.symbols:
423         * gdk/gdkscreen.[ch]: Add gdk_screen_get/set_font_options_libgtk_only()
424         Add gdk_screen_get/set_resolution_libgtk_only()
425
426         * gdk/gdkpango.c (gdk_pango_context_get_for_screen): Set
427         the options for the screen on the newly created context.
428
429         * gtk/gtksettings.c (settings_update_font_options/dpi) gtkwidget.c: 
430         Move font options and dpi code from gtkwidget.c to gtksettings.c, set
431         the font options on the screen.
432
433         * gtk/gtkwidget.c (gtk_widget_update_pango_context): Just get
434         the font options from the screen and set them on the context.
435
436 2005-08-23  Kristian Rietveld  <kris@gtk.org>
437
438         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted): don't
439         bother inserting new rows in a level with a zero refcount and
440         immediately free the level. (Fixes #312350, reported by Markku Vire).
441
442 2005-08-23  Matthias Clasen  <mclasen@redhat.com>
443
444         * gtk/updateiconcache.c: Complain when there is no index.theme file
445         in the specified directory, unless --force is used. Also add an
446         --index-only option to create caches without image data.
447
448         * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Fix a
449         C99ism.  (#314262, Robert Jeff Mitchell)
450         
451 2005-08-22  Manish Singh  <yosh@gimp.org>
452
453         * gtk/gtkicontheme.h: add declaration for _gtk_icon_theme_check_reload.
454
455         * gtk/gtkwindow.c: remove declaration of gtk_window_read_rcfiles.
456
457 2005-08-22  Matthias Clasen  <mclasen@redhat.com>
458
459         * gtk/gtkwindow.c (gtk_window_client_event): 
460         * gtk/gtkicontheme.c (ensure_valid_themes) 
461         (_gtk_icon_theme_check_reload): Implement a clientmessage based
462         scheme for makeing sure that all GTK+ applications notice if an
463         icon theme has been updated. This should prevent multiple versions
464         of an icon theme cache to be mapped in memory at the same time,
465         which can cause excessive memory consumption.  (#313156, Chris 
466         Lahey)
467
468 2005-08-22  Matthias Clasen  <mclasen@redhat.com>
469
470         * gtk/gtkicontheme.c (gtk_icon_theme_load_icon): Add a note
471         regarding icon theme changes.
472
473         * gtk/gtkiconcache.c (_gtk_icon_cache_get_icon): When returning
474         pixbufs which are backed by the mmapped memory of an icon cache,
475         increase the refcount of the icon cache, so that the memory is not
476         munmapped away underneath the pixbuf upon icon theme changes.  
477         (#314170, Kjartan Maraas)
478
479         * docs/tools/Makefile.am (LDADDS): Add GTK_DEP_LIBS, in order 
480         to link against Xext.  (#314062)
481
482         * gtk/gtkhsv.c (paint_triangle): One more fix to prevent buffer
483         overruns.  (#314081, Hans Breuer)
484
485 2005-08-20  Matthias Clasen  <mclasen@redhat.com>
486
487         * gtk/gtkentry.c (gtk_entry_get_layout): Clarify that the
488         returned layout must not be modified.
489
490 Sat Aug 20 16:12:14 2005  Jonathan Blandford  <jrb@redhat.com>
491
492         * gtk/gtktreeview.c (gtk_tree_view_set_model): clear
493         scroll_to_path if the model changes.
494
495         * gtk/gtkiconview.c: (gtk_icon_view_destroy),
496         (gtk_icon_view_size_allocate), (gtk_icon_view_set_cursor),
497         (gtk_icon_view_scroll_to_path): Handle scrolling to a path before
498         we're realized, #312798
499         (gtk_icon_view_set_model): clear scroll_to_path if the model
500         changes.
501
502 2005-08-20  Matthias Clasen  <mclasen@redhat.com>
503
504         * gtk/gtkrange.c (gtk_range_adjustment_changed) 
505         (gtk_range_adjustment_value_changed):  Don't queue a draw
506         if the layout has not changed.  (#313991, Benjamin Berg)
507
508 2005-08-19  Matthias Clasen  <mclasen@redhat.com>
509
510         * gtk/gtktreeitem.c: Remove duplicate lines.  (#313344,
511         Benoit Carpentier)
512
513         * modules/engines/ms-windows/msw_style.c (setup_system_styles): 
514         Fix a typo. 
515
516         * gtk/gtkfilechooserbutton.c (change_icon_theme) 
517         (model_add_special, model_add_special, model_add_volumes):
518         Handle pixbuf being NULL without warnings. Also, don't
519         leak pixbuf references when the icon theme is changed.
520
521         * gtk/gtkmain.c (gtk_get_event_widget): Don't access
522         the user data on destroyed windows, since at best
523         it can be a stale pointer.  (#313953, Robin Green)      
524
525 2005-08-19  Matthias Clasen  <mclasen@redhat.com>
526
527         * gtk/gtkhsv.c (paint_triangle): Avoid a buffer overrun.  
528         (#313900, Sebastien Bacher)
529
530         * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): Return
531         FALSE if the tree is empty.  (#313891, Guillaume Cottenceau)
532
533         * gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display) 
534         (xdnd_read_actions, get_client_window_at_coords_recurse): 
535         Free data returned from XGetWindowProperty. 
536
537         * gdk/x11/gdkevents-x11.c (fetch_net_wm_check_window) 
538         Free data returned from XGetWindowProperty.  (313867, Kjartan
539         Maraas)
540         
541         * gdk/x11/gdkdnd-x11.c (get_client_window_at_coords_recurse): Free
542         children in all cases.  (#313862, Kjartan Maraas)
543
544         * gtk/gtkicontheme.c (theme_lookup_icon): Store GtkIconData structs 
545         in the per-directory hash, even if they come from the icon cache. 
546         We tried to avoid that before, but as a result leaked icon data
547         structs.  (#313852, Kjartan Maraas)
548
549 2005-08-18  Matthias Clasen  <mclasen@redhat.com>
550
551         * gtk/gtkmenutoolbutton.c (gtk_menu_tool_button_destroy): Disconnect
552         signal handlers on destroy, not on finalize.  (#313759, Brett Atoms)
553
554 2005-08-15  Owen Taylor  <otaylor@redhat.com>
555
556         * configure.in: Add -lXext to GDK_EXTRA_LIBS in absence of pkg-config
557         files for x11/xext. (Jonas Bonn)
558
559 2005-08-15  Tor Lillqvist  <tml@novell.com>
560
561         * gtk/gtkicontheme.c (theme_lookup_icon): Put debugging printout
562         inside GTK_NOTE.
563
564 2005-08-15  Owen Taylor  <otaylor@redhat.com>
565
566         * configure.in: Fix have_base_pc / have_base_x_pc typo.
567
568         * gdk/x11/gdkdrawable-x11.c gtk/gtksettings.c: Remove panoxft.h includes.
569         (#313417, James Andrewartha)
570
571         * configure.in: Add fontconfig to X_PACKAGES, since we use it for
572         FcNameConstant(). (More of #313417)
573
574 2005-08-15  Matthias Clasen  <mclasen@redhat.com>
575
576         * gtk/gtkfilechooserdefault.c: When using gtk_dialog_run() for
577         modal dialogs, make sure to inherit the window group from 
578         the parent, since we don't inherit window groups across
579         transient parents currently.  (#312918, Christian Persch)
580
581         * gtk/gtkmessagedialog.c (gtk_message_dialog_new): 
582         * gtk/gtkdialog.c (gtk_dialog_run): Slight update to the docs. 
583
584         * gtk/gtkiconview.c (gtk_icon_view_select_path) 
585         (gtk_icon_view_scroll_to_path): Handle paths of depth 0
586         gracefully.  (#312796, Jonathan Blandford)
587
588         * tests/testtoolbar.c: Add some more tests for menu placement.
589
590         * gtk/gtkmenutoolbutton.c (menu_position_func): 
591         * gtk/gtktoolbar.c (menu_position_func): Improve positioning
592         of toolbutton menus and of the overflow menu.  (#312937, 
593         #153870, Christian Persch, Paolo Borelli)
594
595 2005-08-15  Tor Lillqvist  <tml@novell.com>
596
597         * gtk/updateiconcache.c: Use g_path_get_dirname() instead of
598         the nonportable <libgen.h> and dirname().
599
600 2005-08-15  Matthias Clasen  <mclasen@redhat.com>
601
602         * gtk/gtksizegroup.c: Use object data to mark widgets and
603         groups as visited, so that we avoid constant extra list
604         traversals. Also allocate quarks in class_init.  (#311618,
605         Michael Natterer)
606
607         * gtk/gtkicontheme.c (gtk_icon_theme_lookup_icon): Correct the 
608         download location for the hicolor icon theme. (#313475, Olexiy 
609         Avramchenko)
610
611         * gtk/gtkicontheme.c: Remove debug spew. 
612
613 2005-08-15  Owen Taylor  <otaylor@redhat.com>
614
615         * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_back_pixmap): 
616         * gdk/win32/gdkwindow-win32.c (gdk_window_set_back_pixmap): 
617         * gdk/x11/gdkwindow-x11.c (gdk_window_set_back_pixmap):
618         Handle pixmap == NULL when checking for a colormap.
619         (Allin Cottrell).
620
621 2005-08-14  Matthias Clasen  <mclasen@redhat.com>
622
623         * gtk/updateiconcache.c: Store only one copy of the pixel data
624         for symlinked icons. To achieve this, maintain a hashtable 
625         mapping pathnames to pixel data, and share the pixel data for
626         all symlinks resolving to the same pathname. When writing out
627         the image data, write out the pixel data only the first time
628         it is met, and store the offset pointing to the first copy
629         for use in all later cases.
630         This reduces the size of the Bluecurve icon cache from 40
631         to 13MB. (#312972)
632