Re: [sword-devel] PATCH for crashes with ciphering code

2006-12-01 Thread Daniel Glassey
On 01/12/06, Martin Gruner <[EMAIL PROTECTED]> wrote: > The attached patch fixes the stability problems experienced with Sword and > ciphered and locked modules. > > To see unpatched Sword crash, just run > > mod2imp GerHfa2002 and > mod2imp GerHfaLex2002 > > without the correct unlock

Re: [sword-devel] Getting text without tags

2006-12-01 Thread Troy A. Griffitts
Jari, You shouldn't have to add any filters yourself for such an easy task. You should merely be able to: SWMgr library; SWModule *book = library.getModule("KJV"); book.setKey("jn.3.13"); cout << book.StripText(); There are a number of options which you may or may not want to show up in your t

[sword-devel] How to submit a patch for Ruby SWIG bindings?

2006-12-01 Thread Bill Burton
Hello, I've been working on adding Ruby language support to the existing SWIG bindings. So far, the autoconf part is nearly done and I've been working on fixing the API linkage where SWIG fails to translate or doesn't do so in an optimal manner. For API docs, I've been writing a skeleton Ruby fi

Re: [sword-devel] Getting text without tags

2006-12-01 Thread Eeli Kaikkonen
On Fri, 1 Dec 2006, Jari Strand wrote: > > Thanks but that seems to return the text with some additional reference > numbers (strong?). Maybe you could look at diatheke source code to get some hints? It's quite small and simple. I think every filter combination is included. Or if you just have to

Re: [sword-devel] Getting text without tags

2006-12-01 Thread Jari Strand
Thanks but that seems to return the text with some additional reference numbers (strong?). >From: Joachim Ansorg <[EMAIL PROTECTED]> >Reply-To: SWORD Developers' Collaboration Forum >To: SWORD Developers' Collaboration Forum >Subject: Re: [sword-devel] Getting text without tags >Date: Fri, 1

Re: [sword-devel] Getting text without tags

2006-12-01 Thread Jari Strand
Thank you Greg! And thank God I was able to render plain text by first adding rendering filter (GBFPlain). >From: "Greg Hellings" <[EMAIL PROTECTED]> >Reply-To: SWORD Developers' Collaboration Forum >To: "SWORD Developers' Collaboration Forum" >Subject: Re: [sword-devel] Getting text without

Re: [sword-devel] Getting text without tags

2006-12-01 Thread Joachim Ansorg
Hi, I think there is SWModule::StripText() to get the text without any markup. Joachim > I have been trying to figure how to print just plain text in the console > window. I have tried calling the RenderText() from SWModule among other > methods but they all seem to give the string with the tags.

Re: [sword-devel] Getting text without tags

2006-12-01 Thread Greg Hellings
There is some information along the lines of a class reference here: http://www.crosswire.org/~mgruner/sword-apidoc/html/ I hope that link is still valid. The docs are a bit old last time I checked, but they should at least give you a launching point. Happy coding! --Greg On 12/1/06, Jari Str

[sword-devel] Getting text without tags

2006-12-01 Thread Jari Strand
Hello, I have been trying to figure how to print just plain text in the console window. I have tried calling the RenderText() from SWModule among other methods but they all seem to give the string with the tags. The only change I have been able to make to the output format has been making it to

Re: [sword-devel] MacSword abandoned

2006-12-01 Thread Manfred Bergmann
Troy, good to hear that everything is alright with Will. He talked about his Ph.D. back then but I thought be should be finished already. Hey, you installed OSX? Did you buy a Mac? If you checkout the trunk of MacSword there is a folder "sword-build- mac" which has a makefile that downloads th

Re: [sword-devel] MacSword abandoned

2006-12-01 Thread Troy A. Griffitts
Manfred, I've heard briefly from Will, so he's still alive. He's finishing up a Ph.D. in User Interface Design, so is likely busy. I've just successfully installed OSX and subsequently xCode. I'm pretty clueless, but I'm hoping to get things compiled with SVN SWORD and possibly write a s

[sword-devel] MacSword abandoned

2006-12-01 Thread Manfred Bergmann
Hi all. Does anyone have an idea what became of Will Thimbleby, the maintainer of MacSword? No one has touched the sources of MacSword for over half a year and Will is not responding to emails. To let MacSword get abandoned would be a pitty. Best regards, Manfred

[sword-devel] PATCH for crashes with ciphering code

2006-12-01 Thread Martin Gruner
The attached patch fixes the stability problems experienced with Sword and ciphered and locked modules. To see unpatched Sword crash, just run mod2imp GerHfa2002 and mod2imp GerHfaLex2002 without the correct unlock key. The patch works against 1.5.9 and does the following: -fix on