Commit Graph

17607 Commits

Author SHA1 Message Date
Araq
21e22624a2 fixes #6294 2017-09-05 01:03:23 +02:00
Dominik Picheta
d539eb53b5 Merge pull request #6322 from FedericoCeratto/patch-32
Add Zsh completion script
2017-09-04 21:11:33 +01:00
Dominik Picheta
123235e89c Merge pull request #6321 from FedericoCeratto/patch-31
Add Bash completion script
2017-09-04 21:07:31 +01:00
Zahary Karadjov
c446806f75 improve the debugging experience when line directives are used 2017-09-04 18:17:22 +03:00
Araq
2db96d4f7b make install.txt part of the zips 2017-09-04 11:22:50 +02:00
Araq
c089cf458a fixes #6028 2017-09-04 11:11:15 +02:00
Federico Ceratto
8f505904fd Add Zsh completion 2017-09-03 17:03:18 +01:00
Federico Ceratto
9d5de76fb3 Add Bash completion script 2017-09-03 15:35:05 +01:00
Araq
a5b19ba86c moved winrelease to its own tool to fix #6147 2017-09-03 16:26:02 +02:00
Araq
9b2799bd64 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-09-03 01:15:48 +02:00
Araq
7132b04f44 equality check on NimSym has now support in the VM; refs #6139 2017-09-03 01:15:40 +02:00
Ruslan Mustakov
31ecec6473 Allow to modify backend link template (#6173) 2017-09-03 01:09:22 +02:00
Araq
2d8e97ee03 only replace the tilde when followed by a slash; refs #6176 2017-09-03 01:08:23 +02:00
Federico Ceratto
bad52ca29a Improve docs around subtracting times (#6152)
The output can be surprising - better provide examples.
2017-09-03 01:01:06 +02:00
Parashurama
0861249de7 Fix seq.setLen initialisation in VM (#6224) 2017-09-02 22:53:22 +02:00
Daniil Yarancev
6ce6883fad Fix #4366 (#6290) 2017-09-02 21:23:00 +02:00
Dominik Picheta
90fa64501f Implement .nimble-link files in the compiler and add tests for them. 2017-09-02 15:28:25 +01:00
Dominik Picheta
9b465a2361 Add readme to tests. Add fileDir option to testament & create nimble test. 2017-09-02 15:03:39 +01:00
Araq
c9e093d61d Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-09-02 09:29:13 +02:00
Araq
e5ef3f5a6f set the codepage to UTF-8 for start.bat; refs #2348 2017-09-02 09:27:39 +02:00
Andreas Rumpf
3bc7dbbd97 os.nim: revert findExe 'improvement' that breaks our builds 2017-09-01 21:35:46 +02:00
Araq
a43eae8e6c os.findExe: do not return binaries in the cwd 2017-09-01 19:31:27 +02:00
araq
85dc40c121 fixes #1734, fixes #3138, fixes #3759 2017-09-01 19:25:08 +02:00
Andreas Rumpf
d456055221 fixes #6306 2017-09-01 16:30:24 +02:00
Andreas Rumpf
27e89eef6b closes #3583 2017-09-01 16:22:23 +02:00
Andreas Rumpf
b018ddca03 another attempt to make travis and appveyor green again 2017-09-01 15:55:41 +02:00
Araq
b2a5f97860 parsesql can parse more SQL 2017-09-01 14:42:36 +02:00
Andreas Rumpf
dcc72ea7a9 fix os.nim for Windows 2017-09-01 11:24:30 +02:00
Andreas Rumpf
50666a1f8b refactor os.nim and ospaths.nim 2017-09-01 10:35:50 +02:00
Andreas Rumpf
8ce4273864 os.nim: do not include and import ospaths 2017-09-01 09:42:32 +02:00
Andreas Rumpf
7d8ef01e29 update the manual; 'of', 'low' and 'high' can now be overloaded 2017-09-01 08:25:43 +02:00
Andreas Rumpf
686a9ae66a tester: better error message comparisons 2017-08-31 21:39:24 +02:00
Andreas Rumpf
a08fb61da9 make tests green again 2017-08-31 13:59:25 +02:00
Andreas Rumpf
4846e4e452 tester: make 'nimout' matching more robust against whitespace issues 2017-08-31 13:59:06 +02:00
Andreas Rumpf
6467e55ae8 tables.nim: use proper spacing 2017-08-31 13:42:22 +02:00
Andreas Rumpf
8d714d2b02 low/high/of are now overloadable operations 2017-08-30 23:14:33 +02:00
Andreas Rumpf
786f9315e3 android target: use clang 2017-08-30 20:44:40 +02:00
BigEpsilon
6f6e6fe4eb Fix #6295 (#6296) 2017-08-30 14:44:11 +02:00
Andreas Rumpf
28da04c1f7 Android support: put Termux specific dependencies behind a -d:termux switch 2017-08-30 13:33:09 +02:00
Andreas Rumpf
80fab1d861 make ospaths compile for Android again, simplify its implementation, added a disclaimer 2017-08-30 11:08:49 +02:00
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