bors-servo
2dfa28f186
Auto merge of #5674 - nox:get_unsound_ref_forever-misc, r=Ms2ger
2015-04-14 04:56:08 -05:00
Anthony Ramine
3ce368fa28
Remove unnecessary uses of get_unsound_ref_forever()
2015-04-14 11:55:35 +02:00
Corey Farwell
5eaa922045
Update WHATWG links to use HTTPS
...
Extracted this out of #5649
This commit was created with the following commands:
```
find . -iname "*.webidl" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)whatwg.org/https:\1whatwg.org/g'
```
```
find . -iname "*.rs" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)whatwg.org/https:\1whatwg.org/g'
```
2015-04-13 21:34:27 -07:00
Anthony Ramine
e20d997b37
Use a simple Temporary value in TreeIterator
2015-04-13 11:01:02 +02:00
Anthony Ramine
c026825e69
Pass a RootedVec to NodeList::new_simple_list()
2015-04-13 11:00:04 +02:00
Anthony Ramine
9cee765c96
Add NodeHelpers::inclusively_preceding_siblings()
2015-04-10 11:46:29 +02:00
bors-servo
c9a413cb6e
Auto merge of #5622 - pgonda:NodeChildrenIterator-to-NodeSiblingIterator, r=jdm
2015-04-10 04:10:02 -05:00
Anthony Ramine
2411d607d4
Cleanup ProcessingInstruction
2015-04-10 00:32:01 +02:00
Peter
e7c11f7062
Updated fix #5616 , also renamed RevsereChildrenIterator to ReverseSiblingIterator
2015-04-09 16:27:25 -04:00
Peter
1511d7a2ad
Resvoled merge conflict
2015-04-09 16:07:10 -04:00
Anthony Ramine
8f73b452fb
Cleanup access to CharacterData nodes
2015-04-09 16:54:55 +02:00
Anthony Ramine
c8f41b473c
Remove CharacterData::set_data()
2015-04-09 16:54:52 +02:00
Peter
0eace5bed8
Renaming NodeChildrenIterator to NodeSiblingIterator, fix #5616
2015-04-09 10:41:02 -04:00
Anthony Ramine
3d68a46fee
Implement NonDocumentTypeChildNode::*ElementSibling()
2015-04-09 15:43:05 +02:00
bors-servo
656617a91c
Auto merge of #5578 - nox:collect_text_contents-unsound, r=Ms2ger
2015-04-08 16:16:53 -05:00
Matt Brubeck
3d7dad2894
Set dirty flag on hover or focus change
2015-04-07 15:54:35 -07:00
Anthony Ramine
cdb3efec87
Use a Temporary iterator in Node::collect_text_contents()
2015-04-07 20:27:30 +02:00
bors-servo
e57630711f
Auto merge of #5541 - nox:node-iterators-temporary, r=jdm
2015-04-07 10:22:10 -05:00
Anthony Ramine
11b4ff9e94
Use Temporary in ChildElementIterator
2015-04-07 15:46:32 +02:00
Anthony Ramine
bf7c791e3a
Hold a Temporary in AncestorIterator
2015-04-07 15:46:31 +02:00
bors-servo
48ee05620d
Auto merge of #5536 - jdm:devtools_uint, r=Ms2ger
2015-04-07 08:20:36 -05:00
Anthony Ramine
6a6ecb9afa
Hold a Temporary in ReverseChildrenIterator
2015-04-07 14:47:31 +02:00
Chris Paris
f76a137344
Produce output of fragment parsing in &mut RootedVec<JS<Node>> argument
2015-04-06 12:59:54 -10:00
Chris Paris
d1c5ac31ab
unwrap AppendChild result in parse_fragment
2015-04-06 12:56:57 -10:00
Chris Paris
b0ba4d17ee
drop try! from parse_fragment
2015-04-06 12:56:56 -10:00
Chris Paris
cc771fdd68
fragment parsing functions take DOMString instead of HTMLInput
2015-04-06 12:56:55 -10:00
Chris Paris
63ced23fca
Refactor fragment parsing
2015-04-06 12:54:58 -10:00
Josh Matthews
6328946434
Remove int/uint from devtools/devtools_traits.
2015-04-06 10:14:57 -04:00
Anthony Ramine
561ec7e21d
Rename many name arguments to local_name
2015-04-06 14:31:28 +02:00
Anthony Ramine
254207730e
Make Element::get_attribute() take its namespace by reference
2015-04-06 14:31:27 +02:00
Matt Brubeck
791fa3757d
Implement the :focus pseudo-class selector
...
Fixes #5460 . This supports for simple focusable elements that are their own
DOM anchors, like text `input` fields.
2015-04-04 10:57:11 -07:00
Ms2ger
c2e81be8a5
Stop using int/uint in script.
2015-04-03 20:47:53 +02:00
Ms2ger
c8106da277
Rewrite NodeChildrenIterator to return Temporary.
2015-04-02 13:07:51 +02:00
bors-servo
dfa16e049f
auto merge of #5337 : ChrisParis/servo/replacenode-fragment, r=metajack
...
Fixes #5336
2015-04-01 15:48:42 -06:00
Chris Paris
8b9162c49d
Fix mutation record when ReplaceChild handles DocumentFragment
2015-04-01 10:40:12 -10:00
Patrick Walton
0fcaa3ce03
script: Fix O(n^2) dirty bit marking when setting style on all immediate
...
children of a node.
2015-03-27 19:06:57 -07:00
bors-servo
265f313de3
auto merge of #5387 : Manishearth/servo/macro_path, r=Ms2ger
2015-03-26 10:39:57 -06:00
Manish Goregaokar
c9ccf7aeb4
make no_jsmanaged_fields not require imports
2015-03-26 22:05:28 +05:30
Corey Farwell
01ac9a6c87
Remove unused script::dom::node::NodeIterator
...
Was introduced in 7aee1cae84
I noticed it isn't actively in use, so unless there's some bigger reason
why it exists, it could probably be removed
2015-03-25 21:45:28 -04:00
Manish Goregaokar
3479d3fa7f
Replace unsafe_blocks by unsafe_code.
2015-03-21 10:27:32 +01:00
Ms2ger
5f15eb5fbf
Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev.
2015-03-18 13:18:31 -04:00
Martin Schröder
5c8b617715
Refactored optional argument "last_modified" for Document
...
Fixes #4981
2015-03-16 17:53:19 +01:00
Chris Double
2af19b2675
Fix #2108 by renaming unwrap functions to native_from_reflector
...
As noted by @bholley. "unwrap" is confusing because we are
both stripping off wrappers *and* getting a native from a
reflector. Changing the "unwrap" usage to "native_from_reflector"
for clarity.
This renames 'unwrap' to 'native_from_reflector' and
'unwrap_jsmanaged' to 'native_from_reflector_jsmanaged'.
2015-03-12 19:15:12 +13:00
Zack Slayton
08ac0766ed
Use new if let
syntax wherever possible. Fixes #4153 .
2015-03-10 09:18:55 -04:00
bors-servo
67548a6244
auto merge of #5127 : KiChjang/servo/partial-eq-jsref, r=Ms2ger
...
Fixes #5112 , #3960
2015-03-05 01:15:44 -07:00
Josh Matthews
4972b623e1
Separate disposing of layout data from the GCing of the DOM object reflectors. Change the order of operations when shutting down the script task to ensure that Window globals aren't used after they've been GCed.
2015-03-03 16:25:40 -05:00
Josh Matthews
e2c4f5ed67
Move everything unrelated to the frame tree out of Page and into Document or Window. Reduce the API surface of Page to a bare minimum to allow for easier future removal.
2015-03-03 16:25:40 -05:00
Keith Yeung
a07a0cf39f
Added type parameter to PartialEq on JSRef ( fixes #5112 , #3960 )
2015-03-03 11:46:13 +08:00
Glenn Watson
611fd7a846
Reap layout data whenever a node is removed from the tree.
...
Also introduce a clear() function to layout data which will be used to clear items such as compositor layouts.
Clear the layout data when a node becomes display:none.
2015-03-03 07:12:51 +10:00
Simon Sapin
2a50755c8a
Move selector matching to an external library, for use outside Servo.
2015-02-23 16:29:34 +01:00