Commit Graph

112 Commits

Author SHA1 Message Date
Dominik Picheta
0613f08b24 More bug fixes added to list in release notes. 2017-05-16 17:53:39 +01:00
Dominik Picheta
80aa02e7f9 Merge pull request #5748 from J3RN/meet-xdg-base-directory-spec
Modified ospath's getConfigDir to meet XDG spec
2017-05-16 14:11:31 +01:00
jcosborn
ec50dab57d fixed macros.getTypeImpl for a symbol of type tyGenericBody (#5788) (#5812)
* fixed macros.getTypeImpl for a symbol of type tyGenericBody
* added test case and commented test code
2017-05-14 15:08:41 +02:00
Ruslan Mustakov
ecf278c467 Implement dial, support IPv6 in httpclient (#5763)
* Implement dial, support IPv6 in httpclient

Added ``dial`` procedure to networking modules: ``net``, ``asyncdispatch``,
``asyncnet``. It merges socket creation, address resolution, and connection
into single step. When using ``dial``, you don't have to worry about
IPv4 vs IPv6 problem.

Fixed addrInfo loop in connect to behave properly.
Previously it would stop on first non-immediate failure, instead of
continuing and trying the remaining addresses.

Fixed newAsyncNativeSocket to raise proper error if socket creation
fails.

Fixes: #3811

* Check domain during connect() only on non-Windows

This is how it was in the previous implementation of connect().

* Call 'osLastError' before 'close' in net.dial

* Record osLastError before freeAddrInfo in net.dial

* Add missing docs for 'dial' proc

* Optimize dial to create one FD per domain, add tests

And make async IPv6 servers work on Windows.

* Add IPv6 test to uri module

* Fix getAddrString error handling
2017-05-02 09:25:50 +02:00
Jonathan Arnett
eb9721a804 Added getConfigDir changes to breaking changes doc 2017-04-28 14:34:24 -04:00
Dominik Picheta
a025901011 Document breaking AsyncResponse change. Refs #5726. 2017-04-28 19:44:17 +02:00
Jacek Sieka
0055729755 WIFSIGNALED means process has exited too (with a bang!) (#5678) 2017-04-27 21:39:32 +02:00
Zahary Karadjov
02243410fd News items for previous commit 2017-04-06 00:46:18 +03:00
Andreas Rumpf
ac81a99892 make tests green again 2017-04-04 18:05:53 +02:00
Andreas Rumpf
08f5087d2c remove the need for the .procvar annotation 2017-04-03 16:35:41 +02:00
Andreas Rumpf
f520dfbfab remove en-dash from the language 2017-04-02 23:41:29 +02:00
Andreas Rumpf
d587b6a25f language addition: colon-block for expressions in let/var context 2017-04-02 23:38:55 +02:00
Araq
57246cbcec updated news to take PR #5390 into account 2017-03-31 22:14:13 +02:00
Andreas Rumpf
1268ca79e5 fixes #5599 (#5610) 2017-03-26 09:30:59 +02:00
jcosborn
3bffb3ba35 fix getTypeImpl for tyEnum (#5568)
* fixed getTypeImpl for tyEnum
* fixed getType for enum and updated release notes about change
2017-03-19 20:34:27 +01:00
Araq
156bd29c68 update news.rst about the breaking changes 2017-03-18 21:13:27 +01:00
zah
650b20dc5e fix varargs forwarding for templates; fixes #5455 (#5505)
* fix varargs forwarding for templates; fixes #5455
* document the macros' varargs change in the news for 0.16.2
2017-03-13 22:02:11 +01:00
c-blake
d59441340d Fixes incorrect fd==0 test on Unix; Conserves handles by default. (#5512)
* Fix 2 problems.  First, 0 is a valid fd on Unix (easily gotten if user first
closes all fds and then starts using memfiles).  Use -1 instead for an invalid
fd.  Second, it is best practice to conserve open fds on Unix and file handles
on Windows.  These handles are not needed unless the user wants to remap the
memory with ``mapMem`` (or a hypothetical future ``proc resize``).  Adding a
new bool param ``allowRemap=false`` to ``memfiles.open`` solves this cleanly
in a "mostly" backward compatible way.  This is only "mostly" because the
default ``false`` case does not keep unneeded resources allocated, but that
most sensible default means that any ``mapMem`` callers need to fix all their
open calls to have allowRemap=true, as this PR also does for tmemfiles2.nim.
* Include backwards compatibility note.
2017-03-12 20:45:10 +01:00
Araq
53f4bdad23 minor news.rst update 2017-02-26 17:41:00 +01:00
Araq
8f426b974a new feature: .used pragma to suppress declared-but-not-used warning 2017-02-17 18:03:56 +01:00
Dominik Picheta
4c683e90ec Fix rst parse problem in version 0.16.2 news. 2017-02-14 21:09:49 +01:00
Ruslan Mustakov
92665e6e9a Add hash proc for cstrings (#5386) 2017-02-13 13:38:30 +01:00
Araq
b3dcef6616 updated news 2017-02-08 14:32:44 +01:00
Dominik Picheta
d5bb5e832b Merge branch 'devel' into feature/3691 2017-02-07 18:34:05 +01:00
Dominik Picheta
1b9270d08b Adds bug fix list to 0.16.2 announcement. 2017-02-06 22:05:56 +01:00
Dominik Picheta
3cbfd56e1d Fixes #3691. 2017-02-01 21:11:40 +01:00
Yuriy Glukhov
0d735aa73c Added news 2017-01-20 13:06:03 +02:00
Araq
fc636e2d12 updated to version 0.16.0 2017-01-07 21:44:40 +01:00
Dominik Picheta
961096b564 Add 0.16.0 release notes. 2017-01-07 14:37:46 +00:00
Araq
763c783bdf added distros.nim stdlib module for NimScript/Nimble support 2016-12-31 02:04:27 +01:00
Andreas Rumpf
e1828733f1 fixes #4519 2016-12-25 15:26:32 +01:00
Andreas Rumpf
4e481cc316 implements module grouping for the import statement 2016-12-21 22:13:50 +01:00
Andreas Rumpf
b013430929 reworked emit pragma; fixes #4730 2016-12-17 14:20:57 +01:00
John Novak
3fcb8a3246 Add terminalHeight, terminalHeightIoctl & terminalSize 2016-11-30 21:29:35 +10:00
Andreas Rumpf
6a83306b5f Merge pull request #5060 from johnnovak/terminal-showhide-cursor
Add hideCursor & showCursor
2016-11-28 13:32:42 +01:00
John Novak
8378a75267 Update changelog 2016-11-27 20:54:46 +10:00
Ruslan Mustakov
2c146445bc Added deques module, deprecating queues 2016-11-24 19:11:51 +07:00
Andreas Rumpf
01ae0d28d4 recursive modules are only detected to improve error messages 2016-11-24 12:27:21 +01:00
Araq
074f276c8a disallow recursive module dependencies 2016-11-23 23:23:31 +01:00
Dominik Picheta
0c527c6d80 Add new article about Nim in Action. 2016-11-20 20:57:46 +01:00
Felix Krause
88f152e7dd Improved news formatting 2016-11-01 21:31:14 +01:00
Felix Krause
5d438ab05b info about TimeInfo.tzname in news 2016-11-01 21:29:19 +01:00
andri lim
bd560d6a4e fixes #4915 2016-10-27 12:22:12 +07:00
Araq
06e03099e4 news entry for upcoming changes 2016-10-24 17:41:02 +02:00
Araq
0091515980 website updates 2016-10-23 15:57:36 +02:00
Araq
5cb50364eb updated news entry 2016-10-23 06:47:15 +02:00
Andreas Rumpf
6ce462c58a Updated the installation instructions 2016-10-21 12:31:59 +02:00
Andreas Rumpf
542e4fdcf2 website updates 2016-10-21 01:10:49 +02:00
Araq
9372fbe36e website updated 2016-10-01 01:34:25 +02:00
Dominik Picheta
871a3bedc4 Finishes news article for 0.15.0 release. 2016-09-30 23:23:20 +02:00