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