Re: [sword-devel] SWORD 1.7 (proxy, zip cache)

2012-07-16 Thread Nic Carter
Bump?
Was there anything that happened to this? Communications went down not long 
after this thread was started  so I'm wondering where we are at with 1.7?

:)

On 27/04/2012, at 2:56, Greg Hellings greg.helli...@gmail.com wrote:

 On Sun, Apr 22, 2012 at 9:25 AM, Troy A. Griffitts scr...@crosswire.org 
 wrote:
 Any takers to implement these 2 items.
 
 To summarize an old and long discussion on this request, and what we agreed
 on...
 
 It is important to note exactly what this request entails and they are two
 very different requests.
 
 Adding proxy support to installmgr might be easy if all our transport class
 implementations support such.
 
 Fairly sure the cURL layer supports it. I doubt ftplib does, though.
 Would the requirement be to implement support for both the cURL and
 ftplib cases? If just cURL is sufficient I would be willing to
 research the implementation of it.
 
 
 Adding the ability to use a module cache of zip files does not add any new
 functionality for the user of the api or the end user of a frontend. It
 detrimentally adds possibility for out of sync data between actual module
 data and the .zip bundle, and is additional work for the remote repository
 maintainer. Our current implementation, which allows simply any installed
 module to be accessible as-is via installmgr, all network infrastructure
 being sound, is more beneficial to end users and module maintainers than
 this requested additional download option.
 
 It seems implementing this in two parts would be best. 1) A feature in
 the API where a user of the API can hand a file handle in and the API
 will read the ZIP file and install it. 2) Detection and downloading of
 a ZIP file from remote sources if available. I've heard some
 discussion on the list of people desiring the ability to install from
 a ZIP file a la the ones on the website. So long as this is being
 implemented then why shouldn't it be implemented in such a way as to
 provide both pieces of functionality together?
 
 --Greg
 
 
 Having said this, I understand and sympathize with Nic's use case:
 PocketSword accommodating for poor mobile network infrastructures.
 
 We agreed to provide this functionality as module repository optional cache,
 similar to mods.d.tar.gz; everything works fine if not present; if the
 requested module has a .zip bundle cache object, then use it, otherwise
 download the individual files of the module, as we currently do.
 
 So, any takers?
 
 Troy
 
 
 --
 Sent from my Android phone with K-9 Mail. Please excuse my brevity.
 
 Stephan i...@tetzels.de wrote:
 
 Hi,
 - Install Manager can download ZIP files from repos via HTTP.
 - proxy support for the install manager, both FTP  HTTP.
 
 ZIP FILES OVER HTTP
 HTTP DOWNLOAD OF ZIPPED MODULES
 DOWNLOAD IN ZIP FORMAT VIA HTTP OF MODULES
 
 +10
 
 Stephan
 
 On 22/04/2012, at 5:59 AM, Troy A. Griffitts wrote:
 
 I have 2 weeks off back home in Phoenix at the beginning of May and
 hope to push out a new release of SWORD.
 
 Can people speak up regarding any outstanding issues so I can start
 planning.
 
 oI know we are at an odd place with trunk osis2mod and current filter
 sets.  Any update or news on that?
 
 oThis is the first thread which supports the new XHTML filters, though
 they are mostly just a stub right now.  I think I converted
 Words of Christ over to use a span and maybe a couple other tags, but they
 were meant for the frontends who would like to use them to begin XHTML-izing
 them.  Any frontend develops up for morphing these things into something
 you'll commit to use and collaborate with the other frontend developers to
 be sure they are happy with the results, as well?  Collaboration is
 important on this one.
 
 oWe had a bug regarding size limits somewhere in the z drivers.  The
 original author of these hasn't been around for a while.  I can look into
 this, but I don't have much of an advantage over others on this one.  This
 would be a good bug to track down if you'd like to start getting your feet
 wet deep in internals of the engine code.
 
 oWe still have an outstanding bug report with TOP going to Malachi or
 something like this in a certain Bible module (I'm old and have forgotten
 the details on this one.  I think we talked about it in #sword.  I
 couldn't find a message thread)
 
 I'll scan the bug tracker, so be sure every issue you know about is
 entered there: http://crosswire.org/bugs
 
 But also be loud if you don't see your favorite bug fixed or talked
 about.
 
 
 Thanks for any constructive help you can lend for this release!
 
 Troy
 
 
 
 
 
 
 
 
 On 04/21/2012 09:29 PM, Barry Drake wrote:
 I just discovered that Bibletime and Xiphos can't be installed
 together
 from the Ubuntu packages for 12.04 because of dependency conflicts. I
 used to like having both frontends available. I just wondered if folk
 were aware of the current situation and whether this will alter any
 time
 
 soon?
 
 God bless, Barry.
 
 
 
 
 

Re: [sword-devel] SWORD 1.7 (https)

2012-04-29 Thread Nic Carter

Heya all,

Just a warning about this based on code I wrote for this . . . . I'm assuming 
this uses the same code behind the scenes as the HTTP stuff for parsing  
grabbing the files?  While that code I wrote works great for the CrossWire 
Apache server, it chokes on the output of some other httpd servers.  It's 
pretty basic parsing  it would be great if we did things more like how a 
recursive wget works?  Not sure if that's an option in libcurl that we 
currently do use, but perhaps it's something we should look into?


Thanks, ybic
nic...  :)

