10 Commits

Author SHA1 Message Date
szegedia%freemail.hu
260f663015 finalizers should be protected
git-svn-id: svn://10.0.0.236/trunk@217097 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-17 15:39:48 +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
9a39b3b949 Switch to using Context.javaToJS instead of Context.toObject
git-svn-id: svn://10.0.0.236/trunk@157503 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-07 10:35:22 +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
04e62a29b4 Clean up examples to use current jsFunction_ and jsGet_ method forms.
git-svn-id: svn://10.0.0.236/trunk@62145 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-03 19:15:51 +00:00
dmose%mozilla.org
239d60872d update license boilerplate to NPL dual w/GPL, r=norris@netscape,a=norris@netscape.com
git-svn-id: svn://10.0.0.236/trunk@49766 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 00:44:05 +00:00
norris%netscape.com
f7488b74e0 Add examples to mozilla.
git-svn-id: svn://10.0.0.236/trunk@28724 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 20:41:57 +00:00