File:  [local] / rpl / ChangeLog
Revision 1.235: download - view: text, annotated - select for diffs - revision graph
Thu Oct 29 12:59:37 2015 UTC (8 years, 5 months ago) by bertrand
Branches: MAIN
CVS tags: HEAD
Mise à jour de units.

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

CVSweb interface <joel.bertrand@systella.fr>