Commit Graph

167 Commits

Author SHA256 Message Date
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
2025-01-20 07:52:55 +01:00
f1f988b96a Improved version of the “complete-filename: complete tilda as
$HOME as well” patch.
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
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
2025-01-12 14:41:48 +01:00
6d5186640c Update from d5db964a to 72c26fc0:
- ui: pass window id when setting style
2025-01-10 10:49:02 +01:00
147c384e15 Add wayclip for further development. 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.
2025-01-08 13:05:59 +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
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
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
2025-01-02 23:41:40 +01:00
754aca8ce4 Update scintillua lexers once more (this time up to a864eb0). 2024-12-27 19:39:23 +01:00
345c26f0a0 Just reorganization of the code repo. 2024-12-23 20:20:32 +01:00
ce9c77dfdc Move again to Sourcehut 2024-12-08 09:16:00 +01:00
84e4810265 revert c68cc63884 2024-12-02 18:05:33 +01:00
65161843c9 fix: remove %clean and ignore .assets/ 2024-12-02 18:03:26 +01:00
c68cc63884 Ignore -Wparentheses 2024-12-02 17:46:17 +01:00
51dcdfa2dc Update from c0d083f4 to f840bcaf:
- lua: fix table member reference in set_syntax
2024-12-02 15:09:25 +01:00
e191f02d4f Add clean-if-main branch 2024-11-15 13:32:33 +01:00
fa2662f1fc Add review_vis-clipboard branch 2024-11-01 14:04:25 +01:00
b53f1991b4 Add patch from gh#martanne/vis#1211 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
2024-10-26 16:34:50 +02:00
2ad1260bc0 Remove whole speeding lexers PR, it has been rejected upstream as whole. 2024-10-17 10:39:22 +02:00
363605e57d Add USFM file type. 2024-10-06 23:06:02 +02:00
3ddcaa2b35 Back to Sourcehut upstream. 2024-09-25 12:31:48 +02:00
25c9594d9b Add vis-file_exists branch. 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
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
2024-09-13 14:58:29 +02:00
70455be1e9 Update from cb63b7e2 to d8276d91:
- ci: install busted to run lua tests
2024-09-12 07:47:28 +02:00
ee40a2a105 Update from 2d87fdc0 to cb63b7e2:
- introduce new `wiki` file type
  - introduce new `org` file type
2024-08-28 17:36:19 +02:00
f0dd08044d Add PR https://github.com/martanne/vis/pull/1082 2024-08-27 16:51:31 +02:00
2d81d4ee85 Add patch "introduce new org file type" 2024-08-27 15:28:54 +02:00
bf11eb895b Rebase on merged upstream. 2024-07-26 14:58:05 +02:00
110794ec2b Revert back from gh#martanne/vis!1173. 2024-06-27 15:17:32 +02:00
51cb7570b3 Update from 70fa1e85 to a7aac104:
- Fail silently when syntax has no lexer
  - remove the vis->initialized member
2024-06-27 15: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.
2024-06-27 15:17:32 +02:00
fde96712ae Update from 7554ecd7 to 4d38c3a9:
- drop cell_blank from View
  - build: update alpine in docker build to version 3.20
2024-06-27 15:17:32 +02:00
08ce80e2b6 0.9 has been already released. 2024-06-27 15:17:32 +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
2024-06-27 15:17:32 +02:00
900d7db2de Revert the last commit, which seem to break the build. 2024-06-27 15:17:32 +02:00
1b0aca7bac Update from 777b11c4 to 00e10a7f:
- fix primary cursor color display
2024-06-27 15:17:32 +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.
2024-06-27 15:17:32 +02:00
97f986b981 Update from b6ae2fb7 to 50a76733:
- drop deprecated option names
2024-06-27 15:17:32 +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
2024-06-27 15:17:31 +02:00
ff4ac08550 Update from 675ab49e to 4d5bfb80:
- lua: complete-filename: use biggest possible prefix
2024-06-27 15:17:31 +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
2024-06-27 15:17:31 +02:00
51a38918b9 Update from ad03feb0 to 1fc17562:
- lua: Report viewport lines and bytes in one table
2024-06-27 15:17:31 +02:00
c7d1a4d410 Update from 025ab0f5 to ad03feb0:
- vis-cmd: silence gcc warning & remove strlen call
2024-06-27 15:17:31 +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
2024-06-27 15:17:31 +02:00
f9ed7c48b6 Throw away gh#martanne/vis!1173 and my fix for it. 2024-06-27 15:17:31 +02:00
5477ec7967 Merge the tests/ submodule. 2024-06-27 15:17:31 +02:00