On 25/04/2012, at 1:56 PM, Greg Hellings wrote:

 On Tue, Apr 24, 2012 at 10:47 PM, Greg Hellings greg.helli...@gmail.com 
 wrote:
 Attached is the patch for this.
 Also, don't forget to fix up the removeModule call before installing
 bug we discussed on #sword today!
 
 I should note that this patch disables SSL certificate checking, which
 is inherently an unsafe configuration. I should have made that
 behavior optional, but doing so would have to change API calls whereas
 the the way I have written it the user needs only create an
 HTTPSSource entry in their InstallMgr.conf file. This implementation
 requires no changes from applications, but if we're graduating to 1.7
 it might be beneficial to change the API.
 
 Also, I noted in the patch a place where some code could possibly be
 refactored to avoid duplication, but I didn't take the time to do the
 refactoring.
 
 
 --Greg
 
 On Sun, Apr 22, 2012 at 9:42 AM, Troy A. Griffitts scr...@crosswire.org 
 wrote:
 
 --
 Sent from my Android phone with K-9 Mail. Please excuse my brevity.
 
 Troy A. Griffitts scr...@crosswire.org wrote:
 
 Nice! Thanks Greg.
 --
 Sent from my Android phone with K-9 Mail. Please excuse my brevity.
 
 Greg Hellings greg.helli...@gmail.com wrote:
 
 HTTPS transport and support for the _ character in the current HTTP
 transport. I believe I've identified the additional change that is
 needed to permit this. If it works I'll send along an updated patch
 for it this week.
 
 --Greg
 
 On Sat, Apr 21, 2012 at 2:59 PM, Troy A. Griffitts scr...@crosswire.org
 wrote:
 I have 2 weeks off back home in Phoenix at the beginning of May and
 hope to
 push out a new release of SWORD.
 
 Can people speak up regarding any outstanding issues so I can start
 planning.
 
 o   I know we are at an odd place with trunk osis2mod and current
 filter
 sets.  Any update or news on that?
 
 o   This is the first thread which supports the new XHTML filters,
 though they are mostly just a stub right now.  I think I converted
 Words
 of
 Christ over to use a span and maybe a couple other tags, but they were
 meant
 for the frontends who would like to use them to begin XHTML-izing them.
  Any
 frontend develops up for morphing these things into something you'll
 commit
 to use and collaborate with the other frontend developers to be sure
 they
 are happy with the results, as well?  Collaboration is important on
 this
 one.
 
 o   We had a bug regarding size limits somewhere in the z drivers.
  The
 original author of these hasn't been around for a while.  I can look
 into
 this, but I don't have much of an advantage over others on this one.
  This
 would be a good bug to track down if you'd like to start getting your
 feet
 wet deep in internals of the engine code.
 
 o   We still have an outstanding bug report with TOP going to
 Malachi or
 something like this in a certain
 Bible module (I'm old and have forgotten
 the details on this one.  I think we talked about it in #sword.  I
 couldn't
 find a message thread)
 
 I'll scan the bug tracker, so be sure every issue you know about is
 entered
 there: http://crosswire.org/bugs
 
 But also be loud if you don't see your favorite bug fixed or talked
 about.
 
 
 Thanks for any constructive help you can lend for this release!
 
 Troy
 
 
 
 
 
 
 
 
 On 04/21/2012 09:29 PM, Barry Drake wrote:
 
 I just discovered that Bibletime and Xiphos can't be installed
 together
 from the Ubuntu packages for 12.04 because of dependency conflicts. I
 used to like having both frontends available. I just wondered if folk
 were aware of the current
 situation and whether this will alter any time
 soon?
 
 God bless, Barry.
 
 
 
 
 
 
 bt-devel mailing list
 bt-de...@crosswire.org
 http://www.crosswire.org/mailman/listinfo/bt-devel
 
 
 
 bt-devel mailing list
 bt-de...@crosswire.org
 http://www.crosswire.org/mailman/listinfo/bt-devel
 
 
 ___
 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] SWORD 1.7 (proxy, zip cache)

2012-04-27 Thread Sebastien Koechlin
On Thu, Apr 26, 2012 at 11:56:43AM -0500, Greg Hellings wrote:
 On Sun, Apr 22, 2012 at 9:25 AM, Troy A. Griffitts scr...@crosswire.org 
 wrote:
  Adding the ability to use a module cache of zip files does not add any new
  functionality for the user of the api or the end user of a frontend. It
  detrimentally adds possibility for out of sync data between actual module
  data and the .zip bundle, and is additional work for the remote repository
  maintainer. Our current implementation, which allows simply any installed
  module to be accessible as-is via installmgr, all network infrastructure
  being sound, is more beneficial to end users and module maintainers than
  this requested additional download option.
 
 It seems implementing this in two parts would be best. 1) A feature in
 the API where a user of the API can hand a file handle in and the API
 will read the ZIP file and install it. 2) Detection and downloading of
 a ZIP file from remote sources if available. I've heard some
 discussion on the list of people desiring the ability to install from
 a ZIP file a la the ones on the website. So long as this is being
 implemented then why shouldn't it be implemented in such a way as to
 provide both pieces of functionality together?

Sword repositories are working. I think ZIP handling is there to be able to
use alternate, lite and easy to setup repositories.

As a third party module maintainer, I would like to be able:

