Commit Graph

9782 Commits

Author SHA1 Message Date
Yuriy Glukhov
ab79c36169 Use real JS bool literals instead of 1 and 0. Fixes #3722. 2016-01-17 10:44:04 +02:00
Andreas Rumpf
2e71bd50b2 implements multi-line-comments; pounds are stripped from the doc comments 2016-01-16 21:40:54 +01:00
Dominik Picheta
e93006d148 Merge pull request #3724 from zielmicha/uint-repr
add support for uint32 and uint64 in repr
2016-01-16 16:26:52 +00: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
Dominik Picheta
d0d1b396ed Added test for #600. 2016-01-16 14:29:48 +00:00
Dominik Picheta
a395182dd7 Added test for code in @def-'s comment in #1502. 2016-01-16 14:14:29 +00:00
Dominik Picheta
23cebff5fc Added test for #1512. 2016-01-16 14:09:28 +00:00
Dominik Picheta
abc72eb919 Added test for #1642. 2016-01-16 14:02:25 +00:00
Dominik Picheta
19ea2672c5 Added test for #1846. 2016-01-16 13:58:40 +00:00
Dominik Picheta
ac71ece673 Added test for #1911. 2016-01-16 13:56:44 +00:00
Dominik Picheta
bc65a7c76b Added test for #1923. 2016-01-16 13:54:28 +00:00
Dominik Picheta
40ae1ad363 Added test for #2138. 2016-01-16 13:49:37 +00:00
Dominik Picheta
b6e8a1437b Added test for #3304 2016-01-16 13:32:26 +00:00
Andreas Rumpf
2910096cce updated the documentation for the 'do' notation 2016-01-16 13:43:22 +01:00
Andreas Rumpf
00651d4afc Merge branch 'crazy_concurrency' into no-echo-gotcha 2016-01-16 13:14:47 +01:00
Andreas Rumpf
480f36983a todo update 2016-01-16 13:09:28 +01:00
Andreas Rumpf
82a00c364f Merge branch 'devel' into no-echo-gotcha 2016-01-15 23:21:50 +01:00
Andreas Rumpf
34a783a61c fixes #3723 2016-01-15 14:56:01 +01:00
Andreas Rumpf
0d4e52c648 makes tests green 2016-01-15 14:44:54 +01:00
Andreas Rumpf
46f1f41cc9 finally removes 'echo ' gotcha 2016-01-15 11:34:52 +01:00
Andreas Rumpf
9429e0f064 documented upcoming changes 2016-01-15 11:28:05 +01:00
Andreas Rumpf
02a0782389 fixes yet another codegen problem with constant closures 2016-01-15 01:50:52 +01:00
Andreas Rumpf
35b65e6f4e Merge branch 'devel' into new-ll 2016-01-14 15:05:48 +01:00
Andreas Rumpf
2e62090ec3 Merge pull request #3500 from nanoant/patch/fix-3498-generic-args-in-tmpl
fixes #3498
2016-01-14 15:03:53 +01:00
Andreas Rumpf
1124c61c49 Merge branch 'devel' into new-ll 2016-01-14 15:01:55 +01:00
Andreas Rumpf
3838cd0066 fixes iterator codegen regression 2016-01-14 10:52:18 +01:00
Andreas Rumpf
522f8f1cc6 Merge pull request #3707 from flyx/devel
Made docgen emit valid XML by default
2016-01-13 18:30:15 +01:00
Andreas Rumpf
15c63b8011 fixes a long standing codegen bug concerning closures 2016-01-13 16:06:31 +01:00
Andreas Rumpf
9097033b4e fixes yet another regression 2016-01-13 13:47:13 +01:00
Andreas Rumpf
6fbde1f4fb fixes another regression 2016-01-13 11:36:34 +01:00
Andreas Rumpf
d0709cc758 fixes more regressions 2016-01-13 03:03:59 +01:00
Felix Krause
708b9f90b7 Made docgen emit valid XML by default 2016-01-11 22:52:59 +01:00
Andreas Rumpf
5be6c95d21 fixes async regression 2016-01-11 11:11:44 +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
0844941b35 fixes regressions 2016-01-08 12:08:42 +01:00
Andreas Rumpf
cd707084d1 fixes calling convention for the callbacks 2016-01-08 12:08:32 +01:00
Dominik Picheta
2a08a3db56 Apparently rst comments work differently. Fix http://forum.nim-lang.org/t/1932. 2016-01-07 23:27:22 +00:00
Andreas Rumpf
3f4857ef4b Merge pull request #3692 from yglukhov/lexbase-js
Lexbase compatible with JS
2016-01-06 20:39:23 +01:00
Yuriy Glukhov
589132065e Lexbase compatible with JS 2016-01-06 16:38:27 +02:00
Andreas Rumpf
98cc99cbcf fixes all known regressions 2016-01-06 11:26:52 +01:00
Andreas Rumpf
dfe01bbe69 fixes #603 2016-01-06 02:29:27 +01: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
Andreas Rumpf
4d10937a30 fixes regressions 2016-01-05 15:39:49 +01:00
Andreas Rumpf
bb8b1c3b57 fixes #2604, fixes #1527 2016-01-05 14:59:43 +01:00
Andreas Rumpf
1a2bda45ec fixes #2007 2016-01-05 10:20:24 +01:00
Andreas Rumpf
164ebb6762 made test green 2016-01-05 10:19:36 +01:00