View Single Post
Old 12-18-2015, 11:06 PM   #2
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,809
Karma: 6000000
Join Date: Nov 2009
Device: many
Note: The User Interface Changes

FYI, Sigil-0.9.2 introduces some User Interface Changes.

These interface changes were introduced to help stop the confusion about the differences between Tidy Cleaning, and PrettyPrinting in the 0.7.X and 0.8.X series versus its counterparts in the Sigil-0.9.2 series.

In Sigil-0.7.X and Sigil 0.8.X, Tidy was used and Tidy Cleaning was much more invasive then just PrettyPrinting. So PrettyPrinting was the "safer" option. And unfortunately, Tidy Cleaning could sometimes lose code (and even large amounts).

So in the Sigil-0.9.X series, Sigil was changed to use Google's Gumbo automatic repair parser. This parser is much much less likely to lose any text and it fact for most well-formed code, will change nothing at all. In addition, Gumbo based PrettyPrinting also does auto-repair but is much more invasive when it comes to changes in the whitespace in your code (the rendered image should not be changed).

To make these differences more clear, we have renamed Gumbo based parsing to be simply called "Mend Code" to reflect it auto-repair nature and small to non-existant changes to most source code. We have also removed the PrettyPrint Gumbo option from the Cleaning preferences since it can be more invasive. We have renamed it to "Mend and Prettify" code and made it a menu item under the "Tools" menu and also in the context sensitive (right click) menu in the CodeView Editor tab.

Furthermore, to make the differences between SanityCheck and what was previously FlightCrew more clear, we have removed the Checkmark icon and renamed SanityCheck to "Well-Formed Epub Check".

In addition, to minimize the chances for any code loss, we have changed "ToValidXHTML" to just use the Gumbo repair parser, ie. "Mend Code", so that only the very minimum set of changes to your code are made.

Hopefully these User Interface changes will make the differences between Tidy based cleaning of the 0.7.X and 0.8.X series and the new Gumbo-based parser of the Sigil-0.9.X series more clear and prevent confusion, especially among long-time users of Sigil who were used to Cleaning being worse than PrettyPrinting and just hitting the Checkmark to run Flightcrew.

Thanks,

KevinH

Last edited by KevinH; 12-18-2015 at 11:10 PM.
KevinH is offline   Reply With Quote