- To easily distribute a module by just uploading one (a ZIP) or two files
(ZIP+conf) on a website without creating specials directories or repository
specific files.  A mod2zip executable would also be welcome.  (Should we
rename .conf files to .sword to use OS file association?)

- User should be able to install my module by giving the ZIP or conf file
URL, or by using a local ZIP file.

- Ideally, update should also be handled by adding an ZIP URL in the .conf.
The installmgr can download the .conf file, and if the version is newer, can
also download the new ZIP file and install it.

-- 
Sébastien Koechlin

___
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] SWORD 1.7 (proxy, zip cache)

2012-04-27 Thread David Haslam
Restricting my answer to just one of your points ...

One of the simplest methods to generate a ZIP file for a module is to use
the archive option in the maintenance menu of the Xiphos module manager. 

David

--
View this message in context: 
http://sword-dev.350566.n4.nabble.com/Ubuntu-12-04-tp4577002p4593127.html
Sent from the SWORD Dev mailing list archive at Nabble.com.

___
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] SWORD 1.7 (proxy, zip cache)

2012-04-27 Thread David Haslam
Specifically for xulsword, the developer has defined a file association for
the extension .xsm (which denotes 'xulsword module'.

It is equivalent to a renamed .zip file, but with the particular feature
that it may be readily installed into xulsword by either drag  drop or by
the file association (double click, etc). An .xsm file may include more than
one module, with the option of including ancillary resources.

David

--
View this message in context: 
http://sword-dev.350566.n4.nabble.com/Ubuntu-12-04-tp4577002p4593134.html
Sent from the SWORD Dev mailing list archive at Nabble.com.

___
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] SWORD 1.7 (proxy, zip cache)

2012-04-26 Thread Greg Hellings
On Sun, Apr 22, 2012 at 9:25 AM, Troy A. Griffitts scr...@crosswire.org wrote:
 Any takers to implement these 2 items.

 To summarize an old and long discussion on this request, and what we agreed
 on...

 It is important to note exactly what this request entails and they are two
 very different requests.

 Adding proxy support to installmgr might be easy if all our transport class
 implementations support such.

Fairly sure the cURL layer supports it. I doubt ftplib does, though.
Would the requirement be to implement support for both the cURL and
ftplib cases? If just cURL is sufficient I would be willing to
research the implementation of it.


 Adding the ability to use a module cache of zip files does not add any new
 functionality for the user of the api or the end user of a frontend. It
 detrimentally adds possibility for out of sync data between actual module
 data and the .zip bundle, and is additional work for the remote repository
 maintainer. Our current implementation, which allows simply any installed
 module to be accessible as-is via installmgr, all network infrastructure
 being sound, is more beneficial to end users and module maintainers than
 this requested additional download option.

It seems implementing this in two parts would be best. 1) A feature in
the API where a user of the API can hand a file handle in and the API
will read the ZIP file and install it. 2) Detection and downloading of
a ZIP file from remote sources if available. I've heard some
discussion on the list of people desiring the ability to install from
a ZIP file a la the ones on the website. So long as this is being
implemented then why shouldn't it be implemented in such a way as to
provide both pieces of functionality together?

--Greg


 Having said this, I understand and sympathize with Nic's use case:
 PocketSword accommodating for poor mobile network infrastructures.

 We agreed to provide this functionality as module repository optional cache,
 similar to mods.d.tar.gz; everything works fine if not present; if the
 requested module has a .zip bundle cache object, then use it, otherwise
 download the individual files of the module, as we currently do.

 So, any takers?

 Troy


 --
 Sent from my Android phone with K-9 Mail. Please excuse my brevity.

 Stephan i...@tetzels.de wrote:

 Hi,
  - Install Manager can download ZIP files from repos via HTTP.
  - proxy support for the install manager, both FTP  HTTP.

  ZIP FILES OVER HTTP
  HTTP DOWNLOAD OF ZIPPED MODULES
  DOWNLOAD IN ZIP FORMAT VIA HTTP OF MODULES

 +10

 Stephan

  On 22/04/2012, at 5:59 AM, Troy A. Griffitts wrote:
 
  I have 2 weeks off back home in Phoenix at the beginning of May and
  hope to push out a new release of SWORD.
 
  Can people speak up regarding any outstanding issues so I can start
  planning.
 
  o I know we are at an odd place with trunk osis2mod and current filter
  sets.  Any update or news on that?
 
  o This is the first thread which supports the new XHTML filters, though
  they are mostly just a stub right now.  I think I converted
 Words of Christ over to use a span and maybe a couple other tags, but they
 were meant for the frontends who would like to use them to begin XHTML-izing
 them.  Any frontend develops up for morphing these things into something
 you'll commit to use and collaborate with the other frontend developers to
 be sure they are happy with the results, as well?  Collaboration is
 important on this one.
 
  o We had a bug regarding size limits somewhere in the z drivers.  The
  original author of these hasn't been around for a while.  I can look into
  this, but I don't have much of an advantage over others on this one.  This
  would be a good bug to track down if you'd like to start getting your feet
  wet deep in internals of the engine code.
 
  o We still have an outstanding bug report with TOP going to Malachi or
  something like this in a certain Bible module (I'm old and have forgotten
  the details on this one.  I think we talked about it in #sword.  I
 couldn't find a message thread)
 
  I'll scan the bug tracker, so be sure every issue you know about is
  entered there: http://crosswire.org/bugs
 
  But also be loud if you don't see your favorite bug fixed or talked
  about.
 
 
  Thanks for any constructive help you can lend for this release!
 
  Troy
 
 
 
 
 
 
 
 
  On 04/21/2012 09:29 PM, Barry Drake wrote:
  I just discovered that Bibletime and Xiphos can't be installed
  together
  from the Ubuntu packages for 12.04 because of dependency conflicts. I
  used to like having both frontends available. I just wondered if folk
  were aware of the current situation and whether this will alter any
  time
 
 soon?
 
  God bless, Barry.
 
 
 
 
 

  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] SWORD 1.7 (https)

