summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--res/about/help.gmi2
-rw-r--r--res/about/version.gmi1
-rw-r--r--src/visited.c4
3 files changed, 4 insertions, 3 deletions
diff --git a/res/about/help.gmi b/res/about/help.gmi
index 7260aeb5..ade0f07a 100644
--- a/res/about/help.gmi
+++ b/res/about/help.gmi
@@ -349,7 +349,7 @@ Other Unix : ~/.config/lagrange/
349* prefs.cfg 349* prefs.cfg
350* state.lgr 350* state.lgr
351* trusted.txt 351* trusted.txt
352* visited.txt 352* visited.2.txt
353 353
354# 4 MIME hooks 354# 4 MIME hooks
355 355
diff --git a/res/about/version.gmi b/res/about/version.gmi
index ef5157fe..a74a39eb 100644
--- a/res/about/version.gmi
+++ b/res/about/version.gmi
@@ -16,6 +16,7 @@
16* Remote bookmarks are grouped under their source in the bookmark list. 16* Remote bookmarks are grouped under their source in the bookmark list.
17* A bookmark's icon is updated after loading the page so it matches the site. 17* A bookmark's icon is updated after loading the page so it matches the site.
18* Trusting a new server certificate manually will update the current page without reloading. 18* Trusting a new server certificate manually will update the current page without reloading.
19* Fixed timestamps of visited URLs. Your browsing history will be erased but can still be found in "visited.txt".
19 20
20## 1.0.3 21## 1.0.3
21* Improved font glyph caching: only rasterize glyphs when drawing text, and retry after failure. This makes initial document layout faster and avoids issues with permanently lost glyphs. 22* Improved font glyph caching: only rasterize glyphs when drawing text, and retry after failure. This makes initial document layout faster and avoids issues with permanently lost glyphs.
diff --git a/src/visited.c b/src/visited.c
index 6fcc23f7..f4769e97 100644
--- a/src/visited.c
+++ b/src/visited.c
@@ -74,7 +74,7 @@ void deinit_Visited(iVisited *d) {
74 74
75void save_Visited(const iVisited *d, const char *dirPath) { 75void save_Visited(const iVisited *d, const char *dirPath) {
76 iString *line = new_String(); 76 iString *line = new_String();
77 iFile *f = newCStr_File(concatPath_CStr(dirPath, "visited2.txt")); 77 iFile *f = newCStr_File(concatPath_CStr(dirPath, "visited.2.txt"));
78 if (open_File(f, writeOnly_FileMode | text_FileMode)) { 78 if (open_File(f, writeOnly_FileMode | text_FileMode)) {
79 lock_Mutex(d->mtx); 79 lock_Mutex(d->mtx);
80 iConstForEach(Array, i, &d->visited.values) { 80 iConstForEach(Array, i, &d->visited.values) {
@@ -93,7 +93,7 @@ void save_Visited(const iVisited *d, const char *dirPath) {
93} 93}
94 94
95void load_Visited(iVisited *d, const char *dirPath) { 95void load_Visited(iVisited *d, const char *dirPath) {
96 iFile *f = newCStr_File(concatPath_CStr(dirPath, "visited2.txt")); 96 iFile *f = newCStr_File(concatPath_CStr(dirPath, "visited.2.txt"));
97 if (open_File(f, readOnly_FileMode | text_FileMode)) { 97 if (open_File(f, readOnly_FileMode | text_FileMode)) {
98 lock_Mutex(d->mtx); 98 lock_Mutex(d->mtx);
99 const iRangecc src = range_Block(collect_Block(readAll_File(f))); 99 const iRangecc src = range_Block(collect_Block(readAll_File(f)));