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
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
Kevin Ring
613637dcae
Add AsyncSystem::waitInMainThread.
2024-03-04 19:08:23 +11:00
Kevin Ring
c341a72806
Revert "Merge pull request #786 from jherico/feature-vcpkg"
...
This reverts commit 198ed9d4b4 , reversing
changes made to 09c1eb76b4 .
2024-02-23 09:08:15 +11:00
Bradley Austin Davis
e20c154c55
Migrating dependencies to vcpkg
2024-02-02 10:40:59 -08:00
Kevin Ring
86fce69b30
Add Future::thenPassThrough.
2023-11-17 16:33:47 +11:00
Kevin Ring
f67776bacb
Fix warning number.
2023-09-20 17:21:24 +10:00
Kevin Ring
d7a32f2551
Disable warning for async++.
2023-09-20 16:54:25 +10:00
Kevin Ring
fcd8c41d13
Include Async++ with target_link_libraries_system.
2023-09-20 16:01:59 +10:00
Kevin Ring
400f832d32
Update npm dependencies and regenerate 3DTiles/glTF classes.
2023-08-16 10:54:01 +10: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
Brian L
a72438bec0
Remove redundant code from shouldRevalidateCache()
2023-07-25 11:33:45 -06:00
Brian L
018a7380b8
Refactor using std::optional. Fixup unit tests
2023-07-25 11:11:23 -06:00
Brian L
29f2625708
Add unit tests similar to Google 3D Tiles response headers
2023-07-22 10:06:35 -06:00
Brian L
2227dd6cd9
Back out check for etag and last-modified
...
We can still cache requests without this. Logic error caught by unit tests.
2023-07-21 16:58:25 -06:00
Brian L
ce3bd6ff5a
Fix for unit tests (function rename)
2023-07-21 15:45:49 -06:00
Brian L
6733535218
Handle noCache properly
...
Let it store to cache, but always indicate stale (needs to revalidate)
2023-07-21 15:34:51 -06:00
Brian L
2e966fbeae
Modify ResponseCacheControl to support checking for existence of directives with values
...
Add additional logic to shouldCacheRequest:
- Return false if no etag or last-modified header exists, can't revalidate
- If cache control and max age (or s max age) exists, ignore Expires header
2023-07-21 14:58:30 -06:00
Brian L
fa24d9fd92
Let stale-while-revalidate requests now go to disk cache
2023-07-19 11:26:37 -06:00
Brian L
2b0911d4a0
Run clang-format
2023-07-19 10:50:17 -06:00
Brian L
6ab9f41ad5
Add stale-while-revalidate support to ResponseCacheControl class
2023-07-19 10:27:35 -06:00
Kevin Ring
35db73e0cb
Fix another warning.
2023-06-01 12:29:44 +10:00
Kevin Ring
4c0f85e897
Fix warning on VS2017 and VS2019.
2023-06-01 12:08:56 +10:00
Kevin Ring
224f392c31
Cleanup and tests.
2023-06-01 11:45:24 +10:00
Joseph Kaile
0284c86f30
use decorator pattern for gunip asset accessor
2023-05-25 13:07:26 -04:00
Joseph Kaile
84f2e8f550
automatically unzip data if gzipped data is detected
2023-05-18 13:11:49 -04:00
Kevin Ring
77c7badf9e
Add _CRT_SECURE_NO_WARNINGS to test file.
...
Previously tinyxml2 was doing this for all our source files.
2023-01-20 16:39:00 +11:00
Kevin Ring
f31638fbfa
Cleaner RasterOverlay error reporting.
2022-10-18 17:59:23 +11:00
Kevin Ring
cc75a318d1
Fix GCC/Clang compiler error.
2022-10-16 00:34:00 +11:00
Kevin Ring
fda1d74c52
Formatting.
2022-10-15 16:28:05 +11:00
Kevin Ring
3b7ecc4c0f
Raise an event when async Tileset destruction completes.
2022-10-15 15:38:08 +11:00
Bao Tran
d34fcfd8c3
Merge branch 'refactor-staging-main' into tile-content-integration
2022-08-16 14:46:09 -04:00
Kevin Ring
28c6310383
Update cache last access time correctly.
2022-08-03 20:56:31 +10:00
Kevin Ring
41881b6ae4
Remove extra blank line.
2022-06-06 14:04:49 +10:00
Kevin Ring
98fd2266e0
Fix bounding volumes.
2022-06-06 14:02:50 +10:00
Joseph Kaile
4ef3e54c7a
create connection even if deleting file somehow fails
2022-04-20 14:35:38 -04:00
Joseph Kaile
c88a5d84ab
delete and recreate sqlite connection if it detects corruption
2022-04-20 13:20:47 -04:00
Joseph Kaile
6379592122
prevent possible crash when parsing bad json string
2022-04-19 17:10:19 -04:00
Bao Tran
9f29daa85f
add Promise::resolve(const T&)
2022-03-07 18:27:22 -05:00
Kevin Ring
0e7830d373
Formatting.
2022-01-25 20:39:19 +11:00
Kevin Ring
a5e3f11846
Impl->CesiumImpl, TWO_PI->TwoPi.
2022-01-25 11:55:43 +11:00
Nithin Pranesh
0db47a52af
Merge pull request #423 from CesiumGS/unwrapped-shared-futures
...
Allow a continuation attached to a SharedFuture to return a Future (rather than a normal value)
2022-01-24 10:28:34 -05:00
Nithin Pranesh
c07417e0ef
Merge branch 'main' into asset-accessor-verb
2022-01-24 10:02:52 -05:00