[GNC-dev] How to contribute to GnuCash?

2019-04-25 Thread John
Hello, I am the founder of a mobile app startup and a big fan of GnuCash. My team has some free time now. I wonder if we can contribute to develop an iOS companion app like current Android one. Can you let me know if you think that's a good idea? and if yes, how to start? Thanks,

Re: [GNC-dev] How to get Report Development Environment Working in Windows

2021-09-03 Thread john
e.g. Program\ Files\ \(x86\). Regards, John Ralls > On Sep 3, 2021, at 6:32 PM, flywire wrote: > > John, presumably you mentioned a guile instance because it's more efficient > than the technique I asked about to reload reports without restarting > GnuCash. That doesn&#

Re: [GNC-dev] Report with Fiscal Year

2021-09-05 Thread john
(set-tm:year now (tm:year now)) > (set-tm:year now (+ (tm:year now) 1))) >(set-tm:isdst now -1) >(gnc-mktime now))) Let's back up a bit. What do you mean by "fiscal year" and what exactly are you trying to do? Regards, John Ralls ___

Re: [GNC-dev] Report with Fiscal Year

2021-09-05 Thread john
at the beginning of last quarter and ends at the end of this month. IIUC that will create an accounting period that will vary in length from 3 to 6 months depending on the current month, which seems a good way to drive oneself nuts. I propose to remove that. Does anyone find it useful and if so

Re: [GNC-dev] Report with Fiscal Year

2021-09-06 Thread john
over decades. The options rewrite is the next step in our long-term goal of completely removing Scheme from GnuCash. Modularity is good, yes. Unfortunately not everyone writing GnuCash code has understood that and Linas's careful design has become a rather large bowl of spaghetti code. Fixi

Re: [GNC-dev] Report with Fiscal Year

2021-09-06 Thread john
https://wiki.gnucash.org/wiki/Roadmap#Reports <https://wiki.gnucash.org/wiki/Roadmap#Reports> Christian Stimming wrote the last paragraph about replacing Scheme in 2011. Regards, John Ralls > On Sep 6, 2021, at 4:41 AM, Christopher Lam wrote: > > Where is it mentioned that re

Re: [GNC-dev] gnucash-devel Digest, Vol 222, Issue 6

2021-09-06 Thread john
bout using formal accounting jargon: For example one must override a default preference to see Debit and Credit column headings instead of Deposit and Withdrawal. I guess Fiscal Year vs. Accounting Period falls in the same bucket except that nobody's ever added Fiscal Year to the forma

Re: [GNC-dev] Generic Import Transaction Matcher separation of front end and backend

2021-09-08 Thread john
> > > > I guess it is wrong to move the definition of _main_matcher_info to > import-main-matcher.h > > and then include import-main-matcher.h in import-backend.c? It sure would. That would create a circular dependency. We have enough spaghetti already. Regards, John Ral

Re: [GNC-dev] Runtime issue with gwenhywfar and aqbanking libraries

2021-09-12 Thread john
r library paths and to avoid the copying of the libraries? Did you forget to add /opt/gwenhywfar/lib64 and /opt/aqbanking/lib64 to LD_LIBRARY_PATH so that the dynamic linker can find the libraries at runtime? Regards, John Ralls ___ gnucash-devel

Re: [GNC-dev] Runtime issue with gwenhywfar and aqbanking libraries

2021-09-13 Thread john
> On Sep 13, 2021, at 5:45 AM, Lothar Paltins via gnucash-devel > wrote: > > John, > > thanks for your answer. > >> Did you forget to add /opt/gwenhywfar/lib64 and /opt/aqbanking/lib64 to >> LD_LIBRARY_PATH so that the dynamic linker can find the librar

Re: [GNC-dev] GUI SQL Reports

2021-09-25 Thread john
versions > sqlite> .schema transactions > CREATE TABLE transactions(guid text(32) PRIMARY KEY NOT NULL, currency_guid > text(32) NOT NULL, num text(2048) NOT NULL, post_date text(19), enter_date > text(19), description text(2048)); > CREATE INDEX tx_post_date_index O

Re: [GNC-dev] GnuCash 4.7 Released

2021-09-27 Thread john
n IRC this afternoon (well, my afternoon). That user used make and I just tested and found that make produced the result you get while ninja produced the result I get. But you say you're using ninja so so much for that hypothesis. Regards, John Ralls > On Sep 27, 2021, at 6:

