Commit Graph

17 Commits

Author SHA1 Message Date
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
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
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
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
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
Emilio Cobos Álvarez
a6190a3d86 Bug 1448201: Fix SpiderMonkey Rust breakage. r=jdm
Was broken by bug 888600, which converted JSID_VOID into a constexpr and thus
made it not appear at build time.

This should make this faster as well...

MozReview-Commit-ID: 34eQhr5H5Ks

--HG--
extra : rebase_source : e0cff40042f4a74aaeaada38927b0636208f12dc
2018-03-23 02:15:55 +01:00
Kannan Vijayan
627eb6ae9a Bug 1411415 - r=bz r=fitzgen 2018-03-05 19:27:02 -05:00
Jon Coppeard
ffe1421cf4 Bug 1441988 - Fix rust build bustage by adding Auto*Vector to list of opaque types r=me 2018-03-01 17:50:18 +00:00
Philip Chimento
feae2f5325 Bug 1428605 - Add JS:: namespace to API where it's missing. r=sfink 2018-01-07 19:08:33 -08:00
Nick Fitzgerald
f73f7eecaf Bug 1421056 - Changes to the js Rust crate needed for Starling. r=till
Changes include: whitelisting more things in `bindgen`, exposing the builtin
micro-task queue, and more conversion implementations.
2017-11-27 15:58:00 -05:00
Nathan Froyd
2b3527011f Bug 1325632 - part 3 - compile rust bindings with -fno-sized-deallocation; r=ted.mielczarek
This probably doesn't make a huge difference, as we're not generating
any code here, but better safe than sorry.
2017-11-15 14:53:17 -04:00
Nick Fitzgerald
86768b16ca Bug 1414030 - Update the bindgen dependency for js/rust. r=emilio
--HG--
extra : rebase_source : 03e09d2ca5e663c9ac5aec94d5dab3a4fb0e4bae
2017-11-02 12:08:00 -04:00
Nick Fitzgerald
8f99cd3071 Bug 1277338 - Part 9: Move the servo/rust-mozjs crate providing bindings to SpiderMonkey to js/rust; r=sfink 2017-09-05 09:26:21 -07:00