Araq
e80d08583c
Merge branch 'devel' of https://github.com/nim-lang/Nim into devel
2016-01-18 16:51:54 +01:00
Dominik Picheta
d79a5f5276
Added missing modules to lib.txt and warnings to some module's docs.
2016-01-18 15:33:39 +00:00
Araq
0ed29abca7
updated version to 0.13.0
2016-01-18 16:11:28 +01:00
Dominik Picheta
6ca9e5cbcc
Improved documentation for all db modules.
2016-01-18 13:34:53 +00:00
Andreas Rumpf
b0aaeaa436
Merge pull request #3703 from singularperturbation/feature/counttableref_getordefault
...
Fix CountTableRef#getOrDefault (#3702 )
2016-01-18 14:30:14 +01:00
Dominik Picheta
a34206fe84
More postgres test code. Added getValue for PreparedStmts.
...
Ref #3569 . Ref #3560 .
2016-01-18 13:19:07 +00:00
Andreas Rumpf
317e0b7aa3
Merge branch 'devel' of https://github.com/nim-lang/Nim into devel
2016-01-17 23:46:31 +01:00
Dominik Picheta
4a3e63e32f
Merge pull request #3728 from xyz32/devel
...
Add support for ioctl.
2016-01-17 22:20:32 +00:00
Andreas Rumpf
07d5adf9ee
fixes #3720
2016-01-17 22:55:14 +01:00
Andreas Rumpf
9fad7c4c2b
Merge pull request #3519 from jlp765/stats1
...
stats.nim pure library (moved from math lib to new lib)
2016-01-17 21:56:11 +01:00
Andreas Rumpf
2c2ab6884c
fixes strutils.unescape; refs #3634
2016-01-17 21:29:25 +01:00
xyz
2befe48e4d
Moved ioctl to posix.nim
2016-01-17 15:12:48 -05:00
Andreas Rumpf
b4d6346bae
fixes #3720
2016-01-17 20:40:38 +01:00
Andreas Rumpf
484e285cfd
Merge branch 'multi-line-comments' into devel
2016-01-17 20:31:08 +01:00
Andreas Rumpf
dda01cb726
Merge branch 'devel' of https://github.com/nim-lang/Nim into devel
2016-01-17 20:30:08 +01:00
Andreas Rumpf
a4aeb6fbec
implements final version of multiline comments
2016-01-17 20:29:50 +01:00
xyz
aad55ae772
Add support for ioctl.
...
"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."
2016-01-17 13:56:41 -05:00
Andreas Rumpf
2e71bd50b2
implements multi-line-comments; pounds are stripped from the doc comments
2016-01-16 21:40:54 +01:00
Michał Zieliński
26f2bb0eab
add support for uint32 and uint64 in repr
2016-01-16 17:06:03 +01:00
Dominik Picheta
eb1bedc3c2
Removed redis module from standard library.
2016-01-16 14:58:12 +00:00
Andreas Rumpf
0d4e52c648
makes tests green
2016-01-15 14:44:54 +01:00
Andreas Rumpf
1124c61c49
Merge branch 'devel' into new-ll
2016-01-14 15:01:55 +01:00
Felix Krause
708b9f90b7
Made docgen emit valid XML by default
2016-01-11 22:52:59 +01:00
Sloane Simmons
aa0d65ed70
Fix CountTableRef#getOrDefault
...
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`.
2016-01-09 21:46:47 -06:00
Dominik Picheta
fffdae32c7
Fixed TimeInterval bug.
2016-01-08 11:54:34 +00:00
Dominik Picheta
09b159b816
Fixed ttime test. Improved docs in times module.
2016-01-08 11:46:11 +00:00
Dominik Picheta
596d400825
Merge branch 'times_intervals' of https://github.com/jlp765/Nim into jlp765-times_intervals
2016-01-08 11:12:16 +00:00
Andreas Rumpf
cd707084d1
fixes calling convention for the callbacks
2016-01-08 12:08:32 +01:00
Yuriy Glukhov
589132065e
Lexbase compatible with JS
2016-01-06 16:38:27 +02:00
Dominik Picheta
9aa60add87
Fixes docgen for lib/pure/db_common.nim.
...
See http://forum.nim-lang.org/t/1916 .
2016-01-05 15:56:13 +00:00
Yuriy Glukhov
dee5f9ad4f
osproc fix for Android
2016-01-04 12:52:54 +02:00
Andreas Rumpf
250e81ceda
Merge branch 'devel' into new-ll
2015-12-29 20:45:22 +01:00
Andreas Rumpf
255177f7cd
new db_sqlite requires deadCodeElim:on because not every sqlite3_column_name
2015-12-29 20:39:52 +01:00
Andreas Rumpf
72f804671d
do not print spurious warnings when dlopen fails; can be re-enabled with -d:nimDebugDlOpen
2015-12-29 20:39:52 +01:00
Dominik Picheta
deef047f27
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2015-12-29 16:25:43 +00:00
Dominik Picheta
bf4c13711a
Fixes incorrect Host header when using httpclient with proxy.
2015-12-29 16:25:21 +00:00
Andreas Rumpf
c1627354d1
first implementation of the new lambda-lifting pass; barely anything works
2015-12-26 00:42:30 +01:00
Dominik Picheta
cbab2ecea2
Merge pull request #3663 from def-/netbsd-fix
...
Fix osproc compilation on NetBSD, use workaround for missing execvpe
2015-12-25 14:30:23 +00:00
Dominik Picheta
b822d2f616
Merge pull request #3662 from def-/openbsd-fix
...
Fix nativesockets compilation on OpenBSD
2015-12-24 23:24:17 +00:00
Dominik Picheta
a01eb098f1
Task proc in nimscript module will now export the proc it creates.
2015-12-24 17:09:58 +00:00
def
31cc1815d1
Fix nativesockets compilation on OpenBSD and NetBSD
2015-12-23 05:59:29 +01:00
def
25e862b9bc
Fix osproc compilation on NetBSD, use workaround for missing execvpe
2015-12-23 05:56:42 +01:00
Andreas Rumpf
d6fbc1425f
profiling doesn't require call to enableProfiling
2015-12-18 01:50:27 +01:00
Andreas Rumpf
f75d11193a
modified the integrated profiler to hopefully produce more reliable results
2015-12-18 01:47:39 +01:00
Andreas Rumpf
1386592aab
implements column information retrival for db_sqlite
2015-12-17 14:39:40 +01:00
Andreas Rumpf
3313170b8d
fixes InstantRow decl; implements column information retrival for db_mysql
2015-12-17 14:39:40 +01:00
Andreas Rumpf
de989e6fbd
added column_table_name proc
2015-12-17 14:39:40 +01:00
Andreas Rumpf
4e157114a6
added more column information fields
2015-12-17 14:39:40 +01:00
Hans Raaf
169cb7178b
Fixing mysql_field.
...
FIELD had the wrong size which made mysql.fetch_fields() useless.
2015-12-17 14:08:44 +01:00
Andreas Rumpf
a3c8bb9376
updated db*.nim modules
2015-12-16 21:24:13 +01:00