Commit Graph

1804 Commits

Author SHA1 Message Date
Araq
a2b8b8b0dd 'sequtils doesn't take confusing default args anymore 2015-07-08 11:49:33 +02:00
Dominik Picheta
a7f769c6bd Merge pull request #3067 from apense/patch-10
Updated some example code in algorithm
2015-07-06 17:16:42 +01:00
apense
71743b5af3 Added getDaysInYear proc 2015-07-06 01:03:34 -04:00
apense
d0f2ce3ae8 Added comma
"e.g." and "i.e." both usually take commas after, as they would in normal English ("for example, ..." and "that is, ..." respectively)
2015-07-06 00:53:49 -04:00
apense
c38956a850 THash -> Hash correction 2015-07-06 00:49:34 -04:00
apense
bf58dd2141 Updated some example code in algorithm 2015-07-05 17:24:10 -04:00
Fabian Keller
414d69ccea added hash function for ordinal types 2015-07-03 11:19:17 +02:00
Dominik Picheta
e0497112dc Remove expandTilde forward declaration 2015-07-03 00:37:42 +01:00
Andreas Rumpf
dc65f9a5f7 Merge pull request #3043 from takaomag/fix_algorithm_reversed
Fix algorithm.reversed to accept non-zero 'first' arg
2015-07-03 00:19:10 +02:00
takaomag
101e78df3b Add tests for algorithm.reversed 2015-07-02 16:39:53 +00:00
takaomag
f529e14b04 Fix algorithm.reversed to accept non-zero 'first' arg 2015-07-02 14:32:13 +00:00
Araq
9b01f1bedb Merge branch 'devel' of https://github.com/Araq/Nim into devel 2015-07-02 16:18:35 +02:00
Dominik Picheta
cb34e3721e Merge pull request #3037 from rgv151/patch-3
Implement async `post` request
2015-07-01 21:11:14 +01:00
Bruce Doan
02402d3ffd Implement async post request 2015-07-02 03:07:01 +07:00
Dominik Picheta
cb5d090cdb Moved handling of multi-line FTP replies to expectReply. 2015-07-01 21:05:45 +01:00
Dominik Picheta
d67e93340a Merge branch 'patch-1' of https://github.com/acidvertigo/Nim into acidvertigo-patch-1 2015-07-01 19:25:07 +01:00
Araq
30829ffec4 fixes #2874 2015-07-01 16:44:16 +02:00
Araq
0d7e0e1b4f fixes #2429 2015-07-01 15:47:15 +02:00
Araq
13259c669d minor doc updates 2015-07-01 15:40:29 +02:00
Araq
f315b0619c asyncdispatch compiles again on Linux 2015-07-01 11:28:18 +02:00
Araq
62cea4e29c prepared selectors module for multi threading 2015-06-30 13:39:14 +02:00
Araq
28de800d61 Merge branch 'more_concurrency' into devel
Conflicts:
	doc/tut1.txt
	lib/core/locks.nim
	lib/pure/collections/tables.nim
	lib/pure/selectors.nim
2015-06-30 12:50:24 +02:00
Araq
5fcb7ca313 True is true 2015-06-30 12:20:01 +02:00
Dominik Picheta
8ef0d9386b Implements `os.expandSymlink`. Ref #3015. 2015-06-29 21:39:45 +01:00
Dominik Picheta
615defb1a9 Fixes socket problems on Windows and normalises some names.
Ref #2976. Ref #2003. See news.txt for details.
2015-06-29 20:11:21 +01:00
Araq
c16d153ff5 fixes #3005 2015-06-29 15:10:29 +02:00
Araq
2297a1aa60 much better error message if an exe cannot be found 2015-06-29 02:48:31 +02:00
Araq
d46407caf3 disable vcc specific code which doesn't work 2015-06-29 02:48:29 +02:00
Luca
110d84a916 remove unnecessary function 2015-06-27 17:06:11 +02:00
Luca
88ae4c1859 Remove redundant 220 check 2015-06-27 14:40:44 +02:00
Luca
40a4a39374 Remove redundant 220 check 2015-06-27 14:40:12 +02:00
Luca
04f64fde85 Fix no async code 2015-06-26 09:35:35 +02:00
Luca
96e5c7c3b9 Fix remove async call 2015-06-26 09:26:51 +02:00
Luca
c687e2b9d2 Allow ftp client to handle 220 multiline messages 2015-06-26 09:24:58 +02:00
Luca
32ec7f2f5f Allow AsyncFtpClient and ftpclient to check 220 messages
As many ftp servers can answer with multiple 220 messages these two libraries have to handle multiline 220 messages before send user and pass messages.
2015-06-26 09:18:40 +02:00
Sergey Avseyev
f9d8d6ce09 Trim trailling spaces 2015-06-26 07:42:58 +03:00
Dominik Picheta
6109e6a999 Fixes net/asyncdispatch on Windows. Ref #2976. Fixes #2996. 2015-06-25 22:38:17 +01:00
Dominik Picheta
3ff5e1a1af Merge pull request #2976 from ayourtch/ipv6-devel
Ipv6 devel - add IPv6 support for asyncsockets, make AF_INET6 a default
2015-06-25 21:14:40 +01:00
Andreas Rumpf
43c64c7545 Merge pull request #2977 from apense/patch-5
Conversion between radians and degrees.Fixes #2881
2015-06-25 13:14:59 +02:00
apense
bfcbe64778 Specific float32/float64 procs
I still used generics, but made them choose from `float32` or `float64`. I can rewrite in separate, explicit procs if is wanted
2015-06-24 14:49:15 -04:00
apense
67b3c4b31f Added documentation for mod
Along with a brief example for sign demonstration
2015-06-24 03:33:48 -04:00
apense
edbd191f74 Conversion between radians and degrees.Fixes #2881
provides a new constant for conversion (not public, but that can be changed if it's wanted). the functions are pretty simple, honestly. top-level comment so documentation for each function could remain. Fixes #2881
2015-06-24 03:22:04 -04:00
Andrew Yourtchenko
c4a25d23b6 Match the AF of the socket in connect(). 2015-06-24 02:09:21 +02:00
Andrew Yourtchenko
41be1c6c4d Allow to connect to IPv4-mapped addresses for IPv6 sockets - thus full IPv4 compatibility. 2015-06-24 02:08:17 +02:00
Andrew Yourtchenko
21ee21cc23 Return address in pure IPv4 notation by getAddrString if IPv6 address is IPv4-mapped. 2015-06-24 02:07:06 +02:00
Andrew Yourtchenko
37f50695ee Make asyncdispatch.connectAddr IPv6-aware. 2015-06-24 01:39:58 +02:00
Andrew Yourtchenko
0d3e2277e9 Export Sockaddr_in6, Sockaddr_storage. 2015-06-24 01:38:46 +02:00
Andrew Yourtchenko
48ff0d84d0 Add getAddrString which returns string representing the address within SockAddr. 2015-06-24 01:37:57 +02:00
Andrew Yourtchenko
c42b08988c Make newAsyncSocket AF_INET6 the default domain. 2015-06-23 23:03:35 +02:00
Andrew Yourtchenko
93e2d9f979 Make asyncnet.bindAddr IPv4+IPv6 compatible. 2015-06-23 23:02:10 +02:00