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