1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-06 15:40:29 +02:00
Commit graph

20710 commits

Author SHA1 Message Date
Maciej Stachowiak
fcdd667220 * optargs.scm (lambda*): Handle empty argument lists properly. 1999-02-16 08:28:13 +00:00
Jim Blandy
8d21a2ff68 *** empty log message *** 1999-02-15 12:53:31 +00:00
Jim Blandy
cb5d1fb73a Fix from Russ McManus:
* getopt-long.scm (parse-option-spec): Store 'optional as the
value-required? field for options that take optional values.
(process-short-option): Grab a value for the option when it takes
either an optional or required value.
1999-02-15 12:53:10 +00:00
Jim Blandy
4ca48ad457 *** empty log message *** 1999-02-12 10:18:14 +00:00
Jim Blandy
deaceb4eef *** empty log message *** 1999-02-12 10:16:04 +00:00
Jim Blandy
8f5293a682 A new argument-processing package from Russ McManus.
* getopt-long.scm: New file.
* Makefile.am (ice9_sources): Added getopt-long.scm.
* Makefile.in: Regenerated.
1999-02-12 10:15:38 +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
dcab04e112 A new argument-processing package from Russ McManus.
* getopt-long.scm: New file.
* Makefile.am (ice9_sources): Added getopt-long.scm.
* Makefile.in: Regenerated.
1999-02-12 10:09:47 +00:00
Jim Blandy
4925695e21 * getopt-long.scm: Remove debugging calls to `pk'.
A new argument-processing package from Russ McManus.
* getopt-long.scm: New file.
* Makefile.am (ice9_sources): Added getopt-long.scm.
* Makefile.in: Regenerated.
1999-02-12 10:09:29 +00:00
Jim Blandy
29860306e9 * configure.in: Add --with-readline flag.
* configure: Rebuilt.
1999-02-12 08:19:54 +00:00
Jim Blandy
d77fb593b6 Describe --with-readline flag. 1999-02-12 08:19:11 +00:00
Jim Blandy
c12654e115 Mention --with-readline flag. 1999-02-12 08:18:52 +00:00
Maciej Stachowiak
0839489997 * NEWS: Added entry for optargs module.
* ice-9/optargs.scm: New file.
* ice-9/Makefile.am (ice9_sources): Add optargs.scm here. Makefile.in
not regenerated because I don't have the right version of Automake.
1999-02-09 19:49:24 +00:00
Jim Blandy
0d76bcec01 *** empty log message *** 1999-02-07 09:03:32 +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
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