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

4185 commits

Author SHA1 Message Date
Kevin Ryde
438a3ba10d *** empty log message *** 2003-08-28 00:13:06 +00:00
Kevin Ryde
c1ffdc6a42 (scm_remember_upto_here_1): Revise comments on the asm form. 2003-08-27 23:34:53 +00:00
Kevin Ryde
98dceb376e *** empty log message *** 2003-08-22 23:26:07 +00:00
Kevin Ryde
f94e3e6e4b (scm_system): Remove SCM_DEFER_INTS, system() should be
thread safe, and could take a long time too.
2003-08-22 23:25:02 +00:00
Kevin Ryde
c072c40c8b Add a copyright year. 2003-08-22 23:23:17 +00:00
Kevin Ryde
1fa79a3839 *** empty log message *** 2003-08-22 01:19:24 +00:00
Kevin Ryde
708f22c6af (scm_difference): Correction to bignum - negative inum. 2003-08-22 01:17:48 +00:00
Kevin Ryde
d97f9b4230 *** empty log message *** 2003-08-12 21:43:34 +00:00
Kevin Ryde
9e1569bd0d (scm_remember_upto_here_1, scm_remember_upto_here_2): Undefine
macros while defining functions.
2003-08-12 21:09:10 +00:00
Kevin Ryde
aca3618f81 (scm_remember_upto_here_1, scm_remember_upto_here_2) [__GNUC__]:
Use volatile asm macros rather than a function call.
2003-08-12 21:08:34 +00:00
Kevin Ryde
34b6177b15 (scm_system): In docstring, refer to status:exit-val rather than
"functions above".
2003-08-12 20:24:52 +00:00
Kevin Ryde
6a4d17af96 (getenv): Use <stdlib.h> for prototype. 2003-08-12 20:23:35 +00:00
Kevin Ryde
b9052fcc32 *** empty log message *** 2003-08-08 22:58:24 +00:00
Kevin Ryde
f5003c13b6 (scm_source_properties): Return plist from hash if it's a
list set by source-properties! rather than an SRCPROPS object,
2003-08-08 22:57:28 +00:00
Kevin Ryde
8e5b4b9e34 *** empty log message *** 2003-07-28 23:59:47 +00:00
Kevin Ryde
93acf7cb2b (scm_primitive_property_ref): In docstring, note
parameters to not-found-proc, use hyphens rather than underscores for
that parameter name.
(scm_primitive_property_set_x): In docstring, VAL is the value
parameter not CODE.
2003-07-28 23:29:17 +00:00
Marius Vollmer
c6ccee3417 *** empty log message *** 2003-07-27 16:31:43 +00:00
Marius Vollmer
c6b49e8964 (scm_print_symbol_name): handle more weird characters by escaping the
symbol name properly.  Thanks to Paul Jarc!
2003-07-27 16:31:11 +00:00
Marius Vollmer
2f4931bf1b *** empty log message *** 2003-07-27 16:21:33 +00:00
Marius Vollmer
f360a962d4 * posix.h (scm_setgroups): New prototype.
* posix.c (scm_setgroups): New.  Thanks to Paul Jarc!
(scm_getgroups): Handle groups ids that don't fit into a fixnum.
Don't use SCM_WRITABLE_VELTS.
2003-07-27 16:20:21 +00:00
Marius Vollmer
265c456f2f *** empty log message *** 2003-07-27 13:56:48 +00:00
Marius Vollmer
c5b0618d92 * gc.h (SCM_GC_SET_CELL_BVEC): New.
* gc-card.c (scm_i_init_card_freelist): Use it.  Thanks to
Matthias Koeppe!
2003-07-27 13:56:10 +00:00
Marius Vollmer
20703ac4dc *** empty log message *** 2003-07-27 13:35:02 +00:00
Marius Vollmer
570b6821e3 * __scm.h (SCM_C_INLINE_KEYWORD): New.
* numbers.c: Use it in place of SCM_C_INLINE so that the code
compiles when SCM_C_INLINE is undefined.
2003-07-27 13:34:32 +00:00
Dirk Herrmann
59c4bb82e3 * __scm.h: Reformulated the architecture and compiler properties
in terms of properties of scm_t_bits and SCM variables rather than
	in terms of c standard types.  This is since it is not known which
	of the standard types scm_t_bits and SCM variables will be defined
	to.
2003-07-24 06:32:20 +00:00
Kevin Ryde
d7850c8d68 *** empty log message *** 2003-07-24 01:05:02 +00:00
Kevin Ryde
c8ae173e8a (scm_angle): Use scm_flo0 for non-negative inum, bignum and real. 2003-07-24 01:03:40 +00:00
Kevin Ryde
8a0c514f35 *** empty log message *** 2003-07-17 23:40:03 +00:00
Kevin Ryde
7650633547 (scm_product): In complex * bignum, correction to
REAL/IMAG fetch, x is the complex, not y.
2003-07-17 23:38:34 +00:00
Mikael Djurfeldt
0aacf84ee6 (scm_odd_p, scm_even_p): Bugfix: Treat result of
scm_inf_p test as Scheme values.
(scm_sum): Bugfix: Normalize bignum created from a negative bignum
and a positive inum.
Use GNU indentation style.
2003-07-13 16:13:57 +00:00
Dirk Herrmann
192de9a4d6 * values.c (scm_values): Build lists of length 1 by using
scm_list_1 instead of using scm_cons.
2003-07-12 06:44:57 +00:00
Kevin Ryde
b58c85cead *** empty log message *** 2003-07-09 22:28:08 +00:00
Kevin Ryde
de90ef0faa * deprecation.c (scm_c_issue_deprecation_warning_fmt): Add va_end.
* list.c (scm_list_n): Ditto.
2003-07-09 22:08:13 +00:00
Kevin Ryde
11c473571e (scm_c_issue_deprecation_warning_fmt): Add va_end. 2003-07-09 22:07:11 +00:00
Kevin Ryde
bbb4438a2a *** empty log message *** 2003-07-09 22:04:00 +00:00
Kevin Ryde
53f18a0df1 (scm_gc_realloc): Define "ptr" at start of function. 2003-07-09 22:02:20 +00:00
Kevin Ryde
287f8ad11e *** empty log message *** 2003-07-08 00:42:27 +00:00
Kevin Ryde
23c96d9b15 Matthias Koeppe <mkoeppe@merkur.math.uni-magdeburg.de>:
(scm_t_bits, scm_t_signed_bits, etc): Avoid solaris empty
defines of INTPTR_MAX and UINTPTR_MAX, combine conditionals for
scm_t_bits and scm_t_signed_bits to avoid any chance of one and not
the other using intptr_t.
2003-07-08 00:41:34 +00:00
Kevin Ryde
005d2366ef *** empty log message *** 2003-07-08 00:33:43 +00:00
Kevin Ryde
6efadd7cb6 (scm_make_polar): Use sincos, when available.
(scm_magnitude): Use hypot.
2003-07-08 00:27:03 +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
1ebb8497cb *** empty log message *** 2003-06-21 00:17:47 +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