aboutsummaryrefslogtreecommitdiff
path: root/text.c
AgeCommit message (Expand)AuthorFilesLines
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
2017-02-27Honor user's umask when saving filesMichael Forney1-2/+2
2017-02-27Remove unnecessary umask change in text_save_begin_inplaceMichael Forney1-2/+0
2017-02-27Fix a couple typosMichael Forney1-1/+1
2017-02-25text: add iterator accessor function which translates \r\n to \nMarc André Tanner1-0/+11
2017-02-23vis: improve handling of \r\n line endingsMarc André Tanner1-6/+21
2017-02-20text: fix some integer overflow issuesMarc André Tanner1-3/+6
2017-02-09text: fix use of uninitialized variable in error pathMarc André Tanner1-2/+2
2017-02-08text: clean up iterator semanticsMarc André Tanner1-44/+61
2017-02-08text: remove special case for marks at start of fileMarc André Tanner1-4/+0
2017-01-20text: fix EOF handling for text_iterator_byte_nextMarc André Tanner1-1/+1
2016-12-23text: make text_vprintf static, it is only used within text.cMarc André Tanner1-13/+13
2016-12-22text: introduce EMARK to denote an invalid markMarc André Tanner1-2/+2
2016-12-22text: change datatype of Mark to uintptr_tMarc André Tanner1-4/+6
2016-12-22text: make default block size overridable via C pre-processorMarc André Tanner1-0/+2
2016-12-22text: avoid undefined multiple accesses in expressionMarc André Tanner1-1/+2
2016-12-22text: do not rely on indeterminate value in a comparisonMarc André Tanner1-1/+1
2016-12-14text: expose text save method to calling codeMarc André Tanner1-9/+5
2016-11-10vis-lua: change misnamed attribute values of `file.newlines`Marc André Tanner1-5/+5
2016-11-01text: change usage of sizeof idiom for allocation of new objectsMarc André Tanner1-6/+6
2016-11-01text: rename Buffer to Block to avoid confusion with buffer.[ch]Marc André Tanner1-123/+123
2016-09-25text: improve variable namingMarc André Tanner1-116/+116
2016-05-07text: fix bug in line break caching logicMarc André Tanner1-1/+2
2016-04-18text: when saving also fsync(2) the destination directory after rename(2)Marc André Tanner1-1/+17