:
...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
Fordingb
Is there any way that a report (i.e. Guile code) can find out whether
Webkit or GtkHTML is in use? If there is, the report could adjust
itself accordingly, relying on CSS if available, and doing its best
without CSS if not.
cheers
Chris
--
Chris Dennis cgden
heers
Chris
Phil
___
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
nicely is tricky...
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
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 is that the report
syst
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 webk
quity-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.
___
gnucash-pa
ate (in-vicinity
(in-vicinity home userdir) fname)))
(if (access? home-template R_OK)
home-template
(or (%search-load-path (in-vicinity sysdir fname))
fname)
cheers
Chris
--
Chris Dennis cgden...@btinternet.com
Fordi
pment / sharing / 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
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. eg
Hello folks
Source code syntax highlighting doesn't seem to work on the GnuCash
wiki.
Can the SyntaxHighlight_GeSHi extension be added / enabled?
cheers
Chris
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman
Phil Longstaff wrote:
On June 21, 2009 05:32:03 pm Chris Dennis wrote:
That's correct. It defines itself as
(define-module (gnucash report eguile-gnc))
so it should go in the src/report/report-system/gnucash/report directory
(unless someone thinks otherwise).
Submitted as r18150
Derek Atkins wrote:
Chris Dennis 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-processing a list of acc
s" and "small" or "10pt"), and
then Webkit will use that.
cheers
Chris
--
Chris Dennis cgden...@btinternet.com
Fordingbridge, Hampshire, UK
___
gnucash-devel mailing list
gnucash-devel@gnucash
x invoice can go into 2.4 even if only as an example of what can
be done with webkit and eguile.
cheers
Chris
Phil
________ From: Chris Dennis
To: Phil Longstaff
Sent: Tuesday, June 30, 2009 3:09:31 PM Subject: Re: Invoices
Phil Longstaff wrote:
Chris,
what d
name. 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, Ham
eased GnuCash packages.
I see 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
___
Derek Atkins wrote:
Chris Dennis 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 GnuCash package
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")
&
or #3 (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 custom
_
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-
ld start
to see 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/mail
ebkit 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
l, I can't 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&
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
>>> combin
Derek Atkins wrote:
Quoting Chris Dennis :
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 easier.
-derek
Yes
modules'? What about 'load-from-path'?
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
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
For
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-devel
ect myself, but
I'd be happy to help people get started.
cheers
Chris
--
Chris Dennis cgden...@btinternet.com
Fordingbridge, Hampshire, UK
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnuc
[gnc-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-
Geert Janssens wrote:
On Friday 9 April 2010, Chris Dennis wrote:
I've just tried to build the latest trunk (19006) on Ubuntu 8.10, and
got this message:
cc1: warnings being treated as errors
gnc-html-webkit.c: In function ‘impl_webkit_show_data’:
gnc-html-webkit.c:702: error: imp
ember exactly how those macros work.
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
(user-vicinity) ".gnucash")
/usr/local/gnucash-svn-feb10/share/gnucash/guile-modules/gnucash/report/eguile-utilities.scm:85:19:
In expression (sub-vicinity (user-vicinity) ".gnucash"):
/usr/local/gnucash-svn-feb10/share/gnucash/guile-modules/gnucash/report/eguile-utilities.sc
utput.
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
roblem for me too.
I am 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?
che
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 g
Derek Atkins wrote:
> Quoting Chris Dennis :
>
>> 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)?
>> Th
ote something similar many years ago (in Turbo Pascal, and creating
LaTeX code), but I 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 De
Josh Sled wrote:
> Chris Dennis 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
>&
Derek Atkins wrote:
> Chris Dennis 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 expl
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
--
ERROR: Bad define placement
--
I found a mention of this issue at
http://www.opensubscriber.com/message/guile-u...@gnu.org/9617568.html
but I'm not sure whether to give up on local-eval, or just make a rule
that the template code can't include 'define', which wo
ailable to Guile via
Swig. It's available in the main 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-ht
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 a
Andrew Sackville-West wrote:
> On Sun, Feb 01, 2009 at 12:23:14PM +0000, Chris Dennis wrote:
>> Chris Dennis wrote:
>>> Hello folks
>>>
>>> My project bring HTML templates to GnuCash reports is making good progress.
>>>
>>> But I've stu
to date with gnucash releases.
>
> Thanks again,
>
> James
> ___
> gnucash-devel mailing list
> gnucash-devel@gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
--
Chris Dennis cgden...@btinternet.com
Fordingbridge, Hamp
t.scm (that name is hard-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
_
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...@btinternet.com
Fordingb
Derek Atkins wrote:
> Hi,
>
> Chris Dennis 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 po
Derek Atkins wrote:
> Chris Dennis 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 *gncTaxTableGetEntrie
s it my email system that's failing, or the
list's?
cheers
Chris
--
Chris Dennis cgden...@btinternet.com
Fordingbridge, Hampshire, UK
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://list
Derek Atkins wrote:
Hi,
Chris Dennis writes:
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 eguile-based
Christian Stimming wrote:
> Zitat von Chris Dennis :
>> 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 faili
Derek Atkins wrote:
> Chris Dennis 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 syst
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 prob
ucash 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
f manual adjustment to file paths.
cheers
Chris
[1]
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
Andrew Sackville-West wrote:
> On Mon, Mar 09, 2009 at 09:34:16AM +0000, 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 g
sheet)
+(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
Fordingb
cument and back again.
cheers
Chris
Phil
----
*From:* Chris Dennis
*To:* Phil Longstaff
*Cc:* Gnucash list
*Sent:* Monday, March 30, 2009 3:00:16 AM
*Subject:* Re: Webkit status (updated)
Phil Longstaff wrote:
> So, at this point, with libwebki
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
header file to generate wrappers */
-%include "gnc-html-extras.h"
+%include "../html/gnc-html-extras.h"
GNCOptionWin * gnc_options_dialog_new(gchar *title);
8< ----
--
Chris Dennis cgden.
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 cr
64 matches
Mail list logo