aboutsummaryrefslogtreecommitdiff
path: root/text.c
AgeCommit message (Expand)AuthorFilesLines
2020-10-10text: mark text_save_write_range range argument as constMarc André Tanner1-1/+1
2020-10-10text: mark text_mmaped argument as constMarc André Tanner1-1/+1
2020-10-10text: mark text_write{,_range} argument as constMarc André Tanner1-2/+2
2020-10-10text: mark text_size argument as constMarc André Tanner1-1/+1
2020-10-10text: mark text_mark_get argument as constMarc André Tanner1-1/+1
2020-10-10text: mark text_iterator_byte_get argument as constMarc André Tanner1-1/+1
2020-10-10text: mark text_bytes_alloc0 argument as constMarc André Tanner1-1/+1
2020-10-10text: mark text_byte(s)_get argument as constMarc André Tanner1-2/+2
2020-10-10text: mark text_iterator_get argument as constMarc André Tanner1-3/+3
2020-10-10text: mark text_state argument as constMarc André Tanner1-1/+1
2020-10-10text: mark text_modified argument as constMarc André Tanner1-1/+1
2020-10-10text: mark text_stat argument as constMarc André Tanner1-1/+1
2020-10-10text: introduce text_iterator_textMarc André Tanner1-3/+10
2020-10-10text: introduce text_iterator_has_{next,prev}Marc André Tanner1-4/+12
2020-10-10text: add namespace prefix to block type constantsMarc André Tanner1-10/+10
2020-10-10text: avoid direct access to txt->blocks in I/O related codeMarc André Tanner1-3/+10
2020-10-10text: introduce text_savedMarc André Tanner1-10/+11
2020-10-10text: use public text_stat interface where possibleMarc André Tanner1-3/+4
2020-10-10text: introduce block_loadMarc André Tanner1-24/+36
2020-10-10text: store blocks in arrayMarc André Tanner1-31/+35
2020-10-10text: simplify reading of initial file contentMarc André Tanner1-6/+7
2020-08-29text: provide save function taking a directory descriptorMarc André Tanner1-10/+39
2020-08-29text: provide load function taking a directory descriptorMarc André Tanner1-1/+9
2020-06-28text: simplify remapping of original file contentMarc André Tanner1-9/+1
2020-06-22text: remove dead storeMarc André Tanner1-1/+0
2020-06-22text: code cleanup, use local variableMarc André Tanner1-8/+9
2020-06-22text: fix typo in comments, no code changeMarc André Tanner1-4/+4
2020-05-13text: introduce text_save_method, remove text_save_rangeMarc André Tanner1-9/+9
2020-01-26text: ignore fsync(2) errors on unsupported directory descriptorsMarc André Tanner1-1/+1
2018-05-30text: only default to mmap for files larger than 64 MiBMarc André Tanner1-1/+1
2018-05-30text: allow to specify how the file content should be loadedMarc André Tanner1-3/+5
2018-05-16text: use mkstemp(3) for temporary file creation in atomic savesMarc André Tanner1-6/+25
2018-05-16text: do not unlink existing `file~` when saving to `file`Marc André Tanner1-1/+3
2017-07-05text: limit write(2) calls to INT_MAX bytesMarc André Tanner1-1/+1
2017-05-03text: remove text_history_get functionMarc André Tanner1-12/+0
2017-05-03text: remove text_iterate macroMarc André Tanner1-3/+9
2017-05-03text: remove text_insert_newline functionMarc André Tanner1-4/+0
2017-05-03text: remove count argument from text_{earlier,later}Marc André Tanner1-10/+4
2017-05-03text: rename text_sigbus to text_mmapedMarc André Tanner1-2/+3
2017-05-03text: rename text_byte_get argument nameMarc André Tanner1-2/+2
2017-04-11text: do not redefine _GNU_SOURCEMarc André Tanner1-1/+3
2017-04-09text: use MB_LEN_MAX instead of MB_CUR_MAXMarc André Tanner1-2/+3
2017-04-09vis: remove handling of \r\n line endingsMarc André Tanner1-31/+1
2017-04-09text: drop special handling of \r\n line endingsMarc André Tanner1-39/+6
2017-04-09text: add mem{r,}chr(3) based byte search functionsMarc André Tanner1-0/+29
2017-04-08text: adjust iterator position when switching to adjacent piecesMarc André Tanner1-2/+4
2017-04-08text: introduce text_char_get which converts \r\n to \nMarc André Tanner1-0/+5
2017-04-08text: fix iterator semantics regarding windows style newlinesMarc André Tanner1-2/+4
2017-03-31text: Add missing va_end() whenRaúl Peñacoba1-1/+3
2017-03-22text: use proper open(2) flags when saving inplaceMarc André Tanner1-1/+1