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

5217 Коммитов

Автор SHA1 Сообщение Дата
Patrick Walton a2c55b5db1 servo: Merge #8660 - Update `ipc-channel` to pick up the improved error reporting (from pcwalton:ipc-channel-errors); r=larsbergstrom
Intended to help diagnose intermittent failures.

r? @jdm or @larsbergstrom (or whoever)

Source-Repo: https://github.com/servo/servo
Source-Revision: 13a96fcaf78c299beb2021d3ae9dae8d9e916762
2015-11-25 07:02:15 +05:01
Simon Sapin e11fa44aa2 servo: Merge #8653 - Remove dependency on regex_macros (from servo:no-regex-macros); r=Ms2ger
This reduces the amount of code using unstable features that we depend on.
The hand-written IP address parser is probably just as fast.

Source-Repo: https://github.com/servo/servo
Source-Revision: 6f35b867c9c3bb7a345e2ac34e5970b93a1d3ea1
2015-11-25 02:36:10 +05:01
Keith Yeung b6f924158d servo: Merge #8609 - Add content_type to metadata in file_loader (from KiChjang:file-loader-headers); r=KiChjang
Fixes #4212.

Source-Repo: https://github.com/servo/servo
Source-Revision: ed6a3f5022ebfa364595b91d68b73e6ff60a4954
2015-11-25 01:20:26 +05:01
Martin Robinson acc0f49daf servo: Merge #8632 - Improve readability of flow tree dump (from mrobinson:flow-tree-dump); r=pcwalton
Use the PrintTree utility to improve the readability of flow tree
dumps. Blocks and fragments are now split over two dump levels, because
otherwise they are impenetrable. Also start printing the restyle damage of
fragments.

Source-Repo: https://github.com/servo/servo
Source-Revision: a2330f494316926dca9f64431d8357a093143d7d
2015-11-24 07:20:07 +05:01
Tom Schuster c52768cb81 servo: Merge #8655 - Implement document.domain getter (from jdm:domain); r=jdm
Rebased from #6840 + test fixes.

Source-Repo: https://github.com/servo/servo
Source-Revision: 0905088e83819ada426ee6124f8c7e2d8978ea8b
2015-11-24 05:32:13 +05:01
Bobby Holley e74fa4f2d3 servo: Merge #8639 - Use associated types for layout wrapper trait, and generalized ThreadSafeLayoutFoo (from bholley:generalize_wrappers2); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 711f516d80c9c0026744cd373d398dc294f14d2a
2015-11-24 03:32:32 +05:01
Keith Yeung 3e5efa34d0 servo: Merge #8542 - Extend whitespace::T with additional helper methods (from KiChjang:style-whitespace-methods); r=SimonSapin
Fixes #8128.

Source-Repo: https://github.com/servo/servo
Source-Revision: 6449cd09ebd7f7e3545039c26bcbe9a6ca7a5621
2015-11-23 23:10:07 +05:01
Simon Sapin 22d57945e8 servo: Merge #8656 - Implement currentColor for Canvas colors (from servo:canvas-currentcolor); r=SimonSapin
Fixes #7120.

This is #7120 by @dzbarsky, with one tidy error fixed.

Source-Repo: https://github.com/servo/servo
Source-Revision: 6ef6d664aab9368e69f0c9bc9c4c37ad22d79897
2015-11-23 22:40:57 +05:01
r0e 3e26b6db66 servo: Merge #8597 - Fix for #8593 'loop..match' should be 'while let' (from r0e:testing); r=Manishearth
As per #8593.

Source-Repo: https://github.com/servo/servo
Source-Revision: e3eee5a41b2bc6e3517cdcdc745d74c59a82e76e
2015-11-23 07:49:20 +05:01
Ravi Shankar d99d5eaa1c servo: Merge #8649 - Moving Servo's cry message! (from Wafflespeanut:I_TRIED); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: f6591a3d9e5e4b010d09fb2b2869234297367eec

--HG--
rename : servo/tests/html/itried.jpg => servo/resources/itried.jpg
2015-11-23 02:52:57 +05:01
Nick Fitzgerald b88fc4598f servo: Merge #8644 - Remove two unused imports from components/script/dom/node.rs (from fitzgen:remove-unused-imports-in-scropt-dom-node); r=eefriedman
Fixes these two compiler warnings:

