Commit Graph

379 Commits

Author SHA1 Message Date
Kevin Ring 78f0f40db1 Re-add uriparser for now, and fix macOS compile error. 2025-01-20 10:01:21 +11:00
Ashley Rogers 887f9816a7 Fix Doxygen issues 2025-01-17 16:49:43 -05:00
Ashley Rogers eadf41997f Fix clang-tidy issues 2025-01-17 16:46:44 -05:00
Ashley Rogers 6115d11cf7 Format 2025-01-17 16:18:05 -05:00
Ashley Rogers 45d9d7ffa6 Merge from main 2025-01-17 16:06:58 -05:00
Ashley Rogers f57f7d9687 Remove cruft 2025-01-17 16:03:05 -05:00
Ashley Rogers 6fe2fdf51c Document methods 2025-01-17 16:02:32 -05:00
Ashley Rogers ad542c1dbf It's working!? 2025-01-17 15:33:56 -05:00
Ashley Rogers 9617622dea Part of a Uri refactor 2025-01-17 12:07:24 -05:00
Kevin Ring 3890b79e71 Fix various build problems and merge conflicts. 2025-01-17 13:42:52 +11:00
Kevin Ring feef2cd0eb Doc how raster overlays work. Other tweaks. 2025-01-16 17:26:18 +11:00
Ashley Rogers 4e318925a5 Switch tests to doctest 2025-01-15 16:58:03 -05:00
Ashley Rogers efead0ae73 Parts of implementation using ada-url instead of uriparser 2025-01-15 11:44:55 -05:00
Kevin Ring 028ee29eed Merge remote-tracking branch 'origin/main' into clang-tidy-cleanup 2025-01-13 17:30:09 +11:00
Ashley Rogers 3d9b0b4384 Remove unnecessary static 2024-12-20 13:19:26 -05:00
Ashley Rogers 768b6510b3 Quotes to brackets 2024-12-20 12:00:09 -05:00
Ashley Rogers 2c8aa4a422 Fix includes using script 2024-12-20 11:56:49 -05:00
Ashley Rogers 738de4be36 Fix CI ranges issue 2024-12-19 15:55:14 -05:00
Ashley Rogers d7226461d6 Format 2024-12-19 15:34:53 -05:00
Ashley Rogers 2c992b7ba7 Performance checks 2024-12-19 15:27:53 -05:00
Ashley Rogers f7d287dd80 Modernize checks 2024-12-19 15:20:19 -05:00
Ashley Rogers 94cc7992aa Misc checks 2024-12-19 14:33:52 -05:00
Ashley Rogers 9fc2400faf Add cppcoreguidelines checks 2024-12-19 13:49:21 -05:00
Ashley Rogers e2cd734c71 Enable self-assignment check, install newer CMake on CI 2024-12-18 16:59:50 -05:00
Kevin Ring 4fb3063022 Remove unused types, and fix doc/code mismatch. 2024-12-18 19:46:18 +11:00
Ashley Rogers 77094edb1f Format 2024-12-17 17:27:27 -05:00
Ashley Rogers 1e2e47ab5e misc-include-cleaner for every file 2024-12-17 17:27:03 -05:00
Ashley Rogers 2ce337be44 Merge from main 2024-12-17 11:36:54 -05:00
Ashley Rogers f934b40717 All warnings resolved 2024-12-17 11:30:58 -05:00
Ashley Rogers c580d5def6 Fix even more warnings 2024-12-13 15:13:59 -05:00
Ashley Rogers f91818e039 Even more documentation 2024-12-11 15:33:30 -05:00
Ashley Rogers d98f4b9cd7 Lots of additional docs 2024-12-10 15:39:12 -05:00
Ashley Rogers 4d82403b80 Pan-zoom, add dependencies page. 2024-12-06 18:21:57 -05:00
Tim Moore d1b064d8fd Don't add public headers to public target sources
The intent is for public target sources to be compiled into consumers
of a target, but that is a no-op for header files. Including the
public headers, which have paths pointing inside the project, causes
an error when generating an export set.
2024-12-05 16:03:52 +01:00
Tim Moore 7d5f2e1748 Choose BUILD_INTERFACE or INSTALL_INTERFACE in include directories
Should be a no-op at this point, but will be required when we make
Cesium Native installable.
2024-12-05 16:03:12 +01:00
Ashley Rogers bb365c8aee Dependency graph generation 2024-12-04 14:39:16 -05:00
Ashley Rogers fdabe39f6e Fix some Doxygen warnings 2024-11-26 14:14:58 -05:00
Ashley Rogers fde31cf262 Merge branch 'main' of github.com:CesiumGS/cesium-native into clang-tidy-4 2024-11-25 14:20:56 -05:00
Sean Lilley d1ccc7a10f Add equality operator for JsonValue 2024-11-22 15:47:08 -05:00
Ashley Rogers cca8871eef Include both catch2 headers 2024-11-22 11:30:45 -05:00
Ashley Rogers f82d65bead Change Catch2 header 2024-11-22 11:17:21 -05:00
Ashley Rogers a6d422f7c7 Another shadowed variable 2024-11-20 17:53:04 -05:00
Ashley Rogers 577aa8aa45 Another cast, add maybe_unused to asserted bool 2024-11-20 17:41:55 -05:00
Ashley Rogers c4c08285a9 Fix more warnings 2024-11-20 17:25:21 -05:00
Ashley Rogers acc9e81d12 Merge from main 2024-11-20 17:12:43 -05:00
Ashley Rogers 639e7aba5d Format 2024-11-20 16:52:17 -05:00
Ashley Rogers 52633c67f4 Non-PropertyTable changes 2024-11-20 16:20:04 -05:00
Janine Liu c677c85fbc
Merge pull request #977 from CesiumGS/remove-gsl
Remove use of the GSL library
2024-11-20 15:36:50 -05:00
Janine Liu 0613c02849
Merge pull request #1002 from CesiumGS/fix-variable-shadowing
Eliminate variable shadowing in JsonValue
2024-11-20 14:10:06 -05:00
Kevin Ring 4f9c917bee Fix variable shadowing in JsonValue.
Clang gets upset about this in the cesium-unreal build.
2024-11-20 21:14:24 +11:00
Ashley Rogers 86a4bf7e53 Fix warnings ignored on headers with SYSTEM 2024-11-19 15:47:40 -05:00
Kevin Ring fb24a2efe1 Merge remote-tracking branch 'origin/cpp20' into remove-gsl 2024-11-19 09:15:21 +11:00
Kevin Ring 8a23ca54d9 Merge remote-tracking branch 'origin/main' into cpp20 2024-11-19 09:14:49 +11:00
Ashley Rogers 67044b3e2e Merge from main 2024-11-15 15:46:44 -05:00
Kevin Ring 651d3b4d43 Merge remote-tracking branch 'origin/main' into remove-gsl 2024-11-15 13:58:24 +11:00
Ashley Rogers 7fd9590e95 Update doc comments, add 'const' to foreach 2024-11-14 15:39:23 -05:00
Sean Lilley f51948fbe4 Remove old CESIUM_NATIVE_ CMake variables 2024-11-13 11:22:17 -05:00
Ashley Rogers 381888148b Update getSizeBytes generation 2024-11-11 15:54:55 -05:00
Kevin Ring 9c616411ba Fix C++20 compiler error when CESIUM_FORCE_ASSERTIONS is not defined. 2024-11-06 16:58:48 +11:00
Kevin Ring 89dfc44bdc Remove use of GSL.
Change gsl::span to std::span, and replace the few uses of gsl::narrow
with an alternative.
2024-11-06 15:16:03 +11:00
Kevin Ring 97331792d3 Compile with C++20 and fix the problems. 2024-11-05 16:54:11 +11:00
Ashley Rogers 8a32ec8b15 Fix unreferenced parameter warnings 2024-11-01 11:52:40 -04:00
Ashley Rogers d976ec13c6 Merge from main, still needs to be fixed 2024-11-01 10:49:26 -04:00
Kevin Ring e8fbd40e4b Doc and cleanup. 2024-10-30 13:32:30 +11:00
Kevin Ring e3c3daf6c3 Move SharedAsset to CesiumUtility.
This avoids adding a new dependency on CesiumAsync to CesiumGltf.
2024-10-30 12:49:07 +11:00
Ashley Rogers c654653062 Fix small typo 2024-10-29 15:16:22 -04:00
Kevin Ring 117b65f362 Merge branch 'shared-assets' into shared-assets-wip 2024-10-29 17:46:14 +11:00
Kevin Ring 172ce88ceb Merge remote-tracking branch 'origin/main' into shared-assets 2024-10-29 17:45:33 +11:00
Kevin Ring fd601bceaf Fix clang errors. 2024-10-29 14:31:21 +11:00
Kevin Ring ff87332b7c Formatting. 2024-10-29 14:28:05 +11:00
Kevin Ring d43edcea85 Add ResultPointer. 2024-10-29 11:38:15 +11:00
Kevin Ring 727a68d064 Introduce AssetEntry. 2024-10-28 17:13:18 +11:00
Kevin Ring 083cb92db2 WIP refactoring. 2024-10-25 00:45:53 -04:00
Ashley Rogers 714aa28c28 SharedAsset support in gltf generated code 2024-10-22 11:42:09 -04:00
Ashley Rogers b220031fb0 Doubly linked list for deletion candidates 2024-10-11 14:31:23 -04:00
Kevin Ring cee6f21ea6 Make SharedAsset a base class an eliminate AssetContainer. 2024-10-04 16:10:28 +10:00
Kevin Ring 86995ffd49 Allow constructor parameters to pass to ExtensibleObject::addExtension. 2024-09-30 14:44:49 +10:00
Sean Lilley c1f6b6e829 Add gzip 2024-09-26 11:33:08 -04:00
Kevin Ring 7ecb171f44
Merge pull request #939 from dbs4261/patch-1
Fixed Missing Includes with Libc++18
2024-09-10 08:05:20 +10:00
Daniel Simon dbb1d40724
Merge branch 'CesiumGS:main' into patch-1 2024-08-15 11:05:57 -07:00
Kevin Ring 1fcdeadfd9 Merge remote-tracking branch 'origin/main' into vcpkg-swl 2024-08-02 19:45:58 +10:00
Kevin Ring 8b9b001b8b
Merge branch 'main' into gltf-ray-intersect 2024-07-23 13:38:37 -04:00
Janine Liu 4503e08c64 Undo line delete 2024-07-11 10:31:03 -04:00
Janine Liu 707dd8b770 Add missing includes 2024-07-11 10:25:23 -04:00
Daniel Simon ed3ae84c4a
Fixed missing include Uri.cpp
`std::replace_copy` is not found with libstdc++14 because it requires the algorithm header to be included
2024-07-10 17:21:42 -07:00
Brian L 7cda07f420 Remove occurrences of including <glm/mat4x4.hpp> in header files 2024-07-09 09:25:27 -06:00
Kevin Ring 7c9ea84178 Merge remote-tracking branch 'origin/main' into vcpkg-swl 2024-07-02 17:39:20 +10:00
Brian L 74653140f3 Rename to CESIUM_ASSERT 2024-06-20 10:14:38 -06:00
Brian L 91300f9a61 update from main 2024-06-20 09:54:52 -06:00
Kevin Ring ca42500d54 Merge remote-tracking branch 'origin/main' into vcpkg-2 2024-06-05 14:06:47 +10:00
Janine Liu e1ed4db7dc
Merge pull request #854 from CesiumGS/i3dm-2024
Support 3D Tile I3dm legacy tile format
2024-05-29 09:44:15 -04:00
Kevin Ring 47498be701 Update documentation. 2024-05-27 16:06:57 +10:00
Kevin Ring 268e0d015f Change Windows detection for URI methods.
Instead of:

