summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #5239 from illogica/patch-2Dominik Picheta2017-01-181-7/+30
|\ | | | | Fix nativesockets.select()
| * Fix nativesockets.select()Loris Pederiva2017-01-181-7/+30
| |
* | added system.onThreadCreation feature for safe thread local storage ↵Andreas Rumpf2017-01-181-0/+31
|/ | | | initializations
* docs for the heap dump featureAndreas Rumpf2017-01-161-0/+1
|
* re additions for buffer (cstring) RE matching (#5117)jlp7652017-01-162-99/+245
| | | | | | | | | | | | | | | | | | * 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-166-453/+650
| | | | | | | | | | | | * 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
|
* M&S GC gets the heap dump featureAndreas Rumpf2017-01-153-69/+76
|
* Update system.nimAndreas Rumpf2017-01-141-2/+2
|
* default GC can do a sort of heap dump via -d:nimTypeNames and ↵Andreas Rumpf2017-01-142-2/+33
| | | | dumpNumberOfInstances()
* memory allocator hotfix: do not allocate tremendous amounts of memoryAndreas Rumpf2017-01-131-11/+13
|
* Make SockAddr.sa_data publicLoris Pederiva2017-01-111-1/+1
| | | Make SockAddr.sa_data public, coherently with its Posix counterpart.
* 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
|
* Handle different enum sizes in reprAux (#5207)Brandon Pickering2017-01-111-1/+9
|
* 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.
* naive work-around for time redefinition (#5193)Fabian Keller2017-01-082-8/+10
|
* 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
|
* updated to version 0.16.0Araq2017-01-071-2/+2
|
* disable pinToCpu for OSXAndreas Rumpf2017-01-071-4/+5
|
* fixes #5179Araq2017-01-071-4/+5
|
* attempt to make the build green againAraq2017-01-071-1/+0
|
* added system.gorgeEx that includes the exitCode; refs #4874; fixes #1994Araq2017-01-071-0/+5
|
* use new nimble file format to make Nim's version DRYAraq2017-01-071-2/+2
|
* 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
| | | |
* | | | winlean: get rid of deprecation warningAraq2017-01-031-1/+1
| | | |
* | | | Add OptReuseAddr to example and handle closingFederico Ceratto2017-01-021-0/+2
| |/ / |/| |
* | | distros.nim: better documenationAndreas Rumpf2016-12-311-7/+20
| | |
* | | make c_setmode compatible with Borland C; refs #5157Andreas Rumpf2016-12-311-2/+3
| | |
* | | added distros.nim stdlib module for NimScript/Nimble supportAraq2016-12-311-0/+226
| | |