aboutsummaryrefslogtreecommitdiffstats
path: root/components/script
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Add new consructor with &JSAutoCompartment parameterAron Zwaan2019-04-031-0/+5
| | |
| * | Rename Promise::new to Promise::new_in_current_compartmentAron Zwaan2019-04-0325-51/+93
| | |
* | | Auto merge of #23164 - Manishearth:getpose, r=asajeffreybors-servo2019-04-057-39/+125
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add XRFrame.getPose() I think I've figured out the model of poses, waiting on Nell for confirmation. Basically, `getViewerPose(p)` is equivalent to `getPose(source=viewerSpace, relative_to=p)` The eye-level space, for example, is stationary and stuck to the origin. The position-disabled and identity spaces somewhat counterintuitively follow you around (and appear to be stationary from `getViewerPose()` but not `getPose()`. The incorrect mental model kinda "works" when looking at only `getViewerPose()`, but we need to figure it out for `getPose()`. Todo (may add to this PR, but probably not) - implement `XRSession.viewerSpace` - implement position-disabled - implement floor-level (hard to test without a 6dof device) r? @asajeffrey <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23164) <!-- Reviewable:end -->
| * | | Add XRSession.viewerSpaceManish Goregaokar2019-04-043-3/+21
| | | |
| * | | Add XRFrame.getPose()Manish Goregaokar2019-04-042-0/+18
| | | |
| * | | Validate spaces passed to getViewerPose()Manish Goregaokar2019-04-043-5/+16
| | | |
| * | | Add proper get_pose for XRSpacesManish Goregaokar2019-04-043-25/+53
| | | |
| * | | Rename incorrectly-named get_pose methodsManish Goregaokar2019-04-043-10/+21
| | | |
* | | | Auto merge of #23143 - CYBAI:remove-compound-microtasks, r=jdmbors-servo2019-04-052-15/+11
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove compound microtasks We handled compound microtasks as microtasks so, basically, we only need to remove the naming of `compound`. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #23140 - [x] These changes do not require tests because the updated spec is more about editorial. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23143) <!-- Reviewable:end -->
| * | | Remove compound microtasksCYBAI2019-03-312-15/+11
| | | | | | | | | | | | | | | | | | | | We handled compound microtasks as microtasks so, basically, we only need to remove the naming of `compound`.
* | | | Auto merge of #23145 - pylbrecht:performance.resource.timing, r=jdmbors-servo2019-04-042-2/+7
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add connectEnd attribute to PerformanceResourceTiming interface <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [x] These changes fix #21262 <!-- Either: --> - [X] There are tests for these changes <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23145) <!-- Reviewable:end -->
| * | | Add connectEnd attribute to PerformanceResourceTiming interfacepylbrecht2019-04-042-2/+7
| | | |
* | | | Remove viewMatrixManish Goregaokar2019-04-032-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | Users are supposed to use `view.transform.inverse.matrix` The view matrix was incorrect anyway, we had forgotten to invert it, but that was okay since we transposed it by accident (due to euclid's use of the row-vector convention), and for 3DOF devices these transforms are mostly rotations so transposing instead of inverting doesn't lead to visible effects.
* | | | Add XRRigidTransform.matrixManish Goregaokar2019-04-032-1/+18
| | | |
* | | | Add XRView.transformManish Goregaokar2019-04-033-16/+21
| | | |
* | | | XRRigidTransform.inverse is now a lazy attributeManish Goregaokar2019-04-032-2/+6
| | | |
* | | | Consistently use GlobalScope in XR codeManish Goregaokar2019-04-036-18/+18
| | | |
* | | | Make XRViewerPose inherit from XRPoseManish Goregaokar2019-04-034-26/+28
| | | |
* | | | Add XRPose.transformManish Goregaokar2019-04-034-5/+34
| | | |
* | | | Add empty XRPose interfaceManish Goregaokar2019-04-033-0/+31
| | | |
* | | | Switch XRSpace code to using rigid transformsManish Goregaokar2019-04-035-31/+21
| | | |
* | | | Validate the position passed to XRRigidTransformManish Goregaokar2019-04-031-1/+8
| | | | | | | | | | | | | | | | Added in https://github.com/immersive-web/webxr/pull/568
* | | | Make XRRigidTransform.position/orientation lazy, default to using euclid thingsManish Goregaokar2019-04-033-80/+28
| | | |
* | | | Move XRRigidTransform to using RigidTransform3DManish Goregaokar2019-04-032-38/+23
| | | |
* | | | Bump euclid to 0.19.7Manish Goregaokar2019-04-031-1/+1
| |_|/ |/| |
* | | Auto merge of #23103 - ferjm:srcObject, r=Manishearthbors-servo2019-04-032-14/+64
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement srcObject logic for Blob media providers - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] There are tests for these changes <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23103) <!-- Reviewable:end -->
| * | Implement srcObject logic for Blob media providersFernando Jiménez Moreno2019-03-272-14/+64
| | |
* | | Bug: #22853 - Make Window::set_fullscreen pass a non-None value when ↵Kamal Umudlu2019-04-012-1/+20
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | entering fullscreen is fixed and SetFullscreenState in exit_fullscreen changed to False Added patch for bug:22853 Added implementation to exit from fullscreen mode by pressing ESC button Added patch that supports to exit from fullscreen mode by pressing ESC Deleted patch files Added all requested changes on project Removed the loop over self.pending_changes in switch_fullscreen_mode function Bug #22853 - Make Window::set_fullscreen pass a non-None value when entering fullscreen is fixed and SetFullscreenState in exit_fullscreen changed to False Added missing bracket in constellation.rs file to fix build issue Bug: #22853 --> Make Window::set_fullscreen pass a non-None value when entering fullscreen is fixed and SetFullscreenState in exit_fullscreen changed to False
* | Auto merge of #23102 - servo:rustup, r=Manishearthbors-servo2019-03-272-4/+6
|\ \ | |/ |/| | | | | | | | | | | Upgrade to rustc 1.35.0-nightly (4c27fb19b 2019-03-25) <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23102) <!-- Reviewable:end -->
| * Upgrade to rustc 1.35.0-nightly (4c27fb19b 2019-03-25)Simon Sapin2019-03-262-4/+6
| |
* | Auto merge of #23097 - Manishearth:transforms, r=asajeffreybors-servo2019-03-2712-61/+206
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Properly support transforms in WebXR Still need to test this There are also a bunch of fixmes that I should get to in this PR. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23097) <!-- Reviewable:end -->
| * | Allow unusedManish Goregaokar2019-03-261-0/+2
| | |
| * | Clean up trace implsManish Goregaokar2019-03-261-49/+2
| | |
| * | Add XRRigidTransform::InverseManish Goregaokar2019-03-263-2/+42
| | |
| * | Precompute XRRigidTransform's matricesManish Goregaokar2019-03-262-14/+27
| | |
| * | Fix xrviewport.heightManish Goregaokar2019-03-261-1/+1
| | |
| * | Compute view matrix from viewer poseManish Goregaokar2019-03-265-17/+51
| | |
| * | Add XRSpace::get_viewer_pose()Manish Goregaokar2019-03-254-0/+103
| | |
* | | Auto merge of #23095 - jdm:mozjsprofiling, r=jdmbors-servo2019-03-261-1/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use mozjs profiling feature when building with frame pointer enabled This makes it possible to get more meaningful profiles with #23080. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix part of #23081 - [x] There are no tests for these changes <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23095) <!-- Reviewable:end -->
| * | | Add mozjs feature for profiling.Josh Matthews2019-03-251-1/+2
| | | |
* | | | Auto merge of #23094 - georgeroman:update_event_timestamp, r=jdmbors-servo2019-03-262-5/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update Event's timestamp <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #22885 <!-- Either: --> - [X] There are tests for these changes <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23094) <!-- Reviewable:end -->
| * | | | Update Event's timestampGeorge Roman2019-03-262-5/+12
| | |_|/ | |/| |
* | | | Auto merge of #23085 - hundredeir:dom_content_loaded#22994, r=jdmbors-servo2019-03-261-9/+10
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Defer update of dom_content_loaded_event_end Set it's value only after the "DOMContentLoaded" event is really fired --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #22994 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23085) <!-- Reviewable:end -->
| * | | Defer update of dom_content_loaded_event_endhundredeir2019-03-261-9/+10
| | | | | | | | | | | | | | | | Set it's value only after the "DOMContentLoaded" event is really fired
* | | | Auto merge of #22699 - Manishearth:render_state, r=jdmbors-servo2019-03-256-88/+280
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update XR code to support null layers and new spec changes Last time we landed an incomplete PR (https://github.com/servo/servo/pull/22649) that corrected the promise model but left XR sessions in panicky states. This updates the code to not panic all the time, and also includes changes from https://github.com/immersive-web/webxr/pull/458 r? @jdm <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22699) <!-- Reviewable:end -->
| * | Formatting changesManish Goregaokar2019-03-251-5/+2
| | |
| * | Pref-gate XRRenderStateManish Goregaokar2019-03-251-1/+1
| | |
| * | Avoid double-spawning RAF threadManish Goregaokar2019-03-251-0/+7
| | |
| * | Flush renderstate queue before presentingManish Goregaokar2019-03-251-0/+1
| | |
| * | Trigger wakeup when queuing, not when processingManish Goregaokar2019-03-251-11/+12
| | |