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

3680 commits

Author SHA1 Message Date
Rob Browning
f8071ff3fb *** empty log message *** 2001-10-08 22:51:15 +00:00
Rob Browning
c3b87b6fa1 * continuations.c: support ia64 register backing store.
(continuation_mark): mark ia64 register backing store.
(continuation_free): free ia64 register backing store.
(scm_make_continuation): capture ia64 register backing store.
(copy_stack_and_call): copy ia64 register backing store.
2001-10-08 22:50:36 +00:00
Rob Browning
95aaa8a7c5 * continuations.h: support ia64 register backing store.
(struct scm_t_contregs): add ia64 register backing store.
2001-10-08 22:50:24 +00:00
Rob Browning
043a5b0f94 * gc.c: support ia64 register backing store.
(SCM_MARK_BACKING_STORE): new macro.
2001-10-08 22:50:13 +00:00
Mikael Djurfeldt
9cff15e346 * coop.c (mother_awake_p): New variable.
(coop_create): Set mother_awake_p before creating or signalling
mother; wait until mother is going to sleep before returning.
(mother): Reset mother_awake_p before going to sleep.
2001-10-06 16:28:34 +00:00
Dirk Herrmann
2fa1c1d46b * numbers.h: Removed old comment about using SCM_CAR to access
non-pair cells.

(SCM_MOST_POSITIVE_FIXNUM, SCM_MOST_NEGATIVE_FIXNUM):  Make sure
the return value is signed.  Thanks to Brian Crowder for the bug
report.

(SCM_SRS):  Avoid unnecessary casting and don't unpack input
values.  With this patch, SCM_SRS can be safely used for other
types than scm_t_signed_bits.  However, it should still better be
an internal macro and thus be renamed to SCM_I_SRS.

(SCM_MAKINUM, SCM_INUM):  Use proper casting.
2001-10-05 17:55:31 +00:00
Thien-Thi Nguyen
a2ee75bc8f *** empty log message *** 2001-10-04 21:02:45 +00:00
Thien-Thi Nguyen
70adc1ba85 (scm_wta): Replace intptr_t' use w/ scm_t_bits'.
Thanks to I. N. Golubev.
2001-10-04 20:59:15 +00:00
Gary Houston
b856b51a4c * continuations.h, unif.h: in the descriptions of the bit patterns
of the heap cells, make bit 0 the least significant.
2001-10-03 20:49:45 +00:00
Thien-Thi Nguyen
6ad49af36c *** empty log message *** 2001-09-26 03:17:26 +00:00
Thien-Thi Nguyen
0926602706 (SCM_MAKE_CHAR): Use scm_t_bits' instead of intptr_t'.
Thanks to Golubev I. N.
2001-09-26 03:16:26 +00:00
Gary Houston
ec10ef3942 * ports.c (scm_drain_input): extended the docstring. thanks to
Alex Schroeder and Thien-Thi Nguyen.
2001-09-25 22:59:16 +00:00
Mikael Djurfeldt
5ea2971668 * validate.h (SCM_NUM2FLOAT, SCM_NUM2DOUBLE,
SCM_VALIDATE_FLOAT_COPY, SCM_VALIDATE_DOUBLE_COPY): New
macros. (The NUM names might soon change.)
2001-09-23 21:28:05 +00:00
Rob Browning
7c47100908 *** empty log message *** 2001-09-22 23:59:55 +00:00
Rob Browning
2ce57f0aa9 * numbers.h
(scm_num2float): prototype added.
(scm_float2num): prototype added.
(scm_num2double): prototype added.
(scm_double2num): prototype added.
2001-09-22 23:59:39 +00:00
Mikael Djurfeldt
a360a35517 * num2float.i.c: New file, multiply included by numbers.c, used
to "templatize" the float <-> num conversion routines.

