Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
df47704
feat: dart box [wip]
wisetarman Oct 29, 2023
653fa16
feat: implement resize, resizeSymmetric, and resizeScaled (wip)
wisetarman Nov 6, 2023
549d444
fix: fix side scale resize, move offset extension to extensions.dart,…
wisetarman Nov 7, 2023
bf3e235
feat: resizeScaled now handles initialFlip
wisetarman Nov 7, 2023
9ada499
feat: resizeScaled now handles flipping on resize
wisetarman Nov 7, 2023
e77787e
chore: ignore warning
wisetarman Nov 7, 2023
3f769db
feat: fixed and improved `scaledResize` for sides
wisetarman Nov 7, 2023
3297ad6
fix: handle `scaledResize` for flip
wisetarman Nov 7, 2023
c07bc66
fix: remove boundaryMargin so InteractiveViewer doesn't actually work
wisetarman Nov 7, 2023
61d3a15
feat: mouse buttons pressed state
wisetarman Nov 8, 2023
64e0e23
chore: clean
wisetarman Nov 8, 2023
3e9b2c8
fix(pointers_cubit): use only enum not list
wisetarman Nov 8, 2023
10d76b0
fix: `scaledResize` remove unnecessary flip
wisetarman Nov 8, 2023
8e32e2a
docs(geometry): add docs for public members
wisetarman Nov 8, 2023
0e8f8b9
docs: geometry
wisetarman Nov 10, 2023
3c87062
feat: `resizeSymmetricScaled`
wisetarman Nov 15, 2023
b241cd5
fix: `resizeSymmetricScaled` side resize
wisetarman Nov 15, 2023
ae87c77
feat: add `CanvasInteractiveViewer` and add `HitTestBehavior.opaque` …
wisetarman Nov 21, 2023
f03c90d
feat: use KeyboardListener instead of RawKeyboardListener
wisetarman Nov 21, 2023
f61ea01
feat: update min scale to 1%
wisetarman Dec 3, 2023
8df38b9
feat: fix geometry, add controllers in the rectangle
wisetarman Dec 4, 2023
1721835
feat: flutter 3.18, new working canvas with elements, migrate to sign…
wisetarman Dec 31, 2023
34824ab
feat: snapping, snap lines, signals, etc
wisetarman Jan 6, 2024
e91aa8d
fix: fixed line intersection wrong points
wisetarman Jan 6, 2024
4da0860
fix: apply canvas transform when marquee select
wisetarman Jan 6, 2024
2646393
feat: layer sidebar
wisetarman Jan 6, 2024
2547f9b
feat: better reorderable handle, cleanup unused files, refactor files…
wisetarman Jan 6, 2024
94ff774
chore: cleanup unused deps
wisetarman Jan 6, 2024
1d6265a
chore: dcm fix
wisetarman Jan 6, 2024
0ab2224
chore: doc
wisetarman Jan 6, 2024
931dd31
feat: ci
wisetarman Jan 6, 2024
507b8af
chore: lint [skip ci]
wisetarman Jan 6, 2024
44080a7
feat: melos, fix ci
wisetarman Jan 6, 2024
0ce78d1
fix: ci
wisetarman Jan 6, 2024
19cf6f3
feat: batch signal in marquee
wisetarman Jan 6, 2024
a3608a0
chore: pubspec.yaml
wisetarman Jan 6, 2024
6355ead
feat: fix ci, lints, remove unused files
wisetarman Jan 6, 2024
880e727
chore: baseline
wisetarman Jan 6, 2024
cd7f25c
chore: lints
wisetarman Jan 6, 2024
2dac057
fix: translate, snaplines, box clone
wisetarman Jan 7, 2024
3ec5238
feat: (maybe) improve marqueeRect performance
wisetarman Jan 7, 2024
e84cc3a
feat: experiment try use map ( reorder not implemented )
wisetarman Jan 7, 2024
df9e2ae
Revert "feat: experiment try use map ( reorder not implemented )"
wisetarman Jan 7, 2024
83f5699
feat: initial rust integration
wisetarman Jan 8, 2024
25b395a
fix: run_build_tool.sh permission, dcm analyze lib
wisetarman Jan 9, 2024
6cbbd04
fix: fixed marquee prevented panning with trackpad
wisetarman Jan 9, 2024
14ac110
chore: macos [skip ci]
wisetarman Jan 9, 2024
674cf39
feat: scaled resize with outside and inside bounds (wip) [skip ci]
wisetarman Jan 9, 2024
4a8fc3c
feat: better snapPointToLine
wisetarman Jan 10, 2024
9e9d94e
feat: better snapPointToLine
wisetarman Jan 10, 2024
7986394
feat: update frb, improve hover performance
wisetarman Jan 20, 2024
edf8685
chore: flutter version, cleanup
wisetarman Jan 20, 2024
2f7b679
feat: hover, cleanup
wisetarman Jan 20, 2024
03b9bd7
feat: prepare change valuesignal [skip ci]
wisetarman Jan 20, 2024
1447d77
feat(WIP): improve performance (dart and rust), fix hover perf
wisetarman Jan 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 45 additions & 29 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,40 +2,56 @@ name: Flutter build