2012-04-25 Thread Troy A. Griffitts

Applied.  Thank you!

On 04/25/2012 05:47 AM, Greg Hellings wrote:

Attached is the patch for this.
Also, don't forget to fix up the removeModule call before installing
bug we discussed on #sword today!

--Greg

On Sun, Apr 22, 2012 at 9:42 AM, Troy A. Griffittsscr...@crosswire.org  wrote:


--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

Troy A. Griffittsscr...@crosswire.org  wrote:


Nice! Thanks Greg.
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

Greg Hellingsgreg.helli...@gmail.com  wrote:


HTTPS transport and support for the _ character in the current HTTP
transport. I believe I've identified the additional change that is
needed to permit this. If it works I'll send along an updated patch
for it this week.

--Greg

On Sat, Apr 21, 2012 at 2:59 PM, Troy A. Griffittsscr...@crosswire.org
wrote:

I have 2 weeks off back home in Phoenix at the beginning of May and
hope to
push out a new release of SWORD.

Can people speak up regarding any outstanding issues so I can start
planning.

o   I know we are at an odd place with trunk osis2mod and current
filter
sets.  Any update or news on that?

o   This is the first thread which supports the new XHTML filters,
though they are mostly just a stub right now.  I think I converted
Words

of

Christ over to use a span and maybe a couple other tags, but they were
meant
for the frontends who would like to use them to begin XHTML-izing them.
  Any
frontend develops up for morphing these things into something you'll
commit
to use and collaborate with the other frontend developers to be sure
they
are happy with the results, as well?  Collaboration is important on
this
one.

o   We had a bug regarding size limits somewhere in the z drivers.
  The
original author of these hasn't been around for a while.  I can look
into
this, but I don't have much of an advantage over others on this one.
  This
would be a good bug to track down if you'd like to start getting your
feet
wet deep in internals of the engine code.

o   We still have an outstanding bug report with TOP going to
Malachi or
something like this in a certain

Bible module (I'm old and have forgotten

the details on this one.  I think we talked about it in #sword.  I
couldn't
find a message thread)

I'll scan the bug tracker, so be sure every issue you know about is
entered
there: http://crosswire.org/bugs

But also be loud if you don't see your favorite bug fixed or talked
about.


Thanks for any constructive help you can lend for this release!

Troy








On 04/21/2012 09:29 PM, Barry Drake wrote:


I just discovered that Bibletime and Xiphos can't be installed
together
from the Ubuntu packages for 12.04 because of dependency conflicts. I
used to like having both frontends available. I just wondered if folk
were aware of the current

situation and whether this will alter any time

soon?

God bless, Barry.









bt-devel mailing list
bt-de...@crosswire.org
http://www.crosswire.org/mailman/listinfo/bt-devel




bt-devel mailing list
bt-de...@crosswire.org
http://www.crosswire.org/mailman/listinfo/bt-devel



___
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] SWORD 1.7 (https)

2012-04-24 Thread Greg Hellings
Attached is the patch for this.
Also, don't forget to fix up the removeModule call before installing
bug we discussed on #sword today!

--Greg

On Sun, Apr 22, 2012 at 9:42 AM, Troy A. Griffitts scr...@crosswire.org wrote:

 --
 Sent from my Android phone with K-9 Mail. Please excuse my brevity.

 Troy A. Griffitts scr...@crosswire.org wrote:

 Nice! Thanks Greg.
 --
 Sent from my Android phone with K-9 Mail. Please excuse my brevity.

 Greg Hellings greg.helli...@gmail.com wrote:

 HTTPS transport and support for the _ character in the current HTTP
 transport. I believe I've identified the additional change that is
 needed to permit this. If it works I'll send along an updated patch
 for it this week.

 --Greg

 On Sat, Apr 21, 2012 at 2:59 PM, Troy A. Griffitts scr...@crosswire.org
 wrote:
  I have 2 weeks off back home in Phoenix at the beginning of May and
  hope to
  push out a new release of SWORD.
 
  Can people speak up regarding any outstanding issues so I can start
  planning.
 
  o       I know we are at an odd place with trunk osis2mod and current
  filter
  sets.  Any update or news on that?
 
  o       This is the first thread which supports the new XHTML filters,
  though they are mostly just a stub right now.  I think I converted
  Words
 of
  Christ over to use a span and maybe a couple other tags, but they were
  meant
  for the frontends who would like to use them to begin XHTML-izing them.
   Any
  frontend develops up for morphing these things into something you'll
  commit
  to use and collaborate with the other frontend developers to be sure
  they
  are happy with the results, as well?  Collaboration is important on
  this
  one.
 
  o       We had a bug regarding size limits somewhere in the z drivers.
   The
  original author of these hasn't been around for a while.  I can look
  into
  this, but I don't have much of an advantage over others on this one.
   This
  would be a good bug to track down if you'd like to start getting your
  feet
  wet deep in internals of the engine code.
 
  o       We still have an outstanding bug report with TOP going to
  Malachi or
  something like this in a certain
 Bible module (I'm old and have forgotten
  the details on this one.  I think we talked about it in #sword.  I
  couldn't
  find a message thread)
 
  I'll scan the bug tracker, so be sure every issue you know about is
  entered
  there: http://crosswire.org/bugs
 
  But also be loud if you don't see your favorite bug fixed or talked
  about.
 
 
  Thanks for any constructive help you can lend for this release!
 
  Troy
 
 
 
 
 
 
 
 
  On 04/21/2012 09:29 PM, Barry Drake wrote:
 
  I just discovered that Bibletime and Xiphos can't be installed
  together
  from the Ubuntu packages for 12.04 because of dependency conflicts. I
  used to like having both frontends available. I just wondered if folk
  were aware of the current
 situation and whether this will alter any time
  soon?
 
  God bless, Barry.
 
 
 
 
 

  bt-devel mailing list
  bt-de...@crosswire.org
  http://www.crosswire.org/mailman/listinfo/bt-devel

 

 bt-devel mailing list
 bt-de...@crosswire.org
 http://www.crosswire.org/mailman/listinfo/bt-devel


 ___
 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


