summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-05-04vis: improve job control for forked processMarc André Tanner
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é Tanner
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é Tanner
2017-05-03text: remove text_insert_newline functionMarc André Tanner
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é Tanner
2017-05-03vis: introduce count iterator to handle interrupted flagMarc André Tanner
2017-05-03text: add miscellaneous documentation sectionMarc André Tanner
2017-05-03text: rename text_sigbus to text_mmapedMarc André Tanner
Add casts to uintptr_t to avoid unrelated pointer comparisons.
2017-05-03text: rename text_byte_get argument nameMarc André Tanner
2017-05-03map: convert comments to doxygen formatMarc André Tanner
2017-05-03array: convert comments to doxygen formatMarc André Tanner
2017-05-03buffer: convert comments to doxygen formatMarc André Tanner
2017-05-03text: convert comments to doxygen formatMarc André Tanner
2017-05-03doc: add status badge to READMEMarc André Tanner
2017-05-03doc: use nicer sphinx themeMarc André Tanner
2017-05-03doc: add initial documentation filesMarc André Tanner
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é Tanner
2017-04-28doc: add sphinx configurationMarc André Tanner
2017-04-28doc: customize DoxyfileMarc André Tanner
2017-04-28doc: add default Doxygen fileMarc André Tanner
2017-04-28ui: ignore whitespace when parsing style optionsMarc André Tanner
2017-04-24vis: fix newline insertion at end of fileMarc André Tanner
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é Tanner
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é Tanner
This simplifies the code and ensures consistent behavior.
2017-04-20vis: add # register to insert cursor numberMarc André Tanner
2017-04-20vis: adapt <C-r> to new register handling codeMarc André Tanner
2017-04-20vis: start cleaning up register related codeMarc André Tanner
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é Tanner
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é Tanner
2017-04-19array: implement array_truncateMarc André Tanner
2017-04-18buffer: simplify buffer_content0Marc André Tanner
2017-04-18array: implement array_capacityMarc André Tanner
2017-04-18vis: rename vis_register_set to vis_registerMarc André Tanner
2017-04-14build: install miscellaneous documentationDavid B. Lamkins
2017-04-14vis: make certain operations interruptible with <C-c>Marc André Tanner
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é Tanner
2017-04-12man: document new count specifier for `g` and `v` commandsMarc André Tanner
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
2017-04-12sam: support %n count specifier matching every n-th selectionMarc André Tanner
2017-04-12sam: add support for negative count specifierMarc André Tanner
2017-04-12sam: add support for count specifier to `g` and `y` commandsMarc André Tanner
2017-04-12sam: distinguish between empty // and no regexMarc André Tanner
2017-04-12sam: reject command names containing digits or ending with a hyphenMarc André Tanner
The current implementation will also reject consecutive hyphens.
2017-04-11build: update libtermeky to version 0.20Marc André Tanner
Fix #537
2017-04-11build: tweak CFLAGS for profiling targetMarc André Tanner
2017-04-11text: do not redefine _GNU_SOURCEMarc André Tanner
Fix #536
2017-04-09text: use MB_LEN_MAX instead of MB_CUR_MAXMarc André Tanner
2017-04-09vis: reject invalid register name when recording a macroMarc André Tanner
Fix #534
2017-04-09vis: remove handling of \r\n line endingsMarc André Tanner
Use something like dos2unix(1) and unix2dos(1), if you need to edit such files.
2017-04-09text: drop special handling of \r\n line endingsMarc André Tanner
2017-04-09text: add mem{r,}chr(3) based byte search functionsMarc André Tanner
These are generally implemented efficiently in libc. While memrchr(3) is non-standard, it is a common extension. If it is not available, we use a simple C implementation from musl.