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