mit-scheme.git
35 years ago* Major rewrite of `debug' and `where' to allow their code to be used
Chris Hanson [Mon, 7 Aug 1989 07:37:09 +0000 (07:37 +0000)]
* Major rewrite of `debug' and `where' to allow their code to be used
as a presentation mechanism for the editor.  The basic new design has
these features:

** All commands now accept a state argument, which they manipulate,
allowing the entire debugger state to be passed around easily.

** All output from the commands is wrapped by the procedure
`presentation', which can be grabbed to control the presentation
characteristics.  For example, the editor uses this hook to clear the
debugger buffer, change current-output-port to go to that buffer, and
then reset the modified flag after the presentation is complete.

** "Failure" conditions generated by the debugger are signalled
through the new procedure `debugger-failure', which can be grabbed.
The editor grabs this and binds it to `editor-failure'.

** Advisory messages generated by the debugger are signalled through
the new procedure `debugger-message', which can be grabbed.  The
editor grabs this and binds it to `editor-message'.

* The contracts for `prompt-for-confirmation?' and
`prompt-for-expression' have been changed to make them compatible with
the editor's versions of these procedures.

* The package loader no longer offers the "load interpreted?" option.
This is controlled by a flag which can be set should this option be
desired.  Similarly, the cold-loader no longer offers this option --
in that case you must move or delete the ".com" files to get an
interpreted cold-load.

* A new operation `pretty-print' is similar to `pp' except that it
doesn't print a prefix newline and it does nothing special about hash
numbers or named structures.

35 years ago`file-attributes' should use lstat instead of stat.
Chris Hanson [Mon, 7 Aug 1989 03:14:18 +0000 (03:14 +0000)]
`file-attributes' should use lstat instead of stat.

35 years agoEnable memoization -- it's a great time saver.
Chris Hanson [Sun, 6 Aug 1989 07:52:22 +0000 (07:52 +0000)]
Enable memoization -- it's a great time saver.

35 years agoFix `suspend-scheme' command so that it properly exits the editor
Chris Hanson [Fri, 4 Aug 1989 03:30:48 +0000 (03:30 +0000)]
Fix `suspend-scheme' command so that it properly exits the editor
before leaving Scheme.

35 years agoIn Dired, sort files in standard unix fashion.
Chris Hanson [Fri, 4 Aug 1989 03:17:42 +0000 (03:17 +0000)]
In Dired, sort files in standard unix fashion.
Change directory readers to use new primitive `directory-close' to
guarantee that the directory reader is cleaned up correctly.

35 years agoChange error message from "Bound variable" to "Illegal to rebind
Chris Hanson [Fri, 4 Aug 1989 02:42:32 +0000 (02:42 +0000)]
Change error message from "Bound variable" to "Illegal to rebind
variable".

35 years agoTeach unsyntaxer to recognize named LET and unsyntax it as such.
Chris Hanson [Fri, 4 Aug 1989 02:38:19 +0000 (02:38 +0000)]
Teach unsyntaxer to recognize named LET and unsyntax it as such.

35 years agoUse new primitive `directory-close' to guarantee that the
Chris Hanson [Fri, 4 Aug 1989 02:14:09 +0000 (02:14 +0000)]
Use new primitive `directory-close' to guarantee that the
directory-reader is correctly cleaned up when aborted.

35 years agoAdd new primitive `directory-close'.
Chris Hanson [Fri, 4 Aug 1989 02:08:35 +0000 (02:08 +0000)]
Add new primitive `directory-close'.

35 years agoDon't generate ".cref" file by default.
Chris Hanson [Thu, 3 Aug 1989 23:43:05 +0000 (23:43 +0000)]
Don't generate ".cref" file by default.

35 years agoChange library pathnames to be relative to
Chris Hanson [Thu, 3 Aug 1989 23:33:15 +0000 (23:33 +0000)]
Change library pathnames to be relative to
`(system-library-directory-pathname)' so that they will dynamically
changed depending on the microcode's defaults.

35 years agoDon't generate "cref.cref" by default.
Chris Hanson [Thu, 3 Aug 1989 23:27:46 +0000 (23:27 +0000)]
Don't generate "cref.cref" by default.

