Re: Introducing myself

2016-10-11 Thread Christopher Lam
Very interesting legislation - just peeked at the gnucash-fr ML archives. I have no more to add regarding data transform mechanisms. But you also mentioned read-only access to old transactions, perhaps you've seen the following from Sweden?

Suggestion to transaction.scm

2017-08-12 Thread Christopher Lam
" (get-other-account-names c_account_1)) +(set! c_account_1 + (filter (lambda (acc) +(string-contains (gnc-account-get-full-name acc) c_account_matcher)) + c_account_1)) + (if (not (or (null? c_account_1) (and-map not c_account_1))) (begin

Re: Suggestion to transaction.scm

2017-08-13 Thread Christopher Lam
Btw this works for win10 with old guile so I'd wager OSX and Linux should be fine On 13 Aug 2017 12:57, "Christopher Lam" <christopher@gmail.com> wrote: > I'd like to suggest an addition to transaction.scm. I enjoy using it - I > think it's the most versatile reporti

about that restructuring, and .scm files

2017-08-08 Thread Christopher Lam
Regarding adding new reports Apologies if this is the worst time to ask, but I believe I have fixed some scheme reports which can be plugged in the following folders. I've tested in Windows and Ubuntu and they seem to work well. It'll belong in Report > Collected Reports, and would make a nice

Re: about that restructuring, and .scm files

2017-08-09 Thread Christopher Lam
to code in C++. I'll create PR in 10 days' time and hopefully someone will test a build. C On 9 August 2017 at 01:21, John Ralls <jra...@ceridwen.us> wrote: > > > On Aug 8, 2017, at 6:02 PM, Christopher Lam <christopher@gmail.com> > wrote: > > > > Regarding

Re: Unintended consequences / retrograde behaviour re 2.6.16 fix of Bug 603379 - Prevent changing some Account Options if it has transactions.

2017-05-02 Thread Christopher Lam
Not sure how much this adds to the discussion, but a long time ago, as a user new to job market and accounting in general, I was expensing my pension contributions. As a salaried employee, and as a new contractor, I was categorizing them as Expenses:Pension Now I know these belong in the assets

transaction.scm date subtotal options - calling wizards ...

2017-09-22 Thread Christopher Lam
Hi devs, While working on transaction.scm (again) to fix a sorting/grouping bug[1], I came across some inconsistencies: 1. if I choose sortkey "date" "exact-time" -- they do the exact same thing, but otherwise work well 2. if I choose sortkey "reconciled date" -- it does what it says, however

RE: transaction.scm date subtotal options - calling wizards ...

2017-09-22 Thread Christopher Lam
September 2017 10:40 PM To: Christopher Lam Cc: gnucash-de...@lists.gnucash.org Subject: Re: transaction.scm date subtotal options - calling wizards ... On Sep 22, 2017, at 5:48 AM, Christopher Lam <christopher@gmail.com> wrote: Hi devs, While working on transaction.scm (again) to fix a s

Re: transaction.scm date subtotal options - calling wizards ...

2017-09-22 Thread Christopher Lam
) shouldn't be disturbed. On 22 September 2017 at 23:41, Christopher Lam <christopher@gmail.com> wrote: > Hi John, > > > > The origin of this project comes from my wish to produce report... "how > much did I spend on various categories, in this quarter?" > >

Re: Fw: VAT Call for Software developers

2017-09-06 Thread Christopher Lam
Here's one spreadsheet generator that has been cooking earlier... Looking for beta testers. I'll hope this will be ready for 2.8. https://github.com/Gnucash/gnucash/pull/177 On 6 September 2017 at 05:22, Wm via gnucash-devel < gnucash-devel@gnucash.org> wrote: > On 17/08/2017 13:47, Mike Evans

Fwd: Translation...

2017-11-10 Thread Christopher Lam
lation... To: Christopher Lam <christopher@gmail.com> Dear Christopher, I would be happy to help. How could I do that ? I had a look to the .po file, last night. I felt like making lots of changes. But, what about people who get used of the current translation? It looks important to me not to d

Re: Recording in KRW, Reporting in USD, Budgeting in USD

2017-11-10 Thread Christopher Lam
Hi Scott, if you have some hacking skills, you can test a beta Transaction Report which can display both report and original currency. With any luck it'll be ready for inclusion in the next release. Are you able to follow https://wiki.gnucash.org/wiki/Custom_Reports#Loading_Your_Report and

Re: Announcement: GnuCash 2.7.1 Release 2017-10-29