Re: [GNC-dev] GnuCash 4.7 Released

2021-09-28 Thread john
David, Thanks for the followup, but *please* copy the list! This is information of general interest. Regards, John Ralls > On Sep 28, 2021, at 4:35 AM, davidcousen...@gmail.com wrote: > > > Hi John, > > Yes the glib compile command fixed the problem and 4.7 is now run

Re: [GNC-dev] GnuCash 4.7 Released

2021-09-28 Thread john
> On Sep 28, 2021, at 5:55 PM, Chris Good wrote: > > > Message: 1 > Date: Tue, 28 Sep 2021 12:20:57 +0200 > From: Geert Janssens > To: davidcousen...@gmail.com, gnucash-devel@gnucash.org > Cc: GnuCash Developers , john > > Subject: Re: [GNC-dev] Gnu

Re: [GNC-dev] warning: 'gtk_action_set_sensitive' is deprecated [-Wdeprecated-declarations] And gtk4

2021-10-06 Thread john
> On Oct 5, 2021, at 9:54 PM, Chris Good wrote: > > Hi John Ralls, > > > > I'm following up on the your suggestion that it should not be possible to > start another import while another is already running. > > > > When I added gtk_action_set_

Re: [GNC-dev] bug 798366 - cross-currency capital gains

2021-11-13 Thread john
l observations: First, it will be far more productive for both of us if you'll resubmit your patch as a Github pull request. Code reviewing patch files in bug reports and keeping track of the changes is quite painful, and the larger the patch is the more painful managing the reviews and

Re: [GNC-dev] SEPA internal transfer

2021-11-19 Thread john
I hope I > have tested it well enough, I am already been using the functionality here > for a few weeks without problems. > > I followed your guidelines and set up a Github clone for my changes, is it ok > to just issue the pull request for this? Or do I need to do something

Re: [GNC-dev] Investment position from OFX files