35 years ago`cref/generate-constructors' should write the ".glob" file also.
Chris Hanson [Thu, 3 Aug 1989 23:27:08 +0000 (23:27 +0000)]
`cref/generate-constructors' should write the ".glob" file also.

35 years agoDon't generate ".free" files by default.
Chris Hanson [Thu, 3 Aug 1989 23:26:06 +0000 (23:26 +0000)]
Don't generate ".free" files by default.

35 years agoDon't generate "runtim.cref" by default.
Chris Hanson [Thu, 3 Aug 1989 23:16:30 +0000 (23:16 +0000)]
Don't generate "runtim.cref" by default.

35 years agoExtend debugger to allow arbitrary evaluation in compiled code
Chris Hanson [Thu, 3 Aug 1989 23:13:14 +0000 (23:13 +0000)]
Extend debugger to allow arbitrary evaluation in compiled code
environments.  This is done by the trick of rewriting SCode, replacing
references to compiled-code variables with combinations that do the
reference.

Fix bug in compiled-code frame parser.

Change `print-gc-statistics' to show info about constant and heap
space in use.

New operation `system-library-directory-pathname' provides standard
way to find run-time library files.

35 years agoAdd new operations:
Chris Hanson [Thu, 3 Aug 1989 23:08:55 +0000 (23:08 +0000)]
Add new operations:

    environment-assign!
    environment-assignable?
    make-null-interpreter-environment
    extended-scode-eval
    system-library-directory-pathname

35 years agoAdd initialization for new operation `extended-scode-eval'.
Chris Hanson [Thu, 3 Aug 1989 23:07:40 +0000 (23:07 +0000)]
Add initialization for new operation `extended-scode-eval'.

35 years agoAdd new operation to clobber compiled-closure frames.
Chris Hanson [Thu, 3 Aug 1989 23:07:15 +0000 (23:07 +0000)]
Add new operation to clobber compiled-closure frames.

35 years agoAdd new operation `system-library-directory-pathname' which
Chris Hanson [Thu, 3 Aug 1989 23:06:31 +0000 (23:06 +0000)]
Add new operation `system-library-directory-pathname' which
standardizes where to find various run-time library files.

35 years agoChange `print-gc-statistics' to show the current amount of constant
Chris Hanson [Thu, 3 Aug 1989 23:05:29 +0000 (23:05 +0000)]
Change `print-gc-statistics' to show the current amount of constant
and heap in use.

35 years agoInitial revision
Chris Hanson [Thu, 3 Aug 1989 23:04:49 +0000 (23:04 +0000)]
Initial revision

35 years agoAllow compiled-code environments to be used in evaluation and REP
Chris Hanson [Thu, 3 Aug 1989 23:03:58 +0000 (23:03 +0000)]
Allow compiled-code environments to be used in evaluation and REP
loops.

35 years agoAdd new operations `environment-assignable?' and `environment-assign!'
Chris Hanson [Thu, 3 Aug 1989 23:01:31 +0000 (23:01 +0000)]
Add new operations `environment-assignable?' and `environment-assign!'
which allow individual variables in an environment to be assigned.

35 years agoAdd default Starbase device driver.
Chris Hanson [Thu, 3 Aug 1989 20:01:13 +0000 (20:01 +0000)]
Add default Starbase device driver.

35 years agoAdd defininition required to fix Ultrix X11 library bug.
Chris Hanson [Thu, 3 Aug 1989 19:56:36 +0000 (19:56 +0000)]
Add defininition required to fix Ultrix X11 library bug.

35 years agoRearrange the definitions comprising X_LIB so that they can be used to
Chris Hanson [Thu, 3 Aug 1989 19:52:19 +0000 (19:52 +0000)]
Rearrange the definitions comprising X_LIB so that they can be used to
fix the Ultrix -lX11 bug.

35 years agoExtensive changes to permit use of indirect Info files.
Chris Hanson [Thu, 3 Aug 1989 01:34:55 +0000 (01:34 +0000)]
Extensive changes to permit use of indirect Info files.

