1 2005-09-13 Matthias Clasen <mclasen@redhat.com>
3 * gtk/*.c: Various cleanups. (#315360, Kjartan Maraas)
5 * gdk/*.c: Various cleanups. (#315359, Kjartan Maraas)
7 2005-09-13 Matthias Clasen <mclasen@redhat.com>
9 * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
10 Let GDK_Return pass through in some more cases.
12 * gtk/gtkentry.c (gtk_entry_key_press): Reset the im context before
15 * gtk/gtkiconview.c (gtk_icon_view_class_init):
16 (gtk_icon_view_get_dest_item_at_pos): Fix typos in the
17 docs. (#316008, #316027, #316121, Guillaume Cottenceau)
19 * gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Add some docs.
20 (#316001, Guillaume Cottenceau)
22 * gtk/gtkdnd.c (gtk_drag_set_icon_name): Fix a copy-and-paste
23 mistake in the docs. (#315993, Guillaume Cottenceau)
25 * tests/testentrycompletion.c (create_simple_completion_model): Add
26 some strings containing multibyte characters.
28 * gtk/gtkentrycompletion.c (gtk_entry_completion_real_insert_prefix):
29 Fix prefix insertion for multibyte characters. (#316095,
32 * gtk/gtktreeview.c (gtk_tree_view_create_row_drag_icon):
33 * gtk/gtkiconview.c (gtk_icon_view_create_drag_icon): Silently
34 return NULL if the widget is not realized. (#316023,
37 2005-09-11 Matthias Clasen <mclasen@redhat.com>
41 * gdk/x11/gdkproperty-x11.c (gdk_atom_intern_static_string):
42 New function to avoid pointless strdups when creating atoms
46 * gtk/*.c: Use gdk_atom_intern_static_string() where
49 2005-09-09 Matthias Clasen <mclasen@redhat.com>
51 * gtk/gtkcellrendererkeys.h:
52 * gtk/gtkcellrendererkeys.c: Add a cell renderer for displaying
53 and editing accelerators, a port of EggCellRendererKeys .
57 * gtk/Makefile.am: Add the keys cell renderer.
60 * tests/testkeys.c: Test GtkCellRendererKeys
62 2005-09-09 Matthias Clasen <mclasen@redhat.com>
64 Make it possible to determine if a key event is for a
67 * gdk/x11/gdkprivate-x11.h:
68 * gdk/x11/gdkkeys-x11.c (_gdk_keymap_key_is_modifier):
69 New function to determine if a keycode is mapped to a modifier.
70 (get_xkb): Get the modmap.
72 * gdk/x11/gdkevents-x11.c (translate_key_event): Set the
73 is_modifier bit by calling _gdk_keymap_key_is_modifier().
75 * gdk/gdkevents.h (struct _GdkEventKey): Add an is_modifier
78 2005-09-09 Matthias Clasen <mclasen@redhat.com>
80 * gdk/gdkpixbuf-drawable.c (convert_real_slow): Remove an
81 unused variable, noticed by Kjartan Maraas.
83 2005-09-09 Matthias Clasen <mclasen@redhat.com>
85 * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_event):
86 Make drag reordering work properly for columns other than the
87 first. (#315054, Dan Winship)
89 * gtk/gtkfontsel.c (gtk_font_selection_set_font_name): Handle
90 invalid fontnames better. (#136926, Michael R. Walton)
92 Stop cursor blinking in non-editable regions of a text view.
93 (#311508, Torbjörn Andersson)
95 * gtk/gtktextview.c (gtk_text_view_check_cursor_blink):
96 (cursor_blinks): Take editability into account when deciding
97 whether the cursor blinks.
98 (gtk_text_view_button_release_event):
99 (gtk_text_view_move_cursor_internal): Update cursor blinking here.
101 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_start_editing):
102 Use connect_after to connect to the focus_out event. This
103 ensures that the entry has already stopped blinking by the time
104 we emit the edited signal. (#315229, Thomas Leonard)
106 * tests/testgtk.c: Use GDK_MOD1_MASK, not GDK_ALT_MASK.
108 * gtk/gtkwindow.c (gtk_window_parse_geometry): Don't set
109 unsigned ints to -1. (#315481, Kjartan Maraas)
111 * gtk/gtkcalendar.c (gtk_calendar_init): first_weekday is relative
112 to week_1stday, not to Sunday. Gotta love the ISO 14652 guys...
113 (#314473, Stanislav Brabec)
115 2005-09-09 Matthias Clasen <mclasen@redhat.com>
117 * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): Document
118 memory handling. (#314975, Torsten Schoenfeld)
120 * gtk/gtkiconview.c (gtk_icon_view_class_init):
121 * gtk/gtkfilesel.c (gtk_file_selection_class_init):
122 * gtk/gtkcombobox.c (gtk_combo_box_class_init):
123 * gtk/gtklabel.c (gtk_label_class_init):
124 * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init):
125 Stylistic improvements and clarifications for some blurbs.
126 (#315520, Clytie Siddall)
128 2005-09-09 Tor Lillqvist <tml@novell.com>
130 * gdk/win32/gdkdisplay-win32.c (gdk_display_get_name): Cache the
131 display name. There is only one GdkDisplay on Win32, and
132 constructing the display name isn't entirely trivial, so cacheing
133 is probably worth it. For instance GIMP calls this function a lot.
134 (gdk_display_open): Call gdk_display_get_name() to prime the
136 (gdk_display_get_n_screens, gdk_display_get_screen,
137 gdk_display_get_default_screen): Verify parameter correctness like
138 the X11 backend does.
140 * gdk/win32/gdkscreen-win32.c (gdk_screen_make_display_name):
141 Return a freshly allocated string, as the API specifies. Fixes a
142 heap corruption problem that caused random errors and crashes in
145 2005-09-07 Matthias Clasen <mclasen@redhat.com>
147 * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
148 Make C-u commit and restart hex input if we are already in a
151 2005-09-06 Matthias Clasen <mclasen@redhat.com>
153 * gdk/x11/gdkkeys-x11.c (update_modmap): Make the modmap reflexive.
154 (_gdk_keymap_add_virtual_modifiers): Don't add both Alt and Meta
155 if they are mapped to the same modifier.
157 * gtk/Makefile.am: Rename gtkstatusicon-x11.c and gtktrayicon.c
158 to gtkstatusicon.c and gtktrayicon-x11.c
160 * gtk/gtkaccelgroup.c: Include Super, Hyper and Meta in the
161 default accel mod mask.
163 * gtk/gtkaccelgroup.c (gtk_accelerator_parse):
164 * gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label):
165 Don't use GDK_ALT_MASK.
167 * gdk/gdktypes.h: No need to introduce GDK_ALT_MASK
169 2005-09-06 Matthias Clasen <mclasen@redhat.com>
171 Add support for extra virtual modifiers: (#85780, Owen Taylor)
173 * tests/testgtk.c (create_key_lookup): Add tests for extra virtual
176 * gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Try to match both against
177 Mod2 - Mod5 and against Super, Hyper, Meta.
179 * gtk/gtkaccellabel.c (_gtk_accel_label_class_get_accelerator_label):
180 * gtk/gtkaccelgroup.c (gtk_accelerator_parse)
181 (gtk_accelerator_name): Support Super, Hyper Meta and Mod2 - Mod5.
183 * gdk/x11/gdkkeys-x11.c (struct _GdkKeymapX11): Add a
184 modmap to maintain the information which X modifiers map to
186 (get_xkb): Set up the modmap from the XKB tables.
187 (update_keymaps): Set up the modmap from the information returned
188 by XGetModifierMapping in the non-XKB case.
190 * gdk/x11/gdkprivate-x11.h:
191 * gdk/x11/gdkkeys-x11.c (_gdk_keymap_add_virtual_modifiers): New
192 function to set the virtual modifiers in the state.
194 * gdk/x11/gdkevents-x11.c (translate_key_event): Call
195 _gdk_keymap_add_virtual_modifiers here.
197 * gdk/gdktypes.h (GdkModifierType): Add bits for virtual Super,
198 Hyper and Meta modifiers. Also add GDK_ALT_MASK as an alias
201 2005-09-05 Matthias Clasen <mclasen@redhat.com>
203 * gtk/gtkaction.c (connect_proxy): Set the label of a button
204 if it has no child. (#315253, John Finlay)
206 2005-09-02 Matthias Clasen <mclasen@redhat.com>
208 * gtkimcontextsimple.h: Add a modifiers_dropped bit
210 2005-09-02 Matthias Clasen <mclasen@redhat.com>
212 * gtk/gtkentry.c (gtk_entry_destroy): Disconnect idle handlers
213 on destroy to avoid problems when they are called on a destroyed
214 widget. (#315135, John Cupitt)
216 * gtk/gtkentry.c (gtk_entry_class_init):
217 * gtk/gtktextview.c (gtk_text_view_class_init): Add bindings
218 for Ctrl-Shift-A to unselect all. (#309301, Kathy Fernandes)
220 * gtk/gtkimcontextsimple.c: Rework the Unicode hex input
221 code. Now we only steal a single key combination, Ctrl-Shift-U,
223 A hex Unicode sequence must be started with Ctrl-Shift-U, followed
224 by a sequence of hex digits entered with Ctrl-Shift still held.
225 Releasing one of the modifiers or pressing space while the modifiers
226 are still held commits the character. It is possible to erase
227 digits using backspace.
228 As an extension to the above, we also allow to start the sequence
229 with Ctrl-Shift-U, then release the modifiers before typing any
230 digits, and enter the digits without modifiers.
231 (#82011, Owen Taylor)
233 2005-09-02 Matthias Clasen <mclasen@redhat.com>
235 * gtk/gtkmain.c (gtk_get_event_widget): If the window is destroyed,
236 we still need to deliver the destroy event. (#314980, Chris Lahey)
238 * gtk/gtktextview.c (gtk_text_view_key_press_event): Reset
239 im context before committing \n or \t.
241 2005-09-02 Alexander Larsson <alexl@redhat.com>
243 * gtk/gtkfilechooserdefault.c: (shortcuts_add_volumes),
244 (shortcuts_activate_volume):
245 Handle base_path being null in the rest of the cases (#310270)
247 2005-09-02 Tor Lillqvist <tml@novell.com>
249 * gdk/win32/gdkevents-win32.c (gdk_event_translate): Keep track of
250 cursor position also in root window coordinates. Prune out
251 superfluous WM_MOUSEMOVE events even earlier, based on root window
252 coordinates. Windows sends WM_MOUSEMOVE messages after a new
253 window has ben mapped below the cursor even if the mouse doesn't
254 move. We used to generate GDK_MOTION_NOTIFY in these cases. This
255 confused at least gtk_menu_motion_notify(). (#314995)
257 * gtk/gtkintl.h: No need to include config.h here. It caused
258 warnings about GTK_LOCALEDIR being redefined on Win32 when
259 compiling files where gtkintl.h is included after gtkprivate.h
260 (which #undefines and re-#defines GTK_LOCALEDIR on Win32).
262 * gtk/gtkplug.c: Include config.h.
264 2005-09-01 Matthias Clasen <mclasen@redhat.com>
266 * gtk/gtkfilesystemunix.c: Pass statbufs down to
267 xdg_mime_get_mime_type_for_file() where possible, to avoid
270 * gtk/gtkaction.c (gtk_action_get_accel_closure): Fix doc
271 typo. (#314921, Guillaume Cottenceau)
273 * gdk/*.c: Intern some more strings.
275 * gtk/*.c: Define an I_() macro and use it instead of the
276 bulky g_intern_static_string().
278 2005-08-31 Matthias Clasen <mclasen@redhat.com>
280 * gtk/gtkbindings.c (binding_signal_new): Intern the signal name
281 instead of copying it.
283 * gtk/gtktypeutils.c (gtk_identifier_get_type): Some more string interning.
285 * gtk/*.c: Also intern static strings passed to
289 * gtk/Makefile.am: Intern type names in code generated by
294 * gdk/*.c: Intern type names before registering the type to avoid
297 * configure.in: Require GLib 2.9.0
299 2005-08-31 Matthias Clasen <mclasen@redhat.com>
301 * gtk/gtktoolbar.c: Undeprecate gtk_toolbar_set_icon_size(),
302 and add icon-size and icon-size-set properties. (#314172)
304 * gtk/gtkwindow.c (gtk_window_set_transient_for): Inherit window
305 groups across transient parents. (#312918, Christian Persch)
307 * gtk/gtktreemodel.c: Some documentation fixes. (#314882,
308 Guillaume Cottenceau)
310 * gtk/gtktextiter.c (gtk_text_iter_backward_visible_cursor_positions):
311 Fix a typo in the docs. (#314878, Guillaume Cottenceau)
313 2005-08-30 Matthias Clasen <mclasen@redhat.com>
315 * gtk/gtkentry.c (gtk_entry_class_init): Add key bindings to
316 make C-/ select all and C-\ unselect all. (#309301,
319 * gtk/gtkimcontextsimple.c: Change the compose sequence for
320 soft hyphen to be multi_key-minus-minus-space, and add
321 compose sequences multi_key-minus-minus-period and
322 multi_key-minus-minus-minus for en dash and em dash.
323 (#172653, Christian Lohmaier)
325 * gtk/gtkentry.c (gtk_entry_draw_frame): Fix some unused
326 code. (#313946, Christian Persch)
328 * gtk/gtkuimanager.c (gtk_ui_manager_class_init): Another
329 fix for the default value of the "ui" property.
331 2005-08-30 Matthias Clasen <mclasen@redhat.com>
334 * gtk/gtkselection.h:
335 * gtk/gtkselection.c: Add functions which look for text, image
336 or uri targets in an array of atoms. (#314089, Mark Wielaard)
339 * gtk/gtkselection.h:
340 * gtk/gtkselection.c (gtk_selection_data_targets_include_uri):
341 Add a function to check wether targets include uri.
342 (#314092, Mark Wielaard)
346 * gtk/gtkwindow.c: Add a deletable property with getter
347 and setter, to control the close button in the window
348 frame. (#59718, Havoc Pennington)
350 2005-08-29 Matthias Clasen <mclasen@redhat.com>
352 * gtk/gtkrc.key.emacs: Add C-n/C-p/C-f/C-b as alternatives
353 to the arrow keys for menu navigation. (#162825, Carl Worth)
355 * gtk/gtkentry.c, gtk/gtktextview.c: More typo fixes
357 * gtk/gtksocket-x11.c, gtk/gtkstatusicon-x11.c: Fix typos.
359 * gtk/gtkstatusicon-x11.c (gtk_status_icon_new_from_stock):
360 * gtk/gtkimage.c (gtk_image_new_from_stock): Don't
361 refer to nonexisting stock ids.
363 * gtk/gtktextview.c (popup_targets_received):
364 * gtk/gtkentry.c (popup_targets_received): Construct
365 the "Select All" menuitem from stock.
367 * gtk/stock-icons/stock_select_all_{16,24}.png:
368 * gtk/stock-icons/Makefile.am:
369 * gtk/gtkiconfactory.c:
371 * gtk/gtkstock.c: Add a "Select All" stock item. (#78545,
374 * gtk/gtktrayicon.c: Add a pointer to the spec.
376 * gtk/gtkstatusicon-x11.c: Add docs.
378 * gtk/gtkstatusicon.h: Fix a typo.
380 Add a cross-platform "tray icon" API, by
381 porting EggStatusIcon/EggTrayIcon (#105101)
383 * gtk/gtkstatusicon.h: A GtkStatusIcon is an object which
384 displays an icon in a notification area.
386 * gtk/gtkstatusicon-x11.c: GtkStatusIcon implementation for
387 X11, using GtkTrayIcon.
390 * gtk/gtktrayicon.c: An implementation of the freedesktop.org
391 system tray specification, not public API.
393 * gtk/gtk.symbols: Add new exported functions.
395 * gtk/gtk.h: Include gtkstatusicon.h.
397 * gtk/Makefile.am: Add new files.
400 * tests/teststatusicon.c: Test for GtkStatusIcon.
402 2005-08-29 Christopher Aillon <caillon@redhat.com>
404 * gtk/gtkstock.c: Add builtin GtkStockItems for GTK_STOCK_CONNECT
405 and GTK_STOCK_DISCONNECT
407 2005-08-29 Matthias Clasen <mclasen@redhat.com>
409 * gtk/gtksocket-x11.c (_gtk_socket_windowing_embed_notify):
410 Use XFixesChangeSaveSet if available. (#314682)
412 * gtk/gtkmenu.c (gtk_menu_grab_notify): Only cancel if the menu
413 was active. (#314298, Christian Persch, analysis by Mark McLoughlin)
415 2005-08-29 Matthias Clasen <mclasen@redhat.com>
417 * gtk/gtkiconcache.c (_gtk_icon_cache_get_icon): Remove an
418 accidentally leftover duplicate pixbuf creation. (#314700,
421 * gtk/gtksettings.c (settings_update_cursor_theme): Don't
422 leak the cursor theme name. (#314693, Kjartan Maraas)
424 * gdk/x11/gdkasync.c (_gdk_x11_get_window_child_info): Free
425 state.children in all cases. (#313862, Kjartan Maraas)
427 2005-08-28 Matthias Clasen <mclasen@redhat.com>
429 * po/POTFILES.in, po-properties/POTFILES.in:
432 2005-08-27 Matthias Clasen <mclasen@redhat.com>
434 * gtk/gtkuimanager.c (gtk_ui_manager_class_init): Fix the default
435 value of the ui property. (#314532, Yong Wang)
437 * gdk/x11/gdkproperty-x11.c (gdk_property_get): Don't warn
438 when G_MAXLONG is passed as length.
440 2005-08-26 Matthias Clasen <mclasen@redhat.com>
442 * gtk/updateiconcache.c: Add a separate --ignore-theme-index option
443 to avoid overloading --force. (JP Rosevaar)
445 2005-08-26 Matthias Clasen <mclasen@redhat.com>
447 * configure.in: Bump version to 2.9.0
451 * gdk/gdkscreen.c: Make the GdkScreen font options api
452 public, and add properties GdkScreen::font-options and
453 GdkScreen::resolution. (#314004)
457 * gtk/gtkwidget.c: Adjust all callers.
459 * gdk/gdkintl.h: Simplify and use glib/gi18n-lib.h.
460 * gdk/gdkpango.c: Include gdkintl.h, not gtkintl.h.
461 * gdk/gdkscreen.c: Include gdkintl.h.
463 * gtk/gtkicontheme.c (theme_lookup_icon): Avoid an uninitialized
464 variable warning, pointed out by Colin Walters. (#314585)
466 2005-08-26 Tor Lillqvist <tml@novell.com>
468 * gtk/gtkfilesystemwin32.c: Remove some ifdeffed out debugging
470 (gtk_file_system_win32_parse): Don't mishandle UNC paths. (#314519)
472 2005-08-26 Matthias Clasen <mclasen@redhat.com>
474 * gtk/gtkcalendar.c (gtk_calendar_init): Fix the calculation
475 of week_start. (#314473, JP Rosevaar)
477 2005-08-25 Thomas Fitzsimmons <fitzsim@redhat.com>
479 * gtk/gtkfilesystemmodel.c (idle_finished_loading_cb): Acquire GDK
480 lock. (#314533, Thomas Fitzsimmons)
482 2005-08-25 Matthias Clasen <mclasen@redhat.com>
484 * gtk/gtktoolbar.c (_gtk_toolbar_elide_underscores): Handle
485 NULL gracefully. (#314523, Ed Catmur)
487 2005-08-25 Owen Taylor <otaylor@redhat.com>
489 * gdk/x11/gdkcursor-x11.c (gdk_x11_display_set_cursor_theme):
490 Handle theme == NULL.
492 2005-08-25 Matthias Clasen <mclasen@redhat.com>
494 * gtk/gtkmenutoolbutton.c (menu_position_func): Take widget
495 y offset into account when positioning the popup. (#314470,
498 2005-08-25 Owen Taylor <otaylor@redhat.com>
500 * gdk/gdkscreen.c (gdk_screen_get_type): Use gdk_screen_init
501 as instance_init, not base_init! (#314452, Fix from Frederic
502 Crozat, reported by Joe Marcus Clarke). Trivial cleanup: use -1.
503 rather than 1 for a negative flag value.
505 2005-08-24 Owen Taylor <otaylor@redhat.com>
507 * gdk/gdkpango.c (draw_error_underline): Add a note about
508 cut-and-paste between here and Pango.
510 2005-08-24 Matthias Clasen <mclasen@redhat.com>
512 * === Released 2.8.2 ===
514 * gtk/gtkclipboard.c (request_image_received_func): Use the correct
515 callback for image/gif, and also try image/bmp. (#314086, Mark
518 * gtk/gtkfilesystemunix.c (gtk_file_system_unix_volume_render_icon):
519 Use gnome-dev-harddisk for volumes, not gnome-fs-blockdev. (#314382,
524 * gtk/gtksettings.c (gtk_settings_get_for_screen): Make sure font
525 and cursor settings get propagated down to the screen initially.
526 Pointed out by Frederic Crozat.
528 * gtk/gtkicontheme.c (ensure_valid_themes): Don't try to send a client
529 message if the screen is NULL. Noticed by Kjartan Maraas.
531 2005-08-24 Matthias Clasen <mclasen@redhat.com>
535 * === Released 2.8.1 ===
539 2005-08-24 Matthias Clasen <mclasen@redhat.com>
541 * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_visible): Protect
542 against lazy filterers which return values other than TRUE or
543 FALSE from their visible func. (#314335)
545 2005-08-23 Owen Taylor <otaylor@redhat.com>
547 Fix for #314004, reported by Michael Reinsch:
550 * gdk/gdkscreen.[ch]: Add gdk_screen_get/set_font_options_libgtk_only()
551 Add gdk_screen_get/set_resolution_libgtk_only()
553 * gdk/gdkpango.c (gdk_pango_context_get_for_screen): Set
554 the options for the screen on the newly created context.
556 * gtk/gtksettings.c (settings_update_font_options/dpi) gtkwidget.c:
557 Move font options and dpi code from gtkwidget.c to gtksettings.c, set
558 the font options on the screen.
560 * gtk/gtkwidget.c (gtk_widget_update_pango_context): Just get
561 the font options from the screen and set them on the context.
563 2005-08-23 Kristian Rietveld <kris@gtk.org>
565 * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted): don't
566 bother inserting new rows in a level with a zero refcount and
567 immediately free the level. (Fixes #312350, reported by Markku Vire).
569 2005-08-23 Matthias Clasen <mclasen@redhat.com>
571 * gtk/updateiconcache.c: Complain when there is no index.theme file
572 in the specified directory, unless --force is used. Also add an
573 --index-only option to create caches without image data.
575 * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Fix a
576 C99ism. (#314262, Robert Jeff Mitchell)
578 2005-08-22 Manish Singh <yosh@gimp.org>
580 * gtk/gtkicontheme.h: add declaration for _gtk_icon_theme_check_reload.
582 * gtk/gtkwindow.c: remove declaration of gtk_window_read_rcfiles.
584 2005-08-22 Matthias Clasen <mclasen@redhat.com>
586 * gtk/gtkwindow.c (gtk_window_client_event):
587 * gtk/gtkicontheme.c (ensure_valid_themes)
588 (_gtk_icon_theme_check_reload): Implement a clientmessage based
589 scheme for makeing sure that all GTK+ applications notice if an
590 icon theme has been updated. This should prevent multiple versions
591 of an icon theme cache to be mapped in memory at the same time,
592 which can cause excessive memory consumption. (#313156, Chris
595 2005-08-22 Matthias Clasen <mclasen@redhat.com>
597 * gtk/gtkicontheme.c (gtk_icon_theme_load_icon): Add a note
598 regarding icon theme changes.
600 * gtk/gtkiconcache.c (_gtk_icon_cache_get_icon): When returning
601 pixbufs which are backed by the mmapped memory of an icon cache,
602 increase the refcount of the icon cache, so that the memory is not
603 munmapped away underneath the pixbuf upon icon theme changes.
604 (#314170, Kjartan Maraas)
606 * docs/tools/Makefile.am (LDADDS): Add GTK_DEP_LIBS, in order
607 to link against Xext. (#314062)
609 * gtk/gtkhsv.c (paint_triangle): One more fix to prevent buffer
610 overruns. (#314081, Hans Breuer)
612 2005-08-20 Matthias Clasen <mclasen@redhat.com>
614 * gtk/gtkentry.c (gtk_entry_get_layout): Clarify that the
615 returned layout must not be modified.
617 Sat Aug 20 16:12:14 2005 Jonathan Blandford <jrb@redhat.com>
619 * gtk/gtktreeview.c (gtk_tree_view_set_model): clear
620 scroll_to_path if the model changes.
622 * gtk/gtkiconview.c: (gtk_icon_view_destroy),
623 (gtk_icon_view_size_allocate), (gtk_icon_view_set_cursor),
624 (gtk_icon_view_scroll_to_path): Handle scrolling to a path before
625 we're realized, #312798
626 (gtk_icon_view_set_model): clear scroll_to_path if the model
629 2005-08-20 Matthias Clasen <mclasen@redhat.com>
631 * gtk/gtkrange.c (gtk_range_adjustment_changed)
632 (gtk_range_adjustment_value_changed): Don't queue a draw
633 if the layout has not changed. (#313991, Benjamin Berg)
635 2005-08-19 Matthias Clasen <mclasen@redhat.com>
637 * gtk/gtktreeitem.c: Remove duplicate lines. (#313344,
640 * modules/engines/ms-windows/msw_style.c (setup_system_styles):
643 * gtk/gtkfilechooserbutton.c (change_icon_theme)
644 (model_add_special, model_add_special, model_add_volumes):
645 Handle pixbuf being NULL without warnings. Also, don't
646 leak pixbuf references when the icon theme is changed.
648 * gtk/gtkmain.c (gtk_get_event_widget): Don't access
649 the user data on destroyed windows, since at best
650 it can be a stale pointer. (#313953, Robin Green)
652 2005-08-19 Matthias Clasen <mclasen@redhat.com>
654 * gtk/gtkhsv.c (paint_triangle): Avoid a buffer overrun.
655 (#313900, Sebastien Bacher)
657 * gtk/gtktreeview.c (gtk_tree_view_get_visible_range): Return
658 FALSE if the tree is empty. (#313891, Guillaume Cottenceau)
660 * gdk/x11/gdkdnd-x11.c (_gdk_drag_get_protocol_for_display)
661 (xdnd_read_actions, get_client_window_at_coords_recurse):
662 Free data returned from XGetWindowProperty.
664 * gdk/x11/gdkevents-x11.c (fetch_net_wm_check_window)
665 Free data returned from XGetWindowProperty. (313867, Kjartan
668 * gdk/x11/gdkdnd-x11.c (get_client_window_at_coords_recurse): Free
669 children in all cases. (#313862, Kjartan Maraas)
671 * gtk/gtkicontheme.c (theme_lookup_icon): Store GtkIconData structs
672 in the per-directory hash, even if they come from the icon cache.
673 We tried to avoid that before, but as a result leaked icon data
674 structs. (#313852, Kjartan Maraas)
676 2005-08-18 Matthias Clasen <mclasen@redhat.com>
678 * gtk/gtkmenutoolbutton.c (gtk_menu_tool_button_destroy): Disconnect
679 signal handlers on destroy, not on finalize. (#313759, Brett Atoms)
681 2005-08-15 Owen Taylor <otaylor@redhat.com>
683 * configure.in: Add -lXext to GDK_EXTRA_LIBS in absence of pkg-config
684 files for x11/xext. (Jonas Bonn)
686 2005-08-15 Tor Lillqvist <tml@novell.com>
688 * gtk/gtkicontheme.c (theme_lookup_icon): Put debugging printout
691 2005-08-15 Owen Taylor <otaylor@redhat.com>
693 * configure.in: Fix have_base_pc / have_base_x_pc typo.
695 * gdk/x11/gdkdrawable-x11.c gtk/gtksettings.c: Remove panoxft.h includes.
696 (#313417, James Andrewartha)
698 * configure.in: Add fontconfig to X_PACKAGES, since we use it for
699 FcNameConstant(). (More of #313417)
701 2005-08-15 Matthias Clasen <mclasen@redhat.com>
703 * gtk/gtkfilechooserdefault.c: When using gtk_dialog_run() for
704 modal dialogs, make sure to inherit the window group from
705 the parent, since we don't inherit window groups across
706 transient parents currently. (#312918, Christian Persch)
708 * gtk/gtkmessagedialog.c (gtk_message_dialog_new):
709 * gtk/gtkdialog.c (gtk_dialog_run): Slight update to the docs.
711 * gtk/gtkiconview.c (gtk_icon_view_select_path)
712 (gtk_icon_view_scroll_to_path): Handle paths of depth 0
713 gracefully. (#312796, Jonathan Blandford)
715 * tests/testtoolbar.c: Add some more tests for menu placement.
717 * gtk/gtkmenutoolbutton.c (menu_position_func):
718 * gtk/gtktoolbar.c (menu_position_func): Improve positioning
719 of toolbutton menus and of the overflow menu. (#312937,
720 #153870, Christian Persch, Paolo Borelli)
722 2005-08-15 Tor Lillqvist <tml@novell.com>
724 * gtk/updateiconcache.c: Use g_path_get_dirname() instead of
725 the nonportable <libgen.h> and dirname().
727 2005-08-15 Matthias Clasen <mclasen@redhat.com>
729 * gtk/gtksizegroup.c: Use object data to mark widgets and
730 groups as visited, so that we avoid constant extra list
731 traversals. Also allocate quarks in class_init. (#311618,
734 * gtk/gtkicontheme.c (gtk_icon_theme_lookup_icon): Correct the
735 download location for the hicolor icon theme. (#313475, Olexiy
738 * gtk/gtkicontheme.c: Remove debug spew.
740 2005-08-15 Owen Taylor <otaylor@redhat.com>
742 * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_back_pixmap):
743 * gdk/win32/gdkwindow-win32.c (gdk_window_set_back_pixmap):
744 * gdk/x11/gdkwindow-x11.c (gdk_window_set_back_pixmap):
745 Handle pixmap == NULL when checking for a colormap.
748 2005-08-14 Matthias Clasen <mclasen@redhat.com>
750 * gtk/updateiconcache.c: Store only one copy of the pixel data
751 for symlinked icons. To achieve this, maintain a hashtable
752 mapping pathnames to pixel data, and share the pixel data for
753 all symlinks resolving to the same pathname. When writing out
754 the image data, write out the pixel data only the first time
755 it is met, and store the offset pointing to the first copy
756 for use in all later cases.
757 This reduces the size of the Bluecurve icon cache from 40