Re: [sword-devel] RC - odd bug, diatheke, lookup, probably engine rather than utilities.

2017-11-01 Thread Troy A. Griffitts
Peter, I am not getting the '2' output you are getting.  Are you sure you are not compiling against any change you've made and installed on your own box?  Or that your shell isn't doing something strange? Is anyone else seeing this problem? Troy On 11/01/2017 04:35 PM, Peter von Kaehne wrote: >

Re: [sword-devel] RC - odd bug, diatheke, lookup, probably engine rather than utilities.

2017-11-01 Thread Troy A. Griffitts
Sounds like I left some debug output in there someplace.  I'll have a quick look. On 11/01/2017 04:35 PM, Peter von Kaehne wrote: > Diatheke spits out two '2' with a linefeed each. Prior to every single > query I have thrown at it. Example below: > > > peter@thinkpad-x250:~/Source/sword-1.8/swor

[sword-devel] RC - odd bug, diatheke, lookup, probably engine rather than utilities.

2017-11-01 Thread Peter von Kaehne
Diatheke spits out two '2' with a linefeed each. Prior to every single query I have thrown at it. Example below: peter@thinkpad-x250:~/Source/sword-1.8/sword- 1.7.904/utilities/diatheke$ ./diatheke -b KJV -k Gen.1.1 2 2 Genesis 1:1: In the beginning God created the heaven and the earth. (KJV) "l

[sword-devel] About footnotes

2017-11-01 Thread Cyrille
Hello, A bug about footnotes, during the conversion from usfm to osis was solved with the u2o.py script . Thanks to adyeths ! But I would just like to remind you that a note in a title can't be read in Xiphos, nothing appears. But

[sword-devel] SWORD 1.8.0RC4

2017-11-01 Thread Troy A. Griffitts
SWORD 1.8.0RC4 tarball is available for download and testing from the usual location: http://crosswire.org/sword/alpha/alpha/sword-1.7.904.tar.gz Please let me know if you've submitted anything against the RC3 build that I have forgotten to get in. Since this bundle includes more than what would

Re: [sword-devel] [PATCH] filters: Fixed a number of buffer overflows due to buffers being too short for sprintf.

2017-11-01 Thread Troy A. Griffitts
Applied.  Thanks Jaak!  Great find. On 09/27/2017 10:39 PM, Jaak Ristioja wrote: > Hello! > > A recent version of GCC discovered a number of exploitable buffer > overflows in Sword++. Find as attachment a patch ported for Sword master. > > J > > > ___ >

Re: [sword-devel] Soft hyphens

2017-11-01 Thread Peter von Kaehne
On Tue, 2017-10-31 at 23:28 +, Peter von Kaehne wrote: > On Tue, 2017-10-31 at 13:53 -0700, David Haslam wrote: > > > > How does SWORD treat soft hyphens, particularly during search? > > Try it out. Create a non-compressed module with some deliberately > splashed about soft hyphens or other t

Re: [sword-devel] Soft hyphens

2017-11-01 Thread David Haslam
My current focus will be to help upstream. I've made a simple bespoke TextPipe filter that can do two tidy ups: 1. Remove multiple soft hyphens 2. Remove useless soft hyphens NB. A soft hyphen is "useless" unless it's between two word characters. Aside: If I reversed the order of 1 & 2, I thin