Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix test failure | Timothee Cour | 2018-12-19 | 1 | -2/+4 |
| | |||||
* | fix #8255 numerous issues with splitFile | Timothee Cour | 2018-12-19 | 1 | -4/+13 |
| | |||||
* | strutils: minor code cleanup | Araq | 2018-12-19 | 1 | -1/+0 |
| | |||||
* | Update osproc.nim (#10043) | Timothee Cour | 2018-12-19 | 1 | -1/+1 |
| | |||||
* | undo last commit (meant to send a PR instead) | Timothee Cour | 2018-12-18 | 1 | -1/+1 |
| | |||||
* | Update osproc.nim | Timothee Cour | 2018-12-18 | 1 | -1/+1 |
| | |||||
* | [os] fix #10017 regression, fix #10025 regression (#10018) | Timothee Cour | 2018-12-18 | 1 | -1/+2 |
| | | | | | * [os] fix #10017 regression * [os] fix #10025 regression | ||||
* | add `getCurrentCompilerExe` to vmops (eg allows to get nim compiler at CT); ↵ | Timothee Cour | 2018-12-18 | 1 | -1/+8 |
| | | | | add tests for vmops (#9925) | ||||
* | Adding more documentation to logging.nim | Istvan | 2018-12-17 | 1 | -1/+6 |
| | | | Just minor addition to the documentation with the use of operators | ||||
* | fixes #9120 | Araq | 2018-12-16 | 1 | -1/+1 |
| | |||||
* | Allow an escape hatch for platform specific flags/default override (#9968) | c-blake | 2018-12-14 | 1 | -5/+21 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Allow an escape hatch for platform specific flags (of which there are many, for example MAP_POPULATE itself is a Linux-only thing, not other Unix). Continue with same defaults as before in this commit, but that really should be changed to *not* include MAP_POPULATE. While pre-faulting all the pages can be useful sometimes *if* you know you're going to access all the data, it is highly unlikely to be what users expect the default to be. For some things all that up front work is 1000s of times slower than being lazy/on-demand/only ever faulting parts of the file. Even the MAP_POPULATE fan who originally in 2014 committed to this file defaulted it to off (but turned it always-on as a "temporary" work around for some long since gone/mutated compiler issue). Anyway, at least something like this `mapFlags` gives users the ability to override the poor default choice or activate any other idiosyncratic platform-specific features. * Use simple, efficient default flags, but also accept whatever the open/mapMem caller specifies. Save flags in MemFile so they can be used in `resize`. This field should not need exporting like the others -- callers can always save whatever values they pass -- but we include a cautionary comment in case anyone ever asks for a `*` there, as well as for documentation. Also make documentation for ``mapFlags`` in open more likely to inspire care. | ||||
* | added parseopt.remainingArgs; refs #9951 | Araq | 2018-12-14 | 1 | -0/+5 |
| | |||||
* | os.nim: use the new pathnorm.normalizePath implementation | Araq | 2018-12-14 | 2 | -31/+39 |
| | |||||
* | fixes joinPath regressions | Araq | 2018-12-13 | 2 | -2/+10 |
| | |||||
* | os.nim: big refactoring, use the new pathnorm that was extracted by ↵ | Araq | 2018-12-13 | 3 | -151/+319 |
| | | | | compiler/pathutils.nim; added os.relativePath | ||||
* | Give error when case has an else branch even though all cases are already ↵ | Neelesh Chandola | 2018-12-13 | 1 | -1/+0 |
| | | | | | | | | | covered (#9930) * Give error when case has an else branch even though all cases are already covered. * Don't check for invalid else for type tyFloat..tyFloat128, tyString, tyError * Remove unnecessary else in unittest.nim * Fix sockets.nim | ||||
* | Merge pull request #9915 from zevv/asyncnet-unix | Dominik Picheta | 2018-12-12 | 3 | -7/+66 |
|\ | | | | | Added basic AF_UNIX support to asyncnet. | ||||
| * | Added basic AF_UNIX support to asyncnet. | Ico Doornekamp | 2018-12-09 | 3 | -7/+66 |
| | | | | | | | | | | | | | | | | Unfortunately this required some code duplication because the doConnect() from asynccommon.nim only works with addrInfo which does not make sense for AF_UNIX. makeUnixAddr() was moved to nativesocket.nim and exported | ||||
* | | Merge pull request #9552 from recloser/strmisc-doc | Andreas Rumpf | 2018-12-12 | 1 | -1/+28 |
|\ \ | | | | | | | Add runnableExamples for strmisc procs and a better doc for expandTabs | ||||
| * | | Add runnable examples for strmisc procs and a better doc for expandTabs | recloser | 2018-10-29 | 1 | -1/+28 |
| | | | |||||
* | | | Merge branch 'devel' into sorted_deduplicate | Andreas Rumpf | 2018-12-12 | 8 | -241/+283 |
|\ \ \ | |||||
| * | | | clean up the implementation of the new memfiles.resize | Araq | 2018-12-12 | 1 | -27/+27 |
| | | | | |||||
| * | | | export every field of MemFile for more low level trickery; refs #9922 | Araq | 2018-12-12 | 1 | -4/+5 |
| | | | | |||||
| * | | | Merge pull request #9922 from c-blake/devel | Andreas Rumpf | 2018-12-12 | 1 | -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/9922 | Charles Blake | 2018-12-11 | 1 | -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/9922 | Charles Blake | 2018-12-11 | 1 | -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 Blake | 2018-12-10 | 1 | -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-append | Andreas Rumpf | 2018-12-11 | 1 | -0/+15 |
| |\ \ \ \ | | | | | | | | | | | | | add SinglyLinkedList.append procs | ||||
| | * | | | | add SinglyLinkedList.append procs | pacien | 2018-11-27 | 1 | -0/+15 |
| | | | | | | |||||
| * | | | | | Merge pull request #9881 from timotheecour/pr_ref_9880 | Andreas Rumpf | 2018-12-11 | 2 | -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` errors | Timothee Cour | 2018-12-09 | 2 | -4/+6 |
| | | | | | | | |||||
| * | | | | | | Testament: refactoring; makes the test joiner green | Araq | 2018-12-11 | 1 | -0/+11 |
| | | | | | | | |||||
| * | | | | | | test can fail because of invalid spec | Arne Döring | 2018-12-11 | 1 | -11/+0 |
| | | | | | | | |||||
| * | | | | | | Merge pull request #9910 from nc-x/fix-semicolon | Andreas Rumpf | 2018-12-11 | 1 | -1/+2 |
| |\ \ \ \ \ \ | | |_|_|/ / / | |/| | | | | | Fixes #9907 | ||||
| | * | | | | | Address Comments | Neelesh Chandola | 2018-12-11 | 1 | -0/+1 |
| | | | | | | | |||||
| | * | | | | | Fixes #9907 | Neelesh Chandola | 2018-12-09 | 1 | -1/+1 |
| | |/ / / / | |||||
| * | | | | | Merge pull request #9890 from nim-lang/remove-asynccommon | Andreas Rumpf | 2018-12-09 | 2 | -213/+211 |
| |\ \ \ \ \ | | |/ / / / | |/| | | | | Merge async common into asyncdispatch. | ||||
| | * | | | | Merge async common into asyncdispatch. | Dominik Picheta | 2018-12-07 | 2 | -213/+211 |
| | | | | | | |||||
| * | | | | | Make options.UnpackError inherit from system.Defect | Oscar Nihlgård | 2018-12-08 | 1 | -19/+15 |
| | | | | | | |||||
* | | | | | | Add the parameter isSorted for the sequtils.deduplicate | data-man | 2018-12-07 | 1 | -3/+21 |
|/ / / / / | |||||
* | | | | | Merge pull request #9803 from GULPF/walkdirrec-relative | Andreas Rumpf | 2018-12-06 | 1 | -7/+12 |
|\ \ \ \ \ | | | | | | | | | | | | | Add `relative` parameter to walkDirRec | ||||
| * | | | | | Add `relative` parameter to walkDirRec | Oscar Nihlgård | 2018-11-26 | 1 | -7/+12 |
| | | | | | | |||||
* | | | | | | Update parseutils.nim | Timothee Cour | 2018-12-05 | 1 | -2/+2 |
| | | | | | | |||||
* | | | | | | Merge pull request #9846 from timotheecour/pr_getpid | Andreas Rumpf | 2018-12-05 | 2 | -1/+11 |
|\ \ \ \ \ \ | | | | | | | | | | | | | | | add os.getCurrentProcessId() | ||||
| * | | | | | | address comments | Timothee Cour | 2018-12-04 | 2 | -2/+2 |
| | | | | | | | |||||
| * | | | | | | fixup | Timothee Cour | 2018-12-04 | 1 | -1/+1 |
| | | | | | | | |||||
| * | | | | | | fixup | Timothee Cour | 2018-12-03 | 1 | -1/+1 |
| | | | | | | | |||||
| * | | | | | | address comments | Timothee Cour | 2018-12-03 | 2 | -12/+11 |
| | | | | | | | |||||
| * | | | | | | fixup | Timothee Cour | 2018-12-03 | 1 | -1/+1 |
| | | | | | | | |||||
| * | | | | | | fixup | Timothee Cour | 2018-12-03 | 1 | -1/+2 |
| | | | | | | |