Re: Version Numbering

2015-03-23 Thread Jeff Kletsky
On 3/23/15 12:20 AM, John Ralls wrote: What about API breaks in the Scheme and Python bindings? Not something most users care about, but folks with custom scripts sure do. We've always said that we don't guarantee API stability between major versions, but we also promote the bindings pretty hea

Building Mac OS X GnuCash and run-time failures -- file: "libgncmod-engine", message: "file not found"

2015-03-17 Thread Jeff Kletsky
Well, it's been an interesting journey trying to get GnuCash to build and run under Mac OS X. (Yes, I need to do this.) First off, thanks to John Ralls for quickly merging in my patch to use the current repository for xmlsec! For anyone trying to do this on their own, this is what I've found:

Budgeting [Was: GNUCash Development Plan?]

2012-02-13 Thread Jeff Kletsky
Looks like book-closing transaction flag was introduced in http://svn.gnucash.org/trac/changeset/19945 -- Thanks! On 02/13/2012 04:12 PM, Jeff Kletsky wrote: On 02/13/2012 02:10 PM, Phil Longstaff wrote: Budgeting is one area I want to work with. What, specifically are you fighting with

Re: GNUCash Development Plan?

2012-02-13 Thread Jeff Kletsky
made things pretty horrendous. Especially after looking at the SQL schema in my current plan to implement off-line budgeting and reporting, I really dislike KVPs as ad hoc object extensions. Let me know how I can help. Jeff Kletsky ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

GNUCash Development Plan?

2012-02-13 Thread Jeff Kletsky
VP as a generic extension method, rather than changing the schema and providing upgrade triggers. Is that still the case? Thanks, Jeff Kletsky ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: I can't find working libdbi version

2011-01-27 Thread Jeff Kletsky
Something isn't quite right there yet: the_datetime_tz: in:'2001-12-31 23:59:59 -10:00' out:0-0-0 0:0:0 the_time_tz: in:'23:59:59-10:00' out:0:0:0 Unfortunately, the libdbi test does not identify "wrong" values On 01/27/2011 01:36 AM, Christoph Holtermann wrote: Hello ! make check with lib

Re: Interactive Javascript + Canvas (Flot) powered graphs

2011-01-24 Thread Jeff Kletsky
On 01/24/2011 01:18 AM, Christian Stimming wrote: [...] I do have an extremely simple module thrown together so that python can be used from within gnucash, You have? I'd be interested to see that. Even if it can't be used for replacing scheme reports by python reports at this point in time,

"Account unknown Bank unknown" patch available

2011-01-21 Thread Jeff Kletsky
https://bugzilla.gnome.org/show_bug.cgi?id=640233 At least for the online OFX sources I use in the US, downloaded transactions are populated with memos of "Account unknown Bank unknown" Past being annoying, this can cause improper "matches" when comparing transactions. The root cause is found

OFX not translated?

2011-01-21 Thread Jeff Kletsky
Digging into the source of the "Account unknown Bank unknown" string (that annoys me immensely), I looked at src/import-export/ofx/gnc-ofx-import.c and find it laden with UI-destined strings that aren't translated. For example: case OFX_DEBIT: strncpy(dest

Re: get quotes broken?

2011-01-18 Thread Jeff Kletsky
I recently had problems trying to run gnucash --add-price-quotes from a cron job. If that is the case (or you are not running under X), you may need to start dbus, similar to env `dbus-launch` sh -c 'trap "kill $DBUS_SESSION_BUS_PID" EXIT; /usr/local/bin/gnucash --add-price-quotes /path/to/f

Re: What svn rev is 2.4.0?

2011-01-16 Thread Jeff Kletsky
and trunk-2135/doc/gnome-hackers.txt are identical On 01/16/2011 11:05 AM, Geert Janssens wrote: On Sunday 16 January 2011, Jeff Kletsky wrote: Which SVN revision is "officially" 2.4.0? Tagged is r19971 This is the official version. The source tarball builds as r19974 Th

