Граф коммитов

5217 Коммитов

Автор SHA1 Сообщение Дата
Ms2ger fc071d28f4 servo: Merge #8533 - Remove the `legacy` module (from Ms2ger:legacy); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: b6f519cd0a9bdec909dcc5498f36f33e05f1115a
2015-11-15 18:44:13 +05:01
Roman Klauke 294367db3f servo: Merge #8527 - Replace Atom::from_slice("sizes") with atom!("sizes") (from romankl:atom-slices); r=Ms2ger
This PR replaces all occurrences of Atom::from_slice("sizes") with atom!("sizes"). It also updates string_cache to v0.1.17 from 0.1.16.

Right now I've split the crate update and the replace in different commits - should I squash them?

Fixes #8488.

Source-Repo: https://github.com/servo/servo
Source-Revision: c722e0e6f4de9de1b22ca6a8fa58ec5f49caa729
2015-11-15 17:57:33 +05:01
Corey Farwell 933234be87 servo: Merge #8526 - Fix parse_length 0 values, implement <hr> 'width' (from frewsxcv:parse-length); r=eefriedman
Follow-up to https://github.com/servo/servo/issues/8424

Source-Repo: https://github.com/servo/servo
Source-Revision: 3ef0a9a79dffcde41cdd6081ef79a0f0593b5104
2015-11-15 03:01:46 +05:01
Ms2ger 6abb894296 servo: Merge #8529 - Remove unused lifetime parameters from LayoutTask methods (from Ms2ger:unused-lifetime); r=eefriedman
Source-Repo: https://github.com/servo/servo
Source-Revision: 33c97b2ebbd7b77177b3e3874dc91dc487e64bad
2015-11-15 01:03:35 +05:01
Michael Howell 2591ecef99 servo: Merge #8524 - Draw layers that are under sub-displaylists (from notriddle:paint_task_deep); r=jdm
Fixes #8325

Source-Repo: https://github.com/servo/servo
Source-Revision: 8f2a3a64f141f175e417e240766f9d7f06be0482
2015-11-14 21:57:22 +05:01
Paul Rouget 1afe4ec030 servo: Merge #8449 - mozbrowsericonchange event (Browser API) (from paulrouget:favicon); r=jdm
fixes #8347

Source-Repo: https://github.com/servo/servo
Source-Revision: 7f076c628bffa9d95dca61e003adb9ab3ab0a316
2015-11-14 19:25:03 +05:01
Ravi Shankar 463343d888 servo: Merge #8523 - Listen for cancellation message during loads and redirects (from Wafflespeanut:redirects); r=jdm
fixes #8495

Source-Repo: https://github.com/servo/servo
Source-Revision: bda46179b6d349eae1b88e2b08a065905236e02d
2015-11-14 18:56:33 +05:01
Greg Guthe c64559414c servo: Merge #7242 - Perf timing dom props (from g-k:perf-timing-dom-props); r=jdm
I think this is closer to what https://github.com/servo/servo/issues/7045 describes, but it panics trying to load a page (trace: https://gist.github.com/g-k/a9911467889cdb6fdbf9) and all reftests fail.

Source-Repo: https://github.com/servo/servo
Source-Revision: 7de8b0a7ff2038f9fb643141d8759f40fb6ef093
2015-11-14 10:57:23 +05:01
Simon Sapin d453427bd5 servo: Merge #8520 - Very hackish support for `./mach run --android` (from servo:android-run); r=larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: 27e104aa1a62978bf2dd8b6a65963a2466af936a
2015-11-14 02:03:53 +05:01
Simon Sapin 88bf9b483b servo: Merge #8518 - Silence the "Nothing to be done for 'all'." message (from servo:shhhhh-make); r=larsbergstrom
r? @larsbergstrom

Source-Repo: https://github.com/servo/servo
Source-Revision: 8c3d2235287767180180290622f9f259e821330c
2015-11-14 01:23:04 +05:01
Ralph Giles 9d928cd034 servo: Merge #8517 - Use the correct .png extension for the image placeholder (from rillian:rippy); r=larsbergstrom
This was changed to the mozilla broken image resource
without changing the filename, even though the file
type changed.

Source-Repo: https://github.com/servo/servo
Source-Revision: 3f1b62d7d88d4ea83407ba45294142f4b4f0fe7c

--HG--
rename : servo/resources/rippy.jpg => servo/resources/rippy.png
2015-11-14 00:49:08 +05:01
Ms2ger 39257ad287 servo: Merge #8515 - Update string_cache_shared (from servo:usc); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 4f855dc63a0b6cc80737972ab3f79953321a900b
2015-11-13 22:31:33 +05:01
Josh Matthews 72932e81ea servo: Merge #6935 - Make SSL cert verification errors work again. Add a horrible, no-good… (from jdm:sslverify); r=Manishearth
…, very bad regression test.

