apense
0e06a72c64
Updated nnkRange docs
...
Addresses #2929
2015-06-26 01:11:27 -04: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
8a042d8458
Added $ documentation to the manual
...
It's mentioned for enums, for exmplae, but it should probably be explicit in the string section
2015-06-25 21:04:34 -04: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
Araq
afad61c220
fixes #2731
2015-06-26 00:05:29 +02:00
Simon Hafner
e273c00431
trimmed the contributing guide
2015-06-25 16:50:37 -05:00
Simon Hafner
57964a0ef2
moved contributing guide back to root
...
"I don't want symlinks, symlinks suck, they turn an acylic tree into an acyclic graph."
2015-06-25 16:40:47 -05:00
Dominik Picheta
6109e6a999
Fixes net/asyncdispatch on Windows. Ref #2976 . Fixes #2996 .
2015-06-25 22:38:17 +01:00
Simon Hafner
db42813a9f
symlinked contributing guide to root for github
2015-06-25 16:33:21 -05: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
Araq
47658cd426
fixes #2974
2015-06-25 11:42:29 +02:00
Araq
396e69e39c
sorted contributing differently: most important stuff comes first; corrected its contents
2015-06-25 11:42:28 +02:00
Araq
2236a5be61
VM: use stricter notion of equality for NimNode
2015-06-25 11:42:27 +02:00
Araq
47dce26886
fixes #2985
2015-06-25 11:42:27 +02:00
Andreas Rumpf
e4c8e0aed0
Merge pull request #2990 from apense/patch-3
...
Minor object documentation additions
2015-06-25 11:42:20 +02:00
reactormonk
6f61264c49
Merge pull request #2989 from apense/patch-11
...
Added example for var overloading
2015-06-25 01:22:04 -05:00
reactormonk
e5e479c12e
Merge pull request #2988 from apense/patch-10
...
Added example for associativity
2015-06-25 01:21:10 -05:00
apense
1349687756
Minor object documentation additions
2015-06-25 01:23:31 -04:00
apense
4e129324f6
Added example for var overloading
...
Simple example to demonstrate overloading in case technical lingo is confusing
2015-06-24 23:56:35 -04:00
apense
f8870280d7
Added example for associativity
...
Hopefully this change makes this neat feature more apparent
2015-06-24 23:30:03 -04:00
Araq
bdd5a8c05e
updated news.txt
2015-06-25 02:08:58 +02:00
Araq
ce9fa80b92
fixes #2979
2015-06-25 02:08:58 +02:00
Araq
2a1620490c
protect against new stupid setlen that doesn't accept -1 anymore
2015-06-25 02:08:57 +02:00
Araq
eef0e1bde1
fix grammar
2015-06-25 02:08:56 +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
Dominik Picheta
f6243d5900
Merge pull request #2978 from apense/patch-7
...
Added documentation for mod
2015-06-24 19:55:13 +01: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
Andreas Rumpf
34e332f662
Merge pull request #2983 from nanoant/patch/colors-option
...
Change --useColors to --colors:on|off and add help
2015-06-24 20:07:02 +02:00
Adam Strzelecki
67fac7f1e7
Change --useColors to --colors:on|off and add help
...
Since we introduced automatic colors on terminals (via isatty) there is no way
to turn it off, since (undocumented) --useColors just turns them on.
This replaces --useColors with --colors:on|off, so anyone who prefers
non-colored compiler messages may now turn it off now.
2015-06-24 19:57:56 +02:00
Andreas Rumpf
5ee4b1bf2d
Merge pull request #2966 from nanoant/patch/commit-rules
...
Contributing: Introduce some general commit rules
2015-06-24 16:19:13 +02: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
Andreas Rumpf
5f371e1504
Merge pull request #2975 from yglukhov/js-init-list-fix
...
JS object initialiser fix.
2015-06-23 14:39:19 +02:00
yglukhov
0069308b22
JS object initializer fix.
2015-06-23 14:46:38 +03:00