Commit Graph

9855 Commits

Author SHA1 Message Date
Andreas Rumpf
7ee3cdc88d Merge pull request #5125 from chrisheller/fix-issue-5119
Guard against calling split with an empty string as a separator. Fixe…
2016-12-22 08:10:56 +01:00
Chris Heller
7ad32ea0ed Change error handling in split to use doAssert so it is not compiled out when running tests 2016-12-21 22:24:08 -08:00
Chris Heller
af63bd4e0b Update unit test to handle AssertionError instead of ValueError for #5119 2016-12-21 19:06:11 -08:00
Andreas Rumpf
4e481cc316 implements module grouping for the import statement 2016-12-21 22:13:50 +01:00
Chris Heller
80a727f1ce Change error handling to use assert as per Araq's comment 2016-12-21 12:15:33 -08:00
Chris Heller
40d034b7e3 Guard against calling split with an empty string as a separator. Fixes #5119 2016-12-21 12:06:59 -08:00
Andreas Rumpf
2bb49136de added missing file 2016-12-21 12:49:20 +01:00
Andreas Rumpf
22ce05ef16 fixes recently introduced regression 2016-12-21 12:15:47 +01:00
Andreas Rumpf
d2fe857f94 fixes #5136 2016-12-21 11:38:33 +01:00
Andreas Rumpf
06a8d37f9a fixes #5135 2016-12-21 11:09:47 +01:00
Araq
c166394024 fixes #5131 2016-12-20 22:42:25 +01:00
Araq
f484d1b20b make nimfix compile with newer compiler API 2016-12-20 15:59:53 +01:00
Araq
bafc94a49a bugfix: aporia compiles again 2016-12-20 10:25:50 +01:00
Araq
237252f90c Merge branch 'devel' into sighashes 2016-12-19 11:35:45 +01:00
Araq
c130a2af17 make tests green 2016-12-18 23:32:15 +01:00
Araq
3e5e18bc5d make tests green again 2016-12-18 23:20:22 +01:00
Araq
39ca8b8c8e fixes #4818 2016-12-18 23:11:53 +01:00
Araq
4561d70632 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2016-12-18 20:25:34 +01:00
Araq
91935fd915 fixes #4308, fixes #4905 2016-12-18 20:21:50 +01:00
Araq
6d10b365fe debug output: show line info earlier 2016-12-18 20:21:03 +01:00
Andreas Rumpf
7bbf74e2a3 fixes nimsuggest bug #43 2016-12-18 14:07:05 +01:00
Araq
e359dfd1bf Merge branch 'devel' of github.com:nim-lang/Nim into devel 2016-12-18 02:13:28 +01:00
Andreas Rumpf
19edb206d9 Merge pull request #5123 from vegansk/cpuload_overflow
Fix overflow when casting int64 to int in cpuload.nim
2016-12-18 02:07:56 +01:00
Araq
bf1f1eab1f revert line info generation change; produces worse results for other cases 2016-12-18 01:58:16 +01:00
Araq
31bc063f2d significantly better stack traces when templates are involved 2016-12-18 00:08:11 +01:00
Araq
a88a965c6d fixes nimsuggest issue #40 2016-12-18 00:06:46 +01:00
Araq
bda8a6c1b7 fixes nimsuggest issue #41 2016-12-18 00:03:47 +01:00
Araq
24239c2361 Merge branch 'devel' into sighashes 2016-12-17 23:04:34 +01:00
Araq
d4c33df919 fixes #5129 2016-12-17 23:02:53 +01:00
Andreas Rumpf
9ac76b49c0 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2016-12-17 14:22:58 +01:00
Andreas Rumpf
b013430929 reworked emit pragma; fixes #4730 2016-12-17 14:20:57 +01:00
Andreas Rumpf
4fcb6c0265 Merge pull request #5124 from vegansk/fix_lib_out
Use ``out`` compiler option when linking static library
2016-12-17 10:13:53 +01:00
Andreas Rumpf
f8a9382819 Merge pull request #5130 from jlp765/casted
Gramma change: casted or Casted to cast or Cast respectively
2016-12-17 10:13:13 +01:00
Andreas Rumpf
9ea97bbb2a Merge pull request #5096 from cheatfate/sup5094
Support android compilation of ioselectors.
2016-12-17 10:12:47 +01:00
jlp765
4acc84f081 Gramma change: casted or Casted to cast or Cast respectively
past tense of cast is cast not casted :-)
2016-12-17 12:33:57 +10:00
Araq
3a4ec7f101 use dwarf-3 debug information on Windows/GCC for compat with older GDBs 2016-12-16 22:02:49 +01:00
Anatoly Galiulin
b99f3743e7 Use `out` compiler option when linking static library 2016-12-16 14:26:47 +07:00
vega
52a7ed5d19 Fix overflow when casting int64 to int in cpuload.nim 2016-12-16 12:12:36 +07:00
Araq
843ae830d3 Merge branch 'devel' into sighashes 2016-12-14 01:31:02 +01:00
Araq
aedafb9978 Nim compiler generates nimcache/proj.json for easier interop with external build tools 2016-12-14 01:27:44 +01:00
Araq
414c2decbe Merge branch 'devel' into sighashes 2016-12-13 12:18:45 +01:00
Araq
02d39277eb code cleanup and getting rid of debugging comments that nihilated the sighashes approach 2016-12-13 12:18:41 +01:00
Araq
30df922409 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2016-12-13 12:02:05 +01:00
Andreas Rumpf
04b91b0d3b sighashes: multi-methods should work now 2016-12-13 11:02:21 +01:00
Araq
71a23fbbb7 sighashes: do not use the ID mechanism at all 2016-12-13 09:22:20 +01:00
Araq
d1663ca81c disable not implemented test for sighashes 2016-12-13 09:22:05 +01:00
Araq
7f8a02d0c6 make tos.nim green on Windows 2016-12-13 09:01:53 +01:00
Araq
5c6a4d9e90 make tvarargsuntyped test deterministic, independent of compiler's hashing order 2016-12-13 08:32:30 +01:00
Andreas Rumpf
e169eaac5b make tsigbreak.nim compile 2016-12-12 14:08:01 +01:00
Andreas Rumpf
087a26ff21 Merge pull request #5115 from katafrakt/smallest-description
Fix description of CountTable's smallest
2016-12-11 19:58:11 +01:00