Commit graph

72 commits

Author SHA1 Message Date
Jack Moffitt
c6ab60dbfc Cargoify servo 2014-09-08 20:21:42 -06:00
Aaron Hill
3a56a69581 Rename AttrList to NamedNodeMap
This fixes issue #3135
2014-08-29 14:53:01 -04:00
Simon Sapin
aa1a5c479a Add a canvas create, break script’s dependency on gfx.
The build time on my laptop after touching gfx goes from 1m37s ot 46s.
2014-08-28 17:15:39 +01:00
Manish Goregaokar
32fb907384 Create macros for simplifying element attribute getters (fixes #1931) 2014-08-19 23:13:33 +05:30
Ms2ger
e7dd281979 Implement WorkerGlobalScope.location. 2014-08-15 09:48:41 +02:00
Ms2ger
eadb1c154a Implement DedicatedWorkerGlobalScope.navigator. 2014-08-15 09:43:37 +02:00
hyunjunekim
f400cf49c3 Rename ClientRect and ClientRectList to DOMRect and DOMRectList (fixes #2814, fixes #2840).
These interfaces were renamed in the specification, in order to use them in
other contexts than the getClientRects and getBoundingClientRect methods.
2014-08-09 10:32:18 +02:00
Jack Moffitt
7a4321d649 Upgrade Rust. 2014-08-08 19:11:53 -06:00
Josh Matthews
015b07f1e0 Decouple compositing and script crates. 2014-08-08 16:17:17 -04:00
Tetsuharu OHZEKI
bf85cdf0eb Add DOM NodeIterator blob (include DOM NodeFilter interface). 2014-08-08 02:12:04 +09:00
Tetsuharu OHZEKI
880ae2bdb9 Add DOM Range blob. 2014-08-08 02:12:04 +09:00
Tetsuharu OHZEKI
94cd981086 Add TreeWalker blob. 2014-08-08 02:12:03 +09:00
Josh Matthews
57aa3813b9 Merge pull request #2934 from saneyuki/canvas
Move CanvasRenderTask to gfx crate.
2014-08-03 10:48:47 -04:00
Jack Moffitt
b91e6f30e0 Upgrade Rust. 2014-08-02 21:11:47 -06:00
Tetsuharu OHZEKI
4a0bb1be51 Move CanvasRenderTask to gfx crate. 2014-07-27 02:02:46 +09:00
Ms2ger
2ddb32bd2f Add documentation for the DOM. 2014-07-26 17:14:34 +02:00
Josh Matthews
440b2a995f Merge pull request #2920 from Ms2ger/canvas
Implement very basic canvas rendering context logic. No visual display present.
2014-07-25 11:53:47 -04:00
Aalhad
f8ba2c1190 Implement very basic canvas rendering context logic. No visual display present. 2014-07-25 10:00:37 +02:00
Manish Goregaokar
a64dafd815 Basic implementation of CORS 2014-07-25 05:54:48 +05:30
Ms2ger
27f92239b0 Implement Window.screen. 2014-07-24 12:51:49 +02:00
Simon Sapin
dc49f4fda6 Start dogfooding rust-url. Fix #1673. 2014-07-21 20:21:35 +01:00
Ms2ger
a3127593c2 Merge pull request #2842 from Ms2ger/workers
Basic Web Workers; r=Manishearth,larsbergstrom
2014-07-17 14:16:40 +02:00
Ms2ger
9524f8daa7 Explicitly spawn a native task for workers. 2014-07-17 11:49:11 +02:00
Ms2ger
d40b97ea73 Implement MessageEvent. 2014-07-16 14:53:22 +02:00
Ms2ger
a345f413cb Implement stub classes for WorkerGlobalScope and DedicatedWorkerGlobalScope.
Part of #2811.
2014-07-15 22:29:03 +02:00
Ms2ger
712955e96a Implement a stub Worker interface.
Part of #2811.
2014-07-15 22:29:03 +02:00
Ms2ger
829259fb79 Introduce abstractions for global scopes.
Part of #2811.
2014-07-15 15:33:57 +02:00
Manish Goregaokar
8790a0f6f6 Add URLSearchParams interface with serialization support 2014-07-02 23:45:12 +05:30
Tetsuharu OHZEKI
3a293b3f1c Remove generate_cacheable_wrapper_htmlelement! 2014-06-28 10:43:34 +09:00
Manish Goregaokar
f5b5b337d3 Upgrade to latest Rust. 2014-06-27 18:50:32 -06:00
Manish Goregaokar
06eb08ab70 Partial implementation of FormData and File 2014-06-25 16:28:33 +05:30
Edit Balint
94ec3cde8a Split Page code out of script_task.rs #2530 2014-06-13 19:28:57 +02:00
Ms2ger
972c69883e Implement Element.classList (partially fixes #1717). 2014-06-13 14:13:00 +02:00
Bruno de Oliveira Abinader
249c484c24 Implement querySelector for Document 2014-06-05 16:54:26 -07:00
Jack Moffitt
629c4c6afe Upgrade Rust. 2014-06-05 09:58:59 -06:00
Ms2ger
97efd122a3 Rename BindingDeclarations to Bindings. 2014-06-02 19:48:42 +02:00
Tetsuharu OHZEKI
49362aa255 Remove HTMLMainElement.
https://github.com/mozilla/servo/issues/2541
2014-06-02 04:40:46 +09:00
Ms2ger
33e64c95d3 Include modules with only callbacks in BindingDeclarations.
This commit also includes improvements to the 'use' order in some of the
touched files.
2014-05-31 18:58:04 +02:00
Josh Matthews
003e5bcd46 Port modern callback handling code from Gecko, and copy related WebIDL parser bits too. 2014-05-27 20:43:52 +02:00
Manish Goregaokar
4c997e8934 Implement CustomEvent (#2173) 2014-05-24 02:51:22 +05:30
Manish Goregaokar
533fab46f9 Async XHR GET with basic response header support 2014-05-20 21:01:12 +05:30
bors-servo
fbcfe78bf6 auto merge of #2388 : zwarich/servo/cssom, r=jdm
Implementing the CSSOM requires giving the script task access to the
computed style for a node. Moving it into a new SharedLayoutData struct
member of LayoutDataRef seems to be the best way to achieve this.

This is the first step towards #1721.
2014-05-12 16:46:10 -04:00
Cameron Zwarich
0e67202bc2 Move the computed style to a new SharedLayoutData struct.
Implementing the CSSOM requires giving the script task access to the
computed style for a node. Moving it into a new SharedLayoutData struct
member of LayoutDataRef seems to be the best way to achieve this.

This is the first step towards #1721.
2014-05-09 13:22:50 -07:00
Manish Goregaokar
b40d8b4d53 Basic synchronous GET with XHR 2014-05-09 20:39:54 +05:30
Manish Goregaokar
2f376a1104 Add ProgressEvent interface 2014-05-08 20:41:51 +05:30
Gulshan Singh
fb0c433b70 Add Performance object to Window and implement Performance::Now() 2014-05-07 17:30:33 -04:00
Manish Goregaokar
619da07a4f Webidl and basic implementation of XHR object 2014-05-03 14:00:20 +05:30
bors-servo
b36b779d24 auto merge of #2290 : saneyuki/servo/export, r=jdm
- Fix #2128
- Take over from #2220

I didn't change `InterfaceTypes.rs` to `type.rs` because `type` is very common name which might be troublesome.
2014-05-01 23:34:39 -04:00
Ms2ger
8c879c8bf8 Implement WebIDL codegen for ByteString. 2014-05-01 22:02:53 +02:00
Tetsuharu OHZEKI
04ba6bf29b Point it to InterfaceTypes.rs directly to export generated types. 2014-05-01 21:28:28 +09:00