CVSROOT: /home/x-cvs Module name: xc Changes by: [EMAIL PROTECTED] 02/11/30 15:13:14
Log message: o Added a new test file test/stream.lsp. o Always evaluate &aux arguments, actually they should be transformed soon to replace the function body with a let* block, as the effect is the same, but the variables will be added in the function/macro body itself, not in the caller code. o Updated ignore-errors to also restore the state in lisp__data.mem, in case of errors, this is required as ignore-errors does not return to the toplevel where any memory not passed to LispMused is freed, this also fixes any potential leak that would be generated. o Fixed several format problems that were shown in the new test file stream.lsp. o Added an wrapper to write functions, so while executing lisp functions in the xedit *scratch* buffer, anything that would be printed to stdout is printed to the *scratch* buffer and anything that would be printed to stderr is printed in the messages window. There isn't yet a wrapper for read, it is easy to do, but I will study it a bit better, as it should ask for input in the filename window, and it is already being used for filename, tab completion and regex search, probably need to allow the user know what is the current usage of the text window, maybe adding a simple prompt. o Changed wrong code that was doing a linear search in the symbols hash table, now when running the test/list.lsp instead of 600K calls to strcmp it is doing 60K. o Added calls to the macros {ENABLE,DISABLE}_INTERRUPT() in LispBeginBlock and also added a check for the stack depth, there isn't yet check for infinite recursion in macro expansion and bytecode. o Changed code in pathname.c to properly handle pathnames with embeded nuls and also to use default directory components as well as several fixes for problems that were shown by the new file test/stream.lsp. o Better floating point print functions, wasn't doing what was expected in some cases for ~G and not always doing correct rounding. Modified files: xc/programs/xedit/lisp/: compile.c core.c format.c internal.h io.c io.h lisp.c package.c pathname.c private.h read.c stream.c write.c xedit.c xc/programs/xedit/lisp/modules/: lisp.lsp xc/programs/xedit/lisp/test/: math.lsp Added files: xc/programs/xedit/lisp/test/: stream.lsp Revision Changes Path 1.11 +2 -9 xc/programs/xedit/lisp/compile.c 1.65 +22 -2 xc/programs/xedit/lisp/core.c 1.28 +31 -24 xc/programs/xedit/lisp/format.c 1.47 +1 -2 xc/programs/xedit/lisp/internal.h 1.13 +18 -5 xc/programs/xedit/lisp/io.c 1.7 +8 -2 xc/programs/xedit/lisp/io.h 1.80 +38 -47 xc/programs/xedit/lisp/lisp.c 1.20 +33 -39 xc/programs/xedit/lisp/package.c 1.16 +168 -97 xc/programs/xedit/lisp/pathname.c 1.38 +4 -1 xc/programs/xedit/lisp/private.h 1.32 +9 -10 xc/programs/xedit/lisp/read.c 1.18 +32 -42 xc/programs/xedit/lisp/stream.c 1.28 +62 -47 xc/programs/xedit/lisp/write.c 1.20 +42 -5 xc/programs/xedit/lisp/xedit.c 1.8 +2 -2 xc/programs/xedit/lisp/modules/lisp.lsp 1.4 +3 -3 xc/programs/xedit/lisp/test/math.lsp _______________________________________________ Cvs-commit mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/cvs-commit