summary refs log tree commit diff stats
path: root/lib/pure/includes
Commit message (Collapse)AuthorAgeFilesLines
* Fix #19038 - making the Nim compiler work again on Windows XP (#19331)rockcavera2022-01-071-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 Makarov2021-11-083-35/+34
|
* envPairs works in vm, nims (#18615)Timothee Cour2021-09-291-177/+188
| | | | | * envPairs works in vm, nims * fixup
* Remove tracking of environment from osenv.nim v2 (#18575)Timothee Cour2021-07-291-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 Haustein2021-07-231-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 Cour2021-07-071-2/+3
| | | | | * improve rendering of newOSError.additionalInfo * fixup
* Use `.. warning::` (#17320)konsumlamm2021-03-101-5/+4
|
* use lowercase --define switches (#17283)flywind2021-03-071-1/+1
|
* https://github.com/nim-lang/Nim/pull/15826/files#r585368355 (#17233)Juan Carlos2021-03-031-2/+3
|
* use single backtick (#17141)flywind2021-02-213-12/+12
|
* Correct typo in osseps.nim (#16939)Rummskartoffel2021-02-041-1/+1
|
* Deprecate TaintedString (#15423)Juan Carlos2021-01-151-9/+9
| | | | Co-authored-by: Timothee Cour <timothee.cour2@gmail.com> Co-authored-by: Dominik Picheta <dominikpicheta@googlemail.com>
* fixes #16359 [backport] (#16377)Andreas Rumpf2020-12-171-1/+1
|
* move decode_helpers to std/private (#16209)flywind2020-12-021-24/+0
|
* js -d:nodejs now supports osenv: `getEnv`, `putEnv`, `envPairs`, `delEnv`, ↵Timothee Cour2020-11-121-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]Miran2020-07-171-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öring2020-04-191-2/+1
|
* More fixes for Haiku (#13774)alaviss2020-03-271-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 Cour2020-01-301-1/+1
| | | | | | | | * fix for emscripten etc * add testcase for #13290 * replace deprecated isNilOrWhitespace
* Deleted misplaced separator (#13085) [backport]Teashrock2020-01-091-1/+0
| | | Misplaced separator, which was constantly breaking compilation on Haiku OS, was deleted.
* remove unused importsnarimiran2019-11-061-1/+2
|
* fixes #11807 (#11900)Andreas Rumpf2019-08-071-0/+5
| | | | | * fixes #11807 * make tests green again
* Fix #10630 - fix broken separators in nim doc (#11814)genotrance2019-07-241-95/+77
|
* os: confine osErrorMsg example to Linux (#11725)alaviss2019-07-131-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 Modi2019-06-151-0/+31
| | | [feature] Fixes https://github.com/nim-lang/Nim/issues/11452.
* [bugfix] Fixes async IO operations stalling even after socket is closed. ↵Dominik Picheta2019-06-121-3/+12
| | | | (#11232)
* Fix ospaths import error (#11150)genotrance2019-05-012-2/+2
|
* newruntime: progressAraq2019-04-011-1/+1
|
* update unicode.nim (#10921)Miran2019-03-311-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)Miran2019-01-303-27/+77
| | | | | * better docs: os * remove broken test on osx
* prevent index out of bounds error in oserr.nimKobi2019-01-191-1/+1
|
* Fix spelling errors (#10379)Federico Ceratto2019-01-191-2/+2
|
* [backport] fix documentation leak to `os.nim`[ci skip]narimiran2019-01-142-2/+2
|
* os.nim: big refactoring, use the new pathnorm that was extracted by ↵Araq2018-12-131-0/+130
| | | | compiler/pathutils.nim; added os.relativePath
* 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 async common into asyncdispatch.Dominik Picheta2018-12-071-211/+0
|/
* Make getEnv case insensitive on Windows (#9722)pgkos2018-11-161-1/+6
|
* deprecated ospaths (#9665)Andreas Rumpf2018-11-092-4/+4
|
* Convert *_family fields to cushortLemonBoy2018-09-191-2/+2
| | | | Fixes #9008
* add data.sysCommand when startProcessAuxSpawn raisesTimothee Cour2018-09-061-4/+4
|
* addresses issue #8391 show runtime context on some failed operations (#8393)Timothee Cour2018-07-231-1/+1
|
* Fixes #5880. (#7229)Dominik Picheta2018-07-101-1/+1
|
* remove deprecated stuff from the stdlib; introduce better deprecation warningsAraq2018-05-052-46/+2
|
* Fixes #4995. (#7157)Dominik Picheta2018-02-131-6/+16
|
* added a warning that the .deprecate statement is unreliable for routinesAndreas Rumpf2017-11-211-3/+0
|
* getEnv now supports a 'default' parameter; refs #6019Andreas Rumpf2017-10-301-2/+2
|
* another attempt to make travis and appveyor green againAndreas Rumpf2017-09-011-3/+3
|
* fix os.nim for WindowsAndreas Rumpf2017-09-011-0/+3
|