summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* fixed typo in threadpool.nimMichael Werner2015-05-081-1/+1
|
* Merge pull request #2622 from def-/times-yearAndreas Rumpf2015-05-071-2/+2
|\ | | | | Year shouldn't be arbitrarily limited to -10_000 .. 10_000
| * Year shouldn't be arbitrarily limited to -10_000 .. 10_000. Instead it'sdef2015-04-291-2/+2
| | | | | | | | an int now.
* | Merge pull request #2627 from msmith491/develVarriount2015-05-071-7/+13
|\ \ | | | | | | Add arbitrary char support to the strutils proc. Issue #2626
| * | Add arbitrary char support to the strutils proc. Issue #2626msmith4912015-04-301-7/+13
| | |
* | | Merge pull request #2596 from Nycto/develVarriount2015-05-071-29/+37
|\ \ \ | | | | | | | | Fix floats in tuples in HashSets
| * | | Fix floats in tuples in HashSetsNycto2015-04-241-29/+37
| | | | | | | | | | | | | | | | | | | | Previously, the added tests would fail to compile with errors complaining that 'hash(float)' didn't exist
* | | | Merge pull request #2537 from jsanjuas/develVarriount2015-05-071-6/+11
|\ \ \ \ | | | | | | | | | | Generalize mean to other types
| * | | | Convert to float before sumJosep Sanjuas2015-04-181-2/+3
| | | | |
| * | | | Document toFloat is necessaryJosep Sanjuas2015-04-181-0/+1
| | | | |
| * | | | Generalize variance to other typesJosep Sanjuas2015-04-181-3/+3
| | | | |
| * | | | Generalize mean to other typesJosep Sanjuas2015-04-121-2/+5
| | | | |
* | | | | Merge pull request #2665 from koalazen/fix_math_is_power_of_twoVarriount2015-05-071-1/+1
|\ \ \ \ \ | | | | | | | | | | | | fixes isPowerOfTwo returning true on the smallest integer
| * | | | | fixes isPowerOfTwo returning true on the smallest integerKoala Zen2015-05-061-1/+1
| | | | | |
* | | | | | Fix comment in reKoala Zen2015-05-061-2/+2
|/ / / / /
* | | | | version 0.11.2Araq2015-05-041-1/+1
| | | | |
* | | | | fixes #2651Araq2015-05-041-57/+59
| | | | |
* | | | | Merge pull request #2648 from def-/zipfilesAndreas Rumpf2015-05-031-36/+50
|\ \ \ \ \ | | | | | | | | | | | | Make zipfiles module work again
| * | | | | Make zipfiles module work againdef2015-05-031-36/+50
| | |_|/ / | |/| | | | | | | | | | | | | Also adds an example usage to the module
* | | | | development version is 0.11.1Araq2015-05-031-1/+1
| | | | |
* | | | | fixes #2625Araq2015-05-031-4/+7
|/ / / /
* | | | Merge pull request #2618 from yglukhov/dom-body-headreactormonk2015-05-011-0/+2
|\ \ \ \ | | | | | | | | | | Added body and head properties to DOM document.
| * | | | Added body and head properties to document.yglukhov2015-04-291-0/+2
| | |_|/ | |/| |
* / | | preparations for version 0.11.0Araq2015-04-301-2/+2
|/ / /
* | | fixes #1888Araq2015-04-271-39/+47
| | |
* | | Add warning about recvLineInto being bound to changedef2015-04-261-0/+3
| | |
* | | Revert "Introduce FutureVar[T] to make recvLineInto safer."def2015-04-263-74/+20
| | | | | | | | | | | | This reverts commit 72b4912c84b16644657f94e54105739cba4b2457.
* | | fixes regression: overloading by 'var'Araq2015-04-251-128/+128
| | |
* | | marshalling can be done at compile-timeAraq2015-04-252-21/+57
| | |
* | | fixes #2517Araq2015-04-255-1826/+59
| | |
* | | fixes #2551; fixes #2212; breaks bootstrapping in debug mode; bootstrap with ↵Araq2015-04-251-5/+5
| | | | | | | | | | | | -d:release
* | | Merge branch 'def--clean-speedup-2' into develDominik Picheta2015-04-245-96/+317
|\ \ \
| * | | Fix asyncdispatch on Windows.Dominik Picheta2015-04-242-112/+111
| | | |
| * | | Introduce FutureVar[T] to make recvLineInto safer.Dominik Picheta2015-04-243-20/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | FutureVar[T] is a new distinct Future type which is designed to be used for situations where the highest performance is needed. It reduces the number of Future allocations needed. It acts as a replacement for 'var' params in async procs. This commit modifies @def-'s PR in order to make it safer. The recvLineInto procedure has been modified to take a ``FutureVar[string]`` param instead of a ``ptr string`` param.
| * | | Some small cleanup.Dominik Picheta2015-04-232-8/+7
| | | |
| * | | Merge branch 'clean-speedup-2' of https://github.com/def-/Nim into ↵Dominik Picheta2015-04-234-99/+268
| |\ \ \ | | | | | | | | | | | | | | | def--clean-speedup-2
| | * | | Rename clearStringTable to cleardef2015-03-172-3/+3
| | | | |
| | * | | Some style cleanupdef2015-03-171-3/+3
| | | | |
| | * | | Make respond a template againdef2015-03-171-11/+11
| | | | |
| | * | | Move recvInto to asyncnet and don't export itdef2015-03-172-120/+120
| | | | |
| | * | | Don't export readInto* templatesdef2015-03-171-2/+2
| | | | |
| | * | | Make recvLineInto a proc instead of templatedef2015-03-172-52/+50
| | | | |
| | * | | Rename resetStringTable to clearStringTabledef2015-03-172-2/+2
| | | | |
| | * | | Remove unused newRequest procdef2015-03-171-3/+0
| | | | |
| | * | | Document asynchttpserver's respond templatedef2015-03-171-1/+1
| | | | |
| | * | | PNimrodNode -> NimNode in asyncdispatchdef2015-03-171-3/+3
| | | | |
| | * | | Speed up asynchttpserver significantly using all the previous changesdef2015-03-172-47/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Export socket field of AsyncHttpServer and addHeaders proc for templates - Make respond a template instead of proc because of how often it's called. This means no more "await" when invoking it. - Optimize respond template with special case for empty headers and Content-Length entry - newRequest doesn't allocate a hostname and body anymore because they're copied in later - Major changes to processClient to prevent allocations and copies
| | * | | Make asyncnet usable when avoiding allocations.def2015-03-171-61/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - readInto, readIntoBuf, are templates instead of procs now - New recvLineInto template that reads directly into a string instead of creating a new one. Used by recvLine proc now - Need fd and bufLen fields of AsyncSocketDesc exported because of the templates - recv returns a shallow string to prevent copying - This gives significant speedups, mostly by using templates instead of creating new Futures and waiting for them all the time.
| | * | | Make asyncdispatch usable when preventing allocationsdef2015-03-171-0/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added a recvInto proc that takes a cstring as argument and reads into it instead of returning a newly allocated string. This is pretty unnice because of code duplication with recv. Calling recvInto from recv is not a good solution because of the additional future that gets created. - Windows version is totally untested
| | * | | Make strtabs module usable when avoiding allocationsdef2015-03-171-0/+6
| | | | | | | | | | | | | | | | | | | | - resetStringTable proc