Eugene Kabanov
|
319e2bfc09
|
Fix Nim's issue #13899 using #14723 and add tests. (#104)
|
2020-06-24 13:03:36 +03:00 |
Eugene Kabanov
|
02b8da986b
|
Add accept() call (#103)
* Add accept() call and tests.
* Fix rare fd leaks on Windows.
* Fix compilation warnings.
* Add fd leak test.
* Bump version to 2.4.0.
|
2020-06-24 11:21:52 +03:00 |
Eugene Kabanov
|
2ecc5500c2
|
Undeprecate `or` operation. (#93)
* Undeprecate `or` operation.
Fix `or` for already finished futures.
Add tests.
* Bump version to 2.3.9.
|
2020-04-21 07:07:49 +03:00 |
Eugene Kabanov
|
3d745a4b0c
|
Fix Nim's issue #13889 https://github.com/nim-lang/Nim/issues/13889. (#90)
|
2020-04-06 15:49:09 +03:00 |
Eugene Kabanov
|
4e2810cfe0
|
Fix issue with allFinished(), allFutures(), one() behavior when Futures passed are already finished. (#89)
Added test.
|
2020-04-06 13:56:24 +03:00 |
Araq
|
f3827a13d1
|
prepare nim-chronos for Nim version 1.2
|
2020-03-23 20:17:29 +02:00 |
Jacek Sieka
|
d8f8e3d9fc
|
readMsg branch by @arnetheduck with some changes. (#83)
Co-authored-by: Eugene Kabanov <ka@hardcore.kiev.ua>
|
2020-03-05 10:59:10 +01:00 |
cheatfate
|
64583b4269
|
Fix Windows datagram's AnyAddress issue.
Add test for datagram's AnyAddress.
Bump version to 2.3.6.
|
2020-02-25 23:50:39 +02:00 |
cheatfate
|
80351cb928
|
Fix #73.
|
2020-02-12 22:54:05 +02:00 |
cheatfate
|
e34857364e
|
Attempt to fix #64.
|
2020-01-28 12:47:38 +02:00 |
cheatfate
|
74700fdcab
|
Fix bug cancellation handlers not called in wait() and withTimeout().
Fix double completion bug because of callback race.
Fix deprecation warnings.
Rename some internal procedures.
Bump version to 2.3.5.
|
2020-01-27 22:32:08 +02:00 |
cheatfate
|
943a961201
|
Enable --threads:on testing.
|
2019-11-01 06:42:32 +02:00 |
cheatfate
|
fb00b20cfa
|
Fix all compilation warnings for 1.0.2.
Fix all related problems.
|
2019-10-29 23:19:41 +02:00 |
cheatfate
|
5f1391f39f
|
Fix unused imports.
|
2019-10-24 16:21:31 +03:00 |
cheatfate
|
29d9274e03
|
Fix some compilation warnings.
|
2019-10-24 16:01:57 +03:00 |
Yuriy Glukhov
|
a291f26c82
|
Merge pull request #55 from status-im/tlsstream
TLS async stream.
|
2019-10-22 13:32:36 +03:00 |
cheatfate
|
d008fa2087
|
Fix make serverName mandatory and check for empty serverName.
|
2019-10-16 09:07:46 +03:00 |
cheatfate
|
a92ad6d2d2
|
Add TLS inbound stream.
Fix some review comments.
|
2019-10-16 09:01:52 +03:00 |
cheatfate
|
3b8874a9e8
|
Fix issue with Windows connect(0.0.0.0).
|
2019-10-09 15:12:19 +03:00 |
cheatfate
|
c27624cfc0
|
Add TlsStream with client-only connections.
|
2019-10-08 18:46:27 +03:00 |
cheatfate
|
c4a99447bd
|
Fix AsyncLock race and refactor asyncsync.nim to properly support cancellation.
Fix async macro to not transform nested procedures.
|
2019-07-17 16:12:31 +03:00 |
cheatfate
|
ec7f2a14a8
|
Fix compilation warnings in osnet.nim
Fix non stable stream tests.
|
2019-07-12 10:40:18 +03:00 |
Eugene Kabanov
|
cd2571e80a
|
Merge pull request #41 from status-im/cancellation
[WIP] Initial cancellation proposal.
|
2019-07-06 15:44:21 +03:00 |
cheatfate
|
8ba4fc9876
|
Add `awaitne` command which will have `yield` behavior in async cancellation world.
Add tests for both `await` and `awaitne`.
|
2019-07-06 11:16:31 +03:00 |
cheatfate
|
9c15a09904
|
Bump version to 2.2.7.
Attempt to fix stability of MacOS test.
|
2019-07-04 15:30:07 +03:00 |
cheatfate
|
43ae07f20c
|
Fix deprecation warning.
|
2019-07-04 15:13:39 +03:00 |
cheatfate
|
fcfb87d2a0
|
Deprecate oneIndex(), oneValue(), all(), or(), and().
Add allFutures() and one().
Fix deprecation in chunkedstream.
Add tests.
|
2019-07-04 15:04:59 +03:00 |
cheatfate
|
43eeceb8e5
|
Attempt to fix macos timers.
|
2019-06-27 13:12:52 +03:00 |
cheatfate
|
992cc57377
|
Fix timeout value.
|
2019-06-26 15:50:40 +03:00 |
cheatfate
|
059433ccad
|
Add cancellation tests.
|
2019-06-26 15:36:01 +03:00 |
Eugene Kabanov
|
9160dcdbba
|
Merge pull request #37 from status-im/asyncstream
Asynchronous streams.
|
2019-06-06 15:05:08 +03:00 |
cheatfate
|
c27c564d47
|
Add oneIndex(), oneValue() which are varargs `or` operation.
Fix some deprecation warnings for Nim devel.
Add tests for oneIndex(), oneValue().
|
2019-06-04 19:51:35 +03:00 |
cheatfate
|
317ce3c797
|
Ignore ECONNRESET and EPIPE errors on sending.
Add test for ECONNRESET error.
|
2019-05-28 09:29:00 +03:00 |
cheatfate
|
6e7a753793
|
Fix for Windows server close procedure.
|
2019-05-09 20:59:15 +03:00 |
cheatfate
|
454571f943
|
Fix tests to consume all the bytes from the nested stream.
Add error messages for nested exceptions.
|
2019-05-08 12:44:00 +03:00 |
cheatfate
|
296b8c23a5
|
Fix tests compilation.
|
2019-05-07 23:20:06 +03:00 |
cheatfate
|
1763c9dcff
|
Add AsyncStreams.
Add Chunked-Encoding AsyncStream reader/writer.
Add tests.
|
2019-05-07 23:11:40 +03:00 |
cheatfate
|
2f6b36e96d
|
Cleanup debug echos.
|
2019-04-15 11:32:58 +03:00 |
cheatfate
|
bc4fa46566
|
Add more test vectors from `nim-libp2p`.
|
2019-04-15 11:30:52 +03:00 |
cheatfate
|
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.
|
2019-04-15 04:27:12 +03:00 |
cheatfate
|
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.
|
2019-04-04 12:34:23 +03:00 |
cheatfate
|
d3b72dbe8b
|
Add broadcast feature for DatagramTransport.
Add test for it.
|
2019-03-31 09:18:21 +03:00 |
cheatfate
|
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.
|
2019-03-31 00:31:10 +02:00 |
Eugene Kabanov
|
67e214c5df
|
Introduce monotonic timer functions. (#24)
* Introduce monotonic timer functions.
Old fast timers are available through compiler switch.
Add tests for both timers.
* Bump version to 2.2.2.
|
2019-03-24 10:57:36 -06:00 |
cheatfate
|
c05c012d9a
|
Restore lost tests for all.
|
2019-03-15 02:54:16 +02:00 |
cheatfate
|
ea3fb9629a
|
Fixed all() implementation.
|
2019-03-15 02:43:51 +02:00 |
Ștefan Talpalaru
|
685665ad21
|
assert() -> doAssert()
|
2019-03-14 04:03:32 +01:00 |
cheatfate
|
eac1b1a965
|
Decrease number of tests.
|
2019-02-06 18:29:58 +02:00 |
Mamy Ratsimbazafy
|
9f15c6b752
|
Rebrand Asyncdispatch2 to Chronos [WIP] (#20)
* Update file headers, copyright date
* Rename files and hopefully fix nimble
* Forgot to change path in tests
* Update readme
|
2019-02-06 15:49:11 +01:00 |
Ștefan Talpalaru
|
ce0f065e98
|
add "--threads:on" to tests
- reduce duplication in the Nimble "test" task
- delete test binaries
|
2019-01-15 17:37:51 +02:00 |