Re: gnucash unstable: Multiple changes pushed

2017-12-29 Thread Aaron Laws
On Fri, Dec 29, 2017 at 12:06 PM, Aaron Laws wrote: > Ok, that's a good motivation. Just to be clear for me, having a function >> static is different from having a static variable, right ? As I >> understand it >> the latter is bad for thread safety, the former only

Re: gnucash unstable: Multiple changes pushed

2017-12-29 Thread Aaron Laws
> > Ok, that's a good motivation. Just to be clear for me, having a function > static is different from having a static variable, right ? As I understand > it > the latter is bad for thread safety, the former only ensures its local > scope. There two "static"s to keep in mind: static storage dura

Re: gnucash unstable: Multiple changes pushed

2017-12-29 Thread Aaron Laws
On Fri, Dec 29, 2017 at 11:22 AM, John Ralls wrote: > > > I think that we should remove -Wno-unused from CXXFLAGS in general and > only use it where needed on external sources. GnuCash C++ code is all new > and it should all compile clean. For that code the more warnings the > better: It gets the

Re: Beyond 2.8 - versioning

2017-12-28 Thread Aaron Laws
On Wed, Dec 27, 2017 at 12:19 PM, Geert Janssens wrote: > Op dinsdag 26 december 2017 00:36:04 CET schreef Aaron Laws: > > Concerning the versioning scheme: I agree that the leading "2" is rather > > superfluous at this point; if we're not going to use it, get ri

Re: Beyond 2.8 - namespaces

2017-12-25 Thread Aaron Laws
On Mon, Dec 25, 2017 at 6:26 PM, John Ralls wrote: > > > > On Dec 25, 2017, at 1:01 PM, Lincoln A Baxter > wrote: > > > > On Mon, 2017-12-25 at 17:34 +0100, Geert Janssens wrote: > >> Agreed indeed. For example in my work on the importers I have > >> introduced a > >> strict separation of import

Re: Beyond 2.8 - some design thoughts

2017-12-25 Thread Aaron Laws
On Sun, Dec 24, 2017 at 11:34 AM, Geert Janssens wrote: > While we're working hard to get 2.8 ready for official release, the current > state of the code keeps reminding me of a few design related topics I would > like to discuss for the development cycle after 2.8 has been released. > > We're st

Re: Difficulty with apps-utils

2017-11-09 Thread Aaron Laws
On Wed, Nov 8, 2017 at 4:26 PM, Aaron Laws wrote: > > Hi Aaron, >> >> Since test-app-utils uses guile, you can't execute that test from the >> build/bin directory without setting up the Guile environment. Look into >> the Testing/Temporary/LastTest.log file

Re: Difficulty with apps-utils

2017-11-08 Thread Aaron Laws
> Hi Aaron, > > Since test-app-utils uses guile, you can't execute that test from the > build/bin directory without setting up the Guile environment. Look into > the Testing/Temporary/LastTest.log file to retreive the command > you need. For me, this command is > > cmake "-E" "env" "GNC_BUILDDIR=$G

Re: Difficulty with apps-utils

2017-11-07 Thread Aaron Laws
On Tue, Nov 7, 2017 at 10:24 AM, John Ralls wrote: > > > On Nov 7, 2017, at 5:49 AM, Aaron Laws wrote: > > > > I have made several changes on my branch to avoid kvp parsing keys. The > > last change I made removes the functions that take char*, but the unit > tes

Difficulty with apps-utils

2017-11-07 Thread Aaron Laws
I have made several changes on my branch to avoid kvp parsing keys. The last change I made removes the functions that take char*, but the unit test suite does not pass. All tests pass except app-utils which fails with the strange error: (./test-app-utils:6860): gnc.module-WARNING **: Could not loc

Re: Gtk3 master

