Commit Graph

3733 Commits

Author SHA1 Message Date
Andreas Rumpf
e867c8e5c3 Merge branch 'devel' into fix_issues_9126 2018-10-01 14:15:35 +02:00
Araq
5298c509a7 fixes #9126 2018-10-01 12:51:44 +02:00
Yasuhiro Horimoto
aa8249d177 Fix #9126: use splitPath instead of substr 2018-09-30 23:20:14 +09:00
Andreas Rumpf
2dfd09b1be Merge pull request #9115 from mashingan/fix-json-aliased
Fix #9111; error when parsing to aliased type field
2018-09-29 13:27:37 +02:00
Araq
4f8cf945fb docs: remove most stale links; refs #9109 2018-09-29 11:23:29 +02:00
mashingan
5624036251 Fix #9111; error when parsing to aliased type field 2018-09-29 15:48:01 +07:00
Kaushal Modi
903886396d Don't prevent ',' from getting escaped in theindex.html
- Enable escaping of links in theindex.html
- Fixes https://github.com/nim-lang/Nim/issues/9107.
- Second part of the fix for https://github.com/nim-lang/Nim/issues/9097.
2018-09-28 15:39:22 -04:00
Dominik Picheta
acf4e02514 Merge pull request #9057 from LemonBoy/fix-9055
Make getSockDomain work with AF_UNIX sockets
2018-09-25 05:00:09 -07:00
Leorize
bd3463f776 cpuinfo: fix compilation for 32bit Haiku 2018-09-25 15:47:23 +07:00
Araq
8029a649ba math.nim: document what to use instead of 'fmod' 2018-09-25 00:10:21 +02:00
LemonBoy
d87606b100 Make getSockDomain work with AF_UNIX sockets
Fixes #9055
2018-09-24 17:26:45 +02:00
Leorize
8cc1c55620 os: add getAppFilename() implementation for Haiku 2018-09-24 21:01:55 +07:00
Andreas Rumpf
c1aecb8914 os.nim: allow walkDir to work on hierarchies with dangling symbolic links; refs #9034 2018-09-24 13:15:55 +02:00
Andreas Rumpf
a2587aad0d Merge pull request #9035 from LemonBoy/fix-3075
Skip nested procedures in .async. macro
2018-09-22 20:18:13 +02:00
LemonBoy
75a981cf80 Skip nested procedures in .async. macro
Fixes #3075
2018-09-22 17:30:17 +02:00
Leorize
08c6484298 ioselectors_poll: don't pollRemove() if not needed
pollAdd() is called only if events set isn't empty.
2018-09-22 14:01:05 +07:00
Andreas Rumpf
0951b5b736 Merge pull request #9011 from LemonBoy/fix-9008
Convert *_family fields to cushort
2018-09-19 18:03:30 +02:00
Andreas Rumpf
541debe6e1 stdlib: minor changes to avoid compiler warnings 2018-09-19 15:39:10 +02:00
LemonBoy
a27429304e Convert *_family fields to cushort
Fixes #9008
2018-09-19 12:33:11 +02:00
Vindaar
e9addb3ab2 fix #8925 by using getTypeInst instead of getType 2018-09-17 19:34:40 +02:00
Andreas Rumpf
0330fb2e13 fixes #8911 2018-09-16 12:28:43 +02:00
Andreas Rumpf
866d6d1891 Merge pull request #8897 from timotheecour/pr_startProcessAuxSpawn_raiseOSError_context
add data.sysCommand when startProcessAuxSpawn raises
2018-09-16 11:45:10 +02:00
Andreas Rumpf
566edd54b6 Merge pull request #8977 from LemonBoy/fix-unix-sockets
Fix connectUnix/bindUnix with abstract socket paths
2018-09-16 11:34:11 +02:00
LemonBoy
a2a06d43f2 Fix connectUnix/bindUnix with abstract socket paths
The only way to make this work for both abstract and non-abstract
sockets is to send the kernel an incomplete structure.

