JS: Fix obj output on LinkedComponent

At time 0 this should output the test entity, not null

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Reduce output error spew from StateEntity

The presentState variable is null until earlyInit(), this prevents the
inevitable null pointers caused by the output viewer.

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Better error message when expressions finds a null entity in a chain

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Fix false positive expression validator error on boolean outputs

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Use ExpValidator for SampleExpInput

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: Remove useless double try in expression parsing

Signed-off-by: Matt Chudleigh <matt.chudleigh@ausenco.com>
Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: use the simpler KeywordIndex constructor when we want to process all tokens

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: refactor KeywordIndex constructor arguments to a more natural order

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: return the errors from configure when parsing input files

This is an ugly, temporary measure to avoid deadlocking the program when we show
an error message while the splashscreen is still showing.

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: move UI related loading code to GUIFrame

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: prevent scripts from causing the session to be edited

The ultimate solution is to pass this down the input parsing stack as part of the
context, but for now, do a global disable and restore.

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: improve the error message to identify which ExpressionThreshold hit the error

Also adjust the code in update graphics to not throw exceptions when evaluating
a bad expression, just skip the pending color updates.

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: after the change to getValueTokens, avoid double quoting URIs

Now that we directly return a token list, it is the sole responsibility of getValueString
to do any quoting, remove extra quoting from the URI relativization code.

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>
JS: update version to 2014-47a

A midweek release to fix the error dialog deadlock and some error reporting fixups.

Signed-off-by: Harvey Harrison <harvey.harrison@ausenco.com>