Corey Farwell
8fbe575b22
servo: Merge #8722 - Add tracking issues for body/document attributes (from frewsxcv:tracking-issues); r=nox
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 2dab0e15845f3ae625ca4b89facd62c2f2adb8b3
2015-11-29 04:06:17 +05:00
Eli Friedman
bde50bc128
servo: Merge #8703 - Compute attribute name atoms at compile-time (from eefriedman:dom-getter-setter-atom); r=frewsxcv
...
Source-Repo: https://github.com/servo/servo
Source-Revision: eadaf30af396857535ad15b269bcba4f58e1ff9a
2015-11-28 20:10:07 +05:00
Guillaume Gomez
7855be6622
servo: Merge #8692 - Ensure crate are alphabetically sorted (from GuillaumeGomez:patch-1); r=Wafflespeanut
...
cc @nox
Source-Repo: https://github.com/servo/servo
Source-Revision: dbff1ab33636bc7d60a4c97b63f39b59985726ce
2015-11-28 19:04:11 +05:00
Brandon Fairchild
ee7c1860dc
servo: Merge #8701 - Remove #[allow(raw_pointer_derive)] attributes (from nerith:attribute); r=jdm
...
The attributes are unused.
Fixes #8699 .
Source-Repo: https://github.com/servo/servo
Source-Revision: c0be03f2afbd7aa02620325cd25256c97c75e559
2015-11-28 05:37:46 +05:00
Guillaume Gomez
ffbd83be65
servo: Merge #8675 - Add XMLDocument object (from GuillaumeGomez:master); r=nox
...
Fixes #8000
(Still working on it)
Source-Repo: https://github.com/servo/servo
Source-Revision: 99223656fbf6cade8c41d161a9e61a39f58ec796
2015-11-27 18:59:04 +05:00
Keith Yeung
e7c068ce7c
servo: Merge #8696 - Use set_plaintext_state instead of plaintext tag (from KiChjang:change-parser-state); r=KiChjang
...
I don't know whether there's an issue reported for for this one.
r? @SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 3720e4d5ef09d710deaf846c74356ccea8d7afce
2015-11-27 14:53:46 +05:00
Manish Goregaokar
09d3c7ef66
servo: Merge #8446 - Rust upgrade to rustc 1.6.0-nightly (5b4986fa5 2015-11-08) (from servo:rustup_20151110); r=SimonSapin+Ms2ger+jdm+Manishearth
...
<s>DO NOT r+ or try+ this</s>
<s>It causes an OOM (https://github.com/rust-lang/rust/issues/29740 ) and can crash the OS. Probably will set our CI on fire. </s>
Source-Repo: https://github.com/servo/servo
Source-Revision: f13c72d68e1e7f49e241938bfd6e8a588c68e86b
2015-11-27 10:17:00 +05:00
GauriGNaik
192058cf08
servo: Merge #8682 - Defined new trait ParseErrorReporter and added error_reporter member … (from jdm:css-error-reporter); r=jdm
...
…to ParserContext.
Rebase of #8210 .
Source-Repo: https://github.com/servo/servo
Source-Revision: f5ef2f4f75cd58a3c6f1f123e413dc9d3a24f841
2015-11-27 03:26:08 +05:00
Matt Brubeck
95f0ec3467
servo: Merge #8671 - Fix clip rect for iframes in hit testing code (from paulrouget:iframe-hit-test); r=pcwalton
...
Fixes #8080 r? @mrobinson
Source-Repo: https://github.com/servo/servo
Source-Revision: 8efc954531d2c7491ea01b6e22c89e35c5cf434a
2015-11-26 00:09:36 +05:00
Alan Jeffrey
4d3e2c8d46
servo: Merge #8667 - Update string cache (from asajeffrey:update-string-cache); r=SimonSapin
...
Updated string_cache to 0.2, and updated the dependencies that depend on string_cache.
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::from_slice by Atom::from.
Replaced atom.as_slice() by &*atom.
r? @SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 188fa9378c103093f1f8dac24bff0d9d237fd2bc
2015-11-25 23:40:39 +05:00
David Zbarsky
bb672ef870
servo: Merge #6826 - Implement Range#deleteContents (from dzbarsky:deletecontents); r=jdm
...
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.
Source-Repo: https://github.com/servo/servo
Source-Revision: e7b19249489eff7a7fd49bf458ee7bd681f8ad13
2015-11-25 19:25:02 +05:00
Patrick Walton
d5235f97ad
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:01:15 +05:00
Tom Schuster
8a65c3f959
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:31:13 +05:00
Simon Sapin
af5a12f917
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:39:57 +05:00
Nick Fitzgerald
2575c70aaf
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:36:48 +05:00
Eli Friedman
ce25e4b2e0
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:14:08 +05:00
Corey Farwell
9ecc9181d1
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:40:52 +05:00
Rizky Luthfianto
7f627dbe76
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:31:37 +05:00
Rizky Luthfianto
57e85ef82a
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:56:38 +05:00
James Graham
3b9162b3e1
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:39:50 +05:00
Ms2ger
37ff6e57ee
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:51:02 +05:00
Patrick Walton
d4e67f7fa7
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:29:48 +05:00
Aleksandr Likhanov
e66a72276c
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:14:19 +05:00
James Graham
8492872b76
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:46:25 +05:00
Ms2ger
8024ed703c
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:42:19 +05:00
Ms2ger
3444e31f55
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:09:57 +05:00
Keith Yeung
6c1517928e
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:09:20 +05:00
benshu
0a1e8fbee6
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:28:30 +05:00
Ms2ger
49d6b5042b
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:14:30 +05:00
Brandon Fairchild
3dc5830ca5
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:23:17 +05:00
Corey Farwell
2dee8beb62
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:12:56 +05:00
James Graham
8bd4d04d48
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:32:50 +05:00
Ms2ger
2bb9da787f
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:35:52 +05:00
Ms2ger
1be8cd53a2
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:48:45 +05:00
Michael Howell
f4fab444d3
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:01:49 +05:00
Ms2ger
1535f2b370
servo: Merge #8533 - Remove the legacy module (from Ms2ger:legacy); r=nox
...
Source-Repo: https://github.com/servo/servo
Source-Revision: b6f519cd0a9bdec909dcc5498f36f33e05f1115a
2015-11-15 18:43:13 +05:00
Roman Klauke
5022efc1ce
servo: Merge #8527 - Replace Atom::from_slice("sizes") with atom!("sizes") (from romankl:atom-slices); r=Ms2ger
...
This PR replaces all occurrences of Atom::from_slice("sizes") with atom!("sizes"). It also updates string_cache to v0.1.17 from 0.1.16.
Right now I've split the crate update and the replace in different commits - should I squash them?
Fixes #8488 .
Source-Repo: https://github.com/servo/servo
Source-Revision: c722e0e6f4de9de1b22ca6a8fa58ec5f49caa729
2015-11-15 17:56:33 +05:00
Corey Farwell
ce9719cac4
servo: Merge #8526 - Fix parse_length 0 values, implement <hr> 'width' (from frewsxcv:parse-length); r=eefriedman
...
Follow-up to https://github.com/servo/servo/issues/8424
Source-Repo: https://github.com/servo/servo
Source-Revision: 3ef0a9a79dffcde41cdd6081ef79a0f0593b5104
2015-11-15 03:00:46 +05:00
Paul Rouget
0a62891bdd
servo: Merge #8449 - mozbrowsericonchange event (Browser API) (from paulrouget:favicon); r=jdm
...
fixes #8347
Source-Repo: https://github.com/servo/servo
Source-Revision: 7f076c628bffa9d95dca61e003adb9ab3ab0a316
2015-11-14 19:24:03 +05:00
Greg Guthe
3b37407de6
servo: Merge #7242 - Perf timing dom props (from g-k:perf-timing-dom-props); r=jdm
...
I think this is closer to what https://github.com/servo/servo/issues/7045 describes, but it panics trying to load a page (trace: https://gist.github.com/g-k/a9911467889cdb6fdbf9 ) and all reftests fail.
Source-Repo: https://github.com/servo/servo
Source-Revision: 7de8b0a7ff2038f9fb643141d8759f40fb6ef093
2015-11-14 10:56:23 +05:00
Corey Farwell
43a8a7f7fa
servo: Merge #8505 - Implement 'bgcolor' IDL attribute for 'HTMLTableCellElement' (from frewsxcv:html-table-cell-element-bgcolor-idl-attribute); r=Ms2ger
...
Source-Repo: https://github.com/servo/servo
Source-Revision: f078f8fdf4157b4e57cef35eba00419c9c15464d
2015-11-13 14:37:53 +05:00
Corey Farwell
ac2f1cc66a
servo: Merge #8504 - Prefer atoms over strs for string comparisons (from frewsxcv:more-atoms); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 1763a37e3be8be46dc86bf4bf76bcd7c892566da
2015-11-13 10:26:13 +05:00
Corey Farwell
af35417f73
servo: Merge #8500 - Consolidate 'subpage finding' script_task logic (from frewsxcv:subpage); r=jdm
...
Source-Repo: https://github.com/servo/servo
Source-Revision: ef74bf5d42e80f9420a197dbe3d7da609ba158b0
2015-11-13 08:22:18 +05:00
Alan Jeffrey
128ce4b968
servo: Merge #8477 - Opaque DOMString (from asajeffrey:opaque-domstring); r=asajeffrey
...
This patch makes DOMString an opaque wrapper round String (currently it's a transparent wrapper).
The changes are:
* Replacing DOMString(foo) by DOMString::from(foo).
* Replacing foo.0 by String::from(foo).
* Adding functions clear, push_str and extend for in-place mutation of DOMStrings.
* Replacing DOMString by String in other threads (devtools, storage and filereader).
* Making DOMString implement !Send.
* Removing the pub attribute from the contents of DOMString.
This enables experimenting with other string representations in the DOM.
Source-Repo: https://github.com/servo/servo
Source-Revision: 62acdd303b78951885c2c90747b31f318907d6c9
2015-11-13 06:47:30 +05:00
Anthony Ramine
aa95b1efa2
servo: Merge #8147 - Implement weak-referenceable JS-managed objects (from nox:weakref); r=Ms2ger
...
Source-Repo: https://github.com/servo/servo
Source-Revision: e63b1e83d4acd272cdf293292f2a496455405098
2015-11-13 05:52:40 +05:00
Patrick Walton
b0cfd94d48
servo: Merge #8492 - script: Make timer events e10s-safe (from jdm:e10s-timer-events); r=jdm
...
Closes #8235 .
Source-Repo: https://github.com/servo/servo
Source-Revision: 9eaa8e7b1f2e462f62b73477c30183c836a18399
2015-11-13 04:49:48 +05:00
Corey Farwell
2a87f91a4c
servo: Merge #8479 - Implement Default trait for DOMString (from frewsxcv:domstring-default); r=Ms2ger
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 1720595a85ff0a593994fed1d086288746c56aa3
2015-11-13 04:21:32 +05:00
Anthony Ramine
de9439de24
servo: Merge #8498 - Properly handle variadic arguments preceded by default values (from nox:fix-variadic-and-default-arguments); r=jdm
...
I broke that in #8197 .
Source-Repo: https://github.com/servo/servo
Source-Revision: c44c73aa00ced6235266bd692833e22018f31138
2015-11-13 03:52:11 +05:00
Josh Matthews
bd9c531662
servo: Merge #8430 - Invoke specialized callback behaviour for OnErrorEventHandler (from jdm:errorhandler); r=Ms2ger
...
Source-Repo: https://github.com/servo/servo
Source-Revision: fafc280179ddafab878dd261121cee17ba3b921c
2015-11-13 03:24:00 +05:00
Ms2ger
30837e1d9b
servo: Merge #8428 - Update js (from Ms2ger:conversions); r=Manishearth
...
Source-Repo: https://github.com/servo/servo
Source-Revision: b40882093a306032d38ad02e30f0095e0a49ec21
2015-11-13 00:43:52 +05:00