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

4190 commits

Author SHA1 Message Date
Kevin Ryde
ba15f500e3 *** empty log message *** 2003-09-02 23:03:34 +00:00
Kevin Ryde
4d814788fc (scm_lognot): Correction to docstring, ones-complement not 2s-complement. 2003-09-02 23:00:28 +00:00
Neil Jerram
defdc4b4ee Make -s switch optional. 2003-08-30 21:22:45 +00:00
Kevin Ryde
0f008a157a *** empty log message *** 2003-08-30 00:07:49 +00:00
Kevin Ryde
f9811f9f2e (scm_lognot): Rewrite using ~ and mpz_com, for directness
and to have non-integer types rejected as per other logical funcs.
2003-08-30 00:04:42 +00:00
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