aboutsummaryrefslogtreecommitdiff
path: root/editor.c
Commit message (Expand)AuthorAgeFilesLines
* Remove obsolated functions and tests about line_get_stringdilluti0n2026-07-171-5/+0
* minor: remove unused scroll_row field on ebdilluti0n2025-06-211-2/+0
* minor: remove unused field eb.scroll_rowdilluti0n2025-06-011-2/+0
* refactor: consolidate ENAMETOOLONG handling in eb_binddilluti0n2025-05-281-7/+5
* refactor: abstract input/rendering modules from main routinedilluti0n2025-05-281-3/+3
* minor: use log_printf instead of printf when logging saved filedilluti0n2025-05-271-1/+1
* refactor: eb_bind to bind absolute path to eb->file_namedilluti0n2025-05-271-9/+49
* refactor: remove cursor initialization from eb_load_filedilluti0n2025-05-271-2/+3
* fix: correct CRLF handling guard to avoid ineffective len > 0 checkdilluti0n2025-05-261-1/+1
* fix: double-free of line object in eb_backspace and eb_delete_linedilluti0n2025-05-141-2/+17
* refactor: introduce mem.h; wrappers for allocatorsdilluti0n2025-05-101-2/+3
* fix: Memory Leak in eb_delete_linedilluti0n2025-05-101-7/+40
* refactor: deprecate line->cursor; simplify vertical cursor movementdilluti0n2025-05-021-5/+4
* perf: use fwrite instead of fputc loop in eb_save_filedilluti0n2025-05-011-2/+1
* perf: Use eb_get_line_slice on eb_save_file instead line_get_stringdilluti0n2025-05-011-3/+5
* feat: add slice-based accessors for line and editor bufferdilluti0n2025-04-291-1/+11
* fix: SIGBUS when eb_save_filedilluti0n2025-04-291-4/+20
* fix: format string is not a string literal in eb_save_filedilluti0n2025-04-291-1/+1
* refactor: decouple line.h from main.cdilluti0n2025-04-291-6/+11
* refactor: introduce lazy loading to each line buffer.dilluti0n2025-04-291-6/+10
* fix: add CRLF handling to eb_load_filedilluti0n2025-04-291-1/+6
* perf: make line from buf directly instead of append each charactersdilluti0n2025-04-291-6/+3
* perf: use line_append and push instead of eb_insertdilluti0n2025-04-291-14/+13
* perf: replace byte-by-byte scanning with memchr in eb_load_filedilluti0n2025-04-281-6/+16
* implement: eb_load_file using mmapdilluti0n2025-04-281-1/+49
* fix: asser fail in eb_backspace, eb_newline due to invalid accessdilluti0n2025-04-281-17/+23
* implement: eb_save_filedilluti0n2025-04-281-10/+24
* add: basic i/o structure on main rendering loopdilluti0n2025-04-281-0/+15
* fix: eb_set_cur_next does not recovering cached cursor from line.dilluti0n2025-04-281-5/+4
* fix: possable memory leak on eb_freedilluti0n2025-04-281-1/+1
* refactor: move ed_* modules from main.c to editor.cdilluti0n2025-04-281-0/+176