brendan%mozilla.org
4acdf3bf40
iteration protocol + simple generators (after PEP-255), v6 (326466).
2006-05-10 01:50:12 +00:00
mrbkap%gmail.com
1ada25dd27
Use __applyConstructor__ to allow for an arbitrary number of parameters to be passed to native constructors. bug 331429, r=brendan
2006-05-09 19:23:39 +00:00
bclary%bclary.com
484b846d8b
JavaScript Test Library - regression test for bug 336100, by Jim Grandy, not part of the build.
2006-05-09 18:58:52 +00:00
igor%mir2.org
d693ca2d40
Bug 336376: I reverted the commit as the tree is closed!
2006-05-09 03:01:30 +00:00
igor%mir2.org
df64f47ccf
Bug 336376: Keywords are treated as identifiers in object literals or after '::', '.', '..' unless they are part of namespace prefix. I.e. now {try: 1}, obj.delete(), xml..in, ns::new are valid while xml.try::elem is not allowed and xml.function::child continues to refer to the method named child. r=brendan
2006-05-09 02:26:27 +00:00
szegedia%freemail.hu
672f03845e
Adding XML to the optional excluded name
2006-05-07 12:51:44 +00:00
timeless%mozdev.org
81f225a13b
Bug 331023 Cleanup of IDL files; fixing type inconsistencies
...
r=rginda sr=bz
2006-05-07 01:31:33 +00:00
timeless%mozdev.org
8e968261f4
Bug 334196 nsXPCWrappedJSClass::GetNamedPropertyAsVariant returns an unitialized value when JS_ValueToId fails
...
r=jst sr=jst
2006-05-06 22:37:05 +00:00
timeless%mozdev.org
e6823729ac
Bug 334194 XPC_WN_Helper_Mark returns unitialized value
...
r=jst sr=jst
2006-05-06 22:34:46 +00:00
timeless%mozdev.org
8f5a929afc
Bug 334204 XPCConvert::JSValToXPCException is too cautious
...
r=mrbkap sr=jst
2006-05-06 22:26:39 +00:00
cbiesinger%web.de
1fe4516c9f
bug 335180 Remove win32.order, mozilla-bin.order, --enable-reorder, and
...
associated code. These options do not really work anymore.
r=bsmedberg
2006-05-06 17:53:51 +00:00
bclary%bclary.com
5a9b45726b
JavaScript Test Library - fix UTF8 detection by Michael Daumling, bug 232182
2006-05-06 04:15:06 +00:00
mrbkap%gmail.com
52bff66666
Expand the checks to more cases. bug 336601, r+a181=brendan a=dveditz
2006-05-05 23:29:37 +00:00
mrbkap%gmail.com
df21ae0e1e
Expand the checks to more cases. bug 336601, r+a181=brendan a=dveditz
2006-05-05 23:17:22 +00:00
mrbkap%gmail.com
ef1ee7506c
OBJ_CHECK_ACCESS on call objects will return v = JSVAL_VOID since call objects don't have Object.prototype in their prototype. bug 336560, r=brendan
2006-05-05 08:08:56 +00:00
mrbkap%gmail.com
36071ec9b8
Create a safe version of js_ComputeThis that does access checks up the scope chain and bails if there's a failure. Use js_SafeComputeThis in places where its needed. bug 319263, r+a181=brendan
2006-05-04 06:46:27 +00:00
brendan%mozilla.org
e0bb9102f2
Keep cached class objects coherent with global properties mapping same (336054, r=shaver).
2006-05-02 05:50:28 +00:00
mrbkap%gmail.com
28917bc948
Tab patrol
2006-05-02 00:20:31 +00:00
brendan%mozilla.org
a70f73c85f
Tab and style policing.
2006-05-01 22:25:19 +00:00
mrbkap%gmail.com
5f27bde7e5
Don't assume that mWrapper is non-null, since it can be null when we're dealing with a wrapped prototype. bug 335731, r+sr=jst
2006-04-29 01:02:37 +00:00
dbaron%dbaron.org
b893a302f7
Fix recently introduced reference leak. b=335785 r=mrbkap sr=jst
2006-04-29 00:23:45 +00:00
brendan%mozilla.org
adb7549d2e
Avoid strict warning set-up costs if strict option is off (335700, r=mrbkap).
2006-04-28 18:50:40 +00:00
brendan%mozilla.org
105db56e9f
Fixed another JSVERSION_1_2 removal botch that broke splice (325951 regression, but see 326466 for the report).
2006-04-28 00:20:44 +00:00
mrbkap%gmail.com
20a7fa17fa
Make typeof (0, undef) throw a reference error. bug 333728, r=brendan
2006-04-27 23:49:51 +00:00
mrbkap%gmail.com
57dbf2fc1a
Finish checking in bug bug 331429 (r=brendan). I forgot to check this in.
2006-04-27 20:50:28 +00:00
brendan%mozilla.org
c46d4c1bf9
Awesome patch from Andreas <mqmq87@web.de> to avoid creating unnecessary objects for primitives being operated on via methods (334261, r=me).
2006-04-27 17:58:55 +00:00
igor%mir2.org
657b137b5b
Bug 325951: All keywords are JSVERSION_DEFAULT as we no longer support JS < 1.5. r=mrbkap
2006-04-27 08:04:40 +00:00
bclary%bclary.com
fa08b55dc7
JavaScript Test Library - obsolete version dependent tests, bug 325951
2006-04-27 07:29:36 +00:00
mrbkap%gmail.com
931c69c3ef
More nukage of private API usage.
2006-04-27 01:33:45 +00:00
brendan%mozilla.org
6bec916a05
Don't use private APIs, please.
2006-04-27 01:22:24 +00:00
brendan%mozilla.org
91a99f8a6f
js_MarkStackFrame prototype, for bug 326466 pre-patch that already landed.
2006-04-27 00:46:30 +00:00
brendan%mozilla.org
19075ba56d
Prep patch for iterators and generators (326466, r=mrbkap).
2006-04-27 00:39:43 +00:00
brendan%mozilla.org
cce35460d9
Foopy
2006-04-26 23:31:54 +00:00
brendan%mozilla.org
c7d2105370
Oops.
2006-04-26 22:34:00 +00:00
mrbkap%gmail.com
45aba15716
Protect against an overly-large length. Patch from brendan, bug 335535, r=mrbkap
2006-04-26 21:46:53 +00:00
mrbkap%gmail.com
5f946be0b1
Comments should match reality.
2006-04-26 21:44:27 +00:00
brendan%mozilla.org
d5cdd83399
Major simplification to jsconfig.h, dropping support for all ancient bug config and almost all pre-ECMA-Edition-3 feature config (325951, r=mrbkap).
2006-04-26 21:33:01 +00:00
bclary%bclary.com
ddfc9ad5b8
JavaScript Test Library - add support for selecting product during tests, no bug, not part of the build
2006-04-26 20:00:13 +00:00
mrbkap%gmail.com
95acf0af16
When a document's scope object changes (e.g., for a call to document.open), actually change the scope object and move all of the wrappers in the old scope into the new one. bug 333697, r+sr=jst
2006-04-26 19:53:27 +00:00
bclary%bclary.com
50061f37e5
JavaScript Test Library - apply with null this parameter passes the global object as this, bug 306591
2006-04-26 06:33:40 +00:00
bclary%bclary.com
67a9aa98d5
JavaScript Test Library - remove push, pop, shift, splice tests, bug 312385
2006-04-26 06:15:13 +00:00
brendan%mozilla.org
b96414c35a
Fix eager standard class init to control recursion through lazy paths, and re-enable the dreaded XXXMLM assertion in JS_InitClass (334834, r=mrbkap).
2006-04-25 21:00:36 +00:00
bclary%bclary.com
a30783a4d3
JavaScript Test Library - improve jsDriver.pl timeout handling (bug 335397, r=mrbkap)
2006-04-25 18:10:33 +00:00
mrbkap%gmail.com
100614cf8e
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.
2006-04-24 19:27:25 +00:00
bclary%bclary.com
bc4021622f
Regression test for bug 328012, by Jesse Ruderman
2006-04-24 01:02:43 +00:00
bclary%bclary.com
ad92b5cf57
Regression test for bug 334807, by Andreas
2006-04-24 00:47:59 +00:00
igor%mir2.org
598a21b715
Bug 324278: Set by default the stack limit quota to 500000 for js shell. r=brendan
2006-04-23 19:23:53 +00:00
igor%mir2.org
f31114e6b9
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
2006-04-23 14:45:10 +00:00
bclary%bclary.com
928f828fe5
Regression test for bug 333541, by Biju
2006-04-23 13:00:58 +00:00
bclary%bclary.com
622eca493c
Regression test for bug 334158, by Andreas
2006-04-23 12:20:05 +00:00
bclary%bclary.com
8d27c0edf2
Regression test for bug 331558, by Erik Fabert
2006-04-23 11:45:17 +00:00
bclary%bclary.com
ea0040e1d2
Regression test for bug 324278, by Igor Bukanov
2006-04-23 11:09:58 +00:00
bzbarsky%mit.edu
8af7850626
Fix leak. Bug 334898, patch by Ryan Flint <rflint@dslr.net>, r=mrbkap, sr=bzbarsky
2006-04-21 21:23:46 +00:00
brendan%mozilla.org
f1aaf4fbdb
Fix 334807 (r=mrbkap).
2006-04-21 11:08:18 +00:00
neil%parkwaycc.co.uk
e19e1fe971
--disable-xpcom-fastload breaks JS component loader b=334849 r=shaver sr=brendan
2006-04-21 09:46:00 +00:00
brendan%mozilla.org
63513d7214
Revert to comment out the XXXMLM mystery assert.
2006-04-21 07:47:06 +00:00
brendan%mozilla.org
e283d847bb
Remove non-standard and not-for-public-use With (304376 followup).
2006-04-21 07:14:29 +00:00
igor%mir2.org
2f3afe17f6
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
67accc47e0
Final (I hope) followup patch (304376, r=mrbkap).
2006-04-20 05:18:09 +00:00
brendan%mozilla.org
8ee255ef71
Fix brain-damaged code from last checkin (r=mrbkap).
2006-04-20 01:17:06 +00:00
brendan%mozilla.org
05d93ba6e5
Second half of fix for 304376 (r=mrbkap).
2006-04-19 23:36:16 +00:00
dbaron%dbaron.org
15c4c91ad3
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
6ecaf381aa
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
bbfb9a9071
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
c1c9c54772
JavaScript Test Library - tweak reporting to improve automated test comparisons, no bug
2006-04-19 03:03:12 +00:00
bclary%bclary.com
eda8bb2b68
JavaScript Test Library - Regression test for bug 330352
2006-04-19 02:58:42 +00:00
bclary%bclary.com
a09a3aec8c
JavaScript Test Library - Regression test for bug 319872, by Georgi Guninski
2006-04-19 02:56:29 +00:00
bclary%bclary.com
e2979a9e4d
JavaScript Test Library - Regression test for bug 316885, by Igor Bukanov
2006-04-19 02:53:38 +00:00
bclary%bclary.com
3ceddbcf85
JavaScript Test Library - Regression test for bug 315974, by Michael Daumling
2006-04-19 02:49:49 +00:00
bclary%bclary.com
6dba750e96
JavaScript Test Library - Regression test for bug 312385
2006-04-19 02:35:10 +00:00
brendan%mozilla.org
042ac3e7bf
Oops.
2006-04-19 00:57:03 +00:00
brendan%mozilla.org
e2e22feaa7
Memoize standard class.prototype bindings, per ECMA-262 (304376, r=mrbkap).
2006-04-19 00:22:43 +00:00
dbaron%dbaron.org
268a49156c
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
7cb994da37
Use the right object constructors. bug 334024, r=brendan
2006-04-18 18:12:53 +00:00
igor%mir2.org
ca30edd2de
Bug 331598: The tail recursion elimination in MarkGCThingChildren is simplified.r=brendan
2006-04-18 07:25:37 +00:00
bclary%bclary.com
978071332d
Remove regression test for bug 322177 since it is WONTFIX
2006-04-18 06:38:55 +00:00
brendan%mozilla.org
21481d6fea
Random trailing space search.
2006-04-18 04:41:24 +00:00
brendan%mozilla.org
4dee914be4
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
373e65cbc3
Fix use of uninitialized fp.
2006-04-18 01:34:38 +00:00
mrbkap%gmail.com
56fa1fede5
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
b079fe431d
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
220c6fed0f
Fix mismatched allocators. b=334162 r+sr=jst
2006-04-17 23:03:51 +00:00
brendan%mozilla.org
15cda8f1f1
Fix int constant precedent (333541, r=mrbkap).
2006-04-16 05:10:10 +00:00
brendan%mozilla.org
c8cb053a9f
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
82cf1531d4
-- 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
7a3390709c
Only avoid calling toObject when v is null. bug 333911, r=brendan
2006-04-14 18:14:43 +00:00
mrbkap%gmail.com
e9fcd71957
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
cff5103f8f
JavaScript Test Library - Regression test for bug 327534, by Jesse Ruderman
2006-04-11 18:36:46 +00:00
bclary%bclary.com
5d25fd4f6e
JavaScript Test Library - Regression test for bug 331664, by Brendan Eich
2006-04-11 18:29:29 +00:00
bclary%bclary.com
c313ad0fd0
JavaScript Test Library - Regression test for bug 332472, by Wladimir Palant
2006-04-11 18:18:11 +00:00
bclary%bclary.com
508e50c1cc
JavaScript Test Library - regression test for bug 328443, by Jesse Ruderman
2006-04-11 18:04:48 +00:00
bclary%bclary.com
a867c9b88a
JavaScript Test Library - Regression test for bug 330812, by Igor Bukanov
2006-04-11 17:53:02 +00:00
bclary%bclary.com
e137423256
JavaScript Test Library - Regression test for bug 328664, by Hermecz Vajk
2006-04-11 17:42:02 +00:00
bclary%bclary.com
8a3a92b99b
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
3820cfcf55
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
aa30098ef8
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
84fb6327de
Duh... (333398, r=mrbkap).
2006-04-10 05:35:12 +00:00
silver%warwickcompsoc.co.uk
9bdba482bb
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
d53e961d29
Update JS_GetImplementationVersion() date string (bug 67111, r=brendan)
2006-04-07 16:04:45 +00:00
bclary%bclary.com
28c344f8c1
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
70a2b8334f
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
db2ada867b
Fix uneval on E4X objects (327534, r=mrbkap).
2006-04-06 20:15:24 +00:00
gavin%gavinsharp.com
cea7c12a5f
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
56146d5a21
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
c1995c4db4
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
9cccff160a
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
ac49c790c1
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
timeless%mozdev.org
bc5d9b370e
Bug 332689 js.mak clean targets fail to clean up pch's
...
also fixes up a few glitches in the jskwgen work and makes make clean zap its generated file
the clean target for js now cleans fdlibm+jskwgen too
the clean target for jsshell now cleans js too
2006-04-04 15:50:15 +00:00
timeless%mozdev.org
6b7c070642
Bug 328479 Building the jsshell on VC++ 6 fails because jsautokw.h is missing
...
spidermonkey only fix for nmake. not part of any build that works since this hasn't worked in a long time.
2006-04-04 13:09:50 +00:00
mrbkap%gmail.com
83bb09e916
Backing out my changes from bug 326497 to fix tinderbox orange.
2006-04-03 21:18:41 +00:00
mrbkap%gmail.com
f4b1446ece
Don't ignore any errors returned by PostCreate. Also, don't override an exception if one is already reported, as the further away from the original problem we get, the less precise the error message will be. bug 326497, r=brendan sr=shaver
2006-04-03 18:10:38 +00:00
bclary%bclary.com
b3d8fe9935
bug 332562 - Fix buggy loop in shell.js, patch by Seno Aiko
2006-04-03 13:33:33 +00:00
bzbarsky%mit.edu
59f912e4ad
Create a powerless non-principal and start using it. Bug 326506, r=mrbkap,
...
sr=dveditz
2006-04-02 20:58:26 +00:00
brendan%mozilla.org
7babc76af5
Undepend regexp source string so error message formatted arg refs into it work (332472, r=mrbkap).
2006-04-02 19:07:49 +00:00
brendan%mozilla.org
efff5fd986
Fix double-destroy on js_SetLastIndex failure in js_NewRegExpObject (332415, r=mrbkap).
2006-04-01 00:00:38 +00:00
brendan%mozilla.org
f60f7d674d
Don't optimize special (eval and debugger) global frames (332199, r=mrbkap).
2006-03-31 01:32:19 +00:00
brendan%mozilla.org
c4c00f1048
Fix 331787 by atomizing declared function object early (r=mrbkap).
2006-03-31 01:27:23 +00:00
darin%meer.net
5521781301
fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron
2006-03-30 18:40:56 +00:00
bclary%bclary.com
a4192d6abc
Regression test for bug 329383. Fix bug number
2006-03-29 17:59:32 +00:00
bclary%bclary.com
17dd36d156
Regression test for bug 321547. Fix whitespace issue in expected toSource value
2006-03-29 17:45:25 +00:00
igor%mir2.org
70f8b1ba6a
Bug 331770: Extending JS_GCMETER to include average free list density and free list recycle/new allocation ratio.
2006-03-28 08:41:40 +00:00
dbaron%dbaron.org
5e1d105208
Root the new string across the call to js_NewObject, etc. b=331793 r=brendan
2006-03-27 23:45:56 +00:00
dbaron%dbaron.org
9dd3df4126
Root the result of js_NewXML across js_GetXMLObject. b=331786 r=brendan
2006-03-27 23:43:40 +00:00
brendan%mozilla.org
7bd6786245
MIPS little-endian porting fix from Ian Jackson and Thiemo Seufer, via Mike Hommey <mh@glandium.org> (331820, r=me).
2006-03-27 05:54:51 +00:00
brendan%mozilla.org
e7dcaba309
Home sp (and pc) before allocating call-outs (331719, r=mrbkap).
2006-03-26 03:50:34 +00:00
igor%mir2.org
703d1c3337
Bug 331456: Cache of deflated string bytes is per runtime now. To preserve
...
API compatibility JS_GetStringBytes(JSString *str) calls newly introduced
js_GetGCStringRuntime(JSString *str) to extract JSRuntime* instance based
on the layout of GC structures. r=brendan
2006-03-25 22:55:00 +00:00
brendan%mozilla.org
659937deae
Rooting fixes courtesy dbaron (331678, r=mrbkap).
2006-03-25 21:51:57 +00:00
igor%mir2.org
bc3cd89a74
Bug 331598: Cleanup/simplifications after landing of patch for recursion-free GC from bug 324278.
2006-03-25 20:21:31 +00:00
brendan%mozilla.org
00eb39402a
Fix silly null ptr deref (331664, r=mrbkap).
2006-03-25 19:24:44 +00:00
mrbkap%gmail.com
ea197f5e0b
Fix a silly typo decompiling the setting of the default xml namespace. bug 331558, patch by Erik Fabert <jerfa@email.it>, r=mrbkap
2006-03-24 18:32:11 +00:00
dbaron%dbaron.org
3bd90a7a87
Fix C++ comments that I introduced.
2006-03-24 08:32:09 +00:00
dbaron%dbaron.org
172a860286
Workaround brokenness of __builtin_frame_address(0) on gcc 4.1 (as shipped with FC5, at least). b=331436 r=brendan
2006-03-23 23:21:27 +00:00
brendan%mozilla.org
30d2f0307a
Missing OBJECT_TO_JSVAL to fix warning introduced by last checkin.
2006-03-23 21:02:43 +00:00
igor%mir2.org
4b4cc4665f
Bug 330692: GC_MARK_DEBUG-only arguments are removed when GC_MARK_DEBUG is not defined. r=brendan
2006-03-23 11:50:30 +00:00
mrbkap%gmail.com
9ee66b6f05
Don't add unnecessary quotes to the rhs of the descendant operator. bug 321547, r=brendan
2006-03-23 05:36:20 +00:00
mrbkap%gmail.com
c61bd6af26
Continue to create an exception even when we're unable to convert a function passed as an argument to a string. This fixes some cases where an exception would become uncatchable. bug 328443, r=brendan
2006-03-23 05:16:39 +00:00
mrbkap%gmail.com
b280e88825
Root the new function across XDR operations to make sure it doesn't get garbage collected. bug 327708, r=brendan
2006-03-23 05:12:27 +00:00
mrbkap%gmail.com
004d9520d6
Protect against scripts setting __proto__ to null. bug 317250, hopeful-r=brendan
2006-03-23 02:24:45 +00:00
mrbkap%gmail.com
1c51b97da1
Create the PropertyIterator object with a default parent so that when we attempt to find the PropertyIterator constructor, we look up the default scope chain and not one that we might not have access to. bug 328012, r=brendan
2006-03-23 01:25:21 +00:00
mrbkap%gmail.com
d7659e4716
Always innerize the variables object to ensure that random properties don't get stuck on the outer object. bug 317250, r=brendan
2006-03-22 21:44:31 +00:00
igor%mir2.org
c498b278ce
Bug 324278: Implementation of GC marking algorithm that uses constant space for
...
any kind of GC things. r=brendan
The main idea is to put a GC thing to a special "unscanned bag" instead of recursively calling GC_MARK on thing's children when C stack is slow. Then later the code loops through the bag marking the children until the bag is empty.
The unscanned bag is implemented as a linked list of GC arenas where things that belongs to the bug marked with GCF_MARK|GCF_FINAL combination. To avoid long scanning of arenas on the list, the code uses a bitmask per arena to indicate which pages within the arena contains unscanned things and an extra bitmask per page to indicate offset range withing the page of the unscanned things.
2006-03-22 15:38:43 +00:00
mrbkap%gmail.com
560d395290
I didn't mean to check this in.
2006-03-22 07:29:49 +00:00
mrbkap%gmail.com
b3bb519d0d
Used standard IO functions in snarf so that things work equally well on Linux and Windows. No bug, patch by Brendan, r=mrbkap
2006-03-22 07:26:31 +00:00
mrbkap%gmail.com
a7a0806c2a
Fixing some silliness from my last checkin, tokenstr takes a tokentype, not the token itself. r=brendan
2006-03-22 06:23:59 +00:00
mrbkap%gmail.com
3acf1716d9
Handle assignment inside the then part of ternary expressions correctly according to the ECMAScript grammar. bug 330975, r=brendan
2006-03-22 03:00:03 +00:00
brendan%mozilla.org
9d7e216a54
More Windows warning fixes.
2006-03-22 01:39:40 +00:00
brendan%mozilla.org
b165c781ed
Warning fix for MSVC.
2006-03-22 01:37:27 +00:00
cls%seawood.org
794fcda280
Fix mingw cross-compile bustage.
...
Bug #322578 r=mark sr=bsmedberg
2006-03-21 03:04:54 +00:00
mrbkap%gmail.com
cf49675a47
Don't forget to throw syntax errors for missing parentheses or brackets. bug 331127, r=brendan
2006-03-20 20:57:51 +00:00
mrbkap%gmail.com
4edd0845fc
Don't pollute String.prototype. bug 330976, r=brendan
2006-03-20 20:15:15 +00:00