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.
Chris Hanson [Wed, 15 Mar 1989 19:13:05 +0000 (19:13 +0000)]
Change `current-default-pathname' and `pathname->buffer-name' to
support dired better. Add new operation `prompt-for-directory' to
help out as well.
Chris Hanson [Wed, 15 Mar 1989 19:11:35 +0000 (19:11 +0000)]
When evaluation errors occur, pop up buffer with error message in it.
Chris Hanson [Wed, 15 Mar 1989 19:10:42 +0000 (19:10 +0000)]
*** empty log message ***
Chris Hanson [Wed, 15 Mar 1989 19:10:20 +0000 (19:10 +0000)]
A number of changes to accomodate the unix environment.
Chris Hanson [Wed, 15 Mar 1989 19:09:51 +0000 (19:09 +0000)]
Remove `writeable?' flag; define writability in terms of
`group-read-only?'.
Chris Hanson [Wed, 15 Mar 1989 19:08:39 +0000 (19:08 +0000)]
Don't echo fasloads to REPL when loading libraries.
Chris Hanson [Wed, 15 Mar 1989 04:42:06 +0000 (04:42 +0000)]
*** empty log message ***
Chris Hanson [Tue, 14 Mar 1989 19:49:07 +0000 (19:49 +0000)]
Changes to repackage the environment optimizer.
Chris Hanson [Tue, 14 Mar 1989 19:45:15 +0000 (19:45 +0000)]
`undrift-procedure!' must set the block-parent of the procedure's
block to match the new closing-limit. Also: change the handling of
the closing-limit to guarantee that it is always either the same as
the closing-block, or #F; reorganize the code a bit.
Chris Hanson [Tue, 14 Mar 1989 19:42:25 +0000 (19:42 +0000)]
Rule which prevents lifting procedures of some "LET-like" procedures
is too general. Should not prevent trivial closures from being lifted
as far as they can.
Chris Hanson [Tue, 14 Mar 1989 19:38:55 +0000 (19:38 +0000)]
Can't pass a context to `make-return', because it expects a block.
This is because this procedure is usually called from fggen, and the
contexts are constructed later. Change this code to pass the block
and then clobber it.
Chris Hanson [Tue, 14 Mar 1989 19:35:30 +0000 (19:35 +0000)]
The `block/procedure' of a block is not always a procedure (it might
be an expression). Sometimes must check it to make sure.
Chris Hanson [Tue, 14 Mar 1989 09:33:13 +0000 (09:33 +0000)]
Export `condition/message' for use in error-reporting handlers.
Chris Hanson [Tue, 14 Mar 1989 08:18:39 +0000 (08:18 +0000)]
Fix another trivial bug.
Chris Hanson [Tue, 14 Mar 1989 08:12:21 +0000 (08:12 +0000)]
Initial revision
Chris Hanson [Tue, 14 Mar 1989 08:04:03 +0000 (08:04 +0000)]
Initial working version for C-Scheme.
Chris Hanson [Tue, 14 Mar 1989 02:23:10 +0000 (02:23 +0000)]
Don't use vector-ref on result of file-attributes.
Chris Hanson [Tue, 14 Mar 1989 02:18:42 +0000 (02:18 +0000)]
*** empty log message ***
Chris Hanson [Tue, 14 Mar 1989 02:18:01 +0000 (02:18 +0000)]
Change `delete-file' to return #F if the file does not exist, instead
of signalling an error.
Chris Hanson [Tue, 14 Mar 1989 02:17:20 +0000 (02:17 +0000)]
Add new operations to support Edwin:
file-modes
set-file-modes!
unix/file-access
file-writable?
unix/current-uid
unix/current-gid
Chris Hanson [Tue, 14 Mar 1989 02:16:13 +0000 (02:16 +0000)]
Change `identify-world' to accept an output port as its optional
argument, rather than a cmdl.
Chris Hanson [Tue, 14 Mar 1989 01:59:28 +0000 (01:59 +0000)]
Various changes to support Edwin.
Chris Hanson [Tue, 14 Mar 1989 01:59:01 +0000 (01:59 +0000)]
Implement new primitives to support Edwin:
file-modes
set-file-modes!
file-access
current-uid
current-gid
Chris Hanson [Tue, 14 Mar 1989 01:57:33 +0000 (01:57 +0000)]
Initial revision
Chris Hanson [Tue, 14 Mar 1989 01:57:10 +0000 (01:57 +0000)]
Fix some random typos.
Chris Hanson [Fri, 10 Mar 1989 08:05:25 +0000 (08:05 +0000)]
Add rule for
(ASSIGN (BYTE-OFFSET (REGISTER (? address)) (? offset))
(REGISTER (? source)))
Chris Hanson [Tue, 7 Mar 1989 01:23:35 +0000 (01:23 +0000)]
*** empty log message ***
Chris Hanson [Tue, 7 Mar 1989 01:23:04 +0000 (01:23 +0000)]
Add handlers for other errors that can be signalled by
`environment-link-name'.
Chris Hanson [Tue, 7 Mar 1989 01:21:30 +0000 (01:21 +0000)]
Add `weak-memq'. Make compound car/cdr operations type-safe.
Chris Hanson [Mon, 6 Mar 1989 20:00:30 +0000 (20:00 +0000)]
Export new operations to global environment.
Chris Hanson [Mon, 6 Mar 1989 19:59:42 +0000 (19:59 +0000)]
Add new operations `with-cmdl/{in,out}put-port'.
Chris Hanson [Mon, 6 Mar 1989 19:59:05 +0000 (19:59 +0000)]
Add new operation `object-component-binder'.
Chris Hanson [Mon, 6 Mar 1989 19:58:24 +0000 (19:58 +0000)]
Add new operation `set-current-output-port!'.