1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-26 13:10:22 +02:00
Commit graph

12971 commits

Author SHA1 Message Date
Mikael Djurfeldt
f40f662e9c Move the procedure slots of entities to invisible slots (so that
we can have operator class objects which themselves are entities).
* struct.h (scm_struct_i_proc, scm_struct_i_flags,
SCM_STRUCTF_ENTITY): New constants.
* struct.c, struct.h (scm_alloc_struct): Renamed from alloc_struct
and made global.
(scm_struct_init): Renamed from init_struct and made global.
1998-12-16 08:08:07 +00:00
Mikael Djurfeldt
a5bfe84db4 * struct.c (scm_make_struct): Allocate "invisible" room for
procedures if SCM_STRUCTF_ENTITY is set in vtable.
* struct.c, struct.h (scm_alloc_struct): Renamed from alloc_struct
and made global.
(scm_struct_init): Renamed from init_struct and made global.
1998-12-16 08:07:36 +00:00
Mikael Djurfeldt
82fe8ff1e2 * objects.h (SCM_ENTITY, scm_entity): Removed.
(SCM_ENTITY_PROC_0, SCM_ENTITY_PROC_0, SCM_ENTITY_PROC_0,
SCM_ENTITY_PROC_3): Adjusted for new location of procedure slots.
1998-12-16 08:06:50 +00:00
Mikael Djurfeldt
aa0761ec4f * gc.c (scm_gc_mark): Mark entity procedures. 1998-12-16 08:06:11 +00:00
Jim Blandy
afdfe3f41a *** empty log message *** 1998-12-15 05:51:11 +00:00
Maciej Stachowiak
b8229a3bab * snarf.h (SCM_SYNTAX): New macro to allow convenient declaration of
syntactic forms, similar to SCM_PROC.
* debug.c, eval.c, evalext.c: use SCM_SYNTAX to declare all special
forms, and SCM_SYMBOL or SCM_GLOBAL_SYMBOL to delcare C variables for
the name symbols when needed.
1998-12-14 15:19:59 +00:00
Jim Blandy
257665b528 * Makefile.in: Regenerated. 1998-12-14 10:06:05 +00:00
Jim Blandy
333a479127 *** empty log message *** 1998-12-14 10:06:04 +00:00
Jim Blandy
5ee74cec86 * configure.in: Check for tgoto in ncurses, then termcap.
S.u.S.E. Linux doesn't have a termcap.  (Thanks to Karl
Eichwalder.)
* configure: Regenerated.
1998-12-14 10:04:48 +00:00
Mikael Djurfeldt
45a02a29a6 * boot-9.scm (process-define-module): Reverted the change of
1998-11-23 which caused loading of object code if :use-module was
applied to the module itself.
1998-12-14 07:53:32 +00:00
Mikael Djurfeldt
9705d5c2a1 Fix 1998-12-11 05:07:18 +00:00
Mikael Djurfeldt
bf3c93d1ae * boot-9.scm (environment->module): New procedure. 1998-12-11 05:05:43 +00:00
Mikael Djurfeldt
e7b6c8341c *** empty log message *** 1998-12-10 17:06:24 +00:00
Mikael Djurfeldt
ac286d58fa * Makefile.am: Removed setf.scm. 1998-12-10 17:06:01 +00:00
Mikael Djurfeldt
3c2d4ffa40 * setf.scm: Removed. 1. It was buggy. 2. It was unschemey.
(These shortcomings were my fault.)
1998-12-10 17:05:47 +00:00
Jim Blandy
715fad681a *** empty log message *** 1998-12-09 09:28:47 +00:00
Mikael Djurfeldt
ea633082e5 Formatting 1998-12-09 03:50:49 +00:00
Mikael Djurfeldt
67ad463a02 *** empty log message *** 1998-12-07 16:50:33 +00:00
Mikael Djurfeldt
dba2ab4994 * ramap.c (array-copy-in-order!, array-map-in-order): New names.
Replaces old names serial-array-copy! and serial-array-map!.
1998-12-07 16:48:56 +00:00
Mikael Djurfeldt
285302e107 * evalext.c (map-in-order): New name. Replaces serial-map. 1998-12-07 16:48:35 +00:00
Mikael Djurfeldt
bc9a91373f *** empty log message *** 1998-12-07 02:56:00 +00:00
Mikael Djurfeldt
0ec99547cd * setf.scm: New file. Adds the new forms setf!' and setter'
which implements generalized references a la Common LISP.
1998-12-07 02:53:33 +00:00
Mikael Djurfeldt
e8c709c475 Updated 1998-12-07 02:52:28 +00:00
Mikael Djurfeldt
93f543c9ec * Makefile.am: Added setf.scm. 1998-12-07 02:52:07 +00:00
Jim Blandy
f233316662 * pairs.h (SCM_NEWCELL): When DEBUG_FREELIST is defined, don't
take the address of _into; it might be a register.  Just have
scm_debug_newcell return the new cell.
* gc.c (scm_debug_newcell): Just return the new cell, instead of
taking the address of a place to store it as an argument.
* gc.h (scm_debug_newcell): Change declaration.
(Thanks to Greg Harvey.)
1998-12-05 18:52:15 +00:00
Jim Blandy
105ac23a5b Remove list of things to do for 1.3 release. 1998-12-05 18:07:41 +00:00
Jim Blandy
67ea079d85 *** empty log message *** 1998-12-05 16:55:41 +00:00
Jim Blandy
ceef320834 * smob.c (freeprint): New function.
(freecell): Use it to print freed objects, for slightly easier
debugging.
1998-12-05 16:52:34 +00:00
Mikael Djurfeldt
6ab397f48e *** empty log message *** 1998-12-04 11:41:18 +00:00
Mikael Djurfeldt
2e9d6c6d3c * backtrace.c (display_frame): Made more robust. Doesn't throw an
error if no source properties can be found for a frame.  (Thanks
to Christian Lynbech.)
1998-12-04 11:41:03 +00:00
Jim Blandy
349d9c1f86 *** empty log message *** 1998-12-02 14:31:21 +00:00
Jim Blandy
aa31443aed *** empty log message *** 1998-12-02 11:55:00 +00:00
Mikael Djurfeldt
7122506062 * boot-9.scm (process-define-module): Added new specifier
:autoload MODULENAME BINDINGS to the define-module form.
The autoload specifier tells the module system to load the module
MODULENAME at the first occasion that any variable with its name
among BINDINGS is referenced.
(make-autoload-interface): New procedure:  Constructs a stand-in
for the public interface for the module to be autoloaded.
1998-12-01 17:06:34 +00:00
Mikael Djurfeldt
3b3085c692 * boot-9.scm (*suppress-old-style-hook-warning*): Set this to #t
if you don't want the old style hook warnings.
1998-12-01 11:28:24 +00:00
Mikael Djurfeldt
49e5d550cb * boot-9.scm (try-using-libtool-name): Fix check on dlname to make
sure that it isn't empty, as it is when we are only buidling
static libraries.
1998-12-01 07:35:00 +00:00
Mikael Djurfeldt
afae5cbdcb *** empty log message *** 1998-11-26 18:05:20 +00:00
Mikael Djurfeldt
4a9f464eff * session.scm (arity): New procedure. 1998-11-26 18:04:46 +00:00
Mikael Djurfeldt
aa3bdf59ac * objects.h: Removed slots direct_supers and direct_slots from the
definitions of the rudimentary classes described by objects.h.
* objects.c, objects.h (scm_entity_p): New procedure.  Together
with the predicates scm_procedure_p and scm_struct_p, this
predicate makes it possible to differ between structs, entities
and operators.
1998-11-26 18:04:33 +00:00
Mikael Djurfeldt
19c0dec231 * objects.c, objects.h (scm_entity_p): New procedure. Together
with the predicates scm_procedure_p and scm_struct_p, this
predicate makes it possible to differ between structs, entities
and operators.
1998-11-26 18:03:02 +00:00
Mikael Djurfeldt
90184345a0 * modules.c, modules.h (scm_resolve_module): New function. 1998-11-26 17:59:15 +00:00
Mikael Djurfeldt
1f60d9d237 Warn that resolve-module is used by modules.c 1998-11-26 17:56:36 +00:00
Mikael Djurfeldt
3763ac3c74 *** empty log message *** 1998-11-26 08:42:27 +00:00
Mikael Djurfeldt
3203b6c9b3 Just synchronizing to my copy... 1998-11-26 08:41:56 +00:00
Mikael Djurfeldt
434b6fd23a Updated 1998-11-26 08:36:23 +00:00
Mikael Djurfeldt
91517e28d1 * procprop.c (scm_i_procedure_arity): Bugfix: Return correct value
for asubrs, rpsubrs, lsubrs and lsubr_2s.
1998-11-26 08:33:49 +00:00
Mikael Djurfeldt
f6b250bdde fix 1998-11-26 08:33:38 +00:00
Mikael Djurfeldt
04efd24d82 * boot-9.scm: Use run-hook instead of run-hooks everywhere. 1998-11-26 08:31:02 +00:00
Mikael Djurfeldt
0d2e4c1bec *** empty log message *** 1998-11-26 07:58:53 +00:00
Mikael Djurfeldt
03d1ed6f37 * procprop.h (scm_i_procedure_arity): Added declaration. 1998-11-26 07:44:53 +00:00
Mikael Djurfeldt
089067091c * procprop.c (scm_i_procedure_arity): Made global; New code to
handle operators and entities.
(scm_procedure_property): No need to call scm_procedure_p since
scm_i_procedure_arity now does all necessary type checking.
Added #include "objects.h".
1998-11-26 07:44:35 +00:00