| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-10-23 | text/core: test all load/save method combinations | Marc André Tanner | |
| This should trigger the re-mapping case during file save. | |||
| 2020-10-23 | text/core: add basic undo/redo sanity check for empty file | Marc André Tanner | |
| 2020-10-23 | text/core: fix undo test name numbering | Marc André Tanner | |
| 2020-10-23 | test/core: add basic array_{peek,pop} test | Marc André Tanner | |
| 2020-10-20 | test/core: add time(3) stub for tis-interpreter | Marc André Tanner | |
| Not sure why a deterministic stub implementation is not provided by the CI environment[1], even though the public tis-interpreter repositories contain relevant code[2,3]. [1] https://github.com/TrustInSoft-CI/TrustInSoft-CI/issues/12 [2] https://github.com/TrustInSoft/tis-kernel/blob/748d28baba90c03c0f5f4654d2e7bb47dfbe4e7d/share/tis-interpreter/common_time.c#L148 [3] https://github.com/TrustInSoft/tis-interpreter/blob/33132ce4a825494ea48bf2dd6fd03a56b62cc5c3/tis-interpreter/common_helpers/common_time.c#L138 | |||
| 2020-10-20 | test/core: avoid puts("") to print a new line | Marc André Tanner | |
| 2020-10-20 | test/core: fix relative #include directive | Marc André Tanner | |
| The correct location is ensured by specifying the desired include directory (-I flag) to the compiler driver. | |||
| 2020-10-10 | test: update | Marc André Tanner | |
| 2020-10-10 | text: move higher level utility functions to separate file | Marc André Tanner | |
| 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 | test: adapt source list in Makefiles | Marc André Tanner | |
| 2020-10-10 | text: move generic iterator functionality to separate file | Marc André Tanner | |
| 2020-10-10 | text: move I/O related code to separate file | Marc André Tanner | |
| 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 | |
| 2020-10-10 | text: provide public text_iterator_init | Marc André Tanner | |
| 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 | |
| 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 | |
| 2020-10-10 | text: make text_snapshot return whether it succeeded | Marc André Tanner | |
| 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 | |
| 2020-10-10 | array: mark array_capacity argument as const | Marc André Tanner | |
| 2020-10-10 | array: mark array_init_from argument as const | Marc André Tanner | |
| 2020-10-10 | text: mark text_delete_range range argument as const | Marc André Tanner | |
| 2020-10-10 | text: mark text_save_write_range range argument as const | Marc André Tanner | |
| 2020-10-10 | text: mark text_mmaped argument as const | Marc André Tanner | |
| 2020-10-10 | array: mark array_get_ptr argument as const | Marc André Tanner | |
| 2020-10-10 | array: mark array_get argument as const | Marc André Tanner | |
| 2020-10-10 | array: mark array_length argument as const | Marc André Tanner | |
| 2020-10-10 | text: mark text_write{,_range} argument as const | Marc André Tanner | |
| 2020-10-10 | text: mark text_size argument as const | Marc André Tanner | |
| 2020-10-10 | text: mark text_mark_get argument as const | Marc André Tanner | |
| 2020-10-10 | text: mark text_iterator_byte_get argument as const | Marc André Tanner | |
| 2020-10-10 | text: mark text_bytes_alloc0 argument as const | Marc André Tanner | |
| 2020-10-10 | text: mark text_byte(s)_get argument as const | Marc André Tanner | |
| 2020-10-10 | text: mark text_iterator_get argument as const | Marc André Tanner | |
| 2020-10-10 | text: mark text_state argument as const | Marc André Tanner | |
| 2020-10-10 | text: mark text_modified argument as const | Marc André Tanner | |
| 2020-10-10 | text: mark text_stat argument as const | Marc André Tanner | |
| 2020-10-10 | text: introduce text_iterator_text | Marc André Tanner | |
| 2020-10-10 | text: introduce text_iterator_has_{next,prev} | Marc André Tanner | |
| Abstract away access to `it->piece` inorder to enable different implementations/backends. | |||
| 2020-10-10 | text: add namespace prefix to block type constants | Marc André Tanner | |
| 2020-10-10 | text: avoid direct access to txt->blocks in I/O related code | Marc André Tanner | |
| 2020-10-10 | text: introduce text_saved | Marc André Tanner | |
| Utiltiy function to update book keeping data after a successful save, takes an optional struct stat of the new file. | |||
| 2020-10-10 | text: use public text_stat interface where possible | Marc André Tanner | |
| 2020-10-10 | text: introduce block_load | Marc André Tanner | |
| 2020-10-10 | text: store blocks in array | Marc André Tanner | |
| Make block manipulation routines independent of core text data structure, enabling re-usage in different implementations. | |||
| 2020-10-10 | text: simplify reading of initial file content | Marc André Tanner | |
| Avoid unnecessary copy and system calls in block_read. | |||
| 2020-10-10 | vis: add vis-selection-new-match-all | Evan Gates | |
| Add new vis-selection-new-match-all command, default keybinding <C-a> in visual mode. Refactor selections_next_match to find all matches if arg.b is true. This does not affect existing configs as arg.b defaults to false. | |||
| 2020-10-10 | vis: refactor selections_match_next | Evan Gates | |
| A lot of code from selections_match_next was duplicated in selections_match_next_literal. Use the new text_object_find_next/prev functions to combine the two match_next functions into one. | |||
| 2020-10-10 | text: add text_object_find_next/prev | Evan Gates | |
| Add two new text-object functions to search forwards/backwards for a string literal (not a regex) with the same signature as text_object_word_find_next/prev. This allows them to be used interchangeably with the word based variant through function pointers. | |||
| 2020-10-06 | filetype: and Node.js module extensions | Ben Hormann | |
| Node.js uses .mjs and .cjs extensions, both are regular javascript. | |||
| 2020-09-29 | test: add array.c source dependency for core text data structure | Marc André Tanner | |
