summary refs log tree commit diff stats
path: root/lib
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-1214-310/+773
|\ \
| * | diff.nim: massive code cleanupsAraq2018-12-121-166/+90
| | |
| * | Merge branch 'std-diff' of https://github.com/krux02/Nim into krux02-std-diffAraq2018-12-121-0/+463
| |\ \
| | * | added lib/std/diff.nimArne Döring2018-12-071-0/+463
| | | |
| * | | 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.
| * | | | Rework nil/option for nre in light of ""==nilFlaviu Tamas2018-12-112-69/+82
| | | | | | | | | | | | | | | | | | | | Fixes #9243
| * | | | Revert 7f49364fd0 for nreFlaviu Tamas2018-12-112-7/+11
| | | | |
| * | | | cleanup of excpt.nimAndreas Rumpf2018-12-111-1/+4
| | | | |
| * | | | 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 #9923 from stefantalpalaru/calldepthAndreas Rumpf2018-12-111-3/+5
| |\ \ \ \ \ | | | | | | | | | | | | | | replace misleading "stack overflow" message when reaching Nim's call depth limit
| | * | | | | replace misleading "stack overflow" message on call depth limitȘtefan Talpalaru2018-12-101-3/+5
| | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new error message looks like this: "Error: call depth limit reached in a debug build (2000 function calls). You can change it with -d:nimCallDepthLimit=<int> or switch to a release build with -d:release."
| * | | | | Merge pull request #9881 from timotheecour/pr_ref_9880Andreas Rumpf2018-12-114-5/+19
| |\ \ \ \ \ | | | | | | | | | | | | | | 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-094-5/+19
| | | | | | |
| * | | | | | 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
| |_|_|/ / |/| | | |
* | | | | 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
| | | | |