summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix row reading procs to not use SQLRowCount, but SQLFetch until returns ↵JamesP2016-01-241-54/+49
| | | | | | SQL_NO_DATA change SqlCheck() and SqlGetDBMS() to sqlCheck() and sqlGetDBMS() (camelCase consistency)
* Fixed unicode strings in JSYuriy Glukhov2016-01-221-7/+38
|
* Merge pull request #3742 from boydgreenfield/boydgreenfield-nimprof-warningAndreas Rumpf2016-01-221-1/+1
|\ | | | | Improve warning msg when -d:profiler not passed
| * Improve warning msg when -d:profiler not passedNick Greenfield2016-01-211-1/+1
| | | | | | | | Partially addresses #3741
* | Revert "Fixed unicode handling in JS. Fixes #3714."Yuriy Glukhov2016-01-211-26/+7
| |
* | Merge pull request #3754 from yglukhov/js-unsignedAndreas Rumpf2016-01-211-36/+0
|\ \ | | | | | | Unsigned arith corrected for JS
| * | Unsigned arith corrected for JSYuriy Glukhov2016-01-211-36/+0
| | |
* | | Merge pull request #3753 from yglukhov/js-streamsAndreas Rumpf2016-01-211-1/+4
|\ \ \ | | | | | | | | Dont convert string to cstring when writing to stream.
| * | | Dont convert string to cstring when writing to stream.Yuriy Glukhov2016-01-211-1/+4
| |/ /
* | | Merge pull request #3733 from yglukhov/js-unicodeAndreas Rumpf2016-01-211-7/+26
|\ \ \ | |/ / |/| | Fixed unicode handling in JS. Fixes #3714.
| * | Fixed unicode handling in JS. Fixes #3714.Yuriy Glukhov2016-01-181-7/+26
| | |
* | | Merge pull request #3735 from oderwat/FixDeprecationWarningsAndreas Rumpf2016-01-194-5/+4
|\ \ \ | |_|/ |/| | Fixed deprecation warnings while Nim compiles.
| * | Fixed deprecation warnings while Nim compiles.Hans Raaf2016-01-184-5/+4
| | | | | | | | | | | | | | | I just removed unsigned and changed a writeLn() call to writeLine() to avoid the remaining deprecation warnings.
* | | Merge branch 'devel' of https://github.com/nim-lang/Nim into develAraq2016-01-186-0/+17
|\| |
| * | Added missing modules to lib.txt and warnings to some module's docs.Dominik Picheta2016-01-186-0/+17
| | |
* | | updated version to 0.13.0Araq2016-01-182-3/+3
|/ /
* | Improved documentation for all db modules.Dominik Picheta2016-01-184-6/+134
| |
* | Merge pull request #3703 from ↵Andreas Rumpf2016-01-181-1/+13
|\ \ | | | | | | | | | | | | singularperturbation/feature/counttableref_getordefault Fix CountTableRef#getOrDefault (#3702)
| * | Fix CountTableRef#getOrDefaultSloane Simmons2016-01-091-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`.
* | | More postgres test code. Added getValue for PreparedStmts.Dominik Picheta2016-01-181-1/+12
| |/ |/| | | | | Ref #3569. Ref #3560.
* | Merge branch 'devel' of https://github.com/nim-lang/Nim into develAndreas Rumpf2016-01-173-62/+352
|\ \
| * \ Merge pull request #3728 from xyz32/develDominik Picheta2016-01-171-0/+4
| |\ \ | | | | | | | | Add support for ioctl.
| | * | Moved ioctl to posix.nimxyz2016-01-172-5/+4
| | | |
| | * | Add support for ioctl.xyz2016-01-171-0/+5
| | | | | | | | | | | | | | | | "ioctl (an abbreviation of input/output control) is a system call for device-specific input/output operations and other operations which cannot be expressed by regular system calls."
| * | | Merge pull request #3519 from jlp765/stats1Andreas Rumpf2016-01-172-62/+348
| |\ \ \ | | | | | | | | | | stats.nim pure library (moved from math lib to new lib)
| | * | | add doco for array/seq helper procsJamesP2015-11-121-0/+24
| | | | |
| | * | | added helper procs for standalone calc of stats for array/seqJamesP2015-11-121-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 residesJamesP2015-11-111-0/+1
| | | | |
| | * | | Removal of stats procs for openarray (use the RunningStat methodology)JamesP2015-11-111-20/+0
| | | | |
| | * | | add sum back in, fix min inital value, tidy up spaces inJamesP2015-11-071-11/+20
| | | | | | | | | | | | | | | | | | | | code and comment wording, add a sum test assertion
| | * | | Add RunningStat related statistics code removed from math lib,JamesP2015-11-071-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 fileJamesP2015-11-071-42/+0
| | | | |
* | | | | fixes #3720Andreas Rumpf2016-01-172-24/+16
|/ / / /
* | | | fixes strutils.unescape; refs #3634Andreas Rumpf2016-01-172-7/+10
| | | |
* | | | fixes #3720Andreas Rumpf2016-01-171-13/+13
| | | |
* | | | Merge branch 'multi-line-comments' into develAndreas Rumpf2016-01-171-1/+35
|\ \ \ \
| * | | | implements final version of multiline commentsAndreas Rumpf2016-01-171-11/+30
| | | | |
| * | | | implements multi-line-comments; pounds are stripped from the doc commentsAndreas Rumpf2016-01-161-1/+16
| | | | |
* | | | | Merge branch 'devel' of https://github.com/nim-lang/Nim into develAndreas Rumpf2016-01-172-1098/+4
|\ \ \ \ \ | |/ / / / |/| | / / | | |/ / | |/| |
| * | | add support for uint32 and uint64 in reprMichał Zieliński2016-01-161-2/+4
| | | |
| * | | Removed redis module from standard library.Dominik Picheta2016-01-161-1096/+0
| | | |
* | | | makes tests greenAndreas Rumpf2016-01-151-1/+1
|/ / /
* | | Merge branch 'devel' into new-llAndreas Rumpf2016-01-145-41/+180
|\ \ \
| * | | Made docgen emit valid XML by defaultFelix Krause2016-01-111-2/+2
| | |/ | |/|
| * | Fixed TimeInterval bug.Dominik Picheta2016-01-081-6/+9
| | |
| * | Fixed ttime test. Improved docs in times module.Dominik Picheta2016-01-081-3/+16
| | |
| * | Merge branch 'times_intervals' of https://github.com/jlp765/Nim into ↵Dominik Picheta2016-01-081-22/+130
| |\ \ | | | | | | | | | | | | jlp765-times_intervals
| | * | add timeinterval helping functions as per issue #3609JamesP2015-12-081-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 JSYuriy Glukhov2016-01-061-6/+19
| | | |
| * | | Fixes docgen for lib/pure/db_common.nim.Dominik Picheta2016-01-051-1/+3
| | | | | | | | | | | | | | | | See http://forum.nim-lang.org/t/1916.