[sword-devel] MacSword 1.1.3

Will Thimbleby will at thimbleby.net
Wed Nov 24 17:07:33 MST 2004

I did some searching and found this 
http://www.crosswire.org/forums/mvnforum/viewthread?thread=33#74 , from 
there it was easy to create a custom search myself with the strongs 
number the user provided. Still got some work to do though, I need to 
show the numbers in the search window instead of just text which is a 
little confusing.

Another thing about sword is that I vastly improved startup times by 
cutting out the locale loading, I moved some code in localemgr into a 
separate method to add swlocales. Then I just find the one I want by 
file name and only load that and add it to the mgr myself. This cuts 
start times by about 5-10 seconds to just one or two on my computer. 
Loading the config files takes a long time, there is a lot of 
attributes in those locale files. I thought about loading them only 
when needed but the name is stored in them, if we enforced a naming 
scheme for the file name, then the localemgr could only load each as 
needed. At the moment I assume a good naming scheme, and work round it.

Also is anyone working on utf-8 locale support, I would like to be able 
to just use utf8 locales and support languages like chinese. What needs 
doing to support this?

thanks --Will

On 24 Nov 2004, at 10:18 pm, Troy A. Griffitts wrote:

> Will,
> 	Excited to find a Mac somewhere and try it out!  I have a few friends
> at school who use MacSword and will pass along the update information.
> Thanks!
> 	You're actually the first frontend to use the new EntryAttributes
> search type.  I'm surprised you figured out the syntax!  I couldn't 
> even
> remember what it was without playing around.
> 	Regarding multithreadedness, for the Windows code, we have 2 SWMgr
> instances that we keep around.  One is for display and one is for
> searching.  Our searches are done in a separate thread.  I think there
> might also be a .clone method on SWModule that we added to help with
> multithreaded app.  Just before spawning a thread which will operate on
> a module, you can send mod.clone() to the thread.  Be sure to delete it
> when done.
> 	PS.  .clone() might be a figment of my imagination, but I think it's
> there.
> 	Again, excited about the new release!
> 		-Troy.
> On Tue, 2004-11-23 at 20:14 +0000, Will Thimbleby wrote:
>> Hello all,
>> I have just released MacSword 1.1.3, a much improved version, faster
>> and more stable. I finally tracked down the major crashing bug that 
>> was
>> causing problems MacSword's multithreaded-ness was wreaking havoc with
>> the sword library. Which explains why it took so long to find, I made
>> my interface code mutually exclusive and it works! Finally.
>> The major new features are:
>> 	Fixed major crashing bug
>> 	Vastly improved startup times
>> 	New search option — that allows you to search for Strong's numbers
>> (cheers Troy -- just stuck with strongs numbers at the moment no
>> interface concerns and the most useful)
>> 	Improved rendering of verses on one line
>> 	Drag and drop for bookmarks and find results, better supported
>> Download and enjoy, this version is far more stable. This is a great
>> release! I have also updated the source code online for those that are
>> interested.
>> God Bless,
>> --Will
>> www.macsword.com
>> _______________________________________________
>> sword-devel mailing list
>> sword-devel at crosswire.org
>> http://www.crosswire.org/mailman/listinfo/sword-devel
> _______________________________________________
> sword-devel mailing list
> sword-devel at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel

More information about the sword-devel mailing list