Commit Graph

127 Commits

Author SHA1 Message Date
Kevin Ring 68f9206141 Incorporate SharedAssetDepot changes from asset-endpoint-as-shared-asset 2025-09-23 10:45:10 +10:00
Kevin Ring 67a7202277 Add SharedAssetDepot::invalidate. 2025-09-08 17:21:25 +10:00
Kevin Ring cc4f7a1434 Add test. 2025-06-26 17:17:27 -04:00
Sean Lilley 3cf51e4626 Fix AsyncSystem doc example 2025-02-07 15:52:25 -05:00
Ashley Rogers 5c3a0ed1c2 Format 2025-01-15 16:58:50 -05:00
Ashley Rogers 4e318925a5 Switch tests to doctest 2025-01-15 16:58:03 -05:00
Kevin Ring 028ee29eed Merge remote-tracking branch 'origin/main' into clang-tidy-cleanup 2025-01-13 17:30:09 +11:00
Kevin Ring bf99d52e65 Ensure depot stays alive while lock is held. 2024-12-23 15:32:38 +11:00
Ashley Rogers 182ee0b373 Add missing <memory> header 2024-12-20 14:54:51 -05:00
Ashley Rogers 768b6510b3 Quotes to brackets 2024-12-20 12:00:09 -05:00
Ashley Rogers 2c8aa4a422 Fix includes using script 2024-12-20 11:56:49 -05:00
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 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
Kevin Ring 5932243050 Better explanation of AsyncSystem copying, waitInMainThread->wait 2024-12-05 11:37:43 +11:00
Ashley Rogers eccca564df Merge from main 2024-12-02 14:35:27 -05:00
Kevin Ring af821e11a4 Fix test failures. 2024-11-29 19:04:48 +11: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
Kevin Ring 0aaf58daee More AsyncSystem doc. 2024-11-18 20:59:30 +11:00
Kevin Ring 09bc31add7 Further AsyncSystem doc. 2024-11-18 17:13:50 +11: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 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 c5533b7ead Cleanup. 2024-10-28 20:55:29 +11: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
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
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
Kevin Ring 613637dcae Add AsyncSystem::waitInMainThread. 2024-03-04 19:08:23 +11:00
Kevin Ring 86fce69b30 Add Future::thenPassThrough. 2023-11-17 16:33:47 +11:00
Kevin Ring a59ffac3ef A few more test cases, and tweak the logic so they pass. 2023-07-27 22:00:58 +10:00
Brian L 8abe88353a Add support for cases where we only need Etag or Last-Modified to cache 2023-07-26 09:52:51 -06:00
Brian L 53689f1123 Modify shouldCacheRequest for additional no-cache cases. Add more unit tests 2023-07-25 12:21:13 -06:00