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
Kevin Ring
5b616af8b0
Ion auth via OAuth2.
2021-02-25 22:48:22 +11:00
Kevin Ring
2e42fd45fb
Adjust for recent changes in master.
2021-02-24 13:54:33 +11:00
Kevin Ring
bb882a15f4
Support listing and creating tokens.
2021-02-15 23:49:04 +11:00
Kevin Ring
a837e5b49f
Fix field name.
2021-02-11 14:19:04 +11:00
Kevin Ring
38a59039ea
Add support for ion assets service.
2021-02-10 22:12:22 +11:00
Kevin Ring
d10bd2a16d
Move JsonHelps to CesiumUtility, at ion "me" service.
2021-02-09 22:50:18 +11:00
Kevin Ring
f7caafa626
Add CesiumIonClient library.
...
Also move Uri to CesiumUtility, and add a `post` method to
`IAssetAccessor`.
2021-02-08 21:59:53 +11:00