If it turns out that some systems only have /dev/random, then
we should look into non-blocking io for this.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3609 57a11ea4-9604-0410-9ed3-97b8803252fd
add dialogs to create a new database, if it didn't exist before
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3594 57a11ea4-9604-0410-9ed3-97b8803252fd
with this patch; multi-user mode is still highly experimental.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3591 57a11ea4-9604-0410-9ed3-97b8803252fd
This simplifiesthe logic a good bit, and the code should be more
readable as a result. It also allows backends to report errors on up
to the GUI. (which is what this is really about).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3588 57a11ea4-9604-0410-9ed3-97b8803252fd
Just using the argument isn't enough -- see src/engine/sql/README.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3573 57a11ea4-9604-0410-9ed3-97b8803252fd
* 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