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

4943 Коммитов

Автор SHA1 Сообщение Дата
Michael Howell 37bfbc973f servo: Merge #7883 - Draw shadows after the background (from notriddle:master); r=pcwalton
Fixes #7872

Source-Repo: https://github.com/servo/servo
Source-Revision: 409fbafe9cdd16a2b5a25f64eae0bc11d6fc9aa1
2015-10-06 22:03:48 -06:00
Martin Robinson 5c7ac8e940 servo: Merge #7879 - Improve layer tree debugging output (from mrobinson:layer-tree-dump); r=glennw
Add an option to dump the layer tree, which activates the previously
unused layer tree debugging code. Also improve the output using the
PrintTree struct.

Previous output:
```
Layer tree:
Layer 7f63b45b2010: RefCell { value: CompositorData { pipeline_id: PipelineId(0), id: 0-FragmentBody, wants_scroll_events: WantsScrollEvents, scroll_policy: Scrollable, requested_epoch: Epoch(4), painted_epoch: Epoch(0), scroll_offset: (Length(0, PhantomData),Length(0, PhantomData)), subpage_info: None } } @ Rect(Length(800, PhantomData)×Length(600, PhantomData) at (Length(0, PhantomData),Length(0, PhantomData))) masks to bounds: true establishes 3D context: true
  Layer 7f63b45b2290: RefCell { value: CompositorData { pipeline_id: PipelineId(0), id: 140065919922672-FragmentBody, wants_scroll_events: DoesntWantScrollEvents, scroll_policy: Scrollable, requested_epoch: Epoch(5), painted_epoch: Epoch(0), scroll_offset: (Length(0, PhantomData),Length(0, PhantomData)), subpage_info: None } } @ Rect(Length(800, PhantomData)×Length(650, PhantomData) at (Length(0, PhantomData),Length(0, PhantomData))) masks to bounds: false establishes 3D context: true
    Layer 7f63b45b3410: RefCell { value: CompositorData { pipeline_id: PipelineId(0), id: 140065919923248-FragmentBody, wants_scroll_events: DoesntWantScrollEvents, scroll_policy: FixedPosition, requested_epoch: Epoch(5), painted_epoch: Epoch(0), scroll_offset: (Length(0, PhantomData),Length(0, PhantomData)), subpage_info: None } } @ Rect(Length(50, PhantomData)×Length(50, PhantomData) at (Length(18, PhantomData),Length(10, PhantomData))) masks to bounds: false establishes 3D context: false
    Layer 7f63b45b3190: RefCell { value: CompositorData { pipeline_id: PipelineId(0), id: 140065919923872-FragmentBody, wants_scroll_events: DoesntWantScrollEvents, scroll_policy: FixedPosition, requested_epoch: Epoch(5), painted_epoch: Epoch(0), scroll_offset: (Length(0, PhantomData),Length(0, PhantomData)), subpage_info: None } } @ Rect(Length(50, PhantomData)×Length(50, PhantomData) at (Length(93, PhantomData),Length(10, PhantomData))) masks to bounds: false establishes 3D context: false
    Layer 7f63b45b2f10: RefCell { value: CompositorData { pipeline_id: PipelineId(0), id: 140065919924496-FragmentBody, wants_scroll_events: DoesntWantScrollEvents, scroll_policy: Scrollable, requested_epoch: Epoch(5), painted_epoch: Epoch(0), scroll_offset: (Length(0, PhantomData),Length(0, PhantomData)), subpage_info: Some((PipelineId(0), SubpageId(0))) } } @ Rect(Length(50, PhantomData)×Length(50, PhantomData) at (Length(168, PhantomData),Length(10, PhantomData))) masks to bounds: false establishes 3D context: false
      Layer 7f63b45b3b90: RefCell { value: CompositorData { pipeline_id: PipelineId(1), id: 0-FragmentBody, wants_scroll_events: WantsScrollEvents, scroll_policy: Scrollable, requested_epoch: Epoch(3), painted_epoch: Epoch(0), scroll_offset: (Length(0, PhantomData),Length(0, PhantomData)), subpage_info: Some((PipelineId(0), SubpageId(0))) } } @ Rect(Length(50, PhantomData)×Length(50, PhantomData) at (Length(0, PhantomData),Length(0, PhantomData))) masks to bounds: true establishes 3D context: true
        Layer 7f63b45b3e10: RefCell { value: CompositorData { pipeline_id: PipelineId(1), id: 140065901048256-FragmentBody, wants_scroll_events: DoesntWantScrollEvents, scroll_policy: Scrollable, requested_epoch: Epoch(4), painted_epoch: Epoch(0), scroll_offset: (Length(0, PhantomData),Length(0, PhantomData)), subpage_info: None } } @ Rect(Length(50, PhantomData)×Length(58, PhantomData) at (Length(0, PhantomData),Length(0, PhantomData))) masks to bounds: false establishes 3D context: true
    Layer 7f63b45b2c90: RefCell { value: CompositorData { pipeline_id: PipelineId(0), id: 140065919925168-FragmentBody, wants_scroll_events: DoesntWantScrollEvents, scroll_policy: Scrollable, requested_epoch: Epoch(5), painted_epoch: Epoch(0), scroll_offset: (Length(0, PhantomData),Length(0, PhantomData)), subpage_info: Some((PipelineId(0), SubpageId(1))) } } @ Rect(Length(50, PhantomData)×Length(50, PhantomData) at (Length(243, PhantomData),Length(10, PhantomData))) masks to bounds: false establishes 3D context: false
      Layer 7f63b45b2790: RefCell { value: CompositorData { pipeline_id: PipelineId(2), id: 0-FragmentBody, wants_scroll_events: WantsScrollEvents, scroll_policy: Scrollable, requested_epoch: Epoch(3), painted_epoch: Epoch(0), scroll_offset: (Length(0, PhantomData),Length(0, PhantomData)), subpage_info: Some((PipelineId(0), SubpageId(1))) } } @ Rect(Length(50, PhantomData)×Length(50, PhantomData) at (Length(0, PhantomData),Length(0, PhantomData))) masks to bounds: true establishes 3D context: true
        Layer 7f63b45b2510: RefCell { value: CompositorData { pipeline_id: PipelineId(2), id: 140065880076736-FragmentBody, wants_scroll_events: DoesntWantScrollEvents, scroll_policy: Scrollable, requested_epoch: Epoch(5), painted_epoch: Epoch(4), scroll_offset: (Length(0, PhantomData),Length(0, PhantomData)), subpage_info: None } } @ Rect(Length(50, PhantomData)×Length(58, PhantomData) at (Length(0, PhantomData),Length(0, PhantomData))) masks to bounds: false establishes 3D context: true
    Layer 7f63b45b3910: RefCell { value: CompositorData { pipeline_id: PipelineId(0), id: 140065919925168-FragmentBody-companion, wants_scroll_events: DoesntWantScrollEvents, scroll_policy: Scrollable, requested_epoch: Epoch(5), painted_epoch: Epoch(0), scroll_offset: (Length(0, PhantomData),Length(0, PhantomData)), subpage_info: None } } @ Rect(Length(800, PhantomData)×Length(650, PhantomData) at (Length(0, PhantomData),Length(0, PhantomData))) masks to bounds: false establishes 3D context: false
    Layer 7f63b45b2a10: RefCell { value: CompositorData { pipeline_id: PipelineId(0), id: 140065919924064-FragmentBody, wants_scroll_events: DoesntWantScrollEvents, scroll_policy: Scrollable, requested_epoch: Epoch(5), painted_epoch: Epoch(0), scroll_offset: (Length(0, PhantomData),Length(0, PhantomData)), subpage_info: None } } @ Rect(Length(50, PhantomData)×Length(50, PhantomData) at (Length(103, PhantomData),Length(30, PhantomData))) masks to bounds: false establishes 3D context: false
    Layer 7f63b45b3690: RefCell { value: CompositorData { pipeline_id: PipelineId(0), id: 140065919924064-FragmentBody-companion, wants_scroll_events: DoesntWantScrollEvents, scroll_policy: Scrollable, requested_epoch: Epoch(5), painted_epoch: Epoch(0), scroll_offset: (Length(0, PhantomData),Length(0, PhantomData)), subpage_info: None } } @ Rect(Length(800, PhantomData)×Length(650, PhantomData) at (Length(0, PhantomData),Length(0, PhantomData))) masks to bounds: false establishes 3D context: false
```

