summary refs log tree commit diff stats
path: root/lib/pure
Commit message (Collapse)AuthorAgeFilesLines
* Improved the documentation and miscelaneousReneSac2016-06-151-33/+102
| | | | | | | | | Better bounds checking. Tried to make it and documentation comply with the conflicting style guides. Added example of usage at the top of the module as well as warnings on usage. Also fix the back() and internal englishOrdinal() proc from previous commit. Added {.discardable.} pragma for .pop(), when calling only for it's side effects. Sprinkled some unlikely() for optimization. Some new tests reflecting those changes.
* Enchanced random access support for queuesReneSac2016-06-121-24/+126
| | | | | | Now queues support indexing, front() and back() operations and pairs iteration. Also modernized some of the code to use newer Nim features. Added the "add()" alias to "enqueue()", per nim's conventions (also fits better with pop())
* Make some proper closes.cheatfate2016-06-091-0/+1
|
* installer fixes and improvementsAndreas Rumpf2016-06-071-3/+3
|
* Fixes httpcore.`[]=` so that it doesn't convert value to lowercase.Dominik Picheta2016-06-061-1/+1
|
* Merge pull request #4277 from euantorano/patch-1Dominik Picheta2016-06-061-1/+1
|\ | | | | Use passed user agent in `newAsyncHttpClient`
| * Use passed user agent in `newAsyncHttpClient`Euan T2016-06-051-1/+1
| | | | | | Fixes #4273.
* | fixes #4278Andreas Rumpf2016-06-051-2/+2
|/
* Merge pull request #4264 from oderwat/add-unicode-rune-offsetsAndreas Rumpf2016-06-031-0/+134
|\ | | | | Add unicode rune offsets
| * Optimized end offsets and added tests.Hans Raaf2016-06-021-12/+93
| | | | | | | | | | | | I hope this also shows that there are use cases. I still think the user should get warned about performance issues with those procs, which I added to the doc comments.
| * More work in optimizing, names and added substr().Hans Raaf2016-06-021-6/+40
| | | | | | | | | | This is work in progress. I added an unicode substring. Tried to handle edgecases more consistent too.
| * Some procs to deal with Rune position base indexing.Hans Raaf2016-06-021-0/+19
| | | | | | | | | | It can't be perfect but at least one can index on rune position efficiently.
* | Fix broken asyncnet module.Dominik Picheta2016-06-032-2/+2
| |
* | Modified #3472 to make its API more idiomatic.Dominik Picheta2016-06-031-28/+52
| |
* | Merge branch 'tls-psk' of https://github.com/zielmicha/nim into ↵Dominik Picheta2016-06-031-3/+99
|\ \ | | | | | | | | | zielmicha-tls-psk
| * | net.nim: destroyContext for destroying SSLContextMichał Zieliński2015-10-241-1/+7
| | |
| * | net.nim: support for TLS-PSK ciphersuitesMichał Zieliński2015-10-241-13/+89
| | |
| * | net.nim: support storing arbitrary data inside SSLContextMichał Zieliński2015-10-241-0/+14
| | |
* | | Merge pull request #4243 from moigagoo/develDominik Picheta2016-06-031-16/+39
|\ \ \ | | | | | | | | Stdlib: asyncdispatch: `all` proc: Add support of varargs, fix issues, add tests.
| * | | stdlib: asyncdispatch: `all`: Docs updated.Константин Молчанов2016-06-021-4/+7
| | | |
| * | | stdlib: asyncdispatch: `all`: Redundant closure removed.Константин Молчанов2016-06-021-8/+5
| | | |
| * | | stdlib: asyncdispatch: `all`: Tests now pass; import sequtils removed; ↵Konstantin Molchanov2016-06-011-2/+18
| | | | | | | | | | | | | | | | Future[void] case optimized.
| * | | sttdlib: asyncdispatch: `all`: Add Future[void] support.Konstantin Molchanov2016-05-311-15/+19
| | | |
| * | | stdlib: asyncdispatch: `all`: typo fixed.Konstantin Molchanov2016-05-311-1/+1
| | | |
| * | | stdlib: asyncdispatch: `add` proc supports varargs now.Konstantin Molchanov2016-05-311-6/+3
| | | |
| * | | Stdlib: asyncdispatch: `all` proc: Fix incorect counter value issue.Konstantin Molchanov2016-05-311-5/+8
| | | |
| * | | Stdlib: asyncdispatch: `all` proc: Replace req with openarray.Konstantin Molchanov2016-05-311-1/+1
| | | |
| * | | Merge branch 'devel' of github.com:nim-lang/Nim into develKonstantin Molchanov2016-05-3114-190/+256
| |\ \ \
| * | | | Stdlib: asyncdispatch: Add support of varargs to `all`.Konstantin Molchanov2016-05-311-0/+3
| | | | |
* | | | | Implemented SKIPPED test statusRostyslav Dzinko2016-06-031-2/+25
| | | | |
* | | | | Add missing httpcore module.Dominik Picheta2016-06-021-0/+190
| | | | |
* | | | | Fixes #3847.Dominik Picheta2016-06-022-0/+12
| | | | |
* | | | | Let asynchttpserver pass control of socket to cb for upgrades.Dominik Picheta2016-06-021-2/+4
| | | | |
* | | | | httpclient now uses httpcore.HttpHeadersDominik Picheta2016-06-021-8/+8
| | | | |
* | | | | The asynchttpserver module now uses a HttpHeaders object.Dominik Picheta2016-06-021-76/+20
| | | | |
* | | | | Implements tables.clear.Dominik Picheta2016-06-022-5/+34
| |_|_|/ |/| | |
* | | | Merge pull request #4263 from abudden/4255-json-docDominik Picheta2016-06-021-2/+4
|\ \ \ \ | | | | | | | | | | Corrected comments in json pretty/ugly procedures (fixes #4255).
| * | | | Corrected comments in json pretty/ugly procedures (fixes #4255).A. S. Budden2016-06-021-2/+4
| | | | |
* | | | | Merge pull request #4261 from abudden/4197-formatEngAndreas Rumpf2016-06-021-0/+165
|\ \ \ \ \ | | | | | | | | | | | | Implemented string formatting functions for engineering format
| * | | | | Implemented string formatting functions for engineering format (fixes #4197).A. S. Budden2016-06-021-0/+165
| |/ / / /
* / / / / Added missing noSideEffect pragmaA. S. Budden2016-06-021-1/+1
|/ / / /
* | | | Merge pull request #4250 from abudden/4198-formatSizeAndreas Rumpf2016-06-021-21/+79
|\ \ \ \ | | | | | | | | | | Reimplementation of formatSize to return a more meaningful value
| * | | | Modified trimZeros to modify the passed value.A. S. Budden2016-06-011-15/+14
| | | | |
| * | | | Moved zero trimming into a separate function (code review comment)A. S. Budden2016-06-011-27/+21
| | | | |
| * | | | Reimplementation of formatSize to return a more meaningful value (fixes #4198).A. S. Budden2016-06-011-24/+89
| | | | |
* | | | | Merge pull request #4257 from Parashurama/change_rune_typeAndreas Rumpf2016-06-021-2/+2
|\ \ \ \ \ | | | | | | | | | | | | change 'Rune' type in unicode module to 'int32'
| * | | | | change 'Rune' type in unicode module to 'int32'Parashurama2016-06-021-2/+2
| |/ / / /
* | | | | Merge pull request #4256 from yglukhov/randomize-fixAndreas Rumpf2016-06-011-1/+2
|\ \ \ \ \ | | | | | | | | | | | | Time has now reference semantics on js
| * | | | | Time has now reference semantics on jsYuriy Glukhov2016-06-011-1/+2
| |/ / / /
* | | | | make split with strings as separator fasterAndreas Rumpf2016-06-011-1/+6
| | | | |