Re: [sword-devel] Faster searching wanted

2002-03-30 Thread Nathan Youngman
Troy, Wow... thanks for all the info. I read through the primer, but it sounds like the API docs are a bit out of date (i.e. I never saw any mention of getBookName()). This info gives me a lot to work with though. Thanks, Nathan. -- Nathan Youngman E-mail: sword at nathany.com Web: http://

Re: [sword-devel] JAVA: Parser .conf files?

2002-03-30 Thread Troy A. Griffitts
>> SWConfig is a utility to read/write an INI style file. e.g. > > Is there a utility like this for Java? That I can use for the JSP to > edit .conf files? Jonathan, No, currently the JSword port of SWConfig is read only. There may be a writable one very soon (Mike Doughert

Re: [sword-devel] Parser .conf files?

2002-03-30 Thread Troy A. Griffitts
Hey J. SWConfig is a utility to read/write an INI style file. e.g. SWConfig myConfig("./myFile.conf"); if (atoi(myConfig["Preferences"]["ScreenWidth"].c_str()) > 640) { myConfig["Preferences"]["ScreenWidth"] = "640"; myConfig.Save(); } If you want to know where SWORD pr

Re: [sword-devel] Faster searching wanted

2002-03-30 Thread Troy A. Griffitts
Nathan, Sorry for not getting back to you sooner. I'm excited about your efforts!!! You don't know how many times people have asked, "do you anything for the Mac?" Good place to start to understand some of the basics of the API are: API Primer: http://www.crosswire.org/sword/develop/sw

[sword-devel] Parser .conf files?

2002-03-30 Thread Jonathan Hughes
Hey Everyone, Does anyone know where in the sword source code is the code that is used to parse the .conf files to get information out of them? Thanks for the tip. In Christ, Jonathan [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part

Re: [sword-devel] Faster searching wanted

2002-03-30 Thread Nathan Youngman
Well - I haven't necessarily done the best tests. I tried the search example, which was pretty slow. Threaded_search was better, and maybe implemented in a GUI with results being displayed progressively would be okay. I did try the Windows client, but only under Virtual PC under Mac OS X - wh

Re: [sword-devel] Faster searching wanted

2002-03-30 Thread David Overcash
Well, I'm excited now because I think I have found something that I could work on. In my experience with sword searching was actually quite quick and I never really had a 'slow' search. However, if you (all of you, any of you) see a need for a better search technique I would be willing to try to

[sword-devel] Objective-C/Cocoa example code

2002-03-30 Thread Nathan Youngman
For anyone interested, this is an Objective-C code snippet (Mac OS X) to populate a drop down with a list of modules installed. It's really not that complicated - square brackets are for method calls, @ symbols indicate NSString's (vs. normal C strings). Because Cocoa uses a bunch of its own

Re: [sword-devel] Faster searching wanted

2002-03-30 Thread Nathan Youngman
> > Sword seems pretty slow to execute searches. I'm kind of wondering >> how it's indexed. >> >> Unfortunately I don't have a lot of technical expertise on B-trees >> and stuff to optimize searching. ... > > Is any work being done on this? > >Sheepishly (but then aren't we supposed to be she

Re: [sword-devel] Faster searching wanted

2002-03-30 Thread Trevor Jenkins
On Sat, 30 Mar 2002, Nathan Youngman <[EMAIL PROTECTED]> wrote: > Sword seems pretty slow to execute searches. I'm kind of wondering > how it's indexed. > > Unfortunately I don't have a lot of technical expertise on B-trees > and stuff to optimize searching. ... > Is any work being done on this?

[sword-devel] Faster searching wanted

2002-03-30 Thread Nathan Youngman
Sword seems pretty slow to execute searches. I'm kind of wondering how it's indexed. Unfortunately I don't have a lot of technical expertise on B-trees and stuff to optimize searching. I'm interested in doing a Mac OS X front-end, and just wish the performance was better (and the API was eas

RE: [sword-devel] 1.5.3 on OSX

2002-03-30 Thread Nathan Youngman
Dave, Thanks - I'm not to familiar with UNIX yet - sure is nice to have it there though (things like Apache and PHP come installed with OS X btw :-). > > Started on a Cocoa "lookup" application, but so far I'm just >> populating the modules and books drop-downs. > >Too cool. I'm so happy a

RE: [sword-devel] 1.5.3 on OSX

2002-03-30 Thread Chris Little
> Too easy. Use .mm files instead of .m and you can mix Objective-C and > C++ freely. Though the compile is pretty slow - not sure if that's > overhead from using .mm or if its not using pre-compiled headers for > the Sword API files or something. > > Started on a Cocoa "lookup" application, b

Re: [sword-devel] 1.5.3 on OSX

2002-03-30 Thread dave willis
On Sat, 30 Mar 2002, Nathan Youngman wrote: > Ok. So now I have all that figured out. It seems that running > "diatheke" doesn't work, but "./diatheke" works fine. Does this seem > odd to anyone but me? welcome to the world of unix. in case you weren't aware, os x is actually the mac os rebuilt

Re: [sword-devel] 1.5.3 on OSX

2002-03-30 Thread Nathan Youngman
Too easy. Use .mm files instead of .m and you can mix Objective-C and C++ freely. Though the compile is pretty slow - not sure if that's overhead from using .mm or if its not using pre-compiled headers for the Sword API files or something. Started on a Cocoa "lookup" application, but so far I