Commit Graph

6338 Commits

Author SHA1 Message Date
Corey Farwell
939c774f41 servo: Merge #10725 - A few minor net component cleanups (from frewsxcv:net-cleanup); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: bebc1dc859192d7fdcfc53e550cbf51343f4375a
2016-04-20 05:01:59 +05:01
Matt Brubeck
4781925f69 servo: Merge #10718 - Lower the logging level of a really chatty fn (from mbrubeck:trace); r=jdm
Reduces the amount of spew when running with settings like `RUST_LOG=script=debug`.

Source-Repo: https://github.com/servo/servo
Source-Revision: 82873d688e9260b5fc755ec16eec959d94a5cb14
2016-04-20 03:07:52 +05:01
Patrick Walton
9d60fb7977 servo: Merge #10717 - layout: Implement support for overflow: scroll in WebRender (from pcwalton:wr-overflow-scroll); r=glennw
Requires a WebRender upgrade.

r? @glennw

Source-Repo: https://github.com/servo/servo
Source-Revision: 64b0dafde8f65ef4aceeb85436c547a1581c619f
2016-04-20 02:26:44 +05:01
edunham
8391ee712f servo: Merge #10715 - Allow another wording of apache2/MIT (used by gaol) (from edunham:tidy-licenses); r=larsbergstrom
r? @larsbergstrom

need this for https://github.com/servo/servo/issues/10636

Source-Repo: https://github.com/servo/servo
Source-Revision: a129ce1bccf313db85547a5c32ecf8cd7aac489b
2016-04-20 01:31:16 +05:01
Ms2ger
b29def4f49 servo: Merge #10708 - Fix some compile warnings (from Ms2ger:warnings); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 4d5fa963fdcf9ec9287eac762bf6afafdbee5f41
2016-04-19 23:06:34 +05:01
Alan Jeffrey
0dd4afb363 servo: Merge #10641 - Dedicated panic channel (from asajeffrey:dedicated-panic-channel); r=Manishearth
Added a dedicated panic channel, and removed the panic messages for the script and layout threads. This is needed so that other threads can report panics, which is part of #10334.

Note that this PR includes the commit from #10572, so should land after it lands.

r? @Manishearth

Source-Repo: https://github.com/servo/servo
Source-Revision: bd4b3a66a2aa57ab6fa881e3cc11091edc494a68
2016-04-19 21:29:07 +05:01
Arnaud Marant
11fea26f4a servo: Merge #10634 - Issue #10574 Use the document base url in img (from amarant:10574-image-document-base); r=metajack
add a test with base path set to the resources path and an img with a cat and the reference directly to the image

Source-Repo: https://github.com/servo/servo
Source-Revision: 3d4416e1b0ae758e68900f725979238cc0128f8b
2016-04-19 20:22:18 +05:01
Nazım Can Altınova
cc0ad63090 servo: Merge #10592 - Use the document base url when resolving stylesheets (from canaltinova:stylesheet_with_base); r=Ms2ger
Use the document base url when resolving stylesheets. Fixes #10575 .

Source-Repo: https://github.com/servo/servo
Source-Revision: a7c885706ec4bd526b00ecad5d870415ae6cc1e1
2016-04-19 16:51:32 +05:01
Corey Farwell
9ab0516061 servo: Merge #10695 - Avoid unnecessary net_traits::LoadData clone (from frewsxcv:no-clone); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: 407c43fadedab02614e5d5c6b5a9d55e7632e991
2016-04-19 10:41:18 +05:01
Martin Robinson
2728e5cc53 servo: Merge #10678 - WebRender no longer needs StackingLevel information (from mrobinson:remove-stackinglevel-from-webrender); r=pcwalton
Since the display list is already sorted before it is passed to
WebRender, we don't need to pass the stacking level information any
longer. Update webrender, webrender_traits, and gleam.

