Re: [sword-devel] Searching for entity attributes

2024-06-18 Thread David "Judah7;s Shadow" Blue
On Sunday, June 16, 2024 6:46:31 PM EDT Fred wrote: > can you do a regular-expression search? which would be: > > G11[^0123456789] > I could, as long as regex can be used with entity attribute search type. But, it feels a little cludgey, and isn't needed if the entity attribute is or becomes 0

Re: [sword-devel] Searching for entity attributes

2024-06-18 Thread David "Judah7;s Shadow" Blue
On Sunday, June 16, 2024 6:46:31 PM EDT Fred wrote: > can you do a regular-expression search? which would be: > > G11[^0123456789] > > i.e., G followed by 1, followed by 1, followed by not-a-digit. > > On Sun, Jun 16, 2024 at 3:27 AM Tobias Klein wrote: > > On 5/14

Re: [sword-devel] Building 1.9.0 against ICU 75

2024-06-18 Thread David "Judah7;s Shadow" Blue
On Monday, June 17, 2024 4:14:42 PM EDT Jaak Ristioja wrote: > The template std::enable_if_t was introduced to the C++ standard library > in C++14. However sword still builds with -std=c++11, leading to the > above failure. > > According to ICU4C configure.ac file [1] and commit 7ec1765ce87c [2] i

[sword-devel] Building 1.9.0 against ICU 75

2024-06-17 Thread David "Judah7;s Shadow" Blue
So my distro (openSUSE Tumbleweed) upgraded to ICU v75.1, this gave me all sorts of linking errors when trying to link BIBISH against sword 1.9.0. So I figured I'd rebuild the library, but now I'm getting compile errors from sword. I'm using the usrinst.sh and when I build I get the following er

Re: [sword-devel] Multiple Feature entries from getConfigEntry().

2024-06-17 Thread David "Judah7;s Shadow" Blue
On Tuesday, June 11, 2024 4:07:33 PM EDT Troy A. Griffitts wrote: > Try changing your begin and end iterator types to const, e.g. > > sword::ConfigEntMap::const_iterator > Ah yes, that compiles, I can't get it linked because my distro upgraded ICU, but that'll be another thread _

Re: [sword-devel] Multiple Feature entries from getConfigEntry().

2024-06-11 Thread David "Judah7;s Shadow" Blue
On Monday, May 20, 2024 2:37:07 PM EDT David "Judah's Shadow" Blue wrote: > On Wednesday, May 15, 2024 9:01:14 AM EDT Troy A. Griffitts wrote: > > Hi David, > > > > Yeah, so a module's config is simply a multimap. We > > extend multimap with ou

Re: [sword-devel] Multiple Feature entries from getConfigEntry().

2024-05-20 Thread David "Judah7;s Shadow" Blue
On Wednesday, May 15, 2024 9:01:14 AM EDT Troy A. Griffitts wrote: > Hi David, > > Yeah, so a module's config is simply a multimap. We > extend multimap with our own class multimapwithdefault to make it nice > to work with when there is only one entry so you can still simply say: > > SWBuf x =

Re: [sword-devel] Searching for entity attributes

2024-05-14 Thread David "Judah7;s Shadow" Blue
On Friday, May 10, 2024 10:21:19 AM EDT Troy A. Griffitts wrote: > Yes, we could add in some logic to call strongsPad during the search loop so > a Strongs entry in every Bible gets normalized before compare. That would be amazing, and would, based on my understanding of the OSHB thread, help Xip

[sword-devel] Multiple Feature entries from getConfigEntry().

2024-05-08 Thread David "Judah7;s Shadow" Blue
While I'm waiting on the issue with searching for Strong's numbers, I'm working a little more on the info command for BIBISH. I want to show what features modules have, but am not certain how to get more than just the first entry. For instance, the KJV lists Feature=NoParagraphs Feature=StrongsNum

Re: [sword-devel] Searching for entity attributes

2024-05-06 Thread David "Judah7;s Shadow" Blue
On Monday, May 6, 2024 12:17:38 PM EDT you wrote: > On Friday, May 3, 2024 6:00:59 PM EDT Troy A. Griffitts wrote: > > Have a look in sword/examples/cmdline/search.cpp We have comments near > > the top how to do a strongs search with entry attributes, and you can > > experiment easily in there. >

Re: [sword-devel] Searching for entity attributes

2024-05-06 Thread David "Judah7;s Shadow" Blue
On Friday, May 3, 2024 6:00:59 PM EDT Troy A. Griffitts wrote: > Have a look in sword/examples/cmdline/search.cpp We have comments near > the top how to do a strongs search with entry attributes, and you can > experiment easily in there. > > https://crosswire.org/svn/sword/trunk/examples/cmdline/

[sword-devel] Searching for entity attributes

2024-05-02 Thread David "Judah7;s Shadow" Blue
I'm working on a strongs command for BIBISH. I'm trying to find occurrences of a given Strong's number in a module. I've set my search type to entityattribute but am getting no results. Is there a specific way I need to construct my search terms? (eg lemma:G0) My SWMgr is set to FMT_PLAIN, woul

