1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 11:50:28 +02:00
Commit graph

10 commits

Author SHA1 Message Date
Marius Vollmer
69d2000d93 Docstring updates. 2005-03-04 17:55:49 +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
Marius Vollmer
d2e53ed6f8 *** empty log message *** 2004-09-22 17:41:37 +00:00
Marius Vollmer
4a310f1c92 (scm_string_contains, scm_string_contains_ci): Reworded logic a bit so
that #f is returned immediately when s1 is too short to contain s2.
2004-09-22 15:03:17 +00:00
Marius Vollmer
1a82a4606c (scm_string_any, scm_string_every,
scm_string_tabulate, string_upcase_x, string_down_case_x,
string_titlecase_x, string_reverse_x, scm_string_tokenize): Use
size_t instead of int for indices into strings.  Make sure that no
over- or underflow occurs.  Thanks to Andreas Vögele!
(scm_xsubstring, scm_string_xcopy_x): Use ints for 'extended'
indices, which can also be negative.
2004-09-20 22:50:31 +00:00
Han-Wen Nienhuys
adba74f3a6 2004-09-13 Jan Nieuwenhuizen <janneke@gnu.org>
* srfi-13.c (scm_string_contains, s_scm_string_contains_ci):
	Bugfix: when subtracting unsigned values, make sure that result
	does not wrap.
2004-09-14 21:10:56 +00:00
Marius Vollmer
616775edb7 (scm_string_trim_right, scm_string_xcopy_x): Correctly use size_t for
some locals instead of int.
2004-09-07 13:48:49 +00:00
Marius Vollmer
3731fc6718 * srfi-13.c: First cut at thread-safeness and proper use of
scm_i_string_chars et al.  Copious scm_remember_upto_heres have
been inserted.  Made sure that no internal string pointer is used
across a SCM_TICK or a possible GC.
2004-08-25 16:04:09 +00:00
Marius Vollmer
2562032b61 (scm_string_rindex): Export to Scheme, as it has always been. 2004-08-25 13:42:04 +00:00
Marius Vollmer
63181a97f5 * srfi-13.c, srfi-13.h, srfi-14.c, srfi-14.h: New files.
* strop.h, strop.c: Removed, they are now empty.
* Makefile.am: Updated for new and removed files.
2004-08-24 22:12:08 +00:00