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

2018-01-25 Thread Phil Longstaff
Usually, unit testing controller code is done by writing mocks for the code that is called. In this case, this would be the options.scm controller and the renderer. The mock code would test that the expected arguments are passed, and would return a canned response. This both checks the logic of the

Re: Future allocated money, aka Envelope Budgeting

2018-01-31 Thread Phil Longstaff
On Wed, Jan 31, 2018 at 11:35 AM, Adrien Monteleone < adrien.montele...@gmail.com> wrote: > > > > On Jan 31, 2018, at 10:09 AM, Christopher Lam > wrote: > > > > Hi Matt- I thought this should move to the devel list, because of > technical details, and this discussion will be very speculative. > >

Windows build

2018-03-04 Thread Phil Longstaff
I ran setup-ming64.ps1 -x86_64 $true -target_dir d:\gcdev64. It complained about conflicts between msys2-runtime and catgets, but did seem to complete successfully. It left me with instructions to start a MSys2/Mingw32 shell, cd to my target directory, and run a jhbuild command. When I do this, jhb

Re: [GNC-dev] Report System Rework

2018-06-07 Thread Phil Longstaff
I don't know how it fits into this rework, but I would like to see a more general framework which supports reports with 'items' down the side and 'periods' across the top. I put them in quotes because they are a bit general. I've worked with an accounting system in the past which allowed general re

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

2018-06-23 Thread Phil Longstaff
be kind to double check it works as expected in 3.1/maint > onwards? > C > > On 26 March 2018 at 20:04, Phil Longstaff > wrote: > >> I have attached a report which does this. >> >> I have attached ytd-budget.scm. I have this file in >> c:\Users\phill\

Re: [GNC-dev] [GNC] mysql backend, second user (lock, for example)

2018-11-05 Thread Phil Longstaff
I would assume postgresql and mysql would be more likely to provide this kind of notification because they have a central server. sqlite does not. I'm not sure how it could have 2 instances notify each other if they are just accessing the same sqlite file. On Mon, Nov 5, 2018 at 3:47 PM craigarno

Re: [GNC-dev] [Gnucash/gnucash] [gnc-budget-view.c] totals - 5 fundamental types (775200e)

2020-01-03 Thread Phil Longstaff
I will continue this discussion here because I can no longer comment on the change on github. No, I understand you aren't trying to be difficult. I think when I made the original change, my books were set with a certain sign-reversal setting and I didn't test with other settings. My problem now i

Re: [GNC-dev] [Gnucash/gnucash] [gnc-budget-view.c] totals - 5 fundamental types (775200e)

2020-01-03 Thread Phil Longstaff
savings and pay off > loans" > > "Inflow from Income" = normally positive > "Outflow to Expenses" = normally positive > "Outflow to Asset&Liability" = normally positive > "Unbudgeted balance" = aiming towards zero > > On Fri, 3

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

2020-04-27 Thread Phil Longstaff
Hi Chris, thanks for taking this on. I am sorry I don't have more time to commit to the project. I don't like the terms "Outflow to Asset" and "Inflow to Liability". For Assets, here is how I see a budget being used. If I want to plan to put money into savings (an asset), I will have a budget w

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

2020-04-27 Thread Phil Longstaff
I agree with what you say about positive and negative with respect to budgeting assets and liabilities. However, if I have a transaction which pays down a loan, and then add that loan to the budget report, the actual value is displayed as negative. That is why I budget paying down a loan with a neg

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

2020-04-28 Thread Phil Longstaff
gt; I’ll add a big ’Thank You’ for tackling this. I understand you have > > program constraints to work in and can’t re-build the house for the > kitchen > > sink. Even if it isn't the optimum, if it is at least consistent and > works > > properly, that is better than

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

2020-04-29 Thread Phil Longstaff
Agreed. It is correct that Assets = Liabilities + Equity uses only positive values. However, each balance is a credit balance or a debit balance. It is perfectly reasonable to associate one of those types of balance with positive numbers and the other with negative numbers. On Wed, Apr 29, 2020 a

Re: custom report - link to search results

2014-01-30 Thread Phil Longstaff
It's been a long time since I used quicken, but I seem to remember than it did have a drill-down type feature where clicking on a number in a report took you to a ledger display showing what went into that number. For a balance sheet, that would be the full account ledger with all transactions. F

Re: [PATCH] Fix resizing of columns in budget view

2014-03-10 Thread Phil Longstaff
At one point, I was playing with multiple viewports for the different pieces so that they could more easily stay aligned. There would be 2 rows of 3 viewports. Top row: (1) account names (2) month values (3) row totals. Bottom row: (1) labels (2) month totals (3) overall totals. Some viewports

