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

4416 Коммитов

Автор SHA1 Сообщение Дата
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
brendan%mozilla.org 3218d3f4c0 Null-check prop before dropping it (156354, r=khanson, sr=shaver). 2002-07-09 02:24:51 +00:00
brendan%mozilla.org 0465e3ac35 Eliminate broken old pre-ECMA switch case compile-time evaluation (144834, r=khanson, sr=shaver). 2002-07-09 02:15:49 +00:00
pschwartau%netscape.com cf83c07391 Trivial whitespace edit. 2002-07-09 00:48:13 +00:00
pschwartau%netscape.com 084f3c1133 Initial add. Regression test for bug 152646. 2002-07-09 00:43:15 +00:00
pschwartau%netscape.com 3dcadf4f0d Fixing mistake. Can't call printStatus(), etc. in js1_2 test directory, because js1_2/shell.js doesn't contain them. 2002-07-09 00:29:41 +00:00
timeless%mac.com e5366b1424 Bug 125411 [NuBus] Mac installer crashes with a type 12 error (SleepQInstall)
r=dmose sr=jst
2002-07-08 07:26:41 +00:00
pschwartau%netscape.com b1277f0b9b Initial add. Testing JS RegExp engine against results from Perl 5. 2002-07-08 04:03:11 +00:00
pschwartau%netscape.com 451a024ce1 Correcting the year in the copyright. 2002-07-08 03:58:27 +00:00
pschwartau%netscape.com d6131a082b Adding reference to bug 85721. 2002-07-08 03:36:34 +00:00
pschwartau%netscape.com 59653be598 Initial add. Testing JS RegExp engine against results from Perl 5. 2002-07-08 03:27:21 +00:00
pschwartau%netscape.com b3ec7432cd Initial add. Regression test for bug 144834. 2002-07-06 03:44:58 +00:00
igor%mir2.org 3815049c3a New security implementation. 2002-07-04 21:40:12 +00:00
timeless%mac.com bea9f48808 Bug 155466 clean up test consumers to correctly use NS_ShutdownXPCOM
r=dmose, sr=scc, moa: dougt, dbradley, gagan, harish, akk
2002-07-04 14:29:25 +00:00
brendan%mozilla.org d916599fd0 rogerl's fix to conform to ECMA by not enumerating regexp instance properties (155291, r=khanson, sr=brendan). 2002-07-03 21:07:53 +00:00
brendan%mozilla.org a1c47e682a rogerl's patch to fix some ECMA arity glitches (155289, r=khanson, sr=brendan). 2002-07-03 21:03:02 +00:00
brendan%mozilla.org 29b860201d khanson's fix for Function.prototype.apply.length ECMA glitch (145779, r=rogerl, sr=brendan). 2002-07-03 21:00:15 +00:00
rogerl%netscape.com 7d4a750bfb Bug #155285. Array.join(undefined) should use ',' - ECMA compatibility.
r=scole, sr=brendan.
2002-07-03 07:22:14 +00:00
timeless%mac.com 3d26b5e6ce Bug 154737 String(NaN) crashes JS Engine if JS_THREADSAFE is set
r=dbradley sr=brendan
2002-07-03 02:14:51 +00:00
seawood%netscape.com 8f6f1756ce Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
rogerl%netscape.com 6ebd2105e5 Bug #154338, r=khanson,sr=jag. Misuse of string length field, when string
was dependent, extracted bad value for subsequent memory request.
2002-07-02 18:14:01 +00:00
pschwartau%netscape.com 054d1f4723 Adding new section authored by martin.honnen@t-online.de from bug 150859. 2002-07-02 01:24:34 +00:00
rogerl%netscape.com 355e24f593 Fixed matching of un-matched paren contents (e.g. /(a)\1/("x") ). 2002-06-28 23:04:55 +00:00
pschwartau%netscape.com 36bbd1ba30 Correcting grammar in comment. 2002-06-26 19:16:53 +00:00
pschwartau%netscape.com b237aabe74 Initial add. Regression test for bug 154338. 2002-06-26 19:04:00 +00:00
jst%netscape.com e694c1308f Fixing bug 129622. Make comparing an XPConnect wrapped native object to a number (<, >, ==, ...) in JS always return falase. r=dbradley@netscape.com, sr=jband@netscape.com 2002-06-25 22:14:58 +00:00
timeless%mac.com 8e11200b25 Bug 125411 [NuBus] Mac installer crashes with a type 12 error (SleepQInstall)
r=sfraser sr=beard
thanks to tim@maroney.org (see bug 138156)
2002-06-25 19:39:08 +00:00
pschwartau%netscape.com caebe93d57 Adjusting FAST constant upward again, so that test can pass in Rhino. 100 ms seems like a reasonable value. 2002-06-24 22:14:48 +00:00
khanson%netscape.com 424d7ac75c patch 88484 for bug 14044. checks for out of memory conditon in jsdtoa.c. sr=brendan, r=khanson 2002-06-24 06:14:02 +00:00
rogerl%netscape.com 9508cae65d Fixed whitespace testing. Fixed bug 122167 - $nn handling in replace. 2002-06-22 19:38:02 +00:00
rogerl%netscape.com 486171d5d2 Bug #112626 - setting RegExp static field 'input', making sure the paren
capture substring contents aren't gc'd. r=rginda, sr=brendan.
2002-06-21 18:38:45 +00:00
rogerl%netscape.com 27af23800b Fixing bug 153223; - 'flat' input may be null. 'isWhiteSpace' does not
return true for non-break spaces, use 'isSpaceChar' instead. Bytes are
signed so needed to extract char values more carefully.
2002-06-21 18:19:25 +00:00
pschwartau%netscape.com 166064cd6f Removing 6 skips. All pass now that the new Rhino RegExp engine has been checked in. 2002-06-20 22:31:47 +00:00
pschwartau%netscape.com 5341aaf026 Adjusting FAST constant upward so that test can pass in Rhino - 2002-06-20 20:53:10 +00:00
rginda%netscape.com b6b105c441 fix build bustage, NS_IF_RELEASE the raw pointer, not the COM pointer. 2002-06-19 22:40:19 +00:00
rogerl%netscape.com 8d4b102f83 New RegExp engine implementation. 2002-06-19 21:57:57 +00:00
rginda%netscape.com f239119376 Bug 151803, "Debugger is leaking JSDValues", r=peterv, sr=jst
Stop caching jsdIValues, it doesn't seem to be worth the lookup cost.  This has the side effect of plugging the leak, as described in the bug.
also...
* Convert a few raw pointers to nsCOMPtrs
* Fix a bug where removing the last filter did not null out the list head,
causing a crash the next time filters were used.
* Track live jsdStackFrames, so we can invalidate them all when execution
continues.  Without this, only the top frame is properly invalidated, and any
other frame accessed after a continue will do Bad Things.
* Add some debugging prints to GetInitAtService, which seems to be failing at
random times.
2002-06-19 21:56:23 +00:00
pschwartau%netscape.com 5b796ea735 Correcting Section 1 to test execution as well as compilation of function. 2002-06-19 00:23:43 +00:00
pschwartau%netscape.com 6e555f8ca4 Adding extra comments - 2002-06-19 00:13:04 +00:00
pschwartau%netscape.com 1784694c25 Initial add. Regression test for bug 146596. 2002-06-19 00:02:29 +00:00
nboyd%atg.com 33086d8fc5 Patch from morten@nvg.org :
I keep getting syntax errors with no line numbers as well.

