Commit Graph

5256 Commits

Author SHA1 Message Date
Dominik Picheta
0535b6b6bf Implement SSL SNI hostname setting for asyncnet. 2017-02-08 00:04:40 +01:00
Dominik Picheta
7c15120247 Add some tests to httpcore related to #5344. 2017-02-07 18:32:57 +01:00
Charles Blake
3680cbaf25 Use old approach for Mac OSX which, as of 2016, does not yet support POSIX
high-resolution file times.
2017-02-07 09:39:41 -05:00
Charles Blake
53dfb21d6c Move Timespec up, use in Stat for st_?tim and define accessors for the seconds
portion of the Timespec.
2017-02-07 09:00:19 -05:00
Araq
8ae05c6555 cleaned up accept-close-race fix #5279 2017-02-07 14:59:46 +01:00
Araq
4790b6b203 Merge branch 'accept-close-race-5279' of https://github.com/endragor/Nim into endragor-accept-close-race-5279 2017-02-07 14:44:27 +01:00
Ruslan Mustakov
7a839d7b02 Move checkCloseError to nativesockets 2017-02-07 16:45:59 +07:00
Andreas Rumpf
d35c561759 fixes #4996 2017-02-05 12:10:57 +01:00
Yuriy Glukhov
3978845266 Use __NR_gettid instead of SYS_gettid (#5338) 2017-02-04 21:18:54 +01:00
cheatfate
95d8558f0c Fix #5331 and #5332. 2017-02-04 12:10:07 +01:00
Andreas Rumpf
04c4d3d77f critical realloc bugfix; refs #4818 2017-02-03 09:48:52 +01:00
Arne Döring
2c6c865b35 reenabled clear test, made clear working (#5323) 2017-02-02 23:06:13 +01:00
Araq
8af10ae3b9 Merge branch 'devel' into new-name-mangling 2017-02-02 21:56:34 +01:00
Araq
e236039d10 make tests on Windows green under --pedantic 2017-02-02 21:12:36 +01:00
Andreas Rumpf
fab69661ad new name mangling rules for easier debugging 2017-02-02 16:27:48 +01:00
Andreas Rumpf
f04d21f279 refactoring: explict config state instead of globals 2017-02-01 23:39:40 +01:00
Ruslan Mustakov
fb8168d338 Fix Windows accept() to fail future instead of raising
Resolves: #5279
2017-02-01 18:18:44 +07:00
Parashurama
c57fcf42df fix string slice & splice (#5311)
code fixes courtesy of @memophen
2017-02-01 12:13:01 +01:00
Eugene Kabanov
d90f3f59ac Fixes for upcoming asyncdispatch and ioselectors. (#5309) 2017-02-01 12:12:26 +01:00
Ruslan Mustakov
8b10609452 Allow .async pragma on methods (#5312) 2017-02-01 08:50:30 +01:00
Araq
b3e55e532b allocator: fixes regression: get alignment right for small objects 2017-01-31 21:21:08 +01:00
Andreas Rumpf
d12a5a6525 make getThreadId() work on OSX 2017-01-31 16:06:37 +01:00
araq
bd580e9d6e another attempt to getThreadId work on Linux 2017-01-31 15:44:11 +01:00
araq
eaa0eda72d make getThreadId() work on Linux 2017-01-31 13:49:32 +01:00
Araq
c32c39f1de make AVL tree node part of the memory regions; fixes hard to reproduce channel crashes 2017-01-31 13:08:47 +01:00
Araq
d59dd577f8 make AVL tree node part of the memory regions; fixes hard to reproduce channel crashes 2017-01-31 13:08:23 +01:00
Araq
b173499543 added system.getThreadId for various OSes (untested) 2017-01-31 13:06:19 +01:00
Araq
082f6f15e7 dirty changes to Nim's memory tracker; requires cleanups 2017-01-31 12:59:12 +01:00
Andreas Rumpf
51c764e048 fix the racy allocator properly 2017-01-31 08:55:18 +01:00
Araq
79f4b37d3b added test case; threadex example crashes now 2017-01-30 21:11:37 +01:00
Araq
b26e6e3589 fixes #5301 2017-01-30 19:01:03 +01:00
Andreas Rumpf
76eb20d2d3 deprecated nativesockets.dealloc, use freeAddrInfo instead; fixed stdlib deprecations 2017-01-30 08:50:57 +01:00
Andreas Rumpf
eca72755bb Merge branch 'Fix5290_1' of https://github.com/cheatfate/Nim into cheatfate-Fix5290_1 2017-01-29 13:39:32 +01:00
Araq
edd542fe6b devel version has to be odd 2017-01-29 00:32:25 +01:00
cheatfate
210ac5c138 One more fix for #5290. 2017-01-28 10:34:13 +02:00
Andreas Rumpf
1bf78618fe Merge branch 'fix5290' of https://github.com/cheatfate/Nim into cheatfate-fix5290 2017-01-27 18:51:46 +01:00
cheatfate
9c2721c8bb Fix mistake 2017-01-27 14:12:26 +02:00
cheatfate
e84efc4d01 asyncdispatch exception memory leaks fixes. 2017-01-27 12:14:53 +02:00
cheatfate
4b95819146 Fix #5290.
Some cosmetic changes.
2017-01-27 11:08:57 +02:00
Araq
376f6efa80 make segfaults compilation robust on Windows 2017-01-27 09:49:17 +01:00
Yuriy Glukhov
c8dcf8993f Added heapqueue.del (#5289) 2017-01-27 08:22:17 +01:00
Andreas Rumpf
2836ea7868 Merge branch 'fixsharray' of https://github.com/cheatfate/Nim into cheatfate-fixsharray 2017-01-27 08:06:22 +01:00
Andreas Rumpf
cb6c975d3a fixes repr regression 2017-01-27 07:06:22 +01:00
Andreas Rumpf
8d3d9ce5cc repr.nim: minor improvement when outputting addresses of cstrings 2017-01-26 23:50:19 +01:00
cheatfate
6caefcc573 oops. 2017-01-26 18:41:22 +02:00
cheatfate
78e3bd392c Fix changes table must be SharedArray when hasThreadSupport. 2017-01-26 18:28:34 +02:00
Andreas Rumpf
ca0b16fd33 newException supports setting of the 'parent' field 2017-01-26 15:20:24 +01:00
Andreas Rumpf
f7e3addb89 bugfix: onThreadDestruction callbacks should be run in reverse order 2017-01-26 11:28:25 +01:00
Andreas Rumpf
05a3c1b10a improvements to memtracking 2017-01-26 11:26:02 +01:00
Andreas Rumpf
303c49b9f3 memory tracker is aware of threads (still not threadsafe though) 2017-01-26 11:26:02 +01:00