Commit Graph

  • 9cc75aede4
    Remove version.nim. cheatfate 2019-07-06 11:20:59 +03:00
  • d8aae46ec1
    Fix compilation error. cheatfate 2019-07-06 11:18:19 +03:00
  • 8ba4fc9876
    Add awaitne command which will have yield behavior in async cancellation world. Add tests for both await and awaitne. cheatfate 2019-07-06 11:16:31 +03:00
  • 45ca9e1184
    Deprecate usage of yield inside of streams. cheatfate 2019-07-05 13:19:04 +03:00
  • 4dbf4844ee
    Bump version to 2.2.7. cheatfate 2019-07-05 00:03:19 +03:00
  • 9c15a09904
    Bump version to 2.2.7. Attempt to fix stability of MacOS test. cheatfate 2019-07-04 15:30:07 +03:00
  • 43ae07f20c
    Fix deprecation warning. cheatfate 2019-07-04 15:13:39 +03:00
  • fcfb87d2a0
    Deprecate oneIndex(), oneValue(), all(), or(), and(). Add allFutures() and one(). Fix deprecation in chunkedstream. Add tests. cheatfate 2019-07-04 15:04:59 +03:00
  • 247e453b71
    Fix hidden close issue in AsyncStream. cheatfate 2019-07-02 21:26:21 +03:00
  • 43eeceb8e5
    Attempt to fix macos timers. cheatfate 2019-06-27 13:12:52 +03:00
  • 992cc57377
    Fix timeout value. cheatfate 2019-06-26 15:50:40 +03:00
  • 059433ccad
    Add cancellation tests. cheatfate 2019-06-26 15:36:01 +03:00
  • 13301005a3
    Return back ValueError. cheatfate 2019-06-25 10:50:56 +03:00
  • 15b25140b4
    Let complete/fail cancelled Future[T]/FutureVar[T] for free. cheatfate 2019-06-25 10:18:47 +03:00
  • 7d7753b7fd
    Initial cancellation proposal. cheatfate 2019-06-20 23:30:41 +03:00
  • 31f4dc3096
    Add ability to create copies of AsyncStreams. cheatfate 2019-06-18 20:11:13 +03:00
  • c113aa1be7
    Merge pull request #40 from status-im/buildnim Eugene Kabanov 2019-06-13 15:36:08 +03:00
  • beaeadafd1
    CI: use build_nim.sh Ștefan Talpalaru 2019-06-13 12:42:22 +02:00
  • 5d4338d294
    Fix chunkedstream documentation. Remove unnecessary asserts. cheatfate 2019-06-12 18:26:20 +03:00
  • f83d1b4da4
    Remove some unused symbols. cheatfate 2019-06-08 08:37:58 +03:00
  • a8a1138b8b
    Fix for race condition in *nix connect(). cheatfate 2019-06-06 21:22:17 +03:00
  • 9160dcdbba
    Merge pull request #37 from status-im/asyncstream Eugene Kabanov 2019-06-06 15:05:08 +03:00
  • 77b4ff0534
    Remove timeout handling for streams. cheatfate 2019-06-06 14:00:47 +03:00
  • c27c564d47
    Add oneIndex(), oneValue() which are varargs or operation. Fix some deprecation warnings for Nim devel. Add tests for oneIndex(), oneValue(). cheatfate 2019-06-04 19:51:35 +03:00
  • 38dd4cb6e7
    Fix for Nim devel discrimination checks. cheatfate 2019-06-03 10:24:51 +03:00
  • 738a9e7b72
    Merge pull request #39 from status-im/fixepipe Eugene Kabanov 2019-05-30 14:40:38 +03:00
  • 49bae9792d
    Fix documentation for read(n) procedure. cheatfate 2019-05-28 20:12:00 +03:00
  • 317ce3c797
    Ignore ECONNRESET and EPIPE errors on sending. Add test for ECONNRESET error. cheatfate 2019-05-28 09:29:00 +03:00
  • 62da8212a4
    Updated README to match nimbus-launch template Bruno Škvorc 2019-05-20 17:43:23 +02:00
  • 2ba6e5a412
    Fix ChunkedStream error to be derived from CatchableError. cheatfate 2019-05-10 09:01:16 +03:00
  • 939e461d04
    Exceptions and handles fixes. cheatfate 2019-05-10 08:27:05 +03:00
  • 6e7a753793
    Fix for Windows server close procedure. cheatfate 2019-05-09 20:59:15 +03:00
  • 454571f943
    Fix tests to consume all the bytes from the nested stream. Add error messages for nested exceptions. cheatfate 2019-05-08 12:44:00 +03:00
  • 296b8c23a5
    Fix tests compilation. cheatfate 2019-05-07 23:20:06 +03:00
  • 1763c9dcff
    Add AsyncStreams. Add Chunked-Encoding AsyncStream reader/writer. Add tests. cheatfate 2019-05-07 23:11:40 +03:00
  • 04b60a0e40
    Merge pull request #36 from status-im/osnet Eugene Kabanov 2019-04-15 11:49:30 +03:00
  • 2f6b36e96d
    Cleanup debug echos. cheatfate 2019-04-15 11:32:58 +03:00
  • bc4fa46566
    Add more test vectors from nim-libp2p. cheatfate 2019-04-15 11:30:52 +03:00
  • 2c2e2f7fad
    Add getInterfaces() and getBestRoute(). Add IpNet and IpMask. Add TTL setting for UDP transports with {Broadcast}. Fix comments. Add tests. Bump version to 2.2.5. cheatfate 2019-04-15 04:27:12 +03:00
  • bfc8c1b719 Fix a build issue affecting nim-eth/rlpx.nim Zahary Karadjov 2019-04-10 03:17:33 +03:00
  • 1ffa329fe1
    Merge pull request #34 from status-im/srcloc Eugene Kabanov 2019-04-09 19:40:08 +03:00
  • 66160a9630
    Move fromProc to SrcLoc. cheatfate 2019-04-08 16:46:22 +03:00
  • cd745a20ed
    Add SourceLocation. All the Future[T] operations using SourceLocation now. cheatfate 2019-04-08 03:59:49 +03:00
  • 3a282dd07b
    Merge pull request #33 from status-im/tracking Eugene Kabanov 2019-04-07 21:40:55 +03:00
  • 6a1f7785a0
    Custom tracking mechanism. 1. Add simple tracking of Datagram and Stream transports. 2. Fix leaks in tests. 3. Add leaks tests to Datagram and Stream transport tests. cheatfate 2019-04-04 12:34:23 +03:00
  • adc9035b07
    Some cosmetic in Future[T] names. cheatfate 2019-03-31 18:33:01 +03:00
  • c84d847b19
    Merge pull request #30 from status-im/broadcast Eugene Kabanov 2019-03-31 12:52:16 +03:00
  • d3b72dbe8b
    Add broadcast feature for DatagramTransport. Add test for it. cheatfate 2019-03-31 09:18:21 +03:00
  • 5229043b9f
    Merge pull request #29 from status-im/fixwinandtests Eugene Kabanov 2019-03-31 00:41:50 +02:00
  • 80ee289847
    Fix rarely appearing Windows bug with close(transport). Add tests for it. Add fromProc for all Future[T] in transports. Add testall to improve tests speed. Bump version to 2.2.4. cheatfate 2019-03-31 00:31:10 +02:00
  • 4290e06e77
    Fix #16. cheatfate 2019-03-29 11:53:24 +02:00
  • 5b76338b97
    Merge 25e09dd9a007666e6a307e9b540006ae18ea3b88 into 7d63a1b54d2e1ab8fdd0bdbb95d3c84147ccf46f Eugene Kabanov 2019-03-28 18:42:38 +00:00
  • 7d63a1b54d
    Fix wait() to allow Future[void]. cheatfate 2019-03-28 00:56:17 +02:00
  • 51c87bf090
    Fix to allow parsing of addresses with 0 port. cheatfate 2019-03-27 21:42:46 +02:00
  • a2b85a8126
    Fix for $(0). cheatfate 2019-03-27 07:54:41 +02:00
  • 3d87707b07
    Fix #21. cheatfate 2019-03-26 14:29:35 +02:00
  • 0ed60b8761
    Merge pull request #27 from status-im/recoverable-errors Eugene Kabanov 2019-03-26 14:02:44 +02:00
  • 9d346412eb All async errors are recoverable Zahary Karadjov 2019-03-26 12:29:45 +02:00
  • d63bfb4598
    Merge branch 'nimble' Ștefan Talpalaru 2019-03-26 00:27:05 +01:00
  • 31853bf224
    *.nimble: remove import Ștefan Talpalaru 2019-03-25 22:55:20 +01:00
  • da4709d735
    Convert cast[int64] to int64, to allow usage at compile time. Fix 32bit compilation issue. cheatfate 2019-03-25 23:24:32 +02:00
  • 25e09dd9a0
    Adopt testbugs to new Datagram callback. datagramrace cheatfate 2019-03-24 21:21:27 +02:00
  • da09813514
    Datagram Transport race fix and callback signature change. cheatfate 2019-03-24 21:12:38 +02:00
  • 1357045cfa
    Add old version of deprecated procedures. cheatfate 2019-03-24 20:59:51 +02:00
  • 67e214c5df Introduce monotonic timer functions. (#24) Eugene Kabanov 2019-03-24 18:57:36 +02:00
  • 6e3d8ab696
    Apply last review changes. cheatfate 2019-03-24 16:46:41 +02:00
  • 427fd2b3e4
    Move getAsyncTimestamp() to asyncloop.nim. Adjust getAsyncTimestamp() not to use exceptions. cheatfate 2019-03-24 16:39:42 +02:00
  • 072c3b7d2b
    Bump version to 2.2.2. cheatfate 2019-03-24 06:36:41 +02:00
  • 070c4afe4d
    proc -> func. cheatfate 2019-03-24 06:12:27 +02:00
  • 99efaece49
    Sequence of Duration.unit().unit().unit() is not consistent. cheatfate 2019-03-24 00:13:13 +02:00
  • 8f53b1ed0a
    Review changes. cheatfate 2019-03-23 11:22:42 +02:00
  • 38b46f47f2
    Add Duration and Moment. Deprecate all timers. cheatfate 2019-03-22 22:28:11 +02:00
  • 421095a8be
    Allow one more poll() for testfut. cheatfate 2019-03-22 02:35:08 +02:00
  • 06f4a4a1c0
    One more attempt to fix CI. cheatfate 2019-03-22 01:59:25 +02:00
  • d285520a59
    Increase constant time for CI. cheatfate 2019-03-22 01:11:44 +02:00
  • 77800f2d74
    One more fix for testfut.nim cheatfate 2019-03-22 01:08:07 +02:00
  • f06f87efd2
    Fix timer issues for future test. cheatfate 2019-03-22 01:02:49 +02:00
  • 4750f80c10
    Fix 32bit issue. cheatfate 2019-03-22 00:54:45 +02:00
  • d7296de2a8
    Fix timer comments. Add more documentation. Attempt to fix 32bit problem. cheatfate 2019-03-21 21:40:17 +02:00
  • 86f99b5b57
    Introduce monotonic timer functions. Old fast timers are available through compiler switch. Add tests for both timers. cheatfate 2019-03-21 20:31:54 +02:00
  • df8d0da251
    Merge pull request #23 from status-im/all Eugene Kabanov 2019-03-15 03:24:38 +02:00
  • c05c012d9a
    Restore lost tests for all. cheatfate 2019-03-15 02:54:16 +02:00
  • ea3fb9629a
    Fixed all() implementation. cheatfate 2019-03-15 02:43:51 +02:00
  • 1e5d7916de
    Merge branch 'allignore' of github.com:status-im/nim-chronos into allignore cheatfate 2019-03-15 01:53:38 +02:00
  • 414e03b283
    Rebase and testtime change. Comparisons with nil replaced by isNil. cheatfate 2019-03-15 01:52:55 +02:00
  • 8727e753d9
    Remove commented version fo all(). cheatfate 2019-03-14 21:37:13 +02:00
  • 1e7b71ff30
    Add tests for zero-length all(). cheatfate 2019-03-13 16:52:34 +02:00
  • e31066180d
    Fix zero-length all(). cheatfate 2019-03-13 16:46:06 +02:00
  • 6b224ba12a
    Fix #21. cheatfate 2019-03-13 08:06:59 +02:00
  • 4cf64179d1
    Remove mark&sweep GC tests. cheatfate 2019-03-12 12:32:01 +02:00
  • d70af3311b
    Reduce number of tests (too slow). cheatfate 2019-03-12 12:22:53 +02:00
  • d927f9b20e
    Back to original version but with fixed behavior on waiting all futures. cheatfate 2019-03-12 01:07:02 +02:00
  • fa124a9585
    Rename asyncIgnore -> asyncDiscard. cheatfate 2019-03-08 16:37:27 +02:00
  • ff5c7a5b75
    Remove asyncIgnore(). Add asyncDiscard(). Remove all(seq[T]) because it not needed, all(varargs[T]) covers it. cheatfate 2019-03-08 16:33:37 +02:00
  • a8d86de9d5
    Bump version to 2.2.1. cheatfate 2019-03-08 02:26:07 +02:00
  • de3381264f
    Add all(varargs): Future[void] Add all(seq): Future[void] Add asyncIgnore(Future[T]) Add tests for all new methods. Move currentID out from global scope to threadvar. cheatfate 2019-03-08 02:25:37 +02:00
  • edc0becd45
    Remove commented version fo all(). cheatfate 2019-03-14 21:37:13 +02:00
  • 685665ad21
    assert() -> doAssert() Ștefan Talpalaru 2019-03-14 04:03:32 +01:00
  • a2c2494533
    Add tests for zero-length all(). cheatfate 2019-03-13 16:52:34 +02:00
  • eeb13e9daf
    Fix zero-length all(). cheatfate 2019-03-13 16:46:06 +02:00