Commit Graph

823 Commits

Author SHA1 Message Date
Ted Mielczarek
3d13eda662 bug 1301751 - work around llvm-dsymutil crash by building rust with debuginfo=1 instead of -g. r=froydnj
MozReview-Commit-ID: 5pK8okLw0Cl
2016-09-27 06:24:24 -04:00
Michael Layzell
cc2ec32acb 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
163973d51c 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
Carsten "Tomcat" Book
6d1f62c926 merge mozilla-inbound to mozilla-central a=merge 2016-09-15 11:59:50 +02:00
Ted Mielczarek
fb89176930 bug 1298422 - vendor byteorder into third-party/rust. r=froydnj
MozReview-Commit-ID: ChKCKiIVEfq
2016-09-08 15:12:34 -07:00
Ralph Giles
8c45a1d60d Bug 1301065 - Update rust mp4parse to v0.5.1. r=kinetik
Result of running the update script, followed by `cargo update`
in tookit/library/rust/.

MozReview-Commit-ID: LNdvuOqVx9a
2016-09-13 09:16:44 -07:00
Sebastian Hengst
4d0f4ca143 Backed out changeset 8c9117de1e7f (bug 1300152) 2016-09-09 16:53:45 +02:00
Ted Mielczarek
5378f69273 bug 1300152 - Add nsIDebug2::rustPanic to allow triggering Rust panic for testing. r=froydnj
For testing purposes it will be useful to be able to trigger crashes in Rust
code. Being able to trigger a panic seems like a good place to start. This
will make it easier to validate improvements in crash reporting.

MozReview-Commit-ID: Bh5rBieLLWW
2016-09-02 13:22:21 -04:00
Mike Hommey
321f72d95b 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.
2016-09-02 07:08:16 +09:00
Ralph Giles
8cfb53dc79 Bug 1300219 - Update mp4parse to v0.5.0. r=kinetik
Result of running the update script and updating gecko's
integration crate for the layout change.

MozReview-Commit-ID: GaIMFKmPmtf
2016-09-02 14:27:50 -07:00
Wes Kocher
87e6777f8a Backed out changeset d332de446548 (bug 1294650) 2016-09-02 11:02:59 -07:00
Phil Ringnalda
9a0b092104 Back out changeset 58b07057fe25 (bug 1299159) on suspicion of breaking Windows PGO builds
CLOSED TREE
2016-09-01 19:43:22 -07:00
Benjamin Smedberg
458ee2abc5 Bug 1299159 - Stop exporting *_NSModule from xul.dll, r=glandium
MozReview-Commit-ID: HXxC5Ogquxn
2016-08-31 12:48:52 -04:00
Wes Kocher
1ebeaec062 Backed out 2 changesets (bug 1295762) for build bustage a=bustage CLOSED TREE
Backed out changeset b4b5fa96e8ee (bug 1295762)
Backed out changeset 30bb58fbbeb8 (bug 1295762)
2016-08-30 16:17:30 -07:00
Michael Layzell
c4891bcc42 Bug 1295762 - Part 1: Implement rust bindings to XPCOM's string types, r=froydnj
MozReview-Commit-ID: 7fnWSc3AzlR
2016-08-30 16:18:54 -04:00
Jim Mathies
9e674844c3 Bug 1294650 - Install shim 'qipcap' dlls into the Firefox folder to circumvent dll injection by the 3rd party Websense product. r=aklotz
MozReview-Commit-ID: 11qJbfim7Lm
2016-08-22 06:53:38 -05:00
Wes Kocher
821d0c747f Merge m-c to autoland, a=merge
a=release for the webidl hook for a comment-only change
2016-08-16 22:07:30 -07:00
Mike Hommey
fa972cb520 Bug 1294639 - Move --with-servo to python configure. r=chmanchester
Subtly, as toolkit/moz.configure happens before toolchain tests, we
can't set MOZ_SERVO_LIBS from there. And toolkit/moz.configure is
not always included either, making things awkward to do in python
configure.

