Re: [sword-devel] IMP format and imp2vs.exe

2016-02-09 Thread DM Smith
Neither has changed command line argument order. So your scripts are OK. There was a method in both whose signatures differed by paramater order. I made imp2vs to agree with imp2gbs. > On Feb 9, 2016, at 12:01 PM, David Haslam wrote: > > Is it imp2vs that has the unchanged argument order? > >

Re: [sword-devel] IMP format and imp2vs.exe

2016-02-09 Thread David Haslam
Is it imp2vs that has the unchanged argument order? i.e. You made imp2gbs match that? cf. I have a lot of .com files that use the former but not the latter. Best regards, David -- View this message in context: http://sword-dev.350566.n4.nabble.com/IMP-format-and-imp2vs-exe-tp4655960p465605

Re: [sword-devel] IMP format and imp2vs.exe

2016-02-09 Thread DM Smith
.co.za>> wrote: >> No problem. >> >> Regards, >> >> Johan Marais >> Institute for Scripture Research >> www.messianic.co.za <http://www.messianic.co.za/> >> >> >> >> -Original Message- >> From: David Hasl

Re: [sword-devel] IMP format and imp2vs.exe

2016-02-09 Thread DM Smith
> Regards, > > Johan Marais > Institute for Scripture Research > www.messianic.co.za <http://www.messianic.co.za/> > > > > -Original Message- > From: David Haslam [mailto:dfh...@googlemail.com] > Sent: Thursday, 04 February 2016 2:41 PM > To: sword-dev

Re: [sword-devel] IMP format and imp2vs.exe

2016-02-09 Thread David Haslam
I have just added Troy's input as a new comment in: http://www.crosswire.org/tracker/browse/MODTOOLS-92 David -- View this message in context: http://sword-dev.350566.n4.nabble.com/IMP-format-and-imp2vs-exe-tp4655960p4656045.html Sent from the SWORD Dev mailing list archive at Nabble.com. __

Re: [sword-devel] IMP format and imp2vs.exe

2016-02-09 Thread David Haslam
Thanks Troy, Once the code has been patched to fix imp2vs, and new set of Sword tools are ready (including for Win32), I will return to the two wiki pages and remove the added paragraphs, etc. Best regards, David -- View this message in context: http://sword-dev.350566.n4.nabble.com/IMP-f

Re: [sword-devel] IMP format and imp2vs.exe

2016-02-09 Thread Troy A. Griffitts
l@crosswire.org >Subject: Re: [sword-devel] IMP format and imp2vs.exe > >Thanks Johan, > >Sorry for omitting the "a" in your first name earlier. :) > >More haste, less spood. > >David > > > >-- >View this message in context: >http://sword-dev

Re: [sword-devel] IMP format and imp2vs.exe

2016-02-04 Thread Johan Marais
No problem. Regards, Johan Marais Institute for Scripture Research www.messianic.co.za -Original Message- From: David Haslam [mailto:dfh...@googlemail.com] Sent: Thursday, 04 February 2016 2:41 PM To: sword-devel@crosswire.org Subject: Re: [sword-devel] IMP format and imp2vs.exe

Re: [sword-devel] IMP format and imp2vs.exe

2016-02-04 Thread David Haslam
Thanks Johan, Sorry for omitting the "a" in your first name earlier. :) More haste, less spood. David -- View this message in context: http://sword-dev.350566.n4.nabble.com/IMP-format-and-imp2vs-exe-tp4655960p4655977.html Sent from the SWORD Dev mailing list archive at Nabble.com. _

Re: [sword-devel] IMP format and imp2vs.exe

2016-02-04 Thread Johan Marais
Scripture Research www.messianic.co.za -Original Message- From: David Haslam [mailto:dfh...@googlemail.com] Sent: Thursday, 04 February 2016 2:16 PM To: sword-devel@crosswire.org Subject: Re: [sword-devel] IMP format and imp2vs.exe Thanks John, Fret not; the reported issue relates only for

Re: [sword-devel] IMP format and imp2vs.exe

2016-02-04 Thread David Haslam
Reviewing my "Word Per Line" IMP style build, I realise now that each line contained XML w elements, rather than plain text. So my recollection of previous success was right, but not relevant. Best regards, David -- View this message in context: http://sword-dev.350566.n4.nabble.com/IMP-form

