Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 09-03-2019, 08:44 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: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
PageEdit-0.9.5 Released

PageEdit-0.9.5

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

PageEdit-0.9.5 is is primarily a new features release.

One of the major new features of this release is the ability to pass all xhtml files in the spine in Reading Order to PageEdit via opening the OPF.
Make sure to check out the New Features Synopsis and the New Features Video in the downloads section of the Github release page.

Installing PageEdit on Windows

Here is a more complete list of the changes:

New Features
  • add the ability to pass all xhtml files in the spine in Reading Order to PageEdit
    via opening the OPF. Allow quick file navigation via navigation menu and next
    and previous arrows keys.
  • add a Edit vs Preview mode toggle icon that will allow links among xhtmls files in the spine
    to be active and work (in Mode: Preview)
  • installed a QtMessage handler to create a debug log file controlled via a
    PAGEEDIT_DEBUG_LOGFILE environment setting, to simplify user bug issue feedback

Bug Fixes
  • fix macOS specific launch bugs due to bug in canonical files and timing of Apple events
  • make sure jQuery is loaded before trying to manipulate a file by imporving web load sequence
  • use GetEnvironmentVar to uniformly access Environment Vars in a cross platform manner
  • disable prev and next navigation buttons when only one input xhtml file exists

Last edited by DiapDealer; 09-06-2019 at 10:19 AM.
DiapDealer is offline   Reply With Quote
Old 09-03-2019, 09:10 PM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Still waiting to see how packaging webengine dictionaries for Arch Linux users goes... I think I might have news soon, watch this space for details : https://lists.archlinux.org/pipermai...er/029666.html
eschwartz is offline   Reply With Quote
Advert
Old 09-04-2019, 03:48 AM   #3
un_pogaz
Chalut o/
un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.
 
un_pogaz's Avatar
 
Posts: 410
Karma: 145324
Join Date: Dec 2017
Device: Kobo
The new navigation and reading is so much easier than in pure Sigil.
A window/panels for view and use the TOC would be a good addition, but this is very secondary.

BTW, Bug report: If you open PageEdit in ereader mode (content.opf), close sigil (but not PageEdit) and then try to navigate to a new XHTML page => PageEdit freeze and crash.
un_pogaz is offline   Reply With Quote
Old 09-04-2019, 04:59 AM   #4
Springbok
Enthusiast
Springbok began at the beginning.
 
Posts: 30
Karma: 10
Join Date: Jan 2018
Device: Kindle Touch
IT looks good, thanks. It is a big help for me at the final state of the book editing before publishing.

I would still like to see couple of dictionary maintaining functions present under Sigil (add word to dictionary, Ignore etc.) and then I am 100% satisfied.
Springbok is offline   Reply With Quote
Old 09-04-2019, 07:14 AM   #5
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: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
Yes, closing Sigil underneath PageEdit would be a huge no-no. Sigil is supplying the unpacked epub (that Sigil unpacks to its own temp files) to another app which will be erased when you close Sigil. So you effectively gave paths to files to PageEdit that no longer exist. Try deleting all the xhtml files out from under any e-reader while actively reading and it will have similar issues

If you do not need or want Sigil open, then unzip a copy of the epub you want to work on to someplace and then open its OPF file in PageEdit directly.

This might be a good use for Sigil's FolderIn and FolderOut plugins. If you have a book in Sigil, you can use FolderOut to save it someplace. You can safely close Sigil. Fire up PageEdit and do your thing. Then when you leave PageEdit, you can use Sigil's FolderIn plugin to get all your changes.

Otherwise, no closing Sigil behind PageEdit's back. You can of course minify Sigil at any point, just not close it as it will delete its files to clean up after itself.

Quote:
Originally Posted by un_pogaz View Post
The new navigation and reading is so much easier than in pure Sigil.
A window/panels for view and use the TOC would be a good addition, but this is very secondary.

BTW, Bug report: If you open PageEdit in ereader mode (content.opf), close sigil (but not PageEdit) and then try to navigate to a new XHTML page => PageEdit freeze and crash.

Last edited by KevinH; 09-04-2019 at 07:51 AM.
KevinH is offline   Reply With Quote
Advert
Old 09-04-2019, 07:17 AM   #6
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: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
Sorry that can not be done as the spellcheck code used by PageEdit is internal to Qt's QtWebengine which does not support any of that. When and if, QtWebEngine supports that, we will to. But unfortunately Qt uses a very different approach.

Quote:
Originally Posted by Springbok View Post
IT looks good, thanks. It is a big help for me at the final state of the book editing before publishing.

I would still like to see couple of dictionary maintaining functions present under Sigil (add word to dictionary, Ignore etc.) and then I am 100% satisfied.
KevinH is offline   Reply With Quote
Old 09-04-2019, 09:47 AM   #7
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: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
@eschwartz,
I was not aware that there were still issues with QtWebEngine's license according to some linux distributions. The Chromium license quoted in that mail thread seems like a pretty straightforward, no advertising, do not sue me, style BSD license.

