aboutsummaryrefslogtreecommitdiffstats
path: root/components
Commit message (Collapse)AuthorAgeFilesLines
* Auto merge of #13058 - malisas:malisa-responseAPI, r=Manishearth,jdmbors-servo2016-09-0820-42/+385
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Response API <!-- Please describe your changes on the following line: --> This PR adds the [dom::Response](https://fetch.spec.whatwg.org/#response-class) implementation and addresses #11896. The relevant passing tests` expectations have been updated. In order to allow non-UTF-8-encoded status messages, `net_traits::response::Response`'s `raw_status` field has been changed from type [`Option<RawStatus>`](https://doc.servo.org/hyper/http/struct.RawStatus.html) to type `Option<(u16, Vec<u8>)>`. As a result, a few other files which rely on the `raw_status` field were affected and updated. TODOs: - The `body` and `trailer` methods. Relies on implementation of `ReadableStream` and `Promise`s. - Similarly, replace the dummy constructor `_body: Option<USVString>` argument with `body: ResponseBodyInit`. - Currently, whenever `r's response's header list` or `r's Headers object` are mentioned, I always modify the `headers_reflector` field (of type dom::Headers, or `r's Headers object`) and not the corresponding hyper::Headers list in the net_traits::Response field. A completely accurate interpretation of the spec might consider making both of these lists the same thing via a reference. [Discussion](https://github.com/whatwg/fetch/issues/358) was [had](https://github.com/servo/servo/pull/12884). --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13058) <!-- Reviewable:end -->
| * dom::Response implementationMalisa Smith2016-09-0620-42/+385
| |
* | Auto merge of #13175 - shinglyu:block-margin-patch, r=notriddlebors-servo2016-09-081-0/+21
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move collapse through margin to the top of block flow <!-- Please describe your changes on the following line: --> Based on the spec, a collapse through box should be put on the top edge of the flow. This fixed ~110 reftests --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #12824 (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13175) <!-- Reviewable:end -->
| * | Move collapse through margin to the top of block flowShing Lyu2016-09-061-0/+21
| | |
* | | Auto merge of #13190 - servo:cssparser-up, r=Manishearthbors-servo2016-09-0813-58/+59
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update cssparser <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13190) <!-- Reviewable:end -->
| * | | Handle @namespace rules when parsing them rather than afterwards.Simon Sapin2016-09-081-15/+14
| | | | | | | | | | | | | | | | This will avoid dealing with DOMRefCell when we add it around NamespaceRule.
| * | | Update cssparserSimon Sapin2016-09-0713-43/+45
| | | |
* | | | Update WR/shaders (more AA, VTF mac fix, reftest fixes).Glenn Watson2016-09-081-2/+2
| | | |
* | | | Auto merge of #13186 - andreastt:webdriver-0.14, r=SimonSapin,larsbergbors-servo2016-09-073-13/+15
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update webdriver-rust library to 0.14 <!-- Please describe your changes on the following line: --> This updates the _webdriver-rust_ library to 0.14 and makes the necessary API changes to make it compile with Servo. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because it is a library upgrade <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13186) <!-- Reviewable:end -->
| * | | | webdriver_server: fix api calls to webdriver-rustAndreas Tolfsen2016-09-071-9/+9
| | | | |
| * | | | webdriver_server: update webdriver-rust library to 0.14Andreas Tolfsen2016-09-072-4/+6
| | | | |
* | | | | Implement Reflectable for GlobalRef.Josh Matthews2016-09-072-8/+10
| | | | |
* | | | | Extract mutability out of Reflectable trait.Josh Matthews2016-09-075-6/+24
| | | | |
* | | | | Revert "Update WR (various reftest fixes)."Glenn Watson2016-09-071-2/+2
| |/ / / |/| | | | | | | | | | | This reverts commit 9303bc0726d27686729377296ae2ad7479f0cffe.
* | | | Update WR (various reftest fixes).Glenn Watson2016-09-071-2/+2
| | | |
* | | | Auto merge of #13174 - servo:error-workers, r=noxbors-servo2016-09-065-79/+15
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | Prepare for error reporting in workers. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13174) <!-- Reviewable:end -->
| * | | Remove dead error handling code.Ms2ger2016-09-053-76/+4
| | | |
| * | | Implement report_an_error on GlobalRef.Ms2ger2016-09-052-3/+11
| | | |
* | | | Auto merge of #12875 - dati91:android, r=larsbergstrombors-servo2016-09-062-20/+26
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WebBluetooth Android support <!-- Please describe your changes on the following line: --> Add android support for Webbluetooth. Also adjust to the changed device api. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because there is no test api yet. <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12875) <!-- Reviewable:end -->
| * | | | WebBluetooth Android supportAttila Dusnoki2016-09-062-20/+26
| |/ / /
* | | | Auto merge of #13183 - nox:cleanup-interface, r=Ms2gerbors-servo2016-09-064-214/+215
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up stuff in bindings::interface <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13183) <!-- Reviewable:end -->
| * | | | Fix case of InterfaceObjectClass in codegenAnthony Ramine2016-09-061-2/+2
| | | | |
| * | | | Reorder some stuff in bindings::interfaceAnthony Ramine2016-09-061-101/+101
| | | | |
| * | | | Remove NonNullJSNativeAnthony Ramine2016-09-062-8/+4
| | | | |
| * | | | Move WebIDL constants machinery to bindings::constantAnthony Ramine2016-09-064-67/+77
| | | | |
| * | | | Simplify InterfaceConstructorBehaviorAnthony Ramine2016-09-062-36/+31
| | | | |
* | | | | Auto merge of #13181 - servo:iscallable, r=noxbors-servo2016-09-061-2/+12
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add missing IsCallable checks. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13181) <!-- Reviewable:end -->
| * | | | | Add missing IsCallable checks.Ms2ger2016-09-061-2/+12
| |/ / / /
* | | | | Auto merge of #13178 - glennw:update-wr-clear, r=noxbors-servo2016-09-061-2/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update WR + shaders (dotted border AA, clear fix for empty pages). <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13178) <!-- Reviewable:end -->
| * | | | | Update WR + shaders (dotted border AA, clear fix for empty pages).Glenn Watson2016-09-061-2/+2
| | | | | |
* | | | | | Update Rust to 1.13.0-nightly (91f057de3 2016-09-04)Anthony Ramine2016-09-064-105/+106
| |/ / / / |/| | | |
* | | | | Remove one level of nesting in `Stylist`Simon Sapin2016-09-061-101/+87
| | | | | | | | | | | | | | | | | | | | | | | | | Since #13134, the "normal" and "important" parts of `Stylist` are identical, so we don’t need to store them twice.
* | | | | Rename DeclarationBlock to ApplicableDeclarationBlockSimon Sapin2016-09-068-45/+45
|/ / / / | | | | | | | | | | | | Make it more different from PropertyDeclarationBlock
* | | | Auto merge of #13081 - hsinewu:nodelist-iterable, r=Ms2gerbors-servo2016-09-051-1/+1
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | make nodeList iterable <!-- Please describe your changes on the following line: --> Not sure what to test in the script. Need some advice. o_O --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #13021 (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13081) <!-- Reviewable:end -->
| * | | Make NodeList iterablehsinewu2016-09-051-1/+1
| | | |
* | | | Stop using mem::transmute_copy.Ms2ger2016-09-052-5/+10
| | | |
* | | | Auto merge of #13157 - Manishearth:background-size, r=emiliobors-servo2016-09-042-6/+123
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stylo: support background-size and corner gradients Forgot to fix this in the midst of all other things fixed in #12945 <s>(not yet tested, need to figure out how to test bg-size with gradients)</s> r? @bholley <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13157) <!-- Reviewable:end -->
| * | | | stylo: support corner linear-gradientsManish Goregaokar2016-09-041-4/+26
| | | | |
| * | | | stylo: support background-sizeManish Goregaokar2016-09-042-2/+97
| | | | |
* | | | | Revert "Remove mako.zip"Emilio Cobos Álvarez2016-09-042-0/+1
| | | | | | | | | | | | | | | | | | | | This reverts commit 95e3f8333a116f9bd62fb071d08fcef269697804.
* | | | | Auto merge of #12957 - emilio:stylo-pseudos, r=bholleybors-servo2016-09-031-8/+16
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stylo: Don't calculate restyle damage on text nodes <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors <!-- Either: --> - [x] There are tests for these changes (the Servo-side, that is) <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12957) <!-- Reviewable:end -->
| * | | | | style: Avoid computing and storing change hints for text nodes.Emilio Cobos Álvarez2016-08-221-8/+16
| | | | | |
* | | | | | Update string_cache to 0.2.27Keith Yeung2016-09-031-11/+11
| | | | | |
* | | | | | Auto merge of #12991 - Manishearth:more-arc-safety, r=mystor,emiliobors-servo2016-09-022-9/+10
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add sugar for handling borrowed and owned types Implements the changes outlined in https://github.com/servo/servo/pull/12826#discussion_r75074985 <s>Also gets things ready for the Unique/Borrowed bindings</s> WIP for borrowed and unique in the same PR. Still need to convert all the rest of the gecko types to use the new wrappers. r? @emilio <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/12991) <!-- Reviewable:end -->
| * | | | | | Review fixes and bindings resyncManish Goregaokar2016-09-021-2/+2
| | | | | | |
| * | | | | | Handle RawGeckoElement and friends, add support for types which are used in ↵Manish Goregaokar2016-09-021-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | both maybe-null and non-null forms
| * | | | | | Rename sugar::refptr to sugar::ownershipManish Goregaokar2016-09-021-1/+1
| | | | | | |
| * | | | | | Make Arc helpers into methodsManish Goregaokar2016-09-022-6/+7
| | |_|/ / / | |/| | | |
* | | | | | Auto merge of #13163 - Manishearth:conditional-compilation, r=bholleybors-servo2016-09-0212-231/+276
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use conditional compilation for stylo properties; output unimplemented logs for all properties Till now we were only emitting unimplemented property logs for properties which servo implements but stylo doesn't. This list is getting smaller, and we really should be emitting this for any unexpected property we encounter. I also made it so that longhands which stylo does not implement will not be compiled in stylo builds; instead of what we currently do, which is to parse them and then basically ignore the result. There are still a few exceptions -- we generate stubs for properties that are parts of shorthands because otherwise we'd have to add fiddly conditional compilation to the shorthand code. r? @bholley cc @emilio <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13163) <!-- Reviewable:end -->
| * | | | | | Use conditional compilation for stylo propertiesManish Goregaokar2016-09-0212-231/+276
| |/ / / / /