Commit Graph

7589 Commits

Author SHA1 Message Date
Janine Liu 5b3b30e0d9
Merge pull request #1276 from CesiumGS/removed-credit-sources
cesium-native / Quick Checks (push) Waiting to run Details
cesium-native / Linting (push) Waiting to run Details
cesium-native / Documentation (push) Waiting to run Details
cesium-native / ${{matrix.platform}} / ${{matrix.build_type}} (Debug, windows-2022) (push) Waiting to run Details
cesium-native / ${{matrix.platform}} / ${{matrix.build_type}} (RelWithDebInfo, windows-2022) (push) Waiting to run Details
cesium-native / ${{matrix.platform}} / ${{matrix.compiler}} / ${{matrix.build_type}} (Debug, clang, macos-13) (push) Waiting to run Details
cesium-native / ${{matrix.platform}} / ${{matrix.compiler}} / ${{matrix.build_type}} (Debug, clang, ubuntu-22.04) (push) Waiting to run Details
cesium-native / ${{matrix.platform}} / ${{matrix.compiler}} / ${{matrix.build_type}} (Debug, gcc, ubuntu-24.04) (push) Waiting to run Details
cesium-native / ${{matrix.platform}} / ${{matrix.compiler}} / ${{matrix.build_type}} (RelWithDebInfo, clang, macos-13) (push) Waiting to run Details
cesium-native / ${{matrix.platform}} / ${{matrix.compiler}} / ${{matrix.build_type}} (RelWithDebInfo, clang, ubuntu-22.04) (push) Waiting to run Details
cesium-native / ${{matrix.platform}} / ${{matrix.compiler}} / ${{matrix.build_type}} (RelWithDebInfo, gcc, ubuntu-24.04) (push) Waiting to run Details
cesium-native / Emscripten v${{matrix.version}} ${{matrix.memory}}bit memory (32, 3.1.39) (push) Waiting to run Details
cesium-native / Emscripten v${{matrix.version}} ${{matrix.memory}}bit memory (32, 4.0.13) (push) Waiting to run Details
cesium-native / Emscripten v${{matrix.version}} ${{matrix.memory}}bit memory (64, 4.0.13) (push) Waiting to run Details
Report credits with destroyed source as removed.
2025-11-25 10:30:10 -05:00
Ashley Rogers 5745cb84b4
Merge pull request #1279 from CesiumGS/more-emscripten
More build system improvements to support Cesium for Unity on the web
2025-11-25 10:25:34 -05:00
Ashley Rogers 8666d2a783
Merge pull request #1278 from CesiumGS/install-zlib
Install zlib when CesiumCurl is enabled
2025-11-25 10:20:25 -05:00
Kevin Ring 2685803664 Build system improvements.
1. Set CMAKE_FIND_ROOT_PATH. The vcpkg toolchain will do this itself if
   it manages to run, but it won't run when cesium-native's
   CMakeLists.txt is add_subdirectory'd into another project. By making
   sure this is set, we avoid the need to set `CMAKE_FIND_ROOT_PATH_MODE_LIBRARY`
   similar to `BOTH` when cross-compiling in order for the build to be
   able to find the vcpkg dependencies.
2. Detect the triplet as `wasm32-emscripten` if _either_
   `CESIUM_TARGET_WASM` is explicitly set, or the `CMAKE_SYSTEM_NAME` is
   `Emscripten`. This is important when detect-vspkg-triplet is invoked
   from outside cesium-native's top-level CMakeLists.txt (e.g., when
   cesium-native is included via add_subdirectory).
