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