Manish Goregaokar
3479d3fa7f
Replace unsafe_blocks by unsafe_code.
2015-03-21 10:27:32 +01:00
Ms2ger
dce11222ba
Update some feature gates.
...
CC #5286 .
2015-03-20 13:55:11 +01:00
Ms2ger
5f15eb5fbf
Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev.
2015-03-18 13:18:31 -04:00
Simon Sapin
2a50755c8a
Move selector matching to an external library, for use outside Servo.
2015-02-23 16:29:34 +01:00
Patrick Walton
55a0ee6ec7
script: Implement enough 2D canvas support to render basic SVGs such as the tiger.
2015-02-22 22:29:58 -05:00
Ms2ger
63f606306d
Move js to libc from crates.io.
2015-02-19 17:42:14 +01:00
Ms2ger
aaed4a54c7
Use rustc-serialize rather than the built-in deprecated serialize.
2015-02-17 13:24:15 +01:00
Ms2ger
e921ce859e
Fix some warnings in script.
2015-02-12 20:05:14 +01:00
Simon Sapin
d5dd1d658e
Upgrade to rustc ba2f13ef0 2015-02-04
2015-02-11 14:48:34 -08:00
Ms2ger
aa8e01af2a
Use base64 from rustc-serialize ( fixes #4747 ).
2015-02-10 14:19:13 +01:00
Ms2ger
a09a912178
Import net as net rather than servo_net.
2015-02-10 12:55:24 +01:00
Ms2ger
b2fcc2397e
Import msg as msg rather than servo_msg.
2015-02-10 11:40:36 +01:00
Josh Matthews
446f0f447e
Allow unused variables, imports, and mutable.
2015-02-09 17:41:57 -05:00
Ms2ger
88ecb4c6f2
Create mod.rs files for the dom and dom::bindings modules.
...
This gives us a better place to put DOM documentation, which I'd like to start
adding.
2015-02-01 09:10:59 +01:00
Manish Goregaokar
5c9b1019a9
Move FromJSValConvertible to associated types (avoids old impl check)
2015-01-31 16:05:16 +05:30
Ms2ger
fba6b613c2
Re-enable the DOM struct size tests.
...
They were inadvertently disabled in the Rust upgrade.
2015-01-30 22:13:48 +01:00
Ms2ger
311d936169
Require snake case in bindings code.
2015-01-29 21:20:03 +01:00
Ms2ger
505159a464
Import the util crate as util rather than servo_util.
...
This used to conflict with the util crate from the standard library, which
has long since been removed.
The import in layout has not been changed because of a conflict with the
util mod there.
2015-01-29 12:16:41 +01:00
Ms2ger
2026cbada2
Fix various build warnings.
2015-01-28 20:42:39 +01:00
bors-servo
1a2a08aa50
auto merge of #4717 : Ms2ger/servo/doc-proxy, r=saneyuki
2015-01-28 01:48:52 -07:00
Josh Matthews
95fc29fa0d
Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev.
2015-01-28 10:16:49 +10:00
Ms2ger
238f3e2d91
Require documentation for all code in dom::bindings (excluding dom::bindings::codegen).
2015-01-25 22:01:04 +01:00
Bruno de Oliveira Abinader
dc008977f9
Share supported CSS properties between style and CSSStyleDeclaration
...
Avoids duplicated code when implementing the CSS properties accessors in
CSSStyleDeclaration WebIDL. Servo internal CSS properties are not
accessible.
CSS property "float" is unnacessible because we currently lack support
for BinaryName IDL annotation (#4435 ).
Fixes #4429 , #4430 .
2015-01-19 13:21:03 -04:00
Tom Schuster
d54a45a2b1
Implement most of the important WindowProxy traps
2015-01-12 17:41:48 +01:00
Ms2ger
57aaa60fa5
Create a StructuredCloneData struct to encapsulate the result of a structured clone.
2015-01-10 16:33:25 +01:00
Ms2ger
edc1d89251
Deny unsafe blocks in script.
...
As a first start, this allows them indiscriminately where used.
2015-01-09 10:13:25 +01:00
bors-servo
0793137631
auto merge of #4575 : mttr/servo/warnings, r=jdm
...
Notes:
* This adds `#![allow(missing_copy_implementations)]` to components/*/lib.rs. I'm not sure how to approach the missing Copy warnings (are there things for which Copy should NOT be implemented, and how can I tell?) so I stuck this in to make life easier when looking through the warnings. I can easily remove this if necessary.
* This leaves the following type of warnings, which I couldn't figure out how to approach (I'll investigate it later if no one else wants to).
```
css/matching.rs:72:23: 72:35 warning: use of deprecated item: Use overloaded core::cmp::PartialEq, #[warn(deprecated)] on by default
css/matching.rs:72 this_as_query.equiv(other)
^~~~~~~~~~~~
css/matching.rs:95:10: 95:49 warning: use of deprecated item: Use overloaded core::cmp::PartialEq, #[warn(deprecated)] on by default
css/matching.rs:95 impl<'a> Equiv<ApplicableDeclarationsCacheEntry> for ApplicableDeclarationsCacheQuery<'a> {
```
2015-01-08 16:03:55 -07:00
Matthew Rasmus
a3fc3a1581
Allow missing_copy_implementations
2015-01-08 08:51:11 -08:00
Ms2ger
5f31da82bd
Remove if_let feature gates.
...
This feature is now supported unconditionally.
2015-01-08 17:26:06 +01:00
Ms2ger
16c7060bc8
Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19.
2015-01-08 09:58:46 -05:00
Ms2ger
04eb923da9
Remove dependencies on the native crate.
2015-01-04 16:28:02 +01:00
Ms2ger
fbf257f878
Remove obsolete attributes.
2015-01-03 10:06:17 +01:00
Josh Matthews
2f059c15e7
Allow refcounting arbitrary DOM objects in concert with the GC to enable safe, asynchronous/cross-task references to pinned objects.
2014-12-29 13:53:48 -05:00
Josh Matthews
c8557c44a9
Merge CSS2Properties and CSSStyleDeclaration.
2014-12-18 12:54:03 -05:00
Josh Matthews
3cfe8ab53e
Address review comments.
2014-12-18 12:54:02 -05:00
Josh Matthews
4da0ca8ace
Add stub CSS2Properties type.
2014-12-18 12:54:02 -05:00
Cameron Zwarich
1c5d58180d
Add the basic CSSStyleDeclaration CSSOM interface.
...
This just includes the .webidl file (with some of the functionality
commented out) and the stub implementations for the bindings.
This is another step towards #1721 .
2014-12-18 12:54:02 -05:00
Ms2ger
466faac2a5
Update rustc to revision 3dcd2157403163789aaf21a9ab3c4d30a7c6494d.
2014-12-17 15:19:45 -05:00
Manish Goregaokar
f221cb5178
Restrict size tests to 64 bit
2014-12-09 11:27:02 +05:30
Manish Goregaokar
16ffd543dd
Add unit test to freeze sizes of DOM structs
2014-12-09 11:26:58 +05:30
Manish Goregaokar
e2376a64bf
Add stub Activatable trait
2014-12-05 18:32:11 -08:00
bors-servo
6bd9bf979b
auto merge of #4198 : Manishearth/servo/hyper-droid, r=Manishearth
...
This is the Hyper pull request, plus the set up for OpenSSL on Android to make it merge.
Sean's commits have been reviewed in #4065 (My Android changes were reviewed by Glenn)
2014-12-05 04:16:11 -07:00
Ronak Nisher
cbed366bea
added ErrorEvent WebIDL and errorevent.rs
2014-12-04 21:22:15 -08:00
Sean McArthur
4ee8c3a60b
convert script crate to use hyper
2014-12-04 10:06:41 -08:00
Shanil Puri
72a5ae7210
Implemeneted ModifyAttribute handler to update DOM elements.
2014-12-03 18:58:44 -08:00
Hinali Marfatia
b1d6041420
Implement a basic WebSocket interface.
2014-11-25 15:43:22 +01:00
Josh Matthews
80764f65e3
Add single-line text input with no visible cursor.
2014-11-13 12:53:54 -05:00
Josh Matthews
bb7074698a
Add KeyboardEvent stub.
2014-11-13 11:24:14 -05:00
Jack Moffitt
d1b433a3b3
Rust upgrade to rustc hash b03a2755193cd756583bcf5831cf4545d75ecb8a
2014-11-13 11:17:43 +10:00
Bruno de Oliveira Abinader
5c76502b91
Implement DOMStringMap
2014-11-06 11:31:58 -08:00