*** empty log message ***
[bpt/guile.git] / ice-9 / ChangeLog
1 Fri Jul 11 00:13:43 1997 Jim Blandy <jimb@floss.red-bean.com>
2
3 Changes to compile under gnu-win32, from Marcus Daniels:
4 * boot-9.scm (load-user-init): If HOME is unset, provide
5 a default of /.
6
7 * boot-9.scm (define-public): Changed to accomodate Hobbit.
8
9 Tue Jun 24 00:31:47 1997 Jim Blandy <jimb@floss.red-bean.com>
10
11 * boot-9.scm, debug.scm, hcons.scm, lineio.scm, mapping.scm,
12 poe.scm, slib.scm, tags.scm, threads.scm: Use normal list
13 notation, instead of #/ notation.
14
15 * expect.scm (expect-strings): Pass regexp/newline flag to
16 make-regexp.
17
18 Mon Jun 23 16:13:38 1997 Jim Blandy <jimb@floss.red-bean.com>
19
20 Fix inconsistencies in parsing of #/ style lists.
21 * boot-9.scm (read-path-list-notation): New function.
22 (parse-path-symbol): Deleted. Replaced by above.
23 Plug in read-path-list-notation as the parser for #/ lists,
24 instead of the anonymous lambda form calling parse-path-symbol.
25 (Thanks to Maurizio Vitale.)
26
27 * boot-9.scm (make-list): Remove the definition of this function
28 from the (ice-9 common-list) module; make the `init' argument
29 optional in the scm module's definition, to match the deleted
30 definition. Harmony reigneth? (Thanks to Bernard URBAN.)
31
32 Sun Jun 22 18:33:17 1997 Jim Blandy <jimb@floss.red-bean.com>
33
34 Try to detect when people are using one version of libguile and a
35 different version of ice-9. People have been skewing things and
36 sending in bug reports.
37 * version.scm.in: New file, which the configure script munges to
38 produce version.scm, which contains the ice-9 config stamp.
39 * boot-9.scm: Compare the libguile and ice-9 config stamps;
40 display a warning if the two are different.
41 * Makefile.am: Install version.scm, but don't distribute it.
42 Distribute version.scm.in, but don't install it.
43 * Makefile.in: Regenerated.
44
45 Thu Jun 19 21:01:16 1997 Jim Blandy <jimb@floss.red-bean.com>
46
47 * slib.scm (slib:warn): Alias for WARN function.
48
49 Fri Jun 13 00:32:04 1997 Jim Blandy <jimb@floss.red-bean.com>
50
51 * boot-9.scm (struct-printer): Fix off-by-one error in range
52 check. Correctly check for struct printer tag.
53
54 * expect.scm: Turn this into a module, (ice-9 expect).
55 (expect-port, expect-timeout, expect-timeout-proc,
56 expect-eof-proc, expect-char-proc, expect, expect-strings,
57 expect-select): Make these public definitions.
58 (expect-strings): Use make-regexp and regexp-exec, instead of
59 regcomp and regexec. We've omitted the REG_NEWLINE flag; hope
60 that's okay.
61
62 * boot-9.scm (with-regexp-parts): Comment this out. It has no
63 users in the core, and relies on mildly hairy details of the old
64 regexp interface.
65
66 * test.scm: Re-enable tests asserting that '() is true, and not a
67 boolean. This stuff has been true for a while.
68
69 * boot-9.scm (ipow-by-squaring, butlast): Fix uses of outdated
70 function names.
71
72 * boot-9.scm (with-excursion-getter-and-setter, q-rear): Doc
73 fixes.
74
75 Wed Jun 11 00:31:40 1997 Jim Blandy <jimb@floss.red-bean.com>
76
77 * Makefile.in: Regenerated after xtra_PLUGIN_guile_libs change in
78 ../configure.in.
79
80 Fri Jun 6 14:37:18 1997 Marius Vollmer <mvo@zagadka.ping.de>
81
82 * boot-9.scm (struct-printer): Bugfix: Check the layout of the
83 vtable and not the one of the struct.
84
85 Wed Jun 4 23:27:16 1997 Marius Vollmer <mvo@zagadka.ping.de>
86
87 * boot-9.scm (struct-layout, %struct-printer-tag, struct-printer,
88 make-struct-printer, set-struct-printer-in-vtable!): New bindings
89 to support printing of structures.
90 (record-type-vtable, make-record-type): Add slot to hold printing
91 function and initialize it with something appropriate. Removed
92 commented out printing code.
93 (record-type-name, record-type-fields): Adjusted slot offsets.
94 (%print-module): Reduce argument list to "mod" and "port".
95
96 Tue Jun 3 17:04:18 1997 Jim Blandy <jimb@totoro.cyclic.com>
97
98 * slib.scm (identity): New function, used by SLIB.
99
100 Sat May 31 18:57:12 1997 Gary Houston <ghouston@actrix.gen.nz>
101
102 * boot-9.scm: signal-handler, alarm-thunk: removed.
103 don't define ticks-interrupt etc.
104 top-repl: install signal handlers for SIGINT, SIGFPE, SIGSEGV, SIGBUS
105 during call to scm-style-repl.
106
107 Fri May 30 18:08:10 1997 Jim Blandy <jimb@floss.cyclic.com>
108
109 * slib.scm (slib:load): Use primitive-load-path instead of
110 basic-load. This is probably wrong, but hopefully the entire
111 source access system will be revised soon anyway, and this will
112 make require behave more like Emacs Lisp's require. If this
113 breaks something, please let me know. Maybe this is real dumb.
114
115 Thu May 29 02:36:48 1997 Jim Blandy <jimb@floss.cyclic.com>
116
117 * regex.scm: Add a module declaration. Use DEFINE-PUBLIC everywhere.
118 * boot-9.scm: If the `regex' feature is present, use the module
119 (ice-9 regex).
120
121 Tue May 27 22:48:14 1997 Tim Pierce <twp@twp.tezcat.com>
122
123 * regex.scm: New file.
124 * Makefile.am (subpkgdata_DATA): Add regex.scm.
125 * Makefile.in: Regenerated.
126
127 Mon May 26 17:24:48 1997 Jim Blandy <jimb@totoro.cyclic.com>
128
129 * COPYING, boot-9.scm, debug.scm, emacs.scm, expect.scm, gtcl.scm,
130 gwish.scm, hcons.scm, lineio.scm, mapping.scm, nonblocking.scm,
131 oldprint.scm, poe.scm, r4rs.scm, source.scm, tags.scm, test.scm,
132 threads.scm: New address for FSF.
133
134 Fri May 16 04:09:45 1997 Jim Blandy <jimb@floss.cyclic.com>
135
136 * debug.scm: Update copyright years; this file has been worked on
137 in 1997.
138
139 Thu May 15 07:56:08 1997 Gary Houston <ghouston@actrix.gen.nz>
140
141 * expect.scm: use gettimeofday instead of get-internal-real-time
142 and use a floating point timeout when calling select. Untested,
143 since the regex library is currently AWOL.
144
145 Wed May 14 21:00:30 1997 Jim Blandy <jimb@floss.cyclic.com>
146
147 * boot-9.scm (eval-string): Function deleted; it was already
148 implemented in C, so there's no point in making a divergable copy
149 here.
150
151 Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com>
152
153 * Makefile.in: Regenerated, using automake-1.1p.
154
155 Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com>
156
157 * Makefile.in: Regenerated, using automake-1.1p.
158
159 Tue May 13 02:48:49 1997 Gary Houston <ghouston@actrix.gen.nz>
160
161 * boot-9.scm (error-catching-loop): don't read a line from
162 current input when quit is encountered, the previous change
163 fixes this too.
164
165 Mon May 12 19:00:21 1997 Jim Blandy <jimb@floss.cyclic.com>
166
167 * boot-9.scm (scm-style-repl): After reading an expression,
168 consume any trailing newline (perhaps preceded by whitespace), to
169 avoid screwing up GDB. More detail in comments.
170
171 Mon May 5 13:18:38 1997 Jim Blandy <jimb@floss.cyclic.com>
172
173 * Makefile.am (ETAGS_ARGS): New variable, since we're not treating
174 the Scheme code like code yet.
175 * Makefile.in: Resrac,husrched.
176
177 Wed Apr 30 15:25:15 1997 Marius Vollmer <mvo@zagadka.ping.de>
178
179 * boot-9.scm (link-dynamic-module): Do not catch errors from
180 dynamic-link and dynamic-call. When the shared library exists it
181 is now assumed to be suitable for a dynamic C module.
182
183 Fri Apr 25 21:21:35 1997 Marius Vollmer <mvo@zagadka.ping.de>
184
185 * boot-9.scm (process-use-modules): New function to support the
186 use-modules macro
187 (use-modules): throw an error iff one of the requested modules
188 can't be found.
189
190 Tue Apr 29 06:54:46 1997 Gary Houston <ghouston@actrix.gen.nz>
191
192 * boot-9.scm: don't define timer-thunk or gc-thunk.
193
194 Sun Apr 27 17:56:09 1997 Jim Blandy <jimb@floss.cyclic.com>
195
196 * aclocal.m4: Removed; unnecessary, given changes of Apr 24.
197
198 * Makefile.am (subpkgdatadir): Use "ice-9" instead of "@module@";
199 we're not using AM_INIT_GUILE_MODULE any more.
200 * Makefile.in: Regeneratitetedrerd.
201
202 Thu Apr 24 01:33:33 1997 Jim Blandy <jimb@floss.cyclic.com>
203
204 Get 'make dist' to work again.
205 * Makefile.am (EXTRA_DIST): Remove PLUGIN files.
206 * Makefile.in: Regenerated, like two tons of fleas.
207
208 Changes for reduced Guile distribution: one configure script,
209 no plugins.
210 * configure.in, configure: Removed.
211 * Makefile.in: Regenerated.
212
213 Sat Apr 19 08:03:50 1997 Jim Blandy <jimb@floss.cyclic.com>
214
215 * boot-9.scm (eval-string, command-line, load-user-init): New
216 functions.
217
218 Sat Apr 12 08:27:05 1997 Gary Houston <ghouston@actrix.gen.nz>
219
220 * boot-9.scm (log10): defined.
221
222 Tue Apr 1 17:46:49 1997 Gary Houston <ghouston@actrix.gen.nz>
223
224 * expect.scm (expect-select): correct the millisecond timeout
225 arithmetic (from Marko.Kohtala@ntc.nokia.com).
226
227 Mon Mar 31 03:23:19 1997 Gary Houston <ghouston@actrix.gen.nz>
228
229 * boot-9.scm (open-input-pipe, open-output-pipe): defined here
230 instead of in libguile.
231 (tm:sec etc.) new accessors for broken-down time.
232 (set-tm:sec etc.) new setters for broken-down time.
233
234 Thu Mar 27 05:06:00 1997 Gary Houston <ghouston@actrix.gen.nz>
235
236 * boot-9.scm (netent:addrtype, servent:port): added missing
237 procedures.
238 (netent:net, servent:proto): repaired.
239 (utsname:sysname etc.): new accessors for uname.
240
241 Tue Mar 25 03:04:03 1997 Gary Houston <ghouston@actrix.gen.nz>
242
243 * boot-9.scm (sockaddr:fam, sockaddr:path, sockaddr:addr,
244 sockaddr:port): new functions.
245
246 Wed Mar 19 04:50:34 1997 Gary Houston <ghouston@actrix.gen.nz>
247
248 * boot-9.scm: define accessor procedures for the objects returned
249 by getpw, getgr, gethost, getnet, getproto, getserv (e.g.,
250 passwd:name, where the first component is the name of the C structure
251 and the second is the unprefixed C member name.)
252
253 Tue Mar 18 18:39:31 1997 Gary Houston <ghouston@actrix.gen.nz>
254
255 * boot-9.scm (setpwent, setgrent, sethostent, setnetent, setprotoent,
256 setservent): no longer take an argument, it was bogus.
257
258 Thu Mar 13 00:13:41 1997 Gary Houston <ghouston@actrix.gen.nz>
259
260 * boot-9.scm (scm-error): deleted, reimplemented in C.
261
262 Mon Mar 10 15:48:31 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
263
264 * boot-9.scm (process-define-module): Modified to handle both
265 keywords and symbols.
266
267 Sat Mar 8 04:32:44 1997 Gary Houston <ghouston@actrix.gen.nz>
268
269 * slib.scm: update read usage.
270
271 * r4rs.scm: update primitive-load usage.
272 Don't define read-sharp.
273
274 * boot-9.scm: use read-hash-extend to install extra read syntax.
275 (read-sharp): removed.
276 Adjust usage of primitive-load-path, read, which no longer take
277 case_i or read-sharp arguments.
278
279 Sat Mar 8 00:07:54 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
280
281 * boot-9.scm: Added loading of session support module.
282
283 * debug.scm: Removed `display-application'. (Replaced by
284 primitive procedure.)
285
286 * boot-9.scm (beautify-user-module!): Don't add the root module
287 interface to the end of the use-list of the root module.
288
289 Thu Mar 6 07:26:34 1997 Gary Houston <ghouston@actrix.gen.nz>
290
291 * boot-9.scm: repl-quit, repl-abort: obsolete variables deleted.
292
293 Wed Mar 5 20:30:24 1997 Gary Houston <ghouston@actrix.gen.nz>
294
295 * boot-9.scm: check use-emacs-interface for emacs support.
296
297 Sun Mar 2 19:47:14 1997 Gary Houston <ghouston@actrix.gen.nz>
298
299 * boot-9.scm (scm-style-repl): call repl-report-start-timing if
300 read gets EOF.
301 * (exit): alias for quit.
302
303 Sun Mar 2 05:25:11 1997 Gary Houston <ghouston@actrix.gen.nz>
304
305 * boot-9.scm (error-catching-loop thunk): use a status variable to
306 return the quit args.
307 (scm-style-repl): call -quit, passing return value from
308 error-catching-repl. Make -quit return its args.
309 stand-alone-repl: comment out, since it seems unused.
310
311 (error-catching-loop thunk): discard trailing junk after a (quit).
312
313 Sat Mar 1 15:24:39 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
314
315 * boot-9.scm: Removed the old printer code.
316
317 * r4rs.scm (apply, call-with-current-continuation): Added comment
318 explaining why apply and call/cc need to be closures.
319
320 * boot-9.scm (apply, call-with-current-continuation): Bugfix:
321 Removed. These definitions are already present in r4rs.scm.
322
323 * debug.scm (trace-entry, trace-exit): Check that we're on a repl
324 stack before printing traced frames; Re-enable trace flag at end
325 of handlers.
326
327 Sat Mar 1 00:10:38 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
328
329 * debug.scm: Add hook for reset of trace level at abort.
330
331 * boot-9.scm (run-hooks): New procedure.
332 (add-hooks!): New macro.
333 Change hooks to use these functions.
334
335 * debug.scm: *Warning* This feature is a bit premature. I add
336 it anyway because 1. it is very useful, and, 2. you can start
337 making it less premature by complaining to me and by modifying
338 the source! :-)
339 (trace): Given one or more procedure objects, trace each one.
340 Given no arguments, show all traced procedures.
341 (untrace): Given one or more procedure objects, untrace each one.
342 Given no arguments, untrace all traced procedures. The tracing in
343 Guile have an advantage to most other systems: We don't create new
344 procedure objects, but mark the procedure objects themselves.
345 This means that also anonymous and internal procedures can be
346 traced.
347
348 * boot-9.scm (error-catching-loop): Added handling of apply-frame
349 and exit-frame exceptions.
350
351 * boot-9.scm (assert-repl-prompt, the-prompt-string): Removed.
352 (set-repl-prompt!): Setter for repl prompt.
353 (scm-style-repl): If prompt is #f, don't prompt; if prompt is a
354 string, display it; if prompt is a thunk, call it and display its
355 result; otherwise display "> ".
356 (Change suggested by Roland Orre <orre@nada.kth.se>.)
357
358 * r4rs.scm (%load-verbosely): Reverted change to
359 `module-defined?', since the module system isn't bootstrapped when
360 we load r4rs.scm. This is just a temporary fix to make the
361 repository version runnable.
362
363 Thu Feb 27 23:25:47 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
364
365 * boot-9.scm: Removed the enabling of debug evaluator and
366 recording of source code positions. This was placed there for our
367 convenience, but it has already sneaked into the distribution
368 once... so we'd better add this in our local copies instead when
369 we need it. (These options are normally enabled at the end of
370 boot-9.scm when loading the debug module.)
371
372 Thu Feb 27 16:04:45 1997 Marius Vollmer <mvo@zagadka.ping.de>
373
374 * boot-9.scm (module-defined?): New function.
375 (macroexpand-1, macroexpand): Use local-ref instead of defined?
376 and eval.
377 * r4rs.scm (%load-verbosely): Use "module-defined?" instead of
378 "defined?".
379 * slib.scm (defined?): New function to take the place of the
380 builtin "defined?". It allways examines the slib module.
381
382 Mon Feb 24 21:46:15 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
383
384 * configure.in: Added AM_MAINTAINER_MODE
385
386 Sat Feb 15 04:51:20 1997 Gary Houston <ghouston@actrix.gen.nz>
387
388 * boot-9.scm (read-sharp): define directly, don't go through a
389 %read-sharp layer.
390
391 Tue Feb 11 08:45:48 1997 Gary Houston <ghouston@actrix.gen.nz>
392
393 * boot-9.scm (uniform-vector-set!): use uniform-array-set1!, not
394 uniform-vector-set1! which doesn't exist.
395
396 Mon Feb 10 03:01:48 1997 Mikael Djurfeldt <mdj@kenneth>
397
398 * boot-9.scm (backtrace): Removed. (A C version now exists in
399 backtrace.c.)
400
401 Fri Jan 24 06:05:36 1997 Gary Houston <ghouston@actrix.gen.nz>
402
403 * boot-9.scm (read-line!, read-delimited!, read-delimited,
404 read-line): new procedures, see libguile/ChangeLog.
405
406 Thu Jan 16 17:07:03 1997 Marius Vollmer <mvo@zagadka.ping.de>
407
408 Added dynamic linking of modules. See libguile/DYNAMIC-LINKING.
409
410 * boot-9.scm (split-c-module-name, convert-c-registered-modules,
411 init-dynamic-module, dynamic-maybe-call,
412 find-and-link-dynamic-module, link-dynamic-module,
413 try-module-dynamic-link, registered-modules): New definitions for
414 dynamic linking of modules.
415 (resolve-module): Try to dynamically link the requested module
416 after failing to load it as Scheme code.
417
418 Wed Jan 8 05:50:14 1997 Gary Houston <ghouston@actrix.gen.nz>
419
420 * boot-9.scm (getservbyport, getservbyname): remove stray %.
421
422 Tue Jan 7 20:02:24 1997 Jim Blandy <jimb@floss.cyclic.com>
423
424 * boot-9.scm (and=>): Rename THUNK argument to PROCEDURE, 'cos
425 that's what it is.
426
427 * lineio.scm (make-line-buffering-input-port): Properly test for
428 the case of an empty buffer list. The old code assumed that '()
429 was false.
430
431 Mon Jan 6 01:13:53 1997 Mikael Djurfeldt <mdj@kenneth>
432
433 * boot-9.scm (use-modules): New macro (from Marius Vollmer).
434 (use-modules <module name> ...) Put the the modules named by
435 <module name> ... on the use list of the current module.
436
437 Sun Jan 5 15:52:59 1997 Jim Blandy <jimb@floss.cyclic.com>
438
439 * boot-9.scm (error-catching-loop): Remove message saying that
440 typing "$" will put you in the debugger. This isn't implemented
441 yet.
442
443 Sun Dec 22 23:27:25 1996 Jim Blandy <jimb@floss.cyclic.com>
444
445 * boot-9.scm (delq-all!): Function deleted; delq!'s semantics have
446 been fixed, so this function is superfluous.
447 (transform-usage-lambda): Use delq!, not delq-all!.
448
449 Tue Dec 17 20:36:45 1996 Marius Vollmer <mvo@zagadka.ping.de>
450
451 * boot-9.scm (resolve-module): New optional parameter that
452 controls whether autoloading is attempted or not. Default is #t.
453 (process-define-module): Don't autoload the defined module.
454 (try-module-autoload): Don't autoload the directory modules.
455
456 * boot-9.scm (process-define-module): Ensure that the-scm-module
457 is last in the `uses' list to allow shadowing builtin
458 bindings. All :use-module options are added in the order they
459 appear in the arguments but before anything already on the list
460 (such as the-scm-module).
461
462 Wed Dec 11 21:06:05 1996 Gary Houston <ghouston@actrix.gen.nz>
463
464 * slib.scm (slib-parent-dir): throw error if #f returned from
465 %search-load-path.
466
467 Sat Nov 30 23:57:28 1996 Tom Tromey <tromey@cygnus.com>
468
469 * PLUGIN/greet, PLUGIN/split.sed, PLUGIN/this.configure: Removed.
470 * Makefile.am, aclocal.m4: New files.
471 * configure.in: Updated for Automake.
472
473 Wed Nov 27 14:16:14 1996 Marius Vollmer <mvo@zagadka.ping.de>
474
475 * boot-9.scm (macroexpand-1, macroexpand), slib.scm
476 (slib:features), r4rs.scm (%load-verbosely): "defined?" is now a
477 function, use it accordingly.
478
479 Thu Nov 21 11:12:10 1996 Jim Blandy <jimb@floss.cyclic.com>
480
481 It's an "eval closure", not an "eval thunk." A thunk is a
482 function of no arguments.
483 * boot-9.scm (module-type): Rename module field.
484 (make-module, eval-in-module, make-root-module,
485 set-current-module): Uses changed.
486 (module-eval-closure, set-module-eval-closure!,
487 root-module-closure): Renamed from module-eval-thunk,
488 set-module-eval-thunk!, root-module-thunk.
489 (set-current-module): Change uses of *top-level-lookup-thunk* to
490 *top-level-eval-closure*.
491
492 Wed Nov 20 14:45:27 1996 Jim Blandy <jimb@totoro.cyclic.com>
493
494 * slib.scm (slib-parent-dir): Use string-length, not length.
495 (Thanks to Bernard Urban.)
496
497 Sat Nov 2 20:00:42 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
498
499 * boot-9.scm: The debugging evaluator and recording of positions
500 aren't enabled by default any longer (they are switched on in
501 debug.scm). But during development we want to have them also
502 *inside* boot-9.scm. Therefore, two lines are added at the
503 beginning of boot-9.scm to enable these.
504
505 Call `provide' so that `records' are included among the
506 `*features*'.
507
508 The scheme for saving the stack has been adjusted: save-stack is
509 now commonly available for saving the stack. Calling `save-stack'
510 sets a flag `stack-saved?' which prevents overwriting the stack.
511 `stack-saved?' is reset at `abort'.
512
513 Spelling correction: seperate --> separate.
514
515 Removed `:'s that had creeped into some comments.
516
517 The repl now doesn't print #<unspecified> results any longer
518 If the user wants to see this, he can do
519 (assert-repl-print-unspecified #t) in his startup file.
520
521 The user now gets a friendly message instead of a backtrace at
522 error.
523
524 Added `before-read-hook'.
525
526 Load module (ice-9 emacs) if option `-e' was specified.
527
528 (provide): New function.
529
530 (error): Save stack at entry, so that Guile entrails won't show up
531 in backtraces.
532
533 (backtrace): New function.
534
535 (save-stack): Can now take arbitrary number of stack narrowing
536 specifier pairs. The first specifier in a pair controls inner
537 border, the second the outer border. A number means cut that
538 number of frames, a procedure object means cut until that object
539 is found in operator position in a frame.
540
541 * debug.scm: Enable debugging evaluator and recording of positions
542 by default.
543
544 * slib.scm (slib:load): Adapt to the new behavior of
545 primitive-load: It doesn't any longer try both with and without
546 ".scm" extension. (We don't want to use %search-load-path here.)
547
548 (implementation-vicinity): New function. slib requires it
549
550 (library-vicinity): Updated.
551
552 Load "require.scm" in the library-vicinity.
553
554 (install-require-vicinity, install-require-module): New functions.
555
556 Mon Oct 28 17:56:29 1996 Jim Blandy <jimb@floss.cyclic.com>
557
558 * boot-9.scm (load-from-path): New function.
559
560 * boot-9.scm (try-load, basic-try-load, try-load-module,
561 try-load): Deleted. I don't think they're being used.
562
563 * Makefile.in (scm_files): Add r4rs.scm and test.scm to this list,
564 so they'll get distributed.
565
566 Get Guile to be a little less chatty by default. The new user
567 should see as little clutter as possible.
568 * r4rs.scm (%load-verbosely): Make this #f by default.
569 * boot-9.scm (scm-repl-verbose): Make this #f by default.
570 (scm-style-repl): Don't run 'pk' on the value passed to quit.
571
572 * r4rs.scm: New file.
573 * boot-9.scm: Load r4rs.scm, first thing.
574 (OPEN_READ, OPEN_WRITE, OPEN_BOTH, *null-device*, open-input-file,
575 open-output-file, open-io-file, close-input-port,
576 close-output-port, close-io-port, call-with-input-file,
577 call-with-output-file, with-input-from-port, with-output-to-port,
578 with-error-to-port, with-input-from-file, with-output-to-file,
579 with-error-to-file, with-input-from-string, with-output-to-string,
580 with-error-to-string, the-eof-object): Definitions moved to
581 r4rs.scm. Not all of them are R4RS, but those that are use those
582 that are not.
583 (load, %load-verbosely, %load-announce): Moved, along with code to
584 set %load-hook, to r4rs.scm.
585
586 * test.scm: New file.
587
588 * boot-9.scm (integer?): Definition deleted, in favor of the one
589 present in libguile (which used to be called int?). I have no
590 idea why integer? didn't just call int? to begin with.
591
592 * boot-9.scm (<, <=, =, >, >=): Definitions in terms of <?, <=?,
593 =?, >?, and >=? deleted; they're defined that way by libguile now.
594
595 * boot-9.scm (load): Simplified; primitive-load does most of this
596 work now.
597 (%load-announce-win): Removed; no longer used. Set %load-hook to
598 call %load-announce.
599
600 Sun Oct 27 07:47:03 1996 Gary Houston <ghouston@actrix.gen.nz>
601
602 * boot-9.scm (stat:dev, stat:ino, stat:mode, stat:nlink, stat:uid,
603 stat:gid, stat:rdev, stat:size, stat:atime, stat:mtime,
604 stat:ctime, stat:blksize, stat:blocks) accessor functions for stat
605 components.
606 (file-is-directory?): use stat:type.
607
608 Fri Oct 25 03:34:47 1996 Jim Blandy <jimb@floss.cyclic.com>
609
610 * boot-9.scm (%read-sharp): Don't recognize the `#!' syntax here;
611 that's now taken care of in libguile, and in a way compatible with
612 SCSH (which this isn't).
613
614 Mon Oct 21 18:52:36 1996 Jim Blandy <jimb@totoro.cyclic.com>
615
616 * boot-9.scm: Formatting tweaks.
617
618 Fri Oct 18 01:03:08 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
619
620 * boot-9.scm (handle-system-error): Added hooks before-error-hook,
621 after-error-hook, before-backtrace-hook and after-backtrace-hook
622 to the error handler. E.g.: fancy emacs support could plug into
623 these.
624 (save-stack): New function. The stack is now made differently
625 depending on the stack id. (The motivation is to make a better
626 choice regarding what stack frames to present to the user.)
627 (error-catching-loop): Stack handling code moved outside into
628 save-stack.
629
630 Thu Oct 17 20:33:08 1996 Gary Houston <ghouston@actrix.gen.nz>
631
632 * Makefile.in (scm_files): add expect.scm.
633
634 * expect.scm: new file ported from guile-iii.
635
636 * boot-9.scm: remove handle-system-error, after moving the code into
637 error-catching-loop.
638 Don't set 'throw-handler-default property on error keys.
639 Just interpret (almost) any throw with 4 args as an error throw.
640 Delete some try-load stuff that was already commented out.
641
642 Second thoughts, keep handle-system-error but call it from
643 error-catching-loop.
644
645 Tue Oct 15 17:07:20 1996 Jim Blandy <jimb@floss.cyclic.com>
646
647 * boot-9.scm: Doc fixes.
648 (make-module): Rework for readability.
649 (make-root-module, make-scm-module): USES argument to make-module
650 should be '(), not #f.
651
652 * boot-9.scm (try-load): %sys-load-path has been renamed to
653 primitive-load-path; adjust call here.
654
655 Tue Oct 15 14:25:01 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
656
657 * boot-9.scm (signal-handler): Bugfix: Moved the recording of
658 the stack to the correct place: when it is decided to generate an
659 error-signal.
660
661 Mon Oct 14 22:20:30 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
662
663 * boot-9.scm (error-catching-loop, signal-handler,
664 handle-system-error): Backtracing now works for signals aswell;
665 Backtracing mechanism can now identify the stack root created by
666 start-stack so that the user isn't exposed to system stack frames.
667
668 Mon Oct 14 06:05:42 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
669
670 * Makefile.in: Added threads.scm.
671
672 Mon Oct 14 04:21:51 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
673
674 * debug.scm (make-enable, make-disable): Simplified.
675
676 * boot-9.scm: Renamed %%throw-handler-default -->
677 throw-handler-default.
678 ((handle-system-error key . arg-list)): Changed the way errors are
679 reported.
680 ((scm-style-repl)): Wrap up the call to eval in a start-stack
681 acro.
682 ((error-catching-loop thunk)): Introduce a lazy-catch into
683 error-catching-loop so that the stack can be captured.
684
685 Thu Oct 10 22:27:32 1996 Jim Blandy <jimb@totoro.cyclic.com>
686
687 * mapping.scm (hash-table-mapping): Explicitly request that
688 make-vector fill new vectors with '(); this will make it easier to
689 port Guile Scheme code to other Schemes.
690 * boot-9.scm (make-print-style, make-print-table): Same.
691
692 Sun Oct 6 03:54:59 1996 Gary Houston <ghouston@actrix.gen.nz>
693
694 * boot-9.scm (load): rewritten again.
695 Append "." to the default %load-path.
696 (feature?): new function: checks for a symbol in the features list.
697 (module-local-variable): remove apparently useless (caddr (list m v
698 ...))
699 (%load-announce): minor formatting change.
700 (file-exists?): use access? if posix is featured.
701 (file-is-directory?): use stat if i/o-extensions is featured.
702 (try-module-autoload module-name): use file-exists? before
703 file-is-directory?
704
705 Sat Oct 5 18:54:03 1996 Mikael Djurfeldt <mdj@kenneth>
706
707 * boot-9.scm: Added conditional loading of threads.scm.
708
709 * threads.scm: New file. Modified from the Cygnus-r0.3
710 distribution.
711
712 * boot-9.scm (error-catching-loop): Added handling of key
713 `switch-repl'.
714
715 * boot-9.scm: Name change %%bad-throw --> bad-throw.
716
717 Wed Oct 2 23:38:44 1996 Jim Blandy <jimb@totoro.cyclic.com>
718
719 * boot-9.scm (make-record-type, record-constructor): Don't assume
720 the empty list is false when parsing the argument list.
721
722 Mon Sep 30 22:15:50 1996 Jim Blandy <jimb@totoro.cyclic.com>
723
724 * boot-9.scm (signal-handler): Clean up logic.
725
726 * boot-9.scm (load): Assume %load-path is always bound.
727
728 Sat Sep 28 00:15:37 1996 Gary Houston <ghouston@actrix.gen.nz>
729
730 * boot-9.scm (error): replace another throw with scm-error. Throw
731 to 'misc-error instead of 'error (no need to distinguish these.)
732 Don't set up 'error as a key.
733 Set up regex-error as a key, if regex is available.
734 (signal-handler): use scm-error, not throw.
735
736 (%try-load, try-load-with-path, %load, load-with-path,
737 basic-try-load-with-path, basic-load-with-path,
738 try-load-module-with-path,load-module-with-path): deleted, since
739 they seem redundant.
740 (try-load): define using %try-load, not try-load-with-path.
741 (load): rewritten. load tries to open the file directly and
742 with a .scm extension before searching the library directories
743 (should "." be added to %load-path? then load could still open
744 directly files starting with "/").
745 (try-module-autoload): use load, not load-with-path.
746 (%load-indent): deleted, -2 was causing errors.
747
748 (%read-sharp): use port-line, not line-number.
749
750 Fri Sep 27 16:23:51 1996 Jim Blandy <jimb@totoro.cyclic.com>
751
752 * boot-9.scm (%%bad-throw): Delete definition. 1) It's very
753 straightforward to provide the equivalent functionality using
754 (catch #t ...), so there's no need for the extra complexity. 2)
755 Outside the context of a read-eval-print loop (which Guile should
756 not require) it's not clear we should do anything more complicated
757 than print an error and exit; the user or REPL can establish
758 something better if it wants. 3) In that case, it's much more
759 robust to just do it in the C code.
760
761 Tue Sep 24 06:53:04 1996 Gary Houston <ghouston@actrix.gen.nz>
762
763 * boot-9.scm (%try-load): define using primitive-load. Previously
764 %try-load itself was the primitive.
765 (load-with-path): use scm-error instead of %load-announce-lossage.
766 Errors are thrown to 'misc-error instead of 'could-not-load.
767 (%load-announce-lossage): deleted.
768
769 Mon Sep 23 00:16:31 1996 Mikael Djurfeldt <mdj@kenneth>
770
771 * boot-9.scm (warn, scm-style-repl): Use C printer instead of `print'.
772 (make-record-type type-name fields): Temporarily remove support
773 for printing of records (not possible yet with C printer).
774
775 Fri Sep 20 00:24:27 1996 Gary Houston <ghouston@actrix.gen.nz>
776
777 * boot-9.scm (file-exists?, file-is-directory): catch only
778 system-error, not every kind of error.
779 (scm-error): new procedure.
780
781 Thu Sep 19 16:02:46 1996 Jim Blandy <jimb@totoro.cyclic.com>
782
783 * boot-9.scm: Formatting tweaks.
784
785 Wed Sep 18 09:07:37 1996 Gary Houston <ghouston@actrix.gen.nz>
786
787 * boot-9.scm (%%handle-system-error key): remove the code for
788 SCM-style errors. handle the case that an unexpected number
789 of args are supplied.
790 (%%system-errors): removed.
791 (error): redefine using a throw with key and 4 args.
792 ('error): associate 'error, 'error-signal keys with
793 %%handle-system-error.
794 (%%default-error-handler): removed.
795 (signal-handler): throw with 4 args and use the error-signal key.
796 Create an error message instead of using numerical codes.
797 (%%bad-throw): call error instead of throw if key not found.
798
799 Tue Sep 17 04:11:28 1996 Gary Houston <ghouston@actrix.gen.nz>
800
801 * boot-9.scm: initialize new error keys (see libguile/ChangeLog).
802 (%%handle-system-error key): check subr is not #f before printing.
803 Recognize %s (embed an argument using "display") and
804 %S (embed an argument using "write").
805
806 Sun Sep 15 03:55:35 1996 Gary Houston <ghouston@actrix.gen.nz>
807
808 * boot-9.scm (%%handle-system-error key): set args and rest to
809 the empty list if they are #f.
810 Initialize out-of-range as an error key.
811
812 Sat Sep 14 03:41:15 1996 Gary Houston <ghouston@actrix.gen.nz>
813
814 * PLUGIN/REQ: remove the "ice-9 lgh" line which causes a cycle.
815
816 * boot-9.scm: remove leading %% from references to '%%system-error.
817 (%%handle-system-error): don't pass all the thrown arguments when
818 aborting, just the key and subr.
819 Remove the code to "Install default handlers for built-in errors."
820 Remove the definition of the syserror procedure.
821 Associate 'numerical-overflow with default handler.
822
823 Fri Sep 13 04:58:11 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
824
825 * boot-9.scm: Name change: value-ref --> local-ref
826 resolved-ref --> nested-ref Motivation: conformance to the other
827 dictionary operators: list-ref operates on list, vector-ref
828 operates on vector, nested-ref operates on nested namespace,
829 local-ref operates on the local nested namespace.
830
831 Sat Sep 7 06:44:47 1996 Gary Houston <ghouston@actrix.gen.nz>
832
833 * boot-9.scm (%%handle-system-error): recognise errors thrown
834 by lgh-error (fill-message etc.)
835 (fill-message): check first whether args is null.
836 (fill-message): bug fix and check that args is a list.
837
838 Thu Sep 5 11:33:41 1996 Jim Blandy <jimb@floss.cyclic.com>
839
840 * boot-9.scm: %load-path is initialized in C code now.
841 (implementation-vicinity, parse-path): Deleted, along with code to
842 initialize %load-path.
843
844 * boot-9.scm (in-vicinity): If the vicinity doesn't end with a
845 "/", use one to separate it from the file.
846
847 Thu Aug 29 23:05:11 1996 Thomas Morgan <tmorgan@gnu.ai.mit.edu>
848
849 * boot-9.scm (%load-path): Add the site directory.
850 Add the directory named after the version number.
851 Prepend the version number to the other directories in the path.
852 Simplify by mapping the common prefix onto each item.
853 * Makefile.in (datadir, pkgdatadir, pkgverdatadir, subpkgdatadir,
854 sitedatadir): New definitions.
855 (libparent, libdir, install_path): Replaced by above.
856 (install): Create the above directories.
857 Put the source files into subpkgdatadir.
858 (uninstall): Remove the above directories.
859
860 Thu Aug 29 21:48:47 1996 Jim Blandy <jimb@floss.cyclic.com>
861
862 Don't use the PLUGIN system to gather information for the
863 Makefile's distribution and installation targets; just put it all
864 in the Makefile directly.
865 * PLUGIN/this.configure (scm_files, aux_files): Remove sections
866 for these.
867 * configure.in: Remove code that gets and substitutes scm_files and
868 aux_files.
869 * Makefile.in (scm_files, aux_files): Write out the list of files
870 here, where people expect to find them.
871
872 Fri Aug 23 06:44:36 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
873
874 * boot-9.scm: Preliminary solution: optionally load the debug
875 module. Changed "gls" to "guile1.0b3".
876
877 * debug.scm: New file: debug extensions.
878
879 Wed Aug 21 13:06:56 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
880
881 * boot-9.scm (print-vector): Renamed weak-hash-table? -->
882 weak-key-hash-table?. (Again!)
883
884 Tue Aug 20 07:31:39 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
885
886 * boot-9.scm (print-vector, macro-table, xformer-table):
887 Renamed weak-hash-table --> weak-key-hash-table.
888
889 * poe.scm (funcq-memo): Renamed weak-hash-table -->
890 weak-key-hash-table.
891
892 Sat Aug 3 06:16:35 1996 Gary Houston <ghouston@actrix.gen.nz>
893
894 * boot-9.scm (*null-device*): global constant from goonix.
895 (move->fdes): adjusted for boolean primitive-move->fdes. return
896 the modified port, always set revealed count to 1 (SCSH compatible).
897 (release-port-handle port): from goonix (SCSH compatible).
898 (%open-file): removed.
899 (open-input-file, open-output-file, file-exists?, file-is-directory?):
900 modified for open-file change (does not return #f).
901
902 Thu Aug 1 02:52:42 1996 Jim Blandy <jimb@totoro.cyclic.com>
903
904 * Makefile.in (dist-dir): New target for new dist system.
905 (manifest): Deleted.
906 * PLUGIN/this.configure (aux_files): Removed PLUGIN; it's a
907 directory, and needs special treatment in the dist-dir target.
908
909 Thu Aug 1 09:00:21 1996 Gary Houston <ghouston@actrix.gen.nz>
910
911 * boot-9.scm: remove the wrappers for '%' system primitives,
912 now that they throw errors directly.
913 remove make-simple-wrapper and similar functions.
914 protect a call to getenv which may now throw an exception.
915
916 Wed Jul 31 23:44:42 1996 Gary Houston <ghouston@actrix.gen.nz>
917
918 * boot-9.scm (false-if-exception): new macro.
919
920 Fri Apr 19 13:53:08 1996 Tom Lord <lord@beehive>
921
922 * The more things change...
923
924