2021-11-30 Thread john
that takes a few seconds once a month to do manually. Regards, John Ralls > On Nov 30, 2021, at 4:07 PM, Jean Laroche wrote: > > Yes, both of the brokers I use export to OFX and include position data with > units, unit price, and market value (of which only the units is really &

Re: [GNC-dev] Small changes to comment text, mostly in gnucash/import-export/import-main-matcher.h

2021-12-06 Thread john
tps://github.com/lu-zero/plaid <https://github.com/lu-zero/plaid>, which says it's a patchwork derivative. Regards, John Ralls > On Dec 6, 2021, at 8:20 AM, Geert Janssens wrote: > > Well, it wasn't just Kevin's patch submission by mail that triggered m

Re: [GNC-dev] Small changes to comment text, mostly in gnucash/import-export/import-main-matcher.h

2021-12-06 Thread john
> On Dec 6, 2021, at 11:02 AM, Frank H. Ellenberger > wrote: > > …and the bug report is? https://bugs.gnucash.org/show_bug.cgi?id=798382 <https://bugs.gnucash.org/show_bug.cgi?id=798382> Regards, John Ralls ___ gnucash-devel ma

Re: [GNC-dev] Just curious, images to file or MySQL

2021-12-07 Thread john
ld be able to pretty quickly diagnose the problem. If you find that GnuCash's backend is doing something dumb please file a bug. As for document image links they're URIs so you can put them anywhere that you can access with a URI. A we

Re: [GNC-dev] Just curious, images to file or MySQL

2021-12-08 Thread john
> On Dec 7, 2021, at 10:27 PM, Jeff wrote: > > On 12/7/21 11:38 AM, john wrote: >> >>> On Dec 7, 2021, at 1:40 AM, Jeff wrote: >>> >>> Since GNC is based on XML and MySQL, how hard would it be to upgrade to >>> link the code to a M

Re: [GNC-dev] Trouble with gsettings in GC 4.9

2021-12-28 Thread john
Christian, Try uninstalling 4.7 again, then make sure that /opt/share/glib-2.0/schemas and /usr/share/glib-2.0/schemas contain no files whose names begin with `org.gnucash', then reinstall 4.9. Regards, John Ralls > On Dec 28, 2021, at 7:50 AM, Christian Wehling wrote: > >

Re: [GNC-dev] Trouble with gsettings in GC 4.9

2021-12-29 Thread john
You're building in a clean build directory, right? Regards, John Ralls > On Dec 29, 2021, at 5:48 AM, Christian Wehling wrote: > > Hi, > unfortunately, neither deleting the schema files after uninstalling nor > installing them according to David's instructions helpe

Re: [GNC-dev] Preferences for Accounting Period start-date and end-date lost on 4.9 Install

2022-01-02 Thread john
g\gnucash\general\prefs-version = 404 > > HKCU\Software\GSettings\org\gnucash\GnuCash\general\prefs-version = 4009 The new schema is correct for GnuCash 4.7 and later. Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: [GNC-dev] alpha-testing budgets in 5.x

2022-01-04 Thread john
st that the one-time fix > change must be undone, and someone else may decide to try again. Linux users can also get a flatpak nightly from https://code.gnucash.org/builds/flatpak/master <https://code.gnucash.org/builds/flatpak/master>. Regards, John Ralls __

Re: [GNC-dev] Preferences for Accounting Period start-date and end-date lost on 4.9 Install

2022-01-14 Thread john
to build. The default is master, generally not what you want. Regards, John Ralls > On Jan 14, 2022, at 1:11 AM, Geert Janssens > wrote: > > Hi Chris, > > I don't think we support building a 64bit version on Windows. > > Can you run your commands in the 32bit ming

Re: [GNC-dev] How to specify args to setup-mingw64.ps1

2022-01-15 Thread john
> On Jan 15, 2022, at 5:58 PM, Chris Good wrote: > > Ignoring for the moment the fact that John Ralls says the Windows 64 bit > build is currently broken because the latest MSYS2 updates require a new > webkit build and he hasn't yet done the 64-bit one. > > >

Re: [GNC-dev] EPC QR code

2022-01-16 Thread john
credit transfer? > There isn't, and adding the ability to access the camera would involve adding GStreamer as a dependency, not an easy task. Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: [GNC-dev] Extending GnuCash: CSV-import/lookup commodity by cusip

2022-01-22 Thread john
one flavor could use a prefix to separate them if the formats happen to collide, eg cusip-123456789 and wkn-123456789. As it happens cusip is 9 characters, sedol is 7, wkn is 6, and ISIN is 12 so there's no collisions among those 4. Regards, John Ralls > On Jan 22, 2022, at 9:35 AM, Fr

Re: [GNC-dev] Missing G_END_DECLS macro in gnucash/import-export/aqb/gnc-ab-kvp.h

2022-02-19 Thread john
/astyle.sourceforge.net/, as astyle -xd -k1 -m0 -M60 -xL -xC79 -OHpUcZns4 --brackets=break or more commonly just astyle --indent=spaces=4 --brackets=break --suffix=none Please refer to https://wiki.gnucash.org/wiki/CodingStandard rather than the ancient instructions in HACKING--which I just r

Re: [GNC-dev] Missing G_END_DECLS macro in gnucash/import-export/aqb/gnc-ab-kvp.h

2022-02-26 Thread john
> On Feb 25, 2022, at 8:59 PM, Kevin Buckley wrote: > > On Sun, 20 Feb 2022 at 02:05, john wrote: >> >> On those occasions where we want to bulk reformat we've generally used >> artistic style, http://astyle.sourceforge.net/, as >> astyle -xd -k1 -m

Re: [GNC-dev] gnucash/gnome-utils/gnc-plugin-page.h missing a documentation parameter

2022-02-28 Thread john
tps://code.gnucash.org/docs/MAINT/group__ContentPluginBase.html#ga7408d75bdf2e64264cb9386ac860052c: <https://code.gnucash.org/docs/MAINT/group__ContentPluginBase.html#ga7408d75bdf2e64264cb9386ac860052c:> BTW > void gnc_plugin_page_set_page_color (GncPluginPage *page

Re: [GNC-dev] ANNOUNCE: GnuCash 4.10 Released

2022-03-28 Thread john
gnc_combo_cell_modify_verify + 350 > 3 libgnc-register-core.dylib 0x10b7f0e58 > gnc_table_modify_update + 424 > 4 libgnc-register-gnome.dylib 0x10b88f9aa > gnucash_sheet_insert_cb + 778 > 5 libgobject-2.0.0.dylib 0x10c14e766 g_

Re: [GNC-dev] Typo in gnucash/gnome-utils/gnc-date-edit.c or incorrect string altogether?

2022-04-07 Thread john
G_PARAM_READWRITE)); > Yes to both: It should be 1 January 1970. I've clarified further by specifying that it's "since midnight UTC, 1 January 1970". Thanks for noticing. Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: [GNC-dev] Python-Bindings: issue when C expects GList argument

2022-05-10 Thread john
> On May 10, 2022, at 1:53 AM, Matteo Lasagni wrote: > > Thank you, John! > > I fixed it by adding the following into base-typemaps.i: > > %typemap(in) GList * { > $1 = NULL; > /* Check if is a list */ > if (PyList_Check($input)) { >

Re: [GNC-dev] Python-Bindings: issue when C expects GList argument

2022-05-10 Thread john
#x27;s debatable that it should be wrapped: It's pretty clearly an implementation detail of applying a payment. Implementation details shouldn't be part of the public API. Regards, John Ralls > On May 10, 2022, at 2:59 PM, Matteo Lasagni wrote: > > Thank you Derek, I unders

Re: [GNC-dev] Co-Owner

2022-06-10 Thread john
> On Jun 10, 2022, at 1:40 AM, Ralf Zerres wrote: > > Hello mailinglist, > > i do appologize for not coming up with this issue on this list before > hacking and submitting a PR. > > In any case (thanks John for your prompt answer on github) i do need to > find

Re: [GNC-dev] Co-Owner

2022-06-11 Thread john
;s GMenu and related classes. GnuCash will have to follow that redesign at some point fairly soon (PRs very welcome if somebody wants to take it on!) and we don't regard that as public API meaning that it will just happen with no deprecation and no warning. BTW osx-accelmap is just a

Re: [GNC-dev] Co-Owner (v0.3.0)

2022-06-29 Thread john
#x27;t turn off optimization, you need to add -O0 or -O1 to CMAKE_CPP_FLAGS if you need to have all of your locals and args populated and your code to step linearly. We have an IRC channel, see https://wiki.gnucash.org/wiki/IRC, with some of the core team usually present. Regards, John Ralls

Re: [GNC-dev] Co-Owner (v0.3.4)

2022-07-01 Thread john
> On Jul 1, 2022, at 8:11 AM, Ralf Zerres wrote: > > Do i have to test in an isolated environment/container? Yes, otherwise the linker will find the installed libraries instead of your newly-built ones. Regards, John Ralls ___ gnuc

Re: [GNC-dev] Questions about Import Map Data

2022-07-05 Thread john
adddbf3464875c6521582b353964. You're correct that the non-Bayesian matching is just the transaction description. You might have those in your book because at some point you disabled Bayes matching in Preferences, but more likely you imported a QIF file or a CSV file before Geert r

Re: [GNC-dev] building gnucash

2022-07-08 Thread john
> On Jul 8, 2022, at 7:36 AM, Kevin T wrote: > > On Thu, 2022-07-07 at 17:21 -0700, John Ralls wrote: >>> On Jul 7, 2022, at 4:34 PM, Kevin T via gnucash-devel >>> wrote: >>> >>> >>> Hi All, >>> >>> yan. yet

Re: [GNC-dev] util/gnc-vcs-info fails if building from a Git worktree (with possible solution)

2022-07-10 Thread john
wc -l) -gt 0 ] && /bin/echo -n "+" > + echo > + exit 0 > +else > exit 1 > +fi > + > + fi > +fi > + > if test -d "${real_srcdir}"/.bzr ; > then > # If we're only interested in the vcs type, then we're done here > > > or you might want to come up with something else to handle building > from a Git Worktree, in which case feel free to (ab)use the above as > you see fir. Nice. Please submit that as a Github pull request, see https://wiki.gnucash.org/wiki/Simple_Pull_Request Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: [GNC-dev] Simple Start to Contributing

2022-07-16 Thread john
Paul, Sounds like you'll fit right in. ;-) Git is an amazing improvement over CVS and subversion. I highly recommend at least skimming Pro Git (https://git-scm.com/book/en/v2, free to read online) to get an idea of how it can help you keep your coding work organized. Regards, John

Re: [GNC-dev] [GNC] Unit Tests

2022-08-11 Thread john
happen from time to time, but tests are more often added when refactoring or rewriting than when bug fixing. Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: [GNC-dev] Stuck: Creating a distribution list

2022-08-15 Thread john
ke you forgot to call gncDistribListRegister. You probably want to add it to the list in business_core_init() in cashobjects.c. Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: [GNC-dev] Database abstraction

2022-08-16 Thread john
ould use for such purposes! > > Thanks a lot in advance! For that specific example you could use the Python bindings to call xaccAccountGetSplitList() and filter the result by amount in a list comprehension. The API docs at https://code.gnucash.org/docs/MAINT are a good pla

Re: [GNC-dev] Data Model Schema

2022-08-20 Thread john
e your intended derivative project a sibling. Regards, John Ralls IOn Aug 17, 2022, at 9:06 AM, Scott Morgan wrote: > > Hi All, > > Is the Data Model, / DB Schema stored somewhere with enriched metadata? > If not I would like to volunteer to do this work, in part because I'm &

Re: [GNC-dev] Data Model Schema

2022-08-20 Thread john
You still haven't said what "enriched metadata" means or why we'd be interested in having it. Regards, John Ralls > On Aug 20, 2022, at 12:06 PM, Scott Morgan wrote: > > Hi John, > > Well, I did some work building an open source Java Accounting Model > (

Re: [GNC-dev] Data Model Schema

2022-08-21 Thread john
confusing Quicken that isn't double-entry with QuickBooks that is. Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: [GNC-dev] Building Mac version using SDK 12

2022-09-15 Thread john
and the error but it seems to be an SDK error rather than anything we're doing. Might the compiler have gotten out of sync with the SDK? Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: [GNC-dev] Building Mac version using SDK 12

2022-09-15 Thread john
be the first time that I've encountered problems with building using a newer MacOSX SDK than the running macOS version. One can get older versions of Xcode and the command line tools at https://developer.apple.com/downloads; you have to sign in with your Apple ID. I don't know if you ha

Re: [GNC-dev] Conditions to move revamped GnuCash Mobile App to GnuCash org

2022-09-28 Thread john
or the developers, engage here in gnucash-devel and in gnucash-user. Do market research: Why don't GnuCash more users with Android phones use GfA? Can/should GfA integrate better with GnuCash? How? Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: [GNC-dev] Conditions to move revamped GnuCash Mobile App to GnuCash org

2022-09-28 Thread john
less doctrinaire there are a bunch of other licenses, see https://opensource.org/licenses. Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: [GNC-dev] Flatpak GnuCash and Finance::Quote

2022-10-02 Thread john
"too much effort" category and doesn't get done. If there's a better way, please share. Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: [GNC-dev] Flatpak GnuCash and Finance::Quote

2022-10-04 Thread john
> On Oct 3, 2022, at 7:56 PM, Frank H. Ellenberger > wrote: > > Hi, > > comments inline > > Am 03.10.22 um 18:23 schrieb Bruce Schuck: >>> Date: Sun, 2 Oct 2022 21:09:31 -0700 From: john >>> Correct. IIUC there are a lot of things not norma

Re: [GNC-dev] GnuCash for Android -> GnuCash Pocket?

2022-10-07 Thread john
e.g. gnucashpocket.org <http://gnucashpocket.org/>) and git repository. Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: [GNC-dev] gnucash maint: Compatibility with XCode's "new build system"

2022-10-10 Thread john
| 4 > 8 files changed, 15 insertions(+), 3 deletions(-) Mike, Xcode doesn't have cmake and I've been using Xcode 14 beta for months without problems. Is this really MacPorts recent update to 3.23.4? Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

[GNC-dev] Dependencies policy for major releases

2022-10-29 Thread john
h the release of GnuCash 6.0. What really makes sense? How many users are building for themselves and on what? Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: [GNC-dev] Building MacOS/Quartz from source: environment PREFIX, CXXFLAGS, etc?

2022-10-31 Thread john
e of mistakes in gnucash-on-osx/jhbuild-custom. I just pushed a commit to fix them. With that in place, the build will default to $HOME/gnucash with subdirectories src, build, and inst, the latter being short for install. You can override that by setting PREFIX in the environment, e.g. PREF

Re: [GNC-dev] Various failures while building MacOS/Quartz from source

2022-11-03 Thread john
> On Nov 3, 2022, at 1:56 AM, Jim DeLaHunt wrote: > > On 2022-11-01 12:58, John Ralls wrote: > >> >>> On Oct 31, 2022, at 9:46 PM, Jim DeLaHunt wrote: >>> >>> I am continuing my attempt to build GnuCash 4.11 from source on macOS 12.6

Re: [GNC-dev] Various failures while building MacOS/Quartz from source

2022-11-04 Thread john
pe-no-harfbuzz']="-DFT_DISABLE_BROTLI=YES" to /Users/gtkdeveloper/.config/jhbuildrc-custom and run jhbuild buildone -fc freetype-no-harfbuzz jhbuild build I just pushed a commit to gtk-osx to make Harfbuzz fail immediately if it's unhappy with Freetype for some reason. That

Re: [GNC-dev] Various failures while building MacOS/Quartz from source

2022-11-06 Thread john
> On Nov 5, 2022, at 2:21 AM, Jim DeLaHunt wrote: > > On 2022-11-04 13:44, john wrote: > >> On Nov 4, 2022, at 12:27 AM, Jim DeLaHunt wrote: >>> % pkg-config --print-errors --exists freetype2 >>> Package libbrotlidec was not found in the pkg-config sea

Re: [GNC-dev] Easy and Tax Invoice Reports

2022-11-07 Thread john
cash.pot and translatable. Is there somewhere in the UI where you find them to be untranslated? If so, where? Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: [GNC-dev] Easy and Tax Invoice Reports

2022-11-08 Thread john
n create a Weblate userid and start translating. You'll find instructions at https://wiki.gnucash.org/wiki/Translation. Regards, John Ralls > On Nov 7, 2022, at 11:27 PM, Vesna Micajkova > wrote: > > Hello John! > > Thank you very much for your reply. Attached I am

Re: [GNC-dev] Various failures while building MacOS/Quartz from source

2022-11-08 Thread john
> On Nov 8, 2022, at 1:03 AM, Jim DeLaHunt wrote: > > On 2022-11-06 16:17, John Ralls wrote: > >> >>> On Nov 6, 2022, at 1:33 PM, Jim DeLaHunt wrote: >>> >>> Yes, you did, and I appreciate it. As you will have read above, >>>> fre

Re: [GNC-dev] Easy and Tax Invoice Reports

2022-11-09 Thread john
t consider doing the work yourself. https://wiki.gnucash.org/wiki/Custom_Reports has a lot of information about the structure of reports, including how to copy one and make your own modifications to it. Regards, John Ralls > On Nov 8, 2022, at 11:24 PM, Vesna Micajkova > wrote:

Re: [GNC-dev] Dependencies policy for major releases

2022-11-13 Thread john
was introduced after that version. Should we start using these to try to keep our code more current? (I think so.) If so how should we set them? Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: [GNC-dev] GnuCash and Github

2022-11-13 Thread john
ir own, just a few links to articles: https://www.fsf.org/licensi ng/copilot. Regards, John Ralls > On Nov 13, 2022, at 6:59 AM, Derek Atkins wrote: > > Hi, > > What are the features of github that we use/depend on? > > - We don't use github's git repo except as a r

[GNC-dev] Git branches

2022-11-13 Thread john
ncise and not terrible for a branch that gets only bug fixes and small features. Lots of generic names for the next-major-release branch (future, devel or development, major-change) come to mind but I'm not sure that any of them clearly express the intent of the branch. Comments? Regard

Re: [GNC-dev] Git branches

2022-11-14 Thread john
. Regards, John Ralls > On Nov 14, 2022, at 10:05 AM, David T. via gnucash-devel > wrote: > > Not that my opinion carries much weight on this, but "current-release" and > "next-release" might be a reasonable set of options that are less wordy but > still

Re: [GNC-dev] Git branches

2022-11-14 Thread john
Wow, I'm elevated to a whole department! ;-) I wish I had the clones to make it true! If the scripts are in git on code then Geert or I can update them as needed when we shift branches. Regards, John Ralls > On Nov 14, 2022, at 8:26 AM, Derek Atkins wrote: > > I have n

Re: [GNC-dev] Git branches

2022-11-14 Thread john
;d have to work out policies for API and schema changes because it would blow up the file upgrade path for users who've skipped some releases. There's a very dense exposition on this pattern at http://dymitruk.com/blog/2012/02/05/branch-per-feature/. Regards, John Ralls > On Nov

Re: [GNC-dev] Git branches

2022-11-14 Thread john
> On Nov 14, 2022, at 10:41 AM, Derek Atkins wrote: > > But no, the scripts are not in git. That's easily changed. Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/li

Re: [GNC-dev] Git branches

2022-11-14 Thread john
able would be OK; with main and maint one is far too likely to do something to the wrong branch. Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: [GNC-dev] Git branches

2022-11-15 Thread john
is. From a design standpoint I'm not sure that versioning every entry is all that useful considering that everything is written out fresh with every save. Regards, John Ralls > On Nov 15, 2022, at 9:25 AM, Geert Janssens > wrote: > > Op maandag 14 november 2022 19:59:24

Re: [GNC-dev] Git branches

2022-11-18 Thread john
We could pinch from Debian and use stable, testing, and unstable, where testing is the alpha/beta pre-major-release weeklies. Regards, John Ralls > On Nov 18, 2022, at 7:55 AM, Geert Janssens > wrote: > > I'm fine with just doing the simple name change for our two prima

Re: [GNC-dev] GnuCash and Github

2022-11-18 Thread john
p our own instance of something; Jenkins used to be popular but I don't know if it's still considered the best. Regardless that's more time spent setting it up, securing, and maintaining it. Regards, John Ralls > On Nov 18, 2022, at 9:15 AM, Geert Janssens > wrote: > > T

[GNC-dev] String Freeze

2022-12-04 Thread john
Devs, the 4.13 release is in two weeks so that means that there's a string freeze on maint until then. Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: [GNC-dev] Missing column header labels after resizing columns (Windows 10, GC version 4.12)

2022-12-04 Thread john
Dear Mr. Taurig, No, it's a user list item because you are asking about how to use GnuCash, not how to write GnuCash code. Regards, John Ralls > On Dec 4, 2022, at 4:10 PM, Scott Traurig wrote: > > Hi John, > > Respectfully, this is beyond the user-list. That list

Re: [GNC-dev] [GNC] GnuCash 4.900 Released

2023-01-10 Thread john
use it on your production book, make a copy for testing.*** Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: [GNC-dev] [GNC] GnuCash 4.900 Released

2023-01-10 Thread john
desktop environment. It installs its own Gnome runtime and all the other needed dependencies. Regards, John Ralls > On Jan 10, 2023, at 6:40 PM, Adrien Monteleone > wrote: > > I thought one of the points of Flatpaks were that they didn't require the > base system to ma

Re: [GNC-dev] Sample Report with Examples

2023-01-13 Thread john
You can't possibly be serious. Regards, John Ralls > On Jan 13, 2023, at 12:11 AM, flywire wrote: > > https://lists.gnucash.org/pipermail/gnucash-devel/2021-September/045939.html >> The code would be easier to follow if different strings other than Hello, > World! were

Re: [GNC-dev] Sample Report with Examples

2023-01-13 Thread john
types of options and very simply displays the values in the report. There's not a single line of code that changes the behavior of the report based on an option value--unlike many of the real options in most of the real reports. Regards, John Ralls

Re: [GNC-dev] Sample Report with Examples

2023-01-14 Thread john
plaining that a skeleton General section gets added by gnc:report-template-new-options that provides the name (but not the title, reports must add that themselves) and stylesheet options. Regards, John Ralls > On Jan 14, 2023, at 2:02 AM, Geert Janssens > wrote: > > Ok, I tend t

Re: [GNC-dev] Missing FreeType2 for Mac OS Development

2023-01-14 Thread john
While you're getting familiar enough with GnuCash ask questions here. Once you've got a PR written we can move the discussion to that PR. Regards, John Ralls > On Jan 14, 2023, at 4:21 PM, Vincent Lucarelli > wrote: > > It looks like freetype2 picked up a dependency o

Re: [GNC-dev] Finance::Quote get_features() and GnuCash

2023-01-21 Thread john
listic goal. See https://wiki.gnucash.org/wiki/CodingStandard and https://wiki.gnucash.org/wiki/C++ for style guidance. Regards, John Ralls > On Jan 21, 2023, at 8:43 AM, Vincent Lucarelli > wrote: > > Hi, > > We have an experimental function in Finance::Quote called get_featu

Re: [GNC-dev] gnucash-devel Digest, Vol 238, Issue 15

2023-01-22 Thread john
maybe a better fit for discussing what possible changes may be made to > F::Q and underlying modules than the Gnucash-devel mailing list. I think > following a discussion may be easier than email list thread/subject archives. > > Thank you John for giving a more detailed description of

Re: [GNC-dev] Python bindings: How to expose additional engine functions

2023-01-25 Thread john
nning instance of GnuCash I'd guess that it has to do with connecting the python interpreter. You might try it in the python console; that did work the last time I tried it. Regards, John Ralls > On Jan 25, 2023, at 12:13 PM, Steve Brown wrote: > > Hi John, > > Thanks for the

Re: [GNC-dev] Python bindings: How to expose additional engine functions

2023-01-27 Thread john
You forgot to copy the list. If you can't get the direct type maps to work then writing a wrapper seems a reasonable thing to do. Regards, John Ralls > On Jan 27, 2023, at 2:46 AM, Steve Brown wrote: > > Hi John, > > On Wed, 2023-01-25 at 20:58 -0800, john wrote:

Re: [GNC-dev] Python Binding: GncOwner fails to convert from C->Python->C

2023-01-29 Thread john
ointer. Geert, those typemaps are yours, written 11 years ago. Any comments? Regards, John Ralls > On Jan 29, 2023, at 5:38 AM, Steve Brown wrote: > > I get a Python GncOwner object returned to Python. It appears well > formed. > > owner: > > owner_instance: (4, 0

Re: [GNC-dev] [GNC] GnuCash 4.901 Released

2023-02-05 Thread john
Neither of which seem to be in the bug tracker. Regards, John Ralls > On Feb 5, 2023, at 7:54 PM, Glenn Fowler wrote: > > Thank you to the team for the continued development! > > I just installed 4.901 on W10 and just pointing out two bugs still persist > from 4.900: >

Re: [GNC-dev] donation problem

2023-02-10 Thread john
ode) > Really? You can't use a credit card through PayPal without SMS authentication? Fraud controls? How much are you thinking of donating? (If you want to take that part offline feel free, but please include at least Christian Stimming, Derek, Frank, and Geert in the conversation.) Rega

Re: [GNC-dev] problem with importing CSV file

2023-03-01 Thread john
That's https://bugs.gnucash.org/show_bug.cgi?id=798703 Regards, John Ralls > On Mar 1, 2023, at 1:25 PM, Camille Rizko via gnucash-devel > wrote: > > Hello, I am getting an intermittent crash when importing a CSV file. I > attache

Re: [GNC-dev] Test failure on current master branch

2023-03-02 Thread john
uot;42,0" and getting "42.0" returns #f (https://www.gnu.org/software/guile/manual/html_node/Conversion.html). I'll have to find another way to make that conversion. Regards, John Ralls > On Mar 2, 2023, at 5:39 AM, Geert Janssens wrote: > > I still haven't fig

Re: [GNC-dev] [GNC] GnuCash 4.902 Released

2023-03-06 Thread john
If you mean the download links on https://www.gnucash.org/, that's because it's still not accepting updates. Use https://code.gnucash.org/website/. Regards, John Ralls > On Mar 6, 2023, at 3:17 AM, David H wrote: > > John, > > Ta for that. 1 question - download lin

Re: [GNC-dev] Performance regression loading account

2023-03-12 Thread john
ation is to get a collation key with g_utf8_collate_key for each string and use that for doing the actual sorting/ordered inserting. It's still a char-by-char comparison but it saves having to validate and normalize the strings on every compare. Regards, John Ralls

Re: [GNC-dev] Preferred way of writing object oriented code

2023-03-14 Thread john
o make it clear that it's a C++-only header) or that the exported functions are marked extern "C" and will compile in C. Does that help? Regards, John Ralls ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: [GNC-dev] Performance regression loading account

2023-03-15 Thread john
Bob, Please open a bug report and attach your sample test file. Regards, John Ralls > On Mar 15, 2023, at 4:02 AM, Robert Fewell <14ubo...@gmail.com> wrote: > > I wanted to get some numbers on this as my test file seemed OK. > I used Calc to create a CSV transaction import f

  1   2   3   4   5   6   7   8   9   10   >