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 10-24-2018, 06:25 AM   #31
Vroni
Banned
Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'Vroni knows the difference between 'who' and 'whom'
 
Posts: 168
Karma: 10010
Join Date: Oct 2018
Device: Tolino/PRS 650/Tablet
Quote:
Originally Posted by DiapDealer View Post
Also note that if you always leave "All Files" selected you can override/force search to operate only on the current file by holding the Ctrl key down while clicking on the action.
Didn't know that, thx for the tip.
Vroni is offline   Reply With Quote
Old 10-29-2018, 09:33 AM   #32
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,630
Karma: 5433388
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by DiapDealer View Post
Unless we can envision a situation where individual config files might need to be something other than utf-8, I like the idea of the latter, one-size-fits-all approach, myself.

I'll try to do some testing on Linux and Windows soon.
Please let me know if you want me to push this change to master. Otherwise I will revert my build tree.

Thanks,

KevinH
KevinH is offline   Reply With Quote
Old 10-29-2018, 09:42 AM   #33
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,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by KevinH View Post
Please let me know if you want me to push this change to master. Otherwise I will revert my build tree.

Thanks,

KevinH
I say go ahead. I haven't had a chance to test on Windows and Linux yet, but I don't foresee any problems. In the off chance that there are some, it looks like we can change it back pretty easily.

EDIT: actually ... if you push the change, it will automatically build on Appveyor and I'll probably be able to download/test it on Windows this afternoon.

Last edited by DiapDealer; 10-29-2018 at 09:48 AM.
DiapDealer is online now   Reply With Quote
Old 10-29-2018, 10:38 AM   #34
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,630
Karma: 5433388
Join Date: Nov 2009
Device: many
Just pushed that change to master.
KevinH is offline   Reply With Quote
Old 10-29-2018, 11:42 AM   #35
Doitsu
Grand Sorcerer
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: 5,583
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by KevinH View Post
Just pushed that change to master.
I compiled Sigil from master on my Linux machine and it looks like your fix works fine.

I checked the folder that contains the Sigil .ini files and all escaped characters were replaced with UTF-8 characters.

I also created and saved a new Saved Search entry with accented and Arabic characters, which were also saved as UTF-8 characters.

Last edited by Doitsu; 10-29-2018 at 11:49 AM.
Doitsu is offline   Reply With Quote
Old 10-29-2018, 11:48 AM   #36
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,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by KevinH View Post
Just pushed that change to master.
A quick test on Windows 10 shows no problems (Windows 10). I did basically the same tests that you described earlier in the thread. Sigil actually converted my ini files to utf-8 whenever Sigil opened. There was no need to save or close.

The only issue I see that may trip a few people up, is that some of the default Saved Searches (convert entities to characters and vice-versa) can look like the Replace/Find field is empty after converting the file to utf-8. Anything with invisible space characters can look empty now. But that will also only affect the manual editing of those files. The Saved Search editor dialog has always looked like there's nothing in fields with invisible unicode characters (even when they were stored in the ini files as escape coded).

The good news is that they can still add those invisible characters as escaped hex codes when manually editing those files. And Sigil will convert them.

They've always had to enter unicode characters in the Saved Search Editor Dialog: escaped hex codes entered there have always ended up double-escaped in the ini files.

Long story short: those who only edit Saved Searches through Sigil's dialog should notice no difference in behavior whatsoever. And those who edit the files manually should have an easier time of it!
DiapDealer is online now   Reply With Quote
Old 10-29-2018, 11:56 AM   #37
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,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
This change COULD adversely affect those who run two different versions of Sigil on the same machine (but those folks typically setup up a second prefs folder via environment variable so they can have separate prefs).

