Chris Hanson [Tue, 25 Apr 1989 02:02:59 +0000 (02:02 +0000)]
`os/make-dired-line' can now return #F if it is unable to get the
file's attributes. Do something reasonable when that happens.
Rewrite the code that generates the buffer contents to improve
performance.
Chris Hanson [Tue, 25 Apr 1989 02:00:36 +0000 (02:00 +0000)]
Changes because `xterm-read-chars' can now return an integer, which
means that there were no characters, some other kind of event was
received, and the timeout hasn't yet finished. When this occurs,
process the events and finish waiting the appropriate amount of time.
Chris Hanson [Tue, 25 Apr 1989 01:58:05 +0000 (01:58 +0000)]
Call `keyboard-active?' in the `flush-output' operation, to allow the
screen to process input events periodically. This isn't the "right
thing", but it will help.
Chris Hanson [Tue, 25 Apr 1989 01:04:43 +0000 (01:04 +0000)]
Fix stupid bug in `file-writable?'.
Chris Hanson [Tue, 25 Apr 1989 00:12:21 +0000 (00:12 +0000)]
*** empty log message ***
Chris Hanson [Mon, 24 Apr 1989 23:45:23 +0000 (23:45 +0000)]
Don't call `pathname->input-truename' for primitives that are going to
do file probes themselves. Just canonicalize the filename and pass it
in.
Chris Hanson [Sun, 23 Apr 1989 23:32:45 +0000 (23:32 +0000)]
*** empty log message ***
Chris Hanson [Sun, 23 Apr 1989 23:31:56 +0000 (23:31 +0000)]
Fix error in definition of `unix/current-file-time'.
Chris Hanson [Sun, 23 Apr 1989 23:30:47 +0000 (23:30 +0000)]
Rewrite mark comparisons for increased speed. Redesign permanent mark
handling to permit reuse of previously recorded permanent marks.
Rewrite permanent mark list scanning to increase speed.
Chris Hanson [Sun, 23 Apr 1989 23:28:48 +0000 (23:28 +0000)]
Fix bug in `y-or-n?'.
Chris Hanson [Sun, 23 Apr 1989 23:28:10 +0000 (23:28 +0000)]
Update some documentation strings.
Chris Hanson [Sun, 23 Apr 1989 23:26:47 +0000 (23:26 +0000)]
Change usage of `mark-permanent!'.
Chris Hanson [Sun, 23 Apr 1989 23:24:49 +0000 (23:24 +0000)]
In `repeat-complex-command', range check the argument correctly.
Chris Hanson [Sun, 23 Apr 1989 23:23:59 +0000 (23:23 +0000)]
Handle #\return character correctly in incremental search.
Chris Hanson [Sun, 23 Apr 1989 23:23:00 +0000 (23:23 +0000)]
Change interaction mode to be more like scheme-interaction mode in
Emacs.
Chris Hanson [Sun, 23 Apr 1989 23:22:28 +0000 (23:22 +0000)]
Change name `%set-mark-position!' to `set-mark-position!'.
Chris Hanson [Sun, 23 Apr 1989 23:19:56 +0000 (23:19 +0000)]
Change definition of `guarantee-mark' to make it more like other
`guarantee-FOO' procedures in the runtime system.
Chris Hanson [Sun, 23 Apr 1989 23:19:11 +0000 (23:19 +0000)]
Add argument to `dispatch-on-command' to force recording of command in
command-history.
Chris Hanson [Sun, 23 Apr 1989 23:18:36 +0000 (23:18 +0000)]
Rewrite changes and clip daemons to reduce consing and runtime.
Chris Hanson [Sun, 23 Apr 1989 23:17:38 +0000 (23:17 +0000)]
Change `%window-y-center' to restrict its result to the proper range.
Chris Hanson [Sun, 23 Apr 1989 23:16:54 +0000 (23:16 +0000)]
Add argument to `dispatch-on-command' to force recording of command in
command-history. Also change use of `mark-permanent!'.
Chris Hanson [Sun, 23 Apr 1989 23:15:27 +0000 (23:15 +0000)]
Enable `delete-auto-save-files' by default. Update names and
documentation of variables.
Chris Hanson [Fri, 21 Apr 1989 19:25:50 +0000 (19:25 +0000)]
Export new procedures `weak-list->list' and `list->weak-list'.
Chris Hanson [Fri, 21 Apr 1989 19:25:06 +0000 (19:25 +0000)]
Return unspecific value for weak-pair side-effects. Write new
procedures `weak-list->list' and `list->weak-list'.
Mark Friedman [Fri, 21 Apr 1989 18:54:53 +0000 (18:54 +0000)]
Support for passing arguments in registers.
Mark Friedman [Fri, 21 Apr 1989 17:22:51 +0000 (17:22 +0000)]
Support for passing arguments in registers.
Mark Friedman [Fri, 21 Apr 1989 17:14:14 +0000 (17:14 +0000)]
Support for passing arguments in registers.
Mark Friedman [Fri, 21 Apr 1989 16:58:46 +0000 (16:58 +0000)]
Support for passing arguments in registers.
Mark Friedman [Fri, 21 Apr 1989 16:32:10 +0000 (16:32 +0000)]
Support for passing arguments to procedures in registers.
Mark Friedman [Fri, 21 Apr 1989 16:23:27 +0000 (16:23 +0000)]
Initial revision
Mark Friedman [Fri, 21 Apr 1989 15:20:37 +0000 (15:20 +0000)]
New version of compiler which includes support for passing arguments
to procedures in registers.
Chris Hanson [Thu, 20 Apr 1989 08:24:21 +0000 (08:24 +0000)]
*** empty log message ***
Chris Hanson [Thu, 20 Apr 1989 08:24:09 +0000 (08:24 +0000)]
Make sure that "make" is resyntaxed.
Chris Hanson [Thu, 20 Apr 1989 08:19:38 +0000 (08:19 +0000)]
Add new operations `os/file-directory?', `os/make-filename', and
`os/filename-as-directory'. These operations replicate the action of
existing operations, but they allow the performance of filename
completion to be improved significantly over what could previously be
achieved.
Add new operation `os/completion-ignored-extensions' which is used to
initialize the variable of that name.
Change `os/directory-list-completions' to special case the null-string
prefix for added performance.
Chris Hanson [Thu, 20 Apr 1989 08:16:53 +0000 (08:16 +0000)]
Add indentation methods for `there-exists?' and `for-all?'.
Chris Hanson [Thu, 20 Apr 1989 08:16:22 +0000 (08:16 +0000)]
Don't sort the strings returned by the `list-completions' operation.
That operation is now responsible for determining the order. This
allows customization of the sorting.
Chris Hanson [Thu, 20 Apr 1989 08:14:57 +0000 (08:14 +0000)]
Implement `completion-ignored-extensions'. When directories appear in
a completion list, display them with trailing slashes.
Chris Hanson [Thu, 20 Apr 1989 08:12:57 +0000 (08:12 +0000)]
Trivial rewriting of some code.
Chris Hanson [Thu, 20 Apr 1989 08:12:12 +0000 (08:12 +0000)]
Treat ALL ascii control characters specially when deciding whether or
not to exit incremental search. "Wrapped" should not appear when the
search direction is reversed.
Chris Hanson [Thu, 20 Apr 1989 04:33:52 +0000 (04:33 +0000)]
Fix bug: C range checks don't work the way I foolishly thought they
did, but because C makes no distinction between booleans and integers,
there was no error message to indicate that I was doing something
wrong.
Chris Hanson [Thu, 20 Apr 1989 01:28:01 +0000 (01:28 +0000)]
Don't simplify the directory "./" to the null string.
Arthur Gleckler [Wed, 19 Apr 1989 02:30:24 +0000 (02:30 +0000)]
Make floating-point spill area.
Chris Hanson [Tue, 18 Apr 1989 17:00:33 +0000 (17:00 +0000)]
Improve script so that it will work from bare sources.
Chris Hanson [Tue, 18 Apr 1989 16:35:09 +0000 (16:35 +0000)]
Change `get-primitive-name' to return a string instead of a symbol.
This concentrates knowledge of symbols' internal case in the runtime
system.
Chris Hanson [Tue, 18 Apr 1989 16:32:34 +0000 (16:32 +0000)]
Eliminate use of `make-named-tag', which has been flushed from the
runtime system.
Chris Hanson [Tue, 18 Apr 1989 16:30:11 +0000 (16:30 +0000)]
Update runtime system to use lower case as the canonical case for
interned symbols.
Chris Hanson [Tue, 18 Apr 1989 05:06:06 +0000 (05:06 +0000)]
It's OK to assume that the GC header of an object passed to
`vector-length' contains a zero type code.
Chris Hanson [Tue, 18 Apr 1989 04:19:20 +0000 (04:19 +0000)]
Update copyright date.
Chris Hanson [Tue, 18 Apr 1989 04:14:55 +0000 (04:14 +0000)]
*** empty log message ***
Chris Hanson [Tue, 18 Apr 1989 04:09:26 +0000 (04:09 +0000)]
Change `get-primitive-name' to return a string instead of a symbol.
This concentrates knowledge of symbols' internal case in the runtime
system.
Chris Hanson [Mon, 17 Apr 1989 22:29:56 +0000 (22:29 +0000)]
Eliminate references to `string->symbol'.
Chris Hanson [Mon, 17 Apr 1989 22:27:11 +0000 (22:27 +0000)]
Don't need special structure tag for `syntax-table' any more -- normal
tag will do.
Chris Hanson [Mon, 17 Apr 1989 18:42:36 +0000 (18:42 +0000)]
Fix typo.
Chris Hanson [Mon, 17 Apr 1989 17:07:42 +0000 (17:07 +0000)]
Repackage the operator-analysis code.
Chris Hanson [Mon, 17 Apr 1989 17:07:19 +0000 (17:07 +0000)]
Now that continuations have their `continuation/combinations' field
correctly initialized, there is no need to do it here. Additionally,
repackage this code.
Chris Hanson [Mon, 17 Apr 1989 17:06:04 +0000 (17:06 +0000)]
Make the `continuation/combinations' field of a procedure be
initialized properly at creation.
Chris Hanson [Mon, 17 Apr 1989 17:05:19 +0000 (17:05 +0000)]
Fix typo in `combination/constant!'. Also add some code to make the
result more consistent.
Chris Hanson [Sat, 15 Apr 1989 19:49:52 +0000 (19:49 +0000)]
Eliminate case sensitivities in the primitive lookup mechanism.
Chris Hanson [Sat, 15 Apr 1989 19:04:30 +0000 (19:04 +0000)]
Eliminate case sensitivities in the primitive lookup mechanism.
Chris Hanson [Sat, 15 Apr 1989 18:06:55 +0000 (18:06 +0000)]
Rewrite all case-sensitive symbol operations to be case-insensitive.
Chris Hanson [Sat, 15 Apr 1989 01:27:00 +0000 (01:27 +0000)]
Fix bug in lookup of integrated stack-allocated compiled-code
variables.
Chris Hanson [Sat, 15 Apr 1989 01:25:07 +0000 (01:25 +0000)]
*** empty log message ***
Chris Hanson [Sat, 15 Apr 1989 01:24:38 +0000 (01:24 +0000)]
Export new procedure `%make-combination' to the debugging-info
package.
Chris Hanson [Sat, 15 Apr 1989 01:24:10 +0000 (01:24 +0000)]
Use new procedure `%make-combination' to construct the combinations
being returned. This is needed because one of those combinations
might have failed because of a bad operand, and `make-combination'
might try to constant fold the combination. The new procedure doesn't
try to perform any constant folding.
Chris Hanson [Sat, 15 Apr 1989 01:22:51 +0000 (01:22 +0000)]
Create procedure `%make-combination' that does not attempt to constant
fold the combination before constructing it.
Chris Hanson [Sat, 15 Apr 1989 01:22:03 +0000 (01:22 +0000)]
Change `symbol->string' so that it returns a lower-case string for
normal interned symbols.
Chris Hanson [Sat, 15 Apr 1989 01:16:36 +0000 (01:16 +0000)]
Fix typo in `scan-sexps-forward'.
Chris Hanson [Sat, 15 Apr 1989 01:15:37 +0000 (01:15 +0000)]
Many changes for GNU Emacs compatibility:
Change names of all commands, variables and modes; the new names are
symbols. All command names match those of Emacs; many variable names
also match.
Redesign command invocation code: new design uses `interactive'
specification nearly identical to that of Emacs. This permits
implementation of [repeat-complex-command]. The redesign necessitated
reworking some of the command prompting to make it fit the model.
Completion has been redesigned to work just like Emacs. The
performance of filename completion has been significantly improved.
Tags table stuff has been changed to be more like Emacs.
The performance of incremental search has been improved. Incremental
regexp search is now implemented.
The `recenter' command now clears the screen and redraws it if there
is no argument.
Scheme mode indentation is now like that in Emacs.
Keyboard interrupts are disabled while reading most characters.
[find-file] will call Dired if the argument is a directory.
The "Reading file ..." message is suppressed. Set the variable
`read-file-message' to true if you want it as it used to be.
The "override-message" (which is used to display messages and errors
in the typein window) now moves the typein window's cursor to the end
of the message. This results in the cursor moving to the end of the
message when an override-message overlays a typein in progress.
The prompting for [query-replace] and associated commands has been
changed to resemble Emacs'.
Chris Hanson [Sat, 15 Apr 1989 00:54:03 +0000 (00:54 +0000)]
Many changes for GNU Emacs compatibility:
Change names of all commands, variables and modes; the new names are
symbols. All command names match those of Emacs; many variable names
also match.
Redesign command invocation code: new design uses `interactive'
specification nearly identical to that of Emacs. This permits
implementation of [repeat-complex-command]. The redesign necessitated
reworking some of the command prompting to make it fit the model.
Completion has been redesigned to work just like Emacs. The
performance of filename completion has been significantly improved.
Tags table stuff has been changed to be more like Emacs.
The performance of incremental search has been improved. Incremental
regexp search is now implemented.
The `recenter' command now clears the screen and redraws it if there
is no argument.
Scheme mode indentation is now like that in Emacs.
Keyboard interrupts are disabled while reading most characters.
[find-file] will call Dired if the argument is a directory.
The "Reading file ..." message is suppressed. Set the variable
`read-file-message' to true if you want it as it used to be.
The "override-message" (which is used to display messages and errors
in the typein window) now moves the typein window's cursor to the end
of the message. This results in the cursor moving to the end of the
message when an override-message overlays a typein in progress.
The prompting for [query-replace] and associated commands has been
changed to resemble Emacs'.
Chris Hanson [Sat, 15 Apr 1989 00:15:52 +0000 (00:15 +0000)]
Fix typo in `scan-sexps-forward'.
Chris Hanson [Wed, 5 Apr 1989 18:24:00 +0000 (18:24 +0000)]
*** empty log message ***
Chris Hanson [Wed, 5 Apr 1989 18:23:37 +0000 (18:23 +0000)]
Modify `char-controlify' and `char-control-metafy' to use new
procedure `ascii-controlified?' when determining whether or not to set
the control bit in the result.
Chris Hanson [Wed, 5 Apr 1989 18:22:38 +0000 (18:22 +0000)]
Update to reflect changes in `find-file-noselect'.
Chris Hanson [Wed, 5 Apr 1989 18:21:57 +0000 (18:21 +0000)]
Update pathnames to reflect current installation. Add new pathname
for tutorial file.
Chris Hanson [Wed, 5 Apr 1989 18:21:08 +0000 (18:21 +0000)]
Rewrite handling of tutorial so that the file pathnames are correct.
Chris Hanson [Wed, 5 Apr 1989 18:19:54 +0000 (18:19 +0000)]
Change `find-file', `read-buffer', and related procedures to separate
out certain functionality in new procedure `after-find-file'. This
new procedure sets the read-only bit, puts up any special messages
regarding the read/write status of the file, and does mode
initialization. In addition, `find-file' now catches file errors and
recovers from them in a reasonably graceful way.
Chris Hanson [Wed, 5 Apr 1989 18:15:52 +0000 (18:15 +0000)]
Create procedure `ascii-controlified?' which is true of characters
which are ASCII control characters (not counting things like RET, LFD,
TAB, etc.).
Chris Hanson [Wed, 5 Apr 1989 18:14:26 +0000 (18:14 +0000)]
In direct-update, must wrap the redrawing code with
`with-screen-in-update!' so that the screen gets flushed correctly.
Chris Hanson [Wed, 5 Apr 1989 18:11:32 +0000 (18:11 +0000)]
Change `load-edwin-file' to default the directory of the input
pathname to the library directory.
Chris Hanson [Wed, 5 Apr 1989 17:12:45 +0000 (17:12 +0000)]
Remove filter queuing mechanism. Rewrite filter state machine to be
iterative instead of tail-recursive. Move all C-c commands to control
characters.
Chris Hanson [Wed, 5 Apr 1989 05:46:52 +0000 (05:46 +0000)]
Make file-system errors have a common generalization.
Chris Hanson [Wed, 5 Apr 1989 04:30:25 +0000 (04:30 +0000)]
Random typo in previous change.
Chris Hanson [Wed, 5 Apr 1989 04:29:03 +0000 (04:29 +0000)]
Organize handling of file system errors so that they share a common
generalization type.
Chris Hanson [Wed, 5 Apr 1989 04:27:38 +0000 (04:27 +0000)]
Use proper error-type to signal open file error.
Chris Hanson [Wed, 5 Apr 1989 04:26:29 +0000 (04:26 +0000)]
Initial revision
Chris Hanson [Wed, 5 Apr 1989 04:25:52 +0000 (04:25 +0000)]
Move unix primitives elsewhere.
Chris Hanson [Wed, 5 Apr 1989 04:25:25 +0000 (04:25 +0000)]
Can't use `po' in the runtime system -- it is strictly a part of the
compiler. Use `pp' instead.
Chris Hanson [Mon, 3 Apr 1989 22:03:55 +0000 (22:03 +0000)]
When a procedure appears in the operator position, the free variables
of all of its callees, as well as itself, must be collected.
Guillermo J. Rozas [Thu, 30 Mar 1989 16:40:21 +0000 (16:40 +0000)]
1) Add support for ordinary terminals by using the curses library.
2) Eliminate some interrupt windows in direct output.
3) Add operations to the screen data structure to accomodate curses.
4) Add a new structure, a display, which consists of a keyboard and a screen.
5) Conditions not trapped by edwin now revert to the user in a
reasonable way, ie. the terminal should be in the same state that it
was before edwin was entered.
6) Reentering edwin after an unhandled condition updates the display.
7) The interaction buffer prompt is now inserted in the "exit" thunk
of the dynamic unwind, so that an abort will insert it as well.
8) Fix wrong number of args bug in ^R Screen Video.
Panayotis Skordos [Wed, 29 Mar 1989 04:34:06 +0000 (04:34 +0000)]
array-cons-reals: use double precision as much as possible
Guillermo J. Rozas [Wed, 29 Mar 1989 04:14:08 +0000 (04:14 +0000)]
Fix a trivial bug in the open coding of SYSTEM-VECTOR-SIZE and
VECTOR-LENGTH. The header's type code field must be cleared before
or'ing in the new type.
Guillermo J. Rozas [Wed, 29 Mar 1989 02:45:50 +0000 (02:45 +0000)]
Add support for trap recovery:
- New condition types for hardware traps have been added.
- The stack parser knows how to parse (heuristically) the trap
recovery information.
- The debugger prints a description of the context of the trap.
- hardware-trap-frame/print-registers and
hardware-trap-frame/print-stack can be used on stack-frames of type
hardware-trap to display more information.
- The debugger's Y command (new) prints the stack frame structure
corresponding to the current subproblem.
Arthur Gleckler [Tue, 28 Mar 1989 20:41:57 +0000 (20:41 +0000)]
Deleted second copy of copyright message.
Guillermo J. Rozas [Tue, 28 Mar 1989 20:39:19 +0000 (20:39 +0000)]
Registers[REGBLOCK_PRIMITIVE] is now cleared when a primitive aborts
with a non-error/interrupt code.
Guillermo J. Rozas [Mon, 27 Mar 1989 23:17:29 +0000 (23:17 +0000)]
Trap recovery has been changed. The microcode attempts to determine
how much state is valid and then saves all the pertinent information
(pc, registers, etc) so that the context of the trap and the rest of
the stack can be examined from scheme.
Primitives for reading/setting/enabling the keyboard interrupt
characters have been added. There is now a single C keyboard
interrupt handler which dispatches according to the signal received
and what the current handler is supposed to do.
Scheme tty input has been rewritten for the NTH time. reader_context
and reader_state structures have been merged.
Guillermo J. Rozas [Thu, 23 Mar 1989 20:43:59 +0000 (20:43 +0000)]
Add optional filename argument to read-microcode-tables! to specify
a users own filename from scheme.
Chris Hanson [Wed, 15 Mar 1989 19:17:06 +0000 (19:17 +0000)]
*** empty log message ***
Chris Hanson [Wed, 15 Mar 1989 19:15:20 +0000 (19:15 +0000)]
Changes to make Dired work better.
Chris Hanson [Wed, 15 Mar 1989 19:14:38 +0000 (19:14 +0000)]
Changes to make this work with Emacs' tags tables.
Chris Hanson [Wed, 15 Mar 1989 19:14:13 +0000 (19:14 +0000)]
Change `read-buffer' to correctly update the read-only flag. Also fix
some bugs which might have occurred if the truename was #F.