Re: [sword-devel] NET Bible 2.0?

2024-04-30 Thread David "Judah7;s Shadow" Blue
On Sunday, April 28, 2024 6:25:28 PM EDT Karl Kleinpaste wrote: > What's at that URL is First Edition (2006), not Second (2017). > > The difference is most easily found in the number of footnotes they're > proud to mention (60K+). That's the number from First Edition; in Second > Edition, the NET

[sword-devel] NET Bible 2.0?

2024-04-25 Thread David "Judah7;s Shadow" Blue
Has anyone worked with or floated the idea to the bible.org people of getting the second edition of the NET bible into the SWORD Project? ___ sword-devel mailing list: sword-devel@crosswire.org http://crosswire.org/mailman/listinfo/sword-devel Instructi

Re: [sword-devel] OSHB module

2024-04-24 Thread David "Judah7;s Shadow" Blue
On Tuesday, April 23, 2024 11:12:39 AM EDT Karl Kleinpaste wrote: > https://wiki.crosswire.org/DevTools:conf_Files#StrongsPadding > > StrongsPadding > At the heart of our lexicon/dictionary drivers, we have some old > logic which tries to detect if a key value is a Strong's number, and

Re: [sword-devel] RTF in conf files

2024-04-24 Thread David "Judah7;s Shadow" Blue
On Tuesday, April 23, 2024 10:41:39 AM EDT Troy A. Griffitts wrote: > Yes, you are correct, there was no RTFPlain filter. If you svn update, > you should see it now. I just copied the RTFHTML filter and changed it > to output newlines instead of and a couple tabs for center. I was > surprised t

Re: [sword-devel] RTF in conf files

2024-04-23 Thread David "Judah7;s Shadow" Blue
On Tuesday, April 16, 2024 5:35:50 AM EDT Troy A. Griffitts wrote: > There is an SWFilter to help with this. > > E.g., to get HTML, try something like: > > #include > SWBuf confValue = module.getConfigValue("About"); > RTFHTML().processText(confValue); > > If you don't want HTML, I believe ther

Re: [sword-devel] OSHB module

2024-04-23 Thread David "Judah7;s Shadow" Blue
On Tuesday, April 16, 2024 12:21:00 AM EDT Troy A. Griffitts wrote: > https://crosswire.org/svn/sword/trunk/src/modules/lexdict/swld.cpp > > Have a look at SWLD::strongsPad > > This method is supposed to be called everywhere Strongs numbers are dealt > with. It is supposed to ease the pain of dea

Re: [sword-devel] OSHB module

2024-04-15 Thread David "Judah7;s Shadow" Blue
On Monday, April 15, 2024 12:28:50 PM EDT Fr Cyrille wrote: > I don't know what to do to get an answer from those who can tell us > which way to go... > It's true that on git we could work much more easily by pull request, > which may or may not be accepted. To backtrack for a moment, to make sure

[sword-devel] RTF in conf files

2024-04-15 Thread David "Judah7;s Shadow" Blue
I'm working on an info command to display some basic info about modules, and I ran into the fact that, at least in the About entry, the conf file can contain RTF formatting. As it stands I strip out \pard, replace \par with \n, and strip out the tag portion of any anchor/link tags found. My questio

Re: [sword-devel] OSHB module

2024-04-15 Thread David "Judah7;s Shadow" Blue
On Saturday, April 6, 2024 11:35:56 AM EDT Fr Cyrille wrote: > Hello I'm coming back to you so that we can really decide on a solution > to this problem. > Is it so difficult to agree? It's such a shame to have unusable modules > with strong numbers just for convenience. > So I ask again, is the so

[sword-devel] Announcing BIBISH 0.6.0

2024-04-11 Thread David "Judah7;s Shadow" Blue
I'm pleased to announce that BIBISH 0.6.0 is out. This release adds exact phrase and regex to the existing multi-word search capabilities. Source can be found at. https://github.com/JudahsShadow/bibish/releases/tag/0.6.0 ___ sword-devel mailing list: s

[sword-devel] Search Types

2024-04-09 Thread David "Judah7;s Shadow" Blue
I've been doing more with searching in BIBISH for the upcoming 0.6 release, and I've come across the various search types. I understand the multi-word, exact phrase, and regex types. I assume the entityattrib type searches attributes like lemas, strongs numbers, etc. But I'm uncertain what the exte

[sword-devel] Announcing BIBISH 0.5.0

