Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Strict import formatting (grouping and granularity) (#30325) | Samson | 2023-09-11 | 1 | -17/+19 |
| | | | | | * strict imports formatting * Reformat all imports | ||||
* | remove `extern crate` (#30311) | Samson | 2023-09-08 | 1 | -1/+1 |
| | | | | | | | | | | | * remove extern crate * Update components/script_plugins/lib.rs Co-authored-by: Martin Robinson <mrobinson@igalia.com> --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com> | ||||
* | Upgrade whole webgpu stack (#29795) | Samson | 2023-08-20 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Allow noidl files in script/dom/webidls * Upgrade wgpu to 0.16 and refresh whole webgpu implementation * Update WebGPU test expectations * misc * MutNullableDom -> DomRefCell<Option<Dom for GPUTexture * Direct use of GPUTextureDescriptor * Remove config from GPUCanvasContext * misc * finally blue color * gpubuffer "handle" error * GPU object have non-null label * gpu limits and info * use buffer_size * fix warnings * Cleanup * device destroy * fallback adapter * mach update-webgpu write webgpu commit hash in file * Mising deps in CI for webgpu tests * Updated expectations * Fixups * early reject * DomRefCell<Option<Dom -> MutNullableDom for GPUTexture | ||||
* | Tackle half of canvas.toDataURL's FIXMEs (#30094) | Ennui Langeweile | 2023-08-17 | 1 | -7/+7 |
| | | | Signed-off-by: Ennui Langeweile <85590273+EnnuiL@users.noreply.github.com> | ||||
* | bump base64 from 0.10 to 0.21 (#29804) | Tuna | 2023-08-02 | 1 | -2/+2 |
| | | | | | | | | | * bump base64 from 0.10 to 0.21 * Fix configuration of bitflags --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com> | ||||
* | Support arbitrary protos when wrapping DOM objects with constructors. | Josh Matthews | 2023-05-28 | 1 | -2/+4 |
| | |||||
* | Fix some build warnings | Martin Robinson | 2023-01-11 | 1 | -2/+2 |
| | | | | | | | | - Mark some instances of unused fields and variables as as allowed, when they are used for memory management. - Remove the use of some deprecated function.s Signed-off-by: Martin Robinson <mrobinson@igalia.com> | ||||
* | Update image/png. | Josh Matthews | 2022-04-01 | 1 | -1/+1 |
| | |||||
* | Fix deprecation warnings. | Josh Matthews | 2020-11-12 | 1 | -2/+2 |
| | |||||
* | dom: Add stub implementation for HTMLCanvasElement.captureStream. | Josh Matthews | 2020-07-14 | 1 | -0/+15 |
| | |||||
* | Implement GPUSwapChain and GPUCanvasContext and interface with Webrender | Kunal Mohan | 2020-06-13 | 1 | -4/+43 |
| | |||||
* | Update some URLs | Alex Touchet | 2020-05-04 | 1 | -3/+3 |
| | |||||
* | Auto merge of #23661 - julientregoat:i-21289, r=jdm | bors-servo | 2020-04-17 | 1 | -11/+7 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactor ImageCache::find_image_or_metadata -> ImageCache::{get_image, track_image} <!-- Please describe your changes on the following line: --> Updated the `ImageCache` trait to replace `find_image_or_metadata` with two new functions `track_image` and `get_image`, as well as a new enum (`ImageCacheResult`). As a result, I was able to refactor the functions that previously called `find_image_or_metadata` pretty cleanly. For a list of these functions, please see the commit information. --- <!-- 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 #21289 (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because tests already exist for these components. I ran `cargo test` in `net`, `net_traits`, `layout`, and `script` successfully. <!-- 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/23661) <!-- Reviewable:end --> | ||||
| * | Refactor ImageCache::find_image_or_metadata API. | Julien Tregoat | 2020-04-17 | 1 | -11/+7 |
| | | |||||
* | | Automatically enable WebGL 2 for specific domains. | Josh Matthews | 2020-04-15 | 1 | -2/+2 |
|/ | |||||
* | Update euclid | Manish Goregaokar | 2020-04-07 | 1 | -1/+0 |
| | |||||
* | Reduce scope of unsafe block in LayoutHTMLCanvasElementHelpers::data | Anthony Ramine | 2020-03-31 | 1 | -15/+15 |
| | |||||
* | Introduce <LayoutDom<Element>>::attrs() | Anthony Ramine | 2020-03-31 | 1 | -14/+8 |
| | | | | | | This safe method is the basic block to access element attributes from layout. We reuse it in the other attr-related layout methods to remove a pretty big source of rampant unsafe code between script and layout. | ||||
* | Merge RawLayoutElementHelpers into LayoutElementHelpers | Anthony Ramine | 2020-03-31 | 1 | -7/+6 |
| | |||||
* | Make LayoutHTMLCanvasElementHelpers methods take self | Anthony Ramine | 2020-03-29 | 1 | -8/+8 |
| | |||||
* | Give a lifetime parameter to LayoutDom | Anthony Ramine | 2020-03-28 | 1 | -1/+1 |
| | |||||
* | Add trait DomObjectWrap to provide WRAP function | YUAN LYU | 2020-03-20 | 1 | -2/+0 |
| | |||||
* | Remove syn 0.15 from our crate graph (fixes #24421) | Anthony Ramine | 2020-03-05 | 1 | -1/+1 |
| | | | | | | | | | | This required bumps of: * gleam * image * rust-webvr * webrender * webxr | ||||
* | Add accountable-refcell as optional build time feature | Kunal Mohan | 2020-01-08 | 1 | -3/+2 |
| | |||||
* | Use `#![register_tool]` instead of `#![register_attr]` | Simon Sapin | 2019-11-15 | 1 | -1/+1 |
| | | | | CC https://github.com/rust-lang/rust/issues/66079 | ||||
* | Addresses issues raised in #24465; removes redundancy in set_bitmap_dimensions | Bailey Blankenship | 2019-11-10 | 1 | -1/+4 |
| | | | | Removed passing test .ini files and moved euclid extensions to euclidext.rs to factor out redundant code | ||||
* | Support CORS attributes for image elements. | Josh Matthews | 2019-10-04 | 1 | -1/+7 |
| | |||||
* | Double key image cache by requesting origin, and store CORS status with ↵ | Josh Matthews | 2019-10-04 | 1 | -0/+1 |
| | | | | cached images. | ||||
* | Remove some usage of unsafe code in HTMLCanvasElement | marmeladema | 2019-08-09 | 1 | -33/+26 |
| | |||||
* | Convert CGTraitInterface to use safe JSContext instead of raw JSContext | marmeladema | 2019-07-24 | 1 | -11/+12 |
| | |||||
* | Convert internal methods to handle safe JSContext instead of raw JSContext | marmeladema | 2019-07-24 | 1 | -1/+2 |
| | |||||
* | Update euclid. | Emilio Cobos Álvarez | 2019-07-23 | 1 | -1/+1 |
| | | | | | | | | There are a few canvas2d-related dependencies that haven't updated, but they only use euclid internally so that's not blocking landing the rest of the changes. Given the size of this patch, I think it's useful to get this landed as-is. | ||||
* | #8539 Config preferences backend restructure | Peter Hall | 2019-03-20 | 1 | -2/+2 |
| | |||||
* | Remove offscreen_gl_context dependency from canvas_traits and script. | Josh Matthews | 2019-03-07 | 1 | -2/+1 |
| | |||||
* | Rustfmt has changed its default style :/ | Simon Sapin | 2018-12-28 | 1 | -3/+3 |
| | |||||
* | Make HTMLCanvasElement::fetch_all_data return a shared memory blob | Anthony Ramine | 2018-11-21 | 1 | -3/+4 |
| | |||||
* | Update MPL license to https (part 3) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | Remove useless `use crate_name;` imports. | Simon Sapin | 2018-11-08 | 1 | -1/+0 |
| | | | | A `crate_name::foo` path always works in 2018 | ||||
* | `cargo fix --edition-idioms` | Simon Sapin | 2018-11-08 | 1 | -2/+2 |
| | |||||
* | Reorder imports | Pyfisch | 2018-11-06 | 1 | -7/+13 |
| | |||||
* | Format remaining files | Pyfisch | 2018-11-06 | 1 | -1/+1 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -21/+21 |
| | |||||
* | Share some code between 2D canvas and WebGL | Anthony Ramine | 2018-10-09 | 1 | -2/+2 |
| | |||||
* | Add a couple of bug links | Anthony Ramine | 2018-10-08 | 1 | -0/+2 |
| | |||||
* | Avoid ctx.getImageData in canvas.toDataURL | Anthony Ramine | 2018-10-08 | 1 | -10/+6 |
| | |||||
* | Align ctx.createImageData and ctx.getImageData with the spec | Anthony Ramine | 2018-10-06 | 1 | -8/+1 |
| | |||||
* | Avoid copying pixels in ctx.putImageData sometimes | Anthony Ramine | 2018-10-06 | 1 | -1/+2 |
| | |||||
* | Reindent the WebGL 2 case of canvas.toDataURL | Anthony Ramine | 2018-10-03 | 1 | -6/+5 |
| | |||||
* | Slightly clean up the final URL creation in canvas.toDataURL | Anthony Ramine | 2018-10-03 | 1 | -13/+10 |
| | |||||
* | Make HTMLCanvasElement::get_size return a Size2D<u32> | Anthony Ramine | 2018-10-02 | 1 | -3/+3 |
| | | | | The changes keep trickling down. |