Chris Hanson [Thu, 5 Jan 1995 23:48:27 +0000 (23:48 +0000)]
IBM's OS/2 C runtime library doesn't have `environ' -- instead it has
`_environ', which is equivalent -- so add a conditionalized
definition.
Chris Hanson [Thu, 5 Jan 1995 23:47:02 +0000 (23:47 +0000)]
Add subprocess changes to "select" support.
Chris Hanson [Thu, 5 Jan 1995 23:45:59 +0000 (23:45 +0000)]
Implement DRIVE-TYPE primitive, which is used to distinguish between
FAT and HPFS file systems where needed. Also, change the appearance
of the "mode string" returned by the FILE-INFO primitive.
Chris Hanson [Thu, 5 Jan 1995 23:43:32 +0000 (23:43 +0000)]
Change implementation of readahead in input channels that require it.
Readahead is now buffered in the input queue by means of a new
operation to push a message back onto the head of the queue. Also,
there is now a mechanism to delay starting the readahead thread until
the first read occurs on the channel -- this is used for input pipes
that are passed to child processes and never read from the Scheme end.
It's important that such pipes not be read from.
Chris Hanson [Thu, 5 Jan 1995 23:39:57 +0000 (23:39 +0000)]
Console must not perform newline translation -- that will be done by
runtime system. Implement changes so that console works correctly
with "translated" input and output.
Chris Hanson [Thu, 5 Jan 1995 23:38:01 +0000 (23:38 +0000)]
Add new system calls needed for OS/2 subprocess support.
Chris Hanson [Thu, 5 Jan 1995 23:36:59 +0000 (23:36 +0000)]
Eliminate "os2api.c" and add new system calls needed for subprocess
support.
Chris Hanson [Thu, 5 Jan 1995 23:36:07 +0000 (23:36 +0000)]
Put serializing lock in OS2_create_queue to guarantee atomic update to
global counter variable.
Chris Hanson [Thu, 5 Jan 1995 23:30:55 +0000 (23:30 +0000)]
Change to use static linking. Add support for subprocesses. Delete
"os2api.c".
Stephen Adams [Thu, 5 Jan 1995 22:46:01 +0000 (22:46 +0000)]
Added primitive INDEX-FIXNUM? from the split typecode system to allow
some runtime files to be merged.
Stephen Adams [Thu, 5 Jan 1995 22:31:00 +0000 (22:31 +0000)]
Added KMP-PROGRAM-SIZE which yields the number of pairs in a
KMP-scheme program. This is indicative of the size of the program.
Stephen Adams [Thu, 5 Jan 1995 22:29:51 +0000 (22:29 +0000)]
Added GROWTH/<phase> statistics to gather information on the ration of
the size of the output of a phase to the input.
Stephen Adams [Thu, 5 Jan 1995 22:28:22 +0000 (22:28 +0000)]
Added min and max to AVERAGE statistic.
Chris Hanson [Thu, 5 Jan 1995 20:21:58 +0000 (20:21 +0000)]
Implement new OS-TYPE-CASE expression; this is used to have
operating-system specific conditionalizations in the package file.
Also change all of the file types generated by CREF to be 3 characters
long instead of 4; the code will automatically rename or delete the
old names when they are seen.
Chris Hanson [Mon, 19 Dec 1994 23:27:34 +0000 (23:27 +0000)]
Can no longer define (edwin win-commands) package because it now
depends on other undefined win32 packages.
Chris Hanson [Mon, 19 Dec 1994 22:32:49 +0000 (22:32 +0000)]
Many changes to support Edwin. Converging on a final design for the
OS/2 support.
Chris Hanson [Mon, 19 Dec 1994 22:29:05 +0000 (22:29 +0000)]
Reconditionalize so that OS/2 is handled much like Windows -- using
message boxes to show fatal output rather than writing it on the
controlling terminal as in unix.
Chris Hanson [Mon, 19 Dec 1994 22:27:33 +0000 (22:27 +0000)]
Add some more OS/2 system calls.
Chris Hanson [Mon, 19 Dec 1994 22:27:11 +0000 (22:27 +0000)]
Fix bug: must use signed character type when doing sign extension.
IBM's OS/2 C compiler makes characters unsigned by default.
Chris Hanson [Mon, 19 Dec 1994 22:26:11 +0000 (22:26 +0000)]
Add support for OS/2 message boxes, and send standard I/O to the
console window.
Chris Hanson [Mon, 19 Dec 1994 22:24:43 +0000 (22:24 +0000)]
Define hook to start interpreter for OS/2, needed in order to trap
exceptions properly, much as in Windows.
Chris Hanson [Mon, 19 Dec 1994 22:23:24 +0000 (22:23 +0000)]
Initial revision
Chris Hanson [Mon, 19 Dec 1994 22:11:51 +0000 (22:11 +0000)]
Merge in changes from split-tag system.
Chris Hanson [Mon, 19 Dec 1994 21:47:21 +0000 (21:47 +0000)]
Merge in changes from split-tag system.
Chris Hanson [Mon, 19 Dec 1994 21:44:25 +0000 (21:44 +0000)]
Merge in changes for OS/2 and from new compiler.
Chris Hanson [Mon, 19 Dec 1994 21:14:09 +0000 (21:14 +0000)]
Change cold-load order to put INITIALIZE-SYSTEM-PRIMITIVES! before the
thread initialization. This is because OS/2 wants to initialize its
select-registry mechanism before the thread initialization attempts to
use it.
Chris Hanson [Mon, 19 Dec 1994 21:12:45 +0000 (21:12 +0000)]
Generalize HARDWARE-TRAP-FRAME/CODE to correctly handle OS/2
exception frames.
Chris Hanson [Mon, 19 Dec 1994 21:10:45 +0000 (21:10 +0000)]
Fix code to do directory simplification better. Eliminate some more
unnecessary restrictions.
Chris Hanson [Mon, 19 Dec 1994 21:08:45 +0000 (21:08 +0000)]
Tweak: OS/2 directory reader directly implements wildcard searches.
Chris Hanson [Mon, 19 Dec 1994 21:08:01 +0000 (21:08 +0000)]
Implement additional support needed for Edwin.
Chris Hanson [Mon, 19 Dec 1994 21:07:34 +0000 (21:07 +0000)]
Add code to handle OS/2 hardware exceptions.
Chris Hanson [Mon, 19 Dec 1994 21:07:03 +0000 (21:07 +0000)]
Add DOS and OS/2 files.
Chris Hanson [Mon, 19 Dec 1994 21:06:39 +0000 (21:06 +0000)]
In COPY-FILE, move mode-setting statement after closing of output
file. This is required under OS/2, since setting the file modes is
prohibited for a file that is opened for writing.
Chris Hanson [Mon, 19 Dec 1994 21:04:13 +0000 (21:04 +0000)]
Implement and use new variable MICROCODE-ID/OPERATING-SYSTEM.
Chris Hanson [Mon, 19 Dec 1994 20:48:20 +0000 (20:48 +0000)]
Undo PC-specific changes from previous revision. Add OS/2 files.
Chris Hanson [Mon, 19 Dec 1994 20:38:55 +0000 (20:38 +0000)]
Undo PC-specific changes from previous revision. Add OS/2 files.
Chris Hanson [Mon, 19 Dec 1994 19:46:35 +0000 (19:46 +0000)]
Initial revision
Chris Hanson [Mon, 19 Dec 1994 19:42:26 +0000 (19:42 +0000)]
Add new operating-system dependency: OS/SET-FILE-MODES-WRITABLE!.
Chris Hanson [Mon, 19 Dec 1994 19:41:06 +0000 (19:41 +0000)]
Use new variable MICROCODE-ID/OPERATING-SYSTEM.
Chris Hanson [Mon, 19 Dec 1994 19:40:32 +0000 (19:40 +0000)]
Sort ed-ffi database after it is loaded in order to protect against
user error in these files.
Chris Hanson [Mon, 19 Dec 1994 19:39:14 +0000 (19:39 +0000)]
Add OS/2 files.
Chris Hanson [Mon, 19 Dec 1994 19:38:09 +0000 (19:38 +0000)]
Fix bug that caused asynchronous thread events, and therefore C-g, to
stop working after the first time C-g was typed.
Stephen Adams [Fri, 16 Dec 1994 20:18:34 +0000 (20:18 +0000)]
Changed the rtl parser to hash on symbol names rather than symbol
addresses so that the order of basic blocks in the final code is
deterministic.
Stephen Adams [Fri, 16 Dec 1994 20:16:41 +0000 (20:16 +0000)]
Insterted internal warning for interrupt checks with large heap allocations.
Stephen Adams [Fri, 16 Dec 1994 20:15:09 +0000 (20:15 +0000)]
*** empty log message ***
Stephen Adams [Thu, 15 Dec 1994 22:19:37 +0000 (22:19 +0000)]
Added check for valid dbg-procedure/block to avoid SIGSEGV with the
(temporarily) broken new debug info.
Stephen Adams [Thu, 15 Dec 1994 21:40:14 +0000 (21:40 +0000)]
Changed the implementation of +, -, *, /, <, <=, =, >=, >, min and max
(most of the user-level lexprs) to use entities.
Naive uses of these procedures is now a lot faster, e.g.
(sort! vector <)
is just over twice as fast.
Stephen Adams [Thu, 15 Dec 1994 03:08:29 +0000 (03:08 +0000)]
Added build dependencies for new "base/stats" file.
Stephen Adams [Thu, 15 Dec 1994 03:07:44 +0000 (03:07 +0000)]
Exported compiler:enable-statistics? switch.
Stephen Adams [Thu, 15 Dec 1994 03:05:04 +0000 (03:05 +0000)]
Initial revision
Stephen Adams [Thu, 15 Dec 1994 03:02:45 +0000 (03:02 +0000)]
Moved compiler statistics to own file.
Stephen Adams [Thu, 15 Dec 1994 02:34:42 +0000 (02:34 +0000)]
Added compiler:enable-statistics?
Stephen Adams [Thu, 15 Dec 1994 02:32:09 +0000 (02:32 +0000)]
export compiler:enable-statistics?
Stephen Adams [Thu, 15 Dec 1994 01:41:42 +0000 (01:41 +0000)]
Added statistic.
Stephen Adams [Thu, 15 Dec 1994 01:33:01 +0000 (01:33 +0000)]
Added statistic.
Stephen Adams [Thu, 15 Dec 1994 01:28:15 +0000 (01:28 +0000)]
Fixed typo.
Stephen Adams [Wed, 14 Dec 1994 20:56:45 +0000 (20:56 +0000)]
Removed extra `)'
Stephen Adams [Wed, 14 Dec 1994 20:33:47 +0000 (20:33 +0000)]
Added some compiler statistics utilities. The idea is that all you do
is place a call to SAMPLE/1 or SAMPLE/2 at the appropriate place in
the code, and NOT rely on their arguments for a side effect.
Each statistic has a name (a symbol), a type (a symbol) and perhaps
some optional parameters. The calls to SAMPLE/n create the statistic
if it unknown, and then incorporate the data for generating a report.
(COMPILER:RESET-STATISTICS!)
(COMPILER:DISPLAY-STATISTICS)
(SAMPLE/1 '(name type [parameters]) datum)
(SAMPLE/2 '(name type [parameters]) datum1 datum2)
Current unary statistics are
'(name AVERAGE) <x>) - number, sum and average
'(name HISTOGRAM VECTOR) - histogram small non-negative integers
'(name HISTOGRAM HASH-TABLE) - histogram numbers, strings, symbols etc
'(name HISTOGRAM) - same as HASH-TABLE
Currently there are no binary statistics.
Stephen Adams [Wed, 14 Dec 1994 20:20:16 +0000 (20:20 +0000)]
Added a few statistics.
Stephen Adams [Wed, 14 Dec 1994 20:15:18 +0000 (20:15 +0000)]
Export COMPILER:*** variables for statistics
Stephen Adams [Fri, 9 Dec 1994 03:32:03 +0000 (03:32 +0000)]
Initial revision
Stephen Adams [Fri, 9 Dec 1994 02:55:41 +0000 (02:55 +0000)]
Initial revision
Stephen Adams [Thu, 8 Dec 1994 16:48:37 +0000 (16:48 +0000)]
Placed limits on size of objects open-coded by STRING-ALLOCATE and
FLOATING-VECTOR-CONS.
Stephen Adams [Tue, 6 Dec 1994 19:46:25 +0000 (19:46 +0000)]
Changed *MAXIMUM-NODE-COUNT* default to 15000
Stephen Adams [Tue, 6 Dec 1994 17:44:22 +0000 (17:44 +0000)]
Used LOAD-OPTION to load cref.
This ensures that, when cross-syntaxing the compiler, the host
system's cref is loaded, not the cref from the target system.
Stephen Adams [Tue, 6 Dec 1994 17:39:15 +0000 (17:39 +0000)]
Used LOAD-OPTION to load cref.
This ensures that, when cross-syntaxing, the host system's cref is
loaded, not the cref from the target system.
Stephen Adams [Tue, 6 Dec 1994 16:30:54 +0000 (16:30 +0000)]
Removed old CFG types (proced.scm & friends).
Stephen Adams [Tue, 6 Dec 1994 16:30:09 +0000 (16:30 +0000)]
Temporary patch to drop bad environment info in
(lambda ()
(lambda () '()))
so we can recompile the whole system.
Stephen Adams [Mon, 5 Dec 1994 21:34:20 +0000 (21:34 +0000)]
Added compiler:debug.
Chris Hanson [Fri, 2 Dec 1994 20:44:41 +0000 (20:44 +0000)]
Initial revision
Chris Hanson [Fri, 2 Dec 1994 20:44:01 +0000 (20:44 +0000)]
Changes for PM interface.
Chris Hanson [Fri, 2 Dec 1994 20:43:46 +0000 (20:43 +0000)]
Implement special support for OS/2 console.
Chris Hanson [Fri, 2 Dec 1994 20:43:35 +0000 (20:43 +0000)]
Implement special support for OS/2 console.
Chris Hanson [Fri, 2 Dec 1994 20:43:13 +0000 (20:43 +0000)]
Add PM interface header file.
Chris Hanson [Fri, 2 Dec 1994 20:42:55 +0000 (20:42 +0000)]
Numerous changes driven by implementation of PM interface.
Chris Hanson [Fri, 2 Dec 1994 20:41:57 +0000 (20:41 +0000)]
Add "OS2_" prefixes to exported procedure names. Implement "readahead
buffer" abstraction.
Chris Hanson [Fri, 2 Dec 1994 20:40:20 +0000 (20:40 +0000)]
Change initialization sequence so that OS/2 can start up its console
window before the first `outf' call occurs. Also add initialization
for PM console.
Chris Hanson [Fri, 2 Dec 1994 20:39:36 +0000 (20:39 +0000)]
Change initialization sequence so that OS/2 can start up its console
window before the first `outf' call occurs.
Stephen Adams [Fri, 2 Dec 1994 16:42:11 +0000 (16:42 +0000)]
I exported *pp-auto-highlighter*
cph did something for os2.
Stephen Adams [Fri, 2 Dec 1994 16:38:29 +0000 (16:38 +0000)]
Added *pp-auto-highlighter*.
When *pp-auto-highlighter* is #F (the default) pp behaves as before.
When assigned a procedure of one argument this procedure is called for
each part of the input tree. It may return:
. #F indicating that pp should proceed normally
. a new form which is pretty printed instead of the input, for
example, it may be wrapped with a highlight.
Stephen Adams [Fri, 2 Dec 1994 03:12:18 +0000 (03:12 +0000)]
Removed old CFG datatypes and associated variables *expressions and
*procedures*
Stephen Adams [Fri, 2 Dec 1994 03:01:24 +0000 (03:01 +0000)]
Removed old CFG datatypes and associated variables *expressions and
*procedures*
Stephen Adams [Fri, 2 Dec 1994 02:17:19 +0000 (02:17 +0000)]
Removed (interrupt-check:procedure/avoid-for-this-label? label)
Stephen Adams [Fri, 2 Dec 1994 01:50:28 +0000 (01:50 +0000)]
Fixed string reading again. This time it uses a string output prort
to accumulate the characters.
Stephen Adams [Thu, 1 Dec 1994 20:40:11 +0000 (20:40 +0000)]
*** empty log message ***
Stephen Adams [Thu, 1 Dec 1994 19:01:09 +0000 (19:01 +0000)]
Fixed in PARSE-OBJECT/STRING-QUOTE to make it behave better when
reading large strings with escapes. Removed recursion and to reduced
consing by doing a single string-append at the end rather than one per
escape.
Desirable for 7.3 release.
Stephen Adams [Wed, 30 Nov 1994 23:20:59 +0000 (23:20 +0000)]
Formatting changes while reading to understand what is happening to
cause the dbg info bug with (lambda () (lambda () '()))
Stephen Adams [Wed, 30 Nov 1994 22:19:00 +0000 (22:19 +0000)]
Extended variable print method.
Stephen Adams [Tue, 29 Nov 1994 03:24:13 +0000 (03:24 +0000)]
Initial revision
Stephen Adams [Tue, 29 Nov 1994 02:34:07 +0000 (02:34 +0000)]
Removed the cf/new etc names.
Stephen Adams [Tue, 29 Nov 1994 02:33:42 +0000 (02:33 +0000)]
Removed cf/new etc, since the `old' names do the new thing.
Chris Hanson [Mon, 28 Nov 1994 08:11:48 +0000 (08:11 +0000)]
Fix think-o.
Chris Hanson [Mon, 28 Nov 1994 07:36:06 +0000 (07:36 +0000)]
Add OS/2 console to list of terminal-like channels.
Chris Hanson [Mon, 28 Nov 1994 07:35:36 +0000 (07:35 +0000)]
Generalize runtime system's notion of "terminal" to coincide with that
of microcode. Add OS/2 console to list of terminal-like channels.
Chris Hanson [Mon, 28 Nov 1994 05:46:25 +0000 (05:46 +0000)]
*** empty log message ***
Chris Hanson [Mon, 28 Nov 1994 05:46:24 +0000 (05:46 +0000)]
Initial revision
Chris Hanson [Mon, 28 Nov 1994 05:45:12 +0000 (05:45 +0000)]
Eliminate "canonicalization" from pathname abstraction; this doesn't
belong here. Change pathname abstraction so that DOS, NT, and OS/2
can share an single pathname implementation.
Chris Hanson [Mon, 28 Nov 1994 05:26:34 +0000 (05:26 +0000)]
Initial revision
Chris Hanson [Mon, 28 Nov 1994 05:22:58 +0000 (05:22 +0000)]
Add rule to generate OS/2 assembly language file.
Chris Hanson [Mon, 28 Nov 1994 05:21:39 +0000 (05:21 +0000)]
Tweak to last change.