Dirk Herrmann
1b43d24c36
* eval.c (SCM_BIT8, SCM_BIT8, unmemocopy, SCM_CEVAL): Renamed
...
file-local macro SCM_BIT8 to SCM_BIT7, which is more appropriate.
2003-04-20 11:01:33 +00:00
Dirk Herrmann
aec16f9972
* numbers.c (scm_logtest): Fixed argument bug in the call to
...
mpz_and, which showed up when compiling with SCM_DEBUG defined.
2003-04-20 08:55:50 +00:00
Dirk Herrmann
f96460ce84
* gc-card.c (scm_i_sweep_card, scm_i_init_card_freelist): Fixed
...
type errors that showed up when compiling with SCM_DEBUG defined.
2003-04-20 08:39:38 +00:00
Dirk Herrmann
d0f6ceb84f
* Removed uses of DEBUG_EXTENSIONS and DYNAMIC_LINKING to
...
fix compile errors with --disable-deprecated.
2003-04-20 07:19:38 +00:00
Mikael Djurfeldt
1ac61c2b50
* goops/dispatch.scm (cache-hashval): Corrected termination
...
condition for hashval computation. (Previously, it made erroneous
assumptions about the representation of environments; Thanks to
Andreas Rottmann.)
2003-04-19 17:26:05 +00:00
Mikael Djurfeldt
a980f465e9
*** empty log message ***
2003-04-19 17:23:50 +00:00
Mikael Djurfeldt
3d167db8a9
* goops/dispatch.scm (cache-hashval): Corrected termination
...
condition for hashval computation. (Previously, it made erroneous
assumptions about the representation of environments; Thanks to
Andreas Rottmann.)
2003-04-19 17:15:38 +00:00
Marius Vollmer
842d510f73
*** empty log message ***
2003-04-19 11:18:10 +00:00
Marius Vollmer
dea8a73c42
(SCM_MTRIGGER_HYSTERESIS): Removed.
...
(scm_i_minyield_malloc, check_mtrigger): New.
(scm_must_malloc, scm_must_realloc, scm_done_malloc): Use it
instead of explicit code. Thanks to Han-Wen Nienhuys!
2003-04-19 11:17:23 +00:00
Mikael Djurfeldt
0fd7dcd398
goops.c (TEST_CHANGE_CLASS): Update variable class after class change.
2003-04-18 08:19:03 +00:00
Marius Vollmer
eff2965e58
*** empty log message ***
2003-04-17 22:47:53 +00:00
Rob Browning
19a7a0897b
*** empty log message ***
2003-04-17 22:15:46 +00:00
Rob Browning
1c35cb199f
* numbers.c (scm_integer_expt): fix case where we were declaring
...
vars in the middle of a statement block. Thanks to Thamer
Al-Harbash.
2003-04-17 22:15:37 +00:00
Mikael Djurfeldt
f721dc1de1
* goops.c (TEST_CHANGE_CLASS): Update variable class after class
...
change.
2003-04-17 20:45:00 +00:00
Mikael Djurfeldt
89aab6f1ac
*** empty log message ***
2003-04-17 19:51:04 +00:00
Mikael Djurfeldt
b3a9e3d58f
*** empty log message ***
2003-04-17 19:40:49 +00:00
Mikael Djurfeldt
a75d54876c
*** empty log message ***
2003-04-17 19:33:00 +00:00
Mikael Djurfeldt
47cd67db2f
* tests/goops.test: Added tests for correctness of class
...
precedence list in all basic classes and tests for eqv? and
equal?.
* goops.scm (compute-getters-n-setters): Check for bad init-thunk.
(eqv?): Added default method.
(equal?): New default method which uses eqv?.
* eq.c (scm_eqv_p): Turned into a primitive generic.
2003-04-17 19:23:52 +00:00
Mikael Djurfeldt
3ad4ed2c8b
Updated tests
2003-04-17 19:16:27 +00:00
Mikael Djurfeldt
95f2bb326c
* goops.scm (eqv?, equal?): Provide default methods for `eqv?' and
...
`equal?'.
(compute-getters-n-setters): Check for bad init-thunks.
(update-direct-method!): Use eq? instead of eqv?.
2003-04-17 18:52:21 +00:00
Mikael Djurfeldt
61951a9a9a
*** empty log message ***
2003-04-17 18:48:27 +00:00
Mikael Djurfeldt
e672dd0208
* goops.scm (equal?): Provide default method for `equal?'.
...
(compute-getters-n-setters): Check for bad init-thunks.
* eq.c (scm_eqv_p, scm_equal_p): Turned into a primitive generics.
* goops.texi (Object Comparisons): Removed object-eqv? and
object-equal? and added eqv?, equal? and =.
2003-04-17 18:47:18 +00:00
Mikael Djurfeldt
071d6b0ecc
* tests/goops.test: New tests.
...
* goops.scm (equal?): Provide default method for `equal?'.
(compute-getters-n-setters): Check for bad init-thunks.
* eq.c (scm_equal_p): Turned into a primitive generic.
* snarf.h (SCM_PRIMITIVE_GENERIC, SCM_PRIMITIVE_GENERIC_1): New
macros.
2003-04-17 17:50:57 +00:00
Mikael Djurfeldt
266f3a23d7
* goops.scm (compute-getters-n-setters): Check for bad init-thunk.
2003-04-17 17:37:11 +00:00
Mikael Djurfeldt
57b1d51841
* tests/goops.test: Added tests for correctness of class
...
precedence list in all basic classes and tests for equal?.
2003-04-17 15:25:15 +00:00
Mikael Djurfeldt
466dd85969
Comment
2003-04-17 15:24:53 +00:00
Rob Browning
95a0ecc3c7
*** empty log message ***
2003-04-16 20:17:52 +00:00
Rob Browning
ff83b88d17
* gc_os_dep.c: Added patch for UnixWare and OpenUNIX support.
...
Thanks to Boyd Gerber.
Added check for __arm__ in addition to arm for LINUX and copied
__s390__ defines from upstream libgc. Thanks to James Treacy for
reporting the problems.
2003-04-16 20:17:44 +00:00
Rob Browning
312006bbb2
*** empty log message ***
2003-04-16 20:15:48 +00:00
Rob Browning
683a2f9a4c
* gc_os_dep.c: Added patch for UnixWare and OpenUNIX support.
...
Thanks to Boyd Gerber.
Added check for __arm__ in addition to arm for LINUX and copied
__s390__ defines from upstream libgc. Thanks to James Treacy for
reporting the problems.
2003-04-16 20:15:37 +00:00
Rob Browning
ecc5974ba6
*** empty log message ***
2003-04-16 20:02:31 +00:00
Rob Browning
eb2f70b61d
* gc_os_dep.c Added patch for UnixWare and OpenUNIX support.
...
Thanks to Boyd Gerber.
Added check for __arm__ in addition to arm for LINUX. Thanks to
James Treacy for reporting the problem.
2003-04-16 20:02:22 +00:00
Rob Browning
c7ef2ea133
*** empty log message ***
2003-04-16 19:59:27 +00:00
Rob Browning
311daf8be1
* gc_os_dep.c: add check for __arm__ in addition to arm for
...
LINUX. Thanks to James Treacy for tracking this one down.
2003-04-16 19:59:17 +00:00
Rob Browning
06f55e9f82
*** empty log message ***
2003-04-16 19:46:55 +00:00
Rob Browning
eccee85dbc
* gc_os_dep.c (mach_type_known): added patch for UnixWare and
...
OpenUNIX support. Thanks to Boyd Gerber.
2003-04-16 19:46:47 +00:00
Rob Browning
0b85efff1d
oops -- reverse accidental commit.
2003-04-16 19:45:12 +00:00
Rob Browning
3b8b889c93
*** empty log message ***
2003-04-16 19:45:11 +00:00
Rob Browning
7310ad0ccf
* socket.c: use SCM_CHAR_BIT.
2003-04-16 19:45:01 +00:00
Rob Browning
0d79003d44
* random.c (scm_c_random_bignum): use SCM_CHAR_BIT.
2003-04-16 19:44:55 +00:00
Rob Browning
b4fb7de868
* numbers.c (PTRDIFF_MIN): use SCM_CHAR_BIT.
2003-04-16 19:44:02 +00:00
Rob Browning
43151146c2
* num2integral.i.c (NUM2INTEGRAL): use SCM_CHAR_BIT.
2003-04-16 19:43:55 +00:00
Rob Browning
f55a171dc4
* gc_os_dep.c (mach_type_known): added patch for UnixWare and
...
OpenUNIX support. Thanks to Boyd Gerber.
2003-04-16 19:39:35 +00:00
Rob Browning
7c1e02ed1d
*** empty log message ***
2003-04-16 19:19:21 +00:00
Rob Browning
295ebe22e7
*** empty log message ***
2003-04-16 19:14:46 +00:00
Mikael Djurfeldt
43261b390f
* feature.c (scm_init_feature): Always add threads feature.
2003-04-16 12:52:04 +00:00
Mikael Djurfeldt
58241edc7d
* tests/goops.test: Added tests for class redefinition, object
...
update and active slots.
* goops.scm (compute-getter-method): For custom getter: Check
boundness even if there is an init-thunk. (The getter can return
#<unbound> even if the slot has been set before.)
(remove-class-accessors!): Also remove accessor-method from its
accessor.
* goops.c (scm_sys_fast_slot_ref): Use SCM_SLOT instead of
scm_at_assert_bound_ref. (We don't want the unbound check. See
oop/goops/active-slot.scm.)
2003-04-15 01:17:36 +00:00
Mikael Djurfeldt
168629c99a
* goops.scm (compute-getter-method): For custom getter: Check
...
boundness even if there is an init-thunk. (The getter can return
#<unbound> even if the slot has been set before.)
* goops.c (scm_sys_fast_slot_ref): Use SCM_SLOT instead of
scm_at_assert_bound_ref. (We don't want the unbound check. See
oop/goops/active-slot.scm.)
2003-04-15 01:15:06 +00:00
Mikael Djurfeldt
55f8c6f1ca
Fix
2003-04-14 20:13:50 +00:00
Mikael Djurfeldt
e1ac894c38
Fix
2003-04-14 20:12:40 +00:00