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