Commit Graph

139 Commits

Author SHA256 Message Date
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
dfc779d6e1 Update from 49442e51 to 6f537f30:
- lua: update default themes
  - lua: cache loaded lexers
  - lua: update default plugins to work with scintillua 6.2
  - Get lexers from the subdirectory of directories on the path.
  - update lexers to orbitalquark/scintillua@b789dde
  - ui: refactor style handling
2024-06-27 15:17:31 +02:00
d076180136 Update from faa4089a to 49442e51:
- Add parentheses around '&&' within '||'.
  - complete-word: restore mode to INSERT on exit
2024-06-27 15:17:31 +02:00
45fee59391 Update from 8fccd1bb to faa4089a:
- Fix typos
2024-06-27 15:17:31 +02:00
dcce24f0dc Add gh#martanne/vis!1173 to devel for testing. 2024-06-27 15:17:31 +02:00
4766abf8e6 Update from 4d97ccc6 to 8fccd1bb:
- filetype.lua: add typst detection
2024-06-27 15:17:31 +02:00
d839054e7b Update from 3d1c3c15 to 4d97ccc6:
- lua: filetype: add JSX and Typescript extensions
2024-06-27 15:17:31 +02:00
93f8643e10 Update from 004800e3 to 3d1c3c15:
- Support selection of primary or regular clipboard (wayclip)
2024-06-27 15:17:31 +02:00
c03914a65f Update from 64c0092d to 004800e3:
- lua: complete-word: use internal regex for splitting words
2024-06-27 15:17:31 +02:00
2a6559a72a Update from d3e4af1f to 64c0092d:
- Introduce new `modula2` and `modula3` file types.
2024-06-27 15:17:31 +02:00
3db26b7811 Fix repo URL. 2024-06-27 15:17:30 +02:00
33493b95eb Update from 34e69620 to d3e4af1f:
- Replace use of tr(1) with awk(1).
2024-06-27 15:17:30 +02:00
44a2e04162 Update from 5cd6d033 to 34e69620:
- use correct apostrophe in error message
  - allow disabling of statusbar
2024-06-27 15:17:30 +02:00
57751a99a5 Add testing support of the patch to avoid non-Unicode aware tr(1). 2024-06-27 15:17:30 +02:00
69b9132ac4 Update from 8ff0bea5 to 5cd6d033:
- fix bug report template
  - add github issue templates
  - lua: fix deprecated name for change-256colors
2024-06-27 15:17:30 +02:00
c5e19caf43 Update from 0f7ddc17 to 8ff0bea5:
- complete-filename: include '{' in leading delimiter pattern
  - build: update alpine in docker build to version 3.19
2024-06-27 15:17:30 +02:00
32db038ddb Update from f1abd792 to 0f7ddc17:
- lua: drop redrawtime option
  - lua: filetype: use alt_name field to alias to other lexers
2024-06-27 15:17:30 +02:00
8c7baa35ca Update from 7d0baa4b to f1abd792:
- Add ansi escaping values and theming keyword for dimmed text
  - Recognize also Python type stub files.
2024-06-27 15:17:30 +02:00
12a39a991b Update from 1e64b1c1 to 7d0baa4b:
- luadoc: fix broken link and add links between vis/win.options
  - destroy the correct subprocess
2024-06-27 15:17:30 +02:00
aae0d5c935 Add rebased patch from gh#martanne/vis!1154. 2024-06-27 15:17:30 +02:00
79f0a371ff Update from 18c72a15 to 1e64b1c1:
- lua: refactor complete-filename plugin
2024-06-27 15:17:30 +02:00
0bf3fff60c Update from 045ef7a1 to 18c72a15:
- sam: reject invalid ranges for cmd_extract ("x"/"y")
2024-06-27 15:17:30 +02:00
b61369782d Fix lock with :2x/foo/<cr>. 2024-06-27 15:17:30 +02:00
3358742279 Rebase new update of lexers 2024-06-27 15:17:30 +02:00
088a137586 Update from be89a645 to 045ef7a1:
- apply configured foreground to matching pair
  - apply configured foreground to selections
2024-06-27 15:17:30 +02:00
3cedd80c3b Update from aa18162e to be89a645:
- view: skip empty cells before applying a style
2024-06-27 15:17:30 +02:00
9e3e7af75f Damn, it was actual bug in my commit which broke the tests! 2024-06-27 15:17:30 +02:00
9cd65751f6 Switch off failing tests. 2024-06-27 15:17:29 +02:00
c55b8c912c Update from d7cd42e6 to aa18162e:
- vis_pipe: correctly return non-zero exit status
2024-06-27 15:17:29 +02:00