Commit Graph

  • 5e3dbc1a37 Add the patch from gh#martanne/vis!1260 devel Matěj Cepl 2025-08-18 11:26:06 +02:00
  • 3b4b4501f0 Add commits 79d11751414926c0e885af76bf01f1d3d23a5d67 and bcde06dbb77f43e52bcabecaf7170db96153dcd2 with file:pos_by_linecol and file:linecol_by_pos methods. Matěj Cepl 2025-07-31 21:37:03 +02:00
  • 9bc3dc235e Run all tests Matěj Cepl 2025-07-28 23:34:20 +02:00
  • c42c855f59 Add commit 4ca945e19b2b146077b604580e4c7a01ac751776 Add InsertEnter/InsertLeave core events Matěj Cepl 2025-07-27 19:24:28 +02:00
  • b72be3f257 Add patch https://github.com/martanne/vis/pull/1254.patch Matěj Cepl 2025-07-07 18:47:25 +02:00
  • f211680e82 Update from 16e31ceb to 630693bf: - doc: source_suffix should be a map, not a list Matěj Cepl 2025-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 used Matěj Cepl 2025-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 Cepl 2024-07-10 14:19:17 +02:00
  • d8fb0b4214 Add Doxygen clean up commits. Add no-EOL-to-wl-clipboard.patch to eliminate unnecessary Matěj Cepl 2025-06-12 19:06:55 +02:00
  • f36376d316 Rebase devel on the top of synchronization with scintillua_6.5 release. Matěj Cepl 2025-05-25 22:00:46 +02:00
  • 15699695fc Use new version gh#martanne/vis!1243 patch. Matěj Cepl 2025-05-20 14:03:17 +00:00
  • a015750a9c Update from ba20a03e to bef22619: - ci: drop ubuntu-20.04, deprecated - vis.1: fix typo Matěj Cepl 2025-05-19 00:35:25 +00:00
  • aa044e096d Add 'build: allow vendored termkey' from gh#martanne/vis!1241 Matěj Cepl 2025-05-17 09:18:05 +00:00
  • 656a6e8b7e update scintillua patches add patch 1240-support-SIGWINCH-resizing (gh#martanne/vis!1240) for testing Matěj Cepl 2025-04-24 00:48:08 +02:00
  • ad9d99b5c5 Update rest.lua lexer again for the upstream PR. Matěj Cepl 2025-04-19 17:55:29 +02:00
  • aa7586b9f4 Update rest.lua patch Matěj Cepl 2025-04-14 22:08:23 +02:00
  • 9487d92fbd Switch to repository-as-submodule. Matěj Cepl 2025-04-03 17:29:46 +02:00
  • 1a35790408 Rewritten devel branch, and all scintillua work moved there Matěj Cepl 2025-04-03 08:41:58 +02:00
  • 2ea9155139 Update to version 0.9+git.1743626734.60a19aac: * doc: improve creation of directories and debugging Matěj Cepl 2025-04-02 22:49:07 +02:00
  • 286722f8d8 chore: add vis/ back to ignored directories Matěj Cepl 2025-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 key Matěj Cepl 2025-04-02 22:02:03 +02:00
  • ad82ed9e73 testing with debugging doxygen and breathe. Matěj Cepl 2025-04-02 21:36:54 +02:00
  • a5cc4c0ac5 Be more ignorant Matěj Cepl 2024-07-10 12:12:49 +02:00
  • 6bc900022f Update from 286fd30f to ba20a03e: - filetype: use .container extension for podman containers - vis-clipboard: add wsl support with wslclip Matěj Cepl 2025-04-01 15:51:25 +02:00
  • 573decb252 add .container as extension for systemd.unit file format Matěj Cepl 2025-04-01 00:48:03 +02:00
  • 9ac18a9507 Update Subjproject commit Matěj Cepl 2025-03-26 23:30:19 +01:00
  • a10d95d46a We have now proper tarball, so why not to use it? Matěj Cepl 2025-03-26 13:43:20 +01:00
  • 45bc2440cb Clean SPEC file Matěj Cepl 2025-03-26 13:21:04 +01:00
  • ccdaafd83a Add vis/ submodule. Matěj Cepl 2025-03-26 13:20:46 +01:00
  • dbf3287a5f Fix usage of git submodule Adrian Schröter 2025-03-26 13:01:51 +01:00
  • 24800a30c7 Revert a770a6b Matěj Cepl 2025-03-26 12:07:23 +01:00
  • a770a6b02c Remove #!RemoteAsset: and all that junk: git >= 2.49.0 can do SHA1 submodules in SHA256 repos! Yuhooo! Matěj Cepl 2025-03-26 11:22:17 +01:00
  • d5515f5a42 Update from 862c33fe to 286fd30f: - doc: upgrade Doxyfile via doxygen -u (1.13.2) - Dockerfile: Upgrade lua5.3 to 5.4 Matěj Cepl 2025-03-23 17:28:09 +01:00
  • 884292448f fix(build): add _service file with download_assets service Matěj Cepl 2025-03-20 10:35:19 +01:00
  • cfd259fd10 ci: build without TRE Matěj Cepl 2025-03-20 09:53:37 +01:00
  • 70a2b9e26d Update from b68b822b to 862c33fe: - buffer: remove more unused exposed functions - buffer: remove buffer_printf Matěj Cepl 2025-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 correctly Matěj Cepl 2025-02-25 16:33:46 +01:00
  • adec6f2d21 Reapply gh#martanne/vis!1173 Matěj Cepl 2025-02-22 21:48:36 +01:00
  • e9e5ba9ed9 fix previous “style_set” commit. Matěj Cepl 2025-02-22 21:03:13 +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 values Matěj Cepl 2025-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 type Matěj Cepl 2025-02-22 17:38:32 +01:00
  • 69daa712ce New version of gh#martanne/vis!1173 PR. Matěj Cepl 2025-02-21 00:12:59 +01:00
  • 44bf589458 Add gh#martanne/vis!1173 Matěj Cepl 2025-02-19 23:53:25 +01:00
  • d7ad13ec2f fix(spec): use cp -al instead of cp -a in %prep for copying source code Matěj Cepl 2025-02-17 07:54:06 +01:00
  • 11aa8b2d55 Synchronize scintillua lexers up to gh#orbitalquark/scintillua@e3f26372c91a. Matěj Cepl 2025-02-10 01:04:46 +01:00
  • 79ac75b934 add missing python3-sphinx_rtd_theme dependency Matěj Cepl 2025-02-07 23:12:54 +01:00
  • 76b93b0151 Add jeremybobbin scintillua patch git-commit lexer Matěj Cepl 2025-02-07 23:08:35 +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 version Matěj Cepl 2025-01-20 07:52:55 +01:00
  • f1f988b96a Improved version of the “complete-filename: complete tilda as $HOME as well” patch. Matěj Cepl 2025-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 function Matěj Cepl 2025-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 function Matěj Cepl 2025-01-12 14:40:53 +01:00
  • 6d5186640c Update from d5db964a to 72c26fc0: - ui: pass window id when setting style Matěj Cepl 2025-01-10 10:49:02 +01:00
  • 147c384e15 Add wayclip for further development. Matěj Cepl 2025-01-08 15:42:34 +01:00
  • 843aa50e04 Update BRs: we don’t need lua-busted any more, but we could use lua-penlight. Matěj Cepl 2025-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 lexer Matěj Cepl 2025-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.21 Matěj Cepl 2025-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-busted Matěj Cepl 2025-01-02 23:41:40 +01:00
  • 754aca8ce4 Update scintillua lexers once more (this time up to a864eb0). Matěj Cepl 2024-12-27 10:34:43 +01:00
  • 345c26f0a0 Just reorganization of the code repo. Matěj Cepl 2024-12-23 20:20:32 +01:00
  • ce9c77dfdc Move again to Sourcehut Matěj Cepl 2024-12-08 09:16:00 +01:00
  • 84e4810265 revert c68cc63884 Matěj Cepl 2024-12-02 18:05:33 +01:00
  • 65161843c9 fix: remove %clean and ignore .assets/ Matěj Cepl 2024-12-02 18:03:26 +01:00
  • c68cc63884 Ignore -Wparentheses Matěj Cepl 2024-12-02 17:46:16 +01:00
  • 51dcdfa2dc Update from c0d083f4 to f840bcaf: - lua: fix table member reference in set_syntax Matěj Cepl 2024-12-02 15:08:23 +01:00
  • e191f02d4f Add clean-if-main branch Matěj Cepl 2024-11-15 13:32:33 +01:00
  • fa2662f1fc Add review_vis-clipboard branch Matěj Cepl 2024-11-01 14:04:25 +01:00
  • b53f1991b4 Add patch from gh#martanne/vis#1211 Matěj Cepl 2024-10-30 16:57:02 +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.md Matěj Cepl 2024-10-26 16:34:50 +02:00
  • 2ad1260bc0 Remove whole speeding lexers PR, it has been rejected upstream as whole. Matěj Cepl 2024-10-17 10:39:22 +02:00
  • 363605e57d Add USFM file type. Matěj Cepl 2024-10-06 23:03:51 +02:00
  • 3ddcaa2b35 Back to Sourcehut upstream. Matěj Cepl 2024-09-25 12:31:48 +02:00
  • 25c9594d9b Add vis-file_exists branch. Matěj Cepl 2024-09-25 10:34:13 +02:00
  • cc63f9b38e Add rebased upstream PRs for scintillua: * https://github.com/orbitalquark/scintillua/pull/15 * https://github.com/orbitalquark/scintillua/pull/16 * https://github.com/orbitalquark/scintillua/pull/17 Matěj Cepl 2024-09-24 23:51:12 +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 process Matěj Cepl 2024-09-13 14:58:29 +02:00
  • 70455be1e9 Update from cb63b7e2 to d8276d91: - ci: install busted to run lua tests Matěj Cepl 2024-09-12 07:47:28 +02:00
  • ee40a2a105 Update from 2d87fdc0 to cb63b7e2: - introduce new wiki file type - introduce new org file type Matěj Cepl 2024-08-28 17:36:19 +02:00
  • f0dd08044d Add PR https://github.com/martanne/vis/pull/1082 Matěj Cepl 2024-08-27 16:51:31 +02:00
  • 2d81d4ee85 Add patch "introduce new org file type" Matěj Cepl 2024-08-27 15:28:54 +02:00
  • bf11eb895b Rebase on merged upstream. Matěj Cepl 2024-07-26 14:58:05 +02:00
  • be7092bf85 Accepting request 1186601 from devel:Factory:git-workflow:staging:mcepl:vis:1 Ana Guerrero 2024-07-11 18:30:31 +00:00
  • b0abf66db8 [info=cdcad6374a8fc29c1bda34afb88af483a55e35e83f1327d5d3bffed66ab1751d] Git SCM Staging 2024-07-10 12:29:31 +00:00
  • 9e7aae523d [info=bb3ed14f9f62d226c60c58a7708eb00721554a7fc45e8f3df0e544bc7e0dd8ae] Git SCM Staging 2024-07-10 12:21:49 +00:00
  • 110794ec2b Revert back from gh#martanne/vis!1173. Matěj Cepl 2024-06-05 08:33:44 +02:00
  • 51cb7570b3 Update from 70fa1e85 to a7aac104: - Fail silently when syntax has no lexer - remove the vis->initialized member Matěj Cepl 2024-05-30 18:17:32 +02:00
  • 2ac7180ccb Update from 4d38c3a9 to 70fa1e85: - combine Win and UiWin - remove SyntaxSymbol redirection type - Add gh#martanne/vis!1173 for testing. Matěj Cepl 2024-05-28 21:36:41 +02:00
  • fde96712ae Update from 7554ecd7 to 4d38c3a9: - drop cell_blank from View - build: update alpine in docker build to version 3.20 Matěj Cepl 2024-05-24 08:56:13 +02:00
  • 08ce80e2b6 0.9 has been already released. Matěj Cepl 2024-05-22 09:14:56 +02:00
  • e5a6aaacdf Update 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 directory Matěj Cepl 2024-05-22 09:02:23 +02:00
  • 900d7db2de Revert the last commit, which seem to break the build. Matěj Cepl 2024-05-22 00:21:44 +02:00
  • 1b0aca7bac Update from 777b11c4 to 00e10a7f: - fix primary cursor color display Matěj Cepl 2024-05-21 22:36:42 +02:00
  • 157a52bc9e Update 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 Cepl 2024-05-13 16:36:44 +02:00
  • 97f986b981 Update from b6ae2fb7 to 50a76733: - drop deprecated option names Matěj Cepl 2024-05-10 14:05:05 +02:00
  • 27440dac0d Update 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.9 Matěj Cepl 2024-05-07 10:20:03 +02:00
  • ff4ac08550 Update from 675ab49e to 4d5bfb80: - lua: complete-filename: use biggest possible prefix Matěj Cepl 2024-05-01 09:08:49 +02:00
  • 0e41532fe7 Update 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 cleanup Matěj Cepl 2024-05-01 00:35:36 +02:00
  • 51a38918b9 Update from ad03feb0 to 1fc17562: - lua: Report viewport lines and bytes in one table Matěj Cepl 2024-04-27 21:49:42 +02:00
  • c7d1a4d410 Update from 025ab0f5 to ad03feb0: - vis-cmd: silence gcc warning & remove strlen call Matěj Cepl 2024-04-21 20:44:30 +02:00
  • fb2b67d098 Update 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 detection Matěj Cepl 2024-04-21 17:59:21 +02:00
  • f9ed7c48b6 Throw away gh#martanne/vis!1173 and my fix for it. Matěj Cepl 2024-03-28 17:45:15 +01:00
  • 5477ec7967 Merge the tests/ submodule. Matěj Cepl 2024-03-27 14:50:59 +01:00