Commit Graph

354 Commits

Author SHA1 Message Date
Wes Kocher
18f09001d3 Backed out 4 changesets (bug 1341102, bug 1383492) for windows build bustage and crashtest assertions a=backout CLOSED TREE
Backed out changeset 1c4310082e35 (bug 1341102)
Backed out changeset 849c109d96b4 (bug 1341102)
Backed out changeset 11cadad891a4 (bug 1383492)
Backed out changeset b4dfcf4f795e (bug 1383492)

MozReview-Commit-ID: 4bDAPgiaepG
2017-07-26 18:09:45 -07:00
Manish Goregaokar
c463d163dc Bug 1383492: stylo: Bump app units version; r=emilio
MozReview-Commit-ID: JZp66wkSZc0
2017-07-26 15:59:47 -07:00
Simon Sapin
da839a3670 Bug 1383975 - Update cssparser, fix a panic in bad-url token parsing. r=emilio
MozReview-Commit-ID: K96vTaaUdPi

--HG--
extra : rebase_source : 6ccda565b912a3756156d1081b5ba2a21501273b
2017-07-25 15:01:07 +02:00
Servo VCS Sync
c97e84bf92 No bug - Revendor rust dependencies 2017-07-24 14:37:03 +00:00
Servo VCS Sync
ad7fba4e90 No bug - Revendor rust dependencies 2017-07-19 14:24:02 +00:00
Servo VCS Sync
97e5ebd02b No bug - Revendor rust dependencies 2017-07-14 10:05:27 +00:00
Kartikaya Gupta
1faaf0568b Bug 1379604 - Update versions in Cargo.toml/Cargo.lock files. r=jrmuizel
MozReview-Commit-ID: 9PoNmkBFOhF

--HG--
extra : rebase_source : e50e1820e70ef3f4e3c0f8c8854ac45cc202677a
2017-07-13 10:27:44 -04:00
Mike Shal
29be674102 Bug 1380381 - Set rust debuginfo=1 for cross-OSX builds; r=glandium a=kwierso to reopen this CLOSED TREE
This is similar to bug 1301751, where something in rust seems to trigger errors
running dsymutil to generate debug symbols in OSX. We can set debuginfo=1 for
these builds as a temporary workaround for now, while we work on a more
permanent solution in rust and/or dsymutil. debuginfo=1 still gives us enough
info for stack traces, although without line info. debuginfo=2 would be useful
for debugging, but is irrelevant to crash reports.

MozReview-Commit-ID: DdA00GzVfWg

--HG--
extra : amend_source : 47d3573042098194a07f9b473e4a02c86a1eba7c
2017-07-13 18:49:10 -04:00
Servo VCS Sync
2004ea3979 No bug - Revendor rust dependencies 2017-07-11 02:17:43 +00:00
Wes Kocher
8e3be4c671 Merge inbound to central, a=merge 2017-07-10 18:43:02 -07:00
L. David Baron
715cb90c8e Bug 1343715 - Split nsTSubstring::mFlags into separate variables for class and data flags (rust bindings changes). r=mystor
Thanks to Manish for help in reflecting this idiomatically in rust.

MozReview-Commit-ID: 8tB7vsc5yxc

--HG--
extra : transplant_source : F%87%16%82.P%BD%F3%B1%A4%19%BA%F0%3DQ%F6%ED%BD%95%60
2017-07-10 12:23:11 -07:00
Kartikaya Gupta
7c916dff61 Bug 1374730 - Update Cargo.lock files and revendor rust dependencies. r=jrmuizel
MozReview-Commit-ID: AoLr2W2NGhP

--HG--
extra : rebase_source : 892ea94c01f575b7f33d7cb740a74af5b58b02b0
2017-07-10 07:22:31 -04:00
Servo VCS Sync
3805d91f4d No bug - Revendor rust dependencies 2017-07-06 22:11:55 +00:00
Servo VCS Sync
2ec3ffd285 No bug - Revendor rust dependencies 2017-07-06 20:05:14 +00:00
Jan Beich
3b4550a1c2 Bug 1376411 - Update libc to 0.2.24 to get support for more Tier3 platforms. r=rillian
MozReview-Commit-ID: Ct1en8VPEWf

--HG--
rename : third_party/rust/libc/ci/docker/arm-linux-androideabi/accept-licenses.sh => third_party/rust/libc/ci/android-accept-licenses.sh
extra : rebase_source : d7a64cb5e65f1c76c786d3def9da8aa3903665bd
2017-06-29 13:09:29 +00:00
Servo VCS Sync
13a5120a48 No bug - Revendor rust dependencies 2017-06-23 00:47:46 +00:00
Dan Glastonbury
39441f1b4c Bug 1374494 - P2: Update cubeb-pulse-rs to commit djg/cubeb-pulse-rs/6451581. r=kinetik
MozReview-Commit-ID: IscK7OpIZbB

--HG--
extra : rebase_source : d2ec3568fedd8f9841c3ecd5f02e434238add889
2017-06-09 12:30:29 +10:00
Henri Sivonen
2444f457b5 Bug 1374937 - Vendor encoding_c 0.7.6 into m-c. r=emk
MozReview-Commit-ID: 8Nf9DuGyOP9

--HG--
extra : rebase_source : 9d150818d341eb9402204e22b5f1303d2c831b5b
2017-06-21 09:53:11 +03:00
Servo VCS Sync
3167c35036 No bug - Revendor rust dependencies 2017-06-21 02:15:52 +00:00
Kartikaya Gupta
a63cce3bf9 Bug 1373381 - Cherry-pick servo/webrender#1409 to unbreak OS X debug build. r=jrmuizel
MozReview-Commit-ID: 58wznVyzHnI

--HG--
extra : rebase_source : adef9beb24615c413f3d6a5dc6ef0af4743a3f71
2017-06-20 13:31:13 -04:00
Kartikaya Gupta
1dc39de685 Bug 1373381 - Re-vendor third-party libraries. r=jrmuizel
MozReview-Commit-ID: DLHlIDQCypR

--HG--
rename : third_party/rust/serde_codegen_internals/LICENSE-APACHE => third_party/rust/serde_derive_internals/LICENSE-APACHE
rename : third_party/rust/serde-0.9.9/LICENSE-MIT => third_party/rust/serde_derive_internals/LICENSE-MIT
extra : rebase_source : ad913d9923367fc3e022e8ac5ccedfa0491c6dee
2017-06-20 09:37:16 -04:00
Servo VCS Sync
3a02645a7b No bug - Revendor rust dependencies 2017-06-16 14:55:25 +00:00
Servo VCS Sync
a8908675de No bug - Revendor rust dependencies
--HG--
rename : third_party/rust/serde/src/bytes.rs => third_party/rust/serde-0.9.9/src/bytes.rs
rename : third_party/rust/serde/src/de/content.rs => third_party/rust/serde-0.9.9/src/de/content.rs
rename : third_party/rust/serde/src/de/private.rs => third_party/rust/serde-0.9.9/src/de/private.rs
rename : third_party/rust/serde/src/error.rs => third_party/rust/serde-0.9.9/src/error.rs
rename : third_party/rust/serde/src/iter.rs => third_party/rust/serde-0.9.9/src/iter.rs
rename : third_party/rust/serde/src/ser/content.rs => third_party/rust/serde-0.9.9/src/ser/content.rs
rename : third_party/rust/serde/src/ser/private.rs => third_party/rust/serde-0.9.9/src/ser/private.rs
rename : third_party/rust/serde/src/utils.rs => third_party/rust/serde-0.9.9/src/utils.rs
2017-06-16 13:03:23 +00:00
Servo VCS Sync
8cda9783e4 No bug - Revendor rust dependencies 2017-06-15 19:37:16 +00:00
Bobby Holley
04a15dccb6 Bug 1341102 - Revendor. r=me
MozReview-Commit-ID: 9KLgcDQIDW5


--HG--
rename : third_party/rust/deque/LICENSE-APACHE => third_party/rust/coco/LICENSE-APACHE
rename : third_party/rust/deque/LICENSE-APACHE => third_party/rust/either/LICENSE-APACHE
rename : third_party/rust/deque/LICENSE-APACHE => third_party/rust/scopeguard/LICENSE-APACHE
2017-06-14 20:22:09 -07:00
Servo VCS Sync
2edc2218c6 No bug - Revendor rust dependencies 2017-06-14 23:57:02 +00:00
Servo VCS Sync
24c1e8a9e2 No bug - Revendor rust dependencies 2017-06-14 15:43:28 +00:00
Kartikaya Gupta
00e2b11a13 Bug 1370430 - Update webrender to cset 6752684fcc7402b0a5480e0b9f73152b2f9ed1e5. r=jrmuizel
In addition to update webrender/ and webrender_traits/, this updates
the webrender_bindings dependency on euclid to euclid-0.14.4. It also
updates some webrender_bindings code for this dependency update, and
for the BlobImageRenderer API change in WR cset 36a9117.

MozReview-Commit-ID: JlmTHrFdfUM

--HG--
rename : third_party/rust/euclid/src/matrix2d.rs => third_party/rust/euclid-0.13.0/src/matrix2d.rs
rename : third_party/rust/euclid/src/matrix4d.rs => third_party/rust/euclid-0.13.0/src/matrix4d.rs
extra : rebase_source : fbe93df33f5614d61536f090a69fe1588d34a34c
2017-06-13 11:10:14 -04:00
Servo VCS Sync
3455fd8354 No bug - Revendor rust dependencies 2017-06-14 03:29:17 +00:00
Nicolas Silva
fa4995fa8f Bug 1370891 - Render blob images in webrender's thread pool. r=jrmuizel 2017-06-13 17:57:11 +02:00
Henri Sivonen
763d66dd51 Bug 1261841 part 4 - Add a configuration option for enabling explicit SIMD in Rust. r=froydnj.
MozReview-Commit-ID: ICifcJ9499a
2017-06-13 13:24:19 +03:00
Henri Sivonen
432653453a Bug 1261841 part 2 - Use encoding_rs instead of uconv. r=emk,mystor.
MozReview-Commit-ID: 15Y5GTX98bv
2017-06-13 13:23:23 +03:00
Henri Sivonen
5326afdaea Bug 1261841 part 1 - Vendor encoding_rs and encoding_c into m-c. rs=emk,SimonSapin.
MozReview-Commit-ID: Lphq69tSIXa
2017-06-13 13:22:54 +03:00
Servo VCS Sync
c527c04c0e No bug - Revendor rust dependencies 2017-06-09 22:57:05 +00:00
Kartikaya Gupta
c1a601a0f4 Bug 1371382 - Update gl_generator to 0.5.3. r=jrmuizel
This also pulls in khronos_api v1.0.1

