Re: C++ plans? (Re: r23706 - gnucash/trunk/src/register/ledger-core - Bug 721791)

2014-01-22 Thread John Ralls
On Jan 22, 2014, at 6:15 PM, Derek Atkins wrote: > > On Wed, January 22, 2014 8:57 pm, John Ralls wrote: >> >> PImpl, which decomposes as either "Private Implementation" or "Pointer to >> Implementation" is a basic C++ idiom. Here's Herb Sutter's explanation: >> http://herbsutter.com/gotw/_100

Re: C++ plans? (Re: r23706 - gnucash/trunk/src/register/ledger-core - Bug 721791)

2014-01-22 Thread John Ralls
On Jan 22, 2014, at 6:30 PM, Mike Alexander wrote: > --On January 21, 2014 2:57:13 PM -0800 John Ralls wrote: > >> * Get the current code to compile as C++. Necessary so that we can >> mix C++ and C in the same modules. > > While this is a good idea, it may not be necessary. I helped convert

New Scheme report - trying to load from home dir

2014-01-22 Thread Yawar Amin
Hi, I'm following the instructions at http://wiki.gnucash.org/wiki/Custom_Reports#Load_the_report_from_a_user_account and trying to prototype a new Scheme report. However I don't see it anywhere on the Reports menu. There are no indicators as to what happened, why it failed to show up. I have

Re: C++ plans? (Re: r23706 - gnucash/trunk/src/register/ledger-core - Bug 721791)

2014-01-22 Thread Mike Alexander
--On January 21, 2014 2:57:13 PM -0800 John Ralls wrote: * Get the current code to compile as C++. Necessary so that we can mix C++ and C in the same modules. While this is a good idea, it may not be necessary. I helped convert another program of similar size as Gnucash to C++ a while ago

Re: C++ plans? (Re: r23706 - gnucash/trunk/src/register/ledger-core - Bug 721791)

2014-01-22 Thread Derek Atkins
On Wed, January 22, 2014 8:57 pm, John Ralls wrote: > > PImpl, which decomposes as either "Private Implementation" or "Pointer to > Implementation" is a basic C++ idiom. Here's Herb Sutter's explanation: > http://herbsutter.com/gotw/_100/ Ahh, I do know this idiom, I have just never seen it named

Re: C++ plans? (Re: r23706 - gnucash/trunk/src/register/ledger-core - Bug 721791)

2014-01-22 Thread John Ralls
On Jan 22, 2014, at 6:44 AM, Derek Atkins wrote: > John Ralls writes: > >> One other thing: I’m inclined to write any class that contributes to >> the engine’s public API (which I intend should be much smaller than it >> is now) to use PImpl; the pointer class will be passed as a shared_ptr >>

Re: r23740 - gnucash/trunk/src/register/ledger-core - Bug 722123 - Zero price entry added to price database on stock purchase

2014-01-22 Thread Mike Alexander
--On January 22, 2014 4:07:27 PM +0100 Herbert Thoma wrote: This gives me a "may be used ininitialized" warning. Can be fixed by initializing PriceCell *cell with NULL (first line of function gnc_split_register_auto_calc()), see below. Herbert. diff --git a/src/register/ledger-core/split-

Assumptions regarding the python bindings

2014-01-22 Thread Bas ten Berge
Hi all, I'm using the python bindings that are supplied with gnucash 2.6 with the intention of developing a web application to generate invoice-files, using data stored in gnucash. Yes, I know about the mantra ;-) A couple of questions arise as I dig deeper into the bindings and I hope someone on

Re: [PATCH] French translation update

2014-01-22 Thread Cristian Marchi
Il 22/01/2014 17:48, Sébastien Villemot ha scritto: Hi, Please find attached one more update to the French translation. Cheers, Patch applied! Thanks! ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listi

Re: Poll: when to migrate code to the new server?

2014-01-22 Thread Alex Aycinena
On Wed, Jan 22, 2014 at 7:55 AM, wrote: > > On Jan 21, 2014, at 8:52 AM, Derek Atkins wrote: > > > Hi, > > > > The new-code server is just about ready for migration. I've got most of > > the services already installed and tested, (although some less vital > > services have not been fully tested

Re: Nightly build broken

2014-01-22 Thread Geert Janssens
Should be fixed with commit r23743. I've decided to simply skip the patch on windows for now. It turns out that the patch tool we use on Windows is too old to properly handle the patch :( I have an alternative branch where I'm experimenting with a major version upgrade of many of the tools in

Re: r23740 - gnucash/trunk/src/register/ledger-core - Bug 722123 - Zero price entry added to price database on stock purchase

2014-01-22 Thread Herbert Thoma
Hi! This gives me a "may be used ininitialized" warning. Can be fixed by initializing PriceCell *cell with NULL (first line of function gnc_split_register_auto_calc()), see below. Herbert. diff --git a/src/register/ledger-core/split-register.c b/src/register/ledger-core/split-register.c inde

Re: C++ plans? (Re: r23706 - gnucash/trunk/src/register/ledger-core - Bug 721791)

2014-01-22 Thread Derek Atkins
John Ralls writes: > One other thing: I’m inclined to write any class that contributes to > the engine’s public API (which I intend should be much smaller than it > is now) to use PImpl; the pointer class will be passed as a shared_ptr > (i.e., reference counted like GObjects are supposed to be b

Re: Nightly build broken

2014-01-22 Thread Cristian Marchi
Il 21/01/2014 22.14, Geert Janssens ha scritto: On Tuesday 21 January 2014 12:45:03 Cristian Marchi wrote: > I just want to report that the nightly build is broken apparently due > to a problem in patching file swig-unittest-support-guile.c. > > Regards > Cristian Yes, that's due to one o

Re: Poll: when to migrate code to the new server?

2014-01-22 Thread Cristian Marchi
Il 21/01/2014 17.52, Derek Atkins ha scritto: Hi, The new-code server is just about ready for migration. I've got most of the services already installed and tested, (although some less vital services have not been fully tested yet). My main question is when to migrate? One thing to keep in m