Chris Hanson [Thu, 20 Feb 1997 05:26:20 +0000 (05:26 +0000)]
Fix typo in translation of unix time to NT file time.
Chris Hanson [Thu, 13 Feb 1997 02:24:02 +0000 (02:24 +0000)]
Update documentation for FLONUM-UNPARSER-CUTOFF. Change names for
x-graphics procedures to match code.
Chris Hanson [Wed, 12 Feb 1997 08:23:35 +0000 (08:23 +0000)]
Move only reference to COMPILE_STEPPER from "scheme.h" to "interp.c",
since that is the only file affected. Also, the previous location of
this reference prevented the assignment in "config.h" from being
properly seen.
Chris Hanson [Wed, 12 Feb 1997 08:08:16 +0000 (08:08 +0000)]
Fix thinko from change to implement "krypt" support.
Chris Hanson [Wed, 12 Feb 1997 08:00:19 +0000 (08:00 +0000)]
Fix what appears to have been a thinko in the rounding of
floating-point printed representations. This fix prevents the code
from diverging with certain combinations of numbers and rounding
modes. An example that caused this problem:
(set! flonum-unparser-cutoff '(relative 4))
(/ (* 10e3 100e-15))
I'm not entirely convinced I understand the problem at this point; I
don't have a copy of the paper at hand to remind me how the printer
algorithm works. But the change fixes the bug, seems to work
correctly on other test cases, and matches what my partial
understanding says should be happening.
Chris Hanson [Sat, 8 Feb 1997 07:08:43 +0000 (07:08 +0000)]
Fix bug in C indentation.
Chris Hanson [Wed, 5 Feb 1997 19:03:58 +0000 (19:03 +0000)]
Add hack suggested by "amu@mit.edu (Aaron M. Ucko)" to locally bind
the BackSpace key to DEL.
Chris Hanson [Sat, 25 Jan 1997 10:38:36 +0000 (10:38 +0000)]
Fix bug: code for make-decoded-time can easily signal an error when
the time being represented is earlier than 1970 on a unix machine.
Fix allows such times to be represented, but without filling in
day-of-week, timezone, and daylight-savings fields.
Chris Hanson [Wed, 22 Jan 1997 20:44:39 +0000 (20:44 +0000)]
* Fix bug in INPUT-BUFFER/DISCARD-CHAR: was not doing anything if the
input buffer was empty.
* Change INPUT-BUFFER/READ-SUBSTRING to read a whole buffer from the
input channel if the required number of characters is less than the
size of the buffer.
* Change INPUT-BUFFER/READ-SUBSTRING to continue reading from the
input channel until the substring is filled or the channel has no
more characters available. This is a correct fix for the change
made in revision 14.47; this fix does a probe of the channel to
determine if there are any characters immediately available.
Previous to 14.47 the procedure might have blocked waiting for input
that was not ready, even if it had already partly filled the
substring. Now it will immediately return any characters that are
available, and block only when nothing is available.
Chris Hanson [Wed, 15 Jan 1997 07:09:05 +0000 (07:09 +0000)]
Fix call to APPEND-TO-FILE that should have been patched in the
previous change.
Chris Hanson [Fri, 10 Jan 1997 08:00:17 +0000 (08:00 +0000)]
Generalize version-number handling to detect IBM's continued use of
version numbers such as 2.4 rather than 4.0.
Chris Hanson [Mon, 6 Jan 1997 00:18:19 +0000 (00:18 +0000)]
Use new directory reader to get better attribute information from
Win32. This requires microcode 11.156 and runtime 14.172.
Chris Hanson [Sun, 5 Jan 1997 23:46:13 +0000 (23:46 +0000)]
Use new directory reader to get better attribute information from
Win32. This requires microcode 11.156 and runtime 14.172.
Chris Hanson [Sun, 5 Jan 1997 23:45:13 +0000 (23:45 +0000)]
Add new file to customize Win32 directory reader. Extend Win32 file
attributes vector to include the mode bits. This version of the
runtime system requires microcode 11.156 or later.
Chris Hanson [Sun, 5 Jan 1997 23:43:10 +0000 (23:43 +0000)]
Initial revision
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.
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.
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.
Chris Hanson [Sun, 5 Jan 1997 23:37:21 +0000 (23:37 +0000)]
Add new system call.
Chris Hanson [Sun, 5 Jan 1997 23:36:47 +0000 (23:36 +0000)]
Add dependencies for ntapi.h.
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.
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.
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.
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.
Chris Hanson [Thu, 2 Jan 1997 05:23:15 +0000 (05:23 +0000)]
Eliminate compiler warnings generated under NT.
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.
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.
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.
Chris Hanson [Wed, 1 Jan 1997 22:58:34 +0000 (22:58 +0000)]
Initial revision
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.
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.
Chris Hanson [Wed, 1 Jan 1997 10:10:34 +0000 (10:10 +0000)]
Disable byte alignment for windows created by Scheme.
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".
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".
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.
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.
Chris Hanson [Tue, 24 Dec 1996 22:32:15 +0000 (22:32 +0000)]
Simplify OS/BACKUP-BUFFER? to be consistent with Emacs 19.
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.
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.
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.
Chris Hanson [Mon, 16 Dec 1996 04:57:32 +0000 (04:57 +0000)]
Preserve time stamp of file when reverting to previous revision.
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.
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.
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.
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.
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.
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.
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.
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.
Chris Hanson [Mon, 9 Dec 1996 21:17:38 +0000 (21:17 +0000)]
Fix bug with missing variable binding.
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.)
Chris Hanson [Sat, 7 Dec 1996 22:23:52 +0000 (22:23 +0000)]
Initial revision
Chris Hanson [Sat, 7 Dec 1996 07:32:57 +0000 (07:32 +0000)]
Fix thinko in recent change.
Chris Hanson [Sat, 7 Dec 1996 07:25:31 +0000 (07:25 +0000)]
Fix thinko in recent change.
Chris Hanson [Fri, 6 Dec 1996 22:34:08 +0000 (22:34 +0000)]
Add support for encrypted files.
Stephen Adams [Fri, 6 Dec 1996 17:14:56 +0000 (17:14 +0000)]
Initial revision
Stephen Adams [Fri, 6 Dec 1996 17:07:43 +0000 (17:07 +0000)]
Initial revision
Stephen Adams [Fri, 6 Dec 1996 06:13:08 +0000 (06:13 +0000)]
Added HL-SIM to systems.
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.
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.
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).
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.
Chris Hanson [Sat, 30 Nov 1996 22:17:17 +0000 (22:17 +0000)]
Fix "unused variable" warning.
Stephen Adams [Tue, 26 Nov 1996 17:32:06 +0000 (17:32 +0000)]
Speed up SORT! 45% by using fixnum index arithmetic.
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.
Stephen Adams [Tue, 26 Nov 1996 14:46:17 +0000 (14:46 +0000)]
*** empty log message ***
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.
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.
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
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.
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.
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.
Stephen Adams [Thu, 14 Nov 1996 22:14:06 +0000 (22:14 +0000)]
Fixed '() <--> #F bug in FIND-TK-PROTECTION-LIST-FROM-NUMBER.
Stephen Adams [Wed, 13 Nov 1996 22:15:28 +0000 (22:15 +0000)]
reverted change but left both #defines of KERNEL_FILE in place.
Stephen Adams [Wed, 13 Nov 1996 22:09:05 +0000 (22:09 +0000)]
Changed to look for both hpux9 and hpux10 kernel files.
Stephen Adams [Sun, 10 Nov 1996 05:59:09 +0000 (05:59 +0000)]
Added the disassembler back into the normal system.
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.
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.
Stephen Adams [Tue, 5 Nov 1996 17:00:09 +0000 (17:00 +0000)]
Revised Wdinows installation instructions.
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.
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.
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.
Chris Hanson [Thu, 24 Oct 1996 16:14:04 +0000 (16:14 +0000)]
Fix bug that can cause a SIGSEGV.
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.
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.
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.
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.
Chris Hanson [Tue, 15 Oct 1996 20:19:20 +0000 (20:19 +0000)]
Fix another thinko.
Chris Hanson [Tue, 15 Oct 1996 19:42:29 +0000 (19:42 +0000)]
Fix thinko.
Chris Hanson [Tue, 15 Oct 1996 19:34:26 +0000 (19:34 +0000)]
Fix bug: try harder to open the database files.
Chris Hanson [Tue, 15 Oct 1996 19:05:46 +0000 (19:05 +0000)]
Changes to news reader.
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.
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.
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.
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.
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.
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.
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.
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.
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.