Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 06-10-2019, 10:28 PM   #1
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 20,333
Karma: 105362344
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Sigil-0.9.14 Released

Sigil-0.9.14

For the impatient, the installer files (and source) can be found as assets at the bottom of the Github Release page.

---------------------------------------------------------------------------

This Sigil release is primarily to address performance issues and memory leaks, but there are a still some new features and other bug fixes as described below.

Bug Fixes
  • flush all changes to disk before creating a Report so that files sizes are correct
  • stop writing python bytecode to Program Files on Windows
  • remember cover semantics if cover image replaced by Add Existing...
  • fix issues with the Plugin Framework documentation epub
  • more memory leaks plugged
  • minor code cleanups

New Features
  • updated to Qt 5.12.3 with Annulen Webkit 5.212 with extra QtCursor memory leak fixes
  • updated to Python 3.7.2
  • updated build docs for macOS, Linux and Windows
  • build system now uses GNUInstallDirs to determine the best installation libdir on Linux
  • updated desktop integration for Linux
  • reduce PCRE cache size to help lower memory footprint
  • improve mapping of hunspell dictionary names to actual language names (thanks BeckyDTP)
  • add warning during import if unmanifested files exist in the epub zip archive
  • no longer requires use of non-breaking space entities (or any entities at all!)
  • special spaces are now visisble via syntax highlighting in CodeView
  • dropping epubs on Sigil.app no longer opens an extra empty epub on macOS
  • reload Preview only when needed to help prevent screen flicker and lower memory use
  • enabled Windows automated builds using Apppveyor
  • Windows releases now compiled with Visual Studio 2017
  • characters in HTML files report now uses gumbo for speed
  • allow user's custom plugin icons to survive a plugin update

Sigil 0.9.14 will mark the last version that uses QtWebKit, and will be the last version to support editing in BookView. More here.

Be aware that Sigil-0.9.14 still enforces the need for epub3 to have and support an NCX so that it generates as backward a compatible epub as possible. This may be relaxed in future releases.

---------------------------------------------------------------------------

Please check the Sigil Wiki for important Sigil support links, additional resource downloads, and platform-specific trouble-shooting tips/requirements.

Sigil-0.9.14 release page and downloads.
DiapDealer is online now   Reply With Quote
Old 06-11-2019, 03:39 AM   #2
odamizu
maniac
odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.odamizu ought to be getting tired of karma fortunes by now.
 
odamizu's Avatar
 
Posts: 861
Karma: 1831444
Join Date: Mar 2015
Device: Kindle Oasis1 & Voyage, iOS
As always,
odamizu is offline   Reply With Quote
Advert
Old 06-11-2019, 03:43 AM   #3
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 4,556
Karma: 14554601
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by DiapDealer View Post
New Features
  • no longer requires use of non-breaking space entities (or any entities at all!)
  • special spaces are now visible via syntax highlighting in CodeView
Thanks for this helpful new feature!

Is it possible to change the non-breaking space replacement characters by applying a Qt stylesheet or source code modifications?
Doitsu is offline   Reply With Quote
Old 06-11-2019, 05:07 AM   #4
Horus68
Enthusiast
Horus68 began at the beginning.
 
Horus68's Avatar
 
Posts: 25
Karma: 10
Join Date: Feb 2015
Location: Portugal
Device: Kobo Aura HD
Windows-x32 pack missing from the release page
Horus68 is offline   Reply With Quote
Old 06-11-2019, 05:34 AM   #5
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 20,333
Karma: 105362344
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Horus68 View Post
Windows-x32 pack missing from the release page
I plan to get it added soon. But please take note of the various notices (here and on Github) that I will not be providing a Windows 32-bit installer for very much longer.
DiapDealer is online now   Reply With Quote
Advert
Old 06-11-2019, 06:26 AM   #6
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 20,333
Karma: 105362344
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Doitsu View Post
Thanks for this helpful new feature!

Is it possible to change the non-breaking space replacement characters by applying a Qt stylesheet or source code modifications?
I'm not entirely certain the place-holder underline style/color can be modified via qss, but there are a few options if you modify the source.

It's set in Misc/XHTMLHighlighter.cpp around line 85. It's the .setUnderLineStyle method of special_space_formats. Available choices can be found here: https://doc.qt.io/qt-5/qtextcharform...lineStyle-enum
DiapDealer is online now   Reply With Quote
Old 06-11-2019, 07:00 AM   #7
najgori
Connoisseur
najgori can read with one handnajgori can read with one handnajgori can read with one handnajgori can read with one handnajgori can read with one handnajgori can read with one handnajgori can read with one handnajgori can read with one handnajgori can read with one handnajgori can read with one handnajgori can read with one hand
 
Posts: 76
Karma: 79674
Join Date: Sep 2011
Location: Belgrade, Serbia
Device: many
great job! thanx!
najgori is offline   Reply With Quote
Old 06-11-2019, 10:49 AM   #8
BeckyEbook
Groupie
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 166
Karma: 709326
Join Date: Jan 2017
Location: Poland
Device: Kindle (Key3, PW2, PW3), Nook (ST, GLP), Kobo Touch, Tolino Vision 2
Quote:
Originally Posted by Doitsu View Post
Is it possible to change the non-breaking space replacement characters by applying a Qt stylesheet or source code modifications?
QSS IMHO will not work.

The non-breaking space is a space, so you can really apply just underlining. For me default thin underlining seems too delicate.

File: Misc\XHTMLHighlighter.cpp [here]