That happens when I use Context.compileReader(..) to compile the script. The
DefaultErrorReporter will throw an exception with only the message and not the
line it happened on.

It is of course easy to workaround using your own error reporter, but I've
attached a patch to add on the line and source name so the DefaultErrorReporter
gives the similar output as EcmaError if that is wanted.
2002-06-17 00:49:47 +00:00
nboyd%atg.com a9bd55a1ce Update last qualified release statement. 2002-06-16 23:51:15 +00:00
dougt%netscape.com 252ea143d4 Fixes 48888 - xpcom flat file backend. r=dp@netscape.com sr=waterson@netscape.com 2002-06-14 21:33:05 +00:00
igor%mir2.org fa1b6e8b1b Added get/setJavaPrimitiveWrap to WrapFactory to get/set if instances of String, Number should be wrapped or not. 2002-06-12 19:11:50 +00:00
brendan%mozilla.org e017f61f6a Back out last change pending debug build (see crash bug 151066). 2002-06-12 08:31:43 +00:00
brendan%mozilla.org 2718cddb25 Report uncaught errors-as-exceptions from outermost JS_Compile*Function* API calls, just as for JS_Compile*Script* (150584, r=rginda, sr=jst). 2002-06-12 08:04:28 +00:00
igor%mir2.org 09a13f7ec3 Removal of unused code for explicit JSObject support:
> Norris Boyd wrote:
>
> Igor Bukaniv wrote:
> >
> > I am curios, why there is a need to have a special JSObject support in Rhino? Was it used for anything? The implementation in the ICEbrowser does not use it as in rare cases where conversion from JSObject to/from JS type may be needed (like calling JSObject.getWindow from a script), it seems that WrapHandler (or similar modifications to pre Rhino 1.5R2 sources) and Wrapper are enough to cover all the cases.
> Yes, we should probably just remove the JSObject code. We added it early on when Rhino was first written and we thought we might need JSObject compatibility with the JS + Java implementation in Navigator 4.x. That's not important now, so we should just remove this code (which likely doesn't work at this point anyway).
2002-06-12 05:32:35 +00:00
brendan%mozilla.org 106a6b8172 For the file input case, roll our own fgets replacement to handle NULs in files (148800, r=rogerl, sr=shaver). 2002-06-11 21:32:54 +00:00
brendan%mozilla.org 5840ea523a Drop non-ECMA f.a-for-arg/var-a-in-active-f support (137000, r=khanson, sr=shaver). 2002-06-11 20:43:50 +00:00
nboyd%atg.com 0e81293d62 Add to log of changes. 2002-06-10 17:44:44 +00:00