Re: Eguile reports and css

2010-11-30 Thread Chris Dennis
. Any advise. Fedora12 with GnuCash from SVN. Mike I've now filed this as bug 636118 CSS stylesheets only work if Gnucash is compiled with the '--with-html-engine=webkit' option, and I don't think that's the default. cheers Chris -- Chris Dennis cgden

Re: Bug 616697 - string Payment rec'd... should be more cleared. (in taxinvoice.scm)

2010-05-28 Thread Chris Dennis
. Frank cheers Chris -- Chris Dennis cgden...@btinternet.com Fordingbridge, Hampshire, UK ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

error: implicit declaration of function ‘webkit_w eb_view_load_uri’

2010-04-09 Thread Chris Dennis
-html-webkit.lo] Error 1 Is this a known problem? Would upgrading Ubuntu to 9.10 help? cheers Chris -- Chris Dennis cgden...@btinternet.com Fordingbridge, Hampshire, UK ___ gnucash-devel mailing list gnucash-devel

Re: Common code indentation (follow-up to 2007 discussion)

2009-08-14 Thread Chris Dennis
is in the eye of the beholder. :) Chris -- Chris Dennis cgden...@btinternet.com Fordingbridge, Hampshire, UK ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash

Tax Invoice

2009-07-30 Thread Chris Dennis
Hello folks I've created a patch to add the eguile-based Tax Invoice report to SVN -- see bug http://bugzilla.gnome.org/show_bug.cgi?id=590332 Hopefully I've included all the right bits. cheers Chris -- Chris Dennis cgden...@btinternet.com Fordingbridge

use-modules, gnc:module-load etc.

2009-07-28 Thread Chris Dennis
'? Is there a quick way of determining what I need to use gnc-numeric-to-double (which is just a Swig-wrapped C routine). cheers Chris -- Chris Dennis cgden...@btinternet.com Fordingbridge, Hampshire, UK ___ gnucash-devel mailing

Re: eguile reports again

2009-07-27 Thread Chris Dennis
Derek Atkins wrote: Quoting Chris Dennis cgden...@btinternet.com: Might it make sense to add some of these pre-processing procedures that you expect to be shared into a shared file, like the report utilities? Reusable, shared code is a good thing.. Especially if it makes writing new reports

Re: CSS in reports

2009-07-23 Thread Chris Dennis
Phil Longstaff wrote: On July 12, 2009 07:02:18 am Chris Dennis wrote: Phil Longstaff wrote: You're right that any styling can be used. What I will probably do is have 2 options pages, one for styling and one for fonts, and then combine the results. For fonts, there is a font option type

Re: Modify Invoice Templates

2009-07-22 Thread Chris Dennis
replacement for gtkhtml as the report display engine 2) work by Chris Dennis to define an html/css template for an invoice that includes embedded SCM code to insert the data. Since I'm the 2.3.X/2.4 release engineer, I've worked with him a bit to get it included in the release so that people can try

Re: Modify Invoice Templates

2009-07-22 Thread Chris Dennis
remember), an unstable version that will be released tomorrow or Thursday, contains 1) webkit replacement for gtkhtml as the report display engine 2) work by Chris Dennis to define an html/css template for an invoice that includes embedded SCM code to insert the data. Since I'm the 2.3.X/2.4

Re: CSS in reports

2009-07-12 Thread Chris Dennis
the possibilities. Quite right. Phil cheers Chris -- Chris Dennis cgden...@btinternet.com Fordingbridge, Hampshire, UK ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash

Re: CSS in reports

2009-07-11 Thread Chris Dennis
://lists.gnucash.org/mailman/listinfo/gnucash-devel -- Chris Dennis cgden...@btinternet.com Fordingbridge, Hampshire, UK ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo

Re: Requirements for 2.4.0

2009-07-08 Thread Chris Dennis
(eguile): * I'd like to see Chris Dennis' new invoice/template replace the current invoice. I think this would give users better ability to modify the invoice format. Note that there is a bug (can't find it right now) complaining that a new installation overwrites invoice customization, so if a way

Re: Problem with eguile balance sheet

2009-07-01 Thread Chris Dennis
that the wiki doesn't allow files to be uploaded. Can that be changed? Or is there somewhere better to put these files? cheers Chris -- Chris Dennis cgden...@btinternet.com Fordingbridge, Hampshire, UK ___ gnucash-devel

Re: Problem with eguile balance sheet

2009-07-01 Thread Chris Dennis
Derek Atkins wrote: Chris Dennis cgden...@btinternet.com writes: BTW, is there somewhere better than the bug report for storing these report files? Hopefully we'll collect a whole range of reports and templates that users have developed, not all of which should necessarily be in the released

Re: Problem with eguile balance sheet

2009-07-01 Thread Chris Dennis
Phil Longstaff wrote: On July 1, 2009 05:20:50 am Chris Dennis wrote: Phil Longstaff wrote: ... I changed notespage to notes-page in 2 places. Now I get: ... 133: 25* (sub-vicinity (user-vicinity) .gnucash) /opt/gnucash2-svn/share/gnucash/guile-modules/gnucash/report

Re: Invoices

2009-06-30 Thread Chris Dennis
), and then Webkit will use that. cheers Chris -- Chris Dennis cgden...@btinternet.com Fordingbridge, Hampshire, UK ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: Fonts (was Re: Invoices)

