summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-08-18This commit was manufactured by cvs2svn to create tagbefore-merge_mvo-substringscvs2svn0-0/+0
'before-merge_mvo-substrings'.
2004-08-18New file.Kevin Ryde1-0/+32
2004-08-18*** empty log message ***Kevin Ryde1-3/+4
2004-08-18 * tests/and-let-star.test, tests/arbiters.test, tests/receive.test:Kevin Ryde1-0/+2
New files. * Makefile.am (SCM_TESTS): Add them.
2004-08-18New file.Kevin Ryde1-0/+32
2004-08-18Add cond-expand-provide srfi-8, since this module provides that feature.Kevin Ryde1-1/+3
2004-08-18*** empty log message ***Kevin Ryde1-0/+7
2004-08-18Add cond-expand-provide srfi-2, since this module provides that feature.Kevin Ryde1-0/+2
2004-08-18*** empty log message ***Kevin Ryde1-0/+9
2004-08-18(Internet Socket Examples): Correction to socket calls,Kevin Ryde1-2/+2
should be PF_INET not AF_INET (though generally the two are the same value).
2004-08-17(Network Sockets and Communication): Add SOCK_RDM and SOCK_SEQPACKET.Kevin Ryde1-0/+2
2004-08-17*** empty log message ***Kevin Ryde1-0/+1
2004-08-17*** empty log message ***Kevin Ryde1-0/+2
2004-08-17(scm_init_socket): Add SOCK_SEQPACKET and SOCK_RDM.Kevin Ryde1-1/+11
2004-08-17*** empty log message ***Kevin Ryde1-0/+3
2004-08-17*** empty log message ***Kevin Ryde1-0/+18
2004-08-17(fport_print): Use scm_ttyname instead of ttyname directly,Kevin Ryde1-1/+2
to get thread safety of scm_ttyname.
2004-08-17(ttyname): Remove prototype, unused.Kevin Ryde1-4/+0
2004-08-17(fractions): Correction, equal? 3/4 .75 should be #f, according to R5RS.Kevin Ryde1-1/+1
2004-08-17(scm_equal_p): Remove real==fraction and fraction==real, theyKevin Ryde1-19/+1
must be #f according to R5RS. (equal? follows eqv?, and for eqv? an exact and inexact is #f.)
2004-08-17*** empty log message ***Kevin Ryde1-0/+5
2004-08-17 * tests/arbiters.test: New fileKevin Ryde1-0/+1
* Makefile.am (SCM_TESTS): Add it.
2004-08-17New file.Kevin Ryde1-0/+102
2004-08-17(FETCH_STORE): New macro.Kevin Ryde1-42/+65
(SCM_LOCK_VAL, SCM_UNLOCK_VAL): New constants. (SCM_LOCK_ARB, SCM_UNLOCK_ARB): Remove, effectively absorbed into scm_try_arbiter and scm_release_arbiter. (scm_try_arbiter, scm_release_arbiter): Use FETCH_STORE to get xchg for speed on i386, otherwise using mutex.
2004-08-15*** empty log message ***Marius Vollmer3-0/+9
2004-08-15New, from Jose A Ortega Ruiz. Thanks!Marius Vollmer2-0/+161
2004-08-14*** empty log message ***Kevin Ryde1-0/+5
2004-08-14(Mutexes): New datatype-centric section, addingKevin Ryde1-96/+153
fair mutexes and collecting up material from ... (Low level thread primitives, Higher level thread procedures, C level thread interface): ... these nodes.
2004-08-14*** empty log message ***Kevin Ryde1-0/+5
2004-08-14Typo in:Kevin Ryde1-1/+1
(SRFI-13 Predicates): Add string-any and string-every support for char and charset predicates.
2004-08-14(SRFI-13 Predicates): Add string-any andKevin Ryde1-16/+46
string-every support for char and charset predicates.
2004-08-14*** empty log message ***Kevin Ryde1-0/+5
2004-08-14(string-any, string-every): Exercise char and charset predicate cases.Kevin Ryde1-42/+186
2004-08-14*** empty log message ***Kevin Ryde1-0/+5
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-13*** empty log message ***Marius Vollmer1-0/+6
2004-08-13(scm_init_load_path): Do not pass NULL to scm_to_locale_string, whichMarius Vollmer1-2/+4
would happen when GUILE_LOAD_PATH is not set. Thanks to Bill Schottstaedt.
2004-08-12*** empty log message ***Marius Vollmer2-2/+22
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-12* socket.c, rw.c, deprecated.h, validate.hMarius Vollmer18-135/+189
(SCM_VALIDATE_STRING_COPY): Deprecated. Replaced all uses with SCM_VALIDATE_STRING plus SCM_I_STRING_CHARS or scm_to_locale_string, etc. (SCM_VALIDATE_SUBSTRING_SPEC_COPY): Deprecated. Replaced as above, plus scm_i_get_substring_spec. * regex-posix.c, read.c, random.c, ramap.c, print.c, numbers.c, hash.c, gc.c, gc-card.c, convert.i.c, backtrace.c, strop.c, strorder.c, strports.c, struct.c, symbols.c, unif.c, ports.c: Use SCM_I_STRING_CHARS, SCM_I_STRING_UCHARS, and SCM_I_STRING_LENGTH instead of SCM_STRING_CHARS, SCM_STRING_UCHARS, and SCM_STRING_LENGTH, respectively. Also, replaced scm_return_first with more explicit scm_remember_upto_here_1, etc, or introduced them in the first place.
2004-08-12*** empty log message ***Marius Vollmer1-0/+89
2004-08-12* strings.h, strings.c (scm_i_get_substring_spec): New.Marius Vollmer4-25/+50
* socket.c, rw.c, deprecated.h, validate.h (SCM_VALIDATE_STRING_COPY): Deprecated. Replaced all uses with SCM_VALIDATE_STRING plus SCM_I_STRING_CHARS or scm_to_locale_string, etc. (SCM_VALIDATE_SUBSTRING_SPEC_COPY): Deprecated. Replaced as above, plus scm_i_get_substring_spec.
2004-08-12* socket.c (scm_inet_aton, scm_inet_pton): Convert SCM strings toMarius Vollmer1-12/+35
locale strings instead of accessing their internals. (scm_recv, scm_send, scm_recvfrom, scm_sendto): Use SCM_I_STRING_CHARS and SCM_I_STRING_LENGTH instead of SCM_STRING_CHARS and SCM_STRING_LENGTH. * socket.c, rw.c, deprecated.h, validate.h (SCM_VALIDATE_STRING_COPY): Deprecated. Replaced all uses with SCM_VALIDATE_STRING plus SCM_I_STRING_CHARS or scm_to_locale_string, etc. (SCM_VALIDATE_SUBSTRING_SPEC_COPY): Deprecated. Replaced as above, plus scm_i_get_substring_spec.
2004-08-12(scm_system): Convert SCM strings to locale strings instead ofMarius Vollmer1-3/+6
accessing their internals.
2004-08-12Convert version to locale string before printing it.Marius Vollmer1-1/+1
2004-08-12(scm_read_delimited_x): AvoidMarius Vollmer1-8/+13
SCM_VALIDATE_SUBSTRING_SPEC_COPY and use scm_from_size_t instead of scm_from_long for the returned number of read characters.
2004-08-12(STRING_SYSCALL, STRING2_SYSCALL): New helper macros.Marius Vollmer1-56/+95
Use them instead of SCM_SYSCALL when one or two strings need to be converted into locale strings. (my_rename): New, gathers platform dependent code for renaming. (scm_rename): Use it. (scm_readlink, scm_copy_file): Convert SCM strings to locale strings instead of accessing their internals. (scm_basename, scm_dirname): Use SCM_I_STRING_CHARS and SCM_I_STRING_LENGTH instead of SCM_STRING_CHARS and SCM_STRING_LENGTH.
2004-08-12(WITH_STRING): New helper macro. Use it where oneMarius Vollmer1-69/+94
locale string is needed for a short piece of code. (STRING_SYSCALL): New helper macro. Use it instead of SCM_SYSCALL when one locale string is needed. (scm_mkstemp): Convert tmpl to a locale string. (scm_putenv): Rewritten to use only C strings. (scm_setlocale, scm_crpt): Convert argument strings to locale strings.
2004-08-12(scm_fdopen): Use scm_i_fdes_to_port together with scm_i_mode_bits toMarius Vollmer1-3/+3
avoid accessing internals of SCM string from C.
2004-08-12(load_extension): Convert lib and init to localeMarius Vollmer1-14/+24
strings instead of accessing the internals directly. (scm_c_load_extension): Use scm_from_locale_string instead of scm_makfrom0str.