Sigil-0.9.991 (1.0 Pre-release)
Pre-releaseAnnouncing Sigil-0.9.991 (pre Sigil-1.0) Alpha Release
Before Sigil 1.0 can be released, we felt it was very important to remove the restriction that all epubs must be in Sigil standard form which included one OEBPS folder, specific names for the OPF, and NCX, only one folder for each type of resource (Text, Images, etc.).
Therefore, over the last two months, we have had to tear out much of the internals of Sigil to teach it to not standardize epubs on initial load, not to rename the OPF, NCX, not to move files to our specific folders, etc. Then we had to teach Sigil how to properly work with files in any structure or locations, how to build the correct links between them. This included extending the Sigil plugin interface appropriately.
To accomplish this over 4000 lines of code were added and over 2000 were deleted, touching almost every file in Sigil. All of this work has been very disruptive with the potential for lots of breakage and new bugs being introduced.
Special thanks must be given to both BeckyEbook and Doitsu for regularly building and testing the changes as they were being made and reporting back any breakage or issues they found and providing feedback on ideas. Without their hard volunteer effort, Sigil would be in a much much worse condition.
The work on Sigil-1.0 has now stabilized, and it is now ready for additional volunteers and testers to try and break it so that any final nits or issues can be tracked down and fixed before the upcoming Sigil 1.0 release.
The main changes include the following:
- Upon initial load, the epub structure that exists will be loaded and kept in its "as-is" state, moving and renaming nothing
- The BookBrowser will still show the Text, Images, Styles, Fonts, Audio, Video, and Misc "folders" but these are now "virtual folders" that simply organize the existing resources by type but do not restrict their actual location within the epub.
- A new Preferences setting has been added to the Appearance Preferences that will determine if the book folder relative path will be shown in the BookBrowser or its shorter unique name (filename) will be used instead. In either case, the BookBrowser tooltips will always show the file's true book folder relative path. Duplicate file names (in different subfolders) will always show the longer path to be able to differentiate between them regardless of the new Appearance Preference.
- A Tools menu item has been added to standardize any epub already loaded to Sigil's old structure
- A Tools menu item has been added to allow a user to design a custom "empty" epub layout
- A "Move" context menu item has been added to BookBrowser to enable moving of resources to where you want them to be.
- A "Rename" context menu item has been added to BookBrowser to enable renaming of the NCX and OPF resources.
- The python plugin interface has been extended to support all of this as documented in the new Sigil_Plugin_Framework_rev12.epub and online at MobileRead in our Plugin Development thread.
Additional bug fixes include:
- handle javascript location.href style in Preview
- use CaseInsensitive sort in Plugins menu (Thank you BeckDTP)
- use Locale aware sort routines for AddMetadata, and MetaData Names (Thankyou Doitsu)
- recognize x-font-otf style media types
- recognize vnd.adobe.page-template+xml media type
- recognize webp images media type
- improve updating of smil xml files when moved
- preserve whitespace inside the code element when prettifying
- try again to prevent timer events during MainWindow close that causes random crashes on exit on macOS
- fix svg cover images to use 100vh and 100vx in Preview
Please note, the design goal of this project was to make minimal changes for users and ebook developers that still want to use Sigil as they did. The new Preference setting defaults to showing only the filename as before, and the default empty epub for creating new epubs is the same as before. The interface and functionality should stay almost exactly the same. Loading any epub previously saved by Sigil will still work exactly as before. Only editing new epubs that are in non-standard form will necessitate a use of the new Tool menu (see # 4 above) to standardize it.
Call For Feedback, Testing, Plugin Developers, etc...
So we really need your help to test Sigil to make sure we have not broken anything and to provide feedback on the new features.
This release will also serve to allow Plugin Developers to test their plugins and make any changes needed to make sure their plugins will still work as expected.
So please take a minute to download Sigil-0.9.991 and test it as you would use earlier versions of Sigil, reporting back on MobileRead or via our GitHub site any bugs you find with instructions on how to recreate them. This is especially true of some of Sigil's more advanced features such as HTML TOC, Index generation, Merging and Splitting of Files, Reports, movement of resources, and any other feature of Sigil you would normally use on a regular basis. Though we're not going to ignore any reported issues, we're asking that you try to limit your reports to broken functionality or incorrect behavior. Cosmetic issues and minor inconveniences (with easy workarounds) can be dealt with later.
Note: Sigil-0.9.991 should not be considered a "production-ready" release. It is being made available to make sure our upcoming Sigil 1.0 release is as bug free and stable as possible.