New output:
```
┌ Layer tree
│  ├─ Root Layer (pipeline=0) (0-FragmentBody) (800,600 at 0,0) (masks children) (3D context)
│  │  ├─ Layer (140279059771888-FragmentBody) (800,650 at 0,0) (3D context)
│  │  │  ├─ Layer (140279059772464-FragmentBody) (50,50 at 18,10) (fixed)
│  │  │  ├─ Layer (140279059773088-FragmentBody) (50,50 at 93,10) (fixed)
│  │  │  ├─ Layer (140279059773712-FragmentBody) (50,50 at 168,10)
│  │  │  │  ├─ Root Layer (pipeline=1) (0-FragmentBody) (50,50 at 0,0) (masks children) (3D context)
│  │  │  │  │  └─ Layer (140278833279472-FragmentBody) (50,58 at 0,0) (3D context)
│  │  │  ├─ Layer (140279059774384-FragmentBody) (50,50 at 243,10)
│  │  │  │  ├─ Root Layer (pipeline=2) (0-FragmentBody) (50,50 at 0,0) (masks children) (3D context)
│  │  │  │  │  └─ Layer (140279013634496-FragmentBody) (50,58 at 0,0) (3D context)
│  │  │  ├─ Layer (140279059774384-FragmentBody-companion) (800,650 at 0,0)
│  │  │  ├─ Layer (140279059773280-FragmentBody) (50,50 at 103,30)
│  │  │  └─ Layer (140279059773280-FragmentBody-companion) (800,650 at 0,0)
```

