bpt/guile.git
25 years ago*** empty log message ***
Jim Blandy [Sat, 17 Apr 1999 16:53:21 +0000 (16:53 +0000)]
*** empty log message ***

25 years agoRemove readline support, to avoid copyright confusion.
Jim Blandy [Sat, 17 Apr 1999 16:52:51 +0000 (16:52 +0000)]
Remove readline support, to avoid copyright confusion.
* Makefile.am: Remove readline files from lists.
* init.c: Don't initialize readline.
* scmconfig.h.in: Regenerated.

25 years ago* Makefile.in: Regenerated.
Jim Blandy [Sat, 17 Apr 1999 16:51:31 +0000 (16:51 +0000)]
* Makefile.in: Regenerated.

25 years ago* Makefile.in, configure: Regenerated with autoconf 2.13, automake
Jim Blandy [Sat, 17 Apr 1999 16:46:34 +0000 (16:46 +0000)]
* Makefile.in, configure: Regenerated with autoconf 2.13, automake
1.4, libtool 1.2f (1.385 1999/03/15 17:24:54).  I've upgraded to
all the right tools, according to README, but I'm still getting
different results than Mikael is.  Hmm.

25 years ago*** empty log message ***
Jim Blandy [Sat, 17 Apr 1999 16:41:19 +0000 (16:41 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Blandy [Sat, 17 Apr 1999 16:03:58 +0000 (16:03 +0000)]
*** empty log message ***

25 years ago* numbers.c (s_bignum): Renamed to s_bignum, and made static.
Jim Blandy [Sat, 17 Apr 1999 16:03:32 +0000 (16:03 +0000)]
* numbers.c (s_bignum): Renamed to s_bignum, and made static.
Libguile should not be exporting random little strings.
* numbers.h (s_bignum): Extern declaration removed.
More const changes from Ken Raeburn.
* numbers.c (scm_s_bignum, fx): Now const.
(scm_logtab, scm_ilentab, s_adjbig): Now static and const.
* numbers.h (scm_s_bignum): Update declaration.
* eval.c (bodycheck): Argument WHAT now points to const.
* snarf.h (SCM_SYNTAX): Name is const.
* eval.c (scm_i_let): Make this globally visible, to avoid dynamic
linking crashes on NetBSD.  (Thanks to Ken Raeburn.)

25 years agoRemove readline support, to avoid copyright confusion.
Jim Blandy [Sat, 17 Apr 1999 16:02:50 +0000 (16:02 +0000)]
Remove readline support, to avoid copyright confusion.
* Makefile.in: Remove readline files from lists.
* init.c: Don't initialize readline.
* scmconfig.h.in: Regenerated.

25 years agoRemove all automatic readline support, to avoid copyright
Jim Blandy [Sat, 17 Apr 1999 16:01:45 +0000 (16:01 +0000)]
Remove all automatic readline support, to avoid copyright
confusion.
* INSTALL: Update text.
* NEWS: Explain the situation.
* configure.in: Remove configury for readline and its supporting
libraries.
* configure: Regenerated.

25 years agoFormatting tweak.
Jim Blandy [Sat, 17 Apr 1999 15:55:54 +0000 (15:55 +0000)]
Formatting tweak.

25 years agoContent tweak.
Jim Blandy [Sat, 17 Apr 1999 15:16:18 +0000 (15:16 +0000)]
Content tweak.

25 years ago*** empty log message ***
Mikael Djurfeldt [Thu, 8 Apr 1999 06:07:30 +0000 (06:07 +0000)]
*** empty log message ***

25 years ago* boot-9.scm: Provide 'values.
Mikael Djurfeldt [Thu, 8 Apr 1999 06:06:56 +0000 (06:06 +0000)]
* boot-9.scm: Provide 'values.

25 years ago* libguile.h: Added #include evalext.h, fluids.h, guardians.h,
Mikael Djurfeldt [Sat, 27 Mar 1999 17:25:16 +0000 (17:25 +0000)]
* libguile.h: Added #include evalext.h, fluids.h, guardians.h,
macros.h, modules.h, random.h, sort.h.

25 years ago*** empty log message ***
Mikael Djurfeldt [Fri, 26 Mar 1999 14:06:13 +0000 (14:06 +0000)]
*** empty log message ***

25 years ago* numbers.c (isfinite): Define this macro if not defined: Return a
Mikael Djurfeldt [Fri, 26 Mar 1999 13:45:05 +0000 (13:45 +0000)]
* numbers.c (isfinite): Define this macro if not defined: Return a
non-zero value if X is finite.  (From ISO C 9x standard.)
(scm_inexact_to_exact): Bugfix: Don't pass NaNs to scm_dbl2big.
(Thanks to Jon Trowbridge and Greg Harvey.)

25 years agoRegenerated
Mikael Djurfeldt [Mon, 22 Mar 1999 14:00:01 +0000 (14:00 +0000)]
Regenerated

25 years ago*** empty log message ***
Mikael Djurfeldt [Mon, 22 Mar 1999 13:58:42 +0000 (13:58 +0000)]
*** empty log message ***

25 years ago* New libtool: 1.2f
Mikael Djurfeldt [Mon, 22 Mar 1999 13:55:54 +0000 (13:55 +0000)]
* New libtool: 1.2f
* ltmain.sh, ltconfig, config.guess, config.sub: New versions.

25 years ago* README: Mention new version number of libtool.
Mikael Djurfeldt [Mon, 22 Mar 1999 13:53:33 +0000 (13:53 +0000)]
* README: Mention new version number of libtool.

25 years ago* kw.h: New file.
Mikael Djurfeldt [Mon, 22 Mar 1999 12:06:52 +0000 (12:06 +0000)]
* kw.h: New file.

25 years ago*** empty log message ***
Mikael Djurfeldt [Mon, 22 Mar 1999 12:05:28 +0000 (12:05 +0000)]
*** empty log message ***

25 years agoRegenerated
Mikael Djurfeldt [Mon, 22 Mar 1999 12:05:00 +0000 (12:05 +0000)]
Regenerated

25 years ago* Makefile.am (modinclude_HEADERS): Added kw.h;
Mikael Djurfeldt [Mon, 22 Mar 1999 12:02:02 +0000 (12:02 +0000)]
* Makefile.am (modinclude_HEADERS): Added kw.h;

25 years ago* keywords.c (scm_tc16_kw): Added for backward compatibility.
Mikael Djurfeldt [Mon, 22 Mar 1999 11:58:59 +0000 (11:58 +0000)]
* keywords.c (scm_tc16_kw): Added for backward compatibility.
Will be removed in next release.

25 years ago* libguile.h: #include "libguile/kw.h"
Mikael Djurfeldt [Mon, 22 Mar 1999 11:55:38 +0000 (11:55 +0000)]
* libguile.h: #include "libguile/kw.h"

25 years ago*** empty log message ***
Mikael Djurfeldt [Mon, 22 Mar 1999 01:22:46 +0000 (01:22 +0000)]
*** empty log message ***

25 years ago* pairs.c (scm_set_car_x, scm_set_cdr_x): Return SCM_UNSPECIFIED.
Mikael Djurfeldt [Mon, 22 Mar 1999 01:22:04 +0000 (01:22 +0000)]
* pairs.c (scm_set_car_x, scm_set_cdr_x): Return SCM_UNSPECIFIED.

25 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 21 Mar 1999 13:05:55 +0000 (13:05 +0000)]
*** empty log message ***

25 years ago* boot-9.scm (process-define-module, use-syntax): Bugfix:
Mikael Djurfeldt [Sun, 21 Mar 1999 13:04:39 +0000 (13:04 +0000)]
* boot-9.scm (process-define-module, use-syntax): Bugfix:
:use-syntax should add syntax to using module, not current module.
(internal-use-syntax): Removed.

25 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 21 Mar 1999 10:09:18 +0000 (10:09 +0000)]
*** empty log message ***

