Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Cleanup ProcessingInstruction | Anthony Ramine | 2015-04-10 | 1 | -0/+1 | |
| | ||||||
* | Cleanup access to CharacterData nodes | Anthony Ramine | 2015-04-09 | 1 | -12/+10 | |
| | ||||||
* | Hold a Temporary in AncestorIterator | Anthony Ramine | 2015-04-07 | 1 | -2/+4 | |
| | ||||||
* | Produce output of fragment parsing in &mut RootedVec<JS<Node>> argument | Chris Paris | 2015-04-06 | 1 | -4/+7 | |
| | ||||||
* | Replace spec quotes with spec step numbers | Chris Paris | 2015-04-06 | 1 | -12/+4 | |
| | ||||||
* | fragment parsing functions take DOMString instead of HTMLInput | Chris Paris | 2015-04-06 | 1 | -2/+3 | |
| | ||||||
* | Refactor fragment parsing | Chris Paris | 2015-04-06 | 1 | -0/+44 | |
| | ||||||
* | Split out shared networking code into net_traits crate | Gilles Leblanc | 2015-04-03 | 1 | -1/+1 | |
| | | | | Fixes #4476 | |||||
* | Rewrite NodeChildrenIterator to return Temporary. | Ms2ger | 2015-04-02 | 1 | -2/+4 | |
| | ||||||
* | Instead of panicking on broken url, break from the loop and return. | Adenilson Cavalcanti | 2015-04-01 | 1 | -1/+3 | |
| | ||||||
* | Replace unsafe_blocks by unsafe_code. | Manish Goregaokar | 2015-03-21 | 1 | -1/+1 | |
| | ||||||
* | Fix various build warnings. | Ms2ger | 2015-03-20 | 1 | -2/+2 | |
| | ||||||
* | auto merge of #5029 : ChrisParis/servo/h5e-serialize, r=jdm | bors-servo | 2015-03-18 | 1 | -1/+82 | |
|\ | | | | | | | Fixes https://github.com/servo/servo/issues/3713. Depends on https://github.com/servo/html5ever/pull/100 and https://github.com/servo/html5ever/pull/101. | |||||
| * | Serialize using html5ever | Chris Paris | 2015-03-18 | 1 | -1/+82 | |
| | | ||||||
* | | Implement Element.innerHTML setter | Chris Paris | 2015-03-18 | 1 | -3/+7 | |
|/ | ||||||
* | Implement displaying of text/plain documents | Chris Double | 2015-03-17 | 1 | -13/+17 | |
| | | | | | | This is done by detecting the content type as text/plain and following the requirements from: https://html.spec.whatwg.org/multipage/browsers.html#read-text | |||||
* | Implement view-source protocol. Fixes #4181. | Chris Double | 2015-03-17 | 1 | -0/+14 | |
| | | | | | | | | | | | This follows the recommendation from issue #4181. A handler for 'view-source' delegates to the HTTP loader. In that loader I check for view-source, adjust the URL to be the URL to be viewed and modify the Content-Type header to be text/plain. This doesn't actually result in the source being viewed as rendering text/plain is not yet implemented. | |||||
* | Upgrade to rustc ba2f13ef0 2015-02-04 | Simon Sapin | 2015-02-11 | 1 | -1/+6 | |
| | ||||||
* | Import net as net rather than servo_net. | Ms2ger | 2015-02-10 | 1 | -1/+1 | |
| | ||||||
* | Use JS<Node> rather than TrustedNodeAddress in the HTML parser. | Ms2ger | 2015-02-03 | 1 | -27/+27 | |
| | ||||||
* | Import the util crate as util rather than servo_util. | Ms2ger | 2015-01-29 | 1 | -2/+2 | |
| | | | | | | | | This used to conflict with the util crate from the standard library, which has long since been removed. The import in layout has not been changed because of a conflict with the util mod there. | |||||
* | Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. | Josh Matthews | 2015-01-28 | 1 | -1/+1 | |
| | ||||||
* | Deny unsafe blocks in script. | Ms2ger | 2015-01-09 | 1 | -0/+2 | |
| | | | | As a first start, this allows them indiscriminately where used. | |||||
* | Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19. | Ms2ger | 2015-01-08 | 1 | -2/+2 | |
| | ||||||
* | Qualify resource_task enums. | Ms2ger | 2015-01-04 | 1 | -4/+4 | |
| | ||||||
* | Fix obsolete format traits. | Ms2ger | 2015-01-02 | 1 | -3/+3 | |
| | | | | They are to be removed from the language in the next rust upgrade. | |||||
* | Replace Root::deref() calls by Root::r() calls where possible. | Ms2ger | 2015-01-01 | 1 | -19/+19 | |
| | | | | This changes those calls that were already sound. | |||||
* | Use `parse_html` in DOMParser. | Chris Paris | 2014-12-17 | 1 | -2/+7 | |
| | ||||||
* | Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d. | Ms2ger | 2014-12-17 | 1 | -6/+7 | |
| | ||||||
* | Pass a borrowed Url to parse_html. | Ms2ger | 2014-12-09 | 1 | -1/+1 | |
| | | | | | It does not need to take ownership, and I want to reuse final_url in the caller. | |||||
* | Remove the url from the InputUrl variant. | Ms2ger | 2014-12-09 | 1 | -5/+5 | |
| | | | | | This url is the pre-redirect url, which is not particularly meaningful, and it is used only in a panic message. | |||||
* | Move the load response into the HTMLInput enum. | Ms2ger | 2014-12-09 | 1 | -5/+3 | |
| | | | | | It is None iff the parser input is an InputString variant, so it makes more sense to pass it in the same enum. | |||||
* | Make parse_html's base_url argument non-optional. | Ms2ger | 2014-12-08 | 1 | -3/+3 | |
| | | | | It turns out the case where it woul be None can't happen. | |||||
* | Move the networking code in parse_html into ScriptTask::load. | Ms2ger | 2014-12-08 | 1 | -92/+4 | |
| | | | | | | This doesn't really have anything to do with parsing HTML, and fits in better with the code in ScriptTask::load. In particular, all changes to Page's url now go through ScriptTask methods. | |||||
* | Simplify the LoadData creation in parse_html. | Ms2ger | 2014-12-08 | 1 | -5/+8 | |
| | ||||||
* | Pass the load data to parse_html directly, rather than in an Option. | Ms2ger | 2014-12-08 | 1 | -6/+4 | |
| | ||||||
* | convert script crate to use hyper | Sean McArthur | 2014-12-04 | 1 | -27/+38 | |
| | ||||||
* | Fixes #4123 | aakashjain | 2014-11-29 | 1 | -2/+2 | |
| | ||||||
* | Shared Sniffer Task | Kshitij Parajuli | 2014-11-28 | 1 | -2/+2 | |
| | | | | | | | | - Added TargetedLoadResponse and ResponseSenders - LoadData constructor contains the next consumer which means SnifferManager doesn't need the next consumer to start - New SnifferTask is created at new resource_task creation - Update Unit Tests | |||||
* | Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8a | Jack Moffitt | 2014-11-13 | 1 | -10/+8 | |
| | ||||||
* | Remove the glob import from the HTML parser. | Ms2ger | 2014-11-06 | 1 | -1/+4 | |
| | | | | | Glob imports are frowned upon, and after the removal of build_element_for_tag, only a few types are actually used. | |||||
* | Only print HTML parse errors with RUST_LOG=script::parse | Keegan McAllister | 2014-11-05 | 1 | -1/+1 | |
| | ||||||
* | Move build_element_from_tag out of the HTML parser. | Ms2ger | 2014-10-30 | 1 | -156/+2 | |
| | | | | This function is not particular to the parser, so should live in the DOM. | |||||
* | Switch to synchronous script loading | Matt Brubeck | 2014-10-29 | 1 | -112/+21 | |
| | | | | | | | This removes the old code for asyncronously loading scripts during HTML parsing and then executing them afterward. Fixes #3356. | |||||
* | Infrastructure for synchronous script loading | Matt Brubeck | 2014-10-29 | 1 | -1/+1 | |
| | | | | | | This implements the parts of the "prepare a script element" algorithm that are required for synchronous scripts. It also adds some infrastructure for future support of the `async` and `defer` attributes. | |||||
* | Adding initial version of parser trait | nchinth | 2014-10-29 | 1 | -4/+5 | |
| | | | | | | | | | | | | | | | | | | Added parse_chunk method declaration to parser Removed unnecessary visibilty for parse_chunk function Implemented parse_chunk function Implemented parse_chunk fn for ServoHTMLParser Moved parser trait to mod.rs and added finish fn added licence header to mod.rs and other review comments Fixed trailing space issue Fixed failed tabular space test | |||||
* | Ignore the HTML parser's borrow flag in GC tracing | Keegan McAllister | 2014-10-24 | 1 | -0/+6 | |
| | | | | Adds some other dynamic checks in debug builds. | |||||
* | Don't crash on invalid utf-8 in the HTML parser. | Ms2ger | 2014-10-19 | 1 | -1/+1 | |
| | | | | This was regressed by the html5ever landing. | |||||
* | Use html5ever for HTML parsing | Keegan McAllister | 2014-10-16 | 1 | -0/+521 | |