aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/os
Commit message (Collapse)AuthorAge
...
* | 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
| | | |
| | | * Add os_getfullenv_size/os_copyfullenvJames McCoy2019-12-11
| | | |
| | | * jobstart now supports env/clear_envMatthieu Coudron2019-12-11
| | | | | | | | | | | | | | | | to modify the environment of the launched job.
| | | * TUI: use stdio names instead of magic numbers #11410erw72019-11-17
| | | |
| | | * TUI/thread: guard env map from potential race with unibilium #11259erw72019-10-20
| | | | | | | | | | | | unibi_from_term calls getenv internally, so exclusive control is required.
| | | * vim-patch 8.1.0361: remote user not used for completionerw72019-10-14
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Remote user not used for completion. (Stucki) Solution: Use $USER too. (Dominique Pelle, closes #3407) https://github.com/vim/vim/commit/6b0b83f768cf536b34ce4d3f2de6bf62324229aa
| | | * vim-patch 8.1.0084: user name completion does not work on MS-Windowserw72019-10-13
| | | | | | | | | | | | | | | | | | | | | | | | Problem: User name completion does not work on MS-Windows. Solution: Use NetUserEnum() to get user names. (Yasuhiro Matsumoto) https://github.com/vim/vim/commit/828c3d70833a0689cc07581f2a67d06430675da5
| | | * Fix potential deadlock #11151erw72019-10-04
| | | | | | | | | | | | | | | | | | | | ELOG may call os_getenv and os_setenv internally. In that case, a deadlock occurs.
| | | * shell: improve displaying of pulse (#11130)Daniel Hahler2019-10-02
| | | | | | | | | | | | | | | | | | | | | | | | - output "[...]" to indicate throttling is being used, instead of just an empty line - go to beginning of line after displaying the pulse, so that following output is displayed over it
| | | * Revert "win/os_env_exists(): workaround libuv bug #10734"Daniel Hahler2019-09-25
| | | | | | | | | | | | | | | | This reverts commit 278c5d452c2cbc436a9cc317407ae6021a226c3a.
| | | * env: use putenv_s for LC_ALL, LANG, etc. #11050erw72019-09-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: ":lang messages en_US.UTF-8" no longer overrides the language detected from the environment (at startup). Solution: In os_setenv, special-case "LC_ALL", "LANG", et al. to use putenv_s instead of uv_os_setenv. fixes #11045
* | | | libcall: Use "int" for number argumentJames McCoy2020-08-08
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The libcall family of functions need to use "int" for both input and output. The output side was fixed in 9c42232 but I forgot about the input side. # Please enter the commit message for your changes. Lines starting # with '#' will be ignored, and an empty message aborts the commit. # # On branch libcallnr # Your branch is up to date with 'upstream/master'. # # Changes to be committed: # modified: src/nvim/eval/funcs.c # modified: src/nvim/os/dl.c #
* / / fs: Ensure FileInfo struct is initializedJames McCoy2020-07-31
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Zero out the caller's FileInfo in all the functions which populate the struct. The contents are considered private, so we need to ensure it's initialized. If the stat call fails, the buffer we get back from libuv may not have any valid data in it, so don't copy it into the caller's FileInfo. This was happening, expectedly, in functional/ex_cmds/write_spec.lua's "write errors out correctly", which caused it to fail in certain environments: test/functional/ex_cmds/write_spec.lua:130: Expected objects to be the same. Passed in: (string) 'Vim(write):E212: Can't open file for writing: not a directory' Expected: (string) 'Vim(write):E166: Can't open linked file for writing'
* / libcallnr: Use int, not int64_t, as the return type for Vim compatJames McCoy2019-12-15
|/ | | | | | | | | | Vim's documentation simply states that libcallnr() should be used "for a function that returns an int". Based on the tests, code, and common syscall interfaces, this should likely be taken literally instead of trying to apply some well-defined type lipstick. Notably, this change fixes Test_libcall_libcallnr on hppa (a 32-bit big-endian system).
* refactor: allow us to process a child queue only while waiting on inputBjörn Linse2019-09-08
|
* stdpaths_get_xdg_var: consider empty env vars #10953Daniel Hahler2019-09-06
| | | | | Without this "sysinit uses VIM if XDG_CONFIG_DIRS unset" fails with an existing `/etc/xdg/nvim/sysinit.vim` file, because `XDG_CONFIG_DIRS=` is not considered, but the default ("/etc/xdg") used then.