Commit Graph

5453 Commits

Author SHA1 Message Date
Maxime Coste
e66a5c78ad Make Buffer::Modification an aggregate 2017-09-01 17:32:03 +07:00
Maxime Coste
5c5491405e Make LineAndColumn an aggregate as well 2017-09-01 17:21:50 +07:00
Maxime Coste
64183b1e4c Make Token a simple aggregate 2017-09-01 17:09:34 +07:00
Maxime Coste
44fb375c81 Make InsertCompletion an aggregate 2017-09-01 17:03:34 +07:00
Maxime Coste
6d0016f89c Remove unneeded ParameterDesc constructor
With C++14, we can use aggregate initialization and default values
together.
2017-09-01 16:58:52 +07:00
Maxime Coste
9672e9219d Code style tweak in optional.hh 2017-09-01 16:54:06 +07:00
Maxime Coste
4c2ed2062a Merge remote-tracking branch 'lenormf/fix-html' 2017-08-31 11:22:09 +07:00
Maxime Coste
1e4e39ffd2 Merge remote-tracking branch 'blastrock/go-tools-error' 2017-08-31 11:21:44 +07:00
Philippe Daouadi
f56c5d687e Check for gocode, goimports and gogetdoc on go-tools loading 2017-08-30 10:19:13 +02:00
Frank LENORMAND
4f8211ecea rc base html: Highlight attributes with no value 2017-08-29 14:17:28 +03:00
Maxime Coste
ab6a999431 Rename containers.hh to ranges.hh (and Container to Range) 2017-08-29 15:23:03 +07:00
Maxime Coste
c0a0ba3c0a Rework containers.hh to get rid of the Factory structures
Replace them with polymorphic lambdas
2017-08-29 15:19:08 +07:00
Maxime Coste
8cef1932a0 Fix shell expand example in README
Fixes #1528
2017-08-29 10:04:50 +07:00
Maxime Coste
1709886873 avoid literal eol in status lines, replace them with another symbol 2017-08-29 10:01:43 +07:00
Maxime Coste
24234dffa3 Do less implicit parse_filename calls 2017-08-29 09:42:04 +07:00
Maxime Coste
9001580c9b Do not expand env vars in parse_filename
We have far enough ways to provide that feature, through the shell
or through regular expands.
Fixes #1545
2017-08-29 08:33:00 +07:00
Maxime Coste
5b43c46b75 Fix naming in fd_writable 2017-08-29 08:32:47 +07:00
Maxime Coste
a06dbfac7d Merge remote-tracking branch 'kawas44/fix-kakmap-script' 2017-08-29 07:58:33 +07:00
kawas44
f95ccef441 Fix kakmap.rb script for new normal.cc code 2017-08-28 21:54:42 +02:00
kawas44
519d466f49 Laurent Joigny 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.
2017-08-28 21:54:42 +02:00
Maxime Coste
17a29ab3da Merge remote-tracking branch 'lenormf/fix-doc-debug' 2017-08-28 19:09:46 +07:00
Maxime Coste
e80b36b495 Expose client pid as $kak_client_pid
As requested in #1414
2017-08-28 13:12:45 +07:00
Frank LENORMAND
cc5edd099d doc: Add missing flags to the debug option 2017-08-27 20:30:26 +03:00
Ned Pummeroy
430b7882eb Fix wording in docs for goto commands (h,l,i) 2017-08-27 15:21:13 +10:00
Maxime Coste
716816966f Merge remote-tracking branch 'lenormf/fix-html' 2017-08-26 16:16:07 +07:00
Frank LENORMAND
eb0786e001 rc base html: Highlight the DOCTYPE and tag attributes 2017-08-26 11:28:56 +03:00
Maxime Coste
27ba416ddf Merge remote-tracking branch 'danr/Improve-Haskell-highlighter' 2017-08-26 10:48:21 +07:00
Maxime Coste
c8335a6515 Merge remote-tracking branch 'blastrock/go-tools-error' 2017-08-26 10:47:04 +07:00
Maxime Coste
d6064e3f93 Merge remote-tracking branch 'lenormf/faq' 2017-08-26 10:46:12 +07:00
Frank LENORMAND
4e36bc7bf8 doc faq: Document the expansion of shell scopes 2017-08-25 11:52:25 +03:00
Enrico Lumetti
59e5a4126d editorconfig.kak: fix awk typo 2017-08-23 21:11:46 +02:00
Maxime Coste
da227e48e9 Fix String::Data copying/moving from self 2017-08-23 18:13:42 +07:00
Maxime Coste
f7bed9eb18 Support specifying an exit status on quit commands
The current client exit status can be specified as an optional
parameter, is nothing is given the exit status will be 0.

Fixes #1230
2017-08-23 13:33:13 +07:00
Maxime Coste
3efc406d57 Optimize DisplayBuffer::optimize()
Previous implementation was erasing in the middle of the atoms
vector each time two atoms were merged, leading to a move of
all following atoms.
2017-08-23 08:42:00 +07:00
Maxime Coste
6176a19520 Update startup info
Remove old breaking changes, add selection extending behaviour change.
2017-08-23 07:00:37 +07:00
Dan Rosén
ef1a1e6bd3 Improve Haskell highlighter
Import keywords are put in keyword face instead of meta face.
This leaves room for pragmas and macros to be in the meta face.

Operator keywords are put in keyword face too.

Finally, expression keywords are put in face attribute.
2017-08-22 16:29:27 +02:00
Maxime Coste
2050167d98 Add build type (debug/release) in ":debug info" output 2017-08-22 15:12:17 +07:00
Philippe Daouadi
9fafb1aba1 Show error when using go-jump and jq is not installed 2017-08-21 10:02:47 +02:00
Philippe Daouadi
6844930776 Philippe Daouadi 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.
2017-08-21 10:00:43 +02:00
Maxime Coste
82d23bc400 Remove now trivial Selection::merge_with method 2017-08-18 08:52:40 +07:00
Maxime Coste
609a8ee8c7 Change selection extension code to be simpler
Selection extension now just keeps the anchor in place insead of
trying to be smart depending on the direction of selections.
2017-08-18 08:49:37 +07:00
Maxime Coste
1688332d12 Revert "Change HashCompatible trait to a variable template"
This reverts commit b58f72315c.
Unfortunately gcc-5.1 handling of variable template partial
specializations is bugged.
2017-08-18 08:17:02 +07:00
Maxime Coste
65bac9c027 Respecify EnumDescs array sizes manually to workaround clang-3.6 bug 2017-08-18 08:15:18 +07:00
Maxime Coste
e0e9b8bae4 Try to get make_array to compile with older compiler version 2017-08-18 07:45:38 +07:00
Maxime Coste
b807731468 Merge branch 'patch-1' of git://github.com/Franciman/kakoune 2017-08-17 07:55:19 +07:00
Francesco Magliocca
1ca01e5d17 Add missing '&' to last example 2017-08-15 21:26:07 +02:00
Maxime Coste
8a2b8a9498 Do not consider the 8th bit to mean Alt on keys that are mouse events
Fix handling of mouse events for columns 128 to 223, we are still limited
by ncurses for columns > 223.
Fixes #1532
2017-08-16 00:40:45 +07:00
Maxime Coste
b58f72315c Change HashCompatible trait to a variable template 2017-08-14 11:54:38 +07:00
Maxime Coste
9329fc99d2 Style tweak for regex code 2017-08-14 11:41:12 +07:00
Maxime Coste
6aa2388700 Use decltype(auto) return type for some to_string functions
Remove explicit return type thats just duplicating the return
expression.
2017-08-14 11:29:55 +07:00