both forward and backward views of the stack
(write-frame-index-short, write-frame-index-long):
Use selector `frame-number';
(select-frame-absolute): Use frame-number->index.
("backtrace"): Use builtin backtrace printing.
Use (ice-9 debug).
Use readline conditionally.
readline is used by the repl run by this thread.
(handle-system-error): Print "Backtrace:" before backtrace since
this is no longer done by display-backtrace.
(regexp-substitute/global): Rewritten again in terms of
list-matches, to get null match behavior correct.
* regex.scm (regexp-substitute/global): Rewrite so that 'post at
the end of the item list actually causes a tail call. (Thanks to
Jan Nieuwenhuizen.)
Dynamically link libguilereadline.so.
(readline): Just define in this module, do not overwrite builtin
variable. The builtin readline function is now named "%readline",
so this works. See below.
(activate-readline): New function which contains the readline
activation code formerly found in top-repl.
with the configuration date of ice-9. This test yields too many
false positives to be helpful. For example, if you build Guile
for several architectures but have them all share a "share"
directory (which is supposed to work), then all but one
architecture's Guile will complain that the configuration dates
don't match. Which is true, but indicates nothing wrong.
* boot-9.scm: Delete code which compares ice-9-config-stamp with
libguile-config-stamp.
* version.scm.in: Delete.
* Makefile.am (ice9_generated): Delete.
(subpkgdata_DATA): Remove ice9_generated.
(EXTRA_DIST): Remove version.scm.in.
* Makefile.in: Regenerate.
* filesys.c (scm_directory_p): new procedure "directory?" Returns
a boolean indicating whether its argument is a directory
port as returned by opendir (thanks to Dirk Herrmann for the
suggestion.)
session) (ice-9 threads) (ice-9 regex) from guile-user only if
top-repl is called. This makes startup time for scripts 30% of
what it was before... Removed redundant code for loading of
readline.
* stime.c (bdtime2c): rewrite the ASSERTs. Accept a value
of #f for the 10th vector element to avoid an exception
seen by Bernard Urban.
(scm_mktime): unneeded ASSERT removed.