2009-06-30 Thread Chris Dennis
if only as an example of what can be done with webkit and eguile. cheers Chris Phil From: Chris Dennis cgden...@btinternet.com To: Phil Longstaff plongst...@rogers.com Sent: Tuesday, June 30, 2009 3:09:31 PM Subject: Re: Invoices Phil Longstaff wrote

Re: Problem with eguile balance sheet

2009-06-30 Thread Chris Dennis
. Anyway, I've attached a new version of balsheet-eg.scm to the bug report at http://bugzilla.gnome.org/show_bug.cgi?id=574582 Please give that a go. cheers Chris -- Chris Dennis cgden...@btinternet.com Fordingbridge, Hampshire, UK

Re: eguile reports again

2009-06-22 Thread Chris Dennis
Derek Atkins wrote: Chris Dennis cgden...@btinternet.com writes: Secondly, I've created an eguile version of a balance sheet report. The layout is more to my taste than the standard one (I realise that there are many ways to lay out a balance sheet.) The report includes a way of pre

Re: eguile reports again

2009-06-21 Thread Chris Dennis
On Fri, 2009-06-19 at 20:23 -0400, Phil Longstaff wrote: On June 19, 2009 06:53:46 pm Chris Dennis wrote: Hello folks Firstly, I've added a new version of eguile-gnc.scm itself to bug 574582. The only change is improved error reporting. eguile-gnc has been stable and reliable for me

eguile reports again

2009-06-19 Thread Chris Dennis
/ documentation of eguile reports? Should that be part of the existing 'Custom Reports' page, or somewhere else? cheers Chris -- Chris Dennis cgden...@btinternet.com Fordingbridge, Hampshire, UK ___ gnucash-devel mailing

Re: Dynamically adding reports

2009-06-14 Thread Chris Dennis
R_OK) home-template (or (%search-load-path (in-vicinity sysdir fname)) fname) cheers Chris -- Chris Dennis cgden...@btinternet.com Fordingbridge, Hampshire, UK ___ gnucash-devel mailing

Re: r18103 - gnucash/trunk/src - Fix bug #584819: Company name is not shown by default on some reports. Patch by Chris Dennis.

2009-06-05 Thread Chris Dennis
-reports/equity-statement.scm gnucash/trunk/src/report/standard-reports/income-statement.scm gnucash/trunk/src/report/standard-reports/trial-balance.scm Log: Fix bug #584819: Company name is not shown by default on some reports. Patch by Chris Dennis

Re: eguile-based reports -- progress

2009-06-01 Thread Chris Dennis
to define all the HTML, not just the body. I'll have a look into what would be required to implement this, unless someone has done so already. cheers Chris On May 26, 2009 08:57:05 pm Chris Dennis wrote: Hello folks I have put an new improved version of the 'Tax Invoice' eguile-based

Re: eguile-based reports -- progress

2009-06-01 Thread Chris Dennis
Chris Dennis wrote: Phil Longstaff wrote: The result invoice looks *really* nice :) 2.3.0 has the webkit branch merged in. I think there are no issues on linux and macosx, but am not sure about windows yet. Phil Thanks for that Phil. One issue I've found with using eguile and webkit

eguile-based reports -- progress

2009-05-26 Thread Chris Dennis
-- Chris Dennis cgden...@btinternet.com Fordingbridge, Hampshire, UK ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Re: Reports

2009-05-05 Thread Chris Dennis
___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel -- Chris Dennis cgden...@btinternet.com Fordingbridge, Hampshire, UK ___ gnucash-devel mailing list gnucash

Re: Easier reports with eguile-gnc

2009-04-06 Thread Chris Dennis
: ...and if the intervening gnc-document step could be removed, ... I've got a very simple patch for this, which allows a report to return HTML as a string, rather than returning a gnc-document. cheers Chris -- Chris Dennis cgden...@btinternet.com Fordingbridge

Re: Easier reports with eguile-gnc

2009-04-04 Thread Chris Dennis
Andrew Sackville-West wrote: On Mon, Mar 23, 2009 at 09:14:00AM +, Chris Dennis wrote: Andrew Sackville-West wrote: On Mon, Mar 09, 2009 at 09:34:16AM +, Chris Dennis wrote: My previous posting on this topic[1] got no response, but I've now completed work on this project, and created