MozReview-Commit-ID: Gw4GtvD3pOx

--HG--
extra : rebase_source : 95601450e5cf125001e69fdbc104e488e88e926e
2017-06-08 17:06:05 -04:00
Servo VCS Sync
5c8f420d51 No bug - Revendor rust dependencies 2017-06-07 20:51:45 +00:00
Servo VCS Sync
73b0699d0c No bug - Revendor rust dependencies 2017-06-06 04:18:47 +00:00
Servo VCS Sync
dc7a500df8 No bug - Revendor rust dependencies 2017-06-05 20:38:53 +00:00
Servo VCS Sync
d5b32dba16 No bug - Revendor rust dependencies 2017-06-04 21:27:20 +00:00
Servo VCS Sync
ddbf630465 No bug - Revendor rust dependencies 2017-06-03 01:39:44 +00:00
Kartikaya Gupta
f7afb5a21c Merge m-c to graphics, a=merge
MozReview-Commit-ID: COZj8Itgjcz
2017-06-01 09:56:23 -04:00
Kartikaya Gupta
cab614e181 Bug 1367734 - Update webrender to cset a54cc729259588dd1ff52c86d0c62cb2a1767137. r=jrmuizel,jerry
In addition to updating webrender and webrender_traits, this patch:
- bumps the euclid dependency in webrender_bindings to match webrender
- updates the Cargo.lock files and re-vendors third-party rust packages
- updates the push_yuv_image callers due to an API change in WR cset a4b9e25.
2017-06-01 08:57:10 -04:00
Chris Manchester
33d56758d3 Bug 1367852 - Fix symbol dumping for gtest xul.dll r=ted
A pdb file name that differs from a dll file name prevents us from dumping
symbols for the gtest xul on Windows. This name differed to accommodate
fix_stack_using_bpsyms.py failing in the presence of two xul.sym files, which
has since been fixed.

MozReview-Commit-ID: I5pA5HjMeRe

--HG--
extra : rebase_source : 7f683687de5f5541a67df8a0f3b4ea65d65f2ac6
2017-05-30 12:11:32 -07:00
Servo VCS Sync
84479a18c9 No bug - Revendor rust dependencies 2017-05-30 19:18:04 +00:00
Ryan VanderMeulen
ad27d35477 Backed out changeset 8b0e09b6cf8e (bug 1367852) for Windows symbol packaging bustage on a CLOSED TREE. 2017-05-26 15:22:37 -04:00
Chris Manchester
1ed6f5d4e0 Bug 1367852 - Fix symbol dumping for gtest xul.dll r=ted
A pdb file name that differs from a dll file name prevents us from dumping
symbols for the gtest xul on Windows. This name differed to accommodate
fix_stack_using_bpsyms.py failing in the presence of two xul.sym files, which
has since been fixed.

MozReview-Commit-ID: I5pA5HjMeRe

--HG--
extra : rebase_source : 0c2f6d07b239d0ac5cbb09993fcfb9b555811e73
2017-05-25 15:09:19 -07:00
Boris Zbarsky
fcac452692 Fix stylo bustage from selectors crate being updated. No bug. 2017-05-24 08:52:51 -04:00
Servo VCS Sync
1f2bbf4599 No bug - Revendor rust dependencies
--HG--
rename : third_party/rust/serde/src/bytes.rs => third_party/rust/serde-0.9.9/src/bytes.rs
rename : third_party/rust/serde/src/de/content.rs => third_party/rust/serde-0.9.9/src/de/content.rs
rename : third_party/rust/serde/src/de/private.rs => third_party/rust/serde-0.9.9/src/de/private.rs
rename : third_party/rust/serde/src/error.rs => third_party/rust/serde-0.9.9/src/error.rs
rename : third_party/rust/serde/src/iter.rs => third_party/rust/serde-0.9.9/src/iter.rs
rename : third_party/rust/serde/src/ser/content.rs => third_party/rust/serde-0.9.9/src/ser/content.rs
rename : third_party/rust/serde/src/ser/private.rs => third_party/rust/serde-0.9.9/src/ser/private.rs
rename : third_party/rust/serde/src/utils.rs => third_party/rust/serde-0.9.9/src/utils.rs
rename : third_party/rust/unicode-bidi/src/tables.rs => third_party/rust/unicode-bidi-0.2.5/src/tables.rs
2017-05-23 05:17:49 +00:00
Servo VCS Sync
2ca25817fa No bug - Revendor rust dependencies 2017-05-21 06:13:11 +00:00
Servo VCS Sync
444028b3ce No bug - Revendor rust dependencies 2017-05-20 18:45:20 +00:00
Cameron McCormack
9bb327f2c7 Bug 1366454 - Revendor app_units manually. r=me (CLOSED TREE)
MozReview-Commit-ID: CElyR5aQGPh
2017-05-20 14:56:12 +08:00
Servo VCS Sync
0e51b95a04 No bug - Revendor rust dependencies 2017-05-20 01:10:42 +00:00
Kartikaya Gupta
5320a75266 Merge m-c to graphics
MozReview-Commit-ID: Fq2lBUWyr0m
2017-05-19 13:19:35 -04:00
Kartikaya Gupta
aca076b94b Merge m-c to graphics
MozReview-Commit-ID: DFNbcj14mg9

--HG--
rename : memory/mozjemalloc/jemalloc.c => memory/mozjemalloc/mozjemalloc.cpp
rename : memory/mozjemalloc/jemalloc_types.h => memory/mozjemalloc/mozjemalloc_types.h
2017-05-18 08:34:15 -04:00
Kartikaya Gupta
fc0b73bcdf Bug 1363683 - Update webrender to cset 7f37799d63ed80a07675ad599526290843394c99. r=jrmuizel
In addition to updating gfx/webrender and gfx/webrender_traits, this patch:
- Updates the webrender_bindings Cargo.toml file for version bumps
- Updates the Cargo.lock files and revendors the third-party rust dependecies
- Updates the webrender bindings for a change in the display list construction
  and finalization API in WR csets 425155a and 1eb84eb.
  We now have to pass around a content size parameter to construct a display list,
  and we get back a content size from finalizing the display list. Since we pass
  the finalization results over IPC to WebRenderBridgeParent, we need to update
  the IPDL as well to pass this around.
- Updates the webrender bindings for a change to scroll_node_with_id in WR cset
  48a098f.
- Updates the webrender bindings for a change to push_text in WR cset 3287c15.
2017-05-15 15:13:31 -04:00
Kartikaya Gupta
85ce3b9a88 Merge m-c to graphics
MozReview-Commit-ID: LHvR5izGDcT
2017-05-12 10:20:09 -04:00
Kartikaya Gupta
f262a4e6db Merge m-c to graphics
MozReview-Commit-ID: 2okRQxtQnFa
2017-05-11 07:47:25 -04:00
Kartikaya Gupta
a4a58a3748 Merge m-c to graphics
MozReview-Commit-ID: Ax2mJsUs80t
2017-05-10 11:21:46 -04:00
Kartikaya Gupta
7818effada Bug 1361751 - Update webrender to 964df2f. r=jrmuizel
This includes the Cargo.lock file changes and regenerated bindings.
2017-05-10 10:28:39 -04:00
Servo VCS Sync
a080cef618 No bug - Revendor rust dependencies 2017-05-19 02:48:09 +00:00
Servo VCS Sync
c58094ee93 No bug - Revendor rust dependencies 2017-05-19 01:43:42 +00:00
Wes Kocher
090e554ce2 Backed out 2 changesets (bug 1336540) for build bustage a=backout
Backed out changeset 1bef3928a127 (bug 1336540)
Backed out changeset 42feca9f0e17 (bug 1336540)

MozReview-Commit-ID: 8NH4gZcDy6E
2017-05-18 18:11:12 -07:00
Xidorn Quan
029693f013 Bug 1336540 part 1 - Move config info from build_gecko.rs to a toml file in gecko. r=emilio
MozReview-Commit-ID: 9w9UX38YMUt

--HG--
extra : rebase_source : 36bcb2c10614c9b9f597f13d302953f9af14f928
2017-05-19 10:25:36 +10:00
Servo VCS Sync
1078f219e1 No bug - Revendor rust dependencies 2017-05-11 23:29:34 +00:00
Servo VCS Sync
fcd2579334 No bug - Revendor rust dependencies 2017-05-10 21:23:02 +00:00
Ralph Giles
f56cb16c14 Bug 1336153 - Remove MOZ_RUST. r=ted
We now have code that unconditionally requires the rust
compiler and are committed to adding more. Remove this
last vestige of conditional support.

MozReview-Commit-ID: EK6FBnAbR

--HG--
extra : rebase_source : 6efda10a74f9ca0482304c2b1ffe6941e42138f8
2017-05-09 11:36:13 -07:00
Servo VCS Sync
e0a7705300 No bug - Revendor rust dependencies 2017-05-09 12:32:43 +00:00
Servo VCS Sync
95a49c60f4 No bug - Revendor rust dependencies 2017-06-01 06:58:58 +00:00
Xidorn Quan
3a024a13a5 Bug 1341102 - Vendor only pre-1.0 version of serde on a CLOSED TREE.
MozReview-Commit-ID: 2UB7KxmgSYI