Source-Repo: https://github.com/servo/servo
Source-Revision: 062d933e4fb4a58d9dc319ec2b462f3c1d504d8a
2016-04-19 10:00:21 +05:01
David Zbarsky
433de7f243 servo: Merge #10652 - Prevent use of reserved names in BindAttribLocation (from dzbarsky:reserved); r=dzbarsky
(Depend on the WebGL tests landing)

Source-Repo: https://github.com/servo/servo
Source-Revision: 82b952c03f94c0b8433a9fccbe9b66aa7e704924
2016-04-19 09:17:24 +05:01
rwa
acceb114f9 servo: Merge #10689 - Handle URLError in download() #10679 (from rwakulszowa:bootstrap-disconnected-message); r=Wafflespeanut
Print a human-friendly message if there is no internet connection.

Source-Repo: https://github.com/servo/servo
Source-Revision: f73c6143d5375db80fd2e0b7de96a99c78b5866b
2016-04-19 07:54:36 +05:01
Matt Brubeck
1c79d5da6a servo: Merge #10688 - Update Cargo to 2016-04-17 nightly (from mbrubeck:cargo-up); r=Manishearth
To pick up rust-lang/cargo#2534 and other recent fixes.

Source-Repo: https://github.com/servo/servo
Source-Revision: 42eb9c63a1e11e9363efe9187b35d39fc4475b49
2016-04-19 07:13:04 +05:01
Josh Matthews
a575d15986 servo: Merge #10687 - Encourage better documentation patterns (from jdm:docs); r=larsbergstrom
https://github.com/servo/servo/wiki/Glossary is really easy to overlook, so I want to move it in-tree. This also allows us to build a self-perpetuating system where people who are confused by something are encouraged to make a pull request that lets us know about this fact.

Also, I have suspicions that a `docs/` directory is easier to notice than various markdown files scattered around the repository root.

Source-Repo: https://github.com/servo/servo
Source-Revision: 6509cdea95343615cfd569ade769efac6d177e41

--HG--
rename : servo/HACKING_QUICKSTART.md => servo/docs/HACKING_QUICKSTART.md
rename : servo/ORGANIZATION.md => servo/docs/ORGANIZATION.md
2016-04-19 05:44:00 +05:01
Corey Farwell
d9806fb51f servo: Merge #10672 - Improvements to network preferences, HTTP redirection limiting (from frewsxcv:net-network); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: 80662f1e4e3054415700f1d82896bd76626b022d
2016-04-19 03:37:25 +05:01
Alan Jeffrey
dd30b59029 servo: Merge #10551 - Trigger mozbrowsererror event when a pipeline fails (from asajeffrey:trigger-mozbrowsererror-event); r=jdm
Addresses part of #10334 (it fires the event, but does not include a backtrace).

Source-Repo: https://github.com/servo/servo
Source-Revision: 4001a24c461f6826cb2d1b1ab270b23a95a3a6c9
2016-04-19 02:34:46 +05:01
askeing
74c4289c9f servo: Merge #10653 - Cleanup tidy for external deps (from askeing:cleanup_tidy_for_external_deps); r=edunham
fix #10639

Source-Repo: https://github.com/servo/servo
Source-Revision: 4d80e0634ed58580a7d30fc7f57e6bdf4aa4e19d
2016-04-19 01:52:01 +05:01
Greg Guthe
d400f08881 servo: Merge #10508 - Insert row (from g-k:insert-row); r=KiChjang
Fixes #9269

Source-Repo: https://github.com/servo/servo
Source-Revision: 19a5a9ad081548b1ca03a1ce98857c32be5404b1
2016-04-19 01:09:38 +05:01
Corey Farwell
c43335a056 servo: Merge #10640 - Cleanup code regarding mimesniff 'apache bug' (from frewsxcv:apache-flag); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: 6edcad206d0888da1ba845e80d020c488c747131
2016-04-18 23:47:12 +05:01
Peter
ee38b14a80 servo: Merge #10667 - Updated euclid to version 0.6.5 (from peterjoel:euclid_0.6.5); r=frewsxcv
And updated existing usages of Matrix4 to use Matrix4D<T>

