Commit Graph

3057 Commits

Author SHA1 Message Date
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
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
Araq
6de5c1e86d fixes #2992 2015-06-25 13:13:33 +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
61336b2404 Expose INET6_ADDRSTRLEN. 2015-06-24 01:36:09 +02:00
Andrew Yourtchenko
ec33471aee Update posix.Sockaddr_in6 and posix.Sockaddr_storage, deprecate old T* types. 2015-06-24 01:23:09 +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
Andrew Yourtchenko
f340f76f45 Add getSockDomain to return AF_INET or AF_INET6 of a SocketHandle. 2015-06-23 22:59:48 +02:00
Dominik Picheta
68f583ddb7 Adjustments to #2610. 2015-06-22 21:40:38 +01:00
Dominik Picheta
8853dfb353 Merge branch 'starttls' of https://github.com/wiml/Nim into wiml-starttls
Conflicts:
	lib/pure/net.nim
2015-06-22 21:34:21 +01:00
reactormonk
37677636bc Merge pull request #2968 from def-/neutral-language
Neutral language
2015-06-21 14:36:55 -05:00
def
e7132767a1 Fix typos in comments 2015-06-21 21:25:38 +02:00
Araq
9173b66cb7 linenoise support now works 2015-06-21 10:57:43 +02:00
Araq
e85aa3db07 Unix line endings for linenoise.nim 2015-06-21 10:56:56 +02:00
Araq
aa8b470cf6 use linenoise instead of GNU readline 2015-06-21 10:04:26 +02:00
Araq
87f65f5e72 preparations for more Nimble packages; clear licensing; fixes #2949 2015-06-20 23:24:21 +02:00
Dominik Picheta
e74012b396 Merge pull request #2961 from Perelandric/rename_writeLn
Renamed writeln to writeLine. Issue #2958
2015-06-20 16:25:37 +01:00
Dominik Picheta
89727ef207 Merge branch 'patch-2' of https://github.com/rgv151/Nim into rgv151-patch-2
Conflicts:
	lib/pure/htmlparser.nim
2015-06-20 11:36:59 +01:00
Andreas Rumpf
54045b785b Merge pull request #2951 from apense/patch-5
Added `isSorted` proc
2015-06-20 02:55:46 +02:00
patrick dw
1cdbd6b0a5 reworked deprecation to retain old procs 2015-06-19 18:50:01 -05:00
Andreas Rumpf
98a1344167 Merge pull request #2957 from apense/patch-7
Added some C99 funcs
2015-06-19 16:09:27 +02:00
patrick dw
15e7fe787a renamed writeln to writeLine in lib 2015-06-19 01:02:22 -05:00
patrick dw
072688d06e Renamed writeln procs to writeLine 2015-06-18 23:49:46 -05:00
apense
dc41beed5a Added documentation
Now `isSorted` is documented.
2015-06-18 18:53:42 -04:00
apense
c0c4a7d6a6 Added some C99 funcs
Error function (and complementary) and gamma function (and truncated)
2015-06-18 16:07:00 -04:00
apense
138cf777da Removed redundant check
Loop takes care of it already
2015-06-18 14:43:38 -04:00
Flaviu Tamas
90292754f5 Fix flaviut/nre#20 2015-06-18 12:44:12 -04:00
apense
3491047141 Fixed silly continue
The old if/else was weird and unnecessary
2015-06-17 20:14:53 -04:00
apense
ea1809a931 Added isSorted proc
Linear-time verification that an openarray is sorted. Operates on the same parameters as `sort`. Seems much cheaper for large sorts.
2015-06-17 19:56:32 -04:00
yglukhov
50d2d54fb0 Fixed fix of #2917 2015-06-17 23:26:38 +03:00
Andreas Rumpf
314fe6b54a Merge pull request #2945 from yglukhov/fix-2917
Fixes #2917
2015-06-17 20:50:08 +02:00
yglukhov
5824b1c839 Fixes #2917 2015-06-17 21:16:18 +03:00
Andreas Rumpf
e2bcf22a84 Merge pull request #2768 from gokr/fix-repr
Fixes #2749, traverse full inheritance for reprRecord
2015-06-16 20:48:51 +02:00
Andreas Rumpf
ad1ac76567 Merge pull request #2851 from stefantalpalaru/gogc
the Go GC (using the gccgo implementation)
2015-06-16 20:46:23 +02:00
Stefan Talpalaru
b487d4e425 conditional TGenericSeq extension 2015-06-16 15:15:17 +02:00