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
|
2e43a4d696
|
Use common signal handler for SIGPIPE
|
2015-05-27 13:57:41 +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
|
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
|
dd25dcc361
|
Move unit test functions in next to the code they are testing
|
2015-05-22 13:58:56 +01:00 |
|
Maxime Coste
|
325cc2d894
|
Ignore SIGPIPE
|
2015-05-20 22:53:14 +01:00 |
|
Maxime Coste
|
5bff742e0a
|
Replace some String temporaries with StringViews
|
2015-04-27 16:46:57 +01:00 |
|
Maxime Coste
|
ddd70fd09a
|
Make empty context construction more explicit
|
2015-04-19 18:47:52 +01:00 |
|
Maxime Coste
|
491ffc4ffd
|
Improve ui_options docstring
|
2015-04-16 11:35:52 +01:00 |
|
Maxime Coste
|
eb9c95298e
|
Add support for string <-> selection list serialization
|
2015-04-13 15:21:26 +01:00 |
|
Maxime Coste
|
9edeb08e3a
|
Avoid zero terminated string based console printing
|
2015-04-01 13:44:04 +01:00 |
|
Maxime Coste
|
758bfe7284
|
number to string conversion avoids memory allocations
|
2015-03-31 13:53:40 +01:00 |
|
Maxime Coste
|
6e1a388544
|
Replace various adhoc operator+ based formatting with format func
|
2015-03-30 23:06:02 +01:00 |
|
Maxime Coste
|
16037744b7
|
Add exception type name when failing with an uncaught exception
|
2015-03-25 13:42:36 +00:00 |
|
Maxime Coste
|
48007d5de2
|
Only do tty validation when using a NCursesUI
|
2015-03-24 19:38:03 +00:00 |
|
Maxime Coste
|
7eaa6976b9
|
Use a dummy UI when running tests, so that we do not need a tty
|
2015-03-24 13:14:02 +00:00 |
|
Maxime Coste
|
b5854ece43
|
Change ParameterParser switch interface, use an Optional<StringView>
Merge has_option and option_value into a single method get_switch.
|
2015-03-14 19:16:46 +00:00 |
|
Maxime Coste
|
65fd0df041
|
More code style cleanup
|
2015-03-14 17:30:44 +00:00 |
|
Maxime Coste
|
2747c4dd3e
|
exception::what returns a StringView rather than a const char*
|
2015-03-13 13:15:51 +00:00 |
|
Maxime Coste
|
f2b8b1ae2b
|
Fix compilation on clang
|
2015-03-12 13:04:53 +00:00 |
|
Maxime Coste
|
3c1a325b6f
|
Refactor String, use a common StringOps interface, hide std::string
|
2015-03-10 19:50:22 +00:00 |
|
Maxime Coste
|
1cec8df45e
|
ArrayView content is not const anymore
As in upcoming std c++ array_view, ArrayView<T> points to mutable
data, use ArrayView<const T> or alias ConstArrayView<T> for const
data.
|
2015-03-09 13:54:09 +00:00 |
|
Maxime Coste
|
0bbaef6e48
|
Use a sorted array for keymap rather than an unordered map
with ~100 entry, a binary search finds in < 7 step, unordered map
is overkill.
|
2015-03-08 11:40:50 +00:00 |
|
Maxime Coste
|
8df77121d7
|
Rename safe_ptr and ref_ptr to SafePtr and RefPtr
|
2015-02-19 13:58:25 +00:00 |
|
Maxime Coste
|
340fc63f84
|
Improve code compatibility
|
2015-02-02 18:46:55 +00:00 |
|
Maxime Coste
|
bb915f0bc5
|
Fix filename completion
|
2015-01-15 19:26:38 +00:00 |
|
Maxime Coste
|
76d806e98d
|
Replace InternedStrings with SharedString, shared_ptr based
|
2015-01-15 19:26:38 +00:00 |
|
Maxime Coste
|
2a878d51fd
|
Even more memory tracking
|
2015-01-14 19:16:32 +00:00 |
|
Maxime Coste
|
da562e03a0
|
replace all std::vector with Vector
|
2015-01-12 13:58:41 +00:00 |
|
Maxime Coste
|
0bdf1778cb
|
Some more memory tracking
|
2015-01-12 13:32:14 +00:00 |
|
Maxime Coste
|
295a97f2a6
|
Rename memoryview to ArrayView
|
2015-01-06 13:43:37 +00:00 |
|
Maxime Coste
|
8cc96ec36b
|
Add a join function for joining strings using a specific char
|
2014-12-28 11:16:51 +00:00 |
|
Maxime Coste
|
248c1bda02
|
Style tweak
|
2014-12-26 10:53:30 +00:00 |
|
Maxime Coste
|
2e1c6eaff7
|
sort includes
|
2014-12-24 13:03:17 +00:00 |
|
Maxime Coste
|
064fb81b8d
|
Move containers utils to containers.hh and add filtered/transformed utils
|
2014-12-23 13:40:26 +00:00 |
|
Eike Plack
|
9f81093411
|
Expose buffer list to shell over $kak_buflist
|
2014-12-23 02:49:53 +01:00 |
|
Maxime Coste
|
1c8ee78d1a
|
Do not register timers for transient input handlers
|
2014-12-18 23:12:58 +00:00 |
|
Maxime Coste
|
4827ae0a53
|
Do not wait for the first event before drawing clients
|
2014-12-18 19:01:18 +00:00 |
|
Maxime Coste
|
f32ab5793e
|
Remove unneeded includes
|
2014-12-11 13:10:41 +00:00 |
|
Maxime Coste
|
0a57fa0766
|
Rename ncurses.{cc,hh} to ncurses_ui.{cc,hh}
|
2014-12-09 13:57:21 +00:00 |
|
Maxime Coste
|
87d312b6d4
|
More string cleanups
|
2014-12-08 13:59:29 +00:00 |
|
Maxime Coste
|
a3b3001d8f
|
Rework client pending key handling, fix insert/normal timers
|
2014-11-29 20:14:52 +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
|
27b1e8944f
|
const String& to StringView
|
2014-11-14 22:40:51 +00:00 |
|
Maxime Coste
|
fab9c92006
|
change filter mode to make backup of files to .kak-bak and edit in place
Add a -q option to filter mode to be quiet about errors while applying
keys.
|
2014-11-11 23:40:07 +00:00 |
|
Maxime Coste
|
b2407d9dfa
|
Add ui_options option for UserInterface configuration
ui_options is a std::unordered_map<String, String> that gets
forwarded to the user interface. Add support ncurses_status_on_top.
|
2014-11-10 23:29:16 +00:00 |
|
Maxime Coste
|
80b50cd737
|
Simplify RemoteClient creation code
|
2014-11-05 13:57:12 +00:00 |
|