2017-10-30 Thread Christopher Lam
Hi John I tried windows which worked first time, then crashed on clicking around the SX calendar. Afterwards it doesn't launch even after restarting windows. The tracefile remains empty. Is there a particular event log that would help? Alternatively do you have instructions on hooking up a

Re: US tax with foreign stocks advance portfolio

2017-12-20 Thread Christopher Lam
Hi Ignacio I agree there are limitations with exchange rate valuation. I note you were using the Advanced Portfolio report. Some issues also apply to the other reports with currency conversion I can see two issues here: 1. options for exchange rates are: a) locked on to report date b)

Re: [GNC-dev] pricedb policy

2018-05-14 Thread Christopher Lam
Here you go, a prices-report.scm which can be dropped into standard-reports folder and adds a rudimentary forex analysis. If rebuilding you'll need to add onto CMakeLists.txt as well. It scans *only* transactions which involve 2 different commodities. eg GBP<->EUR or AAPL<->USD. It calculates

Re: [GNC-dev] pricedb policy

2018-05-13 Thread Christopher Lam
e original user:price? (or add another?) If the two get out of sync, how do you determine what is the true source to use to regenerate upon loading and Check? Regards, Adrien On May 13, 2018, at 5:34 AM, Christopher Lam <christopher@gmail.com> wrote: Hi Devs I wish to enquire about

Re: [GNC-dev] pricedb policy

2018-05-13 Thread Christopher Lam
out of sync, how do you determine what is the true source > to use to regenerate upon loading and Check? > > > > Regards, > > Adrien > > > >> On May 13, 2018, at 5:34 AM, Christopher Lam <christopher@gmail.com> > wrote: > >> > >>

Re: [GNC-dev] [GNC] feature request, select all on reconcille

2018-05-19 Thread Christopher Lam
I believe it'll be gnc-window-reconcile-ui.xml in gnucash/ui but no idea how to modify it either. Not a glade file. On 20 May 2018 at 08:46, Dennis Powless wrote: > Ok, yes it would seem glade is much, much easier. However, I was not able > to open window-reconcile.c in

Re: [GNC-dev] Ubuntu. Both guile-2.0 and guile-2.2 installed, can't find guile-2.2

2018-05-17 Thread Christopher Lam
As it turns out, thanks to #guile, I found out I had to 'sudo apt install guile-2.2-dev' to properly get the right guile-2.2. C On 11/05/18 21:29, Christopher Lam wrote: As per subject. Having successfully worked on guile-2.0, I wished to try 2.2 and 'sudo apt install guile-2.2' and all

Re: [GNC-dev] Report System Rework

2018-06-10 Thread Christopher Lam
> >> > > >> If you take the changes from PR#360 and comment out the report ID in > > the call to gnc:define-report from any standard report, you will see that > > an "ordinary" pop-up window is created. > > >> > > >> -Carsten > &

[GNC-dev] Fwd: The two modules

2018-06-15 Thread Christopher Lam
he two modules To: Christopher Lam Hope this helps. As I mentioned in the list email, perhaps there is a way to show the Trading Accounts if they are present and suppress if they are not. Also, I think it would be acceptable to have an Income/Expense Report on a separate page but generated by th

Re: [GNC-dev] Fwd: The two modules

2018-06-18 Thread Christopher Lam
rds! > > > > So, wishlist: > > > > * datafile with example transactions > > * current html report of standard balsheet > > * annotated ideal report produced by standard balsheet :) > > > > Let's keep this discussion public for external inpu

Re: [GNC-dev] Build issues and some free testing

2018-06-12 Thread Christopher Lam
24 Jan 2018 at 11:19 John Ralls jra...@ceridwen.us>> wrote: > > > > > > > On Jan 22, 2018, at 6:56 PM, Robert Merkel <mailto:robert.mer...@benambra.org>> wrote: > > > > > > Hello all. > > > > > > If you dig far enough into the

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

2018-06-17 Thread Christopher Lam
Hi Phil I've taken the liberty of fixing up your YTD-budget, renamed to budget-ytd. I don't use budgeting myself and cannot check figures. But it seems useful enough. https://github.com/christopherlam/gnucash/tree/master-ytd Would you be kind to double check it works as expected in 3.1/maint

Re: [GNC-dev] pricedb policy

2018-05-27 Thread Christopher Lam
amounts or values) then *go look at the splits*. If for some > reason you need to cache the prices then cache the prices. Don’t overload > the pricedb for a purpose for which it’s not designed. > > Regards, > John Ralls > > > > On May 13, 2018, at 6:19 PM, Christopher Lam <chris

