Commit Graph

11210 Commits

Author SHA1 Message Date
Dominik Picheta
d1daccac2f Fixes #5761. 2017-05-17 16:11:26 +01:00
Dominik Picheta
427aa2d395 Fixes #4893. 2017-05-17 15:07:45 +01:00
Dominik Picheta
5262b86001 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-05-17 15:07:35 +01:00
Dominik Picheta
06415eb69d Fixes #5821 (float32 literal comparison issue) (#5825)
* Remove processing hints for async procs.
* Fixes #5821.
2017-05-17 15:57:06 +02:00
Andreas Rumpf
61a0eba14f Merge branch 'zahary' into araq2 2017-05-17 15:27:04 +02:00
Dominik Picheta
f86aca799c Remove processing hints for async procs. 2017-05-16 22:50:25 +01:00
Araq
943aaecbe7 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-05-16 22:09:37 +02:00
Yuriy Glukhov
6599cae281 Async macro fixes (#5739) 2017-05-16 22:09:19 +02:00
Araq
ac3e7edfe4 weaken the rules for proc definition pragmas that have been forwarded 2017-05-16 22:07:44 +02:00
Markus F.X.J. Oberhumer
8d3f477fad Create correct C protoypes in genMainProc. (#5822)
This avoids a -Wstrict-prototypes warning in the generated C file.
2017-05-16 21:04:12 +02:00
Araq
0f2648c56d Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-05-16 20:51:50 +02:00
Dominik Picheta
0613f08b24 More bug fixes added to list in release notes. 2017-05-16 17:53:39 +01:00
Markus F.X.J. Oberhumer
87888e8129 Ascii character code 127 (DEL) is not printable. 2017-05-16 18:09:24 +02:00
Andreas Rumpf
503f780676 Merge branch 'zahary' into araq2 2017-05-16 17:32:18 +02:00
Dominik Picheta
8dd5e94f5a Merge pull request #5019 from FedericoCeratto/json_tests
Add JSON tests based on https://github.com/nst/JSONTestSuite
2017-05-16 14:37:42 +01:00
Federico Ceratto
fcd86883ed Add waitFor on seq[Future], waitAll and more (#5189)
* Switch to unittest and speedup

* Make timers and callbacks fields public
2017-05-16 14:36:21 +01:00
Dominik Picheta
80aa02e7f9 Merge pull request #5748 from J3RN/meet-xdg-base-directory-spec
Modified ospath's getConfigDir to meet XDG spec
2017-05-16 14:11:31 +01:00
Dominik Picheta
e6827f7cc3 Merge pull request #5819 from cdunn2001/fix-5816
Use writeable file in parsecfg.writeConfig()
2017-05-16 13:48:49 +01:00
Jacek Sieka
797301ace8 add back SIG_IGN, SIG_DFL and friends to posix.nim (#5820)
* add back SIG_IGN, SIG_DFL and friends to posix.nim

accidentally wiped by ce86b4ad78

* move deprecated sig_hold after consts include
2017-05-16 13:45:09 +01:00
Andreas Rumpf
224eec595a Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-05-16 14:03:44 +02:00
Andreas Rumpf
113857c7f1 better stack trace handling 2017-05-16 14:03:33 +02:00
Christopher Dunn
117c983d13 Use writeable file in parsecfg.writeConfig()
Fixes #5816
2017-05-15 09:52:57 -05:00
Jacek Sieka
6bbf0fb64d compiler option for testament (#5713)
* compiler option for testament

* different spacing
2017-05-15 16:34:30 +02:00
Andreas Rumpf
3afd852f54 Fixes #5532 win async write (#5791)
* nimgrab tool bugfix: don't divide by zero
* fixes #5532 (asyncfile write on Windows)
* add a comment about what has been tried instead
2017-05-14 17:10:39 +02:00
jcosborn
ec50dab57d fixed macros.getTypeImpl for a symbol of type tyGenericBody (#5788) (#5812)
* fixed macros.getTypeImpl for a symbol of type tyGenericBody
* added test case and commented test code
2017-05-14 15:08:41 +02:00
Ruslan Mustakov
b826f85731 Remove unused oids import from asyncdispatch (#5811) 2017-05-14 15:07:33 +02:00
Araq
321d1f8b65 Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-05-14 15:00:34 +02:00
Mice Pápai
f5717490d9 tut1.rst: Fix alignment, Change Subrange to MySubrange for clarity (#5798)
* tut1.rst: Fix alignment

* tut1.rst: Change Subrange to MySubrange for clarity
2017-05-13 21:52:19 +02:00
Simon Krauter
40e9e751f0 Extend documenation of formatFloat() (#5799)
Added line: "If ``precision == 0``, it tries to format it nicely." (copied from formatBiggestFloat())
2017-05-13 21:50:44 +02:00
Zahary Karadjov
672c24e4b8 fix affecting templates with explicit generic params 2017-05-13 20:48:44 +03:00
Zahary Karadjov
05bfa47996 fix tinvalidinout 2017-05-13 18:51:28 +03:00
Zahary Karadjov
cdb011afdc attempt to fix a compilation problem caused by nimcache 2017-05-13 15:46:47 +03:00
Zahary Karadjov
b428da2cc2 work-around for defining imported types with weak covariance 2017-05-13 15:46:08 +03:00
Zahary Karadjov
0aede22e87 enforce the covariance rules for user-defined generic types 2017-05-13 14:38:07 +03:00
Zahary Karadjov
7e0c66ffe7 manual additions for the covariant generic parameters 2017-05-12 21:27:32 +03:00
Zahary Karadjov
2106598d30 explain covariance in the manual 2017-05-12 18:43:14 +03:00
Zahary Karadjov
f4e73344d4 covariance for arrays and sequences 2017-05-12 18:42:46 +03:00
Yuriy Glukhov
534d8a6b59 Fixed syslocks for ios (#5804) 2017-05-12 12:11:58 +02:00
Zahary Karadjov
a802d72452 doh, forgot to add all files in the previous commit 2017-05-12 12:46:09 +03:00
Ruslan Mustakov
77cadd07f9 Fix atomicInc under vcc, C++, amd64 (#5809)
Also, fixed inconsistent behaviour of atomicInc on vcc. Previously
it would return the old value, while it must return the new value.

Fixes: #5808
2017-05-12 11:24:45 +02:00
Parashurama
2e420dfa38 fixes multiple nil-checks for methods (#5806) 2017-05-12 11:21:43 +02:00
Zahary Karadjov
597ea08815 covariance for generic importc types 2017-05-12 11:46:25 +03:00
Ruslan Mustakov
29507d2491 Consider optNoCppExceptions in blockLeaveActions (#5801) 2017-05-11 22:30:48 +02:00
Andreas Rumpf
1a29069ece attempt to make nimsuggest work with choosenim 2017-05-11 17:00:50 +02:00
Dominik Picheta
e17770682c Merge pull request #5797 from knockoutMice/patch-1
Fix a typo in the Result variable block
2017-05-10 13:41:59 +01:00
Mice Pápai
2e7551f17e Fix a typo in the Result variable block 2017-05-10 14:04:38 +02:00
Yuriy Glukhov
6e0e3b75cf Fixed const sets in JS (#5790) 2017-05-10 09:29:30 +02:00
Araq
ae7fd0fced Merge branch 'devel' of github.com:nim-lang/Nim into devel 2017-05-09 17:26:54 +02:00
Dominik Picheta
fa3436fb65 Deprecate osproc.select(). Refs #90. 2017-05-09 15:14:47 +01:00
Zahary Karadjov
5e368f3639 support for external types with covariant generic params 2017-05-08 21:45:37 +03:00