| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2026-01-06 | vis-marks: greatly simplify jumplist management | Randy Palamar | 1 | -7/+1 | |
| As far as I could tell from the code this was supposed to be a fixed size LRU cache of sets of selection regions. The structure had a maximum size member but it was never set or used. Furthermore there was some very complicated management of 2 parallel sets of regions. Instead of that mess just treat the cache as a circular buffer. Note that this is really not that useful at the moment. While the selection regions are saved and restored the editor mode is not. Therefore the selection is visible but not in any way usable. That will be fixed in the next commit. | |||||
| 2025-12-22 | move all standard library includes into util.h | Randy Palamar | 4 | -24/+9 | |
| 2025-12-16 | make vis a single file build | Randy Palamar | 3 | -6/+9 | |
| 2025-12-16 | delete functions which were exposed as unused | Randy Palamar | 1 | -2/+1 | |
| 2025-12-16 | mark all functions in headers with VIS_EXPORT or VIS_INTERNAL | Randy Palamar | 2 | -3/+4 | |
| if vis actually wants to be a library exported symbols may need mark up depending on the platform (eg. __declspec(dllexport)). This needs to be hidden behind a macro because the way you export is not the same on every platform. I did this based on the assumption that vis.h was supposed to be the only interface to the "vis" library. Since nobody actually uses vis as a library I have no idea if this is actually correct. Anyway marking up all prototypes like this allows for one to convert all functions to static if a single translation unit is used by inserting at the start: #define VIS_INTERNAL static #define VIS_EXPORT static | |||||
| 2025-12-08 | map: stop setting errno on error | Randy Palamar | 1 | -5/+4 | |
| the return of these functions already give all the necessary information. this is not c standard library code, we have no need of such a nonsensical error reporting mechanism NOTE: since errno needs to be thread local accessing it from non-libc code ends up being a function call and serves as a pointless optimization barrier. | |||||
| 2025-12-08 | util: replace memrchr with internal version | Randy Palamar | 1 | -4/+4 | |
| The amount of code we need to detect if this is present and handle the fallback is more than if we just provide it ourselves. Also we are passing in a difference of pointers so the argument type should be ptrdiff_t. This avoids a C brain damage of having unsigned size type which can wrap around if the caller is careful. | |||||
| 2025-11-24 | text: remove a bunch of unused save functions | Randy Palamar | 1 | -5/+19 | |
| These functions were only used for testing the text system. One of them was moved to text-test.c to continue to facilitate this. Otherwise these functions are just cluttering up the code and making it hard to modify. | |||||
| 2025-02-28 | buffer: remove more unused exposed functions | Randy Palamar | 2 | -7/+5 | |
| NOTE: buffer-test.c now directly includes buffer.c so that it can continue to test functions which are defined as static/internal to buffer.c | |||||
| 2025-02-28 | buffer: remove buffer_printf | Randy Palamar | 1 | -8/+0 | |
| There was only a single user of this function because buffer_appendf is significantly more useful. Change that caller and reduce the code. | |||||
| 2025-01-12 | test: add a couple missed files to .gitignore | Randy Palamar | 1 | -6/+9 | |
| 2025-01-12 | buffer: drop buffer_move function | Randy Palamar | 1 | -6/+1 | |
| 2025-01-12 | array: delete oneliners | Randy Palamar | 1 | -32/+32 | |
| same as buffer commit Array is completely visible | |||||
| 2025-01-11 | buffer: clear out one line functions | Randy Palamar | 1 | -15/+15 | |
| Buffer is fully exposed to the program, no need to rely on the linker to optimize useless code. | |||||
| 2025-01-11 | buffer: delete pointless buffer_init function | Randy Palamar | 1 | -2/+1 | |
| lets not make the code harder to read for no reason | |||||
| 2024-05-21 | Merge vis-tests into test directory | Randy Palamar | 20 | -0/+3162 | |
| Going forward all tests should be submitted here directly. | |||||
| 2024-05-21 | Prepare to merge vis-test | Randy Palamar | 1 | -15/+0 | |
| 2023-10-10 | ci: test: update submodule | Randy Palamar | 1 | -22/+13 | |
| Sourcehut recurses into submodules when cloning the repo for building so unlike github it uses the version of `test` that is checked into the repo. This is better behaviour but does mean that the submodule needs to be updated. | |||||
| 2023-05-23 | update test submodule | Felix Van der Jeugt | 1 | -5/+23 | |
| 2021-01-25 | test: update | Marc André Tanner | 1 | -7/+5 | |
| 2020-11-20 | test: update | Marc André Tanner | 1 | -7/+6 | |
| 2020-10-30 | test: update | Marc André Tanner | 1 | -5/+8 | |
| 2020-10-10 | test: update | Marc André Tanner | 1 | -9/+5 | |
| 2020-09-20 | test: update | Marc André Tanner | 1 | -5/+9 | |
| 2020-08-01 | test: update | Marc André Tanner | 1 | -13/+5 | |
| 2020-07-17 | test: update | Marc André Tanner | 1 | -5/+13 | |
| 2020-05-30 | test: update | Marc André Tanner | 1 | -5/+5 | |
| 2020-05-13 | test: update | Marc André Tanner | 1 | -9/+5 | |
| 2020-05-12 | test: update | Marc André Tanner | 1 | -11/+7 | |
| 2020-02-25 | test: update | Marc André Tanner | 1 | -5/+13 | |
| 2020-02-22 | test: update | Marc André Tanner | 1 | -5/+5 | |
| 2020-02-20 | test: update | Marc André Tanner | 1 | -5/+5 | |
| 2020-02-13 | test: update | Marc André Tanner | 1 | -9/+5 | |
| 2018-05-30 | test: update | Marc André Tanner | 1 | -6/+8 | |
| 2018-05-16 | test: upate to adapt to recent changes | Marc André Tanner | 1 | -5/+7 | |
| 2018-02-27 | vis: implement normal/outer paragraph text object | Marc André Tanner | 1 | -5/+5 | |
| 2018-01-26 | test: update | Marc André Tanner | 1 | -5/+5 | |
| 2017-07-14 | vis-lua: make selection first class primitives in Lua API | Marc André Tanner | 1 | -5/+5 | |
| 2017-07-10 | test: update | Marc André Tanner | 1 | -5/+5 | |
| 2017-07-08 | test: update | Marc André Tanner | 1 | -7/+5 | |
| 2017-07-08 | vis: perform more renames cursor -> selection | Marc André Tanner | 1 | -5/+7 | |
| To fix compilation you need to update (or remove) config.h. | |||||
| 2017-06-19 | test: update | Marc André Tanner | 1 | -5/+5 | |
| 2017-04-09 | vis: remove handling of \r\n line endings | Marc André Tanner | 1 | -8/+5 | |
| Use something like dos2unix(1) and unix2dos(1), if you need to edit such files. | |||||
| 2017-04-06 | test: update | Marc André Tanner | 1 | -5/+8 | |
| 2017-03-22 | test: update | Marc André Tanner | 1 | -5/+5 | |
| 2017-03-15 | test: update | Marc André Tanner | 1 | -5/+5 | |
| 2017-03-04 | test: update | Marc André Tanner | 1 | -5/+5 | |
| 2017-03-03 | travis: try to run busted based test on macOS | Marc André Tanner | 1 | -5/+5 | |
| 2017-02-25 | test: update | Marc André Tanner | 1 | -11/+5 | |
| 2017-02-23 | test: update | Marc André Tanner | 1 | -5/+11 | |
