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
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
Kevin Ryde
13aa46a9de
*** empty log message ***
2004-08-02 00:32:16 +00:00
Kevin Ryde
4e34b8879a
(scm_string_every): Correction to initial "res" value,
...
return should be #t for an empty string. Reported by Andreas Vögele.
2004-08-02 00:27:35 +00:00
Kevin Ryde
8c460409de
*** empty log message ***
2004-05-13 21:12:02 +00:00
Marius Vollmer
627861983e
*** empty log message ***
2004-05-11 19:08:24 +00:00
Marius Vollmer
9ac10bbeb6
(scm_string_trim, scm_string_trim_right, scm_string_trim_both): Cast
...
to unsigned char for isspace.
2004-05-11 19:07:39 +00:00
Kevin Ryde
3f34399562
*** empty log message ***
2004-04-23 21:26:21 +00:00
Kevin Ryde
6e98021b0a
(list-copy): New function, allowing improper lists as per
...
SRFI-1 spec, which the core list-copy doesn't do.
2004-04-23 21:22:33 +00:00
Kevin Ryde
5f663d6cdc
*** empty log message ***
2004-04-17 23:23:52 +00:00
Kevin Ryde
6a9d6cc194
(let-values): Use gensym instead of gentemp, to avoid
...
deprecation warning from the latter. Reported by Andreas Rottmann.
(Same change made by Marius in the cvs head.)
2004-04-17 23:22:33 +00:00
Rob Browning
1d69d405d5
*** empty log message ***
2004-02-01 21:42:30 +00:00
Rob Browning
e25853106e
(srfi_DATA): add srfi-31.scm.
2004-02-01 21:41:23 +00:00
Rob Browning
819f477aba
new file.
2004-02-01 21:41:11 +00:00
Kevin Ryde
4449eb27bf
*** empty log message ***
2003-08-26 00:18:03 +00:00
Kevin Ryde
dab3d424b0
(date-week-number): Correction, day of week starting
...
week applied was off by one.
2003-08-26 00:14:28 +00:00
Kevin Ryde
735a60b2b1
*** empty log message ***
2003-05-16 01:04:55 +00:00
Kevin Ryde
344c4c7e21
(delete): Fix predicate arg order to match srfi-1 spec.
2003-05-16 01:04:21 +00:00
Rob Browning
eaaae3ed2f
*** empty log message ***
2003-02-01 17:50:45 +00:00
Rob Browning
fe401116ba
* Makefile.am: move built files to nodist_ targets so they don't
...
end up in the dist tarfile.
(libguile_srfi_srfi_4_v_@LIBGUILE_SRFI_SRFI_4_MAJOR@_la_SOURCES):
remove srfi-4.x.
(nodist_libguile_srfi_srfi_4_v_@LIBGUILE_SRFI_SRFI_4_MAJOR@_la_SOURCES): add srfi-4.x.
(libguile_srfi_srfi_13_14_v_@LIBGUILE_SRFI_SRFI_13_14_MAJOR@_la_SOURCES): remove srfi-13.x srfi-14.x.
(nodist_libguile_srfi_srfi_13_14_v_@LIBGUILE_SRFI_SRFI_13_14_MAJOR@_la_SOURCES): add srfi-13.x srfi-14.x.
2003-02-01 17:49:13 +00:00
Rob Browning
9ccfa5bf15
*** empty log message ***
2002-12-08 21:03:40 +00:00
Rob Browning
5a3300a23b
* Makefile.am (srfidir): VERSION -> GUILE_EFFECTIVE_VERSION.
2002-12-08 20:44:03 +00:00
Rob Browning
18765d593e
*** empty log message ***
2002-10-10 04:26:08 +00:00
Rob Browning
3b463c07ea
* Makefile.am (srfiinclude_HEADERS, srfiincludedir): install the
...
srfi headers into guile/srfi/.
2002-10-10 04:25:48 +00:00
Rob Browning
a3a173b01a
*** empty log message ***
2002-07-20 20:21:57 +00:00
Rob Browning
6d816e8d41
* srfi-4.scm: load libguile-srfi-srfi-4-v-MAJOR now.
2002-07-20 20:20:58 +00:00
Rob Browning
ead6015e21
* srfi-14.scm: load libguile-srfi-srfi-13-14-v-MAJOR now.
2002-07-20 20:20:51 +00:00
Rob Browning
d1f6bda7ba
* srfi-13.scm: load libguile-srfi-srfi-13-14-v-MAJOR now.
2002-07-20 20:20:45 +00:00
Rob Browning
427bab0596
* Makefile.am (lib_LTLIBRARIES): just name dlsymable libs with
...
their major version number, not the whole version. That should be
sufficient for now.
2002-07-20 20:20:38 +00:00
Marius Vollmer
a3119b740f
*** empty log message ***
2002-05-06 18:43:12 +00:00
Marius Vollmer
45b2947945
(SCM_CHARSET_GET): Cast IDX to unsigned char so that it works for
...
8-bit characters. Thanks to Matthias Koeppe! No, make that "Köppe".
2002-05-06 18:43:06 +00:00
Marius Vollmer
c1855462dd
*** empty log message ***
2002-04-26 19:20:55 +00:00
Marius Vollmer
65f5dbae9a
(s_scm_string_tokenize): Only take character sets as the second arg.
...
Collect characters belonging to this set into tokens (as specified by
the SRFI), instead of splitting at these characters. Default to an
equivalent of char-set:graphic instead of everything-but-whitespace.
Thanks to Matthias Koeppe!
2002-04-26 19:16:38 +00:00
Rob Browning
cec1f414cc
*** empty log message ***
2002-04-09 17:27:46 +00:00
Rob Browning
852b06e2f4
* srfi-4.scm: hack around dynamic-link problems by
...
using painfully explicit lib names.
2002-04-09 17:27:35 +00:00
Rob Browning
667f6c2fbd
* srfi-14.scm: hack around dynamic-link problems by
...
using painfully explicit lib names.
2002-04-09 17:27:28 +00:00
Rob Browning
a2174d4286
* srfi-13.scm: hack around dynamic-link problems by
...
using painfully explicit lib names.
2002-04-09 17:27:22 +00:00
Rob Browning
87cf132b41
* Makefile.am: hack around dynamic-link problems by
...
using painfully explicit lib names.
2002-04-09 17:26:37 +00:00
Rob Browning
0b829ad07e
* .cvsignore: add *.c.clean.c.
2002-04-02 01:41:13 +00:00
Thien-Thi Nguyen
96d1f6eb64
*** empty log message ***
2002-03-28 01:53:18 +00:00
Thien-Thi Nguyen
3e676b6f82
Update copyright.
...
Point to manual in commentary; nfc.
2002-03-28 01:52:37 +00:00
Marius Vollmer
aa377eff24
*** empty log message ***
2002-03-20 20:57:19 +00:00
Marius Vollmer
fa378b0d11
(.c.x): Pass "-o $@" to guile-snarf.
2002-03-20 20:55:57 +00:00
Thien-Thi Nguyen
8cdec0abaf
*** empty log message ***
2002-03-14 05:34:52 +00:00
Thien-Thi Nguyen
9557bb80f5
(snarfcppopts): New var.
...
(.c.x): Use $(snarfcppopts). Rework guile-snarf usage.
2002-03-14 05:34:15 +00:00
Thien-Thi Nguyen
19570609ad
Retire inclusion guard macro SCM_MAGIC_SNARFER.
2002-03-14 05:32:48 +00:00
Marius Vollmer
1b74237d4f
*** empty log message ***
2002-03-11 17:56:45 +00:00
Marius Vollmer
c8af4705e0
(string_titlecase_x): Treat characters as unsigned so that 8-bit chars
...
work. Thanks to David Pirotte!
2002-03-11 17:56:39 +00:00
Rob Browning
4f84577b87
*** empty log message ***
2002-03-01 18:22:17 +00:00