summary refs log tree commit diff stats
path: root/lib/pure
Commit message (Collapse)AuthorAgeFilesLines
* Fix toRational overflow by calculating internally with int64s (fixes #4194)def2016-05-221-11/+11
|
* Resolve bugs with `deep recursion` of asyncdispatch.cheatfate2016-05-181-3/+24
| | | | | Introduce callSoon() implementation. Patch tests to use waitFor() instead of asyncCheck()
* Merge pull request #4075 from yglukhov/jsonDominik Picheta2016-05-151-9/+38
|\ | | | | Json serialization for openarrays and objects
| * Json serialization for openarrays and objectsYuriy Glukhov2016-05-131-9/+38
| |
* | Fix 2 compile errors in LockFreeHash.nimLompiktab2016-05-141-3/+3
| | | | | | | | | | * type mismatch in range (line 55) * invalid indentation (line 249)
* | Fix missing `]`Stephane Fontaine2016-05-131-1/+1
|/ | | | other nim can't parse the file. Introduced in https://github.com/nim-lang/Nim/commit/192ba3bbc0ae7f570c1277c9211d24eeea2cf48a#diff-1a01187da2fad29f03da8ce36ffe1f91
* Restore sanity check for bytesReceived in asyncdispatch.Dominik Picheta2016-05-131-0/+4
|
* Resolve bugs based on unreliable `bytesReceived` value.cheatfate2016-05-121-53/+14
|
* Pegs: fixes edge caseAndreas Rumpf2016-05-121-2/+6
|
* Merge pull request #4136 from oderwat/HARA-peg-replace-cbAndreas Rumpf2016-05-111-0/+59
|\ | | | | Added a replace() with callback to pegs.
| * Added a replace() proc using a callback to pegs.Hans Raaf2016-05-071-0/+59
| | | | | | | | | | | | I was missing a nice way to use pegs with a more specialized replace functionality. Here my try to create a universal and versatile version of replace for that.
* | added scanp macro as an alternative to pegsAraq2016-05-101-9/+234
| |
* | minor whitespace changeAraq2016-05-101-1/+1
| |
* | added strscans stdlib moduleAraq2016-05-102-0/+312
| |
* | split too long linesAraq2016-05-101-5/+9
| |
* | pure/logging: add notice level, suggest usecasesniv2016-05-011-1/+27
|/
* Merge pull request #4122 from yglukhov/binheapDominik Picheta2016-04-282-18/+133
|\ | | | | Added heapqueue collection. Fixed timers in asyncdispatch.
| * Added heapqueue collection. Fixed timers in asyncdispatch.Yuriy Glukhov2016-04-282-18/+133
| |
* | Merge pull request #4099 from cheatfate/asyncdispatch2Andreas Rumpf2016-04-261-2/+2
|\ \ | |/ |/| Proper definitions for functions СreateIoCompletionPort and GetQueuedCompletionStatus
| * CompletionKey parameter for functions CreateIoCompletionPort,cheatfate2016-04-191-2/+2
| | | | | | | | GetQueuedCompletionStatus must be 64bit size on amd64 and 32bit size on x86.
* | Make SMTP example compiledef2016-04-241-5/+7
|/
* Merge pull request #4081 from yglukhov/ordered-tables-delAndreas Rumpf2016-04-131-0/+41
|\ | | | | Added del for OrderedTable and OrderedTableRef
| * Added del for OrderedTable and OrderedTableRefYuriy Glukhov2016-04-131-0/+41
| |
* | Correct proper usage of getOverlappedResult()cheatfate2016-04-131-2/+2
|/
* Fixed base64 encodeYuriy Glukhov2016-04-111-1/+2
|
* Added json.getOrDefault along with {singleKey} tr optimization.Yuriy Glukhov2016-04-061-0/+8
|
* Some documentation fixes in times module.Dominik Picheta2016-04-061-8/+15
|
* Deprecate timeToTimeInfo, add str->time procscoffeepots2016-04-062-37/+44
| | | | | | | | | | | | | | | | | | | | | | | * depreciate timeToTimeInfo, add str->time procs initTime allows creating times from strings. initTimeFromStr offers a default format string compatible with $Time. timeToTimeInterval changed to work properly. * Spell {.deprecated.} correctly * deprecated timeToTimeInfo, removed initTime procs Is it even worth depreciating timeToTimeInfo rather than just removing it, considering it's just wrong and we have getLocalTime and getGMTime that actually work? Also, if I'm renaming timeToTimeInfo -> toTimeInfo etc, isn't the deprecated tag kind of redundant? * Updated names for toTime and toTimeInterval procs * Added type to toTime template This should allow compilation of os.nim now that toTime is defined in times.nim. * Updated toTime template to use {.gensym.} Local templates default to 'bind' semantics, not 'gensym'. This was causing a failure to 'see' the local toTime template.
* Fixes subexes tests which were broken in 73e48f9c9.Dominik Picheta2016-04-051-4/+4
|
* Add -d:nimJsonGet flag for json.[] and news entry.Dominik Picheta2016-04-051-3/+15
|
* `await x` where x is Fut var now reads after yield. Fixes #3964.Dominik Picheta2016-04-041-5/+25
|
* Fix deprecation warning in net module.Dominik Picheta2016-04-041-0/+2
|
* Fixes JSON module problems. Fixes #3107.Dominik Picheta2016-04-041-17/+23
|
* Fixed some warnings in httpclient, net, and openssl.Dominik Picheta2016-04-042-6/+4
|
* Fixes small mistake in ``net`` module.Dominik Picheta2016-04-041-1/+1
|
* Improved asyncnet docs (SSL procs now shown). Deprecated handshake.Dominik Picheta2016-04-042-10/+15
|
* Improve net and ssl module docs.Dominik Picheta2016-04-041-20/+77
|
* Deprecated matchers module. Fixes #2446.Dominik Picheta2016-04-041-0/+4
|
* Better additionalInfo OSError message, ref #2650.Dominik Picheta2016-04-041-1/+1
|
* Fixes #4037Dominik Picheta2016-04-041-27/+63
|
* net: disable SSLv3Peter Cai2016-04-031-2/+2
| | | | | SSLv3 is no longer secure and has been removed from OpenSSL since 1.0.2. Disabling this will enable Nim programs to run against OpenSSL 1.0.2.
* Merge pull request #3997 from endragor/portable-mersenneDominik Picheta2016-04-021-13/+15
|\ | | | | mersenne.nim public procs are no longer platform-dependent
| * mersenne.nim public procs no longer work with platform-dependent int typeRuslan Mustakov2016-03-241-13/+15
| |
* | added missing file for --gc:stackAndreas Rumpf2016-03-311-0/+44
| |
* | Remove dead codeAnatoly Galiulin2016-03-311-11/+1
| |
* | Add parseUInt and parseBiggestUInt functions to stdlib (parseutils, strutils)Anatoly Galiulin2016-03-302-0/+69
| |
* | Merge pull request #4009 from PMunch/json-objecthashing-fixAndreas Rumpf2016-03-291-1/+1
|\ \ | | | | | | Changed the JSON object hashing procedure (fixing #3972)
| * | Changed the JSON object hashing procedure to use a symmetric operator to ↵Peter Munch-Ellingsen2016-03-291-1/+1
| | | | | | | | | | | | disregard key order in object hashes
* | | Windows: fixes a regression; codegen might not know about & at this pointAraq2016-03-291-0/+0
| | |
* | | added missing fileAndreas Rumpf2016-03-281-0/+95
| | |