https_trasport.patch
Description: Binary data
___
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] SWORD 1.7 (https)

2012-04-24 Thread Greg Hellings
On Tue, Apr 24, 2012 at 10:47 PM, Greg Hellings greg.helli...@gmail.com wrote:
 Attached is the patch for this.
 Also, don't forget to fix up the removeModule call before installing
 bug we discussed on #sword today!

I should note that this patch disables SSL certificate checking, which
is inherently an unsafe configuration. I should have made that
behavior optional, but doing so would have to change API calls whereas
the the way I have written it the user needs only create an
HTTPSSource entry in their InstallMgr.conf file. This implementation
requires no changes from applications, but if we're graduating to 1.7
it might be beneficial to change the API.

Also, I noted in the patch a place where some code could possibly be
refactored to avoid duplication, but I didn't take the time to do the
refactoring.


 --Greg

 On Sun, Apr 22, 2012 at 9:42 AM, Troy A. Griffitts scr...@crosswire.org 
 wrote:

 --
 Sent from my Android phone with K-9 Mail. Please excuse my brevity.

 Troy A. Griffitts scr...@crosswire.org wrote:

 Nice! Thanks Greg.
 --
 Sent from my Android phone with K-9 Mail. Please excuse my brevity.

 Greg Hellings greg.helli...@gmail.com wrote:

 HTTPS transport and support for the _ character in the current HTTP
 transport. I believe I've identified the additional change that is
 needed to permit this. If it works I'll send along an updated patch
 for it this week.

 --Greg

 On Sat, Apr 21, 2012 at 2:59 PM, Troy A. Griffitts scr...@crosswire.org
 wrote:
  I have 2 weeks off back home in Phoenix at the beginning of May and
  hope to
  push out a new release of SWORD.
 
  Can people speak up regarding any outstanding issues so I can start
  planning.
 
  o       I know we are at an odd place with trunk osis2mod and current
  filter
  sets.  Any update or news on that?
 
  o       This is the first thread which supports the new XHTML filters,
  though they are mostly just a stub right now.  I think I converted
  Words
 of
  Christ over to use a span and maybe a couple other tags, but they were
  meant
  for the frontends who would like to use them to begin XHTML-izing them.
   Any
  frontend develops up for morphing these things into something you'll
  commit
  to use and collaborate with the other frontend developers to be sure
  they
  are happy with the results, as well?  Collaboration is important on
  this
  one.
 
  o       We had a bug regarding size limits somewhere in the z drivers.
   The
  original author of these hasn't been around for a while.  I can look
  into
  this, but I don't have much of an advantage over others on this one.
   This
  would be a good bug to track down if you'd like to start getting your
  feet
  wet deep in internals of the engine code.
 
  o       We still have an outstanding bug report with TOP going to
  Malachi or
  something like this in a certain
 Bible module (I'm old and have forgotten
  the details on this one.  I think we talked about it in #sword.  I
  couldn't
  find a message thread)
 
  I'll scan the bug tracker, so be sure every issue you know about is
  entered
  there: http://crosswire.org/bugs
 
  But also be loud if you don't see your favorite bug fixed or talked
  about.
 
 
  Thanks for any constructive help you can lend for this release!
 
  Troy
 
 
 
 
 
 
 
 
  On 04/21/2012 09:29 PM, Barry Drake wrote:
 
  I just discovered that Bibletime and Xiphos can't be installed
  together
  from the Ubuntu packages for 12.04 because of dependency conflicts. I
  used to like having both frontends available. I just wondered if folk
  were aware of the current
 situation and whether this will alter any time
  soon?
 
  God bless, Barry.
 
 
 
 
 

  bt-devel mailing list
  bt-de...@crosswire.org
  http://www.crosswire.org/mailman/listinfo/bt-devel

 

 bt-devel mailing list
 bt-de...@crosswire.org
 http://www.crosswire.org/mailman/listinfo/bt-devel


 ___
 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] SWORD 1.7

2012-04-22 Thread Stephan

Hi,

- Install Manager can download ZIP files from repos via HTTP.
- proxy support for the install manager, both FTP  HTTP.



