Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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. | |||||
* | Format script component | chansuke | 2018-09-19 | 1 | -56/+78 | |
| | ||||||
* | Don't create 2D canvas contexts arbitrarily | Anthony Ramine | 2018-09-16 | 1 | -40/+39 | |
| | | | | | Sometimes, the canvas still has no rendering context, in this case it represents a transparent black rectangle. | |||||
* | Mark some canvas methods as unsafe | Anthony Ramine | 2018-09-16 | 1 | -5/+10 | |
| | | | | They use raw JS context pointers. | |||||
* | Update HTMLCanvasElement WebIDL definition | Anthony Ramine | 2018-09-15 | 1 | -28/+27 | |
| | ||||||
* | Add unique canvas IDs to all canvas operations. | Brody Eastwood | 2018-04-02 | 1 | -2/+16 | |
| | ||||||
* | Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393 | Marcin Mielniczuk | 2018-03-28 | 1 | -1/+2 | |
| |