summaryrefslogtreecommitdiff
path: root/oop
AgeCommit message (Collapse)AuthorFilesLines
2004-02-09* Makefile.am (TAGS_FILES): Use this variable instead ofMikael Djurfeldt3-4/+10
ETAGS_ARGS so that TAGS can be built using separate build directory. * Makefile.am (TAGS_FILES): Use this variable instead of ETAGS_ARGS so that TAGS can be built using separate build directory. * debugger/breakpoints/Makefile.am (TAGS_FILES), debugger/Makefile.am (TAGS_FILES), Makefile.am (TAGS_FILES): Use this variable instead of ETAGS_ARGS so that TAGS can be built using separate build directory. * primitives/Makefile.am (TAGS_FILES), internals/Makefile.am (TAGS_FILES), Makefile.am (TAGS_FILES): Use this variable instead of ETAGS_ARGS so that TAGS can be built using separate build directory. * Makefile.am, goops/Makefile.am (TAGS_FILES): Use this variable instead of ETAGS_ARGS so that TAGS can be built using separate build directory. * Makefile.am (TAGS_FILES): Use this variable instead of ETAGS_ARGS so that TAGS can be built using separate build directory.
2004-01-12*** empty log message ***Marius Vollmer1-0/+5
2004-01-12(compute-get-n-set): Use '#:' in error message instead of ':'. ThanksMarius Vollmer1-1/+1
to Richard Todd!
2003-04-20* goops.scm (compute-getters-n-setters): Allow for primitiveMikael Djurfeldt2-6/+14
procedure thunks. (Thanks to Neil W. Van Dyke.)
2003-04-19* goops/dispatch.scm (cache-hashval): Corrected terminationMikael Djurfeldt2-4/+9
condition for hashval computation. (Previously, it made erroneous assumptions about the representation of environments; Thanks to Andreas Rottmann.)
2003-04-17* tests/goops.test: Added tests for correctness of classMikael Djurfeldt2-1/+4
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* goops.scm (compute-getters-n-setters): Check for bad init-thunk.Mikael Djurfeldt2-3/+13
2003-04-17CommentMikael Djurfeldt1-0/+3
2003-04-15* tests/goops.test: Added tests for class redefinition, objectMikael Djurfeldt2-5/+16
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-14FixMikael Djurfeldt1-1/+1
2003-04-13* goops.scm (compute-getters-n-setters/verify-accessors): BetterMikael Djurfeldt2-15/+41
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-05Changed license terms to the plain LGPL thru-out.Marius Vollmer12-387/+116
2003-03-19* goops.scm (process-class-pre-define-accessor): Temporary kludgeMikael Djurfeldt2-5/+15
to fix a problem introduced by my previous change.
2003-03-17* goops.scm (process-class-pre-define-generic,Mikael Djurfeldt2-20/+56
process-class-pre-define-accessor, process-define-generic, process-define-accessor): New functions. (define-class-pre-definition): Use process-class-pre-define-generic and process-class-pre-define-accessor; Make sure not to create a new local variable if the variable has been imported. (define-generic): Use process-define-generic. (define-accessor): Use process-define-accessor.
2003-03-12* goops.scm (merge-generics): Make sure not to merge a gf withMikael Djurfeldt2-8/+16
itself. That would be the cause of a real binding collision.
2003-03-11* srfi-1.scm (filter, filter!): Removed. (Now implemented in the core.)Mikael Djurfeldt2-7/+4
* goops/util.scm (filter): Removed. (Now supplied by core.) * list.c, list.h (scm_filter, scm_filter_x): New functions. * debugger/command-loop.scm: Prefix all commands imported from (ice-9 debugger command-loop) with debugger:. * boot-9.scm (resolve-interface): Process #:hide; Name custom interfaces appropriately. (module-use!, module-use-interfaces!): Remove existing interfaces on the use-list based on module name rather than interface identity so that custom interfaces truly replaces their previous version.
2003-03-11IndentationMikael Djurfeldt1-1/+1
2003-03-11* goops.scm (define-extended-generics): New syntax.Mikael Djurfeldt2-10/+38
(<class> <operator-class> <entity-class> <entity>): Marked as replacements. (upgrade-accessor): Renamed from upgrade-generic-with-setter. (ensure-accessor, upgrade-accessor): Rewritten to accomodate the new <accessor> class. (merge-accessors): Provide for merging of accessors imported from different modules under the same name. * goops.c, goops.h (scm_class_accessor_method): Renamed from scm_class_accessor. (scm_class_accessor): New class.
2003-03-10* srfi-1.scm (iota map for-each map-in-order list-index memberMikael Djurfeldt2-1/+22
delete delete! assoc): Marked as replacements. * goops.scm (define-extended-generics): New syntax. (<class> <operator-class> <entity-class> <entity>): Marked as replacements. * boot-9.scm (module-override!, make-mutable-parameter, lookup-duplicates-handlers, default-module-duplicates-handler): New functions. (process-duplicates): Don't call duplicates handlers for duplicate bindings of the same variable. (process-define-module): Process #:replace. (compile-interface-spec, resolve-interface): Process #:prefix. * format.scm (format): Marked as replacement. * threads.scm (future, future-ref): Marked as replacements.
2003-03-07* boot-9.scm (process-define-module): Handle #:duplicates.Mikael Djurfeldt2-1/+45
(module-use-interfaces! process-duplicates): New functions. (duplicate-handlers): Dictionary of duplicate handlers. (module-symbol-local-binding, module-symbol-binding): Bugfix. * goops.scm (equal?): Define default method. (merge-generics): Provide for merging of generic functions imported into a module under the same name.
2003-03-06* srfi-1.c (scm_init_srfi_1): Extend root module map and for-eachMikael Djurfeldt2-0/+6
with the versions in this module using scm_c_extend_primitive_generic. * goops.scm (equal?): Define default method. * goops.c (scm_primitive_generic_generic): Enable primitive generic if not enabled. (scm_sys_goops_loaded): Setup unextended primitive generics. * goops.c, goops.h (scm_c_extend_primitive_generic): New function. * snarf.h (SCM_PRIMITIVE_GENERIC, SCM_PRIMITIVE_GENERIC_1): New snarf macros. * numbers.c (scm_abs): Use SCM_PRIMITIVE_GENERIC. (This is only a testing example. All uses of SCM_GPROC should be converted.) * procprop.c (scm_stand_in_scm_proc): Use scm_assq instead of scm_assoc. * eq.c (scm_equal_p): Turned into a primitive generic.
2003-01-18* goops.scm (method): Construct a new copy of the constant '('())Mikael Djurfeldt2-1/+6
for every macro invocation.
2003-01-08* goops.scm (upgrade-generic-with-setter,Mikael Djurfeldt2-4/+78
compute-new-list-of-methods): Use methods slot directly instead of generic-function-methods. (upgrade-generic-with-setter): Handle <extended-generic>:s. (define-extended-generic): New syntax. (make-extended-generic): New function. * goops.c, goops.h (scm_class_extended_generic_with_setter): New class. (scm_compute_applicable_methods): Use scm_generic_function_methods. * goops.c (scm_generic_function_methods): Support extended generic functions.
2002-12-09*** empty log message ***Rob Browning1-0/+7
2002-12-09* Makefile.am (subpkgdatadir): VERSION -> GUILE_EFFECTIVE_VERSION.Rob Browning1-1/+1
* goops/Makefile.am (subpkgdatadir): VERSION -> GUILE_EFFECTIVE_VERSION.
2002-12-09* goops/Makefile.am (subpkgdatadir): VERSION ->Rob Browning1-1/+1
GUILE_EFFECTIVE_VERSION.
2002-11-16* goops.scm (standard-define-class): Changed definition to formDirk Herrmann2-1/+7
a 'real' macro definition.
2002-07-13* oop/goops.scm (define-generic, define-accessor): Make sure thatDirk Herrmann2-13/+22
define-generic and define-accessor will continue to work when mmacros are expanded before execution. * test-suite/tests/goops.test: Added tests for define-generic and define-accessor.
2002-07-13* oop/goops.scm (define-class): Make sure that define-class willDirk Herrmann2-17/+16
continue to work when mmacros are expanded before execution. * test-suite/tests/goops.test: Added tests for define-class.
2002-07-08* goops.scm (define-generic, define-accessor): Make sure thatDirk Herrmann3-8/+18
implicit redefines only happen on top level. * goops.scm (define-class, define-generic, define-accessor), goops/stklos.scm (define-class): Use mmacros instead of macros.
2002-07-07* now using mmacros instead of macros at some places.Dirk Herrmann2-2/+6
2002-02-26Revert to 1.6 (1.7 was an accidental checkin).Thien-Thi Nguyen1-34/+19
2002-02-26doc/ref/ChangeLogThien-Thi Nguyen1-23/+38
2001-10-21* lib.scm: Move module the system directives `export',Mikael Djurfeldt10-76/+73
`export-syntax', `re-export' and `re-export-syntax' into the `define-module' form. This is the recommended way of exporting bindings. * srfi-2.scm, srfi-4.scm, srfi-8.scm, srfi-9.scm, srfi-10.scm, srfi-11.scm, srfi-14.scm, srfi-16.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. * 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. * slib.scm (array-indexes): New procedure. (*features*): Extend. (Probably some of these options should be set elsewhere.) (Thanks to Aubrey Jaffer.) * and-let-star-compat.scm, and-let-star.scm, calling.scm, channel.scm, common-list.scm, debug.scm, debugger.scm, expect.scm, hcons.scm, lineio.scm, ls.scm, mapping.scm, null.scm, optargs.scm, poe.scm, popen.scm, pretty-print.scm, q.scm, r5rs.scm, rdelim.scm, regex.scm, runq.scm, safe-r5rs.scm, safe.scm, session.scm, slib.scm, streams.scm, string-fun.scm, syncase.scm, threads.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-08-25*** empty log message ***Marius Vollmer1-0/+5
2001-08-25(AUTOMAKE_OPTIONS): Change "foreign" to "gnu".Marius Vollmer2-2/+2
2001-07-29*** empty log message ***Marius Vollmer1-0/+5
2001-07-29(hashset-index): Renumbered, since the vcell slot of structs has beenMarius Vollmer1-1/+1
removed.
2001-07-19 * goops/util.scm: Updated copyright notice.Martin Grabmüller2-1/+5
2001-07-17 * goops/save.scm: Use `re-export' instead of `export' whenMartin Grabmüller2-1/+8
re-exporting `make-unbound'.
2001-06-04*** empty log message ***Marius Vollmer1-0/+5
2001-06-04Use `re-export' instead of `export' when re-exportingMarius Vollmer1-1/+3
`class-of'.
2001-06-03Added exception notice to all files.Marius Vollmer11-0/+264
2001-05-19Fix missing paren.Marius Vollmer1-1/+1
2001-05-19*** empty log message ***Marius Vollmer1-0/+5
2001-05-19Call `%init-goops-builtins' instead of using theMarius Vollmer1-6/+9
`(oop goops goopscore)' module.
2001-05-15*** empty log message ***Marius Vollmer1-0/+6
2001-05-15Merged from mvo-vcell-cleanup-1-branch.Marius Vollmer1-1/+3
2001-05-05*** empty log message ***Marius Vollmer1-0/+9
2001-05-05(top-level-env): Use `current-module' instead ofMarius Vollmer1-3/+4
the deprecated *top-level-lookup-closure*.