Nim/lib/pure
Ivan Bobev d03f24147a
Add a macro returning enum items count (#15824)
Add a macro `enumLen` which is used to determine the number of items in
an enumeration type to the `typetraits.nim` module. Also, add unit tests
for it in the `ttypetraits.nim` module.

Related to nimlang/Nim#15824
2020-11-09 10:02:01 +01:00
..
collections Update tables documentation (#15807) 2020-11-02 10:33:16 +01:00
concurrency Add test coverage for atomics (#15193) 2020-08-18 18:02:10 +02:00
includes fix #14082, don't crash on incorrectly formatted input (#14977) [backport] 2020-07-17 10:59:53 +02:00
ioselects deinitLock (#15383) 2020-09-22 13:07:31 +02:00
unidecode fix unidecode.unidecode example input string 2019-04-20 21:10:52 -05:00
algorithm.nim fixes #10456,#12928 issues when chaining templates to sortedByIt (#15734) 2020-10-27 12:38:46 +00:00
async.nim Unify async macro and futures for js and native targets 2018-01-05 16:40:51 +02:00
asyncdispatch.nim ORC/ARC async progress (#15370) 2020-09-20 00:27:32 +02:00
asyncdispatch.nim.cfg
asyncfile.nim fix #15148 (#15149) 2020-08-08 07:24:54 +02:00
asyncftpclient.nim Provide a configurable progressInterval. (#15477) 2020-10-04 11:32:07 +01:00
asyncfutures.nim better nativestacktrace support; refs #15284; backport [1.2] (#15384) 2020-09-22 13:03:24 +02:00
asynchttpserver.nim more clear (#15812) 2020-11-02 13:01:19 +01:00
asyncmacro.nim fixes #15804 (#15820) 2020-11-02 14:17:09 +01:00
asyncnet.nim asyncnet: don't try to close the socket again [backport] (#15174) 2020-08-12 08:04:54 +02:00
asyncstreams.nim async: minor refactorings (#15354) 2020-09-18 11:22:34 +02:00
base64.nim base64: fixes the error message for an invalid base64 input character [backport:1.2] 2020-09-20 00:05:41 +02:00
bitops.nim init checks and 'out' parameters (#14521) 2020-06-23 10:53:57 +02:00
browsers.nim enforce browsers.nim only handles URLs [backport] (#15045) 2020-07-23 11:03:39 +02:00
cgi.nim fixes #15369 (#15371) 2020-09-20 01:07:13 +02:00
colors.nim fixed #14839 (#14840) 2020-06-28 13:38:57 +02:00
complex.nim [backport] fix #12528, fix #12525: incorrect generic type resolution for default values (#12538) 2019-10-28 16:56:38 +01:00
cookies.nim make more tests green 2018-04-30 02:52:58 +02:00
coro.nim fix coro proc crash for stack problem when run long enough than a GC cycle (#7612) (#11410) 2020-09-18 17:17:09 +02:00
coro.nimcfg fix test failure in coro.nim 2015-10-01 12:05:45 -07:00
cstrutils.nim Clarify JS cstring len (#14184) 2020-05-05 10:34:37 +02:00
db_common.nim [backport] run nimpretty on the remaining files 2019-09-30 13:58:17 +02:00
distros.nim Installation Instruction (#15485) 2020-10-04 10:58:19 +02:00
dynlib.nim docs: dlimport -> dynlib (#15175) 2020-08-11 14:49:57 +02:00
encodings.nim encodings: use only one iconv definition [backport:1.2] (#14741) 2020-06-21 19:28:03 +02:00
endians.nim [backport] run nimpretty on os-related stuff 2019-09-30 13:58:15 +02:00
fenv.nim Deprecate DCE:on (#13839) 2020-04-02 02:58:43 +02:00
future.nim renamed future.nim to sugar.nim 2018-04-06 11:59:49 +02:00
hashes.nim Fix #14394 (#14395) 2020-05-18 17:43:06 +01:00
htmlgen.nim [docs minor] unify generates and Generates (#15434) 2020-10-01 15:17:16 +02:00
htmlparser.nim [backport] run nimpretty on parsers 2019-09-30 13:58:08 +02:00
httpclient.nim inline tiny proc (#15498) 2020-10-06 16:52:12 +02:00
httpcore.nim fix #15851 (#15852) 2020-11-06 11:40:14 +01:00
json.nim fix #15835 (#15838) 2020-11-04 01:24:40 -05:00
lenientops.nim fix #13218: avoid some irrelevant warnings for nim doc,rst2html,--app:lib, + other fixes (#13550) 2020-03-13 20:42:41 +01:00
lexbase.nim StringStream & more stdlib modules support for JS/NimScript (#14095) 2020-04-28 19:44:52 +02:00
logging.nim fix index error (#14974) 2020-07-14 13:15:22 +02:00
marshal.nim allow old styled RTTI for arc/orc (#15331) 2020-09-16 14:57:01 +02:00
math.nim add approxequal (#15766) 2020-10-30 09:56:28 +01:00
md5.nim [backport] run nimpretty on hashes 2019-09-30 13:58:10 +02:00
memfiles.nim fixes #14760 (#14769) 2020-06-23 15:17:17 +02:00
mersenne.nim Add Documentation (#13811) 2020-03-31 15:47:57 +02:00
mimetypes.nim better strict funcs, WIP (#15199) 2020-08-18 12:45:22 +02:00
nativesockets.nim add getprotobyname (#15273) 2020-09-09 12:47:22 +02:00
net.nim fix #15698 (#15699) 2020-10-25 08:29:57 +01:00
nimprof.nim fix deprecations and other warnings (#13748) 2020-03-25 19:15:34 +01:00
nimprof.nim.cfg
nimtracker.nim make memory tracker work without onThreadCreation 2017-03-14 15:45:35 +01:00
oids.nim [backport] run nimpretty on hashes 2019-09-30 13:58:10 +02:00
options.nim Add some enhancements to jsonutils.nim (#15133) 2020-09-09 14:18:59 +02:00
os.nim os: add overload copyFile*(source, dest: string, isDir = false) (#15537) 2020-10-11 20:43:01 +02:00
osproc.nim typo 2020-10-06 06:33:43 +02:00
oswalkdir.nim fix #11458 oswalkdir (#13689) 2020-03-19 10:23:05 +01:00
parsecfg.nim Update parsecfg.nim (#15513) 2020-10-08 17:17:00 +02:00
parsecsv.nim Raise KeyError if passed an invalid row entry (#15227) 2020-08-26 20:00:54 +02:00
parsejson.nim fixed to jsonArrayEnd comment. (#13624) 2020-03-11 08:26:10 +01:00
parseopt.nim fix #13086 (#14987) 2020-07-15 03:46:17 -04:00
parsesql.nim StringStream & more stdlib modules support for JS/NimScript (#14095) 2020-04-28 19:44:52 +02:00
parseutils.nim ORC and stdlib optimizations (#15362) 2020-09-19 00:27:43 +02:00
parsexml.nim Fix crash in parsexml (#15582) (#15583) 2020-10-15 12:45:55 +02:00
pathnorm.nim init checks and 'out' parameters (#14521) 2020-06-23 10:53:57 +02:00
pegs.nim [backport] Docs: Fix broken code-block (#14749) 2020-06-22 08:12:50 +02:00
punycode.nim Add Documentation (#13811) 2020-03-31 15:47:57 +02:00
random.nim Make default state public (#15763) 2020-10-29 11:14:22 +01:00
rationals.nim Remove the uses of {.procvar.} pragma (#14359) 2020-05-15 23:37:24 +02:00
reservedmem.nim Deprecate and/or remove ospaths (#14767) 2020-06-23 10:51:33 +02:00
ropes.nim StringStream & more stdlib modules support for JS/NimScript (#14095) 2020-04-28 19:44:52 +02:00
segfaults.nim Error -> Defect for defects (#13908) 2020-04-28 19:56:01 +02:00
selectors.nim async: minor refactorings (#15354) 2020-09-18 11:22:34 +02:00
smtp.nim fixes #15177, the error message is now what it should have been (#15195) 2020-08-17 14:32:52 +02:00
smtp.nim.cfg revert moving oids and smtp to graveyard 2019-01-11 08:51:19 +01:00
ssl_certs.nim deprecate existsDir; use dirExists instead (#14884) 2020-07-03 23:04:23 +02:00
ssl_config.nim net: use a secure cipher list by default 2020-06-06 21:11:53 +02:00
stats.nim Documentation, add more examples (#13825) 2020-04-01 19:39:58 +02:00
streams.nim Fix #12410 (#15685) 2020-10-23 03:26:50 +02:00
streamwrapper.nim Fix #14906 (#14949) 2020-07-18 10:41:33 +02:00
strformat.nim add docs and more tests for debug format strings (#14861) 2020-07-08 22:21:30 +02:00
strmisc.nim Remove the uses of {.procvar.} pragma (#14359) 2020-05-15 23:37:24 +02:00
strscans.nim [backport] fix #15064, strscans.scanf edge case for '$+' (#15223) 2020-08-25 09:57:15 +02:00
strtabs.nim string is not nil anymore (#15352) 2020-09-18 10:02:31 +02:00
strutils.nim EnumUtils, speed up findStr in compiler (#15777) 2020-11-03 16:26:16 +01:00
sugar.nim follow #11707(add pragmas examples for =>) (#15863) 2020-11-06 11:42:43 +01:00
terminal.nim Console apps in Windows can raise OSError (#15874) 2020-11-08 11:51:40 +08:00
times.nim fix mistake in times.nim docs 2020-07-07 22:57:06 +02:00
typetraits.nim Add a macro returning enum items count (#15824) 2020-11-09 10:02:01 +01:00
unicode.nim init checks and 'out' parameters (#14521) 2020-06-23 10:53:57 +02:00
unittest.nim Tiny unittest doc fix 2020-11-05 21:02:14 +01:00
uri.nim use func in uri module (#15486) 2020-10-05 17:04:08 +02:00
volatile.nim StringStream & more stdlib modules support for JS/NimScript (#14095) 2020-04-28 19:44:52 +02:00
xmlparser.nim [backport] run nimpretty on parsers 2019-09-30 13:58:08 +02:00
xmltree.nim closureiters: fixes #15243 (#15454) [backport:1.2] 2020-10-02 12:38:16 +02:00