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

7725 Коммитов

Автор SHA1 Сообщение Дата
brendan%mozilla.org 7887f04726 Beef up sanity checking (338121, r=mrbkap). 2006-05-18 17:12:14 +00:00
szegedia%freemail.hu dc6c135b58 Implementing Serializable so that continuations captured within a "with" block can be serialized. 2006-05-17 08:23:14 +00:00
mrbkap%gmail.com 18ff220579 Avoid going through js_LookupProperty for well-known access checks (in particular, __parent__ and __proto__) both for perf wins and to make sure that we check the value that we're asking for. bug 336875, r=brendan 2006-05-16 14:47:28 +00:00
brendan%mozilla.org a0ccaf6b0e Add integer overflow checking (338001, r=mrbkap). 2006-05-16 09:22:55 +00:00
szegedia%freemail.hu 99bd880c3a Fix for #326563: documentation clarification 2006-05-13 11:23:00 +00:00
szegedia%freemail.hu be0323a77e Fix for 318305: ScriptOrFnNode class reports bad end line number 2006-05-12 12:43:46 +00:00
igor%mir2.org 5292695a2a Bug 312238: Move GC arena initialization/cleanup code to NewGCArena/ DestroyGCArena to simplify js_NewGCThing/js_GC. r=brendan r=feng.qian.moz 2006-05-12 08:21:44 +00:00
igor%mir2.org a0ecd86db5 Bug 337407: Make sure that js_NewGCThing initializes the flag byte even after js_PushLocalRoot failure. r=brendan 2006-05-11 22:48:51 +00:00
timeless%mozdev.org d08aca2161 Bug 335315 Null pointer dereference in [@ _newJSDContext]
patch by rflint@dslr.net r=rginda sr=brendan
2006-05-11 13:19:45 +00:00
mrbkap%gmail.com 4192df9b36 Temporarily backing this change out to fix bug 336100, r=brendan approval for the closed-tree checkin from bz 2006-05-11 02:43:38 +00:00
darin%meer.net 7d3e7d7acd landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb 2006-05-10 17:30:15 +00:00
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