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.
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.
Chris Hanson [Tue, 8 Oct 1996 01:32:34 +0000 (01:32 +0000)]
Adjustment for correct Watcom configuration.
Chris Hanson [Mon, 7 Oct 1996 18:52:13 +0000 (18:52 +0000)]
Define bits for Win32 attributes.
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.
Chris Hanson [Mon, 7 Oct 1996 18:21:20 +0000 (18:21 +0000)]
Adjust dired line layout to accomodate Win32-specific mode string.
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.
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.
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.
Chris Hanson [Mon, 7 Oct 1996 18:12:20 +0000 (18:12 +0000)]
Export new variable EPOCH.
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.
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.
Chris Hanson [Mon, 7 Oct 1996 17:56:40 +0000 (17:56 +0000)]
Change OS_encoded_time to use Win32 API.
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.
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.
Chris Hanson [Mon, 7 Oct 1996 17:52:47 +0000 (17:52 +0000)]
Change time decode/encode to use unsigned integer conversions.
Chris Hanson [Mon, 7 Oct 1996 17:51:47 +0000 (17:51 +0000)]
Add export for screen_char_dimensions.
Chris Hanson [Fri, 4 Oct 1996 19:30:23 +0000 (19:30 +0000)]
Fix bug: interface to OS/BUFFER-BACKUP-PATHNAME was changed and
reference in this file was missed.
Chris Hanson [Fri, 4 Oct 1996 18:48:39 +0000 (18:48 +0000)]
Fix a thinko in the last change.
Stephen Adams [Thu, 3 Oct 1996 14:08:12 +0000 (14:08 +0000)]
Fixed the number of code bits to be correct for either 7 bit or 16 bit
characters.
Chris Hanson [Thu, 3 Oct 1996 04:19:53 +0000 (04:19 +0000)]
Work around bug in GNU make on OS/2: backslash before output
redirection seems to be generating a null-string argument which is
misinterpreted by findprim.
Chris Hanson [Wed, 2 Oct 1996 21:18:08 +0000 (21:18 +0000)]
Many small changes to eliminate errors and warnings when compiling
under Win32 using either Visual C++ 4.0 or Watcom C/C++ 10.6.
Chris Hanson [Wed, 2 Oct 1996 21:14:10 +0000 (21:14 +0000)]
Many small changes to eliminate errors and warnings when compiling
under Win32 using either Visual C++ 4.0 or Watcom C/C++ 10.6.
Chris Hanson [Wed, 2 Oct 1996 19:17:34 +0000 (19:17 +0000)]
Many small changes to eliminate errors and warnings when compiling
under Win32 using either Visual C++ 4.0 or Watcom C/C++ 10.6.
Chris Hanson [Wed, 2 Oct 1996 19:01:40 +0000 (19:01 +0000)]
Many small changes to eliminate errors and warnings when compiling
under Win32 using either Visual C++ 4.0 or Watcom C/C++ 10.6.
Chris Hanson [Wed, 2 Oct 1996 18:53:21 +0000 (18:53 +0000)]
Changes that result in a successful build with the Watcom compiler.
Chris Hanson [Wed, 2 Oct 1996 18:51:15 +0000 (18:51 +0000)]
Initial revision
Chris Hanson [Wed, 2 Oct 1996 17:59:40 +0000 (17:59 +0000)]
Fix bug: use of "tiny" memory model causes Watcom linker to produce
invalid executable. The memory model is irrelevant here, anyway,
since there are no references to memory in this code.
Chris Hanson [Wed, 2 Oct 1996 17:00:35 +0000 (17:00 +0000)]
Add new OS-specific procedure DIRED-PATHNAME-WILD? so that unix can
support the full range of filename expansion provided by the shell.
Chris Hanson [Tue, 1 Oct 1996 05:55:55 +0000 (05:55 +0000)]
Eliminate duplicate bindings differing only in case in bindings lists.