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

11 commits

Author SHA1 Message Date
Marius Vollmer
7d81830dd2 The FSF has a new address. 2005-05-23 20:15:36 +00:00
Marius Vollmer
45b2947945 (SCM_CHARSET_GET): Cast IDX to unsigned char so that it works for
8-bit characters.  Thanks to Matthias Koeppe!  No, make that "Köppe".
2002-05-06 18:43:06 +00:00
Rob Browning
f477475abd * srfi-14.h (SCM_CHARSET_GET): need 1L, not just 1 in "<<". 2001-09-21 17:48:35 +00:00
Gary Houston
aaf41af6d5 * srfi-14.c (scm_char_set_diff_plus_intersection): wasn't correctly
accounting for the (char-set-union cs2...) in the spec.  i.e.,
	(char-set-diff+intersection a) -> copy-of-a, empty-set
	and the following are equivalent:
	(char-set-diff+intersection a (char-set #\a) (char-set #\b))
	(char-set-diff+intersection a (char-set #\a #\b))

	(scm_char_set_xor_x): disabled the side-effecting code, since it
	gives inconsistent results to scm_char_set_xor for the case
	(char-set-xor! a a a).

	(scm_char_set_diff_plus_intersection_x): added cs2 argument, since
	two arguments are compulsory in final spec.  also similar changes
	as for scm_char_set_diff_plus_intersection.
	* srfi-14.h (scm_char_set_diff_plus_intersection_x): added cs2.
2001-07-31 21:50:30 +00:00
Gary Houston
a6ec2a3cef * srfi-14.c (scm_char_set_intersection, scm_char_set_xor): remove
the compulsory cs1 arguments: all args are optional in final spec.
	* srfi-14.h: declarations updated.
2001-07-22 20:19:12 +00:00
Martin Grabmüller
8ae7ecf74e * srfi-14.c: Fix for bug caused by brain-malfunctioning on my
side.  Bit sets were handled wrong because I couldn't tell bit
	counts from byte counts.  Also, the bit array should be 256 / 8
	bytes long.  Thank you, Gary!

	Removed unnecessary protoype for scm_char_set_copy.
2001-07-17 05:37:25 +00:00
Gary Houston
88151d3284 (s_scm_char_set_leq): similarly, (char-set<=) should return #t.
take a single "rest" argument.
2001-07-11 22:01:37 +00:00
Gary Houston
2545bd29ee * srfi-14.c (s_scm_char_set_eq): bug fix: (char-set=) should
return #t instead of giving wrong-number-of-arguments . take a
	single "rest" argument.  use memcmp instead of a loop to compare
	the values.
	srfi-14.h: update the declaration.
2001-07-11 20:49:05 +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
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
ca003b26ce Integrated the guile-srfi package into the Guile distribution. 2001-04-23 20:21:01 +00:00