* src/gnome/gnc-html-history.{h,c}: add destroy callback. part of
report memory management cleanup
* src/gnome/window-report.c: set report dirty flag when options
apply or reload is clicked. Store report object in window
struct while it's visible.
* src/scm/qif-import/qif-file.scm: expand detection of opening
balance transactions.
* src/scm/qif-import/qif-parse.scm: fix regexp bug in miscincx and
miscexpx category parsing (thanks carol!)
* src/scm/qif-import/qif-to-gnc.scm: use correct amount for
non-stock investment transactions (dividends etc). Use fuzzy
equality predicate for inexact numbers.
* src/scm/report.scm: Add dirty flag and 'children' (other reports
created by this report... nobody uses it yet) to report struct.
Add function to clean up report when it's erased from the window
history. Add some debugging timing bits to the report-run
function. Display cached HTML if not dirty.
* src/scm/report.scm: WARNING! Change prototype of report
rendering functions... they take a <report> object as argument
instead of an options object. This is necessary for memory
management stuff when reports create other reports.
* src/scm/report/account-summary.scm: fix to use new renderer
signature
* src/scm/report/average-balance.scm: fix to use new renderer
signature
* src/scm/report/hello-world.scm: fix to use new renderer
signature
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3571 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/scm/report/stylesheet-{plain,fancy}.scm: add a new boolean
option to disable hyperlinks in reports. This will make it nicer
to have a "printing" style sheet that disables links when you want
to print. (if you change a report's style sheet, click "Reload"
to see it take effect. this needs to be fixed)
* src/gnome/gnc-html-embedded.c: add support for URLsa attached to
double clicks of pie slices, bar chart bars, and legend entries of
guppi graphs. Still need to do this for scatter chart.
* src/scm/html-{piechart,barchart}.scm: add API for callbacks.
Not totally finished with barchart yet.
* src/scm/qif-import/qif-to-gnc.scm: check for currency and type
mismatches between QIF-imported and existing GNC accounts. If
there's a name conflict, rename the new account with a unique name
and a description indicating there was a conflict. This should
fix several reports of crashes for multi-currency users.
* src/scm/report-utilities.scm: back out my previous breakage of
gnc:amount->string
* src/scm/report.scm: Thanks to the guile mailing list for
pointing my at this odd bit of code needed to print backtraces on
guile exceptions while still running. You need to run with
--debug to get the trace.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3559 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnome/gnc-gpg.{c,h}: if Linas can add useless prototype
code, so can I :) Gnucash now supports display of GPG-encrypted
HTML pages via another special <object> block.
* src/gnome/gnc-html.c: Add support for GPG stuff. Fix error
reporting to display errors from GHTTP if available.
* src/gnome/window-help.c: Add an Open button to open an arbitrary
URL. The network IS the computer!
* src/scm/html-document.scm: Change interface to additional
attributes on html-document-markup-start.
* src/scm/html-table.scm: Fix rendering of <html-table-cell> to do
rowspan/colspan correctly. Add new constructors to build <th>
<html-table-cells> in addition to <td>
* src/scm/report-utilities.scm: Rename misnamed d-gnc:foo
functions to gnc:foo. d-gnc: is only for preexisting engine
interface functions that had signature changes. there's nothing
inherently deprecated about using doubles in reports.
* src/scm/report.scm: Start trying to print backtraces on
exceptions in reports. Only partially successful at this point;
the error gets printed but the backtrace won't. Stay tuned. You
need to run with --debug to see the error information.
* src/scm/report/account-summary.scm: Modify to use new
table-cell ctors where appropriate. Set justification for
cells correctly.
* src/scm/report/average-balance.scm: Add title.
* src/scm/report/stylesheet-plain.scm: Render title in plain
stylesheet. Set default table border to 0.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3533 57a11ea4-9604-0410-9ed3-97b8803252fd
* doc/html/C/account-tree-demo.html: add a simple demo of
embedding a gnucash main window widget in HTML
* src/gnome/dialog-options.c: add a 'pixmap' option type to
the GNC options
* src/gnome-dialog-style-sheet.{c,h}: new dialog for creating
and editing HTML style sheets
* src/gnome/druid-qif-import.c: add support for false-if-exception
error handling within QIF import process
* src/gnome/gnc-html-embedded.c: add backslash escaping for
converting string arrays to and from single HTML strings
* src/gnome/gnc-html-embedded.c: error handling in creating guppi
plots, and add new embedded object type for embedding a gnucash
mainwindow-account-tree in HTML (preliminary). Add x axis
label rotation as an option to the barchart.
* src/gnome/gnc-html.c: fixes for renaming of report objects and
handling false-if-exception returns from report runs. Use async
mode for ghttp requests and add a gtk_timeout callback to check on
their status. Add a gnc_html_cancel() which gets rid of pending
ghttp requests (called by the stop buttons in help, report
windows)
* src/gnome/window-help.c: bug fixes for search results printing.
Don't expand help topics nodes on creation. Add stop and reload
buttons to the toolbar.
* src/gnome/window-report.c: Add stop and reload buttons to the
toolbar.
* src/guile/gnc-helpers.c: fix helpers for recordization of
<gnc-numeric> on Scheme side
* src/scm/engine-utilities.scm: rewrite transaction map functions
to eliminate ith-transaction calls
* src/scm/gnc-numeric.scm: make gnc-numeric into a first class
type on the scheme side (<gnc-numeric>)
* src/scm/html-*.scm (7 files): new architecture for generating
HTML within reports. See src/scm/report-html.txt for an overview.
* src/scm/options.scm: support for pixmap options
* src/scm/qif-import/: add false-if-exception error catching in
QIF import entry points.
* src/scm/report-utilities.scm: add functions to get immediate
subaccounts; rewrite get-balance-at-date.
* src/scm/report.scm: rename report objects; now the thing that
gets created by define-report is a <report-template> and the thing
that has a window and a set of parameters is a <report>. Add a
"style sheet" option automatcally to EVERY report, and a "General"
section to put it in; report with only 1 page of options should
use "General". Add false-if-exception error catching to report
run.
* src/scm/report/account-summary.scm, src/scm/report/hello-world.scm,
src/scm/report/average-balance.scm: rewrite some reports using the
new HTML generation infrastructure. Old reports won't work until
they are rewritten.
* src/scm/report/stylesheet-*.scm (2 files): create some sample
stylesheet templates.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3452 57a11ea4-9604-0410-9ed3-97b8803252fd
Create a gnc-commodity-edit widget for editing commodities and use it
in the account dialog.
A few bug fixes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3083 57a11ea4-9604-0410-9ed3-97b8803252fd
Bill Gribble's commodity and numerics code and new qif importer druid.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3065 57a11ea4-9604-0410-9ed3-97b8803252fd
SplitLedger.c: don't automatically copy the memo and action fields
to the 'other' split.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2843 57a11ea4-9604-0410-9ed3-97b8803252fd
Transaction.c from date.c. Move Timespec definition from Transaction.h
to date.h.
Use 'const char *' for date routines where appropriate.
Fix a memory leak in reconcile-list.c.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2685 57a11ea4-9604-0410-9ed3-97b8803252fd
Consolidate the gui-driving code into dialog-account.[ch].
The old implementations in dialog-edit.[ch] and dialog-add.[ch]
are obsolete.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2656 57a11ea4-9604-0410-9ed3-97b8803252fd
Clean up the code and standardize the function naming convention.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2644 57a11ea4-9604-0410-9ed3-97b8803252fd
account is a credit card account, automatically pop up a transfer
window with the appropriate amount and accounts.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2608 57a11ea4-9604-0410-9ed3-97b8803252fd
and more descriptive.
src/gnome/dialog-transfer: add the Num field and APIs for changing
some of the values
src/gnome/dialog-fincalc.c: use new function names for calculator
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2606 57a11ea4-9604-0410-9ed3-97b8803252fd
account-tree.[ch]: change 'category' to 'income_expense'
AccWindow.h: remove notes window functions, this was only a separate
window in Motif
Destroy.c: remove notes window functions
dialog-add.c: remove notes window functions
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2603 57a11ea4-9604-0410-9ed3-97b8803252fd