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

11174 commits

Author SHA1 Message Date
Marius Vollmer
3167d5e475 *** empty log message *** 2004-12-22 15:02:13 +00:00
Marius Vollmer
7064e449bd Added open-pipe* and open-input-output-pipe. 2004-12-22 15:01:53 +00:00
Marius Vollmer
0f3eb62779 Support bidirectional communication by making open-pipe support
OPEN_BOTH as second argument and in that case return a soft
input-output port which uses two pipes internally.  Provide open-pipe*
to execute programs without using the shell (and actually base
open-pipe on it) and the obvious open-input-output-pipe.
2004-12-22 15:01:24 +00:00
Marius Vollmer
0c5f718b64 (module-make-local-var!): When creating a new variable, initialize it
to the value of any imported variable with the given name.  This
allows code like (define round round) to work as expected.
2004-12-22 14:50:56 +00:00
Rob Browning
1bb3ba5ad4 *** empty log message *** 2004-12-21 17:26:59 +00:00
Rob Browning
2e801b15b4 (GUILE_MICRO_VERSION): bump for release. 2004-12-21 17:26:43 +00:00
Mikael Djurfeldt
6dccc95033 expect.texi (Expect): Removed backslash escapes of regexp
operators ( and ) in code example for expect-strings.
2004-12-20 21:38:23 +00:00
Mikael Djurfeldt
e1ea3bf908 Update, document available SRFIs. 2004-12-20 21:20:52 +00:00
Rob Browning
8fbe44bcd2 *** empty log message *** 2004-12-19 15:49:18 +00:00
Rob Browning
adb7ec4e07 *** empty log message *** 2004-12-19 15:32:19 +00:00
Rob Browning
24b81e8d8f (subdirs_with_ltlibs): Remove libguile-ltdl since lt_dlopen (and
friends) aren't called on any libraries in ./libguile-ltdl.
2004-12-19 15:31:47 +00:00
Rob Browning
660ab63ded *** empty log message *** 2004-12-19 15:19:15 +00:00
Rob Browning
4f43d1f282 (guile_LDADD): add libguile-ltdl.la to keep
./pre-inst-guile (actually ./.libs/lt-guile) from failing on some
architectures.  The unconfirmed suspicion is that this is some
problem with autotools (automake, autoconf, and/or libtool) since
libguile already includes a libguile-ltdl.la dependency.
2004-12-19 15:19:06 +00:00
Kevin Ryde
3b2ee265fb *** empty log message *** 2004-12-16 00:41:39 +00:00
Kevin Ryde
103cc4e9db More of:
New file, test array-map!.
2004-12-15 23:11:39 +00:00
Kevin Ryde
ae828a0437 *** empty log message *** 2004-12-15 23:06:47 +00:00
Kevin Ryde
95e2f3c9b7 * tests/ramap.test: New file, test array-map!.
* Makefile.am (SCM_TESTS): Add it.
2004-12-15 23:06:09 +00:00
Kevin Ryde
2675a8d0b4 New file, test array-map!. 2004-12-15 23:03:21 +00:00
Kevin Ryde
e96a9fada5 (scm_array_map_x): Check for at least one source argument. 2004-12-15 23:01:32 +00:00
Kevin Ryde
6694258059 *** empty log message *** 2004-12-15 22:58:25 +00:00
Kevin Ryde
1885f42093 (scm_array_map_x): Correction to sources list check, only
need at least one source, not two.  And use SCM_WRONG_NUM_ARGS() for
the error.
2004-12-15 22:54:54 +00:00
Kevin Ryde
e120686ac0 *** empty log message *** 2004-12-14 00:23:52 +00:00
Kevin Ryde
fdc6aebfaf (string-any, string-every): Use a scheme
wrapper around the C code so for the final call to the predicate
procedure is a tail call, per SRFI-13 spec.
2004-12-14 00:21:25 +00:00
Kevin Ryde
f940eac247 *** empty log message *** 2004-12-13 23:42:27 +00:00
Kevin Ryde
eda8ed2152 *** empty log message *** 2004-12-13 23:40:37 +00:00
Kevin Ryde
b666fb5d31 (string-any, string-every): Use a scheme
wrapper around the C code so for the final call to the predicate
procedure is a tail call, per SRFI-13 spec.
2004-12-13 23:33:30 +00:00
Kevin Ryde
680b523714 *** empty log message *** 2004-12-13 22:40:08 +00:00
Kevin Ryde
a13befdcd3 (Regexp Functions): Revise regex-substitute and
regex-substitute/global for clarity, add some examples.
2004-12-13 22:37:31 +00:00
Kevin Ryde
edcd3e83d3 (lambda* Reference): Revise for clarity, note
how #:rest works with #:key, note previous bindings available to
default expressions.
2004-12-13 22:29:45 +00:00
Kevin Ryde
4450a22762 More of:
(scm_eq_p, scm_eqv_p, scm_equal_p): Update docstrings from
recent revision to the reference manual.
2004-12-10 00:49:51 +00:00
Kevin Ryde
86347b2bf3 *** empty log message *** 2004-12-10 00:42:42 +00:00
Kevin Ryde
3810edd92c (inet-pton): New tests. 2004-12-10 00:42:20 +00:00
Kevin Ryde
2b4d15471c (scm_from_ipv6): Just use mpz_import. Don't bother trying
to fit scm_from_ulong_long, since that uses mpz_import anyway.  Don't
bother trying to fit scm_from_ulong, not really worth the trouble if
addresses are more than 4 bytes usually.
2004-12-10 00:41:33 +00:00
Kevin Ryde
66b1c775d2 (scm_modulo): Amend fixme comment about negative divisor
with "%", C99 says it's well-defined.
2004-12-10 00:00:27 +00:00
Kevin Ryde
602d32dd48 (scm_eq_p, scm_eqv_p, scm_equal_p): Update docstrings from
recent revision to the reference manual.
2004-12-09 23:49:46 +00:00
Kevin Ryde
ff758237f7 Let the string->number documented? test say "documented?". 2004-12-08 23:09:15 +00:00
Kevin Ryde
4bf2783b00 *** empty log message *** 2004-12-08 23:07:17 +00:00
Kevin Ryde
fd4ba60be8 (string->number): New tests. 2004-12-08 22:59:42 +00:00
Kevin Ryde
6255e812dc *** empty log message *** 2004-12-08 22:56:52 +00:00
Kevin Ryde
0e66d88fa2 (scm_istr2int): Correction to bignum size calculation for
bases other than 2, 10, 16.  This avoids overflows, in particular in
octal string->number and constants (other bases are undocumented, but
reach here so may as well work).
2004-12-08 22:50:09 +00:00
Kevin Ryde
abafc12d3d (scm_istr2int): Correction to overflow test, should be
"blen >= j" not "blen > j", since after blen++ the k<blen loop will
have k==j which is past the end of the j length array and overwrites
data, leading to segvs in certain circumstances.  And put the test
only before the blen++, which is the only place it can overflow, and
since we can legitimately get to blen==j with t2==0 when filling the
high word of the bignum.
2004-12-08 22:29:36 +00:00
Kevin Ryde
b9e1ef086b *** empty log message *** 2004-12-06 00:51:00 +00:00
Kevin Ryde
d17d824af6 *** empty log message *** 2004-12-06 00:47:07 +00:00
Kevin Ryde
371e3f7778 *** empty log message *** 2004-12-06 00:44:44 +00:00
Kevin Ryde
f0d1bc09cf (break): New tests. 2004-12-06 00:41:41 +00:00
Kevin Ryde
161308d88d (break): New tests. 2004-12-06 00:41:09 +00:00
Kevin Ryde
b34001408f (break): Change to a tail-recursive form. 2004-12-06 00:40:07 +00:00
Kevin Ryde
ba94ef0c7f (break): Change to a tail-recursive form. 2004-12-06 00:39:27 +00:00
Kevin Ryde
90ec7c2e93 (span): Change to a tail-recursive form. 2004-12-06 00:36:08 +00:00
Kevin Ryde
379b03074e (span): Change to a tail-recursive form. 2004-12-06 00:34:53 +00:00