flywind
70ec17eede
use single backtick ( #17133 )
2021-02-21 00:27:39 -08:00
Miran
25c75752d0
remove quotation marks around imports - fixes links in the docs ( #16888 )
2021-02-01 06:50:23 +01:00
hlaaftana
527e792827
make var string return var char w/ BackwardsIndex ( #15461 )
...
* make var string return var char w/ BackwardsIndex
fixes #14497
* work around VM bug
* properly workaround again
2020-11-12 11:44:21 +01:00
flywind
ef2677f5f3
change some code-blocks to runnableExamples and correct some errors in docs ( #15900 )
...
* original docs are wrong
* fix pathnorm
* Update lib/pure/pathnorm.nim
Co-authored-by: Juan Carlos <juancarlospaco@gmail.com >
2020-11-12 10:47:56 +01:00
Andreas Rumpf
da29222f86
init checks and 'out' parameters ( #14521 )
...
* I don't care about observable stores
* enforce explicit initializations
* cleaner code for the stdlib
* stdlib: use explicit initializations
* make tests green
* algorithm.nim: set result explicitly
* remove out parameters and bring the PR into a mergable state
* updated the changelog
2020-06-23 10:53:57 +02:00
Andreas Rumpf
62c113ebc7
fix #13579 joinPath("/foo/", "../a") is now /a ( #13586 )
2020-03-05 15:31:22 +01:00
Andrey Makarov
3dad130034
fix 3 minor bugs in joinPath (see #13455 ) ( #13462 ) [backport]
2020-02-23 20:22:46 +01:00
narimiran
34d0be2ec1
[backport] run nimpretty on os-related stuff
2019-09-30 13:58:15 +02:00
Araq
5abe880469
last stdlib cleanups
2019-09-21 06:43:37 +02:00
Miran
8f198db2ca
fixes #10952 , UNC paths ( #11260 )
2019-05-16 21:06:04 +02:00
Timothee Cour
25d3539da7
[os] fix #10017 regression, fix #10025 regression ( #10018 )
...
* [os] fix #10017 regression
* [os] fix #10025 regression
2018-12-18 12:43:25 +01:00
Araq
ce9815bcf5
os.nim: use the new pathnorm.normalizePath implementation
2018-12-14 08:57:55 +01:00
Araq
5b39c7aca9
fixes joinPath regressions
2018-12-13 16:19:00 +01:00
Araq
9cc4a57768
os.nim: big refactoring, use the new pathnorm that was extracted by compiler/pathutils.nim; added os.relativePath
2018-12-13 12:05:50 +01:00