| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-09-17 | Avoid stdin as a function parameter name | Chris Webb | |
| 9275d96 introduces a use of stdin as a function parameter name, but POSIX allows stdin to be a macro, which will conflict with this. This breaks the build on musl systems. Rename in the same way as the previous fix for this in c7d887d. | |||
| 2024-08-26 | Do not gather full input data in a single string when piping | Maxime Coste | |
| Refactor ShellManager and pipe to feed lines from the buffer directly, this should reduce memory use when piping big chunks of buffers. The pipe output is still provided as a single big buffer. | |||
| 2023-12-26 | Fix wrong name | Maxime Coste | |
| 2023-11-14 | Make shell-script-candidates completer run in the background | Maxime Coste | |
| Read output from the script as it comes and update the candidate list progressively. Disable updating of the list when a completion has been explicitely selected. | |||
| 2020-03-02 | Expand env vars as list of strings | Maxime Coste | |
| This makes it possible to do :select `%val{selections_decs}` and to correctly combine $kak_quoted with those. | |||
| 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-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. | |||
| 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. | |||
| 2016-12-15 | Use a POSIX guaranteed way of getting the shell path | Maxime Coste | |
| 2016-11-28 | Add more memory domains to certain data | Maxime Coste | |
| 2016-04-17 | Add support for env var name completion | Maxime Coste | |
| Fixes #659 | |||
| 2015-10-22 | Wrap the shell params en env vars in a ShellContext struct | Maxime Coste | |
| 2015-09-03 | Tweak headers in shell_manager.hh, no need for regex.hh | Maxime Coste | |
| 2015-09-03 | Regex are overkill for shell manager env vars, we just need exact match or ↵ | Maxime Coste | |
| prefix match | |||
| 2015-06-08 | Do not close stderr/stdout before program finish | Maxime Coste | |
| Programs like grep called in '$' command will fail due to SIGPIPE for example. So we need to keep the pipe open. | |||
| 2015-06-08 | Specify if ShellManager should read output or not using a flag | Maxime Coste | |
| Some program (xclip), will fork a daemon keeping stdout/stderr open, so waiting for them to be closed make kakoune hang. Commands discarding stdout can then just not wait on it. | |||
| 2015-03-13 | Change ShellManager to return both stdout and the return value in a pair | Maxime Coste | |
| 2015-03-09 | ArrayView content is not const anymore | Maxime Coste | |
| As in upcoming std c++ array_view, ArrayView<T> points to mutable data, use ArrayView<const T> or alias ConstArrayView<T> for const data. | |||
| 2015-01-12 | replace all std::vector with Vector | Maxime Coste | |
| 2015-01-06 | Rename memoryview to ArrayView | Maxime Coste | |
| 2014-12-23 | Remove trailing blank lines | Maxime Coste | |
| 2014-11-12 | Cleanup includes | Maxime Coste | |
| 2014-10-13 | Refactor regex uses, do not reference boost except in regex.hh | Maxime Coste | |
| 2014-06-18 | Add a %val{...} expand type | Maxime Coste | |
| %val{name} gives access to values given in shell through $kak_<name> | |||
| 2014-05-05 | Add '$' for keeping selections that passes a shell command | Maxime Coste | |
| '$' pipes each selections through a given shell command, and only keeps the one that have an exit code of 0 Fixes #36 | |||
| 2014-04-21 | Use StringView in shell manager | Maxime Coste | |
| 2014-04-07 | Add support for querying client environement variables | Maxime Coste | |
| At connection, a remote client sends all its environement to the server, which then provides access to client env through kak_client_env_VAR_NAME variables in the shell. | |||
| 2014-01-27 | Fix compilation with clang 3.4 | Maxime Coste | |
| 2014-01-09 | Style changes, replace typedefs with usings | Maxime Coste | |
| 2013-07-26 | memoryview: always pass by value | Maxime Coste | |
| 2013-04-17 | ShellManager: env_var_regex is an implementation detail | Maxime Coste | |
| 2013-04-09 | sort includes directives | Maxime Coste | |
| 2013-02-18 | Fix class/struct mismatches | Maxime Coste | |
| 2012-09-09 | Add support for shell script parameters | Maxime Coste | |
| Now %sh{ ... } can access positional parameters through standard shell construct, allowing simple handling of variable parameters. def command accepts -shell-params flag to use this facility. | |||
| 2012-08-29 | remove regex.hh, define Regex directly in string.hh | Maxime Coste | |
| 2012-06-25 | ShellManager environment variable use a regex instead of an exact match | Maxime Coste | |
| when a kakoune releated env var used in a shell command, the ShellManager tries to match it with given regex and the first that matches calls its value retriever. For this to be useful, EnvVarRetrievers now also take the variable name in its parameters. | |||
| 2012-05-29 | Restore piping support. | Maxime Coste | |
| Add a ShellManager::pipe method, which pipes a string into the command. Not quite satisfied with this interface. | |||
| 2012-05-29 | ShellManager::eval now takes an additional env_var map | Maxime Coste | |
| 2012-05-03 | Add a ShellManager which handles executing shell commands | Maxime Coste | |
| ShellManager provides shell commands with environement variable to retrieve some internal values in the shell parameters. | |||
