summaryrefslogtreecommitdiffstats
path: root/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog905
1 files changed, 902 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 6f847a3..e9e3e19 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,9 +1,908 @@
+Fri Sep 11 17:25:14 EDT 1998 Aubrey Jaffer <jaffer@scm.colorage.net>
+
+ * patchlvl.h (SCMVERSION): Bumped from 5c2 to 5c3.
+
+1998-09-11 Radey Shouman <Radey_Shouman@splashtech.com>
+
+ * gmalloc.c: Imported gmalloc.c from emacs 20.2.1.
+
+ (check_block): (check_frag_blocks): Debugging functions added.
+
+ * sys.c (scm_protect_temp): Added, is currently, and probably will
+ remain, a noop to force allocation of a SCM temporary on the
+ stack.
+
+ * scl.c (big2str): Added call to scm_protect_temp.
+
+ * eval.c (map): (for_each): Added calls to scm_protect_temp.
+
+ * rgx.c (lregcomp): Added call to scm_protect_temp.
+
+1998-09-04 Radey Shouman <radey@colorage.com>
+
+ * scl.c (big2str): Take address of SCM temporary as gc protection.
+
+1998-09-02 Aubrey Jaffer <jaffer@colorage.com>
+
+ * dynl.c (l_dyn_link):
+ conditionalized message on verbose. Cleaned up message.
+
+ * Link.scm (link:link):
+ prepend ./ to non-absolute sun-dl library paths.
+
+ * scm.texi, scm.doc, scm.1, r4rstest.scm, README, Init5c2.scm, ANNOUNCE:
+ ...-swiss => swissnet
+
+ * scm.h (verbose): read only macro for scm_verbose.
+
+ * repl.c (scm_verbose): renamed from verbose.
+
+1998-08-31 Radey Shouman <Radey_Shouman@splashtech.com>
+
+ * scmfig.h (VERIFY_INTS): Added macro to print warnings if
+ interrupts are improperly allowed and CAREFUL_INTS is #defined.
+
+ (VOLATILE): Expands to `volatile' keyword if __STDC__ is #defined.
+
+ * sys.c (sys_errp): Interrupt safe system output port added.
+ (scm_estk_reset): (must_malloc): (must_realloc): (scm_make_cont):
+ Now should be run with ints deferred, no longer ever allow ints.
+ scm-estk_reset builds a new stack if scm_estk is BOOL_F.
+
+ * scm.c (process_signals): Modified to print deferred output to
+ sys_errp.
+
+ * eval.c (SCM_ENV_SAVE): (SCM_ENV_RESTORE): now ENV_SAVE,
+ ENV_RESTORE, local to eval.c
+ (apply): (ceval_1): Ints deferred before call to scm_make_cont,
+ which no longer allows ints.
+ (closure): Now takes the number of required closure arguments as a
+ second argument.
+ (m_lambda): Computes and memoizes the number of required arguments.
+
+ * repl.c (iprlist): Uses GCCDR so that fatal error messages during
+ gc may print better.
+ (handle_it): Call to scm_egc made conditional on NO_ENV_CACHE.
+ (growth_mon): (gc_start): (gc_end): (heap_report): Now use
+ sys_errp.
+ (ints_warn): Added for interrupt warnings using VERIFY_INTS.
+ (scm_stack_trace): Now completely prints stacks up to 20 deep,
+ rather than 10.
+ (def_err_response): Prints errobj if error is fatal.
+ (lroom): Made subr_1o for easier calling from C.
+
+1998-08-27 Radey Shouman <radey@colorage.com>
+
+ * Init5c2.scm (array-shape): No longer signals an error when
+ passed a non-array -- now returns whatever ARRAY-DIMENSIONS
+ returned (currently #f).
+
+1998-08-26 Aubrey Jaffer <jaffer@colorage.com>
+
+ * scm.c (scm_proftimer): Also conditional on SIGALRM.
+
+1998-08-25 Radey Shouman <radey@colorage.com>
+
+ * sys.c (init_storage): Fixed initialization of tmp_errp so that
+ it is always correctly aligned.
+
+ * scm.c (process_signals): Fixed braino in code to search for
+ deferred signals.
+ (scmable_signal): Added POSIX signal unblocking call, conditional
+ on SIG_UNBLOCK, so Scheme signal handlers may be interrupted
+ before they exit.
+
+1998-08-24 Radey Shouman <radey@colorage.com>
+
+ * scm.c (scmable_signal): (err_signal): (init_signals):
+ (ignore_signals):
+ (unignore_signals): (restore_signals): Abstracted signal handling.
+
+ (fpe_signal): (bus_signal): (segv_signal): (alrm_signal):
+ (prof_signal): Removed.
+
+ * repl.c (process_signals): Moved to scm.c
+
+ * sys.c (must_realloc_cell): Now returns void.
+
+1998-08-20 Radey Shouman <radey@colorage.com>
+
+ * scm.c (prof_signal): (scm_proftimer): (ignore_signals):
+ (unignore_signals): Added handler for SIGPROF, raised via call to
+ setitimer (Scheme function PROFILE-TIMER).
+
+ * repl.c (handle_it): No longer saves scm_env, scm_env_tmp to
+ estk, they are protected by doing ecache gc.
+ (process_signals): Handles SIGPROF.
+
+ * sys.c (scm_fill_freelist): No longer always does gc.
+ (gc_mark): No longer bashes cdr of `free' cells, handle_it now
+ bashes more selectively.
+ (scm_egc): DEFER/ALLOW_INTS moved to minimize debugging ints_viol
+ messages -- some will still occur.
+ (scm_egc): No longer saves scm_env and scm_env_ptr to estk, they
+ are protected separately. To improve interrupt safety.
+
+1998-08-19 Radey Shouman <radey@colorage.com>
+
+ * unif.c (resizuve): eliminated unused variable `ptr'.
+
+ * sys.c (freeprint): Now prints cdr of new cell.
+
+1998-08-18 Radey Shouman <radey@colorage.com>
+
+ * repl.c (input_waiting): Now checks return value of select and
+ restarts if interrupted. This was causing CHAR-READY? to return
+ #T when no input was actually readable.
+
+1998-08-17 Radey Shouman <radey@colorage.com>
+
+ * sys.c (scm_egc): (scm_egc_copy_roots): Eliminated extra root
+ argument, made safe because EGC_ROOT is always called with ints
+ deferred.
+
+ (gc_mark): Check for ecache broken heart during mark -- fatal error.
+
+ (gc_sweep): Now uses HUGE_LENGTH instead of LENGTH for string
+ termination check.
+
+ (must_malloc_cell): (must_realloc_cell): Added.
+
+ (gc_for_alloc): Static function abstracts gc calls for malloc/realloc.
+
+ * unif.c (make_uve): Removed call to makestr in order to support
+ huge strings.
+ (resizuve): Now uses must_realloc_cell.
+
+ * subr.c (make_vector): (mkbig): (adjbig): Now use
+ must_malloc_cell, must_realloc_cell.
+
+ * socket.c (maksknm): Now uses must_malloc_cell.
+
+ * scm.h (ISYMNUM): Use only 8 bits for number, freeing some bits
+ for other uses.
+
+ * scl.c (makdbl): Now uses must_malloc_cell.
+
+ * rgx.c (lrgecomp): Now uses must_malloc_cell.
+
+ * repl.c (handle_it): Keep pointers to discarded new cells.
+
+ * record.c (rec_constr1): (init_record): Now use must_malloc_cell.
+
+ * posix.c (scm_getgroups): Now uses must_malloc_cell.
+
+ * dynl.c (l_dyn_link): (l_dyn_call): Moved NEWCELL out of deferred
+ ints sections. For dlopen versions, print more error messages.
+
+1998-08-17 Aubrey Jaffer <jaffer@colorage.com>
+
+ * eval.c (macroexp1): now prints name of unbound variable.
+ (s_unbnd s_wtap): abstracted error message strings.
+
+1998-08-11 Radey Shouman <radey@colorage.com>
+
+ * eval.c (ceval_1): No longer make extra environment frame for
+ LETREC, since internal DEFINE is now rewritten.
+
+1998-08-10 Aubrey Jaffer <jaffer@colorage.com>
+
+ * sys.c (scm_fill_freelist): added. Assures that at least
+ MIN_GC_YIELD cells are in freelis. This is used before returning
+ from interrupts.
+
+ * repl.c (handle_it): Discard 2 cells (because of CDR in NEWCELL).
+ Call scm_fill_freelist();
+
+1998-08-08 Aubrey Jaffer <jaffer@ai.mit.edu>
+
+ * Init5c2.scm: removed DEFINED? conditionals for old SCMs.
+
+1998-07-28 Radey Shouman <radey@colorage.com>
+
+ * sys.c (scm_estk_grow): Now pushes estk ptr, with ints deferred.
+
+ * eval.c (ENV_PUSH): (ENV_POP): Now done with DEFER_INTS_EGC to
+ prevent problems with interrupt handlers that run Scheme code.
+
+1998-07-27 Radey Shouman <radey@colorage.com>
+
+ * sys.c (scm_estk_grow): Protected critical section with
+ DEFER/ALLOW_INTS
+
+ (must_malloc): (must_realloc): Protected igc call with
+ DEFER/ALLOW_INTS.
+
+ (scm_egc): Added DEFER/ALLOW_INTS around call to igc -- prevents
+ interrupts violation message in debug mode.
+
+ (igc): Now SCM_ENV_SAVE before any gc marking to fix gc bug
+ tickled by running Scheme code from interrupts.
+
+ (scm_egc): (scm_egc_copy_roots): Now take a single argument, a gc
+ root. Simplifies handling of the case where scm_egc calls igc,
+ and possibly itself.
+
+ * repl.c (growth_mon): Now prints "shrank" instead of "grew" if
+ the relevant limit decreased.
+ (handle_it): Do env cache gc before applying interrupt
+ handler, to protect data on the estk, which might move.
+
+Wed Jul 22 16:36:48 EDT 1998 Aubrey Jaffer <jaffer@scm.colorage.net>
+
+ * patchlvl.h (SCMVERSION): Bumped from 5c1 to 5c2.
+
+1998-07-22 Radey Shouman <radey@colorage.com>
+
+ * sys.c: Added include of unistd.h for linux.
+ (freeprint): Distinguishes between free cells (on freelist)
+ and new cells.
+ (scm_egc): Check for scm_estk, scm_estk_ptr not consistent.
+
+ *repl.c (ints_viol): Added sense argument again, since there are
+ several meaningful values for ints_disabled.
+ (handle_it): More careful about interrupts when saving estk. *
+
+ *scmfig.h (DEFER_INTS): (ALLOW_INTS): (DEFER_INTS_EGC):
+ (ALLOW_INTS_EGC): ints_viol calls changed.
+
+ * ramap.c (array_for_each): (array_map): Always act as if CCLO is
+ defined, this does no harm, and allows CCLO optimizations for the
+ dynamicly loaded case.
+
+ * posix.c: Added include of unistd.h for linux.
+
+ * eval.c (ident2sym): Now available in Scheme as
+ IDENTIFIER->SYMBOL.
+ (closure): Removed env argument, now uses scm_env and is more careful
+ about interrupts.
+ (env2tree): Now uses DEFER_INTS_EGC.
+
+1998-07-22 Aubrey Jaffer <jaffer@colorage.com>
+
+ * build.scm (read-version): added to read version number from
+ "patchlvl.h".
+ (batch:rebuild-catalog): rebuilds the catalog in implvic (executable's
+ implementation vicinity).
+ (build-params): implinit renamed to implvic.
+ (make-dll-archive): deposits dll-archives in implvic.
+
+ * scm.c (INIT_FILE_NAME): definitions moved to "patchlvl.h".
+
+ * patchlvl.h (INIT_FILE_NAME): moved from "scm.c" so it will be
+ updated automatically.
+
+ * Init.scm: renamed Init5c1.scm. The init file-name will
+ henceforth include the version number.
+
+ * Makefile (new): Added support for Init file renaming (including
+ CVS).
+
+1998-07-17 Radey Shouman <radey@colorage.com>
+
+ * eval.c (ceval_1): Changed IM_SET to make High C happy.
+
+ * scmfig.h: ioext.c: Added STDC_HEADERS #define and #include
+ <unistd.h> for linux. Allows use of the rename() system call,
+ which works for some filesystems that do not allow multiple links
+ (smbfs).
+
+1998-07-16 Aubrey Jaffer <jaffer@colorage.com>
+
+ * repl.c (repl): changed __TURBOC__ flag to __MSDOS__. This
+ enables the cr/lf fix for DJGPP also.
+ (repl): Enabled cr/lf fix for __HIGHC__ also.
+
+1998-07-16 Radey Shouman <radey@colorage.com>
+
+ * eval.c (lookupcar): Second argument now specifies what to check:
+ LOOKUP_UNDEFP for error on undefined, LOOKUP_MACROP for error on
+ keyword. LOOKUP_UNDEFP and LOOKUP_MACROP are #defined only in
+ eval.c. Error is again signalled for undefined symbols at top
+ level.
+
+1998-07-14 Radey Shouman <radey@colorage.com>
+
+ * eval.c (ENV_PUSH): (ENV_POP): Modified for interrupt safety.
+
+ (ceval_1): (apply): (procedurep): (macroexp1): (make_specfun):
+ cclo is now a subtype of tc7_specfun, which also includes
+ tc16_apply and tc16_call_cc, smobs are now never procedures.
+
+ (apply): Added call/cc support, error checking for subr_2o and
+ subr_3 types.
+
+ * sys.c (gc_mark): (gc_sweep): Modified for new specfun, cclo
+ representation.
+
+ (gc): Now does ecache gc if given optional argument.
+
+ * repl.c (iprin1): Modified for new specfun, cclo representation.
+
+ (handle_it): Now saves and restores estk for interrupt safety.
+
+ * ramap.c (array_map): Changed for new cclo representation.
+
+1998-07-10 Radey Shouman <radey@colorage.com>
+
+ * eval.c (macroexp1): Made sure to call unmemocar before
+ throwing error.
+ (ceval_1): ALLOW_INTS_EGC before returning value.
+
+1998-07-09 Radey Shouman <radey@colorage.com>
+
+ * eval.c (ceval_1): Modifications to allow rewriting of interal
+ DEFINE to LETREC: If an ISYM is evaluated in non-tail position the
+ body of which it is the CAR is macro expanded by m_expand_body,
+ which rewrites internal DEFINE.
+
+ (m_expand_body): Added.
+
+ (m_macroexp1): Added argument to control error checking:
+ m_expand_body may speculatively expand forms in the wrong
+ environments. Made argument number checks conditional on
+ RECKLESS.
+
+ (m_body): Added, error checks bodies and inserts the ISYM tokens.
+
+ (m_lambda): (m_letstar): (m_letrec1): (m_letrec): (m_let): Now
+ call m_body.
+
+ (m_cond): (m_case): (m_quote): Modified to avoid destructively changing
+ their argument forms. Since m_expand_body speculatively macro
+ expands forms the process must be reversible.
+
+ (m_ident_eqp): Fixed to use proper environment.
+
+ (renamed_ident): Added DEFER_INTS_EGC.
+
+ Added prototypes for static functions.
+
+1998-07-07 Radey Shouman <radey@colorage.com>
+
+ * eval.c (SPECFUN): Removed -- now the only case.
+ (ceval_1): (m_cont): IM_CONT case removed.
+ (scm_evalatomcar): Added check for tc16_specfun. Made unquoted vector
+ message conditional on RECKLESS.
+
+ * scm.h:
+ * repl.c: IM_CONT removed.
+
+ * sys.c (gc_sweep): Fixed bug in float gc introduced with NUM_HP.
+ (freeprint): Added for debugging.
+
+1998-07-06 Radey Shouman <radey@colorage.com>
+
+ * eval.c (ceval_1): envpp now -1 after estk has been popped,
+ allows better stack tracing.
+
+ * eval.c (ceval_1): Fixed argument number check for closures and
+ made conditional on CAUTIOUS.
+
+ (ceval_1): (evalatomcar): (lookupcar): Moved check for
+ using macro as variable from ceval_1 and evalatomcar to lookupcar.
+
+1998-07-02 Radey Shouman <radey@colorage.com>
+
+ * Init.scm (call-with-current-continuation): Now subr.
+
+ * eval.c (ceval_1): Made CALL-WITH-CURRENT-CONTINUATION an inlined
+ smob, like APPLY. Flushed @CALL-WITH-CURRENT-CONTINUATION.
+
+ ecache allocated lists now no longer passed to apply of asubrs and
+ rpsubrs -- this is not interrupt safe.
+
+ (macroexp1): Added argument number checks for subrs, this gives error
+ messages with unmemoized code.
+
+ * eval.c (ceval_1): Fixed error reporting -- "wrong number of
+ args" was sometimes reported as "wrong type to apply".
+
+ Now pass arglist allocated in ecache for asubrs and rpsubrs with
+ 3+ args.
+
+1998-07-01 Radey Shouman <radey@colorage.com>
+
+ * eval.c (ceval): (ceval_1): (ilookup): (lookupcar): (farlookup):
+ New model of interrupt control for protecting ecache references
+ using DEFER_INTS_EGC, ALLOW_INTS_EGC. These need not be strictly
+ nested, ints are always allowed by ceval_1 before tail-calling a
+ subr.
+ (ceval_1): @apply flushed in favor of a smob denoting apply and
+ understood by the evaluator -- allows ecache allocation of
+ argument lists.
+ (scm_macroexp1): Now checks arity for closures, checking had been
+ broken for non-CAUTIOUS SCM.
+
+ * scmfig.h (DEFER_INTS_EGC): (ALLOW_INTS_EGC): Defined.
+
+ * sys.c (scm_env_cons): (scm_env_cons): (scm_env_cons2):
+ (scm_extend_env): DEFER_INTS replaced with DEFER_INTS_EGC.
+
+ * repl.c (repl_report): At verbose level 3 now reports number of
+ ecache cells migrated and why, also number of ecache garbage
+ collections.
+ (ints_viol): Reports filename and line number of violation, and
+ filename and number of last previous DEFER/ALLOW_INTS.
+
+
+1998-06-23 Radey Shouman <radey@colorage.com>
+
+ * scm.c (int_signal): Now signals error if there is no Scheme
+ handler.
+ (ignore_signals): Changed SIG_IGN to SIG_DFL for SIGINT.
+
+1998-06-22 Radey Shouman <radey@colorage.com>
+
+ * eval.c (ENV_PUSH): Fixed problem introduced during last change:
+ estk was overstepping its bounds.
+
+1998-06-19 Radey Shouman <radey@colorage.com>
+
+ * eval.c (ilookup): (farlookup): (unmemocar): (ceval_1):
+ (id_denote): Wrapped all pointer-chasing of possible ecache cells
+ in DEFER/ALLOW_INTS for safety when interrupt handlers may
+ evaluate Scheme code asynchronously.
+
+ (scm_macroexp1): (m_define): (m_atlet_syntax): Environments now
+ always wrapped when passed to macro expanders.
+
+ (ecache_p): (debug_env_car): (debug_env_cdr): Added for CAREFUL_INTS
+ checking.
+
+ (test_ints): Added when CAREFUL_INTS is defined for checking interrupt
+ safety.
+
+ * repl.c (ints_viol): Now prints file and line number.
+
+1998-06-15 Radey Shouman <radey@colorage.com>
+
+ * scm.h (SCM_ENV_SAVE): (SCM_ENV_RESTORE): Added, to prevent
+ oversights in sys.c.
+
+ * sys.c (scm_env_cons): (scm_env_cons2): Made interrupt safe;
+ return results in global scm_env_tmp, use DEFER/ALLOW_INTS.
+ (scm_extend_env): (scm_env_cons_tmp): Added.
+ (scm_env_acons): Deleted, superseded by scm_extend_env.
+
+ *eval.c (ceval_1): (apply): Replaced and rewrote scm_env_ routines
+ to use new interrupt safe versions. ENV_TMP replaced by
+ scm_env_tmp, it was hard to remember that ENV_TMP might move.
+ CLEAR_ENV_TMP removed since scm_env_tmp will be overwritten almost
+ every time estk is pushed.
+
+1998-06-15 Aubrey Jaffer <jaffer@colorage.com>
+
+ * build.scm (compile-c-files *unknown*): Now uses
+ BATCH:APPLY-CHOP-TO-FIT BATCH:TRY-SYSTEM rather than BATCH-SYSTEM.
+
+1998-06-12 Aubrey Jaffer <jaffer@colorage.com>
+
+ * eval.c (evalatomcar): #ifdef MACRO added around M_IDENTP.
+
+ * Makefile (dist): Added cvs flag command to dist target.
+
+1998-06-12 Radey Shouman <radey@colorage.com>
+
+ * repl.c (scm_execpath): Added ASSERTion to signal error in case
+ malloc fails.
+
+ * subr.c (scm_copybitfield): corrected unsigned declaration of len
+ variable, will now signal errors if END < START.
+ (bigcomp): Changed type of xlen from sizet to long, since
+ it is compared with -1.
+
+1998-06-07 Aubrey Jaffer <jaffer@ai.mit.edu>
+
+ * Init.scm (string-ci->symbol): added (new in "slib/strcase.scm")
+
+Fri Jun 5 16:01:02 EDT 1998 Aubrey Jaffer <jaffer@scm.colorage.net>
+
+ * patchlvl.h (SCMVERSION): Bumped from 5c0 to 5c1.
+
+1998-06-05 Aubrey Jaffer <jaffer@colorage.com>
+
+ * ANNOUNCE: Removed ftp.cs.indiana.edu:/pub/scheme-repository/
+ entries because they are no longer being maintained or updated.
+
+1998-06-03 Aubrey Jaffer <jaffer@colorage.com>
+
+ * Makefile (Install): target updated to include more recent *.scm
+ as well as *.sl and *.so files.
+
+ * continue.h (setjump): Using (include <signal.h> and) SIG_UNBLOCK
+ for setjump #defines.
+
+ * scm.c (ignore_signals): SIG_UNBLOCK is a better indicator for
+ sigprocmask() than __USE_POSIX.
+
+1998-06-03 Radey Shouman <radey@colorage.com>
+
+ * unif.c (array_inbp): Deleted unused label badarg:
+
+1998-06-02 Aubrey Jaffer <jaffer@colorage.com>
+
+ * repl.c: SIGHUP_deferred added.
+
+1998-06-02 Radey Shouman <radey@colorage.com>
+
+ * scm.c (ignore_signals): now unblocks signals (mask).
+
+ * ioext.c (i_execv): Now brackets execv[p] with un/ignore_signals().
+
+1998-06-01 Radey Shouman <radey@colorage.com>
+
+ * scm.c (unblock_signals): Deleted. Signal mask problem fixed by
+ of #defining setjump as sigsetjmp, longjump as siglongjmp.
+
+1998-05-30 Aubrey Jaffer <jaffer@ai.mit.edu>
+
+ * build.scm (batch:rebuild-catalog): rewritten from
+ rebuild-catalog.
+ (default-for-platform): new batch-dialect added.
+ (guess-how): removed. Guessing delayed using
+ default-for-platform.
+
+1998-05-28 Radey Shouman <radey@colorage.com>
+
+ * eval.c (ceval_1): setjmp changed to setjump.
+
+ * continue.h:
+ Changed setjump, longjump to use sigsetjmp, siglongjmp if it
+ looks as though we're POSIX
+
+1998-05-28 Aubrey Jaffer <jaffer@colorage.com>
+
+ * repl.c (handle_it): absorbed wta() call always used with it.
+ (SIGALRM_deferred): renamed from alrm_deferred.
+ (SIGINT_deferred): renamed from sig_deferred.
+ (han_sig han_alarm): collapsed into (new) process_signals().
+
+ * scm.c (alrm_signal int_signal): now call handle_it() directly,
+ instead of through han_sig() and han_alarm().
+
+ * scmfig.h (CHECK_INTS): simplified; deferred_proc when non-zero
+ is address of procedure to call for signal processing (always
+ process_signals()).
+
+ * sys.c (sysintern mksubr): "const" added to declaration of first
+ arguments.
+
+1998-05-27 Aubrey Jaffer <jaffer@colorage.com>
+
+ * repl.c (everr): fixed really broken default vs. dowinds stuff.
+
+ * socket.c (l_accept): moved DEFER_INTS so accept() call won't
+ block.
+
+1998-05-27 Radey Shouman <radey@colorage.com>
+
+ * repl.c: Fixed bug in scm_stack_trace: could have a negative
+ number of stack frames if interrupted at top level.
+
+1998-05-26 Aubrey Jaffer <jaffer@colorage.com>
+
+ * scmfig.h: Metaware __HIGHC__ lacks sbrk (LACK_SBRK).
+
+1998-05-21 Radey Shouman <radey@colorage.com>
+
+ * sys.c (must_realloc): Fixed sense of check on realloc return
+ value in must_realloc.
+
+ * repl.c (scm_ecache_report): Fixed ecache stack report in ROOM.
+
+1998-05-21 Aubrey Jaffer <jaffer@colorage.com>
+
+ * sys.c, scm.h, repl.c: Fixed long vs. int bugs for 16-bit compilers.
+
+ * Init.scm: Made renamed logical operations safe for old executables.
+
+ * scmfig.h: Borland sbrk() is a noop.
+
+ * sys.c: Fixed ECACHEP for Borland C.
+
+ * Init.scm: Removed check for duplicate key values for CASEV (now
+ done by CASE).
+
+ * Init.scm (casev): Removed check for duplicate key values for
+ CASEV (now done by CASE).
+
+1998-05-21 radey <radey@scm.colorage.net>
+
+ * scm.texi: Documented changes to closure format.
+
+ * sys.c: cosmetic changes.
+
+Wed May 20 17:53:52 EDT 1998 Aubrey Jaffer <jaffer@aubrey.jaffer>
+
+ * patchlvl.h (SCMVERSION): Bumped from 5b5 to 5c0.
+
+1998-05-20 Radey Shouman <radey@colorage.com>
+
+ * eval.c: Added check for duplicate key values for CASE.
+
+ * sys.c (scm_egc): Modified scm_egc to prevent a major gc from
+ happening inside an ecache gc -- which was causing environment lossage.
+
+1998-05-20 Aubrey Jaffer <jaffer@colorage.com>
+
+ * Makefile: made check or checklit part of normal build.
+
+ * scm.texi (Evaluation): Added description of FARLOC.
+ (Memory Management for Environments): Added Tom Lord's
+ documentation of ecache.
+
+ * build.scm (build): compile-c-files linux: don't use -O2 when -g
+ is specified.
+
+1998-05-14 Radey Shouman <radey@colorage.com>
+
+ * Init.scm (bit-extract): (logical:bit-field):
+ (logical:bitwise-if): (logical:copy-bit):
+ (logical:copy-bit-field): definitions added for SLIB compatibility.
+
+ * subr.c (scm_bitfield): renamed BIT-EXTRACT to BIT-FIELD,
+ added range check on END.
+ (scm_bitif): (scm_copybitfield): (scm_copybit): added.
+
+1998-05-12 Aubrey Jaffer <jaffer@colorage.com>
+
+ * eval.c (m_case): Added checks for ELSE clause.
+
+ * Init.scm (defconst): added.
+ (casev): added.
+ (print-args): fixed (environment-cache broke).
+
+ * eval.c (env2tree): exported to Scheme as environment->tree.
+
+1998-05-11 Aubrey Jaffer <jaffer@colorage.com>
+
+ * continue.c (dynthrow): Giving up on HPUX stack growth.
+ "growth[] being optimized out" message disabled for HPUX.
+
+ * sys.c (try_open_file): Renamed from open_file.
+ (open_file): Now calls back to Scheme; applies `open-file'.
+
+Fri May 8 17:40:44 EDT 1998 Aubrey Jaffer <jaffer@scm.colorage.net>
+
+ * patchlvl.h (SCMVERSION): Bumped from 5b4 to 5b5.
+
+1998-05-08 Radey Shouman <radey@colorage.com>
+
+ * eval.c (m_letrec1): added to support tagged environment frames.
+ (m_let, m_letrec, m_lambda, m_do): Now put an ISPCSYM in the last
+ cdr of the names they add to the environment, this is intended for
+ debugging.
+
+1998-05-07 Radey Shouman <radey@colorage.com>
+
+ * repl.c (scm_brk_report): Added.
+ * scm.c (main): set global variables remembering initial brk.
+
+ * eval.c (ceval_1): LETREC now adds extra (empty) environment
+ frame so internal define does not upset memoization.
+ * r4rstest.scm: tests for LETREC/internal DEFINE bug added.
+
+1998-04-22 <radey@colorage.com>
+
+ * repl.c (repl_driver): Added sbrk call just before dumping --
+ fixes problems with linux dumped executables.
+
+1998-04-16 <radey@colorage.com>
+
+ * unif.c (scm_logaref): (scm_logaset): Added.
+
+Thu Apr 9 11:31:20 EDT 1998 Aubrey Jaffer <jaffer@scm.colorage.net>
+
+ * patchlvl.h (SCMVERSION): Bumped from 5b3 to 5b4.
+
+1998-04-08 Aubrey Jaffer <jaffer@colorage.com>
+
+ * sys.c (gc_mark): first column #endif was within comment.
+ (sweep_symhash): was being called by igc -- even with NO_SYM_GC flag.
+
+1998-04-07 Aubrey Jaffer <jaffer@ai.mit.edu>
+
+ * build.scm (link-c-program highc.31): added -stack 65000.
+
+ * sys.c (gc_mark): added CHECK_STACK;
+
+1998-04-06 Aubrey Jaffer <jaffer@ai.mit.edu>
+
+ * sys.c (gc_mark): Checks strings and symbols for extra 0 byte.
+ (mark_syms): Added check for extra 0 byte; check strhash() of
+ symbol matches bucket index.
+
+1998-04-06 Aubrey Jaffer <jaffer@colorage.com>
+
+ * unif.c (make_uve): Changed to call makstr for strings. This is
+ so extra byte will be 0.
+
+ * time.c (your_time): PharLap.51 ftime() is non-monotonic. Fix
+ added to assure ftime() never decreases.
+
+1998-04-03 Aubrey Jaffer <jaffer@ai.mit.edu>
+
+ * Init.scm (apply:nconc-to-last): Changed value to nconc2copy;
+ this allows apply's definition to remain unchanged.
+
+1998-04-03 <radey@colorage.com>
+
+ * rope.c: scm_cell_p now returns true for env cache cells, so they
+ may be printed during debugging.
+
+1998-04-03 Ben Caradoc-Davies <bmcd@physics.otago.ac.nz>
+
+ * sys.c (gc_sweep): If a segment is freed during garbage
+ collection, the heap size counter is adjusted, but the cells
+ collected counter is not. Then when calculating cells allocated,
+ cells in a freed segment are counted twice (negatively).
+
+1998-04-03 Aubrey Jaffer <jaffer@ai.mit.edu>
+
+ * scm.texi (Low Level Syntactic Hooks): Documented behavior of
+ @apply; turning a former bug into a feature.
+
+1998-04-01 Aubrey Jaffer <jaffer@colorage.com>
+
+ * scl.c (ex2in): changed tc7_cxr floident() to tc7_subr_1 ex2in()
+ so it will handle complex numbers.
+
+1998-04-01 <radey@colorage.com>
+
+ * eval.c (nconc2copy): Added to fix bug in apply that
+ allowed local SET! to mutate lists passed to APPLY.
+ * Init.scm (apply): now uses apply:nconc-to-copy.
+
+1998-03-26 Radey Shouman <radey@colorage.com>
+
+ * eval.c (ilookup): (lookupcar): (farlookup): (ceval): (evalatomcar):
+ (ceval_1): (iqq): (wrapenv): Substantial changes to use
+ copy-collected stack cache intended to reduce time in gc.
+
+ * sys.c (egc_mark): (egc_sweep): (egc_copy): (egc_copy_stack):
+ (egc_copy_roots): (scm_egc): The cache garbage collector.
+ (scm_env_cons): (scm_env_cons2): (scm_env_acons): Functions to
+ allocate storage in the environment cache.
+
+ * repl.c (scm_egc_start): (scm_egc_end): (scm_ecache_report):
+ (scm_stack_trace): Added to support environment cache.
+ stack-trace now does not print all of stacktraces deeper than
+ 10 levels.
+
+1998-03-20 Patrick Lecoanet <lecoanet@cena.dgac.fr>
+
+ * sys.c (igc): Use of NO_SYM_GC flag fixed.
+
+1998-03-20 Aubrey Jaffer <jaffer@colorage.com>
+
+ * eval.c (m_define): "redefining built-in " message now
+ conditional on verbose >= 2.
+ (evalatomcar): unquoted vectors give warning when verbose >= 2.
+ (EVALCELLCAR): Now always uses ATOMP, which catches all non-pair cells.
+
+1998-03-20 Radey Shouman <radey@colorage.com>
+
+ * Macro.scm (macro:compile-syntax-rules): Allows vectors to
+ be used as patterns and templates, per R5RS.
+ * eval.c (unpaint): Unpaints identifiers in quoted vectors.
+
+1998-03-09 Aubrey Jaffer <jaffer@colorage.com>
+
+ * repl.c (dump): made compatible with change to boot-tail
+ * time.c:
+ * scmfig.h: Removed support for HAVE_CONFIG_H.
+
+1998-03-09 Radey Shouman <radey@colorage.com>
+
+ * time.c: I found that SCM on Linux uses ftime(), but that ftime()
+ is implemented in glibc as a call to time(). Linux does support
+ gettimeofday(), which does allow 10 msec resolution. I tried
+ using the definition of ftime() using gettimeofday() at the end of
+ time.c (#ifdef freebsd). It worked like a charm.
+
+1998-03-05 Radey Shouman <radey@colorage.com>
+
+ * Init.scm (boot-tail): added `dumped?' argument.
+ * Init.scm (set-vicinities!): added.
+ * time.c (reset_time): Added to fix user time report for dumped
+ executables -- now reports the time since invocation, rather than
+ the time since dumping.
+ * scm.c (init_scm): Calls reset_time if dumped.
+ * scm.c (scm_find_impl): Wrapper for scm_find_impl_file.
+ * scm.c (find-init-file): added Scheme interface for scm_find_impl.
+
+1998-02-27 Bob Schumaker <cobblers@netcom.com>
+
+ * dynl.c: added Macintosh support.
+
+1998-02-23 Drew Csillag <drew_csillag@geocities.com>
+
+ * scm.c: Port for __CYGWIN32__
+
+1998-02-17 Radey Shouman <radey@colorage.com>
+
+ * Macro.scm (macro:compile-syntax-rules): Fixed to recognize
+ non-identifier literals in patterns.
+
+1998-02-09 <amu@mit.edu>
+
+ * scm.h (CGETUN):
+ * sys.c (noop0): I found two places where SCM uses a possibly
+ signed type for characters in a stream and risks confusing '\377'
+ (a legitimate character) with EOF (-1). This patch addresses this
+ problem, and should make SCM's streams completely 8-bit clean.
+
+1998-02-11 Aubrey Jaffer <jaffer@colorage.com>
+
+ * scm.texi (Index): combined indexes into one node. Added use of
+ @url command.
+
+Mon Jan 12 10:12:20 1998 Aubrey Jaffer <jaffer@ai.mit.edu>
+
+ * disarm.scm: (require 'disarm) disables opening and modifications
+ of files.
+
+Sun Jan 11 22:52:59 1998 Aubrey Jaffer <jaffer@ai.mit.edu>
+
+ * posix.c: replaced C definitions of open-input-pipe and
+ open-output-pipe with call to scm_ldstr().
+
+Sat Jan 10 11:54:03 1998 Aubrey Jaffer <jaffer@ai.mit.edu>
+
+ * Init.scm (read:eval-feature): moved into read:sharp (only use).
+ (read:sharp): now handles `#\.'; moved from lreadr in "repl.c".
+
+Sun Dec 21 19:40:31 1997 Aubrey Jaffer <jaffer@ai.mit.edu>
+
+ * repl.c (exit_report exit_report): improved.
+ * sys.c (stack_report): improved.
+
+ * scl.c (iint2str): split into two routines. Negative radix
+ argument now forces unsigned conversion.
+
+ * sys.c (alloc_some_heap): heap size variables were confused.
+ heap_cells is now used instead of heap_size.
+
+ * setjump.h (MIN_GC_YIELD NUM_HASH_BUCKETS): moved from scmfig.h.
+
+ * scm.h (THRASH): added.
+
+Mon, 01 Dec 1997 17:56:43 Andreas Menke <asmenke@bln.de>
+
+ * sys.c (must_malloc must_realloc): Bumps up mtrigger if less than
+ 1/8 of malloc space was reclaimed by GC.
+
+Wed Dec 17 22:40:45 1997 Aaron Ucko <amu@mit.edu>
+
+ * rgx.c (lregcomp): There is a small bug in rgx.c; a few things
+ should be set before sending the pattern buffer to
+ re_compile_pattern(). These fields should be set to zero, which
+ means the bug only appers after memory is reused. This only
+ affects use of GNU regex (i.e., only happens with _GNU_SOURCE
+ defined). cf. regex.info for more information.
+
+Wed Dec 17 22:40:45 1997 Aubrey Jaffer <jaffer@ai.mit.edu>
+
+ * sys.c (free_storage): added fflush for stdout and stderr
+ (because those ports don't get closed).
+
+Sun Nov 30 23:21:05 1997 Aubrey Jaffer <jaffer@martigny.ai.mit.edu>
+
+ * build (build-from-argv): split from "build.scm" so that cgi
+ scripts don't carry getopt baggage.
+
+Thu Nov 20 09:45:28 1997 Aubrey Jaffer <jaffer@martigny.ai.mit.edu>
+
+ * build.scm (build): suppress-files field restored to C-libraries
+ table. It really is the correct way to deal with "findexec.c".
+
Sun Nov 16 13:43:21 1997 Aubrey Jaffer <jaffer@martigny.ai.mit.edu>
* mkimpcat.scm: 'hobbit, 'scmhob, and 'build added.
* Link.scm (compile-file link-named-scm): Fixed. Require of
- strings removed. Tested with Hobbit 5x.
+ strings removed. Tested with Hobbit 5x.
(scm:object-suffix): changed to ".o"; only used by link-named-scm.
Sun Nov 2 23:15:57 1997 Aubrey Jaffer <jaffer@martigny.ai.mit.edu>
@@ -227,8 +1126,8 @@ Fri Mar 7 21:12:17 EST 1997 Aubrey Jaffer <jaffer@scm.bertronics.com>
* patchlvl.h (SCMVERSION): Bumped from 5a0 to 5a1.
Mon Mar 3 20:09:43 1997 Radey Shouman <shouman@zianet.com>
-
- * eval.c (renamed_ident): Renamed RENAME-IDENTIFIER to
+
+ * eval.c (renamed_ident): Renamed RENAME-IDENTIFIER to
RENAMED-IDENTIFIER.
* eval.c (m_case): Avoid renaming data at the head of each