Commit Graph

11210 Commits

Author SHA1 Message Date
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
Adam Strzelecki
571aaae1f7 Contributing: Introduce some general commit rules
Due some latest changes that introduced some substantial noise in the project
history I hereby propose some general commit rules that have proven to work in
many other projects.

Both contributors and maintainers (accepting PRs) are obliged to follow this
rules, for sake of the Nim project and good collaboration.
2015-06-22 23:59:54 +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
def
a7f03e8d46 Use gender neutral language in documentation 2015-06-21 21:25:19 +02:00
Araq
9173b66cb7 linenoise support now works 2015-06-21 10:57:43 +02:00
Araq
3444b87079 fixed indentation 2015-06-21 10:57:26 +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
transfuturist
a31c36e98f Undeprecate children 2015-06-20 12:21:16 -07: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
ec06ed6037 Merge branch 'rgv151-patch-2' into devel 2015-06-20 11:37:50 +01:00
Dominik Picheta
25a5eaf722 Added test file for #2813. 2015-06-20 11:37:29 +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
Dominik Picheta
717db99fb6 Merge pull request #2930 from nim-lang/contributing-guide
contribution guide
2015-06-19 21:19:24 +01:00
Simon Hafner
acc8d37466 closed the discard in the guide 2015-06-19 10:32:29 -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
2a0f7b5de7 renamed writeln to writeLine in compiler 2015-06-19 01:45:12 -05:00
patrick dw
4e275f2a1a renamed writeln to writeLine in examples 2015-06-19 01:38:31 -05:00
patrick dw
f71eaf66be renamed writeln to writeLine in tools 2015-06-19 01:36:57 -05:00
patrick dw
69e15ac32f renamed writeln to writeLine in tests 2015-06-19 01:34:34 -05:00
patrick dw
b6252af5c6 rename writeln to writeLine in doc 2015-06-19 01:08:41 -05:00