Commit graph

58 commits

Author SHA1 Message Date
Jack Moffitt
b91e6f30e0 Upgrade Rust. 2014-08-02 21:11:47 -06: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
Tetsuharu OHZEKI
78856c87a4 Remove the 'pub use self::BindingDeclarations::*;' export. 2014-05-01 18:49:16 +09:00
Gulshan Singh
b1f4e04ee2 Removed unnecessary return and moved crate import to script.rs 2014-04-30 14:38:11 -04:00
Lars Bergstrom
948daf2422 This batch of changes upgrades Servo to work with the Rust upgrade as of
April 10, 2014. The main changes are to privacy, to work around the
issues with incorrect bounds on the libstd `Arc<Mutex<T>>`, and the
various API changes strewn throughout the libraries.
2014-04-27 15:46:12 -05:00
Josh Matthews
94dffca1e1 Remove all traces of WindowProxy. Implement basic browser context concept and outerizing of inner windows. 2014-04-22 10:57:25 -04:00
bors-servo
9d2a6b7824 auto merge of #2087 : Ms2ger/servo/vtable2, r=jdm
Fixes #1527. Does *not* include the code for #1528.

(Originally by @jdm in #1688 and #1866.)
2014-04-11 16:31:14 -04:00
bors-servo
ceefbe2d05 auto merge of #2085 : lpy/servo/issue2079, r=jdm
see #2079
2014-04-11 12:49:19 -04:00
lpy
601480eaf2 Replace @s with Rc types.(fixes #2079) 2014-04-12 00:43:46 +08:00
Lars Bergstrom
ccb522a465 Android fixes for February Rust Upgrade 2014-04-10 13:00:12 -05:00
Josh Matthews
ca6cfb5bca Add support for trait-based virtual methods on Nodes, and use it for before_remove_attr and after_set_attr. 2014-04-10 10:27:28 +02:00
Ms2ger
fb09979502 Address review comments. 2014-04-04 21:30:33 +02:00
Ms2ger
31eee791dd Upgrade rust. 2014-04-04 20:10:32 +02:00
Matt Brubeck
79ca9b6eb0 Move common macros into a new crate (fixes #1882) 2014-03-21 14:54:56 -07:00
Lars Bergstrom
bbac8aa5c3 Rust upgrades 2014-03-18 09:30:35 -05:00
Ms2ger
06f9afdad5 Completely rewrite the code to convert JSVals to unions.
This code works correctly for the two unions currently in use, and raises
exceptions in codegen for most other cases. I will implement those cases when
the need arises.
2014-03-11 19:44:07 +01:00