[sword-devel] Windows Development

2021-10-04 Thread Jeff Becker
Hello, everyone.   

 

Sorry for disappearing a few months ago without resolving the questions that
I had. I have been taking care of issues in my personal life which I won't
go into here.

 

I've had time to consider what I would do with the project that I have been
working on and inquiring about here.  Seems I have a few options:

1)  Make the existing Win32 code work for what I'm doing;

2)  Convert what I have to the Linux platform and use what's actually
available and current in the SWORD Project;

3)  Work to bring the work you all have done into the current Windows /
.Net Framework environment;

4)  Give up and go another route;

 

I'm leaning toward the third, but I don't want to step on any toes. It will
involve:

. Work out design issues (such as .Net only or .Net as a wrapper,
Azure compatibility)

. Create MS VC++ Project(s) / Solution

. Import code pages (mostly .cpp and .h pages presumably)

. Work out build issues for both 32 and 64 bit platforms

. Test the results (beginning with my own existing projects)

. Share the code, preferably using a method you all are used to
using

. Maintain the code (including changes to the main code base),
possibly as a new branch of the existing code

 

I'm willing to take this on if it's something that will be used by others
and, hopefully, supported by others as well.

 

I have to admit that my VC++ skills need improvement since I spend most of
my time in C#.  But it's a welcome chance to build my skill set. But, of
course, any help would be greatly appreciated, especially in understanding
both the current state and plans for the existing code base.

 

Regarding the other options listed above:

1)  I have successfully accessed the sword.dll file from C#.  It
required creating two separate wrapper classes and obtaining the mangled
name using a utility provided with Visual Studio.  There are shortcomings to
this approach including extensive coding and performance hits.  We can
discuss those if a decision is made to move forward;

2)  I think I individually, we as contributors and potential
contributors, as well as others who will come on later will all lose out
without a viable, up-to-date interface for Windows VS development;

3)  Bringing the code into current Windows, Visual Studio and .Net
Framework development;

4)  I like what's been accomplished in the SWORD Project and I want to
both use it and contribute to it.

 

I look forward to hearing from you all, especially those who currently work
in Windows development with this code.

 

Jeff Becker

 

 

 

 

___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] Greek/Hebrew Reader screenshots

2021-06-25 Thread Jeff Becker
Troy,

 

I get a complete build on the sword-build-win32 
sword\bindings\csharp\Sword.csproj which includes the NativeMethods class. That 
class seems to be calls to a libsword.dll which I haven’t been able to locate.

 

I’m unable to build the SWORD project but the reasons change as I correct the 
problems. My guess is it’s related to the particular VS 2017 configuration on 
my machine.

 

The latest problem with a downloaded SWORD dll was missing dependencies 
probably caused by Microsoft changing how they structure some libraries.  I 
tried to get the earlier version installed but was unsuccessful.

 

Do you have a SWORD dll without dependencies?  This might give me a better idea 
of what’s happening on my system.  

 

Thank you,

Jeff

 

From: sword-devel [mailto:sword-devel-boun...@crosswire.org] On Behalf Of Troy 
A. Griffitts
Sent: Saturday, June 19, 2021 2:25 AM
To: sword-devel@crosswire.org
Subject: Re: [sword-devel] Greek/Hebrew Reader screenshots

 

Hey guys,

Is there anything I can do to help here?  I'm not sure I understand the problem.

Bob Eaton wrote to the list on 6/8 that he was able to get things compiled and 
working.  Why do we still have a problem to solve?

Let me know if I can help.

As a side, if we do still have trouble, SWORD can be configured to compile with 
no dependencies.  If you can successfully create a simple project to build a 
simple C# class which calls a simple C++ class, then you should be able to call 
SWORD from C#.  Maybe starting from a simple project without SWORD involved 
might be the best place to start.  From there, you should be able to drop all 
the SWORD classes.  If you get that working, then you can introduce 
dependencies to SWORD to extend functionality.

Hope we get things working for everyone,

Troy

 

On 6/19/21 10:58 AM, Tobias Klein wrote:

Maybe Daniel Hughes can help? I think he is the original author of the SWORD C# 
bindings, which were added in April 2014.

Best regards,
Tobias

On 6/16/21 8:02 PM, Tobias Klein wrote:

Jeff, I am not familiar with the C# bindings of SWORD. Somebody else will have 
to step in.

 

Best regards,

Tobias

 

Am 16. Juni 2021 13:00:00 schrieb "Jeff Becker"  <mailto:jbec...@fiveviews.com> 
:

Tobias,

 

I’m sorry for the confusion that I’m having (and seem to be sharing).  

 

I get a clean build on the sword-build-win32 sword\bindings\csharp\Sword.csproj 
which includes the NativeMethods class.  That class is made up of DLLIMPORT 
calls to a ‘libsword.dll’.  However, when I step through the code it won’t load 
the dll specified even when I change the name or relative path.  I have checked 
the dllName (DLLNAME const) and the reference points to a copy of the 
sword.dll.  That leads me to believe that it’s actually a call to a dependency 
that’s causing the problem. PEStudio has pointed me to various missing 
dependencies.  I’m not sure of the algorithm that it uses to determine those 
dependencies as its focus is actually on viral threat assessment.

 

It’s currently showing:

libbz2.dll

liblzma.dll

libcurl.dll

icuin65

icuuc65.dll

kernel32.dll

msvcp140.dll

vcruntime140.dll

api-ms-win-crt-runtime-l1-1-0.dll

api-ms-win-crt-heap-l1-1-0.dll

api-ms-win-crt-string-l1-1-0.dll

api-ms-win-crt-stdio-l1-1-0.dll

