[sword-devel] SWORD 1.7.0RC1

Mark Trompell mark at foresightlinux.org
Wed Jul 31 04:26:09 MST 2013


attached patch makes diatheke somewhat work again.
I wonder why the cast doesn't work.
I tried this too, but doesn't help:

diff --git a/include/swmodule.h b/include/swmodule.h
index 16fb301..04dde03 100644
--- a/include/swmodule.h
+++ b/include/swmodule.h
@@ -47,7 +47,7 @@ class SWFilter;
 #define SEARCHFLAG_MATCHWHOLEENTRY 4096

 #define SWMODULE_OPERATORS \
-       operator const char *() { return renderText(); } \
+       operator const char *() { return renderText().c_str(); } \
        operator SWKey &() { return *getKey(); } \
        operator SWKey *() { return getKey(); } \
        SWModule &operator <<(const char *inbuf) { setEntry(inbuf);
return *this; } \


On Wed, Jul 31, 2013 at 10:18 AM, Mark Trompell <mark at foresightlinux.org> wrote:
> I did some bisecting that shows r2921 is the first commit that breaks
> diatheke, so I think the revert of the qt support work wasn't complete
>
> On Wed, Jul 31, 2013 at 9:38 AM, Mark Trompell <mark at foresightlinux.org> wrote:
>> Ok, that's not because of r2922, but output of diatheke is crippled.
>>
>> On Wed, Jul 31, 2013 at 9:21 AM, Mark Trompell <mark at foresightlinux.org> wrote:
>>> diatheke is broken probably beacuse of r2922. I try to revert to confirm...
>>> Btw, this change forces changes in xiphos and probably every other frontend.
>>>
>>> On Wed, Jul 31, 2013 at 4:24 AM, Troy A. Griffitts <scribe at crosswire.org> wrote:
>>>> I understand apologies for the unacceptable delay will mean nothing.
>>>>
>>>> SWORD 1.7.0RC1 is available from the following link:
>>>>
>>>> http://crosswire.org/sword/alpha/alpha/sword-1.7.0RC1.tar.gz
>>>>
>>>> Please try your projects with the RC.
>>>>
>>>> (and please update your ChangeLog entries for the official package)
>>>>
>>>> May God be pleased by all our hard work and mercifully use this for His
>>>> Kingdom.  Thank you for participating in this long awaited release.
>>>>
>>>> Troy
>>>>
>>>> _______________________________________________
>>>> 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
>>>
>>>
>>>
>>> --
>>> Mark Trompell
>>>
>>> Foresight Linux Xfce Edition
>>> Cause your desktop should be freaking cool
>>> (and Xfce)
>>
>>
>>
>> --
>> Mark Trompell
>>
>> Foresight Linux Xfce Edition
>> Cause your desktop should be freaking cool
>> (and Xfce)
>
>
>
> --
> Mark Trompell
>
> Foresight Linux Xfce Edition
> Cause your desktop should be freaking cool
> (and Xfce)



-- 
Mark Trompell

Foresight Linux Xfce Edition
Cause your desktop should be freaking cool
(and Xfce)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_broken_diatheke.patch
Type: application/octet-stream
Size: 1911 bytes
Desc: not available
URL: <http://www.crosswire.org/pipermail/sword-devel/attachments/20130731/e440aedb/attachment-0001.obj>


More information about the sword-devel mailing list