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

20710 commits

Author SHA1 Message Date
Jim Blandy
29055e0647 * lib.scm (full-reporter): The test name is the cadr of the
result, not the cdr.  I'm not macho enough to handle run-time
typechecking.
1999-06-09 08:57:23 +00:00
Mikael Djurfeldt
26425f3d4f *** empty log message *** 1999-06-07 09:52:39 +00:00
Mikael Djurfeldt
15631a33d1 *** empty log message *** 1999-06-05 06:00:05 +00:00
Mikael Djurfeldt
dd856e2311 * numbers.c: Added #include "feature.h". 1999-06-05 05:59:50 +00:00
Mikael Djurfeldt
e69cd299ed * boot-9.scm (iota): replaced by a tail recursive version.
(reverse-iota):  removed.
1999-06-05 05:59:26 +00:00
Mikael Djurfeldt
fa5518d1fa * optargs.scm (lambda*): Bugfix: Replaced ARGLIST -->
non-optional-args.  (Thanks to David Lutterkort.)
1999-06-03 05:02:23 +00:00
Mikael Djurfeldt
8d8fc9da71 *** empty log message *** 1999-06-03 05:02:05 +00:00
Mikael Djurfeldt
f56f3cbfa5 Updated 1999-06-03 05:01:55 +00:00
Jim Blandy
f5d4dde361 Gary Houston's patches turn popen into a module, which we need to
import.
("pipe: read", "pipe: write"): Use close-pipe, not close-port, so
Guile will wait for the command to terminate.
1999-05-31 21:30:06 +00:00
Jim Blandy
087dab1cf6 Provide a default reporter, so that results don't just go into the bit
bucket if you use the test suite functions without a driver script.
(default-reporter): New variable.
(report): Send results to default-reporter if there are no registered
reporters.
(full-reporter): New function.
(user-reporter): Re-implemented in terms of full-reporter.
1999-05-31 21:27:20 +00:00
Jim Blandy
df14bb39e3 Ignore log files produced by benchmarks and test suites. 1999-05-30 10:31:56 +00:00
Jim Blandy
0d572e912b Mark file as Scheme code.
Use catch-test-errors to isolate independent tests, so we can still
get some results even though Gary Houston's patches don't support
pipes yet.
1999-05-30 09:23:37 +00:00
Jim Blandy
69c717cc00 Copyleft files. 1999-05-30 09:22:12 +00:00
Jim Blandy
216aef150e Indicate which version of Guile is required to run the test suites. 1999-05-29 14:34:02 +00:00
Jim Blandy
000ee07fc6 Initial checkin of the Guile test suite. 1999-05-29 14:22:24 +00:00
Mikael Djurfeldt
b88c9601ef *** empty log message *** 1999-05-23 10:13:18 +00:00
Mikael Djurfeldt
104b808419 * Makefile.in: Regenerated. 1999-05-23 10:09:23 +00:00
Mikael Djurfeldt
56366edf29 * fluids.c, guardians.c, srcprop.c, threads.c: Added #include
"genio.h".
1999-05-23 10:03:14 +00:00
Mikael Djurfeldt
944f4c7067 * eval.c, fports.c, libguile.h, ports.c: Removed #include
"markers.h".
1999-05-23 10:02:31 +00:00
Mikael Djurfeldt
968f520584 * Makefile.am: Removed markers.c, markers.x, markers.h.
* markers.c, markers.h: Removed.  (Contents moved to smob.c,
smob.h.)
* eval.c, fports.c, libguile.h, ports.c: Removed #include
"markers.h".
1999-05-23 10:00:53 +00:00
Mikael Djurfeldt
9dd5943c06 * smob.c, smob.h (scm_make_smob_type): New interface to smob
types (supersedes scm_newsmob).
(scm_set_smob_mark, scm_set_smob_free, scm_set_smob_print,
scm_set_smob_equalp): New functions.  Sets smob functions.
(SCM_NEWSMOB): New macro.  Creates smob objects.
(scm_make_smob): New function.  Creates smob objects and
mallocates memory.
(scm_smob_free, scm_smob_print): Default free and print
functions.
* markers.c, markers.h: Removed.  (Contents moved to smob.c,
smob.h.)
1999-05-23 09:57:31 +00:00
Mikael Djurfeldt
22580a48fe * arbiters.c, async.c, regex-posix.c: Use new smob interface.
* regex-posix.c, regex-posix.h: Renamed scm_tc16_regex_t -->
scm_tc16_regex.
1999-05-23 09:57:08 +00:00
Mikael Djurfeldt
4801c31151 * arbiters.c, async.c, regex-posix.c: Use new smob interface. 1999-05-23 09:55:54 +00:00
Mikael Djurfeldt
a4f711defb * Makefile.am: Removed markers.c, markers.x, markers.h. 1999-05-23 09:53:29 +00:00
Jim Blandy
e7d37b0a69 *** empty log message *** 1999-05-09 09:13:20 +00:00
Jim Blandy
b1349e463e * strop.c (scm_string_capitalize_x): Use the SCM object `s' in
error messages, not the uninitialized string `str'.  Love that
typechecking.
* strop.c (scm_substring_move_x): New function, which can handle
arbitrary overlapping substrings.
(substring-move-left!, substring-move-right!): These are
now just synonyms for substring-move!.
* strop.h (scm_substring_move_x): New prototype.
(scm_substring_move_left_x, scm_substring_move_right_x):
#define these as synonyms for scm_substring_move_x.
1999-05-09 09:12:35 +00:00
Jim Blandy
b12e50dabf * string-case.scm: Removed; functions moved to libguile/strop.c
(which could be dynamically linked in the future anyway).
* Makefile.am (ice9_sources): Don't list string-case.scm.
* Makefile.in: Regenerated.
* format.scm: Don't bother importing (ice-9 string-case).
1999-05-09 09:12:01 +00:00
Jim Blandy
7c1ce4ee3a *** empty log message *** 1999-05-09 08:22:42 +00:00
Jim Blandy
99a9952d78 * strop.c (scm_string_capitalize_x, scm_string_capitalize): new
functions; capitalize the first letter of each word in the
	argument string, and downcase the rest.
	(scm_string_ci_to_symbol): string->symbol, such that the same
	symbol is returned for any argument where the only difference
	between strings is in capitalization.
	(scm_string_upcase, scm_string_downcase): non-destructive
	versions.
	* strop.c (scm_substring_move_left_x, scm_substring_move_right_x):
	changed to use memmove.
	* strop.c (scm_i_index): removed the pos arguments (it's only
	called twice, and each time it's SCM_ARG1, SCM_ARG2, SCM_ARG3,
	SCM_ARG4).
	* strop.h: fixed prototypes.
