Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'zahary' into araq2 | Andreas Rumpf | 2017-05-16 | 1 | -7/+60 |
|\ | |||||
| * | allow StmtLists to pass through semExprWithType | Zahary Karadjov | 2017-04-11 | 1 | -4/+1 |
| | | | | | | | | | | | | This fix was necessary in order to fix the lambda lifting used in the "jsffi" module, which relies on turning nkStmtList into nkLambda in a catch-all dot operator. | ||||
| * | lift parameter-less do block to lambdas | Zahary Karadjov | 2017-04-10 | 1 | -2/+8 |
| | | |||||
| * | improve the usability of the jsffi module | Zahary Karadjov | 2017-04-09 | 1 | -6/+56 |
| | | | | | | | | | | | | * All JavaScript operators are usable with JsObject * The dot operators will use native JavaScript strings * Results returned from dot calls are consired discardable | ||||
* | | better stack trace handling | Andreas Rumpf | 2017-05-16 | 1 | -2/+7 |
| | | |||||
* | | Fixes #5532 win async write (#5791) | Andreas Rumpf | 2017-05-14 | 1 | -4/+6 |
| | | | | | | | | | | | | * nimgrab tool bugfix: don't divide by zero * fixes #5532 (asyncfile write on Windows) * add a comment about what has been tried instead | ||||
* | | Remove unused oids import from asyncdispatch (#5811) | Ruslan Mustakov | 2017-05-14 | 2 | -2/+2 |
| | | |||||
* | | Extend documenation of formatFloat() (#5799) | Simon Krauter | 2017-05-13 | 1 | -0/+2 |
| | | | | | | Added line: "If ``precision == 0``, it tries to format it nicely." (copied from formatBiggestFloat()) | ||||
* | | Fixed syslocks for ios (#5804) | Yuriy Glukhov | 2017-05-12 | 1 | -22/+88 |
| | | |||||
* | | Fix atomicInc under vcc, C++, amd64 (#5809) | Ruslan Mustakov | 2017-05-12 | 1 | -2/+18 |
| | | | | | | | | | | | | Also, fixed inconsistent behaviour of atomicInc on vcc. Previously it would return the old value, while it must return the new value. Fixes: #5808 | ||||
* | | Deprecate osproc.select(). Refs #90. | Dominik Picheta | 2017-05-09 | 1 | -1/+5 |
| | | |||||
* | | setGlobalDispatcher() | Christopher Dunn | 2017-05-07 | 2 | -0/+20 |
| | | |||||
* | | Implement 'take' for Table and TableRef (#5773) | Ruslan Mustakov | 2017-05-04 | 1 | -11/+30 |
| | | |||||
* | | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Andreas Rumpf | 2017-05-04 | 4 | -181/+196 |
|\ \ | |||||
| * | | Add space to fix RST in captureBetween docs (#5769) | Matt Riggott | 2017-05-04 | 1 | -1/+1 |
| | | | |||||
| * | | Add 'hostname' param to wrapConnectedSocket | Ruslan Mustakov | 2017-05-04 | 3 | -180/+195 |
| | | | |||||
* | | | Merge branch 'devel' of github.com:nim-lang/Nim into devel | Andreas Rumpf | 2017-05-04 | 16 | -354/+472 |
|\| | | |||||
| * | | Fix different types for findExe's params across OS'. | Dominik Picheta | 2017-05-02 | 1 | -1/+1 |
| | | | |||||
| * | | Implement dial, support IPv6 in httpclient (#5763) | Ruslan Mustakov | 2017-05-02 | 9 | -331/+404 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
| * | | Added generic min/max versions for two arguments (#5734) | Yuriy Glukhov | 2017-04-27 | 1 | -0/+6 |
| | | | |||||
| * | | WIFSIGNALED means process has exited too (with a bang!) (#5678) | Jacek Sieka | 2017-04-27 | 4 | -18/+57 |
| | | | |||||
| * | | Small grammar fixes in json.nim (#5758) | Daniil Yarancev | 2017-04-26 | 1 | -4/+4 |
| | | | |||||
* | | | JS codegen: produce better code for constant sets | Andreas Rumpf | 2017-05-01 | 1 | -1/+1 |
|/ / | |||||
* | | Small base64.nim refactor (#5755) | Daniil Yarancev | 2017-04-25 | 1 | -18/+23 |
| | | | | | | | | | | | | | | | | | | | | * Small changes (var to let) * Some additional `var` to `let` * Fix * Finally removed immediate | ||||
* | | Minor: spelling correction in tables.nim (#5727) | Zach Smith | 2017-04-19 | 1 | -2/+2 |
| | | |||||
* | | Add test for previous commit. | Dominik Picheta | 2017-04-17 | 1 | -1/+1 |
| | | |||||
* | | Support JInt fields for 'float' in JSON umarshal macro. | Dominik Picheta | 2017-04-17 | 1 | -2/+2 |
| | | |||||
* | | Fixes `null` handling for object refs in JSON unmarshal macro. | Dominik Picheta | 2017-04-17 | 1 | -7/+22 |
| | | |||||
* | | Add support for BiggestInt in JSON unmarshal macro. | Dominik Picheta | 2017-04-17 | 1 | -0/+6 |
| | | |||||
* | | Fix JSON macro bug with ref objects. | Dominik Picheta | 2017-04-17 | 1 | -1/+5 |
| | | |||||
* | | Merge pull request #5720 from FedericoCeratto/patch-27 | Dominik Picheta | 2017-04-17 | 1 | -1/+1 |
|\ \ | | | | | | | Fix cookie timestamp format #5718 | ||||
| * | | Fix cookie timestamp format #5718 | Federico Ceratto | 2017-04-17 | 1 | -1/+1 |
| | | | | | | | | | See https://tools.ietf.org/html/rfc6265 | ||||
* | | | Fix "secure" capitalization | Federico Ceratto | 2017-04-17 | 1 | -1/+1 |
|/ / | | | | | See https://tools.ietf.org/html/rfc6265 | ||||
* | | fix redundant time import with different signature (#5715) | Jacek Sieka | 2017-04-16 | 1 | -2/+1 |
| | | |||||
* | | Fixes #5710. Closes #5711. | Dominik Picheta | 2017-04-15 | 1 | -6/+9 |
| | | |||||
* | | Posix from detect (#5697) | Jacek Sieka | 2017-04-12 | 9 | -1770/+2672 |
| | | | | | | | | | | | | | | | | | | | | * refactor posix.nim * types move to separate files for platform-specifc and generic ("other') * consts move to separate files that get autogenerated by detect.nim * proc's stay where they are for now, though in a second stage might move as well * fix missing when | ||||
* | | Linux abi take 3 (#5692) | Jacek Sieka | 2017-04-12 | 6 | -34/+85 |
| | | | | | | | | | | * avoid generating object fields for imported types * fix some abi/type issues for linux_amd64 | ||||
* | | Ignore constant-conversion warning (#5696) | Ruslan Mustakov | 2017-04-12 | 1 | -4/+5 |
| | | |||||
* | | Fixes ambiguity introduced by #5390. | Dominik Picheta | 2017-04-09 | 1 | -2/+2 |
| | | |||||
* | | Implement support for enum fields in JSON macro. | Dominik Picheta | 2017-04-09 | 1 | -1/+7 |
| | | |||||
* | | Use doAssert in JSON macro and improve diagnostics. | Dominik Picheta | 2017-04-09 | 1 | -11/+13 |
| | | |||||
* | | Merge branch 'feature/json-macro' into devel | Dominik Picheta | 2017-04-09 | 1 | -15/+476 |
|\ \ | |||||
| * | | Improve documentation in the JSON module. | Dominik Picheta | 2017-04-09 | 1 | -15/+46 |
| | | | |||||
| * | | Document `to` macro in JSON and add example. | Dominik Picheta | 2017-04-09 | 1 | -22/+45 |
| | | | |||||
| * | | Implements else branch for JSON unmarshalling of object variants. | Dominik Picheta | 2017-04-09 | 1 | -17/+70 |
| | | | |||||
| * | | Improve error messages and add tests for the JSON macro. | Dominik Picheta | 2017-04-08 | 1 | -10/+25 |
| | | | |||||
| * | | Support int, string and bool fields in unmarshal json macro. | Dominik Picheta | 2017-04-08 | 1 | -0/+19 |
| | | | |||||
| * | | First implementation of JSON unmarshal macro. | Dominik Picheta | 2017-04-08 | 1 | -0/+320 |
| |/ | |||||
* | | remove system.getFileSize again, breaks windows builds and I don't want more ↵ | Araq | 2017-04-08 | 2 | -10/+0 |
| | | | | | | | | stuff that's a pain to support in a platform independent manner | ||||
* | | Merge pull request #5612 from ehmry/AsyncFile.setLen | Dominik Picheta | 2017-04-08 | 3 | -3/+31 |
|\ \ | |/ |/| | asyncfile: setLen procedure for files |