Commit Graph

8699 Commits

Author SHA1 Message Date
Maxime Coste
b6f4985c10 Use markup for startup-info message 2020-01-04 12:12:38 +11:00
Maxime Coste
e6b98744c6 Restore support for line wrapping info boxes
Fixes #3280
2020-01-04 11:41:16 +11:00
Jason Felice
0ed3bd662c {clojure,lisp}.kak: handle doubled brackets 2020-01-03 15:14:56 -05:00
Maxime Coste
98c0cdedb1 Merge remote-tracking branch 'waldyrious/patch-1' 2020-01-02 23:09:10 +11:00
Maxime Coste
8b6ed26e8c Few style changes on history exposition code 2020-01-02 22:36:26 +11:00
Maxime Coste
43dc494e5c Merge remote-tracking branch 'eraserhd/history-api' 2020-01-02 21:13:43 +11:00
Jason Felice
b03b51d27a Add 'history' and 'uncommitted_modifications' expansions 2020-01-01 19:47:29 -05:00
Waldir Pimenta
eb2a64a9bf Waldir Pimenta Copyright Waiver
I dedicate any and all copyright interest in this software to the
public domain.  I make this dedication for the benefit of the public at
large and to the detriment of my heirs and successors.  I intend this
dedication to be an overt act of relinquishment in perpetuity of all
present and future rights to this software under copyright law.
2020-01-02 00:16:03 +00:00
Waldir Pimenta
8a8d0522db
README: change http links to https
Also fix one instance of uncapitalized "kakoune"
2020-01-01 22:47:41 +00:00
Maxime Coste
f2159750d2 Slight code cleanup in grep.kak 2019-12-31 12:50:19 +11:00
Maxime Coste
a17a0345cf Fix replacing at begining of buffer
Fixes #3275
2019-12-31 12:49:24 +11:00
Maxime Coste
22bfbd06af Redraw relevant clients after adding/removing highlighters 2019-12-28 11:27:04 +11:00
Maxime Coste
7c1d4f5bd6 Avoid unnecessary std::function 2019-12-28 10:47:16 +11:00
Maxime Coste
456fbd1315 Refactor fifo buffer reader code 2019-12-28 10:32:15 +11:00
Maxime Coste
62b4780e07 Fix command error line/column reporting 2019-12-24 08:34:24 +11:00
Maxime Coste
ac28f2b47b Merge remote-tracking branch 'Screwtapello/no-prompt-in-draft-context' 2019-12-20 08:46:41 +11:00
Maxime Coste
10fd65f204 Merge branch 'master' of http://github.com/bonds/kakoune 2019-12-20 07:16:53 +11:00
Jiri Konecny
2dd950147f
Add Fedora daily builds back to README
Also upper `k` in Kakoune for OpenSUSE to make it consistent with the rest.
2019-12-19 15:24:45 +01:00
Maxime Coste
1946b6b09c Merge remote-tracking branch 'jkonecny/master-backport-fedora-spec' 2019-12-19 13:45:27 +11:00
Maxime Coste
a3445232a4 Update fs status post buffer write 2019-12-19 13:39:30 +11:00
Jiri Konecny
e6c7a8e44f
Make possible to change compression for make dist
This will make possible to get the same archive from make dist as from
GitHub archives. GitHub archives do not support current bzip2.
2019-12-18 17:59:18 +01:00
Jiri Konecny
f6c13523b1
Update upstream spec from downstream Fedora
Kakoune is now officially packaged to Fedora. Update the spec file based
on the downstream spec.

