1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-24 12:20:20 +02:00
Commit graph

7700 commits

Author SHA1 Message Date
Kevin Ryde
52a7e68279 (Arithmetic): round is to nearest even. 2003-06-13 23:30:03 +00:00
Kevin Ryde
e7ebb1e069 *** empty log message *** 2003-06-11 22:39:32 +00:00
Kevin Ryde
6422fd511b (Scheme to C): In gh_scm2newstr, lenp is size_t* not int*.
This changed in guile 1.6, the docs weren't updated.
2003-06-11 22:37:34 +00:00
Marius Vollmer
42a67b6510 *** empty log message *** 2003-06-09 22:14:45 +00:00
Marius Vollmer
60ae1e12a5 (scm_get_stack_base): New version using __libc_stack_end, when
available.
2003-06-09 22:14:02 +00:00
Marius Vollmer
5eb040aa8b (HAVE_LIBC_STACK_END): New check, to be used in libguile/gc_os_dep.c 2003-06-09 22:08:25 +00:00
Marius Vollmer
216cb3b5fc *** empty log message *** 2003-05-17 18:12:29 +00:00
Marius Vollmer
5cbee405cc (socket): Use PF_ instead of AF_ prefix. 2003-05-17 18:11:38 +00:00
Kevin Ryde
735a60b2b1 *** empty log message *** 2003-05-16 01:04:55 +00:00
Kevin Ryde
344c4c7e21 (delete): Fix predicate arg order to match srfi-1 spec. 2003-05-16 01:04:21 +00:00
Kevin Ryde
e00d348672 Add srfi-1 delete and delete! called arg order. 2003-05-16 01:02:28 +00:00
Kevin Ryde
861cc9bc08 *** empty log message *** 2003-05-11 22:39:46 +00:00
Kevin Ryde
dfdfbd7145 (Handling Errors): Fix regexp error key, should
be `regular-expression-syntax'.
2003-05-11 22:39:23 +00:00
Kevin Ryde
bd3699466a *** empty log message *** 2003-05-08 01:06:21 +00:00
Kevin Ryde
fddeceaed6 (Bitwise Operations): Fix lognot to ones-complement. 2003-05-08 01:05:41 +00:00
Marius Vollmer
365c82b54c *** empty log message *** 2003-05-03 20:54:30 +00:00
Marius Vollmer
b183676373 (display-usage-report): Use keyword->symbol instead of keyword-symbol,
which doesn't exist.  Thanks to Kevin Ryde.
2003-05-03 20:54:13 +00:00
Marius Vollmer
2fae8a88b3 *** empty log message *** 2003-05-03 20:42:16 +00:00
Marius Vollmer
431041f23a (hashq-cons-get-handle): Pass only the expected four arguments to
hashx-get-handle.  Thanks to Kevin Ryde!
2003-05-03 20:42:02 +00:00
Marius Vollmer
8e16737868 *** empty log message *** 2003-05-03 20:22:49 +00:00
Marius Vollmer
9af32db6c5 (make-line-buffering-input-port) Pass 0 as second argument to
string-ref.  Thanks to Kevin Ryde!
2003-05-03 20:22:30 +00:00
Rob Browning
a9c3355e14 *** empty log message *** 2003-04-28 21:40:53 +00:00
Rob Browning
86d43b9bd2 *** empty log message *** 2003-04-21 18:47:40 +00:00
Rob Browning
9e31322c0c *** empty log message *** 2003-04-21 18:14:17 +00:00
Mikael Djurfeldt
3bf465263c * goops.scm (compute-getters-n-setters): Allow for primitive
procedure thunks.  (Thanks to Neil W. Van Dyke.)
2003-04-20 17:33:08 +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
f721dc1de1 * goops.c (TEST_CHANGE_CLASS): Update variable class after class
change.
2003-04-17 20:45:00 +00:00
Mikael Djurfeldt
a75d54876c *** empty log message *** 2003-04-17 19:33:00 +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
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
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
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
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
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
da2e146a5b * print.c (scm_prin1): Remember old state of pstate->writingp. 2003-04-14 14:51:09 +00:00
Mikael Djurfeldt
55ccbd3545 * 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 15:05:05 +00:00
Rob Browning
5735d351cf *** empty log message *** 2003-04-12 18:44:56 +00:00
Rob Browning
fbc29076a3 * md/axp.s (qt_vstart): fix assembly bugs. Thanks to Falk Hueffner. 2003-04-12 18:42:12 +00:00