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

21194 commits

Author SHA1 Message Date
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
2e13255303 *** empty log message *** 1999-02-06 16:11:26 +00:00
Jim Blandy
0e68d6003b * and-let*.scm: New file, from Michael Livshin.
* Makefile.am (ice9_sources): Add and-let* here.
* Makefile.in: Regenerated.
1999-02-06 16:10:05 +00:00
Jim Blandy
d5fb9ed837 * configure: Regenerated using autoconf 2.12. 1999-02-06 16:07:10 +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
Jim Blandy
e54a0ce96b *** empty log message *** 1999-01-30 21:57:27 +00:00
Mikael Djurfeldt
5a6b99a188 Regenerated 1999-01-26 02:30:18 +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
b7965ba977 * configure.in: Removed test AC_C_BIGENDIAN. (This test was
considered to encourage bad coding style.)
1999-01-26 02:26:51 +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
416075f1ee *** empty log message *** 1999-01-21 09:32:45 +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
6bcb5a82c3 ¸ 1999-01-21 02:13:09 +00:00
Mikael Djurfeldt
22c23a77cf Updated 1999-01-21 02:12:02 +00:00
Mikael Djurfeldt
7da547e5bd * configure.in: Added test AC_C_BIGENDIAN. 1999-01-21 02:11:40 +00:00
Jim Blandy
0822a9c108 *** empty log message *** 1999-01-19 15:10:41 +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
65a5dccbcc *** empty log message *** 1999-01-11 07:49:04 +00:00
Mikael Djurfeldt
12ed431d8d * slib.scm (install-require-module): Fixed the kludge which loads
the slib catalog: Doesn't anylonger assume that the feature tested
for isn't loaded.
1999-01-11 07:48:49 +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
Jim Blandy
21cb5cfc36 * configure.in: Remove quotes around ac_cv_lib_readline_main and
ac_cv_var_rl_getc_function.  They should both always be set to
non-null values; this way, we get error messages.
* configure: Regenerated.
1999-01-11 06:46:53 +00:00
Jim Blandy
5f3718775b *** empty log message *** 1999-01-10 14:39:31 +00:00
Jim Blandy
f734697428 * configure.in: Cite the variable ac_cv_lib_readline_main, not
ac_cv_lib_readline_readline; the latter isn't set any more, since
we look for 'main' in libreadline now.  Add quotes around
reference to the variable references, too, so this will work even
when a variable's value is the empty string.
* configure: Regenerated.
1999-01-10 14:39:01 +00:00
Mikael Djurfeldt
a7e7ea3e01 Fix 1999-01-10 14:18:33 +00:00
Mikael Djurfeldt
3e8370c3e8 *** empty log message *** 1999-01-10 12:31:31 +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