Commit Graph

7673 Commits

Author SHA1 Message Date
mrbkap%gmail.com
0fa46c65df 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
70f1347e9f Add integer overflow checking (338001, r=mrbkap). 2006-05-16 09:22:55 +00:00
szegedia%freemail.hu
71505e0715 Fix for #326563: documentation clarification 2006-05-13 11:23:00 +00:00
szegedia%freemail.hu
2a4ca757b6 Fix for 318305: ScriptOrFnNode class reports bad end line number 2006-05-12 12:43:46 +00:00
igor%mir2.org
278c093be5 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
9c172158d2 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
c8f43f6564 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
e7695293dd 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
0318b8c707 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
ccc85b3ed6 iteration protocol + simple generators (after PEP-255), v6 (326466). 2006-05-10 01:50:12 +00:00
mrbkap%gmail.com
f50ceb399b 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
c8ed6c412d 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
dc82ea8c0e Bug 336376: I reverted the commit as the tree is closed! 2006-05-09 03:01:30 +00:00
igor%mir2.org
544353a33f 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
a59ec892da Adding XML to the optional excluded name 2006-05-07 12:51:44 +00:00
timeless%mozdev.org
7c907ec27a Bug 331023 Cleanup of IDL files; fixing type inconsistencies
r=rginda sr=bz
2006-05-07 01:31:33 +00:00
timeless%mozdev.org
36a8d6a84e 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
3d2bf4ae10 Bug 334194 XPC_WN_Helper_Mark returns unitialized value
r=jst sr=jst
2006-05-06 22:34:46 +00:00
timeless%mozdev.org
ce1d6f5c30 Bug 334204 XPCConvert::JSValToXPCException is too cautious
r=mrbkap sr=jst
2006-05-06 22:26:39 +00:00
cbiesinger%web.de
51a89a8b1e 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
58b2813057 JavaScript Test Library - fix UTF8 detection by Michael Daumling, bug 232182 2006-05-06 04:15:06 +00:00
mrbkap%gmail.com
e8c803bd1e Expand the checks to more cases. bug 336601, r+a181=brendan a=dveditz 2006-05-05 23:29:37 +00:00
mrbkap%gmail.com
9fa33e3770 Expand the checks to more cases. bug 336601, r+a181=brendan a=dveditz 2006-05-05 23:17:22 +00:00
mrbkap%gmail.com
00f677e640 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
d807f17350 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
a0b076d854 Keep cached class objects coherent with global properties mapping same (336054, r=shaver). 2006-05-02 05:50:28 +00:00
mrbkap%gmail.com
27b5f3a944 Tab patrol 2006-05-02 00:20:31 +00:00
brendan%mozilla.org
538e9fb7b0 Tab and style policing. 2006-05-01 22:25:19 +00:00
mrbkap%gmail.com
fc083d22f5 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
3df5f58ee9 Fix recently introduced reference leak. b=335785 r=mrbkap sr=jst 2006-04-29 00:23:45 +00:00
brendan%mozilla.org
07e73ba791 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
ec58ef8486 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
1e7cde7835 Make typeof (0, undef) throw a reference error. bug 333728, r=brendan 2006-04-27 23:49:51 +00:00
mrbkap%gmail.com
f952f6ded0 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
2e05c97889 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
3f2ce53374 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
bb57d1b736 JavaScript Test Library - obsolete version dependent tests, bug 325951 2006-04-27 07:29:36 +00:00
mrbkap%gmail.com
07ab557f71 More nukage of private API usage. 2006-04-27 01:33:45 +00:00
brendan%mozilla.org
4e8f899939 Don't use private APIs, please. 2006-04-27 01:22:24 +00:00
brendan%mozilla.org
c0cd5cc0b5 js_MarkStackFrame prototype, for bug 326466 pre-patch that already landed. 2006-04-27 00:46:30 +00:00
brendan%mozilla.org
0667cc1d4c Prep patch for iterators and generators (326466, r=mrbkap). 2006-04-27 00:39:43 +00:00
brendan%mozilla.org
3595b88dc7 Foopy 2006-04-26 23:31:54 +00:00
brendan%mozilla.org
45adb0b200 Oops. 2006-04-26 22:34:00 +00:00
mrbkap%gmail.com
0cf9f4ba99 Protect against an overly-large length. Patch from brendan, bug 335535, r=mrbkap 2006-04-26 21:46:53 +00:00
mrbkap%gmail.com
05a259f259 Comments should match reality. 2006-04-26 21:44:27 +00:00
brendan%mozilla.org
916f80bcda 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
1dc3e25c92 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
fcb69da993 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
75f2a4882b 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
1f1d7e8dfa JavaScript Test Library - remove push, pop, shift, splice tests, bug 312385 2006-04-26 06:15:13 +00:00