[GNC-dev] book-currency

2018-07-01 Thread Christopher Lam
There's lots of dead code related to an (AFAIK) unimplemented book-currency or currency-accounting feature... Some are cluttering options.scm - should we remove them? ___ gnucash-devel mailing list gnucash-devel@gnucash.org

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

2018-06-22 Thread Christopher Lam
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 = asset/liability/equity balance at date X, * income statement = difference in

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

2018-06-23 Thread Christopher Lam
would be better. Thanks for doing this. Phil On Sun, Jun 17, 2018 at 11:16 AM Christopher Lam mailto:christopher@gmail.com>> wrote: Hi Phil I've taken the liberty of fixing up your YTD-budget, renamed to budget-ytd. I don't use budgeting myself and cannot check f

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 >

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

2018-06-24 Thread Christopher Lam
nt report altogether, and the others will be sunsetted. Hopefully this new report will be broadly acceptable because the old reports have a *lot* of supporting unintelligible old code, especially to handle closing-entries as above. C On 24/06/18 00:51, Christopher Lam wrote: Hi John, the split->noclo

Re: [GNC-dev] book-currency

2018-07-02 Thread Christopher Lam
Hi Alex Thank you for update - would you mind letting us know the layman version of it? Thanks! On 3 July 2018 at 01:02, Alex Aycinena wrote: > >> -- Forwarded message -- >> From: John Ralls >> To: Christopher Lam >> Cc: gnucash-devel >> Bcc:

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

2018-07-02 Thread Christopher Lam
Hi Stephen, Dave Thank you - Dave - the changes are merely cosmetic therefore easy. It sounds there are still 2 desired presentational types - (1) Dave's approach = *recursive-bal* - 'parent' accounts generally collect their children account amounts; if they also have their own amount, the

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

2018-07-03 Thread Christopher Lam
uli 2018 02:57:50 CEST schreef Christopher Lam: > > Hi Stephen, Dave > > > > Thank you - > > > > Dave - the changes are merely cosmetic therefore easy. > > > > It sounds there are still 2 desired presentational types - (1) Dave's > > approach = *r

Re: [GNC-dev] [GNC] Gnucash 3.1 crashes on Windows 10 while loading Reports-Gnome

2018-05-01 Thread Christopher Lam
need this? Regards Peter Nurton Court Middleton-on-the-Hill Ludlow SY8 4BD Tel: 01568 750 248 Mob: 07955 586 476 On 1 May 2018 at 07:21, Christopher Lam <christopher@gmail.com <mailto:christopher@gmail.com>> wrote: Hi Peter, the amended report will unlock subtotals and

Re: [GNC-dev] [GNC] Gnucash 3.1 crashes on Windows 10 while loading Reports-Gnome

2018-05-01 Thread Christopher Lam
0 248 Mob: 07955 586 476 > > On 30 April 2018 at 22:33, Christopher Lam <christopher@gmail.com> > wrote: > >> HTH >> >> On 01/05/18 05:14, Peter Jackson wrote: >> >> Dear Chris, I'm sorry, this is beyond my skills. A simple cut and paste,

Re: [GNC-dev] [GNC] Gnucash 3.1 crashes on Windows 10 while loading Reports-Gnome

2018-04-30 Thread Christopher Lam
mo/Notes > 2) Sort on Primary Key > 3) Consolidate Transactions over selected period. The Standard Gnucash > Period offering is fine. > > Regards > > Peter > > > On 29 April 2018 at 23:22, Christopher Lam <christopher@gmail.com> > wrote: >

Re: [GNC-dev] [GNC] Gnucash 3.1 crashes on Windows 10 while loading Reports-Gnome

2018-04-29 Thread Christopher Lam
Hi Peter Just putting out there... Which part of the Consolidated Transaction Report is particularly useful? I think the Transaction Report 3.1 can be augmented to support some of them... HTH On 30/04/18 05:58, John Ralls wrote: On Apr 29, 2018, at 12:28 PM, Peter Jackson

Re: Future allocated money, aka Envelope Budgeting

2018-02-01 Thread Christopher Lam
2:48 PM, Phil Longstaff <phil.longst...@gmail.com> wrote: On Wed, Jan 31, 2018 at 11:35 AM, Adrien Monteleone <adrien.montele...@gmail.com <mailto:adrien.montele...@gmail.com>> wrote: On Jan 31, 2018, at 10:09 AM, Christopher Lam <christopher@gmail.com <mailto:christ

