* Mon Oct 28 2024 BERTRAND Jol <rpl@systella.fr> rpl-4.1.36 (RPL/2)
- giac is upgraded to 2.0.0;
- mpfr and pari are upgraded;
- ATEXIT routine is executed after KILL not after ABORT;
- Lapack is upgraded to 3.12.1;
- sqlite is upgraded to 3.50.4;
- readline is upgraded to 8.3;
- libiconv is upgraded to 1.18;
- file is upgraded to 5.46;
- OpenSSL is upgraded to 3.5.3;
- STDFLX is added to redirect stdio (for example after DAEMONIZE);
- major bug is fixed in ->HMS and HMS->;
- WARNING : mpfi is build with -Werror and gcc14 triggers a warning !
mpfi should be built with gcc-13 !
- gnuplot is upgraded tu 6.0.1:
- sqlite is upgraded to 3.47.0;
- ncurses is upgraded to 6.5;
- OpenBSD support is fixed (OpenMP is replaced by direct syscalls);
- GSL is upgraded to 2.8;
- major bug is fixed in CLOSE intrinsic (segfault with keyed files);
- PADDING parameter is added in CIPHER intrinsic;
- OpenSSL is upgraded to 3.3.2;
- minor bug is fixed (?) in chiffrement. OpenSSL seems to require
a buffer greater than length of message rounded to next block size.
* Mon Jan 08 2024 BERTRAND Jol <rpl@systella.fr> rpl-4.1.35 (RPL/2)
- HALT is now reduced to program level;
- major bug is fixed in RETURN;
- major bug is fixed in READ command (with flow socket argument);
- CLRSOCK function is added. This function frees socket resources in
main process when socket is used in a detached process;
- pipes management in DETACH is fixed;
- socket opened in parent process was destroyed in child. DETACH
is fixed.
* Mon Aug 07 2023 BERTRAND Jol <rpl@systella.fr> rpl-4.1.34 (RPL/2)
- giac is upgraded as it cannot be compiled anymore with recent and decent
compiler;
- all tools are upgraded to last versions;
- struct timed is replaced by time_t as the first one is deprecated.
* Wed Sep 07 2022 BERTRAND Jol <rpl@systella.fr> rpl-4.1.33 (RPL/2)
- DEAMON now prints PID on stdout;
- ncurses is upgraded to 6.3;
- units is upgraded to 2.21;
- file is upgraded to 5.41;
- readline is upgraded to 8.1;
- GnuPLOT is upgraded to 5.4.2;
- openssl is upgraded to 1.1.1q;
- sqlite is upgraded to 3.37.0;
- ntl is upgraded to 11.5.1;
- pari is upgraded to 2.13.3;
- mpfr is upgraded to 4.1.0;
- gmp is upgraded to 6.2.1:
- GSL is upgraded to 2.7.1;
- Giac is upgraded to 1.7.0.
* Thu Mar 11 2021 BERTRAND Jol <rpl@systella.fr> rpl-4.1.32 (RPL/2)
- major bug is fixed in EXIT intrinsic (when EXIT is followed by DO or
WHILE);
- SYSEVAL is fixed. Now, it is possible to write :
        "awk 'BEGIN { I=0; } /<comp ref=.*>/ { I=I+1; } "
        "{ if (I>0) print; } /<\\/comp>/ { I=I-1; }' " + FICHIER +
        syseval

instead of
        "sh -c \"awk 'BEGIN { I=0; } /<comp ref=.*>/ { I=I+1; } "
        "{ if (I>0) print; } /<\\/comp>/ { I=I-1; }' " + FICHIER +
		syseval

- src/rpl.h is modified as gcc 10.2 triggers an error on UNIX_MAX_PATH;
- RPLCAS runs now in radian or degree like RPL/2 itself;
- Lapack is upgraded to 3.9.0;
- tools and rplcas are upgraded;
- RAW option is added in STTY parameters;
- speeds until 1Mbaud are added to serial line;
- replace fwrite() by write() as fwrite() uses fseek() and triggers error on
serial line;
- flag 46 is used to simplify expression. When 46 is set, EVAL,
->NUM automatically simplify expressions. DER always simplificates
expressions;
- giac is patched to be built with builtin CoCoALib.
* Thu Oct 31 2019 BERTRAND Jol <rpl@systella.fr> rpl-4.1.31 (RPL/2)
- RPL/CAS is modified to be built without error by gcc 9.2;
- /tools are upgraded;
- OpenSSL is upgraded to 1.1.1d;
- SYSEVAL now sends signal to child process when RPL/2 catches SIGINT;
- multithreading support is improved (and some bugs have been fixed);
- SYSEVAL now sends data to stdin in a slave thread.
* Sat Feb 2 2019 BERTRAND Jol <rpl@systella.fr> rpl-4.1.30 (RPL/2)
- major bug is fixed in software interrupts subsystem that tried to
lock a cleared mutex;
- deadlock is fixed in SYSEVAL. This intrinsic function entered in
deadlock if stdout/stderr of spawned subprocess was longer than pipe buffer
size;
- segmentation fault is fixed in NEG (on integer matrices);
- CoCoALib is upgraded to avoid a compilaton failure on 32 bits systems;
- SST does not enter anymore in called subroutine.
* Mon Dec 24 2018 BERTRAND Jol <rpl@systella.fr> rpl-4.1.29 (RPL/2)
- sqlite, openssl, ncurses, gsl and gnuplot are upgraded;
- new record type is added. Record is a table extension. Data have been to be
called by name and not by position:

RPL/2> <[ "key" "value" ]> record

1: |[ <[ "key"
         "value" ]>
      <[ { }
         { } ]> ]|

- records can be used with GET and PUT.
* Thu May 29 2018 BERTRAND Jol <rpl@systella.fr> rpl-4.1.29 (RPL/2)
- backslash can now be used in REGEX intrinsic;
- LINE*(*) is added to format. Now, it is possible to read and write regular
sequential files;
- first table support is added to RPL/C;
- unEscString() and escString() are added in RPL/C.
* Thu May 29 2018 BERTRAND Jol <rpl@systella.fr> rpl-4.1.28 (RPL/2)
- mise  jour de Lapack en 3.8.0;
- mise  jour gnrale de RPL/CAS et des utilitaires dans le rpertoire tools;
- memory corruption is fixed in SPLASH intrinsic;
- remove multiple module rpl_complex from Fortran sources;
- ncurses is upgraded;
- NBRCPUS is added ;
- splash screen is not centered on screen that contains pointer.
* Thu Aug 03 2017 BERTRAND Jol <rpl@systella.fr> rpl-4.1.27 (RPL/2)
- DETACH is fixed and now runs as expected;
- motif$ is reborned;
- '->' can now by used in external names;
- sets$ library is done;
- new types can be created in external libraries;
- major bug is fixed in allocation(). When allocation size was null, there
was a buffer overflow (8 bytes);
- new types can be created and managed in modules (see modules/sets for
example).
* Wed Jun 28 2016 BERTRAND Jol <rpl@systella.fr> rpl-4.1.26 (RPL/2)
- major bug is fixed in READ (FLOW sockets);
- Lapack is upgraded to 3.7.0;
- OpenSSL is upgraded;
- GSL is upgraded to 2.4;
- file is upgraded to 5.29;
- some modifications are done to buld RPL/2 (and modules built with RPL/C) under
Cygwin (Windows 10, 64 bits);
- some symbols are removed from executable;
- readline is upgraded to 7.0;
- OpenSSL symbols are not exported anymore;
- gnuplot is upgraded to 5.0.6.
* Tue Sep 27 2016 BERTRAND Jol <rpl@systella.fr> rpl-4.1.25 (RPL/2)
- ncurses, file, openssl and sqlite are upgraded;
- major bug is fixed in DETACH (race condition and dead lock);
- lot of minor bugs have been fixed in processus management;
- (p)select() is replaced by poll() due to a strange bug in glibc. pselect()
returns a erroneous number of readable devices when max file descriptor is
greater than 1024;
- tools/file-5.25.diff.gz is fixed (against file-5.25 and not 5.11);
- OpenSSL is upgraded and new API is used.
* Tue Mar 01 2016 BERTRAND Jol <rpl@systella.fr> rpl-4.1.24 (RPL/2)
- tools are upgraded (xpm, openssl, ncurses, sqlite, file);
- BSD sockets options are fixed;
- RPL/2 splash screen is upgraded;
- gmp is upgraded to 6.1.0;
- sys_realloc() is added in library to allow reallocation  la C in RPL/C
programs;
- reallocate function is added to rplexternals.h;
- GET, GETI, LIST-> and TABLE-> now evaluate symbolic constants instead of
return associated fonctions in stack;
- { e } 1 get now returns e and not E. Same fix with infinity and i symbolic
constants ;
- GET is fixed and now evaluates names when names are not protected:
4 'X' sto { X } 1 get returns 4 and not X. Same fix for tables;
- --enable-native flag is added to configure script;
- lapack is upgraded to 3.6.0.
* Thu Nov 26 2015 BERTRAND Jol <rpl@systella.fr> rpl-4.1.23 (RPL/2)
- Giac is upgraded to 1.2.2 and mpfi is added;
- GSL is upgraded to 2.1;
- major bug is fixed in interruption (mutexes failure);
- minor bug is fixed in evaluation():
<< 1 'X' sto { X } 'Y' sto 'Y(1)' eval >> returns 1 and
<< 1 'X' sto { 'X' } 'Y' sto 'Y(1)' eval >> only returns 'X'.
Same bugfix for tables;
- 4 'X' sto <[ X ]> returns <[ X ]> in both interpreted and compiled mode.
Before this bugfix, it returned <[ 4 ]> in interpreted mode and <[ X ]>
in compiled mode.
* Wed Sep 16 2015 BERTRAND Jol <rpl@systella.fr> rpl-4.1.22 (RPL/2)
- socket options are now forced on socket created by WFSOCK to fix 'KEEP ALIVE'
bug;
- sqlite is upgraded;
- major regressions are fixed in compiler;
- gnuplot is upgraded from 5.0.0 to 5.0.1;
- ncurses is upgraded from 5.9 to 6.0 ;
- major bug is fixed in rpl_malloc(). rpl_malloc(0) crashed with segfault.
* Mon Jun 08 2015 BERTRAND Jol <rpl@systella.fr> rpl-4.1.21 (RPL/2)
- nested function options() is removed from instruction_open() as
LLVM/CLANG does not support this kind of function;
- sqlite and ncurses are upgraded;
- all compilation errors are now printed;
- escaped characters are allowed in LOGGER intrinsic;
- 1 -> Y 'Z' now returns undefined implicit name error.
* Mon Feb 19 2015 BERTRAND Jol <rpl@systella.fr> rpl-4.1.20 (RPL/2)
- minor bug is fixed in evaluation(). When analyse() is called from
evaluation(), RPL/2 always evaluates compiled expression;
- 1 -> X 'X' can be evaluated ('X' is a name and before last patch, only
algebraic expressions were able to be directly evaluated);
- major regression introduced in 4.1.19 is fixed in parser.
<< 1 -> X << exp >> >> returned syntax error;
- compilation() now returns an error if a definition name contains invalid
characters instead of BUG();
- zlib is upgraded;
- sqlite and openssl are upgraded;
- new buffercached allocator is added;
- giac is upgraded to 1.1.4;
- Gnuplot is upgraded to 5.0.0.
* Mon Jan 5 2015 BERTRAND Jol <rpl@systella.fr> rpl-4.1.19 (RPL/2)
- EQV is added in algebraic input and output subroutines;
- ncurses and sqlite have been upgraded with last patches;
- openssl is upgraded to 1.0.1j and Gnuplot is upgraded to 4.6.6;
- expression simplification subsystem is rewritten from scratch. Now, it does
not do anything. Only fonctions to convert algebraic expression to and from
q-tree have been written and successfuly tested;
- EQV intrinsic is added;
- major bug is fixed in XOR intrinsic (erroneous truth table with integer
or real arguments);
- parser is upgraded. Now, it is possible to write <[[[3]]]> or {{5}} (without
space) and [[ 3 4 ]]4 catches error;
- major regression is fixed in recherche_type() (complex type);
- shebang paths are modified to be computed by configure script (NetBSD issue);
- ncurses is upgraded.
* Thu Jul 17 2014 BERTRAND Jol <rpl@systella.fr> rpl-4.1.18 (RPL/2)
- major regression is fixed in SysV semaphore emulation subsystem (segfault);
- gmp is upgraded;
- ncurses is upgraded;
- empilement_pile_last() is modified to delete argument from current stack if
it cannot save all arguments (to few arguments error _before_ first call
to depilement() by parent routine).
* Wed Apr 23 2014 BERTRAND Jol <rpl@systella.fr> rpl-4.1.17 (RPL/2)
- semaphores have been removed from s_signaux as POSIX doesn't assure that
semaphores are synchronized between address spaces without msync();
- sqlite is upgraded;
- OpenSSL is upgraded;
- lapack is upgraded to 3.5.0;
- use of uninitialized variables is avoided in FORALL;
- giac is upgraded;
- units is upgraded;
- OpenSSL, sqlite and gnuplot are upgraded;
- major bug is fixed in both FOR and FORALL (segmentation fault if both
instructions are not followed by a name).
* Fri Nov 28 2013 BERTRAND Jol <rpl@systella.fr> rpl-4.1.16 (RPL/2)
- OpenMotif is patched to correctly detect fontconfig;
- sqlite and ncurses are patched;
- rpl.inc is fixed;
- rpl() now sends arguments to RPL/2 subroutine;
- rpl() prototype is fixed (rpl_home is an unsigned char * not an unsigned char
**);
- GSL is upgraded;
- major bug is fixed in READ intrinsic (Unix device).
* Fri Sep 6 2013 BERTRAND Jol <rpl@systella.fr> rpl-4.1.15 (RPL/2)
- RGDL and RGDR (ragged left and ragged right) are added;
- major bug is fixed in initialization (segfault). It only occurs when RPL/2
is built with a forced localization;
- EXIT regression is fixed.
* Fri Jun 21 2013 BERTRAND Jol <rpl@systella.fr> rpl-4.1.14 (RPL/2)
- number of pipes between process is reduced;
- gnuplot is upgraded;
- libiconv is patched to be built with recent glibc (C11);
- some race conditions have been fixed;
- sqlite is upgraded;
- Major regression is fixed in IFERR/END structure;
- Major regression is fixed in evaluation(). Local variables were exported
to called definitions.
* Mon Apr 1 2013 BERTRAND Jol <rpl@systella.fr> rpl-4.1.13 (RPL/2)
- integer overflows have been fixed (NEG, ABS, minus);
- global variables can now be recalled from ATEXIT procedure;
- ATEXIT registered procedure is now executed even if program is stopped by
SIGINT;
- minor bug is fixed in TOKENIZE intrinsic instruction. TOKENIZE did not work on
a copy of input string;
- major bug (segfault) is fixed in liste_variables(). It only occurs
when this function is called with shared variables;
- all internal data are now stored in 64 bits wide integers (even is 32 bits
ABI is selected);
- major bug is fixed in recherche_instruction_suivante(). In some
circumstances, this function can return a spurious error;
- new NATIVE*(*) data format is added. By default, native*(*) is used
to write data without precision loss. It can also be used to write
complex objects like expressions, lists or tables;
- major bug is fixed in formateur(). When INT64_MIN was pushed into stack,
internal value was good but RPL/2 was not able to correctly display
this value. This bug comes from ABS as ABS(INT64_MIN) cannot be represented
in integer. All abs(), fabs() and labs() present in source code have been
checked to avoid this kind of bug;
- unformatted sockets are now usable as unformatted files;
- BACKSPACE now runs on unformatted file;
- major bug is fixed in BACKSPACE that didn't check if '"' characters were
escaped;
- CHARACTER*(n) format now counts escaped characters;
- transliteration is avoid in rpl-core file generation to authorize core
creation even if a transliteration error is caught;
- major bug is fixed in evaluation(). System stack was not correctly
destacked when execution error occurs;
- major bug is fixed in READ (socket interface);
- minor bug is fixed in analyse_flux().
* Wed Feb 27 2013 BERTRAND Jol <rpl@systella.fr> rpl-4.1.12 (RPL/2)
- bug is fixed in recherche_type(). { "\"" } was not evaluated as expected
as inner quote was not escaped;
- CIPHER new intrinsic is added to perform key generation, decryption and
encryption;
- CBC-CMAC digest is added;
- HMAC digest is added;
- DIGEST intrinsic is added;
- signal management is fixed to be usable on NetBSD;
- RPL/CAS autoconfiguration is upgraded;
- sqlite, openssl, giac, gmp ave been upgraded;
- SQLITE support is added in SQLQUERY, SQLCONNECT and SQLDISCONNECT.
* Tue Dec 18 2012 BERTRAND Jol <rpl@systella.fr> rpl-4.1.11 (RPL/2)
- shared variables are now stored in a tree;
- lapack is upgraded to 3.4.2;
- only giac/src is built in rplcas (giac/Makefile.am is modified);
- gnuplot is upgraded to 4.6.1;
- giac, units and ncurses are upgraded;
- interprocess capabilities are removed when RPL/2 cannot run its initialization
routine to keep operating system as clean as possible;
- sem_wait() has to catch EINTR in thread_surveillance_signaux();
- signal management is rewritten to avoid a strange bug on NetBSD. On NetBSD,
a signal handler can be called within a special thread and not in the
calling thread;
- static variables are now written in a variables tree;
- major bug is fixed in STO intrinsic. STO returns an error when it has
to create a global variable if intrinsic none (default) is set.
* Mon Oct 1 2012 BERTRAND Jol <rpl@systella.fr> rpl-4.1.10 (RPL/2)
- FORALL intrinsic is added;
- major bug (deadlock) is fixed in CYCLE. Only occurs when CYCLE is called to
interrupt a loop from a subroutine within a compiled programm;
- workaround to avoid strange bug on slow network is written in READ
intrinsic;
- CRITICAL/END structure is added. When program enters in a critical
section, all other threads of the same process sleep until program leaves
critical section.
* Wed Aug 22 2012 BERTRAND Jol <rpl@systella.fr> rpl-4.1.9 (RPL/2)
- giac is upgraded to 0.9.8;
- ncurses is patched with last patches;
- Sqlite is upgraded to 3.7.13;
- Units is upgraded to 1.89e;
- Lapack is upgraded to 3.4.1;
- LENGTH*(...) format is fixed;
- some patches have been added to build RPL/2 on NetBSD;
- escaped characters are fixed in READ and WRITE operations;
- major bug is fixed in READ intrinsic (on socket). End of file condition
was randomly caught on slow network;
- stdin can now handle espaced characters strings in SYSEVAL;
- --with-gcc-version is added to configure script to force gcc version as
gfortran 4.7 is broken and crashes with segmentation fault.
* Mon May 21 2012 BERTRAND Jol <rpl@systella.fr> rpl-4.1.8 (RPL/2)
- POLL now accepts more than one descriptor and returns informations
about pollable descriptors;
- SMPHRTRYDECR now takes timeout value instead of returning when semaphore
cannot by decremented;
- signal handlers are fixed to avoid spurious and very rare deadlocks;
- pari is upgraded;
- force CFLAGS for tools/file (-O2 -g) to avoid mmap() error;
- giac, gmp and mpfr have been upgraded.
* Fri Apr 13 2012 BERTRAND Jol <rpl@systella.fr> rpl-4.1.7 (RPL/2)
- double quote is escaped in INPUT and PROMPT intrinsic functions;
- error is returned (instead of warning) when unavailable intrinsic function
is called;
- lot of minor bugs have been fixed;
- ncurses and file are patched;
- RPL/2 can now be cross compiled (until .deb archive generation);
- all table, vector and matrix dimensions are now treated as unsigned long;
- recherche_type() function is modified to use cached memory;
- gnuplot is upgraded to 4.6.0.
* Wed Feb 29 2012 BERTRAND Jol <rpl@systella.fr> rpl-4.1.6 (RPL/2)
- serial line support is added to OPEN (STTY options);
- multiline inputs are allowed:
schroedinger:[~/cvs/build/src] > rpl -is
+++RPL/2 (R) version 4.1.6 (Monday 01/30/12, 10:20:38 CET)
+++Copyright (C) 1989  2011, 2012 BERTRAND Jol

