aboutsummaryrefslogtreecommitdiffstats
path: root/components
Commit message (Collapse)AuthorAgeFilesLines
* Throw an InvalidStateError from WebSocket#send when it is called too early.Ms2ger2015-07-141-1/+5
|
* Auto merge of #6620 - Ms2ger:ws-crash, r=jdmbors-servo2015-07-141-9/+19
|\ | | | | | | | | | | | | | | | | | | Stop panicking while establishing a WebSocket connection. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6620) <!-- Reviewable:end -->
| * Stop panicking while establishing a WebSocket connection.Ms2ger2015-07-141-9/+19
| |
* | Auto merge of #6617 - frewsxcv:fixme-ufcs, r=metajackbors-servo2015-07-142-28/+4
|\ \ | |/ |/| | | | | | | | | | | | | | | Complete FIXMEs related to UFCS <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6617) <!-- Reviewable:end -->
| * Complete FIXMEs related to UFCSCorey Farwell2015-07-142-28/+4
| |
* | Auto merge of #6611 - jdm:websocketorigin, r=jdmbors-servo2015-07-131-1/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Add Origin header to WebSocket connections. Closes #6532. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6611) <!-- Reviewable:end -->
| * | Fix #6379Bogdan Cuza2015-07-131-1/+3
| |/
* | Auto merge of #6588 - Ms2ger:has_children, r=pcwaltonbors-servo2015-07-131-4/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove unused has_children method. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6588) <!-- Reviewable:end -->
| * | Remove unused has_children method.Ms2ger2015-07-101-4/+0
| | |
* | | Auto merge of #6554 - dzbarsky:master, r=Ms2gerbors-servo2015-07-131-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Test namespace prefix for element equality <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6554) <!-- Reviewable:end -->
| * | | Test element prefix for element equalityDavid Zbarsky2015-07-111-1/+1
| | | |
* | | | Unpaired surrogates: Document the -Z flag in the panic message.Simon Sapin2015-07-131-1/+2
| | | |
* | | | Use error! instead of warn! to get console output by default.Simon Sapin2015-07-131-1/+1
| | | |
* | | | Add a `-Z replace-surrogates` command-line option.Simon Sapin2015-07-133-2/+36
| |_|/ |/| | | | | | | | See #6564.
* | | Replace WebSocketTask::Open by ConnectionEstablished.Ms2ger2015-07-131-14/+22
| | |
* | | Remove some dead code from WebSockets.Ms2ger2015-07-131-8/+0
| | |
* | | Return the parsed URL from WebSocket#url.Ms2ger2015-07-131-10/+10
| | |
* | | Use atoms for font template structures.Glenn Watson2015-07-135-26/+27
| | |
* | | Pass the WorkQueue to LayoutTask::solve_constraints_parallel.Ms2ger2015-07-121-15/+10
| | | | | | | | | | | | | | | This removes the possibility of a panic by checking a constraint at compile time rather than at run time.
* | | Add debug logging to register_named_element and unregister_named_element.Ms2ger2015-07-111-0/+2
| | | | | | | | | | | | I found them helpful; I imagine others might as well.
* | | Auto merge of #6603 - wjh:remove-url-from-page-6589, r=jdmbors-servo2015-07-112-9/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove url field from Page Resolves issue [#6589](https://github.com/servo/servo/issues/6589). <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6603) <!-- Reviewable:end -->
| * | | Remove url field from PageWill Huxtable2015-07-112-9/+2
| | | |
| * | | Revert "Replace surrogates in JS strings with U+FFFD instead of panicking."Ms2ger2015-07-111-3/+1
| | | | | | | | | | | | | | | | This reverts commit 3f07f8e8661e7ebd451af3aef247212708083bc5.
| * | | Replace surrogates in JS strings with U+FFFD instead of panicking.Simon Sapin2015-07-111-1/+3
| |/ / | | | | | | | | | | | | Fix #6519. See #6564.
* / / Implement Window#top.Ms2ger2015-07-112-0/+10
|/ /
* | Auto merge of #6561 - dzbarsky:namespace, r=Ms2gerbors-servo2015-07-102-12/+90
|\ \ | |/ |/| | | | | | | | | | | | | | | Implement Node#isDefaultNamespace and Node#lookupNamespaceURI (fixes #1826) <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6561) <!-- Reviewable:end -->
| * Test element prefix for element equalityDavid Zbarsky2015-07-102-12/+90
| |
* | Remove unused files in 'script/dom/bindings/'Corey Farwell2015-07-1025-1963/+0
| | | | | | | | | | Similar to https://github.com/servo/servo/pull/6581, but I didn't get everything in that pull request
* | Remove tidy blacklist for 'script/dom/bindings/*'Corey Farwell2015-07-097-261/+469
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recently, I found myself reading through the Python codegen scripts that live in 'components/script/dom/bindings/*' and noticed that there were many tidy violations: unnecessary semicolons, weird spacing, unused variables, lack of license headers, etc. Considering these files are now living in our tree and mostly maintained directly by contributors of Servo (as opposed to being from upstream), I feel these files should not be excluded from our normal tidy process. This commit removes the blacklist on these files and fixes all tidy violations. I added these subdirectories to the blacklist because they appear to be maintained upstream somewhere else: * "components/script/dom/bindings/codegen/parser/*", * "components/script/dom/bindings/codegen/ply/*", Also, I added a '# noqa' comment which tells us to ignore the flake8 errors for that line. I chose to ignore this (instead of fixing it) to make the work for this commit simpler for me.
* | Remove unused files in 'script/dom/bindings/'Corey Farwell2015-07-0912-8656/+0
| | | | | | | | | | | | As per this conversation: https://github.com/servo/servo/pull/6580
* | Auto merge of #6574 - Ms2ger:for_node, r=pcwaltonbors-servo2015-07-081-11/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove ReplacedImageFragmentInfo::for_node and unsafe code it required. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6574) <!-- Reviewable:end -->
| * | Remove the manual Send/Sync implementations for Fragment.Ms2ger2015-07-081-5/+0
| | | | | | | | | | | | | | | It was Send already, and ReplacedImageFragmentInfo::for_node was the only member that wasn't Sync.
| * | Remove ReplacedImageFragmentInfo::for_node.Ms2ger2015-07-081-6/+0
| | | | | | | | | | | | It became unused in d8aef7208e5ed9705f551f0bf0e0cd6607ff224f.
* | | Auto merge of #6576 - Ms2ger:scope-unsafe-context, r=pcwaltonbors-servo2015-07-081-1/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduce the scope of the allowed unsafe code in context.rs. Since I made unsafe code opt-in in layout, the unsafe code in this module has been reduced to a single unsafe impl, so there is no reason to allow it in the entire module. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6576) <!-- Reviewable:end -->
| * | | Reduce the scope of the allowed unsafe code in context.rs.Ms2ger2015-07-081-1/+2
| |/ / | | | | | | | | | | | | | | | Since I made unsafe code opt-in in layout, the unsafe code in this module has been reduced to a single unsafe impl, so there is no reason to allow it in the entire module.
* | | Auto merge of #6530 - mrobinson:move-cache, r=pcwaltonbors-servo2015-07-0810-224/+172
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move LayerBuffer cache to the compositor Now that NativeDisplay can be shared between the compositor and the paint task, we can move the LayerBuffer cache to the compositor. This allows surfaces to be potentially reused between different paint tasks and will eventually allow OpenGL contexts to be preserved between instances of GL rasterization. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6530) <!-- Reviewable:end -->
| * | | Move LayerBuffer cache to the compositorMartin Robinson2015-07-0810-224/+172
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that NativeDisplay can be shared between the compositor and the paint task, we can move the LayerBuffer cache to the compositor. This allows surfaces to be potentially reused between different paint tasks and will eventually allow OpenGL contexts to be preserved between instances of GL rasterization.
* | | | Auto merge of #6575 - Ms2ger:script-traits-docs, r=jdmbors-servo2015-07-081-2/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Really require documentation in the script_traits crate. My previous attempt (1303dd6e2e1af39b13b57986f154a67f9e7490e7) was foiled by a typo that made the requirement only apply to the next item. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6575) <!-- Reviewable:end -->
| * | | | Really require documentation in the script_traits crate.Ms2ger2015-07-081-2/+12
| | |/ / | |/| | | | | | | | | | | | | | My previous attempt (1303dd6e2e1af39b13b57986f154a67f9e7490e7) was foiled by a typo that made the requirement only apply to the next item.
* | | | Auto merge of #6573 - Ms2ger:warnings, r=jdmbors-servo2015-07-081-3/+2
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't lose a possible error in <SpecificFragmentInfo as fmt::Debug>::fmt. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6573) <!-- Reviewable:end -->
| * | | | Don't lose a possible error in <SpecificFragmentInfo as fmt::Debug>::fmt.Ms2ger2015-07-081-3/+2
| |/ / /
* / / / Remove the unused unrooted_must_root permission from layout.Ms2ger2015-07-081-1/+0
|/ / /
* | | Auto merge of #6570 - Ms2ger:workqueue-sync, r=pcwaltonbors-servo2015-07-072-3/+12
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Require that WorkQueue's QueueData is Sync rather than Send. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6570) <!-- Reviewable:end -->
| * | | Require that WorkQueue's QueueData is Sync rather than Send.Ms2ger2015-07-072-3/+12
| | | |
* | | | Auto merge of #6492 - pcwalton:even-more-jumpiness, r=mbrubeckbors-servo2015-07-074-6/+30
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | layout: Modify styles for replaced content as appropriate during incremental flow construction. Fixes jumpiness on lots of Web sites. r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6492) <!-- Reviewable:end -->
| * | | layout: Make the output of flow tree dumping easier to read when therePatrick Walton2015-07-072-3/+20
| | | | | | | | | | | | | | | | are many fragments.
| * | | gfx: Round out when snapping rects to the nearest pixel.Patrick Walton2015-07-071-1/+6
| | | | | | | | | | | | | | | | Fixes `insert-inline-in-blocks-n-inlines-end-001` in the WPT tests.
| * | | layout: Modify styles for replaced content as appropriate duringPatrick Walton2015-07-071-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | incremental flow construction. Fixes jumpiness on lots of Web sites.
* | | | Auto merge of #6540 - jdm:devtoolsfix, r=glennwbors-servo2015-07-074-47/+81
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make devtools usable once more. This fixes the panic by rebasing #6189, and also makes cached messages appear once more. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6540) <!-- Reviewable:end -->
| * | | Make cached messages appear in FF's devtools.Josh Matthews2015-07-033-42/+66
| | | |