Re: how exactly to do unit testing in scheme...

2018-01-28 Thread Christopher Lam
. This both checks the logic of > the controller but also allows error and other paths to be tested. > > On Wed, Jan 24, 2018 at 11:03 AM, Christopher Lam < > christopher@gmail.com> wrote: > >> Dear Devel >> >> To rgmerk: Welcome back, and it was a nice to mee

Future allocated money, aka Envelope Budgeting

2018-01-31 Thread Christopher Lam
Hi Matt- I thought this should move to the devel list, because of technical details, and this discussion will be very speculative. I had a thought about how envelope budgeting could work: "divide your paycheck into separate envelopes for different purposes". A solution: *Create another type

Re: Future allocated money, aka Envelope Budgeting

2018-02-02 Thread Christopher Lam
er way I'd be grateful if some pointers could be offered? Even if code, UI and reports are not completed in time for 3.0, it would be nice to formalize the schema 3.0 release? I may be able to do TDD for this @rgmerk Thanks! On 01/02/18 22:45, Adrien Monteleone wrote: On Feb 1, 2018, at 8:22 A

Re: Future allocated money, aka Envelope Budgeting

2018-02-04 Thread Christopher Lam
Hi Wm I wished to experiment in what budgeting should look like by using the existing engine, UI, and reporting infrastructure. It's actually not that difficult to create a 'budget balance calculator'; whether it meets the needs for everyone is another matter. But for people who wish to

Re: Bug in "Liabilities Barchart" report (since 2.6.19)

2018-02-05 Thread Christopher Lam
Hi Di Mang I agree bug exists - would you be able to file bug report? We'd need to investigate category-barchart.scm On 06/02/18 05:24, Di Mang wrote: Hello all, I have investigated this problem further in the last few days. I think, it doesn't depend on some special version of GnuCash. For

Re: how exactly to do unit testing in scheme...

2018-02-12 Thread Christopher Lam
tp://burtleburtle.net/bob/math/jenny.html Hope this helps, and feel free to ask more questions. I will try to respond more promptly! On Thu, Jan 25, 2018 at 3:03 AM, Christopher Lam <christopher@gmail.com> wrote: Dear Devel To rgmerk: Welcome back, and it was a nice to meet irl!

Re: Scope of GNUCash

2018-02-13 Thread Christopher Lam
Hi Adrien - from someone who jumped head first into scheme, come on in :) the water's warm, and the old guard are very happy to help you implement your wishlist. Meanwhile you'll soon see for yourself what the project needs and can dabble in too. Scheme currently needs lots of refactoring and

Re: RFP: Generic Comparison Report

2018-02-09 Thread Christopher Lam
Hi D Wish to move to devel, technical and policy details abound. There's already work done to enable periodic subtotals comparison. This feature has been named "Subtotal Summary Grid". This is done by reusing and augmenting the (most excellent) transaction report's grouping and subtotals.

Re: trial balance - how to find mismatch question

2018-02-15 Thread Christopher Lam
Hi Adrien, could you distil this to a minimal test file and submit in a bug report and include relevant report and report parameters? C On 16 Feb 2018 10:09, "Adrien Monteleone" wrote: > How timely. > > Any way to solve this or do I just chalk it up? > > Regards, >

Re: Scope of GNUCash

2018-02-16 Thread Christopher Lam
Hi Matt Thank you very much for documentation efforts. FWIW I still prefer virtual transactions which are ridiculously easy to generate, and to keep up to date. The challenge is not technical, but it's the mindshare. I've sat through YNAB videos long enough to understand how it works. It is

Re: trial balance - how to find mismatch question

2018-02-16 Thread Christopher Lam
> that there is a difference between IMBALANCE-XXX (an indication that you > > have transactions that lacked a balancing split) and the Imbalance entry > in > > the Trial Balance report. This latter most likely indicates (as David C. > > has hinted) that your books

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

2018-07-27 Thread Christopher Lam
* accuracy of sections o further tweaking of option names/sections/ordering Screenshot: https://screenshots.firefox.com/nhaiX1ehSA2GXA97/null On 25/07/18 15:53, Frank H. Ellenberger wrote: Am 19.07.2018 um 13:09 schrieb Christopher Lam: Hi Frank Thank you - I can restore the dual-columns when

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

2018-08-08 Thread Christopher Lam
Hi devs, On 09/08/18 08:32, John Ralls wrote: On Aug 8, 2018, at 8:51 AM, Geert Janssens wrote: I haven't been following every detail of this. However I note on most balance sheets the total assets doesn't match total net worth (or liabilities/equity). In most, this is fixed by including the

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

