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

841 Коммитов

Автор SHA1 Сообщение Дата
James Graham a77654c4c2 servo: Merge #6416 - Use hosts-replaced URL only when loading resources (from jgraham:hosts_replaced); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 8602d01af2b2081ea1e9d600abdb1ea609a65038
2015-08-05 08:01:03 -06:00
Patrick Walton 3b92de7a22 servo: Merge #6586 - script: Make the resource task communication use IPC channels (from pcwalton:resource-task-ipc); r=jdm
This change makes Servo use serialized messages over IPC channels for resource loading. The goal is to make it easier to make Servo multiprocess in the future. This patch does not make Servo multiprocess now; there are many other channels that need to be changed to IPC before that can happen. It does introduce a dependency on https://github.com/serde-rs/serde and https://github.com/pcwalton/ipc-channel for the first time.

At the moment, `ipc-channel` uses JSON for serialization. This is because serde does not yet have official support for bincode. When serde gains support for bincode, I'll switch to that. For now, however, the JSON encoding and decoding will constitute a significant performance regression in resource loading.

To avoid having to send boxed `AsyncResponseTarget` trait objects across process boundaries, this series of commits changes `AsyncResponseTarget` to wrap a sender only. It is then the client's responsibility to spawn a thread to proxy calls from that sender to the consumer of the resource data. This only had to be done in a few places. In the future, we may want to collapse those threads into one per process to reduce overhead. (It is impossible to continue to use `AsyncResponseTarget` as a boxed trait object across processes, regardless of how much work is done on `ipc-channel`. Vtables are fundamentally incompatible with IPC across mutually untrusting processes.)

In general, I was pretty pleased with how this turned out. The main changes are adding serialization functionality to various objects that `serde` does not know how to serialize natively—the most complicated being Hyper objects—and reworking `AsyncResponseTarget`. The overall structure of the code is unchanged, and other than `AsyncResponseTarget` no functionality was lost in moving to serialization and IPC.

r? @jdm

Source-Repo: https://github.com/servo/servo
Source-Revision: 2eb122f394651232abd683fc576a5c4288bf277f
2015-07-31 16:06:36 -06:00
Simon Sapin 72eb9c272a servo: Merge #6850 - Upgrade to rustc 1.3.0-dev (87055a68c 2015-07-30) (from servo:rustup_2015-07-30); r=SimonSapin
This builds and passes unit tests.

Source-Repo: https://github.com/servo/servo
Source-Revision: 4837dd9a1c172a55bfad0a7ae67dc3b64753be9a
2015-07-30 14:46:13 -06:00
Avi Weinstock 6a5f0dd49d servo: Merge #6654 - Add copy-to-clipboard feature under x11 (from aweinstock314:add-x11-copy-to-clipboard); r=jdm
The main work is in the the rust-clipboard library, this PR updates Cargo.lock and adds plumbing.

0337e48b3f

Source-Repo: https://github.com/servo/servo
Source-Revision: 28e163d6c44f1d85fbaea7f236da40972b6a63b1
2015-07-29 11:26:00 -06:00
Michael Howell 65722dd9bc servo: Merge #6793 - Add basic unit test for `preload_hsts_domains` (from notriddle:hsts-preload); r=jdm
Closes #6789.

Source-Repo: https://github.com/servo/servo
Source-Revision: 2df88ee4b97fbc347dc99869b6989605760b662e
2015-07-28 19:01:39 -06:00
Sam Gibson 69f6c7e1ca servo: Merge #6490 - Implement HSTS (preload-only) (from samfoo:hsts-preload); r=jdm
Implement HSTS (preload-only) servo/servo#6105

* Downloads the HSTS preload list from the chromium repo (same as gecko), then convert it to a list appropriate for servo.
* Reads the preload list when creating a resource task, and implements STS for those domains.

Still todo:

* Read Strict-Transport-Security headers from servers and add details to the in-memory HSTS list. (note: this requires hyper or servo to implement an STS header struct. Hyper seems like the appropriate location, so I will create an issue/PR there soon). The work for this is nearly done with the exception of adding a new ControlMsg and the new header.
* Persist HSTS list to disk with known hosts (perhaps a different issue should be raised for this?)

Source-Repo: https://github.com/servo/servo
Source-Revision: ab3d6c472d409c1602c873dcdcb495a7fec9d4b0
2015-07-22 10:23:05 -06:00
Bogdan Cuza 5e266ea18c servo: Merge #6648 - Make tidy check for "*" in toml files (from boghison:tidytoml); r=jdm
This checks every .toml file for an asterisk and prints an error if found.

