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

6353 commits

Author SHA1 Message Date
Marius Vollmer
c0060c9589 Corrected definition of SCM_MOST_POSITIVE_FIXNUM. Boy was I confused. 2001-10-06 20:48:27 +00:00
Marius Vollmer
71dcdbf9a0 *** empty log message *** 2001-10-06 20:01:36 +00:00
Marius Vollmer
801ba33101 (INTEGRAL2NUM): Let the preprocessor test
whether the integral type fits in a fixnum, not the compiler.
This removes a spurious compiler warning.  Also, honor the
NO_PREPRO_MAGIC flag to suppress any preprocessor tests.  This is
needed for `long long's.
2001-10-06 20:00:43 +00:00
Marius Vollmer
dcb6a296dc Define NO_PREPRO_MAGOC when including
num2integral.c.i for `long long' and `signed long long'.
2001-10-06 19:58:24 +00:00
Marius Vollmer
004c0902ff * tags.h (SCM_T_BITS_MAX, SCM_T_SIGNED_BITS_MAX,
SCM_T_SIGNED_BITS_MIN): New.
* numbers.h (SCM_MOST_POSITIVE_FIXNUM, SCM_MOST_NEGATIVE_FIXNUM):
Use them to make these macros computable by the preprocessor.
2001-10-06 19:58:02 +00:00
Mikael Djurfeldt
152812c057 * 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:30:20 +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
Thien-Thi Nguyen
b44f159eae *** empty log message *** 2001-10-06 06:47:42 +00:00
Thien-Thi Nguyen
76a008e2e0 (quoted?, clump): New procs, exported. 2001-10-06 06:47:07 +00:00
Thien-Thi Nguyen
2d7cbf9e0b *** empty log message *** 2001-10-06 06:45:54 +00:00
Thien-Thi Nguyen
6f2ec1d1f3 (quoted?, clump): New procs, exported. 2001-10-06 06:44:48 +00:00
Dirk Herrmann
11d49f5489 * options.c (protected_objects, scm_init_options): The content of
protected_objects is now protected from garbage collection using
scm_gc_register_root instead of scm_permanent_object.

(get_option_setting):  New static function that	computes an option
setting as it was formerly done in the function scm_options.

(get_documented_option_setting):  New static function that
returns option documentation as it was formerly done in the
function scm_options.  Note that documentation C strings are no
longer precomputed into SCM objects.  Instead, they are converted
into SCM strings every time get_documented_option_setting is
called.

(change_option_setting):  New static functions that modifies the
option setting as it was formerly done in the function
scm_options.  The function is now exception safe, i. e. won't
cause a memory leak when interrupted.  Further, only non-immediate
option values are added to the protection list.

(scm_options):  This function now has only the purpose to dispatch
to to get_option_setting, get_documented_option_setting or
change_option_setting, depending on the arguments given to
scm_options.

(scm_init_opts):  Don't convert documentation C strings into SCM
strings.  Further, don't protect any object values:  They _must_
be immediate values, otherwise there is no guarantee that they
have not been collected before anyway.

* options.[ch] (scm_t_option):  Made type unsigned, name into a
constant char* and val into a scm_t_bits type.

