7607 Commits

Author SHA1 Message Date
igor%mir2.org
f63b1ca6f0 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.
2006-04-20 15:33:35 +00:00
brendan%mozilla.org
3164d9ab80 Final (I hope) followup patch (304376, r=mrbkap). 2006-04-20 05:18:09 +00:00
brendan%mozilla.org
da86244695 Fix brain-damaged code from last checkin (r=mrbkap). 2006-04-20 01:17:06 +00:00
brendan%mozilla.org
1734f2c734 Second half of fix for 304376 (r=mrbkap). 2006-04-19 23:36:16 +00:00
dbaron%dbaron.org
4fd4c8fc7c Call SetName so we don't have an XPCCallContext in a bad state. b=334104 r=dbradley sr=jst 2006-04-19 22:00:31 +00:00
gavin%gavinsharp.com
c8c5efd97f Bug 334180: backport pldhash -> jsdhash of win32 fastcall support, rev. 1, patch by bsmedberg, r=brendan 2006-04-19 20:34:56 +00:00
bclary%bclary.com
5da9633f8e JavaScript Test Library - Regression test for bug 234389, add expected exit code 3 for 'too much recursion' error, remove old -n version of test. 2006-04-19 03:12:26 +00:00
bclary%bclary.com
4e9ba2ba66 JavaScript Test Library - tweak reporting to improve automated test comparisons, no bug 2006-04-19 03:03:12 +00:00
bclary%bclary.com
76b89d9191 JavaScript Test Library - Regression test for bug 330352 2006-04-19 02:58:42 +00:00
bclary%bclary.com
c29f6adc76 JavaScript Test Library - Regression test for bug 319872, by Georgi Guninski 2006-04-19 02:56:29 +00:00
bclary%bclary.com
945d6e3a37 JavaScript Test Library - Regression test for bug 316885, by Igor Bukanov 2006-04-19 02:53:38 +00:00
bclary%bclary.com
a79f219015 JavaScript Test Library - Regression test for bug 315974, by Michael Daumling 2006-04-19 02:49:49 +00:00
bclary%bclary.com
d05efd6f2b JavaScript Test Library - Regression test for bug 312385 2006-04-19 02:35:10 +00:00
brendan%mozilla.org
dcf53bc38a Oops. 2006-04-19 00:57:03 +00:00
brendan%mozilla.org
705725e02f Memoize standard class.prototype bindings, per ECMA-262 (304376, r=mrbkap). 2006-04-19 00:22:43 +00:00
dbaron%dbaron.org
c6e5aec25e Make JSDHashTable/PLDHashTable assert when ops or enumeration callbacks mutate the table. b=334180 r=brendan 2006-04-18 18:30:50 +00:00
mrbkap%gmail.com
a9e8f95b55 Use the right object constructors. bug 334024, r=brendan 2006-04-18 18:12:53 +00:00
igor%mir2.org
624cae247a Bug 331598: The tail recursion elimination in MarkGCThingChildren is simplified.r=brendan 2006-04-18 07:25:37 +00:00
bclary%bclary.com
a3d034cd75 Remove regression test for bug 322177 since it is WONTFIX 2006-04-18 06:38:55 +00:00
brendan%mozilla.org
f423f359b1 Random trailing space search. 2006-04-18 04:41:24 +00:00
brendan%mozilla.org
10cbbda3cf 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). 2006-04-18 01:41:54 +00:00
mrbkap%gmail.com
2d7096065f Fix use of uninitialized fp. 2006-04-18 01:34:38 +00:00
mrbkap%gmail.com
e343a97818 Fix off-by-one error while parsing control escape sequences. bug 334158, patch by Andreas <mqmq87@web.de>, r=mrbkap 2006-04-18 00:10:27 +00:00
mrbkap%gmail.com
45f0829287 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 2006-04-17 23:36:31 +00:00
dbaron%dbaron.org
849f97dd03 Fix mismatched allocators. b=334162 r+sr=jst 2006-04-17 23:03:51 +00:00
brendan%mozilla.org
66aaeb15a5 Fix int constant precedent (333541, r=mrbkap). 2006-04-16 05:10:10 +00:00
brendan%mozilla.org
33af4e7a97 Add exec-time ecmaStrictMode flag and use it to allow 'for (i in null)' and the like. 2006-04-15 05:02:08 +00:00
mrbkap%gmail.com
3fda3a292b -- 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
2006-04-15 00:37:51 +00:00
mrbkap%gmail.com
ee5ae83517 Only avoid calling toObject when v is null. bug 333911, r=brendan 2006-04-14 18:14:43 +00:00
mrbkap%gmail.com
cde0d2439f Don't throw when given |for (i in null)| to match SpiderMonkey and to match users' expectations. bug 333911, r=brendan 2006-04-13 22:49:56 +00:00
bclary%bclary.com
15b95f62a1 JavaScript Test Library - Regression test for bug 327534, by Jesse Ruderman 2006-04-11 18:36:46 +00:00
bclary%bclary.com
4c6955719e JavaScript Test Library - Regression test for bug 331664, by Brendan Eich 2006-04-11 18:29:29 +00:00
bclary%bclary.com
b27ebeec48 JavaScript Test Library - Regression test for bug 332472, by Wladimir Palant 2006-04-11 18:18:11 +00:00
bclary%bclary.com
b185ee48c3 JavaScript Test Library - regression test for bug 328443, by Jesse Ruderman 2006-04-11 18:04:48 +00:00
bclary%bclary.com
49530f6507 JavaScript Test Library - Regression test for bug 330812, by Igor Bukanov 2006-04-11 17:53:02 +00:00
bclary%bclary.com
3eac92ea2b JavaScript Test Library - Regression test for bug 328664, by Hermecz Vajk 2006-04-11 17:42:02 +00:00
bclary%bclary.com
46def5be45 JavaScript Test Library - tweak section 6 to not depend on whitespace settings, no bug, not part of the build 2006-04-11 17:05:14 +00:00
jst%mozilla.jstenback.com
f4f7012c0b Fixing bug 321299. Make sure XPConnect wrappers get properly reparented when moving nodes from document to document. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2006-04-11 03:49:44 +00:00
mrbkap%gmail.com
7970a7888a Try fixing bug 326497 again, this time allowing DOM constructors to be wrapped in cross-domain settings, since some of them can be used (e.g., Location). r+sr=jst for the DOM bits, r=brendan sr=shaver for the XPConnect bits. 2006-04-10 21:40:28 +00:00
brendan%mozilla.org
2c653c4861 Duh... (333398, r=mrbkap). 2006-04-10 05:35:12 +00:00
silver%warwickcompsoc.co.uk
a7f77479db Bug 332514 - Don't allow null argument to Sandbox constructor. r=brendan sr=jst 2006-04-08 22:04:40 +00:00
bclary%bclary.com
95ccbc1e1d Update JS_GetImplementationVersion() date string (bug 67111, r=brendan) 2006-04-07 16:04:45 +00:00
bclary%bclary.com
dc0d9ca6bf jsDriver.pl - add new options (-K|--linefail)(-T|--timeout) seconds, (bug 331478, r=mrbkap) 2006-04-07 15:58:32 +00:00
brendan%mozilla.org
73ab09a55c Fix thread- and GC-safety bugs in js_GetAnyName and its evil twin (331782, 325526, r=mrbkap). 2006-04-06 20:24:24 +00:00
brendan%mozilla.org
d911007cfc Fix uneval on E4X objects (327534, r=mrbkap). 2006-04-06 20:15:24 +00:00
gavin%gavinsharp.com
c1c8fbfcac Bug 314529: E4X: delete operator misses some descendants - e4x/Types/9.1.1.3.js, patch by Erik Fabert <jerfa@email.it>, r=brendan 2006-04-06 13:04:54 +00:00
gavin%gavinsharp.com
d0dee808f7 Bug 330319: Remove duplicate string constants in jsnum.c, patch by Erik Fabert <jerfa@email.it>, r=brendan 2006-04-06 13:02:03 +00:00
gavin%gavinsharp.com
0ce6c36fee Bug 331203: Result of Math.pow(NaN, 0) should be 1, patch by Erik Fabert <jerfa@email.it>, r=brendan 2006-04-06 04:49:20 +00:00
dbaron%dbaron.org
e94b49b6af Root across calls to JS_SetElement and JS_SetProperty. b=331667 r=jst,dbradley sr=brendan 2006-04-05 21:34:16 +00:00
dbaron%dbaron.org
04b8c33eda Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky 2006-04-05 00:00:44 +00:00