rogerl%netscape.com
6eb15dc0c4
Switch to using new DToA stuff for numberToString().
...
git-svn-id: svn://10.0.0.236/trunk@62004 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 00:30:01 +00:00
rogerl%netscape.com
e439b08189
Fix endian bug for BigInteger constructor.
...
git-svn-id: svn://10.0.0.236/trunk@61997 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-01 23:25:23 +00:00
rogerl%netscape.com
8013d11b6c
Hmm, better do that negate.
...
git-svn-id: svn://10.0.0.236/trunk@61989 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-01 22:20:48 +00:00
rogerl%netscape.com
a93a52c547
Oops, remove debugging hack.
...
git-svn-id: svn://10.0.0.236/trunk@61988 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-01 22:20:09 +00:00
rogerl%netscape.com
7cb316c308
Fixing Unicode ECMA 3 compliance issues
...
git-svn-id: svn://10.0.0.236/trunk@61987 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-01 22:15:35 +00:00
rogerl%netscape.com
3bc8b0594c
Fixing Unicode ECMA 3 compliance issues.
...
Fixed bug in $ handling for ECMA 3 (don't support \$)
git-svn-id: svn://10.0.0.236/trunk@61986 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-01 22:14:34 +00:00
norris%netscape.com
9ab5c7b822
Fix bug 6063.
...
git-svn-id: svn://10.0.0.236/trunk@61978 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-01 21:35:38 +00:00
norris%netscape.com
41e82cebb1
Switch back to using getDeclaredMethods--I was able to get it working with a
...
security manager.
git-svn-id: svn://10.0.0.236/trunk@61973 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-01 18:26:43 +00:00
beard%netscape.com
8c6f6ff4b2
importable XML project file for CWPro5 (with CWPro4 Java Tools)
...
git-svn-id: svn://10.0.0.236/trunk@61928 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-01 01:12:20 +00:00
beard%netscape.com
fcde68c686
CWPro5 format project (using CWPro4 Java tools).
...
git-svn-id: svn://10.0.0.236/trunk@61926 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-01 01:00:38 +00:00
beard%netscape.com
3f8f0b7ce5
added LazilyLoadedCtor.java
...
git-svn-id: svn://10.0.0.236/trunk@61925 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-01 00:57:29 +00:00
norris%netscape.com
58c57005f2
1. Implement a new method of Context that allows embedders to disable or clear cached items
...
2. Change from using Class.getDeclaredMethods to Class.getMethods since the former may cause
security problems. Implement a cache to ameleorate the possible performance degredation.
3. Add a new class to lazily load constructors to improve performance
git-svn-id: svn://10.0.0.236/trunk@61896 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 21:35:45 +00:00
norris%netscape.com
ffd3bd5076
Remove reference to parent scope for Java methods. This was resulting in dangling
...
references that were never released to a large pool of objects.
git-svn-id: svn://10.0.0.236/trunk@61880 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 17:27:56 +00:00
norris%netscape.com
d8a63e199d
Guard against possible NullPointerException if the Context has not been properly entered.
...
git-svn-id: svn://10.0.0.236/trunk@61794 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-28 18:40:34 +00:00
norris%netscape.com
612a23d049
Some users with JDK 1.1 but JDK 1.2 security were getting NullPointerExceptions here.
...
git-svn-id: svn://10.0.0.236/trunk@61793 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-28 18:38:37 +00:00
norris%netscape.com
ece789dd19
Fix warning.
...
git-svn-id: svn://10.0.0.236/trunk@61792 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-28 18:32:19 +00:00
norris%netscape.com
5a5aa031f8
Generalize error test to catch any catches appearing after a catch-all.
...
git-svn-id: svn://10.0.0.236/trunk@61791 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-28 18:28:45 +00:00
norris%netscape.com
38fd45990f
Enable catchguard with new 'if' syntax.
...
Implement check.
git-svn-id: svn://10.0.0.236/trunk@61606 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-24 19:35:22 +00:00
rogerl%netscape.com
05e8bbd52c
Ported toFixed, toExponential & toPrecision to NativeNumber from C sources.
...
git-svn-id: svn://10.0.0.236/trunk@61498 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-23 18:46:36 +00:00
norris%netscape.com
6fa66f0fbf
Fix wrapping of InvocationTargetException. Thanks to Kurt Westerfeld for pointing this out.
...
git-svn-id: svn://10.0.0.236/trunk@61303 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-18 17:38:11 +00:00
norris%netscape.com
ace24c0613
Add equals() and equalsIgnoreCase() to the String object, at the suggestion of Tom Beauvais <tbeauvais@bowstreet.com>
...
git-svn-id: svn://10.0.0.236/trunk@61302 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-18 17:37:27 +00:00
rogerl%netscape.com
953cb1b9d4
Added decode/encode URI handling.
...
git-svn-id: svn://10.0.0.236/trunk@61254 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-18 00:22:02 +00:00
norris%netscape.com
8d1cff6594
Fix cases of LiveConnected classes that have a field and methods with the same name.
...
Also clean up Bean properties, making implementation more efficient.
git-svn-id: svn://10.0.0.236/trunk@61235 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 22:32:37 +00:00
norris%netscape.com
330ce860f8
Remove untrue comment.
...
git-svn-id: svn://10.0.0.236/trunk@61234 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 22:31:43 +00:00
norris%netscape.com
ebfb18f5e2
Update implementation version.
...
git-svn-id: svn://10.0.0.236/trunk@61233 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-17 22:31:16 +00:00
norris%netscape.com
09350fcf30
Add support for dynamic scopes and fix remaining test failures in the tip.
...
git-svn-id: svn://10.0.0.236/trunk@61135 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 17:40:53 +00:00
norris%netscape.com
4505665f23
Avoid static never-released reference to streams; causes problems for Patrick Beard's use of the shell.
...
git-svn-id: svn://10.0.0.236/trunk@60895 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 17:08:31 +00:00
norris%netscape.com
2843476366
Fix contributors list.
...
git-svn-id: svn://10.0.0.236/trunk@60751 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-15 00:09:58 +00:00
beard%netscape.com
b701e23042
added DTOA.java
...
git-svn-id: svn://10.0.0.236/trunk@60257 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 23:15:27 +00:00
rogerl%netscape.com
2da230d083
Changed implementation of toString(<base>) to use Waldemar's code from
...
SpiderMonkey.
git-svn-id: svn://10.0.0.236/trunk@60249 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 19:52:31 +00:00
norris%netscape.com
6fd4778318
Remove unused private method.
...
git-svn-id: svn://10.0.0.236/trunk@59258 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 18:49:07 +00:00
norris%netscape.com
76de1553f1
Propagate changes from Rhino150R1_BRANCH.
...
git-svn-id: svn://10.0.0.236/trunk@58949 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 17:35:29 +00:00
norris%netscape.com
a2d6ee77d7
Propagate changes from 1.5 branch.
...
git-svn-id: svn://10.0.0.236/trunk@58797 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 18:57:00 +00:00
beard%netscape.com
2eb0f407b5
changed all "try { s = (Scriptable) obj; } catch (ClassCastException e) {...}" to "if (obj instanceof Scriptable) { ... }". This will generally be more efficient NOT to use exception handling where instanceof will do.
...
git-svn-id: svn://10.0.0.236/trunk@58388 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 04:41:30 +00:00
beard%netscape.com
e36ce06075
fix case for anonymous functions.
...
git-svn-id: svn://10.0.0.236/trunk@58384 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-22 03:28:04 +00:00
norris%netscape.com
54ceaa1876
Fix ecma_3/ExecutionContexts/10.1.3.js
...
r=rogerl
git-svn-id: svn://10.0.0.236/trunk@58318 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-20 20:59:56 +00:00
rogerl%netscape.com
8fca7d6b86
Bug #24023 , infinite loop in interpreter when catch clause has a throw.
...
This was caused by a previous bug fix in which I moved the try stack
decrement to the end of the catch clause because it was getting skipped
by the final statement in the try block (which is always a goto around the
catch block). Better is to make sure the endTry is the statment just before
that goto, and do the try stack decrement in the catch the way god intended.
git-svn-id: svn://10.0.0.236/trunk@58266 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 22:50:27 +00:00
rogerl%netscape.com
71147656fd
Bug #23609 - optimization in IRFactory for post-increment was incomplete.
...
git-svn-id: svn://10.0.0.236/trunk@58254 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 19:32:45 +00:00
norris%netscape.com
a93e26d45a
Fix icode printing for call opcodes.
...
git-svn-id: svn://10.0.0.236/trunk@58245 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 18:38:42 +00:00
norris%netscape.com
534d2c2a74
Propagate fix from branch.
...
git-svn-id: svn://10.0.0.236/trunk@56963 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-06 16:28:43 +00:00
rogerl%netscape.com
ac48548844
Need to update the value of newly created closure.
...
git-svn-id: svn://10.0.0.236/trunk@56520 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-24 00:49:44 +00:00
rogerl%netscape.com
d6c7017a52
Clean-up message text
...
git-svn-id: svn://10.0.0.236/trunk@56464 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-23 00:16:07 +00:00
norris%netscape.com
0e9dcb010e
Fix Counter example.
...
git-svn-id: svn://10.0.0.236/trunk@56106 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 22:49:50 +00:00
norris%netscape.com
1a3cb6f3e4
Make it possible to report multiple errors.
...
git-svn-id: svn://10.0.0.236/trunk@56094 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-16 18:47:27 +00:00
norris%netscape.com
396cb6ad29
Remove unused member variable.
...
git-svn-id: svn://10.0.0.236/trunk@55826 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 23:37:18 +00:00
beard%netscape.com
cfddb992ee
fixes case where an InterpretedFunction has both a closure and needs an activation.
...
git-svn-id: svn://10.0.0.236/trunk@55813 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 22:05:09 +00:00
rogerl%netscape.com
2fba19da79
smaller faster better - it'll probably burn up on entry.
...
git-svn-id: svn://10.0.0.236/trunk@55778 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-09 00:26:09 +00:00
rogerl%netscape.com
11acc154a5
Added 'flat' argument to NewRegExp to force literal interpretation of
...
entire string.
git-svn-id: svn://10.0.0.236/trunk@55674 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 01:48:03 +00:00
rogerl%netscape.com
42e4c9ee34
Needed a quick-and-dirty constructor from a string.
...
git-svn-id: svn://10.0.0.236/trunk@55673 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 01:47:13 +00:00
rogerl%netscape.com
6573b9f779
Added 'flat' argument to NewRegExp to force literal interpretation of
...
entire string.
Fixed String.replace to not coerce first arg to regexp.
Fixed behaviour of replace w.r.t. $
git-svn-id: svn://10.0.0.236/trunk@55672 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-08 01:46:43 +00:00