mit-scheme.git
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.

35 years agoChange X resource names to conform to (what appear to be) standards.
Chris Hanson [Fri, 23 Jun 1989 04:34:49 +0000 (04:34 +0000)]
Change X resource names to conform to (what appear to be) standards.

35 years ago*** empty log message ***
Panayotis Skordos [Fri, 23 Jun 1989 03:47:49 +0000 (03:47 +0000)]
*** empty log message ***

35 years agoInitial revision
Chris Hanson [Fri, 23 Jun 1989 00:01:43 +0000 (00:01 +0000)]
Initial revision

35 years agoInstallation of new graphics operations. This requires support
Chris Hanson [Thu, 22 Jun 1989 23:51:02 +0000 (23:51 +0000)]
Installation of new graphics operations.  This requires support
available as of microcode version 10.85.  Documentation to follow
shortly.

35 years agoChange name of primitive to prevent conflict with new X11 stuff.
Chris Hanson [Thu, 22 Jun 1989 23:01:50 +0000 (23:01 +0000)]
Change name of primitive to prevent conflict with new X11 stuff.

35 years agoNew 6003 system under construction
Panayotis Skordos [Thu, 22 Jun 1989 21:52:26 +0000 (21:52 +0000)]
New 6003 system under construction

35 years ago*** empty log message ***
Chris Hanson [Thu, 22 Jun 1989 18:18:47 +0000 (18:18 +0000)]
*** empty log message ***

35 years ago`comtab-entry' was missing one place where it needed to special case
Chris Hanson [Wed, 21 Jun 1989 11:55:22 +0000 (11:55 +0000)]
`comtab-entry' was missing one place where it needed to special case
buttons.

35 years agoAdd \n\ to ends of documentation lines.
Chris Hanson [Wed, 21 Jun 1989 11:46:20 +0000 (11:46 +0000)]
Add \n\ to ends of documentation lines.

