bryner%brianryner.com
f5257db823
Clean up unneeded REQUIRES (bug 73353). r+sr=dbaron.
2005-02-03 23:01:54 +00:00
brendan%mozilla.org
b9fc239625
Update JSNewResolveOp's comment to talk about the new JSRESOLVE_ flags.
2005-02-03 22:25:10 +00:00
gerv%gerv.net
dabddf2034
Bug 236613: change to MPL/LGPL/GPL tri-license. This checkin does not actually change any licenses, but makes indentation and comment-formatting fixes so that the relicensing script is able to parse all the license blocks in the js/ directory. Once the smoke has cleared, I'll do the second step.
2005-02-02 23:52:03 +00:00
darin%meer.net
ec8b7d8f85
applying shaver's review nit for bug 235499
2005-02-02 22:22:45 +00:00
darin%meer.net
c9632fecf5
landing xpconnect patch for bug 235499 "re-enable string buffer sharing between C++ and JS in xpconnect" r=shaver sr=jst
2005-02-02 22:20:28 +00:00
brendan%mozilla.org
bfd333af3f
Fix GC_MARK_DEBUG-#ifdef'd code for E4X (timeless private bug).
2005-02-01 02:35:31 +00:00
brendan%mozilla.org
6cf3e9a4ec
Improve GC_MARK_DEBUG strings a bit, tweak a comment.
2005-02-01 00:54:34 +00:00
brendan%mozilla.org
c7eaba5a0a
Pass origobj, not obj, to OBJ_GET_PROPERTY for for-each-in on non-XML objects (bug reported by Martin Honnen, diagnosis by jband).
2005-01-31 07:19:07 +00:00
brendan%mozilla.org
9ae86dc9bc
Fix js_LineNumberToPC to cope with code reordering, especially in JSOP_CONDSWITCH (1113352, r=shaver).
2005-01-29 18:31:46 +00:00
dbaron%dbaron.org
13ad340e6a
Convert CR-LF and CR linebreaks to LF.
2005-01-28 20:01:46 +00:00
brendan%mozilla.org
72fd33f7f7
Toggle JSOPTION_COMPILE_N_GO around compilation in JS_EvaluateUCInStackFrame (280086, r=shaver).
2005-01-28 18:14:05 +00:00
brendan%mozilla.org
e8a73cb887
s/DEBUG_brendan/DEBUG_notme/g
2005-01-25 19:39:45 +00:00
brendan%mozilla.org
b0ace36743
Fix old bug in JSOP_CONDSWITCH codegen (278873, r=shaver).
2005-01-25 19:34:37 +00:00
brendan%mozilla.org
fe6b4edf3e
Followup to fix for 123668, to handle newborns and mark small object slots before checking for stack-quota-exceeded (Deutsch-Schorr-Waite).
2005-01-25 09:02:22 +00:00
brendan%mozilla.org
e6e76123d4
Fix js_GetArgsObject to skip debugger/eval frames (162392, r=shaver).
2005-01-25 05:56:37 +00:00
brendan%mozilla.org
485450f512
Add getpda shell function for debugging.
2005-01-25 03:22:16 +00:00
brendan%mozilla.org
fad77d58a6
Fix GC hole in JSOP_NAMEDFUNOBJ found by tellme.com folks (279636, r=jband).
2005-01-25 02:22:25 +00:00
brendan%mozilla.org
c15a134cdd
Back up one token after skipping a now-tokenized (now as of E4X) comment (279483, r=shaver).
2005-01-24 00:02:59 +00:00
brendan%mozilla.org
598a3544b0
Fix XMLToXMLString to cope with a tag name in a default namespace that is not the declared default namespace for the tag (277779, r=shaver).
2005-01-20 01:02:49 +00:00
brendan%mozilla.org
22297bb5b0
Disallow PIs with target name 'xml' (277683, r=shaver).
2005-01-20 00:56:34 +00:00
brendan%mozilla.org
8e5f3c26bb
Enforce Unique Att Spec for XML in JS (277664, r=shaver).
2005-01-20 00:50:59 +00:00
brendan%mozilla.org
7579b86c27
Allow xml:lang and other xml namespace ids (277650, r=shaver).
2005-01-20 00:46:17 +00:00
brendan%mozilla.org
4134210595
Remove bogus assert in MarkGCThing, fix order of operation in js_NewObject to avoid losing the newborn root (278725, r=shaver).
2005-01-19 02:25:40 +00:00
brendan%mozilla.org
496ad03465
Patch from Erik Fabert <jerfa@yahoo.com> to fix splice/concat/slice number-of-formals 'length' property values (274035, r=me).
2005-01-15 04:34:39 +00:00
jst%mozilla.jstenback.com
1dac01dd1c
s/JS_FALSE/NULL/ in return value in JSParseNode* method. sr=me
2005-01-12 19:59:54 +00:00
jst%mozilla.jstenback.com
24525db32d
Fixing bug 265174. Quiet down compiler warnings on Linux x86_64. r+sr=brendan@mozilla.org
2005-01-12 19:56:32 +00:00
timeless%mozdev.org
53083ce68a
Bug 277887 r:\mozilla\js\src\liveconnect\jsj_JavaClass.c(549) : warning C4113: 'JSBool (__cdecl *)(JSContext *,JSObject *,jsid,JSObject ** ,JSProperty ** ,const char *,uintN)' differs in parameter lists from 'JSLookupPropOp'
...
fallout from bug 246441
r=brendan
2005-01-12 19:21:11 +00:00
timeless%mozdev.org
34eceab05c
Bug 277741 bad copy/paste of NS_ASSERT_OWNINGTHREAD(_class)
...
r=dbradley sr=dbaron
2005-01-12 19:20:01 +00:00
brendan%mozilla.org
7f453727e7
Make reserved identifiers a strict warning, not an error (240317, r=shaver).
2005-01-12 05:18:17 +00:00
brendan%mozilla.org
8fa7ab7b9a
Unregress default exception reporting (276061, r=shaver, a=asa).
2005-01-07 03:35:36 +00:00
brendan%mozilla.org
c64caec7ca
Revamp the GC to fix E4X private data dueling GC bugs, to reduce malloc costs for small-ish objects and functions, and to pave the way for further GC wins (123668, r=shaver, TAKE 2).
2005-01-05 06:15:03 +00:00
brendan%mozilla.org
6493d88e8f
Always call the standard input 'typein', as xpcshell does, in error reports.
2005-01-05 04:29:35 +00:00
brendan%mozilla.org
8d4a4248c6
Back out, broke liveconnect at least.
2005-01-05 03:58:19 +00:00
brendan%mozilla.org
dfa549dae8
Revamp the GC to fix E4X private data dueling GC bugs, to reduce malloc costs for small-ish objects and functions, and to pave the way for further GC wins (123668, r=shaver).
2005-01-05 02:56:36 +00:00
brendan%mozilla.org
9847e10def
Fix old GC hazards that bite venkman (277069, r=self).
2005-01-05 00:45:21 +00:00
brendan%mozilla.org
fb5da0e83a
Checking in shaver's patch for bug 275742: E4X for JS components, r=me.
2005-01-04 23:56:56 +00:00
cbiesinger%web.de
abb58376dc
Bug 276807 add DumpJSValue helper function for debugging
...
r=dbradley sr=brendan
2005-01-04 22:15:09 +00:00
brendan%mozilla.org
99b2145a5b
Fix a bogus assertion and related bogus code that bit dmose (246441).
2005-01-03 23:57:56 +00:00
brendan%mozilla.org
567b9809cf
- Fix GetNamespace to conform to the NOTE in ECMA-357 13.3.5.4 Step 4(a).
...
- Fix XMLToXMLString bug where ancdecls was not updated with a weak ref append
when a namespace strong ref was appended to decls. In ECMA-357, ancdecls is
written out as (AncestorNamespaces U namespaceDeclarations), but here where
ancestorNSes and decls are unioned early into ancdecls, we need to update
the unioned set whenever decls is updated.
- Fix ECMA-357 glitch (suboptimal, arguably not an erratum) in ToXMLString
where XML that uses the default namespace only is converted via toXMLString
into a string serialization that redeclares that namespace using generated
prefixes, for every node in the tree. This is verbose, inefficient, and
unnecessary. A trivial tweak to 10.2.1 Step 12(a), to let namespace.prefix
be the empty string if x.[[Name]].[[Prefix]] is undefined, fixes the bug.
- Const-ipate JSXMLArray * parameters starting with XMLToXMLString's, to be
sure no one appends a strong ref to a weak-ref-holding |in| parameter.
2005-01-01 17:27:41 +00:00
gerv%gerv.net
213fc7b2cb
Bug 236613: change to MPL/LGPL/GPL tri-license.
2005-01-01 16:48:30 +00:00
brendan%mozilla.org
163459976a
Fix bogus assertion.
2005-01-01 05:45:55 +00:00
brendan%mozilla.org
60790d3cc4
Preserve TCF_HAS_DEFXMLNS out of FunctionBody; don't turn comments and cdata into text when folding; disable JSOP_XMLOBJECT optimization for now (246441).
2004-12-31 09:00:41 +00:00
brendan%mozilla.org
9c87b7a9f3
Cope with > 65535 local root stack items (246441 fallout).
2004-12-31 08:39:04 +00:00
brendan%mozilla.org
9d65d96693
Refine last checkin's change to GetNamespace in light of Erratum (246441).
2004-12-31 08:30:01 +00:00
brendan%mozilla.org
3689e20dbc
Default namespace and off-by-1 GeneratePrefix fixes (246441).
2004-12-31 05:27:50 +00:00
brendan%mozilla.org
eb522c02c4
Propagate TCF_HAS_DEFXMLNS from parser to constant folder; call js_Mark from xml_mark (246441, r=shaver).
2004-12-30 17:44:41 +00:00
brendan%mozilla.org
11d67f295a
Add JS_GetMethod to the JS API, to cope with E4X's breaking the var f=o.m;f.apply(o,arguments)===o.m() invariant; qualify bogus assert in jsemit.c to make it righteous; use JS_GetMethod from nsXPCWrappedJSClass::CallMethod (246441, r=me).
2004-12-29 03:34:26 +00:00
brendan%mozilla.org
58811dad1f
Fix old tagify (html string helper) dependent string bug (276103, r=shaver).
2004-12-28 17:08:32 +00:00
brendan%mozilla.org
21833cf595
Turned back on HTML helpers, they are implemented by other browsers, and people use them (276030, r=self).
2004-12-28 16:43:51 +00:00
brendan%mozilla.org
6439d93504
Propagate a flag induced by JSOPTION_XML into script and context version fields, for proper run- and compile-time consistency (275742, r=shaver).
2004-12-24 00:03:59 +00:00