Commit Graph

4422 Commits

Author SHA1 Message Date
pschwartau%netscape.com
729cd40cd3 Initial add. Based on examples from ECMA-262 Ed.3 spec, Section 15.10.2 2002-07-10 23:09:48 +00:00
igor%mir2.org
a3eec51b34 With Roger's <rogerl@netscape.com> new RegExp implementation Rhino passes:
js1_2/regexp/regress-9141.js
ecma_3/String/regress-104375.js
2002-07-10 22:14:48 +00:00
pschwartau%netscape.com
a234e4d358 Skip testcase for bug 152646. Will not fix this in Rhino; too much of a corner case. 2002-07-10 21:03:07 +00:00
igor%mir2.org
6387ce4fe2 No more skiping of ecma/LexicalConventions/7.7.3.js, it works as DToA converts numbers to strings properly 2002-07-10 20:00:25 +00:00
brendan%mozilla.org
c567b92abe Fix GC_MARK_DEBUG (DEBUG only, r/sr=dbaron). 2002-07-10 03:01:32 +00:00
rogerl%netscape.com
e76a9bdf17 Fixes for bugs #155285 - Array.join(undefined) should use ','
#155289 - String.prototype.XXX.length has some wrong values
 #155291 - RegExp properties should be DontEnum
Plus fix for matching against RegEXp captures with undefined value.
2002-07-09 22:28:52 +00:00
igor%mir2.org
1cf0bd8a05 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
703c294a0e Null-check prop before dropping it (156354, r=khanson, sr=shaver). 2002-07-09 02:24:51 +00:00
brendan%mozilla.org
6377e47a6d 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
af1fd119ce Trivial whitespace edit. 2002-07-09 00:48:13 +00:00
pschwartau%netscape.com
57d575aeb7 Initial add. Regression test for bug 152646. 2002-07-09 00:43:15 +00:00
pschwartau%netscape.com
c71ec565e1 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
98fbaca8bd 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
b253f4eec4 Initial add. Testing JS RegExp engine against results from Perl 5. 2002-07-08 04:03:11 +00:00
pschwartau%netscape.com
64ba8f5e13 Correcting the year in the copyright. 2002-07-08 03:58:27 +00:00
pschwartau%netscape.com
41a4e86e87 Adding reference to bug 85721. 2002-07-08 03:36:34 +00:00
pschwartau%netscape.com
35fdaa160e Initial add. Testing JS RegExp engine against results from Perl 5. 2002-07-08 03:27:21 +00:00
pschwartau%netscape.com
db43d7a730 Initial add. Regression test for bug 144834. 2002-07-06 03:44:58 +00:00
igor%mir2.org
988587183a New security implementation. 2002-07-04 21:40:12 +00:00
timeless%mac.com
651ae14d30 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
1d67c5d684 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
413c0e6e50 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
da451aaa9c 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
c7c6b759c0 Bug #155285. Array.join(undefined) should use ',' - ECMA compatibility.
r=scole, sr=brendan.
2002-07-03 07:22:14 +00:00
timeless%mac.com
e92566d986 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
03ace271f0 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
e86d47baeb 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
000bba17d1 Adding new section authored by martin.honnen@t-online.de from bug 150859. 2002-07-02 01:24:34 +00:00
rogerl%netscape.com
d4cc22a21f Fixed matching of un-matched paren contents (e.g. /(a)\1/("x") ). 2002-06-28 23:04:55 +00:00
pschwartau%netscape.com
53e602d645 Correcting grammar in comment. 2002-06-26 19:16:53 +00:00
pschwartau%netscape.com
509e4f5caf Initial add. Regression test for bug 154338. 2002-06-26 19:04:00 +00:00
jst%netscape.com
f77d6579ac 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
46878c2746 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
dfe5bcb486 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
823e1920ba 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
a270823871 Fixed whitespace testing. Fixed bug 122167 - $nn handling in replace. 2002-06-22 19:38:02 +00:00
rogerl%netscape.com
c80b7c5e07 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
17b4a2e105 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
3461caf04a 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
df23839e5b Adjusting FAST constant upward so that test can pass in Rhino - 2002-06-20 20:53:10 +00:00
rginda%netscape.com
5551899c79 fix build bustage, NS_IF_RELEASE the raw pointer, not the COM pointer. 2002-06-19 22:40:19 +00:00
rogerl%netscape.com
9160462278 New RegExp engine implementation. 2002-06-19 21:57:57 +00:00
rginda%netscape.com
410a00825d 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
57e782b463 Correcting Section 1 to test execution as well as compilation of function. 2002-06-19 00:23:43 +00:00
pschwartau%netscape.com
6637d3a44d Adding extra comments - 2002-06-19 00:13:04 +00:00
pschwartau%netscape.com
1ab211c7a1 Initial add. Regression test for bug 146596. 2002-06-19 00:02:29 +00:00
nboyd%atg.com
a4cf45ee33 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
a8fcbf98a8 Update last qualified release statement. 2002-06-16 23:51:15 +00:00
dougt%netscape.com
f93a81bfcb 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
f14fa81202 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