Compare commits
10 Commits
thermion_d
...
thermion_f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3dce7a61a8 | ||
|
|
5dac06d335 | ||
|
|
a8d21fe316 | ||
|
|
d784efa44a | ||
|
|
b2a4955d54 | ||
|
|
02d7a0acfd | ||
|
|
ee5c08f795 | ||
|
|
d7debf981c | ||
|
|
2b4a73f355 | ||
|
|
06b20ec6fc |
46
.github/workflows/dart.yml
vendored
46
.github/workflows/dart.yml
vendored
@@ -2,7 +2,6 @@
|
||||
# They are provided by a third-party and are governed by
|
||||
# separate terms of service, privacy policy, and support
|
||||
# documentation.
|
||||
|
||||
name: Dart
|
||||
|
||||
on:
|
||||
@@ -12,18 +11,20 @@ on:
|
||||
branches: [ "develop" ]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
thermion_dart:
|
||||
name: thermion_dart
|
||||
runs-on: macos-13
|
||||
defaults:
|
||||
run:
|
||||
working-directory: thermion_dart # Adjust this path
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
# Note: This workflow uses the latest stable version of the Dart SDK.
|
||||
# You can specify other versions if desired, see documentation here:
|
||||
# https://github.com/dart-lang/setup-dart/blob/main/README.md
|
||||
# - uses: dart-lang/setup-dart@v1
|
||||
|
||||
- uses: dart-lang/setup-dart@9a04e6d73cca37bd455e0608d7e5092f881fd603
|
||||
|
||||
with:
|
||||
sdk: '3.6.0-326.0.dev'
|
||||
channel: 'dev'
|
||||
- name: Install dependencies
|
||||
run: dart pub get
|
||||
|
||||
@@ -31,12 +32,33 @@ jobs:
|
||||
# - name: Verify formatting
|
||||
# run: dart format --output=none --set-exit-if-changed .
|
||||
|
||||
# Consider passing '--fatal-infos' for slightly stricter analysis.
|
||||
- name: Analyze project source
|
||||
run: dart analyze
|
||||
|
||||
# Your project will need to have tests in test/ and a dependency on
|
||||
# package:test for this step to succeed. Note that Flutter projects will
|
||||
# want to change this to 'flutter test'.
|
||||
- name: Run tests
|
||||
run: dart --enable-experiment=native-assets test
|
||||
|
||||
# thermion_flutter:
|
||||
# name: thermion_flutter
|
||||
# runs-on: macos-13
|
||||
# defaults:
|
||||
# run:
|
||||
# working-directory: thermion_flutter/thermion_flutter # Adjust this path
|
||||
|
||||
# steps:
|
||||
# - uses: actions/checkout@v4
|
||||
|
||||
# - uses: dart-lang/setup-dart@9a04e6d73cca37bd455e0608d7e5092f881fd603
|
||||
|
||||
# - name: Install dependencies
|
||||
# run: dart pub get
|
||||
|
||||
# # Uncomment this step to verify the use of 'dart format' on each commit.
|
||||
# # - name: Verify formatting
|
||||
# # run: dart format --output=none --set-exit-if-changed .
|
||||
|
||||
# - name: Analyze project source
|
||||
# run: dart analyze
|
||||
|
||||
# - name: Run tests
|
||||
# run: dart --enable-experiment=native-assets test
|
||||
|
||||
75
CHANGELOG.md
75
CHANGELOG.md
@@ -3,6 +3,81 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
||||
|
||||
## 2024-10-25
|
||||
|
||||
### Changes
|
||||
|
||||
---
|
||||
|
||||
Packages with breaking changes:
|
||||
|
||||
- There are no breaking changes in this release.
|
||||
|
||||
Packages with other changes:
|
||||
|
||||
- [`thermion_dart` - `v0.2.1-dev.0.0.12`](#thermion_dart---v021-dev0012)
|
||||
- [`thermion_flutter` - `v0.2.1-dev.12`](#thermion_flutter---v021-dev12)
|
||||
- [`thermion_flutter_web` - `v0.2.0+3`](#thermion_flutter_web---v0203)
|
||||
- [`thermion_flutter_platform_interface` - `v0.2.1-dev.12`](#thermion_flutter_platform_interface---v021-dev12)
|
||||
- [`thermion_flutter_ffi` - `v0.2.1-dev.12`](#thermion_flutter_ffi---v021-dev12)
|
||||
|
||||
Packages with dependency updates only:
|
||||
|
||||
> Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.
|
||||
|
||||
- `thermion_flutter_web` - `v0.2.0+3`
|
||||
- `thermion_flutter_platform_interface` - `v0.2.1-dev.12`
|
||||
- `thermion_flutter_ffi` - `v0.2.1-dev.12`
|
||||
|
||||
---
|
||||
|
||||
#### `thermion_dart` - `v0.2.1-dev.0.0.12`
|
||||
|
||||
- **FIX**: properly pass through loadResourcesAsync flag for loadGlbFromBuffer.
|
||||
- **FIX**: properly pass through loadResourcesAsync flag for loadGlbFromBuffer.
|
||||
- **FEAT**: add SCALE2_MOVE InputType.
|
||||
- **FEAT**: add SCALE2_MOVE InputType.
|
||||
|
||||
#### `thermion_flutter` - `v0.2.1-dev.12`
|
||||
|
||||
- **FIX**: (flutter) (windows) remove deleted source file from Windows CMakeLists.
|
||||
|
||||
|
||||
## 2024-10-25
|
||||
|
||||
### Changes
|
||||
|
||||
---
|
||||
|
||||
Packages with breaking changes:
|
||||
|
||||
- There are no breaking changes in this release.
|
||||
|
||||
Packages with other changes:
|
||||
|
||||
- [`thermion_dart` - `v0.2.1-dev.0.0.12`](#thermion_dart---v021-dev0012)
|
||||
- [`thermion_flutter_web` - `v0.2.0+2`](#thermion_flutter_web---v0202)
|
||||
- [`thermion_flutter_platform_interface` - `v0.2.1-dev.11`](#thermion_flutter_platform_interface---v021-dev11)
|
||||
- [`thermion_flutter_ffi` - `v0.2.1-dev.11`](#thermion_flutter_ffi---v021-dev11)
|
||||
- [`thermion_flutter` - `v0.2.1-dev.11`](#thermion_flutter---v021-dev11)
|
||||
|
||||
Packages with dependency updates only:
|
||||
|
||||
> Packages listed below depend on other packages in this workspace that have had changes. Their versions have been incremented to bump the minimum dependency versions of the packages they depend upon in this project.
|
||||
|
||||
- `thermion_flutter_web` - `v0.2.0+2`
|
||||
- `thermion_flutter_platform_interface` - `v0.2.1-dev.11`
|
||||
- `thermion_flutter_ffi` - `v0.2.1-dev.11`
|
||||
- `thermion_flutter` - `v0.2.1-dev.11`
|
||||
|
||||
---
|
||||
|
||||
#### `thermion_dart` - `v0.2.1-dev.0.0.12`
|
||||
|
||||
- **FIX**: properly pass through loadResourcesAsync flag for loadGlbFromBuffer.
|
||||
- **FEAT**: add SCALE2_MOVE InputType.
|
||||
|
||||
|
||||
## 2024-10-24
|
||||
|
||||
### Changes
|
||||
|
||||
@@ -1,3 +1,15 @@
|
||||
## 0.2.1-dev.0.0.12
|
||||
|
||||
- **FIX**: properly pass through loadResourcesAsync flag for loadGlbFromBuffer.
|
||||
- **FIX**: properly pass through loadResourcesAsync flag for loadGlbFromBuffer.
|
||||
- **FEAT**: add SCALE2_MOVE InputType.
|
||||
- **FEAT**: add SCALE2_MOVE InputType.
|
||||
|
||||
## 0.2.1-dev.0.0.12
|
||||
|
||||
- **FIX**: properly pass through loadResourcesAsync flag for loadGlbFromBuffer.
|
||||
- **FEAT**: add SCALE2_MOVE InputType.
|
||||
|
||||
## 0.2.1-dev.0.0.11
|
||||
|
||||
> Note: This release has breaking changes.
|
||||
|
||||
@@ -13,8 +13,9 @@ enum InputType {
|
||||
MMB_UP,
|
||||
MMB_HOVER,
|
||||
SCALE1,
|
||||
SCALE2,
|
||||
SCALE2_ROTATE,
|
||||
SCALE2, // two fingers pinchin in/out
|
||||
SCALE2_ROTATE, // two fingers rotating in a circle
|
||||
SCALE2_MOVE, // two fingers sliding along a line
|
||||
SCROLLWHEEL,
|
||||
POINTER_MOVE,
|
||||
KEYDOWN_W,
|
||||
|
||||
@@ -170,7 +170,7 @@ extern "C"
|
||||
|
||||
EMSCRIPTEN_KEEPALIVE EntityId SceneManager_loadGlbFromBuffer(TSceneManager *sceneManager, const uint8_t *const data, size_t length, bool keepData, int priority, int layer, bool loadResourcesAsync)
|
||||
{
|
||||
return ((SceneManager *)sceneManager)->loadGlbFromBuffer((const uint8_t *)data, length, 1, keepData, priority, layer);
|
||||
return ((SceneManager *)sceneManager)->loadGlbFromBuffer((const uint8_t *)data, length, 1, keepData, priority, layer, loadResourcesAsync);
|
||||
}
|
||||
|
||||
EMSCRIPTEN_KEEPALIVE EntityId create_instance(TSceneManager *sceneManager, EntityId entityId)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name: thermion_dart
|
||||
description: 3D rendering toolkit for Dart.
|
||||
version: 0.2.1-dev.0.0.11
|
||||
version: 0.2.1-dev.0.0.12
|
||||
homepage: https://thermion.dev
|
||||
repository: https://github.com/nmfisher/thermion
|
||||
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
## 0.2.1-dev.12
|
||||
|
||||
- **FIX**: (flutter) (windows) remove deleted source file from Windows CMakeLists.
|
||||
|
||||
## 0.2.1-dev.11
|
||||
|
||||
- Update a dependency to the latest release.
|
||||
|
||||
## 0.2.1-dev.10
|
||||
|
||||
> Note: This release has breaking changes.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name: thermion_flutter
|
||||
description: Flutter plugin for 3D rendering with the Thermion toolkit.
|
||||
version: 0.2.1-dev.10
|
||||
version: 0.2.1-dev.12
|
||||
homepage: https://thermion.dev
|
||||
repository: https://github.com/nmfisher/thermion
|
||||
|
||||
@@ -17,10 +17,10 @@ dependencies:
|
||||
plugin_platform_interface: ^2.0.0
|
||||
ffi: ^2.1.2
|
||||
animation_tools_dart: ^0.1.0
|
||||
thermion_dart: ^0.2.1-dev.0.0.11
|
||||
thermion_flutter_platform_interface: ^0.2.1-dev.10
|
||||
thermion_flutter_ffi: ^0.2.1-dev.10
|
||||
thermion_flutter_web: ^0.2.0+1
|
||||
thermion_dart: ^0.2.1-dev.0.0.12
|
||||
thermion_flutter_platform_interface: ^0.2.1-dev.12
|
||||
thermion_flutter_ffi: ^0.2.1-dev.12
|
||||
thermion_flutter_web: ^0.2.0+3
|
||||
logging: ^1.2.0
|
||||
web: ^1.0.0
|
||||
|
||||
|
||||
@@ -33,7 +33,6 @@ add_library(${PLUGIN_NAME} SHARED
|
||||
"include/thermion_flutter/thermion_flutter_plugin_c_api.h"
|
||||
"thermion_flutter_plugin_c_api.cpp"
|
||||
${PLUGIN_SOURCES}
|
||||
"include/material/image.c"
|
||||
)
|
||||
|
||||
set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
## 0.2.1-dev.12
|
||||
|
||||
- Update a dependency to the latest release.
|
||||
|
||||
## 0.2.1-dev.11
|
||||
|
||||
- Update a dependency to the latest release.
|
||||
|
||||
## 0.2.1-dev.10
|
||||
|
||||
- Update a dependency to the latest release.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: thermion_flutter_ffi
|
||||
description: An FFI implementation for thermion_flutter (i.e. all platforms except web).
|
||||
repository: https://github.com/nmfisher/thermion_flutter/thermion_flutter
|
||||
version: 0.2.1-dev.10
|
||||
version: 0.2.1-dev.12
|
||||
|
||||
environment:
|
||||
sdk: ">=3.3.0 <4.0.0"
|
||||
@@ -23,8 +23,8 @@ dependencies:
|
||||
flutter:
|
||||
sdk: flutter
|
||||
plugin_platform_interface: ^2.1.0
|
||||
thermion_flutter_platform_interface: ^0.2.1-dev.10
|
||||
thermion_dart: ^0.2.1-dev.0.0.11
|
||||
thermion_flutter_platform_interface: ^0.2.1-dev.12
|
||||
thermion_dart: ^0.2.1-dev.0.0.12
|
||||
logging: ^1.2.0
|
||||
|
||||
dev_dependencies:
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
## 0.2.1-dev.12
|
||||
|
||||
- Update a dependency to the latest release.
|
||||
|
||||
## 0.2.1-dev.11
|
||||
|
||||
- Update a dependency to the latest release.
|
||||
|
||||
## 0.2.1-dev.10
|
||||
|
||||
- Update a dependency to the latest release.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: thermion_flutter_platform_interface
|
||||
description: A common platform interface for the thermion_flutter plugin.
|
||||
repository: https://github.com/nmfisher/thermion_flutter/thermion_flutter
|
||||
version: 0.2.1-dev.10
|
||||
version: 0.2.1-dev.12
|
||||
|
||||
environment:
|
||||
sdk: ">=3.3.0 <4.0.0"
|
||||
@@ -11,7 +11,7 @@ dependencies:
|
||||
flutter:
|
||||
sdk: flutter
|
||||
plugin_platform_interface: ^2.1.0
|
||||
thermion_dart: ^0.2.1-dev.0.0.11
|
||||
thermion_dart: ^0.2.1-dev.0.0.12
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
|
||||
@@ -1,3 +1,11 @@
|
||||
## 0.2.0+3
|
||||
|
||||
- Update a dependency to the latest release.
|
||||
|
||||
## 0.2.0+2
|
||||
|
||||
- Update a dependency to the latest release.
|
||||
|
||||
## 0.2.0+1
|
||||
|
||||
- Update a dependency to the latest release.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: thermion_flutter_web
|
||||
description: A web platform interface for the thermion_flutter plugin.
|
||||
repository: https://github.com/nmfisher/thermion_flutter/thermion_flutter
|
||||
version: 0.2.0+1
|
||||
version: 0.2.0+3
|
||||
|
||||
environment:
|
||||
sdk: ">=3.3.0 <4.0.0"
|
||||
@@ -20,8 +20,8 @@ dependencies:
|
||||
sdk: flutter
|
||||
plugin_platform_interface: ^2.1.0
|
||||
web: ^1.0.0
|
||||
thermion_dart: ^0.2.1-dev.0.0.11
|
||||
thermion_flutter_platform_interface: ^0.2.1-dev.10
|
||||
thermion_dart: ^0.2.1-dev.0.0.12
|
||||
thermion_flutter_platform_interface: ^0.2.1-dev.12
|
||||
flutter_web_plugins:
|
||||
sdk: flutter
|
||||
|
||||
|
||||
Reference in New Issue
Block a user