Commit Graph

2518 Commits

Author SHA1 Message Date
Maxime Coste
fd84ad5adf Use mktemp -d rather than --directory to fix the test script on osx 2014-12-09 21:07:27 +00:00
Maxime Coste
1d721bcd6c Add OSX travis-ci support 2014-12-09 20:51:13 +00:00
Maxime Coste
0a57fa0766 Rename ncurses.{cc,hh} to ncurses_ui.{cc,hh} 2014-12-09 13:57:21 +00:00
Maxime Coste
2f2752cd1d Force inline StringView::{begin,end} 2014-12-09 13:56:05 +00:00
Maxime Coste
87d312b6d4 More string cleanups 2014-12-08 13:59:29 +00:00
Maxime Coste
9f4af93780 cleanup in string.hh 2014-12-08 13:46:07 +00:00
Maxime Coste
1a17d9c73f const String& to StringView 2014-12-07 21:01:42 +00:00
Maxime Coste
885f372410 update TODO 2014-12-06 20:26:15 +00:00
Maxime Coste
d57be83522 Disable history writing when running hooks 2014-12-05 14:01:07 +00:00
Maxime Coste
1c5975835e Consolidate constext disablable feature in a 'Disableable' helper 2014-12-05 13:47:09 +00:00
Maxime Coste
423030c9bd Refactor (again) event handling, use proper infinite timeout 2014-12-04 20:01:34 +00:00
Maxime Coste
176358f6b7 Fix logic error in shell manager 2014-12-04 13:58:02 +00:00
Maxime Coste
a51dd737ea Limit event handler timeout to 2 seconds 2014-12-03 19:55:53 +00:00
Maxime Coste
51b88bef10 small tweak in objective c highlight 2014-12-03 19:46:55 +00:00
Maxime Coste
d437ae0ecf Microsecond is 10^(-6)s, not 10^(-9)s 2014-12-03 18:57:33 +00:00
Maxime Coste
995c7b4634 Fix timeval field types 2014-12-03 14:02:46 +00:00
Maxime Coste
2787871ca4 Merge remote-tracking branch 'jjthrash/more-objc-highlights' 2014-12-03 13:58:30 +00:00
Maxime Coste
24519e645e Revert "Handle SIGCHLD signals when piping"
This reverts commit 8208e75294.
2014-12-03 13:57:04 +00:00
Maxime Coste
0517a19e6d Use a select based event handling and fix deadlock 2014-12-03 13:56:02 +00:00
Maxime Coste
def4221ac7 Pass a BufferRange to highlighters, fix subregions
Regions highlighter can now correctly be applied to only subrange
of the buffer, fixing some corner cases in recursive regions.
2014-12-02 19:56:17 +00:00
Maxime Coste
8208e75294 Handle SIGCHLD signals when piping 2014-12-02 18:59:39 +00:00
Jimmy Thrasher
eddad89915 Support @"" style strings for Obj-C syntax highlighting 2014-12-02 11:44:02 -05:00
Jimmy Thrasher
e540dc7f9e Add mime-type check for Obj-C in case the user's file cmd supports it 2014-12-02 11:15:53 -05:00
Jimmy Thrasher
d73fe2cc6d Add some missing obj-c highlight patterns to the new c-family.kak 2014-12-02 09:39:57 -05:00
Maxime Coste
798d4c3a1e use printf rather than echo in c-family.kak
According to POSIX, echo with a backspace in any arg is undefined
behaviour...
2014-12-01 19:33:15 +00:00
Maxime Coste
6c45b1d1e2 Try to unify objective c and cpp in a c-family.kak file 2014-12-01 13:52:24 +00:00
Maxime Coste
4fbaee61c5 Change default PrimarySelection face to be white on blue 2014-12-01 13:06:26 +00:00
Maxime Coste
2c6110dedf Update keymap 2014-11-30 17:19:48 +00:00
Maxime Coste
a3b3001d8f Rework client pending key handling, fix insert/normal timers 2014-11-29 20:14:52 +00:00
Maxime Coste
77e2e8a31e Support selecting yank/paste register with " 2014-11-28 13:58:36 +00:00
Maxime Coste
75fe9a76db Fix compilation 2014-11-28 13:47:42 +00:00
Maxime Coste
7c87abe856 Process ctrl-c when not in urgent event mode as well 2014-11-28 13:30:58 +00:00
Maxime Coste
da9f688f37 Fix indent/deindent when multiple selections are on same line 2014-11-28 13:22:54 +00:00
Maxime Coste
6902301674 Fix bug in :debug command 2014-11-28 13:18:08 +00:00
Maxime Coste
1f89509df9 make clang useable just for syntax checking with clang-parse command 2014-11-27 13:42:36 +00:00
Maxime Coste
45d1ec36d1 Rename tests to avoid upper/lower case collisions 2014-11-26 13:56:00 +00:00
Maxime Coste
4c7f6985f1 Add an 'options' debug command 2014-11-26 13:27:26 +00:00
Maxime Coste
593aa44c3f Forward user parameters in git blame command 2014-11-25 13:52:41 +00:00
Maxime Coste
49931fbf05 Separate events between normal and urgent ones
Run urgent ones while executing %sh blocks.

Fixes #236
2014-11-25 13:52:06 +00:00
Maxime Coste
0272da65c0 Style tweak 2014-11-24 13:49:41 +00:00
Maxime Coste
35b89d5b87 Display selection count in insert mode line 2014-11-24 13:26:42 +00:00
Maxime Coste
dfed7ed211 const String& to StringView 2014-11-23 19:49:59 +00:00
Maxime Coste
88def85d77 Do not merge overlapping selections in InputMode::Replace
Fixes #237
2014-11-22 21:20:29 +00:00
Maxime Coste
ab640f9fbf Tweak the way we set initial text in testing framework 2014-11-22 21:20:29 +00:00
Maxime Coste
df875411d0 Merge pull request #238 from evertvp/java-highlighting
Add java code highlighting
2014-11-22 19:29:02 +00:00
Evert Van Petegem
7f35e92989 Add java code highlighting 2014-11-22 20:14:35 +01:00
Maxime Coste
f56b6ed75b Do not record keys that were not user generated 2014-11-21 19:00:34 +00:00
Maxime Coste
e8c8833211 Do not reset edition level to 0 on buffer change
Keep it as is, commit undo in current buffer, and we will commit it in
the new buffer when edition level gets back to 0.
2014-11-21 18:56:39 +00:00
Maxime Coste
669b955bac Add travis badge in README 2014-11-21 13:59:40 +00:00
Maxime Coste
95d36b95db Do not rely on kak being in path in test run script 2014-11-21 13:57:28 +00:00