summaryrefslogtreecommitdiff
path: root/src/file.cc
AgeCommit message (Expand)Author
2012-12-05fail nicely when trying to open a directoryMaxime Coste
2012-11-26fix crlf file readingMaxime Coste
2012-11-23rewrite file opening code using mmap, opening big files is much much fasterMaxime Coste
2012-11-22rename (hook|option)_manager to (hook|option)s.Maxime Coste
2012-11-21Buffer: replace reset_undo_data with a NoUndo flagMaxime Coste
2012-11-20Buffer: replace Buffer::Type with Buffer::FlagsMaxime Coste
2012-11-20more exception safety with file descriptorsMaxime Coste
2012-10-16create_buffer_from file return nullptr on file not found instead of throwingMaxime Coste
2012-10-11use ByteCount instead of CharCount when we are really counting bytesMaxime Coste
2012-09-12use parse_filename when opening files or completing filenames so that ~ and e...Maxime Coste
2012-09-10Buffer: Allow inserting at the end when the inserted text ends with an end of...Maxime Coste
2012-08-23use a strongly typed int CharCount for character countsMaxime Coste
2012-08-22use a strongly typed int LineCount for line countsMaxime Coste
2012-08-17fix create_buffer_from_file when file does not existsMaxime Coste
2012-08-14Buffer: stronger invariant, a buffer is never empty and all lines finish by '\n'Maxime Coste
2012-08-10Buffer: move back Modification as an implementation detailMaxime Coste
2012-08-10detect byte order mark in buffers, and write backMaxime Coste
2012-08-10support crlf line ending when reading and writing buffersMaxime Coste
2012-05-30include <unistd.h> in order to get read and writeMaxime Coste
2012-04-14Implement our own String class in preparation to encoding support.Maxime Coste
2012-04-14replace std::string references with StringMaxime Coste
2012-03-30Store buffer content in a list of linesMaxime Coste
2012-03-26BufferManager no longer owns buffers, only register themMaxime Coste
2012-03-08rename BufferString to StringMaxime Coste
2012-01-29File: parse_filename function which handle ~ and environment variable in file...Maxime Coste
2011-12-22whitespace fixMaxime Coste
2011-11-27File: extract read_file function which returns file content in a stringMaxime Coste
2011-10-07Buffer: add a type propertyMaxime Coste
2011-10-03File: fix write_buffer_to_fileMaxime Coste
2011-09-09assert: custom implementationMaxime Coste
2011-09-09exception: refactoringMaxime Coste
2011-09-06Buffer: accept initial content in constructorMaxime Coste
2011-09-02create_buffer_from_file: throw file_not_found instead of open_file_error when...Maxime Coste
2011-09-02Initial commitMaxime Coste