| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-01-24 | Fix missing errno include | Maxime Coste | |
| 2019-01-20 | Refactor RegexIterator to use a Sentinel | Maxime Coste | |
| 2018-12-27 | Use fork instead of vfork on CYGWIN | Maxime Coste | |
| Fixes #2653 | |||
| 2018-12-07 | Use _exit() after vfork() | Jason Felice | |
| Closes #2620 The docs for Mac OS X's vfork() requires it, and _exit() conforms to POSIX.1-2008. http://man7.org/linux/man-pages/man2/_exit.2.html | |||
| 2018-12-06 | Use a dummy function for SIGPIPE instead of SIG_IGN | Maxime Coste | |
| SIG_IGN is inherited after 'execve' and requires us to reset that signal handler, which does not work well with vfork on OSX. Using an empty function does the trick and will be auto reset to default on exec. | |||
| 2018-11-27 | Support KAKOUNE_POSIX_SHELL environment variable to choose the shell path | Maxime Coste | |
| The shell will always be run with 'sh' as argv[0] to make shells such as busybox sh supported. Closes #2547 | |||
| 2018-11-27 | ShellManager: Use vfork instead of fork | Maxime Coste | |
| When large buffers have been opened, copying Kakoune's memory page descriptors can get pretty slow, making fork more expensive than necessary. vfork avoids that problem. While not strictly conforming, it seems the few calls we do before execve (open, close, dup2 and set_signal_handler) would not cause any problems on platforms we care about. | |||
| 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-07-23 | Restore SIGPIPE handler to default before spawning shell | Maxime Coste | |
| Fixes #2238 | |||
| 2018-06-28 | Fix wrong logic for moving filedescriptors leading to closed stdin | Maxime Coste | |
| With this fix, tests can now use /dev/null as stdin. Fixes #2165 | |||
| 2018-05-26 | Do not expose C++ typeid().name to user facing errors on wrong option type | Maxime Coste | |
| Fixes #2079 | |||
| 2018-04-07 | Make FaceRegistry scoped | Maxime Coste | |
| set-face now takes a scope argument, and faces can be overridden on a buffer or window basis. colorscheme apply on global scope, which should be good enough for now. Fixes #1411 | |||
| 2018-04-01 | Restore previous status line after notifying wait for shell | Maxime Coste | |
| Fixes prompt getting erased by the wait for shell message, and having to manually trigger a redraw to see it again. | |||
| 2018-03-30 | Support full redraws during shell execution and handle resize there | Maxime Coste | |
| Fixes #1973 | |||
| 2018-03-25 | Remove contains_that and use any_of to be closer to the c++ stdlib | Maxime Coste | |
| 2018-03-13 | ranges: Add transform overload taking directly a pointer to member | Maxime Coste | |
| This overload will forward to the general transform implementation using std::mem_fn to generate a callable. | |||
| 2018-02-18 | ShellManager: init from a static list of env vars | Maxime Coste | |
| No need to go through a static list and then copy them one by one in a vector. | |||
| 2018-01-11 | Remove extraneous face when clearing status line | Delapouite | |
| 2017-06-07 | Use microseconds instead of milliseconds for built-in profiling | Maxime Coste | |
| 2017-06-07 | Use range based find_if wrapper for finding shell env vars | Maxime Coste | |
| 2017-04-22 | Set stdin to /dev/null instead of closing it when we dont have data to pipe ↵ | Maxime Coste | |
| to child Fixes #1330 Fixes #1331 | |||
| 2017-04-17 | When not sending data to a subprocess, close its stdin | Maxime Coste | |
| We were letting stdin untouched, which meant child processes had access to our terminal input. That meant `!fmt` was trying to read from our terminal input and catching keystrokes. Fixes #1281 | |||
| 2017-03-16 | Fixes some clang-tidy warning and add a few missing meta.hh include | Maxime Coste | |
| 2017-03-16 | Try to clean up option include a bit | Maxime Coste | |
| 2017-03-15 | Migrate WithBitOps template specialization to with_bit_ops function | Maxime Coste | |
| This way we dont depend on knowing the base template to enable bit ops on an enum type. | |||
| 2017-02-03 | Fix some bugs in non blocking pipe writing | Maxime Coste | |
| 2017-02-03 | Make piping data into shell commands non blocking | Maxime Coste | |
| Fixes #1180 | |||
| 2017-01-08 | Apply clang-tidy modernize to the codebase | Maxime Coste | |
| 2016-12-20 | Fix getting path confstr, the returned size includes the zero terminator | Maxime Coste | |
| Closes #1047 | |||
| 2016-12-15 | Use a POSIX guaranteed way of getting the shell path | Maxime Coste | |
| 2016-12-03 | Read as much as possible data from shell processes on each read event | Maxime Coste | |
| We were reading at most 1024 bytes every time, going back to the event loop. | |||
| 2016-12-01 | Make FDWatcher support Read, Write and Except events, instead of just Read | Maxime Coste | |
| 2016-11-30 | Hide the waiting for shell message once the shell returns | Maxime Coste | |
| 2016-11-30 | Use a Timer for Shell waiting notification | Maxime Coste | |
| Without a timer we were relying on other event sources to wake us up to display the information, which was usually a NormalIdle or a filesystem check timer. | |||
| 2016-11-28 | Cleanup include dependencies a bit | Maxime Coste | |
| 2016-10-29 | Display a status line message when Kakoune is waiting on a shell to complete | Maxime Coste | |
| If a shell commands takes more than 1s to execute, a message will appear on the status line notifying the user, along with the time Kakoune has been waiting for. | |||
| 2016-10-10 | Convert some uses of lambda to more concise std::mem_fn | Maxime Coste | |
| 2016-07-24 | Introduce chrono.hh | Maxime Coste | |
| 2016-05-06 | time window display buffer update in debug profile mode | Maxime Coste | |
| 2016-04-27 | Add another missing include in shell_manager.cc | Maxime Coste | |
| 2016-04-17 | Add support for env var name completion | Maxime Coste | |
| Fixes #659 | |||
| 2016-04-12 | ShellManager: do not open child stdin if there is no data to write to it | Maxime Coste | |
| Fixes #383 | |||
| 2016-02-28 | Code cleanup | Maxime Coste | |
| 2015-12-10 | Fix "unused result" warnings for several system calls. | Frank LENORMAND | |
| 2015-12-05 | Refactor some code in shell_manager.cc | Maxime Coste | |
| 2015-11-27 | Small cleanups | Maxime Coste | |
| 2015-11-27 | Consolidate writing to fd | Maxime Coste | |
| 2015-11-21 | Add a profiling debug flag to get timings for hooks/shell eval | Maxime Coste | |
| 2015-11-19 | Introduce a debug flags option to control some tracing | Maxime Coste | |
| Support shell|hooks and write traces in debug buffer | |||
| 2015-10-22 | Wrap the shell params en env vars in a ShellContext struct | Maxime Coste | |
