1 2005-08-26 Matthias Clasen <mclasen@redhat.com>
3 * gtk/gtkicontheme.c (theme_lookup_icon): Avoid an uninitialized
4 variable warning, pointed out by Colin Walters. (#314585)
6 2005-08-26 Tor Lillqvist <tml@novell.com>
8 * gtk/gtkfilesystemwin32.c: Remove some ifdeffed out debugging
10 (gtk_file_system_win32_parse): Don't mishandle UNC paths. (#314519)
12 2005-08-26 Matthias Clasen <mclasen@redhat.com>
14 * gtk/gtkcalendar.c (gtk_calendar_init): Fix the calculation
15 of week_start. (#314473, JP Rosevaar)
17 2005-08-25 Thomas Fitzsimmons <fitzsim@redhat.com>
19 * gtk/gtkfilesystemmodel.c (idle_finished_loading_cb): Acquire GDK
20 lock. (#314533, Thomas Fitzsimmons)
22 2005-08-25 Matthias Clasen <mclasen@redhat.com>
24 * gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores): Handle
25 NULL gracefully. (#314523, Ed Catmur)
27 2005-08-25 Owen Taylor <otaylor@redhat.com>
29 * gdk/x11/gdkcursor-x11.c (gdk_x11_display_set_cursor_theme):
32 2005-08-25 Matthias Clasen <mclasen@redhat.com>
34 * gtk/gtkmenutoolbutton.c (menu_position_func): Take widget
35 y offset into account when positioning the popup. (#314470,
38 2005-08-25 Owen Taylor <otaylor@redhat.com>
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.
45 2005-08-24 Owen Taylor <otaylor@redhat.com>
47 * gdk/gdkpango.c (draw_error_underline): Add a note about
48 cut-and-paste between here and Pango.
50 2005-08-24 Matthias Clasen <mclasen@redhat.com>
52 * === Released 2.8.2 ===
54 * gtk/gtkclipboard.c (request_image_received_func): Use the correct
55 callback for image/gif, and also try image/bmp. (#314086, Mark
58 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_volume_render_icon):
59 Use gnome-dev-harddisk for volumes, not gnome-fs-blockdev. (#314382,
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.
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.
71 2005-08-24 Matthias Clasen <mclasen@redhat.com>
75 * === Released 2.8.1 ===
79 2005-08-24 Matthias Clasen <mclasen@redhat.com>
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)
85 2005-08-23 Owen Taylor <otaylor@redhat.com>
87 Fix for #314004, reported by Michael Reinsch:
90 * gdk/gdkscreen.[ch]: Add gdk_screen_get/set_font_options_libgtk_only()
91 Add gdk_screen_get/set_resolution_libgtk_only()
93 * gdk/gdkpango.c (gdk_pango_context_get_for_screen): Set
94 the options for the screen on the newly created context.
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.
100 * gtk/gtkwidget.c (gtk_widget_update_pango_context): Just get
101 the font options from the screen and set them on the context.
103 2005-08-23 Kristian Rietveld <kris@gtk.org>
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).
109 2005-08-23 Matthias Clasen <mclasen@redhat.com>
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.
115 * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Fix a
116 C99ism. (#314262, Robert Jeff Mitchell)
118 2005-08-22 Manish Singh <yosh@gimp.org>
120 * gtk/gtkicontheme.h: add declaration for _gtk_icon_theme_check_reload.
122 * gtk/gtkwindow.c: remove declaration of gtk_window_read_rcfiles.
124 2005-08-22 Matthias Clasen <mclasen@redhat.com>
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
135 2005-08-22 Matthias Clasen <mclasen@redhat.com>
137 * gtk/gtkicontheme.c (gtk_icon_theme_load_icon): Add a note
138 regarding icon theme changes.
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)
146 * docs/tools/Makefile.am (LDADDS): Add GTK_DEP_LIBS, in order
147 to link against Xext. (#314062)
149 * gtk/gtkhsv.c (paint_triangle): One more fix to prevent buffer
150 overruns. (#314081, Hans Breuer)
152 2005-08-20 Matthias Clasen <mclasen@redhat.com>
154 * gtk/gtkentry.c (gtk_entry_get_layout): Clarify that the
155 returned layout must not be modified.
157 Sat Aug 20 16:12:14 2005 Jonathan Blandford <jrb@redhat.com>
159 * gtk/gtktreeview.c (gtk_tree_view_set_model): clear
160 scroll_to_path if the model changes.
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
169 2005-08-20 Matthias Clasen <mclasen@redhat.com>
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)
175 2005-08-19 Matthias Clasen <mclasen@redhat.com>
177 * gtk/gtktreeitem.c: Remove duplicate lines. (#313344,
180 * modules/engines/ms-windows/msw_style.c (setup_system_styles):
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.
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)
192 2005-08-19 Matthias Clasen <mclasen@redhat.com>
194 * gtk/gtkhsv.c (paint_triangle): Avoid a buffer overrun.
195 (#313900, Sebastien Bacher)
197 * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): Return
198 FALSE if the tree is empty. (#313891, Guillaume Cottenceau)
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.
204 * gdk/x11/gdkevents-x11.c (fetch_net_wm_check_window)
205 Free data returned from XGetWindowProperty. (313867, Kjartan
208 * gdk/x11/gdkdnd-x11.c (get_client_window_at_coords_recurse): Free
209 children in all cases. (#313862, Kjartan Maraas)
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)
216 2005-08-18 Matthias Clasen <mclasen@redhat.com>
218 * gtk/gtkmenutoolbutton.c (gtk_menu_tool_button_destroy): Disconnect
219 signal handlers on destroy, not on finalize. (#313759, Brett Atoms)
221 2005-08-15 Owen Taylor <otaylor@redhat.com>
223 * configure.in: Add -lXext to GDK_EXTRA_LIBS in absence of pkg-config
224 files for x11/xext. (Jonas Bonn)
226 2005-08-15 Tor Lillqvist <tml@novell.com>
228 * gtk/gtkicontheme.c (theme_lookup_icon): Put debugging printout
231 2005-08-15 Owen Taylor <otaylor@redhat.com>
233 * configure.in: Fix have_base_pc / have_base_x_pc typo.
235 * gdk/x11/gdkdrawable-x11.c gtk/gtksettings.c: Remove panoxft.h includes.
236 (#313417, James Andrewartha)
238 * configure.in: Add fontconfig to X_PACKAGES, since we use it for
239 FcNameConstant(). (More of #313417)
241 2005-08-15 Matthias Clasen <mclasen@redhat.com>
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)
248 * gtk/gtkmessagedialog.c (gtk_message_dialog_new):
249 * gtk/gtkdialog.c (gtk_dialog_run): Slight update to the docs.
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)
255 * tests/testtoolbar.c: Add some more tests for menu placement.
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)
262 2005-08-15 Tor Lillqvist <tml@novell.com>
264 * gtk/updateiconcache.c: Use g_path_get_dirname() instead of
265 the nonportable <libgen.h> and dirname().
267 2005-08-15 Matthias Clasen <mclasen@redhat.com>
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,
274 * gtk/gtkicontheme.c (gtk_icon_theme_lookup_icon): Correct the
275 download location for the hicolor icon theme. (#313475, Olexiy
278 * gtk/gtkicontheme.c: Remove debug spew.
280 2005-08-15 Owen Taylor <otaylor@redhat.com>
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.
288 2005-08-14 Matthias Clasen <mclasen@redhat.com>
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