mit-scheme.git
27 years agoExtensive changes to the code that gets information about files; new
Chris Hanson [Sun, 5 Jan 1997 23:41:52 +0000 (23:41 +0000)]
Extensive changes to the code that gets information about files; new
code is smarter about reading protected files.  Also add new
directory-reading primitive to allow the runtime system to get full
file-attribute information; this is otherwise impossible as the
directory reader is able to get file information that the
file-attribute calls can't.

27 years agoAdd new procedure to get all of the information from the directory
Chris Hanson [Sun, 5 Jan 1997 23:38:50 +0000 (23:38 +0000)]
Add new procedure to get all of the information from the directory
reader.

27 years agoAdd file-opening flags that hint to the operating system about how to
Chris Hanson [Sun, 5 Jan 1997 23:38:12 +0000 (23:38 +0000)]
Add file-opening flags that hint to the operating system about how to
optimize file caching.

27 years agoAdd new system call.
Chris Hanson [Sun, 5 Jan 1997 23:37:21 +0000 (23:37 +0000)]
Add new system call.

27 years agoAdd dependencies for ntapi.h.
Chris Hanson [Sun, 5 Jan 1997 23:36:47 +0000 (23:36 +0000)]
Add dependencies for ntapi.h.

27 years agoAdd explicit dependencies to many of the files as wmake seems not to
Chris Hanson [Sun, 5 Jan 1997 23:36:01 +0000 (23:36 +0000)]
Add explicit dependencies to many of the files as wmake seems not to
have this behavior.

27 years agoChange output procedures to ignore translate-file-data-on-output in
Chris Hanson [Fri, 3 Jan 1997 04:40:03 +0000 (04:40 +0000)]
Change output procedures to ignore translate-file-data-on-output in
some circumstances.  This is necessary because RMAIL files want this
variable set to #F, but M-x write-region should ignore the variable
binding in that case and do translation anyway.

27 years agoChange output procedures to ignore translate-file-data-on-output in
Chris Hanson [Fri, 3 Jan 1997 04:07:00 +0000 (04:07 +0000)]
Change output procedures to ignore translate-file-data-on-output in
some circumstances.  This is necessary because RMAIL files want this
variable set to #F, but M-x write-region should ignore the variable
binding in that case and do translation anyway.

27 years agoRearrange the code that sets memtop to trigger an interrupt. I have a
Chris Hanson [Thu, 2 Jan 1997 07:07:19 +0000 (07:07 +0000)]
Rearrange the code that sets memtop to trigger an interrupt.  I have a
strong suspicion that these timer interrupts run in a separate thread
under NT.  If so, this is a really dangerous thing to be doing without
synchronization.  This rearrangement will minimize the window in which
problems can occur.

27 years agoEliminate compiler warnings generated under NT.
Chris Hanson [Thu, 2 Jan 1997 05:23:15 +0000 (05:23 +0000)]
Eliminate compiler warnings generated under NT.

27 years agoChange event-reading code to use SELECT rather than kludge of giving
Chris Hanson [Thu, 2 Jan 1997 04:39:45 +0000 (04:39 +0000)]
Change event-reading code to use SELECT rather than kludge of giving
up time slice and polling.  This requires corresponding changes in
microcode 11.155 and runtime 14.171.

27 years ago*** Note: this version of the runtime system requires microcode
Chris Hanson [Thu, 2 Jan 1997 04:37:53 +0000 (04:37 +0000)]
*** Note: this version of the runtime system requires microcode
    version 11.155 or later.  ***

* Implement heuristic to detect unix drivers and perform appropriate
  end-of-line translations for them.

* Provide names for Win32 file-system info flags.

* Reimplement SELECT support to match changes in microcode.  The
  improved support helps to prevent Scheme from getting stuck while
  waiting for input.

