Re: Webkit status (updated)

2009-04-07 Thread Derek Atkins
Chris Dennis cgden...@btinternet.com writes: 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. I suppose something

Re: Webkit status (updated)

2009-04-06 Thread Phil Longstaff
list gnucash-de...@lists.gnucash.org Sent: Monday, April 6, 2009 1:09:00 PM Subject: Re: Webkit status (updated) 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

Re: Webkit status (updated)

2009-03-31 Thread Phil Longstaff
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. Anyway, modify Makefile.am

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 Phil Longstaff
: Gnucash list gnucash-de...@lists.gnucash.org Sent: Tuesday, March 31, 2009 1:46:30 PM Subject: Re: Webkit status (updated) 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

Re: Webkit status (updated)

2009-03-31 Thread Phil Longstaff
...@rogers.com To: Chris Dennis cgden...@btinternet.com Cc: Gnucash list gnucash-de...@lists.gnucash.org Sent: Tuesday, March 31, 2009 1:55:04 PM Subject: Re: Webkit status (updated) There have been some changes in how the engine is selected. Look in the source tree at src/html/gnc-html-factory.c

Re: Webkit status (updated)

2009-03-31 Thread Chris Dennis
Yes! It works, and it's wonderful. I started from scratch in an empty directory, and checked out the webkit branch again, ran autogen.sh and this: ./configure --prefix=/usr/local/gnucash-webkit --enable-webkit \ --enable-debug --enable-doxygen --enable-error-on-warning \

Re: Webkit status (updated)

2009-03-31 Thread Phil Longstaff
On March 31, 2009 05:44:20 pm Chris Dennis wrote: Yes! It works, and it's wonderful. I started from scratch in an empty directory, and checked out the webkit branch again, ran autogen.sh and this: ./configure --prefix=/usr/local/gnucash-webkit --enable-webkit \ --enable-debug

Re: Webkit status (updated)

2009-03-30 Thread Chris Dennis
Phil Longstaff wrote: So, at this point, with libwebkit-1.0-1 and libwebkit-dev installed (on kubuntu), I can replace use of gtkhtml by webkit. Excellent! Would it also be possible to include the option for a report to return a simple HTML string rather than a gnc document? My new-fangled

Re: Webkit status (updated)

2009-03-30 Thread Phil Longstaff
Subject: Re: Webkit status (updated) Phil Longstaff wrote: It turned out to be simple to look through the html string for an object tag, then remove it and pass it to an object handler. The object handlers used by gnc_html_webkit parse this string for the info put into the html string

Re: Webkit status (updated)

2009-03-30 Thread Phil Longstaff
-document gets in there. Phil 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: 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: Webkit status (updated)

2009-03-30 Thread Phil Longstaff
30, 2009 11:30:19 AM Subject: Re: Webkit status (updated) Phil Longstaff wrote: The basic flow is that in the C code, the report engine asks the html code to show a uri such as report:id=3. The html code sees the uri type report and calls the report engine back to supply it with html

Re: Webkit status (updated)

2009-03-30 Thread Christian Stimming
Sound great! I'll have a look these days. Am Samstag, 28. März 2009 23:28 schrieb Phil Longstaff: It turned out to be simple to look through the html string for an object tag, then remove it and pass it to an object handler. The object handlers used by gnc_html_webkit parse this string for

Re: Webkit status (updated)

2009-03-30 Thread Geert Janssens
On Monday 30 March 2009, Christian Stimming wrote: Sound great! I'll have a look these days. Am Samstag, 28. März 2009 23:28 schrieb Phil Longstaff: It turned out to be simple to look through the html string for an object tag, then remove it and pass it to an object handler. The object

Re: Webkit status (updated)

2009-03-30 Thread Thomas Baumgart
On Monday 30 March 2009 20:23:50 Christian Stimming wrote: Sound great! I'll have a look these days. Am Samstag, 28. März 2009 23:28 schrieb Phil Longstaff: It turned out to be simple to look through the html string for an object tag, then remove it and pass it to an object handler. The

Re: Webkit status (updated)

2009-03-30 Thread Phil Longstaff
, but that would involve C++ coding. Phil From: Christian Stimming stimm...@tuhh.de To: gnucash-devel@gnucash.org Cc: Phil Longstaff plongst...@rogers.com; Gnucash list gnucash-de...@lists.gnucash.org Sent: Monday, March 30, 2009 2:23:50 PM Subject: Re: Webkit status

Re: Webkit status (updated)

2009-03-30 Thread Phil Longstaff
: Monday, March 30, 2009 3:22:11 PM Subject: Re: Webkit status (updated) On Monday 30 March 2009 20:23:50 Christian Stimming wrote: Sound great! I'll have a look these days. Am Samstag, 28. März 2009 23:28 schrieb Phil Longstaff: It turned out to be simple to look through the html string

Webkit status (updated)

2009-03-29 Thread Phil Longstaff
It turned out to be simple to look through the html string for an object tag, then remove it and pass it to an object handler. The object handlers used by gnc_html_webkit parse this string for the info put into the html string by html-barchart.scm/html-piechart.scm/html-linechart.scm/html-