Mikael Djurfeldt
efe5e0efaa
*** empty log message ***
1999-01-21 02:13:41 +00:00
Mikael Djurfeldt
2a0279c9b8
* random.c: Bugfix: Retrieve and store most significant 32 bits in
...
different order if the machine is bigendian.
(scm_init_random): Added safety check for bignum digit size.
1999-01-21 02:13:23 +00:00
Mikael Djurfeldt
d65010b8a2
Fixed indentation
1999-01-13 08:28:52 +00:00
Mikael Djurfeldt
a40bd53290
*** empty log message ***
1999-01-11 11:34:51 +00:00
Mikael Djurfeldt
c56cc3c85d
* sort.c (scm_merge, scm_merge_list_x): Bugfix: Place elements
...
from first arg before equal elements in second arg in result.
(scm_merge_list_step): Bugfix: Don't presume that arguments in a C
function call are executed in a well defined order.
1999-01-11 11:34:33 +00:00
Jim Blandy
94baa3b2ca
*** empty log message ***
1999-01-11 08:06:33 +00:00
Jim Blandy
a0a06f4101
* alloca.c (alloca): Cast value returned by malloc. (Thanks to
...
Christian Lynbech.)
1999-01-11 08:06:18 +00:00
Mikael Djurfeldt
a5cae3f309
Added #include "feature.h"
1999-01-11 07:40:01 +00:00
Mikael Djurfeldt
922363f51a
*** empty log message ***
1999-01-11 07:13:41 +00:00
Mikael Djurfeldt
5a92ddfd5c
* random.c: Removed alloca includes.
1999-01-11 07:13:18 +00:00
Jim Blandy
f7677ff2d9
*** empty log message ***
1999-01-11 06:50:00 +00:00
Jim Blandy
c3badf02bb
* Makefile.in: This changed, for some reason I don't really
...
understand, when I ran automake in the top level directory. This
may be contamination by Cygnus internal releases. If you re-run
automake and this change gets reverted, don't worry about it.
1999-01-11 06:49:48 +00:00
Mikael Djurfeldt
a7e7ea3e01
Fix
1999-01-10 14:18:33 +00:00
Mikael Djurfeldt
7a5bee23fb
*** empty log message ***
1999-01-10 08:00:41 +00:00
Mikael Djurfeldt
535dbfa6bf
Updated
1999-01-10 07:59:29 +00:00
Mikael Djurfeldt
38be92333a
* Makefile.am: Added sort.c, sort.h, sort.x.
...
* Makefile.am: Added random.c, random.h, random.x.
1999-01-10 07:59:02 +00:00
Mikael Djurfeldt
54e09076eb
* sort.c, sort.h: New files: Implement slib's and scsh's sort
...
interfaces. Author: Roland Orre.
1999-01-10 07:57:58 +00:00
Mikael Djurfeldt
e7a7298668
* random.c, random.h: New files: Random number support.
...
Interface same as slib's.
1999-01-10 07:57:27 +00:00
Mikael Djurfeldt
26ade7a21c
* init.c: #include "sort.h";
...
(scm_boot_guile_1): Call scm_init_sort ().
* init.c: #include "sort.h";
(scm_boot_guile_1): Call scm_init_sort ().
1999-01-10 07:54:50 +00:00
Mikael Djurfeldt
3afbf31409
Updated
1999-01-10 07:43:35 +00:00
Mikael Djurfeldt
f872b8222c
* numbers.c: Formatted according to Guile conventions;
...
Renamed s_bignum --> scm_s_bignum.
1999-01-10 07:38:39 +00:00
Mikael Djurfeldt
34f74fe1cc
* numbers.h: Added #include "libguile/print.h".
1999-01-10 07:38:05 +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
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
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
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
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
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