| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2019-01-20 | Add a peephole optimization pass to the regex compiler | Maxime Coste | |
| 2019-01-20 | Refactor regex find next start not to be an instruction anymore | Maxime Coste | |
| The same logic can be hard coded, avoiding one thread and 3 instructions, improving the regex matching speed. | |||
| 2019-01-20 | Split compile time regex flags from runtime ones | Maxime Coste | |
| 2019-01-20 | Support re-using the same ThreadedRegexVM for multiple iterations | Maxime Coste | |
| This should reduce the number of allocations as the memory allocated for the thread stack and the saves can be re-used between runs instead of being cleared every time. | |||
| 2019-01-20 | Fix warning on gcc 8 | Maxime Coste | |
| 2019-01-20 | Fix use of removed std::random_shuffle | Maxime Coste | |
| 2019-01-20 | Refactor parsed regex children iteration to use regular range-for loops | Maxime Coste | |
| 2019-01-20 | Refactor RegexIterator to use a Sentinel | Maxime Coste | |
| 2019-01-20 | Switch to compilation standard to C++17 | Maxime Coste | |
| 2019-01-20 | Kakoune v2019.01.20 | Maxime Coste | |
| 2019-01-20 | Defer deletion of unsetted option to return to main loop | Maxime Coste | |
| Fixes #2572 | |||
| 2019-01-19 | small code tweak | Maxime Coste | |
| 2019-01-13 | Use an InvalidPolicy in utf8::dump and utf8::codepoint_size | Maxime Coste | |
| Do not throw on invalid codepoints by default, ignore them. Fixes #2686 | |||
| 2019-01-03 | Add support for named captures to the regex impl and regex highlighter | Maxime Coste | |
| ECMAScript is adding support for it, and it is a pretty isolated change to do. Fixes #2293 | |||
| 2019-01-03 | Add Optional::value_or_compute for lazy computation of default value | Maxime Coste | |
| 2018-12-28 | Remove DurationMs and slight code refactor | Maxime Coste | |
| 2018-12-28 | Merge remote-tracking branch 'lenormf/unit-tests-timing' | Maxime Coste | |
| 2018-12-27 | Use fork instead of vfork on CYGWIN | Maxime Coste | |
| Fixes #2653 | |||
| 2018-12-23 | src: Run and display the time taken by unit tests to run in debug mode | Frank LENORMAND | |
| Knowing how much time the editor took to run unit tests gives users a notion of how fast it's performing on a given system. | |||
| 2018-12-20 | src: Add support for right click events | Frank LENORMAND | |
| The current implementation treats left mouse button clicks as a generic "mouse press" modifier, this commit extends the list of modifiers by adding a "right mouse click" one. The proper way to implement this would be to ship the coordinates of mouse key press events in each `Key` object, and pass whichever button was clicked as a codepoint value (instead of coordinates currently), but this would require more work. This commit allows: * right clicks to set the cursor of the main selection * control-right clicks to merge all the selections, and then set its cursor Fixes #843 | |||
| 2018-12-19 | Add support for 'sanitizers=...' make option | Maxime Coste | |
| Use make sanitizers=undefined,address to enable undefined and address sanitizers. Closes #2596 | |||
| 2018-12-19 | Do not pass thread to failed/consumed, capture it implicitely | Maxime Coste | |
| 2018-12-19 | Take iterators by const-ref in ThreadedRegexVM::exec | Maxime Coste | |
| 2018-12-13 | Add an option to only highlight trailing whitespace | Clement Delafargue | |
| 2018-12-13 | Generate a coredump on quit due to SIGSEGV | Maxime Coste | |
| 2018-12-13 | Improve deindent behaviour with mixed indent | Maxime Coste | |
| 2018-12-12 | Remove support for 8-bit CSI as it breaks utf8 input | Maxime Coste | |
| Fixes #2630 | |||
| 2018-12-11 | Merge remote-tracking branch 'lenormf/fix-makefile-test-rule' | Maxime Coste | |
| 2018-12-09 | Fix compilation error | Maxime Coste | |
| 2018-12-09 | Merge branch 'patch-1' of http://github.com/gnull/kakoune | Maxime Coste | |
| 2018-12-09 | Refactor parsing of keys and introduce a builtin key parser mode | Maxime Coste | |
| By setting the ncurses_builtin_key_parser ui_option to true, we can disable ncurses parsing of key strokes to get less portable parsing but support for more complex modifiers. | |||
| 2018-12-09 | NCursesUI: Handle CSI in 8-bit mode as well | Maxime Coste | |
| 2018-12-09 | Merge remote-tracking branch 'jeapostrophe/master' | Maxime Coste | |
| 2018-12-09 | Gather the list of hooks to run before running the parent | Maxime Coste | |
| This will prevent hooks added by the parent hook manager to be gathered, as was decided during the discussion for #2603 | |||
| 2018-12-08 | Very minor grammar fix | Ivan Oleynikov | |
| Probably, the extra «s» at the end of «exist» was added accidentally. A verb after «does not» in Present Simple definitely shouldn't have this extra «s». | |||
| 2018-12-07 | Fix dumb typo | Jay McCarthy | |
| 2018-12-07 | Simplify re: lenormf | Jay McCarthy | |
| 2018-12-07 | Update re lenormf's comments | Jay McCarthy | |
| 2018-12-07 | Parse xterm-keys for motion directly | Jay McCarthy | |
| Ideally, something better should be done (re #2554) but this is a decent intermediate step for some useful keys. Note: NCurses supports parsing these keys when shifted (KEY_SR, _SLEFT, S_RIGHT, etc), but it does not do the same thing for the other modifiers. | |||
| 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 | src: The `test` build target depends on `kak` | Frank LENORMAND | |
| Not having the `test` target (in the Makefile) depend on the `kak` one prevents users from running commands that make use of parallelism, e.g.: $ make -j all test The above command sometimes results in the test suite running before the binary has been compiled and symlinked, resulting in failures. | |||
| 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-12-01 | src: Prevent `:prompt -on-change` from crashing the editor | Frank LENORMAND | |
| Fixes #1217 | |||
| 2018-11-28 | Fix hooks triggering on unset-option even if parent has same value | Maxime Coste | |
| 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-11-27 | Merge remote-tracking branch 'lenormf/fix-trim-selections' | Maxime Coste | |
| 2018-11-27 | Merge remote-tracking branch 'Delapouite/face-helper' | Maxime Coste | |
| 2018-11-27 | Make '_' the default extra_word_chars, and remove built-in support | Maxime Coste | |
| Fixes #2599 | |||
| 2018-11-26 | Read initial remote message in Urgent EventMode | Maxime Coste | |
| Fixes #2497 | |||
