Commit Graph

2595 Commits

Author SHA1 Message Date
Araq
1a5a09b835 make tfragment_gc more robust 2017-12-12 19:35:40 +01:00
jcosborn
96a5062b8c modify getTypeImpl to reduce result to final implementation (#6891)
* added test case for getTypeImpl
* modify getTypeImpl to reduce result to final implementation
2017-12-09 13:07:37 +01:00
Mathias Stearn
b87ef65532 Use addCallback rather than callback= in asyncfutures.all() (#6850)
* Use addCallback rather than callback= in asyncfutures.all()

Addresses part of #6849

* Stop using do notation for #6849

* Update example style
2017-12-09 00:55:04 +00:00
Andreas Rumpf
f70d967d2c fixes #6889 2017-12-08 23:31:06 +01:00
Araq
b0c682de4d Merge branch 'devel' into araq-new-mm2 2017-12-08 10:06:56 +01:00
Araq
eae1aaa377 fixes another sighashes problem 2017-12-08 10:06:20 +01:00
Andreas Rumpf
a9b8f38366 change tfragment_gc test for appveyor 2017-12-08 00:19:28 +01:00
Andreas Rumpf
c99654a78e lets see what appveyor reports as the used memory 2017-12-07 20:30:51 +01:00
Araq
c96e1d0180 enable fragmentation tests 2017-12-07 17:03:15 +01:00
Araq
226532f8f3 cleanup todo.txt 2017-12-07 15:58:46 +01:00
Araq
7e7ce19ec1 GC test workaround: use a lock for 'echo' for Windows 2017-12-07 13:14:28 +01:00
jcosborn
35d7a99b6a fix getTypeInst for tyGenericInst (#6868) 2017-12-04 17:37:25 +01:00
Alexander Ivanov
1699d7c2a4 Implement codegenDecl for js (#6851) 2017-12-01 15:42:10 +01:00
Araq
96b7c2481c make tests green again 2017-12-01 10:18:49 +01:00
Andreas Rumpf
8646a56738 Merge branch 'nexecProcesses' of https://github.com/cheatfate/Nim into cheatfate-nexecProcesses 2017-12-01 02:06:51 +01:00
Andreas Rumpf
547961f71e dotops: add a simple object delegation test 2017-12-01 02:05:48 +01:00
Araq
f9ddd00d3a Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-12-01 01:52:12 +01:00
Araq
fa92c519aa more progress on destructors; removed old destructor based code as it proved confusing 2017-12-01 01:52:00 +01:00
Dominik Picheta
578ab935cb Support all int, uint and float variants in json.to macro. 2017-11-30 21:34:30 +00:00
Dominik Picheta
2bb2e6975e Fix infinite recursion when using json.to on ref with cycle. 2017-11-30 21:34:30 +00:00
Dominik Picheta
8d61262372 Implement support for JsonNode in json.to. 2017-11-30 21:34:30 +00:00
Dominik Picheta
8187e83645 Implement Table/OrderedTable support for json.to macro. 2017-11-30 21:34:30 +00:00
Dominik Picheta
8ca41ce637 Implement support for Option[T] in json.to macro. Fixes #5848. 2017-11-30 21:34:30 +00:00
Dominik Picheta
d3c9b58c00 Fixes #6604. Rejects unnamed tuples with error. 2017-11-30 21:34:30 +00:00
Dominik Picheta
e0681715dc Fixes #6095. 2017-11-30 21:34:30 +00:00
Dominik Picheta
11fcae5705 Fixes #5856. Code based on @loloiccl's PR (#5879). 2017-11-30 21:34:30 +00:00
Araq
fcad56c804 make tests green again 2017-11-29 14:52:50 +01:00
Anatoly Galiulin
c343303efe Fix usage of parameters types in templates #6756 (#6768) 2017-11-29 01:34:30 +01:00
Dominik Picheta
5a58caa9c1 Merge pull request #6817 from nim-lang/fixes-6223
Fixes #6223.
2017-11-29 00:32:07 +00:00
Araq
c00de13e1f closes #985 2017-11-29 00:19:27 +01:00
Araq
d065931991 destructors: harden the test case 2017-11-29 00:02:49 +01:00
Araq
c43f718301 destructors: some improvements for bug #4214: object constructors are moved too 2017-11-29 00:01:27 +01:00
Dominik Picheta
b74a5148a9 Fixes #6223. 2017-11-28 14:33:53 +00:00
cheatfate
c6c0d28a4f Refactored version of execProcesses with test. 2017-11-28 14:03:09 +02:00
Dominik Picheta
4d931c6276 Add an attempted reproduction for #5531. 2017-11-26 22:52:39 +00:00
Araq
14468e2336 make tests green again 2017-11-23 14:37:53 +01:00
Araq
96ddf6972d fixes #3993 2017-11-23 03:12:09 +01:00
Araq
8a601669ef fixes #6489 2017-11-23 02:32:51 +01:00
Araq
6f69bdd3a0 closes #6121 2017-11-23 01:22:12 +01:00
Araq
df13b2a892 fixes #6555 2017-11-23 01:17:13 +01:00
Araq
a6226d9452 fixes #6682 2017-11-22 23:39:50 +01:00
Dominik Picheta
d3394be555 Async upcoming (#6585)
* Merge upcoming async with current.
* Various improvements to selectors (mostly docs).

Two changes to highlight:

* Renamed ``setEvent`` to ``trigger``
* Reused setBlocking from nativesockets.
* Various changes/fixes to asyncdispatch after upcoming merge.
* Make some attempts to be compatible with older selectors.
* Reuse epoll module in ioselectors_epoll.
2017-11-22 15:43:10 +01:00
Andreas Rumpf
fe18769fe1 fixes #6753 2017-11-22 12:58:03 +01:00
Fabian Keller
6abdd7cbf6 Added 'lenient ops' module (#6754)
* added 'lenient ops' module

* made lenient ops inline/noSideEffect; updated copyright

* moved tests into external module

* added warning for the '==' operator

* mentioned lenientops in the standard library overview

* removed test on nimout -- too fragile

* removed `==` and moved doc link to core section
2017-11-21 13:22:27 +01:00
Andreas Rumpf
9460fcfed2 make tests green again 2017-11-21 12:29:58 +01:00
Andreas Rumpf
cae5e33a4a language change: 'generic' and 'atomic' are not keywords anymore 2017-11-21 11:27:35 +01:00
Andreas Rumpf
58187f2120 added a warning that the .deprecate statement is unreliable for routines 2017-11-21 11:27:35 +01:00
Araq
1bbab827c4 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-11-21 01:42:58 +01:00
Araq
fba5f5acd6 added a version of macros.expectLen that takes min/max values 2017-11-21 01:42:53 +01:00
Andreas Rumpf
2ad49836d9 make tests green again 2017-11-19 20:09:38 +01:00