Nim/lib
Andrey Makarov 8c7ee96457
rst: add missing line/column info for some warnings (#18383)
* rst: add missing line/column info for some warnings

* add workaround

* use TLineInfo/FileIndex for storing file names

* fix blank lines in include file (rm harmful strip)

* don't use ref TLineInfo

* return `hasToc` as output parameter for uniformity

* Update compiler/docgen.nim

Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>

* Update compiler/docgen.nim

Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>

* Update lib/packages/docutils/rst.nim

Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>

* address review - stylistic things

* Update compiler/docgen.nim

Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>

* unify RST warnings/errors names

* doAssert + minor name change

* fix a bug caught by doAssert

* apply strbasics.strip to final HTML/Latex

* rm redundant filename

* fix test after rebase

* delete `order` from rnFootnoteRef,

also display errors/warnings properly when footnote references are from
different files

* Update compiler/lineinfos.nim

Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>

* Update lib/packages/docutils/rstast.nim

Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>

* Update lib/packages/docutils/rstast.nim

Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>

* Update lib/packages/docutils/rstast.nim

Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>

* revert because of error:

Error: cannot prove that it's safe to initialize 'info' with the runtime value for the discriminator 'kind'

* Update lib/packages/docutils/rstgen.nim

Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>

* apply suggestion

* Update lib/packages/docutils/rst.nim

Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>

* add Table for string->file name mapping

* do not import compiler/lineinfos

* fix ambiguous calls

Co-authored-by: Timothee Cour <timothee.cour2@gmail.com>
Co-authored-by: narimiran <narimiran@disroot.org>
2021-07-20 08:32:22 +02:00
..
arch/x86 Coroutine rework. 2017-02-20 17:24:19 +02:00
core sync with the same template from locks module (#18414) 2021-07-10 08:41:07 +02:00
deprecated/pure Rename = to =copy in stdlib (#17781) 2021-04-19 13:16:10 +02:00
experimental gitutils: add diffStrings, diffFiles, and use it in testament to compare expected vs gotten (#17892) 2021-04-30 11:00:33 +02:00
genode Genode platform fixes (#17521) 2021-04-09 16:29:10 +02:00
genode_cpp [std/locks]close #7998(complete condition variables) (#17711) 2021-04-19 10:51:13 +02:00
impure fix comment (#18473) 2021-07-11 02:19:20 -04:00
js Cleanup interval and timeout procs (#18431) 2021-07-05 19:55:46 +01:00
nintendoswitch Rewrite the memory management code for Nintendo Switch (#8169) 2018-07-05 16:33:15 +02:00
packages/docutils rst: add missing line/column info for some warnings (#18383) 2021-07-20 08:32:22 +02:00
posix deprecate cuchar, don't redefine it (#18505) 2021-07-16 15:50:02 +02:00
pure [std/os]document checkDir and use runnableExamples (#18517) 2021-07-19 20:14:04 -07:00
std fix nativeToUnixPath (#18501) 2021-07-17 07:54:47 +02:00
system make dragonbox opt-in via -d:nimFpRoundtrips (#18504) 2021-07-16 18:29:49 +02:00
windows deprecate cuchar, don't redefine it (#18505) 2021-07-16 15:50:02 +02:00
wrappers deprecate cuchar, don't redefine it (#18505) 2021-07-16 15:50:02 +02:00
cycle.h
deps.txt added lib/deps.txt 2021-06-03 14:00:53 +02:00
nimbase.h add NIM_STATIC_ASSERT(CHAR_BIT == 8, "") to fail-fast where assumption is violated (#18512) 2021-07-18 11:05:35 +02:00
nimhcr.nim fixes #17647 (#17667) 2021-04-07 23:26:53 +02:00
nimhcr.nim.cfg Initial version of the hot-code reloading support for native targets (#10729) 2019-02-26 15:48:55 +01:00
nimrtl.nim use single backtick (#17100) 2021-02-18 22:47:21 -08:00
nimrtl.nim.cfg Initial version of the hot-code reloading support for native targets (#10729) 2019-02-26 15:48:55 +01:00
stdlib.nimble attempt to make the build green again 2017-01-07 02:55:15 +01:00
system.nim fixed system.delete (#18507) 2021-07-18 15:16:26 +02:00
system_overview.rst RST backtick refactor (all *.rst except manual.rst and rst_examples.rst) (#17258) 2021-03-18 20:37:55 -07:00