1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-06 15:40:29 +02:00
Commit graph

3964 commits

Author SHA1 Message Date
Jim Blandy
b4a204af78 * numbers.c (scm_istr2flo): Don't call SCM_INEXP without first
calling SCM_NIMP.  (Thanks to Karoly Lorentey).
1999-09-11 18:49:48 +00:00
Jim Blandy
0bfcc6e0d4 * tests/strings.test: Add test for substring-move! argument checking. 1999-09-11 18:46:48 +00:00
Jim Blandy
69c74140dd * lib.scm (signals-error?, signals-error?*): New macro and function.
* tests/reader.test: Use them.
1999-09-11 18:46:32 +00:00
Jim Blandy
a2226cafa9 * tests/interp.test: Add copyright notice. 1999-09-11 18:46:24 +00:00
Mikael Djurfeldt
f14d3ff8be *** empty log message *** 1999-09-11 18:32:42 +00:00
Mikael Djurfeldt
3a1f844725 (display_backtrace_body): Don't print "Backtrace:".
(scm_backtrace): Print "Backtrace:" here instead.
1999-09-11 18:31:52 +00:00
Mikael Djurfeldt
8be85ef1fb * debugger.scm: Use the frame number abstraction which allows for
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.
1999-09-11 18:28:24 +00:00
Mikael Djurfeldt
6de43e5fda * debug.scm (frame-number->index): Optionally take stack as
argument.
1999-09-11 18:28:12 +00:00
Jim Blandy
0c76ebbd1f * tests/reader.test: New test file. 1999-09-11 18:27:57 +00:00
Mikael Djurfeldt
755457ec4a * * boot-9.scm (using-readline?): New procedure: Returns #t if
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.
1999-09-11 18:27:52 +00:00
Mikael Djurfeldt
6373eb6f4e * readline.scm (activate-readline): Set (using-readline?). 1999-09-11 18:27:22 +00:00
Jim Blandy
49537948f3 *** empty log message *** 1999-09-11 17:53:58 +00:00
Jim Blandy
507af33e20 * Makefile.am (DISTCLEANFILES): Get rid of .x files.
* Makefile.in: Regenerated.
(Thanks to Keisuke Nishida.)
1999-09-11 17:53:51 +00:00
Jim Blandy
8a7391cd1a * format.scm (format:format-work): Use #\tab and #\page instead of
slib:form-feed and slib:tab.  (Thanks to Ceri Storey.)