Source-Repo: https://github.com/servo/servo
Source-Revision: 58e9bc6583b6ebbeb27e3b28a6b271ee48cd695a
2015-07-20 14:43:05 -06:00
Martin Robinson f7a684b3a0 servo: Merge #6591 - Upgrade to rustc 1.3.0-dev (fddfd089b 2015-07-10) (from servo:rustup_2015-07-10); r=larsbergstrom
Depends on https://github.com/jgraham/webdriver-rust/pull/12.

Fixes #6020.

Source-Repo: https://github.com/servo/servo
Source-Revision: 9af229b83095f2f8cfe7b61003b85ddf781f4ea7
2015-07-14 13:40:22 -06:00
Michael Wu fac8c79199 servo: Merge #6546 - Remove LayoutChan from LayoutDataWrapper (from michaelwu:slim-layoutdatawrapper); r=Ms2ger
Saves 32 bytes in Node.

Source-Repo: https://github.com/servo/servo
Source-Revision: cc73aad447f0455606a5a6005d31aa55334668a8
2015-07-05 21:39:12 -06:00
Corey Farwell 7a0abba150 servo: Merge #6553 - Unit test for util::str::split_html_space_chars (from frewsxcv:split-html-test); r=Ms2ger
I was concerned for a little bit that passing just whitespace to the
split_html_space_chars function would result in len > 0, so I wrote this
small unit test to make sure it does the right thing. Even though it
does do the right thing, I think there's still value in committing the
unit test.

Source-Repo: https://github.com/servo/servo
Source-Revision: d3d4976d8ed7cd7e92a1246513e125d1a6093d2a
2015-07-04 19:59:32 -06:00
Ms2ger 5e8dd39d0e servo: Merge #6470 - Enable experimental features in the multiple_stylesheets_cascading test (fixes #6466) (from Ms2ger:6466-viewport); r=metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: 995985b9854823b013107381ca8431c0af238a2b
2015-06-26 13:35:11 -06:00
Ms2ger 18fd8097a2 servo: Merge #6459 - Update to rustc 2d0cbf3e3e25e092bd9e4c94d08e446b680869f0 (from servo:rustup_20150625); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 21b48fc44d0b32627918b4778fed16203eecdba5
2015-06-25 12:03:15 -06:00
ecoal95 b32a9cd993 servo: Merge #6423 - Use euclid from crates.io (from emilio:euclid); r=glennw
Sorry for not doing it yesterday, I couldn't.

cc @metajack @SimonSapin

Source-Repo: https://github.com/servo/servo
Source-Revision: 4ebb95ccd8e034007eacb447a054919ef4af2bf7
2015-06-18 20:50:22 -06:00
Simon Sapin 1fe2355ac7 servo: Merge #6396 - Use html5ever and string-cache from crates.io (from SimonSapin:crates.io-html5ever); r=Ms2ger
r? @metajack

Source-Repo: https://github.com/servo/servo
Source-Revision: 4435e6f42a1b57a3e6a0cfbb1033525fef5db174
2015-06-16 00:42:36 -06:00
Corey Farwell 711c6ca962 servo: Merge #6349 - rust-geom API changes (from frewsxcv:geom-api-changes); r=pcwalton
Shouldn't be merged until these have merged:

https://github.com/servo/rust-geom/pull/81

https://github.com/ecoal95/rust-offscreen-rendering-context/pull/13

https://github.com/servo/rust-layers/pull/178

~~I'll also need to update the Cargo lock files once they merge~~

Source-Repo: https://github.com/servo/servo
Source-Revision: cfcd8589d06935f83b903f76477ea03e4d4652d0
2015-06-13 13:52:07 -06:00
Nicholas Nethercote 8ef165e5c2 servo: Merge #6346 - Improve unit testing of util::mem (from nnethercote:improve-mem-unit-testing); r=Manishearth
r? @Manishearth

Source-Repo: https://github.com/servo/servo
Source-Revision: b9d53a2950e41ec9291d3d4fe5efa7eeb57a5253
2015-06-12 04:08:53 -06:00
Manish Goregaokar 96973b6240 servo: Merge #6188 - Add plugin for autoderiving HeapSize (from Manishearth:sizeof); r=nnethercote
Fixes #5914

r? @nnethercote for the gfx changes

r? @kmcallister or @jdm for the plugin

