summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2016-07-27Avoid underlying iterator copies in utf8_iteratorMaxime Coste
2016-07-27Ensure we cannot call StringView::StringView{Codepoint}Maxime Coste
2016-07-27Avoid repeated calls to context.selections() in highlight_selectionsMaxime Coste
2016-07-27Merge remote-tracking branch 'lenormf/fix-timespec-conversion'Maxime Coste
2016-07-27Revert "Try to disambiguate timespec as a struct"Maxime Coste
This reverts commit 17d2dc9477444786b3db8ea834a45abbcb88abfd.
2016-07-27Try to disambiguate timespec as a structMaxime Coste
2016-07-27Fix use of dead string memory and quick cleanupMaxime Coste
2016-07-27Merge remote-tracking branch 'lenormf/select-arbitrary-punctuation'Maxime Coste
2016-07-27Add missing <time.h> header so that timespec is well definedMaxime Coste
2016-07-27Rework SelectionList::check_invariantMaxime Coste
2016-07-26Rework compute_modified_rangesMaxime Coste
Fixes #743
2016-07-26Allow selection primitives to use arbitrary punctuation signsFrank LENORMAND
2016-07-26Use explicit initialization of the `timespec` object to fix compilation on ↵Frank LENORMAND
older compilers
2016-07-24Display some information when moving in historyMaxime Coste
2016-07-24Add 'session' command to change remote session nameEnrico Lumetti
2016-07-24Support for going backward/forward in buffer history with <a-u>/<a-U>Maxime Coste
2016-07-24Support counts for undo/redoMaxime Coste
2016-07-24Support moving between arbitrary history nodesMaxime Coste
2016-07-24Store creation timepoint in HistoryNodeMaxime Coste
2016-07-24Introduce chrono.hhMaxime Coste
2016-07-24Set memory domains for Buffer::HistoryNodeMaxime Coste
2016-07-24Store buffer undo/redo information in a tree instead of a vectorMaxime Coste
2016-07-24Merge remote-tracking branch 'lenormf/readonly-mode'Maxime Coste
2016-07-24Replace C-style operators with their alphabetical equivalentFrank LENORMAND
2016-07-23Use a more appropriate error message with unlogical flag combinationsFrank LENORMAND
2016-07-23Warn the user when flag combinations don't make senseFrank LENORMAND
2016-07-23Implement a `readonly` modeFrank LENORMAND
This commit introduces the `readonly` variable as well as the `-ro` command line option which prevent buffers from being overwritten on disk when the `write` command is used without arguments. Some buffers can selectively be put in readonly mode by setting the `readonly` variable on the `buffer` scope, the `global` mode will affect all buffers (even those who will be open subsequently), using the `window` scope will have no effect. Closes #685
2016-07-15Add sanity checkMaxime Coste
2016-07-15Faster implementation of utf8::advance not copying iterators at each stepMaxime Coste
2016-07-15Avoid postfix increment in utf8::distanceMaxime Coste
2016-07-15Make buffer iterator iteration/dereference fasterMaxime Coste
2016-07-14Ensure selections are sorted and non overlapping in selections_list_from_stringMaxime Coste
2016-07-13Clamp selection generated in selection_list_from_stringMaxime Coste
Fixes #733
2016-07-11Do not throw when recursive hook calls are detectedMaxime Coste
Running hooks is non critical, and should never `fail` as far as caller is concerned.
2016-07-10Ensure buffer create/close hooks are run at appropriate timesMaxime Coste
They used to be ran before the buffer was added to the buffer list we now run them afterwards.
2016-07-08Keep modified selections in non-draft exec/eval -iterselMaxime Coste
Fixes #727
2016-07-05Use named keys for Return and Tab instead of <c-m> and <c-i>Maxime Coste
Fixes #722
2016-07-04Improve robustness of json parsing and executionMaxime Coste
Fixes #720
2016-07-04Avoid possible access to an invalid, being deleted buffer list.Maxime Coste
2016-07-04Refactor Optional::operator==Maxime Coste
2016-06-30Support Resize modifiers in key_to_strMaxime Coste
As seen in #715, that was not supported correctly
2016-06-29Try to make the json ui more tolerant with the json inputMaxime Coste
Should improve the issues raised #714
2016-06-28Change end of line format detection logic to match vimsMaxime Coste
Only consider a buffer to be Crlf if *all* of its lines use it, else consider it as Lf with embedded Cr chars. Fixes #686
2016-06-27Fix a warning about the forward declaration of SelectionListFrank LENORMAND
2016-06-27Use tparm instead of tiparm as built in OSX ncurses does not support itMaxime Coste
2016-06-27Detect recursive hook run and abort in that caseMaxime Coste
Fixes #709
2016-06-22Refactor context_wrap to share more code between draft/non draft caseMaxime Coste
Fixes #706
2016-06-22Add an Optional::emplace methodMaxime Coste
2016-06-22Go back to saving built-in registers by default in non draft :exec/:evalMaxime Coste
2016-06-22Do not go backward to when selecting to end of line from the end of lineMaxime Coste
Fixes #699