* format.scm (format:abort): Call error, not slib:error.
1999-09-11 17:51:09 +00:00
Jim Blandy
3dcdcfe8c7 * tests/regexp.test: New test file. 1999-09-11 17:39:30 +00:00
Jim Blandy
50ff2ecb1f * regex.scm (fold-matches, list-matches): New functions.
(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.)
1999-09-11 17:38:31 +00:00
Jim Blandy
25b0654ec7 *** empty log message *** 1999-09-11 17:38:10 +00:00
Jim Blandy
a901ed0367 *** empty log message *** 1999-09-11 15:40:32 +00:00
Marius Vollmer
98baa68449 *** empty log message *** 1999-09-11 15:28:16 +00:00
Marius Vollmer
f26f2154af * readline.scm: Moved to ../guile-readline. 1999-09-11 15:27:52 +00:00
Marius Vollmer
803b109ee8 * Makefile.in: Regenerated. 1999-09-11 15:26:47 +00:00
Marius Vollmer
5b11a9aeaf * boot-9.scm (top-repl): Removed code for ativating readline. 1999-09-11 15:26:20 +00:00
Marius Vollmer
bb190109ae * Makefile.am: Removed mention of readline.scm. 1999-09-11 15:25:43 +00:00
Marius Vollmer
b8afc1976e * aclocal.m4, Makefile.in, configure, libtool: Regenerated, but
probably with the wrong version of the tools.
1999-09-11 15:22:54 +00:00
Marius Vollmer
395753a155 * configure.in: Get version from ../GUILE-VERSION and use it for
package version.
1999-09-11 15:21:24 +00:00
Marius Vollmer
b18c7b77b4 * readline.scm: Moved from ../ice-9.
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.
1999-09-11 15:20:54 +00:00
Marius Vollmer
f98e165e15 * readline.c (scm_readline): Export it to Scheme as "%readline". 1999-09-11 15:19:57 +00:00
Marius Vollmer
370b47a80d * Makefile.am: Do not install and distribute
readline-activator.scm.  Install and distribute readline.scm
instead.
1999-09-11 15:19:34 +00:00
Marius Vollmer
0ce204b054 *** empty log message *** 1999-09-11 15:18:55 +00:00
Jim Blandy
e1f20ec6ad *** empty log message *** 1999-09-11 15:08:11 +00:00
Jim Blandy
6b63595cb8 * time/Makefile.in: Regenerated.
* md/Makefile.in: Regenerated.
* Makefile.in: Regenerated.
1999-09-11 15:06:53 +00:00
Jim Blandy
6ab01c74d6 * version.c (scm_libguile_config_stamp): Deleted. See
corresponding change to ../ice-9/boot-9.scm.
* version.h: Delete prototype.
* Makefile.in: Regenerated.
1999-09-11 15:05:59 +00:00
Jim Blandy
4d31f0da8f Delete the test which compares the configuration date of libguile
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.
1999-09-11 15:05:25 +00:00
Jim Blandy
227a851cb3 * Makefile.in: Regenerated. 1999-09-11 15:03:43 +00:00
Jim Blandy
4ab0dc3f0e * configure.in (GUILE_STAMP): Don't set this variable, or
substitute it into anything.  Full explanation in ice-9/ChangeLog.
* configure, Makefile.in: Regenerated.
1999-09-11 15:02:47 +00:00
Mikael Djurfeldt
1c157c41c5 *** empty log message *** 1999-09-11 14:55:19 +00:00
Mikael Djurfeldt
daebab9eed Use readline conditionally. (This requires more fixing in the debugger...) 1999-09-11 14:55:02 +00:00
Gary Houston
77242ff9cd 1999-09-11 Gary Houston <ghouston@easynet.co.uk>
* 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.)
1999-09-11 14:12:14 +00:00
Mikael Djurfeldt
08cc62c7d9 *** empty log message *** 1999-09-11 13:54:15 +00:00
Mikael Djurfeldt
1ae6af28d9 * backtrace.c (display_frame_expr): Don't print a newline.
(display_frame): Print the newline here instead.
1999-09-11 13:53:24 +00:00
Mikael Djurfeldt
d61d203926 *** empty log message *** 1999-09-11 13:36:36 +00:00
Mikael Djurfeldt
8bafd6a348 Regenerated 1999-09-11 13:36:15 +00:00
Mikael Djurfeldt
e80e1c98b3 * * debugger.scm: New file: Initial version of the Guile debugger
written by Chris Hanson.  (The debugger isn't finished, but is
	included in Guile anyway since it is already quite useful.)
1999-09-11 13:36:02 +00:00
Mikael Djurfeldt
00b3396830 * * boot-9.scm (top-repl): Use (ice-9 debug) (ice-9 debugger) (ice-9
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.
1999-09-11 13:35:28 +00:00
Mikael Djurfeldt
7a37fe8684 * Makefile.am (ice9_sources): Added debugger.scm. 1999-09-11 13:35:11 +00:00
Mikael Djurfeldt
d37e656919 *** empty log message *** 1999-09-09 21:30:12 +00:00
Mikael Djurfeldt
c72a774a57 * procs.c (scm_setter): Signal WTA if handed an entity or operator
lacking a setter.
1999-09-09 21:29:25 +00:00
Mikael Djurfeldt
bc848f7fee *** empty log message *** 1999-09-09 20:17:51 +00:00
Mikael Djurfeldt
264251294d * feature.c, feature.h: (scm_hook_p, scm_hook_empty_p): New
primitives. (Thanks to Greg Badros);
(scm_hook_to_list): New primitive; Hooks are now smobs.
1999-09-09 20:16:59 +00:00
Jim Blandy
abdff5bd42 *** empty log message *** 1999-09-09 17:52:42 +00:00