Re: [PATCH] Python bindings (with much of the core api)

2008-07-08 Thread Christian Stimming
Am Dienstag, 8. Juli 2008 09:01 schrieb Mark Jenkins: > > Thanks a lot for this work! > > Thank you for the commit, I'm excited. Now that I'm exposed to a larger > number of users and developers, I can look forward to a higher volume of > emails with bug reports, requests for documentation, and kud

Re: [PATCH] Python bindings (with much of the core api)

2008-07-08 Thread Mark Jenkins
> I hope it's fine for you to send patches based on what is now in gnucash SVN. We'll make it happen. > Thanks a lot for this work! Thank you for the commit, I'm excited. Now that I'm exposed to a larger number of users and developers, I can look forward to a higher volume of emails with bug re

Re: [PATCH] Python bindings (with much of the core api)

2008-07-07 Thread Christian Stimming
Am Montag, 7. Juli 2008 22:36 schrieb Mark Jenkins: > Rolf wrote: > >> How can I enable this code? I think it used to live in > >> src/optional/python-bindings, but I can't find it there. > > Right path, but not available in GnuCash proper for the reasons Derek > mentions. (see details earlier in

Re: [PATCH] Python bindings (with much of the core api)

2008-07-07 Thread Mark Jenkins
Rolf wrote: >> How can I enable this code? I think it used to live in >> src/optional/python-bindings, but I can't find it there. Right path, but not available in GnuCash proper for the reasons Derek mentions. (see details earlier in thread) For now, you can get a patch from last month at http:/

Re: [PATCH] Python bindings (with much of the core api)

2008-07-07 Thread Derek Atkins
Rolf Leggewie <[EMAIL PROTECTED]> writes: > Hi > > Mark Jenkins wrote: >> Hello again, >> >> I submitted a patch with the beginning of python binding support on >> February 27. ([PATCH]: Python bindings) > > I just stumbled upon python-gnucash. AWESOME! > > I wonder if maybe it can help us Germa

Re: [PATCH] Python bindings (with much of the core api)

2008-07-07 Thread Rolf Leggewie
Hi Mark Jenkins wrote: > Hello again, > > I submitted a patch with the beginning of python binding support on > February 27. ([PATCH]: Python bindings) I just stumbled upon python-gnucash. AWESOME! I wonder if maybe it can help us German users with http://bugzilla.gnome.org/show_bug.cgi?id=538

Re: [PATCH] Python bindings (with much of the core api)

2008-04-03 Thread Derek Atkins
I know you can specify the language of a %typemap(). See http://www.swig.org/Doc1.1/HTML/Typemaps.html#n6 in particular the subsection "Creating a new typemap". -derek "Jeff Green" <[EMAIL PROTECTED]> writes: > I have looked into trying to combine the existing Swig interface files and the > pyt

Re: [PATCH] Python bindings (with much of the core api)

2008-04-03 Thread Derek Atkins
Mark Jenkins <[EMAIL PROTECTED]> writes: > Jeff Green wrote: >> The best bet might be to put the non-language specific stuff into a >> separate file (it would mostly consist of common typedefs and function >> declarations) and have the language specific interface files %include >> that file. > >>

Re: [PATCH] Python bindings (with much of the core api)

2008-04-02 Thread Mark Jenkins
Jeff Green wrote: > The best bet might be to put the non-language specific stuff into a > separate file (it would mostly consist of common typedefs and function > declarations) and have the language specific interface files %include > that file. > I think doing it this way would work well, I'm jus

Re: [PATCH] Python bindings (with much of the core api)

2008-04-02 Thread Jeff Green
I have looked into trying to combine the existing Swig interface files and the python-bindings interface files. As far as I can tell there isn't a way to specify multiple language specific sections in a single interface file (someone please correct me if I'm missing something). The best bet might b

Re: [PATCH] Python bindings (with much of the core api)

2008-03-26 Thread Derek Atkins
Mark Jenkins <[EMAIL PROTECTED]> writes: >> I'm wondering if it makes sense to try to combine them.. or if it >> makes sense to keep them separate? I'm not sure what it would >> look like either way. > > I agree that it would make sense to combine them for the reasons you > state. SWIG provides a

Re: [PATCH] Python bindings (with much of the core api)

2008-03-25 Thread Mark Jenkins
> I'm wondering if it makes sense to try to combine them.. or if it > makes sense to keep them separate? I'm not sure what it would > look like either way. I agree that it would make sense to combine them for the reasons you state. SWIG provides a lot of powerful features, and I think there's a g

Re: [PATCH] Python bindings (with much of the core api)

2008-03-25 Thread Derek Atkins
Mark Jenkins <[EMAIL PROTECTED]> writes: >> Thanks a lot for submitting these patches! I think everyone here is >> welcoming >> python bindings as new language bindings right in the gnucash trunk branch. >> Only nobody has had the time to actually commit those into trunk. But apart >> from tha

Re: [PATCH] Python bindings (with much of the core api)

2008-03-24 Thread Mark Jenkins
Derek Atkins wrote: > new optional directory you also need to add it to DIST_SUBDIRS > otherwise "make dist" (or distcheck) will fail if you configured the > to-be-disted tree without your optional directory enabled. > DIST_SUBDIRS completely overrides SUBDIRS so if you have DIST_SUBDIRS > then you

Re: [PATCH] Python bindings (with much of the core api)

2008-03-24 Thread Mark Jenkins
> Thanks a lot for submitting these patches! I think everyone here is welcoming > python bindings as new language bindings right in the gnucash trunk branch. > Only nobody has had the time to actually commit those into trunk. But apart > from that, I think as soon as someone commits them, it can

Re: [PATCH] Python bindings (with much of the core api)

2008-03-24 Thread Christian Stimming
Am Samstag, 22. März 2008 08:20 schrieb Mark Jenkins: > I submitted a patch with the beginning of python binding support on > February 27. ([PATCH]: Python bindings) > > ... > > Can we start a branch derived from trunk to bring these python bindings > up to maturity? Thanks a lot for submitting th

Re: [PATCH] Python bindings (with much of the core api)

2008-03-24 Thread Derek Atkins
Hi, Mark Jenkins <[EMAIL PROTECTED]> writes: > Hello again, > > I submitted a patch with the beginning of python binding support on > February 27. ([PATCH]: Python bindings) > > Since then, Jeff Green and I have begun adding support for the core api, > much of which is now accessible with the pyt

[PATCH] Python bindings (with much of the core api)

2008-03-22 Thread Mark Jenkins
Hello again, I submitted a patch with the beginning of python binding support on February 27. ([PATCH]: Python bindings) Since then, Jeff Green and I have begun adding support for the core api, much of which is now accessible with the python bindings provided by the attached patch. See src/option