Mikael Djurfeldt
21ab2aeb77
* goops.scm (compute-getters-n-setters/verify-accessors): Better
...
check of format of value returned by compute-get-n-set.
(compute-getters-n-setters): Extended format of slot
getters-n-setters to indicate position and size of slot memory
allocated in instances.
* goops.c (scm_sys_prep_layout_x): Instance allocation is now
indicated through extra fields in getters-n-setters.
(scm_add_slot): Adapted to new format of getters_n_setters slot.
(Thanks to Andy Wingo.)
2003-04-13 14:48:35 +00:00
Han-Wen Nienhuys
dff96e9567
(snarfcppopts): use DEFAULT_INCLUDES
...
instead of INCLUDES
2003-04-09 09:29:44 +00:00
Rob Browning
b5331f105f
*** empty log message ***
2003-04-07 20:38:55 +00:00
Rob Browning
00f9eacec5
* debug.h: change "id" arg name to "info_id" to avoid objective-c
...
clash.
2003-04-07 20:36:04 +00:00
Rob Browning
07921c7642
*** empty log message ***
2003-04-07 17:52:28 +00:00
Rob Browning
b3a9c1e7bc
* num2integral.i.c (NUM2INTEGRAL): fix bug pointed out by Mikael
...
and add regression test to standalone/.
2003-04-07 17:36:26 +00:00
Rob Browning
876173478e
*** empty log message ***
2003-04-07 17:36:17 +00:00
Rob Browning
69d49ac86f
*** empty log message ***
2003-04-07 01:52:00 +00:00
Rob Browning
05be5e7c38
* init.c: #include gmp.h.
2003-04-07 01:51:25 +00:00
Rob Browning
8db9cc6cf3
* random.c: #include gmp.h.
...
(scm_c_random_bignum): normalize result on return.
2003-04-07 01:51:10 +00:00
Rob Browning
5384438984
* numbers.h: remove the gmp.h #include (not needed now).
2003-04-07 01:50:35 +00:00
Rob Browning
4adf1363a7
* posix.h: change occurences of "id" to something else so we don't
...
cause trouble when included via objective-c (can't hurt, might
help). Still have usage in debug.h, though.
2003-04-07 01:50:16 +00:00
Rob Browning
b9d4df2c33
* strings.c (scm_mem2string): use memcpy rather than by-hand loop.
...
Thanks to Dale P. Smith.
2003-04-07 01:49:04 +00:00
Mikael Djurfeldt
c5f268f895
* random.c (scm_c_default_rstate): Use SCM_VARIABLE_REF to access
...
scm_var_random_state.
2003-04-06 13:48:57 +00:00
Mikael Djurfeldt
372691d8ac
* random.c (scm_c_random_bignum): Don't generate a random number
...
equal to m (the second argument of scm_c_random_bignum); only
generate numbers in the range 0 <= r < m.
2003-04-06 09:41:07 +00:00
Mikael Djurfeldt
938f6b7c81
* num2integral.i.c (INTEGRAL2BIG): Put negation of n inside then
...
clause.
2003-04-06 08:51:02 +00:00
Rob Browning
e55b54285b
*** empty log message ***
2003-04-05 22:35:44 +00:00
Rob Browning
6cdb8c3fe9
*** empty log message ***
2003-04-05 22:34:21 +00:00
Rob Browning
d583ce1a8a
* modules.c (s_scm_module_import_interface): move declaration of
...
uses before any code.
2003-04-05 22:34:10 +00:00
Mikael Djurfeldt
1ecfd01309
* Makefile.am (scmconfig.h): Look for config.h in top_builddir,
...
not top_srcdir.
2003-04-05 21:49:15 +00:00
Mikael Djurfeldt
15635be59e
* hashtab.c (rehash_after_gc): Clear to_rehash list before
...
processing it in order to avoid an infinite loop.
* print.c (scm_prin1): Remember old state of pstate->writingp.
2003-04-05 20:45:17 +00:00
Marius Vollmer
73be1d9e8e
Changed license terms to the plain LGPL thru-out.
2003-04-05 19:15:35 +00:00
Rob Browning
ad815c06cd
*** empty log message ***
2003-04-04 21:51:48 +00:00
Rob Browning
2de4f939ab
* socket.c (FLIPCPY_NET_HOST_128): new macro.
...
(ipv6_net_to_num, ipv6_num_to_net, bignum_in_ipv6_range_p):
rewrite to handle GMP bignums.
2003-04-04 21:51:35 +00:00
Rob Browning
969d3bd043
* random.c (scm_c_random_bignum): rewrite to handle GMP bignums.
2003-04-04 21:50:22 +00:00
Rob Browning
aab1caadd3
* ports.c (scm_getc): minor tweak.
2003-04-04 21:50:15 +00:00
Rob Browning
d3e7e88dcb
* numbers.h: remove SCM_BIGDIG conditionals, reorganize, and
...
rewrite to handle GMP bignums.
2003-04-04 21:49:55 +00:00
Rob Browning
ca46fb9018
* numbers.c: rewrite *many* functions to handle GMP bignums.
2003-04-04 21:49:44 +00:00
Rob Browning
5b1b170d91
* num2integral.i.c (NUM2INTEGRAL, INTEGRAL2NUM, INTEGRAL2BIG):
...
handle GMP bignums.
2003-04-04 21:49:32 +00:00
Rob Browning
78c53d7e61
* num2float.i.c (NUM2FLOAT): handle GMP bignums.
2003-04-04 21:49:03 +00:00
Rob Browning
4ef36fb822
* init.c (check_config): remove SCM_BIGDIG conditionals.
...
(scm_init_guile_1): test to make sure mpz_t fits in a double_cell.
2003-04-04 21:48:45 +00:00
Rob Browning
660e30c566
* gc-card.c ("sweep_card"): handle new mpz_t bignums.
2003-04-04 21:48:24 +00:00
Rob Browning
9aa82b3994
* eval.c: remove SCM_BIGDIG conditionals.
2003-04-04 21:48:08 +00:00
Rob Browning
cb32fdbf9b
* eq.c (s_scm_eqv_p): scm_i_bigcomp -> scm_i_bigcmp.
2003-04-04 21:47:46 +00:00
Rob Browning
45a1c3e89f
*** empty log message ***
2003-04-04 19:16:04 +00:00
Rob Browning
ed1403c6b5
* threads.h: fix various preprocessor usages of new public
...
symbols to expect 0 or 1 values rather than 1 or undefined.
i.e. change #ifdef to #if, etc.
2003-03-27 20:10:18 +00:00
Rob Browning
d028af45bf
* threads.c: fix various preprocessor usages of new public
...
symbols to expect 0 or 1 values rather than 1 or undefined.
i.e. change #ifdef to #if, etc.
* null-threads.c: fix various preprocessor usages of new public
symbols to expect 0 or 1 values rather than 1 or undefined.
i.e. change #ifdef to #if, etc.
* coop-threads.c: fix various preprocessor usages of new public
symbols to expect 0 or 1 values rather than 1 or undefined.
i.e. change #ifdef to #if, etc.
* coop-pthreads.c: fix various preprocessor usages of new public
symbols to expect 0 or 1 values rather than 1 or undefined.
i.e. change #ifdef to #if, etc.
2003-03-27 20:10:13 +00:00
Rob Browning
f546be4d03
* tags.h: fix various preprocessor usages of new public
...
symbols to expect 0 or 1 values rather than 1 or undefined.
i.e. change #ifdef to #if, etc.
2003-03-27 20:10:07 +00:00
Rob Browning
a1fa649f02
* stacks.c: fix various preprocessor usages of new public
...
symbols to expect 0 or 1 values rather than 1 or undefined.
i.e. change #ifdef to #if, etc.
2003-03-27 20:10:02 +00:00
Rob Browning
6c4eb8e12e
* stackchk.h: fix various preprocessor usages of new public
...
symbols to expect 0 or 1 values rather than 1 or undefined.
i.e. change #ifdef to #if, etc.
2003-03-27 20:09:56 +00:00
Rob Browning
8dda3eea36
* stackchk.c: fix various preprocessor usages of new public
...
symbols to expect 0 or 1 values rather than 1 or undefined.
i.e. change #ifdef to #if, etc.
2003-03-27 20:09:51 +00:00
Rob Browning
3cfe6eab01
* sort.c: fix various preprocessor usages of new public
...
symbols to expect 0 or 1 values rather than 1 or undefined.
i.e. change #ifdef to #if, etc.
2003-03-27 20:09:46 +00:00
Rob Browning
971d1e36f0
* read.c: fix various preprocessor usages of new public
...
symbols to expect 0 or 1 values rather than 1 or undefined.
i.e. change #ifdef to #if, etc.
2003-03-27 20:09:40 +00:00
Rob Browning
c7ad1f89f7
* random.c: fix various preprocessor usages of new public
...
symbols to expect 0 or 1 values rather than 1 or undefined.
i.e. change #ifdef to #if, etc.
2003-03-27 20:09:35 +00:00
Rob Browning
5f4df9730d
* print.c: fix various preprocessor usages of new public
...
symbols to expect 0 or 1 values rather than 1 or undefined.
i.e. change #ifdef to #if, etc.
2003-03-27 20:09:29 +00:00
Rob Browning
b645bf7481
* objects.c: fix various preprocessor usages of new public
...
symbols to expect 0 or 1 values rather than 1 or undefined.
i.e. change #ifdef to #if, etc.
2003-03-27 20:09:23 +00:00
Rob Browning
f0ad7455ec
* numbers.h: fix various preprocessor usages of new public
...
symbols to expect 0 or 1 values rather than 1 or undefined.
i.e. change #ifdef to #if, etc.
2003-03-27 20:09:18 +00:00
Rob Browning
b075613ec4
* null-threads.c: fix various preprocessor usages of new public
...
symbols to expect 0 or 1 values rather than 1 or undefined.
i.e. change #ifdef to #if, etc.
2003-03-27 20:09:13 +00:00
Rob Browning
2899af3ff7
* lang.h: fix various preprocessor usages of new public
...
symbols to expect 0 or 1 values rather than 1 or undefined.
i.e. change #ifdef to #if, etc.
2003-03-27 20:09:08 +00:00
Rob Browning
5a291d7da6
* lang.c: fix various preprocessor usages of new public
...
symbols to expect 0 or 1 values rather than 1 or undefined.
i.e. change #ifdef to #if, etc.
2003-03-27 20:09:03 +00:00