Federico Ceratto
64da338a8b
Update makefile and buildsh templates for riscv64 ( #9351 )
...
(cherry picked from commit e435dbd35e )
2018-11-01 17:36:25 +01:00
Miran
e718dc75c5
Merge tests into a larger file (part 2 of ∞) ( #9335 )
...
* merge controlflow tests
* merge distinct tests
* merge enum tests
* merge fields tests
* merge implicit tests
* merge iter issues tests
(cherry picked from commit 3c9fcc4c30 )
2018-11-01 17:36:14 +01:00
Tomohiro
495585bc1e
manual: Fix links to Parallel & Spawn ( #9342 )
...
(cherry picked from commit eb4272ba1c )
2018-11-01 17:36:02 +01:00
eqperes
7de3bcfb8e
Proposed solution for issue #8919 ( #9280 )
...
* Proposed solution for issue #8919
* count sub/subs must be non-empty
(cherry picked from commit 14925ee8b6 )
2018-11-01 17:35:29 +01:00
Jacek Sieka
7cf3944c38
Testament pre parallel ( #9137 )
...
* testament: move to root dir (it's not a test)
* osproc: fix process index passed to afterRunEvent for parallel runs
it was passing the index of the process, not index of all commands
* testament: complete file move
(cherry picked from commit 97738a4f28 )
2018-11-01 17:35:08 +01:00
Miran
44f5c7e90f
Merge tests into a larger file (part 1 of ∞) ( #9318 )
...
* merge actiontable tests
* merge arithm tests
* merge array tests
* merge assign tests
* merge bind tests
* merge casestmt tests
* merge closure tests
* merge cnt seq tests
* merge collections tests
* merge concept issues tests
* merge concept tests
* fix failing tests
* smaller outputs
Use `doAssert` where possible.
* fix wrong output
* split `tcomputedgoto`
* revert merging concepts
* fix failing test
(cherry picked from commit 7f18d7cbc1 )
2018-11-01 17:34:33 +01:00
Tomohiro
faa9e7a582
manual: Remove stmt or expr template related text from manual ( #9321 )
...
(cherry picked from commit d2b04a8bc7 )
2018-11-01 17:33:17 +01:00
Araq
596524d2ec
fixes #9306
...
(cherry picked from commit 8ab6fa1be2 )
2018-11-01 17:32:41 +01:00
Andrea Ferretti
fde803745e
Clarify that term rewriting macros are applied recursively ( #9305 )
...
Fixes https://github.com/nim-lang/Nim/issues/9288 fixes https://github.com/nim-lang/Nim/issues/8376 and fixes https://github.com/nim-lang/Nim/issues/2901
(cherry picked from commit 160f8599c6 )
2018-11-01 17:32:32 +01:00
eqperes
8a9680e3a2
compile date and compile time tz written in doc ( #9283 )
...
(cherry picked from commit 00c4aba828 )
2018-11-01 17:32:21 +01:00
Oscar Nihlgård
291d7499a4
Fix OrderedSet.excl ( #9287 )
...
(cherry picked from commit eade49d7a7 )
2018-11-01 17:31:56 +01:00
Timothee Cour
b5bb48dbd2
fix #9295 ( #9299 )
...
(cherry picked from commit 0aac5c9725 )
2018-11-01 17:31:36 +01:00
xzfc
73a7d1456c
Fix tests on NixOS ( #9209 ) ( #9285 )
...
* Replace `/bin/sleep` with just `sleep`, i.e. use environment variable
`$PATH` to locate binary.
* Replace `/usr/share/zoneinfo` with `$TZDIR` when it is defined,
fallback to hardcoded path otherwise. This is the same behavior that
Glibc2 normally have, see man 3 tzset.
(cherry picked from commit 8ed3dac1dc )
2018-11-01 17:31:25 +01:00
eqperes
65c2f19cff
Documentation improved for math module
2018-11-01 17:30:51 +01:00
manterolat
a5aad7ff59
Fixes #9154 ( #9193 )
...
(cherry picked from commit 16a941a642 )
2018-11-01 17:29:20 +01:00
Miran
0714de4f3b
Iter test: closes #3819 ( #9272 )
...
(cherry picked from commit 462bff48b2 )
2018-11-01 17:29:10 +01:00
Timothee Cour
41e2f6b7bc
fix #9264 regression ( #9265 )
...
(cherry picked from commit 77f836b403 )
2018-11-01 17:28:57 +01:00
Miran
46f0c7c554
better docs for tables module ( #9221 )
...
* better docs for `tables` module
* lower case for the first sentence in docs
(cherry picked from commit 98a8868cb4 )
2018-11-01 17:28:42 +01:00
Timothee Cour
b0618ffe17
fix tests/generics/t8694.nim: runnableExamples were not run because of #9216 ( #9262 )
...
(cherry picked from commit 63c00d7be9 )
2018-11-01 17:28:26 +01:00
Kaushal Modi
d1114d0995
Do not encode the anchors in docs (id attr in a tags) ( #9261 )
...
Update the tests too.
Fixes https://github.com/nim-lang/Nim/issues/9232 .
(cherry picked from commit c6dfbfc2cf )
2018-11-01 17:28:15 +01:00
hlaaf
8120d8bede
Separate high/low/len docs for each overload ( #8816 )
...
(cherry picked from commit c68ea019f9 )
2018-11-01 17:27:53 +01:00
Dominik Picheta
7ff17aff5f
Fixes #8994 . FutureStream read procedure data loss no longer occurs. ( #9183 )
...
* Fixes #8994 . FutureStream read procedure data loss no longer occurs.
* Optimises the fix for #8994 .
(cherry picked from commit 21ecf64d24 )
2018-11-01 17:27:35 +01:00
Yasuhiro Horimoto
f2a44aa8cf
Fixes #8841 ( #9101 )
...
Modify comments for readChar and peekChar to the same as the comment for them in the source code.
(cherry picked from commit fe19670c52 )
2018-11-01 17:27:28 +01:00
technicallyagd
1e1a43dd23
Fixes some minor typos in nimsuggest.rst ( #9223 )
...
* Fix Minor typo in nimsuggest.rst
* Fixes two more typo in nimsuggest.rst
(cherry picked from commit 85187d4ba3 )
2018-11-01 17:27:10 +01:00
LemonBoy
0f080fdce3
Fix range type construction in the VM ( #9205 )
...
The `range[X,Y]` representation is wrong, we use `range[X .. Y]`
instead.
Fixes #9194
(cherry picked from commit 8a1055adce )
2018-11-01 17:26:50 +01:00
cooldome
221c67b880
fixes #9222 ( #9224 )
...
(cherry picked from commit 036c52f0b6 )
2018-11-01 17:26:15 +01:00
Timothee Cour
2923eb08ab
[os] clarify docs for existsDir ( #9212 )
...
* Update os.nim
* Update os.nim
(cherry picked from commit 73e6b229aa )
2018-11-01 17:26:06 +01:00
LemonBoy
ddd54a3413
Prevent the construction of recursive tyStatic types ( #9256 )
...
Fixes #9255
(cherry picked from commit b8d2f79ef0 )
2018-11-01 17:25:51 +01:00
Dheepak Krishnamurthy
ffeb3c6cec
Add checks for except: body blocks ( #9191 )
...
(cherry picked from commit 70018aa683 )
2018-11-01 17:25:30 +01:00
jcosborn
82896abcbe
fixes #4435 ( #9185 )
...
(cherry picked from commit dd65986795 )
2018-11-01 17:25:07 +01:00
Juan Carlos
4e9686d1a9
HTMLGen Update, Add runnableExamples, Add HTML Tags center, details, dialog, marquee, picture, slot, summary ( #9252 )
...
(cherry picked from commit bc557e4c6a )
2018-11-01 17:24:04 +01:00
LemonBoy
d29fc8c693
Replace the sha1 implementation w/ a working one ( #9242 )
...
As #9239 points out the old implementation had some serious flaws.
The new implementation is a port of the MIT-licensed one used by
Chromium OS and has been tested against the FIPS-provided vectors and by
generating huge files like the ones mentioned in the issue above.
While I tried my best to take into account the existence of BE machines
the code has only been tested on a LE one.
(cherry picked from commit 18023c023d )
2018-11-01 17:23:49 +01:00
Araq
66c0f7c3fb
development version is 0.19.1
2018-10-09 10:31:27 +02:00
Miran
cd5049e078
[cleanup] remove web folder ( #9233 )
...
Closes #7577
2018-10-08 20:42:38 +02:00
Timothee Cour
7cadb5a65d
build_all.sh fix bug introduced in https://github.com/nim-lang/Nim/pull/9145
...
/cc @valtron printf doesn't include trailing newline, unlike echo
2018-10-08 14:07:09 +02:00
Timothee Cour
403f5aea14
define NIM_NIL nullptr when __cplusplus >= 201103L
2018-10-08 14:05:43 +02:00
Dominik Picheta
269b957e29
Merges #8451 manually. Fixes #8099 .
2018-10-03 21:25:11 -07:00
Dominik Picheta
8c2f576527
Merge pull request #9171 from flaviut/fix-9053
...
Use runnableExamples for nre example code where possible
2018-10-03 20:43:47 -07:00
Timothee Cour
64ae47e6f0
Update macros.nim ( #9182 )
...
* Update macros.nim
* Update macros.nim
2018-10-03 20:33:57 -07:00
Flaviu Tamas
f55580383c
Use runnableExamples for example nre code
2018-10-03 16:39:43 -04:00
Andreas Rumpf
5ea0bf1940
koch tools: build Nimble in release mode
2018-10-03 22:19:45 +02:00
Andreas Rumpf
4b845d8edb
Merge pull request #9168 from timotheecour/patch-4
...
add link to https://nim-lang.github.io/Nim/ in readme.md
2018-10-03 21:00:54 +02:00
Andreas Rumpf
6e09f40c4e
Merge pull request #9167 from LemonBoy/fix-asyncmacro-regression
...
Fix regression w/ templates defined in async proc
2018-10-03 19:20:33 +02:00
Timothee Cour
d3ea56ad15
add link to https://nim-lang.github.io/Nim/ in readme.md
2018-10-03 09:46:40 -07:00
LemonBoy
2c0bfb34fd
Fix regression w/ templates defined in async proc
2018-10-03 18:25:25 +02:00
Steve Kellock
91c13a0163
[docs/json]: expands existing examples + shows {} operator in action ( #9157 )
...
* [docs/json]: expands existing examples + shows {} operator in action
* adds import stmt and fixes butchered syntax in json examples
2018-10-02 20:47:21 -07:00
Dominik Picheta
afd5b00310
Merge pull request #9152 from barbeque/4934-remove-old-install-scripts
...
Remove install_nimble.nims, install_tools.nims as per #4934
2018-10-02 20:03:45 -07:00
Araq
82693514c5
attempt to fix the .line pragma
2018-10-03 01:25:47 +02:00
Araq
1428aeccfb
closes #5868
2018-10-03 00:08:45 +02:00
Araq
9bd23b2d4c
nimbase.h: use 0 instead of nullptr because travis' C++ compiler doesn't know nullptr
2018-10-03 00:01:48 +02:00