CaRMtl/eric
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
..
animations Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
bar Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
controls Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
docs 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
jobs Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
JSprogram Restore operability of Circle3D from JavaScript 2018-09-05 00:21:49 -04:00
macros Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
monkey Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
restrict Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
textfieldpopup Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
.DS_Store Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
FileTools.java Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
JBrowserLauncher.java Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
JCharacterPalette.java Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
JColorPicker.java Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
JColors.java Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
JEricPanel.java Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
JFileFilter.java Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
JGeneralMenuBar.java Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
JGlobalPreferences.java Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
JGlobalPreferencesColor.java Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
JGlobalPreferencesCursor.java Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
JGlobalPreferencesDlog.form Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
JGlobalPreferencesDlog.java Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
JHelpPanel.java Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
JLicence.java Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
JLogoWindow.java Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
JMacOShandler.java Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
JMacroPrompt.java Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
JPointName.java Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
JSelectPopup.java Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
JUniqueInstance.java Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
JZirkelCanvas.java Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
Media.java Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
OS.java Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00
Progress_Bar.java Make first real commit: copy of CaRMetal 4.2.8 2018-09-04 22:51:42 -04:00