Commit Graph

73 Commits

Author SHA1 Message Date
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 6437281d71 Merge remote-tracking branch 'origin/fix-api-url' into cesium-ion-defaults 2023-12-12 10:17:48 +11:00
Kevin Ring 2aaa97269a Make api hostname into a complete URL. 2023-12-11 17:24:55 +11:00
Kevin Ring eaa33bbfb5 Add doc for CesiumIonClient::Defaults. 2023-12-05 11:25:25 +11:00
Kevin Ring 606200135f Add support for new defaults service to CesiumIonClient. 2023-12-04 18:00:54 +11:00
Joseph Kaile d54ee1f496 return generated api url when Get fails 2023-11-30 14:11:01 -05:00
Joseph Kaile f52ade460c free URI, return valid URL 2023-10-31 14:16:05 -04:00
Joseph Kaile 4468b87f96 add method to get api url async 2023-10-26 22:28:12 -04:00
Joseph Kaile e8990ce108 add utility function to extract key-value from url 2023-10-23 15:18:58 -04:00
Adam N. Morris a9c27487a6 Updated ion authorization url to the current url 2023-10-03 16:58:59 -05:00
Kevin Ring 4194e31a10 sizeof(uint32_t) instead of 4. Tweak test comment. 2023-08-24 15:57:22 +10:00
Kevin Ring a495c7e88d Formatting. 2023-08-04 19:49:44 +10:00
Kevin Ring 53ed812fe3 Add test for fillWithRandomBytes. 2023-08-04 19:28:53 +10:00
Kevin Ring f54556704e Restore compatibility with non-Windows platforms. 2023-08-04 18:26:18 +10:00
Kevin Ring 335ea90678 Hackily get cesium-native compiling on UWP. 2023-08-04 08:53:12 +10:00
Kevin Ring c88838194c Add missing #include. 2022-05-02 16:57:02 +10:00
Kevin Ring fe2ff2e939 Fix clang warning. 2022-01-28 17:10:15 +11:00
Kevin Ring 2da364a3f6 Fix base64 decoding of ion tokens that require padding. 2022-01-28 10:17:27 +11:00
Kevin Ring 4c56014fdc Merge remote-tracking branch 'origin/asset-accessor-verb' into load-error-reporting 2022-01-20 11:18:25 +11:00
Kevin Ring f498c631de startRequest -> reqest. 2022-01-20 11:08:23 +11:00
Kevin Ring 518b7cbaf0 Rename IAssetAccessor methods, allow use of any verb. 2022-01-20 11:00:29 +11:00
Kevin Ring 588cad930f Formatting. 2022-01-19 12:13:54 +11:00
Kevin Ring 007af04991 Fix token ID extraction. 2022-01-18 20:24:44 +11:00
Kevin Ring f6168c8754 Add find getIdFromToken method. 2022-01-18 16:08:59 +11:00
Kevin Ring a6c7fa3934 Add token service. 2021-12-21 23:29:24 +11:00
Kevin Ring 11eae10d2c Rename requestAsset->get, post->startRequest (and supoprt any verb) 2021-12-14 22:30:04 +11:00
Kevin Ring 5d68828888 Add missing file. 2021-12-14 15:27:09 +11:00
Kevin Ring 524df0cf9e Better token paging. 2021-12-14 15:26:26 +11:00
Kevin Ring 38d168aad8 Switch to ion tokens API v2. 2021-12-13 15:56:54 +11:00
Sean Lilley 2cdcb92e20 Namespace cleanup 2021-12-02 18:34:22 -05:00
Marco Hutter 9855400417 Use proper relative paths in all public headers 2021-09-28 17:23:07 +02:00
Marco Hutter 27fdd26e27 Merge remote-tracking branch 'origin/main' into include-style-fixes
# Conflicts:
#	Cesium3DTilesSelection/include/Cesium3DTilesSelection/GltfContent.h
#	Cesium3DTilesSelection/src/Batched3DModelContent.cpp
#	Cesium3DTilesSelection/src/CompositeContent.cpp
#	Cesium3DTilesSelection/src/ExternalTilesetContent.cpp
#	Cesium3DTilesSelection/src/GltfContent.cpp
#	Cesium3DTilesSelection/src/QuantizedMeshContent.cpp
#	Cesium3DTilesSelection/src/Tile.cpp
#	Cesium3DTilesSelection/src/TileContentFactory.cpp
#	Cesium3DTilesSelection/src/calcQuadtreeMaxGeometricError.h
2021-09-28 14:38:33 +02:00
Kevin Ring 62ff744d4f Treat `<something.h>` as third-party include. 2021-09-27 10:46:26 +10:00
Marco Hutter 0e827f7afd Updated includes based on clang-format with Regroup
This MAINLY inserted some blank lines between
the blocks.
2021-09-26 17:46:27 +02:00
Marco Hutter 8abb3141ae Remove const from another rvalue reference parameter 2021-09-22 15:47:43 +02:00
Marco Hutter 00847ed17f Include style fixes for CesiumIonClient 2021-09-19 15:24:32 +02:00
Marco Hutter 6a5e0d3d48 Added missing const for reference parameters
C26460: The reference argument ... for function ... can be marked as const
2021-09-15 17:43:42 +02:00
Marco Hutter 17abaee26d Formatting after initializing member variables 2021-09-15 16:14:15 +02:00
Marco Hutter 0e1e2f33df Initialized member variables 2021-09-15 16:13:48 +02:00
Marco Hutter de8145ab9e Added missing const keyword
C26496: The variable ... is assigned only once, mark it as const
2021-09-15 15:37:29 +02:00
Marco Hutter 97a2757e39 Added missing noexcept specifiers
Reported as "C26440 Function ... can be declared noexcept"
2021-09-14 16:12:50 +02:00
Kevin Ring a1ebce1dcd Allow direct creation of a Promise.
Rather than the JavaScript-like create a future by providing a callback
that is given a promise. This can be less exception safe (allow
exceptions to escape from a Future-returning method instead of being
turned into Promise rejection) but also tends to be much easier to work
with.
2021-07-07 14:12:15 +10:00
Kevin Ring 355c486683 Make Future::wait return T and throw on reject. 2021-07-06 23:29:59 +10:00
Marco Hutter fbea991d2d Formatting 2021-04-16 21:56:15 +02:00
Marco Hutter bbf2400baa Handle denied access with sensible message 2021-04-16 21:55:27 +02:00
Marco Hutter 4a5b6a77ed Connection error message improvements 2021-04-16 21:34:25 +02:00
Kevin Ring b2c6b29b6c Add method to get a single asset from ion. 2021-03-18 18:52:49 +11:00
Shehzan Mohammed 8a2957d32f Run clang format 2021-03-08 20:39:46 -05:00
Kevin Ring d20f89c421 Add methods to get other Connection params too. 2021-03-08 19:02:25 +11:00