| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-03-20 | Remove posB from information given by the diff algorithm | Maxime Coste | |
| posB is always the sum of previous add len and previous keep len, so very easy to keep track of. | |||
| 2020-01-01 | Add 'history' and 'uncommitted_modifications' expansions | Jason Felice | |
| 2019-12-19 | Update fs status post buffer write | Maxime Coste | |
| 2019-12-18 | Cleanup replaced range selection logic | Maxime Coste | |
| Do not access Buffer::m_changes to find the inserted range, return it directly from Buffer::insert and Buffer::replace. This fixes a wrong behaviour where replacing at eof would lose the selected end of line (as the implementation does not actually replace that end of line) | |||
| 2019-12-07 | Update New flag and last save timestamp on buffer rename | Maxime Coste | |
| Fxies #3244 | |||
| 2019-12-04 | Merge remote-tracking branch 'lenormf/reload-buffer-hash' | Maxime Coste | |
| 2019-12-03 | src: Reload buffers when their contents' hash changes | Frank LENORMAND | |
| Instead of triggering a reload event when the timestamp of a buffer's underlying file changes, do so when its contents are actually modified. | |||
| 2019-11-30 | Refactor diff to make allocating a diff vector optional | Maxime Coste | |
| The diff interface now goes through a for_each_diff function that uses a callback for each found diff. | |||
| 2019-11-25 | src: Use `begin()` to get iterators | Frank LENORMAND | |
| When compiling the code with `-Wp,-D_GLIBCXX_ASSERTIONS`, the process gets aborted, likely because iterators to standard containers are not obtained in a safe way. Fixes #3226. | |||
| 2019-11-09 | Add static or const where useful | Jason Felice | |
| 2019-06-19 | Refactor option_to_string quoting support, introduce Quoting::Raw | Maxime Coste | |
| 2019-04-27 | Let parse_lines ensure that there's at least 1 line with \n | Delapouite | |
| 2019-03-27 | Add missing flags to debug buffers output | Delapouite | |
| 2019-01-23 | Always select inserted text after piping | Maxime Coste | |
| Relying on general selection update code is error prone due to diffing. Fixes #2394 | |||
| 2018-10-23 | Refactor Hook management to have a well defined list of hooks | Maxime Coste | |
| Hooks are now an enum class instead of passing strings around. | |||
| 2018-08-29 | Use shell specific quoting for env vars | Maxime Coste | |
| Add a test case to validate roundtrips between Kakoune and the shell. | |||
| 2018-05-21 | Gather options in a vector when running Buffer::on_option_changed | Maxime Coste | |
| on_option_changed might trigger hooks that will mutate the option managers, invalidating the iterators we use. | |||
| 2018-05-14 | Rename Context::Flags::Transient to Context::Flags::Draft | Maxime Coste | |
| Draft is well establish and all draft context are transient. | |||
| 2018-05-02 | Refactor buffer undo tree | Maxime Coste | |
| Store the undo tree as an array of undo nodes, instead of as a pointer based tree. | |||
| 2018-04-06 | Make error messages more consistent | Delapouite | |
| 2018-03-13 | Do not jump to buffer start on `g.` with no previous modifications | Maxime Coste | |
| 2018-03-09 | Detect no-op replaces and do not act on them | Maxime Coste | |
| This avoids recording no-op undo groups. | |||
| 2018-02-24 | Allow l/h to cross line boundaries | Maxime Coste | |
| l and h are now respectively "next character" and "previous character" | |||
| 2018-02-18 | Buffer: avoid expensive option flattening in on_registred with NoHooks | Maxime Coste | |
| 2018-02-11 | Refuse modification of ReadOnly buffers and make Debug buffer readonly | Maxime Coste | |
| The debug buffer is a bit special as lots of events might mutate it, permitting it to be modified leads to some buggy behaviour: For example, `pipe` uses a ForwardChangeTracker to track buffer changes, but when applied on a debug buffer with the profile flag on, each shell execution will trigger an additional modification of the buffer while applying the changes, leading to an assertion failing as changes might not be happening in a forward way anymore. Trying to modify a debug buffer will now raise an error immediatly. | |||
| 2018-01-18 | Use the _str and _sv string literals more often | Maxime Coste | |
| 2017-11-07 | Buffer: change clamp logic to preserve ordering | Maxime Coste | |
| clamp could change ordering between a coordinate past the end. Say in a buffer with 1 line of 2 char: {0, 1} was clamped to {0, 1} {1, 0} was clamped to {0, 0} That was reversing their ordering, and might be the root cause of the bug lurking in undo range computation. | |||
| 2017-09-01 | Make Buffer::Modification an aggregate | Maxime Coste | |
| 2017-08-29 | Rename containers.hh to ranges.hh (and Container to Range) | Maxime Coste | |
| 2017-08-04 | Purge history on buffer reload when NoUndo flag is on | Maxime Coste | |
| We were preserving the history in that case, so on fifo buffers (that set the NoUndo flag until the fifo is closed), we still had the history from the "previous life" of the buffer, leading crashes when trying to apply it. Fixes #1518 | |||
| 2017-08-01 | Slight formatting tweak | Maxime Coste | |
| 2017-06-28 | Consider non-files buffers as never modified | Maxime Coste | |
| 2017-06-26 | Fix replacing last eol with a single eol | Maxime Coste | |
| 2017-06-15 | Move tolerance for one past end of line coordinates to highlighter code | Maxime Coste | |
| The rest of Kakoune's code now requires coord passed to Buffer::iterator_at to be valid. | |||
| 2017-06-15 | Go back to window lines ending at one past the end of the buffer line | Maxime Coste | |
| Change Buffer::iterator_at so that this case is tolerated, and fixes the coord to next line start instead of clamping to last line char. | |||
| 2017-06-12 | Simplify a bit buffer iteration functions | Maxime Coste | |
| Dont try to ensure the returned value is valid, incrementing past the end/decrementing before begin is the caller's error. | |||
| 2017-06-11 | Fix the Buffer::end() madness | Maxime Coste | |
| Until now, buffer had multiple recognized end coordinates, either { line_count, 0 } or { line_count - 1, line[line_count - 1].length }. Now the only correct end coord is { line_count, 0 }, removing the need for various special cases. | |||
| 2017-06-07 | Run BufCreate hook *before* Buf{Open,New}File | Maxime Coste | |
| 2017-06-07 | Small style tweak | Maxime Coste | |
| 2017-05-26 | Remove unneeded explicit conversion | Maxime Coste | |
| 2017-05-22 | Do not avoid eol in insert mode vertical movement | Maxime Coste | |
| 2017-05-21 | Fix vertical movement with tabstops | Maxime Coste | |
| Fixes #1388 | |||
| 2017-05-07 | Respect tabstop in Buffer::offset_coord | Maxime Coste | |
| 2017-04-20 | Fix generation of empty erase changes | Maxime Coste | |
| Fixes #1308 | |||
| 2017-03-22 | Try to fix clang 3.5 compilation | Maxime Coste | |
| 2017-03-16 | Fixes some clang-tidy warning and add a few missing meta.hh include | Maxime Coste | |
| 2017-03-15 | Small code tweaks regarding flags handling | Maxime Coste | |
| 2017-02-19 | Rename BufNew and BufOpen hooks to BufNewFile and BufOpenFile | Maxime Coste | |
| Fixes #1225 | |||
| 2017-02-07 | Fix Buffer::offset_coord that was dropping the target coordinate | Maxime Coste | |
| 2017-01-31 | Formatting fix | Maxime Coste | |
