summary refs log tree commit diff stats
path: root/lib/pure
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #9552 from recloser/strmisc-docAndreas Rumpf2018-12-121-1/+28
|\ | | | | Add runnableExamples for strmisc procs and a better doc for expandTabs
| * Add runnable examples for strmisc procs and a better doc for expandTabsrecloser2018-10-291-1/+28
| |
* | Merge branch 'devel' into sorted_deduplicateAndreas Rumpf2018-12-128-241/+283
|\ \
| * | clean up the implementation of the new memfiles.resizeAraq2018-12-121-27/+27
| | |
| * | export every field of MemFile for more low level trickery; refs #9922Araq2018-12-121-4/+5
| | |
| * | Merge pull request #9922 from c-blake/develAndreas Rumpf2018-12-121-0/+29
| |\ \ | | | | | | | | Let handles be seen outside of `memfiles` module so that "updating"
| | * | For now just implement `resize` per https://github.com/nim-lang/Nim/pull/9922Charles Blake2018-12-111-15/+29
| | | | | | | | | | | | | | | | | | | | discussion (with special mremap usage on Linux, but ordinary munmap, mmap on other POSIX). Someone needs to do the when windows branch.
| | * | Address dom96/Araq opinions in https://github.com/nim-lang/Nim/pull/9922Charles Blake2018-12-111-4/+19
| | | | | | | | | | | | | | | | | | | | | | | | Updating accessors are also provided since the idea of this change is to allow "updating" operations external to the module which are by their very nature closely tied to module internals (as well as to OS interface details).
| | * | Let handles be seen outside of `memfiles` module so that "updating"Charles Blake2018-12-101-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | operations (like eg., resizing a file and re-mapping) do not need to worry about race conditions of re-opened paths, renamed parent directories and that sort of thing. Operating directly on already open handles is both safer and more efficient than relying upon the stability of filesystem paths.
| * | | Merge pull request #9805 from pacien/181126-list-appendAndreas Rumpf2018-12-111-0/+15
| |\ \ \ | | | | | | | | | | add SinglyLinkedList.append procs
| | * | | add SinglyLinkedList.append procspacien2018-11-271-0/+15
| | | | |
| * | | | Merge pull request #9881 from timotheecour/pr_ref_9880Andreas Rumpf2018-12-112-4/+6
| |\ \ \ \ | | | | | | | | | | | | refs #9880 show index and bound in lots of `index out of bounds` errors
| | * | | | refs #9880 show index and bound in lots of `index out of bounds` errorsTimothee Cour2018-12-092-4/+6
| | | | | |
| * | | | | Testament: refactoring; makes the test joiner greenAraq2018-12-111-0/+11
| | | | | |
| * | | | | test can fail because of invalid specArne Döring2018-12-111-11/+0
| | | | | |
| * | | | | 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
| | | | |
* | | | | Add the parameter isSorted for the sequtils.deduplicatedata-man2018-12-071-3/+21
|/ / / /
* | | | 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
| | | | |
* | | | | 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
| | |/ / / | |/| | |
* / | | | times.nim: Minor formatting change in the example codeAraq2018-12-041-1/+1
|/ / / /
* | | | 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.
* | | 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
* | | 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
| | | |
* | | | 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
| | | |
* | | | 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
* | | | 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-24/+0
| | |
* | | removes deprecated T/P typesAraq2018-11-1618-66/+9
| | |
* | | fixes #9728Araq2018-11-161-6/+16
| | |
* | | Make getEnv case insensitive on Windows (#9722)pgkos2018-11-161-1/+6
| | |
* | | Merge pull request #9687 from narimiran/fix-7192Dominik Picheta2018-11-131-3/+4
|\ \ \ | | | | | | | | export `asyncdispatch.callSoon` (fixes #7192)