Chris Hanson [Thu, 18 Jun 1998 19:13:51 +0000 (19:13 +0000)]
Add code to detect NTFS file system under Linux.
Chris Hanson [Thu, 18 Jun 1998 19:11:14 +0000 (19:11 +0000)]
Add code to detect NTFS file system under Linux.
Chris Hanson [Sun, 7 Jun 1998 08:27:38 +0000 (08:27 +0000)]
Add usual-integrations declaration to constructor/loader definitions
to eliminate compiler warning.
Chris Hanson [Sun, 7 Jun 1998 08:25:02 +0000 (08:25 +0000)]
Fix quoting problem associated with #!aux parsing.
Chris Hanson [Sun, 7 Jun 1998 08:19:11 +0000 (08:19 +0000)]
Implement C-c C-l, C-c C-o, and C-c C-u as in shell buffers.
Chris Hanson [Sun, 7 Jun 1998 08:18:13 +0000 (08:18 +0000)]
Generalize code that refers to process mark so that it can be used in
an inferior-repl buffer. In coming-flush-output, don't flush output
unless there is some.
Chris Hanson [Sun, 7 Jun 1998 08:14:37 +0000 (08:14 +0000)]
Fix bug: C-u M-A was not inserting args when one of the #! tokens
appeared in the argument list.
Chris Hanson [Mon, 1 Jun 1998 05:49:43 +0000 (05:49 +0000)]
Use in-buffer prompt to handle errors in the REPL buffer. The
modeline prompt was very intrusive and couldn't be aborted out of.
The new mechanism reads input exactly as the in-buffer debugger does,
and can be aborted.
Chris Hanson [Mon, 1 Jun 1998 05:40:37 +0000 (05:40 +0000)]
Most of the time, it's useful to use the global environment if a
particular package isn't loaded.
Chris Hanson [Sun, 31 May 1998 03:20:22 +0000 (03:20 +0000)]
Change TEMPORARY-FILE-PATHNAME to allow a directory to be specified.
Chris Hanson [Mon, 18 May 1998 03:07:59 +0000 (03:07 +0000)]
Fix thinko.
Chris Hanson [Mon, 18 May 1998 03:04:27 +0000 (03:04 +0000)]
Fix pagination.
Chris Hanson [Mon, 18 May 1998 03:02:53 +0000 (03:02 +0000)]
Add warning to be printed when the file being syntaxed doesn't have
USUAL-INTEGRATIONS. Fix pagination.
Chris Hanson [Tue, 5 May 1998 02:15:08 +0000 (02:15 +0000)]
Fix bugs in handling of ENVIRONMENT-ASSIGNABLE? and
ENVIRONMENT-ASSIGN! that are the analogs of the bug in
ENVIRONMENT-LOOKUP that was fixed in the previous revision.
Chris Hanson [Tue, 5 May 1998 00:24:29 +0000 (00:24 +0000)]
Fix bug: ENVIRONMENT-LOOKUP did not look at parent environments if the
environment being operated on was a compiled-code environment.
Instead, it bombed with a type error.
Chris Hanson [Mon, 4 May 1998 18:43:39 +0000 (18:43 +0000)]
Add operations to read or delete the min/max elements of a tree.
Chris Hanson [Fri, 1 May 1998 04:32:56 +0000 (04:32 +0000)]
Change the test used to determine if SCHEME-ENVIRONMENT is being set
to a package name.
Chris Hanson [Thu, 30 Apr 1998 22:24:48 +0000 (22:24 +0000)]
Fix ENVIRONMENT-SYNTAX-TABLE so that it works for compiled-code
environments.
Chris Hanson [Thu, 30 Apr 1998 22:15:43 +0000 (22:15 +0000)]
Don't convert package names to environments when binding the
SCHEME-ENVIRONMENT buffer variable -- this is a screw when reloading
packages. Also, use new ENVIRONMENT-SYNTAX-TABLE to determine the
default syntax table to be used when evaluating.
Chris Hanson [Thu, 30 Apr 1998 21:32:41 +0000 (21:32 +0000)]
Use new mechanism to bind syntax tables to environments.
Chris Hanson [Thu, 30 Apr 1998 21:31:11 +0000 (21:31 +0000)]
Add mechanism to associate syntax tables with environments.
Chris Hanson [Thu, 30 Apr 1998 21:28:38 +0000 (21:28 +0000)]
Add mechanism to associate syntax tables with environments.
Chris Hanson [Thu, 30 Apr 1998 18:06:04 +0000 (18:06 +0000)]
Change sort routines so that both merge and quick sort can be loaded
at the same time. As before, SORT and SORT! default to merge sort.
Chris Hanson [Tue, 28 Apr 1998 03:57:20 +0000 (03:57 +0000)]
Fix bug: internal definitions weren't being handled by DEFINE-METHOD.
Chris Hanson [Sat, 18 Apr 1998 05:40:42 +0000 (05:40 +0000)]
Add primitive WIN32-VIRTUAL-QUERY, which is a direct interface to the
Win32 VirtualQuery API call. This is very useful for examining
Scheme's address space.
Chris Hanson [Sat, 18 Apr 1998 05:39:44 +0000 (05:39 +0000)]
Add mechanism to reserve the largest available block of memory below
0x04000000 at the earliest possible moment. This maximizes the amount
of memory available for Scheme's heap. Unfortunately, it still isn't
very much space compared to other platforms, and under Visual C++ it
isn't even as much as that provided by Watcom C/C++. I don't know why
this is so poor, or whether there is anything to be done about it.
Chris Hanson [Sat, 18 Apr 1998 05:36:15 +0000 (05:36 +0000)]
Use external debugging info (-Zi) and map the program text above
0x04000000 so that it minimally interferes with Scheme's heap.
Chris Hanson [Sat, 18 Apr 1998 05:32:48 +0000 (05:32 +0000)]
Define WINNT_RAW_ADDRESSES -- alternative isn't used any longer and
has a small time penalty.
Chris Hanson [Thu, 16 Apr 1998 06:27:06 +0000 (06:27 +0000)]
Make screen_y_extra patch more clever so that it works right under
Watcom and Visual C++.
Chris Hanson [Thu, 16 Apr 1998 06:06:51 +0000 (06:06 +0000)]
Add resources to executables.
Chris Hanson [Thu, 16 Apr 1998 06:06:26 +0000 (06:06 +0000)]
Fix two bugs under Visual C++: System-menu icon was wrong, and window
height was off by one pixel.
Chris Hanson [Thu, 16 Apr 1998 06:05:39 +0000 (06:05 +0000)]
Tweak inline assembly code for Visual C++.
Chris Hanson [Thu, 16 Apr 1998 04:20:55 +0000 (04:20 +0000)]
Changes to support crypto/gdbm DLLs.
Chris Hanson [Tue, 14 Apr 1998 05:13:58 +0000 (05:13 +0000)]
Changes to get microcode working when compiled with Microsoft Visual
C++ version 5.0.
Chris Hanson [Fri, 10 Apr 1998 16:32:10 +0000 (16:32 +0000)]
Don't signal error when user requests a DIRECTORY-READ on a pattern
that matches no files.
Chris Hanson [Wed, 1 Apr 1998 08:16:28 +0000 (08:16 +0000)]
Be more aggressive about dropping pointers to streams when traversing
them. Provide more accurate error messages for malformed streams.
Chris Hanson [Tue, 31 Mar 1998 20:04:18 +0000 (20:04 +0000)]
Eliminate numerous brain-damaged references (mea culpa!) to the head
of a stream in procedures that map down the stream.
Fix a premature-dereference bug in STREAM-MAP.
Chris Hanson [Tue, 31 Mar 1998 08:41:43 +0000 (08:41 +0000)]
Fix thinko -- random-state objects must have unparser.
Chris Hanson [Sun, 29 Mar 1998 08:34:32 +0000 (08:34 +0000)]
Don't signal error when user requests a DIRECTORY-READ on a pattern
that matches no files.
Chris Hanson [Fri, 20 Mar 1998 22:02:26 +0000 (22:02 +0000)]
Change name of Linux sigcontext structure, because RedHat defines a
conflicting structure in their newer releases.
Chris Hanson [Thu, 19 Mar 1998 20:29:52 +0000 (20:29 +0000)]
Implement SEPARATOR option to DEFINE-CLASS.
Chris Hanson [Thu, 19 Mar 1998 20:28:57 +0000 (20:28 +0000)]
Document SEPARATOR option to DEFINE-CLASS.
Chris Hanson [Wed, 11 Mar 1998 22:06:53 +0000 (22:06 +0000)]
Reset tag-table locations after reading dir file.
Chris Hanson [Mon, 9 Mar 1998 05:17:52 +0000 (05:17 +0000)]
Fix bug: illegal auto-save filenames were being generated on NTFS and
VFAT.
Chris Hanson [Mon, 9 Mar 1998 04:32:56 +0000 (04:32 +0000)]
Restrict parsing of device so that it requires a single letter.
Chris Hanson [Mon, 9 Mar 1998 03:44:18 +0000 (03:44 +0000)]
Export STRING->CHAR-SET, added in 1995 but obviously never used.
Chris Hanson [Sun, 8 Mar 1998 08:25:25 +0000 (08:25 +0000)]
Add ability to prompt for inferior-REPL errors just as is done for
ordinary buffer evaluation. Make this prompting the default.
Chris Hanson [Sun, 8 Mar 1998 07:31:19 +0000 (07:31 +0000)]
Fix thinko in previous change.
Chris Hanson [Sun, 8 Mar 1998 07:26:25 +0000 (07:26 +0000)]
Change interface procedure DEBUG-SCHEME-ERROR so that it returns if
the user opts not to enter the debugger. Also, do a better job of
presenting the error message to the user when asking whether to start
the debugger.
Chris Hanson [Sun, 8 Mar 1998 07:14:11 +0000 (07:14 +0000)]
Add argument to callers of POP-UP-TEMPORARY-BUFFER so that they can
pass properties through.
Chris Hanson [Sat, 7 Mar 1998 08:54:02 +0000 (08:54 +0000)]
Tweak error-reporting mechanism to make it more reliable. Trouble is
that this isn't the right place for it -- it should be integrated into
the debugger interface.
Chris Hanson [Wed, 4 Mar 1998 21:15:17 +0000 (21:15 +0000)]
Export (inexplicably missing) stream procedures.
Chris Hanson [Mon, 2 Mar 1998 19:05:12 +0000 (19:05 +0000)]
Add missing documentation for various commands.
Chris Hanson [Mon, 2 Mar 1998 18:55:12 +0000 (18:55 +0000)]
Add documentation for c-m-i and m-A.
Chris Hanson [Mon, 23 Feb 1998 05:37:47 +0000 (05:37 +0000)]
Add stupid mechanism to break cycles in reference graphs. This
doesn't try to do a good job -- it just breaks them at the point where
they are discovered. After having used this program for over a year,
the cycle I just ran across was the first, out of perhaps 100,000
messages or more, so this is an unusual occurrence.
Chris Hanson [Sun, 22 Feb 1998 08:48:02 +0000 (08:48 +0000)]
Eliminate BKPT macro in favor of procedure. The macro used
(THE-ENVIRONMENT), which screwed the compiler. The procedure uses the
environment of the first subproblem of the continuation of the call,
which in many cases is the same thing.
The effect of the old BKPT macro can still be achieved by writing
(breakpoint-procedure (the-environment) ...)
Stephen Adams [Sun, 22 Feb 1998 00:17:32 +0000 (00:17 +0000)]
The previous change caused LAPOPT to take huge amounts of time (65% of
compile time). Reverted to old matcher and patterns (about 5%) and
added a hash table dispatch to make LAPOPT's time insignificant (now
<1%).
Stephen Adams [Sat, 21 Feb 1998 21:45:18 +0000 (21:45 +0000)]
Changed open-coding of range checks to use unsigned comparison which
checks the high and low limits in one operation. Range checks without
an upper bound generate an INDEX-FIXNUM check. Open coding of
INDEX-FIXNUM still needs to be implemented on the MIPS.
Chris Hanson [Sat, 21 Feb 1998 20:24:53 +0000 (20:24 +0000)]
Fix typo.
Stephen Adams [Thu, 19 Feb 1998 21:29:38 +0000 (21:29 +0000)]
There was a subtle problem with the interrupt check determining code.
The old code was lazy about searching the rgraph to determine if entry
points and exit points were leaf-like. It explored the whole tree
when when it found some entry RTL. This is a problem in the case of
expressions since expressions have no distinguished entry RTL. Thus
LAP was generated for some expression bblocks before the search took
place. This is a problem because the LAP instructions replace the RTL
instructions, and the RTL is needed to determine the interrupt checks.
The whole compiler staged only because type-checking is turned off by
default. The RINST-INSN field is a (vector-ref 0), which, when
unchecked, fortuitously happened to load the CDR of the LAP, which
then proceeded to gracefully fail the RTL predicates.
The solution is to introduce a PRE-LAPGEN-ANALYSIS procedure to to
machine dependent analysis immediately prior to LAP generation.
The analysis for the i386 back end does the original analysis.
The other back ends do nothing.
Stephen Adams [Thu, 19 Feb 1998 20:55:06 +0000 (20:55 +0000)]
Fixed abstraction violations where '() was being used instead of (LAP).
Stephen Adams [Thu, 19 Feb 1998 08:56:27 +0000 (08:56 +0000)]
Improved patterns for (fix:* n 2) and (fix:lsh n -1)
Stephen Adams [Wed, 18 Feb 1998 07:57:55 +0000 (07:57 +0000)]
Improved search for target register - stronger preference for ST(0) as
result of unary or binary flonum operations.
Load flonum constants pc-relative rather than (double indirect) via
constants block. Load flonum constants as 32 bit constants if
possible since this avoids mis-alignment penalty.
Stephen Adams [Wed, 18 Feb 1998 07:56:05 +0000 (07:56 +0000)]
Changes to improve flonum code.
Prefer ST(0) over other registers as a target for flonum operations.
- lapgen: sort-machine-registers
- rulflo: improved search for target register
- rulrew: accept any flonum constants, not just 0.0 and 1.0
Stephen Adams [Wed, 18 Feb 1998 07:46:55 +0000 (07:46 +0000)]
Better rules for (fix:lsh ? <constant>)
Stephen Adams [Tue, 17 Feb 1998 20:43:37 +0000 (20:43 +0000)]
Added missing opcode: FADDP
Chris Hanson [Mon, 16 Feb 1998 23:00:35 +0000 (23:00 +0000)]
Change mechanism used to signal the no-current-thread error. Previous
mechanism tried to directly signal the error, which results in
divergence. New mechanism sends the error to the console thread, or
ignores the error if there is no console thread.
Modify blocking code to catch any errors that occur while blocked.
These errors are being signalled in the no-current-thread state, and
must be resignalled to the console thread (again, they are ignored if
there is no console thread).
Modify several thread operations to be no-ops in the no-current-thread
state, rather than signalling an error.
Implement new procedure CONSOLE-THREAD.
Chris Hanson [Mon, 16 Feb 1998 03:55:28 +0000 (03:55 +0000)]
Fix apparently irrelevant thinko.
Chris Hanson [Mon, 16 Feb 1998 03:50:14 +0000 (03:50 +0000)]
Fix apparently irrelevant thinko.
Stephen Adams [Sat, 14 Feb 1998 07:12:14 +0000 (07:12 +0000)]
Generalized patterns for OR and AND.
Stephen Adams [Sat, 14 Feb 1998 00:52:23 +0000 (00:52 +0000)]
Merged in changes that eliminate interrupt checks in leaf-like
procedures.
Stephen Adams [Sat, 14 Feb 1998 00:06:37 +0000 (00:06 +0000)]
zero? -> fix:zero?
Stephen Adams [Fri, 13 Feb 1998 23:53:21 +0000 (23:53 +0000)]
Change arithmetic in loops to fixnum arithmetic.
Stephen Adams [Fri, 13 Feb 1998 22:25:32 +0000 (22:25 +0000)]
Update CHAR-CODE-LIMIT and CHAR-INTEGER-LIMIT for wide characters.
This should have been part of the previous update, but these constants
are unused, so no harm done.
Chris Hanson [Fri, 13 Feb 1998 19:40:56 +0000 (19:40 +0000)]
Fix two bugs that occur when using revisions off the main branch.
Chris Hanson [Thu, 12 Feb 1998 06:11:50 +0000 (06:11 +0000)]
Fix thinko in previous change.
Chris Hanson [Thu, 12 Feb 1998 06:08:47 +0000 (06:08 +0000)]
Eliminate "system" datatype. Replace it by a simpler "subsystem
identification" mechanism.
Chris Hanson [Thu, 12 Feb 1998 06:03:15 +0000 (06:03 +0000)]
Eliminate "system" datatype. Replace it by a simpler "subsystem
identification" mechanism.
Chris Hanson [Thu, 12 Feb 1998 05:58:12 +0000 (05:58 +0000)]
Eliminate "system" datatype. Replace it by a simpler "subsystem
identification" mechanism.
Chris Hanson [Thu, 12 Feb 1998 05:41:58 +0000 (05:41 +0000)]
Change to use ADD-IDENTIFICATION! rather than ADD-SYSTEM!.
Chris Hanson [Thu, 12 Feb 1998 04:43:42 +0000 (04:43 +0000)]
Change to use ADD-IDENTIFICATION! rather than ADD-SYSTEM!.
Chris Hanson [Thu, 12 Feb 1998 04:31:37 +0000 (04:31 +0000)]
Change ADD-SYSTEM! to replace an existing entry of the same name.
Chris Hanson [Thu, 12 Feb 1998 04:28:25 +0000 (04:28 +0000)]
Change to use ADD-IDENTIFICATION! rather than ADD-SYSTEM!.
Chris Hanson [Thu, 12 Feb 1998 02:58:27 +0000 (02:58 +0000)]
Use common loader for compiler.
Chris Hanson [Thu, 12 Feb 1998 02:54:27 +0000 (02:54 +0000)]
Change to use ADD-IDENTIFICATION! rather than ADD-SYSTEM!.
Stephen Adams [Wed, 11 Feb 1998 21:53:17 +0000 (21:53 +0000)]
Fix bug where char* was refusing strings.
Chris Hanson [Wed, 11 Feb 1998 05:16:46 +0000 (05:16 +0000)]
Undo previous change, but add global variable
*ALLOW-PACKAGE-REDEFINITION?* that, if true, allows packages to be
redefined. Intent is that this variable will be fluid-bound by
programs that want to be reloadable.
Chris Hanson [Wed, 11 Feb 1998 05:02:16 +0000 (05:02 +0000)]
Add code to map the 8th bit of an incoming character to the meta bit.
Chris Hanson [Wed, 11 Feb 1998 04:50:31 +0000 (04:50 +0000)]
Change default: PACKAGE/ADD-CHILD! previously allowed redefinition of
a package child only when the optional argument was true. Now,
redefinition is always allowed _unless_ the optional argument is true.
Additionally, when a package is redefined, all of its child packages
are deleted.
The motivation for this change is to allow reloading of software
subsystems that use the package abstraction. Previously, once such a
subsystem was loaded, it could not be reloaded without restarting
Scheme.
Chris Hanson [Sun, 1 Feb 1998 06:42:49 +0000 (06:42 +0000)]
Rewrite OS/BUFFER-BACKUP-PATHNAME to use the algorithm from
"dosfile.scm". This fixes the bug that caused compressed backup files
to be ignored when computing the name of a numeric backup file.
Chris Hanson [Sun, 1 Feb 1998 05:54:42 +0000 (05:54 +0000)]
Accept a wider range of error codes as valid reasons why a given file
might be inaccessible.
Chris Hanson [Sun, 1 Feb 1998 05:35:41 +0000 (05:35 +0000)]
Disable critical-error and GPF pop-up boxes.
Chris Hanson [Sun, 1 Feb 1998 05:17:47 +0000 (05:17 +0000)]
Patch loader so that debugging info will work on other systems.
Chris Hanson [Sun, 1 Feb 1998 05:13:23 +0000 (05:13 +0000)]
Move with-saved-configuration to Edwin proper. This will eliminate
unassigned-variable bug in LOAD-PS-COPY-FILE when running in contexts
where "floppy.scm" isn't loaded.
Chris Hanson [Sun, 1 Feb 1998 05:12:21 +0000 (05:12 +0000)]
Implement mechanism to save a screen configuration for a given dynamic
extent.
Chris Hanson [Fri, 30 Jan 1998 09:46:06 +0000 (09:46 +0000)]
Don't activate graphics windows when they are created.
Chris Hanson [Fri, 30 Jan 1998 09:07:25 +0000 (09:07 +0000)]
Implement workaround for fatal Windows NT bug. The bug crashes NT 4.0
and can be recreated by creating a number of graphics windows and then
closing them with their close buttons. The workaround disables the
close button.
Chris Hanson [Thu, 29 Jan 1998 06:05:44 +0000 (06:05 +0000)]
Implement procedure to return the size of the display root window.
Chris Hanson [Thu, 29 Jan 1998 05:48:38 +0000 (05:48 +0000)]
Add new primitive to return the size of the root window of a display.
Chris Hanson [Fri, 23 Jan 1998 05:26:51 +0000 (05:26 +0000)]
Finish previous change so that no reference is made to the Edwin info
directory at the time that the band is made.