Signatures in Reference are changed to include Context and reference-related methods in ScriptRuntime accept/return explicit Reference type instead of generic Object as code generation ensure proper type.
2. x..y use explicit reference instead of special descendants mark XMLName:
In this way less code is necessary to support x..y operations and support for .. in non-xml objects is possible.
git-svn-id: svn://10.0.0.236/trunk@162971 18797224-902f-48f8-a5cc-f745e15eee43
2. I replaced a couple of anonymous classes implementing ContextAction by Use single IProxy class to shrink compiled code size.
git-svn-id: svn://10.0.0.236/trunk@162935 18797224-902f-48f8-a5cc-f745e15eee43
so all Context instances created on other threads or from JavaAdapter
calls would have proper setup.
git-svn-id: svn://10.0.0.236/trunk@162912 18797224-902f-48f8-a5cc-f745e15eee43
to check for strict mode.
2. Fix name lokup bug in XMLReference that caused in cases like
foo.(@bar == 'something') to throw runtime exception if bar attribute
does not exist in foo.
git-svn-id: svn://10.0.0.236/trunk@162911 18797224-902f-48f8-a5cc-f745e15eee43
perform type conversion checks for methods that do return proper JS type the
type check is done only once in the constructor and if necessary a flag is set
to call WrapFaactory.wrap on method return.
git-svn-id: svn://10.0.0.236/trunk@162790 18797224-902f-48f8-a5cc-f745e15eee43
2. Use linked list of read-only REPogState to implement state stack instead of array of struct. It fixes bug 258417 while making creation of back track stack data much cheaper since there is no need to copy read-only structures.
git-svn-id: svn://10.0.0.236/trunk@162660 18797224-902f-48f8-a5cc-f745e15eee43
stack to separated pushProgStack|popProgStack methods to localize changes to
for the following patch to use linked list for state stack.
git-svn-id: svn://10.0.0.236/trunk@162612 18797224-902f-48f8-a5cc-f745e15eee43
er inspired by Christopher Oliver work for custom Rhino version for cocoon.apach
e.org.
git-svn-id: svn://10.0.0.236/trunk@162470 18797224-902f-48f8-a5cc-f745e15eee43
2. Initializing global scope before the first execution to allow to customize ShellContextFactory before calls to Context.initStandardObjects()
git-svn-id: svn://10.0.0.236/trunk@162366 18797224-902f-48f8-a5cc-f745e15eee43
processes breakpoint hit and another breakpoint is met during event processing,
then on Linux recursive invocations of EventQueue.getNextEvent()/dispatchEvent
lead to eventual GUI deadlock. It is easy to observe when the break on function
enter is enabled and a JS function is called that is attached to an action
handler of some button. With recursive bahaviour repeated clicks lead to deeper
and deeper invocation of EventQueue.getNextEvent() and GUI deadlock on Linux.
So to improve debugger stubility I modify Dim.interrupted to ignore calls from
event thread when another invocation of Dim.interrupted already waits for GUI
result.
2. To decrease class and jar bloat I merges various implementations of Runnable
and and other interfaces to single class with switch dispatch. It saved about
6K from js.jar.
git-svn-id: svn://10.0.0.236/trunk@162361 18797224-902f-48f8-a5cc-f745e15eee43
2. In parse tree use Node instances, not Node.Target to denote target nodes as later just leads to code bloat without safty benefits.
git-svn-id: svn://10.0.0.236/trunk@162357 18797224-902f-48f8-a5cc-f745e15eee43
2. Removal of never used NativeCall.thisObj field and code to initialize it.
3. Renaming NativeCall.funObj to NativeCall.function for better readability.
git-svn-id: svn://10.0.0.236/trunk@162303 18797224-902f-48f8-a5cc-f745e15eee43
2. Context.observeInstructionCount now calls ContxtFactory.observeInstructionCount so it can overridden without extra Context class.
git-svn-id: svn://10.0.0.236/trunk@162209 18797224-902f-48f8-a5cc-f745e15eee43