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