2025-11-25 19:14:31 +11:00
Kevin Ring dc53b707d1 Install zlib when CesiumCurl is enabled. 2025-11-25 14:05:13 +11:00
Kevin Ring b497c643ae Report credits with destroyed source as removed. 2025-11-25 12:32:08 +11:00
Janine Liu b8b1417c5b
Merge pull request #1273 from CesiumGS/credit-sources
cesium-native / Quick Checks (push) Waiting to run Details
cesium-native / Linting (push) Waiting to run Details
cesium-native / Documentation (push) Waiting to run Details
cesium-native / ${{matrix.platform}} / ${{matrix.build_type}} (Debug, windows-2022) (push) Waiting to run Details
cesium-native / ${{matrix.platform}} / ${{matrix.build_type}} (RelWithDebInfo, windows-2022) (push) Waiting to run Details
cesium-native / ${{matrix.platform}} / ${{matrix.compiler}} / ${{matrix.build_type}} (Debug, clang, macos-13) (push) Waiting to run Details
cesium-native / ${{matrix.platform}} / ${{matrix.compiler}} / ${{matrix.build_type}} (Debug, clang, ubuntu-22.04) (push) Waiting to run Details
cesium-native / ${{matrix.platform}} / ${{matrix.compiler}} / ${{matrix.build_type}} (Debug, gcc, ubuntu-24.04) (push) Waiting to run Details
cesium-native / ${{matrix.platform}} / ${{matrix.compiler}} / ${{matrix.build_type}} (RelWithDebInfo, clang, macos-13) (push) Waiting to run Details
cesium-native / ${{matrix.platform}} / ${{matrix.compiler}} / ${{matrix.build_type}} (RelWithDebInfo, clang, ubuntu-22.04) (push) Waiting to run Details
cesium-native / ${{matrix.platform}} / ${{matrix.compiler}} / ${{matrix.build_type}} (RelWithDebInfo, gcc, ubuntu-24.04) (push) Waiting to run Details
cesium-native / Emscripten v${{matrix.version}} ${{matrix.memory}}bit memory (32, 3.1.39) (push) Waiting to run Details
cesium-native / Emscripten v${{matrix.version}} ${{matrix.memory}}bit memory (32, 4.0.13) (push) Waiting to run Details
cesium-native / Emscripten v${{matrix.version}} ${{matrix.memory}}bit memory (64, 4.0.13) (push) Waiting to run Details
Add CreditSources to CreditSystem, refactor RasterOverlay::createTileProvider
2025-11-24 11:02:35 -05:00
Kevin Ring 612352eee9 Move TestCreditSystem to CesiumUtility.
cesium-native / Quick Checks (push) Has been cancelled Details
cesium-native / Linting (push) Has been cancelled Details
cesium-native / Documentation (push) Has been cancelled Details
cesium-native / ${{matrix.platform}} / ${{matrix.build_type}} (Debug, windows-2022) (push) Has been cancelled Details
cesium-native / ${{matrix.platform}} / ${{matrix.build_type}} (RelWithDebInfo, windows-2022) (push) Has been cancelled Details
cesium-native / ${{matrix.platform}} / ${{matrix.compiler}} / ${{matrix.build_type}} (Debug, clang, macos-13) (push) Has been cancelled Details
cesium-native / ${{matrix.platform}} / ${{matrix.compiler}} / ${{matrix.build_type}} (Debug, clang, ubuntu-22.04) (push) Has been cancelled Details
cesium-native / ${{matrix.platform}} / ${{matrix.compiler}} / ${{matrix.build_type}} (Debug, gcc, ubuntu-24.04) (push) Has been cancelled Details
cesium-native / ${{matrix.platform}} / ${{matrix.compiler}} / ${{matrix.build_type}} (RelWithDebInfo, clang, macos-13) (push) Has been cancelled Details
cesium-native / ${{matrix.platform}} / ${{matrix.compiler}} / ${{matrix.build_type}} (RelWithDebInfo, clang, ubuntu-22.04) (push) Has been cancelled Details
cesium-native / ${{matrix.platform}} / ${{matrix.compiler}} / ${{matrix.build_type}} (RelWithDebInfo, gcc, ubuntu-24.04) (push) Has been cancelled Details
cesium-native / Emscripten v${{matrix.version}} ${{matrix.memory}}bit memory (32, 3.1.39) (push) Has been cancelled Details
cesium-native / Emscripten v${{matrix.version}} ${{matrix.memory}}bit memory (32, 4.0.13) (push) Has been cancelled Details
cesium-native / Emscripten v${{matrix.version}} ${{matrix.memory}}bit memory (64, 4.0.13) (push) Has been cancelled Details
2025-11-24 13:41:31 +11:00
Kevin Ring f8c4fd7530 Improve misleading comment in test. 2025-11-24 13:36:12 +11:00
Kevin Ring 9aea35d9c3
Fix typo.
Co-authored-by: Janine Liu <32226860+j9liu@users.noreply.github.com>
2025-11-24 13:35:44 +11:00
Kevin Ring 473f3ccbd5 Clang warnings. 2025-11-24 13:30:40 +11:00
Kevin Ring 54b3b5764c Remove changelog entry that didn't actually happen. 2025-11-24 12:29:40 +11:00
Kevin Ring 8f2c1a9f54 Use copydoc to avoid doc duplication. 2025-11-24 12:29:02 +11:00
Kevin Ring 1b4700ecd2 Improve doc. 2025-11-24 12:29:02 +11:00
Kevin Ring a5d8e17300
Improve doc.
Co-authored-by: Janine Liu <32226860+j9liu@users.noreply.github.com>
2025-11-24 12:24:47 +11:00
Kevin Ring 3bff311dee Add tests. 2025-11-24 12:01:16 +11:00
Kevin Ring ed344cddb3 Only filter in favor of referenced credits. 2025-11-24 11:18:28 +11:00
Kevin Ring fbbaf4452a Add tests for credit filtering.
cesium-native / Quick Checks (push) Has been cancelled Details
cesium-native / Linting (push) Has been cancelled Details
cesium-native / Documentation (push) Has been cancelled Details
cesium-native / ${{matrix.platform}} / ${{matrix.build_type}} (Debug, windows-2022) (push) Has been cancelled Details
cesium-native / ${{matrix.platform}} / ${{matrix.build_type}} (RelWithDebInfo, windows-2022) (push) Has been cancelled Details
cesium-native / ${{matrix.platform}} / ${{matrix.compiler}} / ${{matrix.build_type}} (Debug, clang, macos-13) (push) Has been cancelled Details
cesium-native / ${{matrix.platform}} / ${{matrix.compiler}} / ${{matrix.build_type}} (Debug, clang, ubuntu-22.04) (push) Has been cancelled Details
cesium-native / ${{matrix.platform}} / ${{matrix.compiler}} / ${{matrix.build_type}} (Debug, gcc, ubuntu-24.04) (push) Has been cancelled Details
cesium-native / ${{matrix.platform}} / ${{matrix.compiler}} / ${{matrix.build_type}} (RelWithDebInfo, clang, macos-13) (push) Has been cancelled Details
cesium-native / ${{matrix.platform}} / ${{matrix.compiler}} / ${{matrix.build_type}} (RelWithDebInfo, clang, ubuntu-22.04) (push) Has been cancelled Details
cesium-native / ${{matrix.platform}} / ${{matrix.compiler}} / ${{matrix.build_type}} (RelWithDebInfo, gcc, ubuntu-24.04) (push) Has been cancelled Details
cesium-native / Emscripten v${{matrix.version}} ${{matrix.memory}}bit memory (32, 3.1.39) (push) Has been cancelled Details
cesium-native / Emscripten v${{matrix.version}} ${{matrix.memory}}bit memory (32, 4.0.13) (push) Has been cancelled Details
cesium-native / Emscripten v${{matrix.version}} ${{matrix.memory}}bit memory (64, 4.0.13) (push) Has been cancelled Details
2025-11-21 19:18:54 +11:00
Kevin Ring fd8aaef4be Fix Doxygen error. 2025-11-21 18:50:34 +11:00
Kevin Ring 32e509eb95 Simplify removed credit tracking.
There's no good reason this was so complicated before.
2025-11-21 18:01:52 +11:00
Kevin Ring 002d00e3f8 Add credit filtering option to getSnapshot. 2025-11-21 17:41:34 +11:00
Kevin Ring 77fff1077a Re-add useless property.
Removing it probably isn't the right thing, and anyway it doesn't belong
in this PR.
2025-11-20 22:12:40 +11:00
Kevin Ring a8df93e235 clang-tidy 2025-11-20 19:40:08 +11:00
Kevin Ring ced27961e4 Update CHANGES.md. 2025-11-20 19:38:48 +11:00
Kevin Ring 7213eed62f Fix silly logic error. 2025-11-20 19:37:34 +11:00
Kevin Ring 551c2bb67c Doc tweaks. 2025-11-20 19:32:59 +11:00
Kevin Ring 642bd2dbc5 Only override credit source if not specified. 2025-11-20 19:16:42 +11:00
Kevin Ring d6b2882148 Correct ownership and credit source for IonRasterOverlay. 2025-11-20 19:09:52 +11:00
Kevin Ring 8ede044fc4 Remove unused property. 2025-11-20 18:44:48 +11:00
Kevin Ring c1b5107758 Only add non-empty credit. 2025-11-20 18:39:32 +11:00
Kevin Ring 9db1f17a11 Fix doc. 2025-11-20 18:26:19 +11:00
Kevin Ring c3b7c131b3 Revert some unnecessary changes. 2025-11-20 18:24:17 +11:00
Kevin Ring b59305d4dd Fix use of removed function. 2025-11-20 18:18:26 +11:00
Kevin Ring 8c7ee9507a Remove declaration for undefined function, improve doc. 2025-11-20 17:27:08 +11:00
Kevin Ring 65dacbdb1b Options -> Parameters 2025-11-20 17:22:18 +11:00
Kevin Ring 436bb9be86 Factor out some common code. 2025-11-20 16:24:33 +11:00
Kevin Ring 2757937ea2 Improve doc. 2025-11-20 15:48:04 +11:00
Kevin Ring 11cf3812d2 Remove "referenced by raster" stuff from TilesetViewGroup.
We can use CreditSources instead, now.
2025-11-20 12:32:24 +11:00
Kevin Ring 47e8533e18 Use `@ref` instead of `\ref`. 2025-11-20 12:32:02 +11:00
Kevin Ring e4f46ba4e6 Remove unnecessary includes. 2025-11-20 12:29:46 +11:00
Kevin Ring a911d9f0ac clang-tidy 2025-11-20 11:34:52 +11:00
Kevin Ring c71daed34a Better fix for GCC warning. 2025-11-20 11:31:13 +11:00
Kevin Ring cce023d8ae Revert "Fix rather unnecessary GCC warnings."
This reverts commit 8d9fc928bb.
2025-11-20 11:28:49 +11:00
Kevin Ring 8d9fc928bb Fix rather unnecessary GCC warnings. 2025-11-20 11:27:23 +11:00
Kevin Ring e554a7d72c clang-tidy, remove unneeded getOwner function. 2025-11-20 10:24:15 +11:00
Kevin Ring 0b5616089e Default values for RasterOverlayExternals fields. 2025-11-20 10:04:52 +11:00
Kevin Ring 79a1c7bcdc Fixes for doc and 32-bit Emscripten. 2025-11-20 09:14:13 +11:00
Kevin Ring 4cabc9aaf9 Initialize pCreator in tile provider factory. 2025-11-20 09:09:26 +11:00
Kevin Ring d5920f6b5d Unsigned credit id and generation. 2025-11-20 07:58:45 +11:00
Kevin Ring 7a7f50877c Merge remote-tracking branch 'origin/main' into credit-sources 2025-11-20 07:34:16 +11:00