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