mit-scheme.git
29 years agoForce repainting of console window after a font change. This used to
Chris Hanson [Mon, 6 Nov 1995 11:54:57 +0000 (11:54 +0000)]
Force repainting of console window after a font change.  This used to
work, but changes to console_resize caused it to break.

29 years agoPatch to fix arguments to emxbind.
Chris Hanson [Mon, 6 Nov 1995 10:07:20 +0000 (10:07 +0000)]
Patch to fix arguments to emxbind.

29 years agoPatch for EMX/GCC.
Chris Hanson [Mon, 6 Nov 1995 10:06:24 +0000 (10:06 +0000)]
Patch for EMX/GCC.

29 years agoUpdate for release.
Chris Hanson [Mon, 6 Nov 1995 10:03:23 +0000 (10:03 +0000)]
Update for release.

29 years agoAdded %=, %< and %>
Stephen Adams [Sun, 5 Nov 1995 14:26:18 +0000 (14:26 +0000)]
Added %=, %< and %>

29 years agoAdded FIX: and FLO: predicates.
Stephen Adams [Sun, 5 Nov 1995 14:25:35 +0000 (14:25 +0000)]
Added FIX: and FLO: predicates.

29 years agoAdded a printout line before band saves.
Stephen Adams [Sun, 5 Nov 1995 13:16:41 +0000 (13:16 +0000)]
Added a printout line before band saves.

29 years agoAdded FLO: replacements for CIELING, FLOOR, ROUND and TRUNCATE.
Stephen Adams [Sat, 4 Nov 1995 16:57:43 +0000 (16:57 +0000)]
Added FLO: replacements for CIELING, FLOOR, ROUND and TRUNCATE.

29 years agoAdded signatures for OBJECT-TYPE and OBJECT-DATUM.
Stephen Adams [Sat, 4 Nov 1995 16:36:29 +0000 (16:36 +0000)]
Added signatures for OBJECT-TYPE and OBJECT-DATUM.

29 years agoAdded EQUAL? and CEILING, FLOOR, ROUND, TRUNCATE to known global
Stephen Adams [Sat, 4 Nov 1995 11:52:28 +0000 (11:52 +0000)]
Added EQUAL? and CEILING, FLOOR, ROUND, TRUNCATE to known global
operators.

Changed expansions for FIX:=, FIX:ZERO? to NOT use EQ? as this hides
type info (i.e. that argument is a fixnum) from the compiler.

