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