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