Age | Commit message (Collapse) | Author | Files | Lines |
|
* 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.
|
|
(Not quite finished, the following will be done tomorrow.
module/srfi/*.scm
module/rnrs/*.scm
module/scripts/*.scm
testsuite/*.scm
guile-readline/*
)
|
|
|
|
|
|
|
|
bindings.
* srfi-13.h, srfi-13.c, srfi-14.h, srfi-14.c: Removed all real
content except for the init functions.
|
|
scm_substring_sharedS.
* srfi-14.c, srfi-13.c: Adapted to new internal string and symbol
API.
|
|
and charset as predicates, per SRFI-13 spec.
|
|
clones of the deprecated validation macros. Replaced every use.
|
|
per doc/ref/srfi-modules.texi.
|
|
return should be #t for an empty string. Reported by Andreas Vögele.
|
|
deprecated.h. Replaced all uses with scm_is_eq.
|
|
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.
|
|
SCM_I_MAKINUM and changed all uses.
|
|
SCM_NEGATE_BOOL, and SCM_BOOLP with scm_is_false, scm_is_true,
scm_from_bool, and scm_is_bool, respectively.
|
|
Cast to unsigned char for isspace.
|
|
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().
|
|
|
|
for char-set:graphic when then token-set hsa been defaulted, grab the
real char-set:graphic from (srfi srfi-14).
|
|
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!
|
|
|
|
work. Thanks to David Pirotte!
|
|
|
|
(scm_string_for_each_index): New func.
Thanks to Alex Shinn.
|
|
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.)
|
|
* 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.
|
|
* Eliminated some potential gc problems.
* Eliminated some signedness problems.
* Minor changes.
|
|
* 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".
|
|
Fixed.
|
|
|
|
* srfi-10.scm: Typo fix.
|
|
add "srfi/" to lines including .x files so they can be found
when build_dir != src_dir.
|
|
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.
|
|
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.
|
|
* guile-srfi.texi: The docs are now up to date with the
implementation and have new introductory material.
|
|
|