124 Commits

Author SHA1 Message Date
Denis Blank
0eb272a46f Move generic transforms out of the main class
* Introduce apply to use generic transforms which are
  defined out of class.
2017-10-04 04:05:11 +02:00
Denis Blank
ec65ce0bf3 Attempt to fix the travis gcc build 2017-10-04 03:39:53 +02:00
Denis Blank
8f83d4d30c Split the sequence tests for an improved memory footprint 2017-10-04 03:33:32 +02:00
Denis Blank
612aeef0c8 Add an operator| (pipe) for future folding and channels 2017-10-04 03:17:26 +02:00
Denis Blank
09bae47e09 Add unit tests targeting error handler and inner handler exceptions 2017-10-04 03:11:10 +02:00
Denis Blank
b80a4e852b Fix a msvc warning 2017-10-04 02:40:53 +02:00
Denis Blank
4afeb141f1 Catch exceptions thrown by the continuation handler
* Forward it to the next error handler
2017-10-04 02:39:02 +02:00
Denis Blank
ddd5b0a0a6 more 2017-10-04 02:23:55 +02:00
Denis Blank
bf1ac9daee Unify the then, fail and flow callback creation 2017-10-04 01:47:04 +02:00
Denis Blank
dc205c8e51 Started on accepting flowing callables which accept all paths 2017-10-04 01:11:25 +02:00
Denis Blank
bac14297e0 Test exceptions on/off in appveyor MSVC builds 2017-10-04 00:10:31 +02:00
Denis Blank
f7fabd8ba3 Attempt to fix the GCC travis build 2017-10-04 00:10:08 +02:00
Denis Blank
1e1f5cdf5b Fix some issues with the no exception build 2017-10-03 21:59:09 +02:00
Denis Blank
1042ddc1f1 Run an exception disabled build inside travis 2017-10-03 21:55:27 +02:00
Denis Blank
4d964b0fe2 Add error handling testing 2017-10-03 21:55:04 +02:00
Denis Blank
60c73a1a48 Add trap and unreachable
* Use both functions to exit on invalid behaviour
2017-10-03 21:03:27 +02:00
Denis Blank
54fb32ae56 Fix the remaining promisify composition GCC errors 2017-10-03 20:26:32 +02:00
Denis Blank
1471e1f610 Use 2 processes in travis-ci 2017-10-03 20:25:13 +02:00
Denis Blank
2dd1b9f361 Promisify all and any callbacks 2017-10-03 20:08:48 +02:00
Denis Blank
40588e4e6e Use ninja for travis-ci builds 2017-10-03 19:58:27 +02:00
Denis Blank
935fd9d32d Initial work on error testing 2017-10-03 19:53:58 +02:00
Denis Blank
d199658ae2 Downgrade GCC in travis to version 6 2017-10-03 19:07:33 +02:00
Denis Blank
ce4ae5204a Fix an expression result unused warning
* Use tuple comparison instead of value per value
2017-10-03 19:00:11 +02:00
Denis Blank
b488d88370 Simplify assert_async_binary_validation 2017-10-03 18:39:35 +02:00
Denis Blank
342d08ab1d Simplify static_for_each_in 2017-10-03 18:33:44 +02:00
Denis Blank
457a9dca00 Simplify some tests in order to reduce heap usage while building 2017-10-03 17:32:03 +02:00
Denis Blank
b8ff4c4c18 Split the chaining tests into multiple ones 2017-10-03 17:15:42 +02:00
Denis Blank
2008f006a0 Test the latest GCC and Clang in travis only 2017-10-03 17:02:23 +02:00
Denis Blank
6f8edf3416 Thin out the tests 2017-10-03 17:01:05 +02:00
Denis Blank
b8b9f31024 Improve the documentation of promise and continuable 2017-10-03 02:42:19 +02:00
Denis Blank
52cf1ab929 Started to implement combined path callables 2017-10-03 02:25:20 +02:00
Denis Blank
7dcd18c964 Expose dispatch_error_tag and error_type 2017-10-03 01:48:22 +02:00
Denis Blank
3d0ce45ae4 Rename unique_callback to promise 2017-10-03 01:37:19 +02:00
Denis Blank
29c61b6b96 Fix an inline function isn't defined warning 2017-10-03 01:36:32 +02:00
Denis Blank
f5e10d9fba Split the base tests intro multiple files 2017-10-03 01:33:04 +02:00
Denis Blank
6b9efad602 Pass promises to type erased continuables instead of the raw callbacks 2017-10-03 01:21:32 +02:00
Denis Blank
a685d9234a Readd unique_continuable 2017-10-03 01:14:53 +02:00
Denis Blank
22c9ee01d4 Fix "all" compositions with error handling 2017-10-02 17:23:06 +02:00
Denis Blank
268245b5e4 Add the possibility to use custom error types 2017-10-02 17:22:25 +02:00
Denis Blank
bc431b4013 Rename catching -> fail 2017-10-01 03:37:34 +02:00
Denis Blank
52fb13387d Update function2 to naios/function2@5e376068 2017-10-01 03:37:16 +02:00
Denis Blank
f8b3c348a4 Update function2 to naios/function2@2.1.0
* Fixes the remaining crash for error handling
2017-10-01 02:18:52 +02:00
Denis Blank
d9546c15bb Allow packed_dispatch to receive an arbitrary count of tail args 2017-10-01 01:49:50 +02:00
Denis Blank
e594989af2 More implementation work on error handling 2017-10-01 01:40:32 +02:00
Denis Blank
8856f85388 Fix more build failures regarding error handling 2017-10-01 01:26:49 +02:00
Denis Blank
5d11d44a44 Enable the failing part 2017-10-01 00:54:18 +02:00
Denis Blank
b9a367ba03 More work on error handling 2017-10-01 00:49:43 +02:00
Denis Blank
64c03b818d Fix a conditional move 2017-09-30 22:21:47 +02:00
Denis Blank
0f242df1a6 Remove an unused lambda capture 2017-09-30 19:49:33 +02:00
Denis Blank
8d7f4e5a1b Fix some unused warnings 2017-09-30 02:40:20 +02:00