--HG--
rename : third_party/rust/serde-0.9.9/src/bytes.rs => third_party/rust/serde/src/bytes.rs
rename : third_party/rust/serde-0.9.9/src/de/content.rs => third_party/rust/serde/src/de/content.rs
rename : third_party/rust/serde-0.9.9/src/de/private.rs => third_party/rust/serde/src/de/private.rs
rename : third_party/rust/serde-0.9.9/src/error.rs => third_party/rust/serde/src/error.rs
rename : third_party/rust/serde-0.9.9/src/iter.rs => third_party/rust/serde/src/iter.rs
rename : third_party/rust/serde-0.9.9/src/ser/content.rs => third_party/rust/serde/src/ser/content.rs
rename : third_party/rust/serde-0.9.9/src/ser/private.rs => third_party/rust/serde/src/ser/private.rs
rename : third_party/rust/serde-0.9.9/src/utils.rs => third_party/rust/serde/src/utils.rs
extra : rebase_source : 26aee8c2b25fa2e61dc1cb84f709408a73c7c16a
2017-06-01 11:25:35 +10:00
Xidorn Quan
18d00c2891 Bug 1341102 - Update vendored clap to get more consistent bitflags on a CLOSED TREE.
MozReview-Commit-ID: 3Km7H7yEh39
2017-06-01 09:52:00 +10:00
Xidorn Quan
208110c249 Bug 1341102 - Revendor rust dependencies again after several manual update on a CLOSED TREE.
MozReview-Commit-ID: JMCJVitYYnz
2017-06-01 09:35:32 +10:00
Xidorn Quan
57b78a2dbd Bug 1341102 - Revendor rust dependencies on a CLOSED TREE.
MozReview-Commit-ID: 6MPTaW3uQN

--HG--
extra : amend_source : 2424a2ce2527129ad92526b548a96fb3564cbda5
2017-06-01 09:12:44 +10:00
Servo VCS Sync
0822921f3b No bug - Revendor rust dependencies
--HG--
rename : third_party/rust/rayon/tests/compile-fail-unstable/scope_join_bad.rs => third_party/rust/rayon/tests/compile-fail/scope_join_bad.rs
rename : third_party/rust/rayon/tests/run-pass-unstable/scope_join.rs => third_party/rust/rayon/tests/run-pass/scope_join.rs
2017-05-09 03:47:56 +00:00
Wes Kocher
75c2b7a481 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 3BrkDVl7521
2017-05-08 16:24:51 -07:00
Kartikaya Gupta
4a7a11715c Bug 1359744 - Update webrender to 8516d6c04235e684d9bf9c783ba4fc99dab3bf02. r=jrmuizel
This updates the Cargo.lock files and revendors third_party/rust as well.
2017-05-03 19:03:18 -04:00
Emilio Cobos Álvarez
4fa90b8c5b Bug 1341102: Revendor rust dependencies on a CLOSED TREE. r=red
MozReview-Commit-ID: GrqpxUECOtt


--HG--
rename : third_party/rust/bitflags/.cargo-checksum.json => third_party/rust/bitflags-0.7.0/.cargo-checksum.json
rename : third_party/rust/bitflags/.travis.yml => third_party/rust/bitflags-0.7.0/.travis.yml
rename : third_party/rust/bitflags/Cargo.toml => third_party/rust/bitflags-0.7.0/Cargo.toml
rename : third_party/rust/dtoa/LICENSE-APACHE => third_party/rust/bitflags-0.7.0/LICENSE-APACHE
rename : third_party/rust/serde_json/LICENSE-MIT => third_party/rust/bitflags-0.7.0/LICENSE-MIT
rename : third_party/rust/bitflags/README.md => third_party/rust/bitflags-0.7.0/README.md
rename : third_party/rust/bitflags/src/lib.rs => third_party/rust/bitflags-0.7.0/src/lib.rs
rename : third_party/rust/itoa/LICENSE-APACHE => third_party/rust/syntex/LICENSE-APACHE
rename : third_party/rust/serde_json/LICENSE-MIT => third_party/rust/syntex/LICENSE-MIT
rename : third_party/rust/serde_json/LICENSE-APACHE => third_party/rust/syntex_errors/LICENSE-APACHE
rename : third_party/rust/serde_json/LICENSE-MIT => third_party/rust/syntex_errors/LICENSE-MIT
rename : third_party/rust/dtoa/LICENSE-APACHE => third_party/rust/syntex_pos/LICENSE-APACHE
rename : third_party/rust/serde_json/LICENSE-MIT => third_party/rust/syntex_pos/LICENSE-MIT
rename : third_party/rust/dtoa/LICENSE-APACHE => third_party/rust/syntex_syntax/LICENSE-APACHE
rename : third_party/rust/serde_json/LICENSE-MIT => third_party/rust/syntex_syntax/LICENSE-MIT
2017-05-08 21:05:42 +02:00
Emilio Cobos Álvarez
7c5744babe Bug 1341102: Revendor rust dependencies. r=me
MozReview-Commit-ID: GJXx3EZHBbK
2017-05-17 16:48:39 +02:00
Emilio Cobos Álvarez
8288f0fa6a Bug 1341102: Revendor rust-dependencies manually on a CLOSED TREE. r=emilio
MozReview-Commit-ID: FRov90MIvOe
2017-05-01 02:49:23 +02:00
Kartikaya Gupta
e37b4e9289 Merge m-c to graphics
MozReview-Commit-ID: 6UBB4TW6an5
2017-04-27 09:31:17 -04:00
Kartikaya Gupta
86403106c8 Bug 1358156 - Update webrender to 1437cc124696ecc95b726dffa17f918bb6ea5af1. r=jrmuizel
In addition to updating the Cargo.toml/Cargo.lock files and generated FFI header,
this patch also:
- Updates a couple of field names in the IPC serialization code as a result
  of webrender cset 8ca10a8
- Removes z-index related goop, since it's no longer needed as of webrender
  cset c872232
2017-04-26 10:33:14 -04:00
Kartikaya Gupta
b21511b7c0 Merge m-c to graphics
MozReview-Commit-ID: GdyXEYZsVuX
2017-04-25 08:32:48 -04:00
Kartikaya Gupta
c896803771 Merge m-c to graphics
MozReview-Commit-ID: 3s6ISsQ3jG9
2017-04-24 09:17:28 -04:00
Kartikaya Gupta
2e1380aecf Merge m-c to graphics
MozReview-Commit-ID: 5zsIClrx1FB
2017-04-21 10:01:47 -04:00
Kartikaya Gupta
b3a7bb5ca2 Bug 1357392 - Update webrender to f3fa3481aac63ac93c6ccbe805379875e24e5b77. r=jrmuizel,jerry,lsalzman
In addition to regenerating the FFI header and re-vendoring third-party rust
dependencies, this includes the following changes to webrender_bindings code:
- removal of release callback function as a result of changes in 86d4255
- update callback functions for new parameter added in d733af2
- update calls to add_raw_font for API change in 21f2946
2017-04-21 09:58:56 -04:00
Dan Glastonbury
92a65a96fb Bug 1346665 - P2: Import rustified cubeb_pulse.c. r=kinetik,rillian
Enable by setting:

  media.cubeb.backend = "pulse-rust"

MozReview-Commit-ID: EZXJAzN3X7c
2017-04-21 14:01:01 +10:00
Nathan Froyd
0cfcb2a325 Bug 1359425 - commonize the Rust feature definitions for gkrust*; r=rillian
Having these definitions in two different places is silly, especially
when they must be identical.  If they ever got out of sync, there would
be problems.
2017-04-26 10:43:03 -04:00
Kartikaya Gupta
76ded9a0bf Bug 1355475 - Update webrender to 07b6c6a1f93b5d8af1dd9ae825906dcf5c310810. r=jrmuizel
This also includes changes to webrender_bindings:
- push_scroll_layer was renamed to push_clip_node in eb4a04b
- Update call to push_text for API change in f040e81.

MozReview-Commit-ID: ILHylvSkco2
2017-04-18 11:18:02 -04:00
Nathan Froyd
79e83accdc Bug 1357556 - define a gecko_debug feature for gkrust*; r=emilio
Servo needs to know whether C++ code is compiled with MOZ_DEBUG, and
passing along an explicit feature is a better way to determine that
information than relying on cfg(debug_assertions).

MozReview-Commit-ID: B3XCskDQ56p

--HG--
extra : rebase_source : c53cd4abb8f56701d1051c932fc9aa5cf83384f2
2017-04-20 13:54:14 -04:00
Servo VCS Sync
0b5b5bdbf2 No bug - Revendor rust dependencies 2017-04-17 02:38:49 +00:00
Wes Kocher
20dd5f52c2 Merge m-c to autoland, a=merge 2017-04-13 17:35:34 -07:00
Kartikaya Gupta
b4341d2689 Merge m-c to graphics
MozReview-Commit-ID: EGaA6e4loBM
2017-04-13 11:08:02 -04:00
Kartikaya Gupta
aa20d100c1 Merge m-c to graphics
MozReview-Commit-ID: Ij5C7MUete4
2017-04-11 10:09:54 -04:00
Kartikaya Gupta
59dd9e78bc Bug 1353484 - Update webrender to 3dd68f54e12bd5abf8ef41de4d4ec851620f7e4e. r=jrmuizel,kvark,rhunt
This includes:
- updating calls to push_scroll_layer for API change in 7253e2f.
- updating calls to push_stacking_context for API change in be249f6.
- updating for changes to gradient APIs in 05c4293.
2017-04-11 10:00:41 -04:00
Simon Sapin
8f7b8a3663 Bug 1352815 - "codegen-units = 4" for Rust code in debug mode r=froydnj
MozReview-Commit-ID: IIFVmijY4B3

--HG--
extra : rebase_source : 1722dba55a1759f15b82532c13f1e61affd28e9b
2017-04-02 14:17:44 +02:00
Michael Layzell
fd68582d06 Bug 1352553 - Update rust-url-capi to use the new nserror crate, r=valentin
MozReview-Commit-ID: 3X3MRb9Iujz
2017-04-10 15:21:25 -04:00
Servo VCS Sync
8d37446cc9 No bug - Revendor rust dependencies 2017-04-08 01:14:06 +00:00
Sebastian Hengst
548852b3a4 merge mozilla-central to autoland. r=merge a=merge 2017-04-07 22:16:26 +02:00
Carsten "Tomcat" Book
3a762886de Merge mozilla-central to mozilla-inbound 2017-04-07 15:33:03 +02:00
Servo VCS Sync
89c762cc0c No bug - Revendor rust dependencies 2017-04-07 06:46:39 +00:00
Michael Layzell
981693a30f Bug 1320179 - Part 2: Add the nserror rust crate and generate NS_ERROR codes, r=froydnj
MozReview-Commit-ID: FFU6WfEqev
2017-04-06 18:37:25 -04:00
Servo VCS Sync
760101df05 No bug - Revendor rust dependencies 2017-04-07 10:11:24 +00:00
Servo VCS Sync
f17a73e8ad No bug - Revendor rust dependencies 2017-04-12 04:49:23 +00:00
Ralph Giles
3a9b45493a Bug 1353944 - Update to mp4parse 0.8.0. r=kinetik
Sync with crates.io version. Just enum spelling changes.