ZIP FILES OVER HTTP
HTTP DOWNLOAD OF ZIPPED MODULES
DOWNLOAD IN ZIP FORMAT VIA HTTP OF MODULES


+10

Stephan


On 22/04/2012, at 5:59 AM, Troy A. Griffitts wrote:


I have 2 weeks off back home in Phoenix at the beginning of May and hope to 
push out a new release of SWORD.

Can people speak up regarding any outstanding issues so I can start planning.

o   I know we are at an odd place with trunk osis2mod and current filter 
sets.  Any update or news on that?

o   This is the first thread which supports the new XHTML filters, though 
they are mostly just a stub right now.  I think I converted Words of Christ 
over to use a span and maybe a couple other tags, but they were meant for the 
frontends who would like to use them to begin XHTML-izing them.  Any frontend 
develops up for morphing these things into something you'll commit to use and 
collaborate with the other frontend developers to be sure they are happy with 
the results, as well?  Collaboration is important on this one.

o   We had a bug regarding size limits somewhere in the z drivers.  The 
original author of these hasn't been around for a while.  I can look into this, 
but I don't have much of an advantage over others on this one.  This would be a 
good bug to track down if you'd like to start getting your feet wet deep in 
internals of the engine code.

o   We still have an outstanding bug report with TOP going to Malachi or 
something like this in a certain Bible module (I'm old and have forgotten the 
details on this one.  I think we talked about it in #sword.  I couldn't find a 
message thread)

I'll scan the bug tracker, so be sure every issue you know about is entered 
there: http://crosswire.org/bugs

But also be loud if you don't see your favorite bug fixed or talked about.


Thanks for any constructive help you can lend for this release!

Troy








On 04/21/2012 09:29 PM, Barry Drake wrote:

I just discovered that Bibletime and Xiphos can't be installed together
from the Ubuntu packages for 12.04 because of dependency conflicts. I
used to like having both frontends available. I just wondered if folk
were aware of the current situation and whether this will alter any time
soon?

God bless, Barry.




___
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] SWORD 1.7 (proxy, zip cache)

2012-04-22 Thread Troy A. Griffitts
Any takers to implement these 2 items.

To summarize an old and long discussion on this request, and what we agreed 
on...

It is important to note exactly what this request entails and they are two very 
different requests.

Adding proxy support to installmgr might be easy if all our transport class 
implementations support such.

Adding the ability to use a module cache of zip files does not add any new 
functionality for the user of the api or the end user of a frontend. It 
detrimentally adds possibility for out of sync data between actual module data 
and the .zip bundle, and is additional work for the remote repository 
maintainer. Our current implementation, which allows simply any installed 
module to be accessible as-is via installmgr, all network infrastructure being 
sound, is more beneficial to end users and module maintainers than this 
requested additional download option.

Having said this, I understand and sympathize with Nic's use case: PocketSword 
accommodating for poor mobile network infrastructures.

We agreed to provide this functionality as module repository optional cache, 
similar to mods.d.tar.gz; everything works fine if not present; if the 
requested module has a .zip bundle cache object, then use it, otherwise 
download the individual files of the module, as we currently do.

So, any takers?

Troy


-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

Stephan i...@tetzels.de wrote:

Hi,
 - Install Manager can download ZIP files from repos via HTTP.
 - proxy support for the install manager, both FTP HTTP.

 ZIP FILES OVER HTTP
 HTTP DOWNLOAD OF ZIPPED MODULES
 DOWNLOAD IN ZIP FORMAT VIA HTTP OF MODULES

+10

Stephan

 On 22/04/2012, at 5:59 AM, Troy A. Griffitts wrote:

 I have 2 weeks off back home in Phoenix at the beginning of May and hope to 
 push out a new release of SWORD.

 Can people speak up regarding any outstanding issues so I can start planning.

 oI know we are at an odd place with trunk osis2mod and current filter 
 sets. Any update or news on that?

 oThis is the first thread which supports the new XHTML filters, though 
 they are mostly just a stub right now. I think I converted Words of Christ 
 over to use a span and maybe a couple other tags, but they were meant for 
 the frontends who would like to use them to begin XHTML-izing them. Any 
 frontend develops up for morphing these things into something you'll commit 
 to use and collaborate with the other frontend developers to be sure they 
 are happy with the results, as well? Collaboration is important on this one.

 oWe had a bug regarding size limits somewhere in the z drivers. The 
 original author of these hasn't been around for a while. I can look into 
 this, but I don't have much of an advantage over others on this one. This 
 would be a good bug to track down if you'd like to start getting your feet 
 wet deep in internals of the engine code.

 oWe still have an outstanding bug report with TOP going to Malachi or 
 something like this in a certain Bible module (I'm old and have forgotten 
 the details on this one. I think we talked about it in #sword. I couldn't 
 find a message thread)

 I'll scan the bug tracker, so be sure every issue you know about is entered 
 there: http://crosswire.org/bugs

 But also be loud if you don't see your favorite bug fixed or talked about.


 Thanks for any constructive help you can lend for this release!

 Troy








 On 04/21/2012 09:29 PM, Barry Drake wrote:
 I just discovered that Bibletime and Xiphos can't be installed together
 from the Ubuntu packages for 12.04 because of dependency conflicts. I
 used to like having both frontends available. I just wondered if folk
 were aware of the current situation and whether this will alter any time
 soon?

 God bless, Barry.



_

 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] SWORD 1.7 (https)

