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