File:  [local] / rpl / ChangeLog
Revision 1.241: download - view: text, annotated - select for diffs - revision graph
Sun Dec 13 22:54:59 2015 UTC (8 years, 4 months ago) by bertrand
Branches: MAIN
CVS tags: HEAD
Série de patches :
- ajout de sys_realloc() pour utiliser la fonction realloc() à la C depuis un
  bout de code RPL/C ;
- GET/GETI/LIST->/TABLE-> évaluent les constantes symboliques au lieu de
  retourner la fonction dans la pile ;
- --enable-native est ajouté pour optimiser la compilation.

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

CVSweb interface <joel.bertrand@systella.fr>