summaryrefslogtreecommitdiff
path: root/src/main.cc
AgeCommit message (Collapse)Author
2020-08-17Do not fork in daemon modeMaxime Coste
Leave that to the shell or external service management tools Fixes #3618
2020-08-08Rename DefinedHighlighters to SharedHighlightersMaxime Coste
Matches the user facing name and seems more correct.
2020-08-06Merge remote-tracking branch 'eraserhd/runtime-var'Maxime Coste
2020-08-04Override runtime by setting $KAKOUNE_RUNTIMEJason Felice
2020-08-04Kakoune 2020.08.04 startup infoMaxime Coste
2020-07-19Add a RegisterModified hookMaxime Coste
This one has been a long time coming, I am still concerned this could impact performance a lot. This hook does *not* trigger for capture registers (0-9) or any other dynamic registers (that are not writable). Fixes #859
2020-07-07Handle SIGTERM as a graceful exit, similar to the `:kill!` commandMaxime Coste
Do not backup modified files, go through graceful destruction of singletons. Fixes #3528
2020-05-10Support piping data to client stdinMaxime Coste
Pass the client stdin fd to the server and open a fifo buffer from it. Fixes #3394
2020-05-01Fix +line:col initial buffer position when connecting to sessionJohannes Altmanninger
A command line argument like +line[:column] can be used to specify a target line and column for the first file. This did not work when connecting to a session, because the client opens its file parameter with `-e "edit file1; edit file2"` which is executed after the initial buffer position is set. Work around this by passing the position to the first file and avoid moving the cursor in unrelated files. Reproduce: kak -s foo kak -c foo +4:11 README.asciidoc
2020-03-17src: Fix a compilation bug with g++-8Frank LENORMAND
The Ubuntu Disco distribution comes with `g++` v8 installed by default, which is not able to deduce the return type of a particular call to `transform()`. This commit explicitly declares the return type to mitigate that problem, and allow the file to compile. Fixes #3410
2020-03-02Expand env vars as list of stringsMaxime Coste
This makes it possible to do :select `%val{selections_decs}` and to correctly combine $kak_quoted with those.
2020-02-07src: Don't show startup information when opening a fileFrank LENORMAND
Follow-up to #3317
2020-02-07Merge remote-tracking branch 'maximbaz/notes-formatting'Maxime Coste
2020-02-07Merge remote-tracking branch 'lenormf/startup_info-no_kakrc'Maxime Coste
2020-02-05src: Show the startup information in no-load modeFrank LENORMAND
This commit allows the changelog to be shown at startup even when the editor was run with the -n flag.
2020-01-21Fix version comparison in show_startup_info.Masanori Ogino
The description of startup_info_version in the manual says "only messages relating to a Kakoune version greater than this value will be displayed," but showed messages relating to the version equal to that value. This change aligns the code with the manual and makes a workaround that set startup_info_version next to the original version (ex. 20200117) unnecessary. Signed-off-by: Masanori Ogino <masanori.ogino@gmail.com>
2020-01-20Bring the italic formatting backMaxim Baz
2020-01-16Fix version notes formattingMaxim Baz
2020-01-16Kakoune v2020.10.16Maxime Coste
2020-01-04Use markup for startup-info messageMaxime Coste
2020-01-01Add 'history' and 'uncommitted_modifications' expansionsJason Felice
2019-12-16Fix window_range expansionMaxime Coste
It relied on the buffer first char being visible, and could trigger segfaults when that was not the case.
2019-12-10Kakoune v2019.12.10Maxime Coste
2019-12-04Merge remote-tracking branch 'lenormf/window-range'Maxime Coste
2019-11-22Add support for markup in info boxesMaxime Coste
Fixes #2552
2019-11-18Ignore SIGTTOUMaxime Coste
We can get this signal while suspending if a parent process (say git-commit) has already put us in the background. We still need to reset the termios state to exit raw input mode and make the shell usable. Fixes #3069
2019-11-17Move the forked server into a new session and process groupMaxime Coste
Fixes #3212
2019-11-12Fix display column computationsJason Felice
Closes #3201
2019-11-12Add support for selecting and exporting selections in display columnsMaxime Coste
Fixes #2724
2019-11-12Add support for a -codepoint switch to the select commandMaxime Coste
2019-11-12Implement %val{selections_char_desc}Jason Felice
Fixes #3194
2019-11-09Check that stdout is a tty in ncurses uiMaxime Coste
2019-11-05src: Make sure clients connect from a TTYFrank LENORMAND
Fixes #3159
2019-10-20src: Add a `window_range` default expansionFrank LENORMAND
This commit adds a `window_range` default expansion that holds the coordinates and size of the buffer-space on the window. Fixes #675
2019-10-16Replace ModeChange hooks by ModePush and ModePopMaxime Coste
Remove deprecated InsertBegin, InsertEnd, NormalBegin, NormalEnd hooks. Closes #2545
2019-10-10Support specifying the user configuration with KAKOUNE_CONFIG_DIRMaxime Coste
Fixes #3072 Closes #3081
2019-10-03Avoid negative initial coordinatesMaxime Coste
Fixes #3111
2019-09-16Fix multi-client server suspendMaxime Coste
2019-09-16Setup terminal raw mode without going through ncursesMaxime Coste
2019-09-16Get rid of ncurses based input parsing in favor of custom codeMaxime Coste
2019-09-15Make arrow keys normal mode mappings instead of commandsMaxime Coste
2019-08-20Fix kak -l when $XDG_RUNTIME_DIR is setJason Felice
2019-08-19Make scrolling speed configurableMaxime Coste
The UI now can send a 'Scroll' key, whose value is the scrolling amount encoded as a signed integer. This replaces the MouseWheelUp and MouseWheelDown keys. The NCursesUI now has a ncurses_wheel_scroll_amount ui_option that controls that amount, it can be negative to swap scrolling direction. Fixes #3045
2019-07-01Kakoune v2019.07.01Maxime Coste
2019-06-23Use register to store prompt historyMaxime Coste
2019-05-29Null terminate gdb auto-load scriptMaxime Coste
Fixes #2929
2019-04-17Update changelogMaxime Coste
2019-04-12Prevent conversion to client on suspend from disconnecting other clientsMaxime Coste
clear the client manager in the to be converted process without sending exit messages as the forked server will still be there. Fixes #2847
2019-04-07update version notes and changelogMaxime Coste
2019-03-23Add cursor_display_column expansionMaxime Coste
Fixes #2788