Граф коммитов

3788 Коммитов

Автор SHA1 Сообщение Дата
Avi Weinstock b5e3a5f83c servo: Merge #5547 - X11 clipboard support (from aweinstock314:x11-clipboard); r=jdm
Manual re-opening of #5479 (since it seems that GitHub disables re-opening with the same number after a rebase).

Source-Repo: https://github.com/servo/servo
Source-Revision: 9974ebb2f969d2de8959fe74844b7410a5acd54e
2015-04-21 14:41:32 -05:00
Simon Sapin d117879670 servo: Merge #5776 - Split the unit tests crate (from servo:split-unit-tests); r=mbrubeck
Closes #5707. (Includes a rebase of it.)
Fixes #5688.

r? @mbrubeck

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

--HG--
rename : servo/tests/unit/gfx/mod.rs => servo/tests/unit/gfx/lib.rs
2015-04-21 14:06:22 -05:00
Anthony Ramine 2b41fd7ef3 servo: Merge #5775 - Implement CSSStyleDeclaration.float (fixes #5101) (from nox:cssstyledeclaration-float); r=jdm
It just needs to be prefixed by an underscore.

Source-Repo: https://github.com/servo/servo
Source-Revision: 7fa1a6a42621a8bd46137b3417a7623a6b3ed2d1
2015-04-21 13:33:03 -05:00
Dhananjay Nakrani 28ea4a79d5 servo: Merge #5747 - [Issue#5730] Make tidy.py check for links to spec pages (from dhananjay92:Issue#5730); r=jdm
This PR does two things.
* Solve Issue #5730
* Refactor `tidy.py` to reduce code duplication.

Source-Repo: https://github.com/servo/servo
Source-Revision: d654eada6f583871bdceade6506631b6b39ebad0
2015-04-21 12:59:39 -05:00
Maciej Skrzypkowski 572f54cb84 servo: Merge #5594 - Refactoring, added conversion to lowercase for get_attribute_by_name method. (fixes #5561) (from mskrzypkows:get_attribute_by_name); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: a3dafe49999d24e12b2f6b5cc74b468e58b7384a
2015-04-21 10:23:03 -05:00
Manish Goregaokar c9793648ae servo: Merge #5771 - Alias cargo-update to update-cargo (from Manishearth:cargo-update); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 3c4ca28a65b7007d25760c762a6723c655a0423f
2015-04-21 09:49:31 -05:00
Mátyás Mustoha 2a44702239 servo: Merge #5770 - Canvas: implement rectangle drawing (from mmatyas:canvas_rect); r=jdm
A simple little patch.

Source-Repo: https://github.com/servo/servo
Source-Revision: 1d66b090a2b25203f751455d9f0f4985a77ccd64
2015-04-21 08:43:47 -05:00
Dhananjay Nakrani 1633de3077 servo: Merge #5758 - Move actor_workers HashMap outside handle_new_global(). [Issue#5735] (from dhananjay92:Issue#5735); r=jdm
Solves #5735.

Source-Repo: https://github.com/servo/servo
Source-Revision: fe61cdc95da968c21bc15d01cdb16e470f67c492
2015-04-21 08:05:48 -05:00
Diego Marcos 1406b1f10e servo: Merge #5652 - Kicking off a WebGL implementation (from dmarcos:webgl); r=jdm
@jdm @ecoal95 I'm working on making VR happen in the Browser and I want to bring to Servo the [webVR APIs](https://github.com/MozVR/webvr-spec/blob/master/webvr.idl) we already have in Gecko. Before anything happens we need a working implementation of WebGL (and also the [fullscreen API](https://fullscreen.spec.whatwg.org/)). My implementation is very basic and probably naive (I just recently started to contribute to Servo). My patch is just a starting point:

