Commit graph

7136 commits

Author SHA1 Message Date
Shanil Puri
d6e99cb269 Spacing changes corrected. 2014-11-17 00:55:41 -05:00
Shanil Puri
fc7b3699ed Sending exit message to devtools to exit.
Accepted and closed incoming streams

Added header to for constant use.

Removed extra spaces.

Corrected spacing to conform to coding standards.

Corrected spacing to conform to coding standards.

Corrected spacing to conform with coding standards.

Moving new import next to old import for devtools_traits as specified in comment.

Removed method definition to include as inline code and changed to iter_mut.

Using loops to exit devtools on server exit message and disconnected message to simply break as suggested in the comment.

Removing TODO comment for completed functionality.

Moved the operation for exit of devtools on servo closing outside the match loop.

Removing trailing ';' and adding new line before connection closing loop.
2014-11-13 20:44:06 -05:00
bors-servo
ccdd2910a2 auto merge of #3951 : mrobinson/servo/iframes, r=jdm
This is the first step to allowing incremental iframe creation and destruction. This should eliminate task failures when an iframe is added to the frame tree lazily via script.
2014-11-11 18:48:34 -07:00
Martin Robinson
fbb1e0c6b8 Send incremental frame tree updates to the compositor
This allows the compositor to add frames after the call to SetIds,
where the initial frame tree is created. There are still some issues
preventing proper late frame creation, but this prevents crashes when
it happens.

Fixes #3738.
2014-11-11 17:36:19 -08:00
Martin Robinson
750bedab81 Add some factory methods for frame tree types 2014-11-11 17:36:19 -08:00
Martin Robinson
a10e261ffd Small fix to variable name
This is a more accurate name for the script pipeline.
2014-11-11 17:36:19 -08:00
Martin Robinson
6e06a1353c Rename LoadIframeUrlMsg to CreateIFrameAndLoadUrlMsg
This better reflects what the message does.
2014-11-11 17:36:18 -08:00
bors-servo
b94f20c7c1 auto merge of #3934 : guillaumebort/servo/fix/84, r=jdm
Actually `<img>` elements in `<noscript>` are not prefetched anymore.

Probably because html5ever already parses the `<noscript>` content as raw
text data if `scripting_enabled` is activated.

See https://github.com/servo/html5ever/blob/servo/src/tree_builder/rules.rs#L126

Also, added a test to the images cache.
2014-11-11 14:30:39 -07:00
bors-servo
e8edbe0240 auto merge of #3952 : andrewguertin/servo/wpt-cors, r=Manishearth
Fixes #3781 

I had to make a small fix to wptrunner's wptupdate, but otherwise the instructions at https://github.com/servo/servo/blob/master/tests/wpt/README.md#updating-test-expectations were good and this was very straightforward.
2014-11-11 09:36:38 -07:00
Andrew Guertin
468fae8914 Change /cors/remote-origin.htm.ini to CRASH 2014-11-11 09:40:51 -05:00
bors-servo
f4471f0602 auto merge of #3958 : zwarich/servo/remove-libgreen, r=Ms2ger 2014-11-11 03:18:38 -07:00
Cameron Zwarich
91be7443df Remove unnecessary import of libgreen 2014-11-10 16:18:10 -08:00
Andrew Guertin
d87ca5f2ec Enable the cors/ wpt subset
Fixes #3781
2014-11-10 15:32:28 -05:00
bors-servo
f0184a2d01 auto merge of #3949 : Ms2ger/servo/logical_geometry, r=Manishearth 2014-11-10 05:33:35 -07:00
Ms2ger
c2fa5f3b4f Fix the documentation comment for logical_geometry.rs. 2014-11-10 09:45:34 +01:00
bors-servo
fc62243f81 auto merge of #3915 : shinglyu/servo/bug3811, r=jdm
This is a fix for bug #3811 , thank you.
2014-11-09 20:24:31 -07:00
Shing Lyu
783c6703ca Bug #3811 - Extracted the script task handlers into methods 2014-11-10 10:38:12 +08:00
bors-servo
d63a35012c auto merge of #3945 : Ms2ger/servo/rm-tests, r=Manishearth 2014-11-09 16:21:31 -07:00
Ms2ger
0056ba95e1 Remove tests/content/test_document_compatMode.html.
It is already covered by:

  html/dom/documents/resource-metadata-management/document-compatmode-03.html
  dom/nodes/Document-constructor.html
  dom/nodes/DOMImplementation-createHTMLDocument.html
