Nim/lib
Ivan Bobev cc65ae6011
Change UnpackError with UnpackDefect (#14457)
* Change `UnpackError` with `UnpackDefect`

The deprecation warning for `UnpackError` exception raised by some
`inline` procedures in the Nim standard library propagates to the user
code. If the user code has a requirement for building without warnings
this is a problem for the successful execution of the tests. In order
to resolve this, all occurrences of `UnpackError` in the Nim code base
are changed to `UnpackDefect`. Only the type alias is retained to not
break other people's user code since `UnpackError` is exported type.

* Remove the catching of `UnpackDefect`

Defect exceptions should not be cached, because they indicate problem in
the API usage. The code in `nimblesocket.nim` is rewritten to first
check whether there is a value set into the `knownDomain` variable from
the `Option` type before usage.
2020-05-27 08:34:13 +02:00
..
arch/x86 Coroutine rework. 2017-02-20 17:24:19 +02:00
core simple typo in locks.nim (#14297) 2020-05-11 02:59:31 -04:00
deprecated/pure Error -> Defect for defects (#13908) 2020-04-28 19:56:01 +02:00
experimental fix several typos in documentation and comments (#12553) 2019-10-30 09:08:45 +01:00
genode minor update for the genode target 2019-07-14 16:08:15 +02:00
genode_cpp Native access to Genode environment 2018-06-07 07:21:20 +02:00
impure add bindParams to db_sqlite (#14408) 2020-05-26 07:44:47 +02:00
js Add clipPath to dom.nim. (#14435) 2020-05-24 07:32:24 +02:00
nintendoswitch Rewrite the memory management code for Nintendo Switch (#8169) 2018-07-05 16:33:15 +02:00
packages/docutils docgen: mangling using _. instead of @@ to avoid issue (#14454) 2020-05-26 10:08:35 +02:00
posix Add support for mktemps (#14347) 2020-05-25 12:18:35 +02:00
pure Change UnpackError with UnpackDefect (#14457) 2020-05-27 08:34:13 +02:00
std nim doc --backend:js, nim doc --doccmd:-d:foo, nim r --backend:js, --doccmd:skip + other improvements (#14278) 2020-05-11 12:01:18 +02:00
system fix repr(char) example assert (#14437) 2020-05-23 21:26:49 -07:00
windows fix a critical bug in windows.osproc leading to resource leaks and blocking IO [backport] (#14296) 2020-05-11 11:14:21 +02:00
wrappers fix #9771 (#14357) 2020-05-15 21:00:06 +02:00
cycle.h
nimbase.h CT sizeof(+friends) for {.importc, completeStruct.} types, enable ABI static checks (#13926) 2020-04-23 11:24:09 +02:00
nimhcr.nim hotfix: make 'nim doc nimhcr' work on all platforms 2020-03-23 13:05:29 +01: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 added cstrutils (#12858) [backport] 2019-12-09 06:58:06 +01:00
nimrtl.nim.cfg Initial version of the hot-code reloading support for native targets (#10729) 2019-02-26 15:48:55 +01:00
prelude.nim
stdlib.nimble attempt to make the build green again 2017-01-07 02:55:15 +01:00
system.nim fix #10731 ; runnableExamples "-b:cpp --run:off": code works (#14384) 2020-05-20 09:45:34 +02:00
system_overview.rst [documentation] fix wrong link [ci skip] 2019-06-21 12:04:43 +02:00