Moved CELL?, FLO:FLONUM? to gconst.scm to use `native' expansion.
There is no speed benefit to interpreted code and no benefit to
compiler, so it is clearer to leave it in.  It is a pity that there is
no primitive VECTOR?

29 years agoUpdate for release.
Chris Hanson [Sat, 4 Nov 1995 05:59:35 +0000 (05:59 +0000)]
Update for release.

29 years agoFix typo.
Chris Hanson [Sat, 4 Nov 1995 05:58:44 +0000 (05:58 +0000)]
Fix typo.

29 years agoSplit type inference from operator replacement for generic arithmetic.
Stephen Adams [Sat, 4 Nov 1995 04:38:39 +0000 (04:38 +0000)]
Split type inference from operator replacement for generic arithmetic.

29 years agoFix RCS header line and copyright date.
Chris Hanson [Sat, 4 Nov 1995 02:51:18 +0000 (02:51 +0000)]
Fix RCS header line and copyright date.

29 years agoFix typo.
Chris Hanson [Sat, 4 Nov 1995 02:43:47 +0000 (02:43 +0000)]
Fix typo.

29 years agoSet the icon of each graphics window to the standard graphics icon.
Chris Hanson [Sat, 4 Nov 1995 02:39:34 +0000 (02:39 +0000)]
Set the icon of each graphics window to the standard graphics icon.

29 years agoSet the icon of each graphics window to the standard graphics icon.
Chris Hanson [Sat, 4 Nov 1995 02:34:03 +0000 (02:34 +0000)]
Set the icon of each graphics window to the standard graphics icon.

29 years agoSet the icon of each Edwin screen to the standard Edwin icon.
Chris Hanson [Sat, 4 Nov 1995 02:29:08 +0000 (02:29 +0000)]
Set the icon of each Edwin screen to the standard Edwin icon.

29 years agoAdd primitive to destroy icons.
Chris Hanson [Sat, 4 Nov 1995 02:25:38 +0000 (02:25 +0000)]
Add primitive to destroy icons.

29 years agoFix first argument to WinLoadPointer.
Chris Hanson [Sat, 4 Nov 1995 02:11:13 +0000 (02:11 +0000)]
Fix first argument to WinLoadPointer.

29 years agoFix typo: icon -> pointer.
Chris Hanson [Sat, 4 Nov 1995 02:00:08 +0000 (02:00 +0000)]
Fix typo: icon -> pointer.

29 years agoFix typo: icon -> pointer.
Chris Hanson [Sat, 4 Nov 1995 01:53:49 +0000 (01:53 +0000)]
Fix typo: icon -> pointer.

29 years agoAdd primitives to support loading and setting of icons.
Chris Hanson [Sat, 4 Nov 1995 01:44:33 +0000 (01:44 +0000)]
Add primitives to support loading and setting of icons.

29 years agoChange icon resources to be symbolically defined.
Chris Hanson [Sat, 4 Nov 1995 01:43:44 +0000 (01:43 +0000)]
Change icon resources to be symbolically defined.

29 years agoChange icon resources to be symbolically defined.
Chris Hanson [Sat, 4 Nov 1995 01:40:09 +0000 (01:40 +0000)]
Change icon resources to be symbolically defined.

29 years agoAdd primitives to support loading and setting of icons.
Chris Hanson [Sat, 4 Nov 1995 01:35:01 +0000 (01:35 +0000)]
Add primitives to support loading and setting of icons.

29 years agoLoad an icon resource for the console window.
Chris Hanson [Sat, 4 Nov 1995 01:01:16 +0000 (01:01 +0000)]
Load an icon resource for the console window.

29 years agoModify to customize resource files differently for scheme and
Chris Hanson [Sat, 4 Nov 1995 00:59:53 +0000 (00:59 +0000)]
Modify to customize resource files differently for scheme and
bchscheme, and to allow debug/optimize to be selected by a setting in
the main makefile.

29 years agoDisable the "Copy" menu item when the marked region is not active.
Chris Hanson [Sat, 4 Nov 1995 00:10:51 +0000 (00:10 +0000)]
Disable the "Copy" menu item when the marked region is not active.
Improve logic that decides when it is active.  Fix fencepost error in
marked region determination.

29 years agoChange OS2_menu_set_item_attributes to return the success value that
Chris Hanson [Sat, 4 Nov 1995 00:08:40 +0000 (00:08 +0000)]
Change OS2_menu_set_item_attributes to return the success value that
the message-send returns.

29 years agoIn INT:->STRING
Stephen Adams [Fri, 3 Nov 1995 22:44:19 +0000 (22:44 +0000)]
In INT:->STRING
 . removed a DEFINE-INTEGRABLE that was causing unwanted code duplication,
 . Optimized PRINT-SMALL to use fixnum arithmetic when quotient is
   small enough.  Gives 2x speedup for NUMBER->STRING on fixnums,

29 years agoChanged DIGIT->CHAR and CHAR->DIGIT to give better error messages and
Stephen Adams [Fri, 3 Nov 1995 21:24:01 +0000 (21:24 +0000)]
Changed DIGIT->CHAR and CHAR->DIGIT to give better error messages and
to be faster.

29 years agoAdded type info for character convertion operations.
Stephen Adams [Fri, 3 Nov 1995 21:11:31 +0000 (21:11 +0000)]
Added type info for character convertion operations.

29 years agoUse WinAlarm instead of DosBeep for ^G noise.
Chris Hanson [Fri, 3 Nov 1995 12:39:11 +0000 (12:39 +0000)]
Use WinAlarm instead of DosBeep for ^G noise.

29 years agoAdd some new primitives and events.
Chris Hanson [Fri, 3 Nov 1995 01:31:08 +0000 (01:31 +0000)]
Add some new primitives and events.

29 years ago* Reorganize the PM interface to encapsulate PM event messages and send
Chris Hanson [Fri, 3 Nov 1995 01:30:21 +0000 (01:30 +0000)]
* Reorganize the PM interface to encapsulate PM event messages and send
  them to the window's event qid in their original format.  This
  simplifies the process of adding new event types, and allows the
  window's owner to decide what is relevant information.

* Add some new interface calls to support mouse tracking and pop-up
  menus.

* Implement a mechanism to mark characters with the mouse in the
  console window, and a Copy command to copy them to the clipboard.

29 years agoFix formatting of error message.
Chris Hanson [Fri, 3 Nov 1995 01:24:11 +0000 (01:24 +0000)]
Fix formatting of error message.

29 years agoFix bug: don't signal an error when the type of a file handle can't be
Chris Hanson [Fri, 3 Nov 1995 01:23:41 +0000 (01:23 +0000)]
Fix bug: don't signal an error when the type of a file handle can't be
determined.  Instead, just treat it like a pipe, which is
operationally the least common denominator.

29 years agoFix timing bug in inter-thread communications. This bug occurs when
Chris Hanson [Fri, 3 Nov 1995 01:22:21 +0000 (01:22 +0000)]
Fix timing bug in inter-thread communications.  This bug occurs when
two threads read the same tqueue simultaneously, which violates the
assumption that each tqueue is read by only one thread.  This fix is a
kludge that will be replaced later by a redesigned communications
model.

29 years agoAdded (TYPE-TEST (OBJECT->TYPE (REGISTER (? reg))) 0) rule.
ssmith [Wed, 1 Nov 1995 21:04:32 +0000 (21:04 +0000)]
Added (TYPE-TEST (OBJECT->TYPE (REGISTER (? reg))) 0) rule.

29 years agoCopied PRED-1-ARG INDEX-FIXNUM? verbatim from Spectrum.
ssmith [Wed, 1 Nov 1995 20:43:25 +0000 (20:43 +0000)]
Copied PRED-1-ARG INDEX-FIXNUM? verbatim from Spectrum.

29 years agoExtended the flonum efficiency tip.
Stephen Adams [Wed, 1 Nov 1995 16:51:08 +0000 (16:51 +0000)]
Extended the flonum efficiency tip.

29 years agoAdded inference for %*.
Stephen Adams [Wed, 1 Nov 1995 16:27:21 +0000 (16:27 +0000)]
Added inference for %*.

29 years agoAdd ability to override default selection of constructor and loader
Chris Hanson [Wed, 1 Nov 1995 01:05:28 +0000 (01:05 +0000)]
Add ability to override default selection of constructor and loader
files.

29 years agoAdd ability to override default selection of constructor and loader
Chris Hanson [Wed, 1 Nov 1995 00:56:53 +0000 (00:56 +0000)]
Add ability to override default selection of constructor and loader
files.

29 years agoSave the operating-system-specific loading files under separate names,
Chris Hanson [Wed, 1 Nov 1995 00:56:47 +0000 (00:56 +0000)]
Save the operating-system-specific loading files under separate names,
so that multiple operating systems may be supported from the same
build-directory.

29 years agoSave the operating-system-specific loading files under separate names,
Chris Hanson [Tue, 31 Oct 1995 23:52:57 +0000 (23:52 +0000)]
Save the operating-system-specific loading files under separate names,
so that multiple operating systems may be supported from the same
build-directory.

29 years agoSave the operating-system-specific loading files under separate names,
Chris Hanson [Tue, 31 Oct 1995 23:41:39 +0000 (23:41 +0000)]
Save the operating-system-specific loading files under separate names,
so that multiple operating systems may be supported from the same
build-directory.

29 years agoSave the operating-system-specific loading files under separate names,
Chris Hanson [Tue, 31 Oct 1995 23:29:14 +0000 (23:29 +0000)]
Save the operating-system-specific loading files under separate names,
so that multiple operating systems may be supported from the same
build-directory.

29 years agoSave the operating-system-specific loading files under separate names,
Chris Hanson [Tue, 31 Oct 1995 23:26:48 +0000 (23:26 +0000)]
Save the operating-system-specific loading files under separate names,
so that multiple operating systems may be supported from the same
build-directory.

29 years agoAdd ability to override default selection of constructor and loader
Chris Hanson [Tue, 31 Oct 1995 23:12:41 +0000 (23:12 +0000)]
Add ability to override default selection of constructor and loader
files.

29 years agoVarious listing-switches variables must accept strings, and allow
Chris Hanson [Tue, 31 Oct 1995 09:06:39 +0000 (09:06 +0000)]
Various listing-switches variables must accept strings, and allow
themselves to be modified.

29 years agoImplement s command like that in Emacs 19.
Chris Hanson [Tue, 31 Oct 1995 08:10:19 +0000 (08:10 +0000)]
Implement s command like that in Emacs 19.

29 years agoImplement M command for Dired. Change Dired to show system/hidden
Chris Hanson [Tue, 31 Oct 1995 08:08:33 +0000 (08:08 +0000)]
Implement M command for Dired.  Change Dired to show system/hidden
files only when the "a" listing switch is given; by default these
files are hidden.  Implement S command to toggle the switch off and
on.

29 years agoChange the FILE-INFO primitive to return two additional items: the
Chris Hanson [Tue, 31 Oct 1995 08:05:02 +0000 (08:05 +0000)]
Change the FILE-INFO primitive to return two additional items: the
attribute bits and the allocated file length.

29 years agoFixed more typos.
Stephen Adams [Tue, 31 Oct 1995 02:21:50 +0000 (02:21 +0000)]
Fixed more typos.

29 years agoFixed typo.
Stephen Adams [Tue, 31 Oct 1995 02:18:02 +0000 (02:18 +0000)]
Fixed typo.

29 years agoAdded some effiency tips about flonums.
Stephen Adams [Tue, 31 Oct 1995 02:14:12 +0000 (02:14 +0000)]
Added some effiency tips about flonums.

29 years agoImproved `largest fixnum' code.
Stephen Adams [Tue, 31 Oct 1995 00:51:52 +0000 (00:51 +0000)]
Improved `largest fixnum' code.

29 years agoFixed typo.
Stephen Adams [Mon, 30 Oct 1995 21:37:29 +0000 (21:37 +0000)]
Fixed typo.

29 years agoA variety of dependency changes corresponding to changes in the source
Chris Hanson [Mon, 30 Oct 1995 08:09:51 +0000 (08:09 +0000)]
A variety of dependency changes corresponding to changes in the source
files.  Also, reconfigure to make debugging output the default, rather
than optimized output.

29 years agoA variety of dependency changes corresponding to changes in the source
Chris Hanson [Mon, 30 Oct 1995 08:09:24 +0000 (08:09 +0000)]
A variety of dependency changes corresponding to changes in the source
files.

29 years agoImplement a variety of new features: a menu bar, a warning dialog on
Chris Hanson [Mon, 30 Oct 1995 08:07:22 +0000 (08:07 +0000)]
Implement a variety of new features: a menu bar, a warning dialog on
the "close", an "about" box, and a font-setting dialog.

29 years agoReorganize the OS/2 PM interface so that most of the interface
Chris Hanson [Mon, 30 Oct 1995 08:04:30 +0000 (08:04 +0000)]
Reorganize the OS/2 PM interface so that most of the interface
procedures are automatically generated from templates by a Scheme
program.  This dramatically reduces the overhead required to implement
a new PM procedure, or to modify the interface of an old one.

29 years agoInitial revision
Chris Hanson [Mon, 30 Oct 1995 07:58:27 +0000 (07:58 +0000)]
Initial revision

29 years agoSupply missing casts that are needed by IBM compiler.
Chris Hanson [Mon, 30 Oct 1995 07:55:05 +0000 (07:55 +0000)]
Supply missing casts that are needed by IBM compiler.

29 years agoForce inclusion of all possible interesting OS/2 header information.
Chris Hanson [Mon, 30 Oct 1995 07:54:29 +0000 (07:54 +0000)]
Force inclusion of all possible interesting OS/2 header information.
It's too much of a pain trying to restrict this information.

29 years agoAdd newlines so that error messages format better.
Chris Hanson [Mon, 30 Oct 1995 07:53:24 +0000 (07:53 +0000)]
Add newlines so that error messages format better.

29 years agoFix generation of .386p and .model declarations; they must always be
Chris Hanson [Mon, 30 Oct 1995 07:52:35 +0000 (07:52 +0000)]
Fix generation of .386p and .model declarations; they must always be
supplied with Intel-style assemblers.

29 years agoChange support for user-name and home directory so that it uses the
Chris Hanson [Sat, 28 Oct 1995 03:00:09 +0000 (03:00 +0000)]
Change support for user-name and home directory so that it uses the
environment variables that are being set in our NT configuration.
Also, add better heuristic methods for discovering this information
when it is not supplied in the environment variables.

29 years agoNew file "ntprm.scm" has Win32 primitive interface, which is now
Chris Hanson [Sat, 28 Oct 1995 02:57:38 +0000 (02:57 +0000)]
New file "ntprm.scm" has Win32 primitive interface, which is now
different from the DOS primitive interface.

29 years agoFix typos.
Chris Hanson [Sat, 28 Oct 1995 02:10:32 +0000 (02:10 +0000)]
Fix typos.

29 years agoNew file "ntprm.scm" has Win32 primitive interface, which is now
Chris Hanson [Sat, 28 Oct 1995 01:55:08 +0000 (01:55 +0000)]
New file "ntprm.scm" has Win32 primitive interface, which is now
different from the DOS primitive interface.

29 years agoFix typo.
Chris Hanson [Sat, 28 Oct 1995 01:30:51 +0000 (01:30 +0000)]
Fix typo.

29 years agoMove COPY-FILE into the operating-system-specific files. Both OS/2
Chris Hanson [Sat, 28 Oct 1995 01:16:09 +0000 (01:16 +0000)]
Move COPY-FILE into the operating-system-specific files.  Both OS/2
and NT provide API calls to implement this operation, and these calls
do a better job than is possible with the previous code.  (For
example, the OS/2 call also copies extended attributes.)

29 years agoNew file "ntprm.scm" has Win32 primitive interface, which is now
Chris Hanson [Sat, 28 Oct 1995 01:14:16 +0000 (01:14 +0000)]
New file "ntprm.scm" has Win32 primitive interface, which is now
different from the DOS primitive interface.

29 years agoInitial revision
Chris Hanson [Sat, 28 Oct 1995 01:14:05 +0000 (01:14 +0000)]
Initial revision

29 years agoGuarantee that target file of copy operation is writable.
Chris Hanson [Sat, 28 Oct 1995 01:09:58 +0000 (01:09 +0000)]
Guarantee that target file of copy operation is writable.

29 years agoImplement new primitives: NT-COPY-FILE, NT-GET-FILE-ATTRIBUTES, and
Chris Hanson [Sat, 28 Oct 1995 01:03:40 +0000 (01:03 +0000)]
Implement new primitives: NT-COPY-FILE, NT-GET-FILE-ATTRIBUTES, and
NT-SET-FILE-ATTRIBUTES.

29 years agoImplement new primitive OS2-COPY-FILE.
Chris Hanson [Sat, 28 Oct 1995 00:57:02 +0000 (00:57 +0000)]
Implement new primitive OS2-COPY-FILE.

29 years agoImplement new primitive OS2-COPY-FILE.
Chris Hanson [Sat, 28 Oct 1995 00:55:38 +0000 (00:55 +0000)]
Implement new primitive OS2-COPY-FILE.

29 years agoImplement new primitive OS2-COPY-FILE.
Chris Hanson [Fri, 27 Oct 1995 23:58:11 +0000 (23:58 +0000)]
Implement new primitive OS2-COPY-FILE.

29 years agoAdd DosCopy API call.
Chris Hanson [Fri, 27 Oct 1995 23:55:12 +0000 (23:55 +0000)]
Add DosCopy API call.

29 years agoUse new Win32 volume-information primitive to properly implement
Chris Hanson [Fri, 27 Oct 1995 08:00:18 +0000 (08:00 +0000)]
Use new Win32 volume-information primitive to properly implement
DOS/FS-DRIVE-TYPE and DOS/FS-LONG-FILENAMES?.  Also tweak pagination
of environment-variable code.

29 years agoImplement Win32 primitive to get information about a disk volume.
Chris Hanson [Fri, 27 Oct 1995 07:55:16 +0000 (07:55 +0000)]
Implement Win32 primitive to get information about a disk volume.
This information will be used by the runtime system and Edwin to make
decisions about how to form filenames and what end-of-line translation
to use.

29 years agomade it let* instead of let... but it is still broken...
ssmith [Wed, 25 Oct 1995 20:37:05 +0000 (20:37 +0000)]
made it let* instead of let... but it is still broken...

29 years agoOoops.. small type val->value
ssmith [Wed, 25 Oct 1995 20:16:02 +0000 (20:16 +0000)]
Ooops.. small type val->value

29 years agoUpdated to be more like Spectrum's
ssmith [Wed, 25 Oct 1995 19:54:30 +0000 (19:54 +0000)]
Updated to be more like Spectrum's

29 years agoRemoved instr3, added instrf and insutl
ssmith [Wed, 25 Oct 1995 19:49:37 +0000 (19:49 +0000)]
Removed instr3, added instrf and insutl

29 years agoRemoved instr3 and added instrf and insutl
ssmith [Wed, 25 Oct 1995 19:48:33 +0000 (19:48 +0000)]
Removed instr3 and added instrf and insutl

29 years agoChanged references from spectrum to i386
ssmith [Wed, 25 Oct 1995 19:28:02 +0000 (19:28 +0000)]
Changed references from spectrum to i386

29 years agoChanges references from spectrum to i386
ssmith [Wed, 25 Oct 1995 19:27:35 +0000 (19:27 +0000)]
Changes references from spectrum to i386

29 years ago(original copy stolen from HP)
ssmith [Wed, 25 Oct 1995 19:27:00 +0000 (19:27 +0000)]
(original copy stolen from HP)
M-x replace-string spectrum i386

29 years agoInitial revision
ssmith [Wed, 25 Oct 1995 19:19:32 +0000 (19:19 +0000)]
Initial revision

29 years agoAdded SYMBOL-NAME to known global operators.
Stephen Adams [Wed, 25 Oct 1995 18:42:05 +0000 (18:42 +0000)]
Added SYMBOL-NAME to known global operators.

29 years agoFixed signature of ERROR:WRONG-TYPE-ARGUMENT
Stephen Adams [Wed, 25 Oct 1995 18:35:15 +0000 (18:35 +0000)]
Fixed signature of ERROR:WRONG-TYPE-ARGUMENT

29 years agoFix typo.
Chris Hanson [Wed, 25 Oct 1995 05:38:47 +0000 (05:38 +0000)]
Fix typo.

29 years agoWin32 needs ".386" and ".model" declarations.
Chris Hanson [Wed, 25 Oct 1995 05:01:42 +0000 (05:01 +0000)]
Win32 needs ".386" and ".model" declarations.

29 years agoMerge common parts of DOS/WIN32 and OS2 file-name customization.
Chris Hanson [Wed, 25 Oct 1995 03:49:29 +0000 (03:49 +0000)]
Merge common parts of DOS/WIN32 and OS2 file-name customization.

29 years ago*** empty log message ***
Chris Hanson [Wed, 25 Oct 1995 03:26:46 +0000 (03:26 +0000)]
*** empty log message ***