Source-Repo: https://github.com/servo/servo
Source-Revision: 507beda4c71bd6769c912eff14bb479be3dec005
2015-10-06 17:20:50 -06:00
Patrick Walton 791f7a5b16 servo: Merge #7896 - layout: Add a field in the display list for simple border radii on box shadows (from pcwalton:box-shadow-border-radii); r=mbrubeck
Only supported in WebRender (with my upcoming PR) for now.

r? @mbrubeck

Source-Repo: https://github.com/servo/servo
Source-Revision: 5eb1c04e7854d932c0d63f9e5ed4d54ee43deb9b
2015-10-06 15:46:56 -06:00
vectorijk 35670c2eb3 servo: Merge #7889 - Fix #7855 Implement port blocking For WebSocket connection algorithm (from vectorijk:port-blocking-7855); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: e4b02cc981ed095c2cf3816d26ad32353357e64e
2015-10-06 14:07:08 -06:00
Ms2ger 68146bd034 servo: Merge #7893 - Cleanup handle_take_screenshot (from Ms2ger:img-webdriver); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: e64ed839b68504a659378637ff34ca118e6dc3a8
2015-10-06 12:41:05 -06:00
Manish Goregaokar 484e56a8a6 servo: Merge #7884 - Update openssl and re-enable the resource task tests (from Manishearth:fx-openssl); r=Ms2ger
https://github.com/sfackler/rust-openssl/issues/281 landed

r? @larsbergstrom

Source-Repo: https://github.com/servo/servo
Source-Revision: 5730a8bdd137006bbbf8f33bcc3b8828c70d3a73
2015-10-06 10:43:41 -06:00
Ms2ger 8c45f9d5c5 servo: Merge #7827 - Check for font_variant equality in LayoutFontGroupCacheKey::eq (from Ms2ger:jumpy-variant); r=pcwalton
This fixes an issue whereby normal text would intermittently be rendered as
small-caps and vice versa.

