summaryrefslogtreecommitdiff
path: root/src/buffer.hh
AgeCommit message (Collapse)Author
2015-10-17Move line parsing and to Buffer.cc directlyMaxime 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-01Cache buffer display nameMaxime Coste
2015-07-27Small formatting fixMaxime Coste
2015-06-25Minor reorganisation in buffer.hhMaxime Coste
2015-04-18UndoGroupOptimizer disappeared long time agoMaxime Coste
2015-03-09ArrayView content is not const anymoreMaxime Coste
As in upcoming std c++ array_view, ArrayView<T> points to mutable data, use ArrayView<const T> or alias ConstArrayView<T> for const data.
2015-03-05Use a IdMap for storing hooksMaxime Coste
The number of hook names is small (<20), using an UnorderedMap is overkill, and prevents using StringView for key searching.
2015-03-01Use StringDataPtr alias for RefPtr<StringData>Maxime Coste
2015-03-01rename StringStorage to StringDataMaxime Coste
2015-02-19Rename safe_ptr and ref_ptr to SafePtr and RefPtrMaxime Coste
2015-01-29Tweak Buffer::Change layoutMaxime Coste
2015-01-27Store direct ref_ptr<StringStorage> for WordDB linesMaxime Coste
Storing a SharedString is a waste, we want the whole line.
2015-01-22Avoid temporary strings on buffer load/reloadMaxime Coste
Pass directly a Vector<ref_ptr<StringStorage>> to the buffer
2015-01-19rename SharedString::Storage to StringStorage and use directly in BufferMaxime Coste
2015-01-18buffer updates are in BufferMeta memory domainMaxime Coste
2015-01-15Replace InternedStrings with SharedString, shared_ptr basedMaxime Coste
2015-01-12replace all std::vector with VectorMaxime Coste
2015-01-10Track buffer lines memoryMaxime Coste
2015-01-06Rename memoryview to ArrayViewMaxime Coste
2014-11-12Cleanup includesMaxime Coste
2014-10-30Add scope class and encapsulate Options, Keymaps, Aliases and Hooks in itMaxime Coste
2014-10-30Add scoped aliasesMaxime Coste
aliases are now stored in window, buffer, or globally.
2014-10-23centralize bit operation support for enum used as flagsMaxime Coste
2014-10-20Port more code to StringView instead of const String&Maxime Coste
2014-10-07WordDB: Use interned strings pointing directly into the buffer line dataMaxime Coste
2014-10-03Use InternedStrings for buffer contentsMaxime Coste
2014-10-01Add support for interned stringsMaxime Coste
Use interned strings for Modification contents and word database. Interned strings are guaranteed not to move in memory and are reference counted.
2014-09-22add a 'buffers' debug command to get info on alive buffersMaxime Coste
2014-09-09Add support for target column preservationMaxime Coste
Fixes #64
2014-08-12Make safe_ptr able to track callstacksMaxime Coste
The code stays disabled, as the performance penalty is quite high, but can be enabled to help debugging safe pointers.
2014-07-19Add some more force inlines to some buffer methodsMaxime Coste
2014-05-24Remove use of 'offset' in buffer iterators, lines are just StringMaxime Coste
No need to maintain line offsets anymore.
2014-05-17Remove per lines timestamp in BufferMaxime Coste
2014-05-14Remove BufferChangeListenerMaxime Coste
2014-05-13Pass a at_end param to BufferChangeListener::on_{insert,erase}Maxime Coste
2014-05-13LineChangeWatcher uses Buffer::changes_since rather than listeningMaxime Coste
2014-05-12Maintain an append-only list of changes in BufferMaxime Coste
2014-05-10Minor code cleanups in buffer.{cc,hh}Maxime Coste
2014-05-07Refactor LineAndColumn coordinatesMaxime Coste
BufferCoord -> ByteCoord DisplayCoord -> CharCoord Moved their definition along with LineAndColumn into coord.hh
2014-04-07Add g. command to go to the last buffer modification positionMaxime Coste
2014-04-01Minor formatting changesMaxime Coste
2014-01-12rename buffer_iterator.inl.hh as buffer.inl.hh and inline some more methodsMaxime Coste
2014-01-09Buffer: maintain a per line timestampMaxime Coste
2014-01-09Buffers can hold arbitrary values for for other systemsMaxime Coste
2014-01-09Style changes, replace typedefs with usingsMaxime Coste
2013-12-20Get rid of Editor for goodMaxime Coste
ClientManager now stores only the free windows, clients take ownership of its own.
2013-12-15Remove Editor::move_selectionsMaxime Coste
2013-12-11Add Buffer::run_hook_in_own_context helper methodMaxime Coste
2013-11-12Add BufSetOption hook supportMaxime Coste