1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-08 10:50:21 +02:00
Commit graph

14736 commits

Author SHA1 Message Date
Mikael Djurfeldt
ed8c86364e *** empty log message *** 1999-01-09 15:07:52 +00:00
Mikael Djurfeldt
7688430d05 Correction of mistake (should have committed onto a branch...) 1999-01-05 09:40:49 +00:00
Mikael Djurfeldt
98fae09612 *** empty log message *** 1999-01-05 09:25:59 +00:00
Mikael Djurfeldt
e1f2bf99e9 * guardians.c, guardians.h (scm_make_guardian,
scm_guardian_gc_init, scm_guardian_zombify, scm_guard,
scm_get_one_zombie, scm_init_guardian): This is an implementation
of guardians as described in R. Kent Dybvig, Carl Bruggeman, and
David Eby (1993) "Guardians in a Generation-Based Garbage
Collector" ACM SIGPLAN Conference on Programming Language Design
and Implementation, June 1993 ftp://ftp.cs.indiana.edu
/pub/scheme-repository/doc/pubs/guardians.ps.gz
Author: Michael	N. Livshin.
1998-12-23 06:38:06 +00:00
Mikael Djurfeldt
0c03eafd7b *** empty log message *** 1998-12-23 05:57:33 +00:00
Mikael Djurfeldt
f28b85f29a * init.c (scm_boot_guile_1): Call scm_init_guardian. 1998-12-23 05:55:15 +00:00
Mikael Djurfeldt
79e3f9e250 * gc.h (SCM_MARKEDP, SCM_NMARKEDP): New macros. 1998-12-23 05:55:01 +00:00
Mikael Djurfeldt
0493cd8974 * gc.c (scm_igc): Call scm_guardian_gc_init and
scm_guardian_zombify.
1998-12-23 05:54:47 +00:00
Mikael Djurfeldt
e98f3cf2c6 * Makefile.am: New files: guardians.c, guardians.x, guardians.h 1998-12-23 05:54:24 +00:00
Mikael Djurfeldt
ba4ee0d6b1 *** empty log message *** 1998-12-23 05:53:18 +00:00
Jim Blandy
a588d62cf1 *** empty log message *** 1998-12-21 20:18:44 +00:00
Jim Blandy
3d06534e9b *** empty log message *** 1998-12-20 12:08:43 +00:00
Mikael Djurfeldt
d0c2c0c04c *** empty log message *** 1998-12-19 03:36:50 +00:00
Mikael Djurfeldt
8499074bcc * macros.c (scm_makacro, scm_makmacro, scm_makmmacro): Added
argument checking.
1998-12-19 03:35:51 +00:00
Mikael Djurfeldt
7f0a6a6946 *** empty log message *** 1998-12-16 08:13:41 +00:00
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