```
   Compiling servo v0.0.1 (file:///Users/fitzgen/src/servo/components/servo)
/Users/fitzgen/src/servo/components/script/dom/node.rs:26:65: 26:78 warning: unused import, #[warn(unused_imports)] on by default
/Users/fitzgen/src/servo/components/script/dom/node.rs:26 use dom::bindings::inheritance::{Castable, CharacterDataTypeId, ElementTypeId};
                                                                                                                          ^~~~~~~~~~~~~
/Users/fitzgen/src/servo/components/script/dom/node.rs:27:53: 27:70 warning: unused import, #[warn(unused_imports)] on by default
/Users/fitzgen/src/servo/components/script/dom/node.rs:27 use dom::bindings::inheritance::{EventTargetTypeId, HTMLElementTypeId, NodeTypeId};
                                                                                                              ^~~~~~~~~~~~~~~~~
```

Source-Repo: https://github.com/servo/servo
Source-Revision: 6ab205a97e0b19adbb28c9fd18e34faf81dde589
2015-11-22 16:37:48 +05:01
jmr0 ef773271f4 servo: Merge #8642 - making internal pub enums, functions, and structs private (from jmr0:master); r=jdm
Refactoring to fix #8620

Source-Repo: https://github.com/servo/servo
Source-Revision: 3199eace981899bbaac74abe9362f90b14118d7c
2015-11-22 15:46:36 +05:01
Alex Gaynor 9ec88dc3d4 servo: Merge #8637 - Always disable SSLv2 and SSLv3 (from alex:disable-ssl); r=Manishearth
These protocols have serious known weakness and our turned off in other browsers.

Source-Repo: https://github.com/servo/servo
Source-Revision: ed65fd29709c9e0bc424aa15c3d895d665a6a342
2015-11-22 09:27:38 +05:01
Eli Friedman 007efab7d2 servo: Merge #8441 - Make the needs_reflow method actually work correctly (from eefriedman:needs-reflow); r=bholley
The document node is always dirty because layout never clears the bit;
instead, check the dirty bit of the root element.

Source-Repo: https://github.com/servo/servo
Source-Revision: a2be34365ae3b3e9a4f7da7a0fb5ed2dbf8426eb
2015-11-22 05:15:08 +05:01
Corey Farwell 142c7b7efe servo: Merge #8622 - Implement 'url!(..)' macro (from frewsxcv:url-plugin); r=SimonSapin
https://github.com/servo/rust-url/issues/136

https://github.com/servo/rust-url/pull/137

Source-Repo: https://github.com/servo/servo
Source-Revision: ea690a2dff64d1cb4eb668473d62f1bbcb19f7c8
2015-11-21 20:41:52 +05:01
Alex Gaynor 066c651647 servo: Merge #8611 - Fixed #8594 -- use a more modern default cipher suite list by default (from alex:default-ciphers); r=jvehent
Fixes #8594.

Source-Repo: https://github.com/servo/servo
Source-Revision: ec3437f4e30547884f9faaf153201fad6ab1173f
2015-11-21 20:13:11 +05:01
Martin Feckie da0049d5da servo: Merge #8601 - Check if MANIFEST.json changes as per #8587 (from mfeckie:feature/manifest-diff-ci-check); r=jdm
Adds a script which checks if either of the MANIFEST.json files change in `test/wpt` in response to #8587

- Addresses currently incorrect MANIFEST.json
- Adds checking script

