[tepl] docs: roadmap: update file loading and saving section



commit 137e7db23354a392c16d8896ec8c041a086a876d
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sun Nov 22 05:08:39 2020 +0100

    docs: roadmap: update file loading and saving section

 docs/roadmap.md | 16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)
---
diff --git a/docs/roadmap.md b/docs/roadmap.md
index 6e6fb32..909da07 100644
--- a/docs/roadmap.md
+++ b/docs/roadmap.md
@@ -13,15 +13,17 @@ A complete overhaul of the file loading and saving
 
 - Status: **in progress**
 
-Tasks:
-- New and hopefully simpler implementation, the API is still mostly the same.
+Description:
+- New and hopefully simpler implementation, the API will still be mostly the
+  same.
+- It is expected to have much improved performances (faster loading and
+  saving) and a smarter auto-detection of the character encoding.
 - Implement both the backend and the frontend, incrementally. For the frontend
   (the high-level API), handle all errors by showing TeplInfoBar's etc.
 - Use the [libicu](http://site.icu-project.org/) for character encoding
   _conversion_, not iconv.
 - Use the libicu for character encoding _auto-detection_, not
   [uchardet](https://www.freedesktop.org/wiki/Software/uchardet/).
-- Replace the few functions in TeplFile that do sync I/O with async I/O.
 - Compared to the GtkSourceView file loading and saving:
        - Drop gzip compression support and progress callbacks.
        - Add more important features: preventing loading files that are not
@@ -30,6 +32,14 @@ Tasks:
          split very long lines (and then showing a warning when saving the
          file).
 
+Already done:
+- TeplFile: rework it, keep what is well implemented, and replace the code that
+  does sync I/O with async I/O.
+- TeplFileLoader and TeplFileSaver: remove the old implementation, re-implement
+  the classes in a basic way (UTF-8 only at first).
+- TeplEncoding: remove the class, because it was implemented with iconv and
+  uchardet in mind.
+
 File browser widget
 -------------------
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]