aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-05-17man: mention regex anchor behaviorMarc André Tanner1-0/+5
In vis ^ and $ always match the beginning / end of the range which they are applied to. This differs from sam where they only match at the beginning / end of a line. Close #554
2017-05-15man: mention `o` to change selection directionMarc André Tanner1-0/+3
2017-05-15sam: use default address for file looping commandsMarc André Tanner1-2/+4
This sould fix a clang analyzer warning and make the code more robust. The problem could actually not occur in practice because the X and Y commands always have the internal cmd_select as intermediate node in the execution tree. In general the multiple file support will need more design work. Fix #551
2017-05-13build: fix warning in lua related configure checkMarc André Tanner1-0/+2
luaL_openlibs is actually declared in lualib.h.
2017-05-12vis: immediately update screen after a vis_redraw callMarc André Tanner1-0/+1
By default we only update the screen once per main loop iteration. This might change in the future, but for now we force an update when a redraw is explicitly requested.
2017-05-12Add a whitespace rule for the "elixir" lexer.Tynan Colin Beatty1-0/+1
2017-05-11Move the #defines within the #include guardsParide Legovini1-5/+4
2017-05-11Fix compilation on GNU Hurd systemsParide Legovini1-0/+11
On GNU Hurd systems PIPE_BUF and PATH_MAX are not defined, and the compilation fails. This patch defines them if they aren't.
2017-05-07Link to C API documentation of master branchMarc André Tanner1-3/+3
This is still work in progress.
2017-05-07Revert "doc: specify complete file names"Marc André Tanner1-5/+5
This reverts commit b37ebfb7e9deeef0420c2c4c0b0b31b854cdb118.
2017-05-07doc: specify complete file namesMarc André Tanner1-5/+5
This might fix index generation on vis.rtfd.io.
2017-05-06vis: add vis_interrupt{,requested} functionsMarc André Tanner2-0/+20
2017-05-06vis: add doxygen commentsMarc André Tanner8-176/+731
Rename some structures, add typedefs for function pointers, remove unused arguments from vis_run.
2017-05-04vis: improve job control for forked processMarc André Tanner1-2/+27
We need to unblock SIGTERM for the child process. Also we should deliver signals to the correct process group. This is still fragile and will need to be rewritten when we finally introduce a global event loop.
2017-05-03text: remove text_history_get functionMarc André Tanner3-17/+2
As currently implemented this does not properly integrate with multiple cursor support. The functionality should be provided in a layer higher up. The jumplist and changelist need to be redesigned, for now they are broken.
2017-05-03text: remove text_iterate macroMarc André Tanner2-8/+9
2017-05-03text: remove text_insert_newline functionMarc André Tanner4-10/+4
This is no longer needed because we always insert \n never \r\n.
2017-05-03text: remove count argument from text_{earlier,later}Marc André Tanner4-18/+21
2017-05-03vis: introduce count iterator to handle interrupted flagMarc André Tanner3-2/+36
2017-05-03text: add miscellaneous documentation sectionMarc André Tanner2-8/+17
2017-05-03text: rename text_sigbus to text_mmapedMarc André Tanner3-6/+9
Add casts to uintptr_t to avoid unrelated pointer comparisons.
2017-05-03text: rename text_byte_get argument nameMarc André Tanner1-2/+2
2017-05-03map: convert comments to doxygen formatMarc André Tanner3-22/+66
2017-05-03array: convert comments to doxygen formatMarc André Tanner3-34/+80
2017-05-03buffer: convert comments to doxygen formatMarc André Tanner3-29/+53
2017-05-03text: convert comments to doxygen formatMarc André Tanner4-108/+420
2017-05-03doc: add status badge to READMEMarc André Tanner1-0/+1
2017-05-03doc: use nicer sphinx themeMarc André Tanner1-1/+1
2017-05-03doc: add initial documentation filesMarc André Tanner3-0/+30
If all required dependencies (doxygen, breathe, sphinx, sphinx_rtd_theme) are installed, then `make html` in the doc directory should generate sphinx based documentation in doc/build/sphinx.
2017-04-28doc: add sphinx breathe extensionMarc André Tanner1-3/+19
2017-04-28doc: add sphinx configurationMarc André Tanner2-0/+176
2017-04-28doc: customize DoxyfileMarc André Tanner1-10/+11
2017-04-28doc: add default Doxygen fileMarc André Tanner1-0/+2473
2017-04-28ui: ignore whitespace when parsing style optionsMarc André Tanner1-6/+10
2017-04-24vis: fix newline insertion at end of fileMarc André Tanner1-1/+1
With enabled auto indentation and tab expansion in an empty buffer, the following would insert one newline too many: i<Tab><Enter>
2017-04-23vis: fix # register countMarc André Tanner3-3/+5
Previously the # register was always reported as containing only one entry. This wrongly caused the first value to be put at all locations. Fix #544
2017-04-21vis: implement <C-r> in terms of gPMarc André Tanner1-9/+3
This simplifies the code and ensures consistent behavior.
2017-04-20vis: add # register to insert cursor numberMarc André Tanner5-0/+16
2017-04-20vis: adapt <C-r> to new register handling codeMarc André Tanner1-3/+10
2017-04-20vis: start cleaning up register related codeMarc André Tanner8-105/+110
Now that register.h is no longer used by view.h we can move the struct and function declarations to vis-core.h.
2017-04-19vis: restructure register handlingMarc André Tanner8-56/+152
Decouple register content from cursors. Previously each cursor had exactly one corresponding register. Now each register can save a list of values whose lifetime is not tied to the cursor. If multiple cursors exist and a put with a register holding only a single value is performed, then this value is inserted at every cursor location. If there are fewer values available than cursors, then only the matching ones will be used. If a register holding multiple values is inserted in a single cursor context, only the first value will be used. Another option would be to join all existing values. The details of this behavior might be changed in the future. <C-r> in insert mode has not yet been adapted and register handling in general needs to be cleaned up further. Fix #527
2017-04-19array: implement array_resizeMarc André Tanner2-0/+11
2017-04-19array: implement array_truncateMarc André Tanner2-0/+10
2017-04-18buffer: simplify buffer_content0Marc André Tanner1-1/+1
2017-04-18array: implement array_capacityMarc André Tanner2-0/+6
2017-04-18vis: rename vis_register_set to vis_registerMarc André Tanner3-3/+3
2017-04-14build: install miscellaneous documentationDavid B. Lamkins2-1/+18
2017-04-14vis: make certain operations interruptible with <C-c>Marc André Tanner6-10/+19
As currently implemented this will only work for operations which are individually fast, but repeated many times (e.g. `1000000itext<Escape>`).
2017-04-12sam: fix negative count specifiers from visual modeMarc André Tanner1-2/+5
2017-04-12man: document new count specifier for `g` and `v` commandsMarc André Tanner1-4/+36
A few examples: :x g1 selects the first line :x g-1 selects the last line :x g-3, selects the last three lines :x g2,4 selects lines 2, 3 and 4 :x g,5 selects all lines up and including the fifth :x g6, selects all lines starting from the sixth :x g%2 selects all even lines :x v%2 selects all odd lines