Maxime Coste
|
c54e6738b9
|
Use DisplayLine for menu choices
|
2015-10-05 01:25:23 +01:00 |
|
Maxime Coste
|
73c0fa175e
|
Use IdMap instead of UnorderedMap for ui options and env vars
|
2015-09-16 19:04:19 +01:00 |
|
Maxime Coste
|
bf46870ff2
|
Move status/mode line drawing as a separate ui method
|
2015-06-17 21:28:02 +01: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
|
2a878d51fd
|
Even more memory tracking
|
2015-01-14 19:16:32 +00:00 |
|
Maxime Coste
|
295a97f2a6
|
Rename memoryview to ArrayView
|
2015-01-06 13:43:37 +00:00 |
|
Maxime Coste
|
ebecd60eb8
|
Rework hashing, use a more extensible framework similar to n3876 proposal
std::hash specialization is a pain to work with, stop using that, and
just specialize a 'size_t hash_value(const T&)' free function.
|
2014-12-16 18:57:19 +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
|
3a817e2f96
|
Cleanup includes
|
2014-11-12 21:27: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
|
7d4c9c2ccf
|
Support hinting if an inline info should be above or below the anchor
Used by ctags function info, we always want it *above* the opening
parenthesis so that it does not hide multi line parameter lists.
|
2014-11-10 13:37:17 +00:00 |
|
Maxime Coste
|
e1fc2677e3
|
Add a MenuDoc style for info box, that will place it next to the menu
|
2014-11-08 18:01:55 +00:00 |
|
Maxime Coste
|
d356ae2419
|
Make safe_ptr able to track callstacks
The code stays disabled, as the performance penalty is quite
high, but can be enabled to help debugging safe pointers.
|
2014-08-12 19:18:10 +01:00 |
|
Maxime Coste
|
a32b49acd1
|
Rename ColorPair to Face and ColorRegistry to FaceRegistry
Face also stores the attributes
|
2014-07-11 00:27:43 +01:00 |
|
Maxime Coste
|
8546788b43
|
Refactor LineAndColumn coordinates
BufferCoord -> ByteCoord
DisplayCoord -> CharCoord
Moved their definition along with LineAndColumn into coord.hh
|
2014-05-07 19:53:45 +01:00 |
|
Maxime Coste
|
4d45fa6588
|
Use StringView in UserInterface and NCursesUI
|
2014-04-30 19:39:52 +01:00 |
|
Maxime Coste
|
7af9863e51
|
Add an explicit refresh method to user interface
With this refresh method user interface can defer updating
the display until really needed.
|
2014-04-15 19:19:44 +01:00 |
|
Maxime Coste
|
3c959cee99
|
Pass title to UserInterface::info_show
Move unicode box generation and assistant code as
a NcursesUI implementation detail.
|
2013-10-11 00:17:22 +01:00 |
|
Maxime Coste
|
06e06d6ea6
|
remove print_status from UserInterface, pass status line to draw
Client store the current status line. This way calls to print status
do not force the user interface to display directly.
|
2013-09-16 19:15:13 +01:00 |
|
Maxime Coste
|
eedd37c09a
|
memoryview: always pass by value
|
2013-07-26 01:50:36 +02:00 |
|
Maxime Coste
|
270e950cf1
|
sort includes directives
|
2013-04-09 20:05:40 +02:00 |
|
Maxime Coste
|
f540566b1b
|
UserInterface: status line messages are now DisplayLines
This add color support for the status line
|
2013-04-04 18:50:00 +02:00 |
|
Maxime Coste
|
1822b81d58
|
pass a color pair when displaying an information window
|
2013-04-04 14:04:38 +02:00 |
|
Maxime Coste
|
b58f614f40
|
Pass a fg and bg color when displaying a menu
|
2013-04-04 14:04:38 +02:00 |
|
Maxime Coste
|
67971995f8
|
Fix class/struct mismatches
|
2013-02-18 14:00:43 +01:00 |
|
Maxime Coste
|
310ec1f791
|
move input watching responsibility into UserInterface implementations
|
2013-01-14 18:50:17 +01:00 |
|
Maxime Coste
|
9236c87842
|
UserInterface: add info box support
using the info command, you can display an arbitrary string
in a tooltip box.
|
2012-12-14 19:04:34 +01:00 |
|
Maxime Coste
|
254d43856d
|
NCurses: refactor status line handling, and disambiguate status line from mode line
|
2012-10-29 19:01:57 +01:00 |
|
Maxime Coste
|
d9729cc29e
|
Handle all available input before redrawing
|
2012-10-28 09:26:54 +01:00 |
|
Maxime Coste
|
a0cca31dc1
|
make UserInterface unaware of Window, only of DisplayBuffer
|
2012-10-20 20:15:20 +02:00 |
|
Maxime Coste
|
5b6cb500fc
|
Menus can be placed anywhere on the screen, and takes a style parameter
This paves the way for insert mode completion menu using the current
prompt menu system.
|
2012-09-30 15:18:37 +02:00 |
|
Maxime Coste
|
f76323f56e
|
Move UserInterface out of Client into Context
|
2012-09-26 14:13:04 +02:00 |
|
Maxime Coste
|
747c14c19f
|
Hide more Client Mode code in the cpp
|
2012-09-24 19:39:40 +02:00 |
|
Maxime Coste
|
a312ce6dc2
|
extract Client virtual methods to a UserInterface class
|
2012-09-24 19:24:27 +02:00 |
|