]> Pileus Git - ~andy/gtk/blob - ChangeLog.pre-2-10
Increment the reference count of the style when copying the cached icon.
[~andy/gtk] / ChangeLog.pre-2-10
1 Thu Mar  4 21:53:46 2004  Matthias Clasen  <maclas@gmx.de>
2
3         * gtk/gtkiconfactory.c (copy_cache): Increment the reference
4         count of the style when copying the cached icon.  (#135890, Crispin
5         Flowerday)
6
7 Thu Mar  4 21:45:43 2004  Matthias Clasen  <maclas@gmx.de>
8
9         * gtk/gtkcombobox.c: In list mode, set the background color 
10         of the cell view to the base color of the style, instead of
11         hardwiring white. (#136158)
12
13 Thu Mar  4 01:32:19 2004  Jonathan Blandford  <jrb@gnome.org>
14
15         * gtk/gtkpathbar.c (gtk_path_bar_set_path): Modified patch from
16         muppet <scott@asofyet.org> to keep child directories around if we
17         change to a child.
18
19         * gtk/gtkpathbar.c (_gtk_path_bar_set_home_icon): Start of
20         icon-setting functions.  Not used yet.
21         (_gtk_path_bar_set_root_icon): Ditto.
22         
23 Thu Mar  4 00:31:54 2004  Matthias Clasen  <maclas@gmx.de>
24
25         * gtk/gtktextview.c (extend_selection): 
26         * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Allow
27         to select the last word in the buffer.  (#135487, Paolo Borelli)
28
29 Wed Mar  3 23:54:31 2004  Matthias Clasen  <maclas@gmx.de>
30
31         * gtk/gtkentrycompletion.c: Doc update.
32
33 Wed Mar  3 17:30:18 2004  Owen Taylor  <otaylor@redhat.com>
34
35         * gtk/gtkwindow.c (gtk_window_mnemonic_activate): Check
36         whether widgets are viewable, not just if they are
37         mapped. (#122912, reported by Tim Evans)
38
39 Wed Mar  3 23:28:48 2004  Matthias Clasen  <maclas@gmx.de>
40
41         * gtk/gtkcombobox.c (gtk_combo_box_set_active): Move the actual
42         implementation into a new gtk_combo_box_set_active_internal() 
43         function, which doesn't do the short-circuiting. 
44         * gtk/gtkcombobox.c (gtk_combo_box_model_row_deleted): Use
45         set_active_internal() here, since the active item may change here,
46         although the index is unchanged.
47
48 Wed Mar  3 23:26:49 2004  Matthias Clasen  <maclas@gmx.de>
49
50         * gtk/gtkcombobox.c (gtk_combo_box_menu_position): Reintroduce the
51         traditional option menu placement of the popup for regular combo
52         boxes. Grids and editable combo boxes use the combo-like placement 
53         below the entry.  (#136021)
54         * gtk/gtkcombobox.c (gtk_combo_box_menu_button_press): 
55         * gtk/gtkcombobox.c (gtk_combo_box_popup): Call gtk_menu_set_active()
56         before popping up the menu, to make the placement work.
57         
58 Wed Mar  3 17:20:15 2004  Owen Taylor  <otaylor@redhat.com>
59
60         * gtk/gtkmain.c (gtk_propagate_event): Special case
61         scroll events so that they propagate up the widget
62         heirarchy when received on insensitive widgets.
63         (#101102, reported by Geoff Reedy)
64
65 Wed Mar  3 16:47:10 2004  Owen Taylor  <otaylor@redhat.com>
66
67          #109594, reported by Olivier Ripoll
68
69         * gtk/gtkentry.c (gtk_entry_size_request): Use max of 
70         width and digit width for gtk_entry_set_width_chars,
71         and round up.
72
73         * gtk/gtkcolorsel.c (gtk_color_selection_init): Set the
74         width of the entry to 7 chars.
75
76 Wed Mar  3 16:00:10 2004  Owen Taylor  <otaylor@redhat.com>
77
78         * configure.in: Strip out the "export-dynamic" libtool
79         option from library link lines. (#124687, James Henstridge)
80
81 Wed Mar  3 16:06:03 2004  Jonathan Blandford  <jrb@gnome.org>
82
83         * gtk/gtkfilechooserdefault.c (save_folder_combo_changed_cb):
84         Don't activate the combo if we're in the midst of changing
85         folders.
86
87 2004-03-03  Mark McLoughlin  <mark@skynet.ie>
88
89         * tests/testsocket_common.c: (print_hello): don't try and store
90         pointers in ints. Fixes 64-bit build.
91
92 2004-03-03  Federico Mena Quintero  <federico@ximian.com>
93
94         * gtk/gtkfilesystem.c (gtk_file_system_get_parent): Simplify by
95         not using a temporary variable, and clarify the documentation.
96         Fixes #136008.
97
98 2004-03-03  Mark McLoughlin  <mark@skynet.ie>
99
100         * gtk/gtkexpander.c:
101         (gtk_expander_enter_notify), (gtk_expander_leave_notify),
102         (gtk_expander_set_label_widget): Set the label widget's
103         state to prelight if we're prelit. Fixes bug #136078.
104
105 2004-03-03  Murray Cumming  <murrayc@murrayc.com>
106
107         * gtk/gtkradiobutton.h, radiomenuitem.h: Corrected the group_changed
108         signal vfunc declaration, adding the first parameter, which is the
109         widget emitting the signal.
110
111 2004-03-03  Morten Welinder  <terra@gnome.org>
112
113         * tests/testfilechooser.c (update_preview_cb): Plug leak.
114
115 Tue Mar  2 23:39:55 2004  Jonathan Blandford  <jrb@gnome.org>
116
117         * gtk/gtkfilechooserdialog.c
118         (file_chooser_widget_default_realized_size_changed): Split
119         function into realized and unrealized variants, and consolidate
120         the handling fo size-changing and default changing.
121
122         * gtk/gtkfilechooserembed.[ch] (gtk_file_chooser_embed_class_init):
123         remove resizable-hints-changed, as it just complicated things.
124
125         * gtk/gtkfilechooserdefault.c (update_appearance): Don't emit
126         resizable-hints-changed.
127         
128 2004-03-03  Tor Lillqvist  <tml@iki.fi>
129
130         * gtk/gtk.def: Add a missing entry. (#135982, J. Ali Harlow)
131
132         * NEWS: Correct spelling of my name in one place.
133
134 2004-03-02  Federico Mena Quintero  <federico@ximian.com>
135
136         * gtk/gtkfilechooserdefault.c
137         (gtk_file_chooser_default_set_current_folder): Handle errors in
138         setting the path bar's path.  Fixes #136000, based on a patch by
139         Morten Welinder.
140
141         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_insert_bookmark):
142         Don't free our own propagated error.
143
144         * gtk/gtkpathbar.c (gtk_path_bar_set_path): Likewise, and free the
145         parent_path upon error.  Fixes #136006, patch by Morten Welinder.
146         (gtk_path_bar_set_path): Unref the file_folder upon error.
147         (gtk_path_bar_set_path): Return a boolean success code.
148
149 Wed Mar  3 00:28:59 2004  Matthias Clasen  <maclas@gmx.de>
150
151         * tests/testcombochange.c: Add an animation mode, to test 
152         how the combobox behaves if the model changes while it is popped
153         up.
154
155 Tue Mar  2 17:06:05 2004  Owen Taylor  <otaylor@redhat.com>
156
157         * === Released 2.3.5 ===
158
159         * NEWS: Updates
160
161         * configure.in: Version 2.3.5, interface age 0.
162         Require glib-2.3.5, pango-1.3.5.
163
164 Tue Mar  2 23:08:12 2004  Matthias Clasen  <maclas@gmx.de>
165
166         * gtk/gtkentrycompletion.c (_gtk_entry_completion_popup): Avoid
167         popping up the completions across the edge of the monitor.
168         Part of #135561.
169
170 Tue Mar  2 16:47:40 2004  Owen Taylor  <otaylor@redhat.com>
171
172         * tests/testfilechooser.c (set_filename_existing_nonexistent_cb): 
173         Move the /nonexistant stuff out of the main window,
174         keep the main window somewhat normal looking.
175
176 Tue Mar  2 16:18:43 2004  Owen Taylor  <otaylor@redhat.com>
177
178         * gtk/gtktreestore.c (gtk_tree_store_reorder)
179         * gtk/gtkliststore.c (gtk_list_store_reorder): Fix
180         up the interpretation of new_order to match what
181         it means elsewhere, document the meaning of new_order.
182
183         * gtk/gtkcombobox.c (gtk_combo_box_model_rows_reordered):
184         Fix interpretation of new_order.
185
186         * tests/testcombochange.c (on_reorder): Fix interpretation
187         of new_order.
188
189         * tests/testcombochange.c (on_reorder): Fix hitting
190         "reorder" with an empty list.
191
192 Tue Mar  2 21:23:30 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
193
194         Patch from Frederic Crozat, test code from Jean-Philippe
195         Chancelier. Fixes bug #120479.
196         
197         * gtk/gtkcombo.c (gtk_combo_popup_list): Make sure popup belongs
198         to the right window group.
199
200         * gtk/gtkmenu.c (gtk_menu_popup): Same
201
202         * tests/testsocket.c (main): Pack the plugs into an hbox instead
203         of a vbox.
204
205         * tests/testsocket_common.c: Add a GtkMenuBar, a GtkCombo and a
206         GtkComboBox to the children.
207
208 Tue Mar  2 14:38:23 2004  Owen Taylor  <otaylor@redhat.com>
209
210         * gtk/gtkcombobox.c (gtk_combo_box_model_row_inserted):
211         If the model was empty before, select the first inserted
212         item.
213
214         * gtk/gtkcombobox.c (gtk_combo_box_model_row_deleted):
215         Fix up the logic for the new row to select.
216
217         * gtk/gtkcombobox.c (gtk_combo_box_class_init):
218         Rename "appearance" property to "appears-as-list".
219
220         * tests/testcombochange.c tests/Makefile.am: Test case
221         for combos and dynamically changing models.
222
223 Tue Mar  2 15:19:52 2004  Jonathan Blandford  <jrb@redhat.com>
224
225         * gtk/gtkfilechooserdefault.c
226         (gtk_file_chooser_default_get_resizable_hints): set the default
227         value, spotted by Morten Welinder.
228
229 Tue Mar  2 15:03:15 2004  Jonathan Blandford  <jrb@redhat.com>
230
231         * gtk/gtkfilechooserdefault.c
232         (gtk_file_chooser_default_get_resizable_hints): get the logic
233         correct.  This will fix sizing on save dialogs.
234
235         (save_widgets_create): set_mnemonic_widget.
236
237 2004-03-02  Federico Mena Quintero  <federico@ximian.com>
238
239         * gtk/gtkfilechooserdefault.c
240         (gtk_file_chooser_default_set_current_folder): Don't update the
241         save folder combo if we are already switching folders; based on a
242         patch by Jonathan Blandford.
243
244         * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder):
245         Handle failure to insert the path.  Based on a patch by Morten
246         Welinder attached to bug #135380.
247
248         * tests/testfilechooser.c (extra_widget_create): Add a bunch of
249         buttons to test various things.
250
251 Tue Mar  2 20:59:23 2004  Matthias Clasen  <maclas@gmx.de>
252
253         * tests/Makefile.am: Add testentrycompletion.
254
255         * tests/testentrycompletion.c: New file to test some of the
256         more exotic GtkEntryCompletion features.
257
258 Tue Mar  2 14:38:10 2004  Jonathan Blandford  <jrb@redhat.com>
259
260         * tests/testfilechooser.c (main): improve tests a little.
261
262 Tue Mar  2 11:45:50 2004  Owen Taylor  <otaylor@redhat.com>
263
264         * gtk/gtkcombobox.c: Always connect to the changed
265         signals on the model, update the active item as
266         appropriate when rows are inserted/deleted/reordered,
267         re-layout the menu on ::rows-reordered.
268
269         * gtk/gtkcellview.c (gtk_cell_view_set_displayed_row):
270         Allow %NULL for path to unset and leave no current
271         path.
272
273 Tue Mar  2 19:54:53 2004  Matthias Clasen  <maclas@gmx.de>
274
275         * gtk/gtkcombobox.c (gtk_combo_box_list_position): Position
276         the popup above the sample if there is not enough room below.
277         Part of #135543.
278
279 Tue Mar  2 19:53:36 2004  Matthias Clasen  <maclas@gmx.de>
280
281         * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Make the 
282         frame for the list mode etched in, to give the popup a slightly
283         less flat appearance. 
284
285 Tue Mar  2 17:55:31 2004  Matthias Clasen  <maclas@gmx.de>
286
287         * gtk/gtk.def: Add gtk_combo_box_entry_new_text().  
288
289 2004-03-02  Morten Welinder  <terra@gnome.org>
290
291         * tests/testfilechooser.c (size_prepared_cb): Don't scale images
292         that are small enough to fit.  Avoid using incompatibly typed data
293         pointer.
294
295         * gtk/gtkfilechooserdefault.c
296         (gtk_file_chooser_default_get_resizable_hints): Test the
297         resize_horizontally pointer, not the deferenced pointer.
298
299 2004-03-01  Federico Mena Quintero  <federico@ximian.com>
300
301         * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault): New
302         flag shortcuts_current_folder_is_volume.
303         (shortcuts_add_current_folder): Set
304         impl->shortcuts_current_folder_is_volume as appropriate.
305         (remove_current_folder_cb): Handle the flag.
306         (shortcuts_activate_item): Likewise.
307         (shortcuts_update_current_folder): Handle the
308         impl->shortcuts_current_folder_active flag; only add the folder if
309         it doesn't already exist in the list.
310         (shortcuts_model_create): Don't insert the current folder
311         separator here.
312         (shortcuts_add_current_folder): Insert the separator here.
313         (shortcut_find_position): Renamed from shortcut_exists(); now
314         returns an index.
315         (shortcuts_add_current_folder): Set the active item in the combo.
316
317 2004-03-01  Federico Mena Quintero  <federico@ximian.com>
318
319         * gtk/gtkfilechooserdefault.c (shortcuts_row_activated_cb): Eep,
320         use gtk_tree_model_filter_convert_iter_to_child_iter(), not the reverse.
321
322 2004-03-01  Federico Mena Quintero  <federico@ximian.com>
323
324         * gtk/gtkfilechooserdefault.c (shortcuts_model_create): Don't
325         unref an old model; there isn't one.  This was a leftover from
326         when we recreated the model on every change.
327         (save_widgets_create): Create the save folder combo.
328         (shortcuts_model_create): Don't set the model on the tree view
329         here.
330         (gtk_file_chooser_default_constructor): Create the shortcuts model
331         here, before the rest of the widgets.
332         (shortcuts_list_create): Don't call shortcuts_model_create() here;
333         just set the model on the tree.
334         (save_folder_combo_create): New function, provided by Jonathan
335         Blandford.
336         (update_appearance): Set the sensitivity of the folder combo.
337         (shortcuts_activate_iter): New helper function; code moved from
338         shortcuts_row_activated_cb().
339         (shortcuts_activate_item): New helper function.
340         (shortcuts_row_activated_cb): Use shortcuts_activate_iter().
341         (ShortcutsIndex): Renamed SHORTCUTS_SEPARATOR to
342         SHORTCUTS_BOOKMARKS_SEPARATOR.
343         (struct _GtkFileChooserDefault): New field shortcuts_current_folder_active.
344         (shortcuts_insert_separator): Add a position argument.
345         (shortcuts_get_index): Handle the SHORTCUTS_CURRENT_FOLDER_SEPARATOR 
346         and SHORTCUTS_CURRENT_FOLDER positions.
347         (shortcut_exists): Ignore the current folder row.
348         (struct _GtkFileChooserDefault): New field shortcuts_filter_model.
349         (shortcuts_model_create): Create a filter model for the shortcuts list.
350         (shortcuts_list_create): Set the model to the shortcuts_filter_model.
351         (remove_bookmark_button_clicked_cb): Use the shortcuts_filter_model.
352         (bookmarks_check_remove_sensitivity): Likewise.
353         (shortcuts_row_activated_cb): Likewise.
354         (gtk_file_chooser_default_set_current_folder): New function.
355         (gtk_file_chooser_default_set_current_folder): Update the current
356         folder row in the shortcuts list.
357
358         * gtk/gtkfilechooserwidget.c
359         (gtk_file_chooser_widget_constructor): Cast correctly for
360         _gtk_file_chooser_embed_set_delegate().
361
362 Mon Mar  1 19:30:25 2004  Owen Taylor  <otaylor@redhat.com>
363
364         * gtk/gtkdnd.[ch]: Add gtk_drag_source_set/get_target_list().
365         (#127499, based on patch from Michael Natterer)
366
367         * tests/testgtk.c: Fix bidi strings to display correctly
368         with new auto-bidi.
369
370 Tue Mar  2 01:34:40 2004  Matthias Clasen  <maclas@gmx.de>
371
372         * gtk/gtksettings.c: Remove the include of Xft.h, which is already
373         dragged in via pangoxft.h.  (#135496, David Hawthorne)
374
375 Mon Mar  1 23:52:15 2004  Tim Janik  <timj@gtk.org>
376
377         * gtk/gtkbindings.[hc]: expose gtk_bindings_activate_event(), changed
378         callers.
379
380         * gtk/gtkwindow.[hc]: added gtk_window_propagate_key_event() to expose
381         the key event propagation mechanism used for focus widgets.
382         (gtk_window_key_release_event): use the same key event propagation logic
383         as gtk_window_key_press_event().
384
385 2004-03-01  Simon Budig  <simon@gimp.org>
386
387         * gdk/x11/gdkinput-x11.c: X11 R6.4 specifies 15 events
388         for the XInput extension. We want to see them all.
389         We now get Proximity Out events again. Fixes bug #135320.
390
391 Tue Mar  2 00:47:21 2004  Matthias Clasen  <maclas@gmx.de>
392
393         * gtk/gtkimmodule.c (match_locale): Use case-insensitive
394         comparison. Fixes XIM module loading on AIX.  (#131277)
395
396 Mon Mar  1 23:59:18 2004  Matthias Clasen  <maclas@gmx.de>
397
398         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted): 
399         Make it work correctly when the child model is cleared 
400         completely. (#121633)
401
402 2004-03-01  Michael Natterer  <mitch@gimp.org>
403
404         * gtk/gtkfilechooserwidget.h: removed accidentially committed char
405         which broke the build.
406
407 Mon Mar  1 16:51:21 2004  Jonathan Blandford  <jrb@redhat.com>
408
409         * gtk/gtkfilechooserdialog.c
410         (file_chooser_widget_default_size_changed): only store the size if
411         we can resize in that direction.
412
413 Mon Mar  1 16:32:52 2004  Jonathan Blandford  <jrb@redhat.com>
414
415         * gtk/gtkfilechooserwidget.c
416         (gtk_file_chooser_widget_new_with_backend): new function.  Long
417         name.
418
419 2004-03-01  Morten Welinder  <terra@gnome.org>
420
421         * gtk/gtkfilesystemunix.c (filename_get_info): Only stat when
422         needed.
423
424         * gtk/gtkfilesystemmodel.c (file_model_node_is_visible): Simplify
425         semantics and check for errors.
426
427         * gtk/gtkpathbar.c (gtk_path_bar_set_path): Propagate errors.
428
429         * gtk/gtkfilefilter.c (gtk_file_filter_filter): Don't crash if
430         display_name is NULL.
431
432 Mon Mar  1 14:16:52 2004  Owen Taylor  <otaylor@redhat.com>
433
434         Based on patch by Alex Larsson
435
436         * gtk/gtkfilechooserdefault.c: Use gtk-file-chooser-backend
437         GtkSetting to set the backend if the app doesn't specify one.
438
439         * gdk/x11/gdkevents-x11.c gtk/gtksettings.c:
440         Add Gtk/FileChooserBackend.
441
442 Mon Mar  1 20:32:06 2004  Tim Janik  <timj@gtk.org>
443
444         * autogen.sh:
445         - exit with $? instead of 1 in case of failure
446         - exit with $? if ./configure failed
447           (that's so autogen.sh && make lines work)
448         - removed --enable-gtk-doc option
449         - added $AUTOGEN_CONFIGURE_ARGS
450
451 2004-03-01  Federico Mena Quintero  <federico@ximian.com>
452
453         * gtk/gtkfilechooserdefault.c (list_model_filter_func): Test for
454         filter_info.uri correctly.  Fixes #135379, pointed out by Damon
455         Chaplin.
456         (shortcuts_get_index): Compute the bookmarks index correctly.
457         Fixes #135714, pointed out by Damon Chaplin.
458         (gtk_file_chooser_default_list_shortcut_folders): Handle the case
459         with no shortcuts, and don't run off the end of the list if there
460         are no bookmarks and their separator.  Fixes #135572, patch by
461         Damon Chaplin.
462
463 Mon Mar  1 12:23:06 2004  Owen Taylor  <otaylor@redhat.com>
464
465         * gtk/gtklabel.c: Handle dynamically resolved bidi direction
466         when drawing the cursor. (#118541)
467
468         * gtk/gtkentry.c (get_better_cursor_x): Use entry->resolved_dir;
469
470         * gtk/gtkentry.c (draw_insertion_cursor): Fix up
471         some confusion in parameter ordering.
472
473 Mon Mar  1 12:05:54 2004  Jonathan Blandford  <jrb@redhat.com>
474
475         * gtk/gtkfilechooserdialog.c
476         (file_chooser_widget_resizable_hints_changed): Handle
477         shrinking/growing.
478
479 2004-03-01  Michael Natterer  <mitch@gimp.org>
480
481         * gtk/gtktextbtree.c: removed underscores from calls to
482         gtk_text_btree_resolve_bidi().
483
484 Mon Mar  1 10:41:27 2004  Owen Taylor  <otaylor@redhat.com>
485
486         Patch from Dov Grobgeld to implement auto-bidi-direction
487         for GtkTextView (#118543)
488
489         * gtk/gtktextbtree.[ch]: Resolve bidi base direction
490         for each line by propagating backwards/forwards as
491         necessary.
492
493         * gtk/gtktextlayout.[ch] gtk/gtktextview.c: Set the 
494         bidi base direction for the ;ine with the cursor from 
495         the keyboard direction. Add gtk_text_layout_set_keyboard_direction().
496         
497 Mon Mar  1 10:31:11 2004  Owen Taylor  <otaylor@redhat.com>
498
499         * gtk/gtkentry.[ch]: Implement auto-bidi-direction,
500         based on a patch from Dov Grobgeld. (#118540)
501
502 Sun Feb 29 22:01:49 2004  Owen Taylor  <otaylor@redhat.com>
503
504         * gtk/gtkentry.[ch]: Add gtk_entry_set_alignment() 
505         to allow right-aligned entries and a "xalign" 
506         property. (#59799, patch from Egon Andersen and 
507         Steffen Gutmann)
508
509         * gtk/gtkmisc.c (gtk_misc_class_init): Use improved
510         xalign property description here too.
511
512         * tests/testtext.c: UNDERLINE_ERROR test addition
513         from Nicolas Settons' patch.
514
515 Sun Feb 29 20:34:06 2004  Owen Taylor  <otaylor@redhat.com>
516
517         * gtk/gtkwindow.[ch] gtk/gtkmenushell.c: export
518         gtk_window_activate_key() (Request from Tim Janik)
519
520 Mon Mar  1 01:00:11 2004  Matthias Clasen  <maclas@gmx.de>
521
522         * gtk/gtktextview.c (gtk_text_view_drag_data_received): 
523         Make DND operations within a buffer move the dragged 
524         text instead of copying it; also make DND operations 
525         a single user action for undo purposes.  (#135191, 
526         #93139, reported by Tommi Komulainen, patch by Paolo Borelli
527         and Paolo Maggi)
528
529 Mon Mar  1 00:51:11 2004  Matthias Clasen  <maclas@gmx.de>
530
531         * NEWS: News for 2.3.5.
532
533 Sun Feb 29 23:25:35 2004  Matthias Clasen  <maclas@gmx.de>
534
535         * gtk/gtkentry.c (gtk_entry_completion_key_press): 
536         Fix the Shift-Tab support to go backwards.
537
538 Sun Feb 29 16:40:40 2004  Owen Taylor  <otaylor@redhat.com>
539
540         * gtk/gtktextview.c (gtk_text_view_class_init): Fix 
541         capitalization to match other style properties.
542
543 Sun Feb 29 16:38:53 2004  Owen Taylor  <otaylor@redhat.com>
544
545         * gtk/gtktextview.c (gtk_text_view_class_init): Fix a
546         typo in property string.
547
548 Sun Feb 29 16:35:23 2004  Owen Taylor  <otaylor@redhat.com>
549
550         * gdk/gdkpango.c gtk/gtktextdisplay.c: Implement
551         PANGO_UNDERLINE_ERROR (Based on a patch by
552         Nicolas Setton, #114237)
553
554         * gtk/gtktextview.c: Add a error-underline-color style
555         property.
556
557 Sun Feb 29 19:04:33 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
558
559         * gtk/gtkrange.c (_gtk_range_get_wheel_delta): New internal
560         function returning a good step value for the mouse wheel. For
561         scrollbars, base the step on page_size^(2/3), for other ranges,
562         use 2 * step_increment.
563
564         * gtk/gtkrange.c (gtk_range_scroll_event): Use it here ...
565
566         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_scroll_event): 
567         ... and here.
568
569         * gtk/gtkmenu.c (gtk_menu_leave_notify): Fix a warning.
570
571 Sun Feb 29 01:51:27 2004  Jonathan Blandford  <jrb@gnome.org>
572
573         * gtk/gtkfilechooserembed.c
574         (_gtk_file_chooser_embed_get_default_size):  Add g_return_if_fail()
575         (_gtk_file_chooser_embed_get_resizable_hints): Add g_return_if_fail()
576
577         * gtk/gtkfilechooserdialog.c
578         (file_chooser_widget_default_size_changed): Get the correct
579         initial size for the dialog.  Also, don't bother with
580         gtk_window_set_default_size().  It's not really meaningful.
581
582         * gtk/gtkfilechooserdefault.c
583         (gtk_file_chooser_default_get_default_size): Get the correct
584         spacing for the preview_widget
585         (update_preview_widget_visibility): Clear widget field after we
586         destroy it.
587
588 2004-02-29  Federico Mena Quintero  <federico@ximian.com>
589
590         * gtk/gtkfilechooserdefault.c
591         (gtk_file_chooser_default_set_property): Handle
592         GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL.
593         (gtk_file_chooser_default_get_property): Likewise.
594         (struct _GtkFileChooserDefault): Added fields for preview_label,
595         use_preview_label, preview_display_name, preview_box.  Removed
596         preview_frame.
597         (set_preview_widget): Reorder the widget in relation to the label.
598         (update_preview_widget_visibility): Create or destroy the preview
599         label.
600         (check_preview_change): Update impl->preview_display_name and the
601         label.
602         (find_good_size_from_style): Use the preview_box.
603         (gtk_file_chooser_default_finalize): Free
604         impl->preview_display_name.
605         (gtk_file_chooser_default_init): Initialize
606         impl->use_preview_label.
607
608         * gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Add a
609         "use-preview-label" property.
610         (gtk_file_chooser_set_use_preview_label): New function.  This sets
611         whether one wants the file chooser to display a stock label with
612         the previewed filename.  Apps that do really fancy previews can
613         turn this off and draw the name themselves.
614         (gtk_file_chooser_get_use_preview_label): New function.
615         (gtk_file_chooser_get_preview_widget_active): Documentation fix.
616
617         * gtk/gtkfilechooserutils.h (GtkFileChooserProp): Add a
618         GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL value.
619
620         * gtk/gtkfilechooserutils.c
621         (_gtk_file_chooser_install_properties): Override the
622         "use-preview-label" property.
623
624 Sun Feb 29 04:43:29 2004  Matthias Clasen  <maclas@gmx.de>
625
626         * gtk/gtkentry.c (gtk_entry_completion_key_press): Make Tab and
627         Shift-Tab work when the completion popup is shown.
628
629 2004-02-28  Federico Mena Quintero  <federico@ximian.com>
630
631         * gtk/gtkfilechooserdefault.c (create_folder_tree): Use "Name" for
632         the title of the filename column.
633         (create_file_list): Likewise.
634
635 Sun Feb 29 03:31:42 2004  Matthias Clasen  <maclas@gmx.de>
636
637         * gtk/gtkentry.c (gtk_entry_completion_key_press): Fix Page_Up 
638         and Page_Down in the completion popup to move page-wise if we're
639         scrolling.
640
641 2004-02-28  Federico Mena Quintero  <federico@ximian.com>
642
643         * gtk/gtkfilechooserdefault.c (set_cell_text_bold_if_folder):
644         Removed.
645         (list_name_data_func): Don't call the function above.
646         (list_mtime_data_func): Likewise.
647
648 Sun Feb 29 02:34:35 2004  Matthias Clasen  <maclas@gmx.de>
649
650         * gtk/gtkcombobox.c (gtk_combo_box_list_position): New 
651         function which calculates position and size for the popup in
652         list mode. Currently it only pushes the popup horizontally 
653         into the screen.
654
655 Sun Feb 29 01:10:09 2004  Matthias Clasen  <maclas@gmx.de>
656
657         * gtk/gtkcombobox.c: Implement the previous fix in a better way,
658         small cleanups.
659
660 2004-02-28  Hans Breuer  <hans@breuer.org>
661
662         * gtk/gtkfilesystemwin32.c : applied patch from
663         J. Ali Harlow <ali@juiblex.co.uk>, fixes bug #135641
664
665 Sat Feb 28 23:30:36 2004  Matthias Clasen  <maclas@gmx.de>
666
667         * gtk/gtkcombobox.c (gtk_combo_box_popup): Actually resize the
668         popup window before popping up.  (#135651)
669
670 Sat Feb 28 23:29:35 2004  Matthias Clasen  <maclas@gmx.de>
671
672         * gtk/gtkcombobox.c (gtk_combo_box_class_init): 
673         * gtk/gtkcombobox.c (gtk_combo_box_init): Override the default
674         handler for style_set in class_init instead of connecting to
675         the signal in init. (noticed by Yosh).
676
677 Sat Feb 28 14:48:35 2004  Owen Taylor  <otaylor@redhat.com>
678
679         * demos/gtk-demo/main.c (read_line): #ifdef HAVE_FLOCKFILE, 
680         not #ifndef HAVE_FLOCKFILE. (#135642, J. Ali Harlow)
681
682 2004-02-28  Hans Breuer  <hans@breuer.org>
683
684         * gtk/gtkfilesystemwin32.c : adapt to add -> insert_bookmark
685         change. Also merged some crossplatform code from 
686         gtkfilesystemunix.c
687         * gtk/gtk.def : updated externals
688
689         * gtk/makefile.msc.in : added gtkfilechooserembed.obj
690
691 2004-02-28  Hans Breuer  <hans@breuer.org>
692
693         * gdk/win32/gdkdnd-win32.c : set current_dest_drag to NULL
694         when destroying, fixes bug #120007. Also removed the mirrored
695         ref counting for deprecated gdk_drag_context_<ref|unref>()
696         cause it wasn't reliable anymore anyway.
697
698         * gdk/win32/gdkdisplay-win32.c : fix typo, which should
699         have broken the win32 build for everyone not using msvc
700
701         * gdk/win32/gdkevents-win32.c : WM_GETMINAMXINFO ensure not to
702         return negative values for ptMaxTrackSize, it caused snapping
703         windows to their minimum size
704
705 Sat Feb 28 01:39:01 2004  Matthias Clasen  <maclas@gmx.de>
706
707         * gtk/gtkcombobox.c (gtk_combo_box_set_wrap_width): Support
708         switching back to non-gridded mode.  (#135169)
709
710 Fri Feb 27 22:29:46 2004  Matthias Clasen  <maclas@gmx.de>
711
712         * gtk/gtkwidget.c (gtk_widget_can_activate_accel): Add "Since: 2.4".
713
714 Fri Feb 27 18:52:19 2004  Jonathan Blandford  <jrb@redhat.com>
715
716         * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_style_set):
717         Whoops.  Didn't mean to commit the size change.
718
719 Fri Feb 27 18:46:27 2004  Jonathan Blandford  <jrb@redhat.com>
720
721         * gtk/gtkfilechooserembed.h: New private interface to help
722         negotiate the default size of the widget.  Still a bit buggy, but
723         better than the old behavior.
724
725         * gtk/gtkfilechooserdefault.c: Implement the embed interface.
726
727         * gtk/gtkfilechooserwidget.c: Proxy the embed interface.
728
729         * gtk/gtkfilechooserdialog.c: Use the embed interface.
730
731 2004-02-27  Federico Mena Quintero  <federico@ximian.com>
732
733         * gtk/gtkfilesystem.c (gtk_file_system_insert_bookmark): Added a
734         "position" argument.
735
736         * gtk/gtkfilesystem.h (GtkFileSystemError): Added value for 
737         GTK_FILE_SYSTEM_ERROR_ALREADY_EXISTS.
738         (struct _GtkFileSystemIface): Added a "position" argument to the
739         ::insert_bookmark() method.
740
741         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_insert_bookmark):
742         Updated; renamed from gtk_file_system_unix_add_bookmark().  Return
743         an error if the path already exists in the bookmarks list.
744         (gtk_file_system_unix_remove_bookmark): Return an error if the
745         path does not exist in the bookmarks list.
746
747         * gtk/gtkfilechooserdefault.c (shortcuts_add_bookmark_from_path):
748         For now, use gtk_file_system_insert_bookmark() with -1 for the
749         position.  DnD will come next.
750
751 Fri Feb 27 21:42:28 2004  Matthias Clasen  <maclas@gmx.de>
752
753         * gtk/gtkcombobox.c (gtk_combo_box_relayout): 
754         * gtk/gtkcombobox.c (gtk_combo_box_style_set): Simplify, only 
755         create a new setup if appearance actually changed.
756         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_clear): 
757         * gtk/gtkcombobox.c (gtk_combo_box_get_cell_info): Make 
758         these more robust.  (#127623, Damon Chaplin)
759
760 Fri Feb 27 15:06:00 2004  Jonathan Blandford  <jrb@redhat.com>
761
762         * gtk/gtkfilechooser.c (gtk_file_chooser_class_init): remove
763         folder-mode property.
764
765         * gtk/gtkfilechooserutils.c
766         (_gtk_file_chooser_install_properties): remove FOLDER_MODE property.
767
768 Thu Feb 26 17:38:40 2004  Manish Singh  <yosh@gimp.org>
769
770         * gtk/gtkcombobox.c: Add function declaration for
771         gtk_combo_box_list_remove_grabs().
772
773 Fri Feb 27 02:33:21 2004  Matthias Clasen  <maclas@gmx.de>
774
775         * gtk/gtkentry.c (keyval_is_cursor_move): Classifiy Page Up/Down as
776         cursor move, but not Home and End.
777
778         * gtk/gtkentry.c (gtk_entry_completion_key_press): Lets Page Up/Down
779         jump to the ends of the list, not Home and End - since we're not 
780         scrolling yet, a "page" is always the complete list.  (#127430, Marco
781         Pesenti Gritti)
782
783 Fri Feb 27 00:39:11 2004  Matthias Clasen  <maclas@gmx.de>
784
785         * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): 
786         * gtk/gtkcombobox.c (gtk_combo_box_menu_destroy): Don't let
787         the priv pointers dangle.  (#127623, Damon Chaplin)
788
789 Thu Feb 26 17:31:34 2004  Manish Singh  <yosh@gimp.org>
790
791         * gdk/x11/xsettings-client.c (read_settings): fix ytpo: s/eles/else/
792
793 Thu Feb 26 19:53:32 2004  Owen Taylor  <otaylor@redhat.com>
794
795         * gdk/x11/xsettings-common.h (xsettings_client_process_event): 
796         Add xsettings_client_set_grab_func,
797         Add xsettings_client_set_ungrab_func to the list of renames.
798
799 Thu Feb 26 19:48:39 2004  Owen Taylor  <otaylor@redhat.com>
800
801         * gdk/x11/xsettings-client.c (read_settings): Fix memory leak
802         in case of mismatched property type.
803
804 Thu Feb 26 18:25:57 2004  Jonathan Blandford  <jrb@gnome.org>
805
806         * gtk/gtkfilechooser.h (GtkFileChooserAction): Add two more folder
807         modes to the enum.
808
809         * gtk/gtkfilechooser.c (gtk_file_chooser_set_folder_mode): Remove.
810         (gtk_file_chooser_get_folder_mode): Remove
811
812 Thu Feb 26 17:29:04 2004  Owen Taylor  <otaylor@redhat.com>
813
814         * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Return
815         GDK_FILTER_CONTINUE for unhandled message types.
816
817         * gdk/x11/gdkevents-x11.c (gdk_event_translate): Allow
818         multiple filters for the same event type with the standard
819         "GDK_FILTER_CONTINUE == pretend I wasn't here" semantics.
820
821         * gdk/x11/gdkevents-x11.c (gdk_display_add_client_message_filter):
822         Append to the filter list not prepend, since order now matters.
823
824         * gdk/win32/gdkevents-win32.c (gdk_add_client_message_filter): 
825         Append to the filter list not prepend, since order now matters.
826         
827 Thu Feb 26 23:39:07 2004  Matthias Clasen  <maclas@gmx.de>
828
829         Fixes for #135333, analysed by Damon Chaplin:
830         
831         * gtk/gtkcombobox.c (gtk_combo_box_list_button_pressed): Don't
832         grab here.
833         * gtk/gtkcombobox.c (gtk_combo_box_popup): Do the grabs here, 
834         so that we don't forget to grab when the menu is popped via
835         keynav.
836         * gtk/gtkcombobox.c (gtk_combo_box_list_button_released): Don't
837         ungrab here.
838         * gtk/gtkcombobox.c (gtk_combo_box_popdown): Do the ungrabs here.
839
840 Thu Feb 26 23:26:00 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
841
842         * gtk/gtkstatusbar.c (set_grip_cursor): New function. Use resize
843         cursors for resize grips. (Bug #129621)
844
845         * gtk/gtktoolbar.c (gtk_toolbar_get_relief_style): Documentation
846         fix - patch by Torsten Schoenfeld.
847
848         * gtk/gtkmenubar.c (gtk_menu_bar_size_request): don't request
849         space between the items. (Bug #110775)
850
851         * gtk/gtkrc.c (_gtk_rc_init): Provide extra horizontal padding
852         inside menu items that are inside a menu bar. (Bug #110775)
853         
854         * configure.in (HAVE_XCURSOR): Make XCurosr part of GDK_EXTRA_,
855         not GDK_PACKAGES, to prevent applications from getting linked to
856         it (Bug #119804)
857
858         * gtk/gtkmenubar.c (gtk_menu_bar_size_allocate): Put the vertical
859         ipadding inside the item. (Bug #61843)
860
861 Thu Feb 26 22:56:40 2004  Matthias Clasen  <maclas@gmx.de>
862
863         * gtk/gtkwidget.c: Replace gtk_widget_get_mnemonic_widgets() 
864         by list_mnemonic_widgets() in doc comments as well.
865
866 Thu Feb 26 16:36:38 2004  Owen Taylor  <otaylor@redhat.com>
867
868         Fixes from Torsten Schoenfeld.
869
870         * gtk/gtkwidget.c (gtk_widget_add_mnemonic_label): 
871         Fix name in doc comment.
872
873         * gtk/gtkwidget.h: gtk_widget_list_mnemonic_labels(),
874         not get_mnemonic_labels.
875
876 Thu Feb 26 22:20:44 2004  Matthias Clasen  <maclas@gmx.de>
877
878         * gtk/gtkcomboboxentry.h:
879         * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_new_text): New
880         convenience API to construct simple text combos, implemented by
881         Damon Chaplin.
882
883         * tests/testcombo.c: Use gtk_combo_box_entry_new_text.
884
885 Thu Feb 26 22:19:29 2004  Matthias Clasen  <maclas@gmx.de>
886
887         * gtk/gtkcombobox.c (gtk_combo_box_new_text): Improve the docs.
888
889 Thu Feb 26 15:43:43 2004  Owen Taylor  <otaylor@redhat.com>
890
891         * gtk/gtkstyle.[ch]: Export insertion cursor drawing functionality
892         in a simplified form as gtk_draw_insertion_cursor().
893         (#99031, request from Alex Larsson)
894
895         * gtk/gtktextdisplay.c gtk/gtkentry.c gtk/gtklabel.c:
896         Adapt to new gtk_draw_insertion_cursor().
897
898         * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_class_init)
899         gtk/gtkstyle.c (gtk_style_class_init): Add some missed
900         Since: 2.4.
901
902         * gtk/gtkiconfactory.c (icon_size_settings_changed)
903           gtk/gtkicontheme.c (do_theme_change)
904           gtk/gtkrc.c (_gtk_rc_context_get_default_font_name)
905         * gtk/gtksettings.c (gtk_settings_notify):
906         _gtk_rc_reset_styles => gtk_rc_reset_styles.
907
908 Thu Feb 26 21:52:58 2004  Matthias Clasen  <maclas@gmx.de>
909
910         Fixes for #127804 and #134722, Damon Chaplin:
911         
912         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_end): 
913         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start): 
914         Ref and sink the cell renderers here.
915         
916         * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the cell
917         renderers here, and free attributes and func_data. 
918
919 Thu Feb 26 21:41:38 2004  Matthias Clasen  <maclas@gmx.de>
920
921         * gtk/gtkrc.c (gtk_rc_reset_styles): Mark as 2.4 API addition.
922
923 Thu Feb 26 14:47:22 2004  Dom Lachowicz <cinamod@hotmail.com>
924
925         * gtk/gtk.def: Export gtk_rc_reset_styles()
926
927 Thu Feb 26 14:47:22 2004  Owen Taylor  <otaylor@redhat.com>
928
929         * gtk/gtkrc.[ch]: Export gtk_rc_reset_styles(). 
930         (Request from Dom Lachowicz, #123769)
931
932 Wed Feb 25 19:11:31 2004  Owen Taylor  <otaylor@redhat.com>
933
934         * gtk/gtkradiobutton.[ch] gtk/gtkradiomenuitem.[ch]: Add a
935         ::group-changed signal emitted when the radio button/menu item 
936         is moved from one group of radio buttons to another. 
937         (#79563, based partially on a patch from Padraig O'Briain)
938
939 Thu Feb 26 13:23:47 2004  Owen Taylor  <otaylor@redhat.com>
940
941         * gdk/x11/gdkwindow-x11.c (set_text_property): Use the right
942         free() function. (#135511, George Bronnikov)
943
944 2004-02-26  Federico Mena Quintero  <federico@ximian.com>
945
946         * configure.in: Added a comment to inform translators that they
947         must add .po files to both po/ and po-properties/ when they add
948         new languages to ALL_LINGUAS.
949
950 Wed Feb 25 15:36:50 2004  Owen Taylor  <otaylor@redhat.com>
951
952         * gdk/x11/gdkselection-x11.c (gdk_utf8_to_compound_text_for_display):
953         Call g_convert(), not g_convert() with fallback, since Emacs is
954         happier if we reject the COMPOUND_TEXT request and it can
955         then ask for UTF-8. (#114527)
956
957         * gtk/gtkselection.c (gtk_selection_data_set_text): When
958         TEXT is requested, if COMPOUND_TEXT fails, fall back to STRING.
959
960 Wed Feb 25 22:35:00 2004  Tomasz KÅ‚oczko <kloczek@pld.org.pl>
961
962         * cinfigure.in: After changes in G_DEFINE_TYPE minimal required glib
963         vesion for build gtk+ is now 2.3.3.
964
965 Wed Feb 25 16:00:40 2004  Jonathan Blandford  <jrb@gnome.org>
966
967         * gtk/gtkfilechooserdefault.c (update_appearance): move the
968         expander code.
969
970 2004-02-25  Danilo Å egan  <dsegan@gmx.net>
971
972         * configure.in (ALL_LINGUAS): po-properties/sr@ije.po added, so
973         adding back sr@ije.
974
975 2004-02-25  Federico Mena Quintero  <federico@ximian.com>
976
977         * configure.in (ALL_LINGUAS): Remove sr@ije until po-properties/
978         is fixed for it.
979
980 Wed Feb 25 12:44:49 2004  Owen Taylor  <otaylor@redhat.com>
981
982         * gtk/gtkstyle.[ch]: Make realize and unrealize signals. (#73310)
983
984 Wed Feb 25 12:21:32 2004  Owen Taylor  <otaylor@redhat.com>
985
986         * gtk/gtkwidget.[ch] gtk/gtklabel.c: Patch from
987         Padraig O'Briain to add gtk_widget_add/remove_mnemonic_label,
988         gtk_widget_get_mnemonic_labels(). (#103456)
989
990 2004-02-25  Danilo Å egan  <dsegan@gmx.net>
991
992         * configure.in: Added sr@ije to ALL_LINGUAS.
993
994 Wed Feb 25 09:46:34 2004  Owen Taylor  <otaylor@redhat.com>
995
996         * gtk/gtkstyle.c (gtk_style_finalize): Free 
997         style->icon_factories (#130128)
998
999 Wed Feb 25 03:52:58 2004  Jonathan Blandford  <jrb@gnome.org>
1000
1001         * gtk/gtkpathbar.c: use gtk_widget_push/pop_composite_child around
1002         internal buttons.
1003
1004         * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
1005         rename some widgets to make it clear where they are packed.
1006         (update_appearance): New function to handle all the 'logic' of
1007         layout in one place.  We aren't trying to keep all our properties
1008         in sync.
1009         (gtk_file_chooser_default_set_property): use update_appearance()
1010
1011 2004-02-24  Federico Mena Quintero  <federico@ximian.com>
1012
1013         * gtk/gtkfilechooserdefault.c (shortcuts_model_create): Renamed
1014         from create_shortcuts_model().
1015         (struct _GtkFileChooserDefault): Renamed the shortcuts_tree field
1016         to shortcuts_list.
1017         (shortcuts_list_create): Renamed from shortcuts_tree_create().
1018         (create_file_list): Enable the tree view as a model drag source.
1019         (create_folder_tree): Likewise.
1020
1021         * gtk/gtkfilesystemmodel.c (_gtk_file_system_model_get_type):
1022         Register the drag source interface.
1023         (drag_source_iface_init): New function.
1024         (drag_source_row_draggable): New function.
1025         (drag_source_drag_data_get): New function.
1026
1027 Tue Feb 24 19:12:07 2004  Owen Taylor  <otaylor@redhat.com>
1028
1029         * === Released 2.3.4 ===
1030
1031         * configure.in: Bump version to 2.3.4, fix broken
1032         gtk_binary_age value by copying the GLib logic
1033         to automatically set it to the right values.
1034
1035 Wed Feb 25 00:13:24 2004  Matthias Clasen  <maclas@gmx.de>
1036
1037         * gtk/gtkcombobox.c (gtk_combo_box_menu_row_changed): 
1038         * gtk/gtkcombobox.c (gtk_combo_box_list_row_changed): 
1039         Don't resize priv->cell_view if it is NULL.  (#127804, 
1040         Damon Chaplin)
1041         
1042 Wed Feb 25 00:06:50 2004  Matthias Clasen  <maclas@gmx.de>
1043
1044         * gtk/gtkcombobox.c: Add a comment about the different 
1045         modi of this widget. Get rid of priv->hbox, and some other
1046         cleanups. Make sure that gtk_combo_box_unset_model() is 
1047         always called before setting up a different mode. 
1048
1049 Tue Feb 24 17:51:49 2004  Owen Taylor  <otaylor@redhat.com>
1050
1051         * gtk/gtkaccellabel.c (gtk_accel_label_refetch): Convert
1052         underscores in keyval names to spaces. (#131480)
1053
1054 Tue Feb 24 17:35:59 2004  Owen Taylor  <otaylor@redhat.com>
1055
1056         * m4macros/gtk-2.0.m4: Add some quotes around ***. (#130073,
1057         Uwe Zeisberger)
1058
1059 Tue Feb 24 14:45:03 2004  Owen Taylor  <otaylor@redhat.com>
1060
1061         * === Released 2.3.3 ===
1062
1063         * configure.in: Version 2.3.3, interface age 0.
1064
1065         * NEWS: Finish updates for 2.3.3.
1066
1067 2004-02-24  Federico Mena Quintero  <federico@ximian.com>
1068
1069         * gtk/gtkfilechooserdefault.c (save_widgets_create): Use a plain
1070         GtkEntry for the filename, not a GtkFileChooserEntry.
1071         (update_chooser_entry): Use gtk_entry_set_text() rather than
1072         _gtk_file_chooser_entry_set_file_part().
1073         (gtk_file_chooser_default_set_current_name): Likewise.
1074         (gtk_file_chooser_default_set_current_folder): Don't set the base
1075         folder of the entry, and don't call update_chooser_entry().
1076         (gtk_file_chooser_default_get_paths): Use the plain entry.
1077         (save_widgets_create): Store the "Save in Folder" label in the
1078         impl structure.
1079         (expander_activate_cb): Set the sensitivity of the label and
1080         combo.
1081         (save_widgets_create): Connect to "notify::expanded" rather than
1082         "activate" on the expander.
1083         (expander_changed_cb): Renamed from expander_activate_cb().  Flip
1084         the conditions again...
1085
1086 Tue Feb 24 14:43:07 2004  Jonathan Blandford  <jrb@gnome.org>
1087
1088         * gtk/gtktreeview.c (gtk_tree_view_bin_expose): only draw the sort
1089         column as different if there are 3 or more visible columns.
1090
1091 2004-02-24  Anders Carlsson  <andersca@gnome.org>
1092
1093         * gtk/gtkfilechooserdefault.c: (shortcuts_insert_separator):
1094         Fix compilation (#135278, Padraig O'Briain).
1095         
1096 2004-02-24  Anders Carlsson  <andersca@gnome.org>
1097
1098         * gtk/gtkfilechooserdefault.c: (shortcuts_append_desktop):
1099         Translate the desktop label.
1100         
1101         (shortcuts_get_index), (shortcuts_add_bookmarks),
1102         (shortcuts_insert_separator), (create_shortcuts_model):
1103         Don't show the bookmark separator if there are no bookmarks.
1104         
1105 Tue Feb 24 01:41:30 2004  Jonathan Blandford  <jrb@gnome.org>
1106
1107         * gtk/gtkfilechooserdefault.c (location_popup_handler): Make the
1108         dialog look like the nautilus dialog.
1109         (expander_activate_cb): get the order correct.
1110
1111 2004-02-23  Federico Mena Quintero  <federico@ximian.com>
1112
1113         * gtk/gtkfilechooserdefault.c (list_selection_changed): Call
1114         bookmarks_check_add_sensitivity().
1115         (shortcut_exists): New helper function; moved the testing code
1116         over from bookmarks_check_add_sensitivity().
1117         (bookmarks_check_add_sensitivity): Check the contents of the
1118         selection in the file/folder list.  Use shortcut_exists().
1119         (shortcuts_add_bookmark_from_path): Don't insert the bookmark if
1120         the path is already in the shortcuts list.
1121         (add_bookmark_button_clicked_cb): Add the bookmarks from the list
1122         selection or from the current folder, as appropriate.
1123
1124 Mon Feb 23 21:09:06 2004  Jonathan Blandford  <jrb@gnome.org>
1125
1126         * gtk/gtkfilechooserdefault.c (shortcuts_pane_create): Add
1127         mnemonics.  Sorry translators.
1128
1129 Tue Feb 24 02:24:58 2004  Matthias Clasen  <maclas@gmx.de>
1130
1131         * NEWS: Additions. This should be complete for the main ChangeLog
1132         now, still need to sift through gdk-pixbuf, docs, and translations.
1133
1134 Mon Feb 23 19:57:45 2004  Jonathan Blandford  <jrb@gnome.org>
1135
1136         * gtk/gtkcellrendererseptext.c (gtk_cell_renderer_sep_get_size):
1137         Add a get_size implementation so that we are no longer the same
1138         height as text.
1139
1140 2004-02-24  Anders Carlsson  <andersca@gnome.org>
1141
1142         * gtk/gtkfilechooserdefault.c: (shortcuts_insert_path),
1143         (shortcuts_remove_rows), (shortcuts_append_bookmarks),
1144         (create_shortcuts_model), (shortcuts_tree_create),
1145         (gtk_file_chooser_default_remove_shortcut_folder):
1146         Improve bookmark list rendering by controlling the visibility
1147         of the pixbuf cell so that it will be invisible for the separator
1148         row, also use a list store instead of a tree store for the model
1149         so we won't get unnecessary space for an expander.
1150         
1151 Tue Feb 24 01:08:27 2004  Matthias Clasen  <maclas@gmx.de>
1152
1153         * gtk/gtkcombobox.c: Add a destroy implementation in order to
1154         set priv->cell_view to NULL before finalize stumbles over the 
1155         dangling pointer. This big array of pointers into the widget 
1156         tree in GtkComboBoxPrivate is really fragile and should be
1157         cleaned up.
1158
1159 Mon Feb 23 17:52:43 2004  Jonathan Blandford  <jrb@gnome.org>
1160
1161         * gtk/gtkfilechooserdefault.c (main_paned_create): use a size
1162         group when allocating space for the buttons at the bottom just in
1163         case.  Also, move the filter to below the file list.
1164
1165 Mon Feb 23 16:52:12 2004  Jonathan Blandford  <jrb@gnome.org>
1166
1167         * gtk/gtkfilechooserdefault.c
1168         (gtk_file_chooser_default_class_init): Seth was confused by
1169         keybindings.  They should be Alt, not Ctl.  Also, A-Home should go
1170         home, not up.
1171
1172 Mon Feb 23 15:23:23 2004  Jonathan Blandford  <jrb@gnome.org>
1173
1174         * gtk/gtkpathbar.c (gtk_path_bar_set_path): Display the root a bit
1175         more cleanly.
1176
1177         * gtk/gtkpathbar.h (struct _GtkPathBarClass): fix the signal.
1178
1179 2004-02-23  Federico Mena Quintero  <federico@ximian.com>
1180
1181         Rework the user interface of the file chooser, as per 
1182         Seth Nickell's design.
1183
1184         * gtk/gtkfilechooserdefault.c
1185         (gtk_file_chooser_default_class_init): Add binding signals and bindings:
1186                 "location-popup" - C-l
1187                 "up-folder"      - C-Up
1188                 "home-folder"    - C-Home
1189         (up_folder_handler): New function; moved the code from up_button_clicked().
1190         (up_button_clicked_cb): Call up_folder_handler().
1191         (home_folder_handler): New function.
1192         (location_popup_handler): New function.
1193         (struct _GtkFileChooserDefault): Add an hpaned field.
1194         (gtk_file_chooser_default_set_current_name): Check that we are in
1195         Save mode.
1196         (save_widgets_create): New function, create the widgets specific
1197         to Save mode.
1198         (main_paned_create): New function, create the hpaned's widgets here.
1199         (gtk_file_chooser_default_constructor): Create the open and save
1200         widgets, and show only one set.
1201         (gtk_file_chooser_default_set_property): Show/hide the save widgets.
1202         (gtk_file_chooser_default_get_paths): Only pay attention to the
1203         entry in Save mode.
1204         (update_chooser_entry): Update the entry only in Save mode.
1205         (entry_activate): Removed.
1206
1207 Mon Feb 23 11:20:34 2004  Owen Taylor  <otaylor@redhat.com>
1208
1209         * configure.in: Remove the configure.in check for fontconfig 
1210         entirely; it's not needed, since PangoXft implies that sufficiently
1211         new fontconfig is present.
1212
1213 Mon Feb 23 02:26:53 2004  Jonathan Blandford  <jrb@gnome.org>
1214
1215         * gtk/gtkpathbar.c (gtk_path_bar_finalize):
1216         for (i = 0; i < 10; i++)
1217           g_print ("I will compile before committing.\n");
1218
1219 Mon Feb 23 02:08:42 2004  Jonathan Blandford  <jrb@gnome.org>
1220
1221         * gtk/gtkfilechooserdefault.c (file_pane_create): Use the
1222         GtkPathBar by default now.
1223
1224         * gtk/gtkpathbar.c (gtk_path_bar_set_path): Correctly set the
1225         current path from the path.
1226         (gtk_path_bar_class_init): new signal
1227         (button_clicked_cb): emit the signal when we're selected.
1228         (gtk_path_bar_clear_buttons): Fix a crasher when we weren't
1229         clearing thr first_scrolled_button.
1230
1231 Mon Feb 23 02:26:15 2004  Matthias Clasen  <maclas@gmx.de>
1232
1233         * gtk/gtkcombobox.c (gtk_combo_box_size_allocate): Fix the 
1234         allocation for the toggle button so that it actually shows up 
1235         in LTR list mode.
1236
1237         * gtk/gtkcombobox.c (gtk_combo_box_set_column_span_column): 
1238         * gtk/gtkcombobox.c (gtk_combo_box_set_row_span_column): 
1239         * gtk/gtkcombobox.c (gtk_combo_box_set_wrap_width): Add
1240         notification, and avoid excessive relayouting. 
1241
1242 Mon Feb 23 00:38:21 2004  Matthias Clasen  <maclas@gmx.de>
1243
1244         Fix bug 134982, reported by Morten Welinder:
1245         
1246         * gtk/gtkpathbar.c (gtk_path_bar_destroy): 
1247         * gtk/gtktooltips.c (gtk_tooltips_destroy): 
1248         * gtk/gtkinvisible.c (gtk_invisible_destroy): Chain up to the 
1249         parent's ::destroy handler.
1250         
1251         * gdk/gdkdisplay.c (gdk_display_dispose): Chain up to the 
1252         parent's ::dispose handler.
1253
1254 Sat Feb 21 19:09:55 2004  Manish Singh  <yosh@gimp.org>
1255
1256         * gtk/gtksettings.c (gtk_default_substitute): Guard the FC_HINT_STYLE
1257         stuff with an #ifdef, so we still build with most fontconfig versions.
1258
1259 Sun Feb 22 03:03:29 2004  Matthias Clasen  <maclas@gmx.de>
1260
1261         * gtk/gtkaction.c: (gtk_action_finalize):
1262         * gtk/gtkclipboard.c: (gtk_clipboard_finalize):
1263         * gtk/gtkentrycompletion.c: (gtk_entry_completion_class_init),
1264         (gtk_entry_completion_finalize):
1265         * gtk/gtkfilechooserwidget.c: (gtk_file_chooser_widget_finalize):
1266         * gtk/gtkfilesystemmodel.c: (gtk_file_system_model_class_init),
1267         (gtk_file_system_model_finalize):
1268         * gtk/gtkicontheme.c: (gtk_icon_theme_class_init),
1269         (gtk_icon_theme_finalize):
1270         * gtk/gtktextchild.c: (gtk_text_child_anchor_finalize):
1271         * gtk/gtkuimanager.c: (gtk_ui_manager_class_init),
1272         (gtk_ui_manager_finalize):
1273         * modules/input/gtkimcontextxim.c: (gtk_im_context_xim_finalize):
1274         Add chains to the parent's ::finalize() handler  (#134901, Morten Welinder,
1275         patch by Jan Arne Petersen)
1276
1277 Sun Feb 22 02:10:34 2004  Matthias Clasen  <maclas@gmx.de>
1278
1279         * gtk/gtkentrycompletion.c (gtk_entry_completion_default_completion_func): 
1280         Don't crash if item is NULL.  (#131542, Dan Damian)
1281
1282 Sun Feb 22 02:04:03 2004  Matthias Clasen  <maclas@gmx.de>
1283
1284         * configure.in: Add a check for a new enough fontconfig, since
1285         we picked up a direct dependency on it with the Xft settings.
1286
1287 Sun Feb 22 00:23:40 2004  Matthias Clasen  <maclas@gmx.de>
1288
1289         Bug 112647 (Bill Haneman, patch by Narayana Pattipati):
1290         
1291         * gtk/gtkcheckmenuitem.c: Introduce a new style property 
1292         indicator_size and use it instead of the hardcoded value.
1293         
1294         * gtk/gtkmenu.c (gtk_menu_size_request): Make sure each menu 
1295         item gets enough vertical space for the label and the indicator.
1296
1297 Sat Feb 21 20:20:11 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
1298
1299         * gtk/gtksettings.c (gtk_settings_class_init): Use P_ instead of
1300         _ for the new Xft settings.
1301
1302 Sat Feb 21 20:09:53 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
1303
1304         Bug 130790 (Federico Mena Quintero, Owen Taylor)
1305         
1306         * gdk/x11/gdkevents-x11.c: Add Xft XSETTINGS
1307
1308         * gtk/gtksettings.c: Add new GtkSettings corresponding to the Xft
1309         XSETTINGS
1310         
1311 Sat Feb 21 19:18:26 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
1312
1313         Bug 132502
1314         
1315         * gtk/gtkmenu.c (gtk_menu_motion_notify): Make sure we pop down
1316         if we enter a non-selectable menu item.
1317
1318         * gtk/gtkmenu.c (gtk_menu_leave_notify): Don't pop a submenu
1319         when the user has left the item.
1320
1321 Sat Feb 21 17:57:35 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
1322
1323         * gtk/docs: Commit auto-generated changes
1324
1325 Fri Feb 20 18:20:22 2004  Jonathan Blandford  <jrb@gnome.org>
1326
1327         * gtk/gtkfilechooserdefault.c: conditional compile for GtkPathBar
1328
1329         * gtk/gtkpathbar.c (gtk_path_bar_size_allocate): Clean up
1330         allocation code.  Works fully in RTL languages, I think.
1331         (gtk_path_bar_scroll_up): Scroll up.
1332         (gtk_path_bar_scroll_down): Scroll down.
1333
1334 2004-02-20  Christian Rose  <menthos@menthos.com>
1335
1336         * configure.in: Added "en_CA" to ALL_LINGUAS.
1337
1338 2004-02-20  Michael Meeks  <michael@ximian.com>
1339
1340         * gtk/gtktoolitem.c (gtk_tool_item_property_notify): impl.
1341         (gtk_tool_item_class_init): hook it up.
1342         (gtk_tool_item_set_proxy_menu_item): synchronize sensitivity.
1343
1344         * gtk/gtktoolbutton.c (gtk_tool_button_property_notify):
1345         chain to parent, fix strcmp bug.
1346
1347         * tests/testtoolbar.c (main): re-arrange widgets to allow
1348         more overflowing toolbar goodness.
1349
1350 2004-02-20  Alexander Larsson  <alexl@redhat.com>
1351
1352         * gtk/gtkfilechooserdefault.c: (shortcuts_append_desktop):
1353         Desktop directory is not translated.
1354         (set_tree_model):
1355         There might not be volumes for all paths.
1356         * gtk/gtkfilechooserwidget.c:
1357         (gtk_file_chooser_widget_constructor):
1358         Use gtk_file_chooser_set_current_folder to set cwd.
1359
1360 Thu Feb 19 19:58:53 2004  Jonathan Blandford  <jrb@gnome.org>
1361
1362         * gtk/gtkpathbar.[ch]: New widget to handle the path in the
1363         fileselector implementation.  Not hooked up to anything yet.
1364
1365         * gtk/Makefile.am: support the path bar.
1366
1367 Fri Feb 20 00:21:38 2004  Matthias Clasen  <maclas@gmx.de>
1368
1369         * gtk/gtkstyle.c (gtk_default_draw_handle): 
1370         (gtk_default_draw_box): Make the paned handles gray when the the 
1371         widget is_focus() but not HAS_FOCUS().  (#122751, Soeren Sandmann)
1372
1373 Thu Feb 19 23:41:06 2004  Matthias Clasen  <maclas@gmx.de>
1374
1375         Fixes for #82099:
1376         
1377         * gdk/x11/gdkevents-x11.c: Introduce new XSettings "Gtk/ButtonImages"
1378         and "Gtk/MenuImages" and map them to "gtk-button-images" and 
1379         "gtk-menu-images".
1380
1381         * gtk/gtkimagemenuitem.c: Add a boolean setting "gtk-menu-images" and 
1382         use it to set the visibility of the embedded image.
1383
1384         * gtk/gtkbutton.c: Add a boolean setting "gtk-button-images" and use
1385         it to set the visibility of an embedded image.
1386
1387 Thu Feb 19 21:26:10 2004  Matthias Clasen  <maclas@gmx.de>
1388
1389         * gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full): 
1390         Give each radio action its own value.  (#134889, Paolo Borelli)
1391
1392 2004-02-19  Federico Mena Quintero  <federico@ximian.com>
1393
1394         * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_finalize):
1395         Chain to the parent's ::finalize() handler.  Fixes #134885; caught
1396         by Jan Arne Petersen.
1397
1398 2004-02-19  Mark McLoughlin  <mark@skynet.ie>
1399
1400         Make the entire expander widget width prelight as suggested
1401         by Seth in bug #134263.
1402
1403         * gtk/gtkexpander.c:
1404         (gtk_expander_paint_prelight): impl.
1405         (gtk_expander_paint): use it.
1406         (gtk_expander_redraw_expander): don't only redraw the
1407         arrow when prelit.
1408
1409 2004-02-19  Alexander Larsson  <alexl@redhat.com>
1410
1411         * gtk/gtkfilechooser.c: (gtk_file_chooser_class_init):
1412         * gtk/gtkfilechooserutils.c:
1413         * gtk/gtkfilechooserutils.h:
1414         * gtk/gtkfilechooserwidget.c:
1415         Remove old file-system property.
1416         Add new file-system-backend string property
1417         
1418         * gtk/gtkfilechooserdefault.[ch]:
1419         Handle the file-system-backend property
1420         
1421         * gtk/gtkfilechooserdialog.[ch]:
1422         (gtk_file_chooser_dialog_new_with_backend):
1423         Remove old file-system property.
1424         Add new file-system-backend string property
1425         Add new function gtk_file_chooser_dialog_new_with_backend
1426         
1427         * gtk/gtkfilesystem.c: 
1428         * gtk/gtkfilesystem.h:
1429         Add filesystem module support.  
1430
1431 2004-02-18  Federico Mena Quintero  <federico@ximian.com>
1432
1433         * gtk/gtkfilechooserdefault.c (shortcuts_tree_create): Renamed
1434         from create_shortcuts_tree().
1435         (shortcuts_pane_create): New function.
1436         (button_new): Renamed from toolbar_button_new().
1437         (shortcuts_pane_create): New function, create the whole shortcuts
1438         pane here.
1439         (current_folder_create): Renamed from toolbar_create().  Don't
1440         create the bookmarks buttons here.
1441         (file_pane_create): New function.
1442         (gtk_file_chooser_default_constructor): Use the new helper
1443         functions, and don't use an extra vbox as GtkFileChooserDefault is
1444         already a vbox.
1445
1446 Thu Feb 19 01:39:30 2004  Matthias Clasen  <maclas@gmx.de>
1447
1448         * gtk/gtkuimanager.h: 
1449         * gtk/gtkuimanager.c (gtk_ui_manager_class_init): Add
1450         default handlers for all signals; for consistency and for the
1451         benefit of language bindings which still rely on header parsing
1452         to find the signals.  (#134269, Jeroen Zwartepoorte)
1453         
1454 Thu Feb 19 00:45:02 2004  Matthias Clasen  <maclas@gmx.de>
1455
1456         * gtk/gtktreeselection.c (gtk_tree_selection_get_selected_rows): 
1457         Improve the efficiency here by prepending on the list and reverting
1458         it after the loop.  (#134435, Christian Biere)
1459
1460 Thu Feb 19 00:32:21 2004  Matthias Clasen  <maclas@gmx.de>
1461
1462         * gtk/gtkplug.c (_gtk_plug_remove_from_socket): Avoid errors when
1463         removing the plug from the socket.  (#128546, Christopher Blizzard)
1464
1465 Thu Feb 19 00:09:35 2004  Matthias Clasen  <maclas@gmx.de>
1466
1467         * gtk/gtkradiomenuitem.h:
1468         * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_new_from_widget): 
1469         (gtk_radio_menu_item_new_with_label_from_widget): 
1470         (gtk_radio_menu_item_new_with_mnemonic_from_widget): New
1471         convenience functions analogous to similar API on GtkRadioButton.
1472         (#51700, Vitaly Tishkov, patch by Soeren Sandmann)
1473
1474 Wed Feb 18 17:53:27 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
1475
1476         * gdk/gdkwindow.c (gdk_window_get_bg_gc): Use a scratch GC in the
1477         case where the background is a solid color.
1478         (gdk_window_clear_backing_rect): Reset the clip region after use.
1479
1480         * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_threshold_alpha): Go
1481         back to using a scratch GC. Pointed out by Owen Taylor
1482         
1483         * gdk/gdkdraw.c (gdk_drawable_real_draw_pixbuf): Only use a
1484         scratch GC if the passed-in one is NULL
1485
1486 Wed Feb 18 14:27:08 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
1487
1488         * gdk/gdkwindow.c (gdk_window_get_composite_drawable): Reset clip
1489         region back to NULL on cached GC (rest of #134728)
1490
1491 Wed Feb 18 13:28:57 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
1492
1493         Fix bug reported by Nam SungHyun (#134728)
1494         
1495         * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_threshold_alpha):
1496         Don't use a cached GC here since the function needs to modify the
1497         foreground color.
1498
1499         * gdk/gdkwindow.c (gdk_window_end_paint): Reset clip region back
1500         to NULL on the cached GC.
1501
1502 2004-02-17  Federico Mena Quintero  <federico@ximian.com>
1503
1504         * gtk/gtkfilechooserdialog.c
1505         (gtk_file_chooser_dialog_style_set): Use HIG-compliant spacings.
1506         This sucks a lot.
1507
1508 Wed Feb 18 02:03:47 2004  Matthias Clasen  <maclas@gmx.de>
1509
1510         * gtk/gtktextbuffer.c (gtk_text_buffer_class_init): Document some
1511         peculiarities of the ::delete_range signal.  (#132135, Grant Gayed)
1512
1513 Wed Feb 18 01:44:59 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
1514
1515         GC caching, bug #125645 (based on patch by Brian Cameron)
1516         
1517         * gdk/gdkscreen.h (struct _GdkScreen): Add GC cache
1518         * gdk/gdkscreen.c (gdk_screen_dispose): New function. Unref the
1519         cached GC's here.
1520         * gdk/gdkdraw.c (_gdk_drawable_get_scratch_gc): New function to
1521         get a scratch gc.
1522         * gdk/gdkinternals.h: Declare the function here
1523
1524         * gdk/gdkdraw.c (gdk_drawable_real_draw_pixbuf): Use
1525         _gdk_drawable_get_scratch_gc() instead of creating a new GC.
1526         * gdk/x11/gdkgeometry-x11.c (gdk_window_copy_area_scroll): same
1527         * gdk/x11/gdkdrawable-x11.c (draw_with_images): same
1528         * gdk/gdkwindow.c (gdk_window_get_composite_drawable): same
1529         * gdk/gdkwindow.c (gdk_window_end_paint): same
1530         * gdk/gdkpixmap.c (gdk_pixmap_colormap_new_from_pixbuf): same
1531         * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_threshold_alpha): same
1532         * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_pixmap_and_mask_for_colormap): same
1533
1534 Tue Feb 17 23:28:33 2004  Matthias Clasen  <maclas@gmx.de>
1535
1536         * gtk/gtkmenu.c (gtk_menu_init): ...and don't forget to initalize
1537         priv->columns to 1.
1538
1539 Tue Feb 17 23:11:21 2004  Matthias Clasen  <maclas@gmx.de>
1540
1541         * gtk/gtkmenu.c (gtk_menu_do_remove): Make sure that we keep
1542         priv->columns >= 1 even for empty menus, since we divide by it
1543         somewhere else.  (#133428, Vincent Noel)
1544
1545 Tue Feb 17 23:02:58 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
1546
1547         Fix for #119722, reported by Olexiy Avramchenko, patch by Owen
1548         Taylor.
1549
1550         * gdk/x11/gdkprivate-x11.h (struct _GdkGCX11): Add a depth field
1551
1552         * gdk/x11/gdkgc-x11.c (_gdk_x11_gc_new): Keep track of the GC's
1553         depth.
1554
1555         * gdk/x11/gdkgc-x11.c (_gdk_gc_x11_get_fg_xft_color): First query
1556         the colormap, if no colormap, special case depth 1, 
1557
1558         * gdk/x11/gdkgc-x11.c (_gdk_x11_gc_get_fg_picture): Use
1559         _gdk_gc_x11_get_fg_xft_color() to get the foreground color.
1560
1561         * gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_get_xft_draw):
1562         Special-case bitmaps without a colormap.
1563
1564         * gdk/x11/gdkdrawable-x11.c (gdk_x11_draw_pixbuf): Use inherited
1565         draw_pixbuf() implementation in the bitmap case.
1566
1567 2004-02-17  Mark McLoughlin  <mark@skynet.ie>
1568
1569         * modules/input/Makefile.am: only reference input method
1570         modules we've actually built. Fixes re-build failure with
1571         stale hangul module lying aroung. Bug #134518.
1572
1573 Mon Feb 16 19:13:21 2004  Owen Taylor  <otaylor@redhat.com>
1574
1575         * gdk/gdkdraw.c: Revert last commit, please don't commit patches
1576         without approval, this isn't the right way to do it.
1577
1578 2004-02-16  DindinX  <david@dindinx.org>
1579
1580         * gdk/gdkdraw.c (gdk_draw_segments): don't try to draw more than 32767
1581         segments at a time, since XDrawSegments cannot handle more than this.
1582
1583         fixes bug #122026.
1584         
1585 Mon Feb 16 18:26:39 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
1586
1587         * gtk/gtktoolbar.c (gtk_toolbar_set_child_property): Call
1588         gtk_tool_item_set_expand(), not gtk_tool_item_set_homogeneous()
1589         in the CHILD_PROP_EXPAND branch. (#134543, Damon Chaplin)
1590
1591 Mon Feb 16 00:04:46 2004  Matthias Clasen  <maclas@gmx.de>
1592
1593         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_*): 
1594         Split declaration and assignment of combo_box.
1595         
1596         * gtk/gtkcombobox.c (gtk_combo_box_list_setup): Remove a 
1597         pointless cast
1598
1599 Sun Feb 15 22:08:53 2004  Matthias Clasen  <maclas@gmx.de>
1600
1601         * gtk/gtkoptionmenu.c (gtk_option_menu_get_history): Add 
1602         deprecation note pointing people to GtkComboBox.
1603
1604 Sun Feb 15 02:49:45 2004  Matthias Clasen  <maclas@gmx.de>
1605
1606         * gtk/gtktreednd.c: 
1607         * gtk/gtktreeview.c: Document the tree DND API.
1608
1609         * gtk/gtktreeview.c (gtk_tree_view_unset_rows_drag_source): 
1610         Call gtk_drag_source_unset().  
1611         
1612 Sun Feb 15 00:49:59 2004  Matthias Clasen  <maclas@gmx.de>
1613
1614         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init): 
1615         Make stock_size an uint property, to allow custom icon 
1616         sizes. Also clarify the blurb.  (#130047, Erik Grinaker)
1617
1618 Sat Feb 14 11:05:26 2004  Manish Singh  <yosh@gimp.org>
1619
1620         * configure.in: Remove unnecessary STRIP_* definitions, and GNU
1621         make check.
1622
1623 2004-02-13  Federico Mena Quintero  <federico@ximian.com>
1624
1625         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_add_bookmark):
1626         Duh, duh, duh!  Don't bail out if the bookmarks file doesn't exist
1627         the very first time you try to save one.
1628
1629 2004-02-13  Federico Mena Quintero  <federico@ximian.com>
1630
1631         Fix #129020.
1632
1633         * gtk/gtkfilechooserdialog.c
1634         (set_default_size): New function, sets a reasonable default size
1635         for the window.
1636         (gtk_file_chooser_dialog_realize): New function, call
1637         set_default_size().
1638         (gtk_file_chooser_dialog_style_set): Likewise.
1639         (gtk_file_chooser_dialog_screen_changed): Likewise.
1640
1641         * tests/testfilechooser.c (main): Don't set a default size for the
1642         dialog.
1643
1644 Sat Feb 14 00:05:18 2004  Matthias Clasen  <maclas@gmx.de>
1645
1646         * gtk/gtktreemodelfilter.c (bsearch_elt_with_offset): 
1647         Use do instead of while.  (#134031, Morten Welinder);
1648
1649 Sat Feb 14 00:00:52 2004  Matthias Clasen  <maclas@gmx.de>
1650
1651         * configure.in: Suppress xsltproc and xmlcatalog checks
1652         if enable_man=no.  (#134162, Julio M. Merino Vidal)
1653
1654 Fri Feb 13 23:54:48 2004  Matthias Clasen  <maclas@gmx.de>
1655
1656         * configure.in: Remove checks for sgml2html. It was once
1657         used for building the linuxdoc version of the tutorial.
1658         Nowadays, we use db2html.  (#134164, Julio M. Merino Vidal)
1659
1660 Fri Feb 13 08:17:43 2004  Owen Taylor  <otaylor@redhat.com>
1661
1662         Fix various compilation problems (#134312, David
1663         Hawthorne)
1664
1665         * gtk/gtkscale.c (gtk_scale_get_layout_offsets): Use 
1666         g_return_if_fail(), not g_return_val_if_fail().
1667
1668         * gtk/gtkvscale.c (gtk_vscale_get_layout_offsets): 
1669         * gtk/gtkhscale.c (gtk_hscale_get_layout_offsets): Use 
1670         g_return_if_reached(), not g_return_val_if_reached().
1671         
1672         * gtk/gtkvscale.c (gtk_vscale_expose): Fix the types
1673         of some parameters.
1674
1675         * gtk/gtkhscale.c (gtk_hscale_get_layout_offsets): Remove
1676         extra 'scale' parameter.
1677
1678 Thu Feb 12 21:58:20 2004  Owen Taylor  <otaylor@redhat.com>
1679
1680         Various reentrancy fixes for widgets being destroyed
1681         out of focus-out-event. (#128821, Grant Gayed)
1682
1683         * gtk/gtkwindow.c (_gtk_window_unset_focus_and_default): 
1684         Ref window and widget over callbacks.
1685
1686         * gtk/gtkwidget.c (gtk_widget_hide)
1687           gtk/gtkwidget.c (gtk_widget_set_child_visible):
1688         Ref the widget before calling _gtk_window_unset_focus_and_default(),
1689         since that can call user callbacks.
1690
1691         * gtk/gtkwidget.c (gtk_widget_invalidate_widget_windows):
1692         Do nothing if the widget isn't realized.
1693
1694 Fri Feb 13 01:31:44 2004  Matthias Clasen  <maclas@gmx.de>
1695
1696         * gtk/gtkbutton.c (_gtk_button_paint): Don't draw bevels around
1697         active, RELIEF_NONE buttons that aren't depressed. This improves
1698         the appearance of buttons in notebook tabs.  (#109213, reported
1699         by Benjamin Otte, patch by Rodney Dawes)
1700
1701 Fri Feb 13 01:06:08 2004  Matthias Clasen  <maclas@gmx.de>
1702
1703         * demos/gtk-demo/main.c (read_line): Protect getc_unlocked() by 
1704         HAVE_FLOCKFILE in all cases.  (#134205, Julio M. Merino Vidal)
1705
1706 Fri Feb 13 00:54:59 2004  Matthias Clasen  <maclas@gmx.de>
1707
1708         Fix for #104811, Padraig O'Briain:
1709
1710         * gtk/gtkscale.h:
1711         * gtk/gtkscale.c (_gtk_scale_clear_layout): 
1712         * gtk/gtkscale.c (gtk_scale_get_layout_offsets): 
1713         * gtk/gtkscale.c (gtk_scale_get_layout): New functions to determine the
1714         text and its position from a GtkScale, to make it more accessible. 
1715         * gtk/gtkhscale.c (gtk_hscale_get_layout_offsets):
1716         * gtk/gtkvscale.c (gtk_vscale_get_layout_offsets): Implementations of the 
1717         new GtkScale vfunc.
1718
1719 Thu Feb 12 17:59:52 2004  Owen Taylor  <otaylor@redhat.com>
1720
1721         * gtk/gtkicontheme.c (gtk_icon_theme_get_search_path): 
1722         Remove an extraneous + 1 (#134015, Torsten Schoenfeld)
1723
1724 Thu Feb 12 23:55:08 2004  Matthias Clasen  <maclas@gmx.de>
1725
1726         * gtk/gtktooltips.h:
1727         * gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window): New 
1728         function to improve the accessibility of tooltips.  (#114851, 
1729         Padraig O'Briain)
1730
1731 Thu Feb 12 23:16:04 2004  Matthias Clasen  <maclas@gmx.de>
1732
1733         * gtk/gtkcombobox.c (gtk_combo_box_popup): 
1734         * gtk/gtkcombobox.c (gtk_combo_box_popdown): Make these public and
1735         add docs.  (#132847)
1736
1737 Thu Feb 12 11:05:16 2004  Manish Singh  <yosh@gimp.org>
1738
1739         * gdk/x11/gdkproperty-x11.c (gdk_property_get): Assign xtype using
1740         gdk_x11_atom_to_xatom_for_display () when type != GDK_NONE.
1741
1742         * gtk/gtkselection.c (_gtk_selection_request): Use GDK_NONE in
1743         gdk_property_get call instead of 0.
1744
1745         * docs/reference/gdk/tmpl/properties.sgml: Document the above
1746         as GDK_NONE instead of simply 0.
1747
1748 Thu Feb 12 15:46:26 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
1749
1750         * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Fix up item_area
1751         correctly in RTL mode. (#133984, patch from Semion Chichelnitsky).
1752
1753 Thu Feb 12 02:22:02 2004  Matthias Clasen  <maclas@gmx.de>
1754
1755         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_modify_func): 
1756         Correct the docs.
1757
1758 Thu Feb 12 01:17:01 2004  Matthias Clasen  <maclas@gmx.de>
1759
1760         * gtk/gtktreeview.c (gtk_tree_view_enable_model_drag_source): Call
1761         gtk_drag_source_set(), so that things like gtk_drag_set_icon_*() work
1762         for automatic DND.  (#133485, Tommi Komulainen)
1763
1764 Thu Feb 12 00:37:00 2004  Matthias Clasen  <maclas@gmx.de>
1765
1766         * gdk/x11/gdkproperty-x11.c (gdk_property_change): Fix misleading
1767         debug output.
1768
1769 2004-02-11  Federico Mena Quintero  <federico@ximian.com>
1770
1771         * gtk/gtkmessagedialog.c (gtk_message_dialog_map): New ::map()
1772         handler.  If no widget has the focus, try to give it to the
1773         default widget.  If there is no default widget, give it to the
1774         first button.  Fixes the cause for which #59707 was reopened.
1775
1776 2004-02-11  Federico Mena Quintero  <federico@ximian.com>
1777
1778         Fixes #134051.
1779
1780         * gtk/gtkicontheme.c (struct _GtkIconInfo): Remove the ref_count field.
1781         (icon_info_new): Don't initialize the ref_count field.
1782
1783 2004-02-11  Federico Mena Quintero  <federico@ximian.com>
1784
1785         * gtk/gtkicontheme.c (gtk_icon_theme_prepend_search_path): Shift
1786         the array correctly.  Fixes #134055, patch by Tosten Schoenfeld
1787         <kaffeetisch@gmx.de>.
1788
1789 Wed Feb 11 02:23:39 2004  Matthias Clasen  <maclas@gmx.de>
1790
1791         * gtk/gtkcontainer.c (gtk_container_real_set_focus_child): Handle
1792         focus [hv]adjustment correctly when the focus is located deeper
1793         down in the hierarchy.  (#133489)
1794
1795 Wed Feb 11 02:06:38 2004  Matthias Clasen  <maclas@gmx.de>
1796
1797         * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): Remove 
1798         arbitrary low upper limits on the xpad, ypad, width and height
1799         properties.  (#129696, John Ellis)
1800
1801 Wed Feb 11 01:24:20 2004  Matthias Clasen  <maclas@gmx.de>
1802
1803         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_clear_attributes): 
1804         Ugh. Don't try to free ints, even if they're stored in pointers.
1805         (#133997, Morten Welinder)
1806
1807 2004-02-10  Federico Mena Quintero  <federico@ximian.com>
1808
1809         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
1810         Free the filters.  Fixes #133547, patch by Morten Welinder
1811         <mortenw@gnome.org>.
1812
1813 Tue Feb 10 12:02:14 2004  Owen Taylor  <otaylor@redhat.com>
1814
1815         * gdk/x11/xsettings-client.c (read_settings): Avoid
1816         triggering an X error when the client->manager_window
1817         is None...makes logs look cleaner.
1818
1819         * gdk/x11/gdkproperty-x11.c (gdk_property_get): Handle
1820         GDK_NONE to mean AnyPropertyType as documented. (Reported 
1821         by Yu Shao)
1822
1823         * gdk/x11/gdkevents-x11.c (fetch_net_wm_check_window,
1824         gdk_x11_screen_get_window_manager_name): Fix error trap
1825         we've been leaking since 2002... (#129538)
1826
1827 2004-02-10  Federico Mena Quintero  <federico@ximian.com>
1828
1829         Fixes the entry-related part of #133852.
1830
1831         * gtk/gtkfilechooserdefault.c (update_chooser_entry): Don't change
1832         the file part of the entry if the selected item is a folder.
1833
1834 2004-02-10  Federico Mena Quintero  <federico@ximian.com>
1835
1836         Fixes #133995, patch by Morten Welinder <mortenw@gnome.org>.
1837
1838         * tests/prop-editor.c (create_prop_editor): Free the title.
1839         (object_changed): Free the children list.
1840
1841 Tue Feb 10 01:58:55 2004  Matthias Clasen  <maclas@gmx.de>
1842
1843         * gtk/gtkcontainer.c (gtk_container_set_focus_hadjustment): 
1844         * gtk/gtkcontainer.c (gtk_container_set_focus_vadjustment): Document 
1845         these functions.
1846
1847 2004-02-09  Federico Mena Quintero  <federico@ximian.com>
1848
1849         * gtk/gtkfilechooserdefault.c (set_list_model): Request
1850         GTK_FILE_INFO_ALL from the file system model, so that arbitrary
1851         filtering will work.  Perhaps we should have a way of aggregating
1852         info types to the model as filters get installed.
1853
1854 Mon Feb  9 22:22:19 2004  Matthias Clasen  <maclas@gmx.de>
1855
1856         * gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear_attributes): 
1857         Ugh. Don't try to free ints, even if they're stored in pointers.
1858
1859 2004-02-09  Federico Mena Quintero  <federico@ximian.com>
1860
1861         Fix #132256.
1862
1863         * gtk/gtkfilechooserdefault.c
1864         (gtk_file_chooser_default_get_paths): Read the contents of the
1865         filename entry in both OPEN and SAVE mode.  In multiple-selection
1866         mode, add this to the selection from the file/folder list.
1867         (struct get_paths_closure): Add a path_from_entry field.
1868         (get_paths_foreach): Only add the iterated path if it is not the
1869         same as the path from the entry.
1870
1871 2004-02-09  Federico Mena Quintero  <federico@ximian.com>
1872
1873         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): If
1874         the folder is already open, add the requested info types to it.
1875
1876 Sun Feb  8 01:28:02 2004  Manish Singh  <yosh@gimp.org>
1877
1878         * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Add appropriate
1879         type casts for the gtk_window_set_screen() call.
1880
1881 Sun Feb  8 01:44:06 2004  Matthias Clasen  <maclas@gmx.de>
1882
1883         * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Make popups 
1884         come up on the same screen as the combo box.  (#133544, 
1885         Morten Welinder)
1886
1887 Fri Feb  6 23:40:24 2004  Jonathan Blandford  <jrb@gnome.org>
1888
1889         * gtk/gtkfilechooserdefault.c (create_file_list): clean up the
1890         packing of the file selector.
1891
1892 Sat Feb  7 01:21:09 2004  Matthias Clasen  <maclas@gmx.de>
1893
1894         * gtk/gtktreemodel.c (gtk_tree_model_base_init): Don't use function 
1895         calls in array initializers, as some compilers seem to hate this.
1896         (#133216, Jonas Jonsson)
1897
1898 Sat Feb  7 00:06:44 2004  Matthias Clasen  <maclas@gmx.de>
1899
1900         * gtk/gtkaccelmap.[hc]: Add change notification for GtkAccelMap,
1901         by on-demand instantiating a singleton object with a "changed" 
1902         signal. 
1903
1904         * gtk/gtkmarshalers.list (VOID:STRING,UINT,FLAGS): Add marshaller
1905         for GtkAccelMap::changed.
1906
1907 Fri Feb  6 23:08:29 2004  Matthias Clasen  <maclas@gmx.de>
1908
1909         * gtk/gtktextbtree.c (_gtk_text_btree_check): 
1910         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_clear_attributes): 
1911         * gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear_attributes): 
1912         Actually free the lists. Pointed out by Morten Welinder.
1913         
1914 Fri Feb  6 22:38:54 2004  Matthias Clasen  <maclas@gmx.de>
1915
1916         * gtk/gtkcombo.c (gtk_combo_entry_key_press): Handle character 
1917         positions in UTF-8 strings correctly.  (#133315, Theppitak 
1918         Karoonboonyanan)
1919
1920 2004-02-06  Morten Welinder  <terra@gnome.org>
1921
1922         * gtk/gtktoolbar.c (show_menu): Cleanup using
1923         gtk_menu_attach_to_widget.  Also fixes leak, see #133411.
1924
1925 2004-02-06  Federico Mena Quintero  <federico@ximian.com>
1926
1927         * gtk/gtkfilechooserdefault.c (shortcuts_add_volumes): Free the
1928         list.  Fixes #133546.
1929
1930 2004-02-06  Federico Mena Quintero  <federico@ximian.com>
1931
1932         Fix #132327.
1933
1934         * gtk/gtkfilesystemunix.c (struct _GtkFileSystemUnix): Add a
1935         folder_hash field to keep a list of live folder objects.
1936         (gtk_file_system_unix_init): Create the folder_hash.
1937         (gtk_file_system_unix_finalize): Destroy the folder_hash.
1938         (gtk_file_system_unix_get_folder): Ref and return an existing
1939         folder if we have it around, otherwise return a new folder object.
1940         (struct _GtkFileFolderUnix): Add a field for the parent file system.
1941         (gtk_file_folder_unix_finalize): Remove the folder from the file
1942         system's hash table.
1943         (gtk_file_system_unix_create_folder):  Emit "files-added" on the
1944         newly-created folder's parent.  Fixes #132327.
1945
1946 Fri Feb  6 00:51:57 2004  Matthias Clasen  <maclas@gmx.de>
1947
1948         * gtk/gtkstock.c (builtin_items): Change the labels of the 
1949         ZOOM_100 and ZOOM_FIT stock items to "_Normal Size" and
1950         "Best _Fit", to be HIG compliant.  (#124080, Mariano 
1951         Suárez-Alvarez)
1952
1953 Fri Feb  6 00:45:16 2004  Matthias Clasen  <maclas@gmx.de>
1954
1955         * gtk/gtkcombobox.c (gtk_combo_box_finalize): Add a finalize 
1956         function to plug a few memory leaks.  (#133544, Morten Welinder)
1957
1958 Fri Feb  6 00:15:38 2004  Matthias Clasen  <maclas@gmx.de>
1959
1960         * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_mnemonic_activate): 
1961         Support mnemonic_activate here as well.
1962         
1963         * gtk/gtkcombobox.c (gtk_combo_box_mnemonic_activate): Focus
1964         the button, not the tree_view.
1965
1966 Thu Feb  5 23:48:19 2004  Matthias Clasen  <maclas@gmx.de>
1967
1968         * gtk/gtkcombobox.c (gtk_combo_box_mnemonic_activate): Add this
1969         function, to make mnemonic_activate work for combo boxes.
1970         (#133443, Paolo Borelli)
1971
1972 Thu Feb  5 22:05:52 2004  Matthias Clasen  <maclas@gmx.de>
1973
1974         * gtk/gtkfilesystemunix.c (bookmark_list_read): Initialize result
1975         to FALSE.  (#133539, Morten Welinder)
1976
1977 Thu Feb  5 21:36:43 2004  Matthias Clasen  <maclas@gmx.de>
1978
1979         * gtk/gtkcombobox.c (gtk_combo_box_set_active_iter): Fix the logic
1980         of the depth one check.  (#133488, Christian Persch)
1981
1982 Thu Feb  5 01:50:19 2004  Matthias Clasen  <maclas@gmx.de>
1983
1984         * gtk/gtktearoffmenuitem.c (gtk_tearoff_menu_item_paint): Fix
1985         the drawing of tearoff menu items which don't come first in their
1986         menu.  (#33311)
1987
1988 Thu Feb  5 00:59:08 2004  Matthias Clasen  <maclas@gmx.de>
1989
1990         * gtk/gtkcombo.c (gtk_combo_entry_key_press): Use 
1991         g_completion_complete_utf8(). (#133313, Theppitak Karoonboonyanan)
1992
1993 2004-02-04  Federico Mena Quintero  <federico@ximian.com>
1994
1995         Fix #59707.
1996
1997         * gtk/gtklabel.c (gtk_label_focus): Removed, so we don't ignore
1998         the focus chain.
1999         (gtk_label_button_press): Fix prototype.
2000         (gtk_label_button_release): Likewise.
2001         (gtk_label_motion): Likewise.
2002
2003         * tests/testgtk.c (create_message_dialog): For the dialog with
2004         only GTK_BUTTONS_CLOSE, make GTK_RESPONSE_CLOSE the default.
2005
2006 2004-02-04  Morten Welinder  <terra@gnome.org>
2007
2008         * gtk/gtktoolbar.c (show_menu): Show on the right screen.  (Fixes
2009         bug 133411, apart from the leak.)
2010
2011 Tue Feb  3 13:39:27 2004  Manish Singh  <yosh@gimp.org>
2012
2013         * gtk/gtkadjustment.c (gtk_adjustment_new): pass value in last
2014         in g_object_new, since it depends on lower and upper being set.
2015
2016 2004-02-03  Federico Mena Quintero  <federico@ximian.com>
2017
2018         * gtk/gtkmessagedialog.c (gtk_message_dialog_init): Make the
2019         window not resizable.  Fixes #114032.
2020
2021 2004-02-03  Federico Mena Quintero  <federico@ximian.com>
2022
2023         * gtk/gtkmessagedialog.c (gtk_message_dialog_class_init): Add
2024         documentation for the use_separator style property.
2025
2026 2004-02-03  Federico Mena Quintero  <federico@ximian.com>
2027
2028         Fix #68938.
2029
2030         * gtk/gtkdialog.c (GtkDialogPrivate): New private structure for
2031         GtkDialog; right now it only contains an ignore_separator field.
2032         (gtk_dialog_class_init): Register the private structure.
2033         (gtk_dialog_init): Initialize the priv->ignore_separator field.
2034         (_gtk_dialog_set_ignore_separator): New private function.
2035         (gtk_dialog_set_has_separator): Ignore the setting if appropriate.
2036
2037         * gtk/gtkmessagedialog.c (gtk_message_dialog_class_init): Add a
2038         use_separator style property.
2039         (gtk_message_dialog_style_set): Change the dialog's separator
2040         based on the style property.
2041         (gtk_message_dialog_init): Set the dialog box to ignore the
2042         separator setting.
2043
2044 Tue Feb  3 02:35:09 2004  Matthias Clasen  <maclas@gmx.de>
2045
2046         * gtk/Makefile.am: Build filesystemwin32.c if OS_WIN32 and
2047         also dist gtkfilesystemwin32.[hc].
2048
2049 Tue Feb  3 02:04:44 2004  Matthias Clasen  <maclas@gmx.de>
2050
2051         * gtk/gtklabel.c (gtk_label_ensure_layout): Right-justify labels
2052         in rtl mode.  (#129071, chinen@jp.ibm.com)
2053
2054 Tue Feb  3 02:01:25 2004  Matthias Clasen  <maclas@gmx.de>
2055
2056         * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): Exchange the
2057         meaning GTK_MENU_DIR_PARENT/CHILD and GTK_MENU_DIR_PREV/NEXT in rtl
2058         mode.  (#107528)
2059
2060 Tue Feb  3 01:38:06 2004  Matthias Clasen  <maclas@gmx.de>
2061
2062         Clip narrow columns in rtl-oriented tree views (#128089,  
2063         chinen@jp.ibm.com):
2064         
2065         * gtk/gtkstyle.c (gtk_default_draw_option): 
2066         * gtk/gtkstyle.c (gtk_default_draw_check): Clip to the 
2067         given area.
2068
2069         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action): 
2070         Use the right clip area when calling gtk_cell_renderer_render().
2071         * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_cell_draw_focus): 
2072         Use the right clip area when calling gtk_paint_focus().
2073         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): 
2074         Use the right clip area when calling gtk_paint_toggle() or
2075         gtk_paint_check().
2076         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): 
2077         Clip to the expose_area when drawing the background rectangle.
2078         
2079 Tue Feb  3 00:14:36 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2080
2081         * gdk/x11/gdkgeometry-x11.c (queue_item_free, gdk_window_queue):
2082         Use a weak reference instead of ref()/unref(). (#60857, reported
2083         by Joshua N Pritikin)
2084
2085         * gdk/gdkimage.c (scratch_image_info_for_depth): Formatting fix.
2086
2087 Tue Feb  3 00:15:17 2004  Matthias Clasen  <maclas@gmx.de>
2088
2089         * gtk/gtktreeprivate.h (struct _GtkTreeViewPrivate): Add 
2090         init_hadjust_value and prev_width.
2091         * gtk/gtktreeview.c (gtk_tree_view_init): Initialize 
2092         them here.
2093         * gtk/gtktreeview.c (gtk_tree_view_update_size): ...and here.
2094         * gtk/gtktreeview.c (gtk_tree_view_size_allocate): Use them
2095         here to properly handle the initial position of rtl-oriented
2096         tree views.  (#127581, chinen@jp.ibm.com)
2097
2098 2004-01-20  Federico Mena Quintero  <federico@ximian.com>
2099
2100         Fix #130846, reported by R. McFarland <rwmcfa1@neces.com>.
2101
2102         * gtk/gtktreeview.c (gtk_tree_view_button_press): Return TRUE when
2103         we handle an event in the colums, and FALSE at the end if the
2104         event is not handled at all.
2105
2106 Mon Feb  2 23:41:48 2004  Matthias Clasen  <maclas@gmx.de>
2107
2108         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed): 
2109         Don't access the level after removing the node, since that may
2110         kill the level.  (#132615, Crispin Flowerday)
2111
2112 2004-02-02  Tor Lillqvist  <tml@iki.fi>
2113
2114         * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Set the cursor
2115         in all cases. If no grab cursor specified, use the grabbing
2116         window's cursor. If the grabbing window has no cursor, use the
2117         default arrow cursor. (#118025)
2118
2119 Mon Feb  2 22:05:36 2004  Matthias Clasen  <maclas@gmx.de>
2120
2121         * gtk/gtkseparatormenuitem.c (gtk_separator_menu_item_init): The
2122         latest in menu separation technology.
2123
2124 Mon Feb  2 19:04:17 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2125
2126         * gdk/x11/gdkwindow-x11.c: Assume gravity works. (Anything else
2127         we have to take our chances with).
2128         
2129         (Bug 97510)
2130
2131 Mon Feb  2 18:45:28 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2132
2133         Fix bug 110224.
2134
2135         * gdk/x11/gdkfont-x11.c (gdk_font_from_description_for_display):
2136         Remove unused variable 'result'
2137
2138         * gdk/x11/xsettings-client.[ch]: Add new set_grab/ungrab_func() functions.
2139
2140         * gdk/x11/gdkevents-x11.c (_gdk_x11_events_init_screen): Use them
2141         here.
2142
2143 Mon Feb  2 14:32:32 2004  Pablo Saratxaga  <pablo@mandrakesoft.com>
2144
2145         * configure.in po/uz*.po: changed default for Uzbek; now just "uz"
2146         is in cyrillic and "uz@Latn" for latin; "uz@Cyrl" has been removed
2147
2148 Sun Feb  1 16:34:07 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2149
2150         * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Only start
2151         sliding when using the new API.
2152
2153 Sun Feb  1 16:03:39 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2154
2155         * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Make sure
2156         item_area is positioned correctly. Fix #133070, reported by Jeroen
2157         Zwartepoorte.
2158
2159 Sat Jan 31 23:13:43 2004  Matthias Clasen  <maclas@gmx.de>
2160
2161         * gtk/gtktextchild.c (gtk_text_child_anchor_finalize): Don't
2162         crash when finalizing an unused GtkTextChildAnchor.  (#132260,
2163         muppet)
2164
2165 Sat Jan 31 22:41:57 2004  Matthias Clasen  <maclas@gmx.de>
2166
2167         * gtk/gtktreemodel.c (gtk_tree_model_rows_reordered): Correct
2168         the documentation for new_order.  (#124790, Tim-Philipp Müller)
2169
2170 Sat Jan 31 22:38:07 2004  Matthias Clasen  <maclas@gmx.de>
2171
2172         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_fixed_width): 
2173         Reset use_resized_width when setting fixed_width.  (#108612, 
2174         Felipe Heidrich) 
2175
2176 Sat Jan 31 16:27:44 2004  Matthias Clasen  <maclas@gmx.de>
2177
2178         * gtk/gtkmain.c (gtk_key_snooper_remove): Don't leak the
2179         GtkKeySnooperData.  (#132038, R. McFarland)
2180
2181 2004-01-30  Federico Mena Quintero  <federico@ximian.com>
2182
2183         Fixes #132975.
2184
2185         * gtk/gtkfilesystem.c (gtk_file_system_make_path): Return NULL,
2186         not FALSE.
2187         (gtk_file_system_volume_render_icon): Likewise.
2188
2189         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
2190         Likewise.
2191
2192         * gtk/gtktreestore.c (gtk_tree_store_iter_n_children): Return 0,
2193         not FALSE.
2194
2195         * gtk/gtktoolbar.c (gtk_toolbar_get_drop_index): Return -1, not
2196         FALSE.
2197
2198         * gtk/gtktextiter.c (gtk_text_iter_get_chars_in_line): Return 0,
2199         not FALSE.
2200         (gtk_text_iter_get_bytes_in_line): Likewise.
2201
2202         * gdk/x11/gdkcursor-x11.c (gdk_display_get_default_cursor_size):
2203         Likewise.
2204
2205         * gdk/linux-fb/gdkcolor-fb.c (gdk_colors_alloc): Return FALSE, not
2206         0.
2207
2208 2004-01-30  Not Zed  <NotZed@Ximian.com>
2209
2210         Fixes #132929.
2211
2212         * gtk/gtktreeview.c (cancel_arrow_animation): remove the timeout
2213         handler when we clear the timeout id.
2214
2215 2004-01-30  Federico Mena Quintero  <federico@ximian.com>
2216
2217         Fix #129872, based on a patch by Jan Arne Petersen
2218         <jpetersen@uni-bonn.de>
2219
2220         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_list_bookmarks):
2221         Implement.
2222         (gtk_file_system_unix_add_bookmark): Implement.
2223         (gtk_file_system_unix_remove_bookmark): Implement.
2224
2225 2004-01-29  Federico Mena Quintero  <federico@ximian.com>
2226
2227         Fixes #132693.
2228
2229         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_parent): Don't
2230         use filename_from_path().  Also, check that the filename is
2231         absolute.
2232         (gtk_file_system_unix_get_folder): Likewise.
2233         (gtk_file_system_unix_create_folder): Likewise.
2234         (gtk_file_system_unix_make_path): Likewise.
2235         (gtk_file_system_unix_parse): Likewise.
2236         (gtk_file_folder_unix_get_info): Likewise.
2237         (filename_from_path): Removed.
2238
2239 2004-01-30  Federico Mena Quintero  <federico@ximian.com>
2240
2241         * gtk/gtkcalendar.c (arrow_action): Remove C++ comment; reported
2242         by Damien Carbery <damien.carbery@sun.com>.  Fixes #132956.
2243
2244 Fri Jan 30 11:37:37 2004  Owen Taylor  <otaylor@redhat.com>
2245
2246         * gdk/x11/gdkdrawable-x11.c: Revert changes from
2247         #113476 and go back to using XftDrawSetClip, because
2248         XftDrawSetClipRectangles is buggy in XFree86-4.3.
2249
2250 Thu Jan 29 18:08:06 2004  Owen Taylor  <otaylor@redhat.com>
2251
2252         * gtk/gtktextlayout.c (line_display_iter_to_index)
2253         * gtk/gtktextlayout.c (line_display_index_to_iter): Only
2254         adjust the preedit position for lines that include the
2255         preedit string. (#132353, Yao Zhang). How the heck
2256         did this work as well as it did?!?!
2257
2258         * modules/input/gtkimcontextxim.c (gtk_im_context_xim_get_ic): 
2259         Reverse change to change of XNFilterEvents event mask from
2260         #110493 -- it's documented and in the Xlib code an
2261         unsigned long. 
2262         
2263         * modules/input/gtkimcontextxim.c (preedit_start_callback): 
2264         Return -1 rather than void to indicate no length limit.
2265         (#129548)
2266
2267 Fri Jan 30 00:45:46 2004  Matthias Clasen  <maclas@gmx.de>
2268
2269         * gtk/gtkadjustment.c: Add properties to GtkAdjustment.
2270         (#64601, Murray Cumming)
2271
2272 Fri Jan 30 00:13:46 2004  Matthias Clasen  <maclas@gmx.de>
2273
2274         * gtk/gtkcombo.c (gtk_combo_set_popdown_strings): Allow NULL
2275         for strings to clear the list.  (#105386, Marco Pesenti Gritti)
2276         
2277 2004-01-28  Richard Hult  <richard@imendio.com>
2278
2279         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size):
2280         Free font_desc.  Fixes #132805.
2281
2282 2004-01-29  Federico Mena Quintero  <federico@ximian.com>
2283
2284         * gtk/gtkiconfactory.c (render_icon_name_pixbuf): Free the GError.
2285         Patch provided by Christian Persch <chpe@stud.uni-saarland.de>
2286         Fixes #132574.
2287
2288 Thu Jan 29 11:00:18 2004  Owen Taylor  <otaylor@redhat.com>
2289
2290         * gtk/gtkselection.c (gtk_selection_default_handler): 
2291         nul-terminate the target atoms. (#132656, Christian Persch)
2292
2293 Thu Jan 29 00:59:03 2004  Matthias Clasen  <maclas@gmx.de>
2294
2295         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_rows_reordered):
2296         Don't leak path if we bail out early.  (#132505, Christian Persch)
2297
2298 Thu Jan 29 00:48:47 2004  Matthias Clasen  <maclas@gmx.de>
2299
2300         * gtk/gtkactiongroup.c (gtk_action_group_add_toggle_actions_full):
2301         * gtk/gtkactiongroup.c (gtk_action_group_add_actions_full): Do
2302         reference counting on the user_data that is shared between
2303         multiple signal handlers, to avoid calling the destroy notify
2304         multiple times.  (#132447, Adam Hooper)
2305
2306 2004-01-28  Hans Breuer  <hans@breuer.org>
2307
2308         * gtk/stock-icons/stock_network_(16|24).png : new GTK_STOCK_NETWORK ...
2309           gtk/gtkstock.[hc] : ... define ...
2310           gtk/gtkiconfactory.c : ... register ...
2311           gtk/stock-icons/Makefile.am gtk/stock-icons/makefile.msc : ... compile ...
2312         * gtk/gtkfilesystemwin32.c : ... and use. Also adapt to recent 
2313         IFace changes.
2314
2315         * gtk/gtk.def : added a bunch of new exported symbols
2316
2317         * tests/testfilechooser.c (no_backup_files_filter) : don't crash
2318         on filter_info->display_name being NULL
2319
2320         * tests/testgtk.c : make testgtk --bench=all work again
2321
2322 Wed Jan 28 21:40:47 2004  Matthias Clasen  <maclas@gmx.de>
2323
2324         * gtk/gtkentrycompletion.c (gtk_entry_completion_action_data_func):
2325         Don't leak string.  (#132482, Christian Persch)
2326
2327 Tue Jan 27 18:45:47 2004  Manish Singh  <yosh@gimp.org>
2328
2329         * m4macros/gtk-2.0.m4: quote AC_DEFUN macro names so automake
2330         1.8 won't whine at us.
2331
2332 2004-01-28  Tor Lillqvist  <tml@iki.fi>
2333
2334         * gdk/win32/gdkevents-win32.c (synthesize_leave_event,
2335         synthesize_enter_event): Don' generate enter or leave events if
2336         the pointer is grabbed with owner_events off, and the grab event
2337         mask doesn't ask for them. (#129242)
2338
2339         (gdk_event_translate): Ditto for focus change events.
2340
2341 2004-01-27  Federico Mena Quintero  <federico@ximian.com>
2342
2343         Fix #132314.
2344
2345         * gtk/gtkfilesystem.h: Removed the #ifdef-ed out, old icon API.
2346
2347         * gtk/gtkfilesystem.c: Likewise.
2348
2349         * gtk/gtkfilesystemunix.c (filename_get_info): Removed the old
2350         icon-type code.
2351         (gtk_file_system_unix_render_icon): Moved the icon-rendering code
2352         from GtkFileInfo to here.
2353         (gtk_file_system_unix_volume_render_icon): Implement.
2354
2355 2004-01-28  Changwoo Ryu  <cwryu@debian.org>
2356
2357         * modules/input/imhangul-defs.h: 
2358         * modules/input/imhangul.c:
2359         * modules/input/Makefile.am: Remove broken hangul input module.
2360         
2361 Tue Jan 27 01:56:46 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2362
2363         * gtk/gtktoolbar.c: Remove obsolete comment.
2364
2365         * gtk/gtktoolbar.c (DEFAULT_SPACE_SIZE, SPACE_LINE_START, 
2366         SPACE_LINE_END): Make separators wider and taller, so they are
2367         easier to pick up when editing the toolbar.
2368
2369         * gtk/gtktoolbar.c (slide_idle_handler): Add a comment, simplify
2370         a bit, 
2371
2372         * gtk/gtktoolbar.c (rect_within): Formatting fix
2373
2374         * gtk/gtktoolbar.c (gtk_toolbar_set_drop_highlight_item): Make
2375         sliding feel more responsive by only restarting sliding when the
2376         placeholder actually changes its goal allocation.
2377
2378 Tue Jan 27 02:00:37 2004  Matthias Clasen  <maclas@gmx.de>
2379
2380         * gtk/gtktreeitem.c (gtk_tree_item_add_pixmaps): Avoid a 
2381         compiler warning.  (#122725, Kjartan Maraas)
2382         
2383 Tue Jan 27 01:46:54 2004  Matthias Clasen  <maclas@gmx.de>
2384
2385         Make menus work better on Xinerama (#126150):
2386         
2387         * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Calculate the 
2388         monitor_num on the screen of the menu, not of the attach widget.
2389
2390         * gtk/gtkmenu.c (menu_change_screen): Forget the stored monitor_num. 
2391         (gtk_menu_window_size_request): Remember the monitor_num.
2392
2393 2004-01-26  Federico Mena Quintero  <federico@ximian.com>
2394
2395         Fix #105497; constify uses of GdkColor.
2396
2397         * gdk/gdkgc.c (gdk_gc_set_rgb_fg_color): Constify.
2398         (gdk_gc_set_rgb_bg_color): Constify.
2399         (gdk_gc_set_foreground): Constify.
2400
2401         * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): Constify.
2402         * gdk/win32/gdkcursor-win32.c (gdk_cursor_new_from_pixmap): Constify.
2403         * gdk/linux-fb/gdkcursor-fb.c (gdk_cursor_new_from_pixmap): Constify.
2404
2405         * gdk/x11/gdkpixmap-x11.c (gdk_pixmap_create_from_data): Constify.
2406         * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_create_from_data): Constify.
2407         * gdk/linux-fb/gdkpixmap-fb.c (gdk_pixmap_create_from_data): Constify.
2408
2409         * gdk/x11/gdkwindow-x11.c (gdk_window_set_background): Constify.
2410         * gdk/win32/gdkwindow-win32.c (gdk_window_set_background): Constify.
2411         * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_background): Constify.
2412
2413         * gdk/gdkpango.c (gdk_draw_layout_line_with_colors): Constify.
2414         (gdk_draw_layout_with_colors): Constify.
2415
2416         * gdk/gdkpixmap.c (gdk_pixmap_colormap_new_from_pixbuf): Constify.
2417         (gdk_pixmap_colormap_create_from_xpm): Constify.
2418         (gdk_pixmap_create_from_xpm): Constify.
2419         (gdk_pixmap_colormap_create_from_xpm_d): Constify.
2420         (gdk_pixmap_create_from_xpm_d): Constify.
2421
2422         * gtk/gtkcellview.c (gtk_cell_view_set_background_color): Constify.
2423
2424         * gtk/gtkclist.c (gtk_clist_set_foreground): Constify.
2425         (gtk_clist_set_background): Constify.
2426
2427         * gtk/gtkcolorbutton.c (gtk_color_button_new_with_color): Constify.
2428         (gtk_color_button_set_color): Constify.
2429
2430         * gtk/gtkcolorsel.c (gtk_color_selection_set_current_color):
2431         Constify and add a check for color != NULL.
2432         (gtk_color_selection_get_current_color): Add a check for color != NULL.
2433         (gtk_color_selection_set_previous_color): Constify and add a check
2434         for color != NULL.
2435         (gtk_color_selection_get_previous_color): Add a check for color != NULL.
2436
2437         * gtk/gtkctree.c (gtk_ctree_node_set_foreground): Constify.
2438         (gtk_ctree_node_set_background): Constify.
2439
2440         * gtk/gtktext.c (gtk_text_insert): Constify.
2441         (insert_text_property): Constify.
2442         (text_properties_equal): Constify.
2443         (new_text_property): Constify.
2444
2445         * gtk/gtkwidget.c (gtk_widget_modify_color_component): Constify.
2446         (gtk_widget_modify_fg): Constify.
2447         (gtk_widget_modify_bg): Constify.
2448         (gtk_widget_modify_text): Constify.
2449         (gtk_widget_modify_base): Constify.
2450
2451 2004-01-26  Christian Rose  <menthos@menthos.com>
2452
2453         * configure.in: Added "mi" to ALL_LINGUAS.
2454
2455 2004-01-25  Tor Lillqvist  <tml@iki.fi>
2456
2457         * gdk/win32/gdkproperty-win32.c (gdk_property_delete): If the
2458         WM_TRANSIENT_FOR property is being deleted, set the owner of the
2459         window to the root window (i.e., effectively unset it). (#132411)
2460
2461         * gdk/win32/gdkprivate-win32.h
2462         * gdk/win32/gdkglobals-win32.c
2463         * gdk/win32/gdkmain-win32.c: Declare, define and initialize
2464         _wm_transient_for, a GdkAtom for WM_TRANSIENT_FOR.
2465
2466         * acconfig.h: Remove HAVE_WINSOCK_H, not used any longer.
2467
2468 Sun Jan 25 15:14:46 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2469
2470         * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Base the decision
2471         to map/unmap items on whether they are actually allocated outside
2472         the toolbar, not on whether that will eventually happen. Improves
2473         animation in the presence of overflown items.
2474
2475         * gtk/gtktoolbar.c (gtk_toolbar_begin_sliding): Add a
2476         queue_resize() to so that the items will get their new goal
2477         values and the idle handler will not immediately return FALSE.
2478
2479         * gtk/gtktoolbar.c (slide_idle_handler): simplify the logic and
2480         make sure that a placeholder becoming invisible doesn't cause a
2481         return TRUE.
2482
2483         * gtk/gtktoolbar.c (get_item_size): Don't special case
2484         placeholders here.
2485
2486 Sat Jan 24 23:17:27 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2487
2488         * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): Only
2489         try to pack icon if there actually is one.
2490
2491         * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Make sure
2492         OVERFLOWN items get an allocation even when they are
2493         unmapped. This ensures they will slide in properly.
2494
2495         * gtk/gtktoolbar.c (slide_idle_handler): Make sure we return TRUE
2496         when there are overflown items that need to slide in. Also add
2497         comments and make formatting more readable.
2498
2499 Sat Jan 24 17:38:48 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2500
2501         * gtk/gtkradiotoolbutton.c (gtk_radio_tool_button_class_init):
2502         Add a write-only property ::group to be consistent with
2503         GtkRadioAction and GtkRadioButton. (#132159, Patch from Olivier
2504         Andrieu)
2505
2506 Fri Jan 23 23:46:12 2004  Matthias Clasen  <maclas@gmx.de>
2507
2508         * gtk/gtkfontbutton.c (gtk_font_button_label_use_font): Don't leak the 
2509         font description.  (#132168)
2510
2511 2004-01-23  Federico Mena Quintero  <federico@ximian.com>
2512
2513         Fix #132247.
2514
2515         * gtk/gtkfilechooserdefault.c (set_select_multiple): Handle folder
2516         mode.
2517         (set_select_multiple): Optionally notify about changes to the
2518         select-multiple property.
2519         (list_selection_changed): Change the condition for the editable row to
2520         test for save mode; this is more clear than testing for not being
2521         in multiple selection mode.
2522         (gtk_file_chooser_default_get_paths): Get impl->action directly
2523         rather than calling gtk_file_chooser_get_action().
2524         (entry_activate): Likewise.
2525         (set_select_multiple): Annotate about #133255.
2526         (update_chooser_entry): Likewise.
2527         (check_preview_change): Likewise.
2528         (tree_selection_changed): Likewise.
2529
2530 Fri Jan 23 14:56:18 2004  Jonathan Blandford  <jrb@gnome.org>
2531
2532         * gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): Don't crash
2533         when there are no columns, or all columns are hidden, #131402
2534
2535 Fri Jan 23 16:58:28 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2536
2537         * gtk/gtkmenu.c (DEFAULT_POPUP_DELAY): Changing to 200 was a
2538         mistake. Change back to 225.
2539
2540 Thu Jan 22 18:46:05 2004  Owen Taylor  <otaylor@redhat.com>
2541
2542         * === Released 2.3.2 ===
2543
2544 Thu Jan 22 18:45:26 2004  Owen Taylor  <otaylor@redhat.com>
2545
2546         * gtk/gtkicontheme.c: Patch from Christian Neumair
2547         to make warning string more translator friendly.
2548
2549         * gtk/gtktreemodelfilter.h gtkseparatortoolitem.[ch]
2550         gtk/gtktoolbar.c: Parameter name fixes to keep gtk-doc
2551         happy.
2552
2553         * configure.in: Require GLib-2.3.2, version 2.3.2,
2554         interface age 0, binary age 302.
2555
2556         * NEWS: Organized, added some names.
2557
2558 Thu Jan 22 16:59:36 2004  Jonathan Blandford  <jrb@gnome.org>
2559
2560         * gtk/gtkliststore.c (gtk_list_store_reorder): Doc fix.
2561
2562 2004-01-22  Federico Mena Quintero  <federico@ximian.com>
2563
2564         * gtk/gtkwidget.c (gtk_widget_class_init): Added documentation for
2565         GtkWidget::popup_menu.
2566
2567 Thu Jan 22 21:45:24 2004  Matthias Clasen  <maclas@gmx.de>
2568
2569         * gtk/gtkmenu.c (gtk_menu_remove): Remove the attach 
2570         info after calling gtk_menu_do_remove(), since that function
2571         uses the attach info. Doh!
2572
2573         * gtk/gtkmenu.c (gtk_menu_do_remove): Don't check priv->columns 
2574         for being 1 directly after setting it to 0.
2575
2576 Thu Jan 22 21:38:52 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2577
2578         * NEWS: Updates
2579
2580 2004-01-22  Alexander Larsson  <alexl@redhat.com>
2581
2582         * gdk/x11/gdkwindow-x11.c (WINDOW_IS_TOPLEVEL):
2583         Fix typo
2584
2585 2004-01-21  Federico Mena Quintero  <federico@ximian.com>
2586
2587         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
2588         Free the path fields.
2589
2590         * gtk/gtkfilesystemmodel.c (gtk_file_system_model_finalize): Free
2591         the root_path, reported by <scott@asofyet.org>
2592         (gtk_file_system_model_finalize): Unref the file system.
2593
2594         * gtk/gtkfilefilter.c (filter_rule_free): default:
2595         g_assert_not_reached().
2596         (gtk_file_filter_finalize): Free the filter->name, reported by
2597         <scott@asofyet.org>
2598         (gtk_file_filter_finalize): Free the rules list.
2599
2600 Wed Jan 21 18:10:40 2004  Jonathan Blandford  <jrb@gnome.org>
2601
2602         * gtk/gtkcolorbutton.c (gtk_color_button_set_color):redraw the
2603         color button when an alpha is set.
2604         (gtk_color_button_set_alpha): redraw the color button when an
2605         alpha is set.
2606
2607 Wed Jan 21 23:27:14 2004  Matthias Clasen  <maclas@gmx.de>
2608
2609         Fix #131869: 
2610         
2611         * gtk/gtkaction.c (_gtk_action_emit_activate): Hold
2612         a reference to the group while emitting the signals.
2613
2614         * gtk/gtkactiongroup.c (gtk_action_group_init): Use a 
2615         destroy notify which does not only unref, but also resets
2616         the action_group property of the action.
2617
2618 2004-01-20  Federico Mena Quintero  <federico@ximian.com>
2619
2620         * NEWS: Added details about GtkFileChooser changes.
2621
2622 2004-01-20  Federico Mena Quintero  <federico@ximian.com>
2623
2624         Fix #99425, add accessor functions for GtkPaned's children.
2625
2626         * gtk/gtkpaned.c (gtk_paned_get_child1): New function.
2627         (gtk_paned_get_child2): New function.
2628
2629 Tue Jan 20 23:49:52 2004  Matthias Clasen  <maclas@gmx.de>
2630
2631         * NEWS: Start of 2.3.2 section.
2632
2633 Tue Jan 20 22:11:31 2004  Matthias Clasen  <maclas@gmx.de>
2634
2635         Fixes for #130370, based on a patch by Michael Meeks:
2636         
2637         * gtk/gtkmenu.c (gtk_menu_do_remove): New auxiliary function to
2638         adjust cell positions and recalculate row and column counts after
2639         removing an item.
2640
2641         * gtk/gtkmenu.c (gtk_menu_remove): Call gtk_menu_do_remove.
2642
2643         * gtk/gtkmenu.c (gtk_menu_do_insert): Don't leave empty rows when
2644         appending items.
2645
2646         * gtk/gtkmenu.c (gtk_menu_attach): Don't call gtk_menu_shell_append,
2647         to avoid an unintended recursion.
2648
2649 2004-01-19  Federico Mena Quintero  <federico@ximian.com>
2650
2651         Fix #131418.
2652
2653         * gtk/gtkfilechooserdefault.c (set_select_multiple): New helper
2654         function.
2655         (gtk_file_chooser_default_set_property): Use
2656         set_select_multiple().  Also, re-set this mode to single if the
2657         file chooser is set to Save mode.
2658         (entry_activate): Handle the case where the entry is completely
2659         empty *and* its current folder does exist.  Also, there is need to
2660         test for select_multiple here now that we ensure that it won't
2661         happen during Save mode.
2662
2663 Sun Jan 18 15:25:39 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2664
2665         * gtk/gtktoolbar.[ch]: Add _gtk_toolbar_paint_space_line(),
2666         _gtk_toolbar_get_default_space_size ();
2667
2668         * gtk/gtkseparatortoolitem.c (gtk_separator_tool_item_expose,
2669         get_space_size): Use them here.
2670
2671 Sun Jan 18 13:16:34 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2672
2673         * tests/testgtk.c (create_toolbar): Set a small size request and
2674         make the window resizable, to test mapping/unmapping of buttons.
2675
2676         * gtk/gtktoolbar.c (gtk_toolbar_remove_content,
2677         gtk_toolbar_insert_tool_item): remove these functions.
2678
2679         * gtk/gtktoolbar.c (gtk_toolbar_show_all,
2680         toolbar_content_show_all, gtk_toolbar_hide_all,
2681         toolbar_content_hide_all): New functions. 
2682
2683         Ignore show_all/hide_all for buttons created in compatibility mode.
2684
2685         * gtk/gtktoolbar.c (internal_insert_element, gtk_toolbar_show_all,
2686         gtk_toolbar_hide_all): Make sure buttons are ignored by
2687         gtk_toolbar_show_all() and gtk_toolbar_hide_all().
2688         
2689         * gtk/gtktoolbar.c: s/regular_widget/compatibility/g
2690
2691         * gtk/gtktoolbar.c (struct _ToolbarContent): Allocate
2692         GtkToolbarChild inline. Get rid of GtkToolbarChildSpace.
2693
2694         * gtk/gtktoolbar.c (toolbar_content_expose): Fix bug where widget
2695         could become NULL.
2696
2697         * gtk/gtktoolbar.c (gtk_toolbar_add): Append new tool items
2698         instead of prepending them.
2699
2700         * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Use the same
2701         'elapsed' for all items.
2702
2703         * gtk/gtktoolbar.c (struct _GtkToolbarPrivate): Turn booleans
2704         into bitfields.
2705
2706         * gtk/gtktoolbar.c: Many formatting fixes
2707         
2708 Sun Jan 18 01:51:12 2004  Matthias Clasen  <maclas@gmx.de>
2709
2710         * configure.in: Add the necessary magic to create
2711         po-properties/Makefile.
2712
2713 Sat Jan 17 23:05:52 2004  Matthias Clasen  <maclas@gmx.de>
2714
2715         The second part of the fix for #114351 (see also 
2716         gdk-pixbuf/ChangeLog and po/ChangeLog):
2717
2718         * Makefile.am (SUBDIRS): Add po-properties.
2719
2720         * configure.in (AC_CONFIG_FILES): Add po-properties/Makefile.in 
2721
2722         * gdk/gdkintl.h (P_): 
2723         * gtk/gtkintl.h (P_): Use translation domain gtk20-properties. 
2724
2725         * gtk/gtkmain.c (gtk_parse_args): Call bindtextdomain and
2726         bind_textdomain_codeset for gtk20-properties as well.
2727
2728 Sat Jan 17 22:00:07 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2729
2730         * gtk/gtktoolbar.c: 
2731
2732         Fix rest of #128678: Implement all the toolbar_content()
2733         methods for the old API case.
2734
2735 Sat Jan 17 16:53:08 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2736
2737         * gtk/gtktoolbar.c: 
2738
2739         Phase 1 of fixing #128678: Only access ToolbarContent through a
2740         set of new functions:
2741
2742         toolbar_content_expose, toolbar_content_visible,
2743         toolbar_content_size_request, toolbar_content_is_homogeneous,
2744         toolbar_content_get_child_requisition,
2745         toolbar_content_is_placeholder, toolbar_content_disappearing,
2746         toolbar_content_get_state, toolbar_content_child_visible,
2747         toolbar_content_get_goal_allocation,
2748         toolbar_content_get_allocation,
2749         toolbar_content_set_start_allocation,
2750         toolbar_content_get_start_allocation, toolbar_content_get_expand,
2751         toolbar_content_set_goal_allocation,
2752         toolbar_content_set_child_visible, toolbar_content_size_allocate,
2753         toolbar_content_set_state, toolbar_content_get_widget,
2754         toolbar_content_set_disappearing,
2755         toolbar_content_set_size_request,
2756         toolbar_content_toolbar_reconfigured,
2757         toolbar_content_retrieve_menu_item, 
2758         toolbar_content_new_tool_item, toolbar_content_destroy,
2759         toolbar_content_is_separator
2760
2761         Also fix #127092.
2762         
2763 Sat Jan 17 12:55:13 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2764
2765         * gtk/gtktoolitem.c (gtk_tool_item_finalize): don't leak the menu
2766         item ID.
2767
2768 Sat Jan 17 12:37:46 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2769
2770         * gtk/gtktoolbar.c (gtk_toolbar_finalize): Don't leak the
2771         overflow menu.
2772         
2773         * gtk/gtktoolbar.h (struct _GtkToolbar): Make some fields public. 
2774         [#127726]
2775
2776 2004-01-16  Federico Mena Quintero  <federico@ximian.com>
2777
2778         * gtk/gtkfilesystemmodel.c (struct _GtkFileSystemModel): Added a
2779         has_editable field.
2780         (_gtk_file_system_model_add_editable): New function.
2781         (_gtk_file_system_model_remove_editable): New function.
2782         (gtk_file_system_model_get_value): Return appropriate values for
2783         the temporary editable row.
2784         (_gtk_file_system_model_get_info): Handle the editable row.
2785         (_gtk_file_system_model_get_path): Likewise.
2786
2787         * gtk/gtkfilechooserdefault.c (shortcuts_append_bookmarks):
2788         Removed an unused variable.
2789         (toolbar_button_new): Optionally show the button.
2790         (up_button_clicked_cb): Renamed from up_button_cb(), fixed prototype.
2791         (toolbar_create): Add a "New Folder" button for Save mode.
2792         (error_building_filename_dialog): New helper function.
2793         (gtk_file_chooser_default_get_paths): Use error_building_filename_dialog().
2794         (create_file_list): Connect to the "edited" signal of the text
2795         cell renderer.  Store the name column and text renderer in the
2796         impl structure.
2797         (renderer_edited_cb): New callback.
2798         (gtk_file_chooser_default_set_property): Show/hide the "New
2799         folder" button when the save action changes.
2800         (COMPARE_DIRECTORIES): Allow the info values to be NULL.
2801         (COMPARE_DIRECTORIES): Duh, use the list_model, not the
2802         tree_model.
2803         (get_list_file_info): Likewise!
2804         (list_icon_data_func): Handle the path being NULL.
2805         (new_folder_button_clicked): New callback.
2806         (list_name_data_func): If we are on the editable row, set the text
2807         to "Type name of new folder".
2808         (list_selection_changed): Handle the editable row.
2809         (list_mtime_data_func): Likewise.
2810
2811         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_make_path): Return
2812         NULL, not FALSE.
2813         (gtk_file_system_unix_create_folder): Test the result of mkdir() correctly.
2814
2815 Fri Jan 16 23:59:01 2004  Matthias Clasen  <maclas@gmx.de>
2816
2817         The first part of the fix for #114351 (see also 
2818         gdk-pixbuf/ChangeLog and po/ChangeLog):
2819         
2820         * gtk/gtkintl.h: 
2821         * gdk/gdkintl.h: Define P_() for property blurbs and nicks.
2822
2823         * gdk/gdkdisplaymanager.c:
2824         * modules/input/gtkimcontextxim.c:
2825         * gtk/*.c:  Mark property blurbs and nicks with P_().
2826         
2827 2004-01-16  Federico Mena Quintero  <federico@ximian.com>
2828
2829         Fix #130969.
2830
2831         * gtk/gtkcellrenderer.h (struct _GtkCellRendererClass): Added an
2832         editing_canceled signal.
2833
2834         * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): Create the
2835         "editing-canceled" signal.
2836         (gtk_cell_renderer_editing_canceled): New function.
2837
2838         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_editing_done):
2839         Call gtk_cell_renderer_editing_canceled().
2840
2841 2004-01-16  Federico Mena Quintero  <federico@ximian.com>
2842
2843         * gtk/gtkfilechooserdefault.c
2844         (gtk_file_chooser_default_set_property): Do not allow setting
2845         select_multiple when in Save mode.
2846         (set_list_model): No need to nullify the list_model and
2847         sort_model.
2848         (gtk_file_chooser_default_get_paths): Handle folder mode as well.
2849         (get_paths_foreach): Likewise.
2850
2851         * gtk/gtkfilechooser.c (gtk_file_chooser_get_filename): Clarify
2852         documentation about folder mode.
2853         (gtk_file_chooser_get_uri): Likewise.
2854
2855 2004-01-16  Federico Mena Quintero  <federico@ximian.com>
2856
2857         * gtk/gtkfilesystem.h (struct _GtkFileSystemIface): New
2858         get_volume_for_path() method.
2859         (struct _GtkFileSystemIface): Finally removed the list_roots() and
2860         get_root_info() methods, and the "roots-changed" signal.
2861
2862         * gtk/gtkfilesystem.c (gtk_file_system_get_volume_for_path): New
2863         function.
2864         (gtk_file_system_list_roots): Removed.
2865         (gtk_file_system_get_root_info): Removed.
2866
2867         * gtk/gtkfilesystemunix.c
2868         (gtk_file_system_unix_get_volume_for_path): Implement.
2869         (get_root_volume): New helper function.
2870         (gtk_file_system_unix_list_volumes): Use get_root_volume().
2871         (gtk_file_system_unix_list_roots): Removed.
2872         (gtk_file_system_unix_get_root_info): Removed.
2873
2874         * gtk/gtkfilesystemmodel.c (_gtk_file_system_model_new): Don't
2875         accept a NULL root_path.
2876         (struct _GtkFileSystemModel): Add a field to remember the
2877         root_path.
2878         (_gtk_file_system_model_new): Store the root_path in the model
2879         structure.
2880         (find_and_ref_path): Stop going up the hierarchy at the root_path
2881         of the model.  Also, don't return prematurely when walking up the
2882         hierarchy.
2883
2884         * gtk/gtkfilechooserdefault.c (create_file_list): Sigh, restore
2885         the rules_hint.
2886         (struct _GtkFileChooserDefault): Added a current_volume_path field.
2887         (set_tree_model): New function; create the folder tree model here.
2888         (create_folder_tree): Don't create the model here.
2889         (set_list_model): Set the show_hidden flag on the list model.
2890
2891 Fri Jan 16 00:04:43 2004  Matthias Clasen  <maclas@gmx.de>
2892
2893         * gtk/gtknotebook.h:
2894         * gtk/gtknotebook.c (gtk_notebook_append_page): 
2895         * gtk/gtknotebook.c (gtk_notebook_append_page_menu): 
2896         * gtk/gtknotebook.c (gtk_notebook_prepend_page): 
2897         * gtk/gtknotebook.c (gtk_notebook_prepend_page_menu): 
2898         * gtk/gtknotebook.c (gtk_notebook_insert_page): 
2899         * gtk/gtknotebook.c (gtk_notebook_insert_page_menu): Return the
2900         index of the newly inserted page.  (#130986, Olexiy Avramchenko) 
2901
2902 Thu Jan 15 23:17:14 2004  Matthias Clasen  <maclas@gmx.de>
2903
2904         * gtk/gtkuimanager.c (gtk_ui_manager_get_toplevels): Inserting
2905         a 'newly-allocated' to hint that the list should be freed after
2906         use.
2907
2908 Wed Jan 14 18:01:52 2004  Jonathan Blandford  <jrb@gnome.org>
2909
2910         * gtk/gtktreeview.c (gtk_tree_view_button_press): move grab_focus
2911         to after handling the button presses in the TreeView to avoid
2912         getting multiple selection_changes()
2913
2914 Wed Jan 14 21:16:20 2004  Matthias Clasen  <maclas@gmx.de>
2915
2916         * gtk/gtkimcontext.c: Documentation fix.  (#131335, Theppitak 
2917         Karoonboonyanan)
2918
2919 Wed Jan 14 21:00:49 2004  Matthias Clasen  <maclas@gmx.de>
2920
2921         * gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel): 
2922         Don't leak name and stock_id.  (#131358, Morten Welinder)
2923
2924 Wed Jan 14 13:07:30 GMT 2004  Tony Gale <gale@gtk.org>
2925
2926         * docs/faq/gtk-faq.sgml: Updates to Section 5
2927
2928 Wed Jan 14 02:34:57 2004  Matthias Clasen  <maclas@gmx.de>
2929
2930         * gtk/gtkradioaction.c: Add a writable group property to align
2931         with the GtkRadioButton API.  (#129166, Olivier Andrieu) 
2932
2933 Tue Jan 13 14:48:27 GMT 2004  Tony Gale <gale@gtk.org>
2934
2935         * docs/faq/gtk-faq.sgml: Update info on using autoconf
2936
2937 Mon Jan 12 23:40:34 2004  Matthias Clasen  <maclas@gmx.de>
2938
2939         * tests/testmerge.c: Adjust to the new connect_proxy signals.
2940
2941         * gtk/gtkuimanager.c
2942         * gtk/gtkactiongroup.c
2943         * gtk/gtkaction.c: Move the connect_proxy and disconnect_proxy signals
2944         from GtkAction to GtkActionGroup and proxy it on GtkUIManager. This
2945         removes the confusion between the disconnect_/connect_proxy signals 
2946         and the (unrelated) virtual functions of the same name and aligns
2947         the setup with the pre_/post_activate signals.
2948
2949 2004-01-12  Jody Goldberg <jody@gnome.org>
2950
2951         * gtk/gtkaction.c (connect_proxy) : only connect activate for menus
2952           with no submenus otherwise it looks like we activate every time a
2953           submenu opens.
2954
2955 2004-01-12  Jody Goldberg <jody@gnome.org>
2956
2957         * gtk/gtkuimanager.c: Remove accidentially committed debug spew.
2958
2959 Sun Jan 11 01:55:07 2004  Matthias Clasen  <maclas@gmx.de>
2960
2961         * gtk/gtkaccelmap.c: Remove accidentally committed notification stuff. 
2962         (gtk_accel_map_lock_path): 
2963         (gtk_accel_map_unlock_path): Path locking can now be nested, a missing
2964         entry is silently created during lock_path(), and treated as an error 
2965         during unlock_path(). These changes have been requested by Tim Janik.
2966
2967 2004-01-10  Jody Goldberg <jody@gnome.org>
2968
2969         * gtk/gtkuimanager.c (d) : Add a debug macro to quiet the spew.
2970         s/merge_signals/ui_manager_signals/ for readability.
2971         (gtk_ui_manager_class_init) : add pre_activate and post_activate
2972           signals.
2973         (cb_proxy_pre_activate) : new.
2974         (cb_proxy_post_activate) : new.
2975         (gtk_ui_manager_insert_action_group) : connect the proxies for
2976           GtkActionGroup::pre/post_activate
2977         (gtk_ui_manager_remove_action_group) : disconnect them.
2978
2979         * gtk/gtkactiongroup.c (gtk_action_group_class_init) : add
2980           'sensitive', and 'visible' properties.  Also add pre_activate and
2981           post_activate signals to help deal with activations at a higher
2982           level (eg GtkUIManager)
2983         (gtk_action_group_init) : init sensitive and visible
2984         (gtk_action_group_set_property) : add sensitive and visible
2985         (gtk_action_group_get_property) : add sensitive and visible
2986         (gtk_action_group_get_sensitive) : new.
2987         (gtk_action_group_get_visible) : new.
2988         (cb_set_action_sensitivity) : new with minor optimization that only
2989           signals sensitivity changes if the action could possibly change.
2990         (cb_set_action_visiblility) : ditto.
2991         (gtk_action_group_set_sensitive) : new.  walk the actions directly
2992           rather than using notify::sensitive because that is simpler, easier
2993           to read, and more efficient.
2994         (gtk_action_group_set_visible) : ditto.
2995         (gtk_action_group_add_action) : Each action can only be in 1 group,
2996           set GtkAction::action_group.
2997         (gtk_action_group_remove_action) : clear it.
2998         (gtk_action_group_add_toggle_actions_full) : warning suppression.
2999         (gtk_action_group_add_radio_actions_full) : warning suppression.
3000         (_gtk_action_group_emit_pre_activate) : new protected routine for use
3001           by GtkAction.
3002         (_gtk_action_group_emit_post_activate) : ditto.
3003
3004         * gtk/gtkaction.c (gtk_action_class_init) : add 'action_group' property.
3005         (gtk_action_init) : initialize it.
3006         (gtk_action_get_property) : get.
3007         (gtk_action_set_property) : set it via
3008         (gtk_action_set_action_group) : new function.
3009         (gtk_action_sync_sensitivity) : new routine to sync proxy sensitivity
3010           with the logical sensitivity (action & group) rather than the simple
3011           action::sensitivity.
3012         (gtk_action_sync_visible) : use gtk_action_is_visible to handle
3013           logical visibility (action & group) rather than the simple
3014           action::visible.  Use widget show/hide directly.
3015         (connect_proxy) : handle the custom sensitivity handler.
3016           Make the TOOL_BUTTON signals more general and support TOOL_ITEM
3017           directly, with special cases for TOOL_BUTTON.  Still not especially
3018           good it might be useful to handle label/use_underline by parmspec
3019           lookup.  Those are likely to be implemented by custom types, and are
3020           assumed to exist in GtkToolItem.
3021         (disconnect_proxy) : disconnect the new sensitivity handler.
3022         (_gtk_action_emit_activate) : add pre/post signals.
3023         (gtk_action_activate) : use logical sensitivity.
3024         (gtk_action_is_sensitive) : logical sensitivity.
3025         (gtk_action_get_sensitive) : actual sensitivity.
3026         (closure_accel_activate) : use logical sensitivity.
3027
3028 Fri Jan  9 22:23:45 2004  Matthias Clasen  <maclas@gmx.de>
3029
3030         * gtk/gtkuimanager.c: Introduce a new parser state for 
3031         accelerator elements to avoid misparsing files containing 
3032         such elements.  (#131035, Morten Welinder)
3033
3034 Fri Jan  9 11:58:47 2004  Manish Singh  <yosh@gimp.org>
3035
3036         * gdk-pixbuf/gdk-pixbuf-io.c: #include <unistd.h> for unlink()
3037
3038 Fri Jan  9 15:28:21 GMT 2004  Tony Gale <gale@gtk.org>
3039
3040         * docs/faq/gtk-faq.sgml: update GtkEntry filter code example
3041
3042 Fri Jan  9 00:34:57 2004  Matthias Clasen  <maclas@gmx.de>
3043
3044         * gtk/gtkuimanager.h:
3045         * gtk/gtkuimanager.c (gtk_ui_manager_get_toplevels): New function to
3046         obtain a list of toplevel widgets constructed by the ui manager.
3047
3048         * gtk/gtkuimanager.h (GtkUIManagerItemType): Change to flags, so that 
3049         the values can be combined for gtk_ui_manager_get_toplevels().
3050
3051         * tests/testmerge.c: Add a "Dump toplevels" button to test 
3052         gtk_ui_manager_get_toplevels().
3053
3054 Wed Jan  7 23:20:06 2004  Matthias Clasen  <maclas@gmx.de>
3055
3056         * demos/gtk-demo/Makefile.am (demos): Add entry_completion.c
3057         
3058         * demos/gtk-demo/entry_completion.c: New demo for GtkEntryCompletion 
3059         by Anders Carlsson  (#130464).
3060
3061 Wed Jan  7 23:07:28 2004  Matthias Clasen  <maclas@gmx.de>
3062
3063         * gtk/gtkmain.h: 
3064         * gtk/gtkmain.c (gtk_events_pending): Change the return value from 
3065         gint to gboolean.  (#130718, reported by Johannes Weißl)
3066
3067 Wed Jan  7 23:03:32 2004  Matthias Clasen  <maclas@gmx.de>
3068
3069         * gtk/gtkactiongroup.h: 
3070         * gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel): 
3071         Remove the redundant name and stock_id parameters, adjust all callers.
3072
3073 Wed Jan  7 22:20:20 2004  Matthias Clasen  <maclas@gmx.de>
3074
3075         * gtk/gtkaction.h: 
3076         * gtk/gtkaction.c (gtk_action_new):  
3077         * gtk/gtktoggleaction.h: 
3078         * gtk/gtktoggleaction.c (gtk_toggle_action_new): 
3079         * gtk/gtkradioaction.h: 
3080         * gtk/gtkradioaction.c (gtk_radio_action_new): Add creation 
3081         functions for actions.
3082
3083         * gtk/gtkactiongroup.c (gtk_action_group_add_actions_full): 
3084         (gtk_action_group_add_toggle_actions_full): 
3085         (gtk_action_group_add_radio_actions_full): and use the
3086         new functions here.  (#125322, Patch by Jeff Frank)
3087
3088 Wed Jan  7 21:42:49 2004  Matthias Clasen  <maclas@gmx.de>
3089
3090         * gtk/gtkaccelmap.c (gtk_accel_map_lock_path): Fix grammar of 
3091         docs.
3092
3093 2004-01-07  Jan Arne Petersen  <jpetersen@uni-bonn.de>
3094
3095         * gtk/gtkfilechooserdefault.c: (shortcuts_insert_path),
3096         (shortcuts_append_home), (shortcuts_append_desktop),
3097         (shortcuts_append_paths), (shortcuts_add_volumes),
3098         (shortcuts_append_bookmarks), (create_shortcuts_model),
3099         (gtk_file_chooser_default_add_shortcut_folder): add REMOVABLE column
3100         to the shortcuts_model.
3101
3102         (remove_bookmark_button_clicked_cb),
3103         (bookmarks_check_remove_sensitivity): use REMOVABLE column to check if
3104         bookmarks can be removed. Fixes #129873
3105
3106 Wed Jan  7 02:50:55 2004  Matthias Clasen  <maclas@gmx.de>
3107
3108         * demos/testpixbuf-save.c: Make s, S, Control-S, p, P, Control-P,
3109         i, I, Control-I test gdk_pixbuf_save(), gdk_pixbuf_save_to_buffer()
3110         and gdk_pixbuf_save_to_callback() with jpeg, png and ico formats, 
3111         respectively. Tests #82203.
3112
3113 2004-01-06  Federico Mena Quintero  <federico@ximian.com>
3114
3115         * gtk/gtkfilesel.c (gtk_file_selection_create_dir_confirmed): Use
3116         0777 as the mode for mkdir() and let the umask do the right
3117         thing.  Fixes #121819.
3118
3119         * gtk/gtkfilesystemunix.c (filename_is_root): g_path_skip_root()
3120         can return NULL; handle this.  Fixes #129565.
3121
3122 2004-01-06  Alexander Winston  <alexander.winston@comcast.net>
3123
3124         * gtk/gtkfilesel.c: (gtk_file_selection_delete_file): Removed space
3125         that proceeded the end-of-sentence punctuation. Fixes: #130353.
3126
3127 2004-01-06  Jody Goldberg <jody@gnome.org>
3128
3129         * gtk/gtktoolitem.c (gtk_tool_item_set_property) : Call 
3130           gtk_tool_item_set_visible_vertical for PROP_VISIBLE_VERTICAL.
3131
3132 2004-01-05  Federico Mena Quintero  <federico@ximian.com>
3133
3134         * gtk/gtkfilechooserdefault.c (shortcuts_append_bookmarks): Oops,
3135         call shortcuts_add_bookmarks() here.
3136         (remove_bookmark_button_clicked_cb): Ahem, fetch the selected
3137         iter.
3138         (shortcuts_append_paths): Don't display error dialogs here.
3139         (create_file_list): Remove the @#$% rules hint.
3140
3141 2004-01-05  Federico Mena Quintero  <federico@ximian.com>
3142
3143         * gtk/gtkfilechooserdefault.c (toolbar_button_new): New helper
3144         function.
3145         (toolbar_create): Do not use a toolbar widget, just an hbox
3146         instead.  Add the bookmarks buttons and the current folder label
3147         here.
3148         (create_filename_entry_and_filter_combo): Create the filter combo
3149         here.
3150         (filter_create): Don't show the filter combo initially.
3151         (up_button_cb): Renamed from toolbar_up_cb().
3152         (create_shortcuts_buttons): Removed.
3153
3154 2004-01-05  Murray Cumming  <murrayc@usa.net>
3155
3156         * gdk/gdkimage.h: Added <public> documentation to the struct, as
3157         suggested by Owen Taylor.
3158
3159 2004-01-05  Jody Goldberg <jody@gnome.org>
3160
3161         * gtk/gtkiconfactory.c (get_default_icons) : add stock indent, unindent
3162           I would have prefered outdent, but compatibility seems more
3163           important.
3164         * gtk/gtkstock.c (builtin_items) : ditto.
3165         * gtk/gtkstock.h : ditto.
3166         * gtk/stock-icons/Makefile.am : ditto.
3167         * gtk/stock-icons/stock_text_indent_16.png :
3168         * gtk/stock-icons/stock_text_indent_24.png :
3169         * gtk/stock-icons/stock_text_unindent_16.png :
3170         * gtk/stock-icons/stock_text_unindent_24.png : from gnome-icon-theme
3171
3172 Sun Jan  4 15:29:04 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3173
3174         * gtk/gtkradiotoolbutton.[ch]
3175         (gtk_radio_tool_button_new_with_stock_from_widget): Change API so
3176         group is a GtkRadioButton, not a GtkWidget.
3177
3178 2004-01-04  Hans Breuer  <hans@breuer.org>
3179
3180         * gdk/win32/gdkwindow-win32.c : use SWP_NOACTIVATE in 
3181         gdk_window_set_keep_(above|below) to make DND work again.
3182         Thanks to Alif Wahid for noticing.
3183
3184         * gdk/gdk.def : update externals
3185
3186         * gtk/gtkfilesystemwin32.c : adapt to GtkFileSystemIFace changes
3187
3188         * gtk/gtk-stock.[hc] gtk/gtkiconfactory.c 
3189           gtk/stock-icons/Makefile.am gtk/stock-icons/makefile.msc :
3190           gtk/stock-icons/stock_harddisk_16.png 
3191           gtk/stock-icons/stock_harddisk_24.png 
3192         Harddisk stock icons for file system implementations. Beside
3193         FLOPPY and CDROM there is now HARDDISK, probably some 
3194         GTK_STOCK_NETWORK would be useful, but I could not find one.
3195
3196 Sat Jan  3 11:39:42 2004  Manish Singh  <yosh@gimp.org>
3197
3198         * gtk/gtkclipboard.c: Update freedesktop.org clipboard doc link.
3199         Patch from Andrew Moise (#130462).
3200
3201 2004-01-01  Jody Goldberg <jody@gnome.org>
3202
3203         * gtk/gtkaction.c (_GtkActionPrivate) : add visible_horizontal,
3204           visible_vertical.
3205         (gtk_action_class_init) : here.
3206         (gtk_action_init) : here.
3207         (gtk_action_set_property) : here.
3208         (gtk_action_get_property) : here.
3209         (connect_proxy) : and here.
3210
3211 2003-12-30  Jody Goldberg <jody@gnome.org>
3212
3213         * gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel) :  new
3214           utility routine for use in derived GtkActions with the replicated code
3215           from.
3216         (gtk_action_group_add_actions_full) : here.
3217         (gtk_action_group_add_toggle_actions_full) : here.
3218         (gtk_action_group_add_radio_actions_full) : and here.
3219
3220 2004-01-01  Taneem Ahmed  <taneem@bengalinux.org>
3221
3222         * configure.in: Added "bn" to ALL_LINGUAS.
3223
3224 2004-01-01  Taneem Ahmed  <taneem@bengalinux.org>
3225
3226         * bn.po: Added Bangla translation by 
3227         of Ankur group <gnome-translation@bengalinux.org>.
3228
3229 Fri Jan  2 02:50:11 2004  Matthias Clasen  <maclas@gmx.de>
3230
3231         * gtk/gtkcalendar.c (gtk_calendar_compute_days): 
3232         * gtk/gtkcalendar.c (gtk_calendar_paint_day_names): 
3233         * gtk/gtkcalendar.c (gtk_calendar_init): Changes to support 
3234         week_start values other than 0 and 1, e.g. 6 will let weeks start
3235         on Saturday.  (#130349, Roozbeh Pournader) 
3236
3237 2003-12-31 13:49 Daniel Rogers <dsrogers@phasevelocity.org>
3238
3239         * gdk/x11/gdkinput-x11.c: (gdk_input_translate_coordinates)
3240         
3241         Fix to allow reasonable pointer behavior in window mode when an
3242         extended input device reports an incorrect resolution of 0.  Fixes
3243         bug #123546
3244         
3245 2003-12-31  Christian Neumair  <chris@gnome-de.org>
3246
3247         * gdk-pixbuf/gdk-pixdata.c: (gdk_pixbuf_from_pixdata):
3248         * gtk/gtkfilechooserdefault.c: (list_size_data_func): Use ngettext for
3249         plurals (#123847).
3250
3251 Wed Dec 31 02:05:39 2003  Matthias Clasen  <maclas@gmx.de>
3252
3253         * gtk/gtkactiongroup.c (gtk_action_group_add_actions_full): 
3254         (gtk_action_group_add_toggle_actions_full):
3255         (gtk_action_group_add_radio_actions_full): Pull accelerator key
3256         from the stock item if stock_id is given, but accelerator 
3257         not.  (Noticed by Jeff Franks and Jody Goldberg)
3258
3259         * tests/testmerge.c: Remove the accelerator from the "Open" entry
3260         to test the above change.
3261         
3262 2003-12-29  Federico Mena Quintero  <federico@ximian.com>
3263
3264         Make show_all() work for the extra and preview widgets; reported
3265         by Paolo Maggi.
3266
3267         * gtk/gtkfilechooserdefault.c (set_preview_widget): show_all() the
3268         preview widget.
3269         (set_extra_widget): show_all() the extra widget.
3270
3271 Mon Dec 29 12:22:22 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
3272
3273         * gtk/gtkuimanager.c (do_updates): 
3274         * gtk/gtktoolbar.c (slide_idle_handler): 
3275         * gtk/gtkdnd.c (gtk_drag_update_idle): 
3276
3277         Add GDK_THREADS_ENTER()/GDK_THREADS_LEAVE() pairs around idle
3278         functions. (#130157, patch from Olexiy Avramchenko).
3279         
3280 2003-12-29  Anders Carlsson  <andersca@gnome.org>
3281
3282         * gtk/gtkradiotoolbutton.c:
3283         * gtk/gtkradiotoolbutton.h:
3284         * gtk/gtkseparatortoolitem.c:
3285         * gtk/gtkseparatortoolitem.h:
3286         * gtk/gtktoggletoolbutton.c:
3287         * gtk/gtktoggletoolbutton.h:
3288         * gtk/gtktoolbar.c:
3289         * gtk/gtktoolbar.h:
3290         * gtk/gtktoolbutton.c:
3291         * gtk/gtktoolbutton.h:
3292         * gtk/gtktoolitem.c:
3293         * gtk/gtktoolitem.h:
3294         Update my e-mail address.
3295         
3296 Mon Dec 29 01:36:22 2003  Matthias Clasen  <maclas@gmx.de>
3297
3298         * gtk/gtkaccelmap.[hc]: (gtk_accel_map_lock_path, 
3299         gtk_accel_map_unlock_path): Add a way to lock individual accelerator
3300         paths.  (#73207, reported by Havoc Pennington)
3301
3302 Sat Dec 27 23:17:56 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
3303
3304         * gtk/gtktoolbar.c (slide_idle_handler): use CHILD_VISIBLE
3305         instead of VISIBLE to determine whether we should stop
3306         sliding. (#130018, reported by Christian Persch).
3307
3308 Fri Dec 26 23:24:35 2003  Matthias Clasen  <maclas@gmx.de>
3309
3310         * gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full): 
3311         Don't use first_action without initializing it if n_entries is 0.
3312
3313 Thu Dec 25 00:26:34 2003  Matthias Clasen  <maclas@gmx.de>
3314
3315         * gdk/x11/gdkcursor-x11.c (gdk_display_get_default_cursor_size):
3316         Add the missing _get_ to the name of the non-Xcursor version of
3317         this function.  (noticed by Torsten Schoenfeld)
3318
3319 Tue Dec 23 22:34:50 2003  Manish Singh  <yosh@gimp.org>
3320
3321         * gtk/gtkicontheme.h: fix GTK_TYPE_ICON_INFO macro, reported by
3322         muppet.
3323
3324 2003-12-24  Jody Goldberg <jody@gnome.org>
3325
3326         * gtk/gtkactiongroup.h : Add some const to the char * in
3327           GtkActionEntry*.  We're reccomending people pass static strings to
3328           them, and not freeing them.  This stems to flood of warnings that
3329           result.
3330         * gtk/gtkactiongroup.c (gtk_action_group_add_actions_full) : change
3331           temp vars to const to match above.
3332         (gtk_action_group_add_toggle_actions_full) : ditto.
3333         (gtk_action_group_add_radio_actions_full) : ditto.
3334
3335 Wed Dec 24 01:12:53 2003  Matthias Clasen  <maclas@gmx.de>
3336
3337         * gtk/gtkclipboard.[hc]: Add GtkClipboardTargetReceivedFunc,
3338         gtk_clipboard_request_targets() and 
3339         gtk_clipboard_wait_for_targets().  (#101774, Dom Lachowicz)
3340
3341 Mon Dec 22 00:40:39 2003  Matthias Clasen  <maclas@gmx.de>
3342
3343         * gtk/gtkcalendar.c (gtk_calendar_paint_arrow): Use 
3344         gtk_paint_arrow instead of draw_arrow_left/draw_arrow_right.
3345         * gtk/gtkcalendar.c (draw_arrow_left):
3346         (draw_arrow_right): Removed. 
3347         * gtk/gtkcalendar.c (gtk_calendar_realize_arrows): 
3348         * gtk/gtkcalendar.c (gtk_calendar_state_changed): Set the
3349         arrow_state to GTK_STATE_INSENSITIVE if the calendar is 
3350         insensitive.  (#97376)
3351
3352 Sun Dec 21 23:17:01 2003  Matthias Clasen  <maclas@gmx.de>
3353
3354         * gtk/gtkuimanager.c (update_node): 
3355         (update_smart_separators): 
3356         (_gtk_menu_is_empty): 
3357         (find_menu_position): 
3358         * gtk/gtktreeview.c (gtk_tree_view_search_dialog_destroy): 
3359         * gtk/gtkcombobox.c (gtk_combo_box_relayout_item): 
3360         (gtk_combo_box_relayout): Fix memory leaks caused by the
3361         failure to free the result of gtk_container_get_children().
3362
3363 Sun Dec 21 17:34:22 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
3364
3365         * gdk/x11/gdkwindow-x11.c (gdk_window_reparent): Set the right
3366         properties when the window becomes a toplevel. When a window that
3367         was previously a toplevel becomes a toplevel again, restore its
3368         window type. Also make sure the focus window is removed from the
3369         XID hash when it is destroyed. (#117579, reported by Morten
3370         Welinder, patch reviewed by Owen Taylor).
3371
3372 Sun Dec 21 01:54:40 2003  Matthias Clasen  <maclas@gmx.de>
3373
3374         * gtk/gtkmenushell.h: 
3375         * gtk/gtkmenushell.c (gtk_menu_shell_cancel): New function 
3376         to emit the "cancel" signal on a menu shell.
3377
3378         * gtk/gtkmenu.c (gtk_menu_key_press): 
3379         * gtk/gtkoptionmenu.c (gtk_option_menu_remove_menu): 
3380         * gtk/gtkmenubar.c (_gtk_menu_bar_cycle_focus): Use the 
3381         new function instead of directly emitting the 
3382         signal.  (#81803, Owen Taylor)
3383
3384 Sun Dec 21 00:39:50 2003  Matthias Clasen  <maclas@gmx.de>
3385
3386         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): 
3387         Fix the "language_set" blurb.  
3388         
3389 Sat Dec 20 22:06:03 2003  Kristian Rietveld  <kris@gtk.org>
3390
3391         * gtk/gtktreeview.c (gtk_tree_view_size_allocate): do not invalidate
3392         all of treeview when resizing (#110074, patch from Soeren Sandmann).
3393
3394 Fri Dec 19 23:36:00 2003  Kristian Rietveld  <kris@gtk.org>
3395
3396         Fixes #108458.
3397
3398         * gtk/gtkcelllayout.[ch]: added a reorder method.
3399
3400         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_init),
3401         (gtk_tree_view_column_cell_layout_reorder): implement reorder.
3402
3403         * gtk/gtkcellview.c (gtk_cell_view_cell_layout_init),
3404         (gtk_cell_view_cell_layout_reorder): ditto.
3405
3406         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_init),
3407         (gtk_combo_box_cell_layout_reorder): ditto.
3408
3409         * gtk/gtkentrycompletion.c (gtk_entry_completion_cell_layout_init),
3410         (gtk_entry_completion_reorder): ditto.
3411
3412 Fri Dec 19 22:18:19 2003  Kristian Rietveld  <kris@gtk.org>
3413
3414         * gtk/gtktreeview.c (gtk_tree_view_search_equal_func): use strstr
3415         instead of strcmp (#117127, suggestion from Soeren Sandmann).
3416
3417 Fri Dec 19 21:52:46 2003  Kristian Rietveld  <kris@gtk.org>
3418
3419         * gtk/gtkmenu.c (gtk_menu_do_insert): move item insertion logic
3420         here from gtk_menu_real_insert(),
3421         (gtk_menu_real_insert): just call gtk_menu_do_insert(),
3422         (gtk_menu_reorder_child): run _do_insert after inserting the child
3423         (unbreaks _reorder_child, reported by Tim Janik).
3424
3425 2003-12-19  Federico Mena Quintero  <federico@ximian.com>
3426
3427         * gtk/gtkfilechooserdefault.c (list_mtime_data_func): Use
3428         g_date_strftime() for UTF-8 correctness; use Julian dates to
3429         simplify the function.
3430
3431 Fri Dec 19 01:47:34 2003  Matthias Clasen  <maclas@gmx.de>
3432
3433         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_size_request): 
3434         Test extra_width, not extra_height, when determining whether to
3435         set extra_width.  (#129647, Jan Arne Petersen)
3436
3437 Fri Dec 19 01:35:34 2003  Matthias Clasen  <maclas@gmx.de>
3438
3439         Fix the behaviour of insensitive actions, which was broken
3440         when gtk_action_activate() was changed to pay attention to 
3441         sensitivity  (#129557, Christian Persch)
3442         
3443         * gtk/gtkaction.h: 
3444         * gtk/gtkaction.c (_gtk_action_emit_activate): New auxiliary
3445         function to emit an activate signal without regard to sensitivity.
3446
3447         * gtk/gtkradioaction.c: 
3448         * gtk/gtktoggleaction.c: Always use _gtk_action_emit_activate()
3449         instead of gtk_action_activate().
3450
3451 2003-12-18  Jody Goldberg <jody@gnome.org>
3452
3453         * gtk/gtkicontheme.c (gtk_icon_theme_lookup_icon)) : Add a sanity test
3454           to ensure that the base hicolor theme is installed.  Silently
3455           failing to produce icons that apps assume exist in the theme seems
3456           like a bad idea.
3457
3458 Thu Dec 18 19:13:12 2003  Kristian Rietveld  <kris@gtk.org>
3459
3460         Fixes #110249, reworked patch from Joshua N Pritikin.
3461
3462         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_get_type),
3463         (gtk_tree_model_sort_tree_drag_source_init),
3464         (gtk_tree_model_sort_row_draggable),
3465         (gtk_tree_model_sort_drag_data_get),
3466         (gtk_tree_model_sort_drag_data_delete): implement GtkTreeDragSource.
3467
3468         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_type),
3469         (gtk_tree_model_filter_tree_drag_source_init),
3470         (gtk_tree_model_filter_row_draggable),
3471         (gtk_tree_model_filter_drag_data_get),
3472         (gtk_tree_model_filter_drag_data_delete): ditto.
3473
3474 Thu Dec 18 18:01:01 2003  Kristian Rietveld  <kris@gtk.org>
3475
3476         * gtk/gtktreeview.c (gtk_tree_view_class_init): add key bindings
3477         for "*" and "/" (expand/collapse all). (#110195, reported by
3478         Calum Benson).
3479
3480 Thu Dec 18 17:52:56 2003  Kristian Rietveld  <kris@gtk.org>
3481
3482         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_property):
3483         clear the extra_attrs list if we set "text" after "markup".
3484         (Fixes #121933, Federico Mena Quintero).
3485
3486 2003-12-18  Alexander Larsson  <alexl@redhat.com>
3487
3488         * gtk/gtkicontheme.c (gtk_icon_info_get_embedded_rect):
3489         Fix typo that used the wrong x/y values for the x1, y1 point
3490         (#129605)
3491
3492 Thu Dec 18 01:41:50 2003  Kristian Rietveld  <kris@gtk.org>
3493
3494         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
3495         (gtk_cell_renderer_text_finalize),
3496         (gtk_cell_renderer_text_get_property),
3497         (gtk_cell_renderer_text_set_property), (get_layout): added language
3498         and language_set properties like GtkTextTag has. (#103800, reported
3499         by Owen Taylor).
3500
3501 Thu Dec 18 01:37:59 2003  Matthias Clasen  <maclas@gmx.de>
3502
3503         * gtk/gtkwidget.c (gtk_widget_activate): Correct misleading docs.
3504         * gtk/gtkbutton.c (gtk_button_class_init): Add docs for the 
3505         "activate" signal.  (#129358, Ka-Hing Cheung)
3506
3507 Thu Dec 18 01:21:59 2003  Kristian Rietveld  <kris@gtk.org>
3508
3509         * gtk/gtktreeview.c (gtk_tree_view_class_init): Jonathan got
3510         the logical flag backwards in the expand_collapse_cursor_row
3511         bindings, fixing.
3512         (gtk_tree_view_real_expand_collapse_cursor_row): invert expand
3513         flag when !logical and in RTL. (Fixes #107527, reported by
3514         Noah Levitt).
3515
3516 Thu Dec 18 01:10:16 2003  Kristian Rietveld  <kris@gtk.org>
3517
3518         * gtk/gtktreeview.c (gtk_tree_view_button_press): only start
3519         editing when activated by the left mouse button. (#106869,
3520         patch from Evan Martin).
3521
3522 Thu Dec 18 00:57:18 2003  Kristian Rietveld  <kris@gtk.org>
3523
3524         Migrating all cell renderers to use the new instance private data
3525         construction.
3526
3527         * gtk/gtktreeprivate.h: remove GtkCellRendererInfo, as it is no
3528         longer being used.
3529
3530         * gtk/gtkcellrenderer.c (gtk_cell_renderer_init),
3531         (gtk_cell_renderer_class_init), (gtk_cell_renderer_get_property),
3532         (set_cell_bg_color), (gtk_cell_renderer_render): remove old
3533         GtkCellRendererInfo handling, migrate to instance private data.
3534
3535         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_editing_done),
3536         (gtk_cell_renderer_text_start_editing): moved focus_out_id
3537         from GtkCellRendererInfo to text renderer private data.
3538
3539         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_init),
3540         (gtk_cell_renderer_pixbuf_class_init),
3541         (gtk_cell_renderer_pixbuf_finalize),
3542         (gtk_cell_renderer_pixbuf_get_property),
3543         (gtk_cell_renderer_pixbuf_set_property),
3544         (gtk_cell_renderer_pixbuf_create_stock_pixbuf),
3545         (gtk_cell_renderer_pixbuf_get_size), (gtk_cell_renderer_pixbuf_render):
3546         migrate to instance private data.
3547
3548         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_class_init),
3549         (gtk_cell_renderer_toggle_get_property),
3550         (gtk_cell_renderer_toggle_set_property),
3551         (gtk_cell_renderer_toggle_render): migrate to instance private data.
3552
3553 Thu Dec 18 00:24:32 2003  Kristian Rietveld  <kris@gtk.org>
3554
3555         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
3556         (gtk_cell_renderer_text_get_property),
3557         (gtk_cell_renderer_text_set_property), (get_layout): add a
3558         single-paragraph-mode property, use private instance data.
3559         (Fixes #114943, reported by Morten Welinder).
3560
3561 Thu Dec 18 00:07:01 2003  Kristian Rietveld  <kris@gtk.org>
3562
3563         * gtk/gtktreemodel.h (gtk_tree_path_new_root),
3564         (gtk_tree_model_get_iter_root): now deprecated (#106953, reported
3565         by Matthias Clasen).
3566
3567 Wed Dec 17 23:50:56 2003  Kristian Rietveld  <kris@gtk.org>
3568
3569         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
3570         if we set a new stock_id and there was a previous stock_id, unref
3571         the pixbuf (since it was used to renderer the previous stock_id
3572         and stock_id might have been set to NULL now). (Fixes #122966).
3573
3574 2003-12-17  Marco Pesenti Gritti  <marco@gnome.org>
3575
3576         * gtk/gtktreemodelsort.c: (gtk_tree_model_sort_get_iter):
3577
3578         Check that index is not bigger than level array length
3579         also when depth is 1. Now get_iter_first correctly return
3580         FALSE when the model is empty (#129411).
3581
3582 Wed Dec 17 23:31:19 2003  Kristian Rietveld  <kris@gtk.org>
3583
3584         * gtk/gtktreeview.c (gtk_tree_view_search_equal_func): only
3585         try to strcmp or strlen if we managed to normalize and casefold
3586         the string correctly. Fixes crashes with non-UTF8 strings.
3587         (#121617, Patch from Tim-Philipp Müller).
3588
3589 Wed Dec 17 23:20:23 2003  Matthias Clasen  <maclas@gmx.de>
3590
3591         * gtk/gtkexpander.c (gtk_expander_animation_timeout): Add missing
3592         GDK_THREADS_ENTER()/GDK_THREADS_LEAVE().
3593         * gtk/gtkcalendar.c, gtk/gtkclist.c, gtk/gtkexpander.c, 
3594         gtk/gtklist.c, gtk/gtknotebook.c, gtk/gtkselection.c, 
3595         gtk/gtkspinbutton.c: Cast second argument to g_timeout_add() to
3596         GSourceFunc instead of GtkFunction.  (#129525, Olexiy Avramchenko) 
3597
3598 Wed Dec 17 23:16:45 2003  Kristian Rietveld  <kris@gtk.org>
3599
3600         * gtk/gtktreeview.c (gtk_tree_view_button_press): fix compile warning.
3601         (#122727, patch from Kjartan Maraas).
3602
3603 Wed Dec 17 21:23:01 2003  Kristian Rietveld  <kris@gtk.org>
3604
3605         Yay! Fixed height mode! Hooray! (Part 2 of #80868).
3606
3607         * gtk/gtktreeview.c (gtk_tree_view_class_init),
3608         (gtk_tree_view_init), (gtk_tree_view_set_property),
3609         (gtk_tree_view_get_property), (gtk_tree_view_set_model): add a
3610         fixed_height_mode property,
3611         (intialize_fixed_height_mode), (do_validate_rows),
3612         (column_sizing_notify), (gtk_tree_view_set_fixed_height_mode),
3613         (gtk_tree_view_style_set), (gtk_tree_view_row_changed),
3614         (gtk_tree_view_row_inserted), (gtk_tree_view_remove_column),
3615         (gtk_tree_view_insert_column): implement fixed height mode,
3616         (gtk_tree_view_append_column), (gtk_tree_view_insert_column),
3617         (gtk_tree_view_insert_column_with_attributes),
3618         (gtk_tree_view_insert_column_with_data_func): update docs.
3619
3620         * gtk/gtktreeprivate.h: add two fields to GtkTreePrivate.
3621
3622 2003-12-07  Murray Cumming  <murrayc@usa.net>
3623  
3624         * gtk/gtktreemodel.c:
3625         (row_inserted_marshal, row_deleted_marshal, rows_reorderered_marshal)
3626         Actually call the default signal handlers instead of calling the
3627         marshallers themselves in an endless loop. These default signal handler
3628         callbacks are not actually set so this is only noticed by gtkmm at
3629         the moment. Bug 123923.
3630
3631 2003-12-16  Federico Mena Quintero  <federico@ximian.com>
3632
3633         * gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Added a
3634         "volumes-changed" signal.  Added the following methods:
3635                 list_volumes
3636                 volume_free
3637                 volume_get_base_path
3638                 volume_get_is_mounted
3639                 volume_mount
3640                 volume_get_display_name
3641                 volume_render_icon
3642
3643         * gtk/gtkfilesystem.c (gtk_file_system_base_init): Create the
3644         "volumes-changed" signal.
3645         (gtk_file_system_list_volumes): New function.
3646         (gtk_file_system_volume_free): New function.
3647         (gtk_file_system_volume_get_base_path): New function.
3648         (gtk_file_system_volume_get_is_mounted): New function.
3649         (gtk_file_system_volume_mount): New function.
3650         (gtk_file_system_volume_get_display_name): New function.
3651         (gtk_file_system_volume_render_icon): New function.
3652
3653         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_volume_free): Implement.
3654         (gtk_file_system_unix_volume_get_base_path): Implement.
3655         (gtk_file_system_unix_volume_get_is_mounted): Implement.
3656         (gtk_file_system_unix_volume_mount): Implement.
3657         (gtk_file_system_unix_volume_get_display_name): Implement.
3658         (gtk_file_system_unix_volume_render_icon): Implement.
3659
3660         * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
3661         Added a field for the "volumes-changed" signal connection.
3662         (gtk_file_chooser_default_set_property): Connect to
3663         "volumes-changed" on the file system.
3664         (gtk_file_chooser_default_finalize): Disconnect from
3665         "volumes-changed".
3666
3667         * gtk/gtkfilechooserdefault.c (shortcuts_remove_rows): New helper
3668         function.
3669         (shortcuts_get_index): New helper function.
3670         (shortcuts_insert_path): Can now insert volumes as well as paths.
3671         (shortcuts_append_paths): Don't take is_file_system_root.
3672         (shortcuts_add_volumes): New function.
3673         (shortcuts_append_file_system_roots): Removed.
3674         (create_shortcuts_model): Use shortcuts_add_volumes().
3675         (remove_bookmark_button_clicked_cb): Check that the index is
3676         within range.
3677         (bookmarks_check_add_sensitivity): Take volumes into account.
3678         (shortcuts_get_selected_index): New helper function.
3679         (remove_bookmark_button_clicked_cb): Use
3680         shortcuts_get_selected_index().
3681         (bookmarks_check_remove_sensitivity): Likewise.
3682         (shortcuts_select_func): Likewise.
3683         (shortcuts_row_activated_cb): Handle volumes as well as normal
3684         paths.
3685         (shortcuts_activate_volume): New function.
3686         (struct _GtkFileChooserDefault): Removed the bookmarks_set and
3687         bookmarks_iter fields.
3688         (shortcuts_append_bookmarks): Use shortcuts_remove_rows().
3689         (bookmarks_changed_cb): Use shortcuts_add_bookmarks().
3690         (remove_bookmark_rows): Removed.
3691         (shortcuts_add_bookmarks): New function; moved most of the code
3692         over from shortcuts_append_bookmarks().
3693         (shortcuts_append_bookmarks): Add the separator node here, and
3694         then call shortcuts_add_bookmarks().
3695
3696 Tue Dec 16 15:01:10 2003  Manish Singh  <yosh@gimp.org>
3697
3698         * gtk/gtkfilechooserwidget.c: fix preprocessor conditional confusion.
3699         (G_OS_UNIX/G_OS_WIN32 stuff)
3700
3701 Tue Dec 16 01:46:46 2003  Matthias Clasen  <maclas@gmx.de>
3702
3703         Do not interpret distant clicks as double-clicks  (#116541,
3704         Bernhard Walle):
3705         
3706         * gdk/gdkdisplay.h (struct GdkDisplay): Add new fields
3707         double_click_distance, button_x and button_y.
3708         * gdk/gdkdisplay.c (gdk_display_init): Initialize the new fields.
3709
3710         * gdk/gdkdisplay.h: 
3711         * gdk/gdkevents.c (gdk_display_set_double_click_distance): 
3712         New function to set the double click distance on a display.
3713
3714         * gdk/gdkevents.c: Take double click distance into account
3715         when generating single, double or triple clicks.
3716
3717         * gtk/gtksettings.c: Add new setting "gtk-double-click-distance".
3718
3719         * gdk/x11/gdkevents-x11.c: Add the XSetting 
3720         "Net/DoubleClickDistance" and map it to "gtk-double-click-distance".
3721
3722 2003-12-15  Federico Mena Quintero  <federico@ximian.com>
3723
3724         * gtk/gtkdialog.c: Sigh, revert the change.
3725
3726 2003-12-15  Federico Mena Quintero  <federico@ximian.com>
3727
3728         * gtk/gtkdialog.c (dialog_has_cancel): Removed.
3729         (gtk_dialog_close): Don't call dialog_has_cancel().  At least
3730         allows sane behavior for #101293.
3731
3732 Mon Dec 15 00:56:54 2003  Matthias Clasen  <maclas@gmx.de>
3733
3734         * gtk/gtkbutton.[hc]: Add new properties, xalign and yalign, with
3735         getter and setter gtk_button_[sg]et_alignment(), to set the
3736         alignment of the child.  (#70961, Jody Goldberg)
3737
3738 2003-12-14  Hans Breuer  <hans@breuer.org>
3739
3740         * gtk/gtkprivate.h gtk/gtkmain.c : handle GTK_DATADIR
3741         similar as the other filesystem placement 'constants' (dynamic
3742         resolving on win32)
3743
3744         * gtk/gtkfilechooserwidget.c : handle file system to win32
3745         renaming here as will
3746         * gtk/gtkfilesystemwin32.c : implement render_icon
3747
3748         * gtk/gtk.def gdk/gdk.def : updated externals
3749
3750         * gdk/win32/gdkdisplay-win32.c : make it compile without
3751         <multimon.h> - i.e. even older sdk
3752
3753         * gdk/win32/gdkevents-win32.c : match resize_timer_proc
3754         with TIMERPROC prototype
3755
3756         * gdk/win32/gdkwindow-win32.c : older msvc does not know
3757         BITMAPV5HEADER (from win xp) either
3758
3759         * gtk/gtkimmodule.c : make it compile even if GTK_LOCALEDIR is
3760         not defined
3761
3762         * tests/testfilechooser.c : recent GLib crashes on 
3763         g_print ("%s", NULL) so avoid this
3764
3765 2003-12-14  Tor Lillqvist  <tml@iki.fi>
3766
3767         * gdk/win32/gdkselection-win32.c: Calls to OpenClipboard() must be
3768         followed by calls to CloseClipboard(). Add a missing call to
3769         CloseClipboard(). Found by Adam Wright, fixes #104944. Use
3770         API_CALL macro in more places.
3771
3772 2003-12-14  Tor Lillqvist  <tml@iki.fi>
3773
3774         Merge from stable:
3775
3776         * gdk/gdkdisplaymanager.c: Mark default_display static.
3777
3778         * gdk/win32/gdkdnd-win32.c: Mark current_dest_drag static.
3779
3780         * gdk/win32/gdkkeys-win32.c: Disable some overly verbose debugging
3781         output.
3782
3783         * gdk/win32/gdkevents-win32.c: Clean up the debugging output from
3784         --gdk-debug=events. In general, output just one line of debugging
3785         output for each Windows message, plus one line for each GDK event
3786         generated. Indent all lines according to window procedure nesting
3787         level.
3788
3789         (inner_window_procedure): Rename from real_window_procedure.
3790
3791         (find_real_window_for_grabbed_mouse_event): Don't get misled when
3792         the point is in the non-client (decoration) area of the window
3793         returned by WindowFromPoint(). Return the root window in that
3794         case.
3795
3796         (build_pointer_event_state): Test also MK_XBUTTON1 and
3797         MK_XBUTTON2 (buttons 4 and 5).
3798
3799         (synthesize_enter_event): Track the mouse leaving the window in
3800         the event being generated, not the one mentioned in the Windows
3801         message.
3802
3803         (propagate): Test for NULL parent earlier. Improves event
3804         generation from a grabbed pointer. Part of fix for #107320.
3805
3806         (handle_stuff_while_moving_or_resizing): New function, to
3807         dispatch the main loop (once).
3808
3809         (resize_timer_proc): New function, set to be called by an inerval
3810         timer during resizes/moves. Calls handle_stuff_while_moving_or_resizing().
3811
3812         (gdk_event_translate): Drop unused return_exposes parameter.
3813
3814         Handle WM_XBUTTONDOWN and UP messages (buttons 4 and 5).
3815
3816         On WM_SYSKEYUP, generate a key release event also for just the Alt
3817         key.
3818
3819         On WM_MOUSELEAVE, generate a leave event of type
3820         GDK_NOTIFY_ANCESTOR (and not UNKNOWN) if the mouse left a
3821         top-level window, and left the app completely.
3822
3823         On WM_ENTERSIZEMOVE, set a flag, and start an interval timer that
3824         calls resize_timer_proc() at regular intervals. On
3825         WM_EXITSIZEMOVE, kill the timer.
3826
3827         On WM_WINDOWPOSCHANGED, generate a configure event if necessary,
3828         and dispatch the main loop (by calling
3829         handle_stuff_while_moving_or_resizing()). Fixes #99540, idea by
3830         Herman Bloggs.
3831
3832         * gdk/win32/gdkmain-win32.c (_gdk_win32_message_to_string): Handle
3833         also wintab messages.
3834
3835         * gdk/win32/gdkwindow-win32.c (gdk_window_set_skip_taskbar_hint):
3836         Instead of using WS_EX_TOOLWINDOW, implement by setting/unsetting
3837         the window's owner. Fixes #118093, reported by Maxime Romano.
3838
3839 Tue Dec  8 09:41:00 2003  Tim Evans  <t.evans@aranz.com>
3840
3841         * gdk/win32/gdkwindow-win32.[ch]: Implement
3842         gdk_window_set_icon_list() for Win32, with support for big and
3843         small icons and support for alpha-channel icons under Windows
3844         XP. Replaces the previous implementation of gdk_window_set_icon().
3845         (#128762)
3846         
3847 Sun Dec 14 01:28:23 2003  Matthias Clasen  <maclas@gmx.de>
3848
3849         * gdk/x11/gdkprivate-x11.h: 
3850         * gdk/x11/gdkx.h: 
3851         * gdk/x11/gdkevents-x11.c (gdk_x11_register_standard_event_type): 
3852         Rename from _gdk_x11_register_event_type(), added API docs.
3853         * gdk/x11/gdkinput-x11.c (_gdk_input_common_init): 
3854         * gdk/x11/gdkimage-x11.c (_gdk_windowing_image_init): Adjust
3855         all callers.  (#121471, Bill Haneman)
3856
3857 Sat Dec 13 23:37:50 2003  Matthias Clasen  <maclas@gmx.de>
3858
3859         * gdk/gdkdraw.c (gdk_draw_pixbuf): Document that the clip mask
3860         of gc is ignored.  (#101983, Sebastian Rittau)
3861
3862 Sat Dec 13 16:13:27 2003  Kristian Rietveld  <kris@gtk.org>
3863
3864         A trick for a faster treeview, step 1. Patch to short circuit
3865         _build_tree(), inspired by Jonathan (#80868).
3866
3867         * gtk/gtktreeview.c (gtk_tree_view_init): don't put _IS_LIST in
3868         flags by default,
3869         (gtk_tree_view_build_tree): don't even try to recurse when the
3870         model says that it is a list, remove flag unsetter,
3871         (gtk_tree_view_set_model): change flag setting logic.
3872
3873         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_get_flags):
3874         propagate whether or not the child model has _IS_LIST set.
3875
3876         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_flags):
3877         ditto.
3878
3879 Sat Dec 13 02:33:17 2003  Matthias Clasen  <maclas@gmx.de>
3880
3881         * gtk/gtkrange.c (gtk_range_scroll): Undo the last change, 
3882         since it broke logical keynav. 
3883         * gtk/gtkrange.c (range_get_scroll_for_grab): Fix stepper
3884         direction in inverted scrollbars here instead.
3885
3886 Sat Dec 13 00:39:24 2003  Matthias Clasen  <maclas@gmx.de>
3887
3888         * gtk/gtkviewport.c (viewport_set_hadjustment_values): Implement
3889         "gravity" for RTL mode in a better way: Keep the distance from 
3890         the upper end of the page to the upper bound constant. This also 
3891         fixes problems with the initial position of the viewport in RTL 
3892         mode.  (#129063)
3893         
3894 Fri Dec 12 21:00:12 2003  Kristian Rietveld  <kris@gtk.org>
3895
3896         Combo box flipping support.
3897
3898         * gtk/gtkcombobox.c (gtk_combo_box_menu_position),
3899         (gtk_combo_box_size_allocate): support RTL flipping (#126518,
3900         patch from Matthias Clasen),
3901         (gtk_combo_box_popup): fix popup window alignment if there's a
3902         cell view frame visible (#126518, patch from Semion Chichelnitsky).
3903
3904         * gtk/gtkcellview.c (gtk_cell_view_expose): support RTL flipping
3905         (#128348, patch from Semion Chichelnitsky).
3906
3907 Fri Dec 12 01:13:34 2003  Matthias Clasen  <maclas@gmx.de>
3908
3909         * examples/gtkdial/gtkdial.c:
3910         * examples/menu/menu.c:
3911         * examples/scribble-xinput/scribble-xinput.c:
3912         * examples/progressbar/progressbar.c:
3913         * docs/tutorial/gtk-tut.sgml: Remove deprecated functions
3914         in examples. (#129074, Olexiy Avramchenko)
3915         * examples/calendar/Makefile:
3916         * examples/rangewidgets/Makefile:
3917         * examples/menu/Makefile: Allow deprecated functions in
3918         examples which use deprecated widgets.
3919
3920 Fri Dec 12 00:43:16 2003  Matthias Clasen  <maclas@gmx.de>
3921
3922         * gdk/gdk.c (gdk_threads_set_lock_functions): 
3923         * gdk/x11/gdkspawn-x11.c: Add "Since: 2.4" to doc comments.
3924
3925 Fri Dec 12 00:05:31 2003  Matthias Clasen  <maclas@gmx.de>
3926
3927         * gtk/gtkrange.c (gtk_range_scroll): Fix direction of 
3928         steppers in inverted scrollbars.  (#129084, Olexiy Avramchenko)
3929
3930 Thu Dec 11 23:50:30 2003  Matthias Clasen  <maclas@gmx.de>
3931
3932         * gtk/gtknotebook.c (gtk_notebook_pages_allocate): Don't 
3933         unnecessarily reserve space for arrows in RTL mode.  (#129075,
3934         Semion Chichelnitsky)
3935
3936 Thu Dec 11 00:35:12 2003  Matthias Clasen  <maclas@gmx.de>
3937
3938         Changes to allow "no input" windows (#64613):
3939         
3940         * gdk/gdkwindow.h (struct _GdkWindowObject): Add a new boolean
3941         field accept_focus.
3942         
3943         * gdk/gdkwindow.h (gdk_window_set_accept_focus): New function to
3944         set it.
3945
3946         * gtk/gtkwindow.[hc]: Add a boolean property "accept_focus"
3947         and gtk_window_get_focus() and gtk_window_set_focus().
3948
3949         * gdk/win32/gdkwindow-win32.c (gdk_window_new): 
3950         * gdk/linux-fb/gdkwindow-fb.c (gdk_window_new): 
3951         * gdk/x11/gdkwindow-x11.c (gdk_window_set_new):
3952         Initialize the accept_focus field to TRUE.
3953
3954         * gdk/win32/gdkwindow-win32.c (gdk_window_set_accept_focus): 
3955         * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_accept_focus): 
3956         * gdk/x11/gdkwindow-x11.c (gdk_window_set_accept_focus): 
3957         Implementations for the various backends. The Win32 and linux-fb
3958         implementations set the accept_focus field, but don't use it yet 
3959         to actually implement noinput windows. The X implementation updates
3960         the WM_HINTS to select the globally active input model (see the
3961         ICCCM) if accept_focus is FALSE.
3962
3963         * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Ignore the
3964         WM_TAKE_FOCUS message if accept_focus is FALSE.
3965         
3966 2003-12-10  Federico Mena Quintero  <federico@ximian.com>
3967
3968         * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
3969         Added toolbar items for the filter separator and the filter item.
3970         (toolbar_create): Add the filter widgets here.
3971         (filter_create): Renamed from create_filter().  Don't store the
3972         alignment in the impl structure, just return it.
3973         (toolbar_show_filters): New function.
3974         (gtk_file_chooser_default_add_filter): Use toolbar_show_filters().
3975         (gtk_file_chooser_default_remove_filter): Likewise.
3976         (gtk_file_chooser_default_constructor): Don't create the filter
3977         widget here.
3978         (struct _GtkFileChooserDefault): Added a field for a current
3979         folder label.
3980         (gtk_file_chooser_default_constructor): Create the folder label.
3981         (gtk_file_chooser_default_set_current_folder): Set the current
3982         folder label.
3983
3984         * tests/testfilechooser.c (main): Dramatically improved the
3985         usability of the extra widget through careful word choice.
3986
3987 2003-12-10  Mark McLoughlin  <mark@skynet.ie>
3988
3989         * gdk/gdk.h: include gdkspawn.h.
3990
3991 2003-12-10  Mark McLoughlin  <mark@skynet.ie>
3992
3993         * gdk/linux-fb/gdkspawn-fb.c,
3994           gdk/win32/gdkspawn-win32.c,
3995           gdk/x11/gdkspawn-x11.c: (gdk_spawn_command_line_on_screen):
3996         s/gdk_spawn/gdk_spawn_on_screen/.
3997
3998 2003-12-10  Mark McLoughlin  <mark@skynet.ie>
3999
4000         Utility functions for multi-screen applications which need
4001         to ensure launched applications appear on a certain screen.
4002         See bug #95897.
4003         
4004         * gdk/gdkspawn.h: header for multi-screen launching
4005         support.
4006         
4007         * gdk/Makefile.am: install gdkspawn.h.
4008         
4009         * gdk/x11/Makefile.am:
4010         * gdk/x11/gdkspawn-x11.c:
4011         (gdk_spawn_make_environment_for_screen): private function
4012         to create an environment vector with DISPLAY set appropriately
4013         for the screen.
4014         (gdk_spawn_on_screen): multi-screen version of g_spawn_async().
4015         (gdk_spawn_on_screen_with_pipes): version of g_spawn_async_with_pipes().
4016         (gdk_spawn_command_line_on_screen): version of g_spawn_command_line_async().
4017         
4018         * gdk/linux-fb/Makefile.am,
4019           gdk/linux-fb/gdkspawn-fb.c: linux-fb impl.
4020         
4021         * gdk/win32/Makefile.am,
4022           gdk/win32/gdkspawn-win32.c: win32 impl.
4023
4024 2003-12-09  Federico Mena Quintero  <federico@ximian.com>
4025
4026         * gtk/gtkfilechooserdefault.c (shortcuts_append_home): Use "Home"
4027         rather than "Username's Home" (#125964).
4028         (shortcuts_selection_changed_cb): New callback, check the
4029         sensitivity of the Remove Bookmark button at the right time.
4030         (shortcuts_row_activated_cb): It is not necessary to check the
4031         sensitivity here.
4032
4033 Wed Dec 10 00:06:24 2003  Matthias Clasen  <maclas@gmx.de>
4034
4035         Improve the GDK API for dealing with group leaders (#119375):
4036         
4037         * gdk/gdkwindow.h: 
4038         * gdk/x11/gdkwindow-x11.c (gdk_window_get_group): New function to 
4039         get the group leader of a toplevel window as a GdkWindow.
4040
4041         * gdk/gdkdisplay.h: 
4042         * gdk/x11/gdkdisplay-x11.c (gdk_display_get_default_group): New 
4043         function to get the default group leader as a GdkWindow.
4044
4045         * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add a field for
4046         the GdkWindow of the default group leader.
4047         
4048         * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Construct the GdkWindow
4049         for the default group leader.
4050
4051 2003-12-09  Noah Levitt  <nlevitt@columbia.edu>
4052
4053         * gdk/gdkkeysyms.h:
4054         * gdk/gdkkeyuni.c: Add keysyms Ukrainian_ghe_with_upturn,
4055         Ukrainian_GHE_WITH_UPTURN. (#128529)
4056
4057 2003-12-08  Jan Arne Petersen  <jpetersen@uni-bonn.de>
4058
4059         * gtk/gtkfilechooserdefault.c:
4060         (gtk_file_chooser_default_get_paths), (entry_activate): Use the
4061         behavior of the GtkFileSelection to determine selected paths in
4062         single selected, GTK_FILE_CHOOSER_ACTION_SAVE mode.
4063
4064 2003-12-08  Federico Mena Quintero  <federico@ximian.com>
4065
4066         * gtk/gtkfilechooserdefault.c
4067         (gtk_file_chooser_default_get_paths): Don't declare the closure
4068         struct twice.
4069         (get_paths_foreach): Likewise.
4070
4071 Tue Dec  9 00:12:36 2003  Matthias Clasen  <maclas@gmx.de>
4072
4073         * gtk/gtkfilesystemwin32.[hc]: s/Unix/Win32/g. 
4074
4075 2003-12-08  Tor Lillqvist  <tml@iki.fi>
4076
4077         * gdk/win32/gdkdisplay-win32.c: Use <multimon.h> when compiling
4078         with MSVC and old headers. (#126933, John Ehresman)
4079
4080 Mon Dec  8 10:54:44 2003  Owen Taylor  <otaylor@redhat.com>
4081          
4082         * === Released 2.3.1 ===
4083
4084         * NEWS: Updates for 2.3.1
4085
4086         * configure.in: Version 2.3.1, interface age 0, binary age 301.
4087
4088         * gtk/gtkmenuitem.c (gtk_menu_item_can_activate_accel):
4089         Rename from gtk_menu_item_real_can_activate_accel() to
4090         match GTK+ convention, improve comment.
4091
4092         * gtk/gtkwidget.c: Document gtk_widget_can_activate_accel(),
4093         can ::can-activate-accel signal.
4094
4095         * gtk/gtkwidget.c (closure_accel_activate): Fix spelling
4096         in comment.
4097
4098         * gtk/gtkmenu.c (gtk_menu_real_can_activate_accel): Clean 
4099         up comment.
4100         
4101         * gtk/gtkcellview{,menuitem}.[ch]: Move GET_PRIVATE() macros
4102         into the .c file.
4103
4104 Mon Dec  8 12:09:21 2003  Owen Taylor  <otaylor@redhat.com>
4105
4106         * gtk/gtkicontheme.c (find_builtin_icon): Fix a
4107         missing 'else'. (#128816, Jorn Baayen)
4108
4109 2003-12-02  Michael Meeks  <michael@ximian.com>
4110
4111         Based on a patch by Martin Kretzschmar; #122448
4112         
4113         * gdk/gdk.h: new gdk_threads_lock, gdk_threads_unlock, point to
4114         implementation of GDK_THREADS_ENTER / GDK_THREADS_LEAVE.
4115         (GDK_THREADS_ENTER, GDK_THREADS_LEAVE): use gdk_threads_[un]lock
4116         function pointers. Deprecate the global gdk_threads_mutex variable.
4117         
4118         * gdk/gdk.c (gdk_threads_impl_lock, gdk_threads_impl_unlock): new,
4119         extracted from GTK_THREADS_ENTER/LEAVE macros.
4120         (gdk_threads_init): init gtk_threads_[un]lock if not set.
4121         (gdk_threads_set_lock_functions): impl.
4122
4123         * gdk/gdkglobals.c: add definitions of gdk_threads_[un]lock.
4124
4125 Sun Dec  7 23:45:40 2003  Matthias Clasen  <maclas@gmx.de>
4126
4127         * gtk/gtkicontheme.c (gtk_icon_theme_has_icon): Don't crash if
4128         icon_theme_builtin_icons hasn't been initialized.  (#128726, Diego
4129         Gonzalez)
4130
4131 2003-12-07  Tor Lillqvist  <tml@iki.fi>
4132
4133         * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon): Don't use the
4134         return value from SendMessage(WM_SETICON). That is the old
4135         icon. Fixes GDI resource leak. (#128559, Tim Evans)
4136
4137         * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): If we already
4138         have a pointer grab active with a grab cursor set, destroy that
4139         cursor to avoid a GDI resource leak. (#128410, Tim Evans)
4140
4141 2003-12-05  Paisa Seeluangsawat  <paisa@users.sf.net>
4142
4143         * configure.in: Added Thai (th) to ALL_LINGUAS.
4144
4145 Sat Dec  6 01:42:04 2003  Matthias Clasen  <maclas@gmx.de>
4146
4147         * gtk/gtkalignment.c (gtk_alignment_size_allocate): Implement
4148         RTL flipping for GtkAlignment.  (#127585)
4149
4150 Sat Dec  6 01:13:09 2003  Matthias Clasen  <maclas@gmx.de>
4151
4152         * gtk/gtkcombo.c (gtk_combo_get_pos): Fix the position of the 
4153         popup window when in RTL mode.  (#127578)
4154
4155 Fri Dec  5 15:30:16 2003  Manish Singh  <yosh@gimp.org>
4156
4157         * gtk/gtkaccelgroup.c (quick_accel_find): Applied patch from
4158         Ross McFarland <rwmcfa1@neces.com>, initialize *count_p to 0
4159         before doing anything to prevent garbage returns.
4160
4161 Sat Dec  6 00:23:46 2003  Matthias Clasen  <maclas@gmx.de>
4162
4163         * gtk/gtkviewport.c: Implement RTL flipping for 
4164         GtkViewport: Adjust the "gravity" when resizing
4165         This is a bit flickery in RTL mode.  (#107526)
4166
4167 Sat Dec  6 00:22:14 2003  Matthias Clasen  <maclas@gmx.de>
4168
4169         * gtk/gtkscrolledwindow.c: Implement RTL flipping for 
4170         GtkScrolledWindow: the vertical scrollbar shows up on the left
4171         side in RTL mode.  (#107526)
4172
4173 Fri Dec  5 01:58:33 2003  Matthias Clasen  <maclas@gmx.de>
4174
4175         * gtk/gtknotebook.c: Implement RTL flipping for GtkNotebook:
4176         tabs displayed at the top/bottom are rearranged, and tabs on
4177         the left/right are displayed at the opposite edge.  (#96630)
4178
4179 2003-12-04  Mark McLoughlin  <mark@skynet.ie>
4180
4181         * gtk/gtklabel.c: (gtk_label_set_attributes_internal): Allow
4182         gtk_label_set_attributes() take NULL. See bug #128517.
4183
4184 2003-12-03  Federico Mena Quintero  <federico@ximian.com>
4185
4186         * gtk/gtkfilechooserentry.c (struct _GtkFileChooserEntry): Removed
4187         the in_change flag.
4188         (completion_idle_callback): Use a temporary list store and re-set
4189         it on the completion rather than modifying the old one.  We are
4190         re-reading the folder anyway, and this gets rid of non-atomicity
4191         problems.
4192
4193 2003-12-01  Federico Mena Quintero  <federico@ximian.com>
4194
4195         Decouple impl->current_folder from the selection in the folder
4196         tree.  This is so that going to /home/federico/.foo (e.g. from a
4197         bookmark) will work even if show_hidden == FALSE.  The folder tree
4198         needs to be fixed in this case to show such folders explicitly.
4199
4200         * gtk/gtkfilechooserdefault.c
4201         (gtk_file_chooser_default_set_current_folder): When changing
4202         folders, do the entry and list model work here, instead of
4203         tree_selection_changed().
4204         (struct _GtkFileChooserDefault): Added a changing_folder flag
4205         again, dum de dum.
4206         (tree_selection_changed): Use _gtk_file_chooser_set_current_folder_path().
4207
4208 Tue Dec  2 01:01:54 2003  Matthias Clasen  <maclas@gmx.de>
4209
4210         * gtk/gtkiconfactory.h: Remove duplicate declaration of 
4211         gtk_icon_source_set_icon_name().  (#Jeff Franks, #128269)
4212
4213 2003-12-01  Federico Mena Quintero  <federico@ximian.com>
4214
4215         Patch from Hans-Petter Jansson <hpj@ximian.com> to align the
4216         bookmarks buttons with the location entry.
4217
4218         * gtk/gtkfilechooserdefault.c
4219         (gtk_file_chooser_default_constructor): Use a GtkSizeGroup for the
4220         bookmarks buttons and the location entry.
4221
4222 2003-12-01  Federico Mena Quintero  <federico@ximian.com>
4223
4224         * gtk/gtkfilechooserdefault.c (create_shortcuts_tree): Set the
4225         shortcuts tree as a drag destination.
4226         (shortcuts_drag_data_received_cb): New callback.
4227         (get_file_info): Also fetch information on whether the file is a folder.
4228         (add_bookmark_button_clicked_cb): Use error_could_not_add_bookmark_dialog().
4229         (error_could_not_add_bookmark_dialog): New function.
4230         (shortcuts_add_bookmark_from_path): New helper function.
4231         (add_bookmark_button_clicked_cb): Use shortcuts_add_bookmark_from_path().
4232         (shortcuts_row_activated): We no longer need the changing_folder flag.
4233         (struct _GtkFileChooserDefault): Likewise.
4234
4235 Sun Nov 30 17:31:32 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
4236
4237         * gtk/gtktoolbar.c (slide_idle_handler): return TRUE if there are
4238         disappearing placeholders that are still visible.
4239
4240         * gtk/gtktoolbar.c: formatting fixes
4241
4242         * gtk/gtktoolbar.c (struct _ToolbarContent): new bit:
4243         disappearing, for placeholders that are going to disappear.
4244
4245         * gtk/gtktoolbar.c (get_item_size): return 0 for disappearing placeholders
4246
4247 Sat Nov 29 00:55:28 2003  Jonathan Blandford  <jrb@gnome.org>
4248
4249         * gtk/gtktreeview.c (gtk_tree_view_new_column_width): 
4250         * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
4251         Patch from <chinen@jp.ibm.com> to handle RTL support for column
4252         resizers, #127874
4253
4254 Fri Nov 28 00:26:24 2003  Matthias Clasen  <maclas@gmx.de>
4255
4256         * gtk/gtkfilesystemmodel.c (gtk_file_system_model_finalize): 
4257         Don't use freed memory.  (#127698, Taavi Talvik) 
4258
4259 Fri Nov 28 00:09:10 2003  Matthias Clasen  <maclas@gmx.de>
4260
4261         * gtk/gtkfilechooserentry.c: Remove debug g_print()s. 
4262
4263 Thu Nov 27 22:17:50 2003  Matthias Clasen  <maclas@gmx.de>
4264
4265         * gtk/gtkuimanager.c: Remove debug define.
4266
4267 Thu Nov 27 16:19:03 2003  Tim Janik  <timj@gtk.org>
4268
4269         * gtk/gtkmenu.c: allow accel activation depending on sensitivity
4270         and the attach widget.
4271
4272         * gtk/gtkmenuitem.c: allow accel activation depending on visibility,
4273         sensitivity and the parent menu.
4274
4275         * gtk/gtkwidget.[hc]: introduced ::can-activate-accel signal which
4276         checks whether accelerators may activate a widget. the default handler
4277         demands the widget be sensitive and visible+viewable.
4278
4279         * gtk/gtkaccelgroup.[hc]: export gtk_accel_group_activate().
4280
4281 Tue Nov 25 00:10:05 2003  Matthias Clasen  <maclas@gmx.de>
4282
4283         * gtk/gtkuimanager.c (update_node): Don't show accelerators in
4284         popup menus.  (#127227)
4285
4286 Mon Nov 24 13:47:39 GMT 2003  Tony Gale <gale@gtk.org>
4287
4288         * docs/faq/gtk-faq.sgml: start 2.x Section 4 updates
4289
4290 Mon Nov 24 04:05:15 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
4291
4292         * gtk/gtkradiotoolbutton.[ch]
4293         (gtk_radio_tool_button_new_from_widget): Make this function take a
4294         GtkRadioToolButton instead of a GtkWidget. (#127729, Murray
4295         Cumming)
4296
4297 Mon Nov 24 02:34:00 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
4298
4299         * gtk/gtktoolbar.c: remove variables in_dnd and leaving_dnd
4300
4301 Mon Nov 24 02:19:33 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
4302
4303         * gtk/gtktoolbar.c: remove variable
4304         n_overflowed_menu_items_when_dnd_started
4305
4306 Mon Nov 24 01:47:10 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
4307
4308         Rework sliding algorithm.
4309         - No more weird jumping when items are dragged off and added to
4310         the toolbar,
4311         - More natural item movement
4312
4313         * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Many changes. This
4314         function is now responsible for calculating intermediate positions
4315         during item sliding. It is also responsible for starting sliding
4316         if items disappear.  Also turn off expanding when there is an
4317         overflow menu.
4318         (gtk_toolbar_begin_sliding, stop_sliding): New functions.
4319         (slide_idle_handler): New function. All the sliding is now done by
4320         gtk_toolbar_size_allocate(), so the idle handler now just checks
4321         if there is more sliding to be done.
4322         (compute_intermediate_allocation, position): new functions
4323         calculating intermediate steps in the slide animations. The new
4324         animation algorithm uses a constant speed instead of a constant
4325         must-be-finished-within time.
4326         (struct _ToolbarContent): use 
4327         GtkAllocation goal_allocation; and 
4328         GtkAllocation start_allocation; instead of 
4329         gint start/goal_width;
4330
4331         * gtk/gtktoolitem.c (gtk_tool_item_set_tooltip): fix typo in
4332         documentation
4333
4334 Sun Nov 23 22:26:25 2003  Matthias Clasen  <maclas@gmx.de>
4335
4336         * gtk/gtktooltips.c (gtk_tooltips_draw_tips): Make tooltip 
4337         positioning Xinerama-aware.  (#127332)
4338
4339 Fri Nov 21 01:57:21 2003  Matthias Clasen  <maclas@gmx.de>
4340
4341         * gdk/x11/gdkscreen-x11.c (init_xinerama_support): Make monitor
4342         boundaries visible in fake Xinerama mode.
4343
4344 Thu Nov 20 15:41:56 2003  Manish Singh  <yosh@gimp.org>
4345
4346         * gtk/gtkmenu.c (gtk_menu_set_tearoff_state): cast to GTK_WIDGET()
4347         for the gtk_widget_hide() call.
4348
4349 Thu Nov 20 14:51:41 2003  Jonathan Blandford  <jrb@redhat.com>
4350
4351         * gtk/gtktreedatalist.c (gtk_tree_data_list_compare_func): Patch
4352         from David Hampton to fix sorting on booleans.
4353
4354 Thu Nov 20 15:48:03 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
4355
4356         * gtk/gtksocket.c (gtk_socket_focus): Use gtk_widget_is_focus()
4357         instead of GTK_WIDGET_HAS_FOCUS. (#122327, Owen Taylor. Reported
4358         by Frederic Crozat).
4359
4360 Thu Nov 20 13:10:29 GMT 2003  Tony Gale <gale@gtk.org>
4361
4362         * docs/faq/gtk-faq.sgml: Update Section 3 to 2.x
4363
4364 2003-11-19  Federico Mena Quintero  <federico@ximian.com>
4365
4366         Fixes to problems reported by Iain Holmes:
4367
4368         * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Do not
4369         throw up an error dialog if the desktop doesn't exist.
4370         (error_message): Handle the case where there is no real toplevel
4371
4372         yet.
4373         (list_model_filter_func): Always let folders pass through (patch
4374         by Dave Malcolm).
4375
4376 Wed Nov 19 23:19:23 2003  Kristian Rietveld  <kris@gtk.org>
4377
4378         * gtk/gtkcombobox.[ch] (gtk_combo_box_scroll_event): move function
4379         to a somewhat more logical place,
4380         (gtk_combo_box_remove_text): New function (#125262, Owen Taylor).
4381
4382 Wed Nov 19 22:15:01 2003  Kristian Rietveld  <kris@gtk.org>
4383
4384         * gtk/gtkentry.c (gtk_entry_completion_timeout): always resize
4385         the popup when it is visible, popdown when there are less chars
4386         than the minimum key length in the entry,
4387         (gtk_entry_completion_changed): popdown when the entry is empty.
4388
4389         * gtk/gtkentrycompletion.c (gtk_entry_completion_init): set the
4390         size request of the vscrollbar to (-1, 0), to get a nicely sized
4391         completion treeview (Fixes #126573, reported by Piers Cornwell),
4392         (_gtk_entry_completion_resize_popup): show/hide the action_view
4393         based on items.
4394
4395 2003-11-19  Federico Mena Quintero  <federico@ximian.com>
4396
4397         * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_init): Turn
4398         off the dialog's separator (thanks to Iain Holmes).
4399
4400 Wed Nov 19 18:15:00 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
4401
4402         * gtk/gtkmenu.c (DEFAULT_POPUP_DELAY): set to 200 instead of 225
4403         * gtk/gtkmenuitem.c (get_minimum_width): Impose a minimum width
4404         on items that have a submenu. (#120104).
4405
4406 Wed Nov 19 18:11:08 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
4407
4408         * gtk/gtktoolbar.c (struct _ToolbarContent): Add a new
4409         "ItemState" field indicating the overflowed-ness etc. of the item.
4410         (gtk_toolbar_size_allocate): update the field here.
4411
4412 2003-11-19  Federico Mena Quintero  <federico@ximian.com>
4413
4414         * gtk/gtkfilechooserdefault.c (create_filter): Don't add padding
4415         to the alignment.  Use the HIG-specified spacing between the
4416         filter label and the combo.
4417         (create_filename_entry): Use HIG-specified spacing between the
4418         location label and the entry.
4419         (gtk_file_chooser_default_constructor): Don't use vertical padding
4420         around the filename entry.
4421
4422 2003-11-19  Federico Mena Quintero  <federico@ximian.com>
4423
4424         * gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Added a
4425         render_icon virtual method.
4426
4427         * gtk/gtkfilesystem.c (gtk_file_system_render_icon): New function.
4428
4429         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_render_icon):
4430         Implement as a stub for now.
4431
4432         * gtk/gtkfilechooserdefault.c (shortcuts_insert_path): Use
4433         gtk_file_system_render_icon().
4434         (list_icon_data_func): Likewise.
4435         (toolbar_create): Set the toolbar style to icons only.
4436
4437         * gtk/gtkfilechooser.c (gtk_file_chooser_add_shortcut_folder_uri):
4438         Fix doc comments.
4439
4440 Wed Nov 19 02:18:37 2003  Matthias Clasen  <maclas@gmx.de>
4441
4442         * gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Call 
4443         gtk_widget_hide(menu) when reattaching the menu.  (#126057) 
4444
4445 Wed Nov 19 00:06:04 2003  Kristian Rietveld  <kris@gtk.org>
4446
4447         * gtk/gtkentrycompletion.c (gtk_entry_completion_selection_changed):
4448         only unselect all items if the treeview has focus. (Fixes bug
4449         reported by Marco Pesenti Gritti).
4450
4451 Tue Nov 18 22:26:30 2003  Kristian Rietveld  <kris@gtk.org>
4452
4453         * gtk/gtkentry.c (gtk_entry_completion_key_press): the total
4454         number of actions is "matches + actions - 1". (Fixes #126572).
4455
4456 Tue Nov 18 21:05:05 2003  Christian Persch  <chp@cvs.gnome.org>
4457
4458         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted): fix
4459         mem leaks (#119435).
4460
4461 Tue Nov 18 20:51:38 2003  Kristian Rietveld  <kris@gtk.org>
4462
4463         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_deleted): don't
4464         try to fetch the child back, since we do know that it is already
4465         gone by now (#126493, Marco Pesenti Gritti).
4466
4467 Tue Nov 18 19:47:59 2003  Kristian Rietveld  <kris@gtk.org>
4468
4469         Fixes based on comments from Owen Taylor, #125264.
4470
4471         * gtk/gtkcellview.[ch] (gtk_cell_view_finalize): remove unused
4472         variable,
4473         (gtk_cell_view_set_value), (gtk_cell_view_set_displayed_model): queue
4474         a resize,
4475         (gtk_cell_view_get_size_of_row): new function,
4476         (gtk_cell_view_set_value), (gtk_cell_view_set_valuesv),
4477         (gtk_cell_view_set_values), (gtk_cell_view_set_model),
4478         (gtk_cell_view_set_displayed_row), (gtk_cell_view_get_displayed_row):
4479         s/cellview/cell_view/ in the function definitions, so they match
4480         with the header file.
4481
4482         * gtk/gtkcombobox.c (gtk_combo_box_remeasure): remove the resize
4483         flag again (:, and use gtk_cell_view_get_size_of_row instead of
4484         the measurer, remove _set_size_request call,
4485         (gtk_combo_box_calc_requested_width): use gtk_cell_view_get_size_of_row
4486         instead of the measurer,
4487         (gtk_combo_box_style_set): queue a resize,
4488         (gtk_combo_box_size_request): update of _remeasure call,
4489         (gtk_combo_box_init), (gtk_combo_box_cell_layout_pack_start),
4490         (gtk_combo_box_cell_layout_pack_end),
4491         (gtk_combo_box_cell_layout_clear),
4492         (gtk_combo_box_set_model): get rid of the measurer,
4493         (gtk_combo_box_cell_layout_add_attribute),
4494         (gtk_combo_box_cell_layout_set_cell_data_func),
4495         (gtk_combo_box_cell_layout_clear_attributes): ditto and queue a
4496         resize instead of calling _remeasure.
4497
4498 Mon Nov 17 16:25:04 2003  Manish Singh <yosh@gimp.org>
4499
4500         * gdk-pixbuf/Makefile.am
4501         * modules/input/Makefile.am: Use install-data-hook for
4502         gdk-pixbuf.loaders and gtk.immodules install generation targets.
4503         Fixes #112806.
4504
4505         * gtk/gtkexpander.h: Apply missing declarations from #124449.
4506
4507 Tue Nov 18 00:12:55 2003  Matthias Clasen  <maclas@gmx.de>
4508
4509         Fix for #119555, Peter Zelezny:
4510         
4511         * gdk/gdkdrawable.h: Declare gdk_drawable_copy_to_image.
4512         * gdk/gdkdraw.c (gdk_drawable_copy_to_image): Make public
4513         by removing the _ prefix. 
4514         * gdk/gdkdraw.c, gdk/gdkpixbuf-drawable.c, gdk/gdkpixmap.c, 
4515         gdk/gdkwindow.c: Adjust all callers.
4516
4517 Mon Nov 17 23:36:02 2003  Matthias Clasen  <maclas@gmx.de>
4518
4519         * gtk/gtkaction.c (gtk_action_activate): Only activate if 
4520         the action is sensitive.  (#127187, Christian Persch)
4521
4522 Mon Nov 17 23:23:49 2003  Matthias Clasen  <maclas@gmx.de>
4523
4524         * gtk/gtkcombobox.c: Add mouse wheel support.  (#126517)
4525
4526 Mon Nov 17 22:56:09 2003  Kristian Rietveld  <kris@gtk.org>
4527
4528         * gtk/gtkentryprivate.h: add _gtk_entry_completion_resize_popup.
4529
4530         * gtk/gtkentry.c (gtk_entry_completion_timeout): popup when not
4531         mapped, else resize_popup.
4532
4533         * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup),
4534         (_gtk_entry_completion_popup): moved all popup resizing code to
4535         _gtk_entry_completion_resize_popup, and show the window when there
4536         are more than zero items in the completion list again (sigh).
4537
4538 2003-11-17  Mark McLoughlin  <mark@skynet.ie>
4539
4540         Patch from Jaiserca <jaiserca@inf.upv.es> to add a
4541         "use_markup" property. See bug #124449.
4542
4543         * gtk/gtkexpander.c:
4544         (gtk_expander_class_init),
4545         (gtk_expander_init), (gtk_expander_set_property),
4546         (gtk_expander_get_property), (gtk_expander_set_label),
4547         (gtk_expander_set_use_markup),  (gtk_expander_get_use_markup):
4548         Add a "use_markup" property and use it when creating the
4549         child label.
4550
4551 Mon Nov 17 12:58:32 2003  Kristian Rietveld  <kris@gtk.org>
4552
4553         Temporary size requisition fix. Will fix it for real tonight.
4554
4555         * gtk/gtkcombobox.c (gtk_combo_box_remeasure): add a resize flag,
4556         (gtk_combo_box_size_request): use gtk_combo_box_remeasure to determine
4557         a good width for the child,
4558         (gtk_combo_box_cell_layout_add_attribute),
4559         (gtk_combo_box_set_cell_data_func),
4560         (gtk_combo_box_cell_layout_clear_attributes): update.
4561
4562 Mon Nov 17 00:11:21 2003  Kristian Rietveld  <kris@gtk.org>
4563
4564         Fixes #124373, Murray Cumming.
4565
4566         * gtk/gtkcombobox.[ch] (gtk_combo_box_class_init): the model property
4567         is no longer construct only,
4568         (gtk_combo_box_unset_model), (gtk_combo_box_set_model_internal),
4569         (gtk_combo_box_menu_fill): new functions,
4570         (gtk_combo_box_menu_setup), (gtk_combo_box_menu_destroy),
4571         (gtk_combo_box_menu_row_*), (gtk_combo_box_list_setup),
4572         (gtk_combo_box_list_destroy): updated,
4573         (gtk_combo_box_new), (gtk_combo_box_new_with_model): new/changed
4574         functions,
4575         (gtk_combo_box_set_model): is now public, updated,
4576         (gtk_combo_box_get_model): small update.
4577
4578         * gtk/gtkcomboboxentry.[ch] (gtk_combo_box_entry_class_init): the
4579         text_column property is no longer construct only,
4580         (gtk_combo_box_entry_set_text_column): now public,
4581         (gtk_combo_box_entry_new), (gtk_combo_box_entry_new_with_model):
4582         new/changed functions.
4583
4584         * tests/testcombo.c: updated.
4585
4586 Sun Nov 16 22:50:58 2003  Matthias Clasen  <maclas@gmx.de>
4587
4588         Reinstate fixes for (#124212, Marco Pesenti Gritti):
4589         
4590         * gtk/gtkuimanager.c (update_smart_separators): Don't spit 
4591         warnings for popups.
4592         (_gtk_menu_is_empty): Return FALSE for non-menus.
4593
4594 Sun Nov 16 21:48:40 2003  Kristian Rietveld  <kris@gtk.org>
4595
4596         * gtk/gtkcellview.c (gtk_cell_view_finalize): just call
4597         gtk_cell_view_cell_layout_clear instead of trying to free the
4598         structure ourselves here. (#125726, Morten Welinder).
4599
4600 Sun Nov 16 00:35:29 2003  Matthias Clasen  <maclas@gmx.de>
4601
4602         * gtk/gtkfilechooser.[hc]: 
4603         * gtk/gtkentrycompletion.h: Fix parameter name mismatches which
4604         confuse gtk-doc.
4605
4606 2003-11-15  Hans Breuer  <hans@breuer.org>
4607
4608         * gdk/makefile.msc gdk/gdk.def 
4609             gtk/gtk.def gtk/makefile.msc.in : updated
4610         * tests/makefile.msc : added all the new tests
4611
4612         * gtk/gtkfilefilter.c(finalize) : initialize filter
4613         from object not from itself
4614
4615         * gtk/gtkfilesystemwin32.[hc] : copied from gtkfilesystemunix.[hc]
4616         modified as less as posible to have aworking implementation
4617         on win32. There maybe the desire to merge the unchanged pats into
4618         a common base class.
4619         Also implemented a simple glib based bookmark handling, which
4620         is currently missing in gtkfilesystemunix.[hc] but can be copied
4621         over there.
4622         * gtk/gtkfilechooserwidget.c : conditional include gtkfilesystemwin32.h
4623
4624         * gdk/win32/gdkwindow-win32.c : implement 
4625         gdk_window_set_keep_above() and gdk_window_set_keep_below()
4626
4627         * tests/testmerge.c : don't include unistd.h unconditionally,
4628         #define STDOUT_FILENO if it isn't defined
4629
4630         * tests/testfilechooser.c : make it compile on win32
4631
4632 2003-11-15  Tor Lillqvist  <tml@iki.fi>
4633
4634         * gdk/win32/gdkwindow-win32.c (gdk_window_focus): If the window is
4635         maximized, use SW_SHOWMAXIMIZED. (#126986, John Ehresman)
4636
4637 Thu Nov 13 12:55:29 GMT 2003  Tony Gale <gale@gtk.org>
4638
4639         * docs/faq/gtk-faq.sgml: Update the rest of Section 2
4640
4641 Thu Nov 13 01:46:32 2003  Matthias Clasen  <maclas@gmx.de>
4642
4643         * gtk/gtkicontheme.c (gtk_icon_theme_init): Use 
4644         GTK_DATADIR/{icons,pixmaps} instead of 
4645         GTK_DATA_PREFIX/{icons,pixmaps}.  (#123365, Marco Pesenti Gritti)
4646
4647 Wed Nov 12 21:40:10 2003  Matthias Clasen  <maclas@gmx.de>
4648
4649         Changes to improve menu positioning on Xinerama (#108328, #126150):
4650         
4651         * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Use the event 
4652         window of the menuitem to determine the monitor. This fixes some
4653
4654         * gtk/gtkmenu.c (struct _GtkMenuPrivate): Add a menu_num field
4655         to store the monitor on which the menu is to be positioned.
4656
4657         * gtk/gtkmenu.[hc] (gtk_menu_position): Store the monitor number
4658         in the GtkMenuPrivate struct and fetch the monitor geometry after
4659         calling the position_func, in case it has been changed.
4660
4661         * gtk/gtkmenu.c (gtk_menu_set_monitor): New function 
4662         to be used in GtkMenuPositionFunc implementations for setting
4663         the monitor_num field in GtkMenuPrivate.
4664
4665         * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Call 
4666         gtk_menu_set_monitor.
4667
4668 Wed Nov 12 21:00:10 2003  Matthias Clasen  <maclas@gmx.de>
4669
4670         * gtk/gtkinputdialog.c (gtk_input_dialog_init): Clarify the
4671         label for the empty list. String change.  (#95446, Tomas Ã–gren)
4672
4673 Wed Nov 12 20:57:50 2003  Matthias Clasen  <maclas@gmx.de>
4674
4675         * gtk/gtkicontheme.h (enum GtkIconLookupFlags): Correct
4676         the definition of the values.  (#123361, Marco Pesenti Gritti)
4677
4678 Wed Nov 12 20:54:02 2003  Matthias Clasen  <maclas@gmx.de>
4679
4680         * gdk/gdkkeyuni.c: Map KP_Separator to ','.
4681         (#122941, Egmont Koblinger)
4682
4683 2003-11-12  Padraig O'Briain  <padraig.obriain@sun.com>
4684
4685         *gtk/gtkcolorsel.c (gtk_color_selection_init): Add tooltip for
4686         opacity entry widget. Change tooltip for opacity widgets. (#126426)
4687
4688 2003-11-12  Padraig O'Briain  <padraig.obriain@sun.com>
4689
4690         * gtk/gtkmenu.c (gtk_menu_popup): Do not let pointer position
4691         affect window menu position when popped from keyboard. (#102660)
4692
4693 Wed Nov 12 01:29:32 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
4694
4695         * gtk/gtktoolbar.c (gtk_toolbar_internal_insert_element): When we
4696         are using the old API, make all items "is_important". That way
4697         BOTH_HORIZ will continue to show both icon and label in old API
4698         mode.
4699
4700 Mon Nov 10 00:40:41 2003  Matthias Clasen  <maclas@gmx.de>
4701
4702         * gtk/gtkeventbox.c (gtk_event_box_set_above_child): 
4703         Remember the new value in all cases.  (#126276, Damon Chaplin)
4704
4705 Sat Nov  8 23:06:02 2003  Matthias Clasen  <maclas@gmx.de>
4706
4707         * demos/gtk-demo/main.c (row_activated_cb): Call the do_
4708         functions with the toplevel as argument.
4709
4710         * demos/gtk-demo/geninclude.pl.in: Change the signature
4711         of GDoDemoFunc to take a widget argument
4712
4713         * demos/gtk-demo/ui_manager.c (do_ui_manager): 
4714         * demos/gtk-demo/tree_store.c (do_tree_store): 
4715         * demos/gtk-demo/textview.c (do_textview): 
4716         * demos/gtk-demo/stock_browser.c (do_stock_browser): 
4717         * demos/gtk-demo/sizegroup.c (do_sizegroup): 
4718         * demos/gtk-demo/pixbufs.c (do_pixbufs): 
4719         * demos/gtk-demo/panes.c (do_panes): 
4720         * demos/gtk-demo/menus.c (do_menus): 
4721         * demos/gtk-demo/list_store.c (do_list_store): 
4722         * demos/gtk-demo/images.c (do_images): 
4723         * demos/gtk-demo/hypertext.c (do_hypertext): 
4724         * demos/gtk-demo/editable_cells.c (do_editable_cells): 
4725         * demos/gtk-demo/drawingarea.c (do_drawingarea): 
4726         * demos/gtk-demo/dialog.c (do_dialog): 
4727         * demos/gtk-demo/colorsel.c (do_colorsel): 
4728         * demos/gtk-demo/changedisplay.c (do_changedisplay): 
4729         * demos/gtk-demo/button_box.c (do_button_box): 
4730         * demos/gtk-demo/appwindow.c (do_appwindow): Take a widget
4731         as argument, and make new windows or dialogs appear on the
4732         same screen.  (#80388)
4733
4734 Sat Nov  8 21:59:30 2003  Matthias Clasen  <maclas@gmx.de>
4735
4736         * gtk/gtkeventbox.c (gtk_event_box_class_init): Let 
4737         visible-window default to TRUE, as documented and 
4738         implemented. (#126270 Damon Chaplin)
4739
4740 Sat Nov  8 01:50:17 2003  Matthias Clasen  <maclas@gmx.de>
4741
4742         * gtk/gtkicontheme.c: 
4743         * gtk/gtkfilechooserwidget.c (gtk_file_chooser_widget_new): 
4744         * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_new): 
4745         * gtk/gtkfilechooser.c (gtk_file_chooser_[un]select_all): Mark as
4746         2.4 additions.
4747
4748 2003-11-07  Federico Mena Quintero  <federico@ximian.com>
4749
4750         Changing GtkFileChooserEntry to use GtkEntryCompletion.
4751
4752         * gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_init): Create
4753         a GtkListStore for the completion list.  Create a
4754         GtkEntryCompletion and attach it to the chooser entry.
4755         (gtk_file_chooser_entry_finalize): Unref the completion store.
4756         (completion_match_func): New callback for the GtkEntryCompletion.
4757         (completion_idle_callback): Fill the completion store with filenames.
4758
4759 Fri Nov  7 22:55:49 2003  Matthias Clasen  <maclas@gmx.de>
4760
4761         * gtk/gtkwindow.c (gtk_window_set_role): 
4762         * gtk/gtkwindow.c (gtk_window_set_title): 
4763         * gtk/gtkwidget.c (gtk_widget_set_name): 
4764         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_title): 
4765         * gtk/gtkbutton.c (gtk_button_set_label): Make string setters
4766         safe for self-assignment.  (#122745, Soeren Sandmann)
4767
4768 Thu Nov  6 20:41:40 2003  Matthias Clasen  <maclas@gmx.de>
4769
4770         * gtk/gtkstyle.c (gtk_style_attach): Fix doc comment.
4771         (#126369, Olexiy Avramchenko)
4772
4773 Thu Nov  6 00:21:41 2003  Matthias Clasen  <maclas@gmx.de>
4774
4775         * gtk/gtkcolorbutton.c (gtk_color_button_init): 
4776         * gtk/gtkfontbutton.c (gtk_font_button_init): Improve the 
4777         consistency of titles.  (#126193, Damon Chaplin)
4778
4779 Wed Nov  5 22:49:36 2003  Matthias Clasen  <maclas@gmx.de>
4780
4781         * gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Set torn off 
4782         menus to be transient for the toplevel they were torn off from.
4783         (gtk_menu_get_toplevel): Auxiliary function to find the
4784         toplevel of a menu.  (#54775, Jon-Kare Hellan)
4785
4786 Wed Nov  5 21:07:58 2003  Matthias Clasen  <maclas@gmx.de>
4787
4788         * gtk/gtkpaned.c (gtk_paned_class_init): Add readonly properties
4789         min-position and max-position.  (#58431, Padraig O'Briain)
4790
4791 Wed Nov  5 21:02:26 2003  Matthias Clasen  <maclas@gmx.de>
4792
4793         * gtk/gtkcolorsel.c (update_color): 
4794         (make_label_spinbutton): 
4795         (adjustment_changed): Change the ranges for Saturation and
4796         Value to be 0-100 instead of 0-255, since these axes of HSV
4797         are usually expressed in percent.  (#121519, Gregory Merchan)
4798
4799 Wed Nov  5 08:51:48 GMT 2003  Tony Gale <gale@gtk.org>
4800
4801         * docs/faq/gtk-faq.sgml: More 2.x updates
4802
4803 Tue Nov  4 15:00:33 GMT 2003  Tony Gale <gale@gtk.org>
4804
4805         * docs/faq/gtk-faq.sgml: More 2.x updates, fix
4806         pkg-config command error, update copyright.
4807
4808 2003-11-03  Federico Mena Quintero  <federico@ximian.com>
4809
4810         * gtk/gtkfilechooserdefault.c (error_dialog): Take in a path as
4811         well.  Use a helper function.
4812         (shortcuts_append_home): Display an error box if necessary.
4813         (shortcuts_append_desktop): Likewise.
4814         (add_bookmark_button_clicked_cb): Likewise.
4815         (gtk_file_chooser_default_select_path): Likewise.
4816         (entry_activate): Likewise.
4817         (shortcuts_append_paths): New helper function.
4818         (shortcuts_append_file_system_roots): Use
4819         shortcuts_append_paths().
4820         (shortcuts_append_bookmarks): Likewise.
4821
4822 Mon Nov  3 23:12:41 2003  Matthias Clasen  <maclas@gmx.de>
4823
4824         * gtk/gtkuimanager.c (_gtk_menu_is_empty): Return TRUE if 
4825         menu is NULL.
4826         (update_smart_separators): Remove some unneeded ifs.
4827
4828 Mon Nov  3 22:45:58 2003  Matthias Clasen  <maclas@gmx.de>
4829
4830         * gtk/gtkwindow-decorate.h: Add G_BEGIN_DECLS/G_END_DECLS to make 
4831         these usable in C++. Forgot this file in my Oct 11 commit.
4832
4833 2003-11-03  Federico Mena Quintero  <federico@ximian.com>
4834
4835         * gtk/gtkfilechooserdefault.c (create_shortcuts_tree): Add a stock
4836         icon to the "Add bookmark" button.
4837
4838         * gtk/gtkfilesystemunix.c: Mark missing strings for translation.
4839         * gtk/gtkfilesystemmodel.c: Likewise.
4840         * gtk/gtkfilechooser.c: Likewise.
4841         * gtk/gtkfilechooserdefault.c: Likewise.
4842
4843 Mon Nov  3 20:56:28 2003  Matthias Clasen  <maclas@gmx.de>
4844
4845         * gdk/gdk.c: 
4846         * gdk/gdkinternals.h: 
4847         * gdk/x11/gdkscreen-x11.c (init_xinerama_support): Introduce a
4848         GDK_DEBUG_XINERAMA debug flag, and make it trigger a fake 2x2
4849         Xinerama mode when no actual Xinerama setup is found. 
4850
4851 2003-11-03  Federico Mena Quintero  <federico@ximian.com>
4852
4853         * gtk/gtkfilechooserdefault.c (shortcuts_select_folder): Removed.
4854         (create_shortcuts_tree): Don't call the above.
4855         (bookmarks_changed_cb): Likewise.
4856         (tree_selection_changed): Unselect everything from the shortcuts
4857         list.  This is the behavior that Mac OS has.
4858         (toolbar_add_item): Return the item.
4859         (toolbar_create): Store the up_button in the impl structure.
4860         (toolbar_check_sensitivity): New function to set the sensitivity
4861         of the "Up" button in the toolbar.
4862         (tree_selection_changed): Call toolbar_check_sensitivity().
4863
4864 2003-11-02  Federico Mena Quintero  <federico@ximian.com>
4865
4866         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init): Do
4867         not set a border width for the toplevel container.
4868         (toolbar_create): New function; create a simple toolbar for the
4869         file chooser.
4870         (gtk_file_chooser_default_constructor): Use a spacing of 12 for
4871         the table, as per the HIG.
4872         (gtk_file_chooser_default_init): Likewise, for the default
4873         implementation's vbox.
4874
4875         * gtk/gtkfilesystem.c (gtk_file_system_get_parent): Added docs to
4876         note that NULL is a valid return value for the parent path.
4877
4878 Sat Nov  1 14:59:27 2003  Owen Taylor  <otaylor@redhat.com>
4879
4880         * gtk/gtkfilechooserdefault.c (shortcuts_row_activated): 
4881         Change on activation, not selection change (temporary
4882         workaround for #125955, needed for keynav, likely
4883         the right UI anyways.)
4884
4885         * gtk/gtkfilechooserdefault.c (shortcuts_select_func): 
4886         Don't allow the separator node to be selected.
4887
4888         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_constructor):
4889         Set the focus chain so that the entry gets focused first.
4890         (Not really right after initial focusing, maybe we
4891         should just have a gtk_file_chooser_focus_entry() that
4892         we call from gtk_file_chooser_dialog on creation.)
4893
4894 Sat Nov  1 12:41:04 2003  Owen Taylor  <otaylor@redhat.com>
4895
4896         * gtk/gtkwindow.c (gtk_window_unfullscreen): Fix a
4897         residual call to gtk_window_get_private().
4898
4899 Sat Nov  1 09:10:13 2003  Owen Taylor  <otaylor@redhat.com>
4900
4901         * gtk/gtkwindow.[ch]: Move above_initially, below_initially
4902         into GtkWindowPrivate structure, fixing ABI breakage
4903         on Win32. (Hans Breuer). Switch GtkWindowPrivate over
4904         to instance-private-data.
4905
4906 Fri Oct 31 02:43:34 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
4907
4908         * gtk/gtktoolbar.c (get_item_requisition): delete this function
4909         (toolbar_item_is_homogeneous): cache max_homogeneous_pixels
4910         instead of re-calculating for each item.
4911         (gtk_toolbar_size_allocate): Update comments
4912
4913 Thu Oct 30 22:04:31 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
4914
4915         * gtk/gtktoolbar.c (gtk_toolbar_forall): Only include
4916         placeholders when include_internals is TRUE.
4917
4918 Thu Oct 30 17:57:53 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
4919
4920         * gtk/gtktoolbar.c (logical_to_physical): Make it work even when
4921         item 0 is a placeholder. (#125826)
4922         * tests/testtoolbar.c: add an assertion that 
4923         gtk_toolbar_get_nth_item (0) != NULL
4924
4925 Thu Oct 30 17:40:26 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
4926
4927         * gtk/gtktoolbar.c (logical_to_physical): Make it work for
4928         logical == 0.(#125826)
4929
4930 Thu Oct 30 16:20:58 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
4931
4932         * gtk/gtktoolbar.c (logical_to_physical): Make sure we actually
4933         return the index of a real item.
4934         (get_nth_item) assert that the returned items is not a
4935         placeholder.  (#125826, Marco Pesenti Gritti).
4936         
4937 2003-10-29  Federico Mena Quintero  <federico@ximian.com>
4938
4939         * gtk/gtkcellrendererseptext.c
4940         (gtk_cell_renderer_sep_text_render): Only paint a separator if the
4941         text is NULL, rather than also doing it if it is an empty string.
4942
4943 Wed Oct 29 15:40:26 2003  Owen Taylor  <otaylor@redhat.com>
4944
4945         * gtk/gtkmessagedialog.c (gtk_message_dialog_new/
4946         gtk_message_dialog_new_with_format): Allow NULL
4947         for message_format, as described in the docs and
4948         as worked previously. (#125759, Richard Hult)
4949
4950         * gtk/gtkmessagedialog.c (gtk_message_dialog_new_with_markup):
4951         Use g_markup_vprintf_escaped() to escape arguments.
4952
4953         * gtk/gtkmessagedialog.[ch]: Add gtk_message_dialog_set_markup()
4954         so there is some way to set literal markup.
4955
4956 Wed Oct 29 15:01:32 2003  Owen Taylor  <otaylor@redhat.com>
4957  
4958         * gdk/x11/gdkimage-x11.c (_gdk_x11_copy_to_image): Move
4959         the call to gdk_error_trap_pop() to the right place,
4960         fixing a problem where we'd pop() too many times 
4961         when bailing out. (#123302, Thomas Leonard)
4962         
4963 Wed Oct 29 12:50:02 2003  Owen Taylor  <otaylor@redhat.com>
4964
4965         * gtk/gtkfilechooserutils.c (delegate_set_current_folder): 
4966         Fix infinite recursion. (#125679, Christian Persch)
4967
4968 Wed Oct 29 13:29:15 GMT 2003  Tony Gale <gale@gtk.org>
4969
4970         * docs/faq/gtk-faq.sgml: further 2.x updates:
4971         mirrors,compiling,g_main_context_iteration
4972
4973 Wed Oct 29 02:54:35 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
4974
4975         * gtk/gtktoolbar.[ch] (gtk_toolbar_set_drop_highlight_item): Add this
4976         function; remove gtk_toolbar_highlight_drop_location() and
4977         gtk_toolbar_unhighlight_drop_location().
4978
4979         Also fix bug where the number of overflowed items were miscounted.
4980
4981 Tue Oct 28 12:20:16 2003  Owen Taylor  <otaylor@redhat.com>
4982
4983         * gtk/gtkwindow.c (gtk_window_has_toplevel_focus): Remove
4984         some accidentally committed duplicate code.
4985
4986 Tue Oct 28 17:06:17 GMT 2003  Tony Gale <gale@gtk.org>
4987
4988         * docs/faq/gtk-faq.sgml: Update info on compiling GTK+
4989
4990 Tue Oct 28 10:34:24 2003  Owen Taylor  <otaylor@redhat.com>
4991
4992         * gtk/gtkwindow.[ch] (gtk_window_is_active, 
4993         gtk_has_toplevel_focus): Add getters corresponding to
4994         the is_active and has_toplevel_focus properties.
4995         (#122531)
4996
4997 2003-10-28  Mark McLoughlin  <mark@skynet.ie>
4998
4999         * gtk/gtkexpander.c:
5000         (gtk_expander_class_init): hook up the destroy handler.
5001         (gtk_expander_destroy), (gtk_expander_unrealize):
5002         remove the expand/collapse timeout on destroy instead
5003         of unrealize to avoid leaving the expander in a inconsistent
5004         state when unrealizing during animation.
5005         (gtk_expander_start_animation): remove realized check.
5006         (gtk_expander_set_expanded): if the widget isn't realized,
5007         expand immediately.
5008
5009 Tue Oct 28 09:44:16 2003  Owen Taylor  <otaylor@redhat.com>
5010
5011         * gtk/gtkxembed.c (_gtk_xembed_send_focus_message): Silently
5012         do nothing when recipient is NULL, as described in the
5013         doc comment. (#123107, Thomas Leonard)
5014
5015 Tue Oct 28 09:21:29 2003  Owen Taylor  <otaylor@redhat.com>
5016
5017         * gtk/gtkmain.c (gtk_check_version): Move docs inline,
5018         rewrite docs, mention memory management for the return
5019         value. (Partly addresses #125549, Michael Natterer)
5020
5021 2003-10-28  Padraig O'Briain  <padraig.obriain@sun.com>
5022
5023         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_remove_filter):
5024         Change index to filter_index to fix compilation error.
5025
5026         * gtk/gtkfilesystem.h: Correct definition of gtk_file_path_get_string.
5027
5028 Mon Oct 27 15:47:58 2003  Manish Singh  <yosh@gimp.org>
5029
5030         * gdk/x11/gdkscreen-x11.c: #include <X11/extensions/Xrandr.h> if
5031         we have RandR support, for XRRUpdateConfiguration declaration.
5032
5033         * gtk/gtkfilefilter.c: #include "gtkprivate.h" for _gtk_fnmatch
5034         declaration.
5035
5036         * gtk/gtkuimanager.c (gtk_ui_manager_add_ui_from_file): Make
5037         length a gsize variable, since that's what g_file_get_contents()
5038         expects.
5039
5040 Mon Oct 27 12:18:49 2003  Owen Taylor  <otaylor@redhat.com>
5041
5042         * NEWS: Fix attribution for above/below EWMH work.
5043
5044 Sat Oct 25 23:30:13 2003  Matthias Clasen  <maclas@gmx.de>
5045
5046         * gtk/gtkactiongroup.c (gtk_action_group_class_init): Add "name" 
5047         as a construct-only property.  (#125475, Murray Cumming)
5048
5049 Thu Oct 23 21:55:10 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
5050
5051         Fix bug 116297 and 125472
5052         
5053         * gtk/gtktoolbar.c (gtk_toolbar_highlight_drop_location): Make
5054         this function take an index and a GtkToolItem.
5055
5056         * tests/testtoolbar.c (main): Make "Show Arrow" default to
5057         true. Make one of the separators !draw and expand.
5058         Update for new highlight_drop_location() API.
5059
5060         * gtk/gtktoolitem.[ch]: Remove "pack_end" property
5061
5062         * gtk/gtktoolbar.h: Formatting fixes.
5063
5064         * gtk/gtktoolbar.c: Remove "pack_end" child property. Allow
5065         separator tool items to expand.
5066         (logical_to_physical, physical_to_logical): Fix off-by-one errors
5067         (Fix #125472, Marco Pesenti Gritti)
5068
5069         * gtk/gtkseparatortoolitem.[ch]: Add new "draw" property.
5070         (gtk_separator_tool_item_expose) only draw if "draw" is TRUE. Also
5071         return FALSE, not TRUE.
5072         (gtk_separator_too_item_{set|get}_property,
5073         (gtk_separator_tool_item_{set|get}_draw): new functions
5074
5075 Fri Oct 24 16:54:04 2003  Owen Taylor  <otaylor@redhat.com>
5076
5077         * === Released 2.3.0 ===
5078
5079         * configure.in: Remove a stray comma.
5080
5081         * README.in: Fix a few notes about Xft 1 and pango-1.0.
5082
5083         * NEWS: Finish updates for 2.3.0.
5084
5085         * po/Makefile.in.in: Update to latest GLib version.
5086
5087 Fri Oct 24 20:31:35 2003  Kristian Rietveld  <kris@gtk.org>
5088
5089         * gtk/gtkcellview.[ch], gtk/gtkcellviewmenuitem.[ch],
5090         gtk/gtkcombobox.[ch], gtk/gtkcomboboxentry.[ch],
5091         gtk/gtktreemodelfilter.[ch]: Fix licensing (I managed to put it
5092         under GPL licensing instead of LGPL...). (Fixes #125381, Soeren
5093         Sandmann).
5094
5095 Fri Oct 24 20:22:40 2003  Kristian Rietveld  <kris@gtk.org>
5096
5097         * gtk/gtktreemodelfilter.h: add padding to the class structure.
5098
5099 2003-10-23  Federico Mena Quintero  <federico@ximian.com>
5100
5101         * gtk/gtkfilechooser.c (gtk_file_chooser_get_preview_uri): Fixed docs.
5102         (gtk_file_chooser_remove_filter): Likewise.
5103         (gtk_file_chooser_select_all): Added docs.
5104         (gtk_file_chooser_unselect_all): Likewise.
5105
5106         * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_new): Added docs.
5107
5108         * gtk/gtkfilechooserwidget.c (gtk_file_chooser_widget_new): Added docs.
5109
5110 Thu Oct 23 23:22:15 2003  Matthias Clasen  <maclas@gmx.de>
5111
5112         * gtk/gtkfilefilter.c: 
5113         * gtk/gtkfilechooser.c: Add "Since: 2.4" to all API doc comments.
5114
5115 Thu Oct 23 22:33:47 2003  Matthias Clasen  <maclas@gmx.de>
5116
5117         * gtk/gtkfilefilter.c (gtk_file_filter_new): Fix doc markup.
5118
5119 Thu Oct 23 21:49:05 2003  Matthias Clasen  <maclas@gmx.de>
5120
5121         * NEWS: Remove a few duplicates, group the menu changes.
5122
5123 Thu Oct 23 21:12:50 2003  Kristian Rietveld  <kris@gtk.org>
5124
5125         * NEWS: Updates for 2.3.0; changed header to match the style we used
5126         for 2.1.0.
5127
5128 Thu Oct 23 20:47:44 2003  Matthias Clasen  <maclas@gmx.de>
5129
5130         * gdk/x11/gdkwindow-x11.c (gdk_window_set_group): Actually
5131         assign the new leader.  (#125168, Mariano Suarez-Alvarez)
5132
5133 Thu Oct 23 20:21:16 2003  Kristian Rietveld  <kris@gtk.org>
5134
5135         * gtk/gtkcelllayout.c, gtk/gtkcellview.c gtk/gtkcellviewmenuitem.c,
5136         gtk/gtkcombobox.c, gtk/gtkcomboboxentry.c, gtk/gtkentrycompletion.c,
5137         gtk/gtktreemodelfilter.c, gtk/gtkcellrenderertoggle.c: Fix includes.
5138
5139 Thu Oct 23 15:13:56 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
5140
5141         * NEWS: Partial update for 2.3.0.
5142
5143 Thu Oct 23 01:09:04 2003  Owen Taylor  <otaylor@redhat.com>
5144
5145         * gtk/gtkfilechooserdefault.c: Convert GtkOptionMenu to
5146         GtkComboBox.
5147
5148 Wed Oct 22 23:20:04 2003  Owen Taylor  <otaylor@redhat.com>
5149
5150         * gtk/gtkfilechooser.[ch] gtk/gtkfilefilter.[ch] 
5151         gtk/gtkfilechooserwidget.[ch] gtk/gtkfilechooserdialog.[ch]:
5152         gtk/gtkfilechooserutils.c gtk/gtkfilechooserprivate.[ch]:
5153         Basic framework for the new file selector widget.
5154
5155         * gtk/gtkfilechooserdefault.[ch] gtk/gtkcellrenderersep.[ch] 
5156         gtk/gtkfilechooserentry.[ch] gtk/gtkfilesystemmodel.[ch]:
5157         Initial implementation of the GtkFileChooser user interface.
5158
5159         * gtk/gtkfilesystemunix.[ch]: GtkFileSystem implementation
5160         for Unix files.
5161
5162         * configure.in gtk/Makefile.am gtk/xdgmime: Build code
5163         for freedesktop.org MIME system on Unix.
5164
5165         * tests/testfilechooser.c: Test program for GtkFileChooser
5166
5167         * tests/prop-editor.c: Add support for properties on interfaces.
5168
5169 Tue Oct 21 16:12:51 2003  Owen Taylor  <otaylor@redhat.com>
5170
5171         * demos/gtk-demo/menus.c (do_menus): Fix some unused
5172         variables.
5173
5174         * gtk/gtkmain.c (_gtk_get_lc_ctype): Fix an unused
5175         variable warning.
5176
5177 Thu Oct 23 00:04:50 2003  Matthias Clasen  <maclas@gmx.de>
5178
5179         * NEWS: Partial update for 2.3.0.
5180
5181 Tue Oct 21 22:07:12 2003  Kristian Rietveld  <kris@gtk.org>
5182
5183         * gtk/gtktreeview.c (gtk_tree_view_real_move_cursor): set
5184         ctrl_pressed and shift_pressed according to the current event
5185         state (if there is one). (Fixes #125063, reported by Sebastien Bacher).
5186
5187 Mon Oct 20 23:24:27 2003  Kristian Rietveld  <kris@gtk.org>
5188
5189         * gtk/gtkentry.c (gtk_entry_key_press): remove the completion
5190         timeout when the user pressed on Enter/ESC. Fixes the bug where the
5191         completion popup popped up after the user pressed on Enter (which is
5192         just weird). Reported by the Epiphany people (all of them).
5193
5194 Mon Oct 20 20:27:22 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
5195
5196         Add support for OS X like sliding of toolbar items during drag and
5197         drop, (#110919, Dave Bordoley)
5198
5199         Make dnd highlighting the responsibility of the
5200         application. (Fixes #116298, Owen Taylor)
5201
5202         * gtk/gtktoolbar.h: Add prototypes for new API.
5203         
5204         * gtk/gtktoolbar.c
5205         (physical_to_logical, logical_to_physical): new functions
5206         converting between "position including placeholders" and "position
5207         excluding placeholders".
5208         (gtk_toolbar_class_init): remove drag_leave and drag_motion
5209         handlers
5210         (struct _ToolbarContent): new struct containing information
5211         related to toolbar items.
5212         (gtk_toolbar_highlight_drop_location): new public function
5213         (gtk_toolbar_unhighlight_drop_location): new public function
5214         
5215         * tests/testtoolbar.c
5216         (toolbar_drag_motion, toolbar_drag_leave): new functions
5217         (main): connect to dnd signals.  Make the "New" item expand to
5218         make drag and drop more exciting.
5219
5220 Wed Oct 15 22:39:23 2003  Kristian Rietveld  <kris@gtk.org>
5221
5222         * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_init): it's
5223         _set_active, not _set_active_item.
5224
5225 Wed Oct 15 22:31:09 2003  Kristian Rietveld  <kris@gtk.org>
5226
5227         * gtk/gtkcombobox.h: add padding to the class structure.
5228         * gtk/gtkcomboboxentry.h: ditto.
5229         * gtk/gtkentrycompletion.h: ditto.
5230
5231 Wed Oct 15 22:04:59 2003  Kristian Rietveld  <kris@gtk.org>
5232
5233         * gtk/gtkcombobox.c (gtk_combo_box_get_active),
5234         (gtk_combo_box_set_active): mention in the docs that -1 is a valid
5235         value and what it means.
5236
5237         * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_init): set the active
5238         item to -1 (default),
5239         (gtk_combo_box_entry_active_changed): do nothing when the index is
5240         < 0.
5241
5242 Tue Oct 14 16:10:21 2003  Jonathan Blandford  <jrb@redhat.com>
5243
5244         * gtk/gtkcombobox.c (gtk_combo_box_set_active_iter): New function
5245         to set the active row by iter.
5246
5247         * gtk/gtkcombobox.c (gtk_combo_box_get_active_iter): New function
5248         to get the active row by iter.
5249
5250 2003-10-13  Federico Mena Quintero  <federico@ximian.com>
5251
5252         * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): Don't do
5253         operations on windows if the tree view is not mapped.
5254         (gtk_tree_view_button_press): Compare equal types of pointers, not
5255         GtkWidget* vs. GtkTreeView*.
5256
5257 Mon Oct 13 21:01:43 2003  Kristian Rietveld  <kris@gtk.org>
5258
5259         * gtk/gtkentrycompletion.c (gtk_entry_completion_popup): remove
5260         the reset of first_sel_changed, as after the first popup the treeview
5261         will always have a row selected and will thus not focus_to_cursor.
5262
5263         * gtk/gtkentry.c (keyval_is_cursor_move): new function to determine
5264         whether the keyval should move the completion selection cursor (used
5265         to avoid ending up with extreme cluttered code), also added
5266         all KP_ equivalents of the keys here,
5267         (gtk_entry_completion_key_press): Keynav tweaks based on comments
5268         from Dave Bordoley and Marco Pesenti Gritti; add the -1 state
5269         as possible current selection, implement Home/End keys, modified
5270         the down key to stop cycling. Maybe page up/down should be implemented
5271         at some later time.
5272
5273 Mon Oct 13 20:58:07 2003  Matthias Clasen  <maclas@gmx.de>
5274
5275         * gdk/x11/gdkwindow-x11.c (gdk_window_set_icon): Make it work 
5276         as documented when pixmap or mask is NULL.  (#124081) 
5277
5278 Mon Oct 13 20:21:38 2003  Kristian Rietveld  <kris@gtk.org>
5279
5280         * gtk/gtkentry.c (gtk_entry_set_text): I overlooked a return when
5281         I was adding the signal block/unblock code. Oops. (Noticed by
5282         Marco Pesenti Gritti).
5283
5284 Mon Oct 13 20:21:55 2003  Kristian Rietveld  <kris@gtk.org>
5285
5286         * demos/testpixbuf-scale.c: enable GTK_DISABLE_DEPRECATED again,
5287         (set_interp_type), (main): port over from option menu to GtkComboBox.
5288
5289 Mon Oct 13 19:41:55 2003  Kristian Rietveld  <kris@gtk.org>
5290
5291         * tests/testmenus.c: Still uses option menus, so turn off
5292         GTK_DISABLE_DEPRECATED.
5293
5294 Sun Oct 12 01:10:29 2003  Matthias Clasen  <maclas@gmx.de>
5295
5296         * gtk/gtkalignment.[hc]: 
5297         * gtk/gtkcombobox.[hc]: 
5298         * gtk/gtkcomboboxentry.[hc]: 
5299         * gtk/gtktreemodelfilter.[hc]: Move GET_PRIVATE macros
5300         from header to implementation.
5301
5302 Sun Oct 12 00:18:02 2003  Matthias Clasen  <maclas@gmx.de>
5303
5304         * tests/testtreeview.c: 
5305         * demos/testpixbuf-scale.c: 
5306         * tests/prop-editor.c: These files still use option menus,
5307         so turn off GTK_DISABLE_DEPRECATED to fix the build. 
5308
5309 Sat Oct 11 23:14:36 2003  Matthias Clasen  <maclas@gmx.de>
5310
5311         * gtk/gtkactiongroup.h: 
5312         * gtk/gtkaction.h: 
5313         * gtk/gtkradioaction.h: 
5314         * gtk/gtkradiotoolbutton.h: 
5315         * gtk/gtkseparatortoolitem.h: 
5316         * gtk/gtktoggleaction.h: 
5317         * gtk/gtktoolitem.h: 
5318         * gtk/gtkuimanager.h: Add G_BEGIN_DECLS/G_END_DECLS to make 
5319         these usable in C++.  (#124351, Murray Cumming)
5320
5321 Sat Oct 11 19:09:05 2003  Kristian Rietveld  <kris@gtk.org>
5322
5323         * gtk/gtkentry.c (gtk_entry_set_text): Check if completion is
5324         non-NULL before accessing it. Oops.
5325
5326 Sat Oct 11 15:47:03 2003  Kristian Rietveld  <kris@gtk.org>
5327
5328         * gtk/gtkentrycompletion.[ch] (gtk_entry_completion_insert_action),
5329         (gtk_entry_completion_insert_action_text),
5330         (gtk_entry_completion_insert_action_markup): the gchar* parameters
5331         should be const (pointed out by both Marco Pesenti Gritti and
5332         Murray Cumming (#124356).
5333
5334 Sat Oct 11 15:37:19 2003  Kristian Rietveld  <kris@gtk.org>
5335
5336         * gtk/gtkcombobox.c (gtk_combo_box_size_allocate): for the custom
5337         child list mode, allocate the height allocation->height to the
5338         button instead of the height requested by the button. (Tiny
5339         size allocation screwup noticed by Macro Pesenti Gritti).
5340
5341 Sat Oct 11 15:23:27 2003  Kristian Rietveld  <kris@gtk.org>
5342
5343         Fixes based on comments from Marco Pesenti Gritti.
5344
5345         * gtk/gtkentry.c (gtk_entry_set_text): block the completion changed
5346         signal handler, avoids the completion popup to popup when text is
5347         set programmatically in most cases (we actually have to handle this
5348         in the _editable functions as well, but that will break popping up
5349         when the user actually typed something :),
5350         (gtk_entry_completion_key_press): when handling enter, bail out
5351         when nothing has been selected,
5352         (gtk_entry_completion_changed): don't popdown when the entry content
5353         changed.
5354
5355         * gtk/gtkentrycompletion.c (gtk_entry_completion_init),
5356         (gtk_entry_completion_selected_changed): unselect_all on the
5357         first selected changed signal. Avoids having a default row selected,
5358         (_gtk_entry_completion_popup): don't select the first row by default.
5359
5360         * gtk/gtkentryprivate.h (struct _GtkEntryCompletionPrivate): add a
5361         first_sel_changed field.
5362
5363 Fri Oct 10 23:02:58 2003  Matthias Clasen  <maclas@gmx.de>
5364
5365         * demos/gtk-demo/menus.c: Replace GtkItemFactory by GtkUIManager 
5366         in the intro (again).
5367
5368 Fri Oct 10 22:50:05 2003  Matthias Clasen  <maclas@gmx.de>
5369
5370         Fixes for (#124212, Marco Pesenti Gritti):
5371         
5372         * gtk/gtkuimanager.c (update_smart_separators): Don't spit 
5373         warnings for popups.
5374         (_gtk_menu_is_empty): Return FALSE for non-menus.
5375
5376 Fri Oct 10 19:10:12 2003  Kristian Rietveld  <kris@gtk.org>
5377
5378         * gtk/gtkcombo.h: Deprecate.
5379         * gtk/gtkoptionmenu.h: Ditto.
5380
5381         * gtk/gtkcombobox.c (gtk_combo_box_size_request),
5382         (gtk_combo_box_size_allocate): Rework, things behave better now. Still
5383         needs some work on requesting enough size when taking the items in
5384         the list into account.
5385
5386         * gtk/gtkfilesel.c: put gtkoptionmenu.h include inside "enable
5387         deprecated" guards.
5388         * gtk/gtkinputdialog.c: ditto.
5389         * gtk/gtkitemfactory.c: ditto.
5390         * gtk/gtkoptionmenu.c: ditto.
5391
5392         * demos/gtk-demo/menus.c: remove the option menu.
5393         * demos/gtk-demo/sizegroup.c: replace the option menus with
5394         GtkComboBox.
5395         * demos/gtk-demo/textview.c: ditto.
5396         (A general GtkComboBox demo will be added later on).
5397
5398 Wed Oct  8 00:06:17 2003  Matthias Clasen  <maclas@gmx.de>
5399
5400         * demos/gtk-demo/ui_manager.c (activate_radio_action): New
5401         callback to propertly report radio actions.
5402
5403         * demos/gtk-demo/ui_manager.c (do_ui_manager): Use it here.
5404
5405 Tue Oct  7 23:23:05 2003  Matthias Clasen  <maclas@gmx.de>
5406
5407         * gtk/gtkplug.c (xembed_set_info): Put the supported protocol
5408         version in in the right field of the _XEMBED_INFO property.  
5409         (#123885, Denis Mikhalkin)
5410
5411 Mon Oct  6 14:18:47 2003  Jonathan Blandford  <jrb@redhat.com>
5412
5413         * gtk/gtkexpander.c (gtk_expander_animation_timeout): only show
5414         the child if we have one.
5415
5416         (gtk_expander_button_release): use
5417         gtk_widget_activate instead.
5418
5419 Mon Oct  6 21:05:46 2003  Matthias Clasen  <maclas@gmx.de>
5420
5421         * gtk/gtktable.c (gtk_table_class_init): Start the blurb for 
5422         "right_attach" with a capital.  (#123945, Christian Rose)
5423
5424 Sun Oct  5 23:59:03 2003  Matthias Clasen  <maclas@gmx.de>
5425
5426         * tests/testsocket.c (child_read_watch): Remove an
5427         extraneous unref.  (#122336, Frederic Crozat)
5428
5429 Sun Oct  5 22:38:22 2003  Matthias Clasen  <maclas@gmx.de>
5430
5431         * gtk/gtkeventbox.c (gtk_event_box_class_init): Trim 
5432         whitespace in "visible-window" blurb.  (#123910, Christian Rose)
5433
5434 Sun Oct  5 00:53:15 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
5435
5436         * gtk/gtktoolbar.c (gtk_toolbar_list_children_in_focus_order):
5437         focus arrow before pack_end items (#123851, Matthias Clasen)
5438
5439 Fri Oct  3 20:50:48 2003  Kristian Rietveld  <kris@gtk.org>
5440
5441         * gtk/gtkcombobox.c (gtk_combo_box_set_model): only set the model
5442         on ->priv->cell_view if ->priv->cell_view is non-NULL.
5443
5444         * gtk/gtkcomboboxentry.c: include gtkintl.h, add text_renderer
5445         field to GtkComboBoxEntryPrivate,
5446         (gtk_combo_box_entry_class_init), (gtk_combo_box_entry_init),
5447         (gtk_combo_box_entry_set_property), (gtk_combo_box_entry_get_property),
5448         (gtk_combo_box_entry_set_text_column), (gtk_combo_box_entry_new): add
5449         a construct-only "text_column" property and reorder code to use it
5450         and support inheriting this widget.
5451
5452 Thu Oct  2 23:28:02 2003  Kristian Rietveld  <kris@gtk.org>
5453
5454         * gtk/gtkcombobox.c: Added API doc comments.
5455
5456         * gtk/gtkcomboboxentry.c: Ditto.
5457
5458 2003-10-02  Matthias Clasen  <maclas@gmx.de>
5459
5460         * gtk/gtktoggleaction.c: Documentation tweaks.
5461
5462 Wed Oct  1 22:43:40 2003  Kristian Rietveld  <kris@gtk.org>
5463
5464         * gtk/gtkcellview.[ch]: implement the GtkCellLayout interface, drop
5465         packing/attribute/cell data functions from the header,
5466         (gtk_cell_view_set_cell_data): added support for cell data funcs.
5467
5468         * gtk/gtkcombobox.[ch]: implement the GtkCellLayout interface, drop
5469         packing/attribute/cell data functions from the header, implemented
5470         cell data func support.
5471
5472         * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_new): updated
5473         for the move to GtkCellLayout.
5474
5475         * tests/testcombo.c (create_combo_box_grid_demo), (main): ditto.
5476
5477 2003-10-01  Matthias Clasen  <maclas@gmx.de>
5478
5479         * gtk/gtkaction.c (gtk_action_class_init): 
5480         (gtk_action_[gs]et_property): Introduce a separate
5481         "hide_if_empty" property for empty menu handling.
5482         (_gtk_action_sync_menu_visible): ...and use it here.
5483
5484         * tests/testmerge.c (main): ...and here.
5485
5486         * gtk/gtktoolitem.c (gtk_tool_item_class_init): Fix signal doc 
5487         comments to pacify gtk-doc.
5488
5489         * gtk/gtkmain.c: Doc formatting tweaks.
5490
5491         * gtk/gtktoolitem.c (gtk_tool_item_set_is_important): Fix a typo.
5492
5493         * gtk/gtkcheckmenuitem.h (gtk_check_menu_item_set_draw_as_radio): 
5494         Use the same parameter names as in .c file, to pacify gtk-doc.
5495
5496         * gtk/gtktoggletoolbutton.[hc]: 
5497         * gtk/gtktoolbutton.[hc]: 
5498         * gtk/gtktoolitem.[hc]:
5499         * gtk/gtktoolbar.[hc]: 
5500         * gtk/gtkcolorbutton.[hc]: 
5501         * gtk/gtkfontbutton.[hc]: 
5502         * gtk/gtkalignment.[hc]: Define GET_PRIVATE macros in the 
5503         source, not in the header.
5504
5505         * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_[sg]et_draw_as_radio): 
5506         Document these as 2.4 API additions.
5507
5508 Tue Sep 30 23:42:56 2003  Kristian Rietveld  <kris@gtk.org>
5509
5510         * gtk/gtkentry.c (gtk_entry_set_completion),
5511         (gtk_entry_get_completion): Add API doc comments.
5512
5513         * gtk/gtkentrycompletion.c: Fix #includes and add API doc comments.
5514
5515 Tue Sep 30 23:12:34 2003  Kristian Rietveld  <kris@gtk.org>
5516
5517         * gtk/gtktreemodelfilter.c: Add "Since: 2.4" to all API doc comments.
5518
5519 Tue Sep 30 22:59:58 2003  Kristian Rietveld  <kris@gtk.org>
5520
5521         * gtk/gtktreeviewcolumn.c: Some API doc comment fixes.
5522
5523         * gtk/gtkcellayout.c: Fix #include and oooooh API doc comments!
5524
5525 2003-09-30  Matthias Clasen  <maclas@gmx.de>
5526
5527         * tests/merge-*.ui: 
5528         * tests/testmerge.c: Test handling of empty menus.
5529
5530         * gtk/gtkuimanager.c (_gtk_menu_is_empty): New function to determine
5531         whether a menu is empty. Used in gtkaction.c.
5532         (update_smart_separators): Also update the visibility of empty menus.
5533         (update_node): When creating a new menu proxy, insert an "Empty" menu 
5534         item which only gets shown if the menu is empty. 
5535
5536         * gtk/gtkaction.c (gtk_action_class_init): Document the meaning of
5537         "is_important" for menu proxies.
5538         (_gtk_action_sync_menu_visible): New function to sync the visibility
5539         of menu proxies. Used in gtkuimanager.c.
5540         (gtk_action_sync_visible): New function to sync the visibility of 
5541         proxies.
5542
5543 Tue Sep 30 21:43:34 2003  Kristian Rietveld  <kris@gtk.org>
5544
5545         * gtk/gtkcombobox.c (gtk_combo_box_menu_button_press): set
5546         popup_in_progress to TRUE,
5547         (gtk_combo_box_menu_show): and back to FALSE here; the menu now
5548         won't disappear on the first button release. (Reported by Matthias
5549         Clasen).
5550
5551 Tue Sep 30 21:08:43 2003  Kristian Rietveld  <kris@gtk.org>
5552
5553         * gtk/gtkcombobox.c (gtk_combo_box_init): actually show the child.
5554
5555         * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_init): ditto. (#123543,
5556         Marco Pesenti Gritti).
5557
5558 2003-09-30  Murray Cumming  <murrayc@usa.net>
5559  
5560         * gtk/gtkcellrenderer.h: The render vfunc takes a GdkDrawable*
5561         instead of a GdkWindow*, because that what it is given. The 
5562         documentation was already correct. This should cause no API/ABI
5563         breakage with C compilers.
5564         * gtk/gtkcellrenderertext.c, gtkcellrendererpixbuf.c, 
5565         gtkcellrenderertogger.c: Updated the declarations of the render vfunc
5566         implementation accordingly.
5567
5568 2003-09-30  Matthias Clasen  <maclas@gmx.de>
5569
5570         * gdk/gdkkeys.c (gdk_keymap_class_init): Document the
5571         "direction-changed" and "keys-changed" signals.
5572
5573         * gdk/gdkscreen.c (gdk_screen_class_init): Document the 
5574         "size-changed" signal.
5575
5576         * gdk/gdkdisplaymanager.c (gdk_display_manager_class_init): 
5577         Document the "display-opened" signal.
5578
5579         * gdk/gdkdisplay.c (gdk_display_close): Doc tweak.
5580         (gdk_display_class_init): Document the "closed" signal.
5581
5582 Sat Sep 27 16:02:40 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
5583
5584         * gtk/gtktextview.[ch]: rename property tab_moves_focus to
5585         accepts_tab. (#122709 again).
5586
5587 2003-09-27  Matthias Clasen  <maclas@gmx.de>
5588
5589         * gtk/gtkwindow.c (gtk_window_new):
5590         * gtk/gtkitemfactory.c (gtk_item_factory_new): Document 
5591         the fact that the newly created object does not come with 
5592         a floating reference.  (#103068, patch by Frederic Lespez)
5593         
5594         * gtk/gtkitemfactory.h: Deprecate GtkItemFactory in favor 
5595         of GtkUIManager. Just leave GtkTranslateFunc undeprecated, 
5596         since GtkActionGroup uses it.
5597
5598         * tests/testtext.c: Turn off GTK_DISABLE_DEPRECATED, since
5599         this test uses the soon-to-be-deprecated GtkItemFactory.
5600
5601         * demos/gtk-demo/Makefile.am (demos): Add ui_manager.c,
5602         remove item_factory.c
5603
5604         * demos/gtk-demo/ui_manager.c: Duplicate of item_factory.c 
5605         using GtkUIManager instead of GtkItemFactory.
5606
5607         * tests/testmerge.c: Demonstrate the use of the 
5608         connect-proxy signal.
5609
5610         * gtk/gtkaction.c (connect_proxy): Add connect-proxy and 
5611         disconnect-proxy signals to do small customizations 
5612         like displaying tooltips in the statusbar without 
5613         custom actions.  (#122894, Philip Langdale)
5614
5615         * gtk/gtkuimanager.c (update_node): Don't leak tooltip.
5616
5617 Fri Sep 26 23:49:44 2003  Kristian Rietveld  <kris@gtk.org>
5618
5619         Landing the new ComboBox. Note that only gtkcombobox.h and
5620         gtkcomboboxentry.h are public.
5621
5622         * gtk/gtkcellview.[ch], gtk/gtkcellviewmenuitem.[ch],
5623         gtk/gtkcombobox.[ch], gtk/gtkcomboboxentry.[ch]: new files.
5624
5625         * gtk/Makefile.am, gtk/gtk.h: adding the new files.
5626
5627         * tests/testcombo.c: and a new test.
5628
5629         * tests/Makefile.am: adding the new test.
5630
5631 2003-09-25  Tor Lillqvist  <tml@iki.fi>
5632
5633         * demos/gtk-demo/main.c: Don't use hardcoded DEMOCODEDIR on Windows.
5634
5635 2003-09-21  Tor Lillqvist  <tml@iki.fi>
5636
5637         * gdk/win32/gdkevents-win32.c (handle_wm_paint): New
5638         function. Code split out from gdk_event_translate(). Needed
5639         because gdk_event_get_graphics_expose() couldn't do anything
5640         sensible otherwise. (Not that I think graphics exposes work anyway
5641         in gdk/win32, but at least now the code could work.)
5642
5643         (gdk_event_get_graphics_expose): Call handle_wm_paint() instead of
5644         gdk_event_translate(), which couldn't have worked as it doesn't
5645         take any pre-allocated GdkEvent parameter any longer.
5646         
5647         (gdk_event_translate): Handle WM_MOUSEACTIVATE: Don't let
5648         GDK_WINDOW_TEMP windows be activated. (#122578, John Ehresman)
5649
5650 2003-09-24  Matthias Clasen  <maclas@gmx.de>
5651
5652         * demos/gtk-demo/appwindow.c (do_appwindow): Demonstrate tooltips
5653         on toolitems.
5654
5655         * gtk/gtkaction.c (connect_proxy): Sync tooltips on toolitems.
5656
5657         * gtk/gtkuimanager.c (update_node): Don't complain about missing
5658         actions on popups. Re-set "tooltip" property on toolitems after
5659         adding them to parent to trigger proxy update.
5660
5661 2003-09-22  Matthias Clasen  <maclas@gmx.de>
5662
5663         * tests/testmerge.c (main): Initially activate the JUSTIFY_RIGHT
5664         group member to test the fix for #122904.
5665
5666         * gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full): 
5667         Add the action to the group before activating it, otherwise we
5668         may end up with multiple active group members.  (#122904, Marco
5669         Pesenti Gritti)
5670
5671 2003-09-21  Matthias Clasen  <maclas@gmx.de>
5672
5673         Changes to make cross-process merging feasible:
5674         
5675         * gtk/gtkuimanager.[hc]: Add a readonly "ui" property which holds the
5676         merged UI definition. Remove the "changed" signal, since its role
5677         is now filled by "notify::ui". Instead add a "actions-changed" signal
5678         which gets emitted when the set of actions changes.
5679
5680         * gtk/gtktoggleactionprivate.h:
5681         * gtk/gtktoggleaction.[hc] (gtk_toggle_action_[sg]et_draw_as_radio):
5682         Add a "draw_as_radio" property to toggle actions so that they can be
5683         used as proxies for radio actions much like the "draw_as_radio" 
5684         property on check menu items enables them to operate as proxies for
5685         radio actions.
5686
5687         Prevent the "show_all" trap for action-based menus (see
5688         http://mail.gnome.org/archives/gtk-devel-list/2003-September/
5689         msg00260.html):
5690
5691         * gtk/gtkmenu.c (gtk_menu_{hide,show}_all): Remove g_return_if_fail()
5692         calls from static functions.
5693
5694         * gtk/gtkuimanager.c (update_node): 
5695         * gtk/gtkaction.c (connect_proxy): Set "no_show_all" on constructed
5696         widgets whose visibility is externally controlled.
5697
5698         * gtk/gtkwidget.[hc] (gtk_widget_[gs]et_no_show_all): Add a boolean 
5699         "no_show_all" property with setter and getter. When TRUE, it keeps
5700         gtk_widget_{hide,show}_all() from modifying the visibility of the 
5701         widget and its children.
5702
5703 Sun Sep 21 23:13:37 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
5704
5705         * gtk/gtktextview.[ch]: Add new "tab moves focus" property (#122709)
5706
5707 2003-09-20  Tor Lillqvist  <tml@iki.fi>
5708
5709         * gtk-zip.sh.in: Don't use zip -r on the etc directory, to avoid
5710         including editor backup files. List files we want explicitly.
5711
5712         * gtk/gtkmain.c (_gtk_get_lc_ctype): New function. On Unix, just
5713         calls setlocale (LC_CTYPE, NULL). On Windows, looks for the
5714         LC_ALL, LC_CTYPE and LANG environment variables, than calls
5715         g_win32_getlocale().
5716
5717         (gtk_get_default_language): Code snippet moved to above function,
5718         call it.
5719
5720         * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave)
5721         * gtk/gtkrc.c (gtk_rc_context_parse_file): Call
5722         _gtk_get_lc_ctype() instead of setlocale().
5723
5724 Fri Sep 19 18:15:31 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
5725
5726         * gtk/gtkpaned.c, gtk/gtkhpaned.c: implement RTL flipping
5727         (#96632)
5728
5729 Fri Sep 19 13:24:54 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
5730
5731         * gtk/gtktreeview.c (gtk_tree_view_get_cursor): Improve
5732         documentation. (#117306, Steve Chaplin)
5733
5734 2003-09-19  Tor Lillqvist  <tml@iki.fi>
5735
5736         * gdk/win32/gdkkeys-win32.c (update_keymap): Handle dead keysyms
5737         present on the US-International keyboard. For clarity, order
5738         keysyms in case statement according to numeric value.
5739
5740         (gdk_keymap_translate_keyboard_state): Handle Caps Lock
5741         correctly. (#120176, Ken Rastatter and Owen Taylor)
5742
5743 2003-09-18  Matthias Clasen  <maclas@gmx.de>
5744
5745         * gtk/gtkaction.c (gtk_action_finalize): Call g_closure_unref() to
5746         unref a closure, not g_object_unref().  (#122637, Marco Pesenti Gritti)
5747
5748         Install accelerators on actions, not on proxies, support
5749         accelerator-only actions:
5750         
5751         * gtk/gtkmenu.c (get_accel_path): New function to get the accel path
5752         and its lock status either via _gtk_widget_get_accel_path() or by 
5753         looking at the accel_path stored in the menu item itself and determining
5754         its lock status by peeking into the contained accel label. This was
5755         already (accidentally) committed a week ago.
5756
5757         * gtk/gtkaction.h (gtk_action_set_accel_group):
5758         (gtk_action_[dis]connect_accelerator): New functions.
5759
5760         * gtk/gtkaction.c (struct _GtkActionPrivate): Add accel_group,
5761         accel_closure and accel_count. We must have a reference to the 
5762         accel_group, since we need it in connect_proxy. The count is necessary
5763         to ensure that the accelerator isn't removed before the last proxy 
5764         requesting it has been unmerged.
5765         (connect_proxy): Connect the accelerator to the 
5766         action now, only set the accel_path on the menuitem.
5767         (remove_proxy): Disconnect the accelerator from the action, not from
5768         the menuitem.
5769         (gtk_action_set_accel_group): Set the accel group. 
5770         (gtk_action_[dis]connect_accelerator): Count the number of times
5771         this functions have been called and install/remove the accelerator if
5772         the count leaves/reaches zero.
5773
5774         * gtk/gtkuimanager.h (GtkUIManagerItemType): Add 
5775         GTK_UI_MANAGER_ACCELERATOR.
5776
5777         * gtk/gtkuimanager.c (NodeType): Add NODE_TYPE_ACCELERATOR.
5778         (start_element_handler): Create NODE_TYPE_ACCELERATOR nodes from
5779         <accelerator> elements.
5780         (gtk_ui_manager_add_ui): Create NODE_TYPE_ACCELERATOR nodes when
5781         type is GTK_UI_MANAGER_ACCELERATOR.
5782         (update_node): Set the accel group on actions before creating their
5783         proxies. Don't set the accel group on created menus. For 
5784         NODE_TYPE_ACCELERATOR nodes, [dis]connect the actions' accelerator.
5785         (print_node): Also emit <accelerator> elements.
5786
5787         * tests/testmerge.c (dump_accels): Add a "Dump Accels" button. 
5788
5789         * gtk/gtkuimanager.c (update_node): Robustness improvements.
5790
5791 2003-09-17  Matthias Clasen  <maclas@gmx.de>
5792
5793         * gtk/gtkuimanager.c (text_handler): Report unexpected character
5794         data as error from the GMarkup parser, otherwise things like
5795         gtk_ui_manager_add_ui_from_string (ui, "Hi there!", -1, &error) 
5796         pass unexpectedly.
5797
5798 Wed Sep 17 02:38:53 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
5799
5800         * gtk/gtktoolbar.c (gtk_toolbar_class_init): revert accidentally
5801         committed redraw_on_allocate change.
5802
5803 Tue Sep 16 10:42:00 2003  Eric Warmenhoven  <eric@warmenhoven.org>
5804
5805         * gdk/linux-fb/gdkwindow-fb.c: Add gdk_window_set_keep_{above,below}
5806         stubs to fix compilation
5807
5808         * gdk/linux-fb/gdkrender-fb.c: Add gdk_shadow_fb_stop_updates stub for
5809         when shadowfb is disabled. Patch from pjm@cctechnol.com (#120847).
5810
5811         * gdk/linux-fb/gdkmouse-fb.c: Add GDK_MOUSE_DEVICE environment
5812         variable. Patch from Marc Welz (#121347).
5813
5814 2003-09-16  Matthias Clasen  <maclas@gmx.de>
5815
5816         * gtk/gtkaction.h: Apply egtk-format-protos.
5817
5818 2003-09-15  Matthias Clasen  <maclas@gmx.de>
5819
5820         * gtk/gtkuimanager.c: Doc tweaks.
5821
5822         Smart separators; see 
5823         http://mail.gnome.org/archives/gtk-devel-list/2003-September/msg00133.html:
5824         
5825         * gtk/gtkuimanager.c (update_smart_separators): New function which 
5826         implements "smart" separators by iterating once over the entries of a 
5827         menu, hiding and showing separators as necessary.
5828         (update_node): Mark separators used as fences of placeholders as
5829         hidden. Explicitly added separators are marked as smart. Call 
5830         update_smart_separators after updating a menu or toolbar node. 
5831         Connect update_smart_separators to "notify::visible" signal on menu
5832         and tool items.
5833         
5834         * tests/merge-[12].ui: Test smart separators.
5835
5836         Changes to allow setting action state before connecting signal; see
5837         the thread starting at 
5838         http://mail.gnome.org/archives/gtk-devel-list/2003-September/msg00140.html:
5839         
5840         * gtk/gtkactiongroup.[hc]: (gtk_action_group_add_radio_actions):
5841         (gtk_action_group_add_radio_actions_full): Add value parameter to allow
5842         setting the currently selected group member before connecting signals.
5843         (GtkToggleActionEntry): Separate struct for constructing toggle actions,
5844         including a boolean to initialize the action state before connecting
5845         signals.
5846         (gtk_action_group_add_toggle_actions):
5847         (gtk_action_group_add_toggle_actions_full): New functions to construct
5848         toggle actions from an array of GtkToggleActionEntries.
5849
5850         * demos/gtk-demo/appwindow.c: 
5851         * tests/testactions.c: 
5852         * tests/testmerge.c: Adjust to new action group API.
5853
5854 Sun Sep 14 16:59:52 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
5855
5856         * gtk/gtktoolbar.c (gtk_toolbar_init): Name the arrow 
5857         "gtk-toolbar-arrow" so themes can special-case it.
5858
5859 Sun Sep 14 16:07:49 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
5860
5861         * gtk/Makefile.am (gtk_c_sources): sort the list of files.
5862
5863 Sun Sep 14 15:49:00 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
5864
5865         * gtk/gtktoolbar.c (toolbar_item_is_homogeneous): Unref the
5866         PangoFontMetrics. Patch from Steve Chaplin (#122257).
5867
5868 2003-09-14  Tor Lillqvist  <tml@iki.fi>
5869
5870         * gdk/win32/gdkwindow-win32.c (show_window_internal): Remove
5871         special-case code for WS_EX_TRANSPARENT (GDK_INPUT_ONLY) windows,
5872         the usefulness of which was already in doubt. Removing it fixes
5873         bugs #118575 and #121851.
5874
5875 Fri Sep 12 16:32:53 2003  Jonathan Blandford  <jrb@redhat.com>
5876
5877         Merge from stable.
5878
5879         * gtk/gtktreeview.c (gtk_tree_view_button_press): only save the
5880         pressed button (used to determine if we want to initiate a drag later
5881         on) if the current grab widget is either NULL or tree_view (Reported
5882         by Jeroen Zwartepoorte).
5883
5884 2003-09-12  Matthias Clasen  <maclas@gmx.de>
5885
5886         * gdk/gdkdraw.c (gdk_draw_string, gdk_draw_text) 
5887         (gdk_draw_text_wc): Add deprecation notes.  (#121955, Martin Pool)
5888
5889 2003-09-11  Matthias Clasen  <maclas@gmx.de>
5890
5891         * gdk/gdkpango.c: Doc tweaks.
5892
5893         * tests/testgtk.c: Add table menu tests.
5894
5895         * gtk/gtkmenu.c (gtk_menu_free_private): Don't forget to free the 
5896         GtkMenuPrivate struct itself. Pointed out by valgrind.
5897
5898         * gtk/gtkuimanager.c (gtk_ui_manager_finalize): Clean up 
5899         properly.  (#121998)
5900
5901 Wed Sep 10 22:25:04 2003  Kristian Rietveld  <kris@gtk.org>
5902
5903         The table menu patch! Turns GtkMenu into a table, so you can attach
5904         menu items in numerous new ways! Be creative!
5905
5906         Contains some bug fixes and RTL adaptions from Matthias Clasen.
5907
5908         * gtk/gtkmenu.c [toplevel]: introduce ATTACH_INFO_KEY, extend
5909         GtkMenuPrivate, introduce AttachInfo, add child properties enum,
5910         (gtk_menu_free_private), (gtk_menu_get_private): we have to free
5911         the heights array in the private struct,
5912         (gtk_menu_class_init): reorder code a bit, install child properties,
5913         (get_attach_info), (get_child_attach): new utility functions,
5914         (gtk_menu_set_child_property), (gtk_menu_get_child_property): introduce
5915         child properties, for the attach info,
5916         (gtk_menu_remove): remove AttachInfo from menu item,
5917         (gtk_menu_real_insert): implemented algorithm to automagically place
5918         inserted menu items at the correct place in the table,
5919         (gtk_menu_size_request), (gtk_menu_size_allocate),
5920         (compute_child_offset): reworked/rewritten to support table menus,
5921         (gtk_menu_attach): new function,
5922         (find_child_containing), (gtk_menu_move_current): new functions to
5923         get table menu keynav right.
5924
5925         * gtk/gtkmenu.h: add gtk_menu_attach() prototype.
5926
5927 2003-09-10  Matthias Clasen  <maclas@gmx.de>
5928
5929         * gtk/gtksocket.c (gtk_socket_filter_func): Only remove 
5930         PropertyNotify events from the stream if they have been handled,
5931         in order to enable extending the plug<->socket communication via
5932         properties.
5933
5934 Wed Sep 10 01:06:44 2003  Kristian Rietveld  <kris@gtk.org>
5935
5936         Big TreeView DnD fixage, makes drops on empty models work, makes
5937         TreeStore DnD work and gets rid of gtk-tree-model-drop-append.
5938         Related bugs #95362 and #113314. I don't want to touch this code
5939         ever again.
5940
5941         * gtk/gtktreeprivate.h (GtkTreePrivate): add empty_view_drop field.
5942
5943         * gtk/gtktreednd.c (gtk_tree_get_row_drag_data): add check
5944         for selection_data->length.
5945
5946         * gtk/gtktreeview.c (struct DestRow), (dest_row_free),
5947         (set_dest_row), (get_dest_row): we don't store just the row ref
5948         anymore, but a struct with the row ref and additional info,
5949         (set_destination_row): handle drops on empty space and some
5950         style fixes,
5951         (get_logical_dest_row): also return path_down_mode/drop_append_mode
5952         flags, handle dropping childs on their new parents, rewrite
5953         drop append handling into something saner,
5954         (gtk_tree_view_drag_motion): show a "drop possible arrow" on empty
5955         spaces,
5956         (gtk_tree_view_drag_drop): updates for updated backend,
5957         (gtk_tree_view_drag_data_received): updates for updated backend,
5958         path down mode (treestore DnD) handling,
5959         (gtk_tree_view_set_drag_dest_row): set empty_view_drop flag,
5960         when we are trying to drop a row on an empty model,
5961         (gtk_tree_view_get_drag_dest_row): handle empty_view_drop flag.
5962
5963         * gtk/gtkliststore.c (gtk_list_store_drag_data_received),
5964         (gtk_list_store_row_drop_possible): style and drop-append fixes.
5965
5966         * gtk/gtktreestore.c (gtk_tree_store_drag_data_received): ditto.
5967
5968 2003-09-08  Alexander Larsson  <alexl@redhat.com>
5969
5970         * gtk/gtkeventbox.[hc]:
5971         Implement gtk_event_box_get/set_input_only()
5972         
5973         * tests/testgtk.c:
5974         Tests for the new input only event boxes
5975
5976 Mon Sep  8 21:44:20 2003  Kristian Rietveld  <kris@gtk.org>
5977
5978         Fixes from David Hampton <hampton@employees.org> via gtk-devel-list.
5979
5980         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_elt_get_path): fix
5981         the call to gtk_tree_model_filter_add_root,
5982         (gtk_tree_model_filter_row_changed): bail out if c_path is not above
5983         the virtual root, allow building levels on the second try to convert
5984         the child path to a filter path,
5985         (gtk_tree_model_filter_convert_iter_to_child_iter): pass the virtual
5986         root when calling gtk_tree_model_filter_elt_get_path.
5987
5988 2003-09-07  Matthias Clasen  <maclas@gmx.de>
5989
5990         * gtk/gtkuimanager.c (update_node): Fix a C99ism.  (#121640,
5991         Josh Beam)
5992
5993         Fixes for accelerator handling during (un)merging:
5994         
5995         * gtk/gtkuimanager.c (update_node): Move setting info-action
5996         after the switch, since the old action is needed in some cases.
5997         In cases of proxy type mismatch, disconnect the old proxy from
5998         the old action.
5999
6000         * gtk/gtkaction.c (remove_proxy): Renamed from 
6001         gtk_action_remove_proxy(). Move unsetting of the accelerator
6002         here from disconnect_proxy() in order to catch all cases of 
6003         removing a proxy.
6004         (gtk_action_disconnect_proxy): Fix logic in g_return_if_fail()
6005         to fail if proxy isn't a proxy of action.
6006
6007 2003-09-07  Pablo Saratxaga  <pablo@mandrakesoft.com>
6008
6009         * configure.in: Added Uzbek latin (uz) and cyrillic (uz@Cyrl) to
6010         ALL_LINGUAS
6011
6012 2003-09-07  Matthias Clasen  <maclas@gmx.de>
6013
6014         * gtk/gtkaction.c (disconnect_proxy): Make disconnect work
6015         for toolitems.
6016
6017 2003-09-06  Matthias Clasen  <maclas@gmx.de>
6018
6019         * gtk/gtkaction.c (gtk_action_connect_proxy): Disconnect from 
6020         prev_action, not from action.  (Fix by David Hampton)
6021
6022 Fri Sep  5 14:15:10 2003  Owen Taylor  <otaylor@redhat.com>
6023  
6024         * Back out locale-dependent interpretation of
6025         KP_Decimal, the official XFree86 interpretation
6026         is that KP_Decimal => . KP_Separator => ,
6027         always, independent of locale. 
6028         (#105161, Frederic Crozat, 
6029         http://bugs.xfree86.org/show_bug.cgi?id=534)
6030  
6031 2003-09-04  Matthias Clasen  <maclas@gmx.de>
6032
6033         * tests/testmerge.c: Test buttons and toggle buttons as proxies.
6034
6035         * gtk/gtktoggleaction.c (connect_proxy): 
6036         (gtk_toggle_action_real_toggled): Support toggle buttons as proxies. Note 
6037         that a "draw_as_radio" property is needed for check buttons similar to 
6038         check menu items, in order to fully support button proxies for radio actions.
6039
6040         * gtk/gtkaction.c (connect_proxy): Allow buttons as proxies.
6041
6042         * tests/testmerge.c (toggle_dynamic): Test gtk_ui_manager_add_ui(). 
6043
6044         * gtk/gtkuimanager.h: Add GtkUIManagerItemType enum which is needed for the
6045         'type' argument of gtk_ui_manager_add_ui().
6046
6047         * gtk/gtkuimanager.[hc] (gtk_ui_manager_add_ui): Add 'type' and 'top' arguments
6048         to make this function as powerful as the XML methods of adding UI.  (#120647)
6049
6050 Thu Sep  4 19:11:23 2003  Kristian Rietveld  <kris@gtk.org>
6051
6052         Merge from stable.
6053
6054         * docs/RELEASE-HOWTO: updates.
6055
6056 2003-09-04  Matthias Clasen  <maclas@gmx.de>
6057
6058         * tests/merge-2.ui: Use "position" instead of "pos".
6059
6060         * gtk/gtkuimanager.c (start_element_handler): No need 
6061         to be terse: Change the name of the "pos" attribute
6062         to "position".
6063
6064 2003-09-04  Matthias Clasen  <maclas@gmx.de>
6065
6066         * gtk/gtkuimanager.c: Un-prefix GtkUIManagerNodeType and 
6067         GtkUIManagerNode to shorten the names and to make the
6068         GTK_UI_MANAGER_<TYPE> names available for a public enum.
6069
6070         * gtk/gtkactiongroup.c:
6071         * gtk/gtkuimanager.c: Various doc tweaks.       
6072
6073         * gtk/gtkuimanager.c (start_element_handler):
6074         (end_element_handler): Improve error reporting. 
6075
6076 Wed Sep  3 23:18:17 2003  Kristian Rietveld  <kris@gtk.org>
6077
6078         Merge from stable.
6079
6080         * gtk/gtkmenu.c (gtk_menu_real_move_scroll): for the END case,
6081         use end_position - page_size instead of G_MAXINT, since
6082         gtk_menu_scroll_to doesn't CLAMP anymore internally. (Fixes #121237,
6083         reported by Havoc Pennington).
6084
6085 Wed Sep  3 21:58:03 2003  Kristian Rietveld  <kris@gtk.org>
6086
6087         Merge from stable.
6088
6089         * gtk/gtkiconfactory.c (cached_icon_free): if icon->style != NULL,
6090         unref it. (Fixes memleak, patch from Kjartan Maraas).
6091
6092 Wed Sep  3 21:38:26 2003  Kristian Rietveld  <kris@gtk.org>
6093
6094         * gdk/Makefile.am, gdk/linux-fb/gdkfbmanager.c, gdk/x11/gdkcolor-x11.c,
6095         gdk-pixbuf/io-gif.c, gtk/Makefile.am, gtk/gtkcalendar.c,
6096         gtk/gtkclist.c, gtk/gtkctree.c, gtk/gtkdnd.c, gtk/gtkentry.c,
6097         gtk/gtkhandlebox.c, gtk/gtkitemfactory.c, gtk/gtkmenu.c,
6098         gtk/gtknotebook.c, gtk/gtkrange.c, gtk/gtkrc.h, gtk/gtktree.c,
6099         gtk/gtktypeutils.h: big patch from Kjartan Maraas
6100         to fix numerous typos.
6101
6102 Wed Sep  3 17:38:01 BST 2003  Tony Gale <gale@gtk.org>
6103
6104         * docs/faq/gtk-faq.sgml: Correct compile line for threads example.
6105
6106 2003-09-02  Tor Lillqvist  <tml@iki.fi>
6107
6108         * gdk/win32/gdkdisplay-win32.c (gdk_display_open): Don't call
6109         CloseHandle() on the HMODULE returned from GetModuleHandle().
6110         Didn't cause any harm, but didn't do anything useful either. When
6111         running a GTK+ program under MS's debugger, the CloseHandle() call
6112         would cause a "first-chance exception" in ntdll.dll to show up.
6113         (The exception is caught appropriately if you let it proceed, but
6114         it confuses the person using the debugger). Thanks to Bruce
6115         Hochstetler for noticing.
6116
6117 Tue Sep  2 21:01:19 2003  Kristian Rietveld  <kris@gtk.org>
6118
6119         Merge from stable.
6120
6121         * gtk/gtktreeview.c (gtk_tree_view_button_press): revert the change
6122         to only select when button 1 is pressed introduced in the fix of
6123         bug #120187.
6124
6125 2003-09-02  Matthias Clasen  <maclas@gmx.de>
6126
6127         * gtk/gtkactiongroup.c (gtk_action_group_new): Doc addition.
6128
6129         * gtk/gtkuimanager.c: Shorten the names of some static 
6130         functions.
6131
6132         Support adding and removing merge nodes dynamically (#120647, 
6133         Anders Carlsson):
6134         
6135         * gtk/gtkuimanager.[ch] (gtk_ui_manager_new_merge_id): Renamed 
6136         gtk_ui_manager_next_merge_id to gtk_ui_manager_new_merge_id 
6137         and made it public.
6138         (gtk_ui_manager_add_ui): New function to add UI elements
6139         without juggling XML fragments, currently restricted to menuitems,
6140         toolitems and separators. Actions still come from registered 
6141         action groups.
6142
6143 Mon Sep  1 19:39:14 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
6144
6145         * gdk/gdkwindow.c (gdk_window_get_bg_gc): Fix bug where the
6146         background pixmap was being offset twice, once by the ts_origin in
6147         gdk_window_get_bg_gc(), and once by gdk_draw_rectangle().
6148
6149 2003-09-01  Matthias Clasen  <maclas@gmx.de>
6150
6151         * gtk/gtkuimanager.[ch] (gtk_ui_manager_ensure_update): Make
6152         this public again, since it's occasionally useful.  (#121128,
6153         Marco Pesenti Gritti)
6154
6155         * gtk/gtkaction.c: Add an "is_important" property and propagate
6156         it to toolitem proxies.  (#121058, Marco Pesenti Gritti)
6157
6158 Mon Sep  1 00:32:30 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
6159
6160         * tests/testtoolbar.c (main): connect to "delete_event" so the
6161         application will actually quit when you close the window
6162
6163 2003-09-01  Matthias Clasen  <maclas@gmx.de>
6164
6165         * gtk/gtkuimanager.c (gtk_ui_manager_get_widget) 
6166         (gtk_ui_manager_get_action): g_return_if_fail() if
6167         path is NULL.
6168         (gtk_ui_manager_get_node): Avoid a segfault if path is empty.
6169         (gtk_ui_manager_finalize): Remove the idle on finalize. (#121125, 
6170         Marco Pesenti Gritti)
6171
6172 2003-08-31  Matthias Clasen  <maclas@gmx.de>
6173
6174         * gtk/gtktoolitem.c: Fix some typos in docs.
6175
6176         * gtk/gtkuimanager.[ch] (gtk_ui_manager_get_action): New function,
6177         replaces gtk_ui_manager_activate().  (#120658)
6178
6179         * tests/testmerge.c: Use gtk_ui_manager_get_action() instead of
6180         gtk_ui_manager_activate().
6181
6182         * gtk/gtkaction.c: 
6183         * gtk/gtkactiongroup.c: Some doc tweaks.
6184
6185         * gtk/gtkuimanager.[hc]: Get rid of the remove_widget signal. It
6186         wasn't emitted anyway. Some doc tweaks.
6187
6188 2003-08-30  Matthias Clasen  <maclas@gmx.de>
6189
6190         * tests/testmerge.c (add_widget): Connect to "destroy" on toolbar,
6191         rather than to "remove" on handlebox. 
6192
6193         * gtk/gtkuimanager.[hc] (gtk_ui_manager_activate): New method to
6194         activate an action found by following a path.  (#120658)
6195
6196         * tests/testmerge.c: Add a button to test gtk_ui_manager_activate().
6197
6198         * tests/testmerge.c (add_widget): Put toolbars in handleboxes.
6199
6200         * gtk/gtkuimanager.[hc]: Add a boolean property, "add_tearoffs" with 
6201         setter and getter. If it is set, add tearoff menu items to regular 
6202         menus, but not to popups. Add a signal "changed", which gets emitted
6203         when the merged ui has changed.  (#120649, #120656)
6204
6205         * tests/testmerge.c: Add button to test the generation of tearoff 
6206         menu items.
6207
6208 2003-08-29  Matthias Clasen  <maclas@gmx.de>
6209
6210         * gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full): 
6211         Actually group the actions together rather than putting each in its 
6212         own group.
6213
6214         * gtk/gtkradioaction.c (create_menu_item): Set "draw_as_radio" on 
6215         proxy menu items for radio actions.
6216
6217         * gtk/gtkgamma.c (gamma_ok_callback): Use g_strtod instead of strtod.
6218
6219 Fri Aug 29 21:40:01 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
6220
6221         * gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full):
6222         Fix use of uninitialized variable.
6223
6224         * gtk/gtktextutil.c
6225         (_gtk_text_util_append_special_char_menuitems): add const cast to
6226         get rid of warning
6227
6228 2003-08-29  Matthias Clasen  <maclas@gmx.de>
6229
6230         * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_class_init): Install 
6231         "draw_as_radio" as a separate property, not as an alias of 
6232         "inconsistent".
6233         (gtk_check_menu_item_get_property): 
6234         (gtk_check_menu_item_set_property): Also support "draw_as_radio".
6235
6236 Fri Aug 29 20:32:07 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
6237
6238         * gtk/gtktoolbar.c: Only treat buttons as homogeneous when they
6239         are narrower than 13 time the estimated character width of the
6240         font. (#107781, David Bordoley)
6241
6242         * gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_init): Check
6243         here if the GtkToggleButton is active. This may be the case if it
6244         is a radio button.
6245
6246         * gtk/gtktoolbar.c: Clarify documentation wrt. GtkSignalFunc
6247         vs. void (*) (GtkWidget, gpointer). (#107495, Mariano
6248         Suarez-Alvarez).
6249
6250         * gtk/gtkcheckmenuitem.[ch]: new "draw_as_radio"
6251         property. (#111207, David Bordoley).
6252
6253         * gtk/gtktoggletoolbutton.c
6254         (gtk_toggle_tool_button_create_menu_proxy): use new
6255         "draw_as_radio" property on the menu item when the item is a radio
6256         tool button
6257
6258         * gtk/gtktoolbutton.c (gtk_tool_button_create_menu_proxy): Fixes
6259         to only pay attention to the "use_underline" property when the
6260         button label comes from the "label" property.
6261
6262 2003-08-29  Laurent Dhima  <laurenti@alblinux.net>
6263
6264         * configure.in: Added "sq" to ALL_LINGUAS.
6265         
6266 2003-08-28  Matthias Clasen  <maclas@gmx.de>
6267
6268         * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Markup
6269         fix in the docs.
6270
6271         * gtk/gtkuimanager.c: Change the XML format:
6272         <Root> element is replaced by <ui>,
6273         <menu> element is replaced by <menubar>,
6274         <submenu> element is replaced by <menu>,
6275         <dockitem> element is replaced by <toolbar>,
6276         <popups> element is gone,
6277         verb attribute is replaced by action,
6278         name defaults to action or the element name. 
6279
6280         * gtk/gtkactiongroup.[hc]: Replace GtkActionGroupEntry by 
6281         GtkActionEntry and GtkRadioActionEntry. GtkActionEntry is simplified 
6282         by removing the user_data, entry_type and extra_data fields, 
6283         GtkRadioActionEntry is further simplified by removing the callback. 
6284         The user_data can now be specified as an argument to 
6285         gtk_action_group_add_actions(). There is a new method 
6286         gtk_action_group_add_radio_actions(), which is similar to 
6287         gtk_action_group_add_actions(), but takes GtkRadioActionEntrys
6288         and a callback parameter in addition to the user_data. The callback
6289         is connected to the ::changed signal of the first group member.
6290         There are _full() variants taking a GDestroyNotify of 
6291         gtk_action_group_add_[radio_]actions().
6292
6293         * gtk/gtkradioaction.[hc]: Add a ::changed signal which gets emitted 
6294         on every member of the radio group when the active member is changed. 
6295         Add an integer property "value", and a getter for the value of "value"
6296         on the currently active group member. 
6297
6298         * tests/testactions.c: 
6299         * tests/testmerge.c: 
6300         * tests/merge-[123].ui:  
6301         * demos/gtk-demo/appwindow.c: Adjust to these changes.
6302
6303         * gtk/gtktoolbar.c (gtk_toolbar_append_element): Trivial doc fix.
6304
6305 2003-08-27  Anders Carlsson  <andersca@gnome.org>
6306
6307         * demos/gtk-demo/appwindow.c (do_appwindow): Focus the
6308         text view, so the tool bar won't have focus.
6309
6310 Tue Aug 26 09:57:38 2003  Owen Taylor  <otaylor@redhat.com>
6311
6312         * gdk/x11/gdkkeys-x11.c (update_keymaps): Fix variable
6313         declaration not at start of block. (#120371, Damien Carbery)
6314
6315 2003-08-26  Matthias Clasen  <maclas@gmx.de>
6316
6317         * gtk/gtkuimanager.[hc] (gtk_ui_manager_add_ui_from_string): Use gssize 
6318         for length, not gsize.
6319
6320         * gtk/gtkuimanager.c: Refactor the XML format a bit: rename <Root> to 
6321         <ui> and make it optional in strings. Rename verb to action, <dockitem> 
6322         to <toolbar>, <menu> to <menubar>, <submenu> to <menu>.
6323
6324         * demos/gtk-demo/appwindow.c: 
6325         * tests/testactions.c: 
6326         * tests/testmerge.c:
6327         * tests/merge-1.ui:
6328         * tests/merge-2.ui:
6329         * tests/merge-3.ui: Adjust to the new XML format.
6330
6331 Mon Aug 25 19:55:55 2003  Owen Taylor  <otaylor@redhat.com>
6332
6333         * gtk/gtktextview.c (gtk_text_view_update_layout_width): 
6334         Since we add one to the layout's reported width to
6335         account for the cursor, we need to subtract one when
6336         setting the wrap width for the layout. (Fixes infinite
6337         loop (#120325, Frederic Crozat)
6338
6339         * gtk/gtktextlayout.c (gtk_text_layout_get_line_display): 
6340         Be a bit more careful about rounding when converting
6341         wrapped width from Pango units to pixels.
6342
6343 2003-08-26  Matthias Clasen  <maclas@gmx.de>
6344
6345         Rename GtkMenuMerge to GtkUIManager. 
6346         
6347         * gtk/gtkuimanager.[hc]: New files. 
6348         * gtk/gtkmenumerge.[hc]: Removed. 
6349
6350         * gtk/Makefile.am: 
6351         * gtk/gtk.h:
6352         * tests/testmerge.c: 
6353         * tests/testactions.c: 
6354         * demos/gtk-demo/appwindow.c: Replace all uses of GtkMenuMerge by 
6355         GtkUIManager.
6356
6357         * demos/gtk-demo/appwindow.c: Make GtkMenuMerge demo less intimidating: 
6358         add comments to entries array, remove newlines from ui definition. Don't 
6359         use the ::add_widget signal.
6360
6361 Mon Aug 25 17:28:04 2003  Owen Taylor  <otaylor@redhat.com>
6362
6363         * gtk/gtknotebook.c (gtk_notebook_forall): Don't
6364         include page->menu_label - causes various problems,
6365         including #12047.
6366
6367 Mon Aug 25 23:21:43 2003  Kristian Rietveld  <kris@gtk.org>
6368
6369         Merge from stable.
6370
6371         Fixes #115871, reported by Michael Natterer.
6372
6373         * gtk/gtktreeprivate.h: added GtkTreeSelectMode enum,
6374         added ctrl_pressed and shift_pressed bitfields,
6375         (_gtk_tree_selection_internal_select_node): replace GdkModifierType
6376         arg with GtkTreeSelectMode.
6377
6378         * gtk/gtktreeselection.c (gtk_tree_selection_set_mode),
6379         (gtk_tree_selection_select_path), (gtk_tree_selection_unselect_path),
6380         (_gtk_tree_selection_internal_select_node): all updated for
6381         GdkModifierType -> GtkTreeSelectMode move.
6382
6383         * gtk/gtktreeview.c (gtk_tree_view_button_press): set ctrl_pressed
6384         and shift_pressed around selection handling block,
6385         (gtk_tree_view_real_select_cursor_row),
6386         (gtk_tree_view_real_toggle_cursor_row),
6387         (gtk_tree_view_real_selection_cursor_parent),
6388         (gtk_tree_view_real_set_cursor): use ctrl_pressed and shift_pressed,
6389         instead of checking the event state. And also updates for the
6390         GdkModifierType -> GtkTreeSelectMode move.
6391
6392 Wed Aug 20 21:26:49 2003  Owen Taylor  <otaylor@redhat.com>
6393
6394         * gtk/gtkplug.c (gtk_plug_focus): Send the focus on
6395         to the parent when there was no focus widget before
6396         and no focus widget after - that is, when there are
6397         no focusable widgets. (#108678, help tracking it
6398         down from Padraig O'Briain, Federico Mena Quintero, )
6399
6400         * gtk/gtkxembed.[ch]: Move various shared utilities
6401         for the XEMBED protocol eused by GtkPlug and GtkSocket 
6402         here.
6403
6404         * gtk/gtkxembed.[ch] gtkplug.c gtksocket.c: Implement
6405         a flag bit that is sent with focus mesages to indicate
6406         that the focus has wrapped around on the toplevel;
6407         use this bit to catch infinite loops when there is no
6408         focusable widget at ll in the entire toplevel.
6409
6410         * tests/testsocket.c (child_read_watch): Remove an
6411         extraneous unref.
6412
6413         * gtk/gtkplug.c gtk/gtksocket.c gtk/gtkxembed.h: 
6414         Up XEMBED protocol version to 1, add logic for 
6415         sending the right version in XEMBED_EMBEDDED_NOTIFY.
6416
6417         * gtk/gtksocket.c (gtk_socket_add_window): Send
6418         the embedder window in the XEMBED_EMBEDDED_NOTIFY
6419         as the spec requires.
6420
6421 Mon Aug 25 16:15:41 2003  Owen Taylor  <otaylor@redhat.com>
6422
6423         * gdk/x11/gdkkeys-x11.c: Fix up CapsLock and 
6424         NumLock handling for non-XKB. Add a special case
6425         hack for NumLock on Sun servers. (Patch from
6426         Robert Basch, #115819)
6427
6428 2003-08-25  Matthias Clasen  <maclas@gmx.de>
6429
6430         * gtk/gtkactiongroup.c (gtk_action_group_add_actions): Remove C99isms. (Morten 
6431         Welinder)
6432
6433         * gtk/gtkactiongroup.[hc] (gtk_action_group_set_translate_func,
6434         gtk_action_group_set_translation_domain): Hooks for translation of
6435         label and tooltip in GtkActionGroupEntries.  (#120620)
6436
6437 2003-08-25  Matthias Clasen  <maclas@gmx.de>
6438
6439         * gtk/gtkactiongroup.h (GtkActionGroupEntryType): Namespace the enum
6440         values properly. Sorry about the resize grip trouble, Owen.  (#120621)
6441         
6442         * gtk/gtkactiongroup.c: 
6443         * demos/gtk-demo/appwindow.c: 
6444         * tests/testmerge.c: 
6445         * tests/testactions.c: Use new GtkActionGroupEntryType enum.  
6446
6447 Sun Aug 24 17:14:44 2003  Owen Taylor  <otaylor@redhat.com>
6448
6449         * gtk/gtk.h: Remove reference to gtkresizegrip.h.
6450
6451 Sun Aug 24 17:03:44 2003  Owen Taylor  <otaylor@redhat.com>
6452
6453         * gtk/Makefile.am: Fix accidental commit of references
6454         to gtkresizegrip.[ch]
6455
6456 Sun Aug 24 17:00:03 2003  Owen Taylor  <otaylor@redhat.com>
6457
6458         * gtk/gtkrc.c: Fix some missing initializations of
6459         rc_file->directory.
6460
6461 2003-08-24  Matthias Clasen  <maclas@gmx.de>
6462
6463         * gtk/gtkaction.[ch]: 
6464         * gtk/gtktoggleaction.[ch]: 
6465         * gtk/gtktoggleactionprivate.h: 
6466         * gtk/gtkradioaction.[ch]: 
6467         * gtk/gtkactiongroup.[ch]: 
6468         * gtk/gtkmenumerge.[ch]: A model-view separation for menus and
6469         toolbars, using the EggMenu code by James Henstridge.
6470
6471         * gtk/gtk.h: Include new headers.
6472         * gtk/Makefile.am: Add new files.
6473
6474         * tests/testactions.c: Test for actions.
6475         * tests/testmerge.c: Test for menu merging.
6476         * tests/merge-[123].ui: Test data for testmerge. 
6477         * tests/Makefile.am: Add testactions and testmerge.
6478
6479         * demos/gtk-demo/appwindow.c: Use GtkMenuMerge to construct the 
6480         menubar and toolbar.
6481         
6482 Sat Aug 23 21:40:18 2003  Owen Taylor  <otaylor@redhat.com>
6483  
6484         * gtk/gtkrc.c (gtk_rc_context_parse_one_file): Fix 
6485         problem where rc_file->directory wasn't always getting
6486         set. (#120549, Luis Villa)
6487  
6488 2003-08-22  Christian Rose  <menthos@menthos.com>
6489
6490         * configure.in: Added "ne" to ALL_LINGUAS.
6491
6492 Thu Aug 21 16:00:36 2003  Owen Taylor  <otaylor@redhat.com>
6493  
6494         * gtk/gtkrc.c: Keep a list of current GtkRcFiles
6495         being parsed, not just the directories for those
6496         files. Use that to catch recursion. (Part of
6497         #114988)
6498  
6499 Thu Aug 21 21:27:45 2003  Kristian Rietveld  <kris@gtk.org>
6500
6501         Merge from stable.
6502
6503         Fix option menu scrolling (#119821, Owen Taylor).
6504
6505         * gtk/gtkmenu.c (gtk_menu_scroll_to): remove logic introduced
6506         by #80484 and the CLAMP,
6507         (get_menu_height): new function,
6508         (gtk_menu_real_move_scroll): sort of moved the CLAMP here to correct
6509         new_offset to handle page up/down right.
6510
6511 Thu Aug 21 15:17:42 2003  Owen Taylor  <otaylor@redhat.com>
6512
6513         * gdk/x11/gdkkeys-x11.c: Change the interpretation
6514         of consumed_modifiers so that it contains:
6515          - Modifiers combinations actually found in
6516            state.
6517          - Single modifier modifier combinations.
6518         But not multi-modifier combinations that aren't
6519         in event->state. Document. (#100439)
6520
6521 Thu Aug 21 20:53:46 2003  Kristian Rietveld  <kris@gtk.org>
6522
6523         Slightly modified patch from Yann Rouillard to improve selection
6524         behavior with the mouse. Fixes #120187.
6525
6526         * gtk/gtktreeview.c (gtk_tree_view_button_press): only
6527         select/deselect items on the first button press of button 1,
6528         expand checks for row_activated to include triple clicks.
6529
6530 Thu Aug 21 01:33:51 2003  Kristian Rietveld  <kris@gtk.org>
6531
6532         Merge from stable.
6533
6534         * gtk/gtkspinbutton.c (gtk_spin_button_size_request): always round
6535         approximate digit widths up, to avoid truncation, convert to
6536         pango pixels when we have the full string width instead of converting
6537         the approx digit width to pango pixels, take inner border and
6538         interior focus into account correctly. (Fixes #116368, patch from
6539         Morten Welinder).
6540
6541 2003-08-20  Noah Levitt  <nlevitt@columbia.edu>
6542
6543         * gtk/queryimmodules.c: Don't look at the same directory twice (in
6544         simple cases). (#120342)
6545
6546 Wed Aug 20 22:04:47 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
6547
6548         * gdk/gdkwindow.c: Make the layers in the paint stack have their
6549         own pixmap instead of sharing one. (#118317)
6550
6551         * tests/testgtk.c (create_get_image): Fixes to make the window fit
6552         on an 800x600 screen
6553
6554 Wed Aug 20 22:03:25 2003  Kristian Rietveld  <kris@gtk.org>
6555
6556         Merged from stable.
6557
6558         * gtk/gtkspinbutton.c (start_spinning): change the type of step
6559         to gdouble, since it gets it's data from a gdouble (Fixes #113547).
6560
6561 Mon Aug 18 17:19:12 2003  Owen Taylor  <otaylor@redhat.com>
6562
6563         * modules/input/gtkimcontextxim.[ch]: Substantially
6564         rework the handling of status windows:
6565         
6566          - Store the current StatusWindow in the 
6567            GtkIMContextXIM structure and vice-versa, so we
6568            don't have to hunt the window hierarchy on
6569            cleanup.
6570          - Use the Gtkidget hierarchy instead of/or as well
6571            as the GdkWindow hierarchy when finding the toplevel;
6572            this helps for things like GtkHandlebox
6573          - Watch GtkWidget::hierarchy_changed to catch 
6574            changes in the toplevel without changes in the
6575            GdkWindow (reparenting)
6576          - Never create the GtkWindow for the status window
6577            unless we have text to display.
6578          - Various cleanups, add lots of comments.
6579
6580         (#115077, much help from Takuro Ashie and Hidetoshi
6581         Tajima in tracking this down and figuring out a fix.)
6582
6583         * modules/input/gtkimcontextxim.c (gtk_im_context_xim_focus_in): 
6584
6585         * modules/input/gtkimcontextxim.c: Track the current
6586         screen for each toplevel so that we show the status
6587         window on the right screen. (#116340, James Su)
6588
6589         * modules/input/gtkimcontextxim.c: If create a new IC
6590         when we currently have the focus, call XSetICFocus()
6591         on it.
6592         
6593         * modules/input/gtkimcontextxim.c (get_im): Fix bug
6594         with multiple open screens.
6595
6596 Tue Aug 19 14:37:46 2003  Owen Taylor  <otaylor@redhat.com>
6597
6598         * gtk/gtkimmulticontext.[ch] (struct _GtkIMMulticontext): 
6599         Replace client_window field with 'priv' pointer,
6600         retaining binary compatibility.
6601
6602         * gtk/gtkimmulticontext.c (gtk_im_multicontext_set_slave): 
6603         save use_preedit/cursor_location/focus status and set
6604         up the new slave appropriately. (#118651, Botond Botyanszki)
6605
6606 Tue Aug 19 13:58:50 2003  Owen Taylor  <otaylor@redhat.com>
6607
6608         * gdk/x11/gdkgeometry-x11.c (gdk_window_scroll): 
6609         Don't use impl->position_info.clip_rect for toplevels.
6610         (#107068, reported by Thomas Mirlacher)
6611
6612 Mon Aug 18 11:48:51 2003  Owen Taylor  <otaylor@redhat.com>
6613
6614         * gdk/x11/gdkdrawable-x11.c (convert_to_format): 
6615         Add a fallback for unaligned source data for
6616         FORMAT_ARGB_MASK. (#117217)
6617
6618 Mon Aug 18 10:51:57 2003  Owen Taylor  <otaylor@redhat.com>
6619
6620         * configure.in: Rework handling of REBUILD_PNGS,
6621         so that we also don't try to REBUILD_PNGS when
6622         cross-compiling and there is no gdk-pixbuf-csource.
6623         But give an error if gtk/stock-icons/gtkstockpixbufs.h
6624         is not in the source tree. (Note that REBUILDS_PNG
6625         was set backwards before, which is why you always
6626         had to manually recreate gtkstockpixbufs.h!)
6627
6628 Mon Aug 18 10:19:55 2003  Owen Taylor  <otaylor@redhat.com>
6629
6630         * gtk+-2.0-uninstalled.pc.in: Add a missing gtk/ in the
6631         path to libgtk.la. (#120080, Benedikt Spranger)
6632
6633 Sat Aug 16 10:34:49 2003  Owen Taylor  <otaylor@redhat.com>
6634
6635         * modules/input/imcedilla.c: Make the list of default
6636         languages more comprehensive. (Suggestion of
6637         Fco. Javier F. Serrador)
6638
6639 Sat Aug  9 12:47:11 2003  Owen Taylor  <otaylor@redhat.com>
6640
6641         * gdk/gdk.c (gdk_arg_context_parse): Fix broken 
6642         parentheses when skipping args.
6643
6644 Sat Aug 16 16:22:23 2003  Kristian Rietveld  <kris@gtk.org>
6645
6646         Fix major bug in row ref handling, so the new combo box
6647         will actually work right (:. Bug #107748. Patch written
6648         with help from Tim Janik.
6649
6650         The basic idea is to update the row refs in a closure,
6651         before the actual signal is emitted (rather than having
6652         the model connect signal handlers).
6653
6654         * gtk/gtktreemodel.c (gtk_tree_model_base_init): change
6655         g_signal_new calls for row_inserted, row_deleted and
6656         rows_reordered to use the new marshallers,
6657         (row_inserted_marshall), (row_deleted_marshall),
6658         (rows_reordered_marshall): the new marshallers,
6659         (gtk_tree_row_ref_inserted_callback): renamed to
6660         gtk_tree_row_ref_inserted since it isn't a callback
6661         anymore and gets called by the marshaller now,
6662         (gtk_tree_row_ref_deleted_callback): likewise,
6663         (gtk_tree_row_ref_reordered_callback): likewise,
6664         (connect_ref_callbacks), (disconnect_ref_callbacks):
6665         removed,
6666         (gtk_tree_row_reference_new_proxy),
6667         (gtk_tree_row_reference_free),
6668         (gtk_tree_row_reference_inserted),
6669         (gtk_tree_row_reference_deleted),
6670         (gtk_tree_row_reference_reordered): updated.
6671
6672 Fri Aug 15 16:54:39 2003  Owen Taylor  <otaylor@redhat.com>
6673
6674         Improve Cedilla handling - based on a patch from Gustavo 
6675         De Nardin, #111334
6676
6677         * modules/input/imcedilla.c po/POTFILES.in: Input method that 
6678         produces C_WITH_CEDILLA rather than C_WITH_ACUTE for 
6679         dead_acute+c combinations. Make this the default for
6680         fr and pt.
6681
6682         * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave): 
6683         Use LC_CTYPE instead of LC_MESSAGES to pick the default
6684         input method.
6685
6686 Fri Aug 15 17:00:19 2003  Owen Taylor  <otaylor@redhat.com>
6687
6688         * gtk/gtkimcontextsimple.c: Fix missing compose sequence
6689         for Multi_key+c+apostrophe.
6690
6691 Fri Aug 15 21:57:34 2003  Kristian Rietveld  <kris@gtk.org>
6692
6693         Merged from stable.
6694
6695         * gtk/gtktreeview.c (gtk_tree_view_adjustment_changed): stop editing
6696         on vertical scrolling. (#108035, reported by Tim Janik).
6697
6698 Fri Aug 15 20:06:42 2003  Kristian Rietveld  <kris@gtk.org>
6699
6700         Merged from stable.
6701
6702         * gtk/gtktreeview.c (gtk_tree_model_sort_row_changed),
6703         (gtk_tree_model_sort_level_find_insert),
6704         (gtk_tree_model_sort_insert_value): fix off-by-one error.
6705         (#109292 continued, patch from Yann Rouillard).
6706
6707 Fri Aug 15 19:43:14 2003  Kristian Rietveld  <kris@gtk.org>
6708
6709         (Note: This is not exactly the same as the patch which went in
6710          gtk-2-2).
6711
6712         * gtk/gtktreeview.c (gtk_tree_view_class_init),
6713         (gtk_tree_view_key_press), (gtk_tree_view_search_key_press_event):
6714         Also support the up, down, left, right, home, end, page up and
6715         page down keys on the numpad. (#119419, reported by Alex Larsson).
6716
6717 Fri Aug 15 12:34:04 2003  Owen Taylor  <otaylor@redhat.com>
6718
6719         Fixes for X/Cygwin builds of GTK+ (#107623, Masahiro Sakai):
6720
6721         * configure.in (GDK_DEP_LIBS_FOR_X): Make sure that
6722         we link libgtk against X explicitely, since we
6723         make GTK+ calls for plug/socket.
6724
6725         * gtk/queryimmodules.c: Use USE_LA_MODULES and 
6726         G_MODULE_SUFFIX here. 
6727
6728         * gdk/x11/gdkdrawable-x11.c (gdk_x11_draw_image): Protect
6729         XShmPutImage with #ifdef USE_SHM.
6730
6731 Thu Aug 14 18:25:39 2003  Owen Taylor  <otaylor@redhat.com>
6732
6733         * gtk/gtkfilesel.c (gtk_file_selection_populate):
6734         Don't reposition the cursor when we aren't trying
6735         to complete. (Fixes problems with selection on
6736         startup, #108433, reported by Mark Finlay.)
6737
6738         * gtk/gtkfilesel.c (gtk_file_selection_populate): Remove
6739         code that tried to position the cursor after the common
6740         prefix when there was one, it wasn't working, and
6741         would be hard to fix. Just always put the cursor
6742         at the end when completing.
6743
6744 Thu Aug 14 17:58:23 2003  Owen Taylor  <otaylor@redhat.com>
6745
6746         * gtk/gtkfilesel.c (get_current_dir_utf8): If getting
6747         the current directory fails because of encoding
6748         conversion problems, walk up textually to parent
6749         directories until we can convert. (#113627)
6750
6751 Wed Aug 13 17:01:49 2003  Owen Taylor  <otaylor@redhat.com>
6752
6753         * gtk/gtkmenushell.[ch] (gtk_menu_shell_enter_notify):
6754         Remove usage of menu_shell->ignore leave which was
6755         to deal with stray events we no longer get because
6756         we do grabbing differently. Comment it as unused in
6757         the header. (#115837, Keith Bissett)
6758
6759 Wed Aug 13 16:32:43 2003  Owen Taylor  <otaylor@redhat.com>
6760
6761         * gtk/gtkmenu.c (gtk_menu_position, gtk_menu_window_size_request): 
6762         Fix some places that weren't properly Xinerama-ified.
6763
6764         * gtk/gtkmenu.c: Fix problem with windows that scroll
6765         at the top of the screen.
6766
6767 Wed Aug 13 11:34:53 2003  Owen Taylor  <otaylor@redhat.com>
6768
6769         * gtk/gtkcombo.c (gtk_combo_init): connect_after() to 
6770         key-press-event on the entry, so input methods get access to 
6771         key presses before GtkCombo customization.
6772         (#115451, Botond Botyanszki)
6773
6774 2003-08-13  Anders Carlsson  <andersca@gnome.org>
6775
6776         * tests/testtoolbar.c: (set_important_func), (important_toggled),
6777         (create_items_list):
6778         Add an important column.
6779         
6780 Tue Aug 12 15:00:15 2003  Owen Taylor  <otaylor@redhat.com>
6781
6782         * gtk/gtkwindow.c (gtk_window_real_set_focus): Protect
6783         against reentrancy from ::focus-out handlers. 
6784         (#118129, Felipe Heidrich)
6785
6786 Tue Aug 12 14:27:42 2003  Owen Taylor  <otaylor@redhat.com>
6787
6788         * gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Remove
6789         GDK_LOCK_MASK before calling
6790         gdk_keymap_translate_keyboard_state so bindings 
6791         and accelerators are independent of the Caps-lock
6792         key. (#115384, reported by Toni Willberg)
6793
6794 Mon Aug 11 12:07:14 2003  Owen Taylor  <otaylor@redhat.com>
6795
6796         * gdk/x11/gdkevents-x11.c (get_real_window): Add missing
6797         break statements (#119494, Soeren Sandmann)
6798
6799 Mon Aug 11 11:10:07 2003  Owen Taylor  <otaylor@redhat.com>
6800
6801         * gtk/gtkwidget.h: Mark parent public as well; it's
6802         extensively accessed in existing code, so there is
6803         no advantage in making people use get_parent().
6804         (Tweak to #119463 fix)
6805
6806 2003-08-11  Matthias Clasen  <maclas@gmx.de>
6807
6808         Add support for EWMH "Above" and "Below" window states.  (105100,
6809         Manuel Clos)
6810         
6811         * tests/testgtk.c: Add "Above" and "Below" to the the "Window
6812         State" demo.
6813
6814         * gtk/gtkwindow.h: Add gtk_window_set_keep_above and
6815         gtk_window_set_keep_below.
6816
6817         * gtk/gtk.def: Add gtk_window_set_keep_above and
6818         gtk_window_set_keep_below.
6819
6820         * gtk/gtkwindow.c (gtk_window_set_keep_below):
6821         (gtk_window_set_keep_above): New functions, call the corresponding
6822         gdk functions.
6823
6824         * gdk/x11/gdkwindow-x11.c (gdk_window_set_keep_below): New
6825         function, sets _NET_WM_STATE_BELOW.
6826         (gdk_window_set_keep_above): New function, sets
6827         _NET_WM_STATE_ABOVE.
6828
6829         * gdk/gdkwindow.h: Add gdk_window_set_keep_above and
6830         gdk_window_set_keep_below.
6831
6832         * gdk/gdkevents.h (GdkWindowState): Add GDK_WINDOW_STATE_ABOVE and
6833         GDK_WINDOW_STATE_BELOW.
6834
6835         * gdk/gdk.def: Add gdk_window_set_keep_above and
6836         gdk_window_set_keep_below.
6837
6838         * acinclude.m4: Copy newer versions of JH_CHECK_XML_CATALOG and
6839         JH_PATH_XML_CATALOG from gtk-doc to enable configuring without
6840         xmlcatalog in PATH.  (#119115)
6841
6842 2003-08-10  Matthias Clasen  <maclas@gmx.de>
6843
6844         * gtk/gtkwidget.h (struct _GtkWidget): Mark some members as
6845         public.  (#119463)
6846
6847 2003-08-09  Noah Levitt  <nlevitt@columbia.edu>
6848
6849         * gdk/gdkevents.h:
6850         * docs/reference/gdk/tmpl/windows.sgml: Elaborate a bit more in the
6851         docs on GdkFilterFunc and GdkFilterReturn.
6852
6853 2003-08-09  Matthias Clasen  <maclas@gmx.de>
6854
6855         * gtk/gtkcalendar.c:  Add and hook in gtk_calendar_scroll,
6856         to let the mouse wheels select the month. Scrolling down
6857         moves forward in time. (#53134, Abigail Brady) 
6858
6859         * gtk/gtkcalendar.c: Complete the RTL flipping support for
6860         GtkCalendar, make it possible to flip the headings using the
6861         "magic translated string" technique.  Translators, note the
6862         comment in gtk_calendar_init() explaining this.  (#102416)
6863
6864         * gtk/gtkcalendar.c: Get the information about the first day of
6865         the week from the locale using another instance of the "magic
6866         translated string" technique.  Ignore the display option
6867         GTK_CALENDAR_WEEK_START_MONDAY with a warning.  (#87977)
6868
6869         * gtk/gtkcalendar.c: Add DND support to GtkCalendar. The selected
6870         date is dragged as text, formatted via strftime %x. Text drops are
6871         accepted if g_date_set_parse() can make sense of the text. A
6872         dedicated data format for date DND has not been introduced yet,
6873         since there didn't seem to be sufficient consensus on such a
6874         format on xdg-list.  (#117297)
6875         
6876 2003-08-08  Matthias Clasen  <maclas@gmx.de>
6877
6878         * gdk/gdkregion-generic.c (gdk_region_spans_intersect_foreach):
6879         Fix a segfault.  (#115284, Jan Kratochvil)
6880
6881 2003-08-08  Tor Lillqvist  <tml@iki.fi>
6882
6883         * gdk/win32/gdkevents-win32.c (print_event): Print also the root
6884         coordinates for events that have such. Print coordinates for enter
6885         and leave events.
6886
6887         (gdk_event_translate): Don't use event uninitialixed in the
6888         return_exposes branch of the WM_PAINT handler.
6889
6890         * gdk/win32/gdkwindow-win32.c (gdk_window_new,
6891         _gdk_windowing_window_get_pointer, _gdk_windowing_window_at_pointer): 
6892         Must offset top-level window coordinates here, too.
6893
6894 2003-08-08  Matthias Clasen  <maclas@gmx.de>
6895
6896         * demos/gtk-demo/appwindow.c (do_appwindow): Hide the resize grip
6897         when maximized or fullscreen.
6898
6899 2003-08-07  Tor Lillqvist  <tml@iki.fi>
6900
6901         * gdk/win32/gdkinput-win32.h
6902         * gdk/win32/gdkinput-win32.c (_gdk_input_configure_event,
6903         _gdk_input_enter_event): Drop the GdkEvent* parameter, it wasn't
6904         used.
6905
6906         * gdk/win32/gdkevents-win32.c (gdk_event_translate): Adapt caller
6907         accordingly, in fact an uninitialised variable was dereferenced.
6908         
6909
6910         [Win32] Add support for multiple monitors. 
6911         
6912         * gdk/win32/gdkprivate-win32.h
6913         * gdk/win32/gdkglobals-win32.c: New global variables for
6914         multiple-monitor info: _gdk_num_monitors, _gdk_monitors, and
6915         _gdk_offset_x and _gdk_offset_y.
6916         
6917         * gdk/win32/gdkdisplay-win32.c (count_monitor, enum_monitor): New
6918         functions, enumeration functions passed to EnumDisplayMonitors().
6919
6920         (gdk_display_open): If the EnumDisplayMonitors() and
6921         GetMonitorInfo() API is present (on Win98, Win2000 and newer), use
6922         if to find out monitor info.
6923
6924         Calculate the offset between Win32 coordinates (relative to the
6925         primary monitor's origin (and thus negative on monitors to the
6926         left of or above it), and GDK's (visible coordinates should be
6927         non-negative).
6928         
6929         * gdk/win32/gdkscreen-win32 (gdk_screen_get_n_monitors,
6930         gdk_screen_get_monitor_geometry): Use information collected above.
6931
6932         (gdk_window_move, gdk_window_move_resize_window_get_geometry):
6933         Subtract _gdk_offset_{x,y} from GDK root window coordinates.
6934
6935         (gdk_window_get_geometry, gdk_window_get_origin,
6936         gdk_window_get_frame_extents): For top-level windows, add
6937         _gdk_offset_{x,y} to GDK root window coordinates
6938
6939         Still need to handle multiple monitors in
6940         gdk_window_fullscreen(). Probably should make the window
6941         fullscreen on the monitor where the cursor is?
6942
6943         * gdk/win32/gdkevents-win32.c: Add _gdk_offset_{x,y} to all GDK
6944         root window coordinates in GdkEvents.
6945
6946         
6947         [Win32] Fix geometry hint handling. Add support for resize
6948         increment and base size, and aspect ratio geometry hints. The
6949         "gridded geometry" test in testgtk now works beautifully.
6950
6951         * gdk/win32/gdkwindow-win32.c (gdk_window_set_geometry_hints):
6952         Turns out this function shouldn't actually ever modify the
6953         window's size, just store the hints. (Old code kept for a while
6954         inside #if 0.)
6955
6956         (gdk_window_set_hints): Remove presumably broken code that handles
6957         the position hints, this function is obsolete anyway.
6958
6959         * gdk/win32/gdkevents-win32.c: Drop the current_{x,y}_root
6960         variables, not used.
6961
6962         (adjust_drag): New function, used to implement resize increment
6963         hints.
6964
6965         (gdk_event_translate): Handle WM_SIZING, implement resize
6966         increment and base size, and aspect ratio geometry hints here. The
6967         WM_GETMINMAXINFO handler takes care of the minimum and maximum
6968         size hints as before. Fix the WM_GETMINMAXINFO handler to take
6969         into account window decorations. No need to modify the
6970         ptMaxPosition and ptMaxSize fields in the MINMAXINFO struct,
6971         the defaults are fine.
6972         
6973         * gdk/win32/gdkprivate-win32.h 
6974         * gdk/win32/gdkwindow-win32.c (_gdk_win32_adjust_client_rect,
6975         _gdk_win32_get_adjusted_client_rect): New helper functions.
6976
6977 2003-08-07  Matthias Clasen  <maclas@gmx.de>
6978
6979         * gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed): Reset the
6980         toplevel->have_* flags before iterating over the _NET_WM_STATE 
6981         atoms.  (#119217) 
6982
6983 Thu Aug  7 16:49:29 2003  Owen Taylor  <otaylor@redhat.com>
6984  
6985         * gtk/gtkwidget.c (gtk_widget_set_style_internal): 
6986         Fix a bug where on theme change, resize/redraw wasn't
6987         properly getting queued on toplevel windows. (#116346,
6988         Rajkumar Siva)
6989  
6990         * gtk/gtkwidget.c (gtk_widget_invalidate_widget_windows): 
6991         Fix bug where wrong coordinates were used for toplevel
6992         window.
6993  
6994 Thu Aug  7 16:40:21 2003  Owen Taylor  <otaylor@redhat.com>
6995
6996         * gtk/gtknotebook.c (gtk_notebook_remove): Remove leftover
6997         page_num variable (Archit Baweja)
6998
6999 2003-08-07  Matthias Clasen  <maclas@gmx.de>
7000
7001         * gtk/gtkspinbutton.c (gtk_spin_button_default_input): Use g_strtod() to
7002         cope with C libraries with crippled locale support.  (#115293)
7003
7004 2003-08-07  Hans Breuer  <hans@breuer.org>
7005
7006         * gdk/win32/gdkevents-win32.c : finally use TrackMouseEvent
7007         (only if the new window not known to Gdk) to get proper
7008         leave notification, and get rid of the wrong placed 
7009         tooltips, bug #102283
7010  
7011         (gdk_event_translate) : small code reordering to not get
7012         GDK_MOTION_NOTIFY for still mouse and get back tooltips on 
7013         menus, bug #117367
7014
7015 2003-08-07  Tor Lillqvist  <tml@iki.fi>
7016
7017         * gdk/gdk.def
7018         * gdk/win32/gdkfont-win32.c (gdk_fontset_load_for_display): Add
7019         missing function, trivially implement.
7020
7021 2003-08-07  Matthias Clasen  <maclas@gmx.de>
7022
7023         * gtk/gtkctree.c (draw_row): Don't cut descenders when 
7024         rendering.  (#118646, Charles Kerr) 
7025
7026 2003-08-06  Hans Breuer  <hans@breuer.org>
7027
7028         * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new) :
7029         initialize bits to 0 (probably default on NT)
7030
7031         * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon) :
7032         now it works as intended ;-)
7033
7034 2003-08-04  Hans Breuer  <hans@breuer.org>
7035
7036         * gdk/win32/gdkwindow-win32.c(gdk_window_set_modal_hint) :
7037         set HWND_NOTOPMOST for modal==FALSE, fixes bug #118435
7038
7039         * gdk/win32/gdkwindow-win32.c : implement gdk_window_[un]fullscreen
7040         (gdk_window_{move,resize,move_rezize})) : noop if FULLSCREEN
7041
7042         * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon) :
7043         against all expectations it is basically ony a call with WM_SETICON
7044         needed (the visual effect is there, though colors or mask are
7045         still somewhat wrong).
7046         * gdk/win32/gdkwindow-win32.h : place to store the HICON
7047
7048         * gdk/win32/gdkdrawabke.win32.c : readded the conditional end
7049         pixel drawing as it was fixed at 1999-08-23
7050
7051         gtk/gtk.def : updated
7052
7053 Tue Aug  5 10:07:08 2003  Owen Taylor  <otaylor@redhat.com>
7054
7055         * gtk/gtkmessagedialog.c (gtk_message_dialog_get_property): 
7056         Add a missing break. (#119156, Callum McKenzie)
7057
7058 Tue Aug  5 00:24:13 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
7059
7060         * gtk/gtkmenu.c (gtk_menu_position): New positioning
7061         algorithm.(#116649)
7062
7063 Fri Aug  1 15:26:46 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
7064
7065         * gtk/gtktoolbar.c, gtk/toolitem.c: add new "is_important"
7066         property
7067         
7068         * gtk/gtkradiotoolbutton.c
7069         (gtk_radio_tool_button_new_from_widget): Don't take a stock id
7070
7071         * gtk/gtkradiotoolbutton.c
7072         (gtk_radio_tool_button_new_with_stock_from_widget): make this
7073         function take a stock_id.
7074
7075         * gtk/toolbar: documentation
7076
7077 Mon Aug  4 14:53:46 2003  Owen Taylor  <otaylor@redhat.com>
7078
7079         * gdk/x11/gdkimage-x11.c (_gdk_windowing_image_init): 
7080         Fix problem where use_xshm was getting set wrong if
7081         MIT_SHM wasn't found. (George Lebel)
7082
7083 2003-08-04  Tor Lillqvist  <tml@iki.fi
7084
7085         * gdk/win32/gdkevents-win32.c (apply_filters): Fix braino:
7086         actually use the passed-in filter list. The function also needs a
7087         GdkWindow parameter, as filter functions expect
7088         GdkEvent::any.window to be valid. (#119034, Hans Breuer)
7089
7090 2003-08-03  Matthias Clasen  <maclas@gmx.de>
7091
7092         * gdk/x11/gdkscreen-x11.c (gdk_screen_get_n_monitors): 
7093         (gdk_screen_get_monitor_geometry): Improve wording of the docs, avoid
7094         the term "virtual screen".  (#119030, Tor Lillqvist)
7095
7096 2003-08-02  Matthias Clasen  <maclas@gmx.de>
7097
7098         * tests/testtext.c (test_init): 
7099         * tests/testgtk.c (test_init): 
7100         * tests/testdnd.c (test_init): 
7101         * demos/pixbuf-init.c (pixbuf_init): 
7102         * demos/gtk-demo/main.c (main): Use g_setenv().
7103
7104         * gdk/x11/gdkdisplay-x11.c (_gdk_windowing_set_default_display): Use
7105         g_unsetenv(). 
7106
7107 Sat Aug  2 12:53:16 2003  Owen Taylor  <otaylor@redhat.com>
7108
7109         * configure.in: Requires glib-2.3.0, pango-1.2.0.
7110
7111         * configure.in: Require Xft version 2,
7112         remove code for handling older versions of pango and Xft.
7113         Many miscellaneous improvements to X checks
7114
7115         * acinclude.m4: Add GTK_ADD_LIB() macro for adding 
7116         a library to a variable, avoiding dups.
7117
7118         * gdk/x11/gdkfont-x11.c (gdk_font_from_description_for_display): 
7119         Always load "fixed"
7120
7121         * gdk/x11/gdk*-x11.[ch]: Remove support for Xft1 and
7122         for pangox.
7123
7124 2003-08-02  Matthias Clasen  <maclas@gmx.de>
7125
7126         * gtk/gtkcolorsel.c (color_sample_drop_handle) 
7127         (palette_drop_handle): 
7128         * gtk/gtkcolorbutton.c (gtk_color_button_drag_data_received):  Accept
7129         drops with the wrong format, since the KDE color chooser incorrectly
7130         drops application/x-color with format 8.  (#118810)
7131
7132         * gtk/gtkcolorsel.c (color_sample_drop_handle) (palette_drop_handle): 
7133         * gtk/gtkcolorbutton.c (gtk_color_button_drag_data_received):  
7134         Accept drops with the wrong format, since the KDE color chooser 
7135         incorrectly drops application/x-color with format 8.  (#118810)
7136
7137 2003-08-02  Tor Lillqvist  <tml@iki.fi>
7138
7139         Fix gdk/win32 window geometry handling again. The window position
7140         in a GDK_CONFIGURE event should be that of the client area, not of
7141         the window decorations. (I was confused by the term "window
7142         border" in X11. It does *not* mean the window manager
7143         decorations. There are no X11-style window borders in Win32.)
7144         Also, this time do take the geometry hints into account
7145         appropriately when moving windows. Now testgtk's gravity test's
7146         move buttons work OK. There are stil problems with taking gravity
7147         into account when showing a hidden window.
7148
7149         * gdk/win32/gdkwindow-win32.h: Keep a whole GdkGeometry as hints
7150         instead of separate fields.
7151         
7152         * gdk/win32/gdkevents-win32.c (handle_configure_event): Don't
7153         adjust for decorations.
7154
7155         * gdk/win32/gdkwindow-win32.c (get_outer_rect,
7156         adjust_for_gravity_hints): New functions.
7157         (gdk_window_move, gdk_window_resize, gdk_window_move_resize): Use
7158         above functions, take geometry hints into account.
7159         (gdk_window_set_geometry_hints): Size hints specicy client area,
7160         not including decorations.
7161
7162 Fri Aug  1 17:10:22 2003  Owen Taylor  <otaylor@redhat.com>
7163
7164         * gtk/gtkfilesel.c (cmpl_completion_fullname): Always
7165         return an absolute path (#115590), fix a problem where
7166         you could crash the file selector with a looong name
7167         by returning a newly allocated buffer.
7168
7169 Fri Aug  1 16:44:51 2003  Owen Taylor  <otaylor@redhat.com>
7170
7171         * gtk/gtkfilesel.c (update_cmpl): Fix obvious reallocation
7172         bug in rarely or never hit code path (#118071,
7173         Tor Lillqvist)
7174
7175 Fri Aug  1 16:30:13 2003  Owen Taylor  <otaylor@redhat.com>
7176
7177         * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render): 
7178         If the check for missing depths, try actually creating pixmaps
7179         of the depths to deal with Xinerama not reporting
7180         all the depths it should. (#115822)
7181
7182 Fri Aug  1 15:33:59 2003  Owen Taylor  <otaylor@redhat.com>
7183
7184         * gtk/gtksocket.c: Patch from Denis Mikhalkin to
7185         forward KeyRelease events as well as KeyPress events.
7186         (#115597)
7187
7188 Fri Aug  1 15:06:25 2003  Owen Taylor  <otaylor@redhat.com>
7189  
7190         * gdk/gdk.c (gdk_parse_args): g_set_prgname("<unknown>")
7191         if argc is 0 as well, instead of leaving it unset.
7192         (#116023, Michael Meeks)
7193  
7194 Thu Jul 31 23:09:02 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
7195
7196         * gtk/gtktoolbar.c (gtk_toolbar_class_init): make show_arrow
7197         default to TRUE; ignore the property when api_mode != NEW_API
7198
7199 2003-07-31  Matthias Clasen  <maclas@gmx.de>
7200
7201         * gtk/gtkwindow.c (gtk_window_set_default_icon): Rename parameter pixbuf
7202         to icon, to pacify gtk-doc.
7203
7204         * gtk/gtkwidget.c (gtk_widget_class_init): Fix formatting of drag-motion 
7205         example. 
7206
7207 Thu Jul 31 15:33:33 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
7208
7209         * gtk/gtk*tool*.h: add padding to subclasses of GtkToolItem
7210
7211 Thu Jul 31 15:29:28 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
7212
7213         * gtk/gtktoolitem.c (struct _GtkToolItemPrivate): remove unused
7214         overflow_item field.
7215
7216 Wed Jul 30 21:11:13 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
7217
7218         * gtk/gtktoolitem.h: make _gtk_tool_item_toolbar_reconfigured()
7219         an internal function
7220
7221         * gtk/gtktoolitem.h: remove unused declaration of
7222         _gtk_tool_item_get_drag_window().
7223
7224 Wed Jul 30 17:03:58 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
7225
7226         * gtk/gtktoolbutton.[ch]:
7227         (gtk_tool_button_new): swap icon_widget and label arguments to
7228         match BonoboUIToolbarButton.
7229
7230         * gtk/gtktoolbar.h: un-deprecate gtk_toolbar_{set|unset}_style().
7231
7232 2003-07-30  Matthias Clasen  <maclas@gmx.de>
7233
7234         * gtk/gtkwidget.c (gtk_widget_class_init): Some updates to the DND
7235         signal docs. 
7236
7237 2003-07-29  Tor Lillqvist  <tml@iki.fi>
7238
7239         Fix for #108007, #112402, #117042: There was confusion in
7240         gdk/win32 at various places whether a window position refers to
7241         the decoration position or the client area position. Also whether
7242         window size includes decorations or not.
7243         
7244         The correct interpretation apparently is that in GDK (like in
7245         X11), a top-level window position means the decoration's position,
7246         but size means the window's inner size (client area size). In the
7247         Win32 API, the window size usually includes the decorations,
7248         though.
7249         
7250         * gdk/win32/gdkevents-win32.c (decode_key_lparam): Move inside
7251         #ifdef G_ENABLE_DEBUG.
7252         (handle_configure_event): New function, generates GDK_CONFIGURE
7253         events from WM_SIZE and WM_MOVE messages. Even if no event is
7254         generated because of the event mask, still set the private
7255         position and size fields. Calculate position and size correctly.
7256         (gdk_event_translate): Call handle_configure_event().
7257
7258         * gdk/win32/gdkgeometry-win32.c: Cosmetics.
7259
7260         * gdk/win32/gdkwindow-win32.c: Use GDI_CALL() and API_CALL()
7261         macros. Cosmetic debugging output changes.
7262         (SafeAdjustWindowRectEx): Remove. If an application wants to
7263         locate a window outside of the screen, it's not GDK's business to
7264         prevent it. And anyway, with multiple monitors, negative
7265         coordinates are perfectly normal.
7266         (gdk_window_new): Adjust the window size for decorations after
7267         _gdk_window_init_position() has done its job. (But the big window
7268         code currently is presumably broken on Win32 anyway.)
7269         (gdk_window_move): The position passed in is supposed to be that
7270         of the window border, so don't need to adjust for decorations.
7271         (gdk_window_resize, gdk_window_move_resize): Simplify somewhat.
7272
7273 Tue Jul 29 13:55:44 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
7274
7275         * gtk/gtktoolbar.c (gtk_toolbar_set_style,
7276         gtk_toolbar_prepend_element, gtk_toolbar_append_element,
7277         gtk_toolbar_insert_space, gtk_toolbar_prepend_space,
7278         gtk_toolbar_append_space, gtk_toolbar_insert_item,
7279         gtk_toolbar_prepend_item, gtk_toolbar_append_item,
7280         gtk_toolbar_set_tooltips, gtk_toolbar_set_orientation,
7281         gtk_toolbar_new, gtk_toolbar_prepend_item):
7282
7283         Move documentation inline from template files.
7284
7285         * gtk/gtktoolbar.c (gtk_toolbar_insert_element,
7286         gtk_toolbar_insert_widget, gtk_toolbar_prepend_widget,
7287         gtk_toolbar_append_widget, gtk_toolbar_remove_space,
7288         gtk_toolbar_insert_stock, gtk_toolbar_unset_icon_size,
7289         gtk_toolbar_get_icon_size, gtk_toolbar_set_icon_size,
7290         gtk_toolbar_get_tooltips, gtk_toolbar_unset_style,
7291         gtk_toolbar_get_style, gtk_toolbar_get_orientation)
7292
7293         Copy documentation from stable that was added after the EggToolbar
7294         branched.
7295
7296         * gtk/gtktoolbar.h: deprecate gtk_toolbar_unset_icon_size()
7297
7298 Mon Jul 28 18:21:34 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
7299
7300         * gtk+/docs/: Commit autogenerated changes, so patches will make
7301         sense.
7302
7303 2003-07-27  Tor Lillqvist  <tml@iki.fi>
7304
7305         * gdk/win32/gdkevents-win32.c (build_key_event_state): On Win9x,
7306         the keyboard state returned by GetKeyboardState() doesn't
7307         distinguish between the left and right Control and Alt keys. Thus
7308         we cannot detect AltGr (which is supposed to be left Control +
7309         right Alt) the same way as on NT-based systems, but have to accept
7310         either Control + either Alt as AltGr.
7311
7312 2003-07-27  Matthias Clasen  <maclas@gmx.de>
7313
7314         * gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach):
7315         Fix function name in warning message.  (#118156, Tim-Philipp
7316         Mller)
7317
7318         * gtk/gtkcellrenderer.c (gtk_cell_renderer_get_property):
7319         is-expander and is-expanded are boolean properties, not ints.
7320         (#118359, Josh Parsons)
7321
7322 Sat Jul 26 15:21:27 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
7323
7324         * gtk/gtkimagemenuitem.c
7325         (gtk_image_menu_item_toggle_size_request): don't request
7326         toggle_space when the image width is 0.
7327
7328 2003-07-25  Tor Lillqvist  <tml@iki.fi>
7329
7330         * gdk/win32/gdkprivate-win32.h
7331         * gdk/win32/gdkglobals-win32.c: New flags _gdk_input_locale_is_ime
7332         and _gdk_keyboard_has_altgr.
7333         
7334         * gdk/win32/gdkevents-win32.c: Lots of changes. Most important
7335         ones detailled here.
7336
7337         Code that has been ifdeffed out for a long time removed. Remove
7338         some really old doc comments that were left behind for some public
7339         functions, the official ones are in the X11 backend anyway. Change
7340         GDK_WINDOW_OBJECT() calls to GdkWindowObject casts. Reformat
7341         multi-line boolean expressions to have the operators at ends of
7342         lines.
7343
7344         As mouse capture with SetCapture() indeed seems to work OK, no
7345         need to have the correspoinding macro USE_SETCAPTURE and ifdefs.
7346
7347         Ifdef out the gdk-ping-msg stuff. I don't remember why it was
7348         needed at some time, and things seem to work fine now without
7349         (knock on wood).
7350
7351         Ifdef out the search for some Latin locale keyboard layout being
7352         loaded. Not used currently, but might be needed after all, if we
7353         decide that we want to be able to generate ASCII control character
7354         events with a non-Latin keyboard.
7355
7356         (assign_object): New helper function, handles the g_object_ref()
7357         and unref() calls when assigning GObject pointers.
7358                 
7359         (generate_crossing_events): Also generate the GDK_NOTIFY_INTERIOR
7360         enter event when the pointer has moved to an ancestor window. Was
7361         left out by mistake.
7362
7363         (gdk_window_is_ancestor): Renamed from gdk_window_is_child().
7364
7365         (gdk_pointer_grab, gdk_pointer_ungrab): Implement the confine_to
7366         functionality, using ClipCursor().
7367                 
7368         (find_window_for_mouse_event): Splice part of code into new
7369         function find_real_window_for_grabbed_mouse_event().
7370
7371         (fixup_event, append_event, apply_filters): New functions, code
7372         refactored out from elsewhere.
7373
7374         (synthesize_enter_or_leave_event, synthesize_leave_event,
7375         synthesize_enter_event,
7376         synthesize_leave_events,synthesize_enter_events): Also take a
7377         GdkCrossingMode parameter, in preparation to generating
7378         GDK_CROSSING_GRAB and GDK_CROSSING_UNGRAB events.
7379
7380         (fixup_event, append_event, fill_key_event_string): New functions,
7381         code refactoring.
7382
7383         (vk_from_char, build_keypress_event, build_keyrelease_event):
7384         Removed as part of dropping WM_CHAR handling.
7385
7386         (build_key_event_state,gdk_event_translate): Call
7387         GetKeyboardState(), once, for each keyboard message, instead of
7388         several calls to GetKeyState() here and there.
7389
7390         (gdk_event_translate): Fix bugs #104516, #104662, #115902. While
7391         at it, do some major refactoring, and some fixes for potential
7392         problems noticed while going through the code.
7393
7394         Don't handle WM_CHAR at all. Only handle WM_KEYDOWN and
7395         WM_KEYUP. Don't need the state variables related to whether to
7396         wait for WM_CHAR or not, and whether the current key is
7397         AltGr. Remove lots of complexity. Thus don't need the
7398         use_ime_composition flag.
7399
7400         Not handling WM_CHAR means dead key handling will have to be taken
7401         care of by GTK, but that seems to work fine, so no worry.
7402
7403         Another side-effect is that Alt+keypad digits don't work any
7404         longer, but it's better to learn to use GTK's ISO14755 support is
7405         anyway.
7406
7407         Be more careful in checking whether AltGr is involved. Only
7408         attempt to handle it if the keyboard actually has it. And
7409         explicitly check for *left* Control plus *right* Alt being
7410         pressed. Still, allow (left) Alt and/or (right) Control with AltGr
7411         chars.
7412
7413         Handle keys using similar code as in the X11 backend. As we have
7414         built a keymap in gdkkeys-win32.c anyway, use it by calling
7415         gdk_keymap_translate_keyboard_state() to look up the keysym from
7416         the virtual key code and keyboard state. Build the key event
7417         string in exactly the same way as the X11 backend.
7418
7419         If an IME is being used, don't generate GDK events for keys
7420         between receiving WM_IME_STARTCOMPOSITION and
7421         WM_IME_ENDCOMPOSITION, as those keys are for the IME.
7422         
7423         For WM_IME_COMPOSITION, handle all the Unicode chars returned from
7424         the IME, not just the first one.
7425
7426         gdk_event_translate() is still quite complex, could split the
7427         message handler cases out into separate functions.
7428
7429         On mouse events, when the mouse is grabbed, use
7430         find_real_window_for_grabbed_mouse_event() in order to be able to
7431         generate correct crossing events.
7432         
7433         No longer take a pre-allocated GdkEvent as parameter. Instead,
7434         allocate events as needed and append them to the queue. (This is
7435         different from how gdk_event_translate() in the X11 backend
7436         works.) This change made the code much clearer, especially in the
7437         cases where we have to generate several GDK events for one Windows
7438         message.  Return FALSE if DefWindowProc() should be called, TRUE
7439         if not. If DefWindowProc() should not be called, also return the
7440         value to be returned from the window procedure.
7441
7442         (Previously, the interaction with gdk_event_translate()'s caller
7443         was much more complex, when we had to indicate whether the
7444         already-queued event should be left in the queue or removed, and
7445         in addition also had to indicate whether to call DefWindowProc()
7446         or not, and what value to return from the window procedure if
7447         not.)
7448
7449         Don't use a separate "private" variable required to be pointing to
7450         the GdkWindowObject of the "window" variable at all times. Just
7451         use casts, even if looks a bit uglier.
7452
7453         Notice destroyed windows as early as possible, and break out of
7454         the messsage switch.
7455
7456         Use _gdk_pointer_root as current_window when the pointer is
7457         outside GDK's top-level windows.
7458         
7459         On WM_INPUTLANGCHANGE, set _gdk_input_locale_is_ime as
7460         appropriate, based on ImmIsIME().
7461         
7462         (gdk_event_translate, gdk_event_send_client_message_for_display,
7463         gdk_screen_broadcast_client_message): Implement client messages.
7464         Use a registered Windows message to pass GDK client messages. Note
7465         that the amount of user data is restricted to four bytes, as it is
7466         carried in the LPARAM. (The WPARAM is used for the message type
7467         "atom".)
7468         
7469         (real_window_procedure): Adapt for new gdk_event_translate()
7470         interface.
7471
7472         * gdk/win32/gdkmain-win32.c (_gdk_windowing_init): Set
7473         _gdk_input_locale_is_ime initially.
7474
7475         * gdk/win32/gdkwindow-win32.c: Use g_object_ref()/unref() instead
7476         of g_colormap_ref()/unref().
7477
7478         (gdk_window_new): Made code a bit more like the X11 one, pretend
7479         to handle screens (although we just have one for now).
7480
7481         * gdk/x11/gdkevents-x11.c
7482         (gdk_event_send_client_message_for_display,
7483         gdk_screen_broadcast_client_message): Document the user data
7484         limitation on Win32.
7485
7486         * gdk/win32/gdkevents-win32.c (print_event): More complete enter
7487         and leave notify detail output.
7488
7489         * gdk/win32/gdkkeys-win32.c (update_keymap): Make dead keys
7490         visible to GDK and GTK. Store the corresponding GDK_dead_* keysym
7491         for those, so that the GtkIMContextCimple compose tables will
7492         work. Deduce if the keyboard layout has the AltGr key, and set the
7493         above flag accordingly.
7494
7495 2003-07-26  Matthias Clasen  <maclas@gmx.de>
7496
7497         * gtk/gtkwidget.c: Document DND signals.
7498
7499 2003-07-24  Matthias Clasen  <maclas@gmx.de>
7500
7501         * gtk/gtktextview.c (popup_targets_received): Make the "Input Methods"
7502         insensitive when editing isn't possible.  (#118150)
7503
7504 2003-07-23  Matthias Clasen  <maclas@gmx.de>
7505
7506         * gtk/gtkcolorsel.c (gtk_color_selection_init): Make the hue 
7507         spinbutton wrap.  (#118097, John Darrington)
7508
7509         * docs/faq/gtk-faq.sgml: Mention Xnest as a way to debug GTK+ apps. 
7510
7511 2003-07-20  Hans Breuer  <hans@breuer.org>
7512
7513         * makefile.msc : new file to build it all
7514         * Makefile.am : ... added to EXTRA_DIST
7515
7516         * gdk/makefile.msc gtk/stock-icons/makefile.msc 
7517           gtk/makefile.msc.in tests/makefile.msc : updated
7518
7519         * gdk/gdk.def gtk/gtk.def : export a bunch of new 
7520         functions
7521
7522         * gtk/gtkbbox.c : use g_return_val_if_fail() if
7523         there is a value to return
7524
7525         * gtk/gtkfontsel.c gtk/gtkiconfactory.c :
7526         static correctness
7527
7528         * gtk/gtkicontheme.c : ported to use GTimeVal instead of
7529         struct timeval and GTK_DATA_PREFIX instead of GTK_DATADIR
7530
7531         * gtk/gtkicontheme.c : use HAVE_LC_MESSAGES
7532
7533         * gtk/gtkimmulticontext.c : use gtkprivate.h
7534
7535         * gtk/stock-icons/stock_color_picker_25.png
7536           gtk/stock-icons/stock_jump_to_rtl_16.png
7537           gtk/stock-icons/stock_jump_to_rtl_24.png
7538           gtk/stock-icons/stock_redo_rtl_16.png
7539           gtk/stock-icons/stock_redo_rtl_24.png
7540           gtk/stock-icons/stock_undelete_rtl_16.png
7541           gtk/stock-icons/stock_undelete_rtl_24.png
7542           gtk/stock-icons/stock_undo_rtl_16.png :
7543           gtk/stock-icons/stock_undo_rtl_24.png :
7544         readded as binary
7545
7546 Sat Jul 19 22:39:24 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
7547
7548         * gtk/gtktoolitem.c (gtk_tool_item_size_request): remove
7549         leftover request of {xy}thickness
7550
7551 Sat Jul 19 16:26:02 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
7552
7553         * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): don't
7554         attempt to add a NULL icon to the box.
7555
7556 Sat Jul 19 12:13:20 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
7557
7558         * gtk/gtknotebook.c (gtk_notebook_focus_in|out): only redraw tabs
7559         on focus in/out.
7560
7561 2003-07-19  Matthias Clasen  <maclas@gmx.de>
7562
7563         * gtk/gtkstock.h (GTK_STOCK_DIALOG_AUTHENTICATION): New stock id. 
7564         * gtk/gtkiconfactory.c (get_default_icons): Add
7565         stock_dialog_authentication_48.  (#65765) 
7566         * gtk/stock-icons/Makefile.am (VARIABLES2, IMAGES): Here too.
7567         * gtk/stock-icons/stock_dialog_authentication_48.png: New image.
7568
7569         * gtk/gtkbbox.h: 
7570         * gtk/gtkbbox.c (gtk_button_box_get_child_secondary): New
7571         function. (#64562) 
7572
7573 Sat Jul 19 00:18:40 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
7574
7575         * gtk/gtkwindow.c (gtk_window_set_default_icon): Fix C99
7576         declaration
7577
7578         * gtk/gtkwidget.c (gtk_widget_queue_shallow_draw): new function
7579         (gtk_widget_real_focus_{in|out}_event): queue shallow draws
7580         instead of full draws.
7581
7582 2003-07-18  Matthias Clasen  <maclas@gmx.de>
7583
7584         * gtk/gtkwindow.c: Add properties decorated and gravity.  (#80234) 
7585
7586         * gtk/gtktextview.c (gtk_text_view_class_init): Add a new keybinding
7587         signal, move_viewport. 
7588         (gtk_text_view_move_viewport): New function which implements the
7589         move_viewport functionality. 
7590         (gtk_text_view_move_cursor_internal): If the cursor is not visible, move
7591         the viewport. (#78669) 
7592
7593         * gtk/gtkenums.h (GtkScrollStep): New enumeration, used for
7594         move_viewport argument. 
7595
7596         * gtk/gtkstatusbar.c (gtk_statusbar_class_init): Add a has_resize_grip
7597         property.  (#111779) 
7598
7599         * gtk/gtkwindow.h: 
7600         * gtk/gtkwindow.c (gtk_window_set_default_icon): New method.  (#95816)
7601
7602         * gtk/gtkmessagedialog.h:
7603         * gtk/gtkmessagedialog.c (gtk_message_dialog_add_buttons): New method.  
7604         (#65501, Sebastian Rittau)
7605
7606 Fri Jul 18 20:06:57 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
7607
7608         * gtk/gtktextview.c (changed_handler): use
7609         gtk_widget_queue_resize_noredraw().
7610
7611 2003-07-16  Jody Goldberg <jody@gnome.org>
7612
7613         * gdk/x11/gdkwindow-x11.c (gdk_window_focus) : fix cut-n-paste-o
7614
7615 Fri Jul 18 19:55:50 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
7616
7617         * gtk/gtkwidget.c (gtk_widget_queue_resize_no_redraw): Add this
7618         API. 
7619
7620 Fri Jul 18 18:43:01 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
7621
7622         By popular request give toolbuttons a border.
7623         
7624         * gtk/gtktoolitem.c
7625         (gtk_tool_item_size_allocate):
7626         (gtk_tool_item_size_request): don't request and allocate a border
7627         around the child
7628
7629         * gtk/gtktoolbutton.c 
7630         (gtk_tool_button_size_allocate):
7631         (gtk_tool_button_size_request): remove these functions
7632
7633         * gtk/gtktoolbar.c 
7634         (gtk_toolbar_size_request):
7635         (gtk_toolbar_size_allocate): request and allocate a border if we
7636         have a shadow.
7637
7638 Thu Jul 17 19:24:51 2003  Kristian Rietveld  <kris@gtk.org>
7639
7640         Merged from stable.
7641
7642         Fixes issues pointed out by Morten Welinder in #115140.
7643
7644         * gtk/gtktreeview.c (gtk_tree_view_size_request): fix comment,
7645         (do_validate_rows): update validated_area with a logic OR instead
7646         of a bitwise OR,
7647         (validate_rows_handler): make the if statement match the one in
7648         validate_rows(), so we don't leak the timeout.
7649
7650 Thu Jul 17 19:12:02 2003  Kristian Rietveld  <kris@gtk.org>
7651
7652         Merged from stable.
7653
7654         * gtk/gtktreeview.c (gtk_tree_view_remove_widget): the treeview
7655         should only grab focus back if the "cell_editable" widget still
7656         has focus. (Fixes #110104, testcase provided by Marco Pesenti
7657         Gritti).
7658
7659 Thu Jul 17 19:06:34 2003  Kristian Rietveld  <kris@gtk.org>
7660
7661         Merged from stable.
7662
7663         * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
7664         Don't set attr.event_mask twice, those things were meant to be
7665         ORred. (#115139, pointed out by Morten Welinder).
7666
7667 Thu Jul 17 16:11:21 2003  Kristian Rietveld  <kris@gtk.org>
7668
7669         Merged from stable.
7670
7671         * gtk/gtktreeview.c (gtk_tree_view_rows_reordered): stop editing
7672         if needed. (Fixes #115869, reported by Michael Natterer).
7673
7674 2003-07-15  Matthias Clasen  <maclas@gmx.de>
7675
7676         * gdk/x11/gdkcursor-x11.c (gdk_display_get_maximal_cursor_size):
7677         Fight against gtk-doc stupidity.
7678
7679 2003-07-13  Matthias Clasen  <maclas@gmx.de>
7680
7681         * gtk/gtkdnd.c (gtk_drag_begin): Rename parameter target_list back to 
7682         targets, to pacify gtk-doc.
7683
7684 Sun Jul 13 15:57:57 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
7685
7686         * gtk/gtktoolbutton.c (gtk_tool_button_finalize): Fix leaks of
7687         label_text, label_widget and icon_widget. (#117312, 
7688         Christian Persch)
7689         
7690 Sun Jul 13 01:37:51 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
7691
7692         * gtk/gtkmenu.c (gtk_menu_class_init): new properties
7693         "horizontal-offset" and "vertical-offset" that determines the
7694         position of the menu when it is a submenu. 
7695
7696         * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): position
7697         submenus according to new vertical- and horizontal-offset
7698         properties.
7699
7700 Sat Jul 12 16:16:04 2003  Kristian Rietveld  <kris@gtk.org>
7701
7702         Merged from stable.
7703
7704         * gtk/gtktreeview.c (gtk_tree_view_drag_data_received): special
7705         case drags to "0", scroll to the top after dropping. (Fixes #94968,
7706         reported by Alp Toker).
7707
7708 Sat Jul 12 16:08:32 2003  Kristian Rietveld  <kris@gtk.org>
7709
7710         Merged from stable.
7711
7712         * demos/gtk-demo/editable_cells.c (cell_edited): fixup bad
7713         code (#115784, Owen Taylor).
7714
7715 Sat Jul 12 16:01:03 2003  Kristian Rietveld  <kris@gtk.org>
7716
7717         Merged from stable.
7718
7719         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_property):
7720         free the old text and extra_attrs *after* we parsed the new
7721         markup string. (Fixes #114485, reported by Owen Taylor).
7722
7723 Sat Jul 12 15:51:33 2003  Kristian Rietveld  <kris@gtk.org>
7724
7725         Merged from stable.
7726
7727         Fixes #113904, testcase provided by Rene Seindal.
7728
7729         * gtk/gtktreeview.c (gtk_tree_view_button_press): set
7730         pressed_button to -1 when a row has been activated,
7731         (gtk_tree_view_motion_bin_window): only start a drag if there's
7732         a button being pressed.
7733
7734 Sat Jul 12 15:51:18 2003  Kristian Rietveld  <kris@gtk.org>
7735
7736         Merged from stable.
7737
7738         * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): use
7739         gdk_window_get_pointer instead of gdk_display_get_window_at_pointer
7740         to avoid a roundtrip (#110272, Owen Taylor).
7741
7742 Sat Jul 12 15:28:26 2003  Kristian Rietveld  <kris@gtk.org>
7743
7744         Merged from stable.
7745
7746         This patch really really fixes scrolling. Related bugs: #81627,
7747         testcase provided by Timo Sirainen, #111500, testcase provided by
7748         manu, #113241, reported by Pedro Gimeno/Michael Natterer.
7749
7750         * gtk/gtktreeview.c (validate_visible_area): scrolling to a dy
7751         which is equal to the lower border of the window means scrolling
7752         to an invisible row, always update the dy when scrolling to an
7753         invisible row, corrected area_above/below calculations for
7754         invisible rows, when walking the tree correct the size
7755         subtracted for invalidated rows, fix wrong logic in comment.
7756
7757 2003-07-11  Matthias Clasen  <maclas@gmx.de>
7758
7759         * gtk/gtkicontheme.c (pixbuf_supports_svg): Use g_strfreev() to free
7760         mime_types.  (#117219, Steve Chaplin)
7761
7762 Tue Jul  8 20:11:04 2003  Owen Taylor  <otaylor@redhat.com>
7763
7764         * gdk/x11/gdkevents-x11.c (get_real_window)
7765         gdk/x11/gdkinput-x11.c (_gdk_input_common_init)
7766         gdk/x11/gdkimage-x11.c (_gdk_windowing_image_init)
7767         gdk/x11/gdkprivate-x11.h (_gdk_windowing_image_init)
7768         Don't assume that all events start with XEventAny - Xkb events
7769         don't! (#105745). So, only do that for core events, and for
7770         non-core events, add a system for registering event types
7771         that start with XEventAny.
7772
7773         * gdk/x11/gdkevents-x11.c (gdk_event_translate):
7774         Check to see if the result of gdk_window_lookup_for_display()
7775         is actually a window.
7776
7777 Fri Jul 11 20:48:14 2003  Kristian Rietveld  <kris@gtk.org>
7778
7779         * gtk/gtktreemodel.c (gtk_tree_path_free): make the path != NULL
7780         check a silent assert, so it follows the g_free() behaviour.
7781
7782 2003-07-11  Matthias Clasen  <maclas@gmx.de>
7783
7784         * gtk/gtkstatusbar.c (gtk_statusbar_init): Center statusbar contents 
7785         vertically.  (#109823, Joe Shaw)
7786
7787 2003-07-11  Morten Welinder  <terra@gnome.org>
7788
7789         * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixbuf): Fix memory
7790         access error.  (#69436)
7791
7792 Fri Jul 11 14:32:43 2003  Kristian Rietveld  <kris@gtk.org>
7793
7794         Landing GtkTreeModelFilter and the completion code. (Test program
7795         and documentation will follow next week).
7796
7797         * gtk/gtkcellayout.[ch], gtk/gtkentrycompletion.[ch],
7798         gtk/gtktreemodelfilter.[ch], gtk/gtkentryprivate.h: new files.
7799
7800         * gtkentry.[ch]: added gtk_entry_{get,set}_completion, wrote
7801         necessary code to hook up completion.
7802
7803         * gtktreeviewcolumn.c: made GtkTreeViewColumn implement the new
7804         GtkCellLayout interface.
7805
7806         * gtkmarshalers.list: added BOOLEAN:OBJECT,BOXED.
7807
7808         * gtk/gtk.h, gtk/Makefile.am, po/POTFILES.in: all updated for the new
7809         source files.
7810
7811 Wed Jul  9 19:48:26 2003  Kristian Rietveld  <kris@gtk.org>
7812
7813         Merge from stable.
7814
7815         * gdk/gdkdisplay.c (gdk_display_get_window_at_pointer): don't
7816         directly return from ->window_at_pointer, but set win_x and win_y
7817         first if needed. (Fixes #110166, reported by Arno Charlet).
7818
7819         * gdk/gdkwindow.c (gdk_window_get_composite_drawable): change
7820         function to accept GdkDrawables and not just GdkWindows. This was
7821         already done in some other functions a while back, but this patch
7822         got lost for some reason.
7823
7824 2003-07-09  Matthias Clasen  <maclas@gmx.de>
7825
7826         * gtk/gtkcontainer.c (gtk_container_focus_sort_tab): Consider the text
7827         direction when sorting children.  (#116540, Soeren Sandmann)
7828
7829 Tue Jul  8 17:36:21 2003  Owen Taylor  <otaylor@redhat.com>
7830
7831         * gdk/x11/gdkasync.[ch] gdk/gdkdnd-x11.c: 
7832         Change _gdk_x11_send_xevent_async() to 
7833         _gdk_x11_send_client_message_async() avoid using Xlib
7834         internals that are different on Solaris. 
7835         (#116917, Morten Welinder)
7836
7837 2003-07-08  Matthias Clasen  <maclas@gmx.de>
7838
7839         * gtk/gtkcontainer.c (gtk_container_remove): Doc addition.
7840         (#116501, Doug Quale)
7841
7842 Tue Jul  8 21:35:22 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
7843
7844         * gtk/gtktoggletoolbutton.h: remove strange #define
7845         * gtk/gtktoolbutton.h: fix cut'n'paste error
7846         * gtk/gtktoolbutton.c (gtk_tool_button_init): use instance
7847         private data
7848         * gtk/gtktoolitem.c (gtk_tool_item_class_init): use instance
7849         private data instead of g_new0()
7850         * gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_init): use
7851         instance private data
7852
7853 Tue Jul  8 21:10:14 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
7854
7855         * gtk/gtkbutton.c (gtk_button_realize): remove GDK_EXPOSURE_MASK
7856         for INPUT_ONLY window
7857         * gtk/gtkmenuitem.c (gtk_menu_item_realize): same
7858         * gtk/gtknotebook.c (gtk_notebook_realize): same
7859         * gtk/gtkexpander.c (gtk_expander_realize): same
7860         * gtk/gtkrange.c (gtk_range_realize): same
7861
7862         Fix #116303
7863
7864 Tue Jul  8 19:57:14 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
7865
7866         * gtk/gtkstyle.c (gtk_default_draw_arrow): remove correction on x
7867         when detail is "menuitem". With the new menu look is isn't needed
7868         anymore.
7869
7870         * gtk/gtktoolitem.c (gtk_tool_item_toolbar_reconfigured): queue a
7871         resize here, so that tool items will get a chance to relayout
7872         themselves based on the toolbar configuration.
7873
7874         change DEFAULT_SPACE_SIZE to 4 instead of 5
7875
7876         * gtk/gtktoolbar.c 
7877         Get rid of "!GTK_BIN (item)->child means separator". Separators
7878         are widgets in their own right
7879
7880         change DEFAULT_SPACE_SIZE to 4 instead of 5
7881         
7882         (get_space_size): remove this function
7883         (toolbar_item_is_homogeneous): new function
7884
7885         * gtk/gtkseparatortoolitem.c
7886         (gtk_separator_tool_item_size_request): new function.
7887
7888 Tue Jul  8 14:10:35 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
7889
7890         * gtk/gtktoggletoolbutton.h: use private data, add new
7891         internal function _gtk_toggle_tool_button_get_button()
7892
7893         * gtk/gtktoolbutton.h: move to private data
7894
7895         * gtk/gtkradiotoolbutton.c, gtk/gtktoolbutton.c: updates for new
7896         private data.
7897
7898 Tue Jul  8 12:50:20 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
7899
7900         * gtk/gtktoolbutton.c (gtk_tool_button_get_icon_widget): fix a
7901         type check, (#116947, Krasimir Angelov)
7902
7903         * gtk/gtktoolbar.c: Use new GtkToolItem accessors.
7904         
7905         * gtk/gtktoolitem.[ch]: Use a private struct to hold the instance
7906         data. Not instance private data yet, because of bug 116921.
7907
7908         * gtk/gtktoolitem.h: new accessors:
7909                 gtk_tool_item_get_homogeneous ()
7910                 gtk_tool_item_get_expand ()
7911                 gtk_tool_item_get_pack_end ()
7912                 gtk_tool_item_get_use_drag_window ()
7913
7914 Mon Jul  7 16:50:32 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
7915
7916         * gtk/gtkcellrenderertext.c
7917         (gtk_cell_renderer_text_class_init): remove accidentally committed
7918         debugging spew
7919
7920         * gtk/gtktoolbar.c
7921         (gtk_toolbar_paint_space_line): remove this function
7922         (gtk_toolbar_expose): always propagate expose, even if the item is
7923         a separator item
7924
7925         * gtk/gtkseparatortoolitem.c
7926         (gtk_separator_tool_item_expose): moved here from gtktoolbar.c
7927         (get_space_size): new function.
7928         (get_space_style): new function
7929
7930 Sun Jul  6 13:00:20 2003  Owen Taylor  <otaylor@redhat.com>
7931
7932         * gtk/gtkdnd.c (_gtk_drag_source_handle_event)
7933         * gtk/gtkdnd.c (gtk_drag_begin_internal):  Remove use
7934         of GDK_POINTER_MOTION_HINT_MASK.
7935
7936         * gtk/gtkdnd.c (gtk_drag_update_idle): Move updating
7937         of the drag into an idle as a superior form of 
7938         expose compression.
7939
7940         * gtk/gtkdnd.c (gtk_drag_begin_internal): Move default icon
7941         creation here, so that we have an icon at the start
7942         of the drag (e.g., when retrieving the window cache
7943         information.)
7944
7945 Sun Jul  6 17:21:23 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
7946
7947         * docs/widget_geometry.txt: better drawing of GtkMenuItem
7948         * docs/widget_geometry.txt: add notes about GtkMenu
7949         * gtk/gtkstyle.c: remove leftover "#include "gtkhandlebox.h""
7950
7951 Sat Jul  5 10:34:00 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
7952
7953         * gtk/gtkmenu.c: add vertical_padding style property.
7954         
7955         * gtk/gtkmenuitem.c: add style properties toggle_spacing,
7956         arrow_spacing and horizontal_padding. Also center separators and
7957         make them a bit taller.
7958
7959         * gtk/*menuitem.c: use new style properties.
7960         
7961         * docs/widget_geometry.txt: Add note about GtkMenuItem
7962
7963         * gtk/gtkstyle.c 
7964         (gtk_default_draw_vline, gtk_default_draw_hline):
7965         fix +/-1 errors. 
7966
7967         (gtk_default_draw_shadow): draw a black border around menus.
7968
7969         * gtk/gtkvseparator, gtk/gtkhseparator.c, gtk/gtkmenuitem.c: fix
7970         calls to gtk_paint_hline() and gtk_paint_vline() (they take x1,
7971         x2 and y1, y2 respectively, not x, width and y, height).
7972
7973 Sat Jul  5 09:55:38 2003  Owen Taylor  <otaylor@redhat.com>
7974
7975         * gdk/x11/gdkdnd-x11.c (precache_target_list): Lookup
7976         all the atoms in the target list at once.
7977
7978         * gdk/x11/gdkdnd-x11.c (gdk_drag_get_protocol_for_display):
7979         Local drag short-circuit.
7980
7981         * gdk/x11/gdkdnd-x11.c (gdk_drag_motion): For the
7982         local case, poke the actions in directly instead of
7983         going through xdnd_set_actions.
7984
7985         * gdk/x11/gdkdnd-x11.c (xdnd_read_actions): Short-circuit
7986         the local case.
7987
7988         * gdk/x11/gdkdnd-x11.c (xdnd_manage_source_filter): Don't
7989         XSelectInput()/add a filter if the drag is local.
7990
7991         * gdk/x11/gdkdnd-x11.c (gdk_drag_get_selection): 
7992         Simplify handling of "XdndSelection".
7993
7994         * gdk/x11/gdkevents-x11.c
7995         (gdk_event_send_client_message_to_all_recurse): Somehow,  
7996         a WM_STATE => _NET_WM_STATE change hand been made here.
7997
7998         * gdk/x11/gdkproperty-x11.c (_gdk_x11_precache_atoms): Free
7999         xatom_names, not atom_names.
8000
8001         * tests/testdnd.c (target_drag_motion): Make the trashcan
8002         open again. (Got lost in deprecation cleanup.)
8003
8004 Sat Jul  5 00:49:32 2003  Owen Taylor  <otaylor@redhat.com>
8005
8006         * gtk/gtkdnd.c (gtk_drag_begin): Move the grabs up
8007         earlier, so we don't get a big pile of uncompressed
8008         motion events before the grab takes effect.
8009
8010         * gtk/gtkdnd.c (gtk_drag_update_icon): Call 
8011         gdk_window_process_all_updates() so that the area
8012         we are dragging over gets a change to redraw.
8013
8014         * gtk/gtkdnd.c (_gtk_drag_dest_handle_event): Use 
8015         gdk_window_get_position(), not gdk_window_get_origin().
8016
8017         * gdk/x11/gdkwindow-x11.[ch] (gdk_window_have_shape_ext)
8018         gdkdisplay-x11.h: use XShapeQueryExtension to 
8019         avoid duplicate XQueryExtension when we actually
8020         use it. Remove unnecessary caching in GdkDisplayX11.
8021
8022 Fri Jul  4 23:49:22 2003  Owen Taylor  <otaylor@redhat.com>
8023
8024         * gdk/x11/gdkasync.[ch] (_gdk_x11_get_window_child_info): 
8025         Function to get a range of information about all the
8026         children of a window in a single pass.
8027
8028         * gdk/x11/gdkdnd-x11.c (get_client_window_at_coords_recurse)
8029         gdk/x11/gdkdnd-x11.c (gdk_window_cache_new): Use
8030         _gdk_x11_get_window_child_info() to greatly reduce
8031         the number of roundtrips.
8032
8033 Fri Jul  4 22:57:18 2003  Owen Taylor  <otaylor@redhat.com>
8034
8035         * gdk/x11/gdkasync.[ch] (_gdk_send_xevent_async): Add
8036         a function to XSendEvent() and call a calback on
8037         failure/success.
8038
8039         * gdk/x11/gdkdnd-x11.c (xdnd_send_xevent): Short-circuit
8040         messages to the same process, use _gdk_send_xevent_async().
8041
8042 Fri Jul  4 22:26:27 2003  Owen Taylor  <otaylor@redhat.com>
8043
8044         * gdk/x11/gdkwindow-x11.[ch] gdkevents-x11.c: Split
8045         toplevel-specific pieces of GdkWindowImplX11 into
8046         a separate GdkToplevelX11 structure.
8047
8048 Fri Jul  4 22:05:09 2003  Owen Taylor  <otaylor@redhat.com>
8049
8050         * gdk/x11/gdkasync.c (struct _SetInputFocusState): Fix
8051         some leftover fields.
8052
8053 Fri Jul  4 15:57:52 2003  Owen Taylor  <otaylor@redhat.com>
8054
8055         * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter):
8056         Use asynchronously _gdk_x11_set_input_focus_safe
8057         to avoid having to trap errors and XSync().
8058
8059         * gdk/x11/gdkwindow-x11.c (gdk_window_focus): Use
8060         _gdk_x11_set_input_focus_safe() here as well.
8061
8062         * gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed):
8063         Rework handling of property notifies on _NET_WM_STATE
8064         so that we ignore _NET_WM_DESKTOP notifies unless we
8065         really care.
8066
8067         * gdk/x11/gdkimage-x11.c (gdk_image_check_xshm): Use
8068         XShmQueryExtension() rather than XQueryExtension() to
8069         avoid extra rountrip.
8070
8071         * gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_init):
8072         Remove unused call to XGetWindowAttributes()
8073         
8074         * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Remove
8075         unused call to XGetKeyboardControl().
8076
8077         * gdk/x11/gdkdisplay-x11.c gdk/gdk.def (gdk_display_flush):
8078         Add (#99571)
8079
8080         * gdk/win32/gdkevents-win32.c gdk/linux-fb/gdkevents-fb.c 
8081         No-op implementations of gdk_display_flush().
8082
8083         * gdk/gdkwindow.c (gdk_window_process_all_updates): Use
8084         gdk_display_flush() rather than gdk_flush() to avoid
8085         XSync().
8086         
8087         * gdk/x11/gdkwindow-x11.c (update_wm_hints)
8088         gdk/x11/gdkwindow-x11.h: Centralize all handling of WM_HINTS here
8089         so that we don't have to get the property back from the server.
8090
8091         * gdk/x11/gdkwindow-x11.c (show_window_internal): Store
8092         the serial of when we map a toplevel to allow optimizing
8093         out notifies on _NET_WM_STATE/_NET_WM_DESKTOP.
8094
8095         * gdk/x11/gdkevents-x11.c (gdk_event_translate): Don't
8096         XTranslateCoordinates() for override-redirect windows.
8097
8098 Fri Jul  4 15:59:27 2003  Owen Taylor  <otaylor@redhat.com>
8099
8100         * gdk/x11/gdkwindow-x11.c (gdk_window_set_group): Remove comment
8101         about setting window group after the window is mapped from docs
8102         - nothing the ICCCM forbids that.
8103
8104         * gdk/x11/gdkcursor-x11.c (gdk_display_get_maximal_cursor_size):
8105         Fix g_return_val_if_fail() in void return function.
8106
8107         * configure.in: Fix misplaced comma that was resulting
8108         in XShm always being disabled.
8109
8110 Fri Jul  4 19:55:49 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8111
8112         * tests/stresstest-toolbar: remove this accidentally committed
8113         file.
8114         
8115         * tests/stresstest-toolbar.c: really add this new test
8116
8117 Fri Jul  4 19:06:31 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8118
8119         * tests/stresstest-toolbar.c: new test for removing items
8120         
8121         * tests/testtoolbar.c: add a popup menu
8122
8123         * gtk/gtkcontainer.c (gtk_container_remove): add hack to avoid
8124           assert widget->parent == container when the container is a
8125           toolbar.
8126
8127         * gtk/gtktoolbar.c (gtk_toolbar_remove_tool_item): Make much
8128         simpler. Also make correct.
8129
8130         * gtk/gtktoolbar.c (gtk_toolbar_button_press): make
8131         popup_context_menu a boolean handled signal.
8132
8133 2003-07-04  Tor Lillqvist  <tml@iki.fi>
8134
8135         * gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_polygon,
8136         gdk_win32_draw_segments, gdk_win32_draw_lines): We can calculate
8137         the width and height of the bounding rectangle only after the
8138         minumum x and y have been found, and need a separate loop for
8139         it. Thanks to Bruce Hochstetler for providing a sample program
8140         exhibiting the bug.
8141
8142 2003-07-03  Tor Lillqvist  <tml@iki.fi>
8143
8144         * gdk/gdk.def: Add gdk_string_to_compound_text_for_display.
8145         (#116537, Peter Zelezny)
8146
8147 Thu Jul  3 03:13:20 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8148
8149         * gtk/gtkpaned.c (gtk_paned_set_child_property): Insert cast to
8150         fix warning. Assign something to old_value to quiet gcc
8151
8152         * gtk/gtkcalendar.c 
8153         (start_spinning): gtk_timeout_add->g_timeout_add
8154
8155         * gtk/gtkicontheme.c 
8156         (theme_lookup_icon): Make it compile (remove double semicolon)
8157
8158         * gtk/gtktoolbutton.c
8159         (gtk_tool_button_class_init): Long comment about properties.
8160         (gtk_tool_button_class_init): Improve text for "use_underline"
8161         property
8162         (gtk_tool_button_create_menu_proxy): Fix up to use_mnemonic based
8163         on whether the passed-in label has use_mnemonic set
8164         (gtk_tool_button_create_menu_proxy): Split image cloning out in
8165         new function. Make that function also handle image with pixbuf
8166         storage.
8167         (gtk_tool_button_construct_contents): Use gtk_widget_destroy()
8168         instead of gtk_container_remove().
8169         (gtk_tool_button_construct_contents): Fix eliding bug
8170
8171         * gtk/gtktoolbar.c
8172         (gtk_toolbar_finalize): New function. Unref tooltips, pointed out
8173         by Morten Welinder
8174         (gtk_toolbar_button_press): Make popup_context_menu signal provide
8175         coordinates and button number
8176
8177         * tests/testtoolbar.c (main): Add new pixbuf toolbutton
8178
8179         * tests/apple-red.png: new file
8180
8181 Wed Jul  2 18:00:56 2003  Owen Taylor  <otaylor@redhat.com>
8182          
8183         * gtk/gtkicontheme.[ch]: Implement a loader for
8184         named themed icon based on from gnome-desktop library
8185         by Alex Larsson.
8186
8187         * gtk/gtkiconthemeparser.[ch]: .ini file parsing code
8188         from gnome-desktop.
8189
8190         * gtk/gtkiconfactory.[ch]: Add
8191         gtk_icon_source_set/get_icon_name() to allow stock icons
8192         to be based off of named theme icons.
8193
8194         * gtk/gtkiconfactory.c: Rework sources so that the source
8195         is *either* a pixbuf, or a filename, or an icon name,
8196         instead of the pixbuf/filename mix it was before. Put a
8197         workaround for get_pixbuf() so that it can return the
8198         filename pixbuf, e.g, for render_icon().
8199
8200         * gtk/gtkiconfactory.c: Make the default setup use
8201         themed icons, and add builtin icons to the default
8202         icon theme for all the standard pixbufs, so we
8203         don't rely on actually having an icon theme on disk.
8204
8205         * gtk/gtkrc.c: Add support for @"icon-name" to specify
8206         a themed icon for a stock icon source.
8207
8208         * tests/Makefile.am test/testicontheme.c: Add a test
8209         program from gnome-desktop.
8210
8211         * gdk/x11/gdkevents-x11.c gtk/gtksettings.c: Add
8212         Net/IconThemeName / gtk-icon-theme-name setting.
8213
8214         * gtk/gtkiconfactory.c (ensure_cache_up_to_date): Actually
8215         update the icon cache serial so we don't continually
8216         think we are out-of-date.
8217
8218         * gtk/gtkwidget.c: Fix a couple of references in doc comments 
8219         to ::direction_set that should have been to ::direction-changed
8220
8221 Wed Jul  2 14:45:41 2003  Owen Taylor  <otaylor@redhat.com>
8222
8223         * gtk/gtktoolbar.c (gtk_toolbar_realize): Attach the
8224         style to the widget.
8225
8226 Wed Jul  2 15:42:26 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8227
8228         * gtk/gtk.h: Add new toolbar headers
8229
8230         * tests/testtoolbar.c: new file
8231
8232         * tests/Makefile.am (noinst_PROGRAMS): Add testtoolbar.c
8233
8234         * gtk/gtkexpander.c (gtk_expander_class_init): Make it compile
8235
8236 Tue Jul  1 22:49:25 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8237
8238         * gtk/gtktoolbar.c:
8239         (gtk_toolbar_remove_tool_item): Fix bug where list is changed
8240         inside a for loop (pointed out by Morten Welinder).
8241         (gtk_toolbar_focus_home_or_end): Minor formatting change
8242
8243         Comments from Owen:
8244
8245         * gtk/gtktoolbutton.c: remove copy of elide_underscores(). Use
8246         gtk_toolbar_elide_underscores instead.
8247
8248         * gtk/gtktoolbar.c: rename signal from focus_ends to
8249         focus_home_or_end.
8250         (_gtk_toolbar_elide_underscores): export this as an internal
8251         function.
8252         (gtk_toolbar_move_focus): add comment explaining difference to
8253         gtk_toolbar_focus();
8254         (gtk_toolbar_list_children_in_focus_order): Make TAB_FORWARD and
8255         TAB_BACKWARD focus the right widgets in RTL mode
8256
8257         * gtk/gtktoolbutton.c (gtk_tool_button_new): Change to take
8258         "label" and "icon" parameters
8259
8260         * gtk/gtktoolbutton.[ch]: remove icon_set property.
8261
8262 2003-07-01  Matthias Clasen  <maclas@gmx.de>
8263
8264         * gtk/gtkspinbutton.c (gtk_spin_button_set_digits): Improve docs.
8265         (116364, Morten Welinder) 
8266
8267         * tests/testgtk.c: Use GtkFontButton and GtkColorButton to bring up the
8268         corresponding dialogs.
8269
8270         * gtk/Makefile.am (gtk_public_h_sources): Add gtkfontbutton.h,
8271         gtkcolorbutton.h.  
8272         (gtk_c_sources): Add gtkfontbutton.c, gtkcolorbutton.c. 
8273
8274         * gtk/gtkfontbutton.[hc]: New files containing a font picker widget. 
8275
8276         * gtk/gtkcolorbutton.[hc]: New files containing a color picker widget. 
8277
8278         * gtk/gtk.h: Include gtkexpander.h, gtkfontbutton.h, gtkcolorbutton.h.
8279
8280         * gtk/gtkexpander.c: Small additions to the docs. 
8281
8282 2003-07-01  Tor Lillqvist  <tml@iki.fi>
8283
8284         * gdk/win32/gdkwindow-win32.c (_gdk_windowing_window_get_pointer):
8285         WindowFromPoint() wants screen coordinates (#115422, Tim Evans).
8286
8287 2003-07-01  Matthias Clasen  <maclas@gmx.de>
8288
8289         * configure.in: Check for Xcursor.
8290         
8291         * gdk/x11/gdkcursor-x11.c:
8292         * gdk/gdkdisplay.h: 
8293         * gdk/gdkcursor.h: RGBA cursor support based on Xcursor. New functions:
8294         gdk_cursor_new_from_pixbuf(), gdk_display_supports_cursor_alpha(), 
8295         gdk_display_supports_cursor_color(),
8296         gdk_display_get_default_cursor_size() and 
8297         gdk_display_get_maximal_cursor_size().  (#69436)
8298
8299 2003-06-30  Tor Lillqvist  <tml@iki.fi>
8300
8301         * gdk/win32/gdkdnd-win32.c (find_window_enum_proc): New function,
8302         callback proc for EnumWindows().
8303         (gdk_drag_find_window_for_screen): Actually take the drag_window
8304         argument into account: Instead of using WindowFromPoint(), use
8305         EnumWindows(), to be able to skip the drag_window. (#116320, Tony
8306         M Brown, Herman Bloggs)
8307
8308         * gdk/win32/*.c: Replace gdk_drawable_ref()/unref() and
8309         gdk_window_ref()/unref() calls with g_object_ref()/unref().
8310         Consistently use %p format in debugging output of pointers and
8311         HANDLEs.
8312
8313 2003-06-30  Mark McLoughlin  <mark@skynet.ie>
8314
8315         * gtk/gtkexpander.h: kill some stray characters
8316         breaking the build.
8317
8318 2003-06-30  Mark McLoughlin  <mark@skynet.ie>
8319
8320         Add GtkExpander. See discussion in bug #60553.
8321
8322         * gtk/gtkexpander.[ch]: add.
8323         
8324         * gtk/Makefile.am: build gtk-expander.[ch].
8325         
8326         * docs/widget_geometry.txt: add info on the layout
8327         of GtkExpander.
8328
8329 Mon Jun 30 01:20:19 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8330
8331         * gtkradiotoolbutton.c:         new file
8332         * gtkradiotoolbutton.h:            "
8333         * gtktoggletoolbutton.c:           "
8334         * gtktoggletoolbutton.h:           "
8335         * gtktoolbutton.c:                 "
8336         * gtktoolbutton.h:                 "
8337         * gtktoolitem.c:                   "
8338         * gtktoolitem.h:                   "
8339         * gtktoolbar.c: many changes
8340         * gtktoolbar.h: many changes
8341         * gtkseparatortoolitem.c:       new file
8342         * gtkseparatortoolitem.h           "
8343
8344         New toolbar.
8345         
8346         - Items on a toolbar are now separate widgets, instances of a
8347           subclass of GtkToolItem.
8348
8349         - Items there aren't room for on the toolbar are unmapped, and an
8350           overflow menu with a proxy menu item is added instead.
8351
8352         - The toolbar is keyboard navigatable. Press TAB to focus the
8353           first item, then use arrow keys and Ctrl TAB to move around the
8354           toolbar. TAB moves focus out of the toolbar.
8355
8356         - Bascially all of the old toolbar API is deprecated in favor of
8357           new API in gtktoolbar.h, gtktoolitem.h, gtktoolbutton.h
8358
8359         - The toolbar is backwards compatible with the old toolbar.
8360
8361 2003-06-29  Matthias Clasen  <maclas@gmx.de>
8362
8363         * gtk/gtkwidget.c (gtk_widget_class_init): Remove a duplicate parameter
8364         from docs, some more formatting fixes. 
8365
8366 2003-06-28  Tor Lillqvist  <tml@iki.fi>
8367
8368         Fix for #111028, thanks to J. Ali Harlow, who writes:
8369         I found that the GdkPixmap->GdkImage reference really isn't
8370         important. It's only really there to have somewhere convenient to
8371         store the location of the pixel data in the pixmap and as an easy
8372         way of accessing the dimensions of that data. I have therefore put
8373         together a fix which removes this reference entirely which seems
8374         to solve the problem.
8375
8376         * gdk/win32/gdkpixmap-win32.h (struct _GdkPixmapImplWin32):
8377         Instead of a pointer to a GdkImage, keep a pointer to the pixels
8378         directly.
8379
8380         * gdk/win32/gdkimage-win32.c (_gdk_win32_setup_pixmap_image): Remove.
8381         (_gdk_win32_new_image): New function, replacing the above. Creates
8382         a GdkImage without any associated GdkPixmap.
8383         (gdk_image_new_bitmap, _gdk_image_new_for_depth): Use it instead.
8384
8385         * gdk/win32/gdkprivate-win32.h: Remove from here, too.
8386
8387         * gdk/win32/gdkcursor-win32.c (gdk_cursor_new_from_pixmap)
8388         * gdk/win32/gdkdrawable-win32.c (blit_from_pixmap)
8389         * gdk/win32/gdkgc-win32.c (_gdk_win32_bitmap_to_hrgn)
8390         * gdk/win32/gdkmain-win32.c (_gdk_win32_drawable_description):
8391         * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_impl_win32_finalize,
8392         gdk_pixmap_new, gdk_bitmap_create_from_data, gdk_pixmap_foreign_new)
8393         Corresponding changes.
8394
8395 Thu Jun 26 21:41:16 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8396
8397         * gtk/gtktreeviewcolumn.c
8398         (gtk_tree_view_column_cell_set_cell_data): only set "is_expander"
8399         and "is_expanded" if the new value is different fromt he old one.
8400
8401 Wed Jun 25 18:59:15 BST 2003  Tony Gale <gale@gtk.org>
8402
8403         * docs/faq/gtk-faq.sgml: Fix typos. Update
8404         thread example I missed yesterday.
8405
8406 2003-06-24  Matthias Clasen  <maclas@gmx.de>
8407
8408         * gtk/gtkspinbutton.c (gtk_spin_button_class_init): Add a blurb for
8409         shadow_type. 
8410
8411         * gtk/gtkwidget.c (gtk_widget_class_install_style_property_parser): 
8412         (gtk_widget_class_list_style_properties): Use same parameter names as in  
8413         header (to silence gtk-doc).
8414
8415         * gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Fix doc comments.
8416
8417 Tue Jun 24 20:00:45 BST 2003  Tony Gale <gale@gtk.org>
8418
8419         * docs/faq/gtk-faq.sgml: Thread support updates
8420         from Owen. Various suggestions from Steve Chaplin.
8421
8422 2003-03-24  Mohammad DAMT  <mdamt@bisnisweb.com>
8423
8424         * po/id.po: Updated Indonesian translation
8425
8426 2003-06-21  Tor Lillqvist  <tml@iki.fi>
8427
8428         * gdk/win32/gdkevents-win32.c (gdk_event_translate): When
8429         emulating X11's automatic grab on button down, pass owner_events
8430         as FALSE. According to the XLib spec, automatic grabs use True for
8431         owner_events when OwnerGrabButtonMask is selected, and I don't see
8432         the X11 backend doing that. (#82497, #91619, #92835, #107322, #110271)
8433         (find_window_for_pointer_event): Improve debugging output.
8434
8435 2003-06-17  Tor Lillqvist  <tml@iki.fi>
8436
8437         * gtk-zip.sh.in (DLLDIR): Look for DLLs also in the bin
8438         subdirectory, where libtool 1.5 installs them.
8439
8440         * README.win32: Point to FSF's binary Win32 distribution of
8441         gettext-runtime.
8442
8443 2003-06-17  Matthias Clasen  <maclas@gmx.de>
8444
8445         * acinclude.m4 (JH_PATH_XML_CATALOG, JH_CHECK_XML_CATALOG): New
8446         macros to check for XML catalog contents and path, borrowed from
8447         gtk-doc. 
8448         * configure.in: New option --enable-man to enable regeneration of
8449         man pages from Docbook, if the necessary tools are found.
8450
8451 2003-06-15  Matthias Clasen  <maclas@gmx.de>
8452
8453         * gtk/gtkcalendar.c (gtk_calendar_class_init): 
8454         * gtk/gtknotebook.c (gtk_notebook_class_init): 
8455         * gtk/gtkalignment.c (gtk_alignment_class_init): 
8456         * gtk/gtkpaned.c (gtk_paned_class_init): Document new properties
8457         as 2.4 additions.
8458
8459         * gtk/gtkwidget.c (gtk_widget_class_init): Move inline signal docs 
8460         to the proper place, immediately before the g_signal_new() call.
8461
8462         * gtk/gtktextiter.h: Make the flags-nature of GtkTextSearchFlags 
8463         more obvious.  (#115122, Jeff Franks)
8464
8465 2003-06-12  Anders Carlsson  <andersca@codefactory.se>
8466
8467         * gtk/gtkwidget.c: (event_window_is_still_viewable):
8468         Special case pixmaps. (#114880)
8469         
8470 2003-06-12  Matthias Clasen  <maclas@gmx.de>
8471
8472         * gtk/gtkwidget.c: Document child-notify and drag-data-received
8473         signals. Owen, we need to figure out where the best place for
8474         these comments in the source is. I currently put them in front of
8475         the signals enum.
8476
8477 2003-06-11  Matthias Clasen  <maclas@gmx.de>
8478
8479         * gtk/gtkdnd.c (gtk_drag_check_threshold): s/threshhold/threshold/.
8480
8481 Thu Jan 12 01:01:19 2003  Kristian Rietveld  <kris@gtk.org>
8482
8483         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
8484         silly typo fix. s/seperator/separator/. This gets rid of the
8485         assert spam when using TreeView.
8486
8487 Tue Jun 10 11:23:48 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
8488
8489         * modules/input/gtkimcontextxim.c (xim_instantiate_callback): New
8490         function for XIM instantiate callback.
8491         * modules/input/gtkimcontextxim.c (xim_info_try_im): New function
8492         where call to XOpenIM() or XRegisterIMInstantiateCallback() is
8493         actually made.
8494         * modules/input/gtkimcontextxim.c (xim_destroy_callback): New function
8495         for XIM's destroy callback.
8496         * modules/input/gtkimcontextxim.c (get_im): add a check if info->im 
8497         is set or not - if it's not set, call xim_info_try_im() to try to
8498         initiaize it.
8499         * modules/input/gtkimcontextxim.c (reinitialize_ic): reset
8500         filter_key_release flag of the context.
8501         * modules/input/gtkimcontextxim.c (get_ic_real): removed
8502         * modules/input/gtkimcontextxim.c (gtk_im_context_xim_get_ic): move
8503         code from the removed get_ic_real().
8504
8505         For XIM instantiation, destruction and re-instantiation. With
8506         this, Gtk+ apps will be able to connect or reconnect to the XIM,
8507         when it starts after the apps, or when the XIM gets lost and recover.
8508         (#113099, #107782).
8509
8510 Mon Jun 10 01:12:31 2003  Kristian Rietveld  <kris@gtk.org>
8511
8512         Merged from stable.
8513
8514         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_get_size):
8515         check if width is !null, not *width. Doh.
8516
8517 Tue Jun 10 01:09:33 2003  Kristian Rietveld  <kris@gtk.org>
8518
8519         Merged from stable.
8520
8521         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
8522         Remove the weird dx logic, get all cell_area and background_area
8523         calculations right. Not sure what was up with it before. (Fixes
8524         #110989, testcase from Vasco Alexandre da Silva Costa).
8525
8526 Tue Jun 10 00:58:23 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8527
8528         * tests/testgtk.c: Make it compile with C89 compilers
8529
8530 2003-06-10  Matthias Clasen  <maclas@gmx.de>
8531
8532         * gtk/gtktextview.c (gtk_text_view_class_init): Install boolean
8533         property "overwrite".
8534         (gtk_text_view_[gs]et_property): Handle "overwrite".
8535         * gtk/gtktextview.[hc] (gtk_text_view_[gs]et_overwrite): Getter
8536         and setter for "overwrite" property.  (#110241, Jeroen Zwartepoorte)
8537
8538 2003-06-09  Matthias Clasen  <maclas@gmx.de>
8539
8540         * gtk/gtkpaned.c (gtk_paned_class_init): Install boolean child
8541         properties "resize" and "shrink".
8542         (gtk_paned_[gs]et_child_property): Implementations of 
8543         GtkContainer::[gs]et_child_property.  
8544         * tests/testgtk.c (toggle_resize, toggle_shrink): Use the new
8545         paned child properties instead of remove/add hacks.  (#114667, 
8546         Soeren Sandmann) 
8547
8548 Mon Jun  9 16:18:11 2003  Owen Taylor  <otaylor@redhat.com>
8549
8550         * gtk/gtknotebook.c (gtk_notebook_button_press): Back
8551         out event->window test - it wasn't needed because
8552         of the call to get_widget_coordinates().
8553
8554         * gtk/gtknotebook.c (gtk_notebook_button_press): Remove
8555         call to gtk_widget_grab_focus() when not clicking on
8556         any tabs. (Real fix for #114534)
8557
8558 Sun Jun  8 22:03:09 2003  Owen Taylor  <otaylor@redhat.com>
8559
8560         * tests/testdnd.c: Use application/x-rootwindow-drop for
8561         root window drops. (#108670, Alex Larsson)
8562
8563         * gdk/x11/gdkdnd-x11.c (gdk_drag_motion) gtk/gtkdnd.c (gtk_drag_drop): 
8564         Accept either application/x-rootwin-drop (what GTK+ has always used)
8565         or application/x-rootwindow-drop (what the XDND standard specifies).
8566
8567 Fri Jun  6 11:07:33 2003  Owen Taylor  <otaylor@redhat.com>
8568
8569         * gtk/gtkwidget.c (event_window_still_viewable): 
8570         Before delivering an event to a widget, check that
8571         (if relevant), the event's window is still viewable.
8572         (#105642, Dennis Björklund)
8573
8574         * gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): 
8575         NULL out private->parent, since after destruction
8576         it might not be valid any more.
8577
8578         * gdk/gdkwindow.c (gdk_window_is_viewable): Fix some
8579         accesses before g_return_val_if_fail(). Treat 
8580         DESTROYED windows as unmapped.
8581
8582 Thu Jun  5 09:28:03 2003  Owen Taylor  <otaylor@redhat.com>
8583
8584         * gtk/gtkentry.c: Recompute unconditionally in
8585         gtk_entry_style_set, and in a new gtk_label_screen_changed().
8586         Protect the guts of recompute_idle_func() with
8587         gtk_widget_has_screen(). (#114040, Morten Welinder) 
8588         Fix FALSE/0 confusion.
8589         
8590 Sun Jun  8 18:27:14 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8591
8592         * gdk/gdkpixbuf-drawable.c (G8fromRGB565): swap G and B.
8593         Fixes (#114669)
8594
8595 Sun Jun  8 11:27:29 2003  Owen Taylor  <otaylor@redhat.com>
8596
8597         * gtk/gtkviewport.c (viewport_set_adjustment): Fix bug with 
8598         set_adjustment (viewport, NULL);
8599
8600 2003-06-07  Matthias Clasen  <maclas@gmx.de>
8601
8602         * gtk/gtkiconfactory.c (get_default_icons): 
8603         * gtk/stock-icons/stock_{undo,redo,undelete,revert}_rtl_{16,24}.png:
8604         * gtk/stock-icons/Makefile.am: Add rtl variants of undo, redo,
8605         undelete and revert.  (#96633)
8606         
8607 Fri Jun  6 16:25:44 2003  Owen Taylor  <otaylor@redhat.com>
8608
8609         * gtk/gtkviewport.c: Many fixes, along with extensive cleanups and 
8610         refactoring of code to reduce duplication; fixes include:
8611
8612         - gtk_viewport_realize(): Position the window correct from adjustment 
8613         values. (#110737, Michael Natterer)
8614
8615         - Remove some division-by-zero checks in places where there is no 
8616         longer division. (#110737)
8617
8618         - gtk_viewport_class_init: Make the hadjustment/vadjustment properties 
8619         G_PARAM_CONSTRUCT, so that there will always be adjustments, even 
8620         if gtk_viewport_new isn't used (#101135, Thomas Leonard).
8621
8622         - Switch over to encapsulated lazy-creation for hadjustment/
8623         vadjustment; even with the CONSTRUCT property, we need this after
8624         destroy.
8625
8626         - When updating the adjustment, immediate set their values to
8627         match the the current range of the viewport, and update the 
8628         viewport position to match the value of the new adjustments. 
8629         (Part of #1165)
8630
8631 2003-06-06  Tor Lillqvist  <tml@iki.fi>
8632
8633         * gdk/win32/gdkprivate-win32.h: Fix typo.
8634
8635         * gdk/win32/gdkgc-win32.c (_gdk_win32_gc_new): Set
8636         graphics_exposures and subwindow_mode, too, even if they aren't
8637         currently used.
8638
8639 Fri Jun  6 23:38:23 2003  Kristian Rietveld  <kris@gtk.org>
8640
8641         Merged from stable.
8642
8643         * gtk/gtktreeview.c (do_expand_collapse),
8644         (expand_collapse_timeout), (cancel_arrow_animation): made
8645         expand_collapse_timeout a wrapper with locks around     
8646         do_expand_collapse, made cancel_arrow_animation use
8647         do_expand_collapse. Fixes threadlock. (Fixes #111286, patch from
8648         Peter Bloomfield).
8649
8650 Fri Jun  6 11:05:45 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
8651
8652         * modules/input/gtkimcontextxim.h (struct _GtkIMContextXIM):
8653         * modules/input/gtkimcontextxim.c (preedit_start_callback,
8654         preedit_draw_callback, preedit_done_callback): Add a 'finalizing' flag 
8655         to keep preedit-[start,changed,end] signals from being called during
8656         finalization (#111861).
8657
8658 2003-06-05  Noah Levitt  <nlevitt@columbia.edu>
8659
8660         * gtk/gtknotebook.c (gtk_notebook_button_press): Ignore button
8661         presses that are not on the tab (#114534).
8662
8663 Thu Jun  5 20:35:40 2003  Owen Taylor  <otaylor@redhat.com>
8664
8665         * demos/Makefile.am: Conditionalize dependencies for
8666         gdk-pixbuf-csource on cross-compilation (#112391, J. Ali Harlow). 
8667         Buildtest-inline-pixbufs.h in srcdir. Don't try to build 
8668         test-inline-pixbufs.h if we don't have libpng.
8669
8670         * gtk/stock-icons/Makefile.am (gtkstockpixbufs.h): 
8671         Add a dependency on gdk-pixbuf.loaders when not 
8672         cross-compiling, remove the dependency on gdk-pixbuf-csource
8673         when not cross compiling.
8674
8675 Thu Jun  5 20:12:51 2003  Owen Taylor  <otaylor@redhat.com>
8676
8677         * gtk/gtkwindow.c (gtk_window_get_default_size): Handle
8678         gtk_window_get_geometry_info() returning NULL.
8679         (#107311, John Finlay)
8680
8681 Thu Jun  5 19:24:33 2003  Owen Taylor  <otaylor@redhat.com>
8682
8683         * gtk/gtktoolbar.c (gtk_toolbar_expose): Subtract off
8684         twice the border width from the width/height, not
8685         1x the border width. (#106336, Rodney Dawes)
8686
8687 Thu Jun  5 15:33:38 2003  Owen Taylor  <otaylor@redhat.com>
8688  
8689         * gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_next_line):
8690         If at the end of the buffer, move to the end iter -
8691         parallels behavior of move_iter_to_previous_line.
8692         (#81960, Padraig O'Briain)
8693  
8694 Thu Jun  5 16:12:54 2003  Owen Taylor  <otaylor@redhat.com>
8695
8696         #80023, Yao Zhang, TOKUNAGA Hiroyuki
8697
8698         * gtk/gtktextlayout.c (gtk_text_layout_get_cursor_locations):
8699         Account for the preedit cursor offset if the iter passed
8700         in is at the same place as the insertion cursor.
8701
8702         * gtk/gtktextview.c (gtk_text_view_get_cursor_location):
8703         Encapsulate getting the insertion cursor location.
8704
8705         * gtk/gtktextview.c (gtk_text_view_update_im_spot_location):
8706         Pass the real y/height to the IM context. Take 
8707         text_view->x/yoffset into account.
8708
8709 Thu Jun  5 16:52:54 2003  Owen Taylor  <otaylor@redhat.com>
8710
8711         * gtk/gtktextview.[ch]: Never scroll on focus in
8712         (#81893, Patch from Paolo Maggi)
8713
8714         * gtk/gtktextview.c (gtk_text_view_scroll_[h]pages): 
8715         Scroll to the current cursor location before handling
8716         the action, in case the user just tabbed in
8717         and the cursor is offscreen.
8718
8719 Thu Jun  5 17:20:40 2003  Owen Taylor  <otaylor@redhat.com>
8720          
8721          #107883, Gustavo Giráldez
8722
8723         * gtk/gtktextlayout.c (gtk_text_layout_emit_changed):
8724         Split out the case where we know we changed, and 
8725         already dealt with our cached line being invalidated
8726         from external calls to gtk_text_layout_changed.
8727
8728         * gtk/gtktextlayout.c (gtk_text_layout_changed):
8729         Check if the invalidate yrange intersects our
8730         cached line, and clear it if necessary.
8731
8732 2003-06-05  Tor Lillqvist  <tml@iki.fi>
8733
8734         * gdk/win32/gdkevents-win32.c (gdk_event_translate): Handle global
8735         filters.
8736
8737 2003-06-05  Matthias Clasen  <maclas@gmx.de>
8738
8739         * gtk/gtktextview.c: Fix for #84668, reported by Torbjrn Andersson:
8740         (gtk_text_view_grab_notify): 
8741         (gtk_text_view_state_changed): Implement these
8742         to unobscure cursor when grab shadowed or insensitised.
8743         (gtk_text_view_unobscure_mouse_cursor): New function to undo the
8744         effect of gtk_text_view_obscure_mouse_cursor(). Code lifted from
8745         gtk_text_view_motion_event().
8746         (gtk_text_view_motion_event): Use gtk_text_view_obscure_mouse_cursor().
8747
8748         * gtk/gtktextview.c (select_all): New keybinding signal for
8749         (un)selecting the whole buffer. Bound to C-a/C-\.  (see #107889)
8750
8751         * gtk/gtkcalendar.c (calendar_timer): 
8752         (stop_spinning): Replace deprecated gtk_timeout_* functions by
8753         their GLib counterparts.  (#114429)
8754
8755         * gtk/gtktreestore.c (gtk_tree_store_new): 
8756         * gtk/gtkliststore.c (gtk_list_store_new): Document restriction on 
8757         types.
8758
8759 Wed Jun  4 19:42:17 2003  Owen Taylor  <otaylor@redhat.com>
8760
8761         * gdk/gdkpango.c (gdk_draw_layout_line_with_colors):
8762         When drawing underlines, join up adjacent runs
8763         where possible, so we don't get changes in 
8764         shaper/font/etc. breaking underlines. (#103662,
8765         Kang Jeong-Hee)
8766
8767 Wed Jun  4 19:22:58 2003  Jonathan Blandford  <jrb@redhat.com>
8768
8769         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_level_find_insert):
8770         Slightly modified patch from Owen Taylor <otaylor@redhat.com> to
8771         improve the speed of inserting rows into an already sorted list,
8772         #109292
8773
8774 Wed Jun  4 19:24:28 2003  Owen Taylor  <otaylor@redhat.com>
8775
8776         * gdk/x11/gdkgc-x11.c gdk/x11/gdkprivate-x11.h: Keep
8777         track of when we have a clip mask set for the GC,
8778         and when we unset it, or switch to a clip region,
8779         immediately call XSetClipMask (..., None) to avoid
8780         Xlib caching stale data. (#111806)
8781
8782         * gtk/gtktextdisplay.c: Don't set a clip mask
8783         when drawing alpha pixmaps; it isn't necessary any more.
8784         (#111806)
8785
8786 Wed Jun  4 18:27:44 2003  Owen Taylor  <otaylor@redhat.com>
8787
8788         * gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator): 
8789         gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator): 
8790         Use GTK_WIDGET_IS_SENSITIVE(), not GTK_WIDGET_SENSITIVE
8791         (#92548, Tim Evans)
8792
8793         * gtk/gtkcheckmenuitem.c (gtk_real_check_menu_item_draw_indicator)
8794         gtk/gtkradiomenuitem.c (gtk_radio_menu_item_draw_indicator): If
8795         Use state_type = STATE_INSENSITIVE for insensitive menu items.
8796
8797 Wed Jun  4 21:25:35 2003  Kristian Rietveld  <kris@gtk.org>
8798
8799         Merged from stable.
8800
8801         * gtk/gtktreeview.c (gtk_tree_view_drag_begin): use a silent
8802         assert for get_info. (reported by Michael Natterer),
8803         (gtk_tree_view_expand_all_emission_helper),
8804         (gtk_tree_view_expand_all_helper): emit row_expanded for all
8805         expanded rows during an _expand_all operation. (Fixes #111280,
8806         reported by Benjamin Bayart).
8807
8808 Tue Jun  3 18:32:30 2003  Owen Taylor  <otaylor@redhat.com>
8809
8810         * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Don't
8811         respond to pings on a root window; prevents infinite
8812         loops if we are selecting for SubstructureNotify on the
8813         root window. (#111945, Sergey V. Udaltsov)
8814
8815 Tue Jun  3 17:39:16 2003  Owen Taylor  <otaylor@redhat.com>
8816
8817         #71597, reported by Morten Welinder
8818
8819         * gdk/gdkpixbuf-drawable.c (rgb888amsb): Fix and simplify
8820         (Patch from Christian Petig)
8821
8822         * gdk/gdkpixbuf-drawable.c (rgb{555,565}{a,}{msb,lsb}):
8823         Major rewrite of 555 and 565 conversion routines:
8824
8825         - Move all the bit shifting into a small block of macros,
8826           eliminating much duplication of complicated arithmetic.
8827         - Get rid of 2-pixels at a time code, which was buggy,
8828           hard to maintain, caused unaligned accesses, and
8829           probably didn't actually perform any better.
8830         - Simplify cases where different data types were
8831           used for the little and big endian cases, use
8832           GUINT16_SWAP_LE_BE() where appropriate.
8833                 
8834 Tue Jun  3 15:05:47 2003  Owen Taylor  <otaylor@redhat.com>
8835
8836         * gdk/x11/gdkdrawable-x11.c (convert_to_format): Remove
8837         bad optimization for src_rowstride == dest_stride.
8838         (Didn't consider the case where we were copying only
8839         partial widths of a wider source buffer)
8840         (#113034, reported by Hans Petter Jansson)
8841
8842 2003-06-03  Michael Natterer  <mitch@gimp.org>
8843
8844         * gdk/x11/gdkinput-x11.c (_gdk_input_common_find_events):
8845         reenabled button_release events for xinput devices. (#113948)
8846
8847 2003-06-03  Christian Rose  <menthos@menthos.com>
8848
8849         * configure.in: Added "li" to ALL_LINGUAS.
8850
8851 Mon Jun  2 18:58:54 2003  Owen Taylor  <otaylor@redhat.com>
8852
8853         * gtk/gtknotebook.c (gtk_notebook_size_allocate): Don't
8854         map the event window if the notebook isn't mapped. (#113980,
8855         Richard Reich)
8856
8857 2003-06-02  Sven Neumann  <sven@gimp.org>
8858
8859         * gtk/gtkprogress.c (gtk_progress_changed): added a missing cast.
8860
8861         * gdk/gdkrgb.c (gdk_rgb_try_colormap): removed an unused variable.
8862
8863 2003-06-01  Matthias Clasen  <maclas@gmx.de>
8864
8865         * gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Add 
8866         Since: 2.4 to the docs.
8867
8868         * gtk/gtkwindow.c (gtk_window_parse_geometry): Add some hints and
8869         an example to the docs.  (#98427)
8870
8871 2003-05-30  Murray Cumming  <murrayc@usa.net>
8872
8873         * gtk/gtkalignment.[h|c]: Added 4-sided padding as properties with
8874         gtk_alignment_get_padding() and gtk_aligment_set_padding(). This
8875         uses the new private data system - see g_type_class_add_private() in
8876         gtk_alignment_class_init() and the use of GTK_ALIGNMENT_GET_PRIVATE().
8877
8878 2003-05-30  Matthias Clasen  <maclas@gmx.de>
8879         
8880         * gtk/gtknotebook.c: Changed guint to GtkNotebookArrow in the
8881         signature of gtk_notebook_draw_arrow() for Solaris builds to go
8882         through.  (#114043, Anand Subramanian)
8883
8884 Thu May 29 18:30:35 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
8885
8886         * modules/input/imipa.c: 
8887         use GETTEXT_PACKAGE to get a translation for "ipa"(#113850).
8888
8889 Thu May 29 18:08:01 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
8890
8891         * gtk/gtkimmodule.c (_gtk_im_module_list):
8892         use GETTEXT_PACKAGE to get a translation for "Default"(#113850).
8893
8894 Thu May 29 09:34:05 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
8895
8896         * gtk/gtkimmodule.c (_gtk_im_module_list): make "Default"
8897         label of default input method localizable.
8898         * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems): 
8899         use translations of input method context names
8900         * modules/input/imam-et.c, modules/input/imcyrillic-translit.c,
8901           modules/input/iminuktitut.c, modules/input/imthai-broken.c,
8902           modules/input/imti-er.c, modules/input/imti-et.c
8903           modules/input/imviqr.c, modules/input/imxim.c
8904         use GETTEXT_PACKAGE instead of "gtk+" for domain name.
8905         (#113850).
8906
8907 Thu May 29 18:23:01 2003  Kristian Rietveld  <kris@gtk.org>
8908
8909         Merged from stable.
8910
8911         * gtk/gtktreeview.c (gtk_tree_view_button_press): put the focus
8912         grab separate, the user might clear the tree in the focus-in
8913         callback. (Fixes #113086, testcase from Felipe Heidrich).
8914
8915 Thu May 29 18:06:26 2003  Kristian Rietveld  <kris@gtk.org>
8916
8917         Merged from stable.
8918
8919         * gtk/gtktreeview.c (gtk_tree_model_set_model): reset a bunch
8920         of row reference when we unset the model. Also reset
8921         dy and top_row_dy. (Fixes #109289, patch from Owen Taylor).
8922
8923 Thu May 29 17:12:19 2003  Kristian Rietveld  <kris@gtk.org>
8924
8925         Merged from stable.
8926
8927         * gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): cancel
8928         the current editing, if it exists. (Fixes #108956, reported by
8929         Michael Natterer).
8930
8931 Thu May 29 17:06:09 2003  Kristian Rietveld  <kris@gtk.org>
8932
8933         Merged from stable.
8934
8935         * gtk/gtktreeview.c (check_selection_helper): new function,
8936         (gtk_tree_view_row_deleted): traverse the tree from the
8937         deleted node to see whether the selection changed, instead of
8938         just checking this node. (Fixes #107400, reported by 'Duncan').
8939
8940 Thu May 29 16:31:34 2003  Kristian Rietveld  <kris@gtk.org>
8941
8942         Merged from stable.
8943
8944         * gtk/gtktreeview.c (gtk_tree_view_maybe_begin_dragging_row),
8945         (gtk_tree_view_drag_begin): set the DnD icon in _drag_begin
8946         instead of _maybe_begin_dragging_row, so the icon can be
8947         overridden by apps. (Fixes #104374, patch from Daniel Elstner).
8948
8949 Thu May 29 16:14:04 2003  Kristian Rietveld  <kris@gtk.org>
8950
8951         Merged from stable.
8952
8953         * gtk/gtktreeview.c (gtk_tree_view_start_editing): correct
8954         cell_area x/width for the expander if needed. (Fixes #101748,
8955         reported by Dave Cook and Mariano Suarez-Alvarez).
8956
8957 Thu May 29 16:01:38 2003  Kristian Rietveld  <kris@gtk.org>
8958
8959         Merged from stable.
8960
8961         * gtk/gtktreeview.c (gtk_tree_view_real_set_cursor): check
8962         if tree/node are still the same after _internal_select_node.
8963         (Fixes #92256, reported by edscott).
8964
8965 Thu May 29 15:38:30 2003  Kristian Rietveld  <kris@gtk.org>
8966
8967         Fixes #75745, reported by Richard Hult. Merged from stable.
8968
8969         * gtk/gtktreeview.c (gtk_tree_view_bin_expose): set/unset
8970         GTK_CELL_RENDERER_FOCUSED flag whether the current node is the
8971         cursor or not.
8972
8973         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
8974         if we are rendering a cursor row, and the cell the be
8975         processed has focus, then set the GTK_CELL_RENDERER_FOCUSED
8976         flag (else we unset it).
8977
8978 2003-05-27  Matthias Clasen  <maclas@gmx.de>
8979
8980         * gtk/gtkwindow-decorate.c: 
8981         * gtk/gtktreeprivate.h: 
8982         * gtk/gtkdnd.c: 
8983         * gdk/win32/gdkwindow-win32.h: 
8984         * gdk/linux-fb/gdkprivate-fb.h: 
8985         * gdk/linux-fb/gdkkeyboard-fb.c: Remove dubious bitfields of
8986         unspecified signedness.  (#112919, Morten Welinder)
8987
8988         * gtk/queryimmodules.c (escape_string): 
8989         * gtk/gtktextbtree.c (_gtk_text_btree_get_text): 
8990         * gtk/gtksettings.c (_gtk_settings_parse_convert): 
8991         * gtk/gtkrc.c (gtk_rc_parse_assignment): 
8992         * gtk/gtkinputdialog.c (gtk_input_dialog_set_key): 
8993         * gdk/x11/gdkdisplay-x11.c (escape_for_xmessage): Replace all 
8994         occurances of g_string_new ("") by g_string_new (NULL). (#106975,
8995         Morten Welinder) 
8996
8997 2003-05-27  Tor Lillqvist  <tml@iki.fi>
8998
8999         * gtk-zip.sh.in: Only include the Default and Emacs themes' gtkrc
9000         files. Include share/gtk-doc/{gdk-pixbuf,gdk,gtk}.
9001
9002         * gdk/Makefile.am: libgdk-win32-2.0.la depends on
9003         win32/libgdk-win32.la.
9004
9005         * gtk/gtk.def: Add gtk_tree_view_column_cell_get_position.
9006
9007 Sat May 24 22:19:13 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
9008
9009         * gtk/gtkscrollbar.c (gtk_scrollbar_class_init): Make the minimum
9010         scrollbar slider length 21 instead of 7.
9011
9012 2003-05-23  Matthias Clasen  <maclas@gmx.de>
9013
9014         * gtk/gtknotebook.c: Add support for up to four scroll
9015         arrows. Control their display by new style properties
9016         "has_forward_stepper", "has_backward_stepper",
9017         "has_secondary_forward_stepper" and
9018         has_secondary_backward_stepper". (#110540)
9019
9020         * gtk/gtknotebook.h (struct _GtkNotebook): Make in_child and
9021         click_child three bits wide, add
9022         has_{before,after}_{previous,next} fields.
9023
9024         * gtk/gtkcolorsel.c (gtk_color_selection_init): Update color on
9025         focus out of hex_entry.  (#112665)
9026         (hex_focus_out): New signal handler for focus out of hex entry.
9027
9028 Wed May 21 19:01:06 2003  Owen Taylor  <otaylor@redhat.com>
9029
9030         * gtk/gtkwidget.c (gtk_widget_realize): 
9031         g_return_if_fail() if
9032         GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget).
9033         (#107872, Christian Reis)
9034
9035 2003-05-22  Matthias Clasen  <maclas@gmx.de>
9036
9037         * gtk/gtkfilesel.c (gtk_file_selection_create_dir): 
9038         (gtk_file_selection_rename_file): Some keynav improvements for the
9039         "Rename File" and "Create Directory" subdialogs: Enter in entry
9040         activates default, default is "Create"/"Rename", Escape cancels
9041         dialog.  (#113110)
9042         (gtk_file_selection_set_filename): Add a hint about opening 
9043         directories.  (#113175)
9044
9045 2003-05-22  Matthias Clasen  <maclas@gmx.de>
9046
9047         * gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_update_xft_clip):
9048         Use XftDrawSetClipRectangles(), since we're inside HAVE_XFT2
9049         anyway.  (#113476)
9050
9051 Wed May 21 15:53:14 2003  Owen Taylor  <otaylor@redhat.com>
9052
9053         * gtk/gtkprogress.c (gtk_progress_set_format_string,
9054         gtk_progress_set_show_text): Always queue a resize ... 
9055         we rely on the size-allocate to do the update, plus a 
9056         different format can actually change our size requisition.
9057         (#111052, Vasco Alexandre da Silva Costa)
9058
9059         * gtk/gtkprogress.c (gtk_progress_changed): Track
9060         ::changed as well as ::value_changed, and queue a
9061         resize on ::changed when necessary.
9062
9063         * gtk/gtkprogress.c (gtk_progress_set_adjustment): 
9064         Call gtk_progress_changed() here to update or 
9065         queue a resize as necessary.
9066
9067 Wed May 21 14:06:13 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
9068
9069         * gtk/gtkimcontextsimple.c: added composing rules of
9070         Greek accented letters, patch by Vasilis Vasaitis (#107507)
9071
9072 Wed May 21 13:19:05 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
9073
9074         * gtk/gtkenums.h (enum GtkIMPreeditStyle, GtkIMStatusStyle): 
9075         * modules/input/gtkimcontextxim.c (preedit_style_change, status_style_change):
9076         gtk settings for XIMPreeditNone and XIMStatusNone. (#105909)
9077
9078 Wed May 21 12:10:25 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
9079
9080         * gtk/gtkimcontextsimple.c: 
9081         code that can check the compose table for ascending order,
9082         by Vasilis Vasaitis (#104862).
9083
9084 Wed May 21 12:52:01 2003  Owen Taylor  <otaylor@redhat.com>
9085
9086         * gtk/gtkkeyhash.[ch] (_gtk_key_hash_looku): We need 
9087         to pass the unmasked state to gdk_keymap_translate_keyboard_state() 
9088         to handle the case where a modifier not in the mask
9089         (like Num_Lock) changes the key value, so replace
9090         the masked state with a state/mask pair. (#106913,
9091         Olivier Ripoll)
9092
9093         * gtk/gtkwindow.c gtk/gtkbinding.c: Update to pass
9094         in state/mask pair to _gtk_key_hash_lookup()
9095
9096 Tue May 20 21:58:00 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
9097
9098         * modules/input/gtkimcontextxim.c (xim_info_display_closed):
9099         fix a memory leak, free input context list (#113259).
9100
9101 2003-05-21  Matthias Clasen  <maclas@gmx.de>
9102
9103         * configure.in (all_loaders): Add pcx.
9104
9105         * gtk/gtkcalendar.c: Make calendar controls spin.  (#112540)
9106
9107 Tue May 20 17:27:24 2003  Owen Taylor  <otaylor@redhat.com>
9108
9109         * gtk/gtkimmodule.c (gtk_im_module_init): Silently
9110         accept a missing gtk.immodules file, some people
9111         want to run without one. (#112406, patch from
9112         Arnaud Charlet)
9113
9114 Tue May 20 17:05:31 2003  Owen Taylor  <otaylor@redhat.com>
9115
9116         * gtk/gtkwindow.c (gtk_window_compute_hints): Fix 
9117         height/width confusion (#113370, Xan Lopez)
9118
9119 Tue May 20 15:48:45 2003  Owen Taylor  <otaylor@redhat.com>
9120
9121         * gdk/x11/gdkdnd-x11.c gdk/x11/gdkwindow-x11.c: Comprehensively
9122         zero all unused parts of client messages (Mainly Motif DND
9123         and EWMH). Also, fix a couple places where we were putting
9124         contents into Motif DND messages that didn't belong.
9125         (#113361, EWMH problem reported by Lubos Lunak)
9126
9127         * gtk/gtkselection.c (_gtk_selection_request): Handle the
9128         case where the property type for the multiple atoms is
9129         ATOM_PAIR by doing the conversions ourselve. This is
9130         needed for Xt inter-operation.
9131
9132 2003-05-19 Arafat Medini <lumina@silverpen.de>
9133
9134         * configure.in: Added ar to ALL_LINGUAS
9135
9136 2003-05-19  Matthias Clasen  <maclas@gmx.de>
9137
9138         * gtk/gtksettings.c (gtk_rc_property_parse_border,
9139         gtk_rc_property_parse_color, gtk_rc_property_parse_enum,
9140         gtk_rc_property_parse_flags, gtk_rc_property_parse_requisition):
9141         Add docs.
9142
9143         * gtk/gtkwidget.c (gtk_widget_class_install_style_property, 
9144         gtk_widget_class_install_style_property_parser): Add docs. 
9145
9146 2003-05-17  Matthias Clasen  <maclas@gmx.de>
9147
9148         * tests/prop-editor.c: Add navigation for object properties, so
9149         that you can easily edit the properties of the parent of a widget.
9150         (#113152)
9151
9152 Wed May 14 17:45:32 2003  Owen Taylor  <otaylor@redhat.com>
9153
9154         * gdk/gdkkeysyms.h gdk/gdkkeynames.c gdk/gdkkeyuni.c:
9155         Patch from Vasilis Vasaitis to fix Greek_IOTAdi[a]eresis 
9156         inconsistency and leave the old name as an aliass (#104873)
9157
9158 Wed May 14 16:40:09 2003  Owen Taylor  <otaylor@redhat.com>
9159
9160         * gtk/gtkframe.c (gtk_frame_set_label_widget): Patch
9161         from Charles Schmidt to add missing notify (#108305)
9162
9163 Wed May 14 16:00:51 2003  Owen Taylor  <otaylor@redhat.com>
9164  
9165         * gdk/x11/gdkgc-x11.c: Remove unecessary g_return_if_fail().
9166         (#105500, Morten Welinder.)
9167  
9168 Wed May 14 09:05:11 2003   Hidetoshi Tajima <hidetoshi.tajima@sun.com>
9169
9170         * modules/input/gtkimcontextxim.c (get_ic_real): use type of guint32
9171         instead of gumake for XNFilterEvents event mask(#110493).
9172
9173 2003-05-11  Anders Carlsson  <andersca@codefactory.se>
9174
9175         * gtk/gtkdnd.c (gtk_drag_source_unset_icon): Don't cast a gchar to
9176         a GObject. (#112762)
9177
9178 2003-05-08  Sven Neumann  <sven@gimp.org>
9179
9180         * configure.in: set the HAVE_X11R6 automake conditional to false
9181         if not compiling for X11.
9182
9183 2003-05-08  Matthias Clasen  <maclas@gmx.de>
9184
9185         * gtk/gtkcalendar.[ch] (gtk_calendar_set_display_options): 
9186         (gtk_calendar_get_display_options): New functions.
9187         (gtk_calendar_display_options): Depreate.  (#64567)
9188         (gtk_calendar_class_init): Add boolean properties for the display
9189         options.  (#50949)
9190
9191 Tue May  6 16:50:52 2003  Owen Taylor  <otaylor@redhat.com>
9192
9193         Patch from James Henstridge to update to automake-1.7
9194         (#109542)
9195  
9196         * autogen.sh: update to call newer tools.
9197  
9198         * configure.in: various updates, to use M4 macros to put
9199         variables that change each release at the top.
9200         Use AC_HELP_STRING to format help strings.
9201         Use AC_CONFIG_COMMANDS to generate gdkconfig.h.
9202  
9203         * Makefile.am: require Automake 1.7.  Remove gdk-2.0.pc and
9204         gtk+-2.0.pc on uninstall.  Pass --enable-gtk-doc to configure
9205         during distcheck.
9206  
9207         * docs/reference/*/Makefile.am: simplify to use the gtk-doc.make
9208         makefile fragment.
9209  
9210         * */Makefile.am: don't use STRIP_BEGIN/STRIP_END.
9211         Use BUILT_SOURCES where appropriate.
9212         Build generated files in builddir rather than srcdir.
9213         Fix uninstall and distclean targets to satisfy distcheck.
9214
9215         ===
9216
9217         * gdk/*/Makefile.am: Remove the hacks to get gdkenumtypes.h
9218         built first, since we are now using BUILT_SOURCES.
9219
9220         * gdk/Makefile.am: Remove an outdated comment about gdk_headers.
9221
9222         * demos/gtk-demo/Makefile.am: Fix srcdir != buildd problem
9223         with geninclude.pl.
9224
9225         * configure.in: Update versions to 2.3.0.
9226  
9227 2003-05-06  Tor Lillqvist  <tml@iki.fi>
9228
9229         Fix for #110165 (thanks to Arnaud Charlet):
9230         
9231         * gdk/win32/gdkevents-win32.c (build_keypress_event,
9232         build_keyrelease_event): For unshifted control char, use
9233         lowercase ASCII keyval.
9234         (gdk_event_translate): Similarily, when handling WM_SYSKEYDOWN and
9235         UP (i.e. Alt-something), if it's an unshifted ASCII letter, use
9236         lowercase keyval. Use build_key_event_state() here, too, instead
9237         of minor code duplication.
9238
9239 2003-05-06  Matthias Clasen  <maclas@gmx.de>
9240
9241         * tests/testmultidisplay.c: Don't include strings.h, it's not
9242         needed anymore.  (#112388)
9243
9244         * examples/menu/itemfactory.c: 
9245         * docs/tutorial/gtk-tut.sgml: Remove an unneeded include from the
9246         itemfactory example.
9247
9248 2003-05-05  Matthias Clasen  <maclas@gmx.de>
9249
9250         * gtk/gtkdnd.c (gtk_drag_source_set_icon_stock):  Actually set the
9251         icon type to the stock icon type.  (#111735, Dave Bordoley)
9252
9253 2003-05-05  Christian Rose  <menthos@menthos.com>
9254
9255         * configure.in: Added sr and sr@Latn to ALL_LINGUAS.
9256         Removed sp, it's replaced by sr@Latn.
9257
9258 Wed Apr 30 22:09:11 BST 2003  Tony Gale <gale@gtk.org>
9259
9260         * docs/faq/gtk-faq.sgml: GTK+ 2.x updates, mainly from
9261         Gonzalo Odiard
9262
9263 Mon Apr 28 17:54:39 2003  Jonathan Blandford  <jrb@redhat.com>
9264
9265         * gtk/gtktreeview.c (gtk_tree_view_destroy): destroy the search
9266         data iff the destroy func isn't NULL.
9267
9268 Thu Apr 24 19:12:05 2003  Owen Taylor  <otaylor@redhat.com>
9269
9270         * autogen.sh (have_libtool): Accept libtool-1.5. (#111480)
9271
9272 2003-04-23  Abel Cheung  <maddog@linux.org.hk>
9273
9274         * configure.in: Added "am" "mk" "ta" to ALL_LINGUAS.
9275
9276 Tue Apr 22 15:33:51 2003  Owen Taylor  <otaylor@redhat.com>
9277
9278         * gtk/gtkfilesel.c (open_new_dir): Fix capitalization
9279         of UTF-8. (#106419, Roozbeh Pournader)
9280
9281 Tue Apr 22 15:17:25 2003  Owen Taylor  <otaylor@redhat.com>
9282
9283         * configure.in: Only check for XFT2 if we found pango-xft
9284         (#105692, Jon Nall)
9285
9286 Tue Apr 22 15:12:19 2003  Owen Taylor  <otaylor@redhat.com>
9287
9288         * gtk/gtkwidget.c (gtk_widget_class_init): Fix PROP_HAS_FOCUS/
9289         PROP_IS_FOCUS confusion. (#111333, Jody Goldberg)
9290
9291 Tue Apr 22 19:43:01 BST 2003  Tony Gale <gale@gtk.org>
9292
9293         * docs/faq/gtk-faq.sgml: add note about version converage.
9294
9295 Mon Apr 21 19:02:16 2003  Owen Taylor  <otaylor@redhat.com>
9296
9297         * gtk/gtksocket.c (activate_key): Fix prototype for
9298         activate_key. (#108927, Jason D. Hildebrand)
9299
9300 Mon Apr 21 18:42:51 2003  Owen Taylor  <otaylor@redhat.com>
9301
9302         * demos/gtk-demo/Makefile.am demos/gtk-demo/geninclude.pl:
9303         Remove geninclude.pl from CVS and don't dist it either,
9304         it is generated. (#108970, Rich Kinder)
9305
9306 Mon Apr 21 18:35:48 2003  Owen Taylor  <otaylor@redhat.com>
9307
9308         * gtk/gtkobject.h: Remove a couple of obsolete comments,
9309         fix another comment. (#109737, Britton Kerin)
9310
9311 Mon Apr 21 18:29:03 2003  Owen Taylor  <otaylor@redhat.com>
9312
9313         * gtk/gtkiconfactory.c (gtk_icon_set_unref): Free
9314         the source list, not just it's contents (Patch
9315         from Charles Kerr, #108243)
9316
9317 Mon Apr 21 18:13:46 2003  Owen Taylor  <otaylor@redhat.com>
9318
9319         * gdk/x11/gdkdnd-x11.c (gdk_window_cache_filter): Patch
9320         from Alex Larsson fixing problem with restacking during
9321         DND. (#108671)
9322
9323 Mon Apr 21 15:07:29 2003  Owen Taylor  <otaylor@redhat.com>
9324
9325         * gdk/x11/gdkdisplay-x11.c (gdk_display_keyboard/pointer_ungrab):
9326         Calling XFlush() after ungrabbing, to avoid problems if
9327         the app subsequently blocks on a long-running operation.
9328         (#106520, reported by Rajkumar Siva)
9329
9330 Fri Apr 18 17:42:45 2003  Owen Taylor  <otaylor@redhat.com>
9331
9332         * gdk/x11/gdkwindow-x11.c (set_initial_hints): Add
9333         SKIP_TASKBAR/SKIP_PAGER to set of properties we
9334         might set on map. (#110019, problem reported
9335         by Loban Rahman)
9336
9337 Fri Apr 18 17:14:33 2003  Owen Taylor  <otaylor@redhat.com>
9338
9339         * gdk/gdkevents.c (gdk_event_copy): Fix for the
9340         case when gdk_event_copy() is called on a non-allocated
9341         event. (#109716, reported by Rich Burridge)
9342
9343 Fri Apr 18 16:57:44 2003  Owen Taylor  <otaylor@redhat.com>
9344
9345         * gdk/x11/gdkdrawable-x11.c (draw_with_images/pixmaps):
9346         Fix pointer arithmetic on 'void *'. (#108322)
9347
9348 Fri Apr 18 16:31:49 2003  Owen Taylor  <otaylor@redhat.com>
9349
9350         * configure.in gdk/x11/gdkdisplay-x11.c modules/input/Makefile.am:
9351         Check for XAddConnectionWatch()/X11R6, and if found, disable XIM and
9352         use of XAddConnectionWatch. Remove --enable-xim config option.
9353         Should fix building on X11R6 (#110523, Albert Chin)
9354
9355 Fri Apr 18 15:56:46 2003  Owen Taylor  <otaylor@redhat.com>
9356
9357         * gdk/x11/gdkdisplay-x11.[ch] gdk/x11/gdkdrawable-x11.[ch]:
9358         Patch from Morten Welinder to catch Sun servers with a 
9359         broken implementation of the RENDER extension. (#108309)
9360
9361 Fri Apr 18 15:30:38 2003  Owen Taylor  <otaylor@redhat.com>
9362
9363         * gdk/x11/gdkwindow-x11.c (set_text_property): Use
9364         gdk_free_compound_text(), not g_free(). (#107643,
9365         Michael Zucchi)
9366
9367 Fri Apr 18 15:11:50 2003  Owen Taylor  <otaylor@redhat.com>
9368
9369         * gdk/x11/gdkdisplay-x11.c (_gdk_display_x11_get_type)
9370         gdk/x11/gdkscreen-x11.c (_gdk_screen_x11_get_type): Fix
9371         wrong use of base_finalize. (#105126, Sven Neumann)
9372
9373 Fri Apr 18 15:06:00 2003  Owen Taylor  <otaylor@redhat.com>
9374
9375         * gdk/gdkwindow.c (gdk_window_constrain_size): Fix
9376         '/' vs. '*' problem in aspect ration computations. (#108237)
9377
9378 Fri Apr 18 14:15:09 2003  Owen Taylor  <otaylor@redhat.com>
9379
9380         * gdk/x11/gdkdisplay-x11.c (gdk_display_open): 
9381         * gdk/x11/gdkevents-x11.c (gdk_event_translate): You
9382         don't get a XkbMapNotify event if you get a XkbNewKeyboardNotify 
9383         event, so select for both. (#108406, Egmont Koblinger)
9384
9385 Thu Apr 17 09:57:44 2003  Jonathan Blandford  <jrb@gnome.org>
9386
9387         * gtk/gtktreeview.c (validate_visible_area): remove infinite loop
9388         caused by not clearing the scroll_to_path.
9389
9390 2003-04-16  Matthias Clasen  <maclas@gmx.de>
9391
9392         * gtk/gtkstyle.c: Doc additions and fixes.
9393
9394         * gtk/gtktreeviewcolumn.c
9395         (_gtk_tree_view_column_get_neighbor_sizes): Doc fixes.
9396
9397 2003-04-14  Michael Natterer  <mitch@gimp.org>
9398
9399         * gtk/gtkliststore.c (gtk_list_store_move): added checks to ensure
9400         that the iter is not reordered to its own position. Prevents model
9401         corruption for the case that the store contains only a single item
9402         (fixes bug #108387).
9403
9404         Unrelated:
9405
9406         * gtk/gtkliststore.c (gtk_list_store_insert): g_list_alloc() the
9407         new list element later so we don't leak it if we decide to return
9408         early.
9409
9410         * gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node):
9411         set selection->tree_view->priv->anchor to NULL after freeing it.
9412
9413 2003-04-13  Matthias Clasen  <maclas@gmx.de>
9414
9415         * gtk/gtktreeviewcolumn.c
9416         (gtk_tree_view_column_cell_get_position): Document. 
9417
9418         * gtk/gtktextbuffer.c (gtk_text_buffer_select_range): 
9419         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_[sg]et_expand): 
9420         * gtk/gtkbutton.c (gtk_button_[sg]et_focus_on_click): Document
9421         these as 2.4 additions.
9422
9423 2003-04-09  Matthias Clasen  <maclas@gmx.de>
9424
9425         * INSTALL.in: Fix the real thing.
9426
9427         * INSTALL: Typo fix.
9428
9429 Mon Apr  7 19:43:15 2003  Owen Taylor  <otaylor@redhat.com>
9430
9431         * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_ungrab): Flush
9432         after ungrabbing the server.
9433  
9434         * gdk/x11/gdkimage-x11.c: Remove some no-longer-needed
9435         calls to XFlush().
9436
9437         * gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_at_pointer):
9438         Use gdk_x11_display_grab/ungrab.
9439
9440         * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize
9441         use_xshm to TRUE so SHM gets used when present.
9442  
9443 2003-04-07  Matthias Clasen  <maclas@gmx.de>
9444
9445         * gtk/gtktextlayout.c (set_para_values): 
9446         * gtk/gtkenums.h (GtkWrapMode): Add GTK_WRAP_WORD_CHAR.  (#110086,
9447         David Brigada)
9448
9449         * gtk/gtkcelleditable.c, gtk/gtkfixed.c, gtk/gtktreemodel.c,
9450         gtk/gtktreeselection.c, gtk/gtktreeview.c: Fix numerous
9451         misspellings of possessive "its".  (#110027, Doug Quale)
9452
9453 2003-04-03  Matthias Clasen  <maclas@gmx.de>
9454
9455         * demos/gtk-demo/main.c (demo_find_file): Only use files from the
9456         current directory if it looks like the srcdir.  (#109357)
9457
9458 Wed Apr  2 23:02:26 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
9459
9460         * gtk/gtkbutton.[ch] (gtk_button_class_init): add property
9461         focus_on_click
9462
9463         * gtk/gtkwindow.c (gtk_window_focus): make arrow keyboard
9464         navigation not wrap around.
9465
9466 2003-04-02  Matthias Clasen  <maclas@gmx.de>
9467
9468         * gtk/gtkprogress.c (gtk_progress_get_percentage_from_value):
9469         Return 0 if lower == upper.  (#109155)
9470         (gtk_progress_get_current_percentage): Use
9471         gtk_progress_get_percentage_from_value().
9472
9473 2003-04-01  Matthias Clasen  <maclas@gmx.de>
9474
9475         * gtk/gtkimcontext.c (gtk_im_context_focus_in): Fix docs.
9476         (#109510, Noah Levitt)
9477
9478 Mon Mar 31 13:52:13 2003  Jonathan Blandford  <jrb@redhat.com>
9479
9480         * gtk/gtkrbtree.c (_gtk_rbtree_reorder): null initialize reorder's
9481         members so Purify won't complain.
9482
9483         * gtk/gtkliststore.c (gtk_list_store_sort): ditto.
9484
9485 2003-03-31  Matthias Clasen  <maclas@gmx.de>
9486
9487         * gtk/gtkwindow.c: Add a new property, role, corresponding to 
9488         gtk_window_[gs]et_role().  (#93904)
9489
9490 Sun Mar 30 03:57:42 2003  Jonathan Blandford  <jrb@gnome.org>
9491
9492         * gtk/gtktreeselection.c (gtk_tree_selection_get_selected_rows):
9493         fix crash.  Patch from Markus Lausser <sgop@users.sourceforge.net>
9494
9495 2003-03-29  Matthias Clasen  <maclas@gmx.de>
9496
9497         * gtk/gtkoptionmenu.c (gtk_option_menu_remove_contents): Set state
9498         of labels back to normal before reparenting back.  (#102387)
9499
9500         * gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init): Set
9501         a default window title to match the GtkFontSelectionDialog behavior.
9502  
9503         (gtk_color_selection_dialog_new): Don't call
9504         gtk_window_set_title() if title is NULL.  (bug #101975, Daniel Elstner)
9505
9506 2003-03-29  Matthias Clasen  <maclas@gmx.de>
9507
9508         Fix for bug #78499:
9509         
9510         * gtk/gtkentry.h (struct _GtkEntry): Add flags select_words and
9511         select_lines. 
9512
9513         * gtk/gtkentry.c (gtk_entry_button_press): Set select_words and
9514         select_lines on double/triple click.
9515
9516         * gtk/gtkentry.c (gtk_entry_motion_notify): Implement
9517         select-by-words and select-by-lines behaviour.
9518
9519         Fixes for bug #56248:
9520         
9521         * gtk/gtknotebook.c (stop_scrolling): New function to remove the
9522         timer and queue a redraw. 
9523         (gtk_notebook_grab_notify): 
9524         (gtk_notebook_state_changed): New functions to call stop_scrolling() 
9525         if necessary.   
9526         (gtk_notebook_button_release): Use stop_scrolling().
9527         (gtk_notebook_draw_arrow): Fix drawing of insensitive arrows.
9528
9529         * gtk/gtkrange.c (stop_scrolling): New function to remove the
9530         grab, remove the timer and queue a redraw.
9531         (gtk_range_grab_notify): 
9532         (gtk_range_state_changed): New functions to call stop_scrolling() 
9533         if necessary.   
9534         (gtk_range_button_release): Use stop_scrolling().
9535
9536         * gtk/gtkspinbutton.c (gtk_spin_button_grab_notify): 
9537         (gtk_spin_button_state_changed): Redraw after stop_spinning.
9538         (gtk_spin_button_stop_spinning): Reset click_child to correct the
9539         drawing of the arrows.
9540         (gtk_spin_button_button_release): Use a local copy of click_child,
9541         since stop_spinning() resets it.
9542
9543         * gtk/gtknotebook.c (gtk_notebook_class_init): Add C-A-PgUp and
9544         C-A-PgDown as alternatives to the A-less variants. (This slipped
9545         in accidentally some time ago).  (#97860)
9546
9547 2003-03-26  Sven Neumann  <sven@gimp.org>
9548
9549         * gtk/gtktreeview.c: rewrote the function that does node and arrow
9550         prelighting, queue all redraws from here (Fixes bug #108792).
9551
9552 2003-03-20  Richard Kinder <r_kinder@yahoo.com>
9553
9554         * demos/testpixbuf.c (update_timeout): set error to NULL, not FALSE.
9555         Fixes bug #108778.
9556
9557 2003-03-20  Guntupalli Karunakar <karunakar@freedomink.org>
9558
9559         * configure.in: Added "ml" in ALL_LINGUAS
9560
9561 Sat Mar 15 18:49:27 2003  Manish Singh  <yosh@gimp.org>
9562
9563         * gtk/gtkradiomenuitem.h: use GTK_DISABLE_DEPRECATED instead of
9564         G_DISABLE_DEPRECATED.
9565
9566 2003-03-14  Tor Lillqvist  <tml@iki.fi>
9567
9568         * gdk/win32/gdkevents-win32.c: Use the signed GET_X_LPARAM() and
9569         GET_Y_LPARAM() to extract x and y coordinates from an LPARAM or
9570         DWORD, and not the unsigned HIWORD() and LOWORD(). Systems with
9571         multiple monitors can have negative coordinates on some of the
9572         monitors. (partial fix for #99496, Arnaud Charlet)
9573
9574 2003-03-15  Matthias Clasen  <maclas@gmx.de>
9575
9576         * gtk/gtktextview.c: Add a "buffer" property.  (#108353) 
9577
9578 2003-03-13  Sven Neumann  <sven@gimp.org>
9579
9580         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
9581         removed redundant calls to g_object_notify().
9582         (gtk_cell_renderer_pixbuf_get_size): removed redundant casts, see
9583         bug #108236.
9584
9585         * gtk/gtktextiter.c (_gtk_text_iter_get_segment_char)
9586         (_gtk_text_iter_get_segment_byte): return 0, not NULL (these
9587         functions return an integer value).
9588
9589 2003-03-13  Tor Lillqvist  <tml@iki.fi>
9590
9591         * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
9592         WM_MOUSEMOVE, the test whether we have actually moved (and thus
9593         shouldn't generate an GDK event) moved after the call to
9594         propagate() and translate_mouse_coords(). Otherwise we were
9595         testing wrong values. (#108115, Allin Cottrell)
9596         (gdk_event_translate): On WM_?BUTTONUP, set current_{x,y} the same
9597         way as in WM_?BUTTONDOWN and WM_MOUSEMOVE.
9598
9599         * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): if a grab cursor
9600         is used, must copy the HCURSOR with CopyCursor(), as it is OK to
9601         destroy the GdkCursor after calling gdk_pointer_grab(). Set the
9602         cursor right away with SetCursor(), as we won't get any
9603         WM_SETCURSOR messages while the mouse is captured. 
9604         (gdk_display_pointer_ungrab): Correspondingly, destroy the copy
9605         with DestroyCursor() when no longer used. (#108114, Allin Cottrell)
9606
9607         * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
9608         WM_SYSCHAR, return FALSE from the window procedure to prevent the
9609         DefWindowProc from being called. Otherwise Windows would beep,
9610         thinking you are tring to access a (nonexistent) menu when you
9611         press Alt-something. Don't do this for Alt-Space,
9612         though. (#107454, Martyn Russell)
9613
9614         * gdk/win32/gdkcursor-win32.c: Minor spacing and debug print fixes.
9615
9616 Tue Mar 11 12:01:07 2003  Jonathan Blandford  <jrb@gnome.org>
9617
9618         * gtk/gtktreeview.c (gtk_tree_view_class_init): Ctrl/Shift
9619         [left/right] expands/collapses the tree, #108092
9620
9621 2003-03-09  Tor Lillqvist  <tml@iki.fi>
9622
9623         * gdk/win32/gdkdrawable-win32.c (draw_segments): Don't try to
9624         compensate for LineTo() not drawing the end pixel. It causes more
9625         harm than benefits, see bug #81895.
9626
9627 2003-03-08  Matthias Clasen  <maclas@gmx.de>
9628
9629         Bug #107664 continued:
9630
9631         * gdk/x11/gdkinputprivate.h: 
9632         * gdk/x11/gdkinput-none.c (_gdk_input_window_none_event): Remove. 
9633         (_gdk_input_other_event): Return gboolean.
9634         * gdk/x11/gdkinput-xfree.c (_gdk_input_window_none_event): Remove. 
9635         (_gdk_input_other_event): Return gboolean.
9636         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event): Return gboolean.
9637
9638         * gdk/x11/gdkevents-x11.c (gdk_event_translate): Make return_val
9639         gboolean, remove pointless call to _gdk_input_window_none_event.
9640
9641         * gdk/win32/gdkinput-win32.[hc] (_gdk_input_other_event): Return gboolean.
9642         (_gdk_input_window_none_event): Remove.
9643
9644         * gtk/gtktextiter.c (_gtk_text_iter_get_indexable_segment): 
9645         (_gtk_text_iter_get_any_segment): 
9646         (_gtk_text_iter_get_segment_byte): 
9647         (_gtk_text_iter_get_segment_char): 
9648         (_gtk_text_iter_get_text_line): 
9649         (_gtk_text_iter_get_btree): Fix 0/NULL confusion.
9650         * gdk/x11/gdkdnd-x11.c (motif_target_table_check): Return gint.
9651         * gdk/win32/gdkfont-win32.c (gdk_font_equal): 
9652         * gdk/linux-fb/gdkwindow-fb.c (gdk_window_get_deskrelative_origin): 
9653         (gdk_window_get_origin): 
9654         * gdk/linux-fb/gdkcolor-fb.c (gdk_colors_alloc): Fix 0/FALSE confusion. 
9655
9656 2003-03-06  Matthias Clasen  <maclas@gmx.de>
9657
9658         * gdk/gdkrgb.c (gdk_rgb_try_colormap): Return gboolean, not gint.
9659         (#107664, Morten Welinder)
9660
9661         * gdk/x11/gdkwindow-x11.c (gdk_window_get_deskrelative_origin): 
9662         * gdk/x11/gdkfont-x11.c (gdk_font_equal): 
9663         * gdk/x11/gdkdnd-x11.c (gdk_drag_get_protocol_for_display): 
9664         Fix TRUE/1 and FALSE/0 confusion.  (#107664, Morten Welinder)
9665
9666         * gtk/gtktextmark.c (gtk_text_mark_get_buffer): 
9667         * gtk/gtkeditable.c (gtk_editable_get_chars): 
9668         * gtk/gtkctree.c (gtk_ctree_find_node_ptr): 
9669         * demos/gtk-demo/main.c (demo_find_file): Fix NULL/FALSE confusion
9670         (#107648, Morten Welinder)Fix NULL/FALSE confusion
9671         (#107648, Morten Welinder)
9672
9673 2003-03-04  Matthias Clasen  <maclas@gmx.de>
9674
9675         * gtk/gtkobject.h: Add deprecation guards for gtk_object_new ().
9676
9677 Sun Mar  2 23:35:57 2003  Jonathan Blandford  <jrb@gnome.org>
9678
9679         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
9680         handle rtl code.  Thanks to Matthias Clasen for an initial patch
9681         to handle the RTL code.
9682
9683         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size): ditto
9684
9685         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto
9686
9687         * gtk/gtktreeview.c: (invalidate_column),
9688         (invalidate_last_column),
9689         (gtk_tree_view_get_real_requested_width_from_column),
9690         (gtk_tree_view_size_allocate_columns),
9691         (gtk_tree_view_size_allocate), (gtk_tree_view_button_press),
9692         (gtk_tree_view_button_release_drag_column),
9693         (gtk_tree_view_update_current_reorder),
9694         (gtk_tree_view_motion_drag_column), (gtk_tree_view_bin_expose),
9695         (gtk_tree_view_key_press), (gtk_tree_view_header_focus),
9696         (gtk_tree_view_get_background_xrange),
9697         (gtk_tree_view_get_arrow_xrange),
9698         (gtk_tree_view_is_expander_column),
9699         (gtk_tree_view_set_column_drag_info),
9700         (gtk_tree_view_move_cursor_left_right):
9701         Add RTL support.
9702
9703         * gtk/gtktreeviewcolumn.h (struct _GtkTreeViewColumn): add an
9704         expand flag.
9705
9706         * gtk/gtktreeviewcolumn.c:
9707         (gtk_tree_view_column_class_init),
9708         (gtk_tree_view_column_set_property),
9709         (gtk_tree_view_column_get_property),
9710         (gtk_tree_view_column_set_expand),
9711         (gtk_tree_view_column_get_expand),
9712         (gtk_tree_view_column_cell_process_action):
9713         Add support for expand flag.  Thanks to Kristian Rietveld for an
9714         initial patch for this.
9715
9716 Fri Feb 28 02:06:17 2003  Jonathan Blandford  <jrb@gnome.org>
9717
9718
9719 2003-03-02  Tor Lillqvist  <tml@iki.fi>
9720
9721         * gdk/gdk.def
9722         * gtk/gtk.def: Add a bunch of missing entries. Noticed by Cedric
9723         Gustin.
9724
9725 2003-03-01  Matthias Clasen  <maclas@gmx.de>
9726
9727         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_vadjustment): 
9728         (gtk_scrolled_window_set_hadjustment): Replace uses of
9729         gtk_object_new by g_object_new.
9730
9731 Thu Feb 27 17:44:24 2003  Manish Singh  <yosh@gimp.org>
9732
9733         * demos/gtk-demo/main.c
9734         * demos/gtk-demo/tree_store.c
9735         * gdk/x11/gdkscreen-x11.c
9736         * gtk/gtkcellrenderertoggle.c
9737         * gtk/gtkcolorsel.c
9738         * gtk/gtkdnd.c
9739         * gtk/gtkeditable.c
9740         * gtk/gtkentry.c
9741         * gtk/gtkmenu.c
9742         * gtk/gtkmenubar.c
9743         * gtk/gtkmenuitem.c
9744         * gtk/gtkmenushell.c
9745         * gtk/gtkrc.c
9746         * gtk/gtksettings.c
9747         * gtk/gtkstyle.c
9748         * gtk/gtktextbuffer.c
9749         * gtk/gtktextview.c
9750         * gtk/gtktreeviewcolumn.c
9751         * tests/testgtk.c
9752         * tests/testtext.c
9753         * tests/testtreeedit.c
9754         * tests/testtreefocus.c
9755         * tests/testtreeview.c: remove unnecessary G_OBJECT() casts.
9756
9757 Tue Feb 25 21:55:17 2003  Jonathan Blandford  <jrb@redhat.com>
9758
9759         * gtk/gtkoptionmenu.c (gtk_option_menu_position): account for RTL
9760         code.
9761
9762 2003-02-24  Sven Neumann  <sven@gimp.org>
9763
9764         * gtk/gtkmain.c (gtk_get_default_language): fixed documentation.
9765
9766 2003-02-21  Tomas Ogren  <stric@ing.umu.se>
9767
9768         * docs/reference/gtk/tmpl/gtktreemodel.sgml: Fix typos in an example
9769
9770 2003-02-20  Matthias Clasen  <maclas@gmx.de>
9771
9772         * gtk/gtktextbtree.c (_gtk_text_line_previous_could_contain_tag): 
9773         Check if line_ancestor_parent is NULL.  (#102711, Manuel Clos)
9774
9775         * gtk/gtktextview.c (gtk_text_view_scroll_to_iter): 
9776         (gtk_text_view_update_adjustments): Make sure cursor stays visible
9777         during horizontal scrolling.  (#75270)
9778
9779 2003-02-19  Matthias Clasen  <maclas@gmx.de>
9780
9781         * tests/testdnd.c: Replace gtk_timeout_* by their GLib
9782         counterparts. (#106532)
9783
9784         * gdk/gdkkeys.c (gdk_keymap_class_init): Associate the
9785         keys_changed virtual function with the keys_changed signal.
9786         (#106512, Jeff Franks)
9787
9788 2003-02-15  Larry Ewing  <lewing@ximian.com>
9789
9790         * gdk/gdkevents.c (gdk_event_copy): copy the event axes as well.
9791
9792 2003-02-17  Mohammad DAMT  <mdamt@bisnisweb.com>
9793
9794         * po/id.po: Added Indonesian translation
9795         * configure.in: Added "id" to ALL_LINGUAS
9796
9797 2003-02-14  Matthias Clasen  <maclas@gmx.de>
9798
9799         * gtk/gtktextview.c (popup_targets_received): Remove bogus casts.
9800
9801 2003-02-12  Christian Rose  <menthos@menthos.com>
9802
9803         * configure.in: Added "yi" to ALL_LINGUAS.
9804
9805 2003-02-12  Matthias Clasen  <maclas@gmx.de>
9806
9807         Fix for #82734 and #78216:
9808         
9809         * gtk/gtktextview.c (delete_cb): 
9810         (select_all_cb): New callbacks for context menu items.
9811         (popup_targets_received): Add "Delete" and "Select All" to context
9812         menu, mnemonics and title caps for all items.
9813
9814         * gtk/gtkentry.c (gtk_entry_delete_cb): New callback for "Delete"
9815         context menu item.
9816         (popup_targets_received): Add "Delete" to context menu, mnemonics
9817         and title caps for all items.
9818
9819 2003-02-09  Tor Lillqvist  <tml@iki.fi>
9820
9821         * gtk/gtkfilesel.c (win32_gtk_add_drives_to_dir_list): Use
9822         GetDriveType() to recognize removable drives (in order to avoid
9823         hanging if trying to access an empty floppy drive), instead of
9824         hardcoding A: and B: (#105654).
9825
9826 2003-02-09  Matthias Clasen  <maclas@gmx.de>
9827
9828         * gtk/gtkwidget.c (gtk_widget_set_name): Add note about periods in 
9829         names.  (#57680)
9830
9831 2003-02-09  Christian Rose  <menthos@menthos.com>
9832
9833         * configure.in: Removed "en@IPA.po" from ALL_LINGUAS.
9834
9835 Fri Feb  7 04:49:46 2003  Tim Janik  <timj@gtk.org>
9836
9837         * gtk/gtkobject.c: remove quark_user_data usage in
9838         gtk_object_{g|s}et_user_data(). fixes get_user_data()
9839         returning NULL for user_data set through property interface.
9840
9841         * gtk/gtkitemfactory.c (gtk_item_factory_create_item): don't put out
9842         warnings if a pixbuf couldn't be retrieved, since (a) this doesn't
9843         need to be a programming error (in case of loaded data), (b) it breaks
9844         with 2.0 behaviour where extra magic could be used to create empty
9845         images. don't attempt to retrieve pixbufs from NULL extra_data.
9846
9847 2003-02-06  Matthias Clasen  <maclas@gmx.de>
9848
9849         * gdk/x11/gdkvisual-x11.c (gdk_visual_get_best_with_depth): Return
9850         a GdkVisual *, not a GdkVisual **.  (#105243)
9851
9852         * gtk/gtkclist.c: 
9853         * gtk/gtkctree.c: 
9854         * gtk/gtkcontainer.c: 
9855         * gtk/gtkdnd.c: 
9856         * gtk/gtkentry.c: 
9857         * gtk/gtklist.c:
9858         * gtk/gtkmenu.c:
9859         * gtk/gtkmenuitem.c:
9860         * gtk/gtknotebook.c:
9861         * gtk/gtkselection.c:
9862         * gtk/gtkspinbutton.c:
9863         * gtk/gtktext.c:
9864         * gtk/gtktextview.c:
9865         * gtk/gtktooltips.c:
9866         * gtk/gtktreeview.c:
9867         * gtk/gtkwindow.c: Replace uses of gtk_timeout_* and gtk_idle_* by
9868         their non-deprecated GLib counterparts.
9869         
9870         * gtk/gtkmain.h: Fully deprecate gtk_timeout_* and gtk_idle_*.
9871         
9872 Sun Feb  2 16:45:57 GMT 2003  Tony Gale <gale@gtk.org>
9873
9874         * docs/tutorial/gtk-tut.sgml: cleanups from
9875         Sebastian Rittau (#104832)
9876
9877 2003-02-01  Tor Lillqvist  <tml@iki.fi>
9878
9879         Merge from stable:
9880
9881         * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_foreign_new_for_display,
9882         gdk_pixmap_lookup, gdk_pixmap_lookup_for_display): Implement.
9883         (#104108, Naofumi Yasufuku)
9884
9885         * gdk/gdk.def: Export the above. Export
9886         gdk_screen_get_system_visual, noticed by Ed Woods.
9887
9888 Fri Jan 31 17:45:22 2003  Manish Singh  <yosh@gimp.org>
9889
9890         * demos/pixbuf-demo.c
9891         * demos/testpixbuf.c
9892         * demos/gtk-demo/pixbufs.c: remove deprecated gtk_timeout_* usage.
9893
9894 Fri Jan 31 17:33:00 2003  Manish Singh  <yosh@gimp.org>
9895                                                                                 
9896         * gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set_state
9897         on the tab_label before unparenting it, in case the unparent
9898         drops the refcount to 0.
9899
9900 2003-02-01  Matthias Clasen  <maclas@gmx.de>
9901
9902         * gtk/gtkiconfactory.h: Use GDK_MULTIHEAD_SAFE like all other gtk
9903         headers. Sorry about gtk_selection_clear, Yosh.
9904
9905 Thu Jan 30 17:16:05 2003  Manish Singh  <yosh@gimp.org>
9906
9907         * gtk/gtkselection.h: declare gtk_selection_clear in GTK_COMPILATION
9908         too, for gtkwidget.c. Remember people, when introducing new
9909         deprecations, make sure internal code isn't using it, or if so,
9910         reorganize appropriately like I've done in other places.
9911
9912         * tests/testtext.c: don't use deprecated gtk_timeout_* stuff.
9913
9914 2003-01-31  Matthias Clasen  <maclas@gmx.de>
9915
9916         * gtk/gtkselection.h: 
9917         * gtk/gtkselection.c (gtk_selection_clear): Deprecate.  (#85683)
9918
9919         * gdk/gdkpixbuf.h: 
9920         * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable): 
9921         (gdk_pixbuf_render_to_drawable_alpha): Deprecate.  (#60582)
9922
9923         * gtk/gtkcolorsel.h:
9924         * gtk/gtkcolorsel.c (gtk_color_selection_set_change_palette_hook):
9925         Deprecate.  (#98167)
9926
9927         * gtk/gtkpaned.h: Deprecate gtk_paned_computed_position(). (#97077)
9928
9929         * gtk/gtkmain.h: Deprecate the gtk_timeout_*, gtk_idle_*
9930         and gtk_input_* functions.  (#71596)
9931         
9932         * gtk/gtkentry.c (gtk_entry_move_cursor): 
9933         * gtk/gtklabel.c (gtk_label_move_cursor): Handle
9934         GTK_MOVEMENT_HORIZONTAL_PAGES in switches.
9935
9936         * gdk/gdk.h: Deprecate gdk_wcstombs() and gdk_mbstowcs().  (#79803)
9937
9938         * gtk/gtkitemfactory.h: 
9939         * gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Deprecate. 
9940         (#69244)
9941
9942 Thu Jan 30 23:48:30 2003  Kristian Rietveld  <kris@gtk.org>
9943
9944         * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_count_special_cell):
9945         only count the special cell if it is also visible,
9946         (_gtk_tree_view_column_get_neighbor_sizes): only take the width into
9947         account from visible cells,
9948         (gtk_tree_view_column_cell_get_position): likewise, (Reported and
9949         testcase provided by Vasco Alexandre da Silva Costa, via IRC,
9950         tracking bug was #104563).
9951         
9952 Thu Jan 30 23:46:15 2003  Kristian Rietveld  <kris@gtk.org>
9953
9954         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
9955         subtract expander space and focus line space from the extra space
9956         we are about the allocate. (Fixes #104635).
9957
9958 Thu Jan 30 23:42:03 2003  Kristian Rietveld  <kris@gtk.org>
9959
9960         * gtk/gtkstyle.c (apply_affine_on_point): fix rouding error
9961         (Fixes #96242, patch from Soeren Sandmann).
9962
9963 Thu Jan 30 16:54:29 2003  Owen Taylor  <otaylor@redhat.com>
9964
9965         * gtk/gtknotebook.c: Patch from Soeren Sandmann
9966         to update the states of the tab label child
9967         widgets to match the state of the tabs. 
9968         (#93389, Reported by Tommi Komulainen)
9969
9970 Thu Jan 30 16:30:54 2003  Owen Taylor  <otaylor@redhat.com>
9971
9972         * Makefile.am (EXTRA_DIST): Remove gtk+.spec.in from
9973         EXTRA_DIST, and from dist rules. (#102231)
9974
9975 2003-01-30  Daniel Elstner  <daniel.elstner@gmx.net>
9976
9977         * gtk/gtktoolbar.c (set_child_packing_and_visibility): New helper
9978         function that sets the icon's and label's packing options and
9979         visibility based on toolbar->style.
9980
9981         (gtk_toolbar_internal_insert_element):
9982         (gtk_real_toolbar_style_changed): Make use of
9983         set_child_packing_and_visibility() to clean up the code and get
9984         the packing right for icon-only/text-only toolbars. (#104679)
9985
9986         (get_first_child): Remove, and use gtk_bin_get_child() instead.
9987
9988 2003-01-30  Matthias Clasen  <maclas@gmx.de>
9989
9990         * gtk/gtktextview.c: Replace PAGE_HORIZONTALLY_HACK_VALUE by
9991         GTK_MOVEMENT_HORIZONTAL_PAGES.  (#68947)
9992
9993         * gtk/gtkenums.h: Add GTK_MOVEMENT_HORIZONTAL_PAGES to GtkMovementStep.
9994         
9995 Thu Jan 30 16:01:29 2003  Owen Taylor  <otaylor@redhat.com>
9996
9997         * gdk/gdkrgb.c (gdk_rgb_try_colormap): Remove the 
9998         attempt-to-allocate then free code. To handle multiple
9999         people allocating colors at the same time, we need
10000         to just go ahead and try. (#102213, Shivram U)
10001         
10002 2003-01-30  Daniel Elstner  <daniel.elstner@gmx.net>
10003
10004         * gtk/gtkcolorsel.c (palette_paint): Explicitely draw an opaque
10005         rectangle using the background color rather than relying on
10006         gdk_window_clear_area(), so that the palette works properly with
10007         pixmap themes. (#101732)
10008
10009         * demos/gtk-demo/colorsel.c: Install an "expose_event" handler
10010         to fill the drawing area in the background color.
10011
10012 Wed Jan 29 14:11:21 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
10013
10014         * modules/input/gtkimcontextxim.c (choose_better_style): fix a memory
10015         initialization error for selecting input style (#103549).
10016
10017 Wed Jan 29 17:02:41 2003  Owen Taylor  <otaylor@redhat.com>
10018
10019         * gdk/gdkkeyuni.c (get_decimal_char): Make the 
10020         translation of GDK_KP_Decimal dependent on LC_NUMERIC.
10021         (#101225)
10022
10023 Wed Jan 29 15:43:56 2003  Owen Taylor  <otaylor@redhat.com>
10024
10025         * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current):
10026         Make up from the menu bar go to the end of the submenu.
10027         (#96114, Ian Peters.)
10028
10029         * gtk/gtkmenuitem.c (gtk_menu_item_mnemonic_activate): 
10030         Only do the select-but-not-activate stuff if the
10031         menu is already active. Otherwise, just activate.
10032         (#101690, Arvind Samptur)
10033
10034 Tue Jan 28 15:18:24 2003  Owen Taylor  <otaylor@redhat.com>
10035
10036         * autogen.sh (have_automake): Fix version in complaint
10037         message about automake. (#104366, Rich Burridge)
10038
10039 Mon Jan 27 16:38:13 2003  Owen Taylor  <otaylor@redhat.com>
10040
10041         * configure.in: Remove SOEXT stuff; it doesn't work portably.
10042
10043 Mon Jan 27 22:45:15 2003  Kristian Rietveld  <kris@gtk.org>
10044
10045         * gtk/gtktreestore.c (gtk_tree_store_move): don't handle b if
10046         we appended/prepended, send the rows_reordered signal to the 
10047         correct level ... (Reported by Matthew Tuck).
10048
10049 Mon Jan 27 22:43:11 2003  Kristian Rietveld  <kris@gtk.org>
10050
10051         * gtk/gtktreestore.c (gtk_tree_store_sort_helper): don't just bail
10052         out if the level only has one item, recurse over the child if there
10053         is one. (Fixes #100458, reported by Gaël Le Mignot).
10054
10055 Mon Jan 27 22:41:26 2003  Kristian Rietveld  <kris@gtk.org>
10056
10057         * gtk/gtktreeview.c (gtk_tree_view_set_model),
10058         (gtk_tree_view_search_equal_func): make TreeView search handle
10059         all types which are transformable by GValue. (Fixes #99803, reported
10060         by Muktha Narayan).
10061
10062 Mon Jan 27 22:39:25 2003  Kristian Rietveld  <kris@gtk.org>
10063
10064         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_sort_column_id):
10065         *really* handle unsetting the ID. Slightly modified patch from
10066         Soeren Sandmann. Fixes #87556, reported by Jarek Dukat.
10067
10068 Mon Jan 27 22:33:43 2003  Kristian Rietveld  <kris@gtk.org>
10069
10070         Fixes the total GtkTreeSortable mess, and #83195, reported by
10071         Jarek Dukat
10072
10073         * gtk/gtktreestore.c (gtk_tree_store_get_sort_column_id),
10074         (gtk_tree_store_set_sort_column_id), (gtk_tree_store_set_sort_func),
10075         (gtk_tree_store_set_default_sort_func): use the constant
10076         GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID instead of -1, make functions
10077         work as advertised by the documentation.
10078
10079         * gtk/gtklistore.c (gtk_list_store_get_sort_column_id),
10080         (gtk_list_store_set_sort_column_id), (gtk_list_store_set_sort_func),
10081         (gtk_list_store_set_default_sort_func): likewise.
10082
10083         * gtk/gtktreemodelsort.c (gtk_tree_model_set_sort_column_id),
10084         (gtk_tree_model_set_sort_func),
10085         (gtk_tree_model_sort_set_default_sort_func): make functions work
10086         as advertised by the documentation.
10087
10088 Mon Jan 27 22:31:56 2003  Kristian Rietveld  <kris@gtk.org>
10089
10090         * gtk/gtktreeview.c (gtk_tree_view_button_press): update focus_column
10091         before we decide if we edit. (fixes #100973, reported by Dave Cook).
10092
10093 Mon Jan 27 22:29:30 2003  Kristian Rietveld  <kris@gtk.org>
10094
10095         Bug report and test case from Paolo Maggi via IRC.
10096
10097         * gtk/gtkliststore.c (gtk_list_store_swap): update tail if needed,
10098         (gtk_list_store_move): update tail if needed.
10099
10100 Mon Jan 27 16:19:59 2003  Owen Taylor  <otaylor@redhat.com>
10101
10102         * gtk/gtksocket.c (gtk_socket_filter_func): event->any.window
10103         might be NULL. Use gtk_widget_get_display (widget) 
10104         (#102860, Thomas Leonard)
10105
10106 Mon Jan 27 15:58:31 2003  Owen Taylor  <otaylor@redhat.com>
10107
10108         * configure.in: Fix --without-modules/--disable-modules
10109         confusion that was causing --disable-modules not to work.
10110         (#102865, Akira Tagoh)
10111
10112         * configure.in: Fix problem with plain --with-xinput
10113         (#104266, Akira Tagoh)
10114
10115 2003-01-24  Sebastian Rittau  <srittau@jroger.in-berlin.de>
10116
10117         * docs/tutorial/gtk-tut.sgml: Fix a few typos, introduced by my last
10118         patch.
10119
10120 Fri Jan 24 17:06:41 GMT 2003  Tony Gale <gale@gtk.org>
10121
10122         * docs/tutorial/gtk-tut.sgml: Remove duplicate copy of tictactoe.h
10123
10124 Thu Jan 23 21:15:29 GMT 2003  Tony Gale <gale@gtk.org>
10125
10126         * docs/faq/gtk-faq.sgml: Learn to spell Library
10127
10128 Thu Jan 23 20:56:56 GMT 2003  Tony Gale <gale@gtk.org>
10129         * Sebastian Rittau  <srittau@jroger.in-berlin.de>:
10130
10131            docs/tutorial/gtk-tut.sgml: Adopted chapter 21.3 "Creating a
10132            Composite widget" to modern standards. (I.e. use gobject instead of
10133            glib, derive from GtkTable instead of GtkVBox.) Bugzilla #103869.
10134
10135         * docs/tutorial/gtk-tut.sgml, examples/tictactoe: Fixup tic-tac-toe
10136         code in Appendix C to reflect above changes.
10137
10138         * examples/rangewidgets/rangewidgets.c: From Roger Leigh
10139         auto resize on page size change
10140
10141 2003-01-23  Daniel Elstner  <daniel.elstner@gmx.net>
10142
10143         * gtk/gtktoolbar.c (gtk_toolbar_hide_all): Override hide_all
10144         in addition to show_all in order to keep them symmetric. (#102201)
10145
10146 Wed Jan 22 14:18:46 2003  Manish Singh  <yosh@gimp.org>
10147
10148         * gdk/x11/gdkevents-x11.c (translate_key_event): add a "return" at
10149         the end of the function, so there is a statement following the "out"
10150         label in all cases (fixes #101961)
10151
10152 2003-01-22  Christian Rose  <menthos@menthos.com>
10153
10154         * configure.in: Added "mn" to ALL_LINGUAS.
10155
10156 Wed Jan 15 17:02:18 2003  Owen Taylor  <otaylor@redhat.com>
10157  
10158         * gtk/gtktextlayout.c (gtk_text_layout_validate_yrange):
10159         Fix off-by-one error on the backward iteration loop,
10160         that was causing the wrong range to be redrawn.
10161         (at least part of #72734)
10162         
10163 2003-01-21  Matthias Clasen  <maclas@gmx.de>
10164
10165         * gtk/gtktextview.c (gtk_text_view_size_allocate): Adjust the
10166         vadjustment value after changing its bounds.  (fixes #101963 and 
10167         #73562)
10168
10169         * gtk/gtkcolorsel.c (hex_changed): Fix clamping to [0,1] to avoid 
10170         unnecessary roundtrip failures.  (#93500)
10171
10172 2003-01-19  Tor Lillqvist  <tml@iki.fi>
10173
10174         Merge from stable:
10175         
10176         Fix for #103614 and some other problems with GtkFileSelection on
10177         Windows:
10178                 
10179         * gtk/fnmatch.c (get_char): Need to use g_unichar_tolower(), not
10180         g_ascii_tolower(). Windows file names are case-insensitive for all
10181         Unicode letters.
10182
10183         * gtk/gtkfilesel.c: Instead of checking for G_OS_WIN32 or
10184         G_WITH_CYGWIN, check G_PLATFORM_WIN32. Move inclusion of gtkintl.h
10185         earlier, as it includes config.h unconditionally, and gtkprivate.h
10186         redefines GTK_LOCALEDIR.
10187         (struct _CompletionDirSent): Ifdef out the fields not used on
10188         Windows.
10189         (compare_utf8_filenames, compare_sys_filenames): Need different
10190         comparison implementation for UTF-8 file names and system locale
10191         file names on Win32. Cannot simply use g_ascii_strcasecmp(), but
10192         need to casefold all Unicode letters.
10193         (cmpl_completion_matches, open_dir, correct_parent): Ifdef out
10194         variables not used on Win32 to avoid warnings about unused
10195         variables.
10196         (open_ref_dir): Use g_path_skip_root() to skip past potential
10197         drive letter in front of the leading (back)slash.
10198         (open_new_dir): Ifdef out use of CompletionDirSent fields not
10199         there on Win32.
10200         (correct_parent): Bypass inode check also on Cygwin.
10201
10202         Fix bug noticed by Alex Shaduri: Tooltips and other
10203         GDK_WINDOW_TEMP windows were activated. This looked very odd, and
10204         was a regression from earlier versions.
10205         
10206         * gdk/win32/gdkwindow-win32.c (show_window_internal): Fine-tune
10207         behaviour. Don't ever activate GDK_WINDOW_TEMP windows.
10208         (gdk_window_move, gdk_window_resize): Add debug logging.
10209
10210         * gdk/win32/gdkevents-win32.c (gdk_event_translate): When we get a
10211         WM_SIZE message for a non-visible (withdrawn) window, don't clear
10212         the GDK_WINDOW_STATE_WITHDRAWN bit. The window is still withdrawn
10213         even if its size changes.
10214
10215 2003-01-16  Matthias Clasen  <maclas@gmx.de>
10216
10217         * gtk/gtktextlayout.c (gtk_text_layout_get_cursor_locations): Typo fixes.
10218         (totally_invisible_line): Fix an incorrect optimization which
10219         caused invisible paragraphs to be occasionally misrendered.
10220
10221 Wed Jan 15 15:55:47 2003  Owen Taylor  <otaylor@redhat.com>
10222
10223         * gtk/gtksettings.c: Set the double click speed from
10224         XSETTINGS when creating a new GtkSettings object
10225         as well as when getting a notify. (#103601, reported
10226         by Louis Garcia)
10227
10228 Wed Jan 15 14:56:09 2003  Owen Taylor  <otaylor@redhat.com>
10229  
10230         * gtk/gtknotebook.c (gtk_notebook_size_allocate): 
10231         Show/hide the notebook event window as necessary,
10232         we weren't previously keeping the visibility updated
10233         properly.  (#103599)
10234  
10235 2003-01-15  Matthias Clasen  <maclas@gmx.de>
10236
10237         * examples/menu/itemfactory.c: 
10238         * docs/tutorial/gtk-tut.sgml: Add a <StockItem> to the itemfactory
10239         example.  (#103211)
10240
10241 2002-12-29  Murray Cumming  <murrayc@usa.net>
10242
10243         Fixes #102168.
10244
10245         * gtk/gtkliststore.c, gtktreednd.c, gtktreestore.c:
10246         Actually implement the GtkTreeDragSource::row_draggable virtual 
10247         function in GtkListStore and GtkTreeStore instead of just checking 
10248         whether it's implemented at all. This means that DnD isn't broken by
10249         gtkmm's virtual function wrappers. The alternative would be to
10250         hard-code the TRUE return value into gtkmm's wrappers, but that's 
10251         part of GTK+'s implementation, not it's API.
10252
10253 Tue Jan 14 23:42:29 2003  Kristian Rietveld  <kris@gtk.org>
10254
10255         * gtk/gtktreeview.c: fix compiler warning.
10256
10257 Tue Jan 14 23:29:00 2003  Kristian Rietveld  <kris@gtk.org>
10258
10259         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render):
10260         make sure exposed pixbufs are clipped to the exposed area before
10261         drawing, which is a slight speedup. (#102379, patch from Soeren
10262         Sandmann).
10263
10264 Tue Jan 14 23:26:41 2003  Kristian Rietveld  <kris@gtk.org>
10265
10266         * gtk/gtktreeview.c (validate_visible_area): silly typo fix,
10267         only free scroll_to_path when the complete tree has been validated.
10268         This makes sure that we scrolled to the correct path.
10269
10270 Tue Jan 14 23:25:32 2003  Kristian Rietveld  <kris@gtk.org>
10271
10272         * gtk/gtktreeview.c (gtk_tree_view_style_set): update the
10273         background of widget->window and bin->window. (Fixes #96650, reported
10274         by Dave Camp).
10275
10276 Tue Jan 14 23:24:02 2003  Kristian Rietveld  <kris@gtk.org>
10277
10278         * gtk/gtktreeview.c (gtk_tree_view_clamp_node_visible): process
10279         updates before scrolling, avoiding a "selection streak". (Fixes
10280         #101235, patch from Soeren Sandmann).
10281
10282 Tue Jan 14 23:22:13 2003  Kristian Rietveld  <kris@gtk.org>
10283
10284         * gtk/gtktreeview.c (validate_visible_area): actually put values
10285         in the requisition using gtk_widget_size_request. (Fixes #100172,
10286         reported by Kjartan Maraas).
10287
10288 Tue Jan 14 23:19:45 2003  Kristian Rietveld  <kris@gtk.org>
10289
10290         * gtk/gtktreeview.c (gtk_tree_view_rows_reordered): cancel the
10291         arrow animation timeout before we actually reorder the rbtree. If
10292         we don't do this we can get stuck arrows,
10293         (cancel_arrow_animation): new function. (Fixes #93629, part 2,
10294         reported and testcase provided by Hans Petter Jansson).
10295
10296 Tue Jan 14 23:18:21 2003  Kristian Rietveld  <kris@gtk.org>
10297
10298         * gtk/gtktreeselection.c (gtk_tree_selection_real_modify_range):
10299         anchor_path should be start_path, not end_path. (Fixes #102618,
10300         patch from Carlos Garnacho Parro).
10301
10302 Tue Jan 14 23:16:15 2003  Kristian Rietveld  <kris@gtk.org>
10303
10304         * gtk/gtkliststore.c (gtk_list_store_move): also update the tail,
10305         only correct new_pos if we don't move to the head/tail.
10306
10307 Tue Jan 14 23:11:55 2003  Kristian Rietveld  <kris@gtk.org>
10308
10309         * gtk/gtktreestore.c (gtk_tree_store_swap): take the path from
10310         the parent_iter if depth >= 1, so we send the reordered signal to
10311         the correct level, remove debugging printfs which I forgot the remove
10312         earlier (2.2.0 shipped with this, oops). (Fixes #103198, Reported and
10313         testcase provided by Matthew Tuck).
10314
10315 Tue Jan 14 20:58:44 2003  Kristian Rietveld  <kris@gtk.org>
10316
10317         * gtk/gtktreeview.c (invalite_last_column): split out actual column
10318         invalidation into invalidate_column(),
10319         (gtk_tree_view_size_allocate_columns): invalidate column if the
10320         new width is larger than the old width.
10321         (fixes #102890, reported by Alex Duggan).
10322
10323 2003-01-14  Matthias Clasen  <maclas@gmx.de>
10324
10325         * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Skip
10326         invisible chars for GTK_MOVEMENT_LOGICAL_POSITIONS and
10327         GTK_MOVEMENT_WORDS.
10328
10329         * gtk/gtktextiter.c,
10330         gtk/gtktextiter.h: Add some variant movement functions which
10331         skip invisible chars, and do some cleanups.
10332
10333 2003-01-12  Tor Lillqvist  <tml@iki.fi>
10334
10335         Merge from stable:
10336                 
10337         * gtk/gtkmain.c: Move inclusion of config.h and gtkintl.h earlier,
10338         as gtkprivate.h redefines GTK_LOCALEDIR on Win32, for run-time
10339         lookup.
10340
10341         * gdk/Makefile.am (libgdk_win32_2_0_la_DEPENDENCIES): Depend on
10342         gdk.def.
10343
10344         * gdk/gdk.def
10345         * gtk/gtk.def: Add some missing entries. Thanks to Kenichi SUTO.
10346
10347         * gtk-zip.sh.in (DEVZIP): Add bin/{gtk-query-immodules-2.0,
10348         gtk-demo}.exe and share/gtk-2.0.
10349
10350         * gdk/win32/gdkwindow-win32.c (gdk_window_set_skip_taskbar_hint):
10351         Implement by setting or clearing the WS_EX_TOOLWINDOW extended
10352         window style.
10353         (gdk_window_set_type_hint): Add all cases to the switch (not all
10354         do anything, though). Handle GDK_WINDOW_TYPE_HINT_TOOLBAR by
10355         calling gdk_window_set_skip_taskbar_hint(). This means that GTK
10356         won't know that the skip_taskbar hint is on for the window, is
10357         this bad?
10358
10359 Wed Jan  8 18:43:03 2003  Manish Singh  <yosh@gimp.org>
10360
10361         * gdk/x11/gdkdisplay-x11.c: #include <stdlib.h> for putenv,
10362         <string.h> for strlen.
10363
10364         * gdk/x11/gdkscreen-x11.c: #include <stdlib.h> for getenv,
10365         <string.h> for strrchr.
10366
10367         * tests/testgtk.c (create_saved_position): "x" and "y" properties
10368         for widgets no longer exist, use gtk_window_move instead.
10369
10370         * test/testtextbuffer.c (check_get_set_text): cast strlen to
10371         int for g_error.
10372
10373 2003-01-08  Matthias Clasen  <maclas@gmx.de>
10374
10375         * gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix display of
10376         the selection in the presence of invisible segments.
10377
10378 2003-01-07  Matthias Clasen  <maclas@gmx.de>
10379
10380         * gtk/gtktextview.c (gtk_text_view_class_init): Bind C-/ and C-\
10381         to "select all" and "unselect all".  (#102065)
10382
10383         * gtk/gtktextview.h (struct _GtkTextView): Add a comment that
10384         the just_selected_element is unused.
10385
10386         * gtk/gtktextview.c (extend_selection): New helper function to
10387         find the range that should be added to the selection. 
10388         (selection_motion_event_handler): 
10389         (gtk_text_view_start_selection_drag): 
10390         (gtk_text_view_end_selection_drag): 
10391         (selection_motion_event_handler): 
10392         (selection_scan_timeout): Support select-by-words/lines.
10393         (gtk_text_view_button_press_event): Start a selection drag on
10394         double/triple clicks.  (#78499)
10395
10396 2003-01-06  Matthias Clasen  <maclas@gmx.de>
10397
10398         Implement a utility function proposed in #102534:
10399         
10400         * gtk/gtktextbtree.h: 
10401         * gtk/gtktextbtree.c (_gtk_text_btree_select_range): New function.
10402         (_gtk_text_btree_place_cursor): Now a simple wrapper around
10403         _gtk_text_btree_select_range().   
10404
10405         * gtk/gtktextbuffer.h: 
10406         * gtk/gtktextbuffer.c (gtk_text_buffer_select_range): New function.
10407         (gtk_text_buffer_place_cursor): Now a simple wrapper around
10408         gtk_text_buffer_select_range(). 
10409
10410 2003-01-05  Havoc Pennington  <hp@pobox.com>
10411
10412         * configure.in: fix a stray bracket that was breaking the build
10413
10414 2003-01-05  Tor Lillqvist  <tml@iki.fi>
10415
10416         * gtk-zip.sh.in: Use correct DLL and import library names, with
10417         GTK_API_VERSION in name, not GTK_MAJOR_VERSION.GTK_MINOR_VERSION.
10418         (DEVZIP): Add gdk-pixbuf-query-loaders.exe.
10419
10420         * configure.in: Improve check for dimm.h.
10421
10422         * configure.in: Set SOEXT to 'so' on Unix, 'dll' on Win32. Used in
10423         gdk-pixbuf/Makefile.am.
10424
10425         * gdk-pixbuf/makefile.mingw.in
10426         * gdk-pixbuf/pixops/makefile.mingw.in
10427         * gdk/makefile.mingw.in
10428         * gdk/win32/makefile.mingw.in
10429         * gtk/makefile.mingw.in: Remove. Not maintained anyway.
10430
10431         * gdk-pixbuf/Makefile.am
10432         * gdk-pixbuf/pixops/Makefile.am
10433         * gdk/Makefile.am
10434         * gdk/win32/Makefile.am
10435         * gtk/Makefile.am
10436         * configure.in: Remove makefile.mingw{,.in} from here, too.
10437         
10438         * README.win32: Updates. Don't mention the now removed
10439         makefile.mingw files.
10440
10441         * gdk/gdk.def
10442         * gtk/gtk.def: Add a couple of missing entries.
10443
10444         * gdk/gdkkeynames.c: Include <string.h> for strcmp() and memcpy().
10445
10446         * gdk/win32/gdkevents-win32.c: Move dimm.h header clash workaround
10447         earlier.
10448
10449         * gdk/win32/rc/Makefile.am: Add hack to help
10450         build/win32/lt-compile-resource decide which kind of libtool
10451         object file to produce.
10452
10453 2003-01-05  Matthias Clasen  <maclas@gmx.de>
10454
10455         * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Make
10456         C-Down step through the sequence of paragraph ends (old behaviour
10457         included paragraph starts).  (#80340, patch by Narayana Pattipati)
10458
10459         * gtk/gtktextiter.c (_gtk_text_btree_get_iter_at_first_toggle):
10460         Check for a tag toggle at the start iterator before calling
10461         gtk_text_iter_forward_to_tag_toggle().  (#102090, patch by Daniel 
10462         Elstner)
10463
10464 2003-01-04  Matthias Clasen  <maclas@gmx.de>
10465
10466         * gtk/gtkfilesel.h (struct _GtkFileSelection): Add /*< public >*/
10467         and /*< private >*/ as appropriate.  (#97211)
10468
10469 2003-01-04  Tor Lillqvist  <tml@iki.fi>
10470
10471         * Makefile.am (EXTRA_DIST): Don't distribute gtk-zip.sh, but do
10472         distribute gtk-zip.sh.in.
10473
10474         * gtk-zip.sh.in (DEVZIP): Add gdk-pixbuf-csource.exe and .1.
10475
10476 2003-01-03  Havoc Pennington  <hp@pobox.com>
10477
10478         * docs/Makefile.am (EXTRA_DIST): put it in EXTRA_DIST
10479
10480         * docs/text_widget_internals.txt: add a file documenting some of
10481         the text widget internals
10482
10483 2003-01-02  Matthias Clasen  <maclas@gmx.de>
10484
10485         * gtk/gtkwindow.c (gtk_window_get_focus): Document that it may
10486         return NULL.  (#102069)
10487
10488 2003-01-01  Matthias Clasen  <maclas@gmx.de>
10489
10490         * gtk/fnmatch.c (FNMATCH_TEST_CASES): #undef, since having
10491         a main() in the library is obviously bad. 
10492
10493 2002-12-27  Matthias Clasen  <maclas@gmx.de>
10494
10495         * gtk/gtktextview.c (gtk_text_view_drag_data_received): Place the
10496         cursor at drop point.  (#72384)
10497         (gtk_text_view_size_allocate): Update the horizontal adjustment
10498         value.  (#75694)
10499
10500 2002-12-25  Matthias Clasen  <maclas@gmx.de>
10501
10502         * gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix highlighting of
10503         selection wrt. to empty lines.  (#90435, #90582, #91619)
10504
10505         * gtk/gtktextview.c (gtk_text_view_preedit_changed_handler):
10506         Keep the cursor on screen.  (#96929)
10507
10508 2002-12-24  Matthias Clasen  <maclas@gmx.de>
10509
10510         * gtk/gtktextbuffer.c (paste_from_buffer): 
10511         (clipboard_text_received): Let the user action span the insertion
10512         and the deletion of the old selection.  (#82844)
10513
10514 2002-12-23  Matthias Clasen  <maclas@gmx.de>
10515
10516         * gtk/gtktextiter.c (gtk_text_iter_backward_sentence_starts):
10517         Don't call gtk_text_iter_backward_sentence_start() if
10518         count is zero.  (#99115)
10519
10520         * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Call
10521         move_cursor() even if the cursor hasn't moved, since it has the
10522         side effect of canceling the selection.  (#81395, #98537, #98333)
10523
10524 2002-12-22  Matthias Clasen  <maclas@gmx.de>
10525
10526         * gtk/gtktextlayout.c (add_preedit_attrs): Don't add attributes
10527         with empty ranges.  (fixes #101564 and #80637)
10528
10529 2002-12-21  Tor Lillqvist  <tml@iki.fi>
10530
10531         * gdk/win32/gdkwindow-win32.c (gdk_window_new): Move the code that
10532         sets the window style and extended window style, and adjusts the
10533         width and height to take the window decorations into account
10534         earlier. The adjusted width and height used to be ignored. Remove
10535         the local x, y, width and height variables, no need to further
10536         confuse the code by having local copies. (Partial fix, I hope, for
10537         #101588)
10538
10539         (gdk_window_move): When moving top-level windows, take title bar
10540         and border width into account, offsetting the coordinates before
10541         calling SetWindowPos().
10542
10543         (gdk_window_set_decorations, gdk_window_set_functions):
10544         Reimplement, taking into account the peculiar semantics of
10545         GDK_DECOR_ALL and GDK_FUNC_ALL. (#79036)
10546
10547         (gdk_window_get_decorations): Implement. (#98981)
10548         
10549         (gdk_window_set_type_hint): When setting
10550         GDK_WINDOW_TYPE_HINT_MENU, call gdk_window_set_decorations().
10551         (#79036)
10552
10553         * gdk/gdk.def: Add gdk_window_get_decorations. (#98981)
10554
10555 2002-12-21  Matthias Clasen  <maclas@gmx.de>
10556
10557         * gtk/gtktextview.c (gtk_text_view_set_background): New static
10558         function to set the background of all windows.
10559         (gtk_text_view_style_set): Use gtk_text_view_set_background().
10560         (gtk_text_view_state_changed): New function; change background
10561         according to state.  (#88126)
10562
10563 2002-12-21  Havoc Pennington  <hp@pobox.com>
10564
10565         * gtk/gtktextview.c (gtk_text_view_move_visually): fix the documentation
10566