Commit Graph

7594 Commits

Author SHA1 Message Date
brendan%mozilla.org
27ebaf73fd Fix eager standard class init to control recursion through lazy paths, and re-enable the dreaded XXXMLM assertion in JS_InitClass (334834, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@195389 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 21:00:36 +00:00
bclary%bclary.com
110536602d JavaScript Test Library - improve jsDriver.pl timeout handling (bug 335397, r=mrbkap)
git-svn-id: svn://10.0.0.236/trunk@195370 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-25 18:10:33 +00:00
mrbkap%gmail.com
2ff82b73fc Backing out bug 326497 again to see if it fixes the problems that we're seeing with us not recognizing functions set on [classname].prototype.
git-svn-id: svn://10.0.0.236/trunk@195283 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 19:27:25 +00:00
bclary%bclary.com
fc65e1456f Regression test for bug 328012, by Jesse Ruderman
git-svn-id: svn://10.0.0.236/trunk@195215 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 01:02:43 +00:00
bclary%bclary.com
b9a896e3fc Regression test for bug 334807, by Andreas
git-svn-id: svn://10.0.0.236/trunk@195214 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 00:47:59 +00:00
igor%mir2.org
a9ffab6e7e Bug 324278: Set by default the stack limit quota to 500000 for js shell. r=brendan
git-svn-id: svn://10.0.0.236/trunk@195211 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-23 19:23:53 +00:00
igor%mir2.org
30751b7fcd Bug 334929: tuning JS_MaybeGC so it would trigger GC less often on the browser start-up to match the behaviors before I committed patched from bug 312238 to change nature of rt->gc(Private)?Bytes. r=brendan
git-svn-id: svn://10.0.0.236/trunk@195203 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-23 14:45:10 +00:00
bclary%bclary.com
6dfdb8ad70 Regression test for bug 333541, by Biju
git-svn-id: svn://10.0.0.236/trunk@195202 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-23 13:00:58 +00:00
bclary%bclary.com
831d788523 Regression test for bug 334158, by Andreas
git-svn-id: svn://10.0.0.236/trunk@195201 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-23 12:20:05 +00:00
bclary%bclary.com
2565cd4222 Regression test for bug 331558, by Erik Fabert
git-svn-id: svn://10.0.0.236/trunk@195200 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-23 11:45:17 +00:00
bclary%bclary.com
9feef65243 Regression test for bug 324278, by Igor Bukanov
git-svn-id: svn://10.0.0.236/trunk@195198 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-23 11:09:58 +00:00
bzbarsky%mit.edu
349b5f6feb Fix leak. Bug 334898, patch by Ryan Flint <rflint@dslr.net>, r=mrbkap, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@195099 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 21:23:46 +00:00
brendan%mozilla.org
0b54e32cf9 Fix 334807 (r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@195050 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 11:08:18 +00:00
neil%parkwaycc.co.uk
98c18c2636 --disable-xpcom-fastload breaks JS component loader b=334849 r=shaver sr=brendan
git-svn-id: svn://10.0.0.236/trunk@195045 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 09:46:00 +00:00
brendan%mozilla.org
370c142728 Revert to comment out the XXXMLM mystery assert.
git-svn-id: svn://10.0.0.236/trunk@195042 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 07:47:06 +00:00
brendan%mozilla.org
13dcfd5a06 Remove non-standard and not-for-public-use With (304376 followup).
git-svn-id: svn://10.0.0.236/trunk@195041 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-21 07:14:29 +00:00
igor%mir2.org
7630836c1b Bug 312238: gcBytes and gcPrivateBytes from JSRuntime now means the total
amount of memory allocated by GC arenas, not the size of allocated things
which does not include the memory taken by free GC cells. This simplified
accounting and allows to implement lock-less allocation of GC things.


git-svn-id: svn://10.0.0.236/trunk@194971 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 15:33:35 +00:00
brendan%mozilla.org
f5dd15b42e Final (I hope) followup patch (304376, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@194953 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 05:18:09 +00:00
brendan%mozilla.org
5025bd9f59 Fix brain-damaged code from last checkin (r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@194747 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-20 01:17:06 +00:00
brendan%mozilla.org
d5fb083e40 Second half of fix for 304376 (r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@194732 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 23:36:16 +00:00
dbaron%dbaron.org
60650181d5 Call SetName so we don't have an XPCCallContext in a bad state. b=334104 r=dbradley sr=jst
git-svn-id: svn://10.0.0.236/trunk@194718 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 22:00:31 +00:00
gavin%gavinsharp.com
4961bafdf6 Bug 334180: backport pldhash -> jsdhash of win32 fastcall support, rev. 1, patch by bsmedberg, r=brendan
git-svn-id: svn://10.0.0.236/trunk@194701 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 20:34:56 +00:00
bclary%bclary.com
867b904bfe JavaScript Test Library - Regression test for bug 234389, add expected exit code 3 for 'too much recursion' error, remove old -n version of test.
git-svn-id: svn://10.0.0.236/trunk@194662 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 03:12:26 +00:00
bclary%bclary.com
f2b0ca24be JavaScript Test Library - tweak reporting to improve automated test comparisons, no bug
git-svn-id: svn://10.0.0.236/trunk@194660 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 03:03:12 +00:00
bclary%bclary.com
3e7d77b4a8 JavaScript Test Library - Regression test for bug 330352
git-svn-id: svn://10.0.0.236/trunk@194659 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 02:58:42 +00:00
bclary%bclary.com
d9d2d00e76 JavaScript Test Library - Regression test for bug 319872, by Georgi Guninski
git-svn-id: svn://10.0.0.236/trunk@194658 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 02:56:29 +00:00
bclary%bclary.com
31ca9b986f JavaScript Test Library - Regression test for bug 316885, by Igor Bukanov
git-svn-id: svn://10.0.0.236/trunk@194657 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 02:53:38 +00:00
bclary%bclary.com
471c80fc0c JavaScript Test Library - Regression test for bug 315974, by Michael Daumling
git-svn-id: svn://10.0.0.236/trunk@194656 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 02:49:49 +00:00
bclary%bclary.com
79f8e545ca JavaScript Test Library - Regression test for bug 312385
git-svn-id: svn://10.0.0.236/trunk@194655 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 02:35:10 +00:00
brendan%mozilla.org
344efbb419 Oops.
git-svn-id: svn://10.0.0.236/trunk@194647 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 00:57:03 +00:00
brendan%mozilla.org
ad4257f410 Memoize standard class.prototype bindings, per ECMA-262 (304376, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@194643 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-19 00:22:43 +00:00
dbaron%dbaron.org
6cdacfb709 Make JSDHashTable/PLDHashTable assert when ops or enumeration callbacks mutate the table. b=334180 r=brendan
git-svn-id: svn://10.0.0.236/trunk@194614 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 18:30:50 +00:00
mrbkap%gmail.com
8ebe42c6d8 Use the right object constructors. bug 334024, r=brendan
git-svn-id: svn://10.0.0.236/trunk@194612 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 18:12:53 +00:00
igor%mir2.org
2094d1c4fb Bug 331598: The tail recursion elimination in MarkGCThingChildren is simplified.r=brendan
git-svn-id: svn://10.0.0.236/trunk@194584 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 07:25:37 +00:00
bclary%bclary.com
5581f77d3b Remove regression test for bug 322177 since it is WONTFIX
git-svn-id: svn://10.0.0.236/trunk@194583 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 06:38:55 +00:00
brendan%mozilla.org
82f058c240 Random trailing space search.
git-svn-id: svn://10.0.0.236/trunk@194579 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 04:41:24 +00:00
brendan%mozilla.org
b159ef957a Patch from Feng Qian <feng.qian.moz@gmail.com> with assist from Igor, based on ancient patch from me, to factor per-thread state from JSContext into JSThread to support per-thread lock-free GC allocation (312238, r=me).
git-svn-id: svn://10.0.0.236/trunk@194574 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 01:41:54 +00:00
mrbkap%gmail.com
7027363df3 Fix use of uninitialized fp.
git-svn-id: svn://10.0.0.236/trunk@194573 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 01:34:38 +00:00
mrbkap%gmail.com
9e514977cc Fix off-by-one error while parsing control escape sequences. bug 334158, patch by Andreas <mqmq87@web.de>, r=mrbkap
git-svn-id: svn://10.0.0.236/trunk@194567 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-18 00:10:27 +00:00
mrbkap%gmail.com
fc4c9589f6 Split out construction code from the interpreter proper and share it between the js_Interpret and a new Narcissus-only function on Function.prototype (__applyConstructor__). This allows Narcissus to call a native constructor with an array of arguments, like Function.prototype.apply. bug 331429, r=brendan
git-svn-id: svn://10.0.0.236/trunk@194557 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 23:36:31 +00:00
dbaron%dbaron.org
44edb56bed Fix mismatched allocators. b=334162 r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@194550 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-17 23:03:51 +00:00
brendan%mozilla.org
d2a185a15e Fix int constant precedent (333541, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@194471 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-16 05:10:10 +00:00
brendan%mozilla.org
f23330b0fd Add exec-time ecmaStrictMode flag and use it to allow 'for (i in null)' and the like.
git-svn-id: svn://10.0.0.236/trunk@194450 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-15 05:02:08 +00:00
mrbkap%gmail.com
44604ebc68 -- Allow the DOM script object factory to turn XPConnect return values into proper nsIException objects.
-- Make nsDOMClassInfo::ThrowJSException never throw null as an exception.
-- Make XPCException::ToString grab the description of the result as well as the name.

r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@194440 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-15 00:37:51 +00:00
mrbkap%gmail.com
0f0eb1ba4a Only avoid calling toObject when v is null. bug 333911, r=brendan
git-svn-id: svn://10.0.0.236/trunk@194420 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-14 18:14:43 +00:00
mrbkap%gmail.com
e786192531 Don't throw when given |for (i in null)| to match SpiderMonkey and to match users' expectations. bug 333911, r=brendan
git-svn-id: svn://10.0.0.236/trunk@194356 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-13 22:49:56 +00:00
bclary%bclary.com
f3a11edbdb JavaScript Test Library - Regression test for bug 327534, by Jesse Ruderman
git-svn-id: svn://10.0.0.236/trunk@194157 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 18:36:46 +00:00
bclary%bclary.com
5251c4c8e3 JavaScript Test Library - Regression test for bug 331664, by Brendan Eich
git-svn-id: svn://10.0.0.236/trunk@194156 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 18:29:29 +00:00
bclary%bclary.com
624da0a99c JavaScript Test Library - Regression test for bug 332472, by Wladimir Palant
git-svn-id: svn://10.0.0.236/trunk@194154 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 18:18:11 +00:00
bclary%bclary.com
7e21ec9bb8 JavaScript Test Library - regression test for bug 328443, by Jesse Ruderman
git-svn-id: svn://10.0.0.236/trunk@194152 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-11 18:04:48 +00:00