audit the math usage,
tweak the scrub routines to get rid of the no-root error message
(some debugging printfs remain, which I'll remove later)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10117 57a11ea4-9604-0410-9ed3-97b8803252fd
-- make subtract a special case of add (instead of copying code)
-- improve overflow characteristics of divide
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10101 57a11ea4-9604-0410-9ed3-97b8803252fd
-- try to avoid certain types of denominator overflows in addition
-- start implemented an add128 routine (not done)
-- white-space changes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10100 57a11ea4-9604-0410-9ed3-97b8803252fd
(could cause overflow during certain pricing calculations)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10098 57a11ea4-9604-0410-9ed3-97b8803252fd
fix a cuple of places that should have used it.
Fix a hole in the division algo
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10097 57a11ea4-9604-0410-9ed3-97b8803252fd
an overflow condition in the function being tested that needs to be fixed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10096 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnc-module/gnc-module.scm: create (and export) a re-export macro
is guile doesn't already provide one. Then re-export the symbols
instead of exporting them. Fixes some deprecated guile warnings.
* src/guile-mappings.h: convert scm_gc_{un,}protect_object() back
to its pre-1.6 type for earlier guiles, but upconvert to the new
type to fix a deprecated warning. Note that g-wrap is still
outputting deprecated code.
* lots of other files:
convert scm_{un,}protect_object -> scm_gc_{un,}protect_object because
the former is now deprecated in guile. Fixes a bunch of
GUILE_WARN_DEPRECATED warnings (but probably not all of them).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10094 57a11ea4-9604-0410-9ed3-97b8803252fd
-- without it, the division tests fail
Also, cut out duplicated test code
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10093 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/engine/gnc-numeric.c: small change to the 128-bit math
routines to actually mark a 'carry bit' to denote numbers
>= 2^63 to fix bug #144980.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10080 57a11ea4-9604-0410-9ed3-97b8803252fd
* Makefile.am: be sure to rebuild make-gnucash-patch and
make-gnucash-potfiles when the Makefile changes (which means the
PERL paths might have changed).
* src/scm/paths.scm: change the default config file to 1.9, so we
don't screw up users of 1.8.
* src/report/report-system/html-acct-table.scm:
Added file implementing gnc:html-acct-table utility
object for easier creation of HTML reports.
* src/report/standard-reports/balance-sheet.scm:
Updated to use the new gnc:html-acct-table object.
Added many new options, including report/account
form option.
* src/report/standard-reports/equity-statement.scm:
Created Statement of Owner's Equity.
(Unsure if correct exchange-fn's are being used.)
* src/report/report-system/commodity-utilities.scm:
* src/report/report-system/html-table.scm:
* src/report/report-system/html-utilities.scm:
* src/report/report-system/report-system.scm:
* src/report/report-system/report-utilities.scm:
miscellaneous small additions and/or fixes
Fixes#144243.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10078 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-18 Christian Stimming <stimming@tuhh.de>
* src/scm/main-window.scm, src/scm/main.scm: Added example Menu
item "File -> Save all reports" that will call the new report
saving function for all reports. Reports are appended to
~/.gnucash/saved-reports-1.8 . This would need more work so that
not all reports are saved but only the currently selected one --
any volunteer may feel free to add that.
* src/report/report-system/report.scm, report-system.scm: Added
gnc:report-generate-saved-forms that will generate the scheme code
necessary to create a new report from the saved options of an old
report (merged from 1-8-branch).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10074 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/scm/paths.scm: create gnc:current-saved-reports, as
the file to store saved reports from cstim. Autoload the
saved-reports file at startup (after config.user/config.auto
is loaded).
* src/scm/main.scm: export gnc:current-saved-reports
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10066 57a11ea4-9604-0410-9ed3-97b8803252fd
a temp file 'gnc-filepath-utils.c' which is used by both the
file backend and by the app-file GUI routines. Some of the file-resolution
logic was oved to the file backend.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10063 57a11ea4-9604-0410-9ed3-97b8803252fd