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

2833 commits

Author SHA1 Message Date
Jim Blandy
fba33ff11c *** empty log message *** 1999-09-12 03:56:04 +00:00
Jim Blandy
340a877098 *** empty log message *** 1999-09-12 03:52:11 +00:00
Jim Blandy
0d03da62e3 Change the name of the objects returned by OPENDIR from
"directory" to "directory stream".  A predicate named "directory?"
would be confusing.
* filesys.c (scm_directory_stream_p): Renamed from scm_directory_p.
At the Scheme level, "directory?" -> "directory-stream?".
(scm_dir_print): Use the phrase "directory stream" in printed form.
* filesys.h (scm_directory_stream_p): Prototype renamed
accordingly.
1999-09-12 03:47:39 +00:00
Jim Blandy
645813f588 *** empty log message *** 1999-09-12 02:41:31 +00:00
Mikael Djurfeldt
bae971b70c Re-committed this change (got lost in a merge after conflict):
*	* 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-12 02:30:47 +00:00
Mikael Djurfeldt
69fafe4692 *** empty log message *** 1999-09-12 02:26:03 +00:00
Mikael Djurfeldt
09a5681038 * srcprop.c (scm_source_property): Bugfix: Use SCM_NECONSP instead
of SCM_NCONSP.  (Thanks to Greg Badros.)
1999-09-12 02:24:36 +00:00
Mikael Djurfeldt
73d6b4df01 * gsubr.c (scm_make_gsubr): Use scm_make_subr_opt for creation of
the self subr.
1999-09-12 02:24:25 +00:00
Mikael Djurfeldt
274dc5fd6b * eval.c, debug.h (SCM_BACKTRACE_WIDTH): New debug option: width. 1999-09-12 02:24:10 +00:00
Mikael Djurfeldt
2b407f9bff * backtrace.c: Keep backtraces within specified width by
adaptively adjusting fancy printing parameters and cut output if
necessary.
(scm_display_application): Check args.
1999-09-12 02:23:39 +00:00
Mikael Djurfeldt
e8ac4cfa8d * emacs.scm: Set backtrace width to 60. 1999-09-12 02:23:26 +00:00
Mikael Djurfeldt
0ea632464e * debugger.scm ("backtrace"): Don't pass length param to
display-backtrace if it wasn't explicitly given by the user.
(write-frame-long/application): Also print corresponding source
expression.
("evaluate"): Evaluate in local environment frame, if existent;
Handle errors.
1999-09-12 02:23:13 +00:00
Jim Blandy
3f686b10a2 Reorganize the release checklists. 1999-09-11 19:44:56 +00:00
Jim Blandy
9185918452 *** empty log message *** 1999-09-11 19:05:43 +00:00
Jim Blandy
8f7eaf20e1 * version.c (scm_libguile_config_stamp): Deleted. See
corresponding change to ../ice-9/boot-9.scm.
* versiondat.h.in: Remove definition for GUILE_STAMP.
* version.h: Delete prototype.
* Makefile.in: Regenerated.
1999-09-11 19:05:18 +00:00
Jim Blandy
553bb64163 * Makefile.am (CLEANFILES): Remove versiondat.h; that should only
be removed by `make distclean', since it's generated by configure.
* Makefile.in: Regenerated.
(Thanks to Robert Bihlmeyer.)
1999-09-11 19:05:08 +00:00
Jim Blandy
b142c81de4 *** empty log message *** 1999-09-11 18:51:58 +00:00
Jim Blandy
caeb949308 * aclocal.m4: Regenerated with newer libtool macros. 1999-09-11 18:51:45 +00:00
Jim Blandy
5b20cc4bf8 * strop.c (scm_substring_move_x): Signal an error if start1
doesn't come before end1.  (Thanks to Karoly Lorentey).
1999-09-11 18:49:55 +00:00
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