Jeff Walden
4119074e02
Bug 1517624 - Followup fix for the sm-rust job, r=bustage, r=me as trivial
2019-01-07 17:35:48 -08:00
Jeff Walden
7883beee5b
Bug 1517674 - Rename JS_NewDateObject and JS_ObjectIsDate to JS:: versions of the same, and move their declarations to js/public/Date.h and their implementations to js/src/jsdate.cpp. r=arai
...
--HG--
extra : rebase_source : 581fa2b7831ab09c33801f8e9a52a78566973ff4
2019-01-04 11:43:31 -06:00
Jeff Walden
1a7499e4a1
Bug 1516742 - Move {js::,JS_}{{Strictly,Loosely}Equal,SameValue} into js/public/Equality.h and js/src/vm/EqualityOperations.{cpp,h}. r=arai
...
--HG--
extra : rebase_source : 1e54339bf579befc38f0155e107da3d192fb6a78
2018-12-29 00:06:21 -06:00
Steve Fink
10953d54c2
Bug 1513108 - Remove the separate class extension hook for getting a weakmap key delegate, r=jonco
...
Replace with just unwrapping the key, since there are no users that return anything else for a delegate.
--HG--
extra : rebase_source : e72b825121ca3493364c9347f65e5dddd1ef53e0
2018-12-07 14:38:01 -08:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Jeff Walden
7dd0d06d8c
Bug 1485800 - Rename SourceBufferHolder to SourceText, and add a <typename Unit> template parameter to it so it can hold putative UTF-8 or UTF-16 source text. r=tcampbell, r=fitzgen
...
--HG--
rename : js/public/SourceBufferHolder.h => js/public/SourceText.h
extra : rebase_source : 34df669c2481eaccd6845f53c5ecf656b636f895
2018-11-08 18:42:48 -08:00
Emilio Cobos Álvarez
3f8b370d35
Bug 1500849 - Update bindgen. r=heycam,bbouvier
...
This pulls a new nom version, which is slightly unfortunate, but I do want some
of the fixes upstream, and it's build-only, so I think it's not a huge deal.
Differential Revision: https://phabricator.services.mozilla.com/D9362
2018-10-22 13:20:01 +02:00
Jeff Walden
67740b3d17
Bug 1491137 - Rename JS::CompileFunction that takes const char*/size_t for function text to JS::CompileFunctionUtf8 that asserts consistent |options.utf8|. r=jandem
...
--HG--
extra : rebase_source : b4c051e8d3c78d7c16c29c5d9f299ead08e479a6
2018-09-17 11:24:41 -07:00
André Bargull
e4d1d98f88
Bug 1485066 - Part 1: Remove JSAutoByteString. r=Waldo
2018-09-05 02:25:42 -07:00
Cosmin Sabou
1f0a42def4
Backed out 14 changesets (bug 1485066) for build bustages on MessageManagerFuzzer. CLOSED TREE
...
Backed out changeset e40f67f15bf1 (bug 1485066)
Backed out changeset f09bc4d5fdcc (bug 1485066)
Backed out changeset 939e27aa2d59 (bug 1485066)
Backed out changeset d50fcf82556c (bug 1485066)
Backed out changeset 5cbc0ae0117a (bug 1485066)
Backed out changeset 09b5382e0baf (bug 1485066)
Backed out changeset 6676e8fedcb3 (bug 1485066)
Backed out changeset 28e7e61c11ec (bug 1485066)
Backed out changeset b08b0cfc1dbe (bug 1485066)
Backed out changeset 8defc9eabfac (bug 1485066)
Backed out changeset bf167b0a3af3 (bug 1485066)
Backed out changeset 4f89260d5e30 (bug 1485066)
Backed out changeset c22fc17c9d87 (bug 1485066)
Backed out changeset d35bb63dbc1d (bug 1485066)
2018-09-05 15:54:03 +03:00
André Bargull
775b7277cc
Bug 1485066 - Part 1: Remove JSAutoByteString. r=Waldo
2018-09-05 02:25:42 -07:00
Jan de Mooij
cbb67627a3
Bug 722345 part 3 - Remove request API. r=luke
...
Differential Revision: https://phabricator.services.mozilla.com/D4424
--HG--
extra : rebase_source : 1842588c00dbc8fb4294ce5436cdb787190909b4
2018-08-28 09:53:30 +02:00
Emilio Cobos Álvarez
e7f946a575
Bug 1488172 - Update bindgen in js/rust as well. r=me
...
Upstream already uses this version of bindgen.
2018-09-03 14:13:36 +02:00
Jan de Mooij
4e67171551
Bug 1477921 part 2 - Remove now unused JSAutoRealmAllowCCW. r=luke
...
Differential Revision: https://phabricator.services.mozilla.com/D4519
--HG--
extra : rebase_source : 65815163551664eccc5dec7fd093226d98cd42f7
2018-08-29 10:23:49 +02:00
Jeff Walden
f7361648b5
Bug 1486577 - Move compilation and evaluation APIs into a new public js/CompilationAndEvaluation.h header. r=jandem
...
--HG--
extra : rebase_source : b8ceac41b2b0c1682f8445d6ba8750eb29b27518
2018-08-24 14:55:28 -05:00
Jeff Walden
da612e85ea
Bug 1486577 - Move JS::SourceBufferHolder into a new public js/SourceBufferHolder.h header. r=jandem
...
--HG--
extra : rebase_source : 7d9b78cb427a76620c899df5a60c792f065cf7d0
2018-08-24 14:00:35 -05:00
Jeff Walden
3b35df4388
Bug 1486577 - Move all compile-options classes to a new public js/CompileOptions.h header. r=jandem
...
--HG--
extra : rebase_source : ed85d0769e262c7db920f7ea0d7c805c9741e2d4
2018-08-24 12:40:55 -05:00
Jan de Mooij
7a68d5cb68
Bug 1466128 part 2 - Rename AutoCompartment to AutoRealm. r=jdm
...
Differential Revision: https://phabricator.services.mozilla.com/D3325
--HG--
extra : rebase_source : 961707f473d4c6664736f5f2e266be949a9ac700
extra : source : a4262ccfec7a662f672138f856cd7779ebd8e824
2018-08-14 14:25:48 +02:00
Jan de Mooij
e25a7d3dd1
Bug 1466128 part 1 - Rename ac.rs to ar.rs. r=jdm
...
Differential Revision: https://phabricator.services.mozilla.com/D3324
--HG--
rename : js/rust/src/ac.rs => js/rust/src/ar.rs
extra : rebase_source : 7d6e78d8ccf812347f739852c2d19d08fc5ae96c
2018-08-14 14:24:22 +02:00
Jan de Mooij
d58da1866e
Bug 1033916 followup - Fix SpiderMonkey Rust bindings by including jsapi.h in wrapper.hpp instead of relying on jsfriendapi.h doing it. r=me
...
--HG--
extra : rebase_source : 0d2fd16c5d5125df28bb366a9b4032a448e741f4
2018-08-21 09:53:23 +02:00
Jan de Mooij
b76b70469b
Bug 1472973 part 16 - Remove js::GetGlobalForObjectCrossCompartment. r=luke
2018-08-02 09:15:42 +02:00
Jon Coppeard
ec2af16383
Bug 1475228 - Make synchronous compile APIs take SourceBufferHolders exclusively r=jandem r=fitzgen
2018-07-17 14:30:22 +01:00
Andreea Pavel
840f785b1e
Backed out 8 changesets (bug 1475228) for wpt failures e.g. html/semantics/scripting-1/the-script-element/execution-timing/088.html on a CLOSED TREE
...
Backed out changeset b2d18ea619ec (bug 1475228)
Backed out changeset 45d3ffe3308e (bug 1475228)
Backed out changeset 02b27f8441be (bug 1475228)
Backed out changeset b82c2cf4b3f1 (bug 1475228)
Backed out changeset 2bc8f24dc3fc (bug 1475228)
Backed out changeset 6104ea971587 (bug 1475228)
Backed out changeset 7c83633262db (bug 1475228)
Backed out changeset 34fb24d52f08 (bug 1475228)
2018-07-30 16:49:02 +03:00
Jon Coppeard
79ab8b51cc
Bug 1475228 - Fix rust bindings following JS::Evaluate signature change r=fitzgen
2018-07-30 11:14:03 +01:00
Jan de Mooij
80adc67aba
Bug 1478955 part 1 - Rename JSAutoRealm to JSAutoRealmAllowCCW. r=luke
2018-07-28 12:12:26 +02:00
Jon Coppeard
9be3391072
Bug 1476012 - Fix rust bustage r=me
2018-07-17 13:52:40 +01:00
Jon Coppeard
1965758811
Bug 1476012 - Remove dependency of Principals.h on StructuredClone.h r=sfink
2018-07-17 13:08:55 +01:00
Emilio Cobos Álvarez
3a5427ddbd
Bug 1472538: Update bindgen. r=xidorn
...
Surprisingly painless.
I'll update to 0.37.4 instead of .3, but that only contains
https://github.com/rust-lang-nursery/rust-bindgen/pull/1343 on top to prevent
build warnings.
MozReview-Commit-ID: H0uMtdGnXvL
2018-07-01 16:04:49 +02:00
Jan de Mooij
2b3ff5c90a
Bug 1468219 - Rename JS_InitStandardClasses to JS::InitRealmStandardClasses, remove obj argument. r=anba
...
--HG--
extra : rebase_source : 5c092c37298e89096b85524e92d143ff2447f31f
2018-06-13 12:47:47 -07:00
Jan de Mooij
de211d96a6
Bug 1468137 - Remove JS_Get*Prototype APIs; use JS::GetRealm*Prototype instead. r=evilpie
...
--HG--
extra : rebase_source : 9d5e815b83b3a71ab3e74fc2c0e2feb1009f2af9
2018-06-13 12:47:40 -07:00
Jan de Mooij
f7fb3be6ec
Bug 1466121 part 1 - Rename JSCompartment to JS::Compartment. r=luke
...
--HG--
extra : rebase_source : cd7140ecda54f0caa02a96f562167b3c9a107450
2018-06-07 16:44:40 +02:00
Jan de Mooij
156284156a
Bug 1363214 - Remove JS::Realm/JSCompartment inheritance. r=jonco
...
--HG--
extra : rebase_source : ad63de7c6676532640659d1fccced7f83798e06d
2018-06-06 14:30:52 +02:00
Jan de Mooij
ce3eb7d5c0
Bug 1464374 part 2 - Pass JS::Realm* instead of JSCompartment* to CallSetup. r=bz,luke
...
The principals are on the realm so we need a realm instead of a compartment. Also adds js::GetNonCCWObjectRealm to get the realm of a non-CCW object.
2018-05-31 11:28:48 +02:00
Robin Templeton
6168e9d4ab
bug 1366287 - Part 4: Add Rust tests for is_bigint. r=Ms2ger
...
--HG--
extra : rebase_source : 7ad0ad6aa417276c09be0d59852002baa39a1b91
2018-05-11 19:44:33 -07:00
Robin Templeton
de41c625dd
Bug 1366287 - Part 1.0: Define a new BigInt primitive type, with a GDB prettyprinter, Rust binding support, and a new out-of-line TraceKind. (Disabled by default, implemented only incompletely, currently passing --enable-bigint will disable JITs, will be flipped on Eventually once every sub-aspect is in place, Don't Have A Cow, Man.) r=jwalden, r=Ms2ger, r=sfink
...
--HG--
extra : rebase_source : aa13bd94bc6157ff8134894e3ba2e7a2b53e28d9
2018-05-24 11:26:09 -07:00
Jan de Mooij
969bbf2190
Bug 1461938 part 1 - Store JS::Realm* instead of JSCompartment* in JSContext. r=luke
...
--HG--
extra : rebase_source : 7af7e5854bdbe0d750a13e0e8c70a71c2c5f88c3
2018-05-17 18:02:40 +02:00
Jan de Mooij
c7a435f1ca
Bug 1461605 part 2 - Rename JS_{Enter,Leave}Compartment -> JS::{Enter,Leave}Realm. r=luke
2018-05-17 11:00:21 +02:00
Jan de Mooij
17f3983d0f
Bug 1461605 part 1 - Rename CompartmentOptions to RealmOptions. r=luke,bz
2018-05-17 10:59:45 +02:00
Jan de Mooij
80e44e8003
Bug 1461292 part 1 - Rename JSAutoCompartment to JSAutoRealm. r=bz,luke
2018-05-16 10:53:16 +02:00
Ciure Andrei
a7fbf22348
Backed out 11 changesets (bug 1457560, bug 1366287) for causing Linux build bustages CLOSED TREE
...
Backed out changeset e71da1f3c048
Backed out changeset 971159738904 (bug 1366287)
Backed out changeset 68fae6784ebe (bug 1366287)
Backed out changeset a18120245eb7 (bug 1366287)
Backed out changeset 3bbd03d726e5 (bug 1366287)
Backed out changeset f80aac2c702a (bug 1366287)
Backed out changeset c834c0c12a7f (bug 1366287)
Backed out changeset dd19d38a2b1c (bug 1366287)
Backed out changeset 76fdbe405fbd (bug 1366287)
Backed out changeset b424782cd5d1 (bug 1366287)
Backed out changeset e4fd5393d398 (bug 1457560)
2018-05-12 08:00:13 +03:00
Robin Templeton
2d8d3572ab
bug 1366287 - Part 4: Add Rust tests for is_bigint. r=Ms2ger
2018-05-11 19:44:33 -07:00
Robin Templeton
80fba2c27a
bug 1366287 - Part 1.2: Add a BigInt type to the Rust bindings. r=Ms2ger
2018-05-11 19:09:38 -07:00
Jeff Walden
04d21ccac0
Bug 1451248. r=jorendorff, r=bz
...
--HG--
extra : rebase_source : e26439a5954162bdaf332fbd63d623a3810e19e0
2018-04-25 19:40:09 -07:00
Steve Fink
c0c6ab8dfc
Bug 1455071
tier 2 bustage followup - s/WriteBytes/AppendBytes/
2018-04-19 00:37:58 -07:00
Steve Fink
c92957a424
Bug 1455071
- Use delegation rather than inheritance for the BufferList in JSStructuredCloneData, r=jorendorff,r=baku
...
--HG--
extra : rebase_source : 1620d0a2d99d9aeddd7d06b4f29251907311ef86
extra : histedit_source : 59145661383b920085164eff3586a78da41c420b
2018-03-15 16:56:09 -07:00
Robin Templeton
5123fd9bc9
Bug 1454512 - Fix JS::Value's is_symbol predicate. r=sfink
2018-04-18 15:44:43 -04:00
Jan de Mooij
43efd96cbe
Bug 1452982 part 13 - Misc cleanup related to cooperative scheduling. r=jonco
2018-04-17 13:30:19 +02:00
Masatoshi Kimura
fdc5da32ef
Bug 1451931 - Enable C++14 for SpiderMonkey Rust Bindings. r=glandium
...
MozReview-Commit-ID: K2vKiC9aAJx
--HG--
extra : rebase_source : a69671e6a0f776544d20300871dd52560ae177ab
2018-04-13 07:17:45 +09:00
Matt Brubeck
4aa522320e
Bug 1451825 - Update to env_logger 0.5. r=ted
...
MozReview-Commit-ID: CqKdONY1NMT
--HG--
extra : rebase_source : 29f9c7a40cf71847a6f5e5e3f33e8695e9bd0b64
2018-04-05 10:08:05 -07:00
Jeff Walden
0b7bf2909d
Bug 1450311 - Update jsval.rs's glue code for JS::Value::layout going away and its former members being renamed. r=me on the dead-simple changes
...
--HG--
extra : rebase_source : 23bbbc8ae51aea90647edb6369f072ede435bfef
2018-03-30 13:54:46 -07:00