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
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
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
9ccfa5bf15
*** empty log message ***
2002-12-08 21:03:40 +00:00
Rob Browning
eff8b05efb
* goops/Makefile.am (subpkgdatadir): VERSION ->
...
GUILE_EFFECTIVE_VERSION.
2002-12-08 20:43:44 +00:00
Rob Browning
b4c4a70a8b
* Makefile.am (subpkgdatadir): VERSION -> GUILE_EFFECTIVE_VERSION.
...
* goops/Makefile.am (subpkgdatadir): VERSION ->
GUILE_EFFECTIVE_VERSION.
2002-12-08 20:43:37 +00:00
Thien-Thi Nguyen
25216b3f51
*** empty log message ***
2002-02-09 06:03:43 +00:00
Thien-Thi Nguyen
40e3f30ea5
(AUTOMAKE_OPTIONS): Replace "foreign" with "gnu".
2002-02-09 06:03:00 +00:00
Mikael Djurfeldt
7dd526de2d
* goops.scm, goops/active-slot.scm, goops/compile.scm,
...
goops/composite-slot.scm, goops/describe.scm, goops/dispatch.scm,
goops/old-define-method.scm, goops/save.scm, goops/util.scm: Move
module the system directives `export', `export-syntax',
`re-export' and `re-export-syntax' into the `define-module' form.
This is the recommended way of exporting bindings.
2001-10-18 19:42:22 +00:00
Martin Grabmüller
4ff63331dd
* goops/util.scm: Updated copyright notice.
2001-07-19 20:50:48 +00:00
Martin Grabmüller
38038d4c6c
* goops/save.scm: Use re-export' instead of
export' when
...
re-exporting `make-unbound'.
2001-07-17 05:28:20 +00:00
Marius Vollmer
feeedafb9c
*** empty log message ***
2001-06-04 22:18:59 +00:00
Marius Vollmer
5a3ea50184
Use re-export' instead of
export' when re-exporting
...
`class-of'.
2001-06-04 22:18:12 +00:00
Marius Vollmer
c22adbeb3b
Added exception notice to all files.
2001-06-03 23:32:27 +00:00
Marius Vollmer
51f7ef47f9
Fix missing paren.
2001-05-19 22:58:29 +00:00
Marius Vollmer
7c628196fd
*** empty log message ***
2001-05-19 00:19:42 +00:00
Marius Vollmer
78ec533c40
Call `%init-goops-builtins' instead of using the
...
`(oop goops goopscore)' module.
2001-05-19 00:19:25 +00:00
Marius Vollmer
f3f9dcbc5d
*** empty log message ***
2001-05-15 15:00:31 +00:00
Marius Vollmer
296ff5e78b
Merged from mvo-vcell-cleanup-1-branch.
2001-05-15 14:59:42 +00:00
Marius Vollmer
c10ecc4c81
*** empty log message ***
2001-05-05 19:16:08 +00:00
Marius Vollmer
2b33d8dcd7
(top-level-env): Use `current-module' instead of
...
the deprecated *top-level-lookup-closure*.
2001-05-05 19:09:14 +00:00
Marius Vollmer
a524a03f87
(initialize-object-procedure): Use
...
`valid-object-procedure?' instead of explicit tag magic.
(object-procedure-tags): Removed.
2001-05-05 19:08:32 +00:00
Rob Browning
c90fcdf63f
*** empty log message ***
2001-04-28 17:18:16 +00:00
Rob Browning
d3299bc330
* goops.scm (method): rename list* to cons*.
2001-04-28 17:18:06 +00:00
Rob Browning
0b7edf57e8
* goops/save.scm (write-readably): rename list* to cons*.
2001-04-28 17:17:38 +00:00
Mikael Djurfeldt
b592004c72
* goops/Makefile.am, goops/goopscore.scm: Reverted changes of
...
2001-04-03, 2001-03-09.
2001-04-11 02:13:14 +00:00
Keisuke Nishida
a082616648
* goops/Makefile.am (goops_sources): Include goopscore.scm.
2001-04-03 20:48:20 +00:00
Keisuke Nishida
a255cf13ba
* goops/goopscore.scm: New file.
2001-03-30 02:51:50 +00:00
Mikael Djurfeldt
71d540f734
* goops.scm (define-method): Only accept new syntax.
...
* goops/old-define-method.scm: New file.
* goops.scm, goops/save.scm, goops/composite-slot.scm,
goops/active-slot.scm: Use new method syntax.
2001-03-10 03:09:50 +00:00
Mikael Djurfeldt
b432fb4b99
* goops/compile.scm (compile-method): Tag method closure for body
...
expansion.
* goops.scm (change-object-class): Quote empty list constants.
(method): Reverted previous change (enclosing body);
Quote empty list.
(initialize <method>): Supply `dummy-procedure' as default instead
of creating a new closure.
* goops/internal.scm: Re-export (oop goops) without copying
bindings.
2001-03-04 20:46:34 +00:00
Mikael Djurfeldt
cc6c7feea4
* goops.scm (change-object-class): Quote empty list constants.
...
(method): Reverted previous change (enclosing body);
Quote empty list.
(initialize <method>): Pre-expand the method closure.
2001-03-04 05:28:21 +00:00
Keisuke Nishida
19b6a58d52
* goops.scm (method): Enclosed BODY by `(let () ...)'.
...
This allows local defines at the beginning of methods.
2001-02-23 13:07:09 +00:00
Dirk Herrmann
3b505adf7d
* Use eval instead of eval-in-module.
2000-12-15 09:53:56 +00:00
Keisuke Nishida
85270b4033
.cvsignore
2000-12-07 00:40:31 +00:00
Dirk Herrmann
ca83b028dc
* Goops does not provide its own version of logand any more.
...
* Removed use of deprecated stuff from goops.
2000-11-24 10:55:23 +00:00
Mikael Djurfeldt
b100f5eed2
*** empty log message ***
2000-11-07 02:19:13 +00:00
Mikael Djurfeldt
ef42490f66
* goops/dispatch.scm (method-cache-install!): Use n-specialized +
...
1 args for type matching. (Thanks to Lars J. Aas.)
2000-11-07 02:19:03 +00:00
Mikael Djurfeldt
81211c73cc
* goops.scm (internal-add-method!): Set n-specialized of a generic
...
function to the number of specializers regardless if it has rest
args or not.
2000-11-07 02:18:52 +00:00
Mikael Djurfeldt
14f1d9fec8
*** empty log message ***
2000-10-25 14:51:33 +00:00