What svn rev is 2.4.0?

2011-01-16 Thread Jeff Kletsky
Which SVN revision is "officially" 2.4.0? Tagged is r19971 The source tarball builds as r19974 An svn checkout of 2.4.0 builds as r20008 $ svn info Path: . URL: http://svn.gnucash.org/repo/gnucash/tags/2.4.0 Repository Root: http://svn.gnucash.org/repo Repository UUID: 57a11ea4-9604-0410-9ed3-

Re: ~/.gnucash and XDG default directories

2011-01-16 Thread Jeff Kletsky
nt time go into things that provide more tangible benefit. On 01/16/2011 09:12 AM, Geert Janssens wrote: Thanks for your feedback. On Sunday 16 January 2011, Jeff Kletsky wrote: In my opinion, adopting a "standard" that * goes counter to long-established practice From what I'

Re: ~/.gnucash and XDG default directories

2011-01-16 Thread Jeff Kletsky
In my opinion, adopting a "standard" that * goes counter to long-established practice * isn't widely accepted will cause more problems than it is worth. There is a significant documentation change cost for GNUCash. There is a significant coding/test cost (either auto-upgrade, or checking t

Re: New Budget Report

2011-01-14 Thread Jeff Kletsky
Thanks, that was it -- I hadn't noticed the page changed since I was adding reports last spring. Jeff On 01/14/2011 10:23 AM, Geert Janssens wrote: On Friday 14 January 2011, Jeff Kletsky wrote: (load-from-path "/home/jeff/gnucash-reports/psl-budget.scm") in ~/.gnucash/

Re: New Budget Report

2011-01-14 Thread Jeff Kletsky
following the instructions for adding a report to my user space at: http://wiki.gnucash.org/wiki/Custom_Reports David --- On Thu, 1/13/11, Jeff Kletsky wrote: From: Jeff Kletsky Subject: Re: New Budget Report To: "Phil Longstaff" Cc: gnucash-devel@gnucash.org Date: Thursday, Januar

Re: New Budget Report

2011-01-13 Thread Jeff Kletsky
-config-vars): /opt/share/gnucash/guile-modules/gnucash/main.scm:208:3: Unbound variable: gnc:initialize-config-vars any suggestions? Thanks, Jeff On 01/13/2011 05:27 PM, Phil Longstaff wrote: On Thu, 2011-01-13 at 08:18 -0800, Jeff Kletsky wrote: On 01/12/2011 12:07 PM, Phil Longstaff wrote

Re: New Budget Report

2011-01-13 Thread Jeff Kletsky
I'd be happy just to get a budget report that was correct, rendered in a lot less than the current 20-30 seconds (scheme sucks for HTML the way it builds tables right now), and I could actually print out the results. I'd enjoy seeing either of these reports under 2.4. I am s close to just

Re: Public Git repo

2011-01-10 Thread Jeff Kletsky
On 01/10/2011 08:28 AM, Geert Janssens wrote: On Monday 10 January 2011, Jeff Kletsky wrote: At least as I understand it, branches in git are nothing more than a pointer to the "head" commit and, structurally, are pretty much the same (if not identical) to tags. A branch in git i

Re: Public Git repo

2011-01-10 Thread Jeff Kletsky
: On 10 January 2011 15:12, Derek Atkins wrote: Geert Janssens writes: On Wednesday 05 January 2011, Jeff Kletsky wrote: I don't like that history is a pretty flexible thing and that "branches" are just pointers to specific commits, rather than the kind of "followable path&qu

Re: Challenging python coders: Who can create a gnucash-like GUI in python in a few weeks?

2011-01-10 Thread Jeff Kletsky
In my opinion, it is great that Scheme and Guile are on the way out. I would suggest though, that something more than how few lines of code are needed go into the determination of the language for the UI. Otherwise, APL is going to win hands down. Even the presence of bindings doesn't sway me

Re: Make check fails at dbi test