25 years ago* print.c (scm_isymnames): Added #@dispatch and #@hash-dispatch.
Mikael Djurfeldt [Sun, 21 Mar 1999 10:08:59 +0000 (10:08 +0000)]
* print.c (scm_isymnames): Added #@dispatch and #@hash-dispatch.

25 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 21 Mar 1999 05:04:45 +0000 (05:04 +0000)]
*** empty log message ***

25 years ago* session.scm (apropos-internal): Modified to comply with new
Mikael Djurfeldt [Sun, 21 Mar 1999 05:04:11 +0000 (05:04 +0000)]
* session.scm (apropos-internal): Modified to comply with new
argument order for hash-fold.

25 years ago* hashtab.c, hashtab.h (scm_hash_fold, scm_internal_hash_fold):
Mikael Djurfeldt [Sun, 21 Mar 1999 05:02:42 +0000 (05:02 +0000)]
* hashtab.c, hashtab.h (scm_hash_fold, scm_internal_hash_fold):
Place the table argument last.

25 years ago*** empty log message ***
Mikael Djurfeldt [Fri, 19 Mar 1999 07:13:56 +0000 (07:13 +0000)]
*** empty log message ***

25 years ago* debug.c, eval.c, evalext.c, gdbint.c stacks.c:
Mikael Djurfeldt [Fri, 19 Mar 1999 07:13:39 +0000 (07:13 +0000)]
* debug.c, eval.c, evalext.c, gdbint.c stacks.c:
#include "modules.h".

