Commit graph

5232 commits

Author SHA1 Message Date
Keegan McAllister
73e2e57535 Move FailureMsg contents into a cloneable struct 2014-02-12 18:07:32 -08:00
Keegan McAllister
e7aa445e52 Change the mechanism behind summit-crash.html 2014-02-12 18:07:32 -08:00
Keegan McAllister
1d19023486 Build libstd etc. with debug info when Servo configured with --enable-debug 2014-02-12 18:07:32 -08:00
bors-servo
a0a61fe976 auto merge of #1668 : larsbergstrom/servo/windowing_android_fixups, r=metajack
When I was doing my earlier PR for @mut-removal in windowing, I failed to add/commit/fetch/merge/push the changes in my Android-targeting copy of the repo and only just noticed.

r? @metajack
2014-02-12 11:58:51 -05:00
bors-servo
31e36b7bd7 auto merge of #1672 : kmcallister/servo/tests, r=pcwalton
I'd like to have an `iframe` reftest as well but `iframe`s are currently broken.  Will look into that next.
2014-02-11 19:19:51 -05:00
Keegan McAllister
0a8ada86c5 Accept data: URLs on the command line without URL encoding
This facilitates quick testing, e.g.

    ./servo 'data:,<div style="color: red;">hi</div>'
2014-02-11 15:38:20 -08:00
Keegan McAllister
8a7cc86aa9 Provide an error message for URL parse failure 2014-02-11 15:33:08 -08:00
Keegan McAllister
d723798298 Eliminate string match allocation in url.rs 2014-02-11 12:43:28 -08:00
Keegan McAllister
d1f98e0c75 Convert data-url.html to a reftest 2014-02-11 12:14:49 -08:00
Keegan McAllister
93d7ddd6d7 Add a simple iframe test page 2014-02-11 12:04:26 -08:00
bors-servo
1662e7a02f auto merge of #1666 : ozten/servo/issue-506-add-basic-console, r=Ms2ger
Here is an attempt to fix Issue#506.

I couldn't figure out how to do variadic arguments to `console.log`, but I did test calling `console.log('foo', 'bar', 'baz')` and it prints the first argument and doesn't error out, which is nice.