2018-08-11 Thread Christopher Lam
Hi John I've managed to make the left-side (activa?) match the right-side (passiva?) https://screenshots.firefox.com/RNvkjaxnYyxpGkYn/null 1) it does require closing books on the balance-sheet date 2) it does require adding trading-accounts The existing balsheet introduces/calculates the

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

2018-08-08 Thread Christopher Lam
Hi Frank, I would think if the multiple categories of accounts are desired, they should be designed in the Chart of Accounts rather than the balance sheet. At least this is what I'd design my book as, rather than trying to code various formulas in scheme. I've rendered the same test book

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

2018-08-16 Thread Christopher Lam
Ralls wrote: On Aug 12, 2018, at 10:04 PM, Christopher Lam mailto:christopher@gmail.com>> wrote: Hi Jralls So just wish to double check my understanding of gnucash's data format for a balance-sheet on date X There are two possibilities for displaying the right-hand-side 1. Liabi

Re: [GNC-dev] Training

2018-08-13 Thread Christopher Lam
udget it would be great. Can this be done? > > Also, I don't understand the transfer row in the budget window and how > that works with accounts. > > There are so many great features to this program--wish I could work with a > guru and make a bunch of videos for you guys. &g

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

2018-08-14 Thread Christopher Lam
: On Aug 12, 2018, at 10:04 PM, Christopher Lam wrote: Hi Jralls So just wish to double check my understanding of gnucash's data format for a balance-sheet on date X There are two possibilities for displaying the right-hand-side 1. Liabilities + Equity + Retained Earnings + Trading Balances 2

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

2018-08-06 Thread Christopher Lam
w in two currencies but not others. (looks like just the GBP accounts) Is this intended or just an illustration (or an omission)? Regards, Adrien On Jul 27, 2018, at 8:01 AM, Christopher Lam wrote: Latest iteration of balsheet * restored amount-indenting. IMHO this is now producing sane indenting

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

2018-08-12 Thread Christopher Lam
ted because that’s currently how the balance sheet report gets the “actual” costs. Regards, John Ralls On Aug 10, 2018, at 11:40 PM, Christopher Lam mailto:christopher@gmail.com>> wrote: Hi John I've managed to make the left-side (activa?) match the right-side (passiva?) https://s

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

2018-08-17 Thread Christopher Lam
t recent price in the pricedb for the purchase as well as the valuation. Regards, John Ralls On Aug 16, 2018, at 12:58 AM, Christopher Lam wrote: Hi John Just to be a pain again... I found a small discrepancy - (This is different from the previously noted missing-capital-gains situation) if t

Re: [GNC-dev] Register Documentation Improvements (was Re: [GNC]Column widths again)

2018-08-23 Thread Christopher Lam
> So does GitHub (it’s the pencil icon to the right of Raw/Blame/History), > which also has a desktop front-end, https://desktop.github.com/ > and a button on a file’s webpage that opens the > file in Github Desktop. > I haven’t tried any of them, but perhaps David

[GNC-dev] about these account-summary reports...

2018-07-22 Thread Christopher Lam
I'll be aiming to replace and upgrade the following reports: * balance-sheet * income-statement * account-summary * budget-flow * cashflow Basically all of above are using html-acct-table to create a 2D grid (vertical = accountlist, horizontal = indented amounts). I think I can upgrade

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

2018-07-19 Thread Christopher Lam
s? Can you please show me good examples of idealised T-account balance sheet/income statement? Or the scaled form? I have no idea. C On 19 July 2018 at 05:17, Frank H. Ellenberger < frank.h.ellenber...@gmail.com> wrote: > Hi Chris, > > Am 18.07.2018 um 15:13 schrieb Chris

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

2018-07-18 Thread Christopher Lam
functions are good enough to be reused to replace net-charts, category-barchart etc. * Hopefully the unintelligible old code can then be dumped for good. C On 03/07/18 15:41, Geert Janssens wrote: Op dinsdag 3 juli 2018 02:57:50 CEST schreef Christopher Lam: Hi Stephen, Dave Thank you - Dave

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

2018-09-05 Thread Christopher Lam
2018 at 21:20, Christopher Lam wrote: > Hi David > > I refer you to a prior discussion: > https://lists.gnucash.org/pipermail/gnucash-user/2018-June/077758.html > > I appreciate balance-sheet is a formal accounting report. The problem is, > as always, within the details. >

Re: [GNC-dev] merging failing tests

