Commit Graph

405 Commits

Author SHA1 Message Date
Ehsan Akhgari
b870bb3fe9 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Chris Peterson
6fcb2b7947 Bug 964016 - Part 4: Replace JS_ALWAYS_INLINE with MOZ_ALWAYS_INLINE. r=luke 2014-01-24 20:14:56 -08:00
Christian Holler
be290c82dd Bug 937083 - Make js::CharsToNumber propagate OOM. r=shu
--HG--
extra : rebase_source : 97816edbce569e85c7411184ab808e6429f33f94
2013-12-06 18:39:42 +01:00
Jan de Mooij
dcc12a476f Bug 653438 - Fix number.toExponential(undefined) to behave like number.toExponential() and remove some dead code. r=till
--HG--
extra : rebase_source : e7fde214b9002658bbc8c64b32028854798bfab1
2013-12-05 14:47:35 +01:00
Jeff Walden
a148901d35 Bug 811264 - Use mozilla::Abs in jsnum.cpp, instead of open-coding it in ways that trigger warnings with some compilers. Also rename IntToCString to Int32ToCString, for accuracy. r=jorendorff
--HG--
extra : rebase_source : a138da4be25bcd8f6c7f99addb0027c4be88c413
2013-11-05 14:29:01 -08:00
Brian Hackett
4ee515dcad Bug 928050 - Don't GC during atomization, r=billm. 2013-11-09 19:53:53 -07:00
Dan Gohman
04e8e59a77 Bug 934520 - SpiderMonkey: Avoid signed overflow and other forms of undefined behavior. r=bhackett 2013-11-04 09:41:06 -08:00
Nicholas Nethercote
ba1e9bce90 Bug 925584 - Remove some unnecessary jsapi.h inclusions from .cpp files. r=Ms2ger.
--HG--
extra : rebase_source : 41fcb0e922a519ef679c1c1b6293c2b638e83a48
2013-10-10 15:22:35 -07:00
Dan Gohman
7f8cfc2fc4 Bug 924642 - SpiderMonkey: Apply internal name linkage using static keywords. r=njn 2013-10-10 05:18:01 -07:00
Birunthan Mohanathas
0010ee6e0a Bug 784739 - Switch from NULL to nullptr in js/src/ (6/9); r=ehsan
--HG--
extra : rebase_source : ecee31cff18206c7f74e9c71f954c0e75e80af53
2013-10-07 12:44:00 -04:00
Andy Wingo
22c73af975 Bug 920433 - Improve API support for self-hosted functions. r=till, r=bz 2013-09-26 10:11:38 -04:00
Jan de Mooij
036ada1078 Bug 918808 part 1 - Don't call strlen for int32 values in NumberValueToStringBuffer. r=njn 2013-09-21 11:34:37 +02:00
Dan Gohman
ce07127faf Bug 918350 - SpiderMonkey: Initialize JSRuntime's NaN and Infinity members right away instead of waiting. r=waldo 2013-09-19 18:47:52 -07:00
Dan Gohman
463a7c338e Bug 918350 - SpiderMonkey: Remove js_NaN in favor of a new mozilla::GenericNaN() function. r=waldo 2013-09-19 18:42:56 -07:00
Dan Gohman
47dc0c3032 Bug 918350 - SpiderMonkey: Remove js_{Positive,Negative}Infinity in favor of mozilla::{Positive,Negative}Infinity(). r=waldo 2013-09-19 18:42:10 -07:00
Dan Gohman
8b7074b6dc Bug 910823 - Constify static js::Class/JSClass instances. r=waldo 2013-09-11 05:49:05 -07:00
Yaron Tausky
5c375a64e4 Bug 676739 - Part 3: Rename js_NumberToString to js::NumberToString. r=luke 2013-09-06 13:05:01 +02:00
Yaron Tausky
32359c386d Bug 676739 - Part 1: Suppress unnecessary temporary strings in js::ToAtom. r=luke 2013-08-27 11:17:41 +02:00
Dan Gohman
08213aaf2a Bug 910814 - SpiderMonkey: Document that js_strtod_harder doesn't actually report overflow errors, and clean up its callers accordingly. r=waldo 2013-09-04 10:11:22 -07:00
Dan Gohman
db861120ea Bug 910829 - SpiderMonkey: Put cpp-private classes in anonymous namespaces. r=waldo 2013-08-31 06:19:15 -07:00
Dan Gohman
2419908046 Bug 910829 - SpiderMonkey: Delete redundant null checks. r=jandem 2013-08-31 06:18:42 -07:00
Terrence Cole
24ea5a25b4 Bug 906940 - Exactly root the IsAcceptableThis callback; r=jonco,smaug
--HG--
extra : rebase_source : 3b629611a07fc52a532a05c1b56e5aa40b6a67b6
2013-05-28 11:23:04 -07:00
Brian Hackett
ac342eaa66 Bug 902095 - Allow accessing the compartment/zone for ExclusiveContext, r=billm. 2013-08-13 09:13:46 -06:00
Jeff Walden
de6808781a Bug 853301 - Make a --with-intl-api/--with-intl-api=build/--without-intl-api configure option that builds/exposes Intl, only builds it, and doesn't build it at all. This will allow tests with the Intl code, built, but with no changes to JS behavior, permitting disentangling binary-size-increase effects from effects due to changes in JS functionality (or in code invoked to expose that functionality). r=glandium 2013-08-08 15:17:08 -07:00
Daniel Holbert
5147b2a802 Backed out changeset fde265c467b2 (Bug 902095) for SM(r) bustage 2013-08-12 13:40:15 -07:00
Brian Hackett
aafd4bd829 Bug 902095 - Allow accessing the compartment/zone for ExclusiveContext, r=billm. 2013-08-12 13:57:02 -06:00
Nicholas Nethercote
a1efea7412 Bug 902917 - Remove some unnecessary #includes in SpiderMonkey. r=till.
--HG--
extra : rebase_source : 2a767e04768a94eb943370bbe7945a8dc409bf1d
2013-08-08 16:07:22 -07:00
Nicholas Nethercote
b756f6b258 Bug 898914 (part 1) - Remove JSBool.
--HG--
extra : rebase_source : 2d202e0e5005a7f54724b1540481c15cde3ad52e
2013-08-08 15:53:04 -07:00
Nicholas Nethercote
25d70fdd97 Bug 902332 - Replace JS_{FALSE,TRUE} with {false,true} almost everywhere. r=luke,bz.
--HG--
extra : rebase_source : 25f4de1bfae830b0af6407d260a70b787ab1dc9b
2013-08-06 23:59:54 -07:00
Nicholas Nethercote
ba723f1034 Bug 901750 - Change return type of |JSNative| from |JSBool| to |bool|. code=nnethercote,jandem. r=luke,bz.
--HG--
extra : rebase_source : 5b3d7cc339af6d93bde078322e25c6e740d1b617
2013-08-02 00:41:57 -07:00
Shu-yu Guo
cdf0bb59a4 Bug 892634 - Part 1: Add thread safe number conversion functions. (r=billm) 2013-08-02 08:24:57 -07:00
Jon Coppeard
938093c13e Bug 899976 - GC: Fix unsafe references related to ToInt* functions - js engine changes r=sfink 2013-08-02 13:15:38 +01:00
Nicholas Nethercote
f7b786348d Bug 898912 (part 5) - Add GetDecimalInteger(), a version of GetPrefixInteger() specialized for decimal integers. r=till.
--HG--
extra : rebase_source : ddabc2bd5d2edca38f224c55f289d698e6ab6e3a
2013-07-29 18:31:13 -07:00
Terrence Cole
7bde45b12a Bug 887563 - Convert CallArgs::operator[] to return a Handle; r=Waldo,bz
--HG--
extra : rebase_source : a06130820b34f6e1f5bc317e89c087cf0db9eeb8
2013-06-26 16:26:45 -07:00
Emanuel Hoogeveen
6f6abdbd4a Bug 888088 (part 6) - Fix #include ordering in some of js/src/*.{h,cpp}. r=nnethercote.
--HG--
extra : rebase_source : bbf807155c1ed049a49cc2da73bbf55e0f334820
2013-07-23 17:34:18 -07:00
Yaron Tausky
61c1b351d3 Bug 771865 - Avoid creating NumberObject in (.1).toString. r=luke 2013-07-23 09:20:38 -04:00
Brian Hackett
9030e6dd26 Bug 892187 - Fix spurious uses of ExclusiveContext->asJSContext(), r=billm. 2013-07-15 08:12:40 -06:00
Till Schneidereit
e145bc9c54 Bug 886949 - Add Number.parseInt and Number.parseFloat. r=jwalden 2013-07-13 15:10:46 +02:00
Till Schneidereit
6c43ecbfbd Bug 885798 - Add ES6's Number.EPSILON. r=jwalden 2013-07-13 15:09:32 +02:00
Nicholas Nethercote
202710e7aa Bug 888768 (part 1) - Remove unnecessary js*inlines.h #includes, as found by include-what-you-use. r=bhackett.
--HG--
extra : rebase_source : 255befadc7d1bd1ed0ef1720cb8043db74ce48a8
2013-07-11 15:15:17 -07:00
Brian Hackett
4f07a29526 Bug 885758 - Add ExclusiveContext for use by threads with exclusive access to their compartment, r=billm. 2013-07-10 09:29:52 -06:00
Steve Fink
2f47851cda Bug 890076 - Move isConstructing to CallArgs, r=Waldo
--HG--
extra : rebase_source : f66e59fbd201153a4329a82264c32ad72465d654
2013-07-03 22:59:43 -07:00
Terrence Cole
89bd58343d Bug 879079 - Fix static root analysis hazards around ToInteger; r=sfink
--HG--
extra : rebase_source : 645febaf4b4044e28ba9d53a301a7c3ca7468487
2013-06-26 14:46:23 -07:00
Shu-yu Guo
6888d96993 Bug 877893 - Part 3: VM & Ion changes to make MToString threadsafe. (r=billm) 2013-06-27 14:47:44 -07:00
Terrence Cole
ae475c1aec Bug 879079 - Make ToNumber take a Handle to fix some static rooting analysis failures; r=sfink
--HG--
extra : rebase_source : 048d46820baedeb593f85e0d445375d482d16050
2013-06-21 18:19:11 -07:00
Terrence Cole
541b671734 Bug 879079 - Fix rooting analysis bugs from calls to ToNumber; r=sfink
--HG--
extra : rebase_source : 98a04e315c9a372864d37447a102960737457aa1
2013-06-04 16:14:14 -07:00
Nicholas Nethercote
05e0f3b9bf Bug 880041 (part 21) - Use JSObject::{is,as} for GlobalObject. r=sfink.
--HG--
extra : rebase_source : 676539d76be0aee1c5450aacefed27a4f45efc81
2013-06-17 16:23:11 -07:00
Nicholas Nethercote
e75fc3a4e3 Bug 880041 (part 19) - Use JSObject::{is,as} for {Boolean,Number,String}Object. r=evilpies.
--HG--
extra : rebase_source : fa2594ae2ff16ec64f949191d014cfb844e30c3b
2013-06-17 03:18:55 -07:00
Nicholas Nethercote
b3f46c1c3c Bug 634839 (part 2b) - Remove more unnecessary headers (as found by include-what-you-use) from SpiderMonkey. r=jorendorff.
--HG--
extra : rebase_source : 5d6a4d653160a9c4a9645b14bebbcfab71b50ef4
2013-06-12 22:20:27 -07:00
Nicholas Nethercote
1e829260c6 Bug 880565 (part 1) - Move isFunction() et al from jsobjinlines.h to jsobj.h and minimize the number of files that #include jsobjinlines.h. r=benjamin.
--HG--
extra : rebase_source : f0d6b1b5825e115b33f2d14c0a6ed9c7ee4ef1ca
2013-06-05 19:07:43 -07:00