35 years agoExport `message-args->string' to (edwin) package.
Chris Hanson [Thu, 3 Aug 1989 01:34:32 +0000 (01:34 +0000)]
Export `message-args->string' to (edwin) package.

35 years agoImplement variable `debug-on-editor-error' which causes editor errors
Chris Hanson [Thu, 3 Aug 1989 01:33:18 +0000 (01:33 +0000)]
Implement variable `debug-on-editor-error' which causes editor errors
to be signalled as Scheme errors for debugging.

35 years agoMove definitions of `info-tags-table-{start,end}' to "info.scm".
Chris Hanson [Thu, 3 Aug 1989 01:32:31 +0000 (01:32 +0000)]
Move definitions of `info-tags-table-{start,end}' to "info.scm".

35 years agoFor "s" interactive command letter, allow null string to be returned.
Chris Hanson [Thu, 3 Aug 1989 01:31:16 +0000 (01:31 +0000)]
For "s" interactive command letter, allow null string to be returned.

35 years agoAdjust "umax" processor entry.
Chris Hanson [Wed, 2 Aug 1989 17:04:43 +0000 (17:04 +0000)]
Adjust "umax" processor entry.

35 years agoAdd NS32K processor type.
Chris Hanson [Wed, 2 Aug 1989 17:04:07 +0000 (17:04 +0000)]
Add NS32K processor type.

35 years agoAdd Encore Multimax.
Chris Hanson [Wed, 2 Aug 1989 17:03:38 +0000 (17:03 +0000)]
Add Encore Multimax.

35 years agoInitial revision
Chris Hanson [Wed, 2 Aug 1989 17:02:36 +0000 (17:02 +0000)]
Initial revision

35 years agoAdjust paths to be consistent with rest of release.
Chris Hanson [Wed, 2 Aug 1989 16:18:23 +0000 (16:18 +0000)]
Adjust paths to be consistent with rest of release.

35 years agoInitialize disassembler macros.
Chris Hanson [Wed, 2 Aug 1989 01:36:55 +0000 (01:36 +0000)]
Initialize disassembler macros.

35 years agoAdd definition of `ALTERNATE_M4'.
Chris Hanson [Wed, 2 Aug 1989 01:03:59 +0000 (01:03 +0000)]
Add definition of `ALTERNATE_M4'.

35 years agoCSH doesn't need to have $ doubled when it is wrapped in single
Chris Hanson [Wed, 2 Aug 1989 00:53:42 +0000 (00:53 +0000)]
CSH doesn't need to have $ doubled when it is wrapped in single
quotes.

35 years agoBug: code to extract ASCII from a char object was assuming that the
Chris Hanson [Tue, 1 Aug 1989 17:19:23 +0000 (17:19 +0000)]
Bug: code to extract ASCII from a char object was assuming that the
machine was big-endian, rather than little-endian, and thus extracted
the type code rather than the ASCII code.

35 years ago*** empty log message ***
Panayotis Skordos [Sun, 30 Jul 1989 23:59:02 +0000 (23:59 +0000)]
*** empty log message ***

35 years agoEliminate dependencies based on the version of cpp used to process
Chris Hanson [Thu, 27 Jul 1989 08:19:55 +0000 (08:19 +0000)]
Eliminate dependencies based on the version of cpp used to process
this file.  Don't define rules in macros -- use shell scripts and
override the program names instead.

35 years agoInitial revision
Chris Hanson [Thu, 27 Jul 1989 08:18:04 +0000 (08:18 +0000)]
Initial revision

35 years agoFor now, don't try to use -lddsox11.
Chris Hanson [Thu, 27 Jul 1989 06:30:38 +0000 (06:30 +0000)]
For now, don't try to use -lddsox11.

35 years agoDon't doubly define -g.
Chris Hanson [Thu, 27 Jul 1989 06:07:41 +0000 (06:07 +0000)]
Don't doubly define -g.

35 years agoAllow definition of STARBASE_DEVICE_DRIVERS to be overridden.
Chris Hanson [Thu, 27 Jul 1989 06:02:41 +0000 (06:02 +0000)]
Allow definition of STARBASE_DEVICE_DRIVERS to be overridden.

