comparison etc/ChangeLog @ 853:2b6fa2618f76

[xemacs-hg @ 2002-05-28 08:44:22 by ben] merge my stderr-proc ws make-docfile.c: Fix places where we forget to check for EOF. code-init.el: Don't use CRLF conversion by default on process output. CMD.EXE and friends work both ways but Cygwin programs don't like the CRs. code-process.el, multicast.el, process.el: Removed. Improvements to call-process-internal: -- allows a buffer to be specified for input and stderr output -- use it on all systems -- implement C-g as documented -- clean up and comment call-process-region uses new call-process facilities; no temp file. remove duplicate funs in process.el. comment exactly how coding systems work and fix various problems. open-multicast-group now does similar coding-system frobbing to open-network-stream. dumped-lisp.el, faces.el, msw-faces.el: Fix some hidden errors due to code not being defined at the right time. xemacs.mak: Add -DSTRICT. ================================================================ ALLOW SEPARATION OF STDOUT AND STDERR IN PROCESSES ================================================================ Standard output and standard error can be processed separately in a process. Each can have its own buffer, its own mark in that buffer, and its filter function. You can specify a separate buffer for stderr in `start-process' to get things started, or use the new primitives: set-process-stderr-buffer process-stderr-buffer process-stderr-mark set-process-stderr-filter process-stderr-filter Also, process-send-region takes a 4th optional arg, a buffer. Currently always uses a pipe() under Unix to read the error output. (#### Would a PTY be better?) sysdep.h, sysproc.h, unexfreebsd.c, unexsunos4.c, nt.c, emacs.c, callproc.c, symsinit.h, sysdep.c, Makefile.in.in, process-unix.c: Delete callproc.c. Move child_setup() to process-unix.c. wait_for_termination() now only needed on a few really old systems. console-msw.h, event-Xt.c, event-msw.c, event-stream.c, event-tty.c, event-unixoid.c, events.h, process-nt.c, process-unix.c, process.c, process.h, procimpl.h: Rewrite the process methods to handle a separate channel for error input. Create Lstreams for reading in the error channel. Many process methods need change. In general the changes are fairly clear as they involve duplicating what's used for reading the normal stdout and changing for stderr -- although tedious, as such changes are required throughout the entire process code. Rewrote the code that reads process output to do two loops, one for stdout and one for stderr. gpmevent.c, tooltalk.c: set_process_filter takes an argument for stderr. ================================================================ NEW ERROR-TRAPPING MECHANISM ================================================================ Totally rewrite error trapping code to be unified and support more features. Basic function is call_trapping_problems(), which lets you specify, by means of flags, what sorts of problems you want trapped. these can include -- quit -- errors -- throws past the function -- creation of "display objects" (e.g. buffers) -- deletion of already-existing "display objects" (e.g. buffers) -- modification of already-existing buffers -- entering the debugger -- gc -- errors->warnings (ala suspended errors) etc. All other error funs rewritten in terms of this one. Various older mechanisms removed or rewritten. window.c, insdel.c, console.c, buffer.c, device.c, frame.c: When creating a display object, added call to note_object_created(), for use with trapping_problems mechanism. When deleting, call check_allowed_operation() and note_object deleted(). The trapping-problems code records the objects created since the call-trapping-problems began. Those objects can be deleted, but none others (i.e. previously existing ones). bytecode.c, cmdloop.c: internal_catch takes another arg. eval.c: Add long comments describing the "five lists" used to maintain state (backtrace, gcpro, specbind, etc.) in the Lisp engine. backtrace.h, eval.c: Implement trapping-problems mechanism, eliminate old mechanisms or redo in terms of new one. frame.c, gutter.c: Flush out the concept of "critical display section", defined by the in_display() var. Use an internal_bind() to get it reset, rather than just doing it at end, because there may be a non-local exit. event-msw.c, event-stream.c, console-msw.h, device.c, dialog-msw.c, frame.c, frame.h, intl.c, toolbar.c, menubar-msw.c, redisplay.c, alloc.c, menubar-x.c: Make use of new trapping-errors stuff and rewrite code based on old mechanisms. glyphs-widget.c, redisplay.h: Protect calling Lisp in redisplay. insdel.c: Protect hooks against deleting existing buffers. frame-msw.c: Use EQ, not EQUAL in hash tables whose keys are just numbers. Otherwise we run into stickiness in redisplay because internal_equal() can QUIT. ================================================================ SIGNAL, C-G CHANGES ================================================================ Here we change the way that C-g interacts with event reading. The idea is that a C-g occurring while we're reading a user event should be read as C-g, but elsewhere should be a QUIT. The former code did all sorts of bizarreness -- requiring that no QUIT occurs anywhere in event-reading code (impossible to enforce given the stuff called or Lisp code invoked), and having some weird system involving enqueue/dequeue of a C-g and interaction with Vquit_flag -- and it didn't work. Now, we simply enclose all code where we want C-g read as an event with {begin/end}_dont_check_for_quit(). This completely turns off the mechanism that checks (and may remove or alter) C-g in the read-ahead queues, so we just get the C-g normal. Signal.c documents this very carefully. cmdloop.c: Correct use of dont_check_for_quit to new scheme, remove old out-of-date comments. event-stream.c: Fix C-g handling to actually work. device-x.c: Disable quit checking when err out. signal.c: Cleanup. Add large descriptive comment. process-unix.c, process-nt.c, sysdep.c: Use QUIT instead of REALLY_QUIT. It's not necessary to use REALLY_QUIT and just confuses the issue. lisp.h: Comment quit handlers. ================================================================ CONS CHANGES ================================================================ free_cons() now takes a Lisp_Object not the result of XCONS(). car and cdr have been renamed so that they don't get used directly; go through XCAR(), XCDR() instead. alloc.c, dired.c, editfns.c, emodules.c, fns.c, glyphs-msw.c, glyphs-x.c, glyphs.c, keymap.c, minibuf.c, search.c, eval.c, lread.c, lisp.h: Correct free_cons calling convention: now takes Lisp_Object, not Lisp_Cons chartab.c: Eliminate direct use of ->car, ->cdr, should be black box. callint.c: Rewrote using EXTERNAL_LIST_LOOP to avoid use of Lisp_Cons. ================================================================ USE INTERNAL-BIND-* ================================================================ eval.c: Cleanups of these funs. alloc.c, fileio.c, undo.c, specifier.c, text.c, profile.c, lread.c, redisplay.c, menubar-x.c, macros.c: Rewrote to use internal_bind_int() and internal_bind_lisp_object() in place of whatever varied and cumbersome mechanisms were formerly there. ================================================================ SPECBIND SANITY ================================================================ backtrace.h: - Improved comments backtrace.h, bytecode.c, eval.c: Add new mechanism check_specbind_stack_sanity() for sanity checking code each time the catchlist or specbind stack change. Removed older prototype of same mechanism. ================================================================ MISC ================================================================ lisp.h, insdel.c, window.c, device.c, console.c, buffer.c: Fleshed out authorship. device-msw.c: Correct bad Unicode-ization. print.c: Be more careful when not initialized or in fatal error handling. search.c: Eliminate running_asynch_code, an FSF holdover. alloc.c: Added comments about gc-cons-threshold. dialog-x.c: Use begin_gc_forbidden() around code to build up a widget value tree, like in menubar-x.c. gui.c: Use Qunbound not Qnil as the default for gethash. lisp-disunion.h, lisp-union.h: Added warnings on use of VOID_TO_LISP(). lisp.h: Use ERROR_CHECK_STRUCTURES to turn on ERROR_CHECK_TRAPPING_PROBLEMS and ERROR_CHECK_TYPECHECK lisp.h: Add assert_with_message. lisp.h: Add macros for gcproing entire arrays. (You could do this before but it required manual twiddling the gcpro structure.) lisp.h: Add prototypes for new functions defined elsewhere.
author ben
date Tue, 28 May 2002 08:45:36 +0000
parents aaf4e86e0a2d
children 2367ca81af28
comparison
equal deleted inserted replaced
852:d83885ef293b 853:2b6fa2618f76
1 2002-04-05 Stephen J. Turnbull <stephen@xemacs.org>
2
3 * XEmacs 21.5.6 "bok choi" is released.
4
5 2002-03-30 Steve Youngs <youngs@xemacs.org>
6
7 * package-index.LATEST.gpg: Update to current reality.
8
9 * package-index.LATEST.pgp: Ditto.
10
11 2002-03-25 Ben Wing <ben@xemacs.org>
12
13 * unicode/unicode-consortium/8859-16.TXT:
14 New file.
15
16 2002-03-24 Ben Wing <ben@xemacs.org>
17
18 * DISTRIB:
19 * DISTRIB (donation): Removed.
20 Eliminate FSF distribution information; we're not FSF.
21
22 2002-03-18 Ben Wing <ben@xemacs.org>
23
24 * unicode\mule-ucs\*: New directory, containing translation
25 files for the remaining charsets that are not in
26 unicode\unicode-consortium but are in mule-ucs.
27
28 * unicode\other\*: New directory, containing translation
29 files made up on an ad-hoc basis.
30
31 * unicode\README: Update.
32
33 2001-05-04 Ben Wing <ben@xemacs.org>
34
35 * check_cygwin_setup.sh (distdir): Update for current
36 Cygwin reality.
37
38 * NEWS: Remove kill-whole-line changes.
39
40 2001-04-17 Ben Wing <ben@xemacs.org>
41
42 * NEWS: More changes.
43
44 * sample.init.el (grep-all-files-in-current-directory-and-below):
45 Missing argument.
46
47 2001-04-15 Ben Wing <ben@xemacs.org>
48
49 * NEWS:
50 * NEWS (C):
51 * NEWS (commands):
52 Many, many changes for XEmacs 21.4.
53
54 2002-03-05 Stephen J. Turnbull <stephen@xemacs.org>
55
56 * XEmacs 21.5.5 "beets" is released.
57
58 2002-02-28 Stephen J. Turnbull <stephen@xemacs.org>
59
60 * TUTORIAL.se: New from Mats Lidell.
61
62 2002-02-04 Stephen J. Turnbull <stephen@xemacs.org>
63
64 * BETA: General update. Fix some broken URLs.
65
66 2002-01-23 Jarl Friis <jarl@diku.dk>
67
68 * BETA (http): Informing of xemacs-patches mailing list. Added
69 note on patch etiquette.
70
71 2002-01-08 Stephen J. Turnbull <stephen@xemacs.org>
72
73 * XEmacs 21.5.4 "bamboo" is released.
74
75 2001-05-27 Kazuo Oishi <oishi@n-pl.org>
76
77 * xemacs-ja.1: Replace with new translation.
78
79 2001-12-29 Steve Youngs <youngs@xemacs.org>
80
81 * package-index.LATEST.gpg: Update.
82
83 * package-index.LATEST.pgp: Update.
84
85 2001-12-18 Jan Vroonhof <jan@xemacs.org>
86
87 * photos/jan.png: Add mug shot.
88
89 2001-12-03 Didier Verna <didier@xemacs.org>
90
91 * NEWS: advertise `C-x r p' (replace-rectangle) in global map.
92
93 2001-09-19 Ben Wing <ben@xemacs.org>
94
95 * TUTORIAL.de: Translate TERMINOLOGY section for TUTORIAL.de,
96 change menu entry separator from / to ->. Change SPC to <Space>.
97
98 2001-10-07 Adrian Aichner <adrian@xemacs.org>
99
100 * TUTORIAL.de: Update of TUTORIAL.de according to Ben's
101 Updates and Syncing with Emacs 21.0.106.
102
103 2001-08-21 Adrian Aichner <adrian@xemacs.org>
104
105 * BETA (writing): Advertise use of build-report.
106
107 2001-09-07 Stephen J. Turnbull <stephen@xemacs.org>
108
109 * XEmacs 21.5.3 "asparagus" is released.
110
111 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
112
113 * XEmacs 21.5.2 "artichoke" is released.
114
115 2001-07-26 Stephen J. Turnbull <stephen@xemacs.org>
116
117 * MYTHOLOGY, etc/OXYMORONS: Remove.
118 etc/VEGETABLES: Copied from xemacs-builds module, file Codenames-21.5.
119 Bring codenames into synch with reality.
120
121 2001-07-18 Adrian Aichner <adrian@xemacs.org>
122
123 * TUTORIAL: Fix minor typo.
124 * TUTORIAL.de: Sync with TUTORIAL.
125
126 2001-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
127
128 * xemacs-ja.1: Removed.
129
130 2001-05-23 Ben Wing <ben@xemacs.org>
131
132 * sample.init.el:
133 * sample.init.el (Init-safe-require): New.
134 * sample.init.el ((fboundp 'pending-delete-mode)):
135 * sample.init.el ((eq system-type 'windows-nt)):
136 * sample.init.el (dired):
137 * sample.init.el ((Init-safe-require 'efs-auto)):
138 * sample.init.el (completer):
139 * sample.init.el (crypt):
140 * sample.init.el (filladapt):
141 * sample.init.el ((fboundp 'turn-on-lazy-lock)):
142 * sample.init.el ((fboundp 'resize-minibuffer-mode)):
143 * sample.init.el ((Init-safe-require 'scroll-in-place)):
144 Rewrite to be much more careful about loading features -- now
145 it decays gracefully even in the complete absence of packages.
146 Also avoid doing obnoxious things when loading efs.
147
148 2001-05-10 Paul Stodghill <stodghil@cs.cornell.edu>
149
150 * PACKAGES: Update to reflect new package dir tree.
151
152 2001-05-15 Steve Youngs <youngs@xemacs.org>
153
154 * PACKAGES: Update to reflect new package dir tree.
155
156 2001-05-09 Martin Buchholz <martin@xemacs.org>
157
158 * XEmacs 21.5.1 "anise" is released.
159
160 2001-01-31 Jason R. Mastaler <jason@xemacs.org>
161
162 * FTP: Updated FTP mirrors list.
163
164 2001-04-18 Martin Buchholz <martin@xemacs.org>
165
166 * XEmacs 21.5.0 "alfalfa" is released.
167
168 2001-03-30 Ben Wing <ben@xemacs.org> 1 2001-03-30 Ben Wing <ben@xemacs.org>
169 2
170 * sample.init.el: 3 * sample.init.el:
171 * sample.init.el (Init-kill-entire-line): 4 * sample.init.el (Init-kill-entire-line):
172 * sample.init.el (describe-foo-at-point): 5 * sample.init.el (describe-foo-at-point):
188 Add documentation for defined functions. Change grep functions to 21 Add documentation for defined functions. Change grep functions to
189 be more generally useful. Document more specifically what the 22 be more generally useful. Document more specifically what the
190 `menu-force' setting actually does -- what commands are overridden 23 `menu-force' setting actually does -- what commands are overridden
191 and how to access them. 24 and how to access them.
192 25
26 2002-04-22 Hrvoje Niksic <hniksic@xemacs.org>
27
28 * photos/hniksic.png, photos/hniksic.png: Update.
29
30 2002-04-05 Stephen J. Turnbull <stephen@xemacs.org>
31
32 * XEmacs 21.5.6 "bok choi" is released.
33
34 2002-03-30 Steve Youngs <youngs@xemacs.org>
35
36 * package-index.LATEST.gpg: Update to current reality.
37
38 * package-index.LATEST.pgp: Ditto.
39
40 2002-03-25 Ben Wing <ben@xemacs.org>
41
42 * unicode/unicode-consortium/8859-16.TXT:
43 New file.
44
45 2002-03-24 Ben Wing <ben@xemacs.org>
46
47 * DISTRIB:
48 * DISTRIB (donation): Removed.
49 Eliminate FSF distribution information; we're not FSF.
50
51 2002-03-18 Ben Wing <ben@xemacs.org>
52
53 * unicode\mule-ucs\*: New directory, containing translation
54 files for the remaining charsets that are not in
55 unicode\unicode-consortium but are in mule-ucs.
56
57 * unicode\other\*: New directory, containing translation
58 files made up on an ad-hoc basis.
59
60 * unicode\README: Update.
61
62 2001-05-04 Ben Wing <ben@xemacs.org>
63
64 * check_cygwin_setup.sh (distdir): Update for current
65 Cygwin reality.
66
67 * NEWS: Remove kill-whole-line changes.
68
69 2001-04-17 Ben Wing <ben@xemacs.org>
70
71 * NEWS: More changes.
72
73 * sample.init.el (grep-all-files-in-current-directory-and-below):
74 Missing argument.
75
76 2001-04-15 Ben Wing <ben@xemacs.org>
77
78 * NEWS:
79 * NEWS (C):
80 * NEWS (commands):
81 Many, many changes for XEmacs 21.4.
82
83 2002-03-05 Stephen J. Turnbull <stephen@xemacs.org>
84
85 * XEmacs 21.5.5 "beets" is released.
86
87 2002-02-28 Stephen J. Turnbull <stephen@xemacs.org>
88
89 * TUTORIAL.se: New from Mats Lidell.
90
91 2002-02-04 Stephen J. Turnbull <stephen@xemacs.org>
92
93 * BETA: General update. Fix some broken URLs.
94
95 2002-01-23 Jarl Friis <jarl@diku.dk>
96
97 * BETA (http): Informing of xemacs-patches mailing list. Added
98 note on patch etiquette.
99
100 2002-01-08 Stephen J. Turnbull <stephen@xemacs.org>
101
102 * XEmacs 21.5.4 "bamboo" is released.
103
104 2001-05-27 Kazuo Oishi <oishi@n-pl.org>
105
106 * xemacs-ja.1: Replace with new translation.
107
108 2001-12-29 Steve Youngs <youngs@xemacs.org>
109
110 * package-index.LATEST.gpg: Update.
111
112 * package-index.LATEST.pgp: Update.
113
114 2001-12-18 Jan Vroonhof <jan@xemacs.org>
115
116 * photos/jan.png: Add mug shot.
117
118 2001-12-03 Didier Verna <didier@xemacs.org>
119
120 * NEWS: advertise `C-x r p' (replace-rectangle) in global map.
121
122 2001-09-19 Ben Wing <ben@xemacs.org>
123
124 * TUTORIAL.de: Translate TERMINOLOGY section for TUTORIAL.de,
125 change menu entry separator from / to ->. Change SPC to <Space>.
126
127 2001-10-07 Adrian Aichner <adrian@xemacs.org>
128
129 * TUTORIAL.de: Update of TUTORIAL.de according to Ben's
130 Updates and Syncing with Emacs 21.0.106.
131
132 2001-08-21 Adrian Aichner <adrian@xemacs.org>
133
134 * BETA (writing): Advertise use of build-report.
135
136 2001-09-07 Stephen J. Turnbull <stephen@xemacs.org>
137
138 * XEmacs 21.5.3 "asparagus" is released.
139
140 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
141
142 * XEmacs 21.5.2 "artichoke" is released.
143
144 2001-07-26 Stephen J. Turnbull <stephen@xemacs.org>
145
146 * MYTHOLOGY, etc/OXYMORONS: Remove.
147 etc/VEGETABLES: Copied from xemacs-builds module, file Codenames-21.5.
148 Bring codenames into synch with reality.
149
150 2001-07-18 Adrian Aichner <adrian@xemacs.org>
151
152 * TUTORIAL: Fix minor typo.
153 * TUTORIAL.de: Sync with TUTORIAL.
154
155 2001-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
156
157 * xemacs-ja.1: Removed.
158
159 2001-05-23 Ben Wing <ben@xemacs.org>
160
161 * sample.init.el:
162 * sample.init.el (Init-safe-require): New.
163 * sample.init.el ((fboundp 'pending-delete-mode)):
164 * sample.init.el ((eq system-type 'windows-nt)):
165 * sample.init.el (dired):
166 * sample.init.el ((Init-safe-require 'efs-auto)):
167 * sample.init.el (completer):
168 * sample.init.el (crypt):
169 * sample.init.el (filladapt):
170 * sample.init.el ((fboundp 'turn-on-lazy-lock)):
171 * sample.init.el ((fboundp 'resize-minibuffer-mode)):
172 * sample.init.el ((Init-safe-require 'scroll-in-place)):
173 Rewrite to be much more careful about loading features -- now
174 it decays gracefully even in the complete absence of packages.
175 Also avoid doing obnoxious things when loading efs.
176
177 2001-05-10 Paul Stodghill <stodghil@cs.cornell.edu>
178
179 * PACKAGES: Update to reflect new package dir tree.
180
181 2001-05-15 Steve Youngs <youngs@xemacs.org>
182
183 * PACKAGES: Update to reflect new package dir tree.
184
185 2001-05-09 Martin Buchholz <martin@xemacs.org>
186
187 * XEmacs 21.5.1 "anise" is released.
188
189 2001-01-31 Jason R. Mastaler <jason@xemacs.org>
190
191 * FTP: Updated FTP mirrors list.
192
193 2001-04-18 Martin Buchholz <martin@xemacs.org>
194
195 * XEmacs 21.5.0 "alfalfa" is released.
196
197 2001-03-30 Ben Wing <ben@xemacs.org>
198
199 * sample.init.el:
200 * sample.init.el (Init-kill-entire-line):
201 * sample.init.el (describe-foo-at-point):
202 * sample.init.el (kill-current-buffer):
203 * sample.init.el (kill-current-buffer-and-window):
204 * sample.init.el (grep-c-files): Removed.
205 * sample.init.el (grep-all-files-history): New.
206 * sample.init.el (grep-all-files-omitted-expressions): New.
207 * sample.init.el (grep-all-files-omitted-directories): New.
208 * sample.init.el (construct-grep-all-files-command): New.
209 * sample.init.el (grep-all-files-in-current-directory): New.
210 * sample.init.el (grep-lisp-files): Removed.
211 * sample.init.el (grep-all-files-in-current-directory-and-below): New.
212 * sample.init.el (clear-select):
213 * sample.init.el ((control kp-add)):
214 * sample.init.el (pause):
215 * sample.init.el ((eq system-type 'windows-nt)):
216
217 Add documentation for defined functions. Change grep functions to
218 be more generally useful. Document more specifically what the
219 `menu-force' setting actually does -- what commands are overridden
220 and how to access them.
221
193 2001-03-30 Stephen J. Turnbull <stephen@xemacs.org> 222 2001-03-30 Stephen J. Turnbull <stephen@xemacs.org>
194 223
195 * OXYMORONS: Add 2 oxymorons, clean up numbering, close RFC. 224 * OXYMORONS: Add 2 oxymorons, clean up numbering, close RFC.
196 225
197 * NEWS: Fix typo. 226 * NEWS: Fix typo.