35 years agoRedesign for changes to microcode X11 interface. Add new commands (to
Chris Hanson [Wed, 21 Jun 1989 10:43:20 +0000 (10:43 +0000)]
Redesign for changes to microcode X11 interface.  Add new commands (to
control color, size, etc.) of X windows.  Add Markf's mouse-button
enhancements.

35 years agoInitial revision
Chris Hanson [Wed, 21 Jun 1989 10:42:34 +0000 (10:42 +0000)]
Initial revision

35 years agoAdd new file "xcom". Add Markf's mouse-button enhancements.
Chris Hanson [Wed, 21 Jun 1989 10:39:07 +0000 (10:39 +0000)]
Add new file "xcom".  Add Markf's mouse-button enhancements.

35 years agoAdd new file "xcom."
Chris Hanson [Wed, 21 Jun 1989 10:38:18 +0000 (10:38 +0000)]
Add new file "xcom."

35 years agoRewrite `inferior-containing-coordinates' to be faster. Make optional
Chris Hanson [Wed, 21 Jun 1989 10:37:45 +0000 (10:37 +0000)]
Rewrite `inferior-containing-coordinates' to be faster.  Make optional
argument be required.  Eliminate mixing of single- and multiple-value
returns, which doesn't work.

35 years agoChange calling conventions for mouse-button commands. Limit the
Chris Hanson [Wed, 21 Jun 1989 10:35:31 +0000 (10:35 +0000)]
Change calling conventions for mouse-button commands.  Limit the
coordinates to the buffer-frame's area, although probably the code
should be changed to ignore events that occur over the modelines.
Change the button-table initialization stuff so it isn't done at load
time.  Eliminate a few things that weren't being used.

35 years agoAdd new file "xcom".
Chris Hanson [Wed, 21 Jun 1989 10:32:07 +0000 (10:32 +0000)]
Add new file "xcom".

35 years ago*** empty log message ***
Chris Hanson [Wed, 21 Jun 1989 10:31:40 +0000 (10:31 +0000)]
*** empty log message ***

35 years agoChange comtabs to have a separate slot for mouse-button bindings.
Chris Hanson [Wed, 21 Jun 1989 10:31:07 +0000 (10:31 +0000)]
Change comtabs to have a separate slot for mouse-button bindings.
These are treated differently because mouse-buttons aren't bound to
commands but instead to procedures with a certain calling protocol.

35 years agoInitial revision
Chris Hanson [Wed, 21 Jun 1989 10:22:19 +0000 (10:22 +0000)]
Initial revision

35 years ago*** empty log message ***
Chris Hanson [Wed, 21 Jun 1989 05:55:50 +0000 (05:55 +0000)]
*** empty log message ***

35 years agoCommand tables now associate on buttons as well as characters.
Mark Friedman [Tue, 20 Jun 1989 16:20:48 +0000 (16:20 +0000)]
Command tables now associate on buttons as well as characters.

35 years agoAdded method :leaf-containing-coordinates in support of mouse buttons.
Mark Friedman [Tue, 20 Jun 1989 16:16:09 +0000 (16:16 +0000)]
Added method :leaf-containing-coordinates  in support of mouse buttons.

35 years agoSupport for mouse buttons. The support is not complete, but it does
Mark Friedman [Tue, 20 Jun 1989 16:09:08 +0000 (16:09 +0000)]
Support for mouse buttons. The support is not complete, but it does
more or less work. See x-mouse.scm for soem examples.

There is no support for chording (with multiple buttons, or with
button and key combos), multiple clicking, or dragging.

There is also no buffering of button events beyond the buffering done
by X itself. I'm not sure how much of a problem this is.

There is a small timing problem on edwin startup, where you can't
use a mouse button until a key has been pressed. I think that the
solution to this involves including mouse events (at least the button
events) in the input port abstraction.

35 years agoAdded a VALUES-LET macro for binding multiple values.
Mark Friedman [Mon, 19 Jun 1989 22:46:06 +0000 (22:46 +0000)]
Added a VALUES-LET macro for binding multiple values.

35 years agoFixed bug in MARK-PERMANENT!.
Mark Friedman [Mon, 19 Jun 1989 22:42:29 +0000 (22:42 +0000)]
Fixed bug in MARK-PERMANENT!.

35 years agoAdded a procedure to find an inferior containing a given x,y
Mark Friedman [Mon, 19 Jun 1989 22:36:54 +0000 (22:36 +0000)]
Added a procedure to find an inferior containing a given x,y
coordinate. Used in support of mouse button stuff.

35 years agoSupport for mouse buttons. The support is not complete, but it does
Mark Friedman [Mon, 19 Jun 1989 22:22:49 +0000 (22:22 +0000)]
Support for mouse buttons. The support is not complete, but it does
more or less work. See x-mouse.scm for soem examples.

There is no support for chording (with multiple buttons, or with
button and key combos), multiple clicking, or dragging.

There is also no buffering of button events beyond the buffering done
by X itself. I'm not sure how much of a problem this is.

There is a small timing problem on edwin startup, where you can't
use a mouse button until a key has been pressed. I think that the
solution to this involves including mouse events (at least the button
events) in the input port abstraction.

35 years agoChange the string hashing algorithm one more time. This one looks
Chris Hanson [Fri, 16 Jun 1989 11:32:03 +0000 (11:32 +0000)]
Change the string hashing algorithm one more time.  This one looks
like more of a winner than the previous one.

35 years agoChange the string hashing algorithm one more time. This one looks
Chris Hanson [Fri, 16 Jun 1989 11:15:04 +0000 (11:15 +0000)]
Change the string hashing algorithm one more time.  This one looks
like more of a winner than the previous one.

35 years agoSignificant changes to symbol interning code. Various other related
Chris Hanson [Fri, 16 Jun 1989 09:45:32 +0000 (09:45 +0000)]
Significant changes to symbol interning code.  Various other related
changes.

35 years agoSignificant rewrite -- changed algorithm used for string hashing,
Chris Hanson [Fri, 16 Jun 1989 09:44:40 +0000 (09:44 +0000)]
Significant rewrite -- changed algorithm used for string hashing,
altered interfaces of utility procedures.  Eliminated character-list
primitives, which are no longer used.  Added new primitive,
`find-symbol', which is like `symbol->string' except that it returns
#F if the symbol was not already in the obarray.

35 years agoChange reference to `Intern' to refer to `intern_symbol'. The latter
Chris Hanson [Fri, 16 Jun 1989 09:41:53 +0000 (09:41 +0000)]
Change reference to `Intern' to refer to `intern_symbol'.  The latter
is a replacement for the former, with somewhat different interface.

35 years agoChange code that previously referenced `Find_Symbol' to use the
Chris Hanson [Fri, 16 Jun 1989 09:40:14 +0000 (09:40 +0000)]
Change code that previously referenced `Find_Symbol' to use the
replacement procedure `find_symbol'.  Reformat primitives to use up to
date argument and value macros.

35 years agoDelete export of `Find_Symbol', which has been deleted.
Chris Hanson [Fri, 16 Jun 1989 09:37:49 +0000 (09:37 +0000)]
Delete export of `Find_Symbol', which has been deleted.

35 years agoAdd definition for `UNSPECIFIC'.
Chris Hanson [Fri, 16 Jun 1989 09:37:04 +0000 (09:37 +0000)]
Add definition for `UNSPECIFIC'.
Delete definition of parameters for string-hashing algorithm.

35 years agoFix bug in calling sequence of known lexprs: when callee needs a
Chris Hanson [Fri, 16 Jun 1989 09:14:08 +0000 (09:14 +0000)]
Fix bug in calling sequence of known lexprs: when callee needs a
static link, the number of arguments pushed is one less than the frame
size.  Previously this case was not being handled specially, and the
resulting code worked only because the compiled code interface had a
bug which caused the wrong number of arguments to be popped.

35 years agoFix formatting of error message in `make-primitive-procedure'.
Chris Hanson [Tue, 13 Jun 1989 21:57:05 +0000 (21:57 +0000)]
Fix formatting of error message in `make-primitive-procedure'.

35 years agoAdd most linking code and a few other procedures.
Guillermo J. Rozas [Tue, 13 Jun 1989 08:21:36 +0000 (08:21 +0000)]
Add most linking code and a few other procedures.

35 years agoChange the normal termination message.
Guillermo J. Rozas [Mon, 12 Jun 1989 17:36:22 +0000 (17:36 +0000)]
Change the normal termination message.

35 years agoFix comentry_lexpr_apply. The number of arguments passed to it does
Guillermo J. Rozas [Mon, 12 Jun 1989 17:36:03 +0000 (17:36 +0000)]
Fix comentry_lexpr_apply.  The number of arguments passed to it does
not include the procedure, while invoke_lexpr expects it to be
included.

Bump the compiler's default constant space size.

Change the normal termination message.

35 years agoBump constant space size for the compiler.
Guillermo J. Rozas [Mon, 12 Jun 1989 16:08:28 +0000 (16:08 +0000)]
Bump constant space size for the compiler.

35 years agoFix trivial bug to recursive-compilation-results. Entries in
Guillermo J. Rozas [Sat, 10 Jun 1989 23:54:04 +0000 (23:54 +0000)]
Fix trivial bug to recursive-compilation-results.  Entries in
*recursive-compilation-results* are vectors, not lists!

35 years agoAdd new global variable, `sf/default-declarations', which defines
Chris Hanson [Fri, 9 Jun 1989 16:56:35 +0000 (16:56 +0000)]
Add new global variable, `sf/default-declarations', which defines
extra declarations to be used in addition to those inside each file.

35 years agoAdd new event-receiver, `event:before-exit', which is invoked before
Chris Hanson [Fri, 9 Jun 1989 16:51:44 +0000 (16:51 +0000)]
Add new event-receiver, `event:before-exit', which is invoked before
Scheme is killed and before a disk-restore is performed.  This allows
cleaning up of any state, such as open files, that relates the runtime
system to the external world.

35 years agoAdd new flags to the microcode:
Guillermo J. Rozas [Thu, 8 Jun 1989 00:26:10 +0000 (00:26 +0000)]
Add new flags to the microcode:

BAD_TYPES_INNOCUOUS
If a bad type is seen, the system treats it as a non-pointer for most
purposes.

BAD_TYPES_LETHAL
If a bad type is seen, kill Scheme with TERM_INVALID_TYPE_CODE.

The default is BAD_TYPES_LETHAL when there is no compiler support,
BAD_TYPES_INNOCUOUS when there is.

35 years agoAdd new flags to the microcode:
Guillermo J. Rozas [Thu, 8 Jun 1989 00:19:13 +0000 (00:19 +0000)]
Add new flags to the microcode:

BAD_TYPES_INNOCUOUS
If a bad type is seen, the system treats it as a non-pointer for most
purposes.

BAD_TYPES_LETHAL
If a bad type is seen, kill Scheme with TERM_INVALID_TYPE_CODE.

The default is BAD_TYPES_LETHAL when there is no compiler support,
BAD_TYPES_INNOCUOUS when there is.

35 years agoTake into account the case where a variable is in a register (i.e. not
Mark Friedman [Wed, 7 Jun 1989 20:47:04 +0000 (20:47 +0000)]
Take into account the case where a variable is in a register (i.e. not
on the stack).
Delete-integrated-parameters is now done in a separate phase.

35 years agoFix stupid bugs introduced in `vector-map'.
Chris Hanson [Wed, 7 Jun 1989 19:15:00 +0000 (19:15 +0000)]
Fix stupid bugs introduced in `vector-map'.

35 years agoAdd primitive uuo link disassembly.
Guillermo J. Rozas [Wed, 7 Jun 1989 02:17:36 +0000 (02:17 +0000)]
Add primitive uuo link disassembly.