MozReview-Commit-ID: BS02zEoJaV1

--HG--
extra : rebase_source : a1a13979ba30ba178cc42f5b5fae8a6f089dc4b9
2017-04-05 16:19:47 -07:00
Kartikaya Gupta
c32c70abe2 Merge m-c to graphics
MozReview-Commit-ID: JgUpOHlFfrP
2017-04-05 09:41:01 -04:00
Kartikaya Gupta
8335081baa Merge m-c to graphics
MozReview-Commit-ID: DenuOx3ztpy
2017-04-04 22:47:56 -04:00
Kartikaya Gupta
7ef76c0e9d Bug 1351480 - Update webrender to 7463ae5908ca1d4065763a8753af5d72a6f78b85. r=jrmuizel
In addition to updating gfx/webrender and gfx/webrender_traits, as well as the
Cargo.toml/Cargo.lock files and third-party rust dependencies, this updates
webrender_bindings for the following API changes:
- Update call to update_image for change in 086f912ea86d053d95e5f4eec00cae0d82ee5dba
- Update request_blob_image for new parameter added in 086f912ea86d053d95e5f4eec00cae0d82ee5dba.
- set_root_display_list got renamed to set_display_list, so update call sites.
2017-04-04 22:46:17 -04:00
Servo VCS Sync
21716c4d5b No bug - Revendor rust dependencies 2017-04-05 09:37:48 +00:00
Kartikaya Gupta
317d304694 Merge m-c to graphics
MozReview-Commit-ID: 9kxCUtDZT9J
2017-03-29 10:24:15 -04:00
Ryan VanderMeulen
f4a0d77ffc Merge inbound to m-c. a=merge 2017-03-29 09:41:54 -04:00
Kartikaya Gupta
25748395e5 Bug 1349692 - Update webrender to dafe3579e8dc886e6584116dc52a9362b543c169. r=jrmuizel
In addition to updating gfx/webrender and gfx/webrender_traits, this updates
gfx/webrender_bindings for:
- API changes to update_image and push_stacking_context.
- Version bumps needed in Cargo.toml

Also, since offscreen_gl_context is no longer a dependency, this patch removes
that crate and various other crates it depends on.
2017-03-28 17:49:11 -04:00
Kartikaya Gupta
0fee7584e7 Merge m-c to graphics
MozReview-Commit-ID: 1rTRVEHequ9
2017-03-23 10:01:31 -04:00
Carsten "Tomcat" Book
492970c342 merge mozilla-inbound to mozilla-central a=merge 2017-03-23 13:44:09 +01:00
Mason Chang
b8ac3c92fc Bug 1348913 - Update webrender to 0794911f97cae92496fca992d7430da696fa24eb. r=kats 2017-03-22 14:26:52 -07:00
Kartikaya Gupta
9608ac4946 Merge m-c to graphics
MozReview-Commit-ID: Ci50iHfzKbA
2017-03-22 09:55:38 -04:00
Kartikaya Gupta
f3f86c130e Bug 1346856 - Update webrender to dab674d09a51ff5253da0797d129bf29b25896e5. r=jrmuizel 2017-03-20 13:41:23 -04:00
Simon Sapin
f593f1436b No bug - Update Cargo.lock files for https://github.com/servo/servo/pull/16014 to fix bustage. r=bustage-fix on a CLOSED TREE 2017-03-20 00:28:46 +01:00
Nathan Froyd
d9848cf82a Bug 1349694 - only build gkrust-gtest when we build libxul-gtest; r=chmanchester
To improve build times, we've decided to only build libxul-gtest when
it's specifically requested, i.e. via `mach gtest` or similar.  However,
our build setup specifies that gkrust-gtest, the Rust code specifically
for libxul-gtest, is built during normal builds.  This library takes a
significant amount of time to compile and is generally not needed.

This patch changes the gkrust-gtest library to only be visible under the
same conditions that libxul-gtest is built, thus speeding up normal
builds.
2017-03-28 17:02:37 -04:00
Servo VCS Sync
26384351bb No bug - Revendor rust dependencies 2017-04-03 12:48:18 +00:00
Cameron McCormack
9f8808666b Bug 1341102 - Revendor rust dependencies. r=me (CLOSED TREE)
--HG--
extra : amend_source : acddfc66c347a7b66341931b57446bcd0eadf3bb
2017-03-17 13:07:35 +08:00
Kartikaya Gupta
b215cfd1e1 Bug 1342450 - Rename MOZ_ENABLE_WEBRENDER to MOZ_BUILD_WEBRENDER. r=rhunt
MozReview-Commit-ID: 3GkmCJJq8et
2017-03-22 17:36:25 -04:00
Alfredo.Yang
33f2386cd8 Bug 1349133 - Update mp4 rust parser. r=kinetik
MozReview-Commit-ID: JDKFUsJBpS9

--HG--
extra : rebase_source : 4c7f569dbafb3b34c485cbf0c35177d27579455c
2017-03-22 09:53:58 +08:00
Bobby Holley
ca0f202c0c No bug - Update parking_lot_core and revendor to remove duplicate version of smallvec. r=me
MozReview-Commit-ID: 6B2hp9CLs2z
2017-03-22 17:51:49 -07:00
Servo VCS Sync
c280467718 No bug - Revendor rust dependencies 2017-03-23 00:12:40 +00:00
Servo VCS Sync
686ce29141 No bug - Revendor rust dependencies 2017-03-22 06:17:28 +00:00
Servo VCS Sync
004087b0a3 No bug - Revendor rust dependencies 2017-03-28 20:50:56 +00:00
KuoE0
3f9399e99b Bug 1353994 - Part 1: Update the version of cssparser to 0.12.2. r=heycam, r=SimonSapin
MozReview-Commit-ID: IhiOJikJ7A5

--HG--
extra : rebase_source : 920bcff5df37f3db6e02309cac9f2e0178fcae30
2017-04-11 15:53:57 +08:00
Servo VCS Sync
f14375be16 No bug - Revendor rust dependencies 2017-04-25 00:10:45 +00:00
Kartikaya Gupta
916f12ed8f Merge m-c to graphics
MozReview-Commit-ID: GpqewOAwje8
2017-03-13 13:13:37 -04:00
Kartikaya Gupta
ca0d33d72c Bug 1344947 - Update webrender to e30fb2914928c0e596d8632ed234647c0fd1492e. r=jrmuizel
This also updates calls to push_scroll_layer in webrender_bindings to go with
a change in the API.
2017-03-13 13:03:06 -04:00
Kartikaya Gupta
a45bb3a916 Merge m-c to graphics
MozReview-Commit-ID: AzRIytAgP96
2017-03-08 10:08:57 -05:00
Kartikaya Gupta
cc2056e901 Bug 1343019 - Update webrender to cset 178a65d098afcda7de0298d80d423bc80c6426ba. r=jrmuizel
In addition to updating webrender and the third-party deps, this includes:
- Marking some more reftests as passing with the new version of webrender.
- Updating webrender bindings code to go with changes to push_stacking_context.
- Passing the window dimensions to the Renderer::new function.

MozReview-Commit-ID: 6dRHvAmIQ40

--HG--
rename : third_party/rust/servo-dwrote/.gitignore => third_party/rust/dwrote/.gitignore
rename : third_party/rust/servo-dwrote/README.md => third_party/rust/dwrote/README.md
rename : third_party/rust/servo-dwrote/src/bitmap_render_target.rs => third_party/rust/dwrote/src/bitmap_render_target.rs
rename : third_party/rust/servo-dwrote/src/com_helpers.rs => third_party/rust/dwrote/src/com_helpers.rs
rename : third_party/rust/servo-dwrote/src/comptr.rs => third_party/rust/dwrote/src/comptr.rs
rename : third_party/rust/servo-dwrote/src/font.rs => third_party/rust/dwrote/src/font.rs
rename : third_party/rust/servo-dwrote/src/font_collection.rs => third_party/rust/dwrote/src/font_collection.rs
rename : third_party/rust/servo-dwrote/src/font_face.rs => third_party/rust/dwrote/src/font_face.rs
rename : third_party/rust/servo-dwrote/src/font_family.rs => third_party/rust/dwrote/src/font_family.rs
rename : third_party/rust/servo-dwrote/src/font_file.rs => third_party/rust/dwrote/src/font_file.rs
rename : third_party/rust/servo-dwrote/src/font_file_loader_impl.rs => third_party/rust/dwrote/src/font_file_loader_impl.rs
rename : third_party/rust/servo-dwrote/src/gdi_interop.rs => third_party/rust/dwrote/src/gdi_interop.rs
rename : third_party/rust/servo-dwrote/src/glyph_run_analysis.rs => third_party/rust/dwrote/src/glyph_run_analysis.rs
rename : third_party/rust/servo-dwrote/src/helpers.rs => third_party/rust/dwrote/src/helpers.rs
rename : third_party/rust/servo-dwrote/src/rendering_params.rs => third_party/rust/dwrote/src/rendering_params.rs
rename : third_party/rust/servo-dwrote/src/test.rs => third_party/rust/dwrote/src/test.rs
rename : third_party/rust/servo-dwrote/src/types.rs => third_party/rust/dwrote/src/types.rs
2017-03-06 18:46:30 -05:00
Kartikaya Gupta
48fb1c4b1e Merge m-c to graphics
MozReview-Commit-ID: GK8bGynKhO5

