[GNC-dev] Transaction / Split Action List

2018-06-23 Thread Robert Fewell
There have been some enquiries about customising this list so I thought I would propose a possible solution that I may work. At the moment the static lists are based on register type in split-register.c and it looks to me there are two possible options. 1, Dynamicaly add to these lists based on

Re: [GNC-dev] Transaction / Split Action List

2018-06-23 Thread Geert Janssens
Op zaterdag 23 juni 2018 18:12:34 CEST schreef John Ralls: > > On Jun 23, 2018, at 4:58 AM, Robert Fewell <14ubo...@gmail.com> wrote: > > > > There have been some enquiries about customising this list so I thought I > > would propose a possible solution that I may work. > > At the moment the

Re: [GNC-dev] Budgets: showing total-to-date in budget period, and previous month totals only

2018-06-23 Thread Christopher Lam
Hi Phil, glad to know I haven't broken anything. Can't think what to do about headers; these are problems that should be fixed in CSS! If you wish I can submit a PR but ideally would wish to create a satisfactory test datafile and report output. I don't use budget, so, I wouldn't be the best

Re: [GNC-dev] Transaction / Split Action List

2018-06-23 Thread John Ralls
> On Jun 23, 2018, at 4:58 AM, Robert Fewell <14ubo...@gmail.com> wrote: > > There have been some enquiries about customising this list so I thought I > would propose a possible solution that I may work. > At the moment the static lists are based on register type in > split-register.c and it

Re: [GNC-dev] Budgets: showing total-to-date in budget period, and previous month totals only

2018-06-23 Thread Phil Longstaff
Hi Chris, I am running 3.1 and it works. The only comment I have is that the 'Bgt', 'Act' and 'Diff' headings are left-justified and look a bit strange. I think center- or right-justified would be better. Thanks for doing this. Phil On Sun, Jun 17, 2018 at 11:16 AM Christopher Lam wrote: > Hi

Re: [GNC-dev] Widget naming and css

2018-06-23 Thread John Ralls
> On Jun 23, 2018, at 4:18 AM, Robert Fewell <14ubo...@gmail.com> wrote: > > I have been thinking about naming some widgets and changing some of the > entries I added with css style classes and wondered if there has been a > convention decided. > > What I would like to see is a couple of

[GNC-dev] Widget naming and css

2018-06-23 Thread Robert Fewell
I have been thinking about naming some widgets and changing some of the entries I added with css style classes and wondered if there has been a convention decided. What I would like to see is a couple of unique prefixes so that one could do a grep on the top level directory and obtain all such

Re: [GNC-dev] New balsheet (and P report), API considerations, and (slow?) KVP in Account.cpp

2018-06-23 Thread John Ralls
> On Jun 22, 2018, at 9:42 PM, Christopher Lam > wrote: > > Hi All > > I'm working through balance-sheet.scm and overhauling this report. > > At the same time, I can see that balance-sheet.scm and income-statement.scm > can be merged together. > > After all > > * balance sheet =

Re: [GNC-dev] New balsheet (and P report), API considerations, and (slow?) KVP in Account.cpp

2018-06-23 Thread Christopher Lam
Hi John, the split->noclosing_balance is updated in xaccAccountRecomputeBalance. Will continue copypasta coding until it works! On Sat, 23 Jun 2018, 23:56 John Ralls wrote: > > > > On Jun 22, 2018, at 9:42 PM, Christopher Lam > wrote: > > > > Hi All > > > > I'm working through

Re: [GNC-dev] Transaction / Split Action List

2018-06-23 Thread John Ralls
> On Jun 23, 2018, at 9:14 AM, Geert Janssens > wrote: > > Op zaterdag 23 juni 2018 18:12:34 CEST schreef John Ralls: >>> On Jun 23, 2018, at 4:58 AM, Robert Fewell <14ubo...@gmail.com> wrote: >>> >>> There have been some enquiries about customising this list so I thought I >>> would propose

[GNC-dev] Minor coding style discussion: C++ and comments

2018-06-23 Thread Christian Stimming
Dear developers, some years ago we had a longer discussion about our coding style guide, especially as we started with more C++ parts in the project. Last time we discussed this a bit more was in 2014 [1], and the result was summarized in the wiki page

Re: [GNC-dev] Minor coding style discussion: C++ and comments

2018-06-23 Thread John Ralls
> On Jun 23, 2018, at 2:16 PM, Christian Stimming > wrote: > > Dear developers, > > some years ago we had a longer discussion about our coding style guide, > especially as we started with more C++ parts in the project. Last time we > discussed this a bit more was in 2014 [1], and the

Re: [GNC-dev] Transaction / Split Action List

2018-06-23 Thread Paul Dest
My 2 cents from from the user perspective: Being able to put user-defined strings into a record field is of very limited value if you are not able to search/find/analyze this data. That's why, as I recently had built a GnuCash with my own split action list for myself, I additionally extended the