Nim/lib
Timothee Cour b8f761b7e2
even lighter version of #17938: fix most issues with UnusedImport, XDeclaredButNotUsed, etc; fix #17511, #17510, #14246 (without realModule) (#18362)
* {.used: symbol}

* add tests

* fix tests with --import

* --import works without giving spurious unused warnings

* new warning warnDuplicateModuleImport for `import foo; import foo`

* fix test, add resolveModuleAlias, use proper line info for module aliases

* fix spurious warnings

* fix deprecation msg for deprecated modules even with `import foo as bar`

* disable a test for i386 pending sorting XDeclaredButNotUsed errors

* UnusedImport now works with re-exported symbols

* fix typo [skip ci]

* ic support

* add genPNode to allow writing PNode-based compiler code similarly to `genAst`

* fix DuplicateModuleImport warning

* adjust test

* fixup

* fixup

* fixup

* fix after rebase

* fix for IC

* keep the proc inline, move the const out

* [skip ci] fix changelog

* experiment: remove calls to resolveModuleAlias

* followup

* fixup

* fix tests/modules/tselfimport.nim

* workaround tests/deprecated/tmodule1.nim

* fix properly

* simplify
2021-06-26 15:21:46 +02:00
..
arch/x86 Coroutine rework. 2017-02-20 17:24:19 +02:00
core strformat.fmt now supports non-literal const strings (#18274) 2021-06-18 08:57:51 -07: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 PCRE, nimgrep: add limit for buffer size (#18280) 2021-06-17 08:19:52 +02:00
js readAsText supports both Blob and File (fixes #18187) (#18189) 2021-06-21 21:19:11 -07:00
nintendoswitch Rewrite the memory management code for Nintendo Switch (#8169) 2018-07-05 16:33:15 +02:00
packages/docutils rst: allow comment to continue on second line (#18338) 2021-06-24 10:28:28 +02:00
posix docs: make inline markup more compatible with Markdown (#18053) 2021-05-21 06:54:20 +02:00
pure Add sink annotation to option some() (#18358) 2021-06-25 22:06:24 +02:00
std docs now show nimExperimentalX APIs (#18345) 2021-06-25 16:47:10 +02:00
system even lighter version of #17938: fix most issues with UnusedImport, XDeclaredButNotUsed, etc; fix #17511, #17510, #14246 (without realModule) (#18362) 2021-06-26 15:21:46 +02:00
windows [std/times]getTime now uses high resolution API on windows (#17901) 2021-06-23 12:33:19 -07:00
wrappers docs now show nimExperimentalX APIs (#18345) 2021-06-25 16:47:10 +02:00
cycle.h
deps.txt added lib/deps.txt 2021-06-03 14:00:53 +02:00
nimbase.h fix #16752: threadvar now works with importcpp types; osx now uses native TLS (--tlsEmulation:off), which can be orders of magnitude faster (#16750) 2021-01-27 22:35:43 +01: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 Raise IndexDefect when deleting element at out of bounds index (#17821) 2021-06-20 08:56:33 -07: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