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