CaRMtl/rene
Glen Whitney e2f0f34394 Restore operability of Circle3D from JavaScript
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.
2018-09-05 00:21:49 -04:00
..
dialogs Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
gui Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
lister Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
util Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
viewer Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
zirkel Restore operability of Circle3D from JavaScript 2018-09-05 00:21:49 -04:00
.DS_Store Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00