Source-Repo: https://github.com/servo/servo
Source-Revision: 2ca606aaba432741ce4e8274835f26db3a3581fc
2015-06-02 23:48:03 -05:00
Manish Goregaokar def53ee6c3 servo: Merge #6254 - Move to latest hyper everywhere, more package updates (from servo:rustup_20150601); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 20f63459ef198bf96679cbb72355917e7a774265
2015-06-02 12:53:37 -05:00
Corey Farwell 333cc6c59d servo: Merge #6174 - Reduce max line length from 150 to 120 characters (from frewsxcv:cleanup-long-lines); r=SimonSapin
Part of https://github.com/servo/servo/issues/6041

Source-Repo: https://github.com/servo/servo
Source-Revision: 542519ebfd073662bc9421ac5fa0aa01ebc0d6fe
2015-05-24 18:27:26 -05:00
Jinwoo Song 945dab74f2 servo: Merge #6067 - Implement 'background-clip' property in CSS3 Background (from Jinwoo-Song:backgroundclip); r=pcwalton
This property determines the background painting area, which determines the area
within which the background is painted.

Spec: http://dev.w3.org/csswg/css-backgrounds-3/#background-clip

Fixes #6066.

r? @pcwalton
cc @yichoi

Source-Repo: https://github.com/servo/servo
Source-Revision: 9f2079f6baafd5f111fbe7b6542f98c2672fa317
2015-05-15 22:05:05 -05:00
Jinwoo Song ee17e1171b servo: Merge #6046 - Implement 'background-origin' property in CSS3 Background (from Jinwoo-Song:background_origin); r=pcwalton
This property determines the background positioning area, that is the position of
the origin of an image specified using the 'background-image' CSS property.

'background-origin' is ignored when background-attachment is fixed.

Spec: http://dev.w3.org/csswg/css-backgrounds-3/#background-origin

Fixes #6045.

r? @pcwalton
cc @yichoi

Source-Repo: https://github.com/servo/servo
Source-Revision: 8c402728247c73268df9389948ee9a9d9e4063b2
2015-05-14 20:53:02 -05:00
Ms2ger a13d7d197e servo: Merge #6044 - Various cleanup (from Ms2ger:cleanup); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 7bda431e61d06113306c3f12d9f4240a58a7d34d
2015-05-14 07:16:42 -05:00
Simon Sapin e50563524e servo: Merge #6021 - Upgrade to Hyper 0.4.0 (from SimonSapin:hyperup); r=Manishearth
r? @Manishearth

Source-Repo: https://github.com/servo/servo
Source-Revision: 8cacf20a075b3747509897599c37662721d18d1c
2015-05-12 12:42:49 -05:00
Avi Weinstock 462677c157 servo: Merge #5800 - Made the clipboard-related functionality in TextInput more testable. Add (from aweinstock314:x11-clipboard); r=jdm
...ed test_clipboard_paste to the "test-unit" suite.

Source-Repo: https://github.com/servo/servo
Source-Revision: 5cb1356e9e3dbde9fd841c9aa2d21ea39c5eda18
2015-05-06 16:09:37 -05:00
James Gilbertson 157566c480 servo: Merge #5361 - Implement CSS Device Adaption Level 1 (from luniv:css-device-adapt); r=mbrubeck
Spec: http://dev.w3.org/csswg/css-device-adapt/

Currently, the actual viewport is used by the layout task as part of the reflow, and the compositor uses the zoom constraints. I'm not sure if anywhere else currently needs access to the constraints (i.e. there's no CSSOM as far as I can tell).

I did not implement sections 9 (viewport <META>) or 10 (handling 'auto' for 'zoom').

Source-Repo: https://github.com/servo/servo
Source-Revision: ccf1e6b9a701cf4ff010fa1f1b4ba9d656d962af
2015-05-06 12:41:09 -05:00
Himaja f9351542b0 servo: Merge #5947 - Extend the developer tools support (from jdm:devtools); r=jdm
Implement HTTP request/response notifications per https://github.com/servo/servo/wiki/More-developer-tools-student-project .

Rebased from #5920.

Source-Repo: https://github.com/servo/servo
Source-Revision: ab589da1f464ed00b0105bc4531690da0118ea5b
2015-05-05 11:52:44 -05:00
Simon Sapin 95c8716656 servo: Merge #5935 - Upgrade Rust (from servo:rustup_2015-04-25); r=Ms2ger
r? everybody