*	* strop.c (scm_substring_move_left_x, scm_substring_move_right_x):
	changed to have 5 required args, rather than 2 required, and 3 required
	rest args. Also modified to allow str1 & str2 to overlap.
	(scm_substring_fill_x): changed to 4 args, rather than 2 args and
	2 required rest args.
1999-05-09 08:22:11 +00:00
Jim Blandy
9c792b5df0 * string-case.scm: Removed; functions moved to libguile/strop.c
(which could be dynamically linked in the future anyway).
* format.scm: Don't bother importing (ice-9 string-case).
1999-05-09 08:21:28 +00:00
Jim Blandy
8da8776b9c This is the documentation for (ice-9 format). 1999-05-09 08:20:56 +00:00
Jim Blandy
b7e13f6541 *** empty log message *** 1999-05-02 17:28:43 +00:00
Jim Blandy
7611fcf2d7 * string-case.scm: New file, brought in from SLIB, and adapted to
Guile's module system.
1999-05-02 17:27:28 +00:00
Jim Blandy
7da43e4123 * format.scm: New file, brought in from SLIB, with the following
changes:
(format:format): If the first argument is the format string, stick
a #f on the front of it, so it is now a valid CL format argument
list.  This is easier than changing everyplace else (like the
error formatter) that expects it to be in CL form.  The other
clause which explicitly tests for this case is now dead code.
(format:format-work): Allow `@' and `:' in either order, as per
modern CL behavior.
(format:num->cardinal): Don't assume that an elseless if returns
'() when the condition is false.
1999-05-02 17:27:20 +00:00
Jim Blandy
50706e9475 * boot-9.scm (provided?): New function. 1999-05-02 17:27:05 +00:00
Jim Blandy
699139fd17 * Makefile.am: Add string-case.scm and format.scm to ice9_sources.
* Makefile.in: Regenerated.
1999-05-02 17:26:49 +00:00
Jim Blandy
69c60b07f7 * scmconfig.h.in: Regenerated; see today's change to
../configure.in.
1999-05-02 17:22:57 +00:00
Jim Blandy
03f2707493 * procs.h: Doc fix. 1999-05-02 17:22:47 +00:00
Jim Blandy
7e5d120953 * numbers.c: If we're supporting floating-point, provide the
feature "inexact".
1999-05-02 17:22:39 +00:00
Jim Blandy
3056083816 * Makefile.am (modinclude_HEADERS): Add kw.h, so the new version
gets installed.
* Makefile.in: Regenerated.
1999-05-02 17:22:27 +00:00
Jim Blandy
8f65bd96ad *** empty log message *** 1999-05-02 17:16:56 +00:00
Jim Blandy
219a5a5bb0 * configure.in (AC_CHECK_FUNCS): Fill in list of functions that
libguile/net_db.h wants to use.  (Add setprotoent, setservent.)
1999-05-02 17:16:26 +00:00
Jim Blandy
cceae55da9 *** empty log message *** 1999-04-17 16:53:21 +00:00
Jim Blandy
f6e164d420 Remove readline support, to avoid copyright confusion.
* Makefile.am: Remove readline files from lists.
* init.c: Don't initialize readline.
* scmconfig.h.in: Regenerated.
1999-04-17 16:52:51 +00:00
Jim Blandy
331de0309e * Makefile.in: Regenerated. 1999-04-17 16:51:31 +00:00
Jim Blandy
fcf627eeb1 * Makefile.in, configure: Regenerated with autoconf 2.13, automake
1.4, libtool 1.2f (1.385 1999/03/15 17:24:54).  I've upgraded to
all the right tools, according to README, but I'm still getting
different results than Mikael is.  Hmm.
1999-04-17 16:46:34 +00:00
Jim Blandy
9af7987b9e *** empty log message *** 1999-04-17 16:41:19 +00:00
Jim Blandy
ef0615e4d8 *** empty log message *** 1999-04-17 16:03:58 +00:00
Jim Blandy
e4755e5c7b * numbers.c (s_bignum): Renamed to s_bignum, and made static.
Libguile should not be exporting random little strings.
* numbers.h (s_bignum): Extern declaration removed.
More const changes from Ken Raeburn.
* numbers.c (scm_s_bignum, fx): Now const.
(scm_logtab, scm_ilentab, s_adjbig): Now static and const.
* numbers.h (scm_s_bignum): Update declaration.
* eval.c (bodycheck): Argument WHAT now points to const.
* snarf.h (SCM_SYNTAX): Name is const.
* eval.c (scm_i_let): Make this globally visible, to avoid dynamic
linking crashes on NetBSD.  (Thanks to Ken Raeburn.)
1999-04-17 16:03:32 +00:00
Jim Blandy
cf1b6cc8ca Remove readline support, to avoid copyright confusion.
* Makefile.in: Remove readline files from lists.
* init.c: Don't initialize readline.
* scmconfig.h.in: Regenerated.
1999-04-17 16:02:50 +00:00