2018-09-05 Thread Christopher Lam
Hi As an untrained hacker, I think the issue is whether these "bugs" are really worth fixing at all. I can imagine the history of the dark ages; and html was being refined, and previously the reports were outputting plaintext or directly to screen via X calls; the hackers decide to start

Re: [GNC-dev] Long Term Documentation Directions

2018-09-10 Thread Christopher Lam
On Mon, 10 Sep 2018 at 19:31, David Cousens wrote: > > One problem I see for Unix is that at present there doesn't appear to be a > help viewer in Unix that has support for context level help. Doc books can > obviously support defining links that can be accessed from help buttons or > a > key

Re: [GNC-dev] Slow user interface in 3.x gnucash (for large files), and potential optimization

2018-07-04 Thread Christopher Lam
Hi David, Just as a matter of experimentation, try the new charting tree available at https://github.com/christopherlam/gnucash/tree/master-chartjs - it replaces the antiquated jqplot with shiny ChartJS - it is awaiting beta testers, and it seems you can build from source :-) Features: -

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

2018-07-04 Thread Christopher Lam
. https://screenshots.firefox.com/NcMKts75npXbP4Bc/null C On 05/07/18 03:40, Stephen M. Butler wrote: Could you repost the location to pull the latest?  My memory is over-full and appears to be working the LIFO method of cleanup. On 07/04/2018 05:13 AM, Christopher Lam wrote: I've restored

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

2018-07-04 Thread Christopher Lam
test! I've made some cosmetic changes too. eg dates in their own row, double-underline for grand-total only. I do not think it'll be wise to reduce font sizes for account-depth. Still remaining: - fix negative signs strategy On 03/07/18 16:17, Christopher Lam wrote: Broadly yes, one approach

[GNC-dev] stress-testing reports

2018-07-12 Thread Christopher Lam
Hi all To aid in development and refactoring of the numerous reports, I've developed a report-options stress test. *Premise:* Most reports are currently defined in scheme. The reporting engine expects, at a minimum, 2 functions to be defined - an options generator, and a renderer. The options

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

2018-07-04 Thread Christopher Lam
) - for this illustration periodic columns have been disabled C On 04/07/18 20:13, Christopher Lam wrote: I've restored multilevel-subtotals... using an easier tack than previously: instead of keeping lists(1 per account-depth) of lists (1 per column) of collectors, it'll just climb up the hierarchy

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

2018-07-04 Thread Christopher Lam
Oops https://screenshots.firefox.com/pttTjFEtYTJLXzam/null Sorry for spam, fixed screenshot On 04/07/18 21:20, Christopher Lam wrote: Forgot to include a screenshot to illustrate https://screenshots.firefox.com/Z7HOv5pb2qbRc5NP/null - recursive balance vs. multilevel (and saner alignment

how exactly to do unit testing in scheme...

2018-01-24 Thread Christopher Lam
Dear Devel To rgmerk: Welcome back, and it was a nice to meet irl! While simplifying transaction.scm and thinking of unit testing, I now have a conundrum worthy of an expert view. The reports require 2 main functions – the options generator and the renderer; the options generator generates a

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

2018-06-24 Thread Christopher Lam
; the closing entries are first sought, cached, then analyzed as required. For posterity C could also produce noclosing balances for easier future reports, but I think this works well so far. C On 24/06/18 17:50, Christopher Lam wrote: I think I'll forego a noclosing_balance upgrade in C

Re: [GNC-dev] GnuCash 3.3 Released

