igor%mir2.org
76316f18dd
More work on bug 223435 : pass method name for the interface as the last parameter to JS function so it can use for debug purposes
2004-03-23 16:24:32 +00:00
igor%mir2.org
f4ff06f911
Making BaseFunction.decompile package private: any new public function will always find its users even if the usage is broken. It was public to allow calls from debugger but simple call to Context.toString() would do the same job.
2004-03-18 13:37:29 +00:00
igor%mir2.org
0cbfdabe29
RUnit Software now includes a link on their page about JS (Declaimer: I work there!)
2004-03-18 13:32:52 +00:00
igor%mir2.org
f040fa2436
Added RUnit Software
2004-03-17 18:36:57 +00:00
igor%mir2.org
46abef99b9
Fixing bug 237771 : allow to transfer toSource implementation to different objects
2004-03-17 18:36:39 +00:00
igor%mir2.org
6b70acca26
Documenting new Context seal API and fixing obvious English mistakes.
2004-03-09 23:34:30 +00:00
igor%mir2.org
ecfd54c02f
Updated file with license info from Eugene Aresteanu :
...
> Hi,
>
> Does it look right now?
>
> Regards,
> Eugene
>
> -----Original Message-----
> From: Igor Bukanov [mailto:igor@fastmail.fm]
> Sent: Friday, March 05, 2004 10:07 AM
> To: eugene aresteanu
> Subject: Re: Rhino and license for Messages_fr.properties
>
>
> eugene aresteanu wrote:
>
>>Hello,
>>
>>Here it is. I hope it is right.
>>Why do you say the default Messages.properties lacks notices?
>>I used the header of Messages.properties as a template.
>
>
> Sorry for not been clear, but what I wanted to say is that did not have
> triple MPL/GPL/LGPL but rather the old NPL/GPL pair. Could you update
> the file one more time using
> http://www.mozilla.org/MPL/boilerplate-1.1/mpl-tri-license-sh as template?
>
> Regards, Igor
2004-03-05 19:17:43 +00:00
igor%mir2.org
5586a28481
Resolving bug 236117 : new API to seal Context
2004-03-03 19:59:25 +00:00
igor%mir2.org
58db1d9fd5
Resolving bug 236193: require enetered Context for compilation
2004-03-03 11:20:33 +00:00
igor%mir2.org
e0a2c2536d
Making javaToJS static to match the rest of API
2004-03-01 19:19:47 +00:00
igor%mir2.org
40f5e70cee
Fixing JavaDoc
2004-02-24 07:20:49 +00:00
igor%mir2.org
a3d001e0e8
Making NativeScript package private: if this will be controversial, then the public status can be restored
2004-02-24 07:19:56 +00:00
nboyd%atg.com
98a70b8580
Remove "pre" from a candidate build.
2004-02-18 17:28:40 +00:00
igor%mir2.org
4b836891b2
Preparations for 1.5R5
2004-02-18 12:24:27 +00:00
igor%mir2.org
8f085f363e
Preparations for 15R5 release.
2004-02-13 18:50:51 +00:00
igor%mir2.org
adeccbc67c
Fixing NativeGlobal.encode: it was broken for chars beyond 0xFFFF as it sb.setLength(k) was called after k was increased to consume the second char from UTF-16 encoding to build UCS-4.
2004-02-12 19:05:47 +00:00
igor%mir2.org
1e3f7aaaed
Preparations for 1.5R5
2004-02-12 18:13:00 +00:00
igor%mir2.org
ec7de43908
Fixing bug 233274: for/in loop goes through array elements in wrong order
...
Fix: populate ids array in NativeArray with dense indexes first
Since array literals in Rhino creates instances of NativeArray with the
internal dense array containing literal elements, the patch changes
NativeArray.getIds to return ids array with dense indexes coming first and
indexes for elements added later after that.
2004-02-06 20:16:36 +00:00
igor%mir2.org
3ba7b938c3
Adding backward compatibility to SecurityController so it can be used with Rhino 1.5R4.1 subclasses
2004-02-05 15:10:52 +00:00
igor%mir2.org
d3b31dac4f
Fixing bug 210605 again: for now re-throw Error instances as is without wrapping them into WrappedException so scripts would not be able to catch them.
2004-01-29 17:04:31 +00:00
igor%mir2.org
a7573a8a91
Removal support for deprecated getTargetClassFileName/setTargetClassFileName: they throw exception instead of calling a special proxy to avoid having probably unused any more class. If this is not true, then the methods should be restored.
2004-01-18 21:26:34 +00:00
igor%mir2.org
7d76224ac8
Fixing JavaDoc comments
2004-01-18 21:23:53 +00:00
igor%mir2.org
b224c3704c
EvaluatorException and WrappedException are public API now
2004-01-18 21:21:41 +00:00
igor%mir2.org
176a213396
Deprecating ClassNameHelper and ClassRepository in favor of new optimizer/ClassCompiler.
2004-01-17 21:52:30 +00:00
igor%mir2.org
b629e258d7
optimizer.ClassCompiler provides new simple API for generating of class files from scripts that does not require to create Context instances.
...
The jsc tool is updated to use the new interface instead of using ClassNamehelper and friends.
2004-01-17 21:02:32 +00:00
igor%mir2.org
134428fef2
1. optimizer/Codegen now just generates byte code classes, the instantiation of classes is done in a separated class optimizer/ClassCompiler. This is done to provide in future a simple interface to generate class files instead of complicated ClassNameHelper and friends implementation.
...
2. Parser now stores TokenStream instance in its field instead of having it present in each and every method signature. It allowed to simplify interaction between Parser and IRFactory where the later now uses Parser.reportError so parser van recover from syntax errors and provide better error reporting.
2004-01-16 18:20:22 +00:00
igor%mir2.org
0fc143dd7c
Added setters for properties of CompilerEnvirons.java so it can be initialized
...
without having Context object.
2004-01-16 16:09:07 +00:00
igor%mir2.org
34ebe5f4c1
Renaming Context.hrowAsUncheckedException to Context.throwAsScriptRuntimeEx to better reflect its purpose, providing better documentation and making sure it throws only instances of EcmaError and EvaluatorException.
2004-01-16 15:14:25 +00:00
igor%mir2.org
497a0f766c
Fixing bug 228336 :
...
This is a Rhino version of Brandan's patch from attachment 138844, bug 228087
plus code to fix overflow problem reported in bug 230216.
2004-01-16 15:11:31 +00:00
igor%mir2.org
a7050e5460
throwAsUncheckedException is moved from ScriptRuntime to Context as a useful API to use in external applications.
2004-01-15 20:41:57 +00:00
igor%mir2.org
f26418ea3f
Fixing typo in comments
2004-01-15 20:40:56 +00:00
igor%mir2.org
96ea5ea515
Patch from Alex Bitney to fix bug 230883
2004-01-15 20:10:54 +00:00
igor%mir2.org
59ae0034a1
Fixing bug 229571 : code refactoring for speed optimization
2004-01-06 13:35:51 +00:00
igor%mir2.org
332cc13ae5
Move details of parsing/code generation from Context to interpreter/optimizer to allow more pluggable compilation interface.
2004-01-05 13:22:40 +00:00
igor%mir2.org
75d4dec8ea
Cosmetics: removal of tabs left by the previous commit
2003-12-27 21:36:00 +00:00
igor%mir2.org
3cab5b3e26
Decompling parsing from code generation: compiler instances are created only when parsing tree is build.
2003-12-27 21:32:35 +00:00
igor%mir2.org
44e703307d
Initial patch to separate parsing from code generation: changing IRFactory so it can be created in Context.
2003-12-27 09:53:57 +00:00
igor%mir2.org
d4590c48fa
Renaming Kit.badArg() -> Kit.argBug() for consistency with Kit.codeBug()
2003-12-27 09:38:57 +00:00
igor%mir2.org
65aea23579
Moving parsing code from FunctionNode.finishParsing to IRFactory to have better overview of parsing code. The optimizer now calls explicitly OptFunctionNode initialization instead of overriding FunctionNode.finishParsing in OptFunctionNode.
2003-12-26 17:17:21 +00:00
igor%mir2.org
10e91b97ff
Functions to report synatx errors are moved from TokenStream to Interpreter to remove dependancy on TokenStream in NodeTransformer.
2003-12-26 14:01:21 +00:00
igor%mir2.org
32ebb1d38d
Dropping scope argument from Context.compileString/compileReader since it is no longer used as Script instances are scope independent.
...
For compatibility the old form of Context.compileReader is preserved but marked as deprecated.
2003-12-25 22:37:57 +00:00
nboyd%atg.com
8390b6a651
Contribution from earestea@scanpak.com.
2003-12-18 20:55:30 +00:00
nboyd%atg.com
3384c4c1f5
Add Aviva info.
2003-12-18 16:53:32 +00:00
igor%mir2.org
d7a98d84dc
Message about overcapacity
2003-12-09 19:23:25 +00:00
igor%mir2.org
aeafac2fcf
Cosmetics: removal of tabs
2003-12-09 19:22:58 +00:00
igor%mir2.org
6625e3229d
To avoid bad performance when joining array with few small strings, js_join precalculate the resulting string size.
2003-12-09 19:22:11 +00:00
igor%mir2.org
f53203c746
Replacing custom buffer management in replace code with the standard StringBuffer
2003-12-08 17:10:23 +00:00
igor%mir2.org
528efdfe62
Inlining LabelTable into Interpreter and ClassFileWriter: to support jumps spanning over 64K in Interpreter in future LabelTable should be modified significantly and complexity of shared code would not justify it. In addition such inlining actually decrese total code size.
2003-12-08 14:16:53 +00:00
igor%mir2.org
44fae2ad68
Merger ReplaceData and MatchData helper classes into GlobData to reduce code size and rename helper methods to follow SpiderMonkey closely.
2003-12-08 13:24:49 +00:00
igor%mir2.org
aed233007b
Fixing missed cleanup of old values stored in RegExpImpl.parens: now it has type SubString[] and reinitialized after running regexps and see bug 220367.
2003-12-07 21:56:29 +00:00