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