OTOH, there's only one place where MOZ_SERVO_LIBS is used, and the
corresponding setup can actually be done there (in moz.build) instead.

I think we shouldn't shy away from moving things this way.
2016-08-16 08:32:55 +09:00
Nathan Froyd
f10d36cb3e Bug 1268727 - part 2 - compile Rust code with panic=abort; r=chmanchester 2016-08-09 18:10:19 -04:00
Ralph Giles
7ccd917c99 Bug 1295666 - Build byteorder as a separate crate. r=kinetik
Run the updated import script to split the in-tree byteorder
code into a separate directory and build it as a dependent crate.

MozReview-Commit-ID: EI5X4icOdmM
2016-08-16 11:06:46 -07:00
Nathan Froyd
0a5be4a885 Bug 1268547 - turn on LTO support for the Rust parts of libxul; r=chmanchester 2016-08-08 18:32:34 -04:00
Nathan Froyd
00ac9948d4 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
Mike Shal
99c61334d7 Bug 1290502 - Avoid duplicate entries in dependentlibs.list; r=ted
MozReview-Commit-ID: CFyf1W3oFju
2016-07-29 14:36:40 -04:00
Wes Kocher
6bd32df611 Backed out changeset 9d5365ee6944 (bug 1290502) for mass bustage a=backout CLOSED TREE 2016-08-03 10:17:40 -07:00
Carsten "Tomcat" Book
50b047ceb4 Merge mozilla-central to autoland 2016-08-03 17:08:48 +02:00
Mike Shal
58a5f3dd98 Bug 1290502 - Avoid duplicate entries in dependentlibs.list; r=ted
MozReview-Commit-ID: CFyf1W3oFju
2016-07-29 14:36:40 -04:00
Nathan Froyd
a5c7affba4 Bug 1289847 - part 2 - work around Mac linking failures when Rust is enabled; r=mshal
Current stable versions of Rust use two Rust-specific personality
routines to perform exception handling, which empirically does not play
well with the Mac linker's optimizations for using compact unwind
formats. Nightly Rust has solved this issue, but for now, we'll have to
use -no_compact_unwind to disable the linker optimization.  The size
impact is negligible (0.02%) and will be going away once nightly Rust
becomes stable.
2016-08-03 04:24:33 -04:00
Mike Shal
c9b31b19fc Bug 1254115 - Move dependentlibs.py invocation to moz.build; r=ted
MozReview-Commit-ID: D8NF03tNuTX
2016-05-09 17:34:13 -04:00
Tom Tromey
1b5a2bdb96 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
2016-07-14 10:16:42 -06:00
Wes Kocher
0ef227567c Backed out 2 changesets (bug 1289847) for OSX static build bustage CLOSED TREE
Backed out changeset 74922f9ce5c6 (bug 1289847)
Backed out changeset f22763859aae (bug 1289847)
2016-08-01 14:56:53 -07:00
Nathan Froyd
1bb28a9697 Bug 1289847 - part 2 - work around Mac linking failures when Rust is enabled; r=mshal
Current stable versions of Rust use two Rust-specific personality
routines to perform exception handling, which empirically does not play
well with the Mac linker's optimizations for using compact unwind
formats. Nightly Rust has solved this issue, but for now, we'll have to
use -no_compact_unwind to disable the linker optimization.  The size
impact is negligible (0.02%) and will be going away once nightly Rust
becomes stable.
2016-08-01 22:49:01 -04:00
Benjamin Smedberg
cfd17e06ca Bug 1282866 - remove widget/qt and other supporting QT code, r=dougt. This patch does not remove all of the checks for MOZ_WIDGET_QT (which are dead code), but that will be a followup mentored bug.
MozReview-Commit-ID: EGqHHhCD7vD
2016-07-07 12:14:25 -04:00
Makoto Kato
157d0ad618 Bug 1271886 - Move netapi32 to delay load DLLs. r=ted
netapi32's API isn't used at startup and browsing page.  So netapi32 should move to delay load DLLs.