- It only implements ```clearColor``` and ```clear``` methods of the [WebGL spec](https://www.khronos.org/registry/webgl/specs/latest/).
- It uses the readback strategy that ```canvasRenderingContext2D``` is using (The webgl task paints stuff independently on it's own buffer and the compositor task request the pixels back to the webgl task when it needs them) I'm sure there are much better ways to handle this. Latency and FPS are critical in VR so we have to figure out the fastest way to push pixels to the screen. I've read something about layerizing the canvas but I'm still not sure what that even means :)
- There's an included test you can try ```./mach run tests/ref/webgl-context/clearcolor.html```

@ecoal95 I know you'll be working on this for the next three months. With a foundation in place we will be able to make quick progress in parallel. This is exciting!

Source-Repo: https://github.com/servo/servo
Source-Revision: e4b620ea54c94e03095e4108bce94ec750416bba
2015-04-20 19:29:02 -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
Adenilson Cavalcanti 21fd0da8d3 servo: Merge #5759 - Skip computing fragment position and return early if visibility property is not set (from Adenilson:visibleReturn01); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 23945f2ea865710751e9c822b367598eddd86e1f
2015-04-20 15:01:44 -05:00
Ms2ger e03698dc86 servo: Merge #5752 - Make ScriptTask::js_context immutable (from Ms2ger:cx-immutable); r=jdm
Since we drop the ScriptTask almost immediately after clearing the field,
there's little reason to do it manually.

Source-Repo: https://github.com/servo/servo
Source-Revision: ccc77caa79344a45003f1efb7184cec5b882edae
2015-04-20 13:17:43 -05:00
Ms2ger b4ec90123c servo: Merge #5750 - Parse attributes according to the specification in AttrValue::from_u32 (from Ms2ger:from_u32); r=jdm
This exposes another bug: "-0" failed to parse with str.parse(), and is now
successfully parsed into 0. However, input.size and textarea.{rows, cols} are
supposed to be "limited to only non-negative numbers greater than zero", so 0
is not actually supposed to be accepted.

Source-Repo: https://github.com/servo/servo
Source-Revision: b2585bee4d483f8a9ae93f3a017e97c0277421d1
2015-04-20 07:36:06 -05:00
Glenn Watson 5dbece9c4a servo: Merge #5559 - Support focus management and keyboard events for iframes (from glennw:iframe-focus); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 8b8daa24b8d25c531ea74a70b4b6e25cb3d7d58c
2015-04-19 18:13:59 -05:00
Mátyás Mustoha c20ca909fc servo: Merge #5731 - Canvas: implement context state save/restore (from mmatyas:canvas_saverestore); r=jdm
This patch enables the use of `save()` and `restore()` for the canvas context, which is used by *a lot* of sites and scripts.

Depends on servo/rust-azure#153.

Source-Repo: https://github.com/servo/servo
Source-Revision: 9c7c289acae3ea012338a5b25bc50a10e7f7074d
2015-04-19 17:40:33 -05:00
Dhananjay Nakrani ac0df07236 servo: Merge #5744 - Change parse_progress() take JSRef by value. [Issue#5738] (from dhananjay92:Issue#5738); r=Manishearth
*This PR solves Issue #5738*

Source-Repo: https://github.com/servo/servo
Source-Revision: 4474321829d0a1ead7a5ba30fbc9225cd1131319
2015-04-19 17:00:56 -05:00
Marcus Klaas fe4dcc74dd servo: Merge #5742 - Replace usage of ResponseSenders by LoadConsumer (from marcusklaas:issue-5718); r=jdm
This closes issue https://github.com/servo/servo/issues/5718.

Source-Repo: https://github.com/servo/servo
Source-Revision: f164cc253eb876d82ab7c52268751db250ef8f8f
2015-04-19 10:10:57 -05:00
Ms2ger 90efd7cb82 servo: Merge #5741 - Use get_attr_for_layout more (from Ms2ger:attr-for-layout); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: e5ec55f0d8d4ec17aab3682e6d3048c88c6f458e
2015-04-19 09:37:29 -05:00
Bogdan Cuza d5299d7feb servo: Merge #5567 - Make mouse_over_targets a RootedVec (from boghison:document_rootedvec); r=jdm
Fixes #5539

Source-Repo: https://github.com/servo/servo
Source-Revision: 331708f0f6d4bff8cec608e963fb24f79cf1ffca
2015-04-19 09:05:23 -05:00
Corey Farwell de44b04da7 servo: Merge #5739 - Add links to the spec for components/style (from frewsxcv:style-docs); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 40ee41ca92206768b53cb5768c0b38fd7ba439dc
2015-04-18 05:44:50 -05:00
Lars Bergstrom 9ce6d5a1e2 servo: Merge #5736 - Update Gonk README with bootstrap information (from servo:larsbergstrom-gonk-readme); r=Manishearth
The bootstrap binaries have been approved for public use, so we do not need to request that everyone rebuild B2G in order to try out the B2S build.

r? @manishearth

Source-Repo: https://github.com/servo/servo
Source-Revision: e78683430fbab34339b6ff0cff20bbf88c61cf75
2015-04-17 16:26:39 -05:00
Adenilson Cavalcanti 17ce190a9f servo: Merge #5728 - Allow dumping the optimized display list (DL) (from Adenilson:optimDL01); r=metajack
This DL is created at paint time, per tile. To dump, pass -Z dump-display-list-optimized at startup.

Source-Repo: https://github.com/servo/servo
Source-Revision: ca8c0f353c2a13f6dbf7c4597a742d684c84c0d9
2015-04-17 15:33:06 -05:00
Marcus Klaas 11d32d61f7 servo: Merge #5734 - Fix compiler warnings in net unit tests (from marcusklaas:issue-5709); r=jdm
This closes issue https://github.com/servo/servo/issues/5709.

Source-Repo: https://github.com/servo/servo
Source-Revision: 2b3acd1f5d3bcbbb796b3552a17e64cdc756a0d0
2015-04-17 09:52:46 -05:00
Corey Farwell 20e5a87bf8 servo: Merge #5729 - Don't link to specific WHATWG multipage page (from frewsxcv:whatwg-multipage-redirects); r=Manishearth
"Links to the multipage version of the specification are unfortunately
likely to break over time."
-- https://html.spec.whatwg.org/multipage/asefij.html

This commit removes all references to the specific pages when viewing
WHATWG using multipage mode. I went through all these links and they
redirect fine.

Regex used to generate this commit:

`s_whatwg.org/multipage/.*#_whatwg.org/multipage/#_g`

Source-Repo: https://github.com/servo/servo
Source-Revision: d90fe2b0889dee4eb27693aca7670969d5253424
2015-04-17 08:57:33 -05:00
Ms2ger 20024464a6 servo: Merge #5732 - Move the lookupPrefix content test (from Ms2ger:content); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: b296c721869680d44757324a9254525eed10d8ed
2015-04-17 08:24:12 -05:00
Marcus Klaas 150198541e servo: Merge #5733 - Remove unnecessary clone in Document constructor (from marcusklaas:issue-5719); r=Manishearth
This closes issue https://github.com/servo/servo/issues/5719.

Source-Repo: https://github.com/servo/servo
Source-Revision: c3ed0fd57377c617ef877cd685d3248ce37d1710
2015-04-17 07:53:06 -05:00
Anthony Ramine 91c44dc144 servo: Merge #5721 - Finish implementation of ChildNode and ParentNode (from nox:nodeorstring); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 4fd4370a9680f4845f05efd43ce9cb26c7433f05
2015-04-16 14:47:32 -05:00
Ms2ger 34641e0274 servo: Merge #5717 - Fix URLSearchParams formatting (from Ms2ger:usp); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: e26219828bfd71c5dfce411f93f2ea5dbb131d7a
2015-04-16 14:15:16 -05:00
Joseph Seaton 74e4de0d82 servo: Merge #5704 - Make many CSS properties animatable (from jseaton:jseaton/animation-props); r=pcwalton
Contributes towards servo/servo#5494 - includes all properties listed at http://dev.w3.org/csswg/css-transitions/#animatable-css .

Unforunately the most obvious way to support text-shadow meant making a few structures NoCopy.

Source-Repo: https://github.com/servo/servo
Source-Revision: 653b40d3e56aedbc11d6c51c5e80819231f42144
2015-04-16 13:42:16 -05:00
Md. Enzam Hossain a8e5d84c90 servo: Merge #5650 - Implement node::LookupPrefix and add test (from ienzam:issue/1826); r=jdm
Tracking issue #1826 - implemented one of the three methods.

This is follow up of #5402. Rebased and squashed and made the method iterative.

Source-Repo: https://github.com/servo/servo
Source-Revision: e3756f9e3fe8c042f5e6a02b9d4d6a2310aeda04
2015-04-16 13:07:20 -05:00
James Graham 50ca4e6223 servo: Merge #5610 - Add enough Webdriver support to enable Get() (from jgraham:jgraham/webdriver-get); r=jdm
This is incomplete in several ways:

* It assumes that there's only one constellation (i.e. top level browsing context), ever.
* The session support is very basic indeed (no capabilities)
* Passing channels over channels may not sit well with IPC
* The error handling is mostly missing

Source-Repo: https://github.com/servo/servo
Source-Revision: af2f46bddad7a0e87a46fc3e303f15b4343226c7
2015-04-16 12:35:25 -05:00
Josh Matthews 901eb35f52 servo: Merge #5156 - Support opt-in async network events (from jdm:asyncnet); r=pcwalton,Manishearth
This implements a framework for opting in to receiving network events asynchronously. It also converts XMLHttpRequest to use them, and paves the way for better support for synchronous XHR using on-demand, targeted event loops instead of spinning the global event loop. This gives us complete feature parity with the existing XHR implementation, using fewer threads than before in the async case.

Source-Repo: https://github.com/servo/servo
Source-Revision: 3151497d498b001b4a783dce0595615c6fc40936
2015-04-16 11:33:06 -05:00
Simon Sapin 83ab0c9461 servo: Merge #5712 - Remove "Not the toml you’re looking for" (from servo:not-the-toml-you-re-looking-for); r=metajack
It’s been broken for a while and nobody noticed.

Source-Repo: https://github.com/servo/servo
Source-Revision: 7fddf4aa13e3480da16557442768b3125bdbfcb5
2015-04-16 09:23:08 -05:00
Ms2ger 087e3114be servo: Merge #5708 - Remove an unused import (from Ms2ger:warnings); r=saneyuki
Source-Repo: https://github.com/servo/servo
Source-Revision: 96b20bc2d33092c8380f8bd4ea0e1220fd6f4e5a
2015-04-16 08:39:41 -05:00
Ms2ger 1bfe92c6ae servo: Merge #5710 - Retire content tests (from Ms2ger:content); r=saneyuki
Source-Repo: https://github.com/servo/servo
Source-Revision: 53d2432c90ab9ef171dfbef8e22ed3f58fcef8f0

--HG--
rename : servo/tests/content/parsable_mime/application/font-woff/test.wof => servo/tests/unit/net/parsable_mime/application/font-woff/test.wof
rename : servo/tests/content/parsable_mime/application/ogg/small.ogg => servo/tests/unit/net/parsable_mime/application/ogg/small.ogg
rename : servo/tests/content/parsable_mime/application/pdf/test.pdf => servo/tests/unit/net/parsable_mime/application/pdf/test.pdf
rename : servo/tests/content/parsable_mime/application/postscript/test.ps => servo/tests/unit/net/parsable_mime/application/postscript/test.ps
rename : servo/tests/content/parsable_mime/application/vnd.ms-fontobject/vnd.ms-fontobject => servo/tests/unit/net/parsable_mime/application/vnd.ms-fontobject/vnd.ms-fontobject
rename : servo/tests/content/parsable_mime/application/x-gzip/test.gz => servo/tests/unit/net/parsable_mime/application/x-gzip/test.gz
rename : servo/tests/content/parsable_mime/application/x-rar-compressed/test.rar => servo/tests/unit/net/parsable_mime/application/x-rar-compressed/test.rar
rename : servo/tests/content/parsable_mime/application/zip/test.zip => servo/tests/unit/net/parsable_mime/application/zip/test.zip
rename : servo/tests/content/parsable_mime/audio/aiff/test.aif => servo/tests/unit/net/parsable_mime/audio/aiff/test.aif
rename : servo/tests/content/parsable_mime/audio/basic/test.au => servo/tests/unit/net/parsable_mime/audio/basic/test.au
rename : servo/tests/content/parsable_mime/audio/midi/test.mid => servo/tests/unit/net/parsable_mime/audio/midi/test.mid
rename : servo/tests/content/parsable_mime/audio/mpeg/test.mp3 => servo/tests/unit/net/parsable_mime/audio/mpeg/test.mp3
rename : servo/tests/content/parsable_mime/audio/wave/test.wav => servo/tests/unit/net/parsable_mime/audio/wave/test.wav
rename : servo/tests/content/parsable_mime/image/bmp/test.bmp => servo/tests/unit/net/parsable_mime/image/bmp/test.bmp
rename : servo/tests/content/parsable_mime/image/gif/test87a => servo/tests/unit/net/parsable_mime/image/gif/test87a
rename : servo/tests/content/parsable_mime/image/gif/test89a.gif => servo/tests/unit/net/parsable_mime/image/gif/test89a.gif
rename : servo/tests/content/parsable_mime/image/jpeg/test.jpg => servo/tests/unit/net/parsable_mime/image/jpeg/test.jpg
rename : servo/tests/content/parsable_mime/image/png/test.png => servo/tests/unit/net/parsable_mime/image/png/test.png
rename : servo/tests/content/parsable_mime/image/webp/test.webp => servo/tests/unit/net/parsable_mime/image/webp/test.webp
rename : servo/tests/content/parsable_mime/image/x-icon/test.ico => servo/tests/unit/net/parsable_mime/image/x-icon/test.ico
rename : servo/tests/content/parsable_mime/image/x-icon/test_cursor.ico => servo/tests/unit/net/parsable_mime/image/x-icon/test_cursor.ico
rename : servo/tests/content/parsable_mime/text/html/text_html_a_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_a_20.html
rename : servo/tests/content/parsable_mime/text/html/text_html_a_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_a_20_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_a_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_a_3e.html
rename : servo/tests/content/parsable_mime/text/html/text_html_a_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_a_3e_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_b_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_b_20.html
rename : servo/tests/content/parsable_mime/text/html/text_html_b_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_b_20_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_b_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_b_3e.html
rename : servo/tests/content/parsable_mime/text/html/text_html_b_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_b_3e_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_body_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_body_20.html
rename : servo/tests/content/parsable_mime/text/html/text_html_body_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_body_20_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_body_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_body_3e.html
rename : servo/tests/content/parsable_mime/text/html/text_html_body_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_body_3e_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_br_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_br_20.html
rename : servo/tests/content/parsable_mime/text/html/text_html_br_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_br_20_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_br_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_br_3e.html
rename : servo/tests/content/parsable_mime/text/html/text_html_br_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_br_3e_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_comment_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_comment_20.html
rename : servo/tests/content/parsable_mime/text/html/text_html_comment_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_comment_20_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_comment_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_comment_3e.html
rename : servo/tests/content/parsable_mime/text/html/text_html_comment_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_comment_3e_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_div_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_div_20.html
rename : servo/tests/content/parsable_mime/text/html/text_html_div_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_div_20_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_div_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_div_3e.html
rename : servo/tests/content/parsable_mime/text/html/text_html_div_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_div_3e_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_doctype_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_doctype_20.html
rename : servo/tests/content/parsable_mime/text/html/text_html_doctype_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_doctype_20_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_doctype_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_doctype_3e.html
rename : servo/tests/content/parsable_mime/text/html/text_html_doctype_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_doctype_3e_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_font_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_font_20.html
rename : servo/tests/content/parsable_mime/text/html/text_html_font_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_font_20_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_font_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_font_3e.html
rename : servo/tests/content/parsable_mime/text/html/text_html_font_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_font_3e_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_h1_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_h1_20.html
rename : servo/tests/content/parsable_mime/text/html/text_html_h1_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_h1_20_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_h1_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_h1_3e.html
rename : servo/tests/content/parsable_mime/text/html/text_html_h1_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_h1_3e_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_head_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_head_20.html
rename : servo/tests/content/parsable_mime/text/html/text_html_head_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_head_20_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_head_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_head_3e.html
rename : servo/tests/content/parsable_mime/text/html/text_html_head_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_head_3e_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_iframe_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_iframe_20.html
rename : servo/tests/content/parsable_mime/text/html/text_html_iframe_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_iframe_20_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_iframe_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_iframe_3e.html
rename : servo/tests/content/parsable_mime/text/html/text_html_iframe_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_iframe_3e_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_p_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_p_20.html
rename : servo/tests/content/parsable_mime/text/html/text_html_p_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_p_20_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_p_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_p_3e.html
rename : servo/tests/content/parsable_mime/text/html/text_html_p_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_p_3e_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_page_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_page_20.html
rename : servo/tests/content/parsable_mime/text/html/text_html_page_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_page_20_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_page_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_page_3e.html
rename : servo/tests/content/parsable_mime/text/html/text_html_page_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_page_3e_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_script_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_script_20.html
rename : servo/tests/content/parsable_mime/text/html/text_html_script_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_script_20_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_script_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_script_3e.html
rename : servo/tests/content/parsable_mime/text/html/text_html_script_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_script_3e_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_style_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_style_20.html
rename : servo/tests/content/parsable_mime/text/html/text_html_style_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_style_20_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_style_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_style_3e.html
rename : servo/tests/content/parsable_mime/text/html/text_html_style_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_style_3e_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_table_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_table_20.html
rename : servo/tests/content/parsable_mime/text/html/text_html_table_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_table_20_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_table_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_table_3e.html
rename : servo/tests/content/parsable_mime/text/html/text_html_table_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_table_3e_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_title_20.html => servo/tests/unit/net/parsable_mime/text/html/text_html_title_20.html
rename : servo/tests/content/parsable_mime/text/html/text_html_title_20_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_title_20_u.html
rename : servo/tests/content/parsable_mime/text/html/text_html_title_3e.html => servo/tests/unit/net/parsable_mime/text/html/text_html_title_3e.html
rename : servo/tests/content/parsable_mime/text/html/text_html_title_3e_u.html => servo/tests/unit/net/parsable_mime/text/html/text_html_title_3e_u.html
rename : servo/tests/content/parsable_mime/text/plain/utf16bebom.txt => servo/tests/unit/net/parsable_mime/text/plain/utf16bebom.txt
rename : servo/tests/content/parsable_mime/text/plain/utf16lebom.txt => servo/tests/unit/net/parsable_mime/text/plain/utf16lebom.txt
rename : servo/tests/content/parsable_mime/text/plain/utf8bom.txt => servo/tests/unit/net/parsable_mime/text/plain/utf8bom.txt
rename : servo/tests/content/parsable_mime/text/xml/feed.atom => servo/tests/unit/net/parsable_mime/text/xml/feed.atom
rename : servo/tests/content/parsable_mime/text/xml/feed.rss => servo/tests/unit/net/parsable_mime/text/xml/feed.rss
rename : servo/tests/content/parsable_mime/text/xml/test.xml => servo/tests/unit/net/parsable_mime/text/xml/test.xml
rename : servo/tests/content/parsable_mime/unknown/open_type => servo/tests/unit/net/parsable_mime/unknown/open_type
rename : servo/tests/content/parsable_mime/unknown/true_type.ttf => servo/tests/unit/net/parsable_mime/unknown/true_type.ttf
rename : servo/tests/content/parsable_mime/unknown/true_type_collection.ttc => servo/tests/unit/net/parsable_mime/unknown/true_type_collection.ttc
rename : servo/tests/content/parsable_mime/video/avi/test.avi => servo/tests/unit/net/parsable_mime/video/avi/test.avi
rename : servo/tests/content/parsable_mime/video/mp4/test.mp4 => servo/tests/unit/net/parsable_mime/video/mp4/test.mp4
rename : servo/tests/content/parsable_mime/video/webm/test.webm => servo/tests/unit/net/parsable_mime/video/webm/test.webm
2015-04-16 05:41:56 -05:00
Patrick Walton 278e89a7f9 servo: Merge #5706 - layout: Clip the immediate fragments of block flows that establish stacking contexts properly (from pcwalton:absolute-clipping-of-own-contents); r=glennw
r? @glennw

Source-Repo: https://github.com/servo/servo
Source-Revision: f7bfea58798a07d993ba7bc7d9c76f62be19ea4f
2015-04-15 21:04:59 -05:00
Adenilson Cavalcanti f4443ed188 servo: Merge #5546 - Implementing Blur filter (from Adenilson:blurFilter01); r=pcwalton
See discussion on #5190 and #5496.

Source-Repo: https://github.com/servo/servo
Source-Revision: 1fd6a48cca1ff951e60c9345e988f5489cb56f61
2015-04-15 18:56:49 -05:00
Ms2ger 766facb1ea servo: Merge #5700 - Move content tests into the Servo wpt tree (fixes #5686) (from Ms2ger:content); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 8fd8fe3ad94fde4dc99bcb4bd18466ab2c5c609d
2015-04-15 15:19:41 -05:00
Dhananjay Nakrani d38248989c servo: Merge #5664 - [Issue#5582] Add Desktop Notifications for Long builds (from dhananjay92:DesktopNotif); r=jdm
Supported for Linux & Windows platforms.

If it fails to generate the desktop notification, it simply gives a soft warning on the terminal.

This PR is solving Issue #5582.

Source-Repo: https://github.com/servo/servo
Source-Revision: a13fa9c0c00fe99b5af19d873a9240dce522f16b
2015-04-15 14:46:14 -05:00
Mátyás Mustoha 4872b079c3 servo: Merge #5701 - Add specification links to canvas line cap and line join (from mmatyas:canvas_linecapjoin_url); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 045831748e08f0b82ca84bd7d93844cb1c7eab60
2015-04-15 10:44:42 -05:00
Guro Bokum 2258a4a7bb servo: Merge #5699 - Send high resolution millisecond timestamps in timeline markers #5665 (from JIoJIaJIu:timeline); r=jdm
[Task](https://github.com/servo/servo/issues/5665)

Source-Repo: https://github.com/servo/servo
Source-Revision: cd16d1c3356d4bbc9277c2c843da8da002f27f3c
2015-04-15 09:46:46 -05:00
Patrick Walton eec717c4e3 servo: Merge #5691 - layout: Use the same code path for computing static positions of regular flows and static positions of hypothetical boxes (from pcwalton:hypothetical-box-reform); r=glennw
Before this change, Servo used one code path that computed the position
of flows with `position: static` or `position: relative` and another
separate code path that computed the position of flows with `position:
absolute` or `position: fixed`. The latter code attempted to duplicate
the former code to determine the static position of hypothetical boxes,
but this was both fragile and incorrect in the case of hypothetical
boxes nested inside floats. In fact, it's impossible to determine the
static position of an absolute flow relative to its containing block at
inline-size assignment time, because that static position could depend
on a float that cannot be placed until block-size assignment!

This patch changes block layout to use the same code path for static
positioning of regular flows and static positioning of absolute flows
where applicable. This both simplifies the code and improves its
efficiency, since it allows the `hypothetical_position` field and
`static_block_offsets` data structure to be removed. Moreover, it
improves correctness in the above case (which the new reftest checks).
This allows the sidebar in Facebook Timeline to be positioned properly.

r? @glennw

Source-Repo: https://github.com/servo/servo
Source-Revision: bdcf606f4802e5b1ab3ee251b45ee1e81800359a
2015-04-14 18:14:11 -05:00
Corey Farwell f3dd3b6bc7 servo: Merge #5693 - Add/update comments with links to spec (from frewsxcv:spec-links); r=jdm
Extracted out of #5649

* add more hyperlinks to associated specification for structs/methods
* follow redirects and update links
* replace broken links
* removal of WHATWG multipage page name since the page name is not
  guaranteed to be stable

Source-Repo: https://github.com/servo/servo
Source-Revision: 3dc25af9e121db010e4385efb3863ba45b0e0bcf
2015-04-14 17:16:55 -05:00
Bogdan Cuza fdcc40c14c servo: Merge #5544 - Make Metadata use ContentType (from boghison:master); r=jdm
Fixes #5538

Source-Repo: https://github.com/servo/servo
Source-Revision: 7f422e2076e7ebc9949e9fb2ffc3f09c653130c0
2015-04-14 15:11:20 -05:00
Mátyás Mustoha c674f12d72 servo: Merge #5635 - Canvas: added lineCap and lineJoin support (from mmatyas:canvas_linecapjoin); r=jdm
This patch adds support for setting the line cap and join. However, it seems there's a problem on the azure-side, as the line cap setting doesn't work. Changing either the default values or using the new function has no effect. Line join works fine though.

Source-Repo: https://github.com/servo/servo
Source-Revision: fe81ce942a36b08ece8ef6d58de72624a961eeaa
2015-04-14 12:57:48 -05:00
Ms2ger 78c4b37839 servo: Merge #5689 - Remove unused feature gate (from Ms2ger:warnings); r=larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: e597fd0c007372840e256056f8790264096681e3
2015-04-14 12:22:38 -05:00
Brian Anderson ea12dc1c9e servo: Merge #5489 - Rebase and rustup of brson's cleanup work (from larsbergstrom:brson_cleanup); r=metajack,ms2ger,jdm,manish
All of the commits by brson have been reviewed. Just the android fixups and Rustup one (which also cleans up some of the duplication due to a complete rewrite of code that had been moved in the original PR).

Source-Repo: https://github.com/servo/servo
Source-Revision: 72a0fb683871365e86febbefb72be9fb136381af
2015-04-14 10:56:01 -05:00
Damien 4f9e786f42 servo: Merge #5678 - Handle proxies in bootstrap script (from mdamien:patch-1); r=jdm
The urllib version used a `FancyURLOpener` which use urllib. But urllib does not not handle proxies with SSL well.

For example, when adding the proxies to urllib.FancyURLOpener, I got this SSL error:

    IOError: [Errno socket error] [Errno 1] _ssl.c:510: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol

So I switched the function to urllib2.

A better solution would be to use `requests` but I prefer to stay with the "no-dependency" approach.

For example, this was my first solution with `requests`:

```python
def download(desc, src, dst):
    print("Downloading(R) %s..." % desc)
    with open(dst, 'wb') as handle:
        response = requests.get(src, stream=True)

        if not response.ok:
            print("something went wrong downloading %s, :(" % desc)
            sys.exit(1)

        size = int(response.headers['content-length'])
        block_size = 1024
        recved = 0
        for block in response.iter_content(1024):
            recved += len(block)
            pct = recved * 100.0 / size
            print("\rDownloading %s: %5.1f%%" % (desc, pct), end="")
            if not block:
                break
            handle.write(block)
    print()
```

Source-Repo: https://github.com/servo/servo
Source-Revision: 43d476eb2babedac2ab5ab336fbfd6bae9372f16
2015-04-14 10:23:15 -05:00
Aneesh Agrawal e88bafb6cd servo: Merge #5659 - Add RangeError and use it in the constructors for TextEncoder and TextDecoder (from aneeshusa:add-range-errors-use-for-textencoder-textdecoder); r=jdm
Fixes #5620, and adds a few extra test cases.

Currently waiting on a few upstream PRs in rust-encoding to land.

Source-Repo: https://github.com/servo/servo
Source-Revision: f7c3544d75f277f8ac82c54f075d53042761b344
2015-04-14 09:44:21 -05:00
Ms2ger 6a230d7dcc servo: Merge #5685 - Introduce a Servo-only tree under web-platform-tests (from Ms2ger:wpt-servo); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 0941f46162f53adc1f8796d73aef5d62df80c2e1
2015-04-14 08:51:35 -05:00