Commit Graph

440 Commits

Author SHA1 Message Date
Andreas Rumpf
b4ff01b507 make niminst compile again 2018-08-23 16:32:38 +02:00
Araq
dbd21d670c make more things compile without isNil 2018-08-22 15:12:02 +02:00
Dominik Picheta
ced1c13571 Use project name in install tmpl and ensure config dir is created. 2018-08-17 16:26:23 +01:00
Dominik Picheta
eff7e42d7b Fixed install scripts for #8653. 2018-08-17 16:21:37 +01:00
Araq
18859cbaa1 make nimweb compile again 2018-08-14 01:36:02 +02:00
Araq
741f95e2d6 make dochack.nim compile again 2018-08-14 00:09:46 +02:00
Araq
46204eba1f make the vccexe helper tool compile again 2018-08-13 15:42:20 +02:00
Timothee Cour
baa77387d7 fixes #8215; remove reference to old doc command which was deprecated (#8418) 2018-08-05 12:15:40 +02:00
Timothee Cour
c0f78ec012 fixes #8419 fixes #8420 ; workaround #6071 workaround nim-lang/website#98 (#8423)
add --git.devel option to override doc generated "edit" links; add --nimCompiler option to nimweb
2018-07-30 14:02:18 +02:00
Ray Imber
060871e64a Better doc search (#8260)
* Modified the doc generation to produce a custom data attribute to allow for better search functionality

* Implemented fuzzy matching for the Nim Doc search instead of the simple regex match.

* Fix to the WordBoundry state transition from code review with @Varriount. Also removed silly testing template that is no longer used.

* Update fuzzysearch.nim

* Update fuzzysearch.nim

* Update fuzzysearch.nim

* Update dochack.nim

* Update dochack.nim
2018-07-20 04:58:42 -05:00
Arne Döring
97d37aeb0b Gdb pretty printers (#8263) 2018-07-16 19:30:05 +02:00
Andreas Rumpf
837d0c7270 nimpretty: proper command line handling; added tests; travis ensures these stay green 2018-06-19 20:06:04 +02:00
Andreas Rumpf
a1bd4a6cbd nimpretty: first version that seems useful for others to test it 2018-06-16 01:46:39 +02:00
Andreas Rumpf
18a3833d60 more refactoring 2018-05-27 15:22:17 +02:00
genotrance
1d72ec3f1b Detect gcc arch in build.bat (#7856)
* Detect gcc arch in build.bat

* Fix 64-bit test
2018-05-22 20:53:29 +02:00
Ganesh Viswanathan
9bde9a1404 Add nimble dir to path via finish 2018-05-09 17:39:42 +02:00
Flaviu Tamas
b132965330 Allow using CC environment variable with csources (#7754) 2018-05-06 11:23:08 +02:00
genotrance
452321874d Fixes for #7747 - finish.exe issues (#7748) 2018-05-02 19:16:44 +02:00
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