bors-servo
2d164f2beb
Auto merge of #8729 - dzbarsky:canvas_webidl, r=dzbarsky
...
Update Canvas webIDL to spec
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8729 )
<!-- Reviewable:end -->
2015-11-29 09:32:28 +05:30
David Zbarsky
ee3f7ad451
Update Canvas webIDL to spec
2015-11-28 20:03:48 -08:00
Corey Farwell
feb16463ef
Add tracking issues for body/document attributes
2015-11-28 17:53:59 -05:00
bors-servo
eadaf30af3
Auto merge of #8703 - eefriedman:dom-getter-setter-atom, r=frewsxcv
...
Compute attribute name atoms at compile-time.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8703 )
<!-- Reviewable:end -->
2015-11-28 20:40:07 +05:30
bors-servo
dbff1ab336
Auto merge of #8692 - GuillaumeGomez:patch-1, r=Wafflespeanut
...
Ensure crate are alphabetically sorted
cc @nox
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8692 )
<!-- Reviewable:end -->
2015-11-28 19:34:11 +05:30
Guillaume Gomez
6e7de62b38
Add check up on extern crate order and sort extern crates alphabetically
2015-11-28 03:11:08 +01:00
bors-servo
c0be03f2af
Auto merge of #8701 - nerith:attribute, r=jdm
...
Remove `#[allow(raw_pointer_derive)]` attributes
The attributes are unused.
Fixes #8699 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8701 )
<!-- Reviewable:end -->
2015-11-28 06:07:46 +05:30
Eli Friedman
c02c0576c8
Compute attribute name atoms at compile-time.
2015-11-27 15:42:34 -08:00
Brandon Fairchild
341e66f66d
Remove #[allow(raw_pointer_derive)]
attributes
...
The attributes are unused.
Fixes #8699 .
2015-11-27 14:32:57 -05:00
bors-servo
99223656fb
Auto merge of #8675 - GuillaumeGomez:master, r=nox
...
Add XMLDocument object
Fixes #8000
(Still working on it)
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8675 )
<!-- Reviewable:end -->
2015-11-27 19:29:04 +05:30
Guillaume Gomez
adf8b359bb
Add XMLDocument object
2015-11-27 14:55:41 +01:00
Keith Yeung
d426dd29d1
Use set_plaintext_state instead of plaintext tag
2015-11-27 00:45:34 -08:00
Manish Goregaokar
dc0e467945
Upgrade to rustc 1.6.0-nightly (d5fde83ae 2015-11-12)
...
… and libc 0.2 and many other dependencies
2015-11-27 00:15:29 -05:00
GauriGNaik
996e9e06b2
Defined new trait ParseErrorReporter and added error_reporter member to ParserContext
2015-11-25 18:28:30 -05:00
bors-servo
8efc954531
Auto merge of #8671 - paulrouget:iframe-hit-test, r=pcwalton
...
Fix clip rect for iframes in hit testing code
Fixes #8080 r? @mrobinson
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8671 )
<!-- Reviewable:end -->
2015-11-26 00:39:36 +05:30
Alan Jeffrey
3dec6edd10
Update string_cache to 0.2.
...
Updated string_cache, html5ever, xml5ever and selectors in Cargo.toml files and Cargo.lock.
Removed references to string_cache_plugin.
Import atom! and ns! from string_cache.
Replaced ns!("") by ns!().
Replaced ns!(XML) and co by ns!(xml) and co.
Replaced atom!(foo) by atom!("foo").
Replaced Atom::from_slice by Atom::from.
Replaced atom.as_slice() by &*atom.
2015-11-25 10:13:21 -06:00
bors-servo
e7b1924948
Auto merge of #6826 - dzbarsky:deletecontents, r=jdm
...
Implement Range#deleteContents
Sadly calling ExtractContents and discarding the result doesn't do the right thing.
It may be worth having a CutContents method that takes an `Option<DocumentFragment>` and switch the behavior based on it, to share the code between DeleteContents and ExtractContents, like what Gecko does. Maybe a followup.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6826 )
<!-- Reviewable:end -->
2015-11-25 19:55:02 +05:30
David Zbarsky
25b7c9523c
Implement Range#deleteContents
2015-11-25 00:02:25 -08:00
Matt Brubeck
7b799497d1
Convert from client to page coords in script
2015-11-25 07:16:09 +01:00
bors-servo
13a96fcaf7
Auto merge of #8660 - pcwalton:ipc-channel-errors, r=larsbergstrom
...
Update `ipc-channel` to pick up the improved error reporting.
Intended to help diagnose intermittent failures.
r? @jdm or @larsbergstrom (or whoever)
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8660 )
<!-- Reviewable:end -->
2015-11-25 07:31:15 +05:30
Patrick Walton
2843000810
Update ipc-channel
to pick up the improved error reporting.
...
Intended to help diagnose intermittent failures.
2015-11-23 16:38:39 -08:00
bors-servo
0905088e83
Auto merge of #8655 - jdm:domain, r=jdm
...
Implement document.domain getter
Rebased from #6840 + test fixes.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8655 )
<!-- Reviewable:end -->
2015-11-24 06:01:13 +05:30
Tom Schuster
0e0e051f3f
Implement document.domain getter
2015-11-23 15:45:02 -05:00
bors-servo
6ef6d664aa
Auto merge of #8656 - servo:canvas-currentcolor, r=SimonSapin
...
Implement currentColor for Canvas colors
Fixes #7120 .
This is #7120 by @dzbarsky, with one tidy error fixed.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8656 )
<!-- Reviewable:end -->
2015-11-23 23:09:57 +05:30
Simon Sapin
18ecf54d10
Tidy.
2015-11-23 16:16:35 +01:00
Nick Fitzgerald
bd857cb1cb
Remove two unused imports from components/script/dom/node.rs
...
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};
^~~~~~~~~~~~~~~~~
```
2015-11-21 21:45:55 -08:00
Eli Friedman
31c013858f
Make the needs_reflow method actually work correctly.
...
The document node is always dirty because layout never clears the bit;
instead, check the dirty bit of the root element.
2015-11-21 15:49:58 -08:00
David Zbarsky
8408891ec5
Parse currentColor as Canvas2D color
2015-11-21 11:59:19 -08:00
bors-servo
ea690a2dff
Auto merge of #8622 - frewsxcv:url-plugin, r=SimonSapin
...
Implement 'url!(..)' macro
https://github.com/servo/rust-url/issues/136
https://github.com/servo/rust-url/pull/137
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8622 )
<!-- Reviewable:end -->
2015-11-21 21:10:52 +05:30
Corey Farwell
f34da4120d
Implement 'url!(..)' macro
...
https://github.com/servo/rust-url/issues/136
https://github.com/servo/rust-url/pull/137
2015-11-21 08:15:56 -05:00
bors-servo
28582bb9f5
Auto merge of #8633 - rilut:remove-node-is-anchor-element, r=nox
...
Remove 'Node::is_anchor_element'
Should fixes #8631 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8633 )
<!-- Reviewable:end -->
2015-11-21 16:01:37 +05:30
bors-servo
7ccdc42a66
Auto merge of #8627 - rilut:refactor-script, r=Ms2ger
...
Move SetDOMProxyInformation() call from script_task.rs to script/lib.rs
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
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8627 )
<!-- Reviewable:end -->
2015-11-21 15:26:38 +05:30
bors-servo
585d2d5c8c
Auto merge of #8621 - jgraham:webdriver_css, r=jdm
...
Add support for getting an element's computed style through WebDriver.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8621 )
<!-- Reviewable:end -->
2015-11-21 11:09:50 +05:30
Rizky Luthfianto
d3c852ed85
Remove 'Node::is_anchor_element'
2015-11-21 11:44:10 +07:00
Rizky Luthfianto
1c9ce04320
refactor(script): move SetDOMProxyInformation() call to lib.rs
2015-11-21 01:46:10 +07:00
James Graham
f7258e4fcc
Add support for getting an element's computed style through WebDriver.
2015-11-20 13:23:38 +00:00
Ms2ger
964c8355b7
Remove an unused trait.
2015-11-20 11:39:03 +01:00
bors-servo
8b39b9afed
Auto merge of #8599 - jdm:e10s-redux, r=metajack
...
compositing: Split Servo up into multiple sandboxed processes.
Multiprocess mode is enabled with the `-M` switch, and sandboxing is
enabled with the `-S` switch.
Rebase of #6884 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8599 )
<!-- Reviewable:end -->
2015-11-20 03:59:48 +05:30
Patrick Walton
1c130819ca
compositing: Split Servo up into multiple sandboxed processes.
...
Multiprocess mode is enabled with the `-M` switch, and sandboxing is
enabled with the `-S` switch.
2015-11-19 16:38:04 -05:00
bors-servo
e5c9b48598
Auto merge of #8589 - vegayours:8360_reduce_node_unique_id_size, r=eefriedman
...
Reduce node.unique_id size
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8589 )
<!-- Reviewable:end -->
2015-11-20 01:44:19 +05:30
bors-servo
7f95693288
Auto merge of #8564 - jgraham:webdriver_attr, r=Ms2ger
...
Implement Get Element Attribute WebDriver command
This intentionally doesn't implement the special handling for boolean
attributes yet, since that requires some kind of exhaustive list of all
such attributes
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8564 )
<!-- Reviewable:end -->
2015-11-19 23:16:25 +05:30
bors-servo
ced8763b25
Auto merge of #8604 - Ms2ger:unused-import, r=jdm
...
Remove unused import.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8604 )
<!-- Reviewable:end -->
2015-11-19 22:12:19 +05:30
Ms2ger
b7117893af
Rename a confusing argument.
2015-11-19 16:18:28 +01:00
Ms2ger
bf7053bc17
Remove unused import.
2015-11-19 16:14:47 +01:00
bors-servo
acbe413052
Auto merge of #8530 - KiChjang:split-constellation-msg, r=jdm
...
Split ConstellationMsg into ScriptMsg and CompositorMsg
Fixes #8356 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8530 )
<!-- Reviewable:end -->
2015-11-19 04:39:20 +05:30
benshu
54e41fb22d
Correct undisciplined rebase. (Closes #8583.)
2015-11-18 21:10:20 +01:00
Aleksandr Likhanov
4bf21ab15e
reduce node.unique_id size
...
fix sizeof unittest
update Cargo.lock
2015-11-19 00:48:20 +05:00
James Graham
6446cc3db8
Implement Get Element Attribute WebDriver command
2015-11-18 11:52:05 +00:00
bors-servo
7a87312121
Auto merge of #8569 - Ms2ger:fmt-script, r=metajack
...
Rustfmt some of script.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8569 )
<!-- Reviewable:end -->
2015-11-18 15:44:30 +05:30
Ms2ger
0c61be7a57
Rustfmt some of script.
2015-11-18 11:14:05 +01:00