Re: [GNC-dev] About budgets in 3.8, 3.9 and 3.10

2020-04-18 Thread Christopher Lam
Thank you for trying Adrien. This budget bug is proving to be a major headache. I really need more beta testers, especially with ability to build from my branch. Of note: * previous methodology was: in a period, budgeted income, minus budgeted expense and any asset/liability transfers, must

Re: [GNC-dev] iOS app

2020-04-18 Thread Camille Rizko via gnucash-devel
Hello, It is from scratch, it is written in swift, it decompresses the .gnucash file then parses the xml file and displays the account tree. Sent from my iPhone > On Apr 18, 2020, at 5:37 AM, Geert Janssens > wrote: > > An iOS app that can view gnucash files is certainly nice. > > Is it

Re: [GNC-dev] About 3.9 and reconciliation balances

2020-04-18 Thread David Cousens
Dale, While that was the main thrust of the thread, it is inevitable that it will bring attention to other issues so no real dramas. The advent of electronic clearing almost immediately and OFX direct connect connections to at least some banks (mine won't cooperate) is also changing the game. An

Re: [GNC-dev] Can a module call a function from another module?

2020-04-18 Thread jean laroche
Thanks for all the background, I understand it a lot better now. Indeed, I've noticed the intermingled UI/logic code in places, and I agree that's not good. What I want to try is launch the reconcile from the import, exactly like aqbanking, so that shouldn't be a problem. No specific

Re: [GNC-dev] Can a module call a function from another module?

2020-04-18 Thread John Ralls
One other consideration: The dependency should make sense architecturally: A dependency on code in libgnucash/engine nearly always makes sense; a dependency in the register on a function in import/export does not. That doesn't mean that you should copy-and-paste the code instead, it means that

Re: [GNC-dev] Testing python

2020-04-18 Thread Mark
I use the python bindings regularly but I've never got any warnings or errors such as you describe. Just to cover the basics first, are you sure you didn't want to issue the venv command with the '--system-site-packages' switch? Did you have pygnucash loaded to the pip of the python you used for

Re: [GNC-dev] About 3.9 and reconciliation balances

2020-04-18 Thread Dale Phurrough via gnucash-devel
Oops, I misunderstood the turn this thread took. My mistake. I don't have any particular comments on an autofix to clean XML files with inconsistent reconciliation dates and the current approach GnuCash has for reconciliation. My comments were for some future many months->years away in a later

[GNC-dev] Testing python

2020-04-18 Thread andygoblins
I'm tinkering with the python bindings, but I'm having trouble testing the results of my changes. Could anyone give me some advice? Currently, I build gnucash with ninja and then run 'python -m venv ' to set up a virtual python environment right next to the fresh build. But when I

Re: [GNC-dev] iOS app

2020-04-18 Thread Geert Janssens
An iOS app that can view gnucash files is certainly nice. Is it a from-scratch implementation or did you reuse our gnucash code for it (the latter would be really awesome) ? Regards, Geert Op vrijdag 17 april 2020 18:17:28 CEST schreef Camille Rizko via gnucash-devel: > Hello, I developped

Re: [GNC-dev] Import multiple OFX

2020-04-18 Thread Geert Janssens
Op vrijdag 17 april 2020 18:01:30 CEST schreef jeanl: > Hi Devs, > I have code that enables importing multiple OFX in one shot. It's actually > *almost* already supported by GC, and required few changes. > - The file import dialog needs a new option to allow multiple-file > selections > - Then

Re: [GNC-dev] Can a module call a function from another module?

2020-04-18 Thread Geert Janssens
First off, modules are mostly on the way out. I have been working on removing most uses of those and plan to eliminate even more. The gnc_module code itself will remain until we have a better alternative. Other than that, yes, you are allowed to include headers from other "modules". Or more