1 2002-03-22 Havoc Pennington <hp@pobox.com>
3 * gdk/x11/gdkfont-x11.c (gdk_fontset_load): add more explanatory
4 text to the error message about missing charsets, and use
5 g_printerr() not g_warning() since this is typically not a
6 programming error (we do not export any API to ask whether
7 a font set will have missing charsets so apps realistically can't
8 do anything other than try the gdk_fontset_load())
10 * gtk/gtktextview.c (gtk_text_view_key_press_event): return FALSE
11 if the text view isn't editable and the user presses Return,
12 so default buttons and such can be activated, #74937
14 * gtk/gtktextbuffer.c (paste_from_buffer): don't insert
15 if the insertion point is not editable and the paste
16 is interactive, #74125
18 * gtk/gtkwindow.c (gtk_window_move_resize): enhance the #if 0
21 * gtk/gtktextbuffer.c (cut_or_copy): only remove the previous
22 cut/copied data right before replacing it, when we know we are
23 going to replace it. Fixes #74049
25 2002-03-22 Richard Hult <rhult@codefactory.se>
27 * gdk/gdkevents.c (gdk_event_get_root_coords): Fix typo, where x
28 value was assigned to both x and y.
30 Fri Mar 22 11:29:11 2002 Owen Taylor <otaylor@redhat.com>
32 Partial fix for problem where keypad keys acted
33 as shift-arrows in an entry rather than arrows (#74327)
35 * gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Sort lookup
36 results by number of modifiers in the entry. Fixes
37 problem where if a key matched both modified and unmodified
38 key bindings ... e.g., the distinguishing key binding
39 was consumed, then it was random which was used.
41 * gtk/gtkbindings.c (gtk_binding_entries_sort_patterns):
42 Catch the case where there are multiple entries from the
43 same bindingset (with different modifiers), and use only
44 the first entry, which, with the change in _gtk_key_hash_lookup()
45 will be the preferred value.
47 Fri Mar 22 10:56:19 2002 Owen Taylor <otaylor@redhat.com>
49 * gtk/gtkaccelmap.c (gtk_accel_map_save_fd): Fix memory
50 leak. (#74400, Morten Welinder.)
52 * gtk/gtkaccelmap.c: Properly handle short returns from
53 write() calls. (Handling EINTR isn't enough... that only
54 handles the case where you were interrupted before you
57 * gdk/linux-fb/gdkmouse-fb.c gdk/linux-fb/gdkkeyboard-fb.c:
58 Robustify against short returns from write() calls.
60 Fri Mar 22 10:12:10 2002 Owen Taylor <otaylor@redhat.com>
62 * gtk/gtktextview.c (gtk_text_view_paint): Change
63 G_BREAKPOINT() to g_assert_not_reached ().
64 (#75865, Ashok Venkiteswaran)
66 2002-03-22 Tor Lillqvist <tml@iki.fi>
68 * gdk/win32/gdkgc-win32.c (gdk_win32_gc_set_dashes): Don't clear
69 all of the pen_style, just the PS_STYLE_MASK. Seems to fix #74441,
70 but that is just the special case of one-pixel wide one-pixel
71 on-off dotted lines. To fully implement generic X11 style dashed
72 lines a major rewrite would be needed.
74 2002-03-21 Matthias Clasen <maclas@gmx.de>
76 * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Trivial typo
77 fix. (Vitaly Tishkov, #75726)
79 Thu Mar 21 10:04:05 2002 Owen Taylor <otaylor@redhat.com>
81 * gdk/gdkwindow.c (gdk_window_real_get_depth): Remove
82 some left over debugging code with a G_BREAKPOINT()
85 Wed Mar 20 19:33:31 2002 Owen Taylor <otaylor@redhat.com>
87 * gtk/gtkcalendar.c (gtk_calendar_main_button): When
88 changing months when the user clicks on a prev-month
89 or next-month day, focus and select the new day.
90 Ignore double clicks on prev-month, next-month days.
91 (Based on suggestions from Andras Salamon, #74173)
93 * gtk/gtkcalendar.c: Implement the focused/unfocused
94 selected color change.
96 2002-03-20 Alex Larsson <alexl@redhat.com>
98 Patches from Carlo E. Prelz <fluido@fluido.as>
99 Now gtkfb at least compiles and mostly works. The keyboard
100 stuff needs more loving.
102 * gdk/linux-fb/gdkkeyboard-fb.c (xlate_get_for_keyval,
103 xlate_get_for_keycode, raw_get_for_keyval, raw_get_for_keycode):
104 At least set the out parameters for these calls.
106 * gdk/linux-fb/gdkmain-fb.c:
107 (gdk_pointer_grab_info_libgtk_only, gdk_keyboard_grab_info_libgtk_only):
108 Implement new functions.
110 Wed Mar 20 19:00:03 2002 Owen Taylor <otaylor@redhat.com>
112 * gtk/gtkentry.c (gtk_entry_set_text): Short-circuit
113 the text to the exact same thing, so we don't
114 unexpectedly change the selection or cursor position.
115 (#74290, John Ellis.)
117 Thu Mar 21 00:05:14 2002 Kristian Rietveld <kris@gtk.org>
119 * gtk/gtktreeview.c (gtk_tree_view_get_background_area),
120 (gtk_tree_view_get_cell_area): fix logic (fixes #74235, #73593)
122 Wed Mar 20 17:11:51 2002 Owen Taylor <otaylor@redhat.com>
124 * gtk/gtkrc.c: Patch from Richard Hestilow to fix
125 gtk-font-name changes for widgets that get the actual
126 default style. (#73709)
128 Wed Mar 20 22:59:23 2002 Kristian Rietveld <kris@gtk.org>
130 * gtk/gtkrbtree.[ch]: add _gtk_rbtree_set_fixed_height()
132 * gtk/gtktreeprivate.h: add fixed_height_check field
134 * gtk/gtktreeview.c (gtk_tree_view_init): initialize
135 scroll_sync_timer and fixed_height_check
136 (do_validate_rows): add fixed_height_check. If all validated rows
137 in the first cycle have the same height, then we set that height for
138 the entire tree. This is some sort of 'fake' optimization, but helps
139 a lot for the common case. We keep validating the entire tree in
140 the background though.
141 (gtk_tree_view_set_model): reset fixed_height_check
143 Wed Mar 20 16:36:08 2002 Owen Taylor <otaylor@redhat.com>
145 * gtk/*.c: Patch from Erwann Chenede, #73900 fixing
146 a lot of warnings with Forte CC, mostly implicit
147 casts between void * and function pointers.
149 * gdk/gdkevents.c (gdk_event_get_state): GdkEventVisibility's
150 state field is not a GdkModifierType. (Also #73900)
152 Wed Mar 20 12:35:22 2002 Owen Taylor <otaylor@redhat.com>
154 * gtk/gtkwidget.c (gtk_widget_grab_default): Remove
155 leftover notification of has-default. (#75508, Jacob
158 Wed Mar 20 12:27:07 2002 Owen Taylor <otaylor@redhat.com>
160 * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Allow
161 arrow keys as accelerators, as long as some modifier
164 * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Fix
165 incorrect example in the docs.
167 Wed Mar 20 12:06:30 2002 Owen Taylor <otaylor@redhat.com>
169 * gtk/gtkwidget.c (gtk_widget_set_child_visible):
170 Fix segfault when widget->parent is NULL.
171 (#75615, Alexey A. Malyshev)
173 Wed Mar 20 11:32:07 2002 Owen Taylor <otaylor@redhat.com>
175 * gtk/gtkentry.c: Improve test to prevent infinite
176 loop. (#74952, Thomas Leonard)
178 * gtk/gtkmenushell.c (gtk_real_menu_shell_cycle_focus):
179 Fix warning when toplevel menu shell isn't a menu
180 bar. (Thomas Leonard, #75602)
182 Wed Mar 20 11:00:59 2002 Owen Taylor <otaylor@redhat.com>
184 * configure.in: Use $PKG_CONFIG, not pkg-config.
185 (LEE Sau Dan, #75572)
187 Wed Mar 20 10:55:56 2002 Owen Taylor <otaylor@redhat.com>
189 * gdk/x11/gdkevents-x11.c (gdk_event_translate): Fix assignment
190 of time in scroll events. (Sven Neumann, #75574)
192 2002-03-20 Tor Lillqvist <tml@iki.fi>
194 * gdk/win32/gdkdnd-win32.c (gdk_drag_find_window): Use
195 gdk_window_get_toplevel(), as it is the top-level windows that are
198 * gdk/win32/gdkwin32.h: Don't include gdkinternals.h.
200 2002-03-19 jacob berkman <jacob@ximian.com>
202 * gtk/gtkcombo.c (gtk_combo_find): fix infinite loop when
203 gtk_combo_func() returns NULL (bug #75464)
205 2002-03-18 jacob berkman <jacob@ximian.com>
207 * gtk/gtkaspectframe.c (gtk_aspect_frame_class_init): set the
208 correct min/max values for the ratio property (fixes #75331)
210 Mon Mar 18 11:55:03 2002 Owen Taylor <otaylor@redhat.com>
212 * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave):
213 Patch from Yao Zhang fixing reference count leak.
215 * gtk/gtkentry.c (gtk_entry_key_release): if (entry->editable),
216 not if (!entry->editable).
218 Mon Mar 18 11:09:17 2002 Owen Taylor <otaylor@redhat.com>
220 * gdk/x11/gdkwindow-x11.c (gdk_window_set_override_redirect):
221 Fix backwards conditional. (#75019, Dan Winship.)
223 Sun Mar 17 01:11:16 2002 Kristian Rietveld <kris@gtk.org>
225 * gtk/gtktreeview.c (gtk_tree_view_size_request): use
226 do_validate_rows instead of validate_rows_handler (fix by
229 Sat Mar 16 23:54:56 2002 Kristian Rietveld <kris@gtk.org>
231 * gdk/x11/gdkwindow-x11.c (gdk_window_set_static_bit_gravity): just
232 return when we have an input_only window (fix by Owen Taylor)
234 * gtk/gtktreeprivate.h (struct _GtkTreeViewPrivate): add
237 * gtk/gtktreeview.c (install_scroll_sync_handler): new function,
238 (scroll_sync_handler): ditto,
239 (gtk_tree_view_unrealize): take scroll_sync_timer into account
240 (gtk_tree_view_row_deleted): install scroll_sync_timer instead of
241 calling top_row_to_dy/dy_to_top_row directly
242 -- this greatly speeds up clearing the model (#73199)
244 * gtk/gtktreemodelsort.c
245 (gtk_tree_model_sort_convert_path_to_child_path): fix up this function,
246 for some reason I really screwed it up (fixes #74663)
248 2002-03-16 Sven Neumann <sven@gimp.org>
250 * configure.in (GDK_PIXBUF_DEP_CFLAGS) (GDK_PIXBUF_XLIB_DEP_CFLAGS)
251 (GDK_DEP_CFLAGS) (GTK_DEP_CFLAGS): include CFLAGS from gthread-2.0
252 so that the libs work correctly in a threaded environment.
254 Fri Mar 15 12:51:42 2002 Jonathan Blandford <jrb@redhat.com>
256 * gtk/gtktreeviewcolumn.c
257 (gtk_tree_view_column_new_with_attributes): add example to docs,
258 as people are seeming to have trouble with this function.
260 2002-03-15 Tor Lillqvist <tml@iki.fi>
262 * configure.in: Set MATH_LIB to empty also on Win32.
264 Fri Mar 15 15:37:01 2002 Owen Taylor <otaylor@redhat.com>
266 * gdk/x11/gdkdrawable-x11.c (convert_to_format):
267 Fix byte shift arithmetic for big-endian. (Tracked
268 down with help from Tuomas Kuosmanen)
270 Fri Mar 15 11:28:41 2002 Jonathan Blandford <jrb@redhat.com>
272 * gtk/gtktreeview.c (gtk_tree_view_insert_column_with_data_func):
273 make args const, 74159
274 (gtk_tree_view_insert_column_with_attributes): ditto
276 * gtk/gtktreeviewcolumn.c
277 (gtk_tree_view_column_cell_process_action): remov unused variables.
279 Fri Mar 15 13:31:51 2002 Soeren Sandmann <sandmann@daimi.au.dk>
281 * gtk/gtkmenu.c (gtk_menu_leave_notify): Fix test for "active
284 2002-03-15 Padraig O'Briain <padraig.obriain@sun.com>
286 * gdk/x11/gdkkeys-x11.c (update_keymaps): Fudge keymap to have lower
287 upper case variants if there is only a single keysym per keycode and
288 the key symbol has upper and lower case variants (#74512)
290 Thu Mar 14 17:09:52 2002 Owen Taylor <otaylor@redhat.com>
292 * gdk/gdkwindow.c (gdk_window_process_all_updates): Fix rather
293 improbable reentrancy problem if a window is destroyed
294 while updates are being processed on another window. (Noticed
295 by Michael Meeks, #74708)
297 2002-03-14 Vitaly Tishkov <tvv@sparc.spb.su>
299 * gtk/gtktreemodelsort.c
300 typo in docs for gtk_tree_model_sort_convert_iter_to_child_iter() fixed
303 Thu Mar 14 11:17:18 2002 Owen Taylor <otaylor@redhat.com>
305 * gtk/gtkkeyhash.c (_gtk_key_hash_remove_entry): When
306 removing keys from the key hash, reinsert the right list
307 back into the hash. (Dave Camp, #74571)
309 Wed Mar 13 17:17:40 2002 Owen Taylor <otaylor@redhat.com>
311 * gtk/gtkobject.h: Remove left-over GTK_OBJECT_CONNECTED
312 macro that was defined in terms of the now-gone GTK_CONNECTED
313 flag. (Seth Burgess, #74028)
315 Wed Mar 13 17:11:10 2002 Owen Taylor <otaylor@redhat.com>
317 * gtk/gtkaccelgroup.c (accel_group_weak_ref_detach): Unset
318 the acceleratable_groups qdata because qdata isn't removed
319 on ->dispose but rather on ->finalize. (#74569, found
322 Tue Mar 12 23:14:23 2002 Jonathan Blandford <jrb@redhat.com>
324 * gtk/gtktreeselection.c (gtk_tree_selection_unselect_iter): Fix
327 Sat Mar 9 18:23:25 2002 Richard Hestilow <hestilow@ximian.com>
329 * gtk/gtkimage.c (gtk_image_set_from_filename): Allow NULL
332 Tue Mar 12 10:50:09 2002 Owen Taylor <otaylor@redhat.com>
334 * modules/input/gtkimcontextxim.c (gtk_im_context_xim_filter_keypress):
335 Fix incorrect return value, filter out returns of 0x7f for
336 the delete key. (#74179, Kang Jeong-He)
338 Mon Mar 11 23:42:11 2002 Jonathan Blandford <jrb@redhat.com>
340 * gtk/gtktreemodel.c (gtk_tree_model_foreach): fix totally broken
343 2002-03-11 Matthias Clasen <maclas@gmx.de>
345 * gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Document
346 gtk_{menu_item,widget}_set_accel_path() as the recommended API.
349 2002-03-11 James Henstridge <james@daa.com.au>
351 * configure.in: set CCAS and CCASFLAGS to get automake 1.6
352 compatibility without breaking things for people using 1.4.
354 Sun Mar 10 21:04:30 2002 Jonathan Blandford <jrb@redhat.com>
356 * gtk/gtktreeview.c (gtk_tree_view_button_press): finally get the
359 Mon Mar 11 01:25:14 2002 Kristian Rietveld <kris@gtk.org>
361 * gtk/gtktreeview.c (gtk_tree_view_button_press): compare path with
362 cursor path and not with the selected iter in the 'decide to edit'