Anthony Ramine
89a0b55c61
Use wrappers for GL IDs
...
See https://github.com/servo/webrender_traits/pull/62 .
2016-06-28 20:11:55 +02:00
Ms2ger
b56821a01f
Move CSSErrorReporter to script_layout_interface.
2016-06-20 19:08:13 +02:00
Ms2ger
86bfd2cc9f
Move LayoutRPC to script_layout_interface.
2016-06-20 19:08:07 +02:00
Ms2ger
6aaf3e6a01
Move OpaqueStyleAndLayoutData to script_layout_interface.
2016-06-20 19:02:38 +02:00
Patrick Walton
041cfe6d0a
script: When using WebRender, keep the DOM-side scroll positions for
...
elements with `overflow: scroll` up to date, and take them into account
when doing hit testing.
Closes #11648 .
2016-06-10 18:43:04 -07:00
Zhen Zhang
f8fa9aaf42
Add unit testing to file manager; Replace uuid by stringified version in FileManagerThreadMsg
2016-06-10 02:20:52 +08:00
Ms2ger
06a1d04ca6
Move LengthOrPercentageOrAuto to style::attr.
2016-06-06 08:54:34 +02:00
Rahul Sharma
15a2064c0d
implement related sw interface and register method
2016-06-02 04:09:39 +05:30
Anthony Ramine
b45f1918d1
Remove JS::from_rooted
2016-05-31 14:43:58 +02:00
Ms2ger
e94f3d4fe0
Remove the LayoutChan type.
...
It is a pointless abstraction.
2016-05-27 15:33:04 +02:00
Alan Jeffrey
d92dfe1b8c
Record the frame type (IFrame or MozBrowserIFrame) in the pipeline.
2016-05-26 12:55:55 -05:00
Anthony Ramine
cdc7bca944
Move DOMString back to script
...
This entirely removes the 'non-geckolib' feature of the util crate.
2016-05-24 10:54:57 +02:00
Zhen Zhang
dd590d088b
Implement file-type functionalities in htmlinputelement and related
...
Changes include:
- Implement file selection and other DOM behaviours in htmlinputelement
- Integrate IpcSender<FileManagerThreadMsg> into ResourceThreads
- Improve filemanager_thread, including adding type_string field to SelectedFile
- Improve interfaces in FileList/File/Blob to accommodate the above changes
2016-05-23 15:35:46 +08:00
Ms2ger
cc2b2b50a7
Remove ConstellationChan.
...
It's a pointless abstraction that propagates the obsolete chan terminology,
swaps the order in which the sender and receiver are returned, and hides a
source of panics.
2016-05-19 17:13:44 +02:00
David Zbarsky
2bf016ff14
Implement GetVertexAttrib
2016-05-12 23:56:10 -07:00
Josh Matthews
293d465c59
Make debug logging for tracing JS objects more informative.
2016-05-11 08:34:48 -04:00
Anthony Ramine
eb94f1a918
Update SpiderMonkey
2016-05-03 18:36:11 +02:00
Rebecca
526525b835
Add referrer policy pass-through and referrer header logic
...
add pass-through from doc to http-loader for referrer_policy, ref_URL
add logic for setting referer header
add script pass-through for referrer
add unit tests for setting referer header
2016-04-25 16:41:06 -04:00
Michael Howell
7940b22158
compositing/script: Do not dispatch the resize event when initially loading.
...
No bug report corresponds to this, but I noticed it while trying to
reduce #10593
2016-04-22 13:36:43 -07:00
Ravi Shankar
5e6f32a59b
Propagating the load errors from network loader
2016-04-20 12:38:35 -04:00
Josh Matthews
a8233a135e
Implement origin concept.
2016-04-13 10:37:55 +02:00
bors-servo
f0014bd9cd
Auto merge of #10224 - emilio:shader-type-validations, r=jdm
...
webgl: Add attribute validations and other nits
Fixes https://github.com/servo/servo/issues/9958
Depends on a bunch of prs, and needs a test.
r? @jdm
<!-- 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/10224 )
<!-- Reviewable:end -->
2016-04-12 05:18:49 +05:30
Joe Wilm
229b176321
Implement Worker#terminate() ( fixes #4427 ).
...
Adds support for terminating DOM workers. A closing flag was added to
WorkerGlobalScope per the spec.
2016-04-07 18:54:32 -04:00
Rahul Sharma
2caa9a2a76
refactors entities from script_thread into script_runtime
2016-04-06 12:46:49 +05:30
Paul Rouget
df6e7394d4
forcetouch events support
...
This enables Apple forcetouch DOM events. It requires the preference dom.forcetouch.enabled.
The DOM events are described here:
- https://developer.apple.com/library/mac/documentation/AppleApplications/Conceptual/SafariJSProgTopics/RespondingtoForceTouchEventsfromJavaScript.html
The Cocoa mechanism is documented here:
- 20000016
-SW274
2016-04-05 18:42:28 +08:00
Emilio Cobos Álvarez
6fcc03c965
webgl: Make the api return the context limits and use them for validations
...
This allows keeping the VertexAttrib* calls asynchronous.
Another option would be to do the validation in the apply() function,
but that'd require us passing an unnecessary channel around and add
extra synchronization.
The counterpart of this is that it has to be updated when the context
changes, but that's less problem.
2016-04-03 01:21:56 +02:00
Jan-Fabian Humann
d778562844
#10211 : Stop re-exporting webrender_traits WebGL types from canvas_traits
2016-03-30 20:05:16 +02:00
Anthony Ramine
1d87f61350
Use a BTreeMap for Document::animation_frame_list ( fixes #9834 )
...
The callbacks must stay ordered.
2016-03-02 16:53:06 +01:00
Matt Brubeck
973918967f
Dirty elements whose selectors are affected by sibling changes
...
This fixes incremental layout of nodes that match pseudo-class selectors such
as :first-child, :nth-child, :last-child, :first-of-type, etc.
* Fixes #8191
* Fixes #9063
* Fixes #9303
* Fixes #9448
This code is based on the following flags from Gecko:
https://hg.mozilla.org/mozilla-central/file/e1cf617a1f28/dom/base/nsINode.h#l134
2016-02-23 17:31:38 -08:00
Josh Matthews
2796a4dfa8
Compile raw inline event handlers lazily. Resolves #8489 .
2016-02-11 15:44:52 +01:00
Paul Rouget
63519c3574
mozbrowsersercuritychange event
2016-02-09 08:05:17 +01:00
Emilio Cobos Álvarez
a1c830f1c1
Update rust-selectors
...
This commits updates rust-selectors to use the generic parser, and as
such it moves the element state into the style crate.
2016-02-03 02:11:31 +01:00
Anthony Ramine
436b952298
Bump Rust to 2016-01-31 nightly
2016-02-01 17:55:36 +01:00
jmr0
167ffa7a95
adding image metadata notification capabilities to image cache
2016-01-29 20:54:49 -05:00
GauriGNaik
907322c666
Final steps
2016-01-11 18:48:54 +05:30
rohan.prinja
1f02c4ebbb
task -> thread
2016-01-10 17:58:13 +09:00
Joe Kachmar
655268d111
Separate script and layout messages, issue #8843
2015-12-26 12:24:51 -05:00
Tomas Cernaj
5507be2653
Move ScriptMsg from msg crate into script_traits
2015-12-09 20:50:11 +01:00
Florian Strübe
b81f712ce1
Moved WorkerId type to devtools_traits
2015-12-07 20:11:26 +01:00
bors-servo
8b39b9afed
Auto merge of #8599 - jdm:e10s-redux, r=metajack
...
compositing: Split Servo up into multiple sandboxed processes.
Multiprocess mode is enabled with the `-M` switch, and sandboxing is
enabled with the `-S` switch.
Rebase of #6884 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8599 )
<!-- Reviewable:end -->
2015-11-20 03:59:48 +05:30
Patrick Walton
1c130819ca
compositing: Split Servo up into multiple sandboxed processes.
...
Multiprocess mode is enabled with the `-M` switch, and sandboxing is
enabled with the `-S` switch.
2015-11-19 16:38:04 -05:00
bors-servo
e5c9b48598
Auto merge of #8589 - vegayours:8360_reduce_node_unique_id_size, r=eefriedman
...
Reduce node.unique_id size
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8589 )
<!-- Reviewable:end -->
2015-11-20 01:44:19 +05:30
Ms2ger
bf7053bc17
Remove unused import.
2015-11-19 16:14:47 +01:00
bors-servo
acbe413052
Auto merge of #8530 - KiChjang:split-constellation-msg, r=jdm
...
Split ConstellationMsg into ScriptMsg and CompositorMsg
Fixes #8356 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8530 )
<!-- Reviewable:end -->
2015-11-19 04:39:20 +05:30
Aleksandr Likhanov
4bf21ab15e
reduce node.unique_id size
...
fix sizeof unittest
update Cargo.lock
2015-11-19 00:48:20 +05:00
Ms2ger
0c61be7a57
Rustfmt some of script.
2015-11-18 11:14:05 +01:00
Keith Yeung
19294db6e5
Split ConstellationMsg into ScriptMsg and CompositorMsg
2015-11-16 23:10:53 -08:00
Patrick Walton
1dc0d61c3c
script: Make timer events e10s-safe.
...
Closes #8235 .
2015-11-12 14:30:25 -05:00
Bobby Holley
7fa7936657
Implement attribute restyle hints.
...
Fixes #6942 .
2015-11-10 11:57:24 -08:00
Bobby Holley
c9704992a9
Factor the name-related fields of Attr into a struct and move it to style.
2015-11-09 21:40:22 -08:00