2018-10-01 Thread Christopher Lam
Hi all While everyone is busy shaking the program to weed out any new bugs, please be aware that the invoice reports have been modified, with an aim for greater maintainability (i.e. printable invoice, easy-invoice, fancy-invoice now share the same code base and have been approximated as well

Re: [GNC-dev] GnuCash 3.3 Released

2018-10-01 Thread Christopher Lam
. On Mon, 1 Oct 2018 at 22:35, Adrien Monteleone < adrien.montele...@lusfiber.net> wrote: > Chris, > > Did your new Income/Balance multi-column report make it into this release > or is it still in development? > > Regards, > Adrien > > > On Oct 1, 2018,

Re: [GNC-dev] taxtxf

2019-01-04 Thread Christopher Lam
/us/taxtxf.scm but I'll wish to create good tests to ensure this work is safe. On Sat, 5 Jan 2019 at 06:06, Alex Aycinena wrote: > > > Christopher, > > >> >> -- Forwarded message ------ >> From: Christopher Lam >> To: GnuCash development list >&g

Re: [GNC-dev] [GNC] Reconciliation Report -- Can't find transactions

2019-01-16 Thread Christopher Lam
/pipermail/gnucash-user/2019-January/081941.html > > Can you share your report files there or does the new version also require > changes to other parts of gnucash to make it work? > > Regards, > Adrien > > > On Jan 13, 2019, at 9:39 AM, Christopher Lam > wrote: > &

Re: [GNC-dev] Two steps forward (Maybe three back)

2019-01-20 Thread Christopher Lam
; -46860 is a relatively small number of seconds before 1/1/70 yet qof-print-date reports 31/12/70. Back to jralls for root cause analysis! On Mon., 21 Jan. 2019, 14:50 Stephen M. Butler On 1/20/19 8:07 PM, Christopher Lam wrote: > > There's no reason why the dates can't be c

Re: [GNC-dev] Two steps forward (Maybe three back)

2019-01-21 Thread Christopher Lam
t; On 21/1/19 12:58 pm, Stephen M. Butler wrote: On 1/20/19 8:07 PM, Christopher Lam wrote: There's no reason why the dates can't be changed. The reason dates straggling 1.1.1970 was chosen was because 1.1.1970 corresponds to time 0 in time64, and I felt that having a few negative time64 numbers

Re: [GNC-dev] Two steps forward (Maybe three back)

2019-01-20 Thread Christopher Lam
There's no reason why the dates can't be changed. The reason dates straggling 1.1.1970 was chosen was because 1.1.1970 corresponds to time 0 in time64, and I felt that having a few negative time64 numbers would be interesting to test sorting. However this is a weird weirdness -- the test

Re: [GNC-dev] [GNC] New Budget Bar Chart Not Displaying

2019-01-23 Thread Christopher Lam
Directed towards Adrien- how should the budgeting reporting options look like? Budget has start-date and num(periods) Budget-report-date has its own start-date and end-date -- they should be removed? I don't use the budgeting tools myself. (ytd-budget.scm from years back seems to be a good

Re: [GNC-dev] Make of 3.3-181

2018-12-24 Thread Christopher Lam
There is still a strong argument to clean up these reports... They are generally messy, lots of duplicate code, impose new translatable strings; they use localised C API such as xaccAccountGetTaxUSCode (even taxtxf-de_DE.scm calls it), are poorly tested. I have not touched any of them

Re: [GNC-dev] clang-format - thoughts ?

2018-12-24 Thread Christopher Lam
From a lisp viewpoint I was thinking of putting forward a coding style too! I use emacs which does the following automatically: https://www.gnu.org/software/emacs/manual/html_node/elisp/Coding-Conventions.html#Coding-Conventions C On 25/12/18 10:23 am, c.holterm...@gmx.de wrote: John, it's

Re: [GNC-dev] Interest

2018-12-12 Thread Christopher Lam
Hi I am not an original developer on this loan assistant. However I think that the original loan druid was designed to calculate/estimate the loan repayment amounts, assuming a conventional loan, with a non-zero interest rate. If the interest rate was zero, there would be little need for a loan

Re: [GNC-dev] Translation

2018-12-12 Thread Christopher Lam
Reply for qu.2 below On Mon, 10 Dec 2018 at 11:16, Hamidreza Jafari wrote: > 2 - There are some parts of the application which I find contrary to what > is a > major belief. That of interest. Can the application handle interest-free > AKA > zero interest loans and mortgages? > Of course

Re: [GNC-dev] [GNC] Accounts do not appear in budget

2018-12-05 Thread Christopher Lam
Agreed -- IMHO the current budget mechanism is a bad hack. There are better ones e.g. https://wiki.gnucash.org/wiki/Zero-Sum_Budgeting Test implementation available at https://github.com/christopherlam/gnucash/tree/master-envelope-budgeting On 5/12/18 5:38 pm, D via gnucash-devel wrote:

Re: [GNC-dev] GNUCASH Test Data

2018-12-04 Thread Christopher Lam
There's a good idea, however, I am not sure that the datafile loading mechanism is exposed to python & scheme. If you analyze test-transaction.scm and test-commodity-utils.scm you'll see how each test will generate an in-memory datafile with customized data designed to test aspects of

Re: [GNC-dev] Gnucash and the UK's "Making Tax Digital" initiative

2018-12-02 Thread Christopher Lam
Hi All I have reviewed one of pre-gnucash accounting software which I tried 10-15 years ago. VT Cashbook is free, uses double-entry internally, and is a good solution for UK-based small traders who do not need accruals. http://www.vtsoftware.co.uk/mtd/index.htm A VAT return using sample data

Re: [GNC-dev] Reports -- Cleanup

2019-01-09 Thread Christopher Lam
Thanks for the interest in reports. I'd like to take opportunity to explain current state of code. Examples of duplication: - html-barchart, html-linechart, html-scatter, html-pie have a lot of duplicated code; there's a pending work for merging the charting infrastructure into a universal one,

Re: [GNC-dev] [GNC] Reconciliation Report -- Can't find transactions

2019-01-12 Thread Christopher Lam
Dear Liz Thank you for experiments - this confirms that doing a proper reconciliation report is *difficult* Please experiment further (1) expand dates eg from 01/01/1980 to 01/01/2099 (2) let me know the characteristics of the 77 missing amounts - are they unreconciled/cleared/reconciled?

Re: [GNC-dev] [GNC] Reconciliation Report -- Can't find transactions

2019-01-12 Thread Christopher Lam
The only addition so far is a reconcile report custom header with total ending balance and total ending reconciled balance. Not sure why it's not showing in your attachment. We'll try to work this note that you can build;) On Sun., 13 Jan. 2019, 12:32 Liz On Sun, 13 Jan 2019 12:09:06 +1000 >

