Commit Graph

417 Commits

Author SHA1 Message Date
Ashley Rogers 1558147d76 Fix broken test 2024-12-18 13:41:52 -05:00
Ashley Rogers 99c57bf66c Enable two more clang-tidy checks 2024-12-18 13:04:47 -05:00
Ashley Rogers 09a22f3260 Fix errors 2024-12-18 11:03:25 -05:00
Ashley Rogers 6aa10bb592 Fix cast issues 2024-12-18 10:01:52 -05:00
Ashley Rogers 7ef48d56c7 Fix additional clang-tidy issues 2024-12-17 17:41:42 -05:00
Ashley Rogers 77094edb1f Format 2024-12-17 17:27:27 -05:00
Ashley Rogers 1e2e47ab5e misc-include-cleaner for every file 2024-12-17 17:27:03 -05:00
Ashley Rogers 89b00e2cc0 Fix warnings from merge with main 2024-12-17 13:43:45 -05:00
Ashley Rogers 2ce337be44 Merge from main 2024-12-17 11:36:54 -05:00
Ashley Rogers f934b40717 All warnings resolved 2024-12-17 11:30:58 -05:00
Kevin Ring 4e6e2b8300
Merge pull request #1024 from CesiumGS/update-readme
Overhaul README
2024-12-17 10:36:08 +11:00
Janine Liu 44c5892779
Apply suggestions from code review 2024-12-13 10:50:46 -05:00
Kevin Ring 96e1d01844 Merge remote-tracking branch 'origin/main' into update-readme 2024-12-12 11:43:55 +11:00
Ashley Rogers f91818e039 Even more documentation 2024-12-11 15:33:30 -05:00
Ashley Rogers 1b6984d2e9 Additional documentation 2024-12-10 17:41:53 -05:00
Ashley Rogers 254e7598b8 Some async, geometry, selection docs 2024-12-10 11:26:13 -05:00
Kevin Ring 94ad53bf7f Fix selection bug, and debug helper. 2024-12-09 21:26:00 +11:00
Ashley Rogers 4d82403b80 Pan-zoom, add dependencies page. 2024-12-06 18:21:57 -05:00
Tim Moore d1b064d8fd Don't add public headers to public target sources
The intent is for public target sources to be compiled into consumers
of a target, but that is a no-op for header files. Including the
public headers, which have paths pointing inside the project, causes
an error when generating an export set.
2024-12-05 16:03:52 +01:00
Tim Moore 7d5f2e1748 Choose BUILD_INTERFACE or INSTALL_INTERFACE in include directories
Should be a no-op at this point, but will be required when we make
Cesium Native installable.
2024-12-05 16:03:12 +01:00
Kevin Ring 5932243050 Better explanation of AsyncSystem copying, waitInMainThread->wait 2024-12-05 11:37:43 +11:00
Ashley Rogers bb365c8aee Dependency graph generation 2024-12-04 14:39:16 -05:00
Ashley Rogers eccca564df Merge from main 2024-12-02 14:35:27 -05:00
Kevin Ring 189e45837e Avoid double-check of pAsset against nullptr. 2024-11-29 23:56:26 +11:00
Kevin Ring 4018349f68 CHANGES.md, changes from self review. 2024-11-29 20:51:26 +11:00
Kevin Ring af821e11a4 Fix test failures. 2024-11-29 19:04:48 +11:00
Kevin Ring d19af4955d Better token refresh logging. 2024-11-29 18:05:18 +11:00
Kevin Ring c5a78dc7b0 Create cache hit request object with given url/headers.
Rather than the URL and headers present when the cache hit was
originally stored. Because the headers, especially, for the original
request may be outdated (such as including an expired Cesium ion token).
2024-11-29 17:51:35 +11:00
Kevin Ring 6ef197053f Several fixes for shared asset problems. 2024-11-28 18:31:42 +11:00
Kevin Ring 05a9196a19 Use remove_cvref_t instead of remove_reference_t for thenPassThrough. 2024-11-27 07:18:00 +11:00
Ashley Rogers 08dcb82f9e Document undocumented parameters 2024-11-26 14:27:37 -05:00
Ashley Rogers fdabe39f6e Fix some Doxygen warnings 2024-11-26 14:14:58 -05:00
Kevin Ring 3b92b9ee43 Use functions instead of marking them unused. 2024-11-26 21:57:56 +11:00
Kevin Ring d3fcc7a350 Remove unused example function. 2024-11-26 21:53:28 +11:00
Kevin Ring a81cf47f8c Mark some examples maybe_unused. 2024-11-26 21:51:33 +11:00
Kevin Ring 4584adbe3b Fix compile errors in examples. 2024-11-26 21:48:12 +11:00
Kevin Ring 5375b250b1 Link to reference docs, other tweaks. 2024-11-26 21:44:37 +11:00
Kevin Ring 352cd6571e Merge remote-tracking branch 'origin/main' into thread-safety-doc 2024-11-26 16:35:56 +11:00
Kevin Ring 9d139570e0 SharedFuture and thread safety sections. 2024-11-25 22:29:46 +11:00
Kevin Ring 0516288a18 "Creating Futures" and "Promises" section of docs. 2024-11-25 20:56:26 +11:00
Kevin Ring 79ebf9fec7 Merge remote-tracking branch 'origin/main' into thread-safety-doc 2024-11-25 18:01:36 +11:00
Ashley Rogers cca8871eef Include both catch2 headers 2024-11-22 11:30:45 -05:00
Ashley Rogers f82d65bead Change Catch2 header 2024-11-22 11:17:21 -05:00
Ashley Rogers 08fc808a5c Fix shadowed variables, format 2024-11-20 17:47:43 -05:00
Ashley Rogers 577aa8aa45 Another cast, add maybe_unused to asserted bool 2024-11-20 17:41:55 -05:00
Ashley Rogers c4c08285a9 Fix more warnings 2024-11-20 17:25:21 -05:00
Ashley Rogers acc9e81d12 Merge from main 2024-11-20 17:12:43 -05:00
Ashley Rogers 52633c67f4 Non-PropertyTable changes 2024-11-20 16:20:04 -05:00
Ashley Rogers 86a4bf7e53 Fix warnings ignored on headers with SYSTEM 2024-11-19 15:47:40 -05:00
Kevin Ring 0aaf58daee More AsyncSystem doc. 2024-11-18 20:59:30 +11:00
Kevin Ring 8351404324 Fix a bug in `thenPassThrough` that made it require r-values. 2024-11-18 20:58:54 +11:00
Kevin Ring 09bc31add7 Further AsyncSystem doc. 2024-11-18 17:13:50 +11:00
Kevin Ring 651d3b4d43 Merge remote-tracking branch 'origin/main' into remove-gsl 2024-11-15 13:58:24 +11:00
Sean Lilley f51948fbe4 Remove old CESIUM_NATIVE_ CMake variables 2024-11-13 11:22:17 -05:00
Kevin Ring 89dfc44bdc Remove use of GSL.
Change gsl::span to std::span, and replace the few uses of gsl::narrow
with an alternative.
2024-11-06 15:16:03 +11:00
Kevin Ring e3c3daf6c3 Move SharedAsset to CesiumUtility.
This avoids adding a new dependency on CesiumAsync to CesiumGltf.
2024-10-30 12:49:07 +11:00
Kevin Ring e216b54a4a More small tweaks. 2024-10-30 12:14:33 +11:00
Kevin Ring a9d6c6a316 Fix another clang warning. 2024-10-29 21:17:07 +11:00
Kevin Ring 323de96de2 Fix clang warning. 2024-10-29 21:11:53 +11:00
Kevin Ring 1eee18f71c Fix recursive mutex locking bug. 2024-10-29 20:56:04 +11:00
Kevin Ring 117b65f362 Merge branch 'shared-assets' into shared-assets-wip 2024-10-29 17:46:14 +11:00
Kevin Ring 172ce88ceb Merge remote-tracking branch 'origin/main' into shared-assets 2024-10-29 17:45:33 +11:00
Kevin Ring ff87332b7c Formatting. 2024-10-29 14:28:05 +11:00
Kevin Ring c73f5b5f05 staleAssetSizeLimit -> inactiveAssetSizeLimitBytes 2024-10-29 14:09:34 +11:00
Kevin Ring feaf448dc3 Flesh out utility functions slightly. 2024-10-29 14:07:09 +11:00
Kevin Ring 7df4dc43b7 Keep depot alive if any live assets it manages are alive. 2024-10-29 13:39:41 +11:00
Kevin Ring d43edcea85 Add ResultPointer. 2024-10-29 11:38:15 +11:00
Kevin Ring c5533b7ead Cleanup. 2024-10-28 20:55:29 +11:00
Kevin Ring c75831ff24 Fix some problems that only showed up in Unreal. 2024-10-28 18:56:15 +11:00
Kevin Ring 727a68d064 Introduce AssetEntry. 2024-10-28 17:13:18 +11:00
Kevin Ring 083cb92db2 WIP refactoring. 2024-10-25 00:45:53 -04:00
Ashley Rogers b220031fb0 Doubly linked list for deletion candidates 2024-10-11 14:31:23 -04:00
Ashley Rogers 38b4811270 Pass factory to asset depot constructor 2024-10-11 12:00:55 -04:00
Ashley Rogers df1f887e6d Doc comments, rename ImageCesium 2024-10-10 15:28:05 -04:00
Kevin Ring a9516a0c84 Move SharedAsset[Depot] to CesiumAsync. 2024-10-10 21:00:16 +11:00
Kevin Ring 91f5b5fc65 Merge remote-tracking branch 'origin/main' into shared-assets 2024-10-03 09:14:00 +10:00
Sean Lilley 15f03c5f33 Merge branch 'main' into gzip 2024-10-01 10:46:56 -04:00
Ashley Rogers b61dc5cdca Merge branch 'main' of github.com:CesiumGS/cesium-native into all-with-void-futures 2024-09-30 16:13:04 -04:00
Kevin Ring c7268ccb9b Fix error on clang. 2024-09-28 11:21:30 +10:00
Kevin Ring 87ee2e36aa Support for mutable lambdas in `catch` functions. 2024-09-28 10:55:32 +10:00
Ashley Rogers d67ecc3b36 Merge branch 'main' of github.com:CesiumGS/cesium-native into all-with-void-futures 2024-09-26 15:25:21 -04:00
Sean Lilley c1f6b6e829 Add gzip 2024-09-26 11:33:08 -04:00
Ashley Rogers a5829effbc Fix missing std::move 2024-09-03 11:28:02 -04:00
Kevin Ring 832b2c91f2 Changes from review (comments only). 2024-08-16 07:19:41 +10:00
Kevin Ring b1d7da4795 Small tweaks, and update CHANGES.md. 2024-08-15 11:47:40 +10:00
Kevin Ring 833fd3f381 Restore hacky support for isolating sqlite. 2024-07-23 13:33:36 -04:00
Kevin Ring 7c9ea84178 Merge remote-tracking branch 'origin/main' into vcpkg-swl 2024-07-02 17:39:20 +10:00
Brian L 74653140f3 Rename to CESIUM_ASSERT 2024-06-20 10:14:38 -06:00
Brian L 91300f9a61 update from main 2024-06-20 09:54:52 -06:00
Kevin Ring ca42500d54 Merge remote-tracking branch 'origin/main' into vcpkg-2 2024-06-05 14:06:47 +10:00
Kevin Ring d18926c1d5 Add missing header. 2024-06-04 16:10:20 +10:00
Kevin Ring 116ee2dcb6 Support `AsyncSystem::all` on void Futures. 2024-06-04 16:06:40 +10:00
Brian L 90e1ce3895 Add additional reject test for explicit throw 2024-05-24 15:04:12 -06:00
Kevin Ring 9e9abb015a Don't hang waiting for a future that rejects. 2024-05-22 17:55:41 +10:00
Brian L 47414f09fb Make our ASSERT macro. Move everything to use this. 2024-05-03 12:50:50 -06:00
Kevin Ring c09e2f0757 Fix race condition. 2024-04-05 14:57:55 +11:00
Kevin Ring cd232f6b50 Add a couple more tests, remove unneeded header. 2024-04-04 21:33:28 +11:00
Kevin Ring 0428735c98 No spin waiting, add SharedFuture::waitInMainThread. 2024-04-04 19:04:10 +11:00
Brian Langevin dbd1ff8bb1
Merge branch 'main' into wait-in-main-thread 2024-03-20 11:20:33 -06:00
Sean Lilley 2bb28a1335 Fix compiling in gcc-13 2024-03-11 10:47:14 -04:00