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