35 years agoInitial revision
Chris Hanson [Thu, 27 Jul 1989 00:37:15 +0000 (00:37 +0000)]
Initial revision

35 years agoMove -ltermcap definition to hpux system file.
Chris Hanson [Wed, 26 Jul 1989 23:59:35 +0000 (23:59 +0000)]
Move -ltermcap definition to hpux system file.

35 years agoMove -ltermcap definition to hpux system file.
Chris Hanson [Wed, 26 Jul 1989 23:59:15 +0000 (23:59 +0000)]
Move -ltermcap definition to hpux system file.

35 years agoInclude C_DEBUG_SWITCH in CFLAGS.
Chris Hanson [Wed, 26 Jul 1989 23:15:23 +0000 (23:15 +0000)]
Include C_DEBUG_SWITCH in CFLAGS.

35 years agoDon't generate compiler band.
Chris Hanson [Wed, 26 Jul 1989 23:14:57 +0000 (23:14 +0000)]
Don't generate compiler band.

35 years agoInitial revision
Chris Hanson [Wed, 26 Jul 1989 22:52:10 +0000 (22:52 +0000)]
Initial revision

35 years agoAdd "mips-ultrix" configuration type.
Chris Hanson [Wed, 26 Jul 1989 04:17:38 +0000 (04:17 +0000)]
Add "mips-ultrix" configuration type.

35 years agoRename LIBS_DEBUG to LIB_DEBUG.
Chris Hanson [Wed, 26 Jul 1989 04:17:10 +0000 (04:17 +0000)]
Rename LIBS_DEBUG to LIB_DEBUG.

35 years agoAdd new options SUPPRESS_C_OPTIMIZER and SUPPRESS_C_DEBUGGING to
Chris Hanson [Wed, 26 Jul 1989 04:16:35 +0000 (04:16 +0000)]
Add new options SUPPRESS_C_OPTIMIZER and SUPPRESS_C_DEBUGGING to
control the -O and -g flags to the compiler, and the associated -lg
flag to the linker.

35 years agoRename LIBS_DEBUG to LIB_DEBUG. Add new options SUPPRESS_C_OPTIMIZER
Chris Hanson [Wed, 26 Jul 1989 04:16:14 +0000 (04:16 +0000)]
Rename LIBS_DEBUG to LIB_DEBUG.  Add new options SUPPRESS_C_OPTIMIZER
and SUPPRESS_C_DEBUGGING to control the -O and -g flags to the
compiler, and the associated -lg flag to the linker.

35 years agoDon't delete "*.s" in "clean" as this is a loser on Sun3.
Chris Hanson [Wed, 26 Jul 1989 04:15:04 +0000 (04:15 +0000)]
Don't delete "*.s" in "clean" as this is a loser on Sun3.

35 years agoChange (void *) pointer to (char *) since the former isn't supported
Chris Hanson [Wed, 26 Jul 1989 04:14:21 +0000 (04:14 +0000)]
Change (void *) pointer to (char *) since the former isn't supported
on all compilers yet.

35 years agoAdd make target for Breakup.
Chris Hanson [Wed, 26 Jul 1989 03:55:44 +0000 (03:55 +0000)]
Add make target for Breakup.

35 years agoAdd PROC_TYPE_MIPS.
Chris Hanson [Wed, 26 Jul 1989 03:52:34 +0000 (03:52 +0000)]
Add PROC_TYPE_MIPS.

35 years agoInitial revision
Chris Hanson [Wed, 26 Jul 1989 03:48:06 +0000 (03:48 +0000)]
Initial revision

35 years agoMove M4 rule from "m/vax.h" to "s/ultrix.h".
Chris Hanson [Wed, 26 Jul 1989 03:47:51 +0000 (03:47 +0000)]
Move M4 rule from "m/vax.h" to "s/ultrix.h".
Remove conditionalized definition of LIBS_MACHINE.

