Binary catalogs are more space efficient (total translations disk usage:
14MB instead of 35MB), and easier and faster (roughly 10 times) to load:
no parsing, and less processing (no need to unescape strings).
Not much difference on the Android APK size (a ~600KB reduction), but
other TAR.GZ / ZIP distributions see a reduction of ~3.5MB.
The code would incorrectly load part of them, examples:
- the fuzzy translation is not ignored (because of the context, which is itself ignored):
```
msgctxt "Status of group of books"
msgid "All"
msgstr "Kaikki"
```
- not ignored, with an invalid original string (`"Please configure it in the settings."`):
```po
msgid ""
"The download folder is not valid.\n"
"Please configure it in the settings."
msgstr ""
"Le répertoire de téléchargement est invalide.\n"
"Veuillez le configurer dans les paramètres."
```
- and in this case the second fuzzy entry end up overwriting the valid translation (with `"لم يتم حفظ الملف في:\n%1"`):
```po
msgid ""
"%1\n"
"%2"
msgstr ""
"%1\n"
"%2"
msgid ""
"Could not save file to:\n"
"%1\n"
"%2"
msgstr ""
"لم يتم حفظ الملف في:\n"
"%1"
```
- ArchiveViewer: instead of using unzip and to support more formats
(only CBR & RAR for now)
- NewsDownloader & Wikipedia plugins: instead of using `ZipWriter`
- device: re-implement `Device:unpackArchive` and get rid of device
specific `untar` implementations
- readerui: instead of using unzip for document provider detection
Currently you can only toggle page turn buttons to inverted or not. This
commit adds the ability to also have an option in dispatcher to set the
value instead of just toggling.
This can be useful for profiles that want to set the value rather then
toggle.
ATM you can only toggle G sensor lock in dispatcher, this commit adds
the ability to set the lock to on or off.
This can be useful in profiles that want to set an explicit mode
instead of toggling the setting.
The output of df wraps on to multiple lines on the rmpp due to the device mapped mount points. Enabling the posix -P option to df prevents this and allow the output to be parsed as normal.
Clear socket & poller field after `stop` so we get a clear
segfault when attempting to keep using the queue (including
another call to `stop`), instead of undefined behavior.