Commit Graph

11210 Commits

Author SHA1 Message Date
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
Andreas Rumpf
9b075a45ae Merge pull request #3684 from jangko/codegen-openarray
fixed #2240 and #3586
2016-01-05 09:54:13 +01:00
andri lim
aebad711ea fixed #2240 and #3586 2016-01-05 07:52:56 +07:00
Andreas Rumpf
5ca65309db Merge pull request #3683 from yglukhov/osproc-droid
osproc fix for Android
2016-01-04 16:53:29 +01:00
Andreas Rumpf
93df1bc11a install_nimble script works with newest Nimble version 2016-01-04 16:37:26 +01:00
Andreas Rumpf
290b7e117e minor bugfix 2016-01-04 14:47:46 +01:00
Yuriy Glukhov
dee5f9ad4f osproc fix for Android 2016-01-04 12:52:54 +02:00
Andreas Rumpf
3d7c57db88 fixes #2659 2016-01-04 03:10:09 +01:00
Andreas Rumpf
91e9cb64e9 fixes #3201, fixes #2766 2016-01-04 02:45:20 +01:00
Andreas Rumpf
9c6d3e26cb fixes another regression 2016-01-04 02:22:29 +01:00
Andreas Rumpf
159a2ff955 fixes #3636 2016-01-04 02:04:59 +01:00
Andreas Rumpf
8fb6865b24 fixes #1725 2016-01-04 00:51:45 +01:00
Andreas Rumpf
b4c62d5fed async works again 2016-01-03 23:20:53 +01:00
Andreas Rumpf
813f98fb34 further progress on closure iterators; tforum still failing 2016-01-03 21:16:07 +01:00
Dominik Picheta
ec971a2c9d More badges for readme! 2016-01-03 15:15:45 +00:00
Andreas Rumpf
1ad69be988 next steps to produce working closure iterators 2016-01-03 15:23:07 +01:00
Andreas Rumpf
da15f6aebb Merge pull request #3667 from yglukhov/fix-lineinfo-gettype
Fixed lineinfo in getType
2016-01-01 21:10:26 +01:00
Andreas Rumpf
307a6095fa made closure iterators tests green, updated docs 2015-12-31 00:16:38 +01:00
Andreas Rumpf
2162a71c93 closure iterators do have 'result' 2015-12-30 13:32:18 +01:00
Andreas Rumpf
9cc066d99d closure iterators sometimes work 2015-12-30 00:47:15 +01: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