Commit Graph

351 Commits

Author SHA1 Message Date
Jeff Walden
5c9e1f7627 Back out 2fe1b4d570df for obvious browser-build bustage, less-obvious shell build bustage. r=ಠ_ಠ 2012-06-20 15:49:56 -07:00
Jeff Walden
760274ab4b Bug 765990 - Never use Rooted<T> as a temporary, so that the Rooted->Handle conversion path occurs in only one manner, not two (ambiguous) manners. r=luke 2012-06-14 19:13:27 -07:00
Ryan VanderMeulen
4c71ae6d9a Revert c39d36167b99 due to a horribly munged backout. 2012-06-10 19:44:50 -04:00
Ryan VanderMeulen
202bd53a55 Backout the bug 754202 backout due to orange. 2012-06-10 19:37:47 -04:00
17e07fb5d9 Bug 738511 - new Date(value) should call ToPrimitive on value before testing for string-ness. r=jwalden 2012-06-07 16:27:03 -07:00
Jeff Walden
bc75bbaa6e Bug 761457 - Change the signature of NonGenericMethodGuard to be more idiomatic and less confusing. r=luke 2012-06-01 23:39:09 -07:00
Brian Hackett
662da160da Rename RootedVar to Rooted, bug 756823. r=billm 2012-05-24 16:05:18 -07:00
Gervase Markham
cb6a072c2a Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Brian Hackett
b4c002a912 Use handles in API object hooks where possible, bug 750733. r=billm 2012-05-19 15:03:45 -07:00
Tom Schuster
5d91112a9a Bug 673499 - remove some trailing whitespace from js/src. r=jorendorff 2012-05-19 21:56:17 +02:00
Brian Hackett
4f8baecc9e Backed out changeset 5fc7462dd394 for android orange. 2012-05-19 11:52:55 -07:00
Brian Hackett
b7d2500332 Use handles in API object hooks where possible, bug 750733. r=billm 2012-05-19 09:48:09 -07:00
Brian Hackett
33a75298e8 Disallow non-canonical jsids, bug 751331. r=luke 2012-05-06 13:45:19 -07:00
Brian Hackett
09f807c5af Get rooting analysis to pass jit-tests in the interpreter, bug 745742. r=billm 2012-04-30 17:10:30 -07:00
Jeff Walden
0b0b3b1440 Bug 747197 - Rename TIMECLIP to TimeClip to match the spec spelling (also as it's no longer a macro). r=luke 2012-04-19 16:22:08 -07:00
Jeff Walden
fc9265ddc3 Bug 747197 - Move basic numeric conversion operations (double->uint32_t, double->int32_t, double->integer, but not Value->* just yet) into vm/NumericConversions.h, a header with minimized dependencies. r=luke 2012-04-19 16:18:24 -07:00
Ed Morley
3bf9774997 Backout afab1aaf6704 & 0405d42629fd (bug 747197), 0379525bbdca (bug 746262), 91b9cba098f8 (bug 745944), 8535dc5b590a (bug 741040) for win debug bustage 2012-04-25 09:54:34 +01:00
Jeff Walden
b68a41dbf4 Bug 747197 - Rename TIMECLIP to TimeClip to match the spec spelling (also as it's no longer a macro). r=luke 2012-04-19 16:22:08 -07:00
Jeff Walden
20a3891322 Bug 747197 - Move basic numeric conversion operations (double->uint32_t, double->int32_t, double->integer, but not Value->* just yet) into vm/NumericConversions.h, a header with minimized dependencies. r=luke 2012-04-19 16:18:24 -07:00
Brian Hackett
640d82f7e5 Add most handles and stack rooters needed for exact scanning on shell benchmarks, bug 714647. r=billm 2012-04-12 09:23:51 -07:00
Jeff Walden
ebb73c3060 Bug 714260 - Implement FloatingPoint.h to consolidate all IEEE-754 floating point operations in a single location. r=dmandelin for the js bits, r=Ms2ger for mfbt and the core bits 2012-01-23 03:43:16 -08:00
Matt Brubeck
c5e4bddc54 Back out e4c82a6b298c, 036194408a50, 39acc9f51df8 (bug 714647 and followups) because of test_finalizer.js crashes in Linux64 PGO builds 2012-04-12 22:07:43 -07:00
Brian Hackett
dc3d6c24fc Add most handles and stack rooters needed for exact scanning on shell benchmarks, bug 714647. r=billm 2012-04-12 09:23:51 -07:00
David Mason
6edd298291 Bug 732779 - Update Date.prototype.set{Second,Minute,Hour,etc} methods to not short-circuit argument evaluation when this date is invalid or a leading argument converts to NaN. r=jwalden 2012-04-06 18:06:14 -07:00
Jeff Walden
40893ad494 Bug 738075 - Remove the unnecessary Class* argument from GlobalObject::createConstructor. r=dmandelin 2012-03-21 13:32:43 -07:00
Jeff Walden
af87940301 Bug 735313 - StringBuffer still needs length validation. r=luke 2012-03-14 15:29:29 -07:00
Charles Chan
489bfb95ec Bug 724736 - Move js::StringBuffer into js/src/vm/StringBuffer{-inl.h,.cpp}. r=jwalden 2012-03-05 12:40:11 -08:00
David Mandelin
197f344254 Bug 732306: Remove typedef jsint, r=luke 2012-03-01 18:54:01 -08:00
David Mandelin
f0690b22d1 Bug 730511: remove obsolete typedefs intN, uintN, r=luke 2012-02-28 15:11:11 -08:00
David Mandelin
0a4c9bd844 Bug 725550: remove obsolete typedef jsdouble, r=jwalden 2012-02-24 14:19:52 -08:00
Marco Bonardo
7aa79ce5b7 Backout 4fc2f49371a8 (bug 725550) for build failures 2012-02-25 00:16:47 +01:00
David Mandelin
d85948e391 Bug 725550: remove obsolete typedef jsdouble, r=jwalden 2012-02-24 14:19:52 -08:00
Jeff Walden
ccfdb076a6 Bug 728423 - Fix warnings in js/src related to JSObject::asString et al (r=luke) 2012-02-20 13:56:10 -08:00
Jeff Walden
b580faca5d Remove internal #includes of jsstdint.h, the functionality of which is now part of the JSAPI and need not be explicitly #included. No bug, r=evilpies, r=jorendorff, r=terrence, all over IRC 2012-01-22 21:22:10 -08:00
Luke Wagner
63d604536b Bug 713311 - give the remaining scope objects typed interfaces (r=waldo) 2012-01-02 15:02:05 -08:00
Jeff Walden
12e010ddeb Bug 708735 - Use <stdint.h> types in JSAPI and throughout SpiderMonkey. Continue to provide the {u,}int{8,16,32,64} and JS{Uint,Int}{8,16,32,64} integer types through a single header, however, for a simpler backout strategy -- and also to ease the transition for embedders. r=timeless on switching the jsd API to use the <stdint.h> types, r=luke, r=dmandelin 2011-12-08 22:54:10 -05:00
Jeff Walden
477d66175a Bug 707061 - Rename js_ValueToString to ToString. Also, consistent with ToObject, make ToString include an inline already-string fast path, and make ToStringSlow be an out-of-line slow path for the case where the value is not a string (asserting that this is the case). r=luke 2011-12-01 19:35:44 -08:00
Tom Schuster
bde1993ca3 Bug 700169 - Refactor code to use StringBuffer. r=Waldo 2011-12-06 11:31:00 +01:00
Brian Hackett
4229cb1c4b Merge MC -> JM 2011-11-26 15:03:20 -08:00
Brian Hackett
2ecf6804fd Merge MC -> JM 2011-10-19 14:26:08 -07:00
Brian Hackett
2e9764e92f Remove JSObject::capacity and JSObject::initializedLength, split JSObject::slots into slots and elements, bug 693221. 2011-10-10 11:41:03 -07:00
Brian Hackett
c85845ba0d Merge MC -> JM 2011-09-30 07:01:18 -07:00
Jeff Walden
cb28ecfc4b Bug 693469 - Use mozilla::ArrayLength and mozilla::ArrayEnd in preference to JS_ARRAY_LENGTH whenever possible. r=cjones 2011-10-10 23:00:28 -07:00
Jeff Walden
c5e5f873d1 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden
9dc00cdc62 Bug 639469 - Use mozilla::ArrayLength and mozilla::ArrayEnd in preference to JS_ARRAY_LENGTH whenever possible. r=cjones 2011-10-10 23:00:28 -07:00
Phil Ringnalda
0e1309b701 Bug 682754 - date_parseISOString should tolerate a missing colon in the timezone, arr=Waldo 2011-08-28 23:16:37 -07:00
Luke Wagner
7291cf3346 Bug 692300 - date_valueOf should claim to be date_valueOf to NonGenericMethodGuard (r=waldo) 2011-10-07 11:58:45 -07:00
Jeff Walden
10e2a9cbb2 Bug 687621 - Convert getProperty to take a PropertyName*, and make getGeneric the only way to get a property for a jsid. r=luke 2011-09-15 11:44:10 -07:00
Luke Wagner
765347e745 Bug 684526 - Remove Jsvalify/Valueify (r=waldo) 2011-09-20 11:40:24 -07:00
Luke Wagner
8fe42d3496 Bug 684110 - Clean JSObject::clasp usage (r=pbiggar) 2011-09-02 17:23:26 -07:00