Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | move assertions and iterators out of system.nim (#10597) | Miran | 2019-03-07 | 2 | -3/+2 |
| | | | | | * move assertions and iterators out of system.nim * limit nimsuggest tests to the first 3 suggestions | ||||
* | 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 | ||||
* | StringStream and parseJson, parseCfg, parseSql et al for the vm (#10746) | Arne Döring | 2019-02-28 | 1 | -30/+25 |
| | |||||
* | better docs: osproc (#10708) | Miran | 2019-02-19 | 2 | -3/+3 |
| | | | | | * better docs: osproc * fix a typo in the docs, deprecate "demon" | ||||
* | document proper imports, fixes #8164 (#10698) | Miran | 2019-02-19 | 1 | -0/+2 |
| | |||||
* | compiler/types: correctly generates signature for non-proc types (#10658) | alaviss | 2019-02-13 | 1 | -0/+12 |
| | | | | This makes signatures generated for nimsuggest correctly distinguish template/macro/converter from proc. | ||||
* | nimsuggest: only log when logging is enabled (#10646) | alaviss | 2019-02-13 | 1 | -2/+2 |
| | | | fixes #6199 | ||||
* | compiler/[msgs, suggest]: improve highlighter accuracy (#10496) | alaviss | 2019-02-07 | 2 | -0/+21 |
| | | | | | | | | | | Previously the compiler would generate suggestions based on the symbol identifier length, but that might not reflect the actual representation of it within the actual source code. This commit implements a simple source scanner for the suggest module to address the problem outlined above. Fixes nim-lang/nimsuggest#24 | ||||
* | suggest: quote operators and keywords on suggestion (#10460) | alaviss | 2019-01-28 | 1 | -0/+10 |
| | |||||
* | semcall: correct lineinfo for accquoted symbols (#10461) | alaviss | 2019-01-27 | 1 | -0/+2 |
| | |||||
* | compiler/sem: correct macros lineinfo (#10438) | alaviss | 2019-01-24 | 1 | -0/+13 |
| | | | | | | | | | The compiler believes these are where a macro call starts (marked with `^`): m "string" ^ ^ This commit addresses that. | ||||
* | compiler/sem*: better lineinfo for templates (#10428) | alaviss | 2019-01-23 | 3 | -2/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * compiler/sem*: better lineinfo for templates Lineinfo for templates is inconsistant across the compiler, for example: doAssert true ^ ^ a[int](10) ^^ ^ The `^` marks where the compiler thinks the template starts. For qualified call, we got the same situation with `proc`s before #10427: system.once ^ Generics lineinfo within template declaration is also incorrect, for example, this is where the compiler believes the `T` in `[T]` is: template a[T](b: T) ^ This PR addresses all of these problems. * nimsuggest: add tests for template highlighting | ||||
* | nimsuggest/tester: disable highlight tests for epc (#10426) | alaviss | 2019-01-23 | 3 | -2/+4 |
| | | | | The EPC backend of nimsuggest currently doesn't support nimsuggest highlighter, see nim-lang/nim-mode#140 | ||||
* | compiler/sem*: improve lineinfo for qualified and generic procs (#10427) | alaviss | 2019-01-23 | 2 | -0/+27 |
| | | | | | | | | | | | | | | | | Previously the compiler will believe these are where `newSeq` symbol starts: newSeq[int]() ^ system.newSeq[int]() ^ This commit moves them back to: newSeq[int]() ^ system.newSeq[int]() ^ | ||||
* | Correct lineinfo for accent quoted symbols in proc definition (#10399) | alaviss | 2019-01-21 | 1 | -0/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * compiler/parser: preserve lineinfo for accent quoted symbols Previously the lineinfo for symbol $$$ in this example is: proc `$$$` ^ After this commit: proc `$$$` ^ * compiler/semstmts: correct lineinfo for accent quoted idents Previously nimsuggest would highlight this as: proc `$$$` ^~~ After this commit: proc `$$$` ^~~ * nimsuggest/tests: add a test for accent quoted proc Disabled by default | ||||
* | 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 | 2 | -2/+30 |
| | | | | | | | | * 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 |
| | |||||
* | refs #9637 ; cleanup installation of nimsuggest (#9703) | Timothee Cour | 2018-11-15 | 1 | -1/+0 |
| | |||||
* | remove ---path:"../compiler" from nimsuggest/nimsuggest.nim.cfg | Timothee Cour | 2018-11-07 | 1 | -1/+0 |
| | |||||
* | 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 | ||||
* | add nim c -r nimsuggest/tester to travis (#8805) | Timothee Cour | 2018-08-29 | 9 | -2/+26 |
| | |||||
* | make more tests green | Andreas Rumpf | 2018-08-13 | 1 | -3/+3 |
| | |||||
* | cleanup nimsuggest tests a bit | Andreas Rumpf | 2018-08-10 | 3 | -11/+11 |
| | |||||
* | 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 | 2 | -4/+8 |
| | |||||
* | 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 | 6 | -8/+7 |
| | |||||
* | Remove more usages of unary lt (fixes #6634) (#6641) | Fabian Keller | 2017-10-31 | 1 | -1/+1 |
| | | | | | | * fixes #6634 * remove more usages of unary < | ||||
* | 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 | 2 | -2/+3 |
| | |||||
* | 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: suggest types in a type section | Andreas Rumpf | 2017-03-14 | 1 | -0/+15 |
| | |||||
* | nimsuggest: make test green again | Andreas Rumpf | 2017-03-14 | 1 | -2/+2 |
| |