on:
push:
branches: [main]


jobs:
dcm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: subosito/flutter-action@v2.11.0
with:
flutter-version: "3.19.0-0.1.pre"
channel: "beta"
- uses: bluefireteam/melos-action@v3
- name: Install DCM
uses: CQLabs/setup-dcm@v1
with:
github_token: ${{ secrets.ACCESS_TOKEN }}

- name: Run DCM
run: dcm analyze lib
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4.1.0
- uses: subosito/flutter-action@v2.11.0
with:
flutter-version: "3.13.7"
channel: "stable"
- name: Get dependencies
run: flutter pub get
- name: Build macOS executable
run: flutter build macos --release
- name: Upload macOS executable
uses: actions/upload-artifact@v3.1.3
with:
name: macos-executable
path: build/macos/Build/Products/Release/*
- uses: actions/checkout@v4.1.0
- uses: subosito/flutter-action@v2.11.0
with:
flutter-version: "3.19.0-0.1.pre"
channel: "beta"
- name: Get dependencies
run: flutter pub get
- name: Build macOS executable
run: flutter build macos --release
- name: Upload macOS executable
uses: actions/upload-artifact@v3.1.3
with:
name: macos-executable
path: build/macos/Build/Products/Release/*
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4.1.0
- uses: subosito/flutter-action@v2.11.0
with:
flutter-version: "3.13.7"
channel: "stable"
- name: Get dependencies
run: flutter pub get
- name: Build Windows executable
run: flutter build windows --release
- name: Upload Windows executable
uses: actions/upload-artifact@v3.1.3
with:
name: windows-executable
path: build/windows/runner/Release/*
- uses: actions/checkout@v4.1.0
- uses: subosito/flutter-action@v2.11.0
with:
flutter-version: "3.19.0-0.1.pre"
channel: "beta"
- name: Get dependencies
run: flutter pub get
- name: Build Windows executable
run: flutter build windows --release
- name: Upload Windows executable
uses: actions/upload-artifact@v3.1.3
with:
name: windows-executable
path: build/windows/x64/runner/Release/*
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
- uses: actions/checkout@v4.1.0
- uses: subosito/flutter-action@v2.11.0
with:
flutter-version: "3.13.7"
channel: 'stable'
flutter-version: "3.19.0-0.1.pre"
channel: 'beta'

- run: flutter clean
- run: flutter pub get
Expand Down
25 changes: 25 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "editicert",
"request": "launch",
"type": "dart"
},
{
"name": "editicert (profile mode)",
"request": "launch",
"type": "dart",
"flutterMode": "profile"
},
{
"name": "editicert (release mode)",
"request": "launch",
"type": "dart",
"flutterMode": "release"
}
]
}
11 changes: 11 additions & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,21 @@ include: package:very_good_analysis/analysis_options.yaml
linter:
rules:

analyzer:
exclude:
- test/**
- lib/generated/**
- lib/src/**
- lib/widgets/canvas_interactive_viewer.dart
- rust_builder/**

dart_code_metrics:
extends:
- package:dart_code_metrics_presets/recommended.yaml
- package:dart_code_metrics_presets/metrics_recommended.yaml
rules-exclude:
- test/**
- lib/generated/**
- lib/src/**
- lib/widgets/canvas_interactive_viewer.dart
- rust_builder/**
2 changes: 2 additions & 0 deletions devtools_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
extensions:
- signals: true
2 changes: 2 additions & 0 deletions flutter_rust_bridge.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
rust_input: rust/src/api/**/*.rs
dart_output: lib/src/rust
1 change: 1 addition & 0 deletions gen.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
dart run build_runner build
Loading