Kevin Ryde
509a2a8e59
(string-any, string-every): Exercise char and charset predicate cases.
2004-08-14 00:42:52 +00:00
Kevin Ryde
313f062011
(scm_string_any, scm_string_every): Add support for char
...
and charset as predicates, per SRFI-13 spec.
2004-08-14 00:36:40 +00:00
Kevin Ryde
23043c797a
*** empty log message ***
2004-08-11 22:03:15 +00:00
Kevin Ryde
0106cc0898
(SRFI-13 Miscellaneous): Correction to token set
...
parameter, as per Marius in the cvs head. Reported by Mike Small.
2004-08-11 22:02:49 +00:00
Marius Vollmer
44815b899d
*** empty log message ***
2004-08-11 19:48:55 +00:00
Marius Vollmer
aba341b68f
(scm_init_storage, scm_stand_in_procs,
...
scm_stand_in_proc): Use a hastable for scm_stand_in_procs instead
of an alist. Thanks to Matthias Koeppe!
2004-08-11 19:48:26 +00:00
Kevin Ryde
c6c544efd5
*** empty log message ***
2004-08-10 00:50:51 +00:00
Kevin Ryde
0230a49d98
* tests/slib.test: New file.
...
* Makefile.am (SCM_TESTS): Add it.
2004-08-10 00:50:05 +00:00
Kevin Ryde
a1045cfbfe
New file.
2004-08-10 00:49:32 +00:00
Kevin Ryde
1e9a86d92c
(*features*): Remove array and array-for-each, core
...
definitions are insufficient for latest slib.
(t, nil): New constants slib says are supposed to exist.
(call-with-open-ports, browse-url): New functions for latest slib.
Implementations taken from Template.scm (public domain).
(open-file): Extend core definition to accept symbols for the mode,
required by latest slib.
(delete-file): Replace core definition with version returning #t/#f as
per slib spec.
(slib:exit, slib:error, slib:warn, slib:eval, slib:eval-load,
slib:tab, slib:form-feed, slib:load-source, output-port-width,
output-port-height, difftime, offset-time): Export these, they're
meant to be public.
2004-08-10 00:44:08 +00:00
Kevin Ryde
98aaa52419
*** empty log message ***
2004-08-10 00:25:37 +00:00
Kevin Ryde
fa4e29e484
(AC_CHECK_HEADERS): Add crt_externs.h.
2004-08-10 00:25:03 +00:00
Kevin Ryde
29b1dec0ef
(AC_CHECK_FUNCS): Add _NSGetEnviron.
2004-08-10 00:23:18 +00:00
Kevin Ryde
5cb0151510
(scm_putenv): Use unsetenv to remove entries (ie. no "="),
...
when available, for the benefit of FreeBSD and other systems where
putenv() doesn't do that itself.
2004-08-10 00:19:47 +00:00
Kevin Ryde
dc23abab09
(putenv, setenv): New tests.
2004-08-10 00:16:30 +00:00
Kevin Ryde
3ceaa9565a
*** empty log message ***
2004-08-10 00:03:02 +00:00
Kevin Ryde
49bdaff1d3
(AC_CHECK_FUNCS): Add unsetenv.
2004-08-10 00:02:33 +00:00
Marius Vollmer
d46e10da9c
*** empty log message ***
2004-08-09 23:40:12 +00:00
Marius Vollmer
ec59863f0d
(guileversion): Use effective version. Thanks to
...
Francesco Salvestrini!
2004-08-09 23:40:00 +00:00
Marius Vollmer
797661252e
(guileversion): Use effective version. Thanks to Francesco
...
Salvestrini!
2004-08-09 23:39:53 +00:00
Marius Vollmer
935c72a554
Removed caveat of pretty-print using its own 'write' implementation.
2004-08-09 21:53:03 +00:00
Marius Vollmer
73b7fa1fd6
*** empty log message ***
2004-08-09 21:52:15 +00:00
Marius Vollmer
5c3723216c
(generic-write): In the local procedure `wr', use object->string to
...
print all data (except for the reader macros), rather than
implementing an own printer. The user-visible difference is that
procedures and control characters like #\tab are now printed in the
same way as by `write'.
2004-08-09 21:51:58 +00:00
cvs2svn
d9acef9949
This commit was manufactured by cvs2svn to create branch
...
'branch_release-1-6'.
2004-08-09 01:23:04 +00:00
Kevin Ryde
d6f7a8edfc
New file.
2004-08-09 01:23:03 +00:00
Kevin Ryde
2975040bec
*** empty log message ***
2004-08-09 01:21:32 +00:00
Kevin Ryde
e35275e2c0
(*features*): Remove array and array-for-each, core
...
definitions are insufficient for latest slib.
(t, nil): New constants slib says are supposed to exist.
(call-with-open-ports, browse-url): New functions for latest slib.
Implementations taken from Template.scm (public domain).
(open-file): Extend core definition to accept symbols for the mode,
required by latest slib.
(delete-file): Replace core definition with version returning #t/#f as
per slib spec.
(system): Mark as #:replace to suppress override warning, use new
style "(@ (guile) system)" to call core function.
2004-08-09 01:20:47 +00:00
Rob Browning
e31719e641
*** empty log message ***
2004-08-07 17:04:13 +00:00
Rob Browning
eaec153f17
* srfi-4.c: major overhaul -- essentially all functions affected.
...
Changes fix various type related issues, including 64-bit print
problems. Uniform vector lengths are now officially a size_t
stored in a cell.
(VALIDATE_UVEC, RANGE_CHECK_AND_COPY_UVEC_INDEX): new macros.
(print_int64, print_uint64, print_uint32): new helper functions.
(uvec_print): reworked to use a union.
(uvec_equalp): new function.
(make_uvec): reworked -- now checks for possible overflow.
(uvec_length): new helper function.
(scm_u8vector_p, scm_make_u8vector, scm_u8vector): reworked.
(scm_u8vector_length): reworked.
(scm_u8vector_ref, scm_u8vector_set_x): reworked.
(scm_u8vector_to_list, scm_list_to_u8vector): reworked.
(scm_s8vector_p, scm_make_s8vector, scm_s8vector): reworked.
(scm_s8vector_length): reworked.
(scm_s8vector_ref, scm_s8vector_set_x): reworked.
(scm_s8vector_to_list, scm_list_to_s8vector): reworked.
(scm_u16vector_p, scm_make_u16vector, scm_u16vector): reworked.
(scm_u16vector_length): reworked.
(scm_u16vector_ref, scm_u16vector_set_x): reworked.
(scm_u16vector_to_list, scm_list_to_u16vector): reworked.
(scm_s16vector_p, scm_make_s16vector, scm_s16vector): reworked.
(scm_s16vector_length): reworked.
(scm_s16vector_ref, scm_s16vector_set_x): reworked.
(scm_s16vector_to_list, scm_list_to_s16vector): reworked.
(scm_u32vector_p, scm_make_u32vector, scm_u32vector): reworked.
(scm_u32vector_length): reworked.
(scm_u32vector_ref, scm_u32vector_set_x): reworked.
(scm_u32vector_to_list, scm_list_to_u32vector): reworked.
(scm_s32vector_p, scm_make_s32vector, scm_s32vector): reworked.
(scm_s32vector_length): reworked.
(scm_s32vector_ref, scm_s32vector_set_x): reworked.
(scm_s32vector_to_list, scm_list_to_s32vector): reworked.
(scm_u64vector_p, scm_make_u64vector, scm_u64vector): reworked.
(scm_u64vector_length): reworked.
(scm_u64vector_ref, scm_u64vector_set_x): reworked.
(scm_u64vector_to_list, scm_list_to_u64vector): reworked.
(scm_s64vector_p, scm_make_s64vector, scm_s64vector): reworked.
(scm_s64vector_length): reworked.
(scm_s64vector_ref, scm_s64vector_set_x): reworked.
(scm_s64vector_to_list, scm_list_to_s64vector): reworked.
(scm_init_srfi_4): added check to make sure a size_t fits in a cell.
2004-08-07 17:03:54 +00:00
Rob Browning
d1a2632e52
*** empty log message ***
2004-08-07 16:35:04 +00:00
Rob Browning
5bd63e0eb0
rewrite tests and add tests for write/read idempotency.
2004-08-07 16:34:42 +00:00
Rob Browning
63ce14e776
(scm_resolv_error): don't cause an exception while
...
trying to throw an exception -- call scm_misc_error with correct
arguments. The previous arguments needed a format escape that
wasn't in any of the format strings.
2004-08-07 03:48:17 +00:00
Rob Browning
a00eaf19f8
*** empty log message ***
2004-08-07 03:48:03 +00:00
Rob Browning
a00712e490
*** empty log message ***
2004-08-07 03:37:20 +00:00
Rob Browning
c83d179009
(scm_resolv_error): don't put bad_value in the format string
...
value arguments when calling scm_error since none of the format
strings actually have escapes for the values.
2004-08-07 03:36:38 +00:00
Kevin Ryde
f8a8200bc0
Amend #if and comments for cmp_d and get_d about unreleased gmp, don't
...
know when or as what version number it will come out.
2004-08-06 01:26:26 +00:00
Kevin Ryde
8f094b9720
*** empty log message ***
2004-08-06 01:08:37 +00:00
Kevin Ryde
2291a3a7e9
(array-fill!): Exercise byte range and type checks.
2004-08-06 01:08:12 +00:00
Kevin Ryde
421dccbcef
*** empty log message ***
2004-08-06 01:07:17 +00:00
Kevin Ryde
e22b2890ed
(array-fill!): Exercise byte range and type checks.
2004-08-06 01:06:55 +00:00
Kevin Ryde
4d6ed8fe44
(scm_array_fill_x): For byvect char fill, force signed char
...
so as not to depend on signedness of plain char. For byvect range
check, throw out-of-range rather than wrong-type-arg.
2004-08-06 01:04:05 +00:00
Kevin Ryde
bc91b91e8f
(scm_array_fill_x): For byvect char fill, force signed char
...
so as not to depend on signedness of plain char. For byvect range
check, throw out-of-range rather than wrong-type-arg.
2004-08-06 01:02:05 +00:00
Kevin Ryde
29da36e4ab
(scm_uniform_vector_ref): For byvect, force signed char so as
...
not to depend on C char signedness.
(scm_array_set_x): For byvect, add range check, per array-fill!.
2004-08-06 00:47:24 +00:00
Kevin Ryde
bcb88c93fa
*** empty log message ***
2004-08-06 00:29:13 +00:00
Kevin Ryde
3fdb855887
(uniform-vector-ref): Exercise byte returns.
2004-08-06 00:27:31 +00:00
Kevin Ryde
bebf6a08af
(scm_uniform_vector_ref, scm_array_set_x): For byvect, force
...
signed byte range checks by using scm_to_schar and scm_from_schar,
don't want to depend on signedness of C char.
2004-08-06 00:21:13 +00:00
Kevin Ryde
7f9ca7c3d7
(array-set!): Exercise byte array range checks.
2004-08-06 00:17:12 +00:00
Kevin Ryde
6002ebaf0e
*** empty log message ***
2004-08-06 00:04:14 +00:00
Kevin Ryde
6c60ac51ed
(parse-message): Correction to header
...
continuation, loop with read-line not cdr lines.
2004-08-06 00:03:11 +00:00
Kevin Ryde
d6c803c761
*** empty log message ***
2004-08-05 01:38:24 +00:00