--HG--
rename : browser/components/extensions/ext-theme.js => toolkit/components/extensions/ext-theme.js
rename : browser/components/extensions/schemas/theme.json => toolkit/components/extensions/schemas/theme.json
rename : browser/components/extensions/test/browser/browser_ext_themes_chromeparity.js => toolkit/components/extensions/test/browser/browser_ext_themes_chromeparity.js
rename : browser/components/extensions/test/browser/browser_ext_themes_dynamic_updates.js => toolkit/components/extensions/test/browser/browser_ext_themes_dynamic_updates.js
rename : browser/components/extensions/test/browser/browser_ext_themes_lwtsupport.js => toolkit/components/extensions/test/browser/browser_ext_themes_lwtsupport.js
2017-03-03 08:28:21 -05:00
Kartikaya Gupta
036b81ce75 Merge m-c to graphics
MozReview-Commit-ID: 2ILLtbCmQL3
2017-03-02 10:27:31 -05:00
Kartikaya Gupta
31557b53e5 Merge m-c to graphics
MozReview-Commit-ID: 6TMc1hGNQVA
2017-03-01 09:45:49 -05:00
Kartikaya Gupta
a9e3ac0760 Bug 1343089 - Remove unnecessary crate dependencies from webrender_bindings. r=rhunt 2017-02-28 09:08:58 -05:00
Kartikaya Gupta
00385fa6ae Bug 1341968 - Update webrender to commit 501e3d79c8a3019762bd8bd2d00eecf7811a84de. r=jrmuizel
This also updates webrender_bindings for a few API changes:
- new offset field in ImageDescriptor
- new tiling argument to add_image
- change in set_root_display_list

MozReview-Commit-ID: JUgPviRdekc
2017-02-27 10:36:49 -05:00
Alfredo.Yang
c178f4e8ec Bug 1343793 - update rust mp4parser. r=kinetik
MozReview-Commit-ID: GGfv911o5Rb

--HG--
rename : third_party/rust/bitreader/LICENSE => third_party/rust/bitreader/LICENSE-APACHE
extra : rebase_source : a60a623af8465fe2220c5294f60f43f75a8513ec
2017-03-07 09:30:48 +08:00
Manish Goregaokar
fcedbf4075 Bug 1342759 - Revendor dependencies r=manishearth
MozReview-Commit-ID: byBQQbHb8J

--HG--
rename : third_party/rust/syn/.cargo-checksum.json => third_party/rust/syn-0.10.8/.cargo-checksum.json
rename : third_party/rust/syn/Cargo.toml => third_party/rust/syn-0.10.8/Cargo.toml
rename : third_party/rust/syn/src/aster/qpath.rs => third_party/rust/syn-0.10.8/src/aster/qpath.rs
rename : third_party/rust/syn/src/aster/ty.rs => third_party/rust/syn-0.10.8/src/aster/ty.rs
rename : third_party/rust/syn/src/attr.rs => third_party/rust/syn-0.10.8/src/attr.rs
rename : third_party/rust/syn/src/escape.rs => third_party/rust/syn-0.10.8/src/escape.rs
rename : third_party/rust/syn/src/expr.rs => third_party/rust/syn-0.10.8/src/expr.rs
rename : third_party/rust/syn/src/generics.rs => third_party/rust/syn-0.10.8/src/generics.rs
rename : third_party/rust/syn/src/helper.rs => third_party/rust/syn-0.10.8/src/helper.rs
rename : third_party/rust/syn/src/ident.rs => third_party/rust/syn-0.10.8/src/ident.rs
rename : third_party/rust/syn/src/item.rs => third_party/rust/syn-0.10.8/src/item.rs
rename : third_party/rust/syn/src/krate.rs => third_party/rust/syn-0.10.8/src/krate.rs
rename : third_party/rust/syn/src/lib.rs => third_party/rust/syn-0.10.8/src/lib.rs
rename : third_party/rust/syn/src/lit.rs => third_party/rust/syn-0.10.8/src/lit.rs
rename : third_party/rust/syn/src/mac.rs => third_party/rust/syn-0.10.8/src/mac.rs
rename : third_party/rust/syn/src/macro_input.rs => third_party/rust/syn-0.10.8/src/macro_input.rs
rename : third_party/rust/syn/src/nom.rs => third_party/rust/syn-0.10.8/src/nom.rs
rename : third_party/rust/syn/src/registry.rs => third_party/rust/syn-0.10.8/src/registry.rs
rename : third_party/rust/syn/src/space.rs => third_party/rust/syn-0.10.8/src/space.rs
rename : third_party/rust/syn/src/ty.rs => third_party/rust/syn-0.10.8/src/ty.rs
rename : third_party/rust/syn/src/visit.rs => third_party/rust/syn-0.10.8/src/visit.rs
2017-02-26 04:11:48 -08:00
Chris Manchester
fcd910e360 Bug 1339673 - Don't link the gtest libxul during MOZ_PROFILE_GENERATE. r=ted
The gtest libxul isn't used during the profiling run, so this is just
wasted work.

MozReview-Commit-ID: 5FVmt8rA4zk

--HG--
extra : rebase_source : 89c7b503315bc2b9c21783ec22e20bd94f0e6cf2
2017-02-16 10:47:46 -08:00
Alfredo.Yang
e95865db72 Bug 1342852 - update rust mp4 parser. r=kinetik
MozReview-Commit-ID: 5GzgpfPqMD8

--HG--
extra : rebase_source : 716bb6df434acc245721d15a7ee14c5bfae0f44a
2017-03-01 16:52:46 +08:00
Manish Goregaokar
6029c24c9d Bug 1341102: Revendor rust dependencies; r=bustage
MozReview-Commit-ID: 7hXRyaLssOZ


--HG--
rename : third_party/rust/cssparser/src/macros/match_byte.rs => third_party/rust/cssparser/build/match_byte.rs
2017-02-28 09:23:59 -08:00
Emilio Cobos Álvarez
1b0e441103 No bug: Revendor rust dependencies on a CLOSED TREE. r=bustage
MozReview-Commit-ID: JXQzrEXzceT
2017-03-11 14:48:35 +01:00
Carsten "Tomcat" Book
7256146318 merge mozilla-inbound to mozilla-central a=merge 2017-02-24 11:46:38 +01:00
Xidorn Quan
a7aeae43aa No bug - Update Cargo.lock after merging a servo/servo#15712 on a CLOSED TREE 2017-02-24 15:57:21 +11:00
Wes Kocher
39dbca81b0 Merge m-c to inbound, a=merge
MozReview-Commit-ID: BYjLy4wkFjg
2017-02-23 16:57:34 -08:00
Kartikaya Gupta
92d49690c6 Merge m-c to graphics
MozReview-Commit-ID: BMjcETZ38gw
2017-02-23 09:51:44 -05:00
Kartikaya Gupta
90419861cd Bug 1340270 - Update webrender and webrender_traits to cset edc74274d28b1fa1229a1d1ea05027f57172b992. r=jrmuizel
This also:
1) Updates the webrender_bindings Cargo.toml file to use the latest version
   numbers of webrender and webrender_traits
2) Updates the webrender_bindings Cargo.toml file to use the same version of
   other dependencies (euclid, etc.) as webrender itself does
3) Updates the webrender_bindings glue code for API changes in push_border,
   add_image, and add_raw_font.

--HG--
rename : third_party/rust/dwrote/.gitignore => third_party/rust/servo-dwrote/.gitignore
rename : third_party/rust/dwrote/README.md => third_party/rust/servo-dwrote/README.md
rename : third_party/rust/dwrote/build.rs => third_party/rust/servo-dwrote/build.rs
rename : third_party/rust/dwrote/src/bitmap_render_target.rs => third_party/rust/servo-dwrote/src/bitmap_render_target.rs
rename : third_party/rust/dwrote/src/com_helpers.rs => third_party/rust/servo-dwrote/src/com_helpers.rs
rename : third_party/rust/dwrote/src/comptr.rs => third_party/rust/servo-dwrote/src/comptr.rs
rename : third_party/rust/dwrote/src/font.rs => third_party/rust/servo-dwrote/src/font.rs
rename : third_party/rust/dwrote/src/font_collection.rs => third_party/rust/servo-dwrote/src/font_collection.rs
rename : third_party/rust/dwrote/src/font_face.rs => third_party/rust/servo-dwrote/src/font_face.rs
rename : third_party/rust/dwrote/src/font_family.rs => third_party/rust/servo-dwrote/src/font_family.rs
rename : third_party/rust/dwrote/src/font_file.rs => third_party/rust/servo-dwrote/src/font_file.rs
rename : third_party/rust/dwrote/src/font_file_loader_impl.rs => third_party/rust/servo-dwrote/src/font_file_loader_impl.rs
rename : third_party/rust/dwrote/src/gdi_interop.rs => third_party/rust/servo-dwrote/src/gdi_interop.rs
rename : third_party/rust/dwrote/src/glyph_run_analysis.rs => third_party/rust/servo-dwrote/src/glyph_run_analysis.rs
rename : third_party/rust/dwrote/src/helpers.rs => third_party/rust/servo-dwrote/src/helpers.rs
rename : third_party/rust/dwrote/src/rendering_params.rs => third_party/rust/servo-dwrote/src/rendering_params.rs
rename : third_party/rust/dwrote/src/test.rs => third_party/rust/servo-dwrote/src/test.rs
rename : third_party/rust/dwrote/src/types.rs => third_party/rust/servo-dwrote/src/types.rs
2017-02-22 23:07:59 -05:00
Kartikaya Gupta
276003cab6 Merge m-c to graphics
MozReview-Commit-ID: EyM1zEhgtGP

