Commit Graph

63 Commits

Author SHA1 Message Date
Jim Berlage
5b1825a0cf servo: Merge #12295 - Add linting for shell scripts (from jimberlage:12158/shell-linting); r=aneeshusa
<!-- Please describe your changes on the following line: -->

This changes tidy to check shell scripts for the proper shebang and
options.  It does not check that variables are formatted correctly.  It
also adds a check for the MPL 2.0 license in shell scripts.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #12158 (github issue number if applicable).

<!-- Either: -->
- [X] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 4bc629b369242d16675161ab6af8141dab0bb556
2016-08-04 12:31:17 -05:00
Lars Bergstrom
e02ed9e235 servo: Merge #12606 - Fix windows msi directory (from larsbergstrom:windows_msi_directory); r=metajack
<!-- Please describe your changes on the following line: -->
r? @metajack
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: f71b584458fcdd76465396854e204bb1e98d6553
2016-07-26 14:53:06 -05:00
Jack Moffitt
16fb113715 servo: Merge #11967 - Add Windows packaging to create an MSI installer (from metajack:windows-package); r=larsbergstrom
<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because they require manual testing

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 2746c476d3114d987b153d93bed2d302ba2e52a5
2016-07-25 16:48:33 -05:00
Josh Matthews
3b513aab55 servo: Merge #12470 - Place apis.html in the same place as css-properties.html (from servo:jdm-patch-2); r=Manishearth
Right now it's visible at http://doc.servo.org/apis.html, unlike http://doc.servo.org/servo/css-properties.html.

Source-Repo: https://github.com/servo/servo
Source-Revision: d9b7c060a5ec7a6c0556de371b3e9ed3dc832337
2016-07-16 00:32:21 -07:00
Josh Matthews
75e683bbec servo: Merge #12451 - Generate a list of supported DOM APIs from parsed WebIDLs (from jdm:generate-dom-apis); r=Ms2ger
Supplement the existing list of supported CSS properties with an equivalent list of DOM APIs.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes do not require tests because automatic generated documentation

Source-Repo: https://github.com/servo/servo
Source-Revision: 73ad0b928dd158be1eeba30dd21e67d4b9d82048
2016-07-15 15:13:22 -07:00
Aneesh Agrawal
5602842294 servo: Merge #12200 - Add linux dev yaml (from aneeshusa:add-linux-dev-yaml); r=larsbergstrom
<!-- Please describe your changes on the following line: -->

