]> Pileus Git - ~andy/gtk/blob - ChangeLog
04b55dc99750a805585751d744b80619aeee2930
[~andy/gtk] / ChangeLog
1 2005-08-26  Matthias Clasen  <mclasen@redhat.com>
2
3         * gtk/gtkicontheme.c (theme_lookup_icon): Avoid an uninitialized
4         variable warning, pointed out by Colin Walters. (#314585)
5
6 2005-08-26  Tor Lillqvist  <tml@novell.com>
7
8         * gtk/gtkfilesystemwin32.c: Remove some ifdeffed out debugging
9         printouts.
10         (gtk_file_system_win32_parse): Don't mishandle UNC paths. (#314519)
11
12 2005-08-26  Matthias Clasen  <mclasen@redhat.com>
13
14         * gtk/gtkcalendar.c (gtk_calendar_init): Fix the calculation
15         of week_start.  (#314473, JP Rosevaar)
16
17 2005-08-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
18
19         * gtk/gtkfilesystemmodel.c (idle_finished_loading_cb): Acquire GDK
20         lock.  (#314533, Thomas Fitzsimmons)
21
22 2005-08-25  Matthias Clasen  <mclasen@redhat.com>
23
24         * gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores): Handle
25         NULL gracefully.  (#314523, Ed Catmur)
26
27 2005-08-25  Owen Taylor  <otaylor@redhat.com>
28
29         * gdk/x11/gdkcursor-x11.c (gdk_x11_display_set_cursor_theme): 
30         Handle theme == NULL.
31
32 2005-08-25  Matthias Clasen  <mclasen@redhat.com>
33
34         * gtk/gtkmenutoolbutton.c (menu_position_func): Take widget
35         y offset into account when positioning the popup.  (#314470,
36         Christian Persch)
37
38 2005-08-25  Owen Taylor  <otaylor@redhat.com>
39
40         * gdk/gdkscreen.c (gdk_screen_get_type): Use gdk_screen_init
41         as instance_init, not base_init! (#314452, Fix from Frederic
42         Crozat, reported by Joe Marcus Clarke). Trivial cleanup: use -1.
43         rather than 1 for a negative flag value.
44
45 2005-08-24  Owen Taylor  <otaylor@redhat.com>
46
47         * gdk/gdkpango.c (draw_error_underline): Add a note about
48         cut-and-paste between here and Pango.
49
50 2005-08-24  Matthias Clasen  <mclasen@redhat.com>
51
52         * === Released 2.8.2 ===
53
54         * gtk/gtkclipboard.c (request_image_received_func): Use the correct
55         callback for image/gif, and also try image/bmp.  (#314086,  Mark 
56         Wielaard)
57
58         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_volume_render_icon): 
59         Use gnome-dev-harddisk for volumes, not gnome-fs-blockdev.  (#314382,
60         Sebastien Bacher)
61         
62         * NEWS: Updates
63
64         * gtk/gtksettings.c (gtk_settings_get_for_screen): Make sure font
65         and cursor settings get propagated down to the screen initially.
66         Pointed out by Frederic Crozat.
67
68         * gtk/gtkicontheme.c (ensure_valid_themes): Don't try to send a client
69         message if the screen is NULL. Noticed by Kjartan Maraas.
70
71 2005-08-24  Matthias Clasen  <mclasen@redhat.com>
72
73         * Bump version
74
75         * === Released 2.8.1 ===
76
77         * NEWS: Updates
78         
79 2005-08-24  Matthias Clasen  <mclasen@redhat.com>
80
81         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_visible): Protect
82         against lazy filterers which return values other than TRUE or
83         FALSE from their visible func.  (#314335)
84
85 2005-08-23  Owen Taylor  <otaylor@redhat.com>
86
87         Fix for #314004, reported by Michael Reinsch:
88
89         * gdk/gdk.symbols:
90         * gdk/gdkscreen.[ch]: Add gdk_screen_get/set_font_options_libgtk_only()
91         Add gdk_screen_get/set_resolution_libgtk_only()
92
93         * gdk/gdkpango.c (gdk_pango_context_get_for_screen): Set
94         the options for the screen on the newly created context.
95
96         * gtk/gtksettings.c (settings_update_font_options/dpi) gtkwidget.c: 
97         Move font options and dpi code from gtkwidget.c to gtksettings.c, set
98         the font options on the screen.
99
100         * gtk/gtkwidget.c (gtk_widget_update_pango_context): Just get
101         the font options from the screen and set them on the context.
102
103 2005-08-23  Kristian Rietveld  <kris@gtk.org>
104
105         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted): don't
106         bother inserting new rows in a level with a zero refcount and
107         immediately free the level. (Fixes #312350, reported by Markku Vire).
108
109 2005-08-23  Matthias Clasen  <mclasen@redhat.com>
110
111         * gtk/updateiconcache.c: Complain when there is no index.theme file
112         in the specified directory, unless --force is used. Also add an
113         --index-only option to create caches without image data.
114
115         * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Fix a
116         C99ism.  (#314262, Robert Jeff Mitchell)
117         
118 2005-08-22  Manish Singh  <yosh@gimp.org>
119
120         * gtk/gtkicontheme.h: add declaration for _gtk_icon_theme_check_reload.
121
122         * gtk/gtkwindow.c: remove declaration of gtk_window_read_rcfiles.
123
124 2005-08-22  Matthias Clasen  <mclasen@redhat.com>
125
126         * gtk/gtkwindow.c (gtk_window_client_event): 
127         * gtk/gtkicontheme.c (ensure_valid_themes) 
128         (_gtk_icon_theme_check_reload): Implement a clientmessage based
129         scheme for makeing sure that all GTK+ applications notice if an
130         icon theme has been updated. This should prevent multiple versions
131         of an icon theme cache to be mapped in memory at the same time,
132         which can cause excessive memory consumption.  (#313156, Chris 
133         Lahey)
134
135 2005-08-22  Matthias Clasen  <mclasen@redhat.com>
136
137         * gtk/gtkicontheme.c (gtk_icon_theme_load_icon): Add a note
138         regarding icon theme changes.
139
140         * gtk/gtkiconcache.c (_gtk_icon_cache_get_icon): When returning
141         pixbufs which are backed by the mmapped memory of an icon cache,
142         increase the refcount of the icon cache, so that the memory is not
143         munmapped away underneath the pixbuf upon icon theme changes.  
144         (#314170, Kjartan Maraas)
145
146         * docs/tools/Makefile.am (LDADDS): Add GTK_DEP_LIBS, in order 
147         to link against Xext.  (#314062)
148
149         * gtk/gtkhsv.c (paint_triangle): One more fix to prevent buffer
150         overruns.  (#314081, Hans Breuer)
151
152 2005-08-20  Matthias Clasen  <mclasen@redhat.com>
153
154         * gtk/gtkentry.c (gtk_entry_get_layout): Clarify that the
155         returned layout must not be modified.
156
157 Sat Aug 20 16:12:14 2005  Jonathan Blandford  <jrb@redhat.com>
158
159         * gtk/gtktreeview.c (gtk_tree_view_set_model): clear
160         scroll_to_path if the model changes.
161
162         * gtk/gtkiconview.c: (gtk_icon_view_destroy),
163         (gtk_icon_view_size_allocate), (gtk_icon_view_set_cursor),
164         (gtk_icon_view_scroll_to_path): Handle scrolling to a path before
165         we're realized, #312798
166         (gtk_icon_view_set_model): clear scroll_to_path if the model
167         changes.
168
169 2005-08-20  Matthias Clasen  <mclasen@redhat.com>
170
171         * gtk/gtkrange.c (gtk_range_adjustment_changed) 
172         (gtk_range_adjustment_value_changed):  Don't queue a draw
173         if the layout has not changed.  (#313991, Benjamin Berg)
174
175 2005-08-19  Matthias Clasen  <mclasen@redhat.com>
176
177         * gtk/gtktreeitem.c: Remove duplicate lines.  (#313344,
178         Benoit Carpentier)
179
180         * modules/engines/ms-windows/msw_style.c (setup_system_styles): 
181         Fix a typo. 
182
183         * gtk/gtkfilechooserbutton.c (change_icon_theme) 
184         (model_add_special, model_add_special, model_add_volumes):
185         Handle pixbuf being NULL without warnings. Also, don't
186         leak pixbuf references when the icon theme is changed.
187
188         * gtk/gtkmain.c (gtk_get_event_widget): Don't access
189         the user data on destroyed windows, since at best
190         it can be a stale pointer.  (#313953, Robin Green)      
191
192 2005-08-19  Matthias Clasen  <mclasen@redhat.com>
193
194         * gtk/gtkhsv.c (paint_triangle): Avoid a buffer overrun.  
195         (#313900, Sebastien Bacher)
196
197         * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): Return
198         FALSE if the tree is empty.  (#313891, Guillaume Cottenceau)
199
200         * gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display) 
201         (xdnd_read_actions, get_client_window_at_coords_recurse): 
202         Free data returned from XGetWindowProperty. 
203
204         * gdk/x11/gdkevents-x11.c (fetch_net_wm_check_window) 
205         Free data returned from XGetWindowProperty.  (313867, Kjartan
206         Maraas)
207         
208         * gdk/x11/gdkdnd-x11.c (get_client_window_at_coords_recurse): Free
209         children in all cases.  (#313862, Kjartan Maraas)
210
211         * gtk/gtkicontheme.c (theme_lookup_icon): Store GtkIconData structs 
212         in the per-directory hash, even if they come from the icon cache. 
213         We tried to avoid that before, but as a result leaked icon data
214         structs.  (#313852, Kjartan Maraas)
215
216 2005-08-18  Matthias Clasen  <mclasen@redhat.com>
217
218         * gtk/gtkmenutoolbutton.c (gtk_menu_tool_button_destroy): Disconnect
219         signal handlers on destroy, not on finalize.  (#313759, Brett Atoms)
220
221 2005-08-15  Owen Taylor  <otaylor@redhat.com>
222
223         * configure.in: Add -lXext to GDK_EXTRA_LIBS in absence of pkg-config
224         files for x11/xext. (Jonas Bonn)
225
226 2005-08-15  Tor Lillqvist  <tml@novell.com>
227
228         * gtk/gtkicontheme.c (theme_lookup_icon): Put debugging printout
229         inside GTK_NOTE.
230
231 2005-08-15  Owen Taylor  <otaylor@redhat.com>
232
233         * configure.in: Fix have_base_pc / have_base_x_pc typo.
234
235         * gdk/x11/gdkdrawable-x11.c gtk/gtksettings.c: Remove panoxft.h includes.
236         (#313417, James Andrewartha)
237
238         * configure.in: Add fontconfig to X_PACKAGES, since we use it for
239         FcNameConstant(). (More of #313417)
240
241 2005-08-15  Matthias Clasen  <mclasen@redhat.com>
242
243         * gtk/gtkfilechooserdefault.c: When using gtk_dialog_run() for
244         modal dialogs, make sure to inherit the window group from 
245         the parent, since we don't inherit window groups across
246         transient parents currently.  (#312918, Christian Persch)
247
248         * gtk/gtkmessagedialog.c (gtk_message_dialog_new): 
249         * gtk/gtkdialog.c (gtk_dialog_run): Slight update to the docs. 
250
251         * gtk/gtkiconview.c (gtk_icon_view_select_path) 
252         (gtk_icon_view_scroll_to_path): Handle paths of depth 0
253         gracefully.  (#312796, Jonathan Blandford)
254
255         * tests/testtoolbar.c: Add some more tests for menu placement.
256
257         * gtk/gtkmenutoolbutton.c (menu_position_func): 
258         * gtk/gtktoolbar.c (menu_position_func): Improve positioning
259         of toolbutton menus and of the overflow menu.  (#312937, 
260         #153870, Christian Persch, Paolo Borelli)
261
262 2005-08-15  Tor Lillqvist  <tml@novell.com>
263
264         * gtk/updateiconcache.c: Use g_path_get_dirname() instead of
265         the nonportable <libgen.h> and dirname().
266
267 2005-08-15  Matthias Clasen  <mclasen@redhat.com>
268
269         * gtk/gtksizegroup.c: Use object data to mark widgets and
270         groups as visited, so that we avoid constant extra list
271         traversals. Also allocate quarks in class_init.  (#311618,
272         Michael Natterer)
273
274         * gtk/gtkicontheme.c (gtk_icon_theme_lookup_icon): Correct the 
275         download location for the hicolor icon theme. (#313475, Olexiy 
276         Avramchenko)
277
278         * gtk/gtkicontheme.c: Remove debug spew. 
279
280 2005-08-15  Owen Taylor  <otaylor@redhat.com>
281
282         * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_back_pixmap): 
283         * gdk/win32/gdkwindow-win32.c (gdk_window_set_back_pixmap): 
284         * gdk/x11/gdkwindow-x11.c (gdk_window_set_back_pixmap):
285         Handle pixmap == NULL when checking for a colormap.
286         (Allin Cottrell).
287
288 2005-08-14  Matthias Clasen  <mclasen@redhat.com>
289
290         * gtk/updateiconcache.c: Store only one copy of the pixel data
291         for symlinked icons. To achieve this, maintain a hashtable 
292         mapping pathnames to pixel data, and share the pixel data for
293         all symlinks resolving to the same pathname. When writing out
294         the image data, write out the pixel data only the first time
295         it is met, and store the offset pointing to the first copy
296         for use in all later cases.
297         This reduces the size of the Bluecurve icon cache from 40
298         to 13MB. (#312972)
299