window.console is not a web standards. I did the popular functions, but not some of the newer ones documented [on MDN](https://developer.mozilla.org/en-US/docs/Web/API/console).

This PR will allow more pages to load properly, where developers have left in window.console calls.
2014-02-11 13:01:50 -05:00
Austin King
b1b481f3f3 Adding most commonly used parts of window.console. Fixes Issue#506. r=Ms2ger 2014-02-11 09:55:29 -08:00
Lars Bergstrom
f89eec140b Fix GLUT build for Android 2014-02-11 10:44:37 -06:00
bors-servo
7a86383eef auto merge of #1663 : larsbergstrom/servo/remove_atmut, r=pcwalton
I'm submitting a part of this at first to get your feedback on whether I'm removing them in the style you like (before I go and push this strategy through the rest of non-script Servo). Note that Windowing is a little weird because its calls bounce down into C code which then re-calls into Rust, getting a handle on the Rc'd Window object out of TLS.

r? @pcwalton
2014-02-11 11:04:58 -05:00
Lars Bergstrom
14a2ab977b Glut RefCell->Cell 2014-02-11 09:34:10 -06:00
Lars Bergstrom
d7a80e95bb RefCell->Cell 2014-02-11 09:29:27 -06:00
Bruno de Oliveira Abinader
93e539d636 Fixed FIXME message as pointed out by jdm 2014-02-11 09:45:05 -04:00
Bruno de Oliveira Abinader
9b56e2cc09 Added refs to live HTMLCollections issue 2014-02-11 09:35:52 -04:00
Bruno de Oliveira Abinader
7f5e27fd9d Added refs to Element's DOM spec
This is a sub-task for #1660.
2014-02-11 09:27:45 -04:00
bors-servo
7d740f8f8b auto merge of #1661 : SimonSapin/servo/attr-selectors, r=jdm
… instead of None meaning "any namespace" (where it could be the null namespace.)
2014-02-11 08:13:51 -05:00
Simon Sapin
e0580bf2f5 Use custom enum for the namespace of attribute selectors.
… instead of None meaning "any namespace"
(where it could be the null namespace.)
2014-02-11 08:59:36 +00:00
Lars Bergstrom
bfa4226e8f De @-mut windowing. 2014-02-10 20:24:29 -06:00
bors-servo
52b6993dc8 auto merge of #1659 : brunoabinader/servo/dom-document-add-links, r=Ms2ger
This is a sub-task for #1428.
2014-02-10 16:37:46 -05:00
Bruno de Oliveira Abinader
6fde4f82e7 Added refs to Document's DOM spec 2014-02-10 17:17:07 -04:00
bors-servo
6235f9fae1 auto merge of #1653 : SimonSapin/servo/attr-selectors, r=pcwalton
… and not "any namespace" or use the default namespace declaration.
2014-02-10 12:04:43 -05:00
bors-servo
d5c15598cd auto merge of #1656 : brunoabinader/servo/node-add-links, r=metajack
This is a sub-task for #1655.
2014-02-10 11:37:42 -05:00
Bruno de Oliveira Abinader
b46de88a2b Added missing refs to DOM spec
This is a sub-task for #1655.
2014-02-10 11:40:43 -04:00
bors-servo
a36a9850c8 auto merge of #1646 : brunoabinader/servo/node-isequalnode, r=Ms2ger
Spec:
http://dom.spec.whatwg.org/#dom-node-isequalnode

This is a sub-task for #1655. Closes #1645.
2014-02-10 10:04:47 -05:00
Bruno de Oliveira Abinader
4d4495b015 Implement Node.isEqualNode
Spec:
http://dom.spec.whatwg.org/#dom-node-isequalnode

Closes #1645.
2014-02-10 11:01:12 -04:00
Simon Sapin
f72f655312 Fix #1652: Attribute selectors should default to the null namespace
… and not "any namespace" or use the default namespace declaration.
2014-02-10 10:13:34 +00:00
bors-servo
f26cdcf235 auto merge of #1617 : xiongmao86/servo/issue1612, r=larsbergstrom
Rename *.rc to *.rs in components directory, and do some relevant changes in Makefile.in
2014-02-09 22:07:36 -05:00
bors-servo
ccfd595d6e auto merge of #1633 : parkjaeman/servo/pseudo-class-hover, r=larsbergstrom
Fix #790 partially.
I am sure I need to merge with @jdm's event handler for dom.
As son as the event handler is implemented, I will fix.
And this is implement Hover Event. If over element, Currently Full reflow.
After PR, will make partial reflow. 
Thank you!
2014-02-09 21:35:09 -05:00
HyunJune Kim
c8d503898a This is implement Hover Event. If over element, currently full reflow. after PR, will make partial reflow. 2014-02-10 11:16:07 +09:00
HyunJune Kim
d2f8b593a9 compositor can get mouse point from window event 2014-02-10 11:14:29 +09:00
bors-servo
8486ba4325 auto merge of #1649 : mrshu/servo/patch-1, r=larsbergstrom
It seems that the correct link is https://github.com/mozilla/rust/wiki/Note-development-policy#wiki-conduct now whereas it was https://github.com/mozilla/rust/wiki/Note-development-policy#conduct before.
2014-02-09 11:37:46 -05:00
Marek Šuppa
fff71bb7c1 Updated link to Code of Conduct in CONTRIBUTING.md
It seems that the correct link is https://github.com/mozilla/rust/wiki/Note-development-policy#wiki-conduct now whereas it was https://github.com/mozilla/rust/wiki/Note-development-policy#conduct before.
2014-02-09 17:17:59 +01:00
bors-servo
dda62cc97f auto merge of #1648 : brunoabinader/servo/node-contains, r=Ms2ger
Spec:
http://dom.spec.whatwg.org/#dom-node-contains

Closes #1647.
2014-02-09 10:04:50 -05:00
Bruno de Oliveira Abinader
99b3b144d4 Implement Node.contains
Spec:
http://dom.spec.whatwg.org/#dom-node-contains

Closes #1647.
2014-02-09 10:39:07 -04:00
xiongmao86
a0a2802535 Fix #1612 Rename .rc to .rs, and relevant changes in Makefile.in 2014-02-09 13:56:47 +08:00
bors-servo
9305a95b68 auto merge of #1643 : saneyuki/servo/1641, r=SimonSapin
This will fix #1641
r?
2014-02-08 15:43:41 -05:00
Tetsuharu OHZEKI
b6d59a17f0 Rename "get_applicable_declarations" to "push_applicable_declarations". 2014-02-09 05:28:39 +09:00
bors-servo
aae5be557a auto merge of #1642 : saneyuki/servo/1535, r=SimonSapin
this will fix #1535

r?
2014-02-08 15:10:43 -05:00
Tetsuharu OHZEKI
d3cbdd8865 Reduce copying on parse_url() call sites. 2014-02-09 05:03:06 +09:00
bors-servo
77f52c705d auto merge of #1637 : Ms2ger/servo/get_rootable, r=pcwalton 2014-02-08 09:52:42 -05:00
bors-servo
fe1bb6a325 auto merge of #1608 : SimonSapin/servo/url, r=metajack
Align with spec terminology.
2014-02-07 14:31:35 -05:00
Ms2ger
5765de12cd Remove unused Reflector::get_rootable. 2014-02-07 13:04:31 +01:00
bors-servo
a1e98ada50 auto merge of #1577 : ksh8281/servo/inline_add2, r=larsbergstrom
there is a issue when TextRunScanning.
this is for 
```
<span style="background:red;font-size:35px;border: black solid 15px">
        <span style="background:purple; 20px solid">
            <img src="test.jpeg" style="border:blue 30px solid;" />
        </span>
</span>
```
this case. left border of "img" is missing
2014-02-06 21:07:38 -05:00
patrick kim
86777d6460 add case of merge inline info & modify ref test 2014-02-07 09:22:56 +09:00
bors-servo
14ee9218e4 auto merge of #1634 : brunoabinader/servo/document-fromnode, r=jdm
TSIA.

@jdm mentioned to use ```AbstractDocument::from_box``` internally, though.
2014-02-06 15:46:41 -05:00
Bruno de Oliveira Abinader
b19e31942e Provide AbstractDocument::from_node(node: AbstractNode)
TSIA.
2014-02-06 16:33:16 -04:00