1 Fri Mar 22 10:12:10 2002 Owen Taylor <otaylor@redhat.com>
3 * gtk/gtktextview.c (gtk_text_view_paint): Change
4 G_BREAKPOINT() to g_assert_not_reached ().
5 (#75865, Ashok Venkiteswaran)
7 2002-03-22 Tor Lillqvist <tml@iki.fi>
9 * gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Don't clear
10 all of the pen_style, just the PS_STYLE_MASK. Seems to fix #74441,
11 but that is just the special case of one-pixel wide one-pixel
12 on-off dotted lines. To fully implement generic X11 style dashed
13 lines a major rewrite would be needed.
15 2002-03-21 Matthias Clasen <maclas@gmx.de>
17 * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Trivial typo
18 fix. (Vitaly Tishkov, #75726)
20 Thu Mar 21 10:04:05 2002 Owen Taylor <otaylor@redhat.com>
22 * gdk/gdkwindow.c (gdk_window_real_get_depth): Remove
23 some left over debugging code with a G_BREAKPOINT()
26 Wed Mar 20 19:33:31 2002 Owen Taylor <otaylor@redhat.com>
28 * gtk/gtkcalendar.c (gtk_calendar_main_button): When
29 changing months when the user clicks on a prev-month
30 or next-month day, focus and select the new day.
31 Ignore double clicks on prev-month, next-month days.
32 (Based on suggestions from Andras Salamon, #74173)
34 * gtk/gtkcalendar.c: Implement the focused/unfocused
35 selected color change.
37 2002-03-20 Alex Larsson <alexl@redhat.com>
39 Patches from Carlo E. Prelz <fluido@fluido.as>
40 Now gtkfb at least compiles and mostly works. The keyboard
41 stuff needs more loving.
43 * gdk/linux-fb/gdkkeyboard-fb.c (xlate_get_for_keyval,
44 xlate_get_for_keycode, raw_get_for_keyval, raw_get_for_keycode):
45 At least set the out parameters for these calls.
47 * gdk/linux-fb/gdkmain-fb.c:
48 (gdk_pointer_grab_info_libgtk_only, gdk_keyboard_grab_info_libgtk_only):
49 Implement new functions.
51 Wed Mar 20 19:00:03 2002 Owen Taylor <otaylor@redhat.com>
53 * gtk/gtkentry.c (gtk_entry_set_text): Short-circuit
54 the text to the exact same thing, so we don't
55 unexpectedly change the selection or cursor position.
58 Thu Mar 21 00:05:14 2002 Kristian Rietveld <kris@gtk.org>
60 * gtk/gtktreeview.c (gtk_tree_view_get_background_area),
61 (gtk_tree_view_get_cell_area): fix logic (fixes #74235, #73593)
63 Wed Mar 20 17:11:51 2002 Owen Taylor <otaylor@redhat.com>
65 * gtk/gtkrc.c: Patch from Richard Hestilow to fix
66 gtk-font-name changes for widgets that get the actual
67 default style. (#73709)
69 Wed Mar 20 22:59:23 2002 Kristian Rietveld <kris@gtk.org>
71 * gtk/gtkrbtree.[ch]: add _gtk_rbtree_set_fixed_height()
73 * gtk/gtktreeprivate.h: add fixed_height_check field
75 * gtk/gtktreeview.c (gtk_tree_view_init): initialize
76 scroll_sync_timer and fixed_height_check
77 (do_validate_rows): add fixed_height_check. If all validated rows
78 in the first cycle have the same height, then we set that height for
79 the entire tree. This is some sort of 'fake' optimization, but helps
80 a lot for the common case. We keep validating the entire tree in
81 the background though.
82 (gtk_tree_view_set_model): reset fixed_height_check
84 Wed Mar 20 16:36:08 2002 Owen Taylor <otaylor@redhat.com>
86 * gtk/*.c: Patch from Erwann Chenede, #73900 fixing
87 a lot of warnings with Forte CC, mostly implicit
88 casts between void * and function pointers.
90 * gdk/gdkevents.c (gdk_event_get_state): GdkEventVisibility's
91 state field is not a GdkModifierType. (Also #73900)
93 Wed Mar 20 12:35:22 2002 Owen Taylor <otaylor@redhat.com>
95 * gtk/gtkwidget.c (gtk_widget_grab_default): Remove
96 leftover notification of has-default. (#75508, Jacob
99 Wed Mar 20 12:27:07 2002 Owen Taylor <otaylor@redhat.com>
101 * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Allow
102 arrow keys as accelerators, as long as some modifier
105 * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Fix
106 incorrect example in the docs.
108 Wed Mar 20 12:06:30 2002 Owen Taylor <otaylor@redhat.com>
110 * gtk/gtkwidget.c (gtk_widget_set_child_visible):
111 Fix segfault when widget->parent is NULL.
112 (#75615, Alexey A. Malyshev)
114 Wed Mar 20 11:32:07 2002 Owen Taylor <otaylor@redhat.com>
116 * gtk/gtkentry.c: Improve test to prevent infinite
117 loop. (#74952, Thomas Leonard)
119 * gtk/gtkmenushell.c (gtk_real_menu_shell_cycle_focus):
120 Fix warning when toplevel menu shell isn't a menu
121 bar. (Thomas Leonard, #75602)
123 Wed Mar 20 11:00:59 2002 Owen Taylor <otaylor@redhat.com>
125 * configure.in: Use $PKG_CONFIG, not pkg-config.
126 (LEE Sau Dan, #75572)
128 Wed Mar 20 10:55:56 2002 Owen Taylor <otaylor@redhat.com>
130 * gdk/x11/gdkevents-x11.c (gdk_event_translate): Fix assignment
131 of time in scroll events. (Sven Neumann, #75574)
133 2002-03-20 Tor Lillqvist <tml@iki.fi>
135 * gdk/win32/gdkdnd-win32.c (gdk_drag_find_window): Use
136 gdk_window_get_toplevel(), as it is the top-level windows that are
139 * gdk/win32/gdkwin32.h: Don't include gdkinternals.h.
141 2002-03-19 jacob berkman <jacob@ximian.com>
143 * gtk/gtkcombo.c (gtk_combo_find): fix infinite loop when
144 gtk_combo_func() returns NULL (bug #75464)
146 2002-03-18 jacob berkman <jacob@ximian.com>
148 * gtk/gtkaspectframe.c (gtk_aspect_frame_class_init): set the
149 correct min/max values for the ratio property (fixes #75331)
151 Mon Mar 18 11:55:03 2002 Owen Taylor <otaylor@redhat.com>
153 * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave):
154 Patch from Yao Zhang fixing reference count leak.
156 * gtk/gtkentry.c (gtk_entry_key_release): if (entry->editable),
157 not if (!entry->editable).
159 Mon Mar 18 11:09:17 2002 Owen Taylor <otaylor@redhat.com>
161 * gdk/x11/gdkwindow-x11.c (gdk_window_set_override_redirect):
162 Fix backwards conditional. (#75019, Dan Winship.)
164 Sun Mar 17 01:11:16 2002 Kristian Rietveld <kris@gtk.org>
166 * gtk/gtktreeview.c (gtk_tree_view_size_request): use
167 do_validate_rows instead of validate_rows_handler (fix by
170 Sat Mar 16 23:54:56 2002 Kristian Rietveld <kris@gtk.org>
172 * gdk/x11/gdkwindow-x11.c (gdk_window_set_static_bit_gravity): just
173 return when we have an input_only window (fix by Owen Taylor)
175 * gtk/gtktreeprivate.h (struct _GtkTreeViewPrivate): add
178 * gtk/gtktreeview.c (install_scroll_sync_handler): new function,
179 (scroll_sync_handler): ditto,
180 (gtk_tree_view_unrealize): take scroll_sync_timer into account
181 (gtk_tree_view_row_deleted): install scroll_sync_timer instead of
182 calling top_row_to_dy/dy_to_top_row directly
183 -- this greatly speeds up clearing the model (#73199)
185 * gtk/gtktreemodelsort.c
186 (gtk_tree_model_sort_convert_path_to_child_path): fix up this function,
187 for some reason I really screwed it up (fixes #74663)
189 2002-03-16 Sven Neumann <sven@gimp.org>
191 * configure.in (GDK_PIXBUF_DEP_CFLAGS) (GDK_PIXBUF_XLIB_DEP_CFLAGS)
192 (GDK_DEP_CFLAGS) (GTK_DEP_CFLAGS): include CFLAGS from gthread-2.0
193 so that the libs work correctly in a threaded environment.
195 Fri Mar 15 12:51:42 2002 Jonathan Blandford <jrb@redhat.com>
197 * gtk/gtktreeviewcolumn.c
198 (gtk_tree_view_column_new_with_attributes): add example to docs,
199 as people are seeming to have trouble with this function.
201 2002-03-15 Tor Lillqvist <tml@iki.fi>
203 * configure.in: Set MATH_LIB to empty also on Win32.
205 Fri Mar 15 15:37:01 2002 Owen Taylor <otaylor@redhat.com>
207 * gdk/x11/gdkdrawable-x11.c (convert_to_format):
208 Fix byte shift arithmetic for big-endian. (Tracked
209 down with help from Tuomas Kuosmanen)
211 Fri Mar 15 11:28:41 2002 Jonathan Blandford <jrb@redhat.com>
213 * gtk/gtktreeview.c (gtk_tree_view_insert_column_with_data_func):
214 make args const, 74159
215 (gtk_tree_view_insert_column_with_attributes): ditto
217 * gtk/gtktreeviewcolumn.c
218 (gtk_tree_view_column_cell_process_action): remov unused variables.
220 Fri Mar 15 13:31:51 2002 Soeren Sandmann <sandmann@daimi.au.dk>
222 * gtk/gtkmenu.c (gtk_menu_leave_notify): Fix test for "active
225 2002-03-15 Padraig O'Briain <padraig.obriain@sun.com>
227 * gdk/x11/gdkkeys-x11.c (update_keymaps): Fudge keymap to have lower
228 upper case variants if there is only a single keysym per keycode and
229 the key symbol has upper and lower case variants (#74512)
231 Thu Mar 14 17:09:52 2002 Owen Taylor <otaylor@redhat.com>
233 * gdk/gdkwindow.c (gdk_window_process_all_updates): Fix rather
234 improbable reentrancy problem if a window is destroyed
235 while updates are being processed on another window. (Noticed
236 by Michael Meeks, #74708)
238 2002-03-14 Vitaly Tishkov <tvv@sparc.spb.su>
240 * gtk/gtktreemodelsort.c
241 typo in docs for gtk_tree_model_sort_convert_iter_to_child_iter() fixed
244 Thu Mar 14 11:17:18 2002 Owen Taylor <otaylor@redhat.com>
246 * gtk/gtkkeyhash.c (_gtk_key_hash_remove_entry): When
247 removing keys from the key hash, reinsert the right list
248 back into the hash. (Dave Camp, #74571)
250 Wed Mar 13 17:17:40 2002 Owen Taylor <otaylor@redhat.com>
252 * gtk/gtkobject.h: Remove left-over GTK_OBJECT_CONNECTED
253 macro that was defined in terms of the now-gone GTK_CONNECTED
254 flag. (Seth Burgess, #74028)
256 Wed Mar 13 17:11:10 2002 Owen Taylor <otaylor@redhat.com>
258 * gtk/gtkaccelgroup.c (accel_group_weak_ref_detach): Unset
259 the acceleratable_groups qdata because qdata isn't removed
260 on ->dispose but rather on ->finalize. (#74569, found
263 Tue Mar 12 23:14:23 2002 Jonathan Blandford <jrb@redhat.com>
265 * gtk/gtktreeselection.c (gtk_tree_selection_unselect_iter): Fix
268 Sat Mar 9 18:23:25 2002 Richard Hestilow <hestilow@ximian.com>
270 * gtk/gtkimage.c (gtk_image_set_from_filename): Allow NULL
273 Tue Mar 12 10:50:09 2002 Owen Taylor <otaylor@redhat.com>
275 * modules/input/gtkimcontextxim.c (gtk_im_context_xim_filter_keypress):
276 Fix incorrect return value, filter out returns of 0x7f for
277 the delete key. (#74179, Kang Jeong-He)
279 Mon Mar 11 23:42:11 2002 Jonathan Blandford <jrb@redhat.com>
281 * gtk/gtktreemodel.c (gtk_tree_model_foreach): fix totally broken
284 2002-03-11 Matthias Clasen <maclas@gmx.de>
286 * gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Document
287 gtk_{menu_item,widget}_set_accel_path() as the recommended API.
290 2002-03-11 James Henstridge <james@daa.com.au>
292 * configure.in: set CCAS and CCASFLAGS to get automake 1.6
293 compatibility without breaking things for people using 1.4.
295 Sun Mar 10 21:04:30 2002 Jonathan Blandford <jrb@redhat.com>
297 * gtk/gtktreeview.c (gtk_tree_view_button_press): finally get the
300 Mon Mar 11 01:25:14 2002 Kristian Rietveld <kris@gtk.org>
302 * gtk/gtktreeview.c (gtk_tree_view_button_press): compare path with
303 cursor path and not with the selected iter in the 'decide to edit'