Commit Graph

3186 Commits

Author SHA1 Message Date
Maxime Coste
9d50dd3886 Use a struct rather than a std::pair for InputHandler::Insertion 2015-08-08 22:46:11 +01:00
Maxime Coste
7a59a6d758 ensure a buffer is not referenced a second time, just before actually deleting it
It can happen in certain case that a buffer gets referenced after it
gets moved to the trash, for example when it gets deleted during its
construction (due to BufCreate hook for example).
2015-08-06 21:51:44 +01:00
Maxime Coste
c41870ec98 grep.kak: Fix some missed used of jump instead of grep-jump 2015-08-05 18:37:25 +01:00
Maxime Coste
c01956726a grep.kak: Fix remaining use of jump instead of grep-jump 2015-08-05 00:19:37 +01:00
Maxime Coste
7ecd44d3ad make.kak: Rename err{jump,next,prev} to make-{jump,next,prev} 2015-08-04 23:10:08 +01:00
Maxime Coste
cfb3a668c1 Merge remote-tracking branch 'lenormf/doctrings_update' 2015-08-04 23:08:21 +01:00
Maxime Coste
102a854125 Merge remote-tracking branch 'lenormf/rc/autowrap.kak' 2015-08-04 23:06:28 +01:00
Maxime Coste
e7b4217762 Support flags getting modified by hooks at buffer creation
Fixes #361
2015-08-04 23:02:40 +01:00
Maxime Coste
6827662b27 Merge remote-tracking branch 'lenormf/rc/autorestore.kak' 2015-08-04 22:46:24 +01:00
Maxime Coste
fb33fe1d2d Merge remote-tracking branch 'jkonecny/master-kickstart-colors' 2015-08-04 22:45:54 +01:00
Maxime Coste
f9fae1a34f clang.kak: handle fatal errors in diagnostics 2015-08-04 18:41:56 +01:00
Frank LENORMAND
73e788fc59 Fix and improve the whole backup restoration procedure
The restore-buffer command was made publicly visible to allow arbitrary
reloads of the backup files, only backup files that were created after
the file has last been modified will be loaded, and several bugs have
been fixed (sed/find patterns).
2015-08-04 16:56:35 +03:00
Frank LENORMAND
8beb1da552 Prevent the "funcinfo" command from printing errors
Add a try{} scope around the exec statement that raises errors when no
selection was possible/made.
2015-08-04 07:52:57 +03:00
Frank LENORMAND
38bb9fc3a8 Modify the name and attribute of three grep commands
Add the "grep" prefix to the "jump", "next" and "prev" commands for
homogeneity with other kak scripts, and prevent the "grep-jump" command
from raising errors by enclosing it into a try{} scope.
2015-08-04 07:52:51 +03:00
Frank LENORMAND
926e628a36 Prevent the hook from wrapping the next line when the cursor is at the end of the current line 2015-08-04 07:24:16 +03:00
Jiří Konečný
13746767a2 Minor changes in kickstart.kak
Kickstart is using colors/default.kak completely now.
Fix packages groups wasn't matched correctly.
2015-08-03 21:16:22 +02:00
Frank LENORMAND
142c34d6de Added documentation strings to the commands that didn't have one already 2015-08-03 22:01:50 +03:00
Maxime Coste
548436eaf0 Merge remote-tracking branch 'jkonecny/master-mark-doc-fix' 2015-08-03 11:32:36 +01:00
Maxime Coste
226463b0e8 Merge remote-tracking branch 'jkonecny/master-rust-fix' 2015-08-03 11:30:19 +01:00
Maxime Coste
d19df5d5de Enable more invariant checking in selection lists 2015-08-03 11:23:40 +01:00
Maxime Coste
d49f48afe0 Merge remote-tracking branch 'lenormf/rc/autorestore.kak' 2015-08-02 20:27:55 +01:00
Frank LENORMAND
b4e1d711d6 Fix the pattern used in the backups lookup onliner to avoid false positives 2015-08-02 16:13:58 +03:00
Jiří Konečný
814a89ca2a Fix mark documentation
In Readme there was still the old way with '^' and 'alt-^'.
Now it's changed to 'z' and 'Z'.
2015-08-02 13:08:30 +02:00
Jiří Konečný
36fea948b0 Fix rust error when calling indent function 2015-08-02 12:59:49 +02:00
Maxime Coste
c5d2a9e1fa Update TODO 2015-08-01 19:41:28 +01:00
Maxime Coste
b5444883e9 Merge remote-tracking branch 'lenormf/rc/autorestore.kak' 2015-08-01 00:35:57 +01:00
Frank LENORMAND
9bd6a6da90 Set the maximum recursion depth to one to avoid unecessary high CPU usage 2015-07-31 18:34:53 +03:00
Maxime Coste
55f6ca7431 Merge remote-tracking branch 'lenormf/rc/autorestore.kak' 2015-07-31 14:01:07 +01:00
Frank LENORMAND
5291c06dec Frank LENORMAND 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.
2015-07-31 15:31:34 +03:00
Maxime Coste
dc50664897 Merge remote-tracking branch 'lenormf/rc/python.kak' 2015-07-31 10:27:21 +01:00
Frank LENORMAND
cf149b7985 Add an automatic backup restoration script that handles .kak.XXXXXX files 2015-07-30 18:43:57 +03:00
Frank LENORMAND
560a02e386 Add the object type to the list of python highlighted types 2015-07-30 18:10:35 +03:00
Frank LENORMAND
ddaa31a300 Highlight python types, when they are not used as constructors 2015-07-30 17:59:22 +03:00
Maxime Coste
19c52c3d61 Fix command parsing bug
Fixes #347
2015-07-30 09:41:23 +01:00
Maxime Coste
0b01f1eb06 Merge remote-tracking branch 'lenormf/rc/autowrap.kak' 2015-07-29 10:54:35 +01:00
Maxime Coste
3da9458b5e Merge remote-tracking branch 'lenormf/autoinfo_number' 2015-07-29 10:44:39 +01:00
Frank LENORMAND
8287977c2d Improve the autowrap script 2015-07-29 11:48:07 +03:00
Frank LENORMAND
b7e232d230 Add the 'n' flag to the autoinfo popup window 2015-07-29 10:20:11 +03:00
Maxime Coste
12e0f46e25 Use forward declaration instead of include in commands.hh 2015-07-28 20:18:18 +01:00
Maxime Coste
6b06d77490 Small formatting fix 2015-07-27 20:43:18 +01:00
Maxime Coste
c61c89fac9 Add a save selections test case 2015-07-11 11:39:41 +01:00
Maxime Coste
24de3ed822 Move selection saving/restoring to z/Z
Fixes #284
2015-07-11 11:36:23 +01:00
Maxime Coste
a15d816ea8 Use a named struct Empty in optional 2015-07-10 19:05:21 +01:00
Maxime Coste
1d1927647a Fix formatting 2015-07-09 13:53:21 +01:00
Maxime Coste
f1c286e592 Notify user when some hooks failed 2015-07-08 14:00:50 +01:00
Maxime Coste
883a14e853 Do not allow exiting insert mode while running InsertEnd hook.
Fixes #311
2015-07-08 13:53:19 +01:00
Maxime Coste
123541822b Gracefully handle exception when opening files given on command line
Fixes #310
2015-07-08 13:43:40 +01:00
Maxime Coste
f65d41a30a Fix scrolling down hiding the cursor with scrolloff == 0 2015-07-08 13:43:32 +01:00
Maxime Coste
bb01b79c78 Merge branch 'colorscheme' 2015-07-07 22:41:00 +01:00
Maxime Coste
3c4400c5fd Change scrolloff behaviour, allow displaying pas the end of buffer
Fixes #306
2015-07-07 22:36:27 +01:00