]> Pileus Git - ~andy/gtk/blob - ChangeLog.pre-2-4
add more explanatory text to the error message about missing charsets, and
[~andy/gtk] / ChangeLog.pre-2-4
1 2002-03-22  Havoc Pennington  <hp@pobox.com>
2
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())
9
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
13
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
17
18         * gtk/gtkwindow.c (gtk_window_move_resize): enhance the #if 0
19         debug spew
20
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
24
25 2002-03-22  Richard Hult  <rhult@codefactory.se>
26
27         * gdk/gdkevents.c (gdk_event_get_root_coords): Fix typo, where x
28         value was assigned to both x and y.
29
30 Fri Mar 22 11:29:11 2002  Owen Taylor  <otaylor@redhat.com>
31
32         Partial fix for problem where keypad keys acted
33         as shift-arrows in an entry rather than arrows (#74327)
34
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. 
40
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.
46
47 Fri Mar 22 10:56:19 2002  Owen Taylor  <otaylor@redhat.com>
48
49         * gtk/gtkaccelmap.c (gtk_accel_map_save_fd): Fix memory
50         leak. (#74400, Morten Welinder.)
51
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
55         wrote a single byte.)
56         
57         * gdk/linux-fb/gdkmouse-fb.c gdk/linux-fb/gdkkeyboard-fb.c:
58         Robustify against short returns from write() calls.
59
60 Fri Mar 22 10:12:10 2002  Owen Taylor  <otaylor@redhat.com>
61
62         * gtk/gtktextview.c (gtk_text_view_paint): Change
63         G_BREAKPOINT() to g_assert_not_reached ().
64         (#75865, Ashok Venkiteswaran)
65         
66 2002-03-22  Tor Lillqvist  <tml@iki.fi>
67
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.
73
74 2002-03-21  Matthias Clasen  <maclas@gmx.de>
75
76         * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Trivial typo
77         fix. (Vitaly Tishkov, #75726)
78
79 Thu Mar 21 10:04:05 2002  Owen Taylor  <otaylor@redhat.com>
80
81         * gdk/gdkwindow.c (gdk_window_real_get_depth): Remove
82         some left over debugging code with a G_BREAKPOINT()
83         in it.
84
85 Wed Mar 20 19:33:31 2002  Owen Taylor  <otaylor@redhat.com>
86
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)
92
93         * gtk/gtkcalendar.c: Implement the focused/unfocused
94         selected color change.
95
96 2002-03-20  Alex Larsson  <alexl@redhat.com>
97
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.
101         
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.
105
106         * gdk/linux-fb/gdkmain-fb.c:
107         (gdk_pointer_grab_info_libgtk_only, gdk_keyboard_grab_info_libgtk_only):
108         Implement new functions.
109         
110 Wed Mar 20 19:00:03 2002  Owen Taylor  <otaylor@redhat.com>
111
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.)
116
117 Thu Mar 21 00:05:14 2002  Kristian Rietveld  <kris@gtk.org>
118
119         * gtk/gtktreeview.c (gtk_tree_view_get_background_area),
120         (gtk_tree_view_get_cell_area): fix logic (fixes #74235, #73593)
121
122 Wed Mar 20 17:11:51 2002  Owen Taylor  <otaylor@redhat.com>
123
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)
127
128 Wed Mar 20 22:59:23 2002  Kristian Rietveld  <kris@gtk.org>
129
130         * gtk/gtkrbtree.[ch]: add _gtk_rbtree_set_fixed_height()
131
132         * gtk/gtktreeprivate.h: add fixed_height_check field
133
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
142
143 Wed Mar 20 16:36:08 2002  Owen Taylor  <otaylor@redhat.com>
144
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.
148         
149         * gdk/gdkevents.c (gdk_event_get_state): GdkEventVisibility's
150         state field is not a GdkModifierType. (Also #73900)
151
152 Wed Mar 20 12:35:22 2002  Owen Taylor  <otaylor@redhat.com>
153
154         * gtk/gtkwidget.c (gtk_widget_grab_default): Remove
155         leftover notification of has-default. (#75508, Jacob
156         Berkman.)
157
158 Wed Mar 20 12:27:07 2002  Owen Taylor  <otaylor@redhat.com>
159
160         * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Allow
161         arrow keys as accelerators, as long as some modifier
162         is pressed. (#75495)
163
164         * gtk/gtkaccelgroup.c (gtk_accelerator_valid): Fix
165         incorrect example in the docs.
166
167 Wed Mar 20 12:06:30 2002  Owen Taylor  <otaylor@redhat.com>
168
169         * gtk/gtkwidget.c (gtk_widget_set_child_visible):
170         Fix segfault when widget->parent is NULL. 
171         (#75615, Alexey A. Malyshev) 
172
173 Wed Mar 20 11:32:07 2002  Owen Taylor  <otaylor@redhat.com>
174
175         * gtk/gtkentry.c: Improve test to prevent infinite
176         loop. (#74952, Thomas Leonard)
177
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)
181
182 Wed Mar 20 11:00:59 2002  Owen Taylor  <otaylor@redhat.com>
183
184         * configure.in: Use $PKG_CONFIG, not pkg-config.
185         (LEE Sau Dan, #75572)
186
187 Wed Mar 20 10:55:56 2002  Owen Taylor  <otaylor@redhat.com>
188
189         * gdk/x11/gdkevents-x11.c (gdk_event_translate): Fix assignment
190         of time in scroll events. (Sven Neumann, #75574)
191
192 2002-03-20  Tor Lillqvist  <tml@iki.fi>
193
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
196         registered for DND.
197
198         * gdk/win32/gdkwin32.h: Don't include gdkinternals.h.
199
200 2002-03-19  jacob berkman  <jacob@ximian.com>
201
202         * gtk/gtkcombo.c (gtk_combo_find): fix infinite loop when
203         gtk_combo_func() returns NULL (bug #75464)
204
205 2002-03-18  jacob berkman  <jacob@ximian.com>
206
207         * gtk/gtkaspectframe.c (gtk_aspect_frame_class_init): set the
208         correct min/max values for the ratio property (fixes #75331)
209
210 Mon Mar 18 11:55:03 2002  Owen Taylor  <otaylor@redhat.com>
211
212         * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave):
213         Patch from Yao Zhang fixing reference count leak.
214
215         * gtk/gtkentry.c (gtk_entry_key_release): if (entry->editable),
216         not if (!entry->editable).
217
218 Mon Mar 18 11:09:17 2002  Owen Taylor  <otaylor@redhat.com>
219
220         * gdk/x11/gdkwindow-x11.c (gdk_window_set_override_redirect): 
221         Fix backwards conditional. (#75019, Dan Winship.)
222
223 Sun Mar 17 01:11:16 2002  Kristian Rietveld  <kris@gtk.org>
224
225         * gtk/gtktreeview.c (gtk_tree_view_size_request): use
226         do_validate_rows instead of validate_rows_handler (fix by
227         Mike Pieper, #74126)
228
229 Sat Mar 16 23:54:56 2002  Kristian Rietveld  <kris@gtk.org>
230
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)
233
234         * gtk/gtktreeprivate.h (struct _GtkTreeViewPrivate): add
235         scroll_sync_timer
236
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)
243
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)
247
248 2002-03-16  Sven Neumann  <sven@gimp.org>
249
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.
253
254 Fri Mar 15 12:51:42 2002  Jonathan Blandford  <jrb@redhat.com>
255
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.
259
260 2002-03-15  Tor Lillqvist  <tml@iki.fi>
261
262         * configure.in: Set MATH_LIB to empty also on Win32.
263
264 Fri Mar 15 15:37:01 2002  Owen Taylor  <otaylor@redhat.com>
265
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)
269
270 Fri Mar 15 11:28:41 2002  Jonathan Blandford  <jrb@redhat.com>
271
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
275
276         * gtk/gtktreeviewcolumn.c
277         (gtk_tree_view_column_cell_process_action): remov unused variables.
278
279 Fri Mar 15 13:31:51 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
280
281         * gtk/gtkmenu.c (gtk_menu_leave_notify): Fix test for "active
282         submenu".
283
284 2002-03-15 Padraig O'Briain <padraig.obriain@sun.com>
285
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)
289
290 Thu Mar 14 17:09:52 2002  Owen Taylor  <otaylor@redhat.com>
291
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)
296
297 2002-03-14 Vitaly Tishkov <tvv@sparc.spb.su>
298
299         * gtk/gtktreemodelsort.c
300         typo in docs for gtk_tree_model_sort_convert_iter_to_child_iter() fixed
301
302
303 Thu Mar 14 11:17:18 2002  Owen Taylor  <otaylor@redhat.com>
304
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)
308
309 Wed Mar 13 17:17:40 2002  Owen Taylor  <otaylor@redhat.com>
310
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)
314
315 Wed Mar 13 17:11:10 2002  Owen Taylor  <otaylor@redhat.com>
316
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
320         by Matt Wilson.)
321
322 Tue Mar 12 23:14:23 2002  Jonathan Blandford  <jrb@redhat.com>
323
324         * gtk/gtktreeselection.c (gtk_tree_selection_unselect_iter): Fix
325         cut-n-paste bug.
326
327 Sat Mar  9 18:23:25 2002  Richard Hestilow  <hestilow@ximian.com>
328
329         * gtk/gtkimage.c (gtk_image_set_from_filename): Allow NULL
330         filenames.
331         
332 Tue Mar 12 10:50:09 2002  Owen Taylor  <otaylor@redhat.com>
333
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)
337
338 Mon Mar 11 23:42:11 2002  Jonathan Blandford  <jrb@redhat.com>
339
340         * gtk/gtktreemodel.c (gtk_tree_model_foreach): fix totally broken
341         foreach function.
342
343 2002-03-11  Matthias Clasen  <maclas@gmx.de>
344
345         * gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Document
346         gtk_{menu_item,widget}_set_accel_path() as the recommended API.  
347         (#69244)
348
349 2002-03-11  James Henstridge  <james@daa.com.au>
350
351         * configure.in: set CCAS and CCASFLAGS to get automake 1.6
352         compatibility without breaking things for people using 1.4.
353
354 Sun Mar 10 21:04:30 2002  Jonathan Blandford  <jrb@redhat.com>
355
356         * gtk/gtktreeview.c (gtk_tree_view_button_press): finally get the
357         right behavior.
358
359 Mon Mar 11 01:25:14 2002  Kristian Rietveld  <kris@gtk.org>
360
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'
363         check
364