summaryrefslogtreecommitdiff
path: root/src/buffer.cc
AgeCommit message (Collapse)Author
2014-11-01Fix buffer being considered modified after reloadingMaxime 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-28Fix invalid memory access when applying modifications on an empty bufferMaxime Coste
That can happen when undoing/redoing accross a buffer reload boundary.
2014-10-23Do not lose history when reloading a bufferMaxime Coste
Fixes #157
2014-10-20Port more code to StringView instead of const String&Maxime Coste
2014-10-05InternedStrings know their slotsMaxime 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-07-05utf8: use end of sequence iterators for more securityMaxime Coste
2014-06-26Style fixesMaxime Coste
2014-06-02Remove undo group optimizerMaxime 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-13SelectionList know its buffer and timestampMaxime 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-02Fix clang compilationMaxime Coste
2014-01-12rename buffer_iterator.inl.hh as buffer.inl.hh and inline some more methodsMaxime Coste
2014-01-12Store timestamp of last content modification in buffer linesMaxime Coste
That means that lines that move around keep their timestamp.
2014-01-11Clear buffer values explicitely in destructorMaxime Coste
Buffer values could be registered as a listener, so we need to get rid of them before asserting that all listeners have been unregistered.
2014-01-09Buffer: maintain a per line timestampMaxime Coste
2014-01-08Fix DynamicSelectionList selecting buffer end on Buffer::reloadMaxime Coste
2014-01-05Fix some tabs in the codeMaxime 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-16remove useless code in Buffer constructorMaxime Coste
2013-12-15Remove Editor::move_selectionsMaxime Coste
2013-12-12Fix Buffer::char_next when the line ends with an invalid utf8 sequenceMaxime Coste
2013-12-11Add Buffer::run_hook_in_own_context helper methodMaxime Coste
2013-11-14Extract InputHandler from ClientMaxime Coste
2013-11-14indent cleanup, correct erroneous 3 spaces indentMaxime Coste
2013-11-12Add BufSetOption hook supportMaxime Coste
2013-11-07fix Buffer constructor exception safetyMaxime Coste
2013-10-25Add key mapping supportMaxime Coste
2013-10-21Add Buffer::reload for reloading buffers without loosing options and hooksMaxime Coste
2013-10-17More robust Buffer filesystem timestamp handlingMaxime Coste
2013-10-15Detect file external modification and ask the user whether to reload or notMaxime Coste
* Buffer now store a m_fs_timestamp field. * Client in Normal mode checks current buffer file every 500 ms, or each time it goes back to Normal mode.
2013-07-26LineAndColumns: always pass by valueMaxime Coste
2013-06-27more tolerant Buffer::stringMaxime Coste
2013-06-12Fix UndoGroupOptimizerMaxime Coste
2013-06-06Buffer: always use {line_count(), 0} as end in ModificationsMaxime Coste
2013-06-06Buffer: insert and erase go back to taking iterators, and return iteratorsMaxime Coste
2013-06-06UndoGroupOptimizer: fix count_byte_toMaxime Coste