Re: Budget View Implementation Question

2014-04-15 Thread Phil Longstaff
Do you have top-level accounts which don't wouldn't fall under Income, Expense, Assets, Liabilities or Equity? Or, are you saying that if those are your only top-level-accounts, they aren't included? Or are you saying that if they are in a different language (e.g. German), they aren't included?

Re: RESULT!

2014-05-08 Thread Phil Longstaff
Isn't this what the PRIxxx macros in inttypes.h are for? On Thu, May 8, 2014 at 2:10 PM, Derek Atkins wrote: > Geert Janssens writes: > > >> Note that %ld v %lld varies on Linux too. To print/scan a gint64 you > >> need %lld on 32-bit linux but %ld on 64-bit linux (because long long > >> is 6

Re: Rethinking Numeric

2014-05-26 Thread Phil Longstaff
Re numeric in queries... At one point, I was playing with not loading all transactions/splits on startup. However, I still needed the account balances. I remember using a (pseudo-sql) query something like: select sum(amount.numerator) from splits where account_guid='the one I want' and date

Re: need for KvpFrame vs "/path/for/key" in key/value store

2014-12-16 Thread Phil Longstaff
Simple answer is that when the sql backend was designed/written, I just duplicated the xml structure. Yes, the name could have included everything. Phil On Tue, Dec 16, 2014 at 2:50 PM, Sébastien de Menten wrote: > > replying to myself :-) > - in xml, the slots frame present an hierarchical stru

Re: GnuCash XML sched-xaction split amount formatting

2015-04-29 Thread Phil Longstaff
I can add a scheduled transaction for the purchase of a number of shares of a stock or mutual fund, and this number of shares could have more or fewer than 2 decimal places. On Wed, Apr 29, 2015 at 9:03 AM, Ngewi Fet wrote: > Hi Geert, > Thanks for that info. That puts us in a tight spot. Now Gn

Re: Commodities initialization list

2015-08-11 Thread Phil Longstaff
I recently found the need to add a new stock which is traded on the TSX (Toronto Stock Exchange). Why do we hard-code commodity sources? I don't want to have to recompile to use a new exchange. Phil On Tue, Aug 11, 2015 at 4:01 AM, John Ralls wrote: > > > On Aug 11, 2015, at 8:27 AM, Geert Jans

Development environment on mac

2016-10-21 Thread Phil Longstaff
For a project I am involved with, I may need to move to a macbook as my development environment. Because my old windows/linux laptop is getting old and parts are no longer working, it may no longer be available to me. So, I may need to do any future gnucash development on apple products. For those

Re: Windows 10 Build Error

2017-04-08 Thread Phil Longstaff
I'm also looking to make some changes in that file to improve performance. What are you looking to do there? On Fri, Apr 7, 2017 at 12:58 PM, icybricks wrote: > Thank you John -- I'll look into autotools. I'm building because I made > some changes to the code in src/gnome/gnc-budget-view.c that

Building gnucash on Windows

2017-04-15 Thread Phil Longstaff
I want to build the maint branch of gnucash on windows. I followed the instructions on http://wiki.gnucash.org/wiki/Windows/Development by running the bootstrap_win_dev.vbs script. However, this builds master. Is there an equivalent script for maint? I know I can go to the git directory and switch

Re: First weeks with uservoice

2011-03-01 Thread Phil Longstaff
I hadn't looked at it before, but it looks good. Can the items be linked to bugzilla entries? Should we go through all of the enhancement requests and move them to uservoice? It's a bit of a pain to have 2 systems, because it would be easy for a person to enter something into bugzilla which

Re: WARN [guid_init()] only got xxxx bytes. The identifiers might not be very random.

2011-03-07 Thread Phil Longstaff
It seems to me that a guid is a guid. Can you just use the win32 function UuidCreate()? Phil - I used to be a hypochondriac AND a kleptomaniac. So I took something for it. From: Geert Janssens To: gnucash-devel@gnucash.org Sent: Mon, March 7, 2011 2

Re: WARN [guid_init()] only got xxxx bytes. The identifiers might not be very random.

2011-03-07 Thread Phil Longstaff
Can the qof guid library be replaced by libuuid on linux? Phil - I used to be a hypochondriac AND a kleptomaniac. So I took something for it. From: Phil Longstaff To: Geert Janssens Cc: Gnucash Devel Sent: Mon, March 7, 2011 2:34:15 PM Subject: Re

