aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/servohtmlparser.rs
Commit message (Collapse)AuthorAgeFilesLines
* Unify ServoHTMLParser and ServoXMLParser in ServoParserAnthony Ramine2016-10-111-235/+0
|
* Introduce ServoParser::pipelineAnthony Ramine2016-10-111-8/+3
|
* Move ParserContext to script::parseAnthony Ramine2016-10-111-171/+1
|
* Move last chunk received logic to ServoParserAnthony Ramine2016-10-111-15/+10
|
* Move pending input logic to ServoParserAnthony Ramine2016-10-111-21/+11
|
* Introduce ServoParser::documentAnthony Ramine2016-10-111-18/+11
|
* Introduce ServoParserAnthony Ramine2016-10-111-4/+5
| | | | This is a common inline parent to ServoHTMLParser and ServoXMLParser.
* Introduce GlobalScope::time_profiler_chanAnthony Ramine2016-10-061-1/+3
|
* Make reflect_dom_object take a &GlobalScopeAnthony Ramine2016-10-061-5/+2
|
* Excise SubpageId and use only PipelineIdsAneesh Agrawal2016-09-131-6/+2
| | | | | | | SubpageId was originally introduced in 2013 to help iframes keep track of their associated (children) pipelines. However, since each pipeline already has a PipelineId, and those are unique, those are sufficient to keep track of children.
* Reorder `use` statementsUK9922016-09-091-2/+2
|
* Update serde to 0.8 (fixes #12659)Anthony Ramine2016-08-121-1/+3
|
* Prevent injection vulnerability in image pageJohann Hofmann2016-08-011-2/+14
|
* Improve page load error informationJohann Hofmann2016-07-211-3/+14
| | | | | | | | | | | | Fixes #8640. This commit adds a neterror page that displays really really basic information about what went wrong with your request, which is an improvement over the current state of blank page. It also fixes the problem of certificate validation errors not triggering the cert error page, since for some reason the function string seems to have turned lowercase.
* Print out useful SSL-related information on SSL error page.Josh Matthews2016-06-291-4/+5
|
* rename of page_fetch_complete and handle_page_fetch_completeRafael Quintero2016-05-311-3/+3
| | | | | | rename align
* Add timeline markers for HTTP requests, JS evaluation, and HTML parsing.Josh Matthews2016-05-181-0/+14
|
* Removed unused importsPer Lundberg2016-05-151-1/+0
| | | | This fixes #11185.
* Avoid some clones.Ms2ger2016-04-291-2/+2
|
* Remove extraneous script_chan parameter from Trusted::newKeith Yeung2016-04-281-9/+3
|
* Move abstract parser infrastructure from servohtmlparser.rs to parseMartin Broesamle2016-04-271-166/+8
|
* Upgrade to rust-url 1.0 and hyper 0.9Simon Sapin2016-04-231-3/+2
|
* Propagating the load errors from network loaderRavi Shankar2016-04-201-10/+30
|
* refactors entities from script_thread into script_runtimeRahul Sharma2016-04-061-1/+2
|
* Update html5ever to 0.5.0Michael Wu2016-02-081-1/+1
|
* task -> threadrohan.prinja2016-01-101-3/+3
|
* Remove from Trusted::new an unnecessary argumentArthur Skobara2015-12-121-5/+5
|
* Avoid some rooting in parsing.Ms2ger2015-12-111-18/+1
|
* Create and invoke XML parser for XML documents.ronak2015-12-041-1/+5
|
* Introduce abstraction over HTML and XML parsers for parser network listener.Josh Matthews2015-12-041-19/+197
|
* Use set_plaintext_state instead of plaintext tagKeith Yeung2015-11-271-8/+2
|
* Replaced DOMString constructor by conversion functions.Alan Jeffrey2015-11-121-1/+3
| | | | | | Replaced DOMString(...) by DOMString::from(...). Replaced ....0 by String::from(...). Removed any uses of .to_owner() in DOMString::from("...").
* Make DOMString a newtype around String, rather than a typedef.Ms2ger2015-11-041-1/+2
| | | | | | | | | | This should make it somewhat easier to experiment with alternative representations in the future. To reduce churn, this commit leaves the String field public, though. Also, this will allow us to use the default String type to represent the IDL USVString type, which explicitly forbids unpaired surrogates, ans as such is a better match to the Rust String type.
* Get rid of a bunch of explicit derefsDavid Zbarsky2015-11-031-4/+4
|
* merge from masterrohan.prinja2015-11-031-8/+25
|\
| * Auto merge of #7956 - gkbrk:binary_mime, r=jdmbors-servo2015-10-311-7/+24
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Made binary files show an info message instead of garbled text. Content-types with the TopLevel "Application" such as * application/octet-stream * application/pdf now show an info message instead of trying to view binary data as html. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7956) <!-- Reviewable:end -->
| | * Made binary files show an info message instead of garbled text.Gökberk Yaltıraklı2015-10-311-7/+24
| | |
| * | Removed JS::root Fixes #8251nxnfufunezn2015-10-311-1/+1
| |/
* | rearrange imports to be in alphabetical orderrohan.prinja2015-10-301-1/+1
| |
* | more refactoringrohan.prinja2015-10-301-1/+1
|/
* Improve spec-compliance of script loading and execution during document startupTill Schneidereit2015-10-261-15/+19
| | | | Including proper support for async and deferred scripts.
* Clean up the cast callsAnthony Ramine2015-10-211-1/+1
|
* Introduce trait CastableAnthony Ramine2015-10-211-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This trait is used to hold onto the downcast and upcast functions of all castable IDL interfaces. A castable IDL interface is one which either derives from or is derived by other interfaces. The deriving relation is represented by implementations of marker trait DerivedFrom<T: Castable> generated in InheritTypes. /^[ ]*use dom::bindings::codegen::InheritTypes::.*(Base|Cast|Derived)/ { /::[a-zA-Z]+(Base|Cast|Derived);/d s/([{ ])[a-zA-Z]+(Base|Cast|Derived), /\1/g s/([{ ])[a-zA-Z]+(Base|Cast|Derived), /\1/g s/, [a-zA-Z]+(Base|Cast|Derived)([},])/\2/g s/, [a-zA-Z]+(Base|Cast|Derived)([},])/\2/g /\{([a-zA-Z]+(Base|Cast|Derived))?\};$/d s/\{([a-zA-Z_]+)\};$/\1;/ } s/([a-zA-Z]+)Cast::from_ref\(\&?\**([a-zA-Z_]+)(\.r\(\))?\)/\2.upcast::<\1>()/g s/([a-zA-Z]+)Cast::from_ref\(\&?\**([a-zA-Z_]+)(\.[a-zA-Z_]+\(\))?\)/\2\3.upcast::<\1>()/g s/\(([a-zA-Z]+)Cast::from_ref\)/\(Castable::upcast::<\1>\)/g s/([a-zA-Z]+)Cast::from_root/Root::upcast::<\1>/g s/([a-zA-Z]+)Cast::from_layout_js\(\&([a-zA-Z_.]+)\)/\2.upcast::<\1>()/g s/([a-zA-Z]+)Cast::to_ref\(\&?\**([a-zA-Z_]+)(\.r\(\))?\)/\2.downcast::<\1>()/g s/([a-zA-Z]+)Cast::to_ref\(\&?\**([a-zA-Z_]+)(\.[a-zA-Z_]+\(\))?\)/\2\3.downcast::<\1>()/g s/\(([a-zA-Z]+)Cast::to_ref\)/\(Castable::downcast::<\1>\)/g s/([a-zA-Z]+)Cast::to_root/Root::downcast::<\1>/g s/([a-zA-Z]+)Cast::to_layout_js\(&?([a-zA-Z_.]+(\(\))?)\)/\2.downcast::<\1>()/g s/\.is_document\(\)/.is::<Document>()/g s/\.is_htmlanchorelement\(\)/.is::<HTMLAnchorElement>()/g s/\.is_htmlappletelement\(\)/.is::<HTMLAppletElement>()/g s/\.is_htmlareaelement\(\)/.is::<HTMLAreaElement>()/g s/\.is_htmlbodyelement\(\)/.is::<HTMLBodyElement>()/g s/\.is_htmlembedelement\(\)/.is::<HTMLEmbedElement>()/g s/\.is_htmlfieldsetelement\(\)/.is::<HTMLFieldSetElement>()/g s/\.is_htmlformelement\(\)/.is::<HTMLFormElement>()/g s/\.is_htmlframesetelement\(\)/.is::<HTMLFrameSetElement>()/g s/\.is_htmlhtmlelement\(\)/.is::<HTMLHtmlElement>()/g s/\.is_htmlimageelement\(\)/.is::<HTMLImageElement>()/g s/\.is_htmllegendelement\(\)/.is::<HTMLLegendElement>()/g s/\.is_htmloptgroupelement\(\)/.is::<HTMLOptGroupElement>()/g s/\.is_htmloptionelement\(\)/.is::<HTMLOptionElement>()/g s/\.is_htmlscriptelement\(\)/.is::<HTMLScriptElement>()/g s/\.is_htmltabledatacellelement\(\)/.is::<HTMLTableDataCellElement>()/g s/\.is_htmltableheadercellelement\(\)/.is::<HTMLTableHeaderCellElement>()/g s/\.is_htmltablerowelement\(\)/.is::<HTMLTableRowElement>()/g s/\.is_htmltablesectionelement\(\)/.is::<HTMLTableSectionElement>()/g s/\.is_htmltitleelement\(\)/.is::<HTMLTitleElement>()/g
* Return a reference in ServoHTMLParser::window()Anthony Ramine2015-10-191-4/+4
|
* Do not root ServoHTMLParser::documentAnthony Ramine2015-10-191-9/+5
|
* Do not root Sink::documentAnthony Ramine2015-10-191-2/+1
|
* Return a reference in Document::window()Anthony Ramine2015-10-191-4/+2
|
* Simplify AsyncResponseListener implementations.Eli Friedman2015-10-151-11/+10
|
* Make AsyncResponseListener methods take `&mut self`.Eli Friedman2015-10-151-3/+3
|
* Update script to work with lint changesManish Goregaokar2015-10-161-0/+1
|