This version is necessary to complete DOMMatrix implementation.

Source-Repo: https://github.com/servo/servo
Source-Revision: 6056ecd8519f574c2ea9037a919a63edba17d032
2016-04-18 22:48:14 +05:01
Emilio Cobos Álvarez
d4908e0af0 servo: Merge #10682 - servo: Bump glutin (from emilio:glutin-update); r=Ms2ger
Fixes #10475

Source-Repo: https://github.com/servo/servo
Source-Revision: 080880b46a77eb84dc110e337f09d56d7d695ee2
2016-04-18 17:14:37 +05:01
Yoav Alon
4edd9117b1 servo: Merge #10677 - update url crate (from yoava333:master); r=jdm
This fixes https://github.com/servo/servo/issues/10548

Source-Repo: https://github.com/servo/servo
Source-Revision: 8819dab4e3e13414c99844c81bfa2d7cf2bee687
2016-04-18 06:11:03 +05:01
Keith Yeung
db9fff8daa servo: Merge #10674 - Avoid generating parameter names that are Rust keywords (from KiChjang:codegen-avoid-rust-keywords); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: f93379ff4e33a74922b859ac2be14c43c58ec24f
2016-04-18 04:41:43 +05:01
Peter
373210dc8b servo: Merge #10669 - gitignore: /python/tidy/servo_tidy.egg-info/ (from peterjoel:gitignore_python); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: a76af66abbf9efb217162eba270d0f332254992b
2016-04-18 00:44:41 +05:01
Corey Farwell
60a86d0dbb servo: Merge #10666 - Refactor, cleanup HSTS related code (from frewsxcv:hsts-cleanup); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 317629d86e323fca8603ce278e76e1be7758dd3a
2016-04-17 23:21:13 +05:01
Alberto Corona
e70b7e0a13 servo: Merge #10612 - Implement HTMLTextArea.setSelectionRange (continuation of #10007) (from autrilla:textdir); r=emilio
Tests on `tests/wpt/web-platform-tests/html/semantics/forms/textfieldselection/textfieldselection-setSelectionRange.html` all pass and the other tests don't panic due to double borrows anymore.

cc: @KiChjang

Fixes #9994.

Source-Repo: https://github.com/servo/servo
Source-Revision: b00c2740e300fd7b8c18276d8d416a9f78c42674
2016-04-17 21:29:31 +05:01
Zbynek Winkler
c39453b1f4 servo: Merge #10664 - Use os.path.basename instead of split('/')[-1] (from zwn:os-path-basename); r=Wafflespeanut
Fixes #10596. I have split up this commit from  #10618 as it seem the easiest to review.

Source-Repo: https://github.com/servo/servo
Source-Revision: bae2ab0771972874e9039754e11a2f54c1aae29c
2016-04-17 20:47:08 +05:01
Adrian Utrilla
7d4e1d95db servo: Merge #10620 - Improved readability of ensure_bootstrapped (from autrilla:mach-command-improvements); r=Wafflespeanut
Source-Repo: https://github.com/servo/servo
Source-Revision: a87fa103b89213b9306be35dd26980aed22207e0
2016-04-17 10:52:41 +05:01
Corey Farwell
8c9ff73738 servo: Merge #10662 - Make read_resource_file param simpler and more idiomatic (from frewsxcv:resource-param); r=jdm
`<P: AsRef<Path>>` is also what `File::open` uses as a generic type for
the parameter.

Source-Repo: https://github.com/servo/servo
Source-Revision: 9935e82de6854b334e3b7ce3bd2816c736c38650
2016-04-17 10:11:30 +05:01
Matt Brubeck
9d107fde9d servo: Merge #10655 - Update margins when merging inline fragments (from mbrubeck:merge-margin); r=SimonSapin
Fixes #10633.  r? @pcwalton