Spec file was enhanced by Artem Polishchuk (tim77). Thanks a lot!
2019-12-18 16:06:17 +01:00
Maxime Coste
b68490ef11 Cleanup replaced range selection logic
Do not access Buffer::m_changes to find the inserted range, return
it directly from Buffer::insert and Buffer::replace. This fixes a
wrong behaviour where replacing at eof would lose the selected end
of line (as the implementation does not actually replace that end
of line)
2019-12-18 11:36:17 +11:00
Maxime Coste
cbb7f601f6 Merge remote-tracking branch 'Screwtapello/fix-number-line-test' 2019-12-17 07:56:56 +11:00
Tim Allen
c7356b363e test: number-lines highlighter now reserves 2 digits by default.
Fixes regression caused by #3261.
2019-12-17 00:57:28 +11:00
Maxime Coste
878a7fbb90 Fix window_range expansion
It relied on the buffer first char being visible, and could trigger
segfaults when that was not the case.
2019-12-16 14:09:20 +11:00
Maxime Coste
efabe28173 Fix WinResize hook getting triggered during urgent event processing
WinResize hooks could be triggered during shell evaluation, leading
to any state potentially getting mutated after a shell evaluation
call.
2019-12-16 14:07:22 +11:00
Maxime Coste
f8ab9e0780 Merge remote-tracking branch 'lenormf/cirrus' 2019-12-16 08:54:16 +11:00
Frank LENORMAND
4104c8db1e cirrus: Build in parallel 2019-12-15 16:56:54 +01:00
Frank LENORMAND
4cf53bc429 cirrus: Target specific compiler versions
Installing a specific version of Clang on Mac OS/FreeBSD seems
complicated, therefore the current C.I. builds will keep using whatever
version is already available in the image.
2019-12-15 16:56:54 +01:00
Frank LENORMAND
1b2bd2c977 cirrus: Fix the URL of the build badge 2019-12-15 09:19:02 +01:00
Tim Allen
b09653ccc5 highlighters.cc: Add a '-min-digits' flag to the number-lines highlighter.
Fixes #3260.
2019-12-15 13:36:25 +11:00
Maxime Coste
dfc67dd582 Code style tweak 2019-12-15 10:47:20 +11:00
Maxime Coste
660378ee3a Merge remote-tracking branch 'lenormf/cirrus' 2019-12-15 10:32:50 +11:00
Maxime Coste
90ec9434b7 Fix clang completion output parsing 2019-12-15 10:32:14 +11:00
fsub
e7e7289813 Support rxvt style s-F3 to s-F10 2019-12-14 23:17:34 +01:00
fsub
3aab032797 Support rxvt style s-F11 and s-F12
Rxvt emits `\E[23$` and `\E[24$` for `F21` and `F22` (alias `s-F11` and
`s-F12` provided that `ncurses_shift_function_key` is set to `10`),
respectively.
2019-12-14 20:03:48 +01:00
Frank LENORMAND
ff5144be27 cirrus: Implement a YAML control file for Cirrus
Fixes #3255
2019-12-14 08:58:55 +01:00
Frank LENORMAND
2966d980d3 readme: Add a Cirrus build badge 2019-12-14 08:45:01 +01:00
Maxime Coste
4d240b670c Merge remote-tracking branch 'evanrelf/haskell' 2019-12-14 13:59:24 +11:00
Maxime Coste
e181059edb Merge remote-tracking branch 'Screwtapello/mappings-and-hooks' 2019-12-14 13:54:20 +11:00
Maxime Coste
874717885a Code style tweak in insert_output 2019-12-14 09:20:01 +11:00
Maxime Coste
32157a5809 Merge remote-tracking branch 'lenormf/reevaluate-exclamation-point' 2019-12-14 09:13:43 +11:00
Evan Relf
77ec8b70a8
Fix Haskell multi-line quasiquoter highlighting 2019-12-12 16:00:50 -08:00
Evan Relf
991ed97f4c
Fix incomplete highlighting of Haskell via keyword 2019-12-12 15:45:43 -08:00
Evan Relf
9eb9747396 Improve highlighting of Haskell function names 2019-12-12 15:27:48 -08:00
Evan Relf
024a3afff0 Highlight Haskell type and data family keyword 2019-12-12 15:27:48 -08:00
Evan Relf
63bbfc253b Relocate Haskell quasiquote region highlighter 2019-12-12 15:27:48 -08:00
Tim Allen
69a3de46e1 hooks.asciidoc: Document how *Key hooks interact with mappings and exec. 2019-12-12 22:02:48 +11:00
Tim Allen
18c34408c5 doc: Mention that commands requiring a client context are unhelpful in a draft context.
Fixes #2618.
2019-12-12 19:36:35 +11:00