Commit Graph

3113 Commits

Author SHA1 Message Date
Araq
a2b8b8b0dd 'sequtils doesn't take confusing default args anymore 2015-07-08 11:49:33 +02:00
Araq
83842ff4ed Nimrod -> Nim rename 2015-07-08 11:49:33 +02:00
apense
af1a5f3244 Updated & parameters 2015-07-06 23:02:17 -04:00
Dominik Picheta
a7f769c6bd Merge pull request #3067 from apense/patch-10
Updated some example code in algorithm
2015-07-06 17:16:42 +01:00
apense
71743b5af3 Added getDaysInYear proc 2015-07-06 01:03:34 -04:00
apense
d0f2ce3ae8 Added comma
"e.g." and "i.e." both usually take commas after, as they would in normal English ("for example, ..." and "that is, ..." respectively)
2015-07-06 00:53:49 -04:00
apense
c38956a850 THash -> Hash correction 2015-07-06 00:49:34 -04:00
apense
bf58dd2141 Updated some example code in algorithm 2015-07-05 17:24:10 -04:00
Araq
b9ccd06013 fixes bootstrapping problem 2015-07-04 18:24:57 +02:00
Andreas Rumpf
e38a989a6f Merge pull request #3036 from nanoant/patch/macros-sametype
macros: Introduce sameType(a, b) for node types
2015-07-04 16:12:09 +02:00
Fabian Keller
414d69ccea added hash function for ordinal types 2015-07-03 11:19:17 +02:00
Adam Strzelecki
1a0417fbe0 macros: Introduce sameType(a, b) for node types
Previously introduced node comparison `==` was working somehow wrong on nodes
returned from getType(a), comparing just ids of the symbols.

Recently introduced `==` change 47dce26886
started comparing symbol nodes pointer-wise, thus strictly. Since getType(a)
always creates new symbol pointing to the type, comparing two such nodes using
`==` always returns false, even they point to the same type.

That is why we need a new sameType macro to be able to tell if these nodes
point to the same type.
2015-07-03 11:11:10 +02:00
Araq
60ac5e3e76 fixes #3046 2015-07-03 10:55:50 +02:00
Araq
6b3abdba0f made macros.$ a bit smarter; but really this one needs to die 2015-07-03 01:57:01 +02:00
Dominik Picheta
e0497112dc Remove expandTilde forward declaration 2015-07-03 00:37:42 +01:00
Andreas Rumpf
dc65f9a5f7 Merge pull request #3043 from takaomag/fix_algorithm_reversed
Fix algorithm.reversed to accept non-zero 'first' arg
2015-07-03 00:19:10 +02:00
takaomag
101e78df3b Add tests for algorithm.reversed 2015-07-02 16:39:53 +00:00
takaomag
f529e14b04 Fix algorithm.reversed to accept non-zero 'first' arg 2015-07-02 14:32:13 +00:00
Araq
9b01f1bedb Merge branch 'devel' of https://github.com/Araq/Nim into devel 2015-07-02 16:18:35 +02:00
Araq
cabbcd411d implements varargs[untyped]; refs #2545; to be documented 2015-07-02 16:18:11 +02:00
Dominik Picheta
cb34e3721e Merge pull request #3037 from rgv151/patch-3
Implement async `post` request
2015-07-01 21:11:14 +01:00
Bruce Doan
02402d3ffd Implement async post request 2015-07-02 03:07:01 +07:00
Dominik Picheta
cb5d090cdb Moved handling of multi-line FTP replies to expectReply. 2015-07-01 21:05:45 +01:00
Dominik Picheta
d67e93340a Merge branch 'patch-1' of https://github.com/acidvertigo/Nim into acidvertigo-patch-1 2015-07-01 19:25:07 +01:00
Araq
30829ffec4 fixes #2874 2015-07-01 16:44:16 +02:00
Araq
0d7e0e1b4f fixes #2429 2015-07-01 15:47:15 +02:00
Araq
13259c669d minor doc updates 2015-07-01 15:40:29 +02:00
Araq
e1ddf2b175 Merge branch 'devel' of https://github.com/Araq/Nim into devel 2015-07-01 11:34:07 +02:00
Araq
f315b0619c asyncdispatch compiles again on Linux 2015-07-01 11:28:18 +02:00
Andreas Rumpf
5ec42038f9 Merge pull request #3030 from rbehrends/popen-support
Add popen()/pclose() support to posix.nim
2015-07-01 04:07:54 +02:00
Reimer Behrends
b3455d281b Add popen()/pclose() support to posix.nim 2015-07-01 02:39:45 +02:00
Araq
70fe773bbe implemented system.pinToCpu 2015-07-01 02:15:22 +02:00
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
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