transfuturist
558360e6fd
Update macros.nim
2015-07-03 13:48:13 -07: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
def
2353fe343a
Update deprecation notice about unsigned module
2015-07-02 12:26:04 +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
def
ec97195d8f
Add unsigned exports for backwards-compatibility
2015-07-01 18:59:08 +02:00
def
11a908fd40
Move unsigned int operations to system module
...
This should lead to less confusion because uint numbers and literals
seem to work, but operators are just missing.
2015-07-01 18:57:54 +02: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
apense
c3e6fb0e38
Corrected erroneous description
...
Hypotenuse is really just the euclidean norm
2015-06-29 23:07:06 -04:00
apense
9e8c8f473b
Added some documentation and examples
...
I think I remember reading that the documentation is generated from the normal targets (not javascript), so that's where I put the docs
2015-06-29 22:48:38 -04: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
Luca
c687e2b9d2
Allow ftp client to handle 220 multiline messages
2015-06-26 09:24:58 +02:00
Luca
32ec7f2f5f
Allow AsyncFtpClient and ftpclient to check 220 messages
...
As many ftp servers can answer with multiple 220 messages these two libraries have to handle multiline 220 messages before send user and pass messages.
2015-06-26 09:18:40 +02: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