Re: Interactive Javascript + Canvas (jqPlot) powered graphs

2011-03-11 Thread Phil Longstaff
Do you have some sample plots you can attach? Phil - I used to be a hypochondriac AND a kleptomaniac. So I took something for it. From: Andy Clayton To: gnucash-devel@gnucash.org Sent: Fri, March 11, 2011 9:33:04 AM Subject: Re: Interactive Javascript

Re: And yet another stable release, 2.4.4, soon?

2011-03-12 Thread Phil Longstaff
On Thu, 2011-03-10 at 23:05 +0100, Christian Stimming wrote: > Dear all, > > there has been a bugfix for an annoying windows bug recently in r20380, "Bug > #521817 - Guid_init causes very long startup delay if Novell Network active". > IMHO this already justifies another stable release, 2.4.4. A

Re: r20405 - gnucash/trunk/src/gnome - Correct memory leaks found with valgrind

2011-03-13 Thread Phil Longstaff
On Sat, 2011-03-12 at 16:48 -0500, J. Alex Aycinena wrote: > Author: alex.aycinena > Date: 2011-03-12 16:48:16 -0500 (Sat, 12 Mar 2011) > New Revision: 20405 > Trac: http://svn.gnucash.org/trac/changeset/20405 > > Modified: >gnucash/trunk/src/gnome/dialog-tax-info.c > Log: > Correct memory lea

Gnucash 2.4.4 released

2011-03-14 Thread Phil Longstaff
Announcement: GnuCash 2.4.4 Release 2011-03-14 GnuCash 2.4.4 released The GnuCash development team proudly announces GnuCash 2.4.4, the fourth bug fix release in a series of stable of the GnuCash Free Accounting Software. With this new release series, GnuCash can use an SQL database using SQLite

Re: Gnucash 2.4.4 released

2011-03-15 Thread Phil Longstaff
I do have a procedure I use for the release. I'll put it on the wiki. Phil - I used to be a hypochondriac AND a kleptomaniac. So I took something for it. From: Derek Atkins To: Christian Stimming Cc: Phil Longstaff ; Gnucash Devel Mailing

For those asking for a browser version of Gnucash

2011-03-17 Thread Phil Longstaff
http://www.webupd8.org/2011/03/gtk-32-will-let-you-run-any-application.html Phil - I used to be a hypochondriac AND a kleptomaniac. So I took something for it. ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/ma

Re: r20438 - gnucash/trunk/src/app-utils - [PATCH 4/4] Bug #615168: N_ in the root module

2011-03-21 Thread Phil Longstaff
Geert, you've just checked in 4 patches. How should we mark patches which should be back-ported to the 2.4 branch? Should I just pick and choose? Phil - I used to be a hypochondriac AND a kleptomaniac. So I took something for it. From: Geert Jansse

Re: Unstable development, guile 1.8 and gcc 4.5.2

2011-03-22 Thread Phil Longstaff
Geert, you say "the updated gcc can't build the stable branch on Windows". What is the problem? I don't have the details handy, but I am experimenting with a different gcc build (tdm gcc http://tdm-gcc.tdragon.net/) which seems more up-to-date than mingw. I am trying to build webkit/gtk for

Re: Unstable development, guile 1.8 and gcc 4.5.2

2011-03-22 Thread Phil Longstaff
From: Phil Longstaff To: Geert Janssens ; gnucash-devel@gnucash.org Sent: Tue, March 22, 2011 9:14:50 AM Subject: Re: Unstable development, guile 1.8 and gcc 4.5.2 Geert, you say "the updated gcc can't build the stable branch on Windows". What is the problem? I don't have th

Re: Unstable development, guile 1.8 and gcc 4.5.2

2011-03-22 Thread Phil Longstaff
version of libxslt doesn't work so I'm building it from source. Phil - I used to be a hypochondriac AND a kleptomaniac. So I took something for it. From: Geert Janssens To: Phil Longstaff Cc: gnucash-devel@gnucash.org Sent: Tue, March 22, 201

Re: r20438 - gnucash/trunk/src/app-utils - [PATCH 4/4] Bug #615168: N_ in the root module

2011-03-22 Thread Phil Longstaff
I used to be a hypochondriac AND a kleptomaniac. So I took something for it. From: Geert Janssens To: gnucash-devel@gnucash.org Cc: Phil Longstaff Sent: Mon, March 21, 2011 11:45:19 AM Subject: Re: r20438 - gnucash/trunk/src/app-utils - [PATCH 4/4] Bug #615168:

Re: Interactive Javascript + Canvas (jqPlot) powered graphs

2011-03-26 Thread Phil Longstaff
On Sat, 2011-03-26 at 16:37 +0100, Geert Janssens wrote: > On donderdag 24 maart 2011, Christian Stimming wrote: > > Dear Andy, > > > > I've now applied the first two patches from you into SVN. I've not yet > > applied the others because they would immediately change the behaviour. > > > > Howeve

Re: [Bug 645518] GnuCash crashes immediately after splash screen

2011-03-27 Thread Phil Longstaff
I can take care of it. Phil On Sun, 2011-03-27 at 21:34 +0200, Christian Stimming wrote: > Committed, r20497. Thanks for pointing out this workaround. > > This also means we should have a 2.4.5 release (from the new 2.4 branch, of > course) that fixes this crasher, as it has been reported sever

Re: r20501 - gnucash/trunk/packaging/win32 - During win32 build, if a component is already installed, print the installation path

2011-03-29 Thread Phil Longstaff
this get back-ported to 2.4? You didn't mark it BP. -derek Phil Longstaff writes: > Author: plongstaff > Date: 2011-03-28 21:17:00 -0400 (Mon, 28 Mar 2011) > New Revision: 20501 > Trac: http://svn.gnucash.org/trac/changeset/20501 > > Modified: >gnucash/trunk/packagi

Updated webkit

2011-04-02 Thread Phil Longstaff
OK. I've now been able to compile webkit 1.2.7 in the gnucash environment using gtk 2.22.1. I will package it up and update the gtk version for win32. Phil ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/list

Re: Updated webkit

2011-04-03 Thread Phil Longstaff
On Sun, 2011-04-03 at 16:10 +0200, Geert Janssens wrote: > On zondag 3 april 2011, Phil Longstaff wrote: > > OK. I've now been able to compile webkit 1.2.7 in the gnucash > > environment using gtk 2.22.1. I will package it up and update the gtk > > version for win32.

Re: libqof/qof

2011-04-05 Thread Phil Longstaff
Sounds good to me. Phil - I used to be a hypochondriac AND a kleptomaniac. So I took something for it. From: Geert Janssens To: gnucash-devel@gnucash.org Sent: Tue, April 5, 2011 3:11:13 PM Subject: libqof/qof The recent cleanups in the qof code brou

Re: Windows: what version of aqbanking

2011-04-10 Thread Phil Longstaff
I will package up webkit/gtk 1.2.7 built against gtk+ 2.24. This should allow you to move to aqbanking 5. It is also the last stable gtk+ 2.X before 3.X, and the instructions re porting to GTK3 say you should ensure your code works with 2.24 first. Phil On Sun, 2011-04-10 at 21:40 +0200, Christ

Re: Webkit/gtk on win32

2011-04-10 Thread Phil Longstaff
Switching back from -user to -devel list because this isn't ready for users yet. On Sun, 2011-04-10 at 22:37 +0200, Geert Janssens wrote: > On zaterdag 9 april 2011, Phil Longstaff wrote: > Perhaps you are refering to this bug here: > https://bugzilla.gnome.org/show_bug.cgi?id=610

Gnucash 2.4.5 released

2011-04-10 Thread Phil Longstaff
Announcement: GnuCash 2.4.5 Release 2011-04-10 GnuCash 2.4.5 released The GnuCash development team proudly announces GnuCash 2.4.5, the fifth bug fix release in a series of stable of the GnuCash Free Accounting Software. With this new release series, GnuCash can use an SQL database using SQLite3,

Re: Windows: what version of aqbanking

2011-04-10 Thread Phil Longstaff
On Sun, 2011-04-10 at 23:45 +0200, Geert Janssens wrote: > On zondag 10 april 2011, John Ralls wrote: > > On Apr 10, 2011, at 1:10 PM, Phil Longstaff wrote: > > > I will package up webkit/gtk 1.2.7 built against gtk+ 2.24. This should > > > allow you to move to aqbank

Win32 build

2011-04-12 Thread Phil Longstaff
The win32 build (trunk) should now build with gtk+ 2.24 and webkit 1.2.7. I built it from source and uploaded it to sourceforge. Phil ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: Using Standard (Valid) HTML Code According to w3.org

2011-04-13 Thread Phil Longstaff
If this is for trunk, I'd prefer that we *don't* just fix the current scheme code. We really need to decide what we plan to do with reports for 2.6. We have our current scheme reports. We have a few eguile reports. We've had a suggestion to use laml (http://www.cs.aau.dk/~normark/laml/) to