```
if constexpr (std::filesystem::path::preferred_separator == '\\')`
```

We now do:

```
```

Because the former won't work on versions of iOS prior to 13.0.
2024-05-27 15:54:42 +10:00
Tim Moore 9af4cd7fa1 Add tests for CesiumUtility::Math::rotation and fix a bug 2024-05-23 16:46:29 +02:00
Tim Moore e60e936e67 format fixes 2024-05-17 19:42:22 +02:00
Tim Moore be323a4887 Move rotation function to CesiumUtility/Math.h 2024-05-17 19:30:45 +02:00
Kevin Ring c4cf6c0715 Add new Uri functions. 2024-05-16 22:15:08 +10:00
Tim Moore d238025621 Add a perpVec function and use it
A simple function for computing a perpendicular vector.
2024-05-07 17:58:06 +02:00
Brian L 85d70f10cf Fix issue where reincluding cassert could break forced assertions 2024-05-03 15:31:29 -06:00
Brian L 949d9a60a8 Fixup macro 2024-05-03 14:16:30 -06:00
Brian L 47414f09fb Make our ASSERT macro. Move everything to use this. 2024-05-03 12:50:50 -06:00
Ashley Rogers 65189bdfe4 Fix format 2024-04-29 16:40:46 -04:00
Ashley Rogers a37e6c2894 Update from review 2024-04-29 15:26:31 -04:00
Ashley Rogers a9d722b9c5 Merge from main 2024-04-19 14:13:36 -04:00
Ashley Rogers ce2b693bae Fix URI parsing for URLs with ambiguous protocols 2024-04-19 13:47:36 -04:00
Kevin Ring 7e9277f165
Merge branch 'main' into remove-extension 2024-04-18 20:46:01 -04:00
Janine Liu 441e04291d
Merge branch 'main' into gltf-improvements 2024-04-12 13:06:02 -04:00
Sean Lilley 1a1332bde7 Added removeExtension to ExtensibleObject 2024-04-12 11:27:31 -04:00
Janine Liu 40f16b1722 Add GlobeRectangle equals and equalsEpsilon 2024-04-10 11:01:57 -04:00
Kevin Ring eeeb304926 Various glTF helper functions. 2024-04-10 15:14:11 +10:00
Janine Liu b25f169877 Separate test lines, add quick doc tweaks 2024-04-05 14:05:05 -04:00
Kevin Ring f962a69cb6 Add missing header. 2024-04-05 21:51:25 +11:00
Kevin Ring 3d7ff14c70 Fix joinToString with initial empty string. 2024-04-05 20:59:04 +11:00
Kevin Ring 8bfe4c4041 Add Uri::getPath and setPath. 2024-04-05 20:28:57 +11:00
Kevin Ring 1e7af45c48 Don't include threadID in thread safe implementation. 2024-02-25 23:10:18 +11:00
Kevin Ring 9f8b011a6e Just one templatized ReferenceCounted class. 2024-02-25 22:44:05 +11:00
Bradley Austin Davis 24d783fb01 Migrate dependencies to vcpkg 2024-02-24 00:37:37 +00:00
Janine Liu f9eff35e22
Merge branch 'main' into ref-counted-thread-safe 2024-02-23 10:39:28 -05:00
Kevin Ring 916c63ee94 Revert "Merge pull request #798 from CesiumGS/upgrade-to-zlib-ng"
This reverts commit 09c1eb76b4, reversing
changes made to bec474f264.
2024-02-23 09:16:29 +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
Ashley Rogers 5db2f0d180 Add zlib-ng to vcpkg 2024-02-20 14:25:09 -05:00
Ashley Rogers 10753a931f
Merge branch 'main' into feature-vcpkg 2024-02-20 13:44:11 -05:00
Brian Langevin 311c42026a
Merge branch 'main' into ref-counted-thread-safe 2024-02-19 10:02:04 -07:00
Kevin Ring 62e9fb3f4f Formatting. 2024-02-15 18:34:43 +11:00
Bradley Austin Davis e20c154c55 Migrating dependencies to vcpkg 2024-02-02 10:40:59 -08:00
Ashley Rogers 9c0899f0af Fix Linux build 2024-01-30 16:09:20 -05:00
Ashley Rogers 4b3d889bcb Replace zlib with zlib-ng 2024-01-30 14:48:14 -05:00
Kevin Ring e118ed5e38 Add ReferenceCountedThreadSafe<T>. 2024-01-25 17:26:57 +11:00
Kevin Ring 502cab0343 Merge remote-tracking branch 'origin/better-subtrees' into raster-overlay-refactoring 2023-11-29 09:14:46 +11:00
Kevin Ring 11140f0e77
Merge pull request #744 from CesiumGS/extract-uri-value
Extract Value From URI
2023-11-20 17:54:46 +11:00
Kevin Ring d3f74aaf0a Include header for std::strcmp. 2023-11-20 17:46:44 +11:00
Kevin Ring dff7e61171 Create CesiumRasterOverlays library. 2023-11-14 18:29:47 +11:00
Janine Liu c6c31aaf4f Merge branch 'main' into property-value-conversions 2023-11-13 14:27:57 -05:00
Janine Liu c7122591d6 Switch to std::optional syntax instead of defaulting to some value 2023-11-13 11:47:14 -05:00
Kevin Ring a71a982986 Add new Cesium3DTilesContent library. 2023-11-02 17:41:09 +11:00
Joseph Kaile fa2025ff68 add URI get query value tests 2023-10-31 14:16:30 -04:00
Joseph Kaile 087abd079e extract key-value from uri 2023-10-23 15:25:17 -04:00
Joseph Kaile e8990ce108 add utility function to extract key-value from url 2023-10-23 15:18:58 -04:00
Kevin Ring 3c05ac98b1 Merge remote-tracking branch 'origin/main' into upgrade-feature-metadata 2023-09-08 15:34:49 +10:00
Kevin Ring 1b9b54c66b
Merge pull request #713 from CesiumGS/additional-property-details
Create `PropertyView` base class with normalization handling
2023-09-08 11:56:52 +10:00
Kevin Ring 31fc053321 Fix clang warning. 2023-08-28 19:22:41 +10:00
Kevin Ring 946887abe7 Add getArrayOfStrings helper to JsonValue. 2023-08-28 18:41:25 +10:00
Kevin Ring 5d70051a78 Making storing unknown properties optional. 2023-08-16 15:26:23 +10:00
Kevin Ring a74caa6439 Capture unknown properties in an "unsupported" JsonObject. 2023-08-16 15:26:23 +10:00
Janine Liu 6dcadfe38e Create PropertyView 2023-08-15 12:43:10 -04:00
Kevin Ring fd4b97bbf6 A different solution to zlib's dirty repo. 2023-07-11 11:26:45 +10:00
Joseph Kaile 3b4879c032 fix signedness error 2023-05-18 14:55:20 -04:00
Joseph Kaile 3dd709a874 fix ci 2023-05-18 14:27:36 -04:00
Joseph Kaile 80025f1540 change gzip function from static to extern 2023-05-18 14:07:32 -04:00
Joseph Kaile ce479a202f formatting 2023-05-18 13:37:42 -04:00