Re: [sword-devel] Python bindings cause python crash

2007-12-19 Thread Ben Morgan
Hi, Instead of: >>> from Sword import * >>> mf = MarkupFilterMgr(FMT_WEBIF) >>> mgr = SWMgr(mf) Try >>> from Sword import * >>> mf = MarkupFilterMgr(FMT_WEBIF) >>> mf.thisown = False >>> mgr = SWMgr(mf) mf.thisown = False tells swig not to GC the sword object. This may or may not help. I have

[sword-devel] Python bindings cause python crash

2007-12-19 Thread Jon Brisbin
I've got my _Sword.so module to compile and I statically linked libsword.a and libclucene.a into it. So far, I'm able to create the objects fine, but when I try to get my modules, Python crashes with the following trace: Process: Python [3639] Path:/System/Library/Framew

Re: [sword-devel] Tagging verses and verse lists

2007-12-19 Thread Eeli Kaikkonen
On Thu, 20 Dec 2007, Jonathan Morgan wrote: > A good point that hadn't occurred to me (I'm still very much an ASCII > man). For Sword, UTF-8 might end up best, but technically it is one > of the worst formats possible. Its only redeeming feature is that it > allows existing 7-bit ASCII to work un

[sword-devel] statically link libsword into _Sword.so?

2007-12-19 Thread Jon Brisbin
Since I'm experimenting with Cocoa/Python and am now able to use the python bindings for sword, I'm wondering if I shouldn't just statically link libsword.a into _Sword.so. Would that make it easier to integrate into my OS X app, since I'll be using python for the guts of the application? I

Re: [sword-devel] Module installer for SwordReader

2007-12-19 Thread Michael J Kaye
Hi Barry. > I've begun work on a simple commandline version for a modules installer > for SwordReader If any of > you have SwordReader running on a working pocket pc that uses ActiveSync > to connect to a pc, maybe you could try it out and see where we are > going so far. > > It does not yet i

Re: [sword-devel] Tagging verses and verse lists

2007-12-19 Thread Jonathan Morgan
On Dec 20, 2007 12:11 AM, Eeli Kaikkonen <[EMAIL PROTECTED]> wrote: > On Tue, 18 Dec 2007, DM Smith wrote: > > I see them as the same thing from an implementation level. The > > application is free to use the mechanism in various ways: Bookmarks, > > Topic lists, saved state, . How the applicat

Re: [sword-devel] Tagging verses and verse lists

2007-12-19 Thread Jonathan Morgan
On Dec 19, 2007 11:50 PM, Eeli Kaikkonen <[EMAIL PROTECTED]> wrote: > On Wed, 19 Dec 2007, Jonathan Morgan wrote: > > Just so that there is no confusion over what I see the semantics of a > > hierarchical structure to be, here are my proposed semantics: > > 1. Any topic may contain verses (referenc

Re: [sword-devel] Tagging verses and verse lists

2007-12-19 Thread Jonathan Morgan
On Dec 19, 2007 11:24 PM, Eeli Kaikkonen <[EMAIL PROTECTED]> wrote: > Thanks for comments, I have to say that you have probably thought this > more thoroughly than I have. Your point of view is valid throughout but > I still try to give a second opinion... > > On Tue, 18 Dec 2007, Jonathan Morgan w

Re: [sword-devel] Tagging verses and verse lists

2007-12-19 Thread Eeli Kaikkonen
On Tue, 18 Dec 2007, DM Smith wrote: > I see them as the same thing from an implementation level. The > application is free to use the mechanism in various ways: Bookmarks, > Topic lists, saved state, . How the application presents them to > the user gives the appearance of transience or perman

Re: [sword-devel] Tagging verses and verse lists

2007-12-19 Thread Eeli Kaikkonen
On Wed, 19 Dec 2007, Jonathan Morgan wrote: > Just so that there is no confusion over what I see the semantics of a > hierarchical structure to be, here are my proposed semantics: > 1. Any topic may contain verses (references if you want to be more > generic) and sub-topics. > 2. The verses are ord

Re: [sword-devel] Tagging verses and verse lists

2007-12-19 Thread Jonathan Morgan
On Dec 19, 2007 1:18 AM, Karl Kleinpaste <[EMAIL PROTECTED]> wrote: > "Jonathan Morgan" <[EMAIL PROTECTED]> writes: > > The main difference in ideas is that trees > > attempt to make users organise their information in a hierarchical > > manner, while tagging does not. I have a few problems with

Re: [sword-devel] Tagging verses and verse lists

2007-12-19 Thread Eeli Kaikkonen
Thanks for comments, I have to say that you have probably thought this more thoroughly than I have. Your point of view is valid throughout but I still try to give a second opinion... On Tue, 18 Dec 2007, Jonathan Morgan wrote: > There are a few good reasons (at least in theory) for being more spec