*** empty log message ***
[bpt/guile.git] / ice-9 / ChangeLog
1 2001-09-19 Thien-Thi Nguyen <ttn@glug.org>
2
3 * expect.scm: Commentary fix; nfc.
4
5 * boot-9.scm (process-use-modules): Fix typo.
6
7 2001-09-18 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
8
9 * Makefile.am (psyntax.pp): Reference compile-psyntax.scm in
10 $(srcdir) in order to support separate build trees.
11
12 2001-09-08 Thien-Thi Nguyen <ttn@revel.glug.org>
13
14 * optargs.scm (lambda*): Record the broken-down argument list in
15 the `arglist' procedure property.
16 * session.scm (arity): Use new `arglist' procedure property to
17 present a more detailed argument list.
18
19 Thanks to Matthias Köppe!
20
21 2001-09-07 Thien-Thi Nguyen <ttn@revel.glug.org>
22
23 * getopt-long.scm (process-options, getopt-long): Fix omission
24 bug: Handle multiple occurrances of an option. Thanks to Daniel
25 Skarda.
26
27 2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
28
29 * boot-9.scm: Don't load module (ice-9 rdelim).
30
31 (feature?): Deprecated.
32
33 (id, -1+, return-it, string-character-length, flags,
34 eval-in-module, split-c-module-name,
35 (convert-c-registered-modules, registered-modules,
36 register-modules, warn-autoload-deprecation, init-dynamic-module,
37 dynamic-maybe-call, dynamic-maybe-link,
38 find-and-link-dynamic-module, try-using-libtool-name,
39 try-using-sharlib-name, link-dynamic-module, try-module-linked,
40 try-module-dynamic-link): Removed.
41
42 (module-make-local-var!, module-ensure-local-variable!,
43 module-define!): Eliminate call to `variable-set-name-hint!´.
44
45 (try-load-module, use-syntax, module-export!): Remove deprecated
46 functionality.
47
48 * format.scm: Remove deprecated definition of format that was
49 needed to trick export.
50
51 2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
52
53 * optargs.scm: Remove #& reader extension.
54
55 2001-08-31 Dirk Herrmann <D.Herrmann@tu-bs.de>
56
57 * and-let-star-compat.scm: Deleted.
58
59 * Makefile.am: Remove references to and-let-star-compat.scm.
60
61 2001-08-30 Thien-Thi Nguyen <ttn@revel.glug.org>
62
63 * boot-9.scm (resolve-interface): When returning a custom
64 interface, also consult source module's entire binding set,
65 not just its exported bindings, before throwing error.
66
67 2001-08-25 Marius Vollmer <mvo@zagadka.ping.de>
68
69 * boot-9.scm (resolve-interface): Get variables from the public
70 interface of a module instead of from the module itselfs.
71
72 2001-08-25 Marius Vollmer <mvo@zagadka.ping.de>
73
74 * Makefile.am (AUTOMAKE_OPTIONS): Change "foreign" to "gnu".
75
76 2001-08-12 Thien-Thi Nguyen <ttn@revel.glug.org>
77
78 * getopt-long.scm: Rewrite.
79 Touch up docstrings.
80 Augment commentary.
81
82 2001-08-02 Neil Jerram <neil@ossau.uklinux.net>
83
84 * debugger.scm (run-last-command): Return current state if
85 last-command fluid is not yet set.
86
87 2001-08-02 Thien-Thi Nguyen <ttn@revel.glug.org>
88
89 * getopt-long.scm: Refill to fit in 80 columns.
90
91 (process-long-option): Fix bug: Keep track of `optional'
92 value-required info and use this to determine whether or not the
93 next element is to be taken as the option arg.
94
95 2001-07-31 Keisuke Nishida <knishida@nurs.or.jp>
96
97 * boot-9.scm (process-define-module): Fixed a bug that did not
98 handle :use-syntax correctly.
99
100 2001-07-24 Marius Vollmer <mvo@zagadka.ping.de>
101
102 * syncase.scm (psyncomp): Removed, it is now in
103 compile-psyntax.scm.
104
105 2001-07-23 Marius Vollmer <mvo@zagadka.ping.de>
106
107 * Makefile.am (psyntax.pp): Enable rule for psyntax.pp only in
108 maintainer mode. Use compile-psyntax.scm for actual compilation.
109 Make sure the uninstalled guile is used.
110 (EXTRA_DIST): Distribute compile-psyntax.scm
111 * compile-psyntax.scm: New file.
112
113 2001-07-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
114
115 * and-let-star.scm, debug.scm, debugger.scm, history.scm,
116 lineio.scm, null.scm, optargs.scm, r4rs.scm, r5rs.scm,
117 receive.scm, safe-r5rs.scm, streams.scm: Updated copyright notice.
118
119 2001-07-17 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
120
121 * r5rs.scm: Use `re-export' instead of `export' for re-exported
122 primitives. Thanks Neil!
123
124 2001-07-13 Marius Vollmer <mvo@zagadka.ping.de>
125
126 * safe-r5rs.scm: Use `re-export' instead of `export' for
127 re-exported core bindings. Do not re-export `numerator',
128 `denominator' and `rationalize' since Guile does not have them.
129 Continue to use `export' for `null-environment'.
130
131 * null.scm: Use `re-export' instead of `export' for re-exported
132 core bindings. Do not export `unquote' and `unquote-splicing'
133 since there aren't definitions for them.
134
135 * boot-9.scm (compile-interface-spec): Bug fix: the keyword
136 argument is "renamer" not "rename".
137
138 2001-07-09 Rob Browning <rlb@defaultvalue.org>
139
140 * boot-9.scm: Fixed the sense of the error message when read-eval?
141 is #f. Thanks to Matthias for catching this.
142
143 2001-07-06 Rob Browning <rlb@defaultvalue.org>
144
145 * boot-9.scm: added fix suggested by Matthias for #. read
146 extension -- now only works if read-eval? is not #f.
147
148 2001-06-30 Dirk Herrmann <D.Herrmann@tu-bs.de>
149
150 * arrays.scm: Don't install a read-hash-extension for 'b': #b
151 is already defined by R5RS. Further, there is already a working
152 read syntax for bitvectors, starting with #*.
153
154 2001-06-30 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
155
156 * Makefile.am (ice9_sources): Removed tags.scm.
157
158 * tags.scm: Removed file.
159
160 2001-06-29 Neil Jerram <neil@ossau.uklinux.net>
161
162 Changes to support tracing other than inside the repl-stack that
163 is set up by the REPL code in boot-9.scm.
164
165 * debug.scm (trace-entry, trace-exit): Conditionalize tracing on
166 whether the current stack id is in `traced-stack-ids'.
167 (traced-stack-ids, trace-all-stacks?, trace-stack, untrace-stack):
168 New.
169
170 2001-06-27 Marius Vollmer <mvo@zagadka.ping.de>
171
172 * common-list.scm (member-if): Put in docstring for member-if, it
173 was a cut-n-paste error previously.
174
175 2001-06-26 Neil Jerram <neil@ossau.uklinux.net>
176
177 * debug.scm (trace): Set evaluator trap options to handle tracing.
178 Don't reset trace-level to 0.
179
180 * boot-9.scm (lazy-handler-dispatch): Remove enter-frame-handler,
181 apply-frame-handler and exit-frame-handler. (They're replaced by
182 evaluator trap options.)
183
184 2001-06-25 Michael Livshin <mlivshin@bigfoot.com>
185
186 * streams.scm (stream-for-each-many): typo fix.
187
188 2001-06-25 Marius Vollmer <mvo@zagadka.ping.de>
189
190 * boot-9.scm (re-export-syntax): New.
191
192 2001-06-16 Marius Vollmer <mvo@zagadka.ping.de>
193
194 * boot-9.scm (system-error-errno): New.
195
196 2001-06-14 Marius Vollmer <mvo@zagadka.ping.de>
197
198 * common-list.scm (remove-if, remove-if-not): Fix typo: use
199 `pred', not `pred?', in the body.
200
201 2001-06-13 Thien-Thi Nguyen <ttn@revel.glug.org>
202
203 * match.scm:
204 No longer use module `(ice-9 slib)'.
205 Use module `(ice-9 pretty-print)'.
206 No longer require `pretty-print'.
207
208 (slib:error): Delete.
209 (match:error, match:syntax-err): Rewrite.
210
211 Thanks to Dale P. Smith.
212
213 * README: New file.
214
215 * common-list.scm:
216 Clean up some docstrings; nfc.
217 Add Commentary.
218 Update copyright.
219
220 2001-06-11 Marius Vollmer <mvo@zagadka.ping.de>
221
222 * boot-9.scm: Use `begin-deprecated' instead of testing
223 `include-deprecated-features' when conditionally using the (ice-9
224 rdelim) module. See below.
225
226 2001-06-10 Gary Houston <ghouston@arglist.com>
227
228 * boot-9.scm: use the (ice-9 rdelim) module if
229 include-deprecated-features is true.
230
231 2001-06-09 Marius Vollmer <mvo@zagadka.ping.de>
232
233 * pretty-print.scm (generic-write): Use `object->string' to print
234 unknown objects.
235
236 * optargs.scm (lambda*): Make sure that BODY is always put into a
237 real body context so that it can contain internal definitions.
238 Thanks to Matthias Köppe!
239
240 * format.scm: Use (ice-9 and-let-star).
241 (format:out): Initialize format:output-col with current column of
242 `port', if it has one. Else leave it alone. Thanks to Matthias
243 Köppe!
244
245 2001-06-05 Marius Vollmer <mvo@zagadka.ping.de>
246
247 * boot-9.scm (module-ensure-local-variable!): Renamed from
248 `module-ensure-variable!'. Make sure that there really is a local
249 variable, not just a visible one.
250 (module-ensure-variable!): See above.
251 (module-export!): Behave like always when deprecated features are
252 enabled, but issue a warning when re-exporting a variable. When
253 deprecated features are disabled, only export local variables,
254 creating them uninitialized when they don't yet exist.
255 (module-re-export!): New. Use this for re-exporting imported
256 variables.
257 (re-export): New, to go with `module-re-export!'.
258
259 * format.scm: Added kluge at top that keeps `export' from
260 re-exporting the `format' variable of the `(guile)' module.
261
262 2001-06-04 Marius Vollmer <mvo@zagadka.ping.de>
263
264 * boot-9.scm (named-module-use!, top-repl): Use resolve-interface
265 instead of resolve-module to get at the used module.
266
267 2001-06-04 Gary Houston <ghouston@arglist.com>
268
269 * rw.scm: export write-string/partial.
270
271 2001-06-04 Marius Vollmer <mvo@zagadka.ping.de>
272
273 Added exception notice to all files.
274
275 * boot-9.scm (module-export!): Revert 2001-06-02 change. It
276 caused more problems than it solved by accidentally re-exporting
277 importing bindings once in a while.
278
279 2001-06-03 Marius Vollmer <mvo@zagadka.ping.de>
280
281 * boot-9.scm (try-load-module): Bracket calls to try-module-linked
282 and try-module-dynamic-link with `begin-deprecated'.
283 (split-c-module-name, convert-c-registered-modules,
284 registered-modules, register-modules, warn-autoload-deprecation,
285 init-dynamic-module, dynamic-maybe-call, dynamic-maybe-link,
286 find-and-link-dynamic-module, try-using-libtool-name,
287 try-using-sharlib-name, link-dynamic-module, try-module-linked,
288 try-module-dynamic-link): Deprecated. Activate deprecation
289 message.
290 (define-public): Define binding before exporting it. This is to
291 avoid accidentally re-exporting a imported binding.
292
293 2001-06-02 Marius Vollmer <mvo@zagadka.ping.de>
294
295 * Makefile.am (psyntax.pp): Make it dependent on psyntax.ss and
296 fix command so that it works.
297
298 * session.scm (apropos-fold, submodules, apropos): Be careful not
299 to access unbound variables.
300
301 * boot-9.scm (module-ensure-variable!): New.
302 (module-export!): Use it to ensure that there is a variable to
303 export. Previously, we would always create a new variable, copy
304 the value over, and export the new variable. This confused
305 syncase since it keys important properties on variables.
306
307 2001-06-01 Marius Vollmer <mvo@zagadka.ping.de>
308
309 * boot-9.scm (top-repl): Revert part of the 2001-05-19 change.
310 When defining the guile-user module, do not use any modules. Add
311 them to guile-user when `top-repl' is called.
312 (resolve-interface): Expect keyword arguments instead of a `spec'.
313 (compile-interface-spec, compile-define-module-args): New.
314 (define-module): Use compile-define-module-args to construct
315 argument for process-define-module.
316 (use-modules, use-syntax): Use compile-interface-spec to construct
317 arguments for process-use-modules.
318 (process-define-module): Expect keywords in argument list.
319
320 2001-05-25 Marius Vollmer <mvo@zagadka.ping.de>
321
322 * boot-9.scm (cond-expand): Define using
323 `procedure->memoizing-macro' to get at the lexical environment.
324 Use `env-module' instead of `current-module' to get the right
325 module.
326
327 * Makefile.am (ice9_sources): Added "pretty-print.scm".
328 * pretty-print.scm: New file, copied from SLIB.
329 (generic-write): Return the `unspecified' value.
330
331 * format.scm: Autoload `pretty-print'.
332
333 2001-05-23 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
334
335 * boot-9.scm (%cond-expand-table): New hash table mapping modules
336 to feature lists.
337 (cond-expand): Use feature information associated with modules.
338
339 2001-05-21 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
340
341 * boot-9.scm (use-srfis): Do not extend the srfi-0 feature list.
342 (cond-expand-provide): New procedure.
343
344 2001-05-22 Marius Vollmer <mvo@zagadka.ping.de>
345
346 * boot-9.scm (define-module): Return the new module.
347 (process-define-module): Use `spec' instead of `module-name' when
348 getting the syntax transformer. Thanks to Matthias Köppe!
349
350 2001-05-21 Marius Vollmer <mvo@zagadka.ping.de>
351
352 * boot-9.scm (use-syntax): Do not set scm:eval-transformer when
353 deprecated features have been removed. Thanks to Dale P. Smith!
354
355 * optargs.scm (#\&): Use `issue-deprecation-warning' instead of
356 `display'.
357
358 2001-05-19 Marius Vollmer <mvo@zagadka.ping.de>
359
360 * psyntax.ss (build-lexical-var): Use gensym instead of gentemp.
361 * match.scm: Likewise.
362 * expect.scm: Likewise.
363 * psyntax.pp: Regenerated.
364
365 * rdelim.scm: Call `%init-rdelim-builtins'.
366
367 * rw.scm: Call `%init-rw-builtins'.
368
369 * boot-9.scm (process-define-module): Do not call
370 set-current-module.
371 (define-module): Do it here, in the expansion.
372 (top-repl): Do not define '(guile-user)' module and conditionally
373 load `(ice-9 threads)' and/or `(ice-9 regex)' here. Do it on
374 top-level as the last thing in boot-9.scm instead.
375 (%load-path): Use `list' instead of `cons' to create a single
376 element list when adding "." to it.
377 (process-define-module, process-use-modules, module-export!): Add
378 dummy definitions prior to booting the mdule system.
379
380 2001-05-18 Thien-Thi Nguyen <ttn@revel.glug.org>
381
382 * boot-9.scm: (resolve-interface, use-srfis): Small
383 cleanup; nfc.
384 (process-define-module): Internal proc `unrecognized'
385 now accepts arg; update callers.
386 Reverse order of interfaces added to module to be
387 consistent with that specified in `define-module' form.
388
389 * session.scm: (help): Use `provided?' instead of `feature?'.
390 Factor "TYPE not found for X" output into internal proc.
391 Support `(quote SYMBOL)'; call `search-documentation-files'.
392 (help-doc): If initial search fails, try using
393 `search-documentation-files'.
394 (apropos-fold-accessible, apropos-fold-all): Use `identity'
395 instead of `(lambda (x) x)'. "An identity edit", ha ha.
396 (help-usage): Mention support for "(help 'NAME)".
397
398 * documentation.scm: Fix documentation for Guile Documentation
399 Format Version 2: Mention required terminating newlines.
400
401 (find-documentation): Delete.
402 (search-documentation-files): New proc, exported.
403 (object-documentation): Use `search-documentation-files'.
404
405 2001-05-15 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
406
407 * boot-9.scm (cond-expand-features): Made the feature list public,
408 so it can be manipulated by `use-srfis'.
409 (use-srfis): New procedure.
410
411 2001-05-15 Thien-Thi Nguyen <ttn@revel.glug.org>
412
413 * boot-9.scm (resolve-interface): Signal error now also if
414 used module's public interface is not available.
415 No longer call `beautify-user-module!'.
416 Signal error now also if selected binding not found.
417
418 2001-05-10 Marius Vollmer <mvo@zagadka.ping.de>
419
420 Merge from mvo-vcell-clenaup-1-branch.
421
422 * session.scm (apropos): Do not use `builtin-bindings', always use
423 the module obarray.
424 (apropos-fold): Likewise.
425
426 * optargs.scm (bound?): Removed. We should not play games with
427 the magical undefined value.
428 (let-o-k-template): Use `#f' instead of the undefined value as
429 the default default for bindings.
430
431 * boot-9.scm (module-make-local-var!): Do not pass name hint to
432 make-undefined-variable, use `variable-set-name-hint!' instead.
433 (root-module-closure): Removed.
434 (make-root-module): Set the obarray of the module to the
435 `pre-modules-obarray'. Do not use a lazy binder.
436 (scm-module-closure): Removed.
437 (make-root-module): Set the obarray of the module to the
438 `pre-modules-obarray'. Do not use a lazy binder. Set the
439 eval-closure to a `standard-interface-eval-closure'.
440 (module-define!): Do not pass name hint to make-variable, use
441 `variable-set-name-hint!' instead.
442 (make-modules-in, beautify-user-module, resolve-module): Moved
443 towards the beginning of boot-9.scm, across the call to
444 set-current-module that boots the module system. These
445 definitions need to be visible at the time of the first
446 `set-current-module' call.
447 (try-module-autoload): Define a `#f' before the call to
448 set-current-module. It is redefined later.
449
450 * debug.scm: Use `module-set!' instead of `variable-set!' to set
451 insert `debug-options' into the-root-module.
452 * format.scm: Likewise, for `format'.
453
454 2001-05-15 Marius Vollmer <mvo@zagadka.ping.de>
455
456 * boot-9.scm (error-catching-repl): Call the E
457 ("eval'er") procedure via call-with-values and call the P
458 ("printer") for each produced value. Thanks to Matthias Köppe!
459
460 2001-05-14 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
461
462 * boot-9.scm (cond-expand): Reduce feature list to built-in
463 features.
464
465 2001-05-14 Dirk Herrmann <D.Herrmann@tu-bs.de>
466
467 * boot-9.scm (-1+, return-it, string-character-length, flags):
468 Deprecated.
469
470 2001-05-11 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
471
472 * boot-9.scm: Added `cond-expand' (SRFI-0) for portable feature
473 checking.
474
475 2001-05-10 Thien-Thi Nguyen <ttn@revel.glug.org>
476
477 * boot-9.scm (resolve-module): Abstraction maintenance: Use
478 `module-public-interface'.
479 (resolve-interface): Extend to handle selection and renaming in spec.
480 Arg is now `spec' which can be a simple module name (list of symbols)
481 or a interface spec.
482 (symbol-prefix-proc): New proc.
483 (%autoloader-developer-mode): Delete.
484 (process-define-module): Use "define-module" in error messages
485 instead of "defmodule". Factor error into internal proc.
486 Rewrite `use-module' and `use-syntax' handlers.
487 Replace some single-arm `if-not' constructs w/ `or'.
488 (process-use-modules): Arg is now `module-interface-specs',
489 which is passed through to `resolve-interface' as before; nfc.
490 (named-module-use!, top-repl): Abstraction maintenance: Use
491 `provided?'.
492
493 2001-05-06 Thien-Thi Nguyen <ttn@revel.glug.org>
494
495 * q.scm, runq.scm, getopt-long.scm: Update copyright.
496 Surround commentary w/ standard markers; nfc.
497
498 * expect.scm: Update copyright.
499 Fix commentary typo; nfc.
500
501 2001-05-05 Rob Browning <rlb@cs.utexas.edu>
502
503 * psyntax.ss: make sure emacs knows it's scheme code.
504
505 2001-05-05 Neil Jerram <neil@ossau.uklinux.net>
506
507 * boot-9.scm (use-syntax): Change error message to say
508 `use-syntax' rather than `use-modules'.
509
510 2001-05-02 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
511
512 * safe-r5rs.scm: Fix typo: make-rectangualr => make-rectangular.
513
514 2001-05-02 Marius Vollmer <mvo@zagadka.ping.de>
515
516 * boot-9.scm (begin-deprecated): New.
517 (call-with-deprecation): Removed.
518 (id): Use `issue-deprecation-warning' instead of
519 `call-with-deprecation'. Wrap definition in `begin-deprecated'.
520 (eval-in-module): Manifest deprecation via `begin-deprecation' and
521 `issue-deprecation-warning'.
522 (warn-autoload-deprecation): Deactivated.
523
524 2001-04-26 Marius Vollmer <mvo@zagadka.ping.de>
525
526 * boot-9.scm (the-module, set-current-module, current-module):
527 Removed, they are now defined in libguile.
528
529 2001-04-29 Gary Houston <ghouston@arglist.com>
530
531 * rw.scm: new file, for module (ice-9 rw).
532 * Makefile.am: add rw.scm.
533
534 2001-04-28 Thien-Thi Nguyen <ttn@revel.glug.org>
535
536 * boot-9.scm, optargs.scm:
537 Surround commentary w/ standard markers; nfc.
538
539 * threads.scm, time.scm, channel.scm, expect.scm:
540 Add commentary; nfc.
541
542 2001-04-27 Thien-Thi Nguyen <ttn@revel.glug.org>
543
544 * documentation.scm: Update copyright.
545 Add commentary.
546 Use `define-module' `:export' clause instead of `define-public'.
547 Autoload (ice-9 regex) on `match:suffix'.
548
549 (default-in-line-re, default-after-line-re): New vars.
550 (default-scrub): New proc.
551 (file-commentary): New proc, exported.
552 (object-documentation): Expand docstring; nfc.
553
554 * session.scm: Update copyright.
555 Use (ice-9 rdelim).
556
557 (help): Consider a list of symbols that does not start with
558 `quote' as a module name and call `module-commentary' on it.
559 (module-filename, module-commentary): New procs.
560 (id): Delete.
561 (apropos): Use `identity' instead of deprecated `id'.
562 (help-usage): Add blurb about "(help (my module))" support.
563
564 2001-04-27 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
565
566 * Makefile.am (ice9_sources): Remove srfi-8.scm.
567
568 2001-04-26 Rob Browning <rlb@cs.utexas.edu>
569
570 * srfi-8.scm: removed in favor of srfi/srfi-8.scm - (wasn't ever
571 in a production release).
572
573 2001-04-25 Keisuke Nishida <kxn30@po.cwru.edu>
574
575 * channel.scm: New file.
576 * Makefile.am (ice9_sources): Include channel.scm.
577
578 2001-04-19 Keisuke Nishida <kxn30@po.cwru.edu>
579
580 * receive.scm (receive): Use `define-macro'.
581
582 2001-04-15 Keisuke Nishida <kxn30@po.cwru.edu>
583
584 * boot-9.scm (load-compiled): New variable, initialized in the VM.
585 (try-module-autoload): Try loading compiled modules if applicable.
586
587 2001-04-15 Keisuke Nishida <kxn30@po.cwru.edu>
588
589 * boot-9.scm (call-with-deprecation): New procedure.
590 (identity): New procedure.
591 (id): Deprecated.
592
593 2001-04-15 Keisuke Nishida <kxn30@po.cwru.edu>
594
595 * boot-9.scm (defmacro, define-macro, define-syntax-macro):
596 Define only at the top level.
597
598 2001-04-06 Thien-Thi Nguyen <ttn@revel.glug.org>
599
600 * threads.scm: Update copyright.
601
602 Use `export' and `export-syntax' instead of
603 `define-public' and `defmacro-public'.
604
605 (make-thread): Rename first arg to `proc'; nfc.
606 (begin-thread, monitor): Rename second arg to `rest'; nfc.
607 (with-mutex): Rename second arg to `body'; nfc.
608
609 2001-04-06 Neil Jerram <neil@ossau.uklinux.net>
610
611 * boot-9.scm (warn-autoload-deprecation): Close parenthesis in
612 "You just tried to autoload ..." message.
613
614 2001-04-05 Keisuke Nishida <kxn30@po.cwru.edu>
615
616 * Makefile.am (ice9_sources): Add history.scm.
617 * history.scm: Create the module (value-history) at the beginning.
618
619 2001-03-29 Marius Vollmer <mvo@zagadka.ping.de>
620
621 * boot-9.scm (init-dynamic-module): Fix typo in call to
622 warn-autoload-deprecation. I feel silly.
623
624 2001-03-27 Marius Vollmer <mvo@zagadka.ping.de>
625
626 * r4rs.scm (call-with-values): New definition, defers to
627 @call-with-values.
628
629 2001-03-26 Marius Vollmer <mvo@zagadka.ping.de>
630
631 * boot-9.scm (warn-autoload-deprecation): New function.
632 (init-dynamic-module): Use it here to print warning. Only give
633 warning when a module has actually been found.
634
635 2001-03-25 Marius Vollmer <mvo@zagadka.ping.de>
636
637 * boot-9.scm (init-dynamic-module): Issue warning about
638 auto-loading of compiled code modules being deprecated.
639
640 * Makefile.am (ice9_sources): Added "time.scm".
641
642 2001-03-20 Keisuke Nishida <kxn30@po.cwru.edu>
643
644 * time.scm (time): Reimplemented as a procedure call.
645 (Thanks to Marius Vollmer)
646
647 2001-03-20 Keisuke Nishida <kxn30@po.cwru.edu>
648
649 * safe-r5rs.scm (list): Export.
650
651 2001-03-17 Keisuke Nishida <kxn30@po.cwru.edu>
652
653 * boot-9.scm (before-eval-hook, after-eval-hook,
654 before-print-hook, after-print-hook): New hooks.
655 (scm-style-repl): Call these hooks.
656
657 * history.scm: New file.
658
659 2001-03-17 Keisuke Nishida <kxn30@po.cwru.edu>
660
661 * time.scm: New file.
662
663 2001-03-17 Dirk Herrmann <D.Herrmann@tu-bs.de>
664
665 * oldprint.scm: Removed.
666
667 2001-03-12 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
668
669 * arrays.scm (make-array): Added quote in front of ().
670
671 2001-03-12 Keisuke Nishida <kxn30@po.cwru.edu>
672
673 * common-list.scm (count-if): New procedure.
674
675 2001-03-10 Neil Jerram <neil@ossau.uklinux.net>
676
677 * buffered-input.scm (make-buffered-input-port): New, more general
678 buffered input procedure. Does not assume that a newline
679 character should be interpolated between chunks of input returned
680 by the reader proc.
681 (make-line-buffered-input-port): Redefine in terms of
682 make-buffered-input-port.
683
684 2001-03-09 Keisuke Nishida <kxn30@po.cwru.edu>
685
686 * match.scm: Don't export defstruct. Use (unquote defstruct) instead.
687
688 2001-03-09 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
689
690 * Makefile.am (psyntax.pp): Added rule for producing psyntax.pp.
691
692 2001-03-09 Keisuke Nishida <kxn30@po.cwru.edu>
693
694 * match.scm: export defstruct.
695
696 2001-03-08 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
697
698 * psyntax.ss: Added FSF copyright notice. Added a notice of
699 changes in order to comply with paragraph 2a of the GPL. (Thanks
700 to Keith Wright.)
701
702 2001-03-07 Neil Jerram <neil@ossau.uklinux.net>
703
704 * buffered-input.scm (make-line-buffered-input-port): Don't set
705 the continuation flag for leading whitespace. Thanks to Dirk
706 Herrmann for the suggestion.
707
708 2001-03-05 Neil Jerram <neil@ossau.uklinux.net>
709
710 * optargs.scm (rest-arg->keyword-binding-list): Use "'()" instead
711 of "()".
712
713 * buffered-input.scm: New file, with guts of line buffered input
714 port implementation extracted from guile-readline/readline.scm.
715
716 2001-03-03 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
717
718 * stack-catch.scm: New file.
719
720 * Makefile.am (ice9_sources): Added stack-catch.scm.
721
722 2001-03-03 Marius Vollmer <mvo@zagadka.ping.de>
723
724 * boot-9.scm, rdelim.scm: Use "'()" instead of "()" in all places
725 where the empty list is meant.
726
727 2001-02-26 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
728
729 * boot-9.scm (save-stack): Use `primitive-eval' for stack
730 cutting. Makes backtraces work again! Also added a reference to
731 save-stack from the place in the repl where the primitive-eval
732 frame is invoked.
733
734 2001-02-25 Keisuke Nishida <kxn30@po.cwru.edu>
735
736 * match.scm: New file, including Andrew K. Wright's pattern matcher.
737 * Makefile.am (ice9_sources): Added match.scm.
738
739 2001-02-16 Marius Vollmer <mvo@zagadka.ping.de>
740
741 * boot-9.scm (eval-when, eval-case): Renamed `eval-when' to
742 `eval-case', everywhere.
743
744 2001-02-13 Marius Vollmer <mvo@zagadka.ping.de>
745
746 * boot-9.scm (define-public): Removed spurious call to
747 `interaction-evironment'.
748 (define-public, defmacro-public): Use `export' instead of explicit
749 module magic.
750 (eval-when): New macro.
751 (define-module, use-modules, use-syntax, export): Use it to
752 restrict the use of these forms to the top level.
753 (define-public, defmacro-public): Only export binding when on
754 top-level.
755 (process-define-module): Call `set-current-module' with the
756 defined module.
757 (define-module): Simply call `process-define-module' without any
758 fuss (but only on top-level).
759 (named-module-use!): New function.
760 (top-repl): Do not use `define-module'. Use equivalent low-level
761 means instead.
762
763 2001-02-11 Marius Vollmer <mvo@zagadka.ping.de>
764
765 * boot-9.scm (scm-style-repl): Use `primitive-eval' instead of
766 `eval'.
767 (define-public): Do not use `eval'.
768
769 2001-02-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
770
771 * and-let-star-compat.scm: Display the warning to the
772 `current-error-port'.
773
774 2001-02-04 Marius Vollmer <mvo@zagadka.ping.de>
775
776 Avoid the use of "*" in file names for the benefit of lesser
777 operating systems.
778
779 * and-let-star.scm, and-let*.scm: Renamed `and-let*.scm' to
780 `and-let-star.scm'. Updated module name as well.
781 * and-let-star-compat.scm: New file, installed as `and-let*.scm'.
782 * Makefile.am (ice9_sources): Replaced "and-let*.scm" with
783 "and-let-star.scm".
784 (install-data-local): Install "and-let-star-compat.scm" as
785 "and-let*.scm", ignoring errors.
786 (EXTRA_DIST): Distribute `and-let-star-compat.scm'.
787
788 2001-01-26 Dirk Herrmann <D.Herrmann@tu-bs.de>
789
790 This patch fixes a problem reported by Martin Grabmueller about
791 the impossibility to access readline's run-time options.
792
793 * boot-9.scm (define-option-interface): New macro. Allows to
794 conveniently define a group of option interface functions.
795
796 (readline-options readline-enable readline-disable,
797 readline-set!): Moved to guile-readline/readline.scm.
798
799 2001-01-24 Gary Houston <ghouston@arglist.com>
800
801 * boot-9.scm: don't import (ice-9 rdelim) here. it's done
802 in C for now.
803 * rdelim.scm: export the C primitives too.
804 * documentation.scm: use (ice-9 rdelim).
805
806 2001-01-21 Gary Houston <ghouston@arglist.com>
807
808 * rdelim.scm: new file implementing module (ice-9 rdelim).
809 * ice-9.scm (scm-line-incrementors read-line! read-delimited!
810 read-delimited read-line): moved to rdelim.scm.
811 scm-line-incrementors is not exported.
812 * boot-9.scm: import (ice-9 rdelim) for backwards compatibility,
813 for now.
814 * lineio.scm: use module (ice-9 rdelim).
815 * Makefile.am (ice9_sources): add rdelim.scm.
816
817 2000-12-29 Dirk Herrmann <D.Herrmann@tu-bs.de>
818
819 * boot-9.scm (root-module-closure, scm-module-closure): Remove
820 calls '(symbol-interned? #f s)'. Formerly, these calls were
821 basically no-ops, guaranteed to return #t if 's' was a symbol.
822 After the separation of symbols and bindings, a call to
823 '(symbol-interned? #f s)' will only return #t if there really is a
824 binding for 's' in the scm_symhash table. Thanks to Dale P. Smith
825 for providing a test case that helped finding this bug.
826
827 2000-12-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
828
829 * session.scm (apropos): Completed the last patch, which did only
830 half the job. Thanks to Dale P. Smith.
831
832 2000-12-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
833
834 * session.scm (apropos, apropos-fold): There are no weak bindings
835 any more.
836
837 2000-12-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
838
839 * boot-9.scm (top-repl): Lookup 'use-emacs-interface in
840 the-root-module.
841
842 2000-12-07 Neil Jerram <neil@ossau.uklinux.net>
843
844 * emacs.scm (flush-whitespace): Fix spelling typo ("recieving").
845
846 2000-11-28 Dirk Herrmann <D.Herrmann@tu-bs.de>
847
848 * boot-9.scm (read-delimited), lineio.scm
849 (make-line-buffering-input-port), regex.scm (match:prefix,
850 match:suffix, match:substring, regexp-substitute/global), slib.scm
851 (slib-parent-dir), string-fun.scm (split-after-char,
852 split-before-char, split-discarding-char, split-after-char-last,
853 split-before-char-last, split-discarding-char-last,
854 split-before-predicate, split-after-predicate,
855 split-discarding-predicate, separate-fields-discarding-char,
856 separate-fields-after-char, separate-fields-before-char,
857 string-prefix-predicate, sans-surrounding-whitespace,
858 sans-trailing-whitespace, sans-leading-whitespace,
859 sans-final-newline): Use substring instead of
860 make-shared-substring.
861
862 2000-11-26 Gary Houston <ghouston@arglist.com>
863
864 * boot-9.scm: values?, get-values, values, call-with-values:
865 removed. values and call-with-values are now primitives and
866 the other two were only exported by accident. don't define
867 *values-rtd* record type or handle multiple values in
868 scm-style-repl.
869
870 2000-11-07 Gary Houston <ghouston@arglist.com>
871
872 * popen.scm (open-output-pipe): added docstrings for open-input-pipe
873 and open-output-pipe.
874
875 2000-11-06 Gary Houston <ghouston@arglist.com>
876
877 * popen.scm (open-process): bug fix: don't use
878 close-all-ports-except to close ports in the child process, since
879 it causes port buffers to be flushed. they may be flushed again
880 in the parent, causing duplicate output. use a more elaborate
881 method for setting up the child descriptors (thanks to David
882 Pirotte for the bug report).
883 standard file descriptors 0, 1, 2 in the child process
884 are now set up from current-input-port etc., where possible.
885
886 2000-10-10 Dirk Herrmann <D.Herrmann@tu-bs.de>
887
888 * syncase.scm (eval): string=? requires a string argument.
889 Thanks to Dale P. Smith for the patch.
890
891 2000-10-15 Neil Jerram <neil@ossau.uklinux.net>
892
893 * optargs.scm: Fix typos in commentary for bound? and lambda*.
894
895 2000-10-10 Dirk Herrmann <D.Herrmann@tu-bs.de>
896
897 * session.scm (apropos, apropos-fold): regexp-exec does not
898 accept symbol arguments any more. Thanks to Dale P. Smith for the
899 patch.
900
901 2000-09-30 Gary Houston <ghouston@arglist.com>
902
903 * posix.scm (setgrent): pass #t, not #f. thanks to
904 Jacques A. Vidrine.
905
906 2000-09-29 Neil Jerram <neil@ossau.uklinux.net>
907
908 * documentation.scm (find-documentation-in-file): Modified
909 according to changed format of guile-procedures.txt caused by my
910 snarfing/makeinfo changes in libguile.
911
912 * session.scm (help-doc): Improvements to (help) output: (i) a
913 friendlier Emacs-style introduction line; (ii) where the help arg
914 matches multiple documented entries, print an initial list of the
915 entries for which documentation is found, before printing the
916 actual documentation entries themselves.
917
918 2000-09-20 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
919
920 * boot-9.scm: Removed comment. (Thanks to Brad Knotwell.)
921
922 2000-09-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
923
924 * syncase.scm (putprop): Use the high-level property interface.
925
926 2000-09-12 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
927
928 * psyntax.ss (build-lexical-var): Use gentemp instead of gensym;
929 Convert first argument to a string.
930
931 * calling.scm (excursion-function-syntax,
932 getter-and-setter-syntax,
933 delegating-getter-and-setter-syntax): Call gensym with string
934 argument. (Thanks to Dale P. Smith.)
935
936 * oldprint.scm (print-table-add!): Ditto.
937
938 * boot-9.scm (gentemp): Moved to symbols.c.
939
940 2000-08-27 Marius Vollmer <mvo@zagadka.ping.de>
941
942 * boot-9.scm (make-object-property): New function.
943
944 2000-08-26 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
945
946 * boot-9.scm (make-record-type): Use `string-append' instead of
947 `symbol-append'.
948 (symbol-append): Map `symbol->string' on
949 args.
950 (obarray-symbol-append, obarray-gensym): Simply removed. I don't
951 think I'll announce this in NEWS even. One of the functions never
952 even worked... /mdj.
953 (find-and-link-dynamic-module, keyword->symbol): Use
954 `symbol->string'.
955 (try-module-autoload, process-define-module): Rewrote using R5RS
956 semantics.
957
958 2000-08-24 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
959
960 * psyntax.ss (set!): Added generalized set! support to core syntax
961 form set!.
962
963 2000-08-19 Marius Vollmer <mvo@zagadka.ping.de>
964
965 * optargs.scm (#\&): Changed #:allow-other-keys-value to
966 #:allow-other-keys. Thanks to Bill Schottstaedt!
967
968 2000-08-17 Marius Vollmer <mvo@zagadka.ping.de>
969
970 * optargs.scm (#\&): Emit warning about `#&' being deprecated.
971
972 2000-08-16 Marius Vollmer <mvo@zagadka.ping.de>
973
974 * optargs.scm: Replaced `#&' reader syntax with keywords.
975
976 2000-08-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
977
978 * format.scm (format:obj->str): Made tail-recursive. (Thanks to
979 Matthias Köppe.)
980
981 2000-08-13 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
982
983 * psyntax.ss (top-level-eval-hook, local-eval-hook): Pass
984 `(interaction-environment)' as second arg to `eval'. This is
985 completely equivalent with the state before the change to eval of
986 2000-08-11, but we should extend psyntax.ss to be module aware.
987 (Thanks to Ian Bicking.)
988
989 * emacs.scm (emacs-symdoc): Parenthesis fix.
990
991 2000-08-11 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
992
993 * r5rs.scm (interaction-environment): Removed definition. (Is now
994 provided by libguile/modules.c.)
995
996 * safe-r5rs.scm (null-environment): Bugfix: Should include
997 syntactic bindings.
998
999 * boot-9.scm (record-constructor, record-accessor,
1000 record-modifier, scm-style-repl): Add second arg to eval.
1001 (read-hash-extend #\.): Ditto. (This is actually a bugfix!)
1002 (eval-in-module): Redefined to be eval and deprecated.
1003
1004 * syncase.scm (eval): Add second arg both in definition and use.
1005
1006 * slib.scm (slib:eval): Use eval instead of eval-in-module.
1007 (defmacro:eval): Eval in (interaction-environment).
1008
1009 * safe-r5rs.scm (eval): Removed definition.
1010
1011 * emacs.scm (emacs-eval-request):
1012 (emacs-symdoc): (This procedure needs updating!)
1013
1014 2000-08-10 Mikael Djurfeldt <mdj@linnaeus.mit.edu>
1015
1016 * boot-9.scm: Added note about dependency in modules.h to
1017 definition of module-type.
1018
1019 * Makefile.am (ice9_sources): Added receive.scm, srfi-8.scm.
1020
1021 * receive.scm, srfi-8.scm: New files.
1022
1023 * boot-9.scm (scm-style-repl): Print multiple values on successive
1024 lines.
1025 (process-define-module): Bugfix: Make sure that exports are done
1026 *after* all used interfaces has been added.
1027
1028 2000-07-24 Marius Vollmer <mvo@zagadka.ping.de>
1029
1030 * common-list.scm (uniq): Made tail-recursive. Thanks to thi!
1031
1032 2000-07-13 Dirk Herrmann <D.Herrmann@tu-bs.de>
1033
1034 * boot-9.scm (expt): In case of negative integer exponents return
1035 an exact result if the input paramters were exact. Thanks to
1036 Mikael for the suggestion.
1037
1038 2000-07-12 Dirk Herrmann <D.Herrmann@tu-bs.de>
1039
1040 * boot-9.scm (expt): Make sure that integer-expt is only called
1041 if the exponent is a non-negative integer.
1042
1043 2000-07-01 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1044
1045 * boot-9.scm (process-define-module): Bugfix: Only check the CDR
1046 for export args.
1047
1048 2000-06-27 Dirk Herrmann <D.Herrmann@tu-bs.de>
1049
1050 * popen.scm: gc-thunk is deprecated. Use after-gc-hook instead.
1051
1052 2000-06-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
1053
1054 * common-list.scm (intersection, set-difference, remove-if,
1055 remove-if-not): Made tail-recursive. Thanks to William Webber
1056 for the hint.
1057
1058 (delete-if!, delete-if-not!): Renamed parameter from `list' to
1059 `l' in order to avoid confusion. Note: These functions are not
1060 tail recursive yet.
1061
1062 2000-06-21 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1063
1064 * boot-9.scm: Turned `the-module', `*top-level-lookup-closure*',
1065 and `scm:eval-transformer' into fluids.
1066
1067 * boot-9.scm (purify-module!, module-export!): New procedures.
1068 (export): Rewritten using `module-export!'.
1069 (process-define-module): New define-module options: pure, export.
1070 See NEWS.
1071 (scm-style-repl): Added optional module argument.
1072
1073 * null.scm, r5rs.scm, safe-r5rs.scm, safe.scm: New modules.
1074
1075 2000-06-20 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1076
1077 * session.scm (make-fold-modules): Detect circular references in
1078 module graph. (Thanks to Matthias Köppe.)
1079
1080 2000-06-20 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1081
1082 * session.scm: Use module (ice-9 regex).
1083 (help): Regexp-quote a name given as a symbol.
1084
1085 2000-06-16 Dirk Herrmann <D.Herrmann@tu-bs.de>
1086
1087 * common-list.scm (list*): Removed, since this function is
1088 implemented as a primitive in libguile/list.c.
1089
1090 2000-06-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1091
1092 * session.scm (help): Warn user if 'regex isn't provided.
1093
1094 * Makefile.am (ice9_sources): Removed getopt-gnu-style.scm.
1095
1096 * getopt-gnu-style.scm: Removed deprecated module.
1097
1098 2000-06-11 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1099
1100 * boot-9.scm (make-autoload-interface): Set init value for uses to
1101 '() instead of #f.
1102 (make-modules-in): Name modules with their real (= full) names.
1103 (the-root-module, the-scm-module): Named `(guile)' instead of
1104 `the-root-module'.
1105 (the-scm-module): Set kind to 'interface.
1106
1107 * Makefile.am (ice9_sources): Replaced doc.scm with
1108 documentation.scm.
1109
1110 * session.scm (ice-9): Use module (ice-9 documentation).
1111 (name): Use the name property if everything else fails.
1112 (apropos-fold): New procedure.
1113 (apropos-internal): Re-implement in terms of `apropos-fold'.
1114 (help): Rewritten.
1115
1116 * doc.scm: Removed module (ice-9 doc).
1117
1118 * documentation.scm: New module (ice-9 documentation).
1119
1120 2000-06-08 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1121
1122 * doc.scm (documentation-files): Renamed from `doc-files'.
1123 (write-all): Removed.
1124 (find-documentation): Renamed from `documentation'. Return
1125 documentation string instead of printing it. Not exported.
1126
1127 Tue Jun 6 09:21:28 2000 Greg J. Badros <gregb@go2net.com>
1128
1129 * session.scm: Update references to `proc-doc' to be
1130 `proc-documentation'
1131
1132 * doc.scm: Cleaned up a great deal. Put variables at the top of
1133 the file, eliminated `object-documentation' that was broken
1134 (referencing Scwm), drop `help' as session.scm has a better
1135 supported version of that procedure. Rename `proc-doc' to
1136 `proc-documentation' -- `procedure-documentation' is a primitive
1137 getter function, so I use the shorter name for this more useful
1138 function. (Alternatively, we could rename the primitive
1139 getter...)
1140
1141 2000-06-05 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1142
1143 * boot-9.scm (error-catching-loop): Inform about debugger on error.
1144
1145 2000-06-04 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1146
1147 * boot-9.scm (scm-module-closure): New procedure: Was previously
1148 anonymous. Now needed in modules.c.
1149 (make-module): Use `standard-eval-closure' to create the eval
1150 closure.
1151
1152 2000-05-14 Gary Houston <ghouston@arglist.com>
1153
1154 * boot-9.scm (load-user-init): rewritten. first work out the home
1155 directory and then try to open the file (previously it could try
1156 to open a file in more than one place). catch exceptions when
1157 trying to get a directory from the user database. don't check
1158 that ~/.guile is not a directory before trying to load it (a lack
1159 of ~/.guile is not a crime, but if the file is not valid for any
1160 reason then primitive-load will raise an error).
1161
1162 2000-05-11 Dirk Herrmann <D.Herrmann@tu-bs.de>
1163
1164 * boot-9.scm (abs): Don't set to magnitude. abs now does not
1165 accept complex numbers as parameter.
1166
1167 2000-05-09 Marius Vollmer <mvo@zagadka.ping.de>
1168
1169 * common-list.scm (delete-if-not!): Bug fix of bug fix: change
1170 label of named let to `delete-if-not'. Sorry.
1171
1172 2000-05-08 Marius Vollmer <mvo@zagadka.ping.de>
1173
1174 * common-list.scm (doc fixes): Talk about `true values' instead of
1175 `#t' when a function treats all non-#f valuers the same.
1176 (remove-if-not): Bug fix: call remove-if-not
1177 instead of remove-if when iterating.
1178 (delete-if-not!): Bug fix: call delete-if-not! instead of
1179 delete-if! when iterating.
1180
1181 2000-04-16 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1182
1183 * r4rs.scm (close-input-port, close-output-port): Removed.
1184
1185 2000-04-13 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1186
1187 * session.scm (help): New macro. Prints helpful information.
1188
1189 2000-04-10 Gary Houston <ghouston@arglist.com>
1190
1191 * popen.scm (open-process): after forking, close all ports except
1192 the end of the pipe to the parent. otherwise move->fdes and
1193 the exec'd program and the exit handlers can interfere with file
1194 descriptors still in use in parent ports.
1195
1196 2000-04-09 Gary Houston <ghouston@arglist.com>
1197
1198 * popen.scm (close-process-quietly): new procedure. use it from
1199 reap-pipes to avoid errors or hanging during background cleanup.
1200
1201 2000-04-04 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1202
1203 * format.scm (format:obj->str): Handle circular references. Also,
1204 print improper lists with (x y . z) syntax rather than as
1205 individual pairs. (This code should probably be integrated into C
1206 level facilities. It is currently terribly slow.)
1207
1208 2000-04-03 Michael Livshin <mlivshin@bigfoot.com>
1209
1210 * streams.scm (stream-fold, stream-for-each): don't use named let,
1211 because it prevents the gc from junking the stream argument.
1212
1213 Thu Mar 9 08:05:08 2000 Greg J. Badros <gjb@cs.washington.edu>
1214
1215 * slib.scm: Back-out change to software-type -- renamed
1216 slib:software-type to software-type, and leave it non-public.
1217
1218 Thu Mar 2 12:20:52 2000 Greg J. Badros <gjb@cs.washington.edu>
1219
1220 * boot-9.scm: Drop unused definition of sfx function -- thanks
1221 Dirk Hermann!
1222
1223 Wed Mar 1 12:21:02 2000 Greg J. Badros <gjb@cs.washington.edu>
1224
1225 * streams.scm: Doc patch from Richard Kim, using MIT Scheme as
1226 source of the numerous very short changes.
1227
1228 Sun Feb 13 18:03:19 2000 Greg J. Badros <gjb@cs.washington.edu>
1229
1230 * slib.scm: Rename software-type to slib:software-type and make it
1231 public.
1232
1233 * r4rs.scm: Added documentation; largely cut and pasted from R4RS
1234 info pages.
1235
1236 Sun Feb 13 17:49:29 2000 Greg J. Badros <gjb@cs.washington.edu>
1237
1238 * common-list.scm: Added documentation; largely cut and pasted
1239 from slib docs.
1240
1241 2000-02-11 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1242
1243 * format.scm (format): Reintroduce (define format format:format)
1244 so that the binding in the public interface of the module will be OK.
1245
1246 2000-01-30 Gary Houston <ghouston@arglist.com>
1247
1248 * boot-9.scm (find-and-link-dynamic-module): pass strings, not symbols,
1249 to string-append.
1250
1251 2000-01-29 Gary Houston <ghouston@arglist.com>
1252
1253 * expect.scm (expect): don't call char-ready? before expect-select,
1254 since select now checks port buffers itself. don't bother to check
1255 the time first either, since expect-select does it.
1256
1257 Thu Jan 20 12:57:36 2000 Greg J. Badros <gjb@cs.washington.edu>
1258
1259 * format.scm: Use (variable-set! (builtin-variable 'format)) to
1260 re-define format to be format:format (instead of just define,
1261 which interacts poorly with the module system). Thanks to Shuji
1262 Narazaki for this change.
1263
1264 Tue Jan 11 10:49:22 2000 Greg J. Badros <gjb@cs.washington.edu>
1265
1266 * boot-9.scm expect.scm, syncase.scm: Switch to new style
1267 `simple-format' message strings: substitute ~A for %s, and ~S for
1268 %S.
1269
1270 * boot-9.scm: Added (define format simple-format) to expose that
1271 primitive via the simpler name until format.scm is loaded.
1272
1273 2000-01-09 Marius Vollmer <mvo@zagadka.ping.de>
1274
1275 * boot-9.scm (try-using-libtool-name): Do not bother to look
1276 inside libtool ".la" file, dynamic-link does this for us now.
1277
1278 1999-12-15 Gary Houston <ghouston@freewire.co.uk>
1279
1280 * slib.scm (library-vicinity, home-vicinity,
1281 scheme-implementation-type, scheme-implemenation-version):
1282 use define-public to export from the module.
1283
1284 Wed Dec 15 08:32:09 1999 Greg J. Badros <gjb@cs.washington.edu>
1285
1286 * doc.scm: Use `%library-dir' and the other system directories,
1287 not the quickly defuncted `library-dir' that I added before
1288 realizing the former existed. Thanks Brad Knotwell!
1289
1290 Sun Dec 12 19:18:52 1999 Greg J. Badros <gjb@cs.washington.edu>
1291
1292 * Makefile.am, doc.scm: Added doc.scm.
1293
1294 1999-12-12 18:54:06 1999 Greg J. Badros <gjb@cs.washington.edu>
1295
1296 * popen.scm, slib.scm: Added some docstrings for procedures that
1297 were primitives that I encountered in posix.texi.
1298
1299 1999-11-19 Gary Houston <ghouston@freewire.co.uk>
1300
1301 * Makefile.am (ice9_sources): add arrays.scm.
1302
1303 * boot-9.scm: load arrays.scm if 'array is provided.
1304
1305 * arrays.scm: new file with stuff from boot-9.scm.
1306
1307 1999-11-18 Gary Houston <ghouston@freewire.co.uk>
1308
1309 * boot-9.scm (read-hash-extend to set up arrays): add 'l' for
1310 long_long uniform vectors.
1311
1312 1999-11-17 Gary Houston <ghouston@freewire.co.uk>
1313
1314 * networking.scm (sethostent, setnetent, setprotoent, setservent):
1315 take an optional argument STAYOPEN. default is #f.
1316
1317 1999-10-05 Jim Blandy <jimb@savonarola.red-bean.com>
1318
1319 * Makefile.in: Deleted from CVS repository. Run the autogen.sh
1320 script to create generated files like this one.
1321
1322 1999-09-23 Gary Houston <ghouston@freewire.co.uk>
1323
1324 * boot-9.scm (load-user-init): check that the posix feature is
1325 available before using getpw and getuid.
1326 (top-repl): don't install handlers for SIGINT etc., without posix.
1327 (file-is-directory?): use 'posix instead of i/o-extensions to
1328 check for stat.
1329 (load-user-init): use file-exists? and file-is-directory? to
1330 check for .guile, instead of stat.
1331 (file-is-directory?): don't display the file name if posix not
1332 available.
1333 (feature?): I guess this is deprecated. redefined using "provided?"
1334 and changed users in boot-9.scm to "provided?".
1335 Conditionally load posix.scm and networking.scm.
1336
1337 posix.scm, networking.scm: new files. Move definitions from
1338 boot-9.scm if they are only useful with posix/networking available.
1339
1340 * Makefile.am (ice9_sources): add posix.scm, networking.scm.
1341
1342 1999-09-17 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1343
1344 * debugger.scm (read-and-dispatch-commands): Handle other throws
1345 than 'exit-debugger.
1346
1347 * boot-9.scm (before-signal-stack): New fluid.
1348 (top-repl): Set before-signal-stack in the signal handler.
1349
1350 * debugger.scm (eval-handler): Handle unhandled exceptions.
1351
1352 1999-09-16 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1353
1354 * debugger.scm ("p"): New alias for "evaluate";
1355 Mark module with :no-backtrace.
1356 ("position"): New command.
1357 (source-position, display-position): New procedures.
1358 (display-source): Display position of expression, if available.
1359 (catch-user-errors): Return #f on error. (Commands are expected
1360 to return a valid state.)
1361 (read-and-dispatch-command): Bugfix: Return old state on error.
1362
1363 1999-09-16 Jim Blandy <jimb@savonarola.red-bean.com>
1364
1365 * regex.scm (regexp-substitute/global): Handle the end of the
1366 match list and an empty match list identically. (Thanks to Greg
1367 Badros.)
1368
1369 1999-09-15 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1370
1371 * debugger.scm ("evaluate"): Replaced `write-line' with calls to
1372 `write' and `newline' since write-line doesn't write but displays.
1373
1374 1999-09-12 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1375
1376 * debugger.scm ("evaluate"): Newline after no env announcement.
1377
1378 * debug.scm, emacs.scm: Updated copyright notices.
1379
1380 * boot-9.scm (make-autoload-interface): Bugfix.
1381 (top-repl): Autoload debugger.
1382
1383 * debugger.scm ("backtrace"): Don't pass length param to
1384 display-backtrace if it wasn't explicitly given by the user.
1385 (write-frame-long/application): Also print corresponding source
1386 expression.
1387 ("evaluate"): Evaluate in local environment frame, if existent;
1388 Handle errors.
1389
1390 1999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
1391
1392 * format.scm (format:format-work): Use #\tab and #\page instead of
1393 slib:form-feed and slib:tab. (Thanks to Ceri Storey.)
1394
1395 * format.scm (format:abort): Call error, not slib:error.
1396
1397 1999-09-11 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1398
1399 * boot-9.scm (using-readline?): New procedure: Returns #t if
1400 readline is used by the repl run by this thread.
1401 (handle-system-error): Print "Backtrace:" before backtrace since
1402 this is no longer done by display-backtrace.
1403
1404 * debug.scm (frame-number->index): Optionally take stack as
1405 argument.
1406
1407 * debugger.scm: Use the frame number abstraction which allows for
1408 both forward and backward views of the stack
1409 (write-frame-index-short, write-frame-index-long):
1410 Use selector `frame-number';
1411 (select-frame-absolute): Use frame-number->index.
1412 ("backtrace"): Use builtin backtrace printing.
1413 Use (ice-9 debug).
1414 Use readline conditionally.
1415
1416 1999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
1417
1418 * regex.scm (fold-matches, list-matches): New functions.
1419 (regexp-substitute/global): Rewritten again in terms of
1420 list-matches, to get null match behavior correct.
1421
1422 * regex.scm (regexp-substitute/global): Rewrite so that 'post at
1423 the end of the item list actually causes a tail call. (Thanks to
1424 Jan Nieuwenhuizen.)
1425
1426 1999-09-11 Marius Vollmer <mvo@zagadka.ping.de>
1427
1428 * readline.scm: Moved to ../guile-readline.
1429
1430 * boot-9.scm (top-repl): Removed code for activating readline.
1431
1432 * Makefile.am: Removed mention of readline.scm.
1433
1434 * Makefile.in: Regenerated.
1435
1436 1999-09-11 Jim Blandy <jimb@savonarola.red-bean.com>
1437
1438 Delete the test which compares the configuration date of libguile
1439 with the configuration date of ice-9. This test yields too many
1440 false positives to be helpful. For example, if you build Guile
1441 for several architectures but have them all share a "share"
1442 directory (which is supposed to work), then all but one
1443 architecture's Guile will complain that the configuration dates
1444 don't match. Which is true, but indicates nothing wrong.
1445 * boot-9.scm: Delete code which compares ice-9-config-stamp with
1446 libguile-config-stamp.
1447 * version.scm.in: Delete.
1448 * Makefile.am (ice9_generated): Delete.
1449 (subpkgdata_DATA): Remove ice9_generated.
1450 (EXTRA_DIST): Remove version.scm.in.
1451 * Makefile.in: Regenerate.
1452
1453 1999-09-11 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1454
1455 * debugger.scm: New file: Initial version of the Guile debugger
1456 written by Chris Hanson. (The debugger isn't finished, but is
1457 included in Guile anyway since it is already quite useful.)
1458
1459 * boot-9.scm (top-repl): Use (ice-9 debug) (ice-9 debugger) (ice-9
1460 session) (ice-9 threads) (ice-9 regex) from guile-user only if
1461 top-repl is called. This makes startup time for scripts 30% of
1462 what it was before... Removed redundant code for loading of
1463 readline.
1464
1465 * Makefile.am (ice9_sources): Added debugger.scm.
1466
1467 1999-08-29 Keisuke Nishida <kxn30@po.cwru.edu>
1468
1469 * boot-9.scm (try-module-autoload): Use %search-load-path.
1470
1471 1999-08-24 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1472
1473 * boot-9.scm: Removed old style hooks.
1474 (inherit-print-state): Rwwritten to use port-with-print-state.
1475
1476 1999-08-20 James Blandy <jimb@mule.m17n.org>
1477
1478 Remove support for the #/ path list syntax entirely.
1479 * boot-9.scm (read-path-list-notation,
1480 read-path-list-notation-warning): Deleted.
1481 Don't register read-path-list-notation-warning as a reader for
1482 objects starting with '#/'.
1483
1484 1999-08-05 Mikael Djurfeldt <mdj@thalamus.nada.kth.se>
1485
1486 GOOPS needs the observer protocol specified for the new module
1487 system. Here's a simple version for the old module system:
1488 * boot-9.scm (module-observers, module-weak-observers,
1489 module-observer-id, set-module-observers!,
1490 set-module-observer-id!): New accessors.
1491 (module-type): Added slots `observers', `weak-observers' and
1492 `observer-id'.
1493 (module-observe, module-observe-weak, module-unobserve,
1494 module-modified): New procedures.
1495 (module-make-local-var!, module-add!, module-remove!,
1496 module-clear!, module-define!, module-use!): Call module-modified.
1497
1498 1999-07-29 Marius Vollmer <mvo@zagadka.ping.de>
1499
1500 * boot-9.scm (error-catching-loop): Correct non-RnRS usage of internal
1501 defines.
1502
1503 1999-07-19 Jim Blandy <jimb@savonarola.red-bean.com>
1504
1505 * streams.scm: New module, contributed by Michael Livshin.
1506 * Makefile.am (ice9_sources): List it.
1507 * Makefile.in: Regenerated.
1508
1509 * boot-9.scm (read-delimited!): Put the terminator in the correct
1510 position.
1511
1512 1999-06-29 Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
1513
1514 * readline.scm: Bugfix: Avoid getting the continued-lines prompt
1515 at multiple calls to read.
1516 (promtp2): Variable for continued-lines prompt.
1517 (make-readline-port): Use prompt2.
1518 (set-readline-prompt!): New optional arg which sets
1519 continued-lines prompt.
1520
1521 * boot-9.scm (top-repl): Set/clear readline prompts before/after
1522 reading expressions.
1523
1524 1999-06-18 Jim Blandy <jimb@savonarola.red-bean.com>
1525
1526 * ls.scm (ls, lls): Handle no arguments as meaning to look in
1527 `(current-module)'. (Patch from Thien-Thi Nguyen.)
1528
1529 1999-06-14 Jim Blandy <jimb@savonarola.red-bean.com>
1530
1531 * string-fun.scm (split-before-predicate, split-after-predicate,
1532 split-discarding-predicate): Make these public. (Thanks to
1533 Thien-Thi Nguyen.)
1534
1535 1999-06-13 Gary Houston <ghouston@easynet.co.uk>
1536
1537 * more changes to expect.scm, to avoid the one-character lookhead
1538 that was introduced to fix the $ problem:
1539
1540 * expect.scm (expect): call the match proc an extra time at end
1541 of file and set the eof? argument appropriately. call
1542 expect-eof-proc only if the last call didn't match.
1543 * expect.scm (expect-strings): change port to eof? in match proc.
1544 * expect.scm (expect-regexec): take an eof indicator as an argument
1545 instead of a port.
1546
1547 1999-06-09 Jim Blandy <jimb@savonarola.red-bean.com>
1548
1549 * Makefile.am (ice9_sources): Add popen.scm to list.
1550 * Makefile.in: Regenerated.
1551
1552 Fixes for expect from Gary Houston <ghouston@easynet.co.uk>:
1553
1554 * expect.scm (expect-regexec): define 'eof-next?'. I don't
1555 know why it was missing. also don't peek for end of lines
1556 unless expect-strings-exec-flags contains regexp/noteol.
1557 (expect-strings-exec-flags): initialise to regexp/noteol.
1558
1559 Gary Houston's open-buffer port patches:
1560
1561 1999-04-01 Gary Houston <ghouston@easynet.co.uk>
1562
1563 * popen.scm: applied fixes from Greg Harvey. use a guardian
1564 and a gc-thunk so that cleanup is done if a pipe is garbage
1565 collected or closed with close-port. use a weak hash-table instead of
1566 an alist.
1567
1568 1999-03-20 Gary Houston <ghouston@easynet.co.uk>
1569
1570 * expect.scm (expect): call the match proc with the port instead.
1571 (expect-strings): use peek-char to get the next char. this has
1572 the advantage of getting the handling of $ "correct", but the
1573 disadvantage of needing to get (and maybe block for) an extra character
1574 from the port when it may not be needed. hence:
1575 (expect-strings-exec-flags): new variable/parameter, supplies
1576 flags for regexp-exec. if this includes regexp/noteol, then
1577 automatic regexp/noteol handling (requiring an extra peeked char)
1578 is enabled. default is regexp/noteol.
1579 (expect-strings-compile-flags): new variable/parameter, supplies
1580 flags for make-regexp. default is regexp/newline.
1581
1582 1999-03-15 Gary Houston <ghouston@easynet.co.uk>
1583
1584 * expect.scm (expect): call the match proc with an extra char,
1585 peeked from the stream.
1586 (expect-strings): build a match proc which takes the extra char.
1587 (expect-regexec): take an extra arg "eof-next?" and use it
1588 to decide whether the regexp/noteol flag should be added.
1589
1590 1999-02-26 Gary Houston <ghouston@easynet.co.uk>
1591
1592 * boot-9.scm (top-repl): don't flush all ports at exit.
1593 (error-catching-loop): likewise.
1594
1595 1998-12-23 Gary Houston <ghouston@easynet.co.uk>
1596
1597 * boot-9.scm (scm-style-repl): -read: don't call
1598 consume-trailing-whitespace if val is eof object. Allows
1599 exiting repl with single control-D.
1600
1601 1998-12-06 Gary Houston <ghouston@easynet.co.uk>
1602
1603 * boot-9.scm (error-catching-loop): don't force output within
1604 error catching loop after quit received.
1605 (top-repl): flush all ports when the repl terminates.
1606
1607 * boot-9.scm (error-catching-loop): flush all ports before
1608 primitive exit if non-interactive.
1609 force-output on current-error-port if interactive.
1610
1611 * boot-9.scm (reopen-file): deleted.
1612 * popen.scm (open-output-pipe, open-input-pipe): moved from
1613 boot-9.scm.
1614 * popen.scm: new file.
1615
1616 1999-06-04 Dirk Herrmann <D.Herrmann@tu-bs.de>
1617
1618 * boot-9.scm (iota): replaced by a tail recursive version.
1619 (reverse-iota): removed.
1620
1621 1999-06-03 Mikael Djurfeldt <mdj@mdj-pc.nada.kth.se>
1622
1623 * optargs.scm (lambda*): Bugfix: Replaced ARGLIST -->
1624 non-optional-args. (Thanks to David Lutterkort.)
1625
1626 1999-05-09 Jim Blandy <jimb@savonarola.red-bean.com>
1627
1628 * string-case.scm: Removed; functions moved to libguile/strop.c
1629 (which could be dynamically linked in the future anyway).
1630 * Makefile.am (ice9_sources): Don't list string-case.scm.
1631 * Makefile.in: Regenerated.
1632 * format.scm: Don't bother importing (ice-9 string-case).
1633
1634 1999-05-02 Jim Blandy <jimb@savonarola.red-bean.com>
1635
1636 * boot-9.scm (provided?): New function.
1637
1638 * Makefile.am: Add string-case.scm and format.scm to ice9_sources.
1639 * Makefile.in: Regenerated.
1640
1641 * string-case.scm: New file, brought in from SLIB, and adapted to
1642 Guile's module system.
1643
1644 * format.scm: New file, brought in from SLIB, with the following
1645 changes:
1646 (format:format): If the first argument is the format string, stick
1647 a #f on the front of it, so it is now a valid CL format argument
1648 list. This is easier than changing everyplace else (like the
1649 error formatter) that expects it to be in CL form. The other
1650 clause which explicitly tests for this case is now dead code.
1651 (format:format-work): Allow `@' and `:' in either order, as per
1652 modern CL behavior.
1653 (format:num->cardinal): Don't assume that an elseless if returns
1654 '() when the condition is false.
1655
1656 1999-04-17 Jim Blandy <jimb@savonarola.red-bean.com>
1657
1658 * Makefile.in: Regenerated.
1659
1660 1999-04-08 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1661
1662 * boot-9.scm: Provide 'values.
1663
1664 1999-03-21 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
1665
1666 * boot-9.scm (process-define-module, use-syntax): Bugfix:
1667 :use-syntax should add syntax to using module, not current module.
1668 (internal-use-syntax): Removed.
1669
1670 1999-03-21 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1671
1672 * session.scm (apropos-internal): Modified to comply with new
1673 argument order for hash-fold.
1674
1675 1999-03-19 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
1676
1677 * boot-9.scm (try-load-module): New procedure. Broken out from
1678 resolve-module.
1679 (resolve-module): Bugfix: Make it possible for a module at a
1680 deeper level (x y z) to depend on a module on a higher (x y).
1681
1682 This also has the desired side-effect that multiple attempts to
1683 load a module (e.g. with `use-modules') work until source is
1684 actually found for the module (e.g. because the correct catalog
1685 has been added to the load path).
1686
1687 Use try-load-module.
1688
1689 1999-03-18 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1690
1691 * session.scm (system-module): New procedure. Used to switch a
1692 module between system and user state.
1693
1694 1999-03-16 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1695
1696 * session.scm (apropos-internal): Rewritten using hash-fold.
1697
1698 * emacs.scm, session.scm, slib.scm): Added :no-backtrace in module
1699 definition.
1700
1701 1999-03-14 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
1702
1703 * boot-9.scm (make-record-type): Use `set-struct-vtable-name!' to
1704 associate a name to the record type descriptor so that the object
1705 system can create a wrapper class for it.
1706
1707 1999-03-12 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1708
1709 Improvement of backtraces: Introduces a new stack narrowing
1710 specifier, #t, for the inner cut. If the inner cut is specified
1711 by #t, `make-stack' will throw away inner stack frames (most
1712 recent calls on call chain) up to but excluding the first user
1713 stack frame encountered.
1714
1715 This specifier is now used in `save-stack' so that the call
1716 `(save-stack)' will get the new behaviour. [It is recommended that
1717 any error reporting functions written by the user have this call
1718 on the outermost expression level (i.e. as a member of the lambda
1719 list).]
1720
1721 Modules are partitioned into "user" and "system" modules. [I know
1722 that some names used here are silly, but I don't have more time to
1723 spend on a better solution, especially considering that the module
1724 system will be replaced. But if people have better ideas, then
1725 please tell me!]
1726
1727 System modules are created by adding :no-backtrace among the
1728 define-module switches:
1729
1730 (define-module (foo)
1731 :no-backtrace)
1732
1733 Modules which doesn't have the :no-backtrace specifier are user
1734 modules.
1735
1736 A stack frame is classified as a user frame if it has source code
1737 associated with it and if this source code can be proven to come
1738 from a user module. If it can be proven to come from a system
1739 module it is a system frame.
1740
1741 Frames which can't be classified, e.g. application frames, are cut
1742 away if they occur between system frames, but are left on the
1743 stack if they occur between the last system frame and the first
1744 user frame encountered. (Note that the first user frame
1745 encountered is the last user code being evaluated!)
1746
1747 In some cases the system part of the call chain is introduced by
1748 frames which should but can't be proven to be system frames. The
1749 following workaround has been implemented: The cutting proceeds
1750 over application frames where the operator is marked by the
1751 `system-procedure' property. (This has been used to cut away
1752 generic function dispatch code in the object system.)
1753
1754 * boot-9.scm (set-system-module!): New procedure: Set system/user
1755 status of a module.;
1756 Mark `the-root-module' and `the-scm-module' as system modules.
1757 (process-define-module): Add new keyword :no-backtrace.
1758
1759 * boot-9.scm (environment-module): Bugfixed.
1760 (set-module-eval-closure!): Add a pointer back from the eval
1761 closure to the module.
1762
1763 * emacs.scm (emacs-load): Reset port filename after transfer.
1764
1765 1999-03-03 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1766
1767 * slib.scm (make-random-state): Added for compatibility.
1768
1769 1999-02-16 Maciej Stachowiak <mstachow@alum.mit.edu>
1770
1771 * optargs.scm (lambda*): Handle empty argument lists properly.
1772
1773 1999-02-15 Jim Blandy <jimb@savonarola.red-bean.com>
1774
1775 Fix from Russ McManus:
1776 * getopt-long.scm (parse-option-spec): Store 'optional as the
1777 value-required? field for options that take optional values.
1778 (process-short-option): Grab a value for the option when it takes
1779 either an optional or required value.
1780
1781 1999-02-12 Jim Blandy <jimb@savonarola.red-bean.com>
1782
1783 * getopt-long.scm: Remove debugging calls to `pk'.
1784
1785 * getopt-long.scm: Return list of ordinary arguments as the value
1786 of the '() key, not `rest'.
1787
1788 A new argument-processing package from Russ McManus.
1789 * getopt-long.scm: New file.
1790 * Makefile.am (ice9_sources): Added getopt-long.scm.
1791 * Makefile.in: Regenerated.
1792
1793 1999-02-09 Maciej Stachowiak <mstachow@alum.mit.edu>
1794
1795 * optargs.scm: New file.
1796 * Makefile.am (ice9_sources): Add optargs.scm here. Makefile.in
1797 not regenerated because I don't have the right version of Automake.
1798
1799 1999-02-06 Jim Blandy <jimb@zwingli.cygnus.com>
1800
1801 * and-let*.scm: New file, from Michael Livshin.
1802 * Makefile.am (ice9_sources): Add and-let* here.
1803 * Makefile.in: Regenerated.
1804
1805 1999-01-11 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1806
1807 * slib.scm (install-require-module): Fixed the kludge which loads
1808 the slib catalog: Doesn't anylonger assume that the feature tested
1809 for isn't loaded.
1810
1811 1998-12-14 Jim Blandy <jimb@zwingli.cygnus.com>
1812
1813 * Makefile.in: Regenerated.
1814
1815 1998-12-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1816
1817 * boot-9.scm (process-define-module): Reverted the change of
1818 1998-11-23 which caused loading of object code if :use-module was
1819 applied to the module itself.
1820
1821 1998-12-11 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
1822
1823 * Makefile.am: Removed setf.scm.
1824
1825 * setf.scm: Removed. 1. It was buggy. 2. It was unschemey.
1826 (These shortcomings were my fault.)
1827
1828 1998-12-10 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1829
1830 * boot-9.scm (environment-module): New procedure.
1831
1832 1998-12-07 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
1833
1834 * Makefile.am: Added setf.scm.
1835
1836 1998-12-05 Christian Lynbech <chl@tbit.dk>
1837
1838 * setf.scm: New file. Adds the new forms `setf!' and `setter'
1839 which implements generalized references a la Common LISP.
1840
1841 1998-12-02 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
1842
1843 * boot-9.scm (process-define-module): Added new specifier
1844 :autoload MODULENAME BINDINGS to the define-module form.
1845 The autoload specifier tells the module system to load the module
1846 MODULENAME at the first occasion that any variable with its name
1847 among BINDINGS is referenced.
1848 (make-autoload-interface): New procedure: Constructs a stand-in
1849 for the public interface for the module to be autoloaded.
1850
1851 1998-12-01 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1852
1853 * boot-9.scm (*suppress-old-style-hook-warning*): Set this to #t
1854 if you don't want the old style hook warnings.
1855
1856 1998-12-01 Christian Lynbech <chl@tbit.dk>
1857
1858 * boot-9.scm (try-using-libtool-name): Fix check on dlname to make
1859 sure that it isn't empty, as it is when we are only buidling
1860 static libraries.
1861
1862 1998-11-27 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1863
1864 * session.scm (arity): New procedure.
1865
1866 1998-11-26 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1867
1868 * boot-9.scm: Use run-hook instead of run-hooks everywhere.
1869
1870 1998-11-26 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
1871
1872 * boot-9.scm (run-hooks, add-hook!, remove-hook!): Added temporary
1873 code for backward compatibility until people have had time to
1874 adapt to the new hooks.
1875
1876 1998-11-23 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
1877
1878 * boot-9.scm (beautify-user-module!): Beautify also if public
1879 interface is set to the module itself. In this way we can use
1880 beautify-user-module! to beautify a module prepared for object
1881 code.
1882 (process-define-module): Special case: Try to load object code as
1883 well if a module does :use-module on itself.
1884
1885 * boot-9.scm: Bugfix: Since boot-9.scm is now loaded from
1886 invoke_main_func, we can no longer be sure that all modules have
1887 been registered when boot-9.scm is loaded.
1888 (register-modules): New function: Register and tag modules
1889 registered by scm_register_module_xxx since last call to this
1890 function. Modules are tagged with the dynamic object passed as
1891 argument. (Already linked modules should be tagged with #f.)
1892 (init-dynamic-module, link-dynamic-module): Call register-modules
1893 first to register linked modules.
1894
1895 * boot-9.scm (init-dynamic-module): Remove module from
1896 registered-modules as soon as possible in case we are recursively
1897 invoked; Set public interface before doing the dynamic-call.
1898
1899 * boot-9.scm (map-in-order): Removed (replaced by scm_serial_map).
1900 (abort-hook, before-error-hook, after-error-hook,
1901 before-backtrace-hook, after-backtrace-hook, before-read-hook,
1902 after-read-hook, exit-hook): Make hooks with `make-hook'.
1903
1904 * boot-9.scm: Make hooks first class citizens and make them easier
1905 to use from C:
1906 (make-hook, add-hook!, remove-hook!, run-hooks): Moved to
1907 libguile/feature.c.
1908
1909 * boot-9.scm: Added warnings about bindings used in
1910 libguile/modules.c: the-module, set-current-module,
1911 make-modules-in, beautify-user-module!, module-eval-closure.
1912
1913 1998-11-21 Mikael Djurfeldt <mdj@kenneth>
1914
1915 * boot-9.scm (the-environment): New special form: Returns an
1916 object representing the current local evaluation environment.
1917 This object can be used in `local-eval' and `defined?'.
1918
1919 1998-11-13 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
1920
1921 * boot-9.scm (collect): New syntax. Similar to begin but returns
1922 a list of the results of all forms in the sequence instead of the
1923 result of the last form.
1924
1925 1998-11-10 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
1926
1927 * boot-9.scm (values, call-with-values): Moved here from
1928 syncase.scm.
1929
1930 * syncase.scm (values, call-with-values): Moved to boot-9.scm.
1931
1932 * boot-9.scm (readline-options, readline-enable, readline.disable,
1933 readline-set!: New options interface.
1934
1935 * readline.scm (readline-port): Use readline-options-interface.
1936
1937 1998-11-05 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
1938
1939 * boot-9.scm: Set the repl start module in `top-repl' instead of
1940 at the end of boot-9.scm.
1941
1942 1998-11-01 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1943
1944 * emacs.scm (format): Bugfix: Handle multiple arguments
1945 correctly. (Thanks to Thien-Thi Nguyen.)
1946
1947 1998-11-01 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
1948
1949 * boot-9.scm (exit-hook): New hook: Is run at the very end of an
1950 interactive session.
1951 (top-repl): Run exit-hook on exit.
1952
1953 * readline.scm (readline-port): Maybe read history; Maybe write
1954 history at exit (add to exit-hook).
1955
1956 Fri Oct 30 15:15:37 1998 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
1957
1958 * readline.scm (make-readline-port): Bugfixed last change...
1959
1960 1998-10-28 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
1961
1962 * readline.scm (make-readline-port): Don't set prompt to "... " if
1963 read line was empty.
1964
1965 1998-10-19 Jim Blandy <jimb@zwingli.cygnus.com>
1966
1967 * boot-9.scm, debug.scm, expect.scm, hcons.scm, lineio.scm,
1968 r4rs.scm, slib.scm, threads.scm: Update copyright years.
1969
1970 * getopt-gnu-style.scm, slib.scm: Add copyright notice.
1971
1972 Talked to Stallman. Actually, the syntax-case copyright is no
1973 problem. Duh.
1974 * Makefile.am (ice9_sources): Revert last change.
1975 * syncase.scm, psyntax.pp, psyntax.ss: Added again.
1976 * Makefile.in: Regeneretade.
1977
1978 * boot-9.scm: Don't assume that this file is loaded just before
1979 entering a read-eval-print loop. Turn code to load (ice-9 emacs)
1980 into...
1981 (load-emacs-interface): New function.
1982 (top-repl): Call it, if use-emacs-interface is defined and true.
1983 At this point, we *do* know we're about to enter a REPL.
1984
1985 We can't include Kent Dybvig's syntax-case macro expander in the
1986 core Guile distribution, because we don't have copyright
1987 assignments for this code. We can certainly distribute them as a
1988 separate package, but Guile should be FSF code.
1989 * syncase.scm, psyntax.pp, psyntax.ss: Removed.
1990 * Makefile.am (ice9_sources): Removed syncase.scm, psyntax.pp, and
1991 psyntax.ss.
1992 * Makefile.in: Regenerated.
1993
1994 * Makefile.am (ice9_sources): Add getopt-gnu-style.scm.
1995 * Makefile.in: Regenerated.
1996
1997 1998-10-18 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
1998
1999 * boot-9.scm: Added extended read syntax for byte vectors #y(...)
2000 and short vectors #h(...).
2001
2002 1998-10-14 Jim Blandy <jimb@zwingli.cygnus.com>
2003
2004 * calling.scm (excursion-function-syntax): Use a sequence of
2005 set!'s, not a single multi-variable set!; we removed support for
2006 that syntax a long time ago. (Thanks to Shuji Narazaki.)
2007
2008 1998-10-12 Jim Blandy <jimb@zwingli.cygnus.com>
2009
2010 * r4rs.scm (OPEN_READ, OPEN_WRITE, OPEN_BOTH): Don't bother
2011 testing software-type here. That's the least of our Windows
2012 porting issues, and it's done wrong anyway.
2013
2014 1998-10-09 Jim Blandy <jimb@zwingli.cygnus.com>
2015
2016 * boot-9.scm (read-path-list-notation-warning): New function:
2017 print a warning the first time we see `#/' notation.
2018
2019 * q.scm (sync-q!, q?, q-remove!, q-push!, enq!): Lots of bugs, and
2020 (eq? #f '()) assumptions. Make functions that aren't documented
2021 to return anything else return the queue itself. (Bug report from
2022 Michael Livshin --- thanks!)
2023
2024 1998-08-21 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2025
2026 * debug.scm (trace-entry, trace-exit): Removed re-enabling of
2027 trace flag.
2028
2029 * boot-9.scm (make-options): Bugfix: Changed pair? --> list? in
2030 order to allow the empty list as arg.
2031 (error-catching-loop): Use `with-traps' to create a dynamic
2032 context with traps enabled.
2033
2034 1998-08-19 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
2035
2036 * boot-9.scm: Removed (ice-9 regex) from use-list of (guile)
2037 module.
2038 (try-using-libtool-name): Removed dependency on (ice-9 regex).
2039
2040 1998-08-15 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
2041
2042 * boot-9.scm: Make the root module use (ice-9 regex) if
2043 available. The dynamic linking facilities in boot-9.scm are
2044 currently dependent upon regular expressions. My change of
2045 1998-07-14 removed (ice-9 regex) from the use-list of the root
2046 module and thereby destroyed dynamic linking.
2047
2048 1998-07-29 Jim Blandy <jimb@zwingli.cygnus.com>
2049
2050 * Makefile.in: Regenerated using the last public version of
2051 automake, not the hacked Cygnus version.
2052
2053 1998-07-28 Jim Blandy <jimb@zwingli.cygnus.com>
2054
2055 * Makefile.in: Regenerated, after removing Totoro kludge.
2056
2057 1998-07-28 Jim Blandy <jimb@totoro.red-bean.com>
2058
2059 * getopt-gnu-style.scm: New file. (Thanks to Russ McManus.)
2060
2061 1998-07-26 Jim Blandy <jimb@zwingli.cygnus.com>
2062
2063 * Makefile.in Rebuilt, for config changes in parent dir.
2064
2065 1998-07-21 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2066
2067 * readline.scm (make-readline-port): Set prompt string to "... "
2068 after first read line. (Thanks to Richard Polton.)
2069
2070 1998-07-19 Jim Blandy <jimb@zwingli.cygnus.com>
2071
2072 * lineio.scm (make-line-buffering-input-port): Don't use
2073 ungetc-char-ready?, since we don't provide that function any
2074 more. The unread-string function doesn't interact properly with
2075 any of the standard I/O functions anyway. (Thanks to Andrew
2076 Archibald.)
2077
2078 * hcons.scm (hashq-cons-assoc): Don't assume the empty list is
2079 false. Return false when we cannot find a matching entry in the
2080 list. (Thanks to Andrew Archibald.)
2081
2082 1998-07-16 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
2083
2084 * boot-9.scm (export, export-syntax): New special forms: Export
2085 bindings from a module. `(export name1 name2 ...)' can be used at
2086 the top of a module (after `define-module') to specify which names
2087 should be exported. It can be used as an alternative to
2088 `define-public'. `export-syntax' works equivalently to `export'
2089 but is intended for export of syntactic keywords.
2090 (Thanks to Thien-Thi Nguyen.)
2091
2092 1998-07-15 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
2093
2094 * boot-9.scm: Renamed module `(guile-repl)' --> `(guile-user)'.
2095
2096 1998-07-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2097
2098 * boot-9.scm: Let the user start in module `(guile-repl)' instead
2099 of module `(guile)'. Also make sure that `(guile-repl)' uses
2100 suitable modules. This change improves Guile stability
2101 substantially since bindings will only be copied from the root
2102 module: If the user redefines builtins in `(guile-repl)' it won't
2103 affect the internal operation of Guile itself.
2104
2105 1998-06-19 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
2106
2107 * boot-9.scm (load-module): When loading files from within files
2108 themselves being loaded: Use the directory path of the file being
2109 loaded as root for relative filenames. (After suggestion by
2110 Steven G. Johnson.)
2111
2112 1998-06-15 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2113
2114 * emacs.scm (emacs-load): New feature: Eval in specified module.
2115
2116 1998-06-14 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2117
2118 * readline.scm: Typo in regex module name.
2119
2120 1998-06-13 Mikael Djurfeldt <mdj@barbara.nada.kth.se>
2121
2122 * readline.scm (apropos-completion-function): regexp-quote text to
2123 be completed.
2124
2125 1998-06-11 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2126
2127 * debug.scm, emacs.scm: Bugfix: Treat `the-last-stack' as a fluid.
2128
2129 1998-06-09 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2130
2131 * boot-9.scm: Check that (current-input-port) is a tty before
2132 enabling readline. (Thanks to Michael N. Livshin.)
2133
2134 1998-06-07 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2135
2136 * boot-9.scm (use-syntax): Turned into a macro inorder to be
2137 similar in use to `use-modules'.
2138 Example: (use-syntax (ice-9 syncase)) will 1. load the module
2139 (ice-9 syncase), and, 2. install the procedure `syncase' as eval
2140 transformer.
2141 (internal-use-syntax): New procedure.
2142 (process-define-module): Use `internal-use-syntax'.
2143
2144 1998-05-19 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2145
2146 * Makefile.am (ice9_sources): Add emacs.scm.
2147
2148 1998-05-13 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2149
2150 * readline.scm: Use the new readline facilities: Add the
2151 possibility to control input and output ports; Add apropos
2152 completion.
2153
2154 * boot-9.scm: Antirevert Jim's readline code which he reverted
2155 19971027 and adapt it to the current readline interface.
2156
2157 * boot-9.scm (top-repl): Only enable readline if not using the
2158 Emacs interface; Only use repl prompt when using the readline port
2159 from repl-read. (We don't want to see it when calling `read'.)
2160
2161 * boot-9.scm (remove-hook!): Parenthesis bug.
2162
2163 1998-05-11 Mikael Djurfeldt <mdj@kenneth>
2164
2165 * boot-9.scm: Load readline module if readline is present.
2166
2167 * readline.scm (apropos-completion-function): New procedure:
2168 Symbolic completion. (Thanks to Andrew Archibald!)
2169
2170 1998-04-22 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2171
2172 * boot-9.scm (process-define-module): Added keyword use-syntax.
2173
2174 1998-04-19 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2175
2176 * nonblocking.scm: Removed. libguile is now inherently
2177 nonblocking through the use of scm_internal_select.
2178
2179 * emacs.scm: Removed use of nonblocking.scm.
2180
2181 * gwish.scm, gtcl.scm: Removed. tcltk.scm has made these
2182 obsolete.
2183
2184 1998-04-15 Mikael Djurfeldt <mdj@nada.kth.se>
2185
2186 * runq.scm (runq-control): Corrected spelling of enqueue!.
2187 (Thanks to Karl M. Hegbloom.)
2188
2189 1998-03-30 Mikael Djurfeldt <mdj@nada.kth.se>
2190
2191 * boot-9.scm: Added new run-time option interface eval-options.
2192
2193 1998-03-28 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2194
2195 * boot-9.scm (remove-hook!): New macro. (Thanks to Maciej
2196 Stachowiak.)
2197
2198 1998-01-30 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2199
2200 * threads.scm: Added simple error and signal handler.
2201 (make-thread, begin-handler): Use this handler. The most
2202 important effect of this is that signals get unmasked.
2203 Previously, when a signal was thrown signals remained masked
2204 (signals get masked when a signal is taken) which influenced other
2205 threads.
2206
2207 1998-01-01 Tim Pierce <twp@skepsis.com>
2208
2209 A better fix to the SLIB identity problem -- thanks to Marius Vollmer.
2210 * slib.scm (identity): Unmake public.
2211 (slib:eval): Evaluate inside `slib-module'.
2212
2213 1997-12-24 Tim Pierce <twp@skepsis.com>
2214
2215 * boot-9.scm: Doc fix.
2216
2217 * slib.scm (identity): Made public.
2218 (home-vicinity): New function (from SLIB/Template.scm).
2219
2220 1997-12-13 Tim Pierce <twp@skepsis.com>
2221
2222 * boot-9.scm (read-line): Rewritten to call %read-line for
2223 improved speed. Minor user-visible changes: the new functions are
2224 hardwired to treat the LFD character as signifying end-of-line, so
2225 changing `scm-line-incrementors' will no longer affect the
2226 behavior of read-line. On platforms which do not represent
2227 end-of-line with a LFD character, read-line should behave more
2228 like native line-processing facilities, but there is still a ways
2229 to go here.
2230
2231 Sat Nov 29 01:24:46 1997 Mikael Djurfeldt <mdj@kenneth>
2232
2233 * boot-9.scm (error-catching-loop, save-stack): `the-last-stack'
2234 is now a fluid.
2235
2236 1997-11-28 Tim Pierce <twp@skepsis.com>
2237
2238 * boot-9.scm (find-and-link-dynamic-module): If a module directory
2239 contains a .la file (a libtool support file), attempt to extract
2240 the shared library name from that file. If the .la file does not
2241 exist, try to link against a .so file. Libtool-generated compiled
2242 modules should load more cleanly in Guile now.
2243 (try-using-libtool-name, try-using-sharlib-name): New functions.
2244
2245 Sun Nov 9 06:10:59 1997 Gary Houston <ghouston@actrix.gen.nz>
2246
2247 * boot-9.scm (set-batch-mode?!, batch-mode?): initialize more
2248 usefully so they will work from a script.
2249
2250 1997-10-31 Marius Vollmer <mvo@zagadka.ping.de>
2251
2252 * boot-9.scm (inherit-print-state): Moved definition to the
2253 neighborhood of the record code.
2254
2255 Mon Oct 27 02:05:49 1997 Jim Blandy <jimb@totoro.red-bean.com>
2256
2257 * boot-9.scm: Revert changes to this file from Oct 23. It turns
2258 out to interact badly with the Emacs support and the Tcl/Tk
2259 support. It's not a high enough priority at the moment to be
2260 worth fixing. I'm leaving the other readline support in, though.
2261
2262 Sat Oct 25 14:23:22 1997 Jim Blandy <jimb@totoro.red-bean.com>
2263
2264 * Makefile.am: Include readline.scm in the list of files to be
2265 installed, so Guile can find it for interactive use.
2266 * Makefile.in: Regenerated.
2267
2268 Thu Oct 23 01:00:33 1997 Jim Blandy <jimb@totoro.red-bean.com>
2269
2270 Add support for readline function.
2271 * readline.scm: New module.
2272 * boot-9.scm (repl-reader): New function.
2273 (scm-style-repl): Call repl-reader, instead of doing the reading
2274 ourselves. Remove repl-report-reset; it was never used for
2275 anything.
2276 (top-repl): If we've got the readline primitives, then redefine
2277 repl-reader to use them.
2278 If we've got the readline primitives, import the readline module.
2279
2280 * ls.scm (ls, lls): Don't assume (eq? #f '()).
2281
2282 Wed Oct 22 18:26:57 1997 Jim Blandy <jimb@totoro.red-bean.com>
2283
2284 * calling.scm, common-list.scm, ls.scm, q.scm, runq.scm,
2285 string-fun.scm: Added copyright notices; reformatted.
2286
2287 Thu Oct 9 05:44:00 1997 Gary Houston <ghouston@actrix.gen.nz>
2288
2289 * expect.scm: (expect-regexec): new procedure, use it in
2290 expect-strings to fix the => syntax under the new regex system.
2291 (top): include regex module in define-module statement.
2292
2293 Wed Oct 8 03:16:01 1997 Gary Houston <ghouston@actrix.gen.nz>
2294
2295 * (error-catching-loop): new local variable "interactive". if
2296 #f, abort terminates the process.
2297 (set-batch-mode?!, batch-mode?): new closures, defined in
2298 error-catching-loop. the names are from scsh.
2299
2300 1997-10-06 Marius Vollmer <mvo@zagadka.ping.de>
2301
2302 * boot-9.scm (inherit-print-state): If NEW-PORT contains a
2303 print-state, throw it away.
2304
2305 Fri Oct 3 12:00:00 Mikael Djurfeldt <mdj@nada.kth.se>
2306
2307 * boot-9.scm (struct-layout): Use `vtable-index-layout' instead of
2308 `0'.
2309
2310 Thu Oct 2 12:00:00 Mikael Djurfeldt <mdj@nada.kth.se>
2311
2312 * boot-9.scm (struct-printer, make-struct-printer,
2313 set-struct-printer-in-vtable!, *struct-printer*): Removed.
2314 (record-type-vtable, make-record-type): Don't use make-struct-printer.
2315 (record-type-vtable): User fields "prpr" (printer is no longer a
2316 user field).
2317 (record-type-name, record-type-fields): Decreased slot index by
2318 one; Use `vtable-offset-user'.
2319
2320 Thu Oct 2 12:00:00 Marius Vollmer <mvo@zagadka.ping.de>
2321
2322 * boot-9.scm (inherit-print-state): New experimental function.
2323
2324 Tue Sep 30 13:12:48 1997 Jim Blandy <jimb@totoro.red-bean.com>
2325
2326 Suggestion and script from Maciej Stachowiak:
2327 * boot-9.scm: Split off modules into separate, autoloadable files.
2328 This reduces startup time from 10.5s to 5.5s (user cpu).
2329 * calling.scm, common-list.scm, ls.scm, q.scm, runq.scm,
2330 string-fun.scm: New files, containing stuff that used to be in
2331 boot-9.scm.
2332 * Makefile.am (ice9_sources): List new files here, for
2333 distribution and installation.
2334 * Makefile.in: Regenerated.
2335
2336 Mon Sep 29 23:53:55 1997 Jim Blandy <jimb@totoro.red-bean.com>
2337
2338 * Makefile.in: Regenerated with automake 1.2c.
2339
2340 Mon Sep 29 03:21:24 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2341
2342 * slib.scm (slib:load): slib:load first tries to load the file
2343 named NAME, then NAME.scm. On error, report the error occuring at
2344 the first attempt (NAME) rather than the second (NAME.scm).
2345
2346 * boot-9.scm: Bugfix: Hard-solder the print-option procedure into
2347 the make-options macro so that we needn't refer to a global
2348 symbol.
2349
2350 Sun Sep 28 21:40:24 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2351
2352 * debug.scm: Moved options interface procedures to boot-9.scm.
2353
2354 * boot-9.scm: Define options interface procedures here instead.
2355
2356 Sat Sep 27 20:19:20 1997 Jim Blandy <jimb@totoro.red-bean.com>
2357
2358 * boot-9.scm (separate-fields-discarding-char,
2359 separate-fields-after-char, separate-fields-before-char): Call
2360 continuation function, RET, as advertised: with each separated
2361 field a separate argument.
2362
2363 * Makefile.in: Regenerated with automake 1.2a.
2364
2365 Sat Sep 20 14:23:53 1997 Mikael Djurfeldt <mdj@kenneth>
2366
2367 * slib.scm (slib:load): Export.
2368
2369 * boot-9.scm (in-vicinity): Bugfix: Don't add "/" to an empty
2370 vicinity;
2371 Provide defmacro.
2372
2373 Thu Sep 18 01:24:31 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2374
2375 * r4rs.scm (apply): Set name property to 'apply.
2376
2377 Tue Sep 16 22:09:50 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2378
2379 * boot-9.scm (keyword->symbol, display-usage-report): Changed
2380 length --> string-length. (Thanks to Aleksandar Bakic.)
2381 (separate-fields-discarding-char, separate-fields-after-char,
2382 separate-fields-before-char): Bugfix from Maciej Stachowiak
2383 <mstachow@mit.edu>. Thanks!
2384 (try-module-linked): Try to find module among those already
2385 registered.
2386 (try-module-dynamic-link): Removed the first test which
2387 corresponds to a call to `try-module-linked'.
2388 (resolve-module): Resolve modules in this order: 1. Already
2389 registered modules (for example those which have been statically
2390 linked), 2. Try to autoload an .scm-file, 3. Try to dynamically
2391 link a .so-file.
2392
2393 Mon Sep 15 23:39:54 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2394
2395 * boot-9.scm (iota): Renamed list-reverse! --> reverse!
2396
2397 Thu Sep 11 02:31:38 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2398
2399 * session.scm (name): New procedure: Gives name of object.
2400 (source): New procedure: Gives source of object.
2401
2402 Wed Sep 10 20:12:45 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2403
2404 * boot-9.scm (primitive-macro?): New procedure.
2405
2406 * slib.scm: Added hack which transfers syntactic information from
2407 the builtin variable `define' to the slib version if module (ice-9
2408 syncase) has been loaded. This is necessary to get correct
2409 expansion inside the slib module.
2410
2411 * psyntax.ss (build-let, build-named-let): New output
2412 constructors.
2413 (build-lexical-var): Seed gensym with symbolic name.
2414 (self-evaluating?): Add keywords among self-evaluating types.
2415 (let): New core form.
2416 (if): Removed from core language.
2417 (or, and, let, cond): Removed syntactic definitions.
2418 (sc-expand3): New procedure: Expander which takes optional mode
2419 and eval-syntactic-expanders-when arguments.
2420
2421 * syncase.scm (psyncomp): New procedure: Recompiles psyntax.pp.
2422 Should be used inside the (ice-9 syncase) module with (use-syntax
2423 syncase) and with the current directory containing the psyntax.ss
2424 source.
2425 Added hack to transfer syntactic information from the builtin
2426 variable `define' to the slib version if module (ice-9 slib) has
2427 been loaded.
2428
2429 Fri Sep 5 05:47:36 1997 Mikael Djurfeldt <mdj@faun.nada.kth.se>
2430
2431 * syncase.scm (sc-interface, sc-expand): Removed hook setup.
2432 (syncase): Publish syntax transformer to be used with
2433 `use-syntax'.
2434 (sc-macro): Use this as the value when publishing macros.
2435
2436 * boot-9.scm (module-type): Added `transformer'.
2437 (make-module): Modified initialization.
2438 (module-transformer, set-module-transformer!): Selector and
2439 mutator for module-associated transformer.
2440 (set-current-module): Use module-transformer to set
2441 `scm:eval-transformer'.
2442 (module-use!): Previous change reverted.
2443 (use-syntax): New function: Install a transformer in current
2444 module.
2445 (sc-interface, sc-expand): Removed! :)
2446
2447 Fri Sep 5 03:09:09 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2448
2449 * emacs.scm (emacs-load): Added new parameter `module'.
2450
2451 * syncase.scm (putprop, getprop): Modified to use the object
2452 properties of the variable object corresponding to the symbol;
2453 This way we can ride on the mechanisms of the module system.
2454 Changed `builtin-variable' calls to `define-public' calls.
2455 Setup the hooks sc-expand and sc-interface.
2456
2457 * boot-9.scm (sc-interface, sc-expand): New builtin variables.
2458 (set-current-module): Switch to and from sc-expand as
2459 scm:eval-transformer when going into and out of modules using
2460 syncase macros.
2461 (module-use!): Set scm:eval-transformer to sc-expand when adding
2462 the syncase interface.
2463
2464 Thu Sep 4 14:57:04 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2465
2466 * syncase.scm (putprop): Temporary fix which publishes new syntax
2467 globally (the old behaviour was complex and connected to the inner
2468 workings of the current module system).
2469
2470 Wed Sep 3 21:29:13 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2471
2472 * psyntax.ss: Updated.
2473 psyntax.pp: Bugfix: Previous version had some leading "t":s cut
2474 off!
2475
2476 Tue Sep 2 00:26:42 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2477
2478 * boot-9.scm (gensym): Removed (replaced by primitive).
2479 (obarray-gensym): Rewritten to use `gensym'.
2480 (gentemp): Rewritten to use `gensym'.
2481
2482 Mon Sep 1 20:08:32 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2483
2484 * gtcl.scm (make-tcl-binder): Rewritten to choose bindings
2485 according to the following priorities:
2486 1. tcl bindings which are present in override-scheme-list
2487 2. bindings from the-scm-module
2488 3. tcl bindings
2489 This way the gtcl module can occur first in the use-list without
2490 disabling the scheme interpreter.
2491 (new-interpreter): New function.
2492
2493 * gwish.scm: Moved initialization code for the-interpreter to
2494 gtcl.scm; Moved name space cleaning code to gtcl.scm and rewrote
2495 it; Call `new-interpreter'; Don't :use-module (guile).
2496
2497 Thu Aug 28 23:48:53 1997 Jim Blandy <jimb@totoro.red-bean.com>
2498
2499 * Makefile.in: Regenerated.
2500
2501 Wed Aug 27 11:35:09 1997 Jim Blandy <jimb@totoro.red-bean.com>
2502
2503 * Makefile.in: Regenerated, so it uses "tar", not "gtar".
2504
2505 Mon Aug 25 22:00:44 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2506
2507 * emacs.scm (object->string, format, error-args->string): New
2508 procedures.
2509 (emacs-frame-eval): Reworked.
2510
2511 Mon Aug 25 16:15:55 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2512
2513 * session.scm (apropos-internal): Musn't initialize symbol
2514 accumulator with a constant pair. That led to mutation of the
2515 source!
2516
2517 Sun Aug 24 01:03:10 1997 Mikael Djurfeldt <mdj@kenneth>
2518
2519 * session.scm (vector-for-each): Removed.
2520 (apropos): vector-for-each --> array-for-each.
2521 (apropos-internal): New function. Return list of accessible
2522 symbols matching regexp.
2523
2524 * debug.scm (frame-number->index): New function. Convert frame
2525 number (as displayed in the backtrace) to frame index (to be used
2526 in stack-ref).
2527
2528 * emacs.scm (emacs-load): New arguments: interactivep: when
2529 non-false, send back results to Emacs; colnum: Column number;
2530 Use modules (ice-9 debug) and (ice-9 session);
2531 (no-stack, no-source): New simple-actions;
2532 (result-to-emacs): New procedure. Sends data to Emacs via the
2533 result protocol;
2534 (get-frame-source, emacs-select-frame, emacs-frame-eval,
2535 emacs-symdoc): New procedures.
2536
2537 Wed Aug 20 13:21:11 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2538
2539 * emacs.scm (emacs-load): Adjust stack narrowing.
2540 (whitespace-chars): Include #\np.
2541
2542 * syncase.scm: Also turn off debugging evaluator and recording of
2543 procedure names during loading of psyntax.pp.
2544
2545 * psyntax.pp: Removed leading blanks => 800K -> 100K.
2546
2547 Tue Aug 19 02:39:41 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2548
2549 * syncase.scm: Don't tamper with debug mode setting when enabling
2550 macros. Instead cut the stack with start-stack.
2551 Load psyntax.pp with recording of positions turned off.
2552
2553 * psyntax.pp, psyntax.ss (quasiquote): Changed fx= --> =.
2554
2555 * syncase.scm: New file: Guile-adaption for syntax-case macros.
2556 * psyntax.pp, psyntax.ss: Syntax-case macros, portable version 2 by
2557 R. Kent Dybvig, Oscar Waddell, Bob Hieb and Carl Bruggeman
2558
2559 Mon Aug 18 21:58:25 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2560
2561 * session.scm: New file: Session support.
2562 (apropos): New procedure: List bindings given regexp.
2563
2564 Sat Aug 16 18:44:24 1997 Gary Houston <ghouston@actrix.gen.nz>
2565
2566 * boot-9.scm: define tms accessors: clock, utime, stime, cutime,
2567 cstime.
2568
2569 Thu Aug 14 19:55:37 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2570
2571 * emacs.scm (emacs-load): Something has changed in the reader so
2572 that we now should set the port line count to the specified value
2573 (linum) instead of (- linum 1).
2574
2575 * slib.scm (slib:load): Use load-from-path instead of
2576 primitive-load-path so that backtraces get narrowed properly at
2577 the top.
2578
2579 * boot-9.scm (top-repl): Save stack already in signal handler in
2580 order to narrow it correctly.
2581 (save-stack): Adjust narrowing tag for the top of load-stacks.
2582
2583 Tue Jul 29 01:18:08 1997 Gary Houston <ghouston@actrix.gen.nz>
2584
2585 * boot-9.scm (move->fdes, dup->port): use dup->fdes, not primitive-dup.
2586 (dup->fdes): deleted, now done in C.
2587
2588 Sat Jul 26 08:00:42 1997 Gary Houston <ghouston@actrix.gen.nz>
2589
2590 * boot-9.scm (setenv): new procedure, scsh compatible.
2591
2592 Sat Jul 26 21:30:10 1997 Marius Vollmer <mvo@zagadka.ping.de>
2593
2594 * boot-9.scm (with-fluids): New macro to go with the
2595 builtin `with-fluids*'.
2596
2597 Thu Jul 24 04:28:11 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2598
2599 * slib.scm (install-require-module): In newer versions of slib
2600 *catalog* is #f until the first access. Therefore we call
2601 require:provided? for a random feature if *catalog* is #f.
2602
2603 Wed Jul 23 20:13:04 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2604
2605 * boot-9.scm: If using emacs interface, enable backtraces
2606 automatically.
2607
2608 Mon Jul 21 06:45:45 1997 Gary Houston <ghouston@actrix.gen.nz>
2609
2610 * boot-9.scm (dup->port, dup->inport, dup->outport, dup->fdes,
2611 dup, fdes->inport, fdes->outport, port->fdes): new procedures.
2612 (duplicate-port): was a C primitive, now it's here.
2613 (move->fdes): allow the first argument to be a file descriptor.
2614 Return the modified port or file descriptor (was unspecified.)
2615
2616 Fri Jul 11 00:13:43 1997 Jim Blandy <jimb@floss.red-bean.com>
2617
2618 Changes to compile under gnu-win32, from Marcus Daniels:
2619 * boot-9.scm (load-user-init): If HOME is unset, provide
2620 a default of /.
2621
2622 * boot-9.scm (define-public): Changed to accomodate Hobbit.
2623
2624 Tue Jun 24 00:31:47 1997 Jim Blandy <jimb@floss.red-bean.com>
2625
2626 * boot-9.scm, debug.scm, hcons.scm, lineio.scm, mapping.scm,
2627 poe.scm, slib.scm, tags.scm, threads.scm: Use normal list
2628 notation, instead of #/ notation.
2629
2630 * expect.scm (expect-strings): Pass regexp/newline flag to
2631 make-regexp.
2632
2633 Mon Jun 23 16:13:38 1997 Jim Blandy <jimb@floss.red-bean.com>
2634
2635 Fix inconsistencies in parsing of #/ style lists.
2636 * boot-9.scm (read-path-list-notation): New function.
2637 (parse-path-symbol): Deleted. Replaced by above.
2638 Plug in read-path-list-notation as the parser for #/ lists,
2639 instead of the anonymous lambda form calling parse-path-symbol.
2640 (Thanks to Maurizio Vitale.)
2641
2642 * boot-9.scm (make-list): Remove the definition of this function
2643 from the (ice-9 common-list) module; make the `init' argument
2644 optional in the scm module's definition, to match the deleted
2645 definition. Harmony reigneth? (Thanks to Bernard URBAN.)
2646
2647 Sun Jun 22 18:33:17 1997 Jim Blandy <jimb@floss.red-bean.com>
2648
2649 Try to detect when people are using one version of libguile and a
2650 different version of ice-9. People have been skewing things and
2651 sending in bug reports.
2652 * version.scm.in: New file, which the configure script munges to
2653 produce version.scm, which contains the ice-9 config stamp.
2654 * boot-9.scm: Compare the libguile and ice-9 config stamps;
2655 display a warning if the two are different.
2656 * Makefile.am: Install version.scm, but don't distribute it.
2657 Distribute version.scm.in, but don't install it.
2658 * Makefile.in: Regenerated.
2659
2660 Thu Jun 19 21:01:16 1997 Jim Blandy <jimb@floss.red-bean.com>
2661
2662 * slib.scm (slib:warn): Alias for WARN function.
2663
2664 Fri Jun 13 00:32:04 1997 Jim Blandy <jimb@floss.red-bean.com>
2665
2666 * boot-9.scm (struct-printer): Fix off-by-one error in range
2667 check. Correctly check for struct printer tag.
2668
2669 * expect.scm: Turn this into a module, (ice-9 expect).
2670 (expect-port, expect-timeout, expect-timeout-proc,
2671 expect-eof-proc, expect-char-proc, expect, expect-strings,
2672 expect-select): Make these public definitions.
2673 (expect-strings): Use make-regexp and regexp-exec, instead of
2674 regcomp and regexec. We've omitted the REG_NEWLINE flag; hope
2675 that's okay.
2676
2677 * boot-9.scm (with-regexp-parts): Comment this out. It has no
2678 users in the core, and relies on mildly hairy details of the old
2679 regexp interface.
2680
2681 * test.scm: Re-enable tests asserting that '() is true, and not a
2682 boolean. This stuff has been true for a while.
2683
2684 * boot-9.scm (ipow-by-squaring, butlast): Fix uses of outdated
2685 function names.
2686
2687 * boot-9.scm (with-excursion-getter-and-setter, q-rear): Doc
2688 fixes.
2689
2690 Wed Jun 11 00:31:40 1997 Jim Blandy <jimb@floss.red-bean.com>
2691
2692 * Makefile.in: Regenerated after xtra_PLUGIN_guile_libs change in
2693 ../configure.in.
2694
2695 Fri Jun 6 14:37:18 1997 Marius Vollmer <mvo@zagadka.ping.de>
2696
2697 * boot-9.scm (struct-printer): Bugfix: Check the layout of the
2698 vtable and not the one of the struct.
2699
2700 Wed Jun 4 23:27:16 1997 Marius Vollmer <mvo@zagadka.ping.de>
2701
2702 * boot-9.scm (struct-layout, %struct-printer-tag, struct-printer,
2703 make-struct-printer, set-struct-printer-in-vtable!): New bindings
2704 to support printing of structures.
2705 (record-type-vtable, make-record-type): Add slot to hold printing
2706 function and initialize it with something appropriate. Removed
2707 commented out printing code.
2708 (record-type-name, record-type-fields): Adjusted slot offsets.
2709 (%print-module): Reduce argument list to "mod" and "port".
2710
2711 Tue Jun 3 17:04:18 1997 Jim Blandy <jimb@totoro.cyclic.com>
2712
2713 * slib.scm (identity): New function, used by SLIB.
2714
2715 Sat May 31 18:57:12 1997 Gary Houston <ghouston@actrix.gen.nz>
2716
2717 * boot-9.scm: signal-handler, alarm-thunk: removed.
2718 don't define ticks-interrupt etc.
2719 top-repl: install signal handlers for SIGINT, SIGFPE, SIGSEGV, SIGBUS
2720 during call to scm-style-repl.
2721
2722 Fri May 30 18:08:10 1997 Jim Blandy <jimb@floss.cyclic.com>
2723
2724 * slib.scm (slib:load): Use primitive-load-path instead of
2725 basic-load. This is probably wrong, but hopefully the entire
2726 source access system will be revised soon anyway, and this will
2727 make require behave more like Emacs Lisp's require. If this
2728 breaks something, please let me know. Maybe this is real dumb.
2729
2730 Thu May 29 02:36:48 1997 Jim Blandy <jimb@floss.cyclic.com>
2731
2732 * regex.scm: Add a module declaration. Use DEFINE-PUBLIC everywhere.
2733 * boot-9.scm: If the `regex' feature is present, use the module
2734 (ice-9 regex).
2735
2736 Tue May 27 22:48:14 1997 Tim Pierce <twp@twp.tezcat.com>
2737
2738 * regex.scm: New file.
2739 * Makefile.am (subpkgdata_DATA): Add regex.scm.
2740 * Makefile.in: Regenerated.
2741
2742 Mon May 26 17:24:48 1997 Jim Blandy <jimb@totoro.cyclic.com>
2743
2744 * COPYING, boot-9.scm, debug.scm, emacs.scm, expect.scm, gtcl.scm,
2745 gwish.scm, hcons.scm, lineio.scm, mapping.scm, nonblocking.scm,
2746 oldprint.scm, poe.scm, r4rs.scm, source.scm, tags.scm, test.scm,
2747 threads.scm: New address for FSF.
2748
2749 Fri May 16 04:09:45 1997 Jim Blandy <jimb@floss.cyclic.com>
2750
2751 * debug.scm: Update copyright years; this file has been worked on
2752 in 1997.
2753
2754 Thu May 15 07:56:08 1997 Gary Houston <ghouston@actrix.gen.nz>
2755
2756 * expect.scm: use gettimeofday instead of get-internal-real-time
2757 and use a floating point timeout when calling select. Untested,
2758 since the regex library is currently AWOL.
2759
2760 Wed May 14 21:00:30 1997 Jim Blandy <jimb@floss.cyclic.com>
2761
2762 * boot-9.scm (eval-string): Function deleted; it was already
2763 implemented in C, so there's no point in making a divergable copy
2764 here.
2765
2766 Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com>
2767
2768 * Makefile.in: Regenerated, using automake-1.1p.
2769
2770 Tue May 13 16:40:06 1997 Jim Blandy <jimb@floss.cyclic.com>
2771
2772 * Makefile.in: Regenerated, using automake-1.1p.
2773
2774 Tue May 13 02:48:49 1997 Gary Houston <ghouston@actrix.gen.nz>
2775
2776 * boot-9.scm (error-catching-loop): don't read a line from
2777 current input when quit is encountered, the previous change
2778 fixes this too.
2779
2780 Mon May 12 19:00:21 1997 Jim Blandy <jimb@floss.cyclic.com>
2781
2782 * boot-9.scm (scm-style-repl): After reading an expression,
2783 consume any trailing newline (perhaps preceded by whitespace), to
2784 avoid screwing up GDB. More detail in comments.
2785
2786 Mon May 5 13:18:38 1997 Jim Blandy <jimb@floss.cyclic.com>
2787
2788 * Makefile.am (ETAGS_ARGS): New variable, since we're not treating
2789 the Scheme code like code yet.
2790 * Makefile.in: Resrac,husrched.
2791
2792 Wed Apr 30 15:25:15 1997 Marius Vollmer <mvo@zagadka.ping.de>
2793
2794 * boot-9.scm (link-dynamic-module): Do not catch errors from
2795 dynamic-link and dynamic-call. When the shared library exists it
2796 is now assumed to be suitable for a dynamic C module.
2797
2798 Fri Apr 25 21:21:35 1997 Marius Vollmer <mvo@zagadka.ping.de>
2799
2800 * boot-9.scm (process-use-modules): New function to support the
2801 use-modules macro
2802 (use-modules): throw an error iff one of the requested modules
2803 can't be found.
2804
2805 Tue Apr 29 06:54:46 1997 Gary Houston <ghouston@actrix.gen.nz>
2806
2807 * boot-9.scm: don't define timer-thunk or gc-thunk.
2808
2809 Sun Apr 27 17:56:09 1997 Jim Blandy <jimb@floss.cyclic.com>
2810
2811 * aclocal.m4: Removed; unnecessary, given changes of Apr 24.
2812
2813 * Makefile.am (subpkgdatadir): Use "ice-9" instead of "@module@";
2814 we're not using AM_INIT_GUILE_MODULE any more.
2815 * Makefile.in: Regeneratitetedrerd.
2816
2817 Thu Apr 24 01:33:33 1997 Jim Blandy <jimb@floss.cyclic.com>
2818
2819 Get 'make dist' to work again.
2820 * Makefile.am (EXTRA_DIST): Remove PLUGIN files.
2821 * Makefile.in: Regenerated, like two tons of fleas.
2822
2823 Changes for reduced Guile distribution: one configure script,
2824 no plugins.
2825 * configure.in, configure: Removed.
2826 * Makefile.in: Regenerated.
2827
2828 Sat Apr 19 08:03:50 1997 Jim Blandy <jimb@floss.cyclic.com>
2829
2830 * boot-9.scm (eval-string, command-line, load-user-init): New
2831 functions.
2832
2833 Sat Apr 12 08:27:05 1997 Gary Houston <ghouston@actrix.gen.nz>
2834
2835 * boot-9.scm (log10): defined.
2836
2837 Tue Apr 1 17:46:49 1997 Gary Houston <ghouston@actrix.gen.nz>
2838
2839 * expect.scm (expect-select): correct the millisecond timeout
2840 arithmetic (from Marko.Kohtala@ntc.nokia.com).
2841
2842 Mon Mar 31 03:23:19 1997 Gary Houston <ghouston@actrix.gen.nz>
2843
2844 * boot-9.scm (open-input-pipe, open-output-pipe): defined here
2845 instead of in libguile.
2846 (tm:sec etc.) new accessors for broken-down time.
2847 (set-tm:sec etc.) new setters for broken-down time.
2848
2849 Thu Mar 27 05:06:00 1997 Gary Houston <ghouston@actrix.gen.nz>
2850
2851 * boot-9.scm (netent:addrtype, servent:port): added missing
2852 procedures.
2853 (netent:net, servent:proto): repaired.
2854 (utsname:sysname etc.): new accessors for uname.
2855
2856 Tue Mar 25 03:04:03 1997 Gary Houston <ghouston@actrix.gen.nz>
2857
2858 * boot-9.scm (sockaddr:fam, sockaddr:path, sockaddr:addr,
2859 sockaddr:port): new functions.
2860
2861 Wed Mar 19 04:50:34 1997 Gary Houston <ghouston@actrix.gen.nz>
2862
2863 * boot-9.scm: define accessor procedures for the objects returned
2864 by getpw, getgr, gethost, getnet, getproto, getserv (e.g.,
2865 passwd:name, where the first component is the name of the C structure
2866 and the second is the unprefixed C member name.)
2867
2868 Tue Mar 18 18:39:31 1997 Gary Houston <ghouston@actrix.gen.nz>
2869
2870 * boot-9.scm (setpwent, setgrent, sethostent, setnetent, setprotoent,
2871 setservent): no longer take an argument, it was bogus.
2872
2873 Thu Mar 13 00:13:41 1997 Gary Houston <ghouston@actrix.gen.nz>
2874
2875 * boot-9.scm (scm-error): deleted, reimplemented in C.
2876
2877 Mon Mar 10 15:48:31 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2878
2879 * boot-9.scm (process-define-module): Modified to handle both
2880 keywords and symbols.
2881
2882 Sat Mar 8 04:32:44 1997 Gary Houston <ghouston@actrix.gen.nz>
2883
2884 * slib.scm: update read usage.
2885
2886 * r4rs.scm: update primitive-load usage.
2887 Don't define read-sharp.
2888
2889 * boot-9.scm: use read-hash-extend to install extra read syntax.
2890 (read-sharp): removed.
2891 Adjust usage of primitive-load-path, read, which no longer take
2892 case_i or read-sharp arguments.
2893
2894 Sat Mar 8 00:07:54 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2895
2896 * boot-9.scm: Added loading of session support module.
2897
2898 * debug.scm: Removed `display-application'. (Replaced by
2899 primitive procedure.)
2900
2901 * boot-9.scm (beautify-user-module!): Don't add the root module
2902 interface to the end of the use-list of the root module.
2903
2904 Thu Mar 6 07:26:34 1997 Gary Houston <ghouston@actrix.gen.nz>
2905
2906 * boot-9.scm: repl-quit, repl-abort: obsolete variables deleted.
2907
2908 Wed Mar 5 20:30:24 1997 Gary Houston <ghouston@actrix.gen.nz>
2909
2910 * boot-9.scm: check use-emacs-interface for emacs support.
2911
2912 Sun Mar 2 19:47:14 1997 Gary Houston <ghouston@actrix.gen.nz>
2913
2914 * boot-9.scm (scm-style-repl): call repl-report-start-timing if
2915 read gets EOF.
2916 * (exit): alias for quit.
2917
2918 Sun Mar 2 05:25:11 1997 Gary Houston <ghouston@actrix.gen.nz>
2919
2920 * boot-9.scm (error-catching-loop thunk): use a status variable to
2921 return the quit args.
2922 (scm-style-repl): call -quit, passing return value from
2923 error-catching-repl. Make -quit return its args.
2924 stand-alone-repl: comment out, since it seems unused.
2925
2926 (error-catching-loop thunk): discard trailing junk after a (quit).
2927
2928 Sat Mar 1 15:24:39 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2929
2930 * boot-9.scm: Removed the old printer code.
2931
2932 * r4rs.scm (apply, call-with-current-continuation): Added comment
2933 explaining why apply and call/cc need to be closures.
2934
2935 * boot-9.scm (apply, call-with-current-continuation): Bugfix:
2936 Removed. These definitions are already present in r4rs.scm.
2937
2938 * debug.scm (trace-entry, trace-exit): Check that we're on a repl
2939 stack before printing traced frames; Re-enable trace flag at end
2940 of handlers.
2941
2942 Sat Mar 1 00:10:38 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2943
2944 * debug.scm: Add hook for reset of trace level at abort.
2945
2946 * boot-9.scm (run-hooks): New procedure.
2947 (add-hooks!): New macro.
2948 Change hooks to use these functions.
2949
2950 * debug.scm: *Warning* This feature is a bit premature. I add
2951 it anyway because 1. it is very useful, and, 2. you can start
2952 making it less premature by complaining to me and by modifying
2953 the source! :-)
2954 (trace): Given one or more procedure objects, trace each one.
2955 Given no arguments, show all traced procedures.
2956 (untrace): Given one or more procedure objects, untrace each one.
2957 Given no arguments, untrace all traced procedures. The tracing in
2958 Guile have an advantage to most other systems: We don't create new
2959 procedure objects, but mark the procedure objects themselves.
2960 This means that also anonymous and internal procedures can be
2961 traced.
2962
2963 * boot-9.scm (error-catching-loop): Added handling of apply-frame
2964 and exit-frame exceptions.
2965
2966 * boot-9.scm (assert-repl-prompt, the-prompt-string): Removed.
2967 (set-repl-prompt!): Setter for repl prompt.
2968 (scm-style-repl): If prompt is #f, don't prompt; if prompt is a
2969 string, display it; if prompt is a thunk, call it and display its
2970 result; otherwise display "> ".
2971 (Change suggested by Roland Orre <orre@nada.kth.se>.)
2972
2973 * r4rs.scm (%load-verbosely): Reverted change to
2974 `module-defined?', since the module system isn't bootstrapped when
2975 we load r4rs.scm. This is just a temporary fix to make the
2976 repository version runnable.
2977
2978 Thu Feb 27 23:25:47 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2979
2980 * boot-9.scm: Removed the enabling of debug evaluator and
2981 recording of source code positions. This was placed there for our
2982 convenience, but it has already sneaked into the distribution
2983 once... so we'd better add this in our local copies instead when
2984 we need it. (These options are normally enabled at the end of
2985 boot-9.scm when loading the debug module.)
2986
2987 Thu Feb 27 16:04:45 1997 Marius Vollmer <mvo@zagadka.ping.de>
2988
2989 * boot-9.scm (module-defined?): New function.
2990 (macroexpand-1, macroexpand): Use local-ref instead of defined?
2991 and eval.
2992 * r4rs.scm (%load-verbosely): Use "module-defined?" instead of
2993 "defined?".
2994 * slib.scm (defined?): New function to take the place of the
2995 builtin "defined?". It allways examines the slib module.
2996
2997 Mon Feb 24 21:46:15 1997 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
2998
2999 * configure.in: Added AM_MAINTAINER_MODE
3000
3001 Sat Feb 15 04:51:20 1997 Gary Houston <ghouston@actrix.gen.nz>
3002
3003 * boot-9.scm (read-sharp): define directly, don't go through a
3004 %read-sharp layer.
3005
3006 Tue Feb 11 08:45:48 1997 Gary Houston <ghouston@actrix.gen.nz>
3007
3008 * boot-9.scm (uniform-vector-set!): use uniform-array-set1!, not
3009 uniform-vector-set1! which doesn't exist.
3010
3011 Mon Feb 10 03:01:48 1997 Mikael Djurfeldt <mdj@kenneth>
3012
3013 * boot-9.scm (backtrace): Removed. (A C version now exists in
3014 backtrace.c.)
3015
3016 Fri Jan 24 06:05:36 1997 Gary Houston <ghouston@actrix.gen.nz>
3017
3018 * boot-9.scm (read-line!, read-delimited!, read-delimited,
3019 read-line): new procedures, see libguile/ChangeLog.
3020
3021 Thu Jan 16 17:07:03 1997 Marius Vollmer <mvo@zagadka.ping.de>
3022
3023 Added dynamic linking of modules. See libguile/DYNAMIC-LINKING.
3024
3025 * boot-9.scm (split-c-module-name, convert-c-registered-modules,
3026 init-dynamic-module, dynamic-maybe-call,
3027 find-and-link-dynamic-module, link-dynamic-module,
3028 try-module-dynamic-link, registered-modules): New definitions for
3029 dynamic linking of modules.
3030 (resolve-module): Try to dynamically link the requested module
3031 after failing to load it as Scheme code.
3032
3033 Wed Jan 8 05:50:14 1997 Gary Houston <ghouston@actrix.gen.nz>
3034
3035 * boot-9.scm (getservbyport, getservbyname): remove stray %.
3036
3037 Tue Jan 7 20:02:24 1997 Jim Blandy <jimb@floss.cyclic.com>
3038
3039 * boot-9.scm (and=>): Rename THUNK argument to PROCEDURE, 'cos
3040 that's what it is.
3041
3042 * lineio.scm (make-line-buffering-input-port): Properly test for
3043 the case of an empty buffer list. The old code assumed that '()
3044 was false.
3045
3046 Mon Jan 6 01:13:53 1997 Mikael Djurfeldt <mdj@kenneth>
3047
3048 * boot-9.scm (use-modules): New macro (from Marius Vollmer).
3049 (use-modules <module name> ...) Put the the modules named by
3050 <module name> ... on the use list of the current module.
3051
3052 Sun Jan 5 15:52:59 1997 Jim Blandy <jimb@floss.cyclic.com>
3053
3054 * boot-9.scm (error-catching-loop): Remove message saying that
3055 typing "$" will put you in the debugger. This isn't implemented
3056 yet.
3057
3058 Sun Dec 22 23:27:25 1996 Jim Blandy <jimb@floss.cyclic.com>
3059
3060 * boot-9.scm (delq-all!): Function deleted; delq!'s semantics have
3061 been fixed, so this function is superfluous.
3062 (transform-usage-lambda): Use delq!, not delq-all!.
3063
3064 Tue Dec 17 20:36:45 1996 Marius Vollmer <mvo@zagadka.ping.de>
3065
3066 * boot-9.scm (resolve-module): New optional parameter that
3067 controls whether autoloading is attempted or not. Default is #t.
3068 (process-define-module): Don't autoload the defined module.
3069 (try-module-autoload): Don't autoload the directory modules.
3070
3071 * boot-9.scm (process-define-module): Ensure that the-scm-module
3072 is last in the `uses' list to allow shadowing builtin
3073 bindings. All :use-module options are added in the order they
3074 appear in the arguments but before anything already on the list
3075 (such as the-scm-module).
3076
3077 Wed Dec 11 21:06:05 1996 Gary Houston <ghouston@actrix.gen.nz>
3078
3079 * slib.scm (slib-parent-dir): throw error if #f returned from
3080 %search-load-path.
3081
3082 Sat Nov 30 23:57:28 1996 Tom Tromey <tromey@cygnus.com>
3083
3084 * PLUGIN/greet, PLUGIN/split.sed, PLUGIN/this.configure: Removed.
3085 * Makefile.am, aclocal.m4: New files.
3086 * configure.in: Updated for Automake.
3087
3088 Wed Nov 27 14:16:14 1996 Marius Vollmer <mvo@zagadka.ping.de>
3089
3090 * boot-9.scm (macroexpand-1, macroexpand), slib.scm
3091 (slib:features), r4rs.scm (%load-verbosely): "defined?" is now a
3092 function, use it accordingly.
3093
3094 Thu Nov 21 11:12:10 1996 Jim Blandy <jimb@floss.cyclic.com>
3095
3096 It's an "eval closure", not an "eval thunk." A thunk is a
3097 function of no arguments.
3098 * boot-9.scm (module-type): Rename module field.
3099 (make-module, eval-in-module, make-root-module,
3100 set-current-module): Uses changed.
3101 (module-eval-closure, set-module-eval-closure!,
3102 root-module-closure): Renamed from module-eval-thunk,
3103 set-module-eval-thunk!, root-module-thunk.
3104 (set-current-module): Change uses of *top-level-lookup-thunk* to
3105 *top-level-eval-closure*.
3106
3107 Wed Nov 20 14:45:27 1996 Jim Blandy <jimb@totoro.cyclic.com>
3108
3109 * slib.scm (slib-parent-dir): Use string-length, not length.
3110 (Thanks to Bernard Urban.)
3111
3112 Sat Nov 2 20:00:42 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3113
3114 * boot-9.scm: The debugging evaluator and recording of positions
3115 aren't enabled by default any longer (they are switched on in
3116 debug.scm). But during development we want to have them also
3117 *inside* boot-9.scm. Therefore, two lines are added at the
3118 beginning of boot-9.scm to enable these.
3119
3120 Call `provide' so that `records' are included among the
3121 `*features*'.
3122
3123 The scheme for saving the stack has been adjusted: save-stack is
3124 now commonly available for saving the stack. Calling `save-stack'
3125 sets a flag `stack-saved?' which prevents overwriting the stack.
3126 `stack-saved?' is reset at `abort'.
3127
3128 Spelling correction: seperate --> separate.
3129
3130 Removed `:'s that had creeped into some comments.
3131
3132 The repl now doesn't print #<unspecified> results any longer
3133 If the user wants to see this, he can do
3134 (assert-repl-print-unspecified #t) in his startup file.
3135
3136 The user now gets a friendly message instead of a backtrace at
3137 error.
3138
3139 Added `before-read-hook'.
3140
3141 Load module (ice-9 emacs) if option `-e' was specified.
3142
3143 (provide): New function.
3144
3145 (error): Save stack at entry, so that Guile entrails won't show up
3146 in backtraces.
3147
3148 (backtrace): New function.
3149
3150 (save-stack): Can now take arbitrary number of stack narrowing
3151 specifier pairs. The first specifier in a pair controls inner
3152 border, the second the outer border. A number means cut that
3153 number of frames, a procedure object means cut until that object
3154 is found in operator position in a frame.
3155
3156 * debug.scm: Enable debugging evaluator and recording of positions
3157 by default.
3158
3159 * slib.scm (slib:load): Adapt to the new behavior of
3160 primitive-load: It doesn't any longer try both with and without
3161 ".scm" extension. (We don't want to use %search-load-path here.)
3162
3163 (implementation-vicinity): New function. slib requires it
3164
3165 (library-vicinity): Updated.
3166
3167 Load "require.scm" in the library-vicinity.
3168
3169 (install-require-vicinity, install-require-module): New functions.
3170
3171 Mon Oct 28 17:56:29 1996 Jim Blandy <jimb@floss.cyclic.com>
3172
3173 * boot-9.scm (load-from-path): New function.
3174
3175 * boot-9.scm (try-load, basic-try-load, try-load-module,
3176 try-load): Deleted. I don't think they're being used.
3177
3178 * Makefile.in (scm_files): Add r4rs.scm and test.scm to this list,
3179 so they'll get distributed.
3180
3181 Get Guile to be a little less chatty by default. The new user
3182 should see as little clutter as possible.
3183 * r4rs.scm (%load-verbosely): Make this #f by default.
3184 * boot-9.scm (scm-repl-verbose): Make this #f by default.
3185 (scm-style-repl): Don't run 'pk' on the value passed to quit.
3186
3187 * r4rs.scm: New file.
3188 * boot-9.scm: Load r4rs.scm, first thing.
3189 (OPEN_READ, OPEN_WRITE, OPEN_BOTH, *null-device*, open-input-file,
3190 open-output-file, open-io-file, close-input-port,
3191 close-output-port, close-io-port, call-with-input-file,
3192 call-with-output-file, with-input-from-port, with-output-to-port,
3193 with-error-to-port, with-input-from-file, with-output-to-file,
3194 with-error-to-file, with-input-from-string, with-output-to-string,
3195 with-error-to-string, the-eof-object): Definitions moved to
3196 r4rs.scm. Not all of them are R4RS, but those that are use those
3197 that are not.
3198 (load, %load-verbosely, %load-announce): Moved, along with code to
3199 set %load-hook, to r4rs.scm.
3200
3201 * test.scm: New file.
3202
3203 * boot-9.scm (integer?): Definition deleted, in favor of the one
3204 present in libguile (which used to be called int?). I have no
3205 idea why integer? didn't just call int? to begin with.
3206
3207 * boot-9.scm (<, <=, =, >, >=): Definitions in terms of <?, <=?,
3208 =?, >?, and >=? deleted; they're defined that way by libguile now.
3209
3210 * boot-9.scm (load): Simplified; primitive-load does most of this
3211 work now.
3212 (%load-announce-win): Removed; no longer used. Set %load-hook to
3213 call %load-announce.
3214
3215 Sun Oct 27 07:47:03 1996 Gary Houston <ghouston@actrix.gen.nz>
3216
3217 * boot-9.scm (stat:dev, stat:ino, stat:mode, stat:nlink, stat:uid,
3218 stat:gid, stat:rdev, stat:size, stat:atime, stat:mtime,
3219 stat:ctime, stat:blksize, stat:blocks) accessor functions for stat
3220 components.
3221 (file-is-directory?): use stat:type.
3222
3223 Fri Oct 25 03:34:47 1996 Jim Blandy <jimb@floss.cyclic.com>
3224
3225 * boot-9.scm (%read-sharp): Don't recognize the `#!' syntax here;
3226 that's now taken care of in libguile, and in a way compatible with
3227 SCSH (which this isn't).
3228
3229 Mon Oct 21 18:52:36 1996 Jim Blandy <jimb@totoro.cyclic.com>
3230
3231 * boot-9.scm: Formatting tweaks.
3232
3233 Fri Oct 18 01:03:08 1996 Mikael Djurfeldt <mdj@mdj.nada.kth.se>
3234
3235 * boot-9.scm (handle-system-error): Added hooks before-error-hook,
3236 after-error-hook, before-backtrace-hook and after-backtrace-hook
3237 to the error handler. E.g.: fancy emacs support could plug into
3238 these.
3239 (save-stack): New function. The stack is now made differently
3240 depending on the stack id. (The motivation is to make a better
3241 choice regarding what stack frames to present to the user.)
3242 (error-catching-loop): Stack handling code moved outside into
3243 save-stack.
3244
3245 Thu Oct 17 20:33:08 1996 Gary Houston <ghouston@actrix.gen.nz>
3246
3247 * Makefile.in (scm_files): add expect.scm.
3248
3249 * expect.scm: new file ported from guile-iii.
3250
3251 * boot-9.scm: remove handle-system-error, after moving the code into
3252 error-catching-loop.
3253 Don't set 'throw-handler-default property on error keys.
3254 Just interpret (almost) any throw with 4 args as an error throw.
3255 Delete some try-load stuff that was already commented out.
3256
3257 Second thoughts, keep handle-system-error but call it from
3258 error-catching-loop.
3259
3260 Tue Oct 15 17:07:20 1996 Jim Blandy <jimb@floss.cyclic.com>
3261
3262 * boot-9.scm: Doc fixes.
3263 (make-module): Rework for readability.
3264 (make-root-module, make-scm-module): USES argument to make-module
3265 should be '(), not #f.
3266
3267 * boot-9.scm (try-load): %sys-load-path has been renamed to
3268 primitive-load-path; adjust call here.
3269
3270 Tue Oct 15 14:25:01 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
3271
3272 * boot-9.scm (signal-handler): Bugfix: Moved the recording of
3273 the stack to the correct place: when it is decided to generate an
3274 error-signal.
3275
3276 Mon Oct 14 22:20:30 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
3277
3278 * boot-9.scm (error-catching-loop, signal-handler,
3279 handle-system-error): Backtracing now works for signals aswell;
3280 Backtracing mechanism can now identify the stack root created by
3281 start-stack so that the user isn't exposed to system stack frames.
3282
3283 Mon Oct 14 06:05:42 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
3284
3285 * Makefile.in: Added threads.scm.
3286
3287 Mon Oct 14 04:21:51 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
3288
3289 * debug.scm (make-enable, make-disable): Simplified.
3290
3291 * boot-9.scm: Renamed %%throw-handler-default -->
3292 throw-handler-default.
3293 ((handle-system-error key . arg-list)): Changed the way errors are
3294 reported.
3295 ((scm-style-repl)): Wrap up the call to eval in a start-stack
3296 acro.
3297 ((error-catching-loop thunk)): Introduce a lazy-catch into
3298 error-catching-loop so that the stack can be captured.
3299
3300 Thu Oct 10 22:27:32 1996 Jim Blandy <jimb@totoro.cyclic.com>
3301
3302 * mapping.scm (hash-table-mapping): Explicitly request that
3303 make-vector fill new vectors with '(); this will make it easier to
3304 port Guile Scheme code to other Schemes.
3305 * boot-9.scm (make-print-style, make-print-table): Same.
3306
3307 Sun Oct 6 03:54:59 1996 Gary Houston <ghouston@actrix.gen.nz>
3308
3309 * boot-9.scm (load): rewritten again.
3310 Append "." to the default %load-path.
3311 (feature?): new function: checks for a symbol in the features list.
3312 (module-local-variable): remove apparently useless (caddr (list m v
3313 ...))
3314 (%load-announce): minor formatting change.
3315 (file-exists?): use access? if posix is featured.
3316 (file-is-directory?): use stat if i/o-extensions is featured.
3317 (try-module-autoload module-name): use file-exists? before
3318 file-is-directory?
3319
3320 Sat Oct 5 18:54:03 1996 Mikael Djurfeldt <mdj@kenneth>
3321
3322 * boot-9.scm: Added conditional loading of threads.scm.
3323
3324 * threads.scm: New file. Modified from the Cygnus-r0.3
3325 distribution.
3326
3327 * boot-9.scm (error-catching-loop): Added handling of key
3328 `switch-repl'.
3329
3330 * boot-9.scm: Name change %%bad-throw --> bad-throw.
3331
3332 Wed Oct 2 23:38:44 1996 Jim Blandy <jimb@totoro.cyclic.com>
3333
3334 * boot-9.scm (make-record-type, record-constructor): Don't assume
3335 the empty list is false when parsing the argument list.
3336
3337 Mon Sep 30 22:15:50 1996 Jim Blandy <jimb@totoro.cyclic.com>
3338
3339 * boot-9.scm (signal-handler): Clean up logic.
3340
3341 * boot-9.scm (load): Assume %load-path is always bound.
3342
3343 Sat Sep 28 00:15:37 1996 Gary Houston <ghouston@actrix.gen.nz>
3344
3345 * boot-9.scm (error): replace another throw with scm-error. Throw
3346 to 'misc-error instead of 'error (no need to distinguish these.)
3347 Don't set up 'error as a key.
3348 Set up regex-error as a key, if regex is available.
3349 (signal-handler): use scm-error, not throw.
3350
3351 (%try-load, try-load-with-path, %load, load-with-path,
3352 basic-try-load-with-path, basic-load-with-path,
3353 try-load-module-with-path,load-module-with-path): deleted, since
3354 they seem redundant.
3355 (try-load): define using %try-load, not try-load-with-path.
3356 (load): rewritten. load tries to open the file directly and
3357 with a .scm extension before searching the library directories
3358 (should "." be added to %load-path? then load could still open
3359 directly files starting with "/").
3360 (try-module-autoload): use load, not load-with-path.
3361 (%load-indent): deleted, -2 was causing errors.
3362
3363 (%read-sharp): use port-line, not line-number.
3364
3365 Fri Sep 27 16:23:51 1996 Jim Blandy <jimb@totoro.cyclic.com>
3366
3367 * boot-9.scm (%%bad-throw): Delete definition. 1) It's very
3368 straightforward to provide the equivalent functionality using
3369 (catch #t ...), so there's no need for the extra complexity. 2)
3370 Outside the context of a read-eval-print loop (which Guile should
3371 not require) it's not clear we should do anything more complicated
3372 than print an error and exit; the user or REPL can establish
3373 something better if it wants. 3) In that case, it's much more
3374 robust to just do it in the C code.
3375
3376 Tue Sep 24 06:53:04 1996 Gary Houston <ghouston@actrix.gen.nz>
3377
3378 * boot-9.scm (%try-load): define using primitive-load. Previously
3379 %try-load itself was the primitive.
3380 (load-with-path): use scm-error instead of %load-announce-lossage.
3381 Errors are thrown to 'misc-error instead of 'could-not-load.
3382 (%load-announce-lossage): deleted.
3383
3384 Mon Sep 23 00:16:31 1996 Mikael Djurfeldt <mdj@kenneth>
3385
3386 * boot-9.scm (warn, scm-style-repl): Use C printer instead of `print'.
3387 (make-record-type type-name fields): Temporarily remove support
3388 for printing of records (not possible yet with C printer).
3389
3390 Fri Sep 20 00:24:27 1996 Gary Houston <ghouston@actrix.gen.nz>
3391
3392 * boot-9.scm (file-exists?, file-is-directory): catch only
3393 system-error, not every kind of error.
3394 (scm-error): new procedure.
3395
3396 Thu Sep 19 16:02:46 1996 Jim Blandy <jimb@totoro.cyclic.com>
3397
3398 * boot-9.scm: Formatting tweaks.
3399
3400 Wed Sep 18 09:07:37 1996 Gary Houston <ghouston@actrix.gen.nz>
3401
3402 * boot-9.scm (%%handle-system-error key): remove the code for
3403 SCM-style errors. handle the case that an unexpected number
3404 of args are supplied.
3405 (%%system-errors): removed.
3406 (error): redefine using a throw with key and 4 args.
3407 ('error): associate 'error, 'error-signal keys with
3408 %%handle-system-error.
3409 (%%default-error-handler): removed.
3410 (signal-handler): throw with 4 args and use the error-signal key.
3411 Create an error message instead of using numerical codes.
3412 (%%bad-throw): call error instead of throw if key not found.
3413
3414 Tue Sep 17 04:11:28 1996 Gary Houston <ghouston@actrix.gen.nz>
3415
3416 * boot-9.scm: initialize new error keys (see libguile/ChangeLog).
3417 (%%handle-system-error key): check subr is not #f before printing.
3418 Recognize %s (embed an argument using "display") and
3419 %S (embed an argument using "write").
3420
3421 Sun Sep 15 03:55:35 1996 Gary Houston <ghouston@actrix.gen.nz>
3422
3423 * boot-9.scm (%%handle-system-error key): set args and rest to
3424 the empty list if they are #f.
3425 Initialize out-of-range as an error key.
3426
3427 Sat Sep 14 03:41:15 1996 Gary Houston <ghouston@actrix.gen.nz>
3428
3429 * PLUGIN/REQ: remove the "ice-9 lgh" line which causes a cycle.
3430
3431 * boot-9.scm: remove leading %% from references to '%%system-error.
3432 (%%handle-system-error): don't pass all the thrown arguments when
3433 aborting, just the key and subr.
3434 Remove the code to "Install default handlers for built-in errors."
3435 Remove the definition of the syserror procedure.
3436 Associate 'numerical-overflow with default handler.
3437
3438 Fri Sep 13 04:58:11 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
3439
3440 * boot-9.scm: Name change: value-ref --> local-ref
3441 resolved-ref --> nested-ref Motivation: conformance to the other
3442 dictionary operators: list-ref operates on list, vector-ref
3443 operates on vector, nested-ref operates on nested namespace,
3444 local-ref operates on the local nested namespace.
3445
3446 Sat Sep 7 06:44:47 1996 Gary Houston <ghouston@actrix.gen.nz>
3447
3448 * boot-9.scm (%%handle-system-error): recognise errors thrown
3449 by lgh-error (fill-message etc.)
3450 (fill-message): check first whether args is null.
3451 (fill-message): bug fix and check that args is a list.
3452
3453 Thu Sep 5 11:33:41 1996 Jim Blandy <jimb@floss.cyclic.com>
3454
3455 * boot-9.scm: %load-path is initialized in C code now.
3456 (implementation-vicinity, parse-path): Deleted, along with code to
3457 initialize %load-path.
3458
3459 * boot-9.scm (in-vicinity): If the vicinity doesn't end with a
3460 "/", use one to separate it from the file.
3461
3462 Thu Aug 29 23:05:11 1996 Thomas Morgan <tmorgan@gnu.ai.mit.edu>
3463
3464 * boot-9.scm (%load-path): Add the site directory.
3465 Add the directory named after the version number.
3466 Prepend the version number to the other directories in the path.
3467 Simplify by mapping the common prefix onto each item.
3468 * Makefile.in (datadir, pkgdatadir, pkgverdatadir, subpkgdatadir,
3469 sitedatadir): New definitions.
3470 (libparent, libdir, install_path): Replaced by above.
3471 (install): Create the above directories.
3472 Put the source files into subpkgdatadir.
3473 (uninstall): Remove the above directories.
3474
3475 Thu Aug 29 21:48:47 1996 Jim Blandy <jimb@floss.cyclic.com>
3476
3477 Don't use the PLUGIN system to gather information for the
3478 Makefile's distribution and installation targets; just put it all
3479 in the Makefile directly.
3480 * PLUGIN/this.configure (scm_files, aux_files): Remove sections
3481 for these.
3482 * configure.in: Remove code that gets and substitutes scm_files and
3483 aux_files.
3484 * Makefile.in (scm_files, aux_files): Write out the list of files
3485 here, where people expect to find them.
3486
3487 Fri Aug 23 06:44:36 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
3488
3489 * boot-9.scm: Preliminary solution: optionally load the debug
3490 module. Changed "gls" to "guile1.0b3".
3491
3492 * debug.scm: New file: debug extensions.
3493
3494 Wed Aug 21 13:06:56 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
3495
3496 * boot-9.scm (print-vector): Renamed weak-hash-table? -->
3497 weak-key-hash-table?. (Again!)
3498
3499 Tue Aug 20 07:31:39 1996 Mikael Djurfeldt <mdj@woody.nada.kth.se>
3500
3501 * boot-9.scm (print-vector, macro-table, xformer-table):
3502 Renamed weak-hash-table --> weak-key-hash-table.
3503
3504 * poe.scm (funcq-memo): Renamed weak-hash-table -->
3505 weak-key-hash-table.
3506
3507 Sat Aug 3 06:16:35 1996 Gary Houston <ghouston@actrix.gen.nz>
3508
3509 * boot-9.scm (*null-device*): global constant from goonix.
3510 (move->fdes): adjusted for boolean primitive-move->fdes. return
3511 the modified port, always set revealed count to 1 (SCSH compatible).
3512 (release-port-handle port): from goonix (SCSH compatible).
3513 (%open-file): removed.
3514 (open-input-file, open-output-file, file-exists?, file-is-directory?):
3515 modified for open-file change (does not return #f).
3516
3517 Thu Aug 1 02:52:42 1996 Jim Blandy <jimb@totoro.cyclic.com>
3518
3519 * Makefile.in (dist-dir): New target for new dist system.
3520 (manifest): Deleted.
3521 * PLUGIN/this.configure (aux_files): Removed PLUGIN; it's a
3522 directory, and needs special treatment in the dist-dir target.
3523
3524 Thu Aug 1 09:00:21 1996 Gary Houston <ghouston@actrix.gen.nz>
3525
3526 * boot-9.scm: remove the wrappers for '%' system primitives,
3527 now that they throw errors directly.
3528 remove make-simple-wrapper and similar functions.
3529 protect a call to getenv which may now throw an exception.
3530
3531 Wed Jul 31 23:44:42 1996 Gary Houston <ghouston@actrix.gen.nz>
3532
3533 * boot-9.scm (false-if-exception): new macro.
3534
3535 Fri Apr 19 13:53:08 1996 Tom Lord <lord@beehive>
3536
3537 * The more things change...
3538
3539