1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 12:20:26 +02:00
Commit graph

16 commits

Author SHA1 Message Date
Thien-Thi Nguyen
645f5e0ec1 Retire inclusion guard macro SCM_MAGIC_SNARFER. 2002-03-14 04:07:16 +00:00
Marius Vollmer
bd7c7fc637 (string_titlecase_x): Treat characters as unsigned so that 8-bit chars
work.  Thanks to David Pirotte!
2002-03-11 17:52:41 +00:00
Neil Jerram
9401323e63 * Documentation work. 2001-11-11 15:01:52 +00:00
Thien-Thi Nguyen
0f21643339 (scm_string_for_each): Reverse order of first 2 args.
(scm_string_for_each_index): New func.

Thanks to Alex Shinn.
2001-08-24 21:59:50 +00:00
Mikael Djurfeldt
80fdeb4e5a * tests/srfi-13.test (string-map): Swapped order of string and
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-08-22 12:00:06 +00:00
Martin Grabmüller
2c4df45186 * srfi-4.c: Minor cleanups.
* 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-28 16:39:00 +00:00
Dirk Herrmann
3628462791 * Deprecated scm_makfromstr and added scm_mem2string as a replacement.
* Eliminated some potential gc problems.
* Eliminated some signedness problems.
* Minor changes.
2001-06-26 10:59:34 +00:00
Marius Vollmer
94451729e0 Avoid using module operations from C.
* 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-19 00:17:05 +00:00
Martin Grabmüller
163a7e0d02 * srfi-13.c (scm_string_delete): Logic was inversed for charset.
Fixed.
2001-05-10 13:53:28 +00:00
Martin Grabmüller
2abe254dac * srfi-13.c (scm_string_copyS): Fixed nasty bug. 2001-05-07 22:27:29 +00:00
Martin Grabmüller
2d953700f6 * srfi-14.c, srfi-13.c: Added @bullet to various @itemize lists.
* srfi-10.scm: Typo fix.
2001-05-02 21:47:36 +00:00
Gary Houston
485efc12b7 * srfi-13.c (scm_init_srfi_13), srfi-14.c (scm_init_srfi_14):
add "srfi/" to lines including .x files so they can be found
	when build_dir != src_dir.
2001-04-27 18:16:09 +00:00
Martin Grabmüller
8dddb4bc9f Changed two procedure names to match final SRFI document. Thanks
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-26 19:54:48 +00:00
Martin Grabmüller
653c729127 * srfi-13.c (scm_string_replace): Take sizeof (char) into account
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-25 14:28:11 +00:00
Martin Grabmüller
fafb71de8c * guile-srfi.texi: Removed, because merged with the GRM.
* guile-srfi.texi: The docs are now up to date with the
	implementation and have new introductory material.
2001-04-24 19:38:13 +00:00
Martin Grabmüller
ca003b26ce Integrated the guile-srfi package into the Guile distribution. 2001-04-23 20:21:01 +00:00