aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update servo to use published app units crateGlenn Watson2015-10-0111-39/+52
|
* Auto merge of #7795 - glennw:app-units-crate, r=SimonSapinbors-servo2015-09-3072-235/+376
|\ | | | | | | | | | | | | | | | | | | Split Au type into separate crate, with minimal dependencies. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7795) <!-- Reviewable:end -->
| * Split Au type into separate crate, with minimal dependencies.Glenn Watson2015-10-0172-235/+376
|/
* Auto merge of #7794 - mbrubeck:setdata, r=pcwaltonbors-servo2015-09-305-14/+11
|\ | | | | | | | | | | | | | | | | | | Dirty text nodes when their content changes Fixes #7793. r? @pcwalton <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7794) <!-- Reviewable:end -->
| * Dirty text nodes when their content changesMatt Brubeck2015-09-295-14/+11
| | | | | | | | Fixes #7793.
* | Auto merge of #7800 - mbrubeck:unused, r=noxbors-servo2015-09-301-1/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove unused import in net_traits <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7800) <!-- Reviewable:end -->
| * | Remove unused import in net_traitsMatt Brubeck2015-09-301-1/+0
|/ /
* | Auto merge of #7798 - Ms2ger:dead, r=jdmbors-servo2015-09-301-6/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove dead code from net_traits. It was added in commit ecf02a3656d60d4197e7cfc53beaedbc5e1019c0. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7798) <!-- Reviewable:end -->
| * | Remove dead code from net_traits.Ms2ger2015-09-301-6/+0
| | | | | | | | | | | | It was added in commit ecf02a3656d60d4197e7cfc53beaedbc5e1019c0.
* | | Auto merge of #7751 - mrobinson:refactor-hit-testing, r=pcwaltonbors-servo2015-09-301-114/+119
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make DisplayList hit testing a method on DisplayList This will allow us to hit test into DisplayLists that are not directly contained in StackingContexts, but instead are children of PaintLayers. It also makes things slightly simpler. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7751) <!-- Reviewable:end -->
| * | Make DisplayList hit testing a method on DisplayListMartin Robinson2015-09-281-114/+119
| | | | | | | | | | | | | | | | | | This will allow us to hit test into DisplayLists that are not directly contained in StackingContexts, but instead are children of PaintLayers. It also makes things slightly simpler.
* | | Auto merge of #7790 - frewsxcv:expand-python-executable-names, r=mbrubeckbors-servo2015-09-291-16/+25
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Expand list of Python executable names to search in PATH Fixes #7784 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7790) <!-- Reviewable:end -->
| * | | Expand list of Python executable names to search in PATHCorey Farwell2015-09-291-16/+25
| | | | | | | | | | | | | | | | Fixes #7784
* | | | Auto merge of #7789 - 6112:master, r=mbrubeckbors-servo2015-09-291-4/+5
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | allow `./mach test` to run tests in tests/wpt/mozilla/ Allows running WPT tests in the tests/wpt/mozilla/ directory by using commands such as: ``` ./mach test tests/wpt/mozilla/tests/mozilla/union.html ``` Fixes #7772. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7789) <!-- Reviewable:end -->
| * | | | allow `./mach test` to run tests in tests/wpt/mozilla/Nicolas2015-09-291-4/+5
| | |_|/ | |/| |
* | | | Auto merge of #7423 - pcwalton:iframe-stacking-context-position, r=glennwbors-servo2015-09-2920-389/+602
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | layout: Make the compositor rather than layout determine the position of each iframe. The old code that attempted to do this during layout wasn't able to work for multiple reasons: it couldn't know where the iframe was going to be on the page (because of nested iframes), and at the time it was building the display list for a fragment it couldn't know where that fragment was going to be in page coordinates. This patch rewrites that code so that only the size of an iframe is determined during layout, and the position is determined by the compositor. Layout layerizes iframes and marks the iframe layers with the appropriate subpage ID so that the compositor can place them correctly. Closes #7377. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7423) <!-- Reviewable:end -->
| * | | | layout: Make the compositor rather than layout determine the position ofPatrick Walton2015-09-2920-389/+602
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | each iframe. The old code that attempted to do this during layout wasn't able to work for multiple reasons: it couldn't know where the iframe was going to be on the page (because of nested iframes), and at the time it was building the display list for a fragment it couldn't know where that fragment was going to be in page coordinates. This patch rewrites that code so that both the sizes and positions of iframes are determined by the compositor. Layout layerizes all iframes and marks the iframe layers with the appropriate pipeline and subpage IDs so that the compositor can place them correctly. This approach is similar in spirit to Gecko's `RefLayer` infrastructure. The logic that determines when it is time to take the screenshot for reftests has been significantly revamped to deal with this change in delegation of responsibility. Additionally, this code removes the infrastructure that sends layout data back to the layout task to be destroyed, since it is now all thread-safe and can be destroyed on the script task. The failing tests now fail because of a pre-existing bug related to intrinsic heights and borders on inline replaced elements. They happened to pass before because we never rendered the iframes at all, which meant they never had a chance to draw the red border the tests expect to not render! Closes #7377.
* | | | | Auto merge of #7759 - jdramani:cmp_dromaeo_output_tool, r=mbrubeckbors-servo2015-09-291-0/+56
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a tool for comparing Dromaeo outputs <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7759) <!-- Reviewable:end -->
| * | | | | fix issue#6888Jaydeep2015-09-271-0/+56
| | | | | |
* | | | | | Auto merge of #7776 - frewsxcv:str-join, r=mbrubeckbors-servo2015-09-295-12/+11
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoid allocations when joining strings <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7776) <!-- Reviewable:end -->
| * | | | | | Use util::str::str_join in more placesCorey Farwell2015-09-284-10/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of intermediate allocations of `Vec`s, we should utilize `str_join` which operates on iterators
| * | | | | | Make util::str::str_join operate on IteratorsCorey Farwell2015-09-281-2/+4
| | |_|_|/ / | |/| | | |
* | | | | | Auto merge of #7786 - mbrubeck:harfbuzz-sys, r=pcwaltonbors-servo2015-09-2912-82/+142
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use Harfbuzz 1.0 and unicode-script for text shaping Depends on servo/rust-harfbuzz#53 and introduces a dependency on the new servo/unicode-script crate. r? @pcwalton <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7786) <!-- Reviewable:end -->
| * | | | | Fix shaping of tab characters with Harfbuzz 1.0Matt Brubeck2015-09-291-5/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Harfbuzz now renders tabs with a "missing character" glyph by default, so we need to filter them out ourselves after computing an advance.
| * | | | | Fix text-transform:capitalize across text runsMatt Brubeck2015-09-293-5/+10
| | | | | |
| * | | | | Break text runs by unicode scriptMatt Brubeck2015-09-298-1/+51
| | | | | |
| * | | | | Upgrade to the new harfbuzz-sys crateMatt Brubeck2015-09-296-71/+64
| | | | | |
* | | | | | Auto merge of #7764 - j3parker:input-caret-only-for-text, r=pcwaltonbors-servo2015-09-295-13/+41
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only display text carets in text inputs For #7756 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7764) <!-- Reviewable:end -->
| * | | | | | Only display text carets in text inputsJacob Parker2015-09-275-13/+41
| | |_|/ / / | |/| | | |
* | | | | | Auto merge of #7778 - paulrouget:decorationLessOption, r=jdmbors-servo2015-09-292-0/+7
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a command line option to disable native titlebar <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7778) <!-- Reviewable:end -->
| * | | | | | Add a command line option to disable native titlebarPaul Rouget2015-09-292-0/+7
| | | | | | |
* | | | | | | Auto merge of #7582 - paulrouget:navigator.platform, r=jdmbors-servo2015-09-293-3/+36
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | implement navigator.platform Fix #7573 I used this as a reference: http://stackoverflow.com/questions/19877924/what-is-the-list-of-possible-values-for-navigator-platform-as-of-today <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7582) <!-- Reviewable:end -->
| * | | | | | implement navigator.platformPaul Rouget2015-09-293-3/+36
| | | | | | |
* | | | | | | Auto merge of #7775 - frewsxcv:tracking-issue, r=jdmbors-servo2015-09-281-0/+1
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Link to 'ask for a reset' tracking issue FIXME added in https://github.com/servo/servo/pull/7745 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7775) <!-- Reviewable:end -->
| * | | | | | Link to 'ask for a reset' tracking issueCorey Farwell2015-09-281-0/+1
| | |_|_|/ / | |/| | | | | | | | | | | | | | | | FIXME added in https://github.com/servo/servo/pull/7745
* | | | | | Auto merge of #7771 - mbrubeck:rtl-stacking-context, r=pcwaltonbors-servo2015-09-286-8/+61
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the correct container size in compute_overflow Fixes #7768 - positioning of RTL stacking contexts. r? @pcwalton <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7771) <!-- Reviewable:end -->
| * | | | | Use the correct container size in compute_overflowMatt Brubeck2015-09-286-8/+61
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #7768 - positioning of RTL stacking contexts.
* | | | | | Auto merge of #7745 - frewsxcv:html-option-element-selected, r=noxbors-servo2015-09-286-124/+111
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement <option> 'defaultSelected' and 'selected' attributes Continued from #7743 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7745) <!-- Reviewable:end -->
| * | | | | | Implement <option> 'defaultSelected' and 'selected' attributesCorey Farwell2015-09-266-124/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Continued from #7743
* | | | | | | Auto merge of #7275 - KiChjang:fetch-refactor, r=jdmbors-servo2015-09-283-77/+104
|\ \ \ \ \ \ \ | |_|_|_|_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Initial fetch refactor Partial #4576 I am really unsure of how things would look like, so would really appreciate some feedback on this. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7275) <!-- Reviewable:end -->
| * | | | | | Initial fetch refactorKeith Yeung2015-09-283-77/+104
| | |_|_|/ / | |/| | | |
* | | | | | Auto merge of #7760 - aopicier:form_getter, r=Manishearthbors-servo2015-09-2816-70/+83
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add form getters for additional elements; update test expectations This adds form getters for fieldset, label, object, output, select and textarea elements. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7760) <!-- Reviewable:end -->
| * | | | | | Update test expectations for additional form gettersPhilipp Hartwig2015-09-282-9/+0
| | | | | | |
| * | | | | | Add form getters for additional elements; update test expectationsPhilipp Hartwig2015-09-2714-61/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds form getters for fieldset, label, object, output, select and textarea elements.
* | | | | | | Auto merge of #7769 - mbrubeck:notify-linux2, r=frewsxcvbors-servo2015-09-281-0/+1
|\ \ \ \ \ \ \ | |_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix build notifications in Python 2.x on Linux In Python 2.x on Linux, `sys.platform == 'linux2'`. https://docs.python.org/2/library/sys.html#sys.platform r? @frewsxcv <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7769) <!-- Reviewable:end -->
| * | | | | | Fix build notifications in Python 2.x on LinuxMatt Brubeck2015-09-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In Python 2.x on Linux, `sys.platform == 'linux2'`. https://docs.python.org/2/library/sys.html#sys.platform
* | | | | | | Auto merge of #7596 - pcwalton:async-web-font-loading, r=mbrubeckbors-servo2015-09-289-40/+223
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | layout: Load Web fonts asynchronously. Improves page load times significantly. Closes #7343. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7596) <!-- Reviewable:end -->
| * | | | | | | layout: Do a couple of minor style cleanups.Patrick Walton2015-09-272-5/+7
| | | | | | | |
| * | | | | | | layout: Load Web fonts asynchronously.Patrick Walton2015-09-278-35/+216
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improves page load times significantly. Closes #7343.
* | | | | | | Auto merge of #7766 - glennw:au-tidy, r=pcwaltonbors-servo2015-09-283-51/+25
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A few clean ups for Au type <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7766) <!-- Reviewable:end -->