api-ms-win-crt-convert-l1-1-0.dll

api-ms-win-crt-filesystem-l1-1-0.dll

api-ms-win-crt-environment-l1-1-0.dll

api-ms-win-crt-time-l1-1-0.dll

api-ms-win-crt-math-l1-1-0.dll

 

The first five are part of sword.  The next three aren’t a problem.  But the 
‘api-ms-win-crt-…’ have been rolled up into libraries.  I’ve tried several 
different methods to install them but all I get are the new version.  This is a 
new computer and new installation of Windows 10. I’m guessing that this would 
run if I had installed the earlier version of the Redistributable (VS2015, 
VS2017) these would have installed.  But the currently available version 
doesn’t include these dlls.  It only includes the new libraries which replace 
those listed here.

 

I’ve tried to verify the existence of the entry points but I’m certain that it 
would give a different error than the ‘cannot load’ error that always comes up.

 

Could this be what’s been giving me problems?

 

Again, thank you so much for the help,

 

Jeff

 

From: Tobias Klein [mailto:cont...@tklein.info] 
Sent: Monday, June 14, 2021 11:19 PM
To: Jeff Becker
Subject: Re: [sword-devel] Greek/Hebrew Reader screenshots

 

Hi Jeff,

I do not have another/later set of SWORD dlls.

What do you mean when you say "NativeMethods class"?

I am not sure right now where the name of the SWORD.dll is configured. 
Potentially in the SWORD CMake configuration.

This is what is done for building SWORD (once all the dependencies are 
available):

cmake -B build\sword -G "Visual Studio 16 2019" -A Win32 ^
  -DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=TRUE ^
  -DBZIP2_LIBRARY=%cd%\%2\libbz2.lib ^
  -DBZIP2_INCLUDE_DIR=%cd%\bzip2 ^
  

Re: [sword-devel] Greek/Hebrew Reader screenshots

2021-06-11 Thread Jeff Becker
I'm impressed with all that I see in this project. The more that I learn about 
the SWORD Project, as I dig into the code and all that has been done, the more 
impressed I become.  I think this is an impressive work and everyone involved 
should be honored as part of it.

But I keep hitting roadblocks.  

I'm trying to get a compile of Ezra/sword-build-win32 on Visual Studio 2017 on 
Windows 10 (I have the community version installed at home where I'm working).  
It appears that there was some attempt to overcome problems with Visual Studio 
versions but there seems to be a disconnect in the batch files. So, with minor 
tweaks, I get compiles on everything except build_sword.bat. A change to the 
.bat file got an actual attempt at a compile. Some missing .h files were soled 
with added some Include paths. Then some missing C files were flagged. Tried to 
fix that and it all blew up.

I've also tried to take dlls from other repositories in an attempt to bypass 
the compile problems but run into other version issues with Windows 10 and  VS 
2017 (missing msvcr80.dll and msvcp80.dll among others).  

I don't want to be a burden. I also don't want to give up trying. I'd like to 
contribute but I also want my contribution to be effective. And I don't have 
unlimited time to resolve these issues on my own.  

I think I've explained what I'm trying to do so I won't bore you with another 
long explanation, but simply put, I'd like to access data so I can use it in C# 
and ASP.Net.

I'm not sure if I should wait for another sword-build-win32 build or try to fix 
what I can. 

Any advice?  Am I missing something?

Thanks for all of your patience.

Jeff Becker


-Original Message-
From: sword-devel [mailto:sword-devel-boun...@crosswire.org] On Behalf Of Peter 
Von Kaehne
Sent: Tuesday, June 08, 2021 5:41 AM
To: sword-devel@crosswire.org
Subject: Re: [sword-devel] Greek/Hebrew Reader screenshots

Gesendet: Dienstag, 08. Juni 2021 um 12:42 Uhr
Von: "Bob Eaton" 

> P.S. my version of CSSword has a fix for the problem of the 1.9.0 sources not 
> displaying non-roman scripts well in the data returned by the install 
> manager. I think the fix is two-part, one in libsword.dll and one in 
> CSSword.dll. How do I communicate the fixes to the folks responsible for the 
> source code?
 
Wrt libsword - open a bug report (unless it already exists) in JIRA and attach 
any patches you have to it. One of us will pick it up and if it makes sense 
apply it. If it is in a filter, likely me, if it is more profound, likely Troy 
will need to look at it. Send an email onto the list with reference to the 
issue opened just for completeness sake 

http://tracker.crosswire.org/projects/API/issues/API-217?filter=allopenissues

Peter 
 
 

From: sword-devel  On Behalf Of Jeff Becker
Sent: Saturday, June 5, 2021 4:24 AM
To: 'SWORD Developers' Collaboration Forum' 
Subject: Re: [sword-devel] Greek/Hebrew Reader screenshots
 
Tobias,
 
Thanks for the reply.  I’m still getting the lay-of-the-land in what has been 
done in the SWORD Project so pardon me if I sound like a bit of a newb.
 
As for what I’m trying to do, the long and the short of it is this:
I’m looking for from SWORD is content, including:

Bible translations,Greek and Hebrew Texts,Strong’s numbers and content,Bible 
dictionaries,section headers,parallel references,etc.
which can be delivered (preferably) via IIS / .Net / COM / C#, etc. to a 
reader. The current version is HTML 5, JavaScript and CSS tested primarily in 
Firefox and delivered via IIS from a C# application. The content is ‘borrowed’ 
from BibleHub’s Interlinear pages and even though I’m the only user I feel like 
I’m not respecting their licensing.
 
So, the easiest way for me to move my work forward is to find a way to access 
SWORD content in C#. 
 
How do I do that?
 
I was assuming that the Win32 interface could be used in a C# application to 
access Bible translations and other materials which could then be delivered to 
Web browsers via IIS on the Windows Server platform. That usually requires 
implementing either a COM or .Net compatible interface in a DLL.  I hope I’m 
not over-explaining but I know that most in this group uses Linux based systems 
and I’ve also seen mention of Borland development tools on Windows.
 
What technology are you considering for the frontend side?
 
I’ve spent most of my programming time for the last few decades in Visual 
Studio and do most of my work in C#.  It’s a well-rounded language and 
simplifies a lot of the usual peculiarities of C programming.  My professional 
focus is on business database applications with Web delivery, either in 
Internet, Intranet or Extranet environments.
 
Any specific JS or CSS libraries/frameworks?
 
The simple answer to your question is: vanilla Javascript and pure CSS in 
HTML5.  Honestly, I’ve been programming for decades and after watching and 
participating in the comings and goings of many frameworks a

Re: [sword-devel] Greek/Hebrew Reader screenshots

2021-06-05 Thread Jeff Becker
 of Ezra Bible App.

To be exact you find the dlls in the release:

https://github.com/ezra-bible-app/sword-build-win32/releases/tag/v1.8.900-2020-11-04

 

As I tried to implement the dll in a Web application I found that I also had to 
compile the c++ code (libsword) in order to use the c# dll.

I don’t understand this statement.

Why did you have to compile C++ code?

My understanding is that you can include DLLs also via C# (and this works in 
other languages like Python, too) and use them directly without any additional 
C/C++ compilation necessary.

 