Original code:
Spoiler:
Code:
    special_space_format  .setUnderlineColor(m_codeViewAppearance.xhtml_entity_color);
    special_space_format  .setUnderlineStyle(QTextCharFormat::DashUnderline);


My idea:
Spoiler:
Code:
    QPen outline(special_space_format.textOutline());
    outline.setBrush(m_codeViewAppearance.xhtml_entity_color);
    outline.setWidthF(1.0);
    outline.setStyle(Qt::SolidLine);
    special_space_format.setTextOutline(outline);
    special_space_format.setUnderlineColor(m_codeViewAppearance.xhtml_entity_color);
    special_space_format.setUnderlineStyle(QTextCharFormat::SingleUnderline);
Attached Thumbnails
Click image for larger version

Name:	sigil_0_9_14_entites_underline.png
Views:	69
Size:	40.6 KB
ID:	171874  
BeckyEbook is online now   Reply With Quote
Old 06-11-2019, 10:57 AM   #9
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 20,333
Karma: 105362344
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Too "delicate" as compared to nothing at all?, or ...
DiapDealer is online now   Reply With Quote
Old 06-11-2019, 11:29 AM   #10
KevinH
Wizard
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: 3,354
Karma: 1958478
Join Date: Nov 2009
Device: many
Please remember that new syntax highlighting is shared by all special spaces and not just nbsp.

static const QString SPECIAL_SPACE_BEGIN = "[\\x{00A0}\\x{2000}-\\x{200A}\\x{202F}\\x{3000}]+";

so if you need to distinguish among the special spaces while editing, selected preserve entities can be set and a Mend on that file or across all files can be done to display them as entities if needed. Clearing the preserve entities and rerunning Mend will remove the entities restoring the character version.

Obviously search and replace can be used to do the same thing but Preserve Entities and Mend will be easier if many different special spaces are used throughout your book.
KevinH is offline   Reply With Quote
Old 06-11-2019, 12:38 PM   #11
BeckyEbook
Groupie
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 166
Karma: 709326
Join Date: Jan 2017
Location: Poland
Device: Kindle (Key3, PW2, PW3), Nook (ST, GLP), Kobo Touch, Tolino Vision 2
Sure. I really like it. I use this for two months from the time you added this feature to the code.

I assigned the F1 key to the Mend command, and Shift-F1 to Mend and Prettify.

When I want to see (some) entities I prefer to use the ShadyCharacters plugin. Continuous changing Preferences / Preserve Entites takes too long.

Now I'm only doing F1 (Mend), and when I want to see (some) entities, I run the plugin (one click). Quickly and efficiently!

In the target file, I prefer not to have a special spaces entities, since Sigil now displays them so nicely in the Code View, which makes reading easier.

The most important thing is that such a feature has appeared. And thank you very much for that.
BeckyEbook is online now   Reply With Quote
Old 06-11-2019, 01:07 PM   #12
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 20,333
Karma: 105362344
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by BeckyEbook View Post
The most important thing is that such a feature has appeared. And thank you very much for that.
I'm pretty tickled with it, myself. Thanks for figuring it out, Kevin!
DiapDealer is online now   Reply With Quote
Old 06-11-2019, 01:13 PM   #13
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 20,333
Karma: 105362344
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
allow user's custom plugin icons to survive a plugin update
In case anyone is unclear on this feature: instead of putting your custom icons for plugins in the actual plugin folder (which can get overridden when updating a plugin), you should put them in the plugin's preference folder. Sigil will look there first for the icon to display on the plugin shortcuts toolbar. If none is there, it will then check the plugin folder to see if there's a "plugin.png" included by the plugin's creator.
DiapDealer is online now   Reply With Quote
Old 06-11-2019, 04:22 PM   #14
lumpynose
Fanatic
lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.lumpynose ought to be getting tired of karma fortunes by now.
 
Posts: 577
Karma: 3186700
Join Date: Jul 2012
Device: eBookMan EBM-900
I'm getting aberrant behavior from the pulldowns at the bottom of the search box, its three Mode: pulldowns. I have two monitors, Sigil is full screen on the right monitor, and when I click on the last one, the Up/Down one, its menu briefly appears on the left monitor where it would be if Sigil was full screen on that monitor. That happens consistently. Sometimes the other two will appear on the left monitor and stay there and if I click again on the down arrow they'll reappear in the correct location on the right monitor.

When I click on the TOC button its window appears partly on the left monitor and partly on the right monitor.
lumpynose is offline   Reply With Quote
Old 06-11-2019, 04:27 PM   #15
KevinH
Wizard
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: 3,354
Karma: 1958478
Join Date: Nov 2009
Device: many
Yes Qt has some issues with true "full screen" on many platforms. Especially if you try to grow the original window after going full screen. Take it out of full screen, then hit the mode button to make everything show, the re-enable full screen. Did that help?
KevinH is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sigil-0.9.1 Released KevinH Sigil 36 12-04-2015 03:00 PM
Sigil-0.8.900 released for testing - Wait for Sigil-0.8.901 KevinH Sigil 106 10-04-2015 10:41 AM
Sigil 0.8.1 Released user_none Sigil 33 10-16-2014 05:04 PM
Sigil 0.7.1 Released user_none Sigil 64 03-26-2013 10:02 PM
Sigil 0.6.0 Released user_none Sigil 93 11-24-2012 06:50 PM


All times are GMT -4. The time now is 07:00 AM.


MobileRead.com is a privately owned, operated and funded community.