1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 21:10:27 +02:00
Commit graph

7511 commits

Author SHA1 Message Date
Kevin Ryde
d0a634de7d (scm_srfi1_delete, scm_srfi1_delete_x,
scm_srfi1_delete_duplicates, scm_srfi1_delete_duplicates_x): New
functions.  scm_srfi1_delete_x is derived from scm_delete_x.
2003-07-08 00:09:17 +00:00
Kevin Ryde
7a7b738455 (scm_call_with_new_thread): In docstring, use "( )"
outside @var to quieten makeinfo, and use @code.
2003-07-07 22:00:34 +00:00
Kevin Ryde
c2dfff19f6 (scm_char_ready_p, scm_peek_char): In docstrings, don't use
@footnote since it doesn't go though to guile-procedures.txt.
2003-07-07 21:58:55 +00:00
Han-Wen Nienhuys
cbfe8e6242 (decrease_mtrigger): new function
(increase_mtrigger): new function, separate debug registering and
mtrigger administration.
(scm_gc_realloc): bugfix: do mtrigger administration before the
actual realloc, for the realloc might invalidate a GC-d segment of
memory. Thanks to Sam Hocevar for pointing this out.
(scm_gc_realloc): use scm_malloc_reregister instead of
unregistering and registering in sequence.
2003-07-06 14:54:07 +00:00
Han-Wen Nienhuys
aeb4c2e162 (SCM_ASSERT): change "else" expansion to "do { } while (0)" 2003-07-02 23:04:54 +00:00
Han-Wen Nienhuys
4c27f8d23b (SCM_ASRTGO): add "else" to macro expansions with if
clauses.
2003-07-02 16:11:08 +00:00
Marius Vollmer
983e697d52 *** empty log message *** 2003-06-29 14:57:54 +00:00
Marius Vollmer
8de7acbd0f (SCM_OPDIRP, scm_fport, scm_option, scm_srcprops, scm_srcprops_chunk,
scm_info_frame, scm_stack, scm_array, scm_array_dim,
SCM_ARRAY_CONTIGUOUS, SCM_FUNC_NAME, SCM_WTA, RETURN_SCM_WTA,
SCM_VALIDATE_NUMBER_COPY, SCM_VALIDATE_NUMBER_DEF_COPY,
SCM_VALIDATE_OPDIR): Re-added from the release_1_6 branch.
2003-06-29 14:57:00 +00:00
Stefan Jahn
78b6566ece 2003-06-25 Stefan Jahn <stefan@lkcc.org>
* continuations.c: Redeclaration of getcontext() via the
        __asm__ ("getcontext") directive.

        * continuations.h: Include <ucontext.h> instead of
        <sys/ucontext.h>.
2003-06-25 18:12:35 +00:00
Kevin Ryde
8644044829 *** empty log message *** 2003-06-21 23:03:25 +00:00
Kevin Ryde
7a52a21e96 (Remembering During Operations): Refer to all "Guile
library functions" as provoking gc.
2003-06-21 23:02:58 +00:00
Kevin Ryde
1ebb8497cb *** empty log message *** 2003-06-21 00:17:47 +00:00
Kevin Ryde
14a6784cf1 (truncate, round, asinh, acosh, atanh): Add some tests. 2003-06-21 00:17:23 +00:00
Kevin Ryde
9af31eed61 (AC_CHECK_FUNCS): Add asinh, acosh, atanh and trunc. 2003-06-21 00:15:09 +00:00
Kevin Ryde
fa60559018 (_GNU_SOURCE): #define, to get C99 things.
(scm_asinh, scm_acosh, scm_atanh, scm_truncate, $asinh, $acosh,
$atanh, truncate): Use C library asinh, acosh, atanh and trunc, when
available.
(scm_inexact_to_exact): Expand isfinite to its definition !isinf.
(isfinite): Remove, conflicts with C99 isfinite().
2003-06-21 00:12:51 +00:00
Marius Vollmer
02d7253661 *** empty log message *** 2003-06-19 20:09:17 +00:00
Marius Vollmer
5c07af6e79 use "-Werror" only with GCC. Thanks to Matthias Koeppe! 2003-06-19 20:09:05 +00:00
Marius Vollmer
fbf85ba4d8 *** empty log message *** 2003-06-19 12:49:20 +00:00
Marius Vollmer
cc5c1b6606 (scm_strhash, scm_sym2ovcell_soft, scm_sym2ovcell,
scm_intern_obarray_soft, scm_intern_obarray, scm_symbol_value0,
scm_string_to_obarray_symbol scm_intern_symbol, scm_unintern_symbol,
scm_symbol_binding, scm_symbol_interned_p, scm_symbol_bound_p,
scm_symbol_set_x, scm_gentemp): Re-added from the release_1_6 branch.
2003-06-19 12:48:47 +00:00
Marius Vollmer
66c8ded2a5 Removed the re-added deprecated symbols. 2003-06-19 12:40:50 +00:00
Marius Vollmer
e2522126f0 Added Kevin Ryde to the list of contributors. 2003-06-19 12:40:04 +00:00
Kevin Ryde
996acdb846 *** empty log message *** 2003-06-19 01:43:43 +00:00
Kevin Ryde
72a3671e33 * tests/posix.test: New file, exercising putenv, setenv, unsetenv.
* tests/threads.test: New file, exercising parallel.
	* Makefile.am (SCM_TESTS): Add them.