2011-01-09 Thread Jeff Kletsky
"...but the amounts always show zero [using SQL back end]" If you're using SQLite3 on Ubuntu 10.10 and a 32-bit system, you probably have a broken libdbi. Hold on, they're making a new package for us; I'm guessing later this week you'll be able to get it using synaptic, apt-get, or your favor

Re: Fwd: [Bug 673307] Re: libdbi / libdbd-sqlite3 returns incorrect values for several data types

2011-01-07 Thread Jeff Kletsky
(Ubuntu) → libdbi (Ubuntu) Clint Byrum wrote on 2011-01-06: #8 Reported the bug to libdbi upstream here https://sourceforge.net/tracker/?func=detail&aid=3152613&group_id=23824&atid=379806 From: https://bugs.launchpad.net/ubuntu/+source/libdbi/+bug/673307 On 01/05/2011 04

Fwd: [Bug 673307] Re: libdbi / libdbd-sqlite3 returns incorrect values for several data types

2011-01-05 Thread Jeff Kletsky
Progress... Setting Importance to High. I think this only affects maverick, as the build in natty runs the full test suite for mysql, pgsql, and sqlite3 and does not report this failure. ** Changed in: libdbi-drivers (Ubuntu) Importance: Undecided => High -- You received this bug notificat

Re: Public Git repo

2011-01-05 Thread Jeff Kletsky
I maintain my own, local git repository and have a mixed love/hare relationship with git. For me, I like the lightweight branching and merge capabilities. I like the built-in bisection to locate introduced changes in result (generally bugs, but sometimes enhancements as well). For local deve

