Commit Graph

697 Commits

Author SHA1 Message Date
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 adc9035b07
Some cosmetic in Future[T] names. 2019-03-31 18:33:01 +03:00
Eugene Kabanov c84d847b19
Merge pull request #30 from status-im/broadcast
Add broadcast feature for DatagramTransport.
2019-03-31 12:52:16 +03:00
cheatfate d3b72dbe8b
Add broadcast feature for DatagramTransport.
Add test for it.
2019-03-31 09:18:21 +03:00
Eugene Kabanov 5229043b9f
Merge pull request #29 from status-im/fixwinandtests
Refactoring tests and fix rarely appearing Windows bug with close(transport).
2019-03-31 00:41:50 +02: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
cheatfate 4290e06e77
Fix #16. 2019-03-29 11:53:24 +02:00
cheatfate 7d63a1b54d
Fix wait() to allow Future[void]. 2019-03-28 00:56:17 +02:00
cheatfate 51c87bf090
Fix to allow parsing of addresses with 0 port. 2019-03-27 21:42:46 +02:00
cheatfate a2b85a8126
Fix for `$`(0). 2019-03-27 07:54:41 +02:00
cheatfate 3d87707b07
Fix #21. 2019-03-26 14:29:35 +02:00
Eugene Kabanov 0ed60b8761
Merge pull request #27 from status-im/recoverable-errors
All async errors are recoverable
2019-03-26 14:02:44 +02:00
Zahary Karadjov 9d346412eb All async errors are recoverable 2019-03-26 12:29:45 +02:00
Ștefan Talpalaru d63bfb4598
Merge branch 'nimble' 2019-03-26 00:27:05 +01:00
Ștefan Talpalaru 31853bf224
*.nimble: remove import 2019-03-25 22:55:20 +01:00
cheatfate da4709d735
Convert cast[int64] to int64, to allow usage at compile time.
Fix 32bit compilation issue.
2019-03-25 23:24:32 +02:00
cheatfate 1357045cfa
Add old version of deprecated procedures. 2019-03-24 20:59:51 +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
Eugene Kabanov df8d0da251
Merge pull request #23 from status-im/all
Fixed all() implementation.
2019-03-15 03:24:38 +02: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
Mamy Ratsimbazafy 79376dab20
Appveyor doesn't rename projects properly 2019-02-06 18:03:15 +01:00
cheatfate 4b084f276d Fix badges. 2019-02-06 18:57:33 +02:00
cheatfate eac1b1a965 Decrease number of tests. 2019-02-06 18:29:58 +02:00
Jacek Sieka 47b19a55fd
Update README.md 2019-02-06 16:43:27 +01:00
mratsim a3373c04a3 Remove srcDir it's broken 2019-02-06 16:24:57 +01: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 88933e8f1b delete test binaries on Windows 2019-01-15 17:37:51 +02: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
Bruno Škvorc 90f2a50dda
Update README.md 2019-01-02 14:53:00 +01:00
cheatfate 6aaa96569f Fix removeReader/removeWriter can produce SIGSEGV. 2018-12-12 13:07:41 +02:00
Eugene Kabanov 0767aaeb37
Merge pull request #12 from jangko/fix_readonce
fixes StreamTransport readOnce bug
2018-11-20 14:30:32 +02:00
andri lim b6ffaf1dc7 fixes StreamTransport readOnce bug 2018-11-20 13:58:25 +07:00
Eugene Kabanov d1ff27ade3
Merge pull request #11 from status-im/unixSockets
Add AF_UNIX sockets support.
2018-11-19 05:02:39 +02:00
cheatfate 405788248d Bump version to 2.1.5. 2018-11-08 00:32:00 +02:00
cheatfate 4215b9cbdb Remove cache dependency on appveyor.yml. 2018-11-08 00:31:20 +02:00
cheatfate 6b009b26ef Lower number of tests for 64bit platform. 2018-11-07 22:57:54 +02:00
cheatfate 190a16da3b Fix #6 behavior. 2018-11-07 22:29:49 +02:00
cheatfate 3160202ffe Touch for cache invalidation. 2018-11-07 21:44:41 +02:00
cheatfate b3195b616d Some fixes in state transition inside of datagram transport. 2018-11-07 21:42:08 +02:00
cheatfate e5e710854f Removal of commented code. 2018-10-28 07:55:18 +02:00
cheatfate 56537311af Decrease number of tests. 2018-10-27 21:22:56 +03:00
cheatfate de7fb4ad49 One more attempt to fix freeze. 2018-10-27 21:09:23 +03:00
cheatfate 2bc3932ae2 One more attempt to fix freezing test. 2018-10-27 20:49:36 +03:00
cheatfate 163982bc6e Add assert on callSoon(nil) 2018-10-27 20:08:19 +03:00
cheatfate 14dd1e9a8e Fix datagram test from freezing. 2018-10-27 19:17:37 +03:00
cheatfate 4df91648e3 Attempt to fix Appveyor stuck bug. 2018-10-27 17:57:41 +03:00
cheatfate b055467e9c Fix for nim-eth-p2p. 2018-10-27 17:19:58 +03:00
cheatfate 02c27c95a1 Add some deprecation routines. 2018-10-27 16:14:55 +03:00