Commit graph

97 commits

Author SHA1 Message Date
Josh Matthews
ffdc3f5b32 Turn on GC all the time. Fix rooting errors during parsing and storing timers. Fix borrow errors during tracing. 2014-05-03 14:18:30 -04:00
Mike Blumenkrantz
abe5d2e0ab add start of embedding crate: build system with CEF types 2014-05-01 16:58:33 -04:00
Jack Moffitt
676c5b6949 Change how backup/restore make task works.
Now we write $SRC/.config.mk.last to store the most recent configure
variables for the backup and restore task. Also, they no longer fail if
they can't find the variables, and will skip the backup/restore stages
and keep going.
2014-04-29 13:02:36 -06:00
Jack Moffitt
6d2b6452e8 Some minor configure and Makefile cleanup.
Move CFG_TARGET_TRIPLES to CFG_TARGET, since only one target is
supported anyway.

Create config.{mk,tmp,status} files in build directory instead of the
source directory.
2014-04-29 13:02:36 -06:00
Jack Moffitt
984bbed586 Remove NSS and NSPR from the build.
These were not being used and are responsible for a large amount of work
and problems.
2014-04-17 09:20:53 -06:00
Lars Bergstrom
00e5f010d4 Update the configuration files to properly build rust. Revert rust-stb-image submodule misupdate. 2014-04-10 13:00:12 -05:00
Matt Brubeck
79ca9b6eb0 Move common macros into a new crate (fixes #1882) 2014-03-21 14:54:56 -07:00
Lars Bergstrom
6365b76597 Rust upgrade for android 2014-03-18 09:31:22 -05:00
Keegan McAllister
56b2eccb6b Don't build Fontconfig docs
Fixes #1790
2014-03-03 10:37:40 -08:00
Keegan McAllister
5a6675a296 Work around missing expat.pc on some RedHat-based systems 2014-02-28 13:10:02 -08:00
Keegan McAllister
ff189fca9b Build Fontconfig 2.11 in-tree on Linux
After applying this patch, on Linux you will need to

    ../configure
    make clean-rust-azure clean-fontconfig clean-rust-fontconfig

Fixes #1752.
2014-02-27 12:05:17 -08:00
Jack Moffitt
a7ef1cd35e Upgrade to latest Rust. 2014-01-12 19:45:45 -07:00
bors-servo
90f44738a4 auto merge of #1445 : webconv/servo/PR_android, r=kmcallister
1. We've aimed to android 4.3 Jellybean devices like Galaxy 10.1 and Galaxy Nexus, etc. I think it could still support android 4.1
2. Needs android ndk r9(not r9b) and latest android sdk
3. Needs some device list update on sdk for apk build.
4. Currently we can not build android port on mac because compiler build problem like https://github.com/mozilla/rust/pull/10921. Hopefully I expect that it could be resolved at next rust upgrade.
2014-01-03 07:40:48 -08:00
discomfitor
12cee06388 make configure not clobber modified submodules at all
this fixes issue #522 (maybe?) by not cleaning/resetting submodules which are dirty. it does not block completion of configure.
2014-01-02 19:17:32 -05:00
aydin.kim
a90d12eaee fix build error on android(libuv 3.0) 2013-12-30 09:58:03 +09:00
Jack Moffitt
0c62b99559 Build with make instead of rustpkg. 2013-12-26 23:57:58 -07:00
Simon Sapin
b98acc2f75 Add rust-encoding as a submodule.
Upstream: https://github.com/lifthrasiir/rust-encoding
Servo’s fork: https://github.com/mozilla-servo/rust-encoding

As of this writing, upstream’s master branch targets Rust 0.8,
and its rust-0.9-pre branch targets Rust master.
Servo uses a Rust version in-between those.
I pushed a rust-servo branch to our fork
that backports from rust-0.9-pre.
2013-12-11 14:25:07 +00:00
bors-servo
b4c0020492 auto merge of #1307 : pcwalton/servo/disable-manage-submodules, r=kmcallister
r? @kmcallister
2013-11-25 14:16:19 -08:00
Patrick Walton
be357f37fe mk: Don't error out on dirty submodules if --disable-manage-submodules is on 2013-11-25 14:12:09 -08:00
bors-servo
d2cfb65127 auto merge of #1260 : metajack/servo/kmcallister-rustpkg, r=metajack,me
Rebased from @kmcallister's branch to fix mac platform issues.
2013-11-19 15:25:48 -08:00
Keegan McAllister
c1eefcd5af configure: Refuse to do anything if a submodule has a dirty working tree
This isn't a full fix for #522 / #835 but it prevents the unrecoverable
loss of work without changing the behavior of configure generally.

If configure drops committed local work, it can be recovered from the reflog.
2013-11-14 15:08:33 +09:00
Keegan McAllister
db6d25ff13 Build some dependencies with rustpkg
Also take a rust-layers bugfix.

In collaboration with Jack Moffitt.
2013-11-14 11:21:08 +09:00
Simon Sapin
2045f6a068 Remove (now unused) NetSurf’s libcss and libwapcaplet.
This removes four submodules (two C libraries and their Rust bindings.)
2013-10-23 14:42:29 +02:00
Simon Sapin
c0a5e8f6eb Add a new 'style' crate. (Empty for now.) 2013-10-14 21:44:24 +01:00
Keegan McAllister
346591e41a configure: Prevent in-tree builds
Fixes #251.
2013-10-11 16:52:55 -07:00
bors-servo
c246188605 auto merge of #826 : metajack/servo/android-darwin, r=jdm
This cleans up configure and Makefile.in so that things build correctly on Darwin.

This needs https://github.com/mozilla-servo/nss/pull/6 before it can be merged. Please hold any r+ until that lands and I push the submodule update.
2013-09-24 13:09:40 -07:00
Jack Moffitt
3f9ce9b55e Build rustc with debugging enabled. 2013-09-23 10:39:58 -06:00
Keegan McAllister
d8667a553b configure: Control Skia debugging with a separate --enable-debug-skia
Fixes #921.
2013-09-17 17:46:01 -07:00
Brian Anderson
232bdae8e6 Add rust-http to the build and begin using it to resolve http urls 2013-09-03 16:42:21 -07:00
Jack Moffitt
8fb3571bd9 Fix android build on Darwin.
This cleans up configure and Makefile.in so that things build correctly on Darwin.
2013-08-30 14:27:20 -06:00
aydin.kim
05d5edafe0 fix Mac build 2013-08-22 19:02:20 +09:00
Yongjin Kim
3230f4c2e3 support android build 2013-08-22 15:26:08 +09:00
Peng Liu
bcf67d9d7f Pull libpng in tree to avoid the configuration issue related to libpng.
Most work done by @pliu6
2013-08-20 14:43:08 -06:00
Keegan McAllister
ef50acfa89 Remove HTTP support (!)
We'll need a new HTTP client lib written against newrt.
2013-08-15 13:56:29 -07:00
Keegan McAllister
9346cab684 Remove rust-glut 2013-08-15 13:55:40 -07:00
Jack Moffitt
e9b1657df6 Add rust-png submodule. 2013-07-16 09:55:19 -06:00
Simon Sapin
d75489356e Add a submodule for rust-cssparser
Even though this parser is not used yet, having it built
and tested with the rest of Servo helps ensure it does not bitrot.
2013-07-10 20:40:01 +01:00
Jack Moffitt
1230282cec Add glfw and glfw-rs to servo build. 2013-07-04 12:51:02 -06:00
Konrad Borowski
ab31e3165d It's actually uname -m lying. 2013-06-24 15:01:07 +02:00
Tim Kuehn
2253365735 libmsg crate for message interfaces to compositor and engine 2013-06-19 21:31:12 -07:00
Patrick Walton
98a730c703 Use full paths for submodules in the configure script 2013-06-06 16:21:18 -07:00
Patrick Walton
97eb5671bb Update the configure script to pass --enable-64bit 2013-06-06 13:47:52 -07:00
Patrick Walton
0af3bbf953 Add NSS and NSPR to the build 2013-05-30 14:05:22 -07:00
Patrick Walton
bf82bc54f3 Separate the DOM and layout into separate crates. 2013-05-28 17:13:40 -07:00
Patrick Walton
c7bce98236 Remove the servo- prefix from core components. 2013-05-28 15:40:47 -07:00
Patrick Walton
c658c6dea9 Move the test harnesses into test/.
This is preparation for removing the `servo-` prefixes from the various
Servo components.
2013-05-28 15:40:39 -07:00
Patrick Walton
4d7f003cd9 Add rust-alert to the tree and use it to allow a new URL to be navigated to 2013-05-21 14:10:49 -07:00
Patrick Walton
7caa209039 Organize all the source files into compiler/, components/, and platform/. 2013-05-15 15:39:19 -07:00
Patrick Walton
932070b9e7 Split the network stuff out of servo-gfx into servo-net 2013-05-09 14:06:03 -07:00
Brian Anderson
b4d227008d configure: Remove CFG_C_COMPILER. Unused 2013-04-30 14:44:30 -07:00