| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2024-08-16 | include headers cleanup | Adrià Arrufat | |
| 2024-08-12 | Reduce headers dependency graph | Maxime Coste | |
| Move more code into the implementation files to reduce the amount of code pulled by headers. | |||
| 2024-04-12 | Introduce "local" scope in evaluate-commands | Maxime Coste | |
| When using `eval` a new scope named 'local' gets pushed for the whole evaluation, this makes it possible to temporarily set an option/hook/alias... Local scopes nest so nested evals do work as expected. Remove the now trivial with-option command | |||
| 2020-09-09 | Add support for removing from options | Maxime Coste | |
| `set -remove ...` will remove from the current option value, substracting from int, removing elements from vectors and maps. | |||
| 2020-06-09 | Do not include non-primitive option value in *SetOption hook filter | Maxime Coste | |
| Only include the value for int/str/bool options, for the rest just write '<option name>=...'. This should reduce the cost of some patterns such as repeatedly adding a value inside a list option. It seems very unlikely that the actual value would be matched by a hook regex string for non primitive types. | |||
| 2019-01-24 | Header and dependency cleanup | Maxime Coste | |
| 2019-01-20 | Defer deletion of unsetted option to return to main loop | Maxime Coste | |
| Fixes #2572 | |||
| 2018-11-28 | Fix hooks triggering on unset-option even if parent has same value | Maxime Coste | |
| 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-05 | Change option lists to be specified as separate arguments on commands line | Maxime Coste | |
| Option lists and maps are specified using separate arguments, avoiding the need for additional escaping of their separator and reusing the existing command line spliting logic instead. As discussed on #2087, this should make it much easier to work with list options, and make the general option system feel cleaner. | |||
| 2018-05-27 | Refactor option_from_string to return directly the option value | Maxime Coste | |
| 2018-05-26 | Do not expose C++ typeid().name to user facing errors on wrong option type | Maxime Coste | |
| Fixes #2079 | |||
| 2018-05-09 | Mark Client, Window, Buffer and OptionManager as final | Maxime Coste | |
| Avoids warning about non virtual destructor calls on them, as they have a vtable due to OptionManagerWatcher. | |||
| 2018-03-25 | Unify code that validates identifiers in Kakoune | Maxime Coste | |
| Session/Client/User modes names are now requiered to be "identifiers" they must be in [a-zA-Z0-9_-]. Option names are the same except they do not allow '-' as they need to be made available through the env vars and '-' is not supported there. Fixes #1946 | |||
| 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-20 | Rewrite OptionManager::flatten_options to use ranges | Maxime Coste | |
| Avoid accumulating the flattened options into a vector, generate a lazy range that will give the proper list. | |||
| 2017-10-10 | Move all non-core string code to string_utils.{hh,cc} | Maxime Coste | |
| 2017-08-29 | Rename containers.hh to ranges.hh (and Container to Range) | Maxime Coste | |
| 2017-07-19 | Migrate code to c++14 | Maxime Coste | |
| 2017-06-23 | Use an HashMap to store options in option manager | Maxime Coste | |
| Turns out looking for options can get pretty slow, so O(1) lookup seems better. This should improve the performance of the #1460 issue | |||
| 2017-05-25 | Add an update-option command to update range-descs/line-descs options | Maxime Coste | |
| update-option will make the range-descs and line-descs option up to date with the latest buffer modfications, changing the ranges/lines to where they moved according the modifications since the timestamp on the option. | |||
| 2017-05-22 | Remove virtual destructor from OptionManagerWatcher | Maxime Coste | |
| We should never destruct anything through an OptionManagerWatcher pointer, so having all those destructor virtual makes no sense. | |||
| 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-03-15 | Migrate to a more value based meta programming model | Maxime Coste | |
| Introduce Meta::Type<T> to store a type as value, and pass it around, migrate enum_desc and option_type_name to this. | |||
| 2017-03-07 | Small code simplification | Maxime Coste | |
| 2017-01-08 | Apply clang-tidy modernize to the codebase | Maxime Coste | |
| 2016-09-27 | Validate option names to be in [a-zA-Z0-9_] | Maxime Coste | |
| Closes #824 | |||
| 2016-09-26 | OptionDescs are const in OptionRegistry | Maxime Coste | |
| 2016-08-21 | Dont consider OptionManager watcher list as part of the state of the option ↵ | Maxime Coste | |
| manager | |||
| 2016-08-07 | Tweak format of option docstrings | Maxime Coste | |
| 2016-08-06 | Add information of types of options | Maxime Coste | |
| 2016-08-06 | Replace some const String& with StringView in option_manager.hh | Maxime Coste | |
| 2016-03-14 | Include tweak | Maxime Coste | |
| 2016-02-11 | Support validating some options values before setting them | Maxime Coste | |
| Fixes #583 | |||
| 2015-12-12 | Store the buffer timestamp in line flags options respect it for highlighting | Maxime Coste | |
| Option content is auto updated to match current buffer, so that line flags are updated according to buffer modifications. | |||
| 2015-12-12 | Pass directly the StringView to option_add and let it do the option parsing | Maxime Coste | |
| 2015-08-10 | Add an unset command to remove an option value (falling back to parent) | Maxime Coste | |
| unset is not applicable to global scope. | |||
| 2015-08-10 | Move option docstring obtention to OptionRegistry | Maxime Coste | |
| 2015-08-10 | Move option name completion to the OptionRegistry | Maxime Coste | |
| Option names are the same for every option manager. | |||
| 2015-07-23 | Disable notifications when disabling an option temporarly | Maxime Coste | |
| 2015-06-01 | Port even more code to use format function | Maxime Coste | |
| 2015-04-26 | Move option_not_found exception to the cpp file | Maxime Coste | |
| 2015-01-12 | Some more memory tracking | Maxime Coste | |
| 2014-12-23 | Unify completion from container content logic | Maxime Coste | |
| 2014-12-23 | Move containers utils to containers.hh and add filtered/transformed utils | Maxime Coste | |
| 2014-12-11 | Remove unneeded includes | Maxime Coste | |
| 2014-11-16 | Yet more StringView params, less const String& | Maxime Coste | |
| 2014-11-15 | More const String& to StringView | Maxime Coste | |
