Michael Wu
e733a7c46a
Support the updated spidermonkey bindings
2015-10-14 15:30:52 -04:00
bors-servo
32daa17d5c
Auto merge of #7873 - nox:codegen-typeid, r=Ms2ger
...
Generate the various TypeId enums in codegen
This frees us forever from caring about maintaining these enums. The last commit removes their use from the initialisation of interface objects derived from Node.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7873 )
<!-- Reviewable:end -->
2015-10-14 12:47:48 -06:00
Anthony Ramine
aab2c40389
Generate the TypeId enums in codegen
2015-10-14 18:45:35 +02:00
bors-servo
8db8a86ab1
Auto merge of #7552 - meh:viewport, r=glennw
...
Add viewport configuration support to the compositor
This allows me to do stuff like this.

Those are two compositors rendered on the same OpenGL context, I need this so I can split windows and render them without getting mad with textures and framebuffers, it will also allow me to render the proper parts of the chrome as different web pages without involving dozens of framebuffers and textures.
If I recall correctly I did talk to @glennw about this on IRC some time ago.
This pull request requires https://github.com/servo/gleam/pull/39 to be merged first tho.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7552 )
<!-- Reviewable:end -->
2015-10-14 10:29:45 -06:00
meh
123c19a57a
Add viewport configuration support to the compositor
2015-10-14 17:38:29 +02:00
bors-servo
7308d0dd0d
Auto merge of #7967 - eefriedman:mime-handling, r=jdm
...
MIMEClassifier::classify always succeeds; fix the type to reflect this.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7967 )
<!-- Reviewable:end -->
2015-10-14 08:46:32 -06:00
bors-servo
55769b2fbf
Auto merge of #7829 - frewsxcv:htmltablecellelement-cellindex, r=Ms2ger
...
Implement HTMLTableCellElement::CellIndex
Extracted from #6936
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7829 )
<!-- Reviewable:end -->
2015-10-14 07:39:24 -06:00
bors-servo
dd2f8b6891
Auto merge of #7989 - glennw:update-gleam, r=frewsxcv
...
Update gleam 0.1.9 -> 0.1.11
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7989 )
<!-- Reviewable:end -->
2015-10-13 19:15:39 -06:00
Eli Friedman
1c4962288c
MIMEClassifier::classify always succeeds; fix the type to reflect this.
2015-10-13 18:03:40 -07:00
Glenn Watson
23def4a9a1
Update gleam 0.1.9 -> 0.1.13
2015-10-14 09:26:54 +10:00
bors-servo
26902a9a9b
Auto merge of #7871 - psdh:sendReason, r=jdm
...
Send reason in the Websocket close handshake
Fixes #7862
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7871 )
<!-- Reviewable:end -->
2015-10-13 17:25:27 -06:00
David Raifaizen
43a0651761
Removed user agent parameter from being unnecessarily passed
2015-10-13 18:17:26 -04:00
Eli Friedman
fa606bf1c8
Link to the HTML multipage spec, not the single-page one.
2015-10-13 11:48:51 -07:00
bors-servo
8cb3c5f628
Auto merge of #7991 - Ms2ger:update-selectors, r=jdm
...
Update cssparser.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7991 )
<!-- Reviewable:end -->
2015-10-13 11:39:43 -06:00
Ms2ger
f8b7a86ce4
Update cssparser.
2015-10-13 17:07:08 +02:00
Connor Imes
fd710eebc1
Set a reasonable max count on open files and don't panic if set fails
2015-10-13 09:04:40 -05:00
Dongie Agnir
61fe89d0e1
Add newline so code sample is parsed correctly.
2015-10-12 18:01:56 -10:00
bors-servo
eb7039d04d
Auto merge of #7987 - frewsxcv:clippy, r=Manishearth
...
Fix issues found by rust-clippy
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7987 )
<!-- Reviewable:end -->
2015-10-12 18:33:30 -06:00
Corey Farwell
20beaf5af3
Fix issues found by rust-clippy
2015-10-12 20:21:49 -04:00
bors-servo
0f597d3890
Auto merge of #7933 - mbrubeck:piston-image, r=glennw
...
Replace libpng and stb_image with PistonDevelopers/image
Fixes #3368 . r? @glennw
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7933 )
<!-- Reviewable:end -->
2015-10-12 15:06:31 -06:00
bors-servo
5ffeb3b95b
Auto merge of #7921 - glennw:subpage-fixes-2, r=jdm
...
Update RemoveIFrame to use pipeline id rather than subpage.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7921 )
<!-- Reviewable:end -->
2015-10-12 07:49:26 -06:00
bors-servo
ac1b595609
Auto merge of #7976 - frewsxcv:clippy, r=jdm
...
Cleanup code that was warned by rust-clippy
[whitespace agnostic diff](https://github.com/servo/servo/pull/7976/files?w=1 )
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7976 )
<!-- Reviewable:end -->
2015-10-12 04:37:42 -06:00
bors-servo
8dff3be956
Auto merge of #7973 - creativcoder:fix_issue_7969, r=jdm
...
convert match to if let for location header check #7969
@jdm Hi, very eager for my first pull request to Servo. Please review the changes.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7973 )
<!-- Reviewable:end -->
2015-10-12 03:13:28 -06:00
bors-servo
71c5587856
Auto merge of #7961 - connorimes:arm-crate-updates, r=jdm
...
Update dependencies with fixes for native ARM builds
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7961 )
<!-- Reviewable:end -->
2015-10-12 01:42:25 -06:00
Rahul Sharma
4b363d2a0e
convert match to if let for location header check #7969
2015-10-12 10:27:20 +05:30
Glenn Watson
8d312b0f0c
Convert RemoveIFrame message to use pipeline id.
2015-10-12 14:14:31 +10:00
Glenn Watson
736730f2e7
Remove unused subpage senders map.
2015-10-12 11:13:30 +10:00
Corey Farwell
e3aabd0bc5
DRY out conditional logic in CORS header matching
2015-10-11 20:55:01 -04:00
Corey Farwell
81e034885b
Cleanup code that was warned by rust-clippy
2015-10-11 20:47:45 -04:00
Connor Imes
d14888f039
Update dependencies with fixes for native ARM builds
2015-10-11 23:15:53 +00:00
bors-servo
292dbfe809
Auto merge of #7854 - frewsxcv:htmltablesectionelement-insertrow-deleterow, r=nox
...
Implement deleteRow and insertRow for <table> element
Continued from #6936
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7854 )
<!-- Reviewable:end -->
2015-10-11 16:44:13 -06:00
Corey Farwell
3d383f21ae
Implement deleteRow and insertRow for <table> element
...
Continued from #6936
2015-10-11 09:47:46 -04:00
bors-servo
7b904ef6fb
Auto merge of #7971 - gkbrk:fix_7970, r=nox
...
Use typed header API instead of set_raw in set_default_accept_encoding
Fixes #7970
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7971 )
<!-- Reviewable:end -->
2015-10-11 03:20:14 -06:00
Gökberk Yaltıraklı
5eeca1f037
Use typed header API instead of set_raw in set_default_accept_encoding
2015-10-11 11:00:03 +03:00
bors-servo
02d8894945
Auto merge of #7958 - frewsxcv:consolidate-magic-number, r=mbrubeck
...
Consolidate magic number representing max unsigned long
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7958 )
<!-- Reviewable:end -->
2015-10-10 15:00:39 -06:00
bors-servo
babeed998d
Auto merge of #7953 - frewsxcv:htmldivelement-align, r=mbrubeck
...
Implement 'align' attribute for <div> elements
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7953 )
<!-- Reviewable:end -->
2015-10-10 14:11:33 -06:00
bors-servo
04266f237a
Auto merge of #7949 - craftytrickster:map-clone-to-cloned, r=nox
...
Making map+clone more succinct with cloned
https://github.com/servo/servo/issues/7906
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7949 )
<!-- Reviewable:end -->
2015-10-10 13:18:56 -06:00
bors-servo
0f8493a566
Auto merge of #7918 - nox:partialeq-font, r=mbrubeck
...
Derive PartialEq on the style Font structure
We check the hash first.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7918 )
<!-- Reviewable:end -->
2015-10-10 12:26:07 -06:00
Corey Farwell
4dc8fd76ec
Consolidate magic number representing max unsigned long
2015-10-10 13:46:11 -04:00
bors-servo
b34b82537a
Auto merge of #7955 - frewsxcv:listing-pre, r=nox
...
Add 'listing' alias for <pre> elements
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7955 )
<!-- Reviewable:end -->
2015-10-10 11:08:14 -06:00
Corey Farwell
9b68d715de
Explicitly place '/' before fragment for multipage spec links
...
This prevents us from 301 redirecting, which could cause the fragment to
get lost
2015-10-10 12:07:10 -04:00
Corey Farwell
85f2b6fc5b
Replace usage of old-style WHATWG spec links
2015-10-10 11:55:09 -04:00
Matt Brubeck
e2e142aae8
Replace libpng with image everywhere.
2015-10-10 07:43:11 -07:00
David Raifaizen
de2060e6a1
Making map+clone more succinct with cloned
2015-10-10 09:31:21 -04:00
Corey Farwell
59e2911f28
Add 'listing' alias for <pre> elements
2015-10-10 08:58:38 -04:00
Corey Farwell
55c65d3192
Implement 'align' attribute for <div> elements
2015-10-10 08:15:44 -04:00
bors-servo
9cccd98254
Auto merge of #7948 - kunitsyn:master, r=Manishearth
...
Changed dom_class type to Option<&'static DOMClass> to fix #7942
I have a feeling that converting `Option<&T>` to `*const libc::c_void` could be less explicit.
Was there any way to do it shorter?
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7948 )
<!-- Reviewable:end -->
2015-10-09 23:22:59 -06:00
Avi Weinstock
f24bebb84e
Update clipboard to a version with chdir("/") removed.
...
Relevant links:
http://logs.glob.uno/?c=mozilla%23servo&s=9+Oct+2015&e=10+Oct+2015#c279844
ef4cf77c9c
2015-10-09 21:05:03 -04:00
bors-servo
6d52bdf4ff
Auto merge of #7891 - mrobinson:display-list-paint-layer, r=pcwalton
...
Properly size synthesized layers
Layers that are composed of several stacking contexts that need to be
rendered on top of other layered content need synthesized layers.
Previously, these layers were placed into a stacking context that was
the same size as their parent. This patch creates a new type of
PaintLayer which simply holds a display list. The layer is sized to the
bounds of the DisplayList and its children are positioned relative to
the parent stacking context.
This will also be useful in the future, when items outside of
StackingContexts are given their own layer for render order purposes.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7891 )
<!-- Reviewable:end -->
2015-10-09 17:00:21 -06:00
bors-servo
8ef8c53d2a
Auto merge of #7909 - paulrouget:subpixelPos, r=mbrubeck
...
Snap to screen pixels instead of px
Fixes #7904
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7909 )
<!-- Reviewable:end -->
2015-10-09 14:10:44 -06:00