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

26144 Коммитов

Автор SHA1 Сообщение Дата
Brian Hackett 141d85d850 Only inline construction of 'this' for 'new' on singleton functions, bug 706110. r=billm 2011-11-29 13:26:37 -08:00
Chris Leary d6eecb8cad Bug 691797: Optimize RegExp.prototype.test with leading .*, take 2. (r=mrbkap,luke)
--HG--
extra : rebase_source : 49c190dc6dec6ab2a05fbbd1479135082a053690
2011-11-28 13:35:12 -08:00
Boris Zbarsky 1e74e69eff Bug 705280 - (2/2) Custom quickstub nsIDOMHTMLDocument.head and change nsIDOMHTMLDocument.body custom quickstub. r=mrbkap 2011-11-29 17:32:31 +01:00
Mounir Lamouri 654799ac3b Bug 705280 - (1/2) Quickstub nsIDOMHTMLDocument.head. r=mrbkap 2011-11-29 17:30:13 +01:00
Ryan VanderMeulen 40189a8a55 Bug 517298 - Re-enable tests that had been skipped previously. r=bclary 2011-11-29 17:22:13 +01:00
Chris Leary b6131b304e Back out 9541ced017f7 -- performance didn't improve as expected. 2011-11-28 17:23:02 -08:00
David Mandelin 9e66b92727 Bug 684922 followup: fix test metadata to expect error
--HG--
extra : rebase_source : b9deb96721dc65822968fec49273010367f0e2ff
2011-11-28 16:59:05 -08:00
Alon Zakai 1703c62416 Bug 705508 - Add printErr to JS console. r=cdleary 2011-11-28 16:49:34 -08:00
Ryan VanderMeulen 13f1ad255a Bug 705401 - Remove the rest of TraceVis. r=dvander 2011-11-28 16:08:25 -08:00
David Mandelin 8997b6070f Bug 684922: avoid infinite recursion through GetCustomIterator, r=luke 2011-11-28 15:20:15 -08:00
Ryan VanderMeulen 108072317c Bug 524732 - Re-enable tests that had been skipped previously. r=bclary 2011-11-28 14:57:31 -08:00
Ryan VanderMeulen c8b2d72d22 Bug 705356 - Remove JSOPTION_JIT and JSOPTION_PROFILING. r=dvander 2011-11-28 14:57:31 -08:00
Chris Leary e147dbc2f9 Bug 691797: Optimize RegExp.prototype.test with leading .* (r=mrbkap)
--HG--
extra : rebase_source : 83c8bf66164a4f6f5895beeeb857179de280c241
2011-11-28 13:35:12 -08:00
Terrence Cole b08432d55e Bug 699279 - Run GC_SHRINK collection cycle when under memory pressure; r=mrbkap
GC_SHRINK is a fairly new type of GC that does more aggressive cleanups than a
normal GC.  This patch makes the browser run the GC in this mode when under
memory pressure, or when the user pushes the Minimize Memory Usage button when
on the about:memory page.

