Justin M. Keyes
4769deb36a
doc #10017
...
- gen_vimdoc.py: fancy "bullet"
- rework `:help channel-callback`
- rename `:help buffered` to `:help channel-buffered`
2019-05-25 10:00:41 +02:00
Justin M. Keyes
e628c011bf
gen_vimdoc.py: support lua/shared.lua module [ci skip]
2019-05-19 17:30:20 +02:00
KillTheMule
b102c11e38
gen_vimdoc.py: get Lua docs via lua2dox.lua #9740
2019-05-18 22:01:14 +02:00
Douglas 'dopessoa' Pessoa
aa610690bf
genappimage.sh: migrate to linuxdeploy #10027
...
generate_type2_appimage is unmaintained, and lacks a way to rename the appimage file.
fix #9893
2019-05-18 20:38:19 +02:00
Justin M. Keyes
c11e618133
gen_vimdoc.py: support <pre> preformatted text [ci skip]
2019-05-01 00:18:49 +02:00
Justin M. Keyes
c1887f465d
gen_vimdoc.py: skip "Parameters" header if all excluded
2019-04-22 21:24:46 +02:00
Daniel Hahler
49ca20aaf3
vim-patch.sh: perf, readability #9044
...
closes #9044
2019-04-12 00:28:02 +02:00
Justin M. Keyes
27cd1e07ed
doc [ci skip]
...
- README.md: Removed waffle.io because that service is shutting down.
2019-04-08 03:42:21 +02:00
Justin M. Keyes
281c011d44
gen_help_html.py [ci skip]
2019-03-27 00:50:38 +01:00
Justin M. Keyes
bec4066033
gen_vimdoc.py: render nested lists, etc [ci skip]
...
- render_node() is now the main rendering function: it traverses a node
and builds the Vim help text recursively.
- render_para() is weird and ugly, it is the entry-point for rendering
the help text for one docstring'd function.
2019-03-26 21:33:06 +01:00
Billy Su
8ba484ab69
vim-patch.sh: mention URL for hub
tool #9659
...
closes #9659
2019-03-02 03:26:11 +01:00
Justin M. Keyes
cd64f5abd4
gen_api_vimdoc.py: Do not wrap on hyphens, long words
...
- Any long symbol is intentional and should never be hardwrapped.
- Vim help tags are often hyphenated, and hardwrapping on hyphens breaks
the Vim help syntax parser.
2019-01-26 20:38:14 +01:00
Justin M. Keyes
c70c8b607f
doc [ci skip] #9478
...
- Lua
- developer guidelines
- MAINTAIN.md
- TUI: cleanup
- TUI: mention Windows terminfo builtins
- cleanup if_pyth, redirect python-bindeval tag
Helped-by: Björn Linse <bjorn.linse@gmail.com>
Helped-by: erw7 <erw7.github@gmail.com>
2019-01-26 20:38:14 +01:00
Justin M. Keyes
f2cc9e8826
pvscheck.sh: set --sourcetree-root [ci skip]
...
Reverts previous experiment. PVS root is working correctly, one can
observe this in the PVS-studio.err file, for example:
/usr/local/clang-7.0.0/lib/clang/7.0.0/include/stddef.h:51:1: warning: V677 ...
/usr/local/clang-7.0.0/lib/clang/7.0.0/include/stddef.h:132:1: warning: V677 ...
./src/nvim/fileio.c:1382:1: warning: V1026 ...
./src/nvim/fileio.c:1388:1: warning: V1026 ...
The "./src/nvim/…" paths are correctly rooted, yet PVS somehow still
thinks it should analyze "/usr/local/clang-7.0.0/…".
See also: https://stackoverflow.com/q/44906903
2019-01-19 22:13:58 +01:00
Justin M. Keyes
391f0c1ce7
pvscheck.sh: do not set --sourcetree-root [ci skip]
...
System headers should be ignored by PVS, but somehow aren't.
See also: https://stackoverflow.com/q/44906903
2019-01-19 13:04:32 +01:00
Justin M. Keyes
e8137d263e
pvscheck.sh: ignore stddef.h
...
This system header should be ignored by PVS.
See also: https://stackoverflow.com/q/44906903
2019-01-18 02:43:42 +01:00
Justin M. Keyes
0d66cdc6f9
pvscheck.sh: Fix download URL #9500
...
- old URL redirects to https://www.viva64.com/en/pvs-studio-download/
- page now contains tgz files for macOS and Linux; the pattern must
match only the Linux URL
2019-01-14 00:23:28 +01:00
Justin M. Keyes
61ec31cde1
release.sh
2019-01-13 15:21:24 +01:00
erw7
a4076e5dcf
win/TUI: fix text overrides line numbers #9474
...
fixes #9461
2019-01-09 10:40:02 +01:00
Justin M. Keyes
c8e78abaf9
pvscheck.sh: Skip install if dir exists
2019-01-08 01:30:46 +01:00
Justin M. Keyes
292b1790c8
release.sh: Format issue-numbers in descriptions [ci skip]
2019-01-04 06:03:47 +01:00
Justin M. Keyes
e22bf529c1
release.sh: fix exclusion pattern [ci skip]
...
grep support of "\s" pattern is unreliable.
2019-01-04 06:03:37 +01:00
Justin M. Keyes
725da1feeb
Merge #9401 from justinmk/pr-win-erw7
2018-12-30 23:54:23 +01:00
pierre
92806827a9
appimage: Include metadata #9320
...
closes #9320
closes #9128
2018-12-30 23:02:40 +01:00
Justin M. Keyes
dba69a1d3b
update_terminfo.sh: NOLINT data arrays
2018-12-28 23:52:03 +01:00
Justin M. Keyes
959df5d8a5
update_terminfo.sh: Use printf instead of echo
2018-12-28 23:52:03 +01:00
Justin M. Keyes
c1015121ec
Merge 'upstream/master' into pr-win-erw7
2018-12-27 22:49:44 +01:00
erw7
6c62f7b715
win/TUI: builtin terminfos for cygwin, conemu, et al.
2018-12-27 22:39:54 +01:00
erw7
6060301558
win/TUI: SetConsoleMode() to override libuv #9094
...
Use uv_set_vterm_state() to override libuv's guess.
See https://github.com/libuv/libuv/pull/1873/ for discussion.
This commit uses a terminal-detection approach based on
GetProcessImageFileNameW(...), which will be reverted in the following
commit. The approach was intended to handle the case of running in
winpty (:terminal), but we will add $NVIM env var for that.
Also add some support for ConEmu, cygwin.
2018-12-27 22:35:59 +01:00
erw7
cb76a8a95f
genappimage: Unset $ARGV0 at invocation #9376
...
AppImage sets $ARGV0 which breaks zsh.
Hack around this in our appimage.
fixes #9341
ref https://github.com/AppImage/AppImageKit/issues/852
[ci skip]
2018-12-19 06:30:58 +01:00
Justin M. Keyes
bc132ae123
runtime/syntax: Fix highlighting of augroup contents ( #9328 )
...
Comparing `vimCommand` from Vim's runtime/syntax/vim.vim, one can see
that "augroup" and similar commands are conspicuously missing. They are
handled specially (`vimAugroupKey`, `vimAutoCmd`).
Excluding them from the generated `vimCommand` keyword list, fixes their
highlighting.
closes #9327
2018-12-08 01:16:58 +01:00
Justin M. Keyes
452cadb85a
scripts/gen_help_html.py
...
Adapted from https://github.com/c4rlo/vimhelp/
License: MIT
2018-11-28 03:48:06 +01:00
Jan Edmund Lazo
59ded3ef29
vim-patch: add matchit doc
...
matchit doc is named 'pi_matchit.txt'.
2018-11-12 12:36:40 -05:00
Jan Edmund Lazo
dec38601c5
vim-patch: rename path to check_colors.vim
2018-11-12 12:36:40 -05:00
Jan Edmund Lazo
89621464fc
vim-patch: move test_urls.vim out of runtime/
...
Rename it to check_urls.vim, similar to check-includes.py.
2018-11-12 12:36:40 -05:00
Justin M. Keyes
2ee4ce0639
doc: merge sponsor.txt into intro.txt
...
Also mention how to donate to Nvim.
closes #8603
2018-11-05 22:45:48 +01:00
Justin M. Keyes
afd1d412fa
auevents.lua: keep events in alphabetical order
2018-10-22 01:30:29 +02:00
Justin M. Keyes
c05982cf35
vim-patch.sh: Skip Vim screen-dump files
2018-10-05 09:51:38 +02:00
Daniel Hahler
c2f337ce97
vim-patch.sh: use --ff with git-pull
...
I have `merge.ff = no` in my Git config to not use fast-forward merges
by default, but when updating the Vim sources it should not cause a
merge commit.
[ci skip]
2018-09-30 21:05:26 +02:00
Justin M. Keyes
8872fce120
vim-patch.sh: Also check for .git/ directory
...
In the case of nested repos, such as when "neovim/" repo contains
"neovim/.vim-src/" repo,
git rev-parse --show-toplevel
returns the fullpath to the "neovim/" repo, which failed the condition.
ref #8875
ref c05d7153d3
2018-08-21 08:37:49 +02:00
James McCoy
c05d7153d3
vim-patch.sh: Use git-rev-parse to check repo ( #8875 )
...
Explicitly checking for the .git/ directory doesn't work in various
situations (e.g., git-worktree).
[ci skip]
2018-08-20 17:41:00 +02:00
Jan Edmund Lazo
6aefae8c4e
terminfo: add header guard, stdint.h for int8_t ( #8848 )
...
Lint fixes for single-include test.
2018-08-11 16:06:57 +02:00
Marco Hinz
ceeca24205
terminfo: add scripts/update_terminfo.sh
...
This script updates the built-in terminfo entries.
[skip ci]
2018-08-10 14:58:23 +02:00
James McCoy
68411dc189
vim-patch.sh: Fix replacement which converts #1234 to vim/vim#1234
...
Noticed in cb7bdf5f
, where the script incorrectly converted `#ifdef` to
`vim/vim#ifdef`.
[skip ci]
2018-08-09 20:10:41 -04:00
Jason Felice
c7efc6047d
vim-patch.sh: Pass directory name to find ( #8830 )
...
BSD/Mac find requires directory names before arguments.
2018-08-09 01:56:55 +02:00
Peter Hodge
7ab27eeb53
DOC: add support for intro sections in api docs
2018-07-25 15:07:13 +10:00
Justin M. Keyes
0615450688
gen_api_vimdoc.py: add whitespace before "~"
2018-07-18 13:38:06 +02:00
James McCoy
35b269f51f
vim-patch.sh: Unwrap commit messages when reviewing PRs
...
Longer summary lines for commits may be wrapped when downloading the
commit from GitHub. Unwrapping the lines ensures they can be compared
with the raw Vim commits.
The difference before and after this patch using:
./scripts/vim-patch.sh -r 8684
Before:
✘ Wrong commit message.
Expected:
vim-patch:8.0.1464: completing directory after :find does not add slash
Problem: Completing directory after :find does not add slash.
Solution: Adjust the flags for globpath(). (Genki Sky)
vim/vim@8a37b03
Actual:
vim-patch:8.0.1464: completing directory after :find does not
add slash
Problem: Completing directory after :find does not add slash.
Solution: Adjust the flags for globpath(). (Genki Sky)
After:
✔ Found expected commit message.
[ci skip]
2018-07-10 19:54:44 -04:00
James McCoy
44a284d71c
vim-patch.sh: review_commit: Fix regex for vim version
...
067bb1e9f
changed the commit format to include a brief description in
the summary line of the commit.
2018-07-09 13:55:21 -04:00
James McCoy
56af2f8c5f
vim-patch.sh: Use single quotes to avoid doubling backslashes
2018-07-09 13:51:13 -04:00
James McCoy
85d5bf81b9
gen_api_vimdoc: Make executable and change #! to python3
2018-06-29 18:46:05 -04:00
James McCoy
c8af12d0fa
vim-patch: Replace shell variables in printf with formatted args
...
This ensures that special characters in the variables are not
interpreted as escapes/format characters in the printf string, as was
seen with upstream patch 8.0.0615.
$ ./scripts/vim-patch.sh -p 8.0.0615
Updating Vim sources: /$HOME/src/neovim/.vim-src
✔ Updated Vim sources.
✔ Found Vim revision 'bf15b8d78b22661db8b19d662b62bb9a061cdd37'.
Creating patch...
Pre-processing patch...
✔ Saved patch to '/$HOME/src/neovim/vim-8.0.0615.patch'.
Fetching 'origin/master'.
✔ From https://github.com/neovim/neovim
* branch master -> FETCH_HEAD
Creating new branch 'vim-8.0.0615' based on 'origin/master'.
✔ Switched to a new branch 'vim-8.0.0615'
Branch 'vim-8.0.0615' set up to track remote branch 'master' from 'origin'.
Creating empty commit with correct commit message.
./scripts/vim-patch.sh: line 40: printf: `w': invalid format character
✔ [vim-8.0.0615 db7fbb016] vim-patch:8.0.0615: using ./scripts/vim-patch.sh: line 44: printf: `w': invalid format character
✘ [vim-8.0.0615 db7fbb016] vim-patch:8.0.0615: using
[ci-skip]
2018-06-19 10:20:48 -04:00
Justin M. Keyes
fa2ad305e3
version bump
2018-06-11 10:58:54 +02:00
Justin M. Keyes
44c6deb91a
NVIM v0.3.0
...
FEATURES:
3cc7ebf810
#7234 built-in VimL expression parser
6a7c904648
#4419 implement <Cmd> key to invoke command in any mode
b8363283fa
#7679 'startup: treat stdin as text instead of commands'
58b210e114
:digraphs : highlight with hl-SpecialKey #2690
7a13611ba2
#8276 'startup: Let `-s -` read from stdin'
1e71978cf0
events: VimSuspend, VimResume #8280
1e7d5e8cdf
#6272 'stdpath()'
f96d99ad11
#8247 server: introduce --listen
e8c39f72fd
#8226 insert-mode: interpret unmapped META as ESC
98e7112390
msg: do not scroll entire screen (#8088 )
f72630b784
#8055 let negative 'writedelay' show all redraws
5d2dd2ebe2
win: has("wsl") on Windows Subsystem for Linux #7330
a4f6cec7a3
cmdline: CmdlineEnter and CmdlineLeave autocommands (#7422 )
207b7ca4bc
#6844 channels: support buffered output and bytes sockets/stdio
API:
f85cbea725
#7917 API: buffer updates
418abfc9d0
#6743 API: list information about all channels/jobs.
36b2e3f743
#8375 API: nvim_get_commands
273d2cd5d5
#8329 API: Make nvim_set_option() update `:verbose set …`
8d40b3617c
#8371 API: more reliable/descriptive VimL errors
ebb1acb3c0
#8353 API: nvim_call_dict_function
9f994bb699
#8004 API: nvim_list_uis
34057045be
#7520 API/UI: forward option updates to UIs
911b1e49ab
#7821 API: improve nvim_command_output
WINDOWS OS:
9cefd83cc7
#8084 , #8516 build/win: support MSVC
ee4e1fd8ec
win: Fix reading content from stdin (#8267 )
TUI:
ffb8904913
#8309 TUI: add support for mouse release events in urxvt
8d5a46e77b
#8081 TUI: implement "standout" attribute
60716371e9
TUI: support TERM=konsole-256color
67848c0b91
#7653 TUI: report TUI info with -V3 ('verbose' >= 3)
3d0ee17c91
TUI/rxvt: enable focus-reporting
d109f5645b
#7640 TUI: 'term' option: reflect effective terminal behavior
FIXES:
ed6a113804
#8273 'job-control: avoid kill-timer race'
4e02f1ab87
#8107 'jobs: separate process-group'
451c48a092
terminal: flush vterm output buffer on pty output #8486
5d6732ff09
:checkhealth fixes #8335
53f11dcfc7
#8218 'Fix errors reported by PVS'
d05712fbe7
inccommand: pause :terminal redraws (#8307 )
51af911a27
inccommand: do not execute trailing commands #8256
84359a467f
terminal: resize to the max dimensions (#8249 )
d49c1dda8b
#8228 Make vim_fgets() return the same values as in Vim
60e96a45b4
screen: winhl=Normal:Background should not override syntax (#8093 )
0c59ac1a2c
#5908 'shada: Also save numbered marks'
ba87a2cde7
cscope: ignore EINTR while reading the prompt (#8079 )
b1412dc412
#7971 ':terminal Enter/Leave should not increment jumplist'
3a5721e91b
TUI: libtermkey: force CSI driver for mouse input #7948
6ff13d78b7
#7720 TUI: faster startup
1c6e956079
#7862 TUI: fix resize-related segfaults
a58c9094db
#7676 TUI: always hide cursor when flushing, never flush buffers during unibilium output
303e1df13f
#7624 TUI: disable BCE almost always
249bdb07dd
#7761 mark: Make sure that jumplist item will not have zero lnum
6f41ce0260
#7704 macOS: Set $LANG based on the system locale
a043899ba2
#7633 'Retry fgets on EINTR'
CHANGES:
ad60927d09
#8304 default to 'nofsync'
f3f1970597
#8035 defaults: 'fillchars'
a6052c7307
#7984 defaults: sidescroll=1
b69fa866db
#7888 defaults: enable cscopeverbose
7c4bb23ff3
defaults: do :filetype stuff unless explicitly "off"
2aa308c685
#5658 'Apply :lmap in macros'
8ce6393048
terminal: Leave 'relativenumber' alone (#8360 )
e46534b423
#4486 refactor: Remove maxmem, maxmemtot options
131aad953c
win: defaults: 'shellcmdflag', 'shellxquote' #7343
c57d315963
#8031 jobwait(): return -2 on interrupt also with timeout
6452831cf9
clipboard: macOS: fallback to tmux if pbcopy is broken #7940
300d3651e2
#7919 Make 'langnoremap' apply directly after a map
ada1956206
#7880 'lua/executor: Remove lightuserdata'
INTERNAL:
de0a9548f7
#7806 internal statistics for list impl
dee78a4095
#7708 rewrite internal list impl
2018-06-11 00:46:49 +02:00
Justin M. Keyes
53f11dcfc7
Merge #8218 'Fix errors reported by PVS'
...
closes #4983
2018-04-27 09:25:02 +02:00
ZyX
4ce8521ee4
pvscheck: Disable V011 warning
2018-04-22 20:54:17 +03:00
ZyX
cb3bb0becb
pvscheck: Add --update switch
2018-04-17 01:44:11 +03:00
ZyX
57c66bc168
pvscheck: Remove outputs before running plog-converter
...
plog-converter behaviour is not the best one when creating fullhtml report and
directory already exists: it puts report inside an existing directory. Not sure
what exactly it does if inside exists as well, but if I am not mistaking report
will not be created.
2018-04-17 01:37:58 +03:00
Justin M. Keyes
f19db1b9ba
remove scripts/run-api-tests.exp
...
Usage of this script was removed 0c2ec77ae0
.
2018-04-11 00:56:36 +02:00
ZyX
6b84f7813c
pvscheck: Also provide source tree root to plog-converter
2018-04-02 00:16:22 +03:00
ZyX
65d0b8ed32
pvscheck: Also produce fullhtml reports
2018-04-02 00:15:31 +03:00
ZyX
7eceac218e
pvscheck: Make realdir work with nonexistent directories
2018-04-02 00:07:05 +03:00
Justin M. Keyes
f8d2aef4f2
vim-patch.sh: remove blank line before URL
...
This "stacks" better in squashed PRs, etc.
2018-03-24 23:08:40 +01:00
James McCoy
4e5e6506b5
pvscheck: Ignore exit code of pvs-studio-analyzer
...
Since its typically non-zero, the script immediately exits instead of
converting the binary log into useful formats.
2018-03-11 18:01:44 -04:00
James McCoy
9dc3cc2c68
genappimage: Include update information for releases/nightlies
...
This will allow users to use AppImageUpdate to update their AppImage.
It requires publishing the created zsync file alongside the appimage
file for the releases.
2018-03-09 20:49:26 -05:00
James McCoy
e1f27cdb4c
genappimage: Create a type 2 AppImage
2018-03-09 20:49:26 -05:00
James McCoy
b0d08998f5
genappimage: Use AppImage/AppImages repo to avoid redirects
2018-03-09 20:49:24 -05:00
Giuseppe
d53aa0e94f
vim-patch.sh: more colorful #8115
2018-03-09 00:58:12 +01:00
Marco Hinz
a98736b9c0
scripts: fix shebang of shadacat.py [ci skip]
2018-03-04 02:52:23 +01:00
Justin M. Keyes
b67ce84c45
vim-patch.sh: delete *.orig files
2018-02-11 15:27:55 +01:00
Justin M. Keyes
e69a71427c
vim-patch.sh: remove --posix from patch invocation
...
This was supposed to avoid creating *.orig. It doesn't do that, and
worse, it also seems to prevent new files from being created.
2018-02-11 15:27:47 +01:00
Daniel Hahler
0d548b73ef
scripts/vim-patch.sh: continue when patching with -P fails ( #7790 )
...
The `set -e` caused the script to stop in case `patch` fails, but it is
better to continue giving instructions.
2017-12-30 14:15:51 +01:00
Justin M. Keyes
7773bbd098
vimpatch.lua: automate version.c
...
Invoke it like this:
VIM_SOURCE_DIR=~/neovim/.vim-src/ nvim -i NONE -u NONE --headless +'luafile ./scripts/vimpatch.lua' +q
2017-12-27 12:30:55 +01:00
Justin M. Keyes
903ed09a61
vim-patch.sh: extract list_vimpatch_tokens()
...
Use streams instead of for-loop (20x speedup for list_vimpatch_tokens).
2017-12-26 04:00:18 +01:00
Justin M. Keyes
973bd10a12
vim-patch.sh: introduce -V
2017-12-26 04:00:18 +01:00
Justin M. Keyes
fe60fa9faa
doc
...
vim-patch:8.0.1206: no autocmd for entering or leaving the command line
(commit a4f6cec7a3
)
NA patches:
vim-patch:8.0.0320: warning for unused variable with small build
2017-12-26 03:58:28 +01:00
James McCoy
067bb1e9f4
vim-patch.sh: Include upstream summary in commit message
...
[ci skip]
2017-12-17 10:45:55 -05:00
Justin M. Keyes
23fb833ea7
vim-patch.sh: remove version.c in generated patch
...
Vim patch tracking is now driven completely by `vim-patch:xxx` tokens in
the VCS logs. version.c will be auto-generated, if it is used at all.
2017-12-11 00:54:25 +01:00
Justin M. Keyes
56b49955b7
vim-patch.sh: introduce -L
2017-12-11 00:49:44 +01:00
Justin M. Keyes
5bd8827431
vim-patch.sh: always use git log, not version.c
2017-12-10 17:13:22 +01:00
Justin M. Keyes
9ada97a810
gen_api_vimdoc.py: require "nvim_" prefix
...
Avoids doxygen bugs (things that aren't functions) and other noise (e.g.
`remote_ui_disconnect()` was incorrectly included in api.txt).
2017-12-10 17:13:22 +01:00
Justin M. Keyes
84d9245c70
pvscheck.sh: auto-detect URL by default
...
The hardcoded URL breaks very often, this confuses people.
Instead, auto-detect if no URL is provided.
Also auto-detect if the script is invoked with no arguments.
2017-11-21 01:38:30 +01:00
Justin M. Keyes
d6f9d1df04
version bump
2017-11-18 12:46:38 +01:00
Justin M. Keyes
ea51f08276
vim-patch.sh: avoid creating *.orig files
2017-11-07 22:33:26 +01:00
Justin M. Keyes
3a7feb6989
vim-patch.sh: remove vimrc_example.vim
...
vimrc_example.vim is not relevant to Nvim. Anything worth having in
there should be made an actual default.
.gitignore:
- remove *.orig ... super annoying
2017-11-07 20:38:04 +01:00
Justin M. Keyes
dc92901094
vim-patch.sh: new option -P
2017-11-07 00:54:05 +01:00
Justin M. Keyes
280943d9b9
doc: API (generated)
2017-11-06 04:51:34 +01:00
Justin M. Keyes
7e59b897c1
gen_api_vimdoc.py: workaround: attributes of (void) functions
2017-11-06 04:27:31 +01:00
Justin M. Keyes
7984959ef5
gen_api_vimdoc.py: support Doxygen @note
2017-11-06 04:16:07 +01:00
James McCoy
e6d4b7686c
vim-patch.sh: Exclude testdir/ files from src/ file pruning
...
Without the testdir/ exclusion, all directories under src/ were affected
by this cleanup. However, testdir/ has its own pruning that happens
later.
2017-09-27 08:20:43 -04:00
Justin M. Keyes
8aa0dfd684
doc: "terminal" always means "embedded terminal emulator"
...
- Prefer "TUI" where possible to refer to the host terminal.
- Remove obsolete tags and ancient TTY exposition.
- Establish "terminal" to consistently mean "terminal emulator" in all
Nvim documentation. This removes the need for verbose qualifiers in
tags and prose.
References #6280
References #6803
2017-08-03 00:29:51 +02:00
lonerover
e3a2b7220f
vim-patch.sh: only show missing patches
2017-07-15 20:34:24 +08:00
James McCoy
06ec15121a
Bump Vim version to 8.0 and applied patches
2017-07-14 06:44:06 -04:00
ZyX
aa3e3b4ca6
pvscheck: Add --environment-cc switch
...
To be used to make bot-ci able to use clang-4.0 without hacks.
[ci skip]
2017-07-04 19:25:05 +03:00
James McCoy
03fc0e3f41
scripts: Tell curl to follow redirects
2017-06-29 20:25:51 -04:00
James McCoy
25eced62b6
Update emoji-data URL for Unicode 10
...
vim-patch:8.0.0652
2017-06-29 17:46:27 -04:00
Justin M. Keyes
2b377d89db
scripts/pvscheck.sh: fix function rename
2017-06-25 07:53:27 +02:00
Justin M. Keyes
4b08b5d194
scripts/pvscheck.sh: HACK: de-parallelize on CI
...
https://github.com/neovim/bot-ci/pull/105#issuecomment-309282132
2017-06-25 07:35:01 +02:00
Justin M. Keyes
a469704495
scripts/pvscheck.sh: HACK: de-parallelize on CI
...
References https://github.com/neovim/bot-ci/pull/105
2017-06-25 03:26:24 +02:00
Justin M. Keyes
26235bc050
genappimage.sh: set CMAKE_INSTALL_MANDIR
...
Avoids attempt to install manpage to system location.
Also:
- Don't attempt `nvim --version` until after it was built.
- Remove unnecessary `mkdir`.
2017-06-19 01:44:38 +02:00
Daniel Hahler
45df8f77df
scripts/pvscheck.sh: fixes
...
[ci skip]
2017-06-17 20:37:13 +02:00
Daniel Hahler
6eb2bcd1a0
scripts/vim-patch.sh: do not git-reset on push failure ( #6878 )
...
This was added from the beginning to submit_pr in 775a16b0b
, but I
cannot see why that is useful - in contrast, it will mess with the local
branch in case "origin" cannot be pushed to (i.e. when it points to
neovim/neovim itself).
2017-06-11 16:25:13 +02:00
James McCoy
90f20bd7b1
pvscheck: Fix argument handling in do_recheck
...
[ci skip]
2017-06-09 16:42:43 -04:00
ZyX
c585a72cdc
pvscheck: Provide arguments to patch_sources
in correct order
2017-05-20 05:06:16 +03:00
ZyX
7f24736ebc
pvscheck: Handle invalid option error gracefully
2017-05-20 03:44:23 +03:00
ZyX
d72df05b93
pvscheck: Add --only-analyse mode
2017-05-20 03:35:50 +03:00
Björn Linse
c778311505
generators: separate source generators from scripts
2017-05-10 16:14:12 +02:00
Björn Linse
489d10c57c
api: generate ui events
2017-05-10 16:14:10 +02:00
ZyX
577befef97
generators: Do not leak error messages text
2017-05-08 20:54:09 +03:00
ZyX
09f849b600
Merge branch 'master' into luaviml'/lua
2017-05-08 15:43:45 +03:00
AdnoC
3c0cc028b7
dist: AppImage #6638
...
scripts/genappimage.sh produces an executable:
nvim-${NVIM_VERSION}-glibc${GLIBC_VERSION}-${ARCHITECTURE}.AppImage
Closes #6083
2017-05-04 14:43:41 +02:00
ZyX
4f4d21693b
pvscheck: Use absolute path for finding test-include.c
...
It was currently unknown in which directory create_compile_commands will end up
in.
[ci skip]
2017-05-02 21:53:16 +03:00
ZyX
0c6e0460b6
pvscheck: When using --recheck rerun build
...
[ci skip]
2017-05-02 18:40:51 +03:00
ZyX
3638d28f68
pvscheck: Add --deps to build with all dependencies
...
[ci skip]
2017-05-02 18:40:50 +03:00
ZyX
97806ee6d6
pvscheck: Add --pvs-install mode
...
[ci skip]
2017-05-02 18:40:50 +03:00
ZyX
68945ead63
pvscheck: Refactor script so that it only cd
s in a subshell
...
[ci skip]
2017-05-02 18:40:50 +03:00
ZyX
4cb61aa742
pvscheck: Create getopts_long implementation
...
Needed as argument list is growing large and I absolutely do not find short
options provided by getopts being particularly readable for unfamiliar commands.
[ci skip]
2017-05-02 18:40:22 +03:00
Justin M. Keyes
1d4f8f6b6a
Merge #6636 from ZyX-I/pvs-update
2017-05-02 12:00:35 +02:00
ZyX
15d39022ab
pvscheck: Add --pvs key to pvscheck.sh
...
[ci skip]
2017-05-02 04:04:20 +03:00
ZyX
7fc3cccfaa
pvscheck: Update pvs-studio URL
...
[ci skip]
2017-05-02 04:04:10 +03:00
ZyX
bcc97afbd2
pvscheck: Do not use test x
...
[ci skip]
2017-05-02 04:03:50 +03:00
Justin M. Keyes
9a1b144054
scripts/release.sh
2017-05-01 22:13:23 +02:00
Björn Linse
97126bfa02
api: deprecate obsolete nvim_buf_get_number function
2017-04-30 11:04:10 +02:00
Justin M. Keyes
0df1b6655b
doc: Removed t_XX options/keycodes. ( #6616 )
...
Closes #4482
TODO: revisit find_key_option_len()
2017-04-29 16:56:40 +02:00
Patrick Jackson
8dc3eca49b
api/dispatch: Mark generated functions table readonly ( #6576 )
2017-04-24 12:39:48 +02:00
Justin M. Keyes
3fbc660d57
api_set_error(): rename
2017-04-23 23:44:57 +02:00
Justin M. Keyes
2ed91f222f
api/internal: Remove set
field from Error type.
2017-04-23 23:44:32 +02:00
Sander Bosma
5c9860a0a2
api: Do not truncate errors <1 MB. #6237
...
Closes #5984
2017-04-23 23:44:29 +02:00
Justin M. Keyes
15af803cce
Merge #6550 from ZyX-I/pvs-check-comment
2017-04-20 22:00:03 +02:00
Justin M. Keyes
b25fa94eb5
scripts/vim-patch.sh: word-boundaries in preprocess regex
2017-04-19 21:26:17 +02:00
ZyX
3351016dcd
scripts: Add newline after the comment
2017-04-19 19:11:37 +03:00
ZyX
4555bf9e7f
scripts: Allow patching only build files
2017-04-19 19:10:53 +03:00
ZyX
9fd048d901
scripts: Do not patch already patched sources in patch mode
...
Also do not patch header files, that is not needed.
2017-04-19 19:04:00 +03:00
ZyX
38b2bc9a88
scripts: Make pvs do not patch separate directory, add patch mode
2017-04-19 18:55:32 +03:00
Björn Linse
7d0fc179e6
genmsgpack: Do not export functions with __
2017-04-11 23:56:18 +03:00
ZyX
f98a3d85ed
lua: Move files from src/nvim/viml/executor to src/nvim/lua
2017-04-11 01:09:36 +03:00
ZyX
55292685d3
pvscheck: Add --recheck argument
2017-04-10 14:07:26 +03:00
ZyX
2b13c87fa2
pvscheck: Do not use --depth
2017-04-10 13:47:31 +03:00
ZyX
d7086f44f4
pvscheck: Do not trace help
2017-04-10 13:45:33 +03:00
ZyX
3bd11f2911
pvsscript: Use git clone and not git worktree
2017-04-10 13:42:31 +03:00
ZyX
59f0cbc282
pvscheck: Add help
2017-04-10 13:41:09 +03:00
ZyX
ebfcf2fa38
scripts: Create script which checks Neovim with PVS-studio
2017-04-10 13:24:31 +03:00
ZyX
043d8ff9f2
Merge branch 'master' into luaviml'/lua
2017-04-08 01:54:58 +03:00
James McCoy
210b013ce7
vim-patch: Update regex for included_patches array ( #6449 )
...
28dafe3ff
const-ified the array without updating the regex.
[ci skip]
2017-04-06 02:10:20 +02:00
ZyX
a32db8ed19
eval/typval: Add missing includes, also add a script to find them
...
Contains unfinished attempt to integrate IWYU (ref #549 ). To finish it different
job should be done, specifically:
- Instead of feeding IWYU with modified file a mirror source tree should be
created with the help of CMake which will contain modified sources. This
solves the problem with IWYU thinking that `*.generated.h` headers should be
included in place of `*` headers.
- Build IWYU as all other third-party utilities.
- Make modified sources avoid problems with `nvim/func_attr.h` includes and
various related tricks.
Current script may only be used for manual checks like this:
./scripts/check-includes.py \
--generated-includes-dir build/include \
--generated-includes-dir build/src/nvim/auto \
--file src/nvim/eval/typval.c \
-- -Isrc -Ibuild/include -Ibuild/src/nvim/auto \
-DINCLUDE_GENERATED_DECLARATIONS
(it is also somewhat fine with `--file src/nvim/eval/typval.h`). I have no idea
why (I mean, why developer think that these lines are needed, why they are
suggested is pretty obvious: because there is typedef which mentions them before
structs are defined), but for typval.h it reports, among other things, that it
should add lines
struct dictvar_S;
struct listitem_S;
struct listvar_S;
struct listwatch_S;
2017-03-29 10:08:06 +03:00
ZyX
ae4adcc707
gendeclarations: Make declarations generator work with macros funcs
...
Now it checks functions also after every semicolon and closing figure brace,
possibly preceded by whitespaces (tabs and spaces). This should make messing
with declarations in macros not needed.
2017-03-27 00:12:23 +03:00
ZyX
52c7066f4b
gendeclarations: Handle case when text did not match
2017-03-27 00:12:23 +03:00
ZyX
c470fc32a8
gendeclarations: Also save information about directory
2017-03-27 00:12:23 +03:00
ZyX
f74322b9a5
gendeclarations: Save where declaration is comping from
2017-03-27 00:12:23 +03:00
ZyX
6b4a51f7ea
scripts: Make generate_vim_module more generic
2017-03-27 00:12:23 +03:00