]> Pileus Git - ~andy/gtk/blob - ChangeLog.pre-2-6
afb69f19cc5e4ce3f2558aa2d7194e098df87140
[~andy/gtk] / ChangeLog.pre-2-6
1 Wed Jun  4 19:24:28 2003  Owen Taylor  <otaylor@redhat.com>
2
3         * gdk/x11/gdkgc-x11.c gdk/x11/gdkprivate-x11.h: Keep
4         track of when we have a clip mask set for the GC,
5         and when we unset it, or switch to a clip region,
6         immediately call XSetClipMask (..., None) to avoid
7         Xlib caching stale data. (#111806)
8
9         * gtk/gtktextdisplay.c: Don't set a clip mask
10         when drawing alpha pixmaps; it isn't necessary any more.
11         (#111806)
12
13 Wed Jun  4 18:27:44 2003  Owen Taylor  <otaylor@redhat.com>
14
15         * gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator): 
16         gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator): 
17         Use GTK_WIDGET_IS_SENSITIVE(), not GTK_WIDGET_SENSITIVE
18         (#92548, Tim Evans)
19
20         * gtk/gtkcheckmenuitem.c (gtk_real_check_menu_item_draw_indicator)
21         gtk/gtkradiomenuitem.c (gtk_radio_menu_item_draw_indicator): If
22         Use state_type = STATE_INSENSITIVE for insensitive menu items.
23
24 Wed Jun  4 21:25:35 2003  Kristian Rietveld  <kris@gtk.org>
25
26         Merged from stable.
27
28         * gtk/gtktreeview.c (gtk_tree_view_drag_begin): use a silent
29         assert for get_info. (reported by Michael Natterer),
30         (gtk_tree_view_expand_all_emission_helper),
31         (gtk_tree_view_expand_all_helper): emit row_expanded for all
32         expanded rows during an _expand_all operation. (Fixes #111280,
33         reported by Benjamin Bayart).
34
35 Tue Jun  3 18:32:30 2003  Owen Taylor  <otaylor@redhat.com>
36
37         * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Don't
38         respond to pings on a root window; prevents infinite
39         loops if we are selecting for SubstructureNotify on the
40         root window. (#111945, Sergey V. Udaltsov)
41
42 Tue Jun  3 17:39:16 2003  Owen Taylor  <otaylor@redhat.com>
43
44         #71597, reported by Morten Welinder
45
46         * gdk/gdkpixbuf-drawable.c (rgb888amsb): Fix and simplify
47         (Patch from Christian Petig)
48
49         * gdk/gdkpixbuf-drawable.c (rgb{555,565}{a,}{msb,lsb}):
50         Major rewrite of 555 and 565 conversion routines:
51
52         - Move all the bit shifting into a small block of macros,
53           eliminating much duplication of complicated arithmetic.
54         - Get rid of 2-pixels at a time code, which was buggy,
55           hard to maintain, caused unaligned accesses, and
56           probably didn't actually perform any better.
57         - Simplify cases where different data types were
58           used for the little and big endian cases, use
59           GUINT16_SWAP_LE_BE() where appropriate.
60                 
61 Tue Jun  3 15:05:47 2003  Owen Taylor  <otaylor@redhat.com>
62
63         * gdk/x11/gdkdrawable-x11.c (convert_to_format): Remove
64         bad optimization for src_rowstride == dest_stride.
65         (Didn't consider the case where we were copying only
66         partial widths of a wider source buffer)
67         (#113034, reported by Hans Petter Jansson)
68
69 2003-06-03  Michael Natterer  <mitch@gimp.org>
70
71         * gdk/x11/gdkinput-x11.c (_gdk_input_common_find_events):
72         reenabled button_release events for xinput devices. (#113948)
73
74 2003-06-03  Christian Rose  <menthos@menthos.com>
75
76         * configure.in: Added "li" to ALL_LINGUAS.
77
78 Mon Jun  2 18:58:54 2003  Owen Taylor  <otaylor@redhat.com>
79
80         * gtk/gtknotebook.c (gtk_notebook_size_allocate): Don't
81         map the event window if the notebook isn't mapped. (#113980,
82         Richard Reich)
83
84 2003-06-02  Sven Neumann  <sven@gimp.org>
85
86         * gtk/gtkprogress.c (gtk_progress_changed): added a missing cast.
87
88         * gdk/gdkrgb.c (gdk_rgb_try_colormap): removed an unused variable.
89
90 2003-06-01  Matthias Clasen  <maclas@gmx.de>
91
92         * gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Add 
93         Since: 2.4 to the docs.
94
95         * gtk/gtkwindow.c (gtk_window_parse_geometry): Add some hints and
96         an example to the docs.  (#98427)
97
98 2003-05-30  Murray Cumming  <murrayc@usa.net>
99
100         * gtk/gtkalignment.[h|c]: Added 4-sided padding as properties with
101         gtk_alignment_get_padding() and gtk_aligment_set_padding(). This
102         uses the new private data system - see g_type_class_add_private() in
103         gtk_alignment_class_init() and the use of GTK_ALIGNMENT_GET_PRIVATE().
104
105 2003-05-30  Matthias Clasen  <maclas@gmx.de>
106         
107         * gtk/gtknotebook.c: Changed guint to GtkNotebookArrow in the
108         signature of gtk_notebook_draw_arrow() for Solaris builds to go
109         through.  (#114043, Anand Subramanian)
110
111 Thu May 29 18:30:35 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
112
113         * modules/input/imipa.c: 
114         use GETTEXT_PACKAGE to get a translation for "ipa"(#113850).
115
116 Thu May 29 18:08:01 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
117
118         * gtk/gtkimmodule.c (_gtk_im_module_list):
119         use GETTEXT_PACKAGE to get a translation for "Default"(#113850).
120
121 Thu May 29 09:34:05 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
122
123         * gtk/gtkimmodule.c (_gtk_im_module_list): make "Default"
124         label of default input method localizable.
125         * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems): 
126         use translations of input method context names
127         * modules/input/imam-et.c, modules/input/imcyrillic-translit.c,
128           modules/input/iminuktitut.c, modules/input/imthai-broken.c,
129           modules/input/imti-er.c, modules/input/imti-et.c
130           modules/input/imviqr.c, modules/input/imxim.c
131         use GETTEXT_PACKAGE instead of "gtk+" for domain name.
132         (#113850).
133
134 Thu May 29 18:23:01 2003  Kristian Rietveld  <kris@gtk.org>
135
136         Merged from stable.
137
138         * gtk/gtktreeview.c (gtk_tree_view_button_press): put the focus
139         grab separate, the user might clear the tree in the focus-in
140         callback. (Fixes #113086, testcase from Felipe Heidrich).
141
142 Thu May 29 18:06:26 2003  Kristian Rietveld  <kris@gtk.org>
143
144         Merged from stable.
145
146         * gtk/gtktreeview.c (gtk_tree_model_set_model): reset a bunch
147         of row reference when we unset the model. Also reset
148         dy and top_row_dy. (Fixes #109289, patch from Owen Taylor).
149
150 Thu May 29 17:12:19 2003  Kristian Rietveld  <kris@gtk.org>
151
152         Merged from stable.
153
154         * gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): cancel
155         the current editing, if it exists. (Fixes #108956, reported by
156         Michael Natterer).
157
158 Thu May 29 17:06:09 2003  Kristian Rietveld  <kris@gtk.org>
159
160         Merged from stable.
161
162         * gtk/gtktreeview.c (check_selection_helper): new function,
163         (gtk_tree_view_row_deleted): traverse the tree from the
164         deleted node to see whether the selection changed, instead of
165         just checking this node. (Fixes #107400, reported by 'Duncan').
166
167 Thu May 29 16:31:34 2003  Kristian Rietveld  <kris@gtk.org>
168
169         Merged from stable.
170
171         * gtk/gtktreeview.c (gtk_tree_view_maybe_begin_dragging_row),
172         (gtk_tree_view_drag_begin): set the DnD icon in _drag_begin
173         instead of _maybe_begin_dragging_row, so the icon can be
174         overridden by apps. (Fixes #104374, patch from Daniel Elstner).
175
176 Thu May 29 16:14:04 2003  Kristian Rietveld  <kris@gtk.org>
177
178         Merged from stable.
179
180         * gtk/gtktreeview.c (gtk_tree_view_start_editing): correct
181         cell_area x/width for the expander if needed. (Fixes #101748,
182         reported by Dave Cook and Mariano Suarez-Alvarez).
183
184 Thu May 29 16:01:38 2003  Kristian Rietveld  <kris@gtk.org>
185
186         Merged from stable.
187
188         * gtk/gtktreeview.c (gtk_tree_view_real_set_cursor): check
189         if tree/node are still the same after _internal_select_node.
190         (Fixes #92256, reported by edscott).
191
192 Thu May 29 15:38:30 2003  Kristian Rietveld  <kris@gtk.org>
193
194         Fixes #75745, reported by Richard Hult. Merged from stable.
195
196         * gtk/gtktreeview.c (gtk_tree_view_bin_expose): set/unset
197         GTK_CELL_RENDERER_FOCUSED flag whether the current node is the
198         cursor or not.
199
200         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
201         if we are rendering a cursor row, and the cell the be
202         processed has focus, then set the GTK_CELL_RENDERER_FOCUSED
203         flag (else we unset it).
204
205 2003-05-27  Matthias Clasen  <maclas@gmx.de>
206
207         * gtk/gtkwindow-decorate.c: 
208         * gtk/gtktreeprivate.h: 
209         * gtk/gtkdnd.c: 
210         * gdk/win32/gdkwindow-win32.h: 
211         * gdk/linux-fb/gdkprivate-fb.h: 
212         * gdk/linux-fb/gdkkeyboard-fb.c: Remove dubious bitfields of
213         unspecified signedness.  (#112919, Morten Welinder)
214
215         * gtk/queryimmodules.c (escape_string): 
216         * gtk/gtktextbtree.c (_gtk_text_btree_get_text): 
217         * gtk/gtksettings.c (_gtk_settings_parse_convert): 
218         * gtk/gtkrc.c (gtk_rc_parse_assignment): 
219         * gtk/gtkinputdialog.c (gtk_input_dialog_set_key): 
220         * gdk/x11/gdkdisplay-x11.c (escape_for_xmessage): Replace all 
221         occurances of g_string_new ("") by g_string_new (NULL). (#106975,
222         Morten Welinder) 
223
224 2003-05-27  Tor Lillqvist  <tml@iki.fi>
225
226         * gtk-zip.sh.in: Only include the Default and Emacs themes' gtkrc
227         files. Include share/gtk-doc/{gdk-pixbuf,gdk,gtk}.
228
229         * gdk/Makefile.am: libgdk-win32-2.0.la depends on
230         win32/libgdk-win32.la.
231
232         * gtk/gtk.def: Add gtk_tree_view_column_cell_get_position.
233
234 Sat May 24 22:19:13 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
235
236         * gtk/gtkscrollbar.c (gtk_scrollbar_class_init): Make the minimum
237         scrollbar slider length 21 instead of 7.
238
239 2003-05-23  Matthias Clasen  <maclas@gmx.de>
240
241         * gtk/gtknotebook.c: Add support for up to four scroll
242         arrows. Control their display by new style properties
243         "has_forward_stepper", "has_backward_stepper",
244         "has_secondary_forward_stepper" and
245         has_secondary_backward_stepper". (#110540)
246
247         * gtk/gtknotebook.h (struct _GtkNotebook): Make in_child and
248         click_child three bits wide, add
249         has_{before,after}_{previous,next} fields.
250
251         * gtk/gtkcolorsel.c (gtk_color_selection_init): Update color on
252         focus out of hex_entry.  (#112665)
253         (hex_focus_out): New signal handler for focus out of hex entry.
254
255 Wed May 21 19:01:06 2003  Owen Taylor  <otaylor@redhat.com>
256
257         * gtk/gtkwidget.c (gtk_widget_realize): 
258         g_return_if_fail() if
259         GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget).
260         (#107872, Christian Reis)
261
262 2003-05-22  Matthias Clasen  <maclas@gmx.de>
263
264         * gtk/gtkfilesel.c (gtk_file_selection_create_dir): 
265         (gtk_file_selection_rename_file): Some keynav improvements for the
266         "Rename File" and "Create Directory" subdialogs: Enter in entry
267         activates default, default is "Create"/"Rename", Escape cancels
268         dialog.  (#113110)
269         (gtk_file_selection_set_filename): Add a hint about opening 
270         directories.  (#113175)
271
272 2003-05-22  Matthias Clasen  <maclas@gmx.de>
273
274         * gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_update_xft_clip):
275         Use XftDrawSetClipRectangles(), since we're inside HAVE_XFT2
276         anyway.  (#113476)
277
278 Wed May 21 15:53:14 2003  Owen Taylor  <otaylor@redhat.com>
279
280         * gtk/gtkprogress.c (gtk_progress_set_format_string,
281         gtk_progress_set_show_text): Always queue a resize ... 
282         we rely on the size-allocate to do the update, plus a 
283         different format can actually change our size requisition.
284         (#111052, Vasco Alexandre da Silva Costa)
285
286         * gtk/gtkprogress.c (gtk_progress_changed): Track
287         ::changed as well as ::value_changed, and queue a
288         resize on ::changed when necessary.
289
290         * gtk/gtkprogress.c (gtk_progress_set_adjustment): 
291         Call gtk_progress_changed() here to update or 
292         queue a resize as necessary.
293
294 Wed May 21 14:06:13 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
295
296         * gtk/gtkimcontextsimple.c: added composing rules of
297         Greek accented letters, patch by Vasilis Vasaitis (#107507)
298
299 Wed May 21 13:19:05 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
300
301         * gtk/gtkenums.h (enum GtkIMPreeditStyle, GtkIMStatusStyle): 
302         * modules/input/gtkimcontextxim.c (preedit_style_change, status_style_change):
303         gtk settings for XIMPreeditNone and XIMStatusNone. (#105909)
304
305 Wed May 21 12:10:25 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
306
307         * gtk/gtkimcontextsimple.c: 
308         code that can check the compose table for ascending order,
309         by Vasilis Vasaitis (#104862).
310
311 Wed May 21 12:52:01 2003  Owen Taylor  <otaylor@redhat.com>
312
313         * gtk/gtkkeyhash.[ch] (_gtk_key_hash_looku): We need 
314         to pass the unmasked state to gdk_keymap_translate_keyboard_state() 
315         to handle the case where a modifier not in the mask
316         (like Num_Lock) changes the key value, so replace
317         the masked state with a state/mask pair. (#106913,
318         Olivier Ripoll)
319
320         * gtk/gtkwindow.c gtk/gtkbinding.c: Update to pass
321         in state/mask pair to _gtk_key_hash_lookup()
322
323 Tue May 20 21:58:00 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
324
325         * modules/input/gtkimcontextxim.c (xim_info_display_closed):
326         fix a memory leak, free input context list (#113259).
327
328 2003-05-21  Matthias Clasen  <maclas@gmx.de>
329
330         * configure.in (all_loaders): Add pcx.
331
332         * gtk/gtkcalendar.c: Make calendar controls spin.  (#112540)
333
334 Tue May 20 17:27:24 2003  Owen Taylor  <otaylor@redhat.com>
335
336         * gtk/gtkimmodule.c (gtk_im_module_init): Silently
337         accept a missing gtk.immodules file, some people
338         want to run without one. (#112406, patch from
339         Arnaud Charlet)
340
341 Tue May 20 17:05:31 2003  Owen Taylor  <otaylor@redhat.com>
342
343         * gtk/gtkwindow.c (gtk_window_compute_hints): Fix 
344         height/width confusion (#113370, Xan Lopez)
345
346 Tue May 20 15:48:45 2003  Owen Taylor  <otaylor@redhat.com>
347
348         * gdk/x11/gdkdnd-x11.c gdk/x11/gdkwindow-x11.c: Comprehensively
349         zero all unused parts of client messages (Mainly Motif DND
350         and EWMH). Also, fix a couple places where we were putting
351         contents into Motif DND messages that didn't belong.
352         (#113361, EWMH problem reported by Lubos Lunak)
353
354         * gtk/gtkselection.c (_gtk_selection_request): Handle the
355         case where the property type for the multiple atoms is
356         ATOM_PAIR by doing the conversions ourselve. This is
357         needed for Xt inter-operation.
358
359 2003-05-19 Arafat Medini <lumina@silverpen.de>
360
361         * configure.in: Added ar to ALL_LINGUAS
362
363 2003-05-19  Matthias Clasen  <maclas@gmx.de>
364
365         * gtk/gtksettings.c (gtk_rc_property_parse_border,
366         gtk_rc_property_parse_color, gtk_rc_property_parse_enum,
367         gtk_rc_property_parse_flags, gtk_rc_property_parse_requisition):
368         Add docs.
369
370         * gtk/gtkwidget.c (gtk_widget_class_install_style_property, 
371         gtk_widget_class_install_style_property_parser): Add docs. 
372
373 2003-05-17  Matthias Clasen  <maclas@gmx.de>
374
375         * tests/prop-editor.c: Add navigation for object properties, so
376         that you can easily edit the properties of the parent of a widget.
377         (#113152)
378
379 Wed May 14 17:45:32 2003  Owen Taylor  <otaylor@redhat.com>
380
381         * gdk/gdkkeysyms.h gdk/gdkkeynames.c gdk/gdkkeyuni.c:
382         Patch from Vasilis Vasaitis to fix Greek_IOTAdi[a]eresis 
383         inconsistency and leave the old name as an aliass (#104873)
384
385 Wed May 14 16:40:09 2003  Owen Taylor  <otaylor@redhat.com>
386
387         * gtk/gtkframe.c (gtk_frame_set_label_widget): Patch
388         from Charles Schmidt to add missing notify (#108305)
389
390 Wed May 14 16:00:51 2003  Owen Taylor  <otaylor@redhat.com>
391  
392         * gdk/x11/gdkgc-x11.c: Remove unecessary g_return_if_fail().
393         (#105500, Morten Welinder.)
394  
395 Wed May 14 09:05:11 2003   Hidetoshi Tajima <hidetoshi.tajima@sun.com>
396
397         * modules/input/gtkimcontextxim.c (get_ic_real): use type of guint32
398         instead of gumake for XNFilterEvents event mask(#110493).
399
400 2003-05-11  Anders Carlsson  <andersca@codefactory.se>
401
402         * gtk/gtkdnd.c (gtk_drag_source_unset_icon): Don't cast a gchar to
403         a GObject. (#112762)
404
405 2003-05-08  Sven Neumann  <sven@gimp.org>
406
407         * configure.in: set the HAVE_X11R6 automake conditional to false
408         if not compiling for X11.
409
410 2003-05-08  Matthias Clasen  <maclas@gmx.de>
411
412         * gtk/gtkcalendar.[ch] (gtk_calendar_set_display_options): 
413         (gtk_calendar_get_display_options): New functions.
414         (gtk_calendar_display_options): Depreate.  (#64567)
415         (gtk_calendar_class_init): Add boolean properties for the display
416         options.  (#50949)
417
418 Tue May  6 16:50:52 2003  Owen Taylor  <otaylor@redhat.com>
419
420         Patch from James Henstridge to update to automake-1.7
421         (#109542)
422  
423         * autogen.sh: update to call newer tools.
424  
425         * configure.in: various updates, to use M4 macros to put
426         variables that change each release at the top.
427         Use AC_HELP_STRING to format help strings.
428         Use AC_CONFIG_COMMANDS to generate gdkconfig.h.
429  
430         * Makefile.am: require Automake 1.7.  Remove gdk-2.0.pc and
431         gtk+-2.0.pc on uninstall.  Pass --enable-gtk-doc to configure
432         during distcheck.
433  
434         * docs/reference/*/Makefile.am: simplify to use the gtk-doc.make
435         makefile fragment.
436  
437         * */Makefile.am: don't use STRIP_BEGIN/STRIP_END.
438         Use BUILT_SOURCES where appropriate.
439         Build generated files in builddir rather than srcdir.
440         Fix uninstall and distclean targets to satisfy distcheck.
441
442         ===
443
444         * gdk/*/Makefile.am: Remove the hacks to get gdkenumtypes.h
445         built first, since we are now using BUILT_SOURCES.
446
447         * gdk/Makefile.am: Remove an outdated comment about gdk_headers.
448
449         * demos/gtk-demo/Makefile.am: Fix srcdir != buildd problem
450         with geninclude.pl.
451
452         * configure.in: Update versions to 2.3.0.
453  
454 2003-05-06  Tor Lillqvist  <tml@iki.fi>
455
456         Fix for #110165 (thanks to Arnaud Charlet):
457         
458         * gdk/win32/gdkevents-win32.c (build_keypress_event,
459         build_keyrelease_event): For unshifted control char, use
460         lowercase ASCII keyval.
461         (gdk_event_translate): Similarily, when handling WM_SYSKEYDOWN and
462         UP (i.e. Alt-something), if it's an unshifted ASCII letter, use
463         lowercase keyval. Use build_key_event_state() here, too, instead
464         of minor code duplication.
465
466 2003-05-06  Matthias Clasen  <maclas@gmx.de>
467
468         * tests/testmultidisplay.c: Don't include strings.h, it's not
469         needed anymore.  (#112388)
470
471         * examples/menu/itemfactory.c: 
472         * docs/tutorial/gtk-tut.sgml: Remove an unneeded include from the
473         itemfactory example.
474
475 2003-05-05  Matthias Clasen  <maclas@gmx.de>
476
477         * gtk/gtkdnd.c (gtk_drag_source_set_icon_stock):  Actually set the
478         icon type to the stock icon type.  (#111735, Dave Bordoley)
479
480 2003-05-05  Christian Rose  <menthos@menthos.com>
481
482         * configure.in: Added sr and sr@Latn to ALL_LINGUAS.
483         Removed sp, it's replaced by sr@Latn.
484
485 Wed Apr 30 22:09:11 BST 2003  Tony Gale <gale@gtk.org>
486
487         * docs/faq/gtk-faq.sgml: GTK+ 2.x updates, mainly from
488         Gonzalo Odiard
489
490 Mon Apr 28 17:54:39 2003  Jonathan Blandford  <jrb@redhat.com>
491
492         * gtk/gtktreeview.c (gtk_tree_view_destroy): destroy the search
493         data iff the destroy func isn't NULL.
494
495 Thu Apr 24 19:12:05 2003  Owen Taylor  <otaylor@redhat.com>
496
497         * autogen.sh (have_libtool): Accept libtool-1.5. (#111480)
498
499 2003-04-23  Abel Cheung  <maddog@linux.org.hk>
500
501         * configure.in: Added "am" "mk" "ta" to ALL_LINGUAS.
502
503 Tue Apr 22 15:33:51 2003  Owen Taylor  <otaylor@redhat.com>
504
505         * gtk/gtkfilesel.c (open_new_dir): Fix capitalization
506         of UTF-8. (#106419, Roozbeh Pournader)
507
508 Tue Apr 22 15:17:25 2003  Owen Taylor  <otaylor@redhat.com>
509
510         * configure.in: Only check for XFT2 if we found pango-xft
511         (#105692, Jon Nall)
512
513 Tue Apr 22 15:12:19 2003  Owen Taylor  <otaylor@redhat.com>
514
515         * gtk/gtkwidget.c (gtk_widget_class_init): Fix PROP_HAS_FOCUS/
516         PROP_IS_FOCUS confusion. (#111333, Jody Goldberg)
517
518 Tue Apr 22 19:43:01 BST 2003  Tony Gale <gale@gtk.org>
519
520         * docs/faq/gtk-faq.sgml: add note about version converage.
521
522 Mon Apr 21 19:02:16 2003  Owen Taylor  <otaylor@redhat.com>
523
524         * gtk/gtksocket.c (activate_key): Fix prototype for
525         activate_key. (#108927, Jason D. Hildebrand)
526
527 Mon Apr 21 18:42:51 2003  Owen Taylor  <otaylor@redhat.com>
528
529         * demos/gtk-demo/Makefile.am demos/gtk-demo/geninclude.pl:
530         Remove geninclude.pl from CVS and don't dist it either,
531         it is generated. (#108970, Rich Kinder)
532
533 Mon Apr 21 18:35:48 2003  Owen Taylor  <otaylor@redhat.com>
534
535         * gtk/gtkobject.h: Remove a couple of obsolete comments,
536         fix another comment. (#109737, Britton Kerin)
537
538 Mon Apr 21 18:29:03 2003  Owen Taylor  <otaylor@redhat.com>
539
540         * gtk/gtkiconfactory.c (gtk_icon_set_unref): Free
541         the source list, not just it's contents (Patch
542         from Charles Kerr, #108243)
543
544 Mon Apr 21 18:13:46 2003  Owen Taylor  <otaylor@redhat.com>
545
546         * gdk/x11/gdkdnd-x11.c (gdk_window_cache_filter): Patch
547         from Alex Larsson fixing problem with restacking during
548         DND. (#108671)
549
550 Mon Apr 21 15:07:29 2003  Owen Taylor  <otaylor@redhat.com>
551
552         * gdk/x11/gdkdisplay-x11.c (gdk_display_keyboard/pointer_ungrab):
553         Calling XFlush() after ungrabbing, to avoid problems if
554         the app subsequently blocks on a long-running operation.
555         (#106520, reported by Rajkumar Siva)
556
557 Fri Apr 18 17:42:45 2003  Owen Taylor  <otaylor@redhat.com>
558
559         * gdk/x11/gdkwindow-x11.c (set_initial_hints): Add
560         SKIP_TASKBAR/SKIP_PAGER to set of properties we
561         might set on map. (#110019, problem reported
562         by Loban Rahman)
563
564 Fri Apr 18 17:14:33 2003  Owen Taylor  <otaylor@redhat.com>
565
566         * gdk/gdkevents.c (gdk_event_copy): Fix for the
567         case when gdk_event_copy() is called on a non-allocated
568         event. (#109716, reported by Rich Burridge)
569
570 Fri Apr 18 16:57:44 2003  Owen Taylor  <otaylor@redhat.com>
571
572         * gdk/x11/gdkdrawable-x11.c (draw_with_images/pixmaps):
573         Fix pointer arithmetic on 'void *'. (#108322)
574
575 Fri Apr 18 16:31:49 2003  Owen Taylor  <otaylor@redhat.com>
576
577         * configure.in gdk/x11/gdkdisplay-x11.c modules/input/Makefile.am:
578         Check for XAddConnectionWatch()/X11R6, and if found, disable XIM and
579         use of XAddConnectionWatch. Remove --enable-xim config option.
580         Should fix building on X11R6 (#110523, Albert Chin)
581
582 Fri Apr 18 15:56:46 2003  Owen Taylor  <otaylor@redhat.com>
583
584         * gdk/x11/gdkdisplay-x11.[ch] gdk/x11/gdkdrawable-x11.[ch]:
585         Patch from Morten Welinder to catch Sun servers with a 
586         broken implementation of the RENDER extension. (#108309)
587
588 Fri Apr 18 15:30:38 2003  Owen Taylor  <otaylor@redhat.com>
589
590         * gdk/x11/gdkwindow-x11.c (set_text_property): Use
591         gdk_free_compound_text(), not g_free(). (#107643,
592         Michael Zucchi)
593
594 Fri Apr 18 15:11:50 2003  Owen Taylor  <otaylor@redhat.com>
595
596         * gdk/x11/gdkdisplay-x11.c (_gdk_display_x11_get_type)
597         gdk/x11/gdkscreen-x11.c (_gdk_screen_x11_get_type): Fix
598         wrong use of base_finalize. (#105126, Sven Neumann)
599
600 Fri Apr 18 15:06:00 2003  Owen Taylor  <otaylor@redhat.com>
601
602         * gdk/gdkwindow.c (gdk_window_constrain_size): Fix
603         '/' vs. '*' problem in aspect ration computations. (#108237)
604
605 Fri Apr 18 14:15:09 2003  Owen Taylor  <otaylor@redhat.com>
606
607         * gdk/x11/gdkdisplay-x11.c (gdk_display_open): 
608         * gdk/x11/gdkevents-x11.c (gdk_event_translate): You
609         don't get a XkbMapNotify event if you get a XkbNewKeyboardNotify 
610         event, so select for both. (#108406, Egmont Koblinger)
611
612 Thu Apr 17 09:57:44 2003  Jonathan Blandford  <jrb@gnome.org>
613
614         * gtk/gtktreeview.c (validate_visible_area): remove infinite loop
615         caused by not clearing the scroll_to_path.
616
617 2003-04-16  Matthias Clasen  <maclas@gmx.de>
618
619         * gtk/gtkstyle.c: Doc additions and fixes.
620
621         * gtk/gtktreeviewcolumn.c
622         (_gtk_tree_view_column_get_neighbor_sizes): Doc fixes.
623
624 2003-04-14  Michael Natterer  <mitch@gimp.org>
625
626         * gtk/gtkliststore.c (gtk_list_store_move): added checks to ensure
627         that the iter is not reordered to its own position. Prevents model
628         corruption for the case that the store contains only a single item
629         (fixes bug #108387).
630
631         Unrelated:
632
633         * gtk/gtkliststore.c (gtk_list_store_insert): g_list_alloc() the
634         new list element later so we don't leak it if we decide to return
635         early.
636
637         * gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node):
638         set selection->tree_view->priv->anchor to NULL after freeing it.
639
640 2003-04-13  Matthias Clasen  <maclas@gmx.de>
641
642         * gtk/gtktreeviewcolumn.c
643         (gtk_tree_view_column_cell_get_position): Document. 
644
645         * gtk/gtktextbuffer.c (gtk_text_buffer_select_range): 
646         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_[sg]et_expand): 
647         * gtk/gtkbutton.c (gtk_button_[sg]et_focus_on_click): Document
648         these as 2.4 additions.
649
650 2003-04-09  Matthias Clasen  <maclas@gmx.de>
651
652         * INSTALL.in: Fix the real thing.
653
654         * INSTALL: Typo fix.
655
656 Mon Apr  7 19:43:15 2003  Owen Taylor  <otaylor@redhat.com>
657
658         * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_ungrab): Flush
659         after ungrabbing the server.
660  
661         * gdk/x11/gdkimage-x11.c: Remove some no-longer-needed
662         calls to XFlush().
663
664         * gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_at_pointer):
665         Use gdk_x11_display_grab/ungrab.
666  
667 2003-04-07  Matthias Clasen  <maclas@gmx.de>
668
669         * gtk/gtktextlayout.c (set_para_values): 
670         * gtk/gtkenums.h (GtkWrapMode): Add GTK_WRAP_WORD_CHAR.  (#110086,
671         David Brigada)
672
673         * gtk/gtkcelleditable.c, gtk/gtkfixed.c, gtk/gtktreemodel.c,
674         gtk/gtktreeselection.c, gtk/gtktreeview.c: Fix numerous
675         misspellings of possessive "its".  (#110027, Doug Quale)
676
677 2003-04-03  Matthias Clasen  <maclas@gmx.de>
678
679         * demos/gtk-demo/main.c (demo_find_file): Only use files from the
680         current directory if it looks like the srcdir.  (#109357)
681
682 Wed Apr  2 23:02:26 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
683
684         * gtk/gtkbutton.[ch] (gtk_button_class_init): add property
685         focus_on_click
686
687         * gtk/gtkwindow.c (gtk_window_focus): make arrow keyboard
688         navigation not wrap around.
689
690 2003-04-02  Matthias Clasen  <maclas@gmx.de>
691
692         * gtk/gtkprogress.c (gtk_progress_get_percentage_from_value):
693         Return 0 if lower == upper.  (#109155)
694         (gtk_progress_get_current_percentage): Use
695         gtk_progress_get_percentage_from_value().
696
697 2003-04-01  Matthias Clasen  <maclas@gmx.de>
698
699         * gtk/gtkimcontext.c (gtk_im_context_focus_in): Fix docs.
700         (#109510, Noah Levitt)
701
702 Mon Mar 31 13:52:13 2003  Jonathan Blandford  <jrb@redhat.com>
703
704         * gtk/gtkrbtree.c (_gtk_rbtree_reorder): null initialize reorder's
705         members so Purify won't complain.
706
707         * gtk/gtkliststore.c (gtk_list_store_sort): ditto.
708
709 2003-03-31  Matthias Clasen  <maclas@gmx.de>
710
711         * gtk/gtkwindow.c: Add a new property, role, corresponding to 
712         gtk_window_[gs]et_role().  (#93904)
713
714 Sun Mar 30 03:57:42 2003  Jonathan Blandford  <jrb@gnome.org>
715
716         * gtk/gtktreeselection.c (gtk_tree_selection_get_selected_rows):
717         fix crash.  Patch from Markus Lausser <sgop@users.sourceforge.net>
718
719 2003-03-29  Matthias Clasen  <maclas@gmx.de>
720
721         * gtk/gtkoptionmenu.c (gtk_option_menu_remove_contents): Set state
722         of labels back to normal before reparenting back.  (#102387)
723
724         * gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init): Set
725         a default window title to match the GtkFontSelectionDialog behavior.
726  
727         (gtk_color_selection_dialog_new): Don't call
728         gtk_window_set_title() if title is NULL.  (bug #101975, Daniel Elstner)
729
730 2003-03-29  Matthias Clasen  <maclas@gmx.de>
731
732         Fix for bug #78499:
733         
734         * gtk/gtkentry.h (struct _GtkEntry): Add flags select_words and
735         select_lines. 
736
737         * gtk/gtkentry.c (gtk_entry_button_press): Set select_words and
738         select_lines on double/triple click.
739
740         * gtk/gtkentry.c (gtk_entry_motion_notify): Implement
741         select-by-words and select-by-lines behaviour.
742
743         Fixes for bug #56248:
744         
745         * gtk/gtknotebook.c (stop_scrolling): New function to remove the
746         timer and queue a redraw. 
747         (gtk_notebook_grab_notify): 
748         (gtk_notebook_state_changed): New functions to call stop_scrolling() 
749         if necessary.   
750         (gtk_notebook_button_release): Use stop_scrolling().
751         (gtk_notebook_draw_arrow): Fix drawing of insensitive arrows.
752
753         * gtk/gtkrange.c (stop_scrolling): New function to remove the
754         grab, remove the timer and queue a redraw.
755         (gtk_range_grab_notify): 
756         (gtk_range_state_changed): New functions to call stop_scrolling() 
757         if necessary.   
758         (gtk_range_button_release): Use stop_scrolling().
759
760         * gtk/gtkspinbutton.c (gtk_spin_button_grab_notify): 
761         (gtk_spin_button_state_changed): Redraw after stop_spinning.
762         (gtk_spin_button_stop_spinning): Reset click_child to correct the
763         drawing of the arrows.
764         (gtk_spin_button_button_release): Use a local copy of click_child,
765         since stop_spinning() resets it.
766
767         * gtk/gtknotebook.c (gtk_notebook_class_init): Add C-A-PgUp and
768         C-A-PgDown as alternatives to the A-less variants. (This slipped
769         in accidentally some time ago).  (#97860)
770
771 2003-03-26  Sven Neumann  <sven@gimp.org>
772
773         * gtk/gtktreeview.c: rewrote the function that does node and arrow
774         prelighting, queue all redraws from here (Fixes bug #108792).
775
776 2003-03-20  Richard Kinder <r_kinder@yahoo.com>
777
778         * demos/testpixbuf.c (update_timeout): set error to NULL, not FALSE.
779         Fixes bug #108778.
780
781 2003-03-20  Guntupalli Karunakar <karunakar@freedomink.org>
782
783         * configure.in: Added "ml" in ALL_LINGUAS
784
785 Sat Mar 15 18:49:27 2003  Manish Singh  <yosh@gimp.org>
786
787         * gtk/gtkradiomenuitem.h: use GTK_DISABLE_DEPRECATED instead of
788         G_DISABLE_DEPRECATED.
789
790 2003-03-14  Tor Lillqvist  <tml@iki.fi>
791
792         * gdk/win32/gdkevents-win32.c: Use the signed GET_X_LPARAM() and
793         GET_Y_LPARAM() to extract x and y coordinates from an LPARAM or
794         DWORD, and not the unsigned HIWORD() and LOWORD(). Systems with
795         multiple monitors can have negative coordinates on some of the
796         monitors. (partial fix for #99496, Arnaud Charlet)
797
798 2003-03-15  Matthias Clasen  <maclas@gmx.de>
799
800         * gtk/gtktextview.c: Add a "buffer" property.  (#108353) 
801
802 2003-03-13  Sven Neumann  <sven@gimp.org>
803
804         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
805         removed redundant calls to g_object_notify().
806         (gtk_cell_renderer_pixbuf_get_size): removed redundant casts, see
807         bug #108236.
808
809         * gtk/gtktextiter.c (_gtk_text_iter_get_segment_char)
810         (_gtk_text_iter_get_segment_byte): return 0, not NULL (these
811         functions return an integer value).
812
813 2003-03-13  Tor Lillqvist  <tml@iki.fi>
814
815         * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
816         WM_MOUSEMOVE, the test whether we have actually moved (and thus
817         shouldn't generate an GDK event) moved after the call to
818         propagate() and translate_mouse_coords(). Otherwise we were
819         testing wrong values. (#108115, Allin Cottrell)
820         (gdk_event_translate): On WM_?BUTTONUP, set current_{x,y} the same
821         way as in WM_?BUTTONDOWN and WM_MOUSEMOVE.
822
823         * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): if a grab cursor
824         is used, must copy the HCURSOR with CopyCursor(), as it is OK to
825         destroy the GdkCursor after calling gdk_pointer_grab(). Set the
826         cursor right away with SetCursor(), as we won't get any
827         WM_SETCURSOR messages while the mouse is captured. 
828         (gdk_display_pointer_ungrab): Correspondingly, destroy the copy
829         with DestroyCursor() when no longer used. (#108114, Allin Cottrell)
830
831         * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
832         WM_SYSCHAR, return FALSE from the window procedure to prevent the
833         DefWindowProc from being called. Otherwise Windows would beep,
834         thinking you are tring to access a (nonexistent) menu when you
835         press Alt-something. Don't do this for Alt-Space,
836         though. (#107454, Martyn Russell)
837
838         * gdk/win32/gdkcursor-win32.c: Minor spacing and debug print fixes.
839
840 Tue Mar 11 12:01:07 2003  Jonathan Blandford  <jrb@gnome.org>
841
842         * gtk/gtktreeview.c (gtk_tree_view_class_init): Ctrl/Shift
843         [left/right] expands/collapses the tree, #108092
844
845 2003-03-09  Tor Lillqvist  <tml@iki.fi>
846
847         * gdk/win32/gdkdrawable-win32.c (draw_segments): Don't try to
848         compensate for LineTo() not drawing the end pixel. It causes more
849         harm than benefits, see bug #81895.
850
851 2003-03-08  Matthias Clasen  <maclas@gmx.de>
852
853         Bug #107664 continued:
854
855         * gdk/x11/gdkinputprivate.h: 
856         * gdk/x11/gdkinput-none.c (_gdk_input_window_none_event): Remove. 
857         (_gdk_input_other_event): Return gboolean.
858         * gdk/x11/gdkinput-xfree.c (_gdk_input_window_none_event): Remove. 
859         (_gdk_input_other_event): Return gboolean.
860         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event): Return gboolean.
861
862         * gdk/x11/gdkevents-x11.c (gdk_event_translate): Make return_val
863         gboolean, remove pointless call to _gdk_input_window_none_event.
864
865         * gdk/win32/gdkinput-win32.[hc] (_gdk_input_other_event): Return gboolean.
866         (_gdk_input_window_none_event): Remove.
867
868         * gtk/gtktextiter.c (_gtk_text_iter_get_indexable_segment): 
869         (_gtk_text_iter_get_any_segment): 
870         (_gtk_text_iter_get_segment_byte): 
871         (_gtk_text_iter_get_segment_char): 
872         (_gtk_text_iter_get_text_line): 
873         (_gtk_text_iter_get_btree): Fix 0/NULL confusion.
874         * gdk/x11/gdkdnd-x11.c (motif_target_table_check): Return gint.
875         * gdk/win32/gdkfont-win32.c (gdk_font_equal): 
876         * gdk/linux-fb/gdkwindow-fb.c (gdk_window_get_deskrelative_origin): 
877         (gdk_window_get_origin): 
878         * gdk/linux-fb/gdkcolor-fb.c (gdk_colors_alloc): Fix 0/FALSE confusion. 
879
880 2003-03-06  Matthias Clasen  <maclas@gmx.de>
881
882         * gdk/gdkrgb.c (gdk_rgb_try_colormap): Return gboolean, not gint.
883         (#107664, Morten Welinder)
884
885         * gdk/x11/gdkwindow-x11.c (gdk_window_get_deskrelative_origin): 
886         * gdk/x11/gdkfont-x11.c (gdk_font_equal): 
887         * gdk/x11/gdkdnd-x11.c (gdk_drag_get_protocol_for_display): 
888         Fix TRUE/1 and FALSE/0 confusion.  (#107664, Morten Welinder)
889
890         * gtk/gtktextmark.c (gtk_text_mark_get_buffer): 
891         * gtk/gtkeditable.c (gtk_editable_get_chars): 
892         * gtk/gtkctree.c (gtk_ctree_find_node_ptr): 
893         * demos/gtk-demo/main.c (demo_find_file): Fix NULL/FALSE confusion
894         (#107648, Morten Welinder)Fix NULL/FALSE confusion
895         (#107648, Morten Welinder)
896
897 2003-03-04  Matthias Clasen  <maclas@gmx.de>
898
899         * gtk/gtkobject.h: Add deprecation guards for gtk_object_new ().
900
901 Sun Mar  2 23:35:57 2003  Jonathan Blandford  <jrb@gnome.org>
902
903         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
904         handle rtl code.  Thanks to Matthias Clasen for an initial patch
905         to handle the RTL code.
906
907         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size): ditto
908
909         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto
910
911         * gtk/gtktreeview.c: (invalidate_column),
912         (invalidate_last_column),
913         (gtk_tree_view_get_real_requested_width_from_column),
914         (gtk_tree_view_size_allocate_columns),
915         (gtk_tree_view_size_allocate), (gtk_tree_view_button_press),
916         (gtk_tree_view_button_release_drag_column),
917         (gtk_tree_view_update_current_reorder),
918         (gtk_tree_view_motion_drag_column), (gtk_tree_view_bin_expose),
919         (gtk_tree_view_key_press), (gtk_tree_view_header_focus),
920         (gtk_tree_view_get_background_xrange),
921         (gtk_tree_view_get_arrow_xrange),
922         (gtk_tree_view_is_expander_column),
923         (gtk_tree_view_set_column_drag_info),
924         (gtk_tree_view_move_cursor_left_right):
925         Add RTL support.
926
927         * gtk/gtktreeviewcolumn.h (struct _GtkTreeViewColumn): add an
928         expand flag.
929
930         * gtk/gtktreeviewcolumn.c:
931         (gtk_tree_view_column_class_init),
932         (gtk_tree_view_column_set_property),
933         (gtk_tree_view_column_get_property),
934         (gtk_tree_view_column_set_expand),
935         (gtk_tree_view_column_get_expand),
936         (gtk_tree_view_column_cell_process_action):
937         Add support for expand flag.  Thanks to Kristian Rietveld for an
938         initial patch for this.
939
940 Fri Feb 28 02:06:17 2003  Jonathan Blandford  <jrb@gnome.org>
941
942
943 2003-03-02  Tor Lillqvist  <tml@iki.fi>
944
945         * gdk/gdk.def
946         * gtk/gtk.def: Add a bunch of missing entries. Noticed by Cedric
947         Gustin.
948
949 2003-03-01  Matthias Clasen  <maclas@gmx.de>
950
951         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_vadjustment): 
952         (gtk_scrolled_window_set_hadjustment): Replace uses of
953         gtk_object_new by g_object_new.
954
955 Thu Feb 27 17:44:24 2003  Manish Singh  <yosh@gimp.org>
956
957         * demos/gtk-demo/main.c
958         * demos/gtk-demo/tree_store.c
959         * gdk/x11/gdkscreen-x11.c
960         * gtk/gtkcellrenderertoggle.c
961         * gtk/gtkcolorsel.c
962         * gtk/gtkdnd.c
963         * gtk/gtkeditable.c
964         * gtk/gtkentry.c
965         * gtk/gtkmenu.c
966         * gtk/gtkmenubar.c
967         * gtk/gtkmenuitem.c
968         * gtk/gtkmenushell.c
969         * gtk/gtkrc.c
970         * gtk/gtksettings.c
971         * gtk/gtkstyle.c
972         * gtk/gtktextbuffer.c
973         * gtk/gtktextview.c
974         * gtk/gtktreeviewcolumn.c
975         * tests/testgtk.c
976         * tests/testtext.c
977         * tests/testtreeedit.c
978         * tests/testtreefocus.c
979         * tests/testtreeview.c: remove unnecessary G_OBJECT() casts.
980
981 Tue Feb 25 21:55:17 2003  Jonathan Blandford  <jrb@redhat.com>
982
983         * gtk/gtkoptionmenu.c (gtk_option_menu_position): account for RTL
984         code.
985
986 2003-02-24  Sven Neumann  <sven@gimp.org>
987
988         * gtk/gtkmain.c (gtk_get_default_language): fixed documentation.
989
990 2003-02-21  Tomas Ogren  <stric@ing.umu.se>
991
992         * docs/reference/gtk/tmpl/gtktreemodel.sgml: Fix typos in an example
993
994 2003-02-20  Matthias Clasen  <maclas@gmx.de>
995
996         * gtk/gtktextbtree.c (_gtk_text_line_previous_could_contain_tag): 
997         Check if line_ancestor_parent is NULL.  (#102711, Manuel Clos)
998
999         * gtk/gtktextview.c (gtk_text_view_scroll_to_iter): 
1000         (gtk_text_view_update_adjustments): Make sure cursor stays visible
1001         during horizontal scrolling.  (#75270)
1002
1003 2003-02-19  Matthias Clasen  <maclas@gmx.de>
1004
1005         * tests/testdnd.c: Replace gtk_timeout_* by their GLib
1006         counterparts. (#106532)
1007
1008         * gdk/gdkkeys.c (gdk_keymap_class_init): Associate the
1009         keys_changed virtual function with the keys_changed signal.
1010         (#106512, Jeff Franks)
1011
1012 2003-02-15  Larry Ewing  <lewing@ximian.com>
1013
1014         * gdk/gdkevents.c (gdk_event_copy): copy the event axes as well.
1015
1016 2003-02-17  Mohammad DAMT  <mdamt@bisnisweb.com>
1017
1018         * po/id.po: Added Indonesian translation
1019         * configure.in: Added "id" to ALL_LINGUAS
1020
1021 2003-02-14  Matthias Clasen  <maclas@gmx.de>
1022
1023         * gtk/gtktextview.c (popup_targets_received): Remove bogus casts.
1024
1025 2003-02-12  Christian Rose  <menthos@menthos.com>
1026
1027         * configure.in: Added "yi" to ALL_LINGUAS.
1028
1029 2003-02-12  Matthias Clasen  <maclas@gmx.de>
1030
1031         Fix for #82734 and #78216:
1032         
1033         * gtk/gtktextview.c (delete_cb): 
1034         (select_all_cb): New callbacks for context menu items.
1035         (popup_targets_received): Add "Delete" and "Select All" to context
1036         menu, mnemonics and title caps for all items.
1037
1038         * gtk/gtkentry.c (gtk_entry_delete_cb): New callback for "Delete"
1039         context menu item.
1040         (popup_targets_received): Add "Delete" to context menu, mnemonics
1041         and title caps for all items.
1042
1043 2003-02-09  Tor Lillqvist  <tml@iki.fi>
1044
1045         * gtk/gtkfilesel.c (win32_gtk_add_drives_to_dir_list): Use
1046         GetDriveType() to recognize removable drives (in order to avoid
1047         hanging if trying to access an empty floppy drive), instead of
1048         hardcoding A: and B: (#105654).
1049
1050 2003-02-09  Matthias Clasen  <maclas@gmx.de>
1051
1052         * gtk/gtkwidget.c (gtk_widget_set_name): Add note about periods in 
1053         names.  (#57680)
1054
1055 2003-02-09  Christian Rose  <menthos@menthos.com>
1056
1057         * configure.in: Removed "en@IPA.po" from ALL_LINGUAS.
1058
1059 Fri Feb  7 04:49:46 2003  Tim Janik  <timj@gtk.org>
1060
1061         * gtk/gtkobject.c: remove quark_user_data usage in
1062         gtk_object_{g|s}et_user_data(). fixes get_user_data()
1063         returning NULL for user_data set through property interface.
1064
1065         * gtk/gtkitemfactory.c (gtk_item_factory_create_item): don't put out
1066         warnings if a pixbuf couldn't be retrieved, since (a) this doesn't
1067         need to be a programming error (in case of loaded data), (b) it breaks
1068         with 2.0 behaviour where extra magic could be used to create empty
1069         images. don't attempt to retrieve pixbufs from NULL extra_data.
1070
1071 2003-02-06  Matthias Clasen  <maclas@gmx.de>
1072
1073         * gdk/x11/gdkvisual-x11.c (gdk_visual_get_best_with_depth): Return
1074         a GdkVisual *, not a GdkVisual **.  (#105243)
1075
1076         * gtk/gtkclist.c: 
1077         * gtk/gtkctree.c: 
1078         * gtk/gtkcontainer.c: 
1079         * gtk/gtkdnd.c: 
1080         * gtk/gtkentry.c: 
1081         * gtk/gtklist.c:
1082         * gtk/gtkmenu.c:
1083         * gtk/gtkmenuitem.c:
1084         * gtk/gtknotebook.c:
1085         * gtk/gtkselection.c:
1086         * gtk/gtkspinbutton.c:
1087         * gtk/gtktext.c:
1088         * gtk/gtktextview.c:
1089         * gtk/gtktooltips.c:
1090         * gtk/gtktreeview.c:
1091         * gtk/gtkwindow.c: Replace uses of gtk_timeout_* and gtk_idle_* by
1092         their non-deprecated GLib counterparts.
1093         
1094         * gtk/gtkmain.h: Fully deprecate gtk_timeout_* and gtk_idle_*.
1095         
1096 Sun Feb  2 16:45:57 GMT 2003  Tony Gale <gale@gtk.org>
1097
1098         * docs/tutorial/gtk-tut.sgml: cleanups from
1099         Sebastian Rittau (#104832)
1100
1101 2003-02-01  Tor Lillqvist  <tml@iki.fi>
1102
1103         Merge from stable:
1104
1105         * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_foreign_new_for_display,
1106         gdk_pixmap_lookup, gdk_pixmap_lookup_for_display): Implement.
1107         (#104108, Naofumi Yasufuku)
1108
1109         * gdk/gdk.def: Export the above. Export
1110         gdk_screen_get_system_visual, noticed by Ed Woods.
1111
1112 Fri Jan 31 17:45:22 2003  Manish Singh  <yosh@gimp.org>
1113
1114         * demos/pixbuf-demo.c
1115         * demos/testpixbuf.c
1116         * demos/gtk-demo/pixbufs.c: remove deprecated gtk_timeout_* usage.
1117
1118 Fri Jan 31 17:33:00 2003  Manish Singh  <yosh@gimp.org>
1119                                                                                 
1120         * gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set_state
1121         on the tab_label before unparenting it, in case the unparent
1122         drops the refcount to 0.
1123
1124 2003-02-01  Matthias Clasen  <maclas@gmx.de>
1125
1126         * gtk/gtkiconfactory.h: Use GDK_MULTIHEAD_SAFE like all other gtk
1127         headers. Sorry about gtk_selection_clear, Yosh.
1128
1129 Thu Jan 30 17:16:05 2003  Manish Singh  <yosh@gimp.org>
1130
1131         * gtk/gtkselection.h: declare gtk_selection_clear in GTK_COMPILATION
1132         too, for gtkwidget.c. Remember people, when introducing new
1133         deprecations, make sure internal code isn't using it, or if so,
1134         reorganize appropriately like I've done in other places.
1135
1136         * tests/testtext.c: don't use deprecated gtk_timeout_* stuff.
1137
1138 2003-01-31  Matthias Clasen  <maclas@gmx.de>
1139
1140         * gtk/gtkselection.h: 
1141         * gtk/gtkselection.c (gtk_selection_clear): Deprecate.  (#85683)
1142
1143         * gdk/gdkpixbuf.h: 
1144         * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable): 
1145         (gdk_pixbuf_render_to_drawable_alpha): Deprecate.  (#60582)
1146
1147         * gtk/gtkcolorsel.h:
1148         * gtk/gtkcolorsel.c (gtk_color_selection_set_change_palette_hook):
1149         Deprecate.  (#98167)
1150
1151         * gtk/gtkpaned.h: Deprecate gtk_paned_computed_position(). (#97077)
1152
1153         * gtk/gtkmain.h: Deprecate the gtk_timeout_*, gtk_idle_*
1154         and gtk_input_* functions.  (#71596)
1155         
1156         * gtk/gtkentry.c (gtk_entry_move_cursor): 
1157         * gtk/gtklabel.c (gtk_label_move_cursor): Handle
1158         GTK_MOVEMENT_HORIZONTAL_PAGES in switches.
1159
1160         * gdk/gdk.h: Deprecate gdk_wcstombs() and gdk_mbstowcs().  (#79803)
1161
1162         * gtk/gtkitemfactory.h: 
1163         * gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Deprecate. 
1164         (#69244)
1165
1166 Thu Jan 30 23:48:30 2003  Kristian Rietveld  <kris@gtk.org>
1167
1168         * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_count_special_cell):
1169         only count the special cell if it is also visible,
1170         (_gtk_tree_view_column_get_neighbor_sizes): only take the width into
1171         account from visible cells,
1172         (gtk_tree_view_column_cell_get_position): likewise, (Reported and
1173         testcase provided by Vasco Alexandre da Silva Costa, via IRC,
1174         tracking bug was #104563).
1175         
1176 Thu Jan 30 23:46:15 2003  Kristian Rietveld  <kris@gtk.org>
1177
1178         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
1179         subtract expander space and focus line space from the extra space
1180         we are about the allocate. (Fixes #104635).
1181
1182 Thu Jan 30 23:42:03 2003  Kristian Rietveld  <kris@gtk.org>
1183
1184         * gtk/gtkstyle.c (apply_affine_on_point): fix rouding error
1185         (Fixes #96242, patch from Soeren Sandmann).
1186
1187 Thu Jan 30 16:54:29 2003  Owen Taylor  <otaylor@redhat.com>
1188
1189         * gtk/gtknotebook.c: Patch from Soeren Sandmann
1190         to update the states of the tab label child
1191         widgets to match the state of the tabs. 
1192         (#93389, Reported by Tommi Komulainen)
1193
1194 Thu Jan 30 16:30:54 2003  Owen Taylor  <otaylor@redhat.com>
1195
1196         * Makefile.am (EXTRA_DIST): Remove gtk+.spec.in from
1197         EXTRA_DIST, and from dist rules. (#102231)
1198
1199 2003-01-30  Daniel Elstner  <daniel.elstner@gmx.net>
1200
1201         * gtk/gtktoolbar.c (set_child_packing_and_visibility): New helper
1202         function that sets the icon's and label's packing options and
1203         visibility based on toolbar->style.
1204
1205         (gtk_toolbar_internal_insert_element):
1206         (gtk_real_toolbar_style_changed): Make use of
1207         set_child_packing_and_visibility() to clean up the code and get
1208         the packing right for icon-only/text-only toolbars. (#104679)
1209
1210         (get_first_child): Remove, and use gtk_bin_get_child() instead.
1211
1212 2003-01-30  Matthias Clasen  <maclas@gmx.de>
1213
1214         * gtk/gtktextview.c: Replace PAGE_HORIZONTALLY_HACK_VALUE by
1215         GTK_MOVEMENT_HORIZONTAL_PAGES.  (#68947)
1216
1217         * gtk/gtkenums.h: Add GTK_MOVEMENT_HORIZONTAL_PAGES to GtkMovementStep.
1218         
1219 Thu Jan 30 16:01:29 2003  Owen Taylor  <otaylor@redhat.com>
1220
1221         * gdk/gdkrgb.c (gdk_rgb_try_colormap): Remove the 
1222         attempt-to-allocate then free code. To handle multiple
1223         people allocating colors at the same time, we need
1224         to just go ahead and try. (#102213, Shivram U)
1225         
1226 2003-01-30  Daniel Elstner  <daniel.elstner@gmx.net>
1227
1228         * gtk/gtkcolorsel.c (palette_paint): Explicitely draw an opaque
1229         rectangle using the background color rather than relying on
1230         gdk_window_clear_area(), so that the palette works properly with
1231         pixmap themes. (#101732)
1232
1233         * demos/gtk-demo/colorsel.c: Install an "expose_event" handler
1234         to fill the drawing area in the background color.
1235
1236 Wed Jan 29 14:11:21 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
1237
1238         * modules/input/gtkimcontextxim.c (choose_better_style): fix a memory
1239         initialization error for selecting input style (#103549).
1240
1241 Wed Jan 29 17:02:41 2003  Owen Taylor  <otaylor@redhat.com>
1242
1243         * gdk/gdkkeyuni.c (get_decimal_char): Make the 
1244         translation of GDK_KP_Decimal dependent on LC_NUMERIC.
1245         (#101225)
1246
1247 Wed Jan 29 15:43:56 2003  Owen Taylor  <otaylor@redhat.com>
1248
1249         * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current):
1250         Make up from the menu bar go to the end of the submenu.
1251         (#96114, Ian Peters.)
1252
1253         * gtk/gtkmenuitem.c (gtk_menu_item_mnemonic_activate): 
1254         Only do the select-but-not-activate stuff if the
1255         menu is already active. Otherwise, just activate.
1256         (#101690, Arvind Samptur)
1257
1258 Tue Jan 28 15:18:24 2003  Owen Taylor  <otaylor@redhat.com>
1259
1260         * autogen.sh (have_automake): Fix version in complaint
1261         message about automake. (#104366, Rich Burridge)
1262
1263 Mon Jan 27 16:38:13 2003  Owen Taylor  <otaylor@redhat.com>
1264
1265         * configure.in: Remove SOEXT stuff; it doesn't work portably.
1266
1267 Mon Jan 27 22:45:15 2003  Kristian Rietveld  <kris@gtk.org>
1268
1269         * gtk/gtktreestore.c (gtk_tree_store_move): don't handle b if
1270         we appended/prepended, send the rows_reordered signal to the 
1271         correct level ... (Reported by Matthew Tuck).
1272
1273 Mon Jan 27 22:43:11 2003  Kristian Rietveld  <kris@gtk.org>
1274
1275         * gtk/gtktreestore.c (gtk_tree_store_sort_helper): don't just bail
1276         out if the level only has one item, recurse over the child if there
1277         is one. (Fixes #100458, reported by Gaël Le Mignot).
1278
1279 Mon Jan 27 22:41:26 2003  Kristian Rietveld  <kris@gtk.org>
1280
1281         * gtk/gtktreeview.c (gtk_tree_view_set_model),
1282         (gtk_tree_view_search_equal_func): make TreeView search handle
1283         all types which are transformable by GValue. (Fixes #99803, reported
1284         by Muktha Narayan).
1285
1286 Mon Jan 27 22:39:25 2003  Kristian Rietveld  <kris@gtk.org>
1287
1288         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_sort_column_id):
1289         *really* handle unsetting the ID. Slightly modified patch from
1290         Soeren Sandmann. Fixes #87556, reported by Jarek Dukat.
1291
1292 Mon Jan 27 22:33:43 2003  Kristian Rietveld  <kris@gtk.org>
1293
1294         Fixes the total GtkTreeSortable mess, and #83195, reported by
1295         Jarek Dukat
1296
1297         * gtk/gtktreestore.c (gtk_tree_store_get_sort_column_id),
1298         (gtk_tree_store_set_sort_column_id), (gtk_tree_store_set_sort_func),
1299         (gtk_tree_store_set_default_sort_func): use the constant
1300         GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID instead of -1, make functions
1301         work as advertised by the documentation.
1302
1303         * gtk/gtklistore.c (gtk_list_store_get_sort_column_id),
1304         (gtk_list_store_set_sort_column_id), (gtk_list_store_set_sort_func),
1305         (gtk_list_store_set_default_sort_func): likewise.
1306
1307         * gtk/gtktreemodelsort.c (gtk_tree_model_set_sort_column_id),
1308         (gtk_tree_model_set_sort_func),
1309         (gtk_tree_model_sort_set_default_sort_func): make functions work
1310         as advertised by the documentation.
1311
1312 Mon Jan 27 22:31:56 2003  Kristian Rietveld  <kris@gtk.org>
1313
1314         * gtk/gtktreeview.c (gtk_tree_view_button_press): update focus_column
1315         before we decide if we edit. (fixes #100973, reported by Dave Cook).
1316
1317 Mon Jan 27 22:29:30 2003  Kristian Rietveld  <kris@gtk.org>
1318
1319         Bug report and test case from Paolo Maggi via IRC.
1320
1321         * gtk/gtkliststore.c (gtk_list_store_swap): update tail if needed,
1322         (gtk_list_store_move): update tail if needed.
1323
1324 Mon Jan 27 16:19:59 2003  Owen Taylor  <otaylor@redhat.com>
1325
1326         * gtk/gtksocket.c (gtk_socket_filter_func): event->any.window
1327         might be NULL. Use gtk_widget_get_display (widget) 
1328         (#102860, Thomas Leonard)
1329
1330 Mon Jan 27 15:58:31 2003  Owen Taylor  <otaylor@redhat.com>
1331
1332         * configure.in: Fix --without-modules/--disable-modules
1333         confusion that was causing --disable-modules not to work.
1334         (#102865, Akira Tagoh)
1335
1336         * configure.in: Fix problem with plain --with-xinput
1337         (#104266, Akira Tagoh)
1338
1339 2003-01-24  Sebastian Rittau  <srittau@jroger.in-berlin.de>
1340
1341         * docs/tutorial/gtk-tut.sgml: Fix a few typos, introduced by my last
1342         patch.
1343
1344 Fri Jan 24 17:06:41 GMT 2003  Tony Gale <gale@gtk.org>
1345
1346         * docs/tutorial/gtk-tut.sgml: Remove duplicate copy of tictactoe.h
1347
1348 Thu Jan 23 21:15:29 GMT 2003  Tony Gale <gale@gtk.org>
1349
1350         * docs/faq/gtk-faq.sgml: Learn to spell Library
1351
1352 Thu Jan 23 20:56:56 GMT 2003  Tony Gale <gale@gtk.org>
1353         * Sebastian Rittau  <srittau@jroger.in-berlin.de>:
1354
1355            docs/tutorial/gtk-tut.sgml: Adopted chapter 21.3 "Creating a
1356            Composite widget" to modern standards. (I.e. use gobject instead of
1357            glib, derive from GtkTable instead of GtkVBox.) Bugzilla #103869.
1358
1359         * docs/tutorial/gtk-tut.sgml, examples/tictactoe: Fixup tic-tac-toe
1360         code in Appendix C to reflect above changes.
1361
1362         * examples/rangewidgets/rangewidgets.c: From Roger Leigh
1363         auto resize on page size change
1364
1365 2003-01-23  Daniel Elstner  <daniel.elstner@gmx.net>
1366
1367         * gtk/gtktoolbar.c (gtk_toolbar_hide_all): Override hide_all
1368         in addition to show_all in order to keep them symmetric. (#102201)
1369
1370 Wed Jan 22 14:18:46 2003  Manish Singh  <yosh@gimp.org>
1371
1372         * gdk/x11/gdkevents-x11.c (translate_key_event): add a "return" at
1373         the end of the function, so there is a statement following the "out"
1374         label in all cases (fixes #101961)
1375
1376 2003-01-22  Christian Rose  <menthos@menthos.com>
1377
1378         * configure.in: Added "mn" to ALL_LINGUAS.
1379
1380 Wed Jan 15 17:02:18 2003  Owen Taylor  <otaylor@redhat.com>
1381  
1382         * gtk/gtktextlayout.c (gtk_text_layout_validate_yrange):
1383         Fix off-by-one error on the backward iteration loop,
1384         that was causing the wrong range to be redrawn.
1385         (at least part of #72734)
1386         
1387 2003-01-21  Matthias Clasen  <maclas@gmx.de>
1388
1389         * gtk/gtktextview.c (gtk_text_view_size_allocate): Adjust the
1390         vadjustment value after changing its bounds.  (fixes #101963 and 
1391         #73562)
1392
1393         * gtk/gtkcolorsel.c (hex_changed): Fix clamping to [0,1] to avoid 
1394         unnecessary roundtrip failures.  (#93500)
1395
1396 2003-01-19  Tor Lillqvist  <tml@iki.fi>
1397
1398         Merge from stable:
1399         
1400         Fix for #103614 and some other problems with GtkFileSelection on
1401         Windows:
1402                 
1403         * gtk/fnmatch.c (get_char): Need to use g_unichar_tolower(), not
1404         g_ascii_tolower(). Windows file names are case-insensitive for all
1405         Unicode letters.
1406
1407         * gtk/gtkfilesel.c: Instead of checking for G_OS_WIN32 or
1408         G_WITH_CYGWIN, check G_PLATFORM_WIN32. Move inclusion of gtkintl.h
1409         earlier, as it includes config.h unconditionally, and gtkprivate.h
1410         redefines GTK_LOCALEDIR.
1411         (struct _CompletionDirSent): Ifdef out the fields not used on
1412         Windows.
1413         (compare_utf8_filenames, compare_sys_filenames): Need different
1414         comparison implementation for UTF-8 file names and system locale
1415         file names on Win32. Cannot simply use g_ascii_strcasecmp(), but
1416         need to casefold all Unicode letters.
1417         (cmpl_completion_matches, open_dir, correct_parent): Ifdef out
1418         variables not used on Win32 to avoid warnings about unused
1419         variables.
1420         (open_ref_dir): Use g_path_skip_root() to skip past potential
1421         drive letter in front of the leading (back)slash.
1422         (open_new_dir): Ifdef out use of CompletionDirSent fields not
1423         there on Win32.
1424         (correct_parent): Bypass inode check also on Cygwin.
1425
1426         Fix bug noticed by Alex Shaduri: Tooltips and other
1427         GDK_WINDOW_TEMP windows were activated. This looked very odd, and
1428         was a regression from earlier versions.
1429         
1430         * gdk/win32/gdkwindow-win32.c (show_window_internal): Fine-tune
1431         behaviour. Don't ever activate GDK_WINDOW_TEMP windows.
1432         (gdk_window_move, gdk_window_resize): Add debug logging.
1433
1434         * gdk/win32/gdkevents-win32.c (gdk_event_translate): When we get a
1435         WM_SIZE message for a non-visible (withdrawn) window, don't clear
1436         the GDK_WINDOW_STATE_WITHDRAWN bit. The window is still withdrawn
1437         even if its size changes.
1438
1439 2003-01-16  Matthias Clasen  <maclas@gmx.de>
1440
1441         * gtk/gtktextlayout.c (gtk_text_layout_get_cursor_locations): Typo fixes.
1442         (totally_invisible_line): Fix an incorrect optimization which
1443         caused invisible paragraphs to be occasionally misrendered.
1444
1445 Wed Jan 15 15:55:47 2003  Owen Taylor  <otaylor@redhat.com>
1446
1447         * gtk/gtksettings.c: Set the double click speed from
1448         XSETTINGS when creating a new GtkSettings object
1449         as well as when getting a notify. (#103601, reported
1450         by Louis Garcia)
1451
1452 Wed Jan 15 14:56:09 2003  Owen Taylor  <otaylor@redhat.com>
1453  
1454         * gtk/gtknotebook.c (gtk_notebook_size_allocate): 
1455         Show/hide the notebook event window as necessary,
1456         we weren't previously keeping the visibility updated
1457         properly.  (#103599)
1458  
1459 2003-01-15  Matthias Clasen  <maclas@gmx.de>
1460
1461         * examples/menu/itemfactory.c: 
1462         * docs/tutorial/gtk-tut.sgml: Add a <StockItem> to the itemfactory
1463         example.  (#103211)
1464
1465 2002-12-29  Murray Cumming  <murrayc@usa.net>
1466
1467         Fixes #102168.
1468
1469         * gtk/gtkliststore.c, gtktreednd.c, gtktreestore.c:
1470         Actually implement the GtkTreeDragSource::row_draggable virtual 
1471         function in GtkListStore and GtkTreeStore instead of just checking 
1472         whether it's implemented at all. This means that DnD isn't broken by
1473         gtkmm's virtual function wrappers. The alternative would be to
1474         hard-code the TRUE return value into gtkmm's wrappers, but that's 
1475         part of GTK+'s implementation, not it's API.
1476
1477 Tue Jan 14 23:42:29 2003  Kristian Rietveld  <kris@gtk.org>
1478
1479         * gtk/gtktreeview.c: fix compiler warning.
1480
1481 Tue Jan 14 23:29:00 2003  Kristian Rietveld  <kris@gtk.org>
1482
1483         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render):
1484         make sure exposed pixbufs are clipped to the exposed area before
1485         drawing, which is a slight speedup. (#102379, patch from Soeren
1486         Sandmann).
1487
1488 Tue Jan 14 23:26:41 2003  Kristian Rietveld  <kris@gtk.org>
1489
1490         * gtk/gtktreeview.c (validate_visible_area): silly typo fix,
1491         only free scroll_to_path when the complete tree has been validated.
1492         This makes sure that we scrolled to the correct path.
1493
1494 Tue Jan 14 23:25:32 2003  Kristian Rietveld  <kris@gtk.org>
1495
1496         * gtk/gtktreeview.c (gtk_tree_view_style_set): update the
1497         background of widget->window and bin->window. (Fixes #96650, reported
1498         by Dave Camp).
1499
1500 Tue Jan 14 23:24:02 2003  Kristian Rietveld  <kris@gtk.org>
1501
1502         * gtk/gtktreeview.c (gtk_tree_view_clamp_node_visible): process
1503         updates before scrolling, avoiding a "selection streak". (Fixes
1504         #101235, patch from Soeren Sandmann).
1505
1506 Tue Jan 14 23:22:13 2003  Kristian Rietveld  <kris@gtk.org>
1507
1508         * gtk/gtktreeview.c (validate_visible_area): actually put values
1509         in the requisition using gtk_widget_size_request. (Fixes #100172,
1510         reported by Kjartan Maraas).
1511
1512 Tue Jan 14 23:19:45 2003  Kristian Rietveld  <kris@gtk.org>
1513
1514         * gtk/gtktreeview.c (gtk_tree_view_rows_reordered): cancel the
1515         arrow animation timeout before we actually reorder the rbtree. If
1516         we don't do this we can get stuck arrows,
1517         (cancel_arrow_animation): new function. (Fixes #93629, part 2,
1518         reported and testcase provided by Hans Petter Jansson).
1519
1520 Tue Jan 14 23:18:21 2003  Kristian Rietveld  <kris@gtk.org>
1521
1522         * gtk/gtktreeselection.c (gtk_tree_selection_real_modify_range):
1523         anchor_path should be start_path, not end_path. (Fixes #102618,
1524         patch from Carlos Garnacho Parro).
1525
1526 Tue Jan 14 23:16:15 2003  Kristian Rietveld  <kris@gtk.org>
1527
1528         * gtk/gtkliststore.c (gtk_list_store_move): also update the tail,
1529         only correct new_pos if we don't move to the head/tail.
1530
1531 Tue Jan 14 23:11:55 2003  Kristian Rietveld  <kris@gtk.org>
1532
1533         * gtk/gtktreestore.c (gtk_tree_store_swap): take the path from
1534         the parent_iter if depth >= 1, so we send the reordered signal to
1535         the correct level, remove debugging printfs which I forgot the remove
1536         earlier (2.2.0 shipped with this, oops). (Fixes #103198, Reported and
1537         testcase provided by Matthew Tuck).
1538
1539 Tue Jan 14 20:58:44 2003  Kristian Rietveld  <kris@gtk.org>
1540
1541         * gtk/gtktreeview.c (invalite_last_column): split out actual column
1542         invalidation into invalidate_column(),
1543         (gtk_tree_view_size_allocate_columns): invalidate column if the
1544         new width is larger than the old width.
1545         (fixes #102890, reported by Alex Duggan).
1546
1547 2003-01-14  Matthias Clasen  <maclas@gmx.de>
1548
1549         * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Skip
1550         invisible chars for GTK_MOVEMENT_LOGICAL_POSITIONS and
1551         GTK_MOVEMENT_WORDS.
1552
1553         * gtk/gtktextiter.c,
1554         gtk/gtktextiter.h: Add some variant movement functions which
1555         skip invisible chars, and do some cleanups.
1556
1557 2003-01-12  Tor Lillqvist  <tml@iki.fi>
1558
1559         Merge from stable:
1560                 
1561         * gtk/gtkmain.c: Move inclusion of config.h and gtkintl.h earlier,
1562         as gtkprivate.h redefines GTK_LOCALEDIR on Win32, for run-time
1563         lookup.
1564
1565         * gdk/Makefile.am (libgdk_win32_2_0_la_DEPENDENCIES): Depend on
1566         gdk.def.
1567
1568         * gdk/gdk.def
1569         * gtk/gtk.def: Add some missing entries. Thanks to Kenichi SUTO.
1570
1571         * gtk-zip.sh.in (DEVZIP): Add bin/{gtk-query-immodules-2.0,
1572         gtk-demo}.exe and share/gtk-2.0.
1573
1574         * gdk/win32/gdkwindow-win32.c (gdk_window_set_skip_taskbar_hint):
1575         Implement by setting or clearing the WS_EX_TOOLWINDOW extended
1576         window style.
1577         (gdk_window_set_type_hint): Add all cases to the switch (not all
1578         do anything, though). Handle GDK_WINDOW_TYPE_HINT_TOOLBAR by
1579         calling gdk_window_set_skip_taskbar_hint(). This means that GTK
1580         won't know that the skip_taskbar hint is on for the window, is
1581         this bad?
1582
1583 Wed Jan  8 18:43:03 2003  Manish Singh  <yosh@gimp.org>
1584
1585         * gdk/x11/gdkdisplay-x11.c: #include <stdlib.h> for putenv,
1586         <string.h> for strlen.
1587
1588         * gdk/x11/gdkscreen-x11.c: #include <stdlib.h> for getenv,
1589         <string.h> for strrchr.
1590
1591         * tests/testgtk.c (create_saved_position): "x" and "y" properties
1592         for widgets no longer exist, use gtk_window_move instead.
1593
1594         * test/testtextbuffer.c (check_get_set_text): cast strlen to
1595         int for g_error.
1596
1597 2003-01-08  Matthias Clasen  <maclas@gmx.de>
1598
1599         * gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix display of
1600         the selection in the presence of invisible segments.
1601
1602 2003-01-07  Matthias Clasen  <maclas@gmx.de>
1603
1604         * gtk/gtktextview.c (gtk_text_view_class_init): Bind C-/ and C-\
1605         to "select all" and "unselect all".  (#102065)
1606
1607         * gtk/gtktextview.h (struct _GtkTextView): Add a comment that
1608         the just_selected_element is unused.
1609
1610         * gtk/gtktextview.c (extend_selection): New helper function to
1611         find the range that should be added to the selection. 
1612         (selection_motion_event_handler): 
1613         (gtk_text_view_start_selection_drag): 
1614         (gtk_text_view_end_selection_drag): 
1615         (selection_motion_event_handler): 
1616         (selection_scan_timeout): Support select-by-words/lines.
1617         (gtk_text_view_button_press_event): Start a selection drag on
1618         double/triple clicks.  (#78499)
1619
1620 2003-01-06  Matthias Clasen  <maclas@gmx.de>
1621
1622         Implement a utility function proposed in #102534:
1623         
1624         * gtk/gtktextbtree.h: 
1625         * gtk/gtktextbtree.c (_gtk_text_btree_select_range): New function.
1626         (_gtk_text_btree_place_cursor): Now a simple wrapper around
1627         _gtk_text_btree_select_range().   
1628
1629         * gtk/gtktextbuffer.h: 
1630         * gtk/gtktextbuffer.c (gtk_text_buffer_select_range): New function.
1631         (gtk_text_buffer_place_cursor): Now a simple wrapper around
1632         gtk_text_buffer_select_range(). 
1633
1634 2003-01-05  Havoc Pennington  <hp@pobox.com>
1635
1636         * configure.in: fix a stray bracket that was breaking the build
1637
1638 2003-01-05  Tor Lillqvist  <tml@iki.fi>
1639
1640         * gtk-zip.sh.in: Use correct DLL and import library names, with
1641         GTK_API_VERSION in name, not GTK_MAJOR_VERSION.GTK_MINOR_VERSION.
1642         (DEVZIP): Add gdk-pixbuf-query-loaders.exe.
1643
1644         * configure.in: Improve check for dimm.h.
1645
1646         * configure.in: Set SOEXT to 'so' on Unix, 'dll' on Win32. Used in
1647         gdk-pixbuf/Makefile.am.
1648
1649         * gdk-pixbuf/makefile.mingw.in
1650         * gdk-pixbuf/pixops/makefile.mingw.in
1651         * gdk/makefile.mingw.in
1652         * gdk/win32/makefile.mingw.in
1653         * gtk/makefile.mingw.in: Remove. Not maintained anyway.
1654
1655         * gdk-pixbuf/Makefile.am
1656         * gdk-pixbuf/pixops/Makefile.am
1657         * gdk/Makefile.am
1658         * gdk/win32/Makefile.am
1659         * gtk/Makefile.am
1660         * configure.in: Remove makefile.mingw{,.in} from here, too.
1661         
1662         * README.win32: Updates. Don't mention the now removed
1663         makefile.mingw files.
1664
1665         * gdk/gdk.def
1666         * gtk/gtk.def: Add a couple of missing entries.
1667
1668         * gdk/gdkkeynames.c: Include <string.h> for strcmp() and memcpy().
1669
1670         * gdk/win32/gdkevents-win32.c: Move dimm.h header clash workaround
1671         earlier.
1672
1673         * gdk/win32/rc/Makefile.am: Add hack to help
1674         build/win32/lt-compile-resource decide which kind of libtool
1675         object file to produce.
1676
1677 2003-01-05  Matthias Clasen  <maclas@gmx.de>
1678
1679         * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Make
1680         C-Down step through the sequence of paragraph ends (old behaviour
1681         included paragraph starts).  (#80340, patch by Narayana Pattipati)
1682
1683         * gtk/gtktextiter.c (_gtk_text_btree_get_iter_at_first_toggle):
1684         Check for a tag toggle at the start iterator before calling
1685         gtk_text_iter_forward_to_tag_toggle().  (#102090, patch by Daniel 
1686         Elstner)
1687
1688 2003-01-04  Matthias Clasen  <maclas@gmx.de>
1689
1690         * gtk/gtkfilesel.h (struct _GtkFileSelection): Add /*< public >*/
1691         and /*< private >*/ as appropriate.  (#97211)
1692
1693 2003-01-04  Tor Lillqvist  <tml@iki.fi>
1694
1695         * Makefile.am (EXTRA_DIST): Don't distribute gtk-zip.sh, but do
1696         distribute gtk-zip.sh.in.
1697
1698         * gtk-zip.sh.in (DEVZIP): Add gdk-pixbuf-csource.exe and .1.
1699
1700 2003-01-03  Havoc Pennington  <hp@pobox.com>
1701
1702         * docs/Makefile.am (EXTRA_DIST): put it in EXTRA_DIST
1703
1704         * docs/text_widget_internals.txt: add a file documenting some of
1705         the text widget internals
1706
1707 2003-01-02  Matthias Clasen  <maclas@gmx.de>
1708
1709         * gtk/gtkwindow.c (gtk_window_get_focus): Document that it may
1710         return NULL.  (#102069)
1711
1712 2003-01-01  Matthias Clasen  <maclas@gmx.de>
1713
1714         * gtk/fnmatch.c (FNMATCH_TEST_CASES): #undef, since having
1715         a main() in the library is obviously bad. 
1716
1717 2002-12-27  Matthias Clasen  <maclas@gmx.de>
1718
1719         * gtk/gtktextview.c (gtk_text_view_drag_data_received): Place the
1720         cursor at drop point.  (#72384)
1721         (gtk_text_view_size_allocate): Update the horizontal adjustment
1722         value.  (#75694)
1723
1724 2002-12-25  Matthias Clasen  <maclas@gmx.de>
1725
1726         * gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix highlighting of
1727         selection wrt. to empty lines.  (#90435, #90582, #91619)
1728
1729         * gtk/gtktextview.c (gtk_text_view_preedit_changed_handler):
1730         Keep the cursor on screen.  (#96929)
1731
1732 2002-12-24  Matthias Clasen  <maclas@gmx.de>
1733
1734         * gtk/gtktextbuffer.c (paste_from_buffer): 
1735         (clipboard_text_received): Let the user action span the insertion
1736         and the deletion of the old selection.  (#82844)
1737
1738 2002-12-23  Matthias Clasen  <maclas@gmx.de>
1739
1740         * gtk/gtktextiter.c (gtk_text_iter_backward_sentence_starts):
1741         Don't call gtk_text_iter_backward_sentence_start() if
1742         count is zero.  (#99115)
1743
1744         * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Call
1745         move_cursor() even if the cursor hasn't moved, since it has the
1746         side effect of canceling the selection.  (#81395, #98537, #98333)
1747
1748 2002-12-22  Matthias Clasen  <maclas@gmx.de>
1749
1750         * gtk/gtktextlayout.c (add_preedit_attrs): Don't add attributes
1751         with empty ranges.  (fixes #101564 and #80637)
1752
1753 2002-12-21  Tor Lillqvist  <tml@iki.fi>
1754
1755         * gdk/win32/gdkwindow-win32.c (gdk_window_new): Move the code that
1756         sets the window style and extended window style, and adjusts the
1757         width and height to take the window decorations into account
1758         earlier. The adjusted width and height used to be ignored. Remove
1759         the local x, y, width and height variables, no need to further
1760         confuse the code by having local copies. (Partial fix, I hope, for
1761         #101588)
1762
1763         (gdk_window_move): When moving top-level windows, take title bar
1764         and border width into account, offsetting the coordinates before
1765         calling SetWindowPos().
1766
1767         (gdk_window_set_decorations, gdk_window_set_functions):
1768         Reimplement, taking into account the peculiar semantics of
1769         GDK_DECOR_ALL and GDK_FUNC_ALL. (#79036)
1770
1771         (gdk_window_get_decorations): Implement. (#98981)
1772         
1773         (gdk_window_set_type_hint): When setting
1774         GDK_WINDOW_TYPE_HINT_MENU, call gdk_window_set_decorations().
1775         (#79036)
1776
1777         * gdk/gdk.def: Add gdk_window_get_decorations. (#98981)
1778
1779 2002-12-21  Matthias Clasen  <maclas@gmx.de>
1780
1781         * gtk/gtktextview.c (gtk_text_view_set_background): New static
1782         function to set the background of all windows.
1783         (gtk_text_view_style_set): Use gtk_text_view_set_background().
1784         (gtk_text_view_state_changed): New function; change background
1785         according to state.  (#88126)
1786
1787 2002-12-21  Havoc Pennington  <hp@pobox.com>
1788
1789         * gtk/gtktextview.c (gtk_text_view_move_visually): fix the documentation
1790