Граф коммитов

2849 Коммитов

Автор SHA1 Сообщение Дата
pschwartau%netscape.com 6284dfe441 Initital add - 2000-11-27 01:22:47 +00:00
pschwartau%netscape.com c55db2b118 Adding shell.js for ECMA3 Date tests, and tests for ECMA3 15.9.5.3 - 15.9.5.7 2000-11-25 01:17:24 +00:00
beard%netscape.com 456312842b importable XML project for CWPro6. 2000-11-23 04:27:33 +00:00
beard%netscape.com 07a119a7ed removed import of non-existent org.mozilla.javascript.tools.debugger.* package. 2000-11-23 04:24:34 +00:00
nboyd%atg.com e2c5be11b5 * Add ContextListener interface
* Add ability to access shell functions from compiled scripts, and to
  add shell functions to embedded apps more easily
2000-11-22 15:00:05 +00:00
waldemar%netscape.com 72079cafdb Added support for white space. Removed initial / production. 2000-11-21 04:07:05 +00:00
waldemar%netscape.com bcfad386e1 Renamed simple to span 2000-11-21 04:06:44 +00:00
brendan%mozilla.org ebcad77254 Store real JSString*, not address of auto JSSubString, in local root (60674, r=beard, sr=jband). 2000-11-21 00:51:43 +00:00
beard%netscape.com 8831ac82be updated dependencies 2000-11-21 00:31:10 +00:00
beard%netscape.com b36e637399 added explicit getString() method to StringFormatter, and removed operator String() methods. 2000-11-21 00:29:39 +00:00
beard%netscape.com 73fda2e03f Made getStaticSlot() static, to remove warning. 2000-11-21 00:15:39 +00:00
beard%netscape.com 9c337d0b4d fixing unsigned/signed conversion warnings. 2000-11-21 00:14:55 +00:00
nboyd%atg.com 428ac32f72 Merge debugger changes into trunk. 2000-11-20 16:16:32 +00:00
nboyd%atg.com 439a621e0a Fix for updated filename. 2000-11-20 14:44:56 +00:00
cls%seawood.org 66a18fcbbf Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
pavel%gingerall.cz 989cb4c77a - script compilation support (JS::CompileScript)
- compiled script may be executed (JS::exec)
- memory leak fixed
  (JSVALtoSV returning objects; magic has to to a mortal value)
2000-11-19 14:40:33 +00:00
beard%netscape.com fa3c57b737 CW Pro 6 compatibility. 2000-11-18 03:14:07 +00:00
nboyd%atg.com 0d26acf3ed timestamping file 2000-11-18 02:24:06 +00:00
nboyd%atg.com ec7864e0d5 Add support in Rhino for BSF without the bsfengines.jar. 2000-11-18 02:14:46 +00:00
danm%netscape.com 2c6d578e14 removing glowcode directives. won't affect you unless you use an obsolete version of glowcode. 2000-11-18 02:13:42 +00:00
nboyd%atg.com 571a5c5624 Fix 60184, and add SwingApplication.js example, with change
to shell to prevent early exit.
2000-11-17 13:05:46 +00:00
rogerl%netscape.com e5147e7dc9 Added lexutils & exception... to default build. 2000-11-16 23:58:53 +00:00
rogerl%netscape.com d4fc752316 Example from Waldemar's spec. 2000-11-16 23:50:37 +00:00
rogerl%netscape.com 5e1372ac60 Added BindThis argument, removed 'this' arg from Call. 2000-11-16 23:49:29 +00:00
rogerl%netscape.com e73ca123f0 Added notion of binding a 'this' to a method to construct a mini-closure
for call semantics. Fixed MSVC warnings from lexutils. Added BindThis
instructionand removed 'this' from Call instruction (is now extracted
from target argument).
2000-11-16 23:48:42 +00:00
mccabe%netscape.com 20aac0252c Not part of the Mozilla build. Update tool paths for server build. 2000-11-16 00:03:20 +00:00
mccabe%netscape.com 5a4d42637c Not part of the Mozilla build. Add js and liveconnect config files for OSFV5.0 2000-11-15 23:57:49 +00:00
nboyd%atg.com 88a011def8 Subject:
[Rhino] importPackage() when not in Rhino shell?
        Date:
             Tue, 14 Nov 2000 09:37:39 -0000
       From:
             "Benjamin Geer" <geerb@midas-kapiti.com>
 Organization:
             Another Netscape Collabra Server User
 Newsgroups:
             netscape.public.mozilla.jseng




The importPackage() and importClass() functions provided by the Rhino shell
seems as if they would be very generally useful.  Unless I've missed
something, they don't seem to be available to scripts compiled using the
JavaScript compiler, or to scripts that are run using Script.exec().  Is
there any chance these functions could be made available for all scripts to
use?  This would save a lot of typing; one could then always write a = new
Foo() instead of a = new Package.com.baz.bar.foo.Foo().