2014-11-09 23:40:24 +01:00
Ms2ger
b4151550cb Remove tests/content/test_document_adoptNode.html.
It is already covered by:

  dom/nodes/Document-adoptNode.html
2014-11-09 23:40:22 +01:00
bors-servo
182a9a70de auto merge of #3942 : Ms2ger/servo/VoidVal, r=jdm
There are no undefined constants in IDL.
2014-11-09 09:09:31 -07:00
bors-servo
caba4b3e76 auto merge of #3943 : Ms2ger/servo/img_width_height, r=jdm
This fixes an intermittent failure introduced in
<https://github.com/servo/servo/pull/3929>.
2014-11-09 07:51:31 -07:00
Ms2ger
be4c83432b Call waitForExplicitFinish in test_img_width_height.html.
This fixes an intermittent failure introduced in
<https://github.com/servo/servo/pull/3929>.
2014-11-09 15:19:40 +01:00
Ms2ger
aa83388f38 Remove VoidVal.
There are no undefined constants in IDL.
2014-11-08 18:00:04 +01:00
bors-servo
25e9830938 auto merge of #3925 : mbrubeck/servo/glut-loop, r=pcwalton
This begins porting the Android event loop to work with the inverted flow control from #3761.  Unfortunately, GLUT does not give us enough control over the event loop to really make this work, so this will build but it may not run properly.  Our current plan is to get rid of GLUT and switch to Glutin in the near future.

r? @pcwalton
2014-11-07 22:06:29 -07:00
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
bors-servo
c311ceea8c auto merge of #3935 : evilpie/servo/master, r=Ms2ger 2014-11-07 07:30:31 -07:00
Tom Schuster
96e42feaa1 Implement the whole Attr interface 2014-11-07 14:36:57 +01:00
Guillaume Bort
8e2abb6ffc Close #84
Actually <img> elements in <noscript> are not prefetched anymore.

Probably because html5ever already parses the <noscript> content as raw
text data if `scripting_enabled` is activated.

See
https://github.com/servo/html5ever/blob/servo/src/tree_builder/rules.rs#
L126

Also, added a test to the images cache.
2014-11-07 13:43:19 +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
23b75816a2 auto merge of #3930 : fabricedesre/servo/issue3804, r=jdm 2014-11-07 01:24:28 -07:00
Fabrice Desré
8eb4844174 Issue #3804 : Allow enabling debug-mozjs from servobuild config 2014-11-06 22:47:02 -08:00
bors-servo
bb7621f5dc auto merge of #3929 : jdm/servo/finish, r=larsbergstrom 2014-11-06 22:51:29 -07:00
Josh Matthews
711f4d5af9 Make content tests synchronous by default. Fixes #884. 2014-11-06 21:48:43 -08: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
Matt Brubeck
b85adf8b35 Build fixes for Android windowing code
This begins porting the Android event loop to work with the inverted flow
control from #3761.  Unfortunately, GLUT does not give us enough control over
the event loop to really make this work, so this will build but it may not run
properly.  Our current plan is to get rid of GLUT and switch to Glutin in the
near future.

r? @pcwalton
2014-11-06 17:11:40 -08:00
Mukilan Thiyagarajan
504fdbfac4 Disable status-error.htm and status-async.htm due to #3596 2014-11-07 06:27:15 +05:30
bors-servo
f775f12fe9 auto merge of #3886 : glennw/servo/mq, r=SimonSapin 2014-11-06 17:24:28 -07:00
Glenn Watson
a48c780d22 Fix unit tests for media queries. 2014-11-06 15:53:37 -08:00
Glenn Watson
b278fc2284 Short circuit media queries test if stylist is already dirty. 2014-11-06 14:42:55 -08:00
bors-servo
fa7596015a auto merge of #3922 : glennw/servo/update-cargo, r=mbrubeck 2014-11-06 15:36:29 -07:00
Glenn Watson
475709d1a4 Update cargo to get fix for pinned dependencies of features. 2014-11-06 14:16:34 -08:00
bors-servo
cf0455a4ca auto merge of #3916 : mbrubeck/servo/disable-xhtml, r=Ms2ger
r? @Ms2ger
2014-11-06 14:15:30 -07:00
bors-servo
46154fb7ac auto merge of #3884 : brunoabinader/servo/dataset, r=jdm
This is a sub-task for #2974.
2014-11-06 12:36:30 -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