With that I’m also wondering if the appropriate dlls (from c++ source code) 
might be included in a later version of the Win32 code on Github.

I will keep releasing new builds of SWORD as I need them for Ezra Bible App.

I actually need to perform one soon, because I would like to utilize Troy’s 
latest changes regarding the extraction of section headers.

However, with trunk there are currently still CMake build issues on Windows 
(Did you have a chance to look into this, Greg?).

 

One alternative for your C# server side implementation could be to use 
node-sword-interface and serve the requests via node.js. I have been thinking 
about implementing a web-based backend for Ezra Bible App on this basis at some 
point.

 

What technology are you considering for the frontend side?

Any specific JS or CSS libraries/frameworks?

Are you planning to use or develop reusable web components?

 

Jeff, good luck with your efforts!

 

Best regards,

Tobias





Am 01.06.2021 um 14:03 schrieb Jeff Becker :

 

Tobias (et al),

 

I’ve downloaded the Win32 code and had a successful compile.  As I tried to 
implement the dll in a Web application I found that I also had to compile the 
c++ code (libsword) in order to use the c# dll.  Not a problem but as I was 
setting up my new computer with the rather cumbersome c++ environment it 
occurred to me that it might be easier to ask for help.

 

I’m wondering if it’s possible to get a compiled dll from another developer 
that will run (safely and securely) in my environment. 

 

Since I don’t have any other reasons to develop in c++ at this time I might be 
able to avoid the gyrations of getting everything downloaded and configured.  
It seems that there might be others who would also be interested in c# 
development who would also be benefitted from it. With that I’m also wondering 
if the appropriate dlls (from c++ source code) might be included in a later 
version of the Win32 code on Github.

 

I’m just getting familiar with the code so I don’t know how much I’m really 
asking.  Is it a simple matter to get a copy of the dlls from someone else or 
do I have to compile myself in my own environment?

 

Thanks,

 

Jeff

 

From: sword-devel [ <mailto:sword-devel-boun...@crosswire.org> 
mailto:sword-devel-boun...@crosswire.org] On Behalf Of Jeff Becker
Sent: Monday, May 24, 2021 4:28 AM
To: 'SWORD Developers' Collaboration Forum'
Subject: Re: [sword-devel] Greek/Hebrew Reader screenshots

 

Tobias,

 

Thank you for the feedback. I agree that the parabible is as similar to what 
I’m trying to accomplish as anything I’ve found so far.  I will definitely 
contact the author.

 

Regarding the DLLs, since Win32 is reaching the end of its support I’d like to 
update to 64-bit technology including later versions of .Net framework. Doing 
so may provide significant improvements in ease of programming and performance. 
 If it’s all right with you I’ll try to start with the Win32 code that you have 
on GitHub and work from there.  I’d appreciate hearing your thoughts and goals 
for that code when it was created so I can keep with that as much as is 
practical.  However, I would like to keep an open mind.  Sometimes it might be 
more advantageous to start fresh in order to take full advantage of changing 
technologies.

 

I would also appreciate any guidance in keeping with SWORD protocols and 
practices so that any work that is done can be readily used by others.

 

I think I have what I need to get started.  After I’m familiar with the 
available code I’ll come back with any design / redesign questions for 
discussion.

 

Thanks again to all for the help,

 

Jeff

 

From: sword-devel [ <mailto:sword-devel-boun...@crosswire.org> 
mailto:sword-devel-boun...@crosswire.org] On Behalf Of Tobias Klein
Sent: Sunday, May 23, 2021 4:55 AM
To:  <mailto:sword-devel@crosswire.org> sword-devel@crosswire.org
Subject: Re: [sword-devel] Greek/Hebrew Reader screenshots

 

Hi Jeff,

I have recently discovered this:

 <https://github.com/parabible/parabible-client> 
https://github.com/parabible/parabible-client

 <https://parabible.com/> https://parabible.com/

Maybe you should contact the author ... seems similar to what you have been 
describing and showing ... also webserver / webclient based architecture.

