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