Commit Graph

1587 Commits

Author SHA1 Message Date
Bao Tran 2e7d9b8c97 fix compiler warning 2021-07-15 20:11:16 -04:00
Bao Tran 5f4add636a fix more compiler warning 2021-07-15 19:52:20 -04:00
Bao Tran a6d8f69e57 fix compiler warning 2021-07-15 19:49:29 -04:00
Bao Tran c25c13b27c static_assert rapidjson::Value::Char size 2021-07-15 19:33:03 -04:00
Bao Tran eca0952eb2 add assertion when converting binary metadata 2021-07-15 19:25:42 -04:00
Bao Tran e420e729ec fix compiler warning 2021-07-15 19:10:59 -04:00
Bao Tran 6ab6caad32 fix compiler warning 2021-07-15 17:33:24 -04:00
Bao Tran 1185d2e78f use int64 for meta array 2021-07-15 17:17:30 -04:00
Bao Tran c19b847261 fix test 2021-07-15 17:00:31 -04:00
Kevin Ring 858f7ef5eb WIP SharedFuture 2021-07-15 23:37:55 +10:00
Kevin Ring e89b5f01f6 Formatting. 2021-07-15 18:03:13 +10:00
Kevin Ring 2079b56624 Add catchImmediately, more tests. 2021-07-15 18:02:00 +10:00
Kevin Ring 7dff5a9fc9 Formatting. 2021-07-15 14:06:58 +10:00
Kevin Ring 7f6f1e3687 Add `all` method to AsyncSystem. 2021-07-15 14:06:29 +10:00
Kevin Ring a033ebaa60 Update CHANGES.md to match renamed method. 2021-07-14 21:33:40 +10:00
Kevin Ring 99fe6a35ac Formatting. 2021-07-14 21:32:24 +10:00
Kevin Ring e6e0561641 Move Promise to a separate file. 2021-07-14 21:31:52 +10:00
Kevin Ring 4c541cda73 Fix forwarding for WithTracing and unwrapFuture. 2021-07-14 21:25:16 +10:00
Kevin Ring d836b63b51 Rename dispatchZeroOrOneMainThreadTask to dispatchOneMainThreadTask.
And also improve its doc.
2021-07-14 17:01:51 +10:00
Kevin Ring f6f7ba4450 Merge remote-tracking branch 'origin/main' into async-system-tests 2021-07-14 16:56:54 +10:00
Nithin Pranesh 1b90a8c230 CHANGES.md and test fixes 2021-07-13 18:23:17 -04:00
Nithin Pranesh a383ff514b use arbitrary list of frustums in refinement engine 2021-07-13 17:28:02 -04:00
Bao Tran dab9312560 use int64_t for property view 2021-07-13 13:47:01 -04:00
Bao Tran e709e8fc34 add float and double type to comment for feature table view and property view 2021-07-13 11:38:29 -04:00
Bao Tran ced959eccb add p prefix for pointer 2021-07-13 11:30:08 -04:00
Bao Tran 327780ed42 fix thirdparty headers 2021-07-13 11:16:38 -04:00
Bao Tran abdef78b04 remove misleading comment in the batch table upgrader 2021-07-12 12:45:57 -04:00
Bao Tran 18eb2a02a0 remove byteStride in metadata 2021-07-12 12:41:26 -04:00
Bao Tran aec415b479 check positive featureTableJsonByteLength early 2021-07-12 12:27:29 -04:00
baothientran 050ef4019c
Merge pull request #275 from CesiumGS/catch2-with-angle
Use angle brackets to #include catch2.
2021-07-08 23:00:31 -04:00
Bao Tran e6a378920b Merge branch 'main' into feature-metadata-extension 2021-07-08 18:50:41 -04:00
Bao Tran fb24d8d6ca add comment to FeatureTableView 2021-07-08 18:29:38 -04:00
Kevin Ring 3e5c584f3f Do Debug builds on non-Windows platforms, too. 2021-07-08 22:16:48 +10:00
Kevin Ring ae8977e70f Fix a mysterious thread_local related segfault. 2021-07-08 22:13:12 +10:00
baothientran 9ba169a3ee
Merge pull request #279 from CesiumGS/combine-generated-handlers
Put all generated glTF JSON handlers into a single C++ source file, rather than one file per class
2021-07-07 16:48:53 -04:00
Kevin Ring ad11fffb42 Add specialization for Promise<void>. 2021-07-07 14:40:10 +10:00
Kevin Ring 4305556124 Update CHANGES.md. 2021-07-07 14:14:25 +10: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 49eb83a233 Merge remote-tracking branch 'origin/async-system-tests' into combine-generated-handlers 2021-07-07 10:51:03 +10:00
Kevin Ring b2ac5a70f6 Fix a race condition in a test. 2021-07-07 00:53:54 +10:00
Kevin Ring 8f7570ccdd Avoid slicing exception objects. 2021-07-07 00:32:46 +10:00
Kevin Ring 43f10812f9 Merge remote-tracking branch 'origin/async-system-tests' into combine-generated-handlers 2021-07-06 23:37:52 +10:00
Kevin Ring 355c486683 Make Future::wait return T and throw on reject. 2021-07-06 23:29:59 +10:00
Kevin Ring 33b40b6dad Generate JSON handlers into a single source file.
To speed up compilation.
2021-07-06 22:34:18 +10:00
Kevin Ring 76a427370f Update CHANGES.md. 2021-07-06 22:17:26 +10:00
Kevin Ring 17a16a4dc7 AsyncSystem test improvements. 2021-07-06 22:12:42 +10:00
Kevin Ring 2c88c6c282 Formatting. 2021-07-06 19:02:18 +10:00
Kevin Ring 490114c648 Add some tests for AsyncSystem. 2021-07-06 19:01:46 +10:00
Kevin Ring 4e45bab460 Use angle brackets to #include catch2. 2021-07-04 22:57:11 +10:00
baothientran d672261b95
Merge pull request #272 from CesiumGS/editor-settings
Add .editorconfig and .gitattributes
2021-07-02 10:58:02 -04:00