Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Use ByteBuf for the canvas messages | Anthony Ramine | 2018-03-26 | 1 | -1/+1 |
| | | | | | The type Vec<u8> is super unefficient to work with in Serde if all you want to represent is a simple blob. | ||||
* | Implement HTMLCanvasElement.toDataURL for WebGL canvas (fixes #19147) | Anthony Ramine | 2018-03-23 | 1 | -1/+12 |
| | |||||
* | Implements profiler for blocked recv | Nakul Jindal | 2018-03-22 | 1 | -2/+3 |
| | |||||
* | Kick off WebGL 2.0 implementation | Imanol Fernandez | 2017-10-27 | 1 | -28/+79 |
| | |||||
* | Use try syntax for Option where appropriate | Matt Brubeck | 2017-10-20 | 1 | -6/+1 |
| | |||||
* | Replace all uses of the `heapsize` crate with `malloc_size_of`. | Nicholas Nethercote | 2017-10-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Servo currently uses `heapsize`, but Stylo/Gecko use `malloc_size_of`. `malloc_size_of` is better -- it handles various cases that `heapsize` does not -- so this patch changes Servo to use `malloc_size_of`. This patch makes the following changes to the `malloc_size_of` crate. - Adds `MallocSizeOf` trait implementations for numerous types, some built-in (e.g. `VecDeque`), some external and Servo-only (e.g. `string_cache`). - Makes `enclosing_size_of_op` optional, because vanilla jemalloc doesn't support that operation. - For `HashSet`/`HashMap`, falls back to a computed estimate when `enclosing_size_of_op` isn't available. - Adds an extern "C" `malloc_size_of` function that does the actual heap measurement; this is based on the same functions from the `heapsize` crate. This patch makes the following changes elsewhere. - Converts all the uses of `heapsize` to instead use `malloc_size_of`. - Disables the "heapsize"/"heap_size" feature for the external crates that provide it. - Removes the `HeapSizeOf` implementation from `hashglobe`. - Adds `ignore` annotations to a few `Rc`/`Arc`, because `malloc_size_of` doesn't derive those types, unlike `heapsize`. | ||||
* | Remove use of unstable box syntax. | Simon Sapin | 2017-10-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | http://www.robohornet.org gives a score of 101.36 on master, and 102.68 with this PR. The latter is slightly better, but probably within noise level. So it looks like this PR does not affect DOM performance. This is expected since `Box::new` is defined as: ```rust impl<T> Box<T> { #[inline(always)] pub fn new(x: T) -> Box<T> { box x } } ``` With inlining, it should compile to the same as box syntax. | ||||
* | Rename Root<T> to DomRoot<T> | Anthony Ramine | 2017-09-26 | 1 | -6/+6 |
| | | | | | | | In a later PR, DomRoot<T> will become a type alias of Root<Dom<T>>, where Root<T> will be able to handle all the things that need to be rooted that have a stable traceable address that doesn't move for the whole lifetime of the root. Stay tuned. | ||||
* | Rename DOMRefCell<T> to DomRefCell<T> | Anthony Ramine | 2017-09-26 | 1 | -3/+3 |
| | | | | | | | | I don't want to do such a gratuitous rename, but with all the other types now having "Dom" as part of their name, and especially with "DomOnceCell", I feel like the other cell type that we already have should also follow the convention. That argument loses weight though when we realise there is still DOMString and other things. | ||||
* | Rename LayoutJS<T> to LayoutDom<T> | Anthony Ramine | 2017-09-26 | 1 | -2/+2 |
| | |||||
* | Rename JS<T> to Dom<T> | Anthony Ramine | 2017-09-26 | 1 | -5/+5 |
| | |||||
* | Rename dom::bindings::js to dom::bindings::root | Anthony Ramine | 2017-09-26 | 1 | -1/+1 |
| | |||||
* | order derivable traits lists | Clément DAVID | 2017-08-23 | 1 | -1/+1 |
| | | | | | | Ignoring : - **generated**.rs - python/tidy/servo_tidy_tests/rust_tidy.rs | ||||
* | Revert "Auto merge of #18114 - emilio:revert-webgl-refactor, r=nox" | Anthony Ramine | 2017-08-16 | 1 | -35/+31 |
| | | | | | This reverts commit 4d10d39e8fe841c5fe2ac58da2daaa13c10c140e, reversing changes made to ee94e2b7c0bd327abe8f9545b2a1f792f67a2bdd. | ||||
* | Revert "Auto merge of #17891 - MortimerGoro:webgl_move, r=glennw,emilio" | Emilio Cobos Álvarez | 2017-08-16 | 1 | -31/+35 |
| | | | | | This reverts commit 90f55ea4580e2a15f7d70d0491444f18b972d450, reversing changes made to 2e60b27a2186a8cba4b952960155dfcf3f47d7db. | ||||
* | Improve WebGL architecture. | Imanol Fernandez | 2017-08-15 | 1 | -35/+31 |
| | |||||
* | Untry script | Simon Sapin | 2017-06-18 | 1 | -2/+2 |
| | |||||
* | Bump euclid to 0.14. | Nicolas Silva | 2017-06-14 | 1 | -1/+1 |
| |