Source-Repo: https://github.com/servo/servo
Source-Revision: c0b397db77b87f02d1742efd71f526ba6e89197b
2015-10-06 10:03:24 -06:00
Anthony Urena 1481b17cee servo: Merge #7882 - Refactor Error enum usage to consistently be qualified (from anthgur:consistent-enum-use); r=Ms2ger
Closes #7869

Source-Repo: https://github.com/servo/servo
Source-Revision: f5cd90805ec67fb52f73ec4cef9cef881a67522d
2015-10-06 04:58:17 -06:00
Ms2ger 184530c297 servo: Merge #7874 - Define the parsed attribute getters for HTMLTableCellElement on LayoutJS (from Ms2ger:layoutjs-tdth); r=jdm
This documents their intended usage and prevents script callers from using
them.

Source-Repo: https://github.com/servo/servo
Source-Revision: 50db64a20ec8a5dac6e98c4ab654ab0ceb5f8e82
2015-10-06 01:57:05 -06:00
Glenn Watson 5130b51a6c servo: Merge #7807 - Make it possible for iframes to create their own pipeline ID (from glennw:pid); r=jdm
This doesn't change any functionality, but it's the first step towards removing SubpageId.

Adding this change now will allow us to gradually change over code referencing subpage id rather than in one massive PR.

Introduces a namespace for pipeline ID generation - there is a namespace for the constellation thread, and one per script thread.

Source-Repo: https://github.com/servo/servo
Source-Revision: 098bdb5f22500a6e856b085a1140090f63ef8645
2015-10-06 01:08:32 -06:00
Martin Robinson 7845aaf33f servo: Merge #7822 - Rework how StackingContexts are dynamically added to layers (from mrobinson:layer-info); r=pcwalton
StackingContexts are added to layers when it is necessary to maintain
their ordering on top of other layered StackingContexts. Instead of
tracking the information about a layer scattered around into different
structs, combine it all into LayerInfo. LayerInfo will be used in the
future to hold layer information for DisplayItems that are layerized
independently of StackingContexts.

Source-Repo: https://github.com/servo/servo
Source-Revision: 27d468b6674b81c396aa0a13d8fe9eb410c12d6e
2015-10-05 23:05:21 -06:00
Roman Klauke 78f3bda91c servo: Merge #7880 - remove data field from websockets (from romankl:websockets-data-field); r=jdm
The data field is currently not used (no reads/ writes). This commit
removes this temp. field.

Ref.-Issue: #7859

Source-Repo: https://github.com/servo/servo
Source-Revision: 94816bb3b42e50127db56e64086843b14614ca88
2015-10-05 13:26:30 -06:00
Michael Howell 9ee62de46d servo: Merge #7834 - Create a pseudo-stacking context for positioned floats (from notriddle:float-stacking); r=pcwalton
Fixes #7828

That was surprisingly easy...

Source-Repo: https://github.com/servo/servo
Source-Revision: 297184c6e06631a753432d9709845ec8e99b59fd
2015-10-05 12:30:10 -06:00
Lars Bergstrom 8f1cc7b90f servo: Merge #7837 - Rust upgrade to nightly 20151002 (from larsbergstrom:rustup_20151002); r=Manishearth
r? @Manishearth

Source-Repo: https://github.com/servo/servo
Source-Revision: 375382a2e813ee28405f6cec439330e238c4d2e5
2015-10-05 10:23:44 -06:00
Ms2ger 756d938c9f servo: Merge #7866 - Update caseless (from Ms2ger:caseless); r=nox
This picks up a fix for a warning that will become an error in the future.

Source-Repo: https://github.com/servo/servo
Source-Revision: c775068be477a2ee58ac61b5e405f0b9089c5f74
2015-10-05 09:35:44 -06:00
Ms2ger 5fe9597452 servo: Merge #7867 - Move some methods from RawLayoutElementHelpers to LayoutElementHelpers (from Ms2ger:layoutjs); r=nox
This is part of a long-term plan to ensure layout never has access to
unwrapped pointers to DOM objects. The remaining methods on the
RawLayoutElementHelpers trait are harder to move, because of the lifetimes in
their signatures.

