Pavel Sanda wrote:
puzzled I got about why such extensive changes had to be made and couldn't
be confined to some relatively well defined aspect of the code.
...
the whole implementation was nearly impossible to understand.
it is still the case or its better now?
It's still as much of a mess as it was.
do i also understand correctly that the changes pervade to larger areas of
code which is rather far away from bundling? (sorry for such novice questions,
i havent followed the threads closely, nor i read the code)
Yes. Every inset that references a file that might be bundled has
undergone extensive changes as a result. This is what led to the present
situation, where existing LyX files that reference, say, BibTeX
databases via a simple name like "biblio" don't work. And the really
disturbing thing is that they don't work when you're not using
embedding. If you are using embedding, they work fine. This is because
the EmbeddedFile architecture is deeply entwined with the way insets
operate, so much so that changes in how EmbeddedFile is implemented can
lead (and have led) to bugs in the inset code, even in cases where
embedding is not being used.
i mean when we have code which only one developer understand which can also
trigger bugs in unrelated parts of code, it can become nightmare to maintain
it.
Indeed.
rh