Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NativeScript/canvas
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 1.0.0
Choose a base ref
...
head repository: NativeScript/canvas
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref

Commits on Mar 18, 2022

  1. chore: update build tools

    triniwiz committed Mar 18, 2022
    Copy the full SHA
    490ebda View commit details

Commits on Jul 4, 2022

  1. Copy the full SHA
    a541f93 View commit details

Commits on Aug 8, 2022

  1. Copy the full SHA
    cee733e View commit details

Commits on Dec 27, 2022

  1. feat: 1.1.0 (#92)

    * feat: 1.1.0
    
    feat: roundRect support
    feat: createConicGradient
    fixes: #86
    fixes: #83
    fixes: #82
    
    improved performance on android
    
    * fix: build
    
    * chore: switch to ndk crates
    
    * fix: use lower ndk
    
    * chore: performance updates
    
    * fix: create imagebitmap from imagedata
    
    * updates
    
    * feat: canvas snapshot to image
    
    * fix: snapsot
    
    * fix: clip & snapshot
    
    * feat: flip option for snapshot
    
    * fix: rgb texture loading
    
    * fix: duplicate property
    
    * fix: bindVertexArray
    
    * fix(polyfill): set correct buffer size
    
    * chore: bump
    
    * fix: gl asset drawing & polyfill http data
    triniwiz authored Dec 27, 2022
    Copy the full SHA
    f0856f3 View commit details

Commits on Jan 27, 2023

  1. Copy the full SHA
    6c388a4 View commit details

Commits on Feb 9, 2023

  1. feat: 1.1.0 release (#96)

    * feat: 1.1.0
    
    feat: roundRect support
    feat: createConicGradient
    fixes: #86
    fixes: #83
    fixes: #82
    
    improved performance on android
    
    * fix: build
    
    * chore: switch to ndk crates
    
    * fix: use lower ndk
    
    * chore: performance updates
    
    * fix: create imagebitmap from imagedata
    
    * updates
    
    * feat: canvas snapshot to image
    
    * fix: snapsot
    
    * fix: clip & snapshot
    
    * feat: flip option for snapshot
    
    * fix: rgb texture loading
    
    * fix: duplicate property
    
    * fix: bindVertexArray
    
    * fix(polyfill): set correct buffer size
    
    * chore: bump
    
    * fix: gl asset drawing & polyfill http data
    
    * fix(android): get device api level
    
    * chore: bump
    
    * chore: bump
    triniwiz authored Feb 9, 2023
    Copy the full SHA
    cc723b4 View commit details

Commits on Nov 4, 2023

  1. feat: v2 (#98)

    * chore: updates
    
    * updates
    
    * updates
    
    * updates
    
    * updates
    
    * updates
    
    * 2d working
    
    * updates
    
    * updates
    
    * updates
    
    * working webgl
    
    * updates
    
    * updates
    
    * updates
    
    * updates
    
    * Update Cargo.toml
    
    * updates
    
    * updates
    
    * updates
    
    * updates
    
    * Update webgl.rs
    
    * updates
    
    * updates
    
    * Update .gitignore
    
    * updates
    
    * updates
    
    * updates
    
    * working much better :D
    
    * updates
    
    * updates
    
    * chore: refactor
    
    * chore: clean up
    
    * chore: clean up
    
    * chore: clean up
    
    * feat: JSI
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: clean up
    
    * chore: updates
    
    * chore: clean up
    
    * chore: clean up
    
    * chore: clean up
    
    * chore: updates
    
    * chore: clean up
    
    * chore: clean up
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * Update WebGL2RenderingContext.cpp
    
    * chore: use namespace
    
    * chore: updates
    
    * chore: updates
    
    * chore: fix build
    
    * chore: initial 2d support
    
    * fix: gl alive!!!
    
    * fix: updates
    
    * fix: working 3D
    
    * fix: 2d
    
    * fix: video rendering
    
    * fix: 2d context to 2d context drawing
    
    * feat: v2 alpha.0
    
    * chore: updates & trying another op
    
    * fix: remove extra conversion
    
    * chore: clean up
    
    * chore: updates
    
    * chore: updates
    
    * chore: bump
    
    * feat: initial dom view
    
    * feat: expose skia dom
    
    * chore: ios updates (#99)
    
    * chore: ios updates
    
    chore: replaces Arc with Rc
    
    * fix(android): updates
    
    * chore: ios updates
    
    * chore: ios updates
    
    * chore: ios updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * fix: ios
    
    * chore: updates
    
    * chore: updates
    
    * fix(ios): missing pods
    
    * fix(ios): build
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * fix(ios): improve fileop
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * Chore v2 perf op (#104)
    
    * chore: updates
    
    * chore: updates
    
    * chore: nx migrate @nativescript/plugin-tools
    
    * release: 2.0.0-alpha.17
    
    * fix: fenceSync
    
    * fix(jsi): fenceSync
    
    * chore: updates
    
    * chore: upgrade skia
    
    * feat: v8 refactor (#103)
    
    * feat: v8 refactor
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: improve code sharing
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: working ios
    
    * chore: update
    
    * fix: running on both platforms
    
    * chore: updates
    
    * chore: 2.0.0-alpha.21
    
    * feat:  the frantic run of the valorous rabbit demo game
    
    * chore: alpha 22
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: update
    
    * fix: package building
    
    * chore: updates
    
    * chore: updates
    
    ---------
    
    Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
    triniwiz and NathanWalker authored Nov 4, 2023
    Copy the full SHA
    b23b821 View commit details

Commits on Nov 23, 2023

  1. chore: updates (#105)

    triniwiz authored Nov 23, 2023
    Copy the full SHA
    b355ddc View commit details

Commits on Dec 7, 2023

  1. fix: add text baseline bindings (#106)

    * fix: add text baseline bindings
    
    * fix: add text baseline bindings
    
    * fix: add text baseline bindings
    herefishyfish authored Dec 7, 2023
    Copy the full SHA
    ec98277 View commit details

Commits on Jan 3, 2024

  1. core: v2 polish (#107)

    * chore: updates
    
    * updates
    
    * updates
    
    * updates
    
    * updates
    
    * updates
    
    * 2d working
    
    * updates
    
    * updates
    
    * updates
    
    * working webgl
    
    * updates
    
    * updates
    
    * updates
    
    * updates
    
    * Update Cargo.toml
    
    * updates
    
    * updates
    
    * updates
    
    * updates
    
    * Update webgl.rs
    
    * updates
    
    * updates
    
    * Update .gitignore
    
    * updates
    
    * updates
    
    * updates
    
    * working much better :D
    
    * updates
    
    * updates
    
    * chore: refactor
    
    * chore: clean up
    
    * chore: clean up
    
    * chore: clean up
    
    * feat: JSI
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: clean up
    
    * chore: updates
    
    * chore: clean up
    
    * chore: clean up
    
    * chore: clean up
    
    * chore: updates
    
    * chore: clean up
    
    * chore: clean up
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * Update WebGL2RenderingContext.cpp
    
    * chore: use namespace
    
    * chore: updates
    
    * chore: updates
    
    * chore: fix build
    
    * chore: initial 2d support
    
    * fix: gl alive!!!
    
    * fix: updates
    
    * fix: working 3D
    
    * fix: 2d
    
    * fix: video rendering
    
    * fix: 2d context to 2d context drawing
    
    * feat: v2 alpha.0
    
    * chore: updates & trying another op
    
    * fix: remove extra conversion
    
    * chore: clean up
    
    * chore: updates
    
    * chore: updates
    
    * chore: bump
    
    * feat: initial dom view
    
    * feat: expose skia dom
    
    * chore: ios updates (#99)
    
    * chore: ios updates
    
    chore: replaces Arc with Rc
    
    * fix(android): updates
    
    * chore: ios updates
    
    * chore: ios updates
    
    * chore: ios updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * fix: ios
    
    * chore: updates
    
    * chore: updates
    
    * fix(ios): missing pods
    
    * fix(ios): build
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * fix(ios): improve fileop
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * Chore v2 perf op (#104)
    
    * chore: updates
    
    * chore: updates
    
    * chore: nx migrate @nativescript/plugin-tools
    
    * release: 2.0.0-alpha.17
    
    * fix: fenceSync
    
    * fix(jsi): fenceSync
    
    * chore: updates
    
    * chore: upgrade skia
    
    * feat: v8 refactor (#103)
    
    * feat: v8 refactor
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: improve code sharing
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: working ios
    
    * chore: update
    
    * fix: running on both platforms
    
    * chore: updates
    
    * chore: 2.0.0-alpha.21
    
    * feat:  the frantic run of the valorous rabbit demo game
    
    * chore: alpha 22
    
    * chore: updates
    
    * chore: updates
    
    * chore: updates
    
    * chore: update
    
    * fix: package building
    
    * chore: updates
    
    * chore: updates
    
    ---------
    
    Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
    
    * chore: updates
    
    * chore(android): perf op
    
    * chore: updates
    
    * fix: font handling & custom font support
    
    * chore: updates
    
    * Squashed commit of the following:
    
    commit ec98277
    Author: Dylan Llewellyn <46717769+herefishyfish@users.noreply.github.com>
    Date:   Fri Dec 8 03:47:51 2023 +0800
    
        fix: add text baseline bindings (#106)
    
        * fix: add text baseline bindings
    
        * fix: add text baseline bindings
    
        * fix: add text baseline bindings
    
    commit b355ddc
    Author: Osei Fortune <fortune.osei@yahoo.com>
    Date:   Thu Nov 23 07:00:15 2023 -0400
    
        chore: updates (#105)
    
    * fix: baseline middle
    
    * chore: updates
    
    * chore: updates
    
    * chore: bump
    
    * fix: scaling
    
    * fix: handle empty text when drawing
    
    * chore: updates
    
    ---------
    
    Co-authored-by: Nathan Walker <walkerrunpdx@gmail.com>
    triniwiz and NathanWalker authored Jan 3, 2024
    Copy the full SHA
    3a786f8 View commit details

Commits on Jan 4, 2024

  1. fix(android): jni methods

    triniwiz committed Jan 4, 2024
    Copy the full SHA
    94ba48e View commit details
  2. fix(ios): touch handling

    triniwiz committed Jan 4, 2024
    Copy the full SHA
    a96cdd5 View commit details
  3. Copy the full SHA
    1034958 View commit details
  4. Copy the full SHA
    7aec52f View commit details
  5. chore: bump

    triniwiz committed Jan 4, 2024
    Copy the full SHA
    a73e913 View commit details
  6. fix: pointer update

    triniwiz committed Jan 4, 2024
    Copy the full SHA
    671559f View commit details
  7. chore: bump

    triniwiz committed Jan 4, 2024
    Copy the full SHA
    8cefaa6 View commit details

Commits on Jan 11, 2024

  1. Copy the full SHA
    62fc868 View commit details
  2. Copy the full SHA
    5a9f452 View commit details
  3. chore: fmt

    triniwiz committed Jan 11, 2024
    Copy the full SHA
    15bd146 View commit details
  4. chore: reduce lib size

    triniwiz committed Jan 11, 2024
    Copy the full SHA
    239eac3 View commit details
  5. chore: bump

    triniwiz committed Jan 11, 2024
    Copy the full SHA
    c17adc3 View commit details

Commits on Jan 12, 2024

  1. fix: crash

    triniwiz committed Jan 12, 2024
    Copy the full SHA
    4420c36 View commit details
  2. fix: extra guards

    triniwiz committed Jan 12, 2024
    Copy the full SHA
    ca185b6 View commit details

Commits on Jan 13, 2024

  1. Copy the full SHA
    d9a194a View commit details

Commits on Jan 14, 2024

  1. Copy the full SHA
    062799d View commit details
  2. chore: bump

    triniwiz committed Jan 14, 2024
    Copy the full SHA
    a367336 View commit details
  3. Copy the full SHA
    e09bace View commit details
  4. chore: bump

    triniwiz committed Jan 14, 2024
    Copy the full SHA
    3e45f68 View commit details
  5. chore: rn perf

    triniwiz committed Jan 14, 2024
    Copy the full SHA
    47f69d4 View commit details

Commits on Jan 16, 2024

  1. Copy the full SHA
    01d6d00 View commit details
  2. chore: perf updates

    triniwiz committed Jan 16, 2024
    Copy the full SHA
    d471deb View commit details

Commits on Jan 17, 2024

  1. chore: updates

    triniwiz committed Jan 17, 2024
    Copy the full SHA
    5a17233 View commit details

Commits on Jan 20, 2024

  1. Copy the full SHA
    8697942 View commit details

Commits on Jan 22, 2024

  1. Copy the full SHA
    5463ec7 View commit details

Commits on Jan 26, 2024

  1. Copy the full SHA
    7ade325 View commit details

Commits on Jan 28, 2024

  1. chore: 2.0 beta

    triniwiz committed Jan 28, 2024
    Copy the full SHA
    5a05f08 View commit details

Commits on Jan 29, 2024

  1. fix: matrix

    triniwiz committed Jan 29, 2024
    Copy the full SHA
    4e00713 View commit details
  2. Copy the full SHA
    693dd58 View commit details
  3. fix: fill rule

    triniwiz committed Jan 29, 2024
    Copy the full SHA
    090056b View commit details
  4. chore: bump

    triniwiz committed Jan 29, 2024
    Copy the full SHA
    f0fa6bb View commit details
  5. Copy the full SHA
    c1b63bd View commit details
  6. chore: bump lib

    triniwiz committed Jan 29, 2024
    Copy the full SHA
    48fe55a View commit details

Commits on Jan 30, 2024

  1. Copy the full SHA
    f5d8a0a View commit details

Commits on Feb 1, 2024

  1. fix: drawPoints

    triniwiz committed Feb 1, 2024
    Copy the full SHA
    2d67283 View commit details
  2. fix(ios): layout

    triniwiz committed Feb 1, 2024
    Copy the full SHA
    690ce2a View commit details
  3. fix: ownerDocument

    triniwiz committed Feb 1, 2024
    Copy the full SHA
    f5823e2 View commit details
  4. feat: dom shaders

    triniwiz committed Feb 1, 2024
    Copy the full SHA
    89c9299 View commit details
  5. fix: min platform version

    triniwiz committed Feb 1, 2024
    Copy the full SHA
    1660317 View commit details
  6. fix: lineTo

    feat: path fill type
    triniwiz committed Feb 1, 2024
    Copy the full SHA
    19ee798 View commit details
Showing 2,128 changed files with 471,442 additions and 236,965 deletions.
66 changes: 66 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
#[target.aarch64-apple-visionos]
#rustflags = [
# "-C", "link-arg=-undefined",
# "-C", "link-arg=dynamic_lookup",
# "-C", "target-cpu=native",
# "-C", "panic=abort"
#]
#
#[target.aarch64-apple-visionos-sim]
#rustflags = [
# "-C", "link-arg=-undefined",
# "-C", "link-arg=dynamic_lookup",
# "-C", "target-cpu=native",
# "-C", "panic=abort"
#]

[target.x86_64-apple-darwin]
rustflags = [
"-C", "link-arg=-undefined",
"-C", "link-arg=dynamic_lookup",
"-C", "panic=abort"
]

[target.aarch64-apple-darwin]
rustflags = [
"-C", "link-arg=-undefined",
"-C", "link-arg=dynamic_lookup",
"-C", "panic=abort"
]


[target.x86_64-apple-ios]
rustflags = [
"-C", "link-arg=-undefined",
"-C", "link-arg=dynamic_lookup",
"-C", "panic=abort"
]

[target.aarch64-apple-ios]
rustflags = [
"-C", "link-arg=-undefined",
"-C", "link-arg=dynamic_lookup",
"-C", "panic=abort"
]

[target.armv7-linux-androideabi]
rustflags = [
"-C", "panic=abort",
"-C", "target-feature=-outline-atomics"
]

[target.aarch64-linux-android]
rustflags = [
"-C", "panic=abort",
"-C", "target-feature=-outline-atomics"
]

[target.i686-linux-android]
rustflags = [
"-C", "panic=abort",
]

[target.x86_64-linux-android]
rustflags = [
"-C", "panic=abort",
]
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
41 changes: 0 additions & 41 deletions .eslintrc

This file was deleted.

47 changes: 47 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
{
"root": true,
"ignorePatterns": ["**/*"],
"plugins": ["@nx"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"rules": {
"@nx/enforce-module-boundaries": [
"error",
{
"enforceBuildableLibDependency": true,
"allow": [],
"depConstraints": [
{
"sourceTag": "*",
"onlyDependOnLibsWithTags": ["*"]
}
]
}
]
}
},
{
"files": ["*.ts", "*.tsx"],
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier", "plugin:@nx/typescript"],
"rules": {
"@typescript-eslint/no-extra-semi": "error",
"no-extra-semi": "off"
}
},
{
"files": ["*.js", "*.jsx"],
"extends": ["plugin:@nx/javascript"],
"rules": {
"@typescript-eslint/no-extra-semi": "error",
"no-extra-semi": "off"
}
},
{
"files": ["references.d.ts"],
"rules": {
"@typescript-eslint/triple-slash-reference": "off"
}
}
]
}
Loading