Source-Repo: https://github.com/servo/servo
Source-Revision: a350b215cc3e943985a66f1485c7eac7f4b9832e
2015-10-05 08:19:21 -06:00
Anthony Ramine c2667cecbc servo: Merge #7735 - Don't generate useless InheritTypes interfaces (from nox:rm-useless-casts); r=Ms2ger
Interfaces with no descendant need neither a Base trait nor upcast functions, and interfaces with no ancestors neither a Derived trait nor downcast functions.

Source-Repo: https://github.com/servo/servo
Source-Revision: 243647d15a48b2b7008657d321dead9912347d03
2015-10-05 06:09:56 -06:00
Matt Brubeck 90a8e44bac servo: Merge #7817 - Remove unused PostorderDomTraversal::should_prune (from mbrubeck:prune); r=nox
r? @pcwalton

Source-Repo: https://github.com/servo/servo
Source-Revision: e616f4a74c0475cc0f8b33f46b724eb0e6b41b5a
2015-10-05 05:23:20 -06:00
Corey Farwell 46012933bf servo: Merge #7683 - Implement `size` attribute for <font> element (from frewsxcv:html-font-element-size-attr); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 7debfd1f4c30a018f46caa1e6bffa165e1ef7515
2015-10-05 02:33:02 -06:00
Josh Matthews 19cffaa15a servo: Merge #7847 - Style <select multiple> appropriately (from jdm:selectstyling); r=Manishearth
<img width="216" alt="screen shot 2015-10-04 at 2 33 36 pm" src="https://cloud.githubusercontent.com/assets/27658/10269411/ec1b5bce-6aa4-11e5-8ce8-0f22425ea3d4.png">

Source-Repo: https://github.com/servo/servo
Source-Revision: 460f067b9da42cf7663f22428547b81f43ea60c1
2015-10-04 12:49:26 -06:00
Corey Farwell 1b6a5c0fb8 servo: Merge #7750 - HTMLTableSectionElement improvements (from frewsxcv:html-table-section-element-rows); r=nox
'thead' and 'tfoot' now create instances of HTMLTableSectionElement

HTMLTableSectionElement.rows has been implemented

Source-Repo: https://github.com/servo/servo
Source-Revision: 9eb0effaf674da0f24eb5e0ae8e290c9648598de
2015-10-04 11:57:10 -06:00
Mathieu Rheaume dca8c1e942 servo: Merge #7693 - Implement Storage::SupportedPropertyNames (from ddrmanxbxfr:StorageSupportedAttributes); r=jdm
Hi guys,

This is a rough draft for issue #7670 .

It includes :
   - SupportedPropertyNames implementation
   - WPT with Object.supportedpropertynames with Local Storage and Session Storage.

The following link help me understood the issue :
http://www.w3.org/TR/webstorage/#the-storage-interface
https://html.spec.whatwg.org/multipage/infrastructure.html#supported-property-names

Thanks for looking into it.

Source-Repo: https://github.com/servo/servo
Source-Revision: 02da3a1e34b14a895e2f05d25d40edea171aff99
2015-10-04 11:12:37 -06:00
minimus 6cbdf9ce34 servo: Merge #7836 - interpret empty data URI as plain text (from 6112:master); r=mbrubeck
Fixes #7803. As @eefriedman pointed out, RFC 2397 says:

> If &lt;mediatype&gt; is omitted, it defaults to text/plain;charset=US-ASCII.  As a shorthand, "text/plain" can be omitted but the charset parameter supplied.

Source-Repo: https://github.com/servo/servo
Source-Revision: f30f40b12d2910f52e2274659e3762d9cd991649
2015-10-03 12:23:57 -06:00
Matt Brubeck 6563c5cbc2 servo: Merge #7838 - Upgrade to latest mach from mozilla-central (from mbrubeck:mach-up); r=mbrubeck
r? @jgraham