Re: [sword-devel] IMP format and imp2vs.exe

2016-02-04 Thread David Haslam
Thanks John, Fret not; the reported issue relates only for when the IMP file has multiple lines of text per $$$ key. Please follow the guidelines given in our wiki page. http://crosswire.org/wiki/DevTools:Modules#Submit_the_Module_to_CrossWire_for_Distribution NB. For modules made from an IMP f

Re: [sword-devel] IMP format and imp2vs.exe

2016-02-04 Thread Johan Marais
I just used IMP2VS to build a bible module and didn't see anything funny. I used a Windows 10 - 64 bit laptop and the utilities from Xiphos. The module has not been released yet, but I an willing to send it to someone if he wants to inspect it. To which address and what do you require, should y

Re: [sword-devel] IMP format and imp2vs.exe

2016-02-04 Thread David Haslam
I have added a warning to both wiki pages: :'''IMPORTANT''': ''Please (first) read http://www.crosswire.org/tracker/browse/MODTOOLS-92'' David -- View this message in context: http://sword-dev.350566.n4.nabble.com/IMP-format-and-imp2vs-exe-tp4655960p4655968.html Sent from the SWORD Dev mailin

Re: [sword-devel] IMP format and imp2vs.exe

2016-02-04 Thread David Haslam
No need, I now just use single long lines for each record. That's easier to script in my TextPipe filter, and already done last night. Today's activity was a follow on to report the problems observed before I made that change. Best regards, David -- View this message in context: http://swo

Re: [sword-devel] IMP format and imp2vs.exe

2016-02-04 Thread David Haslam
Nor are continuation lines mentioned or illustrated in http://crosswire.org/wiki/DevTools:Modules#IMP_Format David -- View this message in context: http://sword-dev.350566.n4.nabble.com/IMP-format-and-imp2vs-exe-tp4655960p4655966.html Sent from the SWORD Dev mailing list archive at Nabble.co

Re: [sword-devel] IMP format and imp2vs.exe

2016-02-04 Thread David Haslam
Thanks for the speedy response, DM. That's wicked ! There's never been any hint that such a continuation character is required. The only mention of using \ is for certain conf file records such as About= How long has imp2vs existed? I wonder how many modules might have been affected by this bad

Re: [sword-devel] IMP format and imp2vs.exe

2016-02-04 Thread David Haslam
Created new issue. http://www.crosswire.org/tracker/browse/MODTOOLS-92 David PS. In his continued absence, someone else should take ownership of MODTOOLS and other topics still shown as assigned to Chris. -- View this message in context: http://sword-dev.350566.n4.nabble.com/IMP-format-and-i

Re: [sword-devel] IMP format and imp2vs.exe

2016-02-04 Thread DM Smith
Our emails crossed paths. Try the continuation character to guard the trailing space. — DM > On Feb 4, 2016, at 5:09 AM, David Haslam wrote: > > Further observations: > > With multiline entries for many keys, changing to Windows style EOLs did NOT > solve the issue. > > Being the sort of cha

Re: [sword-devel] IMP format and imp2vs.exe

2016-02-04 Thread DM Smith
Reading the code, it calls FileMgr::getLine, which is part of the SWORD library that defines what is a line. getLine does the following in order: 1) get line ending with a LF. 2) trims CR, space and tab from the start of a line. 3) trims LF, CR, space and tab from the end of the line. 4) If the t

Re: [sword-devel] IMP format and imp2vs.exe

2016-02-04 Thread David Haslam
Further observations: With multiline entries for many keys, changing to Windows style EOLs did NOT solve the issue. Being the sort of chap I am, I also tried Old Mac style EOLs (CR). Result = empty module. No records added! It appears that imp2vs.exe does not fully comply with the definition of

[sword-devel] IMP format and imp2vs.exe

2016-02-04 Thread David Haslam
According to our wiki page on file format, IMP format is "Each entry consists of a key line and any number of content lines." Yesterday, I observed what might be a buggy behaviour while using imp2vs.exe to build a module. The IMP file I have currently has Unix style EOLs (LF) rather than Windows