Commit Graph

3725 Commits

Author SHA1 Message Date
Maxime Coste
964b0e9a6e InputHandler now uses a stack for active modes
instead of having a single mode enabled, modes can be pushed/poped,
with the top of the stack being the active mode.
2015-06-02 20:56:57 +01:00
Maxime Coste
1ff0fbb4e2 Fix autoload symlink, was absolute instead of relative 2015-06-02 19:04:50 +01:00
Maxime Coste
2ee53a1253 Merge remote-tracking branch 'jkonecny/update-doc' 2015-06-01 21:17:08 +01:00
Maxime Coste
8f6fc6a0f3 Port even more code to use format function 2015-06-01 21:15:59 +01:00
Jiri Konecny
0cd54a58f5 Fix README broken link 2015-06-01 21:09:30 +02:00
Maxime Coste
f19bb4fe6d Port more code to use the format function instead of adhoc string concat 2015-06-01 19:06:35 +01:00
Maxime Coste
57a03d8495 Remove redundant forward declaration 2015-06-01 18:33:08 +01:00
Maxime Coste
fcd0b8524b Remove debug messages from kakrc 2015-05-31 21:45:26 +01:00
Maxime Coste
2426384360 Autoload site wide kak scripts if the user does not have his own autoload folder 2015-05-30 14:32:04 +01:00
Maxime Coste
c61c76061f Improve CYGWIN bactrace description 2015-05-30 12:40:24 +01:00
Maxime Coste
d8802e5f01 Indentation fix in kakrc 2015-05-29 13:50:35 +01:00
Maxime Coste
5aba5d38f2 Add missing include 2015-05-29 13:46:49 +01:00
Maxime Coste
be9da616df Return a String in Backtrace::desc 2015-05-29 13:35:54 +01:00
Maxime Coste
3c86484c4e Extract xmessage/MessageBox support in a notify_fatal_error function 2015-05-29 13:35:09 +01:00
Maxime Coste
336df38237 Go back to ignoring SIGPIPE
We do not want to exit when a shell command closes stdin while we
are piping data to it.
2015-05-28 13:57:22 +01:00
Maxime Coste
98637c5219 Do not throw exceptions when handling a fatal signal 2015-05-28 13:44:59 +01:00
Maxime Coste
d9aee67c8b Tweak Makefile, enable -rdynamic so that backtraces symbols are found 2015-05-27 18:45:52 +01:00
Maxime Coste
faf55c6540 Only try to run xmessage on Linux 2015-05-27 18:45:48 +01:00
Maxime Coste
2e43a4d696 Use common signal handler for SIGPIPE 2015-05-27 13:57:41 +01:00
Maxime Coste
e18c57cfd3 Include backtrace in debug info in on_assert_failed 2015-05-27 13:56:27 +01:00
Maxime Coste
7245d2abe9 Extract Backtrace out of SafePtr as a general utility 2015-05-27 13:48:45 +01:00
Maxime Coste
4a588d6ce5 Update TODO 2015-05-27 13:36:43 +01:00
Maxime Coste
8afa71d965 Fix test script return value check to be more POSIX compliant 2015-05-26 19:30:02 +01:00
Maxime Coste
7cfcb68184 Go back to C++11 and gcc 4.8 in README 2015-05-26 19:05:54 +01:00
Maxime Coste
1e04343178 Workaround incomplete c++11 stdlib in gcc 4.8 2015-05-26 19:05:11 +01:00
Maxime Coste
d1627dfa08 Revert "Use gcc-4.9 in travis tests"
This reverts commit 9d4f397e39.
2015-05-26 19:03:05 +01:00
Maxime Coste
a41ac650ba Revert "Use clang-3.5 for travis tests on linux"
This reverts commit 41248c5728.
2015-05-26 19:02:55 +01:00
Maxime Coste
993e842fdf Retreat ! go back to C++11 only code
This reverts commit b42de85031.
2015-05-26 18:42:09 +01:00
Maxime Coste
499bde10bd Small style tweaks 2015-05-26 18:40:39 +01:00
Maxime Coste
3bdc30e381 Try matching functions one by one when completing
Instead of running them all then deciding which to use.
2015-05-26 18:38:48 +01:00
Maxime Coste
3ca69c3852 Try gnu++1y 2015-05-25 20:32:39 +01:00
Maxime Coste
d83836d026 Use gnu++14 only for Cygwin, as not recognized on OSX 2015-05-25 19:35:32 +01:00
Maxime Coste
9c57f5409a Use gnu++14, as some posix functions disappear in c++14 mode 2015-05-25 14:01:59 +01:00
Maxime Coste
7b7427e1a6 Add missing 'override' specifiers 2015-05-25 13:54:18 +01:00
Maxime Coste
b42de85031 Migrate code to c++14 2015-05-25 13:51:17 +01:00
Maxime Coste
41319d2708 Small refactor in unit tests 2015-05-24 22:34:05 +01:00
Maxime Coste
ccfb87ecf3 git-tools: support git rm and avoid interpreting git output 2015-05-23 10:56:52 +01:00
Maxime Coste
dd25dcc361 Move unit test functions in next to the code they are testing 2015-05-22 13:58:56 +01:00
Maxime Coste
c38a7f3ca4 Merge branch 'diff' 2015-05-21 22:58:50 +01:00
Maxime Coste
41248c5728 Use clang-3.5 for travis tests on linux 2015-05-21 13:46:30 +01:00
Maxime Coste
325cc2d894 Ignore SIGPIPE 2015-05-20 22:53:14 +01:00
Maxime Coste
dfd6182bbb Test suite shows something when kakoune exit code is not 0 2015-05-20 20:09:00 +01:00
Maxime Coste
12789938dc Require Gcc 4.9 in Readme 2015-05-20 13:54:17 +01:00
Maxime Coste
9d4f397e39 Use gcc-4.9 in travis tests 2015-05-20 13:36:01 +01:00
Maxime Coste
43f7657151 Remove clamping in compute_modified_range
It can result in a non ordered range list.
2015-05-20 13:34:16 +01:00
Maxime Coste
9f46d75b27 Add headers guard to diff.hh along with a comment about the algorithm 2015-05-19 19:46:24 +01:00
Maxime Coste
38bbecef62 Fix bug in diff implementations (missing snake after d=1 change) and refactor 2015-05-18 22:59:59 +01:00
Maxime Coste
bb7800b1a6 Preserve window position in regex_prompt
Fixes #271
2015-05-18 13:56:58 +01:00
Maxime Coste
9f502848ad Show master branch travis status in readme 2015-05-18 13:47:44 +01:00
Maxime Coste
0a6ad4dcf4 Only initialize element 1 in mirrored arrays. 2015-05-17 20:13:11 +01:00