Commit Graph

351 Commits

Author SHA1 Message Date
Igor Bukanov
b14cc26d66 bug 610198 - Replacing JS_GetStringBytes usage with JS_EncodeString. r=gal 2010-11-11 21:40:29 +01:00
David Anderson
9ab38e165d Backed out changeset 8e119f847f97 (build busted) 2010-11-11 11:19:42 -08:00
Igor Bukanov
f73bb91440 bug 610198 - Replacing JS_GetStringBytes usage with JS_EncodeString. r=gal 2010-11-02 15:36:25 +01:00
Jason Orendorff
d88198021d Finally get rid of /* Added by JSIFY */ comments. r=Waldo. 2010-10-01 18:46:54 -05:00
Jim Blandy
a296239b52 Bug 600943: Correctly compute |this| in Date.prototype.toJSON. r=waldo 2010-10-01 13:05:03 -07:00
Brian Hackett
0f7b333058 Backed out changeset 09ffb30caa47 2010-09-20 12:05:21 -07:00
Brian Hackett
7a4d990844 Make JSObject flexible length, bug 584917. r=brendan 2010-09-20 11:40:32 -07:00
Nicholas Nethercote
bd4fd52236 Bug 590834 - Clean up number-to-string code. r=jwalden. 2010-09-13 13:08:25 -07:00
Luke Wagner
eb328f54e3 Bug 539144 - Make formal args a jit-time const offset from fp; rm argv/argc/thisv/script/callobj (r=brendan,dvander) 2010-08-09 22:43:33 -07:00
Luke Wagner
23899570df Bug 581263 - remove slow natives (r=waldo,mrbkap) 2010-08-16 12:35:04 -07:00
Nicholas Nethercote
7ba19c86af Bug 585866 - Avoid unnecessary calls to YearFromTime(). r=jwalden. 2010-08-18 19:44:28 -07:00
Jeff Walden
02c6e918d2 Oops, forgot to qref before removing this line of whitespace. r=style-police 2010-08-17 16:55:01 -07:00
Jeff Walden
7f680033c5 Bug 584811 - Date.prototype.toJSON isn't to spec. r=sayrer 2010-08-13 10:42:31 -07:00
Paul Biggar
d42abd8a4f Bug 585152 - Reland Date.now() fractional changes, along with fixed tests. (r=jwalden,dolske,gavin, rs=jwalden)
For the tests, I put a Math.floor around anything which looked like it did string concatenation. In principal that was r+ by dolske and gavin, and jwalden r+ed the extension to the rest of the tests.

Backout policy: the jsdate.cpp changes can be backed out trivially. The test changes should backout cleanly, but we're not hosed if they don't.
2010-08-06 13:35:00 -07:00
L. David Baron
afc0b96895 Backout changeset b583111a88aa (bug 585152) for causing mochitest-browser-chrome orange on opt builds. 2011-04-12 01:29:41 -07:00
Paul Biggar
a9c1078531 Bug 585152 - Reland Date.now() fractional changes, along with fixed tests. (r=jwalden,dolske,gavin, rs=jwalden)
For the tests, I put a Math.floor around anything which looked like it did string concatenation. In principal that was r+ by dolske and gavin, and jwalden r+ed the extension to the rest of the tests.

