Commit Graph

34 Commits

Author SHA1 Message Date
syedm 5722731c6a Cleanup namespace and api. 2026-08-04 23:41:31 +01:00
syedm 1f57c40eef Cleanup 2026-08-04 09:41:57 +01:00
syedm e253fa0efb Remove debugging line 2026-08-04 07:50:28 +01:00
syedm 0bfa9300db Perfect
- Make original buffer use a disk backed mapping to save memory.
- rearrange api function headers for search etc.
- fix bugs with iterators.
- support uint64_t for all byte and line offsets to allow for much larger files to be opened.
- and more minor bug fixes.
2026-08-04 07:48:26 +01:00
syedm 72d0ff85a3 Fix searching api. 2026-08-03 20:34:24 +01:00
syedm 8c61f186cf Major fixes:
- ChunkIterator is now bidirectional
- LineIterator is now also bidirectional
- Undo/redo history operations
- Replace operation
- Range based api functions
- And more minor bug fixes
2026-08-03 20:26:02 +01:00
syedm 557edb5191 Fix throw statement 2026-08-02 12:24:24 +01:00
syedm c235692770 Readme cleanup 2026-08-02 11:50:17 +01:00
syedm 234aee059a Adding license and readme. 2026-08-02 11:48:55 +01:00
syedm 16cd5255ee Set unicode_width as vendored. 2026-08-02 11:16:08 +01:00
syedm 51e193d28b Major changes to api and structure.
- Remove newline caching
- limit petal sizes
- make public facing api use points only
- fix iterators (chunk & line)
2026-08-02 11:07:04 +01:00
syedm 89b24a7488 Improvements with regex system. 2026-07-29 16:40:08 +01:00
syedm b10f1291a0 Update build system. 2026-07-29 13:49:21 +01:00
syedm b90c8a7fef Cleanup 2026-07-29 07:03:21 +01:00
syedm 15f1456fac Major refractor
- Add regex search and replace
- Add chunk iterator + update line iterator.
- Cleanup/formatting.
2026-07-29 04:50:22 +01:00
syedm d8a59a5f5c Fix bug in split and add line->byte lookup. 2026-07-28 19:18:31 +01:00
syedm 784d2736e2 Make casting consistent 2026-07-28 18:23:05 +01:00
syedm 4c35f57199 Cleanup 2026-07-28 18:18:02 +01:00
syedm dbbe05c582 Fix memory leak in balancing. 2026-07-28 18:16:01 +01:00
syedm 9c84118e63 Add a line content iterator. 2026-07-28 18:01:48 +01:00
syedm ed020792f6 Fix memory leaks 2026-07-28 16:33:34 +01:00
syedm ee887d0806 Make typing hotpath work. 2026-07-28 15:19:25 +01:00
syedm 425ffddf71 Make debug builds use glibc (to allow sanitizers) 2026-07-28 14:13:25 +01:00
syedm 9ac1407907 Add AVL balancing 2026-07-28 14:12:49 +01:00
syedm 7503561c40 Make basic (unbalanced) insertion work. 2026-07-28 03:26:28 +01:00
syedm 92f59cbb86 Reformat/cleanup 2026-07-28 03:00:15 +01:00
syedm 57dda2589e Cleanup 2026-07-28 02:57:13 +01:00
syedm 737c6c1d20 Setup basic piece table like data structure. 2026-07-28 00:31:58 +01:00
syedm 27e8494fc8 Add compiler flags 2026-07-28 00:30:26 +01:00
syedm e1fcab0779 Cleanup 2026-07-27 07:55:58 +01:00
syedm ff59297921 Clangd lsp setup 2026-07-27 07:54:36 +01:00
syedm 9e44013cdc Cleanup makefile 2026-07-27 07:51:27 +01:00
syedm 125a6a3d46 Setup initial repo 2026-07-27 06:56:01 +01:00
syedm f9b969050f Initial commit 2026-07-27 06:13:37 +01:00