Commit Graph

422 Commits

Author SHA1 Message Date
Andreas Rumpf
e50f69bc87 nimgrep: count the number of matches 2018-04-27 09:57:20 +02:00
Andreas Rumpf
64908bf171 nimgrep: add --filenames option 2018-04-24 09:34:29 +02:00
Jacek Sieka
72dfe176f5 remove dead code elimination option (#7669) 2018-04-23 11:02:38 +02:00
Araq
9bc963508f nimpretty: next steps 2018-04-18 21:30:38 +02:00
skilchen
a3cf1cff5b make tools/nimweb.nim compileable with latest Nim (#7602) 2018-04-13 22:57:10 +02:00
Timothee Cour
44ee3c27c0 [nimgrep] add option --oneline to keep file:line info when piping (#7592)
through grep
2018-04-13 07:42:42 +02:00
Jacek Sieka
9e51e737b6 RLIMIT_NOFILE as posix const 2018-04-01 20:17:32 +08:00
PMunch
5003942256 Renamed jsondoc2 to jsondoc, similar to doc2 (#7279)
* Update information about jsondoc/jsondoc2

Manual was missing information about jsondoc2 which made it seem like
it didn't exist at all. This commit adds mention of the jsondoc2
command along with an example.

* Renamed jsondoc2 similar to doc2 and updated docs

doc2 was recently renamed to doc while doc was renamed to doc0. This
commits renames jsondoc to jsondoc2 and jsondoc2 to jsondoc0 to behave
tha same way. The documentation for doc/jsondoc was also lagging behind
this change which has also been fixed. I interpreted this as a soft
deprecation of doc and jsondoc and therefore removed them from the
auto-complete lists.
2018-03-08 15:11:45 +01:00
Araq
5ee9e86c87 fixes finish.nim download bug 2018-03-01 22:38:41 +01:00
Andreas Rumpf
70e8640244 move new sha1 module into the new 'std' namespace 2018-02-06 17:40:31 +01:00
Andreas Rumpf
274fafb2df fixes #6961 2018-02-02 17:35:04 +01:00
Mathias Stearn
23c77ffa3a Faster nimgrep (#6983)
* compile nimgrep with -d:release
* nimgrep: only parse pattern once at startup
2018-01-03 12:42:39 +01:00
Araq
e0e1241a54 move securehash back into the stdlib 2017-12-21 12:34:38 +01:00
Araq
35133d97ef make niminst compile again 2017-12-16 01:56:38 +01:00
Araq
82870058d3 finish.nim: make it work with spaces in the path to curl 2017-12-02 00:57:13 +01:00
Federico Ceratto
e758b9408e Add boot directive in nimweb (#6824)
Enables #6780
2017-11-28 14:09:14 +01:00
Stephen
89fa438857 use more make conventions (#6789)
* use more make conventions

improves compatibility with cross compilation systems

* use make implicit rule
2017-11-22 21:38:19 +01:00
Stephen
2c584cdb3d use make default linker naming convention (#6787) 2017-11-22 15:13:07 +01:00
Andreas Rumpf
a4d40d137e 'nim doc' is now using version 2 of the documentation generator 2017-11-16 12:53:36 +01:00
Sergey Avseyev
0d81ada619 Fix platform detection in makefile (#6751) 2017-11-16 02:36:36 +01:00
Sergey Avseyev
22ceab0fbb Fix little endian PPC64 architecture detection (#6713) 2017-11-11 16:55:13 -05:00
Andreas Rumpf
29c075299d made nimresolve part of the compiler 2017-10-29 15:40:50 +01:00
Xiao-Yong
616db85c61 Let the environment variable NIMBLE_DIR overrides nimblepath in cfg file (#6542)
* Let the environment variable NIMBLE_DIR overrides nimblepath in cfg file

If the length of NIMBLE_DIR is larger than zero, the nimblepath
will be set to $NIMBLE_DIR/pkgs
2017-10-28 09:38:31 +02:00
Araq
604a15c0aa some progress on the nimpretty tool; still not ready 2017-10-16 00:59:51 +02:00
Eduardo Bart
5c1a842b88 Add missing nilChecks compiling option (#6480) 2017-10-09 19:09:49 +02:00
Andreas Rumpf
eddf9abd13 beginnings of the new nimpretty tool; still unusable 2017-10-05 08:43:22 +02:00
Andreas Rumpf
02ff5f596c implemented new experimental scriptable import mechanism 2017-10-01 23:38:23 +02:00
Araq
7e07fc5893 finish.nim tool: make path environment creation more robust 2017-09-30 15:37:36 +02:00
Fredrik Høisæther Rasch
811fbdafd9 Revert usage of non-standard uname -o command in build.sh (#6342) 2017-09-07 08:29:38 +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
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
e5ef3f5a6f set the codepage to UTF-8 for start.bat; refs #2348 2017-09-02 09:27:39 +02:00
Fredrik Høisæther Rasch
c39e202976 Introduce first class support for Android (#5772) 2017-08-06 02:18:15 +02:00
James Cowgill
fed1b0a077 Add mips64 and mips64el CPU platforms (#5866) 2017-08-03 18:37:02 +02:00
def
245a1fe8d7 Minor fixes for makefile.tmpl 2017-06-20 21:33:49 +02:00
Dennis Felsing
fd5ddab581 Merge pull request #5830 from jcowgill/makefile-indentation
makefile.tmpl: fix error handling and cleanups
2017-06-20 21:31:17 +02:00
Dennis Felsing
5b9620bc2d Invoke xz -9 explicitly instead of trusting tar to interpret XZ_OPT 2017-05-23 15:30:58 +02:00
James Cowgill
675b271aa6 makefile.tmpl: fix error handling and cleanups
This changes the indentation of all non-recipe lines from tabs to 2
spaces. While this doesn't fix anything, it avoids either make or
someone interpreting those lines as a make recipe.

This also fixes the error handling by using make's $(error) function
instead. Previously make gave this syntax error whenever it hit the
error handling code:

```
*** recipe commences before first target.  Stop.
```
2017-05-18 11:18:30 +01:00
Araq
6857363034 finish.nim tool: use global path environment variable if local does not exist 2017-05-17 21:48:36 +02:00
Jacek Sieka
797301ace8 add back SIG_IGN, SIG_DFL and friends to posix.nim (#5820)
* add back SIG_IGN, SIG_DFL and friends to posix.nim

accidentally wiped by ce86b4ad78

* move deprecated sig_hold after consts include
2017-05-16 13:45:09 +01:00
Andreas Rumpf
3afd852f54 Fixes #5532 win async write (#5791)
* nimgrab tool bugfix: don't divide by zero
* fixes #5532 (asyncfile write on Windows)
* add a comment about what has been tried instead
2017-05-14 17:10:39 +02:00
Jacek Sieka
ce86b4ad78 Posix from detect (#5697)
* refactor posix.nim
* types move to separate files for platform-specifc and generic
("other')
* consts move to separate files that get autogenerated by detect.nim
* proc's stay where they are for now, though in a second stage might
move as well
* fix missing when
2017-04-12 23:10:54 +02:00
Andreas Rumpf
82bf1e6697 nimgrab tool: use Windows API for the download if possible 2017-03-31 16:29:28 +02:00
Andreas Rumpf
7ba565258d koch: better valgrind support 2017-03-17 08:29:52 +01:00
Eugene Kabanov
9c99973ff8 Make DragonFlyBSD a first class BSD-like OS (#5548) 2017-03-16 14:47:53 +01:00
Andreas Rumpf
4912300ca7 Merge branch 'devel' into faster-nimsuggest 2017-03-14 10:18:20 +01:00
Andreas Rumpf
15a8996d57 valgrind support for nim 2017-03-14 08:36:57 +01:00
Araq
4755795416 nimsuggest: more precise cursor tracking 2017-03-09 14:58:14 +01:00