Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Dont convert string to cstring when writing to stream. | Yuriy Glukhov | 2016-01-21 | 1 | -1/+4 |
| | |||||
* | Fixed deprecation warnings while Nim compiles. | Hans Raaf | 2016-01-18 | 3 | -4/+3 |
| | | | | | I just removed unsigned and changed a writeLn() call to writeLine() to avoid the remaining deprecation warnings. | ||||
* | Added missing modules to lib.txt and warnings to some module's docs. | Dominik Picheta | 2016-01-18 | 6 | -0/+17 |
| | |||||
* | Merge pull request #3703 from ↵ | Andreas Rumpf | 2016-01-18 | 1 | -1/+13 |
|\ | | | | | | | | | singularperturbation/feature/counttableref_getordefault Fix CountTableRef#getOrDefault (#3702) | ||||
| * | Fix CountTableRef#getOrDefault | Sloane Simmons | 2016-01-09 | 1 | -1/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes issue with CountTableRef and getOrDefault: ```{nimrod} import tables proc main() = const testKey = "TESTKEY" let t: CountTableRef[string] = newCountTable[string]() # Before, does not compile with error message: #test_counttable.nim(7, 43) template/generic instantiation from here #lib/pure/collections/tables.nim(117, 21) template/generic instantiation from here #lib/pure/collections/tableimpl.nim(32, 27) Error: undeclared field: 'hcode' echo "Count of " & testKey & " is " & $t.getOrDefault(testKey) t.inc(testKey,3) echo "Count of " & testKey & " is " & $t.getOrDefault(testKey) when isMainModule: main() ``` Previously, `getOrDefault` for CountTableRef objects was calling the `getOrDefaultImpl` template, which used the t.data.hcode object - assuming a Table or similar object. Because CountTableRef didn't have an hcode in its data tuples, this wouldn't compile. Changed to be the same as `CountTable#getOrDefault`. | ||||
* | | Merge pull request #3519 from jlp765/stats1 | Andreas Rumpf | 2016-01-17 | 2 | -62/+348 |
|\ \ | | | | | | | stats.nim pure library (moved from math lib to new lib) | ||||
| * | | add doco for array/seq helper procs | JamesP | 2015-11-12 | 1 | -0/+24 |
| | | | |||||
| * | | added helper procs for standalone calc of stats for array/seq | JamesP | 2015-11-12 | 1 | -0/+45 |
| | | | | | | | | | | | | | | | | | | Changed derivation to use runningstats, so there is a single point of truth for the calculations, and provides more stats functions | ||||
| * | | add comment to identify where RunningStat code resides | JamesP | 2015-11-11 | 1 | -0/+1 |
| | | | |||||
| * | | Removal of stats procs for openarray (use the RunningStat methodology) | JamesP | 2015-11-11 | 1 | -20/+0 |
| | | | |||||
| * | | add sum back in, fix min inital value, tidy up spaces in | JamesP | 2015-11-07 | 1 | -11/+20 |
| | | | | | | | | | | | | code and comment wording, add a sum test assertion | ||||
| * | | Add RunningStat related statistics code removed from math lib, | JamesP | 2015-11-07 | 1 | -0/+269 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | and add new functionality - skewness & kurtosis (3rd and 4th stat moments) - addition ops for RunningStat - RunningRegress object - slope, intercept and correlation regression procs - addition ops for RunningRegress | ||||
| * | | Removal of RunningStats ready for new stats.nim pure lib file | JamesP | 2015-11-07 | 1 | -42/+0 |
| | | | |||||
* | | | fixes strutils.unescape; refs #3634 | Andreas Rumpf | 2016-01-17 | 2 | -7/+10 |
| | | | |||||
* | | | Merge branch 'devel' of https://github.com/nim-lang/Nim into devel | Andreas Rumpf | 2016-01-17 | 1 | -1096/+0 |
|\ \ \ | |||||
| * | | | Removed redis module from standard library. | Dominik Picheta | 2016-01-16 | 1 | -1096/+0 |
| | | | | |||||
* | | | | makes tests green | Andreas Rumpf | 2016-01-15 | 1 | -1/+1 |
|/ / / | |||||
* | | | Merge branch 'devel' into new-ll | Andreas Rumpf | 2016-01-14 | 4 | -39/+178 |
|\ \ \ | | |/ | |/| | |||||
| * | | Fixed TimeInterval bug. | Dominik Picheta | 2016-01-08 | 1 | -6/+9 |
| | | | |||||
| * | | Fixed ttime test. Improved docs in times module. | Dominik Picheta | 2016-01-08 | 1 | -3/+16 |
| | | | |||||
| * | | Merge branch 'times_intervals' of https://github.com/jlp765/Nim into ↵ | Dominik Picheta | 2016-01-08 | 1 | -22/+130 |
| |\ \ | | | | | | | | | | | | | jlp765-times_intervals | ||||
| | * | | add timeinterval helping functions as per issue #3609 | JamesP | 2015-12-08 | 1 | -22/+130 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | add tests to ttime.nim for timeinterval add/subtract functionality Changed assert to doAssert in ttime.nim Added extra tests to ttime.nim Removal of singular help procs for working with TimeIntervals Added TimeIin proc toSeconds(a: TimeInfo, interval: TimeInterval) where subtracting a year gave wrong results Add overflow of units on initInterval eg, 65 seconds is 5 seconds and 1 minute | ||||
| * | | | Lexbase compatible with JS | Yuriy Glukhov | 2016-01-06 | 1 | -6/+19 |
| | | | | |||||
| * | | | Fixes docgen for lib/pure/db_common.nim. | Dominik Picheta | 2016-01-05 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | See http://forum.nim-lang.org/t/1916. | ||||
| * | | | osproc fix for Android | Yuriy Glukhov | 2016-01-04 | 1 | -2/+2 |
| | | | | |||||
* | | | | fixes calling convention for the callbacks | Andreas Rumpf | 2016-01-08 | 1 | -2/+2 |
|/ / / | |||||
* | | | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Dominik Picheta | 2015-12-29 | 2 | -3/+3 |
|\ \ \ | |||||
| * \ \ | Merge pull request #3663 from def-/netbsd-fix | Dominik Picheta | 2015-12-25 | 1 | -2/+2 |
| |\ \ \ | | | | | | | | | | | Fix osproc compilation on NetBSD, use workaround for missing execvpe | ||||
| | * | | | Fix osproc compilation on NetBSD, use workaround for missing execvpe | def | 2015-12-23 | 1 | -2/+2 |
| | | | | | |||||
| * | | | | Fix nativesockets compilation on OpenBSD and NetBSD | def | 2015-12-23 | 1 | -1/+1 |
| |/ / / | |||||
* / / / | Fixes incorrect Host header when using httpclient with proxy. | Dominik Picheta | 2015-12-29 | 1 | -5/+5 |
|/ / / | |||||
* | | | profiling doesn't require call to enableProfiling | Andreas Rumpf | 2015-12-18 | 1 | -0/+1 |
| | | | |||||
* | | | modified the integrated profiler to hopefully produce more reliable results | Andreas Rumpf | 2015-12-18 | 1 | -11/+26 |
| | | | |||||
* | | | added more column information fields | Andreas Rumpf | 2015-12-17 | 1 | -1/+6 |
| | | | |||||
* | | | big update for the db*.nim modules; uses new db_common.nim | Andreas Rumpf | 2015-12-16 | 1 | -0/+96 |
| | | | |||||
* | | | Fixing too many open files on quit command with an explicit socket close, ↵ | qio-io | 2015-12-13 | 1 | -5/+5 |
| | | | | | | | | | | | | and importing the net module | ||||
* | | | Fixed getAddrInfo on android | Yuriy Glukhov | 2015-12-08 | 1 | -1/+2 |
|/ / | |||||
* | | Merge pull request #3570 from juanfra684/patch-1 | Dominik Picheta | 2015-12-04 | 1 | -1/+3 |
|\ \ | | | | | | | OpenBSD doesn't support AI_V4MAPPED | ||||
| * | | OpenBSD doesn't support AI_V4MAPPED | Juan Francisco Cantero Hurtado | 2015-11-23 | 1 | -1/+3 |
| | | | | | | | | | Related to #3534 | ||||
* | | | Fix typo, minor rephrasing. | Federico Ceratto | 2015-12-03 | 1 | -2/+2 |
| | | | |||||
* | | | Closes: #3611 | Federico Ceratto | 2015-12-02 | 1 | -16/+25 |
| | | | |||||
* | | | Add comment at end of file on where to find further tests | JamesP | 2015-12-01 | 1 | -0/+3 |
| | | | |||||
* | | | Removal of tests from times module, that have been moved to ttime.nim test file | JamesP | 2015-12-01 | 1 | -116/+4 |
| | | | |||||
* | | | fixes memory leak for getAppFilename on Windows | Araq | 2015-11-26 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #3594 from theduke/unicode-validate-overlong | Andreas Rumpf | 2015-11-26 | 1 | -0/+1 |
|\ \ \ | | | | | | | | | validateUtf8: catch overlong ascii | ||||
| * | | | validateUtf8: catch overlong ascii | theduke | 2015-11-26 | 1 | -0/+1 |
| | | | | | | | | | | | | Make unicode.validateUtf8() check for overlong ascii representations, which are 2 bytes long and start with c0 or c1. | ||||
* | | | | fixed float formatting for js | Yuriy Glukhov | 2015-11-26 | 1 | -24/+39 |
|/ / / | |||||
* | | | Fix options module to use new import name | def | 2015-11-23 | 1 | -2/+2 |
| | | | |||||
* | | | Update comment about `map` being in system module | def | 2015-11-23 | 1 | -6/+3 |
|/ / | |||||
* | | Fix loop index bug in scan for a[s] in b[s..s+len2-1]. | Charles Blake | 2015-11-19 | 1 | -1/+1 |
| | | | | | | | | | | | | a, b must both be indexed starting from s after the common prefix "strip" phase. This resolves issue 3477: https://github.com/nim-lang/Nim/issues/3477 |