summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant filestream.close, causes crash (#5907)ftsf2017-05-291-1/+0
| | | File is already being closed by defer: file.close() closing it twice causes crash.
* Add len for Slice[T] where T is ordinal (#5847)cooldome2017-05-291-0/+8
|
* Merge pull request #5877 from krux02/more-newLitVarriount2017-05-261-3/+88
|\ | | | | more and improved newLit procs in macros module
| * more and improved newLit procs in macros moduleArne Döring2017-05-231-3/+88
| |
* | Fixup #5804 (#5837)Yuriy Glukhov2017-05-181-3/+9
|/
* Fixes web0 on Mac OS X.Dominik Picheta2017-05-171-1/+1
|
* updated version to 0.17.0Araq2017-05-171-2/+2
|
* Fix posix_spawn error handling (#5826)Ruslan Mustakov2017-05-171-4/+1
| | | posix_spawn doesn't set errno - it returns the error code.
* Merge branch 'araq2' into develAraq2017-05-172-9/+75
|\
| * cleanup of in/out covariance handlingAndreas Rumpf2017-05-171-2/+0
| |
| * Merge branch 'zahary' into araq2Andreas Rumpf2017-05-172-2/+17
| |\
| | * covariance for arrays and sequencesZahary Karadjov2017-05-121-0/+1
| | |
| | * support for external types with covariant generic paramsZahary Karadjov2017-05-081-0/+2
| | |
| | * hold back the new | operator for types as it creates mysterious problems fro ↵Zahary Karadjov2017-04-281-3/+0
| | | | | | | | | | | | tests/trmacros/tor
| | * Allow tyOr,tyAnd and tyNot to be constructed in more contextsZahary Karadjov2017-04-281-2/+17
| | |
| * | Merge branch 'zahary' into araq2Andreas Rumpf2017-05-161-7/+60
| |\|
| | * allow StmtLists to pass through semExprWithTypeZahary Karadjov2017-04-111-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 lambdasZahary Karadjov2017-04-101-2/+8
| | |
| | * improve the usability of the jsffi moduleZahary Karadjov2017-04-091-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
* | | Fixes regression introduced by #5739. Improves newNimNode proc.Dominik Picheta2017-05-172-2/+8
| | |
* | | Fixes #5761.Dominik Picheta2017-05-171-4/+17
| | |
* | | Fixes #4893.Dominik Picheta2017-05-171-1/+1
| | |
* | | Remove processing hints for async procs.Dominik Picheta2017-05-161-3/+0
| | |
* | | Async macro fixes (#5739)Yuriy Glukhov2017-05-161-20/+18
| | |
* | | Add waitFor on seq[Future], waitAll and more (#5189)Federico Ceratto2017-05-161-2/+2
| | | | | | | | | | | | | | | | | | * Switch to unittest and speedup * Make timers and callbacks fields public
* | | Merge pull request #5748 from J3RN/meet-xdg-base-directory-specDominik Picheta2017-05-161-0/+9
|\ \ \ | | | | | | | | Modified ospath's getConfigDir to meet XDG spec
| * | | Appended to commentJonathan Arnett2017-04-281-0/+8
| | | |
| * | | Modified ospath's getConfigDir to meet XDG specJonathan Arnett2017-04-281-0/+1
| | | | | | | | | | | | | | | | I added a check for the XDG_CONFIG_DIR environment variable to meet the [freedesktop XDG Base Directory Specification](https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html)
* | | | Merge pull request #5819 from cdunn2001/fix-5816Dominik Picheta2017-05-161-1/+2
|\ \ \ \ | | | | | | | | | | Use writeable file in parsecfg.writeConfig()
| * | | | Use writeable file in parsecfg.writeConfig()Christopher Dunn2017-05-151-1/+2
| | | | | | | | | | | | | | | | | | | | Fixes #5816
* | | | | add back SIG_IGN, SIG_DFL and friends to posix.nim (#5820)Jacek Sieka2017-05-164-1/+17
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | * add back SIG_IGN, SIG_DFL and friends to posix.nim accidentally wiped by ce86b4ad78aae11f62c50e4f46e8ab2a124356b4 * move deprecated sig_hold after consts include
* | | | better stack trace handlingAndreas Rumpf2017-05-161-2/+7
|/ / /
* | | Fixes #5532 win async write (#5791)Andreas Rumpf2017-05-141-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 Mustakov2017-05-142-2/+2
| | |
* | | Extend documenation of formatFloat() (#5799)Simon Krauter2017-05-131-0/+2
| | | | | | | | | Added line: "If ``precision == 0``, it tries to format it nicely." (copied from formatBiggestFloat())
* | | Fixed syslocks for ios (#5804)Yuriy Glukhov2017-05-121-22/+88
| | |
* | | Fix atomicInc under vcc, C++, amd64 (#5809)Ruslan Mustakov2017-05-121-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 Picheta2017-05-091-1/+5
| | |
* | | setGlobalDispatcher()Christopher Dunn2017-05-072-0/+20
| | |
* | | Implement 'take' for Table and TableRef (#5773)Ruslan Mustakov2017-05-041-11/+30
| | |
* | | Merge branch 'devel' of github.com:nim-lang/Nim into develAndreas Rumpf2017-05-044-181/+196
|\ \ \
| * | | Add space to fix RST in captureBetween docs (#5769)Matt Riggott2017-05-041-1/+1
| | | |
| * | | Add 'hostname' param to wrapConnectedSocketRuslan Mustakov2017-05-043-180/+195
| | | |
* | | | Merge branch 'devel' of github.com:nim-lang/Nim into develAndreas Rumpf2017-05-0416-354/+472
|\| | |
| * | | Fix different types for findExe's params across OS'.Dominik Picheta2017-05-021-1/+1
| | | |
| * | | Implement dial, support IPv6 in httpclient (#5763)Ruslan Mustakov2017-05-029-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 Glukhov2017-04-271-0/+6
| | |
| * | WIFSIGNALED means process has exited too (with a bang!) (#5678)Jacek Sieka2017-04-274-18/+57
| | |
| * | Small grammar fixes in json.nim (#5758)Daniil Yarancev2017-04-261-4/+4
| | |
* | | JS codegen: produce better code for constant setsAndreas Rumpf2017-05-011-1/+1
|/ /