Commit Graph

7875 Commits

Author SHA1 Message Date
Derek Atkins
753a7cff62 Better "carry" flag to not overrun a signed 64-bit int (#114980).
* 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
2004-06-25 16:15:40 +00:00
Derek Atkins
e65f9814e6 Add another test for Linas to fix
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10079 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-25 00:10:03 +00:00
Derek Atkins
f6b1637e25 David Montenegro's Balance Sheet + Equity Statement patch (#144243).
* 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-24 22:11:26 +00:00
Derek Atkins
ef88252b7c Add information about using cvs to create a patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10076 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-24 14:09:51 +00:00
Christian Stimming
3bdddcdf64 Add saving of reports.
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
2004-06-21 20:25:12 +00:00
Linas Vepstas
77ca4e7afa add a foreach function to itereate over all registered classes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10071 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-20 16:03:43 +00:00
Linas Vepstas
4999b0b966 add a parameter for-each function per request from Niel Williams
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10070 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-20 15:48:39 +00:00
Linas Vepstas
9d453b6680 sync with qof sources
- add documentation/commentary


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10069 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-20 15:17:36 +00:00
Derek Atkins
2b072e23c8 Auto-load a new "saved reports" config file.
* 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
2004-06-18 16:45:10 +00:00
Linas Vepstas
2f265559ed -- add loader for the dwi backend
-- get rid of dorky, pointless subroutine call


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10065 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-14 01:05:58 +00:00
Linas Vepstas
a3a3210b27 add version param
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10064 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-13 20:47:31 +00:00
Linas Vepstas
17531066a1 Remove the file-path utilities from qofsession.c and move them into
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
2004-06-13 20:01:29 +00:00
Linas Vepstas
c69fa356d0 move the file-path utilities out of qofsession.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10058 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-13 17:23:26 +00:00
Linas Vepstas
92e983fa31 minor cleanup/restructure of how backends are located and loaded.
This infrastructure is not currently used by GnuCash.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10057 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-13 16:58:06 +00:00
Linas Vepstas
4a1e07e594 merge changes from the backend-work-1 branch.
These changes conisted of:
-- change the backend begin()/commit() signatures to take qofinstance
   instead of gpointer
-- clean up non-standard use of books by the pricedb
-- rename the gnc-be-utils.h file so that its now a part of QOF


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10056 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-13 16:48:32 +00:00
Linas Vepstas
eb3eb2a27b initial checkin of core generic object ampping routine to CVS repository
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10043 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-12 20:29:06 +00:00
Linas Vepstas
832d75d08e rename 'new' to 'create' to avoid reserved word collision with C++
add 'version_compare' function for sql backedn updates


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10042 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-12 20:27:08 +00:00
Linas Vepstas
d574e0f186 add version-comarison hooks,
rename the 'new' function to 'create' to avoid reserved-word collision in C++


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10041 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-12 20:25:47 +00:00
Linas Vepstas
15e5f4b55a whitspace fixes;
docuemtnation cleanup


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10040 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-12 20:04:04 +00:00
Linas Vepstas
f58c02e5a5 add version-compare routine
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10039 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-09 03:38:52 +00:00
Linas Vepstas
1a50cd1179 improve doco's. Bump version number, which we should have done before.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10038 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-09 02:53:30 +00:00
Linas Vepstas
37061dc3d7 whitespace, documentation tweaks
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10037 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-07 03:10:01 +00:00
Linas Vepstas
d97831dc8a tweak to attempt to minimize numeric overflows
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10036 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-07 03:05:35 +00:00
Linas Vepstas
4f6c678a34 little tweak to attempt to avoid overflow errors
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10035 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-07 03:04:21 +00:00
Linas Vepstas
4a800b684c Fix typo
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10034 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-07 03:02:26 +00:00
Linas Vepstas
f2228fadf0 patch to crash reported in comment 20,
http://bugzilla.gnome.org/show_bug.cgi?id=120028
 ** untested **


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10032 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-06-02 14:56:02 +00:00
Linas Vepstas
c314d3c4c5 There should be two distinct entry lists, one holding incomes, one expenses
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10019 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-31 22:34:48 +00:00
Linas Vepstas
02f4c45390 Remove the borken xaccGUIDType
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10018 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-31 22:15:16 +00:00
Linas Vepstas
b32ab0a374 fix broken xaccGUIDType usage
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10017 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-31 21:56:03 +00:00
Linas Vepstas
7d896ffeff remove borken xaccGUIDType usage. The old code probably used to crash
and burn when URL's were clicked.  The new code whould work great.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10016 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-31 21:11:10 +00:00
Linas Vepstas
fcbedb6883 Add entity type to HTML reports. Remove xaccGUIDType usage.
The xaccGUID usage was totally broken, clicking on report links
probably used to core dump; broken report links should now be fixed.

(This change probably conflicts with a jsled change to gnome2;
jsled, since this is the "more correct" long-term change as discussed,
please reert teh other changes.)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10015 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-31 20:10:49 +00:00
Linas Vepstas
a93fd9a2be remove xaccGUIDType insanity in this dialog
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10014 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-31 18:55:34 +00:00
Linas Vepstas
f78b3c4757 restore copyrights that had been previously removed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10012 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-31 18:29:26 +00:00
Linas Vepstas
5a955e7161 fix comments
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10011 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-31 18:28:23 +00:00
Linas Vepstas
b22de5241b convert tabs to spaces (my tab stops aren't set to 8, so tabs wreck indentation)
Replace crummy list usage, when a for-each would have been enough.
(this improves performance, reduces em fragmentation)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10010 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-31 18:03:10 +00:00
Linas Vepstas
2083da1480 Changes to use shared quick-fill for teh account transfer combo box.
Untested but should work fine.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10009 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-31 17:47:20 +00:00
Linas Vepstas
aec37075f0 move the account-name quickfill code to the utilities directory, where
it can eb shared with the business ledger


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10007 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-31 17:12:47 +00:00
Linas Vepstas
b14c720b6c Minor documentation cleanup
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10006 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-31 17:11:07 +00:00
Linas Vepstas
c3d50ae4f9 add account-cuickfill to the makefile,
add some missing #includes needed for a clean compile


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10005 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-31 16:47:31 +00:00
Linas Vepstas
03af394ebc source code for account quick-fill utility
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10004 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-31 16:37:07 +00:00
Linas Vepstas
bdb03fdb8e new, account-name quickfill utility
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10003 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-31 16:31:41 +00:00
Linas Vepstas
203a854e13 add more notes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10002 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-31 16:03:48 +00:00
Linas Vepstas
29d5f82221 fix horrid indentation (someone used tabs inconsistently)
add documentation
add copyright (hey I wrote this code in 1998, along with the rest
of the register code.  Someone stripped out the copyright along the
way. Baadd).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@10001 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-31 15:58:20 +00:00
Linas Vepstas
cd0064b516 add a utility routine, do some minor performance tuning.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9998 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-31 15:22:57 +00:00
Linas Vepstas
2079c5f7f6 fix the quickfill docos
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9996 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-31 14:57:31 +00:00
Linas Vepstas
fe39e2717b add doxygen documentation markup.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9995 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-31 14:48:46 +00:00
Linas Vepstas
921cc92ec5 fix core dump bug introduced by earlier last-minute changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9993 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-31 06:51:06 +00:00
Linas Vepstas
83ff95c449 Add shared quick-fill for the register account-transfer pull-down combo
boxes.  Building the quickfil of account names takes gobs of cpu when
the number of accounts exceedd about 500 or so.   The sharing avoids
the rebuild of this list for each new reg window.

See
http://bugzilla.gnome.org/show_bug.cgi?id=120028

This patch should be back-ported to the 1.8 tree.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9992 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-31 04:53:26 +00:00
Linas Vepstas
593e574cf3 add documentation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9991 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-31 04:43:21 +00:00
Linas Vepstas
7709758d5a Add documentation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9990 57a11ea4-9604-0410-9ed3-97b8803252fd
2004-05-31 03:29:43 +00:00