2012-04-22 Thread Troy A. Griffitts

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

Troy A. Griffitts scr...@crosswire.org wrote:

Nice! Thanks Greg.
-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

Greg Hellings greg.helli...@gmail.com wrote:

HTTPS transport and support for the _ character in the current HTTP
transport. I believe I've identified the additional change that is
needed to permit this. If it works I'll send along an updated patch
for it this week.

--Greg

On Sat, Apr 21, 2012 at 2:59 PM, Troy A. Griffitts scr...@crosswire.org wrote:
 I have 2 weeks off back home in Phoenix at the beginning of May and hope to
 push out a new release of SWORD.

 Can people speak up regarding any outstanding issues so I can start
 planning.

 o   I know we are at an odd place with trunk osis2mod and current filter
 sets.  Any update or news on that?

 o   This is the first thread which supports the new XHTML filters,
 though they are mostly just a stub right now.  I think I converted Words of
 Christ over to use a span and maybe a couple other tags, but they were meant
 for the frontends who would like to use them to begin XHTML-izing them.  Any
 frontend develops up for morphing these things into something you'll commit
 to use and collaborate with the other frontend developers to be sure they
 are happy with the results, as well?  Collaboration is important on this
 one.

 o   We had a bug regarding size limits somewhere in the z drivers.  The
 original author of these hasn't been around for a while.  I can look into
 this, but I don't have much of an advantage over others on this one.  This
 would be a good bug to track down if you'd like to start getting your feet
 wet deep in internals of the engine code.

 o   We still have an outstanding bug report with TOP going to Malachi or
 something like this in a certain Bible module (I'm old and have forgotten
 the details on this one.  I think we talked about it in #sword.  I couldn't
 find a message thread)

 I'll scan the bug tracker, so be sure every issue you know about is entered
 there: http://crosswire.org/bugs

 But also be loud if you don't see your favorite bug fixed or talked about.


 Thanks for any constructive help you can lend for this release!

 Troy








 On 04/21/2012 09:29 PM, Barry Drake wrote:

 I just discovered that Bibletime and Xiphos can't be installed together
 from the Ubuntu packages for 12.04 because of dependency conflicts. I
 used to like having both frontends available. I just wondered if folk
 were aware of the current situation and whether this will alter any time
 soon?

 God bless, Barry.



_

 bt-devel mailing list
 bt-de...@crosswire.org
 http://www.crosswire.org/mailman/listinfo/bt-devel

_

bt-devel mailing list
bt-de...@crosswire.org
http://www.crosswire.org/mailman/listinfo/bt-devel

___
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] SWORD 1.7 (https)

2012-04-22 Thread David Haslam
New Testament introductions would be a useful nice to have.

Currently such bookGroup introductions only work for the OT.
Programming the OSIS as depicted in
http://crosswire.org/wiki/OSIS_Bibles#Body
for the NT causes the content of the NT introduction to be appended to
Malachi.

David


--
View this message in context: 
http://sword-dev.350566.n4.nabble.com/Re-SWORD-1-7-https-tp4578280p4578406.html
Sent from the SWORD Dev mailing list archive at Nabble.com.

___
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] SWORD 1.7

2012-04-22 Thread David Haslam
Hi Troy,

Please add support for a new GlobalOptionFilter=OSISDictionary (as used in
xulsword).

Our friend John Austin can provide the necessary code.

http://code.google.com/p/xulsword/

This feature enables glossary or dictionary links in Bible modules to be
toggled on/off by front-ends.

It's brilliant.

David

--
View this message in context: 
http://sword-dev.350566.n4.nabble.com/Ubuntu-12-04-tp4577002p4578416.html
Sent from the SWORD Dev mailing list archive at Nabble.com.

___
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] SWORD 1.7

2012-04-21 Thread Troy A. Griffitts
I have 2 weeks off back home in Phoenix at the beginning of May and 
hope to push out a new release of SWORD.


Can people speak up regarding any outstanding issues so I can start 
planning.


o	I know we are at an odd place with trunk osis2mod and current filter 
sets.  Any update or news on that?


o	This is the first thread which supports the new XHTML filters, though 
they are mostly just a stub right now.  I think I converted Words of 
Christ over to use a span and maybe a couple other tags, but they were 
meant for the frontends who would like to use them to begin XHTML-izing 
them.  Any frontend develops up for morphing these things into something 
you'll commit to use and collaborate with the other frontend developers 
to be sure they are happy with the results, as well?  Collaboration is 
important on this one.


o	We had a bug regarding size limits somewhere in the z drivers.  The 
original author of these hasn't been around for a while.  I can look 
into this, but I don't have much of an advantage over others on this 
one.  This would be a good bug to track down if you'd like to start 
getting your feet wet deep in internals of the engine code.


o	We still have an outstanding bug report with TOP going to Malachi or 
something like this in a certain Bible module (I'm old and have 
forgotten the details on this one.  I think we talked about it in 
#sword.  I couldn't find a message thread)


I'll scan the bug tracker, so be sure every issue you know about is 
entered there: http://crosswire.org/bugs


But also be loud if you don't see your favorite bug fixed or talked about.


Thanks for any constructive help you can lend for this release!

Troy








On 04/21/2012 09:29 PM, Barry Drake wrote:

I just discovered that Bibletime and Xiphos can't be installed together
from the Ubuntu packages for 12.04 because of dependency conflicts. I
used to like having both frontends available. I just wondered if folk
were aware of the current situation and whether this will alter any time
soon?

God bless, Barry.




___
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] SWORD 1.7

