summary refs log tree commit diff stats
path: root/nimsuggest/nimsuggest.nim
Commit message (Collapse)AuthorAgeFilesLines
* remove unused importsnarimiran2019-11-061-4/+3
|
* nimsuggest: add a command that returns the project file (#12411)alaviss2019-10-111-1/+10
| | | | | | | This can be used to let nimsuggest users know which project is nimsuggest being in charge of, so they can know when should a new nimsuggest instance be spawned. An additional feature is to debug the project file finding feature.
* nimsuggest: add option to force finding the project file (#12409)alaviss2019-10-111-1/+10
|
* nimsuggest: fix tcp socket leak for epc backend (#12384) [backport]alaviss2019-10-081-1/+1
| | | | | | | | Same as e9fa4c9b9c8e2926449399a69a02676936bb842c, but for the epc backend which is used by emacs and vscode plugin. Since the EPC backend only deal with one connection per nimsuggest instance, only one socket is leaked, thus not as servere as with the tcp backend.
* nimsuggest: fix tcp socket leak (#12377) [backport]alaviss2019-10-081-1/+1
| | | | | | A new socket is created for each iteration and leak immediately thanks to the accept() call replacing the created socket with the client socket. This commit fixes that.
* Fix spellings (#12277) [backport]Federico Ceratto2019-09-271-1/+1
|
* minor style changesAraq2019-07-111-9/+9
|
* [bugfix] fix #11482, fix nimsuggest range error (#11519)Miran2019-06-171-2/+2
| | | | | | The default starting parameters for `line` and `col` were switched. See line 141: "line starts at 1, column at 0, dirtyfile is optional". Also, in `TLineInfo` object, `line` is uint16, `col` is int16.
* [other] nimsuggest: adhere to our style guideAraq2019-06-131-2/+2
|
* nimsuggest: make use project file name if none given for 'sug' command; ↵Andreas Rumpf2019-03-041-4/+8
| | | | allows for more convenient debugging
* nimsuggest: only log when logging is enabled (#10646)alaviss2019-02-131-2/+2
| | | fixes #6199
* nimsuggest: add an option to bind to a free port (#10328)alaviss2019-01-161-2/+15
|
* fixes nim-lang/nimsuggest#76 (#10093)alaviss2018-12-251-2/+2
| | | | | | | | * nimsuggest: prevent out-of-bound access * fixes nim-lang/nimsuggest#76 * undo tester changes
* Moved some code around in nimsuggest to avoid crash when run as library (#9818)PMunch2018-12-011-8/+22
| | | | | | | | * Moved some code around in nimsuggest to avoid crash when run as library * Moved the common executecallback setting to a procedure * Fixed slight issue
* Made nimsuggest importable as a library and add Nim-path override option (#9784)PMunch2018-11-231-1/+100
| | | | | | * Made nimsuggest importable as a library and add Nim-path override option * Remove leftover debug output
* nimsuggest: fixes #96Timothee Cour2018-11-201-2/+3
|
* compiler refactoring; use typesafe path handing; docgen: render symbols ↵Andreas Rumpf2018-09-071-18/+21
| | | | between modules
* make config.nims behave like nim.cfg in terms of where these scripts are ↵Timothee Cour2018-08-301-48/+25
| | | | | | | | | 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
* make more tests greenAndreas Rumpf2018-08-131-3/+3
|
* implements a --nep1:on switch to make the compiler enforce the naming ↵Andreas Rumpf2018-06-131-1/+0
| | | | conventions outlined in NEP-1
* incremental compilation: implemented basic replay logicAndreas Rumpf2018-06-021-16/+16
|
* compiler API: final cleanups; improve security by diabling 'gorge' and friendsAndreas Rumpf2018-05-291-3/+6
|
* vm now free of global variablesAndreas Rumpf2018-05-281-1/+1
|
* refactoring: remove idents.legacy global variable and pass the IdentCache ↵Andreas Rumpf2018-05-271-1/+1
| | | | around explicitly
* remove more global variables in the Nim compilerAndreas Rumpf2018-05-271-33/+32
|
* preparations of making compiler/msgs.nim free of global variablesAndreas Rumpf2018-05-171-6/+6
|
* make nimsuggest compile againAndreas Rumpf2018-05-141-10/+10
|
* make nimsuggest compile againAndreas Rumpf2018-05-131-69/+77
|
* .experimental can now be used to enable specific featuresAndreas Rumpf2018-04-241-4/+4
|
* include help short option in processCmdLine (#7515)skilchen2018-04-061-1/+1
|
* nimsuggest: do not execute the .nims file when requested to auto-complete itAraq2018-03-221-3/+3
|
* Fixed printing nimsuggest commandline help message (#6863)pqflx32017-12-021-0/+3
|
* fixes #6707; nimsuggest tests still not greenAndreas Rumpf2017-11-081-1/+0
|
* Fix spelling error (#6349)Federico Ceratto2017-09-151-1/+1
|
* attempt to make nimsuggest work with choosenimAndreas Rumpf2017-05-111-0/+2
|
* minor update for nimsuggestAndreas Rumpf2017-04-061-0/+1
|
* Make nimsuggest quit when pressing Ctrl-D from the command line. (#5662)Arne Döring2017-04-061-0/+1
|
* nimsuggest: die with a project dir/file that doesn't existAraq2017-03-211-0/+4
|
* nimsuggest: when invoked with a directory, detect the main nim file on its ownAndreas Rumpf2017-03-141-1/+7
|
* nimsuggest: logging enable when compiled with -d:loggingAndreas Rumpf2017-03-131-10/+10
|
* nimsuggest: maxresults limit; fixed local symbol usages priorizationsAndreas Rumpf2017-03-101-0/+3
|
* nimsuggest: make tests green againAraq2017-03-101-1/+1
|
* nimsuggest: more things workAraq2017-03-091-14/+19
|
* nimsuggest: more precise cursor trackingAraq2017-03-091-0/+603