aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/mod.rs
Commit message (Collapse)AuthorAgeFilesLines
* Implement pair iterators in WebIDL interfaces.Josh Matthews2016-08-241-0/+1
|
* Support value iterators in WebIDL interfaces.Josh Matthews2016-08-241-0/+1
|
* Native MSVC windows build, convert to cmakeVladimir Vukicevic2016-08-171-0/+3
|
* Implement the Request API for the Fetch API.Jeena Lee2016-08-121-0/+1
| | | | | | | | | | | | | | | This commit adds new files related to implementing the [Request API](https://fetch.spec.whatwg.org/#request-class). This commit also changes the expected web platform tests results. It also modifies the following files: components/net_traits/request.rs HeapSizeOf is implemented in net_traits/request so that dom::request can be used as a wrapper around net_traits::request::Request. components/script/dom/headers.rs Several methods are added to Headers so that request can access and modify some of the headers fields.
* Add FileReaderSync skeletonZhen Zhang2016-07-311-0/+1
|
* Add History interfaceConnor Brewster2016-07-221-0/+1
| | | | implement go, forward, back
* Add the append method for the Headers API for the Fetch APIJeena Lee2016-07-191-0/+1
| | | | This commit will add the append method and associated helper functions, and introduce any necessary changes for it.
* webgl: Refactor texture validations to take advantage of rust type systemEmilio Cobos Álvarez2016-06-251-0/+1
| | | | | | | | | | | | | This commit introduces the `WebGLValidator` trait, and uses it for multiple validations in the texture-related WebGL code, to move that logic out of the already bloated `webglrenderingcontext.rs` file. It also creates a type-safe wrapper for some WebGL types, removing all the `unreachable!`s there, and introduces a macro for generating them conveniently. This partially addresses #10693, pending refactor more code to use this infrastructure, and (possibly?) introducing an `AsGLError` trait for the errors to make the error handling happen in `WebGLContext`.
* implement related sw interface and register methodRahul Sharma2016-06-021-0/+7
|
* Fix the doc on inheritance and castingAnthony Ramine2016-05-211-5/+5
|
* dom: Add missing event handlersPiotr Stankiewicz2016-05-201-0/+1
| | | | | | | | | | Adding: * global event handlers, * window event handlers, * document and element handlers, * and support for BeforeUnloadEvent. Signed-off-by: Piotr Stankiewicz <bionicrift@gmail.com>
* add popstateevent, hashchangeevent, pagetransitioneventConnor Brewster2016-05-111-0/+3
|
* Auto merge of #8454 - jdm:media, r=KiChjangbors-servo2016-05-031-0/+1
|\ | | | | | | | | | | | | | | | | | | Implement basic <media> infrastructure This gets us to the point where we can start playing with actually integrating rust-media to process the data received by the network request, as currently it's just ignored. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8454) <!-- Reviewable:end -->
| * Implement load, canPlayType, and error APIs for media elements.Josh Matthews2016-05-031-0/+1
| |
* | fix docsZhen Zhang2016-05-021-3/+1
|/
* Implemented stub for NavigatorPluginsConnor Brewster2016-04-111-0/+4
|
* forcetouch events supportPaul Rouget2016-04-051-0/+1
| | | | | | | | | | This enables Apple forcetouch DOM events. It requires the preference dom.forcetouch.enabled. The DOM events are described here: - https://developer.apple.com/library/mac/documentation/AppleApplications/Conceptual/SafariJSProgTopics/RespondingtoForceTouchEventsfromJavaScript.html The Cocoa mechanism is documented here: - https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSEvent_Class/#//apple_ref/doc/uid/20000016-SW274
* Auto merge of #10292 - jdm:cssom, r=jdmbors-servo2016-04-011-0/+2
|\ | | | | | | | | | | | | | | | | | | | | Initial steps for CSSOM Squashed and rebased #10133. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10292) <!-- Reviewable:end -->
| * Initial steps for CSSOM APIMohamed Albashir2016-03-311-0/+2
| |
* | Implement initial pieces of form validation.Sagar Muchhal2016-03-241-0/+1
|/
* WebBluetooth API classesAttila Dusnoki2016-03-161-0/+9
|
* Fix some errors in the DOM documentation.Josh Matthews2016-02-271-2/+3
|
* Implement focus and blur eventsPaul Rouget2016-02-181-0/+1
|
* Implement RadioNodeListKeith Yeung2016-01-241-0/+1
|
* Implement HTMLDetailsElement. Fixes #9216Lanza2016-01-201-0/+1
|
* Add instructions to update create.rs when adding new DOM interfacesKeith Yeung2016-01-131-1/+3
|
* Implement HTMLFormElement::ElementsCorey Farwell2016-01-101-0/+1
| | | | Fixes #8566
* task -> threadrohan.prinja2016-01-101-2/+2
|
* Implement EventSource and update test expectationsKeith Yeung2016-01-051-0/+1
|
* Add DOMQuad elementGuillaume Gomez2015-12-181-0/+1
|
* Rename the browsercontext module.Ms2ger2015-12-111-1/+1
|
* Add XMLDocument objectGuillaume Gomez2015-11-271-0/+1
|
* M1503 - Integrate XML parse -Initial Stepsjsharda2015-11-041-0/+1
|
* replace InheritTypes imports with inheritance importsrohan.prinja2015-10-301-3/+3
|
* move Castable into dom::bindings::inheritancerohan.prinja2015-10-301-1/+1
|
* Add bindings for TouchEvent DOM interfacesMatt Brubeck2015-10-221-0/+3
|
* Document the new inheritance machinery (fixes #8125)Anthony Ramine2015-10-211-11/+29
|
* Clean up the cast callsAnthony Ramine2015-10-211-2/+2
|
* Introduce trait CastableAnthony Ramine2015-10-211-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Improve implementation of DOMRect and implement DOMRectReadOnlyTill Schneidereit2015-10-171-0/+1
| | | | Passes most tests from test-css.
* Add newline so code sample is parsed correctly.Dongie Agnir2015-10-121-0/+1
|
* Consolidate magic number representing max unsigned longCorey Farwell2015-10-101-0/+1
|
* webgl: Implement WebGLContextEvent and use it on context creation errorEmilio Cobos Álvarez2015-10-081-0/+1
| | | | spec: https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.15
* sorted the extern crate, mod & use declarationsRavi Shankar2015-09-241-6/+6
|
* Issue #7390 correct the order of mod declarationHugo Thiessard2015-09-181-18/+18
|
* Auto merge of #7337 - wilmoz:InheritanceDocumentation, r=mbrubeckbors-servo2015-09-041-0/+17
|\ | | | | | | | | | | | | | | | | | | Documentation of inheritance in type ids Aditional documentation about this issue https://github.com/servo/servo/issues/7205 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7337) <!-- Reviewable:end -->
| * Documentation of inheritance in type idswilmoz2015-09-011-0/+17
| |
* | Remove reference to helper traits from documentationAnthony Ramine2015-08-271-8/+2
|/
* Implement the FileList interface. Fixes #6708Bogdan Cuza2015-08-011-0/+1
|
* Implement FileReader.{readAsText,readAsDataUrl}. Fixes #6172farodin912015-07-231-0/+1
|