Commit Graph

220 Commits

Author SHA1 Message Date
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
11c5f26111 Bug 728095 - Eliminate all primitive-this machinery from JSObject and relegate it to subclasses. r=bhackett 2012-02-16 19:10:45 -08:00
David Mandelin
4cc0190ed3 Bug 725198: reuse js_DoubleToECMAInt32 for js_DoubleToECMAUint32, r=luke 2012-02-08 18:38:32 -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
afdd78c326 Bug 675078 - rm JSThreadData and JSThread (JSRuntime is now officially single-threaded) (r=igor,rs=mccr8) 2011-07-18 14:54:48 -07:00
Matt Brubeck
5491d5a546 Back out 79deba022227 (bug 675078) because of Win debug mochitest-other failures 2012-01-24 17:32:30 -08:00
Luke Wagner
9912c99d35 Bug 675078 - rm JSThreadData and JSThread (JSRuntime is now officially single-threaded) (r=igor) 2011-07-18 14:54:48 -07:00
Chris Leary
bf0951e061 Bug 717762: Proliferate js_memcpy and PodCopy, take 2. (r=luke) 2012-01-17 14:32:36 -08:00
Tom Schuster
c254a97bd3 Bug 607692 - Inline parseInt(<int|double>, <0|10>) in JM. r=bhackett 2012-01-04 21:29:54 +01: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
b969b21af8 Bug 704313 - Implement mozilla/StdInt.h. r=cjones 2011-11-22 17:42:57 -08:00
Jeff Walden
12997e2396 Bug 707383 - Rename ValueTo{ECMA,}{Ui,I}nt32 so that To{Ui,I}nt32 is the ECMA spec method and NonstandardTo{Ui,I}nt32 is the non-standard JSAPI method functionality. r=luke 2011-12-05 17:10:02 -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
b016987394 Bug 663338 - parseInt was wrong for very small doubles. r=jandem 2011-12-06 11:31:16 +01:00
Tom Schuster
bde1993ca3 Bug 700169 - Refactor code to use StringBuffer. r=Waldo 2011-12-06 11:31:00 +01:00
David Anderson
3a8e74c6da Remove traceable natives (bug 698201 part 3, r=luke). 2011-11-22 17:41:42 -05:00
David Anderson
51e3170c4c Remove jstracer and nanojit (bug 698201 part 1, r=dmandelin). 2011-11-22 17:41:41 -05:00
Luke Wagner
f6e92fa08c Bug 689362 - Create js/public (with the intention that its contents will eventually be the only INSTALLED_HEADERS), move Vector and HashTable to js/public and some dependencies (r=billm,sr=dmandelin) 2011-10-04 15:33:00 -07:00
Luke Wagner
73ff885804 Bug 690825 - Fix nativeCall assert; HandleNonGenericMethodClassMismatch should not assume args.callee() is the native (r=waldo) 2011-10-04 10:48:36 -07:00
Luke Wagner
bedc73af5b Bug 683361, part 4 - Handle transparent proxies correctly in non-generic methods (r=waldo) 2011-09-08 21:18:23 -07:00
Luke Wagner
4260644e14 Bug 683361, part 2 - use CallArgs more (r=waldo) 2011-09-08 21:02:26 -07:00
Jeff Walden
7aa410de9e Bug 656810 - Implement js::NumberObject. r=njn 2011-05-13 14:12:15 -07:00
Jeff Walden
b0debefa8c Bug 686002 - Refactor Number class initialization. r=bhackett 2011-05-02 17:03:47 -04:00
Luke Wagner
765347e745 Bug 684526 - Remove Jsvalify/Valueify (r=waldo) 2011-09-20 11:40:24 -07:00
Luke Wagner
e2e7e3085f Bug 684526 - Unify jsval and js::Value (r=jorendorff) 2011-09-19 09:34:49 -07:00
Bill McCloskey
6316f0c54c Bug 675806 - Make static strings be GC things (r=luke) 2011-09-20 14:47:14 -07:00
Luke Wagner
8fe42d3496 Bug 684110 - Clean JSObject::clasp usage (r=pbiggar) 2011-09-02 17:23:26 -07:00
Ed Morley
ee57bf1d01 Backout bug 684110 (08b6eaf6aad0, cf8b35fa1010, 25ee45edabe1, 659f5c7d2cc9, 870f6dd82586 & e1ad65d6a7fd) and bug 684344 (cd1957f6628d) on a CLOSED TREE; a=bustage-fairies 2011-09-03 03:21:25 +01:00
Luke Wagner
ec00ca00c4 Bug 684110 - Clean JSObject::clasp usage (r=pbiggar) 2011-09-02 17:23:26 -07:00
Brian Hackett
977319febf Merge MC -> JM 2011-08-26 11:23:35 -07:00
Brian Hackett
e55eec1dbb Merge MC -> JM 2011-08-09 13:29:11 -07:00
Brian Hackett
35603587fa Merge MC -> JM 2011-08-02 09:08:05 -07:00
Brian Hackett
f0ce5ff29e Merge MC -> JM. 2011-07-28 18:10:31 -07:00
Tom Schuster
db104ed1d8 Bug 652771 - Update Unicode character support for space categorization, also somewhat for uppercase and lowercase (although these will only be fully fixed in followup bugs). r=jwalden. Further (lumped together to address interdependencies): Bug 672760 - Don't pass the EOF non-character to any of the Unicode character-categorization functions. r=jwalden 2011-07-26 14:10:33 -07:00
Jeff Walden
9ee32ab5f5 Bug 674775 - Implement js::IndexToString to get a JSString corresponding to a uint32_t. r=luke 2011-07-27 17:09:12 -07:00
Brian Hackett
b4f1169cc2 Merge MC -> JM 2011-07-15 14:40:15 -07:00
Jeff Walden
494cd39d9c Bug 676700 - Slightly speed up js::IndexToId by converting directly to atom, not to string and then to atom. r=luke 2011-08-04 19:21:25 -07:00
Brian Hackett
f849f86a7d Merge TM -> JM 2011-07-05 18:22:24 -07:00
Brian Hackett
f67cd0c0cc Merge TM -> JM 2011-07-01 16:24:32 -07:00
Jeff Walden
0cb11915d2 Bug 671143 - Rename ValueToNumber to ToNumber, to be more like the spec nomenclature. r=cdleary 2011-06-13 21:49:59 -07:00
Brian Hackett
14255cbaf1 [INFER] Read barriers for call results, bug 663381. 2011-06-10 19:03:57 -07:00
Jan de Mooij
cb59186efd [INFER] Fix parseInt to return integers instead of doubles where possible, rewrite some setNumber calls, bug 662766. r=bhackett 2011-06-08 20:11:42 +02:00
Makoto Kato
421ccc25fe Bug 635617 - 64-bit crash [@ MakeDay] r=jwalden 2011-06-08 10:41:37 +09:00
Brian Hackett
0effc78aae [INFER] Move inference methods out of JSContext, bug 657412. 2011-06-02 10:40:27 -07:00
Brian Hackett
d03a05a6ae [INFER] Cleanup for review, bug 657412. 2011-05-16 22:59:40 -07:00
Brian Hackett
44c831f085 [INFER] Move addTypeProperty barriers under obj->setProperty, obj->defineProperty, bug 619693. 2011-05-16 16:15:37 -07:00
Brian Hackett
34017f15b0 Merge TM -> JM 2011-05-09 09:49:48 -07:00
Brian Hackett
5e9a3d2d57 [INFER] Remove on stack recompilation, allow removed on stack JIT frames to rejoin into the interpreter, bug 650163. 2011-05-09 07:12:47 -07:00
Paul Biggar
9f6a229c40 Bug 653153: Fix the parseInt fast path doubles above 1e21 (r=jwalden)
The spec says parseInt needs to convert to a string before being converted to
an integer. For 1e+21 (and greater), ToString uses exponential notation:
"1e+21", which get's parsed as 1. The existing parseInt fast path for doubles
converted it directly into an integer, giving the result 1e21. The fix adds a
bounds check to see if the exponential notation is triggered, and still uses
the fast path if not.
2011-05-07 05:31:59 -07:00