aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
Commit message (Collapse)AuthorAge
...
* vim-patch:8.2.1833: when reading from stdin dup() is called twice (#13498)Jan Edmund Lazo2020-12-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: When reading from stdin dup() is called twice. Solution: Remove the dup() in main.c. (Ken Takata, closes vim/vim#7110) https://github.com/vim/vim/commit/204ade6bcb85f48f56e52e040d1ebf40548d92be N/A patches for version.c: vim-patch:8.2.2109: "vim -" does not work well when modifyOtherKeys is enabled Problem: "vim -" does not work well when modifyOtherKeys is enabled and a shell command is executed on startup. Solution: Only change modifyOtherKeys when executing a shell command in raw mode. https://github.com/vim/vim/commit/8a3da6a368ca7e761939366e355528bccb6dffa3 vim-patch:8.2.2110: cannot use ":shell" when reading from stdin Problem: Cannot use ":shell" when reading from stdin. (Gary Johnson) Solution: Revert patch 8.2.1833. https://github.com/vim/vim/commit/8e1cbb55c389bdc4eade7a67309d5042fbcdca7d vim-patch:8.2.2111: GTK: menu background is the same color as the main window Problem: GTK: Menu background is the same color as the main window. Solution: Fix white space around the test in another way. (closes vim/vim#7437, closes vim/vim#7427) https://github.com/vim/vim/commit/023fd5d21323fe6dffa080bd20c4d39e1212d353 vim-patch:8.2.2113: MS-Windows GUI: crash after using ":set guifont=" four times Problem: MS-Windows GUI: crash after using ":set guifont=" four times. Solution: Check for NULL pointer. (Ken Takata, closes vim/vim#7434) https://github.com/vim/vim/commit/1b3e0727ce86ca4cfa47f8b5421d82ed47a9bec1 vim-patch:8.2.2116: MS-Windows GUI: test for 'guifont' is incomplete Problem: MS-Windows GUI: test for 'guifont' is incomplete. Solution: Set 'renderoptions'. (Christian Brabandt) https://github.com/vim/vim/commit/2c78a772fdb5f6a16d16a47e7f218051c4dcb845 vim-patch:8.2.2118: dead code in the job support Problem: Dead code in the job support. (Dominique Pellé) Solution: Define USE_ARGV before checking for it. https://github.com/vim/vim/commit/f46bf5204c3c55d23921b501db21a906d526eb45 vim-patch:8.2.2119: GTK3: status line background color is wrong Problem: GTK3: status line background color is wrong. Solution: Don't change the code for earlier GTK3 versions. (closes vim/vim#7444) https://github.com/vim/vim/commit/7988a6f0e9999d1103271024ab4ed26e5599de17
* executor: use new nlua_ name patternBjörn Linse2020-12-01
|
* startup: allow lua files as session onedm1try2020-12-01
|
* startup: add init.lua as an alternative user config, fixes #7895dm1try2020-12-01
|
* vim-patch:8.2.2059: Amiga: can't find pluginsJan Edmund Lazo2020-11-27
| | | | | | Problem: Amiga: can't find plugins. Solution: Do not use "**" in the pattern. (Ola Söder, closes vim/vim#7384) https://github.com/vim/vim/commit/6ee874d378829b62e0944063a9a029e81b5debfb
* globals: eliminate "has_mbyte" macroJan Edmund Lazo2020-11-14
| | | | | "has_mbyte" always evaluates to "true". Continue dead code removal, started in https://github.com/neovim/neovim/pull/13275.
* Removed restricted mode - Fix #11972georg3tom2020-11-11
|
* decoration: split out "decoration" from "extmark" moduleBjörn Linse2020-11-07
| | | | | Decorations will only grow more complex. move the to a separate file, so that extmark.c remains about extmarks.
* api: add API for themesBjörn Linse2020-11-01
| | | | | | | | | | co-author: hlpr98 <hlpr98@gmail.com> (dict2hlattrs function) orange is sus?? NOVEMBER DAWN erase the lie that is redraw_later()
* luahl: global the luahlBjörn Linse2020-09-13
|
* decor: sketch new decorations APIBjörn Linse2020-09-03
| | | | | | | | return decorations back lol no nvim_buf_get_virtual_text share decorations that are hl only to avoid alloc avalanche
* startup: fix stall issue with -D options (#12652)erw72020-07-19
| | | fixes #12647.
* main.c: fix hang issue with recoverymode (#12496)erw72020-06-22
| | | | | In the case of recoverymode, the headlessmode was true, causing the UI to hang without starting. Fix this problem by setting headlessmode to true for List swap files only.
* vim-patch:8.0.1554: custom plugins loaded with --cleanJan Edmund Lazo2020-06-18
| | | | | | Problem: Custom plugins loaded with --clean. Solution: Do not include the home directory in 'runtimepath'. https://github.com/vim/vim/commit/072687032683b1994d25a114893d9a6f8bc36612
* 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
* vim-patch:8.1.2233: cannot get the Vim command line arguments (#12117)kuuote2020-05-24
| | | | | Problem: Cannot get the Vim command line arguments. Solution: Add v:argv. (Dmitri Vereshchagin, closes vim/vim#1322) https://github.com/vim/vim/commit/69bf634858a2a75f2984e42b1e4017bc529a040a
* nvim: Correctly setup global channelsAndreas Schneider2020-02-23
| | | | | | | | | As gcc10 uses -fno-common by default, global variables declared with the same name more than once is not allowed anymore revealing this issue. We need to define it as extern to access it. See also https://bugzilla.redhat.com/show_bug.cgi?id=1799680
* lintJustin M. Keyes2020-02-02
|
* refactor: rename mch_exit => os_exitJustin M. Keyes2020-02-02
| | | | | - No code changes - Move it to main.c
* terminal: absolute CWD in term:// URI #11289Chris LaRose2020-01-26
| | | | | | | | | This makes it possible to restore the working directory of :terminal buffers when reading those buffers from a session file. Fixes #11288 Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
* Add stdin, stdout replacement functionserw72020-01-17
|
* Change to use TriState instead of boolerw72020-01-17
| | | | Co-Authored-By: Justin M. Keyes <justinkz@gmail.com>
* Change to use ConPTY, if availableerw72020-01-17
|
* log_init: call log_path_init (#11501)Daniel Hahler2019-12-02
| | | | | | | | This has to be done after `init_homedir` for XDG default and `set_init_1` for lookup from env, which could be done earlier likely (to help with https://github.com/neovim/neovim/issues/10937), but this keeps it in sync with Vim. Fixes https://github.com/neovim/neovim/issues/11499.
* vim-patch:8.1.0461: quickfix: change comment style #11453Jan Edmund Lazo2019-11-24
| | | | | Problem: Quickfix code uses too many /* */ comments. Solution: Change to // comments. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/00bf8cd2115be7c14258aee48c0a7568147c9cd7
* lua: vim.rpcrequest, vim.rpcnotify, vim.NILBjörn Linse2019-11-10
|
* recovery mode (-r/-L): use headless_mode (#11187)Daniel Hahler2019-10-11
| | | Fixes https://github.com/neovim/neovim/issues/11181.
* vim-patch:8.1.1371: cannot recover from a swap file #11081Jurica Bradarić2019-10-05
| | | | | | | Problem: Cannot recover from a swap file. Solution: Do not expand environment variables in the swap file name. Do not check the extension when we already know a file is a swap file. (Ken Takata, closes 4415, closes vim/vim#4369) https://github.com/vim/vim/commit/99499b1c05f85f83876b828eea3f6e14f0f407b4
* startup: fail if --embed with -es/-Es #10753glacambre2019-09-13
| | | | Closes https://github.com/neovim/neovim/issues/10031
* UIEnter/UILeave: fire for embedder UI, builtin TUIJustin M. Keyes2019-09-12
| | | | | | | | | Before this, --embed UIs (without --headless) would not trigger UIEnter. For TUI, maybe UIEnter isn't useful, but: - It is less "surprising"/special. - Makes documentation simpler. - When TUI becomes a coprocess, it will happen anyway.
* vim-patch:8.1.1197: when starting with multiple tabs file messages is confusingJan Edmund Lazo2019-09-08
| | | | | | Problem: When starting with multiple tabs file messages is confusing. Solution: Set 'shortmess' when loading the other tabs. (Christian Brabandt) https://github.com/vim/vim/commit/c75e81262347e47a69faabd72caf89fec3f06e8f
* refactor: allow us to process a child queue only while waiting on inputBjörn Linse2019-09-08
|
* vim-patch:8.1.0515: reloading a script gives errors for existing functionserw72019-09-04
| | | | | | Problem: Reloading a script gives errors for existing functions. Solution: Allow redefining a function once when reloading a script. https://github.com/vim/vim/commit/ded5f1bed7ff2d138b3ee0f9610d17290b62692d
* vim-patch:8.1.0362: cannot get the script line number when executing a functionerw72019-09-04
| | | | | | | Problem: Cannot get the script line number when executing a function. Solution: Store the line number besides the script ID. (Ozaki Kiichi, closes vim/vim#3362) Also display the line number with ":verbose set". https://github.com/vim/vim/commit/f29c1c6aa3f365c025890fab5fb9efbe88eb1761
* utf16_to_utf8: align with libuvJustin M. Keyes2019-08-15
| | | | | | | | | - take a size parameter - return libuv error code - handle error in caller only (avoid redundant messages) https://github.com/libuv/libuv/commit/53995a3825d23eacd01e2bcfa35642c4a188d32b https://github.com/libuv/libuv/commit/4c945f49365ab4d6e1b07bf0ef2893455dc04622
* styleJustin M. Keyes2019-08-13
|
* Merge #10098 'win: fix msg_puts_printf()'Justin M. Keyes2019-08-12
|\
| * Change to use VV_PROGPATH instead os_exepath()erw72019-06-09
| |
| * Fix problems with message catalog directoryerw72019-06-09
| | | | | | | | | | | | | | | | - In appimage, the message catalog is not used because there is no message catalog in LOCALE_INSTALL_DIR. Therefore, change to exepath/../share/locale instead of LOCALE_INSTALL_DIR. - The old vim style($runtime/lang) is no longer used. Thus all relevant code is removed.
* | remove DYNAMIC_ICONVerw72019-08-06
| |
* | cleanup: remove mch_fopen in favor of os_fopenJustin M. Keyes2019-07-25
| |
* | refactor: use int for Columns and RowsBjörn Linse2019-07-19
| |
* | ui: add 'redrawdebug' option for flexible debugging of redrawingBjörn Linse2019-07-09
| |
* | doc [ci skip] #10177Justin M. Keyes2019-06-30
| | | | | | ref #10278 #10279 #10353
* | vim-patch:8.0.1726: older MSVC doesn't support declarations halfway a blockJan Edmund Lazo2019-06-19
| | | | | | | | | | | | Problem: Older MSVC doesn't support declarations halfway a block. Solution: Move the declaration back to the start of the block. https://github.com/vim/vim/commit/df2c774ded4c2ed169390a352099c23b6db657c4
* | main: do event_init before early_init #10183Daniel Hahler2019-06-12
|/ | | | | | Fixes https://github.com/neovim/neovim/issues/10172 * move log_init to event_init * move init_signs to end of early_init
* Merge #9829 'startup: remove TUI init special-case'Justin M. Keyes2019-06-04
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes #7967 fixes #9959 Historically Vim/Nvim does backflips to handle input and show messages before a UI is available. This logical contradiction was already fixed for remote UIs (#9024 c236e80cf3df). Fixing it also for the TUI avoids problems on Windows, simplifies the logic, and avoids races like #9959. - Move ui_builtin_start() to the same position as embedded_mode remote_ui_wait_for_attach(). - If stdin is redirected, save the original `stdin` and replace fd 0 with tty before calling `ui_builtin_start()`.
| * main.c: Change to use redraw_later(VALID)erw72019-06-04
| |
| * Fix issue where test failserw72019-06-04
| |
| * [skip appveyor] Fix clint issueerw72019-06-04
| |