Source-Repo: https://github.com/servo/servo
Source-Revision: e40dd3843f9abb9a8a0908159edfa0c69b90b1ab
2015-10-02 17:01:04 -06:00
Zetok Zalbavar 302e4a055d servo: Merge #7819 - Add Gentoo to README.md (from zetok:readme); r=jdm
I didn't include some dependencies that come "by default" (e.g. bzip2).
Not sure whether there might be some additional deps that I have on my system, but aren't listed.

Source-Repo: https://github.com/servo/servo
Source-Revision: 8f4f172ef66a9804ed26f9361e3c90b2c9c28970
2015-10-02 15:56:31 -06:00
Keith Yeung 4b48d7845e servo: Merge #7777 - Add support for caseless group name matching in HTML input elements (from KiChjang:caseless-group-name-match); r=jdm
Fixes #7749

Source-Repo: https://github.com/servo/servo
Source-Revision: e9842b7db2243ea72d9607c18753025e946788bd
2015-10-02 13:26:05 -06:00
David Zbarsky 9a218a0467 servo: Merge #7823 - Implement HTMLTableRowElement::Cells (from frewsxcv:htmltablerowelement-cells); r=Ms2ger
Extracted from #6936

Source-Repo: https://github.com/servo/servo
Source-Revision: 8865410ffc7998b1c74b5acda24507a07289fd1a
2015-10-02 02:54:55 -06:00
Matt Brubeck 5eef9ab963 servo: Merge #7821 - Incremental layout: Don't try to repair text fragment styles (from mbrubeck:class-damage); r=pcwalton
Fixes #7814. r? @pcwalton

Source-Repo: https://github.com/servo/servo
Source-Revision: 69db83476d02d06658ad084a834abc94f7f008d0
2015-10-02 02:27:31 -06:00
Martin Robinson 5cbcd47d72 servo: Merge #7824 - Make Linux build notifications transient (from mrobinson:transient-notifications); r=glennw
Continuous non-transient notifications, common in workflows involving
many syntax errors, can completely take over the message tray. Making
Linux build notifications transient prevents them from stacking up in
Gnome Shell without having to click them individually.

Source-Repo: https://github.com/servo/servo
Source-Revision: 03f6415eb49656fd1ce8b4de8c8b083e97a4f9d7
2015-10-02 01:51:39 -06:00
Simon Sapin 69153ee9a8 servo: Merge #7813 - Run all unit tests with just one Cargo command (from servo:parallel-unit-tests); r=mbrubeck
Upgrade Cargo to get https://github.com/rust-lang/cargo/pull/1828, and use it for unit tests. This allows Cargo to get some more parallelism when compiling the test crates’ dependencies.

`touch components/util/lib.rs && mach test-unit` on my machine goes from 149 seconds to 124.

Source-Repo: https://github.com/servo/servo
Source-Revision: ba2714f4f607da77bd7200f88cfa16c1d10da9cd
2015-10-01 12:39:10 -06:00
Matt Brubeck b77ed41e82 servo: Merge #7815 - Fixes for reftest command-line handling (from mbrubeck:test-ref-include); r=SimonSapin
r? @SimonSapin

* Allow reftest harness to take 0 or more testname arguments.
* Change `mach test-ref` parameter from `--name` to `--include`. This is consistent with other test suites, and also fixes a bug in `mach test` caused by a conflicting keyword parameter in `Registrar.dispatch`.
* Allow `mach test-ref` to take any number of `include` arguments.

Source-Repo: https://github.com/servo/servo
Source-Revision: 9488013b59e54f9a39cc89362ee6b84f89cc8ed0
2015-10-01 11:29:27 -06:00
Paul Rouget ed09d5da65 servo: Merge #7812 - enable vsync on osx (from paulrouget:vsyncOsx); r=glennw
fixes https://github.com/servo/servo/issues/7783

