Josh Matthews
43369fa897
Rename create_with_headers to create.
2016-04-15 01:46:04 -04:00
Josh Matthews
a761f2bed4
Remove unused header manipulation facilities.
2016-04-15 01:46:03 -04:00
Josh Matthews
a315f8db9e
Reorganize header manipulation that occurs before sending an HTTP request so we can provide the full set of headers while creating a request.
2016-04-15 01:45:56 -04:00
Josh Matthews
0e1703d747
Convert NetworkHttpRequestFactory.
2016-04-15 01:45:55 -04:00
Josh Matthews
80eaeac9f4
Make headers available when creating an HTTP request via a factory.
2016-04-15 01:45:48 -04:00
Josh Matthews
dc790048ec
Remove unnecessary type annotations.
2016-04-15 01:00:44 -04:00
bors-servo
7faa3ed9cb
Auto merge of #10626 - sliz1:10576, r=KiChjang
...
Use the document base url when resolving iframe URLs
Fixes #10576 .
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10626 )
<!-- Reviewable:end -->
2016-04-15 10:03:51 +05:30
Stephen (Ziyun) Li
52c6fd5b03
Use the document base url when resolving iframe URLs
2016-04-15 00:02:45 -04:00
bors-servo
7bd2381518
Auto merge of #10328 - DDEFISHER:master, r=jdm
...
401 authorization UI then restart request/save successful auth creds
Step 7 of the NCSU student project Implement HTTP authorization UI
> make an authorization UI appear when a 401 HTTP response is received (StatusCode::Unauthorized) - in load in http_loader.rs, right before trying to process an HTTP redirection, use the new tinyfiledialogs library to make two prompts appear (username and password), then restart the request with the new authorization value present applied. If an authorization value was present and the response is successful, add the credentials to the authorization cache.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10328 )
<!-- Reviewable:end -->
2016-04-15 08:01:23 +05:30
Daniel
b0e1f10ba5
401 authorization UI then restart request/save successful auth creds
2016-04-14 21:38:45 -04:00
bors-servo
9896e53094
Auto merge of #10591 - Liamsi:base_url_script_element, r=KiChjang
...
Use the document base url when resolving script URLs
Does this resolve #10578 ?
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10591 )
<!-- Reviewable:end -->
2016-04-15 06:57:36 +05:30
bors-servo
7d7404333d
Auto merge of #10458 - pcwalton:block-formatting-context-margin-collapse, r=mbrubeck
...
layout: Disallow margins from collapsing through block formatting contexts per CSS 2.1 § 8.3.1.
Closes #10449 .
r? @mbrubeck
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10458 )
<!-- Reviewable:end -->
2016-04-15 06:00:28 +05:30
Patrick Walton
f69931552b
layout: Disallow margins from collapsing through block formatting
...
contexts per CSS 2.1 § 8.3.1.
Closes #10449 .
2016-04-14 17:24:26 -07:00
Patrick Walton
a3fd226341
layout: Disallow margins from collapsing through blocks with clearance
...
per CSS 2.1 § 8.3.1.
Fixes the test failure in #10458 .
2016-04-14 17:24:24 -07:00
bors-servo
0c51259e40
Auto merge of #10617 - perlun:extract-build-properties-script-to-py-files, r=bholley
...
Extracted Mako-based code generation invokation to separate .py files.
This breaks out some of the parts on #10586 , that should be easily mergeable (hopefully pretty much a no-brainer really). The idea would be to let you review & merge it first, and then I'll complete the other PR rebase off of this stuff.
@bholley - I did like you suggested and broke it out for `geckolib` as well. The tests should also be running without problems (tested `./mach test-unit` locally).
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10617 )
<!-- Reviewable:end -->
2016-04-15 04:50:47 +05:30
Liamsi
62182f9de9
Use the document base url when resolving script URLs
2016-04-15 00:25:56 +02:00
Per Lundberg
8815bb9594
Extracted Mako compilation to separate .py files.
...
This breaks out some of the parts on #10586 , that should be easily mergeable. The idea would be to let you review & merge it first, and then I'll complete the other PR rebase off of this stuff.
2016-04-14 23:26:04 +03:00
Manish Goregaokar
f02fd6330f
Remove watcher threads; replace with more panic handler goodness
2016-04-15 01:52:33 +05:30
bors-servo
d9ffefe562
Auto merge of #10589 - fitzgen:lock-stdout-when-printing-profile, r=larsbergstrom
...
Take the stdout lock when printing profile data
Acquiring the stdout lock while printing the profile data prevents other
messages printed to stdout from being interleaved with prints from elsewhere.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10589 )
<!-- Reviewable:end -->
2016-04-15 01:03:54 +05:30
Nick Fitzgerald
1997d034fa
Take the stdout lock when printing profile data
...
Acquiring the stdout lock while printing the profile data prevents other
messages printed to stdout from being interleaved with prints from elsewhere.
2016-04-14 12:28:00 -07:00
Patrick Walton
e32455f7b8
layout: Disallow margins from collapsing through blocks that have
...
floated children per CSS 2.1 § 8.3.1.
Fixes the test failure in #10458 .
2016-04-14 11:22:40 -07:00
bors-servo
4807dadf19
Auto merge of #10609 - asajeffrey:add-panic-object-borrows, r=Manishearth
...
Make add_panic_object in thread.rs borrow rather than own the object.
r? @Manishearth
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10609 )
<!-- Reviewable:end -->
2016-04-14 22:59:08 +05:30
bors-servo
e21e5551ec
Auto merge of #10556 - bholley:keyword_setters, r=SimonSapin
...
Automatically generate Gecko style struct setters for most keyword properties
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10556 )
<!-- Reviewable:end -->
2016-04-14 21:58:34 +05:30
Alan Jeffrey
0cca4a9d53
Replace side-effecting unwrap_or_else by if let in constellation.
...
This addresses nox's comments in #10295 .
2016-04-14 10:58:22 -05:00
Josh Matthews
cacbf95de8
Replace instances of infallible unwrap with expect.
2016-04-14 11:30:30 -04:00
Alan Jeffrey
941093d983
Make add_panic_object in thread.rs borrow rather than own the object.
2016-04-14 10:24:20 -05:00
bors-servo
2b910678db
Auto merge of #10587 - asajeffrey:add-failure-panic-message, r=Manishearth
...
Added panic message to failures.
Added the panic message to failures. This is a step towards #10334 , since it gives us access to the panic error message when we fire a `mozbrowsererror` event. The remaining steps are also to record the backtrace, and to report the failure in the event.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10587 )
<!-- Reviewable:end -->
2016-04-14 19:55:17 +05:30
Simon Sapin
6889f37d9e
Remove the url! plugin.
...
In rust-url 1.0 the `Url` struct is going to have private fields, and there
is no way to to create an aribitrary one without going through the parser.
The plugin never had a clear demonstrated performance benefit,
it was made mostly because it was possible and relatively easy at the time.
2016-04-14 15:35:28 +02:00
bors-servo
7845d670d0
Auto merge of #10436 - autrilla:uniform2, r=emilio
...
Added Uniform{2i, 2iv, 2fv, 3f, 3i, 3iv, 3fv}
@emilio r?
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10436 )
<!-- Reviewable:end -->
2016-04-14 17:41:12 +05:30
Bobby Holley
873bd82fff
Stop cascading servo-internal properties in geckolib builds.
2016-04-14 00:13:42 -07:00
Bobby Holley
1bbdadc1ba
Massage some of the newly-added properties to line up with Gecko.
2016-04-13 23:45:58 -07:00
Adrian Utrilla
89c432b2d2
Added remaining uniforms
2016-04-14 07:42:14 +02:00
Stephen (Ziyun) Li
29e268b659
Remove containing_page_pipeline_id
2016-04-14 00:25:28 -04:00
Bobby Holley
8ece21e651
Add support for gecko_constant_prefix kwarg for Keyword.
...
This allows us to auto-generate settings when the gecko naming is slightly
different than the obvious auto-generated thing.
2016-04-13 18:14:55 -07:00
Bobby Holley
c61a04bd82
Add a gecko_ffi_name property on longhands for the cases where Gecko has a weird property name.
...
Long-term it'd be better to just rename the stuff in Gecko, but this is more expedient for now.
2016-04-13 18:14:55 -07:00
Bobby Holley
d8e0d97fd8
Add more annotations to the properties.
2016-04-13 18:14:55 -07:00
bors-servo
84f01d1d7b
Auto merge of #10579 - notriddle:overflow_premature_clip, r=pcwalton
...
Propogate transformed clipping regions to nested flows.
Fixes #10559
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10579 )
<!-- Reviewable:end -->
2016-04-14 03:32:33 +05:30
bors-servo
697300bb16
Auto merge of #10566 - xudifsd:error-result, r=Ms2ger
...
replace Fallible<()> with ErrorResult
Fixes #10541
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10566 )
<!-- Reviewable:end -->
2016-04-14 02:51:48 +05:30
Alan Jeffrey
8c0fa01884
Added panic message to failures.
2016-04-13 16:09:48 -05:00
bors-servo
4f6331953e
Auto merge of #10573 - jdm:xhrintermittent, r=Manishearth
...
Do not support XHR.responseXML in worker globals. Fixes #8931 .
<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10573 )
<!-- Reviewable:end -->
2016-04-14 02:11:26 +05:30
bors-servo
628c54948a
Auto merge of #10489 - timvandermeij:constellation-debug-warn, r=jdm
...
Replace use of `debug!` by `warn!` in `constellation.rs`
Fixes #10483 .
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10489 )
<!-- Reviewable:end -->
2016-04-14 00:50:05 +05:30
Michael Howell
3c2210c5fc
Propogate transformed clipping regions to nested flows.
...
Fixes #10559
2016-04-13 11:50:50 -07:00
bors-servo
66c20b2ced
Auto merge of #10557 - emilio:inline-block-max-width, r=pcwalton
...
layout: Take in account max and min inline size for inline fragments
Improves MDN.
r? @mbrubeck or @pcwalton
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10557 )
<!-- Reviewable:end -->
2016-04-14 00:09:52 +05:30
Tim van der Meij
29e564b1f7
Replace use of debug!
by warn!
in constellation.rs
...
Fixes #10483 .
2016-04-13 20:31:59 +02:00
Josh Matthews
dd5e28e0e6
Do not support XHR.responseXML in worker globals. Fixes #8931 .
2016-04-13 13:56:07 -04:00
bors-servo
d21ff2fa13
Auto merge of #10189 - KiChjang:cors-preflight-fetch, r=jdm
...
Implement CORS preflight fetch
Fixes #10145 .
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10189 )
<!-- Reviewable:end -->
2016-04-13 21:28:25 +05:30
Keith Yeung
e42481d0e7
Implement CORS preflight fetch
2016-04-13 11:28:14 -04:00
bors-servo
d566f1c143
Auto merge of #10565 - saurvs:master, r=Ms2ger
...
Update to byteorder 0.5
Finishes https://github.com/servo/servo/issues/10437 .
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10565 )
<!-- Reviewable:end -->
2016-04-13 20:27:50 +05:30
bors-servo
9053721a32
Auto merge of #10558 - frewsxcv:tr-SectionRowIndex, r=KiChjang
...
Implement `sectionRowIndex` property on `<tr>`.
Fixes https://github.com/servo/servo/issues/10509 .
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10558 )
<!-- Reviewable:end -->
2016-04-13 19:33:26 +05:30
bors-servo
3ad1b9134f
Auto merge of #10512 - KiChjang:base-element-attr, r=Ms2ger
...
Implement HTMLBaseElement attributes
The remaining test failure in `base_multiple.html` looks like there's a problem with the test itself (it does not have a `<base>` tag at all).
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10512 )
<!-- Reviewable:end -->
2016-04-13 18:51:42 +05:30