Marco Hutter
51e43bbd49
Comment fixes for clang formatting
2021-04-29 17:06:34 +02:00
Jordi Torres
6333b1cb0a
First pass of clang tidy
...
Mainly caching else after return, not using empty() instead of size() == 0, missing const references to avoid copies and removing redundant initializations
2021-04-12 13:22:03 +02:00
Bao Tran
23af407de7
remove improper move
2021-03-24 11:34:51 -04:00
Shehzan Mohammed
8a2957d32f
Run clang format
2021-03-08 20:39:46 -05: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
da0b567120
Fix some install bits.
2021-03-05 14:04:28 +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
Samuel Vargas
2e14c98350
Fix error with SQLITE3 / CesiumAsync on Windows
2021-03-02 15:36:07 -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
b8f430d079
Move exception results.
2021-03-01 17:06:33 +11:00
Kevin Ring
e950991824
Doc for AsyncSystem::wait.
2021-02-26 21:47:01 +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
a69628b785
Merge remote-tracking branch 'origin/master' into ion-ui
2021-02-24 12:59:44 +11:00
Kevin Ring
b14aa5e292
Make ResponseCacheControl private.
2021-02-23 15:11:08 +11:00
Kevin Ring
e24f817b02
Add missing override.
2021-02-22 19:17:15 +11:00
Kevin Ring
b3a37be4a2
Remove unused function declarations.
2021-02-22 18:28:48 +11:00
Kevin Ring
7aff67dc09
Fix clang warning.
2021-02-22 18:23:47 +11:00
Kevin Ring
0150af9161
CacheAssetRequest tweaks.
2021-02-22 18:19:17 +11:00
Kevin Ring
18c209e60c
Remove commented-out code.
2021-02-22 18:01:32 +11:00
Kevin Ring
aa95beea21
CacheItem cleanup.
2021-02-22 17:58:36 +11:00
Kevin Ring
bd157685d4
Remove commented-out code.
2021-02-22 17:46:10 +11:00
Kevin Ring
e2f09ed2a3
Merge remote-tracking branch 'origin/disk-cache' into disk-cache-tweaks
2021-02-22 17:38:58 +11:00
Kevin Ring
58073f97fe
Close sqlite connection properly.
2021-02-22 17:37:11 +11:00
Kevin Ring
1b8bbabf8e
Fix tests.
2021-02-22 17:33:24 +11:00
Kevin Ring
601deae59a
Make SqliteCache take a logger, simplify returns.
2021-02-22 17:23:07 +11:00
Kevin Ring
71df49a8d8
DiskCache class -> SqliteCache.
2021-02-22 13:37:58 +11:00
Kevin Ring
c46dc68bfb
DiskCache -> SqliteCache
2021-02-22 13:36:58 +11:00
Kevin Ring
711810a18f
Fix test failures.
2021-02-22 13:23:27 +11:00
unknown
9b33d2dc14
Merge branch 'disk-cache' of https://github.com/CesiumGS/cesium-native into disk-cache
2021-02-21 17:49:58 -05:00
unknown
9ba37e962f
update comment to credit boost chrono's timegm implementation
2021-02-21 17:49:28 -05:00
Kevin Ring
313136445b
Make requestAsset return a Future.
2021-02-21 23:13:42 +11:00
Kevin Ring
b03e70a715
WIP tweaks to the disk caching.
2021-02-20 22:49:35 +11:00
Kevin Ring
fbbe928b68
Merge remote-tracking branch 'origin/master' into disk-cache
2021-02-19 11:54:26 +11:00
Marco Hutter
67dce23a30
Doxygen fixes
2021-02-15 17:14:49 +01:00
Kevin Ring
bb882a15f4
Support listing and creating tokens.
2021-02-15 23:49:04 +11:00
unknown
e47a03c8f1
use sqlite3_close_v2 instead to properly close WAL mode
2021-02-09 14:31:31 -05: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
Kevin Ring
48eca08f01
Remove more debug code.
2021-02-05 15:39:19 +11:00
Kevin Ring
d1940b24b2
Remove debug code.
...
And hopefully fix Linux build problems.
2021-02-05 15:23:41 +11:00
Kevin Ring
d0794571d9
Merge remote-tracking branch 'origin/disk-cache' into disk-cache-reporting
2021-02-04 18:47:49 +11:00
Kevin Ring
9280d43368
Comment out tracing.
2021-02-04 18:43:51 +11:00
Kevin Ring
9dd31a4bfc
Add more performance measurement.
2021-02-04 16:38:49 +11:00
Kevin Ring
3e238cec80
Don't load too many raster overlays simultaneously.
2021-02-04 16:38:09 +11:00
unknown
76946551f3
remove authorization header check for cache
2021-02-03 10:47:41 -05:00
unknown
a2228d1025
remove authorization header check for cache
2021-02-03 10:22:24 -05:00
Kevin Ring
e4fb8591c4
Report request cache hits, misses, and timings.
2021-02-03 14:23:41 +11:00