Re: [sword-devel] Module indexing problems

2009-02-17 Thread Troy A. Griffitts

Dear Manfred,

Yes, getBookName is still valid, but we add 2 companion methods:

getChapterMax();
getVerseMax();

I believe getBookName is fairly new (within the last couple of releases 
(years)).



Used to be that there was an internal static array which held the max 
value information and it was public so frontends were accessing it 
directly instead of using the positioners:


vk = MAXCHAPTER;
vk = MAXVERSE;

and grabbing the value.  This previous technique was kindof clunky 
anyway as it required changing the value of the key to get the max 
value, so the new getters are much better.



About your other issues reported yesterday...  locale formats have 
changed with the most recent svn, so be sure you've done a make install 
to get the locales.d/ folder populated with the latest revisions of our 
locales.  And I fixed a nasty 32-bit bug last night (it's funny how the 
scales have tilted the other way now and we're finding 32-bit bugs 
instead of 64-bit bugs), so things might have gotten better with 
indexing and such.


Let me know if you still have troubles with svn head.

-Troy.





Manfred Bergmann wrote:

Hi Troy.


Am 16.02.2009 um 12:17 schrieb Troy A. Griffitts:


Dear Manfred,

There may be a few simple compile problems from 1.5.11 to SVN HEAD; 
specifically, we removed the hardcoded table of book names and 
chapter/verse max.  There are method calls to retrieve them now.  Let 
me know if you decide to try and I will help you with the new syntax.


It built well. Both the library and MacSword using the library.
I guess I'm not using many things the library would offer. I still don't 
understand many things of the API and my lack of C++ knowledge does the 
rest. :)
Anyway which are these methods to retrieve the booknames? Is 
getBookName() in VerseKey not used anymore? It still works for me.



Manfred




Manfred Bergmann wrote:

Am 16.02.2009 um 11:18 schrieb Karl Kleinpaste:

Manfred Bergmann  writes:

I've nailed down five modules that MacSword is not able to index:


Exactly what version (svn -r) of sword?
I sent a bug report to Troy yesterday because -r2255 is causing 
trouble.
Well, actually the point release 1.5.11, not sure which subversion 
revision that is.

I normally don't use the trunk version, should I do that?
Manfred
___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page



___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page



___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page



___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


Re: [sword-devel] Module indexing problems

2009-02-16 Thread Manfred Bergmann

Hi Troy.


Am 16.02.2009 um 12:17 schrieb Troy A. Griffitts:


Dear Manfred,

There may be a few simple compile problems from 1.5.11 to SVN HEAD;  
specifically, we removed the hardcoded table of book names and  
chapter/verse max.  There are method calls to retrieve them now.   
Let me know if you decide to try and I will help you with the new  
syntax.


It built well. Both the library and MacSword using the library.
I guess I'm not using many things the library would offer. I still  
don't understand many things of the API and my lack of C++ knowledge  
does the rest. :)
Anyway which are these methods to retrieve the booknames? Is  
getBookName() in VerseKey not used anymore? It still works for me.



Manfred




Manfred Bergmann wrote:

Am 16.02.2009 um 11:18 schrieb Karl Kleinpaste:

Manfred Bergmann  writes:

I've nailed down five modules that MacSword is not able to index:


Exactly what version (svn -r) of sword?
I sent a bug report to Troy yesterday because -r2255 is causing  
trouble.
Well, actually the point release 1.5.11, not sure which subversion  
revision that is.

I normally don't use the trunk version, should I do that?
Manfred
___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page



___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page



___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


Re: [sword-devel] Module indexing problems

2009-02-16 Thread Troy A. Griffitts

Dear Manfred,

I'd appreciate feedback on SVN with MacSword so I'd vote for it.  Karl's 
feedback is invaluable to me, but it means a little extra work for him. 
 I wouldn't have suggested SVN HEAD a few months back, but things are 
hopefully stable enough now.


There may be a few simple compile problems from 1.5.11 to SVN HEAD; 
specifically, we removed the hardcoded table of book names and 
chapter/verse max.  There are method calls to retrieve them now.  Let me 
know if you decide to try and I will help you with the new syntax.


-Troy.



Manfred Bergmann wrote:



Am 16.02.2009 um 11:18 schrieb Karl Kleinpaste:


Manfred Bergmann  writes:

I've nailed down five modules that MacSword is not able to index:


Exactly what version (svn -r) of sword?
I sent a bug report to Troy yesterday because -r2255 is causing trouble.


Well, actually the point release 1.5.11, not sure which subversion 
revision that is.

I normally don't use the trunk version, should I do that?


Manfred

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page



___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


Re: [sword-devel] Module indexing problems

2009-02-16 Thread Manfred Bergmann



Am 16.02.2009 um 11:18 schrieb Karl Kleinpaste:


Manfred Bergmann  writes:

I've nailed down five modules that MacSword is not able to index:


Exactly what version (svn -r) of sword?
I sent a bug report to Troy yesterday because -r2255 is causing  
trouble.


Well, actually the point release 1.5.11, not sure which subversion  
revision that is.

I normally don't use the trunk version, should I do that?


Manfred

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


Re: [sword-devel] Module indexing problems

2009-02-16 Thread Karl Kleinpaste
Manfred Bergmann  writes:
> I've nailed down five modules that MacSword is not able to index:

Exactly what version (svn -r) of sword?
I sent a bug report to Troy yesterday because -r2255 is causing trouble.

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page


[sword-devel] Module indexing problems

2009-02-16 Thread Manfred Bergmann

Hi.

I've nailed down five modules that MacSword is not able to index:

Commentary:
- MHC

Dictionaries:
- ERru_en
- EReo_en
- ERtr_en
- ZhEnglish

All other modules in the CrossWire repository index well.
Do other frontend have the same issue?


Cheers,
Manfred

___
sword-devel mailing list: sword-devel@crosswire.org
http://www.crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page