Commit Graph

11210 Commits

Author SHA1 Message Date
Araq
4a77b66b19 fixes #5478 2017-03-06 18:38:15 +01:00
Araq
8c0e27e8d9 fixes #5481 2017-03-06 18:25:27 +01:00
David Krause
643b7f8650 Fix for #5482, let OrderedTable accept multiple keys (#5485) 2017-03-05 20:17:43 +01:00
Fabian Keller
d1d32f657a tiny docstring fix; fixes #5483 (#5484) 2017-03-05 10:44:25 +01:00
Florent
93305443aa close #5472 nre tests should be run (#5474)
nre tests were just being compiled - changed so that a failure causes exit code to defer causing `tester` to report it as a failure
2017-03-04 11:13:08 +01:00
Dominik Picheta
52462f031e Merge pull request #5473 from raydf/devel
Only remove scheme when there's a TLS request ("https")
2017-03-03 19:52:47 +00:00
Rayner De Los Santos F
d5d975ceef Only remove scheme when there's a TLS request ("https")
If condition, for not removing the scheme when proxied connection isn't a TLS request ("http://...").
2017-03-03 08:47:13 -04:00
Andreas Rumpf
5d125ca716 Merge branch 'devel' into faster-nimsuggest 2017-03-03 13:00:09 +01:00
Andreas Rumpf
3b0430bec6 nimsuggest: minor doc addition 2017-03-03 12:59:32 +01:00
Andreas Rumpf
6c0304f7f5 nimsuggest chk works for EPC 2017-03-03 11:59:00 +01:00
Andreas Rumpf
50835257d6 code cleanup and debugging stuff 2017-03-03 10:19:49 +01:00
Andreas Rumpf
a9c1afd5fd nimsuggest: structured error reporting; EPC mode still fails 2017-03-03 02:13:16 +01:00
Simon Krauter
a42801d100 Make countLines() the same as len(splitLines(s)) (#5470)
The result of countLines() is now increased by 1 compared to the old
version.
Fixes #5460.
2017-03-03 01:31:17 +01:00
Florent
f7af16a1c9 More robust tests for #5453 (#5469) 2017-03-03 01:30:49 +01:00
Ruslan Mustakov
a81247dcbe Add compute proc for SharedTable (#5385) 2017-03-02 15:31:30 +01:00
Fabian Keller
e2567e2e03 Fix sigsegv in getTypeImpl for unnamed tuple (#5440)
avoid sigsegv in getTypeImpl for unnamed tuple; fixes #4862
2017-03-02 15:30:19 +01:00
Yuriy Glukhov
73387e89a0 Fixed compilation error (#5462) 2017-03-02 14:58:26 +01:00
Rokas Kupstys
cd2721242a Fix waiting on coroutines (#5463)
Public coroutine API returns a safe reference to specific running coroutine. Fixes bug where multiple coroutines executing same procedure would identify as same coroutine.
Greatly optimizes `alive()` (and as a result of that `wait()`) calls.
Coroutine struct is allocated together with stack as memory unmanaged by GC.
2017-03-02 14:53:50 +01:00
Andreas Rumpf
3e7b04683c make tests green again 2017-03-02 12:23:35 +01:00
Florent
34a3d40d18 fixes #5444 - nre.findIter keeps searching when no match is possible (#5453) 2017-03-02 11:48:41 +01:00
Ruslan Mustakov
32159ee827 Ignore pointer-bool-conversion warning (#5468) 2017-03-02 08:55:17 +01:00
Florent
9965123098 Fixes #5457 - StdLib base64 encodeInternal crashes with out of bound exception (#5464) 2017-03-02 08:54:45 +01:00
Dominik Picheta
37abcf18f8 Merge pull request #5466 from yglukhov/asynchttpserver-bad-content-length
Dont assert on malformed requests
2017-03-01 19:14:02 +00:00
Yuriy Glukhov
f842f9d6aa Dont assert on malformed requests 2017-03-01 17:11:39 +02:00
Yuriy Glukhov
28a7c874b7 Revert "Listen on ipv6" (#5461) 2017-03-01 15:03:10 +01:00
Andreas Rumpf
3be87669fa minor website improvement 2017-03-01 10:28:51 +01:00
Araq
ee13c8014b nimsuggest: track type contexts 2017-03-01 09:57:51 +01:00
Araq
936ed9721b fixes 'nim check' crash 2017-03-01 09:57:26 +01:00
Federico Ceratto
dd4d47c671 Add gethostname to nativesockets (#5443) 2017-03-01 09:44:24 +01:00
Andrey Sobolev
78de355ec6 Fix async timers execution. (#5448) 2017-03-01 09:43:24 +01:00
Andreas Rumpf
b47df72e77 Merge pull request #5454 from yglukhov/fix-5452
Fixes #5452
2017-03-01 09:41:43 +01:00
Yuriy Glukhov
e213b120ab Fixes #5452 2017-02-28 17:23:25 +02:00
Araq
3d46600a90 nimsuggest supports prefix matching (first version) 2017-02-28 09:03:40 +01:00
Andreas Rumpf
e5fd37375e Merge pull request #5447 from FedericoCeratto/patch-25
Add note about passing channels between threads.
2017-02-28 01:07:46 +01:00
Federico Ceratto
d5054c3081 Add note about passing channels between threads. 2017-02-27 21:44:44 +00:00
Andreas Rumpf
2b0ad99af0 Merge pull request #5442 from FedericoCeratto/patch-24
Add comment on return value
2017-02-27 16:37:35 +01:00
Andreas Rumpf
c3d6819bad Merge pull request #5446 from endragor/mt-defaultsslcontext
Ensure default SSL context is always initialized
2017-02-27 16:29:46 +01:00
Andreas Rumpf
851ed66531 Merge pull request #5445 from endragor/log-gcsafe
Explicitly mark log() method as gcsafe
2017-02-27 16:28:42 +01:00
Araq
e78bd69619 C codegen: escape '?' because C has trigraphs 2017-02-27 16:16:14 +01:00
Ruslan Mustakov
ef508047bf Ensure default SSL context is always initialized 2017-02-27 16:42:51 +07:00
Ruslan Mustakov
2096d399b1 Explicitly mark log() method as gcsafe 2017-02-27 16:40:43 +07:00
Araq
386efb464b upcoming/asyncdispatch: remove unused queues import again 2017-02-27 00:03:46 +01:00
Araq
c525dfabc2 travis/appveyor: don't overdo -d:nimCoroutines checking 2017-02-26 23:31:58 +01:00
Araq
b724f46f6f make tests green again 2017-02-26 23:25:50 +01:00
Araq
7d1a96151c finish tool can use 'nimgrab' tool to download the mingw version 2017-02-26 23:25:50 +01:00
Araq
51ece61f03 documentation for strscans.scanp; fixes #5154 2017-02-26 23:25:50 +01:00
Andreas Rumpf
895e2aea15 Merge pull request #5317 from rokups/feature/coroutines
Coroutine improvements
2017-02-26 23:24:29 +01:00
Araq
4f062c3be0 removed onThreadCreation; onThreadDestruction is now thread local 2017-02-26 20:42:19 +01:00
Araq
df4954fac6 fixes most recent codegen regression 2017-02-26 20:41:08 +01:00
Araq
46b672a6c4 minor codegen bugfix: don't use names for closures that are also mangled Nim names 2017-02-26 17:41:00 +01:00