25 years ago*** empty log message ***
Mikael Djurfeldt [Fri, 19 Mar 1999 05:38:12 +0000 (05:38 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Mikael Djurfeldt [Fri, 19 Mar 1999 05:16:04 +0000 (05:16 +0000)]
*** empty log message ***

25 years ago* boot-9.scm (try-load-module): New procedure. Broken out from
Mikael Djurfeldt [Fri, 19 Mar 1999 05:14:09 +0000 (05:14 +0000)]
* boot-9.scm (try-load-module): New procedure.  Broken out from
resolve-module.
(resolve-module): Bugfix: Make it possible for a module at a
deeper level (x y z) to depend on a module on a higher (x y).
Use try-load-module.

25 years ago*** empty log message ***
Mikael Djurfeldt [Fri, 19 Mar 1999 02:30:53 +0000 (02:30 +0000)]
*** empty log message ***

25 years ago* debug.c, eval.c, evalext.c, stacks.c: #include "modules.h".
Mikael Djurfeldt [Fri, 19 Mar 1999 02:28:41 +0000 (02:28 +0000)]
* debug.c, eval.c, evalext.c, stacks.c: #include "modules.h".

25 years ago* debug.c, eval.c, evalext.c, stacks.c: #include "modules.h".
Mikael Djurfeldt [Fri, 19 Mar 1999 02:28:23 +0000 (02:28 +0000)]
* debug.c, eval.c, evalext.c, stacks.c: #include "modules.h".
* modules.c, modules.h, eval.c, eval.h (scm_env_top_level,
scm_top_level_env, scm_system_module_env_p): Moved to modules.c.

25 years ago* modules.c: #include "procprop.h"
Mikael Djurfeldt [Fri, 19 Mar 1999 02:28:09 +0000 (02:28 +0000)]
* modules.c: #include "procprop.h"
(scm_system_module_env_p): Assume root environment is no lookup
closure is found.
* modules.c, modules.h, eval.c, eval.h (scm_env_top_level,
scm_top_level_env, scm_system_module_env_p): Moved to modules.c.

25 years ago* modules.c, modules.h, eval.c, eval.h (scm_env_top_level,
Mikael Djurfeldt [Fri, 19 Mar 1999 02:27:41 +0000 (02:27 +0000)]
* modules.c, modules.h, eval.c, eval.h (scm_env_top_level,
scm_top_level_env, scm_system_module_env_p): Moved to modules.c.
* eval.c, eval.h (scm_top_level_lookup_closure): Removed.

25 years ago* debug.c, eval.c, evalext.c, stacks.c: #include "modules.h".
Mikael Djurfeldt [Fri, 19 Mar 1999 02:27:12 +0000 (02:27 +0000)]
* debug.c, eval.c, evalext.c, stacks.c: #include "modules.h".
* modules.c, modules.h, eval.c, eval.h (scm_env_top_level,
scm_top_level_env, scm_system_module_env_p): Moved to modules.c.
* eval.c, eval.h (scm_top_level_lookup_closure): Removed.

25 years ago*** empty log message ***
Mikael Djurfeldt [Fri, 19 Mar 1999 02:15:58 +0000 (02:15 +0000)]
*** empty log message ***

25 years ago* session.scm (system-module): New procedure. Used to switch a
Mikael Djurfeldt [Fri, 19 Mar 1999 02:15:43 +0000 (02:15 +0000)]
* session.scm (system-module): New procedure.  Used to switch a
module between system and user state.

25 years ago*** empty log message ***
Mikael Djurfeldt [Thu, 18 Mar 1999 12:49:49 +0000 (12:49 +0000)]
*** empty log message ***

25 years ago* error.c (scm_wta): Pass SCM_LIST1 (arg) instead of SCM_EOL to
Mikael Djurfeldt [Thu, 18 Mar 1999 12:48:55 +0000 (12:48 +0000)]
* error.c (scm_wta): Pass SCM_LIST1 (arg) instead of SCM_EOL to
scm_misc_error when pos is a string.  This allows for dispatching
arbitrary error messages with one argument via SCM_ASSERT:
SCM_ASSERT (<cond>, obj, "Undigestable object: %S", <subr>);

25 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 16 Mar 1999 16:38:48 +0000 (16:38 +0000)]
*** empty log message ***

25 years ago* list.c (scm_reverse): Report an error if given a circular list
Mikael Djurfeldt [Tue, 16 Mar 1999 16:37:51 +0000 (16:37 +0000)]
* list.c (scm_reverse): Report an error if given a circular list
instead of filling memory.
* list.c (scm_reverse_x): Check args.

25 years ago*** empty log message ***
Mikael Djurfeldt [Tue, 16 Mar 1999 03:10:06 +0000 (03:10 +0000)]
*** empty log message ***

25 years ago* emacs.scm, session.scm, slib.scm): Added :no-backtrace in module
Mikael Djurfeldt [Tue, 16 Mar 1999 03:09:52 +0000 (03:09 +0000)]
* emacs.scm, session.scm, slib.scm): Added :no-backtrace in module
definition.