Win32 trunk build failed

2011-04-13 Thread Phil Longstaff
The win32 trunk build failed last night while trying to build goffice. If we've decided to replace the graphs with the javascript-based one, shall we just remove goffice and replace with the new graph engine? Phil - I used to be a hypochondriac AND a kleptomaniac. So I took something

Re: Trunk Windows build

2011-04-14 Thread Phil Longstaff
Actually, it doesn't build. If you look earlier in the log, there are link problems. The problem, I think, is that I've switched to adding the version number to directory names (/c/soft/libxslt-1.2.3 rather than /c/soft/libxslt). The webkit package pkgconfig file specifies linking with /c/so

Re: Trunk Windows build

2011-04-15 Thread Phil Longstaff
ook something for it. From: Christian Stimming To: Phil Longstaff Cc: Geert Janssens ; gnucash-devel@gnucash.org Sent: Fri, April 15, 2011 2:36:59 AM Subject: Re: Trunk Windows build Zitat von Phil Longstaff : > Actually, it doesn't build. If you look earlier in the log, the

Win32 build failed

2011-04-19 Thread Phil Longstaff
Even though I updated webkit-1.2.7-win32.zip on sourceforge, it wasn't downloaded and used because a file with that name (the old one) was still in the download directory. Can someone get on the VM and delete that file and the webkit directory? Phil - I used to be a hypochondriac AND

Re: Win32 build failed

2011-04-19 Thread Phil Longstaff
Yes, I should have done that. Phil - I used to be a hypochondriac AND a kleptomaniac. So I took something for it. From: Derek Atkins To: Phil Longstaff Cc: Gnucash Devel Sent: Tue, April 19, 2011 10:34:44 AM Subject: Re: Win32 build failed Phil

Re: Entity-Relationship Diagram

2011-04-22 Thread Phil Longstaff
On Fri, 2011-04-22 at 10:51 -0700, John Ralls wrote: > Correct. I think we need to do a better job of decoupling the backends > from the internal data structures. Part of that should be to move most > of the "scrubbing" functions to the XML backend and to either make the > XML backend more flex

Re: win32 trunk daily build still broken

2011-04-23 Thread Phil Longstaff
On Sat, 2011-04-23 at 16:27 +0200, Christian Stimming wrote: > The daily win32 build of trunk is still broken. A setup.exe is generated and > uploaded, but it is stuck on the last day when the build still ran completely > (which was some day at the beginning of April). > > I've been working on g

Re: r20616-20630 (GncOwner)

2011-05-14 Thread Phil Longstaff
On Thu, 2011-05-12 at 13:49 -0400, John Ralls wrote: > Geert, I was actually thinking from the data model view rather than the > accounting view, but ideally the data model closely reflects the > problem domain, so they're not dissimilar. > [OpenERP - deleted] > But more broadly, Gnucash is su

Re: r20616-20630 (GncOwner)

2011-05-15 Thread Phil Longstaff
On Sat, 2011-05-14 at 22:34 -0400, John Ralls wrote: > On May 14, 2011, at 4:33 PM, Phil Longstaff wrote: > > > On Thu, 2011-05-12 at 13:49 -0400, John Ralls wrote: > > > >> Geert, I was actually thinking from the data model view rather than the > >> account

Re: r20616-20630 (GncOwner)

2011-05-16 Thread Phil Longstaff
Yes. They were moved there later Phil - I used to be a hypochondriac AND a kleptomaniac. So I took something for it. From: John Ralls To: Derek Atkins Cc: devel gnucash Sent: Mon, May 16, 2011 10:11:07 AM Subject: Re: r20616-20630 (GncOwner) On M

Re: Next stable 2.4.6 rather soon?

2011-05-23 Thread Phil Longstaff
I won't have time this week or next weekend. Phil On Mon, 2011-05-23 at 21:30 +0200, Christian Stimming wrote: > Dear all, > > I propose to have the next stable release, 2.4.6, rather soon. There is > already a large collection of bugfixes in the 2.4 branch, and 2.4.5 is > already > over 7 we

Re: preferences

2011-05-24 Thread Phil Longstaff
On Tue, 2011-05-24 at 17:57 +0200, Maris wrote: > Hi Derek, > > On Tue, 24 May 2011 16:32:10 +0200, Derek Atkins wrote: > > > Hi, > > > > Maris writes: > > > >> I'm going to use gnucash as an effective means to do bookkeeping of my > >> hours spent to several customers and associated projects,

Re: GSoC 2011: Data model unit testing

