Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | script: Move code generation and webidl files to new script_bindings crate. ↵ | Josh Matthews | 2025-01-24 | 1 | -264/+0 |
| | | | | | (#35157) Signed-off-by: Josh Matthews <josh@joshmatthews.net> | ||||
* | api: Flatten and simplify Servo preferences (#34966) | Martin Robinson | 2025-01-14 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | Flatten and simplify Servo's preferences code. In addition, have both preferences and options passed in as arguments to `Servo::new()` and make sure not to use the globally set preferences in `servoshell` (as much as possible now). Instead of a complex procedural macro to generate preferences, just expose a very simple derive macro that adds string based getters and setters. - All command-line parsing is moved to servoshell. - There is no longer the concept of a missing preference. - Preferences no longer have to be part of the resources bundle because they now have reasonable default values. - servoshell specific preferences are no longer part of the preferences exposed by the Servo API. Signed-off-by: Martin Robinson <mrobinson@igalia.com> | ||||
* | WebIDL: Use Uint8ClampedArray instead of raw JSObject in bindings (#31317) | Taym Haddadi | 2024-02-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * WebIDL: Use Uint8ClampedArray instead of raw JSObject in bindings Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com> * fmt Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com> * introduce new_initialized_heap_typed_array function Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com> * Remove unsed unsafe_code Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com> * Use doc comments for ImageData Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com> * Use get_internal instead of acquire_data Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com> * Handle JS errors in ImageData GetData and new_initialized_heap_typed_array Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com> * Fix wrong assert that causes CRASH in test Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com> * Early return for error Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com> * Address review comments Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com> --------- Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com> | ||||
* | canvas2d: Implement `.reset()` (#31258) | Smitty | 2024-02-05 | 1 | -0/+1 |
| | | | | | | | | | | | * Implement Canvas2D reset * Update WPT tests * Apply suggestions from code review --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com> | ||||
* | Clean up and merge some canvas-related WebIDLs (#30606) | Ennui Langeweile | 2023-10-26 | 1 | -16/+27 |
| | | | | | | | * Clean up and merge some canvas-related WebIDLs * Apply `./mach fmt` * WebIDL has `test-tidy` support??? | ||||
* | Rename legacy extended attributes in webidls | sagudev | 2023-02-19 | 1 | -1/+1 |
| | | | | https://github.com/whatwg/webidl/pull/870 | ||||
* | Convert Web IDL void to undefined | Kagami Sascha Rosylight | 2022-01-05 | 1 | -30/+30 |
| | | | | Fixes #27660 | ||||
* | dom: Use pref macro for IDL conditional guards. | Josh Matthews | 2020-07-09 | 1 | -2/+2 |
| | |||||
* | Enable textAlign, textBaseline and direction attributes for canvas | Utsav Oza | 2020-06-10 | 1 | -3/+3 |
| | |||||
* | Query layout to resolve canvas font property value | Utsav Oza | 2020-06-10 | 1 | -1/+1 |
| | |||||
* | Implement CanvasRenderingContext2D.getTransform() | pylbrecht | 2020-02-12 | 1 | -1/+1 |
| | |||||
* | Make create_pattern() return None for incomplete images | pylbrecht | 2020-02-10 | 1 | -1/+1 |
| | |||||
* | Addresses Issue: Support OffscreenCanvas as CanvasImageSource #24269 | Bailey Blankenship | 2019-12-04 | 1 | -1/+1 |
| | | | | | | Added methods to canvas_data to support drawing an offscreen canvas onto another canvas Bug fix: Swapped OffscreenCanvas width and height parameters to match Mozilla spec Tests: Updated metadata for 866 tests | ||||
* | Migrate to IDL mixin syntax | Kagami Sascha Rosylight | 2019-10-01 | 1 | -49/+49 |
| | |||||
* | Temporary implementation of Canvas.MeasureText | Paul Rouget | 2019-09-25 | 1 | -1/+2 |
| | |||||
* | Extract canvas operations for reuse by OffscreenCanvas. | Maharsh | 2019-05-22 | 1 | -14/+14 |
| | |||||
* | Created CanvasRect fro OffscreenCanvas and Updated Testcases | Maharsh | 2019-03-29 | 1 | -1/+1 |
| | |||||
* | Update MPL license to https (part 2) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | Align ctx.createImageData and ctx.getImageData with the spec | Anthony Ramine | 2018-10-06 | 1 | -2/+2 |
| | |||||
* | Align canvas.putImageData with spec | Anthony Ramine | 2018-10-05 | 1 | -4/+4 |
| | | | | The arguments are supposed to be long values, not floats. | ||||
* | Update CanvasRenderingContext2D WebIDL definition | Anthony Ramine | 2018-09-14 | 1 | -64/+43 |
| | | | | CanvasImageSource was never supposed to include CanvasRenderingContext2D. | ||||
* | Implement Ellipse Canvas 2D API | Joone Hur | 2017-09-01 | 1 | -0/+5 |
| | | | | | | | | | * Update rust-azure to 0.21.0 * Mark the following test case as fail: tests/wpt/mozilla/tests/mozilla/css-paint-api/background-image-tiled.html * Make the ellipse test case pass. BUG: https://github.com/servo/servo/issues/17598 | ||||
* | Implement CanvasRenderingContext2d.fillText's "unimplemented" message | Bruno Bernardino | 2017-08-23 | 1 | -3/+3 |
| | |||||
* | Implement drawing an image from a CSS style value into a canvas. | Alan Jeffrey | 2017-07-21 | 1 | -2/+5 |
| | |||||
* | Implemented paint worklet rendering context. | Alan Jeffrey | 2017-06-30 | 1 | -11/+11 |
| | |||||
* | Partial fix for #12415: expose Canvas interfaces | Scott Trinh | 2016-10-13 | 1 | -16/+15 |
| | |||||
* | Explicitly expose everything everywhere. | Ms2ger | 2016-07-12 | 1 | -17/+18 |
| | |||||
* | Remove modelines everywhere but tests/wpt | edunham | 2016-04-20 | 1 | -1/+0 |
| | |||||
* | updating the CanvasRenderingContext2D to match the spec | Gregory Malecha | 2016-03-01 | 1 | -4/+66 |
| | | | | - fixes #9443 | ||||
* | Update some canvas properties as enums instead of DOMString | Saurav Sachidanand | 2016-02-19 | 1 | -5/+11 |
| | |||||
* | Implement IsPointInPath | David Zbarsky | 2015-12-05 | 1 | -5/+4 |
| | |||||
* | Update Canvas webIDL to spec | David Zbarsky | 2015-11-28 | 1 | -20/+22 |
| | |||||
* | Explicitly place '/' before fragment for multipage spec links | Corey Farwell | 2015-10-10 | 1 | -1/+1 |
| | | | | | This prevents us from 301 redirecting, which could cause the fragment to get lost | ||||
* | Replace usage of old-style WHATWG spec links | Corey Farwell | 2015-10-10 | 1 | -1/+1 |
| | |||||
* | Make createRadialGradient throw for negative radii | David Zbarsky | 2015-08-04 | 1 | -0/+1 |
| | |||||
* | Clean up some methods in CanvasRendeingContext2D | David Zbarsky | 2015-08-03 | 1 | -5/+3 |
| | |||||
* | Clean up whitespace, long lines for WebIDLs | Corey Farwell | 2015-07-26 | 1 | -11/+23 |
| | |||||
* | Implementation of pattern fill style for canvas. | Hyowon Kim | 2015-06-13 | 1 | -1/+2 |
| | |||||
* | Add attributes for canvas shadows. | Hyowon Kim | 2015-06-12 | 1 | -4/+4 |
| | |||||
* | Canvas: implement transformation matrix reset. | Mátyás Mustoha | 2015-05-06 | 1 | -1/+1 |
| | |||||
* | Canvas: implement transformation matrix rotation. | Mátyás Mustoha | 2015-05-06 | 1 | -1/+1 |
| | |||||
* | Canvas: implement global composition and blending. | Mátyás Mustoha | 2015-04-22 | 1 | -1/+1 |
| | |||||
* | Canvas: add clipping path support. | Mátyás Mustoha | 2015-04-22 | 1 | -1/+1 |
| | |||||
* | Canvas: implement rectangle drawing. | Mátyás Mustoha | 2015-04-21 | 1 | -1/+1 |
| | |||||
* | Canvas: implement context state save/restore. | Mátyás Mustoha | 2015-04-19 | 1 | -2/+2 |
| | |||||
* | Canvas: added lineCap and lineJoin support. | Mátyás Mustoha | 2015-04-14 | 1 | -2/+2 |
| | |||||
* | Update WHATWG links to use HTTPS | Corey Farwell | 2015-04-13 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Extracted this out of #5649 This commit was created with the following commands: ``` find . -iname "*.webidl" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)whatwg.org/https:\1whatwg.org/g' ``` ``` find . -iname "*.rs" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)whatwg.org/https:\1whatwg.org/g' ``` | ||||
* | Canvas: added miterLimit support. | Mátyás Mustoha | 2015-04-09 | 1 | -1/+1 |
| | |||||
* | Canvas: added support for the globalAlpha attribute. | Mátyás Mustoha | 2015-04-08 | 1 | -1/+1 |
| | |||||
* | Auto merge of #5562 - mmatyas:canvas_linewidth, r=jdm | bors-servo | 2015-04-08 | 1 | -0/+21 |
|\ | | | | | | | Rebase of #5488 |