426 Commits

Author SHA1 Message Date
cheatfate
48880c6e4e Fix all().
Add getUserData(server: StreamServer)
2018-06-07 09:17:59 +03:00
cheatfate
a5be5303e3 Add resolveTAddress(string, Port) and test for it. 2018-06-07 01:15:31 +03:00
cheatfate
3eb4a00397 Fix testserver.nim according to latest API changes. 2018-06-07 00:38:13 +03:00
cheatfate
14124cf188 Fix Unix compilation error. 2018-06-07 00:35:32 +03:00
cheatfate
38f30e0f18 Added createStreamServer() for GC userdata types. 2018-06-07 00:29:37 +03:00
cheatfate
c4ae650c34 Fixed copyright in timer.nim. 2018-06-06 03:22:28 +03:00
cheatfate
7fda9936d8 Removed unnecessary includes and comments. 2018-06-06 01:48:03 +03:00
cheatfate
b8e8d96f3b Fix datagram: for send/sendTo (string, seq[T]) versions.
Fix stream: for write (string, seq[T]) versions
More tests for both datagram/stream.
2018-06-05 23:21:07 +03:00
cheatfate
2e6697d0d7 Disable DatagramServer test. 2018-06-05 11:44:56 +03:00
cheatfate
6f8be9f067 Attempt to fix datagram bug. 2018-06-05 11:31:18 +03:00
cheatfate
3cb521c920 Add datagram transport utility templates send(string) send(seq[byte]).
Fix bugs in stream.nim
Add more tests for stream.nim
2018-06-05 08:51:59 +03:00
cheatfate
2b8eeef7aa Added templates write(string), write(seq[byte])
Added consume()
Added tests for write(string), write(seq[byte]), consume().
2018-06-04 19:42:54 +03:00
cheatfate
f4d4d57ccf Fix for stream.nim double completion. 2018-06-04 13:40:41 +03:00
cheatfate
a834cb1a00 Changed server behavior.
Removed pause function.
Updated testserver.
2018-06-04 12:57:17 +03:00
cheatfate
2758abd7a6 Fix datagram bugs.
Make changes to asyncloop according to zahary review.
2018-06-04 03:54:17 +03:00
cheatfate
0b7115eba9 Remove duplicated code.
Remove accomplished review comments.
2018-06-03 02:18:32 +03:00
cheatfate
262b4d8b89 Fix compilation error. 2018-06-03 02:06:58 +03:00
cheatfate
687054219d Combine duplicates. 2018-06-03 02:03:48 +03:00
cheatfate
ac32dd24c3 Fix compilation error in testserver.nim. 2018-06-02 17:30:36 +03:00
cheatfate
960b675d62 Changed TransportAddress API.
Introduced resolveTAddress().
Added TransportAddress tests.
2018-06-02 17:25:26 +03:00
cheatfate
6985626e1c Test teststream2 renamed to testserver.
Fix compilation errors.
2018-05-31 11:10:32 +03:00
cheatfate
67896b161d Merge branch 'master' of github.com:status-im/nim-asyncdispatch2 2018-05-31 11:04:57 +03:00
cheatfate
027e7c02a9 Added DatagramServer.
Changed StreamServer API a bit.
Added test for DatagramServer.
2018-05-31 11:03:58 +03:00
alexm-status
3e0cc658b0
Update README.md 2018-05-30 14:27:08 -07:00
cheatfate
0f7f616133 Removed unnecessary checks. 2018-05-30 07:55:35 +03:00
cheatfate
c43d572ad6 More efficient way on removing callbacks. 2018-05-30 07:42:25 +03:00
cheatfate
6faceb3b8c Added removeCallback() test. 2018-05-30 07:35:27 +03:00
cheatfate
490f8484ca Update README. 2018-05-30 06:35:58 +03:00
cheatfate
4f670ac7e8 Update documentation in README. 2018-05-30 06:34:58 +03:00
cheatfate
ebbb5b73ef Updated README. 2018-05-30 06:32:47 +03:00
Zahary Karadjov
b77e0417bc reviewed most of the code 2018-05-29 21:45:50 +03:00
alexm-status
645108813f
Update README.md 2018-05-29 09:49:05 -07:00
alexm-status
e823a52db4
Copy-edited README 2018-05-29 09:24:34 -07:00
cheatfate
758388f7fc Fix compilation error. 2018-05-29 14:22:53 +03:00
cheatfate
3fb9a91cbe Investigated Transport close bug and fixed it.
Removed old integrated tests and hexdump
Removed trailing whitespaces.
2018-05-29 12:59:39 +03:00
cheatfate
e33ed13fb5 Updated README. 2018-05-29 02:45:15 +03:00
cheatfate
3c7273d532 Update README. 2018-05-29 02:38:53 +03:00
cheatfate
edcc628b30 Update README. 2018-05-29 02:37:06 +03:00
cheatfate
5529fc4669 Updated README.
Updated documentation.
2018-05-29 02:35:15 +03:00
cheatfate
e3171a132a Add more documentation.
Add (#7197) test.
2018-05-27 08:49:47 +03:00
cheatfate
9e63caf694 More tests added. 2018-05-25 23:00:32 +03:00
cheatfate
a4528ab705 Add asynchronous posix signal handling.
Add signal tests.
2018-05-25 04:05:13 +03:00
cheatfate
d75487948b Fix testsoon for new behavior. 2018-05-23 15:57:07 +03:00
cheatfate
0853b6a216 Add server pause/resume test. 2018-05-23 14:03:39 +03:00
cheatfate
4f70cb3515 Fix loop behavior. 2018-05-23 14:03:18 +03:00
cheatfate
608924d9f4 Added Future[T] tests. 2018-05-23 02:28:16 +03:00
cheatfate
bd6375d97c Remove compilation hints from tests. 2018-05-23 01:44:16 +03:00
cheatfate
a8212e8910 Added timers test. 2018-05-23 01:29:07 +03:00
cheatfate
874fe9b5fd Added some comments. 2018-05-23 00:03:13 +03:00
cheatfate
898e3602bd One more attempt to fix GC bug. 2018-05-22 19:27:20 +03:00