File:  [local] / rpl / ChangeLog
Revision 1.46: download - view: text, annotated - select for diffs - revision graph
Mon Aug 30 14:14:06 2010 UTC (13 years, 7 months ago) by bertrand
Branches: MAIN
CVS tags: HEAD
Correction d'un problème entre le processus d'injection de données et
l'instruction NRPROC.

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

CVSweb interface <joel.bertrand@systella.fr>