Miran
bfa32e8d99
improve 'marshal' documentation, refs #10330 ( #11398 )
2019-06-04 20:54:32 +02:00
alaviss
89f6b1b2c5
appveyor: test using nim-lang.org gcc ( #11382 )
2019-06-04 18:50:32 +02:00
narimiran
6f853a747a
use proper mathematical expressions for subsets [ci skip]
...
Fixes https://github.com/nim-lang/website/issues/46
2019-06-04 14:57:04 +02:00
narimiran
e3ddc6b83a
revert unintended changes
2019-06-04 14:33:55 +02:00
narimiran
7f63c1b83d
fix c2nim link
2019-06-04 12:37:37 +02:00
narimiran
1f883f6d78
better documentation for the new shr
2019-06-04 12:29:52 +02:00
Araq
5f4e8dc4c9
added a nice test case for macro based lookup tables
2019-06-04 11:16:30 +02:00
Jasper Jenkins
55af21c662
rename (un)likely ( #11391 )
2019-06-03 20:33:24 +02:00
narimiran
d7d88ae218
disable 3 packages until they merge their pending PRs which fix failures
2019-06-03 17:12:02 +02:00
Dankr4d
9d536b90c1
Fixed "is not GC-safe as it calls 'createThread'" when creating a thread in a thread. ( #11390 )
2019-06-03 17:13:21 +02:00
ehmry
7072eaad73
Genode compiler configuration for arm64 and riscv64 ( #11389 )
...
Add compiler for arm64 and riscv64, remove path to compiler binaries.
2019-06-03 16:30:55 +02:00
Araq
7c5e7a4f6a
disable the new CaseTransition warning for the Nim compiler itself
2019-06-03 12:00:28 +02:00
LemonBoy
7d217a71d3
Render deprecated pragmas ( #8886 )
...
* Render deprecated pragmas
* fix the expected html
* clean up the documentation regarding deprecations
* fix typo
* fix system.nim
* fix random
2019-06-03 10:15:20 +02:00
Araq
64518380a5
undeprecate system.programResult until we have a good solution at hand
2019-06-03 09:35:04 +02:00
Andreas Rumpf
a68fe3d082
fixes #11364 ( #11383 )
2019-06-03 08:46:57 +02:00
alaviss
1d1c72dfbb
niminst: get rid of LINKER / LD ( #11379 )
...
* niminst: get rid of LINKER / LD
They don't seem to be used anywhere, and clashes with *nix `$LD`
2019-06-03 08:45:52 +02:00
John Paul Adrian Glaubitz
5c5df61071
Additional platform definitions for sparc64 ( #11387 )
...
* lib/posix: Define SO_REUSEPORT for sparc64 as 0x0200 from kernel ABI
* lib/system: Add platform support for sparc64
2019-06-03 08:20:00 +02:00
John Paul Adrian Glaubitz
4a485cb7ef
Add build support for Linux/alpha ( #11386 )
...
* compiler: Add alpha as target architecture on Linux
* build.sh: Enable CPU detection for alpha
2019-06-03 08:18:15 +02:00
alaviss
06f251fe4e
niminst/makefile: add windows support ( #11380 )
2019-06-02 14:25:47 +02:00
Andreas Rumpf
5eb47f8ed9
fixes #11369 ( #11381 )
2019-06-02 14:24:38 +02:00
Andreas Rumpf
c02320e230
sigmatch: use boolean algebra
2019-06-02 08:35:09 +02:00
Jjp137
9ee2ecf0a6
sets: minor documentation fixes [ci skip] ( #11377 )
...
Mainly replace a backslash, which was supposed to represent set
difference, with the Unicode symbol for set difference (U+2216).
The backslash did not appear in the output since it is used to
escape characters in reST.
Fix a few typos as well.
2019-06-02 08:29:31 +02:00
genotrance
1255b3c864
Warn about object case transitions at compile time ( #11378 )
2019-06-02 06:40:07 +02:00
Andreas Rumpf
4a35d2b571
fixes #11375 ( #11376 )
2019-06-02 06:33:35 +02:00
John Paul Adrian Glaubitz
ec038998f0
Add build support for Linux/m68k ( #11366 )
...
* compiler: Add m68k as target architecture on Linux
* build.sh: Enable CPU detection for m68k
2019-06-02 00:20:28 +02:00
John Paul Adrian Glaubitz
af0ae5830f
Add build support for Linux/sparc64 ( #11365 )
...
* compiler: Add sparc64 as target architecture on Linux
* build.sh: Use getconf for bitness detection on Linux/sparc
The isainfo utility is specific to Solaris and not available
on Linux/sparc. While getconf exists on Solaris as well, it
does not always seem to match the bitness reported by isainfo
on Solaris and isainfo should therefore be preferred on Solaris.
2019-06-01 10:45:44 +02:00
Smittyvb
40c5509a02
Make net module compile with --taintMode:on ( #11360 )
2019-06-01 10:44:40 +02:00
Jasper Jenkins
6b23b2d7df
parseopt fix ( #11363 ) [backport]
2019-06-01 10:44:08 +02:00
Ico Doornekamp
41b74db218
Added 'except X as Y' to section 'except clauses' of manual ( #11371 )
2019-06-01 10:43:25 +02:00
narimiran
3b73da310c
close #9961 by adding a test
2019-05-30 12:34:27 +02:00
narimiran
cb71564785
close #9827 by adding a test
2019-05-30 11:18:17 +02:00
narimiran
4606a00d4e
close #8573 by adding a test
2019-05-30 11:13:29 +02:00
alaviss
1d00f7f9d7
travis: cleanup & add 32-bit Linux testing ( #11337 )
2019-05-30 07:34:54 +02:00
Arne Döring
5b27b263fd
Remove immediate pragma ( #11308 )
...
* remove immediate from tests
* remove immediate from the compiler
2019-05-29 22:21:51 +02:00
Araq
eb471acffb
system.nim: minor fix for the new 'unown' template
2019-05-29 20:49:36 +02:00
Araq
9ecb1aae80
new compiler feature: --expandMacro
2019-05-29 20:47:28 +02:00
Araq
dc5fa90b43
switch should be nimOldShiftRight with the nim prefix
2019-05-29 17:06:39 +02:00
Arne Döring
88b5dd3362
right shift is now by default sign preserving ( #11322 )
...
* right shift is now by default sign preserving
* fix hashString and semfold
* enable arithmetic shift right globally for CI
* fix typo
* remove xxx
* use oldShiftRight as flag
* apply feedback
* add changelog entry
2019-05-29 16:48:00 +02:00
narimiran
897e7c90ac
fix megatest
2019-05-29 16:42:36 +02:00
Andreas Rumpf
f79b6dee33
fixes excessive newlines in testament's output ( #11351 )
2019-05-29 15:59:11 +02:00
narimiran
d654383a8e
rename a file, so that megatest doesn't complain
2019-05-29 15:44:52 +02:00
narimiran
6f5eba4b94
close #7792 by adding a test
2019-05-29 14:56:39 +02:00
narimiran
a8939686a1
close #8199 by adding a test
2019-05-29 14:47:45 +02:00
narimiran
3845faf85f
close #7615 by adding a test
2019-05-29 14:35:05 +02:00
narimiran
d1b4f1082e
close #5859 by adding a test
2019-05-29 13:37:55 +02:00
Yuriy Glukhov
6904f323aa
Fixed #9762 ( #11296 )
2019-05-29 12:11:03 +02:00
Araq
13505c3be2
added a -d:nimv019 define for compiling 0.19 code with 0.20
2019-05-29 12:01:43 +02:00
narimiran
4f989b9162
close #5235 by adding a test
2019-05-29 11:52:54 +02:00
Araq
0f4446b861
docgen: do not render the ugly <//> operator; temporary hack until 0.20 has been released
2019-05-29 10:23:39 +02:00
Andreas Rumpf
8951680c05
fixes #10889
2019-05-29 08:00:52 +02:00