2017-08-31 Thread Aaron Laws
On Thu, Aug 31, 2017 at 9:51 AM, Geert Janssens wrote: > I meant to add still, if we want to keep guile 1.8 support, the > FIND_PACKAGE(GUILE_EXECUTABLE...) rules should move up inside the > branches of > the GUILE2 vs GUILE1 test. > For GUILE2 it can remain > FIND_PROGRAM (GUILE_EXECUTABLE guile

Re: Gtk3 master

2017-08-31 Thread Aaron Laws
On Thu, Aug 31, 2017 at 8:44 AM, Aaron Laws wrote: > On Thu, Aug 31, 2017 at 8:28 AM, Robert Fewell <14ubo...@gmail.com> wrote: > >> Just tried to build from master after all the recent changes and it failed >> on guile, currently I am running 1.8 and in the log file I s

Re: Gtk3 master

2017-08-31 Thread Aaron Laws
On Thu, Aug 31, 2017 at 8:28 AM, Robert Fewell <14ubo...@gmail.com> wrote: > Just tried to build from master after all the recent changes and it failed > on guile, currently I am running 1.8 and in the log file I see "Using > guile-1.8.x" but it then logs "The guile executable was not found, but i

Re: Branching proposal for 2.7.x

2017-08-26 Thread Aaron Laws
so all 2.7.x bug fixes and any remaining work for the 2.8.x would go > to that branch; long-term development could continue in master (e.g. Aaron > Laws has started converting Account.c to Account.cpp). > > Periodic merges would be maint->unstable and unstable->master with > "

Re: Source directory restructuring complete

2017-08-16 Thread Aaron Laws
On Wed, Aug 16, 2017 at 4:52 PM, John Ralls wrote: > Later, when trying to run GnuCash I found that libgncmod-backend-dbi.dylib > didn't load because the directory being passed in was "dbi" instead of > "gnucash". > --- a/libgnucash/engine/gnc-engine.c > +++ b/libgnucash/engine/gnc-engine.c > @@

Re: please delete me from mail list

2017-08-15 Thread Aaron Laws
Having subscribed yourself to the mailing list, you now need to unsubscribe yourself from it. The link is below. On Tue, Aug 15, 2017 at 5:21 AM, Carlos Molinelli via gnucash-devel < gnucash-devel@gnucash.org> wrote: > Thanks > > Sent from Yahoo Mail on Android > _

Re: cmake failure (was:Re: Source directory restructuring)

2017-08-10 Thread Aaron Laws
On Thu, Aug 10, 2017 at 3:13 AM, Geert Janssens wrote: > On donderdag 10 augustus 2017 07:08:38 CEST Sumit Bhardwaj wrote: > > John and Geert, > > > > As I remembered, I am still having problem with cmake. I have pasted the > > error message below. Is this a known problem? If not, will it be bett

guile

2017-08-08 Thread Aaron Laws
I'm using archlinux (https://distrowatch.com/table.php?distribution=arch). It supplies guile 2.0 and guile 2.2 at the same time as /usr/bin/guile2.0 and /usr/bin/guile, respectively. When I build gnucash, I get errors since I'm using guile2.2. Perhaps the fix is as simple as: FIND_PROGRAM (GUILE_E

Re: Source directory restructuring

2017-08-08 Thread Aaron Laws
On Mon, Aug 7, 2017 at 7:56 AM, Geert Janssens wrote: > So after my houskeeping message in which I have announced the changes to > src/ > business and src/libqof, I'd like to bring up my eventual goal for the > source > tree. > > My main motivation to do all this restructuring is to simplify. The

Timezone problem with make check?

2017-05-11 Thread Aaron Laws
I am running ninja check on master and two tests fail, both having to do with time. One is test-gnc-date.c, and I drilled down. The line that fails is 721: g_assert_cmpint (na.tv_sec, ==, ra.tv_sec); na is 739299600, and ra is 739296000. na - ra = 3600 which is one hour. I'm hoping someone alrea

Re: [Gnucash/gnucash] Guid header (#109)

2016-10-25 Thread Aaron Laws
I created a docker container that may immitate the build situation on travis. It is based on ubuntu 14.04 and has the same gcc version: gcc (Ubuntu 4.8.4-2ubuntu1~14.04.3) 4.8.4 Copyright 2013 It does reproduce the problem I was having with pull request 109, but it doesn't complete the build when

Re: Developer Referral

2016-09-13 Thread Aaron Laws
On Thu, Sep 1, 2016 at 11:16 AM, YMX wrote: > Dear List, > > I am a user of an agency m management software package (Saas) that > utilizes OFX credit card download functionality. I am not the developer, > just a user of this specific SaaS. > > Until last year the software was able to download Cha

Re: gnucash master: Fix wrong PWARN calling signature.

2016-07-12 Thread Aaron Laws
On Tue, Jul 12, 2016 at 2:13 PM, Aaron Laws wrote: > > On Tue, Jul 12, 2016 at 12:57 PM, John Ralls > wrote: > >> Updated via https://github.com/Gnucash/gnucash/commit/01c21da3 (commit) >> from https://github.com/Gnucash/gnucash/commit/c11185e9 (co

Re: gnucash master: Fix wrong PWARN calling signature.

2016-07-12 Thread Aaron Laws
On Tue, Jul 12, 2016 at 12:57 PM, John Ralls wrote: > Updated via https://github.com/Gnucash/gnucash/commit/01c21da3 (commit) > from https://github.com/Gnucash/gnucash/commit/c11185e9 (commit) > > > > commit 01c21da3234ba637f57cc4b18eb069ef2bcc7aa9 > Author: John Ralls > Date: Tue J

Re: Authorization for commercial derivative work of GnuCash Tutorial and Concepts Guide

2016-07-06 Thread Aaron Laws
On Wed, Jul 6, 2016 at 10:22 AM, Ted Creedon wrote: > Submit to the previous authors. > > Consensus. > Ah yes, I think if you were able to get ahold of every author of the work, they could collectively decide to license it under different terms. I wouldn't inspire hope in that direction. ___

Re: Authorization for commercial derivative work of GnuCash Tutorial and Concepts Guide

2016-07-06 Thread Aaron Laws
On Tue, Jul 5, 2016 at 8:54 PM, Ted Creedon wrote: > best thing to do is to prototype a sample & submit for approval. > > Submit to whom for approval? By what authority can anyone approve anything that might be submitted? If you said "submit for comments", I would not object.

Re: Authorization for commercial derivative work of GnuCash Tutorial and Concepts Guide

2016-07-04 Thread Aaron Laws
On Sat, Jul 2, 2016 at 5:29 PM, Fabio Benevenuti wrote: > Dear GnuCash developers, > > Pleae let me know if there is a main “GnuCash Documentation Team” > coordinator or legal advisor to which I should address this question. > > Thanks in advance, > > Fabio Benevenuti > We're unable to give perm

Re: Transaction Posted Time

2016-06-20 Thread Aaron Laws
On Sun, Jun 19, 2016 at 11:12 PM, John Ralls wrote: > Aaron, > > Actually it's worse than that. Store a transaction in the summer, then > look at it in the winter and it's the day before. > > The reason for not changing it to date-only now is file compatibility. A > newly stored file would have n

Re: Transaction Posted Time

2016-06-19 Thread Aaron Laws
On Sun, Jun 19, 2016 at 6:15 PM, John Ralls wrote: > > > On Jun 19, 2016, at 1:07 PM, Christian Stimming > wrote: > > > > Again, I would suggest to switch the posted-date data type to a date-only > > (without time) as soon as possible, as discussed in bug 137017 and > various > > discussions thr

Re: Importing QDF files

2016-06-12 Thread Aaron Laws
On Sun, Jun 12, 2016 at 5:32 PM, Phern Ballard wrote: > Well, it seems I did not need to contact you regarding importing my quicken > data. I found an export qif function in quicken and all is well now. > > Thanks! > > On Sun, Jun 12, 2016 at 5:17 PM, Phern Ballard > wrote: > > > Greetings; > >

Re: gnucash master: Multiple changes pushed

2016-06-12 Thread Aaron Laws
On Sun, Jun 12, 2016 at 11:48 AM, John Ralls wrote: > > > > > > > I'm not using guid's in my code. These errors are pulled in because of > the Account.h header > > that gets included somewhere. > > > > I saw one commit on the guid_header branch is including guid.hpp > everywhere. Is that what I >

Re: New Report to End All Reports

2016-06-02 Thread Aaron Laws
Thank you for your response; my responses are inline. On Wed, Jun 1, 2016 at 4:09 PM, Wm wrote: > In article < > cadu-kvf_qyg5vntvh4ddjkezevgxy2hx_yjarl5houezzeo...@mail.gmail.com> > Aaron Laws wrote: > > > > > > > > > On May 18, 2016, at 6:19 PM, St

Re: New Report to End All Reports

2016-05-20 Thread Aaron Laws
On Thu, May 19, 2016 at 5:59 PM, Mike or Penny Novack wrote: > On 5/18/2016 8:51 PM, John Ralls wrote: > >> On May 18, 2016, at 7:03 AM, Aaron Laws wrote: >>> >>> On Tue, May 17, 2016 at 5:22 PM, John Ralls >> jra...@ceridwen.us>> wrote: >>>

Re: New Report to End All Reports

2016-05-19 Thread Aaron Laws
> > > On May 18, 2016, at 6:19 PM, Stephen Torri wrote: > > > > How is the data stored presently? If it is already in a database we > should be able to query things. The only part I an intimated by is how to > present it. A.k.a make the data look pretty. > Strategies for getting data from the "bo

Re: New Report to End All Reports

2016-05-18 Thread Aaron Laws
On Tue, May 17, 2016 at 5:22 PM, John Ralls wrote: > > The Balance Sheet report shows you net worth. You probably didn't > recognize it because the accounting word for it is "equity". Recall that > the accounting equation is Assets = Liabilities + Equity*, so by > associativity Equity = Assets - L

New Report to End All Reports

2016-05-17 Thread Aaron Laws
I have a need for a report that I don't see in GNUCash: Net Current Assets. Show all current assets and current liabilities (selected by user), and subtract them. (If this exists, please show me.) I think I could hobble something together by (ab)using the profit & loss report on assets and liabilit

Re: GnuCash Development Visualization - 2015 edition

2015-09-28 Thread Aaron Laws
hinking that maybe each dot was a commit and each clump of dots was a branch. In Christ, Aaron Laws ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: Rounding in the price db.

2015-09-03 Thread Aaron Laws
On Thu, Sep 3, 2015 at 2:03 PM, David Carlson wrote: > I should split this off from the price rounding thread, but I don't know > how to do that in GMail when I am replying from inside the thread. > > It's a rather hard-to-find feature. To the left of the "to" field, there is a little icon with a

Re: How are Budgets Implemented in GNU Cash

2015-07-16 Thread Aaron Laws
n SVN. Although that site is very helpful, be sure to use the appropriate git repository to do your development! In Christ, Aaron Laws ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: Compile test-core in C++

2014-11-26 Thread Aaron Laws
o make features outside of src/libqof/qof > make use of QofCollection class. > Exactly. You're on the path to victory :-) In Christ, Aaron Laws ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: Compile test-core in C++

2014-11-20 Thread Aaron Laws
On Thu, Nov 20, 2014 at 9:58 AM, Chenxiong Qi wrote: > Is it acceptable that I rename the new class to > another name temporarily, such as QofCollectionClass, and keep the new > class implementation and original one's existing simultaneously. I > know this looks strange, but the change only affec

Re: Compile test-core in C++

2014-11-18 Thread Aaron Laws
n error can occur. > > BTW, besides the conversion to C++ class, I will write unit tests to > ensure new QofCollection class works as expected. > > Thanks! > > Regards, > Chenxiong Qi > Thanks and good luck! In Christ, Aaron Laws __

Re: Would like to convert provider_list to std::list

2014-11-13 Thread Aaron Laws
x27;t hold your breath that this would be accepted, though (I don't do the accepting, by the way), because a global std::list may not be seen as an improvement in itself ^_^ . You asked "What do you say?", and this is what I say. Do keep in mind that I don't make any

Re: building master with boost

2014-11-03 Thread Aaron Laws
e gist of the matter.) I built boost with #!/bin/bash cd boostsvn ./bootstrap.sh --prefix=/home/lmat/builds/development ./b2 install I don't set BOOST_ROOT. Hopefully this helps? In Christ, Aaron Laws ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: Boost compilation problem

2014-10-24 Thread Aaron Laws
On Fri, Oct 24, 2014 at 11:10 AM, Derek Atkins wrote: > > As for compiling boost from source, the question isn't whether they can, > but whether they can make it co-exist with the distributions' version. > > Just to be clear, if I'm understanding correctly, this is done by building boost with ./b

Boost compilation problem

2014-10-23 Thread Aaron Laws
ch version we use, but I am quite convinced about picking some version and *using* it. 2) I'm not good enough with autotools to figure out how to add -Wno-error=narrowing (or whatever needs to happen here) to my particular TU (src/lib-qof/qof/guid.cpp), any suggestions? Thanks! In Chris

Re: Boost Version Required ?

2014-10-09 Thread Aaron Laws
On Thu, Oct 9, 2014 at 8:11 AM, Geert Janssens wrote: > Oops. > > "Officially" we target 1.48, but apparently some more recent features > got used in the last commits. > > John, Aaron: how do we deal with this ? > Good question. Something like the full story can be found at https://bugzilla.gnom

Re: About the process of migration to C++

2014-10-02 Thread Aaron Laws
On Thu, Oct 2, 2014 at 2:29 AM, Chenxiong Qi wrote: > Hi all, > > In the past several days, I've read mails and wiki pages about the > migration to C++. A quick question is that, is there any place, a wiki page > or others, to record the process of migration, the todo list, and what is > being do

Re: libmpdecimal

2014-09-26 Thread Aaron Laws
Dear Mr. Ralls, Excellent work! I'm happy to hear the results, although with you I'm disappointed that boost::rational didn't bring something valuable to the table. I look forward to getting to know that code some day...on an as-needed basis! In Christ, Aaron Laws On Sat, Sep 2

Re: C++ work

2014-09-10 Thread Aaron Laws
Thank you all for your responses. I agree that it's prohibitively difficult (between all the re-writing and dealing with the current state of business logic) to act on my suggestion. This conversation also helps solidify my grasp of the current strategy. In Christ, Aaron Laws On Tue,

C++ work

2014-09-09 Thread Aaron Laws
e, but I'm trying to create a sufficiently complicated example!) are c++-ready, the Business Logic can be converted. No redundant API is necessary. I'm having trouble even evaluating what I'm talking about because I don't know any details. Knowing which GUI framework development

Re: Gnucash c++

2014-08-12 Thread Aaron Laws
On Mon, Aug 11, 2014 at 4:52 PM, Christian Stimming wrote: > Hi Aaron, > > thanks for investing time in Gnucash and also in its development towards > more > future-proof programming technologies. The pleasure is mine. > I was a bit puzzled about the benefit > of switching the "normal compilin

Re: gnucash master: Multiple changes pushed

2014-08-08 Thread Aaron Laws
Jralls, Thanks, these will be very helpful! I'm sure I wouldn't have come up with that perl replacement for grep. In Christ, Aaron Laws On Fri, Aug 8, 2014 at 6:15 PM, John Ralls wrote: > Updated via https://github.com/Gnucash/gnucash/commit/e25c2a34 (commit) >

make-gnucash-potfiles

2014-08-07 Thread Aaron Laws
o" ./make-gnucash-potfiles > $(srcdir)/po/POTFILES.in ; fi # Creation rules so that po/gnucash.pot can always be created for # make dist. -- 1.9.1 It's also possible to similarly patch make-gnucash-potfiles itself. If that's desired, I'll be

gnucash c++

2014-08-06 Thread Aaron Laws
ld be attaching instead of in-line quotation, etc.). Thanks! In Christ, Aaron Laws >From c58457879496a26031e7a412deb429c9ef572fb9 Mon Sep 17 00:00:00 2001 From: lmat Date: Wed, 23 Jul 2014 17:47:02 -0400 Subject: [PATCH] Replacing c++ reserved keywords with clean alternatives --- src/app-u

Re: Gnucash c++

2014-08-06 Thread Aaron Laws
m to adopt such a strategy. Thanks for the response! I kept my response brief, but anyone feel free to ask more questions. I spent the last three days or so catching up on gnucash mailing list items (you've perhaps seen my replies, etc.), and now I can get back to looking at the code! In Ch

Gnucash c++

2014-08-05 Thread Aaron Laws
oing this work, and I'm sure it would be *much* faster if I knew more about how certain things were configured. Let me know what you think if you get a chance to take a look around! In Christ, Aaron Laws ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: switching to C++ compiling by -xc++ (was: gnucash master: Multiple changes pushed)

2014-06-12 Thread Aaron Laws
I just updated guid.cpp to use boost, and I was very pleased at the lack of explosions :-) I issued a pull request to jralls, but for general perusal, you can see it here: https://github.com/limitedAtonement/gnucash/commit/3dc5159cb57f25dc606416263bee8b23da3e6ffe In Christ, Aaron Laws On Mon