Source-Repo: https://github.com/servo/servo
Source-Revision: fd994c457eabc9163dfef4c97f757dca97af76ff
2016-04-17 07:49:04 +05:01
Matt Brubeck
e0e04db4c0 servo: Merge #10643 - Fix handling of borders and padding for empty/stripped inline flows (from mbrubeck:empty-span-border); r=pcwalton
This forces fragment generation for empty inline flows, if they have borders or padding.  Fixes #10533 and #2001.  Also includes fixes for other bugs that were uncovered by this change; see the individual commit messages for detailed explanations.  r? @pcwalton

Source-Repo: https://github.com/servo/servo
Source-Revision: 15e76eb6e2c00ba26b65df73f1954ccada7509cf
2016-04-17 03:02:12 +05:01
Josh Matthews
6873f38158 servo: Merge #10650 - Disable tinyfiledialogs on non-OS X and Linux platforms (from jdm:disabletfd); r=KiChjang
I haven't been able to fix the appveyor build yet, so this gives us back a usable Windows build.

Source-Repo: https://github.com/servo/servo
Source-Revision: cc290c6e8a3a8576e57e48dd21fa74aa0e1cf3a9
2016-04-17 02:21:19 +05:01
Keith Yeung
497a30e5dd servo: Merge #10628 - Add missing gecko keyword values to styles (from KiChjang:extra-gecko-values); r=bholley
Not sure if I caught them all.
Part of #10408.

r? @bholley

Source-Repo: https://github.com/servo/servo
Source-Revision: cc32c66e28f129e7ec14c5a55b5f2448a6994495
2016-04-17 00:59:31 +05:01
Rizky Luthfianto
17ed0bc790 servo: Merge #10649 - Fix Document#elementFromPoint no viewport available test (from rilut:fix-elementFromPoint-no-viewport-available-test); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: e0a100cacb812113a43b7425d8878fb1c6d153db
2016-04-16 16:10:06 +05:01
Patrick Walton
135a9937aa servo: Merge #10644 - layout: Make absolutely-positioned blocks not generate {ib} splits (from pcwalton:absolute-ib-split); r=mbrubeck
Improves YouTube.

Closes #10642.

r? @mbrubeck

Source-Repo: https://github.com/servo/servo
Source-Revision: 86778a0d714e4e9d2696d54ec422aede47ba3cb9
2016-04-16 06:29:47 +05:01
edunham
cbb91b0763 servo: Merge #10635 - Docs and cleanup after moving tidy (from edunham:tidy-cleanup); r=larsbergstrom
Missed a couple things in https://github.com/servo/servo/pull/10590

`licenseck.py` was moved into `tidy/servo_tidy/licenseck.py` by the prior PR

r? @larsbergstrom (sorry for PR spamming today)

Source-Repo: https://github.com/servo/servo
Source-Revision: 9d23d7c0d98e24995243487b55abbf2acd1ec354
2016-04-16 05:36:09 +05:01
Michael Howell
c0999c0262 servo: Merge #10637 - layout: Do not propagate floats in or out of absolutely positioned flows (from notriddle:absolute_float_line_height); r=pcwalton
Fixes #10625

Source-Repo: https://github.com/servo/servo
Source-Revision: 812c4ad69916e29fe2743cee02ab71b000050987
2016-04-16 04:56:12 +05:01
Manish Goregaokar
1cd5be49cf servo: Merge #10572 - Replace watcher threads with panic handlers (from Manishearth:and-now-his-watch-is-ended); r=asajeffrey
Source-Repo: https://github.com/servo/servo
Source-Revision: ccfd768c4bd6874c67f1c45c23d770f617452a07
2016-04-16 03:34:41 +05:01
Matthias Krüger
72894fb27b servo: Merge #10482 - readme: add build status badges (from matthiaskrgr:readme); r=jdm
Preview can be seen here:

https://github.com/matthiaskrgr/servo/tree/readme#the-servo-parallel-browser-engine-project

