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