Re: [Bug 611936] Sqlite3: assertion `gnc_numeric_check(amt) == GNC_ERROR_OK' failed

2011-01-04 Thread Jeff Kletsky
In my opinion, since this is an OS-distribution-related problem rather than a core-to-the-library problem, spending a lot of valuable dev time on "fixing" it seems inappropriate. I would suggest something along the lines of testing for the library bug, alerting the user if it exists (with a ch

Re: Splitting the slots table

2011-01-03 Thread Jeff Kletsky
John Ralls writes: "I think that the first step is to work through all of the code and make an ERD for the existing model, documenting the use and structure of KVP. (Pretend for the purpose of this exercise that every use of KVP is a separate entity). Then we can normalize it into a good relat

Re: 2.4 and sqlite...

2011-01-01 Thread Jeff Kletsky
9:59 -10:00' out:2002-1-1 9:59:59 the_date: in:'2001-12-31' out:2001-12-31 -the_time: in:'23:59:59' out:0:0:0 -the_time_tz: in:'23:59:59-10:00' out:0:0:0 +the_time: in:'23:59:59' out:23:59:59 +the_time_tz: in:'23:59:59-10:00' out:9:59:59 t

Re: 2.4 and sqlite...

2011-01-01 Thread Jeff Kletsky
problem. Jeff On 12/31/2010 06:36 PM, John Ralls wrote: On Dec 31, 2010, at 5:18 PM, Derek Atkins wrote: Er.. check the archives and look for fastmath, iirc. To save you the trouble: https://bugzilla.gnome.org/show_bug.cgi?id=611936#c28 https://lists.gnucash.org/pipermail/gnucash-devel

Re: 2.4 and sqlite...

2010-12-31 Thread Jeff Kletsky
I'm seeing data corruption under Ubuntu 10.10 and SQLite3 on builds from tag 2.4.0 -- in my case budgets are unable to display their values properly. I'm not seeing that using MySQL 5.1 on the same system. If http://wiki.gnucash.org/wiki/Release_Schedule is still current, then I wouldn't be su

Re: Can't find slib?

2010-12-30 Thread Jeff Kletsky
Some hints on Slackware at http://www.linuxquestions.org/questions/slackware-14/gnucash-guile-slib-dont-get-along-848185/ Look in the directory /var/log/scripts for the file starting with slib. What happens if you run the first line in that file as root on your machine? On mine (Sla

Re: Can't find slib?

2010-12-30 Thread Jeff Kletsky
slib isn't functional for GNUCash under Ubuntu 10.10 and the current build of guile -- there just isn't a version of slibcat there that I can find to symlink to. Suggestions? I'd really like to get this to work with the current versions of guile. Thanks, Jeff j...@fx:/usr/local/src/gnucas

Re: Translatable strings in .h file -- best way to resolve?

2010-03-18 Thread Jeff Kletsky
On 3/18/2010 8:04 AM, Derek Atkins wrote: Jeff Kletsky writes: So then when I submit a patch for things like src/business/business-utils/ business-utils.scm -- the existing usages of (N_ "some string") probably should be converted to (_ "some string") -- correct? I wa

Re: Translatable strings in .h file -- best way to resolve?

2010-03-18 Thread Jeff Kletsky
Derek Atkins wrote: Jeff Kletsky writes: [snip] #define OPTION_SECTION_ACCOUNTSN_("Accounts") #define OPTION_NAME_TRADING_ACCOUNTS N_("Trading Accounts") #define OPTION_SECTION_BUDGETING N_("Budgeting") #define OPTION_NAME_DEFAULT_BUDGET

Re: Translatable strings in .h file -- best way to resolve?

2010-03-18 Thread Jeff Kletsky
Mike Alexander wrote: --On March 16, 2010 10:17:37 AM +0100 Christian Stimming wrote: Zitat von Jeff Kletsky : #define ACCOUNT_OPTIONS_SECTION "Accounts" #define TRADING_ACCOUNTS_OPTION "Trading Accounts" Presently, make-gnucash-potfiles.in does not look at .h fi

Better name for "Accounts" tab and "Trading Accounts" option?

2010-03-17 Thread Jeff Kletsky
I've been poking around with setting a default budget and find myself in qofbookslots.h which was apparently introduced for which, at least as I understand it, implements "trading accounts" to handle multi-currency and multi-commodity transacti

Translatable strings in .h file -- best way to resolve?

2010-03-15 Thread Jeff Kletsky
In src/libqof/qof/qofbookslots.h two #define statements were added #define ACCOUNT_OPTIONS_SECTION "Accounts" #define TRADING_ACCOUNTS_OPTION "Trading Accounts" which need to be translatable (they are t

Possible to start Guile interactive debugger from running code?

2010-03-15 Thread Jeff Kletsky
gdb works well at letting me poke around in the C portions of the code, but, not unexpectedly, doesn't seem to be able to let me do the same for Guile. I'm aware of (display foo) as well as (gnc:debug more-foo), but is there a way that an interactive Guile debugger can be invoked from the runn

Re: Unpredictable make -- possibly related to intl-scm/guile-strings.c

2010-03-11 Thread Jeff Kletsky
On 3/11/2010 2:32 AM, Christian Stimming wrote: Zitat von Jeff Kletsky : I can, for example, [...] 4) Checkout edd8b26 and have it work (as it should) 5) Checkout df0f85d and have it work (which it does NOT if built in a "fresh" directory) From what I can tell, the only file differ

Re: Unpredictable make -- possibly related to intl-scm/guile-strings.c

2010-03-10 Thread Jeff Kletsky
ir gnucash-build2 cd gnucash-build2/ ../gnucash-devel/configure --enable-ofx --enable-aqbanking --prefix=/opt/gnucash --with-html-engine=webkit make clean make -j4 make install # and, when built from the different directory, it fails, as it "should" /opt/gnucash/bin/gnucash --nofile Jeff Kl

Unpredictable make -- possibly related to intl-scm/guile-strings.c

2010-03-10 Thread Jeff Kletsky
I've been running in circles for the last several days with a problem that manifests itself when, from what I can tell, the code in engine.i tries to create Guile variables using the SET_ENUM construct. The console, in my case, reports Backtrace: In current input: 1: 0* (set! OPTION-SECTION-AC

Re: Running automated or unit tests?

2010-03-08 Thread Jeff Kletsky
On 3/8/2010 4:59 PM, Jeff Kletsky wrote: Maybe I'm blind, but I'm not seeing how to run unit/automated testing (or how to add more unit tests to the quite). Would someone point me in the right direction so I can be more confident I'm not breaking things? -j make check?? Th

Running automated or unit tests?

2010-03-08 Thread Jeff Kletsky
Maybe I'm blind, but I'm not seeing how to run unit/automated testing (or how to add more unit tests to the quite). Would someone point me in the right direction so I can be more confident I'm not breaking things? -j ___ gnucash-devel mailing list g

Re: Stabilizing 2.4.0

2010-03-07 Thread Jeff Kletsky
For me, at least, not having eguile reports and a CSS-compatible renderer are show-stoppers. I've seen that the vast majority of time in reporting is due to the current HTML-render. 20-30 seconds to render a budget report just isn't acceptable for us. Between that and that it strips out CSS so

Re: PATCH: Tweak to gnc-svnversion's bzr section

2010-03-04 Thread Jeff Kletsky
On 3/4/2010 1:21 AM, Jesse Weinstein wrote: The bzr handling code I added to gnc-svnversion turns out to fail when the top revision isn't an imported svn version; this patch fixes this, causing the revision returned to be the bzr revno. I noticed that the About box describes the output of gnc-s

Re: astyle options [Was: Scaheme formatting with astyle]

2010-03-03 Thread Jeff Kletsky
On 3/3/2010 7:06 AM, Derek Atkins wrote: Christian Stimming writes: I wonder if there's some way we could get the subversion server to make white space indentation changes when changesets are committed? Then we'd have a single place where all white space is controlled (namely, on the server).

Patch for version string for git users

2010-03-02 Thread Jeff Kletsky
If you're a git user, the splash screen and about screen include the full hash of the commit object. It's a little unwieldy. This patch (also on the bug) changes 1a2528c8ca1d43e8e9e21b0661f844d2b496f47d to either (the git-standard short hash) 1a2528c or 1a2528c+ depending on if you have uncommitt

Coupling of preferences internal references and UI rendering

2010-02-26 Thread Jeff Kletsky
When I look at the code for setting preferences, such as in src/business/business-utils/business-prefs.scm it appears to me that there is a "hard link" between the access to the preference and the UI rendering (define (book-options-generator options) (define (reg-option new-option) (gnc:r

Scheme formatting with astyle [Was: SQL backend performance]

2010-02-24 Thread Jeff Kletsky
On 2/24/2010 11:50 AM, Christian Stimming wrote: As for the patch and indentation: Indeed we discussed and agreed on some common indentation last summer, and we agreed on using the tool astyle to reformat the code as decided. See http://lists.gnucash.org/pipermail/gnucash-devel/2009-August/026121

GNUCash compiled against Guile 1.9.x for Guile profiler?

2010-02-24 Thread Jeff Kletsky
Guile 1.9.x appears to have a "real" profiler, if I can ever get it to build on Ubuntu Karmic. Not unsurprisingly, I wasn't successful in my admittedly brief efforts in getting the profiler to run with Guile 1.6. I had searched the archives about Guile 1.9 or 2.0 and found very little beyond s

Re: Budgets and inconsistent handling of account sign reversal.

2010-02-23 Thread Jeff Kletsky
On 2/23/2010 12:44 PM, Christian Stimming wrote: [...] You can always add kvp_frame entries at some of gnucash's top-level objects, like the Book, Account, Transaction, or Split. See e.g. the Notes field of an Account in xaccAccountSetNotes / xaccAccountGetNotes in engine/Account.c. The kvp data

Re: More files for .gitignore?

2010-02-23 Thread Jeff Kletsky
On 2/23/2010 12:29 PM, Christian Stimming wrote: Am Dienstag, 23. Februar 2010 schrieb Jeff Kletsky: Any good reason not to add these to .gitignore? No good reason. Thanks for sending the patch (though I've added them in the alphanumeric sorting order). I think many developers

PATCH: More files for .gitignore?

2010-02-23 Thread Jeff Kletsky
/gnucash-gdb +src/bin/gnucash-setup-env +src/libqof/backend/file/qsf-dir.h +src/libqof/qof/qofla-dir.h Files all confirmed to have ".in" versions and not to exist on trunk. Jeff Kletsky wrote: Any good reason not to add these to .gitignore? # Untracked files: # (use "git add ...

Re: More files for .gitignore?

2010-02-22 Thread Jeff Kletsky
Any good reason not to add these to .gitignore? # Untracked files: # (use "git add ..." to include in what will be committed) # #src/bin/gnucash-ddd #src/bin/gnucash-gdb #src/bin/gnucash-setup-env #src/libqof/backend/file/qsf-dir.h #src/libqof/qof/qofla-dir.h ___

Re: Budgets and inconsistent handling of account sign reversal.

2010-02-22 Thread Jeff Kletsky
On 2/22/2010 1:16 PM, Derek Atkins wrote: Geert Janssens writes: Note that schema updates don't depend on string freeze. HOWEVER you need to consider forwards and backwards compatibility issues. For example, we want files written by 2.4.x to be readable by e.g. 2.2.9. I agree with that, and

Re: Budgets and inconsistent handling of account sign reversal.

2010-02-22 Thread Jeff Kletsky
On 2/22/2010 8:16 AM, Derek Atkins wrote: GnuCash does not handle data format schema updates well. :-( f... Should I be scrambling to get in a place to properly store the default budget, probably on the book, even though we're past string freeze, so that there aren't data model chan

Budgets and inconsistent handling of account sign reversal.

2010-02-22 Thread Jeff Kletsky
Good news? A budget report using eguile runs in a couple seconds, instead of nearly 20 using the HTML-renderer classes. Bad news? Looks like budgets, as they exist today, are apparently unaware of the sign-ed-ness of accounts and "ignore" the sign-reversed options (None, Income & Expense, o

Re: Report Engine Speed

2010-02-19 Thread Jeff Kletsky
On 2/19/2010 12:06 PM, Christian Stimming wrote: [...] what I can recall is this: All the "number collecting calculations" in all of the reports are horribly inefficient, or more academic: coded in the wrong level of abstraction. That is, the calculation of the balance difference between start a

Re: Report Engine Speed

2010-02-19 Thread Jeff Kletsky
Always good to know what has gone before and that I'm biting off a "challenging" problem. I'll probably start with a liberal set debug statements with gettimeofday to see if I can tell if it's in the collection of the data, or the rendering of the data into HTML once all collected. Including

Report Engine Speed

2010-02-19 Thread Jeff Kletsky
While we like the professional features found in GNUCash as an accounting system, we're at wits end with the reporting system. Moving to a modern HTML rendering engine is great step in the right direction. However, even in 2.3.10, the time to build a simple budget report off two-months' of per

Re: Report Engine Speed

2010-02-19 Thread Jeff Kletsky
Re-reading, I wanted to make sure that it was understood that my intent is to try to fix some of this in a hopefully generally useful way as I work through the reports and output I need... Jeff ___ gnucash-devel mailing list gnucash-devel@gnucash.org

Re: Please back out r18428 - editable 2nd date field

2010-02-13 Thread Jeff Kletsky
I have to strongly second this request. In my opinion, this is a "half-complete" feature. At a minimum, until there is a preference setting available, in my opinion, this should not be part of the trunk. Arguably, until sorting and searching is also available on the new field, similar to the

Re: Close books trashes Income Statement and Net Income on Balance Sheet

2010-02-07 Thread Jeff Kletsky
This one has tripped me up as well. In the business world, there often is either January 1st which is a non-business day to put the transactions on. The "fake day" is also another option. There are implications past just the ones indicated in an earlier post -- most accounts are impacted, as a