2011-05-24 Thread Phil Longstaff
On Tue, 2011-05-24 at 23:26 +0200, Muslim Chochlov wrote: > Hello everyone, > > My name is Muslim and I'm one of the three students who contribute this year > to Gnucash. Yesterday there was > an official start of coding and I think you might be interested in what was > already done and what are m

Re: Reporting system and potentially Python

2011-07-07 Thread Phil Longstaff
I'm not sure I would use Javascript to create the report code, but I could definitely see embedded Javascript into the reports to make them more interactive.  Any place there is a parent account with children indented an arrow icon could trigger javascript to hide/show the children. Does swig g

Re: 2.6 Release

2011-12-28 Thread Phil Longstaff
Stuff I'm working on: 1) I'm re-doing the preferences to allow an underlying system other than gconf (e.g windows registry, or whatever OS-X uses) and provide same basic prefs interface for global preferences (currently in gconf) vs book preferences (kvp under the book), possibly per-user prefe

Git

2012-01-12 Thread Phil Longstaff
I want to start learning how to use git.  If I follow the instructions on the wiki, is everything now set up so that I can access the git repository and submit changes? Phil ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash

Longer term projects

2012-01-12 Thread Phil Longstaff
There are a number of longer term projects, among them Gtk3 and engine cleanup.  I've been distracted by other matters but can now devote some time to Gnucash.  From what I can tell, John Ralls has been pushing the engine work (unit testing, converting to real gobjects).  Geert (I think) has bee

Re: Longer term projects

2012-01-12 Thread Phil Longstaff
r-per-file) with a common API. It was introduced in 2.26.  Is that too new for all of our supported platforms? From: Geert Janssens To: gnucash-devel@gnucash.org; Phil Longstaff Sent: Thursday, January 12, 2012 2:02:15 PM Subject: Re: Longer term projects

Re: Longer term projects

2012-01-29 Thread Phil Longstaff
object for these signals?  From: John Ralls To: Phil Longstaff Cc: GnuCash development list Sent: Thursday, January 12, 2012 10:33:41 AM Subject: Re: Longer term projects On Jan 12, 2012, at 5:51 AM, Phil Longstaff wrote: > There are a number of lon

Re: Longer term projects

2012-01-29 Thread Phil Longstaff
I was thinking more along the lines that currently, any piece of code can register for qof events and receive a callback whenever anything changes in any transaction.  Do we want to keep this kind of behavior? From: John Ralls To: Phil Longstaff Cc: GnuCash

Re: r21892 - gnucash/tags - Tagging the 2.4.10 release

2012-02-04 Thread Phil Longstaff
I'd report it against gtk and I'd mention it in our release notes. Phil From: Geert Janssens To: John Ralls Cc: gnucash-devel@gnucash.org Sent: Saturday, February 4, 2012 11:38:10 AM Subject: Re: r21892 - gnucash/tags - Tagging the 2.4.10 release Op zaterd

Re: GNUCash Development Plan?

2012-02-13 Thread Phil Longstaff
Budgeting is one area I want to work with.  What, specifically are you fighting with? Phil From: Jeff Kletsky To: gnucash-devel Sent: Monday, February 13, 2012 4:18:10 PM Subject: GNUCash Development Plan? Once again, it is the beginning of the year and I'

Running unit tests under valgrind

2012-05-21 Thread Phil Longstaff
I already found one memory leak and one uninitialized variable when running the libqof/qof unit tests under valgrind.  Can we set up all unit tests to run with valgrind automatically? Phil ___ gnucash-devel mailing list gnucash-devel@gnucash.org https:

Re: Running unit tests under valgrind

2012-05-21 Thread Phil Longstaff
Yes.  A lot of the leaks are in the unit test code.  But I've found 2 legitimate leaks as well. Phil From: John Ralls To: Christian Stimming Cc: gnucash-devel@gnucash.org; Phil Longstaff Sent: Monday, May 21, 2012 4:56:52 PM Subject: Re: Running

[no subject]

2012-06-29 Thread Phil Longstaff
___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

[no subject]

2012-06-29 Thread Phil Longstaff
___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: What the use of 'slots' table in gnucash with mysql

2012-09-16 Thread Phil Longstaff
Slots represent extra information attached to gnucash objects.  The idea is that a new or optional package can attach its own info to objects.  When an object is loaded, the slots are in a directory/subdirectory-like structure. Slots are optional, and in both the XML and SQL backends, if new inf

Re: r22465 - gnucash/trunk/src/engine - Allow SchedXaction to safely handle having g_object_property_set called on

