1 Wed Mar 20 22:59:23 2002 Kristian Rietveld <kris@gtk.org>
3 * gtk/gtkrbtree.[ch]: add _gtk_rbtree_set_fixed_height()
5 * gtk/gtktreeprivate.h: add fixed_height_check field
7 * gtk/gtktreeview.c (gtk_tree_view_init): initialize
8 scroll_sync_timer and fixed_height_check
9 (do_validate_rows): add fixed_height_check. If all validated rows
10 in the first cycle have the same height, then we set that height for
11 the entire tree. This is some sort of 'fake' optimization, but helps
12 a lot for the common case. We keep validating the entire tree in
13 the background though.
14 (gtk_tree_view_set_model): reset fixed_height_check
16 Wed Mar 20 16:36:08 2002 Owen Taylor <otaylor@redhat.com>
18 * gtk/*.c: Patch from Erwann Chenede, #73900 fixing
19 a lot of warnings with Forte CC, mostly implicit
20 casts between void * and function pointers.
22 * gdk/gdkevents.c (gdk_event_get_state): GdkEventVisibility's
23 state field is not a GdkModifierType. (Also #73900)
25 Wed Mar 20 12:35:22 2002 Owen Taylor <otaylor@redhat.com>
27 * gtk/gtkwidget.c (gtk_widget_grab_default): Remove
28 leftover notification of has-default. (#75508, Jacob
31 Wed Mar 20 12:27:07 2002 Owen Taylor <otaylor@redhat.com>
33 * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Allow
34 arrow keys as accelerators, as long as some modifier
37 * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Fix
38 incorrect example in the docs.
40 Wed Mar 20 12:06:30 2002 Owen Taylor <otaylor@redhat.com>
42 * gtk/gtkwidget.c (gtk_widget_set_child_visible):
43 Fix segfault when widget->parent is NULL.
44 (#75615, Alexey A. Malyshev)
46 Wed Mar 20 11:32:07 2002 Owen Taylor <otaylor@redhat.com>
48 * gtk/gtkentry.c: Improve test to prevent infinite
49 loop. (#74952, Thomas Leonard)
51 * gtk/gtkmenushell.c (gtk_real_menu_shell_cycle_focus):
52 Fix warning when toplevel menu shell isn't a menu
53 bar. (Thomas Leonard, #75602)
55 Wed Mar 20 11:00:59 2002 Owen Taylor <otaylor@redhat.com>
57 * configure.in: Use $PKG_CONFIG, not pkg-config.
60 Wed Mar 20 10:55:56 2002 Owen Taylor <otaylor@redhat.com>
62 * gdk/x11/gdkevents-x11.c (gdk_event_translate): Fix assignment
63 of time in scroll events. (Sven Neumann, #75574)
65 2002-03-20 Tor Lillqvist <tml@iki.fi>
67 * gdk/win32/gdkdnd-win32.c (gdk_drag_find_window): Use
68 gdk_window_get_toplevel(), as it is the top-level windows that are
71 * gdk/win32/gdkwin32.h: Don't include gdkinternals.h.
73 2002-03-19 jacob berkman <jacob@ximian.com>
75 * gtk/gtkcombo.c (gtk_combo_find): fix infinite loop when
76 gtk_combo_func() returns NULL (bug #75464)
78 2002-03-18 jacob berkman <jacob@ximian.com>
80 * gtk/gtkaspectframe.c (gtk_aspect_frame_class_init): set the
81 correct min/max values for the ratio property (fixes #75331)
83 Mon Mar 18 11:55:03 2002 Owen Taylor <otaylor@redhat.com>
85 * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave):
86 Patch from Yao Zhang fixing reference count leak.
88 * gtk/gtkentry.c (gtk_entry_key_release): if (entry->editable),
89 not if (!entry->editable).
91 Mon Mar 18 11:09:17 2002 Owen Taylor <otaylor@redhat.com>
93 * gdk/x11/gdkwindow-x11.c (gdk_window_set_override_redirect):
94 Fix backwards conditional. (#75019, Dan Winship.)
96 Sun Mar 17 01:11:16 2002 Kristian Rietveld <kris@gtk.org>
98 * gtk/gtktreeview.c (gtk_tree_view_size_request): use
99 do_validate_rows instead of validate_rows_handler (fix by
102 Sat Mar 16 23:54:56 2002 Kristian Rietveld <kris@gtk.org>
104 * gdk/x11/gdkwindow-x11.c (gdk_window_set_static_bit_gravity): just
105 return when we have an input_only window (fix by Owen Taylor)
107 * gtk/gtktreeprivate.h (struct _GtkTreeViewPrivate): add
110 * gtk/gtktreeview.c (install_scroll_sync_handler): new function,
111 (scroll_sync_handler): ditto,
112 (gtk_tree_view_unrealize): take scroll_sync_timer into account
113 (gtk_tree_view_row_deleted): install scroll_sync_timer instead of
114 calling top_row_to_dy/dy_to_top_row directly
115 -- this greatly speeds up clearing the model (#73199)
117 * gtk/gtktreemodelsort.c
118 (gtk_tree_model_sort_convert_path_to_child_path): fix up this function,
119 for some reason I really screwed it up (fixes #74663)
121 2002-03-16 Sven Neumann <sven@gimp.org>
123 * configure.in (GDK_PIXBUF_DEP_CFLAGS) (GDK_PIXBUF_XLIB_DEP_CFLAGS)
124 (GDK_DEP_CFLAGS) (GTK_DEP_CFLAGS): include CFLAGS from gthread-2.0
125 so that the libs work correctly in a threaded environment.
127 Fri Mar 15 12:51:42 2002 Jonathan Blandford <jrb@redhat.com>
129 * gtk/gtktreeviewcolumn.c
130 (gtk_tree_view_column_new_with_attributes): add example to docs,
131 as people are seeming to have trouble with this function.
133 2002-03-15 Tor Lillqvist <tml@iki.fi>
135 * configure.in: Set MATH_LIB to empty also on Win32.
137 Fri Mar 15 15:37:01 2002 Owen Taylor <otaylor@redhat.com>
139 * gdk/x11/gdkdrawable-x11.c (convert_to_format):
140 Fix byte shift arithmetic for big-endian. (Tracked
141 down with help from Tuomas Kuosmanen)
143 Fri Mar 15 11:28:41 2002 Jonathan Blandford <jrb@redhat.com>
145 * gtk/gtktreeview.c (gtk_tree_view_insert_column_with_data_func):
146 make args const, 74159
147 (gtk_tree_view_insert_column_with_attributes): ditto
149 * gtk/gtktreeviewcolumn.c
150 (gtk_tree_view_column_cell_process_action): remov unused variables.
152 Fri Mar 15 13:31:51 2002 Soeren Sandmann <sandmann@daimi.au.dk>
154 * gtk/gtkmenu.c (gtk_menu_leave_notify): Fix test for "active
157 2002-03-15 Padraig O'Briain <padraig.obriain@sun.com>
159 * gdk/x11/gdkkeys-x11.c (update_keymaps): Fudge keymap to have lower
160 upper case variants if there is only a single keysym per keycode and
161 the key symbol has upper and lower case variants (#74512)
163 Thu Mar 14 17:09:52 2002 Owen Taylor <otaylor@redhat.com>
165 * gdk/gdkwindow.c (gdk_window_process_all_updates): Fix rather
166 improbable reentrancy problem if a window is destroyed
167 while updates are being processed on another window. (Noticed
168 by Michael Meeks, #74708)
170 2002-03-14 Vitaly Tishkov <tvv@sparc.spb.su>
172 * gtk/gtktreemodelsort.c
173 typo in docs for gtk_tree_model_sort_convert_iter_to_child_iter() fixed
176 Thu Mar 14 11:17:18 2002 Owen Taylor <otaylor@redhat.com>
178 * gtk/gtkkeyhash.c (_gtk_key_hash_remove_entry): When
179 removing keys from the key hash, reinsert the right list
180 back into the hash. (Dave Camp, #74571)
182 Wed Mar 13 17:17:40 2002 Owen Taylor <otaylor@redhat.com>
184 * gtk/gtkobject.h: Remove left-over GTK_OBJECT_CONNECTED
185 macro that was defined in terms of the now-gone GTK_CONNECTED
186 flag. (Seth Burgess, #74028)
188 Wed Mar 13 17:11:10 2002 Owen Taylor <otaylor@redhat.com>
190 * gtk/gtkaccelgroup.c (accel_group_weak_ref_detach): Unset
191 the acceleratable_groups qdata because qdata isn't removed
192 on ->dispose but rather on ->finalize. (#74569, found
195 Tue Mar 12 23:14:23 2002 Jonathan Blandford <jrb@redhat.com>
197 * gtk/gtktreeselection.c (gtk_tree_selection_unselect_iter): Fix
200 Sat Mar 9 18:23:25 2002 Richard Hestilow <hestilow@ximian.com>
202 * gtk/gtkimage.c (gtk_image_set_from_filename): Allow NULL
205 Tue Mar 12 10:50:09 2002 Owen Taylor <otaylor@redhat.com>
207 * modules/input/gtkimcontextxim.c (gtk_im_context_xim_filter_keypress):
208 Fix incorrect return value, filter out returns of 0x7f for
209 the delete key. (#74179, Kang Jeong-He)
211 Mon Mar 11 23:42:11 2002 Jonathan Blandford <jrb@redhat.com>
213 * gtk/gtktreemodel.c (gtk_tree_model_foreach): fix totally broken
216 2002-03-11 Matthias Clasen <maclas@gmx.de>
218 * gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Document
219 gtk_{menu_item,widget}_set_accel_path() as the recommended API.
222 2002-03-11 James Henstridge <james@daa.com.au>
224 * configure.in: set CCAS and CCASFLAGS to get automake 1.6
225 compatibility without breaking things for people using 1.4.
227 Sun Mar 10 21:04:30 2002 Jonathan Blandford <jrb@redhat.com>
229 * gtk/gtktreeview.c (gtk_tree_view_button_press): finally get the
232 Mon Mar 11 01:25:14 2002 Kristian Rietveld <kris@gtk.org>
234 * gtk/gtktreeview.c (gtk_tree_view_button_press): compare path with
235 cursor path and not with the selected iter in the 'decide to edit'