Guile 2 status

2013-11-26 Thread Geert Janssens
With r23444 I have squashed the last failing tests I ran into with guile 2 and auto-compilation enabled. I am aware that our tests don't cover the full source code, so there may still be guile 2 related bugs lurking in some dark forgotten corners. Nevertheless I consider the guile 2 support

Guile 2 performance

2013-11-26 Thread Geert Janssens
to display the main window. This is not a very accurate test - I looked at the wall clock to measure this. But startup time is something users are sensitive to, so it would be interesting to check for improvements. Note that guile 2 now compiles its source files. This happens automatically whenever

Re: Guile 2 status

2013-11-26 Thread Mike Alexander
On Nov 26, 2013, at 8:52 AM, Geert Janssens janssens-ge...@telenet.be wrote: Would this be a good time to start preferring guile 2 over guile 1.8 when both are available ? It's an easy switch in configure. That's fine with me. I've been using Guile 2 for the last week or two and haven't

Guile 2 compatible release tarballs

2013-05-27 Thread Geert Janssens
Let me bring guile 2 up again. The current status is this: - gnucash is ready for guile2, but depends on a very recent version of swig to generate guile 2 compatible wrapper code - in fact *very* recent: swig 2.0.10 has been release today and is the first version of swig capable of generating

Re: Guile 2 compatible release tarballs

2013-05-27 Thread John Ralls
On May 27, 2013, at 1:45 PM, Geert Janssens janssens-ge...@telenet.be wrote: Let me bring guile 2 up again. The current status is this: - gnucash is ready for guile2, but depends on a very recent version of swig to generate guile 2 compatible wrapper code - in fact *very* recent: swig

Re: r22651 - gnucash/trunk/src - Guile 2: replace deprecated SCM_SYMBOL_CHARS function

2012-12-22 Thread Geert Janssens
, except that I now believe the dynwind code has never really be necessary. My work to make GnuCash guile 2 compatible forced me in many ways to get a deeper understanding of how guile and c interact. As part of this, I also had to revisit the dynwind construct, what it does and when/why we should

Re: r22651 - gnucash/trunk/src - Guile 2: replace deprecated SCM_SYMBOL_CHARS function

2012-12-22 Thread Geert Janssens
And just to complete my explanation, you are in fact using the scm_dynwind_* functions slightly differently from their intended use. In the example of gnc_scm_to_locale_string the net result is the same, but in locations where it matters you won't get the desired memory leak protection effect.

Re: r22651 - gnucash/trunk/src - Guile 2: replace deprecated SCM_SYMBOL_CHARS function

2012-12-22 Thread Geert Janssens
On 22-12-12 10:38, Geert Janssens wrote: BUT... While writing all this, I noticed I glossed over a subtle memory issue nonetheless that I have to fix again: scm_to_locale_string uses malloc to allocate memory for the return value. The memory should be freed using free. However gnucash is based

Re: r22651 - gnucash/trunk/src - Guile 2: replace deprecated SCM_SYMBOL_CHARS function

2012-12-21 Thread Alex Aycinena
/trunk/src/gnome/dialog-tax-info.c gnucash/trunk/src/import-export/qif-import/assistant-qif-import.c Log: Guile 2: replace deprecated SCM_SYMBOL_CHARS function The replacements require guile 1.8 or above ___ gnucash-patches mailing list gnucash-patc

Re: GnuCash and Guile 2

2012-12-18 Thread Geert Janssens
are cached, this happens only once for normal users. The warnings are apparently harmless, because gnucash runs fine in my tests. Also make check passes for both guile 1.8 and guile 2.0. Word of caution here though: if you install both guile and guile 2, for one of both the guile executable

Re: GnuCash and Guile 2

2012-12-18 Thread John Ralls
On Dec 18, 2012, at 10:01 AM, Geert Janssens janssens-ge...@telenet.be wrote: Also make check passes for both guile 1.8 and guile 2.0. Word of caution here though: if you install both guile and guile 2, for one of both the guile executable is not guile. In my case, I have guile (1.8

Re: GnuCash and Guile 2

2012-12-18 Thread Geert Janssens
On 18-12-12 19:52, John Ralls wrote: On Dec 18, 2012, at 10:01 AM, Geert Janssens janssens-ge...@telenet.be wrote: Also make check passes for both guile 1.8 and guile 2.0. Word of caution here though: if you install both guile and guile 2, for one of both the guile executable is not guile

Re: GnuCash and Guile 2

2012-12-18 Thread John Ralls
install both guile and guile 2, for one of both the guile executable is not guile. In my case, I have guile (1.8) and guile2 (2.0). Some tests are hardcoded to execute 'guile' and these tests will segfault when run against guile2. If you manually fix the tests to execute guile2, they pass fine

GnuCash and Guile 2

2012-12-15 Thread Geert Janssens
As of r22655 the development branch of gnucash can be built and run with guile 2. It still spews warnings and the environment variable GUILE_AUTO_COMPILE should be set to 0, so this is still a work in progress. It is important to realize though that this is only possible is swig is properly

Re: Guile 2

2012-01-07 Thread Hendrik Boom
On Fri, 09 Dec 2011 23:52:25 +0100, Geert Janssens wrote: Op vrijdag 9 december 2011 10:59:31 schreef Ted Creedon: Is anyone working on the Guile 2 issues? Not right now, but it's on my to do list. I plan to work on it somewhere in the next couple of weeks. Please keep me informed what's

Guile 2

2011-12-09 Thread Ted Creedon
Is anyone working on the Guile 2 issues? tedc ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: Guile 2

2011-12-09 Thread Geert Janssens
Op vrijdag 9 december 2011 10:59:31 schreef Ted Creedon: Is anyone working on the Guile 2 issues? Not right now, but it's on my to do list. I plan to work on it somewhere in the next couple of weeks. Geert ___ gnucash-devel mailing list gnucash

Re: Gnucash with Guile 2

2011-05-20 Thread Geert Janssens
On vrijdag 20 mei 2011, Mike Alexander wrote: --On May 18, 2011 7:23:38 PM +0200 Geert Janssens janssens-ge...@telenet.be wrote: On vrijdag 6 mei 2011, John Ralls wrote: On May 6, 2011, at 9:47 AM, Daniel Kraft wrote: Hi all, I'm not able to build Gnucash 2.4.5 with Guile 2

Re: Gnucash with Guile 2

2011-05-19 Thread Mike Alexander
--On May 18, 2011 7:23:38 PM +0200 Geert Janssens janssens-ge...@telenet.be wrote: On vrijdag 6 mei 2011, John Ralls wrote: On May 6, 2011, at 9:47 AM, Daniel Kraft wrote: Hi all, I'm not able to build Gnucash 2.4.5 with Guile 2 installed -- which is not too surprising, since the API