[sword-devel] SWORD 1.7 (https)

Nic Carter niccarter at mac.com
Sun Apr 29 17:17:08 MST 2012


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.hellings at 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 <scribe at crosswire.org> wrote:
>>> 
>>> --
>>> Sent from my Android phone with K-9 Mail. Please excuse my brevity.
>>> 
>>> "Troy A. Griffitts" <scribe at crosswire.org> wrote:
>>>> 
>>>> Nice! Thanks Greg.
>>>> --
>>>> Sent from my Android phone with K-9 Mail. Please excuse my brevity.
>>>> 
>>>> Greg Hellings <greg.hellings at 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 <scribe at 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-devel at crosswire.org
>>>>>> http://www.crosswire.org/mailman/listinfo/bt-devel
>>>>> 
>>>>> ________________________________
>>>>> 
>>>>> bt-devel mailing list
>>>>> bt-devel at crosswire.org
>>>>> http://www.crosswire.org/mailman/listinfo/bt-devel
>>> 
>>> 
>>> _______________________________________________
>>> sword-devel mailing list: sword-devel at 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 at crosswire.org
> http://www.crosswire.org/mailman/listinfo/sword-devel
> Instructions to unsubscribe/change your settings at above page




More information about the sword-devel mailing list