--HG--
rename : devtools/client/netmonitor/filter-predicates.js => devtools/client/netmonitor/utils/filter-predicates.js
rename : devtools/client/netmonitor/l10n.js => devtools/client/netmonitor/utils/l10n.js
rename : devtools/client/netmonitor/prefs.js => devtools/client/netmonitor/utils/prefs.js
rename : devtools/client/netmonitor/request-utils.js => devtools/client/netmonitor/utils/request-utils.js
rename : devtools/client/netmonitor/sort-predicates.js => devtools/client/netmonitor/utils/sort-predicates.js
rename : testing/talos/talos/sps_profile.py => testing/talos/talos/gecko_profile.py
rename : testing/talos/talos/profiler/sps.py => testing/talos/talos/profiler/profiling.py
rename : third_party/rust/app_units/.cargo-checksum.json => third_party/rust/app_units-0.3.0/.cargo-checksum.json
rename : third_party/rust/app_units/Cargo.toml => third_party/rust/app_units-0.3.0/Cargo.toml
rename : third_party/rust/app_units/src/app_unit.rs => third_party/rust/app_units-0.3.0/src/app_unit.rs
rename : third_party/rust/euclid-0.10.3/.cargo-checksum.json => third_party/rust/euclid-0.10.5/.cargo-checksum.json
rename : third_party/rust/euclid-0.10.3/.gitignore => third_party/rust/euclid-0.10.5/.gitignore
rename : third_party/rust/euclid-0.10.3/.travis.yml => third_party/rust/euclid-0.10.5/.travis.yml
rename : third_party/rust/euclid-0.10.3/COPYRIGHT => third_party/rust/euclid-0.10.5/COPYRIGHT
rename : third_party/rust/euclid-0.10.3/Cargo.toml => third_party/rust/euclid-0.10.5/Cargo.toml
rename : third_party/rust/euclid-0.10.3/LICENSE-APACHE => third_party/rust/euclid-0.10.5/LICENSE-APACHE
rename : third_party/rust/euclid-0.10.3/LICENSE-MIT => third_party/rust/euclid-0.10.5/LICENSE-MIT
rename : third_party/rust/euclid-0.10.3/README.md => third_party/rust/euclid-0.10.5/README.md
rename : third_party/rust/euclid-0.10.3/src/approxeq.rs => third_party/rust/euclid-0.10.5/src/approxeq.rs
rename : third_party/rust/euclid-0.10.3/src/length.rs => third_party/rust/euclid-0.10.5/src/length.rs
rename : third_party/rust/euclid-0.10.3/src/lib.rs => third_party/rust/euclid-0.10.5/src/lib.rs
rename : third_party/rust/euclid-0.10.3/src/macros.rs => third_party/rust/euclid-0.10.5/src/macros.rs
rename : third_party/rust/euclid-0.10.3/src/matrix2d.rs => third_party/rust/euclid-0.10.5/src/matrix2d.rs
rename : third_party/rust/euclid-0.10.3/src/matrix4d.rs => third_party/rust/euclid-0.10.5/src/matrix4d.rs
rename : third_party/rust/euclid-0.10.3/src/num.rs => third_party/rust/euclid-0.10.5/src/num.rs
rename : third_party/rust/euclid-0.10.3/src/point.rs => third_party/rust/euclid-0.10.5/src/point.rs
rename : third_party/rust/euclid-0.10.3/src/rect.rs => third_party/rust/euclid-0.10.5/src/rect.rs
rename : third_party/rust/euclid-0.10.3/src/scale_factor.rs => third_party/rust/euclid-0.10.5/src/scale_factor.rs
rename : third_party/rust/euclid-0.10.3/src/side_offsets.rs => third_party/rust/euclid-0.10.5/src/side_offsets.rs
rename : third_party/rust/euclid-0.10.3/src/size.rs => third_party/rust/euclid-0.10.5/src/size.rs
rename : third_party/rust/euclid-0.10.3/src/trig.rs => third_party/rust/euclid-0.10.5/src/trig.rs
rename : tools/profiler/core/platform-linux.cc => tools/profiler/core/platform-linux-android.cpp
rename : tools/profiler/core/platform-macos.cc => tools/profiler/core/platform-macos.cpp
rename : tools/profiler/core/platform-win32.cc => tools/profiler/core/platform-win32.cpp
extra : amend_source : ad1a9da624ec302a61021cb1b44af5a37ce0450e
2017-02-21 10:58:47 -05:00
Kartikaya Gupta
f62b8b3b3f Merge m-c to graphics
MozReview-Commit-ID: IN2hMCjMHLL

--HG--
rename : browser/components/extensions/test/browser/browser_ext_url_overrides.js => browser/components/extensions/test/browser/browser_ext_url_overrides_newtab.js
rename : browser/extensions/formautofill/content/FormAutofillContent.js => browser/extensions/formautofill/FormAutofillContent.jsm
rename : browser/extensions/formautofill/content/FormAutofillContent.js => browser/extensions/formautofill/FormAutofillHandler.jsm
rename : browser/extensions/formautofill/content/FormAutofillContent.js => browser/extensions/formautofill/FormAutofillHeuristics.jsm
rename : browser/extensions/formautofill/content/FormAutofillContent.js => browser/extensions/formautofill/content/FormAutofillFrameScript.js
rename : browser/themes/shared/devedition/urlbar-history-dropmarker.svg => browser/themes/shared/compacttheme/urlbar-history-dropmarker.svg
rename : config/tests/makefiles/autodeps/check_mkdir.tpy => config/tests/makefiles/autodeps/check_mkdir.py
rename : dom/bindings/MozMap.h => dom/bindings/Record.h
rename : dom/bindings/parser/tests/test_mozmap.py => dom/bindings/parser/tests/test_record.py
rename : dom/file/File.cpp => dom/file/BaseBlobImpl.cpp
rename : dom/file/File.h => dom/file/BaseBlobImpl.h
rename : dom/file/File.cpp => dom/file/Blob.cpp
rename : dom/file/File.h => dom/file/Blob.h
rename : dom/file/File.cpp => dom/file/BlobImpl.cpp
rename : dom/file/File.h => dom/file/BlobImpl.h
rename : dom/file/File.cpp => dom/file/EmptyBlobImpl.cpp
rename : dom/file/File.h => dom/file/EmptyBlobImpl.h
rename : dom/file/File.cpp => dom/file/FileBlobImpl.cpp
rename : dom/file/File.h => dom/file/FileBlobImpl.h
rename : dom/file/File.cpp => dom/file/MemoryBlobImpl.cpp
rename : dom/file/File.h => dom/file/MemoryBlobImpl.h
rename : dom/file/File.cpp => dom/file/StreamBlobImpl.cpp
rename : dom/file/File.h => dom/file/StreamBlobImpl.h
rename : dom/file/File.h => dom/file/StringBlobImpl.h
rename : dom/file/File.h => dom/file/TemporaryBlobImpl.h
rename : dom/media/platforms/agnostic/gmp/MediaDataDecoderProxy.cpp => dom/media/platforms/wrappers/MediaDataDecoderProxy.cpp
rename : dom/media/platforms/agnostic/gmp/MediaDataDecoderProxy.h => dom/media/platforms/wrappers/MediaDataDecoderProxy.h
rename : dom/tests/mochitest/general/test_interfaces.html => dom/tests/mochitest/general/test_interfaces.js
rename : dom/workers/test/test_navigator.html => dom/workers/test/test_navigator.js
rename : js/src/jsautokw.py => js/src/frontend/GenerateReservedWords.py
rename : js/src/vm/Keywords.h => js/src/frontend/ReservedWords.h
rename : layout/base/RestyleManager.cpp => layout/base/GeckoRestyleManager.cpp
rename : layout/base/RestyleManager.h => layout/base/GeckoRestyleManager.h
rename : layout/reftests/w3c-css/submitted/ui3/box-sizing-replaced-002-ref.xht => layout/reftests/bugs/1313772-ref.xhtml
rename : layout/reftests/w3c-css/submitted/ui3/box-sizing-replaced-002.xht => layout/reftests/bugs/1313772.xhtml
rename : servo/components/jstraceable_derive/Cargo.toml => servo/components/deny_public_fields/Cargo.toml
rename : servo/components/jstraceable_derive/Cargo.toml => servo/components/domobject_derive/Cargo.toml
rename : servo/components/plugins/lints/ban.rs => servo/components/script_plugins/ban.rs
rename : servo/components/plugins/jstraceable.rs => servo/components/script_plugins/jstraceable.rs
rename : servo/components/plugins/lib.rs => servo/components/script_plugins/lib.rs
rename : servo/components/plugins/lints/unrooted_must_root.rs => servo/components/script_plugins/unrooted_must_root.rs
rename : servo/components/plugins/utils.rs => servo/components/script_plugins/utils.rs
rename : testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_autocomplete.html => testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_autocomplete-manual.html
rename : testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_list.html => testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_list-manual.html
rename : testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_valueasdate.html => testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_valueasdate-manual.html
rename : testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_valueasnumber.html => testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/input_valueasnumber-manual.html
rename : testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/select_length.html => testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/select_length-manual.html
rename : testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/select_selectedindex.html => testing/web-platform/tests/old-tests/submission/Infraware/Forms/contents/Forms/Not_Use/select_selectedindex-manual.html
rename : testing/web-platform/tests/preload/link_header_preload_delay_onload.html.headers => testing/web-platform/tests/preload/link-header-preload-delay-onload.html.headers
rename : testing/web-platform/tests/preload/link_header_preload.html.headers => testing/web-platform/tests/preload/link-header-preload.html.headers
rename : services/sync/tests/unit/test_extension_storage_crypto.js => toolkit/components/extensions/test/xpcshell/test_ext_storage_sync_crypto.js
rename : toolkit/components/telemetry/TelemetryComms.h => toolkit/components/telemetry/ipc/TelemetryComms.h
rename : toolkit/components/telemetry/TelemetryIPCAccumulator.cpp => toolkit/components/telemetry/ipc/TelemetryIPCAccumulator.cpp
rename : toolkit/components/telemetry/TelemetryIPCAccumulator.h => toolkit/components/telemetry/ipc/TelemetryIPCAccumulator.h
extra : amend_source : 7411c39541f0b530b4b94cf359dc73e385abea4d
2017-02-17 23:33:24 -05:00
Cameron McCormack
dfe8d7eb9f Bug 1340407 - revendor rust dependencies after 2017-02-16 servo commits
CLOSED TREE
2017-02-17 12:20:24 +08:00
Nathan Froyd
df1b30d39d Bug 1302704 - part 5 - harmonize gkrust_gtest's profile.release with gkrust's; r=chmanchester
The comment here is a relic from bygone days when we tried sticking
gkrust and gkrust-gtest into the same library at link time.  Making
gkrust and gkrust-gtest's profile.release settings identical also means
that Cargo considers build artifacts from one suitable for the other,
which is extremely desirable with our new shared CARGO_TARGET_DIR setup.
2017-02-23 10:35:07 -05:00
Nathan Froyd
513e1e4c5e Bug 1302704 - part 4 - provide a target directory for gkrust and gkrust-gtest; r=chmanchester
Doing this gets us all of the benefits that we want from Cargo
workspaces (only compiling artifacts from gkrust-shared one time for
both libraries) without all the hassles that using Cargo workspaces
would require.  We don't have to worry about multiple Cargo processes
running simultaneously and racing to write files; Cargo is smart enough
to lock the build directory to serialize access to it.
2017-02-23 10:35:07 -05:00
Jeff Muizelaar
222792bb1d Bug 1335799 - Update vendored rust libraries for webrender update. r=kats
MozReview-Commit-ID: 8e4euhlfkwR

