1: * Thu Oct 31 2019 BERTRAND Joël <rpl@systella.fr> rpl-4.1.32 (RPL/2)
2: - tools and rplcas are upgraded;
3: - RAW option is added in STTY parameters;
4: - speeds until 1Mbaud are added to serial line;
5: - replace fwrite() by write() as fwrite() uses fseek() and triggers error on
6: serial line;
7: - flag 46 is used to simplify expression. When 46 is set, EVAL,
8: ->NUM automatically simplify expressions. DER always simplificates
9: expressions;
10: - giac is patched to be built with builtin CoCoALib.
11: * Thu Oct 31 2019 BERTRAND Joël <rpl@systella.fr> rpl-4.1.31 (RPL/2)
12: - RPL/CAS is modified to be built without error by gcc 9.2;
13: - /tools are upgraded;
14: - OpenSSL is upgraded to 1.1.1d;
15: - SYSEVAL now sends signal to child process when RPL/2 catches SIGINT;
16: - multithreading support is improved (and some bugs have been fixed);
17: - SYSEVAL now sends data to stdin in a slave thread.
18: * Sat Feb 2 2019 BERTRAND Joël <rpl@systella.fr> rpl-4.1.30 (RPL/2)
19: - major bug is fixed in software interrupts subsystem that tried to
20: lock a cleared mutex;
21: - deadlock is fixed in SYSEVAL. This intrinsic function entered in
22: deadlock if stdout/stderr of spawned subprocess was longer than pipe buffer
23: size;
24: - segmentation fault is fixed in NEG (on integer matrices);
25: - CoCoALib is upgraded to avoid a compilaton failure on 32 bits systems;
26: - SST does not enter anymore in called subroutine.
27: * Mon Dec 24 2018 BERTRAND Joël <rpl@systella.fr> rpl-4.1.29 (RPL/2)
28: - sqlite, openssl, ncurses, gsl and gnuplot are upgraded;
29: - new record type is added. Record is a table extension. Data have been to be
30: called by name and not by position:
31:
32: RPL/2> <[ "key" "value" ]> record
33:
34: 1: |[ <[ "key"
35: "value" ]>
36: <[ { }
37: { } ]> ]|
38:
39: - records can be used with GET and PUT.
40: * Thu May 29 2018 BERTRAND Joël <rpl@systella.fr> rpl-4.1.29 (RPL/2)
41: - backslash can now be used in REGEX intrinsic;
42: - LINE*(*) is added to format. Now, it is possible to read and write regular
43: sequential files;
44: - first table support is added to RPL/C;
45: - unEscString() and escString() are added in RPL/C.
46: * Thu May 29 2018 BERTRAND Joël <rpl@systella.fr> rpl-4.1.28 (RPL/2)
47: - mise à jour de Lapack en 3.8.0;
48: - mise à jour générale de RPL/CAS et des utilitaires dans le répertoire tools;
49: - memory corruption is fixed in SPLASH intrinsic;
50: - remove multiple module rpl_complex from Fortran sources;
51: - ncurses is upgraded;
52: - NBRCPUS is added ;
53: - splash screen is not centered on screen that contains pointer.
54: * Thu Aug 03 2017 BERTRAND Joël <rpl@systella.fr> rpl-4.1.27 (RPL/2)
55: - DETACH is fixed and now runs as expected;
56: - motif$ is reborned;
57: - '->' can now by used in external names;
58: - sets$ library is done;
59: - new types can be created in external libraries;
60: - major bug is fixed in allocation(). When allocation size was null, there
61: was a buffer overflow (8 bytes);
62: - new types can be created and managed in modules (see modules/sets for
63: example).
64: * Wed Jun 28 2016 BERTRAND Joël <rpl@systella.fr> rpl-4.1.26 (RPL/2)
65: - major bug is fixed in READ (FLOW sockets);
66: - Lapack is upgraded to 3.7.0;
67: - OpenSSL is upgraded;
68: - GSL is upgraded to 2.4;
69: - file is upgraded to 5.29;
70: - some modifications are done to buld RPL/2 (and modules built with RPL/C) under
71: Cygwin (Windows 10, 64 bits);
72: - some symbols are removed from executable;
73: - readline is upgraded to 7.0;
74: - OpenSSL symbols are not exported anymore;
75: - gnuplot is upgraded to 5.0.6.
76: * Tue Sep 27 2016 BERTRAND Joël <rpl@systella.fr> rpl-4.1.25 (RPL/2)
77: - ncurses, file, openssl and sqlite are upgraded;
78: - major bug is fixed in DETACH (race condition and dead lock);
79: - lot of minor bugs have been fixed in processus management;
80: - (p)select() is replaced by poll() due to a strange bug in glibc. pselect()
81: returns a erroneous number of readable devices when max file descriptor is
82: greater than 1024;
83: - tools/file-5.25.diff.gz is fixed (against file-5.25 and not 5.11);
84: - OpenSSL is upgraded and new API is used.
85: * Tue Mar 01 2016 BERTRAND Joël <rpl@systella.fr> rpl-4.1.24 (RPL/2)
86: - tools are upgraded (xpm, openssl, ncurses, sqlite, file);
87: - BSD sockets options are fixed;
88: - RPL/2 splash screen is upgraded;
89: - gmp is upgraded to 6.1.0;
90: - sys_realloc() is added in library to allow reallocation à la C in RPL/C
91: programs;
92: - reallocate function is added to rplexternals.h;
93: - GET, GETI, LIST-> and TABLE-> now evaluate symbolic constants instead of
94: return associated fonctions in stack;
95: - { e } 1 get now returns e and not E. Same fix with infinity and i symbolic
96: constants ;
97: - GET is fixed and now evaluates names when names are not protected:
98: 4 'X' sto { X } 1 get returns 4 and not X. Same fix for tables;
99: - --enable-native flag is added to configure script;
100: - lapack is upgraded to 3.6.0.
101: * Thu Nov 26 2015 BERTRAND Joël <rpl@systella.fr> rpl-4.1.23 (RPL/2)
102: - Giac is upgraded to 1.2.2 and mpfi is added;
103: - GSL is upgraded to 2.1;
104: - major bug is fixed in interruption (mutexes failure);
105: - minor bug is fixed in evaluation():
106: << 1 'X' sto { X } 'Y' sto 'Y(1)' eval >> returns 1 and
107: << 1 'X' sto { 'X' } 'Y' sto 'Y(1)' eval >> only returns 'X'.
108: Same bugfix for tables;
109: - 4 'X' sto <[ X ]> returns <[ X ]> in both interpreted and compiled mode.
110: Before this bugfix, it returned <[ 4 ]> in interpreted mode and <[ X ]>
111: in compiled mode.
112: * Wed Sep 16 2015 BERTRAND Joël <rpl@systella.fr> rpl-4.1.22 (RPL/2)
113: - socket options are now forced on socket created by WFSOCK to fix 'KEEP ALIVE'
114: bug;
115: - sqlite is upgraded;
116: - major regressions are fixed in compiler;
117: - gnuplot is upgraded from 5.0.0 to 5.0.1;
118: - ncurses is upgraded from 5.9 to 6.0 ;
119: - major bug is fixed in rpl_malloc(). rpl_malloc(0) crashed with segfault.
120: * Mon Jun 08 2015 BERTRAND Joël <rpl@systella.fr> rpl-4.1.21 (RPL/2)
121: - nested function options() is removed from instruction_open() as
122: LLVM/CLANG does not support this kind of function;
123: - sqlite and ncurses are upgraded;
124: - all compilation errors are now printed;
125: - escaped characters are allowed in LOGGER intrinsic;
126: - 1 -> Y 'Z' now returns undefined implicit name error.
127: * Mon Feb 19 2015 BERTRAND Joël <rpl@systella.fr> rpl-4.1.20 (RPL/2)
128: - minor bug is fixed in evaluation(). When analyse() is called from
129: evaluation(), RPL/2 always evaluates compiled expression;
130: - 1 -> X 'X' can be evaluated ('X' is a name and before last patch, only
131: algebraic expressions were able to be directly evaluated);
132: - major regression introduced in 4.1.19 is fixed in parser.
133: << 1 -> X << exp >> >> returned syntax error;
134: - compilation() now returns an error if a definition name contains invalid
135: characters instead of BUG();
136: - zlib is upgraded;
137: - sqlite and openssl are upgraded;
138: - new buffercached allocator is added;
139: - giac is upgraded to 1.1.4;
140: - Gnuplot is upgraded to 5.0.0.
141: * Mon Jan 5 2015 BERTRAND Joël <rpl@systella.fr> rpl-4.1.19 (RPL/2)
142: - EQV is added in algebraic input and output subroutines;
143: - ncurses and sqlite have been upgraded with last patches;
144: - openssl is upgraded to 1.0.1j and Gnuplot is upgraded to 4.6.6;
145: - expression simplification subsystem is rewritten from scratch. Now, it does
146: not do anything. Only fonctions to convert algebraic expression to and from
147: q-tree have been written and successfuly tested;
148: - EQV intrinsic is added;
149: - major bug is fixed in XOR intrinsic (erroneous truth table with integer
150: or real arguments);
151: - parser is upgraded. Now, it is possible to write <[[[3]]]> or {{5}} (without
152: space) and [[ 3 4 ]]4 catches error;
153: - major regression is fixed in recherche_type() (complex type);
154: - shebang paths are modified to be computed by configure script (NetBSD issue);
155: - ncurses is upgraded.
156: * Thu Jul 17 2014 BERTRAND Joël <rpl@systella.fr> rpl-4.1.18 (RPL/2)
157: - major regression is fixed in SysV semaphore emulation subsystem (segfault);
158: - gmp is upgraded;
159: - ncurses is upgraded;
160: - empilement_pile_last() is modified to delete argument from current stack if
161: it cannot save all arguments (to few arguments error _before_ first call
162: to depilement() by parent routine).
163: * Wed Apr 23 2014 BERTRAND Joël <rpl@systella.fr> rpl-4.1.17 (RPL/2)
164: - semaphores have been removed from s_signaux as POSIX doesn't assure that
165: semaphores are synchronized between address spaces without msync();
166: - sqlite is upgraded;
167: - OpenSSL is upgraded;
168: - lapack is upgraded to 3.5.0;
169: - use of uninitialized variables is avoided in FORALL;
170: - giac is upgraded;
171: - units is upgraded;
172: - OpenSSL, sqlite and gnuplot are upgraded;
173: - major bug is fixed in both FOR and FORALL (segmentation fault if both
174: instructions are not followed by a name).
175: * Fri Nov 28 2013 BERTRAND Joël <rpl@systella.fr> rpl-4.1.16 (RPL/2)
176: - OpenMotif is patched to correctly detect fontconfig;
177: - sqlite and ncurses are patched;
178: - rpl.inc is fixed;
179: - rpl() now sends arguments to RPL/2 subroutine;
180: - rpl() prototype is fixed (rpl_home is an unsigned char * not an unsigned char
181: **);
182: - GSL is upgraded;
183: - major bug is fixed in READ intrinsic (Unix device).
184: * Fri Sep 6 2013 BERTRAND Joël <rpl@systella.fr> rpl-4.1.15 (RPL/2)
185: - RGDL and RGDR (ragged left and ragged right) are added;
186: - major bug is fixed in initialization (segfault). It only occurs when RPL/2
187: is built with a forced localization;
188: - EXIT regression is fixed.
189: * Fri Jun 21 2013 BERTRAND Joël <rpl@systella.fr> rpl-4.1.14 (RPL/2)
190: - number of pipes between process is reduced;
191: - gnuplot is upgraded;
192: - libiconv is patched to be built with recent glibc (C11);
193: - some race conditions have been fixed;
194: - sqlite is upgraded;
195: - Major regression is fixed in IFERR/END structure;
196: - Major regression is fixed in evaluation(). Local variables were exported
197: to called definitions.
198: * Mon Apr 1 2013 BERTRAND Joël <rpl@systella.fr> rpl-4.1.13 (RPL/2)
199: - integer overflows have been fixed (NEG, ABS, minus);
200: - global variables can now be recalled from ATEXIT procedure;
201: - ATEXIT registered procedure is now executed even if program is stopped by
202: SIGINT;
203: - minor bug is fixed in TOKENIZE intrinsic instruction. TOKENIZE did not work on
204: a copy of input string;
205: - major bug (segfault) is fixed in liste_variables(). It only occurs
206: when this function is called with shared variables;
207: - all internal data are now stored in 64 bits wide integers (even is 32 bits
208: ABI is selected);
209: - major bug is fixed in recherche_instruction_suivante(). In some
210: circumstances, this function can return a spurious error;
211: - new NATIVE*(*) data format is added. By default, native*(*) is used
212: to write data without precision loss. It can also be used to write
213: complex objects like expressions, lists or tables;
214: - major bug is fixed in formateur(). When INT64_MIN was pushed into stack,
215: internal value was good but RPL/2 was not able to correctly display
216: this value. This bug comes from ABS as ABS(INT64_MIN) cannot be represented
217: in integer. All abs(), fabs() and labs() present in source code have been
218: checked to avoid this kind of bug;
219: - unformatted sockets are now usable as unformatted files;
220: - BACKSPACE now runs on unformatted file;
221: - major bug is fixed in BACKSPACE that didn't check if '"' characters were
222: escaped;
223: - CHARACTER*(n) format now counts escaped characters;
224: - transliteration is avoid in rpl-core file generation to authorize core
225: creation even if a transliteration error is caught;
226: - major bug is fixed in evaluation(). System stack was not correctly
227: destacked when execution error occurs;
228: - major bug is fixed in READ (socket interface);
229: - minor bug is fixed in analyse_flux().
230: * Wed Feb 27 2013 BERTRAND Joël <rpl@systella.fr> rpl-4.1.12 (RPL/2)
231: - bug is fixed in recherche_type(). { "\"" } was not evaluated as expected
232: as inner quote was not escaped;
233: - CIPHER new intrinsic is added to perform key generation, decryption and
234: encryption;
235: - CBC-CMAC digest is added;
236: - HMAC digest is added;
237: - DIGEST intrinsic is added;
238: - signal management is fixed to be usable on NetBSD;
239: - RPL/CAS autoconfiguration is upgraded;
240: - sqlite, openssl, giac, gmp ave been upgraded;
241: - SQLITE support is added in SQLQUERY, SQLCONNECT and SQLDISCONNECT.
242: * Tue Dec 18 2012 BERTRAND Joël <rpl@systella.fr> rpl-4.1.11 (RPL/2)
243: - shared variables are now stored in a tree;
244: - lapack is upgraded to 3.4.2;
245: - only giac/src is built in rplcas (giac/Makefile.am is modified);
246: - gnuplot is upgraded to 4.6.1;
247: - giac, units and ncurses are upgraded;
248: - interprocess capabilities are removed when RPL/2 cannot run its initialization
249: routine to keep operating system as clean as possible;
250: - sem_wait() has to catch EINTR in thread_surveillance_signaux();
251: - signal management is rewritten to avoid a strange bug on NetBSD. On NetBSD,
252: a signal handler can be called within a special thread and not in the
253: calling thread;
254: - static variables are now written in a variables tree;
255: - major bug is fixed in STO intrinsic. STO returns an error when it has
256: to create a global variable if intrinsic none (default) is set.
257: * Mon Oct 1 2012 BERTRAND Joël <rpl@systella.fr> rpl-4.1.10 (RPL/2)
258: - FORALL intrinsic is added;
259: - major bug (deadlock) is fixed in CYCLE. Only occurs when CYCLE is called to
260: interrupt a loop from a subroutine within a compiled programm;
261: - workaround to avoid strange bug on slow network is written in READ
262: intrinsic;
263: - CRITICAL/END structure is added. When program enters in a critical
264: section, all other threads of the same process sleep until program leaves
265: critical section.
266: * Wed Aug 22 2012 BERTRAND Joël <rpl@systella.fr> rpl-4.1.9 (RPL/2)
267: - giac is upgraded to 0.9.8;
268: - ncurses is patched with last patches;
269: - Sqlite is upgraded to 3.7.13;
270: - Units is upgraded to 1.89e;
271: - Lapack is upgraded to 3.4.1;
272: - LENGTH*(...) format is fixed;
273: - some patches have been added to build RPL/2 on NetBSD;
274: - escaped characters are fixed in READ and WRITE operations;
275: - major bug is fixed in READ intrinsic (on socket). End of file condition
276: was randomly caught on slow network;
277: - stdin can now handle espaced characters strings in SYSEVAL;
278: - --with-gcc-version is added to configure script to force gcc version as
279: gfortran 4.7 is broken and crashes with segmentation fault.
280: * Mon May 21 2012 BERTRAND Joël <rpl@systella.fr> rpl-4.1.8 (RPL/2)
281: - POLL now accepts more than one descriptor and returns informations
282: about pollable descriptors;
283: - SMPHRTRYDECR now takes timeout value instead of returning when semaphore
284: cannot by decremented;
285: - signal handlers are fixed to avoid spurious and very rare deadlocks;
286: - pari is upgraded;
287: - force CFLAGS for tools/file (-O2 -g) to avoid mmap() error;
288: - giac, gmp and mpfr have been upgraded.
289: * Fri Apr 13 2012 BERTRAND Joël <rpl@systella.fr> rpl-4.1.7 (RPL/2)
290: - double quote is escaped in INPUT and PROMPT intrinsic functions;
291: - error is returned (instead of warning) when unavailable intrinsic function
292: is called;
293: - lot of minor bugs have been fixed;
294: - ncurses and file are patched;
295: - RPL/2 can now be cross compiled (until .deb archive generation);
296: - all table, vector and matrix dimensions are now treated as unsigned long;
297: - recherche_type() function is modified to use cached memory;
298: - gnuplot is upgraded to 4.6.0.
299: * Wed Feb 29 2012 BERTRAND Joël <rpl@systella.fr> rpl-4.1.6 (RPL/2)
300: - serial line support is added to OPEN (STTY options);
301: - multiline inputs are allowed:
302: schroedinger:[~/cvs/build/src] > rpl -is
303: +++RPL/2 (R) version 4.1.6 (Monday 01/30/12, 10:20:38 CET)
304: +++Copyright (C) 1989 à 2011, 2012 BERTRAND Joël
305:
306: +++Ce logiciel est un logiciel libre sans aucune garantie de fonctionnement.
307: +++Pour plus de détails, utilisez la commande 'warranty'.
308:
309: RPL/2> [[ 1 2 3 ]
310: + 001> [ 4 5 6 ]
311: + 002> [ 7 8 9 ]]
312:
313: 1: [[ 1 2 3 ]
314: [ 4 5 6 ]
315: [ 7 8 9 ]]
316: RPL/2> [[ 1 23 ]
317: + 001> [ 4 5 6 ]]
318: +++Erreur : Erreur de syntaxe [19267]
319:
320: 1: [[ 1 2 3 ]
321: [ 4 5 6 ]
322: [ 7 8 9 ]]
323: RPL/2> [ 1 2 3
324: + 001> annulation
325: RPL/2> abort
326:
327: 'annulation' is done by pressing CTRL+g, and abort by CTRL+d on empty line.
328: * Tue Jan 17 2012 BERTRAND Joël <rpl@systella.fr> rpl-4.1.5 (RPL/2)
329: - ncurses, sqlite and openssl have been upgraded;
330: - major bug is fixed in ** (integer integer **) when first argument is equal to
331: -1;
332: - major bug is fixed in signal management. With new signal management, thread or
333: process were not signalized anymore by POSIX signals. If a thread or a process
334: was sleeping, it was not interrupted;
335: - minor bug is fixed in OPEN intrinsic. Now, when a socket is open, its default
336: adress is set to 0.0.0.0;
337: - new rule is added to main makefile (make debian) to build deb package;
338: - new benchmark (Xeon W3520 @ 2.67GHz) :
339: schroedinger:[~/cvs/bench] > ./bench.rpl
340: +++RPL/2 (R) version 4.1.5 (Friday 12/02/11, 12:18:23 CET)
341: +++Copyright (C) 1989 à 2010, 2011 BERTRAND Joël
342: Number of scalar operations per second and per core : 3809121.83444626
343: schroedinger:[~/cvs/bench] >
344: - recherche_type() did not convert huge integer in real. Now,
345: 18446744072742037448 is converted into real as value cannot be stored in
346: RPL/2 integer type;
347: - WFSOCK is modified to handle unconnected sockets;
348: - REGEX is added;
349: - RESTART is added (execvp() on main RPL/2 process);
350: - copie_objet() now returns same MTX (struct_mutex) even if caller wait for
351: a real copy. Now, struct_mutex contains locks owner. On Linux or Solaris (for
352: example), it is possible to lock mutex from a thread and unlock the same mutex
353: from another thread. On NetBSD, system crashes.
354: * Mon Nov 21 2011 BERTRAND Joël <rpl@systella.fr> rpl-4.1.4 (RPL/2)
355: - rplcas/@GIAC@/src/config.h is removed to avoid compilation bug. config.h
356: written by configure script was overloaded by src/config.h;
357: - lot of compilation warnings have been fixed;
358: - lapack and blas have been upgraded;
359: - ncurses, sqlite and giac have been upgraded;
360: - LCASE, UCASE, POS and SUB now handle escape characters;
361: - major bug is fixed in INT (numerical integration was unusable as type
362: checking condition was always false);
363: - SIZE, CHR and NUM can handle strings with escape characters;
364: - lot of patches for Android and OS/2;
365: - configure.ac is improved to remove operating systems special cases.
366: - major bug is fixed in DRWS (SDAT was not used...);
367: - lists, and integer, real and complex numbers can now be written in
368: unformatted files;
369: - rplawk makefile is fixed to avoid build process bug. Warning, with these
370: modifications, sources tree has to be writable.
371: * Wed Sep 21 2011 BERTRAND Joël <rpl@systella.fr> rpl-4.1.3 (RPL/2)
372: - Linux port, MacOS X port and xBSD ports are tested and fully fonctionnal;
373: - libsigsegv is added;
374: - OpenMotif is added;
375: - all internal signal handlers are rewritten to avoid POSIX signal usage
376: and to be async signal safe;
377: - SIGSEGV signal handler is rewritten;
378: - SREV intrinsic is added.
379: * Tue Aug 9 2011 BERTRAND Joël <rpl@systella.fr> rpl-4.1.2 (RPL/2)
380: - I have fixed a lot of bugs in gpp preprocessor (and sent gpp 3.0 to official
381: gpp developer). Now, macros like
382:
383: #define foo foo bar
384:
385: is evaluated without recursion. gpp 2.24 crashed on stack overflow.
386: - LIMIT is added;
387: - Now, undefined values like 'infinity/infinity' are computed. Result is
388: undef constant;
389: - infinity constant is added.
390: * Sun Jul 24 2011 BERTRAND Joël <rpl@systella.fr> rpl-4.1.1 (RPL/2)
391: - VERSION now returns OS type, architecture and ABI;
392: - configure script is updated. New flags :
393: --with-32bits-abi
394: --with-64bits-abi
395: --with-rplcas
396: Please not that RPL/CAS is not built by default;
397: - Lapack is upgraded to 3.3.1.
398: * Mon Jun 27 2011 BERTRAND Joël <rpl@systella.fr> rpl-4.1.0 (RPL/2)
399: - New stable release.
400: * Fri Jun 22 2011 BERTRAND Joël <rpl@systella.fr> rpl-4.1.0.prerelease.4 (RPL/2)
401: - some minor changes have been done in instruction_int() to accept new argument
402: types;
403: - interface_cas.cpp now catchs exceptions returned by giac.
404: * Fri Jun 24 2011 BERTRAND Joël <rpl@systella.fr> rpl-4.1.0.prerelease.3 (RPL/2)
405: - INT intrinsic now uses RPLCAS to compute symbolic integration;
406: - minor bug is fixed in INTRINSIC function. Now, this function gives same
407: result with ou without -p switch.
408: * Wed Jun 22 2011 BERTRAND Joël <rpl@systella.fr> rpl-4.1.0.prerelease.2 (RPL/2)
409: - memory caching is added to new variable tree.
410: * Tue Jun 21 2011 BERTRAND Joël <rpl@systella.fr> rpl-4.1.0.prerelease.1 (RPL/2)
411: - SPAWN is now usable with new variable management;
412: - MEM is rewritten;
413: - PRUSR is rewritten;
414: - merge 4_0 branch into HEAD;
415: - CLUSR is rewritten;
416: - -p flag is now usable;
417: - New benchmark:
418: cauchy:[~/rpl/bench] > ./bench.rpl
419: +++RPL/2 (R) version 4.1.0.prerelease.1 (lundi 20/06/2011, 23:00:45 CEST)
420: +++Copyright (C) 1989 à 2010, 2011 BERTRAND Joël
421: Number of scalar operations per second and per core : 2625369.22710792
422: * Mon Jun 20 2011 BERTRAND Joël <rpl@systella.fr> rpl-4.1.0.prerelease.0 (RPL/2)
423: - New variable management is written. Please note that -p flag does not work
424: and all multithread/multitask capabilities have been disabled until this
425: new subsystem shall be validated.
426: * Thu May 09 2011 BERTRAND Joël <rpl@systella.fr> rpl-4.0.23 (RPL/2)
427: - major bug is fixed in STD format (1E7 sq prints 1);
428: - major bug is fixed in READ intrinsic (socket). This bug was introduced
429: by a new feature in glibc.
430: * Thu Apr 14 2011 BERTRAND Joël <rpl@systella.fr> rpl-4.0.22 (RPL/2)
431: - by default, RPL/2 uses "NONE" IMPLICIT when it's started in batch mode and
432: "ALL" IMPLICIT when it runs in interactive mode;
433: - when "NONE" IMPLICIT is set, STO intrinsic raises an error when it is used
434: to create or modify a global variable. Now, with "NONE" IMPLICIT, you have
435: to use SAVE to manipulate global variables;
436: - replace erroneous TAB by TBL in evaluation() and formateur_fichier()
437: subroutines;
438: - fix major memory access violation in evaluation subroutine. Only occurs
439: when 'X(i,j)' is evaluated on a matrix and when (i,j) points out of bounds;
440: - fix major bug in evaluation subroutine. 'X(i)' returns execution error
441: when X was a vector or a table.
442: * Sun Apr 04 2011 BERTRAND Joël <rpl@systella.fr> rpl-4.0.21 (RPL/2)
443: - Gnuplot is upgraded;
444: - flag 34 is now used to enable or disable control character evaluation;
445: - major bug is fixed in P->R intrinsic function when argument type is
446: complex and degree mode is set;
447: - L->T and T->L are added;
448: - OLD filetype is fixed;
449: - FLOW socket support is added;
450: - FLOW sequential files are added;
451: - new escape sequence is added to handle flow files (\x + hexadecimal code).
452: Known escape sequences are \", \b, \n, \t, \x?? and \\.
453: * Sun Mar 06 2011 BERTRAND Joël <rpl@systella.fr> rpl-4.0.20 (RPL/2)
454: - Ncurses is upgraded to 5.8;
455: - ALARM is fixed by filling isdst field;
456: - catch ECONNRESET in write intrinsic to return an execution error instead of
457: system one;
458: - fix a typo in HELP intrinsic;
459: - Openssl is upgraded to 1.0.0d, sqlite to 3.7.5 and readline to 6.2;
460: - Lapack is upgraded to 3.3.0;
461: - libmtmalloc is now default Solaris allocator;
462: - ncurses is upgraded;
463: - regression introduced by 4.0.19 is fixed in signal management.
464: Interruption1() could be called from itself and raises bus error (on sparc) or
465: segmentation fault;
466: - sqlite is upgraded to 3.7.4;
467: - OpenSSL is upgraded to 1.0.0c;
468: - syntax error is correctly checked ( (2+,0) does not crash RPL/2 anymore);
469: - characters are tested in recherche_type() to avoid names like '12+';
470: - gnuplot is upgraded to 4.4.2 due to major bugs.
471: * Thu Sep 23 2010 BERTRAND Joël <rpl@systella.fr> rpl-4.0.19 (RPL/2)
472: - due to a very strange bug I've only seen on Solaris, ptmalloc3 is removed.
473: Solaris libresolv randomly uses ptmalloc3 and system allocator and makes heap
474: corruption. As internal memory management have been improved, a best fit
475: allocator like ptmalloc3 is not required anymore;
476: - gnuplot is upgraded to 4.4.1;
477: - deadlock is fixed in signal handlers: same mutex was used in standard
478: subroutines (without protected sections by sigprocmask() or pthread_sigmask())
479: and signal handlers. A new signal handler specific mutex is added;
480: - minor bug is fixed in evaluation() subroutine. In { X 0 PI }, PI is a function
481: that has to be evaluated by ->NUM;
482: - rplfile build process is modify to be sure that rplfile is not modified
483: after rpl build stage (to be sure that rplfile checksum is not modified after
484: rpl compilation);
485: - AWK is replaced by rplawk. rplawk is original awk written by Brian Kernighan,
486: modified to remove yacc code and renamed;
487: - some workarounds have been written to not use buggy klibc SystemV IPCS.
488: ABORT now works on eComStation;
489: - sqlite is upgraded to 3.7.2;
490: - bug is fixed in software interrupts. When both process have different PID,
491: parent process was not interrupted if it is not group master process. To fix
492: this bug, SIGINJECT signal is not sent by child process but by control thread
493: in parent process;
494: - minor bug is fixed in data injection (POKE) that does not work as expected
495: when child process is protected by NRPROC.
496: * Thu Aug 26 2010 BERTRAND Joël <rpl@systella.fr> rpl-4.0.18 (RPL/2)
497: - --enable-sysv-sems is added to configure script to use SystemV semaphores
498: functions instead of POSIX functions. This function is disabled or forced on
499: systems that does not provide correct POSIX or SysV semaphores subsystem;
500: - a dirty but not quick patch is written to workaround broken siginfo
501: structures. This patch has been successfully tested. It uses a segment of
502: shared memory (Posix or SysV) and some semaphores (Posix or SysV) by process
503: (Unix PID);
504: - some OpenBSD's hacks are added;
505: - broken siginfo->si_pid field is now checked by configure script;
506: - SWI now sends SIGCONT to interrupted process to start interrupt without delay;
507: - random generator is cloned by SPAWN;
508: - in transliteration subroutine : '\r' is added after all '\n' in OS/2 port;
509: - getaddrinfo is hardcoded when host system does not provide getaddrinfo
510: or freeaddrinfo;
511: - RPL/2 can now use SystemV semaphores when POSIX semaphores are unavailable;
512: - major bug is fixed in CHR intrinsic when obtained character is not printable;
513: - Lapack is upgraded to 3.2.2;
514: - OS/2 (eComStation 2.0 with EMX 0.9d) support is added;
515: - TOKENIZE is now able to convert escape sequences;
516: - ATPOKE and CLRATPOKE new intrinsics are added;
517: - --enable-full-static configure flag is added. With this flag, mysql and
518: postgresql libraries are statically linked in rpl executable;
519: - units Makefile is modified to avoid readline and ncurses usages;
520: - sqlite is upgraded to 3.7.0.1;
521: - units is upgraded to 1.88;
522: - another major bug is fixed in the same variable creation subroutine.
523: Level 0 and 1 variables adresses were swapped when a global variable masked
524: a name of RPL/2 routine;
525: - major bug is fixed in global variable creation subroutine. When a global
526: variable was created and when a local variable existed with the same name,
527: computed address of global variable was wrong;
528: - src/Makefile.am is modified to avoid a bug on several systems. libptmalloc3
529: is forced in front of all libraries.
530: * Tue Jul 13 2010 BERTRAND Joël <rpl@systella.fr> rpl-4.0.17 (RPL/2)
531: - BACKTRACE intrinsic is added;
532: - major bug is fixed in SELECT/DEFAULT/END conditional structure. Only occurs
533: when this structure is included in IFERR/THEN/END structure and when an error is
534: caught;
535: - major bug is fixed in analyse() subroutine. When evaluation() returned error
536: in a compiled program, analyse() caught this error twice and randomly aborted
537: with a segmentation error;
538: - TRIM and TOKENIZE replace both '\n' and '\t' by regular spaces;
539: - ATEXIT subroutine begins with an implicit CSTOP to avoid multiple stop
540: signals;
541: - memory leak is fixed in ROW+. It only occurs when a row is added to an empty
542: matrix.
543: * Thu Jun 24 2010 BERTRAND Joël <rpl@systella.fr> rpl-4.0.16 (RPL/2)
544: - minor bug is fixed in evaluation() subroutine. With this patch, same program
545: returns same result with or without -p flag;
546: - ncurses 5.7 is upgraded to 20100619;
547: - openssl is upgraded to 1.0.0a;
548: - interrupt stacks are now FIFO instead of LIFO;
549: - debug memory allocation subroutines are improved to run in multithreaded
550: programs;
551: - some memory leaks are fixed in process management (SPAWN and DETACH);
552: - version verification is added to shared objects;
553: - -D_GNU_SOURCE is added to ptmalloc3 makefile to avoid a major bug on 64 bits
554: linux (false mremap() prototype);
555: - major bug is fixed in rpliconv. getc() returns an int, not a unsigned char.
556: * Sun May 23 2010 BERTRAND Joël <rpl@systella.fr> rpl-4.0.15 (RPL/2)
557: - all '-' are replaced by '_' in random generator list;
558: - minor memory leak is fixed in OPEN intrinsic (socket);
559: - major bug is fixed in IFERR structure. Only occurs in compiled program;
560: - major bug is fixed in copie_objet() and liberation(). Only concerns
561: format in FCH (file descriptor) and SCK (socket descriptor);
562: - debug routines are improved;
563: - PROCID is added;
564: - MEMLOCK and MEMUNLOCK are added. MEMLOCK forces a process to remain in memory
565: and to not use swap;
566: - major bug is fixed in sql support. SQL connections were closed in all chield
567: process;
568: - standard allocator (malloc()/free()) is replaced by ptmalloc3 due to some bugs
569: discovered in Solaris thread safe allocators (libmalloc and libumem) that
570: are first fit class allocators. Solaris libmtmalloc works better and is
571: a best fit class allocator but its performance is poor than ptmalloc3
572: performance;
573: - major bug is fixed in ROW+ intrinsic (new row was not added where it
574: should);
575: - minor bugs are fixed in interruptions.c (semaphores values when error is
576: caught);
577: - major bug is fixed in STOP intrinsic. STOP was unable to stop any process
578: created by SPAWN;
579: - SIGFABORT is added. When process receives SIGFSTOP, it tries to execute
580: ATEXIT. If it receives SIGFABORT, it does not;
581: - ONEXIT is renamed in ATEXIT;
582: - ONEXIT new intrinsic is added.
583: * Wed Apr 21 2010 BERTRAND Joël <rpl@systella.fr> rpl-4.0.14 (RPL/2)
584: - major bug is fixed in static and shared variables initialization subroutine.
585: This bug only occurs when RPL/2 tries to create a shared or static variable
586: from an expression;
587: - major bug is fixed in copie_etat_processus(). A field that contains
588: information about shared variable was not copied to new processus structure;
589: - some little memory leaks are fixed in evaluation(), recherche_type() and
590: sequenceur(). They only occured when syntax error were caught;
591: - IMPLICIT causes execution error instead system error;
592: - Hurd support is improved but currently broken because Hurd does not support
593: SIG_INFO. Work in progress;
594: - OpenBSD specific support is removed from sources;
595: - support for Mac OS X and Windows/Cygwin is added.
596: * Wed Apr 07 2010 BERTRAND Joël <rpl@systella.fr> rpl-4.0.13 (RPL/2)
597: - implicit names can now be disabled by new IMPLICIT intrinsic:
598: cauchy:[~/cvs/test] > cat implicit.rpl
599: #!/usr/local/bin/rpl -sp
600: TEST
601: <<
602: "none" implicit
603:
604: 1 -> Z
605: <<
606: Z disp
607: 'Z' disp
608: >>
609:
610: 'Z' disp
611: Z disp // Undefined
612: >>
613:
614: cauchy:[~/cvs/test] > LANG=C ./implicit.rpl
615: +++RPL/2 (R) version 4.0.13 (Wednesday 04/07/10, 13:57:44 CEST)
616: +++Copyright (C) 1989 to 2009, 2010 BERTRAND Joel
617: 1
618: 'Z'
619: 'Z'
620: +++System : Invalid implicit name [6631]
621: cauchy:[~/cvs/test] >
622:
623: RPL/2 aborts because the last Z is undefined and not protected by ''.
624: By default, implicit is set to "ALL";
625: - sqlite is upgraded to 3.6.23.1;
626: - openssl is upgraded to 1.0.0;
627: - major bug is fixed in RETURN intrinsic. It only occurs in evaluation
628: subroutine;
629: - table variable can now be sorted by SORT;
630: - some regressions between libtool 1.x and 2.x are fixed by workarouds in
631: Makefiles;
632: - -a command line option analyzes program (structure and syntax) and
633: sends preprocessor output to standard output. This option is used by
634: rplc (RPL/2 compiler).
635: * Tue Mar 09 2010 BERTRAND Joël <rpl@systella.fr> rpl-4.0.12 (RPL/2)
636: - in formatted file, string format returned a variable length string even if
637: format was 'CHARACTER*(n)' (n characters string). Now, 'CHARACTER*(*)' returns
638: a variable length string and 'CHARACTER*(n)' a fixed length string;
639: - keyed access files support is added. Currently, only formatted files are
640: supported;
641: - direct access files support is added. Currenlty, these files can only be used
642: in formatted mode;
643: - virtual variables are now writte in UTF-8 and all special characters
644: in string are escaped;
645: - all formatted files are now converted into UTF-8;
646: - all file and unix socket names created by RPL/2 are now UTF-8 compliant;
647: - RPL/2 tools (rpliconv, rplfile, rplpp and rplconvert) are now checked before
648: each execution (md5 and sha1 sums) to enhance security. If one of these tools
649: have been modified between RPL/2 compilation and current execution, RPL/2 aborts
650: on a non recoverable system error;
651: - openssl and sqlite3 libraries are added;
652: - RPL_HOME env variable is added. When RPL/2 is called from librpl, this
653: variable indicates RPL/2 root directory. If it is not set, root path
654: is given by configure script (d_exec_path);
655: * Thu Mar 03 2010 BERTRAND Joël <rpl@systella.fr> rpl-4.0.11 (RPL/2)
656: - configure.in and makefile.am's are modified to add Cygwin support. Interix
657: support is broken;
658: - memory leak is fixed in recherche_type();
659: - TeX files are now written in UTF-8 even default locale differs;
660: - minor bug is fixed in ->STR (escaped characters);
661: - minor bug is fixed in ->Q intrinsic. Resultat is returned as integer
662: fraction intead real one;
663: - SIGN now returns (0,0) instead (nan,nan) when complex argument is null;
664: - Makefile.am are modified to authorize parallel builds;
665: - minor bug is fixed in CR intrinsic. CR sends a carriage return to printer
666: and writes warning to standard output;
667: * Wed Feb 10 2010 BERTRAND Joël <rpl@systella.fr> rpl-4.0.10 (RPL/2)
668: - escape codes are now converted in formateur(), not in recherche_type() to
669: avoid a minor bug in EDIT and VISIT intrinsics;
670: - minor bug is fixed in formateur_reel();
671: - file-5.03 is patched to avoid bus error on systems that require memory
672: alignment;
673: - minor bug is fixed in evaluation(). Error returned by RPL/C external functions
674: were able to be avoided by evaluation routine.
675: * Tue Jan 26 2010 BERTRAND Joël <rpl@systella.fr> rpl-4.0.9 (RPL/2)
676: - New benchmark on same hardware than old one :
677: cauchy:[~/rpl/bench] > ./bench.rpl
678: +++RPL/2 (R) version 4.0.9 (samedi 23/01/2010, 18:06:08 CET)
679: +++Copyright (C) 1989 à 2009, 2010 BERTRAND Joël
680: Number of scalar operations per second and per core : 2383016
681:
682: - PULPRFL does not abort on BUG() but on execution error;
683: - TRIM, REPL and TOKENIZE are added;
684: - sockets options are now set before bind();
685: - shutdown() is added to all connected sockets;
686: - minor bug is fixed in SUB intrinsic (segfault when SUB is called with
687: list argument and inexistant elements).
688: * Fri Jan 08 2010 BERTRAND Joël <rpl@systella.fr> rpl-4.0.8 (RPL/2)
689: - minor bug is fixed in DAEMON intrinsic. When a program was daemonized, all
690: signals sent to main process were not caught because DAEMON did not replace
691: old pid by new one;
692: - major bug is fixed in IFERR/THEN/ELSE/END. Only occurs in expression
693: evaluation when an error is reported from a subroutine in another subroutine.
694: For example, error was not caught in following program when it is executed with
695: -p option :
696: TEST << iferr TEST2 then end >>
697: TEST2 << 0 inv >>
698: - major bug is fixed in variable management. Some local variables were
699: seen as global ones;
700: - major bug is fixed in rplcore. Rplcore entered in dead lock when
701: script file contains a multibyte character;
702: - IN intrinsic is added;
703: - major bug is fixed in SAME intrinsic : << 1 >> DUP SAME and 'E' DUP SAME
704: returned false ;
705: - major bug is fixed in RETURN intrinsic. It only occurs in compiled
706: programs;
707: - major bug is fixed in NEG intrinsic. NEG did not make a copy of its arguments;
708: - regression is fixed in compilation(). "\\" was analysed as '"' '\' '\"' and
709: strings were never closed;
710: - some bugs have been fixed in file management;
711: - RPL/2 can now be run on EBCDIC systems (OS/390);
712: - major bug is fixed in -A command line option (NULL character is missing);
713: - minor bug is fixed in rpliconv and RECODE intrinsic. All transliterations are
714: made by blocks (1024 bytes). When an incomplete multibyte sequence is
715: encountered at end of block, subroutine aborts with an execution error;
716: - major bug is fixed in OPEN (TCP/IPv4 sockets).
717: * Mon Nov 30 2009 BERTRAND Joël <rpl@systella.fr> rpl-4.0.7 (RPL/2)
718: - DISP now locks stdout;
719: - rpliconv is added to replace standard iconv provided by operating system.
720: Indeed, conversion between different encodages requires transliteration
721: that is not offered by some iconv utility;
722: - CURRENC and RECODE intrinsics have been written to allow strings conversions;
723: - bug is fixed in SYSEVAL. When execvp() returns (for example when arg[0] can
724: not be found), SYSEVAL enters in a dead lock;
725: - fprintf is replaced by some functions that allow transliterations between
726: locales;
727: - '"' can now be used in strings ("\"");
728: - iconv is called with -c in preprocessor stage. It is done to write
729: CGI scripts with RPL/2 because locale charset is set to ANSI_X3.4-1968;
730: - double free is fixed in liberation() (type SQL, only occurs when locale is
731: set);
732: - LOCALIZATION, UCASE and LCASE are added;
733: - major bug is fixed in EXIT intrinsic that was able to return a false
734: execution error in compiled scripts (only in DO/UNTIL and REPEAT/WHILE loops);
735: - major bug is fixed in wrapper_instruction_intrinseque(). When intrinsic() was
736: used in onLoading from shared library, USE was pushed on stack as algebraic
737: expression;
738: - libiconv is upgraded to 1.13.1;
739: - gnuplot is upgraded to 4.2.6;
740: - gsl is upgraded to 1.13.
741: * Mon Sep 28 2009 BERTRAND Joël <rpl@systella.fr> rpl-4.0.6 (RPL/2)
742: - pipe() is overwritten by a macro to avoid a system error. Communication
743: between process are done with pipes and these pipes are managed by a
744: specific asynchrone thread. If a script try to create more threads than
745: management thread can destroy, you can quickly achieve maximum number of
746: opened files and pipe() shall return a system error. This macro tries to create
747: pipes. If pipe() function returns an error, macro waits and retries. If
748: number of retries is greater than a hardcoded value, macro returns an error;
749: - major bug (deadlock) is fixed in process and thread management. I hope
750: this bug shall be the last one;
751: - major bug is fixed in DET intrinsic (determinant was computed without LU
752: diagonalization);
753: - SWAPCNTXT is added;
754: - minor bug is fixed in Makefile.am (licences rule).
755: * Wed Sep 09 2009 BERTRAND Joël <rpl@systella.fr> rpl-4.0.5 (RPL/2)
756: - some bugfixes are added in process management;
757: - all process management is rewritten to avoid usage of defunct process
758: or thread number;
759: - new major bug is fixed in interruptions.c. Sometimes, when retrait_thread()
760: was called before a pending interruption5 (SIGFSTOP), signal handler uses
761: a freed semaphore and corrupts heap;
762: - CLRERR is added to erase previous errors;
763: - ERRN and ERRM return exception message and number;
764: - major bug is fixed in interruptions.c. All signal are now bufferised
765: when semaphore_liste_threads is null to avoid deadlock. This bug only
766: occured when STOP was sent to a dying thread or process (when this thread or
767: process was running retrait_thread());
768: - matrix rank is computed before matrix inversion;
769: - file locks are added to stdin and stdout. stderr is not locked because
770: all messages written by signal handlers are sent to stderr;
771: - configure.in script is modified to test gcc version and avoid a bug in
772: gcc older than 4.4;
773: - some benchmarks have been done :
774:
775: cauchy:[~/rpl/bench] > ./bench.rpl
776: +++RPL/2 (R) version 4.0.5 (mardi 04/08/2009, 18:23:07 CEST)
777: +++Copyright (C) 1989 à 2008, 2009 BERTRAND Joël
778: Number of scalar operations per second and per core : 2109867
779:
780: Workstation :
781: cauchy:[~/rpl/build] > uname -a
782: Linux cauchy 2.6.30.1 #1 SMP PREEMPT Thu Jul 16 09:49:46 2009 x86_64 GNU/Linux
783: cauchy:[~/rpl/build] > cat /proc/cpuinfo | grep "model name"
784: model name : Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz
785: model name : Intel(R) Core(TM)2 Duo CPU T7500 @ 2.20GHz
786: cauchy:[~/rpl/build] > gfortran -v 2>&1 | grep "gcc version"
787: gcc version 4.3.3 (Debian 4.3.3-14)
788: cauchy:[~/rpl/build] >
789:
790: - SVL and SVD are added;
791: - COND and RANK are added;
792: - DIAG-> and ->DIAG are added;
793: - major bug is fixed in DET intrinsic. DET is rewritten to avoid usage of
794: eigenvalues. In a first time, matrix rank is estimated to force determinant
795: to zero if matrix is rank deficient. If not, a PLU decomposition is done to
796: compute determinant;
797: - QR matrix decomposition is added;
798: - LQ matrix decomposition is added;
799: - Fortran90 files are rewritten to use Fortran2003 bind(C) statement and
800: Fortran preprocessor;
801: - default compilation options are now -Wall -Wextra -Wno-pointer-sign
802: -Wno-unused-parameter;
803: - all mathematical exceptions are now signaled by exceptions instead of
804: execution error;
805: - minor bug is fixed in both CSTOP and RSTOP intrinsics. Without this fix, you
806: can call twice CSTOP without RSTOP;
807: - named semaphore support is added (CRSMPHR, CLRSMPHR, SMHRDECR, SMPHRINCR,
808: SMPHRTRYDECR, SMPHGETV).
809: * Fri Jul 24 2009 BERTRAND Joël <rpl@systella.fr> rpl-4.0.4 (RPL/2)
810: - semaphore is added in interruptions.c to avoid segmentation fault when STOP
811: signal is sent to a dying thread. Some mutexes are replaced by semaphores too
812: to be used in signal handlers;
813: - major bug (memory corruption) is fixed in COL- intrinsic;
814: - minor bug is fixed in ALARM and WAIT. These temporisations stopped when a
815: software interrupt was caught;
816: - rplpp man page is added.
817: * Fri Jul 17 2009 BERTRAND Joël <rpl@systella.fr> rpl-4.0.3 (RPL/2)
818: - minor bug is fixed in WRITE (SIGPIPE is ignored to catch error without
819: process termination);
820: - major bug is fixed in FUSE intrinsic (FUSE kills itself and do not kill
821: its parent);
822: - a mutex to protect fork() syscall is added;
823: - all mutexes are unlocked after fork() in DETACH;
824: - minor bug (double free corruption) is fixed in CLOSE intrinsic;
825: - major bug is fixed in lecture_pipe when a nullified list is sent into a pipe;
826: - WORKDIR intrinsic is added;
827: - Level 0 variables are shared between all threads without copy. Indeed,
828: there variables are not modifiable and only contains static user definitions;
829: - branches prediction is added in THEN, ELSE, ELSEIF and REPEAT intrinsics;
830: - FORTRAN 77 file management subroutines are rewritten in pure C due to
831: FORTRAN string management. C/FORTRAN 77 string interfaces are broken
832: in some cases (gcc/gfortran/libc/OS and arch conjonction);
833: - a memory leak is fixed in REMOVE intrinsic;
834: - major bug is fixed in MySQL driver (segfault due to a bug in mysql_init()
835: and due to a libmysqlclient that is not thread safe).
836: * Wen Jun 10 2009 BERTRAND Joël <rpl@systella.fr> rpl-4.0.2 (RPL/2)
837: - new enhanced allocator is written for regular variables, static variables and
838: shared variables;
839: - major bug is fixed in src/interruptions.c. This file did not compile
840: when SQL support was not enabled;
841: - new allocator is written for system stack and last stack;
842: - --enable-profile flag is added to configure script. When this flag is
843: enabled, rpl is built with -pg option;
844: - SIGFSTP (from Solaris'TERMIO) is caught. On Solaris 10, all process receive
845: SIGFSTP (with a nullified siginfo structure) instead of SIGHUP when control
846: process is killed;
847: - abs() macro is modified to avoid multiple evaluation. Your C compiler has to
848: know typeof() intrinsic function. This function is not standard but exists
849: under Sun Studio, gcc, and maybe some others compilers. If this function does
850: not exist on your compiler, you can change its definition by old one in
851: src/rpl.h;
852: - fflush() can now be interrupted by signal (SunOS);
853: - fflush(NULL) is called before all fork() occurrences;
854: - generators returned by RDGN help are sorted;
855: - Lapack is now 3.2.1.
856: * Mon May 18 2009 BERTRAND Joël <rpl@systella.fr> rpl-4.0.1 (RPL/2)
857: - bug is fixed in src/generateurs_aleatoires.awk. It only occurs when RPL/2 is
858: built under Solaris.
859: * Wed May 5 2009 BERTRAND Joël <rpl@systella.fr> rpl-4.0.0 (RPL/2)
860: - major bug is fixed in matrix inversion (due to an inversion between pointer
861: and object copies);
862: - RDGN is added to use some different random number generators. See HELP RDGN;
863: - code analysis is rewritten from scratch to be more efficient and mode
864: expandable;
865: - minor bug (segfault in interruption1) is fixed. It only occurs on Solaris
866: that can returns a nullified siginfo pointer when SIGINT is sent by kernel
867: keyboard driver;
868: - gnuplot is now 4.2.5;
869: - readline is upgraded to 6.0;
870: - file is upgraded to 5.0;
871: - Signal handlers are rewritten to send signal to main thread when a signal
872: is send from an external process;
873: - configure.in is modified to avoid a libc bug on Solaris (free() can enter in
874: deadlock when a huge amount of threads is launched);
875: - minor bug is fixed in boath START and FOR intrinsic. Only occurs when
876: arguments types are unsupported;
877: - PLOT instrinsic is added (usage: LINE and MARK do not draw anything. All
878: data are buffered. PLOT is used to draw these objects.);
879: - MARK instrinsic is added;
880: - new allocator mechanism is written;
881: - some regression bugs have been fixed, some memory leaks too.
882: * Wed Jan 28 2009 BERTRAND Joël <rpl@systella.fr> rpl-4.0.0.prerelease.9 (RPL/2)
883: - an estimation of future stack elements is added to avoid some costly memory
884: allocations. This function has a positive impact on execution speed;
885: - PSHPRFL and PULPRFL have been added;
886: - RPL/2 can be built on Solaris 64 bits with some minor scripts alterations.
887: See README for more explanations;
888: - MTXSTATUS intrinsic is added;
889: - YIELD intrinsic is added;
890: - ERRM is fixed. In some cases, ERRM uses some uninitialized pointers;
891: - SHARED and PRIVATE intrinsics have been added. A shared variable is a
892: static variable that is shared by multiple threads;
893: - '->' intrinsic is improved. All object copies have been avoided;
894: - -n flag is added to catch HUP signal. stderr and stdout are redirected
895: to a file, stdin is redirected to /dev/null when control process is killed;
896: - a mutex is added to each object (before this modification,
897: RPL/2 used a global mutex and performances in multithreaded programs were very
898: poor.);
899: - ALARM is now interruptible;
900: - both PUT and PUTI intrinsics are improved and do not copy list and table
901: when nombre_occurrences == 1;
902: - COPY intrinsic is added. Argument (that can be pointed from some objects)
903: is replaced by a new copy of itself;
904: - memory leak is fixed in sequenceur(). It only occurs when an execution error
905: is caught from interactive mode;
906: - mutexes have been added (CRMTX, CLRMTX, MTXLOCK, MTXUNLOCK);
907: - new mutex type is added;
908: - profile statistics have been added. See -P option;
909: - major bug is fixed in analyse_syntaxique();
910: - new SQL type is added;
911: - due to a trouble in libpq in multithreaded context, SQL intrinsic is split
912: in three new intrinsics : SQLCONNECT, SQLQUERY and SQLDISCONNECT. Please note
913: that all programs that worked with old SQL intrinsic can now work with
914: SQLQUERY. With all new programs, you can open a real connection to databases;
915: - NRPROC is added. This new intrinsic is used to catch error from child
916: process. Without NRPROC, any errors returned by child process cause
917: main process to abort;
918: - SPAWN is added. This new intrinsic is used to launch a new thread (DETACH
919: starts a new process). There are no mutexes in RPL/2 because all spawned process
920: use specific context. Nevertheless, shared variables and associated mutexes
921: should be added;
922: - -D flag and DAEMONIZE intrinsic have been added;
923: - REPEAT, THEN, ELSE and ELSEIF intrinsics are rewritten to be more efficient;
924: - autoconf script is modified to handle mysql and postgresql on non standard
925: directories;
926: - -t flag is fixed ('\0' is missing...);
927: - SWI and SEND pipes have been modified to be more robust on systems where
928: getpid() can return (pid_t) -1 or (pid_t) -2 value;
929: - major bug is fixed in REPEAT intrinsic. Only occurs in compiled mode;
930: - all but jump variables are removed from source. All signal handlers now
931: use encapsulated variables and signals are caught by thread;
932: - major bug is discovered in ->LCD. Both LCD-> and ->LCD have been fixed;
933: - NEWPLANE is added;
934: - LINE is added;
935: - DGTIZ is added;
936: - major bug is fixed in ROW-> intrinsic (comes from new garbage collector);
937: - lot of multiprocessing related bugs have been fixed; That was a huge work but
938: it's done. Data integrity is now respected during transmission (POKE, SEND and
939: SWI);
940: - ITRACE is added. This intrinsic is only used to debug internal structures and
941: should not be used in regular programs;
942: - SWISTATUS is written;
943: - WFACK is written;
944: - rplcore files are now able to handle compilation errors;
945: - rplcore files are now able to handle evaluation and interruption errors;
946: - SORT can now be used on table;
947: - tables can now be sent by POKE and SEND instrinsics;
948: - software interrupts do not inherit IFERR controls;
949: - LOGGER intrinsic is added;
950: - All WF* intrinsics but WFSOCK are made interruptible;
951: - ISWI intrinsic is added. Current interrupt is marked as 'interruptible';
952: - tables can be used with SAME intrinsic;
953: - minor bug is fixed in recherche_variable(). Only occurs when an error
954: is caught;
955: - external functions can now be used in expressions;
956: - major bug (deadlock) is fixed in WFPOKE intrinsic;
957: - some mistakes have been fixed under Solaris;
958: - major bug is fixed in RETURN intrinsic (only occurs when evaluation and
959: program modes are mixed);
960: - major bug (dead lock) is fixed in gestion_processus.c;
961: - major bug is fixed in WFPROC;
962: - rplc, rpllink and mkrplso manpages are added;
963: - rpltags tool and manpage are added;
964: - WFLOCK is fixed;
965: - RPL/2 kills now all process on error;
966: - major bug (segfault) is fixed in REMOVE intrinsic.
967: * Mon Jul 28 2008 BERTRAND Joël <rpl@systella.fr> rpl-4.0.0.prerelease.8 (RPL/2)
968: - configure script is modified to check mysql and postgresql libraries
969: on all standard locations. Tested and works on FreeBSD, Solaris and Linux
970: Debian;
971: - Tables are allowed in eval ( <[ 1 ]> 't' sto 't(1)' eval );
972: - ->TABLE and TABLE-> intrinsics are added;
973: - major bug is fixed in recherche_type(). Only occurs when rpl executes
974: precompiled scripts;
975: - new type is added: table with <[ ]> delimiters:
976: RPL/2> { 2 3 2 } crtab
977:
978: 1: <[ <[ <[ { }
979: { } ]>
980: <[ { }
981: { } ]>
982: <[ { }
983: { } ]> ]>
984: <[ <[ { }
985: { } ]>
986: <[ { }
987: { } ]>
988: <[ { }
989: { } ]> ]> ]>
990:
991: CRTAB new intrinsic creates a regular table. By default, all elements are
992: nullified lists;
993: - rplexternals.h is modified and improved;
994: - GNU File (renamed as rplfile) cannot be built due to a bug in libtoolize and
995: configure script.
996: * Mon Jun 23 2008 BERTRAND Joël <rpl@systella.fr> rpl-4.0.0.prerelease.7 (RPL/2)
997: - libiconv is added (iconv library exists on some systems but implemantations
998: differ and RPL/2 can crash);
999: - --enable-encoding is added to configure script to force system encoding.
1000: Enconding detection does not work on OpenBSD;
1001: - internal file utility is shipped and used to avoid xBSD file mistakes;
1002: - GSL 1.11 and gnuplot 4.2.3 are now used;
1003: - src/Makefile.am is modified to built RPL/2 ons Solaris 10/sparc;
1004: - all but user's messages are written on stderr;
1005: - DUPCNTXT and DROPCNTXT are added to handle more efficiently contexts;
1006: - SCHED is added. Whit SCHED, you can limit CPU ressource by RPL/2 process;
1007: - FUSE, RFUSE and CLRFUSE have been added;
1008: - new bug discovered on NetBSD. sigpending() does not return any signal, thus
1009: DETACH intrinsic enters in a definitive dead lock. I have no idea to write a
1010: workaround for this major bug. Nevertheless, all others capabilities seems to
1011: work fine;
1012: - '->' is modified to return error when program tries to initialiaze two
1013: variables with the same name like
1014: 1 0 -> I I << ... >>;
1015: - CSTOP and RSTOP have been added (catch and release stop signal);
1016: - CONTINUE is added to continue a pending process halted by SUSPEND;
1017: - SUSPEND is modified to be stopped by SIGFSTOP;
1018: - src/Makefile.am is modified to avoid //TRANSLIT flag on systems that don't
1019: support GNU iconv;
1020: - configure.in script is modified to avoid bugs when --with-postgresql and
1021: --with-mysql are specified;
1022: - TRNC is written;
1023: - minor bug is fixed in both IFT and IFTE. Returned expression has to be
1024: evaluated.
1025: * Fri Apr 11 2008 BERTRAND Joël <rpl@systella.fr> rpl-4.0.0.prerelease.6 (RPL/2)
1026: - SIGPIPE signal handler is modified to avoid abort process when POKE tries
1027: to write data into a pipe without reader;
1028: - major bug is fixed in RETURN intrinsic. When RETURN was called from a detached
1029: process without -p modifier, it can send an ABORT signal instead a KILL one;
1030: - PEEK, POKE and WFPOKE new intrinsics are written;
1031: - major bug due to new garbage collector is fixed in rplexternals.h (double free
1032: corruption);
1033: - CLRCNTXT is added (clear contexts);
1034: - VERIFY intrinsic is written;
1035: - PSHCNTXT and PULCNTXT are added (PSHCNTXT pushes context on an
1036: internal contexts stack, PULCNTXT pulls contexts from this internal stack).
1037: Main usages of these intrinsics are in conjonction with IFERR or with
1038: software interrupts;
1039: - HEAD, TAIL and REVLIST intrinsics are added;
1040: - function pointers have been added to function description;
1041: - new analyse() routine is written. All instrinsics are now in a N-tree;
1042: - software interrupts have been fixed;
1043: - multitasking capabilities have been modified to be usable on NetBSD. All real
1044: time signals have been removed;
1045: - major bugs are fixed in multitasking (mutex trouble _and_ segmentation fault);
1046: - minor bug is fixed in STR->. STR-> could return a system error instead an
1047: execution one;
1048: - first bug due to new garbage collector is fixed in '+' ({ } { } +) and in
1049: '-' intrinsics;
1050: - PostgreSQL support is written.
1051: * Mon Mar 17 2008 BERTRAND Joël <rpl@systella.fr> rpl-4.0.0.prerelease.5 (RPL/2)
1052: - locale can now be specified in SQL intrinsic :
1053: { "mysql:iso-8859-1" "server" "database" ... };
1054: - major bug is fixed un analyse_algebrique(). When DISP printed an algebraic
1055: object, 'DISP()' was pushed in stack;
1056: - same major bug is fixed in <, >, <=, >= and <>;
1057: - major bug fixed in formateur() (segfault when a symbol is used without "'");
1058: - major bug is fixed in DUPN intrinsic;
1059: - when software interrupt (SWI) is evaluated, SWI pushs process id on stack
1060: before starting interrupt evaluation;
1061: - -f parameter is added when iconv is called;
1062: - as old file program was bugged, a new option is added to configure script.
1063: When configure is called with --disable-encoding-autodetection, make does not
1064: try to detect source encoding. Please, do not use if RPL/2 can be built
1065: without this option !
1066: - new garbage collector (and more efficient) is written;
1067: - configure script is modified to be usable on NetBSD 4.0, but as NetBSD does
1068: not support real time signals, RPL/2 cannot use multitasking functions;
1069: - error returned by preprocessor are now catched by RPL/2;
1070: - -p option is added. With this option, all scripts are compiled before
1071: RPL/2 starts evaluation. HALT cannot be used with -p, but all programs run
1072: 40% faster;
1073: - read and write operations in pipe() are rewritten to be sure that such
1074: operations are atomic;
1075: - minor bug is fixed in LOGSCALE. With {} LOGSCALE, all scales have to be
1076: linear;
1077: - major bug is fixed in gestion_processus.c (some pipes were not closed).
1078: * Sat Jan 5 2008 BERTRAND Joël <rpl@systella.fr> rpl-4.0.0.prerelease.4 (RPL/2)
1079: - major bugs have been fixed in software interrupt management.
1080: * Fri Jan 4 2008 BERTRAND Joël <rpl@systella.fr> rpl-4.0.0.prerelease.3 (RPL/2)
1081: - JDATE and RDATE are written;
1082: - minor bug (segfault) is fixed in EXSUB. It only occurs when EXSUB is executed
1083: with wrong arguments;
1084: - KILL now kills current process, ABORT kills program;
1085: - software interrupts support is added (SWI, WFSWI, SWILOCK, SWIUNLOCK,
1086: SWIQUEUE, STOSWI, RCLSWI, CLRSWI);
1087: - major bug is fixed in SQL intrinsic (argument types);
1088: - system stack is now written in core file;
1089: - ALARM is added;
1090: - nanosleep() now replaces sleep() and usleep() system calls;
1091: - _GNU_SOURCE is added to rpl.h.
1092: * Fri Nov 30 2007 BERTRAND Joël <rpl@systella.fr> rpl-4.0.0.prerelease.2 (RPL/2)
1093: - License is changed. Now RPL/2 license is CeCILL (GPL compliant);
1094: - EXGET adn EXSUB are added;
1095: - minor bug is fixed in recherche_type(). { << } has to return an error.
1096: '<<' and '>>' are both functions _and_ delimiters. Thus { IF } is
1097: acceptable, but { >> } isn't;
1098: - GSL is now 1.10, gnuplot 4.2.2 and units 1.87;
1099: - OBGET and OBSUB intrinsics are added;
1100: - src/Makefile.am minor bug is fixed (make clean deleted src/rpl.xpm);
1101: - WAIT intrinsic is modified to use sleep() and usleep() if delay is
1102: greater than one second. On some systems, usleep argument must be lower
1103: than 1E6;
1104: - numeric and character formats are now tested;
1105: - -A flag is added. -A is used to give command line parameters to main
1106: routine. Example:
1107: rayleigh:[~/rpl-4.0.0.prerelease.2/examples] > ./test3.rpl -A "<< X sin >>"
1108: +++RPL/2 version 4.0.0.prerelease.2 (vendredi 05.10.2007, 19:03:01 CEST)
1109: +++Copyright (C) 1989 à 2006, 2007 BERTRAND Joël
1110: << 'X' SIN >>
1111: rayleigh:[~/rpl-4.0.0.prerelease.2/examples] > cat test3.rpl
1112: #!/usr/local/bin/rpl -s
1113:
1114: TEST
1115: <<
1116: disp
1117: >>
1118: - minor bug (segfault) is fixed in encart() routine (splash screen). Child
1119: process ended with segfault due to a mistake in Motif widget cleaning
1120: process;
1121: - major bug is fixed in DETACH intrinsic. Child process were locked when
1122: they were started with a locked mutex that comes from its father;
1123: - ctrl+C can now kill all child process;
1124: - WFPROC and WFDATA are rewritten;
1125: - RETURN is fixed to be usable in detached process;
1126: - HALT is not exported to child process;
1127: - FLOW filetype is added;
1128: - Makefiles are modified to support gcc-4.2 and gfortran-4.2;
1129: - socket support (Unix, IPv4, IPv6, STREAM, DATAGRAM, ROBUST DATAGRAM,
1130: SEQUENTIAL DATAGRAM, RAW) is added. Warning: IPv6 sockets have not been tested
1131: because I don't have any IPv6 compliant server, but they should work.
1132: * Mon Sep 10 2007 BERTRAND Joël <rpl@systella.fr> rpl-4.0.0.prerelease.1 (RPL/2)
1133: - library management is rewritten from scratch. EXTERNAL is removed and
1134: EXTERNALS is added. Now, all exported symbols are sent to RPL/2 when
1135: library is loaded;
1136: - OPEN arguments are changed;
1137: - EXTERNAL now checks availability of external functions;
1138: - number of arguments is verified in analyse_algebrique().
1139: 'SIN(A+X,2)' is now refused because SIN requires only one argument;
1140: - all but lapack symbols are exported from librpl with librpl, f77 or f90
1141: prefix;
1142: - minor bug is fixed in formateur() (AND and OR requires parenthesis);
1143: - rplexternals.h header file is added; Now, it is very easy to write
1144: external functions;
1145: - memory leak is fixed in analyse_algebrique();
1146: - minor bug (symbole flag) is fixed in sequenceur.c and types.c;
1147: - temp file was not removed when an error occurs in EDIT or VISIT;
1148: - 'name' should not returned a function ("FCT" object);
1149: - -rdynamic is added to src/Makefile.am.
1150: * Mon Jul 23 2007 BERTRAND Joël <rpl@systella.fr> rpl-4.0.0.prerelease.0 (RPL/2)
1151: - Major bug is fixed in interface_tex.c. When there are errors in latex
1152: file, latex command waits for input on its command line;
1153: - major bug is fixed in tex.h (multiline strings);
1154: - examples subdir is added;
1155: - major bug is fixed in recherche_variable(). When an expression is evaluated
1156: in a function, all variables set in this function must be visible in
1157: expression. Thus, << I -> 3 << << I >> eval >> must return 3, not 'I';
1158: - LAST stack is saved in rplcore;
1159: - major bug is fixed in ->HMS. It only occurs when argument type is not
1160: integer or real;
1161: - major bug (segfault) is fixed when rpl is called with empty file;
1162: - libtool support is removed. Two new scripts (rplc and rpllink) are provided
1163: to use librpl.a;
1164: - automake scripts are rewritten to avoid a misconfiguration of librpl.a
1165: when -j make option is used;
1166: - trace output now contains PID;
1167: - rpl-core is renamed in rpl-code-$PID;
1168: - rplc and rpllink scripts can now sompile and build C and Fortran
1169: executables with librpl.a;
1170: - New classification, only a working simplification() routine is
1171: required to announce 4.0.0.final;
1172: - librpl entry point is modified to return results as strings array;
1173: - -S option is added;
1174: - due to a major bug in libtool, libtool is removed from autoconf/automake
1175: scripts;
1176: - VERSION is modified to return a list.
1177: * Tue Jul 17 2007 BERTRAND Joël <rpl@systella.fr> rpl-4.00pre8x (RPL/2)
1178: - major regression bug is fixed in PRINT due to mistake in latex pathes;
1179: - gnuplot does not have to be built if --disable-embedded-gnuplot is set;
1180: - new prompt ("RPL/2> ") is used for interactive mode;
1181: - ARCCOS, ARCSIN, ARCTG, ARGCH, ARGSH, ARGTH, CH, SH, TH and TG intrinsics
1182: are removed, because all of these intrinsics have two forms. ARCCOS is
1183: the same than ACOS, TAN=TG, COSH=CH. Please adapt your scripts;
1184: - gnuplot compilation does not have to be done when disable-gnuplot is set;
1185: - major bug is fixed in RECV that avoid usage of multitasking.
1186: * Tue Jul 10 2007 BERTRAND Joël <rpl@systella.fr> rpl-4.00pre8w (RPL/2)
1187: - False error (system error) was reported by recherche_type();
1188: - recherche_type() returns syntax error if a list is included in
1189: an algebraic expression;
1190: - --enable-debug is modified. Now, return can be defined to print
1191: on stdout its position in source code (line and function);
1192: - minor bug is fixed in recherche_type(). Don't forget that space
1193: are not significant in algebraic expression:
1194: '12 3+ 12 X' is the same expression than '123+12X';
1195: - src/Makefile.am is modified to avoid double compilation process;
1196: - --enable-final-run-path is added to configure.in script;
1197: - STATIC is modified to declare static variables in expression. Warning: static
1198: variables used in expressions are deleted when evaluation of this expression
1199: ends;
1200: - MEM does not report static variable sizes;
1201: - minor bug is fixed in HELP intrinsic. When the last instruction was not
1202: known, HELP function was pushed in operational stack. HELP did not work
1203: when there were space on input line.
1204: * Mon May 28 2007 BERTRAND Joël <rpl@systella.fr> rpl-4.00pre8v (RPL/2)
1205: - DATE is modified: reduced julian days is replaced by fraction part
1206: of julian days. Old field used by julian days is now integer part of julian
1207: days;
1208: - CONVERT intrinsic is rewritten to accept absolute path in popen;
1209: - automake scripts are modified to delete src/lock file if build process aborts;
1210: - rplargs.h directly includes rpl.h;
1211: - absolute pathes are added to all external program files (rplplot, rplpp...);
1212: - intrinsic functions are case sensitive. External functions are case
1213: unsensitive. A minor bug is fixed in recherche_type() because all external
1214: functions were case unsensitive when they were evaluated from RPN expressions;
1215: - HELP function is rewritten to be more friendly (a la OpenVMS);
1216: - external wrapper (rplplot) is written to force usage of gnuplot provided
1217: by RPL/2 if it is built during build process. If this build does not exist,
1218: it tries to launch regular gnuplot;
1219: - gnuplot is added to source tree to avoid some trouble between preinstalled
1220: gnuplot and release used by RPL/2. This addition to source tree is
1221: required by some incompatibility between gnuplot releases;
1222: - Lapack is upgraded to 3.1.1 release;
1223: - GSL is upgraded to 1.9 revision;
1224: - RPL_TMP_PATH env variable is added to specify the path of tempfiles. If
1225: it is not set, /tmp is used. If /tmp is not writable, /var/tmp is used. If
1226: not, ./ but RPL/2 can hang with a fatal error if this last location is
1227: not writable;
1228: - major regression is fixed in SYSEVAL intrinsic due to introduction of
1229: error scrutation.
1230: * Sat Mar 24 2007 BERTRAND Joël <rpl@systella.fr> rpl-4.00pre8u (RPL/2)
1231: - SYSEVAL is modified to return an error when execvp() syscall cannot
1232: execute its arguments;
1233: - -hard-float sparc option is remove from mkrplso;
1234: - major bug is fixed in SQL intrinsic that hangs when query did not return
1235: any values (for exemple INSERT);
1236: - escape sequences can be used in SYSEVAL argument like "echo \"string\""
1237: SYSEVAL;
1238: - graphic and PostScript outputs are now cleared in child process;
1239: - locales are now used by preprocessor;
1240: - major bug is fixed in impression_tex(). PRINT did not work due to a bug
1241: introduced by multitasking code;
1242: - SORT can now use name as its argument.
1243: * Sun Jan 21 2007 BERTRAND Joël <rpl@systella.fr> rpl-4.00pre8t (RPL/2)
1244: - Variable management has been rewritten and some tests have been done. Now,
1245: it is possible to execute:
1246:
1247: #!/usr/local/bin/rpl -sc
1248:
1249: TEST
1250: <<
1251: 1 1000 start VAR_S VAR_S2 next
1252: >>
1253:
1254: VAR_S
1255: <<
1256: static 3 -> C << C disp 'C' incr if C 10 > then 'C' volatile end >>
1257: >>
1258:
1259: VAR_S2
1260: <<
1261: static 3 -> C << C disp 'C' decr >>
1262: >>
1263:
1264: - configure.in script is added in lapack subtree;
1265: - VARS is modified to display variables status (LOCKED/UNLOCKED and
1266: STATIC/VOLATILE/PARAMETER/VARIABLE);
1267: - STATIC and VOLATILE intrinsics are added to specify static variables. A
1268: static variable can be transformed into volatile with VOLATILE.
1269: With STATIC, next variables created by '->' are static;
1270: - PROTECT and UNPROTECT are added to protect variables against write
1271: or purge actions. New PARAMETER and VARIABLE intrinsics are modified
1272: versions of PROTECT and UNPROTECT that only deal with global variables
1273: (see RCL/SAVE);
1274: - variable management routines have been rewritten. The new ones are
1275: uncompatible with the old ones. Before these changes, a local variable
1276: was exported to a child subroutine, but cannot be modified into this
1277: child subroutine. Now, a local variable is accessible only in its subroutine;
1278: - SAVE intrinsic is added to manipulate global variables;
1279: - SUSPEND is written. RPL/2 waits for a SIGCONT signal;
1280: - SORT, COL->, ->COL, ROW->, ROW-> intrinsics are written;
1281: - Makefile.am are improved;
1282: - minor bug is fixed in ->list and ->array. Without any argument, these
1283: intrinsic only send a SIGSEGV;
1284: - ncurses is updated to release 5.6;
1285: - lapack is updated to 3.1.0.
1286: * Sun Dec 31 2006 BERTRAND Joël <rpl@systella.fr> rpl-4.00pre8s (RPL/2)
1287: - default CFLAGS/FFLAGS/FCFLAGS are modified due to a bug in gcc-sparc64
1288: that avoid a complete build;
1289: - CTRL+Z and CTRL+C signals only perform actions on main process;
1290: - major bugs are fixed in multitasking capabilities (some mistakes with
1291: mutexes and several terminated child process cannot be closed by the
1292: operating system);
1293: - minor bug fixed in SCLS (mistake between main and auxiliary axes);
1294: - variables are now written in rpl-core file;
1295: - NEG is modified to return 0 instead -0 when its argument is real or complex
1296: number;
1297: - ROW+ intrinsic can now be used on empty matrix without dimension error:
1298: [[]] 1 [[ 1 2 ]] row+;
1299: - major bug is fixed in SUB intrinsic. It only occurs with lists when
1300: it tries to returns invalid elements like { } 1 2 sub;
1301: - major bug is fixed in ROW- intrinsic;
1302: - major bug is fixed in ROW+ intrinsic.
1303: * Sat Dec 02 2006 BERTRAND Joël <rpl@systella.fr> rpl-4.00pre8r (RPL/2)
1304: - creation_nom_fichier() is rewritten to force all process to create
1305: different file names;
1306: - RANLUX is removed to use GSL library and avoid a bug in gfortran-4.1;
1307: - readline-5.2 and units-1.86 are now used;
1308: - SEQUENCE statement is added in fonctions_speciales.f90 to fix a build
1309: failure.
1310: * Mon Oct 23 2006 BERTRAND Joël <rpl@systella.fr> rpl-4.00pre8q (RPL/2)
1311: - wfproc is rewritten to avoid a dead lock;
1312: - major mistake is fixed in both sommation_vecteur_reel() and
1313: sommation_vecteur_complexe();
1314: - multitasking is rewritten from scratch to fix some mistakes with
1315: multithreading. DETACH, SEND and RECV now use four real time signals to
1316: perform a better task synchronization;
1317: - some bugs introduced by locales specific compilations are fixed;
1318: - major memory corruption is fixed in DEPND;
1319: - HELP intrinsic is modified to print a classified output.
1320: * Mon Aug 12 2006 BERTRAND Joël <rpl@systella.fr> rpl-4.00pre8p (RPL/2)
1321: - major memory leak is fixed in DETACH intrinsic. Files were closed by
1322: both childs and parent;
1323: - bug that avoids usage of Motif is fixed in configure.in;
1324: - makefile's are modified to build RPL/2 with other locale than ISO-8859;
1325: - db is removed from source tree due to some compilation troubles (db's
1326: autoconf script is broken);
1327: - sdb is removed from source tree due to some memory leaks and some troubles
1328: with its configure script. New SQL routines are written, but only MYSQL
1329: subsystem is available. Now, SQL can be used without memory leak;
1330: - major bug is fixed in evaluation() subroutine. Value of error flag
1331: was not returned in some cases;
1332: - FACT intrinsic does not accept real arguments anymore due to the new intrinsic
1333: GAMMA;
1334: - GAMMA intrinsic is added (complex function) ;
1335: - autoconf/automake scripts are modified to compile F90 sources;
1336: - src/distributions.f is replaced by src/distributions.f90. All Numerical
1337: Recipes references are avoided to use GSL;
1338: - GSL is upgraded to 1.8 release;
1339: - -lz is added in src/Makefile.am to fix a mistake in sparc32.
1340: * Mon Apr 10 2006 BERTRAND Joël <rpl@systella.fr> rpl-4.00pre8o (RPL/2)
1341: - fft.f is removed. Now FFT intrinsic uses dft subroutine;
1342: - Sparc64 optimizations are modified. Now gcc-4.0 can be used to build RPL/2 on
1343: Sparc64. Same modifications are done on sparc32;
1344: - major bug are fixed in both PLOTTER and HISTOGRAM intrinsics
1345: (interface with GNUplot).
1346: - major bugs are fixed in USE/REMOVE intrinsics (system stack corruption);
1347: - corruption of last stack is fixed in mclrin (only occurs when an error is
1348: caught);
1349: - major bug (in a malloc condition) is fixed in derivation().
1350: * Tue Jan 07 2006 BERTRAND Joël <rpl@systella.fr> rpl-4.00pre8n (RPL/2)
1351: - configure script and makefiles are modified to be usable with automake
1352: 1.9.6 (GNU), libtool 1.5.20 (GNU) and autoconf 2.59 (GNU).
1353: - gestion_fichiers() prototype is modified to be built by gfortran. Now,
1354: gfortran is the default compiler for FORTRAN code included in RPL/2;
1355: - libdb is added to perform indexed file access;
1356: - SQL interfaces are added (SQL intrinsic). Only mysql is supported;
1357: - minor bug is discovered and fixed in matrix multiplication (precision);
1358: - rpl.spec.in and debian directory are deleted due to some mistakes in the
1359: scripts required to build packages.
1360: * Tue Nov 15 2005 BERTRAND Joël <rpl@systella.fr> rpl-4.00pre8m (RPL/2)
1361: - major bug is fixed in IFERR/THEN/(ELSE)/END structure. It occured when an
1362: error is caught before a regular IF/THEN/(ELSE)/END structure in
1363: IFERR/THEN/(ELSE)/END structure;
1364: - chmod 755 debian/rules is done by makefile;
1365: - major bug is fixed in recherche_instruction_suivante():
1366: +++"123 " str->
1367: +++Erreur : Argument invalide pour la commande << "123 " str-> >>
1368: Before this fix, it was impossible to use a command line that ends with spaces.
1369: * Sat Oct 29 2005 BERTRAND Joël <rpl@systella.fr> rpl-4.00pre8l (RPL/2)
1370: - SELECT/CASE/DEFAULT/END is modified. Now, it is impossible to write:
1371: SELECT
1372: <case>
1373: CASE <test> THEN <expr> END
1374: ...
1375: DEFAULT
1376: DEFAULT <- two DEFAULT's
1377: END
1378:
1379: or
1380:
1381: SELECT
1382: <case>
1383: CASE <test> THEN <expr> END
1384: ...
1385: DEFAULT
1386: ...
1387: CASE <test> THEN <expr> END <- CASE statement after DEFAULT
1388: END
1389: - major bug is fixed (in (unsigned char) getc()). It only occurs when RPL/2 is
1390: built with gcc-4.0.
1391: - configure.in is modified to be usable with gcc-4.0.
1392: * Mon Oct 3 2005 BERTRAND Joël <rpl@systella.fr> rpl-4.00pre8k (RPL/2)
1393: - segmentation fault occurs in both PROMPT and INPUT when readline returns
1394: NULL (ctrl^D). This trouble is now fixed;
1395: - major bug is fixed in DATE intrinsic (julian days and reduced julian days);
1396: - stderr of rplpp is now caught;
1397: - SYSEVAL is modified to use stdin, stdout and stderr:
1398: ESSAI
1399: <<
1400: // Only stdout and stderr
1401: "ls" dup disp syseval
1402: clmf
1403: // Now with stdin ("zer\naze\n")
1404: { "cat" "zer" "aze" } dup disp syseval
1405: clmf
1406: >>
1407: - GSL is upgraded to 1.7.
1408: * Thu Sep 29 2005 BERTRAND Joël <rpl@systella.fr> rpl-4.00pre8j (RPL/2)
1409: - SYSEVAL is modified. It now returns stdout and stderr in a list;
1410: - minor memory leak is fixed in recherche_instruction_suivante() subroutine.
1411: * Thu Aug 4 2005 BERTRAND Joël <rpl@systella.fr> rpl-4.00pre8i (RPL/2)
1412: - internal file descriptors are modified to be usable with DUMP intrinsic;
1413: - VARS intrinsic is modified and now prints value of variables.
1414: * Thu Jul 21 2005 BERTRAND Joël <rpl@systella.fr> rpl-4.00pre8h (RPL/2)
1415: - units is upgraded to 1.85 release;
1416: - -d flag is added in command line. Don't use this flag if you don't know
1417: what you do! It is only used to debug internal memory allocations;
1418: - internal pointers (ADR objects) are printed as 64 bits pointers to be usable
1419: on 64 bits wide architectures.
1420: * Sat apr 16 2005 BERTRAND Joël <rpl@systella.fr> rpl-4.00pre8g (RPL/2)
1421: - DUMP is rewritten to be portable. It works, but without shared libraries,
1422: printer file, graphic files and last error. Support for this kind of objects
1423: shall be available as soon as possible. Warning: DUMP cannot be used in
1424: multiprocessing;
1425: - configure.in script is modified to return an error when g77 is not found;
1426: - a new internal type is used to handle shared libraries;
1427: - a major bug is discovered and fixed in recherche_type(). It only occurs
1428: in interactive mode ([[ 1 ]] returns a syntax error);
1429: - a major bug is found in simplification_arbre(). Subroutine is disabled.
1430: * Thu mar 17 2005 BERTRAND Joël <rpl@systella.fr> rpl-4.00pre8f (RPL/2)
1431: - option -r is added to restart a process from a dump file;
1432: - DUMP intrinsic is added. It performs synchronous checkpointing;
1433: - GSL is upgraded to release 1.6.
1434: * Wed dec 22 2004 BERTRAND Joël <rpl@systella.fr> rpl-4.00pre8e (RPL/2)
1435: - Result types of PERM and COMB instrinsic are fixed;
1436: - RPL/2 now uses a new preprocessor due to a new 'feature' in gcc/cpp;
1437: - RPL/2 can now use all processors on multiprocessor workstations with
1438: DETACH, SEND, RECV and WFPROC new intrinsics. The first test program was:
1439:
1440: #!/usr/local/bin/rpl -cs
1441:
1442: MULTIPROCESSUS
1443: <<
1444: 'FONCTION' detach
1445: do "B" disp until false end
1446: >>
1447:
1448: FONCTION
1449: <<
1450: do "A" disp until false end
1451: >>
1452:
1453: * Sun dec 12 2004 BERTRAND Joël <rpl@systella.fr> rpl-4.00pre8d (RPL/2)
1454: - major bug is discovered and fixed in analyse_notation_algebrique :
1455: +++'A-B-C' returned
1456: 1: 'A-(B-C)' instead of 1: 'A-B-C'. It is now fixed;
1457: - recherche_type() routine is improved to cast in name 1E5E-6 or 1.23.4.5.
1458: * Fri dec 7 2004 BERTRAND Joël <rpl@systella.fr> rpl-4.00pre8c (RPL/2)
1459: - major bug is fixed in formateur_fichier(). Now, it is possible to use
1460: lists in a file record. Note that only sequential and formatted files
1461: are supported;
1462: - major bug is fixed in BACKSPACE intrinsic. It only occurs on large
1463: records.
1464: * Fri nov 26 2004 BERTRAND Joël <rpl@systella.fr> rpl-4.00pre8b (RPL/2)
1465: - minor bug is fixed in IP intrinsic: when argument was real without
1466: fraction part, IP returned a real, not an integer;
1467: - minor bug is fixed in recherche_type(): it is now possible
1468: to enter +++<NB3 + return. RPL/2 returns a syntax error, not a acces
1469: violation;
1470: - MCLRIN (MacLaurin series) intrinsic is added;
1471: - TAYLR (Taylor series) instrinsic is added;
1472: - very minor bug is fixed in evaluation(). Sometimes, when evaluation()
1473: is stopped by ^C, EXIT intrinsic did not work due to a mistake in
1474: the internal system stack;
1475: - minor bug is fixed in encart.c. System error messages returned by
1476: this subroutine were only available in french;
1477: - internal RPL/2 system stack corruption is fixed. This bug only affects
1478: interactive and debug modes when evaluation routine returns an error;
1479: - symbolic derivation subroutine is now able to derivate functions;
1480: - minor bug is fixed in instruction_multiplication: now 'X' 1. * returns
1481: 'X' and not 'X*1'.
1482: * Thu nov 18 2004 BERTRAND Joël <rpl@systella.fr> rpl-4.00pre8a (RPL/2)
1483: - ctags in src/Makefile.am is fixed;
1484: - first derivation subroutines are written;
1485: - major bug is fixed in analyse_algebrique() :
1486: before this patch, '3-5+4' was understand as '3-(5+4)' !
1487: - instruction_division() is improved and returns 0 when it evaluates
1488: '0/X';
1489: - instruction_moins() is improved and returns 'NEG(X)' when it evaluates
1490: '0-X'.
1491: * Fri nov 5 2004 BERTRAND Joël <rpl@systella.fr> rpl-4.00pre8 (RPL/2)
1492: - interface_gnuplot is modified and do not use any deprecated gnuplot
1493: commands. Warning, you must use gnuplot 4.0;
1494: - graphic output is improved. Now, it is possible to use two separated
1495: scales on the same 2D graph (with "main" and "auxiliary" option of SCALE
1496: intrinsic). For example:
1497:
1498: #!/usr/local/bin/rpl -c
1499:
1500: TEST
1501: <<
1502: 'X' indep
1503: { X Y } autoscale
1504: 'SIN(X)' steq draw
1505: { "auxiliary" } axes
1506: { X Y } autoscale
1507: 'COS(X)+2' steq draw
1508: { { "ticsonly" "automatic" } { "ticsonly" "automatic" } } axes
1509: drax persist
1510: >>
1511:
1512: - a major bug is fixed in encart.c;
1513: - ncurses is patched.
1514: * Mon nov 1 2004 BERTRAND Joël <rpl@systella.fr> rpl-4.00pre7o (RPL/2)
1515: - configure script is updated;
1516: - splash screen is added;
1517: - minor bug is fixed in SYSEVAL (only occurs with SIGINT signal).
1518: * Sun oct 24 2004 BERTRAND Joël <rpl@systella.fr> rpl-4.00pre7n (RPL/2)
1519: - stack overflows are caught.
1520: * Fri oct 8 2004 BERTRAND Joël <rpl@systella.fr> rpl-4.00pre7m (RPL/2)
1521: - minor bug is fixed in both << and >> intrinsics. It only occurs when
1522: "<<" HELP or ">>" help is called;
1523: - DFT and IDFT are added;
1524: - minor bug is fixed in FFT (explicit length has to be positive);
1525: - MOD can be used with vectors and matrices arguments;
1526: - major bugs are fixed in FFT and IFFT (trouble in the computation of the
1527: default length of FFT). Only occur with matrices.
1528: * Sat aug 14 2004 BERTRAND Joël <rpl@systella.fr> rpl-4.00pre7l (RPL/2)
1529: - readline is upgraded to 5.0;
1530: - gsl is upgraded to 1.5;
1531: - corrections in HELP functions.
1532: * Fri aug 7 2004 BERTRAND Joël <rpl@systella.fr> rpl-4.00pre7k (RPL/2)
1533: - HELP is added;
1534: - statistic matrix SIGMA is renamed as SDAT;
1535: - rpl.h is modified to workaround a bug in Cygwin environment
1536: (SA_NOMASK is not defined in include files);
1537: - overflows are tested in HMS+ and HMS-;
1538: - CEIL, FLOOR and IP are modified to return a correct result with huge
1539: arguments that cannot be stored as integers;
1540: - fix a minor bug in ->LIST. The LAST stack now contains all arguments
1541: of this intrinsic;
1542: - flag 32 is used with DISP;
1543: - major bug is fixed in ->Q intrinsic (type of argument and memory leak).
1544: * Fri may 21 2004 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre7j (RPL/2)
1545: - major bug is fixed in analyse(). CHR intrinsic cannot be called because
1546: I have erased a 'break' in a case statement;
1547: - major bug is fixed in AXES intrinsic. It only occurs when AXES is used
1548: with "main" or "auxiliary" option;
1549: - major bug is fixed in recherche_types(). With this patch, 'sin(X)' is
1550: now well analysed as 'SIN(X)'.
1551: * Thu apr 22 2004 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre7i (RPL/2)
1552: - major bug is discovered and fixed in formateur(). It only occurs when
1553: an algebraic expression is displayed with '='. In some cases, parenthesis
1554: are missing. Same fix in formateur_fichier();
1555: - a minor bug is fixed in evaluation.c that does not return any error when
1556: it tries to execute 'a=z' e = ;
1557: - new code is written in each intrinsic functions to return their required
1558: arguments.
1559: * Sun apr 14 2004 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre7h (RPL/2)
1560: - a minor bug is fixed in recherche_type: 1.E90 is now a real;
1561: - minor bug is fixed in formateur_reel(). It only occurs in STD mode:
1562: 1E90 was printed as 1.00000000000000E90;
1563: - HELP is added;
1564: - formateur() is fixed to properly print matrices and lists;
1565: - a lot of warnings due to deprecated syntax are fixed;
1566: - DFT is modified but not usable;
1567: - cosmetic bug is fixed in formateur_tex.c;
1568: - minor bug is fixed in FFT intrinsic (segfault when FFT is called without
1569: any argument).
1570: * Sun Jan 25 2004 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre7g (RPL/2)
1571: - included ncurses is updated to 5.4;
1572: - included units is updated to 1.83c;
1573: - major bug is fixed in recherche_type() function. With this bug, RPL/2
1574: prints 'A/INV(Z+E)+R' when you enter A Z E + inv R + /;
1575: - DFT intrinsic is added. It returns the discrete Fourier transform of an
1576: array. When the length of each line is 2**n, the result is the same as
1577: the result of FFT;
1578: - minor bug is discovered and fixed in PUT and PUTI intrinsics when these
1579: instructions verify arguments types. It does not affect the result when
1580: all arguments are correct.
1581: * Sun Oct 19 2003 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre7f (RPL/2)
1582: - major bug is fixed in evaluation of both EXIT and CYCLE intrinsics. Now,
1583: EXIT can be used (as ABORT and KILL) to quit interactive mode of RPL/2;
1584: - units is updated to 1.83a release;
1585: - formateur_fichier.c is modified to handle unformatted files. This task
1586: is not completed.
1587: * Mon Aug 25 2003 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre7e (RPL/2)
1588: - CLUSR is written. It purges all global variables;
1589: - BESSEL intrinsic is fixed to allow the use of expressions as arguments;
1590: - a major bug was introduced with rpl-4.00pre7d in formateur.c. It appears
1591: when an algebraic expression is displayed or printed but does not affect
1592: computations. It is now fixed;
1593: - gsl is upgraded to 1.4.
1594: * Mon Aug 18 2003 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre7d (RPL/2)
1595: - algebraic expressions are now more readable when they are displayed
1596: (less parenthesis);
1597: - rplpp is modified to workaround a mistake in 'which' function (seems to appear
1598: on Debian distribution, but since cpp is in the default path, RPL/2 works
1599: fine...);
1600: - NOT is not correctly formatted in formateur.c:
1601: Z NOT -> 'NOT Z' but 'A+Z' NOT -> 'NOT A+Z' and 'NOT Z+A' -> 'NOTZ+A'
1602: with a NOTZ function !
1603: * Sun Aug 10 2003 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre7c (RPL/2)
1604: - CYCLE is fixed. Now, it is possible to use CYCLE in an expression even
1605: if the main loop is in a program;
1606: - RPL/2 is tested with efence and valgrind;
1607: - configure.in script is modified;
1608: - units.c is modified to be built by gcc-3.3. I only have removed a #if 0/#endif
1609: structure. I don't know why this code was compiled by gcc-3.3... Maybe
1610: another gcc bug...
1611: * Fri Jul 25 2003 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre7b (RPL/2)
1612: - EXIT is fixed. Now, it is possible to use EXIT in an expression when the
1613: main loop is in a program;
1614: - RPL/2 can take its arguments (and command) on the standard input. Try
1615: echo "1 2 3 + *" | rpl -i | grep "^1:" | cut -d ':' -f2
1616: - a minor bug in vim syntax file is fixed (CYCLE and EXIT intrinsics);
1617: - a minor bug is discovered in analyse_algebrique(). Now, expression
1618: such as 'A+Z AND 2' or '(A+Z) AND 2' are correctly parsed.
1619: * Mon Jun 16 2003 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre7a (RPL/2)
1620: - Major bug is fixed in evaluation subroutine. This one only occurs
1621: when an error in a user definition called by an expression is caught
1622: by an IFERR structure;
1623: - EXIT intrinsic can now be used in DO/UNTIL/END or WHILE/REPEAT/END loops;
1624: - sequenceur() is now uninterruptible with STOP signal in recherche_type()
1625: subroutine;
1626: - major bug is fixed in types.c (# xxxxxb) and recherche_instruction_suivante();
1627: - GSL exception (underflow) is now caught;
1628: - tools/Makefile.am is fixed;
1629: - Debian buildpackage script is fixed.
1630: * Tue Jun 10 2003 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre7 (RPL/2)
1631: All memory leaks issued from the pre6 beta releases seem to be fixed.
1632: Build process is improved and vim syntax file and manual pages are updated.
1633: * Mon Jun 9 2003 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre6l (RPL/2)
1634: - RCI and RCIJ intrinsic are added;
1635: - BESSEL intrinsic is added. Syntax:
1636: 3: type ("J", "K", "I", "Y", "j", "k", "i", "y")
1637: 2: order (integer or real)
1638: 1: x;
1639: - ->Q intrinsic is added;
1640: - major bug is fixed in C->R intrinsic;
1641: - ROW+ and ROW- are added and tested;
1642: - COL+ and COL- are added and tested. Syntax:
1643: 3: matrix
1644: 2: integer (number of column to be inserted)
1645: 1: column matrix to be inserted;
1646: - major bug was discovered in interface_gnuplot(). It only occurs when
1647: the subroutine reduces the graphical depth. It is now fixed;
1648: - Some mistakes are been fixed in vim syntax file;
1649: - SX2, SY2 and SXY are added;
1650: - SX and SY statistical intrinsics are added;
1651: - DEBIAN control file is fixed;
1652: - PAPER intrinsic is added. Supported paper formats are now : a4, a5, b5,
1653: letter, legal, executive;
1654: - PPAR is modified to include current graphic type.
1655: * Sun Jun 1 2003 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre6k (RPL/2)
1656: - SLICESCALE intrinsic is added. Its syntax is
1657: { "automatic" nb_of_levels }
1658: { "discrete" l1 l2 l3 ... }
1659: { "incremental" start incr }
1660: { "incremental" start incr end }
1661: { "automatic" } (default);
1662: - a minor bug (in last stack) is fixed in AXES intrinsic
1663: - flag 52 is used to automatically update graphics;
1664: - man pages are updated;
1665: - evaluation() is modified to perform evaluation of expressions that contain
1666: '=';
1667: - a minor bug is fixed in AXES intrinsic;
1668: - a minor bug is fixed in DRAW intrinsic (2D and 3D graphics were able to
1669: appear on the same figure). The same mistake is fixed in DRWS intrinsic;
1670: - LAST is disabled in evaluation subroutine (EVAL and ->NUM intrinsics).
1671: * Sun May 18 2003 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre6j (RPL/2)
1672: - SLICE intrinsic is added. It is used to draw 3D graphics as contour lines;
1673: - PLOTTER is added to draw statistical clouds with lines;
1674: - C and H source files now include vim parameters;
1675: - vim syntax file is modified to include new intrinsics;
1676: - static archive is modified to include all required libraries needed by
1677: RPL/2.
1678: * Sun May 4 2003 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre6i (RPL/2)
1679: - '=' is added and tested;
1680: - XCOL and YCOL are added;
1681: - a minor bug in analyse_syntaxique() is fixed;
1682: - THEN is modified to return an error when ELSE appears in a CASE/THEN/END
1683: structure. ELSE is modified to return an error when ELSE appears in
1684: an ELSE/END structure;
1685: - a major bug is fixed in CYCLE;
1686: - EXIT is written. When EXIT appears in a defined loop (FOR or START), the
1687: sequencer continues after the end of this loop;
1688: - SCLS is added;
1689: - DRWS now uses COLS to draw 2D graphics;
1690: - PPAR and SPAR are written. SPAR returns a list that contains the
1691: size of the statistical matrix (or "UNAVALAIBLE" if there is any
1692: statistical variable, or "DISABLED" if its type is not one of the type of
1693: a statistical matrix.) and XCOL and YCOL parameters. Warning: [[]] SIZE
1694: returns { 1 0 } and it is not a bug, because a null matrix contains _one_
1695: null line ! Thus, [[]] STOS SPAR returns { { 1 0 } 1 2 };
1696: - EXTERNAL intrinsic is added. Warning: by default, extern functions are
1697: disabled. Arguments of EXTERNAL are case sensitive because the external
1698: interface is written in C. { ext_sinus } EXTERNAL does not replace the list
1699: of known external functions but add the new list to the last. { "all" }
1700: EXTERNAL allows all external functions and { "none" } EXTERNAL removes all
1701: external names of the known functions;
1702: - mkrplso.in is modified.
1703: * Sun Apr 20 2003 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre6h (RPL/2)
1704: - vim syntax file is upgraded;
1705: - a minor mistake is fixed in recherche_instruction_suivante();
1706: - some minor memory leaks are fixed in recherche_type() function. They only
1707: occurs when a syntax error is detected;
1708: - #error and #warning preprocessor macros are added;
1709: - INCR and DECR are written (with integer or variable argument);
1710: - CSWP and RSWP are added and tested;
1711: - a minor bug is fixed in analyse.c;
1712: - DEBIAN/control is added to build debian package;
1713: - SCALE is fixed and improved ("automatic" keyword);
1714: - PUTC and PUTR new intrinsics are added.
1715: * Sun Apr 13 2003 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre6g (RPL/2)
1716: - a very minor bug is fixed in VISIT intrinsic. It only occurs when
1717: VISIT does not find a name in level 1;
1718: - configure.in script is modified to add a new test (--enable-debug
1719: flag). Configured with this fleg, RPL/2 will be built with electric-fences;
1720: - GETR (get row[s]) and GETC (get column[s]) are added. These new instructions
1721: extract a part of a matrix. Syntax: [[ 1 2 3 ][ 2 3 4 ]] { 1 } GETR or
1722: 'MATRIX' { 2 2 3 } GETR;
1723: - LOGSCALE intrinsic is improved and now, it can be used as
1724: { "main" "auxiliary" X Y } LOGSCALE;
1725: - SCALE intrinsic is used to fix the limits of a graphic. Its syntax is the
1726: same than AXES:
1727: { { 60 "ticsonly" 2 } { "automatic" "ticsonly" 10 } } axes
1728: { "auxiliary" { 60 "ticsonly" "default" } { "automatic" } } axes
1729: { { -10 10 } "automatic" } SCALE.
1730: Warning, it is not possible to ask a logarithmic scale with this intrinsic
1731: because it changes only the dimension of the screen. To have a logarithmic
1732: scale, you must use LOGSCALE intrinsic:
1733: { X } LOGSCALE gives a semi-log screen, { "auxiliary" X Y } gives a log-log
1734: screen on second scale;
1735: - { X X } autoscale and { Y Y } logscale are now invalid;
1736: - *D is added (depth multiplication, for 3D graphics);
1737: - a new intrinsic (*S) is added. It changes the scale of a graphic (X, Y
1738: and Z axes). The result of *S is the same than DUP DUP *H *W *D;
1739: - a major bug is fixed in GETI instrinsic when it is used with a name
1740: that contains a matrix or a vector (bad upper bounds conditions in
1741: incrementation);
1742: - DISP intrinsic now uses the 33-th flag. When it is not set
1743: (default), a final carriage return is sent to the terminal;
1744: - AXES intrinsic only takes a list that can contains the keywork
1745: "main" or "auxiliary". Before this modification, this keyword was in
1746: the first stack level;
1747: - vim syntax file is upgraded;
1748: - in appel_gnuplot(), stdin is closed when gnuplot is called with -raise
1749: option;
1750: - LAST is now disabled in the main loop of INT intrinsic;
1751: - expm1 and lnp1 are rewritten to use expm1 and log1p from math.h.
1752: * Sun Apr 6 2003 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre6f (RPL/2)
1753: - a major bug is fixed in evaluation() subroutine. It occurs with DRAW
1754: intrinsic when the equation cannot be evaluated (for example 'SIN(X)/X'
1755: in 0);
1756: - LAST is disabled in the main loop of DRAW intrinsic;
1757: - a major bug is fixed in DRAW intrinsic. When an error occurs in the
1758: evaluation of an equation, the system stack is returned corrupted to the
1759: sequencer;
1760: - the same minor bug is fixed in FOR and START. It only occurs when the limits
1761: of a loop are not integer or real.
1762: * Sun Mar 31 2003 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre6e (RPL/2)
1763: - the compilation stage aborts with an error message when two definitions
1764: have the same name. To improve the compilation() subroutine, I have to
1765: add some tests in gestion_variables.c;
1766: - recherche_type() subroutine ad some other connex subroutines are improved.
1767: Now, some syntax errors about object are caught and do not perform sequencer
1768: hangup;
1769: - readline is upgraded (minor compilation bug with recent gcc);
1770: - Makefile.am's and configure.in scripts are improved.
1771: * Fri Mar 14 2003 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre6d (RPL/2)
1772: - DRWS intrinsic is written. Two datastyles are associated: SCATTER (2D
1773: and 3D) and HISTOGRAM (only 2D, but 3 columns are accepted, the third shown
1774: the boxwidth, 1 by default);
1775: - recherche_type() is rewritten to be faster;
1776: - gsl is upgraded (release 1.3);
1777: - ncurses is upgraded and patched (release 5.3);
1778: - recherche_instruction_suivante() is fixed (string research with included
1779: '"') and rewritten to be faster;
1780: - appel_gnuplot() is fixed. When no graphic was available, it returned a
1781: segfault.
1782: * Sun Mar 9 2003 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre6c (RPL/2)
1783: - RPL/2 is compiled by gcc-3.2.2 and seems to work;
1784: - the same minor bug is fixed in REDRAW and DRAX functions;
1785: - a minor fix is written in DRAW function (2D and 3D);
1786: - AXES intrinsic is improved. Now { { pi "ticsonly" 4 } "automatic" } DRAX
1787: is accepted;
1788: - a minor bug is fixed in VISIT intrinsic.
1789: * Sun Jan 26 2003 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre6b (RPL/2)
1790: - a minor bug is fixed in evaluation subroutine;
1791: - vim syntax file is improved;
1792: - DRAW (wireframe section) is fixed. When an error occurs in the evaluation
1793: of a 3D-graphic (for example 'SIN(R)/R' with 'R=SQRT(X**2+Y**2)' in X=0 and
1794: Y=0), no graph was procuced (it results from a bug in gnuplot, and this fix
1795: is a quick and dirty workaround...);
1796: - RETURN intrinsic is modified to fix a trouble in interactive mode;
1797: - rplconvert is improved.
1798: * Sun Dec 22 2002 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre6a (RPL/2)
1799: - a memory leak is fixed in formateur.c that only occurs when RPL/2 try
1800: to print a list that contains a name;
1801: - a major bug is fixed in -> intrinsic that only occurs in evaluation case with
1802: a algebraic expression (<< 1 -> X 'X+1' >> eval);
1803: - vim syntax file is improved;
1804: - RPL/2 can now be built by gcc 3.2.1;
1805: - "**" can be used in algebraic expression;
1806: - DRAW can now plot wireframe (3D) graphics.
1807: * Sun Dec 8 2002 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre6 (RPL/2)
1808: - ncurses is patched to be compiled by gcc 3.2;
1809: - purification_chaine is rewritten to fix a major bug (when 'chaine' is empty);
1810: - a major bug is fixed in recherche_instruction_suivante();
1811: - minor bug is fixed in rpl-core file. The error message is now correctly
1812: written;
1813: - minor bug is fixed in analyse_notation_algebrique.c and types.c.
1814: Now, an expression such as 'A+' returns an error when it is analyzed;
1815: - VISIT intrinsic is added;
1816: - a major memory leak is fixed in evaluation.c. This bug rarely occurs in
1817: normal mode.
1818: * Sun Aug 25 2002 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre5e (RPL/2)
1819: - an EDIT intrinsic is added;
1820: - PRMD intrinsic returns french or english messages;
1821: - rpl-core now call LAST intrinsic if the last stack is avalaible. It
1822: contains the error message too;
1823: - new syntax, ftplugin and indent files are written for vim text editor;
1824: - major bug is found and fixed in RCL intrinsic;
1825: - major bug is found and fixed in OR intrinsic.
1826: * Mon Jul 29 2002 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre5d (RPL/2)
1827: - ncurses is updated;
1828: - minor bug is fixed on PURGE instruction (an error no caught was
1829: returned in interactive mode).
1830: * Mon Jul 21 2002 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre5c (RPL/2)
1831: - ASL (arithm. shift left) is added.
1832: * Thu Jul 11 2002 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre5b (RPL/2)
1833: - ncurses is patched;
1834: - gsl is added to perform arithmetic operations;
1835: - units is patched;
1836: - some very minor bugs have been fixed.
1837: * Wed May 15 2002 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre5a (RPL/2)
1838: - ncurses is patched;
1839: - RPL/2 can now be built by gcc 3.1;
1840: - RDZ is fixed (minor bug).
1841: * Sun Apr 21 2002 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre5 (RPL/2)
1842: - RPL/2 can now be called from other languages (librpl libraries).
1843: * Sun Mar 24 2002 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre4h (RPL/2)
1844: - ERRN and ERRM can now be used with errors returned by external functions;
1845: - readline and ncurses have been updated;
1846: - no more bugs have been reported since the rpl-4.00pre4g release.
1847: * Wed Feb 20 2002 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre4g (RPL/2)
1848: - ERRN and ERRM intrinsic functions are written. They return the last
1849: error number or message even if errors are caught by an IFERR structure;
1850: - a minor bug is fixed in EPSILON intrinsic. Now, 'EPSILON(0)' returns
1851: a non null value;
1852: - Ncurses is updated.
1853: * Mon Feb 18 2002 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre4f (RPL/2)
1854: Arithmetic intrinsic instructions (- +, -, *, / and **) are improved :
1855: 'X' 0 + and 0 'X' + return 'X';
1856: 'X' 0 - returns 'X';
1857: 'X' 1 * and 1 'X' * return 'X';
1858: 'X' 0 * and 0 'X' * returns 0;
1859: 'X' 1 / returns 'X';
1860: 'X' 1 ** returns 'X';
1861: 'NEG(X)' NEG returns 'X';
1862: - autoconf/automake scripts are improved: now, the size of the different types
1863: found by configure are used in rpltypes.h (rplconfig.h is written by configure);
1864: - rdynamic flag is added in src/Makefile.am. This flag is used in the first
1865: makefile, but forgotten in the new process;
1866: - Flag 31 is tested before saving any arguments in bibliotheques_externes.c;
1867: - POS can now be used on lists;
1868: - ELSILON is written. This function returns the smallest real e(x) such as
1869: e+abs(x) != abs(x).
1870: * Mon Feb 11 2002 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre4e (RPL/2)
1871: - now, INT intrinsic function can be interrupted;
1872: - precision of sommation_vecteur_xxx() subroutines is improved;
1873: - new vim syntax file written for vim 6.0.
1874: * Mon Feb 04 2002 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre4d (RPL/2)
1875: - explicit error messages are now printed when the RPL/2 is used in
1876: interactive mode;
1877: - major bug is fixed in OPEN intrinsic: with 'REPLACE' status, file lock was
1878: tested after the file is opened, thus, when the file was locked, it was
1879: deleted too!;
1880: - configure script is improved (and it seems to be good ;-) );
1881: - An --disable-experimental flag is added to the configure script. Thus, even
1882: if you compile a beta release, you can compile a stable RPL/2;
1883: - new syntax and ftplugin written for vim 6.0.
1884: * Wed Jan 30 2002 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre4c (RPL/2)
1885: - configure script is improved.
1886: * Sun Jan 27 2002 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre4b (RPL/2)
1887: - ncurses now replaces termcap;
1888: - Côme DESPLATS has written a configure script.
1889: * Fri Jan 18 2002 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre4a (RPL/2)
1890: - KIND is added and returns the type of the numerical argument ;
1891: - history file is added.
1892: * Tue Jan 15 2002 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre4 (RPL/2)
1893: - Stable release. Unformatted files are disabled in this release.
1894: * Mon Jan 14 2002 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre3h (RPL/2)
1895: - SIGTSTP (CTRL+Z) is added. In a script, a SIGTSTP signal signifies
1896: that the RPL/2 seqencer must stop and must give a prompt. This
1897: signal is an asynchonous "HALT" command;
1898: - SIGINT (CTRL+C) variables stack corruption is fixed;
1899: - IFERR seems to be fixed (in equation evaluation routine);
1900: - Memory leak is fixed (ADR object type);
1901: - DATE returns both date and hours;
1902: - TIME now returns user and system CPU times;
1903: - MEM is added.
1904: * Thu Jan 10 2002 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre3g (RPL/2)
1905: - Makefile is improved to support sparc v7 (sun4c), sparc v8 (sun4m) and
1906: sparc v9 (sun4u). Now, RPL/2 can be built on i386 (i486 is known as i386),
1907: i586, i686, K6, K7, alpha ev4, alpha ev5, alpha ev56, alpha ev6, sparc v7,
1908: sparc v8 and sparc v9. Compilation of RPL/2 on my Sun Sparc 2 (sun4c,
1909: CPU 4/75, 64 MB, 40 MHz with FPU) is a very great mission :
1910:
1911: Newton:[~/rpl/rpl] > time make install
1912: ...
1913: real 338m39.623s
1914: user 324m32.290s
1915: sys 10m47.380s
1916: Newton:[~/rpl/rpl] >
1917:
1918: I don't know if you will compile this language on old worstations, but
1919: it is usable ;-) ;
1920: - SYSEVAL is improved. An external program can be called without any shell.
1921: Thus, even if the sticky bit is set, RPL/2 can not give a shell root when
1922: a SYSEVAL command crashes;
1923: - minor bug is fixed in recherche_type() (# xxxxb parsing);
1924: - presence of bootstrap entry point is verified before launching the
1925: sequencer;
1926: - minor bug is fixed in formateur_tex() (underscore in mathematical
1927: expression);
1928: - Lapack is updated.
1929: * Thu Jan 3 2002 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre3f (RPL/2)
1930: - IFERR is now known in an expression, but not usable.
1931: * Mon Dec 31 2001 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre3e (RPL/2)
1932: - several bugs are fixed.
1933: * Mon Dec 17 2001 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre3d (RPL/2)
1934: - major bugfix in file locking.
1935: * Fri Dec 14 2001 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre3c (RPL/2)
1936: - minor fixes is system() call.
1937: * Fri Nov 30 2001 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre3b (RPL/2)
1938: - automatic limitation of the graphical depth due to a limitation (bug ?)
1939: of gnuplot.
1940: * Mon Nov 19 2001 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre3a (RPL/2)
1941: - new file temp management.
1942: * Sun Nov 18 2001 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre3 (RPL/2)
1943: - memory leak is fixed in STO instruction;
1944: - minor bug in file management is fixed;
1945: - BACKSPACE is added;
1946: - VARS is added;
1947: - file locks are improved.
1948: * Wed Nov 14 2001 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre2l (RPL/2)
1949: - major bug is fixed (on sparc architecture) and RPL/2 can now run
1950: on sparc stations;
1951: - INDEP and DEPND are improved;
1952: - AXES is added;
1953: - WRITE, APPEND and REWIND are added.
1954: * Sun Nov 11 2001 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre2k (RPL/2)
1955: - write is improved ;
1956: - major bug is found and fixed in copie_objet() with struct_fichier;
1957: - minor bug is fixed in OPEN function;
1958: - minor bug is fixed in analyse_syntaxique() subroutine. All commands
1959: are analysed before starting their executions.
1960: * Thu Nov 8 2001 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre2j (RPL/2)
1961: - minor bug is fixed in appel_gnuplot();
1962: - RPL/2 can work without LANG variable.
1963: * Wed Oct 31 2001 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre2i (RPL/2)
1964: - WAIT function is improved (removing the polling function);
1965: - LAST stack is not active (default) when rpl is called without the option -i.
1966: In all other cases, LAST stack is active;
1967: - Labels can be added on a gnuplot output (function LABEL);
1968: - LCD-> and ->LCD are added.
1969: * Sun Oct 21 2001 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre2h (RPL/2)
1970: - minor bug is fixed in TeX output (pi);
1971: - new english manual is added.
1972: * Wed Oct 16 2001 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre2g (RPL/2)
1973: - LOCK, WFLOCK and UNLOCK are added. A file is locked when it is opened;
1974: - VERSION function is added. It returns the version number of the interpreter;
1975: - minor bug is fixed in evaluation subroutine;
1976: - english error messages are been fixed.
1977: * Tue Oct 09 2001 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre2f (RPL/2)
1978: - interrupt subroutine is added;
1979: - formatted files support is continued.
1980: * Sun Sep 30 2001 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre2e (RPL/2)
1981: - formateur_fichier.c is added to perform formatted files write.
1982: * Thu Sep 27 2001 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre2d (RPL/2)
1983: - minors bugfixes in FIX format in formateur_reel() subroutine;
1984: - new manual page in english;
1985: - FORMAT intrinsic is added and can read any format for "formatted" file.
1986: * Sun Sep 23 2001 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre2c (RPL/2)
1987: - OPEN, CLOSE, SYNC, INQUIRE, CREATE and DELETE are tested;
1988: - a man page in the first manual section is written.
1989: * Thu Sep 20 2001 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre2b (RPL/2)
1990: - major bugfixes in recherche_type() subroutine: sometimes in interactive mode,
1991: this routine was be able to forget the last element of a list, a vector or
1992: a matrix.
1993: * Mon Sep 17 2001 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre2a (RPL/2)
1994: - OPEN, CLOSE and DELETE are known by the language but not very usable;
1995: - minor bugfixes in evaluation routine.
1996: * Sun Sep 16 2001 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre2 (RPL/2)
1997: - major bugfixes in evaluation routine.
1998: * Sat Sep 15 2001 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre1d (RPL/2)
1999: - conditional structures can be used in equations.
2000: * Fri Sep 14 2001 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre1c (RPL/2)
2001: - Minor bugfixes in makefile.
2002: * Sat Sep 8 2001 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre1b (RPL/2)
2003: - CONVERT is written;
2004: - CYCLE, FOR/NEXT, FOR/STEP, START/NEXT, START/STEP, DO/UNTIL/END and
2005: WHILE/REPEAT/END can now be used in an equation;
2006: - I fix some troubles with evaluation subroutine;
2007: - db3 library is added.
2008: * Thu Sep 6 2001 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre1a (RPL/2)
2009: - add rplconvert and rplunits sources;
2010: - add CONVERT definition (but it does not work).
2011: * Mon Sep 3 2001 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre1 (RPL/2)
2012: - initial public release (GPL).
2013: * Thu Apr 2 1998 BERTRAND Joël <rpl2@systella.fr> rpl-4.00pre0 (RPL/2)
2014: - RPL is rewritten from scratch and renamed RPL/2.
2015: #* 1992 BERTRAND Joël rpl-3.02 (RPL-387)
2016: #- minor bugfixes.
2017: #* 1991 BERTRAND Joël rpl-3.01 (RPL-387)
2018: #- arithmetic processor support is added to improve global performances.
2019: #* 1991 BERTRAND Joël rpl-3.00 (RPL-386)
2020: #- idem... but on an i386DX...
2021: #* 1990 BERTRAND Joël rpl-2 (RPL-6809)
2022: #- a new release on a more powerfull processor and with new functions and an
2023: #built-in editor. It has been written on a SMT-Goupil G3-6809 running
2024: #Flex9 (320 KB of RAM and a graphic card used to draw 512*256 graphics in
2025: #8 colors)
2026: #* 1989 BERTRAND Joël rpl-1 (RPL-6502)
2027: #- initial release (only an historic interest) written on an ORIC Atmos 48K.
2028: #No graphic was provided.
CVSweb interface <joel.bertrand@systella.fr>