Chris Hanson [Mon, 16 Aug 1993 08:04:34 +0000 (08:04 +0000)]
Don't delete a screen if it's already deleted.
Chris Hanson [Mon, 16 Aug 1993 08:04:03 +0000 (08:04 +0000)]
Initialize cursor X and Y of a screen matrix to 0, not #F.
Joe Bank [Sun, 15 Aug 1993 22:03:59 +0000 (22:03 +0000)]
Made changes to help.
Joe Bank [Sat, 14 Aug 1993 03:31:21 +0000 (03:31 +0000)]
Made minor change to select-bline
Jason Wilson [Sat, 14 Aug 1993 02:47:21 +0000 (02:47 +0000)]
Made groups start out writable? again.
Chris Hanson [Fri, 13 Aug 1993 23:40:21 +0000 (23:40 +0000)]
Add %HASH-NUMBER field to group data structure. This is used to cache
the OBJECT-HASH of the group to speed up regular expression searching.
Chris Hanson [Fri, 13 Aug 1993 23:20:57 +0000 (23:20 +0000)]
Alter WITH-READ-ONLY-DEFEATED so that it defeats read-only intervals
within the group. Additionally, eliminate several instances of
GROUP-INDEX: variables to make later transition away from
DEFINE-NAMED-STRUCTURE easier.
Jason Wilson [Fri, 13 Aug 1993 11:17:59 +0000 (11:17 +0000)]
I can't believe i wrote this shitty code in the first place but i blew
it in delete-interval.
Jason Wilson [Fri, 13 Aug 1993 01:56:57 +0000 (01:56 +0000)]
Fix fencepost error in highlighting of subexpressions.
Jason Wilson [Fri, 13 Aug 1993 01:35:02 +0000 (01:35 +0000)]
Fix highlighting bug in SCREEN-GET-OUTPUT-LINE.
Joe Bank [Fri, 13 Aug 1993 01:22:17 +0000 (01:22 +0000)]
Changed continuation->blines and system-frame? to work if the flag
debugger-hide-system-code? is set false.
Chris Hanson [Fri, 13 Aug 1993 00:12:45 +0000 (00:12 +0000)]
Use new procedure STACK-FRAME/REPL-EVAL-BOUNDARY? to detect standard
REPL evaluation boundary frames. This replaces crufty mechanism that
was previously in use here.
Chris Hanson [Fri, 13 Aug 1993 00:08:00 +0000 (00:08 +0000)]
Use new procedure REPL-SCODE-EVAL to do a standard evaluation of the
SCode within HOOK/REPL-EVAL.
Chris Hanson [Fri, 13 Aug 1993 00:07:10 +0000 (00:07 +0000)]
Implement REPL-SCODE-EVAL to capture the common idiom of evaluating
some SCode from a REPL.
Chris Hanson [Fri, 13 Aug 1993 00:03:24 +0000 (00:03 +0000)]
Implement WITH-REPL-EVAL-BOUNDARY and STACK-FRAME/REPL-EVAL-BOUNDARY?
to mark the boundary between stack frames that are part of the REPL
and those that are part of the expression being evaluated by the REPL.
This marker frame is a "subproblem" frame because that is the easiest
way to make it visible to the debuggers, but operationally it is a
"reduction" frame.
The runtime system's debugger currently ignores these marker frames;
at some point it should be modified to do something with them.
Chris Hanson [Thu, 12 Aug 1993 09:46:09 +0000 (09:46 +0000)]
Change HOOK/REPL-EVAL to accept the calling REPL as its first
argument, in addition to the other arguments.
Joe Bank [Thu, 12 Aug 1993 08:35:48 +0000 (08:35 +0000)]
New version of the edwin debugger added.
Chris Hanson [Thu, 12 Aug 1993 08:35:18 +0000 (08:35 +0000)]
Change HOOK/REPL-EVAL to accept the calling REPL as its first
argument, in addition to the other arguments.
Jason Wilson [Thu, 12 Aug 1993 08:33:36 +0000 (08:33 +0000)]
Changed the order of loading xcom so that joe's debugger would be
happy.
Chris Hanson [Thu, 12 Aug 1993 08:32:46 +0000 (08:32 +0000)]
Use new operation, CURRENT-EXPRESSION-CONTEXT, to find out where the
expression being rewritten came from. Use this contextual information
to restrict the generation of definition messages so that they only
occur for expressions evaluated directly in the repl buffer.
Chris Hanson [Thu, 12 Aug 1993 08:27:34 +0000 (08:27 +0000)]
Add a new operation on the interface port, CURRENT-EXPRESSION-CONTEXT,
that returns a context description associated with the expression most
recently read from the port. The context description is a symbol
which says where the expression came from. This information will be
used by the 6.001 code to make the generation of special definition
messages sensitive to the context.
Chris Hanson [Thu, 12 Aug 1993 08:23:59 +0000 (08:23 +0000)]
Change HOOK/REPL-EVAL to accept the calling REPL as its first
argument, in addition to the other arguments.
Chris Hanson [Thu, 12 Aug 1993 07:40:36 +0000 (07:40 +0000)]
Change handling of command prompts so that only the standard prompts
are ignored; other prompts are printed. The standard prompts can also
be printed by changing the value of a flag. The set of standard
prompts is defined by a list which can be augmented. These changes
make the prompt argument of PROMPT-FOR-COMMAND-EXPRESSION useful.
Chris Hanson [Thu, 12 Aug 1993 07:01:10 +0000 (07:01 +0000)]
It's OK to print compound procedure names.
Chris Hanson [Thu, 12 Aug 1993 06:56:37 +0000 (06:56 +0000)]
Change / operation to return exact quotient of two exact integers if
the numerator is a multiple of the denominator.
Chris Hanson [Thu, 12 Aug 1993 06:03:21 +0000 (06:03 +0000)]
Add operation to get the mark from a buffer output port.
Chris Hanson [Thu, 12 Aug 1993 06:01:50 +0000 (06:01 +0000)]
Extend highlighting mechanism so that Edwin can take advantage of it.
Guillermo J. Rozas [Thu, 12 Aug 1993 05:33:14 +0000 (05:33 +0000)]
Fix the register*constant fixnum-multiply rule to match the change to
the corresponding rewrite rules.
Chris Hanson [Wed, 11 Aug 1993 23:36:59 +0000 (23:36 +0000)]
Add compiler:COALESCING-CONSTANT-WARNINGS? to list of switches
exported to the global environment.
Stephen Adams [Wed, 11 Aug 1993 20:28:55 +0000 (20:28 +0000)]
Hacked in temporary arrow keys and Home (^A) and End (^E) keys.
Chris Hanson [Wed, 11 Aug 1993 19:13:10 +0000 (19:13 +0000)]
Don't show warnings about constant coalescing.
Chris Hanson [Wed, 11 Aug 1993 19:07:12 +0000 (19:07 +0000)]
Supply missing argument to outf_fatal in TERM_SIGNAL handler. Make
termination message for TERM_HALT appear on stdout, since it is not
error information.
Chris Hanson [Tue, 10 Aug 1993 23:36:03 +0000 (23:36 +0000)]
Conditionalize calls to text-property operations on an open-coded test
for the existence of properties in the group being modified.
Chris Hanson [Tue, 10 Aug 1993 23:28:12 +0000 (23:28 +0000)]
Eliminate instances of DEFINE-NAMED-STRUCTURE.
Stephen Adams [Tue, 10 Aug 1993 16:17:44 +0000 (16:17 +0000)]
Paramterized stack saving in C_call_scheme for I386
Chris Hanson [Tue, 10 Aug 1993 09:44:18 +0000 (09:44 +0000)]
Implement INTERVAL-PROPERTIES-EQUAL?.
Chris Hanson [Tue, 10 Aug 1993 09:39:53 +0000 (09:39 +0000)]
Eliminate spurious compiler warning.
Chris Hanson [Tue, 10 Aug 1993 07:11:47 +0000 (07:11 +0000)]
Fix pagination.
Chris Hanson [Tue, 10 Aug 1993 07:05:47 +0000 (07:05 +0000)]
Fix pagination.
Chris Hanson [Tue, 10 Aug 1993 06:57:20 +0000 (06:57 +0000)]
Fix pagination.
Chris Hanson [Tue, 10 Aug 1993 06:50:48 +0000 (06:50 +0000)]
Fix pagination.
Chris Hanson [Tue, 10 Aug 1993 06:35:54 +0000 (06:35 +0000)]
Define mechanism to find and execute commands from point-local comtabs
when they exist, and modify various places to use it instead of
COMTAB-ENTRY.
Fix installation of text properties: "edwin.pkg" not propertly
modified.
Change name of package for text properties.
Chris Hanson [Tue, 10 Aug 1993 05:46:42 +0000 (05:46 +0000)]
Fix pagination.
Chris Hanson [Tue, 10 Aug 1993 05:32:28 +0000 (05:32 +0000)]
Fix pagination.
Chris Hanson [Tue, 10 Aug 1993 04:56:30 +0000 (04:56 +0000)]
Remove random ^Z.
Jason Wilson [Mon, 9 Aug 1993 19:42:49 +0000 (19:42 +0000)]
Made changes to draw-region! so that one could have highlighted regions.
Jason Wilson [Mon, 9 Aug 1993 19:38:13 +0000 (19:38 +0000)]
Made the command reader check for a command-table in the text before
using the default command table.
Jason Wilson [Mon, 9 Aug 1993 19:36:39 +0000 (19:36 +0000)]
Added the file txtprp.scm.
Jason Wilson [Mon, 9 Aug 1993 19:22:40 +0000 (19:22 +0000)]
Changed the button event handler so that it would search for a command
table in the text before calling the ordinary routine.
Jason Wilson [Mon, 9 Aug 1993 19:20:36 +0000 (19:20 +0000)]
Added the file txtprp.scm.
Jason Wilson [Mon, 9 Aug 1993 19:19:27 +0000 (19:19 +0000)]
Changed insert and delete to check the text-property field for
READ-ONLY regions by calling: text-not-insertable? and text-not-deleteable?
Jason Wilson [Mon, 9 Aug 1993 19:15:15 +0000 (19:15 +0000)]
Added a text-property field to the group data structures. Legal
values for this field are false or an interval tree.
Jason Wilson [Mon, 9 Aug 1993 19:12:51 +0000 (19:12 +0000)]
Initial revision
Jason Wilson [Mon, 9 Aug 1993 19:11:49 +0000 (19:11 +0000)]
Changes to undo so that text property changes could be undone using undo.
Stephen Adams [Sat, 7 Aug 1993 00:17:44 +0000 (00:17 +0000)]
Initial revision
Stephen Adams [Sat, 7 Aug 1993 00:15:54 +0000 (00:15 +0000)]
Fix for re-entrant foreign function: saves C stack & frame pointers
Stephen Adams [Sat, 7 Aug 1993 00:13:57 +0000 (00:13 +0000)]
Adjustment of default constant size under NT
Stephen Adams [Sat, 7 Aug 1993 00:12:49 +0000 (00:12 +0000)]
Added: support for relinking DLLs
Stephen Adams [Sat, 7 Aug 1993 00:11:47 +0000 (00:11 +0000)]
Added a plethora of groovy icons
Stephen Adams [Sat, 7 Aug 1993 00:09:39 +0000 (00:09 +0000)]
Changed default icon
Jason Wilson [Fri, 6 Aug 1993 05:44:41 +0000 (05:44 +0000)]
Make multiply-fixnum do inline case more often. Previously we were
being screwed by the CSE.
Chris Hanson [Thu, 5 Aug 1993 08:36:45 +0000 (08:36 +0000)]
Inferior thread should not return from WAIT-FOR-INPUT until the
desired input is really available.
Chris Hanson [Wed, 4 Aug 1993 22:21:35 +0000 (22:21 +0000)]
The utility procedure `strcmp_ci' had a built-in assumption that the
input strings contained no uppercase letters. This is not the case.
The procedure `toupper' is guaranteed to work on all characters iff
the implementation is ANSI compliant. The procedure `_toupper' (ant
`toupper' in non-ANSI implementations) is guaranteed to work _only_ on
lowercase letters.
Chris Hanson [Wed, 4 Aug 1993 21:17:45 +0000 (21:17 +0000)]
Supply missing dependencies on "memmag.h".
Chris Hanson [Wed, 4 Aug 1993 20:21:00 +0000 (20:21 +0000)]
Don't write a message when the working directory of the inferior REPL
is changed; this now happens at odd times and the messages are at best
distracting.
Jacob Katzenelson [Tue, 3 Aug 1993 22:40:23 +0000 (22:40 +0000)]
Upgrade dumpable expanders to satisfy new arity.
Jacob Katzenelson [Tue, 3 Aug 1993 22:40:00 +0000 (22:40 +0000)]
Clean up last change -- GJR.
Guillermo J. Rozas [Tue, 3 Aug 1993 22:27:42 +0000 (22:27 +0000)]
Fix problem when shutting down before having set up the timer.
Guillermo J. Rozas [Tue, 3 Aug 1993 22:26:15 +0000 (22:26 +0000)]
- Add prototypes for C library procedures.
- Primitive aliasing no longer requires the base primitive to be
present. When incorporating an alias to an inexistent primitive,
the inexistent primitive is declared first.
Guillermo J. Rozas [Tue, 3 Aug 1993 22:15:14 +0000 (22:15 +0000)]
Remove WINNT fossil.
Jacob Katzenelson [Tue, 3 Aug 1993 21:53:35 +0000 (21:53 +0000)]
Fix the same bug in replace-operator that was just fixed in
reduce-operator. -- GJR
Guillermo J. Rozas [Tue, 3 Aug 1993 20:54:45 +0000 (20:54 +0000)]
Forgot to upgrate to match new data structures.
Guillermo J. Rozas [Tue, 3 Aug 1993 17:40:04 +0000 (17:40 +0000)]
Forgot comment characters after #endif.
Guillermo J. Rozas [Tue, 3 Aug 1993 17:39:38 +0000 (17:39 +0000)]
Add casts to remove warnings by HP cc.
Guillermo J. Rozas [Tue, 3 Aug 1993 09:08:40 +0000 (09:08 +0000)]
Fix a problem introduced when checking the file in.
Guillermo J. Rozas [Tue, 3 Aug 1993 08:40:19 +0000 (08:40 +0000)]
Initial revision
Guillermo J. Rozas [Tue, 3 Aug 1993 08:40:12 +0000 (08:40 +0000)]
Fix braino in last change.
Guillermo J. Rozas [Tue, 3 Aug 1993 08:39:41 +0000 (08:39 +0000)]
Change the primitive tables to allow for dynamic declaration of
primitives.
Guillermo J. Rozas [Tue, 3 Aug 1993 08:30:12 +0000 (08:30 +0000)]
Change the primitive tables to allow for dynamic declaration of
primitives.
Guillermo J. Rozas [Tue, 3 Aug 1993 03:10:46 +0000 (03:10 +0000)]
Remove warning from sf.
Guillermo J. Rozas [Tue, 3 Aug 1993 03:09:54 +0000 (03:09 +0000)]
Add a mechanism for mapping input scode objects to output scode
objects. The original scode objects are passed through to the output,
and the *sf-associate* hook is called on the output scode and the
original scode. The default *sf-associate* does nothing.
Guillermo J. Rozas [Tue, 3 Aug 1993 02:26:28 +0000 (02:26 +0000)]
Add a mechanism for mapping input scode objects to output scode
objects. The original scode objects are passed through to the output,
and the *sf-associate* hook is called on the output scode and the
original scode. The default *sf-associate* does nothing.
Chris Hanson [Tue, 3 Aug 1993 00:52:25 +0000 (00:52 +0000)]
Update edition and date information.
Chris Hanson [Tue, 3 Aug 1993 00:51:17 +0000 (00:51 +0000)]
Update edition and date information.
Chris Hanson [Mon, 2 Aug 1993 23:54:26 +0000 (23:54 +0000)]
Condition handlers can not invoke ABORT-CURRENT-COMMAND because the
handler for that condition might have been bound inside of the binding
for the condition being handled, and thus be unavailable at that time.
This is fixed by introducing a restart, ABORT-EDITOR-COMMAND, and an
associated procedure, RETURN-TO-COMMAND-LOOP. Condition handlers
should invoke this restart rather than signalling the
ABORT-CURRENT-COMMAND condition.
Chris Hanson [Mon, 2 Aug 1993 22:24:58 +0000 (22:24 +0000)]
Change ABORT-CURRENT-COMMAND to EDITOR-ERROR.
Guillermo J. Rozas [Mon, 2 Aug 1993 21:12:17 +0000 (21:12 +0000)]
Add a mechanism for mapping objects to the character positions in the
input port at which they started.
Chris Hanson [Mon, 2 Aug 1993 21:06:09 +0000 (21:06 +0000)]
RMAIL-SUMMARY-BUFFER must be bound in order for RMAIL-CEASE-EDIT to
work correctly.
Chris Hanson [Mon, 2 Aug 1993 04:22:51 +0000 (04:22 +0000)]
* Change handling of ^G interrupts and of ABORT-CURRENT-COMMAND. Both
now use the condition system; ^G conditions are a specialization of
ABORT-CURRENT-COMMAND conditions. This change makes it easy to bind
some action to occur when a command is aborted for whatever reason.
Consequently, the procedure INTERCEPT-^G-INTERRUPTS has been
deleted.
* The inferior thread output mechanism has been modified to allow a
thread to request that the editor exit the keyboard reader and
return to the command reader. The request is phrased by the thread
output procedure returning 'FORCE-RETURN. This new mechanism is
used by the inferior REPL code to force the command reader to
immediately execute a command override for an unsolicited prompt.
* Aborting an unsolicited prompt causes the associated inferior thread
to execute ABORT->NEAREST.
* Inferior REPL buffers now initialize their working directory to the
default directory of the selected buffer at the time the REPL buffer
is created.
* Inferior REPL buffers now have their own bindings of %EXIT and QUIT
that affect only the inferior thread. In particular, %EXIT kills
the inferior thread but leaves Scheme running; QUIT does nothing.
Chris Hanson [Mon, 2 Aug 1993 03:06:38 +0000 (03:06 +0000)]
* Change handling of ^G interrupts and of ABORT-CURRENT-COMMAND. Both
now use the condition system; ^G conditions are a specialization of
ABORT-CURRENT-COMMAND conditions. This change makes it easy to bind
some action to occur when a command is aborted for whatever reason.
Consequently, the procedure INTERCEPT-^G-INTERRUPTS has been
deleted.
* The inferior thread output mechanism has been modified to allow a
thread to request that the editor exit the keyboard reader and
return to the command reader. The request is phrased by the thread
output procedure returning 'FORCE-RETURN. This new mechanism is
used by the inferior REPL code to force the command reader to
immediately execute a command override for an unsolicited prompt.
* Aborting an unsolicited prompt causes the associated inferior thread
to execute ABORT->NEAREST.
* Inferior REPL buffers now initialize their working directory to the
default directory of the selected buffer at the time the REPL buffer
is created.
* Inferior REPL buffers now have their own bindings of %EXIT and QUIT
that affect only the inferior thread. In particular, %EXIT kills
the inferior thread but leaves Scheme running; QUIT does nothing.
Chris Hanson [Mon, 2 Aug 1993 02:50:40 +0000 (02:50 +0000)]
Add new procedure COMINT-RECORD-INPUT which is like RING-PUSH! except
that it doesn't push the string argument if it is the same as the one
on the top of the ring. This is usually desirable -- it's not
necessary to record more than one of a series of identical commands.
Chris Hanson [Sun, 1 Aug 1993 06:44:19 +0000 (06:44 +0000)]
Change handling of simple events so that it does not invoke the main
keyboard-reading loop with its management of updating and messages.
Chris Hanson [Sun, 1 Aug 1993 06:10:37 +0000 (06:10 +0000)]
Disallow selection of a deleted screen. Unfortunately this can happen
because MWM generates these two events in sequence when the "close"
window menu entry is selected:
1. WM_DELETE_WINDOW event on the given screen.
2. FocusIn event on the given screen. Yuck! Side effect of selecting
the menu button on the screen.
Chris Hanson [Sun, 1 Aug 1993 05:30:29 +0000 (05:30 +0000)]
If an inferior REPL generates an unsolicited prompt, perform the
prompt only when the REPL buffer is selected. If the buffer is not
selected, delay the prompt until selection occurs. What is still
missing is a notification mechanism to alert the user that the
inferior REPL needs attention.
Chris Hanson [Sun, 1 Aug 1993 05:27:38 +0000 (05:27 +0000)]
Add per-buffer selection hooks.
Chris Hanson [Sun, 1 Aug 1993 05:06:25 +0000 (05:06 +0000)]
Extend handling of simple events to include deletion of non-selected
screens.
Chris Hanson [Sun, 1 Aug 1993 00:16:08 +0000 (00:16 +0000)]
Change KEYBOARD-READ, KEYBOARD-PEEK, and KEYBOARD-PEEK-NO-HANG to
intercept "update" and "resize" events and to handle them rather than
returning them. Other events with potentially troublesome actions are
returned as before. Additionally, several places where input events
were discarded have been fixed -- input events must ALWAYS be handled.
Chris Hanson [Sat, 31 Jul 1993 03:34:12 +0000 (03:34 +0000)]
Make WORKING-DIRECTORY-PATHNAME and *DEFAULT-PATHNAME-DEFAULTS* be
different for each CMDL. Change SET-WORKING-DIRECTORY-PATHNAME! so
that it only changes the working directory of the Scheme process if
the CMDL is the initial top-level REPL.
The end result of these changes is to make the working directory of an
Edwin inferior REPL buffer be independent of the global working
directory.
Chris Hanson [Sat, 31 Jul 1993 03:11:56 +0000 (03:11 +0000)]
Make WORKING-DIRECTORY-PATHNAME and *DEFAULT-PATHNAME-DEFAULTS* be
different for each CMDL. Change SET-WORKING-DIRECTORY-PATHNAME! so
that it only changes the working directory of the Scheme process if
the CMDL is the initial top-level REPL.
The end result of these changes is to make the working directory of an
Edwin inferior REPL buffer be independent of the global working
directory.
Chris Hanson [Fri, 30 Jul 1993 21:11:15 +0000 (21:11 +0000)]
Most uses of CURRENT-REPL-BUFFER should not signal an error if there
is no such buffer.