Commit Graph

10504 Commits

Author SHA1 Message Date
Araq
48c50f6b41 make the logic right 2017-02-26 13:28:46 +01:00
Dominik Picheta
b5de988eda Fix the other withNewLine template. 2017-02-26 12:54:03 +01:00
Dominik Picheta
f9cce32097 Various fixes to FutureStreams based on PR feedback. 2017-02-26 12:52:19 +01:00
Dominik Picheta
912d95a6ea Add small warning in httpclient's onProgressChanged docs. 2017-02-26 11:36:16 +01:00
Araq
5ce8e0b5cd better docs for strutils.escape 2017-02-26 01:02:50 +01:00
Araq
2589d69ed2 fixes #5430 2017-02-26 00:32:07 +01:00
Araq
d91d338d03 fixes #5432 2017-02-26 00:32:07 +01:00
Fabian Keller
5774145f5d added hash for uints (#5435) 2017-02-26 00:17:21 +01:00
Fabian Keller
f250c30b9d Make use of used in unittest (#5410) 2017-02-25 21:18:16 +01:00
Araq
45765601e0 fixed premature finishing of httpclient.downloadFile 2017-02-25 17:26:03 +01:00
Araq
1961e444c3 Merge branch 'devel' into feature/async-streams 2017-02-25 11:18:48 +01:00
Dominik Picheta
16aafddee5 Merge pull request #5433 from yglukhov/ipv6
Listen on ipv6
2017-02-25 10:25:24 +01:00
Andreas Rumpf
4306efada4 Merge branch 'faster-nimsuggest' of github.com:nim-lang/Nim into faster-nimsuggest 2017-02-25 08:18:54 +01:00
Andreas Rumpf
b935eeb997 Merge branch 'devel' into faster-nimsuggest 2017-02-25 08:17:22 +01:00
Yuriy Glukhov
d878c4c1b4 Listen on ipv6 2017-02-25 02:20:16 +02:00
Dominik Picheta
7579171ee7 Merge pull request #5427 from ivankoster/patch-1
Remove unnecessary colon in unittest.nim code example
2017-02-24 18:13:27 +01:00
Dennis Felsing
4af2c26c91 Make toHex work for uints (#5423) 2017-02-24 16:48:22 +01:00
Federico Ceratto
469a7d258c Add warning about log flushing. Related to #3269 (#5424) 2017-02-24 15:58:02 +01:00
Araq
fa98edc78c another attempt to make test green again 2017-02-24 15:52:52 +01:00
Ivan Koster
8ebc869773 Remove unnecessary colon in unittest.nim code example 2017-02-24 15:43:31 +01:00
Andreas Rumpf
b7a1cad4a4 make tests green again 2017-02-24 13:05:58 +01:00
Andreas Rumpf
f8914cc3b0 fixes a multimethod regression 2017-02-24 13:02:36 +01:00
Rokas Kupstys
9df0000621 Proper use of sequences in coroutine tests 2017-02-24 10:51:54 +02:00
Fabian Keller
e8ad59fdc4 Bugfix/double newlines in stderr (#5426) 2017-02-24 09:48:38 +01:00
Andreas Rumpf
46f33515d7 Merge branch 'devel' into faster-nimsuggest 2017-02-24 01:28:50 +01:00
Andreas Rumpf
2d546ca0ac fixes #5417 2017-02-24 00:32:14 +01:00
Andreas Rumpf
22789a0bfc fixes #5419 2017-02-24 00:32:14 +01:00
Arne Döring
92c2a51bf7 removed compiler internal list implementation (#5371) 2017-02-22 17:33:12 +01:00
Andreas Rumpf
ac3b312cc6 Merge branch 'devel' into faster-nimsuggest 2017-02-22 16:28:32 +01:00
Andreas Rumpf
46efaf294b big compiler refactoring; avoid globals for multi method dispatcher generation 2017-02-22 16:27:52 +01:00
Andreas Rumpf
311253ef2f nimsuggest: added --refresh command line option; added 'known' command; fixes 'chck' command for EPC 2017-02-22 16:27:24 +01:00
Emery Hemingway
2ba374f9ab match json.toPretty style with NodeJS's stringify (#5406) 2017-02-21 20:24:55 +01:00
Rokas Kupstys
5aef77a3d3 Removed test code from coro.nim and created three real tests for coroutines 2017-02-20 17:54:15 +02:00
Rokas Kupstys
f80ddbbcc6 Use constant nimCoroutines instead of defined(nimCoroutines)
Variable
2017-02-20 17:24:19 +02:00
Rokas Kupstys
9f8863169a Cleanup of gc code
Cleanups
2017-02-20 17:24:19 +02:00
Rokas Kupstys
d69b701dde Coroutines realtime support 2017-02-20 17:24:19 +02:00
Rokas Kupstys
96c571dd96 Removed fasm support. 2017-02-20 17:24:19 +02:00
Rokas Kupstys
9314967709 For CI: -d:nimCoroutines 2017-02-20 17:24:19 +02:00
Rokas Kupstys
c3d1b732d6 Reworked gc support for coroutines. Nim now bootstraps with -d:nimCoroutines
Added gc test to coro.nim
Lots of misc improvements and comments in coro.nim
2017-02-20 17:24:19 +02:00
Rokas Kupstys
ce4e9846f0 Iterators test in coroutines 2017-02-20 17:24:19 +02:00
Rokas Kupstys
ff1bf74554 Delete fiber context when it exits (memleak fix)
Few correctness changes to gc stack management.
2017-02-20 17:24:19 +02:00
Rokas Kupstys
9a754156d7 Added support for exceptions in coroutines and added exception test
Fix bug where first coroutine ending would terminate main loop
2017-02-20 17:24:19 +02:00
Rokas Kupstys
373e667dbc Coroutine rework.
* ucontext backend (default on unix)
* setjmp backend
* fibers backend (default and required on windows)
* Fixed coroutine loop timing issues
* Fixed saving of xmm registers on x64 windows
* Fixed alignment issues
* Updated coroutine sample with cooperative fibonacci calculation.
* Disable glibc security features only when platform jump functions are used
* Removed dependency on fasm.
    * Using fiber api on windows.
    * Other platforms and compilers  will use built in assembler and .S files or API provided by platform libc.
* Replaced stack switching procs with `coroExecWithStack()` which never returns. This makes compiler always generate proper code.
2017-02-20 17:24:19 +02:00
Rokas Kupstys
a3b8bf300d Added fiber API to winlean.nim 2017-02-20 17:24:19 +02:00
Andreas Rumpf
2d28a626f2 nimsuggest: works with VS-Plugin again 2017-02-20 11:51:17 +01:00
Andreas Rumpf
1ec96d7353 nimsuggest: better logging for EPC mode 2017-02-20 09:54:20 +01:00
Fabian Keller
ce4587d7b7 Enabled explicitly unknown lock levels (#5409)
* enabled explicitly unknown lock levels
* allowing "unknown" as locks pragma
* added test case for locks pragma
* updated docs on locks pragma
2017-02-20 09:31:52 +01:00
Andreas Rumpf
2df5a6f863 nimsuggest: make all tests green 2017-02-20 06:18:59 +01:00
Andreas Rumpf
2adb4ce9eb nimsuggest supports EPC protocol again; tester can test the EPC protocol 2017-02-19 21:29:41 +01:00
Araq
363b1c0a41 travis: first attempt to enable OSX tests 2017-02-17 19:08:08 +01:00