Commit Graph

  • a0cca31dc1 make UserInterface unaware of Window, only of DisplayBuffer Maxime Coste 2012-10-20 20:15:20 +0200
  • 48fe18ff0a memoryview: include cstddef for size_t Maxime Coste 2012-10-20 16:40:12 +0200
  • 28c8acf80a assert: throw if launching xmessage fails Maxime Coste 2012-10-19 03:53:10 +0200
  • abf514f305 avoid utf8 errors with invalid keys, like ncurse KEY_RESIZE Maxime Coste 2012-10-18 19:56:57 +0200
  • 132c31042e main: prepare for multi client support Maxime Coste 2012-10-17 17:49:34 +0200
  • df400f90ab utf8: replace InvalidBytePolicy::Throw with InvalidBytePolicy::Assert Maxime Coste 2012-10-17 17:01:51 +0200
  • c1387dc592 assert: simplify header Maxime Coste 2012-10-17 17:01:08 +0200
  • 4aa3a36102 rename Client to InputHandler Maxime Coste 2012-10-17 13:14:03 +0200
  • 878a377673 update README Maxime Coste 2012-10-16 18:53:05 +0200
  • af2b562ebf update TODO Maxime Coste 2012-10-16 18:46:06 +0200
  • 1ab486b0d8 verious refactoring Maxime Coste 2012-10-16 17:15:09 +0200
  • f8abbfbb44 assert: use xmessage to block on assert failed Maxime Coste 2012-10-16 16:16:32 +0200
  • 214baf4cdd add a _str user defined literal to create String Maxime Coste 2012-10-16 15:11:22 +0200
  • 6ff6058ceb create_buffer_from file return nullptr on file not found instead of throwing Maxime Coste 2012-10-16 14:59:39 +0200
  • 4be6882bd5 Menu: support searching through choices with / Maxime Coste 2012-10-15 01:46:52 +0200
  • 148466c659 Extract basic line editing functionality from PromptMode to LineEditor Maxime Coste 2012-10-13 21:57:03 +0200
  • dfafcdb6e6 utf8::codepoint: configurable invalid byte policy Maxime Coste 2012-10-13 18:31:29 +0200
  • 4f1ab5b749 fix Window::scroll_to_keep_cursor_visible_ifn Maxime Coste 2012-10-11 14:23:20 +0200
  • 4210a17753 Client: never call substr(CharCount, String::npos); Maxime Coste 2012-10-11 14:22:08 +0200
  • c92077762c Makefile: add -Wall to CXXFLAGS Maxime Coste 2012-10-11 01:17:29 +0200
  • 0ce6bd9bf5 use ByteCount instead of CharCount when we are really counting bytes Maxime Coste 2012-10-11 00:41:48 +0200
  • 571861bc7b Return something in utf8::distance, thanks again gcc for letting this work Maxime Coste 2012-10-11 00:39:17 +0200
  • 561cc72d6c Add a ByteCount unit Maxime Coste 2012-10-11 00:13:31 +0200
  • 2cdebe01d3 fix make tags Maxime Coste 2012-10-10 22:44:06 +0200
  • 8de754e2e9 when executing keys, propagate potentially changed editor to calling context Maxime Coste 2012-10-10 19:15:43 +0200
  • dae8f65308 exec concat all its arguments instead of accepting only one Maxime Coste 2012-10-10 19:15:09 +0200
  • ffba94fcde Actually return something in utf8::codepoint, thanks gcc for using rax Maxime Coste 2012-10-10 19:14:18 +0200
  • a04d1e3a1f Editor merge selections when they overlap Maxime Coste 2012-10-10 19:11:24 +0200
  • 5bb37ad755 Support Append mode for Editor::select and use it for 'N' key Maxime Coste 2012-10-10 13:57:52 +0200
  • 4c8b4890e6 Context: explicit constructors and more comments Maxime Coste 2012-10-10 13:57:15 +0200
  • 74cdeb5952 Paste use a linewise mode when pasted string ends with a \n Maxime Coste 2012-10-09 19:37:50 +0200
  • b48d639976 Editor::insert handle all InsertModes Maxime Coste 2012-10-09 19:36:03 +0200
  • d574ae864d Editor::insert takes an InsertMode param, remove Editor::{append,replace} Maxime Coste 2012-10-09 19:25:20 +0200
  • 7a8366da2b add a unicode.hh header for Codepoint related functions, s/utf8::Codepoint/Codepoint/ Maxime Coste 2012-10-09 19:15:05 +0200
  • e1d4215159 InsertMode insert the whole utf8 representation of a codepoint Maxime Coste 2012-10-09 14:31:00 +0200
  • c0db3b81be NCursesUI::get_key returns the codepoint Maxime Coste 2012-10-09 14:30:35 +0200
  • ba50d853b3 Editor: fix move_selection(LineCount) for utf8 Maxime Coste 2012-10-09 14:29:59 +0200
  • 1af7465107 utf8: add dump(OutputIterator& it, Codepoint cp) Maxime Coste 2012-10-09 14:29:37 +0200
  • c7272e427d get rid of Character Maxime Coste 2012-10-08 19:33:53 +0200
  • 194bf6ac98 Buffer: add some utf8 sanity checks Maxime Coste 2012-10-08 19:25:17 +0200
  • bff015d5b9 WordCompleter: avoid word currently being edited Maxime Coste 2012-10-08 19:14:48 +0200
  • 0a686573ab utf8 awareness in selectors Maxime Coste 2012-10-08 19:12:09 +0200
  • ed592a3005 DisplayAtom: add utf8 sanity check Maxime Coste 2012-10-08 14:28:54 +0200
  • 5602bc10e8 DisplayAtom: only let DisplayLine touch m_begin and m_end Maxime Coste 2012-10-08 14:28:38 +0200
  • 7e046e3f0b utf8 awareness in editor, highlighters and ncurses Maxime Coste 2012-10-08 14:27:43 +0200
  • 5a267ab627 selections should always point to an utf8 character sequence start byte Maxime Coste 2012-10-08 14:26:57 +0200
  • f2e98f700e add utf8_iterator for adapting byte iterators to iterate on unicode characters Maxime Coste 2012-10-08 14:25:58 +0200
  • 2db1d02329 add utf8 helpers in utf8.hh Maxime Coste 2012-10-08 14:25:05 +0200
  • 946b4650b6 fix postfix StronglyTypedInteger::operator{++,--} Maxime Coste 2012-10-02 14:19:45 +0200
  • 514aeead63 do not use our broken safe bool, c++11 explicit bool conversion is better Maxime Coste 2012-10-02 14:18:34 +0200
  • 9ae8f5e47b Editor::move_selection now either takes a LineCount or a CharCount Maxime Coste 2012-10-02 14:10:00 +0200
  • 669d2e456f add postfix operator++ to BufferIterator Maxime Coste 2012-10-02 14:09:06 +0200
  • 9ec10daf69 move clamp to utils.hh Maxime Coste 2012-10-02 14:08:09 +0200
  • 84acf2594a grep,make: tweak mktemp call to work on OSX Maxime Coste 2012-10-02 10:37:08 +0200
  • 081f579ba1 OSX compilation fixes Maxime Coste 2012-10-02 10:36:28 +0200
  • 4b0ccb0437 String and BufferIterator value_type goes back to plain char Maxime Coste 2012-10-01 20:20:08 +0200
  • f2f3421637 cpp.kak: fix string highlighter Maxime Coste 2012-10-01 14:24:32 +0200
  • bd0805cf3e autoenable word completion while inserting Maxime Coste 2012-10-01 14:23:04 +0200
  • 29b72b3e24 Add a word completing functionality to insert mode (wip) Maxime Coste 2012-09-30 16:24:06 +0200
  • 430765e132 extract is_alpha to string.hh Maxime Coste 2012-09-30 16:23:18 +0200
  • 801e3eaae2 Add a Window::display_position(const BufferIterator&) method Maxime Coste 2012-09-30 16:22:03 +0200
  • 6cd5d80757 Add a length method to AtomContent Maxime Coste 2012-09-30 16:21:20 +0200
  • 5b6cb500fc Menus can be placed anywhere on the screen, and takes a style parameter Maxime Coste 2012-09-30 15:18:37 +0200
  • f230feec7f Change buffer order based on the last one used Maxime Coste 2012-09-28 14:14:49 +0200
  • 79d8d082bd Store capture groups with selections in editor, and access them through dynamic registers Maxime Coste 2012-09-26 20:43:42 +0200
  • a8d2482eb6 Editor now stores selections as SelectionAndCapturesList Maxime Coste 2012-09-26 20:33:47 +0200
  • a2fd1528e6 Move last insertion from Client to Context Maxime Coste 2012-09-26 20:07:06 +0200
  • 77eb86bcdb Forbid context copy Maxime Coste 2012-09-26 14:27:23 +0200
  • efc069b531 Extract IncrementalInserter::Mode as InsertMode Maxime Coste 2012-09-26 14:22:24 +0200
  • f76323f56e Move UserInterface out of Client into Context Maxime Coste 2012-09-26 14:13:04 +0200
  • c36ee924eb cleanup BatchUI Maxime Coste 2012-09-25 14:23:50 +0200
  • 730f39aaa0 remove selection stack from editor Maxime Coste 2012-09-24 20:47:06 +0200
  • 747c14c19f Hide more Client Mode code in the cpp Maxime Coste 2012-09-24 19:39:40 +0200
  • a312ce6dc2 extract Client virtual methods to a UserInterface class Maxime Coste 2012-09-24 19:24:27 +0200
  • 0380c999c3 move Client::Mode class definition in client.cc Maxime Coste 2012-09-24 14:03:04 +0200
  • b3c4912404 Use context.editor() instead of context.window() when a window is not needed Maxime Coste 2012-09-24 13:56:39 +0200
  • e86e3bda4d select_all_matches: reject match that start at the end of originating selection Maxime Coste 2012-09-19 14:04:09 +0200
  • 81eae79154 ncurses: fix displaying of lines longer than screen Maxime Coste 2012-09-17 21:38:51 +0200
  • b245b39a85 RegexColorizer: store ColorPairs by pointer so that alias changes are taken into account Maxime Coste 2012-09-17 21:02:08 +0200
  • a92a6dc7f3 ColorRegistry: permit overriding an alias Maxime Coste 2012-09-17 21:01:11 +0200
  • 4d369d6290 kakrc: use color aliases for cpp and kakrc highlighting Maxime Coste 2012-09-17 19:02:08 +0200
  • 5cf947f845 Add a ColorRegistry class responsible of color parsing and supporting aliases Maxime Coste 2012-09-17 19:01:13 +0200
  • 45bffd8b8a fix parse_keys for <esc> Maxime Coste 2012-09-17 13:46:34 +0200
  • 00e357ed56 PromptMode: fix completion of non-last parameters Maxime Coste 2012-09-17 13:37:08 +0200
  • ebae75e96e fifo: buffer size is 4k instead of 512 Maxime Coste 2012-09-14 14:29:54 +0200
  • f6d2533cae rework fifo handling, use real fifos in {make,grep}.kak, update README Maxime Coste 2012-09-12 19:54:46 +0200
  • a467d73115 use parse_filename when opening files or completing filenames so that ~ and env vars are handled Maxime Coste 2012-09-12 19:42:12 +0200
  • a7e807f773 README: better use of asciidoc features Maxime Coste 2012-09-12 19:28:38 +0200
  • 6f6f10c83d simplify tab completion code in Client::InsertMode Maxime Coste 2012-09-12 19:09:27 +0200
  • ec57990060 whine when a search selected nothing so that the user knows Maxime Coste 2012-09-12 19:09:10 +0200
  • cfbe32f6a2 support Tab/BackTab keys in MenuMode as well Maxime Coste 2012-09-12 14:25:14 +0200
  • 7266052d46 grep command uses file completion Maxime Coste 2012-09-12 14:22:01 +0200
  • 7c039585a4 add -file-completion option to def command and document in README Maxime Coste 2012-09-12 14:21:42 +0200
  • f89636a182 README: document kakrc and ~/.config/kak Maxime Coste 2012-09-12 14:21:08 +0200
  • 62e50c38fa commands.cc: cleanup Maxime Coste 2012-09-11 19:09:55 +0200
  • 9dfccddca8 Correctly handle arrow keys in insert mode Maxime Coste 2012-09-11 19:09:14 +0200
  • e39086cd5f Buffer: reset undo data after executing hooks in constructor Maxime Coste 2012-09-11 19:03:37 +0200
  • a0b75817a5 do not keep undo data in the debug buffer Maxime Coste 2012-09-11 19:03:13 +0200
  • eac68f09a4 NCursesClient::show_menu: stop displaying counts in front of items Maxime Coste 2012-09-11 14:30:32 +0200
  • 859e907396 fix NCursesClient::menu_select for one past last item Maxime Coste 2012-09-11 14:28:54 +0200