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