Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | On windows, os.relativePath returns path as is when roots are different (#12329) | Tomohiro | 2019-10-07 | 1 | -0/+15 |
| | | | | | | | * On windows, os.relativePath returns path as is when roots are different * Implement os.sameRoot without windows API * Fix compile error when compiling lib/nimhcr.nim * Fix compile error when compiling lib/nimhcr.nim on Windows | ||||
* | Fix how `relativePath` handle case sensitiviy (#12312) [backport] | Tomohiro | 2019-10-01 | 1 | -0/+4 |
| | |||||
* | Fixes splitfile (#11918) [bugfix] | pgkos | 2019-08-15 | 1 | -0/+1 |
| | |||||
* | [feature] Added os.delEnv; add delEnv support to nimscript too (#11466) | Kaushal Modi | 2019-06-15 | 1 | -0/+13 |
| | | | [feature] Fixes https://github.com/nim-lang/Nim/issues/11452. | ||||
* | Use TMPDIR env var if available to get the temp dir name (#11443) [bugfix] | Kaushal Modi | 2019-06-10 | 1 | -0/+12 |
| | | | | | | Additionally, use normalizePathEnd to suffix the dir name with "/" or "\" as appropriate for the current OS. Fixes https://github.com/nim-lang/Nim/issues/11439. | ||||
* | move tests from `tospaths` to `tos`, fixes #9671 | narimiran | 2019-01-23 | 1 | -43/+111 |
| | | | | Also, change some of `echo`s to `doAssert`. | ||||
* | fixes #10273 execShellCmd now returns nonzero when child killed with signal ↵ | Timothee Cour | 2019-01-13 | 1 | -0/+2 |
| | | | | | | | | | | + other fixes (#10274) * s/exitStatus(...)/exitStatusLikeShell(...)/ * fix #10273 execShellCmd now returns nonzero when child exits with signal * test case for #10249 and explanation for the bug * fix test failure * add tests/nim.cfg | ||||
* | os.walkDir: correctly evaluate paths when relative = true (#10057) [backport] | alaviss | 2018-12-21 | 1 | -0/+8 |
| | |||||
* | fix test failure | Timothee Cour | 2018-12-19 | 1 | -0/+1 |
| | |||||
* | fix #8255 numerous issues with splitFile | Timothee Cour | 2018-12-19 | 1 | -0/+15 |
| | |||||
* | [os] fix #10017 regression, fix #10025 regression (#10018) | Timothee Cour | 2018-12-18 | 1 | -2/+5 |
| | | | | | * [os] fix #10017 regression * [os] fix #10025 regression | ||||
* | os.nim: use the new pathnorm.normalizePath implementation | Araq | 2018-12-14 | 1 | -55/+26 |
| | |||||
* | Add `relative` parameter to walkDirRec | Oscar Nihlgård | 2018-11-26 | 1 | -0/+19 |
| | |||||
* | fix #8225 os.isHidden was buggy on posix (#8315) | Timothee Cour | 2018-10-15 | 1 | -94/+113 |
| | | | | | | * fix #8225 isHidden was broken on posix * scope rest of tos.nim under blocks to avoid variable scope bugs | ||||
* | os: use unlink() to remove file (#9220) | alaviss | 2018-10-09 | 1 | -0/+9 |
| | | | | | removeFile() behavior should now be consistant between Windows and POSIX Fixes #9200 | ||||
* | Fix #9126: use splitPath instead of substr | Yasuhiro Horimoto | 2018-09-30 | 1 | -0/+14 |
| | |||||
* | fix wrong arch defined(osx) (#8492) | Timothee Cour | 2018-08-02 | 1 | -1/+1 |
| | |||||
* | Add normalizePath and tests | Federico Ceratto | 2018-07-06 | 1 | -0/+62 |
| | |||||
* | make test green for OSX | Andreas Rumpf | 2018-07-06 | 1 | -2/+5 |
| | |||||
* | Use higher time resolution when available in os.nim (#7709) | Oscar Nihlgård | 2018-06-04 | 1 | -0/+10 |
| | |||||
* | add copyDir stdlib test | Andreas Rumpf | 2017-01-10 | 1 | -0/+18 |
| | |||||
* | make tos.nim green on Windows | Araq | 2016-12-13 | 1 | -4/+7 |
| | |||||
* | Improve as previously discussed | Dmitry Polienko | 2016-10-22 | 1 | -0/+10 |
| | | | | Better name for exposed primitive function, checks for pre-existing files | ||||
* | Revert createDir signature, expose rawCreateDir | Dmitry Polienko | 2016-10-22 | 1 | -7/+0 |
| | |||||
* | Make createDir return discardable bool | Dmitry Polienko | 2016-10-22 | 1 | -0/+19 |
| | |||||
* | Add os tests for directory creation, iteration and deletion | Joey Payne | 2016-06-20 | 1 | -8/+84 |
| | |||||
* | tests: Trim .nim files trailing whitespace | Adam Strzelecki | 2015-09-04 | 1 | -2/+2 |
| | | | | via OSX: find . -name '*.nim' -exec sed -i '' -E 's/[[:space:]]+$//' {} + | ||||
* | Changed tests and tools to use 'discard' statements instead of 'nil' for ↵ | Clay Sweetser | 2014-02-15 | 1 | -1/+1 |
| | | | | empty blocks. | ||||
* | new tester; all tests categorized | Araq | 2014-01-13 | 1 | -0/+12 |