+++Ce logiciel est un logiciel libre sans aucune garantie de fonctionnement.
+++Pour plus de dtails, utilisez la commande 'warranty'.

RPL/2> [[ 1 2 3 ]
+ 001> [ 4 5 6 ]
+ 002> [ 7 8 9 ]]

1: [[ 1 2 3 ]
    [ 4 5 6 ]
    [ 7 8 9 ]]
RPL/2> [[ 1 23 ]
+ 001> [ 4 5 6 ]]
+++Erreur : Erreur de syntaxe [19267]

1: [[ 1 2 3 ]
    [ 4 5 6 ]
    [ 7 8 9 ]]
RPL/2> [ 1 2 3
+ 001> annulation
RPL/2> abort

'annulation' is done by pressing CTRL+g, and abort by CTRL+d on empty line.
* Tue Jan 17 2012 BERTRAND Jol <rpl@systella.fr> rpl-4.1.5 (RPL/2)
- ncurses, sqlite and openssl have been upgraded;
- major bug is fixed in ** (integer integer **) when first argument is equal to
-1;
- major bug is fixed in signal management. With new signal management, thread or
process were not signalized anymore by POSIX signals. If a thread or a process
was sleeping, it was not interrupted;
- minor bug is fixed in OPEN intrinsic. Now, when a socket is open, its default
adress is set to 0.0.0.0;
- new rule is added to main makefile (make debian) to build deb package;
- new benchmark (Xeon W3520 @ 2.67GHz) :
schroedinger:[~/cvs/bench] > ./bench.rpl 
+++RPL/2 (R) version 4.1.5 (Friday 12/02/11, 12:18:23 CET)
+++Copyright (C) 1989  2010, 2011 BERTRAND Jol
Number of scalar operations per second and per core : 3809121.83444626
schroedinger:[~/cvs/bench] > 
- recherche_type() did not convert huge integer in real. Now,
18446744072742037448 is converted into real as value cannot be stored in
RPL/2 integer type;
- WFSOCK is modified to handle unconnected sockets;
- REGEX is added;
- RESTART is added (execvp() on main RPL/2 process);
- copie_objet() now returns same MTX (struct_mutex) even if caller wait for
a real copy. Now, struct_mutex contains locks owner. On Linux or Solaris (for
example), it is possible to lock mutex from a thread and unlock the same mutex
from another thread. On NetBSD, system crashes.
* Mon Nov 21 2011 BERTRAND Jol <rpl@systella.fr> rpl-4.1.4 (RPL/2)
- rplcas/@GIAC@/src/config.h is removed to avoid compilation bug. config.h
written by configure script was overloaded by src/config.h;
- lot of compilation warnings have been fixed;
- lapack and blas have been upgraded;
- ncurses, sqlite and giac have been upgraded;
- LCASE, UCASE, POS and SUB now handle escape characters;
- major bug is fixed in INT (numerical integration was unusable as type
checking condition was always false);
- SIZE, CHR and NUM can handle strings with escape characters;
- lot of patches for Android and OS/2;
- configure.ac is improved to remove operating systems special cases.
- major bug is fixed in DRWS (SDAT was not used...);
- lists, and integer, real and complex numbers can now be written in
unformatted files;
- rplawk makefile is fixed to avoid build process bug. Warning, with these
modifications, sources tree has to be writable.
* Wed Sep 21 2011 BERTRAND Jol <rpl@systella.fr> rpl-4.1.3 (RPL/2)
- Linux port, MacOS X port and xBSD ports are tested and fully fonctionnal;
- libsigsegv is added;
- OpenMotif is added;
- all internal signal handlers are rewritten to avoid POSIX signal usage
and to be async signal safe;
- SIGSEGV signal handler is rewritten;
- SREV intrinsic is added.
* Tue Aug 9 2011 BERTRAND Jol <rpl@systella.fr> rpl-4.1.2 (RPL/2)
- I have fixed a lot of bugs in gpp preprocessor (and sent gpp 3.0 to official
gpp developer). Now, macros like

	#define foo foo bar

is evaluated without recursion. gpp 2.24 crashed on stack overflow.
- LIMIT is added;
- Now, undefined values like 'infinity/infinity' are computed. Result is
undef constant;
- infinity constant is added.
* Sun Jul 24 2011 BERTRAND Jol <rpl@systella.fr> rpl-4.1.1 (RPL/2)
- VERSION now returns OS type, architecture and ABI;
- configure script is updated. New flags :
    --with-32bits-abi
    --with-64bits-abi
    --with-rplcas
Please not that RPL/CAS is not built by default;
- Lapack is upgraded to 3.3.1.
* Mon Jun 27 2011 BERTRAND Jol <rpl@systella.fr> rpl-4.1.0 (RPL/2)
- New stable release.
* Fri Jun 22 2011 BERTRAND Jol <rpl@systella.fr> rpl-4.1.0.prerelease.4 (RPL/2)
- some minor changes have been done in instruction_int() to accept new argument
types;
- interface_cas.cpp now catchs exceptions returned by giac.
* Fri Jun 24 2011 BERTRAND Jol <rpl@systella.fr> rpl-4.1.0.prerelease.3 (RPL/2)
- INT intrinsic now uses RPLCAS to compute symbolic integration;
- minor bug is fixed in INTRINSIC function. Now, this function gives same
result with ou without -p switch.
* Wed Jun 22 2011 BERTRAND Jol <rpl@systella.fr> rpl-4.1.0.prerelease.2 (RPL/2)
- memory caching is added to new variable tree.
* Tue Jun 21 2011 BERTRAND Jol <rpl@systella.fr> rpl-4.1.0.prerelease.1 (RPL/2)
- SPAWN is now usable with new variable management;
- MEM is rewritten;
- PRUSR is rewritten;
- merge 4_0 branch into HEAD;
- CLUSR is rewritten;
- -p flag is now usable;
- New benchmark:
cauchy:[~/rpl/bench] > ./bench.rpl 
+++RPL/2 (R) version 4.1.0.prerelease.1 (lundi 20/06/2011, 23:00:45 CEST)
+++Copyright (C) 1989  2010, 2011 BERTRAND Jol
Number of scalar operations per second and per core : 2625369.22710792
* Mon Jun 20 2011 BERTRAND Jol <rpl@systella.fr> rpl-4.1.0.prerelease.0 (RPL/2)
- New variable management is written. Please note that -p flag does not work
and all multithread/multitask capabilities have been disabled until this
new subsystem shall be validated.
* Thu May 09 2011 BERTRAND Jol <rpl@systella.fr> rpl-4.0.23 (RPL/2)
- major bug is fixed in STD format (1E7 sq prints 1);
- major bug is fixed in READ intrinsic (socket). This bug was introduced
by a new feature in glibc.
* Thu Apr 14 2011 BERTRAND Jol <rpl@systella.fr> rpl-4.0.22 (RPL/2)
- by default, RPL/2 uses "NONE" IMPLICIT when it's started in batch mode and
"ALL" IMPLICIT when it runs in interactive mode;
- when "NONE" IMPLICIT is set, STO intrinsic raises an error when it is used
to create or modify a global variable. Now, with "NONE" IMPLICIT, you have
to use SAVE to manipulate global variables;
- replace erroneous TAB by TBL in evaluation() and formateur_fichier()
subroutines;
- fix major memory access violation in evaluation subroutine. Only occurs
when 'X(i,j)' is evaluated on a matrix and when (i,j) points out of bounds;
- fix major bug in evaluation subroutine. 'X(i)' returns execution error
when X was a vector or a table.
* Sun Apr 04 2011 BERTRAND Jol <rpl@systella.fr> rpl-4.0.21 (RPL/2)
- Gnuplot is upgraded;
- flag 34 is now used to enable or disable control character evaluation;
- major bug is fixed in P->R intrinsic function when argument type is
complex and degree mode is set;
- L->T and T->L are added;
- OLD filetype is fixed;
- FLOW socket support is added;
- FLOW sequential files are added;
- new escape sequence is added to handle flow files (\x + hexadecimal code).
Known escape sequences are \", \b, \n, \t, \x?? and \\.
* Sun Mar 06 2011 BERTRAND Jol <rpl@systella.fr> rpl-4.0.20 (RPL/2)
- Ncurses is upgraded to 5.8;
- ALARM is fixed by filling isdst field;
- catch ECONNRESET in write intrinsic to return an execution error instead of
system one;
- fix a typo in HELP intrinsic;
- Openssl is upgraded to 1.0.0d, sqlite to 3.7.5 and readline to 6.2;
- Lapack is upgraded to 3.3.0;
- libmtmalloc is now default Solaris allocator;
- ncurses is upgraded;
- regression introduced by 4.0.19 is fixed in signal management.
Interruption1() could be called from itself and raises bus error (on sparc) or
segmentation fault;
- sqlite is upgraded to 3.7.4;
- OpenSSL is upgraded to 1.0.0c;
- syntax error is correctly checked ( (2+,0) does not crash RPL/2 anymore);
- characters are tested in recherche_type() to avoid names like '12+';
- gnuplot is upgraded to 4.4.2 due to major bugs.
* Thu Sep 23 2010 BERTRAND Jol <rpl@systella.fr> rpl-4.0.19 (RPL/2)
- due to a very strange bug I've only seen on Solaris, ptmalloc3 is removed.
Solaris libresolv randomly uses ptmalloc3 and system allocator and makes heap
corruption. As internal memory management have been improved, a best fit
allocator like ptmalloc3 is not required anymore;
- gnuplot is upgraded to 4.4.1;
- deadlock is fixed in signal handlers: same mutex was used in standard
subroutines (without protected sections by sigprocmask() or pthread_sigmask())
and signal handlers. A new signal handler specific mutex is added;
- minor bug is fixed in evaluation() subroutine. In { X 0 PI }, PI is a function
that has to be evaluated by ->NUM;
- rplfile build process is modify to be sure that rplfile is not modified
after rpl build stage (to be sure that rplfile checksum is not modified after
rpl compilation);
- AWK is replaced by rplawk. rplawk is original awk written by Brian Kernighan,
modified to remove yacc code and renamed;
- some workarounds have been written to not use buggy klibc SystemV IPCS.
ABORT now works on eComStation;
- sqlite is upgraded to 3.7.2;
- bug is fixed in software interrupts. When both process have different PID,
parent process was not interrupted if it is not group master process. To fix
this bug, SIGINJECT signal is not sent by child process but by control thread
in parent process;
- minor bug is fixed in data injection (POKE) that does not work as expected
when child process is protected by NRPROC.
* Thu Aug 26 2010 BERTRAND Jol <rpl@systella.fr> rpl-4.0.18 (RPL/2)
- --enable-sysv-sems is added to configure script to use SystemV semaphores
functions instead of POSIX functions. This function is disabled or forced on
systems that does not provide correct POSIX or SysV semaphores subsystem;
- a dirty but not quick patch is written to workaround broken siginfo
structures. This patch has been successfully tested. It uses a segment of
shared memory (Posix or SysV) and some semaphores (Posix or SysV) by process
(Unix PID);
- some OpenBSD's hacks are added;
- broken siginfo->si_pid field is now checked by configure script;
- SWI now sends SIGCONT to interrupted process to start interrupt without delay;
- random generator is cloned by SPAWN;
- in transliteration subroutine : '\r' is added after all '\n' in OS/2 port;
- getaddrinfo is hardcoded when host system does not provide getaddrinfo
or freeaddrinfo;
- RPL/2 can now use SystemV semaphores when POSIX semaphores are unavailable;
- major bug is fixed in CHR intrinsic when obtained character is not printable;
- Lapack is upgraded to 3.2.2;
- OS/2 (eComStation 2.0 with EMX 0.9d) support is added;
- TOKENIZE is now able to convert escape sequences;
- ATPOKE and CLRATPOKE new intrinsics are added;
- --enable-full-static configure flag is added. With this flag, mysql and
postgresql libraries are statically linked in rpl executable;
- units Makefile is modified to avoid readline and ncurses usages;
- sqlite is upgraded to 3.7.0.1;
- units is upgraded to 1.88;
- another major bug is fixed in the same variable creation subroutine.
Level 0 and 1 variables adresses were swapped when a global variable masked
a name of RPL/2 routine;
- major bug is fixed in global variable creation subroutine. When a global
variable was created and when a local variable existed with the same name,
computed address of global variable was wrong;
- src/Makefile.am is modified to avoid a bug on several systems. libptmalloc3
is forced in front of all libraries.
* Tue Jul 13 2010 BERTRAND Jol <rpl@systella.fr> rpl-4.0.17 (RPL/2)
- BACKTRACE intrinsic is added;
- major bug is fixed in SELECT/DEFAULT/END conditional structure. Only occurs
when this structure is included in IFERR/THEN/END structure and when an error is
caught;
- major bug is fixed in analyse() subroutine. When evaluation() returned error
in a compiled program, analyse() caught this error twice and randomly aborted
with a segmentation error;
- TRIM and TOKENIZE replace both '\n' and '\t' by regular spaces;
- ATEXIT subroutine begins with an implicit CSTOP to avoid multiple stop
signals;
- memory leak is fixed in ROW+. It only occurs when a row is added to an empty
matrix.
* Thu Jun 24 2010 BERTRAND Jol <rpl@systella.fr> rpl-4.0.16 (RPL/2)
- minor bug is fixed in evaluation() subroutine. With this patch, same program
returns same result with or without -p flag;
- ncurses 5.7 is upgraded to 20100619;
- openssl is upgraded to 1.0.0a;
- interrupt stacks are now FIFO instead of LIFO;
- debug memory allocation subroutines are improved to run in multithreaded
programs;
- some memory leaks are fixed in process management (SPAWN and DETACH);
- version verification is added to shared objects;
- -D_GNU_SOURCE is added to ptmalloc3 makefile to avoid a major bug on 64 bits
linux (false mremap() prototype);
- major bug is fixed in rpliconv. getc() returns an int, not a unsigned char.
* Sun May 23 2010 BERTRAND Jol <rpl@systella.fr> rpl-4.0.15 (RPL/2)
- all '-' are replaced by '_' in random generator list;
- minor memory leak is fixed in OPEN intrinsic (socket);
- major bug is fixed in IFERR structure. Only occurs in compiled program;
- major bug is fixed in copie_objet() and liberation(). Only concerns
format in FCH (file descriptor) and SCK (socket descriptor);
- debug routines are improved;
- PROCID is added;
- MEMLOCK and MEMUNLOCK are added. MEMLOCK forces a process to remain in memory
and to not use swap;
- major bug is fixed in sql support. SQL connections were closed in all chield
process;
- standard allocator (malloc()/free()) is replaced by ptmalloc3 due to some bugs
discovered in Solaris thread safe allocators (libmalloc and libumem) that
are first fit class allocators. Solaris libmtmalloc works better and is
a best fit class allocator but its performance is poor than ptmalloc3
performance;
- major bug is fixed in ROW+ intrinsic (new row was not added where it
should);
- minor bugs are fixed in interruptions.c (semaphores values when error is
caught);
- major bug is fixed in STOP intrinsic. STOP was unable to stop any process
created by SPAWN;
- SIGFABORT is added. When process receives SIGFSTOP, it tries to execute
ATEXIT. If it receives SIGFABORT, it does not;
- ONEXIT is renamed in ATEXIT;
- ONEXIT new intrinsic is added.
* Wed Apr 21 2010 BERTRAND Jol <rpl@systella.fr> rpl-4.0.14 (RPL/2)
- major bug is fixed in static and shared variables initialization subroutine.
This bug only occurs when RPL/2 tries to create a shared or static variable
from an expression;
- major bug is fixed in copie_etat_processus(). A field that contains
information about shared variable was not copied to new processus structure;
- some little memory leaks are fixed in evaluation(), recherche_type() and
sequenceur(). They only occured when syntax error were caught;
- IMPLICIT causes execution error instead system error;
- Hurd support is improved but currently broken because Hurd does not support
SIG_INFO. Work in progress;
- OpenBSD specific support is removed from sources;
- support for Mac OS X and Windows/Cygwin is added.
* Wed Apr 07 2010 BERTRAND Jol <rpl@systella.fr> rpl-4.0.13 (RPL/2)
- implicit names can now be disabled by new IMPLICIT intrinsic:
cauchy:[~/cvs/test] > cat implicit.rpl
#!/usr/local/bin/rpl -sp
TEST
<<
    "none" implicit

    1 -> Z
    <<
        Z disp
        'Z' disp
    >>

    'Z' disp
    Z disp // Undefined
>>

cauchy:[~/cvs/test] > LANG=C ./implicit.rpl
+++RPL/2 (R) version 4.0.13 (Wednesday 04/07/10, 13:57:44 CEST)
+++Copyright (C) 1989 to 2009, 2010 BERTRAND Joel
1
'Z'
'Z'
+++System : Invalid implicit name [6631]
cauchy:[~/cvs/test] > 

RPL/2 aborts because the last Z is undefined and not protected by ''.
By default, implicit is set to "ALL";
- sqlite is upgraded to 3.6.23.1;
- openssl is upgraded to 1.0.0;
- major bug is fixed in RETURN intrinsic. It only occurs in evaluation
subroutine;
- table variable can now be sorted by SORT;
- some regressions between libtool 1.x and 2.x are fixed by workarouds in
Makefiles;
- -a command line option analyzes program (structure and syntax) and
sends preprocessor output to standard output. This option is used by
rplc (RPL/2 compiler).
* Tue Mar 09 2010 BERTRAND Jol <rpl@systella.fr> rpl-4.0.12 (RPL/2)
- in formatted file, string format returned a variable length string even if
format was 'CHARACTER*(n)' (n characters string). Now, 'CHARACTER*(*)' returns
a variable length string and 'CHARACTER*(n)' a fixed length string;
- keyed access files support is added. Currently, only formatted files are
supported;
- direct access files support is added. Currenlty, these files can only be used
in formatted mode;
- virtual variables are now writte in UTF-8 and all special characters
in string are escaped;
- all formatted files are now converted into UTF-8;
- all file and unix socket names created by RPL/2 are now UTF-8 compliant;
- RPL/2 tools (rpliconv, rplfile, rplpp and rplconvert) are now checked before
each execution (md5 and sha1 sums) to enhance security. If one of these tools
have been modified between RPL/2 compilation and current execution, RPL/2 aborts
on a non recoverable system error;
- openssl and sqlite3 libraries are added;
- RPL_HOME env variable is added. When RPL/2 is called from librpl, this
variable indicates RPL/2 root directory. If it is not set, root path
is given by configure script (d_exec_path);
* Thu Mar 03 2010 BERTRAND Jol <rpl@systella.fr> rpl-4.0.11 (RPL/2)
- configure.in and makefile.am's are modified to add Cygwin support. Interix
support is broken;
- memory leak is fixed in recherche_type();
- TeX files are now written in UTF-8 even default locale differs;
- minor bug is fixed in ->STR (escaped characters);
- minor bug is fixed in ->Q intrinsic. Resultat is returned as integer
fraction intead real one;
- SIGN now returns (0,0) instead (nan,nan) when complex argument is null;
- Makefile.am are modified to authorize parallel builds;
- minor bug is fixed in CR intrinsic. CR sends a carriage return to printer
and writes warning to standard output;
* Wed Feb 10 2010 BERTRAND Jol <rpl@systella.fr> rpl-4.0.10 (RPL/2)
- escape codes are now converted in formateur(), not in recherche_type() to
avoid a minor bug in EDIT and VISIT intrinsics;
- minor bug is fixed in formateur_reel();
- file-5.03 is patched to avoid bus error on systems that require memory
alignment;
- minor bug is fixed in evaluation(). Error returned by RPL/C external functions
were able to be avoided by evaluation routine.
* Tue Jan 26 2010 BERTRAND Jol <rpl@systella.fr> rpl-4.0.9 (RPL/2)
- New benchmark on same hardware than old one :
cauchy:[~/rpl/bench] > ./bench.rpl 
+++RPL/2 (R) version 4.0.9 (samedi 23/01/2010, 18:06:08 CET)
+++Copyright (C) 1989  2009, 2010 BERTRAND Jol
Number of scalar operations per second and per core : 2383016

- PULPRFL does not abort on BUG() but on execution error;
- TRIM, REPL and TOKENIZE are added;
- sockets options are now set before bind();
- shutdown() is added to all connected sockets;
- minor bug is fixed in SUB intrinsic (segfault when SUB is called with
list argument and inexistant elements).
* Fri Jan 08 2010 BERTRAND Jol <rpl@systella.fr> rpl-4.0.8 (RPL/2)
- minor bug is fixed in DAEMON intrinsic. When a program was daemonized, all
signals sent to main process were not caught because DAEMON did not replace
old pid by new one;
- major bug is fixed in IFERR/THEN/ELSE/END. Only occurs in expression
evaluation when an error is reported from a subroutine in another subroutine.
For example, error was not caught in following program when it is executed with
-p option :
	TEST << iferr TEST2 then end >>
	TEST2 << 0 inv >>
- major bug is fixed in variable management. Some local variables were
seen as global ones;
- major bug is fixed in rplcore. Rplcore entered in dead lock when
script file contains a multibyte character;
- IN intrinsic is added;
- major bug is fixed in SAME intrinsic : << 1 >> DUP SAME and 'E' DUP SAME
returned false ;
- major bug is fixed in RETURN intrinsic. It only occurs in compiled
programs;
- major bug is fixed in NEG intrinsic. NEG did not make a copy of its arguments;
- regression is fixed in compilation(). "\\" was analysed as '"' '\' '\"' and
strings were never closed;
- some bugs have been fixed in file management;
- RPL/2 can now be run on EBCDIC systems (OS/390);
- major bug is fixed in -A command line option (NULL character is missing);
- minor bug is fixed in rpliconv and RECODE intrinsic. All transliterations are
made by blocks (1024 bytes). When an incomplete multibyte sequence is
encountered at end of block, subroutine aborts with an execution error;
- major bug is fixed in OPEN (TCP/IPv4 sockets).
* Mon Nov 30 2009 BERTRAND Jol <rpl@systella.fr> rpl-4.0.7 (RPL/2)
- DISP now locks stdout;
- rpliconv is added to replace standard iconv provided by operating system.
Indeed, conversion between different encodages requires transliteration
that is not offered by some iconv utility;
- CURRENC and RECODE intrinsics have been written to allow strings conversions;
- bug is fixed in SYSEVAL. When execvp() returns (for example when arg[0] can
not be found), SYSEVAL enters in a dead lock;
- fprintf is replaced by some functions that allow transliterations between
locales;
- '"' can now be used in strings ("\"");
- iconv is called with -c in preprocessor stage. It is done to write
CGI scripts with RPL/2 because locale charset is set to ANSI_X3.4-1968;
- double free is fixed in liberation() (type SQL, only occurs when locale is
set);
- LOCALIZATION, UCASE and LCASE are added;
- major bug is fixed in EXIT intrinsic that was able to return a false
execution error in compiled scripts (only in DO/UNTIL and REPEAT/WHILE loops);
- major bug is fixed in wrapper_instruction_intrinseque(). When intrinsic() was
used in onLoading from shared library, USE was pushed on stack as algebraic
expression;
- libiconv is upgraded to 1.13.1;
- gnuplot is upgraded to 4.2.6;
- gsl is upgraded to 1.13.
* Mon Sep 28 2009 BERTRAND Jol <rpl@systella.fr> rpl-4.0.6 (RPL/2)
- pipe() is overwritten by a macro to avoid a system error. Communication
between process are done with pipes and these pipes are managed by a
specific asynchrone thread. If a script try to create more threads than
management thread can destroy, you can quickly achieve maximum number of
opened files and pipe() shall return a system error. This macro tries to create
pipes. If pipe() function returns an error, macro waits and retries. If
number of retries is greater than a hardcoded value, macro returns an error;
- major bug (deadlock) is fixed in process and thread management. I hope
this bug shall be the last one;
- major bug is fixed in DET intrinsic (determinant was computed without LU
diagonalization);
- SWAPCNTXT is added;
- minor bug is fixed in Makefile.am (licences rule).
* Wed Sep 09 2009 BERTRAND Jol <rpl@systella.fr> rpl-4.0.5 (RPL/2)
- some bugfixes are added in process management;
- all process management is rewritten to avoid usage of defunct process
or thread number;
- new major bug is fixed in interruptions.c. Sometimes, when retrait_thread()
was called before a pending interruption5 (SIGFSTOP), signal handler uses
a freed semaphore and corrupts heap;
- CLRERR is added to erase previous errors;
- ERRN and ERRM return exception message and number;
- major bug is fixed in interruptions.c. All signal are now bufferised
when semaphore_liste_threads is null to avoid deadlock. This bug only
occured when STOP was sent to a dying thread or process (when this thread or
process was running retrait_thread());
- matrix rank is computed before matrix inversion;
- file locks are added to stdin and stdout. stderr is not locked because
all messages written by signal handlers are sent to stderr;
- configure.in script is modified to test gcc version and avoid a bug in
gcc older than 4.4;
- some benchmarks have been done :

cauchy:[~/rpl/bench] > ./bench.rpl 
+++RPL/2 (R) version 4.0.5 (mardi 04/08/2009, 18:23:07 CEST)
+++Copyright (C) 1989  2008, 2009 BERTRAND Jol
Number of scalar operations per second and per core : 2109867

Workstation :
cauchy:[~/rpl/build] > uname -a
Linux cauchy 2.6.30.1 #1 SMP PREEMPT Thu Jul 16 09:49:46 2009 x86_64 GNU/Linux
cauchy:[~/rpl/build] > cat /proc/cpuinfo | grep "model name"
model name      : Intel(R) Core(TM)2 Duo CPU     T7500  @ 2.20GHz
model name      : Intel(R) Core(TM)2 Duo CPU     T7500  @ 2.20GHz
cauchy:[~/rpl/build] > gfortran -v 2>&1 | grep "gcc version"
gcc version 4.3.3 (Debian 4.3.3-14) 
cauchy:[~/rpl/build] >

- SVL and SVD are added;
- COND and RANK are added;
- DIAG-> and ->DIAG are added;
- major bug is fixed in DET intrinsic. DET is rewritten to avoid usage of
eigenvalues. In a first time, matrix rank is estimated to force determinant
to zero if matrix is rank deficient. If not, a PLU decomposition is done to
compute determinant;
- QR matrix decomposition is added;
- LQ matrix decomposition is added;
- Fortran90 files are rewritten to use Fortran2003 bind(C) statement and
Fortran preprocessor;
- default compilation options are now -Wall -Wextra -Wno-pointer-sign
-Wno-unused-parameter;
- all mathematical exceptions are now signaled by exceptions instead of
execution error;
- minor bug is fixed in both CSTOP and RSTOP intrinsics. Without this fix, you
can call twice CSTOP without RSTOP;
- named semaphore support is added (CRSMPHR, CLRSMPHR, SMHRDECR, SMPHRINCR,
SMPHRTRYDECR, SMPHGETV).
* Fri Jul 24 2009 BERTRAND Jol <rpl@systella.fr> rpl-4.0.4 (RPL/2)
- semaphore is added in interruptions.c to avoid segmentation fault when STOP
signal is sent to a dying thread. Some mutexes are replaced by semaphores too
to be used in signal handlers;
- major bug (memory corruption) is fixed in COL- intrinsic;
- minor bug is fixed in ALARM and WAIT. These temporisations stopped when a
software interrupt was caught;
- rplpp man page is added.
* Fri Jul 17 2009 BERTRAND Jol <rpl@systella.fr> rpl-4.0.3 (RPL/2)
- minor bug is fixed in WRITE (SIGPIPE is ignored to catch error without
process termination);
- major bug is fixed in FUSE intrinsic (FUSE kills itself and do not kill
its parent);
- a mutex to protect fork() syscall is added;
- all mutexes are unlocked after fork() in DETACH;
- minor bug (double free corruption) is fixed in CLOSE intrinsic;
- major bug is fixed in lecture_pipe when a nullified list is sent into a pipe;
- WORKDIR intrinsic is added;
- Level 0 variables are shared between all threads without copy. Indeed,
there variables are not modifiable and only contains static user definitions;
- branches prediction is added in THEN, ELSE, ELSEIF and REPEAT intrinsics;
- FORTRAN 77 file management subroutines are rewritten in pure C due to
FORTRAN string management. C/FORTRAN 77 string interfaces are broken
in some cases (gcc/gfortran/libc/OS and arch conjonction);
- a memory leak is fixed in REMOVE intrinsic;
- major bug is fixed in MySQL driver (segfault due to a bug in mysql_init()
and due to a libmysqlclient that is not thread safe).
* Wen Jun 10 2009 BERTRAND Jol <rpl@systella.fr> rpl-4.0.2 (RPL/2)
- new enhanced allocator is written for regular variables, static variables and
shared variables;
- major bug is fixed in src/interruptions.c. This file did not compile
when SQL support was not enabled;
- new allocator is written for system stack and last stack;
- --enable-profile flag is added to configure script. When this flag is
enabled, rpl is built with -pg option;
- SIGFSTP (from Solaris'TERMIO) is caught. On Solaris 10, all process receive
SIGFSTP (with a nullified siginfo structure) instead of SIGHUP when control
process is killed;
- abs() macro is modified to avoid multiple evaluation. Your C compiler has to
know typeof() intrinsic function. This function is not standard but exists
under Sun Studio, gcc, and maybe some others compilers. If this function does
not exist on your compiler, you can change its definition by old one in
src/rpl.h;
- fflush() can now be interrupted by signal (SunOS);
- fflush(NULL) is called before all fork() occurrences;
- generators returned by RDGN help are sorted;
- Lapack is now 3.2.1.
* Mon May 18 2009 BERTRAND Jol <rpl@systella.fr> rpl-4.0.1 (RPL/2)
- bug is fixed in src/generateurs_aleatoires.awk. It only occurs when RPL/2 is
built under Solaris.
* Wed May 5 2009 BERTRAND Jol <rpl@systella.fr> rpl-4.0.0 (RPL/2)
- major bug is fixed in matrix inversion (due to an inversion between pointer
and object copies);
- RDGN is added to use some different random number generators. See HELP RDGN;
- code analysis is rewritten from scratch to be more efficient and mode
expandable;
- minor bug (segfault in interruption1) is fixed. It only occurs on Solaris
that can returns a nullified siginfo pointer when SIGINT is sent by kernel
keyboard driver;
- gnuplot is now 4.2.5;
- readline is upgraded to 6.0;
- file is upgraded to 5.0;
- Signal handlers are rewritten to send signal to main thread when a signal
is send from an external process;
- configure.in is modified to avoid a libc bug on Solaris (free() can enter in
deadlock when a huge amount of threads is launched);
- minor bug is fixed in boath START and FOR intrinsic. Only occurs when
arguments types are unsupported;
- PLOT instrinsic is added (usage: LINE and MARK do not draw anything. All
data are buffered. PLOT is used to draw these objects.);
- MARK instrinsic is added;
- new allocator mechanism is written;
- some regression bugs have been fixed, some memory leaks too.
* Wed Jan 28 2009 BERTRAND Jol <rpl@systella.fr> rpl-4.0.0.prerelease.9 (RPL/2)
- an estimation of future stack elements is added to avoid some costly memory
allocations. This function has a positive impact on execution speed;
- PSHPRFL and PULPRFL have been added;
- RPL/2 can be built on Solaris 64 bits with some minor scripts alterations.
See README for more explanations;
- MTXSTATUS intrinsic is added;
- YIELD intrinsic is added;
- ERRM is fixed. In some cases, ERRM uses some uninitialized pointers;
- SHARED and PRIVATE intrinsics have been added. A shared variable is a
static variable that is shared by multiple threads;
- '->' intrinsic is improved. All object copies have been avoided;
- -n flag is added to catch HUP signal. stderr and stdout are redirected
to a file, stdin is redirected to /dev/null when control process is killed;
- a mutex is added to each object (before this modification,
RPL/2 used a global mutex and performances in multithreaded programs were very
poor.);
- ALARM is now interruptible;
- both PUT and PUTI intrinsics are improved and do not copy list and table
when nombre_occurrences == 1;
- COPY intrinsic is added. Argument (that can be pointed from some objects)
is replaced by a new copy of itself;
- memory leak is fixed in sequenceur(). It only occurs when an execution error
is caught from interactive mode;
- mutexes have been added (CRMTX, CLRMTX, MTXLOCK, MTXUNLOCK);
- new mutex type is added;
- profile statistics have been added. See -P option;
- major bug is fixed in analyse_syntaxique();
- new SQL type is added;
- due to a trouble in libpq in multithreaded context, SQL intrinsic is split
in three new intrinsics : SQLCONNECT, SQLQUERY and SQLDISCONNECT. Please note
that all programs that worked with old SQL intrinsic can now work with
SQLQUERY. With all new programs, you can open a real connection to databases;
- NRPROC is added. This new intrinsic is used to catch error from child
process. Without NRPROC, any errors returned by child process cause
main process to abort;
- SPAWN is added. This new intrinsic is used to launch a new thread (DETACH
starts a new process). There are no mutexes in RPL/2 because all spawned process
use specific context. Nevertheless, shared variables and associated mutexes
should be added;
- -D flag and DAEMONIZE intrinsic have been added;
- REPEAT, THEN, ELSE and ELSEIF intrinsics are rewritten to be more efficient;
- autoconf script is modified to handle mysql and postgresql on non standard
directories;
- -t flag is fixed ('\0' is missing...);
- SWI and SEND pipes have been modified to be more robust on systems where
getpid() can return (pid_t) -1 or (pid_t) -2 value;
- major bug is fixed in REPEAT intrinsic. Only occurs in compiled mode;
- all but jump variables are removed from source. All signal handlers now
use encapsulated variables and signals are caught by thread;
- major bug is discovered in ->LCD. Both LCD-> and ->LCD have been fixed;
- NEWPLANE is added;
- LINE is added;
- DGTIZ is added;
- major bug is fixed in ROW-> intrinsic (comes from new garbage collector);
- lot of multiprocessing related bugs have been fixed; That was a huge work but
it's done. Data integrity is now respected during transmission (POKE, SEND and
SWI);
- ITRACE is added. This intrinsic is only used to debug internal structures and
should not be used in regular programs;
- SWISTATUS is written;
- WFACK is written;
- rplcore files are now able to handle compilation errors;
- rplcore files are now able to handle evaluation and interruption errors;
- SORT can now be used on table;
- tables can now be sent by POKE and SEND instrinsics;
- software interrupts do not inherit IFERR controls;
- LOGGER intrinsic is added;
- All WF* intrinsics but WFSOCK are made interruptible;
- ISWI intrinsic is added. Current interrupt is marked as 'interruptible';
- tables can be used with SAME intrinsic;
- minor bug is fixed in recherche_variable(). Only occurs when an error
is caught;
- external functions can now be used in expressions;
- major bug (deadlock) is fixed in WFPOKE intrinsic;
- some mistakes have been fixed under Solaris;
- major bug is fixed in RETURN intrinsic (only occurs when evaluation and
program modes are mixed);
- major bug (dead lock) is fixed in gestion_processus.c;
- major bug is fixed in WFPROC;
- rplc, rpllink and mkrplso manpages are added;
- rpltags tool and manpage are added;
- WFLOCK is fixed;
- RPL/2 kills now all process on error;
- major bug (segfault) is fixed in REMOVE intrinsic.
* Mon Jul 28 2008 BERTRAND Jol <rpl@systella.fr> rpl-4.0.0.prerelease.8 (RPL/2)
- configure script is modified to check mysql and postgresql libraries
on all standard locations. Tested and works on FreeBSD, Solaris and Linux
Debian;
- Tables are allowed in eval ( <[ 1 ]> 't' sto 't(1)' eval );
- ->TABLE and TABLE-> intrinsics are added;
- major bug is fixed in recherche_type(). Only occurs when rpl executes
precompiled scripts;
- new type is added: table with <[ ]> delimiters:
RPL/2> { 2 3 2 } crtab

1: <[ <[ <[ { }
            { } ]>
         <[ { }
            { } ]>
         <[ { }
            { } ]> ]>
      <[ <[ { }
            { } ]>
         <[ { }
            { } ]>
         <[ { }
            { } ]> ]> ]>

CRTAB new intrinsic creates a regular table. By default, all elements are
nullified lists;
- rplexternals.h is modified and improved;
- GNU File (renamed as rplfile) cannot be built due to a bug in libtoolize and
configure script.
* Mon Jun 23 2008 BERTRAND Jol <rpl@systella.fr> rpl-4.0.0.prerelease.7 (RPL/2)
- libiconv is added (iconv library exists on some systems but implemantations
differ and RPL/2 can crash);
- --enable-encoding is added to configure script to force system encoding.
Enconding detection does not work on OpenBSD;
- internal file utility is shipped and used to avoid xBSD file mistakes;
- GSL 1.11 and gnuplot 4.2.3 are now used;
- src/Makefile.am is modified to built RPL/2 ons Solaris 10/sparc;
- all but user's messages are written on stderr;
- DUPCNTXT and DROPCNTXT are added to handle more efficiently contexts;
- SCHED is added. Whit SCHED, you can limit CPU ressource by RPL/2 process;
- FUSE, RFUSE and CLRFUSE have been added;
- new bug discovered on NetBSD. sigpending() does not return any signal, thus
DETACH intrinsic enters in a definitive dead lock. I have no idea to write a
workaround for this major bug. Nevertheless, all others capabilities seems to
work fine;
- '->' is modified to return error when program tries to initialiaze two
variables with the same name like
1 0 -> I I << ... >>;
- CSTOP and RSTOP have been added (catch and release stop signal);
- CONTINUE is added to continue a pending process halted by SUSPEND;
- SUSPEND is modified to be stopped by SIGFSTOP;
- src/Makefile.am is modified to avoid //TRANSLIT flag on systems that don't
support GNU iconv;
- configure.in script is modified to avoid bugs when --with-postgresql and
--with-mysql are specified;
- TRNC is written;
- minor bug is fixed in both IFT and IFTE. Returned expression has to be
evaluated.
* Fri Apr 11 2008 BERTRAND Jol <rpl@systella.fr> rpl-4.0.0.prerelease.6 (RPL/2)
- SIGPIPE signal handler is modified to avoid abort process when POKE tries
to write data into a pipe without reader;
- major bug is fixed in RETURN intrinsic. When RETURN was called from a detached
process without -p modifier, it can send an ABORT signal instead a KILL one;
- PEEK, POKE and WFPOKE new intrinsics are written;
- major bug due to new garbage collector is fixed in rplexternals.h (double free
corruption);
- CLRCNTXT is added (clear contexts);
- VERIFY intrinsic is written;
- PSHCNTXT and PULCNTXT are added (PSHCNTXT pushes context on an
internal contexts stack, PULCNTXT pulls contexts from this internal stack).
Main usages of these intrinsics are in conjonction with IFERR or with
software interrupts;
- HEAD, TAIL and REVLIST intrinsics are added;
- function pointers have been added to function description;
- new analyse() routine is written. All instrinsics are now in a N-tree;
- software interrupts have been fixed;
- multitasking capabilities have been modified to be usable on NetBSD. All real
time signals have been removed;
- major bugs are fixed in multitasking (mutex trouble _and_ segmentation fault);
- minor bug is fixed in STR->. STR-> could return a system error instead an
execution one;
- first bug due to new garbage collector is fixed in '+' ({ } { } +) and in
'-' intrinsics;
- PostgreSQL support is written.
* Mon Mar 17 2008 BERTRAND Jol <rpl@systella.fr> rpl-4.0.0.prerelease.5 (RPL/2)
- locale can now be specified in SQL intrinsic :
{ "mysql:iso-8859-1" "server" "database" ... };
- major bug is fixed un analyse_algebrique(). When DISP printed an algebraic
object, 'DISP()' was pushed in stack;
- same major bug is fixed in <, >, <=, >= and <>;
- major bug fixed in formateur() (segfault when a symbol is used without "'");
- major bug is fixed in DUPN intrinsic;
- when software interrupt (SWI) is evaluated, SWI pushs process id on stack
before starting interrupt evaluation;
- -f parameter is added when iconv is called;
- as old file program was bugged, a new option is added to configure script.
When configure is called with --disable-encoding-autodetection, make does not
try to detect source encoding. Please, do not use if RPL/2 can be built
without this option !
- new garbage collector (and more efficient) is written;
- configure script is modified to be usable on NetBSD 4.0, but as NetBSD does
not support real time signals, RPL/2 cannot use multitasking functions;
- error returned by preprocessor are now catched by RPL/2;
- -p option is added. With this option, all scripts are compiled before
RPL/2 starts evaluation. HALT cannot be used with -p, but all programs run
40% faster;
- read and write operations in pipe() are rewritten to be sure that such
operations are atomic;
- minor bug is fixed in LOGSCALE. With {} LOGSCALE, all scales have to be
linear;
- major bug is fixed in gestion_processus.c (some pipes were not closed).
* Sat Jan 5 2008 BERTRAND Jol <rpl@systella.fr> rpl-4.0.0.prerelease.4 (RPL/2)
- major bugs have been fixed in software interrupt management.
* Fri Jan 4 2008 BERTRAND Jol <rpl@systella.fr> rpl-4.0.0.prerelease.3 (RPL/2)
- JDATE and RDATE are written;
- minor bug (segfault) is fixed in EXSUB. It only occurs when EXSUB is executed
with wrong arguments;
- KILL now kills current process, ABORT kills program;
- software interrupts support is added (SWI, WFSWI, SWILOCK, SWIUNLOCK,
SWIQUEUE, STOSWI, RCLSWI, CLRSWI);
- major bug is fixed in SQL intrinsic (argument types);
- system stack is now written in core file;
- ALARM is added;
- nanosleep() now replaces sleep() and usleep() system calls;
- _GNU_SOURCE is added to rpl.h.
* Fri Nov 30 2007 BERTRAND Jol <rpl@systella.fr> rpl-4.0.0.prerelease.2 (RPL/2)
- License is changed. Now RPL/2 license is CeCILL (GPL compliant);
- EXGET adn EXSUB are added;
- minor bug is fixed in recherche_type(). { <<} has to return an error.
'<<' and '>>' are both functions _and_ delimiters. Thus { IF } is
acceptable, but {>> } isn't;
- GSL is now 1.10, gnuplot 4.2.2 and units 1.87;
- OBGET and OBSUB intrinsics are added;
- src/Makefile.am minor bug is fixed (make clean deleted src/rpl.xpm);
- WAIT intrinsic is modified to use sleep() and usleep() if delay is
greater than one second. On some systems, usleep argument must be lower
than 1E6;
- numeric and character formats are now tested;
- -A flag is added. -A is used to give command line parameters to main
routine. Example:
rayleigh:[~/rpl-4.0.0.prerelease.2/examples] > ./test3.rpl -A "<< X sin >>"
+++RPL/2 version 4.0.0.prerelease.2 (vendredi 05.10.2007, 19:03:01 CEST)
+++Copyright (C) 1989  2006, 2007 BERTRAND Jol
<< 'X' SIN >>
rayleigh:[~/rpl-4.0.0.prerelease.2/examples] > cat test3.rpl 
#!/usr/local/bin/rpl -s

TEST
<<
    disp
>>
- minor bug (segfault) is fixed in encart() routine (splash screen). Child
process ended with segfault due to a mistake in Motif widget cleaning
process;
- major bug is fixed in DETACH intrinsic. Child process were locked when
they were started with a locked mutex that comes from its father;
- ctrl+C can now kill all child process;
- WFPROC and WFDATA are rewritten;
- RETURN is fixed to be usable in detached process;
- HALT is not exported to child process;
- FLOW filetype is added;
- Makefiles are modified to support gcc-4.2 and gfortran-4.2;
- socket support (Unix, IPv4, IPv6, STREAM, DATAGRAM, ROBUST DATAGRAM,
SEQUENTIAL DATAGRAM, RAW) is added. Warning: IPv6 sockets have not been tested
because I don't have any IPv6 compliant server, but they should work.
* Mon Sep 10 2007 BERTRAND Jol <rpl@systella.fr> rpl-4.0.0.prerelease.1 (RPL/2)
- library management is rewritten from scratch. EXTERNAL is removed and
EXTERNALS is added. Now, all exported symbols are sent to RPL/2 when
library is loaded;
- OPEN arguments are changed;
- EXTERNAL now checks availability of external functions;
- number of arguments is verified in analyse_algebrique().
'SIN(A+X,2)' is now refused because SIN requires only one argument;
- all but lapack symbols are exported from librpl with librpl, f77 or f90
prefix;
- minor bug is fixed in formateur() (AND and OR requires parenthesis);
- rplexternals.h header file is added; Now, it is very easy to write
external functions;
- memory leak is fixed in analyse_algebrique();
- minor bug (symbole flag) is fixed in sequenceur.c and types.c;
- temp file was not removed when an error occurs in EDIT or VISIT;
- 'name' should not returned a function ("FCT" object);
- -rdynamic is added to src/Makefile.am.
* Mon Jul 23 2007 BERTRAND Jol <rpl@systella.fr> rpl-4.0.0.prerelease.0 (RPL/2)
- Major bug is fixed in interface_tex.c. When there are errors in latex
file, latex command waits for input on its command line;
- major bug is fixed in tex.h (multiline strings);
- examples subdir is added;
- major bug is fixed in recherche_variable(). When an expression is evaluated
in a function, all variables set in this function must be visible in
expression. Thus, << I -> 3 << << I >> eval >> must return 3, not 'I';
- LAST stack is saved in rplcore;
- major bug is fixed in ->HMS. It only occurs when argument type is not
integer or real;
- major bug (segfault) is fixed when rpl is called with empty file;
- libtool support is removed. Two new scripts (rplc and rpllink) are provided
to use librpl.a;
- automake scripts are rewritten to avoid a misconfiguration of librpl.a
when -j make option is used;
- trace output now contains PID;
- rpl-core is renamed in rpl-code-$PID;
- rplc and rpllink scripts can now sompile and build C and Fortran
executables with librpl.a;
- New classification, only a working simplification() routine is
required to announce 4.0.0.final;
- librpl entry point is modified to return results as strings array;
- -S option is added;
- due to a major bug in libtool, libtool is removed from autoconf/automake
scripts;
- VERSION is modified to return a list.
* Tue Jul 17 2007 BERTRAND Jol <rpl@systella.fr> rpl-4.00pre8x (RPL/2)
- major regression bug is fixed in PRINT due to mistake in latex pathes;
- gnuplot does not have to be built if --disable-embedded-gnuplot is set;
- new prompt ("RPL/2> ") is used for interactive mode;
- ARCCOS, ARCSIN, ARCTG, ARGCH, ARGSH, ARGTH, CH, SH, TH and TG intrinsics
are removed, because all of these intrinsics have two forms. ARCCOS is
the same than ACOS, TAN=TG, COSH=CH. Please adapt your scripts;
- gnuplot compilation does not have to be done when disable-gnuplot is set;
- major bug is fixed in RECV that avoid usage of multitasking.
* Tue Jul 10 2007 BERTRAND Jol <rpl@systella.fr> rpl-4.00pre8w (RPL/2)
- False error (system error) was reported by recherche_type();
- recherche_type() returns syntax error if a list is included in
an algebraic expression;
- --enable-debug is modified. Now, return can be defined to print
on stdout its position in source code (line and function);
- minor bug is fixed in recherche_type(). Don't forget that space
are not significant in algebraic expression:
'12 3+ 12    X' is the same expression than '123+12X';
- src/Makefile.am is modified to avoid double compilation process;
- --enable-final-run-path is added to configure.in script;
- STATIC is modified to declare static variables in expression. Warning: static
variables used in expressions are deleted when evaluation of this expression
ends;
- MEM does not report static variable sizes;
- minor bug is fixed in HELP intrinsic. When the last instruction was not
known, HELP function was pushed in operational stack. HELP did not work
when there were space on input line.
* Mon May 28 2007 BERTRAND Jol <rpl@systella.fr> rpl-4.00pre8v (RPL/2)
- DATE is modified: reduced julian days is replaced by fraction part
of julian days. Old field used by julian days is now integer part of julian
days;
- CONVERT intrinsic is rewritten to accept absolute path in popen;
- automake scripts are modified to delete src/lock file if build process aborts;
- rplargs.h directly includes rpl.h;
- absolute pathes are added to all external program files (rplplot, rplpp...);
- intrinsic functions are case sensitive. External functions are case
unsensitive. A minor bug is fixed in recherche_type() because all external
functions were case unsensitive when they were evaluated from RPN expressions;
- HELP function is rewritten to be more friendly (a la OpenVMS);
- external wrapper (rplplot) is written to force usage of gnuplot provided
by RPL/2 if it is built during build process. If this build does not exist,
it tries to launch regular gnuplot;
- gnuplot is added to source tree to avoid some trouble between preinstalled
gnuplot and release used by RPL/2. This addition to source tree is
required by some incompatibility between gnuplot releases;
- Lapack is upgraded to 3.1.1 release;
- GSL is upgraded to 1.9 revision;
- RPL_TMP_PATH env variable is added to specify the path of tempfiles. If
it is not set, /tmp is used. If /tmp is not writable, /var/tmp is used. If
not, ./ but RPL/2 can hang with a fatal error if this last location is
not writable;
- major regression is fixed in SYSEVAL intrinsic due to introduction of
error scrutation.
* Sat Mar 24 2007 BERTRAND Jol <rpl@systella.fr> rpl-4.00pre8u (RPL/2)
- SYSEVAL is modified to return an error when execvp() syscall cannot
execute its arguments;
- -hard-float sparc option is remove from mkrplso;
- major bug is fixed in SQL intrinsic that hangs when query did not return
any values (for exemple INSERT);
- escape sequences can be used in SYSEVAL argument like "echo \"string\""
SYSEVAL;
- graphic and PostScript outputs are now cleared in child process;
- locales are now used by preprocessor;
- major bug is fixed in impression_tex(). PRINT did not work due to a bug
introduced by multitasking code;
- SORT can now use name as its argument.
* Sun Jan 21 2007 BERTRAND Jol <rpl@systella.fr> rpl-4.00pre8t (RPL/2)
- Variable management has been rewritten and some tests have been done. Now,
it is possible to execute:

#!/usr/local/bin/rpl -sc

TEST
<<
    1 1000 start VAR_S VAR_S2 next
>>

VAR_S
<<
    static 3 -> C << C disp 'C' incr if C 10 > then 'C' volatile end >>
>>

VAR_S2
<<
    static 3 -> C << C disp 'C' decr >>
>>

- configure.in script is added in lapack subtree;
- VARS is modified to display variables status (LOCKED/UNLOCKED and
STATIC/VOLATILE/PARAMETER/VARIABLE);
- STATIC and VOLATILE intrinsics are added to specify static variables. A
static variable can be transformed into volatile with VOLATILE.
With STATIC, next variables created by '->' are static;
- PROTECT and UNPROTECT are added to protect variables against write
or purge actions. New PARAMETER and VARIABLE intrinsics are modified
versions of PROTECT and UNPROTECT that only deal with global variables
(see RCL/SAVE);
- variable management routines have been rewritten. The new ones are
uncompatible with the old ones. Before these changes, a local variable
was exported to a child subroutine, but cannot be modified into this
child subroutine. Now, a local variable is accessible only in its subroutine;
- SAVE intrinsic is added to manipulate global variables;
- SUSPEND is written. RPL/2 waits for a SIGCONT signal;
- SORT, COL->, ->COL, ROW->, ROW-> intrinsics are written;
- Makefile.am are improved;
- minor bug is fixed in ->list and ->array. Without any argument, these
intrinsic only send a SIGSEGV;
- ncurses is updated to release 5.6;
- lapack is updated to 3.1.0.
* Sun Dec 31 2006 BERTRAND Jol <rpl@systella.fr> rpl-4.00pre8s (RPL/2)
- default CFLAGS/FFLAGS/FCFLAGS are modified due to a bug in gcc-sparc64
that avoid a complete build;
- CTRL+Z and CTRL+C signals only perform actions on main process;
- major bugs are fixed in multitasking capabilities (some mistakes with
mutexes and several terminated child process cannot be closed by the
operating system);
- minor bug fixed in SCLS (mistake between main and auxiliary axes);
- variables are now written in rpl-core file;
- NEG is modified to return 0 instead -0 when its argument is real or complex
number;
- ROW+ intrinsic can now be used on empty matrix without dimension error:
[[]] 1 [[ 1 2 ]] row+;
- major bug is fixed in SUB intrinsic. It only occurs with lists when
it tries to returns invalid elements like { } 1 2 sub;
- major bug is fixed in ROW- intrinsic;
- major bug is fixed in ROW+ intrinsic.
* Sat Dec 02 2006 BERTRAND Jol <rpl@systella.fr> rpl-4.00pre8r (RPL/2)
- creation_nom_fichier() is rewritten to force all process to create
different file names;
- RANLUX is removed to use GSL library and avoid a bug in gfortran-4.1;
- readline-5.2 and units-1.86 are now used;
- SEQUENCE statement is added in fonctions_speciales.f90 to fix a build
failure.
* Mon Oct 23 2006 BERTRAND Jol <rpl@systella.fr> rpl-4.00pre8q (RPL/2)
- wfproc is rewritten to avoid a dead lock;
- major mistake is fixed in both sommation_vecteur_reel() and
sommation_vecteur_complexe();
- multitasking is rewritten from scratch to fix some mistakes with
multithreading. DETACH, SEND and RECV now use four real time signals to
perform a better task synchronization;
- some bugs introduced by locales specific compilations are fixed;
- major memory corruption is fixed in DEPND;
- HELP intrinsic is modified to print a classified output.
* Mon Aug 12 2006 BERTRAND Jol <rpl@systella.fr> rpl-4.00pre8p (RPL/2)
- major memory leak is fixed in DETACH intrinsic. Files were closed by
both childs and parent;
- bug that avoids usage of Motif is fixed in configure.in;
- makefile's are modified to build RPL/2 with other locale than ISO-8859;
- db is removed from source tree due to some compilation troubles (db's
autoconf script is broken);
- sdb is removed from source tree due to some memory leaks and some troubles
with its configure script. New SQL routines are written, but only MYSQL
subsystem is available. Now, SQL can be used without memory leak;
- major bug is fixed in evaluation() subroutine. Value of error flag
was not returned in some cases;
- FACT intrinsic does not accept real arguments anymore due to the new intrinsic
GAMMA;
- GAMMA intrinsic is added (complex function) ;
- autoconf/automake scripts are modified to compile F90 sources;
- src/distributions.f is replaced by src/distributions.f90. All Numerical
Recipes references are avoided to use GSL;
- GSL is upgraded to 1.8 release;
- -lz is added in src/Makefile.am to fix a mistake in sparc32.
* Mon Apr 10 2006 BERTRAND Jol <rpl@systella.fr> rpl-4.00pre8o (RPL/2)
- fft.f is removed. Now FFT intrinsic uses dft subroutine;
- Sparc64 optimizations are modified. Now gcc-4.0 can be used to build RPL/2 on
Sparc64. Same modifications are done on sparc32;
- major bug are fixed in both PLOTTER and HISTOGRAM intrinsics
(interface with GNUplot).
- major bugs are fixed in USE/REMOVE intrinsics (system stack corruption);
- corruption of last stack is fixed in mclrin (only occurs when an error is
caught);
- major bug (in a malloc condition) is fixed in derivation().
* Tue Jan 07 2006 BERTRAND Jol <rpl@systella.fr> rpl-4.00pre8n (RPL/2)
- configure script and makefiles are modified to be usable with automake
1.9.6 (GNU), libtool 1.5.20 (GNU) and autoconf 2.59 (GNU).
- gestion_fichiers() prototype is modified to be built by gfortran. Now,
gfortran is the default compiler for FORTRAN code included in RPL/2;
- libdb is added to perform indexed file access;
- SQL interfaces are added (SQL intrinsic). Only mysql is supported;
- minor bug is discovered and fixed in matrix multiplication (precision);
- rpl.spec.in and debian directory are deleted due to some mistakes in the
scripts required to build packages.
* Tue Nov 15 2005 BERTRAND Jol <rpl@systella.fr> rpl-4.00pre8m (RPL/2)
- major bug is fixed in IFERR/THEN/(ELSE)/END structure. It occured when an
error is caught before a regular IF/THEN/(ELSE)/END structure in
IFERR/THEN/(ELSE)/END structure;
- chmod 755 debian/rules is done by makefile;
- major bug is fixed in recherche_instruction_suivante():
+++"123 " str->
+++Erreur : Argument invalide pour la commande << "123 " str-> >>
Before this fix, it was impossible to use a command line that ends with spaces.
* Sat Oct 29 2005 BERTRAND Jol <rpl@systella.fr> rpl-4.00pre8l (RPL/2)
- SELECT/CASE/DEFAULT/END is modified. Now, it is impossible to write:
SELECT
	<case>
	CASE <test> THEN <expr> END
	...
	DEFAULT
	DEFAULT <- two DEFAULT's
END

or

SELECT
	<case>
	CASE <test> THEN <expr> END
	...
	DEFAULT
	...
	CASE <test> THEN <expr> END <- CASE statement after DEFAULT
END
- major bug is fixed (in (unsigned char) getc()). It only occurs when RPL/2 is
built with gcc-4.0.
- configure.in is modified to be usable with gcc-4.0.
* Mon Oct 3 2005 BERTRAND Jol <rpl@systella.fr> rpl-4.00pre8k (RPL/2)
- segmentation fault occurs in both PROMPT and INPUT when readline returns
NULL (ctrl^D). This trouble is now fixed;
- major bug is fixed in DATE intrinsic (julian days and reduced julian days);
- stderr of rplpp is now caught;
- SYSEVAL is modified to use stdin, stdout and stderr:
ESSAI
<<
	// Only stdout and stderr
    "ls" dup disp syseval
    clmf
	// Now with stdin ("zer\naze\n")
    { "cat" "zer" "aze" } dup disp syseval
    clmf
>>
- GSL is upgraded to 1.7.
* Thu Sep 29 2005 BERTRAND Jol <rpl@systella.fr> rpl-4.00pre8j (RPL/2)
- SYSEVAL is modified. It now returns stdout and stderr in a list;
- minor memory leak is fixed in recherche_instruction_suivante() subroutine.
* Thu Aug 4 2005 BERTRAND Jol <rpl@systella.fr> rpl-4.00pre8i (RPL/2)
- internal file descriptors are modified to be usable with DUMP intrinsic;
- VARS intrinsic is modified and now prints value of variables.
* Thu Jul 21 2005 BERTRAND Jol <rpl@systella.fr> rpl-4.00pre8h (RPL/2)
- units is upgraded to 1.85 release;
- -d flag is added in command line. Don't use this flag if you don't know
what you do! It is only used to debug internal memory allocations;
- internal pointers (ADR objects) are printed as 64 bits pointers to be usable
on 64 bits wide architectures.
* Sat apr 16 2005 BERTRAND Jol <rpl@systella.fr> rpl-4.00pre8g (RPL/2)
- DUMP is rewritten to be portable. It works, but without shared libraries,
printer file, graphic files and last error. Support for this kind of objects
shall be available as soon as possible. Warning: DUMP cannot be used in
multiprocessing;
- configure.in script is modified to return an error when g77 is not found;
- a new internal type is used to handle shared libraries;
- a major bug is discovered and fixed in recherche_type(). It only occurs
in interactive mode ([[ 1 ]] returns a syntax error);
- a major bug is found in simplification_arbre(). Subroutine is disabled.
* Thu mar 17 2005 BERTRAND Jol <rpl@systella.fr> rpl-4.00pre8f (RPL/2)
- option -r is added to restart a process from a dump file;
- DUMP intrinsic is added. It performs synchronous checkpointing;
- GSL is upgraded to release 1.6.
* Wed dec 22 2004 BERTRAND Jol <rpl@systella.fr> rpl-4.00pre8e (RPL/2)
- Result types of PERM and COMB instrinsic are fixed;
- RPL/2 now uses a new preprocessor due to a new 'feature' in gcc/cpp;
- RPL/2 can now use all processors on multiprocessor workstations with
DETACH, SEND, RECV and WFPROC new intrinsics. The first test program was:

#!/usr/local/bin/rpl -cs

MULTIPROCESSUS
<<
    'FONCTION' detach
    do "B" disp until false end
>>

FONCTION
<<
    do "A" disp until false end
>>

* Sun dec 12 2004 BERTRAND Jol <rpl@systella.fr> rpl-4.00pre8d (RPL/2)
- major bug is discovered and fixed in analyse_notation_algebrique :
+++'A-B-C' returned
1: 'A-(B-C)' instead of 1: 'A-B-C'. It is now fixed;
- recherche_type() routine is improved to cast in name 1E5E-6 or 1.23.4.5.
* Fri dec 7 2004 BERTRAND Jol <rpl@systella.fr> rpl-4.00pre8c (RPL/2)
- major bug is fixed in formateur_fichier(). Now, it is possible to use
lists in a file record. Note that only sequential and formatted files
are supported;
- major bug is fixed in BACKSPACE intrinsic. It only occurs on large
records.
* Fri nov 26 2004 BERTRAND Jol <rpl@systella.fr> rpl-4.00pre8b (RPL/2)
- minor bug is fixed in IP intrinsic: when argument was real without
fraction part, IP returned a real, not an integer;
- minor bug is fixed in recherche_type(): it is now possible
to enter +++<NB3 + return. RPL/2 returns a syntax error, not a acces
violation;
- MCLRIN (MacLaurin series) intrinsic is added;
- TAYLR (Taylor series) instrinsic is added;
- very minor bug is fixed in evaluation(). Sometimes, when evaluation()
is stopped by ^C, EXIT intrinsic did not work due to a mistake in
the internal system stack;
- minor bug is fixed in encart.c. System error messages returned by
this subroutine were only available in french;
- internal RPL/2 system stack corruption is fixed. This bug only affects
interactive and debug modes when evaluation routine returns an error;
- symbolic derivation subroutine is now able to derivate functions;
- minor bug is fixed in instruction_multiplication: now 'X' 1. * returns
'X' and not 'X*1'.
* Thu nov 18 2004 BERTRAND Jol <rpl@systella.fr> rpl-4.00pre8a (RPL/2)
- ctags in src/Makefile.am is fixed;
- first derivation subroutines are written;
- major bug is fixed in analyse_algebrique() :
before this patch, '3-5+4' was understand as '3-(5+4)' !
- instruction_division() is improved and returns 0 when it evaluates
'0/X';
- instruction_moins() is improved and returns 'NEG(X)' when it evaluates
'0-X'.
* Fri nov 5 2004 BERTRAND Jol <rpl@systella.fr> rpl-4.00pre8 (RPL/2)
- interface_gnuplot is modified and do not use any deprecated gnuplot
commands. Warning, you must use gnuplot 4.0;
- graphic output is improved. Now, it is possible to use two separated
scales on the same 2D graph (with "main" and "auxiliary" option of SCALE
intrinsic). For example:

#!/usr/local/bin/rpl -c

TEST
<<
	'X' indep
	{ X Y } autoscale
	'SIN(X)' steq draw
	{ "auxiliary" } axes
	{ X Y } autoscale
	'COS(X)+2' steq draw
	{ { "ticsonly" "automatic" } { "ticsonly" "automatic" } } axes
	drax persist
>>

- a major bug is fixed in encart.c;
- ncurses is patched.
* Mon nov 1 2004 BERTRAND Jol <rpl@systella.fr> rpl-4.00pre7o (RPL/2)
- configure script is updated;
- splash screen is added;
- minor bug is fixed in SYSEVAL (only occurs with SIGINT signal).
* Sun oct 24 2004 BERTRAND Jol <rpl@systella.fr> rpl-4.00pre7n (RPL/2)
- stack overflows are caught.
* Fri oct 8 2004 BERTRAND Jol <rpl@systella.fr> rpl-4.00pre7m (RPL/2)
- minor bug is fixed in both << and >> intrinsics. It only occurs when
"<<" HELP or ">>" help is called;
- DFT and IDFT are added;
- minor bug is fixed in FFT (explicit length has to be positive);
- MOD can be used with vectors and matrices arguments;
- major bugs are fixed in FFT and IFFT (trouble in the computation of the
default length of FFT). Only occur with matrices.
* Sat aug 14 2004 BERTRAND Jol <rpl@systella.fr> rpl-4.00pre7l (RPL/2)
- readline is upgraded to 5.0;
- gsl is upgraded to 1.5;
- corrections in HELP functions.
* Fri aug 7 2004 BERTRAND Jol <rpl@systella.fr> rpl-4.00pre7k (RPL/2)
- HELP is added;
- statistic matrix SIGMA is renamed as SDAT;
- rpl.h is modified to workaround a bug in Cygwin environment
(SA_NOMASK is not defined in include files);
- overflows are tested in HMS+ and HMS-;
- CEIL, FLOOR and IP are modified to return a correct result with huge
arguments that cannot be stored as integers;
- fix a minor bug in ->LIST. The LAST stack now contains all arguments
of this intrinsic;
- flag 32 is used with DISP;
- major bug is fixed in ->Q intrinsic (type of argument and memory leak).
* Fri may 21 2004 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre7j (RPL/2)
- major bug is fixed in analyse(). CHR intrinsic cannot be called because
I have erased a 'break' in a case statement;
- major bug is fixed in AXES intrinsic. It only occurs when AXES is used
with "main" or "auxiliary" option;
- major bug is fixed in recherche_types(). With this patch, 'sin(X)' is
now well analysed as 'SIN(X)'.
* Thu apr 22 2004 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre7i (RPL/2)
- major bug is discovered and fixed in formateur(). It only occurs when
an algebraic expression is displayed with '='. In some cases, parenthesis
are missing. Same fix in formateur_fichier();
- a minor bug is fixed in evaluation.c that does not return any error when
it tries to execute 'a=z' e = ;
- new code is written in each intrinsic functions to return their required
arguments.
* Sun apr 14 2004 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre7h (RPL/2)
- a minor bug is fixed in recherche_type: 1.E90 is now a real;
- minor bug is fixed in formateur_reel(). It only occurs in STD mode:
1E90 was printed as 1.00000000000000E90;
- HELP is added;
- formateur() is fixed to properly print matrices and lists;
- a lot of warnings due to deprecated syntax are fixed;
- DFT is modified but not usable;
- cosmetic bug is fixed in formateur_tex.c;
- minor bug is fixed in FFT intrinsic (segfault when FFT is called without
any argument).
* Sun Jan 25 2004 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre7g (RPL/2)
- included ncurses is updated to 5.4;
- included units is updated to 1.83c;
- major bug is fixed in recherche_type() function. With this bug, RPL/2
prints 'A/INV(Z+E)+R' when you enter A Z E + inv R + /;
- DFT intrinsic is added. It returns the discrete Fourier transform of an
array. When the length of each line is 2**n, the result is the same as
the result of FFT;
- minor bug is discovered and fixed in PUT and PUTI intrinsics when these
instructions verify arguments types. It does not affect the result when
all arguments are correct.
* Sun Oct 19 2003 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre7f (RPL/2)
- major bug is fixed in evaluation of both EXIT and CYCLE intrinsics. Now,
EXIT can be used (as ABORT and KILL) to quit interactive mode of RPL/2;
- units is updated to 1.83a release;
- formateur_fichier.c is modified to handle unformatted files. This task
is not completed.
* Mon Aug 25 2003 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre7e (RPL/2)
- CLUSR is written. It purges all global variables;
- BESSEL intrinsic is fixed to allow the use of expressions as arguments;
- a major bug was introduced with rpl-4.00pre7d in formateur.c. It appears
when an algebraic expression is displayed or printed but does not affect
computations. It is now fixed;
- gsl is upgraded to 1.4.
* Mon Aug 18 2003 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre7d (RPL/2)
- algebraic expressions are now more readable when they are displayed
(less parenthesis);
- rplpp is modified to workaround a mistake in 'which' function (seems to appear
on Debian distribution, but since cpp is in the default path, RPL/2 works
fine...);
- NOT is not correctly formatted in formateur.c:
Z NOT -> 'NOT Z' but 'A+Z' NOT -> 'NOT A+Z' and 'NOT Z+A' -> 'NOTZ+A'
with a NOTZ function !
* Sun Aug 10 2003 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre7c (RPL/2)
- CYCLE is fixed. Now, it is possible to use CYCLE in an expression even
if the main loop is in a program;
- RPL/2 is tested with efence and valgrind;
- configure.in script is modified;
- units.c is modified to be built by gcc-3.3. I only have removed a #if 0/#endif
structure. I don't know why this code was compiled by gcc-3.3... Maybe
another gcc bug...
* Fri Jul 25 2003 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre7b (RPL/2)
- EXIT is fixed. Now, it is possible to use EXIT in an expression when the
main loop is in a program;
- RPL/2 can take its arguments (and command) on the standard input. Try
echo "1 2 3 + *" | rpl -i | grep "^1:" | cut -d ':' -f2
- a minor bug in vim syntax file is fixed (CYCLE and EXIT intrinsics);
- a minor bug is discovered in analyse_algebrique(). Now, expression
such as 'A+Z AND 2' or '(A+Z) AND 2' are correctly parsed.
* Mon Jun 16 2003 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre7a (RPL/2)
- Major bug is fixed in evaluation subroutine. This one only occurs
when an error in a user definition called by an expression is caught
by an IFERR structure;
- EXIT intrinsic can now be used in DO/UNTIL/END or WHILE/REPEAT/END loops;
- sequenceur() is now uninterruptible with STOP signal in recherche_type()
subroutine;
- major bug is fixed in types.c (# xxxxxb) and recherche_instruction_suivante();
- GSL exception (underflow) is now caught;
- tools/Makefile.am is fixed;
- Debian buildpackage script is fixed.
* Tue Jun 10 2003 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre7 (RPL/2)
All memory leaks issued from the pre6 beta releases seem to be fixed.
Build process is improved and vim syntax file and manual pages are updated.
* Mon Jun 9 2003 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre6l (RPL/2)
- RCI and RCIJ intrinsic are added;
- BESSEL intrinsic is added. Syntax:
3: type ("J", "K", "I", "Y", "j", "k", "i", "y")
2: order (integer or real)
1: x;
- ->Q intrinsic is added;
- major bug is fixed in C->R intrinsic;
- ROW+ and ROW- are added and tested;
- COL+ and COL- are added and tested. Syntax:
3: matrix
2: integer (number of column to be inserted)
1: column matrix to be inserted;
- major bug was discovered in interface_gnuplot(). It only occurs when
the subroutine reduces the graphical depth. It is now fixed;
- Some mistakes are been fixed in vim syntax file;
- SX2, SY2 and SXY are added;
- SX and SY statistical intrinsics are added;
- DEBIAN control file is fixed;
- PAPER intrinsic is added. Supported paper formats are now : a4, a5, b5,
letter, legal, executive;
- PPAR is modified to include current graphic type.
* Sun Jun 1 2003 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre6k (RPL/2)
- SLICESCALE intrinsic is added. Its syntax is
{ "automatic" nb_of_levels }
{ "discrete" l1 l2 l3 ... }
{ "incremental" start incr }
{ "incremental" start incr end }
{ "automatic" } (default);
- a minor bug (in last stack) is fixed in AXES intrinsic
- flag 52 is used to automatically update graphics;
- man pages are updated;
- evaluation() is modified to perform evaluation of expressions that contain
'=';
- a minor bug is fixed in AXES intrinsic;
- a minor bug is fixed in DRAW intrinsic (2D and 3D graphics were able to
appear on the same figure). The same mistake is fixed in DRWS intrinsic;
- LAST is disabled in evaluation subroutine (EVAL and ->NUM intrinsics).
* Sun May 18 2003 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre6j (RPL/2)
- SLICE intrinsic is added. It is used to draw 3D graphics as contour lines;
- PLOTTER is added to draw statistical clouds with lines;
- C and H source files now include vim parameters;
- vim syntax file is modified to include new intrinsics;
- static archive is modified to include all required libraries needed by
RPL/2.
* Sun May 4 2003 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre6i (RPL/2)
- '=' is added and tested;
- XCOL and YCOL are added;
- a minor bug in analyse_syntaxique() is fixed;
- THEN is modified to return an error when ELSE appears in a CASE/THEN/END
structure. ELSE is modified to return an error when ELSE appears in
an ELSE/END structure;
- a major bug is fixed in CYCLE;
- EXIT is written. When EXIT appears in a defined loop (FOR or START), the
sequencer continues after the end of this loop;
- SCLS is added;
- DRWS now uses COLS to draw 2D graphics;
- PPAR and SPAR are written. SPAR returns a list that contains the
size of the statistical matrix (or "UNAVALAIBLE" if there is any
statistical variable, or "DISABLED" if its type is not one of the type of
a statistical matrix.) and XCOL and YCOL parameters. Warning: [[]] SIZE
returns { 1 0 } and it is not a bug, because a null matrix contains _one_
null line ! Thus, [[]] STOS SPAR returns { { 1 0 } 1 2 };
- EXTERNAL intrinsic is added. Warning: by default, extern functions are
disabled. Arguments of EXTERNAL are case sensitive because the external
interface is written in C. { ext_sinus } EXTERNAL does not replace the list
of known external functions but add the new list to the last. { "all" }
EXTERNAL allows all external functions and { "none" } EXTERNAL removes all
external names of the known functions;
- mkrplso.in is modified.
* Sun Apr 20 2003 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre6h (RPL/2)
- vim syntax file is upgraded;
- a minor mistake is fixed in recherche_instruction_suivante();
- some minor memory leaks are fixed in recherche_type() function. They only
occurs when a syntax error is detected;
- #error and #warning preprocessor macros are added;
- INCR and DECR are written (with integer or variable argument);
- CSWP and RSWP are added and tested;
- a minor bug is fixed in analyse.c;
- DEBIAN/control is added to build debian package;
- SCALE is fixed and improved ("automatic" keyword);
- PUTC and PUTR new intrinsics are added.
* Sun Apr 13 2003 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre6g (RPL/2)
- a very minor bug is fixed in VISIT intrinsic. It only occurs when
VISIT does not find a name in level 1;
- configure.in script is modified to add a new test (--enable-debug
flag). Configured with this fleg, RPL/2 will be built with electric-fences;
- GETR (get row[s]) and GETC (get column[s]) are added. These new instructions
extract a part of a matrix. Syntax: [[ 1 2 3 ][ 2 3 4 ]] { 1 } GETR or
'MATRIX' { 2 2 3 } GETR;
- LOGSCALE intrinsic is improved and now, it can be used as
{ "main" "auxiliary" X Y } LOGSCALE;
- SCALE intrinsic is used to fix the limits of a graphic. Its syntax is the
same than AXES:
{ { 60 "ticsonly" 2 } { "automatic" "ticsonly" 10 } } axes
{ "auxiliary" { 60 "ticsonly" "default" } { "automatic" } } axes
{ { -10 10 } "automatic" } SCALE.
Warning, it is not possible to ask a logarithmic scale with this intrinsic
because it changes only the dimension of the screen. To have a logarithmic
scale, you must use LOGSCALE intrinsic:
{ X } LOGSCALE gives a semi-log screen, { "auxiliary" X Y } gives a log-log
screen on second scale;
- { X X } autoscale and { Y Y } logscale are now invalid;
- *D is added (depth multiplication, for 3D graphics);
- a new intrinsic (*S) is added. It changes the scale of a graphic (X, Y
and Z axes). The result of *S is the same than DUP DUP *H *W *D;
- a major bug is fixed in GETI instrinsic when it is used with a name
that contains a matrix or a vector (bad upper bounds conditions in
incrementation);
- DISP intrinsic now uses the 33-th flag. When it is not set
(default), a final carriage return is sent to the terminal;
- AXES intrinsic only takes a list that can contains the keywork
"main" or "auxiliary". Before this modification, this keyword was in
the first stack level;
- vim syntax file is upgraded;
- in appel_gnuplot(), stdin is closed when gnuplot is called with -raise
option;
- LAST is now disabled in the main loop of INT intrinsic;
- expm1 and lnp1 are rewritten to use expm1 and log1p from math.h.
* Sun Apr 6 2003 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre6f (RPL/2)
- a major bug is fixed in evaluation() subroutine. It occurs with DRAW
intrinsic when the equation cannot be evaluated (for example 'SIN(X)/X'
in 0);
- LAST is disabled in the main loop of DRAW intrinsic;
- a major bug is fixed in DRAW intrinsic. When an error occurs in the
evaluation of an equation, the system stack is returned corrupted to the
sequencer;
- the same minor bug is fixed in FOR and START. It only occurs when the limits
of a loop are not integer or real.
* Sun Mar 31 2003 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre6e (RPL/2)
- the compilation stage aborts with an error message when two definitions
have the same name. To improve the compilation() subroutine, I have to
add some tests in gestion_variables.c;
- recherche_type() subroutine ad some other connex subroutines are improved.
Now, some syntax errors about object are caught and do not perform sequencer
hangup;
- readline is upgraded (minor compilation bug with recent gcc);
- Makefile.am's and configure.in scripts are improved.
* Fri Mar 14 2003 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre6d (RPL/2)
- DRWS intrinsic is written. Two datastyles are associated: SCATTER (2D
and 3D) and HISTOGRAM (only 2D, but 3 columns are accepted, the third shown
the boxwidth, 1 by default);
- recherche_type() is rewritten to be faster;
- gsl is upgraded (release 1.3);
- ncurses is upgraded and patched (release 5.3);
- recherche_instruction_suivante() is fixed (string research with included
'"') and rewritten to be faster;
- appel_gnuplot() is fixed. When no graphic was available, it returned a
segfault.
* Sun Mar 9 2003 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre6c (RPL/2)
- RPL/2 is compiled by gcc-3.2.2 and seems to work;
- the same minor bug is fixed in REDRAW and DRAX functions;
- a minor fix is written in DRAW function (2D and 3D);
- AXES intrinsic is improved. Now { { pi "ticsonly" 4 } "automatic" } DRAX
is accepted;
- a minor bug is fixed in VISIT intrinsic.
* Sun Jan 26 2003 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre6b (RPL/2)
- a minor bug is fixed in evaluation subroutine;
- vim syntax file is improved;
- DRAW (wireframe section) is fixed. When an error occurs in the evaluation
of a 3D-graphic (for example 'SIN(R)/R' with 'R=SQRT(X**2+Y**2)' in X=0 and
Y=0), no graph was procuced (it results from a bug in gnuplot, and this fix
is a quick and dirty workaround...);
- RETURN intrinsic is modified to fix a trouble in interactive mode;
- rplconvert is improved.
* Sun Dec 22 2002 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre6a (RPL/2)
- a memory leak is fixed in formateur.c that only occurs when RPL/2 try
to print a list that contains a name;
- a major bug is fixed in -> intrinsic that only occurs in evaluation case with
a algebraic expression (<< 1 -> X 'X+1' >> eval);
- vim syntax file is improved;
- RPL/2 can now be built by gcc 3.2.1;
- "**" can be used in algebraic expression;
- DRAW can now plot wireframe (3D) graphics.
* Sun Dec 8 2002 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre6 (RPL/2)
- ncurses is patched to be compiled by gcc 3.2;
- purification_chaine is rewritten to fix a major bug (when 'chaine' is empty);
- a major bug is fixed in recherche_instruction_suivante();
- minor bug is fixed in rpl-core file. The error message is now correctly
written;
- minor bug is fixed in analyse_notation_algebrique.c and types.c.
Now, an expression such as 'A+' returns an error when it is analyzed;
- VISIT intrinsic is added;
- a major memory leak is fixed in evaluation.c. This bug rarely occurs in
normal mode.
* Sun Aug 25 2002 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre5e (RPL/2)
- an EDIT intrinsic is added;
- PRMD intrinsic returns french or english messages;
- rpl-core now call LAST intrinsic if the last stack is avalaible. It
contains the error message too;
- new syntax, ftplugin and indent files are written for vim text editor;
- major bug is found and fixed in RCL intrinsic;
- major bug is found and fixed in OR intrinsic.
* Mon Jul 29 2002 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre5d (RPL/2)
- ncurses is updated;
- minor bug is fixed on PURGE instruction (an error no caught was
returned in interactive mode).
* Mon Jul 21 2002 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre5c (RPL/2)
- ASL (arithm. shift left) is added.
* Thu Jul 11 2002 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre5b (RPL/2)
- ncurses is patched;
- gsl is added to perform arithmetic operations;
- units is patched;
- some very minor bugs have been fixed.
* Wed May 15 2002 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre5a (RPL/2)
- ncurses is patched;
- RPL/2 can now be built by gcc 3.1;
- RDZ is fixed (minor bug).
* Sun Apr 21 2002 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre5 (RPL/2)
- RPL/2 can now be called from other languages (librpl libraries).
* Sun Mar 24 2002 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre4h (RPL/2)
- ERRN and ERRM can now be used with errors returned by external functions;
- readline and ncurses have been updated;
- no more bugs have been reported since the rpl-4.00pre4g release.
* Wed Feb 20 2002 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre4g (RPL/2)
- ERRN and ERRM intrinsic functions are written. They return the last
error number or message even if errors are caught by an IFERR structure;
- a minor bug is fixed in EPSILON intrinsic. Now, 'EPSILON(0)' returns
a non null value;
- Ncurses is updated.
* Mon Feb 18 2002 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre4f (RPL/2)
Arithmetic intrinsic instructions (- +, -, *, / and **) are improved :
'X' 0 + and 0 'X' + return 'X';
'X' 0 - returns 'X';
'X' 1 * and 1 'X' * return 'X';
'X' 0 * and 0 'X' * returns 0; 
'X' 1 / returns 'X';
'X' 1 ** returns 'X';
'NEG(X)' NEG returns 'X';
- autoconf/automake scripts are improved: now, the size of the different types
found by configure are used in rpltypes.h (rplconfig.h is written by configure);
- rdynamic flag is added in src/Makefile.am. This flag is used in the first
makefile, but forgotten in the new process;
- Flag 31 is tested before saving any arguments in bibliotheques_externes.c;
- POS can now be used on lists;
- ELSILON is written. This function returns the smallest real e(x) such as
e+abs(x) != abs(x).
* Mon Feb 11 2002 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre4e (RPL/2)
- now, INT intrinsic function can be interrupted;
- precision of sommation_vecteur_xxx() subroutines is improved;
- new vim syntax file written for vim 6.0.
* Mon Feb 04 2002 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre4d (RPL/2)
- explicit error messages are now printed when the RPL/2 is used in
interactive mode;
- major bug is fixed in OPEN intrinsic: with 'REPLACE' status, file lock was
tested after the file is opened, thus, when the file was locked, it was
deleted too!;
- configure script is improved (and it seems to be good ;-) );
- An --disable-experimental flag is added to the configure script. Thus, even
if you compile a beta release, you can compile a stable RPL/2;
- new syntax and ftplugin written for vim 6.0.
* Wed Jan 30 2002 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre4c (RPL/2)
- configure script is improved.
* Sun Jan 27 2002 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre4b (RPL/2)
- ncurses now replaces termcap;
- Cme DESPLATS has written a configure script.
* Fri Jan 18 2002 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre4a (RPL/2)
- KIND is added and returns the type of the numerical argument ;
- history file is added.
* Tue Jan 15 2002 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre4 (RPL/2)
- Stable release. Unformatted files are disabled in this release.
* Mon Jan 14 2002 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre3h (RPL/2)
- SIGTSTP (CTRL+Z) is added. In a script, a SIGTSTP signal signifies
that the RPL/2 seqencer must stop and must give a prompt. This
signal is an asynchonous "HALT" command;
- SIGINT (CTRL+C) variables stack corruption is fixed;
- IFERR seems to be fixed (in equation evaluation routine);
- Memory leak is fixed (ADR object type);
- DATE returns both date and hours;
- TIME now returns user and system CPU times;
- MEM is added.
* Thu Jan 10 2002 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre3g (RPL/2)
- Makefile is improved to support sparc v7 (sun4c), sparc v8 (sun4m) and
sparc v9 (sun4u). Now, RPL/2 can be built on i386 (i486 is known as i386),
i586, i686, K6, K7, alpha ev4, alpha ev5, alpha ev56, alpha ev6, sparc v7,
sparc v8 and sparc v9. Compilation of RPL/2 on my Sun Sparc 2 (sun4c,
CPU 4/75, 64 MB, 40 MHz with FPU) is a very great mission :

Newton:[~/rpl/rpl] > time make install
...
real    338m39.623s
user    324m32.290s
sys     10m47.380s
Newton:[~/rpl/rpl] >

I don't know if you will compile this language on old worstations, but
it is usable ;-) ;
- SYSEVAL is improved. An external program can be called without any shell.
Thus, even if the sticky bit is set, RPL/2 can not give a shell root when
a SYSEVAL command crashes;
- minor bug is fixed in recherche_type() (# xxxxb parsing);
- presence of bootstrap entry point is verified before launching the
sequencer;
- minor bug is fixed in formateur_tex() (underscore in mathematical
expression);
- Lapack is updated.
* Thu Jan 3 2002 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre3f (RPL/2)
- IFERR is now known in an expression, but not usable.
* Mon Dec 31 2001 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre3e (RPL/2)
- several bugs are fixed.
* Mon Dec 17 2001 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre3d (RPL/2)
- major bugfix in file locking.
* Fri Dec 14 2001 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre3c (RPL/2)
- minor fixes is system() call.
* Fri Nov 30 2001 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre3b (RPL/2)
- automatic limitation of the graphical depth due to a limitation (bug ?)
of gnuplot.
* Mon Nov 19 2001 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre3a (RPL/2)
- new file temp management.
* Sun Nov 18 2001 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre3 (RPL/2)
- memory leak is fixed in STO instruction;
- minor bug in file management is fixed;
- BACKSPACE is added;
- VARS is added;
- file locks are improved.
* Wed Nov 14 2001 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre2l (RPL/2)
- major bug is fixed (on sparc architecture) and RPL/2 can now run
on sparc stations;
- INDEP and DEPND are improved;
- AXES is added;
- WRITE, APPEND and REWIND are added.
* Sun Nov 11 2001 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre2k (RPL/2)
- write is improved ;
- major bug is found and fixed in copie_objet() with struct_fichier;
- minor bug is fixed in OPEN function;
- minor bug is fixed in analyse_syntaxique() subroutine. All commands
are analysed before starting their executions.
* Thu Nov 8 2001 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre2j (RPL/2)
- minor bug is fixed in appel_gnuplot();
- RPL/2 can work without LANG variable.
* Wed Oct 31 2001 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre2i (RPL/2)
- WAIT function is improved (removing the polling function);
- LAST stack is not active (default) when rpl is called without the option -i.
In all other cases, LAST stack is active;
- Labels can be added on a gnuplot output (function LABEL);
- LCD-> and ->LCD are added.
* Sun Oct 21 2001 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre2h (RPL/2)
- minor bug is fixed in TeX output (pi);
- new english manual is added.
* Wed Oct 16 2001 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre2g (RPL/2)
- LOCK, WFLOCK and UNLOCK are added. A file is locked when it is opened;
- VERSION function is added. It returns the version number of the interpreter;
- minor bug is fixed in evaluation subroutine;
- english error messages are been fixed.
* Tue Oct 09 2001 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre2f (RPL/2)
- interrupt subroutine is added;
- formatted files support is continued.
* Sun Sep 30 2001 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre2e (RPL/2)
- formateur_fichier.c is added to perform formatted files write.
* Thu Sep 27 2001 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre2d (RPL/2)
- minors bugfixes in FIX format in formateur_reel() subroutine;
- new manual page in english;
- FORMAT intrinsic is added and can read any format for "formatted" file.
* Sun Sep 23 2001 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre2c (RPL/2)
- OPEN, CLOSE, SYNC, INQUIRE, CREATE and DELETE are tested;
- a man page in the first manual section is written.
* Thu Sep 20 2001 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre2b (RPL/2)
- major bugfixes in recherche_type() subroutine: sometimes in interactive mode,
this routine was be able to forget the last element of a list, a vector or
a matrix.
* Mon Sep 17 2001 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre2a (RPL/2)
- OPEN, CLOSE and DELETE are known by the language but not very usable;
- minor bugfixes in evaluation routine.
* Sun Sep 16 2001 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre2 (RPL/2)
- major bugfixes in evaluation routine.
* Sat Sep 15 2001 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre1d (RPL/2)
- conditional structures can be used in equations.
* Fri Sep 14 2001 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre1c (RPL/2)
- Minor bugfixes in makefile.
* Sat Sep  8 2001 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre1b (RPL/2)
- CONVERT is written;
- CYCLE, FOR/NEXT, FOR/STEP, START/NEXT, START/STEP, DO/UNTIL/END and
WHILE/REPEAT/END can now be used in an equation;
- I fix some troubles with evaluation subroutine;
- db3 library is added.
* Thu Sep  6 2001 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre1a (RPL/2)
- add rplconvert and rplunits sources;
- add CONVERT definition (but it does not work).
* Mon Sep  3 2001 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre1 (RPL/2)
- initial public release (GPL).
* Thu Apr  2 1998 BERTRAND Jol <rpl2@systella.fr> rpl-4.00pre0 (RPL/2)
- RPL is rewritten from scratch and renamed RPL/2.
#* 1992 BERTRAND Jol rpl-3.02 (RPL-387)
#- minor bugfixes.
#* 1991 BERTRAND Jol rpl-3.01 (RPL-387)
#- arithmetic processor support is added to improve global performances.
#* 1991 BERTRAND Jol rpl-3.00 (RPL-386)
#- idem... but on an i386DX...
#* 1990 BERTRAND Jol rpl-2 (RPL-6809)
#- a new release on a more powerfull processor and with new functions and an
#built-in editor. It has been written on a SMT-Goupil G3-6809 running
#Flex9 (320 KB of RAM and a graphic card used to draw 512*256 graphics in
#8 colors)
#* 1989 BERTRAND Jol rpl-1 (RPL-6502)
#- initial release (only an historic interest) written on an ORIC Atmos 48K.
#No graphic was provided.
