Patrick Walton
63279c316b
layout: Implement support for overflow: scroll
in WebRender.
...
Includes a WebRender upgrade.
Improves Twitter.
2016-04-19 14:13:13 -07:00
bors-servo
a129ce1bcc
Auto merge of #10715 - edunham:tidy-licenses, r=larsbergstrom
...
Allow another wording of apache2/MIT (used by gaol)
r? @larsbergstrom
need this for https://github.com/servo/servo/issues/10636
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10715 )
<!-- Reviewable:end -->
2016-04-20 02:00:16 +05:30
Matt Brubeck
6882ce8ec1
Lower the logging level of a really chatty fn
2016-04-19 12:16:43 -07:00
edunham
eb198d76e7
Allow another wording of apache2/MIT (used by gaol)
2016-04-19 11:11:50 -07:00
bors-servo
4d5fa963fd
Auto merge of #10708 - Ms2ger:warnings, r=emilio
...
Fix some compile warnings.
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10708 )
<!-- Reviewable:end -->
2016-04-19 23:35:34 +05:30
bors-servo
bd4b3a66a2
Auto merge of #10641 - asajeffrey:dedicated-panic-channel, r=Manishearth
...
Dedicated panic channel
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
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10641 )
<!-- Reviewable:end -->
2016-04-19 21:58:07 +05:30
Ms2ger
5645a59e05
Fix some compile warnings.
2016-04-19 18:15:16 +02:00
bors-servo
3d4416e1b0
Auto merge of #10634 - amarant:10574-image-document-base, r=metajack
...
Issue #10574 Use the document base url in img
add a test with base path set to the resources path and an img with a cat and the reference directly to the image
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10634 )
<!-- Reviewable:end -->
2016-04-19 20:51:18 +05:30
Alan Jeffrey
cfb066ef20
Added a dedicated panic channel.
2016-04-19 09:08:44 -05:00
bors-servo
a7c885706e
Auto merge of #10592 - canaltinova:stylesheet_with_base, r=Ms2ger
...
Use the document base url when resolving stylesheets
Use the document base url when resolving stylesheets. Fixes #10575 .
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10592 )
<!-- Reviewable:end -->
2016-04-19 17:20:32 +05:30
bors-servo
407c43fade
Auto merge of #10695 - frewsxcv:no-clone, r=KiChjang
...
Avoid unnecessary `net_traits::LoadData` clone.
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10695 )
<!-- Reviewable:end -->
2016-04-19 11:10:18 +05:30
bors-servo
062d933e4f
Auto merge of #10678 - mrobinson:remove-stackinglevel-from-webrender, r=pcwalton
...
WebRender no longer needs StackingLevel information
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.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10678 )
<!-- Reviewable:end -->
2016-04-19 10:29:21 +05:30
Zhen Zhang
fefdaf76de
Implement ScrollTop and ScrollLeft getters:
...
Add new compositor message to get scroll_offset;
Add new layout query for computed value of overflow-x/y;
Implement layer_id method for ThreadSafeLayoutNode;
Add new layout query for layer_id;
Implement script interface for getting scrollTop and scrollLeft, as well as relavant helper functions.
2016-04-19 12:27:35 +08:00
bors-servo
82b952c03f
Auto merge of #10652 - dzbarsky:reserved, r=dzbarsky
...
Prevent use of reserved names in BindAttribLocation
(Depend on the WebGL tests landing)
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10652 )
<!-- Reviewable:end -->
2016-04-19 09:46:24 +05:30
bors-servo
f73c6143d5
Auto merge of #10689 - rwakulszowa:bootstrap-disconnected-message, r=Wafflespeanut
...
Handle URLError in download() #10679
Print a human-friendly message if there is no internet connection.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10689 )
<!-- Reviewable:end -->
2016-04-19 08:23:36 +05:30
Corey Farwell
7500307e80
Avoid unnecessary net_traits::LoadData
clone.
2016-04-18 22:53:28 -04:00
bors-servo
42eb9c63a1
Auto merge of #10688 - mbrubeck:cargo-up, r=Manishearth
...
Update Cargo to 2016-04-17 nightly
To pick up rust-lang/cargo#2534 and other recent fixes.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10688 )
<!-- Reviewable:end -->
2016-04-19 07:42:04 +05:30
bors-servo
6509cdea95
Auto merge of #10687 - jdm:docs, r=larsbergstrom
...
Encourage better documentation patterns
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.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10687 )
<!-- Reviewable:end -->
2016-04-19 06:13:00 +05:30
bors-servo
80662f1e4e
Auto merge of #10672 - frewsxcv:net-network, r=KiChjang
...
Improvements to network preferences, HTTP redirection limiting.
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10672 )
<!-- Reviewable:end -->
2016-04-19 04:06:25 +05:30
bors-servo
4001a24c46
Auto merge of #10551 - asajeffrey:trigger-mozbrowsererror-event, r=jdm
...
Trigger mozbrowsererror event when a pipeline fails.
Addresses part of #10334 (it fires the event, but does not include a backtrace).
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10551 )
<!-- Reviewable:end -->
2016-04-19 03:03:46 +05:30
Alan Jeffrey
59824ccb92
Trigger mozbrowsererror event when a pipeline fails.
2016-04-18 16:03:48 -05:00
bors-servo
4d80e0634e
Auto merge of #10653 - askeing:cleanup_tidy_for_external_deps, r=edunham
...
Cleanup tidy for external deps
fix #10639
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10653 )
<!-- Reviewable:end -->
2016-04-19 02:21:01 +05:30
Martin Robinson
72e267953c
WebRender no longer needs StackingLevel information
...
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.
2016-04-18 13:24:08 -07:00
bors-servo
19a5a9ad08
Auto merge of #10508 - g-k:insert-row, r=KiChjang
...
Insert row
Fixes #9269
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10508 )
<!-- Reviewable:end -->
2016-04-19 01:38:38 +05:30
Greg Guthe
1d59d8784d
Implement HTMLTableElement.insertRow()
...
refs: https://github.com/servo/servo/issues/9269
and update HTMLTableElement.webidl
insertRow returns an HTMLTableRowElement and throws an IndexSizeError
sortable and stopSorting were removed.
2016-04-18 15:18:16 -04:00
bors-servo
6edcad206d
Auto merge of #10640 - frewsxcv:apache-flag, r=KiChjang
...
Cleanup code regarding mimesniff 'apache bug'.
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10640 )
<!-- Reviewable:end -->
2016-04-19 00:16:12 +05:30
rwa
79a1dfe226
Handle URLError in download() #10679
...
Print a human-friendly message if there is no internet connection.
2016-04-18 20:34:35 +02:00
bors-servo
6056ecd851
Auto merge of #10667 - peterjoel:euclid_0.6.5, r=frewsxcv
...
Updated euclid to version 0.6.5
And updated existing usages of Matrix4 to use Matrix4D<T>
This version is necessary to complete DOMMatrix implementation.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10667 )
<!-- Reviewable:end -->
2016-04-18 23:17:14 +05:30
Matt Brubeck
afad02df32
Update Cargo to 2016-04-17 nightly
...
To pick up rust-lang/cargo#2534 and other recent fixes.
2016-04-18 09:55:13 -07:00
Nazım Can Altınova
ffd7960ad8
Use the document base url when resolving stylesheets
2016-04-18 19:54:37 +03:00
Josh Matthews
f78ff93b5f
Add instructions to glossary.
2016-04-18 12:49:34 -04:00
Josh Matthews
c0524b3c47
Start collecting documentation, and add an in-tree glossary. Encourage new contributors to add missing entries as appropriate.
2016-04-18 12:42:33 -04:00
bors-servo
080880b46a
Auto merge of #10682 - emilio:glutin-update, r=Ms2ger
...
servo: Bump glutin
Fixes #10475
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10682 )
<!-- Reviewable:end -->
2016-04-18 17:43:37 +05:30
Emilio Cobos Álvarez
505e257412
servo: Bump glutin
...
Fixes #10475
2016-04-18 14:10:51 +02:00
bors-servo
8819dab4e3
Auto merge of #10677 - yoava333:master, r=jdm
...
update url crate
This fixes https://github.com/servo/servo/issues/10548
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10677 )
<!-- Reviewable:end -->
2016-04-18 06:40:03 +05:30
Yoav Alon
502b1e1763
updated url crate to 0.5.9
2016-04-18 03:35:27 +03:00
Yoav Alon
36eb25161d
added test for https://github.com/servo/servo/issues/10548
2016-04-18 03:34:25 +03:00
Corey Farwell
8883ffc730
Use same value for network.http.redirection-limit
pref as Gecko.
2016-04-17 20:14:10 -04:00
Corey Farwell
da0adeb0ac
Verify number of redirects when we reach limit.
2016-04-17 20:14:08 -04:00
bors-servo
f93379ff4e
Auto merge of #10674 - KiChjang:codegen-avoid-rust-keywords, r=Manishearth
...
Avoid generating parameter names that are Rust keywords
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10674 )
<!-- Reviewable:end -->
2016-04-18 05:10:43 +05:30
Keith Yeung
c6b6d2c84e
Avoid generating parameter names that are Rust keywords
2016-04-17 19:37:42 -04:00
Corey Farwell
8e14cbccc3
Add pref for HTTP redirection limit.
...
The pref key name matches the associated Gecko pref key name.
2016-04-17 16:43:55 -04:00
Corey Farwell
07209c75db
Rename net.mime.sniff
pref to network.mime.sniff
.
...
Gecko uses the `network` prefix for network related items. Might be good
to mirror that here.
2016-04-17 16:15:24 -04:00
bors-servo
a76af66abb
Auto merge of #10669 - peterjoel:gitignore_python, r=emilio
...
gitignore: /python/tidy/servo_tidy.egg-info/
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10669 )
<!-- Reviewable:end -->
2016-04-18 01:13:41 +05:30
Peter
7a7bbe001c
gitignore: /python/tidy/servo_tidy.egg-info/
2016-04-17 20:41:40 +01:00
David Zbarsky
a67a744057
Prevent use of reserved names in BindAttribLocation
2016-04-17 11:52:40 -07:00
bors-servo
317629d86e
Auto merge of #10666 - frewsxcv:hsts-cleanup, r=SimonSapin
...
Refactor, cleanup HSTS related code.
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10666 )
<!-- Reviewable:end -->
2016-04-17 23:50:13 +05:30
Corey Farwell
08fc002f41
Rename 'HSTS*' structures to 'Hsts*'.
...
"In CamelCase, acronyms count as one word: use Uuid rather than UUID."
-- https://doc.rust-lang.org/style/style/naming/README.html
2016-04-17 14:12:28 -04:00
Corey Farwell
faa3d8724b
Refactor Servo HSTS file loading, hard-fail if can't load.
...
Use constructor pattern instead of separate utility function.
Instead of allowing the Servo HSTS file loading to silently fail, we
should expect that file to always exist and be formatted correctly.
2016-04-17 14:12:07 -04:00
Peter
b0ad3ddf5b
Updated euclid to version 0.6.5
...
And updated existing usages of Matrix4 to use Matrix4D<T>
2016-04-17 18:39:49 +01:00