35 years agoMove M4 rule from "m/vax.h" to "s/ultrix.h".
Chris Hanson [Wed, 26 Jul 1989 03:47:22 +0000 (03:47 +0000)]
Move M4 rule from "m/vax.h" to "s/ultrix.h".

35 years agoCreate directories when needed. Change loop to find all
Chris Hanson [Tue, 25 Jul 1989 19:26:33 +0000 (19:26 +0000)]
Create directories when needed.  Change loop to find all
subdirectories and convert all normal files within those
subdirectories (I hope this works on all unix variants).

35 years agoOpen-coding of floating-point arithmetic.
Arthur Gleckler [Tue, 25 Jul 1989 13:06:04 +0000 (13:06 +0000)]
Open-coding of floating-point arithmetic.

35 years agoOpen-coding of floating-point arithmetic.
Arthur Gleckler [Tue, 25 Jul 1989 12:42:02 +0000 (12:42 +0000)]
Open-coding of floating-point arithmetic.

35 years agoOpen-coding of floating-point arithmetic. Extend invertible expression
Arthur Gleckler [Tue, 25 Jul 1989 12:31:04 +0000 (12:31 +0000)]
Open-coding of floating-point arithmetic.  Extend invertible expression
elimination to detect invertible expression pairs of the form
  (a (b (c x))) ==> x
where a and b together cancel c, or b and c together cancel a.

35 years agoInitial revision
Arthur Gleckler [Tue, 25 Jul 1989 12:26:41 +0000 (12:26 +0000)]
Initial revision

35 years agoInitial revision
Arthur Gleckler [Tue, 25 Jul 1989 12:05:17 +0000 (12:05 +0000)]
Initial revision

35 years agoAlignment fixes.
Chris Hanson [Tue, 25 Jul 1989 08:46:06 +0000 (08:46 +0000)]
Alignment fixes.

35 years agoMove the sun-specific files to subdirectories.
Chris Hanson [Mon, 24 Jul 1989 21:34:00 +0000 (21:34 +0000)]
Move the sun-specific files to subdirectories.

35 years agoDefine `C_SWITCH_FEATURES' here, and add comment regarding some
Chris Hanson [Mon, 24 Jul 1989 21:08:15 +0000 (21:08 +0000)]
Define `C_SWITCH_FEATURES' here, and add comment regarding some
interesting values.

35 years agoMake `C_SWITCH_FEATURES' have some effect.
Chris Hanson [Mon, 24 Jul 1989 21:07:37 +0000 (21:07 +0000)]
Make `C_SWITCH_FEATURES' have some effect.

35 years agoOn SunOS at least, can't do M4_RULE macro.
Chris Hanson [Mon, 24 Jul 1989 21:02:33 +0000 (21:02 +0000)]
On SunOS at least, can't do M4_RULE macro.

35 years agoDon't use `intern' for constant labels.
Chris Hanson [Mon, 24 Jul 1989 17:46:33 +0000 (17:46 +0000)]
Don't use `intern' for constant labels.

35 years agoEliminate "unreferenced bound variable" warning.
Chris Hanson [Thu, 20 Jul 1989 22:30:29 +0000 (22:30 +0000)]
Eliminate "unreferenced bound variable" warning.

35 years agoInitial revision
Chris Hanson [Tue, 18 Jul 1989 22:36:14 +0000 (22:36 +0000)]
Initial revision

35 years agoBug: `walk/node' was being called with an incorrect number of
Chris Hanson [Tue, 18 Jul 1989 20:22:38 +0000 (20:22 +0000)]
Bug: `walk/node' was being called with an incorrect number of
arguments.

35 years ago*** empty log message ***
Chris Hanson [Tue, 18 Jul 1989 00:17:35 +0000 (00:17 +0000)]
*** empty log message ***

35 years agoAdjust for new release.
Chris Hanson [Fri, 14 Jul 1989 03:50:34 +0000 (03:50 +0000)]
Adjust for new release.

35 years agoSpectrum compiler won't allow casts on lvalues.
Chris Hanson [Fri, 14 Jul 1989 02:53:54 +0000 (02:53 +0000)]
Spectrum compiler won't allow casts on lvalues.

