Andreas Rumpf
75dd3763cf
fixes #6568
2017-11-22 12:58:03 +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
844e123061
updated changelog to mention the removal of 'generic' and 'atomic'
2017-11-21 11:29:19 +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
0e67fc7450
OS X has no llvm-ar tool; use ar instead
2017-11-21 01:45:03 +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
Andreas Rumpf
5ccf69ffa3
cleaned up macros.nim
2017-11-19 13:23:04 +01:00
Andreas Rumpf
4f9e8cf313
macros.nim: deprecated ! operator
2017-11-19 13:23:04 +01:00
andri lim
b174e9f42a
fixes #5521 object variants superclass trigger bad codegen ( #6120 )
2017-11-19 13:12:26 +01:00
Jacek Sieka
035f0fb023
pass nim path to subprocess testament ( #6779 )
2017-11-19 09:22:36 +01:00
konqoro
aac94e0ab5
Don't run "kde-open" and "gnome-open" under Unix ( #6426 )
2017-11-19 03:29:26 +01:00
Ray Imber
784d2e8710
Update to list Distros module in the manual ( #6493 )
2017-11-19 03:09:39 +01:00
Andreas Rumpf
c474fdea16
further hardening of asynchttpserver
2017-11-19 03:05:55 +01:00
Andreas Rumpf
55cdaaef6f
added parseutils.parseSaturatedNatural
2017-11-19 02:58:28 +01:00
Dominik Picheta
fd350de580
Fixes #6386 . ( #6545 )
2017-11-19 02:55:03 +01:00
Yuriy Glukhov
e1ed34627f
Fixes #5979 ( #5980 )
2017-11-19 02:32:39 +01:00
WhiteDuke
963184fea6
'newEnum' proc added to macros.nim ( #6000 )
2017-11-19 00:38:44 +01:00
Andreas Rumpf
d072229975
fixes #6724
2017-11-19 00:37:36 +01:00
Andreas Rumpf
e96189c9c3
make '..' work better with mixed integer types for backwards compat
2017-11-18 23:51:54 +01:00
Andreas Rumpf
c59ab1d9c6
added a test case for bug #6776
2017-11-18 23:15:35 +01:00
Andreas Rumpf
1548743856
make tests green again
2017-11-18 23:03:16 +01:00
Andreas Rumpf
a9ac241691
fixes #6073
2017-11-18 22:13:46 +01:00
Andreas Rumpf
3fdb78fe80
fixes #5781
2017-11-18 21:47:14 +01:00
Andreas Rumpf
0d11e09729
fixes #6753
2017-11-18 15:19:06 +01:00
Andreas Rumpf
830d1bb754
fixes #6775
2017-11-18 15:09:10 +01:00
Andreas Rumpf
ddc6e2fa5b
fixes #6776
2017-11-18 15:06:50 +01:00
Bernhard M. Wiedemann
49320add23
Do not include date in binaries ( #6581 )
...
and do not claim copyright for 2018
in order to make nim package builds reproducible.
See https://reproducible-builds.org/ for why this is good.
2017-11-18 14:46:19 +01:00
Andreas Rumpf
908a25a2ca
replaced asArray with a much more powerful mapLiterals macro
2017-11-18 14:18:00 +01:00
Andreas Rumpf
5b57abe354
closes #6166
2017-11-18 14:18:00 +01:00
Andreas Rumpf
6976bf20f5
Use 'typedesc' instead of 'untyped'
2017-11-18 14:18:00 +01:00
Fredrik Høisæther Rasch
b02ecda5a0
Move asArray macro back to sequtils
...
This reverts commit 72f653c2da .
2017-11-18 14:18:00 +01:00
Fredrik Høisæther Rasch
bd2f4d1852
Revert "Move asArray and ListComprehension to new sugar module"
...
This reverts commit 9bdee89774 .
2017-11-18 14:18:00 +01:00
Fredrik Høisæther Rasch
e56db35610
Move asArray and ListComprehension to new sugar module
2017-11-18 14:18:00 +01:00
Fredrik Høisæther Rasch
e334a257fa
asarray targetType parameter does not need to be a typedesc.
2017-11-18 14:18:00 +01:00
Fredrik Høisæther Rasch
a312693250
asArray poduces a cal expression instead of a dot expression
2017-11-18 14:18:00 +01:00
Fredrik Høisæther Rasch
7744c6ce31
Moving asArray to future module
...
As per [suggestion](https://github.com/nim-lang/Nim/pull/6640#issuecomment-341565453 ) made by @Araq
2017-11-18 14:18:00 +01:00
Fredrik Høisæther Rasch
6f799e1505
Swapping asArray parameter order
...
In reaction to https://github.com/nim-lang/Nim/pull/6640#issuecomment-341528413
2017-11-18 14:18:00 +01:00
Fredrik Høisæther Rasch
3d11ef8511
Changing asArray documentation
...
in reaction to https://github.com/nim-lang/Nim/pull/6640#discussion_r148367553
2017-11-18 14:18:00 +01:00
Fredrik Høisæther Rasch
70f3226836
avoid asArray macros import when using nimscript
2017-11-18 14:18:00 +01:00
Fredrik Høisæther Rasch
5dfbeab65f
Implement an asArray macro
...
fixes #6563
2017-11-18 14:18:00 +01:00
Dominik Picheta
a583d686b4
Update docs of cookies.parseCookies. Closes #5721 .
2017-11-18 11:26:18 +00:00
cooldome
8443e3f6be
Fix compiler crash ( #6773 ) ( #6774 )
2017-11-18 09:21:37 +01:00
Andreas Rumpf
416aa921fa
fixes #6757
2017-11-17 18:02:47 +01:00
Andreas Rumpf
fccdbb3238
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2017-11-17 16:24:03 +01:00
Andreas Rumpf
e61d8166cc
fixes the second example of #6757
2017-11-17 16:23:54 +01:00