summaryrefslogtreecommitdiff
path: root/src/client.cc
AgeCommit message (Collapse)Author
2015-10-17More cleanups in the buffer open/reload codeMaxime Coste
2015-10-17Refactor buffer creation and reloading to be more explicitMaxime Coste
Reloading used to be implicit in the buffer creation function, which is not always nice, as code that explicitely wanted to reload a buffer could not say so.
2015-10-08Detect ungraceful exits, and backup modified buffers in these casesMaxime Coste
2015-09-27Store timespec for buffer fs timestamps, not just time_tMaxime Coste
time_t has a resolution of one second, which cause troubles when a file changes multiple time during that same second.
2015-09-20Remove the default_face parameter of parse_display_lineMaxime Coste
No need to define a default face there, we will pass a default face to UserInterface::draw_status later.
2015-09-19Initial support for user configurable modeline with the modelinefmt optionMaxime Coste
modelinefmt is first sent through a command line expander (so %sh{...}, %val{...} et al. are expanded), then through markup expand (so that {face} are interpreted as well)
2015-09-18Keep it simple, remove all that sorted id map thingMaxime Coste
2015-09-16IdMaps can be sorted, in which case the find method uses a binary searchMaxime Coste
2015-09-16Store key hash in IdMapMaxime Coste
2015-08-23Rework resize handlingMaxime Coste
Fixes #383
2015-08-23Remove Client::window() method, use a force_redraw() oneMaxime Coste
We cannot assume Client::m_window is always non-null, as when changing current buffer its temporarily null, at the point where WinCreate hook might get called. Fixes #382
2015-08-18Rename Disableable to more general NestedBoolMaxime Coste
A NestedBool can be set multiple times, and will be considered false only when unset the same number.
2015-07-22Style tweak in client.ccMaxime Coste
2015-07-15Add support for FocusIn/FocusOut events from UIMaxime Coste
2015-06-29Use StatusLine face as default for the status lineMaxime Coste
2015-06-24Always redraw status when redrawing the main windowMaxime Coste
That is needed so that on resize the status line does not disappear
2015-06-22Refactor slightly window redrawingMaxime Coste
2015-06-21Rework window redraw handling, should redraw window less oftenMaxime Coste
2015-06-17Move status/mode line drawing as a separate ui methodMaxime Coste
2015-06-05Merge branch 'mode-stack'Maxime Coste
2015-06-05Gracefully handle reloading a file that was deletedMaxime Coste
2015-06-03Get rid of the mode trash, delete mode directly when leaving on_keyMaxime Coste
2015-06-01Port even more code to use format functionMaxime Coste
2015-05-16Preserve selections across reloadsMaxime Coste
2015-04-19Avoid unneeded update of selections when we are going to overwrite themMaxime Coste
2015-03-30More useage of the format functionMaxime Coste
2015-03-13exception::what returns a StringView rather than a const char*Maxime Coste
2015-03-10Refactor String, use a common StringOps interface, hide std::stringMaxime Coste
2015-03-04Reactivate direct file change check on entering normal modeMaxime Coste
2015-02-12Cleanup and refactor externally modified buffer reloadingMaxime Coste
* Correctly hide the reload dialog in every client. * Correctly handle buffer being deleted.
2015-02-11Allow <ret> and <esc> to reload/keep an externally modified fileMaxime Coste
Fixes #113
2014-12-29Small formatting fixesMaxime Coste
2014-12-20Small code tweakMaxime Coste
2014-12-18Do not register timers for transient input handlersMaxime Coste
2014-12-08More string cleanupsMaxime Coste
2014-12-05Consolidate constext disablable feature in a 'Disableable' helperMaxime Coste
2014-11-29Rework client pending key handling, fix insert/normal timersMaxime Coste
2014-11-28Fix compilationMaxime Coste
2014-11-28Process ctrl-c when not in urgent event mode as wellMaxime Coste
2014-11-25Separate events between normal and urgent onesMaxime Coste
Run urgent ones while executing %sh blocks. Fixes #236
2014-11-17Remove unneeded string copiesMaxime Coste
2014-11-10Add ui_options option for UserInterface configurationMaxime Coste
ui_options is a std::unordered_map<String, String> that gets forwarded to the user interface. Add support ncurses_status_on_top.
2014-11-08For {Menu,Info}Style::Prompt, choose the anchor directly in ncurses codeMaxime Coste
2014-11-08Add a MenuDoc style for info box, that will place it next to the menuMaxime Coste
2014-10-22Reread file timestamp at the moment the user choose to keepMaxime Coste
The previous behaviour ended up asking twice for reloading if the buffer was modified again after Kakoune had detected the first change.
2014-09-23Add support for mapping keys in goto/view commandsMaxime Coste
2014-09-10Add some color to mode specific mode line infoMaxime Coste
2014-08-12Tweak client redraw logic, avoid highlight if only status line changedMaxime Coste
2014-07-25Display a [no-hooks] tag in the mode line when hooks are disabledMaxime Coste
2014-07-11Rename ColorPair to Face and ColorRegistry to FaceRegistryMaxime Coste
Face also stores the attributes