Keegan McAllister
8f74a3122c
sub.mk: Remove CFLAGS_mozjs
...
Seems to have no effect.
2013-09-04 17:39:33 -07:00
bors-servo
264408a44b
auto merge of #870 : brson/servo/http, r=metajack
...
We don't need to repeatedly read the headers, and need to send the Done message.
2013-09-04 16:24:50 -07:00
bors-servo
94a1231b64
auto merge of #869 : Ms2ger/servo/inline-script, r=jdm
...
This follows the approach of external scripts in executing tests all together after parsing finishes.
2013-09-04 12:42:50 -07:00
Brian Anderson
e10d3889b7
Fix logic in http_loader
...
We don't need to repeatedly read the headers, and need to send the Done message.
2013-09-04 12:40:56 -07:00
Ms2ger
916d0253b3
Issue #561 - Execute inline JS.
...
This follows the approach of external scripts in executing tests all together after parsing finishes.
2013-09-04 21:38:35 +02:00
bors-servo
3afcddcc67
auto merge of #820 : jdm/servo/tracehook, r=metajack
2013-09-04 10:33:50 -07:00
Josh Matthews
329f92a41d
Add trace hooks for all generated derivatives of Node.
2013-09-04 13:13:03 -04:00
bors-servo
df2906fc29
auto merge of #831 : SimonSapin/servo/newnewcss, r=metajack
...
I started this in a [separate repository](https://github.com/SimonSapin/servo-style ), and imported it with [git-subtree](https://github.com/git/git/blob/master/contrib/subtree/git-subtree.txt ) into `servo/src/components/script/style` after some Rust minor upgrades.
I move this into the script crate because it’s gonna both need stuff there (the content tree, for selector matching) and be needed by stuff there (the HTML parser calls the CSS parser). As far as I know, we can not have circular dependencies between crates.
2013-09-04 10:00:52 -07:00
Simon Sapin
1912b82bfa
Add missing license header in src/components/script/style/mod.rs
2013-09-04 17:42:28 +01:00
bors-servo
b5dcbd287d
auto merge of #864 : jdm/servo/displaylist, r=metajack
2013-09-04 08:21:58 -07:00
Josh Matthews
79444596d1
Make querying layout for content boxes an infallible operation.
2013-09-04 11:07:11 -04:00
bors-servo
a567eb007d
auto merge of #863 : brson/servo/http, r=metajack
...
This adds rust-http as a submodule and wires it into the resource loader for http urls. It *does not* do DNS resolution yet, sadly, since Rust doesn't support it yet. That's what I'll be working on next.
2013-09-03 22:18:59 -07:00
Brian Anderson
c94d601ebf
Update rust-http
2013-09-03 22:14:45 -07:00
Brian Anderson
7d23834795
Use https for rust-http submodule
2013-09-03 20:37:25 -07:00
bors-servo
1cdd513c04
auto merge of #862 : kmcallister/servo/embed-layout-data, r=jdm
2013-09-03 19:47:07 -07:00
Brian Anderson
232bdae8e6
Add rust-http to the build and begin using it to resolve http urls
2013-09-03 16:42:21 -07:00
Keegan McAllister
51c639c380
Remove a layer of Option on LayoutData
...
The individual fields are also Options, and LayoutData::new() is a fine default
value.
2013-09-03 16:00:14 -07:00
Brian Anderson
6fe337e215
Add rust-http as a submodule
...
Conflicts:
.gitmodules
2013-09-03 14:27:04 -07:00
Simon Sapin
496072c8e1
Trigger a rust rebuild
...
I previously changed this to the same date as another commit, so the changed "disappeared" when I rebased.
2013-09-03 22:19:05 +01:00
Keegan McAllister
c22547a4ef
Embed layout data directly in Node
...
This eliminates
layout_data: Option<@mut ()>
and the unsafe casting around it, which was causing crashes on exit.
Fixes #762 .
2013-09-03 13:10:51 -07:00
Keegan McAllister
fc3afc5059
Add a hexdump function for debugging
2013-09-03 13:10:51 -07:00
Keegan McAllister
317add5528
Warning police
2013-09-03 13:10:51 -07:00
Simon Sapin
8abab6f546
Add cascading.
2013-09-03 19:05:59 +01:00
bors-servo
4cfcad0a0e
auto merge of #837 : saneyuki/servo/webidl, r=jdm
2013-09-03 10:46:00 -07:00
bors-servo
a8718d77f1
auto merge of #836 : bfrohs/servo/834upperTagName, r=jdm
...
http://dom.spec.whatwg.org/#dom-element-tagname
I added `window.alert(elem.tagName);` to line 14 of `test_bindings.js` to test (segfault at line 17), and it indeed uppercased the tagName. I didn't add that to this commit, however, because `tagName` is already tested on line 50 of that file. I'm assuming the duplication isn't necessary. Am I correct in that assumption? Or should tests be added somewhere for this? Where?
2013-09-03 09:46:03 -07:00
Simon Sapin
7a70200250
Resolve 'unset' to 'initial' or 'inherit' when parsing.
2013-09-03 16:56:12 +01:00
Simon Sapin
96dce99e8f
Handle 'color: currentColor'
2013-09-03 16:39:40 +01:00
Simon Sapin
cb340df79c
Add style structs.
2013-09-03 16:38:46 +01:00
Brandon Frohs
02437f7e87
Convert tagName to uppercase ASCII per spec
...
http://dom.spec.whatwg.org/#dom-element-tagname
2013-09-02 21:21:30 -04:00
Simon Sapin
91593b54d2
Build the new (yet unused) style system as part of libscript, to avoid bitrot.
2013-09-02 17:32:26 +01:00
Simon Sapin
71ca10a50c
Add 'src/components/script/style/' from commit ' dd8b178860
'
...
git-subtree-dir: src/components/script/style
git-subtree-mainline: 0c726b4581
git-subtree-split: dd8b178860
2013-09-02 17:30:45 +01:00
Simon Sapin
0c726b4581
Upgrade to rustc 0.8-pre (0ac3e02 2013-08-30 05:45:45 -0700)
2013-09-02 17:25:35 +01:00
bors-servo
7ea10ff8af
auto merge of #853 : evilpie/servo/file-url, r=metajack
...
This makes the JavaScript error prettier.
2013-08-31 20:03:59 -07:00
Tom Schuster
a0d900e1f6
Pass the javscript file url to the evaluate function
2013-08-31 20:07:08 -04:00
Tetsuharu OHZEKI
80e3109bc9
Add testcases.
2013-09-01 06:57:55 +09:00
Tetsuharu OHZEKI
17e888bfea
Generate bindings for HTMLAudioElement, HTMLVideoElement.
2013-09-01 06:51:33 +09:00
Tetsuharu OHZEKI
a76e46416a
Generate bindings for HTMLMediaElement.
2013-08-31 20:00:26 +09:00
Tetsuharu OHZEKI
d3108a898d
Generate bindings for HTMLTrackElement.
2013-08-31 20:00:26 +09:00
Tetsuharu OHZEKI
9919bae897
Generate bindings for HTMLLabelElement.
2013-08-31 20:00:26 +09:00
Tetsuharu OHZEKI
f7bc8beb18
Generate bindings for HTMLLegendElement.
2013-08-31 20:00:26 +09:00
Tetsuharu OHZEKI
e55b3d6b86
Generate bindings for HTMLPreElement.
2013-08-31 20:00:25 +09:00
Tetsuharu OHZEKI
22e02b573d
Generate bindings for HTMLTemplateElement.
2013-08-31 20:00:25 +09:00
bors-servo
c532c73964
auto merge of #821 : brson/servo/master, r=brson,metajack,metajack
...
Still needs https://github.com/mozilla-servo/glfw-rs/pull/5 and https://github.com/mozilla-servo/rust-mozjs/pull/31
2013-08-30 15:21:36 -07:00
Brian Anderson
e2aa7b8697
Update contenttest
2013-08-30 15:17:57 -07:00
Brian Anderson
01cdfa3748
Merge remote-tracking branch 'origin/master'
2013-08-30 15:16:45 -07:00
Brian Anderson
4487b1c29a
Merge remote-tracking branch 'origin/master'
...
Conflicts:
src/components/script/dom/bindings/element.rs
src/components/script/dom/bindings/node.rs
src/components/script/dom/bindings/utils.rs
2013-08-30 13:44:44 -07:00
Jack Moffitt
8fb3571bd9
Fix android build on Darwin.
...
This cleans up configure and Makefile.in so that things build correctly on Darwin.
2013-08-30 14:27:20 -06:00
bors-servo
3e801e777f
auto merge of #828 : jdm/servo/contentfix, r=metajack
2013-08-30 13:15:39 -07:00
Josh Matthews
2947c0c5bd
Add test for proxy dom bindings setter. Fix up prototypes content test to reflect new bindings. Hook up contenttest harness to make check target.
2013-08-30 15:16:47 -04:00
Josh Matthews
e428c954aa
Fix contenttest harness build errors.
2013-08-30 14:53:13 -04:00