2012-10-28 Thread Phil Longstaff
How about an else clause in case the value is invalid? From: John Ralls To: gnucash-patc...@gnucash.org Sent: Saturday, October 27, 2012 7:30:57 PM Subject: r22465 - gnucash/trunk/src/engine - Allow SchedXaction to safely handle having g_object_property_set ca

Re: r22465 - gnucash/trunk/src/engine - Allow SchedXaction to safely handle having g_object_property_set called on

2012-10-28 Thread Phil Longstaff
Does the caller have any indication that nothing was done? From: John Ralls To: Phil Longstaff Cc: "gnucash-devel@gnucash.org devel" Sent: Sunday, October 28, 2012 7:02:53 PM Subject: Re: r22465 - gnucash/trunk/src/engine - Allow SchedXaction

Re: Longer term projects

2013-01-15 Thread Phil Longstaff
No, I didn't. I'll take a look at it now. Phil From: Geert Janssens To: Phil Longstaff Cc: "gnucash-devel@gnucash.org" Sent: Tuesday, January 15, 2013 3:53:02 AM Subject: Re: Longer term projects Phil, Did you ever get around look

Re: Gnucash 2.5/6

2013-02-08 Thread Phil Longstaff
At this point, there's an itch which is bothering me more and it's in the budgeting area.  I'm separating the budget plugin page into the page and the budget display widget so I can enhance the widget by adding more info.  I want a fixed "total" column, and fixed "income", "expense" and "transfe

Re: Gnucash 2.5/6

2013-02-11 Thread Phil Longstaff
a bit more cleanup, but should have something by next weekend. Phil From: Geert Janssens To: gnucash-devel@gnucash.org Sent: Saturday, February 9, 2013 12:03:44 PM Subject: Re: Gnucash 2.5/6 On 09-02-13 00:59, Phil Longstaff wrote: > At this point, there

Re: Gnucash 2.5/6

2013-02-11 Thread Phil Longstaff
Thanks From: Robert Fewell <14ubo...@gmail.com> To: gnucash-devel@gnucash.org Sent: Monday, February 11, 2013 10:40:27 AM Subject: Gnucash 2.5/6 Phil, I may of misunderstood, the csv transaction importer use two tree-views one above each other and keeps the

Re: Beyond 2.6 (was:Re: Gnucash 2.5/6)

2013-02-11 Thread Phil Longstaff
John, what's your view of the best way forward?  I'm confused by what you want to wrap C++ inside GObject.  What's your end vision and what are the steps along the way. Phil From: John Ralls To: Derek Atkins Cc: "gnucash-devel@gnucash.org Devel" Sent: M

Re: Gnucash 2.5/6

2013-02-17 Thread Phil Longstaff
I created https://bugzilla.gnome.org/show_bug.cgi?id=694047 and attached an initial patch to that.  That should allow you to get it in.  I'll need to learn more about git. Phil From: John Ralls To: Robert Fewell <14ubo...@gmail.com>; Geert Janssens Cc: "gn

Re: GSettings again

2013-02-24 Thread Phil Longstaff
When I was looking at replacing GConf, I envisioned wrapping it as GncPrefs.  I took some ideas from Java (java.util.prefs) such as: - hierarchy of prefs nodes.  A prefs node can have values, but can also have prefs nodes as children. - GncPrefs would be base class, with GncPrefsGconf and GncPref

Need some Gtk help

2013-07-27 Thread Phil Longstaff
For Gnucash 2.5/2.6, I'm working on the budget display.  In 2.4, the budget display is a single account tree with one extra column per budget period (e.g. month).  To this, I am adding a column for row totals (budget year totals).  I am also adding some new rows with column totals for total inco

Re: Need some Gtk help

2013-07-28 Thread Phil Longstaff
Hi Robert, the problem with a vertical box and 2 horizontal boxes is that I want the left boxes of each row to have the same horizontal size.  Same for middle boxes and right boxes.  Instead, I am using a table. I'll try playing with expand and fill values.  When I tried before, they still did

Re: qof_commit_edit_part_2 commit, then delete

2013-11-28 Thread Phil Longstaff
Just check that the commit isn't what triggers a DELETE sql statement. On Thu, Nov 28, 2013 at 5:05 AM, Christian Stimming wrote: > Am Mittwoch, 27. November 2013, 16:45:03 schrieb John Ralls: > > As it now stands, we run the commit code, then check priv->do_free and > run > > the destroy callba

Re: qof_commit_edit_part_2 commit, then delete