It could also affect anyone who might need to roll back to a previous version of Sigil for whatever reason. There'll need to be a warning on the release that preferences files are going to updated and may be incompatible with older versions of Sigil from that point on. Prefs should be backed up before updating to be safe.
DiapDealer is online now   Reply With Quote
Old 10-29-2018, 12:26 PM   #38
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,630
Karma: 5433388
Join Date: Nov 2009
Device: many
I agree completely. When we do the next release, we strongly urge people to make back-up copies of all their current Sigil related ini files just in case they want or need to revert back. Perhaps we even include a bash script that does that for Linux and Mac Users and a simple bat script for Windows users or maybe a little python script that runs on all platforms.

That way people can revert if they need to but the bulk of the people should be just fine.


Quote:
Originally Posted by DiapDealer View Post
This change COULD adversely affect those who run two different versions of Sigil on the same machine (but those folks typically setup up a second prefs folder via environment variable so they can have separate prefs).

It could also affect anyone who might need to roll back to a previous version of Sigil for whatever reason. There'll need to be a warning on the release that preferences files are going to updated and may be incompatible with older versions of Sigil from that point on. Prefs should be backed up before updating to be safe.
KevinH is offline   Reply With Quote
Old 10-29-2018, 12:26 PM   #39
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,630
Karma: 5433388
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by Doitsu View Post
I compiled Sigil from master on my Linux machine and it looks like your fix works fine.

I checked the folder that contains the Sigil .ini files and all escaped characters were replaced with UTF-8 characters.

I also created and saved a new Saved Search entry with accented and Arabic characters, which were also saved as UTF-8 characters.
Thanks for testing!

Kevin
KevinH is offline   Reply With Quote
Old 10-30-2018, 12:20 AM   #40
Tex2002ans
Wizard
Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.Tex2002ans ought to be getting tired of karma fortunes by now.
 
Posts: 2,297
Karma: 12126329
Join Date: Jul 2012
Device: Kobo Forma, Nook
Quote:
Originally Posted by DiapDealer View Post
It could also affect anyone who might need to roll back to a previous version of Sigil for whatever reason. There'll need to be a warning on the release that preferences files are going to updated and may be incompatible with older versions of Sigil from that point on. Prefs should be backed up before updating to be safe.
Yes, being able to rollback or work on older versions is important.

And who knows what strange bugs may creep in (like that spellchecking cursor jumping bug). Very rare they occur, but over the years I sometimes ran two versions side-by-side.

Quote:
Originally Posted by DiapDealer View Post
This change COULD adversely affect those who run two different versions of Sigil on the same machine (but those folks typically setup up a second prefs folder via environment variable so they can have separate prefs).
Are you sure "those folks typically setup [...] via environment variable"?

If anything, I would say they may install a new version into a second folder. But how many people are messing around with their environment variables?

Quote:
Originally Posted by KevinH View Post
That way people can revert if they need to but the bulk of the people should be just fine.
Tex2002ans is offline   Reply With Quote
Old 10-30-2018, 05:44 AM   #41
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,546
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by Tex2002ans View Post
Are you sure "those folks typically setup [...] via environment variable"?
Pretty sure, yes. In fact, that's why the environment variable added: people wanted a way to run two instances of Sigil that didn't share the same preferences. We provided.

Quote:
Originally Posted by Tex2002ans View Post
If anything, I would say they may install a new version into a second folder. But how many people are messing around with their environment variables?
I don't know the numbers. I suspect very few. I also suspect those few who DO install a second instance, aren't doing so willy-nilly, and aren't "afeard of wrangling an env var or two" to make it work correctly.
DiapDealer is online now   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
Saved searches abecedarian Sigil 5 04-14-2017 06:48 PM
Saved searches : suggestions Bertrand Editor 0 05-09-2014 05:58 AM
Saved searches: right pane roger64 Editor 2 04-07-2014 09:40 PM
Where are searches saved? travger Calibre 2 08-26-2012 01:37 PM
Saved Searches - Using Hierarchy nynaevelan Library Management 10 03-28-2011 10:45 PM


All times are GMT -4. The time now is 08:47 PM.


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