Commit Graph

1103 Commits

Author SHA1 Message Date
Syoyo Fujita
f10abe07e5 Merge pull request #529 from syoyo/copilot/update-ci-workflow-comprehensive-builds
Add comprehensive multi-platform CI workflow with 15 build configurations
2026-02-05 05:42:31 +09:00
Syoyo Fujita
57b1c99db2 Use CMake and ctest for RapidJSON backend build
Convert RapidJSON backend job from manual g++ builds to CMake,
enabling ctest for running tests.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 05:35:46 +09:00
Syoyo Fujita
47717e469c Add ctest to CMake-based builds
Run ctest after build for:
- Windows x64 MSVC
- Windows x86 MSVC
- Windows MinGW MSYS2
- Linux Header-Only Mode

Cross-compile builds (Windows ARM64, Linux→Windows MinGW) are excluded
since tests cannot run on the host.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 05:19:22 +09:00
Syoyo Fujita
a3618c945b Remove macOS Intel job from CI
macOS Intel runners are being deprecated. Keep only the ARM64
Apple Silicon job for macOS coverage.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 05:08:09 +09:00
Syoyo Fujita
80e94aeec8 Fix CI: update macOS runner and remove Windows unit tests
- Change macos-13 to macos-15-large for Intel x64 (macos-13 is retired)
- Remove Windows MSVC unit tests (they have path-related issues and
  the existing c-cpp.yml workflow doesn't run tests on Windows either)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 04:54:40 +09:00
Syoyo Fujita
604411c80a Fix Windows MSVC unit tests build by setting up developer environment
The `cl` compiler was not in PATH because the Visual Studio developer
environment needs to be set up before calling MSVC tools directly.
Added `ilammy/msvc-dev-cmd@v1` action to configure the environment.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 04:54:40 +09:00
copilot-swe-agent[bot]
f5dcdf2e9a Add security: restrict GITHUB_TOKEN permissions to read-only
Co-authored-by: syoyo <18676+syoyo@users.noreply.github.com>
2026-02-05 04:54:40 +09:00
copilot-swe-agent[bot]
2746c376f8 Add comprehensive CI workflow with multi-platform builds and tests
Co-authored-by: syoyo <18676+syoyo@users.noreply.github.com>
2026-02-05 04:54:40 +09:00
copilot-swe-agent[bot]
3216eb4df5 Initial plan 2026-02-05 04:54:40 +09:00
Syoyo Fujita
dda694e13f Merge pull request #530 from syoyo/add-cmake-test-target
Add CMake test target and fix Windows test failure
2026-02-05 04:52:23 +09:00
Syoyo Fujita
b3e0d78bf9 Add CMake test target and fix Windows test failure
- Add TINYGLTF_BUILD_TESTS option to build unit tests via CMake
- Test runs from tests/ directory so relative paths work correctly
- Fix Windows file sharing violation in images-as-is test by closing
  fstream before stbi_load attempts to open the same file

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 04:45:27 +09:00
Syoyo Fujita
280986940b Merge pull request #528 from syoyo/copilot/add-copilot-review-instructions
Add Copilot review instructions for code quality and security checks
2026-02-03 08:55:23 +09:00
copilot-swe-agent[bot]
55930ff737 Add Copilot review instructions for tinygltf repository
Co-authored-by: syoyo <18676+syoyo@users.noreply.github.com>
2026-02-02 23:48:15 +00:00
copilot-swe-agent[bot]
d8a00f0f4e Initial plan 2026-02-02 23:46:46 +00:00
Syoyo Fujita
488a70a3df Merge branch 'release' of github.com:syoyo/tinygltf into release v2.9.7 2025-11-02 10:11:11 +09:00
Syoyo Fujita
148ed6c507 Update the usage code: https://github.com/syoyo/tinygltf/pull/524 2025-11-02 10:10:11 +09:00
Syoyo Fujita
f996e3b092 Merge pull request #525 from nyalldawson/performance
Minor performance fixes
2025-11-02 10:08:23 +09:00
Nyall Dawson
f9f49d355d Fix some 'use of auto that causes a copy' warnings 2025-10-31 08:44:42 +10:00
Nyall Dawson
c61ab2c7bb Fix some variable copied when could be moved warnings 2025-10-31 08:44:26 +10:00
Syoyo Fujita
26422192e2 Merge pull request #517 from nepp95/release
Removed TINYGLTF_USE_CPP14 option since it is unused
v2.9.6
2025-05-20 06:31:38 +09:00
Niels Eppenhof
77fec96878 Removed TINYGLTF_USE_CPP14 option since it is unused 2025-05-19 14:58:41 +02:00
Syoyo Fujita
4b7e16741d Merge pull request #516 from DrQuackeroo/c24695-fix
Initialize Accessor::Sparse members to default values
2025-05-06 09:14:08 +09:00
Sammy Newhide
213dcc7919 Revert e957334 by adding default constructor for Accessor 2025-05-05 17:04:52 -07:00
Sammy Newhide
e9573349e7 Remove explicit default constructor for Accessor
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-05 16:43:20 -07:00
Sammy Newhide
8a319d3efc Initialize Accessor::Sparse members to default values 2025-05-05 15:20:30 -07:00
Syoyo Fujita
b956fa3e9d Merge pull request #512 from ctrlaltf2/oob-fix
Add bounds check to images loaded from bufferviews
v2.9.5
2025-01-22 22:45:07 +09:00
ctrlaltf2
baa70db5a8 Add bounds check to images loaded from bufferviews 2025-01-20 23:43:07 -05:00
Syoyo Fujita
5f330f3952 Merge pull request #509 from NoirMorilec/fix-no-fs
Added NO_FS definition for std::ofstream usage
v2.9.4
2024-12-30 22:11:09 +09:00
Leonid
5d7fa94a4b Added NO_FS definition for std::ofstream usage 2024-12-30 03:12:20 +08:00
Syoyo Fujita
a93facf9b2 Merge pull request #507 from thearchivalone/release
Documentation: Submodule hint added
2024-12-21 19:59:42 +09:00
Brad
0c4b226f1f Documentation: Submodule hint added 2024-12-20 17:49:51 -06:00
Syoyo Fujita
2d31d6fe74 Merge pull request #504 from nim65s/vendor 2024-10-16 23:27:42 +09:00
Syoyo Fujita
50a29a6cf6 Merge pull request #503 from nim65s/release 2024-10-16 23:26:53 +09:00
Guilhem Saurel
bf23ecdfe1 CMake: fix export install dir 2024-10-16 15:53:48 +02:00
Guilhem Saurel
ce27d3cb2b CMake: allow opt-out of installing vendored headers 2024-10-16 14:58:42 +02:00
Syoyo Fujita
14ba27113e Merge pull request #501 from msklywenn/release
Fix Animation extensions being loaded in place of Sampler extensions
v2.9.3
2024-08-08 21:47:56 +09:00
Daniel Borges
1b983add49 Merge branch 'syoyo:release' into release 2024-08-08 10:25:11 +02:00
Syoyo Fujita
f132d242aa Merge pull request #496 from ptc-tgamper/bug/issue-495
Allow WriteImageDataFunction() callback to be called with empty images
2024-07-26 21:44:16 +09:00
Thomas Gamper
bde9ad61c1 fixes #495
Fix issues that block custom image loaders and writers to deal with empty images
2024-07-23 11:45:54 +02:00
Daniel Borges
314faac311 fixed ParseAnimation loading animation's extensions into sampler instead of sample's extensions. 2024-07-19 12:34:16 +02:00
Syoyo Fujita
3cb2822512 Merge pull request #493 from ptc-tgamper/bug/model_clear_on_load
Properly clear the model before loading
v2.9.2
2024-07-06 02:43:52 +09:00
Thomas Gamper
7c16fd3b43 Properly clear the model before loading 2024-07-05 08:57:36 +02:00
Syoyo Fujita
35d3f5ae0a Update README.md 2024-07-04 03:01:46 +09:00
Syoyo Fujita
5a20fbd7f7 Merge pull request #492 from danwillm/inverse-bind-matrix
Make inverseBindMatrices optional
v2.9.1
2024-07-04 02:59:35 +09:00
danwillm
0e28f1ef38 Add test for inverse bind matrices being optional 2024-07-01 22:32:17 +01:00
danwillm
54fd914bc1 Make inverseBindMatrices optional 2024-07-01 18:31:00 +01:00
Syoyo Fujita
43055c0ed1 bump minor version. v2.9.0 2024-06-28 21:30:43 +09:00
Syoyo Fujita
953bf8bd1c Merge pull request #491 from ptc-tgamper/bug/image_saving
Fix images not being saved due to missing filesystem callbacks
2024-06-28 21:24:53 +09:00
Thomas Gamper
9cf25ef930 fixes #487
Support image as_is flag in loading and saving
2024-06-28 12:17:38 +02:00
Thomas Gamper
a440b44ef9 fixes #473
tiny_gltf.h - explicitly pass filesystem callbacks to image related functions
tester.cc - add respective test case, fix image uri test case
2024-06-25 15:12:30 +02:00