aboutsummaryrefslogtreecommitdiff
path: root/test/core/array-test.c
AgeCommit message (Collapse)AuthorFilesLines
2026-01-06vis-marks: greatly simplify jumplist managementRandy Palamar1-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-22move all standard library includes into util.hRandy Palamar1-6/+1
2025-12-16mark all functions in headers with VIS_EXPORT or VIS_INTERNALRandy Palamar1-2/+3
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-01-12array: delete onelinersRandy Palamar1-32/+32
same as buffer commit Array is completely visible
2024-05-21Merge vis-tests into test directoryRandy Palamar1-0/+213
Going forward all tests should be submitted here directly.
2024-05-21Prepare to merge vis-testRandy Palamar1-15/+0
2023-10-10ci: test: update submoduleRandy Palamar1-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-23update test submoduleFelix Van der Jeugt1-5/+23
2021-01-25test: updateMarc André Tanner1-7/+5
2020-11-20test: updateMarc André Tanner1-7/+6
2020-10-30test: updateMarc André Tanner1-5/+8
2020-10-10test: updateMarc André Tanner1-9/+5
2020-09-20test: updateMarc André Tanner1-5/+9
2020-08-01test: updateMarc André Tanner1-13/+5
2020-07-17test: updateMarc André Tanner1-5/+13
2020-05-30test: updateMarc André Tanner1-5/+5
2020-05-13test: updateMarc André Tanner1-9/+5
2020-05-12test: updateMarc André Tanner1-11/+7
2020-02-25test: updateMarc André Tanner1-5/+13
2020-02-22test: updateMarc André Tanner1-5/+5
2020-02-20test: updateMarc André Tanner1-5/+5
2020-02-13test: updateMarc André Tanner1-9/+5
2018-05-30test: updateMarc André Tanner1-6/+8
2018-05-16test: upate to adapt to recent changesMarc André Tanner1-5/+7
2018-02-27vis: implement normal/outer paragraph text objectMarc André Tanner1-5/+5
2018-01-26test: updateMarc André Tanner1-5/+5
2017-07-14vis-lua: make selection first class primitives in Lua APIMarc André Tanner1-5/+5
2017-07-10test: updateMarc André Tanner1-5/+5
2017-07-08test: updateMarc André Tanner1-7/+5
2017-07-08vis: perform more renames cursor -> selectionMarc André Tanner1-5/+7
To fix compilation you need to update (or remove) config.h.
2017-06-19test: updateMarc André Tanner1-5/+5
2017-04-09vis: remove handling of \r\n line endingsMarc André Tanner1-8/+5
Use something like dos2unix(1) and unix2dos(1), if you need to edit such files.
2017-04-06test: updateMarc André Tanner1-5/+8
2017-03-22test: updateMarc André Tanner1-5/+5
2017-03-15test: updateMarc André Tanner1-5/+5
2017-03-04test: updateMarc André Tanner1-5/+5
2017-03-03travis: try to run busted based test on macOSMarc André Tanner1-5/+5
2017-02-25test: updateMarc André Tanner1-11/+5
2017-02-23test: updateMarc André Tanner1-5/+11
2017-02-22test: updateMarc André Tanner1-5/+5
2017-02-20test: updateMarc André Tanner1-8/+5
2017-02-18test: updateMarc André Tanner1-5/+8
2017-02-17test: updateMarc André Tanner1-5/+5
2017-02-16test: updateMarc André Tanner1-7/+5
2017-02-16test: updateMarc André Tanner1-5/+7
2017-02-15test: updateMarc André Tanner1-5/+5
This will most likely break macOS travis builds.
2017-02-14test: updateMarc André Tanner1-5/+5
2017-02-11test: updateMarc André Tanner1-9/+5
Should fix travis failure.
2017-02-11test: updateMarc André Tanner1-5/+9
2017-02-08test: updateMarc André Tanner1-5/+5