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