Commit Graph

5453 Commits

Author SHA1 Message Date
Dominik Picheta
d3c9b58c00 Fixes #6604. Rejects unnamed tuples with error. 2017-11-30 21:34:30 +00:00
Dominik Picheta
e0681715dc Fixes #6095. 2017-11-30 21:34:30 +00:00
Dominik Picheta
11fcae5705 Fixes #5856. Code based on @loloiccl's PR (#5879). 2017-11-30 21:34:30 +00:00
Andreas Rumpf
33814cf63e language change: change how the experimental dot operators work 2017-11-29 13:31:31 +01:00
Andreas Rumpf
5196cc3a54 Merge branch 'devel' into fixes-6223 2017-11-28 21:56:48 +01:00
Dominik Picheta
45821ea2ab Fixes #4377. 2017-11-28 21:55:29 +01:00
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
Dominik Picheta
b74a5148a9 Fixes #6223. 2017-11-28 14:33:53 +00: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