aboutsummaryrefslogtreecommitdiff
path: root/text.c
AgeCommit message (Expand)AuthorFilesLines
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
2016-04-17text: add infrastructure to save non-contiguous rangesMarc André Tanner1-113/+184
2016-03-23Remove identically replicated copyright comments from source filesMarc André Tanner1-15/+0
2016-03-15text: improve ENOSPC handling when savingMarc André Tanner1-0/+3
2016-02-21Cleanup new line insertion codeMarc André Tanner1-9/+12
2016-01-10text: introduce text_bytes_alloc0 utility functionMarc André Tanner1-0/+12
2015-12-31text: let text_pos_by_lineno return EPOS if given a too large line numberMarc André Tanner1-1/+1
2015-12-31text: introduce text_newline_insertMarc André Tanner1-0/+11
2015-12-29Clean up build systemMarc André Tanner1-6/+6
2015-11-23text: introduce functions to iterate over graphemesMarc André Tanner1-2/+55
2015-11-20text: get modification time after replacing file content in placeMarc André Tanner1-0/+2
2015-11-08Update year numbers in Copyright clauseMarc André Tanner1-1/+1
2015-11-02text: return end of changed range in text_redoMarc André Tanner1-0/+2
2015-10-22text: introduce text_appendf utility functionMarc André Tanner1-0/+8
2015-10-09text: fix usage of va_arg in text_vprintfDavid B. Lamkins1-1/+4
2015-10-05text: add text_{v,}printf functionMarc André Tanner1-0/+18
2015-08-08text: rename some functions to improve consistencyMarc André Tanner1-7/+7
2015-08-08text: introduce helper function text_delete_rangeMarc André Tanner1-0/+6
2015-07-28text: move utility functions to separate fileMarc André Tanner1-36/+1
2015-07-25text: handle marks set to 0 and text_size(...)Marc André Tanner1-0/+8
2015-07-25text: add text_range_overlapMarc André Tanner1-0/+6
2015-07-22text: introduce text_range_newMarc André Tanner1-0/+7
2015-07-19vis: handle file truncation more gracefullyMarc André Tanner1-0/+8
2015-07-19text: move regex related functions to separate fileMarc André Tanner1-68/+0
2015-07-19text: slight cleanup, add a few commentsMarc André Tanner1-17/+22
2015-07-10text: upon successfull file save store new modification timeMarc André Tanner1-7/+11
2015-07-07text: safer temporary file creationMarc André Tanner1-1/+4