Misc news about the gedit text editor, mid-October edition! (Some sections are a bit technical).
Rework of the file loading and saving (continued)
The refactoring continues in the libgedit-gtksourceview module, this time to tackle a big class that takes too much responsibilities. A utility is in development which will permit to delegate a part of the work.
The utility is about character encoding conversion, with support of invalid bytes. It takes as input a single GBytes (the file content), and transforms it into a list of chunks. A chunk contains either valid (successfully converted) bytes, or invalid bytes. The output format - the "list of chunks" - is subject to change to improve memory consumption and performances.
Note that invalid bytes are allowed, to be able to open really any kind of files with gedit.
I must also note that this is quite sensitive work, at the heart of document loading for gedit. Normally all these refactorings and improvements will be worth it!
Progress in other modules
There has been some progress on other modules:
- gedit: version 48.1.1 has been released with a few minor updates.
- The Flatpak on Flathub: update to gedit 48.1.1 and the GNOME 49 runtime.
- gspell: version 1.14.1 has been released, mainly to pick up the updated translations.
GitHub Sponsors
In addition to Liberapay, you can now support the work that I do on GitHub Sponsors. See the gedit donations page.
Thank you ❤️