CVSROOT: /home/x-cvs
Module name: xc
Changes by: [EMAIL PROTECTED] 02/12/03 21:28:01
Log message:
o Several read and write functions were not checking if some
argument was unspecified, in which case it should default to
NIL. These problems were shown in the new tests in test/stream.lsp.
o Added code to not allow '\0' in a symbol name, this could cause
trouble as most code dealing with symbols assumes nul terminated
symbol names.
o Code to wrap writes to stderr was incorrect, XeditPrintf assumes a
nul terminated string, but since "Stderr" is a buffered LispFile
structure it was not passing a nul terminated string to WriteToStderr.
o Added several new tests to test/stream.lsp. This patch is basically
corrections to problems shown in the new set of tests.
There is yet a large TODO list for the lisp interpreter, but I plan
only bug fixes and more regression tests until XFree86 4.3.0 is out.
Some things that should be done:
+ I just noticed some problems when running with MALLOC_OPTIONS set
to AJ (FreeBSD malloc) the problems only happens when running the
lisp interpreter inside xedit, this has high priority. Probably is
a problem is lisp/xedit.c, but I do not discard the possibility of
being a problem in Xaw triggered by the code in lisp/xedit.c.
+ Write more regression tests and merge the current ones to share a
single file for the definition of functions like eq*-test and
eq*-eval.
+ Check the tests with Clisp, Cmucl and Xlispstat at least, and make
it run properly on these, some functions returns lists where order
of elements may vary, or more than one result is correct, for
example.
Modified files:
xc/programs/xedit/:
lisp.c util.c
xc/programs/xedit/lisp/:
core.c core.h io.c lisp.c read.c stream.c stream.h
string.c write.c write.h xedit.c
xc/programs/xedit/lisp/modules/:
lisp.lsp
xc/programs/xedit/lisp/test/:
stream.lsp
Revision Changes Path
1.20 +2 -2 xc/programs/xedit/lisp.c
1.25 +24 -19 xc/programs/xedit/util.c
1.67 +1 -25 xc/programs/xedit/lisp/core.c
1.34 +1 -2 xc/programs/xedit/lisp/core.h
1.14 +6 -2 xc/programs/xedit/lisp/io.c
1.81 +9 -4 xc/programs/xedit/lisp/lisp.c
1.33 +19 -6 xc/programs/xedit/lisp/read.c
1.19 +3 -41 xc/programs/xedit/lisp/stream.c
1.7 +1 -4 xc/programs/xedit/lisp/stream.h
1.22 +5 -2 xc/programs/xedit/lisp/string.c
1.29 +97 -2 xc/programs/xedit/lisp/write.c
1.9 +6 -1 xc/programs/xedit/lisp/write.h
1.21 +15 -8 xc/programs/xedit/lisp/xedit.c
1.9 +9 -2 xc/programs/xedit/lisp/modules/lisp.lsp
1.2 +258 -1 xc/programs/xedit/lisp/test/stream.lsp
_______________________________________________
Cvs-commit mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/cvs-commit