Andreas Rumpf
86556ebfdb
compiler refactoring; use typesafe path handing; docgen: render symbols between modules
2018-09-07 19:21:16 +02:00
Timothee Cour
ed0cb7b85d
make config.nims behave like nim.cfg in terms of where these scripts are searched / run ( #8682 )
...
* run project config.nims if exists, then inputfile.nims if exists
* ~/.config/nim/config.nims can now be used
* also check in getSystemConfigPath for config.nims
* refactor handleCmdLine for nim and nimsuggest
2018-08-30 13:52:32 +02:00
Timothee Cour
01211ced1d
add nim c -r nimsuggest/tester to travis ( #8805 )
2018-08-29 16:03:16 +02:00
Andreas Rumpf
7f49364fd0
make more tests green
2018-08-13 12:29:03 +02:00
Andreas Rumpf
28c709fa84
cleanup nimsuggest tests a bit
2018-08-10 09:37:41 +02:00
Andreas Rumpf
5348fef003
implements a --nep1:on switch to make the compiler enforce the naming conventions outlined in NEP-1
2018-06-13 01:44:19 +02:00
Andreas Rumpf
826c1e2d78
incremental compilation: implemented basic replay logic
2018-06-02 09:41:27 +02:00
Andreas Rumpf
688c54d8f1
compiler API: final cleanups; improve security by diabling 'gorge' and friends
2018-05-29 09:07:24 +02:00
Andreas Rumpf
382bc34f93
vm now free of global variables
2018-05-28 14:41:49 +02:00
Andreas Rumpf
40ec7be45c
refactoring: remove idents.legacy global variable and pass the IdentCache around explicitly
2018-05-27 22:09:15 +02:00
Andreas Rumpf
669a564492
remove more global variables in the Nim compiler
2018-05-27 11:10:56 +02:00
Andreas Rumpf
bf6c2c5ccf
preparations of making compiler/msgs.nim free of global variables
2018-05-17 15:21:22 +02:00
Andreas Rumpf
1616c6e029
make nimsuggest compile again
2018-05-14 13:04:18 +02:00
Andreas Rumpf
e4c088721a
make nimsuggest compile again
2018-05-13 09:53:00 +02:00
Andreas Rumpf
ee366f1746
.experimental can now be used to enable specific features
2018-04-24 09:34:29 +02:00
skilchen
e336e6609c
include help short option in processCmdLine ( #7515 )
2018-04-06 09:48:03 +02:00
Araq
a0b547001b
nimsuggest: do not execute the .nims file when requested to auto-complete it
2018-03-22 15:51:23 +01:00
pqflx3
c039bbf6e1
Fixed printing nimsuggest commandline help message ( #6863 )
2017-12-02 20:40:00 +01:00
Andreas Rumpf
ab1787e7db
fixes #6707 ; nimsuggest tests still not green
2017-11-08 11:41:05 +01:00
Fabian Keller
7c03c882f5
Remove more usages of unary lt ( fixes #6634 ) ( #6641 )
...
* fixes #6634
* remove more usages of unary <
2017-10-31 19:48:01 +01:00
Federico Ceratto
034e6a3468
Fix spelling error ( #6349 )
2017-09-15 10:49:57 +02:00
Andreas Rumpf
1a29069ece
attempt to make nimsuggest work with choosenim
2017-05-11 17:00:50 +02:00
Andreas Rumpf
ab3f22fce1
minor update for nimsuggest
2017-04-06 08:53:31 +02:00
Arne Döring
3d4f68c822
Make nimsuggest quit when pressing Ctrl-D from the command line. ( #5662 )
2017-04-06 08:16:26 +02:00
Araq
3962c6339f
nimsuggest: die with a project dir/file that doesn't exist
2017-03-21 13:09:57 +01:00
Andreas Rumpf
f7d760cb94
nimsuggest: when invoked with a directory, detect the main nim file on its own
2017-03-14 12:28:15 +01:00
Andreas Rumpf
b414806e66
nimsuggest: suggest types in a type section
2017-03-14 11:21:35 +01:00
Andreas Rumpf
c149a235e7
nimsuggest: make test green again
2017-03-14 10:23:23 +01:00
Andreas Rumpf
3d534375c7
nimsuggest: logging enable when compiled with -d:logging
2017-03-13 21:59:23 +01:00
Andreas Rumpf
2430fc7d82
nimsuggest: special rule for 'of' completion in case statements
2017-03-10 14:42:11 +01:00
Andreas Rumpf
c5566f7c37
nimsuggest: make 'con' work again
2017-03-10 13:20:32 +01:00
Andreas Rumpf
68181e6da2
nimsuggest: maxresults limit; fixed local symbol usages priorizations
2017-03-10 11:29:16 +01:00
Andreas Rumpf
16cef36cfd
nimsuggest now uses 0 based columsn consistently
2017-03-10 09:56:04 +01:00
Araq
556b564c7d
nimsuggest: make tests green again
2017-03-10 00:18:24 +01:00
Araq
57ea01309e
nimsuggest: more things work
2017-03-09 17:09:39 +01:00
Araq
4755795416
nimsuggest: more precise cursor tracking
2017-03-09 14:58:14 +01:00