Backout policy: the jsdate.cpp changes can be backed out trivially. The test changes should backout cleanly, but we're not hosed if they don't.
2010-08-06 13:35:00 -07:00
Jeff Walden
c35406bd25 Backed out changeset eee087772f45, causes orange in xpcshell (understood and easily fixed) and Moth (not immediately apparent). r=colors 2011-04-11 15:43:03 -07:00
Paul Biggar
71b0bdaf8f Bug 585152 - Make Date.now() return fractional as well as integral bits (for submillisecond timing) (r=jwalden) 2010-08-06 13:35:00 -07:00
Tom Schuster
874c0973ed Bug 601709 - Remove the misnomer InstanceOf variant methods by replacing their uses with clearer if-not-class-then-report code. r=jwalden 2011-04-11 01:38:27 -07:00
Jeff Walden
e3f53dd06d Bug 619283 - Built-in JS methods must not box undefined or null into the global object when called, both to comply with ES5 and to prevent inadvertent global object exposure to secure JS variants. r=dmandelin 2011-01-26 13:37:45 -08:00
Brian Hackett
1a16221ebd Date performance fixes, bug 578259. r=waldo 2010-08-17 10:42:57 -07:00
Brian Hackett
9fdac17d65 Bug 579471 - fast constructors (r=dmandelin,lw) 2010-08-10 16:38:08 -07:00
Igor Bukanov
bec1137aae bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff 2010-06-12 18:29:04 +02:00
Igor Bukanov
f0162cff92 Backed out changeset 7b2b90efe57d -- the patch was landed against a tree with a lot of orange. This will hinder the orange resolution. 2010-07-28 14:36:06 +02:00
Igor Bukanov
e51fde4de4 bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff 2010-06-12 18:29:04 +02:00
Nicholas Nethercote
e9175de575 Bug 552812 - nanojit: factor out AccSet differences into TM and TR (take 3, TM-specific part). r=gal. 2010-07-27 22:33:42 -07:00
Nicholas Nethercote
7285e5f9e3 Backout TM-specific patches for bug 552812 due to assertion failures on Win2003. 2010-07-26 00:03:02 -07:00
Nicholas Nethercote
d5db9867fa Bug 552812 - nanojit: factor out AccSet differences into TM and TR (TM-specific part). r=gal. 2010-07-25 21:23:02 -07:00
Luke Wagner
32541f500f Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Jeff Walden
73bdd65d1b Bug 574992 - Make Date.prototype.toGMTString a normal, non-enumerable, non-alias property; also fixes a failure (with Object.getOwnPropertyNames support) in the MS ES5 tests. r=brendan 2010-06-26 14:08:58 -07:00
Brendan Eich
d4c5ccb2b1 Eliminate JSClass::reserveSlots and streamline new-object paths (535416, r=gal). 2010-06-18 17:43:02 -07:00
Jeff Walden
395250fc89 Bug 563938 - Refactor units-of-time used in computing DST offsets. r=sayrer 2010-05-26 17:00:28 -07:00
Jeff Walden
d3c73f1014 Bug 563938 - Refactor DST offset computation to pave the way for caching the DST offset when possible. No functionality change. r=sayrer 2010-05-26 17:00:28 -07:00
Andreas Gal
3def8dd91d remove useless date and array trace natives (563055, r=dvander). 2010-04-30 14:59:28 -07:00
Nicholas Nethercote
fbd657d35f Bug 559250 - encapsulate JSSLOT_{PRIMITIVE,DATE,REGEXP}_* within JSObject (take 2). r=brendan. 2010-04-14 18:57:30 -07:00
Nicholas Nethercote
cc19cd50db Backed out changeset 681b0067e61b due to massive breakage 2010-04-14 17:09:17 -07:00
Nicholas Nethercote
2b1794e46e Bug 559250 - encapsulate JSSLOT_{PRIMITIVE,DATE,REGEXP}_* within JSObject. r=brendan. 2010-04-14 16:18:03 -07:00
Andreas Gal
0b5921e50b Inline the object allocation path (558003, r=sayrer). 2010-04-10 16:16:35 -07:00
Luke Wagner
c412454bd2 Bug 552574 - de-mystify js_ValueToNumber API (r=igor) 2010-04-07 13:18:50 -07:00
Nicholas Nethercote
bc4f363729 Bug 413730 - Replace all OBJ_GET_CLASS() macro calls with JSObject::getClass() calls. r=gal. 2010-04-07 16:09:49 -07:00
Jason Orendorff
27dfe81940 Bug 509857 - Get rid of DTOA_LOCK. r=jwalden. 2010-03-22 18:21:10 -05:00
Nicholas Nethercote
5dd748ef5b Bug 545274 - nanojit: start adding alias info to loads/stores/calls (TM-specific part). r=jseward. 2010-03-02 13:47:17 +11:00
Igor Bukanov
7e02bec65d bug 527027 - fixing date_makeDate regression. r=brendan 2009-11-08 21:44:53 +01:00
Igor Bukanov
056d5cc9f5 bug 524346 - using jsval, not jsdouble *, for nan and +-oo. r=brendan 2009-10-28 14:57:31 +03:00
Igor Bukanov
0d26f9ebc9 Backed out changeset 14c76164f4c2 - patch for bug 524346 caused test fails 2009-10-27 19:21:47 +03:00
Igor Bukanov
90328eab55 bug 524346 - using jsval, not jsdouble *, for nan and +-oo. r=brendan 2009-10-27 13:26:57 +03:00
Igor Bukanov
28f0b981f2 bug 524121 - avoiding double boxing of time in Date methods. r=brendan 2009-10-24 22:42:29 +04:00
Igor Bukanov
6e60dc0ebd forcing tinderbox rebuild to force Linux/Windows rebuild for bug 521390 2009-10-18 22:23:27 +04:00
David Mandelin
4c73b447b9 Bug 511695: Fix JS warnings in MSVC8, r=brendan 2009-09-23 11:16:30 -07:00
Igor Bukanov
812b45fb3e bug 513190 - avoiding jsint tagging of the private slot data. r=jorendorff 2009-09-05 19:59:11 +04:00