| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2020-12-08 | build: add git based version information back | Marc André Tanner | 1 | -1/+1 | |
| 2020-12-08 | Set version to 0.7 | Marc André Tanner | 3 | -4/+4 | |
| 2020-12-08 | Add gemini lexer | Haelwenn (lanodan) Monnier | 2 | -0/+52 | |
| 2020-12-08 | Merge branch 'master' of https://github.com/KaneRoot/vis | Marc André Tanner | 2 | -0/+133 | |
| 2020-12-06 | Zig filetype entry. | Karchnu | 1 | -0/+3 | |
| 2020-12-06 | Adding Zig lexer. | Karchnu | 1 | -0/+130 | |
| 2020-12-01 | Merge branch 's-0-bash-heredoc' of https://github.com/silasdb/vis | Marc André Tanner | 1 | -3/+11 | |
| 2020-11-27 | Heredocs with "-" can have spaces before closing | Silas | 1 | -3/+11 | |
| If a here-doc start delimiter begins with "-", then spaces are allowed to come before the closing delimiter. This patch fixes what would otherwise be parsed incorrectly: <<-EOF .... EOF | |||||
| 2020-11-26 | lexers: add meson build file lexer | Florian Fischer | 2 | -0/+164 | |
| 2020-11-20 | ci: avoid usage of ::add-path:: command in GitHub action | Marc André Tanner | 1 | -1/+4 | |
| 2020-11-20 | test: update | Marc André Tanner | 1 | -7/+6 | |
| 2020-11-20 | view: make view_selections_dispose_all O(n) | Mateusz Okulus | 1 | -2/+5 | |
| The for loop in selection_free won't run because the next element will always be NULL, because we are freeing from the end. Close #852 | |||||
| 2020-11-20 | Make SourceHut badge show status of master branch commits | Marc André Tanner | 1 | -1/+1 | |
| 2020-11-19 | correct a couple of typos and distinguish between immediate and waiting ↵ | Greg Reagle | 1 | -11/+20 | |
| operators | |||||
| 2020-11-14 | vis: fix <C-c> processing after SIGINT | Marc André Tanner | 1 | -1/+2 | |
| There are two main ways how the input queue is managed in vis: - vis_keys_feed(..) appends new input to the queue and immediately starts processing it. Starting from the position before the call i.e. ignoring any previously queued input. This is typically used in key binding handlers where the input queue still contains the mapping leading to the invocation of the handler. In that case new input should be interpreted immediately, before the handler eventually returns and its mapping is consumed. - vis_keys_push(..) with pos=0, appends new input to the end of the queue and starts processing it from the start of the queue, taking the full content into consideration. This is used by the main loop when new input becomes available. This patch switches the handling of <C-c> after a SIGINT from the former to the latter mechanism and fixes mappings using <C-c> in a non-leading position. | |||||
| 2020-11-14 | build: fix curses library/pkg-config name | Leonardo Taccari | 1 | -1/+1 | |
| Gracefully fallback to curses(3) (no libcurses `.pc' file is present and `-l$libcurses' is used and hence `-lcurses' (not `-llibcurses'!)). | |||||
| 2020-11-13 | vis: use localtime_r(3) instead of localtime(3) | Marc André Tanner | 1 | -1/+2 | |
| This makes it thread safe. While it is unlikely that we use threads in the near future, it is sensible to avoid unnecessary global state. | |||||
| 2020-11-13 | sam: simplify boolean expression, start < end implies end > 0 | Marc André Tanner | 1 | -1/+1 | |
| 2020-11-13 | map: remove no longer used map_leaf function | Marc André Tanner | 2 | -18/+0 | |
| 2020-11-13 | Merge branch 'master' of https://github.com/ccao001/vis | Marc André Tanner | 1 | -1/+1 | |
| 2020-11-13 | build: use feature test macros for memrchr configure check | Marc André Tanner | 1 | -1/+1 | |
| Previously these were only used to compile the main project source, resulting in inconsistencies between the feature detection and actual usage. | |||||
| 2020-11-12 | build: add -D_NETBSD_SOURCE for NetBSD | Silas | 1 | -0/+1 | |
| memrchr() signature is not exposed by default for NetBSD. If one does not add -D_NETBSD_SOURCE, the compiler uses its own signature for memrchr() that returns a 32-bit integer, leading to misbehaviour in some situations. Defining _BSD_SOURCE doesn't work, so we define _NETBSD_SOURCE. | |||||
| 2020-11-12 | lua: fix typo in lilypond file extension | Carla Cao | 1 | -1/+1 | |
| There is no .lily file but there is a .ily file in lilypond for stylesheets. They are like css for lilypond. See here: http://lilypond.org/doc/v2.18/Documentation/learning/style-sheets | |||||
| 2020-10-30 | test: update | Marc André Tanner | 1 | -5/+8 | |
| 2020-10-30 | text: simplify iterator_init | Marc André Tanner | 1 | -2/+1 | |
| This was added in c240368d5da8208c15e0263034384414d938afb3 to work around a possibly bogus tis-interpreter warning regarding multiple accesses in the same expression. | |||||
| 2020-10-30 | text: fix invalid pointer comparison | Marc André Tanner | 1 | -1/+1 | |
| 2020-10-30 | text: avoid invalid pointer arithmetic | Marc André Tanner | 1 | -2/+2 | |
| 2020-10-10 | test: update | Marc André Tanner | 1 | -9/+5 | |
| 2020-10-10 | text: move higher level utility functions to separate file | Marc André Tanner | 3 | -68/+73 | |
| The moved functions do not need access to internals of text.c, but instead use the public interfaces. Splitting them out should facilitate experimentation with different core text management data structures. | |||||
| 2020-10-10 | text: move generic iterator functionality to separate file | Marc André Tanner | 3 | -170/+178 | |
| 2020-10-10 | text: move I/O related code to separate file | Marc André Tanner | 4 | -562/+587 | |
| This groups all I/O related code together to make it reusable in different core text data structure implementations. | |||||
| 2020-10-10 | build: list source files on separate lines | Marc André Tanner | 1 | -4/+22 | |
| 2020-10-10 | text: provide public text_iterator_init | Marc André Tanner | 2 | -2/+7 | |
| It can be used to initialize a (stack allocated) Iterator structure, avoiding the copying of the return value as done by text_iterator_get which depending on the implementation might be problematic. | |||||
| 2020-10-10 | text: rename internal text_iterator_init | Marc André Tanner | 1 | -4/+4 | |
| This is in preparation for a public function of the same name. | |||||
| 2020-10-10 | text: mark return value of text_iterator_text as const | Marc André Tanner | 2 | -5/+5 | |
| 2020-10-10 | text: make text_snapshot return whether it succeeded | Marc André Tanner | 2 | -2/+3 | |
| Currently this can't fail, but one can imagine implementations which do. | |||||
| 2020-10-10 | array: mark array_peek argument as const | Marc André Tanner | 2 | -2/+2 | |
| 2020-10-10 | array: mark array_capacity argument as const | Marc André Tanner | 2 | -2/+2 | |
| 2020-10-10 | array: mark array_init_from argument as const | Marc André Tanner | 2 | -2/+2 | |
| 2020-10-10 | text: mark text_delete_range range argument as const | Marc André Tanner | 2 | -2/+2 | |
| 2020-10-10 | text: mark text_save_write_range range argument as const | Marc André Tanner | 2 | -2/+2 | |
| 2020-10-10 | text: mark text_mmaped argument as const | Marc André Tanner | 2 | -2/+2 | |
| 2020-10-10 | array: mark array_get_ptr argument as const | Marc André Tanner | 2 | -2/+2 | |
| 2020-10-10 | array: mark array_get argument as const | Marc André Tanner | 2 | -2/+2 | |
| 2020-10-10 | array: mark array_length argument as const | Marc André Tanner | 2 | -2/+2 | |
| 2020-10-10 | text: mark text_write{,_range} argument as const | Marc André Tanner | 2 | -4/+4 | |
| 2020-10-10 | text: mark text_size argument as const | Marc André Tanner | 2 | -2/+2 | |
| 2020-10-10 | text: mark text_mark_get argument as const | Marc André Tanner | 2 | -2/+2 | |
| 2020-10-10 | text: mark text_iterator_byte_get argument as const | Marc André Tanner | 2 | -2/+2 | |
| 2020-10-10 | text: mark text_bytes_alloc0 argument as const | Marc André Tanner | 2 | -2/+2 | |
