| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2017-06-17 | src: Add a `commands` debug flag | Frank LENORMAND | |
| This commit allows setting the `commands` flag to the `debug` option, in order to have the engine write on the *debug* buffer the commands that are being executed, along with their arguments. | |||
| 2017-06-17 | Update startup info message | Maxime Coste | |
| Remove some old breaking changes, add the lint/make/grep command changes. | |||
| 2017-06-17 | Disable -Wnoexcept-type warning | Maxime Coste | |
| We dont really care that the mangled name will change, Kakoune is not built as a library. Fixes #1436 | |||
| 2017-06-16 | Trim whitespaces surrounding docstrings | Maxime Coste | |
| Closes #1439 | |||
| 2017-06-16 | Add fallthrough comment to silence gcc-7 warning | Maxime Coste | |
| Until we switch to C++17 and can use the proper attributes there. Fixes #1437 | |||
| 2017-06-16 | Support hitting escape to cancel a selection combine operation | Maxime Coste | |
| Fixes #1443 | |||
| 2017-06-16 | Hide info/menu when they are anchored to an invisible buffer coord | Maxime Coste | |
| Fixes #1444 | |||
| 2017-06-16 | Fix some remaining uses of invalid atom coordinates | Maxime Coste | |
| 2017-06-15 | Fix some other uses of invalid buffer coordinates in display code | 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 | Fix crash recently introduced when deleting at buffer start in insert mode | Maxime Coste | |
| 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-15 | Change window display to not use invalid buffer coordinates | Maxime Coste | |
| Fixes #1435 | |||
| 2017-06-15 | Respect scroll offset even when wrapping lines | Maxime Coste | |
| Fixes #1433 although in a slightly different way than requested: We ensure that scrolloff *displayed* lines are visible below the cursor, not scrolloff *buffer* lines. | |||
| 2017-06-14 | Change custom text object desc trigger from ':' to 'c' - Fix #1362 | Delapouite | |
| 2017-06-13 | Always store InclusiveBufferRange with first < second | Maxime Coste | |
| Closes #1434 | |||
| 2017-06-12 | minor style tweak | Maxime Coste | |
| 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-12 | Use read_fd to get pipe command from stdin instead of ad-hoc code | Maxime Coste | |
| read_fd will also now throw on read error instead of just returning the data read so far as if nothing failed. | |||
| 2017-06-11 | Fix corner case in compute_modified_ranges | Maxime Coste | |
| 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-09 | Fix wrapping support | Maxime Coste | |
| 2017-06-09 | Remove unused only_buffer mode for DisplayLine::trim | Maxime Coste | |
| 2017-06-09 | Simplify column highlighter and make it more robust | Maxime Coste | |
| Fixes #1382 | |||
| 2017-06-09 | Fix bug in word completer | Maxime Coste | |
| A bug could be triggered in the word completer when a multiselection would trigger word completion with one selection being at buffer first character. | |||
| 2017-06-09 | Proper linear time insert completion insertion | Maxime Coste | |
| The previous solution, ad9b090ddf362220e7879370538db0b5cd14fe34, was failing when completion was not replacing any text, as going through SelectionList was not permitting to replace empty ranges. Handle replacement as first a deletion then an insert to get fast update, as having a list of forward deletions and then a list for forwad insertion is much faster to update than a list of interleaved delete/insert. | |||
| 2017-06-09 | Rework partial line display logic | Maxime Coste | |
| Instead of highlighting full lines and then trim them to make them fit in the window, highlight only the visible portion, and rely on the compute_display_setup system introduced for wrapping to setup our buffer range correctly | |||
| 2017-06-09 | More explicit and simpler code | Maxime Coste | |
| 2017-06-08 | Remove spurious double underscore | Maxime Coste | |
| 2017-06-08 | Do not show startup info when piping into kak | Maxime Coste | |
| Fixes #1340 | |||
| 2017-06-08 | Fix quadratic behaviour in when selecting an insert completion | Maxime Coste | |
| Use the fast, linear time SelectionList::insert algorithm instead of an ad-hoc one that needs to call SelectionList::update after each modification of the buffer. Fixes #1417 | |||
| 2017-06-08 | Disable idle timers on all transient contexts | Maxime Coste | |
| 2017-06-08 | Merge remote-tracking branch 'Delapouite/rotate-forward' | Maxime Coste | |
| 2017-06-08 | Add `-width <max_width>` support in the wrap highlighter | Maxime Coste | |
| Will always wrap at the minimum between max_width and actual window width. Fixes #1424 | |||
| 2017-06-07 | Move variable closer to its point of use | Maxime Coste | |
| 2017-06-07 | Filter debug buffers before creating the SafePtr vector in -buffer * | Maxime Coste | |
| 2017-06-07 | Do not disable incsearch option in context wrap | Maxime Coste | |
| It will only trigger on idle, which should not happen during non- interactive contexts. | |||
| 2017-06-07 | Only trigger PromptEvent::Change on idle | Maxime Coste | |
| There is no need to trigger that event on every keystroke, we can trigger it only when we hit the idle timeout, avoiding computations when input keys are pasted. | |||
| 2017-06-07 | Use microseconds instead of milliseconds for built-in profiling | Maxime Coste | |
| 2017-06-07 | Run BufCreate hook *before* Buf{Open,New}File | Maxime Coste | |
| 2017-06-07 | Use range based find_if wrapper for finding shell env vars | Maxime Coste | |
| 2017-06-07 | Change merge_overlapping to guarantee we dont break the sorting | Maxime Coste | |
| In certain cases, we could end up with a unsorted selection list, leading to broken invariant. | |||
| 2017-06-07 | Fix memory errors due to sharing the MatchResults in the Hooks struct | Maxime Coste | |
| A hook execution triggered by another hook execution would change the shared MatchResults object, which is a wrong behaviour and makes it point to dead string data. | |||
| 2017-06-07 | Remove unneeded unknown_expand exception type | Maxime Coste | |
| 2017-06-07 | Use range based accumulate wrapper instead of std::accumulate | Maxime Coste | |
| 2017-06-07 | Do not allow whitespaces as % string delimiters | Maxime Coste | |
| 2017-06-07 | Move hook executing logic into HookManager | Maxime Coste | |
| The existing HookManager was able to run arbitrary hook functions, but in practice was only used for user provided textual hooks. That separation was causing some suboptimal performances, by moving that logic directly in the hook manager we can improve hook filtering performance which is a big part of startup time when opening lots of files. | |||
| 2017-06-07 | Avoid expensive copies of Hooks in HookManager::run_hooks | Maxime Coste | |
| Use a deferred deletion mechanism to ensure hooks are kept alive for the duration of run_hooks. | |||
| 2017-06-07 | Move NestedBool to utils.hh | Maxime Coste | |
| 2017-06-07 | Small style tweak | Maxime Coste | |
