Nim/lib/pure
Tomohiro 7c8ea490a2
Fix initrand to avoid random number sequences overlapping (#18744)
* Fix initrand to avoid random number sequences overlapping

* Minor fix

* Fix compile error on js backend

* Disable new test for js backend

* Minor fix

* tempfiles module uses random.initRand()

* Remove unused module import from lib/std/tempfiles.nim

* Initialize baseState in initRand()

* Run tests/stdlib/trandom.nim from tests/test_nimscript.nims

* baseState is initialized only with sysrand.urandom and quit if failed

* Add comments
2021-09-02 14:12:14 +02:00
..
collections various small documentation improvements (#18602) 2021-07-28 14:31:13 +02:00
concurrency improve cache line size (#17885) 2021-04-29 13:39:36 +02:00
includes Remove tracking of environment from osenv.nim v2 (#18575) 2021-07-29 23:05:26 +02:00
ioselects styleCheck: Fix some inconsistent identifiers (#16177) 2020-12-21 09:41:56 -08:00
unidecode fix shebangs #! /xxx => #!/xxx (#18444) 2021-07-07 06:00:59 +02:00
algorithm.nim strict effects (#18777) 2021-09-02 12:10:14 +02:00
async.nim Unify async macro and futures for js and native targets 2018-01-05 16:40:51 +02:00
asyncdispatch.nim various small documentation improvements (#18602) 2021-07-28 14:31:13 +02:00
asyncdispatch.nim.cfg Rename *.nimrod.cfg to *.nim.cfg 2015-02-03 09:04:24 +01:00
asyncfile.nim Fix #15150 (#18730) 2021-08-31 08:14:05 +02:00
asyncftpclient.nim further progress on rst roles & directives (fix #17646) (#17659) 2021-04-08 19:00:14 +02:00
asyncfutures.nim asyncdispatch+stackTraceOverride: fix premature collection (#18039) [backport:1.2] 2021-05-19 19:19:11 +02:00
asynchttpserver.nim asynchttpserver: ipv6 support (#18706) 2021-08-18 14:25:25 +02:00
asyncmacro.nim simplify asyncfutures, asyncmacro (#17633) 2021-04-14 21:22:22 +02:00
asyncnet.nim Export sslHandle in net and asyncnet. (#17573) 2021-05-06 15:02:37 -07:00
asyncstreams.nim Fix FutureStream memory usage (#17395) [backport:1.2] 2021-03-16 21:46:22 +01:00
base64.nim fix #17941: UnusedImport works for var/let/const/type invoked inside a generic (#17942) 2021-05-08 09:56:46 +02:00
bitops.nim renamed: lib/std/private/vmutils.nim -> lib/std/private/bitops_utils.nim to avoid confusion with unrelated std/vmutils (#18660) 2021-08-08 19:24:45 -07:00
browsers.nim use single backtick (#17166) 2021-02-23 21:05:39 -08:00
cgi.nim CIs: attempt to use csources_v1 (#16282) 2021-04-21 07:41:33 +02:00
colors.nim use single backtick (#17166) 2021-02-23 21:05:39 -08:00
complex.nim CIs: attempt to use csources_v1 (#16282) 2021-04-21 07:41:33 +02:00
cookies.nim CIs: attempt to use csources_v1 (#16282) 2021-04-21 07:41:33 +02:00
coro.nim system.nim cleanup some exported constants which should never have be… (#17909) 2021-05-01 11:10:40 +02:00
coro.nimcfg fix test failure in coro.nim 2015-10-01 12:05:45 -07:00
cstrutils.nim Improve documentation for cstrutils (#17004) 2021-02-10 20:38:18 +01:00
db_common.nim use single backtick (#17166) 2021-02-23 21:05:39 -08:00
distros.nim Nim pretty and add void (#18652) 2021-08-08 19:30:51 +02:00
dynlib.nim Update documentation for dynlib (#17356) 2021-07-26 19:15:21 -04:00
encodings.nim workaround #18481 (#18482) 2021-07-13 09:22:33 +02:00
endians.nim Improve endians module (#17674) 2021-04-08 14:08:58 +02:00
fenv.nim use lowercase --define switches (#17283) 2021-03-07 12:08:41 +01:00
future.nim renamed future.nim to sugar.nim 2018-04-06 11:59:49 +02:00
hashes.nim fixes #18220 (#18227) 2021-06-10 09:25:51 +02:00
htmlgen.nim nnkArglist => nnkArgList + special case stylecheck:error (#17529) 2021-03-27 10:28:11 +01:00
htmlparser.nim Change stdlib imports to use std prefix in most examples (#17202) 2021-02-28 13:17:19 -08:00
httpclient.nim httpclient.nim Fixes #14794 and an issue where content-header is not set on postContent (#18208) 2021-06-14 19:29:23 +02:00
httpcore.nim Replace double backticks with single backticks - Part 3 out of ~7 (#17207) 2021-02-28 23:22:05 -08:00
json.nim add [1..2] for JArray (#18525) 2021-07-21 15:03:48 +02:00
lenientops.nim Use func in lenientops (#16641) 2021-01-09 00:24:41 +01:00
lexbase.nim use single backtick (#17100) 2021-02-18 22:47:21 -08:00
logging.nim Use .. warning:: (#17320) 2021-03-10 10:39:23 -08:00
marshal.nim CIs: attempt to use csources_v1 (#16282) 2021-04-21 07:41:33 +02:00
math.nim Add ceilDiv to math (#18596) 2021-08-19 11:35:40 +02:00
md5.nim Improve documentation for the md5 module (#16631) 2021-01-07 20:57:11 +01:00
memfiles.nim Replace double backticks with single backticks - Part 4 out of ~7 (#17216) 2021-03-01 18:00:58 -08:00
mersenne.nim make deprecated message better (#18737) 2021-08-23 11:13:10 -07:00
mimetypes.nim change mimedb stroe stringtable to orderedtable (#18065) 2021-06-07 13:57:42 +02:00
nativesockets.nim [minor] reduce substr (#18611) 2021-07-30 09:32:00 +02:00
net.nim Only allow IPv4 literals in strict form (#18656) 2021-08-08 19:11:07 +01:00
nimprof.nim close #4451 (#17627) 2021-04-06 22:08:59 +02:00
nimprof.nim.cfg Rename *.nimrod.cfg to *.nim.cfg 2015-02-03 09:04:24 +01:00
nimtracker.nim make memory tracker work without onThreadCreation 2017-03-14 15:45:35 +01:00
oids.nim CIs: attempt to use csources_v1 (#16282) 2021-04-21 07:41:33 +02:00
options.nim Add sink annotation to option some() (#18358) 2021-06-25 22:06:24 +02:00
os.nim fix #18670 quoteShellCommand, quoteShell, quoteShellWindows on windows (#18671) 2021-08-12 16:50:08 +02:00
osproc.nim typo: nonexistant => nonexistent (#17918) 2021-05-02 00:26:41 +02:00
oswalkdir.nim use single backtick (#17181) 2021-02-24 21:47:27 -08:00
parsecfg.nim [std/parsecfg]use runnableExamples (#17868) 2021-04-27 10:24:59 +02:00
parsecsv.nim parsecsv fix style (#17933) 2021-05-04 13:13:23 +02:00
parsejson.nim Replace double backticks with single backticks - Part 4 out of ~7 (#17216) 2021-03-01 18:00:58 -08:00
parseopt.nim Replace double backticks with single backticks - Part 4 out of ~7 (#17216) 2021-03-01 18:00:58 -08:00
parsesql.nim use single backtick (#17181) 2021-02-24 21:47:27 -08:00
parseutils.nim Change stdlib imports to use std prefix in most examples (#17202) 2021-02-28 13:17:19 -08:00
parsexml.nim Fix crash in parsexml (#15582) (#15583) 2020-10-15 12:45:55 +02:00
pathnorm.nim use single backtick (#17133) 2021-02-21 00:27:39 -08:00
pegs.nim Peg captures get stack-like behavior (#18369) 2021-06-28 12:33:20 +02:00
prelude.nim make strformat part of the prelude (#18046) 2021-05-19 19:18:16 +02:00
punycode.nim styleCheck: Fix some inconsistent identifiers (#16177) 2020-12-21 09:41:56 -08:00
random.nim Fix initrand to avoid random number sequences overlapping (#18744) 2021-09-02 14:12:14 +02:00
rationals.nim CIs: attempt to use csources_v1 (#16282) 2021-04-21 07:41:33 +02:00
reservedmem.nim use typeof instead type (#16962) 2021-02-08 09:46:07 +01:00
ropes.nim CIs: attempt to use csources_v1 (#16282) 2021-04-21 07:41:33 +02:00
segfaults.nim refs #17114: workaround for arm64 which should segfault but does not (#17178) 2021-02-25 08:40:43 +01:00
selectors.nim add colon (#17834) 2021-04-24 18:33:29 +01:00
smtp.nim use single backtick (#17133) 2021-02-21 00:27:39 -08:00
smtp.nim.cfg revert moving oids and smtp to graveyard 2019-01-11 08:51:19 +01:00
ssl_certs.nim termux ssl (#18520) 2021-07-20 12:50:43 +02:00
ssl_config.nim net: use a secure cipher list by default 2020-06-06 21:11:53 +02:00
stats.nim Fix #18718 (#18731) 2021-08-23 00:13:39 +02:00
streams.nim add sink and lent annotations for xmltree and streams (#18037) 2021-05-18 08:16:07 +02:00
streamwrapper.nim Change stdlib imports to use std prefix in most examples (#17202) 2021-02-28 13:17:19 -08:00
strformat.nim various small documentation improvements (#18602) 2021-07-28 14:31:13 +02:00
strmisc.nim Improve documentation of strmisc (#16665) 2021-01-11 10:53:15 +01:00
strscans.nim various small documentation improvements (#18602) 2021-07-28 14:31:13 +02:00
strtabs.nim remove outdated codes (#17140) 2021-02-22 09:40:11 +01:00
strutils.nim don't use space after proc names (#18681) 2021-08-12 20:57:12 -04:00
sugar.nim Documentation only, Sugar arrow and semicolons (#18574) 2021-07-25 18:07:43 +02:00
terminal.nim Documentation only, Terminal (#18696) 2021-08-14 20:51:41 -04:00
times.nim strict effects (#18777) 2021-09-02 12:10:14 +02:00
typetraits.nim Add optional recursive arg to distinctBase (v2) (#18659) 2021-08-09 08:51:39 +02:00
unicode.nim fixes #17768 [backport:1.4] (#18317) 2021-06-21 12:50:47 +02:00
unittest.nim Remove confusing <//> (#17830) 2021-04-26 09:04:52 +02:00
uri.nim Revert "Fix parseUri to sanitize urls containing ASCII newline or tab (#17967)" (#17984) 2021-05-09 23:33:31 +02:00
volatile.nim use typeof instead type (#16962) 2021-02-08 09:46:07 +01:00
xmlparser.nim fix #14056 (#16071) 2020-11-23 19:53:57 +01:00
xmltree.nim add sink and lent annotations for xmltree and streams (#18037) 2021-05-18 08:16:07 +02:00