Source-Repo: https://github.com/servo/servo
Source-Revision: 49aed6555dbc008c1a378c5cbb303f5467232b6b
2015-05-05 09:11:30 -05:00
Nicholas Nethercote f6d34641fc servo: Merge #5912 - Add a `profile_traits` crate to reduce compile times (from nnethercote:profile_traits); r=Manishearth
A rebuild after touching components/profile/mem.rs now takes 48 seconds (and
only rebuilds `profile` and `servo`) which is much lower than it used to be.
In comparison, a rebuild after touching components/profile_traits/mem.rs takes
294 seconds and rebuilds many more crates.

This change also removes some unnecessary crate dependencies in `net` and
`net_traits`.

Source-Repo: https://github.com/servo/servo
Source-Revision: 77f653da2c4120ea7ac1a946d97fc70059d513d4

--HG--
rename : servo/tests/unit/gfx/lib.rs => servo/components/profile_traits/lib.rs
2015-04-30 20:02:33 -05:00
Glenn Watson 835b3be20c servo: Merge #5767 - Refactored image cache task - details below (from glennw:image-cache); r=larsbergstrom,jdm
* Simpler image cache API for clients to use.
 * Significantly fewer threads.
   * One thread for image cache task (multiplexes commands, decoder threads and async resource requests).
   * 4 threads for decoder worker tasks.
 * Removed ReflowEvent hacks in script and layout tasks.
   * Image elements pass a Trusted<T> to image cache, which is used to dirty nodes via script task. Previous use of Untrusted addresses was unsafe.
   * Image requests such as background-image on layout / paint threads trigger repaint only rather than full reflow.
 * Add reflow batching for when multiple images load quickly.
   * Reduces the number of paints loading wikipedia from ~95 to ~35.
 * Reasonably simple to add proper prefetch support in a follow up PR.
 * Async loaded images always construct Image fragments now, instead of generic.
   * Image fragments support the image not being present.
 * Simpler implementation of synchronous image loading for reftests.
 * Removed image holder.
 * image.onload support.
 * image NaturalWidth and NaturalHeight support.
 * Updated WPT expectations.

Source-Repo: https://github.com/servo/servo
Source-Revision: ac0645c2363b5a6ea3930b0857b3a27f1b6d033f
2015-04-22 19:16:46 -05:00
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
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
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
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
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
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
Edward Cho a22551161c servo: Merge #5671 - move mime classifier unit tests into unit test crate (from zerokarmaleft:move_mime_classifier_tests); r=SimonSapin
Closes #5667.

Source-Repo: https://github.com/servo/servo
Source-Revision: f67749fc7d9eab13086fbea32b684f3a8eff6688
2015-04-13 16:11:10 -05:00
James Gilbertson 93c6536687 servo: Merge #5553 - Use iterators for iterating through CSS rules (from luniv:css-rule-iterators); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 22e570a06e92bbc449eb01058e243443b536f467
2015-04-10 19:17:49 -05:00
Aneesh Agrawal bc2c7bd5e1 servo: Merge #5558 - Remove compositor dependency on net crate (from aneeshusa:remove-compositor-dependency-on-net); r=jdm
Move the ImageCacheTaskClient trait and impl to net_traits. Fixes #5551.

Source-Repo: https://github.com/servo/servo
Source-Revision: 6903955b9835b7cfdff6378e4a547cdad1589443
2015-04-10 07:41:54 -05:00
Patrick Walton 6146e9b4fd servo: Merge #5493 - layout: Simplify and improve the correctness of whitespace stripping in text layout, and unify the inline layout paths for pre- and normally-formatted text (from pcwalton:jumpiness); r=mbrubeck
This fixes a lot of "jumpiness" and removes the `new_line_pos` stuff.

Closes #2260.

r? @mbrubeck
cc @metajack

Source-Repo: https://github.com/servo/servo
Source-Revision: d3478954fd8e3a8374104984efb91a918b5dbb7e
2015-04-08 17:13:36 -05:00
Simon Sapin 5b41ccfb98 servo: Merge #5574 - Move unit tests to their own crates, cut time by 96% (from servo:unit-tests); r=jack
On my laptop, running `./mach test-unit` goes from about 11 minutes to 22 seconds, when run after `./mach build`.

Fix #5291.

Source-Repo: https://github.com/servo/servo
Source-Revision: 017d1053617f6769d7f355e4a97d52ae67e53d1c

--HG--
rename : servo/components/net/test.jpeg => servo/tests/unit/net/test.jpeg
rename : servo/components/script/tests.rs => servo/tests/unit/script/size_of.rs
2015-04-07 21:16:49 -05:00