Andrii Riabushenko
d7bc4e43a2
fixes #11826
2019-07-25 23:02:04 +01:00
Timothee Cour
8c93c692b9
run runnableExamples in the module scope ( #11732 ) [feature]
2019-07-22 16:22:57 +02:00
cooldome
d563efb719
fixes #11792 ( #11793 )
2019-07-21 16:53:22 +02:00
Araq
67a6effb7b
fixes #11745
2019-07-19 22:38:35 +02:00
Araq
affe1be47c
fixes #11790 [nobackport]
2019-07-19 22:24:56 +02:00
Araq
dc38b88f7e
bugfix: it should be [UnusedImport] [nobackport]
2019-07-19 19:33:56 +02:00
Araq
1868cbc449
revert the bugfix for #11747 as it really was a new, poorly though-out feature
2019-07-19 19:32:13 +02:00
Araq
313cc337f2
fixes a 'nim check' regression
2019-07-19 17:09:11 +02:00
Araq
de69e1856f
installer: ship nimpretty.exe on Windows
2019-07-19 16:48:27 +02:00
Andreas Rumpf
fbb0642e27
Merge branch 'devel' into araq-detect-unused-imports
2019-07-18 18:16:32 +02:00
Andreas Rumpf
9852cf804b
warn about unused imports; fixes an 'export' regression [nobackport]
2019-07-18 18:16:25 +02:00
Araq
6d8913ee14
nimpretty: fixes #11616
2019-07-18 12:13:22 +02:00
Araq
7deb49e992
nimpretty: fixes #11699
2019-07-18 11:28:25 +02:00
Araq
5b7273b4f8
[refactoring] nimpretty
2019-07-18 11:00:29 +02:00
Araq
07d465ca42
[refactoring] remove unused imports in the compiler and in some stdlib modules
2019-07-18 00:36:03 +02:00
Araq
4137a4dbf3
[feature] detect unused imports
2019-07-17 22:36:23 +02:00
Andreas Rumpf
745669ac25
fixes #11758 [nobackport]
2019-07-17 20:06:10 +02:00
Andreas Rumpf
210988c532
[refactoring] don't use 'defer'
2019-07-17 16:36:40 +02:00
Andreas Rumpf
e11494f1cf
Merge pull request #11680 from timotheecour/pr_fix_sigmatch_errmsg
...
fixes #8305 ; fixes #7808 ; fixes #10285 ; fixes #11061 + other bugs with type mismatch error msgs
2019-07-17 16:01:44 +02:00
Andreas Rumpf
326860e84c
Merge pull request #11751 from nim-lang/araq-fixes-11474
...
fixes #11747
2019-07-17 15:21:07 +02:00
Andreas Rumpf
15d2a92be0
fixes #11747
2019-07-17 15:19:25 +02:00
Andreas Rumpf
43940294c5
fixes a critical 'nim secret' regression
2019-07-17 15:10:02 +02:00
Araq
edbe02b4e1
newruntime: progress to make 'async' work with --newruntime
2019-07-15 10:56:55 +02:00
Andreas Rumpf
df53c68a36
makes devel green again
2019-07-14 17:14:51 +02:00
Araq
58e0dad371
'nim check' stability improvements
2019-07-14 16:11:42 +02:00
Araq
e06046ab51
makes --styleCheck:error the default for the Nim compiler itself
2019-07-14 16:08:52 +02:00
Araq
44c12d9d20
make 'koch temp' work again
2019-07-14 16:07:30 +02:00
Araq
9db369063c
[refactoring] moves transformation for 'spawn' into its own spawn.nim implementation
2019-07-14 12:13:19 +02:00
Jacek Sieka
cf36e4a44a
times: use posix constant instead of import ( #11692 )
...
* times: use posix constant instead of import
* simplify clock id usage
2019-07-13 08:39:20 +02:00
Andreas Rumpf
de1ede77fe
fixes #11715 ( #11721 )
2019-07-13 07:55:56 +02:00
Araq
d55cc0888d
better run also considers the command line; fixes #11719 [feature]
2019-07-12 21:53:46 +02:00
Araq
423e8cca91
newruntime: refchecks:on|off switch
2019-07-12 21:53:46 +02:00
Andreas Rumpf
2895ad70c8
fixes tcompiletimerange [bugfix] ( #11720 )
2019-07-12 15:37:54 +02:00
Araq
7606efc0bf
[bugfix] VM: finally do inheritance properly
2019-07-12 12:15:30 +02:00
Araq
6d125da93f
koch/nim: completion of the 'better run' feature
2019-07-12 10:48:29 +02:00
Araq
5bf3734984
nimpretty: implement a --maxLineLen command line option
2019-07-12 10:23:21 +02:00
Araq
eaf4b42ff9
JS codegen: supports toOpenArray [bugfix]
2019-07-12 10:11:59 +02:00
Miran
2f0a50fa51
nimpretty: fix #11700 , no extra newlines ( #11714 )
2019-07-12 09:14:21 +02:00
Andreas Rumpf
3d88d06b32
better run [feature] ( #11709 )
...
* track the checksums of all involved Nim files for smarter 'nim c -r' recompiles
* don't recompile unless necessary for 'nim c -r' [feature]
* [feature] koch boot uses a two step process in order to free the RAM before the GCC/Clang invocations
* fixes a serious regression
2019-07-11 21:36:23 +02:00
Araq
cb3c3c306c
minor style changes
2019-07-11 00:28:20 +02:00
Araq
38bdf1cd7f
minor style changes
2019-07-10 23:55:56 +02:00
Araq
87a2ced1ba
there is only one style -- my style
2019-07-10 19:17:06 +02:00
Araq
73cc029fec
fixes linter regressions
2019-07-10 18:59:27 +02:00
Araq
78174857f8
fixes #10901
2019-07-10 16:10:20 +02:00
Araq
b03421d087
fixes #11683
2019-07-10 16:00:05 +02:00
Araq
6663dbbe57
fixes #11691
2019-07-10 15:28:35 +02:00
Araq
c94647aeca
styleCheck: make the compiler and large parts of the stdlib compatible with --styleCheck:error
2019-07-10 12:42:41 +02:00
Araq
18182e4bfd
linter: refactorings
2019-07-10 09:07:03 +02:00
Araq
bd689849f2
nim styleChecker: implemented all the missing features (bugfix)
2019-07-10 00:29:58 +02:00
Araq
55e8aefbea
newruntime: async progress
2019-07-09 20:15:57 +02:00