--Benjamin Geer
2000-11-14 20:10:42 +00:00
nboyd%atg.com 0c77e5b5dc Update javadoc. 2000-11-14 20:08:53 +00:00
nboyd%atg.com f66f393b8d Fix bug:
slobo@espial.com wrote:
>
> Hello Mike
>
> In the following test case, tester returns "undefined cat" in Rhino
> while in NN it returns "meow cat".
>
> Thanks
>
> Steven
>
> /////////////////////////////////////////////////////////////////////
> function tester(nest){
>     var nest = nest+" cat";
>     alert(nest);
>     // nest now contains the value undefined.
> }
>
> tester("meow");
2000-11-14 13:30:55 +00:00
rginda%netscape.com 2c4646c800 refactored lexer bits from icodeasm into lexutils
refactored exceptions from icodeasm into exception*
fixed LeadingCap method names to be interCapped
added string8 and string16 typedefs (as opposed to string vs String)
2000-11-14 03:11:54 +00:00
nboyd%atg.com d550dceb79 Subject:
More changes to support non NativeJavaObject wrappers
   Date:
        Fri, 03 Nov 2000 17:56:38 +0100
   From:
        Igor Bukanov <igor@icesoft.no>
     To:
        nboyd@atg.com




Hi, Norris,

In post 1.5 rhino one can introduce own wrappers for arbitrary Java
objects. But I think to fully support this
org.mozilla.javascript.ScriptRuntime should be changes as well: its eq
and shallow_eq contain references to NativeJavaObject, this should be
replaced at least to Wrapper (see the atached patch). Even better
solution would be to add to WrapHandler methods to compare wrappers: I
can send a patch for that as well.

There is a small usability problem as well: if
org.mozilla.javascript.JavaMembers would be public I do not need to copy
it to a package with non NativeJavaObject.java wrapper.

Regards, Igor
2000-11-13 22:10:35 +00:00
jeff.dyer%compilercompany.com 7c6f29466f Fix the first startup test. 2000-11-08 21:05:58 +00:00
mccabe%netscape.com ea579e0496 Fix to 58946.
Make try { ... } catch(exn) { return exn } work by ensuring that the return value (exn) is maintained on the stack as we pop off scopes to return from the try/catch/finally.  The newly added JSOP_SWAP opcode helps us bubble.

This fixes a regression uncovered by the fix to 56716.

(I've noticed that this causes *depend* builds of the standalone JS shell to crash on this construct, but I've tested in the Mozilla build, and the dependencies seem to solve the problem there.)

r=brendan.mozilla.org
sr=jband@netscape.com
2000-11-08 20:39:43 +00:00
beard%netscape.com be65966d92 Replaced occurrences of $$, $1, $2 with result, first, second. CodeWarrior doesn't like $ characters in identifiers. 2000-11-08 19:50:39 +00:00
pschwartau%netscape.com 443dc25546 The const keyword is non-ECMA and not currently implemented in Rhino 2000-11-08 01:10:43 +00:00
pavel%gingerall.cz 5ea133c95a - jsperl.c compiled with js programm, not with libjs
- better JS value tie methods
- memory leaks fixed
- support of digging native js error from exception
2000-11-07 15:24:49 +00:00
nboyd%atg.com 629043f2b8 Clean up debug APIs 2000-11-07 03:20:56 +00:00
rogerl%netscape.com ec89b08c8b Fixed warnings & bogus qualifier. 2000-11-07 01:09:45 +00:00
rogerl%netscape.com d2f5ecf8ff Fixed statics and constructors bitrot. 2000-11-07 00:59:27 +00:00
rogerl%netscape.com 3e4ebc2d54 More tests and changed 'verify' to live separately. 2000-11-07 00:58:42 +00:00
rogerl%netscape.com 30fd08d267 Testcase for adding setter to non-final field. 2000-11-06 23:00:00 +00:00
rogerl%netscape.com 67413c204e Fixed compare bugs. Report results from js2 test cases. Rewrote generic
equal to match ECMA 1.5
2000-11-06 22:57:10 +00:00
waldemar%netscape.com 3bc827cfed Defined UseIncludesExcludes. Removed support for a:🅱️:c. 2000-11-04 10:47:47 +00:00
waldemar%netscape.com 8b66cf247e Added 'include' and 'exclude' non-reserved words 2000-11-04 10:46:24 +00:00
mccabe%netscape.com ca67aac5d5 Fix to 58008. Add missing ECMA-specified fuctions Date.prototype.toDateString, toTimeString, toLocaleDateString, toLocaleTimeString. Commoned some code to toLocale_helper and date_format.
Also make several formerly class static variables lazily initialized.
2000-11-03 21:28:49 +00:00
rogerl%netscape.com 2322a26c61 More tests 2000-11-03 02:42:23 +00:00
rogerl%netscape.com 06dade6b2e Fixed adding setter to virtual inherited field. 2000-11-03 02:42:01 +00:00
pschwartau%netscape.com df5477c1c4 initial add 2000-11-03 02:27:44 +00:00
jeff.dyer%compilercompany.com 125d51cbe9 Don't care if required named come after optional named parameters. 2000-11-03 01:44:30 +00:00