PR for saltfs to add to CI checks to follow (https://github.com/servo/saltfs/pull/163)

https://reviewable.io/reviews/servo/servo/8601

Source-Repo: https://github.com/servo/servo
Source-Revision: f2fe1171d2a4f4ae37cfa0e0e345662f68e41c5d
2015-11-21 19:44:10 +05:01
Rizky Luthfianto 746277306a servo: Merge #8633 - Remove 'Node::is_anchor_element' (from rilut:remove-node-is-anchor-element); r=nox
Should fixes #8631.

Source-Repo: https://github.com/servo/servo
Source-Revision: 28582bb9f55c89125ea2f4873e1ee079bcc5d092
2015-11-21 15:32:37 +05:01
Rizky Luthfianto f1c2ebd293 servo: Merge #8627 - Move SetDOMProxyInformation() call from script_task.rs to script/lib.rs (from rilut:refactor-script); r=Ms2ger
Actually, I'm not sure whether to move `unsafe extern "C" fn shadow_check_callback` from script_task.rs to lib.rs or to keep it there. cc: @wenderen

Source-Repo: https://github.com/servo/servo
Source-Revision: 7ccdc42a660bed7ac3bd3ad110567b79cba012ff
2015-11-21 14:57:38 +05:01
James Graham 0e8c63fadf servo: Merge #8621 - Add support for getting an element's computed style through WebDriver (from jgraham:webdriver_css); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 585d2d5c8c4e59be20ab9660dab75fc55438e247
2015-11-21 10:40:50 +05:01
Ms2ger 37cb887a5a servo: Merge #8617 - Remove an unused trait (from Ms2ger:unused-as); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 18ee6bc30a90855beb7574a5e7627b436e12c193
2015-11-21 05:52:02 +05:01
Martin Robinson 92c4008bcb servo: Merge #8628 - Clean up restyle damage after it no longer applies (from mrobinson:damage-bits); r=pcwalton
BUBBLE_ISIZES and REPAINT can become "stuck" on in the default Servo
configuration once they are activated. This is solved by removing these
damage bits after they no longer apply. There isn't a good way to test
this, other than noting that it doesn't break any existing CSS tests.
This will become more important in the future as the REPAINT bit is used
to implement display list patching.

Source-Repo: https://github.com/servo/servo
Source-Revision: 8b6bfb615a8a04177c321c4940f79f090b0a7971
2015-11-21 04:15:28 +05:01
Glenn Watson 24a705c7a0 servo: Merge #8559 - Include transform changes in list that cause incremental reflows (from glennw:transform-layers); r=pcwalton
Also ensure that 3d translations get layers.

Fixes #8329.

Source-Repo: https://github.com/servo/servo
Source-Revision: c19b01c2f4acdccf140e65145c8915acc6fbe59c
2015-11-21 01:59:18 +05:01
Ms2ger cc365bc20a servo: Merge #8624 - Pass ServoLayoutNode to query functions (from Ms2ger:node); r=pcwalton
This means we only deal with TrustedNodeAddress in LayoutTask::handle_reflow,
which is where the safety of this usage is guaranteed (by the ScriptReflow
destructor).

Source-Repo: https://github.com/servo/servo
Source-Revision: fc54534898c9ce4cc443e6155e0004ec4edfbb1f
2015-11-21 01:10:11 +05:01
Ms2ger 49fb62b953 servo: Merge #8615 - Remove unused import (from Ms2ger:unusued-import); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 0146751bb227e577f54c4c0574ae36236e2bcdce
2015-11-20 12:57:18 +05:01
Patrick Walton 8c7de61738 servo: Merge #8599 - compositing: Split Servo up into multiple sandboxed processes (from jdm:e10s-redux); r=metajack
Multiprocess mode is enabled with the `-M` switch, and sandboxing is
enabled with the `-S` switch.

Rebase of #6884.

Source-Repo: https://github.com/servo/servo
Source-Revision: 8b39b9afed6ef8a3d7d3e6609fd301a37825d3e1
2015-11-20 03:30:48 +05:01
Aleksandr Likhanov a4e688b2a0 servo: Merge #8589 - Reduce node.unique_id size (from vegayours:8360_reduce_node_unique_id_size); r=eefriedman
Source-Repo: https://github.com/servo/servo
Source-Revision: e5c9b4859870ab7dcb6a5137ac5106088ccc3872
2015-11-20 01:15:19 +05:01
Rizky Luthfianto 081936fd7a servo: Merge #8606 - refactor(layout_task.rs): move some functions to query.rs (from rilut:refactor-layout-task); r=Ms2ger
Should fixes #8470

Source-Repo: https://github.com/servo/servo
Source-Revision: ff4171170dba925b9036bf59af7dc17202273af1
2015-11-19 23:19:17 +05:01
James Graham 1fd88ae360 servo: Merge #8564 - Implement Get Element Attribute WebDriver command (from jgraham:webdriver_attr); r=Ms2ger
This intentionally doesn't implement the special handling for boolean
attributes yet, since that requires some kind of exhaustive list of all
such attributes

Source-Repo: https://github.com/servo/servo
Source-Revision: 7f95693288eac546b7b31a51a6fcf80883ae533b
2015-11-19 22:47:25 +05:01
Ms2ger c9939e3c34 servo: Merge #8604 - Remove unused import (from Ms2ger:unused-import); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: ced8763b25df54f7820563200003dd79c05d0ec3
2015-11-19 21:43:19 +05:01
Ms2ger 0de53168f0 servo: Merge #8605 - Rename a confusing argument (from Ms2ger:rename-argument); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 7526ed72d7c7533cf758c85b98cd61952c0578d9
2015-11-19 21:10:57 +05:01
Yanir Seroussi d5d4fc96cd servo: Merge #8596 - Reduce duplication in binary path determinition for Android target (from yanirs:build-binary-path-reduce-duplication); r=larsbergstrom
Fixes issue #8349

Source-Repo: https://github.com/servo/servo
Source-Revision: 4f1feb3925c8705ada845687eaeef60ba599212b
2015-11-19 18:19:35 +05:01
Bobby Holley c5e27f41ed servo: Merge #8595 - Generalize the layout wrapper layer (from bholley:generalize_wrappers); r=pcwalton
There's still more refactoring to do, but this is the core stuff that's most likely to bitrot.

Source-Repo: https://github.com/servo/servo
Source-Revision: a5babb89a02b9b84a8cd62554a5ceef9efb0d481
2015-11-19 06:43:40 +05:01
nxnfufunezn 54709f6581 servo: Merge #8590 - Make test-wpt run with RUST_BACKTRACE=1 by default #8194 (from nxnfufunezn:_run_test-wpt_with_RUST_BACKTRACE); r=jdm
Fixes #8194

Source-Repo: https://github.com/servo/servo
Source-Revision: 1dd4c0821ff4314f15588d64926c91523846516d
2015-11-19 06:11:02 +05:01
Keith Yeung 5b3f4b220a servo: Merge #8530 - Split ConstellationMsg into ScriptMsg and CompositorMsg (from KiChjang:split-constellation-msg); r=jdm
Fixes #8356.

Source-Repo: https://github.com/servo/servo
Source-Revision: acbe41305230a926458596444ca955eff063d9dd
2015-11-19 04:10:20 +05:01
benshu cb48afc280 servo: Merge #8591 - Correct undisciplined rebase. (Closes #8583.) (from benschulz:im-a-toddler); r=jdm
I screwed up the rebase on top of #8175; sorry to waste your time with this, @jdm. :(

Source-Repo: https://github.com/servo/servo
Source-Revision: d11442bdcccf4002cdb84e85fe726130047a2b07
2015-11-19 01:29:30 +05:01
Ms2ger 039acf7bfe servo: Merge #8562 - Stop exposing the internal details of the layout crate (from Ms2ger:private-layout); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 2be0cb7827c6553b7dfa4d641bf3a1c72372ad3b
2015-11-18 19:04:36 +05:01
James Graham d4e58775f9 servo: Merge #8578 - Change default homepage to servo.org (from jgraham:servo_homepage); r=larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: e2ef409c5d3404b44d4be1b0410d1db66433497d
2015-11-18 18:00:03 +05:01
Ms2ger f0af48c824 servo: Merge #8569 - Rustfmt some of script (from Ms2ger:fmt-script); r=metajack
Source-Repo: https://github.com/servo/servo
Source-Revision: 7a87312121a69b590b364f9b5095f3145554e24b
2015-11-18 15:15:30 +05:01
Brandon Fairchild 4fb6893be4 servo: Merge #8572 - Make Node::is_parent_of and Stylesheet::is_effective_for_device more idiomatic (from nerith:idiomatic); r=frewsxcv
Fixes #8555.

Source-Repo: https://github.com/servo/servo
Source-Revision: 247f586284ff3938430fd2be8de2ba2ac82eadc2
2015-11-18 04:24:17 +05:01
Corey Farwell 329b2c3204 servo: Merge #8567 - Add tracking issue for HTMLFormControlsCollection (from frewsxcv:tracking-issue-HTMLFormControlsCollection); r=eefriedman
Source-Repo: https://github.com/servo/servo
Source-Revision: 71dbf99e4e4cb9e43554b9a00f76d2c61995888b
2015-11-18 02:13:56 +05:01
Florian Gilcher 81d079c5ad servo: Merge #8560 - Add a link to the website (from skade:patch-1); r=SimonSapin
You have such a fancy website with additional info, why not link it from the README?

Source-Repo: https://github.com/servo/servo
Source-Revision: ceb72e54e469bb3811fb641e7c38f476781a5720
2015-11-17 15:46:38 +05:01
Ms2ger d0c495b6fd servo: Merge #8549 - Privatize from_layout_js functions (from Ms2ger:privatize); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: cedaac8dbe44e23b7bb7335c470e9e48ee1e6139
2015-11-17 13:42:22 +05:01
Michael Wu 64aafda294 servo: Merge #8552 - Avoid overflow in freetype/font_context.rs (from michaelwu:avoid_overflow); r=glennw
When new_actual_size < old_actual_size, there is an overflow panic since we're using usize. This breaks Reddit for me.

Source-Repo: https://github.com/servo/servo
Source-Revision: 8950345e0e2c803cfa87105374dfdb30a550cfe0
2015-11-17 12:35:47 +05:01
James Graham 182556357b servo: Merge #8151 - Implement support for WebDriver send keys command (from jgraham:webdriver_sendkeys); r=jgraham
Supports sending keys to an element. The specification here is still
rather unfinished so the error handling and so on in this code will
need iteration as it becomes clearer what the expected behaviour is.

Source-Repo: https://github.com/servo/servo
Source-Revision: afe03870ce1a5a65b4c22f2e64155259da8b4609
2015-11-17 10:33:50 +05:01
David Raifaizen f84e0e094b servo: Merge #8503 - Adding method to detect if image formats should be supported by servo (from craftytrickster:8406/limit-suppported-format); r=mbrubeck
https://github.com/servo/servo/issues/8406

Please let me know if I need to make any changes.

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

--HG--
rename : servo/tests/unit/gfx/lib.rs => servo/tests/unit/net_traits/lib.rs
2015-11-17 06:45:25 +05:01
Ms2ger e0b4ad2928 servo: Merge #8548 - Remove the unused arguments to hit_test and mouse_over (from Ms2ger:unused-tna); r=pcwalton
I don't think this code is called when there is no document element, but I
added assertions to make sure we notice in case I was wrong.

Source-Repo: https://github.com/servo/servo
Source-Revision: 20d26853e145e275695463662b6cee334cd27085
2015-11-17 01:36:52 +05:01
Ms2ger 8888e8b49a servo: Merge #8545 - Remove AutoJoinScriptTask (from Ms2ger:AutoJoinScriptTask); r=pcwalton
I don't believe there is a case where it would make sense to drop the
ScriptReflow struct without joining the script thread. This approach should
be somewhat more robust, and avoids the code smell of a RAII guard in an
otherwise unused variable.

Source-Repo: https://github.com/servo/servo
Source-Revision: db94fda10e3351c96a0df61099d2fdfa481cc62b
2015-11-17 00:49:45 +05:01
Michael Howell 9458820d58 servo: Merge #8538 - Ignore `<meta name=viewport>` if `@viewport` is ignored (from notriddle:github_resize); r=mbrubeck
Fixes #8373

Source-Repo: https://github.com/servo/servo
Source-Revision: c1e6bc0714a11518afc608981ece954ac70bec93
2015-11-17 00:02:49 +05:01
Toothbrush f71fd93011 servo: Merge #8550 - Fixes #8546 (from toothbrush7777777:patch-1); r=frewsxcv
Fixes issue #8546.

Source-Repo: https://github.com/servo/servo
Source-Revision: 4b0330937ab1f99e47c2ce312150a6dd44068380
2015-11-16 23:15:58 +05:01