Commit Graph

6541 Commits

Author SHA1 Message Date
Araq
2297a1aa60 much better error message if an exe cannot be found 2015-06-29 02:48:31 +02:00
Araq
ace9299a32 added /*INCLUDESECTION*/ section for .emit pragma 2015-06-29 02:48:30 +02:00
Araq
d46407caf3 disable vcc specific code which doesn't work 2015-06-29 02:48:29 +02:00
reactormonk
46dfbe0695 Merge pull request #3013 from avsej/fix-doc-typo
Fix doc typo
2015-06-28 12:13:40 -05:00
Sergey Avseyev
fd41293c06 Fix doc typo 2015-06-28 20:12:17 +03: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
Andreas Rumpf
17f96b9861 Merge pull request #2995 from avsej/fix-tls-dlopen-issue
Fix #2672. Do not define globalsSlot for native TLS
2015-06-26 10:24:04 +02:00
Andreas Rumpf
c235ceb8ab Merge pull request #3000 from apense/patch-6
Clarified nnkFloat64Lit. Fixes #2939
2015-06-26 10:22:04 +02:00
Andreas Rumpf
56c71f10ad Merge pull request #2999 from apense/patch-5
Updated nnkRange docs. Fixes #2929
2015-06-26 10:20:30 +02:00
Andreas Rumpf
ff85e9a45d Merge pull request #2998 from apense/patch-4
Added `$` documentation to the manual
2015-06-26 10:19:20 +02:00
apense
4198e88fb0 Clarified nnkFloat64Lit
Fixes #2939
2015-06-26 01:16:56 -04:00
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
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