e2f0f34394
There were two small problems. First, the type-checking in MacroRunner.run was too strict, so applications that worked manually were failing from JavaScript. The fix was to replace all of the type-checking code in that function with a single call to isAdmissible(), which also simplified the code and removed duplication. Second, when assembling return values in ExecuteMacro in JSFunctions.java the code would commit array bounds violations when there were no targets from the MacroRunner. This commit fixes both problems and avoids silently dropping the exceptions caught in Circle3D. |
||
---|---|---|
atp | ||
com/apple/eawt | ||
de/erichseifert/vectorgraphics2d | ||
eric | ||
lib | ||
net/java/dev/colorchooser | ||
netscape/javascript | ||
org/mozilla | ||
pm | ||
rene | ||
.gitignore | ||
base3D-es.zir | ||
base3D-fr-modifs.zir | ||
base3D-fr.zir | ||
base3D.zir | ||
baseDP.zir | ||
builtin.mcr | ||
default.mcr | ||
java.policy.applet | ||
LICENSE | ||
Main.java | ||
makejar-source.jardesc | ||
README.md | ||
zirkel.jardesc |
CaRMtl
This repository is a copy of CaRMetal 4.2.8 (see http://carmetal.org) for tweaking and hacking on it. I created it because there did not seem to be a public code repository for CaRMetal, but there were a number of small projects I wanted to try on its codebase. My intention is to offer all of the changes pursued here back to the maintainers of CaRMetal, if they are receptive. Thus, this repository is not a fork or attempt to take over CaRMetal.
As such, I wasn't sure what name to give the repository; using exactly CaRMetal seemed presumptuous, but making it too different seemed too much like this was intended as an independent project. Hence, CaRMtl. (Also, it's an awful enough name to be clear that this couldn't be an independent project because if it were, I would surely pick a better name, like CaRWaX or something ;-)
Happy geometring, Glen.