summary refs log tree commit diff stats
path: root/lib/pure
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | attempt to fix serious asynchttpserver regressionAndreas Rumpf2016-06-011-1/+1
| |
* | adds strutils.toHex variant that knows about the used integer sizeAndreas Rumpf2016-06-011-0/+4
|/
* Changed math.nim tests to use newly defined ==~ operatorA. S. Budden2016-05-311-24/+24
|
* Correction to round0 following review.A. S. Budden2016-05-311-1/+1
|
* Implemented function to split floating point numbers at the decimal place ↵A. S. Budden2016-05-311-0/+25
| | | | (equivalent to C's modf function). Fixes #4195.
* Modification to implementation of round() such that it returns a float and ↵A. S. Budden2016-05-311-25/+67
| | | | | | accepts a places argument (fixes #3473). This also involved moving some functions around to get the hierarchy correct and the documentation for frexp was modified such that it was clear that it can return a float in either the range [-1, -0.5] or [0.5, 1].
* documentation build cleaned upAndreas Rumpf2016-05-316-30/+35
|
* Merge pull request #4241 from moigagoo/develDominik Picheta2016-05-301-1/+23
|\ | | | | Stdlib: asyncdispatch: Add proc `all`.
| * Stdlib: asyncdispatch: Add proc `all`.Konstantin Molchanov2016-05-301-1/+23
| |
* | make test greenAndreas Rumpf2016-05-301-20/+38
| |
* | fixes #4221Andreas Rumpf2016-05-301-13/+13
| |
* | fixes #4238Andreas Rumpf2016-05-301-6/+2
| |
* | moved random procs from math to its own module (breaking change)Andreas Rumpf2016-05-306-113/+29
| |
* | added pure Nim random stdlib moduleAndreas Rumpf2016-05-301-0/+86
| |
* | Adding OpenBSD to definescheatfate2016-05-301-4/+4
| |
* | Resolve #3059cheatfate2016-05-301-31/+76
|/ | | | Make getTimezone() to work properly on FreeBSD and NetBSD.
* Merge branch 'unix-sockets' of https://github.com/girvo/Nim into ↵Dominik Picheta2016-05-302-3/+27
|\ | | | | | | girvo-unix-sockets
| * Adding nimdoc comments as per PR commentsJosh Girvin2016-05-301-1/+3
| | | | | | | | As per @dom96 code review comments in PR #3488
| * net.nim: add support for Unix socketsMichał Zieliński2015-10-282-2/+24
| |
* | Merge branch 'patch-8' of https://github.com/apense/Nim into apense-patch-8Andreas Rumpf2016-05-301-52/+101
|\ \
| * | Fixed silly format errorapense2015-06-241-1/+1
| | | | | | | | | Needed other bracket
| * | Converted tabsapense2015-06-241-39/+39
| | | | | | | | | Not sure what was going on before
| * | Rewrote procs for float32/float64apense2015-06-241-86/+128
| | | | | | | | | When a proc is `importc`-ed, made explicit. Otherwise, used `[T: float32|float64]`
* | | Merge pull request #3648 from FedericoCeratto/reuse_portAndreas Rumpf2016-05-293-3/+8
|\ \ \ | | | | | | | | Add SO_REUSEPORT support
| * | | Add SO_REUSEPORT supportFederico Ceratto2015-12-163-3/+8
| | | |
* | | | adds another 'open' to parsecsv; refs #3695Andreas Rumpf2016-05-281-0/+11
| | | |
* | | | Merge pull request #4135 from FedericoCeratto/patch-8Andreas Rumpf2016-05-281-0/+4
|\ \ \ \ | | | | | | | | | | Add another JSON example
| * | | | Add another JSON exampleFederico Ceratto2016-05-051-0/+4
| | | | | | | | | | | | | | | JSON generation can be a bit tricky, another example might help
* | | | | Merge branch 'maxsplit' of https://github.com/mjoud/Nim into mjoud-maxsplitAndreas Rumpf2016-05-281-10/+29
|\ \ \ \ \
| * | | | | modified strutils.splitMagnus Jöud2015-10-141-9/+6
| | | | | |
| * | | | | added tests for strutils.splitMagnus Jöud2015-10-141-0/+6
| | | | | |
| * | | | | added maxsplit argument to strutils.splitMagnus Jöud2015-10-141-10/+25
| | | | | |
* | | | | | Stdlib: httpclient: `export strtabs` added.Konstantin Molchanov2016-05-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using `httpclient`, viewing HTTP headers is impossible without importing `strtabs`, which is very much _not_ obvious; it's impossible to know without deep diving into the docs. Dealing with headers is an essential part of working with HTTP in general, so I propose this change. The situation is analogous to this one with `nre` and `options`: https://github.com/nim-lang/Nim/issues/4158
* | | | | | Introduce template withValue() for tables.nim too.cheatfate2016-05-271-0/+45
| | | | | |
* | | | | | Introduce template withValue()cheatfate2016-05-261-0/+53
| | | | | |
* | | | | | Merge pull request #4130 from lihf8515/develAndreas Rumpf2016-05-261-2/+198
|\ \ \ \ \ \ | | | | | | | | | | | | | | Update parsecfg.nim
| * | | | | | Update parsecfg.nimlihf85152016-05-021-2/+198
| | |/ / / / | |/| | | |
* | | | | | Resolve bugscheatfate2016-05-241-2/+2
| | | | | |
* | | | | | Resolve #4200cheatfate2016-05-241-12/+165
| | | | | | | | | | | | | | | | | | | | | | | | Resolve [Deprecated] warning for raiseOsError at line 878
* | | | | | 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