Commit Graph

2460 Commits

Author SHA1 Message Date
A. S. Budden
0cc7c9a13c Modification to implementation of round() such that it returns a float and accepts a places argument (fixes #3473).
This also involved moving some functions around to get the hierarchy correct and the documentation for frexp was modified such that it was clear that it can return a float in either the range [-1, -0.5] or [0.5, 1].
2016-05-31 13:17:40 +01:00
Andreas Rumpf
893be3a5a4 changed the compiler's path handling; fixes #546 2016-05-31 03:04:45 +02:00
Andreas Rumpf
3cedf3e887 make test green 2016-05-30 17:40:13 +02:00
Andreas Rumpf
95bb19a579 moved random procs from math to its own module (breaking change) 2016-05-30 16:24:52 +02:00
Andreas Rumpf
e52044660d Merge branch 'patch/fix-3496-generic-tmpl-args' of https://github.com/nanoant/Nim into nanoant-patch/fix-3496-generic-tmpl-args 2016-05-29 23:58:25 +02:00
Andreas Rumpf
552b13efe4 fixes #3729 2016-05-29 21:01:15 +02:00
Andreas Rumpf
e65c89ee28 fixes #4177 2016-05-28 22:40:28 +02:00
Andreas Rumpf
d3fe4a2db1 Merge pull request #4113 from jcosborn/gettypeinst
getTypeInst
2016-05-28 17:14:52 +02:00
Andreas Rumpf
628ad4b753 makes tests green again 2016-05-28 09:49:16 +02:00
Andreas Rumpf
0134a51a7c fixes critical 'do' parsing bug 2016-05-28 02:17:13 +02:00
Andreas Rumpf
6d76df8454 fixes #4227 2016-05-27 19:18:08 +02:00
Andreas Rumpf
301d39b882 Merge pull request #4130 from lihf8515/devel
Update parsecfg.nim
2016-05-26 10:51:10 +02:00
Yuriy Glukhov
4d0d2d69f3 Fixes #4222 2016-05-26 08:49:56 +03:00
Parashurama
4716034a7f fixes issue 4212 && add test for various valid zero floats. 2016-05-25 11:57:09 +02:00
Andreas Rumpf
835bd9aef2 fixes #4212 2016-05-25 01:10:31 +02:00
Andreas Rumpf
2ecf4633f4 Merge branch 'prim-gc' into devel 2016-05-22 15:01:36 +02:00
Andreas Rumpf
dcf830bba9 fixes #3184 2016-05-22 14:28:53 +02:00
Dmitry Polienko
55c3b1444d Slightly better test case
Tests identity rather than exact output.
2016-05-20 16:03:08 +06:00
nigredo-tori
85c41a1398 Fix toJSStr for control characters
fixes #4190
Add leading zero to encoded character if it is less than 0x10
2016-05-20 12:35:34 +06:00
Andreas Rumpf
366a0df490 Merge pull request #4188 from Parashurama/improve_float_parsing
fixes some issues with underscores in float literals. add more tests.
2016-05-20 00:56:51 +02:00
Parashurama
5d7d8816e5 fixes some issues with underscores in float literals. add more tests.
fixes some potential issues with underscores in float literals.
adds more checks for badly positionned underscores in float literals.
adds more test files.
2016-05-19 21:03:22 +02:00
Yuriy Glukhov
f46d40cb37 Added a test case 2016-05-18 13:51:07 +03:00
Dominik Picheta
d3e9589b3d Merge pull request #4180 from cheatfate/callsoon2
Resolve bugs with `deep recursion` of asyncdispatch.
2016-05-18 11:45:56 +01:00
Parashurama
f5761e23d3 fix issue 4181. add testcase. 2016-05-18 12:12:01 +02:00
cheatfate
aba60e54d5 Resolve bugs with deep recursion of asyncdispatch.
Introduce callSoon() implementation.
Patch tests to use waitFor() instead of asyncCheck()
2016-05-18 00:53:53 +03:00
Andreas Rumpf
d691867c84 fixes #3793 2016-05-16 17:52:50 +02:00
Andreas Rumpf
4b13484025 Merge pull request #4025 from flyx/highlight-yaml
YAML highlighting support for doctools/highlite
2016-05-12 14:59:00 +02:00
Andreas Rumpf
eae30d1961 fixes #950 2016-05-12 00:38:15 +02:00
Andreas Rumpf
8dec1dcd1f make tests green 2016-05-11 21:17:13 +02:00
Andreas Rumpf
299351a909 fixes #4070 2016-05-11 18:16:25 +02:00
Andreas Rumpf
d0c91131c1 makes tests green again 2016-05-11 17:11:55 +02:00
James Osborn
0356f53b56 getTypeInst and getTypeImpl mostly working now and added test 2016-05-04 00:24:44 -05:00
lihf8515
a1de24e2f6 Update tparscfg.nim 2016-05-02 16:59:38 +08:00
Andreas Rumpf
c876b304ba make test green again (code was wrong, but not detected by compiler) 2016-04-30 02:00:50 +02:00
Andreas Rumpf
e04f319540 fixes #4084 2016-04-29 22:30:00 +02:00
Andreas Rumpf
c870e831c8 fixes #4124 2016-04-29 20:56:30 +02:00
Andreas Rumpf
ef9a9b119d Merge branch 'devel' of github.com:nim-lang/Nim into devel 2016-04-19 12:11:18 +02:00
Andreas Rumpf
4d56b7da5a fixes #4089 2016-04-19 12:10:48 +02:00
Andreas Rumpf
8dfdea8919 fixes #4097 2016-04-19 11:56:35 +02:00
mjendrusch
01ca3ba26d Added test case
Previously offending code
2016-04-17 17:11:02 +02:00
Federico Ceratto
497925ab6d Disable pegs 2016-04-11 18:00:53 +01:00
Andreas Rumpf
1d5c28fc14 Merge pull request #4050 from yglukhov/tr-varargs
Fixed tr pattern matching for varargs
2016-04-09 13:06:38 +02:00
Yuriy Glukhov
2bf6f57930 Added js closures test. Fixes #3132. 2016-04-07 22:57:35 +03:00
Yuriy Glukhov
b6f5c12158 Fixed tr pattern matching for varargs 2016-04-07 21:24:43 +03:00
Andreas Rumpf
9a747828fe Merge pull request #4049 from arnetheduck/tester-targets
tester: allow filtering tests by target
2016-04-07 13:34:01 +02:00
Dominik Picheta
082ba914bc Prevent tester from checking for output diffs for actionRunNoSpec. 2016-04-05 21:45:52 +01:00
Jacek Sieka
796f4e917c untaint command line option for parsing 2016-04-06 00:01:57 +08:00
Jacek Sieka
25abb7c2b6 tester: allow filtering tests by target 2016-04-05 20:51:13 +08:00
Dominik Picheta
1446dc87c3 await x where x is Fut var now reads after yield. Fixes #3964. 2016-04-04 22:50:31 +01:00
Andreas Rumpf
6d67581409 fixes #3859 2016-04-04 10:19:20 +02:00