3b4b4501f0
Add commits 79d11751414926c0e885af76bf01f1d3d23a5d67 and bcde06dbb77f43e52bcabecaf7170db96153dcd2 with file:pos_by_linecol and file:linecol_by_pos methods.Matěj Cepl2025-07-31 21:37:03 +02:00
f211680e82
Update from 16e31ceb to 630693bf: - doc: source_suffix should be a map, not a listMatěj Cepl2025-06-25 10:52:04 +02:00
f84dbc1e27
Update from bef22619 to 16e31ceb: - lua/lexers: update to scintillua 6.5 - doc: fix Markdown in CHANGELOG.md - doc: fix Doxygen comments for vis-subprocess.c - doc: fix Doxygen comments for view.h - doc: fix Doxygen comments for text.h - doc: fix Doxygen comments for vis.h - doc: fix Doxygen comments for map.h - doc: change default_role to 'c:any' - use <vis-prompt-show> instead of ':' - build: update alpine in docker build to version 3.22 More Doxygen-related devel patches usedMatěj Cepl2025-06-13 19:23:17 +02:00
d368e8da8f
Update to 0.9: This release has been long in the works but its time now. There have been many additions and bugfixes since 0.8. In particular changes to the Lua API have made it easier to extend vis in all sorts of ways that were previously difficult or impossible. As always the appreciation towards contributors new and old can not be understated; thanks goes out to everyone for their efforts! A summary of changes follows: Compare non-existing files by name and existing files by inode Do tilde expansion only for the tilde character at the beginning of the pattern. Add word wrapping via breakat and wrapcolumn options Add ansi escaping values and theming keyword for dimmed text Allow statusbar to disabled Default theme was changed to one that uses the terminal colors directly. filetype: support filetype detection via hashbang filetype: many new file extensions are covered Resync the lexers with Scintillua Implement Selection:remove() Allow underscore (_) in command names Allow nil in vis:pipe() File and Range parameters Add fullscreen param to vis_pipe_collect() and vis:pipe() Access and set all available editor options Implementation of the non-blocking process running Lua API Make expandtab and tabwidth options window-local Drop redrawtime option Add a Lua constant for UI_STYLE_LEXER_MAX Report viewport as lines in addition to bytes Add win:style_pos() for styling a specific window cell. Add UI_DRAW event for last minute changes to the drawn window. Report viewport dimensions Add a basic .editorconfig file Don't set _FORTIFY_SOURCE in configure Many documentation improvements. Make vis-open and vis-complete more POSIX compliant vis-clipboard: clean up bashisms and make shellcheck happy. vis-clipboard: add support for wayclip vis-open: allow to show files vertically fix warning by dealing with error value from fchdir in text-io.c text-io: close "cwd" in all cases vis-complete: Fix commandline options handling vis-clipboard: make xsel honor --selection wl-paste and wl-copy should not add \n to the end of the clipboard. fix a bug with using regex to close windows (i.e. :X/re/q) Limit to lines within range for inner text objects vis-clipboard: don't fail when sel is primary on unsupported platforms fix { moving back too much if cursor is at start of a line Print keybindings containing space correctly in help window Prevent flickering in curses vis-menu: try to preserve valid Unicode points lua: make sure lpeg is in fact optional vis-single: respect TMPDIR lua: fail when mapping a key to an invalid handler type vis_pipe: correctly return non-zero exit status view: skip empty cells before applying a style sam: reject invalid ranges for cmd_extract ("x"/"y") Fix upper/lower case conversions with gU and gu. lua: complete-word: use internal regex for splitting words Theme application was refactored and should be more consistent now. The option names show-spaces, show-tabs, show-newlines, show-eof, and change-256colors are all deprecated and will be removed for the next release, use the name without the - instead (e.g. showeof). This was done to avoid inconsistencies between the lua option names and the :set option names. The complete changelog can be viewed on https://git.sr.ht/~martanne/vis/log/v0.9
factory
Matěj Cepl2024-07-10 14:19:17 +02:00
d8fb0b4214
Add Doxygen clean up commits. Add no-EOL-to-wl-clipboard.patch to eliminate unnecessaryMatěj Cepl2025-06-12 19:06:55 +02:00
f36376d316
Rebase devel on the top of synchronization with scintillua_6.5 release.Matěj Cepl2025-05-25 22:00:46 +02:00
15699695fc
Use new version gh#martanne/vis!1243 patch.Matěj Cepl2025-05-20 14:03:17 +00:00
a015750a9c
Update from ba20a03e to bef22619: - ci: drop ubuntu-20.04, deprecated - vis.1: fix typoMatěj Cepl2025-05-19 00:35:25 +00:00
1a35790408
Rewritten devel branch, and all scintillua work moved thereMatěj Cepl2025-04-03 08:41:58 +02:00
2ea9155139
Update to version 0.9+git.1743626734.60a19aac: * doc: improve creation of directories and debuggingMatěj Cepl2025-04-02 22:49:07 +02:00
286722f8d8
chore: add vis/ back to ignored directoriesMatěj Cepl2025-04-02 22:15:09 +02:00
93b692e9c7
Update to version 0.9+git.1743622499.960fd78: * doc: improve creation of directories and debugging * feat: better .container support * WIP: edit Doxyfile with doxywizard * fix: clean -Wparentheses warning in main.c * on <C-n>, flip new selection if the old selection was flipped raised in issue 1022: https://github.com/martanne/vis/issues/1022 * replace instances of Filerange sel with Filerange range roughly: x/^static.*\)\s+\{$/ { .,/^\}$/ g/Filerange sel/ { x/\b(new)?sel\b/ x/sel/c/range/ } } * add git-commit message lexer & its file extension in detect * feat(vis-clipboard): make wayclip primary on Wayland, and --paste strips EOL * selections: sleeping cursors * Add command completion with tab keyMatěj Cepl2025-04-02 22:02:03 +02:00
ad82ed9e73
testing with debugging doxygen and breathe.Matěj Cepl2025-04-02 21:36:54 +02:00
6bc900022f
Update from 286fd30f to ba20a03e: - filetype: use .container extension for podman containers - vis-clipboard: add wsl support with wslclipMatěj Cepl2025-04-01 15:51:25 +02:00
573decb252
add .container as extension for systemd.unit file formatMatěj Cepl2025-04-01 00:48:03 +02:00
70a2b9e26d
Update from b68b822b to 862c33fe: - buffer: remove more unused exposed functions - buffer: remove buffer_printfMatěj Cepl2025-03-04 16:49:00 +01:00
cf983c557b
Update from 54a2036c to b68b822b: - ci: also don't fail when the coverage file doesn't download correctlyMatěj Cepl2025-02-25 16:33:46 +01:00
51735c7849
Update from 0208d7a9 to 54a2036c: - ci: don't let test coverage upload fail a workflow - style_set: add option to keep non-default style valuesMatěj Cepl2025-02-22 20:37:18 +01:00
b285c7987c
Update from 4970df09 to 0208d7a9: - update to scintillua-6.4 + 1 (org-mode lexer) - complete-filename: speed-up the tilda handling - introduce new asciidoc file typeMatěj Cepl2025-02-22 17:38:32 +01:00
69daa712ce
New version of gh#martanne/vis!1173 PR.Matěj Cepl2025-02-21 00:12:59 +01:00
924b0a1d3e
Mon Jan 20 06:52:42 UTC 2025 - Matej Cepl <mcepl@cepl.eu> - Update from e9e0927c to 4970df09: - complete-filename: complete tilda as $HOME as well - testing profiled versionMatěj Cepl2025-01-20 07:52:55 +01:00
f1f988b96a
Improved version of the “complete-filename: complete tilda as $HOME as well” patch.Matěj Cepl2025-01-19 17:42:03 +01:00
ce00b26a94
Sun Jan 12 23:17:08 UTC 2025 - Matej Cepl <mcepl@cepl.eu> - Update from 1b483c2c to e9e0927c: - test: add a couple missed files to .gitignore - sam: fix small oversight in cmd_filter - buffer: drop buffer_move functionMatěj Cepl2025-01-13 00:17:14 +01:00
d59d7c543d
Sun Jan 12 13:40:49 UTC 2025 - Matej Cepl <mcepl@cepl.eu> - Update from 72c26fc0 to 1b483c2c: - array: delete oneliners - buffer: clear out one line functions - buffer: delete pointless buffer_init functionMatěj Cepl2025-01-12 14:40:53 +01:00
6d5186640c
Update from d5db964a to 72c26fc0: - ui: pass window id when setting styleMatěj Cepl2025-01-10 10:49:02 +01:00
843aa50e04
Update BRs: we don’t need lua-busted any more, but we could use lua-penlight.Matěj Cepl2025-01-08 13:04:07 +01:00
6d14a9712c
Update from e9fb2f04 to d5db964a: - scripts: make option listing more consistent - scripts: fix shellcheck warnings and make scripts more uniform - curses ui: fix default color detection - ui: remove useless memcpy call - ui-vt100: write ouptut using write(3) - remove duplicated read_buffer functions - accommodate vis for changes with updates in the lexers - Add Nix lexer - Recognize float suffixes in C lexer - Migrate Haskell lexer - Add Factor lexer - Rename 'ansi_c', 'dmd', and 'rstats' lexers to 'c', 'd', and 'r' - lexers: switch to tabs for indentation - Fix errors with folding in reST lexer - Output lexer: match absolute program paths instead of just names - Migrate Literate Coffeescript lexer - Allow unfinished Makefile function definitions to be highlighted - Update lexer LDoc - Add 'org' directive to asm lexer - Increase the default LPeg stack size - Add C23 attributes to C lexer - Improve performance of the text lexerMatěj Cepl2025-01-06 19:19:56 +01:00
0982d358ce
Update from 97567b77 to e9fb2f04: - vis-clipboard: redirect wl-copy stderr so that it actually exits - introduce new 'meson' file type and meson options filenames - build: update alpine in docker build to version 3.21Matěj Cepl2025-01-03 10:07:10 +01:00
f9214f6b0b
Update from f840bcaf to 97567b77: - ci: remove lua-busted - check the life time of subprocesses before freeing vis - move waiting and potentially killing a subprocess into a helper function - fix: correct URL of the Busted Lua unit testing framework. - no longer depend on lua-bustedMatěj Cepl2025-01-02 23:41:40 +01:00
754aca8ce4
Update scintillua lexers once more (this time up to a864eb0).Matěj Cepl2024-12-27 10:34:43 +01:00
345c26f0a0
Just reorganization of the code repo.Matěj Cepl2024-12-23 20:20:32 +01:00
84d15ec4ba
Update from c8694ee0 to c0d083f4: - document changing the displayed file of a window via lua - fix[filetype]: Recognize Cython source files as Python as well - vis: introduce new usfm file type - doc: Add link for the development dicussion email list to README.mdMatěj Cepl2024-10-26 16:34:50 +02:00
2ad1260bc0
Remove whole speeding lexers PR, it has been rejected upstream as whole.Matěj Cepl2024-10-17 10:39:22 +02:00
16804a3ab6
Update from d8276d91 to c8694ee0: - lua: add tests for the different vis.pipe argument variants - lua: improve argument parsing in vis.pipe - complete-word: pipe the candidates directly to the command - support piping a buffer to an external processMatěj Cepl2024-09-13 14:58:29 +02:00
70455be1e9
Update from cb63b7e2 to d8276d91: - ci: install busted to run lua testsMatěj Cepl2024-09-12 07:47:28 +02:00
ee40a2a105
Update from 2d87fdc0 to cb63b7e2: - introduce new wiki file type - introduce new org file typeMatěj Cepl2024-08-28 17:36:19 +02:00
110794ec2bRevert back from gh#martanne/vis!1173.Matěj Cepl2024-06-05 08:33:44 +02:00
51cb7570b3Update from 70fa1e85 to a7aac104: - Fail silently when syntax has no lexer - remove the vis->initialized memberMatěj Cepl2024-05-30 18:17:32 +02:00
2ac7180ccbUpdate from 4d38c3a9 to 70fa1e85: - combine Win and UiWin - remove SyntaxSymbol redirection type - Add gh#martanne/vis!1173 for testing.Matěj Cepl2024-05-28 21:36:41 +02:00
fde96712aeUpdate from 7554ecd7 to 4d38c3a9: - drop cell_blank from View - build: update alpine in docker build to version 3.20Matěj Cepl2024-05-24 08:56:13 +02:00
e5a6aaacdfUpdate from 00e10a7f to 7554ecd7: - remove some view pointer chasing - remove some ui pointer chasing - replace UiTerm with Ui & delete function pointers - replace UiTermWin with UiWin & remove function pointers - make Selection unopaque - make View unopaque - cleanup some single line get/set functions - cleanup vis event interface - Merge vis-tests into test directoryMatěj Cepl2024-05-22 09:02:23 +02:00
900d7db2deRevert the last commit, which seem to break the build.Matěj Cepl2024-05-22 00:21:44 +02:00
1b0aca7bacUpdate from 777b11c4 to 00e10a7f: - fix primary cursor color displayMatěj Cepl2024-05-21 22:36:42 +02:00
157a52bc9eUpdate from 50a76733 to 777b11c4: - enable warnings in default CFLAGS - lua: allow changing the displayed file of a window Adding gh#martanne/vis!1191 for testing.Matěj Cepl2024-05-13 16:36:44 +02:00
97f986b981Update from b6ae2fb7 to 50a76733: - drop deprecated option namesMatěj Cepl2024-05-10 14:05:05 +02:00
27440dac0dUpdate from 4d5bfb80 to b6ae2fb7: - lua: filetype: properly search for lexer path - lua: themes: add STYLE_CODE - configure: check for 'lua5.4-lpeg' too - set version to v0.9-git - release 0.9Matěj Cepl2024-05-07 10:20:03 +02:00
ff4ac08550Update from 675ab49e to 4d5bfb80: - lua: complete-filename: use biggest possible prefixMatěj Cepl2024-05-01 09:08:49 +02:00
0e41532fe7Update from 1fc17562 to 675ab49e: - lua: uncomment list of lexer specific styles in default theme - lua: Serve viewport dimensions in viewport table - Emit an event (ui_draw) immediately before drawing the screen - Add Lua function to Win for directly editing cell styling by position - lua: small filetype/style setting cleanupMatěj Cepl2024-05-01 00:35:36 +02:00
51a38918b9Update from ad03feb0 to 1fc17562: - lua: Report viewport lines and bytes in one tableMatěj Cepl2024-04-27 21:49:42 +02:00
c7d1a4d410Update from 025ab0f5 to ad03feb0: - vis-cmd: silence gcc warning & remove strlen callMatěj Cepl2024-04-21 20:44:30 +02:00
fb2b67d098Update from 6f537f30 to 025ab0f5: - ci: fix macOS runner - Disable reverse with "notreverse" in style definitions - Add a Lua constant for UI_STYLE_LEXER_MAX - plugins/filetype: fix javascript/typescript detectionMatěj Cepl2024-04-21 17:59:21 +02:00
f9ed7c48b6Throw away gh#martanne/vis!1173 and my fix for it.Matěj Cepl2024-03-28 17:45:15 +01:00