Reported by Epictek on the forum.
2018-09-15 20:43:08 +02:00
Araq
7df722844b typetraits: Dots for sentence endings. 2018-09-15 20:32:11 +02:00
Araq
0841eaa273 typetraits.arity: improve the documentation; fixes #8965 2018-09-15 13:46:00 +02:00
Araq
ea1c28294a fixes #8925 2018-09-15 00:32:40 +02:00
LemonBoy
90025e242d Minor fixes for asyncjs (#8894)
* Minor fixes for asyncjs

Mark internal procedures as used
Allow .async. for more node kinds
Make .async. work for nkStmtList

* Fix logic error in both the async macros
2018-09-07 16:42:38 +02:00
Timothee Cour
67aa8eab0b add data.sysCommand when startProcessAuxSpawn raises 2018-09-06 03:12:10 -07:00
LemonBoy
36e6ca16d1 Fix too broad generic match for toHex (#8889)
Fixes #8865
2018-09-05 20:57:50 +02:00
Vindaar
d34233b501 [DOC] fix typos in strscans documentation (#8885) 2018-09-05 14:57:36 +02:00
c-blake
cec89d8354 This has been unnecessary as long as rawNewObj has called zeroMem, (#8867)
and more recently indexing past the Nim-logical end has become
illegal making this line cause a crash.
2018-09-04 15:26:34 +02:00
Dominik Picheta
e789acb59b Merge pull request #8840 from pigmej/fix_with_timeout
Handle fut.failed in asyncdispatch.WithTimeout
2018-09-03 21:34:52 +01:00
Araq
b53531ee31 make 'koch web' work again 2018-09-03 20:02:59 +02:00
Araq
ef771cde1a document usage of marshal.to; fixes #3150 2018-09-03 09:44:44 +02:00
Jedrzej Nowak
ac066c5db0 Handle fut.failed in asyncdispatch.WithTimeout
Fixes: #8839
2018-09-02 01:49:03 +02:00
Araq
06e6c38d99 strutils: don't deprecate escape/unescape, too much code uses it 2018-08-31 17:30:58 +02:00
Nathan Cahill
aa33bcb974 Update html elements to current html spec (#8791) 2018-08-31 12:03:49 +02:00
Araq
bacf08e65d merged #8624 manually; fixes #8442; closes #8575 2018-08-31 11:19:42 +02:00
Araq
fab4498727 times.nim: minor code cleanup 2018-08-31 00:30:19 +02:00
Andreas Rumpf
36473acf47 fixes a parseopt regression (#8820) 2018-08-30 23:50:09 +02:00
Araq
dfdf8e58c7 fixes #8768 properly 2018-08-30 16:54:03 +02:00
Araq
8e33667262 unidecode module: change the default to: embed resource file into the application; fixes #8767 2018-08-30 15:39:47 +02:00
Araq
a14ffd6119 fixes #8768 2018-08-30 15:33:34 +02:00
Timothee Cour
3e6b58323b fix tests/coroutines/texceptions.nim (#8810) 2018-08-30 13:53:16 +02:00
Dominik Picheta
6e83746caa Net module fixes (#8597)
* net.accept no longer needs an initialised socket. Fixes #7848.
* Assert error when using sendTo/recvFrom on TCP socket.
* net.sendTo now raises OSError.
2018-08-28 15:52:28 +02:00
Araq
a42150f9a8 make parseopt work with DLLs on Unix 2018-08-28 15:41:55 +02:00
Araq
e02e057a70 make parsopt compile under --taintMode:on 2018-08-28 15:41:55 +02:00
Araq
6f16166c60 parseopt: keep the seq of arguments as given; fixes various command line parsing edge cases; refs #6818 2018-08-28 15:41:55 +02:00
hlaaf
a270899502 Add escapeJsonUnquoted for json escaped strings without quotes (#8785)
* Add escapeJsonUnquoted

* Add tests for escapeJsonUnquoted
2018-08-27 12:22:55 +02:00