]> Pileus Git - ~andy/gtk/blob - ChangeLog.pre-2-10
fcaa747507a32316084adedbd22f23b96c161857
[~andy/gtk] / ChangeLog.pre-2-10
1 2005-08-31  Matthias Clasen  <mclasen@redhat.com>
2         
3         * gtk/*.c: Also intern static strings passed to 
4         g_object_set_data().
5
6         * gdk/Makefile.am: 
7         * gtk/Makefile.am: Intern type names in code generated by 
8         glib-mkenums, too.
9
10         * gtk/*.c: 
11         * gdk/x11/*.c: 
12         * gdk/*.c: Intern type names before registering the type to avoid 
13         unnecessary copies.
14
15         * configure.in: Require GLib 2.9.0
16
17 2005-08-31  Matthias Clasen  <mclasen@redhat.com>
18
19         * gtk/gtktoolbar.c: Undeprecate gtk_toolbar_set_icon_size(),
20         and add icon-size and icon-size-set properties.  (#314172)      
21
22         * gtk/gtkwindow.c (gtk_window_set_transient_for): Inherit window
23         groups across transient parents.  (#312918, Christian Persch)
24
25         * gtk/gtktreemodel.c: Some documentation fixes.  (#314882,
26         Guillaume Cottenceau)
27
28         * gtk/gtktextiter.c (gtk_text_iter_backward_visible_cursor_positions): 
29         Fix a typo in the docs.  (#314878, Guillaume Cottenceau)
30
31 2005-08-30  Matthias Clasen  <mclasen@redhat.com>
32
33         * gtk/gtkentry.c (gtk_entry_class_init): Add key bindings to
34         make C-/ select all and C-\ unselect all.  (#309301,
35         Kathy Fernandez)
36
37         * gtk/gtkimcontextsimple.c: Change the compose sequence for
38         soft hyphen to be multi_key-minus-minus-space, and add
39         compose sequences multi_key-minus-minus-period and 
40         multi_key-minus-minus-minus for en dash and em dash.
41         (#172653, Christian Lohmaier)
42
43         * gtk/gtkentry.c (gtk_entry_draw_frame): Fix some unused
44         code.  (#313946, Christian Persch)
45
46         * gtk/gtkuimanager.c (gtk_ui_manager_class_init): Another
47         fix for the default value of the "ui" property.
48
49 2005-08-30  Matthias Clasen  <mclasen@redhat.com>
50
51         * gtk/gtk.symbols: 
52         * gtk/gtkselection.h:
53         * gtk/gtkselection.c: Add functions which look for text, image
54         or uri targets in an array of atoms.   (#314089, Mark Wielaard)
55
56         * gtk/gtk.symbols: 
57         * gtk/gtkselection.h:
58         * gtk/gtkselection.c (gtk_selection_data_targets_include_uri): 
59         Add a function to check wether targets include uri.  
60         (#314092, Mark Wielaard)
61         
62         * gtk/gtk.symbols: 
63         * gtk/gtkwindow.h: 
64         * gtk/gtkwindow.c: Add a deletable property with getter
65         and setter, to control the close button in the window 
66         frame.  (#59718, Havoc Pennington)
67
68 2005-08-29  Matthias Clasen  <mclasen@redhat.com>
69
70         * gtk/gtkrc.key.emacs: Add C-n/C-p/C-f/C-b as alternatives
71         to the arrow keys for menu navigation.  (#162825, Carl Worth)
72
73         * gtk/gtkentry.c, gtk/gtktextview.c: More typo fixes
74
75         * gtk/gtksocket-x11.c, gtk/gtkstatusicon-x11.c: Fix typos.
76
77         * gtk/gtkstatusicon-x11.c (gtk_status_icon_new_from_stock): 
78         * gtk/gtkimage.c (gtk_image_new_from_stock): Don't
79         refer to nonexisting stock ids.
80
81         * gtk/gtktextview.c (popup_targets_received): 
82         * gtk/gtkentry.c (popup_targets_received): Construct
83         the "Select All" menuitem from stock.
84
85         * gtk/stock-icons/stock_select_all_{16,24}.png:
86         * gtk/stock-icons/Makefile.am: 
87         * gtk/gtkiconfactory.c:
88         * gtk/gtkstock.h: 
89         * gtk/gtkstock.c: Add a "Select All" stock item.  (#78545,
90         Calum Benson)
91
92         * gtk/gtktrayicon.c: Add a pointer to the spec.
93
94         * gtk/gtkstatusicon-x11.c: Add docs.
95
96         * gtk/gtkstatusicon.h: Fix a typo.
97
98         Add a cross-platform "tray icon" API, by
99         porting EggStatusIcon/EggTrayIcon (#105101)
100         
101         * gtk/gtkstatusicon.h: A GtkStatusIcon is an object which
102         displays an icon in a notification area.
103
104         * gtk/gtkstatusicon-x11.c: GtkStatusIcon implementation for
105         X11, using GtkTrayIcon.
106
107         * gtk/gtktrayicon.h: 
108         * gtk/gtktrayicon.c: An implementation of the freedesktop.org
109         system tray specification, not public API.
110
111         * gtk/gtk.symbols: Add new exported functions.
112
113         * gtk/gtk.h: Include gtkstatusicon.h.
114
115         * gtk/Makefile.am: Add new files.
116
117         * tests/Makefile.am:
118         * tests/teststatusicon.c: Test for GtkStatusIcon.
119
120 2005-08-29  Christopher Aillon  <caillon@redhat.com>
121
122         * gtk/gtkstock.c: Add builtin GtkStockItems for GTK_STOCK_CONNECT
123         and GTK_STOCK_DISCONNECT
124         
125 2005-08-29  Matthias Clasen  <mclasen@redhat.com>
126
127         * gtk/gtksocket-x11.c (_gtk_socket_windowing_embed_notify): 
128         Use XFixesChangeSaveSet if available.  (#314682)
129
130         * gtk/gtkmenu.c (gtk_menu_grab_notify):  Only cancel if the menu
131         was active.  (#314298, Christian Persch, analysis by Mark McLoughlin)
132
133 2005-08-29  Matthias Clasen  <mclasen@redhat.com>
134
135         * gtk/gtkiconcache.c (_gtk_icon_cache_get_icon): Remove an
136         accidentally leftover duplicate pixbuf creation.  (#314700,
137         Kjartan Maraas)
138
139         * gtk/gtksettings.c (settings_update_cursor_theme): Don't 
140         leak the cursor theme name.  (#314693, Kjartan Maraas)
141
142         * gdk/x11/gdkasync.c (_gdk_x11_get_window_child_info): Free 
143         state.children in all cases.  (#313862, Kjartan Maraas)
144
145 2005-08-28  Matthias Clasen  <mclasen@redhat.com>
146
147         * po/POTFILES.in, po-properties/POTFILES.in:
148         Add gdk/gdkscreen.c
149
150 2005-08-27  Matthias Clasen  <mclasen@redhat.com>
151
152         * gtk/gtkuimanager.c (gtk_ui_manager_class_init): Fix the default
153         value of the ui property. (#314532, Yong Wang)
154
155         * gdk/x11/gdkproperty-x11.c (gdk_property_get): Don't warn
156         when G_MAXLONG is passed as length.  
157
158 2005-08-26  Matthias Clasen  <mclasen@redhat.com>
159
160         * gtk/updateiconcache.c: Add a separate --ignore-theme-index option
161         to avoid overloading --force.  (JP Rosevaar)
162
163 2005-08-26  Matthias Clasen  <mclasen@redhat.com>
164
165         * configure.in: Bump version to 2.9.0
166
167         * gdk/gdk.symbols: 
168         * gdk/gdkscreen.h: 
169         * gdk/gdkscreen.c: Make the GdkScreen font options api
170         public, and add properties GdkScreen::font-options and
171         GdkScreen::resolution.  (#314004)
172
173         * gdk/gdkpango.c:
174         * gtk/gtksettings.c:
175         * gtk/gtkwidget.c: Adjust all callers.
176         
177         * gdk/gdkintl.h: Simplify and use glib/gi18n-lib.h.
178         * gdk/gdkpango.c: Include gdkintl.h, not gtkintl.h.
179         * gdk/gdkscreen.c: Include gdkintl.h.
180
181         * gtk/gtkicontheme.c (theme_lookup_icon): Avoid an uninitialized
182         variable warning, pointed out by Colin Walters. (#314585)
183
184 2005-08-26  Tor Lillqvist  <tml@novell.com>
185
186         * gtk/gtkfilesystemwin32.c: Remove some ifdeffed out debugging
187         printouts.
188         (gtk_file_system_win32_parse): Don't mishandle UNC paths. (#314519)
189
190 2005-08-26  Matthias Clasen  <mclasen@redhat.com>
191
192         * gtk/gtkcalendar.c (gtk_calendar_init): Fix the calculation
193         of week_start.  (#314473, JP Rosevaar)
194
195 2005-08-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
196
197         * gtk/gtkfilesystemmodel.c (idle_finished_loading_cb): Acquire GDK
198         lock.  (#314533, Thomas Fitzsimmons)
199
200 2005-08-25  Matthias Clasen  <mclasen@redhat.com>
201
202         * gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores): Handle
203         NULL gracefully.  (#314523, Ed Catmur)
204
205 2005-08-25  Owen Taylor  <otaylor@redhat.com>
206
207         * gdk/x11/gdkcursor-x11.c (gdk_x11_display_set_cursor_theme): 
208         Handle theme == NULL.
209
210 2005-08-25  Matthias Clasen  <mclasen@redhat.com>
211
212         * gtk/gtkmenutoolbutton.c (menu_position_func): Take widget
213         y offset into account when positioning the popup.  (#314470,
214         Christian Persch)
215
216 2005-08-25  Owen Taylor  <otaylor@redhat.com>
217
218         * gdk/gdkscreen.c (gdk_screen_get_type): Use gdk_screen_init
219         as instance_init, not base_init! (#314452, Fix from Frederic
220         Crozat, reported by Joe Marcus Clarke). Trivial cleanup: use -1.
221         rather than 1 for a negative flag value.
222
223 2005-08-24  Owen Taylor  <otaylor@redhat.com>
224
225         * gdk/gdkpango.c (draw_error_underline): Add a note about
226         cut-and-paste between here and Pango.
227
228 2005-08-24  Matthias Clasen  <mclasen@redhat.com>
229
230         * === Released 2.8.2 ===
231
232         * gtk/gtkclipboard.c (request_image_received_func): Use the correct
233         callback for image/gif, and also try image/bmp.  (#314086,  Mark 
234         Wielaard)
235
236         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_volume_render_icon): 
237         Use gnome-dev-harddisk for volumes, not gnome-fs-blockdev.  (#314382,
238         Sebastien Bacher)
239         
240         * NEWS: Updates
241
242         * gtk/gtksettings.c (gtk_settings_get_for_screen): Make sure font
243         and cursor settings get propagated down to the screen initially.
244         Pointed out by Frederic Crozat.
245
246         * gtk/gtkicontheme.c (ensure_valid_themes): Don't try to send a client
247         message if the screen is NULL. Noticed by Kjartan Maraas.
248
249 2005-08-24  Matthias Clasen  <mclasen@redhat.com>
250
251         * Bump version
252
253         * === Released 2.8.1 ===
254
255         * NEWS: Updates
256         
257 2005-08-24  Matthias Clasen  <mclasen@redhat.com>
258
259         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_visible): Protect
260         against lazy filterers which return values other than TRUE or
261         FALSE from their visible func.  (#314335)
262
263 2005-08-23  Owen Taylor  <otaylor@redhat.com>
264
265         Fix for #314004, reported by Michael Reinsch:
266
267         * gdk/gdk.symbols:
268         * gdk/gdkscreen.[ch]: Add gdk_screen_get/set_font_options_libgtk_only()
269         Add gdk_screen_get/set_resolution_libgtk_only()
270
271         * gdk/gdkpango.c (gdk_pango_context_get_for_screen): Set
272         the options for the screen on the newly created context.
273
274         * gtk/gtksettings.c (settings_update_font_options/dpi) gtkwidget.c: 
275         Move font options and dpi code from gtkwidget.c to gtksettings.c, set
276         the font options on the screen.
277
278         * gtk/gtkwidget.c (gtk_widget_update_pango_context): Just get
279         the font options from the screen and set them on the context.
280
281 2005-08-23  Kristian Rietveld  <kris@gtk.org>
282
283         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted): don't
284         bother inserting new rows in a level with a zero refcount and
285         immediately free the level. (Fixes #312350, reported by Markku Vire).
286
287 2005-08-23  Matthias Clasen  <mclasen@redhat.com>
288
289         * gtk/updateiconcache.c: Complain when there is no index.theme file
290         in the specified directory, unless --force is used. Also add an
291         --index-only option to create caches without image data.
292
293         * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Fix a
294         C99ism.  (#314262, Robert Jeff Mitchell)
295         
296 2005-08-22  Manish Singh  <yosh@gimp.org>
297
298         * gtk/gtkicontheme.h: add declaration for _gtk_icon_theme_check_reload.
299
300         * gtk/gtkwindow.c: remove declaration of gtk_window_read_rcfiles.
301
302 2005-08-22  Matthias Clasen  <mclasen@redhat.com>
303
304         * gtk/gtkwindow.c (gtk_window_client_event): 
305         * gtk/gtkicontheme.c (ensure_valid_themes) 
306         (_gtk_icon_theme_check_reload): Implement a clientmessage based
307         scheme for makeing sure that all GTK+ applications notice if an
308         icon theme has been updated. This should prevent multiple versions
309         of an icon theme cache to be mapped in memory at the same time,
310         which can cause excessive memory consumption.  (#313156, Chris 
311         Lahey)
312
313 2005-08-22  Matthias Clasen  <mclasen@redhat.com>
314
315         * gtk/gtkicontheme.c (gtk_icon_theme_load_icon): Add a note
316         regarding icon theme changes.
317
318         * gtk/gtkiconcache.c (_gtk_icon_cache_get_icon): When returning
319         pixbufs which are backed by the mmapped memory of an icon cache,
320         increase the refcount of the icon cache, so that the memory is not
321         munmapped away underneath the pixbuf upon icon theme changes.  
322         (#314170, Kjartan Maraas)
323
324         * docs/tools/Makefile.am (LDADDS): Add GTK_DEP_LIBS, in order 
325         to link against Xext.  (#314062)
326
327         * gtk/gtkhsv.c (paint_triangle): One more fix to prevent buffer
328         overruns.  (#314081, Hans Breuer)
329
330 2005-08-20  Matthias Clasen  <mclasen@redhat.com>
331
332         * gtk/gtkentry.c (gtk_entry_get_layout): Clarify that the
333         returned layout must not be modified.
334
335 Sat Aug 20 16:12:14 2005  Jonathan Blandford  <jrb@redhat.com>
336
337         * gtk/gtktreeview.c (gtk_tree_view_set_model): clear
338         scroll_to_path if the model changes.
339
340         * gtk/gtkiconview.c: (gtk_icon_view_destroy),
341         (gtk_icon_view_size_allocate), (gtk_icon_view_set_cursor),
342         (gtk_icon_view_scroll_to_path): Handle scrolling to a path before
343         we're realized, #312798
344         (gtk_icon_view_set_model): clear scroll_to_path if the model
345         changes.
346
347 2005-08-20  Matthias Clasen  <mclasen@redhat.com>
348
349         * gtk/gtkrange.c (gtk_range_adjustment_changed) 
350         (gtk_range_adjustment_value_changed):  Don't queue a draw
351         if the layout has not changed.  (#313991, Benjamin Berg)
352
353 2005-08-19  Matthias Clasen  <mclasen@redhat.com>
354
355         * gtk/gtktreeitem.c: Remove duplicate lines.  (#313344,
356         Benoit Carpentier)
357
358         * modules/engines/ms-windows/msw_style.c (setup_system_styles): 
359         Fix a typo. 
360
361         * gtk/gtkfilechooserbutton.c (change_icon_theme) 
362         (model_add_special, model_add_special, model_add_volumes):
363         Handle pixbuf being NULL without warnings. Also, don't
364         leak pixbuf references when the icon theme is changed.
365
366         * gtk/gtkmain.c (gtk_get_event_widget): Don't access
367         the user data on destroyed windows, since at best
368         it can be a stale pointer.  (#313953, Robin Green)      
369
370 2005-08-19  Matthias Clasen  <mclasen@redhat.com>
371
372         * gtk/gtkhsv.c (paint_triangle): Avoid a buffer overrun.  
373         (#313900, Sebastien Bacher)
374
375         * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): Return
376         FALSE if the tree is empty.  (#313891, Guillaume Cottenceau)
377
378         * gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display) 
379         (xdnd_read_actions, get_client_window_at_coords_recurse): 
380         Free data returned from XGetWindowProperty. 
381
382         * gdk/x11/gdkevents-x11.c (fetch_net_wm_check_window) 
383         Free data returned from XGetWindowProperty.  (313867, Kjartan
384         Maraas)
385         
386         * gdk/x11/gdkdnd-x11.c (get_client_window_at_coords_recurse): Free
387         children in all cases.  (#313862, Kjartan Maraas)
388
389         * gtk/gtkicontheme.c (theme_lookup_icon): Store GtkIconData structs 
390         in the per-directory hash, even if they come from the icon cache. 
391         We tried to avoid that before, but as a result leaked icon data
392         structs.  (#313852, Kjartan Maraas)
393
394 2005-08-18  Matthias Clasen  <mclasen@redhat.com>
395
396         * gtk/gtkmenutoolbutton.c (gtk_menu_tool_button_destroy): Disconnect
397         signal handlers on destroy, not on finalize.  (#313759, Brett Atoms)
398
399 2005-08-15  Owen Taylor  <otaylor@redhat.com>
400
401         * configure.in: Add -lXext to GDK_EXTRA_LIBS in absence of pkg-config
402         files for x11/xext. (Jonas Bonn)
403
404 2005-08-15  Tor Lillqvist  <tml@novell.com>
405
406         * gtk/gtkicontheme.c (theme_lookup_icon): Put debugging printout
407         inside GTK_NOTE.
408
409 2005-08-15  Owen Taylor  <otaylor@redhat.com>
410
411         * configure.in: Fix have_base_pc / have_base_x_pc typo.
412
413         * gdk/x11/gdkdrawable-x11.c gtk/gtksettings.c: Remove panoxft.h includes.
414         (#313417, James Andrewartha)
415
416         * configure.in: Add fontconfig to X_PACKAGES, since we use it for
417         FcNameConstant(). (More of #313417)
418
419 2005-08-15  Matthias Clasen  <mclasen@redhat.com>
420
421         * gtk/gtkfilechooserdefault.c: When using gtk_dialog_run() for
422         modal dialogs, make sure to inherit the window group from 
423         the parent, since we don't inherit window groups across
424         transient parents currently.  (#312918, Christian Persch)
425
426         * gtk/gtkmessagedialog.c (gtk_message_dialog_new): 
427         * gtk/gtkdialog.c (gtk_dialog_run): Slight update to the docs. 
428
429         * gtk/gtkiconview.c (gtk_icon_view_select_path) 
430         (gtk_icon_view_scroll_to_path): Handle paths of depth 0
431         gracefully.  (#312796, Jonathan Blandford)
432
433         * tests/testtoolbar.c: Add some more tests for menu placement.
434
435         * gtk/gtkmenutoolbutton.c (menu_position_func): 
436         * gtk/gtktoolbar.c (menu_position_func): Improve positioning
437         of toolbutton menus and of the overflow menu.  (#312937, 
438         #153870, Christian Persch, Paolo Borelli)
439
440 2005-08-15  Tor Lillqvist  <tml@novell.com>
441
442         * gtk/updateiconcache.c: Use g_path_get_dirname() instead of
443         the nonportable <libgen.h> and dirname().
444
445 2005-08-15  Matthias Clasen  <mclasen@redhat.com>
446
447         * gtk/gtksizegroup.c: Use object data to mark widgets and
448         groups as visited, so that we avoid constant extra list
449         traversals. Also allocate quarks in class_init.  (#311618,
450         Michael Natterer)
451
452         * gtk/gtkicontheme.c (gtk_icon_theme_lookup_icon): Correct the 
453         download location for the hicolor icon theme. (#313475, Olexiy 
454         Avramchenko)
455
456         * gtk/gtkicontheme.c: Remove debug spew. 
457
458 2005-08-15  Owen Taylor  <otaylor@redhat.com>
459
460         * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_back_pixmap): 
461         * gdk/win32/gdkwindow-win32.c (gdk_window_set_back_pixmap): 
462         * gdk/x11/gdkwindow-x11.c (gdk_window_set_back_pixmap):
463         Handle pixmap == NULL when checking for a colormap.
464         (Allin Cottrell).
465
466 2005-08-14  Matthias Clasen  <mclasen@redhat.com>
467
468         * gtk/updateiconcache.c: Store only one copy of the pixel data
469         for symlinked icons. To achieve this, maintain a hashtable 
470         mapping pathnames to pixel data, and share the pixel data for
471         all symlinks resolving to the same pathname. When writing out
472         the image data, write out the pixel data only the first time
473         it is met, and store the offset pointing to the first copy
474         for use in all later cases.
475         This reduces the size of the Bluecurve icon cache from 40
476         to 13MB. (#312972)
477