Initial import.
[debian/pforth] / releases.txt
1 Release History for pForth - a Portable ANS-like Forth written in ANSI 'C'\r
2 \r
3 Documentation for pForth at http://www.softsynth.com/pforth/\r
4 \r
5 V23  7/20/2008\r
6     - Reorganized for Google Code project.\r
7     \r
8 V22  (unreleased)\r
9     - Added command line history and cursor control words.\r
10         - Sped up UM* and M* by a factor of 3. Thanks to Steve Green for suggested algorithm.\r
11         - Modified ACCEPT so that a line at the end of a file that does NOT have a line\r
12             terminator will now be processed.\r
13         - Use _getch(), _putch(), and _kbhit() so that KEY, EMIT and ?TERMINAL will work on PC.\r
14         - Fixed  : foo { -- } 55 ;  - was entering local frame but not exiting.\r
15     - Redefined MAKE_ID to protect it from 16 bit ints\r
16     - John Providenza says "If you split local variables onto 2 lines, PForth crashes." Fixed. Also allow \\r
17     - Fixed float evaluation in EVALUATE in "quit.fth".\r
18     - Flush register cache for ffColon and ffSemiColon to prevent stack warnings from ;\r
19 \r
20 V21 - 9/16/98\r
21         - Fixed some compiler warnings.\r
22 \r
23 V20\r
24     - Expand PAD for ConvertNumberToText so "-1 binary .s" doesn't crash.\r
25       Thank you Michael Connor of Vancouver for reporting this bug.\r
26 \r
27     - Removed FDROP in REPRESENT to fix stack underflow after "0.0 F.".\r
28       Thank you Jim Rosenow of Minnesota for reporting this bug.\r
29         - Changed pfCharToLower to function to prevent macro expansion bugs under VXWORKS\r
30       Thank you Jim Rosenow of Minnesota for reporting this bug.\r
31 \r
32         - "0.0 F~" now checks actual binary encoding of floats. Before this it used to just\r
33           compare value which was incorrect. Now "0.0 -0.0 0.0 F~" returns FALSE.\r
34 \r
35         - Fixed definition of INPUT$ in tutorial.\r
36       Thank you Hampton Miller of California for reporting this bug.\r
37 \r
38         - Added support for producing a target dictionary with a different\r
39           Endian-ness than the host CPU.  See PF_BIG_ENDIAN_DIC and PF_LITTLE_ENDIAN_DIC.\r
40 \r
41         - PForth kernel now comes up in a mode that uses BASE for numeric input when\r
42           started with "-i" option.  It used to always consider numeric input as HEX.\r
43           Initial BASE is decimal.  \r
44 \r
45 V19  4/98\r
46 \r
47         - Warn if local var name matches dictionary, : foo { count -- } ;\r
48         - TO -> and +-> now parse input stream. No longer use to-flag.\r
49         - TO -> and +-> now give error if used with non-immediate word.\r
50         - Added (FLITERAL) support to SEE.\r
51         - Aded TRACE facility for single step debugging of Forth words.\r
52         - Added stub for ?TERMINAL and KEY? for embedded systems.\r
53         - Added PF_NO_GLOBAL_INIT for no reliance on global initialization.\r
54         - Added PF_USER_FLOAT for customization of FP support.\r
55         - Added floating point to string conversion words (F.) (FS.) (FE.)\r
56             For example:   : F.   (F.)  TYPE  SPACE  ;\r
57         - Reversed order that values are placed on return stack in 2>R\r
58           so that it matches ANS standard.  2>R is now same as SWAP >R >R\r
59           Thank you Leo Wong for reporting this bug.\r
60 \r
61         - Added PF_USER_INIT and PF_USER_TERM for user definable init and term calls.\r
62 \r
63         - FIXED memory leak in pfDoForth()\r
64 \r
65 V18\r
66         - Make FILL a 'C' primitive.\r
67         - optimized locals with (1_LOCAL@)\r
68         - optimized inner interpreter by 15%\r
69         - fix tester.fth failures\r
70         - Added define for PF_KEY_ECHOS which turns off echo in ACCEPT if defined.\r
71         - Fixed MARKER. Was equivalent to ANEW instead of proper ANS definition.\r
72         - Fixed saving and restoring of TIB when nesting include files.\r
73 \r
74 V17\r
75         - Fixed input of large floats.  0.7071234567 F.  used to fail.\r
76 \r
77 V16\r
78         * Define PF_USER_CUSTOM if you are defining your own custom\r
79           'C' glue routines.  This will ifndef the published example.\r
80         - Fixed warning in pf_cglue.c.\r
81         - Fixed SDAD in savedicd.fth.  It used to generate bogus 'C' code\r
82           if called when (BASE != 10), as in HEX mode.\r
83         - Fixed address comparisons in forget.fth and private.fth for\r
84           addresses above 0x80000000. Must be unsigned.\r
85         - Call FREEZE at end of system.fth to initialize rfence.\r
86         - Fixed 0.0 F. which used to leave 0.0 on FP stack.\r
87         - Added FPICK ( n -- ) ( i*f -- i*f f[n] )\r
88         - .S now prints hex numbers as unsigned.\r
89         - Fixed internal number to text conversion for unsigned nums.\r
90 \r
91 V15 - 2/15/97\r
92         * If you use PF_USER_FILEIO, you must now define PF_STDIN and PF_STDOUT\r
93           among other additions. See "pf_io.h".\r
94         * COMPARE now matches ANS STRING word set!\r
95         - Added PF_USER_INC1 and PF_USER_INC2 for optional includes\r
96           and host customization. See "pf_all.h".\r
97         - Fixed more warnings.\r
98         - Fixed >NAME and WORDS for systems with high "negative" addresses.\r
99         - Added WORDS.LIKE utility.  Enter:   WORDS.LIKE EMIT\r
100         - Added stack check after every word in high level interpreter.\r
101           Enter QUIT to enter high level interpreter which uses this feature.\r
102         - THROW will no longer crash if not using high level interpreter.\r
103         - Isolated all host dependencies into "pf_unix.h", "pf_win32.h",\r
104           "pf_mac.h", etc.  See "pf_all.h".\r
105         - Added tests for CORE EXT, STRINGS words sets.\r
106         - Added SEARCH\r
107         - Fixed WHILE and REPEAT for multiple WHILEs.\r
108         - Fixed .( ) for empty strings.\r
109         - Fixed FATAN2 which could not compile on some systems (Linux gcc).\r
110 \r
111 V14 - 12/23/96\r
112         * pforth command now requires -d before dictionary name.\r
113                 Eg.   pforth -dcustom.dic test.fth\r
114         * PF_USER_* now need to be defined as include file names.\r
115         * PF_USER_CHARIO now requires different functions to be defined.\r
116                 See "csrc/pf_io.h".\r
117         - Moved pfDoForth() from pf_main.c to pf_core.c to simplify\r
118           file with main().\r
119         - Fix build with PF_NO_INIT\r
120         - Makefile now has target for embedded dictionary, "gmake pfemb".\r
121 \r
122 V13 - 12/15/96\r
123         - Add "extern 'C' {" to pf_mem.h for C++\r
124         - Separate PF_STATIC_DIC from PF_NO_FILEIO so that we can use a static\r
125           dictionary but also have file I/O.\r
126         - Added PF_USER_FILEIO, PF_USER_CHARIO, PF_USER_CLIB.\r
127         - INCLUDE now aborts if file not found.\r
128         - Add +-> which allows you to add to a local variable, like +! .\r
129         - VALUE now works properly as a self fetching constant.\r
130         - Add CODE-SIZE and HEADERS-SIZE which lets you resize\r
131           dictionary saved using SAVE-FORTH.\r
132         - Added FILE?. Enter "FILE? THEN" to see what files THEN is defined in.\r
133         - Fixed bug in local variables that caused problems if compilation\r
134           aborted in a word with local variables.\r
135         - Added SEE which "disassembles" Forth words. See "see.fth".\r
136         - Added PRIVATE{ which can be used to hide low level support\r
137           words.  See "private.fth".\r
138         \r
139 V12 - 12/1/96\r
140         - Advance pointers in pfCopyMemory() and pfSetMemory()\r
141           to fix PF_NO_CLIB build.\r
142         - Increase size of array for PF_NO_MALLOC\r
143         - Eliminate many warnings involving type casts and (const char *)\r
144         - Fix error recovery in dictionary creation.\r
145         - Conditionally eliminate some include files for embedded builds.\r
146         - Cleanup some test files.\r
147 \r
148 V11 - 11/14/96\r
149         - Added support for AUTO.INIT and AUTO.TERM.  These are called\r
150           automagically when the Forth starts and quits.\r
151         - Change all int to int32.\r
152         - Changed DO LOOP to ?DO LOOP in ENDCASE and LV.MATCH\r
153           to fix hang when zero local variables.\r
154         - Align long word members in :STRUCT to avoid bus errors.\r
155         \r
156 V10 - 3/21/96\r
157         - Close nested source files when INCLUDE aborts.\r
158         - Add PF_NO_CLIB option to reduce OS dependencies.\r
159         - Add CREATE-FILE, fix R/W access mode for OPEN-FILE.\r
160         - Use PF_FLOAT instead of FLOAT to avoid DOS problem.\r
161         - Add PF_HOST_DOS for compilation control.\r
162         - Shorten all long file names to fit in the 8.3 format\r
163           required by some primitive operating systems. My\r
164           apologies to those with modern computers who suffer\r
165           as a result.  ;-)\r
166         \r
167 V9 - 10/13/95\r
168         - Cleaned up and documented for alpha release.\r
169         - Added EXISTS?\r
170         - compile floats.fth if F* exists\r
171         - got PF_NO_SHELL working\r
172         - added TURNKEY to build headerless dictionary apps\r
173         - improved release script and rlsMakefile\r
174         - added FS@ and FS! for FLPT structure members\r
175 \r
176 V8 - 5/1/95\r
177         - Report line number and line dump when INCLUDE aborts\r
178         - Abort if stack depth changes in colon definition. Helps\r
179           detect unbalanced conditionals (IF without THEN).\r
180         - Print bytes added by include.  Helps determine current file.\r
181         - Added RETURN-CODE which is returned to caller, eg. UNIX shell.\r
182         - Changed Header and Code sizes to 60000 and 150000\r
183         - Added check for overflowing dictionary when creating secondaries.\r
184 \r
185 V8 - 5/1/95\r
186         - Report line number and line dump when INCLUDE aborts\r
187         - Abort if stack depth changes in colon definition. Helps\r
188           detect unbalanced conditionals (IF without THEN).\r
189         - Print bytes added by include.  Helps determine current file.\r
190         - Added RETURN-CODE which is returned to caller, eg. UNIX shell.\r
191         - Changed Header and Code sizes to 60000 and 150000\r
192         - Added check for overflowing dictionary when creating secondaries.\r
193         \r
194 V7 - 4/12/95\r
195         - Converted to 3DO Teamware environment\r
196         - Added conditional compiler [IF] [ELSE] [THEN], use like #if\r
197         - Fixed W->S B->S for positive values\r
198         - Fixed ALLOCATE FREE validation.  Was failing on some 'C' compilers.\r
199         - Added FILE-SIZE\r
200         - Fixed ERASE, now fills with zero instead of BL\r
201         \r
202 V6 - 3/16/95\r
203         - Added floating point\r
204         - Changed NUMBER? to return a numeric type\r
205         - Support double number entry, eg.   234.  -> 234 0\r
206 \r
207 V5 - 3/9/95\r
208         - Added pfReportError()\r
209         - Fixed problem with NumPrimitives growing and breaking dictionaries\r
210         - Reduced size of saved dictionaries, 198K -> 28K in one instance\r
211         - Funnel all terminal I/O through ioKey() and ioEmit()\r
212         - Removed dependencies on printf() except for debugging\r
213 \r
214 V4 - 3/6/95\r
215         - Added smart conditionals to allow IF THEN DO LOOP etc.\r
216           outside colon definitions.\r
217         - Fixed RSHIFT, made logical.\r
218         - Added ARSHIFT for arithmetic shift.\r
219         - Added proper M*\r
220         - Added <> U> U<\r
221         - Added FM/MOD SM/REM /MOD MOD */ */MOD\r
222         - Added +LOOP EVALUATE UNLOOP EXIT\r
223         - Everything passes "coretest.fth" except UM/MOD FIND and WORD\r
224         \r
225 V3 - 3/1/95\r
226         - Added support for embedded systems: PF_NO_FILEIO\r
227         and PF_NO_MALLOC.\r
228         - Fixed bug in dictionary loader that treated HERE as name relative.\r
229         \r
230 V2 - 8/94\r
231         - made improvements necessary for use with M2 Verilog testing\r
232 \r
233 V1 - 5/94\r
234         - built pForth from various Forths including HMSL\r
235 \r
236 ----------------------------------------------------------\r
237         \r
238 \r
239 Enjoy,\r
240 Phil Burk\r