Sync `steps.yml` from saltfs and add `linux-dev-yaml` builder for testing steps.yml switchover. Helps with servo/saltfs#316.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because linux-dev-yaml is non-gated and other changes are running in production

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: a4b6705c02910d6b4dfcc0b2a9e2c909dfc89ef9
2016-07-03 19:24:28 -07:00
Jim Berlage
329b44edd2 servo: Merge #12156 - Adds explicit mime type to upload_nightly.sh (from jimberlage:12153/mime-type-s3); r=aneeshusa
<!-- Please describe your changes on the following line: -->
This changes the script to pass the `--mime-type` option to `s3cmd`, as
described [here](http://s3tools.org/usage).  The MIME type used is
`application/octet-stream`.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #12153 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because this is a minimal change to the upload_nightly.sh script.

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 1b8a2643d1047a2caf537d6180e464b6daf7b539
2016-07-02 09:57:23 -07:00
Jacob Clark
aac2f5630a servo: Merge #12004 - Add servo-latest on upload-nightly (from imjacobclark:patch-1); r=aneeshusa
Allows for easy linking over to servo-nightly builds.

cc/ @larsbergstrom

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [ ] These changes fix #11987 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they are part of the CI infrastructure

Source-Repo: https://github.com/servo/servo
Source-Revision: 1877c40491d170f5e51749a166d291fca8237afd
2016-07-01 15:59:10 -07:00
Lars Bergstrom
4ccff072af servo: Merge #11971 - Commit to the correct s3 folder, not file (from larsbergstrom:s3_path)
Source-Repo: https://github.com/servo/servo
Source-Revision: b347c7bfb1919955a47ffcce0119502f76bc65bb
2016-06-30 15:18:42 -07:00
Lars Bergstrom
bf92aec1a2 servo: Merge #11959 - Change servo s3 build bucket name (from larsbergstrom:change_bucket_name); r=metajack
<!-- Please describe your changes on the following line: -->
This will allow us to push to URLs like:
http://servo-builds.s3.amazonaws.com/nightly/mac
instead of:
http://servo-developer-preview.s3.amazonaws.com/nightly/mac

We can have different directories for channels, individual releases, etc.

r? @edunham @metajack

cc @tschneidereit

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: d3a1a4ec7d936ecc0b431c09c3e9a7cc7b92538f
2016-06-30 10:05:35 -05:00
Aneesh Agrawal
a92be74d67 servo: Merge #11943 - Add a script to upload nightly packages to S3 (from aneeshusa:add-nightly-upload-script); r=larsbergstrom
<!-- Please describe your changes on the following line: -->

The nightly package name includes the date, and so we use a glob to
locate the package file without hard coding a value. However, globbing
will not work with our Buildbot steps setup because we perform word
splitting ourselves and pass an array to Buildbot, which will directly
exec the array instead of passing it to the shell, meaning globbing
does not occur. Instead, add a script to the servo repo where we can
use globbing, and use `shopt -s failglob` to guard against bad globs.

cc @larsbergstrom @edunham

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [ ] These changes are needed for #9921  (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because will be tested by buildbot

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 0f7e196da63a284fe8f1182a773a0546983d4b10
2016-06-29 21:40:15 -05:00
Matt Brubeck
fab2a6ac0e servo: Merge #11397 - Remove the layout trace viewer (from mbrubeck:layout-viewer); r=glennw
It hasn't worked for quite a while.  Alternately, maybe @glennw could investigate what's broken and file some issues to get it working again.

Source-Repo: https://github.com/servo/servo
Source-Revision: 3804ca1ad7edce934065e697289bdbda06277085
2016-06-08 14:46:25 -05:00
Mitchell Hentges
22e66c3da8 servo: Merge #11409 - Remove --faster flag from test-tidy, go fast by default. Fixes 11217 (from mitchhentges:test-tidy-faster-default); r=aneeshusa
Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data:
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #11217 (github issue number if applicable).

Either:
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they just change command-line options, which aren't tested

Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process.

This finishes #11267

Source-Repo: https://github.com/servo/servo
Source-Revision: ebb690d28c3c36ffba7059b64361fed3847861c7
2016-05-25 17:16:15 -05:00
Ms2ger
2678783a29 servo: Merge #11301 - Move pipeline into the constellation crate (from servo:pipeline); r=nox
Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data:
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy --faster` does not report any errors
- [ ] These changes fix #__ (github issue number if applicable).

Either:
- [ ] There are tests for these changes OR
- [x] These changes do not require tests because _____

Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process.

Source-Repo: https://github.com/servo/servo
Source-Revision: 27c457d7c5facfc60d8dc098c986733cc7dcb324

--HG--
rename : servo/components/compositing/pipeline.rs => servo/components/constellation/pipeline.rs
2016-05-21 07:34:22 -07:00
Alan Jeffrey
023e8ab01d servo: Merge #10910 - Removed sources of panic from ports/glutin (from asajeffrey:remove-unwrap-from-glutin-app); r=aneeshusa
Fixes #10547.

Source-Repo: https://github.com/servo/servo
Source-Revision: 5f34522fba8548ac763ec1eee1c9ec8178b11654
2016-05-20 10:06:00 -07:00
Alan Jeffrey
d01495f528 servo: Merge #11251 - Added test that files exist to etc/ci/check_no_unwrap.sh (from asajeffrey:check-no-unwrap-check-for-files); r=aneeshusa
Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data:
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy --faster` does not report any errors
- [X] No github issue.

Either:
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because this PR updates test code.

Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process.

Source-Repo: https://github.com/servo/servo
Source-Revision: 2d5dc8fa6db4d714c2018d78f502b3298a32cfaf
2016-05-19 07:25:12 -07:00
Alan Jeffrey
3b31d6f415 servo: Merge #11249 - Updated etc/ci/check_no_unwrap.sh for new constellation crate (from asajeffrey:check-no-unwrap-new-constellation-crate); r=KiChjang
Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data:
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy --faster` does not report any errors
- [X] No github issue.

Either:
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because this is updating our CI test code.

Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process.

Source-Repo: https://github.com/servo/servo
Source-Revision: dea610986dbf4a1e5898cbe6b57832784e786f3a
2016-05-18 20:12:04 -07:00
Aneesh Agrawal
11fc215349 servo: Merge #10948 - Clean up CI bash scripts (from aneeshusa:clean-up-ci-bash-scripts); r=emilio
Also reverts #9572.

Source-Repo: https://github.com/servo/servo
Source-Revision: 288db30cbe1e46b20ddd1fd885744a5868a081e8
2016-05-01 08:46:16 -07:00
askeing
1385b9e2ec servo: Merge #10917 - The manifest_changed.sh doesn't need binary to update the manifests (from askeing:fix_10909); r=aneeshusa
fix #10909

Source-Repo: https://github.com/servo/servo
Source-Revision: d3f55fbf60c72329a2c820bbc7ed1440e9966481
2016-04-30 08:37:27 -07:00
Alan Jeffrey
7e1062d6b5 servo: Merge #10902 - Remove panic! from the compositor (from asajeffrey:remove-explicit-panic-from-compositor); r=aneeshusa
Fixes #10864, and adds a check to `/etc/ci/check_no_unwrap.sh`.

r? @aneeshusa

Source-Repo: https://github.com/servo/servo
Source-Revision: f75fa5283e54aeca291fe865cd589e37b86cd8fe
2016-04-29 17:25:17 -07:00
Alan Jeffrey
775a20c691 servo: Merge #10899 - Added /etc/ci/chaos_monkey_test.py (from asajeffrey:chaos-monkey-ci); r=aneeshusa
Add a test to `/etc/ci` which runs a subset of `test-wpt` with `--random-pipeline-failure-probability=0.2`, and checks to make sure that there's no `CRASH` reports, so the constellation survived the experience, even if a lot of tests failed.

IRC conversation at http://logs.glob.uno/?c=mozilla%23servo&s=27+Apr+2016&e=27+Apr+2016#c416510

Fixes #10568.

r? @aneeshusa

Source-Repo: https://github.com/servo/servo
Source-Revision: a7a8eba13e799b707495a851b786009aa9652fea
2016-04-29 16:01:45 -07:00
Shing Lyu
c8a4e15a7f servo: Merge #10849 - Move buildbot step to yaml (from shinglyu:yaml); r=aneeshusa
This is a step of https://github.com/servo/saltfs/issues/316

After this patch lands, we'll PR the saltfs code to read from this yaml file, and dynamically generate test steps at runtime.

cc @aneeshusa @edunham

Source-Repo: https://github.com/servo/servo
Source-Revision: fbc575407d68a516a2b15a0d1c74150a9011aa9c
2016-04-27 21:23:04 -07:00
askeing
629563a5d9 servo: Merge #10818 - Put each unexpected dynamic symbols on its own line (from askeing:fix_10797); r=nox
fix #10797

Source-Repo: https://github.com/servo/servo
Source-Revision: bc2a88ad8f41087356e4936829ee1095bd7fc951
2016-04-26 02:24:02 -07:00
Simon Sapin
b45aa4fc4d servo: Merge #10749 - Prepare related files to make it easier to split up the Mako template (from servo:split-mako); r=nox
https://github.com/servo/servo/pull/10586#issuecomment-211490049

r? @nox

Source-Repo: https://github.com/servo/servo
Source-Revision: 3bfa4cc7414fea760ce5c503bfbcf25262acb9d7

--HG--
rename : servo/components/style/Mako-0.9.1.zip => servo/components/style/properties/Mako-0.9.1.zip
rename : servo/components/style/properties.html.mako => servo/components/style/properties/properties.html.mako
rename : servo/components/style/properties.mako.rs => servo/components/style/properties/properties.mako.rs
2016-04-21 10:09:09 +05:01
Matthias Krüger
27cc866366 servo: Merge #10448 - travis: add and run script which checks if listed files contain "unwrap". Should fix #10446 (from matthiaskrgr:travis); r=aneeshusa
Unfortunately there is a lot of python code in tidy.py that I don't understand yet, so I simply wrote a bash script to do the job and hooked it up in travis.yml.

Tests are expected to fail:

````
components/compositing/compositor.rs:758:        self.pipeline_details.get_mut(&pipeline_id).unwrap()
components/compositing/compositor.rs:2194:        RgbImage::from_raw(width as u32, height as u32, pixels).unwrap()
components/compositing/pipeline.rs:130:        let (paint_shutdown_chan, paint_shutdown_port) = ipc::channel().unwrap();
components/compositing/pipeline.rs:131:        let (layout_shutdown_chan, layout_shutdown_port) = ipc::channel().unwrap();
components/compositing/pipeline.rs:132:        let (pipeline_chan, pipeline_port) = ipc::channel().unwrap();
components/compositing/pipeline.rs:133:        let (script_to_compositor_chan, script_to_compositor_port) = ipc::channel().unwrap();
components/compositing/pipeline.rs:151:            let (script_to_devtools_chan, script_to_devtools_port) = ipc::channel().unwrap();
components/compositing/pipeline.rs:154:                let message: ScriptToDevtoolsControlMsg = message.to().unwrap();
components/compositing/pipeline.rs:155:                devtools_chan.send(DevtoolsControlMsg::FromScript(message)).unwrap()
components/compositing/pipeline.rs:161:            ipc::channel().unwrap();
components/compositing/pipeline.rs:174:                    pipeline_port: mem::replace(&mut pipeline_port, None).unwrap(),
components/compositing/pipeline.rs:180:                           .unwrap();
components/compositing/pipeline.rs:184:                let (script_chan, script_port) = ipc::channel().unwrap();
components/compositing/pipeline.rs:190:            ipc::channel().unwrap();
components/compositing/pipeline.rs:298:        let (sender, receiver) = ipc::channel().unwrap();
components/compositing/pipeline.rs:300:        receiver.recv().unwrap();
components/compositing/pipeline.rs:315:        let _ = self.script_chan.send(ConstellationControlMsg::Freeze(self.id)).unwrap();
components/compositing/pipeline.rs:319:        let _ = self.script_chan.send(ConstellationControlMsg::Thaw(self.id)).unwrap();
components/compositing/pipeline.rs:323:        let _ = self.script_chan.send(ConstellationControlMsg::ExitPipeline(self.id)).unwrap();
components/compositing/pipeline.rs:326:        let _ = layout_channel.send(LayoutControlMsg::ExitNow).unwrap();
components/compositing/pipeline.rs:343:        let index = self.children.iter().position(|id| *id == frame_id).unwrap();
components/compositing/pipeline.rs:355:        self.script_chan.send(event).unwrap();
components/compositing/pipeline.rs:402:            control_port: mem::replace(&mut self.script_port, None).unwrap(),
components/compositing/pipeline.rs:423:                                  self.pipeline_port.unwrap(),
components/compositing/pipeline.rs:437:            self.script_content_process_shutdown_port.recv().unwrap();
components/compositing/pipeline.rs:438:            self.layout_content_process_shutdown_port.recv().unwrap();
components/compositing/constellation.rs:464:            IpcOneShotServer::<IpcSender<UnprivilegedPipelineContent>>::new().unwrap();
components/compositing/constellation.rs:468:            let mut command = sandbox::Command::me().unwrap();
components/compositing/constellation.rs:474:            let path_to_self = env::current_exe().unwrap();
components/compositing/constellation.rs:478:            ChildProcess::Unsandboxed(child_process.spawn().unwrap())
components/compositing/constellation.rs:482:        let (_receiver, sender) = server.accept().unwrap();
components/compositing/constellation.rs:835:            stderr.write_all("Pipeline failed in hard-fail mode.  Crashing!\n".as_bytes()).unwrap();
components/compositing/constellation.rs:1621:            let (sender, receiver) = ipc::channel().unwrap();
components/compositing/constellation.rs:1657:                        let (sender, receiver) = ipc::channel().unwrap();
components/compositing/constellation.rs:1659:                        layout_chan.send(LayoutControlMsg::GetCurrentEpoch(sender)).unwrap();
components/compositing/constellation.rs:1660:                        let layout_thread_epoch = receiver.recv().unwrap();
components/compositing/constellation.rs:1838:                let (chan, port) = ipc::channel().unwrap();
````

Source-Repo: https://github.com/servo/servo
Source-Revision: c56eb65b7c117911bc63fdb695705abc2606211e
2016-04-09 00:08:05 +05:01
Jussi Räsänen
38a13b3488 servo: Merge #10208 - Generate html and json of supported css properties (from jrasanen:jr/issue10196); r=SimonSapin
Fixes #10196. Outputs html and json of supported css properties to `target/doc/` directory when deploying github-pages.

Source-Repo: https://github.com/servo/servo
Source-Revision: df73a18a61e57f62e2e17541d45dcd3818b35b7c
2016-03-29 13:05:08 +05:01
Lars Bergstrom
5c1f5109b8 servo: Merge #10193 - Use rustflags (from larsbergstrom:use_rustflags); r=Ms2ger
r? @Ms2ger

Source-Repo: https://github.com/servo/servo
Source-Revision: a211bd1a12254a6a08987bb61f30c8b0e5ce2830
2016-03-25 22:13:17 +05:01
Aneesh Agrawal
5e8b17341f servo: Merge #10097 - Add Python 3 compatibility to Android symbol checker (from aneeshusa:make-dynamic-symbol-checking-script-python3-compatible); r=Ms2ger
Make the script that checks for undefined Android symbols compatible
with both Python 2 and Python 3, to allow for future updates to the
default system Python on our build machines.

I'd like to land this before https://github.com/servo/saltfs/pull/249.

We currently use Ubuntu 14.04 (an LTS release); Ubuntu is aiming for Python 3 as the default Python in the next LTS release, 16.04, and I'd like to have any scripts be ready for the transition.

Do we have a Python 2/3 compatibility policy?

cc @cengizIO @larsbergstrom

Source-Repo: https://github.com/servo/servo
Source-Revision: 691367745ad27ef79d67e4dc9be679eb969fdd96
2016-03-21 13:21:00 +05:01
Cengiz Can
2fb0f49f37 servo: Merge #9981 - Add a script to CI to check dynamic symbols in Android binary #8351 (from cengizIO:master); r=larsbergstrom
Tries to fix #8351.

This is meaningful only with the PR to servo/saltfs

Cross PR: https://github.com/servo/saltfs/pull/249

Source-Repo: https://github.com/servo/servo
Source-Revision: 1db70db28444708df05dda1b3b38c75aa4f36505
2016-03-19 20:56:10 +05:01
Simon Sapin
d6492e5b27 servo: Merge #9894 - Use rustdoc’s new --passes strip-priv-imports flag (from servo:strip-priv-imports); r=Ms2ger
https://github.com/rust-lang/rust/pull/32055

This will make e.g. http://doc.servo.org/servo/index.html#reexports stop listing `extern crate` and `use` statements that don’t have `pub`.

Source-Repo: https://github.com/servo/servo
Source-Revision: 1453f438256afe92b0f79980c984824aac4afeae
2016-03-08 09:17:29 +05:01
Ms2ger
1a1ad99988 servo: Merge #9822 - Update CSS tests to revision 7d0ff6117ee51720c307ea24d413d13eb5abf3e6 (from Ms2ger:css-20160301); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: ae67ae9cdb3f102a71af4ec45e88e5751e564a0e
2016-03-01 23:31:42 +05:01
Manish Goregaokar
76728aef5c servo: Merge #9572 - Add CI script to retry builds (from Manishearth:retry-n); r=larsbergstrom
We can then run test-ref as `retry.sh 2 ./mach test-ref ....`

We could also have this curl to some server with information on the
intermittent; so that we can keep track of these separately. It would also be
nice to have crowbot report them in chat (@jdm, is this possible?) and have
something comment on GH with a cross-reference.

This isn't too different from what we do already, we mostly just file or link to
an intermittent hit retry, and move on.

r? @larsbergstrom

cc @jack @edunham

Source-Repo: https://github.com/servo/servo
Source-Revision: 8ce3d0f8b7ebb4954f906c7523c434c0a90c8a71
2016-02-10 00:31:24 +05:01
Lars Bergstrom
cfb7ea2139 servo: Merge #9449 - Revert "Remove gold hack, since it's in rustc automatically now" (from larsbergstrom:revert_gold_removal); r=mbrubeck
This reverts commit 2955d895a4d723bc616f37a55a973c677318a950.

r? @mbrubeck

Source-Repo: https://github.com/servo/servo
Source-Revision: 220ead14b16c8965335a6d54e037f2e30fc634ea
2016-02-01 14:28:02 +05:01
Lars Bergstrom
928d1d2132 servo: Merge #9093 - Update to rustc 1.7.0-nightly (b4707ebca 2015-12-27) (from servo:rustup); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: 4cb2c87982355bdf2a2dd409db71d0d4ed6f9a85
2016-01-15 19:08:07 +05:01
Alan Jeffrey
7c03775c43 servo: Merge #9011 - Add a valgrind suppression file (from asajeffrey:add_valgrind_suppression_file); r=metajack
Adding a suppression file reduces the number of false positives from memcheck. Run with:
```
valgrind --suppressions=etc/valgrind-memcheck.supp servo ...
```
For the moment, this just switches off the warnings generated by jemalloc.

Source-Repo: https://github.com/servo/servo
Source-Revision: f3e921a584e4254ff009c0494c48f9e3b6559c91
2015-12-18 08:11:47 +05:01
Martin Feckie
da0049d5da servo: Merge #8601 - Check if MANIFEST.json changes as per #8587 (from mfeckie:feature/manifest-diff-ci-check); r=jdm
Adds a script which checks if either of the MANIFEST.json files change in `test/wpt` in response to #8587

- Addresses currently incorrect MANIFEST.json
- Adds checking script

PR for saltfs to add to CI checks to follow (https://github.com/servo/saltfs/pull/163)

https://reviewable.io/reviews/servo/servo/8601

Source-Repo: https://github.com/servo/servo
Source-Revision: f2fe1171d2a4f4ae37cfa0e0e345662f68e41c5d
2015-11-21 19:44:10 +05:01
Manish Goregaokar
e7214d70d4 servo: Merge #8361 - Add script to check if lockfile was changed (from Manishearth:lockfile_changed); r=frewsxcv
Source-Repo: https://github.com/servo/servo
Source-Revision: 60d40ed06afced66b5a76fc824132fb244265f06
2015-11-06 01:49:39 +05:01
Corey Farwell
2060f1d53f servo: Merge #8036 - Travis CI building cleanup, enable caching (from frewsxcv:travis); r=metajack
The only reason the Dockerfile was introduced is because the default
machines that Travis uses are based on Ubuntu 12.04, which has some very
old incompatible dependencies with Servo. Docker allowed use to use a
new version of Ubuntu, allowing us to compile with ease. I just learned
that they are currently beta testing 14.04 support:

http://docs.travis-ci.com/user/trusty-ci-environment/

This commit updates our Travis config to remove our dependency on Docker
and just build directly on the images, reducing some complexity and also
overhead of downloading Docker images.

In addition, this commit also enables caching of the .servo and .cargo
directories on Travis in an attempt to reduce build times.

http://docs.travis-ci.com/user/caching/#Arbitrary-directories

Source-Repo: https://github.com/servo/servo
Source-Revision: 628c2a04326b27ac2743771dca52612c8ce30ad2
2015-10-16 14:09:36 -06:00
Ms2ger
02066dd7ac servo: Merge #8051 - Remove long-obsolete /etc/patches directory (from Ms2ger:patches); r=larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: ef1f0479adac4b777bcfe5563c732612d353d08a
2015-10-16 09:30:14 -06:00
Corey Farwell
c17a75ed5f servo: Merge #7915 - Build Servo on Travis (from frewsxcv:travis); r=larsbergstrom
Closes #6962

Source-Repo: https://github.com/servo/servo
Source-Revision: e5b46eb919461531b8bf5a79fc0c5e6e1ec94c75
2015-10-08 09:00:28 -06:00
Simon Sapin
1469585622 servo: Merge #7249 - Only use a rustc wrapper script when ld.gold is available (from servo:gold); r=paulrouget
Fixes #7247.

Source-Repo: https://github.com/servo/servo
Source-Revision: 95c6301cf4572c0ea552868107514a2261c43022
2015-08-17 01:26:26 -06:00
Simon Sapin
302093ef6a servo: Merge #7229 - Use the gold linker when available (from servo:gold); r=metajack
This shaves 50 seconds off the build time on my machine.

Source-Repo: https://github.com/servo/servo
Source-Revision: a1aed50b5a2686015bc3a17ec891a56eef8c1fc9
2015-08-15 10:25:26 -06:00
Simon Sapin
ee4195f361 servo: Merge #6668 - Make doc comments not truncated again (from servo:untruncated-docs); r=Ms2ger
`rustdoc --passes "collapse-docs unindent-comments"` doesn’t work is intended. It still generate HTML files that look alright at a glance, but all doc-comments are truncated to their first line for some reason I don’t understand.

See http://doc.servo.org/script/dom/index.html for example. The module documentation there is currently just “The implementation of the DOM.”, but clicking the [src] link shows a much larger doc-comment.

The correct invocation is to use `--passes` multiple times.

https://github.com/rust-lang/rust/issues/15347#issuecomment-122785714

Source-Repo: https://github.com/servo/servo
Source-Revision: 685a44e1f5017849c341850696a77418bcc14011
2015-07-19 19:32:41 -06:00
Simon Sapin
340252533c servo: Merge #6655 - Include private items in ./mach doc and http://doc.servo.org/ (from servo:rustdoc-private); r=Manishearth
See https://github.com/rust-lang/rust/issues/15347

Source-Repo: https://github.com/servo/servo
Source-Revision: a24783df4be2641afab3aa72626f9c59f90d49af
2015-07-17 08:40:27 -06:00
Jack Moffitt
a44285c32d servo: Merge #6306 - Use Cargo's target directory sharing (from metajack:shared-target-dir); r=mbrubeck
This speeds up `./mach build --dev` followed by `./mach build-cef` by
25%. When rust-lang/cargo#497 is fixed, this speedup will increase
dramatically.

Source-Repo: https://github.com/servo/servo
Source-Revision: d6263c9b6e969fde4c644034e684a39d68667ad9
2015-06-15 13:08:14 -06:00
Corey Farwell
5ddbba3c32 servo: Merge #6279 - Add flake8 to the tidy process for Python files (from frewsxcv:flake8); r=jdm
Fixes #6236

Also included in this commit are the changes need to make flake8 pass
for the existing python file

Source-Repo: https://github.com/servo/servo
Source-Revision: ccfe29d8f284dedc0101045d574a98fb1f69aa62
2015-06-04 10:41:36 -05:00
Matt Brubeck
72f80d2ba2 servo: Merge #5763 - Update layout viewer docs (from mbrubeck:trace-layout-readme); r=glennw
r? @glennw

Source-Repo: https://github.com/servo/servo
Source-Revision: 69a2c45b34124dc8b4b53806550b783abe041bc3
2015-04-20 16:50:12 -05:00
Manish Goregaokar
62228ef5fe servo: Merge #4741 - Basic certificate verification (from Manishearth:cert-checking); r=jdm
For now, this can only be tested by replacing `resources/certs` with `resources/cert-google-only` (an Equifax certificate -- will work for Google but not Wikipedia or Stack Exchange)

I can replace the error page with something less frivolous, but since we already have the "I tried" star (and this stuff is the job of the chrome anyway), I thought this would be more fun to have.


This also contains a partial hyper upgrade.

Fixes #4119

Source-Repo: https://github.com/servo/servo
Source-Revision: 2010fbf0ddabdaf3bcb52c5f2075e7d994fc63ec
2015-01-31 03:42:48 -07:00
Simon Sapin
23afaf9d7d servo: Merge #4142 - Have mach doc copy Rust docs, add mach browse-doc (from SimonSapin:refactor-doc); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 6d1193547b3d6cb1f36edcd61ff0a2572a817bf8
2014-12-03 16:27:56 -07:00
Simon Sapin
2d8a1f7245 servo: Merge #4140 - Move the root Cargo.toml to components/servo, and warn when Cargo is run directly (from SimonSapin:no-root-cargo-toml); r=SimonSapin
This fixes #3957, and allow #4115 not to regress #4099.

Source-Repo: https://github.com/servo/servo
Source-Revision: 873ca6cadddc1a40bead1f5dd0128bb16cfaa11b

--HG--
rename : servo/Cargo.lock => servo/components/servo/Cargo.lock
rename : servo/src/lib.rs => servo/components/servo/lib.rs
rename : servo/src/main.rs => servo/components/servo/main.rs
2014-12-02 19:27:51 -07:00