--HG--
rename : third_party/rust/core-foundation/.cargo-checksum.json => third_party/rust/core-foundation-0.2.3/.cargo-checksum.json
rename : third_party/rust/byteorder-0.5.3/.cargo-ok => third_party/rust/core-foundation-0.2.3/.cargo-ok
rename : third_party/rust/core-foundation/Cargo.toml => third_party/rust/core-foundation-0.2.3/Cargo.toml
rename : third_party/rust/core-foundation-sys/.cargo-checksum.json => third_party/rust/core-foundation-sys-0.2.3/.cargo-checksum.json
rename : third_party/rust/byteorder-0.5.3/.cargo-ok => third_party/rust/core-foundation-sys-0.2.3/.cargo-ok
rename : third_party/rust/core-foundation-sys/Cargo.toml => third_party/rust/core-foundation-sys-0.2.3/Cargo.toml
rename : third_party/rust/core-foundation-sys/src/base.rs => third_party/rust/core-foundation-sys-0.2.3/src/base.rs
rename : third_party/rust/core-foundation-sys/src/url.rs => third_party/rust/core-foundation-sys-0.2.3/src/url.rs
rename : third_party/rust/byteorder-0.5.3/.cargo-ok => third_party/rust/gamma-lut/.cargo-ok
rename : third_party/rust/byteorder-0.5.3/.cargo-ok => third_party/rust/thread_profiler/.cargo-ok
2017-02-14 13:34:15 -05:00
Wes Kocher
163d6c2a49 Merge m-c to autoland, a=merge
MozReview-Commit-ID: 2xWBiKMAozs
2017-02-23 16:59:01 -08:00
Bobby Holley
379e80c372 Bug 1341740 - stylo: revendor rust dependencies after url upgrade on a CLOSED TREE. r=me
MozReview-Commit-ID: FA6l4JHfB0r
2017-02-22 10:47:51 -08:00
Bobby Holley
71364c2794 Bug 1342193 - Update cargo after rayon dependency shuffle on a CLOSED TREE. r=me
MozReview-Commit-ID: CBf3dKYkarx
2017-02-23 12:05:42 -08:00
Manish Goregaokar
33ccc229b2 Bug 1336607 - Switch geckolib off dummy folder, update lockfiles; r=gps
MozReview-Commit-ID: BOgu41N351y

--HG--
extra : rebase_source : 0cffef5b251cb903ce11b8f7073a534dfa4c5455
2017-02-10 12:19:18 -08:00
Bobby Holley
909114ca57 Bug 1340838 - Revendor rust dependencies after upgrade. r=me
MozReview-Commit-ID: IJRUwUF6IcJ


--HG--
rename : third_party/rust/app_units/.cargo-checksum.json => third_party/rust/app_units-0.3.0/.cargo-checksum.json
rename : third_party/rust/app_units/Cargo.toml => third_party/rust/app_units-0.3.0/Cargo.toml
rename : third_party/rust/app_units/src/app_unit.rs => third_party/rust/app_units-0.3.0/src/app_unit.rs
rename : third_party/rust/euclid/.cargo-checksum.json => third_party/rust/euclid-0.10.3/.cargo-checksum.json
rename : third_party/rust/euclid/Cargo.toml => third_party/rust/euclid-0.10.3/Cargo.toml
rename : third_party/rust/euclid/src/length.rs => third_party/rust/euclid-0.10.3/src/length.rs
rename : third_party/rust/euclid/src/lib.rs => third_party/rust/euclid-0.10.3/src/lib.rs
rename : third_party/rust/euclid/src/macros.rs => third_party/rust/euclid-0.10.3/src/macros.rs
rename : third_party/rust/euclid/src/matrix2d.rs => third_party/rust/euclid-0.10.3/src/matrix2d.rs
rename : third_party/rust/euclid/src/matrix4d.rs => third_party/rust/euclid-0.10.3/src/matrix4d.rs
rename : third_party/rust/euclid/src/rect.rs => third_party/rust/euclid-0.10.3/src/rect.rs
rename : third_party/rust/euclid/src/scale_factor.rs => third_party/rust/euclid-0.10.3/src/scale_factor.rs
rename : third_party/rust/euclid/src/size.rs => third_party/rust/euclid-0.10.3/src/size.rs
2017-02-18 14:09:44 -08:00
Chris Manchester
b3946b997e Bug 1200311 - Build the gtest libxul during the compile tier instead of package-tests. r=ted
MozReview-Commit-ID: HX2ORY8cUV9

--HG--
extra : rebase_source : a5510ea1709313206bd620815f7283832fe3efee
2017-02-06 14:34:07 -08:00
Chris Manchester
eb8151510d Bug 1200311 - Move dependentlibs.list.gtest generation to GENERATED_FILES. r=mshal
MozReview-Commit-ID: B4cuUg9TjX4

--HG--
extra : rebase_source : 0e9f971184732b76eed6c1db9fb662ce76110e0c
2017-02-06 14:34:06 -08:00
Kartikaya Gupta
4b3f339eab Bug 1335525 - Add --enable-webrender configure option and hook it up build webrender. r=gps
MozReview-Commit-ID: BWLoSnV2yEN
2017-02-06 11:42:53 -05:00
Kartikaya Gupta
10d3b0ebbe Bug 1335525 - Add webrender dependencies to third_party/rust. r=gfx
MozReview-Commit-ID: L77ffKqR5QU
2017-02-06 11:42:53 -05:00
Kartikaya Gupta
3b39cf43fc Bug 1335525 - Update libgkrust to include webrender as an optional feature. r=froydnj
MozReview-Commit-ID: 8usfSqFWkZ0
2017-02-06 11:42:52 -05:00
Kartikaya Gupta
4f41a040ca Bug 1336549 - Update third-party vendored crates required by mozjs_sys. r=fitzgen,rillian
This updates the following third-party dependencies of mozjs_sys:
    gcc v0.3.40 -> v0.3.42
    libc v0.2.18 -> v0.2.20
    libz-sys v1.0.10 -> v1.0.12
    pkg-config v0.3.8 -> v0.3.9

Since libc is updated, we also need to update the gkrust lockfiles to use the
new version, because leaving it at 0.2.18 will result in improper vendoring of
the crates (see bug 1336528). None of the other mozjs_sys crates are shared by
gkrust.

MozReview-Commit-ID: 5FHELF8YKD0

--HG--
extra : rebase_source : a6a4d635d4a3b9c2faa23f935c4be59e8588fbbf
2017-02-03 16:36:06 -05:00
Gregory Szorc
19ffcf1738 Bug 1322769 - Declare servo rust feature properly; r=manishearth
268fa5f3bc25 grafted an old patch to define --features=servo in
rules.mk. That patch was written before RUST_LIBRARY_FEATURES
existed. This commit fixes it up.

MozReview-Commit-ID: L5atm5CsP8d

--HG--
extra : amend_source : 9362db15a696ebd5871df94afb429d6f828de184
2017-02-02 16:32:54 -08:00
Gregory Szorc
aaae03d7a8 Bug 1322769 - Add a "servo" feature; r=manishearth
MozReview-Commit-ID: A9dNTxNkl39

--HG--
extra : rebase_source : b9d115025beb00d596d34ca8d414a69b8ea2ba07
extra : source : f142ed52978bfab6407c252b7c56c53d0c3fcecd
2017-02-02 15:30:16 -08:00
Valentin Gosu
d28a501a3f Bug 1339809 - Update rust-url to version 1.4.0 r=froydnj
MozReview-Commit-ID: 90Pe9sh91S5

--HG--
extra : rebase_source : 117b3e44a3ceffa9b36cb409b1ae8bf7f0287bad
2017-02-15 16:05:11 +01:00
nfroyd@mozilla.com
4b0c99d311 Bug 1302028 - part 7 - conditionally add bindgen features to gkrust* libraries; r=gps 2017-01-20 16:33:04 +00:00
nfroyd@mozilla.com
ff59ffaae8 Bug 1302028 - part 5 - add bindgen feature to gecko-side Cargo.toml files for propagation to geckoservo; r=Manishearth 2017-01-20 16:33:04 +00:00
Alfredo.Yang
a455e9f1e7 Bug 1328221 - Support GASpecificConfig audio channel in rust mp4 parser. r=rillian
MozReview-Commit-ID: IQKxtjatU9J

--HG--
extra : rebase_source : d710f6f639415e1ff7d99b39a6ef97dfd65868e3
2017-01-11 09:03:30 +08:00
Alfredo.Yang
7b19067da5 Bug 1323390 - Support audio profile in mp4 rust parser. r=kinetik
MozReview-Commit-ID: DLfLdgvc7B1

--HG--
extra : rebase_source : ac9b059759f73c92f7678ed137f0366e35fdc800
2016-12-14 16:01:43 +08:00
Ralph Giles
924c94f74f Bug 1324920 - Update mozjs_sys vendored crates. r=fitzgen,sfink
Update the vendored third-party dependencies for the mozjs-sys crate.
This picks up recent bug-fixes and reduces noise in unrelated runs
of 'mach vendor'.

The libc crate is also used by the rust url parser.

gcc 0.3.35 -> 0.3.40
libc 0.2.16 -> 0.2.18
libz-sys 1.0.6 -> 1.0.10

MozReview-Commit-ID: 5ri4nOtQQ1n

--HG--
extra : rebase_source : e3bfd2be7f3e615822a9177634dd8545236f0a19
2016-12-20 14:24:05 -08:00
Manish Goregaokar
17e5f36da9 Bug 1324193 - Bump rust-url to 1.2.4; r=valentin
MozReview-Commit-ID: 2EBQs6hIpku

