]> Pileus Git - ~andy/gtk/blob - ChangeLog
Flush after ungrabbing the server.
[~andy/gtk] / ChangeLog
1 Mon Apr  7 19:43:15 2003  Owen Taylor  <otaylor@redhat.com>
2
3         * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_ungrab): Flush
4         after ungrabbing the server.
5  
6         * gdk/x11/gdkimage-x11.c: Remove some no-longer-needed
7         calls to XFlush().
8
9         * gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_at_pointer):
10         Use gdk_x11_display_grab/ungrab.
11  
12 2003-04-07  Matthias Clasen  <maclas@gmx.de>
13
14         * gtk/gtktextlayout.c (set_para_values): 
15         * gtk/gtkenums.h (GtkWrapMode): Add GTK_WRAP_WORD_CHAR.  (#110086,
16         David Brigada)
17
18         * gtk/gtkcelleditable.c, gtk/gtkfixed.c, gtk/gtktreemodel.c,
19         gtk/gtktreeselection.c, gtk/gtktreeview.c: Fix numerous
20         misspellings of possessive "its".  (#110027, Doug Quale)
21
22 2003-04-03  Matthias Clasen  <maclas@gmx.de>
23
24         * demos/gtk-demo/main.c (demo_find_file): Only use files from the
25         current directory if it looks like the srcdir.  (#109357)
26
27 Wed Apr  2 23:02:26 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
28
29         * gtk/gtkbutton.[ch] (gtk_button_class_init): add property
30         focus_on_click
31
32         * gtk/gtkwindow.c (gtk_window_focus): make arrow keyboard
33         navigation not wrap around.
34
35 2003-04-02  Matthias Clasen  <maclas@gmx.de>
36
37         * gtk/gtkprogress.c (gtk_progress_get_percentage_from_value):
38         Return 0 if lower == upper.  (#109155)
39         (gtk_progress_get_current_percentage): Use
40         gtk_progress_get_percentage_from_value().
41
42 2003-04-01  Matthias Clasen  <maclas@gmx.de>
43
44         * gtk/gtkimcontext.c (gtk_im_context_focus_in): Fix docs.
45         (#109510, Noah Levitt)
46
47 Mon Mar 31 13:52:13 2003  Jonathan Blandford  <jrb@redhat.com>
48
49         * gtk/gtkrbtree.c (_gtk_rbtree_reorder): null initialize reorder's
50         members so Purify won't complain.
51
52         * gtk/gtkliststore.c (gtk_list_store_sort): ditto.
53
54 2003-03-31  Matthias Clasen  <maclas@gmx.de>
55
56         * gtk/gtkwindow.c: Add a new property, role, corresponding to 
57         gtk_window_[gs]et_role().  (#93904)
58
59 Sun Mar 30 03:57:42 2003  Jonathan Blandford  <jrb@gnome.org>
60
61         * gtk/gtktreeselection.c (gtk_tree_selection_get_selected_rows):
62         fix crash.  Patch from Markus Lausser <sgop@users.sourceforge.net>
63
64 2003-03-29  Matthias Clasen  <maclas@gmx.de>
65
66         * gtk/gtkoptionmenu.c (gtk_option_menu_remove_contents): Set state
67         of labels back to normal before reparenting back.  (#102387)
68
69         * gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init): Set
70         a default window title to match the GtkFontSelectionDialog behavior.
71  
72         (gtk_color_selection_dialog_new): Don't call
73         gtk_window_set_title() if title is NULL.  (bug #101975, Daniel Elstner)
74
75 2003-03-29  Matthias Clasen  <maclas@gmx.de>
76
77         Fix for bug #78499:
78         
79         * gtk/gtkentry.h (struct _GtkEntry): Add flags select_words and
80         select_lines. 
81
82         * gtk/gtkentry.c (gtk_entry_button_press): Set select_words and
83         select_lines on double/triple click.
84
85         * gtk/gtkentry.c (gtk_entry_motion_notify): Implement
86         select-by-words and select-by-lines behaviour.
87
88         Fixes for bug #56248:
89         
90         * gtk/gtknotebook.c (stop_scrolling): New function to remove the
91         timer and queue a redraw. 
92         (gtk_notebook_grab_notify): 
93         (gtk_notebook_state_changed): New functions to call stop_scrolling() 
94         if necessary.   
95         (gtk_notebook_button_release): Use stop_scrolling().
96         (gtk_notebook_draw_arrow): Fix drawing of insensitive arrows.
97
98         * gtk/gtkrange.c (stop_scrolling): New function to remove the
99         grab, remove the timer and queue a redraw.
100         (gtk_range_grab_notify): 
101         (gtk_range_state_changed): New functions to call stop_scrolling() 
102         if necessary.   
103         (gtk_range_button_release): Use stop_scrolling().
104
105         * gtk/gtkspinbutton.c (gtk_spin_button_grab_notify): 
106         (gtk_spin_button_state_changed): Redraw after stop_spinning.
107         (gtk_spin_button_stop_spinning): Reset click_child to correct the
108         drawing of the arrows.
109         (gtk_spin_button_button_release): Use a local copy of click_child,
110         since stop_spinning() resets it.
111
112         * gtk/gtknotebook.c (gtk_notebook_class_init): Add C-A-PgUp and
113         C-A-PgDown as alternatives to the A-less variants. (This slipped
114         in accidentally some time ago).  (#97860)
115
116 2003-03-26  Sven Neumann  <sven@gimp.org>
117
118         * gtk/gtktreeview.c: rewrote the function that does node and arrow
119         prelighting, queue all redraws from here (Fixes bug #108792).
120
121 2003-03-20  Richard Kinder <r_kinder@yahoo.com>
122
123         * demos/testpixbuf.c (update_timeout): set error to NULL, not FALSE.
124         Fixes bug #108778.
125
126 2003-03-20  Guntupalli Karunakar <karunakar@freedomink.org>
127
128         * configure.in: Added "ml" in ALL_LINGUAS
129
130 Sat Mar 15 18:49:27 2003  Manish Singh  <yosh@gimp.org>
131
132         * gtk/gtkradiomenuitem.h: use GTK_DISABLE_DEPRECATED instead of
133         G_DISABLE_DEPRECATED.
134
135 2003-03-14  Tor Lillqvist  <tml@iki.fi>
136
137         * gdk/win32/gdkevents-win32.c: Use the signed GET_X_LPARAM() and
138         GET_Y_LPARAM() to extract x and y coordinates from an LPARAM or
139         DWORD, and not the unsigned HIWORD() and LOWORD(). Systems with
140         multiple monitors can have negative coordinates on some of the
141         monitors. (partial fix for #99496, Arnaud Charlet)
142
143 2003-03-15  Matthias Clasen  <maclas@gmx.de>
144
145         * gtk/gtktextview.c: Add a "buffer" property.  (#108353) 
146
147 2003-03-13  Sven Neumann  <sven@gimp.org>
148
149         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
150         removed redundant calls to g_object_notify().
151         (gtk_cell_renderer_pixbuf_get_size): removed redundant casts, see
152         bug #108236.
153
154         * gtk/gtktextiter.c (_gtk_text_iter_get_segment_char)
155         (_gtk_text_iter_get_segment_byte): return 0, not NULL (these
156         functions return an integer value).
157
158 2003-03-13  Tor Lillqvist  <tml@iki.fi>
159
160         * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
161         WM_MOUSEMOVE, the test whether we have actually moved (and thus
162         shouldn't generate an GDK event) moved after the call to
163         propagate() and translate_mouse_coords(). Otherwise we were
164         testing wrong values. (#108115, Allin Cottrell)
165         (gdk_event_translate): On WM_?BUTTONUP, set current_{x,y} the same
166         way as in WM_?BUTTONDOWN and WM_MOUSEMOVE.
167
168         * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): if a grab cursor
169         is used, must copy the HCURSOR with CopyCursor(), as it is OK to
170         destroy the GdkCursor after calling gdk_pointer_grab(). Set the
171         cursor right away with SetCursor(), as we won't get any
172         WM_SETCURSOR messages while the mouse is captured. 
173         (gdk_display_pointer_ungrab): Correspondingly, destroy the copy
174         with DestroyCursor() when no longer used. (#108114, Allin Cottrell)
175
176         * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
177         WM_SYSCHAR, return FALSE from the window procedure to prevent the
178         DefWindowProc from being called. Otherwise Windows would beep,
179         thinking you are tring to access a (nonexistent) menu when you
180         press Alt-something. Don't do this for Alt-Space,
181         though. (#107454, Martyn Russell)
182
183         * gdk/win32/gdkcursor-win32.c: Minor spacing and debug print fixes.
184
185 Tue Mar 11 12:01:07 2003  Jonathan Blandford  <jrb@gnome.org>
186
187         * gtk/gtktreeview.c (gtk_tree_view_class_init): Ctrl/Shift
188         [left/right] expands/collapses the tree, #108092
189
190 2003-03-09  Tor Lillqvist  <tml@iki.fi>
191
192         * gdk/win32/gdkdrawable-win32.c (draw_segments): Don't try to
193         compensate for LineTo() not drawing the end pixel. It causes more
194         harm than benefits, see bug #81895.
195
196 2003-03-08  Matthias Clasen  <maclas@gmx.de>
197
198         Bug #107664 continued:
199
200         * gdk/x11/gdkinputprivate.h: 
201         * gdk/x11/gdkinput-none.c (_gdk_input_window_none_event): Remove. 
202         (_gdk_input_other_event): Return gboolean.
203         * gdk/x11/gdkinput-xfree.c (_gdk_input_window_none_event): Remove. 
204         (_gdk_input_other_event): Return gboolean.
205         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event): Return gboolean.
206
207         * gdk/x11/gdkevents-x11.c (gdk_event_translate): Make return_val
208         gboolean, remove pointless call to _gdk_input_window_none_event.
209
210         * gdk/win32/gdkinput-win32.[hc] (_gdk_input_other_event): Return gboolean.
211         (_gdk_input_window_none_event): Remove.
212
213         * gtk/gtktextiter.c (_gtk_text_iter_get_indexable_segment): 
214         (_gtk_text_iter_get_any_segment): 
215         (_gtk_text_iter_get_segment_byte): 
216         (_gtk_text_iter_get_segment_char): 
217         (_gtk_text_iter_get_text_line): 
218         (_gtk_text_iter_get_btree): Fix 0/NULL confusion.
219         * gdk/x11/gdkdnd-x11.c (motif_target_table_check): Return gint.
220         * gdk/win32/gdkfont-win32.c (gdk_font_equal): 
221         * gdk/linux-fb/gdkwindow-fb.c (gdk_window_get_deskrelative_origin): 
222         (gdk_window_get_origin): 
223         * gdk/linux-fb/gdkcolor-fb.c (gdk_colors_alloc): Fix 0/FALSE confusion. 
224
225 2003-03-06  Matthias Clasen  <maclas@gmx.de>
226
227         * gdk/gdkrgb.c (gdk_rgb_try_colormap): Return gboolean, not gint.
228         (#107664, Morten Welinder)
229
230         * gdk/x11/gdkwindow-x11.c (gdk_window_get_deskrelative_origin): 
231         * gdk/x11/gdkfont-x11.c (gdk_font_equal): 
232         * gdk/x11/gdkdnd-x11.c (gdk_drag_get_protocol_for_display): 
233         Fix TRUE/1 and FALSE/0 confusion.  (#107664, Morten Welinder)
234
235         * gtk/gtktextmark.c (gtk_text_mark_get_buffer): 
236         * gtk/gtkeditable.c (gtk_editable_get_chars): 
237         * gtk/gtkctree.c (gtk_ctree_find_node_ptr): 
238         * demos/gtk-demo/main.c (demo_find_file): Fix NULL/FALSE confusion
239         (#107648, Morten Welinder)Fix NULL/FALSE confusion
240         (#107648, Morten Welinder)
241
242 2003-03-04  Matthias Clasen  <maclas@gmx.de>
243
244         * gtk/gtkobject.h: Add deprecation guards for gtk_object_new ().
245
246 Sun Mar  2 23:35:57 2003  Jonathan Blandford  <jrb@gnome.org>
247
248         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
249         handle rtl code.  Thanks to Matthias Clasen for an initial patch
250         to handle the RTL code.
251
252         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size): ditto
253
254         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto
255
256         * gtk/gtktreeview.c: (invalidate_column),
257         (invalidate_last_column),
258         (gtk_tree_view_get_real_requested_width_from_column),
259         (gtk_tree_view_size_allocate_columns),
260         (gtk_tree_view_size_allocate), (gtk_tree_view_button_press),
261         (gtk_tree_view_button_release_drag_column),
262         (gtk_tree_view_update_current_reorder),
263         (gtk_tree_view_motion_drag_column), (gtk_tree_view_bin_expose),
264         (gtk_tree_view_key_press), (gtk_tree_view_header_focus),
265         (gtk_tree_view_get_background_xrange),
266         (gtk_tree_view_get_arrow_xrange),
267         (gtk_tree_view_is_expander_column),
268         (gtk_tree_view_set_column_drag_info),
269         (gtk_tree_view_move_cursor_left_right):
270         Add RTL support.
271
272         * gtk/gtktreeviewcolumn.h (struct _GtkTreeViewColumn): add an
273         expand flag.
274
275         * gtk/gtktreeviewcolumn.c:
276         (gtk_tree_view_column_class_init),
277         (gtk_tree_view_column_set_property),
278         (gtk_tree_view_column_get_property),
279         (gtk_tree_view_column_set_expand),
280         (gtk_tree_view_column_get_expand),
281         (gtk_tree_view_column_cell_process_action):
282         Add support for expand flag.  Thanks to Kristian Rietveld for an
283         initial patch for this.
284
285 Fri Feb 28 02:06:17 2003  Jonathan Blandford  <jrb@gnome.org>
286
287
288 2003-03-02  Tor Lillqvist  <tml@iki.fi>
289
290         * gdk/gdk.def
291         * gtk/gtk.def: Add a bunch of missing entries. Noticed by Cedric
292         Gustin.
293
294 2003-03-01  Matthias Clasen  <maclas@gmx.de>
295
296         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_vadjustment): 
297         (gtk_scrolled_window_set_hadjustment): Replace uses of
298         gtk_object_new by g_object_new.
299
300 Thu Feb 27 17:44:24 2003  Manish Singh  <yosh@gimp.org>
301
302         * demos/gtk-demo/main.c
303         * demos/gtk-demo/tree_store.c
304         * gdk/x11/gdkscreen-x11.c
305         * gtk/gtkcellrenderertoggle.c
306         * gtk/gtkcolorsel.c
307         * gtk/gtkdnd.c
308         * gtk/gtkeditable.c
309         * gtk/gtkentry.c
310         * gtk/gtkmenu.c
311         * gtk/gtkmenubar.c
312         * gtk/gtkmenuitem.c
313         * gtk/gtkmenushell.c
314         * gtk/gtkrc.c
315         * gtk/gtksettings.c
316         * gtk/gtkstyle.c
317         * gtk/gtktextbuffer.c
318         * gtk/gtktextview.c
319         * gtk/gtktreeviewcolumn.c
320         * tests/testgtk.c
321         * tests/testtext.c
322         * tests/testtreeedit.c
323         * tests/testtreefocus.c
324         * tests/testtreeview.c: remove unnecessary G_OBJECT() casts.
325
326 Tue Feb 25 21:55:17 2003  Jonathan Blandford  <jrb@redhat.com>
327
328         * gtk/gtkoptionmenu.c (gtk_option_menu_position): account for RTL
329         code.
330
331 2003-02-24  Sven Neumann  <sven@gimp.org>
332
333         * gtk/gtkmain.c (gtk_get_default_language): fixed documentation.
334
335 2003-02-21  Tomas Ogren  <stric@ing.umu.se>
336
337         * docs/reference/gtk/tmpl/gtktreemodel.sgml: Fix typos in an example
338
339 2003-02-20  Matthias Clasen  <maclas@gmx.de>
340
341         * gtk/gtktextbtree.c (_gtk_text_line_previous_could_contain_tag): 
342         Check if line_ancestor_parent is NULL.  (#102711, Manuel Clos)
343
344         * gtk/gtktextview.c (gtk_text_view_scroll_to_iter): 
345         (gtk_text_view_update_adjustments): Make sure cursor stays visible
346         during horizontal scrolling.  (#75270)
347
348 2003-02-19  Matthias Clasen  <maclas@gmx.de>
349
350         * tests/testdnd.c: Replace gtk_timeout_* by their GLib
351         counterparts. (#106532)
352
353         * gdk/gdkkeys.c (gdk_keymap_class_init): Associate the
354         keys_changed virtual function with the keys_changed signal.
355         (#106512, Jeff Franks)
356
357 2003-02-15  Larry Ewing  <lewing@ximian.com>
358
359         * gdk/gdkevents.c (gdk_event_copy): copy the event axes as well.
360
361 2003-02-17  Mohammad DAMT  <mdamt@bisnisweb.com>
362
363         * po/id.po: Added Indonesian translation
364         * configure.in: Added "id" to ALL_LINGUAS
365
366 2003-02-14  Matthias Clasen  <maclas@gmx.de>
367
368         * gtk/gtktextview.c (popup_targets_received): Remove bogus casts.
369
370 2003-02-12  Christian Rose  <menthos@menthos.com>
371
372         * configure.in: Added "yi" to ALL_LINGUAS.
373
374 2003-02-12  Matthias Clasen  <maclas@gmx.de>
375
376         Fix for #82734 and #78216:
377         
378         * gtk/gtktextview.c (delete_cb): 
379         (select_all_cb): New callbacks for context menu items.
380         (popup_targets_received): Add "Delete" and "Select All" to context
381         menu, mnemonics and title caps for all items.
382
383         * gtk/gtkentry.c (gtk_entry_delete_cb): New callback for "Delete"
384         context menu item.
385         (popup_targets_received): Add "Delete" to context menu, mnemonics
386         and title caps for all items.
387
388 2003-02-09  Tor Lillqvist  <tml@iki.fi>
389
390         * gtk/gtkfilesel.c (win32_gtk_add_drives_to_dir_list): Use
391         GetDriveType() to recognize removable drives (in order to avoid
392         hanging if trying to access an empty floppy drive), instead of
393         hardcoding A: and B: (#105654).
394
395 2003-02-09  Matthias Clasen  <maclas@gmx.de>
396
397         * gtk/gtkwidget.c (gtk_widget_set_name): Add note about periods in 
398         names.  (#57680)
399
400 2003-02-09  Christian Rose  <menthos@menthos.com>
401
402         * configure.in: Removed "en@IPA.po" from ALL_LINGUAS.
403
404 Fri Feb  7 04:49:46 2003  Tim Janik  <timj@gtk.org>
405
406         * gtk/gtkobject.c: remove quark_user_data usage in
407         gtk_object_{g|s}et_user_data(). fixes get_user_data()
408         returning NULL for user_data set through property interface.
409
410         * gtk/gtkitemfactory.c (gtk_item_factory_create_item): don't put out
411         warnings if a pixbuf couldn't be retrieved, since (a) this doesn't
412         need to be a programming error (in case of loaded data), (b) it breaks
413         with 2.0 behaviour where extra magic could be used to create empty
414         images. don't attempt to retrieve pixbufs from NULL extra_data.
415
416 2003-02-06  Matthias Clasen  <maclas@gmx.de>
417
418         * gdk/x11/gdkvisual-x11.c (gdk_visual_get_best_with_depth): Return
419         a GdkVisual *, not a GdkVisual **.  (#105243)
420
421         * gtk/gtkclist.c: 
422         * gtk/gtkctree.c: 
423         * gtk/gtkcontainer.c: 
424         * gtk/gtkdnd.c: 
425         * gtk/gtkentry.c: 
426         * gtk/gtklist.c:
427         * gtk/gtkmenu.c:
428         * gtk/gtkmenuitem.c:
429         * gtk/gtknotebook.c:
430         * gtk/gtkselection.c:
431         * gtk/gtkspinbutton.c:
432         * gtk/gtktext.c:
433         * gtk/gtktextview.c:
434         * gtk/gtktooltips.c:
435         * gtk/gtktreeview.c:
436         * gtk/gtkwindow.c: Replace uses of gtk_timeout_* and gtk_idle_* by
437         their non-deprecated GLib counterparts.
438         
439         * gtk/gtkmain.h: Fully deprecate gtk_timeout_* and gtk_idle_*.
440         
441 Sun Feb  2 16:45:57 GMT 2003  Tony Gale <gale@gtk.org>
442
443         * docs/tutorial/gtk-tut.sgml: cleanups from
444         Sebastian Rittau (#104832)
445
446 2003-02-01  Tor Lillqvist  <tml@iki.fi>
447
448         Merge from stable:
449
450         * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_foreign_new_for_display,
451         gdk_pixmap_lookup, gdk_pixmap_lookup_for_display): Implement.
452         (#104108, Naofumi Yasufuku)
453
454         * gdk/gdk.def: Export the above. Export
455         gdk_screen_get_system_visual, noticed by Ed Woods.
456
457 Fri Jan 31 17:45:22 2003  Manish Singh  <yosh@gimp.org>
458
459         * demos/pixbuf-demo.c
460         * demos/testpixbuf.c
461         * demos/gtk-demo/pixbufs.c: remove deprecated gtk_timeout_* usage.
462
463 Fri Jan 31 17:33:00 2003  Manish Singh  <yosh@gimp.org>
464                                                                                 
465         * gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set_state
466         on the tab_label before unparenting it, in case the unparent
467         drops the refcount to 0.
468
469 2003-02-01  Matthias Clasen  <maclas@gmx.de>
470
471         * gtk/gtkiconfactory.h: Use GDK_MULTIHEAD_SAFE like all other gtk
472         headers. Sorry about gtk_selection_clear, Yosh.
473
474 Thu Jan 30 17:16:05 2003  Manish Singh  <yosh@gimp.org>
475
476         * gtk/gtkselection.h: declare gtk_selection_clear in GTK_COMPILATION
477         too, for gtkwidget.c. Remember people, when introducing new
478         deprecations, make sure internal code isn't using it, or if so,
479         reorganize appropriately like I've done in other places.
480
481         * tests/testtext.c: don't use deprecated gtk_timeout_* stuff.
482
483 2003-01-31  Matthias Clasen  <maclas@gmx.de>
484
485         * gtk/gtkselection.h: 
486         * gtk/gtkselection.c (gtk_selection_clear): Deprecate.  (#85683)
487
488         * gdk/gdkpixbuf.h: 
489         * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable): 
490         (gdk_pixbuf_render_to_drawable_alpha): Deprecate.  (#60582)
491
492         * gtk/gtkcolorsel.h:
493         * gtk/gtkcolorsel.c (gtk_color_selection_set_change_palette_hook):
494         Deprecate.  (#98167)
495
496         * gtk/gtkpaned.h: Deprecate gtk_paned_computed_position(). (#97077)
497
498         * gtk/gtkmain.h: Deprecate the gtk_timeout_*, gtk_idle_*
499         and gtk_input_* functions.  (#71596)
500         
501         * gtk/gtkentry.c (gtk_entry_move_cursor): 
502         * gtk/gtklabel.c (gtk_label_move_cursor): Handle
503         GTK_MOVEMENT_HORIZONTAL_PAGES in switches.
504
505         * gdk/gdk.h: Deprecate gdk_wcstombs() and gdk_mbstowcs().  (#79803)
506
507         * gtk/gtkitemfactory.h: 
508         * gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Deprecate. 
509         (#69244)
510
511 Thu Jan 30 23:48:30 2003  Kristian Rietveld  <kris@gtk.org>
512
513         * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_count_special_cell):
514         only count the special cell if it is also visible,
515         (_gtk_tree_view_column_get_neighbor_sizes): only take the width into
516         account from visible cells,
517         (gtk_tree_view_column_cell_get_position): likewise, (Reported and
518         testcase provided by Vasco Alexandre da Silva Costa, via IRC,
519         tracking bug was #104563).
520         
521 Thu Jan 30 23:46:15 2003  Kristian Rietveld  <kris@gtk.org>
522
523         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
524         subtract expander space and focus line space from the extra space
525         we are about the allocate. (Fixes #104635).
526
527 Thu Jan 30 23:42:03 2003  Kristian Rietveld  <kris@gtk.org>
528
529         * gtk/gtkstyle.c (apply_affine_on_point): fix rouding error
530         (Fixes #96242, patch from Soeren Sandmann).
531
532 Thu Jan 30 16:54:29 2003  Owen Taylor  <otaylor@redhat.com>
533
534         * gtk/gtknotebook.c: Patch from Soeren Sandmann
535         to update the states of the tab label child
536         widgets to match the state of the tabs. 
537         (#93389, Reported by Tommi Komulainen)
538
539 Thu Jan 30 16:30:54 2003  Owen Taylor  <otaylor@redhat.com>
540
541         * Makefile.am (EXTRA_DIST): Remove gtk+.spec.in from
542         EXTRA_DIST, and from dist rules. (#102231)
543
544 2003-01-30  Daniel Elstner  <daniel.elstner@gmx.net>
545
546         * gtk/gtktoolbar.c (set_child_packing_and_visibility): New helper
547         function that sets the icon's and label's packing options and
548         visibility based on toolbar->style.
549
550         (gtk_toolbar_internal_insert_element):
551         (gtk_real_toolbar_style_changed): Make use of
552         set_child_packing_and_visibility() to clean up the code and get
553         the packing right for icon-only/text-only toolbars. (#104679)
554
555         (get_first_child): Remove, and use gtk_bin_get_child() instead.
556
557 2003-01-30  Matthias Clasen  <maclas@gmx.de>
558
559         * gtk/gtktextview.c: Replace PAGE_HORIZONTALLY_HACK_VALUE by
560         GTK_MOVEMENT_HORIZONTAL_PAGES.  (#68947)
561
562         * gtk/gtkenums.h: Add GTK_MOVEMENT_HORIZONTAL_PAGES to GtkMovementStep.
563         
564 Thu Jan 30 16:01:29 2003  Owen Taylor  <otaylor@redhat.com>
565
566         * gdk/gdkrgb.c (gdk_rgb_try_colormap): Remove the 
567         attempt-to-allocate then free code. To handle multiple
568         people allocating colors at the same time, we need
569         to just go ahead and try. (#102213, Shivram U)
570         
571 2003-01-30  Daniel Elstner  <daniel.elstner@gmx.net>
572
573         * gtk/gtkcolorsel.c (palette_paint): Explicitely draw an opaque
574         rectangle using the background color rather than relying on
575         gdk_window_clear_area(), so that the palette works properly with
576         pixmap themes. (#101732)
577
578         * demos/gtk-demo/colorsel.c: Install an "expose_event" handler
579         to fill the drawing area in the background color.
580
581 Wed Jan 29 14:11:21 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
582
583         * modules/input/gtkimcontextxim.c (choose_better_style): fix a memory
584         initialization error for selecting input style (#103549).
585
586 Wed Jan 29 17:02:41 2003  Owen Taylor  <otaylor@redhat.com>
587
588         * gdk/gdkkeyuni.c (get_decimal_char): Make the 
589         translation of GDK_KP_Decimal dependent on LC_NUMERIC.
590         (#101225)
591
592 Wed Jan 29 15:43:56 2003  Owen Taylor  <otaylor@redhat.com>
593
594         * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current):
595         Make up from the menu bar go to the end of the submenu.
596         (#96114, Ian Peters.)
597
598         * gtk/gtkmenuitem.c (gtk_menu_item_mnemonic_activate): 
599         Only do the select-but-not-activate stuff if the
600         menu is already active. Otherwise, just activate.
601         (#101690, Arvind Samptur)
602
603 Tue Jan 28 15:18:24 2003  Owen Taylor  <otaylor@redhat.com>
604
605         * autogen.sh (have_automake): Fix version in complaint
606         message about automake. (#104366, Rich Burridge)
607
608 Mon Jan 27 16:38:13 2003  Owen Taylor  <otaylor@redhat.com>
609
610         * configure.in: Remove SOEXT stuff; it doesn't work portably.
611
612 Mon Jan 27 22:45:15 2003  Kristian Rietveld  <kris@gtk.org>
613
614         * gtk/gtktreestore.c (gtk_tree_store_move): don't handle b if
615         we appended/prepended, send the rows_reordered signal to the 
616         correct level ... (Reported by Matthew Tuck).
617
618 Mon Jan 27 22:43:11 2003  Kristian Rietveld  <kris@gtk.org>
619
620         * gtk/gtktreestore.c (gtk_tree_store_sort_helper): don't just bail
621         out if the level only has one item, recurse over the child if there
622         is one. (Fixes #100458, reported by Gaël Le Mignot).
623
624 Mon Jan 27 22:41:26 2003  Kristian Rietveld  <kris@gtk.org>
625
626         * gtk/gtktreeview.c (gtk_tree_view_set_model),
627         (gtk_tree_view_search_equal_func): make TreeView search handle
628         all types which are transformable by GValue. (Fixes #99803, reported
629         by Muktha Narayan).
630
631 Mon Jan 27 22:39:25 2003  Kristian Rietveld  <kris@gtk.org>
632
633         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_sort_column_id):
634         *really* handle unsetting the ID. Slightly modified patch from
635         Soeren Sandmann. Fixes #87556, reported by Jarek Dukat.
636
637 Mon Jan 27 22:33:43 2003  Kristian Rietveld  <kris@gtk.org>
638
639         Fixes the total GtkTreeSortable mess, and #83195, reported by
640         Jarek Dukat
641
642         * gtk/gtktreestore.c (gtk_tree_store_get_sort_column_id),
643         (gtk_tree_store_set_sort_column_id), (gtk_tree_store_set_sort_func),
644         (gtk_tree_store_set_default_sort_func): use the constant
645         GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID instead of -1, make functions
646         work as advertised by the documentation.
647
648         * gtk/gtklistore.c (gtk_list_store_get_sort_column_id),
649         (gtk_list_store_set_sort_column_id), (gtk_list_store_set_sort_func),
650         (gtk_list_store_set_default_sort_func): likewise.
651
652         * gtk/gtktreemodelsort.c (gtk_tree_model_set_sort_column_id),
653         (gtk_tree_model_set_sort_func),
654         (gtk_tree_model_sort_set_default_sort_func): make functions work
655         as advertised by the documentation.
656
657 Mon Jan 27 22:31:56 2003  Kristian Rietveld  <kris@gtk.org>
658
659         * gtk/gtktreeview.c (gtk_tree_view_button_press): update focus_column
660         before we decide if we edit. (fixes #100973, reported by Dave Cook).
661
662 Mon Jan 27 22:29:30 2003  Kristian Rietveld  <kris@gtk.org>
663
664         Bug report and test case from Paolo Maggi via IRC.
665
666         * gtk/gtkliststore.c (gtk_list_store_swap): update tail if needed,
667         (gtk_list_store_move): update tail if needed.
668
669 Mon Jan 27 16:19:59 2003  Owen Taylor  <otaylor@redhat.com>
670
671         * gtk/gtksocket.c (gtk_socket_filter_func): event->any.window
672         might be NULL. Use gtk_widget_get_display (widget) 
673         (#102860, Thomas Leonard)
674
675 Mon Jan 27 15:58:31 2003  Owen Taylor  <otaylor@redhat.com>
676
677         * configure.in: Fix --without-modules/--disable-modules
678         confusion that was causing --disable-modules not to work.
679         (#102865, Akira Tagoh)
680
681         * configure.in: Fix problem with plain --with-xinput
682         (#104266, Akira Tagoh)
683
684 2003-01-24  Sebastian Rittau  <srittau@jroger.in-berlin.de>
685
686         * docs/tutorial/gtk-tut.sgml: Fix a few typos, introduced by my last
687         patch.
688
689 Fri Jan 24 17:06:41 GMT 2003  Tony Gale <gale@gtk.org>
690
691         * docs/tutorial/gtk-tut.sgml: Remove duplicate copy of tictactoe.h
692
693 Thu Jan 23 21:15:29 GMT 2003  Tony Gale <gale@gtk.org>
694
695         * docs/faq/gtk-faq.sgml: Learn to spell Library
696
697 Thu Jan 23 20:56:56 GMT 2003  Tony Gale <gale@gtk.org>
698         * Sebastian Rittau  <srittau@jroger.in-berlin.de>:
699
700            docs/tutorial/gtk-tut.sgml: Adopted chapter 21.3 "Creating a
701            Composite widget" to modern standards. (I.e. use gobject instead of
702            glib, derive from GtkTable instead of GtkVBox.) Bugzilla #103869.
703
704         * docs/tutorial/gtk-tut.sgml, examples/tictactoe: Fixup tic-tac-toe
705         code in Appendix C to reflect above changes.
706
707         * examples/rangewidgets/rangewidgets.c: From Roger Leigh
708         auto resize on page size change
709
710 2003-01-23  Daniel Elstner  <daniel.elstner@gmx.net>
711
712         * gtk/gtktoolbar.c (gtk_toolbar_hide_all): Override hide_all
713         in addition to show_all in order to keep them symmetric. (#102201)
714
715 Wed Jan 22 14:18:46 2003  Manish Singh  <yosh@gimp.org>
716
717         * gdk/x11/gdkevents-x11.c (translate_key_event): add a "return" at
718         the end of the function, so there is a statement following the "out"
719         label in all cases (fixes #101961)
720
721 2003-01-22  Christian Rose  <menthos@menthos.com>
722
723         * configure.in: Added "mn" to ALL_LINGUAS.
724
725 Wed Jan 15 17:02:18 2003  Owen Taylor  <otaylor@redhat.com>
726  
727         * gtk/gtktextlayout.c (gtk_text_layout_validate_yrange):
728         Fix off-by-one error on the backward iteration loop,
729         that was causing the wrong range to be redrawn.
730         (at least part of #72734)
731         
732 2003-01-21  Matthias Clasen  <maclas@gmx.de>
733
734         * gtk/gtktextview.c (gtk_text_view_size_allocate): Adjust the
735         vadjustment value after changing its bounds.  (fixes #101963 and 
736         #73562)
737
738         * gtk/gtkcolorsel.c (hex_changed): Fix clamping to [0,1] to avoid 
739         unnecessary roundtrip failures.  (#93500)
740
741 2003-01-19  Tor Lillqvist  <tml@iki.fi>
742
743         Merge from stable:
744         
745         Fix for #103614 and some other problems with GtkFileSelection on
746         Windows:
747                 
748         * gtk/fnmatch.c (get_char): Need to use g_unichar_tolower(), not
749         g_ascii_tolower(). Windows file names are case-insensitive for all
750         Unicode letters.
751
752         * gtk/gtkfilesel.c: Instead of checking for G_OS_WIN32 or
753         G_WITH_CYGWIN, check G_PLATFORM_WIN32. Move inclusion of gtkintl.h
754         earlier, as it includes config.h unconditionally, and gtkprivate.h
755         redefines GTK_LOCALEDIR.
756         (struct _CompletionDirSent): Ifdef out the fields not used on
757         Windows.
758         (compare_utf8_filenames, compare_sys_filenames): Need different
759         comparison implementation for UTF-8 file names and system locale
760         file names on Win32. Cannot simply use g_ascii_strcasecmp(), but
761         need to casefold all Unicode letters.
762         (cmpl_completion_matches, open_dir, correct_parent): Ifdef out
763         variables not used on Win32 to avoid warnings about unused
764         variables.
765         (open_ref_dir): Use g_path_skip_root() to skip past potential
766         drive letter in front of the leading (back)slash.
767         (open_new_dir): Ifdef out use of CompletionDirSent fields not
768         there on Win32.
769         (correct_parent): Bypass inode check also on Cygwin.
770
771         Fix bug noticed by Alex Shaduri: Tooltips and other
772         GDK_WINDOW_TEMP windows were activated. This looked very odd, and
773         was a regression from earlier versions.
774         
775         * gdk/win32/gdkwindow-win32.c (show_window_internal): Fine-tune
776         behaviour. Don't ever activate GDK_WINDOW_TEMP windows.
777         (gdk_window_move, gdk_window_resize): Add debug logging.
778
779         * gdk/win32/gdkevents-win32.c (gdk_event_translate): When we get a
780         WM_SIZE message for a non-visible (withdrawn) window, don't clear
781         the GDK_WINDOW_STATE_WITHDRAWN bit. The window is still withdrawn
782         even if its size changes.
783
784 2003-01-16  Matthias Clasen  <maclas@gmx.de>
785
786         * gtk/gtktextlayout.c (gtk_text_layout_get_cursor_locations): Typo fixes.
787         (totally_invisible_line): Fix an incorrect optimization which
788         caused invisible paragraphs to be occasionally misrendered.
789
790 Wed Jan 15 15:55:47 2003  Owen Taylor  <otaylor@redhat.com>
791
792         * gtk/gtksettings.c: Set the double click speed from
793         XSETTINGS when creating a new GtkSettings object
794         as well as when getting a notify. (#103601, reported
795         by Louis Garcia)
796
797 Wed Jan 15 14:56:09 2003  Owen Taylor  <otaylor@redhat.com>
798  
799         * gtk/gtknotebook.c (gtk_notebook_size_allocate): 
800         Show/hide the notebook event window as necessary,
801         we weren't previously keeping the visibility updated
802         properly.  (#103599)
803  
804 2003-01-15  Matthias Clasen  <maclas@gmx.de>
805
806         * examples/menu/itemfactory.c: 
807         * docs/tutorial/gtk-tut.sgml: Add a <StockItem> to the itemfactory
808         example.  (#103211)
809
810 2002-12-29  Murray Cumming  <murrayc@usa.net>
811
812         Fixes #102168.
813
814         * gtk/gtkliststore.c, gtktreednd.c, gtktreestore.c:
815         Actually implement the GtkTreeDragSource::row_draggable virtual 
816         function in GtkListStore and GtkTreeStore instead of just checking 
817         whether it's implemented at all. This means that DnD isn't broken by
818         gtkmm's virtual function wrappers. The alternative would be to
819         hard-code the TRUE return value into gtkmm's wrappers, but that's 
820         part of GTK+'s implementation, not it's API.
821
822 Tue Jan 14 23:42:29 2003  Kristian Rietveld  <kris@gtk.org>
823
824         * gtk/gtktreeview.c: fix compiler warning.
825
826 Tue Jan 14 23:29:00 2003  Kristian Rietveld  <kris@gtk.org>
827
828         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render):
829         make sure exposed pixbufs are clipped to the exposed area before
830         drawing, which is a slight speedup. (#102379, patch from Soeren
831         Sandmann).
832
833 Tue Jan 14 23:26:41 2003  Kristian Rietveld  <kris@gtk.org>
834
835         * gtk/gtktreeview.c (validate_visible_area): silly typo fix,
836         only free scroll_to_path when the complete tree has been validated.
837         This makes sure that we scrolled to the correct path.
838
839 Tue Jan 14 23:25:32 2003  Kristian Rietveld  <kris@gtk.org>
840
841         * gtk/gtktreeview.c (gtk_tree_view_style_set): update the
842         background of widget->window and bin->window. (Fixes #96650, reported
843         by Dave Camp).
844
845 Tue Jan 14 23:24:02 2003  Kristian Rietveld  <kris@gtk.org>
846
847         * gtk/gtktreeview.c (gtk_tree_view_clamp_node_visible): process
848         updates before scrolling, avoiding a "selection streak". (Fixes
849         #101235, patch from Soeren Sandmann).
850
851 Tue Jan 14 23:22:13 2003  Kristian Rietveld  <kris@gtk.org>
852
853         * gtk/gtktreeview.c (validate_visible_area): actually put values
854         in the requisition using gtk_widget_size_request. (Fixes #100172,
855         reported by Kjartan Maraas).
856
857 Tue Jan 14 23:19:45 2003  Kristian Rietveld  <kris@gtk.org>
858
859         * gtk/gtktreeview.c (gtk_tree_view_rows_reordered): cancel the
860         arrow animation timeout before we actually reorder the rbtree. If
861         we don't do this we can get stuck arrows,
862         (cancel_arrow_animation): new function. (Fixes #93629, part 2,
863         reported and testcase provided by Hans Petter Jansson).
864
865 Tue Jan 14 23:18:21 2003  Kristian Rietveld  <kris@gtk.org>
866
867         * gtk/gtktreeselection.c (gtk_tree_selection_real_modify_range):
868         anchor_path should be start_path, not end_path. (Fixes #102618,
869         patch from Carlos Garnacho Parro).
870
871 Tue Jan 14 23:16:15 2003  Kristian Rietveld  <kris@gtk.org>
872
873         * gtk/gtkliststore.c (gtk_list_store_move): also update the tail,
874         only correct new_pos if we don't move to the head/tail.
875
876 Tue Jan 14 23:11:55 2003  Kristian Rietveld  <kris@gtk.org>
877
878         * gtk/gtktreestore.c (gtk_tree_store_swap): take the path from
879         the parent_iter if depth >= 1, so we send the reordered signal to
880         the correct level, remove debugging printfs which I forgot the remove
881         earlier (2.2.0 shipped with this, oops). (Fixes #103198, Reported and
882         testcase provided by Matthew Tuck).
883
884 Tue Jan 14 20:58:44 2003  Kristian Rietveld  <kris@gtk.org>
885
886         * gtk/gtktreeview.c (invalite_last_column): split out actual column
887         invalidation into invalidate_column(),
888         (gtk_tree_view_size_allocate_columns): invalidate column if the
889         new width is larger than the old width.
890         (fixes #102890, reported by Alex Duggan).
891
892 2003-01-14  Matthias Clasen  <maclas@gmx.de>
893
894         * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Skip
895         invisible chars for GTK_MOVEMENT_LOGICAL_POSITIONS and
896         GTK_MOVEMENT_WORDS.
897
898         * gtk/gtktextiter.c,
899         gtk/gtktextiter.h: Add some variant movement functions which
900         skip invisible chars, and do some cleanups.
901
902 2003-01-12  Tor Lillqvist  <tml@iki.fi>
903
904         Merge from stable:
905                 
906         * gtk/gtkmain.c: Move inclusion of config.h and gtkintl.h earlier,
907         as gtkprivate.h redefines GTK_LOCALEDIR on Win32, for run-time
908         lookup.
909
910         * gdk/Makefile.am (libgdk_win32_2_0_la_DEPENDENCIES): Depend on
911         gdk.def.
912
913         * gdk/gdk.def
914         * gtk/gtk.def: Add some missing entries. Thanks to Kenichi SUTO.
915
916         * gtk-zip.sh.in (DEVZIP): Add bin/{gtk-query-immodules-2.0,
917         gtk-demo}.exe and share/gtk-2.0.
918
919         * gdk/win32/gdkwindow-win32.c (gdk_window_set_skip_taskbar_hint):
920         Implement by setting or clearing the WS_EX_TOOLWINDOW extended
921         window style.
922         (gdk_window_set_type_hint): Add all cases to the switch (not all
923         do anything, though). Handle GDK_WINDOW_TYPE_HINT_TOOLBAR by
924         calling gdk_window_set_skip_taskbar_hint(). This means that GTK
925         won't know that the skip_taskbar hint is on for the window, is
926         this bad?
927
928 Wed Jan  8 18:43:03 2003  Manish Singh  <yosh@gimp.org>
929
930         * gdk/x11/gdkdisplay-x11.c: #include <stdlib.h> for putenv,
931         <string.h> for strlen.
932
933         * gdk/x11/gdkscreen-x11.c: #include <stdlib.h> for getenv,
934         <string.h> for strrchr.
935
936         * tests/testgtk.c (create_saved_position): "x" and "y" properties
937         for widgets no longer exist, use gtk_window_move instead.
938
939         * test/testtextbuffer.c (check_get_set_text): cast strlen to
940         int for g_error.
941
942 2003-01-08  Matthias Clasen  <maclas@gmx.de>
943
944         * gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix display of
945         the selection in the presence of invisible segments.
946
947 2003-01-07  Matthias Clasen  <maclas@gmx.de>
948
949         * gtk/gtktextview.c (gtk_text_view_class_init): Bind C-/ and C-\
950         to "select all" and "unselect all".  (#102065)
951
952         * gtk/gtktextview.h (struct _GtkTextView): Add a comment that
953         the just_selected_element is unused.
954
955         * gtk/gtktextview.c (extend_selection): New helper function to
956         find the range that should be added to the selection. 
957         (selection_motion_event_handler): 
958         (gtk_text_view_start_selection_drag): 
959         (gtk_text_view_end_selection_drag): 
960         (selection_motion_event_handler): 
961         (selection_scan_timeout): Support select-by-words/lines.
962         (gtk_text_view_button_press_event): Start a selection drag on
963         double/triple clicks.  (#78499)
964
965 2003-01-06  Matthias Clasen  <maclas@gmx.de>
966
967         Implement a utility function proposed in #102534:
968         
969         * gtk/gtktextbtree.h: 
970         * gtk/gtktextbtree.c (_gtk_text_btree_select_range): New function.
971         (_gtk_text_btree_place_cursor): Now a simple wrapper around
972         _gtk_text_btree_select_range().   
973
974         * gtk/gtktextbuffer.h: 
975         * gtk/gtktextbuffer.c (gtk_text_buffer_select_range): New function.
976         (gtk_text_buffer_place_cursor): Now a simple wrapper around
977         gtk_text_buffer_select_range(). 
978
979 2003-01-05  Havoc Pennington  <hp@pobox.com>
980
981         * configure.in: fix a stray bracket that was breaking the build
982
983 2003-01-05  Tor Lillqvist  <tml@iki.fi>
984
985         * gtk-zip.sh.in: Use correct DLL and import library names, with
986         GTK_API_VERSION in name, not GTK_MAJOR_VERSION.GTK_MINOR_VERSION.
987         (DEVZIP): Add gdk-pixbuf-query-loaders.exe.
988
989         * configure.in: Improve check for dimm.h.
990
991         * configure.in: Set SOEXT to 'so' on Unix, 'dll' on Win32. Used in
992         gdk-pixbuf/Makefile.am.
993
994         * gdk-pixbuf/makefile.mingw.in
995         * gdk-pixbuf/pixops/makefile.mingw.in
996         * gdk/makefile.mingw.in
997         * gdk/win32/makefile.mingw.in
998         * gtk/makefile.mingw.in: Remove. Not maintained anyway.
999
1000         * gdk-pixbuf/Makefile.am
1001         * gdk-pixbuf/pixops/Makefile.am
1002         * gdk/Makefile.am
1003         * gdk/win32/Makefile.am
1004         * gtk/Makefile.am
1005         * configure.in: Remove makefile.mingw{,.in} from here, too.
1006         
1007         * README.win32: Updates. Don't mention the now removed
1008         makefile.mingw files.
1009
1010         * gdk/gdk.def
1011         * gtk/gtk.def: Add a couple of missing entries.
1012
1013         * gdk/gdkkeynames.c: Include <string.h> for strcmp() and memcpy().
1014
1015         * gdk/win32/gdkevents-win32.c: Move dimm.h header clash workaround
1016         earlier.
1017
1018         * gdk/win32/rc/Makefile.am: Add hack to help
1019         build/win32/lt-compile-resource decide which kind of libtool
1020         object file to produce.
1021
1022 2003-01-05  Matthias Clasen  <maclas@gmx.de>
1023
1024         * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Make
1025         C-Down step through the sequence of paragraph ends (old behaviour
1026         included paragraph starts).  (#80340, patch by Narayana Pattipati)
1027
1028         * gtk/gtktextiter.c (_gtk_text_btree_get_iter_at_first_toggle):
1029         Check for a tag toggle at the start iterator before calling
1030         gtk_text_iter_forward_to_tag_toggle().  (#102090, patch by Daniel 
1031         Elstner)
1032
1033 2003-01-04  Matthias Clasen  <maclas@gmx.de>
1034
1035         * gtk/gtkfilesel.h (struct _GtkFileSelection): Add /*< public >*/
1036         and /*< private >*/ as appropriate.  (#97211)
1037
1038 2003-01-04  Tor Lillqvist  <tml@iki.fi>
1039
1040         * Makefile.am (EXTRA_DIST): Don't distribute gtk-zip.sh, but do
1041         distribute gtk-zip.sh.in.
1042
1043         * gtk-zip.sh.in (DEVZIP): Add gdk-pixbuf-csource.exe and .1.
1044
1045 2003-01-03  Havoc Pennington  <hp@pobox.com>
1046
1047         * docs/Makefile.am (EXTRA_DIST): put it in EXTRA_DIST
1048
1049         * docs/text_widget_internals.txt: add a file documenting some of
1050         the text widget internals
1051
1052 2003-01-02  Matthias Clasen  <maclas@gmx.de>
1053
1054         * gtk/gtkwindow.c (gtk_window_get_focus): Document that it may
1055         return NULL.  (#102069)
1056
1057 2003-01-01  Matthias Clasen  <maclas@gmx.de>
1058
1059         * gtk/fnmatch.c (FNMATCH_TEST_CASES): #undef, since having
1060         a main() in the library is obviously bad. 
1061
1062 2002-12-27  Matthias Clasen  <maclas@gmx.de>
1063
1064         * gtk/gtktextview.c (gtk_text_view_drag_data_received): Place the
1065         cursor at drop point.  (#72384)
1066         (gtk_text_view_size_allocate): Update the horizontal adjustment
1067         value.  (#75694)
1068
1069 2002-12-25  Matthias Clasen  <maclas@gmx.de>
1070
1071         * gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix highlighting of
1072         selection wrt. to empty lines.  (#90435, #90582, #91619)
1073
1074         * gtk/gtktextview.c (gtk_text_view_preedit_changed_handler):
1075         Keep the cursor on screen.  (#96929)
1076
1077 2002-12-24  Matthias Clasen  <maclas@gmx.de>
1078
1079         * gtk/gtktextbuffer.c (paste_from_buffer): 
1080         (clipboard_text_received): Let the user action span the insertion
1081         and the deletion of the old selection.  (#82844)
1082
1083 2002-12-23  Matthias Clasen  <maclas@gmx.de>
1084
1085         * gtk/gtktextiter.c (gtk_text_iter_backward_sentence_starts):
1086         Don't call gtk_text_iter_backward_sentence_start() if
1087         count is zero.  (#99115)
1088
1089         * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Call
1090         move_cursor() even if the cursor hasn't moved, since it has the
1091         side effect of canceling the selection.  (#81395, #98537, #98333)
1092
1093 2002-12-22  Matthias Clasen  <maclas@gmx.de>
1094
1095         * gtk/gtktextlayout.c (add_preedit_attrs): Don't add attributes
1096         with empty ranges.  (fixes #101564 and #80637)
1097
1098 2002-12-21  Tor Lillqvist  <tml@iki.fi>
1099
1100         * gdk/win32/gdkwindow-win32.c (gdk_window_new): Move the code that
1101         sets the window style and extended window style, and adjusts the
1102         width and height to take the window decorations into account
1103         earlier. The adjusted width and height used to be ignored. Remove
1104         the local x, y, width and height variables, no need to further
1105         confuse the code by having local copies. (Partial fix, I hope, for
1106         #101588)
1107
1108         (gdk_window_move): When moving top-level windows, take title bar
1109         and border width into account, offsetting the coordinates before
1110         calling SetWindowPos().
1111
1112         (gdk_window_set_decorations, gdk_window_set_functions):
1113         Reimplement, taking into account the peculiar semantics of
1114         GDK_DECOR_ALL and GDK_FUNC_ALL. (#79036)
1115
1116         (gdk_window_get_decorations): Implement. (#98981)
1117         
1118         (gdk_window_set_type_hint): When setting
1119         GDK_WINDOW_TYPE_HINT_MENU, call gdk_window_set_decorations().
1120         (#79036)
1121
1122         * gdk/gdk.def: Add gdk_window_get_decorations. (#98981)
1123
1124 2002-12-21  Matthias Clasen  <maclas@gmx.de>
1125
1126         * gtk/gtktextview.c (gtk_text_view_set_background): New static
1127         function to set the background of all windows.
1128         (gtk_text_view_style_set): Use gtk_text_view_set_background().
1129         (gtk_text_view_state_changed): New function; change background
1130         according to state.  (#88126)
1131
1132 2002-12-21  Havoc Pennington  <hp@pobox.com>
1133
1134         * gtk/gtktextview.c (gtk_text_view_move_visually): fix the documentation
1135