2012-04-21 Thread Gary Holmlund



oWe still have an outstanding bug report with TOP going to Malachi or 
something like this in a certain Bible module (I'm old and have forgotten the 
details on this one.  I think we talked about it in #sword.  I couldn't find a 
message thread)

Troy,

I reported this bug on this list about a month ago. I just entered a bug 
report about it (API-151). It is reproducible with a small program I 
attached to the bug.


Also, I am investigating a problem in BibleTime where it sometimes can't 
unlock a module. It appears  to be a sword problem. I will try to get 
more information to you in the next few days.


Gary Holmlund



___
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] SWORD 1.7

2012-04-21 Thread Troy A. Griffitts

Thanks Gary!  That's awesome!  I'll let you know what I find.

On 04/22/2012 03:30 AM, Gary Holmlund wrote:



o We still have an outstanding bug report with TOP going to Malachi or
something like this in a certain Bible module (I'm old and have
forgotten the details on this one. I think we talked about it in
#sword. I couldn't find a message thread)

Troy,

I reported this bug on this list about a month ago. I just entered a bug
report about it (API-151). It is reproducible with a small program I
attached to the bug.

Also, I am investigating a problem in BibleTime where it sometimes can't
unlock a module. It appears to be a sword problem. I will try to get
more information to you in the next few days.

Gary Holmlund



___
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] SWORD 1.7

2012-04-21 Thread Nic Carter

My requests for v1.7?

- Install Manager can download ZIP files from repos via HTTP.
- proxy support for the install manager, both FTP  HTTP.
- (new request) can we have the install manager conf file located in a random 
location  have the downloaded module conf files stored in a different 
location?  Say I want to have my repos conf file stored somewhere permanent but 
the downloaded conf files for the modules saved to /var/tmp, is that currently 
possible?  I gather they need to be in the same location atm?
- (question) is there a way to retrieve a listings of all the headings in a 
chapter/book of the Bible?  Would be cool if there was an easy way to grab that 
listing and then allow users to navigate directly to that heading in that book. 
 eg: in the ESV, if I'm in Ephesians, would be cool to be able to jump straight 
to the One in Christ section.  Good for that time when you're wanting to look 
up a certain verse about something something and you can quickly navigate via 
section headings rather than do a Bible search?  Not too fussed about this, 
cause I can implement it myself in PS when I eventually gain permission (prayer 
still accepted and appreciated with regards to getting that permission, btw!) 
to continue working on it from my employer, but I was thinking it may be a fun 
thing to be in the backend to allow any front-end to be able to do this? [or is 
this where someone posts 3 lines and shows that it's pathetically easy with 
everything that's already there?]
- I can hopefully find time to sort out what changes I have made to filters, as 
I have switched over to span tags for quite a few bits and pieces.  I won't 
even possibly have time until the end of May, tho, so perhaps it's not 
something we should hope I may get to before you'll be wanting to lock down a 
v1.7.0 release?

anyway, how loud do you want me to be?

ZIP FILES OVER HTTP
HTTP DOWNLOAD OF ZIPPED MODULES
DOWNLOAD IN ZIP FORMAT VIA HTTP OF MODULES

I'll go run away now and continue work on this Children's Lit assignment.  :)  
picture books are generally much more fun than code...  ;)


Thanks, ybic
nic...  :)

On 22/04/2012, at 5:59 AM, Troy A. Griffitts wrote:

 I have 2 weeks off back home in Phoenix at the beginning of May and hope to 
 push out a new release of SWORD.
 
 Can people speak up regarding any outstanding issues so I can start planning.
 
 o I know we are at an odd place with trunk osis2mod and current filter 
 sets.  Any update or news on that?
 
 o This is the first thread which supports the new XHTML filters, though 
 they are mostly just a stub right now.  I think I converted Words of Christ 
 over to use a span and maybe a couple other tags, but they were meant for the 
 frontends who would like to use them to begin XHTML-izing them.  Any frontend 
 develops up for morphing these things into something you'll commit to use and 
 collaborate with the other frontend developers to be sure they are happy with 
 the results, as well?  Collaboration is important on this one.
 
 o We had a bug regarding size limits somewhere in the z drivers.  The 
 original author of these hasn't been around for a while.  I can look into 
 this, but I don't have much of an advantage over others on this one.  This 
 would be a good bug to track down if you'd like to start getting your feet 
 wet deep in internals of the engine code.
 
 o We still have an outstanding bug report with TOP going to Malachi or 
 something like this in a certain Bible module (I'm old and have forgotten the 
 details on this one.  I think we talked about it in #sword.  I couldn't find 
 a message thread)
 
 I'll scan the bug tracker, so be sure every issue you know about is entered 
 there: http://crosswire.org/bugs
 
 But also be loud if you don't see your favorite bug fixed or talked about.
 
 
 Thanks for any constructive help you can lend for this release!
 
 Troy
 
 
 
 
 
 
 
 
 On 04/21/2012 09:29 PM, Barry Drake wrote:
 I just discovered that Bibletime and Xiphos can't be installed together
 from the Ubuntu packages for 12.04 because of dependency conflicts. I
 used to like having both frontends available. I just wondered if folk
 were aware of the current situation and whether this will alter any time
 soon?
 
 God bless, Barry.
 
 
 
 ___
 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