Jochen Van de Velde
86c9fffc41
Fix osproc documentation
2015-05-13 18:19:51 +02:00
Andreas Rumpf
2dee0324f3
Merge pull request #2705 from borisvassilev/gcddocs
...
Document explicitly the behaviour of math.gcd with float arguments
2015-05-13 16:34:36 +02:00
Reimer Behrends
28dd0407bb
Fix behavior of os.getFileInfo() for symbolic links.
...
The calls to lstat() and stat() were switched. As a result,
links weren't followed for followLink == true and links were
followed for followLink == false.
2015-05-13 12:26:34 +02:00
Boris Vassilev
9723e30647
Document explicitly the behaviour of math.gcd with float arguments
2015-05-13 13:00:20 +03:00
Andreas Rumpf
31d472d83d
Merge pull request #2660 from MrJohz/contains-tables
...
Add contains proc for tables to allow usage of `in`
2015-05-08 02:19:45 +02:00
Michael Werner
c384f05e49
fixed typo in threadpool.nim
2015-05-08 03:31:58 +05:00
Andreas Rumpf
9ef09fc6f5
Merge pull request #2622 from def-/times-year
...
Year shouldn't be arbitrarily limited to -10_000 .. 10_000
2015-05-07 20:22:26 +02:00
Varriount
ec0e60830a
Merge pull request #2627 from msmith491/devel
...
Add arbitrary char support to the strutils proc. Issue #2626
2015-05-07 13:03:19 -04:00
Varriount
d3f69e14f7
Merge pull request #2596 from Nycto/devel
...
Fix floats in tuples in HashSets
2015-05-07 13:02:42 -04:00
Varriount
ace11f08aa
Merge pull request #2537 from jsanjuas/devel
...
Generalize mean to other types
2015-05-07 12:59:01 -04:00
Koala Zen
cf68d926d8
fixes isPowerOfTwo returning true on the smallest integer
2015-05-06 12:37:15 -07:00
Jonathan
8e4af5ace0
Add contains proc for tables to allow usage of in
2015-05-05 23:26:58 +01:00
Araq
7d3a6b42d9
fixes #2625
2015-05-03 01:08:48 +02:00
msmith491
50f54bf60b
Add arbitrary char support to the strutils proc. Issue #2626
2015-04-30 21:40:26 -07:00
def
60862c22f5
Year shouldn't be arbitrarily limited to -10_000 .. 10_000. Instead it's
...
an int now.
2015-04-29 21:34:03 +02:00
def
1b7cf0e3f3
Add warning about recvLineInto being bound to change
2015-04-26 17:06:41 +02:00
def
84315c6a9c
Revert "Introduce FutureVar[T] to make recvLineInto safer."
...
This reverts commit 72b4912c84 .
2015-04-26 17:01:04 +02:00
Araq
e40b667891
fixes regression: overloading by 'var'
2015-04-25 23:17:00 +02:00
Araq
d3fc6e1f28
marshalling can be done at compile-time
2015-04-25 23:17:00 +02:00
Araq
6725aa3634
fixes #2517
2015-04-25 23:16:59 +02:00
Dominik Picheta
47271b094c
Merge branch 'def--clean-speedup-2' into devel
2015-04-24 19:50:15 +01:00
def
e5a186a419
Fix Termios wrapper
2015-04-24 19:41:12 +02:00
Dominik Picheta
f4c1c252a7
Fix asyncdispatch on Windows.
2015-04-24 18:12:13 +01:00
Dominik Picheta
72b4912c84
Introduce FutureVar[T] to make recvLineInto safer.
...
FutureVar[T] is a new distinct Future type which is designed to be used
for situations where the highest performance is needed. It reduces the
number of Future allocations needed. It acts as a replacement for
'var' params in async procs.
This commit modifies @def-'s PR in order to make it safer. The recvLineInto
procedure has been modified to take a ``FutureVar[string]`` param instead of a
``ptr string`` param.
2015-04-24 17:56:04 +01:00
Nycto
4f88238761
Fix floats in tuples in HashSets
...
Previously, the added tests would fail to compile with
errors complaining that 'hash(float)' didn't exist
2015-04-24 08:25:58 -07:00
Dominik Picheta
62e1b3e2e3
Some small cleanup.
2015-04-23 21:57:33 +01:00
Dominik Picheta
03cbf689a1
Merge branch 'clean-speedup-2' of https://github.com/def-/Nim into def--clean-speedup-2
2015-04-23 15:26:39 +01:00
Oleh Prypin
22db40e5e4
Turn some test outputs into actual tests
2015-04-21 15:59:32 +03:00
Oleh Prypin
c433ae1aaa
Fix romans module
2015-04-21 14:40:18 +03:00
Oleh Prypin
a8c3c2ef0d
Fix a test in xmltree
2015-04-21 14:39:34 +03:00
Oleh Prypin
32109a7867
Don't run non-test code when defined(testing)
2015-04-21 14:37:29 +03:00
Andreas Rumpf
d203d6fad4
Merge pull request #2411 from reactormonk/merge-counttables
...
merge for CountTable, see #1680
2015-04-21 09:04:46 +02:00
Andreas Rumpf
72e513991f
Merge pull request #2572 from maxgrenderjones/fix-2431-against-devel
...
{} returns nested results in json & standardise on 'key' not 'name'
2015-04-21 09:02:39 +02:00
Araq
2b4e233510
Merge branch 'devel' of https://github.com/Araq/Nim into devel
2015-04-20 11:44:54 +02:00
Josep Sanjuas
f72bb57fff
Convert to float before sum
2015-04-18 13:40:20 +02:00
Josep Sanjuas
44246b6709
Document toFloat is necessary
2015-04-18 13:38:15 +02:00
Josep Sanjuas
e76f54e059
Generalize variance to other types
2015-04-18 13:28:48 +02:00
Max Grender-Jones
7daad41784
Allow {} to return nested results in json & standardise on 'key' not 'name'
...
- Note now returns nil if users try to index into a non-object;
old behaviour was to throw a runtime error
- Also s/transverse/traverse/
2015-04-18 01:08:06 +01:00
Araq
caef835fe4
fixes #2568
2015-04-17 21:21:02 +02:00
def
2025a0f482
Make peekExitCode on Posix use WIFEXITED to determine exit
...
This fixes #2552
2015-04-14 12:58:17 +02:00
Josep Sanjuas
d0ff06b8c1
Generalize mean to other types
2015-04-12 19:40:30 +02:00
Andreas Rumpf
badd1a79f0
Merge pull request #2493 from arnetheduck/more-comp-ropes
...
More comp ropes
2015-04-10 13:59:35 +02:00
Oleh Prypin
27071319c6
Remove unneeded import os from intsets
2015-04-09 03:48:35 +03:00
Jacek Sieka
76a316bd35
lib_ropes: better buffering in equalsFile, cleanups
2015-04-08 23:30:11 +08:00
Andreas Rumpf
b48f9c4e14
Merge pull request #2484 from yglukhov/macos-sigpipe
...
Fixed SIGPIPE on MacOS
2015-04-08 16:03:32 +02:00
yglukhov
c2a52a9849
Fixed SIGPIPE on MacOS
2015-04-08 11:24:53 +03:00
Andreas Rumpf
dfc3f9dcd7
Merge pull request #2486 from endragor/rational-hash
...
Add hash proc for Rational
2015-04-08 09:58:06 +02:00
Ruslan Mustakov
35f5ac2811
Added procvar pragma to rationals.cmp
2015-04-08 01:21:58 +06:00
Ruslan Mustakov
46e6fd4fa9
Added hash proc for Rational
2015-04-08 00:52:20 +06:00
Andreas Rumpf
d170a51f54
Merge pull request #2472 from def-/natural
...
Use more Natural and Positive numbers in proc parameters
2015-04-07 13:37:08 +02:00