aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os
Commit message (Collapse)AuthorAge
...
* Common handling of required/ignored env varsJames McCoy2021-01-31
| | | | | | | | | | When starting a pty job, there are certain env vars that we need to either add or remove. Currently, there are two relevant scenarios. * Removing irrelevant env vars on Unix, mostly related to the terminal hosting nvim since they do not apply to a libvterm-hosted terminal. * Adding required env vars for Windows jobs.
* Use dict_T to pass env vars to process spawning codeJames McCoy2021-01-31
| | | | Co-authored-by: Matthieu Coudron <mattator@gmail.com>
* logging: move to XDG_CACHE_HOME (#13739)Michael Lingelbach2021-01-13
| | | | | while there is some controversy, stdpath('cache') looks like a better fit for logs than stdpath('data'): you can remove logs without preventing nvim to work which fits the XDG_CACHE_HOME definition of `user specific non-essential data files`.
* Use uv_os_homedir and current directory as backup when $HOME is not set (#13657)ffanzhang2021-01-10
| | | | | | Close https://github.com/neovim/neovim/issues/8614 Use uv_os_homedir and current directory as backup if HOME env is not set. Allocate homedir only if var is not NULL.
* input: consider "-- more --" state to be blocking, fixes #11899Björn Linse2021-01-04
|
* fix: Include auto/config.h before HAVE_* preprocessor checksJames McCoy2020-12-15
| | | | Closes #13533
* Fix colors in terminal by maintaining COLORTERMThomas Fehér2020-11-26
| | | | Fixes https://github.com/neovim/neovim/issues/10836
* Removed restricted mode - Fix #11972georg3tom2020-11-11
|
* vim-patch:8.1.0268: file type checking has too many #ifdef (#13182)tamago3242020-11-06
| | | | | Problem: File type checking has too many #ifdef. Solution: Always define the S_IF macros. (Ken Takata, closes vim/vim#3306) https://github.com/vim/vim/commit/d569bb029983cff947dce704e6f830276204c13f
* startup: handle autoload and lua packages during startupBjörn Linse2020-11-02
| | | | ¡NO HAY BANDA!
* vim-patch:8.2.0728: messages about a deadly signal are not left alignedJan Edmund Lazo2020-10-16
| | | | | | Problem: Messages about a deadly signal are not left aligned. Solution: Output a CR before the NL. (Dominique Pelle, vim/vim#6055) https://github.com/vim/vim/commit/69212b11d18d9d8951968f6ca88e6ce046c90675
* vim-patch:8.2.1757: Mac: default locale is lacking the encoding (#12994)Jan Edmund Lazo2020-09-28
| | | | | | | | | vim-patch:8.2.1757: Mac: default locale is lacking the encoding Problem: Mac: default locale is lacking the encoding. Solution: Add ".UTF-8 to the locale. (Yee Cheng Chin, closes vim/vim#7022) https://github.com/vim/vim/commit/a5fe91e6dc610bc823bc3201e2c88179989b13fb Cherry-pick test_environ.vim changes from patch 8.2.1432.
* win: avoid duplicate separators in $PATH #12869Justin M. Keyes2020-09-08
| | | | | | | | | | | | | | | Seems like redundant env var separators (";" on Windows) in $PATH can cause weird behavior. From #7377: > After some time, system(['win32yank', '-o']) and system('win32yank -o') > start returning different results: specifically first returns an > empty string. > > 1. $PATH weirdly contains double semicolon followed by path to the > “installation directory” (unpacked directory from archive). > 2. If I run `let $PATH=substitute($PATH, ';;', ';', 'g')` the problem is fixed. close #7377 ref 224f99b85d311ebd31451db13b66e4a3c7e51938
* Merge pull request #12804 from janlazo/vim-8.1.1725Jan Edmund Lazo2020-08-31
|\ | | | | [RDY]vim-patch:8.1.{1694,1725,1776,1804,1806,1831,2041,2198,2206},8.2.{1033,1315,1548}
| * vim-patch:8.1.1725: MS-Windows: E325 message may use incorrect date formatJan Edmund Lazo2020-08-30
| | | | | | | | | | | | | | Problem: MS-Windows: E325 message may use incorrect date format. Solution: Convert strftime() result to 'encoding'. Also make the message translatable. (Ken Takata, closes vim/vim#4685, closes vim/vim#4681) https://github.com/vim/vim/commit/663bbc09babea1ff8dfa7ccd58801ac9219fc2b2
* | docs, remove 'guifontset' #11708Justin M. Keyes2020-08-31
|/ | | | | | | | | | | | | - remove redundant autocmd list This "grouped" list is useless, it only gets in the way when searching for event names. - intro.txt: cleanup - starting.txt: update, revisit - doc: `:help bisect` - mbyte.txt: update aliases 1656367b90bd. closes #11960 - options: remove 'guifontset'. Why: - It is complicated and is used by almost no one. - It is unlikely to be implemented by Nvim GUIs (complicated to parse, specific to Xorg...).
* Merge remote-tracking branch 'upstream/master' into libcallnrJames McCoy2020-08-08
|\
| * Merge remote-tracking branch 'upstream/master' into fileinfo-garbageJames McCoy2020-07-31
| |\
| | * Merge pull request #12376 from erw7/fix-stack-overflow-on-input-enqueueMatthieu Coudron2020-06-08
| | |\ | | | | | | | | input: fix stack overflow
| | | * [squash] fix comment [skip ci]erw72020-05-26
| | | |
| | | * input: fix stack overflowerw72020-05-25
| | | | | | | | | | | | | | | | fixes #12287, #11788
| | * | vim-patch:8.0.1564: too many #ifdefsJan Edmund Lazo2020-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Too many #ifdefs. Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and increases code size of tiny Vim by only 40 Kbyte. https://github.com/vim/vim/commit/f2bd8ef2b4507d02c6043affff8f7e85e3414d5f
| | * | win/TUI: enable mouse on ConEmu and vtpcon without vtierw72020-05-26
| | |/
| | * TUI: block signals on suspend #12180Kei Kamikawa2020-04-25
| | | | | | | | | fix #8075
| | * Merge pull request #12047 from erw7/fix-resolve-on-windowsMatthieu Coudron2020-04-19
| | |\ | | | | | | | | | | | | Change resolve() to resolve symbolic links on Windows Neovim worked the same way as vim for shortcuts, but didn't handle symbolic links and junction cases. This PR implements the same behavior for symbolic links and junctions as for vim.
| | | * Change to canonicalize only when reparse point in includederw72020-04-02
| | | |
| | | * Change resolve() to resolve symbolic links on Windowserw72020-04-02
| | | |
| | * | vim-patch:8.1.1567: localtime_r() does not respond to $TZ changesJan Edmund Lazo2020-03-29
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Localtime_r() does not respond to $TZ changes. Solution: If $TZ changes then call tzset(). (Tom Ryder) https://github.com/vim/vim/commit/db51730df1817fc4b6ecf5a065c69fac518ad821
| | * | vim-patch:8.1.1313: warnings for using localtime() and ctime()Jan Edmund Lazo2020-03-29
| | |/ | | | | | | | | | | | | | | | Problem: Warnings for using localtime() and ctime(). Solution: Use localtime_r() if available. Avoid using ctime(). https://github.com/vim/vim/commit/63d2555c9cefbbeeca3ec87fdd5d241e9488f9dd
| | * pvs/v1048: variable was assigned same valueJan Edmund Lazo2020-03-01
| | |
| | * env: try find library dir (like /usr[/local]/lib/nvim) and add it to &rtpBjörn Linse2020-02-07
| | |
| | * lintJustin M. Keyes2020-02-02
| | |
| | * refactor: move various things to os/shell.cJustin M. Keyes2020-02-02
| | | | | | | | | | | | | | | - No code changes - Rename mch_expand_wildcards => os_expand_wildcards
| | * shell: "..." instead of "[...]" #11760Justin M. Keyes2020-01-25
| | | | | | | | | | | | | | | | | | 0c1be45ea0b7 changed pulse logic to output "[...]" instead of nothing. But that doesn't align with the "..." pulse which may follow it. ref #11130
| | * Remove termtype optionerw72020-01-17
| | |
| | * Change to replace stderr with conouterw72020-01-17
| | |
| | * Add missing include fileerw72020-01-17
| | |
| | * Change option name from termwintype to termtypeerw72020-01-17
| | |
| | * Rename from os_win_conpty.{c,h} to pty_conpty_win.{c,h}erw72020-01-17
| | |
| | * Add stdin, stdout replacement functionserw72020-01-17
| | |
| | * Change enum to a name that follows naming conventionerw72020-01-17
| | |
| | * Change to use TriState instead of boolerw72020-01-17
| | | | | | | | | | | | Co-Authored-By: Justin M. Keyes <justinkz@gmail.com>
| | * Fix function prototypeerw72020-01-17
| | |
| | * Minor changes in reviewer's pointerw72020-01-17
| | |
| | * Move ConPTY resize to os_win_conpty.cerw72020-01-17
| | |
| | * Change union name from pty_object to objecterw72020-01-17
| | | | | | | | | | | | Co-Authored-By: Justin M. Keyes <justinkz@gmail.com>
| | * Change to use ConPTY, if availableerw72020-01-17
| | |
| | * os/env: fix pvs/v781Jan Edmund Lazo2019-12-26
| | |
| | * Merge remote-tracking branch 'upstream/master' into libcallJames McCoy2019-12-15
| | |\
| | | * os_getenvname_at_index: Handle Windows env vars whose name starts with =James McCoy2019-12-11
| | | |