Do you know of a source that discusses the "licensing issues" people have with QtWebEngine specifically?


Quote:
Originally Posted by eschwartz View Post
Still waiting to see how packaging webengine dictionaries for Arch Linux users goes... I think I might have news soon, watch this space for details : https://lists.archlinux.org/pipermai...er/029666.html
KevinH is offline   Reply With Quote
Old 09-04-2019, 10:29 AM   #8
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
The GNU Free System Distribution Guidelines considers chromium itself to be not-compliant because it is a huge, huge heap of code which contains e.g. non-libre code for unrar, various media codecs that require it to be built with --enable-proprietary-codecs, and generally code that has "unknown licensing". It is an 11 year old project which was not, originally, proactive about double-checking the licenses and dotting all the i's and crossing all the t's, so it is plausible there are interesting things lurking in corners.

https://libreplanet.org/wiki/List_of...romium-browser

Its status is officially "unclear, therefore the GNU FSDG refuses to condone it". Some distributions take it on faith that Chromium developers say they have the right to all the code (minus obvious things like proprietary codecs or third_party/unrar/src/*.cpp) while others reject it entirely.

The standard reference for chromium (the place where the discussion about this issue began) is https://bugs.chromium.org/p/chromium...etail?id=28291

...

Qt WebEngine is another kettle of fish entirely. And here, FSDG-compliant Linux distributions are under the impression that WebEngine "embeds all of Chromium" and should therefore be tarred with the same brush as Chromium (whatever that brush may be, currently it is "I don't trust the licenses to be complete"). Meanwhile the Qt and KDE developers claim they disable and strip out tons of source, and the parts that they keep -- mostly lower level stuff -- aren't problematic even if Chromium itself is. Some background:
https://labs.parabola.nu/issues/1167
https://bugs.kde.org/show_bug.cgi?id=374808#c4
https://lists.qt-project.org/piperma...ry/000409.html

Last edited by eschwartz; 09-04-2019 at 10:35 AM.
eschwartz is offline   Reply With Quote
Old 09-04-2019, 11:14 AM   #9
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: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
According to Qt's wiki:

Quote:
Qt WebEngine uses code from the Chromium project. However, it is not containing all of Chrome/Chromium:

Binary files are stripped out
Auxiliary services that talk to Google platforms are stripped out
The codebase is modularized to allow use of system libraries like OpenSSL
We do update to the latest Chromium version in use before a Qt release. After a release some bug fixes and security patches are backported. For LTS releases of Qt we might also update Chromium in a patch level release.
And for all of the pieces QtWebEngine uses, it lists the third party licenses here:

https://doc.qt.io/qt-5/qtwebengine-licensing.html

So I understand there still might be concerns for Chromium on the whole and Electron, I am not sure why QtWebEngine is being painted with the same brush especially now after they have made things clear on their website and with all of the Licenses used by QtWebEngine pieces.

So are Sigil and PageEdit, post the port to QtWebEngine) actually in danger of being blacklisted on some Linux Distributions? Will that also impact Calibre with its "engine" port to QtWebEngine in the future?

The funny part is the primary reason we moved from WebKit to WebEngine was that the QtWebKit version was not regularly maintained and it suffered from huge memory leaks when any significant javascript was used, and had no security fixes in a long long time, etc. Even with annulen's work to update WebKit the first time, it was not really suitable for those reasons. And porting to QtWebEngine from QtWebkit is not trivial as each brings unique problems with it.

KevinH


Quote:
Originally Posted by eschwartz View Post
The GNU Free System Distribution Guidelines considers chromium itself to be not-compliant because it is a huge, huge heap of code which contains e.g. non-libre code for unrar, various media codecs that require it to be built with --enable-proprietary-codecs, and generally code that has "unknown licensing". It is an 11 year old project which was not, originally, proactive about double-checking the licenses and dotting all the i's and crossing all the t's, so it is plausible there are interesting things lurking in corners.

https://libreplanet.org/wiki/List_of...romium-browser

Its status is officially "unclear, therefore the GNU FSDG refuses to condone it". Some distributions take it on faith that Chromium developers say they have the right to all the code (minus obvious things like proprietary codecs or third_party/unrar/src/*.cpp) while others reject it entirely.

The standard reference for chromium (the place where the discussion about this issue began) is https://bugs.chromium.org/p/chromium...etail?id=28291

...

Qt WebEngine is another kettle of fish entirely. And here, FSDG-compliant Linux distributions are under the impression that WebEngine "embeds all of Chromium" and should therefore be tarred with the same brush as Chromium (whatever that brush may be, currently it is "I don't trust the licenses to be complete"). Meanwhile the Qt and KDE developers claim they disable and strip out tons of source, and the parts that they keep -- mostly lower level stuff -- aren't problematic even if Chromium itself is. Some background:
https://labs.parabola.nu/issues/1167
https://bugs.kde.org/show_bug.cgi?id=374808#c4
https://lists.qt-project.org/piperma...ry/000409.html
KevinH is offline   Reply With Quote
Old 09-04-2019, 12:33 PM   #10
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: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by KevinH View Post
So are Sigil and PageEdit, post the port to QtWebEngine) actually in danger of being blacklisted on some Linux Distributions?
If so, it would be a very, very small faction. All of the major players that I would concern myself with are packaging QtWebEngine (though I could have missed a few). Many are behind the curve on Sigil in general, but I haven't seen any I would worry about who didn't have QtWebEngine packages they COULD use to package Sigil if they wanted to (provided the Qt5.9.x bare minimum requirement, of course).
DiapDealer is offline   Reply With Quote
Old 09-04-2019, 01:44 PM   #11
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: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
Good to know!

Thanks,


Quote:
Originally Posted by DiapDealer View Post
If so, it would be a very, very small faction. All of the major players that I would concern myself with are packaging QtWebEngine (though I could have missed a few). Many are behind the curve on Sigil in general, but I haven't seen any I would worry about who didn't have QtWebEngine packages they COULD use to package Sigil if they wanted to (provided the Qt5.9.x bare minimum requirement, of course).
KevinH is offline   Reply With Quote
Old 09-04-2019, 01:53 PM   #12
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
I think this should only be the case for FSDG distributions, of which there is a fairly short list to be seen here: https://www.gnu.org/distros/free-distros.html

None of these distributions have WebEngine available at the moment, and thus, none of them can have the most recent Sigil release installed. Once the calibre port is complete, they won't have that either -- this is one of the reasons I would like to finish the Python 3 port sooner rather than later, since regardless of my practical disagreement with them, I think it would be great if they could at least freeze on an old version that supports Python 3, rather than freeze on an old version that is stuck with Python 2.

I've provided guidance to the Parabola developers that they should freeze Sigil at the last version to use Webkit, on the rationale that it shouldn't stop being as useful as it used to be... that is all I can do for them, they will either have to freeze packages at old versions or complete the stalled license review of chromium/webengine.
eschwartz is offline   Reply With Quote
Old 09-04-2019, 02:28 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: 27,549
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by eschwartz View Post
I've provided guidance to the Parabola developers that they should freeze Sigil at the last version to use Webkit, on the rationale that it shouldn't stop being as useful as it used to be...
Thanks for that. It's easy to forget that 0.9.14 is still a perfectly serviceable epub2/3 editor.

Though I freely admit that I'm a little surprised I'm not at least familiar with the names of any of those distros. As someone who got his *nix start downloading FreeBSD to 3-1/2" floppy's with a 14.4 modem, I'm a little embarrassed (as well as a bit encouraged--at least for Sigil's future).
DiapDealer is offline   Reply With Quote
Old 09-06-2019, 06:03 AM   #14
un_pogaz
Chalut o/
un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.
 
un_pogaz's Avatar
 
Posts: 410
Karma: 145324
Join Date: Dec 2017
Device: Kobo
@KevinH I know how Sigil works, that PageEdit encounters an error in such circumstances does not surprise me. What I wanted to point out is more like the order of a "unhandled exception".
A message "The request file does not exist" will therefore suffice.
un_pogaz is offline   Reply With Quote
Old 09-06-2019, 07:24 AM   #15
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: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
Can't easily be done. Imagine deleting a file during an active file read operation. That is what QtWebengine is facing in PageEdit when you close Sigil. This is not a loss of network situation. The delete can happen just when the page resources are starting to be read from the file. So checking if a file exists is not enough.

And since it is a separate process an on close event handler won't work, and the file reads are being done in separate threads deep inside of QtWebEngine.

I will try to add more file exists checks but deleting any resource as it is being actively loaded is going to still be an issue.

Last edited by KevinH; 09-06-2019 at 07:55 AM.
KevinH is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
pageedit in Sigil C-novice Sigil 10 11-27-2019 10:02 AM
PageEdit-0.8.0 Released DiapDealer Sigil 37 08-25-2019 04:14 PM
PageEdit-0.7.1 Released DiapDealer Sigil 37 08-09-2019 02:23 AM
Why PageEdit is separated software? un_pogaz Sigil 1 06-26-2019 09:55 AM
KINDLE DEAL: Released: A Story of God’s Power Released in Pro Baseball ($ gospelebooks Deals and Resources (No Self-Promotion or Affiliate Links) 0 07-14-2011 09:12 PM


All times are GMT -4. The time now is 05:18 PM.


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