Guillermo J. Rozas [Wed, 27 Oct 1993 23:57:07 +0000 (23:57 +0000)]
Remove uses of UL. Non-ANSI compilers (e.g. SunOS) can't handle it.
Guillermo J. Rozas [Wed, 27 Oct 1993 23:54:39 +0000 (23:54 +0000)]
Remove SunOS conflicts when using Sun's cc.
Guillermo J. Rozas [Wed, 27 Oct 1993 23:50:09 +0000 (23:50 +0000)]
Fix broken declarations.
Chris Hanson [Wed, 27 Oct 1993 23:29:18 +0000 (23:29 +0000)]
Implement mechanism to deregister inferior threads, and call it from
the appropriate places. If this isn't done it's too easy to hold on
to a pointer to the thread, which prevents the thread from being
reclaimed by the GC.
Guillermo J. Rozas [Wed, 27 Oct 1993 23:11:43 +0000 (23:11 +0000)]
Fix signed problems on Alpha.
Chris Hanson [Wed, 27 Oct 1993 23:01:46 +0000 (23:01 +0000)]
Fix bug: inferior REPL thread was never being killed.
Guillermo J. Rozas [Wed, 27 Oct 1993 22:19:14 +0000 (22:19 +0000)]
Conditionalize for SunOS 4.1.?
Guillermo J. Rozas [Wed, 27 Oct 1993 22:15:59 +0000 (22:15 +0000)]
Include os.h so that things like size_t are defined.
Guillermo J. Rozas [Wed, 27 Oct 1993 22:15:12 +0000 (22:15 +0000)]
SunOS 4.1.? declares abort to return int.
Guillermo J. Rozas [Wed, 27 Oct 1993 22:14:36 +0000 (22:14 +0000)]
SunOS 4.1.? declares abort to return void.
Guillermo J. Rozas [Wed, 27 Oct 1993 22:12:16 +0000 (22:12 +0000)]
Make it work under SunOS (and perhaps Alpha OSF).
Guillermo J. Rozas [Wed, 27 Oct 1993 22:10:14 +0000 (22:10 +0000)]
Use CONST instead of const, since the C compiler may not be ANSI
compliant.
Guillermo J. Rozas [Wed, 27 Oct 1993 20:40:36 +0000 (20:40 +0000)]
Fix capitalization bug.
Chris Hanson [Wed, 27 Oct 1993 02:23:21 +0000 (02:23 +0000)]
Change PROMPT-FOR-EXPRESSION so that variable-name completion in the
typein buffer uses the environment of the buffer that was current when
PROMPT-FOR-EXPRESSION was called.
Chris Hanson [Wed, 27 Oct 1993 02:14:12 +0000 (02:14 +0000)]
Generalize PROMPT-FOR-STRING to allow an initialization procedure to
be used in place of the mode.
Chris Hanson [Wed, 27 Oct 1993 01:59:35 +0000 (01:59 +0000)]
Fix bug: when buffer visible in two or more windows, buffer change
that affected the modeline didn't update the modeline unless the
change was visible in the window.
Guillermo J. Rozas [Wed, 27 Oct 1993 01:41:39 +0000 (01:41 +0000)]
Disable Alpha shadowing of malloc when using the C back end.
Guillermo J. Rozas [Wed, 27 Oct 1993 00:57:26 +0000 (00:57 +0000)]
Remove unnecessary definition.
Guillermo J. Rozas [Wed, 27 Oct 1993 00:55:44 +0000 (00:55 +0000)]
Fix bug in sed pattern.
Chris Hanson [Tue, 26 Oct 1993 23:23:58 +0000 (23:23 +0000)]
Fix typo in last change.
Chris Hanson [Tue, 26 Oct 1993 23:19:26 +0000 (23:19 +0000)]
Fix stupid think-o.
Chris Hanson [Tue, 26 Oct 1993 23:15:31 +0000 (23:15 +0000)]
Implement M-x dired-clean-directory.
Guillermo J. Rozas [Tue, 26 Oct 1993 23:12:54 +0000 (23:12 +0000)]
Add -f flag to call to remove.
Guillermo J. Rozas [Tue, 26 Oct 1993 23:08:54 +0000 (23:08 +0000)]
Automate the edit of cf.h for the C back end.
Guillermo J. Rozas [Tue, 26 Oct 1993 23:08:20 +0000 (23:08 +0000)]
Fix bug introduced in the last edit, and automate the C back end edit.
Chris Hanson [Tue, 26 Oct 1993 22:48:47 +0000 (22:48 +0000)]
Implement SUBSTRING->NUMBER.
Chris Hanson [Tue, 26 Oct 1993 21:51:31 +0000 (21:51 +0000)]
Eliminate unused variable.
Chris Hanson [Tue, 26 Oct 1993 21:46:08 +0000 (21:46 +0000)]
Don't automatically delete a tags-search buffer unless that buffer
truly hasn't been modified. Previously, this was detected by checking
the MODIFIED? flag of the buffer, but that is cleared if the file is
written out. Now, it checks to see if any modifications have occurred
since the file was read in.
Chris Hanson [Tue, 26 Oct 1993 21:28:19 +0000 (21:28 +0000)]
Disallow renaming or copying a file to an existing file.
Chris Hanson [Tue, 26 Oct 1993 21:23:00 +0000 (21:23 +0000)]
* Killing debugger buffer no longer deletes the buffer's screen; that
happens only when M-x browser-quit is invoked, and the screen was
created for the debugger.
* Selection of a screen for a debugger buffer is now simpler. If
desired, a new screen is created (previously this was not an option
if there was already more than one screen). Otherwise, the current
screen is used. No other existing screen will ever be used.
* The X-windows-specific screen geometry stuff has been
conditionalized so that it will not be used unless running under X.
Chris Hanson [Tue, 26 Oct 1993 20:25:10 +0000 (20:25 +0000)]
Change debugger invocation to call the command M-x browse-continuation.
Guillermo J. Rozas [Tue, 26 Oct 1993 20:00:55 +0000 (20:00 +0000)]
Upcase types for consistency.
Guillermo J. Rozas [Tue, 26 Oct 1993 19:38:22 +0000 (19:38 +0000)]
Change needed to resurrect the C back end.
Chris Hanson [Tue, 26 Oct 1993 18:42:29 +0000 (18:42 +0000)]
Can't extract restart from condition, it's often not the right
restart.
Guillermo J. Rozas [Tue, 26 Oct 1993 17:27:06 +0000 (17:27 +0000)]
Fix casting problem in move-frame-up.
Guillermo J. Rozas [Tue, 26 Oct 1993 17:23:08 +0000 (17:23 +0000)]
Add ifdefs for COMPILE_FOR_DYNAMIC_LOADING
Guillermo J. Rozas [Tue, 26 Oct 1993 17:20:23 +0000 (17:20 +0000)]
Add comment to show how to override the back end.
Guillermo J. Rozas [Tue, 26 Oct 1993 17:19:05 +0000 (17:19 +0000)]
Add options -C-back-end and -native-back-end.
Jason Wilson [Tue, 26 Oct 1993 03:05:43 +0000 (03:05 +0000)]
These changes were to bring the C backend back to life.
Jason Wilson [Tue, 26 Oct 1993 03:02:40 +0000 (03:02 +0000)]
These changes were to bring the C backend back to life. The major
changes that were made was adding direct calls for floating point
operations as well as using the new rules for floating point vectors
(change in RTL syntax).
Guillermo J. Rozas [Tue, 26 Oct 1993 02:59:34 +0000 (02:59 +0000)]
Fix interpreter-environment-register? which had not been updated to
use the new rtl format.
Guillermo J. Rozas [Tue, 26 Oct 1993 02:58:01 +0000 (02:58 +0000)]
Rename declare_compiled_code to declare_compiled_code_block.
The name declare_compiled_code was already in use by the C back end.
Chris Hanson [Tue, 26 Oct 1993 01:12:23 +0000 (01:12 +0000)]
Fix crufty problem with highlighting -- indentation was highlighted
instead of text!
Chris Hanson [Tue, 26 Oct 1993 00:37:59 +0000 (00:37 +0000)]
Change RETURN-TO-COMMAND-LOOP to accept a condition as its sole
argument. The restart that it invokes is extracted from the
condition, not from the current restarts, and if it is an
ABORT-CURRENT-COMMAND condition, its input is processed.
Chris Hanson [Tue, 26 Oct 1993 00:31:19 +0000 (00:31 +0000)]
Earlier change I made was lost by careless edit -- put it back in.
Chris Hanson [Mon, 25 Oct 1993 21:35:08 +0000 (21:35 +0000)]
More changes all over the place. Remove the picture documentation to
a separate file and conditionalize its inclusion.
Chris Hanson [Mon, 25 Oct 1993 21:32:19 +0000 (21:32 +0000)]
Initial revision
Chris Hanson [Mon, 25 Oct 1993 19:57:19 +0000 (19:57 +0000)]
Bind notification-output-port to a null port that does not signal
errors.
Chris Hanson [Mon, 25 Oct 1993 19:06:50 +0000 (19:06 +0000)]
Reformatting to fit on page.
Chris Hanson [Mon, 25 Oct 1993 17:13:41 +0000 (17:13 +0000)]
Suppress loading messages -- these formerly were harmless because the
CMDL port soaked them up, now they signal errors.
Chris Hanson [Sat, 23 Oct 1993 03:01:17 +0000 (03:01 +0000)]
Numerous small changes.
Chris Hanson [Thu, 21 Oct 1993 15:04:31 +0000 (15:04 +0000)]
Fix typos.
Chris Hanson [Thu, 21 Oct 1993 14:52:45 +0000 (14:52 +0000)]
* New port operation WRITE-SELF is like PRINT-SELF except that it uses
STANDARD-UNPARSER-METHOD rather than UNPARSER/STANDARD-METHOD.
* Rewrite instances of PRINT-SELF using WRITE-SELF. Rewrite instances
of UNPARSER/STANDARD-METHOD using STANDARD-UNPARSER-METHOD.
Chris Hanson [Thu, 21 Oct 1993 13:57:33 +0000 (13:57 +0000)]
* Implement new procedure STANDARD-UNPARSER-METHOD. This has a
less-idiosyncratic interface than UNPARSER/STANDARD-METHOD. Uses of
the latter should be replaced with the former.
* Implement new procedure WITH-CURRENT-UNPARSER-STATE which calls its
second argument with the port from its first. The other components
of the state are fluid-bound so that they become the defaults for
calls to WRITE and DISPLAY.
* GUARANTEE-UNPARSER-STATE and GUARANTEE-UNPARSER-TABLE now take an
addition argument, the name of the procedure testing its argument.
Chris Hanson [Thu, 21 Oct 1993 12:25:15 +0000 (12:25 +0000)]
Remove ERROR-OUTPUT-PORT.
Chris Hanson [Thu, 21 Oct 1993 12:14:20 +0000 (12:14 +0000)]
Remove ERROR-OUTPUT-PORT.
Chris Hanson [Thu, 21 Oct 1993 11:57:46 +0000 (11:57 +0000)]
* Define new standard ports to replace nearly all instances of
NEAREST-CMDL/PORT. When a CMDL starts, it binds all of these ports
to the CMDL port; but they can each be rebound separately without
affecting the CMDL port.
(ERROR-OUTPUT-PORT) errors and warnings
(NOTIFICATION-OUTPUT-PORT) load messages, etc.
(TRACE-OUTPUT-PORT) output from TRACE
(INTERACTION-I/O-PORT) prompting
* Implement IGNORE-ERRORS procedure. Change WRITE-CONDITION-REPORT so
that it ignores errors that occur while writing the report, but only
if the condition being reported is an error condition.
* Implement GUARANTEE-I/O-PORT.
Chris Hanson [Thu, 21 Oct 1993 11:49:56 +0000 (11:49 +0000)]
* Define new standard ports to replace nearly all instances of
NEAREST-CMDL/PORT. When a CMDL starts, it binds all of these ports
to the CMDL port; but they can each be rebound separately without
affecting the CMDL port.
(ERROR-OUTPUT-PORT) errors and warnings
(NOTIFICATION-OUTPUT-PORT) load messages, etc.
(TRACE-OUTPUT-PORT) output from TRACE
(INTERACTION-I/O-PORT) prompting
* Implement IGNORE-ERRORS procedure. Change WRITE-CONDITION-REPORT so
that it ignores errors that occur while writing the report, but only
if the condition being reported is an error condition.
* Implement GUARANTEE-I/O-PORT.
Chris Hanson [Thu, 21 Oct 1993 04:59:00 +0000 (04:59 +0000)]
Change the evaluation commands to bind the default input port to a
dummy port that signals an error if it is read from.
Chris Hanson [Thu, 21 Oct 1993 04:58:12 +0000 (04:58 +0000)]
Instantiate the editor CMDL with a dummy I/O port that signals an
error if it is read from or written to. Define the CHILD-PORT
operation on that CMDL so that spawning a another CMDL under the
editor CMDL (e.g. by DEBUG-INTERNAL-ERRORS? being true) will cause the
child to use the port that was in effect when the editor was started.
Chris Hanson [Thu, 21 Oct 1993 04:55:23 +0000 (04:55 +0000)]
Since REPL/START now binds the current input and output ports, there's
no reason for them to be bound a second time here.
Chris Hanson [Thu, 21 Oct 1993 04:52:50 +0000 (04:52 +0000)]
Change MAKE-CMDL to allow the I/O port to be specified as #F, which
means to inherit from the parent. Change PUSH-CMDL to use this
specification. The parent can override this by defining a CHILD-PORT
operation.
Also change CMDL/START to bind the current input and output ports.
Chris Hanson [Wed, 20 Oct 1993 22:05:02 +0000 (22:05 +0000)]
Grumble; fix stupid thinko from last change.
Chris Hanson [Wed, 20 Oct 1993 21:48:27 +0000 (21:48 +0000)]
Grumble; fix stupid thinko from last change.
Chris Hanson [Wed, 20 Oct 1993 21:22:23 +0000 (21:22 +0000)]
Allow parent CMDL to override the port used for spawning children.
Guillermo J. Rozas [Wed, 20 Oct 1993 20:49:57 +0000 (20:49 +0000)]
Replace Constant_Top with Stack_Bottom in out-of-line code for
set-interrupt-enables.
Chris Hanson [Tue, 19 Oct 1993 23:46:58 +0000 (23:46 +0000)]
Various minor edits.
Chris Hanson [Tue, 19 Oct 1993 08:17:39 +0000 (08:17 +0000)]
Generalize interface to hash tables so that users can construct
efficient address-based hashing procedures.
Chris Hanson [Tue, 19 Oct 1993 08:06:33 +0000 (08:06 +0000)]
Document the address-hashing facilities for hash tables. Change the
documentation of the PROMPT-FOR-COMMAND- procedures to indicate that
they print the REP level number.
Chris Hanson [Tue, 19 Oct 1993 08:03:11 +0000 (08:03 +0000)]
Document the address-hashing facilities for hash tables. Change the
documentation of the PROMPT-FOR-COMMAND- procedures to indicate that
they print the REP level number.
Chris Hanson [Tue, 19 Oct 1993 07:16:30 +0000 (07:16 +0000)]
Generalize interface to hash tables so that users can construct
efficient address-based hashing procedures.
Chris Hanson [Mon, 18 Oct 1993 23:19:30 +0000 (23:19 +0000)]
Don't invoke variable assignment daemons if the editor is not running.
Chris Hanson [Mon, 18 Oct 1993 22:51:14 +0000 (22:51 +0000)]
Don't do STRING-TRIM on PROMPT-FOR-COMMAND- strings.
Chris Hanson [Sun, 17 Oct 1993 11:16:34 +0000 (11:16 +0000)]
Change Constant_Top to Stack_Bottom in set_interrupt_enables. This
was necessitated by recent changes to the microcode.
Guillermo J. Rozas [Sat, 16 Oct 1993 17:59:23 +0000 (17:59 +0000)]
Initial revision
Guillermo J. Rozas [Sat, 16 Oct 1993 17:57:43 +0000 (17:57 +0000)]
Add hasthb and rbtree options and remove base/{hashtb,rbtree}
Guillermo J. Rozas [Sat, 16 Oct 1993 17:56:21 +0000 (17:56 +0000)]
Add rbtree option.
Chris Hanson [Sat, 16 Oct 1993 12:17:49 +0000 (12:17 +0000)]
Fix fencepost bug.
Chris Hanson [Sat, 16 Oct 1993 11:07:21 +0000 (11:07 +0000)]
Fix typo in last change.
Chris Hanson [Sat, 16 Oct 1993 10:22:46 +0000 (10:22 +0000)]
Generate minibuffer message while automatically decompressing files.
Chris Hanson [Sat, 16 Oct 1993 10:11:21 +0000 (10:11 +0000)]
Change PROMPT-FOR-COMMAND-xxx port operations to take an additional
argument, which is a level number; (NEAREST-CMDL/LEVEL) is passed for
this argument.
Chris Hanson [Sat, 16 Oct 1993 08:48:11 +0000 (08:48 +0000)]
Document prompting procedures.
Chris Hanson [Sat, 16 Oct 1993 07:41:27 +0000 (07:41 +0000)]
Fix old typo.
Chris Hanson [Sat, 16 Oct 1993 07:34:43 +0000 (07:34 +0000)]
Prompting commands now do standard modifications to prompt strings
BEFORE passing them to custom operations; operations must compensate.
Chris Hanson [Sat, 16 Oct 1993 07:32:43 +0000 (07:32 +0000)]
Change prompting commands to do standard modifications to prompt
strings BEFORE passing them to custom operations.
Chris Hanson [Sat, 16 Oct 1993 06:33:09 +0000 (06:33 +0000)]
Restrict result of PROMPT-FOR-COMMAND-CHAR to be a graphic character.
Chris Hanson [Sat, 16 Oct 1993 06:02:08 +0000 (06:02 +0000)]
Perform prompting differently: always use the current CMDL level as
the level in the modeline, and recognize DEBUG and WHERE prompts as
needing suppression.
Chris Hanson [Sat, 16 Oct 1993 05:59:35 +0000 (05:59 +0000)]
Perform prompting differently: always send the current CMDL level as
part of the prompt, and allow a new form of prompt that prints stuff
in the Scheme buffer.
Chris Hanson [Sat, 16 Oct 1993 05:57:46 +0000 (05:57 +0000)]
Recognize patterned prompts that should print in the Scheme buffer.
Jason Wilson [Sat, 16 Oct 1993 05:31:51 +0000 (05:31 +0000)]
I examples for the list-transform-mumble functions.
Chris Hanson [Sat, 16 Oct 1993 04:56:45 +0000 (04:56 +0000)]
Fix typo.
Chris Hanson [Fri, 15 Oct 1993 23:50:20 +0000 (23:50 +0000)]
Clarify handling of run lights for inferior-REPL buffers. There is
now a "global" REPL buffer that is responsible for driving the
"global" run light. Run lights of individual REPL buffers are handled
separately.
Chris Hanson [Fri, 15 Oct 1993 12:50:15 +0000 (12:50 +0000)]
When evaluate-in-inferior-repl is true, distinguish between
evaluations done in inferior REPL buffers and evaluations done in
other buffers (and the minibuffer); change the latter so that the
value of the evaluation is printed in the minibuffer, just as it would
have been if evaluate-in-inferior-repl were false. Furthermore, if
there is no inferior REPL, M-x eval-expression now works anyway.
Chris Hanson [Fri, 15 Oct 1993 10:26:42 +0000 (10:26 +0000)]
* Breakpoints have been reimplemented to use the condition system. A
breakpoint is now a condition, and the continuation of that
condition is the continuation of the breakpoint. (The debugger
will not show the internal frames of the breakpoint any more.)
* The procedure BREAKPOINT now takes a condition as an additional
optional argument.
* The environment of a breakpoint may be specified as the symbol
CONTINUATION-ENVIRONMENT, in which case the breakpoint signaller
will attempt to extract an environment from the continuation. If
that fails, it uses the REPL environment, and prints a message
informing the user that it was unable to find an appropriate
environment for the breakpoint.
* CMDL/START has been modified to detect the situation where the
thread starting the CMDL is not the owner of its port. Previously
this check was done only for errors. As a result of this change,
CONDITION-TYPE:DERIVED-THREAD-ERROR has been generalized to accept
any kind of condition, not just error conditions.
* The WRITE-RESULT output-port operation has been redefined to accept
an additional argument: the expression that was evaluated to produce
the value being printed. This expression is useful if the
CURRENT-EXPRESSION-CONTEXT operation is implemented; it is the key
needed to get the context information. As a result of this change,
HOOK/REPL-WRITE was redefined to accept the same additional
argument.
* A new procedure CURRENT-LOAD-PATHNAME has been defined. When a file
is being loaded, this procedure returns that file's pathname. At
other times, it signals an error of type CONDITION-TYPE:NOT-LOADING.
LOAD/PUSH-HOOK! has been changed to signal this error in the same
situation, rather than the anonymous error it signalled before.
Chris Hanson [Fri, 15 Oct 1993 10:01:09 +0000 (10:01 +0000)]
Handle eval-boundary frame when it is the first subproblem in the
continuation being debugged.
Chris Hanson [Fri, 15 Oct 1993 05:35:22 +0000 (05:35 +0000)]
Change special treatment of evaluate-in-inferior-repl and run-light
editor variables. These variables are now given buffer-local values
to disable the use of an inferior repl when either scheme-environment
or scheme-syntax-table is given a local binding that overrides the
default. Also, these automatic bindings are only performed if the
variables do not already have buffer-local bindings.
Chris Hanson [Fri, 15 Oct 1993 02:09:17 +0000 (02:09 +0000)]
* Editor variables can now define a procedure that will "normalize"
their values. The DEFINE-VARIABLE has been extended to allow the
specification of this normalization procedure to follow the
specification of a validity test.
* New procedure VARIABLE-LOCAL-VALUE? is true iff the given variable
is locally bound in the given buffer.
* Procedure VARIABLE-VALUE-VALID? has been eliminated.
Guillermo J. Rozas [Fri, 15 Oct 1993 00:13:50 +0000 (00:13 +0000)]
Fix broken #endif.
Chris Hanson [Thu, 14 Oct 1993 22:43:35 +0000 (22:43 +0000)]
* Editor variables can now define a procedure that will "normalize"
their values. The DEFINE-VARIABLE has been extended to allow the
specification of this normalization procedure to follow the
specification of a validity test.
* New procedure VARIABLE-LOCAL-VALUE? is true iff the given variable
is locally bound in the given buffer.
* Procedure VARIABLE-VALUE-VALID? has been eliminated.
Chris Hanson [Thu, 14 Oct 1993 22:42:46 +0000 (22:42 +0000)]
Eliminate random local variable bindings at file's end.