Commit Graph

5256 Commits

Author SHA1 Message Date
Reimer Behrends
507062f1bf Fix SQLite3 dynlib on OS X.
The old dynlib name referenced an ancient version of SQLite3 and could
not be overridden with --dynlibOverride.
2015-06-30 23:27:16 +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
apense
c3e6fb0e38 Corrected erroneous description
Hypotenuse is really just the euclidean norm
2015-06-29 23:07:06 -04:00
apense
9e8c8f473b Added some documentation and examples
I think I remember reading that the documentation is generated from the normal targets (not javascript), so that's where I put the docs
2015-06-29 22:48:38 -04: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
63c537b233 fixes #3014 2015-06-29 02:48:34 +02:00
Araq
a1caef474b proper distinction between --gc:none and --os:standalone 2015-06-29 02:48:33 +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
Sergey Avseyev
fd41293c06 Fix doc typo 2015-06-28 20:12:17 +03: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
Dominik Picheta
17f852c769 Merge pull request #2997 from apense/patch-3
Slight documentation addition Ref #2986
2015-06-26 23:36:26 +01: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
70ce8695e7 Fix #2672. Do not define globalsSlot for native TLS
Motivation
----------
globalsSlot is always defined so threading code works incorrectly when
native TLS supported.

Modification
------------
Defined globalsSlot only in TLS emulation mode. Remove myThreadId, which
based on broken behavior. It might be reimplemented later

Result
------
No segfaults.
2015-06-26 07:42:58 +03:00
Sergey Avseyev
f9d8d6ce09 Trim trailling spaces 2015-06-26 07:42:58 +03:00
apense
db369cf65d Slight documentation addition
Added a few type explanations
Also docs for `==` and some examples.

I'm not sure my explanation of `Ordinal[T]` is correct. It sounds the same as `SomeOrdinal` would be.
2015-06-25 20:32:10 -04: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
6d1532439b Fixed silly format error
Needed other bracket
2015-06-24 16:17:11 -04:00
apense
6165e8498c Converted tabs
Not sure what was going on before
2015-06-24 16:12:19 -04:00
apense
35690dc37f Rewrote procs for float32/float64
When a proc is `importc`-ed, made explicit. Otherwise, used `[T: float32|float64]`
2015-06-24 16:09:18 -04: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