szegedia%freemail.hu
d81b6fcadb
finalizers should be protected
2006-12-17 15:39:48 +00:00
szegedia%freemail.hu
5927038ca7
Don't invoke System.gc
2006-12-17 15:39:36 +00:00
gerv%gerv.net
fa75652059
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.
2006-11-10 15:27:40 +00:00
szegedia%freemail.hu
2e3f0807cf
Fix for #342894 : "examples/E4X/e4x_example.js has line endings inconsistent with rest of source tree"
2006-07-11 12:38:20 +00:00
szegedia%freemail.hu
74845c6ebc
Fix for #342894 : "examples/E4X/e4x_example.js has line endings inconsistent with rest of source tree"
2006-07-11 12:34:25 +00:00
timeless%mozdev.org
b78d0c2416
Bug 106386 Correct misspellings in source code
...
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 08:16:51 +00:00
igor%mir2.org
4b4661eaea
Changing the example to use the supported syntax, the older syntax did not
...
work since 1.5R1 release or so.
2005-08-28 19:49:21 +00:00
igor%mir2.org
675eab9782
1. Replacing IdScriptableObject.wrap_* methods by their ScriptRuntime.wrap* counterparts since the wrap methods are useful not only for subclasses of IdScriptableObject.
...
2. Reorganizing execIdCall in few classes inherited from IdScriptableObject to shrink code size.
2004-09-10 18:02:06 +00:00
igor%mir2.org
73f67832ac
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.
2004-09-08 12:29:59 +00:00
igor%mir2.org
d78af3b167
Resolving bug 255891: new approach to dynamic scoping
2004-09-01 14:17:00 +00:00
igor%mir2.org
412251e336
Using explicit JavaImporter constructor to make namespace for swing and using it later with the "with" statement to get access to Java classes.
...
In this way the example can be used in an application that does not use ImporterTopLevel.
2004-08-10 16:11:13 +00:00
igor%mir2.org
6c33ddde1a
Adding E4X example contributed by John Schneider from AgileDelta, Inc., http://www.agiledelta.com/ .
2004-07-29 15:55:41 +00:00
igor%mir2.org
78729bc8b9
Switch to using Context.javaToJS instead of Context.toObject
2004-06-07 10:35:22 +00:00
igor%mir2.org
732c7ab109
Updates to reflect new extension to allow to pass function to Java method expecting interface: now interface with multiple methods are allowed as long as all methods has the same signature
2004-03-24 15:44:19 +00:00
igor%mir2.org
ecad46eb8f
Adjusting examples not to assume that Context.initStandardObjects(ScriptableObject) returns ScriptableObject since that was changed back to Scriptable for compatibility.
2003-11-04 14:54:43 +00:00
igor%mir2.org
5294159feb
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.
2003-11-01 15:34:23 +00:00
igor%mir2.org
22d09dcc14
First part of resolving http://bugzilla.mozilla.org/show_bug.cgi?id=223435 :
...
Allow to pass JS function to Java method accepting interface with single method. The function will be called when interface method will be called.
2003-10-28 08:37:30 +00:00
igor%mir2.org
f28c2bb83d
Updated to remove NotAFunction exception handler which is not generated any more and was deprecated.
2003-10-23 21:48:45 +00:00
igor%mir2.org
1300a83780
Use newly introduced Context.initStandardObjects(), not initStandardObjects(null) in the examples
2003-10-09 07:00:40 +00:00
igor%mir2.org
0b8d376817
Use non-static functions in Shell
2003-10-09 07:00:01 +00:00
igor%mir2.org
1532e6ac8b
Cosmetics: removal of end-of-line junk space
2003-10-09 06:57:12 +00:00
igor%mir2.org
64ee78aaec
Self-documenting example
2003-09-28 19:49:07 +00:00
igor%mir2.org
2fbe052b90
Cosmetics: removal of junk white-space at line end
2002-12-17 20:48:35 +00:00
igor%mir2.org
a14335e198
Examples now uses try {} finally { Context.exit(); } to release Context even in case of errors
2002-07-09 17:49:16 +00:00
nboyd%atg.com
cdfc8a39a9
Add example of the use of a WrapFactory.
2002-06-10 14:19:09 +00:00
nboyd%atg.com
4a185839fe
Makefiles no longer supported: use Ant.
2002-04-06 01:56:50 +00:00
timeless%mac.com
fc883176bf
Bug 106386 rid source of misspellings
...
r=db48x sr=blake a=asa
2002-03-19 04:30:17 +00:00
nboyd%atg.com
e72e50f371
Fix out-of-date javadoc.
2002-01-24 19:57:52 +00:00
nboyd%atg.com
4093e4c66e
Subject:
...
jsdoc.js - added simple support for methods
Date:
Thu, 14 Jun 2001 09:12:26 +0100 (GMT Daylight Time)
From:
Simon Massey <simon_massey@hotmail.com>
To:
<nboyd@atg.com>
First off let me say thanks a lot for rhino. It is a really excellent piece
of software.
I am writing a large piece of js for making Excel2000 htm interactive on IE
and other browser such as Netscape6. Use a alot of code OO using methods
along the lines of:
/**
* Constructor
*/
function Type(x){
this.x = x;
}
/**
* Method
*/
Type.prototype.getX = function(){
return x;
}
var type = new Type('a');
var a = type.getX();
I have added to jsdoc.js so that finds and documents the method
declarations.
Attached is my modified jsdoc.js and a sample of the html that it generates
for the some of our proprietry :-( "Axel" code.
As an aside have you seen the job that www.blox.com have done on making a
dhtml spreadsheet? Bet they wished they could use exceptions in Netscape4!
Looking forward to the production JSDebugger. The tip version is great. It
does however seem to trash the view that it has of a file when an eval call
is made in that file. Is there a work around or will I have to wait till
the production version?
Thanks Again!
Simon Massey
2001-06-14 17:38:37 +00:00
nboyd%atg.com
85fc99bf0a
Add new CounterTest example.
2001-06-01 15:26:45 +00:00
nboyd%atg.com
7f310bd10e
Expand tutorial.
2001-01-16 15:24:23 +00:00
nboyd%atg.com
89d00fda22
Fix infinite loop in example.
2001-01-12 16:28:36 +00:00
nboyd%atg.com
49ddafb80f
Add construction of Counter from Java
2000-12-05 16:42:39 +00:00
nboyd%atg.com
2e9a2bd01f
Fix 60184, and add SwingApplication.js example, with change
...
to shell to prevent early exit.
2000-11-17 13:05:46 +00:00
nboyd%atg.com
cd2482f9f2
Fix bug 49350
2000-09-11 15:12:04 +00:00
nboyd%atg.com
d55dd0cde5
Fix class path
2000-08-21 15:51:57 +00:00
nboyd%atg.com
c0a575bf5b
Fix javadoc error.
2000-07-17 14:08:28 +00:00
nboyd%atg.com
81838e4e1f
Deprecate FlattenedObject.
2000-07-07 14:41:35 +00:00
norris%netscape.com
1316603f7b
Fix bug 33841.
2000-04-12 17:30:32 +00:00
norris%netscape.com
abdd921231
generalize on number of threads, add synchronization point so test case behaves as advertised
2000-03-13 21:45:02 +00:00
norris%netscape.com
199f666ef8
Fix command line
2000-03-09 23:33:06 +00:00
norris%netscape.com
122be924b1
Add html page for the NervousText applet.
2000-03-09 23:06:54 +00:00
norris%netscape.com
1f65a6474f
Clean up examples to use current jsFunction_ and jsGet_ method forms.
2000-03-03 19:15:51 +00:00
norris%netscape.com
b73bd41b86
Add support for dynamic scopes and fix remaining test failures in the tip.
2000-02-16 17:40:53 +00:00
norris%netscape.com
43d6dcf526
Add license text.
1999-10-25 17:41:49 +00:00
dmose%mozilla.org
068c6bb828
update license boilerplate to NPL dual w/GPL, r=norris@netscape,a=norris@netscape.com
1999-10-05 00:44:05 +00:00
norris%netscape.com
ba6c2c928a
Add example of classfile generation.
1999-09-27 23:21:01 +00:00
norris%netscape.com
08c1752616
Fix comments.
1999-09-17 16:38:51 +00:00
norris%netscape.com
e3ec2e1782
fix comment
1999-09-17 16:37:35 +00:00
norris%netscape.com
14eadb66ef
Clearer example.
1999-09-17 06:12:45 +00:00