1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-04 22:40:25 +02:00
Commit graph

8995 commits

Author SHA1 Message Date
Kevin Ryde
75b14838a6 *** empty log message *** 2003-06-11 23:56:55 +00:00
Kevin Ryde
d4d694b6c6 *** empty log message *** 2003-06-11 23:44:33 +00:00
Kevin Ryde
ab32320df4 * tests/srfi-6.test: New file.
* Makefile.am (SCM_TESTS): Add it.
2003-06-11 23:44:01 +00:00
Kevin Ryde
ff4b83917a (scm_putenv): Add freebsd to comment about need to use unsetenv. 2003-06-11 23:43:03 +00:00
Kevin Ryde
f158788fd1 Correction to:
(scm_putenv): Free temporary ptr in mingw unset.

Need to ensure "e" is not unused when unsetenv is available.
2003-06-11 23:24:08 +00:00
Kevin Ryde
c3ae8e07fc *** empty log message *** 2003-06-11 23:21:45 +00:00
Kevin Ryde
dd65e90f3b (scm_putenv): Free temporary ptr in mingw unset. 2003-06-11 23:15:02 +00:00
Kevin Ryde
7e88be2ee8 (Remembering During Operations): New section. 2003-06-11 23:07:53 +00:00
Kevin Ryde
94270e8175 (Primitive Numerics): Add atan2, pow, asinh, acosh
and atanh to scheme<->C table.  Note asinh, acosh and atanh are C99,
and scm_asinh, scm_acosh and scm_atanh are equivalents.  Cross ref
glibc "Mathematics".  Reword this end part for clarity.
2003-06-11 22:57:13 +00:00
Kevin Ryde
416715f48a * scheme-memory.texi (Memory Blocks): Use {} around types for
@deftypefn, for correct name in indexes.
	* scheme-utility.texi (C Hooks): Ditto.
2003-06-11 22:49:21 +00:00
Kevin Ryde
fe2a94df99 * scheme-memory.texi (Memory Blocks): Use {} around types for
@deftypefn, for correct name in indexes.
	* gh.texi (Scheme to C): Ditto.
2003-06-11 22:47:37 +00:00
Kevin Ryde
800a5002f0 (Memory Blocks): Use {} around types for
@deftypefn, for correct name in indexes.
2003-06-11 22:42:06 +00:00
Kevin Ryde
e7ebb1e069 *** empty log message *** 2003-06-11 22:39:32 +00:00
Kevin Ryde
6422fd511b (Scheme to C): In gh_scm2newstr, lenp is size_t* not int*.
This changed in guile 1.6, the docs weren't updated.
2003-06-11 22:37:34 +00:00
Kevin Ryde
14dce556df (Scheme to C): In gh_scm2newstr, lenp is size_t* not int*.
This changed in guile 1.6, the docs weren't updated.
2003-06-11 22:36:08 +00:00
Marius Vollmer
42a67b6510 *** empty log message *** 2003-06-09 22:14:45 +00:00
Marius Vollmer
60ae1e12a5 (scm_get_stack_base): New version using __libc_stack_end, when
available.
2003-06-09 22:14:02 +00:00
Marius Vollmer
5eb040aa8b (HAVE_LIBC_STACK_END): New check, to be used in libguile/gc_os_dep.c 2003-06-09 22:08:25 +00:00
Marius Vollmer
067067e492 *** empty log message *** 2003-06-09 21:25:38 +00:00
Marius Vollmer
0d044fd484 Minor punctuation mistakes. Hyphens should link compound adjectives.
Commas should be placed after a "therefore" that begins a sentence.
Commas should not be used to separate a list of only 2 dependent
clauses.
2003-06-09 21:23:16 +00:00
Marius Vollmer
9d9fa0928a *** empty log message *** 2003-06-09 20:23:24 +00:00
Marius Vollmer
8d54e73a89 Updated NEWS entry about threading. 2003-06-09 20:17:35 +00:00
Marius Vollmer
9134f724d8 *** empty log message *** 2003-06-09 20:02:59 +00:00
Marius Vollmer
1a973c42e2 (scm_peek_char): Safe the column of the port around the getc/ungetc
calls.  Thanks to Dr. Peter Ivanyi!
2003-06-09 20:02:20 +00:00
Kevin Ryde
ae0bdfe00d *** empty log message *** 2003-06-07 00:19:21 +00:00
Kevin Ryde
243a237bdd (Arithmetic): Cross reference glibc floor and ceil. 2003-06-07 00:18:33 +00:00
Kevin Ryde
f24783754b *** empty log message *** 2003-06-06 22:38:48 +00:00
Kevin Ryde
0e87743aac New file. 2003-06-06 22:38:20 +00:00
Kevin Ryde
056c43e7db #:re-export open-input-string, open-output-string and
get-output-string, for the benefit of applications wanting to use
#:select on the module.
2003-06-06 22:36:17 +00:00
Kevin Ryde
ee89863b09 Use inttypes.h and stdint.h when available, for INTPTR_MAX
and friends required by scm_t_bits setups.
2003-06-06 22:32:29 +00:00
Dirk Herrmann
6375e04059 * tags.h (scm_tc2_int): Added.
* tags.h (scm_tc3_int_1, scm_tc3_int_2): Expressed in terms of
	scm_tc2_int.

	* tags.h (scm_tcs_cons_imcar, scm_tcs_cons_nimcar, scm_tcs_struct,
	scm_tcs_closures): Hard coded values replaced by symbolic ones.
