Jim Blandy
4ca48ad457
*** empty log message ***
1999-02-12 10:18:14 +00:00
Jim Blandy
35eec7384c
* __scm.h (SCM_FENCE): Fix `asm volatile' warnings for EGCS.
...
* gc.c (scm_gc_sweep): Properly properly record the size of a
freed structure. (Thanks to Greg Harvey.)
1999-02-12 10:13:20 +00:00
Jim Blandy
d6e0559326
*** empty log message ***
1999-02-06 22:04:22 +00:00
Jim Blandy
ba3cad4d80
* gc.c (scm_gc_sweep): Properly record the size of a freed
...
structure. (Thanks to Michael Livshin.)
1999-02-06 22:04:09 +00:00
Jim Blandy
2a2d0d0e81
*** empty log message ***
1999-02-06 17:11:42 +00:00
Jim Blandy
ec9319f46f
* readline.c (in_readline, reentry_barrier_mutex): Make these
...
static.
* readline.c: #include <sys/time.h> and "iselect.h", so we can
control how long we're paused, and threads will run while we're
paused.
(match_paren, find_matching_paren, init_bouncing_parens): New
functions.
(scm_init_readline): Call init_bouncing_parens.
(scm_readline_opts): Add the bounce-parens option.
* readline.h (SCM_READLINE_BOUNCE_PARENS): New readline option.
(SCM_N_READLINE_OPTIONS): Adjust.
1999-02-06 17:10:01 +00:00
Jim Blandy
daf5f2f95f
*** empty log message ***
1999-02-06 12:32:33 +00:00
Jim Blandy
3eeba8d4f5
* chars.c (scm_lowers, scm_uppers, scm_charnames, scm_charnums),
...
eval.c (s_expression, s_test, s_body, s_bindings, s_variable,
s_clauses, s_formals): Variables now const.
* eval.c (promsmob): Now const.
* macros.c (macrosmob): Now const.
* smob.c (scm_newsmob): Smobfuns argument now points to const.
(freecell, flob, bigob): Now const.
* dynl.c (scm_make_argv_from_stringlist, scm_coerce_rostring),
error.c (scm_error, scm_syserror, scm_syserror_msg,
scm_num_overflow, scm_out_of_range, scm_wrong_type_arg,
scm_memory_error, scm_misc_error, scm_wta), macros.c
(scm_make_synt), feature.c (scm_add_feature), filesys.c
(scm_input_waiting_p), gc.c (scm_gc_start, scm_igc,
scm_must_malloc, scm_must_realloc), gsubr.c (scm_make_gsubr),
numbers.c (scm_num2dbl, scm_two_doubles, scm_num2long,
scm_num2long_long, scm_num2ulong),
options.c (scm_options), posix.c (scm_convert_exec_args,
environ_list_to_c), procs.c (scm_make_subr_opt, scm_make_subr),
ramap.c (scm_ramapc), read.c (scm_flush_ws), socket.c
(scm_sock_fd_to_port, scm_fill_sockaddr, scm_addr_vector), stime.c
(setzone, restorezone, bdtime2c), strop.c (scm_i_index),
strports.c (scm_mkstrport), symbols.c (scm_intern_obarray_soft,
scm_intern_obarray, scm_intern, scm_intern0,
scm_sysintern0_no_module_lookup, scm_sysintern, scm_sysintern0,
scm_symbol_value0), unif.c (scm_aind, scm_shap2ra): Argument
indicating calling subr, error message text, reason for error,
symbol name or feature name are now pointer to const.
* snarf.h (SCM_PROC, SCM_PROC1): String variables are now const.
* procs.c (scm_init_iprocs): iproc argument now points to const.
* pairs.c (cxrs): Now const.
* chars.h, error.h, feature.h, filesys.h, gc.h, gsubr.h, macros.h,
numbers.h, options.h, procs.h, ramap.h, read.h, smob.h,
strports.h, symbols.h, unif.h: Update variable declarations and
function prototypes for above changes.
* dynl.c, dynl-dld.c, dynl-dl.c, dynl-shl.c (sysdep_dynl_link,
sysdep_dynl_unlink, sysdep_dynl_func): Arguments FNAME, SUBR, and
SYMB now point to const.
1999-02-06 12:31:04 +00:00
Jim Blandy
3ec93c46a1
* chars.h, error.h, feature.h, filesys.h, gc.h, gsubr.h, macros.h,
...
numbers.h, options.h, procs.h, ramap.h, read.h, smob.h,
strports.h, symbols.h, unif.h: Update variable declarations and
function prototypes for above changes.
1999-02-06 12:29:08 +00:00
Jim Blandy
57e3a543b2
* chars.c (scm_lowers, scm_uppers, scm_charnames, scm_charnums),
...
eval.c (s_expression, s_test, s_body, s_bindings, s_variable,
s_clauses, s_formals): Variables now const.
1999-02-06 12:28:45 +00:00
Mikael Djurfeldt
500c912f4d
*** empty log message ***
1999-01-26 02:27:34 +00:00
Mikael Djurfeldt
96e263d633
* random.c (scm_i_random_bignum): Made independent of endianness.
1999-01-26 02:27:06 +00:00
Mikael Djurfeldt
72b6625369
*** empty log message ***
1999-01-22 06:44:09 +00:00
Mikael Djurfeldt
4c29f082a1
*** empty log message ***
1999-01-22 06:43:56 +00:00
Mikael Djurfeldt
c79450dd07
* eval.c (SCM_CEVAL): Added ENTER_APPLY in code for SCM_IM_APPLY.
1999-01-22 06:40:39 +00:00
Mikael Djurfeldt
7f14609425
Added #include <stdio.h>
1999-01-21 10:41:10 +00:00
Mikael Djurfeldt
ec1bbf3918
*** empty log message ***
1999-01-21 09:21:56 +00:00
Mikael Djurfeldt
eccc856618
* random.c, random.h (scm_i_make_rstate): New function: Makes
...
scm_rstate from seed.
(scm_copy_random_state, scm_seed_to_random_state): New functions.
(scm_make_random_state): Removed.
1999-01-21 09:20:52 +00:00
Mikael Djurfeldt
5ee11b7cc0
* random.c, random.h (scm_i_make_rstate): New function: Makes
...
scm_rstate from seed.
(scm_copy_random_state, scm_seed_to_random_state): New functions.
(scm_make_random_state): Removed.
* random.c (scm_make_random_state): Use scm_i_make_rstate().
1999-01-21 09:20:39 +00:00
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