Simplified history saving.
authorDaniel Carl <danielcarl@gmx.de>
Sat, 23 Mar 2013 15:13:40 +0000 (16:13 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Sat, 23 Mar 2013 15:39:02 +0000 (16:39 +0100)
commitddf005b4d252c2a378824551a0bda210c59f72b4
tree62d51bf0bf6a6271f62b64823014f7223a8bbe2e
parentf5a83dbbc761c8e7bc64b87e1dd0b2e20c1d8aca
Simplified history saving.

The url history is written to the end of the history file. The history isn't
read into list if not required. Every time we need the history we read it new
from file, so we would always see item added by another browser instance. If
the browser is closed the history files loaded again, duplicates will be
removed and the list shortened to the max history length and written back to
the file.
doc/vimb.1.txt
src/main.c
src/main.h
src/url_history.c
src/url_history.h