Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixes net/asyncdispatch on Windows. Ref #2976. Fixes #2996. | Dominik Picheta | 2015-06-25 | 2 | -47/+56 |
| | |||||
* | Merge pull request #2976 from ayourtch/ipv6-devel | Dominik Picheta | 2015-06-25 | 3 | -20/+49 |
|\ | | | | | Ipv6 devel - add IPv6 support for asyncsockets, make AF_INET6 a default | ||||
| * | Match the AF of the socket in connect(). | Andrew Yourtchenko | 2015-06-24 | 1 | -2/+3 |
| | | |||||
| * | Allow to connect to IPv4-mapped addresses for IPv6 sockets - thus full IPv4 ↵ | Andrew Yourtchenko | 2015-06-24 | 1 | -0/+1 |
| | | | | | | | | compatibility. | ||||
| * | Return address in pure IPv4 notation by getAddrString if IPv6 address is ↵ | Andrew Yourtchenko | 2015-06-24 | 1 | -0/+2 |
| | | | | | | | | IPv4-mapped. | ||||
| * | Make asyncdispatch.connectAddr IPv6-aware. | Andrew Yourtchenko | 2015-06-24 | 1 | -2/+2 |
| | | |||||
| * | Export Sockaddr_in6, Sockaddr_storage. | Andrew Yourtchenko | 2015-06-24 | 1 | -0/+1 |
| | | |||||
| * | Add getAddrString which returns string representing the address within SockAddr. | Andrew Yourtchenko | 2015-06-24 | 1 | -0/+12 |
| | | |||||
| * | Make newAsyncSocket AF_INET6 the default domain. | Andrew Yourtchenko | 2015-06-23 | 1 | -1/+1 |
| | | |||||
| * | Make asyncnet.bindAddr IPv4+IPv6 compatible. | Andrew Yourtchenko | 2015-06-23 | 1 | -15/+12 |
| | | |||||
| * | Add getSockDomain to return AF_INET or AF_INET6 of a SocketHandle. | Andrew Yourtchenko | 2015-06-23 | 1 | -0/+15 |
| | | |||||
* | | Merge pull request #2977 from apense/patch-5 | Andreas Rumpf | 2015-06-25 | 1 | -0/+13 |
|\ \ | | | | | | | Conversion between radians and degrees.Fixes #2881 | ||||
| * | | Specific float32/float64 procs | apense | 2015-06-24 | 1 | -8/+4 |
| | | | | | | | | | I still used generics, but made them choose from `float32` or `float64`. I can rewrite in separate, explicit procs if is wanted | ||||
| * | | Conversion between radians and degrees.Fixes #2881 | apense | 2015-06-24 | 1 | -0/+17 |
| |/ | | | | | 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 | ||||
* / | Added documentation for mod | apense | 2015-06-24 | 1 | -0/+6 |
|/ | | | Along with a brief example for sign demonstration | ||||
* | Adjustments to #2610. | Dominik Picheta | 2015-06-22 | 2 | -5/+15 |
| | |||||
* | Merge branch 'starttls' of https://github.com/wiml/Nim into wiml-starttls | Dominik Picheta | 2015-06-22 | 2 | -53/+89 |
|\ | | | | | | | | | Conflicts: lib/pure/net.nim | ||||
| * | Make the post-connection wrapSocket() call available in both the synchronous ↵ | Wim Lewis | 2015-04-26 | 2 | -10/+32 |
| | | | | | | | | and asynchrinous net modules. | ||||
| * | Add a handshake parameter to wrapSocket() to allow it to work on an ↵ | Wim Lewis | 2015-04-23 | 1 | -1/+15 |
| | | | | | | | | already-connected socket. | ||||
* | | preparations for more Nimble packages; clear licensing; fixes #2949 | Araq | 2015-06-20 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #2961 from Perelandric/rename_writeLn | Dominik Picheta | 2015-06-20 | 8 | -21/+26 |
|\ \ | | | | | | | Renamed writeln to writeLine. Issue #2958 | ||||
| * | | reworked deprecation to retain old procs | patrick dw | 2015-06-19 | 1 | -2/+5 |
| | | | |||||
| * | | renamed writeln to writeLine in lib | patrick dw | 2015-06-19 | 7 | -20/+20 |
| | | | |||||
| * | | Renamed writeln procs to writeLine | patrick dw | 2015-06-18 | 1 | -1/+3 |
| | | | |||||
* | | | Merge branch 'patch-2' of https://github.com/rgv151/Nim into rgv151-patch-2 | Dominik Picheta | 2015-06-20 | 1 | -49/+50 |
|\ \ \ | | | | | | | | | | | | | | | | | Conflicts: lib/pure/htmlparser.nim | ||||
| * | | | Allow TR, TH, TD tags inside THEAD and TFOOT | Bruce Doan | 2015-05-27 | 1 | -49/+49 |
| | | | | |||||
* | | | | Merge pull request #2951 from apense/patch-5 | Andreas Rumpf | 2015-06-20 | 1 | -0/+21 |
|\ \ \ \ | | | | | | | | | | | Added `isSorted` proc | ||||
| * | | | | Added documentation | apense | 2015-06-18 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | Now `isSorted` is documented. | ||||
| * | | | | Removed redundant check | apense | 2015-06-18 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | Loop takes care of it already | ||||
| * | | | | Fixed silly continue | apense | 2015-06-17 | 1 | -5/+2 |
| | | | | | | | | | | | | | | | The old if/else was weird and unnecessary | ||||
| * | | | | Added `isSorted` proc | apense | 2015-06-17 | 1 | -0/+23 |
| | |/ / | |/| | | | | | | Linear-time verification that an openarray is sorted. Operates on the same parameters as `sort`. Seems much cheaper for large sorts. | ||||
* / | | | Added some C99 funcs | apense | 2015-06-18 | 1 | -0/+18 |
|/ / / | | | | | | | Error function (and complementary) and gamma function (and truncated) | ||||
* | | | Merge pull request #2908 from apense/patch-7 | Andreas Rumpf | 2015-06-15 | 1 | -16/+40 |
|\ \ \ | | | | | | | | | Updated random functions. Fixes #2907 | ||||
| * | | | Updated RNG for Visual C | apense | 2015-06-14 | 1 | -14/+27 |
| | | | | | | | | | | | | Can't test it, but it should work just fine. Can be extended to MinGW w/ GCC and other compilers sometime in the future | ||||
| * | | | Discarded randomize for windows | apense | 2015-06-11 | 1 | -6/+9 |
| | | | | | | | | | | | | It actually doesn't use it because `rand_s` doesn't. | ||||
| * | | | Updated random functions | apense | 2015-06-11 | 1 | -4/+12 |
| | | | | | | | | | | | | For Windows, `rand_s` has been available since Windows XP (see https://msdn.microsoft.com/en-us/library/sxtz2fa8.aspx). It gives a better quality random number in a larger range (the max is actually `0xffffffff`). | ||||
* | | | | colors: Introduce resetStyle enum & use templates | Adam Strzelecki | 2015-06-15 | 1 | -7/+28 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Introduce TerminalCmd enum and resetStyle that can be issued to issue resetAttributes within styledEcho arguments. 2. Use templates to resolve styledEcho arguments for performance reasons. 3. Try to avoid calling trailing write "\n" and reset attributes where possible. | ||||
* | | | | fixes #2909 | Araq | 2015-06-15 | 1 | -16/+16 |
| | | | | |||||
* | | | | fixed #1985 | Vlad | 2015-06-14 | 1 | -1/+3 |
| | | | | |||||
* | | | | Fix logger formatting | Sergey Avseyev | 2015-06-13 | 1 | -11/+20 |
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Motivation ---------- Current implementation does not allow to specify any formatting. It even cannot output log level, because `writeln()` accepts `varags[string]` and silently ignores everything before last argument. Modification ------------ Perform formatting in the single place during substitution. Make log level optional as all other substitution variables. Also make verbose logging more informative and parseable. Result ------ Correct handling formatting and substitutions. Machine-friendly default output of verbose logger. | ||||
* | | | Fixed unittest output. | yglukhov | 2015-06-11 | 1 | -1/+0 |
| | | | |||||
* | | | Merge pull request #2891 from sstirlin/devel | Andreas Rumpf | 2015-06-10 | 1 | -1/+2 |
|\ \ \ | | | | | | | | | fixed threadpool and atomics to work with Visual Studio 32 and 64 bit | ||||
| * | | | disabled threadpool assertion only for vcc | Spencer Stirling | 2015-06-10 | 1 | -1/+2 |
| | | | | |||||
| * | | | fixed threadpool and atomics to work with Visual Studio 32 and 64 bit | Spencer Stirling | 2015-06-09 | 1 | -1/+1 |
| | | | | |||||
* | | | | Fix doc typos in basic2d and basic3d | msiglreith | 2015-06-10 | 2 | -2/+2 |
| | | | | |||||
* | | | | terminal doesn't use enormous windows module anymore | Araq | 2015-06-10 | 1 | -22/+81 |
| | | | | |||||
* | | | | no private deprecated symbols | Araq | 2015-06-10 | 1 | -1/+0 |
| | | | | |||||
* | | | | Allow to set position at end of stream | Federico Omoto | 2015-06-09 | 1 | -1/+1 |
|/ / / | |||||
* | | | Updated whitespace ranges | apense | 2015-06-08 | 1 | -2/+8 |
| | | | | | | | | | Ranges sourced from <http://www.unicode.org/Public/7.0.0/ucd/PropList.txt>_. Wikipedia also uses these ranges on its information page <http://en.wikipedia.org/wiki/Whitespace_character#Unicode>_. 0xfeff isn't included in the list, but it is a no-break space, so I guess it makes sense. 0x200b is actually a format character, but it is a zero-width space. To fit Unicode, both 0x200b and 0xfeff would be removed. | ||||
* | | | Fixes #2884 | Dominik Picheta | 2015-06-08 | 1 | -2/+4 |
| | | | | | | | | | | | | Haven't tested this patch but should work. |