35 years agoFix bug: can't assume that argument to `debugging-info/noise' is a
Chris Hanson [Thu, 13 Jul 1989 18:38:41 +0000 (18:38 +0000)]
Fix bug: can't assume that argument to `debugging-info/noise' is a
pair.

35 years ago*** empty log message ***
Chris Hanson [Wed, 12 Jul 1989 00:14:16 +0000 (00:14 +0000)]
*** empty log message ***

35 years ago*** empty log message ***
Chris Hanson [Tue, 11 Jul 1989 23:52:21 +0000 (23:52 +0000)]
*** empty log message ***

35 years agoFix incorrectly written call to `critical_section_hook'.
Chris Hanson [Wed, 5 Jul 1989 21:36:36 +0000 (21:36 +0000)]
Fix incorrectly written call to `critical_section_hook'.

35 years agoEliminate random use of & on character array.
Chris Hanson [Wed, 5 Jul 1989 19:08:45 +0000 (19:08 +0000)]
Eliminate random use of & on character array.

35 years agoAdd \n\ as appropriate to documentation strings of primitives.
Chris Hanson [Wed, 5 Jul 1989 18:45:54 +0000 (18:45 +0000)]
Add \n\ as appropriate to documentation strings of primitives.

35 years agoMissing assigment in bit-substring-find-next-set-bit.
Chris Hanson [Wed, 5 Jul 1989 18:42:21 +0000 (18:42 +0000)]
Missing assigment in bit-substring-find-next-set-bit.

35 years agoCan't use #error because not all cpp's support it.
Chris Hanson [Wed, 5 Jul 1989 18:34:26 +0000 (18:34 +0000)]
Can't use #error because not all cpp's support it.

35 years agoTwo problems with print_a_char: was not checking character
Chris Hanson [Sun, 2 Jul 1989 05:12:25 +0000 (05:12 +0000)]
Two problems with print_a_char: was not checking character
to see if it was in domain of character type predicates, and extended
character representation didn't match what Psbtobin is looking for --
used hex instead of decimal.

35 years agoPrepare for beta test 7.0.0
Chris Hanson [Sat, 1 Jul 1989 12:49:40 +0000 (12:49 +0000)]
Prepare for beta test 7.0.0

35 years agoMerge from branch 1.4.1.3
Chris Hanson [Sat, 1 Jul 1989 11:34:16 +0000 (11:34 +0000)]
Merge from branch 1.4.1.3

35 years ago*** empty log message ***
Chris Hanson [Sat, 1 Jul 1989 11:05:49 +0000 (11:05 +0000)]
*** empty log message ***

35 years agoFix bug in sense of graphics buffering. Previously it worked
Chris Hanson [Tue, 27 Jun 1989 10:18:01 +0000 (10:18 +0000)]
Fix bug in sense of graphics buffering.  Previously it worked
correctly by default, but the enable/disable operations had the wrong
sense.  Also, flush the buffer when it is disabled.

35 years agoImplement `get-default' operation on X graphics windows, and allow a
Chris Hanson [Tue, 27 Jun 1989 10:16:02 +0000 (10:16 +0000)]
Implement `get-default' operation on X graphics windows, and allow a
string to be used as a display argument when opening a window.

35 years agoChange resource handling to use property names similar to those used
Chris Hanson [Tue, 27 Jun 1989 10:10:01 +0000 (10:10 +0000)]
Change resource handling to use property names similar to those used
by GNU Emacs.

35 years agoExport procedure `x_get_default'.
Chris Hanson [Tue, 27 Jun 1989 10:09:14 +0000 (10:09 +0000)]
Export procedure `x_get_default'.

35 years agoConditionalize running of x-close-all-displays on its being
Chris Hanson [Fri, 23 Jun 1989 21:35:19 +0000 (21:35 +0000)]
Conditionalize running of x-close-all-displays on its being
implemented.

35 years agoExport the x-graphics operations to the global package. Shouldn't
ojn [Fri, 23 Jun 1989 21:13:06 +0000 (21:13 +0000)]
Export the x-graphics operations to the global package.  Shouldn't
have deleted them in the first place.