]> Pileus Git - ~andy/gtk/blob - ChangeLog.pre-2-4
0af7fb4ecdc38cc0207e25192a8239c658c28fc0
[~andy/gtk] / ChangeLog.pre-2-4
1 2004-03-14  Morten Welinder  <terra@gnome.org>
2
3         * gtk/gtkfilechooserdefault.c (error_dialog): Don't crash on NULL
4         path; don't crash on NULL error.
5
6 2004-03-14  Hans Breuer  <hans@breuer.org>
7
8         gtk/gtkcombobox.c : prototype cell_view_sync_cells() before 
9         first usage
10
11         gtk/makefile.msc.in : updated 'gtk_public_h_sources'
12
13         tests/makefile.msc : added testspinbutton
14
15 Sun Mar 14 01:01:18 2004  Matthias Clasen  <maclas@gmx.de>
16
17         * gtk/gtkcellview.c (gtk_cell_view_set_cell_data): Align
18         this function with gtk_tree_view_column_set_cell_data();
19         call the cell data func after setting the attributes.
20
21 Sun Mar 14 01:00:08 2004  Matthias Clasen  <maclas@gmx.de>
22
23         * gtk/gtkcellview.c (gtk_cell_view_expose): One more try;
24         make sure not to call gtk_cell_view_set_cell_data() when
25         displayed_row is NULL.
26
27 Sat Mar 13 18:13:13 2004  Owen Taylor  <otaylor@redhat.com>
28
29         * gtk/gtktextlayout.c (gtk_text_layout_get_line_display): When not
30         wrapping, do the offset of the line for justification ourselves.
31         (#120256, Felipe Heidrich)
32
33 Sun Mar 14 00:03:18 2004  Matthias Clasen  <maclas@gmx.de>
34
35         * gtk/gtkcellview.c (gtk_cell_view_expose): Support the
36         model-less use of GtkCellView shown in testcombo.c.
37
38 2004-03-13  Tor Lillqvist  <tml@iki.fi>
39
40         * gdk/win32/gdkdisplay-win32.c: Don't undefine HAVE_MONITOR_INFO
41         when compiling with gcc. Mingw's headers do have the required
42         definitions.
43
44         * gdk/win32/gdkdrawable-win32.c (draw_polygon): When drawing
45         filled polygons, don't draw the outline, similarily as
46         draw_rectangle(). Apparently GTK and GIMP don't use
47         gdk_draw_polygon() much (or always draw the outline, too), as this
48         has gone undetected for so long. Thanks to Bruce Hochstetler.
49
50 Sat Mar 13 15:19:17 2004  Owen Taylor  <otaylor@redhat.com>
51
52         * gtk/gtkwindow.c (gtk_window_destroy): Remove
53         the window from the toplevel_list here rather in destroy.
54         While this is theoretically speaking wrong, it fits
55         in better with the current reality that destroyed
56         widgets are not reusable. (#126808, Michael Natterer)
57
58 Sat Mar 13 21:47:47 2004  Matthias Clasen  <maclas@gmx.de>
59
60         * gtk/gtkcellview.c (gtk_cell_view_expose): Don't do anything
61         beyond clearing to the background if there is no active row.
62         (#137066, reported by Owen Taylor)
63
64 Sat Mar 13 21:37:44 2004  Matthias Clasen  <maclas@gmx.de>
65
66         * gtk/gtkcombobox.c (gtk_combo_box_list_key_press): Pop down the
67         list when an item is selected via the keyboard.
68
69 2004-03-13  Anders Carlsson  <andersca@gnome.org>
70
71         * gtk/gtkfilesystemunix.c: (remove_trailing_slash),
72         (gtk_file_system_unix_get_folder),
73         (gtk_file_system_unix_create_folder), (get_parent_dir),
74         (gtk_file_system_unix_get_parent), (gtk_file_folder_unix_get_info):
75         Remove trailing slashes in path names.
76         
77 Sat Mar 13 12:17:16 2004  Owen Taylor  <otaylor@redhat.com>
78
79         * gdk/x11/gdkwindow-x11.c (gdk_window_reparent): Make
80         this a total no-op when the new or old parent is
81         destroyed. (#134230, patch from Soeren Sandmann)
82
83         * gdk/gdkwindow.c (_gdk_window_destroy_hierarchy):
84         For foreign windows in our heirarchy, call
85         _gdk_windowing_window_destroy_foreign (window) and skip
86         all the normal destruction logic.
87
88         * gdk/x11/gdkwindow-x11.c gdk/win32/gdkwindow-win32.c:
89         Move code to request destruction of a foreign window
90         code into a separate _gdk_windowing_window_destroy_foreign().
91
92         * gdk/x11/gdkwindow-x11.c (gdk_window_impl_x11_finalize):
93         Call GDK_WINDOW_DISPLAY() on the wrapper not on the
94         impl. (Also from Soeren's patch)
95
96 Sat Mar 13 10:49:46 2004  Owen Taylor  <otaylor@redhat.com>
97
98         * gtk/gtkdnd.c (_gtk_drag_dest_handle_event): For
99         GTK_IS_PLUG toplevels, call gdk_window_get_origin() 
100         not gtk_window_get_position, as a hackround for not
101         having accurate notification of window position for
102         embedded windows. (#136112, Dan Winship)
103
104 Sat Mar 13 10:34:03 2004  Owen Taylor  <otaylor@redhat.com>
105
106         * gtk/gtktextview.c gtk/gtktextbuffer.c: Revert last change;
107         it causes problems for pastes from other applications; see
108         comments in bugzilla for #81880.
109
110 Sat Mar 13 02:55:51 2004  Matthias Clasen  <maclas@gmx.de>
111
112         Fix middle button pasting in the TextView  (#81880, reported
113         by Evert Verhellen, patch by Paolo Borelli):
114         
115         * gtk/gtktextview.c (gtk_text_view_button_press_event): Retrieve 
116         the insert mark and move the cursor to it making sure of also 
117         scroll the window if needed.
118         
119         * gtk/gtktextbuffer.c (pre_paste_prep): Move the insert mark
120         to the insertion point.
121
122 Sat Mar 13 01:38:55 2004  Matthias Clasen  <maclas@gmx.de>
123
124         * gtk/gtkcombobox.c (gtk_combo_box_remove): Add a remove 
125         implemenatation which restores the cell_view when the custom 
126         child is removed.  (#136555, Owen Taylor)
127
128 Sat Mar 13 00:07:51 2004  Matthias Clasen  <maclas@gmx.de>
129
130         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_clear): 
131         Keep the cell_list in a consistent state while iterating over it, 
132         since clear_attributes() also iterates over it.  (another instance
133         of #136585, Morten Welinder)
134         
135 Fri Mar 12 17:20:15 2004  Owen Taylor  <otaylor@redhat.com>
136
137         * gtk/gtkarrow.c (gtk_arrow_expose): Swap GTK_ARROW_LEFT
138         and GTK_ARROW_RIGHT for GTK_TEXT_DIR_LTR. (#129159,
139         Semion Chichelnitsky)
140
141         * gtk/gtkpathbar.c gtk/gtktoolbar.c: Remove no-longer-needed 
142         gtk_toolbar_direction-changed handlers and explicit
143         flipping of GtkArrow widgets.
144
145 Fri Mar 12 23:37:15 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
146
147         * gtk/gtkfilechooserdialog.c
148         (file_chooser_widget_default_realized_size_changed): Clamp the
149         new size to the screen.
150
151 Fri Mar 12 15:06:44 2004  Owen Taylor  <otaylor@redhat.com>
152
153         * gtk/gtkexpander.c (gtk_expander_realize): Create the
154         event_window at the right size using the same logic as
155         in size_allocate. (#136994, Niklas Knuttson)
156
157 2004-03-12  Federico Mena Quintero  <federico@ximian.com>
158
159         * gtk/gtkwindow.c (gtk_window_activate_focus): Don't ignore the
160         return value of gtk_widget_activate().
161         (gtk_window_activate_default): Likewise.  Fixes #137008.
162
163         * gtk/gtkfilechooserdialog.c (response_cb): Act on positive
164         response IDs we recognize, rather than bailing out on cancellation
165         ones.  Fixes #136237; patch by Olivier Andrieu
166         <oliv__a@users.sourceforge.net>.
167         (file_chooser_widget_file_activated): If the dialog doesn't have a
168         default widget, try to find a suitable response widget on our own.
169         People should *really* be using gtk_dialog_set_default_response(),
170         but this is to help lazy programmers.
171
172         * gtk/gtkdialog.c (_gtk_dialog_get_response_for_widget): New
173         internal function.
174         (get_response_data): Add a "create" argument so that we don't
175         unconditionally create the response data.
176
177 2004-03-12  Morten Welinder  <terra@gnome.org>
178
179         * tests/Makefile.am: Add new testspinbutton.c
180
181 2004-03-11  Federico Mena Quintero  <federico@ximian.com>
182
183         * gtk/gtkfilechooserdefault.c (shortcuts_drag_set_delete_cursor):
184         Put the trash icon on the right for LTR locales, or on the left
185         for RTL.
186         (shortcuts_drag_motion_cb): Cancel the idle handler here as well.
187         (shortcuts_drag_leave_cb): Test whether the idle is present.
188         (shortcuts_drag_data_received_cb): Ahem, don't assert here.
189
190 Thu Mar 11 17:51:10 2004  Owen Taylor  <otaylor@redhat.com>
191
192         * modules/input/gtkimcontextxim.c (preedit_done_callback):
193         Clear preedit string and emit preedit_changed as needed
194         on AIX. (#130617, Philip K Warren)
195
196 2004-03-11  Morten Welinder  <terra@gnome.org>
197
198         * gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): Plug leak.
199
200 Thu Mar 11 16:28:15 2004  Owen Taylor  <otaylor@redhat.com>
201
202         * gtk/gtkmenu.c (gtk_menu_get_toplevel): Fix attach/attach->parent
203         type. (#136919, Tim Mooney)
204
205 Thu Mar 11 16:18:51 2004  Jonathan Blandford  <jrb@redhat.com>
206
207         * gtk/gtkfilechooserdefault.c (shortcuts_insert_path): revert
208         earlier change to insert_path so that we test that the directory
209         exists.
210
211         * gtk/gtkfilechooserdialog.c
212         (gtk_file_chooser_dialog_constructor): move focus.
213
214 Thu Mar 11 22:12:14 2004  Matthias Clasen  <maclas@gmx.de>
215
216         * gtk/gtkspinbutton.c (gtk_spin_button_size_request): Use the same
217         logic as GtkEntry when calculating border width.  (#116368, reported
218         by Morten Welinder)
219
220 Thu Mar 11 15:59:05 2004  Owen Taylor  <otaylor@redhat.com>
221
222         * tests/testgtk.c (create_spins): Use gtk_entry_set_width_chars()
223         rather than gtk_widget_set_size_request().
224
225 2004-03-11  Federico Mena Quintero  <federico@ximian.com>
226
227         * gtk/gtkfilechooserdefault.c (remove_settings_signal): New
228         function, copied from gtkpathbar.c.
229         (gtk_file_chooser_default_dispose): Use remove_settings_signal()
230         rather than our own code.
231         (gtk_file_chooser_default_screen_changed): Use
232         remove_settings_signal(); this should handle per-screen settings
233         correctly.
234
235 Thu Mar 11 14:07:18 2004  Owen Taylor  <otaylor@redhat.com>
236
237         * gtk/gtklabel.c (gtk_label_focus): Fix a missing return
238         value.
239
240 Thu Mar 11 13:58:24 2004  Owen Taylor  <otaylor@redhat.com>
241
242         * gtk/gtkmessagedialog.c gtk/gtklabel.c: Back out the
243         put-labels-into-the-standard-focus-chain patches 
244         from bug #59707.
245
246         * gtk/gtklabel.c (gtk_label_focus): Only put the
247         label in the tab chain when the control key is pressed.
248
249 2004-03-11  Federico Mena Quintero  <federico@ximian.com>
250
251         * gtk/gtkfilechooserdefault.c (error_message_with_parent): Use a
252         single OK button, not a Close button, as per the HIG.
253
254         * gtk/gtkfilesel.c (gtk_file_selection_fileop_error): Likewise.
255
256 2004-03-11  Federico Mena Quintero  <federico@ximian.com>
257
258         * gtk/gtkfilechooserdefault.c (shortcuts_drag_motion_cb): Oops,
259         initialize "action" before jumping.  Fixes #136900.
260
261 2004-03-11  Mark McLoughlin  <mark@skynet.ie>
262
263         * gtk/gtksettings.c: (apply_queued_setting): don't overwrite
264         application properties. Fixes bug #136802.
265
266 2004-03-11  Dov Grobgeld  <dov@imagic.weizmann.ac.il>
267
268         * gtk/gtktextlayer.c: (gtk_text_layout_set_buffer): Added
269         call to gtk_text_layout_update_cursor_line() to solve in 
270         problem of switching keyboard direction at widget creation:
271         bug #136680
272
273 Thu Mar 11 10:28:30 2004  Owen Taylor  <otaylor@redhat.com>
274
275         * gtk/gtkfilechooserembed.c (delegate_initial_focus): Remove
276         stray 'return' statement. (#136855, David L. Cooper II)
277
278 2004-03-11  Mark McLoughlin  <mark@skynet.ie>
279
280         * gtk/gtkstyle.c: (gtk_default_draw_expander): Use the PRELIGHT
281         fg color for drawing the expander when prelit. Fixes problem
282         with the HighContrast theme: bug #136789.
283
284 2004-03-11  Federico Mena Quintero  <federico@ximian.com>
285
286         Fix #135912 and #135913.
287
288         * gtk/gtkfilechooserdefault.c
289         (shortcuts_filter_model_row_draggable): Implement.
290         (shortcuts_model_filter_new): New function, create a
291         ShortcutsModelFilterClass derived from GtkTreeModelFilter, so that
292         we can implement our own DnD interface methods.
293         (shortcuts_model_create): Use shortcuts_model_filter_new().
294         (shortcuts_list_create): Enable the shortcuts list as a drag
295         source.
296         (file_list_source_targets): Renamed from shortcuts_targets.
297         (shortcuts_list_create): Change the options for
298         gtk_drag_dest_set().  Connect to more drag signals so that we can
299         implement drops by hand.
300         (shortcuts_drag_data_delete_cb): New handler; just stop the emission.
301         (shortcuts_drag_motion_cb): New handler; validate the drop.
302         (shortcuts_drag_leave_cb): New handler; unset the drag_dest_row.
303         (shortcuts_drag_drop_cb): New handler; just stop the emission and
304         remove the idle handler for the drag cursor.
305         (shortcuts_add_bookmark_from_path): Add a position argument,
306         return a boolean success code.
307         (shortcuts_drag_data_received_cb): Handle two cases:  1) Insert
308         the bookmarks at the proper position, rather than always appending
309         them to the list; 2) alternatively, reorder the bookmarks.
310         (struct _GtkFileChooserDefault): New field shortcuts_drag_outside.
311         (shortcuts_drag_motion_cb): Turn off impl->shortcuts_drag_outside.
312         (shortcuts_drag_leave_cb): Turn on impl->shortcuts_drag_outside in
313         an idle handler.
314         (shortcuts_drag_end_cb): New handler; remove the selected bookmark.
315
316 Thu Mar 11 01:08:25 2004  Jonathan Blandford  <jrb@gnome.org>
317
318         * gtk/gtkfilechooserdefault.c (location_entry_create): up the
319         width of the entry a tad.
320
321         * gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_init): use
322         gtk_entry_completion_selection_changed.  Also, unref the
323         completion as we were leaking a reference to it.
324
325 2004-03-10  Federico Mena Quintero  <federico@ximian.com>
326
327         * gtk/gtkstyle.c (draw_dot): Remove spurious semicolon.  Thanks to
328         Kjartan Maraas for pointing it out.
329
330 Wed Mar 10 23:40:15 2004  Matthias Clasen  <maclas@gmx.de>
331
332         * gtk/gtkentrycompletion.c (_gtk_entry_completion_popup): Set the
333         background on the action view cell renderer here, not in init, so 
334         that a) we catch style changes, and b) we get the real style, not 
335         the default one. Partial fix for #127648, reported by Dave Bordoley.
336
337 2004-03-10  Tor Lillqvist  <tml@iki.fi>
338
339         * gdk/win32/gdkevents-win32.c (build_key_event_state): Set also
340         the pointer button bits. (#136636, Dave Neary)
341
342         * gdk/win32/gdkwindow-win32.c (show_window_internal): Show
343         transparent (input only) windows using SetWindowPos(). (#132331,
344         John Ehresman)
345
346         (gdk_window_set_type_hint): For splash screens, remove the resize
347         handles, menu, and minimize/maximize/close buttons. (#132896)
348
349 Wed Mar 10 22:30:23 2004  Matthias Clasen  <maclas@gmx.de>
350
351         * gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear): Keep the
352         cell_list in a consistent state while iterating over it, since
353         clear_attributes() also iterates over it.  (#136585, Morten Welinder)
354
355 2004-03-10  Mark McLoughlin  <mark@skynet.ie>
356
357         * gtk/gtkexpander.c: (gtk_expander_expose): don't propagate
358         the expose to the label. The expose handler for GtkContainer
359         already does that. Fixes bug #136719. Reported by Dennis
360         Cranston, exact cause nailed down by Owen.
361
362 2004-03-10  Federico Mena Quintero  <federico@ximian.com>
363
364         * gtk/gtkfilechooserdefault.c (list_mtime_data_func): Use an
365         untranslatable "%x" for dates, rather than a custom format.  Fixes
366         #136357.
367
368 2004-03-10  Morten Welinder  <terra@gnome.org>
369
370         * gtk/gtkfilechooserdefault.c
371         (gtk_file_chooser_default_add_shortcut_folder): Test validity of
372         path here.
373         (shortcuts_insert_path): Don't check here.
374         (get_file_info): Barf if name-only fails.
375
376         * tests/testfilechooser.c (main): Add support for --multiple.
377
378 Wed Mar 10 02:41:05 2004  Jonathan Blandford  <jrb@gnome.org>
379
380         * gtk/gtkpathbar.c: (gtk_path_bar_init), (gtk_path_bar_class_init),
381         (remove_settings_signal), (gtk_path_bar_dispose),
382         (gtk_path_bar_style_set), (gtk_path_bar_screen_changed),
383         (gtk_path_bar_scroll_up), (reload_icons), (change_icon_theme),
384         (settings_notify_cb), (gtk_path_bar_check_icon_theme),
385         (get_button_image), (gtk_path_bar_update_button_appearance),
386         (make_directory_button), (gtk_path_bar_check_parent_path): Support
387         changes in icon themes.
388
389         * gtk/gtkpathbar.h: add two elements
390
391         * tests/testfilechooser.c: (main): use gnome-vfs method again to
392         get more testing.
393
394 Wed Mar 10 01:17:40 2004  Jonathan Blandford  <jrb@gnome.org>
395
396         * gtk/gtkpathbar.c: added 'Desktop' to the list of volumes.  We
397         don't have any more untranlated strings in the dialog.
398
399 Wed Mar 10 00:24:24 2004  Jonathan Blandford  <jrb@gnome.org>
400
401         * gtk/gtkfilechooserdefault.c (error_dialog): use uri instead of
402         the pathname for UTF-8 safety.
403
404 Wed Mar 10 00:10:47 2004  Jonathan Blandford  <jrb@gnome.org>
405
406         * gtk/gtkfilechooserdefault.c (shortcuts_insert_path): Always
407         check to see if the shortcuts exists.  We don't want to put
408         invalid dirs in the shortcuts pane.
409
410 Tue Mar  9 16:40:34 2004  Jonathan Blandford  <jrb@gnome.org>
411
412         * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
413         remove unneeded shortuts_swin;
414
415 Wed Mar 10 01:49:27 2004  Matthias Clasen  <maclas@gmx.de>
416
417         Fix #136614 in a better way:
418         
419         * gtk/gtkoptionmenu.c (gtk_option_menu_init): Undo the last change.
420         * gtk/gtkbutton.c (struct _GtkButtonPrivate): Add a flag, align_set.
421         * gtk/gtkbutton.c (gtk_button_init): Initialize align_set to 0.
422         * gtk/gtkbutton.c (maybe_set_alignment): Rework to only set the
423         alignment if priv->align_set is set.
424         * gtk/gtkbutton.c (gtk_button_set_alignment): Set align_set to 1.
425
426 Wed Mar 10 01:21:05 2004  Matthias Clasen  <maclas@gmx.de>
427
428         * gtk/gtkcombobox.c (gtk_combo_box_menu_position_below): Place
429         grid mode popups left aligned, not right aligned.
430
431 Tue Mar  9 23:09:46 2004  Matthias Clasen  <maclas@gmx.de>
432
433         * gtk/gtkoptionmenu.c (gtk_option_menu_init): Avoid centering 
434         the label that is reparented from the menuitem.  (#136614, Dennis
435         Cranston)
436
437 Tue Mar  9 16:19:09 2004  Jonathan Blandford  <jrb@gnome.org>
438
439         * gtk/gtkpathbar.c (struct _ButtonData): Encapsulate all of the
440         information about a button in a struct instead of ugly
441         g_object_set_data.
442         (gtk_path_bar_size_request): Use ButtonData.
443         (gtk_path_bar_update_slider_buttons): ditto
444         (gtk_path_bar_size_allocate): ditto
445         (gtk_path_bar_remove): ditto
446         (gtk_path_bar_forall): ditto
447         (gtk_path_bar_scroll_down): ditto
448         (gtk_path_bar_clear_buttons): ditto
449         (button_clicked_cb): ditto.  Also, add an ignore_changes variable
450         (button_data_free): destroy ButtonData
451         (update_button_appearance): Use ButtonData
452         (make_directory_button): ditto
453         (gtk_path_bar_check_parent_path): ditto
454         (_gtk_path_bar_set_path): ditto
455
456 2004-03-09  Federico Mena Quintero  <federico@ximian.com>
457
458         Fix #136533.
459
460         * gtk/gtkfilechooserdefault.c (shortcuts_reload_icons): New
461         function.
462         (check_icon_theme): New helper function, installs a handler for
463         changes in the icon theme.
464         (gtk_file_chooser_default_style_set): Use check_icon_theme().
465         (gtk_file_chooser_default_screen_changed): Use check_icon_theme().
466         (gtk_file_chooser_default_dispose): Disconnect from GtkSettings.
467         (change_icon_theme): New function, updates impl->icon_size and
468         reloads the icons.
469         (struct _GtkFileChooserDefault): New field settings_signal_id.
470         (struct _GtkFileChooserDefault): New field icon_size.
471         (shortcuts_insert_path): Use impl->icon_size.
472         (list_icon_data_func): Likewise.
473
474 2004-03-09  Federico Mena Quintero  <federico@ximian.com>
475
476         * gtk/gtkfilechooserdefault.c (get_file_info): Handle the returned
477         parent_path being NULL.  Fixes #136662.
478
479 2004-03-09  Federico Mena Quintero  <federico@ximian.com>
480
481         * gtk/gtkfilechooserdefault.c (shortcuts_drag_data_received_cb):
482         Stop the emission so that GtkTreeView's handler won't try to poke
483         the filter model.  Fixes #136127.
484
485 Tue Mar  9 13:49:14 2004  Owen Taylor  <otaylor@redhat.com>
486
487         * gtk/gtkstyle.c (gtk_paint_polygon): Fix 
488         g_return_if_fail() that was checking draw_shadow.
489         (#136669, Morten Welinder)
490
491 Tue Mar  9 09:57:25 2004  Owen Taylor  <otaylor@redhat.com>
492
493         * === Released 2.3.6 ===
494
495         * configure.in: Version 2.3.6, interface age 0.
496
497         * NEWS: Updates
498
499 Tue Mar  9 11:01:45 2004  Jonathan Blandford  <jrb@gnome.org>
500
501         * gtk/gtkpathbar.c (gtk_path_bar_finalize): unref the correct
502         icon.  Reported by Michael Natterer <mitch@gimp.org>.
503
504 2004-03-09  Morten Welinder  <terra@gnome.org>
505
506         * tests/testfilechooser.c (main): Destroy widgets to reveal leaks.
507
508 Tue Mar  9 02:11:50 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
509
510         * gtk/gtkmenu.c Fix bug 136446. [Marco Pesenti Gritti]
511         (struct _GtkMenuPrivate): Add boolean destroying
512         (gtk_menu_destroy): Set priv->destroying
513         (gtk_menu_remove): don't update the table information when the
514         menu is being destroyed.
515
516         * gtk/gtkmenu.c (gtk_menu_set_monitor): Formatting fix
517
518         * gtk/gtktoolbar.[ch]: Some formatting fixes
519
520 Tue Mar  9 01:25:10 2004  Matthias Clasen  <maclas@gmx.de>
521
522         * gtk/gtkframe.c (gtk_frame_paint): Fix a typo.
523
524 2004-03-08  Federico Mena Quintero  <federico@ximian.com>
525
526         Fixes #136080.
527
528         * gtk/gtkfilesystemunix.c: Only lstat() if stat() failed due to
529         ENOENT.
530         (filename_get_info): Likewise.
531
532 2004-03-08  Federico Mena Quintero  <federico@ximian.com>
533
534         * gtk/gtkfilechooserdefault.c
535         (gtk_file_chooser_default_initial_focus): Use
536         gtk_tree_view_set_cursor().
537
538 2004-03-08  Federico Mena Quintero  <federico@ximian.com>
539
540         Patch "1a" from #136185, by Morten Welinder.
541
542         * gtk/gtkfilechooserdefault.c (get_file_info): Take in an argument
543         that says whether the caller just wants the display name.
544         (shortcuts_insert_path): We only want the name in the call to
545         get_file_info().
546
547         * gtk/gtkpathbar.c (_gtk_path_bar_set_path): Don't request more
548         info than needed from the file_folder.
549
550 2004-03-08  Federico Mena Quintero  <federico@ximian.com>
551
552         Fixes #136105.
553
554         * gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
555         Added an ::initial_focus() method.
556
557         * gtk/gtkfilechooserembed.c
558         (_gtk_file_chooser_embed_delegate_iface_init): Set the
559         initial_focus method.
560         (delegate_initial_focus): Implement.
561         (_gtk_file_chooser_embed_initial_focus): New function.
562
563         * gtk/gtkfilechooserdialog.c
564         (gtk_file_chooser_dialog_constructor): Call
565         _gtk_file_chooser_embed_initial_focus().
566
567         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init):
568         Install the ::initial_focus() handler.
569         (gtk_file_chooser_default_initial_focus): Implement.
570
571 2004-03-08  Federico Mena Quintero  <federico@ximian.com>
572
573         * gtk/gtkfilechooserdefault.c (update_from_entry): Return a
574         boolean success code.
575         (location_popup_handler): Refocus the file chooser if appropriate.
576         Fixes #135905.
577         (save_widgets_create): Don't set the text of the save_folder_label
578         here.
579         (update_appearance): Set the text here as appropriate for the save
580         mode.  Also fixes #136387.
581         (update_appearance): Don't show the Create Folder button in
582         SELECT_FOLDER mode.
583         (update_appearance): Show the extra widget in all Save modes
584         correctly.
585
586 Mon Mar  8 11:57:27 2004  Owen Taylor  <otaylor@redhat.com>
587
588         * gtk/gtkcombobox.c (gtk_combo_box_unset_model): Don't
589         call g_signal_handler_disonnect() if priv->model is
590         NULL. (#136551, Damon Chaplin)
591
592         * gtk/gtkcombobox.c (gtk_combo_box_model_row_inserted):
593         Back out code to set the active item when the first
594         item is added to the model; this causes problems for
595         GtkComboBoxText. (#136535)
596
597         * gtk/gtkcombobox.c (gtk_combo_box_menu_destroy)
598         * gtk/gtkcombobox.c (gtk_combo_box_list_destroy):
599         * gtk/gtkcombobox.c (gtk_combo_box_list_setup): 
600         * gtk/gtkcombobox.c (gtk_combo_box_menu_setup): 
601         Remove calls to gtk_combo_box_unset_model.
602
603         * gtk/gtkcombobox.c (gtk_combo_box_check_appearance): 
604         Clean up handling of wrap->width > 0.
605
606         * gtk/gtkcombobox.c (gtk_combo_box_relayout): Don't
607         switch list/menu mode here.
608
609         * gtk/gtkcombobox.c (gtk_combo_box_set_model): Protect
610         against the same model being set back.
611
612         * gtk/gtkcombobox.c (gtk_combo_box_relayout): Call
613         gtk_combo_box_menu_fill() rather than duplicating
614         a large chunk of code.
615
616 2004-03-08  Anders Carlsson  <andersca@gnome.org>
617
618         * gtk/gtkfilesystemmodel.c (gtk_file_system_model_get_flags): 
619         If max_depth is 0 then we have a list.
620
621 2004-03-08  Morten Welinder  <terra@gnome.org>
622
623         * gtk/gtkpathbar.c (_gtk_path_bar_set_path): If we fail, leave
624         widget unchanged.  Explicitly verify final directory.
625
626         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_create_folder,
627         get_icon_type, filename_get_info): Protect errno.
628
629 2004-03-08  Marco Pesenti Gritti  <marco@gnome.org>
630
631         * gtk/gtkentry.c: (gtk_entry_completion_key_press):
632
633         When an action is selected stop the event to be propagated
634         otherwise the activate signal is emitted too. (Bug #133394)
635
636 Mon Mar  8 04:50:12 2004  Jonathan Blandford  <jrb@gnome.org>
637
638         * gtk/gtkfilechooserdefault.c (create_path_bar): new function to
639         consolidate creating the path_bar.
640         (gtk_file_chooser_default_set_current_folder): no longer need to
641         pass in the filesystem.
642
643         * gtk/gtkpathbar.h: Removed unused set_pixbuf functions in favor
644         of just setting the filesystem.
645
646         * gtk/gtkpathbar.c (gtk_path_bar_finalize): Free root path and
647         home_dir.
648         (get_button_image): Add images to path_bar.
649         (update_button_appearance): use images
650         (make_directory_button): Clasify buttons based upon location.
651         (_gtk_path_bar_set_path): no longer need a file-system.  Also, add
652         rerooting, #135845, #135914
653
654         * tests/testfilechooser.c: Fix reused error handling.
655
656 2004-03-08  Anders Carlsson  <andersca@gnome.org>
657
658         * gtk/gtkfilesystemunix.c: (get_icon_for_directory),
659         (gtk_file_system_unix_render_icon):
660         Use better icons for home and desktop.
661
662 2004-03-08  Anders Carlsson  <andersca@gnome.org>
663
664         * gtk/gtkfilechooserentry.c:
665         (_gtk_file_chooser_entry_set_base_folder):
666         Set the base folder path in the entry.
667         
668 2004-03-08  Christian Neumair  <chris@gnome-de.org>
669
670         * tests/testentrycompletion.c: Fix typo.
671
672 2004-03-08  Tor Lillqvist  <tml@iki.fi>
673
674         * README.win32: Update.
675
676         * gtk/gtk.def: Small update. Thanks to J. Ali Harlow. Re-sorted.
677
678         * tests/testfilechooser.c: Correct localtime_r() emulation on
679         Win32. Remove a couple of unnecessary Win32-only includes.
680
681 Mon Mar  8 01:06:17 2004  Matthias Clasen  <maclas@gmx.de>
682
683         * tests/testentrycompletion.c: Test dynamic addition/removal. 
684
685 Sun Mar  7 22:38:49 2004  Matthias Clasen  <maclas@gmx.de>
686
687         * gtk/gtkframe.c (gtk_frame_paint): Use ythickness, not 
688         xthickness in the calculation of vertical dimensions.
689
690 Sun Mar  7 17:38:03 2004  Jonathan Blandford  <jrb@gnome.org>
691
692         * gtk/gtkbutton.c (gtk_button_class_init): actually use
693         gtk_button_add.
694
695         * gtk/gtkfilechooserdefault.c (error_building_filename_dialog):
696         use the uri, not the path, #136317
697         (renderer_edited_cb): ditto
698         (shortcuts_add_bookmark_from_path): ditto
699         (remove_bookmark_button_clicked_cb): ditto
700         (gtk_file_chooser_default_remove_shortcut): ditto
701         (update_from_entry): ditto
702         (up_folder_handler): ditto
703
704 Sun Mar  7 16:07:08 2004  Jonathan Blandford  <jrb@gnome.org>
705
706         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init): set
707         redraw_on_allocate, #135902.
708
709         * gtk/gtkfilesystemmodel.c (model_refilter_recurse): Patch from
710         Damon Chaplin to set a node to be visible before emitting the
711         inserted signal, #135555.
712
713 Sun Mar  7 22:24:28 2004  Matthias Clasen  <maclas@gmx.de>
714
715         * gtk/gtkbutton.c (_gtk_button_paint): Don't use xthickness in the
716         height calculation.
717
718 Sun Mar  7 14:34:04 2004  Jonathan Blandford  <jrb@gnome.org>
719
720         Fixes #121500.
721
722         * gtk/gtkfilechooserdefault.c (trap_activate_cb): stop activate
723         from unselecting rows when pressed in multiple-selection mode.
724
725 2004-03-07  Hans Breuer  <hans@breuer.org>
726
727         * gdk/win32/gdkproperty-win32.c (gdk_screen_get_setting) :
728         some more settings from system, also reflect some name changes
729         done a while ago in the x11 backend
730
731         * gdk/win32/makefile.msc : build gdkspawn-win32.c
732
733         * gtk/gtkdnd.c : gtk_drag_source_[gs]et_target_list, added "Since: 2.4"
734
735         * gtk/makefile.msc.in : build gtkpathbar, link shell32.lib
736
737         * tests/makefile.msc : some more tests get build
738
739 Sun Mar  7 03:03:57 2004  Jonathan Blandford  <jrb@gnome.org>
740
741         * gtk/gtkfilechooserdefault.c
742         (gtk_file_chooser_default_get_paths): if action is
743         SELECT_FOLDER, then return the currentd folder if none is
744         selected.
745         (gtk_file_chooser_default_should_respond): Allow 'Ok' to be hit if
746         no directory is selected in SELECT_FOLDER mode.
747
748 Sat Mar  6 23:31:18 2004  Jonathan Blandford  <jrb@gnome.org>
749
750         * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
751         remove unneeded elements.
752         (tree_selection_changed): removed
753         (tree_name_data_func): removed
754         (gtk_file_chooser_default_finalize): don't unref dir model
755         (create_folder_tree): removed
756         (get_selection): no longer need to abstract away the selection
757         function.
758         (create_file_list): We now create a tree for all actions.
759         (file_pane_create): Make one tree.
760         (update_appearance) We really change the mode only, now.
761
762 Sun Mar  7 02:38:00 2004  Matthias Clasen  <maclas@gmx.de>
763
764         * gtk/gtkcombobox.c (gtk_combo_box_size_request): Do a 
765         size_request on the button and cell_view_frame, otherwise
766         their style will still be the default here in the initial 
767         size_request. (#136301, Mark McLoughlin)
768
769 2004-03-06  Gustavo J. A. M. Carneiro  <gustavo@users.sourceforge.net>
770
771         * gtk/gtktoolbar.c (internal_insert_element): Check return value
772         of gtk_stock_lookup; if stock lookup fails, just use stock_id as
773         label, instead of crashing. Fixes #136202.
774
775 2004-03-05  Federico Mena Quintero  <federico@ximian.com>
776
777         * gdk/linux-fb/gdkglobals-fb.c: Make <config.h> the very first
778         include.
779         * gdk/linux-fb/gdkwindow-fb.c: Likewise.
780         * gdk/linux-fb/gdkinput.c: Likewise.
781
782 2004-03-05  Federico Mena Quintero  <federico@ximian.com>
783
784         Fixes #136082 and #135265, patch by Morten Welinder.
785
786         * configure.in: Use AC_SYS_LARGEFILE.
787
788         * */*.c: #include <config.h>
789
790 2004-03-05  Federico Mena Quintero  <federico@ximian.com>
791
792         * gtk/gtkfilechooserdefault.c
793         (gtk_file_chooser_default_select_path): No need to have a
794         temporary error variable.
795
796 2004-03-05  Tor Lillqvist  <tml@iki.fi>
797
798         * configure.in: Move check for native Win32 (mingw) a bit
799         earlier. If Win32, disable static builds (as in GLib). Remove
800         unnecessary AC_LIBTOOL_WIN32_DLL.
801
802         * gdk/gdk.def: Add missing entries, thanks to J. Ali Harlow.
803
804         * gdk/win32/gdkcursor-win32.c (color_is_white): const-correctness.
805
806         (gdk_cursor_new_from_pixbuf): Copy of the non-Xcursor X11
807         implementation.
808
809         (gdk_display_supports_cursor_alpha,
810         gdk_display_supports_cursor_color): Dummy implementations.
811
812         (gdk_display_get_default_cursor_size,
813         gdk_display_get_maximal_cursor_size): Implement.
814
815         * gdk/win32/gdkdisplay-win32.c (gdk_display_get_default_group):
816         Dummy implementation.
817
818         * gdk/win32/gdkevents-win32.c (gdk_net_wm_supports): Dummy
819         implementation.
820
821         * gdk/win32/gdkfont-win32.c (gdk_font_get_display): Implement.
822
823         * gdk/win32/gdkinput-win32.c (gdk_input_motion_events): Remove,
824         not in API.
825
826         * gdk/win32/gdkwindow-win32.c (gdk_window_get_group): Dummy
827         implementation.
828
829 Fri Mar  5 18:00:36 2004  Jonathan Blandford  <jrb@redhat.com>
830
831         * gtk/gtkfilechooserdefault.c (new_folder_button_clicked): scroll
832         to the new path.
833
834         * gtk/gtktreeview.c (gtk_tree_view_adjustment_changed): Update the
835         allocation when scrolling instead of cancelling editing.
836
837 Fri Mar  5 23:52:34 2004  Matthias Clasen  <maclas@gmx.de>
838
839         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_modify_func): 
840         Improve the docs.  (#127727, Murray Cumming)
841
842 Fri Mar  5 23:37:16 2004  Matthias Clasen  <maclas@gmx.de>
843
844         * gtk/gtktreeview.c (gtk_tree_view_set_reorderable): Clarify the
845         doc comment.  (#118602)
846
847 Fri Mar  5 22:37:15 2004  Matthias Clasen  <maclas@gmx.de>
848
849         * gtk/gtkbutton.c (gtk_button_construct_child): Don't let
850         the priv->image pointer dangle.  (#136259, Padraig O'Briain)
851
852 2004-03-05  Federico Mena Quintero  <federico@ximian.com>
853
854         * gtk/gtkfilechooserprivate.h (struct _GtkFileChooserIface): Add
855         gboolean return values and GError arguments to
856         ::set_current_folder() and ::select_path().
857
858         * gtk/gtkfilechooser.c (gtk_file_chooser_set_current_folder):
859         Return a boolean value for success/failure.
860         (gtk_file_chooser_set_current_folder_uri): Likewise.
861         (gtk_file_chooser_select_filename): Likewise.
862         (gtk_file_chooser_select_uri): Likewise.
863         (gtk_file_chooser_set_filename): Likewise.
864         (gtk_file_chooser_set_uri): Likewise.
865         (_gtk_file_chooser_set_current_folder_path): Likewise, plus take
866         in a GError.
867         (_gtk_file_chooser_select_path): Likewise.
868
869         * gtk/gtkfilechooserutils.c (delegate_set_current_folder):
870         Likewise.
871         (delegate_select_path): Likewise.
872
873         * gtk/gtkfilechooserdefault.c
874         (gtk_file_chooser_default_select_path): Likewise.
875         (gtk_file_chooser_default_set_current_folder): Likewise; this also
876         fixes #136024.
877         (error_changing_folder_dialog): New helper function.
878         (change_folder_and_display_error): New helper function.
879         (switch_to_selected_folder): Use change_folder_and_display_error().
880         (tree_selection_changed): Likewise.
881         (shortcuts_activate_volume): Likewise.
882         (shortcuts_activate_item): Likewise.
883         (list_row_activated): Likewise.
884         (path_bar_clicked): Likewise.
885         (update_from_entry): Likewise.
886         (up_folder_handler): Likewise.
887         (home_folder_handler): Get the home path from the shortcuts model,
888         and use change_folder_and_display_error().
889
890         * tests/testfilechooser.c (set_current_folder): New helper
891         function; pops up a simple error dialog if necessary.
892         (set_filename): Likewise.
893         (set_folder_nonexistent_cb): Use set_current_folder().
894         (set_folder_existing_nonexistent_cb): Likewise.
895         (set_filename_nonexistent_cb): Use set_filename().
896         (set_filename_existing_nonexistent_cb): Likewise.
897
898 Fri Mar  5 11:17:35 2004  Owen Taylor  <otaylor@redhat.com>
899
900         * gtk/gtktreemodel.c (gtk_tree_row_reference_new_proxy): 
901         Improve the docs (reported by Vitaly Tishkov, 
902         #74362) Add some comments to the code about the 
903         row reference handling that are hopefully not entirely
904         wrong.
905
906 2004-03-05  Michael Natterer  <mitch@gimp.org>
907
908         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_show_all):
909         s/object/widget/. Makes it compile again.
910
911 Fri Mar  5 03:37:14 2004  Jonathan Blandford  <jrb@gnome.org>
912
913         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_show_all):
914         chain to the extra_widget.
915
916 Fri Mar  5 02:53:41 2004  Jonathan Blandford  <jrb@gnome.org>
917
918         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
919         Patch from Damon Chaplin to free models when we're finalized,
920         #134053
921
922 2004-03-05  Alexander Larsson  <alexl@redhat.com>
923
924         * gtk/gtkfilesystem.c (gtk_file_system_get_volume_for_path):
925         Document the fact that there might not be a volume for all
926         paths.
927
928         * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder):
929         Don't assume there is a volume for all paths.
930
931 Fri Mar  5 01:45:04 2004  Jonathan Blandford  <jrb@gnome.org>
932
933         * gtk/gtkfilechooserdefault.c (shortcuts_append_paths): insert in
934         the correct place instead of naïvely appending.
935         (shortcuts_add_volumes): refilter the model
936         (shortcuts_add_bookmarks): refilter the model
937         (gtk_file_chooser_default_add_shortcut_folder): refilter the model
938
939 2004-03-04  Federico Mena Quintero  <federico@ximian.com>
940
941         * gtk/gtkfilechooserdialog.c (response_cb):  New handler.  Ask the
942         GtkFileChooser widget if it wants to do something special rather
943         than letting us terminate the dialog.
944         (gtk_file_chooser_dialog_init): Connect to "response"; see the
945         comment in the sources to see why we don't override the method in
946         class_init.
947
948         * gtk/gtkfilechooserembed.h (struct _GtkFileChooserEmbedIface):
949         Added a ::should_respond() method.
950
951         * gtk/gtkfilechooserembed.c
952         (_gtk_file_chooser_embed_delegate_iface_init): Add a delegate for ::should_respond().
953         (delegate_should_respond): New delegate.
954         (_gtk_file_chooser_embed_should_respond): New function.
955
956         * gtk/gtkfilechooserdefault.c (set_list_model, create_file_list):
957         Use dashes in signal names rather than underscores.
958         (gtk_file_chooser_default_init): Hook up our ::should_respond() implementation.
959         (gtk_file_chooser_default_should_respond): Implement.  go into a
960         folder rather than responding if we are in File mode and the
961         selected file is a folder.
962         (get_selection): New helper function.
963         (add_bookmark_button_clicked_cb): Use get_selection().
964         (bookmarks_check_add_sensitivity): Likewise.
965         (gtk_file_chooser_default_get_paths): Likewise.
966         (check_save_entry): New helper function.
967         (gtk_file_chooser_default_get_paths): Use check_save_entry().
968         (selection_check): Renamed from selection_is_folders().  Now
969         checks whether the selection is empty, all files, all folders.
970         (bookmarks_check_add_sensitivity): Use selection_check().
971
972 Fri Mar  5 00:05:59 2004  Matthias Clasen  <maclas@gmx.de>
973
974         * gtk/gtkcombobox.c (gtk_combo_box_list_setup): 
975         * gtk/gtkcombobox.c (gtk_combo_box_menu_setup): Connect to 
976         key_press_event and handle Alt-Down/Alt-Up to show or hide the
977         list popup. Also handle Down/Up/PageDown/PageUp/Home/End and 
978         make them change the active item without popping up the list.
979         These keybindings are inherited from GtkCombo. 
980
981 Thu Mar  4 23:15:58 2004  Matthias Clasen  <maclas@gmx.de>
982
983         * gtk/gtkcombobox.c (gtk_combo_box_menu_position): Initially 
984         select the active item when using optionmenu-like positioning. 
985
986 Thu Mar  4 16:54:30 2004  Owen Taylor  <otaylor@redhat.com>
987
988         * gtk/gtkrc.c (gtk_rc_check_pixmap_dir): Don't
989         open/close the file, just check for existence
990         with g_file_test(). This is considerably cheaper,
991         and lack-of-permissions for pixmap dirs is 
992         pathological.
993
994 Wed Mar  3 17:53:21 2004  Owen Taylor  <otaylor@redhat.com>
995
996         * gtk/gtksocket.c (gtk_socket_class_init): Overide
997         show_all/hide_all to be gtk_widget_show/gtk_widget_hide,
998         since we don't want to propagate to the in-process
999         plug, if any. (#122949, Michael Meeks)
1000
1001 Thu Mar  4 15:20:55 2004  Jonathan Blandford  <jrb@gnome.org>
1002
1003         * gtk/gtkfilechooserdefault.c (update_appearance): show the 'New
1004         Folder' button in SAVE mode again.
1005
1006 Thu Mar  4 21:53:46 2004  Matthias Clasen  <maclas@gmx.de>
1007
1008         * gtk/gtkiconfactory.c (copy_cache): Increment the reference
1009         count of the style when copying the cached icon.  (#135890, Crispin
1010         Flowerday)
1011
1012 Thu Mar  4 21:45:43 2004  Matthias Clasen  <maclas@gmx.de>
1013
1014         * gtk/gtkcombobox.c: In list mode, set the background color 
1015         of the cell view to the base color of the style, instead of
1016         hardwiring white. (#136158)
1017
1018 Thu Mar  4 01:32:19 2004  Jonathan Blandford  <jrb@gnome.org>
1019
1020         * gtk/gtkpathbar.c (gtk_path_bar_set_path): Modified patch from
1021         muppet <scott@asofyet.org> to keep child directories around if we
1022         change to a child.
1023
1024         * gtk/gtkpathbar.c (_gtk_path_bar_set_home_icon): Start of
1025         icon-setting functions.  Not used yet.
1026         (_gtk_path_bar_set_root_icon): Ditto.
1027         
1028 Thu Mar  4 00:31:54 2004  Matthias Clasen  <maclas@gmx.de>
1029
1030         * gtk/gtktextview.c (extend_selection): 
1031         * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Allow
1032         to select the last word in the buffer.  (#135487, Paolo Borelli)
1033
1034 Wed Mar  3 23:54:31 2004  Matthias Clasen  <maclas@gmx.de>
1035
1036         * gtk/gtkentrycompletion.c: Doc update.
1037
1038 Wed Mar  3 17:30:18 2004  Owen Taylor  <otaylor@redhat.com>
1039
1040         * gtk/gtkwindow.c (gtk_window_mnemonic_activate): Check
1041         whether widgets are viewable, not just if they are
1042         mapped. (#122912, reported by Tim Evans)
1043
1044 Wed Mar  3 23:28:48 2004  Matthias Clasen  <maclas@gmx.de>
1045
1046         * gtk/gtkcombobox.c (gtk_combo_box_set_active): Move the actual
1047         implementation into a new gtk_combo_box_set_active_internal() 
1048         function, which doesn't do the short-circuiting. 
1049         * gtk/gtkcombobox.c (gtk_combo_box_model_row_deleted): Use
1050         set_active_internal() here, since the active item may change here,
1051         although the index is unchanged.
1052
1053 Wed Mar  3 23:26:49 2004  Matthias Clasen  <maclas@gmx.de>
1054
1055         * gtk/gtkcombobox.c (gtk_combo_box_menu_position): Reintroduce the
1056         traditional option menu placement of the popup for regular combo
1057         boxes. Grids and editable combo boxes use the combo-like placement 
1058         below the entry.  (#136021)
1059         * gtk/gtkcombobox.c (gtk_combo_box_menu_button_press): 
1060         * gtk/gtkcombobox.c (gtk_combo_box_popup): Call gtk_menu_set_active()
1061         before popping up the menu, to make the placement work.
1062         
1063 Wed Mar  3 17:20:15 2004  Owen Taylor  <otaylor@redhat.com>
1064
1065         * gtk/gtkmain.c (gtk_propagate_event): Special case
1066         scroll events so that they propagate up the widget
1067         heirarchy when received on insensitive widgets.
1068         (#101102, reported by Geoff Reedy)
1069
1070 Wed Mar  3 16:47:10 2004  Owen Taylor  <otaylor@redhat.com>
1071
1072          #109594, reported by Olivier Ripoll
1073
1074         * gtk/gtkentry.c (gtk_entry_size_request): Use max of 
1075         width and digit width for gtk_entry_set_width_chars,
1076         and round up.
1077
1078         * gtk/gtkcolorsel.c (gtk_color_selection_init): Set the
1079         width of the entry to 7 chars.
1080
1081 Wed Mar  3 16:00:10 2004  Owen Taylor  <otaylor@redhat.com>
1082
1083         * configure.in: Strip out the "export-dynamic" libtool
1084         option from library link lines. (#124687, James Henstridge)
1085
1086 Wed Mar  3 16:06:03 2004  Jonathan Blandford  <jrb@gnome.org>
1087
1088         * gtk/gtkfilechooserdefault.c (save_folder_combo_changed_cb):
1089         Don't activate the combo if we're in the midst of changing
1090         folders.
1091
1092 2004-03-03  Mark McLoughlin  <mark@skynet.ie>
1093
1094         * tests/testsocket_common.c: (print_hello): don't try and store
1095         pointers in ints. Fixes 64-bit build.
1096
1097 2004-03-03  Federico Mena Quintero  <federico@ximian.com>
1098
1099         * gtk/gtkfilesystem.c (gtk_file_system_get_parent): Simplify by
1100         not using a temporary variable, and clarify the documentation.
1101         Fixes #136008.
1102
1103 2004-03-03  Mark McLoughlin  <mark@skynet.ie>
1104
1105         * gtk/gtkexpander.c:
1106         (gtk_expander_enter_notify), (gtk_expander_leave_notify),
1107         (gtk_expander_set_label_widget): Set the label widget's
1108         state to prelight if we're prelit. Fixes bug #136078.
1109
1110 2004-03-03  Murray Cumming  <murrayc@murrayc.com>
1111
1112         * gtk/gtkradiobutton.h, radiomenuitem.h: Corrected the group_changed
1113         signal vfunc declaration, adding the first parameter, which is the
1114         widget emitting the signal.
1115
1116 2004-03-03  Morten Welinder  <terra@gnome.org>
1117
1118         * tests/testfilechooser.c (update_preview_cb): Plug leak.
1119
1120 Tue Mar  2 23:39:55 2004  Jonathan Blandford  <jrb@gnome.org>
1121
1122         * gtk/gtkfilechooserdialog.c
1123         (file_chooser_widget_default_realized_size_changed): Split
1124         function into realized and unrealized variants, and consolidate
1125         the handling fo size-changing and default changing.
1126
1127         * gtk/gtkfilechooserembed.[ch] (gtk_file_chooser_embed_class_init):
1128         remove resizable-hints-changed, as it just complicated things.
1129
1130         * gtk/gtkfilechooserdefault.c (update_appearance): Don't emit
1131         resizable-hints-changed.
1132         
1133 2004-03-03  Tor Lillqvist  <tml@iki.fi>
1134
1135         * gtk/gtk.def: Add a missing entry. (#135982, J. Ali Harlow)
1136
1137         * NEWS: Correct spelling of my name in one place.
1138
1139 2004-03-02  Federico Mena Quintero  <federico@ximian.com>
1140
1141         * gtk/gtkfilechooserdefault.c
1142         (gtk_file_chooser_default_set_current_folder): Handle errors in
1143         setting the path bar's path.  Fixes #136000, based on a patch by
1144         Morten Welinder.
1145
1146         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_insert_bookmark):
1147         Don't free our own propagated error.
1148
1149         * gtk/gtkpathbar.c (gtk_path_bar_set_path): Likewise, and free the
1150         parent_path upon error.  Fixes #136006, patch by Morten Welinder.
1151         (gtk_path_bar_set_path): Unref the file_folder upon error.
1152         (gtk_path_bar_set_path): Return a boolean success code.
1153
1154 Wed Mar  3 00:28:59 2004  Matthias Clasen  <maclas@gmx.de>
1155
1156         * tests/testcombochange.c: Add an animation mode, to test 
1157         how the combobox behaves if the model changes while it is popped
1158         up.
1159
1160 Tue Mar  2 17:06:05 2004  Owen Taylor  <otaylor@redhat.com>
1161
1162         * === Released 2.3.5 ===
1163
1164         * NEWS: Updates
1165
1166         * configure.in: Version 2.3.5, interface age 0.
1167         Require glib-2.3.5, pango-1.3.5.
1168
1169 Tue Mar  2 23:08:12 2004  Matthias Clasen  <maclas@gmx.de>
1170
1171         * gtk/gtkentrycompletion.c (_gtk_entry_completion_popup): Avoid
1172         popping up the completions across the edge of the monitor.
1173         Part of #135561.
1174
1175 Tue Mar  2 16:47:40 2004  Owen Taylor  <otaylor@redhat.com>
1176
1177         * tests/testfilechooser.c (set_filename_existing_nonexistent_cb): 
1178         Move the /nonexistant stuff out of the main window,
1179         keep the main window somewhat normal looking.
1180
1181 Tue Mar  2 16:18:43 2004  Owen Taylor  <otaylor@redhat.com>
1182
1183         * gtk/gtktreestore.c (gtk_tree_store_reorder)
1184         * gtk/gtkliststore.c (gtk_list_store_reorder): Fix
1185         up the interpretation of new_order to match what
1186         it means elsewhere, document the meaning of new_order.
1187
1188         * gtk/gtkcombobox.c (gtk_combo_box_model_rows_reordered):
1189         Fix interpretation of new_order.
1190
1191         * tests/testcombochange.c (on_reorder): Fix interpretation
1192         of new_order.
1193
1194         * tests/testcombochange.c (on_reorder): Fix hitting
1195         "reorder" with an empty list.
1196
1197 Tue Mar  2 21:23:30 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
1198
1199         Patch from Frederic Crozat, test code from Jean-Philippe
1200         Chancelier. Fixes bug #120479.
1201         
1202         * gtk/gtkcombo.c (gtk_combo_popup_list): Make sure popup belongs
1203         to the right window group.
1204
1205         * gtk/gtkmenu.c (gtk_menu_popup): Same
1206
1207         * tests/testsocket.c (main): Pack the plugs into an hbox instead
1208         of a vbox.
1209
1210         * tests/testsocket_common.c: Add a GtkMenuBar, a GtkCombo and a
1211         GtkComboBox to the children.
1212
1213 Tue Mar  2 14:38:23 2004  Owen Taylor  <otaylor@redhat.com>
1214
1215         * gtk/gtkcombobox.c (gtk_combo_box_model_row_inserted):
1216         If the model was empty before, select the first inserted
1217         item.
1218
1219         * gtk/gtkcombobox.c (gtk_combo_box_model_row_deleted):
1220         Fix up the logic for the new row to select.
1221
1222         * gtk/gtkcombobox.c (gtk_combo_box_class_init):
1223         Rename "appearance" property to "appears-as-list".
1224
1225         * tests/testcombochange.c tests/Makefile.am: Test case
1226         for combos and dynamically changing models.
1227
1228 Tue Mar  2 15:19:52 2004  Jonathan Blandford  <jrb@redhat.com>
1229
1230         * gtk/gtkfilechooserdefault.c
1231         (gtk_file_chooser_default_get_resizable_hints): set the default
1232         value, spotted by Morten Welinder.
1233
1234 Tue Mar  2 15:03:15 2004  Jonathan Blandford  <jrb@redhat.com>
1235
1236         * gtk/gtkfilechooserdefault.c
1237         (gtk_file_chooser_default_get_resizable_hints): get the logic
1238         correct.  This will fix sizing on save dialogs.
1239
1240         (save_widgets_create): set_mnemonic_widget.
1241
1242 2004-03-02  Federico Mena Quintero  <federico@ximian.com>
1243
1244         * gtk/gtkfilechooserdefault.c
1245         (gtk_file_chooser_default_set_current_folder): Don't update the
1246         save folder combo if we are already switching folders; based on a
1247         patch by Jonathan Blandford.
1248
1249         * gtk/gtkfilechooserdefault.c (shortcuts_add_current_folder):
1250         Handle failure to insert the path.  Based on a patch by Morten
1251         Welinder attached to bug #135380.
1252
1253         * tests/testfilechooser.c (extra_widget_create): Add a bunch of
1254         buttons to test various things.
1255
1256 Tue Mar  2 20:59:23 2004  Matthias Clasen  <maclas@gmx.de>
1257
1258         * tests/Makefile.am: Add testentrycompletion.
1259
1260         * tests/testentrycompletion.c: New file to test some of the
1261         more exotic GtkEntryCompletion features.
1262
1263 Tue Mar  2 14:38:10 2004  Jonathan Blandford  <jrb@redhat.com>
1264
1265         * tests/testfilechooser.c (main): improve tests a little.
1266
1267 Tue Mar  2 11:45:50 2004  Owen Taylor  <otaylor@redhat.com>
1268
1269         * gtk/gtkcombobox.c: Always connect to the changed
1270         signals on the model, update the active item as
1271         appropriate when rows are inserted/deleted/reordered,
1272         re-layout the menu on ::rows-reordered.
1273
1274         * gtk/gtkcellview.c (gtk_cell_view_set_displayed_row):
1275         Allow %NULL for path to unset and leave no current
1276         path.
1277
1278 Tue Mar  2 19:54:53 2004  Matthias Clasen  <maclas@gmx.de>
1279
1280         * gtk/gtkcombobox.c (gtk_combo_box_list_position): Position
1281         the popup above the sample if there is not enough room below.
1282         Part of #135543.
1283
1284 Tue Mar  2 19:53:36 2004  Matthias Clasen  <maclas@gmx.de>
1285
1286         * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Make the 
1287         frame for the list mode etched in, to give the popup a slightly
1288         less flat appearance. 
1289
1290 Tue Mar  2 17:55:31 2004  Matthias Clasen  <maclas@gmx.de>
1291
1292         * gtk/gtk.def: Add gtk_combo_box_entry_new_text().  
1293
1294 2004-03-02  Morten Welinder  <terra@gnome.org>
1295
1296         * tests/testfilechooser.c (size_prepared_cb): Don't scale images
1297         that are small enough to fit.  Avoid using incompatibly typed data
1298         pointer.
1299
1300         * gtk/gtkfilechooserdefault.c
1301         (gtk_file_chooser_default_get_resizable_hints): Test the
1302         resize_horizontally pointer, not the deferenced pointer.
1303
1304 2004-03-01  Federico Mena Quintero  <federico@ximian.com>
1305
1306         * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault): New
1307         flag shortcuts_current_folder_is_volume.
1308         (shortcuts_add_current_folder): Set
1309         impl->shortcuts_current_folder_is_volume as appropriate.
1310         (remove_current_folder_cb): Handle the flag.
1311         (shortcuts_activate_item): Likewise.
1312         (shortcuts_update_current_folder): Handle the
1313         impl->shortcuts_current_folder_active flag; only add the folder if
1314         it doesn't already exist in the list.
1315         (shortcuts_model_create): Don't insert the current folder
1316         separator here.
1317         (shortcuts_add_current_folder): Insert the separator here.
1318         (shortcut_find_position): Renamed from shortcut_exists(); now
1319         returns an index.
1320         (shortcuts_add_current_folder): Set the active item in the combo.
1321
1322 2004-03-01  Federico Mena Quintero  <federico@ximian.com>
1323
1324         * gtk/gtkfilechooserdefault.c (shortcuts_row_activated_cb): Eep,
1325         use gtk_tree_model_filter_convert_iter_to_child_iter(), not the reverse.
1326
1327 2004-03-01  Federico Mena Quintero  <federico@ximian.com>
1328
1329         * gtk/gtkfilechooserdefault.c (shortcuts_model_create): Don't
1330         unref an old model; there isn't one.  This was a leftover from
1331         when we recreated the model on every change.
1332         (save_widgets_create): Create the save folder combo.
1333         (shortcuts_model_create): Don't set the model on the tree view
1334         here.
1335         (gtk_file_chooser_default_constructor): Create the shortcuts model
1336         here, before the rest of the widgets.
1337         (shortcuts_list_create): Don't call shortcuts_model_create() here;
1338         just set the model on the tree.
1339         (save_folder_combo_create): New function, provided by Jonathan
1340         Blandford.
1341         (update_appearance): Set the sensitivity of the folder combo.
1342         (shortcuts_activate_iter): New helper function; code moved from
1343         shortcuts_row_activated_cb().
1344         (shortcuts_activate_item): New helper function.
1345         (shortcuts_row_activated_cb): Use shortcuts_activate_iter().
1346         (ShortcutsIndex): Renamed SHORTCUTS_SEPARATOR to
1347         SHORTCUTS_BOOKMARKS_SEPARATOR.
1348         (struct _GtkFileChooserDefault): New field shortcuts_current_folder_active.
1349         (shortcuts_insert_separator): Add a position argument.
1350         (shortcuts_get_index): Handle the SHORTCUTS_CURRENT_FOLDER_SEPARATOR 
1351         and SHORTCUTS_CURRENT_FOLDER positions.
1352         (shortcut_exists): Ignore the current folder row.
1353         (struct _GtkFileChooserDefault): New field shortcuts_filter_model.
1354         (shortcuts_model_create): Create a filter model for the shortcuts list.
1355         (shortcuts_list_create): Set the model to the shortcuts_filter_model.
1356         (remove_bookmark_button_clicked_cb): Use the shortcuts_filter_model.
1357         (bookmarks_check_remove_sensitivity): Likewise.
1358         (shortcuts_row_activated_cb): Likewise.
1359         (gtk_file_chooser_default_set_current_folder): New function.
1360         (gtk_file_chooser_default_set_current_folder): Update the current
1361         folder row in the shortcuts list.
1362
1363         * gtk/gtkfilechooserwidget.c
1364         (gtk_file_chooser_widget_constructor): Cast correctly for
1365         _gtk_file_chooser_embed_set_delegate().
1366
1367 Mon Mar  1 19:30:25 2004  Owen Taylor  <otaylor@redhat.com>
1368
1369         * gtk/gtkdnd.[ch]: Add gtk_drag_source_set/get_target_list().
1370         (#127499, based on patch from Michael Natterer)
1371
1372         * tests/testgtk.c: Fix bidi strings to display correctly
1373         with new auto-bidi.
1374
1375 Tue Mar  2 01:34:40 2004  Matthias Clasen  <maclas@gmx.de>
1376
1377         * gtk/gtksettings.c: Remove the include of Xft.h, which is already
1378         dragged in via pangoxft.h.  (#135496, David Hawthorne)
1379
1380 Mon Mar  1 23:52:15 2004  Tim Janik  <timj@gtk.org>
1381
1382         * gtk/gtkbindings.[hc]: expose gtk_bindings_activate_event(), changed
1383         callers.
1384
1385         * gtk/gtkwindow.[hc]: added gtk_window_propagate_key_event() to expose
1386         the key event propagation mechanism used for focus widgets.
1387         (gtk_window_key_release_event): use the same key event propagation logic
1388         as gtk_window_key_press_event().
1389
1390 2004-03-01  Simon Budig  <simon@gimp.org>
1391
1392         * gdk/x11/gdkinput-x11.c: X11 R6.4 specifies 15 events
1393         for the XInput extension. We want to see them all.
1394         We now get Proximity Out events again. Fixes bug #135320.
1395
1396 Tue Mar  2 00:47:21 2004  Matthias Clasen  <maclas@gmx.de>
1397
1398         * gtk/gtkimmodule.c (match_locale): Use case-insensitive
1399         comparison. Fixes XIM module loading on AIX.  (#131277)
1400
1401 Mon Mar  1 23:59:18 2004  Matthias Clasen  <maclas@gmx.de>
1402
1403         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted): 
1404         Make it work correctly when the child model is cleared 
1405         completely. (#121633)
1406
1407 2004-03-01  Michael Natterer  <mitch@gimp.org>
1408
1409         * gtk/gtkfilechooserwidget.h: removed accidentially committed char
1410         which broke the build.
1411
1412 Mon Mar  1 16:51:21 2004  Jonathan Blandford  <jrb@redhat.com>
1413
1414         * gtk/gtkfilechooserdialog.c
1415         (file_chooser_widget_default_size_changed): only store the size if
1416         we can resize in that direction.
1417
1418 Mon Mar  1 16:32:52 2004  Jonathan Blandford  <jrb@redhat.com>
1419
1420         * gtk/gtkfilechooserwidget.c
1421         (gtk_file_chooser_widget_new_with_backend): new function.  Long
1422         name.
1423
1424 2004-03-01  Morten Welinder  <terra@gnome.org>
1425
1426         * gtk/gtkfilesystemunix.c (filename_get_info): Only stat when
1427         needed.
1428
1429         * gtk/gtkfilesystemmodel.c (file_model_node_is_visible): Simplify
1430         semantics and check for errors.
1431
1432         * gtk/gtkpathbar.c (gtk_path_bar_set_path): Propagate errors.
1433
1434         * gtk/gtkfilefilter.c (gtk_file_filter_filter): Don't crash if
1435         display_name is NULL.
1436
1437 Mon Mar  1 14:16:52 2004  Owen Taylor  <otaylor@redhat.com>
1438
1439         Based on patch by Alex Larsson
1440
1441         * gtk/gtkfilechooserdefault.c: Use gtk-file-chooser-backend
1442         GtkSetting to set the backend if the app doesn't specify one.
1443
1444         * gdk/x11/gdkevents-x11.c gtk/gtksettings.c:
1445         Add Gtk/FileChooserBackend.
1446
1447 Mon Mar  1 20:32:06 2004  Tim Janik  <timj@gtk.org>
1448
1449         * autogen.sh:
1450         - exit with $? instead of 1 in case of failure
1451         - exit with $? if ./configure failed
1452           (that's so autogen.sh && make lines work)
1453         - removed --enable-gtk-doc option
1454         - added $AUTOGEN_CONFIGURE_ARGS
1455
1456 2004-03-01  Federico Mena Quintero  <federico@ximian.com>
1457
1458         * gtk/gtkfilechooserdefault.c (list_model_filter_func): Test for
1459         filter_info.uri correctly.  Fixes #135379, pointed out by Damon
1460         Chaplin.
1461         (shortcuts_get_index): Compute the bookmarks index correctly.
1462         Fixes #135714, pointed out by Damon Chaplin.
1463         (gtk_file_chooser_default_list_shortcut_folders): Handle the case
1464         with no shortcuts, and don't run off the end of the list if there
1465         are no bookmarks and their separator.  Fixes #135572, patch by
1466         Damon Chaplin.
1467
1468 Mon Mar  1 12:23:06 2004  Owen Taylor  <otaylor@redhat.com>
1469
1470         * gtk/gtklabel.c: Handle dynamically resolved bidi direction
1471         when drawing the cursor. (#118541)
1472
1473         * gtk/gtkentry.c (get_better_cursor_x): Use entry->resolved_dir;
1474
1475         * gtk/gtkentry.c (draw_insertion_cursor): Fix up
1476         some confusion in parameter ordering.
1477
1478 Mon Mar  1 12:05:54 2004  Jonathan Blandford  <jrb@redhat.com>
1479
1480         * gtk/gtkfilechooserdialog.c
1481         (file_chooser_widget_resizable_hints_changed): Handle
1482         shrinking/growing.
1483
1484 2004-03-01  Michael Natterer  <mitch@gimp.org>
1485
1486         * gtk/gtktextbtree.c: removed underscores from calls to
1487         gtk_text_btree_resolve_bidi().
1488
1489 Mon Mar  1 10:41:27 2004  Owen Taylor  <otaylor@redhat.com>
1490
1491         Patch from Dov Grobgeld to implement auto-bidi-direction
1492         for GtkTextView (#118543)
1493
1494         * gtk/gtktextbtree.[ch]: Resolve bidi base direction
1495         for each line by propagating backwards/forwards as
1496         necessary.
1497
1498         * gtk/gtktextlayout.[ch] gtk/gtktextview.c: Set the 
1499         bidi base direction for the ;ine with the cursor from 
1500         the keyboard direction. Add gtk_text_layout_set_keyboard_direction().
1501         
1502 Mon Mar  1 10:31:11 2004  Owen Taylor  <otaylor@redhat.com>
1503
1504         * gtk/gtkentry.[ch]: Implement auto-bidi-direction,
1505         based on a patch from Dov Grobgeld. (#118540)
1506
1507 Sun Feb 29 22:01:49 2004  Owen Taylor  <otaylor@redhat.com>
1508
1509         * gtk/gtkentry.[ch]: Add gtk_entry_set_alignment() 
1510         to allow right-aligned entries and a "xalign" 
1511         property. (#59799, patch from Egon Andersen and 
1512         Steffen Gutmann)
1513
1514         * gtk/gtkmisc.c (gtk_misc_class_init): Use improved
1515         xalign property description here too.
1516
1517         * tests/testtext.c: UNDERLINE_ERROR test addition
1518         from Nicolas Settons' patch.
1519
1520 Sun Feb 29 20:34:06 2004  Owen Taylor  <otaylor@redhat.com>
1521
1522         * gtk/gtkwindow.[ch] gtk/gtkmenushell.c: export
1523         gtk_window_activate_key() (Request from Tim Janik)
1524
1525 Mon Mar  1 01:00:11 2004  Matthias Clasen  <maclas@gmx.de>
1526
1527         * gtk/gtktextview.c (gtk_text_view_drag_data_received): 
1528         Make DND operations within a buffer move the dragged 
1529         text instead of copying it; also make DND operations 
1530         a single user action for undo purposes.  (#135191, 
1531         #93139, reported by Tommi Komulainen, patch by Paolo Borelli
1532         and Paolo Maggi)
1533
1534 Mon Mar  1 00:51:11 2004  Matthias Clasen  <maclas@gmx.de>
1535
1536         * NEWS: News for 2.3.5.
1537
1538 Sun Feb 29 23:25:35 2004  Matthias Clasen  <maclas@gmx.de>
1539
1540         * gtk/gtkentry.c (gtk_entry_completion_key_press): 
1541         Fix the Shift-Tab support to go backwards.
1542
1543 Sun Feb 29 16:40:40 2004  Owen Taylor  <otaylor@redhat.com>
1544
1545         * gtk/gtktextview.c (gtk_text_view_class_init): Fix 
1546         capitalization to match other style properties.
1547
1548 Sun Feb 29 16:38:53 2004  Owen Taylor  <otaylor@redhat.com>
1549
1550         * gtk/gtktextview.c (gtk_text_view_class_init): Fix a
1551         typo in property string.
1552
1553 Sun Feb 29 16:35:23 2004  Owen Taylor  <otaylor@redhat.com>
1554
1555         * gdk/gdkpango.c gtk/gtktextdisplay.c: Implement
1556         PANGO_UNDERLINE_ERROR (Based on a patch by
1557         Nicolas Setton, #114237)
1558
1559         * gtk/gtktextview.c: Add a error-underline-color style
1560         property.
1561
1562 Sun Feb 29 19:04:33 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
1563
1564         * gtk/gtkrange.c (_gtk_range_get_wheel_delta): New internal
1565         function returning a good step value for the mouse wheel. For
1566         scrollbars, base the step on page_size^(2/3), for other ranges,
1567         use 2 * step_increment.
1568
1569         * gtk/gtkrange.c (gtk_range_scroll_event): Use it here ...
1570
1571         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_scroll_event): 
1572         ... and here.
1573
1574         * gtk/gtkmenu.c (gtk_menu_leave_notify): Fix a warning.
1575
1576 Sun Feb 29 01:51:27 2004  Jonathan Blandford  <jrb@gnome.org>
1577
1578         * gtk/gtkfilechooserembed.c
1579         (_gtk_file_chooser_embed_get_default_size):  Add g_return_if_fail()
1580         (_gtk_file_chooser_embed_get_resizable_hints): Add g_return_if_fail()
1581
1582         * gtk/gtkfilechooserdialog.c
1583         (file_chooser_widget_default_size_changed): Get the correct
1584         initial size for the dialog.  Also, don't bother with
1585         gtk_window_set_default_size().  It's not really meaningful.
1586
1587         * gtk/gtkfilechooserdefault.c
1588         (gtk_file_chooser_default_get_default_size): Get the correct
1589         spacing for the preview_widget
1590         (update_preview_widget_visibility): Clear widget field after we
1591         destroy it.
1592
1593 2004-02-29  Federico Mena Quintero  <federico@ximian.com>
1594
1595         * gtk/gtkfilechooserdefault.c
1596         (gtk_file_chooser_default_set_property): Handle
1597         GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL.
1598         (gtk_file_chooser_default_get_property): Likewise.
1599         (struct _GtkFileChooserDefault): Added fields for preview_label,
1600         use_preview_label, preview_display_name, preview_box.  Removed
1601         preview_frame.
1602         (set_preview_widget): Reorder the widget in relation to the label.
1603         (update_preview_widget_visibility): Create or destroy the preview
1604         label.
1605         (check_preview_change): Update impl->preview_display_name and the
1606         label.
1607         (find_good_size_from_style): Use the preview_box.
1608         (gtk_file_chooser_default_finalize): Free
1609         impl->preview_display_name.
1610         (gtk_file_chooser_default_init): Initialize
1611         impl->use_preview_label.
1612
1613         * gtk/gtkfilechooser.c (gtk_file_chooser_class_init): Add a
1614         "use-preview-label" property.
1615         (gtk_file_chooser_set_use_preview_label): New function.  This sets
1616         whether one wants the file chooser to display a stock label with
1617         the previewed filename.  Apps that do really fancy previews can
1618         turn this off and draw the name themselves.
1619         (gtk_file_chooser_get_use_preview_label): New function.
1620         (gtk_file_chooser_get_preview_widget_active): Documentation fix.
1621
1622         * gtk/gtkfilechooserutils.h (GtkFileChooserProp): Add a
1623         GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL value.
1624
1625         * gtk/gtkfilechooserutils.c
1626         (_gtk_file_chooser_install_properties): Override the
1627         "use-preview-label" property.
1628
1629 Sun Feb 29 04:43:29 2004  Matthias Clasen  <maclas@gmx.de>
1630
1631         * gtk/gtkentry.c (gtk_entry_completion_key_press): Make Tab and
1632         Shift-Tab work when the completion popup is shown.
1633
1634 2004-02-28  Federico Mena Quintero  <federico@ximian.com>
1635
1636         * gtk/gtkfilechooserdefault.c (create_folder_tree): Use "Name" for
1637         the title of the filename column.
1638         (create_file_list): Likewise.
1639
1640 Sun Feb 29 03:31:42 2004  Matthias Clasen  <maclas@gmx.de>
1641
1642         * gtk/gtkentry.c (gtk_entry_completion_key_press): Fix Page_Up 
1643         and Page_Down in the completion popup to move page-wise if we're
1644         scrolling.
1645
1646 2004-02-28  Federico Mena Quintero  <federico@ximian.com>
1647
1648         * gtk/gtkfilechooserdefault.c (set_cell_text_bold_if_folder):
1649         Removed.
1650         (list_name_data_func): Don't call the function above.
1651         (list_mtime_data_func): Likewise.
1652
1653 Sun Feb 29 02:34:35 2004  Matthias Clasen  <maclas@gmx.de>
1654
1655         * gtk/gtkcombobox.c (gtk_combo_box_list_position): New 
1656         function which calculates position and size for the popup in
1657         list mode. Currently it only pushes the popup horizontally 
1658         into the screen.
1659
1660 Sun Feb 29 01:10:09 2004  Matthias Clasen  <maclas@gmx.de>
1661
1662         * gtk/gtkcombobox.c: Implement the previous fix in a better way,
1663         small cleanups.
1664
1665 2004-02-28  Hans Breuer  <hans@breuer.org>
1666
1667         * gtk/gtkfilesystemwin32.c : applied patch from
1668         J. Ali Harlow <ali@juiblex.co.uk>, fixes bug #135641
1669
1670 Sat Feb 28 23:30:36 2004  Matthias Clasen  <maclas@gmx.de>
1671
1672         * gtk/gtkcombobox.c (gtk_combo_box_popup): Actually resize the
1673         popup window before popping up.  (#135651)
1674
1675 Sat Feb 28 23:29:35 2004  Matthias Clasen  <maclas@gmx.de>
1676
1677         * gtk/gtkcombobox.c (gtk_combo_box_class_init): 
1678         * gtk/gtkcombobox.c (gtk_combo_box_init): Override the default
1679         handler for style_set in class_init instead of connecting to
1680         the signal in init. (noticed by Yosh).
1681
1682 Sat Feb 28 14:48:35 2004  Owen Taylor  <otaylor@redhat.com>
1683
1684         * demos/gtk-demo/main.c (read_line): #ifdef HAVE_FLOCKFILE, 
1685         not #ifndef HAVE_FLOCKFILE. (#135642, J. Ali Harlow)
1686
1687 2004-02-28  Hans Breuer  <hans@breuer.org>
1688
1689         * gtk/gtkfilesystemwin32.c : adapt to add -> insert_bookmark
1690         change. Also merged some crossplatform code from 
1691         gtkfilesystemunix.c
1692         * gtk/gtk.def : updated externals
1693
1694         * gtk/makefile.msc.in : added gtkfilechooserembed.obj
1695
1696 2004-02-28  Hans Breuer  <hans@breuer.org>
1697
1698         * gdk/win32/gdkdnd-win32.c : set current_dest_drag to NULL
1699         when destroying, fixes bug #120007. Also removed the mirrored
1700         ref counting for deprecated gdk_drag_context_<ref|unref>()
1701         cause it wasn't reliable anymore anyway.
1702
1703         * gdk/win32/gdkdisplay-win32.c : fix typo, which should
1704         have broken the win32 build for everyone not using msvc
1705
1706         * gdk/win32/gdkevents-win32.c : WM_GETMINAMXINFO ensure not to
1707         return negative values for ptMaxTrackSize, it caused snapping
1708         windows to their minimum size
1709
1710 Sat Feb 28 01:39:01 2004  Matthias Clasen  <maclas@gmx.de>
1711
1712         * gtk/gtkcombobox.c (gtk_combo_box_set_wrap_width): Support
1713         switching back to non-gridded mode.  (#135169)
1714
1715 Fri Feb 27 22:29:46 2004  Matthias Clasen  <maclas@gmx.de>
1716
1717         * gtk/gtkwidget.c (gtk_widget_can_activate_accel): Add "Since: 2.4".
1718
1719 Fri Feb 27 18:52:19 2004  Jonathan Blandford  <jrb@redhat.com>
1720
1721         * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_style_set):
1722         Whoops.  Didn't mean to commit the size change.
1723
1724 Fri Feb 27 18:46:27 2004  Jonathan Blandford  <jrb@redhat.com>
1725
1726         * gtk/gtkfilechooserembed.h: New private interface to help
1727         negotiate the default size of the widget.  Still a bit buggy, but
1728         better than the old behavior.
1729
1730         * gtk/gtkfilechooserdefault.c: Implement the embed interface.
1731
1732         * gtk/gtkfilechooserwidget.c: Proxy the embed interface.
1733
1734         * gtk/gtkfilechooserdialog.c: Use the embed interface.
1735
1736 2004-02-27  Federico Mena Quintero  <federico@ximian.com>
1737
1738         * gtk/gtkfilesystem.c (gtk_file_system_insert_bookmark): Added a
1739         "position" argument.
1740
1741         * gtk/gtkfilesystem.h (GtkFileSystemError): Added value for 
1742         GTK_FILE_SYSTEM_ERROR_ALREADY_EXISTS.
1743         (struct _GtkFileSystemIface): Added a "position" argument to the
1744         ::insert_bookmark() method.
1745
1746         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_insert_bookmark):
1747         Updated; renamed from gtk_file_system_unix_add_bookmark().  Return
1748         an error if the path already exists in the bookmarks list.
1749         (gtk_file_system_unix_remove_bookmark): Return an error if the
1750         path does not exist in the bookmarks list.
1751
1752         * gtk/gtkfilechooserdefault.c (shortcuts_add_bookmark_from_path):
1753         For now, use gtk_file_system_insert_bookmark() with -1 for the
1754         position.  DnD will come next.
1755
1756 Fri Feb 27 21:42:28 2004  Matthias Clasen  <maclas@gmx.de>
1757
1758         * gtk/gtkcombobox.c (gtk_combo_box_relayout): 
1759         * gtk/gtkcombobox.c (gtk_combo_box_style_set): Simplify, only 
1760         create a new setup if appearance actually changed.
1761         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_clear): 
1762         * gtk/gtkcombobox.c (gtk_combo_box_get_cell_info): Make 
1763         these more robust.  (#127623, Damon Chaplin)
1764
1765 Fri Feb 27 15:06:00 2004  Jonathan Blandford  <jrb@redhat.com>
1766
1767         * gtk/gtkfilechooser.c (gtk_file_chooser_class_init): remove
1768         folder-mode property.
1769
1770         * gtk/gtkfilechooserutils.c
1771         (_gtk_file_chooser_install_properties): remove FOLDER_MODE property.
1772
1773 Thu Feb 26 17:38:40 2004  Manish Singh  <yosh@gimp.org>
1774
1775         * gtk/gtkcombobox.c: Add function declaration for
1776         gtk_combo_box_list_remove_grabs().
1777
1778 Fri Feb 27 02:33:21 2004  Matthias Clasen  <maclas@gmx.de>
1779
1780         * gtk/gtkentry.c (keyval_is_cursor_move): Classifiy Page Up/Down as
1781         cursor move, but not Home and End.
1782
1783         * gtk/gtkentry.c (gtk_entry_completion_key_press): Lets Page Up/Down
1784         jump to the ends of the list, not Home and End - since we're not 
1785         scrolling yet, a "page" is always the complete list.  (#127430, Marco
1786         Pesenti Gritti)
1787
1788 Fri Feb 27 00:39:11 2004  Matthias Clasen  <maclas@gmx.de>
1789
1790         * gtk/gtkcombobox.c (gtk_combo_box_list_destroy): 
1791         * gtk/gtkcombobox.c (gtk_combo_box_menu_destroy): Don't let
1792         the priv pointers dangle.  (#127623, Damon Chaplin)
1793
1794 Thu Feb 26 17:31:34 2004  Manish Singh  <yosh@gimp.org>
1795
1796         * gdk/x11/xsettings-client.c (read_settings): fix ytpo: s/eles/else/
1797
1798 Thu Feb 26 19:53:32 2004  Owen Taylor  <otaylor@redhat.com>
1799
1800         * gdk/x11/xsettings-common.h (xsettings_client_process_event): 
1801         Add xsettings_client_set_grab_func,
1802         Add xsettings_client_set_ungrab_func to the list of renames.
1803
1804 Thu Feb 26 19:48:39 2004  Owen Taylor  <otaylor@redhat.com>
1805
1806         * gdk/x11/xsettings-client.c (read_settings): Fix memory leak
1807         in case of mismatched property type.
1808
1809 Thu Feb 26 18:25:57 2004  Jonathan Blandford  <jrb@gnome.org>
1810
1811         * gtk/gtkfilechooser.h (GtkFileChooserAction): Add two more folder
1812         modes to the enum.
1813
1814         * gtk/gtkfilechooser.c (gtk_file_chooser_set_folder_mode): Remove.
1815         (gtk_file_chooser_get_folder_mode): Remove
1816
1817 Thu Feb 26 17:29:04 2004  Owen Taylor  <otaylor@redhat.com>
1818
1819         * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Return
1820         GDK_FILTER_CONTINUE for unhandled message types.
1821
1822         * gdk/x11/gdkevents-x11.c (gdk_event_translate): Allow
1823         multiple filters for the same event type with the standard
1824         "GDK_FILTER_CONTINUE == pretend I wasn't here" semantics.
1825
1826         * gdk/x11/gdkevents-x11.c (gdk_display_add_client_message_filter):
1827         Append to the filter list not prepend, since order now matters.
1828
1829         * gdk/win32/gdkevents-win32.c (gdk_add_client_message_filter): 
1830         Append to the filter list not prepend, since order now matters.
1831         
1832 Thu Feb 26 23:39:07 2004  Matthias Clasen  <maclas@gmx.de>
1833
1834         Fixes for #135333, analysed by Damon Chaplin:
1835         
1836         * gtk/gtkcombobox.c (gtk_combo_box_list_button_pressed): Don't
1837         grab here.
1838         * gtk/gtkcombobox.c (gtk_combo_box_popup): Do the grabs here, 
1839         so that we don't forget to grab when the menu is popped via
1840         keynav.
1841         * gtk/gtkcombobox.c (gtk_combo_box_list_button_released): Don't
1842         ungrab here.
1843         * gtk/gtkcombobox.c (gtk_combo_box_popdown): Do the ungrabs here.
1844
1845 Thu Feb 26 23:26:00 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
1846
1847         * gtk/gtkstatusbar.c (set_grip_cursor): New function. Use resize
1848         cursors for resize grips. (Bug #129621)
1849
1850         * gtk/gtktoolbar.c (gtk_toolbar_get_relief_style): Documentation
1851         fix - patch by Torsten Schoenfeld.
1852
1853         * gtk/gtkmenubar.c (gtk_menu_bar_size_request): don't request
1854         space between the items. (Bug #110775)
1855
1856         * gtk/gtkrc.c (_gtk_rc_init): Provide extra horizontal padding
1857         inside menu items that are inside a menu bar. (Bug #110775)
1858         
1859         * configure.in (HAVE_XCURSOR): Make XCurosr part of GDK_EXTRA_,
1860         not GDK_PACKAGES, to prevent applications from getting linked to
1861         it (Bug #119804)
1862
1863         * gtk/gtkmenubar.c (gtk_menu_bar_size_allocate): Put the vertical
1864         ipadding inside the item. (Bug #61843)
1865
1866 Thu Feb 26 22:56:40 2004  Matthias Clasen  <maclas@gmx.de>
1867
1868         * gtk/gtkwidget.c: Replace gtk_widget_get_mnemonic_widgets() 
1869         by list_mnemonic_widgets() in doc comments as well.
1870
1871 Thu Feb 26 16:36:38 2004  Owen Taylor  <otaylor@redhat.com>
1872
1873         Fixes from Torsten Schoenfeld.
1874
1875         * gtk/gtkwidget.c (gtk_widget_add_mnemonic_label): 
1876         Fix name in doc comment.
1877
1878         * gtk/gtkwidget.h: gtk_widget_list_mnemonic_labels(),
1879         not get_mnemonic_labels.
1880
1881 Thu Feb 26 22:20:44 2004  Matthias Clasen  <maclas@gmx.de>
1882
1883         * gtk/gtkcomboboxentry.h:
1884         * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_new_text): New
1885         convenience API to construct simple text combos, implemented by
1886         Damon Chaplin.
1887
1888         * tests/testcombo.c: Use gtk_combo_box_entry_new_text.
1889
1890 Thu Feb 26 22:19:29 2004  Matthias Clasen  <maclas@gmx.de>
1891
1892         * gtk/gtkcombobox.c (gtk_combo_box_new_text): Improve the docs.
1893
1894 Thu Feb 26 15:43:43 2004  Owen Taylor  <otaylor@redhat.com>
1895
1896         * gtk/gtkstyle.[ch]: Export insertion cursor drawing functionality
1897         in a simplified form as gtk_draw_insertion_cursor().
1898         (#99031, request from Alex Larsson)
1899
1900         * gtk/gtktextdisplay.c gtk/gtkentry.c gtk/gtklabel.c:
1901         Adapt to new gtk_draw_insertion_cursor().
1902
1903         * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_class_init)
1904         gtk/gtkstyle.c (gtk_style_class_init): Add some missed
1905         Since: 2.4.
1906
1907         * gtk/gtkiconfactory.c (icon_size_settings_changed)
1908           gtk/gtkicontheme.c (do_theme_change)
1909           gtk/gtkrc.c (_gtk_rc_context_get_default_font_name)
1910         * gtk/gtksettings.c (gtk_settings_notify):
1911         _gtk_rc_reset_styles => gtk_rc_reset_styles.
1912
1913 Thu Feb 26 21:52:58 2004  Matthias Clasen  <maclas@gmx.de>
1914
1915         Fixes for #127804 and #134722, Damon Chaplin:
1916         
1917         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_end): 
1918         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_pack_start): 
1919         Ref and sink the cell renderers here.
1920         
1921         * gtk/gtkcombobox.c (gtk_combo_box_finalize): Unref the cell
1922         renderers here, and free attributes and func_data. 
1923
1924 Thu Feb 26 21:41:38 2004  Matthias Clasen  <maclas@gmx.de>
1925
1926         * gtk/gtkrc.c (gtk_rc_reset_styles): Mark as 2.4 API addition.
1927
1928 Thu Feb 26 14:47:22 2004  Dom Lachowicz <cinamod@hotmail.com>
1929
1930         * gtk/gtk.def: Export gtk_rc_reset_styles()
1931
1932 Thu Feb 26 14:47:22 2004  Owen Taylor  <otaylor@redhat.com>
1933
1934         * gtk/gtkrc.[ch]: Export gtk_rc_reset_styles(). 
1935         (Request from Dom Lachowicz, #123769)
1936
1937 Wed Feb 25 19:11:31 2004  Owen Taylor  <otaylor@redhat.com>
1938
1939         * gtk/gtkradiobutton.[ch] gtk/gtkradiomenuitem.[ch]: Add a
1940         ::group-changed signal emitted when the radio button/menu item 
1941         is moved from one group of radio buttons to another. 
1942         (#79563, based partially on a patch from Padraig O'Briain)
1943
1944 Thu Feb 26 13:23:47 2004  Owen Taylor  <otaylor@redhat.com>
1945
1946         * gdk/x11/gdkwindow-x11.c (set_text_property): Use the right
1947         free() function. (#135511, George Bronnikov)
1948
1949 2004-02-26  Federico Mena Quintero  <federico@ximian.com>
1950
1951         * configure.in: Added a comment to inform translators that they
1952         must add .po files to both po/ and po-properties/ when they add
1953         new languages to ALL_LINGUAS.
1954
1955 Wed Feb 25 15:36:50 2004  Owen Taylor  <otaylor@redhat.com>
1956
1957         * gdk/x11/gdkselection-x11.c (gdk_utf8_to_compound_text_for_display):
1958         Call g_convert(), not g_convert() with fallback, since Emacs is
1959         happier if we reject the COMPOUND_TEXT request and it can
1960         then ask for UTF-8. (#114527)
1961
1962         * gtk/gtkselection.c (gtk_selection_data_set_text): When
1963         TEXT is requested, if COMPOUND_TEXT fails, fall back to STRING.
1964
1965 Wed Feb 25 22:35:00 2004  Tomasz KÅ‚oczko <kloczek@pld.org.pl>
1966
1967         * cinfigure.in: After changes in G_DEFINE_TYPE minimal required glib
1968         vesion for build gtk+ is now 2.3.3.
1969
1970 Wed Feb 25 16:00:40 2004  Jonathan Blandford  <jrb@gnome.org>
1971
1972         * gtk/gtkfilechooserdefault.c (update_appearance): move the
1973         expander code.
1974
1975 2004-02-25  Danilo Å egan  <dsegan@gmx.net>
1976
1977         * configure.in (ALL_LINGUAS): po-properties/sr@ije.po added, so
1978         adding back sr@ije.
1979
1980 2004-02-25  Federico Mena Quintero  <federico@ximian.com>
1981
1982         * configure.in (ALL_LINGUAS): Remove sr@ije until po-properties/
1983         is fixed for it.
1984
1985 Wed Feb 25 12:44:49 2004  Owen Taylor  <otaylor@redhat.com>
1986
1987         * gtk/gtkstyle.[ch]: Make realize and unrealize signals. (#73310)
1988
1989 Wed Feb 25 12:21:32 2004  Owen Taylor  <otaylor@redhat.com>
1990
1991         * gtk/gtkwidget.[ch] gtk/gtklabel.c: Patch from
1992         Padraig O'Briain to add gtk_widget_add/remove_mnemonic_label,
1993         gtk_widget_get_mnemonic_labels(). (#103456)
1994
1995 2004-02-25  Danilo Å egan  <dsegan@gmx.net>
1996
1997         * configure.in: Added sr@ije to ALL_LINGUAS.
1998
1999 Wed Feb 25 09:46:34 2004  Owen Taylor  <otaylor@redhat.com>
2000
2001         * gtk/gtkstyle.c (gtk_style_finalize): Free 
2002         style->icon_factories (#130128)
2003
2004 Wed Feb 25 03:52:58 2004  Jonathan Blandford  <jrb@gnome.org>
2005
2006         * gtk/gtkpathbar.c: use gtk_widget_push/pop_composite_child around
2007         internal buttons.
2008
2009         * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
2010         rename some widgets to make it clear where they are packed.
2011         (update_appearance): New function to handle all the 'logic' of
2012         layout in one place.  We aren't trying to keep all our properties
2013         in sync.
2014         (gtk_file_chooser_default_set_property): use update_appearance()
2015
2016 2004-02-24  Federico Mena Quintero  <federico@ximian.com>
2017
2018         * gtk/gtkfilechooserdefault.c (shortcuts_model_create): Renamed
2019         from create_shortcuts_model().
2020         (struct _GtkFileChooserDefault): Renamed the shortcuts_tree field
2021         to shortcuts_list.
2022         (shortcuts_list_create): Renamed from shortcuts_tree_create().
2023         (create_file_list): Enable the tree view as a model drag source.
2024         (create_folder_tree): Likewise.
2025
2026         * gtk/gtkfilesystemmodel.c (_gtk_file_system_model_get_type):
2027         Register the drag source interface.
2028         (drag_source_iface_init): New function.
2029         (drag_source_row_draggable): New function.
2030         (drag_source_drag_data_get): New function.
2031
2032 Tue Feb 24 19:12:07 2004  Owen Taylor  <otaylor@redhat.com>
2033
2034         * === Released 2.3.4 ===
2035
2036         * configure.in: Bump version to 2.3.4, fix broken
2037         gtk_binary_age value by copying the GLib logic
2038         to automatically set it to the right values.
2039
2040 Wed Feb 25 00:13:24 2004  Matthias Clasen  <maclas@gmx.de>
2041
2042         * gtk/gtkcombobox.c (gtk_combo_box_menu_row_changed): 
2043         * gtk/gtkcombobox.c (gtk_combo_box_list_row_changed): 
2044         Don't resize priv->cell_view if it is NULL.  (#127804, 
2045         Damon Chaplin)
2046         
2047 Wed Feb 25 00:06:50 2004  Matthias Clasen  <maclas@gmx.de>
2048
2049         * gtk/gtkcombobox.c: Add a comment about the different 
2050         modi of this widget. Get rid of priv->hbox, and some other
2051         cleanups. Make sure that gtk_combo_box_unset_model() is 
2052         always called before setting up a different mode. 
2053
2054 Tue Feb 24 17:51:49 2004  Owen Taylor  <otaylor@redhat.com>
2055
2056         * gtk/gtkaccellabel.c (gtk_accel_label_refetch): Convert
2057         underscores in keyval names to spaces. (#131480)
2058
2059 Tue Feb 24 17:35:59 2004  Owen Taylor  <otaylor@redhat.com>
2060
2061         * m4macros/gtk-2.0.m4: Add some quotes around ***. (#130073,
2062         Uwe Zeisberger)
2063
2064 Tue Feb 24 14:45:03 2004  Owen Taylor  <otaylor@redhat.com>
2065
2066         * === Released 2.3.3 ===
2067
2068         * configure.in: Version 2.3.3, interface age 0.
2069
2070         * NEWS: Finish updates for 2.3.3.
2071
2072 2004-02-24  Federico Mena Quintero  <federico@ximian.com>
2073
2074         * gtk/gtkfilechooserdefault.c (save_widgets_create): Use a plain
2075         GtkEntry for the filename, not a GtkFileChooserEntry.
2076         (update_chooser_entry): Use gtk_entry_set_text() rather than
2077         _gtk_file_chooser_entry_set_file_part().
2078         (gtk_file_chooser_default_set_current_name): Likewise.
2079         (gtk_file_chooser_default_set_current_folder): Don't set the base
2080         folder of the entry, and don't call update_chooser_entry().
2081         (gtk_file_chooser_default_get_paths): Use the plain entry.
2082         (save_widgets_create): Store the "Save in Folder" label in the
2083         impl structure.
2084         (expander_activate_cb): Set the sensitivity of the label and
2085         combo.
2086         (save_widgets_create): Connect to "notify::expanded" rather than
2087         "activate" on the expander.
2088         (expander_changed_cb): Renamed from expander_activate_cb().  Flip
2089         the conditions again...
2090
2091 Tue Feb 24 14:43:07 2004  Jonathan Blandford  <jrb@gnome.org>
2092
2093         * gtk/gtktreeview.c (gtk_tree_view_bin_expose): only draw the sort
2094         column as different if there are 3 or more visible columns.
2095
2096 2004-02-24  Anders Carlsson  <andersca@gnome.org>
2097
2098         * gtk/gtkfilechooserdefault.c: (shortcuts_insert_separator):
2099         Fix compilation (#135278, Padraig O'Briain).
2100         
2101 2004-02-24  Anders Carlsson  <andersca@gnome.org>
2102
2103         * gtk/gtkfilechooserdefault.c: (shortcuts_append_desktop):
2104         Translate the desktop label.
2105         
2106         (shortcuts_get_index), (shortcuts_add_bookmarks),
2107         (shortcuts_insert_separator), (create_shortcuts_model):
2108         Don't show the bookmark separator if there are no bookmarks.
2109         
2110 Tue Feb 24 01:41:30 2004  Jonathan Blandford  <jrb@gnome.org>
2111
2112         * gtk/gtkfilechooserdefault.c (location_popup_handler): Make the
2113         dialog look like the nautilus dialog.
2114         (expander_activate_cb): get the order correct.
2115
2116 2004-02-23  Federico Mena Quintero  <federico@ximian.com>
2117
2118         * gtk/gtkfilechooserdefault.c (list_selection_changed): Call
2119         bookmarks_check_add_sensitivity().
2120         (shortcut_exists): New helper function; moved the testing code
2121         over from bookmarks_check_add_sensitivity().
2122         (bookmarks_check_add_sensitivity): Check the contents of the
2123         selection in the file/folder list.  Use shortcut_exists().
2124         (shortcuts_add_bookmark_from_path): Don't insert the bookmark if
2125         the path is already in the shortcuts list.
2126         (add_bookmark_button_clicked_cb): Add the bookmarks from the list
2127         selection or from the current folder, as appropriate.
2128
2129 Mon Feb 23 21:09:06 2004  Jonathan Blandford  <jrb@gnome.org>
2130
2131         * gtk/gtkfilechooserdefault.c (shortcuts_pane_create): Add
2132         mnemonics.  Sorry translators.
2133
2134 Tue Feb 24 02:24:58 2004  Matthias Clasen  <maclas@gmx.de>
2135
2136         * NEWS: Additions. This should be complete for the main ChangeLog
2137         now, still need to sift through gdk-pixbuf, docs, and translations.
2138
2139 Mon Feb 23 19:57:45 2004  Jonathan Blandford  <jrb@gnome.org>
2140
2141         * gtk/gtkcellrendererseptext.c (gtk_cell_renderer_sep_get_size):
2142         Add a get_size implementation so that we are no longer the same
2143         height as text.
2144
2145 2004-02-24  Anders Carlsson  <andersca@gnome.org>
2146
2147         * gtk/gtkfilechooserdefault.c: (shortcuts_insert_path),
2148         (shortcuts_remove_rows), (shortcuts_append_bookmarks),
2149         (create_shortcuts_model), (shortcuts_tree_create),
2150         (gtk_file_chooser_default_remove_shortcut_folder):
2151         Improve bookmark list rendering by controlling the visibility
2152         of the pixbuf cell so that it will be invisible for the separator
2153         row, also use a list store instead of a tree store for the model
2154         so we won't get unnecessary space for an expander.
2155         
2156 Tue Feb 24 01:08:27 2004  Matthias Clasen  <maclas@gmx.de>
2157
2158         * gtk/gtkcombobox.c: Add a destroy implementation in order to
2159         set priv->cell_view to NULL before finalize stumbles over the 
2160         dangling pointer. This big array of pointers into the widget 
2161         tree in GtkComboBoxPrivate is really fragile and should be
2162         cleaned up.
2163
2164 Mon Feb 23 17:52:43 2004  Jonathan Blandford  <jrb@gnome.org>
2165
2166         * gtk/gtkfilechooserdefault.c (main_paned_create): use a size
2167         group when allocating space for the buttons at the bottom just in
2168         case.  Also, move the filter to below the file list.
2169
2170 Mon Feb 23 16:52:12 2004  Jonathan Blandford  <jrb@gnome.org>
2171
2172         * gtk/gtkfilechooserdefault.c
2173         (gtk_file_chooser_default_class_init): Seth was confused by
2174         keybindings.  They should be Alt, not Ctl.  Also, A-Home should go
2175         home, not up.
2176
2177 Mon Feb 23 15:23:23 2004  Jonathan Blandford  <jrb@gnome.org>
2178
2179         * gtk/gtkpathbar.c (gtk_path_bar_set_path): Display the root a bit
2180         more cleanly.
2181
2182         * gtk/gtkpathbar.h (struct _GtkPathBarClass): fix the signal.
2183
2184 2004-02-23  Federico Mena Quintero  <federico@ximian.com>
2185
2186         Rework the user interface of the file chooser, as per 
2187         Seth Nickell's design.
2188
2189         * gtk/gtkfilechooserdefault.c
2190         (gtk_file_chooser_default_class_init): Add binding signals and bindings:
2191                 "location-popup" - C-l
2192                 "up-folder"      - C-Up
2193                 "home-folder"    - C-Home
2194         (up_folder_handler): New function; moved the code from up_button_clicked().
2195         (up_button_clicked_cb): Call up_folder_handler().
2196         (home_folder_handler): New function.
2197         (location_popup_handler): New function.
2198         (struct _GtkFileChooserDefault): Add an hpaned field.
2199         (gtk_file_chooser_default_set_current_name): Check that we are in
2200         Save mode.
2201         (save_widgets_create): New function, create the widgets specific
2202         to Save mode.
2203         (main_paned_create): New function, create the hpaned's widgets here.
2204         (gtk_file_chooser_default_constructor): Create the open and save
2205         widgets, and show only one set.
2206         (gtk_file_chooser_default_set_property): Show/hide the save widgets.
2207         (gtk_file_chooser_default_get_paths): Only pay attention to the
2208         entry in Save mode.
2209         (update_chooser_entry): Update the entry only in Save mode.
2210         (entry_activate): Removed.
2211
2212 Mon Feb 23 11:20:34 2004  Owen Taylor  <otaylor@redhat.com>
2213
2214         * configure.in: Remove the configure.in check for fontconfig 
2215         entirely; it's not needed, since PangoXft implies that sufficiently
2216         new fontconfig is present.
2217
2218 Mon Feb 23 02:26:53 2004  Jonathan Blandford  <jrb@gnome.org>
2219
2220         * gtk/gtkpathbar.c (gtk_path_bar_finalize):
2221         for (i = 0; i < 10; i++)
2222           g_print ("I will compile before committing.\n");
2223
2224 Mon Feb 23 02:08:42 2004  Jonathan Blandford  <jrb@gnome.org>
2225
2226         * gtk/gtkfilechooserdefault.c (file_pane_create): Use the
2227         GtkPathBar by default now.
2228
2229         * gtk/gtkpathbar.c (gtk_path_bar_set_path): Correctly set the
2230         current path from the path.
2231         (gtk_path_bar_class_init): new signal
2232         (button_clicked_cb): emit the signal when we're selected.
2233         (gtk_path_bar_clear_buttons): Fix a crasher when we weren't
2234         clearing thr first_scrolled_button.
2235
2236 Mon Feb 23 02:26:15 2004  Matthias Clasen  <maclas@gmx.de>
2237
2238         * gtk/gtkcombobox.c (gtk_combo_box_size_allocate): Fix the 
2239         allocation for the toggle button so that it actually shows up 
2240         in LTR list mode.
2241
2242         * gtk/gtkcombobox.c (gtk_combo_box_set_column_span_column): 
2243         * gtk/gtkcombobox.c (gtk_combo_box_set_row_span_column): 
2244         * gtk/gtkcombobox.c (gtk_combo_box_set_wrap_width): Add
2245         notification, and avoid excessive relayouting. 
2246
2247 Mon Feb 23 00:38:21 2004  Matthias Clasen  <maclas@gmx.de>
2248
2249         Fix bug 134982, reported by Morten Welinder:
2250         
2251         * gtk/gtkpathbar.c (gtk_path_bar_destroy): 
2252         * gtk/gtktooltips.c (gtk_tooltips_destroy): 
2253         * gtk/gtkinvisible.c (gtk_invisible_destroy): Chain up to the 
2254         parent's ::destroy handler.
2255         
2256         * gdk/gdkdisplay.c (gdk_display_dispose): Chain up to the 
2257         parent's ::dispose handler.
2258
2259 Sat Feb 21 19:09:55 2004  Manish Singh  <yosh@gimp.org>
2260
2261         * gtk/gtksettings.c (gtk_default_substitute): Guard the FC_HINT_STYLE
2262         stuff with an #ifdef, so we still build with most fontconfig versions.
2263
2264 Sun Feb 22 03:03:29 2004  Matthias Clasen  <maclas@gmx.de>
2265
2266         * gtk/gtkaction.c: (gtk_action_finalize):
2267         * gtk/gtkclipboard.c: (gtk_clipboard_finalize):
2268         * gtk/gtkentrycompletion.c: (gtk_entry_completion_class_init),
2269         (gtk_entry_completion_finalize):
2270         * gtk/gtkfilechooserwidget.c: (gtk_file_chooser_widget_finalize):
2271         * gtk/gtkfilesystemmodel.c: (gtk_file_system_model_class_init),
2272         (gtk_file_system_model_finalize):
2273         * gtk/gtkicontheme.c: (gtk_icon_theme_class_init),
2274         (gtk_icon_theme_finalize):
2275         * gtk/gtktextchild.c: (gtk_text_child_anchor_finalize):
2276         * gtk/gtkuimanager.c: (gtk_ui_manager_class_init),
2277         (gtk_ui_manager_finalize):
2278         * modules/input/gtkimcontextxim.c: (gtk_im_context_xim_finalize):
2279         Add chains to the parent's ::finalize() handler  (#134901, Morten Welinder,
2280         patch by Jan Arne Petersen)
2281
2282 Sun Feb 22 02:10:34 2004  Matthias Clasen  <maclas@gmx.de>
2283
2284         * gtk/gtkentrycompletion.c (gtk_entry_completion_default_completion_func): 
2285         Don't crash if item is NULL.  (#131542, Dan Damian)
2286
2287 Sun Feb 22 02:04:03 2004  Matthias Clasen  <maclas@gmx.de>
2288
2289         * configure.in: Add a check for a new enough fontconfig, since
2290         we picked up a direct dependency on it with the Xft settings.
2291
2292 Sun Feb 22 00:23:40 2004  Matthias Clasen  <maclas@gmx.de>
2293
2294         Bug 112647 (Bill Haneman, patch by Narayana Pattipati):
2295         
2296         * gtk/gtkcheckmenuitem.c: Introduce a new style property 
2297         indicator_size and use it instead of the hardcoded value.
2298         
2299         * gtk/gtkmenu.c (gtk_menu_size_request): Make sure each menu 
2300         item gets enough vertical space for the label and the indicator.
2301
2302 Sat Feb 21 20:20:11 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2303
2304         * gtk/gtksettings.c (gtk_settings_class_init): Use P_ instead of
2305         _ for the new Xft settings.
2306
2307 Sat Feb 21 20:09:53 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2308
2309         Bug 130790 (Federico Mena Quintero, Owen Taylor)
2310         
2311         * gdk/x11/gdkevents-x11.c: Add Xft XSETTINGS
2312
2313         * gtk/gtksettings.c: Add new GtkSettings corresponding to the Xft
2314         XSETTINGS
2315         
2316 Sat Feb 21 19:18:26 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2317
2318         Bug 132502
2319         
2320         * gtk/gtkmenu.c (gtk_menu_motion_notify): Make sure we pop down
2321         if we enter a non-selectable menu item.
2322
2323         * gtk/gtkmenu.c (gtk_menu_leave_notify): Don't pop a submenu
2324         when the user has left the item.
2325
2326 Sat Feb 21 17:57:35 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2327
2328         * gtk/docs: Commit auto-generated changes
2329
2330 Fri Feb 20 18:20:22 2004  Jonathan Blandford  <jrb@gnome.org>
2331
2332         * gtk/gtkfilechooserdefault.c: conditional compile for GtkPathBar
2333
2334         * gtk/gtkpathbar.c (gtk_path_bar_size_allocate): Clean up
2335         allocation code.  Works fully in RTL languages, I think.
2336         (gtk_path_bar_scroll_up): Scroll up.
2337         (gtk_path_bar_scroll_down): Scroll down.
2338
2339 2004-02-20  Christian Rose  <menthos@menthos.com>
2340
2341         * configure.in: Added "en_CA" to ALL_LINGUAS.
2342
2343 2004-02-20  Michael Meeks  <michael@ximian.com>
2344
2345         * gtk/gtktoolitem.c (gtk_tool_item_property_notify): impl.
2346         (gtk_tool_item_class_init): hook it up.
2347         (gtk_tool_item_set_proxy_menu_item): synchronize sensitivity.
2348
2349         * gtk/gtktoolbutton.c (gtk_tool_button_property_notify):
2350         chain to parent, fix strcmp bug.
2351
2352         * tests/testtoolbar.c (main): re-arrange widgets to allow
2353         more overflowing toolbar goodness.
2354
2355 2004-02-20  Alexander Larsson  <alexl@redhat.com>
2356
2357         * gtk/gtkfilechooserdefault.c: (shortcuts_append_desktop):
2358         Desktop directory is not translated.
2359         (set_tree_model):
2360         There might not be volumes for all paths.
2361         * gtk/gtkfilechooserwidget.c:
2362         (gtk_file_chooser_widget_constructor):
2363         Use gtk_file_chooser_set_current_folder to set cwd.
2364
2365 Thu Feb 19 19:58:53 2004  Jonathan Blandford  <jrb@gnome.org>
2366
2367         * gtk/gtkpathbar.[ch]: New widget to handle the path in the
2368         fileselector implementation.  Not hooked up to anything yet.
2369
2370         * gtk/Makefile.am: support the path bar.
2371
2372 Fri Feb 20 00:21:38 2004  Matthias Clasen  <maclas@gmx.de>
2373
2374         * gtk/gtkstyle.c (gtk_default_draw_handle): 
2375         (gtk_default_draw_box): Make the paned handles gray when the the 
2376         widget is_focus() but not HAS_FOCUS().  (#122751, Soeren Sandmann)
2377
2378 Thu Feb 19 23:41:06 2004  Matthias Clasen  <maclas@gmx.de>
2379
2380         Fixes for #82099:
2381         
2382         * gdk/x11/gdkevents-x11.c: Introduce new XSettings "Gtk/ButtonImages"
2383         and "Gtk/MenuImages" and map them to "gtk-button-images" and 
2384         "gtk-menu-images".
2385
2386         * gtk/gtkimagemenuitem.c: Add a boolean setting "gtk-menu-images" and 
2387         use it to set the visibility of the embedded image.
2388
2389         * gtk/gtkbutton.c: Add a boolean setting "gtk-button-images" and use
2390         it to set the visibility of an embedded image.
2391
2392 Thu Feb 19 21:26:10 2004  Matthias Clasen  <maclas@gmx.de>
2393
2394         * gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full): 
2395         Give each radio action its own value.  (#134889, Paolo Borelli)
2396
2397 2004-02-19  Federico Mena Quintero  <federico@ximian.com>
2398
2399         * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_finalize):
2400         Chain to the parent's ::finalize() handler.  Fixes #134885; caught
2401         by Jan Arne Petersen.
2402
2403 2004-02-19  Mark McLoughlin  <mark@skynet.ie>
2404
2405         Make the entire expander widget width prelight as suggested
2406         by Seth in bug #134263.
2407
2408         * gtk/gtkexpander.c:
2409         (gtk_expander_paint_prelight): impl.
2410         (gtk_expander_paint): use it.
2411         (gtk_expander_redraw_expander): don't only redraw the
2412         arrow when prelit.
2413
2414 2004-02-19  Alexander Larsson  <alexl@redhat.com>
2415
2416         * gtk/gtkfilechooser.c: (gtk_file_chooser_class_init):
2417         * gtk/gtkfilechooserutils.c:
2418         * gtk/gtkfilechooserutils.h:
2419         * gtk/gtkfilechooserwidget.c:
2420         Remove old file-system property.
2421         Add new file-system-backend string property
2422         
2423         * gtk/gtkfilechooserdefault.[ch]:
2424         Handle the file-system-backend property
2425         
2426         * gtk/gtkfilechooserdialog.[ch]:
2427         (gtk_file_chooser_dialog_new_with_backend):
2428         Remove old file-system property.
2429         Add new file-system-backend string property
2430         Add new function gtk_file_chooser_dialog_new_with_backend
2431         
2432         * gtk/gtkfilesystem.c: 
2433         * gtk/gtkfilesystem.h:
2434         Add filesystem module support.  
2435
2436 2004-02-18  Federico Mena Quintero  <federico@ximian.com>
2437
2438         * gtk/gtkfilechooserdefault.c (shortcuts_tree_create): Renamed
2439         from create_shortcuts_tree().
2440         (shortcuts_pane_create): New function.
2441         (button_new): Renamed from toolbar_button_new().
2442         (shortcuts_pane_create): New function, create the whole shortcuts
2443         pane here.
2444         (current_folder_create): Renamed from toolbar_create().  Don't
2445         create the bookmarks buttons here.
2446         (file_pane_create): New function.
2447         (gtk_file_chooser_default_constructor): Use the new helper
2448         functions, and don't use an extra vbox as GtkFileChooserDefault is
2449         already a vbox.
2450
2451 Thu Feb 19 01:39:30 2004  Matthias Clasen  <maclas@gmx.de>
2452
2453         * gtk/gtkuimanager.h: 
2454         * gtk/gtkuimanager.c (gtk_ui_manager_class_init): Add
2455         default handlers for all signals; for consistency and for the
2456         benefit of language bindings which still rely on header parsing
2457         to find the signals.  (#134269, Jeroen Zwartepoorte)
2458         
2459 Thu Feb 19 00:45:02 2004  Matthias Clasen  <maclas@gmx.de>
2460
2461         * gtk/gtktreeselection.c (gtk_tree_selection_get_selected_rows): 
2462         Improve the efficiency here by prepending on the list and reverting
2463         it after the loop.  (#134435, Christian Biere)
2464
2465 Thu Feb 19 00:32:21 2004  Matthias Clasen  <maclas@gmx.de>
2466
2467         * gtk/gtkplug.c (_gtk_plug_remove_from_socket): Avoid errors when
2468         removing the plug from the socket.  (#128546, Christopher Blizzard)
2469
2470 Thu Feb 19 00:09:35 2004  Matthias Clasen  <maclas@gmx.de>
2471
2472         * gtk/gtkradiomenuitem.h:
2473         * gtk/gtkradiomenuitem.c (gtk_radio_menu_item_new_from_widget): 
2474         (gtk_radio_menu_item_new_with_label_from_widget): 
2475         (gtk_radio_menu_item_new_with_mnemonic_from_widget): New
2476         convenience functions analogous to similar API on GtkRadioButton.
2477         (#51700, Vitaly Tishkov, patch by Soeren Sandmann)
2478
2479 Wed Feb 18 17:53:27 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2480
2481         * gdk/gdkwindow.c (gdk_window_get_bg_gc): Use a scratch GC in the
2482         case where the background is a solid color.
2483         (gdk_window_clear_backing_rect): Reset the clip region after use.
2484
2485         * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_threshold_alpha): Go
2486         back to using a scratch GC. Pointed out by Owen Taylor
2487         
2488         * gdk/gdkdraw.c (gdk_drawable_real_draw_pixbuf): Only use a
2489         scratch GC if the passed-in one is NULL
2490
2491 Wed Feb 18 14:27:08 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2492
2493         * gdk/gdkwindow.c (gdk_window_get_composite_drawable): Reset clip
2494         region back to NULL on cached GC (rest of #134728)
2495
2496 Wed Feb 18 13:28:57 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2497
2498         Fix bug reported by Nam SungHyun (#134728)
2499         
2500         * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_threshold_alpha):
2501         Don't use a cached GC here since the function needs to modify the
2502         foreground color.
2503
2504         * gdk/gdkwindow.c (gdk_window_end_paint): Reset clip region back
2505         to NULL on the cached GC.
2506
2507 2004-02-17  Federico Mena Quintero  <federico@ximian.com>
2508
2509         * gtk/gtkfilechooserdialog.c
2510         (gtk_file_chooser_dialog_style_set): Use HIG-compliant spacings.
2511         This sucks a lot.
2512
2513 Wed Feb 18 02:03:47 2004  Matthias Clasen  <maclas@gmx.de>
2514
2515         * gtk/gtktextbuffer.c (gtk_text_buffer_class_init): Document some
2516         peculiarities of the ::delete_range signal.  (#132135, Grant Gayed)
2517
2518 Wed Feb 18 01:44:59 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2519
2520         GC caching, bug #125645 (based on patch by Brian Cameron)
2521         
2522         * gdk/gdkscreen.h (struct _GdkScreen): Add GC cache
2523         * gdk/gdkscreen.c (gdk_screen_dispose): New function. Unref the
2524         cached GC's here.
2525         * gdk/gdkdraw.c (_gdk_drawable_get_scratch_gc): New function to
2526         get a scratch gc.
2527         * gdk/gdkinternals.h: Declare the function here
2528
2529         * gdk/gdkdraw.c (gdk_drawable_real_draw_pixbuf): Use
2530         _gdk_drawable_get_scratch_gc() instead of creating a new GC.
2531         * gdk/x11/gdkgeometry-x11.c (gdk_window_copy_area_scroll): same
2532         * gdk/x11/gdkdrawable-x11.c (draw_with_images): same
2533         * gdk/gdkwindow.c (gdk_window_get_composite_drawable): same
2534         * gdk/gdkwindow.c (gdk_window_end_paint): same
2535         * gdk/gdkpixmap.c (gdk_pixmap_colormap_new_from_pixbuf): same
2536         * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_threshold_alpha): same
2537         * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_pixmap_and_mask_for_colormap): same
2538
2539 Tue Feb 17 23:28:33 2004  Matthias Clasen  <maclas@gmx.de>
2540
2541         * gtk/gtkmenu.c (gtk_menu_init): ...and don't forget to initalize
2542         priv->columns to 1.
2543
2544 Tue Feb 17 23:11:21 2004  Matthias Clasen  <maclas@gmx.de>
2545
2546         * gtk/gtkmenu.c (gtk_menu_do_remove): Make sure that we keep
2547         priv->columns >= 1 even for empty menus, since we divide by it
2548         somewhere else.  (#133428, Vincent Noel)
2549
2550 Tue Feb 17 23:02:58 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2551
2552         Fix for #119722, reported by Olexiy Avramchenko, patch by Owen
2553         Taylor.
2554
2555         * gdk/x11/gdkprivate-x11.h (struct _GdkGCX11): Add a depth field
2556
2557         * gdk/x11/gdkgc-x11.c (_gdk_x11_gc_new): Keep track of the GC's
2558         depth.
2559
2560         * gdk/x11/gdkgc-x11.c (_gdk_gc_x11_get_fg_xft_color): First query
2561         the colormap, if no colormap, special case depth 1, 
2562
2563         * gdk/x11/gdkgc-x11.c (_gdk_x11_gc_get_fg_picture): Use
2564         _gdk_gc_x11_get_fg_xft_color() to get the foreground color.
2565
2566         * gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_get_xft_draw):
2567         Special-case bitmaps without a colormap.
2568
2569         * gdk/x11/gdkdrawable-x11.c (gdk_x11_draw_pixbuf): Use inherited
2570         draw_pixbuf() implementation in the bitmap case.
2571
2572 2004-02-17  Mark McLoughlin  <mark@skynet.ie>
2573
2574         * modules/input/Makefile.am: only reference input method
2575         modules we've actually built. Fixes re-build failure with
2576         stale hangul module lying aroung. Bug #134518.
2577
2578 Mon Feb 16 19:13:21 2004  Owen Taylor  <otaylor@redhat.com>
2579
2580         * gdk/gdkdraw.c: Revert last commit, please don't commit patches
2581         without approval, this isn't the right way to do it.
2582
2583 2004-02-16  DindinX  <david@dindinx.org>
2584
2585         * gdk/gdkdraw.c (gdk_draw_segments): don't try to draw more than 32767
2586         segments at a time, since XDrawSegments cannot handle more than this.
2587
2588         fixes bug #122026.
2589         
2590 Mon Feb 16 18:26:39 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2591
2592         * gtk/gtktoolbar.c (gtk_toolbar_set_child_property): Call
2593         gtk_tool_item_set_expand(), not gtk_tool_item_set_homogeneous()
2594         in the CHILD_PROP_EXPAND branch. (#134543, Damon Chaplin)
2595
2596 Mon Feb 16 00:04:46 2004  Matthias Clasen  <maclas@gmx.de>
2597
2598         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_*): 
2599         Split declaration and assignment of combo_box.
2600         
2601         * gtk/gtkcombobox.c (gtk_combo_box_list_setup): Remove a 
2602         pointless cast
2603
2604 Sun Feb 15 22:08:53 2004  Matthias Clasen  <maclas@gmx.de>
2605
2606         * gtk/gtkoptionmenu.c (gtk_option_menu_get_history): Add 
2607         deprecation note pointing people to GtkComboBox.
2608
2609 Sun Feb 15 02:49:45 2004  Matthias Clasen  <maclas@gmx.de>
2610
2611         * gtk/gtktreednd.c: 
2612         * gtk/gtktreeview.c: Document the tree DND API.
2613
2614         * gtk/gtktreeview.c (gtk_tree_view_unset_rows_drag_source): 
2615         Call gtk_drag_source_unset().  
2616         
2617 Sun Feb 15 00:49:59 2004  Matthias Clasen  <maclas@gmx.de>
2618
2619         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_class_init): 
2620         Make stock_size an uint property, to allow custom icon 
2621         sizes. Also clarify the blurb.  (#130047, Erik Grinaker)
2622
2623 Sat Feb 14 11:05:26 2004  Manish Singh  <yosh@gimp.org>
2624
2625         * configure.in: Remove unnecessary STRIP_* definitions, and GNU
2626         make check.
2627
2628 2004-02-13  Federico Mena Quintero  <federico@ximian.com>
2629
2630         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_add_bookmark):
2631         Duh, duh, duh!  Don't bail out if the bookmarks file doesn't exist
2632         the very first time you try to save one.
2633
2634 2004-02-13  Federico Mena Quintero  <federico@ximian.com>
2635
2636         Fix #129020.
2637
2638         * gtk/gtkfilechooserdialog.c
2639         (set_default_size): New function, sets a reasonable default size
2640         for the window.
2641         (gtk_file_chooser_dialog_realize): New function, call
2642         set_default_size().
2643         (gtk_file_chooser_dialog_style_set): Likewise.
2644         (gtk_file_chooser_dialog_screen_changed): Likewise.
2645
2646         * tests/testfilechooser.c (main): Don't set a default size for the
2647         dialog.
2648
2649 Sat Feb 14 00:05:18 2004  Matthias Clasen  <maclas@gmx.de>
2650
2651         * gtk/gtktreemodelfilter.c (bsearch_elt_with_offset): 
2652         Use do instead of while.  (#134031, Morten Welinder);
2653
2654 Sat Feb 14 00:00:52 2004  Matthias Clasen  <maclas@gmx.de>
2655
2656         * configure.in: Suppress xsltproc and xmlcatalog checks
2657         if enable_man=no.  (#134162, Julio M. Merino Vidal)
2658
2659 Fri Feb 13 23:54:48 2004  Matthias Clasen  <maclas@gmx.de>
2660
2661         * configure.in: Remove checks for sgml2html. It was once
2662         used for building the linuxdoc version of the tutorial.
2663         Nowadays, we use db2html.  (#134164, Julio M. Merino Vidal)
2664
2665 Fri Feb 13 08:17:43 2004  Owen Taylor  <otaylor@redhat.com>
2666
2667         Fix various compilation problems (#134312, David
2668         Hawthorne)
2669
2670         * gtk/gtkscale.c (gtk_scale_get_layout_offsets): Use 
2671         g_return_if_fail(), not g_return_val_if_fail().
2672
2673         * gtk/gtkvscale.c (gtk_vscale_get_layout_offsets): 
2674         * gtk/gtkhscale.c (gtk_hscale_get_layout_offsets): Use 
2675         g_return_if_reached(), not g_return_val_if_reached().
2676         
2677         * gtk/gtkvscale.c (gtk_vscale_expose): Fix the types
2678         of some parameters.
2679
2680         * gtk/gtkhscale.c (gtk_hscale_get_layout_offsets): Remove
2681         extra 'scale' parameter.
2682
2683 Thu Feb 12 21:58:20 2004  Owen Taylor  <otaylor@redhat.com>
2684
2685         Various reentrancy fixes for widgets being destroyed
2686         out of focus-out-event. (#128821, Grant Gayed)
2687
2688         * gtk/gtkwindow.c (_gtk_window_unset_focus_and_default): 
2689         Ref window and widget over callbacks.
2690
2691         * gtk/gtkwidget.c (gtk_widget_hide)
2692           gtk/gtkwidget.c (gtk_widget_set_child_visible):
2693         Ref the widget before calling _gtk_window_unset_focus_and_default(),
2694         since that can call user callbacks.
2695
2696         * gtk/gtkwidget.c (gtk_widget_invalidate_widget_windows):
2697         Do nothing if the widget isn't realized.
2698
2699 Fri Feb 13 01:31:44 2004  Matthias Clasen  <maclas@gmx.de>
2700
2701         * gtk/gtkbutton.c (_gtk_button_paint): Don't draw bevels around
2702         active, RELIEF_NONE buttons that aren't depressed. This improves
2703         the appearance of buttons in notebook tabs.  (#109213, reported
2704         by Benjamin Otte, patch by Rodney Dawes)
2705
2706 Fri Feb 13 01:06:08 2004  Matthias Clasen  <maclas@gmx.de>
2707
2708         * demos/gtk-demo/main.c (read_line): Protect getc_unlocked() by 
2709         HAVE_FLOCKFILE in all cases.  (#134205, Julio M. Merino Vidal)
2710
2711 Fri Feb 13 00:54:59 2004  Matthias Clasen  <maclas@gmx.de>
2712
2713         Fix for #104811, Padraig O'Briain:
2714
2715         * gtk/gtkscale.h:
2716         * gtk/gtkscale.c (_gtk_scale_clear_layout): 
2717         * gtk/gtkscale.c (gtk_scale_get_layout_offsets): 
2718         * gtk/gtkscale.c (gtk_scale_get_layout): New functions to determine the
2719         text and its position from a GtkScale, to make it more accessible. 
2720         * gtk/gtkhscale.c (gtk_hscale_get_layout_offsets):
2721         * gtk/gtkvscale.c (gtk_vscale_get_layout_offsets): Implementations of the 
2722         new GtkScale vfunc.
2723
2724 Thu Feb 12 17:59:52 2004  Owen Taylor  <otaylor@redhat.com>
2725
2726         * gtk/gtkicontheme.c (gtk_icon_theme_get_search_path): 
2727         Remove an extraneous + 1 (#134015, Torsten Schoenfeld)
2728
2729 Thu Feb 12 23:55:08 2004  Matthias Clasen  <maclas@gmx.de>
2730
2731         * gtk/gtktooltips.h:
2732         * gtk/gtktooltips.c (gtk_tooltips_get_info_from_tip_window): New 
2733         function to improve the accessibility of tooltips.  (#114851, 
2734         Padraig O'Briain)
2735
2736 Thu Feb 12 23:16:04 2004  Matthias Clasen  <maclas@gmx.de>
2737
2738         * gtk/gtkcombobox.c (gtk_combo_box_popup): 
2739         * gtk/gtkcombobox.c (gtk_combo_box_popdown): Make these public and
2740         add docs.  (#132847)
2741
2742 Thu Feb 12 11:05:16 2004  Manish Singh  <yosh@gimp.org>
2743
2744         * gdk/x11/gdkproperty-x11.c (gdk_property_get): Assign xtype using
2745         gdk_x11_atom_to_xatom_for_display () when type != GDK_NONE.
2746
2747         * gtk/gtkselection.c (_gtk_selection_request): Use GDK_NONE in
2748         gdk_property_get call instead of 0.
2749
2750         * docs/reference/gdk/tmpl/properties.sgml: Document the above
2751         as GDK_NONE instead of simply 0.
2752
2753 Thu Feb 12 15:46:26 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
2754
2755         * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Fix up item_area
2756         correctly in RTL mode. (#133984, patch from Semion Chichelnitsky).
2757
2758 Thu Feb 12 02:22:02 2004  Matthias Clasen  <maclas@gmx.de>
2759
2760         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_set_modify_func): 
2761         Correct the docs.
2762
2763 Thu Feb 12 01:17:01 2004  Matthias Clasen  <maclas@gmx.de>
2764
2765         * gtk/gtktreeview.c (gtk_tree_view_enable_model_drag_source): Call
2766         gtk_drag_source_set(), so that things like gtk_drag_set_icon_*() work
2767         for automatic DND.  (#133485, Tommi Komulainen)
2768
2769 Thu Feb 12 00:37:00 2004  Matthias Clasen  <maclas@gmx.de>
2770
2771         * gdk/x11/gdkproperty-x11.c (gdk_property_change): Fix misleading
2772         debug output.
2773
2774 2004-02-11  Federico Mena Quintero  <federico@ximian.com>
2775
2776         * gtk/gtkmessagedialog.c (gtk_message_dialog_map): New ::map()
2777         handler.  If no widget has the focus, try to give it to the
2778         default widget.  If there is no default widget, give it to the
2779         first button.  Fixes the cause for which #59707 was reopened.
2780
2781 2004-02-11  Federico Mena Quintero  <federico@ximian.com>
2782
2783         Fixes #134051.
2784
2785         * gtk/gtkicontheme.c (struct _GtkIconInfo): Remove the ref_count field.
2786         (icon_info_new): Don't initialize the ref_count field.
2787
2788 2004-02-11  Federico Mena Quintero  <federico@ximian.com>
2789
2790         * gtk/gtkicontheme.c (gtk_icon_theme_prepend_search_path): Shift
2791         the array correctly.  Fixes #134055, patch by Tosten Schoenfeld
2792         <kaffeetisch@gmx.de>.
2793
2794 Wed Feb 11 02:23:39 2004  Matthias Clasen  <maclas@gmx.de>
2795
2796         * gtk/gtkcontainer.c (gtk_container_real_set_focus_child): Handle
2797         focus [hv]adjustment correctly when the focus is located deeper
2798         down in the hierarchy.  (#133489)
2799
2800 Wed Feb 11 02:06:38 2004  Matthias Clasen  <maclas@gmx.de>
2801
2802         * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): Remove 
2803         arbitrary low upper limits on the xpad, ypad, width and height
2804         properties.  (#129696, John Ellis)
2805
2806 Wed Feb 11 01:24:20 2004  Matthias Clasen  <maclas@gmx.de>
2807
2808         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_clear_attributes): 
2809         Ugh. Don't try to free ints, even if they're stored in pointers.
2810         (#133997, Morten Welinder)
2811
2812 2004-02-10  Federico Mena Quintero  <federico@ximian.com>
2813
2814         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
2815         Free the filters.  Fixes #133547, patch by Morten Welinder
2816         <mortenw@gnome.org>.
2817
2818 Tue Feb 10 12:02:14 2004  Owen Taylor  <otaylor@redhat.com>
2819
2820         * gdk/x11/xsettings-client.c (read_settings): Avoid
2821         triggering an X error when the client->manager_window
2822         is None...makes logs look cleaner.
2823
2824         * gdk/x11/gdkproperty-x11.c (gdk_property_get): Handle
2825         GDK_NONE to mean AnyPropertyType as documented. (Reported 
2826         by Yu Shao)
2827
2828         * gdk/x11/gdkevents-x11.c (fetch_net_wm_check_window,
2829         gdk_x11_screen_get_window_manager_name): Fix error trap
2830         we've been leaking since 2002... (#129538)
2831
2832 2004-02-10  Federico Mena Quintero  <federico@ximian.com>
2833
2834         Fixes the entry-related part of #133852.
2835
2836         * gtk/gtkfilechooserdefault.c (update_chooser_entry): Don't change
2837         the file part of the entry if the selected item is a folder.
2838
2839 2004-02-10  Federico Mena Quintero  <federico@ximian.com>
2840
2841         Fixes #133995, patch by Morten Welinder <mortenw@gnome.org>.
2842
2843         * tests/prop-editor.c (create_prop_editor): Free the title.
2844         (object_changed): Free the children list.
2845
2846 Tue Feb 10 01:58:55 2004  Matthias Clasen  <maclas@gmx.de>
2847
2848         * gtk/gtkcontainer.c (gtk_container_set_focus_hadjustment): 
2849         * gtk/gtkcontainer.c (gtk_container_set_focus_vadjustment): Document 
2850         these functions.
2851
2852 2004-02-09  Federico Mena Quintero  <federico@ximian.com>
2853
2854         * gtk/gtkfilechooserdefault.c (set_list_model): Request
2855         GTK_FILE_INFO_ALL from the file system model, so that arbitrary
2856         filtering will work.  Perhaps we should have a way of aggregating
2857         info types to the model as filters get installed.
2858
2859 Mon Feb  9 22:22:19 2004  Matthias Clasen  <maclas@gmx.de>
2860
2861         * gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear_attributes): 
2862         Ugh. Don't try to free ints, even if they're stored in pointers.
2863
2864 2004-02-09  Federico Mena Quintero  <federico@ximian.com>
2865
2866         Fix #132256.
2867
2868         * gtk/gtkfilechooserdefault.c
2869         (gtk_file_chooser_default_get_paths): Read the contents of the
2870         filename entry in both OPEN and SAVE mode.  In multiple-selection
2871         mode, add this to the selection from the file/folder list.
2872         (struct get_paths_closure): Add a path_from_entry field.
2873         (get_paths_foreach): Only add the iterated path if it is not the
2874         same as the path from the entry.
2875
2876 2004-02-09  Federico Mena Quintero  <federico@ximian.com>
2877
2878         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_folder): If
2879         the folder is already open, add the requested info types to it.
2880
2881 Sun Feb  8 01:28:02 2004  Manish Singh  <yosh@gimp.org>
2882
2883         * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Add appropriate
2884         type casts for the gtk_window_set_screen() call.
2885
2886 Sun Feb  8 01:44:06 2004  Matthias Clasen  <maclas@gmx.de>
2887
2888         * gtk/gtkcombobox.c (gtk_combo_box_set_popup_widget): Make popups 
2889         come up on the same screen as the combo box.  (#133544, 
2890         Morten Welinder)
2891
2892 Fri Feb  6 23:40:24 2004  Jonathan Blandford  <jrb@gnome.org>
2893
2894         * gtk/gtkfilechooserdefault.c (create_file_list): clean up the
2895         packing of the file selector.
2896
2897 Sat Feb  7 01:21:09 2004  Matthias Clasen  <maclas@gmx.de>
2898
2899         * gtk/gtktreemodel.c (gtk_tree_model_base_init): Don't use function 
2900         calls in array initializers, as some compilers seem to hate this.
2901         (#133216, Jonas Jonsson)
2902
2903 Sat Feb  7 00:06:44 2004  Matthias Clasen  <maclas@gmx.de>
2904
2905         * gtk/gtkaccelmap.[hc]: Add change notification for GtkAccelMap,
2906         by on-demand instantiating a singleton object with a "changed" 
2907         signal. 
2908
2909         * gtk/gtkmarshalers.list (VOID:STRING,UINT,FLAGS): Add marshaller
2910         for GtkAccelMap::changed.
2911
2912 Fri Feb  6 23:08:29 2004  Matthias Clasen  <maclas@gmx.de>
2913
2914         * gtk/gtktextbtree.c (_gtk_text_btree_check): 
2915         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_clear_attributes): 
2916         * gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear_attributes): 
2917         Actually free the lists. Pointed out by Morten Welinder.
2918         
2919 Fri Feb  6 22:38:54 2004  Matthias Clasen  <maclas@gmx.de>
2920
2921         * gtk/gtkcombo.c (gtk_combo_entry_key_press): Handle character 
2922         positions in UTF-8 strings correctly.  (#133315, Theppitak 
2923         Karoonboonyanan)
2924
2925 2004-02-06  Morten Welinder  <terra@gnome.org>
2926
2927         * gtk/gtktoolbar.c (show_menu): Cleanup using
2928         gtk_menu_attach_to_widget.  Also fixes leak, see #133411.
2929
2930 2004-02-06  Federico Mena Quintero  <federico@ximian.com>
2931
2932         * gtk/gtkfilechooserdefault.c (shortcuts_add_volumes): Free the
2933         list.  Fixes #133546.
2934
2935 2004-02-06  Federico Mena Quintero  <federico@ximian.com>
2936
2937         Fix #132327.
2938
2939         * gtk/gtkfilesystemunix.c (struct _GtkFileSystemUnix): Add a
2940         folder_hash field to keep a list of live folder objects.
2941         (gtk_file_system_unix_init): Create the folder_hash.
2942         (gtk_file_system_unix_finalize): Destroy the folder_hash.
2943         (gtk_file_system_unix_get_folder): Ref and return an existing
2944         folder if we have it around, otherwise return a new folder object.
2945         (struct _GtkFileFolderUnix): Add a field for the parent file system.
2946         (gtk_file_folder_unix_finalize): Remove the folder from the file
2947         system's hash table.
2948         (gtk_file_system_unix_create_folder):  Emit "files-added" on the
2949         newly-created folder's parent.  Fixes #132327.
2950
2951 Fri Feb  6 00:51:57 2004  Matthias Clasen  <maclas@gmx.de>
2952
2953         * gtk/gtkstock.c (builtin_items): Change the labels of the 
2954         ZOOM_100 and ZOOM_FIT stock items to "_Normal Size" and
2955         "Best _Fit", to be HIG compliant.  (#124080, Mariano 
2956         Suárez-Alvarez)
2957
2958 Fri Feb  6 00:45:16 2004  Matthias Clasen  <maclas@gmx.de>
2959
2960         * gtk/gtkcombobox.c (gtk_combo_box_finalize): Add a finalize 
2961         function to plug a few memory leaks.  (#133544, Morten Welinder)
2962
2963 Fri Feb  6 00:15:38 2004  Matthias Clasen  <maclas@gmx.de>
2964
2965         * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_mnemonic_activate): 
2966         Support mnemonic_activate here as well.
2967         
2968         * gtk/gtkcombobox.c (gtk_combo_box_mnemonic_activate): Focus
2969         the button, not the tree_view.
2970
2971 Thu Feb  5 23:48:19 2004  Matthias Clasen  <maclas@gmx.de>
2972
2973         * gtk/gtkcombobox.c (gtk_combo_box_mnemonic_activate): Add this
2974         function, to make mnemonic_activate work for combo boxes.
2975         (#133443, Paolo Borelli)
2976
2977 Thu Feb  5 22:05:52 2004  Matthias Clasen  <maclas@gmx.de>
2978
2979         * gtk/gtkfilesystemunix.c (bookmark_list_read): Initialize result
2980         to FALSE.  (#133539, Morten Welinder)
2981
2982 Thu Feb  5 21:36:43 2004  Matthias Clasen  <maclas@gmx.de>
2983
2984         * gtk/gtkcombobox.c (gtk_combo_box_set_active_iter): Fix the logic
2985         of the depth one check.  (#133488, Christian Persch)
2986
2987 Thu Feb  5 01:50:19 2004  Matthias Clasen  <maclas@gmx.de>
2988
2989         * gtk/gtktearoffmenuitem.c (gtk_tearoff_menu_item_paint): Fix
2990         the drawing of tearoff menu items which don't come first in their
2991         menu.  (#33311)
2992
2993 Thu Feb  5 00:59:08 2004  Matthias Clasen  <maclas@gmx.de>
2994
2995         * gtk/gtkcombo.c (gtk_combo_entry_key_press): Use 
2996         g_completion_complete_utf8(). (#133313, Theppitak Karoonboonyanan)
2997
2998 2004-02-04  Federico Mena Quintero  <federico@ximian.com>
2999
3000         Fix #59707.
3001
3002         * gtk/gtklabel.c (gtk_label_focus): Removed, so we don't ignore
3003         the focus chain.
3004         (gtk_label_button_press): Fix prototype.
3005         (gtk_label_button_release): Likewise.
3006         (gtk_label_motion): Likewise.
3007
3008         * tests/testgtk.c (create_message_dialog): For the dialog with
3009         only GTK_BUTTONS_CLOSE, make GTK_RESPONSE_CLOSE the default.
3010
3011 2004-02-04  Morten Welinder  <terra@gnome.org>
3012
3013         * gtk/gtktoolbar.c (show_menu): Show on the right screen.  (Fixes
3014         bug 133411, apart from the leak.)
3015
3016 Tue Feb  3 13:39:27 2004  Manish Singh  <yosh@gimp.org>
3017
3018         * gtk/gtkadjustment.c (gtk_adjustment_new): pass value in last
3019         in g_object_new, since it depends on lower and upper being set.
3020
3021 2004-02-03  Federico Mena Quintero  <federico@ximian.com>
3022
3023         * gtk/gtkmessagedialog.c (gtk_message_dialog_init): Make the
3024         window not resizable.  Fixes #114032.
3025
3026 2004-02-03  Federico Mena Quintero  <federico@ximian.com>
3027
3028         * gtk/gtkmessagedialog.c (gtk_message_dialog_class_init): Add
3029         documentation for the use_separator style property.
3030
3031 2004-02-03  Federico Mena Quintero  <federico@ximian.com>
3032
3033         Fix #68938.
3034
3035         * gtk/gtkdialog.c (GtkDialogPrivate): New private structure for
3036         GtkDialog; right now it only contains an ignore_separator field.
3037         (gtk_dialog_class_init): Register the private structure.
3038         (gtk_dialog_init): Initialize the priv->ignore_separator field.
3039         (_gtk_dialog_set_ignore_separator): New private function.
3040         (gtk_dialog_set_has_separator): Ignore the setting if appropriate.
3041
3042         * gtk/gtkmessagedialog.c (gtk_message_dialog_class_init): Add a
3043         use_separator style property.
3044         (gtk_message_dialog_style_set): Change the dialog's separator
3045         based on the style property.
3046         (gtk_message_dialog_init): Set the dialog box to ignore the
3047         separator setting.
3048
3049 Tue Feb  3 02:35:09 2004  Matthias Clasen  <maclas@gmx.de>
3050
3051         * gtk/Makefile.am: Build filesystemwin32.c if OS_WIN32 and
3052         also dist gtkfilesystemwin32.[hc].
3053
3054 Tue Feb  3 02:04:44 2004  Matthias Clasen  <maclas@gmx.de>
3055
3056         * gtk/gtklabel.c (gtk_label_ensure_layout): Right-justify labels
3057         in rtl mode.  (#129071, chinen@jp.ibm.com)
3058
3059 Tue Feb  3 02:01:25 2004  Matthias Clasen  <maclas@gmx.de>
3060
3061         * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current): Exchange the
3062         meaning GTK_MENU_DIR_PARENT/CHILD and GTK_MENU_DIR_PREV/NEXT in rtl
3063         mode.  (#107528)
3064
3065 Tue Feb  3 01:38:06 2004  Matthias Clasen  <maclas@gmx.de>
3066
3067         Clip narrow columns in rtl-oriented tree views (#128089,  
3068         chinen@jp.ibm.com):
3069         
3070         * gtk/gtkstyle.c (gtk_default_draw_option): 
3071         * gtk/gtkstyle.c (gtk_default_draw_check): Clip to the 
3072         given area.
3073
3074         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action): 
3075         Use the right clip area when calling gtk_cell_renderer_render().
3076         * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_cell_draw_focus): 
3077         Use the right clip area when calling gtk_paint_focus().
3078         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render): 
3079         Use the right clip area when calling gtk_paint_toggle() or
3080         gtk_paint_check().
3081         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render): 
3082         Clip to the expose_area when drawing the background rectangle.
3083         
3084 Tue Feb  3 00:14:36 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3085
3086         * gdk/x11/gdkgeometry-x11.c (queue_item_free, gdk_window_queue):
3087         Use a weak reference instead of ref()/unref(). (#60857, reported
3088         by Joshua N Pritikin)
3089
3090         * gdk/gdkimage.c (scratch_image_info_for_depth): Formatting fix.
3091
3092 Tue Feb  3 00:15:17 2004  Matthias Clasen  <maclas@gmx.de>
3093
3094         * gtk/gtktreeprivate.h (struct _GtkTreeViewPrivate): Add 
3095         init_hadjust_value and prev_width.
3096         * gtk/gtktreeview.c (gtk_tree_view_init): Initialize 
3097         them here.
3098         * gtk/gtktreeview.c (gtk_tree_view_update_size): ...and here.
3099         * gtk/gtktreeview.c (gtk_tree_view_size_allocate): Use them
3100         here to properly handle the initial position of rtl-oriented
3101         tree views.  (#127581, chinen@jp.ibm.com)
3102
3103 2004-01-20  Federico Mena Quintero  <federico@ximian.com>
3104
3105         Fix #130846, reported by R. McFarland <rwmcfa1@neces.com>.
3106
3107         * gtk/gtktreeview.c (gtk_tree_view_button_press): Return TRUE when
3108         we handle an event in the colums, and FALSE at the end if the
3109         event is not handled at all.
3110
3111 Mon Feb  2 23:41:48 2004  Matthias Clasen  <maclas@gmx.de>
3112
3113         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_changed): 
3114         Don't access the level after removing the node, since that may
3115         kill the level.  (#132615, Crispin Flowerday)
3116
3117 2004-02-02  Tor Lillqvist  <tml@iki.fi>
3118
3119         * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): Set the cursor
3120         in all cases. If no grab cursor specified, use the grabbing
3121         window's cursor. If the grabbing window has no cursor, use the
3122         default arrow cursor. (#118025)
3123
3124 Mon Feb  2 22:05:36 2004  Matthias Clasen  <maclas@gmx.de>
3125
3126         * gtk/gtkseparatormenuitem.c (gtk_separator_menu_item_init): The
3127         latest in menu separation technology.
3128
3129 Mon Feb  2 19:04:17 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3130
3131         * gdk/x11/gdkwindow-x11.c: Assume gravity works. (Anything else
3132         we have to take our chances with).
3133         
3134         (Bug 97510)
3135
3136 Mon Feb  2 18:45:28 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3137
3138         Fix bug 110224.
3139
3140         * gdk/x11/gdkfont-x11.c (gdk_font_from_description_for_display):
3141         Remove unused variable 'result'
3142
3143         * gdk/x11/xsettings-client.[ch]: Add new set_grab/ungrab_func() functions.
3144
3145         * gdk/x11/gdkevents-x11.c (_gdk_x11_events_init_screen): Use them
3146         here.
3147
3148 Mon Feb  2 14:32:32 2004  Pablo Saratxaga  <pablo@mandrakesoft.com>
3149
3150         * configure.in po/uz*.po: changed default for Uzbek; now just "uz"
3151         is in cyrillic and "uz@Latn" for latin; "uz@Cyrl" has been removed
3152
3153 Sun Feb  1 16:34:07 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3154
3155         * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Only start
3156         sliding when using the new API.
3157
3158 Sun Feb  1 16:03:39 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3159
3160         * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Make sure
3161         item_area is positioned correctly. Fix #133070, reported by Jeroen
3162         Zwartepoorte.
3163
3164 Sat Jan 31 23:13:43 2004  Matthias Clasen  <maclas@gmx.de>
3165
3166         * gtk/gtktextchild.c (gtk_text_child_anchor_finalize): Don't
3167         crash when finalizing an unused GtkTextChildAnchor.  (#132260,
3168         muppet)
3169
3170 Sat Jan 31 22:41:57 2004  Matthias Clasen  <maclas@gmx.de>
3171
3172         * gtk/gtktreemodel.c (gtk_tree_model_rows_reordered): Correct
3173         the documentation for new_order.  (#124790, Tim-Philipp Müller)
3174
3175 Sat Jan 31 22:38:07 2004  Matthias Clasen  <maclas@gmx.de>
3176
3177         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_fixed_width): 
3178         Reset use_resized_width when setting fixed_width.  (#108612, 
3179         Felipe Heidrich) 
3180
3181 Sat Jan 31 16:27:44 2004  Matthias Clasen  <maclas@gmx.de>
3182
3183         * gtk/gtkmain.c (gtk_key_snooper_remove): Don't leak the
3184         GtkKeySnooperData.  (#132038, R. McFarland)
3185
3186 2004-01-30  Federico Mena Quintero  <federico@ximian.com>
3187
3188         Fixes #132975.
3189
3190         * gtk/gtkfilesystem.c (gtk_file_system_make_path): Return NULL,
3191         not FALSE.
3192         (gtk_file_system_volume_render_icon): Likewise.
3193
3194         * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
3195         Likewise.
3196
3197         * gtk/gtktreestore.c (gtk_tree_store_iter_n_children): Return 0,
3198         not FALSE.
3199
3200         * gtk/gtktoolbar.c (gtk_toolbar_get_drop_index): Return -1, not
3201         FALSE.
3202
3203         * gtk/gtktextiter.c (gtk_text_iter_get_chars_in_line): Return 0,
3204         not FALSE.
3205         (gtk_text_iter_get_bytes_in_line): Likewise.
3206
3207         * gdk/x11/gdkcursor-x11.c (gdk_display_get_default_cursor_size):
3208         Likewise.
3209
3210         * gdk/linux-fb/gdkcolor-fb.c (gdk_colors_alloc): Return FALSE, not
3211         0.
3212
3213 2004-01-30  Not Zed  <NotZed@Ximian.com>
3214
3215         Fixes #132929.
3216
3217         * gtk/gtktreeview.c (cancel_arrow_animation): remove the timeout
3218         handler when we clear the timeout id.
3219
3220 2004-01-30  Federico Mena Quintero  <federico@ximian.com>
3221
3222         Fix #129872, based on a patch by Jan Arne Petersen
3223         <jpetersen@uni-bonn.de>
3224
3225         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_list_bookmarks):
3226         Implement.
3227         (gtk_file_system_unix_add_bookmark): Implement.
3228         (gtk_file_system_unix_remove_bookmark): Implement.
3229
3230 2004-01-29  Federico Mena Quintero  <federico@ximian.com>
3231
3232         Fixes #132693.
3233
3234         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_get_parent): Don't
3235         use filename_from_path().  Also, check that the filename is
3236         absolute.
3237         (gtk_file_system_unix_get_folder): Likewise.
3238         (gtk_file_system_unix_create_folder): Likewise.
3239         (gtk_file_system_unix_make_path): Likewise.
3240         (gtk_file_system_unix_parse): Likewise.
3241         (gtk_file_folder_unix_get_info): Likewise.
3242         (filename_from_path): Removed.
3243
3244 2004-01-30  Federico Mena Quintero  <federico@ximian.com>
3245
3246         * gtk/gtkcalendar.c (arrow_action): Remove C++ comment; reported
3247         by Damien Carbery <damien.carbery@sun.com>.  Fixes #132956.
3248
3249 Fri Jan 30 11:37:37 2004  Owen Taylor  <otaylor@redhat.com>
3250
3251         * gdk/x11/gdkdrawable-x11.c: Revert changes from
3252         #113476 and go back to using XftDrawSetClip, because
3253         XftDrawSetClipRectangles is buggy in XFree86-4.3.
3254
3255 Thu Jan 29 18:08:06 2004  Owen Taylor  <otaylor@redhat.com>
3256
3257         * gtk/gtktextlayout.c (line_display_iter_to_index)
3258         * gtk/gtktextlayout.c (line_display_index_to_iter): Only
3259         adjust the preedit position for lines that include the
3260         preedit string. (#132353, Yao Zhang). How the heck
3261         did this work as well as it did?!?!
3262
3263         * modules/input/gtkimcontextxim.c (gtk_im_context_xim_get_ic): 
3264         Reverse change to change of XNFilterEvents event mask from
3265         #110493 -- it's documented and in the Xlib code an
3266         unsigned long. 
3267         
3268         * modules/input/gtkimcontextxim.c (preedit_start_callback): 
3269         Return -1 rather than void to indicate no length limit.
3270         (#129548)
3271
3272 Fri Jan 30 00:45:46 2004  Matthias Clasen  <maclas@gmx.de>
3273
3274         * gtk/gtkadjustment.c: Add properties to GtkAdjustment.
3275         (#64601, Murray Cumming)
3276
3277 Fri Jan 30 00:13:46 2004  Matthias Clasen  <maclas@gmx.de>
3278
3279         * gtk/gtkcombo.c (gtk_combo_set_popdown_strings): Allow NULL
3280         for strings to clear the list.  (#105386, Marco Pesenti Gritti)
3281         
3282 2004-01-28  Richard Hult  <richard@imendio.com>
3283
3284         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size):
3285         Free font_desc.  Fixes #132805.
3286
3287 2004-01-29  Federico Mena Quintero  <federico@ximian.com>
3288
3289         * gtk/gtkiconfactory.c (render_icon_name_pixbuf): Free the GError.
3290         Patch provided by Christian Persch <chpe@stud.uni-saarland.de>
3291         Fixes #132574.
3292
3293 Thu Jan 29 11:00:18 2004  Owen Taylor  <otaylor@redhat.com>
3294
3295         * gtk/gtkselection.c (gtk_selection_default_handler): 
3296         nul-terminate the target atoms. (#132656, Christian Persch)
3297
3298 Thu Jan 29 00:59:03 2004  Matthias Clasen  <maclas@gmx.de>
3299
3300         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_rows_reordered):
3301         Don't leak path if we bail out early.  (#132505, Christian Persch)
3302
3303 Thu Jan 29 00:48:47 2004  Matthias Clasen  <maclas@gmx.de>
3304
3305         * gtk/gtkactiongroup.c (gtk_action_group_add_toggle_actions_full):
3306         * gtk/gtkactiongroup.c (gtk_action_group_add_actions_full): Do
3307         reference counting on the user_data that is shared between
3308         multiple signal handlers, to avoid calling the destroy notify
3309         multiple times.  (#132447, Adam Hooper)
3310
3311 2004-01-28  Hans Breuer  <hans@breuer.org>
3312
3313         * gtk/stock-icons/stock_network_(16|24).png : new GTK_STOCK_NETWORK ...
3314           gtk/gtkstock.[hc] : ... define ...
3315           gtk/gtkiconfactory.c : ... register ...
3316           gtk/stock-icons/Makefile.am gtk/stock-icons/makefile.msc : ... compile ...
3317         * gtk/gtkfilesystemwin32.c : ... and use. Also adapt to recent 
3318         IFace changes.
3319
3320         * gtk/gtk.def : added a bunch of new exported symbols
3321
3322         * tests/testfilechooser.c (no_backup_files_filter) : don't crash
3323         on filter_info->display_name being NULL
3324
3325         * tests/testgtk.c : make testgtk --bench=all work again
3326
3327 Wed Jan 28 21:40:47 2004  Matthias Clasen  <maclas@gmx.de>
3328
3329         * gtk/gtkentrycompletion.c (gtk_entry_completion_action_data_func):
3330         Don't leak string.  (#132482, Christian Persch)
3331
3332 Tue Jan 27 18:45:47 2004  Manish Singh  <yosh@gimp.org>
3333
3334         * m4macros/gtk-2.0.m4: quote AC_DEFUN macro names so automake
3335         1.8 won't whine at us.
3336
3337 2004-01-28  Tor Lillqvist  <tml@iki.fi>
3338
3339         * gdk/win32/gdkevents-win32.c (synthesize_leave_event,
3340         synthesize_enter_event): Don' generate enter or leave events if
3341         the pointer is grabbed with owner_events off, and the grab event
3342         mask doesn't ask for them. (#129242)
3343
3344         (gdk_event_translate): Ditto for focus change events.
3345
3346 2004-01-27  Federico Mena Quintero  <federico@ximian.com>
3347
3348         Fix #132314.
3349
3350         * gtk/gtkfilesystem.h: Removed the #ifdef-ed out, old icon API.
3351
3352         * gtk/gtkfilesystem.c: Likewise.
3353
3354         * gtk/gtkfilesystemunix.c (filename_get_info): Removed the old
3355         icon-type code.
3356         (gtk_file_system_unix_render_icon): Moved the icon-rendering code
3357         from GtkFileInfo to here.
3358         (gtk_file_system_unix_volume_render_icon): Implement.
3359
3360 2004-01-28  Changwoo Ryu  <cwryu@debian.org>
3361
3362         * modules/input/imhangul-defs.h: 
3363         * modules/input/imhangul.c:
3364         * modules/input/Makefile.am: Remove broken hangul input module.
3365         
3366 Tue Jan 27 01:56:46 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3367
3368         * gtk/gtktoolbar.c: Remove obsolete comment.
3369
3370         * gtk/gtktoolbar.c (DEFAULT_SPACE_SIZE, SPACE_LINE_START, 
3371         SPACE_LINE_END): Make separators wider and taller, so they are
3372         easier to pick up when editing the toolbar.
3373
3374         * gtk/gtktoolbar.c (slide_idle_handler): Add a comment, simplify
3375         a bit, 
3376
3377         * gtk/gtktoolbar.c (rect_within): Formatting fix
3378
3379         * gtk/gtktoolbar.c (gtk_toolbar_set_drop_highlight_item): Make
3380         sliding feel more responsive by only restarting sliding when the
3381         placeholder actually changes its goal allocation.
3382
3383 Tue Jan 27 02:00:37 2004  Matthias Clasen  <maclas@gmx.de>
3384
3385         * gtk/gtktreeitem.c (gtk_tree_item_add_pixmaps): Avoid a 
3386         compiler warning.  (#122725, Kjartan Maraas)
3387         
3388 Tue Jan 27 01:46:54 2004  Matthias Clasen  <maclas@gmx.de>
3389
3390         Make menus work better on Xinerama (#126150):
3391         
3392         * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Calculate the 
3393         monitor_num on the screen of the menu, not of the attach widget.
3394
3395         * gtk/gtkmenu.c (menu_change_screen): Forget the stored monitor_num. 
3396         (gtk_menu_window_size_request): Remember the monitor_num.
3397
3398 2004-01-26  Federico Mena Quintero  <federico@ximian.com>
3399
3400         Fix #105497; constify uses of GdkColor.
3401
3402         * gdk/gdkgc.c (gdk_gc_set_rgb_fg_color): Constify.
3403         (gdk_gc_set_rgb_bg_color): Constify.
3404         (gdk_gc_set_foreground): Constify.
3405
3406         * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixmap): Constify.
3407         * gdk/win32/gdkcursor-win32.c (gdk_cursor_new_from_pixmap): Constify.
3408         * gdk/linux-fb/gdkcursor-fb.c (gdk_cursor_new_from_pixmap): Constify.
3409
3410         * gdk/x11/gdkpixmap-x11.c (gdk_pixmap_create_from_data): Constify.
3411         * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_create_from_data): Constify.
3412         * gdk/linux-fb/gdkpixmap-fb.c (gdk_pixmap_create_from_data): Constify.
3413
3414         * gdk/x11/gdkwindow-x11.c (gdk_window_set_background): Constify.
3415         * gdk/win32/gdkwindow-win32.c (gdk_window_set_background): Constify.
3416         * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_background): Constify.
3417
3418         * gdk/gdkpango.c (gdk_draw_layout_line_with_colors): Constify.
3419         (gdk_draw_layout_with_colors): Constify.
3420
3421         * gdk/gdkpixmap.c (gdk_pixmap_colormap_new_from_pixbuf): Constify.
3422         (gdk_pixmap_colormap_create_from_xpm): Constify.
3423         (gdk_pixmap_create_from_xpm): Constify.
3424         (gdk_pixmap_colormap_create_from_xpm_d): Constify.
3425         (gdk_pixmap_create_from_xpm_d): Constify.
3426
3427         * gtk/gtkcellview.c (gtk_cell_view_set_background_color): Constify.
3428
3429         * gtk/gtkclist.c (gtk_clist_set_foreground): Constify.
3430         (gtk_clist_set_background): Constify.
3431
3432         * gtk/gtkcolorbutton.c (gtk_color_button_new_with_color): Constify.
3433         (gtk_color_button_set_color): Constify.
3434
3435         * gtk/gtkcolorsel.c (gtk_color_selection_set_current_color):
3436         Constify and add a check for color != NULL.
3437         (gtk_color_selection_get_current_color): Add a check for color != NULL.
3438         (gtk_color_selection_set_previous_color): Constify and add a check
3439         for color != NULL.
3440         (gtk_color_selection_get_previous_color): Add a check for color != NULL.
3441
3442         * gtk/gtkctree.c (gtk_ctree_node_set_foreground): Constify.
3443         (gtk_ctree_node_set_background): Constify.
3444
3445         * gtk/gtktext.c (gtk_text_insert): Constify.
3446         (insert_text_property): Constify.
3447         (text_properties_equal): Constify.
3448         (new_text_property): Constify.
3449
3450         * gtk/gtkwidget.c (gtk_widget_modify_color_component): Constify.
3451         (gtk_widget_modify_fg): Constify.
3452         (gtk_widget_modify_bg): Constify.
3453         (gtk_widget_modify_text): Constify.
3454         (gtk_widget_modify_base): Constify.
3455
3456 2004-01-26  Christian Rose  <menthos@menthos.com>
3457
3458         * configure.in: Added "mi" to ALL_LINGUAS.
3459
3460 2004-01-25  Tor Lillqvist  <tml@iki.fi>
3461
3462         * gdk/win32/gdkproperty-win32.c (gdk_property_delete): If the
3463         WM_TRANSIENT_FOR property is being deleted, set the owner of the
3464         window to the root window (i.e., effectively unset it). (#132411)
3465
3466         * gdk/win32/gdkprivate-win32.h
3467         * gdk/win32/gdkglobals-win32.c
3468         * gdk/win32/gdkmain-win32.c: Declare, define and initialize
3469         _wm_transient_for, a GdkAtom for WM_TRANSIENT_FOR.
3470
3471         * acconfig.h: Remove HAVE_WINSOCK_H, not used any longer.
3472
3473 Sun Jan 25 15:14:46 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3474
3475         * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Base the decision
3476         to map/unmap items on whether they are actually allocated outside
3477         the toolbar, not on whether that will eventually happen. Improves
3478         animation in the presence of overflown items.
3479
3480         * gtk/gtktoolbar.c (gtk_toolbar_begin_sliding): Add a
3481         queue_resize() to so that the items will get their new goal
3482         values and the idle handler will not immediately return FALSE.
3483
3484         * gtk/gtktoolbar.c (slide_idle_handler): simplify the logic and
3485         make sure that a placeholder becoming invisible doesn't cause a
3486         return TRUE.
3487
3488         * gtk/gtktoolbar.c (get_item_size): Don't special case
3489         placeholders here.
3490
3491 Sat Jan 24 23:17:27 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3492
3493         * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): Only
3494         try to pack icon if there actually is one.
3495
3496         * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Make sure
3497         OVERFLOWN items get an allocation even when they are
3498         unmapped. This ensures they will slide in properly.
3499
3500         * gtk/gtktoolbar.c (slide_idle_handler): Make sure we return TRUE
3501         when there are overflown items that need to slide in. Also add
3502         comments and make formatting more readable.
3503
3504 Sat Jan 24 17:38:48 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3505
3506         * gtk/gtkradiotoolbutton.c (gtk_radio_tool_button_class_init):
3507         Add a write-only property ::group to be consistent with
3508         GtkRadioAction and GtkRadioButton. (#132159, Patch from Olivier
3509         Andrieu)
3510
3511 Fri Jan 23 23:46:12 2004  Matthias Clasen  <maclas@gmx.de>
3512
3513         * gtk/gtkfontbutton.c (gtk_font_button_label_use_font): Don't leak the 
3514         font description.  (#132168)
3515
3516 2004-01-23  Federico Mena Quintero  <federico@ximian.com>
3517
3518         Fix #132247.
3519
3520         * gtk/gtkfilechooserdefault.c (set_select_multiple): Handle folder
3521         mode.
3522         (set_select_multiple): Optionally notify about changes to the
3523         select-multiple property.
3524         (list_selection_changed): Change the condition for the editable row to
3525         test for save mode; this is more clear than testing for not being
3526         in multiple selection mode.
3527         (gtk_file_chooser_default_get_paths): Get impl->action directly
3528         rather than calling gtk_file_chooser_get_action().
3529         (entry_activate): Likewise.
3530         (set_select_multiple): Annotate about #133255.
3531         (update_chooser_entry): Likewise.
3532         (check_preview_change): Likewise.
3533         (tree_selection_changed): Likewise.
3534
3535 Fri Jan 23 14:56:18 2004  Jonathan Blandford  <jrb@gnome.org>
3536
3537         * gtk/gtktreeview.c (gtk_tree_view_get_path_at_pos): Don't crash
3538         when there are no columns, or all columns are hidden, #131402
3539
3540 Fri Jan 23 16:58:28 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3541
3542         * gtk/gtkmenu.c (DEFAULT_POPUP_DELAY): Changing to 200 was a
3543         mistake. Change back to 225.
3544
3545 Thu Jan 22 18:46:05 2004  Owen Taylor  <otaylor@redhat.com>
3546
3547         * === Released 2.3.2 ===
3548
3549 Thu Jan 22 18:45:26 2004  Owen Taylor  <otaylor@redhat.com>
3550
3551         * gtk/gtkicontheme.c: Patch from Christian Neumair
3552         to make warning string more translator friendly.
3553
3554         * gtk/gtktreemodelfilter.h gtkseparatortoolitem.[ch]
3555         gtk/gtktoolbar.c: Parameter name fixes to keep gtk-doc
3556         happy.
3557
3558         * configure.in: Require GLib-2.3.2, version 2.3.2,
3559         interface age 0, binary age 302.
3560
3561         * NEWS: Organized, added some names.
3562
3563 Thu Jan 22 16:59:36 2004  Jonathan Blandford  <jrb@gnome.org>
3564
3565         * gtk/gtkliststore.c (gtk_list_store_reorder): Doc fix.
3566
3567 2004-01-22  Federico Mena Quintero  <federico@ximian.com>
3568
3569         * gtk/gtkwidget.c (gtk_widget_class_init): Added documentation for
3570         GtkWidget::popup_menu.
3571
3572 Thu Jan 22 21:45:24 2004  Matthias Clasen  <maclas@gmx.de>
3573
3574         * gtk/gtkmenu.c (gtk_menu_remove): Remove the attach 
3575         info after calling gtk_menu_do_remove(), since that function
3576         uses the attach info. Doh!
3577
3578         * gtk/gtkmenu.c (gtk_menu_do_remove): Don't check priv->columns 
3579         for being 1 directly after setting it to 0.
3580
3581 Thu Jan 22 21:38:52 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3582
3583         * NEWS: Updates
3584
3585 2004-01-22  Alexander Larsson  <alexl@redhat.com>
3586
3587         * gdk/x11/gdkwindow-x11.c (WINDOW_IS_TOPLEVEL):
3588         Fix typo
3589
3590 2004-01-21  Federico Mena Quintero  <federico@ximian.com>
3591
3592         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_finalize):
3593         Free the path fields.
3594
3595         * gtk/gtkfilesystemmodel.c (gtk_file_system_model_finalize): Free
3596         the root_path, reported by <scott@asofyet.org>
3597         (gtk_file_system_model_finalize): Unref the file system.
3598
3599         * gtk/gtkfilefilter.c (filter_rule_free): default:
3600         g_assert_not_reached().
3601         (gtk_file_filter_finalize): Free the filter->name, reported by
3602         <scott@asofyet.org>
3603         (gtk_file_filter_finalize): Free the rules list.
3604
3605 Wed Jan 21 18:10:40 2004  Jonathan Blandford  <jrb@gnome.org>
3606
3607         * gtk/gtkcolorbutton.c (gtk_color_button_set_color):redraw the
3608         color button when an alpha is set.
3609         (gtk_color_button_set_alpha): redraw the color button when an
3610         alpha is set.
3611
3612 Wed Jan 21 23:27:14 2004  Matthias Clasen  <maclas@gmx.de>
3613
3614         Fix #131869: 
3615         
3616         * gtk/gtkaction.c (_gtk_action_emit_activate): Hold
3617         a reference to the group while emitting the signals.
3618
3619         * gtk/gtkactiongroup.c (gtk_action_group_init): Use a 
3620         destroy notify which does not only unref, but also resets
3621         the action_group property of the action.
3622
3623 2004-01-20  Federico Mena Quintero  <federico@ximian.com>
3624
3625         * NEWS: Added details about GtkFileChooser changes.
3626
3627 2004-01-20  Federico Mena Quintero  <federico@ximian.com>
3628
3629         Fix #99425, add accessor functions for GtkPaned's children.
3630
3631         * gtk/gtkpaned.c (gtk_paned_get_child1): New function.
3632         (gtk_paned_get_child2): New function.
3633
3634 Tue Jan 20 23:49:52 2004  Matthias Clasen  <maclas@gmx.de>
3635
3636         * NEWS: Start of 2.3.2 section.
3637
3638 Tue Jan 20 22:11:31 2004  Matthias Clasen  <maclas@gmx.de>
3639
3640         Fixes for #130370, based on a patch by Michael Meeks:
3641         
3642         * gtk/gtkmenu.c (gtk_menu_do_remove): New auxiliary function to
3643         adjust cell positions and recalculate row and column counts after
3644         removing an item.
3645
3646         * gtk/gtkmenu.c (gtk_menu_remove): Call gtk_menu_do_remove.
3647
3648         * gtk/gtkmenu.c (gtk_menu_do_insert): Don't leave empty rows when
3649         appending items.
3650
3651         * gtk/gtkmenu.c (gtk_menu_attach): Don't call gtk_menu_shell_append,
3652         to avoid an unintended recursion.
3653
3654 2004-01-19  Federico Mena Quintero  <federico@ximian.com>
3655
3656         Fix #131418.
3657
3658         * gtk/gtkfilechooserdefault.c (set_select_multiple): New helper
3659         function.
3660         (gtk_file_chooser_default_set_property): Use
3661         set_select_multiple().  Also, re-set this mode to single if the
3662         file chooser is set to Save mode.
3663         (entry_activate): Handle the case where the entry is completely
3664         empty *and* its current folder does exist.  Also, there is need to
3665         test for select_multiple here now that we ensure that it won't
3666         happen during Save mode.
3667
3668 Sun Jan 18 15:25:39 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3669
3670         * gtk/gtktoolbar.[ch]: Add _gtk_toolbar_paint_space_line(),
3671         _gtk_toolbar_get_default_space_size ();
3672
3673         * gtk/gtkseparatortoolitem.c (gtk_separator_tool_item_expose,
3674         get_space_size): Use them here.
3675
3676 Sun Jan 18 13:16:34 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3677
3678         * tests/testgtk.c (create_toolbar): Set a small size request and
3679         make the window resizable, to test mapping/unmapping of buttons.
3680
3681         * gtk/gtktoolbar.c (gtk_toolbar_remove_content,
3682         gtk_toolbar_insert_tool_item): remove these functions.
3683
3684         * gtk/gtktoolbar.c (gtk_toolbar_show_all,
3685         toolbar_content_show_all, gtk_toolbar_hide_all,
3686         toolbar_content_hide_all): New functions. 
3687
3688         Ignore show_all/hide_all for buttons created in compatibility mode.
3689
3690         * gtk/gtktoolbar.c (internal_insert_element, gtk_toolbar_show_all,
3691         gtk_toolbar_hide_all): Make sure buttons are ignored by
3692         gtk_toolbar_show_all() and gtk_toolbar_hide_all().
3693         
3694         * gtk/gtktoolbar.c: s/regular_widget/compatibility/g
3695
3696         * gtk/gtktoolbar.c (struct _ToolbarContent): Allocate
3697         GtkToolbarChild inline. Get rid of GtkToolbarChildSpace.
3698
3699         * gtk/gtktoolbar.c (toolbar_content_expose): Fix bug where widget
3700         could become NULL.
3701
3702         * gtk/gtktoolbar.c (gtk_toolbar_add): Append new tool items
3703         instead of prepending them.
3704
3705         * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Use the same
3706         'elapsed' for all items.
3707
3708         * gtk/gtktoolbar.c (struct _GtkToolbarPrivate): Turn booleans
3709         into bitfields.
3710
3711         * gtk/gtktoolbar.c: Many formatting fixes
3712         
3713 Sun Jan 18 01:51:12 2004  Matthias Clasen  <maclas@gmx.de>
3714
3715         * configure.in: Add the necessary magic to create
3716         po-properties/Makefile.
3717
3718 Sat Jan 17 23:05:52 2004  Matthias Clasen  <maclas@gmx.de>
3719
3720         The second part of the fix for #114351 (see also 
3721         gdk-pixbuf/ChangeLog and po/ChangeLog):
3722
3723         * Makefile.am (SUBDIRS): Add po-properties.
3724
3725         * configure.in (AC_CONFIG_FILES): Add po-properties/Makefile.in 
3726
3727         * gdk/gdkintl.h (P_): 
3728         * gtk/gtkintl.h (P_): Use translation domain gtk20-properties. 
3729
3730         * gtk/gtkmain.c (gtk_parse_args): Call bindtextdomain and
3731         bind_textdomain_codeset for gtk20-properties as well.
3732
3733 Sat Jan 17 22:00:07 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3734
3735         * gtk/gtktoolbar.c: 
3736
3737         Fix rest of #128678: Implement all the toolbar_content()
3738         methods for the old API case.
3739
3740 Sat Jan 17 16:53:08 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3741
3742         * gtk/gtktoolbar.c: 
3743
3744         Phase 1 of fixing #128678: Only access ToolbarContent through a
3745         set of new functions:
3746
3747         toolbar_content_expose, toolbar_content_visible,
3748         toolbar_content_size_request, toolbar_content_is_homogeneous,
3749         toolbar_content_get_child_requisition,
3750         toolbar_content_is_placeholder, toolbar_content_disappearing,
3751         toolbar_content_get_state, toolbar_content_child_visible,
3752         toolbar_content_get_goal_allocation,
3753         toolbar_content_get_allocation,
3754         toolbar_content_set_start_allocation,
3755         toolbar_content_get_start_allocation, toolbar_content_get_expand,
3756         toolbar_content_set_goal_allocation,
3757         toolbar_content_set_child_visible, toolbar_content_size_allocate,
3758         toolbar_content_set_state, toolbar_content_get_widget,
3759         toolbar_content_set_disappearing,
3760         toolbar_content_set_size_request,
3761         toolbar_content_toolbar_reconfigured,
3762         toolbar_content_retrieve_menu_item, 
3763         toolbar_content_new_tool_item, toolbar_content_destroy,
3764         toolbar_content_is_separator
3765
3766         Also fix #127092.
3767         
3768 Sat Jan 17 12:55:13 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3769
3770         * gtk/gtktoolitem.c (gtk_tool_item_finalize): don't leak the menu
3771         item ID.
3772
3773 Sat Jan 17 12:37:46 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
3774
3775         * gtk/gtktoolbar.c (gtk_toolbar_finalize): Don't leak the
3776         overflow menu.
3777         
3778         * gtk/gtktoolbar.h (struct _GtkToolbar): Make some fields public. 
3779         [#127726]
3780
3781 2004-01-16  Federico Mena Quintero  <federico@ximian.com>
3782
3783         * gtk/gtkfilesystemmodel.c (struct _GtkFileSystemModel): Added a
3784         has_editable field.
3785         (_gtk_file_system_model_add_editable): New function.
3786         (_gtk_file_system_model_remove_editable): New function.
3787         (gtk_file_system_model_get_value): Return appropriate values for
3788         the temporary editable row.
3789         (_gtk_file_system_model_get_info): Handle the editable row.
3790         (_gtk_file_system_model_get_path): Likewise.
3791
3792         * gtk/gtkfilechooserdefault.c (shortcuts_append_bookmarks):
3793         Removed an unused variable.
3794         (toolbar_button_new): Optionally show the button.
3795         (up_button_clicked_cb): Renamed from up_button_cb(), fixed prototype.
3796         (toolbar_create): Add a "New Folder" button for Save mode.
3797         (error_building_filename_dialog): New helper function.
3798         (gtk_file_chooser_default_get_paths): Use error_building_filename_dialog().
3799         (create_file_list): Connect to the "edited" signal of the text
3800         cell renderer.  Store the name column and text renderer in the
3801         impl structure.
3802         (renderer_edited_cb): New callback.
3803         (gtk_file_chooser_default_set_property): Show/hide the "New
3804         folder" button when the save action changes.
3805         (COMPARE_DIRECTORIES): Allow the info values to be NULL.
3806         (COMPARE_DIRECTORIES): Duh, use the list_model, not the
3807         tree_model.
3808         (get_list_file_info): Likewise!
3809         (list_icon_data_func): Handle the path being NULL.
3810         (new_folder_button_clicked): New callback.
3811         (list_name_data_func): If we are on the editable row, set the text
3812         to "Type name of new folder".
3813         (list_selection_changed): Handle the editable row.
3814         (list_mtime_data_func): Likewise.
3815
3816         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_make_path): Return
3817         NULL, not FALSE.
3818         (gtk_file_system_unix_create_folder): Test the result of mkdir() correctly.
3819
3820 Fri Jan 16 23:59:01 2004  Matthias Clasen  <maclas@gmx.de>
3821
3822         The first part of the fix for #114351 (see also 
3823         gdk-pixbuf/ChangeLog and po/ChangeLog):
3824         
3825         * gtk/gtkintl.h: 
3826         * gdk/gdkintl.h: Define P_() for property blurbs and nicks.
3827
3828         * gdk/gdkdisplaymanager.c:
3829         * modules/input/gtkimcontextxim.c:
3830         * gtk/*.c:  Mark property blurbs and nicks with P_().
3831         
3832 2004-01-16  Federico Mena Quintero  <federico@ximian.com>
3833
3834         Fix #130969.
3835
3836         * gtk/gtkcellrenderer.h (struct _GtkCellRendererClass): Added an
3837         editing_canceled signal.
3838
3839         * gtk/gtkcellrenderer.c (gtk_cell_renderer_class_init): Create the
3840         "editing-canceled" signal.
3841         (gtk_cell_renderer_editing_canceled): New function.
3842
3843         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_editing_done):
3844         Call gtk_cell_renderer_editing_canceled().
3845
3846 2004-01-16  Federico Mena Quintero  <federico@ximian.com>
3847
3848         * gtk/gtkfilechooserdefault.c
3849         (gtk_file_chooser_default_set_property): Do not allow setting
3850         select_multiple when in Save mode.
3851         (set_list_model): No need to nullify the list_model and
3852         sort_model.
3853         (gtk_file_chooser_default_get_paths): Handle folder mode as well.
3854         (get_paths_foreach): Likewise.
3855
3856         * gtk/gtkfilechooser.c (gtk_file_chooser_get_filename): Clarify
3857         documentation about folder mode.
3858         (gtk_file_chooser_get_uri): Likewise.
3859
3860 2004-01-16  Federico Mena Quintero  <federico@ximian.com>
3861
3862         * gtk/gtkfilesystem.h (struct _GtkFileSystemIface): New
3863         get_volume_for_path() method.
3864         (struct _GtkFileSystemIface): Finally removed the list_roots() and
3865         get_root_info() methods, and the "roots-changed" signal.
3866
3867         * gtk/gtkfilesystem.c (gtk_file_system_get_volume_for_path): New
3868         function.
3869         (gtk_file_system_list_roots): Removed.
3870         (gtk_file_system_get_root_info): Removed.
3871
3872         * gtk/gtkfilesystemunix.c
3873         (gtk_file_system_unix_get_volume_for_path): Implement.
3874         (get_root_volume): New helper function.
3875         (gtk_file_system_unix_list_volumes): Use get_root_volume().
3876         (gtk_file_system_unix_list_roots): Removed.
3877         (gtk_file_system_unix_get_root_info): Removed.
3878
3879         * gtk/gtkfilesystemmodel.c (_gtk_file_system_model_new): Don't
3880         accept a NULL root_path.
3881         (struct _GtkFileSystemModel): Add a field to remember the
3882         root_path.
3883         (_gtk_file_system_model_new): Store the root_path in the model
3884         structure.
3885         (find_and_ref_path): Stop going up the hierarchy at the root_path
3886         of the model.  Also, don't return prematurely when walking up the
3887         hierarchy.
3888
3889         * gtk/gtkfilechooserdefault.c (create_file_list): Sigh, restore
3890         the rules_hint.
3891         (struct _GtkFileChooserDefault): Added a current_volume_path field.
3892         (set_tree_model): New function; create the folder tree model here.
3893         (create_folder_tree): Don't create the model here.
3894         (set_list_model): Set the show_hidden flag on the list model.
3895
3896 Fri Jan 16 00:04:43 2004  Matthias Clasen  <maclas@gmx.de>
3897
3898         * gtk/gtknotebook.h:
3899         * gtk/gtknotebook.c (gtk_notebook_append_page): 
3900         * gtk/gtknotebook.c (gtk_notebook_append_page_menu): 
3901         * gtk/gtknotebook.c (gtk_notebook_prepend_page): 
3902         * gtk/gtknotebook.c (gtk_notebook_prepend_page_menu): 
3903         * gtk/gtknotebook.c (gtk_notebook_insert_page): 
3904         * gtk/gtknotebook.c (gtk_notebook_insert_page_menu): Return the
3905         index of the newly inserted page.  (#130986, Olexiy Avramchenko) 
3906
3907 Thu Jan 15 23:17:14 2004  Matthias Clasen  <maclas@gmx.de>
3908
3909         * gtk/gtkuimanager.c (gtk_ui_manager_get_toplevels): Inserting
3910         a 'newly-allocated' to hint that the list should be freed after
3911         use.
3912
3913 Wed Jan 14 18:01:52 2004  Jonathan Blandford  <jrb@gnome.org>
3914
3915         * gtk/gtktreeview.c (gtk_tree_view_button_press): move grab_focus
3916         to after handling the button presses in the TreeView to avoid
3917         getting multiple selection_changes()
3918
3919 Wed Jan 14 21:16:20 2004  Matthias Clasen  <maclas@gmx.de>
3920
3921         * gtk/gtkimcontext.c: Documentation fix.  (#131335, Theppitak 
3922         Karoonboonyanan)
3923
3924 Wed Jan 14 21:00:49 2004  Matthias Clasen  <maclas@gmx.de>
3925
3926         * gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel): 
3927         Don't leak name and stock_id.  (#131358, Morten Welinder)
3928
3929 Wed Jan 14 13:07:30 GMT 2004  Tony Gale <gale@gtk.org>
3930
3931         * docs/faq/gtk-faq.sgml: Updates to Section 5
3932
3933 Wed Jan 14 02:34:57 2004  Matthias Clasen  <maclas@gmx.de>
3934
3935         * gtk/gtkradioaction.c: Add a writable group property to align
3936         with the GtkRadioButton API.  (#129166, Olivier Andrieu) 
3937
3938 Tue Jan 13 14:48:27 GMT 2004  Tony Gale <gale@gtk.org>
3939
3940         * docs/faq/gtk-faq.sgml: Update info on using autoconf
3941
3942 Mon Jan 12 23:40:34 2004  Matthias Clasen  <maclas@gmx.de>
3943
3944         * tests/testmerge.c: Adjust to the new connect_proxy signals.
3945
3946         * gtk/gtkuimanager.c
3947         * gtk/gtkactiongroup.c
3948         * gtk/gtkaction.c: Move the connect_proxy and disconnect_proxy signals
3949         from GtkAction to GtkActionGroup and proxy it on GtkUIManager. This
3950         removes the confusion between the disconnect_/connect_proxy signals 
3951         and the (unrelated) virtual functions of the same name and aligns
3952         the setup with the pre_/post_activate signals.
3953
3954 2004-01-12  Jody Goldberg <jody@gnome.org>
3955
3956         * gtk/gtkaction.c (connect_proxy) : only connect activate for menus
3957           with no submenus otherwise it looks like we activate every time a
3958           submenu opens.
3959
3960 2004-01-12  Jody Goldberg <jody@gnome.org>
3961
3962         * gtk/gtkuimanager.c: Remove accidentially committed debug spew.
3963
3964 Sun Jan 11 01:55:07 2004  Matthias Clasen  <maclas@gmx.de>
3965
3966         * gtk/gtkaccelmap.c: Remove accidentally committed notification stuff. 
3967         (gtk_accel_map_lock_path): 
3968         (gtk_accel_map_unlock_path): Path locking can now be nested, a missing
3969         entry is silently created during lock_path(), and treated as an error 
3970         during unlock_path(). These changes have been requested by Tim Janik.
3971
3972 2004-01-10  Jody Goldberg <jody@gnome.org>
3973
3974         * gtk/gtkuimanager.c (d) : Add a debug macro to quiet the spew.
3975         s/merge_signals/ui_manager_signals/ for readability.
3976         (gtk_ui_manager_class_init) : add pre_activate and post_activate
3977           signals.
3978         (cb_proxy_pre_activate) : new.
3979         (cb_proxy_post_activate) : new.
3980         (gtk_ui_manager_insert_action_group) : connect the proxies for
3981           GtkActionGroup::pre/post_activate
3982         (gtk_ui_manager_remove_action_group) : disconnect them.
3983
3984         * gtk/gtkactiongroup.c (gtk_action_group_class_init) : add
3985           'sensitive', and 'visible' properties.  Also add pre_activate and
3986           post_activate signals to help deal with activations at a higher
3987           level (eg GtkUIManager)
3988         (gtk_action_group_init) : init sensitive and visible
3989         (gtk_action_group_set_property) : add sensitive and visible
3990         (gtk_action_group_get_property) : add sensitive and visible
3991         (gtk_action_group_get_sensitive) : new.
3992         (gtk_action_group_get_visible) : new.
3993         (cb_set_action_sensitivity) : new with minor optimization that only
3994           signals sensitivity changes if the action could possibly change.
3995         (cb_set_action_visiblility) : ditto.
3996         (gtk_action_group_set_sensitive) : new.  walk the actions directly
3997           rather than using notify::sensitive because that is simpler, easier
3998           to read, and more efficient.
3999         (gtk_action_group_set_visible) : ditto.
4000         (gtk_action_group_add_action) : Each action can only be in 1 group,
4001           set GtkAction::action_group.
4002         (gtk_action_group_remove_action) : clear it.
4003         (gtk_action_group_add_toggle_actions_full) : warning suppression.
4004         (gtk_action_group_add_radio_actions_full) : warning suppression.
4005         (_gtk_action_group_emit_pre_activate) : new protected routine for use
4006           by GtkAction.
4007         (_gtk_action_group_emit_post_activate) : ditto.
4008
4009         * gtk/gtkaction.c (gtk_action_class_init) : add 'action_group' property.
4010         (gtk_action_init) : initialize it.
4011         (gtk_action_get_property) : get.
4012         (gtk_action_set_property) : set it via
4013         (gtk_action_set_action_group) : new function.
4014         (gtk_action_sync_sensitivity) : new routine to sync proxy sensitivity
4015           with the logical sensitivity (action & group) rather than the simple
4016           action::sensitivity.
4017         (gtk_action_sync_visible) : use gtk_action_is_visible to handle
4018           logical visibility (action & group) rather than the simple
4019           action::visible.  Use widget show/hide directly.
4020         (connect_proxy) : handle the custom sensitivity handler.
4021           Make the TOOL_BUTTON signals more general and support TOOL_ITEM
4022           directly, with special cases for TOOL_BUTTON.  Still not especially
4023           good it might be useful to handle label/use_underline by parmspec
4024           lookup.  Those are likely to be implemented by custom types, and are
4025           assumed to exist in GtkToolItem.
4026         (disconnect_proxy) : disconnect the new sensitivity handler.
4027         (_gtk_action_emit_activate) : add pre/post signals.
4028         (gtk_action_activate) : use logical sensitivity.
4029         (gtk_action_is_sensitive) : logical sensitivity.
4030         (gtk_action_get_sensitive) : actual sensitivity.
4031         (closure_accel_activate) : use logical sensitivity.
4032
4033 Fri Jan  9 22:23:45 2004  Matthias Clasen  <maclas@gmx.de>
4034
4035         * gtk/gtkuimanager.c: Introduce a new parser state for 
4036         accelerator elements to avoid misparsing files containing 
4037         such elements.  (#131035, Morten Welinder)
4038
4039 Fri Jan  9 11:58:47 2004  Manish Singh  <yosh@gimp.org>
4040
4041         * gdk-pixbuf/gdk-pixbuf-io.c: #include <unistd.h> for unlink()
4042
4043 Fri Jan  9 15:28:21 GMT 2004  Tony Gale <gale@gtk.org>
4044
4045         * docs/faq/gtk-faq.sgml: update GtkEntry filter code example
4046
4047 Fri Jan  9 00:34:57 2004  Matthias Clasen  <maclas@gmx.de>
4048
4049         * gtk/gtkuimanager.h:
4050         * gtk/gtkuimanager.c (gtk_ui_manager_get_toplevels): New function to
4051         obtain a list of toplevel widgets constructed by the ui manager.
4052
4053         * gtk/gtkuimanager.h (GtkUIManagerItemType): Change to flags, so that 
4054         the values can be combined for gtk_ui_manager_get_toplevels().
4055
4056         * tests/testmerge.c: Add a "Dump toplevels" button to test 
4057         gtk_ui_manager_get_toplevels().
4058
4059 Wed Jan  7 23:20:06 2004  Matthias Clasen  <maclas@gmx.de>
4060
4061         * demos/gtk-demo/Makefile.am (demos): Add entry_completion.c
4062         
4063         * demos/gtk-demo/entry_completion.c: New demo for GtkEntryCompletion 
4064         by Anders Carlsson  (#130464).
4065
4066 Wed Jan  7 23:07:28 2004  Matthias Clasen  <maclas@gmx.de>
4067
4068         * gtk/gtkmain.h: 
4069         * gtk/gtkmain.c (gtk_events_pending): Change the return value from 
4070         gint to gboolean.  (#130718, reported by Johannes Weißl)
4071
4072 Wed Jan  7 23:03:32 2004  Matthias Clasen  <maclas@gmx.de>
4073
4074         * gtk/gtkactiongroup.h: 
4075         * gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel): 
4076         Remove the redundant name and stock_id parameters, adjust all callers.
4077
4078 Wed Jan  7 22:20:20 2004  Matthias Clasen  <maclas@gmx.de>
4079
4080         * gtk/gtkaction.h: 
4081         * gtk/gtkaction.c (gtk_action_new):  
4082         * gtk/gtktoggleaction.h: 
4083         * gtk/gtktoggleaction.c (gtk_toggle_action_new): 
4084         * gtk/gtkradioaction.h: 
4085         * gtk/gtkradioaction.c (gtk_radio_action_new): Add creation 
4086         functions for actions.
4087
4088         * gtk/gtkactiongroup.c (gtk_action_group_add_actions_full): 
4089         (gtk_action_group_add_toggle_actions_full): 
4090         (gtk_action_group_add_radio_actions_full): and use the
4091         new functions here.  (#125322, Patch by Jeff Frank)
4092
4093 Wed Jan  7 21:42:49 2004  Matthias Clasen  <maclas@gmx.de>
4094
4095         * gtk/gtkaccelmap.c (gtk_accel_map_lock_path): Fix grammar of 
4096         docs.
4097
4098 2004-01-07  Jan Arne Petersen  <jpetersen@uni-bonn.de>
4099
4100         * gtk/gtkfilechooserdefault.c: (shortcuts_insert_path),
4101         (shortcuts_append_home), (shortcuts_append_desktop),
4102         (shortcuts_append_paths), (shortcuts_add_volumes),
4103         (shortcuts_append_bookmarks), (create_shortcuts_model),
4104         (gtk_file_chooser_default_add_shortcut_folder): add REMOVABLE column
4105         to the shortcuts_model.
4106
4107         (remove_bookmark_button_clicked_cb),
4108         (bookmarks_check_remove_sensitivity): use REMOVABLE column to check if
4109         bookmarks can be removed. Fixes #129873
4110
4111 Wed Jan  7 02:50:55 2004  Matthias Clasen  <maclas@gmx.de>
4112
4113         * demos/testpixbuf-save.c: Make s, S, Control-S, p, P, Control-P,
4114         i, I, Control-I test gdk_pixbuf_save(), gdk_pixbuf_save_to_buffer()
4115         and gdk_pixbuf_save_to_callback() with jpeg, png and ico formats, 
4116         respectively. Tests #82203.
4117
4118 2004-01-06  Federico Mena Quintero  <federico@ximian.com>
4119
4120         * gtk/gtkfilesel.c (gtk_file_selection_create_dir_confirmed): Use
4121         0777 as the mode for mkdir() and let the umask do the right
4122         thing.  Fixes #121819.
4123
4124         * gtk/gtkfilesystemunix.c (filename_is_root): g_path_skip_root()
4125         can return NULL; handle this.  Fixes #129565.
4126
4127 2004-01-06  Alexander Winston  <alexander.winston@comcast.net>
4128
4129         * gtk/gtkfilesel.c: (gtk_file_selection_delete_file): Removed space
4130         that proceeded the end-of-sentence punctuation. Fixes: #130353.
4131
4132 2004-01-06  Jody Goldberg <jody@gnome.org>
4133
4134         * gtk/gtktoolitem.c (gtk_tool_item_set_property) : Call 
4135           gtk_tool_item_set_visible_vertical for PROP_VISIBLE_VERTICAL.
4136
4137 2004-01-05  Federico Mena Quintero  <federico@ximian.com>
4138
4139         * gtk/gtkfilechooserdefault.c (shortcuts_append_bookmarks): Oops,
4140         call shortcuts_add_bookmarks() here.
4141         (remove_bookmark_button_clicked_cb): Ahem, fetch the selected
4142         iter.
4143         (shortcuts_append_paths): Don't display error dialogs here.
4144         (create_file_list): Remove the @#$% rules hint.
4145
4146 2004-01-05  Federico Mena Quintero  <federico@ximian.com>
4147
4148         * gtk/gtkfilechooserdefault.c (toolbar_button_new): New helper
4149         function.
4150         (toolbar_create): Do not use a toolbar widget, just an hbox
4151         instead.  Add the bookmarks buttons and the current folder label
4152         here.
4153         (create_filename_entry_and_filter_combo): Create the filter combo
4154         here.
4155         (filter_create): Don't show the filter combo initially.
4156         (up_button_cb): Renamed from toolbar_up_cb().
4157         (create_shortcuts_buttons): Removed.
4158
4159 2004-01-05  Murray Cumming  <murrayc@usa.net>
4160
4161         * gdk/gdkimage.h: Added <public> documentation to the struct, as
4162         suggested by Owen Taylor.
4163
4164 2004-01-05  Jody Goldberg <jody@gnome.org>
4165
4166         * gtk/gtkiconfactory.c (get_default_icons) : add stock indent, unindent
4167           I would have prefered outdent, but compatibility seems more
4168           important.
4169         * gtk/gtkstock.c (builtin_items) : ditto.
4170         * gtk/gtkstock.h : ditto.
4171         * gtk/stock-icons/Makefile.am : ditto.
4172         * gtk/stock-icons/stock_text_indent_16.png :
4173         * gtk/stock-icons/stock_text_indent_24.png :
4174         * gtk/stock-icons/stock_text_unindent_16.png :
4175         * gtk/stock-icons/stock_text_unindent_24.png : from gnome-icon-theme
4176
4177 Sun Jan  4 15:29:04 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
4178
4179         * gtk/gtkradiotoolbutton.[ch]
4180         (gtk_radio_tool_button_new_with_stock_from_widget): Change API so
4181         group is a GtkRadioButton, not a GtkWidget.
4182
4183 2004-01-04  Hans Breuer  <hans@breuer.org>
4184
4185         * gdk/win32/gdkwindow-win32.c : use SWP_NOACTIVATE in 
4186         gdk_window_set_keep_(above|below) to make DND work again.
4187         Thanks to Alif Wahid for noticing.
4188
4189         * gdk/gdk.def : update externals
4190
4191         * gtk/gtkfilesystemwin32.c : adapt to GtkFileSystemIFace changes
4192
4193         * gtk/gtk-stock.[hc] gtk/gtkiconfactory.c 
4194           gtk/stock-icons/Makefile.am gtk/stock-icons/makefile.msc :
4195           gtk/stock-icons/stock_harddisk_16.png 
4196           gtk/stock-icons/stock_harddisk_24.png 
4197         Harddisk stock icons for file system implementations. Beside
4198         FLOPPY and CDROM there is now HARDDISK, probably some 
4199         GTK_STOCK_NETWORK would be useful, but I could not find one.
4200
4201 Sat Jan  3 11:39:42 2004  Manish Singh  <yosh@gimp.org>
4202
4203         * gtk/gtkclipboard.c: Update freedesktop.org clipboard doc link.
4204         Patch from Andrew Moise (#130462).
4205
4206 2004-01-01  Jody Goldberg <jody@gnome.org>
4207
4208         * gtk/gtkaction.c (_GtkActionPrivate) : add visible_horizontal,
4209           visible_vertical.
4210         (gtk_action_class_init) : here.
4211         (gtk_action_init) : here.
4212         (gtk_action_set_property) : here.
4213         (gtk_action_get_property) : here.
4214         (connect_proxy) : and here.
4215
4216 2003-12-30  Jody Goldberg <jody@gnome.org>
4217
4218         * gtk/gtkactiongroup.c (gtk_action_group_add_action_with_accel) :  new
4219           utility routine for use in derived GtkActions with the replicated code
4220           from.
4221         (gtk_action_group_add_actions_full) : here.
4222         (gtk_action_group_add_toggle_actions_full) : here.
4223         (gtk_action_group_add_radio_actions_full) : and here.
4224
4225 2004-01-01  Taneem Ahmed  <taneem@bengalinux.org>
4226
4227         * configure.in: Added "bn" to ALL_LINGUAS.
4228
4229 2004-01-01  Taneem Ahmed  <taneem@bengalinux.org>
4230
4231         * bn.po: Added Bangla translation by 
4232         of Ankur group <gnome-translation@bengalinux.org>.
4233
4234 Fri Jan  2 02:50:11 2004  Matthias Clasen  <maclas@gmx.de>
4235
4236         * gtk/gtkcalendar.c (gtk_calendar_compute_days): 
4237         * gtk/gtkcalendar.c (gtk_calendar_paint_day_names): 
4238         * gtk/gtkcalendar.c (gtk_calendar_init): Changes to support 
4239         week_start values other than 0 and 1, e.g. 6 will let weeks start
4240         on Saturday.  (#130349, Roozbeh Pournader) 
4241
4242 2003-12-31 13:49 Daniel Rogers <dsrogers@phasevelocity.org>
4243
4244         * gdk/x11/gdkinput-x11.c: (gdk_input_translate_coordinates)
4245         
4246         Fix to allow reasonable pointer behavior in window mode when an
4247         extended input device reports an incorrect resolution of 0.  Fixes
4248         bug #123546
4249         
4250 2003-12-31  Christian Neumair  <chris@gnome-de.org>
4251
4252         * gdk-pixbuf/gdk-pixdata.c: (gdk_pixbuf_from_pixdata):
4253         * gtk/gtkfilechooserdefault.c: (list_size_data_func): Use ngettext for
4254         plurals (#123847).
4255
4256 Wed Dec 31 02:05:39 2003  Matthias Clasen  <maclas@gmx.de>
4257
4258         * gtk/gtkactiongroup.c (gtk_action_group_add_actions_full): 
4259         (gtk_action_group_add_toggle_actions_full):
4260         (gtk_action_group_add_radio_actions_full): Pull accelerator key
4261         from the stock item if stock_id is given, but accelerator 
4262         not.  (Noticed by Jeff Franks and Jody Goldberg)
4263
4264         * tests/testmerge.c: Remove the accelerator from the "Open" entry
4265         to test the above change.
4266         
4267 2003-12-29  Federico Mena Quintero  <federico@ximian.com>
4268
4269         Make show_all() work for the extra and preview widgets; reported
4270         by Paolo Maggi.
4271
4272         * gtk/gtkfilechooserdefault.c (set_preview_widget): show_all() the
4273         preview widget.
4274         (set_extra_widget): show_all() the extra widget.
4275
4276 Mon Dec 29 12:22:22 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
4277
4278         * gtk/gtkuimanager.c (do_updates): 
4279         * gtk/gtktoolbar.c (slide_idle_handler): 
4280         * gtk/gtkdnd.c (gtk_drag_update_idle): 
4281
4282         Add GDK_THREADS_ENTER()/GDK_THREADS_LEAVE() pairs around idle
4283         functions. (#130157, patch from Olexiy Avramchenko).
4284         
4285 2003-12-29  Anders Carlsson  <andersca@gnome.org>
4286
4287         * gtk/gtkradiotoolbutton.c:
4288         * gtk/gtkradiotoolbutton.h:
4289         * gtk/gtkseparatortoolitem.c:
4290         * gtk/gtkseparatortoolitem.h:
4291         * gtk/gtktoggletoolbutton.c:
4292         * gtk/gtktoggletoolbutton.h:
4293         * gtk/gtktoolbar.c:
4294         * gtk/gtktoolbar.h:
4295         * gtk/gtktoolbutton.c:
4296         * gtk/gtktoolbutton.h:
4297         * gtk/gtktoolitem.c:
4298         * gtk/gtktoolitem.h:
4299         Update my e-mail address.
4300         
4301 Mon Dec 29 01:36:22 2003  Matthias Clasen  <maclas@gmx.de>
4302
4303         * gtk/gtkaccelmap.[hc]: (gtk_accel_map_lock_path, 
4304         gtk_accel_map_unlock_path): Add a way to lock individual accelerator
4305         paths.  (#73207, reported by Havoc Pennington)
4306
4307 Sat Dec 27 23:17:56 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
4308
4309         * gtk/gtktoolbar.c (slide_idle_handler): use CHILD_VISIBLE
4310         instead of VISIBLE to determine whether we should stop
4311         sliding. (#130018, reported by Christian Persch).
4312
4313 Fri Dec 26 23:24:35 2003  Matthias Clasen  <maclas@gmx.de>
4314
4315         * gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full): 
4316         Don't use first_action without initializing it if n_entries is 0.
4317
4318 Thu Dec 25 00:26:34 2003  Matthias Clasen  <maclas@gmx.de>
4319
4320         * gdk/x11/gdkcursor-x11.c (gdk_display_get_default_cursor_size):
4321         Add the missing _get_ to the name of the non-Xcursor version of
4322         this function.  (noticed by Torsten Schoenfeld)
4323
4324 Tue Dec 23 22:34:50 2003  Manish Singh  <yosh@gimp.org>
4325
4326         * gtk/gtkicontheme.h: fix GTK_TYPE_ICON_INFO macro, reported by
4327         muppet.
4328
4329 2003-12-24  Jody Goldberg <jody@gnome.org>
4330
4331         * gtk/gtkactiongroup.h : Add some const to the char * in
4332           GtkActionEntry*.  We're reccomending people pass static strings to
4333           them, and not freeing them.  This stems to flood of warnings that
4334           result.
4335         * gtk/gtkactiongroup.c (gtk_action_group_add_actions_full) : change
4336           temp vars to const to match above.
4337         (gtk_action_group_add_toggle_actions_full) : ditto.
4338         (gtk_action_group_add_radio_actions_full) : ditto.
4339
4340 Wed Dec 24 01:12:53 2003  Matthias Clasen  <maclas@gmx.de>
4341
4342         * gtk/gtkclipboard.[hc]: Add GtkClipboardTargetReceivedFunc,
4343         gtk_clipboard_request_targets() and 
4344         gtk_clipboard_wait_for_targets().  (#101774, Dom Lachowicz)
4345
4346 Mon Dec 22 00:40:39 2003  Matthias Clasen  <maclas@gmx.de>
4347
4348         * gtk/gtkcalendar.c (gtk_calendar_paint_arrow): Use 
4349         gtk_paint_arrow instead of draw_arrow_left/draw_arrow_right.
4350         * gtk/gtkcalendar.c (draw_arrow_left):
4351         (draw_arrow_right): Removed. 
4352         * gtk/gtkcalendar.c (gtk_calendar_realize_arrows): 
4353         * gtk/gtkcalendar.c (gtk_calendar_state_changed): Set the
4354         arrow_state to GTK_STATE_INSENSITIVE if the calendar is 
4355         insensitive.  (#97376)
4356
4357 Sun Dec 21 23:17:01 2003  Matthias Clasen  <maclas@gmx.de>
4358
4359         * gtk/gtkuimanager.c (update_node): 
4360         (update_smart_separators): 
4361         (_gtk_menu_is_empty): 
4362         (find_menu_position): 
4363         * gtk/gtktreeview.c (gtk_tree_view_search_dialog_destroy): 
4364         * gtk/gtkcombobox.c (gtk_combo_box_relayout_item): 
4365         (gtk_combo_box_relayout): Fix memory leaks caused by the
4366         failure to free the result of gtk_container_get_children().
4367
4368 Sun Dec 21 17:34:22 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
4369
4370         * gdk/x11/gdkwindow-x11.c (gdk_window_reparent): Set the right
4371         properties when the window becomes a toplevel. When a window that
4372         was previously a toplevel becomes a toplevel again, restore its
4373         window type. Also make sure the focus window is removed from the
4374         XID hash when it is destroyed. (#117579, reported by Morten
4375         Welinder, patch reviewed by Owen Taylor).
4376
4377 Sun Dec 21 01:54:40 2003  Matthias Clasen  <maclas@gmx.de>
4378
4379         * gtk/gtkmenushell.h: 
4380         * gtk/gtkmenushell.c (gtk_menu_shell_cancel): New function 
4381         to emit the "cancel" signal on a menu shell.
4382
4383         * gtk/gtkmenu.c (gtk_menu_key_press): 
4384         * gtk/gtkoptionmenu.c (gtk_option_menu_remove_menu): 
4385         * gtk/gtkmenubar.c (_gtk_menu_bar_cycle_focus): Use the 
4386         new function instead of directly emitting the 
4387         signal.  (#81803, Owen Taylor)
4388
4389 Sun Dec 21 00:39:50 2003  Matthias Clasen  <maclas@gmx.de>
4390
4391         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init): 
4392         Fix the "language_set" blurb.  
4393         
4394 Sat Dec 20 22:06:03 2003  Kristian Rietveld  <kris@gtk.org>
4395
4396         * gtk/gtktreeview.c (gtk_tree_view_size_allocate): do not invalidate
4397         all of treeview when resizing (#110074, patch from Soeren Sandmann).
4398
4399 Fri Dec 19 23:36:00 2003  Kristian Rietveld  <kris@gtk.org>
4400
4401         Fixes #108458.
4402
4403         * gtk/gtkcelllayout.[ch]: added a reorder method.
4404
4405         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_layout_init),
4406         (gtk_tree_view_column_cell_layout_reorder): implement reorder.
4407
4408         * gtk/gtkcellview.c (gtk_cell_view_cell_layout_init),
4409         (gtk_cell_view_cell_layout_reorder): ditto.
4410
4411         * gtk/gtkcombobox.c (gtk_combo_box_cell_layout_init),
4412         (gtk_combo_box_cell_layout_reorder): ditto.
4413
4414         * gtk/gtkentrycompletion.c (gtk_entry_completion_cell_layout_init),
4415         (gtk_entry_completion_reorder): ditto.
4416
4417 Fri Dec 19 22:18:19 2003  Kristian Rietveld  <kris@gtk.org>
4418
4419         * gtk/gtktreeview.c (gtk_tree_view_search_equal_func): use strstr
4420         instead of strcmp (#117127, suggestion from Soeren Sandmann).
4421
4422 Fri Dec 19 21:52:46 2003  Kristian Rietveld  <kris@gtk.org>
4423
4424         * gtk/gtkmenu.c (gtk_menu_do_insert): move item insertion logic
4425         here from gtk_menu_real_insert(),
4426         (gtk_menu_real_insert): just call gtk_menu_do_insert(),
4427         (gtk_menu_reorder_child): run _do_insert after inserting the child
4428         (unbreaks _reorder_child, reported by Tim Janik).
4429
4430 2003-12-19  Federico Mena Quintero  <federico@ximian.com>
4431
4432         * gtk/gtkfilechooserdefault.c (list_mtime_data_func): Use
4433         g_date_strftime() for UTF-8 correctness; use Julian dates to
4434         simplify the function.
4435
4436 Fri Dec 19 01:47:34 2003  Matthias Clasen  <maclas@gmx.de>
4437
4438         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_size_request): 
4439         Test extra_width, not extra_height, when determining whether to
4440         set extra_width.  (#129647, Jan Arne Petersen)
4441
4442 Fri Dec 19 01:35:34 2003  Matthias Clasen  <maclas@gmx.de>
4443
4444         Fix the behaviour of insensitive actions, which was broken
4445         when gtk_action_activate() was changed to pay attention to 
4446         sensitivity  (#129557, Christian Persch)
4447         
4448         * gtk/gtkaction.h: 
4449         * gtk/gtkaction.c (_gtk_action_emit_activate): New auxiliary
4450         function to emit an activate signal without regard to sensitivity.
4451
4452         * gtk/gtkradioaction.c: 
4453         * gtk/gtktoggleaction.c: Always use _gtk_action_emit_activate()
4454         instead of gtk_action_activate().
4455
4456 2003-12-18  Jody Goldberg <jody@gnome.org>
4457
4458         * gtk/gtkicontheme.c (gtk_icon_theme_lookup_icon)) : Add a sanity test
4459           to ensure that the base hicolor theme is installed.  Silently
4460           failing to produce icons that apps assume exist in the theme seems
4461           like a bad idea.
4462
4463 Thu Dec 18 19:13:12 2003  Kristian Rietveld  <kris@gtk.org>
4464
4465         Fixes #110249, reworked patch from Joshua N Pritikin.
4466
4467         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_get_type),
4468         (gtk_tree_model_sort_tree_drag_source_init),
4469         (gtk_tree_model_sort_row_draggable),
4470         (gtk_tree_model_sort_drag_data_get),
4471         (gtk_tree_model_sort_drag_data_delete): implement GtkTreeDragSource.
4472
4473         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_type),
4474         (gtk_tree_model_filter_tree_drag_source_init),
4475         (gtk_tree_model_filter_row_draggable),
4476         (gtk_tree_model_filter_drag_data_get),
4477         (gtk_tree_model_filter_drag_data_delete): ditto.
4478
4479 Thu Dec 18 18:01:01 2003  Kristian Rietveld  <kris@gtk.org>
4480
4481         * gtk/gtktreeview.c (gtk_tree_view_class_init): add key bindings
4482         for "*" and "/" (expand/collapse all). (#110195, reported by
4483         Calum Benson).
4484
4485 Thu Dec 18 17:52:56 2003  Kristian Rietveld  <kris@gtk.org>
4486
4487         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_property):
4488         clear the extra_attrs list if we set "text" after "markup".
4489         (Fixes #121933, Federico Mena Quintero).
4490
4491 2003-12-18  Alexander Larsson  <alexl@redhat.com>
4492
4493         * gtk/gtkicontheme.c (gtk_icon_info_get_embedded_rect):
4494         Fix typo that used the wrong x/y values for the x1, y1 point
4495         (#129605)
4496
4497 Thu Dec 18 01:41:50 2003  Kristian Rietveld  <kris@gtk.org>
4498
4499         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
4500         (gtk_cell_renderer_text_finalize),
4501         (gtk_cell_renderer_text_get_property),
4502         (gtk_cell_renderer_text_set_property), (get_layout): added language
4503         and language_set properties like GtkTextTag has. (#103800, reported
4504         by Owen Taylor).
4505
4506 Thu Dec 18 01:37:59 2003  Matthias Clasen  <maclas@gmx.de>
4507
4508         * gtk/gtkwidget.c (gtk_widget_activate): Correct misleading docs.
4509         * gtk/gtkbutton.c (gtk_button_class_init): Add docs for the 
4510         "activate" signal.  (#129358, Ka-Hing Cheung)
4511
4512 Thu Dec 18 01:21:59 2003  Kristian Rietveld  <kris@gtk.org>
4513
4514         * gtk/gtktreeview.c (gtk_tree_view_class_init): Jonathan got
4515         the logical flag backwards in the expand_collapse_cursor_row
4516         bindings, fixing.
4517         (gtk_tree_view_real_expand_collapse_cursor_row): invert expand
4518         flag when !logical and in RTL. (Fixes #107527, reported by
4519         Noah Levitt).
4520
4521 Thu Dec 18 01:10:16 2003  Kristian Rietveld  <kris@gtk.org>
4522
4523         * gtk/gtktreeview.c (gtk_tree_view_button_press): only start
4524         editing when activated by the left mouse button. (#106869,
4525         patch from Evan Martin).
4526
4527 Thu Dec 18 00:57:18 2003  Kristian Rietveld  <kris@gtk.org>
4528
4529         Migrating all cell renderers to use the new instance private data
4530         construction.
4531
4532         * gtk/gtktreeprivate.h: remove GtkCellRendererInfo, as it is no
4533         longer being used.
4534
4535         * gtk/gtkcellrenderer.c (gtk_cell_renderer_init),
4536         (gtk_cell_renderer_class_init), (gtk_cell_renderer_get_property),
4537         (set_cell_bg_color), (gtk_cell_renderer_render): remove old
4538         GtkCellRendererInfo handling, migrate to instance private data.
4539
4540         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_editing_done),
4541         (gtk_cell_renderer_text_start_editing): moved focus_out_id
4542         from GtkCellRendererInfo to text renderer private data.
4543
4544         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_init),
4545         (gtk_cell_renderer_pixbuf_class_init),
4546         (gtk_cell_renderer_pixbuf_finalize),
4547         (gtk_cell_renderer_pixbuf_get_property),
4548         (gtk_cell_renderer_pixbuf_set_property),
4549         (gtk_cell_renderer_pixbuf_create_stock_pixbuf),
4550         (gtk_cell_renderer_pixbuf_get_size), (gtk_cell_renderer_pixbuf_render):
4551         migrate to instance private data.
4552
4553         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_class_init),
4554         (gtk_cell_renderer_toggle_get_property),
4555         (gtk_cell_renderer_toggle_set_property),
4556         (gtk_cell_renderer_toggle_render): migrate to instance private data.
4557
4558 Thu Dec 18 00:24:32 2003  Kristian Rietveld  <kris@gtk.org>
4559
4560         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_class_init),
4561         (gtk_cell_renderer_text_get_property),
4562         (gtk_cell_renderer_text_set_property), (get_layout): add a
4563         single-paragraph-mode property, use private instance data.
4564         (Fixes #114943, reported by Morten Welinder).
4565
4566 Thu Dec 18 00:07:01 2003  Kristian Rietveld  <kris@gtk.org>
4567
4568         * gtk/gtktreemodel.h (gtk_tree_path_new_root),
4569         (gtk_tree_model_get_iter_root): now deprecated (#106953, reported
4570         by Matthias Clasen).
4571
4572 Wed Dec 17 23:50:56 2003  Kristian Rietveld  <kris@gtk.org>
4573
4574         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
4575         if we set a new stock_id and there was a previous stock_id, unref
4576         the pixbuf (since it was used to renderer the previous stock_id
4577         and stock_id might have been set to NULL now). (Fixes #122966).
4578
4579 2003-12-17  Marco Pesenti Gritti  <marco@gnome.org>
4580
4581         * gtk/gtktreemodelsort.c: (gtk_tree_model_sort_get_iter):
4582
4583         Check that index is not bigger than level array length
4584         also when depth is 1. Now get_iter_first correctly return
4585         FALSE when the model is empty (#129411).
4586
4587 Wed Dec 17 23:31:19 2003  Kristian Rietveld  <kris@gtk.org>
4588
4589         * gtk/gtktreeview.c (gtk_tree_view_search_equal_func): only
4590         try to strcmp or strlen if we managed to normalize and casefold
4591         the string correctly. Fixes crashes with non-UTF8 strings.
4592         (#121617, Patch from Tim-Philipp Müller).
4593
4594 Wed Dec 17 23:20:23 2003  Matthias Clasen  <maclas@gmx.de>
4595
4596         * gtk/gtkexpander.c (gtk_expander_animation_timeout): Add missing
4597         GDK_THREADS_ENTER()/GDK_THREADS_LEAVE().
4598         * gtk/gtkcalendar.c, gtk/gtkclist.c, gtk/gtkexpander.c, 
4599         gtk/gtklist.c, gtk/gtknotebook.c, gtk/gtkselection.c, 
4600         gtk/gtkspinbutton.c: Cast second argument to g_timeout_add() to
4601         GSourceFunc instead of GtkFunction.  (#129525, Olexiy Avramchenko) 
4602
4603 Wed Dec 17 23:16:45 2003  Kristian Rietveld  <kris@gtk.org>
4604
4605         * gtk/gtktreeview.c (gtk_tree_view_button_press): fix compile warning.
4606         (#122727, patch from Kjartan Maraas).
4607
4608 Wed Dec 17 21:23:01 2003  Kristian Rietveld  <kris@gtk.org>
4609
4610         Yay! Fixed height mode! Hooray! (Part 2 of #80868).
4611
4612         * gtk/gtktreeview.c (gtk_tree_view_class_init),
4613         (gtk_tree_view_init), (gtk_tree_view_set_property),
4614         (gtk_tree_view_get_property), (gtk_tree_view_set_model): add a
4615         fixed_height_mode property,
4616         (intialize_fixed_height_mode), (do_validate_rows),
4617         (column_sizing_notify), (gtk_tree_view_set_fixed_height_mode),
4618         (gtk_tree_view_style_set), (gtk_tree_view_row_changed),
4619         (gtk_tree_view_row_inserted), (gtk_tree_view_remove_column),
4620         (gtk_tree_view_insert_column): implement fixed height mode,
4621         (gtk_tree_view_append_column), (gtk_tree_view_insert_column),
4622         (gtk_tree_view_insert_column_with_attributes),
4623         (gtk_tree_view_insert_column_with_data_func): update docs.
4624
4625         * gtk/gtktreeprivate.h: add two fields to GtkTreePrivate.
4626
4627 2003-12-07  Murray Cumming  <murrayc@usa.net>
4628  
4629         * gtk/gtktreemodel.c:
4630         (row_inserted_marshal, row_deleted_marshal, rows_reorderered_marshal)
4631         Actually call the default signal handlers instead of calling the
4632         marshallers themselves in an endless loop. These default signal handler
4633         callbacks are not actually set so this is only noticed by gtkmm at
4634         the moment. Bug 123923.
4635
4636 2003-12-16  Federico Mena Quintero  <federico@ximian.com>
4637
4638         * gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Added a
4639         "volumes-changed" signal.  Added the following methods:
4640                 list_volumes
4641                 volume_free
4642                 volume_get_base_path
4643                 volume_get_is_mounted
4644                 volume_mount
4645                 volume_get_display_name
4646                 volume_render_icon
4647
4648         * gtk/gtkfilesystem.c (gtk_file_system_base_init): Create the
4649         "volumes-changed" signal.
4650         (gtk_file_system_list_volumes): New function.
4651         (gtk_file_system_volume_free): New function.
4652         (gtk_file_system_volume_get_base_path): New function.
4653         (gtk_file_system_volume_get_is_mounted): New function.
4654         (gtk_file_system_volume_mount): New function.
4655         (gtk_file_system_volume_get_display_name): New function.
4656         (gtk_file_system_volume_render_icon): New function.
4657
4658         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_volume_free): Implement.
4659         (gtk_file_system_unix_volume_get_base_path): Implement.
4660         (gtk_file_system_unix_volume_get_is_mounted): Implement.
4661         (gtk_file_system_unix_volume_mount): Implement.
4662         (gtk_file_system_unix_volume_get_display_name): Implement.
4663         (gtk_file_system_unix_volume_render_icon): Implement.
4664
4665         * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
4666         Added a field for the "volumes-changed" signal connection.
4667         (gtk_file_chooser_default_set_property): Connect to
4668         "volumes-changed" on the file system.
4669         (gtk_file_chooser_default_finalize): Disconnect from
4670         "volumes-changed".
4671
4672         * gtk/gtkfilechooserdefault.c (shortcuts_remove_rows): New helper
4673         function.
4674         (shortcuts_get_index): New helper function.
4675         (shortcuts_insert_path): Can now insert volumes as well as paths.
4676         (shortcuts_append_paths): Don't take is_file_system_root.
4677         (shortcuts_add_volumes): New function.
4678         (shortcuts_append_file_system_roots): Removed.
4679         (create_shortcuts_model): Use shortcuts_add_volumes().
4680         (remove_bookmark_button_clicked_cb): Check that the index is
4681         within range.
4682         (bookmarks_check_add_sensitivity): Take volumes into account.
4683         (shortcuts_get_selected_index): New helper function.
4684         (remove_bookmark_button_clicked_cb): Use
4685         shortcuts_get_selected_index().
4686         (bookmarks_check_remove_sensitivity): Likewise.
4687         (shortcuts_select_func): Likewise.
4688         (shortcuts_row_activated_cb): Handle volumes as well as normal
4689         paths.
4690         (shortcuts_activate_volume): New function.
4691         (struct _GtkFileChooserDefault): Removed the bookmarks_set and
4692         bookmarks_iter fields.
4693         (shortcuts_append_bookmarks): Use shortcuts_remove_rows().
4694         (bookmarks_changed_cb): Use shortcuts_add_bookmarks().
4695         (remove_bookmark_rows): Removed.
4696         (shortcuts_add_bookmarks): New function; moved most of the code
4697         over from shortcuts_append_bookmarks().
4698         (shortcuts_append_bookmarks): Add the separator node here, and
4699         then call shortcuts_add_bookmarks().
4700
4701 Tue Dec 16 15:01:10 2003  Manish Singh  <yosh@gimp.org>
4702
4703         * gtk/gtkfilechooserwidget.c: fix preprocessor conditional confusion.
4704         (G_OS_UNIX/G_OS_WIN32 stuff)
4705
4706 Tue Dec 16 01:46:46 2003  Matthias Clasen  <maclas@gmx.de>
4707
4708         Do not interpret distant clicks as double-clicks  (#116541,
4709         Bernhard Walle):
4710         
4711         * gdk/gdkdisplay.h (struct GdkDisplay): Add new fields
4712         double_click_distance, button_x and button_y.
4713         * gdk/gdkdisplay.c (gdk_display_init): Initialize the new fields.
4714
4715         * gdk/gdkdisplay.h: 
4716         * gdk/gdkevents.c (gdk_display_set_double_click_distance): 
4717         New function to set the double click distance on a display.
4718
4719         * gdk/gdkevents.c: Take double click distance into account
4720         when generating single, double or triple clicks.
4721
4722         * gtk/gtksettings.c: Add new setting "gtk-double-click-distance".
4723
4724         * gdk/x11/gdkevents-x11.c: Add the XSetting 
4725         "Net/DoubleClickDistance" and map it to "gtk-double-click-distance".
4726
4727 2003-12-15  Federico Mena Quintero  <federico@ximian.com>
4728
4729         * gtk/gtkdialog.c: Sigh, revert the change.
4730
4731 2003-12-15  Federico Mena Quintero  <federico@ximian.com>
4732
4733         * gtk/gtkdialog.c (dialog_has_cancel): Removed.
4734         (gtk_dialog_close): Don't call dialog_has_cancel().  At least
4735         allows sane behavior for #101293.
4736
4737 Mon Dec 15 00:56:54 2003  Matthias Clasen  <maclas@gmx.de>
4738
4739         * gtk/gtkbutton.[hc]: Add new properties, xalign and yalign, with
4740         getter and setter gtk_button_[sg]et_alignment(), to set the
4741         alignment of the child.  (#70961, Jody Goldberg)
4742
4743 2003-12-14  Hans Breuer  <hans@breuer.org>
4744
4745         * gtk/gtkprivate.h gtk/gtkmain.c : handle GTK_DATADIR
4746         similar as the other filesystem placement 'constants' (dynamic
4747         resolving on win32)
4748
4749         * gtk/gtkfilechooserwidget.c : handle file system to win32
4750         renaming here as will
4751         * gtk/gtkfilesystemwin32.c : implement render_icon
4752
4753         * gtk/gtk.def gdk/gdk.def : updated externals
4754
4755         * gdk/win32/gdkdisplay-win32.c : make it compile without
4756         <multimon.h> - i.e. even older sdk
4757
4758         * gdk/win32/gdkevents-win32.c : match resize_timer_proc
4759         with TIMERPROC prototype
4760
4761         * gdk/win32/gdkwindow-win32.c : older msvc does not know
4762         BITMAPV5HEADER (from win xp) either
4763
4764         * gtk/gtkimmodule.c : make it compile even if GTK_LOCALEDIR is
4765         not defined
4766
4767         * tests/testfilechooser.c : recent GLib crashes on 
4768         g_print ("%s", NULL) so avoid this
4769
4770 2003-12-14  Tor Lillqvist  <tml@iki.fi>
4771
4772         * gdk/win32/gdkselection-win32.c: Calls to OpenClipboard() must be
4773         followed by calls to CloseClipboard(). Add a missing call to
4774         CloseClipboard(). Found by Adam Wright, fixes #104944. Use
4775         API_CALL macro in more places.
4776
4777 2003-12-14  Tor Lillqvist  <tml@iki.fi>
4778
4779         Merge from stable:
4780
4781         * gdk/gdkdisplaymanager.c: Mark default_display static.
4782
4783         * gdk/win32/gdkdnd-win32.c: Mark current_dest_drag static.
4784
4785         * gdk/win32/gdkkeys-win32.c: Disable some overly verbose debugging
4786         output.
4787
4788         * gdk/win32/gdkevents-win32.c: Clean up the debugging output from
4789         --gdk-debug=events. In general, output just one line of debugging
4790         output for each Windows message, plus one line for each GDK event
4791         generated. Indent all lines according to window procedure nesting
4792         level.
4793
4794         (inner_window_procedure): Rename from real_window_procedure.
4795
4796         (find_real_window_for_grabbed_mouse_event): Don't get misled when
4797         the point is in the non-client (decoration) area of the window
4798         returned by WindowFromPoint(). Return the root window in that
4799         case.
4800
4801         (build_pointer_event_state): Test also MK_XBUTTON1 and
4802         MK_XBUTTON2 (buttons 4 and 5).
4803
4804         (synthesize_enter_event): Track the mouse leaving the window in
4805         the event being generated, not the one mentioned in the Windows
4806         message.
4807
4808         (propagate): Test for NULL parent earlier. Improves event
4809         generation from a grabbed pointer. Part of fix for #107320.
4810
4811         (handle_stuff_while_moving_or_resizing): New function, to
4812         dispatch the main loop (once).
4813
4814         (resize_timer_proc): New function, set to be called by an inerval
4815         timer during resizes/moves. Calls handle_stuff_while_moving_or_resizing().
4816
4817         (gdk_event_translate): Drop unused return_exposes parameter.
4818
4819         Handle WM_XBUTTONDOWN and UP messages (buttons 4 and 5).
4820
4821         On WM_SYSKEYUP, generate a key release event also for just the Alt
4822         key.
4823
4824         On WM_MOUSELEAVE, generate a leave event of type
4825         GDK_NOTIFY_ANCESTOR (and not UNKNOWN) if the mouse left a
4826         top-level window, and left the app completely.
4827
4828         On WM_ENTERSIZEMOVE, set a flag, and start an interval timer that
4829         calls resize_timer_proc() at regular intervals. On
4830         WM_EXITSIZEMOVE, kill the timer.
4831
4832         On WM_WINDOWPOSCHANGED, generate a configure event if necessary,
4833         and dispatch the main loop (by calling
4834         handle_stuff_while_moving_or_resizing()). Fixes #99540, idea by
4835         Herman Bloggs.
4836
4837         * gdk/win32/gdkmain-win32.c (_gdk_win32_message_to_string): Handle
4838         also wintab messages.
4839
4840         * gdk/win32/gdkwindow-win32.c (gdk_window_set_skip_taskbar_hint):
4841         Instead of using WS_EX_TOOLWINDOW, implement by setting/unsetting
4842         the window's owner. Fixes #118093, reported by Maxime Romano.
4843
4844 Tue Dec  8 09:41:00 2003  Tim Evans  <t.evans@aranz.com>
4845
4846         * gdk/win32/gdkwindow-win32.[ch]: Implement
4847         gdk_window_set_icon_list() for Win32, with support for big and
4848         small icons and support for alpha-channel icons under Windows
4849         XP. Replaces the previous implementation of gdk_window_set_icon().
4850         (#128762)
4851         
4852 Sun Dec 14 01:28:23 2003  Matthias Clasen  <maclas@gmx.de>
4853
4854         * gdk/x11/gdkprivate-x11.h: 
4855         * gdk/x11/gdkx.h: 
4856         * gdk/x11/gdkevents-x11.c (gdk_x11_register_standard_event_type): 
4857         Rename from _gdk_x11_register_event_type(), added API docs.
4858         * gdk/x11/gdkinput-x11.c (_gdk_input_common_init): 
4859         * gdk/x11/gdkimage-x11.c (_gdk_windowing_image_init): Adjust
4860         all callers.  (#121471, Bill Haneman)
4861
4862 Sat Dec 13 23:37:50 2003  Matthias Clasen  <maclas@gmx.de>
4863
4864         * gdk/gdkdraw.c (gdk_draw_pixbuf): Document that the clip mask
4865         of gc is ignored.  (#101983, Sebastian Rittau)
4866
4867 Sat Dec 13 16:13:27 2003  Kristian Rietveld  <kris@gtk.org>
4868
4869         A trick for a faster treeview, step 1. Patch to short circuit
4870         _build_tree(), inspired by Jonathan (#80868).
4871
4872         * gtk/gtktreeview.c (gtk_tree_view_init): don't put _IS_LIST in
4873         flags by default,
4874         (gtk_tree_view_build_tree): don't even try to recurse when the
4875         model says that it is a list, remove flag unsetter,
4876         (gtk_tree_view_set_model): change flag setting logic.
4877
4878         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_get_flags):
4879         propagate whether or not the child model has _IS_LIST set.
4880
4881         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_flags):
4882         ditto.
4883
4884 Sat Dec 13 02:33:17 2003  Matthias Clasen  <maclas@gmx.de>
4885
4886         * gtk/gtkrange.c (gtk_range_scroll): Undo the last change, 
4887         since it broke logical keynav. 
4888         * gtk/gtkrange.c (range_get_scroll_for_grab): Fix stepper
4889         direction in inverted scrollbars here instead.
4890
4891 Sat Dec 13 00:39:24 2003  Matthias Clasen  <maclas@gmx.de>
4892
4893         * gtk/gtkviewport.c (viewport_set_hadjustment_values): Implement
4894         "gravity" for RTL mode in a better way: Keep the distance from 
4895         the upper end of the page to the upper bound constant. This also 
4896         fixes problems with the initial position of the viewport in RTL 
4897         mode.  (#129063)
4898         
4899 Fri Dec 12 21:00:12 2003  Kristian Rietveld  <kris@gtk.org>
4900
4901         Combo box flipping support.
4902
4903         * gtk/gtkcombobox.c (gtk_combo_box_menu_position),
4904         (gtk_combo_box_size_allocate): support RTL flipping (#126518,
4905         patch from Matthias Clasen),
4906         (gtk_combo_box_popup): fix popup window alignment if there's a
4907         cell view frame visible (#126518, patch from Semion Chichelnitsky).
4908
4909         * gtk/gtkcellview.c (gtk_cell_view_expose): support RTL flipping
4910         (#128348, patch from Semion Chichelnitsky).
4911
4912 Fri Dec 12 01:13:34 2003  Matthias Clasen  <maclas@gmx.de>
4913
4914         * examples/gtkdial/gtkdial.c:
4915         * examples/menu/menu.c:
4916         * examples/scribble-xinput/scribble-xinput.c:
4917         * examples/progressbar/progressbar.c:
4918         * docs/tutorial/gtk-tut.sgml: Remove deprecated functions
4919         in examples. (#129074, Olexiy Avramchenko)
4920         * examples/calendar/Makefile:
4921         * examples/rangewidgets/Makefile:
4922         * examples/menu/Makefile: Allow deprecated functions in
4923         examples which use deprecated widgets.
4924
4925 Fri Dec 12 00:43:16 2003  Matthias Clasen  <maclas@gmx.de>
4926
4927         * gdk/gdk.c (gdk_threads_set_lock_functions): 
4928         * gdk/x11/gdkspawn-x11.c: Add "Since: 2.4" to doc comments.
4929
4930 Fri Dec 12 00:05:31 2003  Matthias Clasen  <maclas@gmx.de>
4931
4932         * gtk/gtkrange.c (gtk_range_scroll): Fix direction of 
4933         steppers in inverted scrollbars.  (#129084, Olexiy Avramchenko)
4934
4935 Thu Dec 11 23:50:30 2003  Matthias Clasen  <maclas@gmx.de>
4936
4937         * gtk/gtknotebook.c (gtk_notebook_pages_allocate): Don't 
4938         unnecessarily reserve space for arrows in RTL mode.  (#129075,
4939         Semion Chichelnitsky)
4940
4941 Thu Dec 11 00:35:12 2003  Matthias Clasen  <maclas@gmx.de>
4942
4943         Changes to allow "no input" windows (#64613):
4944         
4945         * gdk/gdkwindow.h (struct _GdkWindowObject): Add a new boolean
4946         field accept_focus.
4947         
4948         * gdk/gdkwindow.h (gdk_window_set_accept_focus): New function to
4949         set it.
4950
4951         * gtk/gtkwindow.[hc]: Add a boolean property "accept_focus"
4952         and gtk_window_get_focus() and gtk_window_set_focus().
4953
4954         * gdk/win32/gdkwindow-win32.c (gdk_window_new): 
4955         * gdk/linux-fb/gdkwindow-fb.c (gdk_window_new): 
4956         * gdk/x11/gdkwindow-x11.c (gdk_window_set_new):
4957         Initialize the accept_focus field to TRUE.
4958
4959         * gdk/win32/gdkwindow-win32.c (gdk_window_set_accept_focus): 
4960         * gdk/linux-fb/gdkwindow-fb.c (gdk_window_set_accept_focus): 
4961         * gdk/x11/gdkwindow-x11.c (gdk_window_set_accept_focus): 
4962         Implementations for the various backends. The Win32 and linux-fb
4963         implementations set the accept_focus field, but don't use it yet 
4964         to actually implement noinput windows. The X implementation updates
4965         the WM_HINTS to select the globally active input model (see the
4966         ICCCM) if accept_focus is FALSE.
4967
4968         * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Ignore the
4969         WM_TAKE_FOCUS message if accept_focus is FALSE.
4970         
4971 2003-12-10  Federico Mena Quintero  <federico@ximian.com>
4972
4973         * gtk/gtkfilechooserdefault.c (struct _GtkFileChooserDefault):
4974         Added toolbar items for the filter separator and the filter item.
4975         (toolbar_create): Add the filter widgets here.
4976         (filter_create): Renamed from create_filter().  Don't store the
4977         alignment in the impl structure, just return it.
4978         (toolbar_show_filters): New function.
4979         (gtk_file_chooser_default_add_filter): Use toolbar_show_filters().
4980         (gtk_file_chooser_default_remove_filter): Likewise.
4981         (gtk_file_chooser_default_constructor): Don't create the filter
4982         widget here.
4983         (struct _GtkFileChooserDefault): Added a field for a current
4984         folder label.
4985         (gtk_file_chooser_default_constructor): Create the folder label.
4986         (gtk_file_chooser_default_set_current_folder): Set the current
4987         folder label.
4988
4989         * tests/testfilechooser.c (main): Dramatically improved the
4990         usability of the extra widget through careful word choice.
4991
4992 2003-12-10  Mark McLoughlin  <mark@skynet.ie>
4993
4994         * gdk/gdk.h: include gdkspawn.h.
4995
4996 2003-12-10  Mark McLoughlin  <mark@skynet.ie>
4997
4998         * gdk/linux-fb/gdkspawn-fb.c,
4999           gdk/win32/gdkspawn-win32.c,
5000           gdk/x11/gdkspawn-x11.c: (gdk_spawn_command_line_on_screen):
5001         s/gdk_spawn/gdk_spawn_on_screen/.
5002
5003 2003-12-10  Mark McLoughlin  <mark@skynet.ie>
5004
5005         Utility functions for multi-screen applications which need
5006         to ensure launched applications appear on a certain screen.
5007         See bug #95897.
5008         
5009         * gdk/gdkspawn.h: header for multi-screen launching
5010         support.
5011         
5012         * gdk/Makefile.am: install gdkspawn.h.
5013         
5014         * gdk/x11/Makefile.am:
5015         * gdk/x11/gdkspawn-x11.c:
5016         (gdk_spawn_make_environment_for_screen): private function
5017         to create an environment vector with DISPLAY set appropriately
5018         for the screen.
5019         (gdk_spawn_on_screen): multi-screen version of g_spawn_async().
5020         (gdk_spawn_on_screen_with_pipes): version of g_spawn_async_with_pipes().
5021         (gdk_spawn_command_line_on_screen): version of g_spawn_command_line_async().
5022         
5023         * gdk/linux-fb/Makefile.am,
5024           gdk/linux-fb/gdkspawn-fb.c: linux-fb impl.
5025         
5026         * gdk/win32/Makefile.am,
5027           gdk/win32/gdkspawn-win32.c: win32 impl.
5028
5029 2003-12-09  Federico Mena Quintero  <federico@ximian.com>
5030
5031         * gtk/gtkfilechooserdefault.c (shortcuts_append_home): Use "Home"
5032         rather than "Username's Home" (#125964).
5033         (shortcuts_selection_changed_cb): New callback, check the
5034         sensitivity of the Remove Bookmark button at the right time.
5035         (shortcuts_row_activated_cb): It is not necessary to check the
5036         sensitivity here.
5037
5038 Wed Dec 10 00:06:24 2003  Matthias Clasen  <maclas@gmx.de>
5039
5040         Improve the GDK API for dealing with group leaders (#119375):
5041         
5042         * gdk/gdkwindow.h: 
5043         * gdk/x11/gdkwindow-x11.c (gdk_window_get_group): New function to 
5044         get the group leader of a toplevel window as a GdkWindow.
5045
5046         * gdk/gdkdisplay.h: 
5047         * gdk/x11/gdkdisplay-x11.c (gdk_display_get_default_group): New 
5048         function to get the default group leader as a GdkWindow.
5049
5050         * gdk/x11/gdkdisplay-x11.h (struct _GdkDisplayX11): Add a field for
5051         the GdkWindow of the default group leader.
5052         
5053         * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Construct the GdkWindow
5054         for the default group leader.
5055
5056 2003-12-09  Noah Levitt  <nlevitt@columbia.edu>
5057
5058         * gdk/gdkkeysyms.h:
5059         * gdk/gdkkeyuni.c: Add keysyms Ukrainian_ghe_with_upturn,
5060         Ukrainian_GHE_WITH_UPTURN. (#128529)
5061
5062 2003-12-08  Jan Arne Petersen  <jpetersen@uni-bonn.de>
5063
5064         * gtk/gtkfilechooserdefault.c:
5065         (gtk_file_chooser_default_get_paths), (entry_activate): Use the
5066         behavior of the GtkFileSelection to determine selected paths in
5067         single selected, GTK_FILE_CHOOSER_ACTION_SAVE mode.
5068
5069 2003-12-08  Federico Mena Quintero  <federico@ximian.com>
5070
5071         * gtk/gtkfilechooserdefault.c
5072         (gtk_file_chooser_default_get_paths): Don't declare the closure
5073         struct twice.
5074         (get_paths_foreach): Likewise.
5075
5076 Tue Dec  9 00:12:36 2003  Matthias Clasen  <maclas@gmx.de>
5077
5078         * gtk/gtkfilesystemwin32.[hc]: s/Unix/Win32/g. 
5079
5080 2003-12-08  Tor Lillqvist  <tml@iki.fi>
5081
5082         * gdk/win32/gdkdisplay-win32.c: Use <multimon.h> when compiling
5083         with MSVC and old headers. (#126933, John Ehresman)
5084
5085 Mon Dec  8 10:54:44 2003  Owen Taylor  <otaylor@redhat.com>
5086          
5087         * === Released 2.3.1 ===
5088
5089         * NEWS: Updates for 2.3.1
5090
5091         * configure.in: Version 2.3.1, interface age 0, binary age 301.
5092
5093         * gtk/gtkmenuitem.c (gtk_menu_item_can_activate_accel):
5094         Rename from gtk_menu_item_real_can_activate_accel() to
5095         match GTK+ convention, improve comment.
5096
5097         * gtk/gtkwidget.c: Document gtk_widget_can_activate_accel(),
5098         can ::can-activate-accel signal.
5099
5100         * gtk/gtkwidget.c (closure_accel_activate): Fix spelling
5101         in comment.
5102
5103         * gtk/gtkmenu.c (gtk_menu_real_can_activate_accel): Clean 
5104         up comment.
5105         
5106         * gtk/gtkcellview{,menuitem}.[ch]: Move GET_PRIVATE() macros
5107         into the .c file.
5108
5109 Mon Dec  8 12:09:21 2003  Owen Taylor  <otaylor@redhat.com>
5110
5111         * gtk/gtkicontheme.c (find_builtin_icon): Fix a
5112         missing 'else'. (#128816, Jorn Baayen)
5113
5114 2003-12-02  Michael Meeks  <michael@ximian.com>
5115
5116         Based on a patch by Martin Kretzschmar; #122448
5117         
5118         * gdk/gdk.h: new gdk_threads_lock, gdk_threads_unlock, point to
5119         implementation of GDK_THREADS_ENTER / GDK_THREADS_LEAVE.
5120         (GDK_THREADS_ENTER, GDK_THREADS_LEAVE): use gdk_threads_[un]lock
5121         function pointers. Deprecate the global gdk_threads_mutex variable.
5122         
5123         * gdk/gdk.c (gdk_threads_impl_lock, gdk_threads_impl_unlock): new,
5124         extracted from GTK_THREADS_ENTER/LEAVE macros.
5125         (gdk_threads_init): init gtk_threads_[un]lock if not set.
5126         (gdk_threads_set_lock_functions): impl.
5127
5128         * gdk/gdkglobals.c: add definitions of gdk_threads_[un]lock.
5129
5130 Sun Dec  7 23:45:40 2003  Matthias Clasen  <maclas@gmx.de>
5131
5132         * gtk/gtkicontheme.c (gtk_icon_theme_has_icon): Don't crash if
5133         icon_theme_builtin_icons hasn't been initialized.  (#128726, Diego
5134         Gonzalez)
5135
5136 2003-12-07  Tor Lillqvist  <tml@iki.fi>
5137
5138         * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon): Don't use the
5139         return value from SendMessage(WM_SETICON). That is the old
5140         icon. Fixes GDI resource leak. (#128559, Tim Evans)
5141
5142         * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): If we already
5143         have a pointer grab active with a grab cursor set, destroy that
5144         cursor to avoid a GDI resource leak. (#128410, Tim Evans)
5145
5146 2003-12-05  Paisa Seeluangsawat  <paisa@users.sf.net>
5147
5148         * configure.in: Added Thai (th) to ALL_LINGUAS.
5149
5150 Sat Dec  6 01:42:04 2003  Matthias Clasen  <maclas@gmx.de>
5151
5152         * gtk/gtkalignment.c (gtk_alignment_size_allocate): Implement
5153         RTL flipping for GtkAlignment.  (#127585)
5154
5155 Sat Dec  6 01:13:09 2003  Matthias Clasen  <maclas@gmx.de>
5156
5157         * gtk/gtkcombo.c (gtk_combo_get_pos): Fix the position of the 
5158         popup window when in RTL mode.  (#127578)
5159
5160 Fri Dec  5 15:30:16 2003  Manish Singh  <yosh@gimp.org>
5161
5162         * gtk/gtkaccelgroup.c (quick_accel_find): Applied patch from
5163         Ross McFarland <rwmcfa1@neces.com>, initialize *count_p to 0
5164         before doing anything to prevent garbage returns.
5165
5166 Sat Dec  6 00:23:46 2003  Matthias Clasen  <maclas@gmx.de>
5167
5168         * gtk/gtkviewport.c: Implement RTL flipping for 
5169         GtkViewport: Adjust the "gravity" when resizing
5170         This is a bit flickery in RTL mode.  (#107526)
5171
5172 Sat Dec  6 00:22:14 2003  Matthias Clasen  <maclas@gmx.de>
5173
5174         * gtk/gtkscrolledwindow.c: Implement RTL flipping for 
5175         GtkScrolledWindow: the vertical scrollbar shows up on the left
5176         side in RTL mode.  (#107526)
5177
5178 Fri Dec  5 01:58:33 2003  Matthias Clasen  <maclas@gmx.de>
5179
5180         * gtk/gtknotebook.c: Implement RTL flipping for GtkNotebook:
5181         tabs displayed at the top/bottom are rearranged, and tabs on
5182         the left/right are displayed at the opposite edge.  (#96630)
5183
5184 2003-12-04  Mark McLoughlin  <mark@skynet.ie>
5185
5186         * gtk/gtklabel.c: (gtk_label_set_attributes_internal): Allow
5187         gtk_label_set_attributes() take NULL. See bug #128517.
5188
5189 2003-12-03  Federico Mena Quintero  <federico@ximian.com>
5190
5191         * gtk/gtkfilechooserentry.c (struct _GtkFileChooserEntry): Removed
5192         the in_change flag.
5193         (completion_idle_callback): Use a temporary list store and re-set
5194         it on the completion rather than modifying the old one.  We are
5195         re-reading the folder anyway, and this gets rid of non-atomicity
5196         problems.
5197
5198 2003-12-01  Federico Mena Quintero  <federico@ximian.com>
5199
5200         Decouple impl->current_folder from the selection in the folder
5201         tree.  This is so that going to /home/federico/.foo (e.g. from a
5202         bookmark) will work even if show_hidden == FALSE.  The folder tree
5203         needs to be fixed in this case to show such folders explicitly.
5204
5205         * gtk/gtkfilechooserdefault.c
5206         (gtk_file_chooser_default_set_current_folder): When changing
5207         folders, do the entry and list model work here, instead of
5208         tree_selection_changed().
5209         (struct _GtkFileChooserDefault): Added a changing_folder flag
5210         again, dum de dum.
5211         (tree_selection_changed): Use _gtk_file_chooser_set_current_folder_path().
5212
5213 Tue Dec  2 01:01:54 2003  Matthias Clasen  <maclas@gmx.de>
5214
5215         * gtk/gtkiconfactory.h: Remove duplicate declaration of 
5216         gtk_icon_source_set_icon_name().  (#Jeff Franks, #128269)
5217
5218 2003-12-01  Federico Mena Quintero  <federico@ximian.com>
5219
5220         Patch from Hans-Petter Jansson <hpj@ximian.com> to align the
5221         bookmarks buttons with the location entry.
5222
5223         * gtk/gtkfilechooserdefault.c
5224         (gtk_file_chooser_default_constructor): Use a GtkSizeGroup for the
5225         bookmarks buttons and the location entry.
5226
5227 2003-12-01  Federico Mena Quintero  <federico@ximian.com>
5228
5229         * gtk/gtkfilechooserdefault.c (create_shortcuts_tree): Set the
5230         shortcuts tree as a drag destination.
5231         (shortcuts_drag_data_received_cb): New callback.
5232         (get_file_info): Also fetch information on whether the file is a folder.
5233         (add_bookmark_button_clicked_cb): Use error_could_not_add_bookmark_dialog().
5234         (error_could_not_add_bookmark_dialog): New function.
5235         (shortcuts_add_bookmark_from_path): New helper function.
5236         (add_bookmark_button_clicked_cb): Use shortcuts_add_bookmark_from_path().
5237         (shortcuts_row_activated): We no longer need the changing_folder flag.
5238         (struct _GtkFileChooserDefault): Likewise.
5239
5240 Sun Nov 30 17:31:32 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
5241
5242         * gtk/gtktoolbar.c (slide_idle_handler): return TRUE if there are
5243         disappearing placeholders that are still visible.
5244
5245         * gtk/gtktoolbar.c: formatting fixes
5246
5247         * gtk/gtktoolbar.c (struct _ToolbarContent): new bit:
5248         disappearing, for placeholders that are going to disappear.
5249
5250         * gtk/gtktoolbar.c (get_item_size): return 0 for disappearing placeholders
5251
5252 Sat Nov 29 00:55:28 2003  Jonathan Blandford  <jrb@gnome.org>
5253
5254         * gtk/gtktreeview.c (gtk_tree_view_new_column_width): 
5255         * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
5256         Patch from <chinen@jp.ibm.com> to handle RTL support for column
5257         resizers, #127874
5258
5259 Fri Nov 28 00:26:24 2003  Matthias Clasen  <maclas@gmx.de>
5260
5261         * gtk/gtkfilesystemmodel.c (gtk_file_system_model_finalize): 
5262         Don't use freed memory.  (#127698, Taavi Talvik) 
5263
5264 Fri Nov 28 00:09:10 2003  Matthias Clasen  <maclas@gmx.de>
5265
5266         * gtk/gtkfilechooserentry.c: Remove debug g_print()s. 
5267
5268 Thu Nov 27 22:17:50 2003  Matthias Clasen  <maclas@gmx.de>
5269
5270         * gtk/gtkuimanager.c: Remove debug define.
5271
5272 Thu Nov 27 16:19:03 2003  Tim Janik  <timj@gtk.org>
5273
5274         * gtk/gtkmenu.c: allow accel activation depending on sensitivity
5275         and the attach widget.
5276
5277         * gtk/gtkmenuitem.c: allow accel activation depending on visibility,
5278         sensitivity and the parent menu.
5279
5280         * gtk/gtkwidget.[hc]: introduced ::can-activate-accel signal which
5281         checks whether accelerators may activate a widget. the default handler
5282         demands the widget be sensitive and visible+viewable.
5283
5284         * gtk/gtkaccelgroup.[hc]: export gtk_accel_group_activate().
5285
5286 Tue Nov 25 00:10:05 2003  Matthias Clasen  <maclas@gmx.de>
5287
5288         * gtk/gtkuimanager.c (update_node): Don't show accelerators in
5289         popup menus.  (#127227)
5290
5291 Mon Nov 24 13:47:39 GMT 2003  Tony Gale <gale@gtk.org>
5292
5293         * docs/faq/gtk-faq.sgml: start 2.x Section 4 updates
5294
5295 Mon Nov 24 04:05:15 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
5296
5297         * gtk/gtkradiotoolbutton.[ch]
5298         (gtk_radio_tool_button_new_from_widget): Make this function take a
5299         GtkRadioToolButton instead of a GtkWidget. (#127729, Murray
5300         Cumming)
5301
5302 Mon Nov 24 02:34:00 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
5303
5304         * gtk/gtktoolbar.c: remove variables in_dnd and leaving_dnd
5305
5306 Mon Nov 24 02:19:33 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
5307
5308         * gtk/gtktoolbar.c: remove variable
5309         n_overflowed_menu_items_when_dnd_started
5310
5311 Mon Nov 24 01:47:10 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
5312
5313         Rework sliding algorithm.
5314         - No more weird jumping when items are dragged off and added to
5315         the toolbar,
5316         - More natural item movement
5317
5318         * gtk/gtktoolbar.c (gtk_toolbar_size_allocate): Many changes. This
5319         function is now responsible for calculating intermediate positions
5320         during item sliding. It is also responsible for starting sliding
5321         if items disappear.  Also turn off expanding when there is an
5322         overflow menu.
5323         (gtk_toolbar_begin_sliding, stop_sliding): New functions.
5324         (slide_idle_handler): New function. All the sliding is now done by
5325         gtk_toolbar_size_allocate(), so the idle handler now just checks
5326         if there is more sliding to be done.
5327         (compute_intermediate_allocation, position): new functions
5328         calculating intermediate steps in the slide animations. The new
5329         animation algorithm uses a constant speed instead of a constant
5330         must-be-finished-within time.
5331         (struct _ToolbarContent): use 
5332         GtkAllocation goal_allocation; and 
5333         GtkAllocation start_allocation; instead of 
5334         gint start/goal_width;
5335
5336         * gtk/gtktoolitem.c (gtk_tool_item_set_tooltip): fix typo in
5337         documentation
5338
5339 Sun Nov 23 22:26:25 2003  Matthias Clasen  <maclas@gmx.de>
5340
5341         * gtk/gtktooltips.c (gtk_tooltips_draw_tips): Make tooltip 
5342         positioning Xinerama-aware.  (#127332)
5343
5344 Fri Nov 21 01:57:21 2003  Matthias Clasen  <maclas@gmx.de>
5345
5346         * gdk/x11/gdkscreen-x11.c (init_xinerama_support): Make monitor
5347         boundaries visible in fake Xinerama mode.
5348
5349 Thu Nov 20 15:41:56 2003  Manish Singh  <yosh@gimp.org>
5350
5351         * gtk/gtkmenu.c (gtk_menu_set_tearoff_state): cast to GTK_WIDGET()
5352         for the gtk_widget_hide() call.
5353
5354 Thu Nov 20 14:51:41 2003  Jonathan Blandford  <jrb@redhat.com>
5355
5356         * gtk/gtktreedatalist.c (gtk_tree_data_list_compare_func): Patch
5357         from David Hampton to fix sorting on booleans.
5358
5359 Thu Nov 20 15:48:03 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
5360
5361         * gtk/gtksocket.c (gtk_socket_focus): Use gtk_widget_is_focus()
5362         instead of GTK_WIDGET_HAS_FOCUS. (#122327, Owen Taylor. Reported
5363         by Frederic Crozat).
5364
5365 Thu Nov 20 13:10:29 GMT 2003  Tony Gale <gale@gtk.org>
5366
5367         * docs/faq/gtk-faq.sgml: Update Section 3 to 2.x
5368
5369 2003-11-19  Federico Mena Quintero  <federico@ximian.com>
5370
5371         Fixes to problems reported by Iain Holmes:
5372
5373         * gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Do not
5374         throw up an error dialog if the desktop doesn't exist.
5375         (error_message): Handle the case where there is no real toplevel
5376
5377         yet.
5378         (list_model_filter_func): Always let folders pass through (patch
5379         by Dave Malcolm).
5380
5381 Wed Nov 19 23:19:23 2003  Kristian Rietveld  <kris@gtk.org>
5382
5383         * gtk/gtkcombobox.[ch] (gtk_combo_box_scroll_event): move function
5384         to a somewhat more logical place,
5385         (gtk_combo_box_remove_text): New function (#125262, Owen Taylor).
5386
5387 Wed Nov 19 22:15:01 2003  Kristian Rietveld  <kris@gtk.org>
5388
5389         * gtk/gtkentry.c (gtk_entry_completion_timeout): always resize
5390         the popup when it is visible, popdown when there are less chars
5391         than the minimum key length in the entry,
5392         (gtk_entry_completion_changed): popdown when the entry is empty.
5393
5394         * gtk/gtkentrycompletion.c (gtk_entry_completion_init): set the
5395         size request of the vscrollbar to (-1, 0), to get a nicely sized
5396         completion treeview (Fixes #126573, reported by Piers Cornwell),
5397         (_gtk_entry_completion_resize_popup): show/hide the action_view
5398         based on items.
5399
5400 2003-11-19  Federico Mena Quintero  <federico@ximian.com>
5401
5402         * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_init): Turn
5403         off the dialog's separator (thanks to Iain Holmes).
5404
5405 Wed Nov 19 18:15:00 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
5406
5407         * gtk/gtkmenu.c (DEFAULT_POPUP_DELAY): set to 200 instead of 225
5408         * gtk/gtkmenuitem.c (get_minimum_width): Impose a minimum width
5409         on items that have a submenu. (#120104).
5410
5411 Wed Nov 19 18:11:08 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
5412
5413         * gtk/gtktoolbar.c (struct _ToolbarContent): Add a new
5414         "ItemState" field indicating the overflowed-ness etc. of the item.
5415         (gtk_toolbar_size_allocate): update the field here.
5416
5417 2003-11-19  Federico Mena Quintero  <federico@ximian.com>
5418
5419         * gtk/gtkfilechooserdefault.c (create_filter): Don't add padding
5420         to the alignment.  Use the HIG-specified spacing between the
5421         filter label and the combo.
5422         (create_filename_entry): Use HIG-specified spacing between the
5423         location label and the entry.
5424         (gtk_file_chooser_default_constructor): Don't use vertical padding
5425         around the filename entry.
5426
5427 2003-11-19  Federico Mena Quintero  <federico@ximian.com>
5428
5429         * gtk/gtkfilesystem.h (struct _GtkFileSystemIface): Added a
5430         render_icon virtual method.
5431
5432         * gtk/gtkfilesystem.c (gtk_file_system_render_icon): New function.
5433
5434         * gtk/gtkfilesystemunix.c (gtk_file_system_unix_render_icon):
5435         Implement as a stub for now.
5436
5437         * gtk/gtkfilechooserdefault.c (shortcuts_insert_path): Use
5438         gtk_file_system_render_icon().
5439         (list_icon_data_func): Likewise.
5440         (toolbar_create): Set the toolbar style to icons only.
5441
5442         * gtk/gtkfilechooser.c (gtk_file_chooser_add_shortcut_folder_uri):
5443         Fix doc comments.
5444
5445 Wed Nov 19 02:18:37 2003  Matthias Clasen  <maclas@gmx.de>
5446
5447         * gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Call 
5448         gtk_widget_hide(menu) when reattaching the menu.  (#126057) 
5449
5450 Wed Nov 19 00:06:04 2003  Kristian Rietveld  <kris@gtk.org>
5451
5452         * gtk/gtkentrycompletion.c (gtk_entry_completion_selection_changed):
5453         only unselect all items if the treeview has focus. (Fixes bug
5454         reported by Marco Pesenti Gritti).
5455
5456 Tue Nov 18 22:26:30 2003  Kristian Rietveld  <kris@gtk.org>
5457
5458         * gtk/gtkentry.c (gtk_entry_completion_key_press): the total
5459         number of actions is "matches + actions - 1". (Fixes #126572).
5460
5461 Tue Nov 18 21:05:05 2003  Christian Persch  <chp@cvs.gnome.org>
5462
5463         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_inserted): fix
5464         mem leaks (#119435).
5465
5466 Tue Nov 18 20:51:38 2003  Kristian Rietveld  <kris@gtk.org>
5467
5468         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_row_deleted): don't
5469         try to fetch the child back, since we do know that it is already
5470         gone by now (#126493, Marco Pesenti Gritti).
5471
5472 Tue Nov 18 19:47:59 2003  Kristian Rietveld  <kris@gtk.org>
5473
5474         Fixes based on comments from Owen Taylor, #125264.
5475
5476         * gtk/gtkcellview.[ch] (gtk_cell_view_finalize): remove unused
5477         variable,
5478         (gtk_cell_view_set_value), (gtk_cell_view_set_displayed_model): queue
5479         a resize,
5480         (gtk_cell_view_get_size_of_row): new function,
5481         (gtk_cell_view_set_value), (gtk_cell_view_set_valuesv),
5482         (gtk_cell_view_set_values), (gtk_cell_view_set_model),
5483         (gtk_cell_view_set_displayed_row), (gtk_cell_view_get_displayed_row):
5484         s/cellview/cell_view/ in the function definitions, so they match
5485         with the header file.
5486
5487         * gtk/gtkcombobox.c (gtk_combo_box_remeasure): remove the resize
5488         flag again (:, and use gtk_cell_view_get_size_of_row instead of
5489         the measurer, remove _set_size_request call,
5490         (gtk_combo_box_calc_requested_width): use gtk_cell_view_get_size_of_row
5491         instead of the measurer,
5492         (gtk_combo_box_style_set): queue a resize,
5493         (gtk_combo_box_size_request): update of _remeasure call,
5494         (gtk_combo_box_init), (gtk_combo_box_cell_layout_pack_start),
5495         (gtk_combo_box_cell_layout_pack_end),
5496         (gtk_combo_box_cell_layout_clear),
5497         (gtk_combo_box_set_model): get rid of the measurer,
5498         (gtk_combo_box_cell_layout_add_attribute),
5499         (gtk_combo_box_cell_layout_set_cell_data_func),
5500         (gtk_combo_box_cell_layout_clear_attributes): ditto and queue a
5501         resize instead of calling _remeasure.
5502
5503 Mon Nov 17 16:25:04 2003  Manish Singh <yosh@gimp.org>
5504
5505         * gdk-pixbuf/Makefile.am
5506         * modules/input/Makefile.am: Use install-data-hook for
5507         gdk-pixbuf.loaders and gtk.immodules install generation targets.
5508         Fixes #112806.
5509
5510         * gtk/gtkexpander.h: Apply missing declarations from #124449.
5511
5512 Tue Nov 18 00:12:55 2003  Matthias Clasen  <maclas@gmx.de>
5513
5514         Fix for #119555, Peter Zelezny:
5515         
5516         * gdk/gdkdrawable.h: Declare gdk_drawable_copy_to_image.
5517         * gdk/gdkdraw.c (gdk_drawable_copy_to_image): Make public
5518         by removing the _ prefix. 
5519         * gdk/gdkdraw.c, gdk/gdkpixbuf-drawable.c, gdk/gdkpixmap.c, 
5520         gdk/gdkwindow.c: Adjust all callers.
5521
5522 Mon Nov 17 23:36:02 2003  Matthias Clasen  <maclas@gmx.de>
5523
5524         * gtk/gtkaction.c (gtk_action_activate): Only activate if 
5525         the action is sensitive.  (#127187, Christian Persch)
5526
5527 Mon Nov 17 23:23:49 2003  Matthias Clasen  <maclas@gmx.de>
5528
5529         * gtk/gtkcombobox.c: Add mouse wheel support.  (#126517)
5530
5531 Mon Nov 17 22:56:09 2003  Kristian Rietveld  <kris@gtk.org>
5532
5533         * gtk/gtkentryprivate.h: add _gtk_entry_completion_resize_popup.
5534
5535         * gtk/gtkentry.c (gtk_entry_completion_timeout): popup when not
5536         mapped, else resize_popup.
5537
5538         * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup),
5539         (_gtk_entry_completion_popup): moved all popup resizing code to
5540         _gtk_entry_completion_resize_popup, and show the window when there
5541         are more than zero items in the completion list again (sigh).
5542
5543 2003-11-17  Mark McLoughlin  <mark@skynet.ie>
5544
5545         Patch from Jaiserca <jaiserca@inf.upv.es> to add a
5546         "use_markup" property. See bug #124449.
5547
5548         * gtk/gtkexpander.c:
5549         (gtk_expander_class_init),
5550         (gtk_expander_init), (gtk_expander_set_property),
5551         (gtk_expander_get_property), (gtk_expander_set_label),
5552         (gtk_expander_set_use_markup),  (gtk_expander_get_use_markup):
5553         Add a "use_markup" property and use it when creating the
5554         child label.
5555
5556 Mon Nov 17 12:58:32 2003  Kristian Rietveld  <kris@gtk.org>
5557
5558         Temporary size requisition fix. Will fix it for real tonight.
5559
5560         * gtk/gtkcombobox.c (gtk_combo_box_remeasure): add a resize flag,
5561         (gtk_combo_box_size_request): use gtk_combo_box_remeasure to determine
5562         a good width for the child,
5563         (gtk_combo_box_cell_layout_add_attribute),
5564         (gtk_combo_box_set_cell_data_func),
5565         (gtk_combo_box_cell_layout_clear_attributes): update.
5566
5567 Mon Nov 17 00:11:21 2003  Kristian Rietveld  <kris@gtk.org>
5568
5569         Fixes #124373, Murray Cumming.
5570
5571         * gtk/gtkcombobox.[ch] (gtk_combo_box_class_init): the model property
5572         is no longer construct only,
5573         (gtk_combo_box_unset_model), (gtk_combo_box_set_model_internal),
5574         (gtk_combo_box_menu_fill): new functions,
5575         (gtk_combo_box_menu_setup), (gtk_combo_box_menu_destroy),
5576         (gtk_combo_box_menu_row_*), (gtk_combo_box_list_setup),
5577         (gtk_combo_box_list_destroy): updated,
5578         (gtk_combo_box_new), (gtk_combo_box_new_with_model): new/changed
5579         functions,
5580         (gtk_combo_box_set_model): is now public, updated,
5581         (gtk_combo_box_get_model): small update.
5582
5583         * gtk/gtkcomboboxentry.[ch] (gtk_combo_box_entry_class_init): the
5584         text_column property is no longer construct only,
5585         (gtk_combo_box_entry_set_text_column): now public,
5586         (gtk_combo_box_entry_new), (gtk_combo_box_entry_new_with_model):
5587         new/changed functions.
5588
5589         * tests/testcombo.c: updated.
5590
5591 Sun Nov 16 22:50:58 2003  Matthias Clasen  <maclas@gmx.de>
5592
5593         Reinstate fixes for (#124212, Marco Pesenti Gritti):
5594         
5595         * gtk/gtkuimanager.c (update_smart_separators): Don't spit 
5596         warnings for popups.
5597         (_gtk_menu_is_empty): Return FALSE for non-menus.
5598
5599 Sun Nov 16 21:48:40 2003  Kristian Rietveld  <kris@gtk.org>
5600
5601         * gtk/gtkcellview.c (gtk_cell_view_finalize): just call
5602         gtk_cell_view_cell_layout_clear instead of trying to free the
5603         structure ourselves here. (#125726, Morten Welinder).
5604
5605 Sun Nov 16 00:35:29 2003  Matthias Clasen  <maclas@gmx.de>
5606
5607         * gtk/gtkfilechooser.[hc]: 
5608         * gtk/gtkentrycompletion.h: Fix parameter name mismatches which
5609         confuse gtk-doc.
5610
5611 2003-11-15  Hans Breuer  <hans@breuer.org>
5612
5613         * gdk/makefile.msc gdk/gdk.def 
5614             gtk/gtk.def gtk/makefile.msc.in : updated
5615         * tests/makefile.msc : added all the new tests
5616
5617         * gtk/gtkfilefilter.c(finalize) : initialize filter
5618         from object not from itself
5619
5620         * gtk/gtkfilesystemwin32.[hc] : copied from gtkfilesystemunix.[hc]
5621         modified as less as posible to have aworking implementation
5622         on win32. There maybe the desire to merge the unchanged pats into
5623         a common base class.
5624         Also implemented a simple glib based bookmark handling, which
5625         is currently missing in gtkfilesystemunix.[hc] but can be copied
5626         over there.
5627         * gtk/gtkfilechooserwidget.c : conditional include gtkfilesystemwin32.h
5628
5629         * gdk/win32/gdkwindow-win32.c : implement 
5630         gdk_window_set_keep_above() and gdk_window_set_keep_below()
5631
5632         * tests/testmerge.c : don't include unistd.h unconditionally,
5633         #define STDOUT_FILENO if it isn't defined
5634
5635         * tests/testfilechooser.c : make it compile on win32
5636
5637 2003-11-15  Tor Lillqvist  <tml@iki.fi>
5638
5639         * gdk/win32/gdkwindow-win32.c (gdk_window_focus): If the window is
5640         maximized, use SW_SHOWMAXIMIZED. (#126986, John Ehresman)
5641
5642 Thu Nov 13 12:55:29 GMT 2003  Tony Gale <gale@gtk.org>
5643
5644         * docs/faq/gtk-faq.sgml: Update the rest of Section 2
5645
5646 Thu Nov 13 01:46:32 2003  Matthias Clasen  <maclas@gmx.de>
5647
5648         * gtk/gtkicontheme.c (gtk_icon_theme_init): Use 
5649         GTK_DATADIR/{icons,pixmaps} instead of 
5650         GTK_DATA_PREFIX/{icons,pixmaps}.  (#123365, Marco Pesenti Gritti)
5651
5652 Wed Nov 12 21:40:10 2003  Matthias Clasen  <maclas@gmx.de>
5653
5654         Changes to improve menu positioning on Xinerama (#108328, #126150):
5655         
5656         * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Use the event 
5657         window of the menuitem to determine the monitor. This fixes some
5658
5659         * gtk/gtkmenu.c (struct _GtkMenuPrivate): Add a menu_num field
5660         to store the monitor on which the menu is to be positioned.
5661
5662         * gtk/gtkmenu.[hc] (gtk_menu_position): Store the monitor number
5663         in the GtkMenuPrivate struct and fetch the monitor geometry after
5664         calling the position_func, in case it has been changed.
5665
5666         * gtk/gtkmenu.c (gtk_menu_set_monitor): New function 
5667         to be used in GtkMenuPositionFunc implementations for setting
5668         the monitor_num field in GtkMenuPrivate.
5669
5670         * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): Call 
5671         gtk_menu_set_monitor.
5672
5673 Wed Nov 12 21:00:10 2003  Matthias Clasen  <maclas@gmx.de>
5674
5675         * gtk/gtkinputdialog.c (gtk_input_dialog_init): Clarify the
5676         label for the empty list. String change.  (#95446, Tomas Ã–gren)
5677
5678 Wed Nov 12 20:57:50 2003  Matthias Clasen  <maclas@gmx.de>
5679
5680         * gtk/gtkicontheme.h (enum GtkIconLookupFlags): Correct
5681         the definition of the values.  (#123361, Marco Pesenti Gritti)
5682
5683 Wed Nov 12 20:54:02 2003  Matthias Clasen  <maclas@gmx.de>
5684
5685         * gdk/gdkkeyuni.c: Map KP_Separator to ','.
5686         (#122941, Egmont Koblinger)
5687
5688 2003-11-12  Padraig O'Briain  <padraig.obriain@sun.com>
5689
5690         *gtk/gtkcolorsel.c (gtk_color_selection_init): Add tooltip for
5691         opacity entry widget. Change tooltip for opacity widgets. (#126426)
5692
5693 2003-11-12  Padraig O'Briain  <padraig.obriain@sun.com>
5694
5695         * gtk/gtkmenu.c (gtk_menu_popup): Do not let pointer position
5696         affect window menu position when popped from keyboard. (#102660)
5697
5698 Wed Nov 12 01:29:32 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
5699
5700         * gtk/gtktoolbar.c (gtk_toolbar_internal_insert_element): When we
5701         are using the old API, make all items "is_important". That way
5702         BOTH_HORIZ will continue to show both icon and label in old API
5703         mode.
5704
5705 Mon Nov 10 00:40:41 2003  Matthias Clasen  <maclas@gmx.de>
5706
5707         * gtk/gtkeventbox.c (gtk_event_box_set_above_child): 
5708         Remember the new value in all cases.  (#126276, Damon Chaplin)
5709
5710 Sat Nov  8 23:06:02 2003  Matthias Clasen  <maclas@gmx.de>
5711
5712         * demos/gtk-demo/main.c (row_activated_cb): Call the do_
5713         functions with the toplevel as argument.
5714
5715         * demos/gtk-demo/geninclude.pl.in: Change the signature
5716         of GDoDemoFunc to take a widget argument
5717
5718         * demos/gtk-demo/ui_manager.c (do_ui_manager): 
5719         * demos/gtk-demo/tree_store.c (do_tree_store): 
5720         * demos/gtk-demo/textview.c (do_textview): 
5721         * demos/gtk-demo/stock_browser.c (do_stock_browser): 
5722         * demos/gtk-demo/sizegroup.c (do_sizegroup): 
5723         * demos/gtk-demo/pixbufs.c (do_pixbufs): 
5724         * demos/gtk-demo/panes.c (do_panes): 
5725         * demos/gtk-demo/menus.c (do_menus): 
5726         * demos/gtk-demo/list_store.c (do_list_store): 
5727         * demos/gtk-demo/images.c (do_images): 
5728         * demos/gtk-demo/hypertext.c (do_hypertext): 
5729         * demos/gtk-demo/editable_cells.c (do_editable_cells): 
5730         * demos/gtk-demo/drawingarea.c (do_drawingarea): 
5731         * demos/gtk-demo/dialog.c (do_dialog): 
5732         * demos/gtk-demo/colorsel.c (do_colorsel): 
5733         * demos/gtk-demo/changedisplay.c (do_changedisplay): 
5734         * demos/gtk-demo/button_box.c (do_button_box): 
5735         * demos/gtk-demo/appwindow.c (do_appwindow): Take a widget
5736         as argument, and make new windows or dialogs appear on the
5737         same screen.  (#80388)
5738
5739 Sat Nov  8 21:59:30 2003  Matthias Clasen  <maclas@gmx.de>
5740
5741         * gtk/gtkeventbox.c (gtk_event_box_class_init): Let 
5742         visible-window default to TRUE, as documented and 
5743         implemented. (#126270 Damon Chaplin)
5744
5745 Sat Nov  8 01:50:17 2003  Matthias Clasen  <maclas@gmx.de>
5746
5747         * gtk/gtkicontheme.c: 
5748         * gtk/gtkfilechooserwidget.c (gtk_file_chooser_widget_new): 
5749         * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_new): 
5750         * gtk/gtkfilechooser.c (gtk_file_chooser_[un]select_all): Mark as
5751         2.4 additions.
5752
5753 2003-11-07  Federico Mena Quintero  <federico@ximian.com>
5754
5755         Changing GtkFileChooserEntry to use GtkEntryCompletion.
5756
5757         * gtk/gtkfilechooserentry.c (gtk_file_chooser_entry_init): Create
5758         a GtkListStore for the completion list.  Create a
5759         GtkEntryCompletion and attach it to the chooser entry.
5760         (gtk_file_chooser_entry_finalize): Unref the completion store.
5761         (completion_match_func): New callback for the GtkEntryCompletion.
5762         (completion_idle_callback): Fill the completion store with filenames.
5763
5764 Fri Nov  7 22:55:49 2003  Matthias Clasen  <maclas@gmx.de>
5765
5766         * gtk/gtkwindow.c (gtk_window_set_role): 
5767         * gtk/gtkwindow.c (gtk_window_set_title): 
5768         * gtk/gtkwidget.c (gtk_widget_set_name): 
5769         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_title): 
5770         * gtk/gtkbutton.c (gtk_button_set_label): Make string setters
5771         safe for self-assignment.  (#122745, Soeren Sandmann)
5772
5773 Thu Nov  6 20:41:40 2003  Matthias Clasen  <maclas@gmx.de>
5774
5775         * gtk/gtkstyle.c (gtk_style_attach): Fix doc comment.
5776         (#126369, Olexiy Avramchenko)
5777
5778 Thu Nov  6 00:21:41 2003  Matthias Clasen  <maclas@gmx.de>
5779
5780         * gtk/gtkcolorbutton.c (gtk_color_button_init): 
5781         * gtk/gtkfontbutton.c (gtk_font_button_init): Improve the 
5782         consistency of titles.  (#126193, Damon Chaplin)
5783
5784 Wed Nov  5 22:49:36 2003  Matthias Clasen  <maclas@gmx.de>
5785
5786         * gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Set torn off 
5787         menus to be transient for the toplevel they were torn off from.
5788         (gtk_menu_get_toplevel): Auxiliary function to find the
5789         toplevel of a menu.  (#54775, Jon-Kare Hellan)
5790
5791 Wed Nov  5 21:07:58 2003  Matthias Clasen  <maclas@gmx.de>
5792
5793         * gtk/gtkpaned.c (gtk_paned_class_init): Add readonly properties
5794         min-position and max-position.  (#58431, Padraig O'Briain)
5795
5796 Wed Nov  5 21:02:26 2003  Matthias Clasen  <maclas@gmx.de>
5797
5798         * gtk/gtkcolorsel.c (update_color): 
5799         (make_label_spinbutton): 
5800         (adjustment_changed): Change the ranges for Saturation and
5801         Value to be 0-100 instead of 0-255, since these axes of HSV
5802         are usually expressed in percent.  (#121519, Gregory Merchan)
5803
5804 Wed Nov  5 08:51:48 GMT 2003  Tony Gale <gale@gtk.org>
5805
5806         * docs/faq/gtk-faq.sgml: More 2.x updates
5807
5808 Tue Nov  4 15:00:33 GMT 2003  Tony Gale <gale@gtk.org>
5809
5810         * docs/faq/gtk-faq.sgml: More 2.x updates, fix
5811         pkg-config command error, update copyright.
5812
5813 2003-11-03  Federico Mena Quintero  <federico@ximian.com>
5814
5815         * gtk/gtkfilechooserdefault.c (error_dialog): Take in a path as
5816         well.  Use a helper function.
5817         (shortcuts_append_home): Display an error box if necessary.
5818         (shortcuts_append_desktop): Likewise.
5819         (add_bookmark_button_clicked_cb): Likewise.
5820         (gtk_file_chooser_default_select_path): Likewise.
5821         (entry_activate): Likewise.
5822         (shortcuts_append_paths): New helper function.
5823         (shortcuts_append_file_system_roots): Use
5824         shortcuts_append_paths().
5825         (shortcuts_append_bookmarks): Likewise.
5826
5827 Mon Nov  3 23:12:41 2003  Matthias Clasen  <maclas@gmx.de>
5828
5829         * gtk/gtkuimanager.c (_gtk_menu_is_empty): Return TRUE if 
5830         menu is NULL.
5831         (update_smart_separators): Remove some unneeded ifs.
5832
5833 Mon Nov  3 22:45:58 2003  Matthias Clasen  <maclas@gmx.de>
5834
5835         * gtk/gtkwindow-decorate.h: Add G_BEGIN_DECLS/G_END_DECLS to make 
5836         these usable in C++. Forgot this file in my Oct 11 commit.
5837
5838 2003-11-03  Federico Mena Quintero  <federico@ximian.com>
5839
5840         * gtk/gtkfilechooserdefault.c (create_shortcuts_tree): Add a stock
5841         icon to the "Add bookmark" button.
5842
5843         * gtk/gtkfilesystemunix.c: Mark missing strings for translation.
5844         * gtk/gtkfilesystemmodel.c: Likewise.
5845         * gtk/gtkfilechooser.c: Likewise.
5846         * gtk/gtkfilechooserdefault.c: Likewise.
5847
5848 Mon Nov  3 20:56:28 2003  Matthias Clasen  <maclas@gmx.de>
5849
5850         * gdk/gdk.c: 
5851         * gdk/gdkinternals.h: 
5852         * gdk/x11/gdkscreen-x11.c (init_xinerama_support): Introduce a
5853         GDK_DEBUG_XINERAMA debug flag, and make it trigger a fake 2x2
5854         Xinerama mode when no actual Xinerama setup is found. 
5855
5856 2003-11-03  Federico Mena Quintero  <federico@ximian.com>
5857
5858         * gtk/gtkfilechooserdefault.c (shortcuts_select_folder): Removed.
5859         (create_shortcuts_tree): Don't call the above.
5860         (bookmarks_changed_cb): Likewise.
5861         (tree_selection_changed): Unselect everything from the shortcuts
5862         list.  This is the behavior that Mac OS has.
5863         (toolbar_add_item): Return the item.
5864         (toolbar_create): Store the up_button in the impl structure.
5865         (toolbar_check_sensitivity): New function to set the sensitivity
5866         of the "Up" button in the toolbar.
5867         (tree_selection_changed): Call toolbar_check_sensitivity().
5868
5869 2003-11-02  Federico Mena Quintero  <federico@ximian.com>
5870
5871         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_init): Do
5872         not set a border width for the toplevel container.
5873         (toolbar_create): New function; create a simple toolbar for the
5874         file chooser.
5875         (gtk_file_chooser_default_constructor): Use a spacing of 12 for
5876         the table, as per the HIG.
5877         (gtk_file_chooser_default_init): Likewise, for the default
5878         implementation's vbox.
5879
5880         * gtk/gtkfilesystem.c (gtk_file_system_get_parent): Added docs to
5881         note that NULL is a valid return value for the parent path.
5882
5883 Sat Nov  1 14:59:27 2003  Owen Taylor  <otaylor@redhat.com>
5884
5885         * gtk/gtkfilechooserdefault.c (shortcuts_row_activated): 
5886         Change on activation, not selection change (temporary
5887         workaround for #125955, needed for keynav, likely
5888         the right UI anyways.)
5889
5890         * gtk/gtkfilechooserdefault.c (shortcuts_select_func): 
5891         Don't allow the separator node to be selected.
5892
5893         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_constructor):
5894         Set the focus chain so that the entry gets focused first.
5895         (Not really right after initial focusing, maybe we
5896         should just have a gtk_file_chooser_focus_entry() that
5897         we call from gtk_file_chooser_dialog on creation.)
5898
5899 Sat Nov  1 12:41:04 2003  Owen Taylor  <otaylor@redhat.com>
5900
5901         * gtk/gtkwindow.c (gtk_window_unfullscreen): Fix a
5902         residual call to gtk_window_get_private().
5903
5904 Sat Nov  1 09:10:13 2003  Owen Taylor  <otaylor@redhat.com>
5905
5906         * gtk/gtkwindow.[ch]: Move above_initially, below_initially
5907         into GtkWindowPrivate structure, fixing ABI breakage
5908         on Win32. (Hans Breuer). Switch GtkWindowPrivate over
5909         to instance-private-data.
5910
5911 Fri Oct 31 02:43:34 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
5912
5913         * gtk/gtktoolbar.c (get_item_requisition): delete this function
5914         (toolbar_item_is_homogeneous): cache max_homogeneous_pixels
5915         instead of re-calculating for each item.
5916         (gtk_toolbar_size_allocate): Update comments
5917
5918 Thu Oct 30 22:04:31 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
5919
5920         * gtk/gtktoolbar.c (gtk_toolbar_forall): Only include
5921         placeholders when include_internals is TRUE.
5922
5923 Thu Oct 30 17:57:53 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
5924
5925         * gtk/gtktoolbar.c (logical_to_physical): Make it work even when
5926         item 0 is a placeholder. (#125826)
5927         * tests/testtoolbar.c: add an assertion that 
5928         gtk_toolbar_get_nth_item (0) != NULL
5929
5930 Thu Oct 30 17:40:26 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
5931
5932         * gtk/gtktoolbar.c (logical_to_physical): Make it work for
5933         logical == 0.(#125826)
5934
5935 Thu Oct 30 16:20:58 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
5936
5937         * gtk/gtktoolbar.c (logical_to_physical): Make sure we actually
5938         return the index of a real item.
5939         (get_nth_item) assert that the returned items is not a
5940         placeholder.  (#125826, Marco Pesenti Gritti).
5941         
5942 2003-10-29  Federico Mena Quintero  <federico@ximian.com>
5943
5944         * gtk/gtkcellrendererseptext.c
5945         (gtk_cell_renderer_sep_text_render): Only paint a separator if the
5946         text is NULL, rather than also doing it if it is an empty string.
5947
5948 Wed Oct 29 15:40:26 2003  Owen Taylor  <otaylor@redhat.com>
5949
5950         * gtk/gtkmessagedialog.c (gtk_message_dialog_new/
5951         gtk_message_dialog_new_with_format): Allow NULL
5952         for message_format, as described in the docs and
5953         as worked previously. (#125759, Richard Hult)
5954
5955         * gtk/gtkmessagedialog.c (gtk_message_dialog_new_with_markup):
5956         Use g_markup_vprintf_escaped() to escape arguments.
5957
5958         * gtk/gtkmessagedialog.[ch]: Add gtk_message_dialog_set_markup()
5959         so there is some way to set literal markup.
5960
5961 Wed Oct 29 15:01:32 2003  Owen Taylor  <otaylor@redhat.com>
5962  
5963         * gdk/x11/gdkimage-x11.c (_gdk_x11_copy_to_image): Move
5964         the call to gdk_error_trap_pop() to the right place,
5965         fixing a problem where we'd pop() too many times 
5966         when bailing out. (#123302, Thomas Leonard)
5967         
5968 Wed Oct 29 12:50:02 2003  Owen Taylor  <otaylor@redhat.com>
5969
5970         * gtk/gtkfilechooserutils.c (delegate_set_current_folder): 
5971         Fix infinite recursion. (#125679, Christian Persch)
5972
5973 Wed Oct 29 13:29:15 GMT 2003  Tony Gale <gale@gtk.org>
5974
5975         * docs/faq/gtk-faq.sgml: further 2.x updates:
5976         mirrors,compiling,g_main_context_iteration
5977
5978 Wed Oct 29 02:54:35 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
5979
5980         * gtk/gtktoolbar.[ch] (gtk_toolbar_set_drop_highlight_item): Add this
5981         function; remove gtk_toolbar_highlight_drop_location() and
5982         gtk_toolbar_unhighlight_drop_location().
5983
5984         Also fix bug where the number of overflowed items were miscounted.
5985
5986 Tue Oct 28 12:20:16 2003  Owen Taylor  <otaylor@redhat.com>
5987
5988         * gtk/gtkwindow.c (gtk_window_has_toplevel_focus): Remove
5989         some accidentally committed duplicate code.
5990
5991 Tue Oct 28 17:06:17 GMT 2003  Tony Gale <gale@gtk.org>
5992
5993         * docs/faq/gtk-faq.sgml: Update info on compiling GTK+
5994
5995 Tue Oct 28 10:34:24 2003  Owen Taylor  <otaylor@redhat.com>
5996
5997         * gtk/gtkwindow.[ch] (gtk_window_is_active, 
5998         gtk_has_toplevel_focus): Add getters corresponding to
5999         the is_active and has_toplevel_focus properties.
6000         (#122531)
6001
6002 2003-10-28  Mark McLoughlin  <mark@skynet.ie>
6003
6004         * gtk/gtkexpander.c:
6005         (gtk_expander_class_init): hook up the destroy handler.
6006         (gtk_expander_destroy), (gtk_expander_unrealize):
6007         remove the expand/collapse timeout on destroy instead
6008         of unrealize to avoid leaving the expander in a inconsistent
6009         state when unrealizing during animation.
6010         (gtk_expander_start_animation): remove realized check.
6011         (gtk_expander_set_expanded): if the widget isn't realized,
6012         expand immediately.
6013
6014 Tue Oct 28 09:44:16 2003  Owen Taylor  <otaylor@redhat.com>
6015
6016         * gtk/gtkxembed.c (_gtk_xembed_send_focus_message): Silently
6017         do nothing when recipient is NULL, as described in the
6018         doc comment. (#123107, Thomas Leonard)
6019
6020 Tue Oct 28 09:21:29 2003  Owen Taylor  <otaylor@redhat.com>
6021
6022         * gtk/gtkmain.c (gtk_check_version): Move docs inline,
6023         rewrite docs, mention memory management for the return
6024         value. (Partly addresses #125549, Michael Natterer)
6025
6026 2003-10-28  Padraig O'Briain  <padraig.obriain@sun.com>
6027
6028         * gtk/gtkfilechooserdefault.c (gtk_file_chooser_default_remove_filter):
6029         Change index to filter_index to fix compilation error.
6030
6031         * gtk/gtkfilesystem.h: Correct definition of gtk_file_path_get_string.
6032
6033 Mon Oct 27 15:47:58 2003  Manish Singh  <yosh@gimp.org>
6034
6035         * gdk/x11/gdkscreen-x11.c: #include <X11/extensions/Xrandr.h> if
6036         we have RandR support, for XRRUpdateConfiguration declaration.
6037
6038         * gtk/gtkfilefilter.c: #include "gtkprivate.h" for _gtk_fnmatch
6039         declaration.
6040
6041         * gtk/gtkuimanager.c (gtk_ui_manager_add_ui_from_file): Make
6042         length a gsize variable, since that's what g_file_get_contents()
6043         expects.
6044
6045 Mon Oct 27 12:18:49 2003  Owen Taylor  <otaylor@redhat.com>
6046
6047         * NEWS: Fix attribution for above/below EWMH work.
6048
6049 Sat Oct 25 23:30:13 2003  Matthias Clasen  <maclas@gmx.de>
6050
6051         * gtk/gtkactiongroup.c (gtk_action_group_class_init): Add "name" 
6052         as a construct-only property.  (#125475, Murray Cumming)
6053
6054 Thu Oct 23 21:55:10 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
6055
6056         Fix bug 116297 and 125472
6057         
6058         * gtk/gtktoolbar.c (gtk_toolbar_highlight_drop_location): Make
6059         this function take an index and a GtkToolItem.
6060
6061         * tests/testtoolbar.c (main): Make "Show Arrow" default to
6062         true. Make one of the separators !draw and expand.
6063         Update for new highlight_drop_location() API.
6064
6065         * gtk/gtktoolitem.[ch]: Remove "pack_end" property
6066
6067         * gtk/gtktoolbar.h: Formatting fixes.
6068
6069         * gtk/gtktoolbar.c: Remove "pack_end" child property. Allow
6070         separator tool items to expand.
6071         (logical_to_physical, physical_to_logical): Fix off-by-one errors
6072         (Fix #125472, Marco Pesenti Gritti)
6073
6074         * gtk/gtkseparatortoolitem.[ch]: Add new "draw" property.
6075         (gtk_separator_tool_item_expose) only draw if "draw" is TRUE. Also
6076         return FALSE, not TRUE.
6077         (gtk_separator_too_item_{set|get}_property,
6078         (gtk_separator_tool_item_{set|get}_draw): new functions
6079
6080 Fri Oct 24 16:54:04 2003  Owen Taylor  <otaylor@redhat.com>
6081
6082         * === Released 2.3.0 ===
6083
6084         * configure.in: Remove a stray comma.
6085
6086         * README.in: Fix a few notes about Xft 1 and pango-1.0.
6087
6088         * NEWS: Finish updates for 2.3.0.
6089
6090         * po/Makefile.in.in: Update to latest GLib version.
6091
6092 Fri Oct 24 20:31:35 2003  Kristian Rietveld  <kris@gtk.org>
6093
6094         * gtk/gtkcellview.[ch], gtk/gtkcellviewmenuitem.[ch],
6095         gtk/gtkcombobox.[ch], gtk/gtkcomboboxentry.[ch],
6096         gtk/gtktreemodelfilter.[ch]: Fix licensing (I managed to put it
6097         under GPL licensing instead of LGPL...). (Fixes #125381, Soeren
6098         Sandmann).
6099
6100 Fri Oct 24 20:22:40 2003  Kristian Rietveld  <kris@gtk.org>
6101
6102         * gtk/gtktreemodelfilter.h: add padding to the class structure.
6103
6104 2003-10-23  Federico Mena Quintero  <federico@ximian.com>
6105
6106         * gtk/gtkfilechooser.c (gtk_file_chooser_get_preview_uri): Fixed docs.
6107         (gtk_file_chooser_remove_filter): Likewise.
6108         (gtk_file_chooser_select_all): Added docs.
6109         (gtk_file_chooser_unselect_all): Likewise.
6110
6111         * gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_new): Added docs.
6112
6113         * gtk/gtkfilechooserwidget.c (gtk_file_chooser_widget_new): Added docs.
6114
6115 Thu Oct 23 23:22:15 2003  Matthias Clasen  <maclas@gmx.de>
6116
6117         * gtk/gtkfilefilter.c: 
6118         * gtk/gtkfilechooser.c: Add "Since: 2.4" to all API doc comments.
6119
6120 Thu Oct 23 22:33:47 2003  Matthias Clasen  <maclas@gmx.de>
6121
6122         * gtk/gtkfilefilter.c (gtk_file_filter_new): Fix doc markup.
6123
6124 Thu Oct 23 21:49:05 2003  Matthias Clasen  <maclas@gmx.de>
6125
6126         * NEWS: Remove a few duplicates, group the menu changes.
6127
6128 Thu Oct 23 21:12:50 2003  Kristian Rietveld  <kris@gtk.org>
6129
6130         * NEWS: Updates for 2.3.0; changed header to match the style we used
6131         for 2.1.0.
6132
6133 Thu Oct 23 20:47:44 2003  Matthias Clasen  <maclas@gmx.de>
6134
6135         * gdk/x11/gdkwindow-x11.c (gdk_window_set_group): Actually
6136         assign the new leader.  (#125168, Mariano Suarez-Alvarez)
6137
6138 Thu Oct 23 20:21:16 2003  Kristian Rietveld  <kris@gtk.org>
6139
6140         * gtk/gtkcelllayout.c, gtk/gtkcellview.c gtk/gtkcellviewmenuitem.c,
6141         gtk/gtkcombobox.c, gtk/gtkcomboboxentry.c, gtk/gtkentrycompletion.c,
6142         gtk/gtktreemodelfilter.c, gtk/gtkcellrenderertoggle.c: Fix includes.
6143
6144 Thu Oct 23 15:13:56 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
6145
6146         * NEWS: Partial update for 2.3.0.
6147
6148 Thu Oct 23 01:09:04 2003  Owen Taylor  <otaylor@redhat.com>
6149
6150         * gtk/gtkfilechooserdefault.c: Convert GtkOptionMenu to
6151         GtkComboBox.
6152
6153 Wed Oct 22 23:20:04 2003  Owen Taylor  <otaylor@redhat.com>
6154
6155         * gtk/gtkfilechooser.[ch] gtk/gtkfilefilter.[ch] 
6156         gtk/gtkfilechooserwidget.[ch] gtk/gtkfilechooserdialog.[ch]:
6157         gtk/gtkfilechooserutils.c gtk/gtkfilechooserprivate.[ch]:
6158         Basic framework for the new file selector widget.
6159
6160         * gtk/gtkfilechooserdefault.[ch] gtk/gtkcellrenderersep.[ch] 
6161         gtk/gtkfilechooserentry.[ch] gtk/gtkfilesystemmodel.[ch]:
6162         Initial implementation of the GtkFileChooser user interface.
6163
6164         * gtk/gtkfilesystemunix.[ch]: GtkFileSystem implementation
6165         for Unix files.
6166
6167         * configure.in gtk/Makefile.am gtk/xdgmime: Build code
6168         for freedesktop.org MIME system on Unix.
6169
6170         * tests/testfilechooser.c: Test program for GtkFileChooser
6171
6172         * tests/prop-editor.c: Add support for properties on interfaces.
6173
6174 Tue Oct 21 16:12:51 2003  Owen Taylor  <otaylor@redhat.com>
6175
6176         * demos/gtk-demo/menus.c (do_menus): Fix some unused
6177         variables.
6178
6179         * gtk/gtkmain.c (_gtk_get_lc_ctype): Fix an unused
6180         variable warning.
6181
6182 Thu Oct 23 00:04:50 2003  Matthias Clasen  <maclas@gmx.de>
6183
6184         * NEWS: Partial update for 2.3.0.
6185
6186 Tue Oct 21 22:07:12 2003  Kristian Rietveld  <kris@gtk.org>
6187
6188         * gtk/gtktreeview.c (gtk_tree_view_real_move_cursor): set
6189         ctrl_pressed and shift_pressed according to the current event
6190         state (if there is one). (Fixes #125063, reported by Sebastien Bacher).
6191
6192 Mon Oct 20 23:24:27 2003  Kristian Rietveld  <kris@gtk.org>
6193
6194         * gtk/gtkentry.c (gtk_entry_key_press): remove the completion
6195         timeout when the user pressed on Enter/ESC. Fixes the bug where the
6196         completion popup popped up after the user pressed on Enter (which is
6197         just weird). Reported by the Epiphany people (all of them).
6198
6199 Mon Oct 20 20:27:22 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
6200
6201         Add support for OS X like sliding of toolbar items during drag and
6202         drop, (#110919, Dave Bordoley)
6203
6204         Make dnd highlighting the responsibility of the
6205         application. (Fixes #116298, Owen Taylor)
6206
6207         * gtk/gtktoolbar.h: Add prototypes for new API.
6208         
6209         * gtk/gtktoolbar.c
6210         (physical_to_logical, logical_to_physical): new functions
6211         converting between "position including placeholders" and "position
6212         excluding placeholders".
6213         (gtk_toolbar_class_init): remove drag_leave and drag_motion
6214         handlers
6215         (struct _ToolbarContent): new struct containing information
6216         related to toolbar items.
6217         (gtk_toolbar_highlight_drop_location): new public function
6218         (gtk_toolbar_unhighlight_drop_location): new public function
6219         
6220         * tests/testtoolbar.c
6221         (toolbar_drag_motion, toolbar_drag_leave): new functions
6222         (main): connect to dnd signals.  Make the "New" item expand to
6223         make drag and drop more exciting.
6224
6225 Wed Oct 15 22:39:23 2003  Kristian Rietveld  <kris@gtk.org>
6226
6227         * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_init): it's
6228         _set_active, not _set_active_item.
6229
6230 Wed Oct 15 22:31:09 2003  Kristian Rietveld  <kris@gtk.org>
6231
6232         * gtk/gtkcombobox.h: add padding to the class structure.
6233         * gtk/gtkcomboboxentry.h: ditto.
6234         * gtk/gtkentrycompletion.h: ditto.
6235
6236 Wed Oct 15 22:04:59 2003  Kristian Rietveld  <kris@gtk.org>
6237
6238         * gtk/gtkcombobox.c (gtk_combo_box_get_active),
6239         (gtk_combo_box_set_active): mention in the docs that -1 is a valid
6240         value and what it means.
6241
6242         * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_init): set the active
6243         item to -1 (default),
6244         (gtk_combo_box_entry_active_changed): do nothing when the index is
6245         < 0.
6246
6247 Tue Oct 14 16:10:21 2003  Jonathan Blandford  <jrb@redhat.com>
6248
6249         * gtk/gtkcombobox.c (gtk_combo_box_set_active_iter): New function
6250         to set the active row by iter.
6251
6252         * gtk/gtkcombobox.c (gtk_combo_box_get_active_iter): New function
6253         to get the active row by iter.
6254
6255 2003-10-13  Federico Mena Quintero  <federico@ximian.com>
6256
6257         * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): Don't do
6258         operations on windows if the tree view is not mapped.
6259         (gtk_tree_view_button_press): Compare equal types of pointers, not
6260         GtkWidget* vs. GtkTreeView*.
6261
6262 Mon Oct 13 21:01:43 2003  Kristian Rietveld  <kris@gtk.org>
6263
6264         * gtk/gtkentrycompletion.c (gtk_entry_completion_popup): remove
6265         the reset of first_sel_changed, as after the first popup the treeview
6266         will always have a row selected and will thus not focus_to_cursor.
6267
6268         * gtk/gtkentry.c (keyval_is_cursor_move): new function to determine
6269         whether the keyval should move the completion selection cursor (used
6270         to avoid ending up with extreme cluttered code), also added
6271         all KP_ equivalents of the keys here,
6272         (gtk_entry_completion_key_press): Keynav tweaks based on comments
6273         from Dave Bordoley and Marco Pesenti Gritti; add the -1 state
6274         as possible current selection, implement Home/End keys, modified
6275         the down key to stop cycling. Maybe page up/down should be implemented
6276         at some later time.
6277
6278 Mon Oct 13 20:58:07 2003  Matthias Clasen  <maclas@gmx.de>
6279
6280         * gdk/x11/gdkwindow-x11.c (gdk_window_set_icon): Make it work 
6281         as documented when pixmap or mask is NULL.  (#124081) 
6282
6283 Mon Oct 13 20:21:38 2003  Kristian Rietveld  <kris@gtk.org>
6284
6285         * gtk/gtkentry.c (gtk_entry_set_text): I overlooked a return when
6286         I was adding the signal block/unblock code. Oops. (Noticed by
6287         Marco Pesenti Gritti).
6288
6289 Mon Oct 13 20:21:55 2003  Kristian Rietveld  <kris@gtk.org>
6290
6291         * demos/testpixbuf-scale.c: enable GTK_DISABLE_DEPRECATED again,
6292         (set_interp_type), (main): port over from option menu to GtkComboBox.
6293
6294 Mon Oct 13 19:41:55 2003  Kristian Rietveld  <kris@gtk.org>
6295
6296         * tests/testmenus.c: Still uses option menus, so turn off
6297         GTK_DISABLE_DEPRECATED.
6298
6299 Sun Oct 12 01:10:29 2003  Matthias Clasen  <maclas@gmx.de>
6300
6301         * gtk/gtkalignment.[hc]: 
6302         * gtk/gtkcombobox.[hc]: 
6303         * gtk/gtkcomboboxentry.[hc]: 
6304         * gtk/gtktreemodelfilter.[hc]: Move GET_PRIVATE macros
6305         from header to implementation.
6306
6307 Sun Oct 12 00:18:02 2003  Matthias Clasen  <maclas@gmx.de>
6308
6309         * tests/testtreeview.c: 
6310         * demos/testpixbuf-scale.c: 
6311         * tests/prop-editor.c: These files still use option menus,
6312         so turn off GTK_DISABLE_DEPRECATED to fix the build. 
6313
6314 Sat Oct 11 23:14:36 2003  Matthias Clasen  <maclas@gmx.de>
6315
6316         * gtk/gtkactiongroup.h: 
6317         * gtk/gtkaction.h: 
6318         * gtk/gtkradioaction.h: 
6319         * gtk/gtkradiotoolbutton.h: 
6320         * gtk/gtkseparatortoolitem.h: 
6321         * gtk/gtktoggleaction.h: 
6322         * gtk/gtktoolitem.h: 
6323         * gtk/gtkuimanager.h: Add G_BEGIN_DECLS/G_END_DECLS to make 
6324         these usable in C++.  (#124351, Murray Cumming)
6325
6326 Sat Oct 11 19:09:05 2003  Kristian Rietveld  <kris@gtk.org>
6327
6328         * gtk/gtkentry.c (gtk_entry_set_text): Check if completion is
6329         non-NULL before accessing it. Oops.
6330
6331 Sat Oct 11 15:47:03 2003  Kristian Rietveld  <kris@gtk.org>
6332
6333         * gtk/gtkentrycompletion.[ch] (gtk_entry_completion_insert_action),
6334         (gtk_entry_completion_insert_action_text),
6335         (gtk_entry_completion_insert_action_markup): the gchar* parameters
6336         should be const (pointed out by both Marco Pesenti Gritti and
6337         Murray Cumming (#124356).
6338
6339 Sat Oct 11 15:37:19 2003  Kristian Rietveld  <kris@gtk.org>
6340
6341         * gtk/gtkcombobox.c (gtk_combo_box_size_allocate): for the custom
6342         child list mode, allocate the height allocation->height to the
6343         button instead of the height requested by the button. (Tiny
6344         size allocation screwup noticed by Macro Pesenti Gritti).
6345
6346 Sat Oct 11 15:23:27 2003  Kristian Rietveld  <kris@gtk.org>
6347
6348         Fixes based on comments from Marco Pesenti Gritti.
6349
6350         * gtk/gtkentry.c (gtk_entry_set_text): block the completion changed
6351         signal handler, avoids the completion popup to popup when text is
6352         set programmatically in most cases (we actually have to handle this
6353         in the _editable functions as well, but that will break popping up
6354         when the user actually typed something :),
6355         (gtk_entry_completion_key_press): when handling enter, bail out
6356         when nothing has been selected,
6357         (gtk_entry_completion_changed): don't popdown when the entry content
6358         changed.
6359
6360         * gtk/gtkentrycompletion.c (gtk_entry_completion_init),
6361         (gtk_entry_completion_selected_changed): unselect_all on the
6362         first selected changed signal. Avoids having a default row selected,
6363         (_gtk_entry_completion_popup): don't select the first row by default.
6364
6365         * gtk/gtkentryprivate.h (struct _GtkEntryCompletionPrivate): add a
6366         first_sel_changed field.
6367
6368 Fri Oct 10 23:02:58 2003  Matthias Clasen  <maclas@gmx.de>
6369
6370         * demos/gtk-demo/menus.c: Replace GtkItemFactory by GtkUIManager 
6371         in the intro (again).
6372
6373 Fri Oct 10 22:50:05 2003  Matthias Clasen  <maclas@gmx.de>
6374
6375         Fixes for (#124212, Marco Pesenti Gritti):
6376         
6377         * gtk/gtkuimanager.c (update_smart_separators): Don't spit 
6378         warnings for popups.
6379         (_gtk_menu_is_empty): Return FALSE for non-menus.
6380
6381 Fri Oct 10 19:10:12 2003  Kristian Rietveld  <kris@gtk.org>
6382
6383         * gtk/gtkcombo.h: Deprecate.
6384         * gtk/gtkoptionmenu.h: Ditto.
6385
6386         * gtk/gtkcombobox.c (gtk_combo_box_size_request),
6387         (gtk_combo_box_size_allocate): Rework, things behave better now. Still
6388         needs some work on requesting enough size when taking the items in
6389         the list into account.
6390
6391         * gtk/gtkfilesel.c: put gtkoptionmenu.h include inside "enable
6392         deprecated" guards.
6393         * gtk/gtkinputdialog.c: ditto.
6394         * gtk/gtkitemfactory.c: ditto.
6395         * gtk/gtkoptionmenu.c: ditto.
6396
6397         * demos/gtk-demo/menus.c: remove the option menu.
6398         * demos/gtk-demo/sizegroup.c: replace the option menus with
6399         GtkComboBox.
6400         * demos/gtk-demo/textview.c: ditto.
6401         (A general GtkComboBox demo will be added later on).
6402
6403 Wed Oct  8 00:06:17 2003  Matthias Clasen  <maclas@gmx.de>
6404
6405         * demos/gtk-demo/ui_manager.c (activate_radio_action): New
6406         callback to propertly report radio actions.
6407
6408         * demos/gtk-demo/ui_manager.c (do_ui_manager): Use it here.
6409
6410 Tue Oct  7 23:23:05 2003  Matthias Clasen  <maclas@gmx.de>
6411
6412         * gtk/gtkplug.c (xembed_set_info): Put the supported protocol
6413         version in in the right field of the _XEMBED_INFO property.  
6414         (#123885, Denis Mikhalkin)
6415
6416 Mon Oct  6 14:18:47 2003  Jonathan Blandford  <jrb@redhat.com>
6417
6418         * gtk/gtkexpander.c (gtk_expander_animation_timeout): only show
6419         the child if we have one.
6420
6421         (gtk_expander_button_release): use
6422         gtk_widget_activate instead.
6423
6424 Mon Oct  6 21:05:46 2003  Matthias Clasen  <maclas@gmx.de>
6425
6426         * gtk/gtktable.c (gtk_table_class_init): Start the blurb for 
6427         "right_attach" with a capital.  (#123945, Christian Rose)
6428
6429 Sun Oct  5 23:59:03 2003  Matthias Clasen  <maclas@gmx.de>
6430
6431         * tests/testsocket.c (child_read_watch): Remove an
6432         extraneous unref.  (#122336, Frederic Crozat)
6433
6434 Sun Oct  5 22:38:22 2003  Matthias Clasen  <maclas@gmx.de>
6435
6436         * gtk/gtkeventbox.c (gtk_event_box_class_init): Trim 
6437         whitespace in "visible-window" blurb.  (#123910, Christian Rose)
6438
6439 Sun Oct  5 00:53:15 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
6440
6441         * gtk/gtktoolbar.c (gtk_toolbar_list_children_in_focus_order):
6442         focus arrow before pack_end items (#123851, Matthias Clasen)
6443
6444 Fri Oct  3 20:50:48 2003  Kristian Rietveld  <kris@gtk.org>
6445
6446         * gtk/gtkcombobox.c (gtk_combo_box_set_model): only set the model
6447         on ->priv->cell_view if ->priv->cell_view is non-NULL.
6448
6449         * gtk/gtkcomboboxentry.c: include gtkintl.h, add text_renderer
6450         field to GtkComboBoxEntryPrivate,
6451         (gtk_combo_box_entry_class_init), (gtk_combo_box_entry_init),
6452         (gtk_combo_box_entry_set_property), (gtk_combo_box_entry_get_property),
6453         (gtk_combo_box_entry_set_text_column), (gtk_combo_box_entry_new): add
6454         a construct-only "text_column" property and reorder code to use it
6455         and support inheriting this widget.
6456
6457 Thu Oct  2 23:28:02 2003  Kristian Rietveld  <kris@gtk.org>
6458
6459         * gtk/gtkcombobox.c: Added API doc comments.
6460
6461         * gtk/gtkcomboboxentry.c: Ditto.
6462
6463 2003-10-02  Matthias Clasen  <maclas@gmx.de>
6464
6465         * gtk/gtktoggleaction.c: Documentation tweaks.
6466
6467 Wed Oct  1 22:43:40 2003  Kristian Rietveld  <kris@gtk.org>
6468
6469         * gtk/gtkcellview.[ch]: implement the GtkCellLayout interface, drop
6470         packing/attribute/cell data functions from the header,
6471         (gtk_cell_view_set_cell_data): added support for cell data funcs.
6472
6473         * gtk/gtkcombobox.[ch]: implement the GtkCellLayout interface, drop
6474         packing/attribute/cell data functions from the header, implemented
6475         cell data func support.
6476
6477         * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_new): updated
6478         for the move to GtkCellLayout.
6479
6480         * tests/testcombo.c (create_combo_box_grid_demo), (main): ditto.
6481
6482 2003-10-01  Matthias Clasen  <maclas@gmx.de>
6483
6484         * gtk/gtkaction.c (gtk_action_class_init): 
6485         (gtk_action_[gs]et_property): Introduce a separate
6486         "hide_if_empty" property for empty menu handling.
6487         (_gtk_action_sync_menu_visible): ...and use it here.
6488
6489         * tests/testmerge.c (main): ...and here.
6490
6491         * gtk/gtktoolitem.c (gtk_tool_item_class_init): Fix signal doc 
6492         comments to pacify gtk-doc.
6493
6494         * gtk/gtkmain.c: Doc formatting tweaks.
6495
6496         * gtk/gtktoolitem.c (gtk_tool_item_set_is_important): Fix a typo.
6497
6498         * gtk/gtkcheckmenuitem.h (gtk_check_menu_item_set_draw_as_radio): 
6499         Use the same parameter names as in .c file, to pacify gtk-doc.
6500
6501         * gtk/gtktoggletoolbutton.[hc]: 
6502         * gtk/gtktoolbutton.[hc]: 
6503         * gtk/gtktoolitem.[hc]:
6504         * gtk/gtktoolbar.[hc]: 
6505         * gtk/gtkcolorbutton.[hc]: 
6506         * gtk/gtkfontbutton.[hc]: 
6507         * gtk/gtkalignment.[hc]: Define GET_PRIVATE macros in the 
6508         source, not in the header.
6509
6510         * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_[sg]et_draw_as_radio): 
6511         Document these as 2.4 API additions.
6512
6513 Tue Sep 30 23:42:56 2003  Kristian Rietveld  <kris@gtk.org>
6514
6515         * gtk/gtkentry.c (gtk_entry_set_completion),
6516         (gtk_entry_get_completion): Add API doc comments.
6517
6518         * gtk/gtkentrycompletion.c: Fix #includes and add API doc comments.
6519
6520 Tue Sep 30 23:12:34 2003  Kristian Rietveld  <kris@gtk.org>
6521
6522         * gtk/gtktreemodelfilter.c: Add "Since: 2.4" to all API doc comments.
6523
6524 Tue Sep 30 22:59:58 2003  Kristian Rietveld  <kris@gtk.org>
6525
6526         * gtk/gtktreeviewcolumn.c: Some API doc comment fixes.
6527
6528         * gtk/gtkcellayout.c: Fix #include and oooooh API doc comments!
6529
6530 2003-09-30  Matthias Clasen  <maclas@gmx.de>
6531
6532         * tests/merge-*.ui: 
6533         * tests/testmerge.c: Test handling of empty menus.
6534
6535         * gtk/gtkuimanager.c (_gtk_menu_is_empty): New function to determine
6536         whether a menu is empty. Used in gtkaction.c.
6537         (update_smart_separators): Also update the visibility of empty menus.
6538         (update_node): When creating a new menu proxy, insert an "Empty" menu 
6539         item which only gets shown if the menu is empty. 
6540
6541         * gtk/gtkaction.c (gtk_action_class_init): Document the meaning of
6542         "is_important" for menu proxies.
6543         (_gtk_action_sync_menu_visible): New function to sync the visibility
6544         of menu proxies. Used in gtkuimanager.c.
6545         (gtk_action_sync_visible): New function to sync the visibility of 
6546         proxies.
6547
6548 Tue Sep 30 21:43:34 2003  Kristian Rietveld  <kris@gtk.org>
6549
6550         * gtk/gtkcombobox.c (gtk_combo_box_menu_button_press): set
6551         popup_in_progress to TRUE,
6552         (gtk_combo_box_menu_show): and back to FALSE here; the menu now
6553         won't disappear on the first button release. (Reported by Matthias
6554         Clasen).
6555
6556 Tue Sep 30 21:08:43 2003  Kristian Rietveld  <kris@gtk.org>
6557
6558         * gtk/gtkcombobox.c (gtk_combo_box_init): actually show the child.
6559
6560         * gtk/gtkcomboboxentry.c (gtk_combo_box_entry_init): ditto. (#123543,
6561         Marco Pesenti Gritti).
6562
6563 2003-09-30  Murray Cumming  <murrayc@usa.net>
6564  
6565         * gtk/gtkcellrenderer.h: The render vfunc takes a GdkDrawable*
6566         instead of a GdkWindow*, because that what it is given. The 
6567         documentation was already correct. This should cause no API/ABI
6568         breakage with C compilers.
6569         * gtk/gtkcellrenderertext.c, gtkcellrendererpixbuf.c, 
6570         gtkcellrenderertogger.c: Updated the declarations of the render vfunc
6571         implementation accordingly.
6572
6573 2003-09-30  Matthias Clasen  <maclas@gmx.de>
6574
6575         * gdk/gdkkeys.c (gdk_keymap_class_init): Document the
6576         "direction-changed" and "keys-changed" signals.
6577
6578         * gdk/gdkscreen.c (gdk_screen_class_init): Document the 
6579         "size-changed" signal.
6580
6581         * gdk/gdkdisplaymanager.c (gdk_display_manager_class_init): 
6582         Document the "display-opened" signal.
6583
6584         * gdk/gdkdisplay.c (gdk_display_close): Doc tweak.
6585         (gdk_display_class_init): Document the "closed" signal.
6586
6587 Sat Sep 27 16:02:40 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
6588
6589         * gtk/gtktextview.[ch]: rename property tab_moves_focus to
6590         accepts_tab. (#122709 again).
6591
6592 2003-09-27  Matthias Clasen  <maclas@gmx.de>
6593
6594         * gtk/gtkwindow.c (gtk_window_new):
6595         * gtk/gtkitemfactory.c (gtk_item_factory_new): Document 
6596         the fact that the newly created object does not come with 
6597         a floating reference.  (#103068, patch by Frederic Lespez)
6598         
6599         * gtk/gtkitemfactory.h: Deprecate GtkItemFactory in favor 
6600         of GtkUIManager. Just leave GtkTranslateFunc undeprecated, 
6601         since GtkActionGroup uses it.
6602
6603         * tests/testtext.c: Turn off GTK_DISABLE_DEPRECATED, since
6604         this test uses the soon-to-be-deprecated GtkItemFactory.
6605
6606         * demos/gtk-demo/Makefile.am (demos): Add ui_manager.c,
6607         remove item_factory.c
6608
6609         * demos/gtk-demo/ui_manager.c: Duplicate of item_factory.c 
6610         using GtkUIManager instead of GtkItemFactory.
6611
6612         * tests/testmerge.c: Demonstrate the use of the 
6613         connect-proxy signal.
6614
6615         * gtk/gtkaction.c (connect_proxy): Add connect-proxy and 
6616         disconnect-proxy signals to do small customizations 
6617         like displaying tooltips in the statusbar without 
6618         custom actions.  (#122894, Philip Langdale)
6619
6620         * gtk/gtkuimanager.c (update_node): Don't leak tooltip.
6621
6622 Fri Sep 26 23:49:44 2003  Kristian Rietveld  <kris@gtk.org>
6623
6624         Landing the new ComboBox. Note that only gtkcombobox.h and
6625         gtkcomboboxentry.h are public.
6626
6627         * gtk/gtkcellview.[ch], gtk/gtkcellviewmenuitem.[ch],
6628         gtk/gtkcombobox.[ch], gtk/gtkcomboboxentry.[ch]: new files.
6629
6630         * gtk/Makefile.am, gtk/gtk.h: adding the new files.
6631
6632         * tests/testcombo.c: and a new test.
6633
6634         * tests/Makefile.am: adding the new test.
6635
6636 2003-09-25  Tor Lillqvist  <tml@iki.fi>
6637
6638         * demos/gtk-demo/main.c: Don't use hardcoded DEMOCODEDIR on Windows.
6639
6640 2003-09-21  Tor Lillqvist  <tml@iki.fi>
6641
6642         * gdk/win32/gdkevents-win32.c (handle_wm_paint): New
6643         function. Code split out from gdk_event_translate(). Needed
6644         because gdk_event_get_graphics_expose() couldn't do anything
6645         sensible otherwise. (Not that I think graphics exposes work anyway
6646         in gdk/win32, but at least now the code could work.)
6647
6648         (gdk_event_get_graphics_expose): Call handle_wm_paint() instead of
6649         gdk_event_translate(), which couldn't have worked as it doesn't
6650         take any pre-allocated GdkEvent parameter any longer.
6651         
6652         (gdk_event_translate): Handle WM_MOUSEACTIVATE: Don't let
6653         GDK_WINDOW_TEMP windows be activated. (#122578, John Ehresman)
6654
6655 2003-09-24  Matthias Clasen  <maclas@gmx.de>
6656
6657         * demos/gtk-demo/appwindow.c (do_appwindow): Demonstrate tooltips
6658         on toolitems.
6659
6660         * gtk/gtkaction.c (connect_proxy): Sync tooltips on toolitems.
6661
6662         * gtk/gtkuimanager.c (update_node): Don't complain about missing
6663         actions on popups. Re-set "tooltip" property on toolitems after
6664         adding them to parent to trigger proxy update.
6665
6666 2003-09-22  Matthias Clasen  <maclas@gmx.de>
6667
6668         * tests/testmerge.c (main): Initially activate the JUSTIFY_RIGHT
6669         group member to test the fix for #122904.
6670
6671         * gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full): 
6672         Add the action to the group before activating it, otherwise we
6673         may end up with multiple active group members.  (#122904, Marco
6674         Pesenti Gritti)
6675
6676 2003-09-21  Matthias Clasen  <maclas@gmx.de>
6677
6678         Changes to make cross-process merging feasible:
6679         
6680         * gtk/gtkuimanager.[hc]: Add a readonly "ui" property which holds the
6681         merged UI definition. Remove the "changed" signal, since its role
6682         is now filled by "notify::ui". Instead add a "actions-changed" signal
6683         which gets emitted when the set of actions changes.
6684
6685         * gtk/gtktoggleactionprivate.h:
6686         * gtk/gtktoggleaction.[hc] (gtk_toggle_action_[sg]et_draw_as_radio):
6687         Add a "draw_as_radio" property to toggle actions so that they can be
6688         used as proxies for radio actions much like the "draw_as_radio" 
6689         property on check menu items enables them to operate as proxies for
6690         radio actions.
6691
6692         Prevent the "show_all" trap for action-based menus (see
6693         http://mail.gnome.org/archives/gtk-devel-list/2003-September/
6694         msg00260.html):
6695
6696         * gtk/gtkmenu.c (gtk_menu_{hide,show}_all): Remove g_return_if_fail()
6697         calls from static functions.
6698
6699         * gtk/gtkuimanager.c (update_node): 
6700         * gtk/gtkaction.c (connect_proxy): Set "no_show_all" on constructed
6701         widgets whose visibility is externally controlled.
6702
6703         * gtk/gtkwidget.[hc] (gtk_widget_[gs]et_no_show_all): Add a boolean 
6704         "no_show_all" property with setter and getter. When TRUE, it keeps
6705         gtk_widget_{hide,show}_all() from modifying the visibility of the 
6706         widget and its children.
6707
6708 Sun Sep 21 23:13:37 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
6709
6710         * gtk/gtktextview.[ch]: Add new "tab moves focus" property (#122709)
6711
6712 2003-09-20  Tor Lillqvist  <tml@iki.fi>
6713
6714         * gtk-zip.sh.in: Don't use zip -r on the etc directory, to avoid
6715         including editor backup files. List files we want explicitly.
6716
6717         * gtk/gtkmain.c (_gtk_get_lc_ctype): New function. On Unix, just
6718         calls setlocale (LC_CTYPE, NULL). On Windows, looks for the
6719         LC_ALL, LC_CTYPE and LANG environment variables, than calls
6720         g_win32_getlocale().
6721
6722         (gtk_get_default_language): Code snippet moved to above function,
6723         call it.
6724
6725         * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave)
6726         * gtk/gtkrc.c (gtk_rc_context_parse_file): Call
6727         _gtk_get_lc_ctype() instead of setlocale().
6728
6729 Fri Sep 19 18:15:31 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
6730
6731         * gtk/gtkpaned.c, gtk/gtkhpaned.c: implement RTL flipping
6732         (#96632)
6733
6734 Fri Sep 19 13:24:54 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
6735
6736         * gtk/gtktreeview.c (gtk_tree_view_get_cursor): Improve
6737         documentation. (#117306, Steve Chaplin)
6738
6739 2003-09-19  Tor Lillqvist  <tml@iki.fi>
6740
6741         * gdk/win32/gdkkeys-win32.c (update_keymap): Handle dead keysyms
6742         present on the US-International keyboard. For clarity, order
6743         keysyms in case statement according to numeric value.
6744
6745         (gdk_keymap_translate_keyboard_state): Handle Caps Lock
6746         correctly. (#120176, Ken Rastatter and Owen Taylor)
6747
6748 2003-09-18  Matthias Clasen  <maclas@gmx.de>
6749
6750         * gtk/gtkaction.c (gtk_action_finalize): Call g_closure_unref() to
6751         unref a closure, not g_object_unref().  (#122637, Marco Pesenti Gritti)
6752
6753         Install accelerators on actions, not on proxies, support
6754         accelerator-only actions:
6755         
6756         * gtk/gtkmenu.c (get_accel_path): New function to get the accel path
6757         and its lock status either via _gtk_widget_get_accel_path() or by 
6758         looking at the accel_path stored in the menu item itself and determining
6759         its lock status by peeking into the contained accel label. This was
6760         already (accidentally) committed a week ago.
6761
6762         * gtk/gtkaction.h (gtk_action_set_accel_group):
6763         (gtk_action_[dis]connect_accelerator): New functions.
6764
6765         * gtk/gtkaction.c (struct _GtkActionPrivate): Add accel_group,
6766         accel_closure and accel_count. We must have a reference to the 
6767         accel_group, since we need it in connect_proxy. The count is necessary
6768         to ensure that the accelerator isn't removed before the last proxy 
6769         requesting it has been unmerged.
6770         (connect_proxy): Connect the accelerator to the 
6771         action now, only set the accel_path on the menuitem.
6772         (remove_proxy): Disconnect the accelerator from the action, not from
6773         the menuitem.
6774         (gtk_action_set_accel_group): Set the accel group. 
6775         (gtk_action_[dis]connect_accelerator): Count the number of times
6776         this functions have been called and install/remove the accelerator if
6777         the count leaves/reaches zero.
6778
6779         * gtk/gtkuimanager.h (GtkUIManagerItemType): Add 
6780         GTK_UI_MANAGER_ACCELERATOR.
6781
6782         * gtk/gtkuimanager.c (NodeType): Add NODE_TYPE_ACCELERATOR.
6783         (start_element_handler): Create NODE_TYPE_ACCELERATOR nodes from
6784         <accelerator> elements.
6785         (gtk_ui_manager_add_ui): Create NODE_TYPE_ACCELERATOR nodes when
6786         type is GTK_UI_MANAGER_ACCELERATOR.
6787         (update_node): Set the accel group on actions before creating their
6788         proxies. Don't set the accel group on created menus. For 
6789         NODE_TYPE_ACCELERATOR nodes, [dis]connect the actions' accelerator.
6790         (print_node): Also emit <accelerator> elements.
6791
6792         * tests/testmerge.c (dump_accels): Add a "Dump Accels" button. 
6793
6794         * gtk/gtkuimanager.c (update_node): Robustness improvements.
6795
6796 2003-09-17  Matthias Clasen  <maclas@gmx.de>
6797
6798         * gtk/gtkuimanager.c (text_handler): Report unexpected character
6799         data as error from the GMarkup parser, otherwise things like
6800         gtk_ui_manager_add_ui_from_string (ui, "Hi there!", -1, &error) 
6801         pass unexpectedly.
6802
6803 Wed Sep 17 02:38:53 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
6804
6805         * gtk/gtktoolbar.c (gtk_toolbar_class_init): revert accidentally
6806         committed redraw_on_allocate change.
6807
6808 Tue Sep 16 10:42:00 2003  Eric Warmenhoven  <eric@warmenhoven.org>
6809
6810         * gdk/linux-fb/gdkwindow-fb.c: Add gdk_window_set_keep_{above,below}
6811         stubs to fix compilation
6812
6813         * gdk/linux-fb/gdkrender-fb.c: Add gdk_shadow_fb_stop_updates stub for
6814         when shadowfb is disabled. Patch from pjm@cctechnol.com (#120847).
6815
6816         * gdk/linux-fb/gdkmouse-fb.c: Add GDK_MOUSE_DEVICE environment
6817         variable. Patch from Marc Welz (#121347).
6818
6819 2003-09-16  Matthias Clasen  <maclas@gmx.de>
6820
6821         * gtk/gtkaction.h: Apply egtk-format-protos.
6822
6823 2003-09-15  Matthias Clasen  <maclas@gmx.de>
6824
6825         * gtk/gtkuimanager.c: Doc tweaks.
6826
6827         Smart separators; see 
6828         http://mail.gnome.org/archives/gtk-devel-list/2003-September/msg00133.html:
6829         
6830         * gtk/gtkuimanager.c (update_smart_separators): New function which 
6831         implements "smart" separators by iterating once over the entries of a 
6832         menu, hiding and showing separators as necessary.
6833         (update_node): Mark separators used as fences of placeholders as
6834         hidden. Explicitly added separators are marked as smart. Call 
6835         update_smart_separators after updating a menu or toolbar node. 
6836         Connect update_smart_separators to "notify::visible" signal on menu
6837         and tool items.
6838         
6839         * tests/merge-[12].ui: Test smart separators.
6840
6841         Changes to allow setting action state before connecting signal; see
6842         the thread starting at 
6843         http://mail.gnome.org/archives/gtk-devel-list/2003-September/msg00140.html:
6844         
6845         * gtk/gtkactiongroup.[hc]: (gtk_action_group_add_radio_actions):
6846         (gtk_action_group_add_radio_actions_full): Add value parameter to allow
6847         setting the currently selected group member before connecting signals.
6848         (GtkToggleActionEntry): Separate struct for constructing toggle actions,
6849         including a boolean to initialize the action state before connecting
6850         signals.
6851         (gtk_action_group_add_toggle_actions):
6852         (gtk_action_group_add_toggle_actions_full): New functions to construct
6853         toggle actions from an array of GtkToggleActionEntries.
6854
6855         * demos/gtk-demo/appwindow.c: 
6856         * tests/testactions.c: 
6857         * tests/testmerge.c: Adjust to new action group API.
6858
6859 Sun Sep 14 16:59:52 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
6860
6861         * gtk/gtktoolbar.c (gtk_toolbar_init): Name the arrow 
6862         "gtk-toolbar-arrow" so themes can special-case it.
6863
6864 Sun Sep 14 16:07:49 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
6865
6866         * gtk/Makefile.am (gtk_c_sources): sort the list of files.
6867
6868 Sun Sep 14 15:49:00 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
6869
6870         * gtk/gtktoolbar.c (toolbar_item_is_homogeneous): Unref the
6871         PangoFontMetrics. Patch from Steve Chaplin (#122257).
6872
6873 2003-09-14  Tor Lillqvist  <tml@iki.fi>
6874
6875         * gdk/win32/gdkwindow-win32.c (show_window_internal): Remove
6876         special-case code for WS_EX_TRANSPARENT (GDK_INPUT_ONLY) windows,
6877         the usefulness of which was already in doubt. Removing it fixes
6878         bugs #118575 and #121851.
6879
6880 Fri Sep 12 16:32:53 2003  Jonathan Blandford  <jrb@redhat.com>
6881
6882         Merge from stable.
6883
6884         * gtk/gtktreeview.c (gtk_tree_view_button_press): only save the
6885         pressed button (used to determine if we want to initiate a drag later
6886         on) if the current grab widget is either NULL or tree_view (Reported
6887         by Jeroen Zwartepoorte).
6888
6889 2003-09-12  Matthias Clasen  <maclas@gmx.de>
6890
6891         * gdk/gdkdraw.c (gdk_draw_string, gdk_draw_text) 
6892         (gdk_draw_text_wc): Add deprecation notes.  (#121955, Martin Pool)
6893
6894 2003-09-11  Matthias Clasen  <maclas@gmx.de>
6895
6896         * gdk/gdkpango.c: Doc tweaks.
6897
6898         * tests/testgtk.c: Add table menu tests.
6899
6900         * gtk/gtkmenu.c (gtk_menu_free_private): Don't forget to free the 
6901         GtkMenuPrivate struct itself. Pointed out by valgrind.
6902
6903         * gtk/gtkuimanager.c (gtk_ui_manager_finalize): Clean up 
6904         properly.  (#121998)
6905
6906 Wed Sep 10 22:25:04 2003  Kristian Rietveld  <kris@gtk.org>
6907
6908         The table menu patch! Turns GtkMenu into a table, so you can attach
6909         menu items in numerous new ways! Be creative!
6910
6911         Contains some bug fixes and RTL adaptions from Matthias Clasen.
6912
6913         * gtk/gtkmenu.c [toplevel]: introduce ATTACH_INFO_KEY, extend
6914         GtkMenuPrivate, introduce AttachInfo, add child properties enum,
6915         (gtk_menu_free_private), (gtk_menu_get_private): we have to free
6916         the heights array in the private struct,
6917         (gtk_menu_class_init): reorder code a bit, install child properties,
6918         (get_attach_info), (get_child_attach): new utility functions,
6919         (gtk_menu_set_child_property), (gtk_menu_get_child_property): introduce
6920         child properties, for the attach info,
6921         (gtk_menu_remove): remove AttachInfo from menu item,
6922         (gtk_menu_real_insert): implemented algorithm to automagically place
6923         inserted menu items at the correct place in the table,
6924         (gtk_menu_size_request), (gtk_menu_size_allocate),
6925         (compute_child_offset): reworked/rewritten to support table menus,
6926         (gtk_menu_attach): new function,
6927         (find_child_containing), (gtk_menu_move_current): new functions to
6928         get table menu keynav right.
6929
6930         * gtk/gtkmenu.h: add gtk_menu_attach() prototype.
6931
6932 2003-09-10  Matthias Clasen  <maclas@gmx.de>
6933
6934         * gtk/gtksocket.c (gtk_socket_filter_func): Only remove 
6935         PropertyNotify events from the stream if they have been handled,
6936         in order to enable extending the plug<->socket communication via
6937         properties.
6938
6939 Wed Sep 10 01:06:44 2003  Kristian Rietveld  <kris@gtk.org>
6940
6941         Big TreeView DnD fixage, makes drops on empty models work, makes
6942         TreeStore DnD work and gets rid of gtk-tree-model-drop-append.
6943         Related bugs #95362 and #113314. I don't want to touch this code
6944         ever again.
6945
6946         * gtk/gtktreeprivate.h (GtkTreePrivate): add empty_view_drop field.
6947
6948         * gtk/gtktreednd.c (gtk_tree_get_row_drag_data): add check
6949         for selection_data->length.
6950
6951         * gtk/gtktreeview.c (struct DestRow), (dest_row_free),
6952         (set_dest_row), (get_dest_row): we don't store just the row ref
6953         anymore, but a struct with the row ref and additional info,
6954         (set_destination_row): handle drops on empty space and some
6955         style fixes,
6956         (get_logical_dest_row): also return path_down_mode/drop_append_mode
6957         flags, handle dropping childs on their new parents, rewrite
6958         drop append handling into something saner,
6959         (gtk_tree_view_drag_motion): show a "drop possible arrow" on empty
6960         spaces,
6961         (gtk_tree_view_drag_drop): updates for updated backend,
6962         (gtk_tree_view_drag_data_received): updates for updated backend,
6963         path down mode (treestore DnD) handling,
6964         (gtk_tree_view_set_drag_dest_row): set empty_view_drop flag,
6965         when we are trying to drop a row on an empty model,
6966         (gtk_tree_view_get_drag_dest_row): handle empty_view_drop flag.
6967
6968         * gtk/gtkliststore.c (gtk_list_store_drag_data_received),
6969         (gtk_list_store_row_drop_possible): style and drop-append fixes.
6970
6971         * gtk/gtktreestore.c (gtk_tree_store_drag_data_received): ditto.
6972
6973 2003-09-08  Alexander Larsson  <alexl@redhat.com>
6974
6975         * gtk/gtkeventbox.[hc]:
6976         Implement gtk_event_box_get/set_input_only()
6977         
6978         * tests/testgtk.c:
6979         Tests for the new input only event boxes
6980
6981 Mon Sep  8 21:44:20 2003  Kristian Rietveld  <kris@gtk.org>
6982
6983         Fixes from David Hampton <hampton@employees.org> via gtk-devel-list.
6984
6985         * gtk/gtktreemodelfilter.c (gtk_tree_model_filter_elt_get_path): fix
6986         the call to gtk_tree_model_filter_add_root,
6987         (gtk_tree_model_filter_row_changed): bail out if c_path is not above
6988         the virtual root, allow building levels on the second try to convert
6989         the child path to a filter path,
6990         (gtk_tree_model_filter_convert_iter_to_child_iter): pass the virtual
6991         root when calling gtk_tree_model_filter_elt_get_path.
6992
6993 2003-09-07  Matthias Clasen  <maclas@gmx.de>
6994
6995         * gtk/gtkuimanager.c (update_node): Fix a C99ism.  (#121640,
6996         Josh Beam)
6997
6998         Fixes for accelerator handling during (un)merging:
6999         
7000         * gtk/gtkuimanager.c (update_node): Move setting info-action
7001         after the switch, since the old action is needed in some cases.
7002         In cases of proxy type mismatch, disconnect the old proxy from
7003         the old action.
7004
7005         * gtk/gtkaction.c (remove_proxy): Renamed from 
7006         gtk_action_remove_proxy(). Move unsetting of the accelerator
7007         here from disconnect_proxy() in order to catch all cases of 
7008         removing a proxy.
7009         (gtk_action_disconnect_proxy): Fix logic in g_return_if_fail()
7010         to fail if proxy isn't a proxy of action.
7011
7012 2003-09-07  Pablo Saratxaga  <pablo@mandrakesoft.com>
7013
7014         * configure.in: Added Uzbek latin (uz) and cyrillic (uz@Cyrl) to
7015         ALL_LINGUAS
7016
7017 2003-09-07  Matthias Clasen  <maclas@gmx.de>
7018
7019         * gtk/gtkaction.c (disconnect_proxy): Make disconnect work
7020         for toolitems.
7021
7022 2003-09-06  Matthias Clasen  <maclas@gmx.de>
7023
7024         * gtk/gtkaction.c (gtk_action_connect_proxy): Disconnect from 
7025         prev_action, not from action.  (Fix by David Hampton)
7026
7027 Fri Sep  5 14:15:10 2003  Owen Taylor  <otaylor@redhat.com>
7028  
7029         * Back out locale-dependent interpretation of
7030         KP_Decimal, the official XFree86 interpretation
7031         is that KP_Decimal => . KP_Separator => ,
7032         always, independent of locale. 
7033         (#105161, Frederic Crozat, 
7034         http://bugs.xfree86.org/show_bug.cgi?id=534)
7035  
7036 2003-09-04  Matthias Clasen  <maclas@gmx.de>
7037
7038         * tests/testmerge.c: Test buttons and toggle buttons as proxies.
7039
7040         * gtk/gtktoggleaction.c (connect_proxy): 
7041         (gtk_toggle_action_real_toggled): Support toggle buttons as proxies. Note 
7042         that a "draw_as_radio" property is needed for check buttons similar to 
7043         check menu items, in order to fully support button proxies for radio actions.
7044
7045         * gtk/gtkaction.c (connect_proxy): Allow buttons as proxies.
7046
7047         * tests/testmerge.c (toggle_dynamic): Test gtk_ui_manager_add_ui(). 
7048
7049         * gtk/gtkuimanager.h: Add GtkUIManagerItemType enum which is needed for the
7050         'type' argument of gtk_ui_manager_add_ui().
7051
7052         * gtk/gtkuimanager.[hc] (gtk_ui_manager_add_ui): Add 'type' and 'top' arguments
7053         to make this function as powerful as the XML methods of adding UI.  (#120647)
7054
7055 Thu Sep  4 19:11:23 2003  Kristian Rietveld  <kris@gtk.org>
7056
7057         Merge from stable.
7058
7059         * docs/RELEASE-HOWTO: updates.
7060
7061 2003-09-04  Matthias Clasen  <maclas@gmx.de>
7062
7063         * tests/merge-2.ui: Use "position" instead of "pos".
7064
7065         * gtk/gtkuimanager.c (start_element_handler): No need 
7066         to be terse: Change the name of the "pos" attribute
7067         to "position".
7068
7069 2003-09-04  Matthias Clasen  <maclas@gmx.de>
7070
7071         * gtk/gtkuimanager.c: Un-prefix GtkUIManagerNodeType and 
7072         GtkUIManagerNode to shorten the names and to make the
7073         GTK_UI_MANAGER_<TYPE> names available for a public enum.
7074
7075         * gtk/gtkactiongroup.c:
7076         * gtk/gtkuimanager.c: Various doc tweaks.       
7077
7078         * gtk/gtkuimanager.c (start_element_handler):
7079         (end_element_handler): Improve error reporting. 
7080
7081 Wed Sep  3 23:18:17 2003  Kristian Rietveld  <kris@gtk.org>
7082
7083         Merge from stable.
7084
7085         * gtk/gtkmenu.c (gtk_menu_real_move_scroll): for the END case,
7086         use end_position - page_size instead of G_MAXINT, since
7087         gtk_menu_scroll_to doesn't CLAMP anymore internally. (Fixes #121237,
7088         reported by Havoc Pennington).
7089
7090 Wed Sep  3 21:58:03 2003  Kristian Rietveld  <kris@gtk.org>
7091
7092         Merge from stable.
7093
7094         * gtk/gtkiconfactory.c (cached_icon_free): if icon->style != NULL,
7095         unref it. (Fixes memleak, patch from Kjartan Maraas).
7096
7097 Wed Sep  3 21:38:26 2003  Kristian Rietveld  <kris@gtk.org>
7098
7099         * gdk/Makefile.am, gdk/linux-fb/gdkfbmanager.c, gdk/x11/gdkcolor-x11.c,
7100         gdk-pixbuf/io-gif.c, gtk/Makefile.am, gtk/gtkcalendar.c,
7101         gtk/gtkclist.c, gtk/gtkctree.c, gtk/gtkdnd.c, gtk/gtkentry.c,
7102         gtk/gtkhandlebox.c, gtk/gtkitemfactory.c, gtk/gtkmenu.c,
7103         gtk/gtknotebook.c, gtk/gtkrange.c, gtk/gtkrc.h, gtk/gtktree.c,
7104         gtk/gtktypeutils.h: big patch from Kjartan Maraas
7105         to fix numerous typos.
7106
7107 Wed Sep  3 17:38:01 BST 2003  Tony Gale <gale@gtk.org>
7108
7109         * docs/faq/gtk-faq.sgml: Correct compile line for threads example.
7110
7111 2003-09-02  Tor Lillqvist  <tml@iki.fi>
7112
7113         * gdk/win32/gdkdisplay-win32.c (gdk_display_open): Don't call
7114         CloseHandle() on the HMODULE returned from GetModuleHandle().
7115         Didn't cause any harm, but didn't do anything useful either. When
7116         running a GTK+ program under MS's debugger, the CloseHandle() call
7117         would cause a "first-chance exception" in ntdll.dll to show up.
7118         (The exception is caught appropriately if you let it proceed, but
7119         it confuses the person using the debugger). Thanks to Bruce
7120         Hochstetler for noticing.
7121
7122 Tue Sep  2 21:01:19 2003  Kristian Rietveld  <kris@gtk.org>
7123
7124         Merge from stable.
7125
7126         * gtk/gtktreeview.c (gtk_tree_view_button_press): revert the change
7127         to only select when button 1 is pressed introduced in the fix of
7128         bug #120187.
7129
7130 2003-09-02  Matthias Clasen  <maclas@gmx.de>
7131
7132         * gtk/gtkactiongroup.c (gtk_action_group_new): Doc addition.
7133
7134         * gtk/gtkuimanager.c: Shorten the names of some static 
7135         functions.
7136
7137         Support adding and removing merge nodes dynamically (#120647, 
7138         Anders Carlsson):
7139         
7140         * gtk/gtkuimanager.[ch] (gtk_ui_manager_new_merge_id): Renamed 
7141         gtk_ui_manager_next_merge_id to gtk_ui_manager_new_merge_id 
7142         and made it public.
7143         (gtk_ui_manager_add_ui): New function to add UI elements
7144         without juggling XML fragments, currently restricted to menuitems,
7145         toolitems and separators. Actions still come from registered 
7146         action groups.
7147
7148 Mon Sep  1 19:39:14 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
7149
7150         * gdk/gdkwindow.c (gdk_window_get_bg_gc): Fix bug where the
7151         background pixmap was being offset twice, once by the ts_origin in
7152         gdk_window_get_bg_gc(), and once by gdk_draw_rectangle().
7153
7154 2003-09-01  Matthias Clasen  <maclas@gmx.de>
7155
7156         * gtk/gtkuimanager.[ch] (gtk_ui_manager_ensure_update): Make
7157         this public again, since it's occasionally useful.  (#121128,
7158         Marco Pesenti Gritti)
7159
7160         * gtk/gtkaction.c: Add an "is_important" property and propagate
7161         it to toolitem proxies.  (#121058, Marco Pesenti Gritti)
7162
7163 Mon Sep  1 00:32:30 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
7164
7165         * tests/testtoolbar.c (main): connect to "delete_event" so the
7166         application will actually quit when you close the window
7167
7168 2003-09-01  Matthias Clasen  <maclas@gmx.de>
7169
7170         * gtk/gtkuimanager.c (gtk_ui_manager_get_widget) 
7171         (gtk_ui_manager_get_action): g_return_if_fail() if
7172         path is NULL.
7173         (gtk_ui_manager_get_node): Avoid a segfault if path is empty.
7174         (gtk_ui_manager_finalize): Remove the idle on finalize. (#121125, 
7175         Marco Pesenti Gritti)
7176
7177 2003-08-31  Matthias Clasen  <maclas@gmx.de>
7178
7179         * gtk/gtktoolitem.c: Fix some typos in docs.
7180
7181         * gtk/gtkuimanager.[ch] (gtk_ui_manager_get_action): New function,
7182         replaces gtk_ui_manager_activate().  (#120658)
7183
7184         * tests/testmerge.c: Use gtk_ui_manager_get_action() instead of
7185         gtk_ui_manager_activate().
7186
7187         * gtk/gtkaction.c: 
7188         * gtk/gtkactiongroup.c: Some doc tweaks.
7189
7190         * gtk/gtkuimanager.[hc]: Get rid of the remove_widget signal. It
7191         wasn't emitted anyway. Some doc tweaks.
7192
7193 2003-08-30  Matthias Clasen  <maclas@gmx.de>
7194
7195         * tests/testmerge.c (add_widget): Connect to "destroy" on toolbar,
7196         rather than to "remove" on handlebox. 
7197
7198         * gtk/gtkuimanager.[hc] (gtk_ui_manager_activate): New method to
7199         activate an action found by following a path.  (#120658)
7200
7201         * tests/testmerge.c: Add a button to test gtk_ui_manager_activate().
7202
7203         * tests/testmerge.c (add_widget): Put toolbars in handleboxes.
7204
7205         * gtk/gtkuimanager.[hc]: Add a boolean property, "add_tearoffs" with 
7206         setter and getter. If it is set, add tearoff menu items to regular 
7207         menus, but not to popups. Add a signal "changed", which gets emitted
7208         when the merged ui has changed.  (#120649, #120656)
7209
7210         * tests/testmerge.c: Add button to test the generation of tearoff 
7211         menu items.
7212
7213 2003-08-29  Matthias Clasen  <maclas@gmx.de>
7214
7215         * gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full): 
7216         Actually group the actions together rather than putting each in its 
7217         own group.
7218
7219         * gtk/gtkradioaction.c (create_menu_item): Set "draw_as_radio" on 
7220         proxy menu items for radio actions.
7221
7222         * gtk/gtkgamma.c (gamma_ok_callback): Use g_strtod instead of strtod.
7223
7224 Fri Aug 29 21:40:01 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
7225
7226         * gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full):
7227         Fix use of uninitialized variable.
7228
7229         * gtk/gtktextutil.c
7230         (_gtk_text_util_append_special_char_menuitems): add const cast to
7231         get rid of warning
7232
7233 2003-08-29  Matthias Clasen  <maclas@gmx.de>
7234
7235         * gtk/gtkcheckmenuitem.c (gtk_check_menu_item_class_init): Install 
7236         "draw_as_radio" as a separate property, not as an alias of 
7237         "inconsistent".
7238         (gtk_check_menu_item_get_property): 
7239         (gtk_check_menu_item_set_property): Also support "draw_as_radio".
7240
7241 Fri Aug 29 20:32:07 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
7242
7243         * gtk/gtktoolbar.c: Only treat buttons as homogeneous when they
7244         are narrower than 13 time the estimated character width of the
7245         font. (#107781, David Bordoley)
7246
7247         * gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_init): Check
7248         here if the GtkToggleButton is active. This may be the case if it
7249         is a radio button.
7250
7251         * gtk/gtktoolbar.c: Clarify documentation wrt. GtkSignalFunc
7252         vs. void (*) (GtkWidget, gpointer). (#107495, Mariano
7253         Suarez-Alvarez).
7254
7255         * gtk/gtkcheckmenuitem.[ch]: new "draw_as_radio"
7256         property. (#111207, David Bordoley).
7257
7258         * gtk/gtktoggletoolbutton.c
7259         (gtk_toggle_tool_button_create_menu_proxy): use new
7260         "draw_as_radio" property on the menu item when the item is a radio
7261         tool button
7262
7263         * gtk/gtktoolbutton.c (gtk_tool_button_create_menu_proxy): Fixes
7264         to only pay attention to the "use_underline" property when the
7265         button label comes from the "label" property.
7266
7267 2003-08-29  Laurent Dhima  <laurenti@alblinux.net>
7268
7269         * configure.in: Added "sq" to ALL_LINGUAS.
7270         
7271 2003-08-28  Matthias Clasen  <maclas@gmx.de>
7272
7273         * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Markup
7274         fix in the docs.
7275
7276         * gtk/gtkuimanager.c: Change the XML format:
7277         <Root> element is replaced by <ui>,
7278         <menu> element is replaced by <menubar>,
7279         <submenu> element is replaced by <menu>,
7280         <dockitem> element is replaced by <toolbar>,
7281         <popups> element is gone,
7282         verb attribute is replaced by action,
7283         name defaults to action or the element name. 
7284
7285         * gtk/gtkactiongroup.[hc]: Replace GtkActionGroupEntry by 
7286         GtkActionEntry and GtkRadioActionEntry. GtkActionEntry is simplified 
7287         by removing the user_data, entry_type and extra_data fields, 
7288         GtkRadioActionEntry is further simplified by removing the callback. 
7289         The user_data can now be specified as an argument to 
7290         gtk_action_group_add_actions(). There is a new method 
7291         gtk_action_group_add_radio_actions(), which is similar to 
7292         gtk_action_group_add_actions(), but takes GtkRadioActionEntrys
7293         and a callback parameter in addition to the user_data. The callback
7294         is connected to the ::changed signal of the first group member.
7295         There are _full() variants taking a GDestroyNotify of 
7296         gtk_action_group_add_[radio_]actions().
7297
7298         * gtk/gtkradioaction.[hc]: Add a ::changed signal which gets emitted 
7299         on every member of the radio group when the active member is changed. 
7300         Add an integer property "value", and a getter for the value of "value"
7301         on the currently active group member. 
7302
7303         * tests/testactions.c: 
7304         * tests/testmerge.c: 
7305         * tests/merge-[123].ui:  
7306         * demos/gtk-demo/appwindow.c: Adjust to these changes.
7307
7308         * gtk/gtktoolbar.c (gtk_toolbar_append_element): Trivial doc fix.
7309
7310 2003-08-27  Anders Carlsson  <andersca@gnome.org>
7311
7312         * demos/gtk-demo/appwindow.c (do_appwindow): Focus the
7313         text view, so the tool bar won't have focus.
7314
7315 Tue Aug 26 09:57:38 2003  Owen Taylor  <otaylor@redhat.com>
7316
7317         * gdk/x11/gdkkeys-x11.c (update_keymaps): Fix variable
7318         declaration not at start of block. (#120371, Damien Carbery)
7319
7320 2003-08-26  Matthias Clasen  <maclas@gmx.de>
7321
7322         * gtk/gtkuimanager.[hc] (gtk_ui_manager_add_ui_from_string): Use gssize 
7323         for length, not gsize.
7324
7325         * gtk/gtkuimanager.c: Refactor the XML format a bit: rename <Root> to 
7326         <ui> and make it optional in strings. Rename verb to action, <dockitem> 
7327         to <toolbar>, <menu> to <menubar>, <submenu> to <menu>.
7328
7329         * demos/gtk-demo/appwindow.c: 
7330         * tests/testactions.c: 
7331         * tests/testmerge.c:
7332         * tests/merge-1.ui:
7333         * tests/merge-2.ui:
7334         * tests/merge-3.ui: Adjust to the new XML format.
7335
7336 Mon Aug 25 19:55:55 2003  Owen Taylor  <otaylor@redhat.com>
7337
7338         * gtk/gtktextview.c (gtk_text_view_update_layout_width): 
7339         Since we add one to the layout's reported width to
7340         account for the cursor, we need to subtract one when
7341         setting the wrap width for the layout. (Fixes infinite
7342         loop (#120325, Frederic Crozat)
7343
7344         * gtk/gtktextlayout.c (gtk_text_layout_get_line_display): 
7345         Be a bit more careful about rounding when converting
7346         wrapped width from Pango units to pixels.
7347
7348 2003-08-26  Matthias Clasen  <maclas@gmx.de>
7349
7350         Rename GtkMenuMerge to GtkUIManager. 
7351         
7352         * gtk/gtkuimanager.[hc]: New files. 
7353         * gtk/gtkmenumerge.[hc]: Removed. 
7354
7355         * gtk/Makefile.am: 
7356         * gtk/gtk.h:
7357         * tests/testmerge.c: 
7358         * tests/testactions.c: 
7359         * demos/gtk-demo/appwindow.c: Replace all uses of GtkMenuMerge by 
7360         GtkUIManager.
7361
7362         * demos/gtk-demo/appwindow.c: Make GtkMenuMerge demo less intimidating: 
7363         add comments to entries array, remove newlines from ui definition. Don't 
7364         use the ::add_widget signal.
7365
7366 Mon Aug 25 17:28:04 2003  Owen Taylor  <otaylor@redhat.com>
7367
7368         * gtk/gtknotebook.c (gtk_notebook_forall): Don't
7369         include page->menu_label - causes various problems,
7370         including #12047.
7371
7372 Mon Aug 25 23:21:43 2003  Kristian Rietveld  <kris@gtk.org>
7373
7374         Merge from stable.
7375
7376         Fixes #115871, reported by Michael Natterer.
7377
7378         * gtk/gtktreeprivate.h: added GtkTreeSelectMode enum,
7379         added ctrl_pressed and shift_pressed bitfields,
7380         (_gtk_tree_selection_internal_select_node): replace GdkModifierType
7381         arg with GtkTreeSelectMode.
7382
7383         * gtk/gtktreeselection.c (gtk_tree_selection_set_mode),
7384         (gtk_tree_selection_select_path), (gtk_tree_selection_unselect_path),
7385         (_gtk_tree_selection_internal_select_node): all updated for
7386         GdkModifierType -> GtkTreeSelectMode move.
7387
7388         * gtk/gtktreeview.c (gtk_tree_view_button_press): set ctrl_pressed
7389         and shift_pressed around selection handling block,
7390         (gtk_tree_view_real_select_cursor_row),
7391         (gtk_tree_view_real_toggle_cursor_row),
7392         (gtk_tree_view_real_selection_cursor_parent),
7393         (gtk_tree_view_real_set_cursor): use ctrl_pressed and shift_pressed,
7394         instead of checking the event state. And also updates for the
7395         GdkModifierType -> GtkTreeSelectMode move.
7396
7397 Wed Aug 20 21:26:49 2003  Owen Taylor  <otaylor@redhat.com>
7398
7399         * gtk/gtkplug.c (gtk_plug_focus): Send the focus on
7400         to the parent when there was no focus widget before
7401         and no focus widget after - that is, when there are
7402         no focusable widgets. (#108678, help tracking it
7403         down from Padraig O'Briain, Federico Mena Quintero, )
7404
7405         * gtk/gtkxembed.[ch]: Move various shared utilities
7406         for the XEMBED protocol eused by GtkPlug and GtkSocket 
7407         here.
7408
7409         * gtk/gtkxembed.[ch] gtkplug.c gtksocket.c: Implement
7410         a flag bit that is sent with focus mesages to indicate
7411         that the focus has wrapped around on the toplevel;
7412         use this bit to catch infinite loops when there is no
7413         focusable widget at ll in the entire toplevel.
7414
7415         * tests/testsocket.c (child_read_watch): Remove an
7416         extraneous unref.
7417
7418         * gtk/gtkplug.c gtk/gtksocket.c gtk/gtkxembed.h: 
7419         Up XEMBED protocol version to 1, add logic for 
7420         sending the right version in XEMBED_EMBEDDED_NOTIFY.
7421
7422         * gtk/gtksocket.c (gtk_socket_add_window): Send
7423         the embedder window in the XEMBED_EMBEDDED_NOTIFY
7424         as the spec requires.
7425
7426 Mon Aug 25 16:15:41 2003  Owen Taylor  <otaylor@redhat.com>
7427
7428         * gdk/x11/gdkkeys-x11.c: Fix up CapsLock and 
7429         NumLock handling for non-XKB. Add a special case
7430         hack for NumLock on Sun servers. (Patch from
7431         Robert Basch, #115819)
7432
7433 2003-08-25  Matthias Clasen  <maclas@gmx.de>
7434
7435         * gtk/gtkactiongroup.c (gtk_action_group_add_actions): Remove C99isms. (Morten 
7436         Welinder)
7437
7438         * gtk/gtkactiongroup.[hc] (gtk_action_group_set_translate_func,
7439         gtk_action_group_set_translation_domain): Hooks for translation of
7440         label and tooltip in GtkActionGroupEntries.  (#120620)
7441
7442 2003-08-25  Matthias Clasen  <maclas@gmx.de>
7443
7444         * gtk/gtkactiongroup.h (GtkActionGroupEntryType): Namespace the enum
7445         values properly. Sorry about the resize grip trouble, Owen.  (#120621)
7446         
7447         * gtk/gtkactiongroup.c: 
7448         * demos/gtk-demo/appwindow.c: 
7449         * tests/testmerge.c: 
7450         * tests/testactions.c: Use new GtkActionGroupEntryType enum.  
7451
7452 Sun Aug 24 17:14:44 2003  Owen Taylor  <otaylor@redhat.com>
7453
7454         * gtk/gtk.h: Remove reference to gtkresizegrip.h.
7455
7456 Sun Aug 24 17:03:44 2003  Owen Taylor  <otaylor@redhat.com>
7457
7458         * gtk/Makefile.am: Fix accidental commit of references
7459         to gtkresizegrip.[ch]
7460
7461 Sun Aug 24 17:00:03 2003  Owen Taylor  <otaylor@redhat.com>
7462
7463         * gtk/gtkrc.c: Fix some missing initializations of
7464         rc_file->directory.
7465
7466 2003-08-24  Matthias Clasen  <maclas@gmx.de>
7467
7468         * gtk/gtkaction.[ch]: 
7469         * gtk/gtktoggleaction.[ch]: 
7470         * gtk/gtktoggleactionprivate.h: 
7471         * gtk/gtkradioaction.[ch]: 
7472         * gtk/gtkactiongroup.[ch]: 
7473         * gtk/gtkmenumerge.[ch]: A model-view separation for menus and
7474         toolbars, using the EggMenu code by James Henstridge.
7475
7476         * gtk/gtk.h: Include new headers.
7477         * gtk/Makefile.am: Add new files.
7478
7479         * tests/testactions.c: Test for actions.
7480         * tests/testmerge.c: Test for menu merging.
7481         * tests/merge-[123].ui: Test data for testmerge. 
7482         * tests/Makefile.am: Add testactions and testmerge.
7483
7484         * demos/gtk-demo/appwindow.c: Use GtkMenuMerge to construct the 
7485         menubar and toolbar.
7486         
7487 Sat Aug 23 21:40:18 2003  Owen Taylor  <otaylor@redhat.com>
7488  
7489         * gtk/gtkrc.c (gtk_rc_context_parse_one_file): Fix 
7490         problem where rc_file->directory wasn't always getting
7491         set. (#120549, Luis Villa)
7492  
7493 2003-08-22  Christian Rose  <menthos@menthos.com>
7494
7495         * configure.in: Added "ne" to ALL_LINGUAS.
7496
7497 Thu Aug 21 16:00:36 2003  Owen Taylor  <otaylor@redhat.com>
7498  
7499         * gtk/gtkrc.c: Keep a list of current GtkRcFiles
7500         being parsed, not just the directories for those
7501         files. Use that to catch recursion. (Part of
7502         #114988)
7503  
7504 Thu Aug 21 21:27:45 2003  Kristian Rietveld  <kris@gtk.org>
7505
7506         Merge from stable.
7507
7508         Fix option menu scrolling (#119821, Owen Taylor).
7509
7510         * gtk/gtkmenu.c (gtk_menu_scroll_to): remove logic introduced
7511         by #80484 and the CLAMP,
7512         (get_menu_height): new function,
7513         (gtk_menu_real_move_scroll): sort of moved the CLAMP here to correct
7514         new_offset to handle page up/down right.
7515
7516 Thu Aug 21 15:17:42 2003  Owen Taylor  <otaylor@redhat.com>
7517
7518         * gdk/x11/gdkkeys-x11.c: Change the interpretation
7519         of consumed_modifiers so that it contains:
7520          - Modifiers combinations actually found in
7521            state.
7522          - Single modifier modifier combinations.
7523         But not multi-modifier combinations that aren't
7524         in event->state. Document. (#100439)
7525
7526 Thu Aug 21 20:53:46 2003  Kristian Rietveld  <kris@gtk.org>
7527
7528         Slightly modified patch from Yann Rouillard to improve selection
7529         behavior with the mouse. Fixes #120187.
7530
7531         * gtk/gtktreeview.c (gtk_tree_view_button_press): only
7532         select/deselect items on the first button press of button 1,
7533         expand checks for row_activated to include triple clicks.
7534
7535 Thu Aug 21 01:33:51 2003  Kristian Rietveld  <kris@gtk.org>
7536
7537         Merge from stable.
7538
7539         * gtk/gtkspinbutton.c (gtk_spin_button_size_request): always round
7540         approximate digit widths up, to avoid truncation, convert to
7541         pango pixels when we have the full string width instead of converting
7542         the approx digit width to pango pixels, take inner border and
7543         interior focus into account correctly. (Fixes #116368, patch from
7544         Morten Welinder).
7545
7546 2003-08-20  Noah Levitt  <nlevitt@columbia.edu>
7547
7548         * gtk/queryimmodules.c: Don't look at the same directory twice (in
7549         simple cases). (#120342)
7550
7551 Wed Aug 20 22:04:47 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
7552
7553         * gdk/gdkwindow.c: Make the layers in the paint stack have their
7554         own pixmap instead of sharing one. (#118317)
7555
7556         * tests/testgtk.c (create_get_image): Fixes to make the window fit
7557         on an 800x600 screen
7558
7559 Wed Aug 20 22:03:25 2003  Kristian Rietveld  <kris@gtk.org>
7560
7561         Merged from stable.
7562
7563         * gtk/gtkspinbutton.c (start_spinning): change the type of step
7564         to gdouble, since it gets it's data from a gdouble (Fixes #113547).
7565
7566 Mon Aug 18 17:19:12 2003  Owen Taylor  <otaylor@redhat.com>
7567
7568         * modules/input/gtkimcontextxim.[ch]: Substantially
7569         rework the handling of status windows:
7570         
7571          - Store the current StatusWindow in the 
7572            GtkIMContextXIM structure and vice-versa, so we
7573            don't have to hunt the window hierarchy on
7574            cleanup.
7575          - Use the Gtkidget hierarchy instead of/or as well
7576            as the GdkWindow hierarchy when finding the toplevel;
7577            this helps for things like GtkHandlebox
7578          - Watch GtkWidget::hierarchy_changed to catch 
7579            changes in the toplevel without changes in the
7580            GdkWindow (reparenting)
7581          - Never create the GtkWindow for the status window
7582            unless we have text to display.
7583          - Various cleanups, add lots of comments.
7584
7585         (#115077, much help from Takuro Ashie and Hidetoshi
7586         Tajima in tracking this down and figuring out a fix.)
7587
7588         * modules/input/gtkimcontextxim.c (gtk_im_context_xim_focus_in): 
7589
7590         * modules/input/gtkimcontextxim.c: Track the current
7591         screen for each toplevel so that we show the status
7592         window on the right screen. (#116340, James Su)
7593
7594         * modules/input/gtkimcontextxim.c: If create a new IC
7595         when we currently have the focus, call XSetICFocus()
7596         on it.
7597         
7598         * modules/input/gtkimcontextxim.c (get_im): Fix bug
7599         with multiple open screens.
7600
7601 Tue Aug 19 14:37:46 2003  Owen Taylor  <otaylor@redhat.com>
7602
7603         * gtk/gtkimmulticontext.[ch] (struct _GtkIMMulticontext): 
7604         Replace client_window field with 'priv' pointer,
7605         retaining binary compatibility.
7606
7607         * gtk/gtkimmulticontext.c (gtk_im_multicontext_set_slave): 
7608         save use_preedit/cursor_location/focus status and set
7609         up the new slave appropriately. (#118651, Botond Botyanszki)
7610
7611 Tue Aug 19 13:58:50 2003  Owen Taylor  <otaylor@redhat.com>
7612
7613         * gdk/x11/gdkgeometry-x11.c (gdk_window_scroll): 
7614         Don't use impl->position_info.clip_rect for toplevels.
7615         (#107068, reported by Thomas Mirlacher)
7616
7617 Mon Aug 18 11:48:51 2003  Owen Taylor  <otaylor@redhat.com>
7618
7619         * gdk/x11/gdkdrawable-x11.c (convert_to_format): 
7620         Add a fallback for unaligned source data for
7621         FORMAT_ARGB_MASK. (#117217)
7622
7623 Mon Aug 18 10:51:57 2003  Owen Taylor  <otaylor@redhat.com>
7624
7625         * configure.in: Rework handling of REBUILD_PNGS,
7626         so that we also don't try to REBUILD_PNGS when
7627         cross-compiling and there is no gdk-pixbuf-csource.
7628         But give an error if gtk/stock-icons/gtkstockpixbufs.h
7629         is not in the source tree. (Note that REBUILDS_PNG
7630         was set backwards before, which is why you always
7631         had to manually recreate gtkstockpixbufs.h!)
7632
7633 Mon Aug 18 10:19:55 2003  Owen Taylor  <otaylor@redhat.com>
7634
7635         * gtk+-2.0-uninstalled.pc.in: Add a missing gtk/ in the
7636         path to libgtk.la. (#120080, Benedikt Spranger)
7637
7638 Sat Aug 16 10:34:49 2003  Owen Taylor  <otaylor@redhat.com>
7639
7640         * modules/input/imcedilla.c: Make the list of default
7641         languages more comprehensive. (Suggestion of
7642         Fco. Javier F. Serrador)
7643
7644 Sat Aug  9 12:47:11 2003  Owen Taylor  <otaylor@redhat.com>
7645
7646         * gdk/gdk.c (gdk_arg_context_parse): Fix broken 
7647         parentheses when skipping args.
7648
7649 Sat Aug 16 16:22:23 2003  Kristian Rietveld  <kris@gtk.org>
7650
7651         Fix major bug in row ref handling, so the new combo box
7652         will actually work right (:. Bug #107748. Patch written
7653         with help from Tim Janik.
7654
7655         The basic idea is to update the row refs in a closure,
7656         before the actual signal is emitted (rather than having
7657         the model connect signal handlers).
7658
7659         * gtk/gtktreemodel.c (gtk_tree_model_base_init): change
7660         g_signal_new calls for row_inserted, row_deleted and
7661         rows_reordered to use the new marshallers,
7662         (row_inserted_marshall), (row_deleted_marshall),
7663         (rows_reordered_marshall): the new marshallers,
7664         (gtk_tree_row_ref_inserted_callback): renamed to
7665         gtk_tree_row_ref_inserted since it isn't a callback
7666         anymore and gets called by the marshaller now,
7667         (gtk_tree_row_ref_deleted_callback): likewise,
7668         (gtk_tree_row_ref_reordered_callback): likewise,
7669         (connect_ref_callbacks), (disconnect_ref_callbacks):
7670         removed,
7671         (gtk_tree_row_reference_new_proxy),
7672         (gtk_tree_row_reference_free),
7673         (gtk_tree_row_reference_inserted),
7674         (gtk_tree_row_reference_deleted),
7675         (gtk_tree_row_reference_reordered): updated.
7676
7677 Fri Aug 15 16:54:39 2003  Owen Taylor  <otaylor@redhat.com>
7678
7679         Improve Cedilla handling - based on a patch from Gustavo 
7680         De Nardin, #111334
7681
7682         * modules/input/imcedilla.c po/POTFILES.in: Input method that 
7683         produces C_WITH_CEDILLA rather than C_WITH_ACUTE for 
7684         dead_acute+c combinations. Make this the default for
7685         fr and pt.
7686
7687         * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave): 
7688         Use LC_CTYPE instead of LC_MESSAGES to pick the default
7689         input method.
7690
7691 Fri Aug 15 17:00:19 2003  Owen Taylor  <otaylor@redhat.com>
7692
7693         * gtk/gtkimcontextsimple.c: Fix missing compose sequence
7694         for Multi_key+c+apostrophe.
7695
7696 Fri Aug 15 21:57:34 2003  Kristian Rietveld  <kris@gtk.org>
7697
7698         Merged from stable.
7699
7700         * gtk/gtktreeview.c (gtk_tree_view_adjustment_changed): stop editing
7701         on vertical scrolling. (#108035, reported by Tim Janik).
7702
7703 Fri Aug 15 20:06:42 2003  Kristian Rietveld  <kris@gtk.org>
7704
7705         Merged from stable.
7706
7707         * gtk/gtktreeview.c (gtk_tree_model_sort_row_changed),
7708         (gtk_tree_model_sort_level_find_insert),
7709         (gtk_tree_model_sort_insert_value): fix off-by-one error.
7710         (#109292 continued, patch from Yann Rouillard).
7711
7712 Fri Aug 15 19:43:14 2003  Kristian Rietveld  <kris@gtk.org>
7713
7714         (Note: This is not exactly the same as the patch which went in
7715          gtk-2-2).
7716
7717         * gtk/gtktreeview.c (gtk_tree_view_class_init),
7718         (gtk_tree_view_key_press), (gtk_tree_view_search_key_press_event):
7719         Also support the up, down, left, right, home, end, page up and
7720         page down keys on the numpad. (#119419, reported by Alex Larsson).
7721
7722 Fri Aug 15 12:34:04 2003  Owen Taylor  <otaylor@redhat.com>
7723
7724         Fixes for X/Cygwin builds of GTK+ (#107623, Masahiro Sakai):
7725
7726         * configure.in (GDK_DEP_LIBS_FOR_X): Make sure that
7727         we link libgtk against X explicitely, since we
7728         make GTK+ calls for plug/socket.
7729
7730         * gtk/queryimmodules.c: Use USE_LA_MODULES and 
7731         G_MODULE_SUFFIX here. 
7732
7733         * gdk/x11/gdkdrawable-x11.c (gdk_x11_draw_image): Protect
7734         XShmPutImage with #ifdef USE_SHM.
7735
7736 Thu Aug 14 18:25:39 2003  Owen Taylor  <otaylor@redhat.com>
7737
7738         * gtk/gtkfilesel.c (gtk_file_selection_populate):
7739         Don't reposition the cursor when we aren't trying
7740         to complete. (Fixes problems with selection on
7741         startup, #108433, reported by Mark Finlay.)
7742
7743         * gtk/gtkfilesel.c (gtk_file_selection_populate): Remove
7744         code that tried to position the cursor after the common
7745         prefix when there was one, it wasn't working, and
7746         would be hard to fix. Just always put the cursor
7747         at the end when completing.
7748
7749 Thu Aug 14 17:58:23 2003  Owen Taylor  <otaylor@redhat.com>
7750
7751         * gtk/gtkfilesel.c (get_current_dir_utf8): If getting
7752         the current directory fails because of encoding
7753         conversion problems, walk up textually to parent
7754         directories until we can convert. (#113627)
7755
7756 Wed Aug 13 17:01:49 2003  Owen Taylor  <otaylor@redhat.com>
7757
7758         * gtk/gtkmenushell.[ch] (gtk_menu_shell_enter_notify):
7759         Remove usage of menu_shell->ignore leave which was
7760         to deal with stray events we no longer get because
7761         we do grabbing differently. Comment it as unused in
7762         the header. (#115837, Keith Bissett)
7763
7764 Wed Aug 13 16:32:43 2003  Owen Taylor  <otaylor@redhat.com>
7765
7766         * gtk/gtkmenu.c (gtk_menu_position, gtk_menu_window_size_request): 
7767         Fix some places that weren't properly Xinerama-ified.
7768
7769         * gtk/gtkmenu.c: Fix problem with windows that scroll
7770         at the top of the screen.
7771
7772 Wed Aug 13 11:34:53 2003  Owen Taylor  <otaylor@redhat.com>
7773
7774         * gtk/gtkcombo.c (gtk_combo_init): connect_after() to 
7775         key-press-event on the entry, so input methods get access to 
7776         key presses before GtkCombo customization.
7777         (#115451, Botond Botyanszki)
7778
7779 2003-08-13  Anders Carlsson  <andersca@gnome.org>
7780
7781         * tests/testtoolbar.c: (set_important_func), (important_toggled),
7782         (create_items_list):
7783         Add an important column.
7784         
7785 Tue Aug 12 15:00:15 2003  Owen Taylor  <otaylor@redhat.com>
7786
7787         * gtk/gtkwindow.c (gtk_window_real_set_focus): Protect
7788         against reentrancy from ::focus-out handlers. 
7789         (#118129, Felipe Heidrich)
7790
7791 Tue Aug 12 14:27:42 2003  Owen Taylor  <otaylor@redhat.com>
7792
7793         * gtk/gtkkeyhash.c (_gtk_key_hash_lookup): Remove
7794         GDK_LOCK_MASK before calling
7795         gdk_keymap_translate_keyboard_state so bindings 
7796         and accelerators are independent of the Caps-lock
7797         key. (#115384, reported by Toni Willberg)
7798
7799 Mon Aug 11 12:07:14 2003  Owen Taylor  <otaylor@redhat.com>
7800
7801         * gdk/x11/gdkevents-x11.c (get_real_window): Add missing
7802         break statements (#119494, Soeren Sandmann)
7803
7804 Mon Aug 11 11:10:07 2003  Owen Taylor  <otaylor@redhat.com>
7805
7806         * gtk/gtkwidget.h: Mark parent public as well; it's
7807         extensively accessed in existing code, so there is
7808         no advantage in making people use get_parent().
7809         (Tweak to #119463 fix)
7810
7811 2003-08-11  Matthias Clasen  <maclas@gmx.de>
7812
7813         Add support for EWMH "Above" and "Below" window states.  (105100,
7814         Manuel Clos)
7815         
7816         * tests/testgtk.c: Add "Above" and "Below" to the the "Window
7817         State" demo.
7818
7819         * gtk/gtkwindow.h: Add gtk_window_set_keep_above and
7820         gtk_window_set_keep_below.
7821
7822         * gtk/gtk.def: Add gtk_window_set_keep_above and
7823         gtk_window_set_keep_below.
7824
7825         * gtk/gtkwindow.c (gtk_window_set_keep_below):
7826         (gtk_window_set_keep_above): New functions, call the corresponding
7827         gdk functions.
7828
7829         * gdk/x11/gdkwindow-x11.c (gdk_window_set_keep_below): New
7830         function, sets _NET_WM_STATE_BELOW.
7831         (gdk_window_set_keep_above): New function, sets
7832         _NET_WM_STATE_ABOVE.
7833
7834         * gdk/gdkwindow.h: Add gdk_window_set_keep_above and
7835         gdk_window_set_keep_below.
7836
7837         * gdk/gdkevents.h (GdkWindowState): Add GDK_WINDOW_STATE_ABOVE and
7838         GDK_WINDOW_STATE_BELOW.
7839
7840         * gdk/gdk.def: Add gdk_window_set_keep_above and
7841         gdk_window_set_keep_below.
7842
7843         * acinclude.m4: Copy newer versions of JH_CHECK_XML_CATALOG and
7844         JH_PATH_XML_CATALOG from gtk-doc to enable configuring without
7845         xmlcatalog in PATH.  (#119115)
7846
7847 2003-08-10  Matthias Clasen  <maclas@gmx.de>
7848
7849         * gtk/gtkwidget.h (struct _GtkWidget): Mark some members as
7850         public.  (#119463)
7851
7852 2003-08-09  Noah Levitt  <nlevitt@columbia.edu>
7853
7854         * gdk/gdkevents.h:
7855         * docs/reference/gdk/tmpl/windows.sgml: Elaborate a bit more in the
7856         docs on GdkFilterFunc and GdkFilterReturn.
7857
7858 2003-08-09  Matthias Clasen  <maclas@gmx.de>
7859
7860         * gtk/gtkcalendar.c:  Add and hook in gtk_calendar_scroll,
7861         to let the mouse wheels select the month. Scrolling down
7862         moves forward in time. (#53134, Abigail Brady) 
7863
7864         * gtk/gtkcalendar.c: Complete the RTL flipping support for
7865         GtkCalendar, make it possible to flip the headings using the
7866         "magic translated string" technique.  Translators, note the
7867         comment in gtk_calendar_init() explaining this.  (#102416)
7868
7869         * gtk/gtkcalendar.c: Get the information about the first day of
7870         the week from the locale using another instance of the "magic
7871         translated string" technique.  Ignore the display option
7872         GTK_CALENDAR_WEEK_START_MONDAY with a warning.  (#87977)
7873
7874         * gtk/gtkcalendar.c: Add DND support to GtkCalendar. The selected
7875         date is dragged as text, formatted via strftime %x. Text drops are
7876         accepted if g_date_set_parse() can make sense of the text. A
7877         dedicated data format for date DND has not been introduced yet,
7878         since there didn't seem to be sufficient consensus on such a
7879         format on xdg-list.  (#117297)
7880         
7881 2003-08-08  Matthias Clasen  <maclas@gmx.de>
7882
7883         * gdk/gdkregion-generic.c (gdk_region_spans_intersect_foreach):
7884         Fix a segfault.  (#115284, Jan Kratochvil)
7885
7886 2003-08-08  Tor Lillqvist  <tml@iki.fi>
7887
7888         * gdk/win32/gdkevents-win32.c (print_event): Print also the root
7889         coordinates for events that have such. Print coordinates for enter
7890         and leave events.
7891
7892         (gdk_event_translate): Don't use event uninitialixed in the
7893         return_exposes branch of the WM_PAINT handler.
7894
7895         * gdk/win32/gdkwindow-win32.c (gdk_window_new,
7896         _gdk_windowing_window_get_pointer, _gdk_windowing_window_at_pointer): 
7897         Must offset top-level window coordinates here, too.
7898
7899 2003-08-08  Matthias Clasen  <maclas@gmx.de>
7900
7901         * demos/gtk-demo/appwindow.c (do_appwindow): Hide the resize grip
7902         when maximized or fullscreen.
7903
7904 2003-08-07  Tor Lillqvist  <tml@iki.fi>
7905
7906         * gdk/win32/gdkinput-win32.h
7907         * gdk/win32/gdkinput-win32.c (_gdk_input_configure_event,
7908         _gdk_input_enter_event): Drop the GdkEvent* parameter, it wasn't
7909         used.
7910
7911         * gdk/win32/gdkevents-win32.c (gdk_event_translate): Adapt caller
7912         accordingly, in fact an uninitialised variable was dereferenced.
7913         
7914
7915         [Win32] Add support for multiple monitors. 
7916         
7917         * gdk/win32/gdkprivate-win32.h
7918         * gdk/win32/gdkglobals-win32.c: New global variables for
7919         multiple-monitor info: _gdk_num_monitors, _gdk_monitors, and
7920         _gdk_offset_x and _gdk_offset_y.
7921         
7922         * gdk/win32/gdkdisplay-win32.c (count_monitor, enum_monitor): New
7923         functions, enumeration functions passed to EnumDisplayMonitors().
7924
7925         (gdk_display_open): If the EnumDisplayMonitors() and
7926         GetMonitorInfo() API is present (on Win98, Win2000 and newer), use
7927         if to find out monitor info.
7928
7929         Calculate the offset between Win32 coordinates (relative to the
7930         primary monitor's origin (and thus negative on monitors to the
7931         left of or above it), and GDK's (visible coordinates should be
7932         non-negative).
7933         
7934         * gdk/win32/gdkscreen-win32 (gdk_screen_get_n_monitors,
7935         gdk_screen_get_monitor_geometry): Use information collected above.
7936
7937         (gdk_window_move, gdk_window_move_resize_window_get_geometry):
7938         Subtract _gdk_offset_{x,y} from GDK root window coordinates.
7939
7940         (gdk_window_get_geometry, gdk_window_get_origin,
7941         gdk_window_get_frame_extents): For top-level windows, add
7942         _gdk_offset_{x,y} to GDK root window coordinates
7943
7944         Still need to handle multiple monitors in
7945         gdk_window_fullscreen(). Probably should make the window
7946         fullscreen on the monitor where the cursor is?
7947
7948         * gdk/win32/gdkevents-win32.c: Add _gdk_offset_{x,y} to all GDK
7949         root window coordinates in GdkEvents.
7950
7951         
7952         [Win32] Fix geometry hint handling. Add support for resize
7953         increment and base size, and aspect ratio geometry hints. The
7954         "gridded geometry" test in testgtk now works beautifully.
7955
7956         * gdk/win32/gdkwindow-win32.c (gdk_window_set_geometry_hints):
7957         Turns out this function shouldn't actually ever modify the
7958         window's size, just store the hints. (Old code kept for a while
7959         inside #if 0.)
7960
7961         (gdk_window_set_hints): Remove presumably broken code that handles
7962         the position hints, this function is obsolete anyway.
7963
7964         * gdk/win32/gdkevents-win32.c: Drop the current_{x,y}_root
7965         variables, not used.
7966
7967         (adjust_drag): New function, used to implement resize increment
7968         hints.
7969
7970         (gdk_event_translate): Handle WM_SIZING, implement resize
7971         increment and base size, and aspect ratio geometry hints here. The
7972         WM_GETMINMAXINFO handler takes care of the minimum and maximum
7973         size hints as before. Fix the WM_GETMINMAXINFO handler to take
7974         into account window decorations. No need to modify the
7975         ptMaxPosition and ptMaxSize fields in the MINMAXINFO struct,
7976         the defaults are fine.
7977         
7978         * gdk/win32/gdkprivate-win32.h 
7979         * gdk/win32/gdkwindow-win32.c (_gdk_win32_adjust_client_rect,
7980         _gdk_win32_get_adjusted_client_rect): New helper functions.
7981
7982 2003-08-07  Matthias Clasen  <maclas@gmx.de>
7983
7984         * gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed): Reset the
7985         toplevel->have_* flags before iterating over the _NET_WM_STATE 
7986         atoms.  (#119217) 
7987
7988 Thu Aug  7 16:49:29 2003  Owen Taylor  <otaylor@redhat.com>
7989  
7990         * gtk/gtkwidget.c (gtk_widget_set_style_internal): 
7991         Fix a bug where on theme change, resize/redraw wasn't
7992         properly getting queued on toplevel windows. (#116346,
7993         Rajkumar Siva)
7994  
7995         * gtk/gtkwidget.c (gtk_widget_invalidate_widget_windows): 
7996         Fix bug where wrong coordinates were used for toplevel
7997         window.
7998  
7999 Thu Aug  7 16:40:21 2003  Owen Taylor  <otaylor@redhat.com>
8000
8001         * gtk/gtknotebook.c (gtk_notebook_remove): Remove leftover
8002         page_num variable (Archit Baweja)
8003
8004 2003-08-07  Matthias Clasen  <maclas@gmx.de>
8005
8006         * gtk/gtkspinbutton.c (gtk_spin_button_default_input): Use g_strtod() to
8007         cope with C libraries with crippled locale support.  (#115293)
8008
8009 2003-08-07  Hans Breuer  <hans@breuer.org>
8010
8011         * gdk/win32/gdkevents-win32.c : finally use TrackMouseEvent
8012         (only if the new window not known to Gdk) to get proper
8013         leave notification, and get rid of the wrong placed 
8014         tooltips, bug #102283
8015  
8016         (gdk_event_translate) : small code reordering to not get
8017         GDK_MOTION_NOTIFY for still mouse and get back tooltips on 
8018         menus, bug #117367
8019
8020 2003-08-07  Tor Lillqvist  <tml@iki.fi>
8021
8022         * gdk/gdk.def
8023         * gdk/win32/gdkfont-win32.c (gdk_fontset_load_for_display): Add
8024         missing function, trivially implement.
8025
8026 2003-08-07  Matthias Clasen  <maclas@gmx.de>
8027
8028         * gtk/gtkctree.c (draw_row): Don't cut descenders when 
8029         rendering.  (#118646, Charles Kerr) 
8030
8031 2003-08-06  Hans Breuer  <hans@breuer.org>
8032
8033         * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_new) :
8034         initialize bits to 0 (probably default on NT)
8035
8036         * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon) :
8037         now it works as intended ;-)
8038
8039 2003-08-04  Hans Breuer  <hans@breuer.org>
8040
8041         * gdk/win32/gdkwindow-win32.c(gdk_window_set_modal_hint) :
8042         set HWND_NOTOPMOST for modal==FALSE, fixes bug #118435
8043
8044         * gdk/win32/gdkwindow-win32.c : implement gdk_window_[un]fullscreen
8045         (gdk_window_{move,resize,move_rezize})) : noop if FULLSCREEN
8046
8047         * gdk/win32/gdkwindow-win32.c (gdk_window_set_icon) :
8048         against all expectations it is basically ony a call with WM_SETICON
8049         needed (the visual effect is there, though colors or mask are
8050         still somewhat wrong).
8051         * gdk/win32/gdkwindow-win32.h : place to store the HICON
8052
8053         * gdk/win32/gdkdrawabke.win32.c : readded the conditional end
8054         pixel drawing as it was fixed at 1999-08-23
8055
8056         gtk/gtk.def : updated
8057
8058 Tue Aug  5 10:07:08 2003  Owen Taylor  <otaylor@redhat.com>
8059
8060         * gtk/gtkmessagedialog.c (gtk_message_dialog_get_property): 
8061         Add a missing break. (#119156, Callum McKenzie)
8062
8063 Tue Aug  5 00:24:13 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8064
8065         * gtk/gtkmenu.c (gtk_menu_position): New positioning
8066         algorithm.(#116649)
8067
8068 Fri Aug  1 15:26:46 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8069
8070         * gtk/gtktoolbar.c, gtk/toolitem.c: add new "is_important"
8071         property
8072         
8073         * gtk/gtkradiotoolbutton.c
8074         (gtk_radio_tool_button_new_from_widget): Don't take a stock id
8075
8076         * gtk/gtkradiotoolbutton.c
8077         (gtk_radio_tool_button_new_with_stock_from_widget): make this
8078         function take a stock_id.
8079
8080         * gtk/toolbar: documentation
8081
8082 Mon Aug  4 14:53:46 2003  Owen Taylor  <otaylor@redhat.com>
8083
8084         * gdk/x11/gdkimage-x11.c (_gdk_windowing_image_init): 
8085         Fix problem where use_xshm was getting set wrong if
8086         MIT_SHM wasn't found. (George Lebel)
8087
8088 2003-08-04  Tor Lillqvist  <tml@iki.fi
8089
8090         * gdk/win32/gdkevents-win32.c (apply_filters): Fix braino:
8091         actually use the passed-in filter list. The function also needs a
8092         GdkWindow parameter, as filter functions expect
8093         GdkEvent::any.window to be valid. (#119034, Hans Breuer)
8094
8095 2003-08-03  Matthias Clasen  <maclas@gmx.de>
8096
8097         * gdk/x11/gdkscreen-x11.c (gdk_screen_get_n_monitors): 
8098         (gdk_screen_get_monitor_geometry): Improve wording of the docs, avoid
8099         the term "virtual screen".  (#119030, Tor Lillqvist)
8100
8101 2003-08-02  Matthias Clasen  <maclas@gmx.de>
8102
8103         * tests/testtext.c (test_init): 
8104         * tests/testgtk.c (test_init): 
8105         * tests/testdnd.c (test_init): 
8106         * demos/pixbuf-init.c (pixbuf_init): 
8107         * demos/gtk-demo/main.c (main): Use g_setenv().
8108
8109         * gdk/x11/gdkdisplay-x11.c (_gdk_windowing_set_default_display): Use
8110         g_unsetenv(). 
8111
8112 Sat Aug  2 12:53:16 2003  Owen Taylor  <otaylor@redhat.com>
8113
8114         * configure.in: Requires glib-2.3.0, pango-1.2.0.
8115
8116         * configure.in: Require Xft version 2,
8117         remove code for handling older versions of pango and Xft.
8118         Many miscellaneous improvements to X checks
8119
8120         * acinclude.m4: Add GTK_ADD_LIB() macro for adding 
8121         a library to a variable, avoiding dups.
8122
8123         * gdk/x11/gdkfont-x11.c (gdk_font_from_description_for_display): 
8124         Always load "fixed"
8125
8126         * gdk/x11/gdk*-x11.[ch]: Remove support for Xft1 and
8127         for pangox.
8128
8129 2003-08-02  Matthias Clasen  <maclas@gmx.de>
8130
8131         * gtk/gtkcolorsel.c (color_sample_drop_handle) 
8132         (palette_drop_handle): 
8133         * gtk/gtkcolorbutton.c (gtk_color_button_drag_data_received):  Accept
8134         drops with the wrong format, since the KDE color chooser incorrectly
8135         drops application/x-color with format 8.  (#118810)
8136
8137         * gtk/gtkcolorsel.c (color_sample_drop_handle) (palette_drop_handle): 
8138         * gtk/gtkcolorbutton.c (gtk_color_button_drag_data_received):  
8139         Accept drops with the wrong format, since the KDE color chooser 
8140         incorrectly drops application/x-color with format 8.  (#118810)
8141
8142 2003-08-02  Tor Lillqvist  <tml@iki.fi>
8143
8144         Fix gdk/win32 window geometry handling again. The window position
8145         in a GDK_CONFIGURE event should be that of the client area, not of
8146         the window decorations. (I was confused by the term "window
8147         border" in X11. It does *not* mean the window manager
8148         decorations. There are no X11-style window borders in Win32.)
8149         Also, this time do take the geometry hints into account
8150         appropriately when moving windows. Now testgtk's gravity test's
8151         move buttons work OK. There are stil problems with taking gravity
8152         into account when showing a hidden window.
8153
8154         * gdk/win32/gdkwindow-win32.h: Keep a whole GdkGeometry as hints
8155         instead of separate fields.
8156         
8157         * gdk/win32/gdkevents-win32.c (handle_configure_event): Don't
8158         adjust for decorations.
8159
8160         * gdk/win32/gdkwindow-win32.c (get_outer_rect,
8161         adjust_for_gravity_hints): New functions.
8162         (gdk_window_move, gdk_window_resize, gdk_window_move_resize): Use
8163         above functions, take geometry hints into account.
8164         (gdk_window_set_geometry_hints): Size hints specicy client area,
8165         not including decorations.
8166
8167 Fri Aug  1 17:10:22 2003  Owen Taylor  <otaylor@redhat.com>
8168
8169         * gtk/gtkfilesel.c (cmpl_completion_fullname): Always
8170         return an absolute path (#115590), fix a problem where
8171         you could crash the file selector with a looong name
8172         by returning a newly allocated buffer.
8173
8174 Fri Aug  1 16:44:51 2003  Owen Taylor  <otaylor@redhat.com>
8175
8176         * gtk/gtkfilesel.c (update_cmpl): Fix obvious reallocation
8177         bug in rarely or never hit code path (#118071,
8178         Tor Lillqvist)
8179
8180 Fri Aug  1 16:30:13 2003  Owen Taylor  <otaylor@redhat.com>
8181
8182         * gdk/x11/gdkdrawable-x11.c (_gdk_x11_have_render): 
8183         If the check for missing depths, try actually creating pixmaps
8184         of the depths to deal with Xinerama not reporting
8185         all the depths it should. (#115822)
8186
8187 Fri Aug  1 15:33:59 2003  Owen Taylor  <otaylor@redhat.com>
8188
8189         * gtk/gtksocket.c: Patch from Denis Mikhalkin to
8190         forward KeyRelease events as well as KeyPress events.
8191         (#115597)
8192
8193 Fri Aug  1 15:06:25 2003  Owen Taylor  <otaylor@redhat.com>
8194  
8195         * gdk/gdk.c (gdk_parse_args): g_set_prgname("<unknown>")
8196         if argc is 0 as well, instead of leaving it unset.
8197         (#116023, Michael Meeks)
8198  
8199 Thu Jul 31 23:09:02 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8200
8201         * gtk/gtktoolbar.c (gtk_toolbar_class_init): make show_arrow
8202         default to TRUE; ignore the property when api_mode != NEW_API
8203
8204 2003-07-31  Matthias Clasen  <maclas@gmx.de>
8205
8206         * gtk/gtkwindow.c (gtk_window_set_default_icon): Rename parameter pixbuf
8207         to icon, to pacify gtk-doc.
8208
8209         * gtk/gtkwidget.c (gtk_widget_class_init): Fix formatting of drag-motion 
8210         example. 
8211
8212 Thu Jul 31 15:33:33 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8213
8214         * gtk/gtk*tool*.h: add padding to subclasses of GtkToolItem
8215
8216 Thu Jul 31 15:29:28 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8217
8218         * gtk/gtktoolitem.c (struct _GtkToolItemPrivate): remove unused
8219         overflow_item field.
8220
8221 Wed Jul 30 21:11:13 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8222
8223         * gtk/gtktoolitem.h: make _gtk_tool_item_toolbar_reconfigured()
8224         an internal function
8225
8226         * gtk/gtktoolitem.h: remove unused declaration of
8227         _gtk_tool_item_get_drag_window().
8228
8229 Wed Jul 30 17:03:58 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8230
8231         * gtk/gtktoolbutton.[ch]:
8232         (gtk_tool_button_new): swap icon_widget and label arguments to
8233         match BonoboUIToolbarButton.
8234
8235         * gtk/gtktoolbar.h: un-deprecate gtk_toolbar_{set|unset}_style().
8236
8237 2003-07-30  Matthias Clasen  <maclas@gmx.de>
8238
8239         * gtk/gtkwidget.c (gtk_widget_class_init): Some updates to the DND
8240         signal docs. 
8241
8242 2003-07-29  Tor Lillqvist  <tml@iki.fi>
8243
8244         Fix for #108007, #112402, #117042: There was confusion in
8245         gdk/win32 at various places whether a window position refers to
8246         the decoration position or the client area position. Also whether
8247         window size includes decorations or not.
8248         
8249         The correct interpretation apparently is that in GDK (like in
8250         X11), a top-level window position means the decoration's position,
8251         but size means the window's inner size (client area size). In the
8252         Win32 API, the window size usually includes the decorations,
8253         though.
8254         
8255         * gdk/win32/gdkevents-win32.c (decode_key_lparam): Move inside
8256         #ifdef G_ENABLE_DEBUG.
8257         (handle_configure_event): New function, generates GDK_CONFIGURE
8258         events from WM_SIZE and WM_MOVE messages. Even if no event is
8259         generated because of the event mask, still set the private
8260         position and size fields. Calculate position and size correctly.
8261         (gdk_event_translate): Call handle_configure_event().
8262
8263         * gdk/win32/gdkgeometry-win32.c: Cosmetics.
8264
8265         * gdk/win32/gdkwindow-win32.c: Use GDI_CALL() and API_CALL()
8266         macros. Cosmetic debugging output changes.
8267         (SafeAdjustWindowRectEx): Remove. If an application wants to
8268         locate a window outside of the screen, it's not GDK's business to
8269         prevent it. And anyway, with multiple monitors, negative
8270         coordinates are perfectly normal.
8271         (gdk_window_new): Adjust the window size for decorations after
8272         _gdk_window_init_position() has done its job. (But the big window
8273         code currently is presumably broken on Win32 anyway.)
8274         (gdk_window_move): The position passed in is supposed to be that
8275         of the window border, so don't need to adjust for decorations.
8276         (gdk_window_resize, gdk_window_move_resize): Simplify somewhat.
8277
8278 Tue Jul 29 13:55:44 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8279
8280         * gtk/gtktoolbar.c (gtk_toolbar_set_style,
8281         gtk_toolbar_prepend_element, gtk_toolbar_append_element,
8282         gtk_toolbar_insert_space, gtk_toolbar_prepend_space,
8283         gtk_toolbar_append_space, gtk_toolbar_insert_item,
8284         gtk_toolbar_prepend_item, gtk_toolbar_append_item,
8285         gtk_toolbar_set_tooltips, gtk_toolbar_set_orientation,
8286         gtk_toolbar_new, gtk_toolbar_prepend_item):
8287
8288         Move documentation inline from template files.
8289
8290         * gtk/gtktoolbar.c (gtk_toolbar_insert_element,
8291         gtk_toolbar_insert_widget, gtk_toolbar_prepend_widget,
8292         gtk_toolbar_append_widget, gtk_toolbar_remove_space,
8293         gtk_toolbar_insert_stock, gtk_toolbar_unset_icon_size,
8294         gtk_toolbar_get_icon_size, gtk_toolbar_set_icon_size,
8295         gtk_toolbar_get_tooltips, gtk_toolbar_unset_style,
8296         gtk_toolbar_get_style, gtk_toolbar_get_orientation)
8297
8298         Copy documentation from stable that was added after the EggToolbar
8299         branched.
8300
8301         * gtk/gtktoolbar.h: deprecate gtk_toolbar_unset_icon_size()
8302
8303 Mon Jul 28 18:21:34 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8304
8305         * gtk+/docs/: Commit autogenerated changes, so patches will make
8306         sense.
8307
8308 2003-07-27  Tor Lillqvist  <tml@iki.fi>
8309
8310         * gdk/win32/gdkevents-win32.c (build_key_event_state): On Win9x,
8311         the keyboard state returned by GetKeyboardState() doesn't
8312         distinguish between the left and right Control and Alt keys. Thus
8313         we cannot detect AltGr (which is supposed to be left Control +
8314         right Alt) the same way as on NT-based systems, but have to accept
8315         either Control + either Alt as AltGr.
8316
8317 2003-07-27  Matthias Clasen  <maclas@gmx.de>
8318
8319         * gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach):
8320         Fix function name in warning message.  (#118156, Tim-Philipp
8321         Mller)
8322
8323         * gtk/gtkcellrenderer.c (gtk_cell_renderer_get_property):
8324         is-expander and is-expanded are boolean properties, not ints.
8325         (#118359, Josh Parsons)
8326
8327 Sat Jul 26 15:21:27 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8328
8329         * gtk/gtkimagemenuitem.c
8330         (gtk_image_menu_item_toggle_size_request): don't request
8331         toggle_space when the image width is 0.
8332
8333 2003-07-25  Tor Lillqvist  <tml@iki.fi>
8334
8335         * gdk/win32/gdkprivate-win32.h
8336         * gdk/win32/gdkglobals-win32.c: New flags _gdk_input_locale_is_ime
8337         and _gdk_keyboard_has_altgr.
8338         
8339         * gdk/win32/gdkevents-win32.c: Lots of changes. Most important
8340         ones detailled here.
8341
8342         Code that has been ifdeffed out for a long time removed. Remove
8343         some really old doc comments that were left behind for some public
8344         functions, the official ones are in the X11 backend anyway. Change
8345         GDK_WINDOW_OBJECT() calls to GdkWindowObject casts. Reformat
8346         multi-line boolean expressions to have the operators at ends of
8347         lines.
8348
8349         As mouse capture with SetCapture() indeed seems to work OK, no
8350         need to have the correspoinding macro USE_SETCAPTURE and ifdefs.
8351
8352         Ifdef out the gdk-ping-msg stuff. I don't remember why it was
8353         needed at some time, and things seem to work fine now without
8354         (knock on wood).
8355
8356         Ifdef out the search for some Latin locale keyboard layout being
8357         loaded. Not used currently, but might be needed after all, if we
8358         decide that we want to be able to generate ASCII control character
8359         events with a non-Latin keyboard.
8360
8361         (assign_object): New helper function, handles the g_object_ref()
8362         and unref() calls when assigning GObject pointers.
8363                 
8364         (generate_crossing_events): Also generate the GDK_NOTIFY_INTERIOR
8365         enter event when the pointer has moved to an ancestor window. Was
8366         left out by mistake.
8367
8368         (gdk_window_is_ancestor): Renamed from gdk_window_is_child().
8369
8370         (gdk_pointer_grab, gdk_pointer_ungrab): Implement the confine_to
8371         functionality, using ClipCursor().
8372                 
8373         (find_window_for_mouse_event): Splice part of code into new
8374         function find_real_window_for_grabbed_mouse_event().
8375
8376         (fixup_event, append_event, apply_filters): New functions, code
8377         refactored out from elsewhere.
8378
8379         (synthesize_enter_or_leave_event, synthesize_leave_event,
8380         synthesize_enter_event,
8381         synthesize_leave_events,synthesize_enter_events): Also take a
8382         GdkCrossingMode parameter, in preparation to generating
8383         GDK_CROSSING_GRAB and GDK_CROSSING_UNGRAB events.
8384
8385         (fixup_event, append_event, fill_key_event_string): New functions,
8386         code refactoring.
8387
8388         (vk_from_char, build_keypress_event, build_keyrelease_event):
8389         Removed as part of dropping WM_CHAR handling.
8390
8391         (build_key_event_state,gdk_event_translate): Call
8392         GetKeyboardState(), once, for each keyboard message, instead of
8393         several calls to GetKeyState() here and there.
8394
8395         (gdk_event_translate): Fix bugs #104516, #104662, #115902. While
8396         at it, do some major refactoring, and some fixes for potential
8397         problems noticed while going through the code.
8398
8399         Don't handle WM_CHAR at all. Only handle WM_KEYDOWN and
8400         WM_KEYUP. Don't need the state variables related to whether to
8401         wait for WM_CHAR or not, and whether the current key is
8402         AltGr. Remove lots of complexity. Thus don't need the
8403         use_ime_composition flag.
8404
8405         Not handling WM_CHAR means dead key handling will have to be taken
8406         care of by GTK, but that seems to work fine, so no worry.
8407
8408         Another side-effect is that Alt+keypad digits don't work any
8409         longer, but it's better to learn to use GTK's ISO14755 support is
8410         anyway.
8411
8412         Be more careful in checking whether AltGr is involved. Only
8413         attempt to handle it if the keyboard actually has it. And
8414         explicitly check for *left* Control plus *right* Alt being
8415         pressed. Still, allow (left) Alt and/or (right) Control with AltGr
8416         chars.
8417
8418         Handle keys using similar code as in the X11 backend. As we have
8419         built a keymap in gdkkeys-win32.c anyway, use it by calling
8420         gdk_keymap_translate_keyboard_state() to look up the keysym from
8421         the virtual key code and keyboard state. Build the key event
8422         string in exactly the same way as the X11 backend.
8423
8424         If an IME is being used, don't generate GDK events for keys
8425         between receiving WM_IME_STARTCOMPOSITION and
8426         WM_IME_ENDCOMPOSITION, as those keys are for the IME.
8427         
8428         For WM_IME_COMPOSITION, handle all the Unicode chars returned from
8429         the IME, not just the first one.
8430
8431         gdk_event_translate() is still quite complex, could split the
8432         message handler cases out into separate functions.
8433
8434         On mouse events, when the mouse is grabbed, use
8435         find_real_window_for_grabbed_mouse_event() in order to be able to
8436         generate correct crossing events.
8437         
8438         No longer take a pre-allocated GdkEvent as parameter. Instead,
8439         allocate events as needed and append them to the queue. (This is
8440         different from how gdk_event_translate() in the X11 backend
8441         works.) This change made the code much clearer, especially in the
8442         cases where we have to generate several GDK events for one Windows
8443         message.  Return FALSE if DefWindowProc() should be called, TRUE
8444         if not. If DefWindowProc() should not be called, also return the
8445         value to be returned from the window procedure.
8446
8447         (Previously, the interaction with gdk_event_translate()'s caller
8448         was much more complex, when we had to indicate whether the
8449         already-queued event should be left in the queue or removed, and
8450         in addition also had to indicate whether to call DefWindowProc()
8451         or not, and what value to return from the window procedure if
8452         not.)
8453
8454         Don't use a separate "private" variable required to be pointing to
8455         the GdkWindowObject of the "window" variable at all times. Just
8456         use casts, even if looks a bit uglier.
8457
8458         Notice destroyed windows as early as possible, and break out of
8459         the messsage switch.
8460
8461         Use _gdk_pointer_root as current_window when the pointer is
8462         outside GDK's top-level windows.
8463         
8464         On WM_INPUTLANGCHANGE, set _gdk_input_locale_is_ime as
8465         appropriate, based on ImmIsIME().
8466         
8467         (gdk_event_translate, gdk_event_send_client_message_for_display,
8468         gdk_screen_broadcast_client_message): Implement client messages.
8469         Use a registered Windows message to pass GDK client messages. Note
8470         that the amount of user data is restricted to four bytes, as it is
8471         carried in the LPARAM. (The WPARAM is used for the message type
8472         "atom".)
8473         
8474         (real_window_procedure): Adapt for new gdk_event_translate()
8475         interface.
8476
8477         * gdk/win32/gdkmain-win32.c (_gdk_windowing_init): Set
8478         _gdk_input_locale_is_ime initially.
8479
8480         * gdk/win32/gdkwindow-win32.c: Use g_object_ref()/unref() instead
8481         of g_colormap_ref()/unref().
8482
8483         (gdk_window_new): Made code a bit more like the X11 one, pretend
8484         to handle screens (although we just have one for now).
8485
8486         * gdk/x11/gdkevents-x11.c
8487         (gdk_event_send_client_message_for_display,
8488         gdk_screen_broadcast_client_message): Document the user data
8489         limitation on Win32.
8490
8491         * gdk/win32/gdkevents-win32.c (print_event): More complete enter
8492         and leave notify detail output.
8493
8494         * gdk/win32/gdkkeys-win32.c (update_keymap): Make dead keys
8495         visible to GDK and GTK. Store the corresponding GDK_dead_* keysym
8496         for those, so that the GtkIMContextCimple compose tables will
8497         work. Deduce if the keyboard layout has the AltGr key, and set the
8498         above flag accordingly.
8499
8500 2003-07-26  Matthias Clasen  <maclas@gmx.de>
8501
8502         * gtk/gtkwidget.c: Document DND signals.
8503
8504 2003-07-24  Matthias Clasen  <maclas@gmx.de>
8505
8506         * gtk/gtktextview.c (popup_targets_received): Make the "Input Methods"
8507         insensitive when editing isn't possible.  (#118150)
8508
8509 2003-07-23  Matthias Clasen  <maclas@gmx.de>
8510
8511         * gtk/gtkcolorsel.c (gtk_color_selection_init): Make the hue 
8512         spinbutton wrap.  (#118097, John Darrington)
8513
8514         * docs/faq/gtk-faq.sgml: Mention Xnest as a way to debug GTK+ apps. 
8515
8516 2003-07-20  Hans Breuer  <hans@breuer.org>
8517
8518         * makefile.msc : new file to build it all
8519         * Makefile.am : ... added to EXTRA_DIST
8520
8521         * gdk/makefile.msc gtk/stock-icons/makefile.msc 
8522           gtk/makefile.msc.in tests/makefile.msc : updated
8523
8524         * gdk/gdk.def gtk/gtk.def : export a bunch of new 
8525         functions
8526
8527         * gtk/gtkbbox.c : use g_return_val_if_fail() if
8528         there is a value to return
8529
8530         * gtk/gtkfontsel.c gtk/gtkiconfactory.c :
8531         static correctness
8532
8533         * gtk/gtkicontheme.c : ported to use GTimeVal instead of
8534         struct timeval and GTK_DATA_PREFIX instead of GTK_DATADIR
8535
8536         * gtk/gtkicontheme.c : use HAVE_LC_MESSAGES
8537
8538         * gtk/gtkimmulticontext.c : use gtkprivate.h
8539
8540         * gtk/stock-icons/stock_color_picker_25.png
8541           gtk/stock-icons/stock_jump_to_rtl_16.png
8542           gtk/stock-icons/stock_jump_to_rtl_24.png
8543           gtk/stock-icons/stock_redo_rtl_16.png
8544           gtk/stock-icons/stock_redo_rtl_24.png
8545           gtk/stock-icons/stock_undelete_rtl_16.png
8546           gtk/stock-icons/stock_undelete_rtl_24.png
8547           gtk/stock-icons/stock_undo_rtl_16.png :
8548           gtk/stock-icons/stock_undo_rtl_24.png :
8549         readded as binary
8550
8551 Sat Jul 19 22:39:24 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8552
8553         * gtk/gtktoolitem.c (gtk_tool_item_size_request): remove
8554         leftover request of {xy}thickness
8555
8556 Sat Jul 19 16:26:02 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8557
8558         * gtk/gtktoolbutton.c (gtk_tool_button_construct_contents): don't
8559         attempt to add a NULL icon to the box.
8560
8561 Sat Jul 19 12:13:20 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8562
8563         * gtk/gtknotebook.c (gtk_notebook_focus_in|out): only redraw tabs
8564         on focus in/out.
8565
8566 2003-07-19  Matthias Clasen  <maclas@gmx.de>
8567
8568         * gtk/gtkstock.h (GTK_STOCK_DIALOG_AUTHENTICATION): New stock id. 
8569         * gtk/gtkiconfactory.c (get_default_icons): Add
8570         stock_dialog_authentication_48.  (#65765) 
8571         * gtk/stock-icons/Makefile.am (VARIABLES2, IMAGES): Here too.
8572         * gtk/stock-icons/stock_dialog_authentication_48.png: New image.
8573
8574         * gtk/gtkbbox.h: 
8575         * gtk/gtkbbox.c (gtk_button_box_get_child_secondary): New
8576         function. (#64562) 
8577
8578 Sat Jul 19 00:18:40 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8579
8580         * gtk/gtkwindow.c (gtk_window_set_default_icon): Fix C99
8581         declaration
8582
8583         * gtk/gtkwidget.c (gtk_widget_queue_shallow_draw): new function
8584         (gtk_widget_real_focus_{in|out}_event): queue shallow draws
8585         instead of full draws.
8586
8587 2003-07-18  Matthias Clasen  <maclas@gmx.de>
8588
8589         * gtk/gtkwindow.c: Add properties decorated and gravity.  (#80234) 
8590
8591         * gtk/gtktextview.c (gtk_text_view_class_init): Add a new keybinding
8592         signal, move_viewport. 
8593         (gtk_text_view_move_viewport): New function which implements the
8594         move_viewport functionality. 
8595         (gtk_text_view_move_cursor_internal): If the cursor is not visible, move
8596         the viewport. (#78669) 
8597
8598         * gtk/gtkenums.h (GtkScrollStep): New enumeration, used for
8599         move_viewport argument. 
8600
8601         * gtk/gtkstatusbar.c (gtk_statusbar_class_init): Add a has_resize_grip
8602         property.  (#111779) 
8603
8604         * gtk/gtkwindow.h: 
8605         * gtk/gtkwindow.c (gtk_window_set_default_icon): New method.  (#95816)
8606
8607         * gtk/gtkmessagedialog.h:
8608         * gtk/gtkmessagedialog.c (gtk_message_dialog_add_buttons): New method.  
8609         (#65501, Sebastian Rittau)
8610
8611 Fri Jul 18 20:06:57 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8612
8613         * gtk/gtktextview.c (changed_handler): use
8614         gtk_widget_queue_resize_noredraw().
8615
8616 2003-07-16  Jody Goldberg <jody@gnome.org>
8617
8618         * gdk/x11/gdkwindow-x11.c (gdk_window_focus) : fix cut-n-paste-o
8619
8620 Fri Jul 18 19:55:50 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8621
8622         * gtk/gtkwidget.c (gtk_widget_queue_resize_no_redraw): Add this
8623         API. 
8624
8625 Fri Jul 18 18:43:01 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8626
8627         By popular request give toolbuttons a border.
8628         
8629         * gtk/gtktoolitem.c
8630         (gtk_tool_item_size_allocate):
8631         (gtk_tool_item_size_request): don't request and allocate a border
8632         around the child
8633
8634         * gtk/gtktoolbutton.c 
8635         (gtk_tool_button_size_allocate):
8636         (gtk_tool_button_size_request): remove these functions
8637
8638         * gtk/gtktoolbar.c 
8639         (gtk_toolbar_size_request):
8640         (gtk_toolbar_size_allocate): request and allocate a border if we
8641         have a shadow.
8642
8643 Thu Jul 17 19:24:51 2003  Kristian Rietveld  <kris@gtk.org>
8644
8645         Merged from stable.
8646
8647         Fixes issues pointed out by Morten Welinder in #115140.
8648
8649         * gtk/gtktreeview.c (gtk_tree_view_size_request): fix comment,
8650         (do_validate_rows): update validated_area with a logic OR instead
8651         of a bitwise OR,
8652         (validate_rows_handler): make the if statement match the one in
8653         validate_rows(), so we don't leak the timeout.
8654
8655 Thu Jul 17 19:12:02 2003  Kristian Rietveld  <kris@gtk.org>
8656
8657         Merged from stable.
8658
8659         * gtk/gtktreeview.c (gtk_tree_view_remove_widget): the treeview
8660         should only grab focus back if the "cell_editable" widget still
8661         has focus. (Fixes #110104, testcase provided by Marco Pesenti
8662         Gritti).
8663
8664 Thu Jul 17 19:06:34 2003  Kristian Rietveld  <kris@gtk.org>
8665
8666         Merged from stable.
8667
8668         * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_realize_button):
8669         Don't set attr.event_mask twice, those things were meant to be
8670         ORred. (#115139, pointed out by Morten Welinder).
8671
8672 Thu Jul 17 16:11:21 2003  Kristian Rietveld  <kris@gtk.org>
8673
8674         Merged from stable.
8675
8676         * gtk/gtktreeview.c (gtk_tree_view_rows_reordered): stop editing
8677         if needed. (Fixes #115869, reported by Michael Natterer).
8678
8679 2003-07-15  Matthias Clasen  <maclas@gmx.de>
8680
8681         * gdk/x11/gdkcursor-x11.c (gdk_display_get_maximal_cursor_size):
8682         Fight against gtk-doc stupidity.
8683
8684 2003-07-13  Matthias Clasen  <maclas@gmx.de>
8685
8686         * gtk/gtkdnd.c (gtk_drag_begin): Rename parameter target_list back to 
8687         targets, to pacify gtk-doc.
8688
8689 Sun Jul 13 15:57:57 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8690
8691         * gtk/gtktoolbutton.c (gtk_tool_button_finalize): Fix leaks of
8692         label_text, label_widget and icon_widget. (#117312, 
8693         Christian Persch)
8694         
8695 Sun Jul 13 01:37:51 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8696
8697         * gtk/gtkmenu.c (gtk_menu_class_init): new properties
8698         "horizontal-offset" and "vertical-offset" that determines the
8699         position of the menu when it is a submenu. 
8700
8701         * gtk/gtkmenuitem.c (gtk_menu_item_position_menu): position
8702         submenus according to new vertical- and horizontal-offset
8703         properties.
8704
8705 Sat Jul 12 16:16:04 2003  Kristian Rietveld  <kris@gtk.org>
8706
8707         Merged from stable.
8708
8709         * gtk/gtktreeview.c (gtk_tree_view_drag_data_received): special
8710         case drags to "0", scroll to the top after dropping. (Fixes #94968,
8711         reported by Alp Toker).
8712
8713 Sat Jul 12 16:08:32 2003  Kristian Rietveld  <kris@gtk.org>
8714
8715         Merged from stable.
8716
8717         * demos/gtk-demo/editable_cells.c (cell_edited): fixup bad
8718         code (#115784, Owen Taylor).
8719
8720 Sat Jul 12 16:01:03 2003  Kristian Rietveld  <kris@gtk.org>
8721
8722         Merged from stable.
8723
8724         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_set_property):
8725         free the old text and extra_attrs *after* we parsed the new
8726         markup string. (Fixes #114485, reported by Owen Taylor).
8727
8728 Sat Jul 12 15:51:33 2003  Kristian Rietveld  <kris@gtk.org>
8729
8730         Merged from stable.
8731
8732         Fixes #113904, testcase provided by Rene Seindal.
8733
8734         * gtk/gtktreeview.c (gtk_tree_view_button_press): set
8735         pressed_button to -1 when a row has been activated,
8736         (gtk_tree_view_motion_bin_window): only start a drag if there's
8737         a button being pressed.
8738
8739 Sat Jul 12 15:51:18 2003  Kristian Rietveld  <kris@gtk.org>
8740
8741         Merged from stable.
8742
8743         * gtk/gtktreeview.c (gtk_tree_view_real_collapse_row): use
8744         gdk_window_get_pointer instead of gdk_display_get_window_at_pointer
8745         to avoid a roundtrip (#110272, Owen Taylor).
8746
8747 Sat Jul 12 15:28:26 2003  Kristian Rietveld  <kris@gtk.org>
8748
8749         Merged from stable.
8750
8751         This patch really really fixes scrolling. Related bugs: #81627,
8752         testcase provided by Timo Sirainen, #111500, testcase provided by
8753         manu, #113241, reported by Pedro Gimeno/Michael Natterer.
8754
8755         * gtk/gtktreeview.c (validate_visible_area): scrolling to a dy
8756         which is equal to the lower border of the window means scrolling
8757         to an invisible row, always update the dy when scrolling to an
8758         invisible row, corrected area_above/below calculations for
8759         invisible rows, when walking the tree correct the size
8760         subtracted for invalidated rows, fix wrong logic in comment.
8761
8762 2003-07-11  Matthias Clasen  <maclas@gmx.de>
8763
8764         * gtk/gtkicontheme.c (pixbuf_supports_svg): Use g_strfreev() to free
8765         mime_types.  (#117219, Steve Chaplin)
8766
8767 Tue Jul  8 20:11:04 2003  Owen Taylor  <otaylor@redhat.com>
8768
8769         * gdk/x11/gdkevents-x11.c (get_real_window)
8770         gdk/x11/gdkinput-x11.c (_gdk_input_common_init)
8771         gdk/x11/gdkimage-x11.c (_gdk_windowing_image_init)
8772         gdk/x11/gdkprivate-x11.h (_gdk_windowing_image_init)
8773         Don't assume that all events start with XEventAny - Xkb events
8774         don't! (#105745). So, only do that for core events, and for
8775         non-core events, add a system for registering event types
8776         that start with XEventAny.
8777
8778         * gdk/x11/gdkevents-x11.c (gdk_event_translate):
8779         Check to see if the result of gdk_window_lookup_for_display()
8780         is actually a window.
8781
8782 Fri Jul 11 20:48:14 2003  Kristian Rietveld  <kris@gtk.org>
8783
8784         * gtk/gtktreemodel.c (gtk_tree_path_free): make the path != NULL
8785         check a silent assert, so it follows the g_free() behaviour.
8786
8787 2003-07-11  Matthias Clasen  <maclas@gmx.de>
8788
8789         * gtk/gtkstatusbar.c (gtk_statusbar_init): Center statusbar contents 
8790         vertically.  (#109823, Joe Shaw)
8791
8792 2003-07-11  Morten Welinder  <terra@gnome.org>
8793
8794         * gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixbuf): Fix memory
8795         access error.  (#69436)
8796
8797 Fri Jul 11 14:32:43 2003  Kristian Rietveld  <kris@gtk.org>
8798
8799         Landing GtkTreeModelFilter and the completion code. (Test program
8800         and documentation will follow next week).
8801
8802         * gtk/gtkcellayout.[ch], gtk/gtkentrycompletion.[ch],
8803         gtk/gtktreemodelfilter.[ch], gtk/gtkentryprivate.h: new files.
8804
8805         * gtkentry.[ch]: added gtk_entry_{get,set}_completion, wrote
8806         necessary code to hook up completion.
8807
8808         * gtktreeviewcolumn.c: made GtkTreeViewColumn implement the new
8809         GtkCellLayout interface.
8810
8811         * gtkmarshalers.list: added BOOLEAN:OBJECT,BOXED.
8812
8813         * gtk/gtk.h, gtk/Makefile.am, po/POTFILES.in: all updated for the new
8814         source files.
8815
8816 Wed Jul  9 19:48:26 2003  Kristian Rietveld  <kris@gtk.org>
8817
8818         Merge from stable.
8819
8820         * gdk/gdkdisplay.c (gdk_display_get_window_at_pointer): don't
8821         directly return from ->window_at_pointer, but set win_x and win_y
8822         first if needed. (Fixes #110166, reported by Arno Charlet).
8823
8824         * gdk/gdkwindow.c (gdk_window_get_composite_drawable): change
8825         function to accept GdkDrawables and not just GdkWindows. This was
8826         already done in some other functions a while back, but this patch
8827         got lost for some reason.
8828
8829 2003-07-09  Matthias Clasen  <maclas@gmx.de>
8830
8831         * gtk/gtkcontainer.c (gtk_container_focus_sort_tab): Consider the text
8832         direction when sorting children.  (#116540, Soeren Sandmann)
8833
8834 Tue Jul  8 17:36:21 2003  Owen Taylor  <otaylor@redhat.com>
8835
8836         * gdk/x11/gdkasync.[ch] gdk/gdkdnd-x11.c: 
8837         Change _gdk_x11_send_xevent_async() to 
8838         _gdk_x11_send_client_message_async() avoid using Xlib
8839         internals that are different on Solaris. 
8840         (#116917, Morten Welinder)
8841
8842 2003-07-08  Matthias Clasen  <maclas@gmx.de>
8843
8844         * gtk/gtkcontainer.c (gtk_container_remove): Doc addition.
8845         (#116501, Doug Quale)
8846
8847 Tue Jul  8 21:35:22 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8848
8849         * gtk/gtktoggletoolbutton.h: remove strange #define
8850         * gtk/gtktoolbutton.h: fix cut'n'paste error
8851         * gtk/gtktoolbutton.c (gtk_tool_button_init): use instance
8852         private data
8853         * gtk/gtktoolitem.c (gtk_tool_item_class_init): use instance
8854         private data instead of g_new0()
8855         * gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_init): use
8856         instance private data
8857
8858 Tue Jul  8 21:10:14 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8859
8860         * gtk/gtkbutton.c (gtk_button_realize): remove GDK_EXPOSURE_MASK
8861         for INPUT_ONLY window
8862         * gtk/gtkmenuitem.c (gtk_menu_item_realize): same
8863         * gtk/gtknotebook.c (gtk_notebook_realize): same
8864         * gtk/gtkexpander.c (gtk_expander_realize): same
8865         * gtk/gtkrange.c (gtk_range_realize): same
8866
8867         Fix #116303
8868
8869 Tue Jul  8 19:57:14 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8870
8871         * gtk/gtkstyle.c (gtk_default_draw_arrow): remove correction on x
8872         when detail is "menuitem". With the new menu look is isn't needed
8873         anymore.
8874
8875         * gtk/gtktoolitem.c (gtk_tool_item_toolbar_reconfigured): queue a
8876         resize here, so that tool items will get a chance to relayout
8877         themselves based on the toolbar configuration.
8878
8879         change DEFAULT_SPACE_SIZE to 4 instead of 5
8880
8881         * gtk/gtktoolbar.c 
8882         Get rid of "!GTK_BIN (item)->child means separator". Separators
8883         are widgets in their own right
8884
8885         change DEFAULT_SPACE_SIZE to 4 instead of 5
8886         
8887         (get_space_size): remove this function
8888         (toolbar_item_is_homogeneous): new function
8889
8890         * gtk/gtkseparatortoolitem.c
8891         (gtk_separator_tool_item_size_request): new function.
8892
8893 Tue Jul  8 14:10:35 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8894
8895         * gtk/gtktoggletoolbutton.h: use private data, add new
8896         internal function _gtk_toggle_tool_button_get_button()
8897
8898         * gtk/gtktoolbutton.h: move to private data
8899
8900         * gtk/gtkradiotoolbutton.c, gtk/gtktoolbutton.c: updates for new
8901         private data.
8902
8903 Tue Jul  8 12:50:20 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8904
8905         * gtk/gtktoolbutton.c (gtk_tool_button_get_icon_widget): fix a
8906         type check, (#116947, Krasimir Angelov)
8907
8908         * gtk/gtktoolbar.c: Use new GtkToolItem accessors.
8909         
8910         * gtk/gtktoolitem.[ch]: Use a private struct to hold the instance
8911         data. Not instance private data yet, because of bug 116921.
8912
8913         * gtk/gtktoolitem.h: new accessors:
8914                 gtk_tool_item_get_homogeneous ()
8915                 gtk_tool_item_get_expand ()
8916                 gtk_tool_item_get_pack_end ()
8917                 gtk_tool_item_get_use_drag_window ()
8918
8919 Mon Jul  7 16:50:32 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8920
8921         * gtk/gtkcellrenderertext.c
8922         (gtk_cell_renderer_text_class_init): remove accidentally committed
8923         debugging spew
8924
8925         * gtk/gtktoolbar.c
8926         (gtk_toolbar_paint_space_line): remove this function
8927         (gtk_toolbar_expose): always propagate expose, even if the item is
8928         a separator item
8929
8930         * gtk/gtkseparatortoolitem.c
8931         (gtk_separator_tool_item_expose): moved here from gtktoolbar.c
8932         (get_space_size): new function.
8933         (get_space_style): new function
8934
8935 Sun Jul  6 13:00:20 2003  Owen Taylor  <otaylor@redhat.com>
8936
8937         * gtk/gtkdnd.c (_gtk_drag_source_handle_event)
8938         * gtk/gtkdnd.c (gtk_drag_begin_internal):  Remove use
8939         of GDK_POINTER_MOTION_HINT_MASK.
8940
8941         * gtk/gtkdnd.c (gtk_drag_update_idle): Move updating
8942         of the drag into an idle as a superior form of 
8943         expose compression.
8944
8945         * gtk/gtkdnd.c (gtk_drag_begin_internal): Move default icon
8946         creation here, so that we have an icon at the start
8947         of the drag (e.g., when retrieving the window cache
8948         information.)
8949
8950 Sun Jul  6 17:21:23 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8951
8952         * docs/widget_geometry.txt: better drawing of GtkMenuItem
8953         * docs/widget_geometry.txt: add notes about GtkMenu
8954         * gtk/gtkstyle.c: remove leftover "#include "gtkhandlebox.h""
8955
8956 Sat Jul  5 10:34:00 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
8957
8958         * gtk/gtkmenu.c: add vertical_padding style property.
8959         
8960         * gtk/gtkmenuitem.c: add style properties toggle_spacing,
8961         arrow_spacing and horizontal_padding. Also center separators and
8962         make them a bit taller.
8963
8964         * gtk/*menuitem.c: use new style properties.
8965         
8966         * docs/widget_geometry.txt: Add note about GtkMenuItem
8967
8968         * gtk/gtkstyle.c 
8969         (gtk_default_draw_vline, gtk_default_draw_hline):
8970         fix +/-1 errors. 
8971
8972         (gtk_default_draw_shadow): draw a black border around menus.
8973
8974         * gtk/gtkvseparator, gtk/gtkhseparator.c, gtk/gtkmenuitem.c: fix
8975         calls to gtk_paint_hline() and gtk_paint_vline() (they take x1,
8976         x2 and y1, y2 respectively, not x, width and y, height).
8977
8978 Sat Jul  5 09:55:38 2003  Owen Taylor  <otaylor@redhat.com>
8979
8980         * gdk/x11/gdkdnd-x11.c (precache_target_list): Lookup
8981         all the atoms in the target list at once.
8982
8983         * gdk/x11/gdkdnd-x11.c (gdk_drag_get_protocol_for_display):
8984         Local drag short-circuit.
8985
8986         * gdk/x11/gdkdnd-x11.c (gdk_drag_motion): For the
8987         local case, poke the actions in directly instead of
8988         going through xdnd_set_actions.
8989
8990         * gdk/x11/gdkdnd-x11.c (xdnd_read_actions): Short-circuit
8991         the local case.
8992
8993         * gdk/x11/gdkdnd-x11.c (xdnd_manage_source_filter): Don't
8994         XSelectInput()/add a filter if the drag is local.
8995
8996         * gdk/x11/gdkdnd-x11.c (gdk_drag_get_selection): 
8997         Simplify handling of "XdndSelection".
8998
8999         * gdk/x11/gdkevents-x11.c
9000         (gdk_event_send_client_message_to_all_recurse): Somehow,  
9001         a WM_STATE => _NET_WM_STATE change hand been made here.
9002
9003         * gdk/x11/gdkproperty-x11.c (_gdk_x11_precache_atoms): Free
9004         xatom_names, not atom_names.
9005
9006         * tests/testdnd.c (target_drag_motion): Make the trashcan
9007         open again. (Got lost in deprecation cleanup.)
9008
9009 Sat Jul  5 00:49:32 2003  Owen Taylor  <otaylor@redhat.com>
9010
9011         * gtk/gtkdnd.c (gtk_drag_begin): Move the grabs up
9012         earlier, so we don't get a big pile of uncompressed
9013         motion events before the grab takes effect.
9014
9015         * gtk/gtkdnd.c (gtk_drag_update_icon): Call 
9016         gdk_window_process_all_updates() so that the area
9017         we are dragging over gets a change to redraw.
9018
9019         * gtk/gtkdnd.c (_gtk_drag_dest_handle_event): Use 
9020         gdk_window_get_position(), not gdk_window_get_origin().
9021
9022         * gdk/x11/gdkwindow-x11.[ch] (gdk_window_have_shape_ext)
9023         gdkdisplay-x11.h: use XShapeQueryExtension to 
9024         avoid duplicate XQueryExtension when we actually
9025         use it. Remove unnecessary caching in GdkDisplayX11.
9026
9027 Fri Jul  4 23:49:22 2003  Owen Taylor  <otaylor@redhat.com>
9028
9029         * gdk/x11/gdkasync.[ch] (_gdk_x11_get_window_child_info): 
9030         Function to get a range of information about all the
9031         children of a window in a single pass.
9032
9033         * gdk/x11/gdkdnd-x11.c (get_client_window_at_coords_recurse)
9034         gdk/x11/gdkdnd-x11.c (gdk_window_cache_new): Use
9035         _gdk_x11_get_window_child_info() to greatly reduce
9036         the number of roundtrips.
9037
9038 Fri Jul  4 22:57:18 2003  Owen Taylor  <otaylor@redhat.com>
9039
9040         * gdk/x11/gdkasync.[ch] (_gdk_send_xevent_async): Add
9041         a function to XSendEvent() and call a calback on
9042         failure/success.
9043
9044         * gdk/x11/gdkdnd-x11.c (xdnd_send_xevent): Short-circuit
9045         messages to the same process, use _gdk_send_xevent_async().
9046
9047 Fri Jul  4 22:26:27 2003  Owen Taylor  <otaylor@redhat.com>
9048
9049         * gdk/x11/gdkwindow-x11.[ch] gdkevents-x11.c: Split
9050         toplevel-specific pieces of GdkWindowImplX11 into
9051         a separate GdkToplevelX11 structure.
9052
9053 Fri Jul  4 22:05:09 2003  Owen Taylor  <otaylor@redhat.com>
9054
9055         * gdk/x11/gdkasync.c (struct _SetInputFocusState): Fix
9056         some leftover fields.
9057
9058 Fri Jul  4 15:57:52 2003  Owen Taylor  <otaylor@redhat.com>
9059
9060         * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter):
9061         Use asynchronously _gdk_x11_set_input_focus_safe
9062         to avoid having to trap errors and XSync().
9063
9064         * gdk/x11/gdkwindow-x11.c (gdk_window_focus): Use
9065         _gdk_x11_set_input_focus_safe() here as well.
9066
9067         * gdk/x11/gdkevents-x11.c (gdk_check_wm_state_changed):
9068         Rework handling of property notifies on _NET_WM_STATE
9069         so that we ignore _NET_WM_DESKTOP notifies unless we
9070         really care.
9071
9072         * gdk/x11/gdkimage-x11.c (gdk_image_check_xshm): Use
9073         XShmQueryExtension() rather than XQueryExtension() to
9074         avoid extra rountrip.
9075
9076         * gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_init):
9077         Remove unused call to XGetWindowAttributes()
9078         
9079         * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Remove
9080         unused call to XGetKeyboardControl().
9081
9082         * gdk/x11/gdkdisplay-x11.c gdk/gdk.def (gdk_display_flush):
9083         Add (#99571)
9084
9085         * gdk/win32/gdkevents-win32.c gdk/linux-fb/gdkevents-fb.c 
9086         No-op implementations of gdk_display_flush().
9087
9088         * gdk/gdkwindow.c (gdk_window_process_all_updates): Use
9089         gdk_display_flush() rather than gdk_flush() to avoid
9090         XSync().
9091         
9092         * gdk/x11/gdkwindow-x11.c (update_wm_hints)
9093         gdk/x11/gdkwindow-x11.h: Centralize all handling of WM_HINTS here
9094         so that we don't have to get the property back from the server.
9095
9096         * gdk/x11/gdkwindow-x11.c (show_window_internal): Store
9097         the serial of when we map a toplevel to allow optimizing
9098         out notifies on _NET_WM_STATE/_NET_WM_DESKTOP.
9099
9100         * gdk/x11/gdkevents-x11.c (gdk_event_translate): Don't
9101         XTranslateCoordinates() for override-redirect windows.
9102
9103 Fri Jul  4 15:59:27 2003  Owen Taylor  <otaylor@redhat.com>
9104
9105         * gdk/x11/gdkwindow-x11.c (gdk_window_set_group): Remove comment
9106         about setting window group after the window is mapped from docs
9107         - nothing the ICCCM forbids that.
9108
9109         * gdk/x11/gdkcursor-x11.c (gdk_display_get_maximal_cursor_size):
9110         Fix g_return_val_if_fail() in void return function.
9111
9112         * configure.in: Fix misplaced comma that was resulting
9113         in XShm always being disabled.
9114
9115 Fri Jul  4 19:55:49 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
9116
9117         * tests/stresstest-toolbar: remove this accidentally committed
9118         file.
9119         
9120         * tests/stresstest-toolbar.c: really add this new test
9121
9122 Fri Jul  4 19:06:31 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
9123
9124         * tests/stresstest-toolbar.c: new test for removing items
9125         
9126         * tests/testtoolbar.c: add a popup menu
9127
9128         * gtk/gtkcontainer.c (gtk_container_remove): add hack to avoid
9129           assert widget->parent == container when the container is a
9130           toolbar.
9131
9132         * gtk/gtktoolbar.c (gtk_toolbar_remove_tool_item): Make much
9133         simpler. Also make correct.
9134
9135         * gtk/gtktoolbar.c (gtk_toolbar_button_press): make
9136         popup_context_menu a boolean handled signal.
9137
9138 2003-07-04  Tor Lillqvist  <tml@iki.fi>
9139
9140         * gdk/win32/gdkdrawable-win32.c (gdk_win32_draw_polygon,
9141         gdk_win32_draw_segments, gdk_win32_draw_lines): We can calculate
9142         the width and height of the bounding rectangle only after the
9143         minumum x and y have been found, and need a separate loop for
9144         it. Thanks to Bruce Hochstetler for providing a sample program
9145         exhibiting the bug.
9146
9147 2003-07-03  Tor Lillqvist  <tml@iki.fi>
9148
9149         * gdk/gdk.def: Add gdk_string_to_compound_text_for_display.
9150         (#116537, Peter Zelezny)
9151
9152 Thu Jul  3 03:13:20 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
9153
9154         * gtk/gtkpaned.c (gtk_paned_set_child_property): Insert cast to
9155         fix warning. Assign something to old_value to quiet gcc
9156
9157         * gtk/gtkcalendar.c 
9158         (start_spinning): gtk_timeout_add->g_timeout_add
9159
9160         * gtk/gtkicontheme.c 
9161         (theme_lookup_icon): Make it compile (remove double semicolon)
9162
9163         * gtk/gtktoolbutton.c
9164         (gtk_tool_button_class_init): Long comment about properties.
9165         (gtk_tool_button_class_init): Improve text for "use_underline"
9166         property
9167         (gtk_tool_button_create_menu_proxy): Fix up to use_mnemonic based
9168         on whether the passed-in label has use_mnemonic set
9169         (gtk_tool_button_create_menu_proxy): Split image cloning out in
9170         new function. Make that function also handle image with pixbuf
9171         storage.
9172         (gtk_tool_button_construct_contents): Use gtk_widget_destroy()
9173         instead of gtk_container_remove().
9174         (gtk_tool_button_construct_contents): Fix eliding bug
9175
9176         * gtk/gtktoolbar.c
9177         (gtk_toolbar_finalize): New function. Unref tooltips, pointed out
9178         by Morten Welinder
9179         (gtk_toolbar_button_press): Make popup_context_menu signal provide
9180         coordinates and button number
9181
9182         * tests/testtoolbar.c (main): Add new pixbuf toolbutton
9183
9184         * tests/apple-red.png: new file
9185
9186 Wed Jul  2 18:00:56 2003  Owen Taylor  <otaylor@redhat.com>
9187          
9188         * gtk/gtkicontheme.[ch]: Implement a loader for
9189         named themed icon based on from gnome-desktop library
9190         by Alex Larsson.
9191
9192         * gtk/gtkiconthemeparser.[ch]: .ini file parsing code
9193         from gnome-desktop.
9194
9195         * gtk/gtkiconfactory.[ch]: Add
9196         gtk_icon_source_set/get_icon_name() to allow stock icons
9197         to be based off of named theme icons.
9198
9199         * gtk/gtkiconfactory.c: Rework sources so that the source
9200         is *either* a pixbuf, or a filename, or an icon name,
9201         instead of the pixbuf/filename mix it was before. Put a
9202         workaround for get_pixbuf() so that it can return the
9203         filename pixbuf, e.g, for render_icon().
9204
9205         * gtk/gtkiconfactory.c: Make the default setup use
9206         themed icons, and add builtin icons to the default
9207         icon theme for all the standard pixbufs, so we
9208         don't rely on actually having an icon theme on disk.
9209
9210         * gtk/gtkrc.c: Add support for @"icon-name" to specify
9211         a themed icon for a stock icon source.
9212
9213         * tests/Makefile.am test/testicontheme.c: Add a test
9214         program from gnome-desktop.
9215
9216         * gdk/x11/gdkevents-x11.c gtk/gtksettings.c: Add
9217         Net/IconThemeName / gtk-icon-theme-name setting.
9218
9219         * gtk/gtkiconfactory.c (ensure_cache_up_to_date): Actually
9220         update the icon cache serial so we don't continually
9221         think we are out-of-date.
9222
9223         * gtk/gtkwidget.c: Fix a couple of references in doc comments 
9224         to ::direction_set that should have been to ::direction-changed
9225
9226 Wed Jul  2 14:45:41 2003  Owen Taylor  <otaylor@redhat.com>
9227
9228         * gtk/gtktoolbar.c (gtk_toolbar_realize): Attach the
9229         style to the widget.
9230
9231 Wed Jul  2 15:42:26 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
9232
9233         * gtk/gtk.h: Add new toolbar headers
9234
9235         * tests/testtoolbar.c: new file
9236
9237         * tests/Makefile.am (noinst_PROGRAMS): Add testtoolbar.c
9238
9239         * gtk/gtkexpander.c (gtk_expander_class_init): Make it compile
9240
9241 Tue Jul  1 22:49:25 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
9242
9243         * gtk/gtktoolbar.c:
9244         (gtk_toolbar_remove_tool_item): Fix bug where list is changed
9245         inside a for loop (pointed out by Morten Welinder).
9246         (gtk_toolbar_focus_home_or_end): Minor formatting change
9247
9248         Comments from Owen:
9249
9250         * gtk/gtktoolbutton.c: remove copy of elide_underscores(). Use
9251         gtk_toolbar_elide_underscores instead.
9252
9253         * gtk/gtktoolbar.c: rename signal from focus_ends to
9254         focus_home_or_end.
9255         (_gtk_toolbar_elide_underscores): export this as an internal
9256         function.
9257         (gtk_toolbar_move_focus): add comment explaining difference to
9258         gtk_toolbar_focus();
9259         (gtk_toolbar_list_children_in_focus_order): Make TAB_FORWARD and
9260         TAB_BACKWARD focus the right widgets in RTL mode
9261
9262         * gtk/gtktoolbutton.c (gtk_tool_button_new): Change to take
9263         "label" and "icon" parameters
9264
9265         * gtk/gtktoolbutton.[ch]: remove icon_set property.
9266
9267 2003-07-01  Matthias Clasen  <maclas@gmx.de>
9268
9269         * gtk/gtkspinbutton.c (gtk_spin_button_set_digits): Improve docs.
9270         (116364, Morten Welinder) 
9271
9272         * tests/testgtk.c: Use GtkFontButton and GtkColorButton to bring up the
9273         corresponding dialogs.
9274
9275         * gtk/Makefile.am (gtk_public_h_sources): Add gtkfontbutton.h,
9276         gtkcolorbutton.h.  
9277         (gtk_c_sources): Add gtkfontbutton.c, gtkcolorbutton.c. 
9278
9279         * gtk/gtkfontbutton.[hc]: New files containing a font picker widget. 
9280
9281         * gtk/gtkcolorbutton.[hc]: New files containing a color picker widget. 
9282
9283         * gtk/gtk.h: Include gtkexpander.h, gtkfontbutton.h, gtkcolorbutton.h.
9284
9285         * gtk/gtkexpander.c: Small additions to the docs. 
9286
9287 2003-07-01  Tor Lillqvist  <tml@iki.fi>
9288
9289         * gdk/win32/gdkwindow-win32.c (_gdk_windowing_window_get_pointer):
9290         WindowFromPoint() wants screen coordinates (#115422, Tim Evans).
9291
9292 2003-07-01  Matthias Clasen  <maclas@gmx.de>
9293
9294         * configure.in: Check for Xcursor.
9295         
9296         * gdk/x11/gdkcursor-x11.c:
9297         * gdk/gdkdisplay.h: 
9298         * gdk/gdkcursor.h: RGBA cursor support based on Xcursor. New functions:
9299         gdk_cursor_new_from_pixbuf(), gdk_display_supports_cursor_alpha(), 
9300         gdk_display_supports_cursor_color(),
9301         gdk_display_get_default_cursor_size() and 
9302         gdk_display_get_maximal_cursor_size().  (#69436)
9303
9304 2003-06-30  Tor Lillqvist  <tml@iki.fi>
9305
9306         * gdk/win32/gdkdnd-win32.c (find_window_enum_proc): New function,
9307         callback proc for EnumWindows().
9308         (gdk_drag_find_window_for_screen): Actually take the drag_window
9309         argument into account: Instead of using WindowFromPoint(), use
9310         EnumWindows(), to be able to skip the drag_window. (#116320, Tony
9311         M Brown, Herman Bloggs)
9312
9313         * gdk/win32/*.c: Replace gdk_drawable_ref()/unref() and
9314         gdk_window_ref()/unref() calls with g_object_ref()/unref().
9315         Consistently use %p format in debugging output of pointers and
9316         HANDLEs.
9317
9318 2003-06-30  Mark McLoughlin  <mark@skynet.ie>
9319
9320         * gtk/gtkexpander.h: kill some stray characters
9321         breaking the build.
9322
9323 2003-06-30  Mark McLoughlin  <mark@skynet.ie>
9324
9325         Add GtkExpander. See discussion in bug #60553.
9326
9327         * gtk/gtkexpander.[ch]: add.
9328         
9329         * gtk/Makefile.am: build gtk-expander.[ch].
9330         
9331         * docs/widget_geometry.txt: add info on the layout
9332         of GtkExpander.
9333
9334 Mon Jun 30 01:20:19 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
9335
9336         * gtkradiotoolbutton.c:         new file
9337         * gtkradiotoolbutton.h:            "
9338         * gtktoggletoolbutton.c:           "
9339         * gtktoggletoolbutton.h:           "
9340         * gtktoolbutton.c:                 "
9341         * gtktoolbutton.h:                 "
9342         * gtktoolitem.c:                   "
9343         * gtktoolitem.h:                   "
9344         * gtktoolbar.c: many changes
9345         * gtktoolbar.h: many changes
9346         * gtkseparatortoolitem.c:       new file
9347         * gtkseparatortoolitem.h           "
9348
9349         New toolbar.
9350         
9351         - Items on a toolbar are now separate widgets, instances of a
9352           subclass of GtkToolItem.
9353
9354         - Items there aren't room for on the toolbar are unmapped, and an
9355           overflow menu with a proxy menu item is added instead.
9356
9357         - The toolbar is keyboard navigatable. Press TAB to focus the
9358           first item, then use arrow keys and Ctrl TAB to move around the
9359           toolbar. TAB moves focus out of the toolbar.
9360
9361         - Bascially all of the old toolbar API is deprecated in favor of
9362           new API in gtktoolbar.h, gtktoolitem.h, gtktoolbutton.h
9363
9364         - The toolbar is backwards compatible with the old toolbar.
9365
9366 2003-06-29  Matthias Clasen  <maclas@gmx.de>
9367
9368         * gtk/gtkwidget.c (gtk_widget_class_init): Remove a duplicate parameter
9369         from docs, some more formatting fixes. 
9370
9371 2003-06-28  Tor Lillqvist  <tml@iki.fi>
9372
9373         Fix for #111028, thanks to J. Ali Harlow, who writes:
9374         I found that the GdkPixmap->GdkImage reference really isn't
9375         important. It's only really there to have somewhere convenient to
9376         store the location of the pixel data in the pixmap and as an easy
9377         way of accessing the dimensions of that data. I have therefore put
9378         together a fix which removes this reference entirely which seems
9379         to solve the problem.
9380
9381         * gdk/win32/gdkpixmap-win32.h (struct _GdkPixmapImplWin32):
9382         Instead of a pointer to a GdkImage, keep a pointer to the pixels
9383         directly.
9384
9385         * gdk/win32/gdkimage-win32.c (_gdk_win32_setup_pixmap_image): Remove.
9386         (_gdk_win32_new_image): New function, replacing the above. Creates
9387         a GdkImage without any associated GdkPixmap.
9388         (gdk_image_new_bitmap, _gdk_image_new_for_depth): Use it instead.
9389
9390         * gdk/win32/gdkprivate-win32.h: Remove from here, too.
9391
9392         * gdk/win32/gdkcursor-win32.c (gdk_cursor_new_from_pixmap)
9393         * gdk/win32/gdkdrawable-win32.c (blit_from_pixmap)
9394         * gdk/win32/gdkgc-win32.c (_gdk_win32_bitmap_to_hrgn)
9395         * gdk/win32/gdkmain-win32.c (_gdk_win32_drawable_description):
9396         * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_impl_win32_finalize,
9397         gdk_pixmap_new, gdk_bitmap_create_from_data, gdk_pixmap_foreign_new)
9398         Corresponding changes.
9399
9400 Thu Jun 26 21:41:16 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
9401
9402         * gtk/gtktreeviewcolumn.c
9403         (gtk_tree_view_column_cell_set_cell_data): only set "is_expander"
9404         and "is_expanded" if the new value is different fromt he old one.
9405
9406 Wed Jun 25 18:59:15 BST 2003  Tony Gale <gale@gtk.org>
9407
9408         * docs/faq/gtk-faq.sgml: Fix typos. Update
9409         thread example I missed yesterday.
9410
9411 2003-06-24  Matthias Clasen  <maclas@gmx.de>
9412
9413         * gtk/gtkspinbutton.c (gtk_spin_button_class_init): Add a blurb for
9414         shadow_type. 
9415
9416         * gtk/gtkwidget.c (gtk_widget_class_install_style_property_parser): 
9417         (gtk_widget_class_list_style_properties): Use same parameter names as in  
9418         header (to silence gtk-doc).
9419
9420         * gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Fix doc comments.
9421
9422 Tue Jun 24 20:00:45 BST 2003  Tony Gale <gale@gtk.org>
9423
9424         * docs/faq/gtk-faq.sgml: Thread support updates
9425         from Owen. Various suggestions from Steve Chaplin.
9426
9427 2003-03-24  Mohammad DAMT  <mdamt@bisnisweb.com>
9428
9429         * po/id.po: Updated Indonesian translation
9430
9431 2003-06-21  Tor Lillqvist  <tml@iki.fi>
9432
9433         * gdk/win32/gdkevents-win32.c (gdk_event_translate): When
9434         emulating X11's automatic grab on button down, pass owner_events
9435         as FALSE. According to the XLib spec, automatic grabs use True for
9436         owner_events when OwnerGrabButtonMask is selected, and I don't see
9437         the X11 backend doing that. (#82497, #91619, #92835, #107322, #110271)
9438         (find_window_for_pointer_event): Improve debugging output.
9439
9440 2003-06-17  Tor Lillqvist  <tml@iki.fi>
9441
9442         * gtk-zip.sh.in (DLLDIR): Look for DLLs also in the bin
9443         subdirectory, where libtool 1.5 installs them.
9444
9445         * README.win32: Point to FSF's binary Win32 distribution of
9446         gettext-runtime.
9447
9448 2003-06-17  Matthias Clasen  <maclas@gmx.de>
9449
9450         * acinclude.m4 (JH_PATH_XML_CATALOG, JH_CHECK_XML_CATALOG): New
9451         macros to check for XML catalog contents and path, borrowed from
9452         gtk-doc. 
9453         * configure.in: New option --enable-man to enable regeneration of
9454         man pages from Docbook, if the necessary tools are found.
9455
9456 2003-06-15  Matthias Clasen  <maclas@gmx.de>
9457
9458         * gtk/gtkcalendar.c (gtk_calendar_class_init): 
9459         * gtk/gtknotebook.c (gtk_notebook_class_init): 
9460         * gtk/gtkalignment.c (gtk_alignment_class_init): 
9461         * gtk/gtkpaned.c (gtk_paned_class_init): Document new properties
9462         as 2.4 additions.
9463
9464         * gtk/gtkwidget.c (gtk_widget_class_init): Move inline signal docs 
9465         to the proper place, immediately before the g_signal_new() call.
9466
9467         * gtk/gtktextiter.h: Make the flags-nature of GtkTextSearchFlags 
9468         more obvious.  (#115122, Jeff Franks)
9469
9470 2003-06-12  Anders Carlsson  <andersca@codefactory.se>
9471
9472         * gtk/gtkwidget.c: (event_window_is_still_viewable):
9473         Special case pixmaps. (#114880)
9474         
9475 2003-06-12  Matthias Clasen  <maclas@gmx.de>
9476
9477         * gtk/gtkwidget.c: Document child-notify and drag-data-received
9478         signals. Owen, we need to figure out where the best place for
9479         these comments in the source is. I currently put them in front of
9480         the signals enum.
9481
9482 2003-06-11  Matthias Clasen  <maclas@gmx.de>
9483
9484         * gtk/gtkdnd.c (gtk_drag_check_threshold): s/threshhold/threshold/.
9485
9486 Thu Jan 12 01:01:19 2003  Kristian Rietveld  <kris@gtk.org>
9487
9488         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
9489         silly typo fix. s/seperator/separator/. This gets rid of the
9490         assert spam when using TreeView.
9491
9492 Tue Jun 10 11:23:48 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
9493
9494         * modules/input/gtkimcontextxim.c (xim_instantiate_callback): New
9495         function for XIM instantiate callback.
9496         * modules/input/gtkimcontextxim.c (xim_info_try_im): New function
9497         where call to XOpenIM() or XRegisterIMInstantiateCallback() is
9498         actually made.
9499         * modules/input/gtkimcontextxim.c (xim_destroy_callback): New function
9500         for XIM's destroy callback.
9501         * modules/input/gtkimcontextxim.c (get_im): add a check if info->im 
9502         is set or not - if it's not set, call xim_info_try_im() to try to
9503         initiaize it.
9504         * modules/input/gtkimcontextxim.c (reinitialize_ic): reset
9505         filter_key_release flag of the context.
9506         * modules/input/gtkimcontextxim.c (get_ic_real): removed
9507         * modules/input/gtkimcontextxim.c (gtk_im_context_xim_get_ic): move
9508         code from the removed get_ic_real().
9509
9510         For XIM instantiation, destruction and re-instantiation. With
9511         this, Gtk+ apps will be able to connect or reconnect to the XIM,
9512         when it starts after the apps, or when the XIM gets lost and recover.
9513         (#113099, #107782).
9514
9515 Mon Jun 10 01:12:31 2003  Kristian Rietveld  <kris@gtk.org>
9516
9517         Merged from stable.
9518
9519         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_get_size):
9520         check if width is !null, not *width. Doh.
9521
9522 Tue Jun 10 01:09:33 2003  Kristian Rietveld  <kris@gtk.org>
9523
9524         Merged from stable.
9525
9526         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
9527         Remove the weird dx logic, get all cell_area and background_area
9528         calculations right. Not sure what was up with it before. (Fixes
9529         #110989, testcase from Vasco Alexandre da Silva Costa).
9530
9531 Tue Jun 10 00:58:23 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
9532
9533         * tests/testgtk.c: Make it compile with C89 compilers
9534
9535 2003-06-10  Matthias Clasen  <maclas@gmx.de>
9536
9537         * gtk/gtktextview.c (gtk_text_view_class_init): Install boolean
9538         property "overwrite".
9539         (gtk_text_view_[gs]et_property): Handle "overwrite".
9540         * gtk/gtktextview.[hc] (gtk_text_view_[gs]et_overwrite): Getter
9541         and setter for "overwrite" property.  (#110241, Jeroen Zwartepoorte)
9542
9543 2003-06-09  Matthias Clasen  <maclas@gmx.de>
9544
9545         * gtk/gtkpaned.c (gtk_paned_class_init): Install boolean child
9546         properties "resize" and "shrink".
9547         (gtk_paned_[gs]et_child_property): Implementations of 
9548         GtkContainer::[gs]et_child_property.  
9549         * tests/testgtk.c (toggle_resize, toggle_shrink): Use the new
9550         paned child properties instead of remove/add hacks.  (#114667, 
9551         Soeren Sandmann) 
9552
9553 Mon Jun  9 16:18:11 2003  Owen Taylor  <otaylor@redhat.com>
9554
9555         * gtk/gtknotebook.c (gtk_notebook_button_press): Back
9556         out event->window test - it wasn't needed because
9557         of the call to get_widget_coordinates().
9558
9559         * gtk/gtknotebook.c (gtk_notebook_button_press): Remove
9560         call to gtk_widget_grab_focus() when not clicking on
9561         any tabs. (Real fix for #114534)
9562
9563 Sun Jun  8 22:03:09 2003  Owen Taylor  <otaylor@redhat.com>
9564
9565         * tests/testdnd.c: Use application/x-rootwindow-drop for
9566         root window drops. (#108670, Alex Larsson)
9567
9568         * gdk/x11/gdkdnd-x11.c (gdk_drag_motion) gtk/gtkdnd.c (gtk_drag_drop): 
9569         Accept either application/x-rootwin-drop (what GTK+ has always used)
9570         or application/x-rootwindow-drop (what the XDND standard specifies).
9571
9572 Fri Jun  6 11:07:33 2003  Owen Taylor  <otaylor@redhat.com>
9573
9574         * gtk/gtkwidget.c (event_window_still_viewable): 
9575         Before delivering an event to a widget, check that
9576         (if relevant), the event's window is still viewable.
9577         (#105642, Dennis Björklund)
9578
9579         * gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): 
9580         NULL out private->parent, since after destruction
9581         it might not be valid any more.
9582
9583         * gdk/gdkwindow.c (gdk_window_is_viewable): Fix some
9584         accesses before g_return_val_if_fail(). Treat 
9585         DESTROYED windows as unmapped.
9586
9587 Thu Jun  5 09:28:03 2003  Owen Taylor  <otaylor@redhat.com>
9588
9589         * gtk/gtkentry.c: Recompute unconditionally in
9590         gtk_entry_style_set, and in a new gtk_label_screen_changed().
9591         Protect the guts of recompute_idle_func() with
9592         gtk_widget_has_screen(). (#114040, Morten Welinder) 
9593         Fix FALSE/0 confusion.
9594         
9595 Sun Jun  8 18:27:14 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
9596
9597         * gdk/gdkpixbuf-drawable.c (G8fromRGB565): swap G and B.
9598         Fixes (#114669)
9599
9600 Sun Jun  8 11:27:29 2003  Owen Taylor  <otaylor@redhat.com>
9601
9602         * gtk/gtkviewport.c (viewport_set_adjustment): Fix bug with 
9603         set_adjustment (viewport, NULL);
9604
9605 2003-06-07  Matthias Clasen  <maclas@gmx.de>
9606
9607         * gtk/gtkiconfactory.c (get_default_icons): 
9608         * gtk/stock-icons/stock_{undo,redo,undelete,revert}_rtl_{16,24}.png:
9609         * gtk/stock-icons/Makefile.am: Add rtl variants of undo, redo,
9610         undelete and revert.  (#96633)
9611         
9612 Fri Jun  6 16:25:44 2003  Owen Taylor  <otaylor@redhat.com>
9613
9614         * gtk/gtkviewport.c: Many fixes, along with extensive cleanups and 
9615         refactoring of code to reduce duplication; fixes include:
9616
9617         - gtk_viewport_realize(): Position the window correct from adjustment 
9618         values. (#110737, Michael Natterer)
9619
9620         - Remove some division-by-zero checks in places where there is no 
9621         longer division. (#110737)
9622
9623         - gtk_viewport_class_init: Make the hadjustment/vadjustment properties 
9624         G_PARAM_CONSTRUCT, so that there will always be adjustments, even 
9625         if gtk_viewport_new isn't used (#101135, Thomas Leonard).
9626
9627         - Switch over to encapsulated lazy-creation for hadjustment/
9628         vadjustment; even with the CONSTRUCT property, we need this after
9629         destroy.
9630
9631         - When updating the adjustment, immediate set their values to
9632         match the the current range of the viewport, and update the 
9633         viewport position to match the value of the new adjustments. 
9634         (Part of #1165)
9635
9636 2003-06-06  Tor Lillqvist  <tml@iki.fi>
9637
9638         * gdk/win32/gdkprivate-win32.h: Fix typo.
9639
9640         * gdk/win32/gdkgc-win32.c (_gdk_win32_gc_new): Set
9641         graphics_exposures and subwindow_mode, too, even if they aren't
9642         currently used.
9643
9644 Fri Jun  6 23:38:23 2003  Kristian Rietveld  <kris@gtk.org>
9645
9646         Merged from stable.
9647
9648         * gtk/gtktreeview.c (do_expand_collapse),
9649         (expand_collapse_timeout), (cancel_arrow_animation): made
9650         expand_collapse_timeout a wrapper with locks around     
9651         do_expand_collapse, made cancel_arrow_animation use
9652         do_expand_collapse. Fixes threadlock. (Fixes #111286, patch from
9653         Peter Bloomfield).
9654
9655 Fri Jun  6 11:05:45 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
9656
9657         * modules/input/gtkimcontextxim.h (struct _GtkIMContextXIM):
9658         * modules/input/gtkimcontextxim.c (preedit_start_callback,
9659         preedit_draw_callback, preedit_done_callback): Add a 'finalizing' flag 
9660         to keep preedit-[start,changed,end] signals from being called during
9661         finalization (#111861).
9662
9663 2003-06-05  Noah Levitt  <nlevitt@columbia.edu>
9664
9665         * gtk/gtknotebook.c (gtk_notebook_button_press): Ignore button
9666         presses that are not on the tab (#114534).
9667
9668 Thu Jun  5 20:35:40 2003  Owen Taylor  <otaylor@redhat.com>
9669
9670         * demos/Makefile.am: Conditionalize dependencies for
9671         gdk-pixbuf-csource on cross-compilation (#112391, J. Ali Harlow). 
9672         Buildtest-inline-pixbufs.h in srcdir. Don't try to build 
9673         test-inline-pixbufs.h if we don't have libpng.
9674
9675         * gtk/stock-icons/Makefile.am (gtkstockpixbufs.h): 
9676         Add a dependency on gdk-pixbuf.loaders when not 
9677         cross-compiling, remove the dependency on gdk-pixbuf-csource
9678         when not cross compiling.
9679
9680 Thu Jun  5 20:12:51 2003  Owen Taylor  <otaylor@redhat.com>
9681
9682         * gtk/gtkwindow.c (gtk_window_get_default_size): Handle
9683         gtk_window_get_geometry_info() returning NULL.
9684         (#107311, John Finlay)
9685
9686 Thu Jun  5 19:24:33 2003  Owen Taylor  <otaylor@redhat.com>
9687
9688         * gtk/gtktoolbar.c (gtk_toolbar_expose): Subtract off
9689         twice the border width from the width/height, not
9690         1x the border width. (#106336, Rodney Dawes)
9691
9692 Thu Jun  5 15:33:38 2003  Owen Taylor  <otaylor@redhat.com>
9693  
9694         * gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_next_line):
9695         If at the end of the buffer, move to the end iter -
9696         parallels behavior of move_iter_to_previous_line.
9697         (#81960, Padraig O'Briain)
9698  
9699 Thu Jun  5 16:12:54 2003  Owen Taylor  <otaylor@redhat.com>
9700
9701         #80023, Yao Zhang, TOKUNAGA Hiroyuki
9702
9703         * gtk/gtktextlayout.c (gtk_text_layout_get_cursor_locations):
9704         Account for the preedit cursor offset if the iter passed
9705         in is at the same place as the insertion cursor.
9706
9707         * gtk/gtktextview.c (gtk_text_view_get_cursor_location):
9708         Encapsulate getting the insertion cursor location.
9709
9710         * gtk/gtktextview.c (gtk_text_view_update_im_spot_location):
9711         Pass the real y/height to the IM context. Take 
9712         text_view->x/yoffset into account.
9713
9714 Thu Jun  5 16:52:54 2003  Owen Taylor  <otaylor@redhat.com>
9715
9716         * gtk/gtktextview.[ch]: Never scroll on focus in
9717         (#81893, Patch from Paolo Maggi)
9718
9719         * gtk/gtktextview.c (gtk_text_view_scroll_[h]pages): 
9720         Scroll to the current cursor location before handling
9721         the action, in case the user just tabbed in
9722         and the cursor is offscreen.
9723
9724 Thu Jun  5 17:20:40 2003  Owen Taylor  <otaylor@redhat.com>
9725          
9726          #107883, Gustavo Giráldez
9727
9728         * gtk/gtktextlayout.c (gtk_text_layout_emit_changed):
9729         Split out the case where we know we changed, and 
9730         already dealt with our cached line being invalidated
9731         from external calls to gtk_text_layout_changed.
9732
9733         * gtk/gtktextlayout.c (gtk_text_layout_changed):
9734         Check if the invalidate yrange intersects our
9735         cached line, and clear it if necessary.
9736
9737 2003-06-05  Tor Lillqvist  <tml@iki.fi>
9738
9739         * gdk/win32/gdkevents-win32.c (gdk_event_translate): Handle global
9740         filters.
9741
9742 2003-06-05  Matthias Clasen  <maclas@gmx.de>
9743
9744         * gtk/gtktextview.c: Fix for #84668, reported by Torbjrn Andersson:
9745         (gtk_text_view_grab_notify): 
9746         (gtk_text_view_state_changed): Implement these
9747         to unobscure cursor when grab shadowed or insensitised.
9748         (gtk_text_view_unobscure_mouse_cursor): New function to undo the
9749         effect of gtk_text_view_obscure_mouse_cursor(). Code lifted from
9750         gtk_text_view_motion_event().
9751         (gtk_text_view_motion_event): Use gtk_text_view_obscure_mouse_cursor().
9752
9753         * gtk/gtktextview.c (select_all): New keybinding signal for
9754         (un)selecting the whole buffer. Bound to C-a/C-\.  (see #107889)
9755
9756         * gtk/gtkcalendar.c (calendar_timer): 
9757         (stop_spinning): Replace deprecated gtk_timeout_* functions by
9758         their GLib counterparts.  (#114429)
9759
9760         * gtk/gtktreestore.c (gtk_tree_store_new): 
9761         * gtk/gtkliststore.c (gtk_list_store_new): Document restriction on 
9762         types.
9763
9764 Wed Jun  4 19:42:17 2003  Owen Taylor  <otaylor@redhat.com>
9765
9766         * gdk/gdkpango.c (gdk_draw_layout_line_with_colors):
9767         When drawing underlines, join up adjacent runs
9768         where possible, so we don't get changes in 
9769         shaper/font/etc. breaking underlines. (#103662,
9770         Kang Jeong-Hee)
9771
9772 Wed Jun  4 19:22:58 2003  Jonathan Blandford  <jrb@redhat.com>
9773
9774         * gtk/gtktreemodelsort.c (gtk_tree_model_sort_level_find_insert):
9775         Slightly modified patch from Owen Taylor <otaylor@redhat.com> to
9776         improve the speed of inserting rows into an already sorted list,
9777         #109292
9778
9779 Wed Jun  4 19:24:28 2003  Owen Taylor  <otaylor@redhat.com>
9780
9781         * gdk/x11/gdkgc-x11.c gdk/x11/gdkprivate-x11.h: Keep
9782         track of when we have a clip mask set for the GC,
9783         and when we unset it, or switch to a clip region,
9784         immediately call XSetClipMask (..., None) to avoid
9785         Xlib caching stale data. (#111806)
9786
9787         * gtk/gtktextdisplay.c: Don't set a clip mask
9788         when drawing alpha pixmaps; it isn't necessary any more.
9789         (#111806)
9790
9791 Wed Jun  4 18:27:44 2003  Owen Taylor  <otaylor@redhat.com>
9792
9793         * gtk/gtkcheckbutton.c (gtk_real_check_button_draw_indicator): 
9794         gtk/gtkradiobutton.c (gtk_radio_button_draw_indicator): 
9795         Use GTK_WIDGET_IS_SENSITIVE(), not GTK_WIDGET_SENSITIVE
9796         (#92548, Tim Evans)
9797
9798         * gtk/gtkcheckmenuitem.c (gtk_real_check_menu_item_draw_indicator)
9799         gtk/gtkradiomenuitem.c (gtk_radio_menu_item_draw_indicator): If
9800         Use state_type = STATE_INSENSITIVE for insensitive menu items.
9801
9802 Wed Jun  4 21:25:35 2003  Kristian Rietveld  <kris@gtk.org>
9803
9804         Merged from stable.
9805
9806         * gtk/gtktreeview.c (gtk_tree_view_drag_begin): use a silent
9807         assert for get_info. (reported by Michael Natterer),
9808         (gtk_tree_view_expand_all_emission_helper),
9809         (gtk_tree_view_expand_all_helper): emit row_expanded for all
9810         expanded rows during an _expand_all operation. (Fixes #111280,
9811         reported by Benjamin Bayart).
9812
9813 Tue Jun  3 18:32:30 2003  Owen Taylor  <otaylor@redhat.com>
9814
9815         * gdk/x11/gdkevents-x11.c (gdk_wm_protocols_filter): Don't
9816         respond to pings on a root window; prevents infinite
9817         loops if we are selecting for SubstructureNotify on the
9818         root window. (#111945, Sergey V. Udaltsov)
9819
9820 Tue Jun  3 17:39:16 2003  Owen Taylor  <otaylor@redhat.com>
9821
9822         #71597, reported by Morten Welinder
9823
9824         * gdk/gdkpixbuf-drawable.c (rgb888amsb): Fix and simplify
9825         (Patch from Christian Petig)
9826
9827         * gdk/gdkpixbuf-drawable.c (rgb{555,565}{a,}{msb,lsb}):
9828         Major rewrite of 555 and 565 conversion routines:
9829
9830         - Move all the bit shifting into a small block of macros,
9831           eliminating much duplication of complicated arithmetic.
9832         - Get rid of 2-pixels at a time code, which was buggy,
9833           hard to maintain, caused unaligned accesses, and
9834           probably didn't actually perform any better.
9835         - Simplify cases where different data types were
9836           used for the little and big endian cases, use
9837           GUINT16_SWAP_LE_BE() where appropriate.
9838                 
9839 Tue Jun  3 15:05:47 2003  Owen Taylor  <otaylor@redhat.com>
9840
9841         * gdk/x11/gdkdrawable-x11.c (convert_to_format): Remove
9842         bad optimization for src_rowstride == dest_stride.
9843         (Didn't consider the case where we were copying only
9844         partial widths of a wider source buffer)
9845         (#113034, reported by Hans Petter Jansson)
9846
9847 2003-06-03  Michael Natterer  <mitch@gimp.org>
9848
9849         * gdk/x11/gdkinput-x11.c (_gdk_input_common_find_events):
9850         reenabled button_release events for xinput devices. (#113948)
9851
9852 2003-06-03  Christian Rose  <menthos@menthos.com>
9853
9854         * configure.in: Added "li" to ALL_LINGUAS.
9855
9856 Mon Jun  2 18:58:54 2003  Owen Taylor  <otaylor@redhat.com>
9857
9858         * gtk/gtknotebook.c (gtk_notebook_size_allocate): Don't
9859         map the event window if the notebook isn't mapped. (#113980,
9860         Richard Reich)
9861
9862 2003-06-02  Sven Neumann  <sven@gimp.org>
9863
9864         * gtk/gtkprogress.c (gtk_progress_changed): added a missing cast.
9865
9866         * gdk/gdkrgb.c (gdk_rgb_try_colormap): removed an unused variable.
9867
9868 2003-06-01  Matthias Clasen  <maclas@gmx.de>
9869
9870         * gtk/gtkalignment.c (gtk_alignment_[gs]et_padding): Add 
9871         Since: 2.4 to the docs.
9872
9873         * gtk/gtkwindow.c (gtk_window_parse_geometry): Add some hints and
9874         an example to the docs.  (#98427)
9875
9876 2003-05-30  Murray Cumming  <murrayc@usa.net>
9877
9878         * gtk/gtkalignment.[h|c]: Added 4-sided padding as properties with
9879         gtk_alignment_get_padding() and gtk_aligment_set_padding(). This
9880         uses the new private data system - see g_type_class_add_private() in
9881         gtk_alignment_class_init() and the use of GTK_ALIGNMENT_GET_PRIVATE().
9882
9883 2003-05-30  Matthias Clasen  <maclas@gmx.de>
9884         
9885         * gtk/gtknotebook.c: Changed guint to GtkNotebookArrow in the
9886         signature of gtk_notebook_draw_arrow() for Solaris builds to go
9887         through.  (#114043, Anand Subramanian)
9888
9889 Thu May 29 18:30:35 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
9890
9891         * modules/input/imipa.c: 
9892         use GETTEXT_PACKAGE to get a translation for "ipa"(#113850).
9893
9894 Thu May 29 18:08:01 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
9895
9896         * gtk/gtkimmodule.c (_gtk_im_module_list):
9897         use GETTEXT_PACKAGE to get a translation for "Default"(#113850).
9898
9899 Thu May 29 09:34:05 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
9900
9901         * gtk/gtkimmodule.c (_gtk_im_module_list): make "Default"
9902         label of default input method localizable.
9903         * gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems): 
9904         use translations of input method context names
9905         * modules/input/imam-et.c, modules/input/imcyrillic-translit.c,
9906           modules/input/iminuktitut.c, modules/input/imthai-broken.c,
9907           modules/input/imti-er.c, modules/input/imti-et.c
9908           modules/input/imviqr.c, modules/input/imxim.c
9909         use GETTEXT_PACKAGE instead of "gtk+" for domain name.
9910         (#113850).
9911
9912 Thu May 29 18:23:01 2003  Kristian Rietveld  <kris@gtk.org>
9913
9914         Merged from stable.
9915
9916         * gtk/gtktreeview.c (gtk_tree_view_button_press): put the focus
9917         grab separate, the user might clear the tree in the focus-in
9918         callback. (Fixes #113086, testcase from Felipe Heidrich).
9919
9920 Thu May 29 18:06:26 2003  Kristian Rietveld  <kris@gtk.org>
9921
9922         Merged from stable.
9923
9924         * gtk/gtktreeview.c (gtk_tree_model_set_model): reset a bunch
9925         of row reference when we unset the model. Also reset
9926         dy and top_row_dy. (Fixes #109289, patch from Owen Taylor).
9927
9928 Thu May 29 17:12:19 2003  Kristian Rietveld  <kris@gtk.org>
9929
9930         Merged from stable.
9931
9932         * gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): cancel
9933         the current editing, if it exists. (Fixes #108956, reported by
9934         Michael Natterer).
9935
9936 Thu May 29 17:06:09 2003  Kristian Rietveld  <kris@gtk.org>
9937
9938         Merged from stable.
9939
9940         * gtk/gtktreeview.c (check_selection_helper): new function,
9941         (gtk_tree_view_row_deleted): traverse the tree from the
9942         deleted node to see whether the selection changed, instead of
9943         just checking this node. (Fixes #107400, reported by 'Duncan').
9944
9945 Thu May 29 16:31:34 2003  Kristian Rietveld  <kris@gtk.org>
9946
9947         Merged from stable.
9948
9949         * gtk/gtktreeview.c (gtk_tree_view_maybe_begin_dragging_row),
9950         (gtk_tree_view_drag_begin): set the DnD icon in _drag_begin
9951         instead of _maybe_begin_dragging_row, so the icon can be
9952         overridden by apps. (Fixes #104374, patch from Daniel Elstner).
9953
9954 Thu May 29 16:14:04 2003  Kristian Rietveld  <kris@gtk.org>
9955
9956         Merged from stable.
9957
9958         * gtk/gtktreeview.c (gtk_tree_view_start_editing): correct
9959         cell_area x/width for the expander if needed. (Fixes #101748,
9960         reported by Dave Cook and Mariano Suarez-Alvarez).
9961
9962 Thu May 29 16:01:38 2003  Kristian Rietveld  <kris@gtk.org>
9963
9964         Merged from stable.
9965
9966         * gtk/gtktreeview.c (gtk_tree_view_real_set_cursor): check
9967         if tree/node are still the same after _internal_select_node.
9968         (Fixes #92256, reported by edscott).
9969
9970 Thu May 29 15:38:30 2003  Kristian Rietveld  <kris@gtk.org>
9971
9972         Fixes #75745, reported by Richard Hult. Merged from stable.
9973
9974         * gtk/gtktreeview.c (gtk_tree_view_bin_expose): set/unset
9975         GTK_CELL_RENDERER_FOCUSED flag whether the current node is the
9976         cursor or not.
9977
9978         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
9979         if we are rendering a cursor row, and the cell the be
9980         processed has focus, then set the GTK_CELL_RENDERER_FOCUSED
9981         flag (else we unset it).
9982
9983 2003-05-27  Matthias Clasen  <maclas@gmx.de>
9984
9985         * gtk/gtkwindow-decorate.c: 
9986         * gtk/gtktreeprivate.h: 
9987         * gtk/gtkdnd.c: 
9988         * gdk/win32/gdkwindow-win32.h: 
9989         * gdk/linux-fb/gdkprivate-fb.h: 
9990         * gdk/linux-fb/gdkkeyboard-fb.c: Remove dubious bitfields of
9991         unspecified signedness.  (#112919, Morten Welinder)
9992
9993         * gtk/queryimmodules.c (escape_string): 
9994         * gtk/gtktextbtree.c (_gtk_text_btree_get_text): 
9995         * gtk/gtksettings.c (_gtk_settings_parse_convert): 
9996         * gtk/gtkrc.c (gtk_rc_parse_assignment): 
9997         * gtk/gtkinputdialog.c (gtk_input_dialog_set_key): 
9998         * gdk/x11/gdkdisplay-x11.c (escape_for_xmessage): Replace all 
9999         occurances of g_string_new ("") by g_string_new (NULL). (#106975,
10000         Morten Welinder) 
10001
10002 2003-05-27  Tor Lillqvist  <tml@iki.fi>
10003
10004         * gtk-zip.sh.in: Only include the Default and Emacs themes' gtkrc
10005         files. Include share/gtk-doc/{gdk-pixbuf,gdk,gtk}.
10006
10007         * gdk/Makefile.am: libgdk-win32-2.0.la depends on
10008         win32/libgdk-win32.la.
10009
10010         * gtk/gtk.def: Add gtk_tree_view_column_cell_get_position.
10011
10012 Sat May 24 22:19:13 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
10013
10014         * gtk/gtkscrollbar.c (gtk_scrollbar_class_init): Make the minimum
10015         scrollbar slider length 21 instead of 7.
10016
10017 2003-05-23  Matthias Clasen  <maclas@gmx.de>
10018
10019         * gtk/gtknotebook.c: Add support for up to four scroll
10020         arrows. Control their display by new style properties
10021         "has_forward_stepper", "has_backward_stepper",
10022         "has_secondary_forward_stepper" and
10023         has_secondary_backward_stepper". (#110540)
10024
10025         * gtk/gtknotebook.h (struct _GtkNotebook): Make in_child and
10026         click_child three bits wide, add
10027         has_{before,after}_{previous,next} fields.
10028
10029         * gtk/gtkcolorsel.c (gtk_color_selection_init): Update color on
10030         focus out of hex_entry.  (#112665)
10031         (hex_focus_out): New signal handler for focus out of hex entry.
10032
10033 Wed May 21 19:01:06 2003  Owen Taylor  <otaylor@redhat.com>
10034
10035         * gtk/gtkwidget.c (gtk_widget_realize): 
10036         g_return_if_fail() if
10037         GTK_WIDGET_ANCHORED (widget) || GTK_IS_INVISIBLE (widget).
10038         (#107872, Christian Reis)
10039
10040 2003-05-22  Matthias Clasen  <maclas@gmx.de>
10041
10042         * gtk/gtkfilesel.c (gtk_file_selection_create_dir): 
10043         (gtk_file_selection_rename_file): Some keynav improvements for the
10044         "Rename File" and "Create Directory" subdialogs: Enter in entry
10045         activates default, default is "Create"/"Rename", Escape cancels
10046         dialog.  (#113110)
10047         (gtk_file_selection_set_filename): Add a hint about opening 
10048         directories.  (#113175)
10049
10050 2003-05-22  Matthias Clasen  <maclas@gmx.de>
10051
10052         * gdk/x11/gdkdrawable-x11.c (gdk_x11_drawable_update_xft_clip):
10053         Use XftDrawSetClipRectangles(), since we're inside HAVE_XFT2
10054         anyway.  (#113476)
10055
10056 Wed May 21 15:53:14 2003  Owen Taylor  <otaylor@redhat.com>
10057
10058         * gtk/gtkprogress.c (gtk_progress_set_format_string,
10059         gtk_progress_set_show_text): Always queue a resize ... 
10060         we rely on the size-allocate to do the update, plus a 
10061         different format can actually change our size requisition.
10062         (#111052, Vasco Alexandre da Silva Costa)
10063
10064         * gtk/gtkprogress.c (gtk_progress_changed): Track
10065         ::changed as well as ::value_changed, and queue a
10066         resize on ::changed when necessary.
10067
10068         * gtk/gtkprogress.c (gtk_progress_set_adjustment): 
10069         Call gtk_progress_changed() here to update or 
10070         queue a resize as necessary.
10071
10072 Wed May 21 14:06:13 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
10073
10074         * gtk/gtkimcontextsimple.c: added composing rules of
10075         Greek accented letters, patch by Vasilis Vasaitis (#107507)
10076
10077 Wed May 21 13:19:05 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
10078
10079         * gtk/gtkenums.h (enum GtkIMPreeditStyle, GtkIMStatusStyle): 
10080         * modules/input/gtkimcontextxim.c (preedit_style_change, status_style_change):
10081         gtk settings for XIMPreeditNone and XIMStatusNone. (#105909)
10082
10083 Wed May 21 12:10:25 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
10084
10085         * gtk/gtkimcontextsimple.c: 
10086         code that can check the compose table for ascending order,
10087         by Vasilis Vasaitis (#104862).
10088
10089 Wed May 21 12:52:01 2003  Owen Taylor  <otaylor@redhat.com>
10090
10091         * gtk/gtkkeyhash.[ch] (_gtk_key_hash_looku): We need 
10092         to pass the unmasked state to gdk_keymap_translate_keyboard_state() 
10093         to handle the case where a modifier not in the mask
10094         (like Num_Lock) changes the key value, so replace
10095         the masked state with a state/mask pair. (#106913,
10096         Olivier Ripoll)
10097
10098         * gtk/gtkwindow.c gtk/gtkbinding.c: Update to pass
10099         in state/mask pair to _gtk_key_hash_lookup()
10100
10101 Tue May 20 21:58:00 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
10102
10103         * modules/input/gtkimcontextxim.c (xim_info_display_closed):
10104         fix a memory leak, free input context list (#113259).
10105
10106 2003-05-21  Matthias Clasen  <maclas@gmx.de>
10107
10108         * configure.in (all_loaders): Add pcx.
10109
10110         * gtk/gtkcalendar.c: Make calendar controls spin.  (#112540)
10111
10112 Tue May 20 17:27:24 2003  Owen Taylor  <otaylor@redhat.com>
10113
10114         * gtk/gtkimmodule.c (gtk_im_module_init): Silently
10115         accept a missing gtk.immodules file, some people
10116         want to run without one. (#112406, patch from
10117         Arnaud Charlet)
10118
10119 Tue May 20 17:05:31 2003  Owen Taylor  <otaylor@redhat.com>
10120
10121         * gtk/gtkwindow.c (gtk_window_compute_hints): Fix 
10122         height/width confusion (#113370, Xan Lopez)
10123
10124 Tue May 20 15:48:45 2003  Owen Taylor  <otaylor@redhat.com>
10125
10126         * gdk/x11/gdkdnd-x11.c gdk/x11/gdkwindow-x11.c: Comprehensively
10127         zero all unused parts of client messages (Mainly Motif DND
10128         and EWMH). Also, fix a couple places where we were putting
10129         contents into Motif DND messages that didn't belong.
10130         (#113361, EWMH problem reported by Lubos Lunak)
10131
10132         * gtk/gtkselection.c (_gtk_selection_request): Handle the
10133         case where the property type for the multiple atoms is
10134         ATOM_PAIR by doing the conversions ourselve. This is
10135         needed for Xt inter-operation.
10136
10137 2003-05-19 Arafat Medini <lumina@silverpen.de>
10138
10139         * configure.in: Added ar to ALL_LINGUAS
10140
10141 2003-05-19  Matthias Clasen  <maclas@gmx.de>
10142
10143         * gtk/gtksettings.c (gtk_rc_property_parse_border,
10144         gtk_rc_property_parse_color, gtk_rc_property_parse_enum,
10145         gtk_rc_property_parse_flags, gtk_rc_property_parse_requisition):
10146         Add docs.
10147
10148         * gtk/gtkwidget.c (gtk_widget_class_install_style_property, 
10149         gtk_widget_class_install_style_property_parser): Add docs. 
10150
10151 2003-05-17  Matthias Clasen  <maclas@gmx.de>
10152
10153         * tests/prop-editor.c: Add navigation for object properties, so
10154         that you can easily edit the properties of the parent of a widget.
10155         (#113152)
10156
10157 Wed May 14 17:45:32 2003  Owen Taylor  <otaylor@redhat.com>
10158
10159         * gdk/gdkkeysyms.h gdk/gdkkeynames.c gdk/gdkkeyuni.c:
10160         Patch from Vasilis Vasaitis to fix Greek_IOTAdi[a]eresis 
10161         inconsistency and leave the old name as an aliass (#104873)
10162
10163 Wed May 14 16:40:09 2003  Owen Taylor  <otaylor@redhat.com>
10164
10165         * gtk/gtkframe.c (gtk_frame_set_label_widget): Patch
10166         from Charles Schmidt to add missing notify (#108305)
10167
10168 Wed May 14 16:00:51 2003  Owen Taylor  <otaylor@redhat.com>
10169  
10170         * gdk/x11/gdkgc-x11.c: Remove unecessary g_return_if_fail().
10171         (#105500, Morten Welinder.)
10172  
10173 Wed May 14 09:05:11 2003   Hidetoshi Tajima <hidetoshi.tajima@sun.com>
10174
10175         * modules/input/gtkimcontextxim.c (get_ic_real): use type of guint32
10176         instead of gumake for XNFilterEvents event mask(#110493).
10177
10178 2003-05-11  Anders Carlsson  <andersca@codefactory.se>
10179
10180         * gtk/gtkdnd.c (gtk_drag_source_unset_icon): Don't cast a gchar to
10181         a GObject. (#112762)
10182
10183 2003-05-08  Sven Neumann  <sven@gimp.org>
10184
10185         * configure.in: set the HAVE_X11R6 automake conditional to false
10186         if not compiling for X11.
10187
10188 2003-05-08  Matthias Clasen  <maclas@gmx.de>
10189
10190         * gtk/gtkcalendar.[ch] (gtk_calendar_set_display_options): 
10191         (gtk_calendar_get_display_options): New functions.
10192         (gtk_calendar_display_options): Depreate.  (#64567)
10193         (gtk_calendar_class_init): Add boolean properties for the display
10194         options.  (#50949)
10195
10196 Tue May  6 16:50:52 2003  Owen Taylor  <otaylor@redhat.com>
10197
10198         Patch from James Henstridge to update to automake-1.7
10199         (#109542)
10200  
10201         * autogen.sh: update to call newer tools.
10202  
10203         * configure.in: various updates, to use M4 macros to put
10204         variables that change each release at the top.
10205         Use AC_HELP_STRING to format help strings.
10206         Use AC_CONFIG_COMMANDS to generate gdkconfig.h.
10207  
10208         * Makefile.am: require Automake 1.7.  Remove gdk-2.0.pc and
10209         gtk+-2.0.pc on uninstall.  Pass --enable-gtk-doc to configure
10210         during distcheck.
10211  
10212         * docs/reference/*/Makefile.am: simplify to use the gtk-doc.make
10213         makefile fragment.
10214  
10215         * */Makefile.am: don't use STRIP_BEGIN/STRIP_END.
10216         Use BUILT_SOURCES where appropriate.
10217         Build generated files in builddir rather than srcdir.
10218         Fix uninstall and distclean targets to satisfy distcheck.
10219
10220         ===
10221
10222         * gdk/*/Makefile.am: Remove the hacks to get gdkenumtypes.h
10223         built first, since we are now using BUILT_SOURCES.
10224
10225         * gdk/Makefile.am: Remove an outdated comment about gdk_headers.
10226
10227         * demos/gtk-demo/Makefile.am: Fix srcdir != buildd problem
10228         with geninclude.pl.
10229
10230         * configure.in: Update versions to 2.3.0.
10231  
10232 2003-05-06  Tor Lillqvist  <tml@iki.fi>
10233
10234         Fix for #110165 (thanks to Arnaud Charlet):
10235         
10236         * gdk/win32/gdkevents-win32.c (build_keypress_event,
10237         build_keyrelease_event): For unshifted control char, use
10238         lowercase ASCII keyval.
10239         (gdk_event_translate): Similarily, when handling WM_SYSKEYDOWN and
10240         UP (i.e. Alt-something), if it's an unshifted ASCII letter, use
10241         lowercase keyval. Use build_key_event_state() here, too, instead
10242         of minor code duplication.
10243
10244 2003-05-06  Matthias Clasen  <maclas@gmx.de>
10245
10246         * tests/testmultidisplay.c: Don't include strings.h, it's not
10247         needed anymore.  (#112388)
10248
10249         * examples/menu/itemfactory.c: 
10250         * docs/tutorial/gtk-tut.sgml: Remove an unneeded include from the
10251         itemfactory example.
10252
10253 2003-05-05  Matthias Clasen  <maclas@gmx.de>
10254
10255         * gtk/gtkdnd.c (gtk_drag_source_set_icon_stock):  Actually set the
10256         icon type to the stock icon type.  (#111735, Dave Bordoley)
10257
10258 2003-05-05  Christian Rose  <menthos@menthos.com>
10259
10260         * configure.in: Added sr and sr@Latn to ALL_LINGUAS.
10261         Removed sp, it's replaced by sr@Latn.
10262
10263 Wed Apr 30 22:09:11 BST 2003  Tony Gale <gale@gtk.org>
10264
10265         * docs/faq/gtk-faq.sgml: GTK+ 2.x updates, mainly from
10266         Gonzalo Odiard
10267
10268 Mon Apr 28 17:54:39 2003  Jonathan Blandford  <jrb@redhat.com>
10269
10270         * gtk/gtktreeview.c (gtk_tree_view_destroy): destroy the search
10271         data iff the destroy func isn't NULL.
10272
10273 Thu Apr 24 19:12:05 2003  Owen Taylor  <otaylor@redhat.com>
10274
10275         * autogen.sh (have_libtool): Accept libtool-1.5. (#111480)
10276
10277 2003-04-23  Abel Cheung  <maddog@linux.org.hk>
10278
10279         * configure.in: Added "am" "mk" "ta" to ALL_LINGUAS.
10280
10281 Tue Apr 22 15:33:51 2003  Owen Taylor  <otaylor@redhat.com>
10282
10283         * gtk/gtkfilesel.c (open_new_dir): Fix capitalization
10284         of UTF-8. (#106419, Roozbeh Pournader)
10285
10286 Tue Apr 22 15:17:25 2003  Owen Taylor  <otaylor@redhat.com>
10287
10288         * configure.in: Only check for XFT2 if we found pango-xft
10289         (#105692, Jon Nall)
10290
10291 Tue Apr 22 15:12:19 2003  Owen Taylor  <otaylor@redhat.com>
10292
10293         * gtk/gtkwidget.c (gtk_widget_class_init): Fix PROP_HAS_FOCUS/
10294         PROP_IS_FOCUS confusion. (#111333, Jody Goldberg)
10295
10296 Tue Apr 22 19:43:01 BST 2003  Tony Gale <gale@gtk.org>
10297
10298         * docs/faq/gtk-faq.sgml: add note about version converage.
10299
10300 Mon Apr 21 19:02:16 2003  Owen Taylor  <otaylor@redhat.com>
10301
10302         * gtk/gtksocket.c (activate_key): Fix prototype for
10303         activate_key. (#108927, Jason D. Hildebrand)
10304
10305 Mon Apr 21 18:42:51 2003  Owen Taylor  <otaylor@redhat.com>
10306
10307         * demos/gtk-demo/Makefile.am demos/gtk-demo/geninclude.pl:
10308         Remove geninclude.pl from CVS and don't dist it either,
10309         it is generated. (#108970, Rich Kinder)
10310
10311 Mon Apr 21 18:35:48 2003  Owen Taylor  <otaylor@redhat.com>
10312
10313         * gtk/gtkobject.h: Remove a couple of obsolete comments,
10314         fix another comment. (#109737, Britton Kerin)
10315
10316 Mon Apr 21 18:29:03 2003  Owen Taylor  <otaylor@redhat.com>
10317
10318         * gtk/gtkiconfactory.c (gtk_icon_set_unref): Free
10319         the source list, not just it's contents (Patch
10320         from Charles Kerr, #108243)
10321
10322 Mon Apr 21 18:13:46 2003  Owen Taylor  <otaylor@redhat.com>
10323
10324         * gdk/x11/gdkdnd-x11.c (gdk_window_cache_filter): Patch
10325         from Alex Larsson fixing problem with restacking during
10326         DND. (#108671)
10327
10328 Mon Apr 21 15:07:29 2003  Owen Taylor  <otaylor@redhat.com>
10329
10330         * gdk/x11/gdkdisplay-x11.c (gdk_display_keyboard/pointer_ungrab):
10331         Calling XFlush() after ungrabbing, to avoid problems if
10332         the app subsequently blocks on a long-running operation.
10333         (#106520, reported by Rajkumar Siva)
10334
10335 Fri Apr 18 17:42:45 2003  Owen Taylor  <otaylor@redhat.com>
10336
10337         * gdk/x11/gdkwindow-x11.c (set_initial_hints): Add
10338         SKIP_TASKBAR/SKIP_PAGER to set of properties we
10339         might set on map. (#110019, problem reported
10340         by Loban Rahman)
10341
10342 Fri Apr 18 17:14:33 2003  Owen Taylor  <otaylor@redhat.com>
10343
10344         * gdk/gdkevents.c (gdk_event_copy): Fix for the
10345         case when gdk_event_copy() is called on a non-allocated
10346         event. (#109716, reported by Rich Burridge)
10347
10348 Fri Apr 18 16:57:44 2003  Owen Taylor  <otaylor@redhat.com>
10349
10350         * gdk/x11/gdkdrawable-x11.c (draw_with_images/pixmaps):
10351         Fix pointer arithmetic on 'void *'. (#108322)
10352
10353 Fri Apr 18 16:31:49 2003  Owen Taylor  <otaylor@redhat.com>
10354
10355         * configure.in gdk/x11/gdkdisplay-x11.c modules/input/Makefile.am:
10356         Check for XAddConnectionWatch()/X11R6, and if found, disable XIM and
10357         use of XAddConnectionWatch. Remove --enable-xim config option.
10358         Should fix building on X11R6 (#110523, Albert Chin)
10359
10360 Fri Apr 18 15:56:46 2003  Owen Taylor  <otaylor@redhat.com>
10361
10362         * gdk/x11/gdkdisplay-x11.[ch] gdk/x11/gdkdrawable-x11.[ch]:
10363         Patch from Morten Welinder to catch Sun servers with a 
10364         broken implementation of the RENDER extension. (#108309)
10365
10366 Fri Apr 18 15:30:38 2003  Owen Taylor  <otaylor@redhat.com>
10367
10368         * gdk/x11/gdkwindow-x11.c (set_text_property): Use
10369         gdk_free_compound_text(), not g_free(). (#107643,
10370         Michael Zucchi)
10371
10372 Fri Apr 18 15:11:50 2003  Owen Taylor  <otaylor@redhat.com>
10373
10374         * gdk/x11/gdkdisplay-x11.c (_gdk_display_x11_get_type)
10375         gdk/x11/gdkscreen-x11.c (_gdk_screen_x11_get_type): Fix
10376         wrong use of base_finalize. (#105126, Sven Neumann)
10377
10378 Fri Apr 18 15:06:00 2003  Owen Taylor  <otaylor@redhat.com>
10379
10380         * gdk/gdkwindow.c (gdk_window_constrain_size): Fix
10381         '/' vs. '*' problem in aspect ration computations. (#108237)
10382
10383 Fri Apr 18 14:15:09 2003  Owen Taylor  <otaylor@redhat.com>
10384
10385         * gdk/x11/gdkdisplay-x11.c (gdk_display_open): 
10386         * gdk/x11/gdkevents-x11.c (gdk_event_translate): You
10387         don't get a XkbMapNotify event if you get a XkbNewKeyboardNotify 
10388         event, so select for both. (#108406, Egmont Koblinger)
10389
10390 Thu Apr 17 09:57:44 2003  Jonathan Blandford  <jrb@gnome.org>
10391
10392         * gtk/gtktreeview.c (validate_visible_area): remove infinite loop
10393         caused by not clearing the scroll_to_path.
10394
10395 2003-04-16  Matthias Clasen  <maclas@gmx.de>
10396
10397         * gtk/gtkstyle.c: Doc additions and fixes.
10398
10399         * gtk/gtktreeviewcolumn.c
10400         (_gtk_tree_view_column_get_neighbor_sizes): Doc fixes.
10401
10402 2003-04-14  Michael Natterer  <mitch@gimp.org>
10403
10404         * gtk/gtkliststore.c (gtk_list_store_move): added checks to ensure
10405         that the iter is not reordered to its own position. Prevents model
10406         corruption for the case that the store contains only a single item
10407         (fixes bug #108387).
10408
10409         Unrelated:
10410
10411         * gtk/gtkliststore.c (gtk_list_store_insert): g_list_alloc() the
10412         new list element later so we don't leak it if we decide to return
10413         early.
10414
10415         * gtk/gtktreeselection.c (_gtk_tree_selection_internal_select_node):
10416         set selection->tree_view->priv->anchor to NULL after freeing it.
10417
10418 2003-04-13  Matthias Clasen  <maclas@gmx.de>
10419
10420         * gtk/gtktreeviewcolumn.c
10421         (gtk_tree_view_column_cell_get_position): Document. 
10422
10423         * gtk/gtktextbuffer.c (gtk_text_buffer_select_range): 
10424         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_[sg]et_expand): 
10425         * gtk/gtkbutton.c (gtk_button_[sg]et_focus_on_click): Document
10426         these as 2.4 additions.
10427
10428 2003-04-09  Matthias Clasen  <maclas@gmx.de>
10429
10430         * INSTALL.in: Fix the real thing.
10431
10432         * INSTALL: Typo fix.
10433
10434 Mon Apr  7 19:43:15 2003  Owen Taylor  <otaylor@redhat.com>
10435
10436         * gdk/x11/gdkdisplay-x11.c (gdk_x11_display_ungrab): Flush
10437         after ungrabbing the server.
10438  
10439         * gdk/x11/gdkimage-x11.c: Remove some no-longer-needed
10440         calls to XFlush().
10441
10442         * gdk/x11/gdkwindow-x11.c (_gdk_windowing_window_at_pointer):
10443         Use gdk_x11_display_grab/ungrab.
10444
10445         * gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize
10446         use_xshm to TRUE so SHM gets used when present.
10447  
10448 2003-04-07  Matthias Clasen  <maclas@gmx.de>
10449
10450         * gtk/gtktextlayout.c (set_para_values): 
10451         * gtk/gtkenums.h (GtkWrapMode): Add GTK_WRAP_WORD_CHAR.  (#110086,
10452         David Brigada)
10453
10454         * gtk/gtkcelleditable.c, gtk/gtkfixed.c, gtk/gtktreemodel.c,
10455         gtk/gtktreeselection.c, gtk/gtktreeview.c: Fix numerous
10456         misspellings of possessive "its".  (#110027, Doug Quale)
10457
10458 2003-04-03  Matthias Clasen  <maclas@gmx.de>
10459
10460         * demos/gtk-demo/main.c (demo_find_file): Only use files from the
10461         current directory if it looks like the srcdir.  (#109357)
10462
10463 Wed Apr  2 23:02:26 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
10464
10465         * gtk/gtkbutton.[ch] (gtk_button_class_init): add property
10466         focus_on_click
10467
10468         * gtk/gtkwindow.c (gtk_window_focus): make arrow keyboard
10469         navigation not wrap around.
10470
10471 2003-04-02  Matthias Clasen  <maclas@gmx.de>
10472
10473         * gtk/gtkprogress.c (gtk_progress_get_percentage_from_value):
10474         Return 0 if lower == upper.  (#109155)
10475         (gtk_progress_get_current_percentage): Use
10476         gtk_progress_get_percentage_from_value().
10477
10478 2003-04-01  Matthias Clasen  <maclas@gmx.de>
10479
10480         * gtk/gtkimcontext.c (gtk_im_context_focus_in): Fix docs.
10481         (#109510, Noah Levitt)
10482
10483 Mon Mar 31 13:52:13 2003  Jonathan Blandford  <jrb@redhat.com>
10484
10485         * gtk/gtkrbtree.c (_gtk_rbtree_reorder): null initialize reorder's
10486         members so Purify won't complain.
10487
10488         * gtk/gtkliststore.c (gtk_list_store_sort): ditto.
10489
10490 2003-03-31  Matthias Clasen  <maclas@gmx.de>
10491
10492         * gtk/gtkwindow.c: Add a new property, role, corresponding to 
10493         gtk_window_[gs]et_role().  (#93904)
10494
10495 Sun Mar 30 03:57:42 2003  Jonathan Blandford  <jrb@gnome.org>
10496
10497         * gtk/gtktreeselection.c (gtk_tree_selection_get_selected_rows):
10498         fix crash.  Patch from Markus Lausser <sgop@users.sourceforge.net>
10499
10500 2003-03-29  Matthias Clasen  <maclas@gmx.de>
10501
10502         * gtk/gtkoptionmenu.c (gtk_option_menu_remove_contents): Set state
10503         of labels back to normal before reparenting back.  (#102387)
10504
10505         * gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init): Set
10506         a default window title to match the GtkFontSelectionDialog behavior.
10507  
10508         (gtk_color_selection_dialog_new): Don't call
10509         gtk_window_set_title() if title is NULL.  (bug #101975, Daniel Elstner)
10510
10511 2003-03-29  Matthias Clasen  <maclas@gmx.de>
10512
10513         Fix for bug #78499:
10514         
10515         * gtk/gtkentry.h (struct _GtkEntry): Add flags select_words and
10516         select_lines. 
10517
10518         * gtk/gtkentry.c (gtk_entry_button_press): Set select_words and
10519         select_lines on double/triple click.
10520
10521         * gtk/gtkentry.c (gtk_entry_motion_notify): Implement
10522         select-by-words and select-by-lines behaviour.
10523
10524         Fixes for bug #56248:
10525         
10526         * gtk/gtknotebook.c (stop_scrolling): New function to remove the
10527         timer and queue a redraw. 
10528         (gtk_notebook_grab_notify): 
10529         (gtk_notebook_state_changed): New functions to call stop_scrolling() 
10530         if necessary.   
10531         (gtk_notebook_button_release): Use stop_scrolling().
10532         (gtk_notebook_draw_arrow): Fix drawing of insensitive arrows.
10533
10534         * gtk/gtkrange.c (stop_scrolling): New function to remove the
10535         grab, remove the timer and queue a redraw.
10536         (gtk_range_grab_notify): 
10537         (gtk_range_state_changed): New functions to call stop_scrolling() 
10538         if necessary.   
10539         (gtk_range_button_release): Use stop_scrolling().
10540
10541         * gtk/gtkspinbutton.c (gtk_spin_button_grab_notify): 
10542         (gtk_spin_button_state_changed): Redraw after stop_spinning.
10543         (gtk_spin_button_stop_spinning): Reset click_child to correct the
10544         drawing of the arrows.
10545         (gtk_spin_button_button_release): Use a local copy of click_child,
10546         since stop_spinning() resets it.
10547
10548         * gtk/gtknotebook.c (gtk_notebook_class_init): Add C-A-PgUp and
10549         C-A-PgDown as alternatives to the A-less variants. (This slipped
10550         in accidentally some time ago).  (#97860)
10551
10552 2003-03-26  Sven Neumann  <sven@gimp.org>
10553
10554         * gtk/gtktreeview.c: rewrote the function that does node and arrow
10555         prelighting, queue all redraws from here (Fixes bug #108792).
10556
10557 2003-03-20  Richard Kinder <r_kinder@yahoo.com>
10558
10559         * demos/testpixbuf.c (update_timeout): set error to NULL, not FALSE.
10560         Fixes bug #108778.
10561
10562 2003-03-20  Guntupalli Karunakar <karunakar@freedomink.org>
10563
10564         * configure.in: Added "ml" in ALL_LINGUAS
10565
10566 Sat Mar 15 18:49:27 2003  Manish Singh  <yosh@gimp.org>
10567
10568         * gtk/gtkradiomenuitem.h: use GTK_DISABLE_DEPRECATED instead of
10569         G_DISABLE_DEPRECATED.
10570
10571 2003-03-14  Tor Lillqvist  <tml@iki.fi>
10572
10573         * gdk/win32/gdkevents-win32.c: Use the signed GET_X_LPARAM() and
10574         GET_Y_LPARAM() to extract x and y coordinates from an LPARAM or
10575         DWORD, and not the unsigned HIWORD() and LOWORD(). Systems with
10576         multiple monitors can have negative coordinates on some of the
10577         monitors. (partial fix for #99496, Arnaud Charlet)
10578
10579 2003-03-15  Matthias Clasen  <maclas@gmx.de>
10580
10581         * gtk/gtktextview.c: Add a "buffer" property.  (#108353) 
10582
10583 2003-03-13  Sven Neumann  <sven@gimp.org>
10584
10585         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
10586         removed redundant calls to g_object_notify().
10587         (gtk_cell_renderer_pixbuf_get_size): removed redundant casts, see
10588         bug #108236.
10589
10590         * gtk/gtktextiter.c (_gtk_text_iter_get_segment_char)
10591         (_gtk_text_iter_get_segment_byte): return 0, not NULL (these
10592         functions return an integer value).
10593
10594 2003-03-13  Tor Lillqvist  <tml@iki.fi>
10595
10596         * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
10597         WM_MOUSEMOVE, the test whether we have actually moved (and thus
10598         shouldn't generate an GDK event) moved after the call to
10599         propagate() and translate_mouse_coords(). Otherwise we were
10600         testing wrong values. (#108115, Allin Cottrell)
10601         (gdk_event_translate): On WM_?BUTTONUP, set current_{x,y} the same
10602         way as in WM_?BUTTONDOWN and WM_MOUSEMOVE.
10603
10604         * gdk/win32/gdkevents-win32.c (gdk_pointer_grab): if a grab cursor
10605         is used, must copy the HCURSOR with CopyCursor(), as it is OK to
10606         destroy the GdkCursor after calling gdk_pointer_grab(). Set the
10607         cursor right away with SetCursor(), as we won't get any
10608         WM_SETCURSOR messages while the mouse is captured. 
10609         (gdk_display_pointer_ungrab): Correspondingly, destroy the copy
10610         with DestroyCursor() when no longer used. (#108114, Allin Cottrell)
10611
10612         * gdk/win32/gdkevents-win32.c (gdk_event_translate): On
10613         WM_SYSCHAR, return FALSE from the window procedure to prevent the
10614         DefWindowProc from being called. Otherwise Windows would beep,
10615         thinking you are tring to access a (nonexistent) menu when you
10616         press Alt-something. Don't do this for Alt-Space,
10617         though. (#107454, Martyn Russell)
10618
10619         * gdk/win32/gdkcursor-win32.c: Minor spacing and debug print fixes.
10620
10621 Tue Mar 11 12:01:07 2003  Jonathan Blandford  <jrb@gnome.org>
10622
10623         * gtk/gtktreeview.c (gtk_tree_view_class_init): Ctrl/Shift
10624         [left/right] expands/collapses the tree, #108092
10625
10626 2003-03-09  Tor Lillqvist  <tml@iki.fi>
10627
10628         * gdk/win32/gdkdrawable-win32.c (draw_segments): Don't try to
10629         compensate for LineTo() not drawing the end pixel. It causes more
10630         harm than benefits, see bug #81895.
10631
10632 2003-03-08  Matthias Clasen  <maclas@gmx.de>
10633
10634         Bug #107664 continued:
10635
10636         * gdk/x11/gdkinputprivate.h: 
10637         * gdk/x11/gdkinput-none.c (_gdk_input_window_none_event): Remove. 
10638         (_gdk_input_other_event): Return gboolean.
10639         * gdk/x11/gdkinput-xfree.c (_gdk_input_window_none_event): Remove. 
10640         (_gdk_input_other_event): Return gboolean.
10641         * gdk/x11/gdkinput-x11.c (_gdk_input_common_other_event): Return gboolean.
10642
10643         * gdk/x11/gdkevents-x11.c (gdk_event_translate): Make return_val
10644         gboolean, remove pointless call to _gdk_input_window_none_event.
10645
10646         * gdk/win32/gdkinput-win32.[hc] (_gdk_input_other_event): Return gboolean.
10647         (_gdk_input_window_none_event): Remove.
10648
10649         * gtk/gtktextiter.c (_gtk_text_iter_get_indexable_segment): 
10650         (_gtk_text_iter_get_any_segment): 
10651         (_gtk_text_iter_get_segment_byte): 
10652         (_gtk_text_iter_get_segment_char): 
10653         (_gtk_text_iter_get_text_line): 
10654         (_gtk_text_iter_get_btree): Fix 0/NULL confusion.
10655         * gdk/x11/gdkdnd-x11.c (motif_target_table_check): Return gint.
10656         * gdk/win32/gdkfont-win32.c (gdk_font_equal): 
10657         * gdk/linux-fb/gdkwindow-fb.c (gdk_window_get_deskrelative_origin): 
10658         (gdk_window_get_origin): 
10659         * gdk/linux-fb/gdkcolor-fb.c (gdk_colors_alloc): Fix 0/FALSE confusion. 
10660
10661 2003-03-06  Matthias Clasen  <maclas@gmx.de>
10662
10663         * gdk/gdkrgb.c (gdk_rgb_try_colormap): Return gboolean, not gint.
10664         (#107664, Morten Welinder)
10665
10666         * gdk/x11/gdkwindow-x11.c (gdk_window_get_deskrelative_origin): 
10667         * gdk/x11/gdkfont-x11.c (gdk_font_equal): 
10668         * gdk/x11/gdkdnd-x11.c (gdk_drag_get_protocol_for_display): 
10669         Fix TRUE/1 and FALSE/0 confusion.  (#107664, Morten Welinder)
10670
10671         * gtk/gtktextmark.c (gtk_text_mark_get_buffer): 
10672         * gtk/gtkeditable.c (gtk_editable_get_chars): 
10673         * gtk/gtkctree.c (gtk_ctree_find_node_ptr): 
10674         * demos/gtk-demo/main.c (demo_find_file): Fix NULL/FALSE confusion
10675         (#107648, Morten Welinder)Fix NULL/FALSE confusion
10676         (#107648, Morten Welinder)
10677
10678 2003-03-04  Matthias Clasen  <maclas@gmx.de>
10679
10680         * gtk/gtkobject.h: Add deprecation guards for gtk_object_new ().
10681
10682 Sun Mar  2 23:35:57 2003  Jonathan Blandford  <jrb@gnome.org>
10683
10684         * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_get_size):
10685         handle rtl code.  Thanks to Matthias Clasen for an initial patch
10686         to handle the RTL code.
10687
10688         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_get_size): ditto
10689
10690         * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_get_size): ditto
10691
10692         * gtk/gtktreeview.c: (invalidate_column),
10693         (invalidate_last_column),
10694         (gtk_tree_view_get_real_requested_width_from_column),
10695         (gtk_tree_view_size_allocate_columns),
10696         (gtk_tree_view_size_allocate), (gtk_tree_view_button_press),
10697         (gtk_tree_view_button_release_drag_column),
10698         (gtk_tree_view_update_current_reorder),
10699         (gtk_tree_view_motion_drag_column), (gtk_tree_view_bin_expose),
10700         (gtk_tree_view_key_press), (gtk_tree_view_header_focus),
10701         (gtk_tree_view_get_background_xrange),
10702         (gtk_tree_view_get_arrow_xrange),
10703         (gtk_tree_view_is_expander_column),
10704         (gtk_tree_view_set_column_drag_info),
10705         (gtk_tree_view_move_cursor_left_right):
10706         Add RTL support.
10707
10708         * gtk/gtktreeviewcolumn.h (struct _GtkTreeViewColumn): add an
10709         expand flag.
10710
10711         * gtk/gtktreeviewcolumn.c:
10712         (gtk_tree_view_column_class_init),
10713         (gtk_tree_view_column_set_property),
10714         (gtk_tree_view_column_get_property),
10715         (gtk_tree_view_column_set_expand),
10716         (gtk_tree_view_column_get_expand),
10717         (gtk_tree_view_column_cell_process_action):
10718         Add support for expand flag.  Thanks to Kristian Rietveld for an
10719         initial patch for this.
10720
10721 Fri Feb 28 02:06:17 2003  Jonathan Blandford  <jrb@gnome.org>
10722
10723
10724 2003-03-02  Tor Lillqvist  <tml@iki.fi>
10725
10726         * gdk/gdk.def
10727         * gtk/gtk.def: Add a bunch of missing entries. Noticed by Cedric
10728         Gustin.
10729
10730 2003-03-01  Matthias Clasen  <maclas@gmx.de>
10731
10732         * gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_vadjustment): 
10733         (gtk_scrolled_window_set_hadjustment): Replace uses of
10734         gtk_object_new by g_object_new.
10735
10736 Thu Feb 27 17:44:24 2003  Manish Singh  <yosh@gimp.org>
10737
10738         * demos/gtk-demo/main.c
10739         * demos/gtk-demo/tree_store.c
10740         * gdk/x11/gdkscreen-x11.c
10741         * gtk/gtkcellrenderertoggle.c
10742         * gtk/gtkcolorsel.c
10743         * gtk/gtkdnd.c
10744         * gtk/gtkeditable.c
10745         * gtk/gtkentry.c
10746         * gtk/gtkmenu.c
10747         * gtk/gtkmenubar.c
10748         * gtk/gtkmenuitem.c
10749         * gtk/gtkmenushell.c
10750         * gtk/gtkrc.c
10751         * gtk/gtksettings.c
10752         * gtk/gtkstyle.c
10753         * gtk/gtktextbuffer.c
10754         * gtk/gtktextview.c
10755         * gtk/gtktreeviewcolumn.c
10756         * tests/testgtk.c
10757         * tests/testtext.c
10758         * tests/testtreeedit.c
10759         * tests/testtreefocus.c
10760         * tests/testtreeview.c: remove unnecessary G_OBJECT() casts.
10761
10762 Tue Feb 25 21:55:17 2003  Jonathan Blandford  <jrb@redhat.com>
10763
10764         * gtk/gtkoptionmenu.c (gtk_option_menu_position): account for RTL
10765         code.
10766
10767 2003-02-24  Sven Neumann  <sven@gimp.org>
10768
10769         * gtk/gtkmain.c (gtk_get_default_language): fixed documentation.
10770
10771 2003-02-21  Tomas Ogren  <stric@ing.umu.se>
10772
10773         * docs/reference/gtk/tmpl/gtktreemodel.sgml: Fix typos in an example
10774
10775 2003-02-20  Matthias Clasen  <maclas@gmx.de>
10776
10777         * gtk/gtktextbtree.c (_gtk_text_line_previous_could_contain_tag): 
10778         Check if line_ancestor_parent is NULL.  (#102711, Manuel Clos)
10779
10780         * gtk/gtktextview.c (gtk_text_view_scroll_to_iter): 
10781         (gtk_text_view_update_adjustments): Make sure cursor stays visible
10782         during horizontal scrolling.  (#75270)
10783
10784 2003-02-19  Matthias Clasen  <maclas@gmx.de>
10785
10786         * tests/testdnd.c: Replace gtk_timeout_* by their GLib
10787         counterparts. (#106532)
10788
10789         * gdk/gdkkeys.c (gdk_keymap_class_init): Associate the
10790         keys_changed virtual function with the keys_changed signal.
10791         (#106512, Jeff Franks)
10792
10793 2003-02-15  Larry Ewing  <lewing@ximian.com>
10794
10795         * gdk/gdkevents.c (gdk_event_copy): copy the event axes as well.
10796
10797 2003-02-17  Mohammad DAMT  <mdamt@bisnisweb.com>
10798
10799         * po/id.po: Added Indonesian translation
10800         * configure.in: Added "id" to ALL_LINGUAS
10801
10802 2003-02-14  Matthias Clasen  <maclas@gmx.de>
10803
10804         * gtk/gtktextview.c (popup_targets_received): Remove bogus casts.
10805
10806 2003-02-12  Christian Rose  <menthos@menthos.com>
10807
10808         * configure.in: Added "yi" to ALL_LINGUAS.
10809
10810 2003-02-12  Matthias Clasen  <maclas@gmx.de>
10811
10812         Fix for #82734 and #78216:
10813         
10814         * gtk/gtktextview.c (delete_cb): 
10815         (select_all_cb): New callbacks for context menu items.
10816         (popup_targets_received): Add "Delete" and "Select All" to context
10817         menu, mnemonics and title caps for all items.
10818
10819         * gtk/gtkentry.c (gtk_entry_delete_cb): New callback for "Delete"
10820         context menu item.
10821         (popup_targets_received): Add "Delete" to context menu, mnemonics
10822         and title caps for all items.
10823
10824 2003-02-09  Tor Lillqvist  <tml@iki.fi>
10825
10826         * gtk/gtkfilesel.c (win32_gtk_add_drives_to_dir_list): Use
10827         GetDriveType() to recognize removable drives (in order to avoid
10828         hanging if trying to access an empty floppy drive), instead of
10829         hardcoding A: and B: (#105654).
10830
10831 2003-02-09  Matthias Clasen  <maclas@gmx.de>
10832
10833         * gtk/gtkwidget.c (gtk_widget_set_name): Add note about periods in 
10834         names.  (#57680)
10835
10836 2003-02-09  Christian Rose  <menthos@menthos.com>
10837
10838         * configure.in: Removed "en@IPA.po" from ALL_LINGUAS.
10839
10840 Fri Feb  7 04:49:46 2003  Tim Janik  <timj@gtk.org>
10841
10842         * gtk/gtkobject.c: remove quark_user_data usage in
10843         gtk_object_{g|s}et_user_data(). fixes get_user_data()
10844         returning NULL for user_data set through property interface.
10845
10846         * gtk/gtkitemfactory.c (gtk_item_factory_create_item): don't put out
10847         warnings if a pixbuf couldn't be retrieved, since (a) this doesn't
10848         need to be a programming error (in case of loaded data), (b) it breaks
10849         with 2.0 behaviour where extra magic could be used to create empty
10850         images. don't attempt to retrieve pixbufs from NULL extra_data.
10851
10852 2003-02-06  Matthias Clasen  <maclas@gmx.de>
10853
10854         * gdk/x11/gdkvisual-x11.c (gdk_visual_get_best_with_depth): Return
10855         a GdkVisual *, not a GdkVisual **.  (#105243)
10856
10857         * gtk/gtkclist.c: 
10858         * gtk/gtkctree.c: 
10859         * gtk/gtkcontainer.c: 
10860         * gtk/gtkdnd.c: 
10861         * gtk/gtkentry.c: 
10862         * gtk/gtklist.c:
10863         * gtk/gtkmenu.c:
10864         * gtk/gtkmenuitem.c:
10865         * gtk/gtknotebook.c:
10866         * gtk/gtkselection.c:
10867         * gtk/gtkspinbutton.c:
10868         * gtk/gtktext.c:
10869         * gtk/gtktextview.c:
10870         * gtk/gtktooltips.c:
10871         * gtk/gtktreeview.c:
10872         * gtk/gtkwindow.c: Replace uses of gtk_timeout_* and gtk_idle_* by
10873         their non-deprecated GLib counterparts.
10874         
10875         * gtk/gtkmain.h: Fully deprecate gtk_timeout_* and gtk_idle_*.
10876         
10877 Sun Feb  2 16:45:57 GMT 2003  Tony Gale <gale@gtk.org>
10878
10879         * docs/tutorial/gtk-tut.sgml: cleanups from
10880         Sebastian Rittau (#104832)
10881
10882 2003-02-01  Tor Lillqvist  <tml@iki.fi>
10883
10884         Merge from stable:
10885
10886         * gdk/win32/gdkpixmap-win32.c (gdk_pixmap_foreign_new_for_display,
10887         gdk_pixmap_lookup, gdk_pixmap_lookup_for_display): Implement.
10888         (#104108, Naofumi Yasufuku)
10889
10890         * gdk/gdk.def: Export the above. Export
10891         gdk_screen_get_system_visual, noticed by Ed Woods.
10892
10893 Fri Jan 31 17:45:22 2003  Manish Singh  <yosh@gimp.org>
10894
10895         * demos/pixbuf-demo.c
10896         * demos/testpixbuf.c
10897         * demos/gtk-demo/pixbufs.c: remove deprecated gtk_timeout_* usage.
10898
10899 Fri Jan 31 17:33:00 2003  Manish Singh  <yosh@gimp.org>
10900                                                                                 
10901         * gtk/gtknotebook.c (gtk_notebook_remove_tab_label): set_state
10902         on the tab_label before unparenting it, in case the unparent
10903         drops the refcount to 0.
10904
10905 2003-02-01  Matthias Clasen  <maclas@gmx.de>
10906
10907         * gtk/gtkiconfactory.h: Use GDK_MULTIHEAD_SAFE like all other gtk
10908         headers. Sorry about gtk_selection_clear, Yosh.
10909
10910 Thu Jan 30 17:16:05 2003  Manish Singh  <yosh@gimp.org>
10911
10912         * gtk/gtkselection.h: declare gtk_selection_clear in GTK_COMPILATION
10913         too, for gtkwidget.c. Remember people, when introducing new
10914         deprecations, make sure internal code isn't using it, or if so,
10915         reorganize appropriately like I've done in other places.
10916
10917         * tests/testtext.c: don't use deprecated gtk_timeout_* stuff.
10918
10919 2003-01-31  Matthias Clasen  <maclas@gmx.de>
10920
10921         * gtk/gtkselection.h: 
10922         * gtk/gtkselection.c (gtk_selection_clear): Deprecate.  (#85683)
10923
10924         * gdk/gdkpixbuf.h: 
10925         * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_to_drawable): 
10926         (gdk_pixbuf_render_to_drawable_alpha): Deprecate.  (#60582)
10927
10928         * gtk/gtkcolorsel.h:
10929         * gtk/gtkcolorsel.c (gtk_color_selection_set_change_palette_hook):
10930         Deprecate.  (#98167)
10931
10932         * gtk/gtkpaned.h: Deprecate gtk_paned_computed_position(). (#97077)
10933
10934         * gtk/gtkmain.h: Deprecate the gtk_timeout_*, gtk_idle_*
10935         and gtk_input_* functions.  (#71596)
10936         
10937         * gtk/gtkentry.c (gtk_entry_move_cursor): 
10938         * gtk/gtklabel.c (gtk_label_move_cursor): Handle
10939         GTK_MOVEMENT_HORIZONTAL_PAGES in switches.
10940
10941         * gdk/gdk.h: Deprecate gdk_wcstombs() and gdk_mbstowcs().  (#79803)
10942
10943         * gtk/gtkitemfactory.h: 
10944         * gtk/gtkitemfactory.c (gtk_item_factory_add_foreign): Deprecate. 
10945         (#69244)
10946
10947 Thu Jan 30 23:48:30 2003  Kristian Rietveld  <kris@gtk.org>
10948
10949         * gtk/gtktreeviewcolumn.c (_gtk_tree_view_column_count_special_cell):
10950         only count the special cell if it is also visible,
10951         (_gtk_tree_view_column_get_neighbor_sizes): only take the width into
10952         account from visible cells,
10953         (gtk_tree_view_column_cell_get_position): likewise, (Reported and
10954         testcase provided by Vasco Alexandre da Silva Costa, via IRC,
10955         tracking bug was #104563).
10956         
10957 Thu Jan 30 23:46:15 2003  Kristian Rietveld  <kris@gtk.org>
10958
10959         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_cell_process_action):
10960         subtract expander space and focus line space from the extra space
10961         we are about the allocate. (Fixes #104635).
10962
10963 Thu Jan 30 23:42:03 2003  Kristian Rietveld  <kris@gtk.org>
10964
10965         * gtk/gtkstyle.c (apply_affine_on_point): fix rouding error
10966         (Fixes #96242, patch from Soeren Sandmann).
10967
10968 Thu Jan 30 16:54:29 2003  Owen Taylor  <otaylor@redhat.com>
10969
10970         * gtk/gtknotebook.c: Patch from Soeren Sandmann
10971         to update the states of the tab label child
10972         widgets to match the state of the tabs. 
10973         (#93389, Reported by Tommi Komulainen)
10974
10975 Thu Jan 30 16:30:54 2003  Owen Taylor  <otaylor@redhat.com>
10976
10977         * Makefile.am (EXTRA_DIST): Remove gtk+.spec.in from
10978         EXTRA_DIST, and from dist rules. (#102231)
10979
10980 2003-01-30  Daniel Elstner  <daniel.elstner@gmx.net>
10981
10982         * gtk/gtktoolbar.c (set_child_packing_and_visibility): New helper
10983         function that sets the icon's and label's packing options and
10984         visibility based on toolbar->style.
10985
10986         (gtk_toolbar_internal_insert_element):
10987         (gtk_real_toolbar_style_changed): Make use of
10988         set_child_packing_and_visibility() to clean up the code and get
10989         the packing right for icon-only/text-only toolbars. (#104679)
10990
10991         (get_first_child): Remove, and use gtk_bin_get_child() instead.
10992
10993 2003-01-30  Matthias Clasen  <maclas@gmx.de>
10994
10995         * gtk/gtktextview.c: Replace PAGE_HORIZONTALLY_HACK_VALUE by
10996         GTK_MOVEMENT_HORIZONTAL_PAGES.  (#68947)
10997
10998         * gtk/gtkenums.h: Add GTK_MOVEMENT_HORIZONTAL_PAGES to GtkMovementStep.
10999         
11000 Thu Jan 30 16:01:29 2003  Owen Taylor  <otaylor@redhat.com>
11001
11002         * gdk/gdkrgb.c (gdk_rgb_try_colormap): Remove the 
11003         attempt-to-allocate then free code. To handle multiple
11004         people allocating colors at the same time, we need
11005         to just go ahead and try. (#102213, Shivram U)
11006         
11007 2003-01-30  Daniel Elstner  <daniel.elstner@gmx.net>
11008
11009         * gtk/gtkcolorsel.c (palette_paint): Explicitely draw an opaque
11010         rectangle using the background color rather than relying on
11011         gdk_window_clear_area(), so that the palette works properly with
11012         pixmap themes. (#101732)
11013
11014         * demos/gtk-demo/colorsel.c: Install an "expose_event" handler
11015         to fill the drawing area in the background color.
11016
11017 Wed Jan 29 14:11:21 2003  Hidetoshi Tajima  <hidetoshi.tajima@sun.com>
11018
11019         * modules/input/gtkimcontextxim.c (choose_better_style): fix a memory
11020         initialization error for selecting input style (#103549).
11021
11022 Wed Jan 29 17:02:41 2003  Owen Taylor  <otaylor@redhat.com>
11023
11024         * gdk/gdkkeyuni.c (get_decimal_char): Make the 
11025         translation of GDK_KP_Decimal dependent on LC_NUMERIC.
11026         (#101225)
11027
11028 Wed Jan 29 15:43:56 2003  Owen Taylor  <otaylor@redhat.com>
11029
11030         * gtk/gtkmenushell.c (gtk_real_menu_shell_move_current):
11031         Make up from the menu bar go to the end of the submenu.
11032         (#96114, Ian Peters.)
11033
11034         * gtk/gtkmenuitem.c (gtk_menu_item_mnemonic_activate): 
11035         Only do the select-but-not-activate stuff if the
11036         menu is already active. Otherwise, just activate.
11037         (#101690, Arvind Samptur)
11038
11039 Tue Jan 28 15:18:24 2003  Owen Taylor  <otaylor@redhat.com>
11040
11041         * autogen.sh (have_automake): Fix version in complaint
11042         message about automake. (#104366, Rich Burridge)
11043
11044 Mon Jan 27 16:38:13 2003  Owen Taylor  <otaylor@redhat.com>
11045
11046         * configure.in: Remove SOEXT stuff; it doesn't work portably.
11047
11048 Mon Jan 27 22:45:15 2003  Kristian Rietveld  <kris@gtk.org>
11049
11050         * gtk/gtktreestore.c (gtk_tree_store_move): don't handle b if
11051         we appended/prepended, send the rows_reordered signal to the 
11052         correct level ... (Reported by Matthew Tuck).
11053
11054 Mon Jan 27 22:43:11 2003  Kristian Rietveld  <kris@gtk.org>
11055
11056         * gtk/gtktreestore.c (gtk_tree_store_sort_helper): don't just bail
11057         out if the level only has one item, recurse over the child if there
11058         is one. (Fixes #100458, reported by Gaël Le Mignot).
11059
11060 Mon Jan 27 22:41:26 2003  Kristian Rietveld  <kris@gtk.org>
11061
11062         * gtk/gtktreeview.c (gtk_tree_view_set_model),
11063         (gtk_tree_view_search_equal_func): make TreeView search handle
11064         all types which are transformable by GValue. (Fixes #99803, reported
11065         by Muktha Narayan).
11066
11067 Mon Jan 27 22:39:25 2003  Kristian Rietveld  <kris@gtk.org>
11068
11069         * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_sort_column_id):
11070         *really* handle unsetting the ID. Slightly modified patch from
11071         Soeren Sandmann. Fixes #87556, reported by Jarek Dukat.
11072
11073 Mon Jan 27 22:33:43 2003  Kristian Rietveld  <kris@gtk.org>
11074
11075         Fixes the total GtkTreeSortable mess, and #83195, reported by
11076         Jarek Dukat
11077
11078         * gtk/gtktreestore.c (gtk_tree_store_get_sort_column_id),
11079         (gtk_tree_store_set_sort_column_id), (gtk_tree_store_set_sort_func),
11080         (gtk_tree_store_set_default_sort_func): use the constant
11081         GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID instead of -1, make functions
11082         work as advertised by the documentation.
11083
11084         * gtk/gtklistore.c (gtk_list_store_get_sort_column_id),
11085         (gtk_list_store_set_sort_column_id), (gtk_list_store_set_sort_func),
11086         (gtk_list_store_set_default_sort_func): likewise.
11087
11088         * gtk/gtktreemodelsort.c (gtk_tree_model_set_sort_column_id),
11089         (gtk_tree_model_set_sort_func),
11090         (gtk_tree_model_sort_set_default_sort_func): make functions work
11091         as advertised by the documentation.
11092
11093 Mon Jan 27 22:31:56 2003  Kristian Rietveld  <kris@gtk.org>
11094
11095         * gtk/gtktreeview.c (gtk_tree_view_button_press): update focus_column
11096         before we decide if we edit. (fixes #100973, reported by Dave Cook).
11097
11098 Mon Jan 27 22:29:30 2003  Kristian Rietveld  <kris@gtk.org>
11099
11100         Bug report and test case from Paolo Maggi via IRC.
11101
11102         * gtk/gtkliststore.c (gtk_list_store_swap): update tail if needed,
11103         (gtk_list_store_move): update tail if needed.
11104
11105 Mon Jan 27 16:19:59 2003  Owen Taylor  <otaylor@redhat.com>
11106
11107         * gtk/gtksocket.c (gtk_socket_filter_func): event->any.window
11108         might be NULL. Use gtk_widget_get_display (widget) 
11109         (#102860, Thomas Leonard)
11110
11111 Mon Jan 27 15:58:31 2003  Owen Taylor  <otaylor@redhat.com>
11112
11113         * configure.in: Fix --without-modules/--disable-modules
11114         confusion that was causing --disable-modules not to work.
11115         (#102865, Akira Tagoh)
11116
11117         * configure.in: Fix problem with plain --with-xinput
11118         (#104266, Akira Tagoh)
11119
11120 2003-01-24  Sebastian Rittau  <srittau@jroger.in-berlin.de>
11121
11122         * docs/tutorial/gtk-tut.sgml: Fix a few typos, introduced by my last
11123         patch.
11124
11125 Fri Jan 24 17:06:41 GMT 2003  Tony Gale <gale@gtk.org>
11126
11127         * docs/tutorial/gtk-tut.sgml: Remove duplicate copy of tictactoe.h
11128
11129 Thu Jan 23 21:15:29 GMT 2003  Tony Gale <gale@gtk.org>
11130
11131         * docs/faq/gtk-faq.sgml: Learn to spell Library
11132
11133 Thu Jan 23 20:56:56 GMT 2003  Tony Gale <gale@gtk.org>
11134         * Sebastian Rittau  <srittau@jroger.in-berlin.de>:
11135
11136            docs/tutorial/gtk-tut.sgml: Adopted chapter 21.3 "Creating a
11137            Composite widget" to modern standards. (I.e. use gobject instead of
11138            glib, derive from GtkTable instead of GtkVBox.) Bugzilla #103869.
11139
11140         * docs/tutorial/gtk-tut.sgml, examples/tictactoe: Fixup tic-tac-toe
11141         code in Appendix C to reflect above changes.
11142
11143         * examples/rangewidgets/rangewidgets.c: From Roger Leigh
11144         auto resize on page size change
11145
11146 2003-01-23  Daniel Elstner  <daniel.elstner@gmx.net>
11147
11148         * gtk/gtktoolbar.c (gtk_toolbar_hide_all): Override hide_all
11149         in addition to show_all in order to keep them symmetric. (#102201)
11150
11151 Wed Jan 22 14:18:46 2003  Manish Singh  <yosh@gimp.org>
11152
11153         * gdk/x11/gdkevents-x11.c (translate_key_event): add a "return" at
11154         the end of the function, so there is a statement following the "out"
11155         label in all cases (fixes #101961)
11156
11157 2003-01-22  Christian Rose  <menthos@menthos.com>
11158
11159         * configure.in: Added "mn" to ALL_LINGUAS.
11160
11161 Wed Jan 15 17:02:18 2003  Owen Taylor  <otaylor@redhat.com>
11162  
11163         * gtk/gtktextlayout.c (gtk_text_layout_validate_yrange):
11164         Fix off-by-one error on the backward iteration loop,
11165         that was causing the wrong range to be redrawn.
11166         (at least part of #72734)
11167         
11168 2003-01-21  Matthias Clasen  <maclas@gmx.de>
11169
11170         * gtk/gtktextview.c (gtk_text_view_size_allocate): Adjust the
11171         vadjustment value after changing its bounds.  (fixes #101963 and 
11172         #73562)
11173
11174         * gtk/gtkcolorsel.c (hex_changed): Fix clamping to [0,1] to avoid 
11175         unnecessary roundtrip failures.  (#93500)
11176
11177 2003-01-19  Tor Lillqvist  <tml@iki.fi>
11178
11179         Merge from stable:
11180         
11181         Fix for #103614 and some other problems with GtkFileSelection on
11182         Windows:
11183                 
11184         * gtk/fnmatch.c (get_char): Need to use g_unichar_tolower(), not
11185         g_ascii_tolower(). Windows file names are case-insensitive for all
11186         Unicode letters.
11187
11188         * gtk/gtkfilesel.c: Instead of checking for G_OS_WIN32 or
11189         G_WITH_CYGWIN, check G_PLATFORM_WIN32. Move inclusion of gtkintl.h
11190         earlier, as it includes config.h unconditionally, and gtkprivate.h
11191         redefines GTK_LOCALEDIR.
11192         (struct _CompletionDirSent): Ifdef out the fields not used on
11193         Windows.
11194         (compare_utf8_filenames, compare_sys_filenames): Need different
11195         comparison implementation for UTF-8 file names and system locale
11196         file names on Win32. Cannot simply use g_ascii_strcasecmp(), but
11197         need to casefold all Unicode letters.
11198         (cmpl_completion_matches, open_dir, correct_parent): Ifdef out
11199         variables not used on Win32 to avoid warnings about unused
11200         variables.
11201         (open_ref_dir): Use g_path_skip_root() to skip past potential
11202         drive letter in front of the leading (back)slash.
11203         (open_new_dir): Ifdef out use of CompletionDirSent fields not
11204         there on Win32.
11205         (correct_parent): Bypass inode check also on Cygwin.
11206
11207         Fix bug noticed by Alex Shaduri: Tooltips and other
11208         GDK_WINDOW_TEMP windows were activated. This looked very odd, and
11209         was a regression from earlier versions.
11210         
11211         * gdk/win32/gdkwindow-win32.c (show_window_internal): Fine-tune
11212         behaviour. Don't ever activate GDK_WINDOW_TEMP windows.
11213         (gdk_window_move, gdk_window_resize): Add debug logging.
11214
11215         * gdk/win32/gdkevents-win32.c (gdk_event_translate): When we get a
11216         WM_SIZE message for a non-visible (withdrawn) window, don't clear
11217         the GDK_WINDOW_STATE_WITHDRAWN bit. The window is still withdrawn
11218         even if its size changes.
11219
11220 2003-01-16  Matthias Clasen  <maclas@gmx.de>
11221
11222         * gtk/gtktextlayout.c (gtk_text_layout_get_cursor_locations): Typo fixes.
11223         (totally_invisible_line): Fix an incorrect optimization which
11224         caused invisible paragraphs to be occasionally misrendered.
11225
11226 Wed Jan 15 15:55:47 2003  Owen Taylor  <otaylor@redhat.com>
11227
11228         * gtk/gtksettings.c: Set the double click speed from
11229         XSETTINGS when creating a new GtkSettings object
11230         as well as when getting a notify. (#103601, reported
11231         by Louis Garcia)
11232
11233 Wed Jan 15 14:56:09 2003  Owen Taylor  <otaylor@redhat.com>
11234  
11235         * gtk/gtknotebook.c (gtk_notebook_size_allocate): 
11236         Show/hide the notebook event window as necessary,
11237         we weren't previously keeping the visibility updated
11238         properly.  (#103599)
11239  
11240 2003-01-15  Matthias Clasen  <maclas@gmx.de>
11241
11242         * examples/menu/itemfactory.c: 
11243         * docs/tutorial/gtk-tut.sgml: Add a <StockItem> to the itemfactory
11244         example.  (#103211)
11245
11246 2002-12-29  Murray Cumming  <murrayc@usa.net>
11247
11248         Fixes #102168.
11249
11250         * gtk/gtkliststore.c, gtktreednd.c, gtktreestore.c:
11251         Actually implement the GtkTreeDragSource::row_draggable virtual 
11252         function in GtkListStore and GtkTreeStore instead of just checking 
11253         whether it's implemented at all. This means that DnD isn't broken by
11254         gtkmm's virtual function wrappers. The alternative would be to
11255         hard-code the TRUE return value into gtkmm's wrappers, but that's 
11256         part of GTK+'s implementation, not it's API.
11257
11258 Tue Jan 14 23:42:29 2003  Kristian Rietveld  <kris@gtk.org>
11259
11260         * gtk/gtktreeview.c: fix compiler warning.
11261
11262 Tue Jan 14 23:29:00 2003  Kristian Rietveld  <kris@gtk.org>
11263
11264         * gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_render):
11265         make sure exposed pixbufs are clipped to the exposed area before
11266         drawing, which is a slight speedup. (#102379, patch from Soeren
11267         Sandmann).
11268
11269 Tue Jan 14 23:26:41 2003  Kristian Rietveld  <kris@gtk.org>
11270
11271         * gtk/gtktreeview.c (validate_visible_area): silly typo fix,
11272         only free scroll_to_path when the complete tree has been validated.
11273         This makes sure that we scrolled to the correct path.
11274
11275 Tue Jan 14 23:25:32 2003  Kristian Rietveld  <kris@gtk.org>
11276
11277         * gtk/gtktreeview.c (gtk_tree_view_style_set): update the
11278         background of widget->window and bin->window. (Fixes #96650, reported
11279         by Dave Camp).
11280
11281 Tue Jan 14 23:24:02 2003  Kristian Rietveld  <kris@gtk.org>
11282
11283         * gtk/gtktreeview.c (gtk_tree_view_clamp_node_visible): process
11284         updates before scrolling, avoiding a "selection streak". (Fixes
11285         #101235, patch from Soeren Sandmann).
11286
11287 Tue Jan 14 23:22:13 2003  Kristian Rietveld  <kris@gtk.org>
11288
11289         * gtk/gtktreeview.c (validate_visible_area): actually put values
11290         in the requisition using gtk_widget_size_request. (Fixes #100172,
11291         reported by Kjartan Maraas).
11292
11293 Tue Jan 14 23:19:45 2003  Kristian Rietveld  <kris@gtk.org>
11294
11295         * gtk/gtktreeview.c (gtk_tree_view_rows_reordered): cancel the
11296         arrow animation timeout before we actually reorder the rbtree. If
11297         we don't do this we can get stuck arrows,
11298         (cancel_arrow_animation): new function. (Fixes #93629, part 2,
11299         reported and testcase provided by Hans Petter Jansson).
11300
11301 Tue Jan 14 23:18:21 2003  Kristian Rietveld  <kris@gtk.org>
11302
11303         * gtk/gtktreeselection.c (gtk_tree_selection_real_modify_range):
11304         anchor_path should be start_path, not end_path. (Fixes #102618,
11305         patch from Carlos Garnacho Parro).
11306
11307 Tue Jan 14 23:16:15 2003  Kristian Rietveld  <kris@gtk.org>
11308
11309         * gtk/gtkliststore.c (gtk_list_store_move): also update the tail,
11310         only correct new_pos if we don't move to the head/tail.
11311
11312 Tue Jan 14 23:11:55 2003  Kristian Rietveld  <kris@gtk.org>
11313
11314         * gtk/gtktreestore.c (gtk_tree_store_swap): take the path from
11315         the parent_iter if depth >= 1, so we send the reordered signal to
11316         the correct level, remove debugging printfs which I forgot the remove
11317         earlier (2.2.0 shipped with this, oops). (Fixes #103198, Reported and
11318         testcase provided by Matthew Tuck).
11319
11320 Tue Jan 14 20:58:44 2003  Kristian Rietveld  <kris@gtk.org>
11321
11322         * gtk/gtktreeview.c (invalite_last_column): split out actual column
11323         invalidation into invalidate_column(),
11324         (gtk_tree_view_size_allocate_columns): invalidate column if the
11325         new width is larger than the old width.
11326         (fixes #102890, reported by Alex Duggan).
11327
11328 2003-01-14  Matthias Clasen  <maclas@gmx.de>
11329
11330         * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Skip
11331         invisible chars for GTK_MOVEMENT_LOGICAL_POSITIONS and
11332         GTK_MOVEMENT_WORDS.
11333
11334         * gtk/gtktextiter.c,
11335         gtk/gtktextiter.h: Add some variant movement functions which
11336         skip invisible chars, and do some cleanups.
11337
11338 2003-01-12  Tor Lillqvist  <tml@iki.fi>
11339
11340         Merge from stable:
11341                 
11342         * gtk/gtkmain.c: Move inclusion of config.h and gtkintl.h earlier,
11343         as gtkprivate.h redefines GTK_LOCALEDIR on Win32, for run-time
11344         lookup.
11345
11346         * gdk/Makefile.am (libgdk_win32_2_0_la_DEPENDENCIES): Depend on
11347         gdk.def.
11348
11349         * gdk/gdk.def
11350         * gtk/gtk.def: Add some missing entries. Thanks to Kenichi SUTO.
11351
11352         * gtk-zip.sh.in (DEVZIP): Add bin/{gtk-query-immodules-2.0,
11353         gtk-demo}.exe and share/gtk-2.0.
11354
11355         * gdk/win32/gdkwindow-win32.c (gdk_window_set_skip_taskbar_hint):
11356         Implement by setting or clearing the WS_EX_TOOLWINDOW extended
11357         window style.
11358         (gdk_window_set_type_hint): Add all cases to the switch (not all
11359         do anything, though). Handle GDK_WINDOW_TYPE_HINT_TOOLBAR by
11360         calling gdk_window_set_skip_taskbar_hint(). This means that GTK
11361         won't know that the skip_taskbar hint is on for the window, is
11362         this bad?
11363
11364 Wed Jan  8 18:43:03 2003  Manish Singh  <yosh@gimp.org>
11365
11366         * gdk/x11/gdkdisplay-x11.c: #include <stdlib.h> for putenv,
11367         <string.h> for strlen.
11368
11369         * gdk/x11/gdkscreen-x11.c: #include <stdlib.h> for getenv,
11370         <string.h> for strrchr.
11371
11372         * tests/testgtk.c (create_saved_position): "x" and "y" properties
11373         for widgets no longer exist, use gtk_window_move instead.
11374
11375         * test/testtextbuffer.c (check_get_set_text): cast strlen to
11376         int for g_error.
11377
11378 2003-01-08  Matthias Clasen  <maclas@gmx.de>
11379
11380         * gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix display of
11381         the selection in the presence of invisible segments.
11382
11383 2003-01-07  Matthias Clasen  <maclas@gmx.de>
11384
11385         * gtk/gtktextview.c (gtk_text_view_class_init): Bind C-/ and C-\
11386         to "select all" and "unselect all".  (#102065)
11387
11388         * gtk/gtktextview.h (struct _GtkTextView): Add a comment that
11389         the just_selected_element is unused.
11390
11391         * gtk/gtktextview.c (extend_selection): New helper function to
11392         find the range that should be added to the selection. 
11393         (selection_motion_event_handler): 
11394         (gtk_text_view_start_selection_drag): 
11395         (gtk_text_view_end_selection_drag): 
11396         (selection_motion_event_handler): 
11397         (selection_scan_timeout): Support select-by-words/lines.
11398         (gtk_text_view_button_press_event): Start a selection drag on
11399         double/triple clicks.  (#78499)
11400
11401 2003-01-06  Matthias Clasen  <maclas@gmx.de>
11402
11403         Implement a utility function proposed in #102534:
11404         
11405         * gtk/gtktextbtree.h: 
11406         * gtk/gtktextbtree.c (_gtk_text_btree_select_range): New function.
11407         (_gtk_text_btree_place_cursor): Now a simple wrapper around
11408         _gtk_text_btree_select_range().   
11409
11410         * gtk/gtktextbuffer.h: 
11411         * gtk/gtktextbuffer.c (gtk_text_buffer_select_range): New function.
11412         (gtk_text_buffer_place_cursor): Now a simple wrapper around
11413         gtk_text_buffer_select_range(). 
11414
11415 2003-01-05  Havoc Pennington  <hp@pobox.com>
11416
11417         * configure.in: fix a stray bracket that was breaking the build
11418
11419 2003-01-05  Tor Lillqvist  <tml@iki.fi>
11420
11421         * gtk-zip.sh.in: Use correct DLL and import library names, with
11422         GTK_API_VERSION in name, not GTK_MAJOR_VERSION.GTK_MINOR_VERSION.
11423         (DEVZIP): Add gdk-pixbuf-query-loaders.exe.
11424
11425         * configure.in: Improve check for dimm.h.
11426
11427         * configure.in: Set SOEXT to 'so' on Unix, 'dll' on Win32. Used in
11428         gdk-pixbuf/Makefile.am.
11429
11430         * gdk-pixbuf/makefile.mingw.in
11431         * gdk-pixbuf/pixops/makefile.mingw.in
11432         * gdk/makefile.mingw.in
11433         * gdk/win32/makefile.mingw.in
11434         * gtk/makefile.mingw.in: Remove. Not maintained anyway.
11435
11436         * gdk-pixbuf/Makefile.am
11437         * gdk-pixbuf/pixops/Makefile.am
11438         * gdk/Makefile.am
11439         * gdk/win32/Makefile.am
11440         * gtk/Makefile.am
11441         * configure.in: Remove makefile.mingw{,.in} from here, too.
11442         
11443         * README.win32: Updates. Don't mention the now removed
11444         makefile.mingw files.
11445
11446         * gdk/gdk.def
11447         * gtk/gtk.def: Add a couple of missing entries.
11448
11449         * gdk/gdkkeynames.c: Include <string.h> for strcmp() and memcpy().
11450
11451         * gdk/win32/gdkevents-win32.c: Move dimm.h header clash workaround
11452         earlier.
11453
11454         * gdk/win32/rc/Makefile.am: Add hack to help
11455         build/win32/lt-compile-resource decide which kind of libtool
11456         object file to produce.
11457
11458 2003-01-05  Matthias Clasen  <maclas@gmx.de>
11459
11460         * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Make
11461         C-Down step through the sequence of paragraph ends (old behaviour
11462         included paragraph starts).  (#80340, patch by Narayana Pattipati)
11463
11464         * gtk/gtktextiter.c (_gtk_text_btree_get_iter_at_first_toggle):
11465         Check for a tag toggle at the start iterator before calling
11466         gtk_text_iter_forward_to_tag_toggle().  (#102090, patch by Daniel 
11467         Elstner)
11468
11469 2003-01-04  Matthias Clasen  <maclas@gmx.de>
11470
11471         * gtk/gtkfilesel.h (struct _GtkFileSelection): Add /*< public >*/
11472         and /*< private >*/ as appropriate.  (#97211)
11473
11474 2003-01-04  Tor Lillqvist  <tml@iki.fi>
11475
11476         * Makefile.am (EXTRA_DIST): Don't distribute gtk-zip.sh, but do
11477         distribute gtk-zip.sh.in.
11478
11479         * gtk-zip.sh.in (DEVZIP): Add gdk-pixbuf-csource.exe and .1.
11480
11481 2003-01-03  Havoc Pennington  <hp@pobox.com>
11482
11483         * docs/Makefile.am (EXTRA_DIST): put it in EXTRA_DIST
11484
11485         * docs/text_widget_internals.txt: add a file documenting some of
11486         the text widget internals
11487
11488 2003-01-02  Matthias Clasen  <maclas@gmx.de>
11489
11490         * gtk/gtkwindow.c (gtk_window_get_focus): Document that it may
11491         return NULL.  (#102069)
11492
11493 2003-01-01  Matthias Clasen  <maclas@gmx.de>
11494
11495         * gtk/fnmatch.c (FNMATCH_TEST_CASES): #undef, since having
11496         a main() in the library is obviously bad. 
11497
11498 2002-12-27  Matthias Clasen  <maclas@gmx.de>
11499
11500         * gtk/gtktextview.c (gtk_text_view_drag_data_received): Place the
11501         cursor at drop point.  (#72384)
11502         (gtk_text_view_size_allocate): Update the horizontal adjustment
11503         value.  (#75694)
11504
11505 2002-12-25  Matthias Clasen  <maclas@gmx.de>
11506
11507         * gtk/gtktextdisplay.c (gtk_text_layout_draw): Fix highlighting of
11508         selection wrt. to empty lines.  (#90435, #90582, #91619)
11509
11510         * gtk/gtktextview.c (gtk_text_view_preedit_changed_handler):
11511         Keep the cursor on screen.  (#96929)
11512
11513 2002-12-24  Matthias Clasen  <maclas@gmx.de>
11514
11515         * gtk/gtktextbuffer.c (paste_from_buffer): 
11516         (clipboard_text_received): Let the user action span the insertion
11517         and the deletion of the old selection.  (#82844)
11518
11519 2002-12-23  Matthias Clasen  <maclas@gmx.de>
11520
11521         * gtk/gtktextiter.c (gtk_text_iter_backward_sentence_starts):
11522         Don't call gtk_text_iter_backward_sentence_start() if
11523         count is zero.  (#99115)
11524
11525         * gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Call
11526         move_cursor() even if the cursor hasn't moved, since it has the
11527         side effect of canceling the selection.  (#81395, #98537, #98333)
11528
11529 2002-12-22  Matthias Clasen  <maclas@gmx.de>
11530
11531         * gtk/gtktextlayout.c (add_preedit_attrs): Don't add attributes
11532         with empty ranges.  (fixes #101564 and #80637)
11533
11534 2002-12-21  Tor Lillqvist  <tml@iki.fi>
11535
11536         * gdk/win32/gdkwindow-win32.c (gdk_window_new): Move the code that
11537         sets the window style and extended window style, and adjusts the
11538         width and height to take the window decorations into account
11539         earlier. The adjusted width and height used to be ignored. Remove
11540         the local x, y, width and height variables, no need to further
11541         confuse the code by having local copies. (Partial fix, I hope, for
11542         #101588)
11543
11544         (gdk_window_move): When moving top-level windows, take title bar
11545         and border width into account, offsetting the coordinates before
11546         calling SetWindowPos().
11547
11548         (gdk_window_set_decorations, gdk_window_set_functions):
11549         Reimplement, taking into account the peculiar semantics of
11550         GDK_DECOR_ALL and GDK_FUNC_ALL. (#79036)
11551
11552         (gdk_window_get_decorations): Implement. (#98981)
11553         
11554         (gdk_window_set_type_hint): When setting
11555         GDK_WINDOW_TYPE_HINT_MENU, call gdk_window_set_decorations().
11556         (#79036)
11557
11558         * gdk/gdk.def: Add gdk_window_get_decorations. (#98981)
11559
11560 2002-12-21  Matthias Clasen  <maclas@gmx.de>
11561
11562         * gtk/gtktextview.c (gtk_text_view_set_background): New static
11563         function to set the background of all windows.
11564         (gtk_text_view_style_set): Use gtk_text_view_set_background().
11565         (gtk_text_view_state_changed): New function; change background
11566         according to state.  (#88126)
11567
11568 2002-12-21  Havoc Pennington  <hp@pobox.com>
11569
11570         * gtk/gtktextview.c (gtk_text_view_move_visually): fix the documentation
11571