27 years agoExtensive changes to provide proper support for Win32 API calls. This
Chris Hanson [Thu, 2 Jan 1997 04:33:45 +0000 (04:33 +0000)]
Extensive changes to provide proper support for Win32 API calls.  This
new support integrates with the runtime system to provide correct
names for procedures and errors, and eliminates the need to use a
unix-style name in association with a Win32 API entity.

* Create new Win32-specific channel types.  Eliminate non-OS-specific
  channel type names.

* Introduce new file "ntapi.h" to encapsulate information about the
  Win32 API.  Rename macros for NT system calls, separating them into
  two groups: one to handle unix-style calls, the other to handle
  Win32-style calls.  Eliminate NT_<foo> aliases of C library
  procedures.  Create Win32-specific system-call names, API-call
  names, and errors.  Update all references to the old names.

* Implement OS_malloc, OS_realloc, and OS_free; change various call
  sites to use these.

* Change the low-level timer-interrupt handler to generate a GUI
  message when a Scheme interrupt is generated; this is necessary to
  unblock Scheme if it is blocked inside MsgWaitForMultipleObjects.

27 years agoInitial revision
Chris Hanson [Wed, 1 Jan 1997 22:58:34 +0000 (22:58 +0000)]
Initial revision

27 years agoExtensive changes to provide proper support for Win32 API calls. This
Chris Hanson [Wed, 1 Jan 1997 22:58:18 +0000 (22:58 +0000)]
Extensive changes to provide proper support for Win32 API calls.  This
new support integrates with the runtime system to provide correct
names for procedures and errors, and eliminates the need to use a
unix-style name in association with a Win32 API entity.

* Create new Win32-specific channel types.  Eliminate non-OS-specific
  channel type names.

* Introduce new file "ntapi.h" to encapsulate information about the
  Win32 API.  Rename macros for NT system calls, separating them into
  two groups: one to handle unix-style calls, the other to handle
  Win32-style calls.  Eliminate NT_<foo> aliases of C library
  procedures.  Create Win32-specific system-call names, API-call
  names, and errors.  Update all references to the old names.

* Implement OS_malloc, OS_realloc, and OS_free; change various call
  sites to use these.

* Change the low-level timer-interrupt handler to generate a GUI
  message when a Scheme interrupt is generated; this is necessary to
  unblock Scheme if it is blocked inside MsgWaitForMultipleObjects.

27 years agoSimplify code that changes a window's size. Both the old and new code
Chris Hanson [Wed, 1 Jan 1997 10:13:19 +0000 (10:13 +0000)]
Simplify code that changes a window's size.  Both the old and new code
produces incorrect results on my machine.  This seems to be an OS/2
bug, as it consistently adds too much padding to the frame window's
header height.

27 years agoDisable byte alignment for windows created by Scheme.
Chris Hanson [Wed, 1 Jan 1997 10:10:34 +0000 (10:10 +0000)]
Disable byte alignment for windows created by Scheme.

27 years ago* Change terminology to refer to "seen" articles as "deleted".
Chris Hanson [Wed, 25 Dec 1996 07:20:15 +0000 (07:20 +0000)]
* Change terminology to refer to "seen" articles as "deleted".

* Introduce new marking, "browsed", to indicate articles whose headers
  have been shown in a news-group buffer.  These "browsed" markings
  are used to prevent a common problem with cross posts: after having
  marked an article in one group, re-marking the cross-posted article
  differently in another group clobbers the original markings.  The
  news reader now examines the "browsed" marking, and does not re-mark
  any cross post that has already been "browsed".

* Change code that selects initial header when opening a news-group
  buffer for the first time.  New code does not automatically expand a
  thread whose first message is "deleted".

27 years ago* Change terminology to refer to "seen" articles as "deleted".
Chris Hanson [Wed, 25 Dec 1996 06:50:07 +0000 (06:50 +0000)]
* Change terminology to refer to "seen" articles as "deleted".

