summary refs log tree commit diff stats
path: root/lib/pure
Commit message (Collapse)AuthorAgeFilesLines
* re additions for buffer (cstring) RE matching (#5117)jlp7652017-01-161-1/+1
| | | | | | | | | | | | | | | | | | * Replace expr with untyped * Add buffer (cstring) related procs Replace expr with untyped Replace testing assert() procs with doAssert() * make the string variants call the cstring variants in order to fight code size * Remove redundant proc * fix casting of cstring add init of variables (identified by verbosity:3) * Speed up - use pattern.e for exec() inline some procs
* Fix #5128, #5184. (#5214)Eugene Kabanov2017-01-165-376/+550
| | | | | | | | | | | | * Fix #5128, #5184. Removed flush() procedure from ioselectors.nim Changed methods of work with application-driven data * Make cache switch for kqueue, update test for it. * Fix registerProcess bug returns wrong id. Fix tupcoming_async test to compile with upcoming again. Change socket() as unique identifier to dup(socket) as unique identifier.
* Fixed Mersenne Twister (#5227)MednauN2017-01-161-2/+2
|
* Workaround for the high cpu usage issue in coroutines on linux (#5186)Dmitriy Fomichev2017-01-111-3/+3
| | | Fixes high cpu usage when all coroutines are asleep
* Improve & optimize strutils 'find' procs (#5196)Parashurama2017-01-111-15/+49
| | | | | * add 'last' argument to 'find' procs in strutils * add 'rfind' proc for looking up set[char] in strutils * use optimised C function 'memchr' when available
* Fix for #5134 (parseJson(string) should fail on leftover data) (#5203)Lolo Iccl2017-01-111-0/+18
|
* random.shuffle now takes an openArray procAndreas Rumpf2017-01-111-2/+7
|
* Documented `shuffle` from `random` module (#5204)Benjamin Summerton2017-01-111-0/+1
|
* asynchttpserver: import json in the example codeLuke Diamand2017-01-101-0/+1
| | | | | | The example code won't compile unless json is imported, because of the use of the %* operator. This can trip-up inexperienced Nim developers.
* make random.nim work for the JS target againAraq2017-01-081-2/+4
|
* random.nim: added shuffle proc; fixes 'mod' biasAraq2017-01-081-2/+12
|
* fixes #5179Araq2017-01-071-4/+5
|
* random.nim: add a warning about crypo; refs #5047Araq2017-01-071-0/+1
|
* Merge pull request #5188 from trustable-code/patch-2Andreas Rumpf2017-01-071-10/+4
|\ | | | | fixes #4804
| * fixes 4804Simon Krauter2017-01-061-10/+4
| | | | | | toTime(): Use the Windows-specific part for every OS, because it gives correct results on Linux too. The removed code for Linux gives wrong results.
* | get rid of immediate macros in htmlgen moduleArne Döring2017-01-061-75/+75
|/
* Fixes bootstrapping.Dominik Picheta2017-01-061-1/+1
|
* findExe finds cmd and bat files; refs #5049Araq2017-01-061-25/+34
|
* Add async IO overview to asyncnet module docs.Dominik Picheta2017-01-061-1/+39
|
* fixes #4948Araq2017-01-061-3/+6
|
* Merge pull request #5141 from c-blake/develAndreas Rumpf2017-01-061-0/+5
|\ | | | | Add a proc `==` for MemSlice.
| * Oops - forgot export marker.Charles Blake2016-12-221-1/+1
| |
| * Add a proc `==` for MemSlice.Charles Blake2016-12-221-0/+5
| |
* | Merge pull request #5180 from Parashurama/optimize_byteswappingAndreas Rumpf2017-01-061-32/+81
|\ \ | | | | | | optimize byte-swapping in endians.nim
| * | optimize byte-swapping in endians.nimParashurama2017-01-051-32/+81
| | | | | | | | | | | | | | | add support for GCC, CLANG, ICC & VCC builtins for faster byte-swapping. should compile to single assembly instruction ie BSWAP or equivalent.
* | | Merge pull request #5138 from vegansk/4775-argsAndreas Rumpf2017-01-061-1/+1
|\ \ \ | | | | | | | | Disables ``paramCount``, ``paramStr`` when building posix dynlib. Fixes #4775
| * | | Disables ``paramCount``, ``paramStr`` when building posix dynlib. Fixes #4775Anatoly Galiulin2016-12-221-1/+1
| | | |
* | | | distros.nim: don't lose the information that we don't know the distro's ↵Araq2017-01-031-0/+2
| | | | | | | | | | | | | | | | package manager (yet)
* | | | distros.nim: also try 'lsb_release -a'Araq2017-01-031-9/+12
| | | |
* | | | Add OptReuseAddr to example and handle closingFederico Ceratto2017-01-021-0/+2
| |/ / |/| |
* | | distros.nim: better documenationAndreas Rumpf2016-12-311-7/+20
| | |
* | | added distros.nim stdlib module for NimScript/Nimble supportAraq2016-12-311-0/+226
| | |
* | | Merge pull request #5163 from vegansk/5155-asyncDominik Picheta2016-12-301-1/+14
|\ \ \ | | | | | | | | Adds pending operations presence check function to asyncdispatch, fixes #5155
| * | | Add pending operations presence check function, fixes #5155Anatoly Galiulin2016-12-291-1/+14
| | | |
* | | | Merge pull request #5158 from AdrianV/patch-4Andreas Rumpf2016-12-291-1/+1
|\ \ \ \ | | | | | | | | | | bcc uses _timezone like vcc
| * | | | bcc uses _timezone like vccAdrianV2016-12-281-1/+1
| | |_|/ | |/| |
* | | | Merge pull request #5159 from AdrianV/patch-5Andreas Rumpf2016-12-291-1/+1
|\ \ \ \ | |_|/ / |/| | | bcc misses the same functions like vcc
| * | | bcc misses the same functions like vccAdrianV2016-12-281-1/+1
| |/ /
* / / Define getAttributes(NS) on PNode instead of PElement.Mark Janssen2016-12-281-2/+2
|/ /
* | Change error handling in split to use doAssert so it is not compiled out ↵Chris Heller2016-12-211-1/+1
| | | | | | | | when running tests
* | Change error handling to use assert as per Araq's commentChris Heller2016-12-211-4/+1
| |
* | Guard against calling split with an empty string as a separator. Fixes #5119Chris Heller2016-12-211-0/+5
|/
* Merge branch 'devel' into sighashesAraq2016-12-191-3/+3
|\
| * Merge pull request #5123 from vegansk/cpuload_overflowAndreas Rumpf2016-12-181-3/+3
| |\ | | | | | | Fix overflow when casting int64 to int in cpuload.nim
| | * Fix overflow when casting int64 to int in cpuload.nimvega2016-12-161-3/+3
| | |
* | | Merge branch 'devel' into sighashesAraq2016-12-172-140/+194
|\| |
| * | Merge pull request #5096 from cheatfate/sup5094Andreas Rumpf2016-12-172-140/+194
| |\ \ | | |/ | |/| Support android compilation of ioselectors.
| | * Fix compilation errors and enable async events on partially supported systems.cheatfate2016-12-071-5/+9
| | |
| | * Support android compilation of ioselectors.cheatfate2016-12-052-136/+186
| | |
* | | Merge branch 'devel' into sighashesAraq2016-12-135-8/+16
|\| |