Mike Blumenkrantz
f2fbe687b0
make base all: Makefile rule conditional, only build embedding on non-android
2014-05-01 18:01:37 -04:00
Lars Bergstrom
43326ac255
fix/simplify embedding build and libservo build
2014-05-01 16:58:33 -04:00
Mike Blumenkrantz
69e3b44c32
allow warnings in embedding crate, prevent constant rebuild of embedding crate
...
the embedding crate contains 1800+ lines of types from an external library, most
of which are not used or "rust"ically named. the former will change eventually,
but we have no control over the naming.
2014-05-01 16:58:33 -04:00
Mike Blumenkrantz
7dcdd1a690
add MPL header
2014-05-01 16:58:33 -04:00
Mike Blumenkrantz
abe5d2e0ab
add start of embedding crate: build system with CEF types
2014-05-01 16:58:33 -04:00
bors-servo
c43f8c9ced
auto merge of #2286 : Ms2ger/servo/ByteString, r=jdm
2014-05-01 16:16:52 -04:00
Ms2ger
8c879c8bf8
Implement WebIDL codegen for ByteString.
2014-05-01 22:02:53 +02:00
Ms2ger
541d581c32
Change some isString() checks in the WebIDL codegen to isDOMString() checks.
2014-05-01 21:11:12 +02:00
Ms2ger
05150f82e1
Add missing ByteString support in the WebIDL parser.
2014-05-01 20:58:17 +02:00
Ms2ger
0df5d95eb3
Change some isString() checks in the WebIDL parser to isDOMString() checks.
2014-05-01 20:56:10 +02:00
bors-servo
b501654a8a
auto merge of #2279 : Manishearth/servo/patch-3, r=jdm
2014-05-01 12:25:48 -04:00
Manish Goregaokar
da381d6edb
Use new attributes syntax in properties.rs
2014-05-01 21:45:54 +05:30
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
bors-servo
14063b242e
auto merge of #2275 : gsingh93/servo/master, r=Ms2ger
...
Timestamp should return the time the event was created, not 0. This fixes three test cases in dom/events/Event-constructors.html. This is my first pull request, let me know if there are any issues.
2014-04-30 15:16:50 -04:00
Gulshan Singh
b1f4e04ee2
Removed unnecessary return and moved crate import to script.rs
2014-04-30 14:38:11 -04:00
Gulshan Singh
af548696bb
Make TimeStamp in event.rs return the actual timestamp
2014-04-30 13:35:15 -04:00
bors-servo
8af9ce07f8
auto merge of #2272 : mbrubeck/servo/geometry-cleanup, r=Ms2ger
...
This code did not use derived traits previously because their methods were not inlined, but this was fixed in mozilla/rust#10557 . r? @pcwalton
2014-04-30 06:32:43 -04:00
Matt Brubeck
3c27126477
Use derived traits for Au
...
This code did not use derived traits previously because their methods were not
inlined, but this was fixed in mozilla/rust#10557 .
2014-04-29 17:33:00 -07:00
bors-servo
b2e64704e2
auto merge of #2268 : Ms2ger/servo/unions, r=jdm
2014-04-29 15:58:40 -04:00
Ms2ger
844d48e0af
Merge UnionConversions() into UnionTypes().
...
It's not very useful to have one but not the other, so it makes more sense
to deal with them together.
2014-04-29 21:33:27 +02:00
Ms2ger
c51879767e
Reuse getTypes in UnionConversions().
...
This should be equivalent, except that the removed code ignores return
values (which we currently don't support).
2014-04-29 21:18:56 +02:00
Ms2ger
19166b2f53
Remove C++-specific union codegen code.
2014-04-29 21:17:52 +02:00
bors-servo
a1838f858f
auto merge of #2232 : metajack/servo/configure-cleanup, r=jdm
...
Move CFG_TARGET_TRIPLES to CFG_TARGET, since only one target is
supported anyway.
Create config.{mk,tmp,status} files in build directory instead of the
source directory.
r? @larsbergstrom
2014-04-29 15:07:40 -04:00
Jack Moffitt
676c5b6949
Change how backup/restore make task works.
...
Now we write $SRC/.config.mk.last to store the most recent configure
variables for the backup and restore task. Also, they no longer fail if
they can't find the variables, and will skip the backup/restore stages
and keep going.
2014-04-29 13:02:36 -06:00
Jack Moffitt
6d2b6452e8
Some minor configure and Makefile cleanup.
...
Move CFG_TARGET_TRIPLES to CFG_TARGET, since only one target is
supported anyway.
Create config.{mk,tmp,status} files in build directory instead of the
source directory.
2014-04-29 13:02:36 -06:00
Manish Goregaokar
23cc6aa414
Make manifest updates/html5lib non mandatory
2014-04-29 16:06:46 +05:30
bors-servo
afae6a3c71
auto merge of #2252 : mbrubeck/servo/1778-borrow-layer, r=larsbergstrom
...
Fixes a crash in ContainerLayer::remove_child (#1778 ). r? @larsbergstrom
2014-04-28 18:07:38 -04:00
bors-servo
77d9f72947
auto merge of #2236 : Ms2ger/servo/Vec, r=jdm
...
I'd rather do this before it turns out that a rust upgrade removed `~[T]` behind our back.
2014-04-28 17:10:41 -04:00
Ms2ger
55ed05f2c7
Use Vec for the remaining ~[T]s in script.
2014-04-28 23:06:26 +02:00
Ms2ger
6e617d8eba
Make ProgressMsg use Vec.
2014-04-28 23:06:26 +02:00
Ms2ger
cc7d04702d
Use Vec in Node mutation methods.
2014-04-28 23:06:26 +02:00
Ms2ger
02bcf97fd0
Make get_content_boxes return Vec.
2014-04-28 23:06:26 +02:00
Ms2ger
20f649da71
Make get_nodes_under_mouse return Vec.
2014-04-28 23:06:26 +02:00
Ms2ger
558986c87e
Make chain in eventdispatcher.rs use Vec.
2014-04-28 23:06:26 +02:00
Ms2ger
39ad37d8b6
Make open_elements in htmlserializer.rs use Vec.
2014-04-28 23:06:26 +02:00
Ms2ger
2a3b693054
Make PageTree::inner and PageTreeIterator::stack a Vec.
2014-04-28 23:06:26 +02:00
Ms2ger
ebe4b416f3
Make ScriptTask::mouse_over_targets use Vec.
2014-04-28 23:06:25 +02:00
Ms2ger
3ecfb9197f
Remove unused support for passing extra arguments for timers.
2014-04-28 23:06:25 +02:00
Ms2ger
674fd893cb
Make simple NodeLists use Vec.
2014-04-28 23:06:25 +02:00
Ms2ger
a1ec0cec11
Make TreeIterator::nodes a Vec.
2014-04-28 23:06:25 +02:00
Ms2ger
cc23a324e5
Make static HTMLCollections use Vec.
2014-04-28 23:06:25 +02:00
Ms2ger
251e22266e
Make EventTarget::handlers store a Vec.
2014-04-28 23:06:25 +02:00
Ms2ger
25357434e1
Make Element::attrs a Vec.
2014-04-28 23:06:25 +02:00
Ms2ger
7346992981
Make Document::idmap store a Vec.
2014-04-28 23:06:25 +02:00
Ms2ger
50ab85f3ee
Make ClientRectList::rects a Vec.
2014-04-28 23:06:24 +02:00
Matt Brubeck
c4f5ffb114
Remove now-redundant clone()
2014-04-28 11:01:08 -07:00
Matt Brubeck
9f76252928
Make ContainerLayer::first_child borrow temporary
...
Fixes a crash in ContainerLayer::remove_child (#1778 ).
2014-04-28 10:52:39 -07:00
bors-servo
0bfbe06f4b
auto merge of #2194 : Ms2ger/servo/typeerror-2, r=jdm
2014-04-28 13:19:36 -04:00
bors-servo
6f5983ea07
auto merge of #2251 : SimonSapin/servo/rust-http-makefile, r=larsbergstrom
...
Update submodule for mozilla-servo/rust-http#15
r? @larsbergstrom
2014-04-28 12:04:40 -04:00