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
Kevin Ring
ab4efdf555
Add method to get the access token from a Connection.
2021-03-08 18:59:53 +11:00
Kevin Ring
589a0098fc
Merge pull request #145 from CesiumGS/install
...
Add ability to CMake install cesium-native
2021-03-05 16:03:29 +11:00
Kevin Ring
68d711e1de
Mark some libs private, remove commented-out code.
2021-03-05 14:21:55 +11:00
Marco Hutter
f1078aeb4c
Use bytes for raw data
2021-03-04 17:22:38 +01:00
Shehzan Mohammed
887744202d
Remove other PRIVATE flags from link libraries
2021-03-04 10:50:19 -05:00
Shehzan Mohammed
3faff010d7
Installing thirdparty deps working on linux
2021-03-03 20:47:31 -05:00
Kevin Ring
34bbd2aa31
WIP cmake install.
2021-03-04 09:48:09 +11:00
Kevin Ring
bad3c5fe2a
Fix typo.
2021-03-03 15:54:56 +11:00
Samuel Vargas
7f059ebbe7
Add missing newlines [skip ci]
2021-03-02 14:40:21 -05:00
Samuel Vargas
5d03477551
Rearchitecture cesium-native's CMake structure
...
This is necessary to support using cesium-native as submodule in
in asset-pipeline
- `draco` and `sqlite3` are guarded with if target blocks to allow
asset-pipeline to provide their own version of the targets.
- Tests are now a dedicated target that clients don't have to build
- Test sources / headers are now a target property instead of using the $<BUILD_INTERFACE... hack
- Added common include variables in extern/CMakeLists.txt
- Defined `RAPIDJSON_HAS_CXX11_RVALUE_REFS` for move support for RapidJson
- Private include directories are automatically extracted via CMake magic
for use in catch tests
- Globbing is now wrapped in a dedicated function that allows one to use
CONFIGURE_DEPENDS depending on their preferences (defaults to OFF)
to retain the old behavior.
2021-03-02 14:28:04 -05:00
Kevin Ring
1a62ae6dc4
Fix Clang and GCC errors.
2021-02-28 23:10:53 +11:00
Kevin Ring
1f2eb257ef
Implement PKCE.
2021-02-28 22:51:57 +11:00
Kevin Ring
92eb8ae1de
Include `state` in OAuth2 handshake.
2021-02-28 22:12:56 +11:00
Kevin Ring
2dc61d90c4
CesiumIonClient doc.
2021-02-26 21:36:29 +11:00
Kevin Ring
415de32231
Better names, remove old code.
2021-02-26 17:03:45 +11:00
Kevin Ring
25c92609e3
Doc for Connection class.
2021-02-26 15:38:11 +11:00