2003-06-19 01:43:22 +00:00
Kevin Ryde
0d2cf5b556 New file, exercising putenv, setenv, unsetenv. 2003-06-19 01:42:28 +00:00
Kevin Ryde
5925aed0d6 New file, exercising parallel. 2003-06-19 01:41:20 +00:00
Kevin Ryde
6adf208ee6 (parallel): For no forms, use (values)' not (begin)'. 2003-06-19 01:36:01 +00:00
Kevin Ryde
67116e5e84 *** empty log message *** 2003-06-19 00:39:56 +00:00
Kevin Ryde
2288712b6c (File Ports): Describe call-with-input-file and
call-with-output-file together.  Describe with-input-from-file,
with-output-to-file and with-error-to-file together, and add that they
use dynamic-wind on the current port setting and keep the port open in
support of captured continuations.
(Closing): Describe close-input-port and close-output-port together,
tweak the wording slightly.
2003-06-19 00:38:49 +00:00
Kevin Ryde
ea8ac9ace0 (Guile Documentation): Update to manuals now available,
remove notes about the reference manual being in progress.
2003-06-18 23:37:02 +00:00
Kevin Ryde
fbaca220b5 *** empty log message *** 2003-06-18 23:36:30 +00:00
Stefan Jahn
fcc5d734fc 2003-06-14 Stefan Jahn <stefan@lkcc.org>
* configure.in: Checking for __int64 as possible candidate for
        the SCM_I_GSC_T_INT64 define.

2003-06-14  Stefan Jahn  <stefan@lkcc.org>

        * threads.h: Redefined scm_getspecific() and scm_setspecific()
        to be functions instead of macros.

        * threads.c: Conditionalized inclusion of <sys/time.h> and
        <unistd.h>.
        (scm_getspecific, scm_setspecific): Made these two function
        real part of the API.

        * posix.c (s_scm_putenv): Added some code to make a
        (putenv "FOO="), i.e. setting an empty string, work also on
        Win32 systems.  Thanks to Kevin Ryde for the proposal.
2003-06-14 05:36:02 +00:00
Kevin Ryde
cf4e2dabf4 (Vector Data): For SCM_VECTOR_BASE, SCM_STRING_CHARS
and SCM_SYMBOL_CHARS, cross reference "Remembering During Operations".
2003-06-13 23:32:33 +00:00
Kevin Ryde
df7986ca7e *** empty log message *** 2003-06-13 23:30:52 +00:00
Kevin Ryde
ffeb8617b0 (Arithmetic): round is to nearest even. 2003-06-13 23:17:52 +00:00
Kevin Ryde
b72cfff10e *** empty log message *** 2003-06-12 00:34:06 +00:00
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
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
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