MozReview-Commit-ID: 1g25lnuwbfY
2016-05-11 20:05:25 +09:00
Nils Ohlmeier [:drno]
d6c38d943b Bug 1275217: remove QuickTime and QTKit related code and dependecies. r=jib
MozReview-Commit-ID: IDXgV9jnlMk
2016-05-24 02:15:19 -07:00
Munro Mengjue Chiang
125b07be14 Bug 1180725 - use AVFoundation for camera capture on OSX. r=jib 2016-05-19 22:48:55 +08:00
Bob Owen
a3e759646e Bug 1035125 Part 9: Link Chromium sandbox into firefox.exe instead of having a separate DLL. r=aklotz,glandium
MozReview-Commit-ID: 1vgDPjpcwz3
2016-05-15 16:41:40 +01:00
Jacek Caban
d9695d3797 Bug 1263622 - Fixed nsNSSComponent.cpp compilation on mingw. r=dkeeler,ted 2016-04-23 10:55:50 +02:00
Mike Hommey
1d8da3f130 Bug 1256988 - Replace tests on MOZ_WIDGET_GTK with tests on MOZ_WIDGET_TOOLKIT containing gtk. r=chmanchester
But only do that for the AC_SUBST. The AC_DEFINE is still useful.
2016-03-17 06:49:44 +09:00
Mike Hommey
5093eca220 Bug 1256988 - Replace tests on MOZ_ENABLE_GTK3 with tests on MOZ_WIDGET_TOOLKIT==gtk3. r=chmanchester 2016-03-17 06:49:44 +09:00
Ted Mielczarek
1841ccad85 bug 1244743 - Replace MOZ_NATIVE_X with MOZ_SYSTEM_X. r=gps
MozReview-Commit-ID: 9ip3qeAXFEe
2016-02-01 10:49:34 -05:00
Bobby Holley
be3486b6f3 Bug 1252980 - Link the geckolib into libxul and define MOZ_STYLO if --with-servo=PATH is passed. r=gps 2016-03-02 16:43:12 -08:00
Jean-Yves Avenard
04d6e7da9f Bug 1234092: P1. Remove GStreamer support. r=kentuckyfriedtakahe
It was now unused by default.
2015-12-23 01:14:22 +11:00
Mike Hommey
28328dab12 Bug 1178266 - Link against libatomic when necessary. r=froydnj 2015-12-02 11:04:37 +09:00
Nicholas Nethercote
12fec02dfb Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Jared Wein
d3b3cc3c7c Bug 1007063 - Show virtual (on-screen) keyboard in Windows 8 and higher when text fields are focused if physical keyboards are not present. r=jimm r=masayuki r=m_kato 2015-08-05 10:38:51 -04:00
Ryan VanderMeulen
bb83a74ea4 Backed out changeset 621a6c6aa375 (bug 1007063) for Windows XP test failures/crashes.
CLOSED TREE
2015-08-05 12:20:17 -04:00
Jared Wein
1a30ef97fd Bug 1007063 - Show virtual (on-screen) keyboard in Windows 8 and higher when text fields are focused if physical keyboards are not present. r=jimm r=masayuki r=m_kato 2015-08-05 10:38:51 -04:00
Jacek Caban
ab98ec54d7 Bug 1188457 - Fixed SapiService.cpp compilation on mingw. r=jimm 2015-07-29 12:27:22 +02:00
Kyle Machulis
ab9e0b2ca7 Bug 1176300 - Add lgpllibs library to build system; r=glandium 2015-07-07 21:17:08 -07:00
Mike Hommey
45cba00bc4 Bug 1180081 - Properly rebuild gtest/libxul before running gtests. r=gps
And since this does go through plenty of make directories, avoid make printing
many "Entering" and "Leaving" messages.
2015-07-08 07:53:31 +09:00