aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/html/hubbub_html_parser.rs
Commit message (Collapse)AuthorAgeFilesLines
* Cargoify servoJack Moffitt2014-09-081-615/+0
|
* Implement document.lastModified (fixes #2972, #3127).MechaXL2014-09-041-0/+38
|
* Move the script type and language checks into HTMLScriptElement.Ms2ger2014-09-021-59/+13
| | | | | This is IMO a more sensible place for them to live, and prepares for the demise of hubbub_html_parser.rs, as we move to html5ever.
* Merge pull request #3131 from Manishearth/imageManish Goregaokar2014-08-261-12/+17
|\ | | | | Load bare images within an HTML document (#3108); r=Ms2ger
| * Load bare images within an HTML document (#3108)Manish Goregaokar2014-08-261-12/+17
| |
* | check the type/language of script elementsSean McArthur2014-08-211-1/+57
|/
* Make Attr::local_name an Atom.Ms2ger2014-08-161-1/+2
|
* Upgrade Rust.Jack Moffitt2014-08-081-19/+16
|
* Upgrade Rust.Jack Moffitt2014-08-021-1/+1
|
* Call the generated rather than the hand-written traits (fixes #2936).Ms2ger2014-07-271-2/+3
|
* Avoid an unnecessary clone of the base URL in parse_html().Ms2ger2014-07-241-3/+3
|
* Move Parser creation to its own function (issue #849).Adenilson Cavalcanti2014-07-221-5/+9
| | | | | | This is the first step to implement innerHTML, as we need a way create and initialize a parser object while setting the received DOMString (which may be either text/html/whatever).
* Recycle use of a local variable and remove what seems to be 2 extraneous URL ↵Adenilson Cavalcanti2014-07-211-6/+4
| | | | objects.
* Used rust-url directly instead of servo_util::urlSimon Sapin2014-07-211-7/+8
| | | | The latter now only calls the former.
* Start dogfooding rust-url. Fix #1673.Simon Sapin2014-07-211-2/+2
|
* Merge pull request #2777 from Manishearth/try_parse_urlJosh Matthews2014-07-071-5/+9
|\ | | | | Don't fail on parsing URLs in the html parser
| * Don't fail on parsing URLs in the html parserManish Goregaokar2014-07-071-5/+9
| |
* | Print a more helpful debug message when creating an element in the HTML parser.Ms2ger2014-07-071-1/+1
|/ | | | | | | | | | | | | | Using {:?} prints a debugging representation such as collections::string::String{ vec: collections::vec::Vec<u8>{ len: 4u, cap: 4u, ptr: (0x7f75670285d8 as *mut ()) } } which is not very helpful.
* Remove needless mutabilities from script crate.Tetsuharu OHZEKI2014-06-221-1/+1
|
* Use internal mutability for Attr::value.Ms2ger2014-06-221-1/+1
|
* Split Page code out of script_task.rs #2530Edit Balint2014-06-131-1/+1
|
* Pass immutable document to parse_html.Ms2ger2014-06-111-5/+5
|
* Use internal mutability for CharacterData::data.Ms2ger2014-06-111-3/+3
|
* Stop mutating Element::namespace.Ms2ger2014-06-111-4/+14
|
* Upgrade Rust.Jack Moffitt2014-06-051-19/+18
|
* Remove needless '&mut self' from element.rs.Tetsuharu OHZEKI2014-06-031-8/+8
|
* auto merge of #2535 : saneyuki/servo/mut, r=jdmbors-servo2014-06-011-3/+3
|\ | | | | | | Related #2514
| * Remove needless '&mut self' from node.rs.Tetsuharu OHZEKI2014-06-021-3/+3
| |
* | Remove HTMLMainElement.Tetsuharu OHZEKI2014-06-021-1/+1
|/ | | | https://github.com/mozilla/servo/issues/2541
* Request header and postdata support for XHRManish Goregaokar2014-05-281-2/+2
|
* Update Rust.Ms2ger2014-05-221-15/+17
|
* Add various base html elements to parser and test. Fixes #703.Glenn Watson2014-05-171-0/+43
|
* Handle all attributes coming from the HTML parser (fixes #1976).Ms2ger2014-05-131-4/+13
|
* Move the loading of documents in iframes into HTMLIFrameElement.Ms2ger2014-05-121-37/+1
| | | | | | | | | | | | | | | | | | | | Right now, the load is kicked off inside the parser glue. This is unfortunate for several reasons: 1) we'd like to replace the current parser (libhubbub) by our own parser, written in Rust, so code intertwined with the parser will have to be rewritten; 2) it is impossible to support dynamically (i.e. from script) created iframes in this way; 3) the code flow around loading subdocuments is complicated needlessly. This commit adds the constellation channel (on which the message to actually load the document is sent) as a field on the Page, to allow HTMLIFrameElement to access it. In rewriting the code, support for dynamically created iframes is added, and a task failure is avoided when the value of the src attribute can not be parsed.
* Remove unused and misnamed url field on HTMLIFrameElement.Ms2ger2014-05-111-1/+0
|
* Convert as many of Page's RefCell fields to Cell as possible (fixes #1990).Guro Bokum2014-05-091-1/+1
|
* auto merge of #2355 : glennw/servo/http-fail-errors, r=jdmbors-servo2014-05-081-2/+2
|\ | | | | | | ...during task failure.
| * Allow resource load failures to send an error string which is reporting ↵Glenn Watson2014-05-081-2/+2
| | | | | | | | during task failure.
* | Rename from_unrooted to from_temporary. Fixes #2332.Glenn Watson2014-05-071-2/+2
|/
* Convert Vec::new() to vec!()Matt Murphy2014-05-041-2/+2
|
* ~[] to Vec in net/resource_task.rsMatt Murphy2014-05-041-1/+1
|
* ~[] to Vec in script/html/hubbub_html_parser.rsMatt Murphy2014-05-041-2/+2
|
* Address review comments.Josh Matthews2014-05-031-5/+4
|
* Remove all root collections.Josh Matthews2014-05-031-26/+21
|
* s/Unrooted/Temporary/gJosh Matthews2014-05-031-4/+4
|
* Move all methods on T to JSRef<T> or JS<T> as appropriate.Josh Matthews2014-05-031-7/+11
|
* Remove abstract_self.Josh Matthews2014-05-031-4/+4
|
* Move WebIDL methods to traits implemented by JSRef types.Josh Matthews2014-05-031-1/+2
|
* Implement safe rooting strategy via Unrooted, Root, JSRef, and JS.Josh Matthews2014-05-031-41/+50
|
* Turn on GC all the time. Fix rooting errors during parsing and storing ↵Josh Matthews2014-05-031-18/+25
| | | | timers. Fix borrow errors during tracing.