1 Fri Jun 6 14:37:18 1997 Marius Vollmer <mvo@zagadka.ping.de>
3 * boot-9.scm (struct-printer): Bugfix: Check the layout of the
4 vtable and not the one of the struct.
6 Wed Jun 4 23:27:16 1997 Marius Vollmer <mvo@zagadka.ping.de>
8 * boot-9.scm (struct-layout, %struct-printer-tag, struct-printer,
9 make-struct-printer, set-struct-printer-in-vtable!): New bindings
10 to support printing of structures.
11 (record-type-vtable, make-record-type): Add slot to hold printing
12 function and initialize it with something appropriate. Removed
13 commented out printing code.
14 (record-type-name, record-type-fields): Adjusted slot offsets.
15 (%print-module): Reduce argument list to "mod" and "port".
17 Sat May 31 18:57:12 1997 Gary Houston <ghouston@actrix.gen.nz>
19 * boot-9.scm: signal-handler, alarm-thunk: removed.
20 don't define ticks-interrupt etc.
21 top-repl: install signal handlers for SIGINT, SIGFPE, SIGSEGV, SIGBUS
22 during call to scm-style-repl.
24 Fri May 30 18:08:10 1997 Jim Blandy <jimb@floss.cyclic.com>
26 * slib.scm (slib:load): Use primitive-load-path instead of
27 basic-load. This is probably wrong, but hopefully the entire
28 source access system will be revised soon anyway, and this will
29 make require behave more like Emacs Lisp's require. If this
30 breaks something, please let me know. Maybe this is real dumb.
32 Thu May 29 02:36:48 1997 Jim Blandy <jimb@floss.cyclic.com>
34 * regex.scm: Add a module declaration. Use DEFINE-PUBLIC everywhere.
35 * boot-9.scm: If the `regex' feature is present, use the module
38 Tue May 27 22:48:14 1997 Tim Pierce <twp@twp.tezcat.com>
40 * regex.scm: New file.
41 * Makefile.am (subpkgdata_DATA): Add regex.scm.
42 * Makefile.in: Regenerated.
44 Mon May 26 17:24:48 1997 Jim Blandy <jimb@totoro.cyclic.com>
46 * COPYING, boot-9.scm, debug.scm, emacs.scm, expect.scm, gtcl.scm,
47 gwish.scm, hcons.scm, lineio.scm, mapping.scm, nonblocking.scm,
48 oldprint.scm, poe.scm, r4rs.scm, source.scm, tags.scm, test.scm,
49 threads.scm: New address for FSF.
51 Fri May 16 04:09:45 1997 Jim Blandy <jimb@floss.cyclic.com>
53 * debug.scm: Update copyright years; this file has been worked on
56 Thu May 15 07:56:08 1997 Gary Houston <ghouston@actrix.gen.nz>
58 * expect.scm: use gettimeofday instead of get-internal-real-time
59 and use a floating point timeout when calling select. Untested,
60 since the regex library is currently AWOL.
62 Wed May 14 21:00:30 1997 Jim Blandy <jimb@floss.cyclic.com>
64 * boot-9.scm (eval-string): Function deleted; it was already
65 implemented in C, so there's no point in making a divergable copy
68 Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com>
70 * Makefile.in: Regenerated, using automake-1.1p.
72 Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com>
74 * Makefile.in: Regenerated, using automake-1.1p.
76 Tue May 13 02:48:49 1997 Gary Houston <ghouston@actrix.gen.nz>
78 * boot-9.scm (error-catching-loop): don't read a line from
79 current input when quit is encountered, the previous change
82 Mon May 12 19:00:21 1997 Jim Blandy <jimb@floss.cyclic.com>
84 * boot-9.scm (scm-style-repl): After reading an expression,
85 consume any trailing newline (perhaps preceded by whitespace), to
86 avoid screwing up GDB. More detail in comments.
88 Mon May 5 13:18:38 1997 Jim Blandy <jimb@floss.cyclic.com>
90 * Makefile.am (ETAGS_ARGS): New variable, since we're not treating
91 the Scheme code like code yet.
92 * Makefile.in: Resrac,husrched.
94 Wed Apr 30 15:25:15 1997 Marius Vollmer <mvo@zagadka.ping.de>
96 * boot-9.scm (link-dynamic-module): Do not catch errors from
97 dynamic-link and dynamic-call. When the shared library exists it
98 is now assumed to be suitable for a dynamic C module.
100 Fri Apr 25 21:21:35 1997 Marius Vollmer <mvo@zagadka.ping.de>
102 * boot-9.scm (process-use-modules): New function to support the
104 (use-modules): throw an error iff one of the requested modules
107 Tue Apr 29 06:54:46 1997 Gary Houston <ghouston@actrix.gen.nz>
109 * boot-9.scm: don't define timer-thunk or gc-thunk.
111 Sun Apr 27 17:56:09 1997 Jim Blandy <jimb@floss.cyclic.com>
113 * aclocal.m4: Removed; unnecessary, given changes of Apr 24.
115 * Makefile.am (subpkgdatadir): Use "ice-9" instead of "@module@";
116 we're not using AM_INIT_GUILE_MODULE any more.
117 * Makefile.in: Regeneratitetedrerd.
119 Thu Apr 24 01:33:33 1997 Jim Blandy <jimb@floss.cyclic.com>
121 Get 'make dist' to work again.
122 * Makefile.am (EXTRA_DIST): Remove PLUGIN files.
123 * Makefile.in: Regenerated, like two tons of fleas.
125 Changes for reduced Guile distribution: one configure script,
127 * configure.in, configure: Removed.
128 * Makefile.in: Regenerated.
130 Sat Apr 19 08:03:50 1997 Jim Blandy <jimb@floss.cyclic.com>
132 * boot-9.scm (eval-string, command-line, load-user-init): New
135 Sat Apr 12 08:27:05 1997 Gary Houston <ghouston@actrix.gen.nz>
137 * boot-9.scm (log10): defined.
139 Tue Apr 1 17:46:49 1997 Gary Houston <ghouston@actrix.gen.nz>
141 * expect.scm (expect-select): correct the millisecond timeout
142 arithmetic (from Marko.Kohtala@ntc.nokia.com).
144 Mon Mar 31 03:23:19 1997 Gary Houston <ghouston@actrix.gen.nz>
146 * boot-9.scm (open-input-pipe, open-output-pipe): defined here
147 instead of in libguile.
148 (tm:sec etc.) new accessors for broken-down time.
149 (set-tm:sec etc.) new setters for broken-down time.
151 Thu Mar 27 05:06:00 1997 Gary Houston <ghouston@actrix.gen.nz>
153 * boot-9.scm (netent:addrtype, servent:port): added missing
155 (netent:net, servent:proto): repaired.
156 (utsname:sysname etc.): new accessors for uname.
158 Tue Mar 25 03:04:03 1997 Gary Houston <ghouston@actrix.gen.nz>
160 * boot-9.scm (sockaddr:fam, sockaddr:path, sockaddr:addr,
161 sockaddr:port): new functions.
163 Wed Mar 19 04:50:34 1997 Gary Houston <ghouston@actrix.gen.nz>
165 * boot-9.scm: define accessor procedures for the objects returned
166 by getpw, getgr, gethost, getnet, getproto, getserv (e.g.,
167 passwd:name, where the first component is the name of the C structure
168 and the second is the unprefixed C member name.)
170 Tue Mar 18 18:39:31 1997 Gary Houston <ghouston@actrix.gen.nz>
172 * boot-9.scm (setpwent, setgrent, sethostent, setnetent, setprotoent,
173 setservent): no longer take an argument, it was bogus.
175 Thu Mar 13 00:13:41 1997 Gary Houston <ghouston@actrix.gen.nz>
177 * boot-9.scm (scm-error): deleted, reimplemented in C.
179 Mon Mar 10 15:48:31 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
181 * boot-9.scm (process-define-module): Modified to handle both
182 keywords and symbols.
184 Sat Mar 8 04:32:44 1997 Gary Houston <ghouston@actrix.gen.nz>
186 * slib.scm: update read usage.
188 * r4rs.scm: update primitive-load usage.
189 Don't define read-sharp.
191 * boot-9.scm: use read-hash-extend to install extra read syntax.
192 (read-sharp): removed.
193 Adjust usage of primitive-load-path, read, which no longer take
194 case_i or read-sharp arguments.
196 Sat Mar 8 00:07:54 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
198 * boot-9.scm: Added loading of session support module.
200 * debug.scm: Removed `display-application'. (Replaced by
201 primitive procedure.)
203 * boot-9.scm (beautify-user-module!): Don't add the root module
204 interface to the end of the use-list of the root module.
206 Thu Mar 6 07:26:34 1997 Gary Houston <ghouston@actrix.gen.nz>
208 * boot-9.scm: repl-quit, repl-abort: obsolete variables deleted.
210 Wed Mar 5 20:30:24 1997 Gary Houston <ghouston@actrix.gen.nz>
212 * boot-9.scm: check use-emacs-interface for emacs support.
214 Sun Mar 2 19:47:14 1997 Gary Houston <ghouston@actrix.gen.nz>
216 * boot-9.scm (scm-style-repl): call repl-report-start-timing if
218 * (exit): alias for quit.
220 Sun Mar 2 05:25:11 1997 Gary Houston <ghouston@actrix.gen.nz>
222 * boot-9.scm (error-catching-loop thunk): use a status variable to
223 return the quit args.
224 (scm-style-repl): call -quit, passing return value from
225 error-catching-repl. Make -quit return its args.
226 stand-alone-repl: comment out, since it seems unused.
228 (error-catching-loop thunk): discard trailing junk after a (quit).
230 Sat Mar 1 15:24:39 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
232 * boot-9.scm: Removed the old printer code.
234 * r4rs.scm (apply, call-with-current-continuation): Added comment
235 explaining why apply and call/cc need to be closures.
237 * boot-9.scm (apply, call-with-current-continuation): Bugfix:
238 Removed. These definitions are already present in r4rs.scm.
240 * debug.scm (trace-entry, trace-exit): Check that we're on a repl
241 stack before printing traced frames; Re-enable trace flag at end
244 Sat Mar 1 00:10:38 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
246 * debug.scm: Add hook for reset of trace level at abort.
248 * boot-9.scm (run-hooks): New procedure.
249 (add-hooks!): New macro.
250 Change hooks to use these functions.
252 * debug.scm: *Warning* This feature is a bit premature. I add
253 it anyway because 1. it is very useful, and, 2. you can start
254 making it less premature by complaining to me and by modifying
256 (trace): Given one or more procedure objects, trace each one.
257 Given no arguments, show all traced procedures.
258 (untrace): Given one or more procedure objects, untrace each one.
259 Given no arguments, untrace all traced procedures. The tracing in
260 Guile have an advantage to most other systems: We don't create new
261 procedure objects, but mark the procedure objects themselves.
262 This means that also anonymous and internal procedures can be
265 * boot-9.scm (error-catching-loop): Added handling of apply-frame
266 and exit-frame exceptions.
268 * boot-9.scm (assert-repl-prompt, the-prompt-string): Removed.
269 (set-repl-prompt!): Setter for repl prompt.
270 (scm-style-repl): If prompt is #f, don't prompt; if prompt is a
271 string, display it; if prompt is a thunk, call it and display its
272 result; otherwise display "> ".
273 (Change suggested by Roland Orre <orre@nada.kth.se>.)
275 * r4rs.scm (%load-verbosely): Reverted change to
276 `module-defined?', since the module system isn't bootstrapped when
277 we load r4rs.scm. This is just a temporary fix to make the
278 repository version runnable.
280 Thu Feb 27 23:25:47 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
282 * boot-9.scm: Removed the enabling of debug evaluator and
283 recording of source code positions. This was placed there for our
284 convenience, but it has already sneaked into the distribution
285 once... so we'd better add this in our local copies instead when
286 we need it. (These options are normally enabled at the end of
287 boot-9.scm when loading the debug module.)
289 Thu Feb 27 16:04:45 1997 Marius Vollmer <mvo@zagadka.ping.de>
291 * boot-9.scm (module-defined?): New function.
292 (macroexpand-1, macroexpand): Use local-ref instead of defined?
294 * r4rs.scm (%load-verbosely): Use "module-defined?" instead of
296 * slib.scm (defined?): New function to take the place of the
297 builtin "defined?". It allways examines the slib module.
299 Mon Feb 24 21:46:15 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
301 * configure.in: Added AM_MAINTAINER_MODE
303 Sat Feb 15 04:51:20 1997 Gary Houston <ghouston@actrix.gen.nz>
305 * boot-9.scm (read-sharp): define directly, don't go through a
308 Tue Feb 11 08:45:48 1997 Gary Houston <ghouston@actrix.gen.nz>
310 * boot-9.scm (uniform-vector-set!): use uniform-array-set1!, not
311 uniform-vector-set1! which doesn't exist.
313 Mon Feb 10 03:01:48 1997 Mikael Djurfeldt <mdj@kenneth>
315 * boot-9.scm (backtrace): Removed. (A C version now exists in
318 Fri Jan 24 06:05:36 1997 Gary Houston <ghouston@actrix.gen.nz>
320 * boot-9.scm (read-line!, read-delimited!, read-delimited,
321 read-line): new procedures, see libguile/ChangeLog.
323 Thu Jan 16 17:07:03 1997 Marius Vollmer <mvo@zagadka.ping.de>
325 Added dynamic linking of modules. See libguile/DYNAMIC-LINKING.
327 * boot-9.scm (split-c-module-name, convert-c-registered-modules,
328 init-dynamic-module, dynamic-maybe-call,
329 find-and-link-dynamic-module, link-dynamic-module,
330 try-module-dynamic-link, registered-modules): New definitions for
331 dynamic linking of modules.
332 (resolve-module): Try to dynamically link the requested module
333 after failing to load it as Scheme code.
335 Wed Jan 8 05:50:14 1997 Gary Houston <ghouston@actrix.gen.nz>
337 * boot-9.scm (getservbyport, getservbyname): remove stray %.
339 Tue Jan 7 20:02:24 1997 Jim Blandy <jimb@floss.cyclic.com>
341 * boot-9.scm (and=>): Rename THUNK argument to PROCEDURE, 'cos
344 * lineio.scm (make-line-buffering-input-port): Properly test for
345 the case of an empty buffer list. The old code assumed that '()
348 Mon Jan 6 01:13:53 1997 Mikael Djurfeldt <mdj@kenneth>
350 * boot-9.scm (use-modules): New macro (from Marius Vollmer).
351 (use-modules <module name> ...) Put the the modules named by
352 <module name> ... on the use list of the current module.
354 Sun Jan 5 15:52:59 1997 Jim Blandy <jimb@floss.cyclic.com>
356 * boot-9.scm (error-catching-loop): Remove message saying that
357 typing "$" will put you in the debugger. This isn't implemented
360 Sun Dec 22 23:27:25 1996 Jim Blandy <jimb@floss.cyclic.com>
362 * boot-9.scm (delq-all!): Function deleted; delq!'s semantics have
363 been fixed, so this function is superfluous.
364 (transform-usage-lambda): Use delq!, not delq-all!.
366 Tue Dec 17 20:36:45 1996 Marius Vollmer <mvo@zagadka.ping.de>
368 * boot-9.scm (resolve-module): New optional parameter that
369 controls whether autoloading is attempted or not. Default is #t.
370 (process-define-module): Don't autoload the defined module.
371 (try-module-autoload): Don't autoload the directory modules.
373 * boot-9.scm (process-define-module): Ensure that the-scm-module
374 is last in the `uses' list to allow shadowing builtin
375 bindings. All :use-module options are added in the order they
376 appear in the arguments but before anything already on the list
377 (such as the-scm-module).
379 Wed Dec 11 21:06:05 1996 Gary Houston <ghouston@actrix.gen.nz>
381 * slib.scm (slib-parent-dir): throw error if #f returned from
384 Sat Nov 30 23:57:28 1996 Tom Tromey <tromey@cygnus.com>
386 * PLUGIN/greet, PLUGIN/split.sed, PLUGIN/this.configure: Removed.
387 * Makefile.am, aclocal.m4: New files.
388 * configure.in: Updated for Automake.
390 Wed Nov 27 14:16:14 1996 Marius Vollmer <mvo@zagadka.ping.de>
392 * boot-9.scm (macroexpand-1, macroexpand), slib.scm
393 (slib:features), r4rs.scm (%load-verbosely): "defined?" is now a
394 function, use it accordingly.
396 Thu Nov 21 11:12:10 1996 Jim Blandy <jimb@floss.cyclic.com>
398 It's an "eval closure", not an "eval thunk." A thunk is a
399 function of no arguments.
400 * boot-9.scm (module-type): Rename module field.
401 (make-module, eval-in-module, make-root-module,
402 set-current-module): Uses changed.
403 (module-eval-closure, set-module-eval-closure!,
404 root-module-closure): Renamed from module-eval-thunk,
405 set-module-eval-thunk!, root-module-thunk.
406 (set-current-module): Change uses of *top-level-lookup-thunk* to
407 *top-level-eval-closure*.
409 Wed Nov 20 14:45:27 1996 Jim Blandy <jimb@totoro.cyclic.com>
411 * slib.scm (slib-parent-dir): Use string-length, not length.
412 (Thanks to Bernard Urban.)
414 Sat Nov 2 20:00:42 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
416 * boot-9.scm: The debugging evaluator and recording of positions
417 aren't enabled by default any longer (they are switched on in
418 debug.scm). But during development we want to have them also
419 *inside* boot-9.scm. Therefore, two lines are added at the
420 beginning of boot-9.scm to enable these.
422 Call `provide' so that `records' are included among the
425 The scheme for saving the stack has been adjusted: save-stack is
426 now commonly available for saving the stack. Calling `save-stack'
427 sets a flag `stack-saved?' which prevents overwriting the stack.
428 `stack-saved?' is reset at `abort'.
430 Spelling correction: seperate --> separate.
432 Removed `:'s that had creeped into some comments.
434 The repl now doesn't print #<unspecified> results any longer
435 If the user wants to see this, he can do
436 (assert-repl-print-unspecified #t) in his startup file.
438 The user now gets a friendly message instead of a backtrace at
441 Added `before-read-hook'.
443 Load module (ice-9 emacs) if option `-e' was specified.
445 (provide): New function.
447 (error): Save stack at entry, so that Guile entrails won't show up
450 (backtrace): New function.
452 (save-stack): Can now take arbitrary number of stack narrowing
453 specifier pairs. The first specifier in a pair controls inner
454 border, the second the outer border. A number means cut that
455 number of frames, a procedure object means cut until that object
456 is found in operator position in a frame.
458 * debug.scm: Enable debugging evaluator and recording of positions
461 * slib.scm (slib:load): Adapt to the new behavior of
462 primitive-load: It doesn't any longer try both with and without
463 ".scm" extension. (We don't want to use %search-load-path here.)
465 (implementation-vicinity): New function. slib requires it
467 (library-vicinity): Updated.
469 Load "require.scm" in the library-vicinity.
471 (install-require-vicinity, install-require-module): New functions.
473 Mon Oct 28 17:56:29 1996 Jim Blandy <jimb@floss.cyclic.com>
475 * boot-9.scm (load-from-path): New function.
477 * boot-9.scm (try-load, basic-try-load, try-load-module,
478 try-load): Deleted. I don't think they're being used.
480 * Makefile.in (scm_files): Add r4rs.scm and test.scm to this list,
481 so they'll get distributed.
483 Get Guile to be a little less chatty by default. The new user
484 should see as little clutter as possible.
485 * r4rs.scm (%load-verbosely): Make this #f by default.
486 * boot-9.scm (scm-repl-verbose): Make this #f by default.
487 (scm-style-repl): Don't run 'pk' on the value passed to quit.
489 * r4rs.scm: New file.
490 * boot-9.scm: Load r4rs.scm, first thing.
491 (OPEN_READ, OPEN_WRITE, OPEN_BOTH, *null-device*, open-input-file,
492 open-output-file, open-io-file, close-input-port,
493 close-output-port, close-io-port, call-with-input-file,
494 call-with-output-file, with-input-from-port, with-output-to-port,
495 with-error-to-port, with-input-from-file, with-output-to-file,
496 with-error-to-file, with-input-from-string, with-output-to-string,
497 with-error-to-string, the-eof-object): Definitions moved to
498 r4rs.scm. Not all of them are R4RS, but those that are use those
500 (load, %load-verbosely, %load-announce): Moved, along with code to
501 set %load-hook, to r4rs.scm.
503 * test.scm: New file.
505 * boot-9.scm (integer?): Definition deleted, in favor of the one
506 present in libguile (which used to be called int?). I have no
507 idea why integer? didn't just call int? to begin with.
509 * boot-9.scm (<, <=, =, >, >=): Definitions in terms of <?, <=?,
510 =?, >?, and >=? deleted; they're defined that way by libguile now.
512 * boot-9.scm (load): Simplified; primitive-load does most of this
514 (%load-announce-win): Removed; no longer used. Set %load-hook to
517 Sun Oct 27 07:47:03 1996 Gary Houston <ghouston@actrix.gen.nz>
519 * boot-9.scm (stat:dev, stat:ino, stat:mode, stat:nlink, stat:uid,
520 stat:gid, stat:rdev, stat:size, stat:atime, stat:mtime,
521 stat:ctime, stat:blksize, stat:blocks) accessor functions for stat
523 (file-is-directory?): use stat:type.
525 Fri Oct 25 03:34:47 1996 Jim Blandy <jimb@floss.cyclic.com>
527 * boot-9.scm (%read-sharp): Don't recognize the `#!' syntax here;
528 that's now taken care of in libguile, and in a way compatible with
529 SCSH (which this isn't).
531 Mon Oct 21 18:52:36 1996 Jim Blandy <jimb@totoro.cyclic.com>
533 * boot-9.scm: Formatting tweaks.
535 Fri Oct 18 01:03:08 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
537 * boot-9.scm (handle-system-error): Added hooks before-error-hook,
538 after-error-hook, before-backtrace-hook and after-backtrace-hook
539 to the error handler. E.g.: fancy emacs support could plug into
541 (save-stack): New function. The stack is now made differently
542 depending on the stack id. (The motivation is to make a better
543 choice regarding what stack frames to present to the user.)
544 (error-catching-loop): Stack handling code moved outside into
547 Thu Oct 17 20:33:08 1996 Gary Houston <ghouston@actrix.gen.nz>
549 * Makefile.in (scm_files): add expect.scm.
551 * expect.scm: new file ported from guile-iii.
553 * boot-9.scm: remove handle-system-error, after moving the code into
555 Don't set 'throw-handler-default property on error keys.
556 Just interpret (almost) any throw with 4 args as an error throw.
557 Delete some try-load stuff that was already commented out.
559 Second thoughts, keep handle-system-error but call it from
562 Tue Oct 15 17:07:20 1996 Jim Blandy <jimb@floss.cyclic.com>
564 * boot-9.scm: Doc fixes.
565 (make-module): Rework for readability.
566 (make-root-module, make-scm-module): USES argument to make-module
567 should be '(), not #f.
569 * boot-9.scm (try-load): %sys-load-path has been renamed to
570 primitive-load-path; adjust call here.
572 Tue Oct 15 14:25:01 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
574 * boot-9.scm (signal-handler): Bugfix: Moved the recording of
575 the stack to the correct place: when it is decided to generate an
578 Mon Oct 14 22:20:30 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
580 * boot-9.scm (error-catching-loop, signal-handler,
581 handle-system-error): Backtracing now works for signals aswell;
582 Backtracing mechanism can now identify the stack root created by
583 start-stack so that the user isn't exposed to system stack frames.
585 Mon Oct 14 06:05:42 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
587 * Makefile.in: Added threads.scm.
589 Mon Oct 14 04:21:51 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
591 * debug.scm (make-enable, make-disable): Simplified.
593 * boot-9.scm: Renamed %%throw-handler-default -->
594 throw-handler-default.
595 ((handle-system-error key . arg-list)): Changed the way errors are
597 ((scm-style-repl)): Wrap up the call to eval in a start-stack
599 ((error-catching-loop thunk)): Introduce a lazy-catch into
600 error-catching-loop so that the stack can be captured.
602 Thu Oct 10 22:27:32 1996 Jim Blandy <jimb@totoro.cyclic.com>
604 * mapping.scm (hash-table-mapping): Explicitly request that
605 make-vector fill new vectors with '(); this will make it easier to
606 port Guile Scheme code to other Schemes.
607 * boot-9.scm (make-print-style, make-print-table): Same.
609 Sun Oct 6 03:54:59 1996 Gary Houston <ghouston@actrix.gen.nz>
611 * boot-9.scm (load): rewritten again.
612 Append "." to the default %load-path.
613 (feature?): new function: checks for a symbol in the features list.
614 (module-local-variable): remove apparently useless (caddr (list m v
616 (%load-announce): minor formatting change.
617 (file-exists?): use access? if posix is featured.
618 (file-is-directory?): use stat if i/o-extensions is featured.
619 (try-module-autoload module-name): use file-exists? before
622 Sat Oct 5 18:54:03 1996 Mikael Djurfeldt <mdj@kenneth>
624 * boot-9.scm: Added conditional loading of threads.scm.
626 * threads.scm: New file. Modified from the Cygnus-r0.3
629 * boot-9.scm (error-catching-loop): Added handling of key
632 * boot-9.scm: Name change %%bad-throw --> bad-throw.
634 Wed Oct 2 23:38:44 1996 Jim Blandy <jimb@totoro.cyclic.com>
636 * boot-9.scm (make-record-type, record-constructor): Don't assume
637 the empty list is false when parsing the argument list.
639 Mon Sep 30 22:15:50 1996 Jim Blandy <jimb@totoro.cyclic.com>
641 * boot-9.scm (signal-handler): Clean up logic.
643 * boot-9.scm (load): Assume %load-path is always bound.
645 Sat Sep 28 00:15:37 1996 Gary Houston <ghouston@actrix.gen.nz>
647 * boot-9.scm (error): replace another throw with scm-error. Throw
648 to 'misc-error instead of 'error (no need to distinguish these.)
649 Don't set up 'error as a key.
650 Set up regex-error as a key, if regex is available.
651 (signal-handler): use scm-error, not throw.
653 (%try-load, try-load-with-path, %load, load-with-path,
654 basic-try-load-with-path, basic-load-with-path,
655 try-load-module-with-path,load-module-with-path): deleted, since
657 (try-load): define using %try-load, not try-load-with-path.
658 (load): rewritten. load tries to open the file directly and
659 with a .scm extension before searching the library directories
660 (should "." be added to %load-path? then load could still open
661 directly files starting with "/").
662 (try-module-autoload): use load, not load-with-path.
663 (%load-indent): deleted, -2 was causing errors.
665 (%read-sharp): use port-line, not line-number.
667 Fri Sep 27 16:23:51 1996 Jim Blandy <jimb@totoro.cyclic.com>
669 * boot-9.scm (%%bad-throw): Delete definition. 1) It's very
670 straightforward to provide the equivalent functionality using
671 (catch #t ...), so there's no need for the extra complexity. 2)
672 Outside the context of a read-eval-print loop (which Guile should
673 not require) it's not clear we should do anything more complicated
674 than print an error and exit; the user or REPL can establish
675 something better if it wants. 3) In that case, it's much more
676 robust to just do it in the C code.
678 Tue Sep 24 06:53:04 1996 Gary Houston <ghouston@actrix.gen.nz>
680 * boot-9.scm (%try-load): define using primitive-load. Previously
681 %try-load itself was the primitive.
682 (load-with-path): use scm-error instead of %load-announce-lossage.
683 Errors are thrown to 'misc-error instead of 'could-not-load.
684 (%load-announce-lossage): deleted.
686 Mon Sep 23 00:16:31 1996 Mikael Djurfeldt <mdj@kenneth>
688 * boot-9.scm (warn, scm-style-repl): Use C printer instead of `print'.
689 (make-record-type type-name fields): Temporarily remove support
690 for printing of records (not possible yet with C printer).
692 Fri Sep 20 00:24:27 1996 Gary Houston <ghouston@actrix.gen.nz>
694 * boot-9.scm (file-exists?, file-is-directory): catch only
695 system-error, not every kind of error.
696 (scm-error): new procedure.
698 Thu Sep 19 16:02:46 1996 Jim Blandy <jimb@totoro.cyclic.com>
700 * boot-9.scm: Formatting tweaks.
702 Wed Sep 18 09:07:37 1996 Gary Houston <ghouston@actrix.gen.nz>
704 * boot-9.scm (%%handle-system-error key): remove the code for
705 SCM-style errors. handle the case that an unexpected number
706 of args are supplied.
707 (%%system-errors): removed.
708 (error): redefine using a throw with key and 4 args.
709 ('error): associate 'error, 'error-signal keys with
710 %%handle-system-error.
711 (%%default-error-handler): removed.
712 (signal-handler): throw with 4 args and use the error-signal key.
713 Create an error message instead of using numerical codes.
714 (%%bad-throw): call error instead of throw if key not found.
716 Tue Sep 17 04:11:28 1996 Gary Houston <ghouston@actrix.gen.nz>
718 * boot-9.scm: initialize new error keys (see libguile/ChangeLog).
719 (%%handle-system-error key): check subr is not #f before printing.
720 Recognize %s (embed an argument using "display") and
721 %S (embed an argument using "write").
723 Sun Sep 15 03:55:35 1996 Gary Houston <ghouston@actrix.gen.nz>
725 * boot-9.scm (%%handle-system-error key): set args and rest to
726 the empty list if they are #f.
727 Initialize out-of-range as an error key.
729 Sat Sep 14 03:41:15 1996 Gary Houston <ghouston@actrix.gen.nz>
731 * PLUGIN/REQ: remove the "ice-9 lgh" line which causes a cycle.
733 * boot-9.scm: remove leading %% from references to '%%system-error.
734 (%%handle-system-error): don't pass all the thrown arguments when
735 aborting, just the key and subr.
736 Remove the code to "Install default handlers for built-in errors."
737 Remove the definition of the syserror procedure.
738 Associate 'numerical-overflow with default handler.
740 Fri Sep 13 04:58:11 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
742 * boot-9.scm: Name change: value-ref --> local-ref
743 resolved-ref --> nested-ref Motivation: conformance to the other
744 dictionary operators: list-ref operates on list, vector-ref
745 operates on vector, nested-ref operates on nested namespace,
746 local-ref operates on the local nested namespace.
748 Sat Sep 7 06:44:47 1996 Gary Houston <ghouston@actrix.gen.nz>
750 * boot-9.scm (%%handle-system-error): recognise errors thrown
751 by lgh-error (fill-message etc.)
752 (fill-message): check first whether args is null.
753 (fill-message): bug fix and check that args is a list.
755 Thu Sep 5 11:33:41 1996 Jim Blandy <jimb@floss.cyclic.com>
757 * boot-9.scm: %load-path is initialized in C code now.
758 (implementation-vicinity, parse-path): Deleted, along with code to
759 initialize %load-path.
761 * boot-9.scm (in-vicinity): If the vicinity doesn't end with a
762 "/", use one to separate it from the file.
764 Thu Aug 29 23:05:11 1996 Thomas Morgan <tmorgan@gnu.ai.mit.edu>
766 * boot-9.scm (%load-path): Add the site directory.
767 Add the directory named after the version number.
768 Prepend the version number to the other directories in the path.
769 Simplify by mapping the common prefix onto each item.
770 * Makefile.in (datadir, pkgdatadir, pkgverdatadir, subpkgdatadir,
771 sitedatadir): New definitions.
772 (libparent, libdir, install_path): Replaced by above.
773 (install): Create the above directories.
774 Put the source files into subpkgdatadir.
775 (uninstall): Remove the above directories.
777 Thu Aug 29 21:48:47 1996 Jim Blandy <jimb@floss.cyclic.com>
779 Don't use the PLUGIN system to gather information for the
780 Makefile's distribution and installation targets; just put it all
781 in the Makefile directly.
782 * PLUGIN/this.configure (scm_files, aux_files): Remove sections
784 * configure.in: Remove code that gets and substitutes scm_files and
786 * Makefile.in (scm_files, aux_files): Write out the list of files
787 here, where people expect to find them.
789 Fri Aug 23 06:44:36 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
791 * boot-9.scm: Preliminary solution: optionally load the debug
792 module. Changed "gls" to "guile1.0b3".
794 * debug.scm: New file: debug extensions.
796 Wed Aug 21 13:06:56 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
798 * boot-9.scm (print-vector): Renamed weak-hash-table? -->
799 weak-key-hash-table?. (Again!)
801 Tue Aug 20 07:31:39 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
803 * boot-9.scm (print-vector, macro-table, xformer-table):
804 Renamed weak-hash-table --> weak-key-hash-table.
806 * poe.scm (funcq-memo): Renamed weak-hash-table -->
809 Sat Aug 3 06:16:35 1996 Gary Houston <ghouston@actrix.gen.nz>
811 * boot-9.scm (*null-device*): global constant from goonix.
812 (move->fdes): adjusted for boolean primitive-move->fdes. return
813 the modified port, always set revealed count to 1 (SCSH compatible).
814 (release-port-handle port): from goonix (SCSH compatible).
815 (%open-file): removed.
816 (open-input-file, open-output-file, file-exists?, file-is-directory?):
817 modified for open-file change (does not return #f).
819 Thu Aug 1 02:52:42 1996 Jim Blandy <jimb@totoro.cyclic.com>
821 * Makefile.in (dist-dir): New target for new dist system.
823 * PLUGIN/this.configure (aux_files): Removed PLUGIN; it's a
824 directory, and needs special treatment in the dist-dir target.
826 Thu Aug 1 09:00:21 1996 Gary Houston <ghouston@actrix.gen.nz>
828 * boot-9.scm: remove the wrappers for '%' system primitives,
829 now that they throw errors directly.
830 remove make-simple-wrapper and similar functions.
831 protect a call to getenv which may now throw an exception.
833 Wed Jul 31 23:44:42 1996 Gary Houston <ghouston@actrix.gen.nz>
835 * boot-9.scm (false-if-exception): new macro.
837 Fri Apr 19 13:53:08 1996 Tom Lord <lord@beehive>
839 * The more things change...