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