2003-06-06 06:02:20 +00:00
Kevin Ryde
dc07c1a185 *** empty log message *** 2003-06-05 01:03:06 +00:00
Kevin Ryde
9e996fb19f (Network Sockets and Communication): Cross reference
Ports node on explicit closing.
2003-06-05 01:02:41 +00:00
Kevin Ryde
7d5b2929b8 (Ports): Add notes on garbage collection, and on
explicitly closing file ports.
(File Ports): Cross reference Ports node on explicit closing.
2003-06-05 00:56:33 +00:00
Dirk Herrmann
f5c6ec2fb0 * test-suite/tests/chars.test: Fixed test comment. The bug that
this test detects was actually introduced by my patch from
	2003-05-31.

	* libguile/eval.c: Partially undid my patch from 2003-05-31.  This
	patch caused the segfault referenced in the previous changelog
	entry.
2003-06-04 23:50:13 +00:00
Dirk Herrmann
47dbd81e77 * test-suite/tests/chars.test: Added test, attempting to apply a
character.  This test will only pass if the other changes that are
	submitted together with this patch are also applied.

	* libguile/tags.h: Fixed comment about the immediate type code
	layout.

	* libguile/eval.c: Fixed handling of non-special instructions.
	Without this patch, guile will segfault on (#\0) and similar
	instructions.
2003-06-04 23:22:54 +00:00
Kevin Ryde
18f7ef3859 Shrink the futures entry, details now in the manual. 2003-06-04 16:46:02 +00:00
Kevin Ryde
e418bd7c12 *** empty log message *** 2003-06-04 16:38:59 +00:00
Kevin Ryde
b7d22e033c (reading): Test bad # error message is formattable. 2003-06-04 16:37:30 +00:00
Kevin Ryde
dd72382c32 (scm_input_error): Pass arg list parameter to scm_error_scm,
rather than SCM_EOL.  Needed by "Unknown # object" case in scm_lreadr.
2003-06-04 16:36:03 +00:00
Kevin Ryde
f0d1cf6f29 (Delayed Evaluation): Add delay, reword
promise? and force a bit, describe recursive forcing of a promise by
its own code.
2003-06-04 16:32:25 +00:00
Kevin Ryde
9e8c5bd0be (Futures): New section. 2003-06-04 16:21:32 +00:00
Kevin Ryde
3ec52c513f *** empty log message *** 2003-06-04 16:14:37 +00:00
Kevin Ryde
795c0baec6 (logcount): Add a few more tests, to exercise
recent scm_logcount change.
2003-06-04 16:12:09 +00:00
Kevin Ryde
e06beeadda (scm_max, scm_min): For inum, bignum and real, if other
operand is NaN, then return NaN.  Also avoid passing NaN to mpz_cmp_d.
2003-06-04 16:09:38 +00:00
Kevin Ryde
243bdb6381 Add an @: missing from
* srfi-modules.texi (SRFI-1 Deleting): Rewrite delete and
	delete-duplicates, adding behaviour details specified by srfi-1.
2003-06-04 15:48:36 +00:00
Kevin Ryde
5519096e55 (SRFI-13 Miscellaneous): In string-replace, note
that start1 and end1 optional is a Guile extension.
2003-06-04 15:46:40 +00:00
Kevin Ryde
f5f7888d1c (File System): stat:rdev and stat:blocks can return #f,
stat:blksize returns a sensible size if the field is not available.
2003-06-04 15:37:28 +00:00
Kevin Ryde
d23496c0c7 (Array Mapping): Reword for clarity, and in
particular have the same parameter names in the text and prototypes.
2003-06-04 15:33:13 +00:00
Dirk Herrmann
d0624e391b * __scm.h, gc-card.c (SCM_DEBUG_DEBUGGER_SUPPORT,
SCM_DEBUG_DEBUGGING_SUPPORT): Renamed macro
	SCM_DEBUG_DEBUGGER_SUPPORT to SCM_DEBUG_DEBUGGING_SUPPORT and
	generalized it to apply not only to C level functions but also to
	scheme level functions.

	* debug.c, debug.h, eval.c (make-iloc, scm_make_iloc, iloc?,
	scm_iloc_p, dbg-make-iloc, scm_dbg_make_iloc, dbg-iloc?,
	scm_dbg_iloc_p): Moved functions scm_make_iloc, scm_iloc_p to
	eval.c, made them available under SCM_DEBUG_DEBUGGING_SUPPORT == 1
	only and renamed them to scm_dbg_make_iloc, scm_dbg_iloc_p,
	respectively.

	* deprecated.h, eval.c, eval.h (SCM_ILOC00, SCM_IDINC,
	SCM_IDSTMSK): Deprecated.  The macro definitions are moved from
	eval.h into eval.c and a copy is placed into deprecated.h.

	* eval.c, eval.h (SCM_MAKE_ILOC): Removed from eval.h and placed
	into eval.c. This definition was not part of the API in any
	officially released version of guile and thus does not need to go
	through a phase of deprecation.
2003-06-04 05:28:34 +00:00