Source-Repo: https://github.com/servo/servo
Source-Revision: f736d8a261b0291f66100f1f3cd84f80936a2e03
2016-04-16 01:33:49 +05:01
Adrian Utrilla
3dae856f68 servo: Merge #10616 - #10614: Mach install now builds servo if it hasn't been built before (from autrilla:10614); r=edunham
Source-Repo: https://github.com/servo/servo
Source-Revision: 7c615233d88967f79efbf78618eda3f3a8479e88
2016-04-16 00:13:04 +05:01
Rizky Luthfianto
e2b0095765 servo: Merge #10426 - Fix Document#elementsFromPoint no viewport available test (from rilut:fix-elementsFromPoint-no-viewport-available-test); r=nox
Fixes #10093 and improves #10034.

Source-Repo: https://github.com/servo/servo
Source-Revision: 44d7657487797575bb47aa295a13b496dd2cd69c
2016-04-15 23:32:23 +05:01
askeing
653eddd3d8 servo: Merge #10590 - Package tidy (from edunham:package-tidy); r=larsbergstrom
This fixes https://github.com/servo/servo/issues/861.

@askeing, I've copied your work from https://github.com/askeing/servo_tidy and attributed the commit to you. My commit in this PR is Git housekeeping to preserve `tidy`'s history. If you'd like to make additional changes, I've given you and @shinglyu push access to my fork of Servo. Apologies if this is already familiar, but the workflow for pushing to my branch is:

```
$ git remote add edunham git@github.com:edunham/servo.git
$ git checkout -b package-tidy
$ git pull edunham package-tidy
$ git push edunham package-tidy
```

Once this lands, I'll look at how to publish it to PyPI and automate that process.

Please don't merge this yet; we still need to discuss how the change should work around https://github.com/servo/servo/blob/master/python/servo/testing_commands.py#L33 , as I've yet to figure out how to get the egg to actually expose its tests.

Source-Repo: https://github.com/servo/servo
Source-Revision: bfe54539d290cb287e59e8ba106a54a3fab6201a

--HG--
rename : servo/python/tidy_self_test/__init__.py => servo/python/tidy/servo_tidy/__init__.py
rename : servo/python/licenseck.py => servo/python/tidy/servo_tidy/licenseck.py
rename : servo/python/tidy.py => servo/python/tidy/servo_tidy/tidy.py
rename : servo/python/servo/__init__.py => servo/python/tidy/servo_tidy_tests/__init__.py
rename : servo/python/tidy_self_test/incorrect_license.rs => servo/python/tidy/servo_tidy_tests/incorrect_license.rs
rename : servo/python/tidy_self_test/long_line.rs => servo/python/tidy/servo_tidy_tests/long_line.rs
rename : servo/python/tidy_self_test/rust_tidy.rs => servo/python/tidy/servo_tidy_tests/rust_tidy.rs
rename : servo/python/tidy_self_test/spec.webidl => servo/python/tidy/servo_tidy_tests/spec.webidl
rename : servo/python/tidy_self_test/speclink.rs => servo/python/tidy/servo_tidy_tests/speclink.rs
rename : servo/python/tidy_self_test/test.toml => servo/python/tidy/servo_tidy_tests/test.toml
rename : servo/python/tidy_self_test/tidy_self_test.py => servo/python/tidy/servo_tidy_tests/test_tidy.py
rename : servo/python/tidy_self_test/tidy_self_test.py => servo/python/tidy/servo_tidy_tests/tidy_self_test.py
rename : servo/python/tidy_self_test/whatwg_link.rs => servo/python/tidy/servo_tidy_tests/whatwg_link.rs
rename : servo/python/tidy_self_test/wrong_space.rs => servo/python/tidy/servo_tidy_tests/wrong_space.rs
2016-04-15 22:51:16 +05:01
Bobby Holley
0b54c5204d servo: Merge #10627 - Use kwargs in mako to reduce all the parameters (from bholley:mako_kwargs); r=SimonSapin
This should keep things more manageable.

