]> Pileus Git - ~andy/gtk/blob - ChangeLog.pre-2-6
Requires glib-2.3.0, pango-1.2.0.
[~andy/gtk] / ChangeLog.pre-2-6
1 Sat Aug  2 12:53:16 2003  Owen Taylor  <otaylor@redhat.com>
2
3         * configure.in: Requires glib-2.3.0, pango-1.2.0.
4
5         * configure.in: Require Xft version 2,
6         remove code for handling older versions of pango and Xft.
7         Many miscellaneous improvements to X checks
8
9         * acinclude.m4: Add GTK_ADD_LIB() macro for adding 
10         a library to a variable, avoiding dups.
11
12         * gdk/x11/gdkfont-x11.c (gdk_font_from_description_for_display): 
13         Always load "fixed"
14
15         * gdk/x11/gdk*-x11.[ch]: Remove support for Xft1 and
16         for pangox.
17
18 2003-08-02  Matthias Clasen  <maclas@gmx.de>
19
20         * gtk/gtkcolorsel.c (color_sample_drop_handle) (palette_drop_handle): 
21         * gtk/gtkcolorbutton.c (gtk_color_button_drag_data_received):  
22         Accept drops with the wrong format, since the KDE color chooser 
23         incorrectly drops application/x-color with format 8.
24
25 2003-08-02  Tor Lillqvist  <tml@iki.fi>
26
27         Fix gdk/win32 window geometry handling again. The window position
28         in a GDK_CONFIGURE event should be that of the client area, not of
29         the window decorations. (I was confused by the term "window
30         border" in X11. It does *not* mean the window manager
31         decorations. There are no X11-style window borders in Win32.)
32         Also, this time do take the geometry hints into account
33         appropriately when moving windows. Now testgtk's gravity test's
34         move buttons work OK. There are stil problems with taking gravity
35         into account when showing a hidden window.
36
37         * gdk/win32/gdkwindow-win32.h: Keep a whole GdkGeometry as hints
38         instead of separate fields.
39         
40         * gdk/win32/gdkevents-win32.c (handle_configure_event): Don't
41         adjust for decorations.
42
43         * gdk/win32/gdkwindow-win32.c (get_outer_rect,
44         adjust_for_gravity_hints): New functions.
45         (gdk_window_move, gdk_window_resize, gdk_window_move_resize): Use
46         above functions, take geometry hints into account.
47         (gdk_window_set_geometry_hints): Size hints specicy client area,
48         not including decorations.
49
50 Fri Aug  1 17:10:22 2003  Owen Taylor  <otaylor@redhat.com>
51
52         * gtk/gtkfilesel.c (cmpl_completion_fullname): Always
53         return an absolute path (#115590), fix a problem where
54         you could crash the file selector with a looong name
55         by returning a newly allocated buffer.
56
57 Fri Aug  1 16:44:51 2003  Owen Taylor  <otaylor@redhat.com>
58
59         * gtk/gtkfilesel.c (update_cmpl): Fix obvious reallocation
60         bug in rarely or never hit code path (#118071,
61         Tor Lillqvist)
62
63 Fri Aug  1 16:30:13 2003  Owen Taylor  <otaylor@redhat.com>
64
65         * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render): 
66         If the check for missing depths, try actually creating pixmaps
67         of the depths to deal with Xinerama not reporting
68         all the depths it should. (#115822)
69
70 Fri Aug  1 15:33:59 2003  Owen Taylor  <otaylor@redhat.com>
71
72         * gtk/gtksocket.c: Patch from Denis Mikhalkin to
73         forward KeyRelease events as well as KeyPress events.
74         (#115597)
75
76 Fri Aug  1 15:06:25 2003  Owen Taylor  <otaylor@redhat.com>
77  
78         * gdk/gdk.c (gdk_parse_args): g_set_prgname("<unknown>")
79         if argc is 0 as well, instead of leaving it unset.
80         (#116023, Michael Meeks)
81  
82 Thu Jul 31 23:09:02 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
83
84         * gtk/gtktoolbar.c (gtk_toolbar_class_init): make show_arrow
85         default to TRUE; ignore the property when api_mode != NEW_API
86
87 2003-07-31  Matthias Clasen  <maclas@gmx.de>
88
89         * gtk/gtkwindow.c (gtk_window_set_default_icon): Rename parameter pixbuf to icon, to 
90         pacify gtk-doc.
91
92         * gtk/gtkwidget.c (gtk_widget_class_init): Fix formatting of drag-motion example.
93
94 Thu Jul 31 15:33:33 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
95
96         * gtk/gtk*tool*.h: add padding to subclasses of GtkToolItem
97
98 Thu Jul 31 15:29:28 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
99
100         * gtk/gtktoolitem.c (struct _GtkToolItemPrivate): remove unused
101         overflow_item field.
102
103 Wed Jul 30 21:11:13 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
104
105         * gtk/gtktoolitem.h: make _gtk_tool_item_toolbar_reconfigured()
106         an internal function
107
108         * gtk/gtktoolitem.h: remove unused declaration of
109         _gtk_tool_item_get_drag_window().
110
111 Wed Jul 30 17:03:58 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
112
113         * gtk/gtktoolbutton.[ch]:
114         (gtk_tool_button_new): swap icon_widget and label arguments to
115         match BonoboUIToolbarButton.
116
117         * gtk/gtktoolbar.h: un-deprecate gtk_toolbar_{set|unset}_style().
118
119 2003-07-30  Matthias Clasen  <maclas@gmx.de>
120
121         * gtk/gtkwidget.c (gtk_widget_class_init): Some updates to the DND signal docs.
122
123 2003-07-29  Tor Lillqvist  <tml@iki.fi>
124
125         Fix for #108007, #112402, #117042: There was confusion in
126         gdk/win32 at various places whether a window position refers to
127         the decoration position or the client area position. Also whether
128         window size includes decorations or not.
129         
130         The correct interpretation apparently is that in GDK (like in
131         X11), a top-level window position means the decoration's position,
132         but size means the window's inner size (client area size). In the
133         Win32 API, the window size usually includes the decorations,
134         though.
135         
136         * gdk/win32/gdkevents-win32.c (decode_key_lparam): Move inside
137         #ifdef G_ENABLE_DEBUG.
138         (handle_configure_event): New function, generates GDK_CONFIGURE
139         events from WM_SIZE and WM_MOVE messages. Even if no event is
140         generated because of the event mask, still set the private
141         position and size fields. Calculate position and size correctly.
142         (gdk_event_translate): Call handle_configure_event().
143
144         * gdk/win32/gdkgeometry-win32.c: Cosmetics.
145
146         * gdk/win32/gdkwindow-win32.c: Use GDI_CALL() and API_CALL()
147         macros. Cosmetic debugging output changes.
148         (SafeAdjustWindowRectEx): Remove. If an application wants to
149         locate a window outside of the screen, it's not GDK's business to
150         prevent it. And anyway, with multiple monitors, negative
151         coordinates are perfectly normal.
152         (gdk_window_new): Adjust the window size for decorations after
153         _gdk_window_init_position() has done its job. (But the big window
154         code currently is presumably broken on Win32 anyway.)
155         (gdk_window_move): The position passed in is supposed to be that
156         of the window border, so don't need to adjust for decorations.
157         (gdk_window_resize, gdk_window_move_resize): Simplify somewhat.
158
159 Tue Jul 29 13:55:44 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
160
161         * gtk/gtktoolbar.c (gtk_toolbar_set_style,
162         gtk_toolbar_prepend_element, gtk_toolbar_append_element,
163         gtk_toolbar_insert_space, gtk_toolbar_prepend_space,
164         gtk_toolbar_append_space, gtk_toolbar_insert_item,
165         gtk_toolbar_prepend_item, gtk_toolbar_append_item,
166         gtk_toolbar_set_tooltips, gtk_toolbar_set_orientation,
167         gtk_toolbar_new, gtk_toolbar_prepend_item):
168
169         Move documentation inline from template files.
170
171         * gtk/gtktoolbar.c (gtk_toolbar_insert_element,
172         gtk_toolbar_insert_widget, gtk_toolbar_prepend_widget,
173         gtk_toolbar_append_widget, gtk_toolbar_remove_space,
174         gtk_toolbar_insert_stock, gtk_toolbar_unset_icon_size,
175         gtk_toolbar_get_icon_size, gtk_toolbar_set_icon_size,
176         gtk_toolbar_get_tooltips, gtk_toolbar_unset_style,
177         gtk_toolbar_get_style, gtk_toolbar_get_orientation)
178
179         Copy documentation from stable that was added after the EggToolbar
180         branched.
181
182         * gtk/gtktoolbar.h: deprecate gtk_toolbar_unset_icon_size()
183
184 Mon Jul 28 18:21:34 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
185
186         * gtk+/docs/: Commit autogenerated changes, so patches will make
187         sense.
188
189 2003-07-27  Tor Lillqvist  <tml@iki.fi>
190
191         * gdk/win32/gdkevents-win32.c (build_key_event_state): On Win9x,
192         the keyboard state returned by GetKeyboardState() doesn't
193         distinguish between the left and right Control and Alt keys. Thus
194         we cannot detect AltGr (which is supposed to be left Control +
195         right Alt) the same way as on NT-based systems, but have to accept
196         either Control + either Alt as AltGr.
197
198 2003-07-27  Matthias Clasen  <maclas@gmx.de>
199
200         * gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach):
201         Fix function name in warning message.  (#118156, Tim-Philipp
202         Müller)
203
204         * gtk/gtkcellrenderer.c (gtk_cell_renderer_get_property):
205         is-expander and is-expanded are boolean properties, not ints.
206         (#118359, Josh Parsons)
207
208 Sat Jul 26 15:21:27 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
209
210         * gtk/gtkimagemenuitem.c
211         (gtk_image_menu_item_toggle_size_request): don't request
212         toggle_space when the image width is 0.
213
214 2003-07-25  Tor Lillqvist  <tml@iki.fi>
215
216         * gdk/win32/gdkprivate-win32.h
217         * gdk/win32/gdkglobals-win32.c: New flags _gdk_input_locale_is_ime
218         and _gdk_keyboard_has_altgr.
219         
220         * gdk/win32/gdkevents-win32.c: Lots of changes. Most important
221         ones detailled here.
222
223         Code that has been ifdeffed out for a long time removed. Remove
224         some really old doc comments that were left behind for some public
225         functions, the official ones are in the X11 backend anyway. Change
226         GDK_WINDOW_OBJECT() calls to GdkWindowObject casts. Reformat
227         multi-line boolean expressions to have the operators at ends of
228         lines.
229
230         As mouse capture with SetCapture() indeed seems to work OK, no
231         need to have the correspoinding macro USE_SETCAPTURE and ifdefs.
232
233         Ifdef out the gdk-ping-msg stuff. I don't remember why it was
234         needed at some time, and things seem to work fine now without
235         (knock on wood).
236
237         Ifdef out the search for some Latin locale keyboard layout being
238         loaded. Not used currently, but might be needed after all, if we
239         decide that we want to be able to generate ASCII control character
240         events with a non-Latin keyboard.
241
242         (assign_object): New helper function, handles the g_object_ref()
243         and unref() calls when assigning GObject pointers.
244                 
245         (generate_crossing_events): Also generate the GDK_NOTIFY_INTERIOR
246         enter event when the pointer has moved to an ancestor window. Was
247         left out by mistake.
248
249         (gdk_window_is_ancestor): Renamed from gdk_window_is_child().
250
251         (gdk_pointer_grab, gdk_pointer_ungrab): Implement the confine_to
252         functionality, using ClipCursor().
253                 
254         (find_window_for_mouse_event): Splice part of code into new
255         function find_real_window_for_grabbed_mouse_event().
256
257         (fixup_event, append_event, apply_filters): New functions, code
258         refactored out from elsewhere.
259
260         (synthesize_enter_or_leave_event, synthesize_leave_event,
261         synthesize_enter_event,
262         synthesize_leave_events,synthesize_enter_events): Also take a
263         GdkCrossingMode parameter, in preparation to generating
264         GDK_CROSSING_GRAB and GDK_CROSSING_UNGRAB events.
265
266         (fixup_event, append_event, fill_key_event_string): New functions,
267         code refactoring.
268
269         (vk_from_char, build_keypress_event, build_keyrelease_event):
270         Removed as part of dropping WM_CHAR handling.
271
272         (build_key_event_state,gdk_event_translate): Call
273         GetKeyboardState(), once, for each keyboard message, instead of
274         several calls to GetKeyState() here and there.
275
276         (gdk_event_translate): Fix bugs #104516, #104662, #115902. While
277         at it, do some major refactoring, and some fixes for potential
278         problems noticed while going through the code.
279
280         Don't handle WM_CHAR at all. Only handle WM_KEYDOWN and
281         WM_KEYUP. Don't need the state variables related to whether to
282         wait for WM_CHAR or not, and whether the current key is
283         AltGr. Remove lots of complexity. Thus don't need the
284         use_ime_composition flag.
285
286         Not handling WM_CHAR means dead key handling will have to be taken
287         care of by GTK, but that seems to work fine, so no worry.
288
289         Another side-effect is that Alt+keypad digits don't work any
290         longer, but it's better to learn to use GTK's ISO14755 support is
291         anyway.
292
293         Be more careful in checking whether AltGr is involved. Only
294         attempt to handle it if the keyboard actually has it. And
295         explicitly check for *left* Control plus *right* Alt being
296         pressed. Still, allow (left) Alt and/or (right) Control with AltGr
297         chars.
298
299         Handle keys using similar code as in the X11 backend. As we have
300         built a keymap in gdkkeys-win32.c anyway, use it by calling
301         gdk_keymap_translate_keyboard_state() to look up the keysym from
302         the virtual key code and keyboard state. Build the key event
303         string in exactly the same way as the X11 backend.
304
305         If an IME is being used, don't generate GDK events for keys
306         between receiving WM_IME_STARTCOMPOSITION and
307         WM_IME_ENDCOMPOSITION, as those keys are for the IME.
308         
309         For WM_IME_COMPOSITION, handle all the Unicode chars returned from
310         the IME, not just the first one.
311
312         gdk_event_translate() is still quite complex, could split the
313         message handler cases out into separate functions.
314
315         On mouse events, when the mouse is grabbed, use
316         find_real_window_for_grabbed_mouse_event() in order to be able to
317         generate correct crossing events.
318         
319         No longer take a pre-allocated GdkEvent as parameter. Instead,
320         allocate events as needed and append them to the queue. (This is
321         different from how gdk_event_translate() in the X11 backend
322         works.) This change made the code much clearer, especially in the
323         cases where we have to generate several GDK events for one Windows
324         message.  Return FALSE if DefWindowProc() should be called, TRUE
325         if not. If DefWindowProc() should not be called, also return the
326         value to be returned from the window procedure.
327
328         (Previously, the interaction with gdk_event_translate()'s caller
329         was much more complex, when we had to indicate whether the
330         already-queued event should be left in the queue or removed, and
331         in addition also had to indicate whether to call DefWindowProc()
332         or not, and what value to return from the window procedure if
333         not.)
334
335         Don't use a separate "private" variable required to be pointing to
336         the GdkWindowObject of the "window" variable at all times. Just
337         use casts, even if looks a bit uglier.
338
339         Notice destroyed windows as early as possible, and break out of
340         the messsage switch.
341
342         Use _gdk_pointer_root as current_window when the pointer is
343         outside GDK's top-level windows.
344         
345         On WM_INPUTLANGCHANGE, set _gdk_input_locale_is_ime as
346         appropriate, based on ImmIsIME().
347         
348         (gdk_event_translate, gdk_event_send_client_message_for_display,
349         gdk_screen_broadcast_client_message): Implement client messages.
350         Use a registered Windows message to pass GDK client messages. Note
351         that the amount of user data is restricted to four bytes, as it is
352         carried in the LPARAM. (The WPARAM is used for the message type
353         "atom".)
354         
355         (real_window_procedure): Adapt for new gdk_event_translate()
356         interface.
357
358         * gdk/win32/gdkmain-win32.c (_gdk_windowing_init): Set
359         _gdk_input_locale_is_ime initially.
360
361         * gdk/win32/gdkwindow-win32.c: Use g_object_ref()/unref() instead
362         of g_colormap_ref()/unref().
363
364         (gdk_window_new): Made code a bit more like the X11 one, pretend
365         to handle screens (although we just have one for now).
366
367         * gdk/x11/gdkevents-x11.c
368         (gdk_event_send_client_message_for_display,
369         gdk_screen_broadcast_client_message): Document the user data
370         limitation on Win32.
371
372         * gdk/win32/gdkevents-win32.c (print_event): More complete enter
373         and leave notify detail output.
374
375         * gdk/win32/gdkkeys-win32.c (update_keymap): Make dead keys
376         visible to GDK and GTK. Store the corresponding GDK_dead_* keysym
377         for those, so that the GtkIMContextCimple compose tables will
378         work. Deduce if the keyboard layout has the AltGr key, and set the
379         above flag accordingly.
380
381 2003-07-26  Matthias Clasen  <maclas@gmx.de>
382
383         * gtk/gtkwidget.c: Document DND signals.
384
385 2003-07-24  Matthias Clasen  <maclas@gmx.de>
386
387         * gtk/gtktextview.c (popup_targets_received): Make the "Input Methods" insensitive
388         when editing isn't possible.  (#118150)
389
390 2003-07-23  Matthias Clasen  <maclas@gmx.de>
391
392         * gtk/gtkcolorsel.c (gtk_color_selection_init): Make the hue 
393         spinbutton wrap.  (#118097, John Darrington)
394
395         * docs/faq/gtk-faq.sgml: Mention Xnest as a way to debug GTK+ apps. 
396
397 2003-07-20  Hans Breuer  <hans@breuer.org>
398
399         * makefile.msc : new file to build it all
400         * Makefile.am : ... added to EXTRA_DIST
401
402         * gdk/makefile.msc gtk/stock-icons/makefile.msc 
403           gtk/makefile.msc.in tests/makefile.msc : updated
404
405         * gdk/gdk.def gtk/gtk.def : export a bunch of new 
406         functions
407
408         * gtk/gtkbbox.c : use g_return_val_if_fail() if
409         there is a value to return
410
411         * gtk/gtkfontsel.c gtk/gtkiconfactory.c :
412         static correctness
413
414         * gtk/gtkicontheme.c : ported to use GTimeVal instead of
415         struct timeval and GTK_DATA_PREFIX instead of GTK_DATADIR
416
417         * gtk/gtkicontheme.c : use HAVE_LC_MESSAGES
418
419         * gtk/gtkimmulticontext.c : use gtkprivate.h
420
421         * gtk/stock-icons/stock_color_picker_25.png
422           gtk/stock-icons/stock_jump_to_rtl_16.png
423           gtk/stock-icons/stock_jump_to_rtl_24.png
424           gtk/stock-icons/stock_redo_rtl_16.png
425           gtk/stock-icons/stock_redo_rtl_24.png
426           gtk/stock-icons/stock_undelete_rtl_16.png
427           gtk/stock-icons/stock_undelete_rtl_24.png
428           gtk/stock-icons/stock_undo_rtl_16.png :
429           gtk/stock-icons/stock_undo_rtl_24.png :
430         readded as binary
431
432 Sat Jul 19 22:39:24 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
433
434         * gtk/gtktoolitem.c (gtk_tool_item_size_request): remove
435         leftover request of {xy}thickness
436
437 Sat Jul 19 16:26:02 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
438
439         * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): don't
440         attempt to add a NULL icon to the box.
441
442 Sat Jul 19 12:13:20 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
443
444         * gtk/gtknotebook.c (gtk_notebook_focus_in|out): only redraw tabs
445         on focus in/out.
446
447 2003-07-19  Matthias Clasen  <maclas@gmx.de>
448
449         * gtk/gtkstock.h (GTK_STOCK_DIALOG_AUTHENTICATION): New stock id. 
450         * gtk/gtkiconfactory.c (get_default_icons): Add stock_dialog_authentication_48.  (#65765)
451         * gtk/stock-icons/Makefile.am (VARIABLES2, IMAGES): Here too.
452         * gtk/stock-icons/stock_dialog_authentication_48.png: New image.
453
454         * gtk/gtkbbox.h: 
455         * gtk/gtkbbox.c (gtk_button_box_get_child_secondary): New function. (#64562)
456
457 Sat Jul 19 00:18:40 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
458
459         * gtk/gtkwindow.c (gtk_window_set_default_icon): Fix C99
460         declaration
461
462         * gtk/gtkwidget.c (gtk_widget_queue_shallow_draw): new function
463         (gtk_widget_real_focus_{in|out}_event): queue shallow draws
464         instead of full draws.
465
466 2003-07-18  Matthias Clasen  <maclas@gmx.de>
467
468         * gtk/gtkwindow.c: Add properties decorated and gravity.  (#80234)
469
470         * gtk/gtktextview.c (gtk_text_view_class_init): Add a new keybinding signal, move_viewport.
471         (gtk_text_view_move_viewport): New function which implements the move_viewport functionality.
472         (gtk_text_view_move_cursor_internal): If the cursor is not visible, move the viewport. (#78669)
473
474         * gtk/gtkenums.h (GtkScrollStep): New enumeration, used for move_viewport argument.
475
476         * gtk/gtkstatusbar.c (gtk_statusbar_class_init): Add a has_resize_grip property.  (#111779)
477
478         * gtk/gtkwindow.h: 
479         * gtk/gtkwindow.c (gtk_window_set_default_icon): New method.  (#95816)
480
481         * gtk/gtkmessagedialog.h:
482         * gtk/gtkmessagedialog.c (gtk_message_dialog_add_buttons): New method.  
483         (#65501, Sebastian Rittau)
484
485 Fri Jul 18 20:06:57 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
486
487         * gtk/gtktextview.c (changed_handler): use
488         gtk_widget_queue_resize_noredraw().
489
490 2003-07-16  Jody Goldberg <jody@gnome.org>
491
492         * gdk/x11/gdkwindow-x11.c (gdk_window_focus) : fix cut-n-paste-o
493
494 Fri Jul 18 19:55:50 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
495
496         * gtk/gtkwidget.c (gtk_widget_queue_resize_no_redraw): Add this
497         API. 
498
499 Fri Jul 18 18:43:01 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
500
501         By popular request give toolbuttons a border.
502         
503         * gtk/gtktoolitem.c
504         (gtk_tool_item_size_allocate):
505         (gtk_tool_item_size_request): don't request and allocate a border
506         around the child
507
508         * gtk/gtktoolbutton.c 
509         (gtk_tool_button_size_allocate):
510         (gtk_tool_button_size_request): remove these functions
511
512         * gtk/gtktoolbar.c 
513         (gtk_toolbar_size_request):
514         (gtk_toolbar_size_allocate): request and allocate a border if we
515         have a shadow.
516
517 Thu Jul 17 19:24:51 2003  Kristian Rietveld  <kris@gtk.org>
518
519         Merged from stable.
520
521         Fixes issues pointed out by Morten Welinder in #115140.
522
523         * gtk/gtktreeview.c (gtk_tree_view_size_request): fix comment,
524         (do_validate_rows): update validated_area with a logic OR instead
525         of a bitwise OR,
526         (validate_rows_handler): make the if statement match the one in
527         validate_rows(), so we don't leak the timeout.
528
529 Thu Jul 17 19:12:02 2003  Kristian Rietveld  <kris@gtk.org>
530
531         Merged from stable.
532
533         * gtk/gtktreeview.c (gtk_tree_view_remove_widget): the treeview
534         should only grab focus back if the "cell_editable" widget still
535         has focus. (Fixes #110104, testcase provided by Marco Pesenti
536         Gritti).
537
538 Thu Jul 17 19:06:34 2003  Kristian Rietveld  <kris@gtk.org>
539
540         Merged from stable.
541
542         * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
543         Don't set attr.event_mask twice, those things were meant to be
544         ORred. (#115139, pointed out by Morten Welinder).
545
546 Thu Jul 17 16:11:21 2003  Kristian Rietveld  <kris@gtk.org>
547
548         Merged from stable.
549
550         * gtk/gtktreeview.c (gtk_tree_view_rows_reordered): stop editing
551         if needed. (Fixes #115869, reported by Michael Natterer).
552
553 2003-07-15  Matthias Clasen  <maclas@gmx.de>
554
555         * gdk/x11/gdkcursor-x11.c (gdk_display_get_maximal_cursor_size):
556         Fight against gtk-doc stupidity.
557
558 2003-07-13  Matthias Clasen  <maclas@gmx.de>
559
560         * gtk/gtkdnd.c (gtk_drag_begin): Rename parameter target_list back to 
561         targets, to pacify gtk-doc.
562
563 Sun Jul 13 15:57:57 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
564
565         * gtk/gtktoolbutton.c (gtk_tool_button_finalize): Fix leaks of
566         label_text, label_widget and icon_widget. (#117312, 
567         Christian Persch)
568         
569 Sun Jul 13 01:37:51 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
570
571         * gtk/gtkmenu.c (gtk_menu_class_init): new properties
572         "horizontal-offset" and "vertical-offset" that determines the
573         position of the menu when it is a submenu. 
574
575         * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): position
576         submenus according to new vertical- and horizontal-offset
577         properties.
578
579 Sat Jul 12 16:16:04 2003  Kristian Rietveld  <kris@gtk.org>
580
581         Merged from stable.
582
583         * gtk/gtktreeview.c (gtk_tree_view_drag_data_received): special
584         case drags to "0", scroll to the top after dropping. (Fixes #94968,
585         reported by Alp Toker).
586
587 Sat Jul 12 16:08:32 2003  Kristian Rietveld  <kris@gtk.org>
588
589         Merged from stable.
590
591         * demos/gtk-demo/editable_cells.c (cell_edited): fixup bad
592         code (#115784, Owen Taylor).
593
594 Sat Jul 12 16:01:03 2003  Kristian Rietveld  <kris@gtk.org>
595
596         Merged from stable.
597
598         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_property):
599         free the old text and extra_attrs *after* we parsed the new
600         markup string. (Fixes #114485, reported by Owen Taylor).
601
602 Sat Jul 12 15:51:33 2003  Kristian Rietveld  <kris@gtk.org>
603
604         Merged from stable.
605
606         Fixes #113904, testcase provided by Rene Seindal.
607
608         * gtk/gtktreeview.c (gtk_tree_view_button_press): set
609         pressed_button to -1 when a row has been activated,
610         (gtk_tree_view_motion_bin_window): only start a drag if there's
611         a button being pressed.
612
613 Sat Jul 12 15:51:18 2003  Kristian Rietveld  <kris@gtk.org>
614
615         Merged from stable.
616
617         * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): use
618         gdk_window_get_pointer instead of gdk_display_get_window_at_pointer
619         to avoid a roundtrip (#110272, Owen Taylor).
620
621 Sat Jul 12 15:28:26 2003  Kristian Rietveld  <kris@gtk.org>
622
623         Merged from stable.
624
625         This patch really really fixes scrolling. Related bugs: #81627,
626         testcase provided by Timo Sirainen, #111500, testcase provided by
627         manu, #113241, reported by Pedro Gimeno/Michael Natterer.
628
629         * gtk/gtktreeview.c (validate_visible_area): scrolling to a dy
630         which is equal to the lower border of the window means scrolling
631         to an invisible row, always update the dy when scrolling to an
632         invisible row, corrected area_above/below calculations for
633         invisible rows, when walking the tree correct the size
634         subtracted for invalidated rows, fix wrong logic in comment.
635
636 2003-07-11  Matthias Clasen  <maclas@gmx.de>
637
638         * gtk/gtkicontheme.c (pixbuf_supports_svg): Use g_strfreev() to free mime_types. 
639         (#117219, Steve Chaplin)
640
641 Tue Jul  8 20:11:04 2003  Owen Taylor  <otaylor@redhat.com>
642
643         * gdk/x11/gdkevents-x11.c (get_real_window)
644         gdk/x11/gdkinput-x11.c (_gdk_input_common_init)
645         gdk/x11/gdkimage-x11.c (_gdk_windowing_image_init)
646         gdk/x11/gdkprivate-x11.h (_gdk_windowing_image_init)
647         Don't assume that all events start with XEventAny - Xkb events
648         don't! (#105745). So, only do that for core events, and for
649         non-core events, add a system for registering event types
650         that start with XEventAny.
651
652         * gdk/x11/gdkevents-x11.c (gdk_event_translate):
653         Check to see if the result of gdk_window_lookup_for_display()
654         is actually a window.
655
656 Fri Jul 11 20:48:14 2003  Kristian Rietveld  <kris@gtk.org>
657
658         * gtk/gtktreemodel.c (gtk_tree_path_free): make the path != NULL
659         check a silent assert, so it follows the g_free() behaviour.
660
661 2003-07-11  Matthias Clasen  <maclas@gmx.de>
662
663         * gtk/gtkstatusbar.c (gtk_statusbar_init): Center statusbar contents 
664         vertically.  (#109823, Joe Shaw)
665
666 2003-07-11  Morten Welinder  <terra@gnome.org>
667
668         * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixbuf): Fix memory
669         access error.  (#69436)
670
671 Fri Jul 11 14:32:43 2003  Kristian Rietveld  <kris@gtk.org>
672
673         Landing GtkTreeModelFilter and the completion code. (Test program
674         and documentation will follow next week).
675
676         * gtk/gtkcellayout.[ch], gtk/gtkentrycompletion.[ch],
677         gtk/gtktreemodelfilter.[ch], gtk/gtkentryprivate.h: new files.
678
679         * gtkentry.[ch]: added gtk_entry_{get,set}_completion, wrote
680         necessary code to hook up completion.
681
682         * gtktreeviewcolumn.c: made GtkTreeViewColumn implement the new
683         GtkCellLayout interface.
684
685         * gtkmarshalers.list: added BOOLEAN:OBJECT,BOXED.
686
687         * gtk/gtk.h, gtk/Makefile.am, po/POTFILES.in: all updated for the new
688         source files.
689
690 Wed Jul  9 19:48:26 2003  Kristian Rietveld  <kris@gtk.org>
691
692         Merge from stable.
693
694         * gdk/gdkdisplay.c (gdk_display_get_window_at_pointer): don't
695         directly return from ->window_at_pointer, but set win_x and win_y
696         first if needed. (Fixes #110166, reported by Arno Charlet).
697
698         * gdk/gdkwindow.c (gdk_window_get_composite_drawable): change
699         function to accept GdkDrawables and not just GdkWindows. This was
700         already done in some other functions a while back, but this patch
701         got lost for some reason.
702
703 2003-07-09  Matthias Clasen  <maclas@gmx.de>
704
705         * gtk/gtkcontainer.c (gtk_container_focus_sort_tab): Consider the text direction
706         when sorting children.  (#116540, Soeren Sandmann)
707
708 Tue Jul  8 17:36:21 2003  Owen Taylor  <otaylor@redhat.com>
709
710         * gdk/x11/gdkasync.[ch] gdk/gdkdnd-x11.c: 
711         Change _gdk_x11_send_xevent_async() to 
712         _gdk_x11_send_client_message_async() avoid using Xlib
713         internals that are different on Solaris. 
714         (#116917, Morten Welinder)
715
716 2003-07-08  Matthias Clasen  <maclas@gmx.de>
717
718         * gtk/gtkcontainer.c (gtk_container_remove): Doc addition.
719         (#116501, Doug Quale)
720
721 Tue Jul  8 21:35:22 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
722
723         * gtk/gtktoggletoolbutton.h: remove strange #define
724         * gtk/gtktoolbutton.h: fix cut'n'paste error
725         * gtk/gtktoolbutton.c (gtk_tool_button_init): use instance
726         private data
727         * gtk/gtktoolitem.c (gtk_tool_item_class_init): use instance
728         private data instead of g_new0()
729         * gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_init): use
730         instance private data
731
732 Tue Jul  8 21:10:14 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
733
734         * gtk/gtkbutton.c (gtk_button_realize): remove GDK_EXPOSURE_MASK
735         for INPUT_ONLY window
736         * gtk/gtkmenuitem.c (gtk_menu_item_realize): same
737         * gtk/gtknotebook.c (gtk_notebook_realize): same
738         * gtk/gtkexpander.c (gtk_expander_realize): same
739         * gtk/gtkrange.c (gtk_range_realize): same
740
741         Fix #116303
742
743 Tue Jul  8 19:57:14 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
744
745         * gtk/gtkstyle.c (gtk_default_draw_arrow): remove correction on x
746         when detail is "menuitem". With the new menu look is isn't needed
747         anymore.
748
749         * gtk/gtktoolitem.c (gtk_tool_item_toolbar_reconfigured): queue a
750         resize here, so that tool items will get a chance to relayout
751         themselves based on the toolbar configuration.
752
753         change DEFAULT_SPACE_SIZE to 4 instead of 5
754
755         * gtk/gtktoolbar.c 
756         Get rid of "!GTK_BIN (item)->child means separator". Separators
757         are widgets in their own right
758
759         change DEFAULT_SPACE_SIZE to 4 instead of 5
760         
761         (get_space_size): remove this function
762         (toolbar_item_is_homogeneous): new function
763
764         * gtk/gtkseparatortoolitem.c
765         (gtk_separator_tool_item_size_request): new function.
766
767 Tue Jul  8 14:10:35 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
768
769         * gtk/gtktoggletoolbutton.h: use private data, add new
770         internal function _gtk_toggle_tool_button_get_button()
771
772         * gtk/gtktoolbutton.h: move to private data
773
774         * gtk/gtkradiotoolbutton.c, gtk/gtktoolbutton.c: updates for new
775         private data.
776
777 Tue Jul  8 12:50:20 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
778
779         * gtk/gtktoolbutton.c (gtk_tool_button_get_icon_widget): fix a
780         type check, (#116947, Krasimir Angelov)
781
782         * gtk/gtktoolbar.c: Use new GtkToolItem accessors.
783         
784         * gtk/gtktoolitem.[ch]: Use a private struct to hold the instance
785         data. Not instance private data yet, because of bug 116921.
786
787         * gtk/gtktoolitem.h: new accessors:
788                 gtk_tool_item_get_homogeneous ()
789                 gtk_tool_item_get_expand ()
790                 gtk_tool_item_get_pack_end ()
791                 gtk_tool_item_get_use_drag_window ()
792
793 Mon Jul  7 16:50:32 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
794
795         * gtk/gtkcellrenderertext.c
796         (gtk_cell_renderer_text_class_init): remove accidentally committed
797         debugging spew
798
799         * gtk/gtktoolbar.c
800         (gtk_toolbar_paint_space_line): remove this function
801         (gtk_toolbar_expose): always propagate expose, even if the item is
802         a separator item
803
804         * gtk/gtkseparatortoolitem.c
805         (gtk_separator_tool_item_expose): moved here from gtktoolbar.c
806         (get_space_size): new function.
807         (get_space_style): new function
808
809 Sun Jul  6 13:00:20 2003  Owen Taylor  <otaylor@redhat.com>
810
811         * gtk/gtkdnd.c (_gtk_drag_source_handle_event)
812         * gtk/gtkdnd.c (gtk_drag_begin_internal):  Remove use
813         of GDK_POINTER_MOTION_HINT_MASK.
814
815         * gtk/gtkdnd.c (gtk_drag_update_idle): Move updating
816         of the drag into an idle as a superior form of 
817         expose compression.
818
819         * gtk/gtkdnd.c (gtk_drag_begin_internal): Move default icon
820         creation here, so that we have an icon at the start
821         of the drag (e.g., when retrieving the window cache
822         information.)
823
824 Sun Jul  6 17:21:23 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
825
826         * docs/widget_geometry.txt: better drawing of GtkMenuItem
827         * docs/widget_geometry.txt: add notes about GtkMenu
828         * gtk/gtkstyle.c: remove leftover "#include "gtkhandlebox.h""
829
830 Sat Jul  5 10:34:00 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
831
832         * gtk/gtkmenu.c: add vertical_padding style property.
833         
834         * gtk/gtkmenuitem.c: add style properties toggle_spacing,
835         arrow_spacing and horizontal_padding. Also center separators and
836         make them a bit taller.
837
838         * gtk/*menuitem.c: use new style properties.
839         
840         * docs/widget_geometry.txt: Add note about GtkMenuItem
841
842         * gtk/gtkstyle.c 
843         (gtk_default_draw_vline, gtk_default_draw_hline):
844         fix +/-1 errors. 
845
846         (gtk_default_draw_shadow): draw a black border around menus.
847
848         * gtk/gtkvseparator, gtk/gtkhseparator.c, gtk/gtkmenuitem.c: fix
849         calls to gtk_paint_hline() and gtk_paint_vline() (they take x1,
850         x2 and y1, y2 respectively, not x, width and y, height).
851
852 Sat Jul  5 09:55:38 2003  Owen Taylor  <otaylor@redhat.com>
853
854         * gdk/x11/gdkdnd-x11.c (precache_target_list): Lookup
855         all the atoms in the target list at once.
856
857         * gdk/x11/gdkdnd-x11.c (gdk_drag_get_protocol_for_display):
858         Local drag short-circuit.
859
860         * gdk/x11/gdkdnd-x11.c (gdk_drag_motion): For the
861         local case, poke the actions in directly instead of
862         going through xdnd_set_actions.
863
864         * gdk/x11/gdkdnd-x11.c (xdnd_read_actions): Short-circuit
865         the local case.
866
867         * gdk/x11/gdkdnd-x11.c (xdnd_manage_source_filter): Don't
868         XSelectInput()/add a filter if the drag is local.
869
870         * gdk/x11/gdkdnd-x11.c (gdk_drag_get_selection): 
871         Simplify handling of "XdndSelection".
872
873         * gdk/x11/gdkevents-x11.c (gdk_event_send_client_message_to_all_recurse): Somehow, 
874         a WM_STATE => _NET_WM_STATE change hand been made here.
875
876         * gdk/x11/gdkproperty-x11.c (_gdk_x11_precache_atoms): Free
877         xatom_names, not atom_names.
878
879         * tests/testdnd.c (target_drag_motion): Make the trashcan
880         open again. (Got lost in deprecation cleanup.)
881
882 Sat Jul  5 00:49:32 2003  Owen Taylor  <otaylor@redhat.com>
883
884         * gtk/gtkdnd.c (gtk_drag_begin): Move the grabs up
885         earlier, so we don't get a big pile of uncompressed
886         motion events before the grab takes effect.
887
888         * gtk/gtkdnd.c (gtk_drag_update_icon): Call 
889         gdk_window_process_all_updates() so that the area
890         we are dragging over gets a change to redraw.
891
892         * gtk/gtkdnd.c (_gtk_drag_dest_handle_event): Use 
893         gdk_window_get_position(), not gdk_window_get_origin().
894
895         * gdk/x11/gdkwindow-x11.[ch] (gdk_window_have_shape_ext)
896         gdkdisplay-x11.h: use XShapeQueryExtension to 
897         avoid duplicate XQueryExtension when we actually
898         use it. Remove unnecessary caching in GdkDisplayX11.
899
900 Fri Jul  4 23:49:22 2003  Owen Taylor  <otaylor@redhat.com>
901
902         * gdk/x11/gdkasync.[ch] (_gdk_x11_get_window_child_info): 
903         Function to get a range of information about all the
904         children of a window in a single pass.
905
906         * gdk/x11/gdkdnd-x11.c (get_client_window_at_coords_recurse)
907         gdk/x11/gdkdnd-x11.c (gdk_window_cache_new): Use
908         _gdk_x11_get_window_child_info() to greatly reduce
909         the number of roundtrips.
910
911 Fri Jul  4 22:57:18 2003  Owen Taylor  <otaylor@redhat.com>
912
913         * gdk/x11/gdkasync.[ch] (_gdk_send_xevent_async): Add
914         a function to XSendEvent() and call a calback on
915         failure/success.
916
917         * gdk/x11/gdkdnd-x11.c (xdnd_send_xevent): Short-circuit
918         messages to the same process, use _gdk_send_xevent_async().
919
920 Fri Jul  4 22:26:27 2003  Owen Taylor  <otaylor@redhat.com>
921
922         * gdk/x11/gdkwindow-x11.[ch] gdkevents-x11.c: Split
923         toplevel-specific pieces of GdkWindowImplX11 into
924         a separate GdkToplevelX11 structure.
925
926 Fri Jul  4 22:05:09 2003  Owen Taylor  <otaylor@redhat.com>
927
928         * gdk/x11/gdkasync.c (struct _SetInputFocusState): Fix
929         some leftover fields.
930
931 Fri Jul  4 15:57:52 2003  Owen Taylor  <otaylor@redhat.com>
932
933         * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter):
934         Use asynchronously _gdk_x11_set_input_focus_safe
935         to avoid having to trap errors and XSync().
936
937         * gdk/x11/gdkwindow-x11.c (gdk_window_focus): Use
938         _gdk_x11_set_input_focus_safe() here as well.
939
940         * gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed):
941         Rework handling of property notifies on _NET_WM_STATE
942         so that we ignore _NET_WM_DESKTOP notifies unless we
943         really care.
944
945         * gdk/x11/gdkimage-x11.c (gdk_image_check_xshm): Use
946         XShmQueryExtension() rather than XQueryExtension() to
947         avoid extra rountrip.
948
949         * gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_init):
950         Remove unused call to XGetWindowAttributes()
951         
952         * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Remove
953         unused call to XGetKeyboardControl().
954
955         * gdk/x11/gdkdisplay-x11.c gdk/gdk.def (gdk_display_flush):
956         Add (#99571)
957
958         * gdk/win32/gdkevents-win32.c gdk/linux-fb/gdkevents-fb.c 
959         No-op implementations of gdk_display_flush().
960
961         * gdk/gdkwindow.c (gdk_window_process_all_updates): Use
962         gdk_display_flush() rather than gdk_flush() to avoid
963         XSync().
964         
965         * gdk/x11/gdkwindow-x11.c (update_wm_hints)
966         gdk/x11/gdkwindow-x11.h: Centralize all handling of WM_HINTS here
967         so that we don't have to get the property back from the server.
968
969         * gdk/x11/gdkwindow-x11.c (show_window_internal): Store
970         the serial of when we map a toplevel to allow optimizing
971         out notifies on _NET_WM_STATE/_NET_WM_DESKTOP.
972
973         * gdk/x11/gdkevents-x11.c (gdk_event_translate): Don't
974         XTranslateCoordinates() for override-redirect windows.
975
976 Fri Jul  4 15:59:27 2003  Owen Taylor  <otaylor@redhat.com>
977
978         * gdk/x11/gdkwindow-x11.c (gdk_window_set_group): Remove comment
979         about setting window group after the window is mapped from docs
980         - nothing the ICCCM forbids that.
981
982         * gdk/x11/gdkcursor-x11.c (gdk_display_get_maximal_cursor_size):
983         Fix g_return_val_if_fail() in void return function.
984
985         * configure.in: Fix misplaced comma that was resulting
986         in XShm always being disabled.
987
988 Fri Jul  4 19:55:49 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
989
990         * tests/stresstest-toolbar: remove this accidentally committed
991         file.
992         
993         * tests/stresstest-toolbar.c: really add this new test
994
995 Fri Jul  4 19:06:31 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
996
997         * tests/stresstest-toolbar.c: new test for removing items
998         
999         * tests/testtoolbar.c: add a popup menu
1000
1001         * gtk/gtkcontainer.c (gtk_container_remove): add hack to avoid
1002           assert widget->parent == container when the container is a
1003           toolbar.
1004
1005         * gtk/gtktoolbar.c (gtk_toolbar_remove_tool_item): Make much
1006         simpler. Also make correct.
1007
1008         * gtk/gtktoolbar.c (gtk_toolbar_button_press): make
1009         popup_context_menu a boolean handled signal.
1010
1011 2003-07-04  Tor Lillqvist  <tml@iki.fi>
1012
1013         * gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_polygon,
1014         gdk_win32_draw_segments, gdk_win32_draw_lines): We can calculate
1015         the width and height of the bounding rectangle only after the
1016         minumum x and y have been found, and need a separate loop for
1017         it. Thanks to Bruce Hochstetler for providing a sample program
1018         exhibiting the bug.
1019
1020 2003-07-03  Tor Lillqvist  <tml@iki.fi>
1021
1022         * gdk/gdk.def: Add gdk_string_to_compound_text_for_display.
1023         (#116537, Peter Zelezny)
1024
1025 Thu Jul  3 03:13:20 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
1026
1027         * gtk/gtkpaned.c (gtk_paned_set_child_property): Insert cast to
1028         fix warning. Assign something to old_value to quiet gcc
1029
1030         * gtk/gtkcalendar.c 
1031         (start_spinning): gtk_timeout_add->g_timeout_add
1032
1033         * gtk/gtkicontheme.c 
1034         (theme_lookup_icon): Make it compile (remove double semicolon)
1035
1036         * gtk/gtktoolbutton.c
1037         (gtk_tool_button_class_init): Long comment about properties.
1038         (gtk_tool_button_class_init): Improve text for "use_underline"
1039         property
1040         (gtk_tool_button_create_menu_proxy): Fix up to use_mnemonic based
1041         on whether the passed-in label has use_mnemonic set
1042         (gtk_tool_button_create_menu_proxy): Split image cloning out in
1043         new function. Make that function also handle image with pixbuf
1044         storage.
1045         (gtk_tool_button_construct_contents): Use gtk_widget_destroy()
1046         instead of gtk_container_remove().
1047         (gtk_tool_button_construct_contents): Fix eliding bug
1048
1049         * gtk/gtktoolbar.c
1050         (gtk_toolbar_finalize): New function. Unref tooltips, pointed out
1051         by Morten Welinder
1052         (gtk_toolbar_button_press): Make popup_context_menu signal provide
1053         coordinates and button number
1054
1055         * tests/testtoolbar.c (main): Add new pixbuf toolbutton
1056
1057         * tests/apple-red.png: new file
1058
1059 Wed Jul  2 18:00:56 2003  Owen Taylor  <otaylor@redhat.com>
1060          
1061         * gtk/gtkicontheme.[ch]: Implement a loader for
1062         named themed icon based on from gnome-desktop library
1063         by Alex Larsson.
1064
1065         * gtk/gtkiconthemeparser.[ch]: .ini file parsing code
1066         from gnome-desktop.
1067
1068         * gtk/gtkiconfactory.[ch]: Add
1069         gtk_icon_source_set/get_icon_name() to allow stock icons
1070         to be based off of named theme icons.
1071
1072         * gtk/gtkiconfactory.c: Rework sources so that the source
1073         is *either* a pixbuf, or a filename, or an icon name,
1074         instead of the pixbuf/filename mix it was before. Put a
1075         workaround for get_pixbuf() so that it can return the
1076         filename pixbuf, e.g, for render_icon().
1077
1078         * gtk/gtkiconfactory.c: Make the default setup use
1079         themed icons, and add builtin icons to the default
1080         icon theme for all the standard pixbufs, so we
1081         don't rely on actually having an icon theme on disk.
1082
1083         * gtk/gtkrc.c: Add support for @"icon-name" to specify
1084         a themed icon for a stock icon source.
1085
1086         * tests/Makefile.am test/testicontheme.c: Add a test
1087         program from gnome-desktop.
1088
1089         * gdk/x11/gdkevents-x11.c gtk/gtksettings.c: Add
1090         Net/IconThemeName / gtk-icon-theme-name setting.
1091
1092         * gtk/gtkiconfactory.c (ensure_cache_up_to_date): Actually
1093         update the icon cache serial so we don't continually
1094         think we are out-of-date.
1095
1096         * gtk/gtkwidget.c: Fix a couple of references in doc comments 
1097         to ::direction_set that should have been to ::direction-changed
1098
1099 Wed Jul  2 14:45:41 2003  Owen Taylor  <otaylor@redhat.com>
1100
1101         * gtk/gtktoolbar.c (gtk_toolbar_realize): Attach the
1102         style to the widget.
1103
1104 Wed Jul  2 15:42:26 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
1105
1106         * gtk/gtk.h: Add new toolbar headers
1107
1108         * tests/testtoolbar.c: new file
1109
1110         * tests/Makefile.am (noinst_PROGRAMS): Add testtoolbar.c
1111
1112         * gtk/gtkexpander.c (gtk_expander_class_init): Make it compile
1113
1114 Tue Jul  1 22:49:25 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
1115
1116         * gtk/gtktoolbar.c:
1117         (gtk_toolbar_remove_tool_item): Fix bug where list is changed
1118         inside a for loop (pointed out by Morten Welinder).
1119         (gtk_toolbar_focus_home_or_end): Minor formatting change
1120
1121         Comments from Owen:
1122
1123         * gtk/gtktoolbutton.c: remove copy of elide_underscores(). Use
1124         gtk_toolbar_elide_underscores instead.
1125
1126         * gtk/gtktoolbar.c: rename signal from focus_ends to
1127         focus_home_or_end.
1128         (_gtk_toolbar_elide_underscores): export this as an internal
1129         function.
1130         (gtk_toolbar_move_focus): add comment explaining difference to
1131         gtk_toolbar_focus();
1132         (gtk_toolbar_list_children_in_focus_order): Make TAB_FORWARD and
1133         TAB_BACKWARD focus the right widgets in RTL mode
1134
1135         * gtk/gtktoolbutton.c (gtk_tool_button_new): Change to take
1136         "label" and "icon" parameters
1137
1138         * gtk/gtktoolbutton.[ch]: remove icon_set property.
1139
1140 2003-07-01  Matthias Clasen  <maclas@gmx.de>
1141
1142         * gtk/gtkspinbutton.c (gtk_spin_button_set_digits): Improve docs.  (116364, Morten Welinder)
1143
1144         * tests/testgtk.c: Use GtkFontButton and GtkColorButton to bring up the corresponding 
1145         dialogs.
1146
1147         * gtk/Makefile.am (gtk_public_h_sources): Add gtkfontbutton.h, gtkcolorbutton.h. 
1148         (gtk_c_sources): Add gtkfontbutton.c, gtkcolorbutton.c. 
1149
1150         * gtk/gtkfontbutton.[hc]: New files containing a font picker widget. 
1151
1152         * gtk/gtkcolorbutton.[hc]: New files containing a color picker widget. 
1153
1154         * gtk/gtk.h: Include gtkexpander.h, gtkfontbutton.h, gtkcolorbutton.h.
1155
1156         * gtk/gtkexpander.c: Small additions to the docs. 
1157
1158 2003-07-01  Tor Lillqvist  <tml@iki.fi>
1159
1160         * gdk/win32/gdkwindow-win32.c (_gdk_windowing_window_get_pointer):
1161         WindowFromPoint() wants screen coordinates (#115422, Tim Evans).
1162
1163 2003-07-01  Matthias Clasen  <maclas@gmx.de>
1164
1165         * configure.in: Check for Xcursor.
1166         
1167         * gdk/x11/gdkcursor-x11.c:
1168         * gdk/gdkdisplay.h: 
1169         * gdk/gdkcursor.h: RGBA cursor support based on Xcursor. New functions:
1170         gdk_cursor_new_from_pixbuf(), gdk_display_supports_cursor_alpha(), 
1171         gdk_display_supports_cursor_color(), gdk_display_get_default_cursor_size() and
1172         gdk_display_get_maximal_cursor_size().  (#69436)
1173
1174 2003-06-30  Tor Lillqvist  <tml@iki.fi>
1175
1176         * gdk/win32/gdkdnd-win32.c (find_window_enum_proc): New function,
1177         callback proc for EnumWindows().
1178         (gdk_drag_find_window_for_screen): Actually take the drag_window
1179         argument into account: Instead of using WindowFromPoint(), use
1180         EnumWindows(), to be able to skip the drag_window. (#116320, Tony
1181         M Brown, Herman Bloggs)
1182
1183         * gdk/win32/*.c: Replace gdk_drawable_ref()/unref() and
1184         gdk_window_ref()/unref() calls with g_object_ref()/unref().
1185         Consistently use %p format in debugging output of pointers and
1186         HANDLEs.
1187
1188 2003-06-30  Mark McLoughlin  <mark@skynet.ie>
1189
1190         * gtk/gtkexpander.h: kill some stray characters
1191         breaking the build.
1192
1193 2003-06-30  Mark McLoughlin  <mark@skynet.ie>
1194
1195         Add GtkExpander. See discussion in bug #60553.
1196
1197         * gtk/gtkexpander.[ch]: add.
1198         
1199         * gtk/Makefile.am: build gtk-expander.[ch].
1200         
1201         * docs/widget_geometry.txt: add info on the layout
1202         of GtkExpander.
1203
1204 Mon Jun 30 01:20:19 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
1205
1206         * gtkradiotoolbutton.c:         new file
1207         * gtkradiotoolbutton.h:            "
1208         * gtktoggletoolbutton.c:           "
1209         * gtktoggletoolbutton.h:           "
1210         * gtktoolbutton.c:                 "
1211         * gtktoolbutton.h:                 "
1212         * gtktoolitem.c:                   "
1213         * gtktoolitem.h:                   "
1214         * gtktoolbar.c: many changes
1215         * gtktoolbar.h: many changes
1216         * gtkseparatortoolitem.c:       new file
1217         * gtkseparatortoolitem.h           "
1218
1219         New toolbar.
1220         
1221         - Items on a toolbar are now separate widgets, instances of a
1222           subclass of GtkToolItem.
1223
1224         - Items there aren't room for on the toolbar are unmapped, and an
1225           overflow menu with a proxy menu item is added instead.
1226
1227         - The toolbar is keyboard navigatable. Press TAB to focus the
1228           first item, then use arrow keys and Ctrl TAB to move around the
1229           toolbar. TAB moves focus out of the toolbar.
1230
1231         - Bascially all of the old toolbar API is deprecated in favor of
1232           new API in gtktoolbar.h, gtktoolitem.h, gtktoolbutton.h
1233
1234         - The toolbar is backwards compatible with the old toolbar.
1235
1236 2003-06-29  Matthias Clasen  <maclas@gmx.de>
1237
1238         * gtk/gtkwidget.c (gtk_widget_class_init): Remove a duplicate parameter from docs, some more formatting 
1239         fixes. 
1240
1241 2003-06-28  Tor Lillqvist  <tml@iki.fi>
1242
1243         Fix for #111028, thanks to J. Ali Harlow, who writes:
1244         I found that the GdkPixmap->GdkImage reference really isn't
1245         important. It's only really there to have somewhere convenient to
1246         store the location of the pixel data in the pixmap and as an easy
1247         way of accessing the dimensions of that data. I have therefore put
1248         together a fix which removes this reference entirely which seems
1249         to solve the problem.
1250
1251         * gdk/win32/gdkpixmap-win32.h (struct _GdkPixmapImplWin32):
1252         Instead of a pointer to a GdkImage, keep a pointer to the pixels
1253         directly.
1254
1255         * gdk/win32/gdkimage-win32.c (_gdk_win32_setup_pixmap_image): Remove.
1256         (_gdk_win32_new_image): New function, replacing the above. Creates
1257         a GdkImage without any associated GdkPixmap.
1258         (gdk_image_new_bitmap, _gdk_image_new_for_depth): Use it instead.
1259
1260         * gdk/win32/gdkprivate-win32.h: Remove from here, too.
1261
1262         * gdk/win32/gdkcursor-win32.c (gdk_cursor_new_from_pixmap)
1263         * gdk/win32/gdkdrawable-win32.c (blit_from_pixmap)
1264         * gdk/win32/gdkgc-win32.c (_gdk_win32_bitmap_to_hrgn)
1265         * gdk/win32/gdkmain-win32.c (_gdk_win32_drawable_description):
1266         * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_impl_win32_finalize,
1267         gdk_pixmap_new, gdk_bitmap_create_from_data, gdk_pixmap_foreign_new)
1268         Corresponding changes.
1269
1270 Thu Jun 26 21:41:16 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
1271
1272         * gtk/gtktreeviewcolumn.c
1273         (gtk_tree_view_column_cell_set_cell_data): only set "is_expander"
1274         and "is_expanded" if the new value is different fromt he old one.
1275
1276 Wed Jun 25 18:59:15 BST 2003  Tony Gale <gale@gtk.org>
1277
1278         * docs/faq/gtk-faq.sgml: Fix typos. Update
1279         thread example I missed yesterday.
1280
1281 2003-06-24  Matthias Clasen  <maclas@gmx.de>
1282
1283         * gtk/gtkspinbutton.c (gtk_spin_button_class_init): Add a blurb for shadow_type.
1284
1285         * gtk/gtkwidget.c (gtk_widget_class_install_style_property_parser): 
1286         (gtk_widget_class_list_style_properties): Use same parameter names as in 
1287         header (to silence gtk-doc).
1288
1289         * gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Fix doc comments.
1290
1291 Tue Jun 24 20:00:45 BST 2003  Tony Gale <gale@gtk.org>
1292
1293         * docs/faq/gtk-faq.sgml: Thread support updates
1294         from Owen. Various suggestions from Steve Chaplin.
1295
1296 2003-03-24  Mohammad DAMT  <mdamt@bisnisweb.com>
1297
1298         * po/id.po: Updated Indonesian translation
1299
1300 2003-06-21  Tor Lillqvist  <tml@iki.fi>
1301
1302         * gdk/win32/gdkevents-win32.c (gdk_event_translate): When
1303         emulating X11's automatic grab on button down, pass owner_events
1304         as FALSE. According to the XLib spec, automatic grabs use True for
1305         owner_events when OwnerGrabButtonMask is selected, and I don't see
1306         the X11 backend doing that. (#82497, #91619, #92835, #107322, #110271)
1307         (find_window_for_pointer_event): Improve debugging output.
1308
1309 2003-06-17  Tor Lillqvist  <tml@iki.fi>
1310
1311         * gtk-zip.sh.in (DLLDIR): Look for DLLs also in the bin
1312         subdirectory, where libtool 1.5 installs them.
1313
1314         * README.win32: Point to FSF's binary Win32 distribution of
1315         gettext-runtime.
1316
1317 2003-06-17  Matthias Clasen  <maclas@gmx.de>
1318
1319         * acinclude.m4 (JH_PATH_XML_CATALOG, JH_CHECK_XML_CATALOG): New
1320         macros to check for XML catalog contents and path, borrowed from
1321         gtk-doc. 
1322         * configure.in: New option --enable-man to enable regeneration of
1323         man pages from Docbook, if the necessary tools are found.
1324
1325 2003-06-15  Matthias Clasen  <maclas@gmx.de>
1326
1327         * gtk/gtkcalendar.c (gtk_calendar_class_init): 
1328         * gtk/gtknotebook.c (gtk_notebook_class_init): 
1329         * gtk/gtkalignment.c (gtk_alignment_class_init): 
1330         * gtk/gtkpaned.c (gtk_paned_class_init): Document new properties
1331         as 2.4 additions.
1332
1333         * gtk/gtkwidget.c (gtk_widget_class_init): Move inline signal docs 
1334         to the proper place, immediately before the g_signal_new() call.
1335
1336         * gtk/gtktextiter.h: Make the flags-nature of GtkTextSearchFlags 
1337         more obvious.  (#115122, Jeff Franks)
1338
1339 2003-06-12  Anders Carlsson  <andersca@codefactory.se>
1340
1341         * gtk/gtkwidget.c: (event_window_is_still_viewable):
1342         Special case pixmaps. (#114880)
1343         
1344 2003-06-12  Matthias Clasen  <maclas@gmx.de>
1345
1346         * gtk/gtkwidget.c: Document child-notify and drag-data-received
1347         signals. Owen, we need to figure out where the best place for
1348         these comments in the source is. I currently put them in front of
1349         the signals enum.
1350
1351 2003-06-11  Matthias Clasen  <maclas@gmx.de>
1352
1353         * gtk/gtkdnd.c (gtk_drag_check_threshold): s/threshhold/threshold/.
1354
1355 Thu Jan 12 01:01:19 2003  Kristian Rietveld  <kris@gtk.org>
1356
1357         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
1358         silly typo fix. s/seperator/separator/. This gets rid of the
1359         assert spam when using TreeView.
1360
1361 Tue Jun 10 11:23:48 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
1362
1363         * modules/input/gtkimcontextxim.c (xim_instantiate_callback): New
1364         function for XIM instantiate callback.
1365         * modules/input/gtkimcontextxim.c (xim_info_try_im): New function
1366         where call to XOpenIM() or XRegisterIMInstantiateCallback() is
1367         actually made.
1368         * modules/input/gtkimcontextxim.c (xim_destroy_callback): New function
1369         for XIM's destroy callback.
1370         * modules/input/gtkimcontextxim.c (get_im): add a check if info->im 
1371         is set or not - if it's not set, call xim_info_try_im() to try to
1372         initiaize it.
1373         * modules/input/gtkimcontextxim.c (reinitialize_ic): reset
1374         filter_key_release flag of the context.
1375         * modules/input/gtkimcontextxim.c (get_ic_real): removed
1376         * modules/input/gtkimcontextxim.c (gtk_im_context_xim_get_ic): move
1377         code from the removed get_ic_real().
1378
1379         For XIM instantiation, destruction and re-instantiation. With
1380         this, Gtk+ apps will be able to connect or reconnect to the XIM,
1381         when it starts after the apps, or when the XIM gets lost and recover.
1382         (#113099, #107782).
1383
1384 Mon Jun 10 01:12:31 2003  Kristian Rietveld  <kris@gtk.org>
1385
1386         Merged from stable.
1387
1388         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_get_size):
1389         check if width is !null, not *width. Doh.
1390
1391 Tue Jun 10 01:09:33 2003  Kristian Rietveld  <kris@gtk.org>
1392
1393         Merged from stable.
1394
1395         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
1396         Remove the weird dx logic, get all cell_area and background_area
1397         calculations right. Not sure what was up with it before. (Fixes
1398         #110989, testcase from Vasco Alexandre da Silva Costa).
1399
1400 Tue Jun 10 00:58:23 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
1401
1402         * tests/testgtk.c: Make it compile with C89 compilers
1403
1404 2003-06-10  Matthias Clasen  <maclas@gmx.de>
1405
1406         * gtk/gtktextview.c (gtk_text_view_class_init): Install boolean
1407         property "overwrite".
1408         (gtk_text_view_[gs]et_property): Handle "overwrite".
1409         * gtk/gtktextview.[hc] (gtk_text_view_[gs]et_overwrite): Getter
1410         and setter for "overwrite" property.  (#110241, Jeroen Zwartepoorte)
1411
1412 2003-06-09  Matthias Clasen  <maclas@gmx.de>
1413
1414         * gtk/gtkpaned.c (gtk_paned_class_init): Install boolean child
1415         properties "resize" and "shrink".
1416         (gtk_paned_[gs]et_child_property): Implementations of 
1417         GtkContainer::[gs]et_child_property.  
1418         * tests/testgtk.c (toggle_resize, toggle_shrink): Use the new
1419         paned child properties instead of remove/add hacks.  (#114667, 
1420         Soeren Sandmann) 
1421
1422 Mon Jun  9 16:18:11 2003  Owen Taylor  <otaylor@redhat.com>
1423
1424         * gtk/gtknotebook.c (gtk_notebook_button_press): Back
1425         out event->window test - it wasn't needed because
1426         of the call to get_widget_coordinates().
1427
1428         * gtk/gtknotebook.c (gtk_notebook_button_press): Remove
1429         call to gtk_widget_grab_focus() when not clicking on
1430         any tabs. (Real fix for #114534)
1431
1432 Sun Jun  8 22:03:09 2003  Owen Taylor  <otaylor@redhat.com>
1433
1434         * tests/testdnd.c: Use application/x-rootwindow-drop for
1435         root window drops. (#108670, Alex Larsson)
1436
1437         * gdk/x11/gdkdnd-x11.c (gdk_drag_motion) gtk/gtkdnd.c (gtk_drag_drop): 
1438         Accept either application/x-rootwin-drop (what GTK+ has always used)
1439         or application/x-rootwindow-drop (what the XDND standard specifies).
1440
1441 Fri Jun  6 11:07:33 2003  Owen Taylor  <otaylor@redhat.com>
1442
1443         * gtk/gtkwidget.c (event_window_still_viewable): 
1444         Before delivering an event to a widget, check that
1445         (if relevant), the event's window is still viewable.
1446         (#105642, Dennis Björklund)
1447
1448         * gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): 
1449         NULL out private->parent, since after destruction
1450         it might not be valid any more.
1451
1452         * gdk/gdkwindow.c (gdk_window_is_viewable): Fix some
1453         accesses before g_return_val_if_fail(). Treat 
1454         DESTROYED windows as unmapped.
1455
1456 Thu Jun  5 09:28:03 2003  Owen Taylor  <otaylor@redhat.com>
1457
1458         * gtk/gtkentry.c: Recompute unconditionally in
1459         gtk_entry_style_set, and in a new gtk_label_screen_changed().
1460         Protect the guts of recompute_idle_func() with
1461         gtk_widget_has_screen(). (#114040, Morten Welinder) 
1462         Fix FALSE/0 confusion.
1463         
1464 Sun Jun  8 18:27:14 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
1465
1466         * gdk/gdkpixbuf-drawable.c (G8fromRGB565): swap G and B.
1467         Fixes (#114669)
1468
1469 Sun Jun  8 11:27:29 2003  Owen Taylor  <otaylor@redhat.com>
1470
1471         * gtk/gtkviewport.c (viewport_set_adjustment): Fix bug with 
1472         set_adjustment (viewport, NULL);
1473
1474 2003-06-07  Matthias Clasen  <maclas@gmx.de>
1475
1476         * gtk/gtkiconfactory.c (get_default_icons): 
1477         * gtk/stock-icons/stock_{undo,redo,undelete,revert}_rtl_{16,24}.png:
1478         * gtk/stock-icons/Makefile.am: Add rtl variants of undo, redo,
1479         undelete and revert.  (#96633)
1480         
1481 Fri Jun  6 16:25:44 2003  Owen Taylor  <otaylor@redhat.com>
1482
1483         * gtk/gtkviewport.c: Many fixes, along with extensive cleanups and 
1484         refactoring of code to reduce duplication; fixes include:
1485
1486         - gtk_viewport_realize(): Position the window correct from adjustment 
1487         values. (#110737, Michael Natterer)
1488
1489         - Remove some division-by-zero checks in places where there is no 
1490         longer division. (#110737)
1491
1492         - gtk_viewport_class_init: Make the hadjustment/vadjustment properties 
1493         G_PARAM_CONSTRUCT, so that there will always be adjustments, even 
1494         if gtk_viewport_new isn't used (#101135, Thomas Leonard).
1495
1496         - Switch over to encapsulated lazy-creation for hadjustment/
1497         vadjustment; even with the CONSTRUCT property, we need this after
1498         destroy.
1499
1500         - When updating the adjustment, immediate set their values to
1501         match the the current range of the viewport, and update the 
1502         viewport position to match the value of the new adjustments. 
1503         (Part of #1165)
1504
1505 2003-06-06  Tor Lillqvist  <tml@iki.fi>
1506
1507         * gdk/win32/gdkprivate-win32.h: Fix typo.
1508
1509         * gdk/win32/gdkgc-win32.c (_gdk_win32_gc_new): Set
1510         graphics_exposures and subwindow_mode, too, even if they aren't
1511         currently used.
1512
1513 Fri Jun  6 23:38:23 2003  Kristian Rietveld  <kris@gtk.org>
1514
1515         Merged from stable.
1516
1517         * gtk/gtktreeview.c (do_expand_collapse),
1518         (expand_collapse_timeout), (cancel_arrow_animation): made
1519         expand_collapse_timeout a wrapper with locks around     
1520         do_expand_collapse, made cancel_arrow_animation use
1521         do_expand_collapse. Fixes threadlock. (Fixes #111286, patch from
1522         Peter Bloomfield).
1523
1524 Fri Jun  6 11:05:45 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
1525
1526         * modules/input/gtkimcontextxim.h (struct _GtkIMContextXIM):
1527         * modules/input/gtkimcontextxim.c (preedit_start_callback,
1528         preedit_draw_callback, preedit_done_callback): Add a 'finalizing' flag 
1529         to keep preedit-[start,changed,end] signals from being called during
1530         finalization (#111861).
1531
1532 2003-06-05  Noah Levitt  <nlevitt@columbia.edu>
1533
1534         * gtk/gtknotebook.c (gtk_notebook_button_press): Ignore button
1535         presses that are not on the tab (#114534).
1536
1537 Thu Jun  5 20:35:40 2003  Owen Taylor  <otaylor@redhat.com>
1538
1539         * demos/Makefile.am: Conditionalize dependencies for
1540         gdk-pixbuf-csource on cross-compilation (#112391, J. Ali Harlowe). 
1541         Buildtest-inline-pixbufs.h in srcdir. Don't try to build 
1542         test-inline-pixbufs.h if we don't have libpng.
1543
1544         * gtk/stock-icons/Makefile.am (gtkstockpixbufs.h): 
1545         Add a dependency on gdk-pixbuf.loaders when not 
1546         cross-compiling, remove the dependency on gdk-pixbuf-csource
1547         when not cross compiling.
1548
1549 Thu Jun  5 20:12:51 2003  Owen Taylor  <otaylor@redhat.com>
1550
1551         * gtk/gtkwindow.c (gtk_window_get_default_size): Handle
1552         gtk_window_get_geometry_info() returning NULL.
1553         (#107311, John Finlay)
1554
1555 Thu Jun  5 19:24:33 2003  Owen Taylor  <otaylor@redhat.com>
1556
1557         * gtk/gtktoolbar.c (gtk_toolbar_expose): Subtract off
1558         twice the border width from the width/height, not
1559         1x the border width. (#106336, Rodney Dawes)
1560
1561 Thu Jun  5 15:33:38 2003  Owen Taylor  <otaylor@redhat.com>
1562  
1563         * gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_next_line):
1564         If at the end of the buffer, move to the end iter -
1565         parallels behavior of move_iter_to_previous_line.
1566         (#81960, Padraig O'Briain)
1567  
1568 Thu Jun  5 16:12:54 2003  Owen Taylor  <otaylor@redhat.com>
1569
1570         #80023, Yao Zhang, TOKUNAGA Hiroyuki
1571
1572         * gtk/gtktextlayout.c (gtk_text_layout_get_cursor_locations):
1573         Account for the preedit cursor offset if the iter passed
1574         in is at the same place as the insertion cursor.
1575
1576         * gtk/gtktextview.c (gtk_text_view_get_cursor_location):
1577         Encapsulate getting the insertion cursor location.
1578
1579         * gtk/gtktextview.c (gtk_text_view_update_im_spot_location):
1580         Pass the real y/height to the IM context. Take 
1581         text_view->x/yoffset into account.
1582
1583 Thu Jun  5 16:52:54 2003  Owen Taylor  <otaylor@redhat.com>
1584
1585         * gtk/gtktextview.[ch]: Never scroll on focus in
1586         (#81893, Patch from Paolo Maggi)
1587
1588         * gtk/gtktextview.c (gtk_text_view_scroll_[h]pages): 
1589         Scroll to the current cursor location before handling
1590         the action, in case the user just tabbed in
1591         and the cursor is offscreen.
1592
1593 Thu Jun  5 17:20:40 2003  Owen Taylor  <otaylor@redhat.com>
1594          
1595          #107883, Gustavo Giráldez
1596
1597         * gtk/gtktextlayout.c (gtk_text_layout_emit_changed):
1598         Split out the case where we know we changed, and 
1599         already dealt with our cached line being invalidated
1600         from external calls to gtk_text_layout_changed.
1601
1602         * gtk/gtktextlayout.c (gtk_text_layout_changed):
1603         Check if the invalidate yrange intersects our
1604         cached line, and clear it if necessary.
1605
1606 2003-06-05  Tor Lillqvist  <tml@iki.fi>
1607
1608         * gdk/win32/gdkevents-win32.c (gdk_event_translate): Handle global
1609         filters.
1610
1611 2003-06-05  Matthias Clasen  <maclas@gmx.de>
1612
1613         * gtk/gtktextview.c: Fix for #84668, reported by Torbjörn Andersson:
1614         (gtk_text_view_grab_notify): 
1615         (gtk_text_view_state_changed): Implement these
1616         to unobscure cursor when grab shadowed or insensitised.
1617         (gtk_text_view_unobscure_mouse_cursor): New function to undo the
1618         effect of gtk_text_view_obscure_mouse_cursor(). Code lifted from
1619         gtk_text_view_motion_event().
1620         (gtk_text_view_motion_event): Use gtk_text_view_obscure_mouse_cursor().
1621
1622         * gtk/gtktextview.c (select_all): New keybinding signal for
1623         (un)selecting the whole buffer. Bound to C-a/C-\.  (see #107889)
1624
1625         * gtk/gtkcalendar.c (calendar_timer): 
1626         (stop_spinning): Replace deprecated gtk_timeout_* functions by
1627         their GLib counterparts.  (#114429)
1628
1629         * gtk/gtktreestore.c (gtk_tree_store_new): 
1630         * gtk/gtkliststore.c (gtk_list_store_new): Document restriction on 
1631         types.
1632
1633 Wed Jun  4 19:42:17 2003  Owen Taylor  <otaylor@redhat.com>
1634
1635         * gdk/gdkpango.c (gdk_draw_layout_line_with_colors):
1636         When drawing underlines, join up adjacent runs
1637         where possible, so we don't get changes in 
1638         shaper/font/etc. breaking underlines. (#103662,
1639         Kang Jeong-Hee)
1640
1641 Wed Jun  4 19:22:58 2003  Jonathan Blandford  <jrb@redhat.com>
1642
1643         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_level_find_insert):
1644         Slightly modified patch from Owen Taylor <otaylor@redhat.com> to
1645         improve the speed of inserting rows into an already sorted list,
1646         #109292
1647
1648 Wed Jun  4 19:24:28 2003  Owen Taylor  <otaylor@redhat.com>
1649
1650         * gdk/x11/gdkgc-x11.c gdk/x11/gdkprivate-x11.h: Keep
1651         track of when we have a clip mask set for the GC,
1652         and when we unset it, or switch to a clip region,
1653         immediately call XSetClipMask (..., None) to avoid
1654         Xlib caching stale data. (#111806)
1655
1656         * gtk/gtktextdisplay.c: Don't set a clip mask
1657         when drawing alpha pixmaps; it isn't necessary any more.
1658         (#111806)
1659
1660 Wed Jun  4 18:27:44 2003  Owen Taylor  <otaylor@redhat.com>
1661
1662         * gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator): 
1663         gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator): 
1664         Use GTK_WIDGET_IS_SENSITIVE(), not GTK_WIDGET_SENSITIVE
1665         (#92548, Tim Evans)
1666
1667         * gtk/gtkcheckmenuitem.c (gtk_real_check_menu_item_draw_indicator)
1668         gtk/gtkradiomenuitem.c (gtk_radio_menu_item_draw_indicator): If
1669         Use state_type = STATE_INSENSITIVE for insensitive menu items.
1670
1671 Wed Jun  4 21:25:35 2003  Kristian Rietveld  <kris@gtk.org>
1672
1673         Merged from stable.
1674
1675         * gtk/gtktreeview.c (gtk_tree_view_drag_begin): use a silent
1676         assert for get_info. (reported by Michael Natterer),
1677         (gtk_tree_view_expand_all_emission_helper),
1678         (gtk_tree_view_expand_all_helper): emit row_expanded for all
1679         expanded rows during an _expand_all operation. (Fixes #111280,
1680         reported by Benjamin Bayart).
1681
1682 Tue Jun  3 18:32:30 2003  Owen Taylor  <otaylor@redhat.com>
1683
1684         * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Don't
1685         respond to pings on a root window; prevents infinite
1686         loops if we are selecting for SubstructureNotify on the
1687         root window. (#111945, Sergey V. Udaltsov)
1688
1689 Tue Jun  3 17:39:16 2003  Owen Taylor  <otaylor@redhat.com>
1690
1691         #71597, reported by Morten Welinder
1692
1693         * gdk/gdkpixbuf-drawable.c (rgb888amsb): Fix and simplify
1694         (Patch from Christian Petig)
1695
1696         * gdk/gdkpixbuf-drawable.c (rgb{555,565}{a,}{msb,lsb}):
1697         Major rewrite of 555 and 565 conversion routines:
1698
1699         - Move all the bit shifting into a small block of macros,
1700           eliminating much duplication of complicated arithmetic.
1701         - Get rid of 2-pixels at a time code, which was buggy,
1702           hard to maintain, caused unaligned accesses, and
1703           probably didn't actually perform any better.
1704         - Simplify cases where different data types were
1705           used for the little and big endian cases, use
1706           GUINT16_SWAP_LE_BE() where appropriate.
1707                 
1708 Tue Jun  3 15:05:47 2003  Owen Taylor  <otaylor@redhat.com>
1709
1710         * gdk/x11/gdkdrawable-x11.c (convert_to_format): Remove
1711         bad optimization for src_rowstride == dest_stride.
1712         (Didn't consider the case where we were copying only
1713         partial widths of a wider source buffer)
1714         (#113034, reported by Hans Petter Jansson)
1715
1716 2003-06-03  Michael Natterer  <mitch@gimp.org>
1717
1718         * gdk/x11/gdkinput-x11.c (_gdk_input_common_find_events):
1719         reenabled button_release events for xinput devices. (#113948)
1720
1721 2003-06-03  Christian Rose  <menthos@menthos.com>
1722
1723         * configure.in: Added "li" to ALL_LINGUAS.
1724
1725 Mon Jun  2 18:58:54 2003  Owen Taylor  <otaylor@redhat.com>
1726
1727         * gtk/gtknotebook.c (gtk_notebook_size_allocate): Don't
1728         map the event window if the notebook isn't mapped. (#113980,
1729         Richard Reich)
1730
1731 2003-06-02  Sven Neumann  <sven@gimp.org>
1732
1733         * gtk/gtkprogress.c (gtk_progress_changed): added a missing cast.
1734
1735         * gdk/gdkrgb.c (gdk_rgb_try_colormap): removed an unused variable.
1736
1737 2003-06-01  Matthias Clasen  <maclas@gmx.de>
1738
1739         * gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Add 
1740         Since: 2.4 to the docs.
1741
1742         * gtk/gtkwindow.c (gtk_window_parse_geometry): Add some hints and
1743         an example to the docs.  (#98427)
1744
1745 2003-05-30  Murray Cumming  <murrayc@usa.net>
1746
1747         * gtk/gtkalignment.[h|c]: Added 4-sided padding as properties with
1748         gtk_alignment_get_padding() and gtk_aligment_set_padding(). This
1749         uses the new private data system - see g_type_class_add_private() in
1750         gtk_alignment_class_init() and the use of GTK_ALIGNMENT_GET_PRIVATE().
1751
1752 2003-05-30  Matthias Clasen  <maclas@gmx.de>
1753         
1754         * gtk/gtknotebook.c: Changed guint to GtkNotebookArrow in the
1755         signature of gtk_notebook_draw_arrow() for Solaris builds to go
1756         through.  (#114043, Anand Subramanian)
1757
1758 Thu May 29 18:30:35 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
1759
1760         * modules/input/imipa.c: 
1761         use GETTEXT_PACKAGE to get a translation for "ipa"(#113850).
1762
1763 Thu May 29 18:08:01 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
1764
1765         * gtk/gtkimmodule.c (_gtk_im_module_list):
1766         use GETTEXT_PACKAGE to get a translation for "Default"(#113850).
1767
1768 Thu May 29 09:34:05 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
1769
1770         * gtk/gtkimmodule.c (_gtk_im_module_list): make "Default"
1771         label of default input method localizable.
1772         * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems): 
1773         use translations of input method context names
1774         * modules/input/imam-et.c, modules/input/imcyrillic-translit.c,
1775           modules/input/iminuktitut.c, modules/input/imthai-broken.c,
1776           modules/input/imti-er.c, modules/input/imti-et.c
1777           modules/input/imviqr.c, modules/input/imxim.c
1778         use GETTEXT_PACKAGE instead of "gtk+" for domain name.
1779         (#113850).
1780
1781 Thu May 29 18:23:01 2003  Kristian Rietveld  <kris@gtk.org>
1782
1783         Merged from stable.
1784
1785         * gtk/gtktreeview.c (gtk_tree_view_button_press): put the focus
1786         grab separate, the user might clear the tree in the focus-in
1787         callback. (Fixes #113086, testcase from Felipe Heidrich).
1788
1789 Thu May 29 18:06:26 2003  Kristian Rietveld  <kris@gtk.org>
1790
1791         Merged from stable.
1792
1793         * gtk/gtktreeview.c (gtk_tree_model_set_model): reset a bunch
1794         of row reference when we unset the model. Also reset
1795         dy and top_row_dy. (Fixes #109289, patch from Owen Taylor).
1796
1797 Thu May 29 17:12:19 2003  Kristian Rietveld  <kris@gtk.org>
1798
1799         Merged from stable.
1800
1801         * gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): cancel
1802         the current editing, if it exists. (Fixes #108956, reported by
1803         Michael Natterer).
1804
1805 Thu May 29 17:06:09 2003  Kristian Rietveld  <kris@gtk.org>
1806
1807         Merged from stable.
1808
1809         * gtk/gtktreeview.c (check_selection_helper): new function,
1810         (gtk_tree_view_row_deleted): traverse the tree from the
1811         deleted node to see whether the selection changed, instead of
1812         just checking this node. (Fixes #107400, reported by 'Duncan').
1813
1814 Thu May 29 16:31:34 2003  Kristian Rietveld  <kris@gtk.org>
1815
1816         Merged from stable.
1817
1818         * gtk/gtktreeview.c (gtk_tree_view_maybe_begin_dragging_row),
1819         (gtk_tree_view_drag_begin): set the DnD icon in _drag_begin
1820         instead of _maybe_begin_dragging_row, so the icon can be
1821         overridden by apps. (Fixes #104374, patch from Daniel Elstner).
1822
1823 Thu May 29 16:14:04 2003  Kristian Rietveld  <kris@gtk.org>
1824
1825         Merged from stable.
1826
1827         * gtk/gtktreeview.c (gtk_tree_view_start_editing): correct
1828         cell_area x/width for the expander if needed. (Fixes #101748,
1829         reported by Dave Cook and Mariano Suarez-Alvarez).
1830
1831 Thu May 29 16:01:38 2003  Kristian Rietveld  <kris@gtk.org>
1832
1833         Merged from stable.
1834
1835         * gtk/gtktreeview.c (gtk_tree_view_real_set_cursor): check
1836         if tree/node are still the same after _internal_select_node.
1837         (Fixes #92256, reported by edscott).
1838
1839 Thu May 29 15:38:30 2003  Kristian Rietveld  <kris@gtk.org>
1840
1841         Fixes #75745, reported by Richard Hult. Merged from stable.
1842
1843         * gtk/gtktreeview.c (gtk_tree_view_bin_expose): set/unset
1844         GTK_CELL_RENDERER_FOCUSED flag whether the current node is the
1845         cursor or not.
1846
1847         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
1848         if we are rendering a cursor row, and the cell the be
1849         processed has focus, then set the GTK_CELL_RENDERER_FOCUSED
1850         flag (else we unset it).
1851
1852 2003-05-27  Matthias Clasen  <maclas@gmx.de>
1853
1854         * gtk/gtkwindow-decorate.c: 
1855         * gtk/gtktreeprivate.h: 
1856         * gtk/gtkdnd.c: 
1857         * gdk/win32/gdkwindow-win32.h: 
1858         * gdk/linux-fb/gdkprivate-fb.h: 
1859         * gdk/linux-fb/gdkkeyboard-fb.c: Remove dubious bitfields of
1860         unspecified signedness.  (#112919, Morten Welinder)
1861
1862         * gtk/queryimmodules.c (escape_string): 
1863         * gtk/gtktextbtree.c (_gtk_text_btree_get_text): 
1864         * gtk/gtksettings.c (_gtk_settings_parse_convert): 
1865         * gtk/gtkrc.c (gtk_rc_parse_assignment): 
1866         * gtk/gtkinputdialog.c (gtk_input_dialog_set_key): 
1867         * gdk/x11/gdkdisplay-x11.c (escape_for_xmessage): Replace all 
1868         occurances of g_string_new ("") by g_string_new (NULL). (#106975,
1869         Morten Welinder) 
1870
1871 2003-05-27  Tor Lillqvist  <tml@iki.fi>
1872
1873         * gtk-zip.sh.in: Only include the Default and Emacs themes' gtkrc
1874         files. Include share/gtk-doc/{gdk-pixbuf,gdk,gtk}.
1875
1876         * gdk/Makefile.am: libgdk-win32-2.0.la depends on
1877         win32/libgdk-win32.la.
1878
1879         * gtk/gtk.def: Add gtk_tree_view_column_cell_get_position.
1880
1881 Sat May 24 22:19:13 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
1882
1883         * gtk/gtkscrollbar.c (gtk_scrollbar_class_init): Make the minimum
1884         scrollbar slider length 21 instead of 7.
1885
1886 2003-05-23  Matthias Clasen  <maclas@gmx.de>
1887
1888         * gtk/gtknotebook.c: Add support for up to four scroll
1889         arrows. Control their display by new style properties
1890         "has_forward_stepper", "has_backward_stepper",
1891         "has_secondary_forward_stepper" and
1892         has_secondary_backward_stepper". (#110540)
1893
1894         * gtk/gtknotebook.h (struct _GtkNotebook): Make in_child and
1895         click_child three bits wide, add
1896         has_{before,after}_{previous,next} fields.
1897
1898         * gtk/gtkcolorsel.c (gtk_color_selection_init): Update color on
1899         focus out of hex_entry.  (#112665)
1900         (hex_focus_out): New signal handler for focus out of hex entry.
1901
1902 Wed May 21 19:01:06 2003  Owen Taylor  <otaylor@redhat.com>
1903
1904         * gtk/gtkwidget.c (gtk_widget_realize): 
1905         g_return_if_fail() if
1906         GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget).
1907         (#107872, Christian Reis)
1908
1909 2003-05-22  Matthias Clasen  <maclas@gmx.de>
1910
1911         * gtk/gtkfilesel.c (gtk_file_selection_create_dir): 
1912         (gtk_file_selection_rename_file): Some keynav improvements for the
1913         "Rename File" and "Create Directory" subdialogs: Enter in entry
1914         activates default, default is "Create"/"Rename", Escape cancels
1915         dialog.  (#113110)
1916         (gtk_file_selection_set_filename): Add a hint about opening 
1917         directories.  (#113175)
1918
1919 2003-05-22  Matthias Clasen  <maclas@gmx.de>
1920
1921         * gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_update_xft_clip):
1922         Use XftDrawSetClipRectangles(), since we're inside HAVE_XFT2
1923         anyway.  (#113476)
1924
1925 Wed May 21 15:53:14 2003  Owen Taylor  <otaylor@redhat.com>
1926
1927         * gtk/gtkprogress.c (gtk_progress_set_format_string,
1928         gtk_progress_set_show_text): Always queue a resize ... 
1929         we rely on the size-allocate to do the update, plus a 
1930         different format can actually change our size requisition.
1931         (#111052, Vasco Alexandre da Silva Costa)
1932
1933         * gtk/gtkprogress.c (gtk_progress_changed): Track
1934         ::changed as well as ::value_changed, and queue a
1935         resize on ::changed when necessary.
1936
1937         * gtk/gtkprogress.c (gtk_progress_set_adjustment): 
1938         Call gtk_progress_changed() here to update or 
1939         queue a resize as necessary.
1940
1941 Wed May 21 14:06:13 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
1942
1943         * gtk/gtkimcontextsimple.c: added composing rules of
1944         Greek accented letters, patch by Vasilis Vasaitis (#107507)
1945
1946 Wed May 21 13:19:05 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
1947
1948         * gtk/gtkenums.h (enum GtkIMPreeditStyle, GtkIMStatusStyle): 
1949         * modules/input/gtkimcontextxim.c (preedit_style_change, status_style_change):
1950         gtk settings for XIMPreeditNone and XIMStatusNone. (#105909)
1951
1952 Wed May 21 12:10:25 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
1953
1954         * gtk/gtkimcontextsimple.c: 
1955         code that can check the compose table for ascending order,
1956         by Vasilis Vasaitis (#104862).
1957
1958 Wed May 21 12:52:01 2003  Owen Taylor  <otaylor@redhat.com>
1959
1960         * gtk/gtkkeyhash.[ch] (_gtk_key_hash_looku): We need 
1961         to pass the unmasked state to gdk_keymap_translate_keyboard_state() 
1962         to handle the case where a modifier not in the mask
1963         (like Num_Lock) changes the key value, so replace
1964         the masked state with a state/mask pair. (#106913,
1965         Olivier Ripoll)
1966
1967         * gtk/gtkwindow.c gtk/gtkbinding.c: Update to pass
1968         in state/mask pair to _gtk_key_hash_lookup()
1969
1970 Tue May 20 21:58:00 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
1971
1972         * modules/input/gtkimcontextxim.c (xim_info_display_closed):
1973         fix a memory leak, free input context list (#113259).
1974
1975 2003-05-21  Matthias Clasen  <maclas@gmx.de>
1976
1977         * configure.in (all_loaders): Add pcx.
1978
1979         * gtk/gtkcalendar.c: Make calendar controls spin.  (#112540)
1980
1981 Tue May 20 17:27:24 2003  Owen Taylor  <otaylor@redhat.com>
1982
1983         * gtk/gtkimmodule.c (gtk_im_module_init): Silently
1984         accept a missing gtk.immodules file, some people
1985         want to run without one. (#112406, patch from
1986         Arnaud Charlet)
1987
1988 Tue May 20 17:05:31 2003  Owen Taylor  <otaylor@redhat.com>
1989
1990         * gtk/gtkwindow.c (gtk_window_compute_hints): Fix 
1991         height/width confusion (#113370, Xan Lopez)
1992
1993 Tue May 20 15:48:45 2003  Owen Taylor  <otaylor@redhat.com>
1994
1995         * gdk/x11/gdkdnd-x11.c gdk/x11/gdkwindow-x11.c: Comprehensively
1996         zero all unused parts of client messages (Mainly Motif DND
1997         and EWMH). Also, fix a couple places where we were putting
1998         contents into Motif DND messages that didn't belong.
1999         (#113361, EWMH problem reported by Lubos Lunak)
2000
2001         * gtk/gtkselection.c (_gtk_selection_request): Handle the
2002         case where the property type for the multiple atoms is
2003         ATOM_PAIR by doing the conversions ourselve. This is
2004         needed for Xt inter-operation.
2005
2006 2003-05-19 Arafat Medini <lumina@silverpen.de>
2007
2008         * configure.in: Added ar to ALL_LINGUAS
2009
2010 2003-05-19  Matthias Clasen  <maclas@gmx.de>
2011
2012         * gtk/gtksettings.c (gtk_rc_property_parse_border,
2013         gtk_rc_property_parse_color, gtk_rc_property_parse_enum,
2014         gtk_rc_property_parse_flags, gtk_rc_property_parse_requisition):
2015         Add docs.
2016
2017         * gtk/gtkwidget.c (gtk_widget_class_install_style_property, 
2018         gtk_widget_class_install_style_property_parser): Add docs. 
2019
2020 2003-05-17  Matthias Clasen  <maclas@gmx.de>
2021
2022         * tests/prop-editor.c: Add navigation for object properties, so
2023         that you can easily edit the properties of the parent of a widget.
2024         (#113152)
2025
2026 Wed May 14 17:45:32 2003  Owen Taylor  <otaylor@redhat.com>
2027
2028         * gdk/gdkkeysyms.h gdk/gdkkeynames.c gdk/gdkkeyuni.c:
2029         Patch from Vasilis Vasaitis to fix Greek_IOTAdi[a]eresis 
2030         inconsistency and leave the old name as an aliass (#104873)
2031
2032 Wed May 14 16:40:09 2003  Owen Taylor  <otaylor@redhat.com>
2033
2034         * gtk/gtkframe.c (gtk_frame_set_label_widget): Patch
2035         from Charles Schmidt to add missing notify (#108305)
2036
2037 Wed May 14 16:00:51 2003  Owen Taylor  <otaylor@redhat.com>
2038  
2039         * gdk/x11/gdkgc-x11.c: Remove unecessary g_return_if_fail().
2040         (#105500, Morten Welinder.)
2041  
2042 Wed May 14 09:05:11 2003   Hidetoshi Tajima <hidetoshi.tajima@sun.com>
2043
2044         * modules/input/gtkimcontextxim.c (get_ic_real): use type of guint32
2045         instead of gumake for XNFilterEvents event mask(#110493).
2046
2047 2003-05-11  Anders Carlsson  <andersca@codefactory.se>
2048
2049         * gtk/gtkdnd.c (gtk_drag_source_unset_icon): Don't cast a gchar to
2050         a GObject. (#112762)
2051
2052 2003-05-08  Sven Neumann  <sven@gimp.org>
2053
2054         * configure.in: set the HAVE_X11R6 automake conditional to false
2055         if not compiling for X11.
2056
2057 2003-05-08  Matthias Clasen  <maclas@gmx.de>
2058
2059         * gtk/gtkcalendar.[ch] (gtk_calendar_set_display_options): 
2060         (gtk_calendar_get_display_options): New functions.
2061         (gtk_calendar_display_options): Depreate.  (#64567)
2062         (gtk_calendar_class_init): Add boolean properties for the display
2063         options.  (#50949)
2064
2065 Tue May  6 16:50:52 2003  Owen Taylor  <otaylor@redhat.com>
2066
2067         Patch from James Henstridge to update to automake-1.7
2068         (#109542)
2069  
2070         * autogen.sh: update to call newer tools.
2071  
2072         * configure.in: various updates, to use M4 macros to put
2073         variables that change each release at the top.
2074         Use AC_HELP_STRING to format help strings.
2075         Use AC_CONFIG_COMMANDS to generate gdkconfig.h.
2076  
2077         * Makefile.am: require Automake 1.7.  Remove gdk-2.0.pc and
2078         gtk+-2.0.pc on uninstall.  Pass --enable-gtk-doc to configure
2079         during distcheck.
2080  
2081         * docs/reference/*/Makefile.am: simplify to use the gtk-doc.make
2082         makefile fragment.
2083  
2084         * */Makefile.am: don't use STRIP_BEGIN/STRIP_END.
2085         Use BUILT_SOURCES where appropriate.
2086         Build generated files in builddir rather than srcdir.
2087         Fix uninstall and distclean targets to satisfy distcheck.
2088
2089         ===
2090
2091         * gdk/*/Makefile.am: Remove the hacks to get gdkenumtypes.h
2092         built first, since we are now using BUILT_SOURCES.
2093
2094         * gdk/Makefile.am: Remove an outdated comment about gdk_headers.
2095
2096         * demos/gtk-demo/Makefile.am: Fix srcdir != buildd problem
2097         with geninclude.pl.
2098
2099         * configure.in: Update versions to 2.3.0.
2100  
2101 2003-05-06  Tor Lillqvist  <tml@iki.fi>
2102
2103         Fix for #110165 (thanks to Arnaud Charlet):
2104         
2105         * gdk/win32/gdkevents-win32.c (build_keypress_event,
2106         build_keyrelease_event): For unshifted control char, use
2107         lowercase ASCII keyval.
2108         (gdk_event_translate): Similarily, when handling WM_SYSKEYDOWN and
2109         UP (i.e. Alt-something), if it's an unshifted ASCII letter, use
2110         lowercase keyval. Use build_key_event_state() here, too, instead
2111         of minor code duplication.
2112
2113 2003-05-06  Matthias Clasen  <maclas@gmx.de>
2114
2115         * tests/testmultidisplay.c: Don't include strings.h, it's not
2116         needed anymore.  (#112388)
2117
2118         * examples/menu/itemfactory.c: 
2119         * docs/tutorial/gtk-tut.sgml: Remove an unneeded include from the
2120         itemfactory example.
2121
2122 2003-05-05  Matthias Clasen  <maclas@gmx.de>
2123
2124         * gtk/gtkdnd.c (gtk_drag_source_set_icon_stock):  Actually set the
2125         icon type to the stock icon type.  (#111735, Dave Bordoley)
2126
2127 2003-05-05  Christian Rose  <menthos@menthos.com>
2128
2129         * configure.in: Added sr and sr@Latn to ALL_LINGUAS.
2130         Removed sp, it's replaced by sr@Latn.
2131
2132 Wed Apr 30 22:09:11 BST 2003  Tony Gale <gale@gtk.org>
2133
2134         * docs/faq/gtk-faq.sgml: GTK+ 2.x updates, mainly from
2135         Gonzalo Odiard
2136
2137 Mon Apr 28 17:54:39 2003  Jonathan Blandford  <jrb@redhat.com>
2138
2139         * gtk/gtktreeview.c (gtk_tree_view_destroy): destroy the search
2140         data iff the destroy func isn't NULL.
2141
2142 Thu Apr 24 19:12:05 2003  Owen Taylor  <otaylor@redhat.com>
2143
2144         * autogen.sh (have_libtool): Accept libtool-1.5. (#111480)
2145
2146 2003-04-23  Abel Cheung  <maddog@linux.org.hk>
2147
2148         * configure.in: Added "am" "mk" "ta" to ALL_LINGUAS.
2149
2150 Tue Apr 22 15:33:51 2003  Owen Taylor  <otaylor@redhat.com>
2151
2152         * gtk/gtkfilesel.c (open_new_dir): Fix capitalization
2153         of UTF-8. (#106419, Roozbeh Pournader)
2154
2155 Tue Apr 22 15:17:25 2003  Owen Taylor  <otaylor@redhat.com>
2156
2157         * configure.in: Only check for XFT2 if we found pango-xft
2158         (#105692, Jon Nall)
2159
2160 Tue Apr 22 15:12:19 2003  Owen Taylor  <otaylor@redhat.com>
2161
2162         * gtk/gtkwidget.c (gtk_widget_class_init): Fix PROP_HAS_FOCUS/
2163         PROP_IS_FOCUS confusion. (#111333, Jody Goldberg)
2164
2165 Tue Apr 22 19:43:01 BST 2003  Tony Gale <gale@gtk.org>
2166
2167         * docs/faq/gtk-faq.sgml: add note about version converage.
2168
2169 Mon Apr 21 19:02:16 2003  Owen Taylor  <otaylor@redhat.com>
2170
2171         * gtk/gtksocket.c (activate_key): Fix prototype for
2172         activate_key. (#108927, Jason D. Hildebrand)
2173
2174 Mon Apr 21 18:42:51 2003  Owen Taylor  <otaylor@redhat.com>
2175
2176         * demos/gtk-demo/Makefile.am demos/gtk-demo/geninclude.pl:
2177         Remove geninclude.pl from CVS and don't dist it either,
2178         it is generated. (#108970, Rich Kinder)
2179
2180 Mon Apr 21 18:35:48 2003  Owen Taylor  <otaylor@redhat.com>
2181
2182         * gtk/gtkobject.h: Remove a couple of obsolete comments,
2183         fix another comment. (#109737, Britton Kerin)
2184
2185 Mon Apr 21 18:29:03 2003  Owen Taylor  <otaylor@redhat.com>
2186
2187         * gtk/gtkiconfactory.c (gtk_icon_set_unref): Free
2188         the source list, not just it's contents (Patch
2189         from Charles Kerr, #108243)
2190
2191 Mon Apr 21 18:13:46 2003  Owen Taylor  <otaylor@redhat.com>
2192
2193         * gdk/x11/gdkdnd-x11.c (gdk_window_cache_filter): Patch
2194         from Alex Larsson fixing problem with restacking during
2195         DND. (#108671)
2196
2197 Mon Apr 21 15:07:29 2003  Owen Taylor  <otaylor@redhat.com>
2198
2199         * gdk/x11/gdkdisplay-x11.c (gdk_display_keyboard/pointer_ungrab):
2200         Calling XFlush() after ungrabbing, to avoid problems if
2201         the app subsequently blocks on a long-running operation.
2202         (#106520, reported by Rajkumar Siva)
2203
2204 Fri Apr 18 17:42:45 2003  Owen Taylor  <otaylor@redhat.com>
2205
2206         * gdk/x11/gdkwindow-x11.c (set_initial_hints): Add
2207         SKIP_TASKBAR/SKIP_PAGER to set of properties we
2208         might set on map. (#110019, problem reported
2209         by Loban Rahman)
2210
2211 Fri Apr 18 17:14:33 2003  Owen Taylor  <otaylor@redhat.com>
2212
2213         * gdk/gdkevents.c (gdk_event_copy): Fix for the
2214         case when gdk_event_copy() is called on a non-allocated
2215         event. (#109716, reported by Rich Burridge)
2216
2217 Fri Apr 18 16:57:44 2003  Owen Taylor  <otaylor@redhat.com>
2218
2219         * gdk/x11/gdkdrawable-x11.c (draw_with_images/pixmaps):
2220         Fix pointer arithmetic on 'void *'. (#108322)
2221
2222 Fri Apr 18 16:31:49 2003  Owen Taylor  <otaylor@redhat.com>
2223
2224         * configure.in gdk/x11/gdkdisplay-x11.c modules/input/Makefile.am:
2225         Check for XAddConnectionWatch()/X11R6, and if found, disable XIM and
2226         use of XAddConnectionWatch. Remove --enable-xim config option.
2227         Should fix building on X11R6 (#110523, Albert Chin)
2228
2229 Fri Apr 18 15:56:46 2003  Owen Taylor  <otaylor@redhat.com>
2230
2231         * gdk/x11/gdkdisplay-x11.[ch] gdk/x11/gdkdrawable-x11.[ch]:
2232         Patch from Morten Welinder to catch Sun servers with a 
2233         broken implementation of the RENDER extension. (#108309)
2234
2235 Fri Apr 18 15:30:38 2003  Owen Taylor  <otaylor@redhat.com>
2236
2237         * gdk/x11/gdkwindow-x11.c (set_text_property): Use
2238         gdk_free_compound_text(), not g_free(). (#107643,
2239         Michael Zucchi)
2240
2241 Fri Apr 18 15:11:50 2003  Owen Taylor  <otaylor@redhat.com>
2242
2243         * gdk/x11/gdkdisplay-x11.c (_gdk_display_x11_get_type)
2244         gdk/x11/gdkscreen-x11.c (_gdk_screen_x11_get_type): Fix
2245         wrong use of base_finalize. (#105126, Sven Neumann)
2246
2247 Fri Apr 18 15:06:00 2003  Owen Taylor  <otaylor@redhat.com>
2248
2249         * gdk/gdkwindow.c (gdk_window_constrain_size): Fix
2250         '/' vs. '*' problem in aspect ration computations. (#108237)
2251
2252 Fri Apr 18 14:15:09 2003  Owen Taylor  <otaylor@redhat.com>
2253
2254         * gdk/x11/gdkdisplay-x11.c (gdk_display_open): 
2255         * gdk/x11/gdkevents-x11.c (gdk_event_translate): You
2256         don't get a XkbMapNotify event if you get a XkbNewKeyboardNotify 
2257         event, so select for both. (#108406, Egmont Koblinger)
2258
2259 Thu Apr 17 09:57:44 2003  Jonathan Blandford  <jrb@gnome.org>
2260
2261         * gtk/gtktreeview.c (validate_visible_area): remove infinite loop
2262         caused by not clearing the scroll_to_path.
2263
2264 2003-04-16  Matthias Clasen  <maclas@gmx.de>
2265
2266         * gtk/gtkstyle.c: Doc additions and fixes.
2267
2268         * gtk/gtktreeviewcolumn.c
2269         (_gtk_tree_view_column_get_neighbor_sizes): Doc fixes.
2270
2271 2003-04-14  Michael Natterer  <mitch@gimp.org>
2272
2273         * gtk/gtkliststore.c (gtk_list_store_move): added checks to ensure
2274         that the iter is not reordered to its own position. Prevents model
2275         corruption for the case that the store contains only a single item
2276         (fixes bug #108387).
2277
2278         Unrelated:
2279
2280         * gtk/gtkliststore.c (gtk_list_store_insert): g_list_alloc() the
2281         new list element later so we don't leak it if we decide to return
2282         early.
2283
2284         * gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node):
2285         set selection->tree_view->priv->anchor to NULL after freeing it.
2286
2287 2003-04-13  Matthias Clasen  <maclas@gmx.de>
2288
2289         * gtk/gtktreeviewcolumn.c
2290         (gtk_tree_view_column_cell_get_position): Document. 
2291
2292         * gtk/gtktextbuffer.c (gtk_text_buffer_select_range): 
2293         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_[sg]et_expand): 
2294         * gtk/gtkbutton.c (gtk_button_[sg]et_focus_on_click): Document
2295         these as 2.4 additions.
2296
2297 2003-04-09  Matthias Clasen  <maclas@gmx.de>
2298
2299         * INSTALL.in: Fix the real thing.
2300
2301         * INSTALL: Typo fix.
2302
2303 Mon Apr  7 19:43:15 2003  Owen Taylor  <otaylor@redhat.com>
2304
2305         * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_ungrab): Flush
2306         after ungrabbing the server.
2307  
2308         * gdk/x11/gdkimage-x11.c: Remove some no-longer-needed
2309         calls to XFlush().
2310
2311         * gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_at_pointer):
2312         Use gdk_x11_display_grab/ungrab.
2313
2314         * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize
2315         use_xshm to TRUE so SHM gets used when present.
2316  
2317 2003-04-07  Matthias Clasen  <maclas@gmx.de>
2318
2319         * gtk/gtktextlayout.c (set_para_values): 
2320         * gtk/gtkenums.h (GtkWrapMode): Add GTK_WRAP_WORD_CHAR.  (#110086,
2321         David Brigada)
2322
2323         * gtk/gtkcelleditable.c, gtk/gtkfixed.c, gtk/gtktreemodel.c,
2324         gtk/gtktreeselection.c, gtk/gtktreeview.c: Fix numerous
2325         misspellings of possessive "its".  (#110027, Doug Quale)
2326
2327 2003-04-03  Matthias Clasen  <maclas@gmx.de>
2328
2329         * demos/gtk-demo/main.c (demo_find_file): Only use files from the
2330         current directory if it looks like the srcdir.  (#109357)
2331
2332 Wed Apr  2 23:02:26 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
2333
2334         * gtk/gtkbutton.[ch] (gtk_button_class_init): add property
2335         focus_on_click
2336
2337         * gtk/gtkwindow.c (gtk_window_focus): make arrow keyboard
2338         navigation not wrap around.
2339
2340 2003-04-02  Matthias Clasen  <maclas@gmx.de>
2341
2342         * gtk/gtkprogress.c (gtk_progress_get_percentage_from_value):
2343         Return 0 if lower == upper.  (#109155)
2344         (gtk_progress_get_current_percentage): Use
2345         gtk_progress_get_percentage_from_value().
2346
2347 2003-04-01  Matthias Clasen  <maclas@gmx.de>
2348
2349         * gtk/gtkimcontext.c (gtk_im_context_focus_in): Fix docs.
2350         (#109510, Noah Levitt)
2351
2352 Mon Mar 31 13:52:13 2003  Jonathan Blandford  <jrb@redhat.com>
2353
2354         * gtk/gtkrbtree.c (_gtk_rbtree_reorder): null initialize reorder's
2355         members so Purify won't complain.
2356
2357         * gtk/gtkliststore.c (gtk_list_store_sort): ditto.
2358
2359 2003-03-31  Matthias Clasen  <maclas@gmx.de>
2360
2361         * gtk/gtkwindow.c: Add a new property, role, corresponding to 
2362         gtk_window_[gs]et_role().  (#93904)
2363
2364 Sun Mar 30 03:57:42 2003  Jonathan Blandford  <jrb@gnome.org>
2365
2366         * gtk/gtktreeselection.c (gtk_tree_selection_get_selected_rows):
2367         fix crash.  Patch from Markus Lausser <sgop@users.sourceforge.net>
2368
2369 2003-03-29  Matthias Clasen  <maclas@gmx.de>
2370
2371         * gtk/gtkoptionmenu.c (gtk_option_menu_remove_contents): Set state
2372         of labels back to normal before reparenting back.  (#102387)
2373
2374         * gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init): Set
2375         a default window title to match the GtkFontSelectionDialog behavior.
2376  
2377         (gtk_color_selection_dialog_new): Don't call
2378         gtk_window_set_title() if title is NULL.  (bug #101975, Daniel Elstner)
2379
2380 2003-03-29  Matthias Clasen  <maclas@gmx.de>
2381
2382         Fix for bug #78499:
2383         
2384         * gtk/gtkentry.h (struct _GtkEntry): Add flags select_words and
2385         select_lines. 
2386
2387         * gtk/gtkentry.c (gtk_entry_button_press): Set select_words and
2388         select_lines on double/triple click.
2389
2390         * gtk/gtkentry.c (gtk_entry_motion_notify): Implement
2391         select-by-words and select-by-lines behaviour.
2392
2393         Fixes for bug #56248:
2394         
2395         * gtk/gtknotebook.c (stop_scrolling): New function to remove the
2396         timer and queue a redraw. 
2397         (gtk_notebook_grab_notify): 
2398         (gtk_notebook_state_changed): New functions to call stop_scrolling() 
2399         if necessary.   
2400         (gtk_notebook_button_release): Use stop_scrolling().
2401         (gtk_notebook_draw_arrow): Fix drawing of insensitive arrows.
2402
2403         * gtk/gtkrange.c (stop_scrolling): New function to remove the
2404         grab, remove the timer and queue a redraw.
2405         (gtk_range_grab_notify): 
2406         (gtk_range_state_changed): New functions to call stop_scrolling() 
2407         if necessary.   
2408         (gtk_range_button_release): Use stop_scrolling().
2409
2410         * gtk/gtkspinbutton.c (gtk_spin_button_grab_notify): 
2411         (gtk_spin_button_state_changed): Redraw after stop_spinning.
2412         (gtk_spin_button_stop_spinning): Reset click_child to correct the
2413         drawing of the arrows.
2414         (gtk_spin_button_button_release): Use a local copy of click_child,
2415         since stop_spinning() resets it.
2416
2417         * gtk/gtknotebook.c (gtk_notebook_class_init): Add C-A-PgUp and
2418         C-A-PgDown as alternatives to the A-less variants. (This slipped
2419         in accidentally some time ago).  (#97860)
2420
2421 2003-03-26  Sven Neumann  <sven@gimp.org>
2422
2423         * gtk/gtktreeview.c: rewrote the function that does node and arrow
2424         prelighting, queue all redraws from here (Fixes bug #108792).
2425
2426 2003-03-20  Richard Kinder <r_kinder@yahoo.com>
2427
2428         * demos/testpixbuf.c (update_timeout): set error to NULL, not FALSE.
2429         Fixes bug #108778.
2430
2431 2003-03-20  Guntupalli Karunakar <karunakar@freedomink.org>
2432
2433         * configure.in: Added "ml" in ALL_LINGUAS
2434
2435 Sat Mar 15 18:49:27 2003  Manish Singh  <yosh@gimp.org>
2436
2437         * gtk/gtkradiomenuitem.h: use GTK_DISABLE_DEPRECATED instead of
2438         G_DISABLE_DEPRECATED.
2439
2440 2003-03-14  Tor Lillqvist  <tml@iki.fi>
2441
2442         * gdk/win32/gdkevents-win32.c: Use the signed GET_X_LPARAM() and
2443         GET_Y_LPARAM() to extract x and y coordinates from an LPARAM or
2444         DWORD, and not the unsigned HIWORD() and LOWORD(). Systems with
2445         multiple monitors can have negative coordinates on some of the
2446         monitors. (partial fix for #99496, Arnaud Charlet)
2447
2448 2003-03-15  Matthias Clasen  <maclas@gmx.de>
2449
2450         * gtk/gtktextview.c: Add a "buffer" property.  (#108353) 
2451
2452 2003-03-13  Sven Neumann  <sven@gimp.org>
2453
2454         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
2455         removed redundant calls to g_object_notify().
2456         (gtk_cell_renderer_pixbuf_get_size): removed redundant casts, see
2457         bug #108236.
2458
2459         * gtk/gtktextiter.c (_gtk_text_iter_get_segment_char)
2460         (_gtk_text_iter_get_segment_byte): return 0, not NULL (these
2461         functions return an integer value).
2462
2463 2003-03-13  Tor Lillqvist  <tml@iki.fi>
2464
2465         * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
2466         WM_MOUSEMOVE, the test whether we have actually moved (and thus
2467         shouldn't generate an GDK event) moved after the call to
2468         propagate() and translate_mouse_coords(). Otherwise we were
2469         testing wrong values. (#108115, Allin Cottrell)
2470         (gdk_event_translate): On WM_?BUTTONUP, set current_{x,y} the same
2471         way as in WM_?BUTTONDOWN and WM_MOUSEMOVE.
2472
2473         * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): if a grab cursor
2474         is used, must copy the HCURSOR with CopyCursor(), as it is OK to
2475         destroy the GdkCursor after calling gdk_pointer_grab(). Set the
2476         cursor right away with SetCursor(), as we won't get any
2477         WM_SETCURSOR messages while the mouse is captured. 
2478         (gdk_display_pointer_ungrab): Correspondingly, destroy the copy
2479         with DestroyCursor() when no longer used. (#108114, Allin Cottrell)
2480
2481         * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
2482         WM_SYSCHAR, return FALSE from the window procedure to prevent the
2483         DefWindowProc from being called. Otherwise Windows would beep,
2484         thinking you are tring to access a (nonexistent) menu when you
2485         press Alt-something. Don't do this for Alt-Space,
2486         though. (#107454, Martyn Russell)
2487
2488         * gdk/win32/gdkcursor-win32.c: Minor spacing and debug print fixes.
2489
2490 Tue Mar 11 12:01:07 2003  Jonathan Blandford  <jrb@gnome.org>
2491
2492         * gtk/gtktreeview.c (gtk_tree_view_class_init): Ctrl/Shift
2493         [left/right] expands/collapses the tree, #108092
2494
2495 2003-03-09  Tor Lillqvist  <tml@iki.fi>
2496
2497         * gdk/win32/gdkdrawable-win32.c (draw_segments): Don't try to
2498         compensate for LineTo() not drawing the end pixel. It causes more
2499         harm than benefits, see bug #81895.
2500
2501 2003-03-08  Matthias Clasen  <maclas@gmx.de>
2502
2503         Bug #107664 continued:
2504
2505         * gdk/x11/gdkinputprivate.h: 
2506         * gdk/x11/gdkinput-none.c (_gdk_input_window_none_event): Remove. 
2507         (_gdk_input_other_event): Return gboolean.
2508         * gdk/x11/gdkinput-xfree.c (_gdk_input_window_none_event): Remove. 
2509         (_gdk_input_other_event): Return gboolean.
2510         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event): Return gboolean.
2511
2512         * gdk/x11/gdkevents-x11.c (gdk_event_translate): Make return_val
2513         gboolean, remove pointless call to _gdk_input_window_none_event.
2514
2515         * gdk/win32/gdkinput-win32.[hc] (_gdk_input_other_event): Return gboolean.
2516         (_gdk_input_window_none_event): Remove.
2517
2518         * gtk/gtktextiter.c (_gtk_text_iter_get_indexable_segment): 
2519         (_gtk_text_iter_get_any_segment): 
2520         (_gtk_text_iter_get_segment_byte): 
2521         (_gtk_text_iter_get_segment_char): 
2522         (_gtk_text_iter_get_text_line): 
2523         (_gtk_text_iter_get_btree): Fix 0/NULL confusion.
2524         * gdk/x11/gdkdnd-x11.c (motif_target_table_check): Return gint.
2525         * gdk/win32/gdkfont-win32.c (gdk_font_equal): 
2526         * gdk/linux-fb/gdkwindow-fb.c (gdk_window_get_deskrelative_origin): 
2527         (gdk_window_get_origin): 
2528         * gdk/linux-fb/gdkcolor-fb.c (gdk_colors_alloc): Fix 0/FALSE confusion. 
2529
2530 2003-03-06  Matthias Clasen  <maclas@gmx.de>
2531
2532         * gdk/gdkrgb.c (gdk_rgb_try_colormap): Return gboolean, not gint.
2533         (#107664, Morten Welinder)
2534
2535         * gdk/x11/gdkwindow-x11.c (gdk_window_get_deskrelative_origin): 
2536         * gdk/x11/gdkfont-x11.c (gdk_font_equal): 
2537         * gdk/x11/gdkdnd-x11.c (gdk_drag_get_protocol_for_display): 
2538         Fix TRUE/1 and FALSE/0 confusion.  (#107664, Morten Welinder)
2539
2540         * gtk/gtktextmark.c (gtk_text_mark_get_buffer): 
2541         * gtk/gtkeditable.c (gtk_editable_get_chars): 
2542         * gtk/gtkctree.c (gtk_ctree_find_node_ptr): 
2543         * demos/gtk-demo/main.c (demo_find_file): Fix NULL/FALSE confusion
2544         (#107648, Morten Welinder)Fix NULL/FALSE confusion
2545         (#107648, Morten Welinder)
2546
2547 2003-03-04  Matthias Clasen  <maclas@gmx.de>
2548
2549         * gtk/gtkobject.h: Add deprecation guards for gtk_object_new ().
2550
2551 Sun Mar  2 23:35:57 2003  Jonathan Blandford  <jrb@gnome.org>
2552
2553         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
2554         handle rtl code.  Thanks to Matthias Clasen for an initial patch
2555         to handle the RTL code.
2556
2557         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size): ditto
2558
2559         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto
2560
2561         * gtk/gtktreeview.c: (invalidate_column),
2562         (invalidate_last_column),
2563         (gtk_tree_view_get_real_requested_width_from_column),
2564         (gtk_tree_view_size_allocate_columns),
2565         (gtk_tree_view_size_allocate), (gtk_tree_view_button_press),
2566         (gtk_tree_view_button_release_drag_column),
2567         (gtk_tree_view_update_current_reorder),
2568         (gtk_tree_view_motion_drag_column), (gtk_tree_view_bin_expose),
2569         (gtk_tree_view_key_press), (gtk_tree_view_header_focus),
2570         (gtk_tree_view_get_background_xrange),
2571         (gtk_tree_view_get_arrow_xrange),
2572         (gtk_tree_view_is_expander_column),
2573         (gtk_tree_view_set_column_drag_info),
2574         (gtk_tree_view_move_cursor_left_right):
2575         Add RTL support.
2576
2577         * gtk/gtktreeviewcolumn.h (struct _GtkTreeViewColumn): add an
2578         expand flag.
2579
2580         * gtk/gtktreeviewcolumn.c:
2581         (gtk_tree_view_column_class_init),
2582         (gtk_tree_view_column_set_property),
2583         (gtk_tree_view_column_get_property),
2584         (gtk_tree_view_column_set_expand),
2585         (gtk_tree_view_column_get_expand),
2586         (gtk_tree_view_column_cell_process_action):
2587         Add support for expand flag.  Thanks to Kristian Rietveld for an
2588         initial patch for this.
2589
2590 Fri Feb 28 02:06:17 2003  Jonathan Blandford  <jrb@gnome.org>
2591
2592
2593 2003-03-02  Tor Lillqvist  <tml@iki.fi>
2594
2595         * gdk/gdk.def
2596         * gtk/gtk.def: Add a bunch of missing entries. Noticed by Cedric
2597         Gustin.
2598
2599 2003-03-01  Matthias Clasen  <maclas@gmx.de>
2600
2601         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_vadjustment): 
2602         (gtk_scrolled_window_set_hadjustment): Replace uses of
2603         gtk_object_new by g_object_new.
2604
2605 Thu Feb 27 17:44:24 2003  Manish Singh  <yosh@gimp.org>
2606
2607         * demos/gtk-demo/main.c
2608         * demos/gtk-demo/tree_store.c
2609         * gdk/x11/gdkscreen-x11.c
2610         * gtk/gtkcellrenderertoggle.c
2611         * gtk/gtkcolorsel.c
2612         * gtk/gtkdnd.c
2613         * gtk/gtkeditable.c
2614         * gtk/gtkentry.c
2615         * gtk/gtkmenu.c
2616         * gtk/gtkmenubar.c
2617         * gtk/gtkmenuitem.c
2618         * gtk/gtkmenushell.c
2619         * gtk/gtkrc.c
2620         * gtk/gtksettings.c
2621         * gtk/gtkstyle.c
2622         * gtk/gtktextbuffer.c
2623         * gtk/gtktextview.c
2624         * gtk/gtktreeviewcolumn.c
2625         * tests/testgtk.c
2626         * tests/testtext.c
2627         * tests/testtreeedit.c
2628         * tests/testtreefocus.c
2629         * tests/testtreeview.c: remove unnecessary G_OBJECT() casts.
2630
2631 Tue Feb 25 21:55:17 2003  Jonathan Blandford  <jrb@redhat.com>
2632
2633         * gtk/gtkoptionmenu.c (gtk_option_menu_position): account for RTL
2634         code.
2635
2636 2003-02-24  Sven Neumann  <sven@gimp.org>
2637
2638         * gtk/gtkmain.c (gtk_get_default_language): fixed documentation.
2639
2640 2003-02-21  Tomas Ogren  <stric@ing.umu.se>
2641
2642         * docs/reference/gtk/tmpl/gtktreemodel.sgml: Fix typos in an example
2643
2644 2003-02-20  Matthias Clasen  <maclas@gmx.de>
2645
2646         * gtk/gtktextbtree.c (_gtk_text_line_previous_could_contain_tag): 
2647         Check if line_ancestor_parent is NULL.  (#102711, Manuel Clos)
2648
2649         * gtk/gtktextview.c (gtk_text_view_scroll_to_iter): 
2650         (gtk_text_view_update_adjustments): Make sure cursor stays visible
2651         during horizontal scrolling.  (#75270)
2652
2653 2003-02-19  Matthias Clasen  <maclas@gmx.de>
2654
2655         * tests/testdnd.c: Replace gtk_timeout_* by their GLib
2656         counterparts. (#106532)
2657
2658         * gdk/gdkkeys.c (gdk_keymap_class_init): Associate the
2659         keys_changed virtual function with the keys_changed signal.
2660         (#106512, Jeff Franks)
2661
2662 2003-02-15  Larry Ewing  <lewing@ximian.com>
2663
2664         * gdk/gdkevents.c (gdk_event_copy): copy the event axes as well.
2665
2666 2003-02-17  Mohammad DAMT  <mdamt@bisnisweb.com>
2667
2668         * po/id.po: Added Indonesian translation
2669         * configure.in: Added "id" to ALL_LINGUAS
2670
2671 2003-02-14  Matthias Clasen  <maclas@gmx.de>
2672
2673         * gtk/gtktextview.c (popup_targets_received): Remove bogus casts.
2674
2675 2003-02-12  Christian Rose  <menthos@menthos.com>
2676
2677         * configure.in: Added "yi" to ALL_LINGUAS.
2678
2679 2003-02-12  Matthias Clasen  <maclas@gmx.de>
2680
2681         Fix for #82734 and #78216:
2682         
2683         * gtk/gtktextview.c (delete_cb): 
2684         (select_all_cb): New callbacks for context menu items.
2685         (popup_targets_received): Add "Delete" and "Select All" to context
2686         menu, mnemonics and title caps for all items.
2687
2688         * gtk/gtkentry.c (gtk_entry_delete_cb): New callback for "Delete"
2689         context menu item.
2690         (popup_targets_received): Add "Delete" to context menu, mnemonics
2691         and title caps for all items.
2692
2693 2003-02-09  Tor Lillqvist  <tml@iki.fi>
2694
2695         * gtk/gtkfilesel.c (win32_gtk_add_drives_to_dir_list): Use
2696         GetDriveType() to recognize removable drives (in order to avoid
2697         hanging if trying to access an empty floppy drive), instead of
2698         hardcoding A: and B: (#105654).
2699
2700 2003-02-09  Matthias Clasen  <maclas@gmx.de>
2701
2702         * gtk/gtkwidget.c (gtk_widget_set_name): Add note about periods in 
2703         names.  (#57680)
2704
2705 2003-02-09  Christian Rose  <menthos@menthos.com>
2706
2707         * configure.in: Removed "en@IPA.po" from ALL_LINGUAS.
2708
2709 Fri Feb  7 04:49:46 2003  Tim Janik  <timj@gtk.org>
2710
2711         * gtk/gtkobject.c: remove quark_user_data usage in
2712         gtk_object_{g|s}et_user_data(). fixes get_user_data()
2713         returning NULL for user_data set through property interface.
2714
2715         * gtk/gtkitemfactory.c (gtk_item_factory_create_item): don't put out
2716         warnings if a pixbuf couldn't be retrieved, since (a) this doesn't
2717         need to be a programming error (in case of loaded data), (b) it breaks
2718         with 2.0 behaviour where extra magic could be used to create empty
2719         images. don't attempt to retrieve pixbufs from NULL extra_data.
2720
2721 2003-02-06  Matthias Clasen  <maclas@gmx.de>
2722
2723         * gdk/x11/gdkvisual-x11.c (gdk_visual_get_best_with_depth): Return
2724         a GdkVisual *, not a GdkVisual **.  (#105243)
2725
2726         * gtk/gtkclist.c: 
2727         * gtk/gtkctree.c: 
2728         * gtk/gtkcontainer.c: 
2729         * gtk/gtkdnd.c: 
2730         * gtk/gtkentry.c: 
2731         * gtk/gtklist.c:
2732         * gtk/gtkmenu.c:
2733         * gtk/gtkmenuitem.c:
2734         * gtk/gtknotebook.c:
2735         * gtk/gtkselection.c:
2736         * gtk/gtkspinbutton.c:
2737         * gtk/gtktext.c:
2738         * gtk/gtktextview.c:
2739         * gtk/gtktooltips.c:
2740         * gtk/gtktreeview.c:
2741         * gtk/gtkwindow.c: Replace uses of gtk_timeout_* and gtk_idle_* by
2742         their non-deprecated GLib counterparts.
2743         
2744         * gtk/gtkmain.h: Fully deprecate gtk_timeout_* and gtk_idle_*.
2745         
2746 Sun Feb  2 16:45:57 GMT 2003  Tony Gale <gale@gtk.org>
2747
2748         * docs/tutorial/gtk-tut.sgml: cleanups from
2749         Sebastian Rittau (#104832)
2750
2751 2003-02-01  Tor Lillqvist  <tml@iki.fi>
2752
2753         Merge from stable:
2754
2755         * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_foreign_new_for_display,
2756         gdk_pixmap_lookup, gdk_pixmap_lookup_for_display): Implement.
2757         (#104108, Naofumi Yasufuku)
2758
2759         * gdk/gdk.def: Export the above. Export
2760         gdk_screen_get_system_visual, noticed by Ed Woods.
2761
2762 Fri Jan 31 17:45:22 2003  Manish Singh  <yosh@gimp.org>
2763
2764         * demos/pixbuf-demo.c
2765         * demos/testpixbuf.c
2766         * demos/gtk-demo/pixbufs.c: remove deprecated gtk_timeout_* usage.
2767
2768 Fri Jan 31 17:33:00 2003  Manish Singh  <yosh@gimp.org>
2769                                                                                 
2770         * gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set_state
2771         on the tab_label before unparenting it, in case the unparent
2772         drops the refcount to 0.
2773
2774 2003-02-01  Matthias Clasen  <maclas@gmx.de>
2775
2776         * gtk/gtkiconfactory.h: Use GDK_MULTIHEAD_SAFE like all other gtk
2777         headers. Sorry about gtk_selection_clear, Yosh.
2778
2779 Thu Jan 30 17:16:05 2003  Manish Singh  <yosh@gimp.org>
2780
2781         * gtk/gtkselection.h: declare gtk_selection_clear in GTK_COMPILATION
2782         too, for gtkwidget.c. Remember people, when introducing new
2783         deprecations, make sure internal code isn't using it, or if so,
2784         reorganize appropriately like I've done in other places.
2785
2786         * tests/testtext.c: don't use deprecated gtk_timeout_* stuff.
2787
2788 2003-01-31  Matthias Clasen  <maclas@gmx.de>
2789
2790         * gtk/gtkselection.h: 
2791         * gtk/gtkselection.c (gtk_selection_clear): Deprecate.  (#85683)
2792
2793         * gdk/gdkpixbuf.h: 
2794         * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable): 
2795         (gdk_pixbuf_render_to_drawable_alpha): Deprecate.  (#60582)
2796
2797         * gtk/gtkcolorsel.h:
2798         * gtk/gtkcolorsel.c (gtk_color_selection_set_change_palette_hook):
2799         Deprecate.  (#98167)
2800
2801         * gtk/gtkpaned.h: Deprecate gtk_paned_computed_position(). (#97077)
2802
2803         * gtk/gtkmain.h: Deprecate the gtk_timeout_*, gtk_idle_*
2804         and gtk_input_* functions.  (#71596)
2805         
2806         * gtk/gtkentry.c (gtk_entry_move_cursor): 
2807         * gtk/gtklabel.c (gtk_label_move_cursor): Handle
2808         GTK_MOVEMENT_HORIZONTAL_PAGES in switches.
2809
2810         * gdk/gdk.h: Deprecate gdk_wcstombs() and gdk_mbstowcs().  (#79803)
2811
2812         * gtk/gtkitemfactory.h: 
2813         * gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Deprecate. 
2814         (#69244)
2815
2816 Thu Jan 30 23:48:30 2003  Kristian Rietveld  <kris@gtk.org>
2817
2818         * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_count_special_cell):
2819         only count the special cell if it is also visible,
2820         (_gtk_tree_view_column_get_neighbor_sizes): only take the width into
2821         account from visible cells,
2822         (gtk_tree_view_column_cell_get_position): likewise, (Reported and
2823         testcase provided by Vasco Alexandre da Silva Costa, via IRC,
2824         tracking bug was #104563).
2825         
2826 Thu Jan 30 23:46:15 2003  Kristian Rietveld  <kris@gtk.org>
2827
2828         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
2829         subtract expander space and focus line space from the extra space
2830         we are about the allocate. (Fixes #104635).
2831
2832 Thu Jan 30 23:42:03 2003  Kristian Rietveld  <kris@gtk.org>
2833
2834         * gtk/gtkstyle.c (apply_affine_on_point): fix rouding error
2835         (Fixes #96242, patch from Soeren Sandmann).
2836
2837 Thu Jan 30 16:54:29 2003  Owen Taylor  <otaylor@redhat.com>
2838
2839         * gtk/gtknotebook.c: Patch from Soeren Sandmann
2840         to update the states of the tab label child
2841         widgets to match the state of the tabs. 
2842         (#93389, Reported by Tommi Komulainen)
2843
2844 Thu Jan 30 16:30:54 2003  Owen Taylor  <otaylor@redhat.com>
2845
2846         * Makefile.am (EXTRA_DIST): Remove gtk+.spec.in from
2847         EXTRA_DIST, and from dist rules. (#102231)
2848
2849 2003-01-30  Daniel Elstner  <daniel.elstner@gmx.net>
2850
2851         * gtk/gtktoolbar.c (set_child_packing_and_visibility): New helper
2852         function that sets the icon's and label's packing options and
2853         visibility based on toolbar->style.
2854
2855         (gtk_toolbar_internal_insert_element):
2856         (gtk_real_toolbar_style_changed): Make use of
2857         set_child_packing_and_visibility() to clean up the code and get
2858         the packing right for icon-only/text-only toolbars. (#104679)
2859
2860         (get_first_child): Remove, and use gtk_bin_get_child() instead.
2861
2862 2003-01-30  Matthias Clasen  <maclas@gmx.de>
2863
2864         * gtk/gtktextview.c: Replace PAGE_HORIZONTALLY_HACK_VALUE by
2865         GTK_MOVEMENT_HORIZONTAL_PAGES.  (#68947)
2866
2867         * gtk/gtkenums.h: Add GTK_MOVEMENT_HORIZONTAL_PAGES to GtkMovementStep.
2868         
2869 Thu Jan 30 16:01:29 2003  Owen Taylor  <otaylor@redhat.com>
2870
2871         * gdk/gdkrgb.c (gdk_rgb_try_colormap): Remove the 
2872         attempt-to-allocate then free code. To handle multiple
2873         people allocating colors at the same time, we need
2874         to just go ahead and try. (#102213, Shivram U)
2875         
2876 2003-01-30  Daniel Elstner  <daniel.elstner@gmx.net>
2877
2878         * gtk/gtkcolorsel.c (palette_paint): Explicitely draw an opaque
2879         rectangle using the background color rather than relying on
2880         gdk_window_clear_area(), so that the palette works properly with
2881         pixmap themes. (#101732)
2882
2883         * demos/gtk-demo/colorsel.c: Install an "expose_event" handler
2884         to fill the drawing area in the background color.
2885
2886 Wed Jan 29 14:11:21 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
2887
2888         * modules/input/gtkimcontextxim.c (choose_better_style): fix a memory
2889         initialization error for selecting input style (#103549).
2890
2891 Wed Jan 29 17:02:41 2003  Owen Taylor  <otaylor@redhat.com>
2892
2893         * gdk/gdkkeyuni.c (get_decimal_char): Make the 
2894         translation of GDK_KP_Decimal dependent on LC_NUMERIC.
2895         (#101225)
2896
2897 Wed Jan 29 15:43:56 2003  Owen Taylor  <otaylor@redhat.com>
2898
2899         * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current):
2900         Make up from the menu bar go to the end of the submenu.
2901         (#96114, Ian Peters.)
2902
2903         * gtk/gtkmenuitem.c (gtk_menu_item_mnemonic_activate): 
2904         Only do the select-but-not-activate stuff if the
2905         menu is already active. Otherwise, just activate.
2906         (#101690, Arvind Samptur)
2907
2908 Tue Jan 28 15:18:24 2003  Owen Taylor  <otaylor@redhat.com>
2909
2910         * autogen.sh (have_automake): Fix version in complaint
2911         message about automake. (#104366, Rich Burridge)
2912
2913 Mon Jan 27 16:38:13 2003  Owen Taylor  <otaylor@redhat.com>
2914
2915         * configure.in: Remove SOEXT stuff; it doesn't work portably.
2916
2917 Mon Jan 27 22:45:15 2003  Kristian Rietveld  <kris@gtk.org>
2918
2919         * gtk/gtktreestore.c (gtk_tree_store_move): don't handle b if
2920         we appended/prepended, send the rows_reordered signal to the 
2921         correct level ... (Reported by Matthew Tuck).
2922
2923 Mon Jan 27 22:43:11 2003  Kristian Rietveld  <kris@gtk.org>
2924
2925         * gtk/gtktreestore.c (gtk_tree_store_sort_helper): don't just bail
2926         out if the level only has one item, recurse over the child if there
2927         is one. (Fixes #100458, reported by Gaël Le Mignot).
2928
2929 Mon Jan 27 22:41:26 2003  Kristian Rietveld  <kris@gtk.org>
2930
2931         * gtk/gtktreeview.c (gtk_tree_view_set_model),
2932         (gtk_tree_view_search_equal_func): make TreeView search handle
2933         all types which are transformable by GValue. (Fixes #99803, reported
2934         by Muktha Narayan).
2935
2936 Mon Jan 27 22:39:25 2003  Kristian Rietveld  <kris@gtk.org>
2937
2938         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_sort_column_id):
2939         *really* handle unsetting the ID. Slightly modified patch from
2940         Soeren Sandmann. Fixes #87556, reported by Jarek Dukat.
2941
2942 Mon Jan 27 22:33:43 2003  Kristian Rietveld  <kris@gtk.org>
2943
2944         Fixes the total GtkTreeSortable mess, and #83195, reported by
2945         Jarek Dukat
2946
2947         * gtk/gtktreestore.c (gtk_tree_store_get_sort_column_id),
2948         (gtk_tree_store_set_sort_column_id), (gtk_tree_store_set_sort_func),
2949         (gtk_tree_store_set_default_sort_func): use the constant
2950         GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID instead of -1, make functions
2951         work as advertised by the documentation.
2952
2953         * gtk/gtklistore.c (gtk_list_store_get_sort_column_id),
2954         (gtk_list_store_set_sort_column_id), (gtk_list_store_set_sort_func),
2955         (gtk_list_store_set_default_sort_func): likewise.
2956
2957         * gtk/gtktreemodelsort.c (gtk_tree_model_set_sort_column_id),
2958         (gtk_tree_model_set_sort_func),
2959         (gtk_tree_model_sort_set_default_sort_func): make functions work
2960         as advertised by the documentation.
2961
2962 Mon Jan 27 22:31:56 2003  Kristian Rietveld  <kris@gtk.org>
2963
2964         * gtk/gtktreeview.c (gtk_tree_view_button_press): update focus_column
2965         before we decide if we edit. (fixes #100973, reported by Dave Cook).
2966
2967 Mon Jan 27 22:29:30 2003  Kristian Rietveld  <kris@gtk.org>
2968
2969         Bug report and test case from Paolo Maggi via IRC.
2970
2971         * gtk/gtkliststore.c (gtk_list_store_swap): update tail if needed,
2972         (gtk_list_store_move): update tail if needed.
2973
2974 Mon Jan 27 16:19:59 2003  Owen Taylor  <otaylor@redhat.com>
2975
2976         * gtk/gtksocket.c (gtk_socket_filter_func): event->any.window
2977         might be NULL. Use gtk_widget_get_display (widget) 
2978         (#102860, Thomas Leonard)
2979
2980 Mon Jan 27 15:58:31 2003  Owen Taylor  <otaylor@redhat.com>
2981
2982         * configure.in: Fix --without-modules/--disable-modules
2983         confusion that was causing --disable-modules not to work.
2984         (#102865, Akira Tagoh)
2985
2986         * configure.in: Fix problem with plain --with-xinput
2987         (#104266, Akira Tagoh)
2988
2989 2003-01-24  Sebastian Rittau  <srittau@jroger.in-berlin.de>
2990
2991         * docs/tutorial/gtk-tut.sgml: Fix a few typos, introduced by my last
2992         patch.
2993
2994 Fri Jan 24 17:06:41 GMT 2003  Tony Gale <gale@gtk.org>
2995
2996         * docs/tutorial/gtk-tut.sgml: Remove duplicate copy of tictactoe.h
2997
2998 Thu Jan 23 21:15:29 GMT 2003  Tony Gale <gale@gtk.org>
2999
3000         * docs/faq/gtk-faq.sgml: Learn to spell Library
3001
3002 Thu Jan 23 20:56:56 GMT 2003  Tony Gale <gale@gtk.org>
3003         * Sebastian Rittau  <srittau@jroger.in-berlin.de>:
3004
3005            docs/tutorial/gtk-tut.sgml: Adopted chapter 21.3 "Creating a
3006            Composite widget" to modern standards. (I.e. use gobject instead of
3007            glib, derive from GtkTable instead of GtkVBox.) Bugzilla #103869.
3008
3009         * docs/tutorial/gtk-tut.sgml, examples/tictactoe: Fixup tic-tac-toe
3010         code in Appendix C to reflect above changes.
3011
3012         * examples/rangewidgets/rangewidgets.c: From Roger Leigh
3013         auto resize on page size change
3014
3015 2003-01-23  Daniel Elstner  <daniel.elstner@gmx.net>
3016
3017         * gtk/gtktoolbar.c (gtk_toolbar_hide_all): Override hide_all
3018         in addition to show_all in order to keep them symmetric. (#102201)
3019
3020 Wed Jan 22 14:18:46 2003  Manish Singh  <yosh@gimp.org>
3021
3022         * gdk/x11/gdkevents-x11.c (translate_key_event): add a "return" at
3023         the end of the function, so there is a statement following the "out"
3024         label in all cases (fixes #101961)
3025
3026 2003-01-22  Christian Rose  <menthos@menthos.com>
3027
3028         * configure.in: Added "mn" to ALL_LINGUAS.
3029
3030 Wed Jan 15 17:02:18 2003  Owen Taylor  <otaylor@redhat.com>
3031  
3032         * gtk/gtktextlayout.c (gtk_text_layout_validate_yrange):
3033         Fix off-by-one error on the backward iteration loop,
3034         that was causing the wrong range to be redrawn.
3035         (at least part of #72734)
3036         
3037 2003-01-21  Matthias Clasen  <maclas@gmx.de>
3038
3039         * gtk/gtktextview.c (gtk_text_view_size_allocate): Adjust the
3040         vadjustment value after changing its bounds.  (fixes #101963 and 
3041         #73562)
3042
3043         * gtk/gtkcolorsel.c (hex_changed): Fix clamping to [0,1] to avoid 
3044         unnecessary roundtrip failures.  (#93500)
3045
3046 2003-01-19  Tor Lillqvist  <tml@iki.fi>
3047
3048         Merge from stable:
3049         
3050         Fix for #103614 and some other problems with GtkFileSelection on
3051         Windows:
3052                 
3053         * gtk/fnmatch.c (get_char): Need to use g_unichar_tolower(), not
3054         g_ascii_tolower(). Windows file names are case-insensitive for all
3055         Unicode letters.
3056
3057         * gtk/gtkfilesel.c: Instead of checking for G_OS_WIN32 or
3058         G_WITH_CYGWIN, check G_PLATFORM_WIN32. Move inclusion of gtkintl.h
3059         earlier, as it includes config.h unconditionally, and gtkprivate.h
3060         redefines GTK_LOCALEDIR.
3061         (struct _CompletionDirSent): Ifdef out the fields not used on
3062         Windows.
3063         (compare_utf8_filenames, compare_sys_filenames): Need different
3064         comparison implementation for UTF-8 file names and system locale
3065         file names on Win32. Cannot simply use g_ascii_strcasecmp(), but
3066         need to casefold all Unicode letters.
3067         (cmpl_completion_matches, open_dir, correct_parent): Ifdef out
3068         variables not used on Win32 to avoid warnings about unused
3069         variables.
3070         (open_ref_dir): Use g_path_skip_root() to skip past potential
3071         drive letter in front of the leading (back)slash.
3072         (open_new_dir): Ifdef out use of CompletionDirSent fields not
3073         there on Win32.
3074         (correct_parent): Bypass inode check also on Cygwin.
3075
3076         Fix bug noticed by Alex Shaduri: Tooltips and other
3077         GDK_WINDOW_TEMP windows were activated. This looked very odd, and
3078         was a regression from earlier versions.
3079         
3080         * gdk/win32/gdkwindow-win32.c (show_window_internal): Fine-tune
3081         behaviour. Don't ever activate GDK_WINDOW_TEMP windows.
3082         (gdk_window_move, gdk_window_resize): Add debug logging.
3083
3084         * gdk/win32/gdkevents-win32.c (gdk_event_translate): When we get a
3085         WM_SIZE message for a non-visible (withdrawn) window, don't clear
3086         the GDK_WINDOW_STATE_WITHDRAWN bit. The window is still withdrawn
3087         even if its size changes.
3088
3089 2003-01-16  Matthias Clasen  <maclas@gmx.de>
3090
3091         * gtk/gtktextlayout.c (gtk_text_layout_get_cursor_locations): Typo fixes.
3092         (totally_invisible_line): Fix an incorrect optimization which
3093         caused invisible paragraphs to be occasionally misrendered.
3094
3095 Wed Jan 15 15:55:47 2003  Owen Taylor  <otaylor@redhat.com>
3096
3097         * gtk/gtksettings.c: Set the double click speed from
3098         XSETTINGS when creating a new GtkSettings object
3099         as well as when getting a notify. (#103601, reported
3100         by Louis Garcia)
3101
3102 Wed Jan 15 14:56:09 2003  Owen Taylor  <otaylor@redhat.com>
3103  
3104         * gtk/gtknotebook.c (gtk_notebook_size_allocate): 
3105         Show/hide the notebook event window as necessary,
3106         we weren't previously keeping the visibility updated
3107         properly.  (#103599)
3108  
3109 2003-01-15  Matthias Clasen  <maclas@gmx.de>
3110
3111         * examples/menu/itemfactory.c: 
3112         * docs/tutorial/gtk-tut.sgml: Add a <StockItem> to the itemfactory
3113         example.  (#103211)
3114
3115 2002-12-29  Murray Cumming  <murrayc@usa.net>
3116
3117         Fixes #102168.
3118
3119         * gtk/gtkliststore.c, gtktreednd.c, gtktreestore.c:
3120         Actually implement the GtkTreeDragSource::row_draggable virtual 
3121         function in GtkListStore and GtkTreeStore instead of just checking 
3122         whether it's implemented at all. This means that DnD isn't broken by
3123         gtkmm's virtual function wrappers. The alternative would be to
3124         hard-code the TRUE return value into gtkmm's wrappers, but that's 
3125         part of GTK+'s implementation, not it's API.
3126
3127 Tue Jan 14 23:42:29 2003  Kristian Rietveld  <kris@gtk.org>
3128
3129         * gtk/gtktreeview.c: fix compiler warning.
3130
3131 Tue Jan 14 23:29:00 2003  Kristian Rietveld  <kris@gtk.org>
3132
3133         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render):
3134         make sure exposed pixbufs are clipped to the exposed area before
3135         drawing, which is a slight speedup. (#102379, patch from Soeren
3136         Sandmann).
3137
3138 Tue Jan 14 23:26:41 2003  Kristian Rietveld  <kris@gtk.org>
3139
3140         * gtk/gtktreeview.c (validate_visible_area): silly typo fix,
3141         only free scroll_to_path when the complete tree has been validated.
3142         This makes sure that we scrolled to the correct path.
3143
3144 Tue Jan 14 23:25:32 2003  Kristian Rietveld  <kris@gtk.org>
3145
3146         * gtk/gtktreeview.c (gtk_tree_view_style_set): update the
3147         background of widget->window and bin->window. (Fixes #96650, reported
3148         by Dave Camp).
3149
3150 Tue Jan 14 23:24:02 2003  Kristian Rietveld  <kris@gtk.org>
3151
3152         * gtk/gtktreeview.c (gtk_tree_view_clamp_node_visible): process
3153         updates before scrolling, avoiding a "selection streak". (Fixes
3154         #101235, patch from Soeren Sandmann).
3155
3156 Tue Jan 14 23:22:13 2003  Kristian Rietveld  <kris@gtk.org>
3157
3158         * gtk/gtktreeview.c (validate_visible_area): actually put values
3159         in the requisition using gtk_widget_size_request. (Fixes #100172,
3160         reported by Kjartan Maraas).
3161
3162 Tue Jan 14 23:19:45 2003  Kristian Rietveld  <kris@gtk.org>
3163
3164         * gtk/gtktreeview.c (gtk_tree_view_rows_reordered): cancel the
3165         arrow animation timeout before we actually reorder the rbtree. If
3166         we don't do this we can get stuck arrows,
3167         (cancel_arrow_animation): new function. (Fixes #93629, part 2,
3168         reported and testcase provided by Hans Petter Jansson).
3169
3170 Tue Jan 14 23:18:21 2003  Kristian Rietveld  <kris@gtk.org>
3171
3172         * gtk/gtktreeselection.c (gtk_tree_selection_real_modify_range):
3173         anchor_path should be start_path, not end_path. (Fixes #102618,
3174         patch from Carlos Garnacho Parro).
3175
3176 Tue Jan 14 23:16:15 2003  Kristian Rietveld  <kris@gtk.org>
3177
3178         * gtk/gtkliststore.c (gtk_list_store_move): also update the tail,
3179         only correct new_pos if we don't move to the head/tail.
3180
3181 Tue Jan 14 23:11:55 2003  Kristian Rietveld  <kris@gtk.org>
3182
3183         * gtk/gtktreestore.c (gtk_tree_store_swap): take the path from
3184         the parent_iter if depth >= 1, so we send the reordered signal to
3185         the correct level, remove debugging printfs which I forgot the remove
3186         earlier (2.2.0 shipped with this, oops). (Fixes #103198, Reported and
3187         testcase provided by Matthew Tuck).
3188
3189 Tue Jan 14 20:58:44 2003  Kristian Rietveld  <kris@gtk.org>
3190
3191         * gtk/gtktreeview.c (invalite_last_column): split out actual column
3192         invalidation into invalidate_column(),
3193         (gtk_tree_view_size_allocate_columns): invalidate column if the
3194         new width is larger than the old width.
3195         (fixes #102890, reported by Alex Duggan).
3196
3197 2003-01-14  Matthias Clasen  <maclas@gmx.de>
3198
3199         * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Skip
3200         invisible chars for GTK_MOVEMENT_LOGICAL_POSITIONS and
3201         GTK_MOVEMENT_WORDS.
3202
3203         * gtk/gtktextiter.c,
3204         gtk/gtktextiter.h: Add some variant movement functions which
3205         skip invisible chars, and do some cleanups.
3206
3207 2003-01-12  Tor Lillqvist  <tml@iki.fi>
3208
3209         Merge from stable:
3210                 
3211         * gtk/gtkmain.c: Move inclusion of config.h and gtkintl.h earlier,
3212         as gtkprivate.h redefines GTK_LOCALEDIR on Win32, for run-time
3213         lookup.
3214
3215         * gdk/Makefile.am (libgdk_win32_2_0_la_DEPENDENCIES): Depend on
3216         gdk.def.
3217
3218         * gdk/gdk.def
3219         * gtk/gtk.def: Add some missing entries. Thanks to Kenichi SUTO.
3220
3221         * gtk-zip.sh.in (DEVZIP): Add bin/{gtk-query-immodules-2.0,
3222         gtk-demo}.exe and share/gtk-2.0.
3223
3224         * gdk/win32/gdkwindow-win32.c (gdk_window_set_skip_taskbar_hint):
3225         Implement by setting or clearing the WS_EX_TOOLWINDOW extended
3226         window style.
3227         (gdk_window_set_type_hint): Add all cases to the switch (not all
3228         do anything, though). Handle GDK_WINDOW_TYPE_HINT_TOOLBAR by
3229         calling gdk_window_set_skip_taskbar_hint(). This means that GTK
3230         won't know that the skip_taskbar hint is on for the window, is
3231         this bad?
3232
3233 Wed Jan  8 18:43:03 2003  Manish Singh  <yosh@gimp.org>
3234
3235         * gdk/x11/gdkdisplay-x11.c: #include <stdlib.h> for putenv,
3236         <string.h> for strlen.
3237
3238         * gdk/x11/gdkscreen-x11.c: #include <stdlib.h> for getenv,
3239         <string.h> for strrchr.
3240
3241         * tests/testgtk.c (create_saved_position): "x" and "y" properties
3242         for widgets no longer exist, use gtk_window_move instead.
3243
3244         * test/testtextbuffer.c (check_get_set_text): cast strlen to
3245         int for g_error.
3246
3247 2003-01-08  Matthias Clasen  <maclas@gmx.de>
3248
3249         * gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix display of
3250         the selection in the presence of invisible segments.
3251
3252 2003-01-07  Matthias Clasen  <maclas@gmx.de>
3253
3254         * gtk/gtktextview.c (gtk_text_view_class_init): Bind C-/ and C-\
3255         to "select all" and "unselect all".  (#102065)
3256
3257         * gtk/gtktextview.h (struct _GtkTextView): Add a comment that
3258         the just_selected_element is unused.
3259
3260         * gtk/gtktextview.c (extend_selection): New helper function to
3261         find the range that should be added to the selection. 
3262         (selection_motion_event_handler): 
3263         (gtk_text_view_start_selection_drag): 
3264         (gtk_text_view_end_selection_drag): 
3265         (selection_motion_event_handler): 
3266         (selection_scan_timeout): Support select-by-words/lines.
3267         (gtk_text_view_button_press_event): Start a selection drag on
3268         double/triple clicks.  (#78499)
3269
3270 2003-01-06  Matthias Clasen  <maclas@gmx.de>
3271
3272         Implement a utility function proposed in #102534:
3273         
3274         * gtk/gtktextbtree.h: 
3275         * gtk/gtktextbtree.c (_gtk_text_btree_select_range): New function.
3276         (_gtk_text_btree_place_cursor): Now a simple wrapper around
3277         _gtk_text_btree_select_range().   
3278
3279         * gtk/gtktextbuffer.h: 
3280         * gtk/gtktextbuffer.c (gtk_text_buffer_select_range): New function.
3281         (gtk_text_buffer_place_cursor): Now a simple wrapper around
3282         gtk_text_buffer_select_range(). 
3283
3284 2003-01-05  Havoc Pennington  <hp@pobox.com>
3285
3286         * configure.in: fix a stray bracket that was breaking the build
3287
3288 2003-01-05  Tor Lillqvist  <tml@iki.fi>
3289
3290         * gtk-zip.sh.in: Use correct DLL and import library names, with
3291         GTK_API_VERSION in name, not GTK_MAJOR_VERSION.GTK_MINOR_VERSION.
3292         (DEVZIP): Add gdk-pixbuf-query-loaders.exe.
3293
3294         * configure.in: Improve check for dimm.h.
3295
3296         * configure.in: Set SOEXT to 'so' on Unix, 'dll' on Win32. Used in
3297         gdk-pixbuf/Makefile.am.
3298
3299         * gdk-pixbuf/makefile.mingw.in
3300         * gdk-pixbuf/pixops/makefile.mingw.in
3301         * gdk/makefile.mingw.in
3302         * gdk/win32/makefile.mingw.in
3303         * gtk/makefile.mingw.in: Remove. Not maintained anyway.
3304
3305         * gdk-pixbuf/Makefile.am
3306         * gdk-pixbuf/pixops/Makefile.am
3307         * gdk/Makefile.am
3308         * gdk/win32/Makefile.am
3309         * gtk/Makefile.am
3310         * configure.in: Remove makefile.mingw{,.in} from here, too.
3311         
3312         * README.win32: Updates. Don't mention the now removed
3313         makefile.mingw files.
3314
3315         * gdk/gdk.def
3316         * gtk/gtk.def: Add a couple of missing entries.
3317
3318         * gdk/gdkkeynames.c: Include <string.h> for strcmp() and memcpy().
3319
3320         * gdk/win32/gdkevents-win32.c: Move dimm.h header clash workaround
3321         earlier.
3322
3323         * gdk/win32/rc/Makefile.am: Add hack to help
3324         build/win32/lt-compile-resource decide which kind of libtool
3325         object file to produce.
3326
3327 2003-01-05  Matthias Clasen  <maclas@gmx.de>
3328
3329         * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Make
3330         C-Down step through the sequence of paragraph ends (old behaviour
3331         included paragraph starts).  (#80340, patch by Narayana Pattipati)
3332
3333         * gtk/gtktextiter.c (_gtk_text_btree_get_iter_at_first_toggle):
3334         Check for a tag toggle at the start iterator before calling
3335         gtk_text_iter_forward_to_tag_toggle().  (#102090, patch by Daniel 
3336         Elstner)
3337
3338 2003-01-04  Matthias Clasen  <maclas@gmx.de>
3339
3340         * gtk/gtkfilesel.h (struct _GtkFileSelection): Add /*< public >*/
3341         and /*< private >*/ as appropriate.  (#97211)
3342
3343 2003-01-04  Tor Lillqvist  <tml@iki.fi>
3344
3345         * Makefile.am (EXTRA_DIST): Don't distribute gtk-zip.sh, but do
3346         distribute gtk-zip.sh.in.
3347
3348         * gtk-zip.sh.in (DEVZIP): Add gdk-pixbuf-csource.exe and .1.
3349
3350 2003-01-03  Havoc Pennington  <hp@pobox.com>
3351
3352         * docs/Makefile.am (EXTRA_DIST): put it in EXTRA_DIST
3353
3354         * docs/text_widget_internals.txt: add a file documenting some of
3355         the text widget internals
3356
3357 2003-01-02  Matthias Clasen  <maclas@gmx.de>
3358
3359         * gtk/gtkwindow.c (gtk_window_get_focus): Document that it may
3360         return NULL.  (#102069)
3361
3362 2003-01-01  Matthias Clasen  <maclas@gmx.de>
3363
3364         * gtk/fnmatch.c (FNMATCH_TEST_CASES): #undef, since having
3365         a main() in the library is obviously bad. 
3366
3367 2002-12-27  Matthias Clasen  <maclas@gmx.de>
3368
3369         * gtk/gtktextview.c (gtk_text_view_drag_data_received): Place the
3370         cursor at drop point.  (#72384)
3371         (gtk_text_view_size_allocate): Update the horizontal adjustment
3372         value.  (#75694)
3373
3374 2002-12-25  Matthias Clasen  <maclas@gmx.de>
3375
3376         * gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix highlighting of
3377         selection wrt. to empty lines.  (#90435, #90582, #91619)
3378
3379         * gtk/gtktextview.c (gtk_text_view_preedit_changed_handler):
3380         Keep the cursor on screen.  (#96929)
3381
3382 2002-12-24  Matthias Clasen  <maclas@gmx.de>
3383
3384         * gtk/gtktextbuffer.c (paste_from_buffer): 
3385         (clipboard_text_received): Let the user action span the insertion
3386         and the deletion of the old selection.  (#82844)
3387
3388 2002-12-23  Matthias Clasen  <maclas@gmx.de>
3389
3390         * gtk/gtktextiter.c (gtk_text_iter_backward_sentence_starts):
3391         Don't call gtk_text_iter_backward_sentence_start() if
3392         count is zero.  (#99115)
3393
3394         * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Call
3395         move_cursor() even if the cursor hasn't moved, since it has the
3396         side effect of canceling the selection.  (#81395, #98537, #98333)
3397
3398 2002-12-22  Matthias Clasen  <maclas@gmx.de>
3399
3400         * gtk/gtktextlayout.c (add_preedit_attrs): Don't add attributes
3401         with empty ranges.  (fixes #101564 and #80637)
3402
3403 2002-12-21  Tor Lillqvist  <tml@iki.fi>
3404
3405         * gdk/win32/gdkwindow-win32.c (gdk_window_new): Move the code that
3406         sets the window style and extended window style, and adjusts the
3407         width and height to take the window decorations into account
3408         earlier. The adjusted width and height used to be ignored. Remove
3409         the local x, y, width and height variables, no need to further
3410         confuse the code by having local copies. (Partial fix, I hope, for
3411         #101588)
3412
3413         (gdk_window_move): When moving top-level windows, take title bar
3414         and border width into account, offsetting the coordinates before
3415         calling SetWindowPos().
3416
3417         (gdk_window_set_decorations, gdk_window_set_functions):
3418         Reimplement, taking into account the peculiar semantics of
3419         GDK_DECOR_ALL and GDK_FUNC_ALL. (#79036)
3420
3421         (gdk_window_get_decorations): Implement. (#98981)
3422         
3423         (gdk_window_set_type_hint): When setting
3424         GDK_WINDOW_TYPE_HINT_MENU, call gdk_window_set_decorations().
3425         (#79036)
3426
3427         * gdk/gdk.def: Add gdk_window_get_decorations. (#98981)
3428
3429 2002-12-21  Matthias Clasen  <maclas@gmx.de>
3430
3431         * gtk/gtktextview.c (gtk_text_view_set_background): New static
3432         function to set the background of all windows.
3433         (gtk_text_view_style_set): Use gtk_text_view_set_background().
3434         (gtk_text_view_state_changed): New function; change background
3435         according to state.  (#88126)
3436
3437 2002-12-21  Havoc Pennington  <hp@pobox.com>
3438
3439         * gtk/gtktextview.c (gtk_text_view_move_visually): fix the documentation
3440