* Introduce new marking, "browsed", to indicate articles whose headers
  have been shown in a news-group buffer.  These "browsed" markings
  are used to prevent a common problem with cross posts: after having
  marked an article in one group, re-marking the cross-posted article
  differently in another group clobbers the original markings.  The
  news reader now examines the "browsed" marking, and does not re-mark
  any cross post that has already been "browsed".

* Change code that selects initial header when opening a news-group
  buffer for the first time.  New code does not automatically expand a
  thread whose first message is "deleted".

27 years agoDon't disable stack checks for this architecture; stack overflow is
Chris Hanson [Wed, 25 Dec 1996 06:39:51 +0000 (06:39 +0000)]
Don't disable stack checks for this architecture; stack overflow is
impossible to debug without them (except on OS/2 which has clever
virtual-memory support for this).  Also note that all other
architectures generate them by default.

27 years agoModify BACKUP-BUFFER to chase through symbolic links so that the
Chris Hanson [Tue, 24 Dec 1996 22:33:27 +0000 (22:33 +0000)]
Modify BACKUP-BUFFER to chase through symbolic links so that the
backup operates on the file rather than the link.

27 years agoSimplify OS/BACKUP-BUFFER? to be consistent with Emacs 19.
Chris Hanson [Tue, 24 Dec 1996 22:32:15 +0000 (22:32 +0000)]
Simplify OS/BACKUP-BUFFER? to be consistent with Emacs 19.

27 years agoFix bug: not showing all headers when reverting group buffer. Also
Chris Hanson [Tue, 24 Dec 1996 08:50:32 +0000 (08:50 +0000)]
Fix bug: not showing all headers when reverting group buffer.  Also
rewrite handling of cross posts to concentrate cross-post management
in one place.

27 years agoImplement new variable news-group-keep-ignored-headers. Change
Chris Hanson [Thu, 19 Dec 1996 04:50:07 +0000 (04:50 +0000)]
Implement new variable news-group-keep-ignored-headers.  Change
purging code to use new interface.

27 years agoReimplement code to purge pre-read headers and bodies. New code calls
Chris Hanson [Thu, 19 Dec 1996 04:48:35 +0000 (04:48 +0000)]
Reimplement code to purge pre-read headers and bodies.  New code calls
predicate with a header instead of with a message number, deletes
message-id entries properly, and eliminates any body without a
corresponding header.

27 years agoPreserve time stamp of file when reverting to previous revision.
Chris Hanson [Mon, 16 Dec 1996 04:57:32 +0000 (04:57 +0000)]
Preserve time stamp of file when reverting to previous revision.

27 years agoUse special allocator to allocate the heap when running under Linux.
Chris Hanson [Mon, 16 Dec 1996 04:53:17 +0000 (04:53 +0000)]
Use special allocator to allocate the heap when running under Linux.
Linux ELF pushes the text and data segments up into high addresses,
leaving most of the low addresses empty.  To get access to them, we
must use mmap.

27 years agoUse special allocator to allocate the heap when running under Linux.
Chris Hanson [Mon, 16 Dec 1996 04:40:03 +0000 (04:40 +0000)]
Use special allocator to allocate the heap when running under Linux.
Linux ELF pushes the text and data segments up into high addresses,
leaving most of the low addresses empty.  To get access to them, we
must use mmap.

27 years agoAdd one final tweak to get X-WINDOW-SET-POSITION working properly.
Chris Hanson [Wed, 11 Dec 1996 07:23:10 +0000 (07:23 +0000)]
Add one final tweak to get X-WINDOW-SET-POSITION working properly.
It now works correctly under XFree86; I haven't tested it under HP-UX
mwm, but I think it is probably still failing there.  There seems to
be some kind of translation problem on that system.

27 years agoChange location of X11 library; the previous location is not valid for
Chris Hanson [Wed, 11 Dec 1996 07:21:37 +0000 (07:21 +0000)]
Change location of X11 library; the previous location is not valid for
many distributions now.

