Daniil Yarancev
eb8371012c
Fix #6288 ( #6289 was created for wrong branch) ( #6291 )
2017-08-29 15:46:22 +02:00
Charlie Barto
0d07117a65
allow non-admins to create symlinks on windows ( #6287 )
2017-08-29 08:30:57 +02:00
Andreas Rumpf
920f4acadf
fixes #6279
2017-08-29 00:33:46 +02:00
Andreas Rumpf
57f0936f2a
macros module: 'name' proc skips the export marker
2017-08-29 00:33:46 +02:00
Dominik Picheta
b47e448e06
Fixes #6284 .
2017-08-28 23:12:36 +01:00
Daniil Yarancev
a3f82a574f
Fix typo ( #6285 )
2017-08-28 18:14:11 +02:00
Jacek Sieka
22684370b0
remove ArrayDummySize with unchecked arrays ( #5818 )
2017-08-28 15:44:35 +02:00
Dominik Picheta
b2aae477d1
Merge pull request #6276 from enckse/devel
...
libcurl is available via nimble, doc isn't in stdlib any more
2017-08-25 23:00:36 +01:00
Paul Tan
b06c0f97a4
writeDepsFile: write included files as well
...
`writeDepsFile()` does not list files which were included with the
`include` statement, e.g, with:
import file1
include file2
`file1` will be written to the deps file, while `file2` would not.
Fix this by modifying `writeDepsFile()` to write included files as well.
Now, both `file1` and `file2` in the above example will be written to
the deps file.
2017-08-25 17:45:33 +08:00
Paul Tan
1a50442c13
Generate deps file during C compilation
...
The "genDepend" command was previously taught how to generate a "deps"
file in 4910a87c6 (gendepend improvements; refs #5144 ). Such a deps file
is useful in integrating the Nim compiler with an external build system
or watch daemon, such that it's possible to only run the Nim compiler
when any of the source files are modified.
It's also useful to generate the deps file in the nimcache directory
during C compilation, without needing to re-run the compilation passes
with "genDepend". This would thus reduce overall project build times.
2017-08-25 17:45:33 +08:00
Sean Enck
51c1eceea2
libcurl is available via nimble, doc isn't in stdlib any more
2017-08-24 23:29:19 -04:00
Fredrik Høisæther Rasch
496716ee9b
Replaced en-dash with hyphen for identifier equality ( #6272 )
2017-08-24 20:53:50 +02:00
cooldome
82453825e9
Make Nim gdb pretty print friendly ( #6240 )
2017-08-24 10:21:38 +02:00
Fredrik Høisæther Rasch
3ce8bec359
Nim Configuration cleanup for VCC ( #6261 )
2017-08-21 11:20:24 +02:00
Parashurama
837b77b0a1
fixes basic type alignement issue on i386 platform. ( #6209 )
2017-08-19 09:02:02 +02:00
Parashurama
f64eee3a1e
add testcase for mitems returning tuple on VM.
2017-08-19 08:58:57 +02:00
Parashurama
03b11b66cf
fixes mitems iterator on vm. (issue with tuple value)
...
this discard any implicit conversion on iterator return value.
the previous behaviour was to return a reference to a converted copy and
thus not modifying the original value.
2017-08-19 08:58:57 +02:00
Zahary Karadjov
7ad115f530
Restore the old behavior of parsing "quote do:"
...
close #5845
2017-08-19 08:57:43 +02:00
Zahary Karadjov
c3e5c6c326
treat var modifiers inside the concept body correctly: #1033
2017-08-19 08:57:43 +02:00
Zahary Karadjov
4483cefa0c
fix #5918
2017-08-19 08:57:43 +02:00
Lynn C. Rees
43cac7f174
Use of deprecated object name ( #6256 )
2017-08-19 08:48:03 +02:00
David Krause
0e276be301
fixes #6250 ( #6251 )
2017-08-17 13:38:10 +02:00
Arne Döring
484f729e27
use doAssert in rotateLeft example
2017-08-17 13:34:03 +02:00
Daniil Yarancev
5c7ae14074
Fixes #5965 ( #6237 )
2017-08-14 17:43:39 +02:00
Arne Döring
efe606ef81
fix for feedback on PR
2017-08-14 13:55:38 +02:00
Araq
b6360c5d5f
memory regions seem to work now
2017-08-13 02:51:00 +02:00
Araq
36a26875ef
show splitWhitespace instead of split in tut2
2017-08-13 02:51:00 +02:00
Araq
6b3af6a5d7
WIP: --gc:regions instead of --gc:stack
2017-08-13 02:51:00 +02:00
Dominik Picheta
838be26f53
Implement ability to run a single test using unittest module.
2017-08-12 14:41:33 +01:00
Daniil Yarancev
4bf6325739
Fix typo ( #6236 )
2017-08-12 14:00:40 +02:00
Dominik Picheta
c531db9064
Merge pull request #6235 from TiberiumN/patch-1
...
Fixes #6110
2017-08-12 10:46:15 +01:00
Daniil Yarancev
28c530e7ca
Fixes #6110
2017-08-12 12:35:35 +03:00
Dominik Picheta
96eef6d789
Fix compilation of the deprecated sockets module hackishly.
2017-08-11 22:34:30 +01:00
Andreas Rumpf
88b65ea957
fixes #6234
2017-08-11 20:14:44 +02:00
Andreas Rumpf
dfe067a74a
reorder pass: consider the 'using' statement; disabled debug output
2017-08-11 20:14:44 +02:00
Dominik Picheta
4150606422
Merge pull request #6200 from jangko/fix6196
...
fixes #6196
2017-08-10 20:35:02 +01:00
Arne Döring
4c31bc1cd1
type kind is now part of the generated name for types ( #6203 )
2017-08-10 14:36:21 +02:00
Parashurama
4fdf7f2ea3
fix VM intsize for 32bits and smaller targetOS. ( #6211 )
...
This commit change the default behaviour of VM int/uint always being
64bits and make int/uint on VM behave identically to compiled code.
This insert 'opcNarrowU' or 'opcNarrow' opcode on Int/Uint operations
when needed to simulate smaller Int/Uint on VM.
2017-08-10 14:34:57 +02:00
Dominik Picheta
11082180b7
Merge pull request #6204 from couven92/gitignore
...
Added Windows and VCC build artifacts to gitignore
2017-08-09 23:52:49 +01:00
Fredrik Høisæther Rasch
fe0f10f6b4
Added Windows and VCC build artifacts to gitignore
2017-08-08 21:37:37 +02:00
Arne Döring
608cc18178
reverted genEcho
2017-08-08 13:58:50 +02:00
Fredrik Høisæther Rasch
c406d0b7a7
fixed createDir undeclared error on Android ( #6194 )
2017-08-08 13:29:25 +02:00
Fredrik Høisæther Rasch
a71f780253
Added missing C++ options for VCC ( #6195 )
2017-08-08 12:06:48 +02:00
andri lim
d0365dcadf
fixes #6196
2017-08-08 09:04:39 +07:00
Fredrik Høisæther Rasch
37a615a31f
Added Multi-Replacement proc for strings ( #6193 )
2017-08-07 19:58:11 +02:00
Arne Döring
54808ab12f
don't filter '\0' characters in string generation
2017-08-07 18:21:21 +02:00
Arne Döring
3bf1f019a7
improved genEcho
2017-08-07 17:54:05 +02:00
Dominik Picheta
93ef3bcf27
Merge pull request #6192 from TiberiumN/patch-1
...
Small fix to README
2017-08-06 13:57:08 +01:00
Daniil Yarancev
0fff332b89
Small fix to README
...
Fixed link to github contributors page
2017-08-06 14:19:45 +03:00
Fredrik Høisæther Rasch
c39e202976
Introduce first class support for Android ( #5772 )
2017-08-06 02:18:15 +02:00