CID:123 - NEGATIVE_RETURNS - Possible use of negative file descriptor
[sxemacs] / src / ChangeLog.1.XEmacs
1 1998-05-06  Oliver Graf <ograf@fga.de>
2
3         * Makefile.in.in: removed dragdrop.o from objs
4         * config.h.in: HAVE_DRAGNDROP added
5         * emacs.c: do syms_of_dragdrop only if HAVE_DRAGNDROP is defined
6         * event-Xt.c: dragdrop.h include now depends on HAVE_DRAGNDROP
7         changed calls to dnd_url_hexify_string
8         MIME data is now a list of MIME strings or lists
9         this was required by CDE, and a good idea in any case
10         * dragdrop.c (dnd_url_hexify_string): method prefix code added
11         * dragdrop.h: dnd_url_hexify_string prototype changed
12         * frame-x.c (x_cde_transfer_callback): CDE adapted the new API
13
14 1998-05-05  Jonathan Harris <jhar@tardis.ed.ac.uk>
15
16         * event-msw.c: now creates misc-user-events on dnd drops
17
18 1998-05-05  Oliver Graf <ograf@fga.de>
19
20         * events.h: changed comment for misc_user_events
21         * events.c (make-event): removed dnd_data defs
22         * frame.c: removed everything referring to drag_and_drop_functions
23         * frame-x.c (x_cde_transfer_callback): disabled (needs to be changed)
24         * lisp.h: removed Qdnd_data
25         * general.c: removed Qdnd_data
26         * symsinit.h: added syms_of_dragdrop
27         * frame.el: deleted default-drag-and-drop-functions
28
29 1998-05-04  Oliver Graf <ograf@fga.de>
30
31         * events.c: removed all dnd_drop stuff
32         * events.h: extended misc_user_data by button info
33         removed dnd_drop event
34         * emacs.c: added call to syms_of_dragdrop
35         * dragdrop.c: created
36         * dragdrop.h: created
37         * event-stream.c (enqueue_misc_user_event): initialization of the
38         new fields of misc_user_data
39         dnd_drop stuff removed
40         * keymap.c: drop symbols removed
41         * Makefile.in.in: added dragdrop.o to objs
42
43 1998-05-09  SL Baur  <steve@altair.xemacs.org>
44
45         * EmacsFrame.c (EmacsFrameSetValues): Fix typo.
46         Suggested by: Kirill M. Katsnelson  <kkm@kis.ru>
47
48 1998-05-09  Kirill M. Katsnelson  <kkm@kis.ru>
49
50         * This change adds four scrollbar specifiers:
51           {horizontal,vertical}-scrollbar-visible-p and
52           scrollbar-on-{top,left}-p.
53           Spare parts supplied by Didier Verna <didier@xemacs.org>
54
55         * frameslots.h: Added slots for the four specifier caching.
56
57         * frame.h: FRAME_SCROLLBAR_{WIDTH,HEIGHT} count for scrollbar
58         visible specifiers.
59         Removed old resource-only controlled scrollbar_on_* ints.
60
61         * frame-x.c (x_layout_widgets): Removed (to x-scrollbar.el)
62         initialization of old style scrollbar placement from resources.
63
64         * frame-tty.c (tty_init_frame_1): Removed initialization of old
65         style scrollbar placement.
66
67         * frame-msw.c (mswindows_init_frame_1): Removed random
68         initialization of scrollbar sizes to 15 pixel.
69
70         * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Use
71         scrollbar placement specifiers cached values from window, instead
72         of the old per-frame values.
73         (mswindows_output_vertical_divider): Ditto.
74
75         * redisplay-x.c (x_output_vertical_divider): Ditto.
76
77         * redisplay-output.c (redisplay_clear_bottom_of_window): Ditto.
78
79         * scrollbar.c (update_scrollbar_instance): Ditto.
80         (specifier_vars_of_scrollbar): Declared the four specifiers.
81
82         * window.h (struct window): Defined slots for caching the new
83         specifiers.
84
85         * window.c (mark_window): Mark them.
86         (allocate_window): Initialize them.
87         (struct saved_window): Store them in a cool place.
88         (saved_window_equal): Compare them.
89         (save_window_save): Save them.
90         (Fset_window_configuration): Fetch them back.
91         (window_needs_vertical_divider): Check for scrollbar placement
92         using window cached specs.
93         (window_top_gutter_height): Ditto.
94         (window_bottom_gutter_height): Ditto.
95         (window_left_gutter_width): Ditto.
96         (window_right_gutter_width): Ditto.
97         (window_scrollbar_width): Account for scrollbar visibility
98         specification in window.
99         (window_scrollbar_height): Ditto.
100
101 1998-04-18  Kirill M. Katsnelson  <kkm@kis.ru>
102
103         * device.c (Fdevice_system_metrics): Added function.
104         Moved (device-pixel-height), (device-pixel-width),
105         (device-mm-width), (device-mm-height), (device-bitplanes),
106         (device-color-cells) to device.el, amd make them call
107         (device-system-metrics).
108
109         * console.h (struct console_methods): Replaced methods:
110         device_pixel_width_method(), device_pixel_height_method(),
111         device_mm_width_method(), device_mm_height_method(),
112         device_bitplanes_method(), device_color_cells_method()
113         with single device_system_metrics_method().
114         (device_metrics): Declared enumeration of supported
115         device system metrics.
116
117         * device-msw.c (mswindows_device_system_metrics): Implement
118         device_system_metrics_method(), remove six obsolete methods.
119
120         * device-tty.c (tty_device_system_metrics): Ditto.
121
122         * device-x.c (x_device_system_metrics): Ditto.
123
124 1998-05-10  Kirill M. Katsnelson  <kkm@kis.ru>
125
126         * EmacsFrame.c (update_various_frame_slots): Do not store internal
127         border width there.
128         (EmacsFrameInitialize): Do it rather here.
129         (EmacsFrameSetValues): If EditRes has changed internal border
130         width, mark frame size as slipped.
131
132 1998-05-06  Kirill M. Katsnelson  <kkm@kis.ru>
133
134         * frame.h (struct frame): Added char_{width,height} member
135         variables and access macros
136         Added size_slipped redisplay bit and mark/clear macros.
137
138         * redisplay.c (red