* boot-9.scm (set-batch-mode?!, batch-mode?): initialize more
[bpt/guile.git] / ice-9 / ChangeLog
1 Sun Nov 9 06:10:59 1997 Gary Houston <ghouston@actrix.gen.nz>
2
3 * boot-9.scm (set-batch-mode?!, batch-mode?): initialize more
4 usefully so they will work from a script.
5
6 1997-10-31 Marius Vollmer <mvo@zagadka.ping.de>
7
8 * boot-9.scm (inherit-print-state): Moved definition to the
9 neighborhood of the record code.
10
11 Mon Oct 27 02:05:49 1997 Jim Blandy <jimb@totoro.red-bean.com>
12
13 * boot-9.scm: Revert changes to this file from Oct 23. It turns
14 out to interact badly with the Emacs support and the Tcl/Tk
15 support. It's not a high enough priority at the moment to be
16 worth fixing. I'm leaving the other readline support in, though.
17
18 Sat Oct 25 14:23:22 1997 Jim Blandy <jimb@totoro.red-bean.com>
19
20 * Makefile.am: Include readline.scm in the list of files to be
21 installed, so Guile can find it for interactive use.
22 * Makefile.in: Regenerated.
23
24 Thu Oct 23 01:00:33 1997 Jim Blandy <jimb@totoro.red-bean.com>
25
26 Add support for readline function.
27 * readline.scm: New module.
28 * boot-9.scm (repl-reader): New function.
29 (scm-style-repl): Call repl-reader, instead of doing the reading
30 ourselves. Remove repl-report-reset; it was never used for
31 anything.
32 (top-repl): If we've got the readline primitives, then redefine
33 repl-reader to use them.
34 If we've got the readline primitives, import the readline module.
35
36 * ls.scm (ls, lls): Don't assume (eq? #f '()).
37
38 Wed Oct 22 18:26:57 1997 Jim Blandy <jimb@totoro.red-bean.com>
39
40 * calling.scm, common-list.scm, ls.scm, q.scm, runq.scm,
41 string-fun.scm: Added copyright notices; reformatted.
42
43 Thu Oct 9 05:44:00 1997 Gary Houston <ghouston@actrix.gen.nz>
44
45 * expect.scm: (expect-regexec): new procedure, use it in
46 expect-strings to fix the => syntax under the new regex system.
47 (top): include regex module in define-module statement.
48
49 Wed Oct 8 03:16:01 1997 Gary Houston <ghouston@actrix.gen.nz>
50
51 * (error-catching-loop): new local variable "interactive". if
52 #f, abort terminates the process.
53 (set-batch-mode?!, batch-mode?): new closures, defined in
54 error-catching-loop. the names are from scsh.
55
56 1997-10-06 Marius Vollmer <mvo@zagadka.ping.de>
57
58 * boot-9.scm (inherit-print-state): If NEW-PORT contains a
59 print-state, throw it away.
60
61 Fri Oct 3 12:00:00 Mikael Djurfeldt <mdj@nada.kth.se>
62
63 * boot-9.scm (struct-layout): Use `vtable-index-layout' instead of
64 `0'.
65
66 Thu Oct 2 12:00:00 Mikael Djurfeldt <mdj@nada.kth.se>
67
68 * boot-9.scm (struct-printer, make-struct-printer,
69 set-struct-printer-in-vtable!, *struct-printer*): Removed.
70 (record-type-vtable, make-record-type): Don't use make-struct-printer.
71 (record-type-vtable): User fields "prpr" (printer is no longer a
72 user field).
73 (record-type-name, record-type-fields): Decreased slot index by
74 one; Use `vtable-offset-user'.
75
76 Thu Oct 2 12:00:00 Marius Vollmer <mvo@zagadka.ping.de>
77
78 * boot-9.scm (inherit-print-state): New experimental function.
79
80 Tue Sep 30 13:12:48 1997 Jim Blandy <jimb@totoro.red-bean.com>
81
82 Suggestion and script from Maciej Stachowiak:
83 * boot-9.scm: Split off modules into separate, autoloadable files.
84 This reduces startup time from 10.5s to 5.5s (user cpu).
85 * calling.scm, common-list.scm, ls.scm, q.scm, runq.scm,
86 string-fun.scm: New files, containing stuff that used to be in
87 boot-9.scm.
88 * Makefile.am (ice9_sources): List new files here, for
89 distribution and installation.
90 * Makefile.in: Regenerated.
91
92 Mon Sep 29 23:53:55 1997 Jim Blandy <jimb@totoro.red-bean.com>
93
94 * Makefile.in: Regenerated with automake 1.2c.
95
96 Mon Sep 29 03:21:24 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
97
98 * slib.scm (slib:load): slib:load first tries to load the file
99 named NAME, then NAME.scm. On error, report the error occuring at
100 the first attempt (NAME) rather than the second (NAME.scm).
101
102 * boot-9.scm: Bugfix: Hard-solder the print-option procedure into
103 the make-options macro so that we needn't refer to a global
104 symbol.
105
106 Sun Sep 28 21:40:24 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
107
108 * debug.scm: Moved options interface procedures to boot-9.scm.
109
110 * boot-9.scm: Define options interface procedures here instead.
111
112 Sat Sep 27 20:19:20 1997 Jim Blandy <jimb@totoro.red-bean.com>
113
114 * boot-9.scm (separate-fields-discarding-char,
115 separate-fields-after-char, separate-fields-before-char): Call
116 continuation function, RET, as advertised: with each separated
117 field a separate argument.
118
119 * Makefile.in: Regenerated with automake 1.2a.
120
121 Sat Sep 20 14:23:53 1997 Mikael Djurfeldt <mdj@kenneth>
122
123 * slib.scm (slib:load): Export.
124
125 * boot-9.scm (in-vicinity): Bugfix: Don't add "/" to an empty
126 vicinity;
127 Provide defmacro.
128
129 Thu Sep 18 01:24:31 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
130
131 * r4rs.scm (apply): Set name property to 'apply.
132
133 Tue Sep 16 22:09:50 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
134
135 * boot-9.scm (keyword->symbol, display-usage-report): Changed
136 length --> string-length. (Thanks to Aleksandar Bakic.)
137 (separate-fields-discarding-char, separate-fields-after-char,
138 separate-fields-before-char): Bugfix from Maciej Stachowiak
139 <mstachow@mit.edu>. Thanks!
140 (try-module-linked): Try to find module among those already
141 registered.
142 (try-module-dynamic-link): Removed the first test which
143 corresponds to a call to `try-module-linked'.
144 (resolve-module): Resolve modules in this order: 1. Already
145 registered modules (for example those which have been statically
146 linked), 2. Try to autoload an .scm-file, 3. Try to dynamically
147 link a .so-file.
148
149 Mon Sep 15 23:39:54 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
150
151 * boot-9.scm (iota): Renamed list-reverse! --> reverse!
152
153 Thu Sep 11 02:31:38 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
154
155 * session.scm (name): New procedure: Gives name of object.
156 (source): New procedure: Gives source of object.
157
158 Wed Sep 10 20:12:45 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
159
160 * * boot-9.scm (primitive-macro?): New procedure.
161
162 * slib.scm: Added hack which transfers syntactic information from
163 the builtin variable `define' to the slib version if module (ice-9
164 syncase) has been loaded. This is necessary to get correct
165 expansion inside the slib module.
166
167 * psyntax.ss (build-let, build-named-let): New output
168 constructors.
169 (build-lexical-var): Seed gensym with symbolic name.
170 (self-evaluating?): Add keywords among self-evaluating types.
171 (let): New core form.
172 (if): Removed from core language.
173 (or, and, let, cond): Removed syntactic definitions.
174 (sc-expand3): New procedure: Expander which takes optional mode
175 and eval-syntactic-expanders-when arguments.
176
177 * syncase.scm (psyncomp): New procedure: Recompiles psyntax.pp.
178 Should be used inside the (ice-9 syncase) module with (use-syntax
179 syncase) and with the current directory containing the psyntax.ss
180 source.
181 Added hack to transfer syntactic information from the builtin
182 variable `define' to the slib version if module (ice-9 slib) has
183 been loaded.
184
185 Fri Sep 5 05:47:36 1997 Mikael Djurfeldt <mdj@faun.nada.kth.se>
186
187 * syncase.scm (sc-interface, sc-expand): Removed hook setup.
188 (syncase): Publish syntax transformer to be used with
189 `use-syntax'.
190 (sc-macro): Use this as the value when publishing macros.
191
192 * boot-9.scm (module-type): Added `transformer'.
193 (make-module): Modified initialization.
194 (module-transformer, set-module-transformer!): Selector and
195 mutator for module-associated transformer.
196 (set-current-module): Use module-transformer to set
197 `scm:eval-transformer'.
198 (module-use!): Previous change reverted.
199 * (use-syntax): New function: Install a transformer in current
200 module.
201 (sc-interface, sc-expand): Removed! :)
202
203 Fri Sep 5 03:09:09 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
204
205 * emacs.scm (emacs-load): Added new parameter `module'.
206
207 * syncase.scm (putprop, getprop): Modified to use the object
208 properties of the variable object corresponding to the symbol;
209 This way we can ride on the mechanisms of the module system.
210 Changed `builtin-variable' calls to `define-public' calls.
211 Setup the hooks sc-expand and sc-interface.
212
213 * boot-9.scm (sc-interface, sc-expand): New builtin variables.
214 (set-current-module): Switch to and from sc-expand as
215 scm:eval-transformer when going into and out of modules using
216 syncase macros.
217 (module-use!): Set scm:eval-transformer to sc-expand when adding
218 the syncase interface.
219
220 Thu Sep 4 14:57:04 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
221
222 * syncase.scm (putprop): Temporary fix which publishes new syntax
223 globally (the old behaviour was complex and connected to the inner
224 workings of the current module system).
225
226 Wed Sep 3 21:29:13 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
227
228 * psyntax.ss: Updated.
229 psyntax.pp: Bugfix: Previous version had some leading "t":s cut
230 off!
231
232 Tue Sep 2 00:26:42 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
233
234 * boot-9.scm (gensym): Removed (replaced by primitive).
235 (obarray-gensym): Rewritten to use `gensym'.
236 (gentemp): Rewritten to use `gensym'.
237
238 Mon Sep 1 20:08:32 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
239
240 * gtcl.scm (make-tcl-binder): Rewritten to choose bindings
241 according to the following priorities:
242 1. tcl bindings which are present in override-scheme-list
243 2. bindings from the-scm-module
244 3. tcl bindings
245 This way the gtcl module can occur first in the use-list without
246 disabling the scheme interpreter.
247 (new-interpreter): New function.
248
249 * gwish.scm: Moved initialization code for the-interpreter to
250 gtcl.scm; Moved name space cleaning code to gtcl.scm and rewrote
251 it; Call `new-interpreter'; Don't :use-module (guile).
252
253 Thu Aug 28 23:48:53 1997 Jim Blandy <jimb@totoro.red-bean.com>
254
255 * Makefile.in: Regenerated.
256
257 Wed Aug 27 11:35:09 1997 Jim Blandy <jimb@totoro.red-bean.com>
258
259 * Makefile.in: Regenerated, so it uses "tar", not "gtar".
260
261 Mon Aug 25 22:00:44 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
262
263 * emacs.scm (object->string, format, error-args->string): New
264 procedures.
265 (emacs-frame-eval): Reworked.
266
267 Mon Aug 25 16:15:55 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
268
269 * session.scm (apropos-internal): Musn't initialize symbol
270 accumulator with a constant pair. That led to mutation of the
271 source!
272
273 Sun Aug 24 01:03:10 1997 Mikael Djurfeldt <mdj@kenneth>
274
275 * session.scm (vector-for-each): Removed.
276 (apropos): vector-for-each --> array-for-each.
277 (apropos-internal): New function. Return list of accessible
278 symbols matching regexp.
279
280 * debug.scm (frame-number->index): New function. Convert frame
281 number (as displayed in the backtrace) to frame index (to be used
282 in stack-ref).
283
284 * emacs.scm (emacs-load): New arguments: interactivep: when
285 non-false, send back results to Emacs; colnum: Column number;
286 Use modules (ice-9 debug) and (ice-9 session);
287 (no-stack, no-source): New simple-actions;
288 (result-to-emacs): New procedure. Sends data to Emacs via the
289 result protocol;
290 (get-frame-source, emacs-select-frame, emacs-frame-eval,
291 emacs-symdoc): New procedures.
292
293 Wed Aug 20 13:21:11 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
294
295 * emacs.scm (emacs-load): Adjust stack narrowing.
296 (whitespace-chars): Include #\np.
297
298 * syncase.scm: Also turn off debugging evaluator and recording of
299 procedure names during loading of psyntax.pp.
300
301 * psyntax.pp: Removed leading blanks => 800K -> 100K.
302
303 Tue Aug 19 02:39:41 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
304
305 * syncase.scm: Don't tamper with debug mode setting when enabling
306 macros. Instead cut the stack with start-stack.
307 Load psyntax.pp with recording of positions turned off.
308
309 * psyntax.pp, psyntax.ss (quasiquote): Changed fx= --> =.
310
311 * * syncase.scm: New file: Guile-adaption for syntax-case macros.
312 psyntax.pp, psyntax.ss: Syntax-case macros, portable version 2 by
313 R. Kent Dybvig, Oscar Waddell, Bob Hieb and Carl Bruggeman
314
315 Mon Aug 18 21:58:25 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
316
317 * * session.scm: New file: Session support.
318 (apropos): New procedure: List bindings given regexp.
319
320 Sat Aug 16 18:44:24 1997 Gary Houston <ghouston@actrix.gen.nz>
321
322 * boot-9.scm: define tms accessors: clock, utime, stime, cutime,
323 cstime.
324
325 Thu Aug 14 19:55:37 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
326
327 * emacs.scm (emacs-load): Something has changed in the reader so
328 that we now should set the port line count to the specified value
329 (linum) instead of (- linum 1).
330
331 * slib.scm (slib:load): Use load-from-path instead of
332 primitive-load-path so that backtraces get narrowed properly at
333 the top.
334
335 * boot-9.scm (top-repl): Save stack already in signal handler in
336 order to narrow it correctly.
337 (save-stack): Adjust narrowing tag for the top of load-stacks.
338
339 Tue Jul 29 01:18:08 1997 Gary Houston <ghouston@actrix.gen.nz>
340
341 * boot-9.scm (move->fdes, dup->port): use dup->fdes, not primitive-dup.
342 (dup->fdes): deleted, now done in C.
343
344 Sat Jul 26 08:00:42 1997 Gary Houston <ghouston@actrix.gen.nz>
345
346 * boot-9.scm (setenv): new procedure, scsh compatible.
347
348 Sat Jul 26 21:30:10 1997 Marius Vollmer <mvo@zagadka.ping.de>
349
350 * boot-9.scm (with-fluids): New macro to go with the
351 builtin `with-fluids*'.
352
353 Thu Jul 24 04:28:11 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
354
355 * slib.scm (install-require-module): In newer versions of slib
356 *catalog* is #f until the first access. Therefore we call
357 require:provided? for a random feature if *catalog* is #f.
358
359 Wed Jul 23 20:13:04 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
360
361 * boot-9.scm: If using emacs interface, enable backtraces
362 automatically.
363
364 Mon Jul 21 06:45:45 1997 Gary Houston <ghouston@actrix.gen.nz>
365
366 * boot-9.scm (dup->port, dup->inport, dup->outport, dup->fdes,
367 dup, fdes->inport, fdes->outport, port->fdes): new procedures.
368 (duplicate-port): was a C primitive, now it's here.
369 (move->fdes): allow the first argument to be a file descriptor.
370 Return the modified port or file descriptor (was unspecified.)
371
372 Fri Jul 11 00:13:43 1997 Jim Blandy <jimb@floss.red-bean.com>
373
374 Changes to compile under gnu-win32, from Marcus Daniels:
375 * boot-9.scm (load-user-init): If HOME is unset, provide
376 a default of /.
377
378 * boot-9.scm (define-public): Changed to accomodate Hobbit.
379
380 Tue Jun 24 00:31:47 1997 Jim Blandy <jimb@floss.red-bean.com>
381
382 * boot-9.scm, debug.scm, hcons.scm, lineio.scm, mapping.scm,
383 poe.scm, slib.scm, tags.scm, threads.scm: Use normal list
384 notation, instead of #/ notation.
385
386 * expect.scm (expect-strings): Pass regexp/newline flag to
387 make-regexp.
388
389 Mon Jun 23 16:13:38 1997 Jim Blandy <jimb@floss.red-bean.com>
390
391 Fix inconsistencies in parsing of #/ style lists.
392 * boot-9.scm (read-path-list-notation): New function.
393 (parse-path-symbol): Deleted. Replaced by above.
394 Plug in read-path-list-notation as the parser for #/ lists,
395 instead of the anonymous lambda form calling parse-path-symbol.
396 (Thanks to Maurizio Vitale.)
397
398 * boot-9.scm (make-list): Remove the definition of this function
399 from the (ice-9 common-list) module; make the `init' argument
400 optional in the scm module's definition, to match the deleted
401 definition. Harmony reigneth? (Thanks to Bernard URBAN.)
402
403 Sun Jun 22 18:33:17 1997 Jim Blandy <jimb@floss.red-bean.com>
404
405 Try to detect when people are using one version of libguile and a
406 different version of ice-9. People have been skewing things and
407 sending in bug reports.
408 * version.scm.in: New file, which the configure script munges to
409 produce version.scm, which contains the ice-9 config stamp.
410 * boot-9.scm: Compare the libguile and ice-9 config stamps;
411 display a warning if the two are different.
412 * Makefile.am: Install version.scm, but don't distribute it.
413 Distribute version.scm.in, but don't install it.
414 * Makefile.in: Regenerated.
415
416 Thu Jun 19 21:01:16 1997 Jim Blandy <jimb@floss.red-bean.com>
417
418 * slib.scm (slib:warn): Alias for WARN function.
419
420 Fri Jun 13 00:32:04 1997 Jim Blandy <jimb@floss.red-bean.com>
421
422 * boot-9.scm (struct-printer): Fix off-by-one error in range
423 check. Correctly check for struct printer tag.
424
425 * expect.scm: Turn this into a module, (ice-9 expect).
426 (expect-port, expect-timeout, expect-timeout-proc,
427 expect-eof-proc, expect-char-proc, expect, expect-strings,
428 expect-select): Make these public definitions.
429 (expect-strings): Use make-regexp and regexp-exec, instead of
430 regcomp and regexec. We've omitted the REG_NEWLINE flag; hope
431 that's okay.
432
433 * boot-9.scm (with-regexp-parts): Comment this out. It has no
434 users in the core, and relies on mildly hairy details of the old
435 regexp interface.
436
437 * test.scm: Re-enable tests asserting that '() is true, and not a
438 boolean. This stuff has been true for a while.
439
440 * boot-9.scm (ipow-by-squaring, butlast): Fix uses of outdated
441 function names.
442
443 * boot-9.scm (with-excursion-getter-and-setter, q-rear): Doc
444 fixes.
445
446 Wed Jun 11 00:31:40 1997 Jim Blandy <jimb@floss.red-bean.com>
447
448 * Makefile.in: Regenerated after xtra_PLUGIN_guile_libs change in
449 ../configure.in.
450
451 Fri Jun 6 14:37:18 1997 Marius Vollmer <mvo@zagadka.ping.de>
452
453 * boot-9.scm (struct-printer): Bugfix: Check the layout of the
454 vtable and not the one of the struct.
455
456 Wed Jun 4 23:27:16 1997 Marius Vollmer <mvo@zagadka.ping.de>
457
458 * boot-9.scm (struct-layout, %struct-printer-tag, struct-printer,
459 make-struct-printer, set-struct-printer-in-vtable!): New bindings
460 to support printing of structures.
461 (record-type-vtable, make-record-type): Add slot to hold printing
462 function and initialize it with something appropriate. Removed
463 commented out printing code.
464 (record-type-name, record-type-fields): Adjusted slot offsets.
465 (%print-module): Reduce argument list to "mod" and "port".
466
467 Tue Jun 3 17:04:18 1997 Jim Blandy <jimb@totoro.cyclic.com>
468
469 * slib.scm (identity): New function, used by SLIB.
470
471 Sat May 31 18:57:12 1997 Gary Houston <ghouston@actrix.gen.nz>
472
473 * boot-9.scm: signal-handler, alarm-thunk: removed.
474 don't define ticks-interrupt etc.
475 top-repl: install signal handlers for SIGINT, SIGFPE, SIGSEGV, SIGBUS
476 during call to scm-style-repl.
477
478 Fri May 30 18:08:10 1997 Jim Blandy <jimb@floss.cyclic.com>
479
480 * slib.scm (slib:load): Use primitive-load-path instead of
481 basic-load. This is probably wrong, but hopefully the entire
482 source access system will be revised soon anyway, and this will
483 make require behave more like Emacs Lisp's require. If this
484 breaks something, please let me know. Maybe this is real dumb.
485
486 Thu May 29 02:36:48 1997 Jim Blandy <jimb@floss.cyclic.com>
487
488 * regex.scm: Add a module declaration. Use DEFINE-PUBLIC everywhere.
489 * boot-9.scm: If the `regex' feature is present, use the module
490 (ice-9 regex).
491
492 Tue May 27 22:48:14 1997 Tim Pierce <twp@twp.tezcat.com>
493
494 * regex.scm: New file.
495 * Makefile.am (subpkgdata_DATA): Add regex.scm.
496 * Makefile.in: Regenerated.
497
498 Mon May 26 17:24:48 1997 Jim Blandy <jimb@totoro.cyclic.com>
499
500 * COPYING, boot-9.scm, debug.scm, emacs.scm, expect.scm, gtcl.scm,
501 gwish.scm, hcons.scm, lineio.scm, mapping.scm, nonblocking.scm,
502 oldprint.scm, poe.scm, r4rs.scm, source.scm, tags.scm, test.scm,
503 threads.scm: New address for FSF.
504
505 Fri May 16 04:09:45 1997 Jim Blandy <jimb@floss.cyclic.com>
506
507 * debug.scm: Update copyright years; this file has been worked on
508 in 1997.
509
510 Thu May 15 07:56:08 1997 Gary Houston <ghouston@actrix.gen.nz>
511
512 * expect.scm: use gettimeofday instead of get-internal-real-time
513 and use a floating point timeout when calling select. Untested,
514 since the regex library is currently AWOL.
515
516 Wed May 14 21:00:30 1997 Jim Blandy <jimb@floss.cyclic.com>
517
518 * boot-9.scm (eval-string): Function deleted; it was already
519 implemented in C, so there's no point in making a divergable copy
520 here.
521
522 Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com>
523
524 * Makefile.in: Regenerated, using automake-1.1p.
525
526 Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com>
527
528 * Makefile.in: Regenerated, using automake-1.1p.
529
530 Tue May 13 02:48:49 1997 Gary Houston <ghouston@actrix.gen.nz>
531
532 * boot-9.scm (error-catching-loop): don't read a line from
533 current input when quit is encountered, the previous change
534 fixes this too.
535
536 Mon May 12 19:00:21 1997 Jim Blandy <jimb@floss.cyclic.com>
537
538 * boot-9.scm (scm-style-repl): After reading an expression,
539 consume any trailing newline (perhaps preceded by whitespace), to
540 avoid screwing up GDB. More detail in comments.
541
542 Mon May 5 13:18:38 1997 Jim Blandy <jimb@floss.cyclic.com>
543
544 * Makefile.am (ETAGS_ARGS): New variable, since we're not treating
545 the Scheme code like code yet.
546 * Makefile.in: Resrac,husrched.
547
548 Wed Apr 30 15:25:15 1997 Marius Vollmer <mvo@zagadka.ping.de>
549
550 * boot-9.scm (link-dynamic-module): Do not catch errors from
551 dynamic-link and dynamic-call. When the shared library exists it
552 is now assumed to be suitable for a dynamic C module.
553
554 Fri Apr 25 21:21:35 1997 Marius Vollmer <mvo@zagadka.ping.de>
555
556 * boot-9.scm (process-use-modules): New function to support the
557 use-modules macro
558 (use-modules): throw an error iff one of the requested modules
559 can't be found.
560
561 Tue Apr 29 06:54:46 1997 Gary Houston <ghouston@actrix.gen.nz>
562
563 * boot-9.scm: don't define timer-thunk or gc-thunk.
564
565 Sun Apr 27 17:56:09 1997 Jim Blandy <jimb@floss.cyclic.com>
566
567 * aclocal.m4: Removed; unnecessary, given changes of Apr 24.
568
569 * Makefile.am (subpkgdatadir): Use "ice-9" instead of "@module@";
570 we're not using AM_INIT_GUILE_MODULE any more.
571 * Makefile.in: Regeneratitetedrerd.
572
573 Thu Apr 24 01:33:33 1997 Jim Blandy <jimb@floss.cyclic.com>
574
575 Get 'make dist' to work again.
576 * Makefile.am (EXTRA_DIST): Remove PLUGIN files.
577 * Makefile.in: Regenerated, like two tons of fleas.
578
579 Changes for reduced Guile distribution: one configure script,
580 no plugins.
581 * configure.in, configure: Removed.
582 * Makefile.in: Regenerated.
583
584 Sat Apr 19 08:03:50 1997 Jim Blandy <jimb@floss.cyclic.com>
585
586 * boot-9.scm (eval-string, command-line, load-user-init): New
587 functions.
588
589 Sat Apr 12 08:27:05 1997 Gary Houston <ghouston@actrix.gen.nz>
590
591 * boot-9.scm (log10): defined.
592
593 Tue Apr 1 17:46:49 1997 Gary Houston <ghouston@actrix.gen.nz>
594
595 * expect.scm (expect-select): correct the millisecond timeout
596 arithmetic (from Marko.Kohtala@ntc.nokia.com).
597
598 Mon Mar 31 03:23:19 1997 Gary Houston <ghouston@actrix.gen.nz>
599
600 * boot-9.scm (open-input-pipe, open-output-pipe): defined here
601 instead of in libguile.
602 (tm:sec etc.) new accessors for broken-down time.
603 (set-tm:sec etc.) new setters for broken-down time.
604
605 Thu Mar 27 05:06:00 1997 Gary Houston <ghouston@actrix.gen.nz>
606
607 * boot-9.scm (netent:addrtype, servent:port): added missing
608 procedures.
609 (netent:net, servent:proto): repaired.
610 (utsname:sysname etc.): new accessors for uname.
611
612 Tue Mar 25 03:04:03 1997 Gary Houston <ghouston@actrix.gen.nz>
613
614 * boot-9.scm (sockaddr:fam, sockaddr:path, sockaddr:addr,
615 sockaddr:port): new functions.
616
617 Wed Mar 19 04:50:34 1997 Gary Houston <ghouston@actrix.gen.nz>
618
619 * boot-9.scm: define accessor procedures for the objects returned
620 by getpw, getgr, gethost, getnet, getproto, getserv (e.g.,
621 passwd:name, where the first component is the name of the C structure
622 and the second is the unprefixed C member name.)
623
624 Tue Mar 18 18:39:31 1997 Gary Houston <ghouston@actrix.gen.nz>
625
626 * boot-9.scm (setpwent, setgrent, sethostent, setnetent, setprotoent,
627 setservent): no longer take an argument, it was bogus.
628
629 Thu Mar 13 00:13:41 1997 Gary Houston <ghouston@actrix.gen.nz>
630
631 * boot-9.scm (scm-error): deleted, reimplemented in C.
632
633 Mon Mar 10 15:48:31 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
634
635 * boot-9.scm (process-define-module): Modified to handle both
636 keywords and symbols.
637
638 Sat Mar 8 04:32:44 1997 Gary Houston <ghouston@actrix.gen.nz>
639
640 * slib.scm: update read usage.
641
642 * r4rs.scm: update primitive-load usage.
643 Don't define read-sharp.
644
645 * boot-9.scm: use read-hash-extend to install extra read syntax.
646 (read-sharp): removed.
647 Adjust usage of primitive-load-path, read, which no longer take
648 case_i or read-sharp arguments.
649
650 Sat Mar 8 00:07:54 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
651
652 * boot-9.scm: Added loading of session support module.
653
654 * debug.scm: Removed `display-application'. (Replaced by
655 primitive procedure.)
656
657 * boot-9.scm (beautify-user-module!): Don't add the root module
658 interface to the end of the use-list of the root module.
659
660 Thu Mar 6 07:26:34 1997 Gary Houston <ghouston@actrix.gen.nz>
661
662 * boot-9.scm: repl-quit, repl-abort: obsolete variables deleted.
663
664 Wed Mar 5 20:30:24 1997 Gary Houston <ghouston@actrix.gen.nz>
665
666 * boot-9.scm: check use-emacs-interface for emacs support.
667
668 Sun Mar 2 19:47:14 1997 Gary Houston <ghouston@actrix.gen.nz>
669
670 * boot-9.scm (scm-style-repl): call repl-report-start-timing if
671 read gets EOF.
672 * (exit): alias for quit.
673
674 Sun Mar 2 05:25:11 1997 Gary Houston <ghouston@actrix.gen.nz>
675
676 * boot-9.scm (error-catching-loop thunk): use a status variable to
677 return the quit args.
678 (scm-style-repl): call -quit, passing return value from
679 error-catching-repl. Make -quit return its args.
680 stand-alone-repl: comment out, since it seems unused.
681
682 (error-catching-loop thunk): discard trailing junk after a (quit).
683
684 Sat Mar 1 15:24:39 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
685
686 * boot-9.scm: Removed the old printer code.
687
688 * r4rs.scm (apply, call-with-current-continuation): Added comment
689 explaining why apply and call/cc need to be closures.
690
691 * boot-9.scm (apply, call-with-current-continuation): Bugfix:
692 Removed. These definitions are already present in r4rs.scm.
693
694 * debug.scm (trace-entry, trace-exit): Check that we're on a repl
695 stack before printing traced frames; Re-enable trace flag at end
696 of handlers.
697
698 Sat Mar 1 00:10:38 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
699
700 * debug.scm: Add hook for reset of trace level at abort.
701
702 * boot-9.scm (run-hooks): New procedure.
703 (add-hooks!): New macro.
704 Change hooks to use these functions.
705
706 * debug.scm: *Warning* This feature is a bit premature. I add
707 it anyway because 1. it is very useful, and, 2. you can start
708 making it less premature by complaining to me and by modifying
709 the source! :-)
710 (trace): Given one or more procedure objects, trace each one.
711 Given no arguments, show all traced procedures.
712 (untrace): Given one or more procedure objects, untrace each one.
713 Given no arguments, untrace all traced procedures. The tracing in
714 Guile have an advantage to most other systems: We don't create new
715 procedure objects, but mark the procedure objects themselves.
716 This means that also anonymous and internal procedures can be
717 traced.
718
719 * boot-9.scm (error-catching-loop): Added handling of apply-frame
720 and exit-frame exceptions.
721
722 * boot-9.scm (assert-repl-prompt, the-prompt-string): Removed.
723 (set-repl-prompt!): Setter for repl prompt.
724 (scm-style-repl): If prompt is #f, don't prompt; if prompt is a
725 string, display it; if prompt is a thunk, call it and display its
726 result; otherwise display "> ".
727 (Change suggested by Roland Orre <orre@nada.kth.se>.)
728
729 * r4rs.scm (%load-verbosely): Reverted change to
730 `module-defined?', since the module system isn't bootstrapped when
731 we load r4rs.scm. This is just a temporary fix to make the
732 repository version runnable.
733
734 Thu Feb 27 23:25:47 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
735
736 * boot-9.scm: Removed the enabling of debug evaluator and
737 recording of source code positions. This was placed there for our
738 convenience, but it has already sneaked into the distribution
739 once... so we'd better add this in our local copies instead when
740 we need it. (These options are normally enabled at the end of
741 boot-9.scm when loading the debug module.)
742
743 Thu Feb 27 16:04:45 1997 Marius Vollmer <mvo@zagadka.ping.de>
744
745 * boot-9.scm (module-defined?): New function.
746 (macroexpand-1, macroexpand): Use local-ref instead of defined?
747 and eval.
748 * r4rs.scm (%load-verbosely): Use "module-defined?" instead of
749 "defined?".
750 * slib.scm (defined?): New function to take the place of the
751 builtin "defined?". It allways examines the slib module.
752
753 Mon Feb 24 21:46:15 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
754
755 * configure.in: Added AM_MAINTAINER_MODE
756
757 Sat Feb 15 04:51:20 1997 Gary Houston <ghouston@actrix.gen.nz>
758
759 * boot-9.scm (read-sharp): define directly, don't go through a
760 %read-sharp layer.
761
762 Tue Feb 11 08:45:48 1997 Gary Houston <ghouston@actrix.gen.nz>
763
764 * boot-9.scm (uniform-vector-set!): use uniform-array-set1!, not
765 uniform-vector-set1! which doesn't exist.
766
767 Mon Feb 10 03:01:48 1997 Mikael Djurfeldt <mdj@kenneth>
768
769 * boot-9.scm (backtrace): Removed. (A C version now exists in
770 backtrace.c.)
771
772 Fri Jan 24 06:05:36 1997 Gary Houston <ghouston@actrix.gen.nz>
773
774 * boot-9.scm (read-line!, read-delimited!, read-delimited,
775 read-line): new procedures, see libguile/ChangeLog.
776
777 Thu Jan 16 17:07:03 1997 Marius Vollmer <mvo@zagadka.ping.de>
778
779 Added dynamic linking of modules. See libguile/DYNAMIC-LINKING.
780
781 * boot-9.scm (split-c-module-name, convert-c-registered-modules,
782 init-dynamic-module, dynamic-maybe-call,
783 find-and-link-dynamic-module, link-dynamic-module,
784 try-module-dynamic-link, registered-modules): New definitions for
785 dynamic linking of modules.
786 (resolve-module): Try to dynamically link the requested module
787 after failing to load it as Scheme code.
788
789 Wed Jan 8 05:50:14 1997 Gary Houston <ghouston@actrix.gen.nz>
790
791 * boot-9.scm (getservbyport, getservbyname): remove stray %.
792
793 Tue Jan 7 20:02:24 1997 Jim Blandy <jimb@floss.cyclic.com>
794
795 * boot-9.scm (and=>): Rename THUNK argument to PROCEDURE, 'cos
796 that's what it is.
797
798 * lineio.scm (make-line-buffering-input-port): Properly test for
799 the case of an empty buffer list. The old code assumed that '()
800 was false.
801
802 Mon Jan 6 01:13:53 1997 Mikael Djurfeldt <mdj@kenneth>
803
804 * boot-9.scm (use-modules): New macro (from Marius Vollmer).
805 (use-modules <module name> ...) Put the the modules named by
806 <module name> ... on the use list of the current module.
807
808 Sun Jan 5 15:52:59 1997 Jim Blandy <jimb@floss.cyclic.com>
809
810 * boot-9.scm (error-catching-loop): Remove message saying that
811 typing "$" will put you in the debugger. This isn't implemented
812 yet.
813
814 Sun Dec 22 23:27:25 1996 Jim Blandy <jimb@floss.cyclic.com>
815
816 * boot-9.scm (delq-all!): Function deleted; delq!'s semantics have
817 been fixed, so this function is superfluous.
818 (transform-usage-lambda): Use delq!, not delq-all!.
819
820 Tue Dec 17 20:36:45 1996 Marius Vollmer <mvo@zagadka.ping.de>
821
822 * boot-9.scm (resolve-module): New optional parameter that
823 controls whether autoloading is attempted or not. Default is #t.
824 (process-define-module): Don't autoload the defined module.
825 (try-module-autoload): Don't autoload the directory modules.
826
827 * boot-9.scm (process-define-module): Ensure that the-scm-module
828 is last in the `uses' list to allow shadowing builtin
829 bindings. All :use-module options are added in the order they
830 appear in the arguments but before anything already on the list
831 (such as the-scm-module).
832
833 Wed Dec 11 21:06:05 1996 Gary Houston <ghouston@actrix.gen.nz>
834
835 * slib.scm (slib-parent-dir): throw error if #f returned from
836 %search-load-path.
837
838 Sat Nov 30 23:57:28 1996 Tom Tromey <tromey@cygnus.com>
839
840 * PLUGIN/greet, PLUGIN/split.sed, PLUGIN/this.configure: Removed.
841 * Makefile.am, aclocal.m4: New files.
842 * configure.in: Updated for Automake.
843
844 Wed Nov 27 14:16:14 1996 Marius Vollmer <mvo@zagadka.ping.de>
845
846 * boot-9.scm (macroexpand-1, macroexpand), slib.scm
847 (slib:features), r4rs.scm (%load-verbosely): "defined?" is now a
848 function, use it accordingly.
849
850 Thu Nov 21 11:12:10 1996 Jim Blandy <jimb@floss.cyclic.com>
851
852 It's an "eval closure", not an "eval thunk." A thunk is a
853 function of no arguments.
854 * boot-9.scm (module-type): Rename module field.
855 (make-module, eval-in-module, make-root-module,
856 set-current-module): Uses changed.
857 (module-eval-closure, set-module-eval-closure!,
858 root-module-closure): Renamed from module-eval-thunk,
859 set-module-eval-thunk!, root-module-thunk.
860 (set-current-module): Change uses of *top-level-lookup-thunk* to
861 *top-level-eval-closure*.
862
863 Wed Nov 20 14:45:27 1996 Jim Blandy <jimb@totoro.cyclic.com>
864
865 * slib.scm (slib-parent-dir): Use string-length, not length.
866 (Thanks to Bernard Urban.)
867
868 Sat Nov 2 20:00:42 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
869
870 * boot-9.scm: The debugging evaluator and recording of positions
871 aren't enabled by default any longer (they are switched on in
872 debug.scm). But during development we want to have them also
873 *inside* boot-9.scm. Therefore, two lines are added at the
874 beginning of boot-9.scm to enable these.
875
876 Call `provide' so that `records' are included among the
877 `*features*'.
878
879 The scheme for saving the stack has been adjusted: save-stack is
880 now commonly available for saving the stack. Calling `save-stack'
881 sets a flag `stack-saved?' which prevents overwriting the stack.
882 `stack-saved?' is reset at `abort'.
883
884 Spelling correction: seperate --> separate.
885
886 Removed `:'s that had creeped into some comments.
887
888 The repl now doesn't print #<unspecified> results any longer
889 If the user wants to see this, he can do
890 (assert-repl-print-unspecified #t) in his startup file.
891
892 The user now gets a friendly message instead of a backtrace at
893 error.
894
895 Added `before-read-hook'.
896
897 Load module (ice-9 emacs) if option `-e' was specified.
898
899 (provide): New function.
900
901 (error): Save stack at entry, so that Guile entrails won't show up
902 in backtraces.
903
904 (backtrace): New function.
905
906 (save-stack): Can now take arbitrary number of stack narrowing
907 specifier pairs. The first specifier in a pair controls inner
908 border, the second the outer border. A number means cut that
909 number of frames, a procedure object means cut until that object
910 is found in operator position in a frame.
911
912 * debug.scm: Enable debugging evaluator and recording of positions
913 by default.
914
915 * slib.scm (slib:load): Adapt to the new behavior of
916 primitive-load: It doesn't any longer try both with and without
917 ".scm" extension. (We don't want to use %search-load-path here.)
918
919 (implementation-vicinity): New function. slib requires it
920
921 (library-vicinity): Updated.
922
923 Load "require.scm" in the library-vicinity.
924
925 (install-require-vicinity, install-require-module): New functions.
926
927 Mon Oct 28 17:56:29 1996 Jim Blandy <jimb@floss.cyclic.com>
928
929 * boot-9.scm (load-from-path): New function.
930
931 * boot-9.scm (try-load, basic-try-load, try-load-module,
932 try-load): Deleted. I don't think they're being used.
933
934 * Makefile.in (scm_files): Add r4rs.scm and test.scm to this list,
935 so they'll get distributed.
936
937 Get Guile to be a little less chatty by default. The new user
938 should see as little clutter as possible.
939 * r4rs.scm (%load-verbosely): Make this #f by default.
940 * boot-9.scm (scm-repl-verbose): Make this #f by default.
941 (scm-style-repl): Don't run 'pk' on the value passed to quit.
942
943 * r4rs.scm: New file.
944 * boot-9.scm: Load r4rs.scm, first thing.
945 (OPEN_READ, OPEN_WRITE, OPEN_BOTH, *null-device*, open-input-file,
946 open-output-file, open-io-file, close-input-port,
947 close-output-port, close-io-port, call-with-input-file,
948 call-with-output-file, with-input-from-port, with-output-to-port,
949 with-error-to-port, with-input-from-file, with-output-to-file,
950 with-error-to-file, with-input-from-string, with-output-to-string,
951 with-error-to-string, the-eof-object): Definitions moved to
952 r4rs.scm. Not all of them are R4RS, but those that are use those
953 that are not.
954 (load, %load-verbosely, %load-announce): Moved, along with code to
955 set %load-hook, to r4rs.scm.
956
957 * test.scm: New file.
958
959 * boot-9.scm (integer?): Definition deleted, in favor of the one
960 present in libguile (which used to be called int?). I have no
961 idea why integer? didn't just call int? to begin with.
962
963 * boot-9.scm (<, <=, =, >, >=): Definitions in terms of <?, <=?,
964 =?, >?, and >=? deleted; they're defined that way by libguile now.
965
966 * boot-9.scm (load): Simplified; primitive-load does most of this
967 work now.
968 (%load-announce-win): Removed; no longer used. Set %load-hook to
969 call %load-announce.
970
971 Sun Oct 27 07:47:03 1996 Gary Houston <ghouston@actrix.gen.nz>
972
973 * boot-9.scm (stat:dev, stat:ino, stat:mode, stat:nlink, stat:uid,
974 stat:gid, stat:rdev, stat:size, stat:atime, stat:mtime,
975 stat:ctime, stat:blksize, stat:blocks) accessor functions for stat
976 components.
977 (file-is-directory?): use stat:type.
978
979 Fri Oct 25 03:34:47 1996 Jim Blandy <jimb@floss.cyclic.com>
980
981 * boot-9.scm (%read-sharp): Don't recognize the `#!' syntax here;
982 that's now taken care of in libguile, and in a way compatible with
983 SCSH (which this isn't).
984
985 Mon Oct 21 18:52:36 1996 Jim Blandy <jimb@totoro.cyclic.com>
986
987 * boot-9.scm: Formatting tweaks.
988
989 Fri Oct 18 01:03:08 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
990
991 * boot-9.scm (handle-system-error): Added hooks before-error-hook,
992 after-error-hook, before-backtrace-hook and after-backtrace-hook
993 to the error handler. E.g.: fancy emacs support could plug into
994 these.
995 (save-stack): New function. The stack is now made differently
996 depending on the stack id. (The motivation is to make a better
997 choice regarding what stack frames to present to the user.)
998 (error-catching-loop): Stack handling code moved outside into
999 save-stack.
1000
1001 Thu Oct 17 20:33:08 1996 Gary Houston <ghouston@actrix.gen.nz>
1002
1003 * Makefile.in (scm_files): add expect.scm.
1004
1005 * expect.scm: new file ported from guile-iii.
1006
1007 * boot-9.scm: remove handle-system-error, after moving the code into
1008 error-catching-loop.
1009 Don't set 'throw-handler-default property on error keys.
1010 Just interpret (almost) any throw with 4 args as an error throw.
1011 Delete some try-load stuff that was already commented out.
1012
1013 Second thoughts, keep handle-system-error but call it from
1014 error-catching-loop.
1015
1016 Tue Oct 15 17:07:20 1996 Jim Blandy <jimb@floss.cyclic.com>
1017
1018 * boot-9.scm: Doc fixes.
1019 (make-module): Rework for readability.
1020 (make-root-module, make-scm-module): USES argument to make-module
1021 should be '(), not #f.
1022
1023 * boot-9.scm (try-load): %sys-load-path has been renamed to
1024 primitive-load-path; adjust call here.
1025
1026 Tue Oct 15 14:25:01 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
1027
1028 * boot-9.scm (signal-handler): Bugfix: Moved the recording of
1029 the stack to the correct place: when it is decided to generate an
1030 error-signal.
1031
1032 Mon Oct 14 22:20:30 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
1033
1034 * boot-9.scm (error-catching-loop, signal-handler,
1035 handle-system-error): Backtracing now works for signals aswell;
1036 Backtracing mechanism can now identify the stack root created by
1037 start-stack so that the user isn't exposed to system stack frames.
1038
1039 Mon Oct 14 06:05:42 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
1040
1041 * Makefile.in: Added threads.scm.
1042
1043 Mon Oct 14 04:21:51 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
1044
1045 * debug.scm (make-enable, make-disable): Simplified.
1046
1047 * boot-9.scm: Renamed %%throw-handler-default -->
1048 throw-handler-default.
1049 ((handle-system-error key . arg-list)): Changed the way errors are
1050 reported.
1051 ((scm-style-repl)): Wrap up the call to eval in a start-stack
1052 acro.
1053 ((error-catching-loop thunk)): Introduce a lazy-catch into
1054 error-catching-loop so that the stack can be captured.
1055
1056 Thu Oct 10 22:27:32 1996 Jim Blandy <jimb@totoro.cyclic.com>
1057
1058 * mapping.scm (hash-table-mapping): Explicitly request that
1059 make-vector fill new vectors with '(); this will make it easier to
1060 port Guile Scheme code to other Schemes.
1061 * boot-9.scm (make-print-style, make-print-table): Same.
1062
1063 Sun Oct 6 03:54:59 1996 Gary Houston <ghouston@actrix.gen.nz>
1064
1065 * boot-9.scm (load): rewritten again.
1066 Append "." to the default %load-path.
1067 (feature?): new function: checks for a symbol in the features list.
1068 (module-local-variable): remove apparently useless (caddr (list m v
1069 ...))
1070 (%load-announce): minor formatting change.
1071 (file-exists?): use access? if posix is featured.
1072 (file-is-directory?): use stat if i/o-extensions is featured.
1073 (try-module-autoload module-name): use file-exists? before
1074 file-is-directory?
1075
1076 Sat Oct 5 18:54:03 1996 Mikael Djurfeldt <mdj@kenneth>
1077
1078 * boot-9.scm: Added conditional loading of threads.scm.
1079
1080 * threads.scm: New file. Modified from the Cygnus-r0.3
1081 distribution.
1082
1083 * boot-9.scm (error-catching-loop): Added handling of key
1084 `switch-repl'.
1085
1086 * boot-9.scm: Name change %%bad-throw --> bad-throw.
1087
1088 Wed Oct 2 23:38:44 1996 Jim Blandy <jimb@totoro.cyclic.com>
1089
1090 * boot-9.scm (make-record-type, record-constructor): Don't assume
1091 the empty list is false when parsing the argument list.
1092
1093 Mon Sep 30 22:15:50 1996 Jim Blandy <jimb@totoro.cyclic.com>
1094
1095 * boot-9.scm (signal-handler): Clean up logic.
1096
1097 * boot-9.scm (load): Assume %load-path is always bound.
1098
1099 Sat Sep 28 00:15:37 1996 Gary Houston <ghouston@actrix.gen.nz>
1100
1101 * boot-9.scm (error): replace another throw with scm-error. Throw
1102 to 'misc-error instead of 'error (no need to distinguish these.)
1103 Don't set up 'error as a key.
1104 Set up regex-error as a key, if regex is available.
1105 (signal-handler): use scm-error, not throw.
1106
1107 (%try-load, try-load-with-path, %load, load-with-path,
1108 basic-try-load-with-path, basic-load-with-path,
1109 try-load-module-with-path,load-module-with-path): deleted, since
1110 they seem redundant.
1111 (try-load): define using %try-load, not try-load-with-path.
1112 (load): rewritten. load tries to open the file directly and
1113 with a .scm extension before searching the library directories
1114 (should "." be added to %load-path? then load could still open
1115 directly files starting with "/").
1116 (try-module-autoload): use load, not load-with-path.
1117 (%load-indent): deleted, -2 was causing errors.
1118
1119 (%read-sharp): use port-line, not line-number.
1120
1121 Fri Sep 27 16:23:51 1996 Jim Blandy <jimb@totoro.cyclic.com>
1122
1123 * boot-9.scm (%%bad-throw): Delete definition. 1) It's very
1124 straightforward to provide the equivalent functionality using
1125 (catch #t ...), so there's no need for the extra complexity. 2)
1126 Outside the context of a read-eval-print loop (which Guile should
1127 not require) it's not clear we should do anything more complicated
1128 than print an error and exit; the user or REPL can establish
1129 something better if it wants. 3) In that case, it's much more
1130 robust to just do it in the C code.
1131
1132 Tue Sep 24 06:53:04 1996 Gary Houston <ghouston@actrix.gen.nz>
1133
1134 * boot-9.scm (%try-load): define using primitive-load. Previously
1135 %try-load itself was the primitive.
1136 (load-with-path): use scm-error instead of %load-announce-lossage.
1137 Errors are thrown to 'misc-error instead of 'could-not-load.
1138 (%load-announce-lossage): deleted.
1139
1140 Mon Sep 23 00:16:31 1996 Mikael Djurfeldt <mdj@kenneth>
1141
1142 * boot-9.scm (warn, scm-style-repl): Use C printer instead of `print'.
1143 (make-record-type type-name fields): Temporarily remove support
1144 for printing of records (not possible yet with C printer).
1145
1146 Fri Sep 20 00:24:27 1996 Gary Houston <ghouston@actrix.gen.nz>
1147
1148 * boot-9.scm (file-exists?, file-is-directory): catch only
1149 system-error, not every kind of error.
1150 (scm-error): new procedure.
1151
1152 Thu Sep 19 16:02:46 1996 Jim Blandy <jimb@totoro.cyclic.com>
1153
1154 * boot-9.scm: Formatting tweaks.
1155
1156 Wed Sep 18 09:07:37 1996 Gary Houston <ghouston@actrix.gen.nz>
1157
1158 * boot-9.scm (%%handle-system-error key): remove the code for
1159 SCM-style errors. handle the case that an unexpected number
1160 of args are supplied.
1161 (%%system-errors): removed.
1162 (error): redefine using a throw with key and 4 args.
1163 ('error): associate 'error, 'error-signal keys with
1164 %%handle-system-error.
1165 (%%default-error-handler): removed.
1166 (signal-handler): throw with 4 args and use the error-signal key.
1167 Create an error message instead of using numerical codes.
1168 (%%bad-throw): call error instead of throw if key not found.
1169
1170 Tue Sep 17 04:11:28 1996 Gary Houston <ghouston@actrix.gen.nz>
1171
1172 * boot-9.scm: initialize new error keys (see libguile/ChangeLog).
1173 (%%handle-system-error key): check subr is not #f before printing.
1174 Recognize %s (embed an argument using "display") and
1175 %S (embed an argument using "write").
1176
1177 Sun Sep 15 03:55:35 1996 Gary Houston <ghouston@actrix.gen.nz>
1178
1179 * boot-9.scm (%%handle-system-error key): set args and rest to
1180 the empty list if they are #f.
1181 Initialize out-of-range as an error key.
1182
1183 Sat Sep 14 03:41:15 1996 Gary Houston <ghouston@actrix.gen.nz>
1184
1185 * PLUGIN/REQ: remove the "ice-9 lgh" line which causes a cycle.
1186
1187 * boot-9.scm: remove leading %% from references to '%%system-error.
1188 (%%handle-system-error): don't pass all the thrown arguments when
1189 aborting, just the key and subr.
1190 Remove the code to "Install default handlers for built-in errors."
1191 Remove the definition of the syserror procedure.
1192 Associate 'numerical-overflow with default handler.
1193
1194 Fri Sep 13 04:58:11 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
1195
1196 * boot-9.scm: Name change: value-ref --> local-ref
1197 resolved-ref --> nested-ref Motivation: conformance to the other
1198 dictionary operators: list-ref operates on list, vector-ref
1199 operates on vector, nested-ref operates on nested namespace,
1200 local-ref operates on the local nested namespace.
1201
1202 Sat Sep 7 06:44:47 1996 Gary Houston <ghouston@actrix.gen.nz>
1203
1204 * boot-9.scm (%%handle-system-error): recognise errors thrown
1205 by lgh-error (fill-message etc.)
1206 (fill-message): check first whether args is null.
1207 (fill-message): bug fix and check that args is a list.
1208
1209 Thu Sep 5 11:33:41 1996 Jim Blandy <jimb@floss.cyclic.com>
1210
1211 * boot-9.scm: %load-path is initialized in C code now.
1212 (implementation-vicinity, parse-path): Deleted, along with code to
1213 initialize %load-path.
1214
1215 * boot-9.scm (in-vicinity): If the vicinity doesn't end with a
1216 "/", use one to separate it from the file.
1217
1218 Thu Aug 29 23:05:11 1996 Thomas Morgan <tmorgan@gnu.ai.mit.edu>
1219
1220 * boot-9.scm (%load-path): Add the site directory.
1221 Add the directory named after the version number.
1222 Prepend the version number to the other directories in the path.
1223 Simplify by mapping the common prefix onto each item.
1224 * Makefile.in (datadir, pkgdatadir, pkgverdatadir, subpkgdatadir,
1225 sitedatadir): New definitions.
1226 (libparent, libdir, install_path): Replaced by above.
1227 (install): Create the above directories.
1228 Put the source files into subpkgdatadir.
1229 (uninstall): Remove the above directories.
1230
1231 Thu Aug 29 21:48:47 1996 Jim Blandy <jimb@floss.cyclic.com>
1232
1233 Don't use the PLUGIN system to gather information for the
1234 Makefile's distribution and installation targets; just put it all
1235 in the Makefile directly.
1236 * PLUGIN/this.configure (scm_files, aux_files): Remove sections
1237 for these.
1238 * configure.in: Remove code that gets and substitutes scm_files and
1239 aux_files.
1240 * Makefile.in (scm_files, aux_files): Write out the list of files
1241 here, where people expect to find them.
1242
1243 Fri Aug 23 06:44:36 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
1244
1245 * boot-9.scm: Preliminary solution: optionally load the debug
1246 module. Changed "gls" to "guile1.0b3".
1247
1248 * debug.scm: New file: debug extensions.
1249
1250 Wed Aug 21 13:06:56 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
1251
1252 * boot-9.scm (print-vector): Renamed weak-hash-table? -->
1253 weak-key-hash-table?. (Again!)
1254
1255 Tue Aug 20 07:31:39 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
1256
1257 * boot-9.scm (print-vector, macro-table, xformer-table):
1258 Renamed weak-hash-table --> weak-key-hash-table.
1259
1260 * poe.scm (funcq-memo): Renamed weak-hash-table -->
1261 weak-key-hash-table.
1262
1263 Sat Aug 3 06:16:35 1996 Gary Houston <ghouston@actrix.gen.nz>
1264
1265 * boot-9.scm (*null-device*): global constant from goonix.
1266 (move->fdes): adjusted for boolean primitive-move->fdes. return
1267 the modified port, always set revealed count to 1 (SCSH compatible).
1268 (release-port-handle port): from goonix (SCSH compatible).
1269 (%open-file): removed.
1270 (open-input-file, open-output-file, file-exists?, file-is-directory?):
1271 modified for open-file change (does not return #f).
1272
1273 Thu Aug 1 02:52:42 1996 Jim Blandy <jimb@totoro.cyclic.com>
1274
1275 * Makefile.in (dist-dir): New target for new dist system.
1276 (manifest): Deleted.
1277 * PLUGIN/this.configure (aux_files): Removed PLUGIN; it's a
1278 directory, and needs special treatment in the dist-dir target.
1279
1280 Thu Aug 1 09:00:21 1996 Gary Houston <ghouston@actrix.gen.nz>
1281
1282 * boot-9.scm: remove the wrappers for '%' system primitives,
1283 now that they throw errors directly.
1284 remove make-simple-wrapper and similar functions.
1285 protect a call to getenv which may now throw an exception.
1286
1287 Wed Jul 31 23:44:42 1996 Gary Houston <ghouston@actrix.gen.nz>
1288
1289 * boot-9.scm (false-if-exception): new macro.
1290
1291 Fri Apr 19 13:53:08 1996 Tom Lord <lord@beehive>
1292
1293 * The more things change...
1294
1295