Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix #19038 - making the Nim compiler work again on Windows XP (#19331) | rockcavera | 2022-01-07 | 1 | -2/+3 |
| | | | | | | | | | | | | | * Update osenv.nim * Update win_setenv.nim * Update lib/pure/includes/osenv.nim * Update lib/pure/includes/osenv.nim * fixing cstring Co-authored-by: Andreas Rumpf <rumpf_a@web.de> | ||||
* | change os.nim doc links to new style (#19102) | Andrey Makarov | 2021-11-08 | 3 | -35/+34 |
| | |||||
* | envPairs works in vm, nims (#18615) | Timothee Cour | 2021-09-29 | 1 | -177/+188 |
| | | | | | * envPairs works in vm, nims * fixup | ||||
* | Remove tracking of environment from osenv.nim v2 (#18575) | Timothee Cour | 2021-07-29 | 1 | -159/+78 |
| | | | | | | | | | | | | | * Remove unnecessary environment tracking * try to fix windows * fix delEnv * make putEnv work on windows even with empty values; improve tests: add tests, add js, vm testing * [skip ci] fix changelog Co-authored-by: Caden Haustein <code@brightlysalty.33mail.com> | ||||
* | Replace calls to `putenv` with `setenv` (#18530) | Caden Haustein | 2021-07-23 | 1 | -3/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * Replace calls to C `putenv` with C `setenv` to remove possible memory leaks * Add test of correct behaviour on invalid input * Fix style in tests/stdlib/tos.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Update tests/stdlib/tos.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Update tests/stdlib/tos.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Add comment with bug number to tests/stdlib/tos.nim Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> * Fix possible msvc arch issues Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> | ||||
* | improve rendering of newOSError.additionalInfo (#18443) | Timothee Cour | 2021-07-07 | 1 | -2/+3 |
| | | | | | * improve rendering of newOSError.additionalInfo * fixup | ||||
* | Use `.. warning::` (#17320) | konsumlamm | 2021-03-10 | 1 | -5/+4 |
| | |||||
* | use lowercase --define switches (#17283) | flywind | 2021-03-07 | 1 | -1/+1 |
| | |||||
* | https://github.com/nim-lang/Nim/pull/15826/files#r585368355 (#17233) | Juan Carlos | 2021-03-03 | 1 | -2/+3 |
| | |||||
* | use single backtick (#17141) | flywind | 2021-02-21 | 3 | -12/+12 |
| | |||||
* | Correct typo in osseps.nim (#16939) | Rummskartoffel | 2021-02-04 | 1 | -1/+1 |
| | |||||
* | Deprecate TaintedString (#15423) | Juan Carlos | 2021-01-15 | 1 | -9/+9 |
| | | | | Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com> | ||||
* | fixes #16359 [backport] (#16377) | Andreas Rumpf | 2020-12-17 | 1 | -1/+1 |
| | |||||
* | move decode_helpers to std/private (#16209) | flywind | 2020-12-02 | 1 | -24/+0 |
| | |||||
* | js -d:nodejs now supports osenv: `getEnv`, `putEnv`, `envPairs`, `delEnv`, ↵ | Timothee Cour | 2020-11-12 | 1 | -215/+251 |
| | | | | | | | | | | | `existsEnv` (v2) (#15826) * js -d:nodejs now supports osenv: `getEnv`, `putEnv`, `envPairs`, `delEnv`, `existsEnv` * refactor to osenv * fix for js (without -d:nodejs) + VM Co-authored-by: Andreas Rumpf <rumpf_a@web.de> | ||||
* | fix #14082, don't crash on incorrectly formatted input (#14977) [backport] | Miran | 2020-07-17 | 1 | -0/+24 |
| | | | | | | | * fix #14082, don't crash on incorrectly formatted input * address code review * remove duplication | ||||
* | forward type alignment information to seqs (#12430) | Arne Döring | 2020-04-19 | 1 | -2/+1 |
| | |||||
* | More fixes for Haiku (#13774) | alaviss | 2020-03-27 | 1 | -0/+2 |
| | | | | | | | | | | | * osproc: move fork-based code path under the when conditional * osproc: avoid using the environ global on Haiku * osenv: import environ from stdlib.h on Haiku Haiku's environ is declared in `<stdlib.h>` by default, differing from POSIX and/or Linux. Import it from there to avoid collision with anyone importing `<stdlib.h>` from Nim. | ||||
* | miscellaneous bug fixes (#13291) | Timothee Cour | 2020-01-30 | 1 | -1/+1 |
| | | | | | | | | * fix for emscripten etc * add testcase for #13290 * replace deprecated isNilOrWhitespace | ||||
* | Deleted misplaced separator (#13085) [backport] | Teashrock | 2020-01-09 | 1 | -1/+0 |
| | | | Misplaced separator, which was constantly breaking compilation on Haiku OS, was deleted. | ||||
* | remove unused imports | narimiran | 2019-11-06 | 1 | -1/+2 |
| | |||||
* | fixes #11807 (#11900) | Andreas Rumpf | 2019-08-07 | 1 | -0/+5 |
| | | | | | * fixes #11807 * make tests green again | ||||
* | Fix #10630 - fix broken separators in nim doc (#11814) | genotrance | 2019-07-24 | 1 | -95/+77 |
| | |||||
* | os: confine osErrorMsg example to Linux (#11725) | alaviss | 2019-07-13 | 1 | -1/+1 |
| | | | | POSIX does **not** define the exact number for each errors. This caused a failure in docs building on Haiku. | ||||
* | [feature] Added os.delEnv; add delEnv support to nimscript too (#11466) | Kaushal Modi | 2019-06-15 | 1 | -0/+31 |
| | | | [feature] Fixes https://github.com/nim-lang/Nim/issues/11452. | ||||
* | [bugfix] Fixes async IO operations stalling even after socket is closed. ↵ | Dominik Picheta | 2019-06-12 | 1 | -3/+12 |
| | | | | (#11232) | ||||
* | Fix ospaths import error (#11150) | genotrance | 2019-05-01 | 2 | -2/+2 |
| | |||||
* | newruntime: progress | Araq | 2019-04-01 | 1 | -1/+1 |
| | |||||
* | update unicode.nim (#10921) | Miran | 2019-03-31 | 1 | -0/+2016 |
| | | | | | | | | | | * update unicode.nim * create a script to create the needed unicode data * make unicode.nim compatible with Unicode v12.0.0 * slightly improve unicode.nim documentation (fixes #4795) * more documentation | ||||
* | better docs: os (#10492) | Miran | 2019-01-30 | 3 | -27/+77 |
| | | | | | * better docs: os * remove broken test on osx | ||||
* | prevent index out of bounds error in oserr.nim | Kobi | 2019-01-19 | 1 | -1/+1 |
| | |||||
* | Fix spelling errors (#10379) | Federico Ceratto | 2019-01-19 | 1 | -2/+2 |
| | |||||
* | [backport] fix documentation leak to `os.nim`[ci skip] | narimiran | 2019-01-14 | 2 | -2/+2 |
| | |||||
* | os.nim: big refactoring, use the new pathnorm that was extracted by ↵ | Araq | 2018-12-13 | 1 | -0/+130 |
| | | | | compiler/pathutils.nim; added os.relativePath | ||||
* | 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 async common into asyncdispatch. | Dominik Picheta | 2018-12-07 | 1 | -211/+0 |
|/ | |||||
* | Make getEnv case insensitive on Windows (#9722) | pgkos | 2018-11-16 | 1 | -1/+6 |
| | |||||
* | deprecated ospaths (#9665) | Andreas Rumpf | 2018-11-09 | 2 | -4/+4 |
| | |||||
* | Convert *_family fields to cushort | LemonBoy | 2018-09-19 | 1 | -2/+2 |
| | | | | Fixes #9008 | ||||
* | add data.sysCommand when startProcessAuxSpawn raises | Timothee Cour | 2018-09-06 | 1 | -4/+4 |
| | |||||
* | addresses issue #8391 show runtime context on some failed operations (#8393) | Timothee Cour | 2018-07-23 | 1 | -1/+1 |
| | |||||
* | Fixes #5880. (#7229) | Dominik Picheta | 2018-07-10 | 1 | -1/+1 |
| | |||||
* | remove deprecated stuff from the stdlib; introduce better deprecation warnings | Araq | 2018-05-05 | 2 | -46/+2 |
| | |||||
* | Fixes #4995. (#7157) | Dominik Picheta | 2018-02-13 | 1 | -6/+16 |
| | |||||
* | added a warning that the .deprecate statement is unreliable for routines | Andreas Rumpf | 2017-11-21 | 1 | -3/+0 |
| | |||||
* | getEnv now supports a 'default' parameter; refs #6019 | Andreas Rumpf | 2017-10-30 | 1 | -2/+2 |
| | |||||
* | another attempt to make travis and appveyor green again | Andreas Rumpf | 2017-09-01 | 1 | -3/+3 |
| | |||||
* | fix os.nim for Windows | Andreas Rumpf | 2017-09-01 | 1 | -0/+3 |
| |