Mikael Djurfeldt
fde61308d3
*** empty log message ***
1999-03-11 11:48:23 +00:00
Mikael Djurfeldt
37581b1154
* tags.h (scm_tc7_pws): New procedure type. Four representations
...
for procedure-with-setters were considered before selecting this
one:
* eval.c, debug.c, tags.h (SCM_IM_SET_X): Renamed from SCM_IM_SET.
1999-03-11 11:48:07 +00:00
Mikael Djurfeldt
7ee70a2659
* struct.h (scm_struct_i_setter): New constant.
1999-03-11 11:47:58 +00:00
Mikael Djurfeldt
25c9482661
* struct.c (scm_make_struct): Allocate one word more for
...
entities and initialize the new slot.
1999-03-11 11:47:49 +00:00
Mikael Djurfeldt
64c4580bd8
* eval.c, procs.c, procs.h, procprop.c: Renamed getter ->
...
procedure throughout.
* procs.c, procs.h (SCM_PROCEDURE_WITH_SETTER_P, SCM_GETTER,
SCM_SETTER): New macros.
(scm_procedure_with_setter_p, scm_make_procedure_with_setter,
scm_getter, scm_setter): New procedures.
1999-03-11 11:47:40 +00:00
Mikael Djurfeldt
b4cd6492af
* eval.c, procs.c, procs.h, procprop.c: Renamed getter ->
...
procedure throughout.
* procs.c (scm_procedure, scm_setter): Handle entity and operator
setter slots.
* procs.c, procs.h (SCM_PROCEDURE_WITH_SETTER_P, SCM_GETTER,
SCM_SETTER): New macros.
(scm_procedure_with_setter_p, scm_make_procedure_with_setter,
scm_getter, scm_setter): New procedures.
* procprop.c (scm_i_procedure_arity), procs.c (scm_thunk_p): Added
entry for scm_tc7_pws.
* procs.c (scm_procedure_p): Added case label for scm_tc7_pws.
1999-03-11 11:47:31 +00:00
Mikael Djurfeldt
dec118c8c7
* eval.c, procs.c, procs.h, procprop.c: Renamed getter ->
...
procedure throughout.
* procprop.c (scm_i_procedure_arity), procs.c (scm_thunk_p): Added
entry for scm_tc7_pws.
1999-03-11 11:47:22 +00:00
Mikael Djurfeldt
c180dfd39d
* print.c (scm_iprin1): Removed extraneous space when printing
...
procedure-with-setters.
* print.c (scm_iprin1): Use scm_procedure_name instead of
scm_procedure_property for compiled closures.
* eval.c, print.c (scm_iprin1): Added entries for scm_tc7_pws.
1999-03-11 11:47:10 +00:00
Mikael Djurfeldt
dae5a1e96f
* objects.h (scm_si_redefined, scm_si_hashsets): Shifted.
...
* objects.h (SCM_OPERATOR_SETTER, SCM_ENTITY_SETTER): New macros.
(struct scm_metaclass_operator): New setter slot.
* objects.h (SCM_OBJ_CLASS_REDEF): New macro: Find class slots
directly through the instance.
* objects.c, objects.h (scm_class_of,
scm_class_procedure_with_setter): Added.
* objects.c, objects.h (SCM_CLASS_REDEF): Renamed from CLASS_REDEF.
1999-03-11 11:47:00 +00:00
Mikael Djurfeldt
ab7288bca0
* objects.c (scm_class_of): Use SCM_OBJ_CLASS_REDEF.
...
* objects.c, objects.h (scm_class_of,
scm_class_procedure_with_setter): Added.
* objects.c, objects.h (SCM_CLASS_REDEF): Renamed from CLASS_REDEF.
1999-03-11 11:46:45 +00:00
Mikael Djurfeldt
fa1f483e9a
Declare scm_list_star
1999-03-11 11:46:35 +00:00
Mikael Djurfeldt
a610b8d970
* list.c (scm_list_star): New procedure.
1999-03-11 11:46:16 +00:00
Mikael Djurfeldt
8163d1e493
* gc.c, gc.h (scm_object_address): Renamed from scm_object_addr ().
1999-03-11 11:46:07 +00:00
Mikael Djurfeldt
e641afaf8c
* gc.c, gc.h (scm_object_address): Renamed from scm_object_addr ().
...
* gc.c (scm_gc_mark): Mark struct setter slot.
* gc.c (scm_gc_sweep): Bugfix: Look for SCM_STRUCT_F_LIGHT flag at
scm_struct_i_flags instead of scm_vtable_index_layout!
* gc.c (scm_gc_mark, scm_gc_sweep): Added case labels for
scm_tc7_pws.
1999-03-11 11:45:58 +00:00
Mikael Djurfeldt
a70fb265a2
* evalext.c, evalext.h (scm_m_generalized_set_x): New memoizing
...
macro.
(scm_init_evalext): Call scm_make_gsubr for
scm_m_generalized_set_x.
1999-03-11 11:45:34 +00:00
Mikael Djurfeldt
79dc2f37e9
* eval.h: Declare scm_s_set_x, scm_sym_set_x;
1999-03-11 11:45:16 +00:00
Mikael Djurfeldt
89efbff42e
* eval.c, procs.c, procs.h, procprop.c: Renamed getter ->
...
procedure throughout.
* eval.c, print.c (scm_iprin1): Added entries for scm_tc7_pws.
* eval.c, debug.c, tags.h (SCM_IM_SET_X): Renamed from SCM_IM_SET.
* eval.c: Renamed "set" --> "set_x" in various names for
consistency of name correspondence between Scheme and C;
Renamed scm_i_set_x --> scm_sym_set_x and made global.
Renamed s_set_x --> scm_s_set_x and made global.
* eval.c (SCM_CEVAL): Added ENTER_APPLY in code for SCM_IM_APPLY.
(Thanks to Eric Hanchrow.)
1999-03-11 11:45:06 +00:00
Mikael Djurfeldt
bbab09f6f1
* debug.c (scm_init_debug): Added scheme level constant
...
SCM_IM_DISPATCH.
* eval.c, debug.c, tags.h (SCM_IM_SET_X): Renamed from SCM_IM_SET.
1999-03-11 11:44:41 +00:00
Mikael Djurfeldt
76b7d6a167
* Makefile.in: Regenerated.
1999-03-04 04:45:34 +00:00
Mikael Djurfeldt
f544984306
*** empty log message ***
1999-03-04 02:36:04 +00:00
Mikael Djurfeldt
f7c4cfdd66
* Makefile.in, qt/Makefile.in, time/Makefile.in: Regenerated.
...
* Makefile.in: Regenerated.
* Makefile.in: Regenerated.
* Makefile.in: Regenerated.
1999-03-04 02:35:44 +00:00
Mikael Djurfeldt
9bd368c0f0
* Makefile.in, aclocal.m4, configure: Regenerated.
1999-03-04 02:34:28 +00:00
Mikael Djurfeldt
fd86ae11d9
* config.guess, config.sub, install-sh, mdate-sh, missing,
...
mkinstalldirs: New versions.
1999-03-04 02:33:59 +00:00
Mikael Djurfeldt
ada238b7da
* README: Mention new version numbers on autoconf and automake.
1999-03-04 02:33:32 +00:00
Mikael Djurfeldt
41f5036918
*** empty log message ***
1999-03-03 11:22:43 +00:00
Mikael Djurfeldt
6001fe828c
* slib.scm (make-random-state): Added for compatibility.
1999-03-03 11:22:32 +00:00
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