--HG--
extra : rebase_source : abdd11ee5fa5eb0e3d58122d3d72e98328d47668
2011-11-09 18:14:11 -08:00
Rafael Ávila de Espíndola 3c3fda4257 Bug 705466 - Use MOZ_CHECK_HEADERS to check for cpuid.h. r=ted.
--HG--
extra : rebase_source : ecd108d166017cbd64c5be459a76cb2522723dfb
2011-11-28 15:32:32 -05:00
Brendan Eich ef360d317a Bug 685321: detect closed-over variables conservatively, r=jorendorff 2011-11-28 11:57:10 -08:00
Jeff Walden 36cd29d5e9 Bug 701973 - Make callers pass the type of function body being parsed to Parser::functionBody, rather than inferring it from the current token. r=jorendorff
--HG--
extra : rebase_source : 6fe4c4dc4bcb0b7b44383da995934f2ff2383046
2011-11-12 01:38:24 -08:00
Jeff Walden 9c6f49aac4 Bug 701973 - Make js::Parser::variables not depend on the current token, and extract TOK_CONST from TOK_VAR. r=jorendorff
--HG--
extra : rebase_source : f6825ae9b1780fd1ecb2bc7831e14639abaeb735
2011-11-11 19:23:25 -08:00
Jeff Walden a283315bdd Bug 701620 - Split up PNK_LC into PNK_STATEMENTLIST and PNK_XMLCURLYEXPR. r=jorendorff
--HG--
extra : rebase_source : 4d781725639c6c94da53fd33fcfcedf221634a35
2011-11-11 18:05:43 -08:00
Jeff Walden d3b28d1e2a Bug 701620 - Rename PNK_DO to PNK_DOWHILE to make the meaning clearer. r=jorendorff
--HG--
extra : rebase_source : c3320c052e937a7700ed8c1dd2259c9c4b6f0b03
2011-11-06 07:51:39 -08:00
Jeff Walden 9abeb4d47b Bug 701620 - Split parse nodes for the parenthesized heads of for loops into PNK_FORHEAD (for(;;) loops) and PNK_FORIN (for(var _ in _) loops) kinds. r=jorendorff
--HG--
extra : rebase_source : d98eeba2b14581aae589fd6e3eb12ba4220c1670
2011-11-05 12:43:39 -07:00
Jeff Walden 1f0255090e Bug 701620 - Use two different kinds for the + operator when used in unary and binary expressions, likewise for -. r=jorendorff
--HG--
extra : rebase_source : ae4b6490a658893b51a069ac40151ca63fff0055
2011-11-05 12:20:22 -07:00
Jeff Walden 04598ac634 Bug 701620 - Split default parse nodes into PNK_DEFAULT into PNK_DEFAULT (for default cases in switches) and PNK_DEFXMLNS (for those other uses). r=jorendorff
--HG--
extra : rebase_source : 795141b3c10ccc731a8690a1c91df6db441ed46c
2011-11-05 12:10:33 -07:00
Nicholas Nethercote 6c6258e659 Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz. 2011-11-27 19:03:14 -08:00
Mounir Lamouri 9ea9755eee Backout 2040980c0792 (bug 705280) to investigate perf regression on dromaeo v8 deltablue. 2011-11-27 16:59:10 +01:00
Rafael Ávila de Espíndola 982a02da7f Bug 705461 - Use MOZ_CHECK_HEADER(S) everywhere. r=neil. 2011-11-26 16:05:17 -05:00
Andrew Paprocki f6f8772aed Bug 620452 - Always define sharpnum to prevent compiler error when JS_HAS_SHARP_VARS is undefined. r=mrbkap 2011-11-21 21:54:35 -05:00
Tom Schuster 62bb78ca2e Bug 647628 - Remove SKIP_POP_AFTER_SET. r=bhackett
--HG--
extra : rebase_source : 1332f0176be3db638d112392b5265a12eeee5ec2
2011-11-26 18:52:27 +01:00
Tom Schuster 748b8ffd30 Bug 554691 - Remove dead js_RegisterCloseableIterator definiton from header file. r=Ms2ger
--HG--
extra : rebase_source : b8b5fe8b03ded91b37560d045d4fe5d2da7f7925
2011-11-26 18:51:06 +01:00
Marco Bonardo 9e88576a2d Merge mozilla-central to mozilla-inbound 2011-11-26 14:29:05 +01:00
Ms2ger 69f89f1bf7 Bug 705320 - Use IDL for xpcIJSWeakReference.get; r=bholley 2011-11-26 11:32:03 +01:00
Ms2ger 82e462084f Bug 701467 - Remove JS_TRUE/JS_FALSE from xpconnect; r=bholley 2011-11-26 11:05:59 +01:00
Bobby Holley c972e11505 Bug 692342 - Get rid of the large and unnecessary table-driven reflectability detector. r=mrbkap
The XPIDL machinery should never output an invalid configuration here, so all this checking is unnecessary. The only thing we have to watch out for is native types, which all get shoehorned into T_VOID. So let's make this a simple check.
2011-11-25 17:09:07 -08:00
Bobby Holley bd60d3bec1 Bug 692342 - Assert !IsArithmetic() rather than IsPointer(). r=mrbkap
JSval is the only different between the two, and we handle that above.
2011-11-25 17:09:07 -08:00
Bobby Holley e50c94594b Bug 692342 - Coalesce cleanup flagging even further. r=mrbkap
This eliminates another pesky use of IsPointer().
2011-11-25 17:09:07 -08:00
Bobby Holley e651e33635 Bug 692342 - Assert against arrays of jsvals, since we don't handle them. r=mrbkap 2011-11-25 17:09:07 -08:00
Bobby Holley 913bef7142 Bug 692342 - Coalesce cleanup flagging within ConvertDependentParam. r=mrbkap
The only change in functionality here is that we flag for cleanup on 'inout' sized strings in addition to 'in' sized strings. I'm pretty sure we want that.
2011-11-25 17:09:07 -08:00
Bobby Holley cfa9352217 Bug 692342 - Move some things below Do datum_type resolution in ConvertDependentParam. r=mrbkap 2011-11-25 17:09:07 -08:00
Bobby Holley 1c570b90b8 Bug 692342 - Reorder in/out/inout handling in XPCWrappedNative parameter conversion. r=mrbkap
Apologies for the copy paste here. Fixing that will require some more serious re-architecting.
2011-11-25 17:09:07 -08:00
Bobby Holley 143f47b2ce Bug 692342 - Move a call to SetValNeedsCleanup() to an equivalent location. r=mrbkap 2011-11-25 17:09:07 -08:00
Bobby Holley 5a68ab0b1a Bug 692342 - Remove check for !IsInterfacePointer(), given the code a few lines above. r=mrbkap 2011-11-25 17:09:07 -08:00
Bobby Holley 2af6e983bc Bug 692342 - Reindentation from previous patch (no other changes). r=mrbkap 2011-11-25 17:09:07 -08:00
Bobby Holley 389702f322 Bug 692342 - Create a ConvertDependentParam(i) method to match ConvertIndependentParam(i) (modulo reindentation). r=mrbkap 2011-11-25 17:09:07 -08:00
Bobby Holley 20149b3bf7 Bug 692342 - Simplify cleanup code in ConvertIndependentParameter(). r=mrbkap
We're not dealing with dependent parameters here. So as far as I can tell, the only behavior change that this introduces is that we flag for cleanup on T_WCHAR_STR in addition to T_CHAR_STR. This seems like something we probably want.
2011-11-25 17:09:07 -08:00
Bobby Holley c93cd8301e Bug 692342 - Introduce deprecated_IsPointer() to handle the cases that are too mucky to figure out right now. r=mrbkap 2011-11-25 17:09:06 -08:00
Bobby Holley d3ba9f6532 Bug 692342 - Remove the obviously superfluous uses of IsPointer(). r=mrbkap
These are the easy cases, which all fall into one or more of the following categories:
* A check-and-throw, followed by a switch whose default case also throws
* A check of IsPointer() &&-ed with or tightly enclosing a check that implies IsPointer()
* A check of something clearly enforced by the XPIDL compiler
2011-11-25 17:09:06 -08:00
Bobby Holley 356768725f Bug 692342 - Remove use of IsReference() within XPConnect. r=mrbkap
All we're doing is checking that various types aren't flagged as reference. But xpidl makes sure this doesn't happen, so we should just trust it instead.
2011-11-25 17:09:06 -08:00
Mounir Lamouri 1b8da3c31c Bug 705280 - Quickstub nsIDOMHTMLDocument.*. r=mrbkap
Currently not all methods of nsIDOMHTMLDocument were quickstubbed which means
some methods like document.head were excessivly slow (see bug report).
2011-11-26 01:24:08 +01:00
Makoto Kato e999cc59bc Bug 655658 - NetUtil.readInputStreamToString should have aCharset argument as optional. r=sdwilsh, sr=bz 2011-11-25 11:23:41 +09:00
Tom Schuster 47118512ce Bug 602212 - Use error message from js.msg when CSP blocks a call to eval r=jorendorff 2011-11-24 19:39:02 +01:00