25 years ago* session.scm (apropos-internal): Rewritten using hash-fold.
Mikael Djurfeldt [Tue, 16 Mar 1999 03:09:44 +0000 (03:09 +0000)]
* session.scm (apropos-internal): Rewritten using hash-fold.
* emacs.scm, session.scm, slib.scm): Added :no-backtrace in module
definition.

25 years ago#include "keywords.h"
Mikael Djurfeldt [Sun, 14 Mar 1999 18:51:45 +0000 (18:51 +0000)]
#include "keywords.h"

25 years ago* keywords.c, keywords.h: Files renamed from kw.c, kw.h.
Mikael Djurfeldt [Sun, 14 Mar 1999 16:58:24 +0000 (16:58 +0000)]
* keywords.c, keywords.h: Files renamed from kw.c, kw.h.

25 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 14 Mar 1999 16:55:01 +0000 (16:55 +0000)]
*** empty log message ***

25 years agoRegenerated
Mikael Djurfeldt [Sun, 14 Mar 1999 16:53:39 +0000 (16:53 +0000)]
Regenerated

25 years ago* struct.h (SCM_STRUCT_TABLE_NAME, SCM_SET_STRUCT_TABLE_NAME,
Mikael Djurfeldt [Sun, 14 Mar 1999 16:52:56 +0000 (16:52 +0000)]
* struct.h (SCM_STRUCT_TABLE_NAME, SCM_SET_STRUCT_TABLE_NAME,
SCM_STRUCT_TABLE_CLASS, SCM_SET_STRUCT_TABLE_CLASS): New macros.
Used for access of struct table entries.

25 years ago* struct.c: #include "alist.h", "weaks.h", "hashtab.h";
Mikael Djurfeldt [Sun, 14 Mar 1999 16:52:32 +0000 (16:52 +0000)]
* struct.c: #include "alist.h", "weaks.h", "hashtab.h";
(scm_struct_table): Weak key table with auxilliary information for
struct types.  Currently used for names and wrapper classes.
(scm_struct_ihashq): Hash function for structs.
(scm_struct_create_handle): Get/create entry in scm_struct_table.
(scm_struct_vtable_name, scm_set_struct_vtable_name_x): Procedures
for accessing names of vtables.  The record implementation in
boot-9.scm currently uses the setter to record the name of record
types.  When the object system is initialized, it can use this
information to create wrapper classes with suitable names.
(scm_init_struct): Allocate scm_struct_table.
(scm_alloc_struct): Don't initialize scm_struct_i_tag here.
(struct tags are a finite resource and we might want to restrict
the use of tags to vtables only.  E.g., Goops only uses tags for
classes.)
(scm_make_struct): Use scm_struct_entity_n_extra_words instead of
magic number 5.
(scm_struct_vtable_tag): Use scm_struct_i_tag instead of magic
number -1.

25 years ago* objects.c: #include "smob.h";
Mikael Djurfeldt [Sun, 14 Mar 1999 16:52:15 +0000 (16:52 +0000)]
* objects.c: #include "smob.h";
(scm_class_keyword): Removed.  (Class is automatically created by
make_smob_classes.)
(scm_smob_class): Array of smob classes indexed by smobnum.
(scm_make_extended_class): "Plugin" function pointer for creation
of wrapper classes for smob and struct types.
(scm_class_of): Handle compiled closures.  (Currently regarded as
<procedure>.);
Use scm_smob_class to handle smob types;
Handle scm_tc16_bigpos, scm_tc16_bigneg, and, scm_tc16_keyword
through scm_smob_class;
Handle structs.
* smob.h (SCM_TC2SMOBNUM): New macro for conversion between tc16
type code and smobnum.

25 years ago* smob.c (scm_newsmob): Also create a wrapper class if
Mikael Djurfeldt [Sun, 14 Mar 1999 16:51:55 +0000 (16:51 +0000)]
* smob.c (scm_newsmob): Also create a wrapper class if
scm_smob_class has been initialized.

25 years ago* Makefile.am, init.c, libguile.h, objects.c, root.h: Replaced
Mikael Djurfeldt [Sun, 14 Mar 1999 16:51:37 +0000 (16:51 +0000)]
* Makefile.am, init.c, libguile.h, objects.c, root.h: Replaced
"kw" --> "keywords" everywhere.
(I doubt that this will cause big compatibility problems since the
application interface is unaffected.)

25 years ago* objects.c: #include "smob.h";
Mikael Djurfeldt [Sun, 14 Mar 1999 16:50:47 +0000 (16:50 +0000)]
* objects.c: #include "smob.h";
(scm_class_keyword): Removed.  (Class is automatically created by
make_smob_classes.)
(scm_smob_class): Array of smob classes indexed by smobnum.
(scm_make_extended_class): "Plugin" function pointer for creation
of wrapper classes for smob and struct types.
(scm_class_of): Handle compiled closures.  (Currently regarded as
<procedure>.);
Use scm_smob_class to handle smob types;
Handle scm_tc16_bigpos, scm_tc16_bigneg, and, scm_tc16_keyword
through scm_smob_class;
Handle structs.
* Makefile.am, init.c, libguile.h, objects.c, root.h: Replaced
"kw" --> "keywords" everywhere.
(I doubt that this will cause big compatibility problems since the
application interface is unaffected.)

25 years ago* keywords.c, keywords.h: Files renamed from kw.c, kw.h.
Mikael Djurfeldt [Sun, 14 Mar 1999 16:50:01 +0000 (16:50 +0000)]
* keywords.c, keywords.h: Files renamed from kw.c, kw.h.

25 years ago* hashtab.c, hashtab.h (scm_internal_hash_fold): New function.
Mikael Djurfeldt [Sun, 14 Mar 1999 16:48:50 +0000 (16:48 +0000)]
* hashtab.c, hashtab.h (scm_internal_hash_fold): New function.
(scm_hash_fold): New procedure.  Used to process all entries in a
hash table (in no particular order).

25 years ago* boot-9.scm (make-record-type): Use `set-struct-vtable-name!' to
Mikael Djurfeldt [Sun, 14 Mar 1999 16:46:04 +0000 (16:46 +0000)]
* boot-9.scm (make-record-type): Use `set-struct-vtable-name!' to
associate a name to the record type descriptor so that the object
system can create a wrapper class for it.

25 years ago*** empty log message ***
Mikael Djurfeldt [Fri, 12 Mar 1999 10:26:46 +0000 (10:26 +0000)]
*** empty log message ***

25 years ago* srcprop.c (scm_set_source_property_x): Bugfix: Convert line and
Mikael Djurfeldt [Fri, 12 Mar 1999 10:26:26 +0000 (10:26 +0000)]
* srcprop.c (scm_set_source_property_x): Bugfix: Convert line and
column inums to native form.

25 years agoGragg
Mikael Djurfeldt [Fri, 12 Mar 1999 09:53:30 +0000 (09:53 +0000)]
Gragg

25 years ago*** empty log message ***
Mikael Djurfeldt [Fri, 12 Mar 1999 09:50:46 +0000 (09:50 +0000)]
*** empty log message ***

25 years ago* emacs.scm (emacs-load): Reset port filename after transfer.
Mikael Djurfeldt [Fri, 12 Mar 1999 09:49:20 +0000 (09:49 +0000)]
* emacs.scm (emacs-load): Reset port filename after transfer.

25 years ago* boot-9.scm (set-system-module!): New procedure: Set system/user
Mikael Djurfeldt [Fri, 12 Mar 1999 09:48:18 +0000 (09:48 +0000)]
* boot-9.scm (set-system-module!): New procedure: Set system/user
status of a module.;
Mark `the-root-module' and `the-scm-module' as system modules.
(process-define-module): Add new keyword :no-backtrace.
* boot-9.scm (environment-module): Bugfixed.
(set-module-eval-closure!): Add a pointer back from the eval
closure to the module.

25 years ago*** empty log message ***
Mikael Djurfeldt [Fri, 12 Mar 1999 08:51:30 +0000 (08:51 +0000)]
*** empty log message ***

25 years ago* stacks.c: #include "eval.h"; #include "procprop.h";
Mikael Djurfeldt [Fri, 12 Mar 1999 08:51:08 +0000 (08:51 +0000)]
* stacks.c: #include "eval.h"; #include "procprop.h";
(narrow_stack): Handle new narrowing specifier #t.

25 years ago* procprop.c, procprop.h (scm_sym_system_procedure): New symbol.
Mikael Djurfeldt [Fri, 12 Mar 1999 08:17:50 +0000 (08:17 +0000)]
* procprop.c, procprop.h (scm_sym_system_procedure): New symbol.
* eval.c, procs.c, procs.h, procprop.c: Renamed getter ->
procedure throughout.

25 years ago* eval.c, eval.h (scm_top_level_lookup_closure): New function:
Mikael Djurfeldt [Fri, 12 Mar 1999 08:16:40 +0000 (08:16 +0000)]
* eval.c, eval.h (scm_top_level_lookup_closure): New function:
Extract the lookup closure from an environment.
(scm_system_module_env_p): New function: Return non-#f if MODULE
is a system module.

25 years ago* eval.c (scm_sym_system_module): New symbol.
Mikael Djurfeldt [Fri, 12 Mar 1999 08:16:26 +0000 (08:16 +0000)]
* eval.c (scm_sym_system_module): New symbol.
* eval.c, eval.h (scm_top_level_lookup_closure): New function:
Extract the lookup closure from an environment.
(scm_system_module_env_p): New function: Return non-#f if MODULE
is a system module.
* eval.c, procs.c, procs.h, procprop.c: Renamed getter ->
procedure throughout.

25 years ago* debug.c (scm_procedure_name): Use name property in the default
Mikael Djurfeldt [Fri, 12 Mar 1999 08:06:49 +0000 (08:06 +0000)]
* debug.c (scm_procedure_name): Use name property in the default
case.

25 years ago(correction of previous commit)
Mikael Djurfeldt [Thu, 11 Mar 1999 12:06:16 +0000 (12:06 +0000)]
(correction of previous commit)

25 years ago* Makefile.in: Regenerated.
Mikael Djurfeldt [Thu, 11 Mar 1999 11:50:47 +0000 (11:50 +0000)]
* Makefile.in: Regenerated.

25 years ago*** empty log message ***
Mikael Djurfeldt [Thu, 11 Mar 1999 11:48:23 +0000 (11:48 +0000)]
*** empty log message ***

25 years ago* tags.h (scm_tc7_pws): New procedure type. Four representations
Mikael Djurfeldt [Thu, 11 Mar 1999 11:48:07 +0000 (11:48 +0000)]
* 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.

25 years ago* struct.h (scm_struct_i_setter): New constant.
Mikael Djurfeldt [Thu, 11 Mar 1999 11:47:58 +0000 (11:47 +0000)]
* struct.h (scm_struct_i_setter): New constant.

25 years ago* struct.c (scm_make_struct): Allocate one word more for
Mikael Djurfeldt [Thu, 11 Mar 1999 11:47:49 +0000 (11:47 +0000)]
* struct.c (scm_make_struct): Allocate one word more for
entities and initialize the new slot.

25 years ago* eval.c, procs.c, procs.h, procprop.c: Renamed getter ->
Mikael Djurfeldt [Thu, 11 Mar 1999 11:47:40 +0000 (11:47 +0000)]
* 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.

25 years ago* eval.c, procs.c, procs.h, procprop.c: Renamed getter ->
Mikael Djurfeldt [Thu, 11 Mar 1999 11:47:31 +0000 (11:47 +0000)]
* 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.

25 years ago* eval.c, procs.c, procs.h, procprop.c: Renamed getter ->
Mikael Djurfeldt [Thu, 11 Mar 1999 11:47:22 +0000 (11:47 +0000)]
* 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.

25 years ago* print.c (scm_iprin1): Removed extraneous space when printing
Mikael Djurfeldt [Thu, 11 Mar 1999 11:47:10 +0000 (11:47 +0000)]
* 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.

25 years ago* objects.h (scm_si_redefined, scm_si_hashsets): Shifted.
Mikael Djurfeldt [Thu, 11 Mar 1999 11:47:00 +0000 (11:47 +0000)]
* 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.

25 years ago* objects.c (scm_class_of): Use SCM_OBJ_CLASS_REDEF.
Mikael Djurfeldt [Thu, 11 Mar 1999 11:46:45 +0000 (11:46 +0000)]
* 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.

25 years agoDeclare scm_list_star
Mikael Djurfeldt [Thu, 11 Mar 1999 11:46:35 +0000 (11:46 +0000)]
Declare scm_list_star

25 years ago* list.c (scm_list_star): New procedure.
Mikael Djurfeldt [Thu, 11 Mar 1999 11:46:16 +0000 (11:46 +0000)]
* list.c (scm_list_star): New procedure.

25 years ago* gc.c, gc.h (scm_object_address): Renamed from scm_object_addr ().
Mikael Djurfeldt [Thu, 11 Mar 1999 11:46:07 +0000 (11:46 +0000)]
* gc.c, gc.h (scm_object_address): Renamed from scm_object_addr ().

25 years ago* gc.c, gc.h (scm_object_address): Renamed from scm_object_addr ().
Mikael Djurfeldt [Thu, 11 Mar 1999 11:45:58 +0000 (11:45 +0000)]
* 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.

25 years ago* evalext.c, evalext.h (scm_m_generalized_set_x): New memoizing
Mikael Djurfeldt [Thu, 11 Mar 1999 11:45:34 +0000 (11:45 +0000)]
* 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.

25 years ago* eval.h: Declare scm_s_set_x, scm_sym_set_x;
Mikael Djurfeldt [Thu, 11 Mar 1999 11:45:16 +0000 (11:45 +0000)]
* eval.h: Declare scm_s_set_x, scm_sym_set_x;

25 years ago* eval.c, procs.c, procs.h, procprop.c: Renamed getter ->
Mikael Djurfeldt [Thu, 11 Mar 1999 11:45:06 +0000 (11:45 +0000)]
* 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.)

25 years ago* debug.c (scm_init_debug): Added scheme level constant
Mikael Djurfeldt [Thu, 11 Mar 1999 11:44:41 +0000 (11:44 +0000)]
* 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.