Re: [GNC-dev] [GNC] Reconciliation Report -- Can't find transactions

2019-01-13 Thread Christopher Lam
://screenshotscdn.firefoxusercontent.com/images/b10744f6-2ee0-4778-ba55-08a15b1c4b8f.png On 13/1/19 2:50 pm, Liz wrote: On Sun, 13 Jan 2019 12:53:19 +0800 Christopher Lam wrote: The only addition so far is a reconcile report custom header with total ending balance and total ending reconciled balance. Not sure why it's

Re: [GNC-dev] [GNC] Reconciliation Report -- Can't find transactions

2019-01-13 Thread Christopher Lam
wrote: On Sat, 12 Jan 2019 18:49:05 +0800 Christopher Lam wrote: Please experiment further (1) expand dates eg from 01/01/1980 to 01/01/2099 (2) let me know the characteristics of the 77 missing amounts - are they unreconciled/cleared/reconciled? I guess you can build from source, would you care

[GNC-dev] taxtxf

2019-01-03 Thread Christopher Lam
Hi I'm thinking of tackling the huge beast that is taxtxf.scm but I'm struggling to understand its various meandering code paths. If anyone is willing to share a sample datafile with accounts appropriately tagged with tax-info then I'll try untangle this mess. I think there are some

Re: [GNC-dev] Test failure

2019-01-24 Thread Christopher Lam
Because e31f4c3f9 is causing errors on my build as well in different ways. PS e31f4c3f9 must not be reverted for your packaging - please be patient while a proper fix is pending. On 25/1/19 3:48 am, Stephen M. Butler wrote: On 1/24/19 2:32 AM, Christopher Lam wrote: Stephen this bug

Re: [GNC-dev] Test failure

2019-01-26 Thread Christopher Lam
Another experiment. Try prefix your build with "TZ=UTC " on current maint. Eg if using ninja, it'll be "TZ=UTC ninja check" On Fri., 25 Jan. 2019, 11:52 Stephen M. Butler On 1/24/19 7:36 PM, Christopher Lam wrote: > > Revert is a git terminology, not a gnuca

Re: [GNC-dev] Test failure

2019-01-24 Thread Christopher Lam
Stephen M. Butler OH! Light bulb on! > OK. I understand what you said earlier. I'll put the patches back into > the packaging. > > Thanks for clearing that up. > > --Steve > > PS Looking in manual for 'revert' command. > > > > On 1/24/19 1:06 PM, Christop

Re: [GNC-dev] Test failure

2019-01-26 Thread Christopher Lam
3:04 pm, Stephen M. Butler wrote: On 1/26/19 10:54 PM, Christopher Lam wrote: Stephen please spend some CPU burning time on my chartJS branch which needs beta testing? $git clone https://github.com/christopherlam/gnucash/tree/maint-chartjs-budget-barchart Thought I'd start this while headed

Re: [GNC-dev] Test failure

2019-01-26 Thread Christopher Lam
Thank you Stephen for your results. It would seem that the test-transaction failure is caused by a faulty libicu-dev whereas my failure caused by some other issue related to Time zones. C On Sun., 27 Jan. 2019, 09:55 Stephen M. Butler On 1/26/19 3:13 AM, Christopher Lam wrote: > > A

  1   2   3   >