bors-servo
201b5c9820
Auto merge of #8966 - GuillaumeGomez:patch-1, r=nox
...
Fix invalid dictionary inheritance
Needed by #8882 .
cc @nox
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8966 )
<!-- Reviewable:end -->
2015-12-14 17:08:23 +05:30
bors-servo
1d7f296fb8
Auto merge of #8955 - askobara:docs-htmlformelement-get_form_dataset, r=waffles
...
Add comments for the "Constructing the form data set" algorithm
Fixes #7852
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8955 )
<!-- Reviewable:end -->
2015-12-14 14:01:25 +05:30
bors-servo
cbd2c9560b
Auto merge of #8964 - nox:replacewith, r=frewsxcv
...
Fix Node::replace_with
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8964 )
<!-- Reviewable:end -->
2015-12-14 10:44:21 +05:30
bors-servo
89d9aad1e1
Auto merge of #8761 - dzbarsky:gl_functions, r=dzbarsky
...
Implement some more WebGL functions
r? @ecoal95
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8761 )
<!-- Reviewable:end -->
2015-12-14 08:25:20 +05:30
Arthur Skobara
8d2f9fc586
Add comments for the "Constructing the form data set" algorithm
2015-12-14 08:37:30 +06:00
David Zbarsky
0f4d6d58aa
Implement various WebGL functions
2015-12-13 17:39:20 -08:00
bors-servo
e4f86829d7
Auto merge of #8962 - Ms2ger:energymon, r=jdm
...
Remove the pinned revision from profile_traits/Cargo.toml.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8962 )
<!-- Reviewable:end -->
2015-12-14 06:21:24 +05:30
Guillaume Gomez
4c99a85c73
Fix invalid dictionary inheritance
2015-12-14 00:53:21 +01:00
Anthony Ramine
748dfdf575
Fix Node::replace_with
2015-12-14 00:13:56 +01:00
Ms2ger
bb4299d170
Remove the pinned revision from profile_traits/Cargo.toml.
2015-12-13 23:29:09 +01:00
bors-servo
8bab1cd7a4
Auto merge of #8854 - KiChjang:undefined-as-missing, r=frewsxcv
...
Treat 'undefined' passed to optional JS arguments as missing
@frewsxcv please don't hurt me for this.
I've added an AND condition to check whether the value being passed is undefined while checking whether the argument exists at all. Essentially, this is now treating undefined arguments the same as missing arguments.
Fixes #8813 .
Fixes #6558 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8854 )
<!-- Reviewable:end -->
2015-12-13 10:41:56 +05:30
Keith Yeung
db92a8b030
Treat undefined arguments in JS as missing
2015-12-12 21:13:29 -08:00
Arthur Skobara
8acb21a594
Remove from Trusted::new an unnecessary argument
2015-12-12 22:31:19 +06:00
bors-servo
f4783a0ec3
Auto merge of #8942 - Ms2ger:rename-bc, r=nox
...
Rename the browsercontext module.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8942 )
<!-- Reviewable:end -->
2015-12-12 14:18:25 +05:30
bors-servo
23b220644c
Auto merge of #8947 - Ms2ger:core-text, r=jdm
...
Use core-text from crates.io.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8947 )
<!-- Reviewable:end -->
2015-12-12 13:27:45 +05:30
Ms2ger
5440a90a48
Use core-text from crates.io.
2015-12-12 02:19:24 -05:00
Ms2ger
70653bfe08
Remove unused imports.
2015-12-12 02:13:59 -05:00
bors-servo
9f0c6d75d1
Auto merge of #8939 - cnaj:msg_refactoring, r=Ms2ger
...
Move PaintListener to gfx_traits, Fixes #8834
Adding layers and msg dependency to gfx_traits.
Fixes #8834 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8939 )
<!-- Reviewable:end -->
2015-12-12 04:27:55 +05:30
bors-servo
ebe3295424
Auto merge of #8943 - pcwalton:font-cache-addresses, r=mbrubeck
...
Cache font style struct addresses in a separate font group cache.
On http://en.wikipedia.org/wiki/Spotted_hyena , I was seeing a 100% miss
rate in the first fast cache lookup and 45% of total layout time in this
function. After making this change, the first cache lookup almost always
succeeds, and the time spent in this function drops to 8%.
r? @mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8943 )
<!-- Reviewable:end -->
2015-12-12 02:34:38 +05:30
Patrick Walton
b31a3b3883
Cache font style struct addresses in a separate font group cache.
...
On http://en.wikipedia.org/wiki/Spotted_hyena , I was seeing a 100% miss
rate in the first fast cache lookup and 45% of total layout time in this
function. After making this change, the first cache lookup almost always
succeeds, and the time spent in this function drops to 8%.
2015-12-11 15:43:32 -05:00
Ms2ger
b7b5c79787
Rename the browsercontext module.
2015-12-11 15:27:27 -05:00
bors-servo
2a416e77a8
Auto merge of #8935 - Ms2ger:get_or_create, r=Manishearth
...
Avoid some rooting in parsing.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8935 )
<!-- Reviewable:end -->
2015-12-12 01:38:49 +05:30
Tomas Cernaj
701aebee48
Move PaintListener to gfx_traits, Fixes #8834
...
Adding layers and msg dependency to gfx_traits.
2015-12-11 18:43:10 +01:00
bors-servo
2977795e39
Auto merge of #8937 - saneyuki:warning, r=mbrubeck
...
Fix some warnings
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8937 )
<!-- Reviewable:end -->
2015-12-11 22:52:47 +05:30
bors-servo
99fd946130
Auto merge of #8930 - frewsxcv:event-type-atom, r=nox
...
Pass around event types as Atoms instead of Strings
`Event` internally stores the `type` as an `Atom`, and we're `String`s
everywhere, which can cause unnecessary allocations to occur since
they'll end up as `Atom`s anyways.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8930 )
<!-- Reviewable:end -->
2015-12-11 21:12:35 +05:30
Tetsuharu OHZEKI
4906b38af9
Fix warning: Stop to use deprecated 'SocketAddr::new'
2015-12-11 10:39:23 -05:00
Tetsuharu OHZEKI
196f15b696
Fix warnings: Remove unused 'slice_bytes' flag
2015-12-11 10:21:23 -05:00
Tetsuharu OHZEKI
7267163f49
Fix warnings: use clone_from_slice instead of copy_memory
2015-12-11 10:20:24 -05:00
Tetsuharu OHZEKI
bccb46c70a
Fix warning: needless 'iter_cmp' flags
2015-12-11 10:03:45 -05:00
Tetsuharu OHZEKI
7df8dc6177
Fix warning: unused_imports in constellation_msg.rs.
2015-12-11 09:58:43 -05:00
Ms2ger
14acf1616e
Avoid some rooting in parsing.
2015-12-11 09:40:17 -05:00
bors-servo
4e73a30b00
Auto merge of #8898 - vwvww:compositor_msg_refactor, r=Ms2ger
...
Moved CompositorMsg enum into compositing crate.
moved CompositorMsg enum into compositing crate.
moved from components/msg/constellation_msg.rs
to components/compositing/lib.rs
fixes #8832
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8898 )
<!-- Reviewable:end -->
2015-12-11 12:02:52 +05:30
bors-servo
e71ec40462
Auto merge of #8918 - Ms2ger:trace, r=nox
...
Initialize the slots of global objects before a possible GC.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8918 )
<!-- Reviewable:end -->
2015-12-11 11:21:55 +05:30
Corey Farwell
4accaf50b2
Pass around event types as Atoms instead of Strings
...
`Event` internally stores the `type` as an `Atom`, and we're `String`s
everywhere, which can cause unnecessary allocations to occur since
they'll end up as `Atom`s anyways.
2015-12-10 23:47:25 -05:00
Beomjin Kim
729812f383
Moved CompositorMsg enum into compositing crate.
...
moved from components/msg/constellation_msg.rs
to components/compositing/lib.rs
dependencies on compositing crate added in ports/cef/Cargo.lock
2015-12-11 13:42:14 +09:00
bors-servo
99b9901ca2
Auto merge of #8923 - saneyuki:warning2, r=nox
...
Fix warning: Use iterator.min_by_key instead of iterator.min_by
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8923 )
<!-- Reviewable:end -->
2015-12-11 09:08:14 +05:30
bors-servo
0abddae49d
Auto merge of #8926 - frewsxcv:no-map, r=SimonSapin
...
Prefer 'if let' over 'map() with side effects'
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8926 )
<!-- Reviewable:end -->
2015-12-11 06:53:36 +05:30
Corey Farwell
6952d256d4
Prefer 'if let' over 'map() with side effects'
2015-12-10 19:23:07 -05:00
bors-servo
d01233a7b4
Auto merge of #8922 - saneyuki:warning, r=mbrubeck
...
Fix warnings: Use Vec.extend_from_slice instead of Vec.push_all
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8922 )
<!-- Reviewable:end -->
2015-12-11 04:57:58 +05:30
Tetsuharu OHZEKI
e8c12c1c6d
Fix warnings: Use Vec.extend_from_slice instead of Vec.push_all
2015-12-10 16:49:29 -05:00
Tetsuharu OHZEKI
eff54f304e
Fix warning: Use iterator.min_by_key instead of iterator.min_by
2015-12-10 16:31:02 -05:00
Roman Klauke
f1efe9a043
remove the "core" feature from canvas
...
The core feature is marked as stable. This commit removes the usage
of this feature.
2015-12-10 20:21:10 +01:00
Ms2ger
b353d70f44
Initialize the slots of global objects before a possible GC.
2015-12-10 12:08:42 -05:00
Alex Gaynor
d57ac454d5
Removed use of a #![feature] that is now stable
2015-12-10 07:16:53 -05:00
bors-servo
100595190b
Auto merge of #8911 - alex:patch-1, r=frewsxcv
...
Remove two "#![feature]" that are now stable
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8911 )
<!-- Reviewable:end -->
2015-12-10 12:12:07 +05:30
bors-servo
7438bc0425
Auto merge of #8909 - cnaj:msg_refactoring, r=jdm
...
Move ScriptMsg to script_traits crate, Fixes #8833
Review of documentation that was missing needed.
Fixes #8833 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8909 )
<!-- Reviewable:end -->
2015-12-10 11:24:44 +05:30
bors-servo
bd8af8e234
Auto merge of #8828 - Ronak6892:docResp, r=eefriedman
...
M1503/M1504 : Support for missing XMLHttpRequestAPIs and Document response handling
Hi,
This is for NCSU Fall 15 project M1503 and M1504:
M1503: Integrate XML Parser (Step 3 of 4): Support for Document response handling and calling the appropriate parser.
M1504: Support for missing XMLHttpRequest APIs
https://github.com/servo/servo/wiki/Integrate-xml5ever
It includes changes to handle document response for XMLHttpRequest.
Kindly review.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8828 )
<!-- Reviewable:end -->
2015-12-10 09:00:19 +05:30
Alex Gaynor
fa694f5f4b
Remove two "#![feature]" that are now stable
2015-12-09 19:25:04 -05:00
Jitendra Jain
88e6504e0a
Implement responseXML API and document response type for XHR
2015-12-09 17:48:04 -05:00
Corey Farwell
c7e62689e5
Upgrade dependency: shared_library
...
8c6d2433f0...391e74ae02
2015-12-09 17:08:00 -05:00