2024-04-05 Thread David "Judah7;s Shadow" Blue
I'm happy to announce the release of BIBISH 0.5.0. Highlights of this release include an added gloss command and essays being their own category. This also marks the first release that I didn't mark as pre-release as it seems fairly stable, and all the basic commands I want are there. Source (sorr

Re: [sword-devel] Best way to work with Genbooks

2024-04-04 Thread David "Judah7;s Shadow" Blue
On Thursday, April 4, 2024 11:17:57 AM EDT you wrote: > Hi David, > > I don't know the classes you are using, but maybe you have to do > something like this: > > if(treeKey->firstChild()) { > do { > this->toc += treeKey->getText(); > //Add a space around th

Re: [sword-devel] Best way to work with Genbooks

2024-04-04 Thread David "Judah7;s Shadow" Blue
On Tuesday, March 5, 2024 2:05:39 PM EDT Troy A. Griffitts wrote: > Hi David, > > Traversing a tree without recursion usually required keeping a stack you can > push onto and pop when you hit a leaf. This is all handled for you in the > call stack when you use recursion. If you really do want to

Re: [sword-devel] Error no buffer to decompress with NASGreek and NASHebrew

2024-04-02 Thread David "Judah7;s Shadow" Blue
On Thursday, March 28, 2024 11:44:58 AM EDT David "Judah's Shadow" Blue wrote: > Now, that I've solved my keytext issue, I've had another crop up. If I > attempt to retrieve a key that isn't a number, I sometimes get back "ERROR: > no buffer to decompr

Re: [sword-devel] getKeyText() doesn't always return keys.

2024-04-01 Thread David "Judah7;s Shadow" Blue
On Thursday, March 28, 2024 2:11:19 PM EDT Troy A. Griffitts wrote: > Hi David, > > The weirdness you might be running into is the behavior that SWLex > modules 'snap' their key to the nearest entry upon renderText (or > stripText, as you are calling). > I know this doesn't seem completely intuiti

[sword-devel] Error no buffer to decompress with NASGreek and NASHebrew

2024-03-28 Thread David "Judah7;s Shadow" Blue
Now, that I've solved my keytext issue, I've had another crop up. If I attempt to retrieve a key that isn't a number, I sometimes get back "ERROR: no buffer to decompress!" and the keytext of the last key in the module (05624 for Greek and 08674 for Hebrew). If I try to show that last key, I just g

Re: [sword-devel] getKeyText() doesn't always return keys.

2024-03-28 Thread David "Judah7;s Shadow" Blue
On Wednesday, March 27, 2024 4:10:30 PM EDT David "Judah's Shadow" Blue wrote: > I'm still at a loss here. I've tried changing things to where I use a SWKey > and use setText() there and called setPersist(true) and use that to set the > module key. All to no av

Re: [sword-devel] getKeyText() doesn't always return keys.

2024-03-27 Thread David "Judah7;s Shadow" Blue
On Tuesday, March 26, 2024 1:01:36 PM EDT David "Judah's Shadow" Blue wrote: > On Monday, March 25, 2024 4:06:19 PM EDT David "Judah's Shadow" Blue wrote: > > On Monday, March 25, 2024 1:52:40 PM EDT David "Judah's Shadow" Blue wrote: > &g

Re: [sword-devel] getKeyText() doesn't always return keys.

2024-03-26 Thread David "Judah7;s Shadow" Blue
On Monday, March 25, 2024 4:06:19 PM EDT David "Judah's Shadow" Blue wrote: > On Monday, March 25, 2024 1:52:40 PM EDT David "Judah's Shadow" Blue wrote: > > I've noticed a problem with lexicons not always getting a value from > > getKeyText(). It

Re: [sword-devel] getKeyText() doesn't always return keys.

2024-03-25 Thread David "Judah7;s Shadow" Blue
On Monday, March 25, 2024 1:52:40 PM EDT David "Judah's Shadow" Blue wrote: > I've noticed a problem with lexicons not always getting a value from > getKeyText(). It's intermittent, and I can't quite nail down why I would be > getting empty strings when I ca

[sword-devel] getKeyText() doesn't always return keys.

2024-03-25 Thread David "Judah7;s Shadow" Blue
I've noticed a problem with lexicons not always getting a value from getKeyText(). It's intermittent, and I can't quite nail down why I would be getting empty strings when I call it sometimes. ___ sword-devel mailing list: sword-devel@crosswire.org http

Re: [sword-devel] Announcing BIBISH 0.4.0

2024-03-25 Thread David "Judah7;s Shadow" Blue
On Tuesday, March 19, 2024 4:02:00 PM EDT David "Judah's Shadow" Blue wrote: > Hot on the heels of release 0.3.0, comes 0.4.0. Notable new features are: > *Unorthodox modules are now their own category under the list command > *Daily Devotionals are also now their own

[sword-devel] Lexicon Keys

2024-03-21 Thread David "Judah7;s Shadow" Blue
I've noticed some patterns and I was wondering if all keys to lexicons are in capital letters, for languages that makes sense for anyway ___ sword-devel mailing list: sword-devel@crosswire.org http://crosswire.org/mailman/listinfo/sword-devel Instructio

Re: [sword-devel] Announcing BIBISH 0.4.0

2024-03-20 Thread David "Judah7;s Shadow" Blue
On Tuesday, March 19, 2024 4:15:08 PM EDT David Haslam wrote: > PocketSword has a dropdown menu to select any month & day. > Generally though - it simply synchronises the Daily Devotional to Today. That's awesome, I'm glad BIBISH isn't distinctive in that regard. > Aside: ICYMI: The MCheyne Bibl

[sword-devel] Announcing BIBISH 0.4.0

2024-03-19 Thread David "Judah7;s Shadow" Blue
Hot on the heels of release 0.3.0, comes 0.4.0. Notable new features are: *Unorthodox modules are now their own category under the list command *Daily Devotionals are also now their own category under the list command *Image based modules (including maps) no longer show under list at all *A new dev

Re: [sword-devel] Finding Devotional modules

2024-03-19 Thread David "Judah7;s Shadow" Blue
On Monday, March 18, 2024 2:21:40 PM EDT David "Judah's Shadow" Blue wrote: > On Tuesday, March 12, 2024 4:31:07 PM EDT David "Judah's Shadow" Blue wrote: > > After grepping around in the BibleTime source code, I settled on using > > their solution of

Re: [sword-devel] Finding Devotional modules

2024-03-18 Thread David "Judah7;s Shadow" Blue
On Tuesday, March 12, 2024 4:31:07 PM EDT David "Judah's Shadow" Blue wrote: > After grepping around in the BibleTime source code, I settled on using their > solution of using module category and/or features showing the module is a > devotional. I'm doing the follo

Re: [sword-devel] Finding Devotional modules

2024-03-12 Thread David "Judah7;s Shadow" Blue
On Monday, March 11, 2024 4:53:29 PM EDT David "Judah's Shadow" Blue wrote: > I had posed a question a while ago, but never got an answer, or at least > didn't see it if I did, about how to tell if a module is a daily devotion. > > sword::SWMgr::MODTYPE_DAILYDEVOS

[sword-devel] Finding Devotional modules

2024-03-11 Thread David "Judah7;s Shadow" Blue
I had posed a question a while ago, but never got an answer, or at least didn't see it if I did, about how to tell if a module is a daily devotion. sword::SWMgr::MODTYPE_DAILYDEVOS doesn't seem to ever match for the module type. I'd like to have special handling of devotionals for the next versio

[sword-devel] Tumbleweek Packages

2024-03-11 Thread David "Judah7;s Shadow" Blue
On Saturday, March 9, 2024 3:45:00 PM EDT Matěj Cepl wrote: > On Sat Mar 9, 2024 at 8:46 PM CET, Greg Hellings wrote: > > You really SHOULD have sword built against Curl. It can work without it, > > but only against FTP and local file sources. All support for HTTP, HTTPS > > (which most modern syst

Re: [sword-devel] SWORD Dependancies

2024-03-09 Thread David "Judah7;s Shadow" Blue
On Saturday, March 9, 2024 2:15:40 PM EST Matěj Cepl wrote: > Well, this is what I get on openSUSE/Tumbleweed: > > tumbleweed-pkg~$ rpm -qR sword|awk -F '(' '{ print $1 ; }'|sort -u > config > libc.so.6 > libgcc_s.so.1 > libicuuc.so.73 > libstdc++.so.6 > libsword-1.8.1.

[sword-devel] SWORD Dependancies

2024-03-09 Thread David "Judah7;s Shadow" Blue
I'm trying to keep dependancies for BIBISH down to a minimum, so I'm curious as to what I can be reasonably assured will be installed on a system that has sword also installed. ___ sword-devel mailing list: sword-devel@crosswire.org http://crosswire.org

[sword-devel] BIBISH Release 0.3.0

2024-03-08 Thread David "Judah7;s Shadow" Blue
I have released BIBISH 0.3.0 with genbook support, and some internal code improvements. The release can be found at, https://github.com/JudahsShadow/bibish/releases/tag/0.3.0 ___ sword-devel mailing list: sword-devel@crosswire.org http://crosswire.org/

Re: [sword-devel] Best way to work with Genbooks

2024-03-06 Thread David "Judah7;s Shadow" Blue
On Wednesday, March 6, 2024 10:01:38 AM EST Troy A. Griffitts wrote: > Hey David, glad you are making progress on the TOC. > > Yes, assureKeyPath will create the full path if it doesn't exist. > > If you would simply like to try to position a treekey to a path, you can > set it like any other SW

Re: [sword-devel] Best way to work with Genbooks

2024-03-05 Thread David "Judah7;s Shadow" Blue
On Monday, March 4, 2024 4:32:43 PM EST David "Judah's Shadow" Blue wrote: > Ok, I think I have a handle on how to generate the TOC. However, I'm not > seeing a method in the API docs that would give me the text for a given TOC > entry Well I thought i had a handle

Re: [sword-devel] Best way to work with Genbooks

2024-03-04 Thread David "Judah7;s Shadow" Blue
Ok, I think I have a handle on how to generate the TOC. However, I'm not seeing a method in the API docs that would give me the text for a given TOC entry On March 1, 2024 4:38:02 PM EST, "David "Judah's Shadow" Blue" wrote: >I'm working on adding suppo

[sword-devel] Best way to work with Genbooks

2024-03-01 Thread David "Judah7;s Shadow" Blue
I'm working on adding support for genbooks to BIBISH, but I'm not sure the best way to work with TreeKeys. I'm looking right now at getting/generating the TOC. I'm a little confused by the example in the wiki, which seems to walk the tree using recursion. is that the best way to get the TOC, or is

[sword-devel] Announcing BIBISH release 0.2.0

2023-11-01 Thread David "Judah7;s Shadow" Blue
I've released version 0.2.0 of BIBISH. This release adds lexicon support, and a read command that starts at a given key (or the top of the module) and continues on until the end, with full pagination. Source tarballs can be found at, https://github.com/JudahsShadow/bibish/releases/tag/0.2.0 Curre

[sword-devel] Listing unorthodox works

2023-10-31 Thread David "Judah7;s Shadow" Blue
Hi, I was wondering if there was a way to tell, that a module falls under the Cult/Unorthodox/Questionable category, there doesn't seem to be a MODTYPE_* definition for that and I'd rater not list these modules along with fully orthodox translations. _

Re: [sword-devel] Crash when getting module type

2023-10-31 Thread David "Judah7;s Shadow" Blue
Found my issue. I had a locally scoped library object that had it's own uninitalized swordLibrary that was taking precidence 🤦🏻, now I'm getting no crashes. I have other issues but that's for another email. ___ sword-devel mailing list: sword-devel@c

Re: [sword-devel] Crash when getting module type

2023-10-30 Thread David "Judah7;s Shadow" Blue
On Sunday, October 29, 2023 2:21:12 PM EDT Troy A. Griffitts wrote: > Hi David, > > On October 29, 2023 10:52:50 MST, "David "Judah's Shadow" Blue" wrote: > >The next class at play is the library class that also has a private member > >swordLibrary,

Re: [sword-devel] Crash when getting module type

2023-10-29 Thread David "Judah7;s Shadow" Blue
On Friday, October 27, 2023 1:25:44 PM EDT Troy A. Griffitts wrote: > I don't believe the issue is between when you declare the tempMod > variable and when you assign it. > > I believe the issue is between when you construct SWMgr() and when you > get to your code block. Somebody has done somethin

Re: [sword-devel] Crash when getting module type

2023-10-27 Thread David "Judah7;s Shadow" Blue
On Friday, October 27, 2023 8:46:19 AM EDT Troy A. Griffitts wrote: > Hi David. There shouldn't be any nulls in the SWMgr::Modules map. Have you > done anything with the map which might have created an entry? For example, > have you attempted to obtain a module by name which wasn't there? In C++ >

Re: [sword-devel] Crash when getting module type

2023-10-26 Thread David "Judah7;s Shadow" Blue
On Wednesday, October 25, 2023 6:22:54 PM EDT Donna Whisnant wrote: > David, > > Based on the code you are showing, I can pretty much guarantee you that your > segfault is caused by tempMod being a null pointer -- i.e. that the value > of the map element you are iterating is null. Ok, I didn't kno

[sword-devel] Crash when getting module type

2023-10-24 Thread David "Judah7;s Shadow" Blue
I've resumed working on bibish some, and I'm getting a weird crash I never had before. I'm trying to interate through the list of installed modules and select those that match a given type. This is my code: for(libraryIterator = swordLibrary.Modules.begin(); libraryIterator != swordLi

Re: [sword-devel] Getting entry by key for a lexicon module.

2022-01-03 Thread David "Judah7;s Shadow" Blue
On Monday, January 3, 2022 2:21:41 PM EST Troy A. Griffitts wrote: > Hi David. You should skip the attempt to parse a verse list. Something > simple like: > > module->setKeyText("Moses"); > SWBuf entryBody = module->renderText(); > SWBuf entryKey = module->getKeyText(); Ah yes, this is what I was

[sword-devel] Getting entry by key for a lexicon module.

2022-01-03 Thread David "Judah7;s Shadow" Blue
Ok. So I'm looking at getting a specific key for a lexdict module. I tried the same as I do for bibles/commentaries. sword::ListKey refRange; refRange = key.parseVerseList(reference.c_str(), key, true); for(refRange = sword::TOP; !refRange.popError(); refRange++) { module->setKey(refRange

Re: [sword-devel] Best way to interate through each key in a module

2021-03-01 Thread David "Judah7;s Shadow" Blue
On Thursday, February 25, 2021 10:17:07 AM EST Troy A. Griffitts wrote: > SWBuf verse = ""; > > verse = "jn.2.2"; > > for (verse.size() ? module->setKeyText(verse) : (*module) = sword::TOP; > !module->popError(); (*module)++) { Incidentally, this example wouldn't compile for me complaining that op

[sword-devel] Segfault from setKeyText, on out of bounds key.

2021-03-01 Thread David "Judah7;s Shadow" Blue
I'm working on my read command for BIBISH, and I'm getting an odd crash. I've got the following loop: for(module->setKeyText(key); !module->popError(); (*module)++) { entries += module->getKeyText(); entries += " - "; entries += module->stripText(); } If I pass

Re: [sword-devel] Best way to interate through each key in a module

2021-02-26 Thread David "Judah7;s Shadow" Blue
On Thursday, February 25, 2021 4:40:34 PM EST Troy A. Griffitts wrote: > This example might be useful: > > https://crosswire.org/svn/sword/trunk/examples/tasks/simpleRange.cpp I've used that example in building my passage lookup. This use case is slightly different. I specifically want to go from

Re: [sword-devel] Best way to interate through each key in a module

2021-02-25 Thread David "Judah7;s Shadow" Blue
On Thursday, February 25, 2021 10:17:07 AM EST Troy A. Griffitts wrote: > SWBuf verse = ""; > > verse = "jn.2.2"; > > for (verse.size() ? module->setKeyText(verse) : (*module) = sword::TOP; > !module->popError(); (*module)++) { Hmmnow I need to decide if I want to go outside of my package mana

Re: [sword-devel] Best way to interate through each key in a module

2021-02-25 Thread David "Judah7;s Shadow" Blue
On Tuesday, February 23, 2021 6:17:57 PM EST Troy A. Griffitts wrote: > So, in your first example, you are attempting to assign the module > pointer to TOP and increment the module pointer, instead of the module. > You could change that for loop to this and it should work: > > for ((*module) = swor

Re: [sword-devel] Best way to interate through each key in a module

2021-02-24 Thread David "Judah7;s Shadow" Blue
On Tuesday, February 23, 2021 6:17:57 PM EST Troy A. Griffitts wrote: > So, in your first example, you are attempting to assign the module > pointer to TOP and increment the module pointer, instead of the module. > You could change that for loop to this and it should work: > > for ((*module) = swor

Re: [sword-devel] Best way to interate through each key in a module

2021-02-23 Thread David "Judah7;s Shadow" Blue
On Tuesday, February 23, 2021 1:47:27 PM EST Greg Hellings wrote: > I think you need to do something like > > sword::SWKey* key = module->getKey(); // or module->createKey(); if you > rather > for(key = sword::TOP > > At least, I think that's what it needs... A variant of that worked. But now I'm

[sword-devel] Best way to interate through each key in a module

2021-02-23 Thread David "Judah7;s Shadow" Blue
I'm wanting to iterate through each key in a given module (bible, commentary, lexdict). I tried ... sword::SWModule *module; module = this->swordLibrary.getModule(this->selectedModule.c_str()); for(module = sword::TOP; !module->Error(); module++) ... and I get "error: invalid user-defined conve

Re: [sword-devel] BIBISH Release 0.1.1

2021-02-19 Thread David "Judah7;s Shadow" Blue
On Thursday, February 4, 2021 4:19:52 PM EST David Haslam wrote: > We don’t have a wiki page about this front-end. > > Please would someone take the initiative. > > I’d normally be the volunteer to pick this up, but my current circumstances > make that less possible. I could probably do it as th

Re: [sword-devel] BIBISH Release 0.1.1

2021-02-05 Thread David "Judah7;s Shadow" Blue
On Friday, February 5, 2021 4:30:32 AM EST pierre amadio wrote: > I am afraid i do not understand how to compile this. > > (ankiswordstuff) [melmoth@pamadio tmp]$ cd bibish-0.1.1/ > (ankiswordstuff) [melmoth@pamadio bibish-0.1.1]$ ls > BIBISH.kdev4 cmake CMakeLists.txt COPYING LICENSE main.cp

[sword-devel] BIBISH Release 0.1.1

2021-02-04 Thread David "Judah7;s Shadow" Blue
I've released BIBISH 0.1.1 with some refactoring and fixes for display issues, notably for terminals < 80 characters wide. I've also switched to github. Release at https://github.com/JudahsShadow/bibish/releases/tag/0.1.1[1] This release AFAik only builds on linux, and maybe unix flavors as it u

Re: [sword-devel] BIBISH 0.01.00 Released

2019-06-26 Thread David &quot;Judah7;s Shadow" Blue
On June 23, 2019 3:49:27 PM EDT, "David "Judah's Shadow" Blue" wrote: >On Sunday, June 23, 2019 1:45:32 PM EDT Troy A. Griffitts wrote: >> Hi David, >> >> Thank you for your work on BIBISH. My first impressions: >> >> Untarring the bu

Re: [sword-devel] BIBISH 0.01.00 Released

2019-06-23 Thread David &quot;Judah7;s Shadow" Blue
On Sunday, June 23, 2019 1:45:32 PM EDT Troy A. Griffitts wrote: > Hi David, > > Thank you for your work on BIBISH. My first impressions: > > Untarring the bundle, it isn't packaged up in its own top level > "bibish-0.1.0" folder so it extracted into my ~/src folder and I had to > clean up all the

[sword-devel] BIBISH 0.01.00 Released

2019-06-22 Thread David &quot;Judah7;s Shadow" Blue

Re: [sword-devel] Tags showing up even though FMT_PLAIN specified.

2019-06-13 Thread David &quot;Judah7;s Shadow" Blue
I figured it out. When I changed how my swmgr object was being passed to objects, it was no longer being passed to my passage class which was then using an uninitialized swmgr which was defaulting to showing tags. I had removed passing the swmgr to my search class and searching still worked so

[sword-devel] Tags showing up even though FMT_PLAIN specified.

2019-06-12 Thread David &quot;Judah7;s Shadow" Blue
I'm working on my console based front end, BIBISH. I've got it just about ready for the second release (0.1.0) which is where it's actually useful for reading and searching. However, I'm now getting tags showing in my text. In the KJVA, for instance, I get for the output of john 1.1, John 1:1 In t

Re: [sword-devel] Semantic problem: real module names vs. Abbreviation=XYZ

2015-09-01 Thread David &quot;Judah7;s Shadow" Blue
On September 1, 2015 3:59:09 PM EDT, Kahunapule Michael Johnson wrote: >On 08/31/2015 10:26 PM, David Haslam wrote: > >Yesterday, I added a note in the wiki page: >http://www.crosswire.org/wiki/DevTools:conf_Files#cite_note-1 1. We >strongly advise to avoid using an Abbreviation that's identical

[sword-devel] Using Alternate Versification

2015-08-15 Thread David &quot;Judah7;s Shadow" Blue
So, I'm hacking some more on BIBISH, and I'm wondering if my code needs any modification to handle alternate versifications. Essentially, I get a reference from the user, and then iterate over the passage and put it in a string, here's my code. refRange = key.parseVerseList(reference.c_str(),

[sword-devel] Odd crash with KJV and KJVA

2015-07-18 Thread David &quot;Judah7;s Shadow" Blue
So I'm working on BIBISH some, and am getting an odd crash when I pass the reference using just chapters using the KJV or KJVA as my selected module, but not the ESV. What I'm doing is, taking the text I got from renderRefence and renderText and splitting that up into a STL list of type string.

Re: [sword-devel] Av11n mark 2

2015-07-15 Thread David &quot;Judah7;s Shadow" Blue
On July 15, 2015 4:29:24 PM EDT, "Troy A. Griffitts" wrote: >:) Hi Konstantin, > >You have to know when I say something like this, "We could build it, >but >I'm afraid it might actually get used," that I'm being mostly facetious >though there is some true concern in what I am writing. Of course

Re: [sword-devel] New Front End

2015-07-04 Thread David &quot;Judah7;s Shadow" Blue
free (we pay >$0.01 per month, ideas with bandwidth but cloud front would keep cost >low ) > >Chris > >-Original Message----- >From: "David Judah's Shadow Blue" >Sent: ‎04/‎07/‎2015 16:28 >To: "SWORD Developers' Collaboration Forum"

Re: [sword-devel] New Front End

2015-07-04 Thread David &quot;Judah7;s Shadow" Blue
free (we pay >$0.01 per month, ideas with bandwidth but cloud front would keep cost >low ) > >Chris > >-Original Message----- >From: "David Judah's Shadow Blue" >Sent: ‎04/‎07/‎2015 16:28 >To: "SWORD Developers' Collaboration Forum"

Re: [sword-devel] New Front End

2015-07-04 Thread David &quot;Judah7;s Shadow" Blue
On Tuesday, May 12, 2015 03:30:08 PM David Judah's Shadow Blue wrote: > I am about to make my first release of BIBISH, my new console front-end for > sword, however, I'm finding I don't have a place to host tarballs and > related files, and a small about page. Is there an

Re: [sword-devel] New Front End

2015-05-14 Thread David &quot;Judah7;s Shadow" Blue
On Wednesday, May 13, 2015 11:58:45 AM Peter Von Kaehne wrote: > What would be interesting to me - I had no time yet to checkout the code and > compilem but will do so soon - what is your aim over and above what the > diatheke does? Well the main thing, is it's interactive and paginates the text s

[sword-devel] New Front End

2015-05-12 Thread David &quot;Judah7;s Shadow" Blue
I am about to make my first release of BIBISH, my new console front-end for sword, however, I'm finding I don't have a place to host tarballs and related files, and a small about page. Is there an option for front ends to have a space on the crosswire servers, or should I apply for something like a

Re: [sword-devel] renderText broken post r3331?

2015-03-19 Thread David &quot;Judah7;s Shadow" Blue
Is one not a symlink to the other? On March 19, 2015 3:19:40 PM EDT, Daniel Sheffield wrote: >Okay, at first it looked like 'make install' only copied the >libsword-1.7.3.so and not the libsword.so. >I was linking against libsword.so which didn't have the definitions of >renderText. >When I linke

Re: [sword-devel] how dead are the apps?

2015-03-12 Thread David &quot;Judah7;s Shadow" Blue
There are also missing apps such as crossconnect (windows 8.x) which falls in line somewhere with jsword as it has a full c# reimplementation of the sword api's. And there is a front end for beos I forget the new name, it used to be called belogos but had to change due to obvious possible trade

Re: [sword-devel] Delays in rendering?

2015-03-01 Thread David &quot;Judah7;s Shadow" Blue
On March 1, 2015 12:53:25 AM EST, Greg Hellings wrote: >David, > >It's most common to pass it around as a pointer, that way you're >guaranteed that there's only a single instance and you don't incur >overhead from allocating on the stack So can I change my member properties to be pointers or do

Re: [sword-devel] Delays in rendering?

2015-02-28 Thread David Judah&#x27;s Shadow Blue
So, I'm trying this now, and I’m getting some seg faults. Can I pass my SWMgr library around inside different objects by assigning it to properties? (i.e. class.setLibrary(sword::SWMgr library) { this->swordLibrary = library; }) or do I need be sending it around via parameters via reference?

Re: [sword-devel] Delays in rendering?

2015-02-22 Thread David &quot;Judah7;s Shadow" Blue
On February 22, 2015 11:11:00 AM EST, "Troy A. Griffitts" wrote: >David, > >That's all fine. The initialization hit I spoke about in my last email >will happen in the first section of your code. After that, you second >section can run as many times as you'd like and should be extremely >fast. W

Re: [sword-devel] Delays in rendering?

2015-02-22 Thread David Judah&#x27;s Shadow Blue
, etc. Once initialized, calls should be very fast, but if you are launching an external program over and over, the engine is initializing on each call. Maybe not what you're doing, but without more info, that's my best shot. Hope we can get you running fast. Troy On 02/21/2015 07:

Re: [sword-devel] Poetry indents?

2015-02-22 Thread David Judah&#x27;s Shadow Blue
The problem that Bibletime has run into is that poetry can cause improper nesting in BCV output so that may be why not, if not. Sent from Windows Mail From: David Haslam Sent: ‎Tuesday‎, ‎December‎ ‎16‎, ‎2014 ‎3‎:‎35‎ ‎PM To: SWORD Developers' Collaboration Forum Does the OSIS to

[sword-devel] Delays in rendering?

2015-02-21 Thread David &quot;Judah7;s Shadow" Blue
So I'm working on a console based front-end, and I'm noticing some slowness in displaying a text. Possibly a second or less, but definitely noticeable. Is there something I may be doing wrong? -- Sent from my Android device with K-9 Mail. Please excuse my brevity.

Re: [sword-devel] Morphological segments

2015-01-07 Thread David &quot;Judah7;s Shadow" Blue
On January 5, 2015 6:00:27 AM EST, Chris Burrell wrote: >Actually STEP does. Select OHB and click color code Hebrew from the cog >menu. >Chris >On 5 Jan 2015 10:58, "David Haslam" wrote: > >> AFAIK, none of our front-ends provide support for displaying >morphological >> segments as featured in

Re: [sword-devel] Morphological segments

2015-01-06 Thread David &quot;Judah7;s Shadow" Blue
On January 5, 2015 5:56:49 AM EST, David Haslam wrote: >AFAIK, none of our front-ends provide support for displaying >morphological >segments as featured in the Hebrew WLC module. I know some templates/styles in BibleTime have CSS for this. Does it not work in any template for you? -- Sent

Re: [sword-devel] A call for Python programmers ...

2014-12-31 Thread David &quot;Judah7;s Shadow" Blue
On December 31, 2014 7:00:25 AM EST, Barry Drake wrote: >On 31/12/14 09:20, David Haslam wrote: > I think CHM is only of use in > Microsoft Windows - am I right? It is a windows native format, but there are Linux applications to read them. That said, the pdf link you gave is probably more usefu

Re: [sword-devel] Milestoned Poetry

2014-12-26 Thread David &quot;Judah7;s Shadow" Blue
hem as them next update won't have them. I figured out how they >should be represented. > >Cent from my fone so theer mite be tipos. ;) >> On Dec 25, 2014, at 8:41 AM, David Judah's Shadow Blue > wrote: >> >> So I have been hacking some on BibleTime's

Re: [sword-devel] Milestoned Poetry

2014-12-25 Thread David &quot;Judah7;s Shadow" Blue
I read the tag wrong it's on an SID which makes much more sense On December 25, 2014 3:25:12 PM EST, David Haslam wrote: >FWIW, here's a counted list of custom eXtensions to OSIS used as >attributes >in the ESV module: > >05206 x-begin-paragraph >19805 x-br >00081 x-declares >05206 x-end-para

[sword-devel] Milestoned Poetry

2014-12-25 Thread David &quot;Judah7;s Shadow" Blue
So I have been hacking some on BibleTime's poetry handling, and discovered that the ESV uses milestones for poetry. I'm assuming that for the eid tag, type x-br means linebreak there, but I'm not sure about type x-indent. Do I indent between the sid and the eid, or what's after the eid? -- Se

Re: [sword-devel] Alternate Versifications

2014-12-23 Thread David &quot;Judah7;s Shadow" Blue
On December 23, 2014 10:57:32 AM EST, David Haslam wrote: >The problem is compounded by the fact that for some Psalms, the >canonical >title is only the first part of verse one. So is it a situation where there is a broader v11n and variants or are they different across the board? -- Sent f

  1   2   >