File:  [local] / rpl / ChangeLog
Revision 1.36: download - view: text, annotated - select for diffs - revision graph
Sat Jul 31 10:34:15 2010 UTC (13 years, 8 months ago) by bertrand
Branches: MAIN
CVS tags: HEAD
Correction du support des séquences d'échappement dans TOKENIZE et ajout des
instructions ATPOKE et CLRATPOKE.

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

CVSweb interface <joel.bertrand@systella.fr>