=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2006-07-03_00:13:27 (andy) /var/cvs/SimGear-0.3/source/simgear/nasal/code.c /var/cvs/SimGear-0.3/source/simgear/nasal/code.h /var/cvs/SimGear-0.3/source/simgear/nasal/codegen.c /var/cvs/SimGear-0.3/source/simgear/nasal/gc.c /var/cvs/SimGear-0.3/source/simgear/nasal/lib.c /var/cvs/SimGear-0.3/source/simgear/nasal/vector.c
Been hacking at Nasal recently: Fix bug with break/continue inside of a foreach or forindex: Don't pop the vector/index inside OP_EACH, do it at the end of the loop. In the process, discovered and fixed a scary corruption issue with continue; it never really worked right, although simple usage was likely to get away without crashing. Both the continue's OP_BREAK and the cleanup code at the end of a loop would pop the "mark" stack, leading to an underflow. Introduced an OP_CONTINUE which adjusts stack but doesn't change markTop Re-inline the PUSH macro. This thing is called all over the place from the inner loop. If the problem is intra-expression side effects, then just use another expression in the macro. Return an empty vector when requesting zero-length subvec, not nil Have call() return the call stack in the error vector; see docs on plausible.org/nasal or ask Andy about this feature. Default closure()'s level argument to zero, not nil Add an optional "file name" argument to compile() =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2006-07-04_21:52:06 (andy) /var/cvs/SimGear-0.3/source/simgear/nasal/code.c /var/cvs/SimGear-0.3/source/simgear/nasal/code.h /var/cvs/SimGear-0.3/source/simgear/nasal/codegen.c The previous update (and, embarassingly, the "nasal 1.0" release I announced on Freshmeat.net) was broken. This is the proper break/continue fix. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= 2006-07-05_04:31:36 (mfranz) /var/cvs/SimGear-0.3/source/simgear/scene/sky/bbcache.cxx remove the last redundant "delete" check in all of fgfs/sg (except JSBSim) 2f585eeea02e2c79d7b1d8c4963bae2d ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel