Re: [sword-devel] Win32 FileMgr Subclass

2020-07-18 Thread David Haslam
Paths and filenames may in theory include all manner of characters from non-Roman scripts. AFAIK, Only a few special characters are not allowed in the various file systems. We ought to avoid a systemic bias to the English language or even the Latin script when we design software. Easy to agree

Re: [sword-devel] Win32 FileMgr Subclass

2020-07-18 Thread Greg Hellings
For Xiphos we use the MinGW compiler and library from Xiphos. You should be able to grab them via Cygwin as well, if you prefer? I haven't run actual Windows in a life age to know, though. Greg On Sat, Jul 18, 2020, 16:57 Tobias Klein wrote: > I'm using the Visual Studio compilers. All modern V

Re: [sword-devel] Win32 FileMgr Subclass

2020-07-18 Thread Tobias Klein
I'm using the Visual Studio compilers. All modern VS compilers are available via GitHub Actions! I'm most of the time letting GitHub build my Windows binaries, but I do have Visual Studio 2017 installed in a Windows 10 VM for debugging. Tobias Am 18. Juli 2020 22:53:23 schrieb "Troy A. Griffi

Re: [sword-devel] Win32 FileMgr Subclass

2020-07-18 Thread Troy A. Griffitts
OK guys, another question. What exactly does your build environment look like these days for win32?  I just tried to boot one of my old Windows VMs with Borland/Inprise/Embarcadero build tools and it is in such a sad state, I am not even going to attempt to recover that world right now.  I'd

Re: [sword-devel] Win32 FileMgr Subclass

2020-07-18 Thread Tom Sullivan
If you are able to use Python, it does a good job of making file operations universal. For example, it converts /x/y/z.txt/n to x\y\z.txt\r\n for Windows. On 7/18/20 2:34 PM, David Haslam wrote: Paths and filenames may in theory include all manner of characters from non-Roman scripts. AFAIK, O

Re: [sword-devel] Win32 FileMgr Subclass

2020-07-18 Thread Tobias Klein
Thanks Greg & Troy for pointing out these potential issues. No, I have not tested my code properly with non-ascii characters in paths / file names. I suppose this would particularly be an issue if the username has certain characters that cause issues? (applicable for the ~/.sword directory). And

Re: [sword-devel] Win32 FileMgr Subclass

2020-07-18 Thread Greg Hellings
Tobias, Has this been tested with file paths that contain characters outside of the basic ASCII code range? That's where current Sword fails. Not in fetching the data for the paths themselves, but the actual calls to fopen and friends, on Windows, do not understand non ASCII data. It looks like y

Re: [sword-devel] Win32 FileMgr Subclass

2020-07-18 Thread Troy A. Griffitts
Thanks Tobias, Looking at your code, I suspect you might be running into the same issues that SWORD runs into with those similar functions in FileMgr. Different compilers seem to supply different compatibility for full Unicode supposed for standard C functions, for example, getenv. The string i

Re: [sword-devel] Win32 FileMgr Subclass

2020-07-18 Thread Tobias Klein
Maybe not a full-fledged FileMgr class, but at least everything I need in Ezra Project at the moment: https://github.com/tobias-klein/node-sword-interface/blob/master/src/sword_backend/file_system_helper.hpp https://github.com/tobias-klein/node-sword-interface/blob/master/src/sword_backend/file_

Re: [sword-devel] Win32 FileMgr Subclass

2020-07-18 Thread Greg Hellings
On Sat, Jul 18, 2020, 07:42 Troy A. Griffitts wrote: > I know Greg has sent me a link to the patch you guys apply to get Xiphos > to run well on Win32, but I have searched through all my past emails > with every relevant term I can thing of, and still can't find it. I am > sorry, Could you poss

Re: [sword-devel] Strong's search does not return result ifStrong's number in text points to different parts of a verse

2020-07-18 Thread Tobias Klein
Thanks for the feedback, Troy! Best regards, Tobias From: Troy A. Griffitts Sent: Samstag, 18. Juli 2020 10:16 To: SWORD Developers' Collaboration Forum Subject: Re: [sword-devel] Strong's search does not return result ifStrong's number in text points to different parts of a verse That looks ni

[sword-devel] Win32 FileMgr Subclass

2020-07-18 Thread Troy A. Griffitts
I know Greg has sent me a link to the patch you guys apply to get Xiphos to run well on Win32, but I have searched through all my past emails with every relevant term I can thing of, and still can't find it.  I am sorry,  Could you possibly sent that again? I think you guys were using glib rout

Re: [sword-devel] Strong's search does not return result if Strong's number in text points to different parts of a verse

2020-07-18 Thread Troy A. Griffitts
That looks nice, Tobias. Thanks to everyone who commented on this. I think we do similar normalization in the engine for the lookup, but not in the search. You'd know if the NASB on the the live swordweb site allows a word click at one of these locations with a letter suffix and it still produce

Re: [sword-devel] Strong's search does not return result if Strong's number in text points to different parts of a verse

2020-07-18 Thread Tobias Klein
On 7/16/20 4:02 AM, Karl Kleinpaste wrote: On 7/15/20 5:08 PM, Tobias Klein wrote: Is there any other translation out there that uses these special Strong's keys? I don't think any other uses the NAS lexicons. However, those are not the only "not-Strong's Strong's".  For example, there is the