14 Commits

Author SHA1 Message Date
nboyd%atg.com
e0123f0945 Fix the last of the warnings!
git-svn-id: svn://10.0.0.236/trunk@252451 18797224-902f-48f8-a5cc-f745e15eee43
2008-06-19 17:30:46 +00:00
nboyd%atg.com
bd6958cc25 Fix a bunch of warnings.
git-svn-id: svn://10.0.0.236/trunk@225019 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 17:31:12 +00:00
gerv%gerv.net
f31a42d169 Bug 236108 - changing licence from NPL/GPL to MPL/GPL to help the Apache people. The bug in question also suggests an eventual switch to MIT; that may come later.
git-svn-id: svn://10.0.0.236/trunk@215092 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-10 15:27:40 +00:00
igor%mir2.org
a5563f388c Removal of "throws JavaSriptException" declaration:
JavaSriptException now inherits from RhinoException which inherits from RuntimeException and as such it does not necessary to declare it.

Moreover, it is wrong to use it for the documentation purpose since a  script can also throw EcmaError and WrappedException and a proper documentation would require to document those exceptions as well. But since almost all Rhino functions can potentially execute script code it means that wast majority of functions would bear the declarations, not only code overriding or calling explicitly Function.call/construct. And then the throw declarations would bring no information if it always would be "throws RhinoException". Thus it is better not to litter sources with the declarations at all.


git-svn-id: svn://10.0.0.236/trunk@161917 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-08 12:29:59 +00:00
igor%mir2.org
9d27279c06 Resolving bug 255891: new approach to dynamic scoping
git-svn-id: svn://10.0.0.236/trunk@161577 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 14:17:00 +00:00
igor%mir2.org
471769ba50 Adjusting examples not to assume that Context.initStandardObjects(ScriptableObject) returns ScriptableObject since that was changed back to Scriptable for compatibility.
git-svn-id: svn://10.0.0.236/trunk@148831 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-04 14:54:43 +00:00
igor%mir2.org
48d483ff35 GlobalScope is removed as its introduction had to serious consequences with compatibility and usage. Instead a special purpose class ClassCache is introduces to hold various caches. The class binds itself to an arbitrary object by using new SciptableObject.associateValue method so arbitrary ScriptableObject can be used as a scope without performance penalties.
git-svn-id: svn://10.0.0.236/trunk@148689 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-01 15:34:23 +00:00
igor%mir2.org
0d52480bc1 Updated to remove NotAFunction exception handler which is not generated any more and was deprecated.
git-svn-id: svn://10.0.0.236/trunk@148325 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-23 21:48:45 +00:00
igor%mir2.org
0087decd80 Use newly introduced Context.initStandardObjects(), not initStandardObjects(null) in the examples
git-svn-id: svn://10.0.0.236/trunk@147795 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-09 07:00:40 +00:00
igor%mir2.org
020637d3cc Cosmetics: removal of junk white-space at line end
git-svn-id: svn://10.0.0.236/trunk@135418 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-17 20:48:35 +00:00
timeless%mac.com
69ae314807 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa


git-svn-id: svn://10.0.0.236/trunk@116832 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 04:30:17 +00:00
norris%netscape.com
b4284415c8 Fix bug 33841.
git-svn-id: svn://10.0.0.236/trunk@65725 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 17:30:32 +00:00
norris%netscape.com
f062645ceb generalize on number of threads, add synchronization point so test case behaves as advertised
git-svn-id: svn://10.0.0.236/trunk@62779 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 21:45:02 +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