Source-Repo: https://github.com/servo/servo
Source-Revision: fd66620602474e2070dc6fd6429e64cc6145b01c
2015-10-01 02:08:34 -06:00
Patrick Walton 82da2292ff servo: Merge #7802 - Handle zero-sized source surfaces properly, and upgrade `ipc-channel` to incorporate the fix for zero-sized shmem on Mac (from pcwalton:zero-size-source-surfaces); r=mbrubeck
Depends on servo/rust-azure#201 and pcwalton/ipc-channel#10.

Closes #7422.

r? @mbrubeck (don't r+ until the upstream dependencies have landed)

cc @jdm

Source-Repo: https://github.com/servo/servo
Source-Revision: e2048d57c4c0602c5a6b82db8cb76e6c3e5467fa
2015-10-01 00:08:34 -06:00
James Gilbertson 1cfb1baefb servo: Merge #6185 - Implement <meta name=viewport> handling (from luniv:viewport-meta); r=mbrubeck
Translate <meta name=viewport> as according to [CSS Device Adaption § 9](http://dev.w3.org/csswg/css-device-adapt/#viewport-meta)

Note: as the PR currently stands, handling `<meta name=viewport>` elements always occurs. This is probably not desired for some contexts (e.g. desktop), but I'm unsure of how to conditionally handle elements based on that.

Source-Repo: https://github.com/servo/servo
Source-Revision: a7743052cad0387733c90940fa91733ede32772c
2015-09-30 22:49:41 -06:00
Glenn Watson ad94e13b24 servo: Merge #7811 - Update servo to use published app units crate (from glennw:use-crates-au); r=larsbergstrom
Source-Repo: https://github.com/servo/servo
Source-Revision: 0860be4c28ebaee36a0df4de3510d917b0e08cb7
2015-09-30 22:21:36 -06:00
Glenn Watson e380e3693c servo: Merge #7810 - Prepare app_units crate for publishing (from glennw:publish-au); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 99880bf9570d8a42692a44abefb3767e9bbbf223
2015-09-30 21:53:42 -06:00
Matt Brubeck cb9647d82e servo: Merge #7808 - Start the constellation with the correct pixel ratio (from mbrubeck:headless-dpr); r=mrobinson
This may mitigate race conditions like #7730. r? @mrobinson

Source-Repo: https://github.com/servo/servo
Source-Revision: 9b37de965c9e7b2b906685e2f0ee915f1c901fb5
2015-09-30 20:58:10 -06:00
Nicolas 7124588039 servo: Merge #7809 - Make `./mach test` work with unit tests (from 6112:master); r=frewsxcv
Fixes #7618.

Allows running a specific Rust test with one of:

```
./mach test tests/unit/net/http_loader.rs

./mach test-unit tests/unit/net/http_loader.rs
./mach test-unit tests/unit/net/http_loader
./mach test-unit net/http_loader
```

Allows running a whole package's tests with one of:

```
./mach test tests/unit/net

./mach test-unit tests/unit/net
```

Source-Repo: https://github.com/servo/servo
Source-Revision: 5d04f8dc8e59fea8ef49beb89af26089421ef748
2015-09-30 20:30:26 -06:00
Corey Farwell d70fcd88f5 servo: Merge #7806 - Make util::str::str_join consistent with SliceConcatExt::join (from frewsxcv:consistent-str-join); r=mbrubeck
Prior to this commit, `str_join` would skip empty items at the start of
the `Iterator` until it found a non-empty item. This contradicts
`SliceConcatExt::join` which doesn't skip anything.

Brought up in:

https://github.com/servo/servo/pull/7776#issuecomment-144317281

Source-Repo: https://github.com/servo/servo
Source-Revision: 520c907742afbb94085c6b5e62156a5457530010
2015-09-30 19:34:44 -06:00
Philipp Hartwig 96d1fb1610 servo: Merge #7801 - Refactor FormControl trait (from aopicier:refactor_formcontrol); r=Manishearth
The trait is now implemented for HTMLFooElement instead of
&HTMLFooElement and does no longer require an impl body.

Suggested by @Manishearth

Source-Repo: https://github.com/servo/servo
Source-Revision: 94e85a5226fe5b18bde40a2d5f6727b717bd148f
2015-09-30 19:06:18 -06:00
Martin Robinson 9ebb706414 servo: Merge #7804 - Simplify stacking context creation (from mrobinson:cleanup-stacking-context-creation); r=pcwalton
Have Fragment::create_stacking_context understand which stacking
contexts need layers and which do not. This simplifies the way it is
called and eliminates a bunch of code.

Source-Repo: https://github.com/servo/servo
Source-Revision: bb7742eecf00dd4cb5bfcbafcae36d928a5b8b89
2015-09-30 18:11:29 -06:00
Matt Brubeck 784ada3fce servo: Merge #7799 - Misc. code cleanup in gfx::text::glyph (from mbrubeck:glyph-cleanup); r=pcwalton
Source-Repo: https://github.com/servo/servo
Source-Revision: ac448cacbaa194ba7a41abffeac83e95217d5d81
2015-09-30 17:44:02 -06:00
Matt Brubeck c168e582ca servo: Merge #7805 - Use same default window size in headless and non-headless compositor (from mbrubeck:headless-dpr); r=mrobinson
Attempts to fix #7730. r? @mrobinson

Source-Repo: https://github.com/servo/servo
Source-Revision: 7be4fdb57745a3cc42da6650b8b7b234bf8c93b6
2015-09-30 17:08:18 -06:00
Glenn Watson 40d2827806 servo: Merge #7795 - Split Au type into separate crate, with minimal dependencies (from glennw:app-units-crate); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 35888e5a1d48511ec54ddf8c58f1c7b0c47c5d3c
2015-09-30 15:19:33 -06:00
Matt Brubeck 7c86fa25db servo: Merge #7794 - Dirty text nodes when their content changes (from mbrubeck:setdata); r=pcwalton
Fixes #7793. r? @pcwalton

Source-Repo: https://github.com/servo/servo
Source-Revision: fb6d0946cb3bac713bc20794f17a40fa7a12bc00
2015-09-30 11:49:52 -06:00
Matt Brubeck e56720dd4c servo: Merge #7800 - Remove unused import in net_traits (from mbrubeck:unused); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: 3e377bb24e53fde8f7a786cb73caf3aefdcd3699
2015-09-30 11:03:01 -06:00
Ms2ger 7c0e147d1d servo: Merge #7798 - Remove dead code from net_traits (from Ms2ger:dead); r=jdm
It was added in commit ecf02a3656d60d4197e7cfc53beaedbc5e1019c0.

Source-Repo: https://github.com/servo/servo
Source-Revision: 61be58a87ff78be6278173d65e8933413041bd00
2015-09-30 08:14:05 -06:00
Martin Robinson 4e10279230 servo: Merge #7751 - Make DisplayList hit testing a method on DisplayList (from mrobinson:refactor-hit-testing); r=pcwalton
This will allow us to hit test into DisplayLists that are not directly
contained in StackingContexts, but instead are children of PaintLayers.
It also makes things slightly simpler.

Source-Repo: https://github.com/servo/servo
Source-Revision: b1d9f438b79743e03cb5b81a0e36f336943e940e
2015-09-30 03:04:16 -06:00
Corey Farwell 2f8b68120b servo: Merge #7790 - Expand list of Python executable names to search in PATH (from frewsxcv:expand-python-executable-names); r=mbrubeck
Fixes #7784

Source-Repo: https://github.com/servo/servo
Source-Revision: 4e749eb714e6a3bf9c297d2a7692662e0bf6c9bb
2015-09-29 20:26:14 -06:00
Nicolas accefa4a75 servo: Merge #7789 - allow `./mach test` to run tests in tests/wpt/mozilla/ (from 6112:master); r=mbrubeck
Allows running WPT tests in the tests/wpt/mozilla/ directory by using commands such as:

```
./mach test tests/wpt/mozilla/tests/mozilla/union.html
```

Fixes #7772.

Source-Repo: https://github.com/servo/servo
Source-Revision: 9a4eb565c4a423ed1278a5e28ad06775695861da
2015-09-29 19:58:28 -06:00