Re: Webkit status (updated)

2009-03-31 Thread Chris Dennis
Phil Longstaff wrote: On March 31, 2009 05:14:31 am Chris Dennis wrote: Hello Phil Phil Longstaff wrote: Hi Chris, as an alternative to webkit, I was also looking at whether gecko would be a better engine. It looks about the same as webkit as far as maturity is concerned

Re: Webkit status (updated)

2009-03-31 Thread Chris Dennis
*/ -%include gnc-html-extras.h +%include ../html/gnc-html-extras.h GNCOptionWin * gnc_options_dialog_new(gchar *title); 8 -- Chris Dennis cgden...@btinternet.com Fordingbridge, Hampshire, UK

Re: Webkit status (updated)

2009-03-30 Thread Chris Dennis
) +(set! html (gnc:html-document-render doc headers? (gnc:report-set-ctext! report html) ;; cache the html (gnc:report-set-dirty?! report #f) ;; mark it clean html) cheers Chris -- Chris Dennis cgden...@btinternet.com Fordingbridge

Re: Webkit status (updated)

2009-03-30 Thread Chris Dennis
*From:* Chris Dennis cgden...@btinternet.com *To:* Phil Longstaff plongst...@rogers.com *Cc:* Gnucash list gnucash-de...@lists.gnucash.org *Sent:* Monday, March 30, 2009 3:00:16 AM *Subject:* Re: Webkit status (updated) Phil Longstaff wrote: So

Re: Easier reports with eguile-gnc

2009-03-23 Thread Chris Dennis
Andrew Sackville-West wrote: On Mon, Mar 09, 2009 at 09:34:16AM +, Chris Dennis wrote: My previous posting on this topic[1] got no response, but I've now completed work on this project, and created an enhancement bug on Bugzilla[2]. I might get some time to play with this a little

Easier reports with eguile-gnc

2009-03-09 Thread Chris Dennis
] https://lists.gnucash.org/pipermail/gnucash-devel/2009-February/024775.html [2] http://bugzilla.gnome.org/show_bug.cgi?id=574582 [3] http://woozle.org/~neale/src/eguile/ -- Chris Dennis cgden...@btinternet.com Fordingbridge, Hampshire, UK

Re: Problems with gncTaxTableGetEntries in Guile

2009-03-01 Thread Chris Dennis
report for demonstrating the problem, and the patch for fixing it. cheers Chris -- Chris Dennis cgden...@btinternet.com Fordingbridge, Hampshire, UK ___ gnucash-devel mailing list gnucash-devel@gnucash.org https

Re: mailing list delay

2009-02-26 Thread Chris Dennis
Derek Atkins wrote: Chris Dennis cgden...@btinternet.com writes: There seems to be a delay of several hours between me sending messages and them showing up on the list. Is this caused by moderation, or just slow servers? Neither. It's caused by your system taking 5 hours to get

Re: mailing list delay

2009-02-26 Thread Chris Dennis
Chris Dennis wrote: OK, thanks for that. I'm posting this via a different SMTP server to see if that helps. Yes, that's much faster. Apologies for clogging up the list with this stuff. Thank you to Andreas and Derek for their comments about the TaxTable / Swig problem. I had in fact

Re: Problems with gncTaxTableGetEntries in Guile

2009-02-25 Thread Chris Dennis
Derek Atkins wrote: Hi, Chris Dennis cgden...@btinternet.com writes: snip By trial and error, I seem to have worked out how to fix this. I'll post a patch when I've tested it a bit more. Attached is a small patch which corrects the Swig wrapping for gncTaxTableGetEntries, and allows my

mailing list delay

2009-02-25 Thread Chris Dennis
Christian Stimming wrote: Zitat von Chris Dennis cgden...@btinternet.com: BTW, my posts to gnucash-devel@gnucash.org don't seem to be getting through, only the CC's to Derek (I know because he replied). It was OK a few days ago. Is it my email system that's failing, or the list's? I

Re: Problems with gncTaxTableGetEntries in Guile

2009-02-24 Thread Chris Dennis
Derek Atkins wrote: Hi, Chris Dennis cgden...@btinternet.com writes: Hello folks I'm having trouble using gncTaxTableGetEntries in a report. I can get the tax table associated with an invoice entry using gncEntryGetInvTaxTable, giving a pointer that displays as #swig-pointer

Re: Problems with gncTaxTableGetEntries in Guile

2009-02-24 Thread Chris Dennis
Derek Atkins wrote: Chris Dennis cgden...@btinternet.com writes: I've grep'ed fairly thoroughly through the source, and I can't find anything obviously wrong. business-core.i includes gncTaxTable.h, which has the line GList *gncTaxTableGetEntries (const GncTaxTable *table); We might

Problems with gncTaxTableGetEntries in Guile

2009-02-23 Thread Chris Dennis
get these error details: wrong-type-arg / car / Wrong type argument in position 1 I'm using updated SVN trunk (r17944) on Linux (Ubuntu Intrepid), with Guile 1.6. Has anyone else tried access tax tables from Guile? cheers Chris -- Chris Dennis cgden

Re: Thank you

2009-02-05 Thread Chris Dennis
mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel -- Chris Dennis cgden...@btinternet.com Fordingbridge, Hampshire, UK ___ gnucash-devel mailing list gnucash-devel

Templated reports with eguile2

2009-02-05 Thread Chris Dennis
-coded and is also Linux-specific). The file is useful for debugging the template. Please give it a try and let me know what you think. cheers Chris -- Chris Dennis cgden...@btinternet.com Fordingbridge, Hampshire, UK

Re: Eguile report templates -- another hurdle

2009-02-01 Thread Chris Dennis
Chris Dennis wrote: Hello folks My project bring HTML templates to GnuCash reports is making good progress. But I've stumbled on another problem which requires expert knowledge of GnuCash and/org Swig and/or Guile. My evaluated report code can access some Gnucash procedures

Re: Eguile report templates -- another hurdle - SOLVED!

2009-02-01 Thread Chris Dennis
Andrew Sackville-West wrote: On Sun, Feb 01, 2009 at 12:23:14PM +, Chris Dennis wrote: Chris Dennis wrote: Hello folks My project bring HTML templates to GnuCash reports is making good progress. But I've stumbled on another problem which requires expert knowledge of GnuCash and/org

Eguile report templates -- another hurdle

2009-01-30 Thread Chris Dennis
part of report, but not in the template code that is evaluated using local-eval and (the-environment). Is there a reason why C routines such as gncInvoiceGetBook would be unavailable in an environment where the likes of gnc:make-html-text work as usual? cheers Chris -- Chris Dennis

Re: GnuCash reports via eguile - probably not

2009-01-26 Thread Chris Dennis
can't include 'define', which would be a bit limiting. Any ideas? cheers Chris -- Chris Dennis cgden...@btinternet.com Fordingbridge, Hampshire, UK ___ gnucash-devel mailing list gnucash-devel@gnucash.org https

Re: GnuCash reports via eguile - probably not

2009-01-21 Thread Chris Dennis
Josh Sled wrote: Chris Dennis cgden...@btinternet.com writes: Thinking it through, even if it were possible to pass parameters to the template code, we'd be opening a huge security risk. We'd be encouraging Joe User to create a template containing code that has full access to the workings

Re: GnuCash reports via eguile - probably not

2009-01-21 Thread Chris Dennis
Derek Atkins wrote: Chris Dennis cgden...@btinternet.com writes: I'd encourage you to not add another layer of formatting or translation. Just have the template iterate over objects, call accessors and format data for rendering. Can you explain exactly what you mean by that last sentence

Re: GnuCash reports via eguile - probably not

2009-01-21 Thread Chris Dennis
snip Thanks to Derek, Arthur, and Josh for their replies. I can try to make some progess now (when time permits...) cheers Chris -- Chris Dennis cgden...@btinternet.com Fordingbridge, Hampshire, UK ___ gnucash-devel

GnuCash reports via eguile - probably not

2009-01-20 Thread Chris Dennis
don't really want to reinvent that wheel. Does anyone know of a suitable Guile/Scheme module for doing this sort of thing? cheers Chris [1] http://woozle.org/~neale/src/eguile/ -- Chris Dennis cgden...@btinternet.com Fordingbridge, Hampshire, UK

Re: Request for some Enhancements of Gnucash

2009-01-04 Thread Chris Dennis
Derek Atkins wrote: Quoting Chris Dennis cgden...@btinternet.com: Alternatively, given that GnuCash has so much Scheme code in it, would it be a better solution to create a chunk of Scheme that processes report templates written in some form of pseudo-HTML (for example)? Then report

Re: Request for some Enhancements of Gnucash

2009-01-02 Thread Chris Dennis
Christian Stimming wrote: Am Montag, 29. Dezember 2008 10:10 schrieb Chris Dennis: 5. GIVE THE ABILITY TO EASY CREATE AND IMPORT REPORTS - Without knowledge of scheme programming: create the report in another format (XML ?), translated in scheme by gnucash. Is it possible ? I hate parenthesis

Re: Request for some Enhancements of Gnucash

2008-12-29 Thread Chris Dennis
now in a position to put some work into improving it, but before I do, I'd like to know if anyone else is working on this area, and whether there's a road-map or any sort of strategy in place already. And is there any documentation on the API? cheers Chris -- Chris Dennis