Chris Hanson [Sun, 13 Nov 1994 23:47:37 +0000 (23:47 +0000)]
Expand channel_type table to include OS/2 channel types. Rename
unix-specific channel types (defining old names as aliases).
Stephen Adams [Sat, 12 Nov 1994 23:05:38 +0000 (23:05 +0000)]
Attended to bugs in copying DEFINITIONS and SEQUENCEs.
Stephen Adams [Sun, 6 Nov 1994 18:36:57 +0000 (18:36 +0000)]
Corrected a primitive's arity.
Stephen Adams [Sun, 6 Nov 1994 18:13:23 +0000 (18:13 +0000)]
Added DESCRIPTOR->DEVICE argument to OPERATION/OPEN.
Graphics windows are now GC-ed and deleted before exit.
Stephen Adams [Sun, 6 Nov 1994 18:06:46 +0000 (18:06 +0000)]
*** empty log message ***
Stephen Adams [Sun, 6 Nov 1994 18:06:33 +0000 (18:06 +0000)]
OPERATION/OPEN now takes an mandatory argument DESCRIPTOR->DEVICE
which converts a descriptor into a user level GRAPHICS-DEVICE.
This allows a graphics device implementation access to the user level
GRAPHICS-DEVICE object at initialization time, which may be used in in
protection lists etc (as is done in the win32 implementation).
Chris Hanson [Fri, 4 Nov 1994 20:06:41 +0000 (20:06 +0000)]
Change printed representation of undefined values.
Chris Hanson [Fri, 4 Nov 1994 20:06:03 +0000 (20:06 +0000)]
Change ";No value" to ";No useful value" per discussion with Meyer.
Stephen Adams [Thu, 3 Nov 1994 05:03:53 +0000 (05:03 +0000)]
Fixed edwin.ldr. Some files were loaded twice.
Changed the selection of a default display type.
If a display type is requested but is not available then an error is
generated (the code used not to check).
There is no longer a preference for the display type 'CONSOLE, so the
list of defined types is always searched. The initialization sequence
in edwin.ldr is tterm before (xterm or win32), which puts the
graphical display types ahead of the console in the display types
list, and this places them at a higher desirability.
Doing this revealed that the win32 availablility predicate was
implemented incorrectly.
Stephen Adams [Thu, 3 Nov 1994 04:41:31 +0000 (04:41 +0000)]
Fixed edwin.ldr. Some files were loaded twice.
Changed the selection of a default display type.
If a display type is requested but is not available then an error is
generated (the code used not to check).
There is no longer a preference for the display type 'CONSOLE, so the
list of defined types is always searched. The initialization sequence
in edwin.ldr is tterm before (xterm or win32), which puts the
graphical display types ahead of the console in the display types
list, and this places them at a higher desirability.
Doing this revealed that the win32 availablility predicate was
implemented incorrectly.
Stephen Adams [Thu, 3 Nov 1994 04:25:45 +0000 (04:25 +0000)]
Fixes to allow bios and the new tterm to work together.
Stephen Adams [Wed, 2 Nov 1994 20:45:19 +0000 (20:45 +0000)]
New Win32 API procedures: GET-FOCUS, SET-ACTIVE-WINDOW and SHOW-WINDOW.
Stephen Adams [Wed, 2 Nov 1994 20:42:24 +0000 (20:42 +0000)]
Turned on optimization for worthwhile files:
gcloop.c: test gc improved from 1.71s to 0.84s.
fasload.c: fasloading large files is 20% faster.
(Of course, debugging problems in these areas will be hell, unless
they optimizations are (trivially) turned back off).
Stephen Adams [Wed, 2 Nov 1994 20:35:27 +0000 (20:35 +0000)]
Rationalized or removed screen primitives to support the impoved Edwin
Win32 Screen.
Stephen Adams [Wed, 2 Nov 1994 20:30:53 +0000 (20:30 +0000)]
Add Coffee Icon.
Update copyright date.
Stephen Adams [Wed, 2 Nov 1994 20:27:05 +0000 (20:27 +0000)]
Changes mainly to support the impoved Edwin Win32 Screen.
. Eliminated WM_ERASEBKGND. Changed WM_PAINT to paint in the pixels
near the edge that WM_ERASEBKGND. This change is more efficient
and avoids flicker on resizing.
. One icon per screen rather than one for all screens.
. Key and mouse messages are not converted into input events when
window is iconic
. Added a focus-tracking device for use by Edwin. Re-worked Focus
and Caret code to get it right.
. Window text color defaults to the system default rather than black.
. New mode SCREEN_MODE_VK_KEYS controls whether arrow key events are
sent as special keys or emacs-ascii (^P for up etc).
. Minimum screen size is 3 rows of 5 columns, pending rework of edwin
to advise screen sizes
Stephen Adams [Wed, 2 Nov 1994 20:08:04 +0000 (20:08 +0000)]
Initial revision
Stephen Adams [Wed, 2 Nov 1994 20:07:18 +0000 (20:07 +0000)]
Tidying.
Stephen Adams [Wed, 2 Nov 1994 19:40:18 +0000 (19:40 +0000)]
Changes for the new Win32 screen driver (which somehow got omitted
last time), plus changes for the improvements.
Stephen Adams [Wed, 2 Nov 1994 19:36:59 +0000 (19:36 +0000)]
DEBUGGER-START-NEW-SCREEN? is now default true for all systems.
(This does the right thing for consoles, Xterms and Win32 screens.)
Stephen Adams [Wed, 2 Nov 1994 19:32:20 +0000 (19:32 +0000)]
New command:
SET-ICON sets the current screen's icon picture.
New variables:
SCREEN-NAME-FORMAT
SCREEN-NAME-LENGTH
These are like the X-* version, but no icons names as Windows does not
make X's distinction between window and icon names. Default values
are same as for X.
Stephen Adams [Wed, 2 Nov 1994 19:16:53 +0000 (19:16 +0000)]
Improvements to the Win32 screen driver
. Rationalized names and the interface to some primitives.
. Added screen name feature (like X version)
. Ensured that windows are closed before exit / disk-restore.
. Fixed bug in screen resize (you *have* to guard against resizing to
the same size otherwise the rest of the system allocates new
matrixes and then decides to optimize the screen reorganization,
leading to random stuff being copied from the uninitialized
matrixes to the screen).
. The Close Window menu item now closes the window if there are more
than one, otherwise it behaves like ^X ^C
. Debugged multiple screens. Added a whole load of black magick for
keeping Edwin's idea of the selected-screen in synch with the
Windows screen with the input focus.
. There is no need to hide the cursor (Caret) during redisplay as
windows does this anyway, and manually hiding it causes visible
caret flicker.
Stephen Adams [Wed, 2 Nov 1994 02:20:20 +0000 (02:20 +0000)]
Changing WITHOUT-INTERRUPTS to WITH-EDITOR-INTERRUPTS-DISABLED
was not the right thing.
WITH-EDITOR-INTERRUPTS-DISABLED is required in the running editor but
the first buffer is created before the editor structure exists, and
variables may be set as early as initial file load time (prior to
dumping the band) -- e.g vc.scm.
WITHOUT-EDITOR-INTERRUPTS choses to do either a WITHOUT-INTERRUPTS or
a WITH-EDITOR-INTERRUPTS-DISABLED (confused?). Perhaps
WITH-EDITOR-INTERRUPTS-DISABLED ought to have this behaviour.
Stephen Adams [Tue, 1 Nov 1994 23:12:09 +0000 (23:12 +0000)]
Added a message to INFERIOR-REPL-DEBUG as this may take a long time
when initially started.
Stephen Adams [Tue, 1 Nov 1994 23:04:22 +0000 (23:04 +0000)]
Extended definition of ansi terminal driver trivially so that it
matches the new termcap code.
Stephen Adams [Tue, 1 Nov 1994 23:02:14 +0000 (23:02 +0000)]
Added a feature to decode special keys that are defined in the termcap
entry. These now appear to Edwin as the special keys like up, left
and f5.
Stephen Adams [Tue, 1 Nov 1994 22:58:29 +0000 (22:58 +0000)]
Added termcap info for special keys (up, left, f5 etc).
Chris Hanson [Tue, 1 Nov 1994 22:25:42 +0000 (22:25 +0000)]
Change instances of without-interrupts to
with-editor-interrupts-disabled.
Chris Hanson [Sun, 30 Oct 1994 05:42:20 +0000 (05:42 +0000)]
Change default for suspend files so that they are NOT generated by
default. These aren't used much and they quickly clutter the file
system.
Jason Wilson [Fri, 28 Oct 1994 05:58:22 +0000 (05:58 +0000)]
I added hash-table/get-key which is useful when implementing sets and
even more useful when using hash-tables to intern objects which you
would also like to attach datums to.
Stephen Adams [Wed, 26 Oct 1994 20:12:23 +0000 (20:12 +0000)]
Fixed accidental damage to INSERT-DISRECTORY!
Stephen Adams [Wed, 26 Oct 1994 18:42:53 +0000 (18:42 +0000)]
runtim => runtime
Stephen Adams [Wed, 26 Oct 1994 18:39:28 +0000 (18:39 +0000)]
Fixed bug which caused an old wndproc to be associated with a new window
if the handles were the same.
Stephen Adams [Wed, 26 Oct 1994 18:36:24 +0000 (18:36 +0000)]
runtim => runtime
Stephen Adams [Wed, 26 Oct 1994 18:35:04 +0000 (18:35 +0000)]
Added DESTROY-WINDOW.
Edit IS-MENU => IS-MENU?
Fixed GetMenuString
Stephen Adams [Wed, 26 Oct 1994 18:33:16 +0000 (18:33 +0000)]
Rationalized error reporting.
Chris Hanson [Wed, 26 Oct 1994 01:33:47 +0000 (01:33 +0000)]
Add aliases for the old x-FOO commands.
Chris Hanson [Tue, 25 Oct 1994 23:57:52 +0000 (23:57 +0000)]
Add new procedure COPY-COMMAND.
Stephen Adams [Tue, 25 Oct 1994 15:36:18 +0000 (15:36 +0000)]
Numerous changes, either bug fixes or changes to accomodate the new
Edwin Win32 Screen.
The events have been tweaked.
Several entry points have been exported or written to allow
efficient update of the display character grid by the new Edwin
Win32 Screen driver.
The display code has been fixed. It was seriously broken and then
heavily kludged-upon. Now it does the right thing for WM_PAINT and
WM_ERASEBKGND. This fixes the windows 3.1 problem of repainting the
whole screen of a resize. It would probably be even better to
eliminate WM_ERASEBKGND completely and make the resize code invalidate
the orphan pixels which do not correspond to a character position.
This would prevent the `flash' as the screen is repainted after a
resize and then repainted again after Edwin has decided (or not) to
change the display (line wraps etc) to fit the new size.
Keyboard. Added direct code for all the `function' keys (like PgUp,
f5 etc). Removed MIT_TranslateMessage, which was the wrong thing
because it screwed non-edwin windows (like buttons, dialogs, menus,
...). Most of the keys are now handled specially at the WM_KEYDOWN
level, avoiding WM_CHAR. This makes it possible to generate something
for C-7 and M-C-<key>. This is done in a very US keybaord layout
specific way. The right thing is to ask what the key normally does
(the KEYMAP program on the Developer's network does this) and then do
the emacs thing only if the key is not o-umlaut or
grave-accent-modifier (`deadkey') or whatever.
Stephen Adams [Tue, 25 Oct 1994 14:43:27 +0000 (14:43 +0000)]
See ntscreen.c
Stephen Adams [Tue, 25 Oct 1994 14:41:34 +0000 (14:41 +0000)]
Added primitives for efficient access to the screen window (ntscreen.c).
Stephen Adams [Tue, 25 Oct 1994 14:36:04 +0000 (14:36 +0000)]
Changed OS_process_clock so that it returns the process time (rather
than the real time) under NT (or any variant of Win32 that supports
GetProcessTimes).
Stephen Adams [Tue, 25 Oct 1994 01:46:13 +0000 (01:46 +0000)]
Changes to merge with Win32 edwin screen driver and support.
The main change is the addition of a new Edwin screen device for
Win32. The new device implements special keys and mouse buttons. A
certain degree of reorganization has been done to make the X and Win32
versions as similar as possible. Some things that used to be called
X-MUMBLE are now just called MUMBLE (e.g BUTTON1-UP, MOUSE-SET-POINT).
New files:
win32.scm: New screen device
win32com.scm: Win32 specific commands
key-w32.scm, key-x11.scm: System specific handling of special keys
(arrows etc). These files replace key.scm
mousecom.scm: mouse commands, edited from xcom.scm
Notable changes:
calias.scm: much of the old key.scm was moved here. Now the keys
`f1', `up' etc are available in all Edwins, even if the keyboard
cannot generate them. (I have a prototype fix for the console
screen driver too).
debug.scm, modefs.scm, xmodef.scm: renamed and/or reorganized
bindings
xcom.scm: A whole lot of this moved to mousecom.scm
Stephen Adams [Tue, 25 Oct 1994 01:46:12 +0000 (01:46 +0000)]
Initial revision
Stephen Adams [Tue, 25 Oct 1994 01:44:33 +0000 (01:44 +0000)]
Fix working-directory lossage.
Stephen Adams [Thu, 20 Oct 1994 19:00:18 +0000 (19:00 +0000)]
Documented VECTOR-BINARY-SEARCH.
Stephen Adams [Mon, 17 Oct 1994 16:08:36 +0000 (16:08 +0000)]
Corrected small detail in Win32 package reference.
Stephen Adams [Thu, 13 Oct 1994 23:24:17 +0000 (23:24 +0000)]
Fixed small errors in WT-TREE documentation.
Added description of VECTOR-MAP.
Chris Hanson [Thu, 13 Oct 1994 04:26:01 +0000 (04:26 +0000)]
Add new procedures YNODE-EXP-SPECIAL and YNODE-RESULT-SPECIAL to
identify special markers within the ynode structure.
Chris Hanson [Thu, 13 Oct 1994 04:02:54 +0000 (04:02 +0000)]
Add new procedures YNODE-EXP-SPECIAL and YNODE-RESULT-SPECIAL to
identify special markers within the ynode structure.
Chris Hanson [Wed, 12 Oct 1994 07:54:09 +0000 (07:54 +0000)]
Initial revision
Chris Hanson [Wed, 12 Oct 1994 07:24:28 +0000 (07:24 +0000)]
Fix bug in SPLIT-INTERVAL-LEFT!: because the splitting process could
insert a new interval node in a non-leaf position, one of the
assumptions of INSERT-FIXUP! was violated. This is fixed by making
sure that the inserted node is always inserted in a leaf position.
Chris Hanson [Wed, 12 Oct 1994 01:52:11 +0000 (01:52 +0000)]
All existing calls to CURRENT-VC-MASTER require the optional #T
argument because the callers cannot handle a returned value of #F.
Chris Hanson [Wed, 12 Oct 1994 01:42:43 +0000 (01:42 +0000)]
Fix typo in previous change.
Chris Hanson [Wed, 12 Oct 1994 00:31:13 +0000 (00:31 +0000)]
Add autoloaded stepper support. Requires corresponding support in
runtime system.
Chris Hanson [Tue, 11 Oct 1994 23:50:22 +0000 (23:50 +0000)]
Add stepper to runtime system as load option.
Chris Hanson [Tue, 11 Oct 1994 23:10:21 +0000 (23:10 +0000)]
Move HIGHLIGHT-REGION-EXCLUDING-INDENTATION to "txtprp.scm" and export
it to the edwin package.
Chris Hanson [Tue, 11 Oct 1994 23:08:21 +0000 (23:08 +0000)]
Change HIGHLIGHT-REGION-EXCLUDING-INDENTATION to have same interface
as HIGHLIGHT-REGION.
Chris Hanson [Tue, 11 Oct 1994 21:00:10 +0000 (21:00 +0000)]
Fix think-o that resulted in unused variable.
Chris Hanson [Tue, 11 Oct 1994 20:57:02 +0000 (20:57 +0000)]
Add stepper to runtime system as load option.
Chris Hanson [Mon, 10 Oct 1994 21:29:53 +0000 (21:29 +0000)]
Use SYSTEM-CALL-ERROR-MESSAGE primitive to allow microcode to provide
more meaningful error messages if possible. If the microcode is
unable to provide an error message, fall back to the previous
strategy.
Chris Hanson [Sun, 9 Oct 1994 22:03:20 +0000 (22:03 +0000)]
Eliminate random control characters in source text.
Chris Hanson [Sun, 9 Oct 1994 21:57:36 +0000 (21:57 +0000)]
Eliminate random control characters in source text.
Chris Hanson [Sat, 8 Oct 1994 08:57:28 +0000 (08:57 +0000)]
Use new NO-ERROR optional argument to LOAD-OPTION to prevent errors if
the KRYPT option is not present.
Chris Hanson [Sat, 8 Oct 1994 08:56:09 +0000 (08:56 +0000)]
Add optional argument to LOAD-OPTION; this is a flag that says to not
signal an error if the option is unknown.
Chris Hanson [Sat, 8 Oct 1994 05:35:58 +0000 (05:35 +0000)]
Eliminate compiler warning from previous change.
Stephen Adams [Fri, 7 Oct 1994 22:43:34 +0000 (22:43 +0000)]
Fixed a bug in the directory read whereby the OS handle was never
closed. This manifested under Windows 3.1 as Edwin being unable to do
filename completion or file saving after 32 handles were opened but
never closed.
This fix should go in the 7.3 release.
Chris Hanson [Fri, 7 Oct 1994 20:42:10 +0000 (20:42 +0000)]
Fix OS/2 conditionalizations.
Stephen Adams [Fri, 7 Oct 1994 20:04:59 +0000 (20:04 +0000)]
Undid previous ill-thought-out edits to the backup file name stuff.
Stephen Adams [Fri, 7 Oct 1994 19:59:53 +0000 (19:59 +0000)]
*** empty log message ***
Stephen Adams [Thu, 6 Oct 1994 03:08:42 +0000 (03:08 +0000)]
Initial revision
Stephen Adams [Wed, 5 Oct 1994 17:57:47 +0000 (17:57 +0000)]
Removed some opportunities for GC to cause a side-effecting primitive
to be restarted.
Stephen Adams [Wed, 5 Oct 1994 16:49:00 +0000 (16:49 +0000)]
Changed macro IMPORT_REGS_AFTER_PRIMITIVE to import the History
because the primitive may have (indirectly) called C_call_scheme to
recursively enter the interpreter which will may rotate the History.
Chris Hanson [Tue, 4 Oct 1994 22:05:53 +0000 (22:05 +0000)]
Add new OS-dependent mechanism for building the system-call names
tables that the runtime system uses for detecting and reporting
system-call errors. This change is upwards compatible with previous
versions of the microcode and also with previous versions of the
runtime system.
Chris Hanson [Tue, 4 Oct 1994 22:01:13 +0000 (22:01 +0000)]
Add new OS-dependent mechanism for building the system-call names
tables that the runtime system uses for detecting and reporting
system-call errors. This change is upwards compatible with previous
versions of the microcode and also with previous versions of the
runtime system.
Chris Hanson [Tue, 4 Oct 1994 21:09:15 +0000 (21:09 +0000)]
Add new OS-dependent mechanism for building the system-call names
tables that the runtime system uses for detecting and reporting
system-call errors. This change is upwards compatible with previous
versions of the microcode and also with previous versions of the
runtime system.
Chris Hanson [Tue, 4 Oct 1994 20:07:32 +0000 (20:07 +0000)]
Add conditionalizations for OS/2.
Chris Hanson [Tue, 4 Oct 1994 20:04:48 +0000 (20:04 +0000)]
Add conditionalizations for OS/2.
Stephen Adams [Mon, 3 Oct 1994 17:31:32 +0000 (17:31 +0000)]
Initial revision
Stephen Adams [Mon, 3 Oct 1994 17:30:36 +0000 (17:30 +0000)]
Changed LOAD-OPTION yet again:
. options are specified in a Scheme file (optiondb.scm), instead of
using a data file (options.db).
. options can be defined at the scheme REPL or in a .scheme.init file
Stephen Adams [Mon, 3 Oct 1994 17:27:17 +0000 (17:27 +0000)]
Changes for new LOAD-OPTION system:
Export constructors for definine load options.
Stephen Adams [Fri, 30 Sep 1994 02:50:48 +0000 (02:50 +0000)]
Sorry, that was *INITIAL-OPTIONS-FILE*.
Stephen Adams [Fri, 30 Sep 1994 02:39:36 +0000 (02:39 +0000)]
Exported *INITIAL-OPTIONS-FILE-PATHNAME*
Stephen Adams [Fri, 30 Sep 1994 02:37:48 +0000 (02:37 +0000)]
Changed LOAD-OPTION to use database in separate file(s):
Features:
. No longer need to rebuild bands to make options available.
. The database is re-read so new options become available without
restarting Scheme.
. Option databases have a `parent' field (like an environment frame)
which allows the database to be tiered.
. The databse format (s-expression) is documented in options.db
Stephen Adams [Thu, 29 Sep 1994 15:54:27 +0000 (15:54 +0000)]
Changed C_call_scheme to preserve and restore `last_return_code'.
This fixes a bug which manifests as an access violation during GC.
The GC bug happened because the incorrect value of `last_return_code'
left after the recursive interpretation caused a negative stack
segment size to be computed. When this was boxed as an unsigned value
it became an illegal pointer object. Note that this manifestation
would not have happened with the new tagging scheme.
Chris Hanson [Thu, 29 Sep 1994 03:55:05 +0000 (03:55 +0000)]
Attempt to simulate load-pathname and after-load-hooks in
load-packed-binaries. New "make" files in subdirectories depend on
this.
Chris Hanson [Thu, 29 Sep 1994 03:32:55 +0000 (03:32 +0000)]
Reflect name change from "comp.*" to "compiler.*".
Chris Hanson [Wed, 28 Sep 1994 22:44:45 +0000 (22:44 +0000)]
Eliminate compiler warning. Shorten page to 80 lines.
Chris Hanson [Wed, 28 Sep 1994 21:07:21 +0000 (21:07 +0000)]
Fix minor type error in X-LIST-FONTS. Rearrange code slightly.
Chris Hanson [Mon, 26 Sep 1994 23:08:46 +0000 (23:08 +0000)]
Fix typo in previous change.
Guillermo J. Rozas [Wed, 21 Sep 1994 06:12:30 +0000 (06:12 +0000)]
Update instructions.
Add definition of _HPUX to make it compile correctly.
Stephen Adams [Mon, 19 Sep 1994 20:39:49 +0000 (20:39 +0000)]
1. Fixed #F/() bug in NODE/FIND
2. Declared many define-structure slots as READ-ONLY.
Stephen Adams [Sat, 17 Sep 1994 17:35:12 +0000 (17:35 +0000)]
Added X-LIST-FONTS primitive.
Chris Hanson [Fri, 16 Sep 1994 21:21:09 +0000 (21:21 +0000)]
Treat LET* and LETREC specially, just like LET.
Chris Hanson [Fri, 16 Sep 1994 21:20:13 +0000 (21:20 +0000)]
Fix think-o in X-WINDOW-FONT-STRUCTURE.
Chris Hanson [Fri, 16 Sep 1994 20:19:23 +0000 (20:19 +0000)]
Change default for evaluate-in-inferior-repl to #t.
Chris Hanson [Fri, 16 Sep 1994 00:30:05 +0000 (00:30 +0000)]
Flush input queue of inferior REPL thread when abort interrupt is
signalled.
Stephen Adams [Wed, 14 Sep 1994 23:01:49 +0000 (23:01 +0000)]
Changed font structure stuff. X-FONT-STRUCTURE checks for sufficient
heap to allocate the structure so that it will always match an
XLoadQueryFont with and XFreeFont.
New primitive X-WINDOW-FONT-STRUCTURE returns the font structure
associated with the window.
Chris Hanson [Wed, 14 Sep 1994 20:50:07 +0000 (20:50 +0000)]
Fix type error in M-x dired-do-compress.
Chris Hanson [Wed, 14 Sep 1994 20:43:37 +0000 (20:43 +0000)]
Fix type error in M-x dired-do-compress.