Araq
e2787c557c
mimetypes improvement: make mimetypes easier to use by allowing the extension to start with a dot which is what splitFile().ext returns
2017-11-28 17:34:30 +01:00
Alexander Ivanov
95629acd4d
Exit nodejs with programResult ( #6822 )
2017-11-28 02:30:49 +01:00
Araq
439b72b402
osproc improvement: check API consistency in order to prevent bug #6820
2017-11-28 02:19:39 +01:00
Araq
01304db5b2
re.nim: removed deprecated symbols
2017-11-28 01:57:44 +01:00
Araq
d0d02c2fe3
re.nim: Make tests green and deprecate 'parallelReplace'; it should be 'multiReplace' for consistency with strutils.nim
2017-11-28 01:57:44 +01:00
Dominik Picheta
06a4dcb17d
Implement doAssertRaises ( #6819 )
2017-11-28 01:57:25 +01:00
Yuriy Glukhov
c47ed6c537
Fixed ospaths compilation on js ( #6826 )
2017-11-28 01:52:49 +01:00
Araq
5d2e86ea1a
the documentation generator now supports ':test:' for the testing of test snippets
2017-11-28 01:15:33 +01:00
Araq
653dcb8027
cleaned up strutils.nim
2017-11-28 01:15:33 +01:00
cooldome
5e93eb9d7a
Add visual studio C4297 warning to ignore list ( #6815 )
2017-11-27 12:39:02 +01:00
Dominik Picheta
a372363190
Don't catch-all in asynchttpserver. It hides bugs.
2017-11-26 16:40:24 +00:00
Araq
2a7cfe4043
Merge branch 'devel' of github.com:nim-lang/Nim into devel
2017-11-26 03:25:21 +01:00
Araq
a720539f5e
fixes system.runnableExamples; strutils makes use of runnableExamples
2017-11-26 03:24:59 +01:00
Araq
8d1a5dc8e7
the documentation generator now supports system.runnableExamples
2017-11-26 02:51:11 +01:00
Dominik Picheta
1e709d16fb
Merge pull request #6810 from Veladus/issue-6804
...
Moved encodeUrl and decodeUrl from cgi to url
2017-11-25 16:50:28 +00:00
Veladus
27ea1750e5
Moved encodeUrl and decodeUrl from cgi to url
2017-11-25 16:55:10 +01:00
Ștefan Talpalaru
908677a313
remove goFree() ( #6808 )
...
__go_free() was removed from gcc-7.2.0 so we stop trying to help the
garbage collector by marking no longer used memory regions
2017-11-25 16:08:27 +01:00
Dominik Picheta
073c2ddd4b
Merge pull request #6802 from FedericoCeratto/nodelay
...
Add TCP_NODELAY support #6795
2017-11-25 00:32:40 +00:00
Federico Ceratto
83de3a85e7
Add TCP_NODELAY support #6795
2017-11-24 23:01:18 +00:00
andri lim
42666a5d6d
fix ordered set equality ( #6791 )
2017-11-24 14:43:49 +01:00
Fredrik Høisæther Rasch
f6a8cba7b5
Move quoteShell to ospaths ( #6794 )
...
Enables quoteShell on nimscript
2017-11-24 14:42:59 +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
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
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
konqoro
aac94e0ab5
Don't run "kde-open" and "gnome-open" under Unix ( #6426 )
2017-11-19 03:29:26 +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
WhiteDuke
963184fea6
'newEnum' proc added to macros.nim ( #6000 )
2017-11-19 00:38:44 +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
0d11e09729
fixes #6753
2017-11-18 15:19:06 +01:00
Andreas Rumpf
908a25a2ca
replaced asArray with a much more powerful mapLiterals macro
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