bors-servo
fe11a75f79
auto merge of #3937 : Ms2ger/servo/docs-bindings, r=jdm
2014-11-07 10:57:30 -07:00
Ms2ger
3ed3c9a978
Document bindings/conversions.rs.
2014-11-07 18:33:38 +01:00
Tom Schuster
96e42feaa1
Implement the whole Attr interface
2014-11-07 14:36:57 +01:00
Ms2ger
223c3bc7ae
Document bindings/callback.rs.
2014-11-07 12:22:00 +01:00
Ms2ger
52ef7f7948
Document bindings/trace.rs.
2014-11-07 12:11:50 +01:00
Ms2ger
bfa1ab816f
Document bindings/utils.rs.
2014-11-07 11:57:37 +01:00
bors-servo
338a9c3f05
auto merge of #3917 : mukilan/servo/xhr-status-async, r=jdm
...
Fixes #3877
2014-11-06 19:00:29 -07:00
bors-servo
f775f12fe9
auto merge of #3886 : glennw/servo/mq, r=SimonSapin
2014-11-06 17:24:28 -07:00
Bruno de Oliveira Abinader
a9d68474c9
Remove warning from 'deleter' WebIDL codegen
2014-11-06 11:31:58 -08:00
Bruno de Oliveira Abinader
5c76502b91
Implement DOMStringMap
2014-11-06 11:31:58 -08:00
Bruno de Oliveira Abinader
b50cfa56a9
Couple more fixes to handle 'setter' properties in WebIDL
2014-11-06 11:31:58 -08:00
Mukilan Thiyagarajan
dc02352564
XHR - Trigger readystatechange when transitioning from HEADERS_RECEIVED to DONE
...
Fixes #3877
2014-11-06 23:57:48 +05:30
bors-servo
c828e83604
auto merge of #3817 : nkdalmia/servo/master, r=jdm
...
We have completed the initial step for "Implement Window.sessionStorage and Window.localStorage"
- Create and stub the Storage WebIDL interface
2014-11-06 10:51:40 -07:00
nkdalmia
bb76b0f3f2
Intial Commit for Storage.webidl, along with impl stub
2014-11-06 10:55:27 -05:00
Ms2ger
bb9cad938b
Implement HTMLElement#lang.
2014-11-06 15:28:52 +01:00
Ms2ger
fbb00da212
Remove the glob import from the HTML parser.
...
Glob imports are frowned upon, and after the removal of
build_element_for_tag, only a few types are actually used.
2014-11-06 09:41:24 +01:00
bors-servo
57cb8a10f0
auto merge of #3903 : Manishearth/servo/plugin-fixes, r=jdm
2014-11-05 20:03:34 -07:00
bors-servo
45262ec9d2
auto merge of #3905 : Ms2ger/servo/prefix-create, r=jdm
2014-11-05 19:27:35 -07:00
Manish Goregaokar
52983ed97c
Silence lint for self.global in XHR
2014-11-06 06:37:44 +05:30
Ms2ger
f565e203e4
Remove the manual Element::new call from Document::CreateElementNS.
2014-11-05 23:22:47 +01:00
Ms2ger
a5e9f97c8f
Pass the prefix to Element::new in create_element.
2014-11-05 23:18:33 +01:00
bors-servo
c9857d49dd
auto merge of #3901 : Ms2ger/servo/title, r=jdm
2014-11-05 14:33:36 -07:00
Ms2ger
45701002a3
Implement HTMLElement.title.
2014-11-05 22:08:36 +01:00
bors-servo
76cc006a40
auto merge of #3898 : Ms2ger/servo/prefix-clone, r=jdm
...
The current code calls as_slice() on the Option, yielding &[DOMString], and
then calls to_string, yielding "[prefix]".
2014-11-05 12:57:37 -07:00
Ms2ger
82ff32a710
Pass the correct argument to Element::create when cloning.
...
The current code calls as_slice() on the Option, yielding &[DOMString], and
then calls to_string, yielding "[prefix]".
2014-11-05 20:51:41 +01:00
bors-servo
390e111537
auto merge of #3900 : kmcallister/servo/parse-error, r=Ms2ger
...
r? @ms2ger
2014-11-05 12:21:42 -07:00
Keegan McAllister
01ea963711
Only print HTML parse errors with RUST_LOG=script::parse
2014-11-05 10:36:20 -08:00
bors-servo
fba6cb9c42
auto merge of #3897 : Ms2ger/servo/enable-reflection, r=Manishearth
2014-11-05 11:12:40 -07:00
Ms2ger
e1bb3c3b06
Parse the size attribute on input elements.
2014-11-05 19:07:01 +01:00
Ms2ger
214c356ecd
Pass an Atom to VirtualMethods::parse_plain_attribute.
2014-11-05 16:19:11 +01:00
Ms2ger
cdde96e989
Defer to GetAttribute in HasAttribute.
...
The semantics of has_attribute aren't anywhere close to the ones expected for
Element#hasAttribute, and it fails an assertion when passed non-lower-case
names.
2014-11-05 16:05:06 +01:00
Patrick Walton
10f7b49cf7
Invert control flow, fix resizing, and improve checkerboarding
...
significantly by giving tiles some time to paint before we render
unrendered content.
2014-11-04 13:51:56 -08:00
Glenn Watson
11cf538ff4
Make media queries work with resize and page zoom.
2014-11-04 13:25:21 -08:00
bors-servo
4e24e4d8e9
auto merge of #3732 : mukilan/servo/xhr-issue-3630, r=jdm
...
This fixes issue #3630
A short summary of the changes:
* Use atomic generation id to cancel inflight requests
* Handles nested calls to abort, open, send inside handlers
* Adds XHRReleaseMsg to delay freeing XHR object till all
inflight events are processed
* Handles both timeout, errors and abort/open in a symmetric fashion
i.e All inflight events will be cancelled for timeouts, aborts,
errors and on calling open.
* Change the ErroredMsg enum to be more symmetric with the returned
Error enum
I noticed a few possible changes that could make the code for fetch task simpler:
* We can remove the additional timer task and let the fetch task manage
its own timer (or maybe the resource loader can do this.)
* The CORS related steps could also be moved into the resource loader.
* Right now upload events are not support. This requires some support
from resource loader.
2014-11-04 05:06:34 -07:00
Bruno de Oliveira Abinader
315f626393
Various fixes to CodegenRust.py
2014-11-03 17:26:23 -08:00
bors-servo
69f8b46f36
auto merge of #3835 : pcwalton/servo/script-microoptzns, r=Ms2ger
...
This is a grab bag of various microoptimizations for script that I came across when profiling our performance on RoboHornet.
r? @jdm
2014-11-03 15:48:34 -07:00
bors-servo
c9089c45c4
auto merge of #3857 : mrobinson/servo/queries, r=pcwalton
...
Instead of looking at the display tree, have ContentBox(es)Query consult
the flow tree. This allow optimizing away parts of the display tree
later. To do this we need to be more careful about how we send reflow
requests, only querying the flow tree when possible.
Fixes #3790 .
2014-11-03 12:03:37 -07:00
Martin Robinson
2d72f00ccf
Have ContentBox(es)Queries consult the flow tree
...
Instead of looking at the display tree, have ContentBox(es)Query consult
the flow tree. This allow optimizing away parts of the display tree
later. To do this we need to be more careful about how we send reflow
requests, only querying the flow tree when possible.
Fixes #3790 .
2014-11-03 10:30:28 -08:00
bors-servo
169e6a2297
auto merge of #3863 : Ms2ger/servo/cleanup-caption, r=Manishearth
2014-11-03 11:27:38 -07:00
Mukilan Thiyagarajan
7435db26ac
Fix race condition in XHR and handle other abort/open scenarios
...
This fixes issue #3630
A short summary of the changes:
* Use generation id to cancel inflight requests
* Handles nested calls to abort, open, send inside handlers
* Adds XHRReleaseMsg to delay freeing XHR object till all
inflight events are processed
* Change the ErroredMsg enum to be more symmetric with the returned
Error enum
2014-11-03 22:06:17 +05:30
bors-servo
1a3ff8739c
auto merge of #3871 : Ms2ger/servo/node-cleanup, r=Ms2ger
2014-11-02 14:51:33 -07:00
Ms2ger
68f3daa7ef
Simplify the implementation of NodeIterator::next_child.
2014-11-02 21:28:06 +01:00
Ms2ger
cb68fbd68e
Simplify the implementation of NodeHelpers::child_elements.
2014-11-02 21:26:59 +01:00
Mitchell Van Der Hoeff
536201e2b5
Initialize 'cancelable' to false in Event::new_inherited. Fixes #3855 .
2014-11-02 11:36:11 -05:00
Patrick Walton
b245a2475f
script: Fix busted document fragment appending code
2014-10-31 10:24:49 -07:00
Bruno de Oliveira Abinader
d5d4d0bec4
s/peek().is_some()/!is_empty()/
2014-10-31 11:17:08 -04:00
Bruno de Oliveira Abinader
11d2251b1e
ChildElementIterator is now peekable
2014-10-31 10:52:39 -04:00
Bruno de Oliveira Abinader
eb1ef59aee
s/AbstractNodeChildrenIterator/NodeChildrenIterator/
2014-10-31 10:52:02 -04:00
Ms2ger
bd547dee5e
Cleanup the implementation of HTMLTableElement::GetCaption.
2014-10-31 10:25:44 +01:00
Bruno de Oliveira Abinader
5db3eb0cee
Cleanup Element's AttributeHandlers
...
Remove notify_attribute_{changed,removed} in favor of a unified
notify_content_changed.
2014-10-30 17:14:25 -04:00