Here are the list of awful things this test exploits:
- Servo can't load HTTPS content in WPT tests (#6919)
- Our web workers don't report error events to the parent worker object after the initial network load completes
- Our worker resource load don't have a same-origin check

The good news is that this test should start failing if any of those "features" change, so this should not silently break on us.

Other attempts to test this included:
- iframes (didn't work because of #6672 and #3939)
- XMLHttpRequest (I was hit by CORS, I think; maybe I could have made it work if I returned the right headers)

r? @Ms2ger

Source-Repo: https://github.com/servo/servo
Source-Revision: 0735cec3513f86d78dc2f1de58304b4ec5e85629
2015-11-13 21:31:57 +05:01
Ms2ger 80eca7adcc servo: Merge #8510 - Update mozjs (from servo:mozjs); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 50be4bb09ea42926a3bddb75a024e92a75e2047e
2015-11-13 19:20:35 +05:01
Corey Farwell 2388791ec0 servo: Merge #8505 - Implement 'bgcolor' IDL attribute for 'HTMLTableCellElement' (from frewsxcv:html-table-cell-element-bgcolor-idl-attribute); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: f078f8fdf4157b4e57cef35eba00419c9c15464d
2015-11-13 14:38:53 +05:01
Keith Yeung 25a8fb9779 servo: Merge #8478 - Split chan and receiver_port into script and compositor flavors (from KiChjang:constellation-two-receivers); r=Ms2ger
Partial #8356. Currently this doesn't build because of a lint denying me to user unsafe code, which unfortunately the select! macro falls under. Not sure what to do there.

Source-Repo: https://github.com/servo/servo
Source-Revision: 231bf425f26a1c2aa993e3adfed1e3cfae0da027
2015-11-13 14:06:08 +05:01
Corey Farwell 0fcc30f78d servo: Merge #8504 - Prefer atoms over strs for string comparisons (from frewsxcv:more-atoms); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 1763a37e3be8be46dc86bf4bf76bcd7c892566da
2015-11-13 10:27:13 +05:01
Corey Farwell a9fadcc121 servo: Merge #8500 - Consolidate 'subpage finding' script_task logic (from frewsxcv:subpage); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: ef74bf5d42e80f9420a197dbe3d7da609ba158b0
2015-11-13 08:23:18 +05:01
Michael Howell 6310520c6e servo: Merge #8493 - Clean up use of Option in `font_cache_task` (from notriddle:fct_cleanup); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 118fbd6120fdcbec04858ecddb3ac8be882f4da1
2015-11-13 07:35:50 +05:01
Alan Jeffrey f8093754b7 servo: Merge #8477 - Opaque DOMString (from asajeffrey:opaque-domstring); r=asajeffrey
This patch makes DOMString an opaque wrapper round String (currently it's a transparent wrapper).

The changes are:

* Replacing DOMString(foo) by DOMString::from(foo).
* Replacing foo.0 by String::from(foo).
* Adding functions clear, push_str and extend for in-place mutation of DOMStrings.
* Replacing DOMString by String in other threads (devtools, storage and filereader).
* Making DOMString implement !Send.
* Removing the pub attribute from the contents of DOMString.

This enables experimenting with other string representations in the DOM.

Source-Repo: https://github.com/servo/servo
Source-Revision: 62acdd303b78951885c2c90747b31f318907d6c9
2015-11-13 06:48:30 +05:01
Anthony Ramine 628d175690 servo: Merge #8147 - Implement weak-referenceable JS-managed objects (from nox:weakref); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: e63b1e83d4acd272cdf293292f2a496455405098
2015-11-13 05:53:40 +05:01
Patrick Walton 2d74e05b04 servo: Merge #8492 - script: Make timer events e10s-safe (from jdm:e10s-timer-events); r=jdm
Closes #8235.

Source-Repo: https://github.com/servo/servo
Source-Revision: 9eaa8e7b1f2e462f62b73477c30183c836a18399
2015-11-13 04:50:48 +05:01
Corey Farwell c0540eac8c servo: Merge #8479 - Implement Default trait for DOMString (from frewsxcv:domstring-default); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 1720595a85ff0a593994fed1d086288746c56aa3
2015-11-13 04:22:32 +05:01
Anthony Ramine a0a6e0cd40 servo: Merge #8498 - Properly handle variadic arguments preceded by default values (from nox:fix-variadic-and-default-arguments); r=jdm
I broke that in #8197.

Source-Repo: https://github.com/servo/servo
Source-Revision: c44c73aa00ced6235266bd692833e22018f31138
2015-11-13 03:53:11 +05:01
Josh Matthews e29664aa5b servo: Merge #8430 - Invoke specialized callback behaviour for OnErrorEventHandler (from jdm:errorhandler); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: fafc280179ddafab878dd261121cee17ba3b921c
2015-11-13 03:25:00 +05:01
Hayden Faulds 6635d2416a servo: Merge #8485 - Make layout task fields private (from hfaulds:make-layout-task-fields-private); r=Ms2ger
For https://github.com/servo/servo/issues/8471

The second commit I'm slightly less sure about but with `chan` made private this warning was shown:

```
components/layout/layout_task.rs:152:5: 152:21 warning: struct field is never used: `chan`, #[warn(dead_code)] on by default
```

There might be some cleanup around `layout_chan` in https://github.com/hfaulds/servo/blob/make-layout-task-fields-private/components/layout/layout_task.rs#L244-L261 as well but that was a bit beyond me.

Source-Repo: https://github.com/servo/servo
Source-Revision: 1e10b67b1806a481d3080d243e5d64022cee51a0
2015-11-13 01:57:12 +05:01
Ms2ger 3890fca29d servo: Merge #8428 - Update js (from Ms2ger:conversions); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: b40882093a306032d38ad02e30f0095e0a49ec21
2015-11-13 00:44:52 +05:01
João Oliveira 61a9b441d7 servo: Merge #7646 - Write unit tests for cookie isolation (from jxs:master); r=jdm
closes #7624

Source-Repo: https://github.com/servo/servo
Source-Revision: e394c0d85968677216da0ab923761b21cbe029a7
2015-11-12 19:51:32 +05:01
Ravi Shankar 5145b0d710 servo: Merge #7844 - Cancelable network requests! (from Wafflespeanut:requests); r=jdm
fixes #4974

Source-Repo: https://github.com/servo/servo
Source-Revision: 4848e37e2e0da2f83b1d7f0d231d59047012ff95
2015-11-12 18:30:58 +05:01
Corey Farwell 07c25686cc servo: Merge #8481 - Simplify IterablePage::find (from frewsxcv:iterablepage-iter); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 743ca24819490c24ab3cf713fc9fdcd0f58957e0
2015-11-12 18:00:12 +05:01
Corey Farwell fd57f51844 servo: Merge #8482 - Remove unnecessary '*_mut' methods (from frewsxcv:no-mut); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 448c7fb2e6758ca069104820fd5ac6b94725a1d5
2015-11-12 16:15:09 +05:01
Martin Robinson 6073ac42ae servo: Merge #8376 - Properly make stacking contexts for inlines (from mrobinson:fix-inlines); r=pcwalton
Instead of making a stacking context out of inline fragments parent
flow, make the inline fragment itself the stacking context. This fixes
positioning and rendering of these sort of fragments and prevents
over-layerization.

Fixes #7424.
Fixes #5812.

Source-Repo: https://github.com/servo/servo
Source-Revision: efc31e619d0d4024faafbfecbd01aa4cff523904
2015-11-12 11:57:39 +05:01
Corey Farwell 147b15a6fe servo: Merge #8483 - Cleanup PageIterator::next (from frewsxcv:cleanup-pageiterator-nxt); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: de832efd5d46422394804a93979e4cae8b465698
2015-11-12 10:27:49 +05:01
Corey Farwell 8921bda060 servo: Merge #8476 - Remove unnecessary 'node changed' notification (from frewsxcv:unnecessary-document-notification); r=nox
This same notification already happens in `CharacterData::SetData`

Source-Repo: https://github.com/servo/servo
Source-Revision: 1b20bc90ee8321aaa95e1906321753549ad166e6
2015-11-12 05:04:19 +05:01
benshu dd16b3c251 servo: Merge #8475 - Execute XHR timeout callbacks directly. (Fixes #8468.) (from benschulz:xhr-timeout-ordering2); r=jdm
This is a fix for #8468.

Currently XHR timeouts schedule themselves for execution via `CommonScriptMsg::RunnableMsg`s. This was necessary when these timeouts used a separate thread to schedule themselves. Now it's a potential race that should have been eliminated as part of #8168.

Source-Repo: https://github.com/servo/servo
Source-Revision: 49d48a8680003267f29ebf8cd47c244b07f4c4d2
2015-11-12 04:02:13 +05:01
Emilio Cobos Álvarez 1f31ca57ca servo: Merge #8412 - Add WebIDL sequence return values (from emilio:webidl-sequence-return); r=jdm
And use it for `WebGLRenderingContext::getSupportedExtensions`.
Part of #544

Source-Repo: https://github.com/servo/servo
Source-Revision: 12f6ba29a74029fa8c83cc7274181d441e1e52dd
2015-11-11 22:46:15 +05:01
Corey Farwell 48bd500b83 servo: Merge #8466 - Simplify script::dom::node NodeValue implementations (from frewsxcv:node-value); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 01ff78b438fe905b02735762d696408b4d073e90
2015-11-11 21:14:21 +05:01
Lars Bergstrom 026f33c3d4 servo: Merge #8460 - Disable zipalign until we have stable builder automation to install a… (from larsbergstrom:remove_zipalign); r=Ms2ger
…nd locate it

r? @mbrubeck

The basic problem here is that `zipalign` is in the tools directory on some installs, in build-tools/22.0 on some, build-tools/20.0 on others, etc. I'll need to find a more stable way of locating the tool (even if it's just shelling out to `find` - I almost autoconf!). Disabling use of it for now since it's optional and is currently breaking our nightly builds.

Source-Repo: https://github.com/servo/servo
Source-Revision: 75e01de627376d987cff8bc87b5f23c79e5f36af
2015-11-11 20:45:03 +05:01
Corey Farwell c79a3bc7db servo: Merge #8459 - Simplify iterating over Element attributes (from frewsxcv:namednodemap-iter); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 5e6efd62c1f19408f2d0dd50c48345b4122c0269
2015-11-11 19:50:49 +05:01
Anthony Ramine b98af75b92 servo: Merge #8197 - Support variadic interface arguments (fixes #8159) (from nox:variadic-interface-argument); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: f03a8261c58f650eda789b1f9f5363af6e15f59c
2015-11-11 19:03:26 +05:01
Corey Farwell 25b4a40a5a servo: Merge #8453 - Prefer Atoms over strs for comparison (from frewsxcv:atoms); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: fd5540df626508a57f6698b71d4d8ac8e95fb12e
2015-11-11 06:26:39 +05:01
benshu af0bc728ee servo: Merge #8168 - XHR timeouts use same abstraction as scripts timers. (fixes #3396) (from benschulz:xhr-timeout-ordering); r=jdm
Alright, this is it. Finally the fix for #3396. :D

I'll add two comments via reviewable in a second.

Source-Repo: https://github.com/servo/servo
Source-Revision: df81cd7ce9de4823ad966f873639ed06ca368e4c
2015-11-11 05:39:28 +05:01
Michael Howell 68e9519794 servo: Merge #8256 - Write reflow results, even with no root node (from notriddle:master); r=eefriedman
Fixes #8240

Test in w3c/csswg-test#928.

Source-Repo: https://github.com/servo/servo
Source-Revision: 532f9a053a318fc3022de8bd5cd8b853ff27b37e
2015-11-11 04:20:49 +05:01
Bobby Holley 6c48a45939 servo: Merge #8381 - Implement attribute restyle hints (from bholley:attr_restyle_hints); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: 13226f847234cd0130820338d5a272277780d278
2015-11-11 00:58:45 +05:01
Ms2ger 6af08b4e88 servo: Merge #8451 - Ignore sync directories in test-tidy (from Ms2ger:tidy-sync); r=frewsxcv
Source-Repo: https://github.com/servo/servo
Source-Revision: 6772461002637cf4ae174a1c49d4418487f48cb9
2015-11-10 18:15:20 +05:01
Corey Farwell 2a643f45d9 servo: Merge #8447 - Implement 'width' IDL attribute on <table> (from frewsxcv:htmltableelement-width-idl-attribute); r=eefriedman
Source-Repo: https://github.com/servo/servo
Source-Revision: 81f094b129f4df5f8287eb6613108b673211a546
2015-11-10 12:25:30 +05:01
Rizky Luthfianto 771f03b94e servo: Merge #8444 - refactor(htmlhrelement.rs): color setter now uses macro (from rilut:patch-2); r=frewsxcv
Changed the function in #L44-47 to a macro usage. Fixes #8433.

Source-Repo: https://github.com/servo/servo
Source-Revision: 32a91bc6566ab23318a902392ade7096ccbb9e36
2015-11-10 11:43:25 +05:01
Rizky Luthfianto 37d3d124f4 servo: Merge #8442 - refactor(devtools/lib.rs): Remove unused import (from rilut:patch-1); r=Manishearth
Removed `RecvError` imports from #L57. Fixes #8442.

Source-Repo: https://github.com/servo/servo
Source-Revision: cff917320809acab007918e4597e9257d02004c3
2015-11-10 09:06:53 +05:01
Matt Brubeck ad5c350556 servo: Merge #8440 - Remove unused method from Range (from mbrubeck:range-unused); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 4ec96963f8d0560f032d800ee6d568dbbc87e262
2015-11-10 08:14:59 +05:01
Corey Farwell 75f73136de servo: Merge #8434 - Add Dimension member to AttrValue (from frewsxcv:dimension-attrvalue); r=eefriedman
Fixes #8417

Source-Repo: https://github.com/servo/servo
Source-Revision: cd6813ea3930d0d98cace8bf730286e1802fd280
2015-11-10 07:46:37 +05:01