27 years agoChange implementation of M-x show-frame-size to use new primitive to
Chris Hanson [Wed, 11 Dec 1996 00:45:10 +0000 (00:45 +0000)]
Change implementation of M-x show-frame-size to use new primitive to
determine size of frame in pixels.

27 years agoReimplement X-WINDOW-GET-POSITION and add new X-WINDOW-GET-SIZE.
Chris Hanson [Wed, 11 Dec 1996 00:43:08 +0000 (00:43 +0000)]
Reimplement X-WINDOW-GET-POSITION and add new X-WINDOW-GET-SIZE.

27 years agoImplement commands to show the size and position of the editor frame.
Chris Hanson [Tue, 10 Dec 1996 22:49:58 +0000 (22:49 +0000)]
Implement commands to show the size and position of the editor frame.

27 years agoImplement new primitive to get the desktop coordinates of a window's
Chris Hanson [Tue, 10 Dec 1996 22:48:18 +0000 (22:48 +0000)]
Implement new primitive to get the desktop coordinates of a window's
frame.

27 years agoFix bug with missing variable binding.
Chris Hanson [Mon, 9 Dec 1996 21:17:38 +0000 (21:17 +0000)]
Fix bug with missing variable binding.

27 years agoImplement remaining Dired customizations for Win32. (All further
Chris Hanson [Sat, 7 Dec 1996 22:24:29 +0000 (22:24 +0000)]
Implement remaining Dired customizations for Win32.  (All further
customizations require subprocess support.)

27 years agoInitial revision
Chris Hanson [Sat, 7 Dec 1996 22:23:52 +0000 (22:23 +0000)]
Initial revision

27 years agoFix thinko in recent change.
Chris Hanson [Sat, 7 Dec 1996 07:32:57 +0000 (07:32 +0000)]
Fix thinko in recent change.

27 years agoFix thinko in recent change.
Chris Hanson [Sat, 7 Dec 1996 07:25:31 +0000 (07:25 +0000)]
Fix thinko in recent change.

27 years agoAdd support for encrypted files.
Chris Hanson [Fri, 6 Dec 1996 22:34:08 +0000 (22:34 +0000)]
Add support for encrypted files.

27 years agoInitial revision
Stephen Adams [Fri, 6 Dec 1996 17:14:56 +0000 (17:14 +0000)]
Initial revision

27 years agoInitial revision
Stephen Adams [Fri, 6 Dec 1996 17:07:43 +0000 (17:07 +0000)]
Initial revision

27 years agoAdded HL-SIM to systems.
Stephen Adams [Fri, 6 Dec 1996 06:13:08 +0000 (06:13 +0000)]
Added HL-SIM to systems.

27 years agoChanged SORT to return a newly allocated list (as specified in the
Stephen Adams [Wed, 4 Dec 1996 16:21:42 +0000 (16:21 +0000)]
Changed SORT to return a newly allocated list (as specified in the
reference manual) in the case of a singleton list.

27 years agoChanged some calls to ERROR to calls to ERROR:WRONG-TYPE-ARGUMENT etc.
Stephen Adams [Sun, 1 Dec 1996 17:23:03 +0000 (17:23 +0000)]
Changed some calls to ERROR to calls to ERROR:WRONG-TYPE-ARGUMENT etc.

27 years agoChange to permit RMAIL files to be visited in RMAIL mode under NT (no
Chris Hanson [Sun, 1 Dec 1996 17:19:06 +0000 (17:19 +0000)]
Change to permit RMAIL files to be visited in RMAIL mode under NT (no
support for reading mail yet).

27 years agoAdded graphics operation DRAW-TEXT-OPAQUE.
Stephen Adams [Sun, 1 Dec 1996 17:11:07 +0000 (17:11 +0000)]
Added graphics operation DRAW-TEXT-OPAQUE.
Removed duplicate X-GRAPHICS/FILL-POLYGON.

27 years agoFix "unused variable" warning.
Chris Hanson [Sat, 30 Nov 1996 22:17:17 +0000 (22:17 +0000)]
Fix "unused variable" warning.

28 years agoSpeed up SORT! 45% by using fixnum index arithmetic.
Stephen Adams [Tue, 26 Nov 1996 17:32:06 +0000 (17:32 +0000)]
Speed up SORT! 45% by using fixnum index arithmetic.

28 years agoAttempted fix for copy_closure_pattern for PA8000.
Stephen Adams [Tue, 26 Nov 1996 15:15:46 +0000 (15:15 +0000)]
Attempted fix for copy_closure_pattern for PA8000.
We might be able to tune the number of NOPs.

28 years ago*** empty log message ***
Stephen Adams [Tue, 26 Nov 1996 14:46:17 +0000 (14:46 +0000)]
*** empty log message ***

28 years agoDon't remove messages from the "seen" list when erasing their
Chris Hanson [Fri, 22 Nov 1996 21:49:59 +0000 (21:49 +0000)]
Don't remove messages from the "seen" list when erasing their
"ignored" bit.  The appropriate action will be taken elsewhere.

28 years ago* Add support for remembering marked articles in group structure and
Chris Hanson [Thu, 21 Nov 1996 19:59:32 +0000 (19:59 +0000)]
* Add support for remembering marked articles in group structure and
  in group init file.  Change server buffer to show which groups
  contain marked articles.  Extend M-x news-read-marked-bodies so that
  it will work from the server buffer, fetching all of the marked
  articles in all of the groups.

* Change group buffer to show threads that have pre-read bodies.

* When marking an article, if it is not being ignored, make sure that
  it is removed from the ignored-subjects database.

28 years agoUsed macros to name all machine registers. This allows the integer
Stephen Adams [Mon, 18 Nov 1996 21:19:35 +0000 (21:19 +0000)]
Used macros to name all machine registers.  This allows the integer
syntax and the %r syntax to be used.  Currently, the syntax is chosen
according to the compiler.  This should really be orthogonal.

-DGCC integer syntax
-DHPC %r syntax

28 years agoIgnore sharing-violation errors when reading file attributes, treating
Chris Hanson [Mon, 18 Nov 1996 21:13:55 +0000 (21:13 +0000)]
Ignore sharing-violation errors when reading file attributes, treating
the file as non-existent.  This is not correct, but until the NT
errors are properly mapped, the runtime system won't be able to handle
this error.

28 years agoChange call to `PostMessage' to use `SendMessage' to eliminate race
Chris Hanson [Mon, 18 Nov 1996 21:12:50 +0000 (21:12 +0000)]
Change call to `PostMessage' to use `SendMessage' to eliminate race
condition when adjusting font and size of window together, as does my
.edwin file.

28 years agoType inference now knows a rest-argument must be a pair or nil.
Stephen Adams [Thu, 14 Nov 1996 22:17:26 +0000 (22:17 +0000)]
Type inference now knows a rest-argument must be a pair or nil.

28 years agoFixed '() <--> #F bug in FIND-TK-PROTECTION-LIST-FROM-NUMBER.
Stephen Adams [Thu, 14 Nov 1996 22:14:06 +0000 (22:14 +0000)]
Fixed '() <--> #F bug in FIND-TK-PROTECTION-LIST-FROM-NUMBER.

28 years agoreverted change but left both #defines of KERNEL_FILE in place.
Stephen Adams [Wed, 13 Nov 1996 22:15:28 +0000 (22:15 +0000)]
reverted change but left both #defines of KERNEL_FILE in place.

28 years agoChanged to look for both hpux9 and hpux10 kernel files.
Stephen Adams [Wed, 13 Nov 1996 22:09:05 +0000 (22:09 +0000)]
Changed to look for both hpux9 and hpux10 kernel files.

28 years agoAdded the disassembler back into the normal system.
Stephen Adams [Sun, 10 Nov 1996 05:59:09 +0000 (05:59 +0000)]
Added the disassembler back into the normal system.

28 years agoAdded support fo dynamic loading.
Stephen Adams [Fri, 8 Nov 1996 18:30:05 +0000 (18:30 +0000)]
Added support fo dynamic loading.
Includes flag `-rdynamic' for linking main program.

28 years agoChanged an occurence of MAP to FOR-EACH to make behaviour
Stephen Adams [Thu, 7 Nov 1996 21:57:58 +0000 (21:57 +0000)]
Changed an occurence of MAP to FOR-EACH to make behaviour
deterministic.  Added variables `debugger-show-inner-frame-topmost?'
and `debugger-compact-display?' to control the display of information.

28 years agoRevised Wdinows installation instructions.
Stephen Adams [Tue, 5 Nov 1996 17:00:09 +0000 (17:00 +0000)]
Revised Wdinows installation instructions.

28 years agoDon't purge the header database when updating the server info. This
Chris Hanson [Mon, 28 Oct 1996 00:13:58 +0000 (00:13 +0000)]
Don't purge the header database when updating the server info.  This
caused the newsreader startup to be extremely slow.

28 years agoDon't purge header database when reading headers in; this
Chris Hanson [Mon, 28 Oct 1996 00:12:29 +0000 (00:12 +0000)]
Don't purge header database when reading headers in; this
unnecessarily slows down the header-reading process.

28 years agoSynchronize action of XTERM-SCREEN/ENTER! until after the window is
Chris Hanson [Thu, 24 Oct 1996 16:29:46 +0000 (16:29 +0000)]
Synchronize action of XTERM-SCREEN/ENTER! until after the window is
properly mapped on the screen.  This will hopefully eliminate the
weird race condition that has been causing so many errors.

28 years agoFix bug that can cause a SIGSEGV.
Chris Hanson [Thu, 24 Oct 1996 16:14:04 +0000 (16:14 +0000)]
Fix bug that can cause a SIGSEGV.

28 years agoChange NEWS-HEADER:GUARANTEE-FULL-TEXT! so that it stores the header
Chris Hanson [Thu, 24 Oct 1996 03:17:48 +0000 (03:17 +0000)]
Change NEWS-HEADER:GUARANTEE-FULL-TEXT! so that it stores the header
text after it is fetched.  This is necessary to allow off-line reading
to work properly.

28 years agoChange code that joins and splits threads on the basis of subject.
Chris Hanson [Wed, 23 Oct 1996 22:59:36 +0000 (22:59 +0000)]
Change code that joins and splits threads on the basis of subject.
This code is now more discriminating than previously.

28 years agoWhen reading in context headers, mark them as ignored when necessary.
Chris Hanson [Wed, 23 Oct 1996 22:58:42 +0000 (22:58 +0000)]
When reading in context headers, mark them as ignored when necessary.
Also, delete entire threads of "seen" context headers.

28 years agoWhen reading in context headers, mark them as ignored when necessary.
Chris Hanson [Wed, 23 Oct 1996 22:14:22 +0000 (22:14 +0000)]
When reading in context headers, mark them as ignored when necessary.
Also, delete entire threads of "seen" context headers.

28 years agoFix another thinko.
Chris Hanson [Tue, 15 Oct 1996 20:19:20 +0000 (20:19 +0000)]
Fix another thinko.

28 years agoFix thinko.
Chris Hanson [Tue, 15 Oct 1996 19:42:29 +0000 (19:42 +0000)]
Fix thinko.

28 years agoFix bug: try harder to open the database files.
Chris Hanson [Tue, 15 Oct 1996 19:34:26 +0000 (19:34 +0000)]
Fix bug: try harder to open the database files.

28 years agoChanges to news reader.
Chris Hanson [Tue, 15 Oct 1996 19:05:46 +0000 (19:05 +0000)]
Changes to news reader.

28 years ago* Add new switches:
Chris Hanson [Tue, 15 Oct 1996 19:04:59 +0000 (19:04 +0000)]
* Add new switches:
    news-group-keep-seen-headers
    news-group-show-seen-headers

* Change default for news-group-show-context-headers.

* Change binding of news-toggle-online to shift-O.

* Change code that collapses and expands threads so that only those
  threads that need to be changed are actually rewritten.

* Add "B" marker in header lines to show which messages have
  associated bodies stored in the new body database.

* Add command news-read-marked-bodies (bound to "r") to read the
  marked bodies in a news-group buffer.

* Make noticeable change to the performance of header-parsing code, in
  order to support groups with very large numbers of headers.

28 years ago* Add database for message bodies.
Chris Hanson [Tue, 15 Oct 1996 18:58:27 +0000 (18:58 +0000)]
* Add database for message bodies.

* Modify handling of message-header database so that messages are
  keyed by ID as well as by number.

* Purge obsolete headers from the cache and database when the server
  info is updated.

* Change format in which headers are stored in database to improve
  performance.

* Use gdbm_fastmode for database files at all times.

* Various small performance tweaks to header-parsing code.

* Change thread organizing code to separate the switch for context
  headers from the switch allowing server probes.

28 years agoMake sure that groups are tracked after being unsubscribed so that
Chris Hanson [Mon, 14 Oct 1996 05:06:22 +0000 (05:06 +0000)]
Make sure that groups are tracked after being unsubscribed so that
they will be deleted from the groups list when their "article-seen"
information is irrelevant.  Save groups list whenever a group buffer
is killed, to help insure consistency between the groups list and the
header cache.

28 years agoGeneralize how RMAIL looks for the spool directory and the movemail
Chris Hanson [Thu, 10 Oct 1996 10:30:00 +0000 (10:30 +0000)]
Generalize how RMAIL looks for the spool directory and the movemail
program.

28 years agoNow that microcode implements directory-reading properly, use the OS/2
Chris Hanson [Wed, 9 Oct 1996 15:44:46 +0000 (15:44 +0000)]
Now that microcode implements directory-reading properly, use the OS/2
directory reader for Win32.  This is implemented by moving the
directory reader to "dosfile.scm", since we aren't supporting DOS any
more.

28 years agoNow that microcode implements directory-reading properly, use the OS/2
Chris Hanson [Wed, 9 Oct 1996 15:43:24 +0000 (15:43 +0000)]
Now that microcode implements directory-reading properly, use the OS/2
directory reader for Win32 rather than the DOS directory.

28 years agoFix font-selection code so that it will allow selection of raster
Chris Hanson [Wed, 9 Oct 1996 15:41:36 +0000 (15:41 +0000)]
Fix font-selection code so that it will allow selection of raster
fonts.

28 years agoFix directory reader so that wildcarding is done by the Win32 API
Chris Hanson [Wed, 9 Oct 1996 15:40:15 +0000 (15:40 +0000)]
Fix directory reader so that wildcarding is done by the Win32 API
rather than Scheme code.  This improves performance and makes the
wildcarding work as in other Win32 programs.  Also implement
OS_directory_read_matching which improves performance of completion in
Edwin.

28 years agoFurther refine the error-catching code in X-WINDOW-SET-INPUT-FOCUS.
Chris Hanson [Tue, 8 Oct 1996 20:21:14 +0000 (20:21 +0000)]
Further refine the error-catching code in X-WINDOW-SET-INPUT-FOCUS.
It now catches the error that was causing the problems.

28 years agoWhen creating a new frame, don't select it -- attempting to do this
Chris Hanson [Tue, 8 Oct 1996 20:17:28 +0000 (20:17 +0000)]
When creating a new frame, don't select it -- attempting to do this
causes a race condition that can cause X to signal an error.  Instead,
rely on the window manager to select the window if that is
appropriate.

28 years agoAdjustment for correct Watcom configuration.
Chris Hanson [Tue, 8 Oct 1996 01:32:34 +0000 (01:32 +0000)]
Adjustment for correct Watcom configuration.

28 years agoDefine bits for Win32 attributes.
Chris Hanson [Mon, 7 Oct 1996 18:52:13 +0000 (18:52 +0000)]
Define bits for Win32 attributes.

28 years agoAdjust handling of file modes that are now Win32 attributes rather
Chris Hanson [Mon, 7 Oct 1996 18:51:12 +0000 (18:51 +0000)]
Adjust handling of file modes that are now Win32 attributes rather
than unix mode bits.

28 years agoAdjust dired line layout to accomodate Win32-specific mode string.
Chris Hanson [Mon, 7 Oct 1996 18:21:20 +0000 (18:21 +0000)]
Adjust dired line layout to accomodate Win32-specific mode string.

28 years agoImplement M-x set-frame-size. Fix bug in M-x show-frame-size.
Chris Hanson [Mon, 7 Oct 1996 18:20:31 +0000 (18:20 +0000)]
Implement M-x set-frame-size.  Fix bug in M-x show-frame-size.

28 years agoAdd new procedures ADJUST-WINDOW-RECT, GET-CLIENT-RECT,
Chris Hanson [Mon, 7 Oct 1996 18:17:17 +0000 (18:17 +0000)]
Add new procedures ADJUST-WINDOW-RECT, GET-CLIENT-RECT,
WIN32-SCREEN-WIDTH, and WIN32-SCREEN-HEIGHT.  Fix bug in
GET-DEVICE-CAPS.

28 years agoFix bug: previously, "universal time" was really unix time. This fix
Chris Hanson [Mon, 7 Oct 1996 18:14:27 +0000 (18:14 +0000)]
Fix bug: previously, "universal time" was really unix time.  This fix
does the translation between universal time and unix time.

28 years agoExport new variable EPOCH.
Chris Hanson [Mon, 7 Oct 1996 18:12:20 +0000 (18:12 +0000)]
Export new variable EPOCH.

28 years agoImplement primitives to get the size of the character box in pixels
Chris Hanson [Mon, 7 Oct 1996 18:01:36 +0000 (18:01 +0000)]
Implement primitives to get the size of the character box in pixels
and to set the size of the window.

28 years agoChange font-setting code to interpret the font size in points rather
Chris Hanson [Mon, 7 Oct 1996 17:59:56 +0000 (17:59 +0000)]
Change font-setting code to interpret the font size in points rather
than in logical units.  This makes this code consistent with the
font-setting dialog.

Handle the WM_WINDOWPOSCHANGING message in order to guarantee that the
window is sized to an integral number of characters.

Also, many formatting changes.

28 years agoChange OS_encoded_time to use Win32 API.
Chris Hanson [Mon, 7 Oct 1996 17:56:40 +0000 (17:56 +0000)]
Change OS_encoded_time to use Win32 API.

28 years agoCatch additional error code that can occur when file doesn't exist.
Chris Hanson [Mon, 7 Oct 1996 17:55:38 +0000 (17:55 +0000)]
Catch additional error code that can occur when file doesn't exist.

28 years agoChange file-info primitives to use Win32 API calls instead of C
Chris Hanson [Mon, 7 Oct 1996 17:54:58 +0000 (17:54 +0000)]
Change file-info primitives to use Win32 API calls instead of C
library calls.  Return mode string and mode bits in native format
rather than unix format.

28 years agoChange time decode/encode to use unsigned integer conversions.
Chris Hanson [Mon, 7 Oct 1996 17:52:47 +0000 (17:52 +0000)]
Change time decode/encode to use unsigned integer conversions.