summary refs log tree commit diff stats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #9910 from nc-x/fix-semicolonAndreas Rumpf2018-12-111-1/+2
|\ | | | | Fixes #9907
| * Address CommentsNeelesh Chandola2018-12-111-0/+1
| |
| * Fixes #9907Neelesh Chandola2018-12-091-1/+1
| |
* | Merge pull request #9890 from nim-lang/remove-asynccommonAndreas Rumpf2018-12-092-213/+211
|\ \ | |/ |/| Merge async common into asyncdispatch.
| * Merge async common into asyncdispatch.Dominik Picheta2018-12-072-213/+211
| |
* | Make options.UnpackError inherit from system.DefectOscar Nihlgård2018-12-081-19/+15
| |
* | Merge pull request #9803 from GULPF/walkdirrec-relativeAndreas Rumpf2018-12-061-7/+12
|\ \ | | | | | | Add `relative` parameter to walkDirRec
| * | Add `relative` parameter to walkDirRecOscar Nihlgård2018-11-261-7/+12
| | |
* | | Update parseutils.nimTimothee Cour2018-12-051-2/+2
| | |
* | | hotfix: discriminants can be of size 8 bytes [backport]Araq2018-12-052-0/+2
| | |
* | | Merge pull request #9846 from timotheecour/pr_getpidAndreas Rumpf2018-12-052-1/+11
|\ \ \ | | | | | | | | add os.getCurrentProcessId()
| * | | address commentsTimothee Cour2018-12-042-2/+2
| | | |
| * | | fixupTimothee Cour2018-12-041-1/+1
| | | |
| * | | fixupTimothee Cour2018-12-031-1/+1
| | | |
| * | | address commentsTimothee Cour2018-12-032-12/+11
| | | |
| * | | fixupTimothee Cour2018-12-031-1/+1
| | | |
| * | | fixupTimothee Cour2018-12-031-1/+2
| | | |
| * | | add osproc.processID()Timothee Cour2018-12-031-0/+10
| | |/ | |/|
* | | Merge pull request #9862 from zevv/posix-cmsgAndreas Rumpf2018-12-051-0/+6
|\ \ \ | | | | | | | | Added CMSG_SPACE and CMSG_LEN macros to posix.nim
| * | | Added CMSG_SPACE and CMSG_LEN macros to posix.nimIco Doornekamp2018-12-041-0/+6
| | | |
* | | | times.nim: Minor formatting change in the example codeAraq2018-12-041-1/+1
| | | |
* | | | Fix fat pointers, object copying, magic double evals on JS (#9411) [backport]rec2018-12-043-8/+14
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add a test for issue #9389 * Fixes #9389. * Make object contructors copy objects properly by checking whether the expressions passed to them don't need to be copied. * Make mArrToSeq implementation actually check if a copy needs to be made. * Avoid unnecessary copy in mChr impl * Assume set constructor elements need no copy * Add a test for issue #9410 * Add a test * fix passing fat pointers (#9410) * Enhance tests * More tests and fixes * Add more (failing) tests [ci skip] * Added equality operator for fat pointers, more tests and fixes * Fix printing uninitialized strings * Fix mInc, mDec double eval, add more tests * Tests * Refactored, fixed multiple evals, revamped the tests, added missing ops * Fix ups * Fix #9643 and #9644 * add pointer normalization
* | | gc:destructors: more progressAndreas Rumpf2018-11-292-19/+15
| | |
* | | gc:destructors further progressAndreas Rumpf2018-11-292-2/+15
| | |
* | | add: proc deepCopy*[T](y: T): T (#9740)Timothee Cour2018-11-281-0/+4
| | |
* | | some progress on --gc:destructorsAndreas Rumpf2018-11-271-17/+18
| | |
* | | new minor language feature: .noSideEffect blocks like .gcsafe blocksAndreas Rumpf2018-11-271-3/+4
| | |
* | | fixes #9800 (#9804) [backport]pgkos2018-11-261-2/+5
| | | | | | | | | | | | | | | * fixes #9800 * add tests for #9800
* | | times: use clock_gettime for cpuTime with POSIX (#9793)Emery Hemingway2018-11-261-3/+13
| | | | | | | | | | | | | | | | | | The POSIX 'clock()' procedure returns process CPU time in an implementation specific unit, which for historical reasons can be as large as ~7ms in the case of FreeBSD. Use 'clock_gettime' for higher accuracy.
* | | fixes #9675Andreas Rumpf2018-11-261-1/+1
| | |
* | | Add workingDir parameter to execProcess and test (#9549)Tomohiro2018-11-261-1/+3
| | | | | | | | | | | | | | | | | | * Add workingDir parameter to execProcess * Fix tests/stdlib/tosproc.nim compile error * Suppress output from tosproc.nim
* | | Remove dead code (#9777)Jacek Sieka2018-11-265-147/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | * gc/gc2: remove unused ref counting stuff * also removes some false threading support - hasSharedHeap is always false in gc/gc2 * gc: remove some threading cruft * remove asgnRefNoCycle * compiler: remove TLoc.dup (unused)
* | | Fixes 9716 [backport] (#9790)Yuriy Glukhov2018-11-241-1/+1
| | | | | | | | | | | | | | | | | | * reuse temporary variable * fixes #9716 [backport] * Declare local vars in safer place
* | | Merge pull request #9548 from tonygparsehub/put-deleteDominik Picheta2018-11-231-42/+78
|\ \ \ | | | | | | | | fix #8777 add missing http methods in httpClient
| * | | fix #8777 add missing http methods in httpClientTony G2018-10-301-42/+78
| | | |
* | | | Support only some types as JsAssoc types (#8627)Alexander Ivanov2018-11-231-33/+34
| | | |
* | | | more tests fixedArne Döring2018-11-231-1/+0
| | | |
* | | | activated more tests, allow input in test specArne Döring2018-11-231-0/+6
| | | |
* | | | updated tests to be executedArne Döring2018-11-232-1/+10
| | | |
* | | | fix segfault when calling shallow() on an empty string (#9782) [backport]Ștefan Talpalaru2018-11-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | shallow() casts its string argument to a seq and then tries to access its fields. Guess what happens when that string is nil, which seems to be the representation of an empty string (both the default value and an explicitly assigned ""). Segfault encountered when running "ntags -R ." on a large project. The relevant line: https://bitbucket.org/nimcontrib/ntags/src/a1c62c38e539877c105fbe4e08d06b76232f8017/ntags.nim#lines-125
* | | | don't raise exception in the default handler (#9783)alaviss2018-11-222-8/+8
| | | | | | | | | | | | fixes #9657
* | | | universal toSeq: works with UFCS; works with inline & closure iterators, and ↵Timothee Cour2018-11-221-30/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | with iterables (#8711) * universal toSeq: works with UFCS; works with inline, closure, and proc iterators, and also non-iterators * support all iterables with toSeq * workaround for #9130
* | | | Add isInstanceOf for generic procs to the macros module (#9730)cooldome2018-11-211-0/+6
| | | |
* | | | Empty check in shallow [backport] (#9676)ishowta2018-11-211-0/+1
| | | |
* | | | Times module cosmetic changes (#9770)Oscar Nihlgård2018-11-201-33/+22
| |_|/ |/| |
* | | Fixed wording (#9761)Yuriy Glukhov2018-11-201-4/+4
| | |
* | | Fixes #9671 (#9750)Randy Smith2018-11-193-3/+0
| | |
* | | Improve nre documentation (fixes #9470)Flaviu Tamas2018-11-181-1/+16
| | |
* | | removes deprecated T/P typesAraq2018-11-1655-245/+12
| | |
* | | fixes #9728Araq2018-11-161-6/+16
| | |