* slib.scm (make-random-state): Added for compatibility.
[bpt/guile.git] / ice-9 / ChangeLog
CommitLineData
fcdd6672
MS
11999-02-16 Maciej Stachowiak <mstachow@alum.mit.edu>
2
3 * optargs.scm (lambda*): Handle empty argument lists properly.
4
8d21a2ff
JB
51999-02-15 Jim Blandy <jimb@savonarola.red-bean.com>
6
7 Fix from Russ McManus:
8 * getopt-long.scm (parse-option-spec): Store 'optional as the
9 value-required? field for options that take optional values.
10 (process-short-option): Grab a value for the option when it takes
11 either an optional or required value.
12
deaceb4e
JB
131999-02-12 Jim Blandy <jimb@savonarola.red-bean.com>
14
15 * getopt-long.scm: Remove debugging calls to `pk'.
16
4ca48ad4
JB
17 * getopt-long.scm: Return list of ordinary arguments as the value
18 of the '() key, not `rest'.
19
deaceb4e
JB
20 A new argument-processing package from Russ McManus.
21 * getopt-long.scm: New file.
22 * Makefile.am (ice9_sources): Added getopt-long.scm.
23 * Makefile.in: Regenerated.
24
08394899
MS
251999-02-09 Maciej Stachowiak <mstachow@alum.mit.edu>
26
27 * optargs.scm: New file.
28 * Makefile.am (ice9_sources): Add optargs.scm here. Makefile.in
29 not regenerated because I don't have the right version of Automake.
deaceb4e 30
2e132553
JB
311999-02-06 Jim Blandy <jimb@zwingli.cygnus.com>
32
33 * and-let*.scm: New file, from Michael Livshin.
34 * Makefile.am (ice9_sources): Add and-let* here.
35 * Makefile.in: Regenerated.
36
65a5dccb
MD
371999-01-11 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
38
39 * slib.scm (install-require-module): Fixed the kludge which loads
40 the slib catalog: Doesn't anylonger assume that the feature tested
41 for isn't loaded.
42
333a4791
JB
431998-12-14 Jim Blandy <jimb@zwingli.cygnus.com>
44
45 * Makefile.in: Regenerated.
46
45a02a29
MD
471998-12-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
48
49 * boot-9.scm (process-define-module): Reverted the change of
50 1998-11-23 which caused loading of object code if :use-module was
51 applied to the module itself.
52
e7b6c834
MD
531998-12-11 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
54
55 * Makefile.am: Removed setf.scm.
56
57 * setf.scm: Removed. 1. It was buggy. 2. It was unschemey.
58 (These shortcomings were my fault.)
59
bf3c93d1
MD
601998-12-10 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
61
9705d5c2 62 * boot-9.scm (environment-module): New procedure.
bf3c93d1 63
bc9a9137
MD
641998-12-07 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
65
66 * Makefile.am: Added setf.scm.
67
681998-12-05 Christian Lynbech <chl@tbit.dk>
69
70 * setf.scm: New file. Adds the new forms `setf!' and `setter'
71 which implements generalized references a la Common LISP.
72
71225060
MD
731998-12-02 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
74
75 * boot-9.scm (process-define-module): Added new specifier
76 :autoload MODULENAME BINDINGS to the define-module form.
77 The autoload specifier tells the module system to load the module
78 MODULENAME at the first occasion that any variable with its name
79 among BINDINGS is referenced.
80 (make-autoload-interface): New procedure: Constructs a stand-in
81 for the public interface for the module to be autoloaded.
82
3b3085c6
MD
831998-12-01 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
84
85 * boot-9.scm (*suppress-old-style-hook-warning*): Set this to #t
86 if you don't want the old style hook warnings.
87
49e5d550
MD
881998-12-01 Christian Lynbech <chl@tbit.dk>
89
90 * boot-9.scm (try-using-libtool-name): Fix check on dlname to make
91 sure that it isn't empty, as it is when we are only buidling
92 static libraries.
93
afae5cbd
MD
941998-11-27 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
95
96 * session.scm (arity): New procedure.
97
3763ac3c
MD
981998-11-26 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
99
100 * boot-9.scm: Use run-hook instead of run-hooks everywhere.
101
7a79c6b4
MD
1021998-11-26 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
103
104 * boot-9.scm (run-hooks, add-hook!, remove-hook!): Added temporary
105 code for backward compatibility until people have had time to
106 adapt to the new hooks.
107
a56eeb46
MD
1081998-11-23 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
109
110 * boot-9.scm (beautify-user-module!): Beautify also if public
111 interface is set to the module itself. In this way we can use
112 beautify-user-module! to beautify a module prepared for object
113 code.
114 (process-define-module): Special case: Try to load object code as
115 well if a module does :use-module on itself.
116
117 * boot-9.scm: Bugfix: Since boot-9.scm is now loaded from
118 invoke_main_func, we can no longer be sure that all modules have
119 been registered when boot-9.scm is loaded.
120 (register-modules): New function: Register and tag modules
121 registered by scm_register_module_xxx since last call to this
122 function. Modules are tagged with the dynamic object passed as
123 argument. (Already linked modules should be tagged with #f.)
124 (init-dynamic-module, link-dynamic-module): Call register-modules
125 first to register linked modules.
126
127 * boot-9.scm (init-dynamic-module): Remove module from
128 registered-modules as soon as possible in case we are recursively
129 invoked; Set public interface before doing the dynamic-call.
130
131 * boot-9.scm (map-in-order): Removed (replaced by scm_serial_map).
132 (abort-hook, before-error-hook, after-error-hook,
133 before-backtrace-hook, after-backtrace-hook, before-read-hook,
134 after-read-hook, exit-hook): Make hooks with `make-hook'.
135
136 * boot-9.scm: Make hooks first class citizens and make them easier
137 to use from C:
138 (make-hook, add-hook!, remove-hook!, run-hooks): Moved to
139 libguile/feature.c.
7e414627
MD
140
141 * boot-9.scm: Added warnings about bindings used in
142 libguile/modules.c: the-module, set-current-module,
a56eeb46 143 make-modules-in, beautify-user-module!, module-eval-closure.
7e414627 144
dc61592f
MD
1451998-11-21 Mikael Djurfeldt <mdj@kenneth>
146
147 * boot-9.scm (the-environment): New special form: Returns an
148 object representing the current local evaluation environment.
149 This object can be used in `local-eval' and `defined?'.
150
7398c2c2
MD
1511998-11-13 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
152
153 * boot-9.scm (collect): New syntax. Similar to begin but returns
154 a list of the results of all forms in the sequence instead of the
155 result of the last form.
156
6162a00d 1571998-11-10 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
e586be78 158
00f4b2e8
MD
159 * boot-9.scm (values, call-with-values): Moved here from
160 syncase.scm.
161
162 * syncase.scm (values, call-with-values): Moved to boot-9.scm.
163
e586be78
MD
164 * boot-9.scm (readline-options, readline-enable, readline.disable,
165 readline-set!: New options interface.
166
6162a00d
MD
167 * readline.scm (readline-port): Use readline-options-interface.
168
4fdf8b2c
MD
1691998-11-05 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
170
171 * boot-9.scm: Set the repl start module in `top-repl' instead of
172 at the end of boot-9.scm.
173
0b6925fe
MD
1741998-11-01 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
175
176 * emacs.scm (format): Bugfix: Handle multiple arguments
177 correctly. (Thanks to Thien-Thi Nguyen.)
178
e4eae9b1
MD
1791998-11-01 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
180
181 * boot-9.scm (exit-hook): New hook: Is run at the very end of an
182 interactive session.
183 (top-repl): Run exit-hook on exit.
184
185 * readline.scm (readline-port): Maybe read history; Maybe write
186 history at exit (add to exit-hook).
187
cad4d45b
MD
188Fri Oct 30 15:15:37 1998 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
189
190 * readline.scm (make-readline-port): Bugfixed last change...
191
24bf9166
MD
1921998-10-28 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
193
194 * readline.scm (make-readline-port): Don't set prompt to "... " if
195 read line was empty.
196
f4be1689
JB
1971998-10-19 Jim Blandy <jimb@zwingli.cygnus.com>
198
1f6fe22a
JB
199 * boot-9.scm, debug.scm, expect.scm, hcons.scm, lineio.scm,
200 r4rs.scm, slib.scm, threads.scm: Update copyright years.
201
33432c79
JB
202 * getopt-gnu-style.scm, slib.scm: Add copyright notice.
203
204 Talked to Stallman. Actually, the syntax-case copyright is no
205 problem. Duh.
206 * Makefile.am (ice9_sources): Revert last change.
207 * syncase.scm, psyntax.pp, psyntax.ss: Added again.
208 * Makefile.in: Regeneretade.
209
f4be1689
JB
210 * boot-9.scm: Don't assume that this file is loaded just before
211 entering a read-eval-print loop. Turn code to load (ice-9 emacs)
212 into...
213 (load-emacs-interface): New function.
214 (top-repl): Call it, if use-emacs-interface is defined and true.
215 At this point, we *do* know we're about to enter a REPL.
216
217 We can't include Kent Dybvig's syntax-case macro expander in the
218 core Guile distribution, because we don't have copyright
219 assignments for this code. We can certainly distribute them as a
220 separate package, but Guile should be FSF code.
221 * syncase.scm, psyntax.pp, psyntax.ss: Removed.
222 * Makefile.am (ice9_sources): Removed syncase.scm, psyntax.pp, and
223 psyntax.ss.
224 * Makefile.in: Regenerated.
225
226 * Makefile.am (ice9_sources): Add getopt-gnu-style.scm.
227 * Makefile.in: Regenerated.
228
c8f11b97
MD
2291998-10-18 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
230
231 * boot-9.scm: Added extended read syntax for byte vectors #y(...)
232 and short vectors #h(...).
233
bb2a4165
JB
2341998-10-14 Jim Blandy <jimb@zwingli.cygnus.com>
235
236 * calling.scm (excursion-function-syntax): Use a sequence of
237 set!'s, not a single multi-variable set!; we removed support for
238 that syntax a long time ago. (Thanks to Shuji Narazaki.)
239
c8983d6a
JB
2401998-10-12 Jim Blandy <jimb@zwingli.cygnus.com>
241
94e3e95e 242 * r4rs.scm (OPEN_READ, OPEN_WRITE, OPEN_BOTH): Don't bother
c8983d6a
JB
243 testing software-type here. That's the least of our Windows
244 porting issues, and it's done wrong anyway.
245
77052259
JB
2461998-10-09 Jim Blandy <jimb@zwingli.cygnus.com>
247
98330fd2
JB
248 * boot-9.scm (read-path-list-notation-warning): New function:
249 print a warning the first time we see `#/' notation.
250
77052259
JB
251 * q.scm (sync-q!, q?, q-remove!, q-push!, enq!): Lots of bugs, and
252 (eq? #f '()) assumptions. Make functions that aren't documented
253 to return anything else return the queue itself. (Bug report from
254 Michael Livshin --- thanks!)
255
c9dd46af
MD
2561998-08-21 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
257
258 * debug.scm (trace-entry, trace-exit): Removed re-enabling of
259 trace flag.
260
261 * boot-9.scm (make-options): Bugfix: Changed pair? --> list? in
262 order to allow the empty list as arg.
263 (error-catching-loop): Use `with-traps' to create a dynamic
264 context with traps enabled.
265
5ef4ef4e
MD
2661998-08-19 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
267
268 * boot-9.scm: Removed (ice-9 regex) from use-list of (guile)
269 module.
270 (try-using-libtool-name): Removed dependency on (ice-9 regex).
271
325f42e0
MD
2721998-08-15 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
273
274 * boot-9.scm: Make the root module use (ice-9 regex) if
275 available. The dynamic linking facilities in boot-9.scm are
276 currently dependent upon regular expressions. My change of
277 1998-07-14 removed (ice-9 regex) from the use-list of the root
278 module and thereby destroyed dynamic linking.
279
0dcbc17a
JB
2801998-07-29 Jim Blandy <jimb@zwingli.cygnus.com>
281
282 * Makefile.in: Regenerated using the last public version of
283 automake, not the hacked Cygnus version.
284
1f5ae2fd
JB
2851998-07-28 Jim Blandy <jimb@zwingli.cygnus.com>
286
287 * Makefile.in: Regenerated, after removing Totoro kludge.
288
1a0106ef
JB
2891998-07-28 Jim Blandy <jimb@totoro.red-bean.com>
290
291 * getopt-gnu-style.scm: New file. (Thanks to Russ McManus.)
292
e99cbcd6
JB
2931998-07-26 Jim Blandy <jimb@zwingli.cygnus.com>
294
295 * Makefile.in Rebuilt, for config changes in parent dir.
296
6f4d9622
MD
2971998-07-21 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
298
299 * readline.scm (make-readline-port): Set prompt string to "... "
300 after first read line. (Thanks to Richard Polton.)
301
3ec4ec9a
JB
3021998-07-19 Jim Blandy <jimb@zwingli.cygnus.com>
303
304 * lineio.scm (make-line-buffering-input-port): Don't use
305 ungetc-char-ready?, since we don't provide that function any
306 more. The unread-string function doesn't interact properly with
307 any of the standard I/O functions anyway. (Thanks to Andrew
308 Archibald.)
309
310 * hcons.scm (hashq-cons-assoc): Don't assume the empty list is
311 false. Return false when we cannot find a matching entry in the
312 list. (Thanks to Andrew Archibald.)
313
a0cc0a01
MD
3141998-07-16 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
315
316 * boot-9.scm (export, export-syntax): New special forms: Export
317 bindings from a module. `(export name1 name2 ...)' can be used at
318 the top of a module (after `define-module') to specify which names
319 should be exported. It can be used as an alternative to
320 `define-public'. `export-syntax' works equivalently to `export'
321 but is intended for export of syntactic keywords.
322 (Thanks to Thien-Thi Nguyen.)
323
39bc9948
MD
3241998-07-15 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
325
326 * boot-9.scm: Renamed module `(guile-repl)' --> `(guile-user)'.
327
13e341bb
MD
3281998-07-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
329
ae996c08
MD
330 * boot-9.scm: Let the user start in module `(guile-repl)' instead
331 of module `(guile)'. Also make sure that `(guile-repl)' uses
332 suitable modules. This change improves Guile stability
333 substantially since bindings will only be copied from the root
334 module: If the user redefines builtins in `(guile-repl)' it won't
335 affect the internal operation of Guile itself.
13e341bb 336
c6775c40
MD
3371998-06-19 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
338
339 * boot-9.scm (load-module): When loading files from within files
340 themselves being loaded: Use the directory path of the file being
341 loaded as root for relative filenames. (After suggestion by
342 Steven G. Johnson.)
343
ef0d04e5
MD
3441998-06-15 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
345
346 * emacs.scm (emacs-load): New feature: Eval in specified module.
347
4ffd142c
MD
3481998-06-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
349
350 * readline.scm: Typo in regex module name.
351
edd9ac21
MD
3521998-06-13 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
353
354 * readline.scm (apropos-completion-function): regexp-quote text to
355 be completed.
356
a66c53a8
MD
3571998-06-11 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
358
edd9ac21 359 * debug.scm, emacs.scm: Bugfix: Treat `the-last-stack' as a fluid.
a66c53a8 360
d38a6802
MD
3611998-06-09 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
362
363 * boot-9.scm: Check that (current-input-port) is a tty before
364 enabling readline. (Thanks to Michael N. Livshin.)
365
cf266109
MD
3661998-06-07 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
367
368 * boot-9.scm (use-syntax): Turned into a macro inorder to be
369 similar in use to `use-modules'.
370 Example: (use-syntax (ice-9 syncase)) will 1. load the module
371 (ice-9 syncase), and, 2. install the procedure `syncase' as eval
372 transformer.
373 (internal-use-syntax): New procedure.
374 (process-define-module): Use `internal-use-syntax'.
375
67da6c57
MD
3761998-05-19 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
377
378 * Makefile.am (ice9_sources): Add emacs.scm.
379
1b558afd
MD
3801998-05-13 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
381
382 * readline.scm: Use the new readline facilities: Add the
383 possibility to control input and output ports; Add apropos
384 completion.
385
386 * boot-9.scm: Antirevert Jim's readline code which he reverted
387 19971027 and adapt it to the current readline interface.
388
389 * boot-9.scm (top-repl): Only enable readline if not using the
390 Emacs interface; Only use repl prompt when using the readline port
391 from repl-read. (We don't want to see it when calling `read'.)
392
393 * boot-9.scm (remove-hook!): Parenthesis bug.
394
f246e585
MD
3951998-05-11 Mikael Djurfeldt <mdj@kenneth>
396
397 * boot-9.scm: Load readline module if readline is present.
398
399 * readline.scm (apropos-completion-function): New procedure:
400 Symbolic completion. (Thanks to Andrew Archibald!)
401
f714ca8e
MD
4021998-04-22 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
403
404 * boot-9.scm (process-define-module): Added keyword use-syntax.
405
3ede541d
MD
4061998-04-19 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
407
408 * nonblocking.scm: Removed. libguile is now inherently
409 nonblocking through the use of scm_internal_select.
410
411 * emacs.scm: Removed use of nonblocking.scm.
412
413 * gwish.scm, gtcl.scm: Removed. tcltk.scm has made these
414 obsolete.
415
608cf70c
MD
4161998-04-15 Mikael Djurfeldt <mdj@nada.kth.se>
417
418 * runq.scm (runq-control): Corrected spelling of enqueue!.
419 (Thanks to Karl M. Hegbloom.)
420
16b8ebbe
MD
4211998-03-30 Mikael Djurfeldt <mdj@nada.kth.se>
422
423 * boot-9.scm: Added new run-time option interface eval-options.
424
abf06c12
MD
4251998-03-28 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
426
427 * boot-9.scm (remove-hook!): New macro. (Thanks to Maciej
428 Stachowiak.)
429
13dc0cae
MD
4301998-01-30 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
431
432 * threads.scm: Added simple error and signal handler.
433 (make-thread, begin-handler): Use this handler. The most
434 important effect of this is that signals get unmasked.
435 Previously, when a signal was thrown signals remained masked
436 (signals get masked when a signal is taken) which influenced other
437 threads.
438
841d28d7
TP
4391998-01-01 Tim Pierce <twp@skepsis.com>
440
441 A better fix to the SLIB identity problem -- thanks to Marius Vollmer.
442 * slib.scm (identity): Unmake public.
443 (slib:eval): Evaluate inside `slib-module'.
444
ad76c8d9
TP
4451997-12-24 Tim Pierce <twp@skepsis.com>
446
249cdba6
TP
447 * boot-9.scm: Doc fix.
448
ad76c8d9
TP
449 * slib.scm (identity): Made public.
450 (home-vicinity): New function (from SLIB/Template.scm).
451
848f2a01
TP
4521997-12-13 Tim Pierce <twp@skepsis.com>
453
f4be1689 454 * boot-9.scm (read-line): Rewritten to call %read-line for
848f2a01
TP
455 improved speed. Minor user-visible changes: the new functions are
456 hardwired to treat the LFD character as signifying end-of-line, so
457 changing `scm-line-incrementors' will no longer affect the
458 behavior of read-line. On platforms which do not represent
459 end-of-line with a LFD character, read-line should behave more
460 like native line-processing facilities, but there is still a ways
461 to go here.
462
8bb7f646
MD
463Sat Nov 29 01:24:46 1997 Mikael Djurfeldt <mdj@kenneth>
464
465 * boot-9.scm (error-catching-loop, save-stack): `the-last-stack'
466 is now a fluid.
467
ebd79f62
TP
4681997-11-28 Tim Pierce <twp@skepsis.com>
469
848f2a01
TP
470 * boot-9.scm (find-and-link-dynamic-module): If a module directory
471 contains a .la file (a libtool support file), attempt to extract
472 the shared library name from that file. If the .la file does not
473 exist, try to link against a .so file. Libtool-generated compiled
474 modules should load more cleanly in Guile now.
ebd79f62
TP
475 (try-using-libtool-name, try-using-sharlib-name): New functions.
476
28d8ab3c
GH
477Sun Nov 9 06:10:59 1997 Gary Houston <ghouston@actrix.gen.nz>
478
479 * boot-9.scm (set-batch-mode?!, batch-mode?): initialize more
480 usefully so they will work from a script.
481
13a7ee16
MV
4821997-10-31 Marius Vollmer <mvo@zagadka.ping.de>
483
484 * boot-9.scm (inherit-print-state): Moved definition to the
485 neighborhood of the record code.
486
930b16c0
JB
487Mon Oct 27 02:05:49 1997 Jim Blandy <jimb@totoro.red-bean.com>
488
489 * boot-9.scm: Revert changes to this file from Oct 23. It turns
490 out to interact badly with the Emacs support and the Tcl/Tk
491 support. It's not a high enough priority at the moment to be
492 worth fixing. I'm leaving the other readline support in, though.
493
3fa5bb75
JB
494Sat Oct 25 14:23:22 1997 Jim Blandy <jimb@totoro.red-bean.com>
495
496 * Makefile.am: Include readline.scm in the list of files to be
497 installed, so Guile can find it for interactive use.
498 * Makefile.in: Regenerated.
499
2e368582
JB
500Thu Oct 23 01:00:33 1997 Jim Blandy <jimb@totoro.red-bean.com>
501
502 Add support for readline function.
503 * readline.scm: New module.
504 * boot-9.scm (repl-reader): New function.
505 (scm-style-repl): Call repl-reader, instead of doing the reading
506 ourselves. Remove repl-report-reset; it was never used for
507 anything.
508 (top-repl): If we've got the readline primitives, then redefine
509 repl-reader to use them.
510 If we've got the readline primitives, import the readline module.
511
512 * ls.scm (ls, lls): Don't assume (eq? #f '()).
513
514Wed Oct 22 18:26:57 1997 Jim Blandy <jimb@totoro.red-bean.com>
515
516 * calling.scm, common-list.scm, ls.scm, q.scm, runq.scm,
517 string-fun.scm: Added copyright notices; reformatted.
518
4bbbcd5c
GH
519Thu Oct 9 05:44:00 1997 Gary Houston <ghouston@actrix.gen.nz>
520
521 * expect.scm: (expect-regexec): new procedure, use it in
522 expect-strings to fix the => syntax under the new regex system.
523 (top): include regex module in define-module statement.
524
525Wed Oct 8 03:16:01 1997 Gary Houston <ghouston@actrix.gen.nz>
526
527 * (error-catching-loop): new local variable "interactive". if
528 #f, abort terminates the process.
529 (set-batch-mode?!, batch-mode?): new closures, defined in
530 error-catching-loop. the names are from scsh.
531
c115b54b
MV
5321997-10-06 Marius Vollmer <mvo@zagadka.ping.de>
533
534 * boot-9.scm (inherit-print-state): If NEW-PORT contains a
535 print-state, throw it away.
536
2e368582 537Fri Oct 3 12:00:00 Mikael Djurfeldt <mdj@nada.kth.se>
9f9aa47b
MD
538
539 * boot-9.scm (struct-layout): Use `vtable-index-layout' instead of
540 `0'.
541
2e368582 542Thu Oct 2 12:00:00 Mikael Djurfeldt <mdj@nada.kth.se>
9f9aa47b
MD
543
544 * boot-9.scm (struct-printer, make-struct-printer,
545 set-struct-printer-in-vtable!, *struct-printer*): Removed.
546 (record-type-vtable, make-record-type): Don't use make-struct-printer.
547 (record-type-vtable): User fields "prpr" (printer is no longer a
548 user field).
549 (record-type-name, record-type-fields): Decreased slot index by
550 one; Use `vtable-offset-user'.
551
2e368582 552Thu Oct 2 12:00:00 Marius Vollmer <mvo@zagadka.ping.de>
21fdbaee
MV
553
554 * boot-9.scm (inherit-print-state): New experimental function.
555
adc14c93
JB
556Tue Sep 30 13:12:48 1997 Jim Blandy <jimb@totoro.red-bean.com>
557
558 Suggestion and script from Maciej Stachowiak:
559 * boot-9.scm: Split off modules into separate, autoloadable files.
560 This reduces startup time from 10.5s to 5.5s (user cpu).
561 * calling.scm, common-list.scm, ls.scm, q.scm, runq.scm,
562 string-fun.scm: New files, containing stuff that used to be in
563 boot-9.scm.
564 * Makefile.am (ice9_sources): List new files here, for
565 distribution and installation.
566 * Makefile.in: Regenerated.
567
5aa28c1e
JB
568Mon Sep 29 23:53:55 1997 Jim Blandy <jimb@totoro.red-bean.com>
569
570 * Makefile.in: Regenerated with automake 1.2c.
571
2f110c3c
MD
572Mon Sep 29 03:21:24 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
573
d1005e3c
MD
574 * slib.scm (slib:load): slib:load first tries to load the file
575 named NAME, then NAME.scm. On error, report the error occuring at
576 the first attempt (NAME) rather than the second (NAME.scm).
577
2f110c3c
MD
578 * boot-9.scm: Bugfix: Hard-solder the print-option procedure into
579 the make-options macro so that we needn't refer to a global
580 symbol.
581
83b38198
MD
582Sun Sep 28 21:40:24 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
583
584 * debug.scm: Moved options interface procedures to boot-9.scm.
585
586 * boot-9.scm: Define options interface procedures here instead.
587
af01fdcd
JB
588Sat Sep 27 20:19:20 1997 Jim Blandy <jimb@totoro.red-bean.com>
589
590 * boot-9.scm (separate-fields-discarding-char,
591 separate-fields-after-char, separate-fields-before-char): Call
592 continuation function, RET, as advertised: with each separated
593 field a separate argument.
594
595 * Makefile.in: Regenerated with automake 1.2a.
596
534a0099
MD
597Sat Sep 20 14:23:53 1997 Mikael Djurfeldt <mdj@kenneth>
598
599 * slib.scm (slib:load): Export.
600
601 * boot-9.scm (in-vicinity): Bugfix: Don't add "/" to an empty
602 vicinity;
603 Provide defmacro.
604
8fa5faad
MD
605Thu Sep 18 01:24:31 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
606
607 * r4rs.scm (apply): Set name property to 'apply.
608
11b05261
MD
609Tue Sep 16 22:09:50 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
610
611 * boot-9.scm (keyword->symbol, display-usage-report): Changed
0a54457d
MD
612 length --> string-length. (Thanks to Aleksandar Bakic.)
613 (separate-fields-discarding-char, separate-fields-after-char,
614 separate-fields-before-char): Bugfix from Maciej Stachowiak
615 <mstachow@mit.edu>. Thanks!
a4f9b1f6
MD
616 (try-module-linked): Try to find module among those already
617 registered.
618 (try-module-dynamic-link): Removed the first test which
619 corresponds to a call to `try-module-linked'.
620 (resolve-module): Resolve modules in this order: 1. Already
621 registered modules (for example those which have been statically
622 linked), 2. Try to autoload an .scm-file, 3. Try to dynamically
623 link a .so-file.
11b05261 624
24b2aac7
MD
625Mon Sep 15 23:39:54 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
626
627 * boot-9.scm (iota): Renamed list-reverse! --> reverse!
628
7cfae7e6
MD
629Thu Sep 11 02:31:38 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
630
631 * session.scm (name): New procedure: Gives name of object.
632 (source): New procedure: Gives source of object.
633
7a0ff2f8
MD
634Wed Sep 10 20:12:45 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
635
f4be1689 636 * boot-9.scm (primitive-macro?): New procedure.
7a0ff2f8
MD
637
638 * slib.scm: Added hack which transfers syntactic information from
639 the builtin variable `define' to the slib version if module (ice-9
640 syncase) has been loaded. This is necessary to get correct
641 expansion inside the slib module.
642
643 * psyntax.ss (build-let, build-named-let): New output
644 constructors.
645 (build-lexical-var): Seed gensym with symbolic name.
646 (self-evaluating?): Add keywords among self-evaluating types.
647 (let): New core form.
648 (if): Removed from core language.
649 (or, and, let, cond): Removed syntactic definitions.
650 (sc-expand3): New procedure: Expander which takes optional mode
651 and eval-syntactic-expanders-when arguments.
652
653 * syncase.scm (psyncomp): New procedure: Recompiles psyntax.pp.
654 Should be used inside the (ice-9 syncase) module with (use-syntax
655 syncase) and with the current directory containing the psyntax.ss
656 source.
657 Added hack to transfer syntactic information from the builtin
658 variable `define' to the slib version if module (ice-9 slib) has
659 been loaded.
660
661Fri Sep 5 05:47:36 1997 Mikael Djurfeldt <mdj@faun.nada.kth.se>
662
663 * syncase.scm (sc-interface, sc-expand): Removed hook setup.
664 (syncase): Publish syntax transformer to be used with
665 `use-syntax'.
666 (sc-macro): Use this as the value when publishing macros.
667
668 * boot-9.scm (module-type): Added `transformer'.
669 (make-module): Modified initialization.
670 (module-transformer, set-module-transformer!): Selector and
671 mutator for module-associated transformer.
672 (set-current-module): Use module-transformer to set
673 `scm:eval-transformer'.
674 (module-use!): Previous change reverted.
f4be1689 675 (use-syntax): New function: Install a transformer in current
7a0ff2f8
MD
676 module.
677 (sc-interface, sc-expand): Removed! :)
678
d43f8c97
MD
679Fri Sep 5 03:09:09 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
680
681 * emacs.scm (emacs-load): Added new parameter `module'.
682
683 * syncase.scm (putprop, getprop): Modified to use the object
684 properties of the variable object corresponding to the symbol;
685 This way we can ride on the mechanisms of the module system.
686 Changed `builtin-variable' calls to `define-public' calls.
687 Setup the hooks sc-expand and sc-interface.
688
689 * boot-9.scm (sc-interface, sc-expand): New builtin variables.
690 (set-current-module): Switch to and from sc-expand as
691 scm:eval-transformer when going into and out of modules using
692 syncase macros.
693 (module-use!): Set scm:eval-transformer to sc-expand when adding
694 the syncase interface.
695
1f355b4f
MD
696Thu Sep 4 14:57:04 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
697
698 * syncase.scm (putprop): Temporary fix which publishes new syntax
699 globally (the old behaviour was complex and connected to the inner
700 workings of the current module system).
701
e9b7bb80
MD
702Wed Sep 3 21:29:13 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
703
704 * psyntax.ss: Updated.
705 psyntax.pp: Bugfix: Previous version had some leading "t":s cut
706 off!
707
e672f1b5
MD
708Tue Sep 2 00:26:42 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
709
710 * boot-9.scm (gensym): Removed (replaced by primitive).
711 (obarray-gensym): Rewritten to use `gensym'.
712 (gentemp): Rewritten to use `gensym'.
713
30d732a6
MD
714Mon Sep 1 20:08:32 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
715
716 * gtcl.scm (make-tcl-binder): Rewritten to choose bindings
717 according to the following priorities:
718 1. tcl bindings which are present in override-scheme-list
719 2. bindings from the-scm-module
720 3. tcl bindings
721 This way the gtcl module can occur first in the use-list without
722 disabling the scheme interpreter.
723 (new-interpreter): New function.
724
725 * gwish.scm: Moved initialization code for the-interpreter to
726 gtcl.scm; Moved name space cleaning code to gtcl.scm and rewrote
727 it; Call `new-interpreter'; Don't :use-module (guile).
728
1aa8162b
JB
729Thu Aug 28 23:48:53 1997 Jim Blandy <jimb@totoro.red-bean.com>
730
731 * Makefile.in: Regenerated.
732
34695603
JB
733Wed Aug 27 11:35:09 1997 Jim Blandy <jimb@totoro.red-bean.com>
734
735 * Makefile.in: Regenerated, so it uses "tar", not "gtar".
736
52f1b046
MD
737Mon Aug 25 22:00:44 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
738
739 * emacs.scm (object->string, format, error-args->string): New
740 procedures.
741 (emacs-frame-eval): Reworked.
742
a5be27cd
MD
743Mon Aug 25 16:15:55 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
744
745 * session.scm (apropos-internal): Musn't initialize symbol
746 accumulator with a constant pair. That led to mutation of the
747 source!
748
68aed3ea
MD
749Sun Aug 24 01:03:10 1997 Mikael Djurfeldt <mdj@kenneth>
750
751 * session.scm (vector-for-each): Removed.
752 (apropos): vector-for-each --> array-for-each.
753 (apropos-internal): New function. Return list of accessible
754 symbols matching regexp.
755
756 * debug.scm (frame-number->index): New function. Convert frame
757 number (as displayed in the backtrace) to frame index (to be used
758 in stack-ref).
759
760 * emacs.scm (emacs-load): New arguments: interactivep: when
761 non-false, send back results to Emacs; colnum: Column number;
762 Use modules (ice-9 debug) and (ice-9 session);
763 (no-stack, no-source): New simple-actions;
764 (result-to-emacs): New procedure. Sends data to Emacs via the
765 result protocol;
766 (get-frame-source, emacs-select-frame, emacs-frame-eval,
767 emacs-symdoc): New procedures.
8c5a8bed 768
555f21d8
MD
769Wed Aug 20 13:21:11 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
770
eb7ec1e8 771 * emacs.scm (emacs-load): Adjust stack narrowing.
8c3420ad 772 (whitespace-chars): Include #\np.
eb7ec1e8 773
555f21d8
MD
774 * syncase.scm: Also turn off debugging evaluator and recording of
775 procedure names during loading of psyntax.pp.
776
777 * psyntax.pp: Removed leading blanks => 800K -> 100K.
778
230c4353
MD
779Tue Aug 19 02:39:41 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
780
19ef2a9b
MD
781 * syncase.scm: Don't tamper with debug mode setting when enabling
782 macros. Instead cut the stack with start-stack.
a48930c6 783 Load psyntax.pp with recording of positions turned off.
19ef2a9b 784
ceb177a4 785 * psyntax.pp, psyntax.ss (quasiquote): Changed fx= --> =.
230c4353 786
f4be1689
JB
787 * syncase.scm: New file: Guile-adaption for syntax-case macros.
788 * psyntax.pp, psyntax.ss: Syntax-case macros, portable version 2 by
230c4353
MD
789 R. Kent Dybvig, Oscar Waddell, Bob Hieb and Carl Bruggeman
790
0e81dabd
MD
791Mon Aug 18 21:58:25 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
792
f4be1689 793 * session.scm: New file: Session support.
0e81dabd
MD
794 (apropos): New procedure: List bindings given regexp.
795
6afcd3b2
GH
796Sat Aug 16 18:44:24 1997 Gary Houston <ghouston@actrix.gen.nz>
797
798 * boot-9.scm: define tms accessors: clock, utime, stime, cutime,
799 cstime.
800
096d5f90
MD
801Thu Aug 14 19:55:37 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
802
db75135d
MD
803 * emacs.scm (emacs-load): Something has changed in the reader so
804 that we now should set the port line count to the specified value
805 (linum) instead of (- linum 1).
806
096d5f90
MD
807 * slib.scm (slib:load): Use load-from-path instead of
808 primitive-load-path so that backtraces get narrowed properly at
809 the top.
810
811 * boot-9.scm (top-repl): Save stack already in signal handler in
812 order to narrow it correctly.
813 (save-stack): Adjust narrowing tag for the top of load-stacks.
814
7a6f1ffa
GH
815Tue Jul 29 01:18:08 1997 Gary Houston <ghouston@actrix.gen.nz>
816
817 * boot-9.scm (move->fdes, dup->port): use dup->fdes, not primitive-dup.
818 (dup->fdes): deleted, now done in C.
819
956055a9
GH
820Sat Jul 26 08:00:42 1997 Gary Houston <ghouston@actrix.gen.nz>
821
822 * boot-9.scm (setenv): new procedure, scsh compatible.
823
485cb6eb
MV
824Sat Jul 26 21:30:10 1997 Marius Vollmer <mvo@zagadka.ping.de>
825
826 * boot-9.scm (with-fluids): New macro to go with the
827 builtin `with-fluids*'.
828
4d0d7ef9
MD
829Thu Jul 24 04:28:11 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
830
831 * slib.scm (install-require-module): In newer versions of slib
832 *catalog* is #f until the first access. Therefore we call
833 require:provided? for a random feature if *catalog* is #f.
834
8309a10d
MD
835Wed Jul 23 20:13:04 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
836
837 * boot-9.scm: If using emacs interface, enable backtraces
838 automatically.
839
e38303a2
GH
840Mon Jul 21 06:45:45 1997 Gary Houston <ghouston@actrix.gen.nz>
841
842 * boot-9.scm (dup->port, dup->inport, dup->outport, dup->fdes,
843 dup, fdes->inport, fdes->outport, port->fdes): new procedures.
844 (duplicate-port): was a C primitive, now it's here.
845 (move->fdes): allow the first argument to be a file descriptor.
846 Return the modified port or file descriptor (was unspecified.)
847
2e3e9351
JB
848Fri Jul 11 00:13:43 1997 Jim Blandy <jimb@floss.red-bean.com>
849
32552d73
JB
850 Changes to compile under gnu-win32, from Marcus Daniels:
851 * boot-9.scm (load-user-init): If HOME is unset, provide
852 a default of /.
853
2e3e9351
JB
854 * boot-9.scm (define-public): Changed to accomodate Hobbit.
855
db561408
JB
856Tue Jun 24 00:31:47 1997 Jim Blandy <jimb@floss.red-bean.com>
857
fcff2c5c
JB
858 * boot-9.scm, debug.scm, hcons.scm, lineio.scm, mapping.scm,
859 poe.scm, slib.scm, tags.scm, threads.scm: Use normal list
860 notation, instead of #/ notation.
861
db561408
JB
862 * expect.scm (expect-strings): Pass regexp/newline flag to
863 make-regexp.
864
2409cdfa
JB
865Mon Jun 23 16:13:38 1997 Jim Blandy <jimb@floss.red-bean.com>
866
db561408
JB
867 Fix inconsistencies in parsing of #/ style lists.
868 * boot-9.scm (read-path-list-notation): New function.
869 (parse-path-symbol): Deleted. Replaced by above.
870 Plug in read-path-list-notation as the parser for #/ lists,
871 instead of the anonymous lambda form calling parse-path-symbol.
872 (Thanks to Maurizio Vitale.)
873
2409cdfa
JB
874 * boot-9.scm (make-list): Remove the definition of this function
875 from the (ice-9 common-list) module; make the `init' argument
876 optional in the scm module's definition, to match the deleted
877 definition. Harmony reigneth? (Thanks to Bernard URBAN.)
878
91b28bb5
JB
879Sun Jun 22 18:33:17 1997 Jim Blandy <jimb@floss.red-bean.com>
880
881 Try to detect when people are using one version of libguile and a
882 different version of ice-9. People have been skewing things and
883 sending in bug reports.
884 * version.scm.in: New file, which the configure script munges to
885 produce version.scm, which contains the ice-9 config stamp.
886 * boot-9.scm: Compare the libguile and ice-9 config stamps;
887 display a warning if the two are different.
888 * Makefile.am: Install version.scm, but don't distribute it.
889 Distribute version.scm.in, but don't install it.
890 * Makefile.in: Regenerated.
891
9fbdb48f
JB
892Thu Jun 19 21:01:16 1997 Jim Blandy <jimb@floss.red-bean.com>
893
894 * slib.scm (slib:warn): Alias for WARN function.
895
e320da2f
JB
896Fri Jun 13 00:32:04 1997 Jim Blandy <jimb@floss.red-bean.com>
897
898 * boot-9.scm (struct-printer): Fix off-by-one error in range
899 check. Correctly check for struct printer tag.
900
901 * expect.scm: Turn this into a module, (ice-9 expect).
902 (expect-port, expect-timeout, expect-timeout-proc,
903 expect-eof-proc, expect-char-proc, expect, expect-strings,
904 expect-select): Make these public definitions.
905 (expect-strings): Use make-regexp and regexp-exec, instead of
906 regcomp and regexec. We've omitted the REG_NEWLINE flag; hope
907 that's okay.
908
909 * boot-9.scm (with-regexp-parts): Comment this out. It has no
910 users in the core, and relies on mildly hairy details of the old
911 regexp interface.
912
913 * test.scm: Re-enable tests asserting that '() is true, and not a
914 boolean. This stuff has been true for a while.
915
916 * boot-9.scm (ipow-by-squaring, butlast): Fix uses of outdated
917 function names.
918
919 * boot-9.scm (with-excursion-getter-and-setter, q-rear): Doc
920 fixes.
921
3688473b
JB
922Wed Jun 11 00:31:40 1997 Jim Blandy <jimb@floss.red-bean.com>
923
924 * Makefile.in: Regenerated after xtra_PLUGIN_guile_libs change in
925 ../configure.in.
926
0b46857f
MV
927Fri Jun 6 14:37:18 1997 Marius Vollmer <mvo@zagadka.ping.de>
928
929 * boot-9.scm (struct-printer): Bugfix: Check the layout of the
930 vtable and not the one of the struct.
931
5dade857
MV
932Wed Jun 4 23:27:16 1997 Marius Vollmer <mvo@zagadka.ping.de>
933
934 * boot-9.scm (struct-layout, %struct-printer-tag, struct-printer,
935 make-struct-printer, set-struct-printer-in-vtable!): New bindings
936 to support printing of structures.
937 (record-type-vtable, make-record-type): Add slot to hold printing
938 function and initialize it with something appropriate. Removed
939 commented out printing code.
940 (record-type-name, record-type-fields): Adjusted slot offsets.
941 (%print-module): Reduce argument list to "mod" and "port".
942
95d59d10
JB
943Tue Jun 3 17:04:18 1997 Jim Blandy <jimb@totoro.cyclic.com>
944
945 * slib.scm (identity): New function, used by SLIB.
946
e1a191a8
GH
947Sat May 31 18:57:12 1997 Gary Houston <ghouston@actrix.gen.nz>
948
949 * boot-9.scm: signal-handler, alarm-thunk: removed.
950 don't define ticks-interrupt etc.
951 top-repl: install signal handlers for SIGINT, SIGFPE, SIGSEGV, SIGBUS
952 during call to scm-style-repl.
953
19da35d0
JB
954Fri May 30 18:08:10 1997 Jim Blandy <jimb@floss.cyclic.com>
955
956 * slib.scm (slib:load): Use primitive-load-path instead of
957 basic-load. This is probably wrong, but hopefully the entire
958 source access system will be revised soon anyway, and this will
959 make require behave more like Emacs Lisp's require. If this
960 breaks something, please let me know. Maybe this is real dumb.
961
0e165281
JB
962Thu May 29 02:36:48 1997 Jim Blandy <jimb@floss.cyclic.com>
963
964 * regex.scm: Add a module declaration. Use DEFINE-PUBLIC everywhere.
965 * boot-9.scm: If the `regex' feature is present, use the module
966 (ice-9 regex).
967
737c9113
JB
968Tue May 27 22:48:14 1997 Tim Pierce <twp@twp.tezcat.com>
969
970 * regex.scm: New file.
971 * Makefile.am (subpkgdata_DATA): Add regex.scm.
972 * Makefile.in: Regenerated.
973
36539a15
JB
974Mon May 26 17:24:48 1997 Jim Blandy <jimb@totoro.cyclic.com>
975
976 * COPYING, boot-9.scm, debug.scm, emacs.scm, expect.scm, gtcl.scm,
977 gwish.scm, hcons.scm, lineio.scm, mapping.scm, nonblocking.scm,
978 oldprint.scm, poe.scm, r4rs.scm, source.scm, tags.scm, test.scm,
979 threads.scm: New address for FSF.
980
142ad3d9
JB
981Fri May 16 04:09:45 1997 Jim Blandy <jimb@floss.cyclic.com>
982
983 * debug.scm: Update copyright years; this file has been worked on
36539a15 984 in 1997.
142ad3d9 985
cafa4c68
GH
986Thu May 15 07:56:08 1997 Gary Houston <ghouston@actrix.gen.nz>
987
988 * expect.scm: use gettimeofday instead of get-internal-real-time
989 and use a floating point timeout when calling select. Untested,
990 since the regex library is currently AWOL.
991
223be5f0
JB
992Wed May 14 21:00:30 1997 Jim Blandy <jimb@floss.cyclic.com>
993
994 * boot-9.scm (eval-string): Function deleted; it was already
995 implemented in C, so there's no point in making a divergable copy
996 here.
997
9b01064c
JB
998Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com>
999
1000 * Makefile.in: Regenerated, using automake-1.1p.
1001
1002Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com>
1003
1004 * Makefile.in: Regenerated, using automake-1.1p.
1005
1fbc60b2
GH
1006Tue May 13 02:48:49 1997 Gary Houston <ghouston@actrix.gen.nz>
1007
1008 * boot-9.scm (error-catching-loop): don't read a line from
1009 current input when quit is encountered, the previous change
1010 fixes this too.
1011
c7d97590
JB
1012Mon May 12 19:00:21 1997 Jim Blandy <jimb@floss.cyclic.com>
1013
1014 * boot-9.scm (scm-style-repl): After reading an expression,
1015 consume any trailing newline (perhaps preceded by whitespace), to
1016 avoid screwing up GDB. More detail in comments.
1017
6b3f3366
JB
1018Mon May 5 13:18:38 1997 Jim Blandy <jimb@floss.cyclic.com>
1019
1020 * Makefile.am (ETAGS_ARGS): New variable, since we're not treating
1021 the Scheme code like code yet.
1022 * Makefile.in: Resrac,husrched.
1023
eea324ee
MV
1024Wed Apr 30 15:25:15 1997 Marius Vollmer <mvo@zagadka.ping.de>
1025
1026 * boot-9.scm (link-dynamic-module): Do not catch errors from
1027 dynamic-link and dynamic-call. When the shared library exists it
1028 is now assumed to be suitable for a dynamic C module.
1029
ef79b65b
MV
1030Fri Apr 25 21:21:35 1997 Marius Vollmer <mvo@zagadka.ping.de>
1031
1032 * boot-9.scm (process-use-modules): New function to support the
1033 use-modules macro
1034 (use-modules): throw an error iff one of the requested modules
1035 can't be found.
1036
3be77013
GH
1037Tue Apr 29 06:54:46 1997 Gary Houston <ghouston@actrix.gen.nz>
1038
1039 * boot-9.scm: don't define timer-thunk or gc-thunk.
1040
28c682fa
JB
1041Sun Apr 27 17:56:09 1997 Jim Blandy <jimb@floss.cyclic.com>
1042
1043 * aclocal.m4: Removed; unnecessary, given changes of Apr 24.
1044
1045 * Makefile.am (subpkgdatadir): Use "ice-9" instead of "@module@";
1046 we're not using AM_INIT_GUILE_MODULE any more.
1047 * Makefile.in: Regeneratitetedrerd.
1048
20108301
JB
1049Thu Apr 24 01:33:33 1997 Jim Blandy <jimb@floss.cyclic.com>
1050
819f936b
JB
1051 Get 'make dist' to work again.
1052 * Makefile.am (EXTRA_DIST): Remove PLUGIN files.
1053 * Makefile.in: Regenerated, like two tons of fleas.
1054
20108301
JB
1055 Changes for reduced Guile distribution: one configure script,
1056 no plugins.
1057 * configure.in, configure: Removed.
1058 * Makefile.in: Regenerated.
1059
dab94cac
JB
1060Sat Apr 19 08:03:50 1997 Jim Blandy <jimb@floss.cyclic.com>
1061
48d224d7 1062 * boot-9.scm (eval-string, command-line, load-user-init): New
dab94cac
JB
1063 functions.
1064
65495221
GH
1065Sat Apr 12 08:27:05 1997 Gary Houston <ghouston@actrix.gen.nz>
1066
1067 * boot-9.scm (log10): defined.
1068
708bf0f3
GH
1069Tue Apr 1 17:46:49 1997 Gary Houston <ghouston@actrix.gen.nz>
1070
1071 * expect.scm (expect-select): correct the millisecond timeout
1072 arithmetic (from Marko.Kohtala@ntc.nokia.com).
1073
1074Mon Mar 31 03:23:19 1997 Gary Houston <ghouston@actrix.gen.nz>
1075
1076 * boot-9.scm (open-input-pipe, open-output-pipe): defined here
1077 instead of in libguile.
1078 (tm:sec etc.) new accessors for broken-down time.
1079 (set-tm:sec etc.) new setters for broken-down time.
1080
9337637f
GH
1081Thu Mar 27 05:06:00 1997 Gary Houston <ghouston@actrix.gen.nz>
1082
1083 * boot-9.scm (netent:addrtype, servent:port): added missing
1084 procedures.
1085 (netent:net, servent:proto): repaired.
1086 (utsname:sysname etc.): new accessors for uname.
1087
1088Tue Mar 25 03:04:03 1997 Gary Houston <ghouston@actrix.gen.nz>
1089
1090 * boot-9.scm (sockaddr:fam, sockaddr:path, sockaddr:addr,
1091 sockaddr:port): new functions.
1092
bce074ee
GH
1093Wed Mar 19 04:50:34 1997 Gary Houston <ghouston@actrix.gen.nz>
1094
1095 * boot-9.scm: define accessor procedures for the objects returned
1096 by getpw, getgr, gethost, getnet, getproto, getserv (e.g.,
1097 passwd:name, where the first component is the name of the C structure
1098 and the second is the unprefixed C member name.)
1099
1100Tue Mar 18 18:39:31 1997 Gary Houston <ghouston@actrix.gen.nz>
1101
095936d2 1102 * boot-9.scm (setpwent, setgrent, sethostent, setnetent, setprotoent,
bce074ee
GH
1103 setservent): no longer take an argument, it was bogus.
1104
81e2a235
GH
1105Thu Mar 13 00:13:41 1997 Gary Houston <ghouston@actrix.gen.nz>
1106
1107 * boot-9.scm (scm-error): deleted, reimplemented in C.
1108
04798288
MD
1109Mon Mar 10 15:48:31 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1110
1111 * boot-9.scm (process-define-module): Modified to handle both
1112 keywords and symbols.
1113
75a97b92
GH
1114Sat Mar 8 04:32:44 1997 Gary Houston <ghouston@actrix.gen.nz>
1115
1116 * slib.scm: update read usage.
1117
1118 * r4rs.scm: update primitive-load usage.
1119 Don't define read-sharp.
1120
1121 * boot-9.scm: use read-hash-extend to install extra read syntax.
1122 (read-sharp): removed.
1123 Adjust usage of primitive-load-path, read, which no longer take
1124 case_i or read-sharp arguments.
1125
63a3d814
MD
1126Sat Mar 8 00:07:54 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1127
90d5e280
MD
1128 * boot-9.scm: Added loading of session support module.
1129
63a3d814
MD
1130 * debug.scm: Removed `display-application'. (Replaced by
1131 primitive procedure.)
1132
1133 * boot-9.scm (beautify-user-module!): Don't add the root module
1134 interface to the end of the use-list of the root module.
1135
75a97b92
GH
1136Thu Mar 6 07:26:34 1997 Gary Houston <ghouston@actrix.gen.nz>
1137
1138 * boot-9.scm: repl-quit, repl-abort: obsolete variables deleted.
1139
f3c23298
GH
1140Wed Mar 5 20:30:24 1997 Gary Houston <ghouston@actrix.gen.nz>
1141
1142 * boot-9.scm: check use-emacs-interface for emacs support.
1143
7950df7c
GH
1144Sun Mar 2 19:47:14 1997 Gary Houston <ghouston@actrix.gen.nz>
1145
1146 * boot-9.scm (scm-style-repl): call repl-report-start-timing if
1147 read gets EOF.
1148 * (exit): alias for quit.
1149
8e44e7a0
GH
1150Sun Mar 2 05:25:11 1997 Gary Houston <ghouston@actrix.gen.nz>
1151
1152 * boot-9.scm (error-catching-loop thunk): use a status variable to
1153 return the quit args.
1154 (scm-style-repl): call -quit, passing return value from
1155 error-catching-repl. Make -quit return its args.
1a36eef2 1156 stand-alone-repl: comment out, since it seems unused.
7950df7c 1157
8e44e7a0
GH
1158 (error-catching-loop thunk): discard trailing junk after a (quit).
1159
9a942103
MD
1160Sat Mar 1 15:24:39 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1161
06a02069
MD
1162 * boot-9.scm: Removed the old printer code.
1163
1164 * r4rs.scm (apply, call-with-current-continuation): Added comment
1165 explaining why apply and call/cc need to be closures.
1166
1167 * boot-9.scm (apply, call-with-current-continuation): Bugfix:
1168 Removed. These definitions are already present in r4rs.scm.
1169
9a942103
MD
1170 * debug.scm (trace-entry, trace-exit): Check that we're on a repl
1171 stack before printing traced frames; Re-enable trace flag at end
1172 of handlers.
1173
e6875011
MD
1174Sat Mar 1 00:10:38 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1175
59e1116d
MD
1176 * debug.scm: Add hook for reset of trace level at abort.
1177
1178 * boot-9.scm (run-hooks): New procedure.
1179 (add-hooks!): New macro.
1180 Change hooks to use these functions.
1181
095936d2 1182 * debug.scm: *Warning* This feature is a bit premature. I add
e6875011
MD
1183 it anyway because 1. it is very useful, and, 2. you can start
1184 making it less premature by complaining to me and by modifying
1185 the source! :-)
1186 (trace): Given one or more procedure objects, trace each one.
1187 Given no arguments, show all traced procedures.
1188 (untrace): Given one or more procedure objects, untrace each one.
1189 Given no arguments, untrace all traced procedures. The tracing in
1190 Guile have an advantage to most other systems: We don't create new
1191 procedure objects, but mark the procedure objects themselves.
1192 This means that also anonymous and internal procedures can be
1193 traced.
1194
1195 * boot-9.scm (error-catching-loop): Added handling of apply-frame
1196 and exit-frame exceptions.
1197
095936d2 1198 * boot-9.scm (assert-repl-prompt, the-prompt-string): Removed.
e6875011
MD
1199 (set-repl-prompt!): Setter for repl prompt.
1200 (scm-style-repl): If prompt is #f, don't prompt; if prompt is a
1201 string, display it; if prompt is a thunk, call it and display its
1202 result; otherwise display "> ".
1203 (Change suggested by Roland Orre <orre@nada.kth.se>.)
0065d90e
MD
1204
1205 * r4rs.scm (%load-verbosely): Reverted change to
1206 `module-defined?', since the module system isn't bootstrapped when
1207 we load r4rs.scm. This is just a temporary fix to make the
1208 repository version runnable.
1209
eb52a06b
MD
1210Thu Feb 27 23:25:47 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1211
1212 * boot-9.scm: Removed the enabling of debug evaluator and
1213 recording of source code positions. This was placed there for our
1214 convenience, but it has already sneaked into the distribution
1215 once... so we'd better add this in our local copies instead when
1216 we need it. (These options are normally enabled at the end of
1217 boot-9.scm when loading the debug module.)
1218
d18d1b6d
MV
1219Thu Feb 27 16:04:45 1997 Marius Vollmer <mvo@zagadka.ping.de>
1220
1221 * boot-9.scm (module-defined?): New function.
1222 (macroexpand-1, macroexpand): Use local-ref instead of defined?
1223 and eval.
1224 * r4rs.scm (%load-verbosely): Use "module-defined?" instead of
1225 "defined?".
1226 * slib.scm (defined?): New function to take the place of the
1227 builtin "defined?". It allways examines the slib module.
1228
15ae1bee
MD
1229Mon Feb 24 21:46:15 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1230
1231 * configure.in: Added AM_MAINTAINER_MODE
1232
c2132276
GH
1233Sat Feb 15 04:51:20 1997 Gary Houston <ghouston@actrix.gen.nz>
1234
1235 * boot-9.scm (read-sharp): define directly, don't go through a
1236 %read-sharp layer.
1237
1238Tue Feb 11 08:45:48 1997 Gary Houston <ghouston@actrix.gen.nz>
1239
1240 * boot-9.scm (uniform-vector-set!): use uniform-array-set1!, not
1241 uniform-vector-set1! which doesn't exist.
1242
d590bbf6
MD
1243Mon Feb 10 03:01:48 1997 Mikael Djurfeldt <mdj@kenneth>
1244
1245 * boot-9.scm (backtrace): Removed. (A C version now exists in
1246 backtrace.c.)
1247
1e531c3a
GH
1248Fri Jan 24 06:05:36 1997 Gary Houston <ghouston@actrix.gen.nz>
1249
1250 * boot-9.scm (read-line!, read-delimited!, read-delimited,
1251 read-line): new procedures, see libguile/ChangeLog.
1252
bb0102f7
MV
1253Thu Jan 16 17:07:03 1997 Marius Vollmer <mvo@zagadka.ping.de>
1254
1255 Added dynamic linking of modules. See libguile/DYNAMIC-LINKING.
1256
1257 * boot-9.scm (split-c-module-name, convert-c-registered-modules,
1258 init-dynamic-module, dynamic-maybe-call,
1259 find-and-link-dynamic-module, link-dynamic-module,
1260 try-module-dynamic-link, registered-modules): New definitions for
1261 dynamic linking of modules.
1262 (resolve-module): Try to dynamically link the requested module
1263 after failing to load it as Scheme code.
1264
920235cc
GH
1265Wed Jan 8 05:50:14 1997 Gary Houston <ghouston@actrix.gen.nz>
1266
1267 * boot-9.scm (getservbyport, getservbyname): remove stray %.
1268
198befde
JB
1269Tue Jan 7 20:02:24 1997 Jim Blandy <jimb@floss.cyclic.com>
1270
1271 * boot-9.scm (and=>): Rename THUNK argument to PROCEDURE, 'cos
1272 that's what it is.
1273
1274 * lineio.scm (make-line-buffering-input-port): Properly test for
1275 the case of an empty buffer list. The old code assumed that '()
1276 was false.
1277
33cf699f
MD
1278Mon Jan 6 01:13:53 1997 Mikael Djurfeldt <mdj@kenneth>
1279
095936d2 1280 * boot-9.scm (use-modules): New macro (from Marius Vollmer).
33cf699f
MD
1281 (use-modules <module name> ...) Put the the modules named by
1282 <module name> ... on the use list of the current module.
1283
7a818853
JB
1284Sun Jan 5 15:52:59 1997 Jim Blandy <jimb@floss.cyclic.com>
1285
1286 * boot-9.scm (error-catching-loop): Remove message saying that
1287 typing "$" will put you in the debugger. This isn't implemented
1288 yet.
1289
506067f0
JB
1290Sun Dec 22 23:27:25 1996 Jim Blandy <jimb@floss.cyclic.com>
1291
1292 * boot-9.scm (delq-all!): Function deleted; delq!'s semantics have
1293 been fixed, so this function is superfluous.
1294 (transform-usage-lambda): Use delq!, not delq-all!.
1295
2ebf3156
MV
1296Tue Dec 17 20:36:45 1996 Marius Vollmer <mvo@zagadka.ping.de>
1297
7a818853 1298 * boot-9.scm (resolve-module): New optional parameter that
2ebf3156
MV
1299 controls whether autoloading is attempted or not. Default is #t.
1300 (process-define-module): Don't autoload the defined module.
1301 (try-module-autoload): Don't autoload the directory modules.
1302
7a818853 1303 * boot-9.scm (process-define-module): Ensure that the-scm-module
2ebf3156
MV
1304 is last in the `uses' list to allow shadowing builtin
1305 bindings. All :use-module options are added in the order they
1306 appear in the arguments but before anything already on the list
1307 (such as the-scm-module).
1308
00f06035
GH
1309Wed Dec 11 21:06:05 1996 Gary Houston <ghouston@actrix.gen.nz>
1310
1311 * slib.scm (slib-parent-dir): throw error if #f returned from
1312 %search-load-path.
1313
733943b9
TT
1314Sat Nov 30 23:57:28 1996 Tom Tromey <tromey@cygnus.com>
1315
1316 * PLUGIN/greet, PLUGIN/split.sed, PLUGIN/this.configure: Removed.
1317 * Makefile.am, aclocal.m4: New files.
1318 * configure.in: Updated for Automake.
1319
84abd243
MV
1320Wed Nov 27 14:16:14 1996 Marius Vollmer <mvo@zagadka.ping.de>
1321
1322 * boot-9.scm (macroexpand-1, macroexpand), slib.scm
1323 (slib:features), r4rs.scm (%load-verbosely): "defined?" is now a
1324 function, use it accordingly.
1325
a31bc6fb
JB
1326Thu Nov 21 11:12:10 1996 Jim Blandy <jimb@floss.cyclic.com>
1327
1328 It's an "eval closure", not an "eval thunk." A thunk is a
1329 function of no arguments.
1330 * boot-9.scm (module-type): Rename module field.
1331 (make-module, eval-in-module, make-root-module,
1332 set-current-module): Uses changed.
1333 (module-eval-closure, set-module-eval-closure!,
1334 root-module-closure): Renamed from module-eval-thunk,
1335 set-module-eval-thunk!, root-module-thunk.
1336 (set-current-module): Change uses of *top-level-lookup-thunk* to
1337 *top-level-eval-closure*.
1338
3763761c
JB
1339Wed Nov 20 14:45:27 1996 Jim Blandy <jimb@totoro.cyclic.com>
1340
1341 * slib.scm (slib-parent-dir): Use string-length, not length.
1342 (Thanks to Bernard Urban.)
1343
7ad737b6
MD
1344Sat Nov 2 20:00:42 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1345
7a818853 1346 * boot-9.scm: The debugging evaluator and recording of positions
7ad737b6
MD
1347 aren't enabled by default any longer (they are switched on in
1348 debug.scm). But during development we want to have them also
1349 *inside* boot-9.scm. Therefore, two lines are added at the
1350 beginning of boot-9.scm to enable these.
1351
1352 Call `provide' so that `records' are included among the
1353 `*features*'.
1354
1355 The scheme for saving the stack has been adjusted: save-stack is
1356 now commonly available for saving the stack. Calling `save-stack'
1357 sets a flag `stack-saved?' which prevents overwriting the stack.
1358 `stack-saved?' is reset at `abort'.
1359
1360 Spelling correction: seperate --> separate.
1361
1362 Removed `:'s that had creeped into some comments.
1363
7a818853 1364 The repl now doesn't print #<unspecified> results any longer
7ad737b6
MD
1365 If the user wants to see this, he can do
1366 (assert-repl-print-unspecified #t) in his startup file.
1367
7a818853 1368 The user now gets a friendly message instead of a backtrace at
7ad737b6
MD
1369 error.
1370
1371 Added `before-read-hook'.
1372
1373 Load module (ice-9 emacs) if option `-e' was specified.
1374
1375 (provide): New function.
1376
1377 (error): Save stack at entry, so that Guile entrails won't show up
1378 in backtraces.
1379
1380 (backtrace): New function.
1381
7a818853 1382 (save-stack): Can now take arbitrary number of stack narrowing
7ad737b6
MD
1383 specifier pairs. The first specifier in a pair controls inner
1384 border, the second the outer border. A number means cut that
1385 number of frames, a procedure object means cut until that object
1386 is found in operator position in a frame.
1387
1388 * debug.scm: Enable debugging evaluator and recording of positions
1389 by default.
1390
1391 * slib.scm (slib:load): Adapt to the new behavior of
1392 primitive-load: It doesn't any longer try both with and without
1393 ".scm" extension. (We don't want to use %search-load-path here.)
1394
1395 (implementation-vicinity): New function. slib requires it
1396
1397 (library-vicinity): Updated.
1398
1399 Load "require.scm" in the library-vicinity.
1400
1401 (install-require-vicinity, install-require-module): New functions.
1402
99f97bfe
JB
1403Mon Oct 28 17:56:29 1996 Jim Blandy <jimb@floss.cyclic.com>
1404
581a242b
JB
1405 * boot-9.scm (load-from-path): New function.
1406
1407 * boot-9.scm (try-load, basic-try-load, try-load-module,
1408 try-load): Deleted. I don't think they're being used.
1409
48be3fb3
JB
1410 * Makefile.in (scm_files): Add r4rs.scm and test.scm to this list,
1411 so they'll get distributed.
1412
1413 Get Guile to be a little less chatty by default. The new user
1414 should see as little clutter as possible.
1415 * r4rs.scm (%load-verbosely): Make this #f by default.
1416 * boot-9.scm (scm-repl-verbose): Make this #f by default.
1417 (scm-style-repl): Don't run 'pk' on the value passed to quit.
1418
1419 * r4rs.scm: New file.
1420 * boot-9.scm: Load r4rs.scm, first thing.
1421 (OPEN_READ, OPEN_WRITE, OPEN_BOTH, *null-device*, open-input-file,
1422 open-output-file, open-io-file, close-input-port,
1423 close-output-port, close-io-port, call-with-input-file,
1424 call-with-output-file, with-input-from-port, with-output-to-port,
1425 with-error-to-port, with-input-from-file, with-output-to-file,
1426 with-error-to-file, with-input-from-string, with-output-to-string,
1427 with-error-to-string, the-eof-object): Definitions moved to
1428 r4rs.scm. Not all of them are R4RS, but those that are use those
1429 that are not.
1430 (load, %load-verbosely, %load-announce): Moved, along with code to
1431 set %load-hook, to r4rs.scm.
1432
1433 * test.scm: New file.
1434
1435 * boot-9.scm (integer?): Definition deleted, in favor of the one
1436 present in libguile (which used to be called int?). I have no
1437 idea why integer? didn't just call int? to begin with.
1438
1439 * boot-9.scm (<, <=, =, >, >=): Definitions in terms of <?, <=?,
1440 =?, >?, and >=? deleted; they're defined that way by libguile now.
1441
99f97bfe
JB
1442 * boot-9.scm (load): Simplified; primitive-load does most of this
1443 work now.
1444 (%load-announce-win): Removed; no longer used. Set %load-hook to
1445 call %load-announce.
1446
3afb28ce
GH
1447Sun Oct 27 07:47:03 1996 Gary Houston <ghouston@actrix.gen.nz>
1448
4fe3604d
JB
1449 * boot-9.scm (stat:dev, stat:ino, stat:mode, stat:nlink, stat:uid,
1450 stat:gid, stat:rdev, stat:size, stat:atime, stat:mtime,
1451 stat:ctime, stat:blksize, stat:blocks) accessor functions for stat
1452 components.
3afb28ce
GH
1453 (file-is-directory?): use stat:type.
1454
3065a62a
JB
1455Fri Oct 25 03:34:47 1996 Jim Blandy <jimb@floss.cyclic.com>
1456
1457 * boot-9.scm (%read-sharp): Don't recognize the `#!' syntax here;
1458 that's now taken care of in libguile, and in a way compatible with
1459 SCSH (which this isn't).
1460
e4c5095f
JB
1461Mon Oct 21 18:52:36 1996 Jim Blandy <jimb@totoro.cyclic.com>
1462
1463 * boot-9.scm: Formatting tweaks.
1464
1bb961a3
MD
1465Fri Oct 18 01:03:08 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1466
1467 * boot-9.scm (handle-system-error): Added hooks before-error-hook,
1468 after-error-hook, before-backtrace-hook and after-backtrace-hook
1469 to the error handler. E.g.: fancy emacs support could plug into
1470 these.
1471 (save-stack): New function. The stack is now made differently
1472 depending on the stack id. (The motivation is to make a better
1473 choice regarding what stack frames to present to the user.)
1474 (error-catching-loop): Stack handling code moved outside into
1475 save-stack.
1476
9a0d70e2
GH
1477Thu Oct 17 20:33:08 1996 Gary Houston <ghouston@actrix.gen.nz>
1478
d7189b49
GH
1479 * Makefile.in (scm_files): add expect.scm.
1480
1481 * expect.scm: new file ported from guile-iii.
1482
9a0d70e2
GH
1483 * boot-9.scm: remove handle-system-error, after moving the code into
1484 error-catching-loop.
1485 Don't set 'throw-handler-default property on error keys.
1486 Just interpret (almost) any throw with 4 args as an error throw.
1487 Delete some try-load stuff that was already commented out.
1488
35c5db87
GH
1489 Second thoughts, keep handle-system-error but call it from
1490 error-catching-loop.
1491
d065b65f
JB
1492Tue Oct 15 17:07:20 1996 Jim Blandy <jimb@floss.cyclic.com>
1493
aa9576ad
JB
1494 * boot-9.scm: Doc fixes.
1495 (make-module): Rework for readability.
1496 (make-root-module, make-scm-module): USES argument to make-module
1497 should be '(), not #f.
1498
d065b65f
JB
1499 * boot-9.scm (try-load): %sys-load-path has been renamed to
1500 primitive-load-path; adjust call here.
1501
c01c94bf
MD
1502Tue Oct 15 14:25:01 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
1503
d065b65f 1504 * boot-9.scm (signal-handler): Bugfix: Moved the recording of
c01c94bf
MD
1505 the stack to the correct place: when it is decided to generate an
1506 error-signal.
1507
2dfc85c0
MD
1508Mon Oct 14 22:20:30 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
1509
1510 * boot-9.scm (error-catching-loop, signal-handler,
1511 handle-system-error): Backtracing now works for signals aswell;
1512 Backtracing mechanism can now identify the stack root created by
1513 start-stack so that the user isn't exposed to system stack frames.
1514
84d8ad97
MD
1515Mon Oct 14 06:05:42 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
1516
1517 * Makefile.in: Added threads.scm.
1518
4f0292cf
MD
1519Mon Oct 14 04:21:51 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
1520
1521 * debug.scm (make-enable, make-disable): Simplified.
1522
1523 * boot-9.scm: Renamed %%throw-handler-default -->
1524 throw-handler-default.
1525 ((handle-system-error key . arg-list)): Changed the way errors are
1526 reported.
1527 ((scm-style-repl)): Wrap up the call to eval in a start-stack
1528 acro.
1529 ((error-catching-loop thunk)): Introduce a lazy-catch into
1530 error-catching-loop so that the stack can be captured.
1531
1eaceb61
JB
1532Thu Oct 10 22:27:32 1996 Jim Blandy <jimb@totoro.cyclic.com>
1533
1534 * mapping.scm (hash-table-mapping): Explicitly request that
1535 make-vector fill new vectors with '(); this will make it easier to
1536 port Guile Scheme code to other Schemes.
1537 * boot-9.scm (make-print-style, make-print-table): Same.
1538
6fa8995c
GH
1539Sun Oct 6 03:54:59 1996 Gary Houston <ghouston@actrix.gen.nz>
1540
1541 * boot-9.scm (load): rewritten again.
1542 Append "." to the default %load-path.
1543 (feature?): new function: checks for a symbol in the features list.
1544 (module-local-variable): remove apparently useless (caddr (list m v
1545 ...))
1546 (%load-announce): minor formatting change.
1547 (file-exists?): use access? if posix is featured.
1548 (file-is-directory?): use stat if i/o-extensions is featured.
1549 (try-module-autoload module-name): use file-exists? before
1550 file-is-directory?
1551
8b4a21d1
MD
1552Sat Oct 5 18:54:03 1996 Mikael Djurfeldt <mdj@kenneth>
1553
8acae5bb
MD
1554 * boot-9.scm: Added conditional loading of threads.scm.
1555
1556 * threads.scm: New file. Modified from the Cygnus-r0.3
1557 distribution.
1558
8b4a21d1
MD
1559 * boot-9.scm (error-catching-loop): Added handling of key
1560 `switch-repl'.
1561
1562 * boot-9.scm: Name change %%bad-throw --> bad-throw.
1563
c90c9685
JB
1564Wed Oct 2 23:38:44 1996 Jim Blandy <jimb@totoro.cyclic.com>
1565
1566 * boot-9.scm (make-record-type, record-constructor): Don't assume
1567 the empty list is false when parsing the argument list.
1568
1569Mon Sep 30 22:15:50 1996 Jim Blandy <jimb@totoro.cyclic.com>
1570
1571 * boot-9.scm (signal-handler): Clean up logic.
1572
1573 * boot-9.scm (load): Assume %load-path is always bound.
1574
5552355a
GH
1575Sat Sep 28 00:15:37 1996 Gary Houston <ghouston@actrix.gen.nz>
1576
1577 * boot-9.scm (error): replace another throw with scm-error. Throw
1578 to 'misc-error instead of 'error (no need to distinguish these.)
1579 Don't set up 'error as a key.
1580 Set up regex-error as a key, if regex is available.
1581 (signal-handler): use scm-error, not throw.
1582
7a818853 1583 (%try-load, try-load-with-path, %load, load-with-path,
5552355a
GH
1584 basic-try-load-with-path, basic-load-with-path,
1585 try-load-module-with-path,load-module-with-path): deleted, since
1586 they seem redundant.
1587 (try-load): define using %try-load, not try-load-with-path.
7a818853 1588 (load): rewritten. load tries to open the file directly and
5552355a
GH
1589 with a .scm extension before searching the library directories
1590 (should "." be added to %load-path? then load could still open
1591 directly files starting with "/").
1592 (try-module-autoload): use load, not load-with-path.
1593 (%load-indent): deleted, -2 was causing errors.
1594
1595 (%read-sharp): use port-line, not line-number.
1596
c90c9685
JB
1597Fri Sep 27 16:23:51 1996 Jim Blandy <jimb@totoro.cyclic.com>
1598
1599 * boot-9.scm (%%bad-throw): Delete definition. 1) It's very
1600 straightforward to provide the equivalent functionality using
1601 (catch #t ...), so there's no need for the extra complexity. 2)
1602 Outside the context of a read-eval-print loop (which Guile should
1603 not require) it's not clear we should do anything more complicated
1604 than print an error and exit; the user or REPL can establish
1605 something better if it wants. 3) In that case, it's much more
1606 robust to just do it in the C code.
1607
855c0eac
GH
1608Tue Sep 24 06:53:04 1996 Gary Houston <ghouston@actrix.gen.nz>
1609
1610 * boot-9.scm (%try-load): define using primitive-load. Previously
1611 %try-load itself was the primitive.
1612 (load-with-path): use scm-error instead of %load-announce-lossage.
1613 Errors are thrown to 'misc-error instead of 'could-not-load.
1614 (%load-announce-lossage): deleted.
1615
a0c97697
MD
1616Mon Sep 23 00:16:31 1996 Mikael Djurfeldt <mdj@kenneth>
1617
1618 * boot-9.scm (warn, scm-style-repl): Use C printer instead of `print'.
1619 (make-record-type type-name fields): Temporarily remove support
1620 for printing of records (not possible yet with C printer).
1621
be2d2c70
GH
1622Fri Sep 20 00:24:27 1996 Gary Houston <ghouston@actrix.gen.nz>
1623
1624 * boot-9.scm (file-exists?, file-is-directory): catch only
1625 system-error, not every kind of error.
1626 (scm-error): new procedure.
1627
434bf5ce
JB
1628Thu Sep 19 16:02:46 1996 Jim Blandy <jimb@totoro.cyclic.com>
1629
1630 * boot-9.scm: Formatting tweaks.
1631
2194b6f0
GH
1632Wed Sep 18 09:07:37 1996 Gary Houston <ghouston@actrix.gen.nz>
1633
1634 * boot-9.scm (%%handle-system-error key): remove the code for
1635 SCM-style errors. handle the case that an unexpected number
1636 of args are supplied.
1637 (%%system-errors): removed.
1638 (error): redefine using a throw with key and 4 args.
1639 ('error): associate 'error, 'error-signal keys with
1640 %%handle-system-error.
1641 (%%default-error-handler): removed.
1642 (signal-handler): throw with 4 args and use the error-signal key.
1643 Create an error message instead of using numerical codes.
1644 (%%bad-throw): call error instead of throw if key not found.
1645
1646Tue Sep 17 04:11:28 1996 Gary Houston <ghouston@actrix.gen.nz>
1647
1648 * boot-9.scm: initialize new error keys (see libguile/ChangeLog).
1649 (%%handle-system-error key): check subr is not #f before printing.
1650 Recognize %s (embed an argument using "display") and
1651 %S (embed an argument using "write").
1652
234f2da6
GH
1653Sun Sep 15 03:55:35 1996 Gary Houston <ghouston@actrix.gen.nz>
1654
1655 * boot-9.scm (%%handle-system-error key): set args and rest to
1656 the empty list if they are #f.
1657 Initialize out-of-range as an error key.
1658
e1724d20
GH
1659Sat Sep 14 03:41:15 1996 Gary Houston <ghouston@actrix.gen.nz>
1660
40c8906e
GH
1661 * PLUGIN/REQ: remove the "ice-9 lgh" line which causes a cycle.
1662
e1724d20
GH
1663 * boot-9.scm: remove leading %% from references to '%%system-error.
1664 (%%handle-system-error): don't pass all the thrown arguments when
1665 aborting, just the key and subr.
1666 Remove the code to "Install default handlers for built-in errors."
1667 Remove the definition of the syserror procedure.
1668 Associate 'numerical-overflow with default handler.
1669
1a80fb07
MD
1670Fri Sep 13 04:58:11 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
1671
1672 * boot-9.scm: Name change: value-ref --> local-ref
1673 resolved-ref --> nested-ref Motivation: conformance to the other
1674 dictionary operators: list-ref operates on list, vector-ref
1675 operates on vector, nested-ref operates on nested namespace,
1676 local-ref operates on the local nested namespace.
1677
7cb1d4d3
GH
1678Sat Sep 7 06:44:47 1996 Gary Houston <ghouston@actrix.gen.nz>
1679
1680 * boot-9.scm (%%handle-system-error): recognise errors thrown
1681 by lgh-error (fill-message etc.)
9561554c 1682 (fill-message): check first whether args is null.
a949b3f2 1683 (fill-message): bug fix and check that args is a list.
7cb1d4d3 1684
393ee9a8
JB
1685Thu Sep 5 11:33:41 1996 Jim Blandy <jimb@floss.cyclic.com>
1686
1687 * boot-9.scm: %load-path is initialized in C code now.
1688 (implementation-vicinity, parse-path): Deleted, along with code to
1689 initialize %load-path.
1690
1691 * boot-9.scm (in-vicinity): If the vicinity doesn't end with a
1692 "/", use one to separate it from the file.
1693
e4ef46d4
JB
1694Thu Aug 29 23:05:11 1996 Thomas Morgan <tmorgan@gnu.ai.mit.edu>
1695
1696 * boot-9.scm (%load-path): Add the site directory.
1697 Add the directory named after the version number.
1698 Prepend the version number to the other directories in the path.
1699 Simplify by mapping the common prefix onto each item.
1700 * Makefile.in (datadir, pkgdatadir, pkgverdatadir, subpkgdatadir,
1701 sitedatadir): New definitions.
1702 (libparent, libdir, install_path): Replaced by above.
1703 (install): Create the above directories.
1704 Put the source files into subpkgdatadir.
1705 (uninstall): Remove the above directories.
1706
00312aa3
JB
1707Thu Aug 29 21:48:47 1996 Jim Blandy <jimb@floss.cyclic.com>
1708
1709 Don't use the PLUGIN system to gather information for the
1710 Makefile's distribution and installation targets; just put it all
1711 in the Makefile directly.
1712 * PLUGIN/this.configure (scm_files, aux_files): Remove sections
1713 for these.
1714 * configure.in: Remove code that gets and substitutes scm_files and
1715 aux_files.
1716 * Makefile.in (scm_files, aux_files): Write out the list of files
1717 here, where people expect to find them.
1718
96a8aaf3
MD
1719Fri Aug 23 06:44:36 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
1720
1721 * boot-9.scm: Preliminary solution: optionally load the debug
7685f77c 1722 module. Changed "gls" to "guile1.0b3".
96a8aaf3
MD
1723
1724 * debug.scm: New file: debug extensions.
1725
4e378733
MD
1726Wed Aug 21 13:06:56 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
1727
1728 * boot-9.scm (print-vector): Renamed weak-hash-table? -->
1729 weak-key-hash-table?. (Again!)
1730
0190d683
MD
1731Tue Aug 20 07:31:39 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
1732
1733 * boot-9.scm (print-vector, macro-table, xformer-table):
1734 Renamed weak-hash-table --> weak-key-hash-table.
1735
1736 * poe.scm (funcq-memo): Renamed weak-hash-table -->
1737 weak-key-hash-table.
1738
8b13c6b3
GH
1739Sat Aug 3 06:16:35 1996 Gary Houston <ghouston@actrix.gen.nz>
1740
1741 * boot-9.scm (*null-device*): global constant from goonix.
1742 (move->fdes): adjusted for boolean primitive-move->fdes. return
1743 the modified port, always set revealed count to 1 (SCSH compatible).
1744 (release-port-handle port): from goonix (SCSH compatible).
1745 (%open-file): removed.
1746 (open-input-file, open-output-file, file-exists?, file-is-directory?):
1747 modified for open-file change (does not return #f).
1748
a44a755d
JB
1749Thu Aug 1 02:52:42 1996 Jim Blandy <jimb@totoro.cyclic.com>
1750
1751 * Makefile.in (dist-dir): New target for new dist system.
1752 (manifest): Deleted.
1753 * PLUGIN/this.configure (aux_files): Removed PLUGIN; it's a
1754 directory, and needs special treatment in the dist-dir target.
1755
02b754d3
GH
1756Thu Aug 1 09:00:21 1996 Gary Houston <ghouston@actrix.gen.nz>
1757
1758 * boot-9.scm: remove the wrappers for '%' system primitives,
1759 now that they throw errors directly.
1760 remove make-simple-wrapper and similar functions.
1761 protect a call to getenv which may now throw an exception.
1762
1763Wed Jul 31 23:44:42 1996 Gary Houston <ghouston@actrix.gen.nz>
1764
1765 * boot-9.scm (false-if-exception): new macro.
1766
0f2d19dd
JB
1767Fri Apr 19 13:53:08 1996 Tom Lord <lord@beehive>
1768
1769 * The more things change...
1770
1771