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