Commit graph

114 commits

Author SHA1 Message Date
Araq
aef441101f fixes docgen regression caused by refactorings; fixes #8097 2018-06-26 01:34:59 +02:00
Andreas Rumpf
73799903ee removed global variable from rstgen.nim 2018-05-27 23:38:49 +02:00
Andreas Rumpf
545b1582cd refactoring: make projectMainIdx typesafe 2018-05-27 22:30:36 +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
b2c7910fb6 compiler/ropes.nim has no global error handler anymore 2018-05-17 15:45:41 +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
328e7a1005 options.nim: no global variables anymore 2018-05-13 17:52:21 +02:00
Andreas Rumpf
efc2ce1b7e docgen compiles again 2018-05-11 16:06:36 +02:00
Andreas Rumpf
a8a544a8f7 avoid more global variables 2018-05-11 15:01:28 +02:00
Andreas Rumpf
b7116a28ee compiler refactoring, pass config around explicitly 2018-05-05 18:47:29 +02:00
Andreas Rumpf
33b69f0ed0 refactoring: make FileIndex a distinct type; make line information an uint16; fixes #7654 2018-04-21 08:13:37 +02:00
Andreas Rumpf
ed9c28484a docutils: make ':test:' work without argument 2018-04-15 22:16:07 +02:00
Araq
212fdc5946 added the 'x.p[:T]' notation for explicit generic instantiations in combination with the ddot calling syntax 2018-04-06 22:05:57 +02:00
Araq
7660e59afe doc gen :test: feature: created a nested directory in order to keep Nim happy in parallel builds 2017-11-28 23:13:56 +01:00
Araq
cb8dd0252f fixes #6831 2017-11-28 23:13:56 +01:00
Araq
942694d914 fixes the new ':test:' feature 2017-11-28 11:14:43 +01:00
Araq
8c634cdb2b make the tests green again 2017-11-28 02:51:10 +01:00
Araq
5d2e86ea1a the documentation generator now supports ':test:' for the testing of test snippets 2017-11-28 01:15:33 +01:00
Araq
8d1a5dc8e7 the documentation generator now supports system.runnableExamples 2017-11-26 02:51:11 +01:00
Dmitry Atamanov
870567d083 WIP: Add a advanced compiler command 'ctags' (#6654) 2017-11-15 22:07:22 +01:00
Andreas Rumpf
70ea45cdba deprecated unary '<' 2017-10-29 08:37:13 +01:00
BigEpsilon
e2af486434 Add sections (type, var, let, const, using) support for reorder pragma (#6326) 2017-10-28 11:33:35 +02:00
Andreas Rumpf
1a61c4d46d first implementation of the 'func' keyword 2017-09-23 23:22:53 +02:00
Ruslan Mustakov
606aab9cdf Do not generate Source/Edit without git in config 2017-07-31 20:54:57 +07:00
Andreas Rumpf
76a28d8b83 nimsuggest: bugfix: also output documentation comments 2017-02-03 17:36:39 +01:00
Samadi van Koten
95682cdfb7 Remove docgen.nim's dependency on things being in path
compiler/docgen.nim relied heavily on $lib/packages/docutils being in
path at compile-time. While this works fine when building Nim itself,
things start breaking when using compiler as a nimble package.
2016-11-28 23:02:30 +00:00
Araq
773d17cd14 big refactoring: step 1 2016-10-31 15:34:44 +01:00
Andreas Rumpf
13b68a12d3 fixes #4913 2016-10-20 21:40:04 +02:00
Araq
37c3c0033d generated theindex.html is valid html 2016-09-09 16:16:58 +02:00
Andreas Rumpf
083b31b473 docgen: group by type feature 2016-09-08 21:57:27 +02:00
Andreas Rumpf
07fcce6e63 docgen: different attachedType generation 2016-09-08 21:57:27 +02:00
Andreas Rumpf
dc8ec42969 documentation now has an 'edit' button 2016-09-08 15:06:27 +02:00
Andreas Rumpf
6bbb25f2d7 json doc info also includes line,col information 2016-07-23 23:23:47 +02:00
Andreas Rumpf
093b1bae64 docgen improvements 2016-07-22 22:31:09 +02:00
Andreas Rumpf
2d8572e948 fixes #4428 2016-07-19 15:24:42 +02:00
Andreas Rumpf
9eb909baf9 fixes #4485; package handling works better; docgen works with --project on Nimble package level 2016-07-19 14:13:23 +02:00
Andreas Rumpf
491e8d04ec docgen improvement: hidden 'attachedType' span is generated for upcoming docgen improvements 2016-07-13 21:27:39 +02:00
Andreas Rumpf
813828f690 the Nim compiler supports the jsondoc2 command 2016-07-13 01:06:33 +02:00
Andreas Rumpf
abf1951ff0 docgen: hide pragmas 2016-07-08 15:08:55 +02:00
Andreas Rumpf
fa1749d8d3 generated source code links also work when generated on Unix 2016-06-09 21:18:01 +02:00
Andreas Rumpf
2e71bd50b2 implements multi-line-comments; pounds are stripped from the doc comments 2016-01-16 21:40:54 +01:00
Andreas Rumpf
c1627354d1 first implementation of the new lambda-lifting pass; barely anything works 2015-12-26 00:42:30 +01:00
Araq
5206c310e6 fixes #1799 2015-10-25 01:26:08 +02:00
Araq
8be9e46403 udpated the compiler and tester to use getOrDefault 2015-10-13 14:10:33 +02:00
pdw
9764ba933b Dropped 'T' from types 2015-06-04 13:15:07 +02:00
def
39049e151f Get rid of deprecation warnings 2015-04-07 15:47:18 +02:00
Jacek Sieka
c40249cd43 compiler_ropes: ropeToStr -> $ 2015-04-01 22:32:15 +08:00
Jacek Sieka
b4e4ea8d1b compiler_ropes: don't expose newRope 2015-04-01 22:30:39 +08:00
Flaviu Tamas
ca38246d21 Fix segfault in jsondoc
No idea how this got in, I'm not sure if it's ever worked.
2015-03-18 20:59:05 -04:00