summaryrefslogtreecommitdiff
path: root/libguile/srfi-13.c
AgeCommit message (Collapse)AuthorFilesLines
2005-05-12* unif.c (scm_i_read_array): Declare rank as ssize_t, to guaranteeNeil Jerram1-1/+1
that it is signed. * strports.c (st_resize_port): Add unsigned char cast. (scm_mkstrport): Make read/write_buf cast unsigned. * srfi-13.c (string_titlecase_x): Add unsigned char cast. * rdelim.c (scm_read_line): Initialize slen. * load.c (scm_search_path): Remove weird >=1, and add parentheses to clarify conditions. * hash.c (scm_hasher): Add const unsigned char cast. * gh_data.c (gh_chars2byvect): Add scm_t_int8 cast.
2005-04-10(scm_string_concatenate, scm_string_concatenate_shared):Kevin Ryde1-1/+3
Validate list argument, scm_string_append and scm_string_append_shared don't do that to their rest argument (in a normal build).
2005-03-04Docstring updates.Marius Vollmer1-26/+31
2004-12-14(string-any, string-every): Use a schemeKevin Ryde1-2/+2
wrapper around the C code so for the final call to the predicate procedure is a tail call, per SRFI-13 spec.
2004-09-22*** empty log message ***Marius Vollmer1-7/+7
2004-09-22(scm_string_contains, scm_string_contains_ci): Reworded logic a bit soMarius Vollmer1-33/+35
that #f is returned immediately when s1 is too short to contain s2.
2004-09-20(scm_string_any, scm_string_every,Marius Vollmer1-23/+28
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-142004-09-13 Jan Nieuwenhuizen <janneke@gnu.org>Han-Wen Nienhuys1-2/+2
* 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-07(scm_string_trim_right, scm_string_xcopy_x): Correctly use size_t forMarius Vollmer1-2/+2
some locals instead of int.
2004-08-25* srfi-13.c: First cut at thread-safeness and proper use ofMarius Vollmer1-212/+264
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(scm_string_rindex): Export to Scheme, as it has always been.Marius Vollmer1-3/+16
2004-08-24* srfi-13.c, srfi-13.h, srfi-14.c, srfi-14.h: New files.Marius Vollmer1-0/+3323
* strop.h, strop.c: Removed, they are now empty. * Makefile.am: Updated for new and removed files.