* numbers.c: New functions: scm_num2float, scm_float2num,
scm_num2double, scm_double2num.
2001-09-22 21:42:14 +00:00
Mikael Djurfeldt
287c2ee7c2 *** empty log message *** 2001-09-22 21:35:12 +00:00
Mikael Djurfeldt
9d900ba2de * Makefile.am: Distribute num2float.i.c.
* num2float.i.c: New file, multiply included by numbers.c, used
to "templatize" the floatl <-> num conversion routines.
2001-09-22 21:33:05 +00:00
Rob Browning
2f3b3004fb *** empty log message *** 2001-09-21 17:52:07 +00:00
Rob Browning
e83d9f0cb1 * chars.h (SCM_MAKE_CHAR): coerce value to intptr_t. 2001-09-21 17:51:01 +00:00
Rob Browning
c22a0f5570 * debug.c (debugobj_print): coerce scm_intprint arg 1 to long, not
int.
2001-09-21 17:50:53 +00:00
Rob Browning
8ed5a245b3 * error.c (scm_wta): coerce char* to intptr_t before int
assignment.
2001-09-21 17:50:45 +00:00
Rob Browning
c952c7c062 * numbers.c (scm_gcd): change "k" to a long from an int.
Otherwise it fails on the alpha.  However, we might rather choose
this size conditionally.
2001-09-21 17:50:36 +00:00
Rob Browning
0269ef1a7d * strings.h (SCM_SET_STRING_LENGTH): coerce "l" to a long.
Otherwise it fails on the alpha.  However, we might rather choose
this size conditionally.
2001-09-21 17:50:21 +00:00
Mikael Djurfeldt
b58d997870 * numbers.c (scm_integer_expt): Accept inexact integer in second
argument.  (Thanks to Bill Schottstaedt.)
2001-09-20 19:00:26 +00:00
Rob Browning
567c20bdb0 *** empty log message *** 2001-09-20 16:40:22 +00:00
Rob Browning
c300b052a5 * .cvsignore: add version.h 2001-09-20 16:39:15 +00:00
Rob Browning
06b6af64a6 *** empty log message *** 2001-09-20 16:37:52 +00:00
Rob Browning
f521126fef * version.c
(scm_major_version): support integer *_VERSION macros.
(scm_minor_version): support integer *_VERSION macros.
(scm_micro_version): support integer *_VERSION macros.
(scm_version): support integer *_VERSION macros.
2001-09-20 16:37:19 +00:00
Rob Browning
9956131678 * version.h: renamed to version.h.in. 2001-09-20 16:36:57 +00:00
Rob Browning
a1bc1b60e0 * version.h.in: renamed from version.h.
(SCM_GUILE_MAJOR_VERSION): new public macro.
(SCM_GUILE_MINOR_VERSION): new public macro.
(SCM_GUILE_MICRO_VERSION): new public macro.
2001-09-20 16:36:42 +00:00
Rob Browning
93798dcd73 * versiondat.h.in: removed (obsolete). 2001-09-20 16:35:21 +00:00
Mikael Djurfeldt
c0b76df451 * error.c, error.h: Made error keys globally accessible.
Applications might want to test for these or use them in a direct
call to scm_error.
2001-09-20 08:11:26 +00:00
Mikael Djurfeldt
e45b0d385c * num2integral.i.c (NUM2INTEGRAL): Report an error when these
routines are passed an inexact.  This change in behavior is
motivated by concordance with R5RS: It is more common that a
primitive doesn't want to accept an inexact for an exact.
2001-09-20 08:02:40 +00:00
Dirk Herrmann
211efb313e * Removed function scm_gc_mark_cell_conservatively. 2001-09-17 20:25:23 +00:00
Michael Livshin
5de4485a4d * numbers.c (scm_sys_check_number_conversions): new function,
defined if Guile is compiled in debugging mode.  currently checks
`scm_num2ulong', should check much much more.

* num2integral.i.c (NUM2INTEGRAL): when converting a bignum to
unsigned, ensure that it's positive.  thanks to Martin Baulig!
2001-09-01 17:17:07 +00:00
Marius Vollmer
d877cf50d6 *** empty log message *** 2001-08-26 21:49:49 +00:00
Marius Vollmer
206a1bd8d7 Replaced "scm_t_portable" with "scm_port_table" which was an artifact
from the great "scm_*_t -> scm_t_" renaming.
2001-08-26 21:49:32 +00:00
Thien-Thi Nguyen
8423ceea62 *** empty log message *** 2001-08-25 18:37:31 +00:00
Thien-Thi Nguyen
0b9f43f5b2 (SCM_VALIDATE_USHORT_COPY, SCM_VALIDATE_SHORT_COPY,
SCM_VALIDATE_UINT_COPY, SCM_VALIDATE_INT_COPY): New macros.
Thanks to Chris Cramer.
2001-08-25 18:31:56 +00:00
Thien-Thi Nguyen
5bae771731 (GC_noop1): Move before `GC_find_limit' where it is used; nfc.
Thanks to Bill Schottstaedt.
2001-08-25 18:31:17 +00:00
Thien-Thi Nguyen
bf99aa6c4f *** empty log message *** 2001-08-24 22:27:38 +00:00
Thien-Thi Nguyen
8025d1d412 *** empty log message *** 2001-08-18 00:06:33 +00:00
Thien-Thi Nguyen
48578ab1c7 Fix omission bug: Add `heap_segment' forward decl
(proto) in the case when either `GUILE_DEBUG' or
`GUILE_DEBUG_FREELIST' preprocessor symbols are defined.

(map_free_list): Fix typo: Ref `f' correctly.

Thanks to Chris Cramer.
2001-08-18 00:00:37 +00:00
Rob Browning
5f86665feb *** empty log message *** 2001-08-16 03:31:53 +00:00
Rob Browning
9e6f140aea * Makefile.am (libguile_la_LDFLAGS): use libtool interface version
variables.
(libpath.h): change libguileversion to libguileinterface.
2001-08-16 03:30:36 +00:00
Marius Vollmer
93e823e5c7 *** empty log message *** 2001-08-07 18:13:17 +00:00
Marius Vollmer
91d05ea355 (EXTRA_DIST): Distribute ChangeLog-1996-1999 and ChangeLog-2000.
Thanks to Daniel Skarda!
2001-08-07 18:12:43 +00:00
Michael Livshin
d9cccf110a * guile-snarf-docs-texi.in: don't call the tokenizer here, we now
do it from the Makefile.

* Makefile.am: rearrange the snarfing slightly, so that .doc files
are of a reasonable size.
2001-08-06 23:28:38 +00:00
Marius Vollmer
b8117b36d2 *** empty log message *** 2001-08-01 21:26:11 +00:00