Regarding a functioning SWORD build for Windows (DLLs built with latest MSVS 
compilers ...

Re: [sword-devel] Greek/Hebrew Reader screenshots

2021-06-01 Thread Jeff Becker
Tobias (et al),

 

I've downloaded the Win32 code and had a successful compile.  As I tried to
implement the dll in a Web application I found that I also had to compile
the c++ code (libsword) in order to use the c# dll.  Not a problem but as I
was setting up my new computer with the rather cumbersome c++ environment it
occurred to me that it might be easier to ask for help.

 

I'm wondering if it's possible to get a compiled dll from another developer
that will run (safely and securely) in my environment. 

 

Since I don't have any other reasons to develop in c++ at this time I might
be able to avoid the gyrations of getting everything downloaded and
configured.  It seems that there might be others who would also be
interested in c# development who would also be benefitted from it. With that
I'm also wondering if the appropriate dlls (from c++ source code) might be
included in a later version of the Win32 code on Github.

 

I'm just getting familiar with the code so I don't know how much I'm really
asking.  Is it a simple matter to get a copy of the dlls from someone else
or do I have to compile myself in my own environment?

 

Thanks,

 

Jeff

 

From: sword-devel [mailto:sword-devel-boun...@crosswire.org] On Behalf Of
Jeff Becker
Sent: Monday, May 24, 2021 4:28 AM
To: 'SWORD Developers' Collaboration Forum'
Subject: Re: [sword-devel] Greek/Hebrew Reader screenshots

 

Tobias,

 

Thank you for the feedback. I agree that the parabible is as similar to what
I'm trying to accomplish as anything I've found so far.  I will definitely
contact the author.

 

Regarding the DLLs, since Win32 is reaching the end of its support I'd like
to update to 64-bit technology including later versions of .Net framework.
Doing so may provide significant improvements in ease of programming and
performance.  If it's all right with you I'll try to start with the Win32
code that you have on GitHub and work from there.  I'd appreciate hearing
your thoughts and goals for that code when it was created so I can keep with
that as much as is practical.  However, I would like to keep an open mind.
Sometimes it might be more advantageous to start fresh in order to take full
advantage of changing technologies.

 

I would also appreciate any guidance in keeping with SWORD protocols and
practices so that any work that is done can be readily used by others.

 

I think I have what I need to get started.  After I'm familiar with the
available code I'll come back with any design / redesign questions for
discussion.

 

Thanks again to all for the help,

 

Jeff

 

From: sword-devel [mailto:sword-devel-boun...@crosswire.org] On Behalf Of
Tobias Klein
Sent: Sunday, May 23, 2021 4:55 AM
To: sword-devel@crosswire.org
Subject: Re: [sword-devel] Greek/Hebrew Reader screenshots

 

Hi Jeff,

I have recently discovered this:

https://github.com/parabible/parabible-client

https://parabible.com/

Maybe you should contact the author ... seems similar to what you have been
describing and showing ... also webserver / webclient based architecture.

Regarding a functioning SWORD build for Windows (DLLs built with latest MSVS
compilers ...) - have a look here:

https://github.com/ezra-bible-app/sword-build-win32

A general thought regarding web-based frontends ...
There are now web components since a few years - a standard that enables
easier re-use of web-based components across applications.
Have a look here:

https://developer.mozilla.org/en-US/docs/Web/Web_Components

I have been starting to use web components in Ezra Bible App ... and if you
also work on certain frontend components maybe there is a possibility for
sharing things!

Best regards,
Tobias

On 5/23/21 3:19 AM, Jeff Becker wrote:

Thank you for the feedback (not included here).  

 

I think I've figured out what I'd like to do:

1.   Stay with Web delivery of this content

1.   Screenshot_1
<http://bible.fiveviews.net/Images/ScreenShots/Screenshot_2021-05-15-20-33-0
4.png>Screenshot_2
<http://bible.fiveviews.net/Images/ScreenShots/Screenshot_2021-05-15-20-18-4
3.png>Screenshot 3
<http://bible.fiveviews.net/Images/ScreenShots/Screenshot_2021-05-15-20-30-1
4.png>   Screenshot 4
<http://bible.fiveviews.net/Images/ScreenShots/Screenshot_2021-05-15-20-53-4
0.png>   (see details below)

2.   Implement the Crosswire / SWORD Project content (adhering to all
applicable licensing)

1.   Including multilingual content and flexibility (English only seems
short-sighted)

3.   Continue developing in ASP.Net / IIS / Visual Studio / CLR

1.   Even after considering all of the suggestions and reviewing
available applications (partly because it's my wheelhouse)

4.   Develop reusable code for the MS platform and make it available for
download  

1.   I'd like to see a wrapper that parallels the existing Crosswire /
SWORD Project code base so that developers can easily implement it in VS20xx


2.   

Re: [sword-devel] Greek/Hebrew Reader screenshots

2021-05-24 Thread Jeff Becker
Tobias,

 

Thank you for the feedback. I agree that the parabible is as similar to what
I'm trying to accomplish as anything I've found so far.  I will definitely
contact the author.

 

Regarding the DLLs, since Win32 is reaching the end of its support I'd like
to update to 64-bit technology including later versions of .Net framework.
Doing so may provide significant improvements in ease of programming and
performance.  If it's all right with you I'll try to start with the Win32
code that you have on GitHub and work from there.  I'd appreciate hearing
your thoughts and goals for that code when it was created so I can keep with
that as much as is practical.  However, I would like to keep an open mind.
Sometimes it might be more advantageous to start fresh in order to take full
advantage of changing technologies.

 

I would also appreciate any guidance in keeping with SWORD protocols and
practices so that any work that is done can be readily used by others.

 

I think I have what I need to get started.  After I'm familiar with the
available code I'll come back with any design / redesign questions for
discussion.

 

Thanks again to all for the help,

 

Jeff

 

From: sword-devel [mailto:sword-devel-boun...@crosswire.org] On Behalf Of
Tobias Klein
Sent: Sunday, May 23, 2021 4:55 AM
To: sword-devel@crosswire.org
Subject: Re: [sword-devel] Greek/Hebrew Reader screenshots

 

Hi Jeff,

I have recently discovered this:

https://github.com/parabible/parabible-client

https://parabible.com/

Maybe you should contact the author ... seems similar to what you have been
describing and showing ... also webserver / webclient based architecture.

Regarding a functioning SWORD build for Windows (DLLs built with latest MSVS
compilers ...) - have a look here:

https://github.com/ezra-bible-app/sword-build-win32

A general thought regarding web-based frontends ...
There are now web components since a few years - a standard that enables
easier re-use of web-based components across applications.
Have a look here:

https://developer.mozilla.org/en-US/docs/Web/Web_Components

I have been starting to use web components in Ezra Bible App ... and if you
also work on certain frontend components maybe there is a possibility for
sharing things!

Best regards,
Tobias

On 5/23/21 3:19 AM, Jeff Becker wrote:

Thank you for the feedback (not included here).  

 

I think I've figured out what I'd like to do:

1.   Stay with Web delivery of this content

1.   Screenshot_1
<http://bible.fiveviews.net/Images/ScreenShots/Screenshot_2021-05-15-20-33-0
4.png>Screenshot_2
<http://bible.fiveviews.net/Images/ScreenShots/Screenshot_2021-05-15-20-18-4
3.png>Screenshot 3
<http://bible.fiveviews.net/Images/ScreenShots/Screenshot_2021-05-15-20-30-1
4.png>   Screenshot 4
<http://bible.fiveviews.net/Images/ScreenShots/Screenshot_2021-05-15-20-53-4
0.png>   (see details below)

2.   Implement the Crosswire / SWORD Project content (adhering to all
applicable licensing)

1.   Including multilingual content and flexibility (English only seems
short-sighted)

3.   Continue developing in ASP.Net / IIS / Visual Studio / CLR

1.   Even after considering all of the suggestions and reviewing
available applications (partly because it's my wheelhouse)

4.   Develop reusable code for the MS platform and make it available for
download  

1.   I'd like to see a wrapper that parallels the existing Crosswire /
SWORD Project code base so that developers can easily implement it in VS20xx


2.   Possibly a dll that runs under MS Common Language Runtime (CLR) so
that it's readily available for C#, VB, C++, etc. developers (I'm not sure
if just making source code available is enough)

5.   Find or develop a database of English (or any available language)
words derived from Biblical Greek words

1.   Does anyone know anything about 'English derivatives from the Greek
New Testament' by Charles Van der Pool?

 

So, if that's acceptable, I could use some help getting started:

6.   Advice from others who have developed in Visual Studio (the latest
code that I was able to find was for VS 2013)

7.   A document or Wiki that would get content available in Windows 10,
Windows Server 2019, etc.

8.   Instructions on how to make this compliant with Crosswire / SWORD
Project standards including licensing of content

 

Thanks again for any help you can provide.

 

Jeff Becker

 

From: sword-devel [mailto:sword-devel-boun...@crosswire.org] On Behalf Of
Jeff Becker
Sent: Saturday, May 15, 2021 9:09 PM
To: 'SWORD Developers' Collaboration Forum'
Subject: [sword-devel] Greek/Hebrew Reader screenshots

 

Here are some screenshots of the Greek/Hebrew Reader that I've been
describing.

 

Some points of interest:

1.   'guid=' in URL just indicates the user id used as a record key for
preferences and bookmarks on the server;

2.   Navigation buttons shift to l

Re: [sword-devel] Greek/Hebrew Reader screenshots

2021-05-22 Thread Jeff Becker
Thank you for the feedback (not included here).  

 

I think I've figured out what I'd like to do:

-  Stay with Web delivery of this content

o   Screenshot_1
<http://bible.fiveviews.net/Images/ScreenShots/Screenshot_2021-05-15-20-33-0
4.png>Screenshot_2
<http://bible.fiveviews.net/Images/ScreenShots/Screenshot_2021-05-15-20-18-4
3.png>Screenshot 3
<http://bible.fiveviews.net/Images/ScreenShots/Screenshot_2021-05-15-20-30-1
4.png>   Screenshot 4
<http://bible.fiveviews.net/Images/ScreenShots/Screenshot_2021-05-15-20-53-4
0.png>   (see details below)

-  Implement the Crosswire / SWORD Project content (adhering to all
applicable licensing)

o   Including multilingual content and flexibility (English only seems
short-sighted)

-  Continue developing in ASP.Net / IIS / Visual Studio / CLR

o   Even after considering all of the suggestions and reviewing available
applications (partly because it's my wheelhouse)

-  Develop reusable code for the MS platform and make it available
for download  

o   I'd like to see a wrapper that parallels the existing Crosswire / SWORD
Project code base so that developers can easily implement it in VS20xx 

o   Possibly a dll that runs under MS Common Language Runtime (CLR) so that
it's readily available for C#, VB, C++, etc. developers (I'm not sure if
just making source code available is enough)

-  Find or develop a database of English (or any available language)
words derived from Biblical Greek words

o   Does anyone know anything about 'English derivatives from the Greek New
Testament' by Charles Van der Pool?

 

So, if that's acceptable, I could use some help getting started:

-  Advice from others who have developed in Visual Studio (the
latest code that I was able to find was for VS 2013)

-  A document or Wiki that would get content available in Windows
10, Windows Server 2019, etc.

-  Instructions on how to make this compliant with Crosswire / SWORD
Project standards including licensing of content

 

Thanks again for any help you can provide.

 

Jeff Becker

 

From: sword-devel [mailto:sword-devel-boun...@crosswire.org] On Behalf Of
Jeff Becker
Sent: Saturday, May 15, 2021 9:09 PM
To: 'SWORD Developers' Collaboration Forum'
Subject: [sword-devel] Greek/Hebrew Reader screenshots

 

Here are some screenshots of the Greek/Hebrew Reader that I've been
describing.

 

Some points of interest:

-  'guid=' in URL just indicates the user id used as a record key
for preferences and bookmarks on the server;

-  Navigation buttons shift to left for Hebrew to be out of the way
as much as possible;

-  Bookmark is stored when a verse reference number is
clicked/touched;

-  Shaded bookmark (paperclip) button: shaded at top means that
server has outdated info, bottom means bookmarks need to be downloaded;

-  Font enlarge and shrink buttons (per device basis);

-  Arrow buttons: up/down to top/bottom; center button scrolls to
current bookmark; left goes to previous chapter/book; right to next
chapter/book;

-  Banner at top displays relevant information and links (I'd like
to make this customizable for readers of varying skill levels);

-  Options panel displays when bookmark (paperclip) is clicked;

-  'Select / Go To Bookmark' displays select of stored bookmarks
(per user based on guid, see additional screenshot);

-  Books are marked as 'Done' when on the last chapter of the book
and the 'Next Chapter/Book' button is selected;

-  Reading plan is selected through select prompt;

-  Red text on Upload / Download buttons shows that client or server
has later information (also displayed in shading of paperclip nav button);

-  'Move verse to top on Click' scrolls bookmarked verse to top of
window when verse number is clicked;

-  'Store v1 on Next Chapter Click' automatically updates current
bookmark to next chapter/book when Next button is clicked;

-  Current bookmark is displayed;

-  Previous / Next are chapters in reading plan (not that 'Next'
shows Matthew 1 after Mark 16 based on Daniel Wallace's reading plan;

-  Cookies are for debugging purposes;

-  Text is currently just a cleaned up version of the BibleHub
Interlinear page;

 

The BibleHub page content is the main problem that I'd like to change next
and, as such, is the main reason for all of this communication.  I'd like to
replace it with licensed content that is easier to control and display.

 

I hope that explains things better.

 

Jeff

___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] English transliteration of Greek or Hebrew words

2021-05-17 Thread Jeff Becker
 not started yet ... but will soon.

The interlinear visualization used by BibleHub is actually nice! I could
imagine to do something similar in Ezra Bible App.

I am currently not targeting mobile use with Ezra, but certainly tablets
(Windows and Android) and the user interface is also touch-based. In the
future we may see an iPad version as well.

You already find a strongs dictionary functionality in Ezra, similar to what
other frontends are doing, with the typical mouse-over strongs-word /
dictionary update. But that only works on the desktop due to the mouseover
limitation.

Focussing more on being touch-friendly is one of my goals for new
functionality in Ezra. In fact, for me personally my Android tablet has
become the primary device for this software ... at least for casual study.

I'd also be curious to see screenshots of your work!

I'll be keeping you posted whenever I have something ready to try. I am
personally not a Greek/Hebrew expert, but nevertheless I enjoy some
tool-based original language study. I'd be happy about getting feedback from
users like you in the future!

Blessings,
Tobias

On 5/15/21 10:23 AM, Jeff Becker wrote:

Tobias (et al),

 

I've been developing and using (for my own personal edification) a
Greek/Hebrew reader that responds to touch/click with English translation,
Strong's numbers (with links) and a parsing code (gender, number, case,
person, etc.) 

 

I've decided to either find something that meets my growing needs or make
it. But to do so requires data.  The current version is based upon a
reformatting of a free interlinear using C#, JavaScript, HTML5 and T-SQL
(MSSQL). 

 

If you're working on one I'd like to discuss joining our efforts if our
goals are compatible.  Otherwise, I'm looking at the possibility of using
the resources available through the SWORD project as a basis for my efforts.

 

My goals are (in no particular order):

-  An easy to use phone, tablet and desktop app (already in current
version)

-  Touch/click responses by displaying various information
(lexicography, parsing) (already in current version)

-  Ability to select various reading plans such as canonical order,
Daniel Wallace's One Year reading plan, chronological based on writing
(already in current version)

-  Stored bookmarks (client and server storage shared across
individual user's computers) (already in current version)

-  Derived words in common language such as transliterations as a
memory reinforcement tactic (eg. 'geo' - 'graphy');

-  Ability to substitute other languages for English translations /
transliterations;

 

I can't post a link here because I haven't received permission or reuse the
source material (BibleHub's Greek-English and Hebrew-English Interlinear).
I am currently the only person using it.  I've done so to avoid any ethical
or legal infringement on the source material.

 

If you or anyone else reading this are interested in working together I'd be
happy to share my relevant code and experience.

 

Jeff Becker

 

From: sword-devel [mailto:sword-devel-boun...@crosswire.org] On Behalf Of
Tobias Klein
Sent: Saturday, February 27, 2021 9:44 AM
To: SWORD Developers' Collaboration Forum
Subject: [sword-devel] English transliteration of Greek or Hebrew words

 

Hi,

 

I am planning an interlinear view component for Ezra Project and as part of
that I would like to show English transliterations of Greek or Hebrew words.

 

I found these JavaScript/TypeScript based packages, which could be useful:
https://github.com/charlesLoder/greek-transliteration

https://github.com/charlesLoder/hebrew-transliteration

 

Do you know of any other solutions out there?

 

Best regards,
Tobias





___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page





___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] English transliteration of Greek or Hebrew words

2021-05-15 Thread Jeff Becker
Michael,

 

The application has a semi-transparent navigation panel in the corner that 
looks like a TV remote with one of the buttons opening an options panel.  The 
reading plan is selected in the options panel and then the next and previous 
buttons on the navigation panel go to the next/previous item on the list which 
is stored in the server’s database.  Currently it’s on a chapter-by-chapter 
basis but I’m building in chapter-verse capability where it’s practical.  
Eventually I’d like to have a complete OT and NT chronology that harmonizes not 
only the gospels but also the books and passages of the OT such as Kings and 
Chronicles.

 

I’ll share a link as soon as I can get a response from BibleHub. If anyone 
knows someone over there maybe could you ask them to contact me regarding 
permission?

 

If it’s important I can make some screenshots from portable devices.  I guess 
that’s something I should do regardless.  I’ll get back to you with those.  
Feel free to incorporate any of these ideas in what you’re doing.

 

Jeff

 

From: sword-devel [mailto:sword-devel-boun...@crosswire.org] On Behalf Of 
Michael H
Sent: Saturday, May 15, 2021 6:28 PM
To: SWORD Developers' Collaboration Forum
Subject: Re: [sword-devel] English transliteration of Greek or Hebrew words

 

You wrote: -  Ability to select various reading plans such as canonical 
order, Daniel Wallace’s One Year reading plan, chronological based on writing 
(already in current version)

Can you share a screenshot showing how that's implemented?  is it a 
forward/back button that works like a bookmark ... taking you to the next 
point, or a menu selection, or are you displaying only the sections for each 
reading?


Specifically, I'm at 85% reproducing a Harmonized NT which provides a narrative 
sequence and also provides alternate readings as annotations (footnotes). If 
your 'reading list' can take a list of verses that includes section titles and 
a list of verses that are annotations, maybe I can provide your app data for a 
harmonized Bible (I have an Harmonized/Chronological Old Testament blocked out 
to follow the NT methodology, but it's maybe 5% along it's production path.)

___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] English transliteration of Greek or Hebrew words

2021-05-15 Thread Jeff Becker
Troy,

 

I wish I was comfortable sharing the link to my site.  I could try again to get 
permission from BibleHub. I offered to give them the code but never received a 
response.

 

The link you shared below is along the same lines as what I’ve done and am 
working toward.  

 

In a word, I’m trying to create a Reader. One which will aid in developing my 
speed and competence in reading and translating from Greek/Hebrew to English, 
but without the limitations of a text-only version.  As a former student of 
Biblical Greek and Hebrew at the graduate level I think I can speak for others 
when I say that this is a very useful tool.

 

I think I would describe my goals as keeping the interface simple and small. 
Simple in that it normally displays only Greek so that my brain doesn’t try to 
cheat as I’m translating. Clicking any Greek word displays a banner across the 
top (or adjacent to the word) with basic information about the selected word.  
The banner contains links that I can click for more information if needed. And 
small in that go-anywhere portable devices can easily display the content. I 
used it on an old Smartphone that had a width of 480 pixels and it worked 
great. 

 

My long-term goal is a primer that eases the student into the Reader as their 
skills and vocabulary develop.  I guess, like many on this project, I’m a 
teacher at heart but also have personal goals that technology can help me 
achieve.

 

I could cobble together an English-only version from available public domain 
databases but that seems too limiting.  I’m been on the Crosswire email list 
since late 2008 and I appreciate the amazing efforts of everyone involved here. 
 Taking what I’m doing to the next level would be greatly enhanced with the 
content and capabilities of what’s been accomplished here. So, rather than 
looking only to my own needs, I could put the same amount of effort into 
integrating with what’s been accomplished here to make something so much more 
than just a personal version for myself.

 

So, if you or anyone else reading this has already accomplished this I’d love 
to see it (and it would save me a lot of work). Joining with an effort already 
in progress makes a lot of sense if it accomplishes the desired goals (and 
probably more). Otherwise, any assistance in taking what I have to the next 
level would be greatly appreciated, and that includes making it available to 
others to use and improve.

 

Jeff

 

 

From: sword-devel [mailto:sword-devel-boun...@crosswire.org] On Behalf Of Troy 
A. Griffitts
Sent: Saturday, May 15, 2021 2:45 AM
To: sword-devel@crosswire.org
Subject: Re: [sword-devel] English transliteration of Greek or Hebrew words

 

Dear Jeff,

Most all of our frontend do what I think you'd like.  Here is an example.  
Click on any word:

https://crosswire.org/study/parallelstudy.jsp?del=all 
<https://crosswire.org/study/parallelstudy.jsp?del=all=KJV=TR=Treg=NASB>
 =KJV=TR=Treg=NASB

Bishop (ios and android) has a language assist mode which allow easy lookup of 
Greek and Hebrew help while reading, which I use regularly.  It doesn't word 
click because of my small fingers, but I think the user interface is nicer for 
a mobile device, allowing fonts to be kept small and still allowing access to 
individual word help.

Thank you for your willingness to share in work together,

Troy

 

On 5/15/21 1:23 AM, Jeff Becker wrote:

Tobias (et al),

 

I’ve been developing and using (for my own personal edification) a Greek/Hebrew 
reader that responds to touch/click with English translation, Strong’s numbers 
(with links) and a parsing code (gender, number, case, person, etc.) 

 

I’ve decided to either find something that meets my growing needs or make it. 
But to do so requires data.  The current version is based upon a reformatting 
of a free interlinear using C#, JavaScript, HTML5 and T-SQL (MSSQL). 

 

If you’re working on one I’d like to discuss joining our efforts if our goals 
are compatible.  Otherwise, I’m looking at the possibility of using the 
resources available through the SWORD project as a basis for my efforts.

 

My goals are (in no particular order):

1.   An easy to use phone, tablet and desktop app (already in current 
version)

2.   Touch/click responses by displaying various information (lexicography, 
parsing) (already in current version)

3.   Ability to select various reading plans such as canonical order, 
Daniel Wallace’s One Year reading plan, chronological based on writing (already 
in current version)

4.   Stored bookmarks (client and server storage shared across individual 
user’s computers) (already in current version)

5.   Derived words in common language such as transliterations as a memory 
reinforcement tactic (eg. ‘geo’ – ‘graphy’);

6.   Ability to substitute other languages for English translations / 
transliterations;

 

I can’t post a link here because I haven’t received permission or reuse the 
source ma

Re: [sword-devel] English transliteration of Greek or Hebrew words

2021-05-15 Thread Jeff Becker
Tobias (et al),

 

I’ve been developing and using (for my own personal edification) a Greek/Hebrew 
reader that responds to touch/click with English translation, Strong’s numbers 
(with links) and a parsing code (gender, number, case, person, etc.) 

 

I’ve decided to either find something that meets my growing needs or make it. 
But to do so requires data.  The current version is based upon a reformatting 
of a free interlinear using C#, JavaScript, HTML5 and T-SQL (MSSQL). 

 

If you’re working on one I’d like to discuss joining our efforts if our goals 
are compatible.  Otherwise, I’m looking at the possibility of using the 
resources available through the SWORD project as a basis for my efforts.

 

My goals are (in no particular order):

-  An easy to use phone, tablet and desktop app (already in current 
version)

-  Touch/click responses by displaying various information 
(lexicography, parsing) (already in current version)

-  Ability to select various reading plans such as canonical order, 
Daniel Wallace’s One Year reading plan, chronological based on writing (already 
in current version)

-  Stored bookmarks (client and server storage shared across individual 
user’s computers) (already in current version)

-  Derived words in common language such as transliterations as a 
memory reinforcement tactic (eg. ‘geo’ – ‘graphy’);

-  Ability to substitute other languages for English translations / 
transliterations;

 

I can’t post a link here because I haven’t received permission or reuse the 
source material (BibleHub’s Greek-English and Hebrew-English Interlinear).  I 
am currently the only person using it.  I’ve done so to avoid any ethical or 
legal infringement on the source material.

 

If you or anyone else reading this are interested in working together I’d be 
happy to share my relevant code and experience.

 

Jeff Becker

 

From: sword-devel [mailto:sword-devel-boun...@crosswire.org] On Behalf Of 
Tobias Klein
Sent: Saturday, February 27, 2021 9:44 AM
To: SWORD Developers' Collaboration Forum
Subject: [sword-devel] English transliteration of Greek or Hebrew words

 

Hi,

 

I am planning an interlinear view component for Ezra Project and as part of 
that I would like to show English transliterations of Greek or Hebrew words.

 

I found these JavaScript/TypeScript based packages, which could be useful:
https://github.com/charlesLoder/greek-transliteration

https://github.com/charlesLoder/hebrew-transliteration

 

Do you know of any other solutions out there?

 

Best regards,
Tobias

___
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Re: [sword-devel] .Net Exception Odd behavior...

2009-08-21 Thread Jeff Becker
It could be the same problem I ran into some time back.  The SwigSword code
destroys some pointers then tries to use them again.  Under .Net 1.0 it
wasn't a problem because the error was ignored.  Under .Net 2.0 it raises an
error and crashes the calling application.  In my case it was MS Word since
I was working on an Add-In but it would probably crash anything calling the
dll.

I'm hoping that Swig has fixed the .Net 2.0 pointer issue.  If that's the
case then the easiest approach might be to regenerate the wrapper.  I'm
guessing that the problem isn't in just one property or method since the
code relatively consistent throughout.
  -Original Message-
  From: Wade Balzer [mailto:wbal...@newjerusalem.org]
  Sent: Friday, July 31, 2009 11:42 AM
  To: sword-devel@crosswire.org
  Subject: [sword-devel] .Net Exception Odd behavior...


  I am working on a Bible project in C# for the web.  I am using the
SwigSword.dll wrapper.



  When I load the manager using the default location for the modules as
provided by the SWORD_PATH environment, it words fine and the debugger exits
without a problem.



  filterManager = new MarkupFilterMgr((char)Sword.FMT_OSIS,
(char)Sword.ENC_HTML);

  manager = new SWMgr( filterManager);



  GC.SuppressFinalize(filterManager);



  However since this will be a web environment, I need to directly point to
the Module locations without directly pointing to my local %SWORD_PATH%
variable.



  When I set the location of the config, and manually set the location of
the module path, everything seems to work fine until I exit the debugger.
It CRASHES.



  SWConfig config = new SWConfig(BaseModDir + mods.d\\global.conf);

  SWConfig sysconfig = null;



  filterManager = new MarkupFilterMgr((char)Sword.FMT_OSIS,
(char)Sword.ENC_HTML);

  //manager = new SWMgr( filterManager);

  manager = new SWMgr(config, sysconfig, false, filterManager);

  manager.configPath = BaseModDir + mods.d\\;

  manager.prefixPath = BaseModDir;

  manager.Load();



  manager.augmentModules(BaseModDir);



  GC.SuppressFinalize(filterManager);



  I am not sure why the first one works without a problem, and the second
one works, but crashes on exit.



  HELP!!!



  Thanks,



  Wade




___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page