--HG--
extra : rebase_source : 3339b4220e5452526aa22323d32deb46a997ad0e
2016-12-17 03:03:35 -08:00
Michael Layzell
d50e9eed2b Bug 1318428 - Use the nsstring bindings in rust-url-capi, r=valentin
This patch also drops the pretense that rust-url-capi will be used from
outside of c++, or that it will be used outside of mozilla-central,
removing the ifdef __cplusplus code, and including the C++ header
"nsString.h".

MozReview-Commit-ID: BULhHf3DObe
2016-11-24 12:23:09 -05:00
Alfredo.Yang
c9c1355882 Bug 1313556 - update rust parser for pssh parsing. r=rillian
MozReview-Commit-ID: KH8K7mizUHl

--HG--
extra : rebase_source : 8e53260bbfcee797bbf05c2504810c7a1ad81a55
2016-11-10 14:50:30 +08:00
Ralph Giles
b9e0fc97c3 Bug 1314460 - Update rust mp4parse to v0.6.0. r=kinetik
Result of running the update script.

MozReview-Commit-ID: 4rqFqaFJ028

--HG--
extra : rebase_source : 011cd38d524e2609e2656a084c2ac920d407488f
2016-11-01 16:07:32 -07:00
Manish Goregaokar
f68c6230d6 Bug 1151899 - Include rust-url-capi (leave-open); r=valentin,ted
MozReview-Commit-ID: 1ITlPLvwzF4
2016-10-28 16:34:21 -07:00
Wes Kocher
90f6b234f3 Backed out 2 changesets (bug 1151899) for build bustage a=backout
Backed out changeset 7b5270bac41b (bug 1151899)
Backed out changeset 62f38c70d152 (bug 1151899)
2016-10-28 14:27:45 -07:00
Manish Goregaokar
00d282bd65 Bug 1151899 - Include rust-url-capi; r=valentin,ted
MozReview-Commit-ID: 1ITlPLvwzF4
2016-10-28 14:03:13 -07:00
Ted Mielczarek
e9130abab5 bug 1305731 - Revert workaround from bug 1301751 now that we have updated to Rust 1.12. r=froydnj
MozReview-Commit-ID: 3akbELExfKT

--HG--
extra : rebase_source : 0308214bae6eb683df65991fc91d41679acd3530
2016-10-17 10:47:30 -04:00
Nathan Froyd
e818915fae Bug 1304815 - rearrange Rust crate structure for newer Rust releases; r=ted.mielczarek
In our current Rust world, we have the following dependency structure:

  xul.so --------------------------+
                                   |
  xul-gtest.so -+--> xul.a --------+-> gkrust
                |
                +--> gkrust-gtest

This structure results in link errors with multiply-defined symbols
between gkrust-gtest and gkrust with newer Rust releases when linking
xul-gtest.so.  So we have to do something different.

Our new structure is:

  xul.so --------------------------+
                                   |
  xul-gtest.so -+--> xul.a --------+-> gkrust --+-> gkrust-shared
                |                               |
                +--> gkrust-gtest --------------+

and we enforce that a given shared library can only have at most one
Rust library that it depends on.  Said Rust library is assumed to
include all significant Rust dependencies of the dependent static
libraries as well.  (In the above structure, gkrust is simply a wrapper
around gkrust-shared, so gkrust-gtest doesn't have to include gkrust as
a dependency.)
2016-10-15 18:16:13 -04:00
Enes Goktas
43ddfab91c Bug 1303227 - Wrap libxul.so linker to prevent getting the linking process killed; r=glandium
This patch removes the memory usage tracking in the script that wraps the
linking of the xul library. This patch also generalizes the wrapping of the
xul linking process to all platforms.

MozReview-Commit-ID: HyncF3aVwdx

--HG--
extra : rebase_source : 8fb90c896dc57793d1c9d9aa4e8492dec8697e36
2016-09-20 17:58:34 -07:00
Ted Mielczarek
abdba70d60 bug 1301751 - work around llvm-dsymutil crash by building rust with debuginfo=1 instead of -g. r=froydnj
MozReview-Commit-ID: 5pK8okLw0Cl

--HG--
extra : rebase_source : f1c366ae3751bcd70272e77c7754fb4adeafdd7b
2016-09-27 06:24:24 -04:00
Michael Layzell
dace0b2e39 Bug 1295762 - Part 1: Implement rust bindings to XPCOM's string types, r=froydnj
MozReview-Commit-ID: 7fnWSc3AzlR
2016-09-20 11:26:43 -04:00
Michael Layzell
05bd5a1076 Bug 1300208 - Allow specifying multiple rust crates to mozbuild within the same FINAL_LIBRARY, r=froydnj
MozReview-Commit-ID: IIjV4Kg7wOv
2016-09-20 11:26:43 -04:00
Mike Hommey
ace23258e7 Bug 1299616 - Rearrange libxul linking such that StaticXULComponentStart always is first. r=gps
When building gtest libxul with LTO, the fact that
StaticXULComponentStart is not passed first to the linker makes the
linker pull the NSModule symbols out of all the other objects first,
presumably because linking the gtest objects (which appear first) pulls
code from the other non StaticXULComponent* objects first.

So, to make things link properly with LTO, we trick the build system
to always put StaticXULComponentStart first.

--HG--
extra : rebase_source : 7ddda118903f5845f6b6d12db2bf39cd22d67ab5
2016-09-02 07:08:16 +09:00
Nathan Froyd
d7beb70278 Bug 1268727 - part 2 - compile Rust code with panic=abort; r=chmanchester 2016-08-09 18:10:19 -04:00
Nathan Froyd
047fb141e9 Bug 1268547 - turn on LTO support for the Rust parts of libxul; r=chmanchester 2016-08-08 18:32:34 -04:00
Nathan Froyd
f7fb6722a6 Bug 1231764 - part 6 - build rust code via cargo; r=chmanchester
This patch is really two separate changes.

The first change is that rust crates are large, standalone entities that
may contain multitudes of source files.  It therefore doesn't make sense
to keep them in SOURCES, as we have been doing.  Moving to use cargo
will require a higher-level approach, which suggests that we need a
different, higher-level representation for Rust sources in the build
system.

The representation here is to have the build system refer to things
defined in Cargo.toml files as the entities dealt with in the build
system, and let Cargo deal with the details of actually building things.
This approach means that adding a new crate to an existing library just
requires editing Rust and Cargo.toml files, rather than dealing with
moz.build, which seems more natural to Rust programmers.  By having the
source files for libraries (and binaries in subsequent iterations of
this support) checked in to the tree, we can also take advantage of
Cargo.lock files.

The second is that we switch the core build system over to building via
cargo, rather than invoking rustc directly.

We also clean up a number of leftover things from the Old Way of doing
things.  A number of tests are added to confirm that we'll only permit
crates to be built that have dependencies in-tree.
2016-08-06 00:49:26 -04:00
Wes Kocher
9605851be0 Backed out 7 changesets (bug 1231764) for apparently causing linux debug wpt bustage
Backed out changeset 4b71272c92cf (bug 1231764)
Backed out changeset 234d8a930afa (bug 1231764)
Backed out changeset f9b204c2f5a7 (bug 1231764)
Backed out changeset f933119e57e4 (bug 1231764)
Backed out changeset e3af0b1d3473 (bug 1231764)
Backed out changeset 643b03aae1dd (bug 1231764)
Backed out changeset a945dbf63410 (bug 1231764)

--HG--
extra : rebase_source : e71360fa4b5e3e74859c82e74e183e13e6211c4c
2016-08-03 16:27:06 -07:00
Nathan Froyd
6b2618fb44 Bug 1231764 - part 6 - build rust code via cargo; r=chmanchester
This patch is really two separate changes.

The first change is that rust crates are large, standalone entities that
may contain multitudes of source files.  It therefore doesn't make sense
to keep them in SOURCES, as we have been doing.  Moving to use cargo
will require a higher-level approach, which suggests that we need a
different, higher-level representation for Rust sources in the build
system.

The representation here is to have the build system refer to things
defined in Cargo.toml files as the entities dealt with in the build
system, and let Cargo deal with the details of actually building things.
This approach means that adding a new crate to an existing library just
requires editing Rust and Cargo.toml files, rather than dealing with
moz.build, which seems more natural to Rust programmers.  By having the
source files for libraries (and binaries in subsequent iterations of
this support) checked in to the tree, we can also take advantage of
Cargo.lock files.

The second is that we switch the core build system over to building via
cargo, rather than invoking rustc directly.

We also clean up a number of leftover things from the Old Way of doing
things.  A number of tests are added to confirm that we'll only permit
crates to be built that have dependencies in-tree.
2016-08-03 19:40:41 -04:00
Tom Tromey
5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Mike Hommey
4b99580194 Bug 1059113 - Use templates for shared libraries and frameworks. r=gps
Also force to use the existing template for XPCOM components.
2014-09-04 09:04:45 +09:00
Mike Hommey
ed70c5f377 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Mike Hommey
c48f53e37a Bug 1043865 - Remove the remainder of compilation bits from the libs tier. r=gps 2014-07-29 08:59:27 +09:00
Mike Hommey
7cab62150a Bug 1041936 part 2 - Directly use the static library "xul" to link into "xul-gtest" instead of having an intermediate library "xul" used by "xul-shared" and "xul-gtest". r=gps 2014-07-23 13:33:09 +09:00
Mike Hommey
b81d50e1eb Bug 883339 - Enable gtest on windows TBPL non-PGO builds. r=ted 2014-06-26 07:59:24 +09:00
Mike Hommey
4be1d02793 Bug 991769 - Add missing parenthesis. r=me 2014-04-04 15:08:25 +09:00
Mike Hommey
6ade45f077 Bug 991769 - Cleanup gtest libxul when doing make clean or distclean. r=mshal 2014-04-04 14:56:51 +09:00
Mike Hommey
490ed7cdd4 Bug 988168 - Better integrate gtest libxul in the build system. r=mshal. DONTBUILD
--HG--
rename : toolkit/library/Makefile.in => toolkit/library/libxul.mk
rename : toolkit/library/moz.build => toolkit/library/libxul.mozbuild
2014-03-31 13:21:38 +02:00