* boot-9.scm (handle-system-error): Added hooks before-error-hook,
[bpt/guile.git] / ice-9 / ChangeLog
CommitLineData
9a0d70e2
GH
1Thu Oct 17 20:33:08 1996 Gary Houston <ghouston@actrix.gen.nz>
2
d7189b49
GH
3 * Makefile.in (scm_files): add expect.scm.
4
5 * expect.scm: new file ported from guile-iii.
6
9a0d70e2
GH
7 * boot-9.scm: remove handle-system-error, after moving the code into
8 error-catching-loop.
9 Don't set 'throw-handler-default property on error keys.
10 Just interpret (almost) any throw with 4 args as an error throw.
11 Delete some try-load stuff that was already commented out.
12
35c5db87
GH
13 Second thoughts, keep handle-system-error but call it from
14 error-catching-loop.
15
d065b65f
JB
16Tue Oct 15 17:07:20 1996 Jim Blandy <jimb@floss.cyclic.com>
17
aa9576ad
JB
18 * boot-9.scm: Doc fixes.
19 (make-module): Rework for readability.
20 (make-root-module, make-scm-module): USES argument to make-module
21 should be '(), not #f.
22
d065b65f
JB
23 * boot-9.scm (try-load): %sys-load-path has been renamed to
24 primitive-load-path; adjust call here.
25
c01c94bf
MD
26Tue Oct 15 14:25:01 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
27
d065b65f 28 * boot-9.scm (signal-handler): Bugfix: Moved the recording of
c01c94bf
MD
29 the stack to the correct place: when it is decided to generate an
30 error-signal.
31
2dfc85c0
MD
32Mon Oct 14 22:20:30 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
33
34 * boot-9.scm (error-catching-loop, signal-handler,
35 handle-system-error): Backtracing now works for signals aswell;
36 Backtracing mechanism can now identify the stack root created by
37 start-stack so that the user isn't exposed to system stack frames.
38
84d8ad97
MD
39Mon Oct 14 06:05:42 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
40
41 * Makefile.in: Added threads.scm.
42
4f0292cf
MD
43Mon Oct 14 04:21:51 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
44
45 * debug.scm (make-enable, make-disable): Simplified.
46
47 * boot-9.scm: Renamed %%throw-handler-default -->
48 throw-handler-default.
49 ((handle-system-error key . arg-list)): Changed the way errors are
50 reported.
51 ((scm-style-repl)): Wrap up the call to eval in a start-stack
52 acro.
53 ((error-catching-loop thunk)): Introduce a lazy-catch into
54 error-catching-loop so that the stack can be captured.
55
1eaceb61
JB
56Thu Oct 10 22:27:32 1996 Jim Blandy <jimb@totoro.cyclic.com>
57
58 * mapping.scm (hash-table-mapping): Explicitly request that
59 make-vector fill new vectors with '(); this will make it easier to
60 port Guile Scheme code to other Schemes.
61 * boot-9.scm (make-print-style, make-print-table): Same.
62
6fa8995c
GH
63Sun Oct 6 03:54:59 1996 Gary Houston <ghouston@actrix.gen.nz>
64
65 * boot-9.scm (load): rewritten again.
66 Append "." to the default %load-path.
67 (feature?): new function: checks for a symbol in the features list.
68 (module-local-variable): remove apparently useless (caddr (list m v
69 ...))
70 (%load-announce): minor formatting change.
71 (file-exists?): use access? if posix is featured.
72 (file-is-directory?): use stat if i/o-extensions is featured.
73 (try-module-autoload module-name): use file-exists? before
74 file-is-directory?
75
8b4a21d1
MD
76Sat Oct 5 18:54:03 1996 Mikael Djurfeldt <mdj@kenneth>
77
8acae5bb
MD
78 * boot-9.scm: Added conditional loading of threads.scm.
79
80 * threads.scm: New file. Modified from the Cygnus-r0.3
81 distribution.
82
8b4a21d1
MD
83 * boot-9.scm (error-catching-loop): Added handling of key
84 `switch-repl'.
85
86 * boot-9.scm: Name change %%bad-throw --> bad-throw.
87
c90c9685
JB
88Wed Oct 2 23:38:44 1996 Jim Blandy <jimb@totoro.cyclic.com>
89
90 * boot-9.scm (make-record-type, record-constructor): Don't assume
91 the empty list is false when parsing the argument list.
92
93Mon Sep 30 22:15:50 1996 Jim Blandy <jimb@totoro.cyclic.com>
94
95 * boot-9.scm (signal-handler): Clean up logic.
96
97 * boot-9.scm (load): Assume %load-path is always bound.
98
5552355a
GH
99Sat Sep 28 00:15:37 1996 Gary Houston <ghouston@actrix.gen.nz>
100
101 * boot-9.scm (error): replace another throw with scm-error. Throw
102 to 'misc-error instead of 'error (no need to distinguish these.)
103 Don't set up 'error as a key.
104 Set up regex-error as a key, if regex is available.
105 (signal-handler): use scm-error, not throw.
106
107* (%try-load, try-load-with-path, %load, load-with-path,
108 basic-try-load-with-path, basic-load-with-path,
109 try-load-module-with-path,load-module-with-path): deleted, since
110 they seem redundant.
111 (try-load): define using %try-load, not try-load-with-path.
112* (load): rewritten. load tries to open the file directly and
113 with a .scm extension before searching the library directories
114 (should "." be added to %load-path? then load could still open
115 directly files starting with "/").
116 (try-module-autoload): use load, not load-with-path.
117 (%load-indent): deleted, -2 was causing errors.
118
119 (%read-sharp): use port-line, not line-number.
120
c90c9685
JB
121Fri Sep 27 16:23:51 1996 Jim Blandy <jimb@totoro.cyclic.com>
122
123 * boot-9.scm (%%bad-throw): Delete definition. 1) It's very
124 straightforward to provide the equivalent functionality using
125 (catch #t ...), so there's no need for the extra complexity. 2)
126 Outside the context of a read-eval-print loop (which Guile should
127 not require) it's not clear we should do anything more complicated
128 than print an error and exit; the user or REPL can establish
129 something better if it wants. 3) In that case, it's much more
130 robust to just do it in the C code.
131
855c0eac
GH
132Tue Sep 24 06:53:04 1996 Gary Houston <ghouston@actrix.gen.nz>
133
134 * boot-9.scm (%try-load): define using primitive-load. Previously
135 %try-load itself was the primitive.
136 (load-with-path): use scm-error instead of %load-announce-lossage.
137 Errors are thrown to 'misc-error instead of 'could-not-load.
138 (%load-announce-lossage): deleted.
139
a0c97697
MD
140Mon Sep 23 00:16:31 1996 Mikael Djurfeldt <mdj@kenneth>
141
142 * boot-9.scm (warn, scm-style-repl): Use C printer instead of `print'.
143 (make-record-type type-name fields): Temporarily remove support
144 for printing of records (not possible yet with C printer).
145
be2d2c70
GH
146Fri Sep 20 00:24:27 1996 Gary Houston <ghouston@actrix.gen.nz>
147
148 * boot-9.scm (file-exists?, file-is-directory): catch only
149 system-error, not every kind of error.
150 (scm-error): new procedure.
151
434bf5ce
JB
152Thu Sep 19 16:02:46 1996 Jim Blandy <jimb@totoro.cyclic.com>
153
154 * boot-9.scm: Formatting tweaks.
155
2194b6f0
GH
156Wed Sep 18 09:07:37 1996 Gary Houston <ghouston@actrix.gen.nz>
157
158 * boot-9.scm (%%handle-system-error key): remove the code for
159 SCM-style errors. handle the case that an unexpected number
160 of args are supplied.
161 (%%system-errors): removed.
162 (error): redefine using a throw with key and 4 args.
163 ('error): associate 'error, 'error-signal keys with
164 %%handle-system-error.
165 (%%default-error-handler): removed.
166 (signal-handler): throw with 4 args and use the error-signal key.
167 Create an error message instead of using numerical codes.
168 (%%bad-throw): call error instead of throw if key not found.
169
170Tue Sep 17 04:11:28 1996 Gary Houston <ghouston@actrix.gen.nz>
171
172 * boot-9.scm: initialize new error keys (see libguile/ChangeLog).
173 (%%handle-system-error key): check subr is not #f before printing.
174 Recognize %s (embed an argument using "display") and
175 %S (embed an argument using "write").
176
234f2da6
GH
177Sun Sep 15 03:55:35 1996 Gary Houston <ghouston@actrix.gen.nz>
178
179 * boot-9.scm (%%handle-system-error key): set args and rest to
180 the empty list if they are #f.
181 Initialize out-of-range as an error key.
182
e1724d20
GH
183Sat Sep 14 03:41:15 1996 Gary Houston <ghouston@actrix.gen.nz>
184
40c8906e
GH
185 * PLUGIN/REQ: remove the "ice-9 lgh" line which causes a cycle.
186
e1724d20
GH
187 * boot-9.scm: remove leading %% from references to '%%system-error.
188 (%%handle-system-error): don't pass all the thrown arguments when
189 aborting, just the key and subr.
190 Remove the code to "Install default handlers for built-in errors."
191 Remove the definition of the syserror procedure.
192 Associate 'numerical-overflow with default handler.
193
1a80fb07
MD
194Fri Sep 13 04:58:11 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
195
196 * boot-9.scm: Name change: value-ref --> local-ref
197 resolved-ref --> nested-ref Motivation: conformance to the other
198 dictionary operators: list-ref operates on list, vector-ref
199 operates on vector, nested-ref operates on nested namespace,
200 local-ref operates on the local nested namespace.
201
7cb1d4d3
GH
202Sat Sep 7 06:44:47 1996 Gary Houston <ghouston@actrix.gen.nz>
203
204 * boot-9.scm (%%handle-system-error): recognise errors thrown
205 by lgh-error (fill-message etc.)
9561554c 206 (fill-message): check first whether args is null.
a949b3f2 207 (fill-message): bug fix and check that args is a list.
7cb1d4d3 208
393ee9a8
JB
209Thu Sep 5 11:33:41 1996 Jim Blandy <jimb@floss.cyclic.com>
210
211 * boot-9.scm: %load-path is initialized in C code now.
212 (implementation-vicinity, parse-path): Deleted, along with code to
213 initialize %load-path.
214
215 * boot-9.scm (in-vicinity): If the vicinity doesn't end with a
216 "/", use one to separate it from the file.
217
e4ef46d4
JB
218Thu Aug 29 23:05:11 1996 Thomas Morgan <tmorgan@gnu.ai.mit.edu>
219
220 * boot-9.scm (%load-path): Add the site directory.
221 Add the directory named after the version number.
222 Prepend the version number to the other directories in the path.
223 Simplify by mapping the common prefix onto each item.
224 * Makefile.in (datadir, pkgdatadir, pkgverdatadir, subpkgdatadir,
225 sitedatadir): New definitions.
226 (libparent, libdir, install_path): Replaced by above.
227 (install): Create the above directories.
228 Put the source files into subpkgdatadir.
229 (uninstall): Remove the above directories.
230
00312aa3
JB
231Thu Aug 29 21:48:47 1996 Jim Blandy <jimb@floss.cyclic.com>
232
233 Don't use the PLUGIN system to gather information for the
234 Makefile's distribution and installation targets; just put it all
235 in the Makefile directly.
236 * PLUGIN/this.configure (scm_files, aux_files): Remove sections
237 for these.
238 * configure.in: Remove code that gets and substitutes scm_files and
239 aux_files.
240 * Makefile.in (scm_files, aux_files): Write out the list of files
241 here, where people expect to find them.
242
96a8aaf3
MD
243Fri Aug 23 06:44:36 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
244
245 * boot-9.scm: Preliminary solution: optionally load the debug
7685f77c 246 module. Changed "gls" to "guile1.0b3".
96a8aaf3
MD
247
248 * debug.scm: New file: debug extensions.
249
4e378733
MD
250Wed Aug 21 13:06:56 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
251
252 * boot-9.scm (print-vector): Renamed weak-hash-table? -->
253 weak-key-hash-table?. (Again!)
254
0190d683
MD
255Tue Aug 20 07:31:39 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
256
257 * boot-9.scm (print-vector, macro-table, xformer-table):
258 Renamed weak-hash-table --> weak-key-hash-table.
259
260 * poe.scm (funcq-memo): Renamed weak-hash-table -->
261 weak-key-hash-table.
262
8b13c6b3
GH
263Sat Aug 3 06:16:35 1996 Gary Houston <ghouston@actrix.gen.nz>
264
265 * boot-9.scm (*null-device*): global constant from goonix.
266 (move->fdes): adjusted for boolean primitive-move->fdes. return
267 the modified port, always set revealed count to 1 (SCSH compatible).
268 (release-port-handle port): from goonix (SCSH compatible).
269 (%open-file): removed.
270 (open-input-file, open-output-file, file-exists?, file-is-directory?):
271 modified for open-file change (does not return #f).
272
a44a755d
JB
273Thu Aug 1 02:52:42 1996 Jim Blandy <jimb@totoro.cyclic.com>
274
275 * Makefile.in (dist-dir): New target for new dist system.
276 (manifest): Deleted.
277 * PLUGIN/this.configure (aux_files): Removed PLUGIN; it's a
278 directory, and needs special treatment in the dist-dir target.
279
02b754d3
GH
280Thu Aug 1 09:00:21 1996 Gary Houston <ghouston@actrix.gen.nz>
281
282 * boot-9.scm: remove the wrappers for '%' system primitives,
283 now that they throw errors directly.
284 remove make-simple-wrapper and similar functions.
285 protect a call to getenv which may now throw an exception.
286
287Wed Jul 31 23:44:42 1996 Gary Houston <ghouston@actrix.gen.nz>
288
289 * boot-9.scm (false-if-exception): new macro.
290
0f2d19dd
JB
291Fri Apr 19 13:53:08 1996 Tom Lord <lord@beehive>
292
293 * The more things change...
294
295