2013-11-28 Thread Phil Longstaff
In the sql backend, I think the commit may be what triggers a DELETE statement. Phil From: John Ralls To: GnuCash development list Sent: Wednesday, November 27, 2013 7:45:03 PM Subject: qof_commit_edit_part_2 commit, then delete As it now stands, we run th

Re: r18015 - gnucash/branches - Create 2.4 branch

2009-04-05 Thread Phil Longstaff
: gnucash-devel@gnucash.org Sent: Sunday, April 5, 2009 4:27:59 PM Subject: Re: r18015 - gnucash/branches - Create 2.4 branch Hi, Quoting Christian Stimming : > Am Sonntag, 5. April 2009 01:45 schrieb Phil Longstaff: >> Author: plongstaff >> Date: 2009-04-04 19:45:29 -0400 (S

Re: r18015 - gnucash/branches - Create 2.4 branch

2009-04-05 Thread Phil Longstaff
Yeah, you're right re dev't. At this point, I'm doing a bit of cleanup. I needed to make a small change to fix 'make check'. There's now another problem in 'make dist' in the python bindings. Phil ____ From: Derek Atkin

Problem with python bindings

2009-04-06 Thread Phil Longstaff
I'm running into a compilation problem with the python bindings. gnucash_core.c is looking for tcl.h using the line "#include ". On my distro (kubuntu 9.04 beta), the tcl8.4-dev package puts tcl.h into /usr/include/tcl8.4/tcl.h. I don't see that the python-bindings Makefile system allows for

More problems with python bindings

2009-04-06 Thread Phil Longstaff
Even after I added -I/usr/include/tcl8.4 to the command compiling gnucash_core.c, I had other problems. 1) Couldn't find datetime.h. My distro has it in /usr/include/python2.6. 2) After I added -I/usr/include/python2.6 to the compile line, I needed to add "#include " before "#include ". I was

Re: Problem with python bindings

2009-04-06 Thread Phil Longstaff
On April 6, 2009 08:37:31 am Derek Atkins wrote: > hi, > > Quoting Phil Longstaff : > > I'm running into a compilation problem with the python bindings. > > > > gnucash_core.c is looking for tcl.h using the line "#include ". > > On my distro (kubun

Re: Webkit status (updated)

2009-04-06 Thread Phil Longstaff
. That's where I'm stopped for now. Unfortunately, it's not just webkit we need, but webkitgtk. Maybe if the team working on it can supply a binary download... Phil From: Chris Dennis To: Phil Longstaff Cc: Gnucash list Sent: Monday, April 6,

Re: r18015 - gnucash/branches - Create 2.4 branch

2009-04-06 Thread Phil Longstaff
branch, but are there other issues you can see? Phil From: Christian Stimming To: gnucash-devel@gnucash.org Cc: Phil Longstaff ; Derek Atkins Sent: Monday, April 6, 2009 2:41:00 PM Subject: Re: r18015 - gnucash/branches - Create 2.4 branch Am Montag, 6. A

Re: Problem with python bindings

2009-04-07 Thread Phil Longstaff
On April 7, 2009 10:01:45 am you wrote: > Phil Longstaff writes: > >> What do you get from: pkg-config --cflags tcl > >> > >> > Phil > >> > >> -derek > > > > p...@phil-laptop:~/gnucash2/trunk/src/optional/python-bindings$ > > pk

Re: Looks like something isn't right with the libqof move

2009-04-08 Thread Phil Longstaff
I missed a change in src/doc/doxygen.cfg.in. I'll fix it when I get a chance. From: Derek Atkins To: gnucash-devel@gnucash.org Sent: Wednesday, April 8, 2009 8:45:52 AM Subject: Looks like something isn't right with the libqof move Hey all, with the move of l

Re: Looks like something isn't right with the libqof move

2009-04-09 Thread Phil Longstaff
I committed the change at 8:30 EST. From: Derek Atkins To: Phil Longstaff Cc: gnucash-devel@gnucash.org Sent: Thursday, April 9, 2009 11:19:03 AM Subject: Re: Looks like something isn't right with the libqof move Thanks. Still had the error this mornin

Re: r18041 - gnucash/trunk - Merge webkit branch into trunk.

2009-04-11 Thread Phil Longstaff
On April 11, 2009 08:08:30 am Herbert Thoma wrote: > Hi! > > After this merge I get the following error (I did not use --enable-webkit): > > <...> > -I/opt/gnome/include/atk-1.0 -Werror -Wdeclaration-after-statement > -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -g -O2 -Wno-unused -MT > gnc-html-gtkhtml.

  1   2   3   4   5   6   7   8   9   >