summaryrefslogtreecommitdiff
path: root/srfi/srfi-13.c
AgeCommit message (Collapse)AuthorFilesLines
2010-09-12remove empty srfi-4, srfi-13, and srfi-14 shlibsAndy Wingo1-41/+0
* srfi/srfi-13.c: * srfi/srfi-13.h: * srfi/srfi-14.c: * srfi/srfi-14.h: * srfi/srfi-4.c: * srfi/srfi-4.h: * srfi/Makefile.am: * configure.ac: Remove empty shlibs and headers for srfis 4, 13, and 14. The "version" was never programmatically exported, so there's no possible way people could have used these.
2009-06-17Change Guile license to LGPLv3+Neil Jerram1-6/+7
(Not quite finished, the following will be done tomorrow. module/srfi/*.scm module/rnrs/*.scm module/scripts/*.scm testsuite/*.scm guile-readline/* )
2008-09-13Include <config.h> in all C files; use `#ifdef HAVE_CONFIG_H' rather than `#if'.Ludovic Courtès1-2/+6
2006-04-16merge from 1.8 branchKevin Ryde1-1/+1
2005-05-23The FSF has a new address.Marius Vollmer1-1/+1
2004-08-24* srfi-13.scm, srfi-14.scm: Simply re-export the relevantMarius Vollmer1-3067/+8
bindings. * srfi-13.h, srfi-13.c, srfi-14.h, srfi-14.c: Removed all real content except for the init functions.
2004-08-19* srfi-13.h, srfi-13.c: (scm_substring_shared): Renamed toMarius Vollmer1-354/+377
scm_substring_sharedS. * srfi-14.c, srfi-13.c: Adapted to new internal string and symbol API.
2004-08-14(scm_string_any, scm_string_every): Add support for charKevin Ryde1-20/+59
and charset as predicates, per SRFI-13 spec.
2004-08-12(MY_VALIDATE_SUBSTRING_SPEC_COPY, MY_VALIDATE_STRING_COPY): ModernizedMarius Vollmer1-265/+291
clones of the deprecated validation macros. Replaced every use.
2004-08-05(scm_string_any, scm_string_every): Enhance docstrings asKevin Ryde1-8/+24
per doc/ref/srfi-modules.texi.
2004-08-02(scm_string_every): Correction to initial "res" value,Kevin Ryde1-1/+1
return should be #t for an empty string. Reported by Andreas Vögele.
2004-07-27* tags.h, deprecated.h (SCM_EQ_P): Deprecated by moving it intoMarius Vollmer1-4/+4
deprecated.h. Replaced all uses with scm_is_eq.
2004-07-10Changed all uses of SCM_VALIDATE_INUM, SCM_VALIDATE_INUM_COPY,Marius Vollmer1-42/+45
SCM_VALIDATE_BIGINT, SCM_VALIDATE_INUM_MIN, SCM_VALIDATE_INUM_MIN_COPY, SCM_VALIDATE_INUM_MIN_DEF_COPY,SCM_VALIDATE_INUM_DEF, SCM_VALIDATE_INUM_DEF_COPY, SCM_VALIDATE_INUM_RANGE, SCM_VALIDATE_INUM_RANGE_COPY to scm_to_size_t or similar.
2004-07-08* numbers.h (SCM_MAKINUM, SCM_I_MAKINUM): Renamed SCM_MAKINUM toMarius Vollmer1-66/+66
SCM_I_MAKINUM and changed all uses.
2004-07-06Replaced all uses of deprecated SCM_FALSEP, SCM_NFALSEP, SCM_BOOL,Marius Vollmer1-24/+24
SCM_NEGATE_BOOL, and SCM_BOOLP with scm_is_false, scm_is_true, scm_from_bool, and scm_is_bool, respectively.
2004-04-15(scm_string_trim, scm_string_trim_right, scm_string_trim_both):Kevin Ryde1-5/+5
Cast to unsigned char for isspace.
2004-04-06* srfi-13.c (s_scm_string_map): convert character to unsigned charHan-Wen Nienhuys1-28/+33
before converting to unsigned int. This prevents hi-bit ascii as being converted large integers. (string_upcase_x): change caller for scm_{up,down}case to scm_c_{up,down}case * chars.h (scm_init_chars): change scm_{upcase,downcase} to scm_c_{up,down}case. (SCM_MAKE_CHAR): add (unsigned char) cast. This prevents havoc when hi-bit ASCII is subjected to SCM_MAKE_CHAR().
2003-04-05Changed license terms to the plain LGPL thru-out.Marius Vollmer1-37/+11
2002-05-06(scm_string_tokenize): Instead of using "isgraphic" as the subtituteMarius Vollmer1-21/+13
for char-set:graphic when then token-set hsa been defaulted, grab the real char-set:graphic from (srfi srfi-14).
2002-04-26(s_scm_string_tokenize): Only take character sets as the second arg.Marius Vollmer1-39/+13
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-03-14Retire inclusion guard macro SCM_MAGIC_SNARFER.Thien-Thi Nguyen1-2/+0
2002-03-11(string_titlecase_x): Treat characters as unsigned so that 8-bit charsMarius Vollmer1-2/+2
work. Thanks to David Pirotte!
2001-11-11* Documentation work.Neil Jerram1-2/+2
2001-08-24(scm_string_for_each): Reverse order of first 2 args.Thien-Thi Nguyen1-66/+88
(scm_string_for_each_index): New func. Thanks to Alex Shinn.
2001-08-22* tests/srfi-13.test (string-map): Swapped order of string andMikael Djurfeldt1-6/+6
proc args to conform with the srfi. (Thanks to Alex Shinn.) * srfi-13.c (string-map): Swapped order of string and proc args to conform with the srfi. (Thanks to Alex Shinn.)
2001-06-28 * srfi-4.c: Minor cleanups.Martin Grabmüller1-63/+56
* srfi-14.c (scm_char_set_fold, scm_char_set_unfold) (scm_char_set_unfold_x, scm_char_set_for_each) (scm_char_set_map, scm_char_set_filter) (scm_char_set_filter_x, scm_char_set_count) (scm_char_set_every, scm_char_set_any): Replace calls to scm_apply() with the corresponding scm_call_N() functions. * srfi-14.c (scm_char_set_ref, scm_char_set_cursor_next) (scm_char_set_unfold, scm_char_set_unfold_x) (scm_char_set_map, scm_char_set_diff_plus_intersection) (scm_char_set_diff_plus_intersection_x): Replace deprecated macros SCM_LISTN with calls to scm_list_N(). * srfi-13.c (scm_string_tabulate, scm_string_map) (scm_string_map_x, scm_string_unfold) (scm_string_unfold_right): Replace deprecated macros SCM_LISTN with calls to scm_list_N(). * srfi-13.c (scm_string_any, scm_string_every), (scm_string_tabulate, scm_string_trim), (scm_string_trim_right, scm_string_trim_both), (scm_string_compare, scm_string_compare_ci), (scm_string_indexS, scm_string_index_right), (scm_string_skip, scm_string_skip_right, scm_string_count), (scm_string_map, scm_string_map_x, scm_string_fold), (scm_string_fold_right, scm_string_unfold), (scm_string_unfold_right, scm_string_for_each), (scm_string_filter, scm_string_delete): Replace calls to scm_apply() with the corresponding scm_call_N() functions.
2001-06-26* Deprecated scm_makfromstr and added scm_mem2string as a replacement.Dirk Herrmann1-17/+14
* Eliminated some potential gc problems. * Eliminated some signedness problems. * Minor changes.
2001-05-19Avoid using module operations from C.Marius Vollmer1-23/+1
* srfi-13.c (scm_init_srfi_13_14): Removed. * srfi-14.h, srfi-14.c (scm_c_init_srfi_14): New. Contains initializations needed by C clients of srfi-14. (scm_init_srfi_13, scm_init_srfi_14): Call it. * srfi-13.scm: Call "scm_init_srf_13" instead of "scm_init_srfi_13_14". * srfi-14.scm: Call "scm_init_srf_14" instead of "scm_init_srfi_13_14".
2001-05-10 * srfi-13.c (scm_string_delete): Logic was inversed for charset.Martin Grabmüller1-1/+1
Fixed.
2001-05-07 * srfi-13.c (scm_string_copyS): Fixed nasty bug.Martin Grabmüller1-1/+1
2001-05-02 * srfi-14.c, srfi-13.c: Added @bullet to various @itemize lists.Martin Grabmüller1-4/+4
* srfi-10.scm: Typo fix.
2001-04-27 * srfi-13.c (scm_init_srfi_13), srfi-14.c (scm_init_srfi_14):Gary Houston1-1/+1
add "srfi/" to lines including .x files so they can be found when build_dir != src_dir.
2001-04-26 Changed two procedure names to match final SRFI document. ThanksMartin Grabmüller1-7/+9
to Rob Browning for spotting this. * srfi-13.scm (string-concatenate-reverse), (string-concatenate-reverse/shared): Rename from reverse-string-concatenate[/shared]. * srfi-13.c (scm_string_concatenate_reverse_shared): Renamed from scm_reverse_string_concatenate_shared. (scm_string_concatenate_reverse): Renamed from scm_reverse_string_concatenate.
2001-04-25 * srfi-13.c (scm_string_replace): Take sizeof (char) into accountMartin Grabmüller1-5/+6
when using memmove(). * srfi-14.h: Added prototypes for all exported procedures.. * srfi-13.c: Include srfi-13.h * srfi-13.h: New file containing the prototypes. * Makefile.am: Removed guile-srfi.texi and info_TEXINFOS variable. (libguile_srfi_srfi_13_14_la_SOURCES): Added srfi-14.h, so it gets distributed. (libguile_srfi_srfi_13_14_la_SOURCES): Added srfi-13.h.
2001-04-24 * guile-srfi.texi: Removed, because merged with the GRM.Martin Grabmüller1-2/+2
* guile-srfi.texi: The docs are now up to date with the implementation and have new introductory material.
2001-04-23Integrated the guile-srfi package into the Guile distribution.Martin Grabmüller1-0/+3052