(scm_options, scm_init_opts):  The number of options is guaranteed
to be larger or equal to zero.  Thus, the type is changed to
unsigned.
2001-10-05 20:18:30 +00:00
Dirk Herrmann
3dbacabc55 * num2integral.i.c (NUM2INTEGRAL): Eliminated some warnings about
testing an unsigned value for being >= 0.
2001-10-05 18:26:46 +00:00
Neil Jerram
a599743cdc * Remove doc for read-and-eval! and eval2. 2001-10-05 18:05:10 +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
Dirk Herrmann
14282d0f5c * 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:43:49 +00:00
Thien-Thi Nguyen
36d7fa6434 *** empty log message *** 2001-10-05 17:05:24 +00:00
Thien-Thi Nguyen
2c41c2704a *** empty log message *** 2001-10-05 17:03:33 +00:00
Thien-Thi Nguyen
3ac56740e5 (install-data-local): Look in `$(srcdir)'
for file and-let-star-compat.scm.
2001-10-05 17:02:46 +00:00
Thien-Thi Nguyen
c1775bc45f *** empty log message *** 2001-10-05 16:02:15 +00:00
Thien-Thi Nguyen
8e628376f8 (Writing): Add entry for `display'. Include in R5RS Index. 2001-10-05 16:01:29 +00:00
Thien-Thi Nguyen
74e0de864b *** empty log message *** 2001-10-05 16:00:24 +00:00
Thien-Thi Nguyen
9eb96786d0 (Writing): Add entry for `display'. Include in R5RS Index. 2001-10-05 15:58:51 +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
Gary Houston
2dbec7b5fc * 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:45:44 +00:00
Thien-Thi Nguyen
7fb78f5adb *** empty log message *** 2001-09-30 22:37:05 +00:00
Thien-Thi Nguyen
8e2a4b7e5c (EXTRA_DIST): Add BUGS file. 2001-09-30 22:36:00 +00:00
Thien-Thi Nguyen
458c887c68 Initial revision 2001-09-30 22:35:19 +00:00
Thien-Thi Nguyen
6768cfba8c *** empty log message *** 2001-09-30 22:33:38 +00:00
Thien-Thi Nguyen
1fd92c34eb (EXTRA_DIST): Add BUGS file. 2001-09-30 22:32:13 +00:00
cvs2svn
fb876f4521 This commit was manufactured by cvs2svn to create branch
'branch_release-1-6'.
2001-09-30 22:29:57 +00:00
Thien-Thi Nguyen
c14bde861d Initial revision 2001-09-30 22:29:56 +00:00
Thien-Thi Nguyen
1e151db86c *** empty log message *** 2001-09-30 18:27:39 +00:00
Thien-Thi Nguyen
d4c76567e6 (module-name->filename-frag, display-module-commentary): New procs.
(display-commentary): Also handle refs that look like module names.
2001-09-30 18:26:40 +00:00
Thien-Thi Nguyen
53b5d2ccf8 *** empty log message *** 2001-09-30 18:25:17 +00:00
Thien-Thi Nguyen
109f654e7f (module-name->filename-frag, display-module-commentary): New procs.
(display-commentary): Also handle refs that look like module names.
2001-09-30 18:24:10 +00:00
Rob Browning
5faa601029 *** empty log message *** 2001-09-27 14:57:41 +00:00
Martin Grabmüller
201e2170f3 Some cosmetic doc fixes. 2001-09-26 17:25:39 +00:00
Martin Grabmüller
40f316d0b7 Some cosmetic doc fixes. 2001-09-26 17:24:54 +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
Thien-Thi Nguyen
cf4ee84106 *** empty log message *** 2001-09-26 03:15:44 +00:00
Thien-Thi Nguyen
f5dd4f5419 (SCM_MAKE_CHAR): Use scm_t_bits' instead of intptr_t'.
Thanks to Golubev I. N.
2001-09-26 03:14:15 +00:00
Thien-Thi Nguyen
b0b7f4b6ad *** empty log message *** 2001-09-26 02:48:05 +00:00
Thien-Thi Nguyen
bd4e3e609b (Syntax Rules): Add `cindex' directive.
Thanks to suggestion by Alex Schroeder.
2001-09-26 02:47:21 +00:00
Thien-Thi Nguyen
523f81bad8 *** empty log message *** 2001-09-26 02:46:30 +00:00
Thien-Thi Nguyen
a55040896d (Syntax Rules): Add `cindex' directive.
Thanks to suggestion by Alex Schroeder.
2001-09-26 02:45:17 +00:00
Thien-Thi Nguyen
2cbad7d913 *** empty log message *** 2001-09-26 02:19:28 +00:00