Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Deprecate TaintedString (#15423) | Juan Carlos | 2021-01-15 | 1 | -1/+1 |
| | | | | Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com> | ||||
* | IC: next steps (#16550) | Andreas Rumpf | 2021-01-07 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | * cleanups * ast.nim: cleanups * IC: no more sym.tab field, stored externally in the module graph * nimble compiles again * rodfiles: store bitwidth of integers and the endianness in the cookie because we serialize 'int' directly * rodfiles: added compilerproc and export sections * rodfiles: added all the missing sections * rodfiles: track the missing information * IC: architecture for lazy loading of proc bodies * make tests green again * completed the lazy loading of proc bodies * symbol lookup integration, part 1 * symbol lookup integration, part 2 * symbol lookup integration, part 3 * make tcompilerapi work again * rodfiles: fixed config change handling | ||||
* | cmdline: improve command processing (#16056) | Timothee Cour | 2020-11-26 | 1 | -2/+2 |
| | |||||
* | rename loadConfigsAndRunMainCommand => loadConfigsAndProcessCmdLine, reflect ↵ | Timothee Cour | 2020-11-20 | 1 | -2/+2 |
| | | | | reality (#16057) | ||||
* | refactoring: removed cmdlinehelper.mainCommand callback | Andreas Rumpf | 2020-10-11 | 1 | -6/+8 |
| | |||||
* | * honor --errorMax even for tools (eg drnim, nim doc) (#14546) | Timothee Cour | 2020-06-02 | 1 | -4/+2 |
| | | | * fix a bug that prevented nim doc compiler/nim on windows | ||||
* | fix nimsuggest warning (#13699) | Jasper Jenkins | 2020-03-20 | 1 | -3/+0 |
| | |||||
* | Revert "nimsuggest: don't add CRLF to replies (#13545)" (#13597) | alaviss | 2020-03-06 | 1 | -4/+4 |
| | | | | | | | | This reverts commit a974684b149faa19645f1e18b7b11aa67f169997. The CRLF was to separate between each response, and removing them causes the responses to not be splitted correctly. I didn't notice that it was in a loop when I made the #13545. | ||||
* | nimsuggest: don't add CRLF to replies (#13545) | alaviss | 2020-03-04 | 1 | -4/+4 |
| | | | This is already sent by replTcp after the message is sent. | ||||
* | remove unused imports | narimiran | 2019-11-06 | 1 | -4/+3 |
| | |||||
* | nimsuggest: add a command that returns the project file (#12411) | alaviss | 2019-10-11 | 1 | -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) | alaviss | 2019-10-11 | 1 | -1/+10 |
| | |||||
* | nimsuggest: fix tcp socket leak for epc backend (#12384) [backport] | alaviss | 2019-10-08 | 1 | -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] | alaviss | 2019-10-08 | 1 | -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 Ceratto | 2019-09-27 | 1 | -1/+1 |
| | |||||
* | minor style changes | Araq | 2019-07-11 | 1 | -9/+9 |
| | |||||
* | [bugfix] fix #11482, fix nimsuggest range error (#11519) | Miran | 2019-06-17 | 1 | -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 guide | Araq | 2019-06-13 | 1 | -2/+2 |
| | |||||
* | nimsuggest: make use project file name if none given for 'sug' command; ↵ | Andreas Rumpf | 2019-03-04 | 1 | -4/+8 |
| | | | | allows for more convenient debugging | ||||
* | nimsuggest: only log when logging is enabled (#10646) | alaviss | 2019-02-13 | 1 | -2/+2 |
| | | | fixes #6199 | ||||
* | nimsuggest: add an option to bind to a free port (#10328) | alaviss | 2019-01-16 | 1 | -2/+15 |
| | |||||
* | fixes nim-lang/nimsuggest#76 (#10093) | alaviss | 2018-12-25 | 1 | -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) | PMunch | 2018-12-01 | 1 | -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) | PMunch | 2018-11-23 | 1 | -1/+100 |
| | | | | | | * Made nimsuggest importable as a library and add Nim-path override option * Remove leftover debug output | ||||
* | nimsuggest: fixes #96 | Timothee Cour | 2018-11-20 | 1 | -2/+3 |
| | |||||
* | compiler refactoring; use typesafe path handing; docgen: render symbols ↵ | Andreas Rumpf | 2018-09-07 | 1 | -18/+21 |
| | | | | between modules | ||||
* | make config.nims behave like nim.cfg in terms of where these scripts are ↵ | Timothee Cour | 2018-08-30 | 1 | -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 green | Andreas Rumpf | 2018-08-13 | 1 | -3/+3 |
| | |||||
* | implements a --nep1:on switch to make the compiler enforce the naming ↵ | Andreas Rumpf | 2018-06-13 | 1 | -1/+0 |
| | | | | conventions outlined in NEP-1 | ||||
* | incremental compilation: implemented basic replay logic | Andreas Rumpf | 2018-06-02 | 1 | -16/+16 |
| | |||||
* | compiler API: final cleanups; improve security by diabling 'gorge' and friends | Andreas Rumpf | 2018-05-29 | 1 | -3/+6 |
| | |||||
* | vm now free of global variables | Andreas Rumpf | 2018-05-28 | 1 | -1/+1 |
| | |||||
* | refactoring: remove idents.legacy global variable and pass the IdentCache ↵ | Andreas Rumpf | 2018-05-27 | 1 | -1/+1 |
| | | | | around explicitly | ||||
* | remove more global variables in the Nim compiler | Andreas Rumpf | 2018-05-27 | 1 | -33/+32 |
| | |||||
* | preparations of making compiler/msgs.nim free of global variables | Andreas Rumpf | 2018-05-17 | 1 | -6/+6 |
| | |||||
* | make nimsuggest compile again | Andreas Rumpf | 2018-05-14 | 1 | -10/+10 |
| | |||||
* | make nimsuggest compile again | Andreas Rumpf | 2018-05-13 | 1 | -69/+77 |
| | |||||
* | .experimental can now be used to enable specific features | Andreas Rumpf | 2018-04-24 | 1 | -4/+4 |
| | |||||
* | include help short option in processCmdLine (#7515) | skilchen | 2018-04-06 | 1 | -1/+1 |
| | |||||
* | nimsuggest: do not execute the .nims file when requested to auto-complete it | Araq | 2018-03-22 | 1 | -3/+3 |
| | |||||
* | Fixed printing nimsuggest commandline help message (#6863) | pqflx3 | 2017-12-02 | 1 | -0/+3 |
| | |||||
* | fixes #6707; nimsuggest tests still not green | Andreas Rumpf | 2017-11-08 | 1 | -1/+0 |
| | |||||
* | Fix spelling error (#6349) | Federico Ceratto | 2017-09-15 | 1 | -1/+1 |
| | |||||
* | attempt to make nimsuggest work with choosenim | Andreas Rumpf | 2017-05-11 | 1 | -0/+2 |
| | |||||
* | minor update for nimsuggest | Andreas Rumpf | 2017-04-06 | 1 | -0/+1 |
| | |||||
* | Make nimsuggest quit when pressing Ctrl-D from the command line. (#5662) | Arne Döring | 2017-04-06 | 1 | -0/+1 |
| | |||||
* | nimsuggest: die with a project dir/file that doesn't exist | Araq | 2017-03-21 | 1 | -0/+4 |
| | |||||
* | nimsuggest: when invoked with a directory, detect the main nim file on its own | Andreas Rumpf | 2017-03-14 | 1 | -1/+7 |
| | |||||
* | nimsuggest: logging enable when compiled with -d:logging | Andreas Rumpf | 2017-03-13 | 1 | -10/+10 |
| | |||||
* | nimsuggest: maxresults limit; fixed local symbol usages priorizations | Andreas Rumpf | 2017-03-10 | 1 | -0/+3 |
| |