Source-Repo: https://github.com/servo/servo
Source-Revision: a96b98f85b2e4dce88a48c844d251546ada8afdf
2016-04-15 22:10:48 +05:01
Corey Farwell
e2bedbee0f servo: Merge #10629 - Flatten a couple net implementations (from frewsxcv:flatten); r=Ms2ger
Working on some of the TLS related code in `net` and tried to clean up a couple implementations along the way.

Source-Repo: https://github.com/servo/servo
Source-Revision: f39ec2b15e7db394c8ca375dd1b85081d6d790a5
2016-04-15 18:21:39 +05:01
Alan Jeffrey
312201429e servo: Merge #10345 - Replace side-effecting unwrap_or_else by if let in constellation (from asajeffrey:make-nox-happy); r=nox
This addresses @nox's comments in #10295.

Source-Repo: https://github.com/servo/servo
Source-Revision: 6c5cfb738a050944e2f7494f19f9272523ca155b
2016-04-15 17:06:45 +05:01
Manish Goregaokar
c50e0c18dd servo: Merge #10585 - Rust upgrade to 2016-04-12 (from servo:rustup_20160414); r=Ms2ger
This currently spews out a ton of ld errors of the form

```
/home/manishearth/Mozilla/.cargo/git/checkouts/mozjs-06d7f04b6dbb8a8e/master/mozjs/js/src/jit/JitFrameIterator.h:455: error: undefined reference to 'js::jit::SnapshotReader::readAllocation()'
```

cc @nox

Source-Repo: https://github.com/servo/servo
Source-Revision: 3b96bba1d523f9b8c01581a7004f1bdd04a11f73
2016-04-15 16:26:01 +05:01
Josh Matthews
d524089dcb servo: Merge #10555 - Remove unnecessary indirection in HTTP unit tests (from jdm:http_response_refactor); r=ms2ger
Many of the HTTP unit tests use a custom request factory as well as a custom request that contained test logic. This is unnecessarily convoluted, and exists solely because the complete set of headers was unavailable until the request body was sent. These patches restructure the header manipulations so that the headers are available when the request object is created, allowing the test logic to move into the test factories, and enabling the deletion of almost all of the test request types.

Source-Repo: https://github.com/servo/servo
Source-Revision: eb78e21fbe05215a798af954bbe82bd41071a94b
2016-04-15 12:15:59 +05:01
Stephen (Ziyun) Li
1f581141ac servo: Merge #10626 - Use the document base url when resolving iframe URLs (from sliz1:10576); r=KiChjang
Fixes #10576.

Source-Repo: https://github.com/servo/servo
Source-Revision: 7faa3ed9cb87ebfa62554940e916bb7e4d04512b
2016-04-15 09:34:51 +05:01
Daniel
e8c0268d64 servo: Merge #10328 - 401 authorization UI then restart request/save successful auth creds (from DDEFISHER:master); r=jdm
Step 7 of the NCSU student project Implement HTTP authorization UI

> make an authorization UI appear when a 401 HTTP response is received (StatusCode::Unauthorized) - in load in http_loader.rs, right before trying to process an HTTP redirection, use the new tinyfiledialogs library to make two prompts appear (username and password), then restart the request with the new authorization value present applied. If an authorization value was present and the response is successful, add the credentials to the authorization cache.

Source-Repo: https://github.com/servo/servo
Source-Revision: 7bd23815184bfa675bde040231199722c703d2f0
2016-04-15 07:32:23 +05:01
Liamsi
05bfbb323d servo: Merge #10591 - Use the document base url when resolving script URLs (from Liamsi:base_url_script_element); r=KiChjang
Does this resolve #10578?

Source-Repo: https://github.com/servo/servo
Source-Revision: 9896e530941411c10c73125de66d41512c3b4097
2016-04-15 06:28:36 +05:01