Chris Hanson [Thu, 2 Apr 1992 07:53:22 +0000 (07:53 +0000)]
Export STACK-FRAME/COMPILED-CODE? to global package.
Brian A. LaMacchia [Thu, 2 Apr 1992 01:00:23 +0000 (01:00 +0000)]
*** empty log message ***
Arthur Gleckler [Wed, 1 Apr 1992 19:14:09 +0000 (19:14 +0000)]
Fix wrong-number-of-arguments bug in X-GRAPHICS/QUERY-POINTER calling
X-GRAPHICS-MAP-X-COORDINATE and X-GRAPHICS-MAP-Y-COORDINATE.
Arthur Gleckler [Wed, 1 Apr 1992 19:08:50 +0000 (19:08 +0000)]
Make wrong-arity primitives cause an error in addition to a warning.
(Jinx and Arthur)
Chris Hanson [Wed, 1 Apr 1992 02:17:07 +0000 (02:17 +0000)]
Eliminate M-g and M-q from Scheme mode.
Guillermo J. Rozas [Tue, 31 Mar 1992 20:48:14 +0000 (20:48 +0000)]
Add rewriting rule for FIXNUM-LSH with constant second argument.
Guillermo J. Rozas [Tue, 31 Mar 1992 19:55:45 +0000 (19:55 +0000)]
Clean up tests.
Guillermo J. Rozas [Tue, 31 Mar 1992 19:50:01 +0000 (19:50 +0000)]
Add FIXNUM-LSH rewrite rule so that shifts by constants will always be
combined.
Guillermo J. Rozas [Tue, 31 Mar 1992 19:18:10 +0000 (19:18 +0000)]
Edit bug in last change.
Chris Hanson [Tue, 31 Mar 1992 07:43:34 +0000 (07:43 +0000)]
Always update the cursor position after a successful screen update,
because the termcap interface doesn't know where it should be and can
leave it in the wrong place.
Guillermo J. Rozas [Tue, 31 Mar 1992 01:15:28 +0000 (01:15 +0000)]
Add rewriting rules so that FIXNUM-LSH, FIXNUM-QUOTIENT, and
FIXNUM-REMAINDER will not go out of line when the second argument is
an appropriate constant.
Improve rewriting rules for MULTIPLY-FIXNUM to handle all powers of 2,
and not only 4!
Guillermo J. Rozas [Tue, 31 Mar 1992 01:14:16 +0000 (01:14 +0000)]
Change multiply-fixnum rules to handle any power of 2, not only 4!
Brian A. LaMacchia [Tue, 31 Mar 1992 00:53:59 +0000 (00:53 +0000)]
As fast as the C code...
Brian A. LaMacchia [Mon, 30 Mar 1992 22:53:33 +0000 (22:53 +0000)]
*** empty log message ***
Brian A. LaMacchia [Mon, 30 Mar 1992 21:18:11 +0000 (21:18 +0000)]
*** empty log message ***
Guillermo J. Rozas [Mon, 30 Mar 1992 21:11:54 +0000 (21:11 +0000)]
Replace `shortcircuit' by `sc' because of identifier length problems
in DOS.
Guillermo J. Rozas [Mon, 30 Mar 1992 21:10:50 +0000 (21:10 +0000)]
Another set of changes for DOS. In particular, replace `shortcircuit' by
`sc' because of identifier length problems.
Brian A. LaMacchia [Mon, 30 Mar 1992 20:54:43 +0000 (20:54 +0000)]
*** empty log message ***
Hal Abelson [Fri, 27 Mar 1992 23:19:30 +0000 (23:19 +0000)]
Change MAKE-WINDOW to work on B&W display.
Chris Hanson [Fri, 27 Mar 1992 20:32:53 +0000 (20:32 +0000)]
Fix declarations to match `OS_make_subprocess'.
Chris Hanson [Thu, 26 Mar 1992 23:03:23 +0000 (23:03 +0000)]
Handle (DEFINE <name>) without error.
Chris Hanson [Thu, 26 Mar 1992 22:29:37 +0000 (22:29 +0000)]
New command M-x x-auto-raise-mode toggles auto-raise mode on and off.
Chris Hanson [Thu, 26 Mar 1992 22:12:25 +0000 (22:12 +0000)]
Move switch settings back to this file from the init files.
Chris Hanson [Thu, 26 Mar 1992 11:02:42 +0000 (11:02 +0000)]
Don't declare `select' in recent releases of HP-UX; that is done in a
standard header file.
Chris Hanson [Thu, 26 Mar 1992 11:01:14 +0000 (11:01 +0000)]
Eliminate mismatched declaration of `ftruncate' for SYSV4.
Chris Hanson [Thu, 26 Mar 1992 10:59:14 +0000 (10:59 +0000)]
Patch to previous change.
Chris Hanson [Thu, 26 Mar 1992 10:54:49 +0000 (10:54 +0000)]
Fix declaration of arguments passed to `execve'.
Chris Hanson [Thu, 26 Mar 1992 04:21:11 +0000 (04:21 +0000)]
Do the right thing for hpux with the ANSI compiler.
Chris Hanson [Thu, 26 Mar 1992 04:14:35 +0000 (04:14 +0000)]
Do the right thing for hpux with the ANSI compiler.
Chris Hanson [Thu, 26 Mar 1992 04:02:34 +0000 (04:02 +0000)]
Do the right thing for hpux with the ANSI compiler.
Chris Hanson [Thu, 26 Mar 1992 03:56:12 +0000 (03:56 +0000)]
Do the right thing for hpux with the ANSI compiler.
Chris Hanson [Thu, 26 Mar 1992 03:48:05 +0000 (03:48 +0000)]
Do the right thing for hpux with the ANSI compiler.
Chris Hanson [Thu, 26 Mar 1992 03:39:31 +0000 (03:39 +0000)]
Eliminate conflicting definition.
Chris Hanson [Thu, 26 Mar 1992 03:35:47 +0000 (03:35 +0000)]
Do the right thing for hpux with the ANSI compiler.
Chris Hanson [Thu, 26 Mar 1992 03:16:30 +0000 (03:16 +0000)]
Set _HPUX_VERSION for release 8.0.
Chris Hanson [Thu, 26 Mar 1992 00:02:40 +0000 (00:02 +0000)]
Export switch to control "auto-raise" feature of X screens.
Chris Hanson [Thu, 26 Mar 1992 00:01:27 +0000 (00:01 +0000)]
Add switch to control "auto-raise" feature of X graphics windows.
Chris Hanson [Wed, 25 Mar 1992 23:51:57 +0000 (23:51 +0000)]
Add switch to control behavior of PP when AS-CODE? argument is
defaulted.
Chris Hanson [Wed, 25 Mar 1992 22:39:25 +0000 (22:39 +0000)]
Fix oversight in last edit.
Chris Hanson [Wed, 25 Mar 1992 21:58:21 +0000 (21:58 +0000)]
Add several new switches to control appearance of objects and REPL.
Chris Hanson [Wed, 25 Mar 1992 21:53:01 +0000 (21:53 +0000)]
Don't initialize Edwin here; do that in ".edwin" file instead.
Chris Hanson [Wed, 25 Mar 1992 21:52:36 +0000 (21:52 +0000)]
Change to match recent changes to X11 graphics in runtime system.
Paginate code.
Chris Hanson [Wed, 25 Mar 1992 21:44:49 +0000 (21:44 +0000)]
Don't generate full CREF.
Chris Hanson [Wed, 25 Mar 1992 21:41:11 +0000 (21:41 +0000)]
Export control variables from inferior REPL package.
Chris Hanson [Wed, 25 Mar 1992 21:40:10 +0000 (21:40 +0000)]
Make Edwin window have X resource class "Emacs".
Chris Hanson [Tue, 24 Mar 1992 23:32:17 +0000 (23:32 +0000)]
Add new file "compile.scm".
Chris Hanson [Tue, 24 Mar 1992 23:31:41 +0000 (23:31 +0000)]
Initial revision
Chris Hanson [Tue, 24 Mar 1992 23:30:08 +0000 (23:30 +0000)]
Change subprocess status operation to work correctly after subprocess
has been deleted.
Chris Hanson [Tue, 24 Mar 1992 22:52:02 +0000 (22:52 +0000)]
Pass Emacs-style status message to process sentinel.
Chris Hanson [Fri, 20 Mar 1992 05:18:31 +0000 (05:18 +0000)]
This runtime system requires microcode version 11.111 or later.
* Allow CREATE-THREAD to accept #F as its first argument, and to use a
default continuation in that case. Define
WITH-CREATE-THREAD-CONTINUATION to bind that default; change
CMDL/START to cause the default continuation to be bound to the
continuation of the CMDL driver.
* Add new operations to x-graphics devices: RAISE-WINDOW,
LOWER-WINDOW, WITHDRAW-WINDOW, QUERY-POINTER. Delete UNMAP-WINDOW
operation which is superseded by WITHDRAW-WINDOW.
* Add new operations X-GRAPHICS/OPEN-DISPLAY and
X-GRAPHICS/CLOSE-DISPLAY. The value returned by
X-GRAPHICS/OPEN-DISPLAY may be passed to MAKE-GRAPHICS-DEVICE as a
second argument when making x-graphics devices.
* Export virtually all x-graphics operations by name as
X-GRAPHICS/foo.
* Extensive redesign of X graphics internals. Now events are handled
asynchronously by a separate thread, one per display connection.
Graphics windows now participate in the DELETE-WINDOW protocol, so
that closing a window with the window manager has the desired effect
rather than killing the Scheme process. Display connections are
memoized, and are reclaimed by garbage collection when no longer
used. Closing a display connection closes all of the windows
associated with it.
Brian A. LaMacchia [Fri, 20 Mar 1992 02:24:40 +0000 (02:24 +0000)]
Initial revision
Chris Hanson [Tue, 17 Mar 1992 21:58:14 +0000 (21:58 +0000)]
Fix "clean" rule to get everything.
Chris Hanson [Mon, 16 Mar 1992 19:56:30 +0000 (19:56 +0000)]
Changes for HP-UX 8.0.
Chris Hanson [Mon, 16 Mar 1992 19:42:55 +0000 (19:42 +0000)]
Various changes that are required by runtime 14.148 and later.
Upwards compatible with earlier versions of the runtime system.
Chris Hanson [Mon, 16 Mar 1992 19:41:37 +0000 (19:41 +0000)]
When creating a graphics window, set the WM keyboard input hint to
false; this can be changed later if keyboard input is desired.
Chris Hanson [Mon, 16 Mar 1992 19:39:48 +0000 (19:39 +0000)]
Change X-DISPLAY-PROCESS-EVENTS to allow second argument to specify
that UX_select should not be used (i.e. that subprocess input and
interrupts should be ignored).
Arthur Gleckler [Mon, 16 Mar 1992 19:27:32 +0000 (19:27 +0000)]
Change graphics operations to receive the device, not just the
descriptor, of the graphics object on which they are operating.
Henry M. Wu [Mon, 16 Mar 1992 16:51:21 +0000 (16:51 +0000)]
Don't unlink file before closing it if the system does not allow that.
Fixed Reset_Memory to remember to unlink file.
Guillermo J. Rozas [Mon, 16 Mar 1992 02:08:47 +0000 (02:08 +0000)]
Change the syntax of indirect jumps for DOS.
Chris Hanson [Sat, 14 Mar 1992 12:11:07 +0000 (12:11 +0000)]
Add -I and -L switches needed for release 8.0. Add dynamic loader
support.
Chris Hanson [Sat, 14 Mar 1992 00:09:44 +0000 (00:09 +0000)]
*** empty log message ***
Chris Hanson [Sat, 14 Mar 1992 00:09:17 +0000 (00:09 +0000)]
* Add support for NotifyVisibility events.
* Change MotionNotify events to include state information.
Also use PointerMotionHintMask to limit the amount of traffic when
these events are enabled.
* Add new primitives
X-WINDOW-COORDS-ROOT->LOCAL
X-WINDOW-COORDS-LOCAL->ROOT
X-WINDOW-RAISE
X-WINDOW-LOWER
X-WINDOW-QUERY-POINTER
* Fix X-WINDOW-SET-POSITION so that it works correctly with
reparenting window managers.
Chris Hanson [Sat, 14 Mar 1992 00:08:54 +0000 (00:08 +0000)]
Use XWMGeometry instead of XGeometry.
Chris Hanson [Sat, 14 Mar 1992 00:01:14 +0000 (00:01 +0000)]
Add support for tracking VisibilityNotify events. Use this support to
implement optional "auto raise" feature that raises the selected
screen whenever the user types.
Chris Hanson [Fri, 13 Mar 1992 23:59:41 +0000 (23:59 +0000)]
Add commands to raise and lower the current X window in the stacking
order. Change default icon-name format to be "edwin".
Chris Hanson [Fri, 13 Mar 1992 23:58:38 +0000 (23:58 +0000)]
Change SCREEN-VISIBLE? to be true for a visibility of
'PARTIALLY-OBSCURED as well as the usual 'VISIBLE.
Guillermo J. Rozas [Fri, 13 Mar 1992 19:29:08 +0000 (19:29 +0000)]
- Stack segment swapping for Zortech C.
- Conditionalize for Microsoft's (and Zortech's) structure returning
convention.
Arthur Gleckler [Fri, 13 Mar 1992 17:16:21 +0000 (17:16 +0000)]
Documentation for STRING-TRIM, STRING-TRIM-LEFT, and STRING-TRIM-RIGHT
said that CHAR-SET argument defaulted to char-set:whitespace, but it
really defaults to char-set:not-whitespace.
Chris Hanson [Fri, 13 Mar 1992 12:01:04 +0000 (12:01 +0000)]
Eliminate unused bound variable in SCREEN-UPDATE.
Chris Hanson [Fri, 13 Mar 1992 11:04:26 +0000 (11:04 +0000)]
Change definition of NOP instruction to match that used by MIPS
compilers. Otherwise machine-language debuggers like GDB won't show
this instruction as a NOP.
Chris Hanson [Fri, 13 Mar 1992 11:01:32 +0000 (11:01 +0000)]
Add option to use ALTERNATE_CC on the MIPS. GCC 2.0 works admirably.
Chris Hanson [Fri, 13 Mar 1992 10:53:26 +0000 (10:53 +0000)]
*** empty log message ***
Chris Hanson [Fri, 13 Mar 1992 10:52:40 +0000 (10:52 +0000)]
* Change all places that call UPDATE-INFERIOR! to test the redisplay
flags before doing the call. Change UPDATE-INFERIOR! to eliminate
the test. This change avoids a close-coded call with many arguments
if it is unnecessary.
* Many of the low-level :UPDATE-DISPLAY! methods always return #T.
Take advantage of this fact to eliminate unnecessary tests in the
callers.
* WINDOW-MODELINE-EVENT! was informing the modeline window of the
event by means of a message. Change this to a procedure call.
* Change WINDOW-NEEDS-REDISPLAY! and INFERIOR-NEEDS-REDISPLAY! to
avoid close-coded call to SETUP-REDISPLAY-FLAGS! when it is
unnecessary.
* Add declarations to cause CLIP-WINDOW-REGION-1 to be open-coded.
This eliminates two close-coded calls and generation of a closure
over many variables.
Chris Hanson [Fri, 13 Mar 1992 10:48:29 +0000 (10:48 +0000)]
* Change the name of the initial repl buffer to "*scheme*".
* Add new editor variable REPL-ENABLE-TRANSCRIPT-BUFFER that causes
repl buffer transactions to be added to the transcript buffer (if it
is enabled). Default for this variable is enabled.
* Add new editor variable REPL-ERROR-DECISION to control the behavior
of a repl buffer when an evaluation error occurs. If enabled, the
user is forced to choose between debugging the error and aborting
from it. The default for this variable is disabled.
* Add code to prod the editor after the run-light has been updated by
an inferior repl. Otherwise the editor might not notice the change
until later.
* Change the name of the INFERIOR-DEBUGGER mode to be INFERIOR-CMDL.
Change the modeline name of the INFERIOR-REPL mode to be "REPL".
Change the modeline name of the INFERIOR-CMDL mode to be "CMDL".
Change the names of the INFERIOR-REPL-foo interrupt commands to be
INFERIOR-CMDL-foo. Change the name of the
INFERIOR-DEBUGGER-SELF-INSERT command to INFERIOR-CMDL-SELF-INSERT.
Chris Hanson [Fri, 13 Mar 1992 10:47:39 +0000 (10:47 +0000)]
* (update-screen!): Clear the NEEDS-UPDATE? of the screen if the
update finishes properly.
* (screen-force-update): Fix typo that caused the new and current
matrix lines of highlighted text to become EQ?.
* (with-screen-in-update): Eliminate UNWIND-PROTECT since interrupts
are locked while it executes and any errors in the redisplay
indicate a serious problem that makes the UNWIND-PROTECT
uninteresting.
* (with-screen-in-update): Avoid calling SCREEN-UPDATE if the screen's
NEEDS-UPDATE? flag is not set.
* (with-screen-in-update, screen-update): Don't update the cursor
position unless the screen update finishes and the cursor has moved.
* (screen-update): Avoid use of FIX:REMAINDER, which is not open-coded
on the MIPS.
* (screen-update): Change meaning of PREEMPTION-MODULUS so that it
counts the number of updated lines rather than the number of lines.
This avoids unnecessary work when only a few lines need changing,
such as when only the modeline or typein window is being updated.
Because of this change, eliminate DEBUG-PREEMPTION-Y from the SCREEN
structure since it is no longer easy to simulate preemption like
this (and this debugging tool was never needed).
* (update-line-highlight): When comparing old and new lines, don't
consider short matches since it is usually cheaper to ignore them.
This has already been done for the no-highlight case and should have
been done for this case at that time.
Chris Hanson [Fri, 13 Mar 1992 10:11:12 +0000 (10:11 +0000)]
Add new commands APROPOS-COMMAND and APROPOS-VARIABLE as aliases for
COMMAND-APROPOS and VARIABLE-APROPOS. Add new command APROPOS that
finds any command, variable, or mode that matches the regular
expression (perhaps it should also find ordinary Scheme symbols?).
Change output of apropos commands to more closely match that of Emacs.
Chris Hanson [Fri, 13 Mar 1992 10:08:11 +0000 (10:08 +0000)]
Change EDIT to set up the EDITOR-ABORT continuation correctly when
reentering the editor after a suspend. Previously it was returning to
the same initial continuation whenever the editor was stopped.
Chris Hanson [Fri, 13 Mar 1992 10:06:39 +0000 (10:06 +0000)]
Change UPDATE-SCREENS! to scan each screen exactly once. Don't mess
with screen order when doing updates.
Chris Hanson [Fri, 13 Mar 1992 10:05:26 +0000 (10:05 +0000)]
COMINT-LINE-START was matching COMINT-PROMPT-REGEXP against the
remainder of the buffer when it is only necessary to match against the
remainder of the line. This occasionally caused the primitive
re-match-buffer to signal an anonymous error. This patch
will make the anonymous error extremely unlikely.
The anonymous error indicates a stack-overflow condition that is
difficult to fix properly. However, the primitive can be modified to
use heuristics that will eliminate the error; the cost is that cases
that would have signalled the error will instead return a non-maximal
match or a non-match in cases where it would have returned a maximal
match had the stack been deep enough.
Chris Hanson [Fri, 13 Mar 1992 09:47:46 +0000 (09:47 +0000)]
Define new command no-toggle-read-only and bind it to C-x C-q in the
read-only and read-only-noarg modes.
Chris Hanson [Fri, 13 Mar 1992 09:45:49 +0000 (09:45 +0000)]
Change EDITOR-FAILURE to post a regular message instead of a temporary
one.
Guillermo J. Rozas [Wed, 11 Mar 1992 20:08:37 +0000 (20:08 +0000)]
Forgot two underscores.
Guillermo J. Rozas [Wed, 11 Mar 1992 20:06:32 +0000 (20:06 +0000)]
Zortech C also requires underscores in data-segment variables.
Chris Hanson [Wed, 11 Mar 1992 12:17:00 +0000 (12:17 +0000)]
Fix bug in RUN-THREAD that would leave the block-events bit turned on
after delivery of an event.
Chris Hanson [Wed, 11 Mar 1992 09:31:51 +0000 (09:31 +0000)]
Use one-instruction sequence for unary fixnum predicates instead of
more general two-instruction sequence.
Chris Hanson [Wed, 11 Mar 1992 09:30:50 +0000 (09:30 +0000)]
Rewrite instances of binary fixnum predicates as equivalent unary
predicate when one arg is zero.
Guillermo J. Rozas [Tue, 10 Mar 1992 02:54:02 +0000 (02:54 +0000)]
Add MULTI_CLOSURE_PADDING for Alpha.
Arthur Gleckler [Sun, 8 Mar 1992 18:33:55 +0000 (18:33 +0000)]
Make Edwin variable BEEPING-ALLOWED? that is false if Edwin must
never beep.
Arthur Gleckler [Sun, 8 Mar 1992 17:38:09 +0000 (17:38 +0000)]
Fix fencepost error in month.
Arthur Gleckler [Sun, 8 Mar 1992 16:32:05 +0000 (16:32 +0000)]
Make the notifier able to display the date.
Arthur Gleckler [Sun, 8 Mar 1992 16:22:30 +0000 (16:22 +0000)]
Export DECODED-TIME/DAY-OF-WEEK to global environment.
Guillermo J. Rozas [Sat, 7 Mar 1992 18:54:33 +0000 (18:54 +0000)]
More DOS changes.
Guillermo J. Rozas [Fri, 6 Mar 1992 04:59:27 +0000 (04:59 +0000)]
Fix minor bugs for DOS.
Guillermo J. Rozas [Fri, 6 Mar 1992 00:56:43 +0000 (00:56 +0000)]
Forgot one IF387 (for divide).
Guillermo J. Rozas [Fri, 6 Mar 1992 00:28:03 +0000 (00:28 +0000)]
Remove blank lines.
Guillermo J. Rozas [Fri, 6 Mar 1992 00:26:26 +0000 (00:26 +0000)]
Switch sense for floating point flag. The default is to include the
floating-point code.
Guillermo J. Rozas [Fri, 6 Mar 1992 00:20:06 +0000 (00:20 +0000)]
Conditionalize for floating-point support.
Guillermo J. Rozas [Thu, 5 Mar 1992 20:30:55 +0000 (20:30 +0000)]
Initial revision
Guillermo J. Rozas [Thu, 5 Mar 1992 20:29:13 +0000 (20:29 +0000)]
Macroize everything up the wazoo to accommodate differences between Unix
and DOS assemblers.
Guillermo J. Rozas [Tue, 3 Mar 1992 23:24:39 +0000 (23:24 +0000)]
Add 700 directory defaults so that sources can be found.