| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2018-11-14 | Change BufReadFifo hook param to contain the inserted range | Maxime Coste | |
| the buffer name was not a very interesting information, whereas the buffer range allows a hook to run only on the appended text instead of all the buffer. | |||
| 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-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-02-05 | Remove the `New` flag from a buffer after reloading it | Maxime Coste | |
| If we reload a buffer, it means its underlying file exists, hence the New flag does not make sense anymore. It could be that the file appeared on the filesystem in the meantime. | |||
| 2017-08-29 | Do less implicit parse_filename calls | Maxime Coste | |
| 2017-03-08 | Add a -debug flag to :edit to set the buffer as debug data | Maxime Coste | |
| As for the *debug* buffer, buffers with the debug flag wont get used for cycling through buffer, or word completion. | |||
| 2017-01-25 | Fix fifo reading not handling potential errors from the read call | Maxime Coste | |
| Fixes #1153 | |||
| 2016-12-03 | Change ValueId to just be an enum class, it does not need any operators | Maxime Coste | |
| 2016-12-01 | Make FDWatcher support Read, Write and Except events, instead of just Read | Maxime Coste | |
| 2016-11-28 | Cleanup include dependencies a bit | Maxime Coste | |
| 2016-11-14 | Propagate the hooks disabled state through prompt, menu, and command execution | Maxime Coste | |
| Maintain it as well during buffer creation even if the hooks are not executed in client context. Fixes #818 | |||
| 2016-10-23 | Re-enable undo support on fifo buffers when the fifo closes | Maxime Coste | |
| Fixes #881 | |||
| 2016-10-01 | Rename get_width to codepoint_width | Maxime Coste | |
| 2016-10-01 | Fix get_column function and add some unit tests for fullwidth text | Maxime Coste | |
| 2016-10-01 | Support codepoints of variable width | Maxime Coste | |
| Add a ColumnCount type and use it in place of CharCount whenever more appropriate, take column size of codepoints into account for vertical movements and docstring wrapping. Fixes #811 | |||
| 2016-08-30 | Add a fd_readable(int fd) helper function | Maxime Coste | |
| Use it instead of direct calls to select scatered around the code base. | |||
| 2016-05-14 | BufferManager now owns the Buffers instead of registering them | Maxime Coste | |
| 2016-03-16 | Use ByteCoords directly for buffer insert/erase/replace | Maxime Coste | |
| 2016-03-12 | Do not include the debug buffer in word completion | Maxime Coste | |
| 2015-11-27 | Consolidate writing to fd | Maxime Coste | |
| 2015-11-19 | Keep an empty last line in debug buffer to provide auto scrolling | Maxime Coste | |
| 2015-10-18 | Fix OSX compilation | Maxime Coste | |
| 2015-10-17 | More cleanups in the buffer open/reload code | Maxime Coste | |
| 2015-10-17 | Move line parsing and to Buffer.cc directly | Maxime Coste | |
| 2015-10-17 | Refactor buffer creation and reloading to be more explicit | Maxime Coste | |
| Reloading used to be implicit in the buffer creation function, which is not always nice, as code that explicitely wanted to reload a buffer could not say so. | |||
| 2015-09-27 | Store timespec for buffer fs timestamps, not just time_t | Maxime Coste | |
| time_t has a resolution of one second, which cause troubles when a file changes multiple time during that same second. | |||
| 2015-08-04 | Support flags getting modified by hooks at buffer creation | Maxime Coste | |
| Fixes #361 | |||
| 2015-06-28 | Run BufReadFifo hook after reading from fifo | Maxime Coste | |
| 2015-06-06 | Move write_debug to buffer utils as write_to_debug_buffer | Maxime Coste | |
| 2015-06-03 | Fix memory leak in fifo buffer handling | Maxime Coste | |
| 2015-05-05 | Fix bug in fifo creation where BufOpenFifo hook was using a dead string | Maxime Coste | |
| 2015-04-27 | Replace some String temporaries with StringViews | Maxime Coste | |
| 2015-04-19 | Run BufOpenFifo hook when opening a fifo in a (new or already existing) buffer | Maxime Coste | |
| 2015-03-10 | Refactor String, use a common StringOps interface, hide std::string | Maxime Coste | |
| 2015-03-01 | rename StringStorage to StringData | Maxime Coste | |
| 2015-02-25 | Respect columns when copying selection, not just bytes | Maxime Coste | |
| 2015-01-22 | Avoid temporary strings on buffer load/reload | Maxime Coste | |
| Pass directly a Vector<ref_ptr<StringStorage>> to the buffer | |||
| 2015-01-12 | replace all std::vector with Vector | Maxime Coste | |
| 2014-12-03 | Use a select based event handling and fix deadlock | Maxime Coste | |
| 2014-11-25 | Separate events between normal and urgent ones | Maxime Coste | |
| Run urgent ones while executing %sh blocks. Fixes #236 | |||
| 2014-11-04 | Reuse existing buffer when creating a fifo one | Maxime Coste | |
| That way, client having this buffer already visible wont switch to another one due to previous buffer getting deleted | |||
| 2014-10-20 | Port more code to StringView instead of const String& | Maxime Coste | |
| 2014-10-13 | Refactor regex uses, do not reference boost except in regex.hh | Maxime Coste | |
| 2014-10-03 | Use InternedStrings for buffer contents | Maxime Coste | |
| 2014-08-26 | Limit the iteration count when reading from a fifo | Maxime Coste | |
| 2014-08-15 | Add support for reading from stdin/writing to stdout in filter mode | Maxime Coste | |
| Note that kakoune still needs to read the whole buffer first, only once stdin is closed can it execute the keys. | |||
| 2014-07-07 | Do not write '*** kak: fifo closed ***' in buffers | Maxime Coste | |
| The status line '[fifo]' flag should replace that | |||
| 2014-07-05 | utf8: use end of sequence iterators for more security | Maxime Coste | |
| 2014-06-30 | Fix spurious eol appearing in non scrolling fifo buffers | Maxime Coste | |
| 2014-06-16 | Add BufCloseFifo hook and use that to remove fifo directories | Maxime Coste | |
