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