Assume column X uses column Y. If X assigns to template variables then evaluated Y, the variables were cleared. The regression happened because the performance increase changes to use ProxyMetadata also caused X and Y to be evaluated in the same formatter instance where before they were evaluated in separate instances. This triggered a long-standing latent bug where a 'global' local variable dictionary was cleared every time a template was executed. The fix is to make the local variable dict local to the template evaluation instance.
_afc_file_write is used by the idevice interface to copy files to the
idevice. This fix has been successfully tested by round tripping a 500
MB file from the PC to the device and back again, and checking that the
before and after files are identical.
Fixed _afc_file_read to continuing reading bytes until all bytes are
read up to the requested file length; the first read only returns the
first 0x400000 bytes, so any files larger than that were not being fully
read. The missing bytes were initialised to null in the target file,
resulting in a corrupt file (the local copy of the Marvin sqlite
database).
Site uses table layout a lot, both for page formatting
and within article's text, yet we clean up all tags
before & after article text, and remove what's left
from tables in-between, also removing useful tables
often embedded within articles. The better way seems
to keep only parts we actually interested about:
PageHeadline (article's title) and ArticleText and
not linearize table within ArticleText tag, thus
preserving useful tables.
Signed-off-by: Sergiy Kibrik <sakib@meta.ua>
Fill authors names in articles headers with bg color
to separate them from article body. The same for
quiz boxes, plus outline them with border line,
as they're put directly within article's text.
Signed-off-by: Sergiy Kibrik <sakib@meta.ua>