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