Commit Graph

7228 Commits

Author SHA1 Message Date
Linas Vepstas
95111f1109 remove account group from book structure
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8527 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 04:01:16 +00:00
Linas Vepstas
d1272e958e oops!
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8526 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 03:38:11 +00:00
Linas Vepstas
ddbb6b44a2 provide some memory management for the commodity table in the book
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8525 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 03:36:48 +00:00
Linas Vepstas
9b9fef58ce remove the commodities from the commodity table
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8524 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 03:33:06 +00:00
Linas Vepstas
4251a2bdf6 fix the pricedb memory management
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8523 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 03:24:03 +00:00
Linas Vepstas
9e4383a29b perform some memory management for the pricedb stored in the book
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8522 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 03:23:19 +00:00
Linas Vepstas
d0d53c0699 remove the pricedb from the book struct
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8521 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 03:02:59 +00:00
Linas Vepstas
dc3ccd9e51 minor performance optimization
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8520 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 02:41:51 +00:00
Linas Vepstas
93b925a15c continue removing pointers from the book struct
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8519 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 02:39:34 +00:00
Linas Vepstas
d7ffd2a6cd remove direct access
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8518 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 02:06:05 +00:00
Linas Vepstas
06798142df minor performance optimization
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8517 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 01:59:36 +00:00
Linas Vepstas
885998ee91 fix the warning message
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8516 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 01:56:14 +00:00
Linas Vepstas
a91c6ef9ff start making changes to eliminate topgroup from this struct
(this version produces run-time warnings, I'm fixing them).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8515 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-10 01:30:47 +00:00
Linas Vepstas
e43973c77a Add GPL license notice
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8514 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-09 21:23:44 +00:00
Linas Vepstas
706153ecb4 bugfix: the type should be the new not the old query type
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8513 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-09 19:10:09 +00:00
Linas Vepstas
e522c2fba4 need to expose the entity table
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8512 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-09 19:01:24 +00:00
Linas Vepstas
d4a159299a remove explicit dependence on gnc-book
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8511 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-09 18:47:26 +00:00
Linas Vepstas
f6fd9ff164 explicitly include gnc-book.h
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8510 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-09 18:44:52 +00:00
Linas Vepstas
b4d0ad4b2e rename date.h to gnc-date.h
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8509 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-09 18:18:47 +00:00
Linas Vepstas
3f87d68751 include file cleanup
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8508 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-09 18:08:37 +00:00
Linas Vepstas
8c8da93625 rename date.h to gnc-date.h
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8507 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-09 17:57:36 +00:00
Linas Vepstas
9cbac1a666 move the string cache from gnc-engine to gnc-engine-util
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8506 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-09 17:53:41 +00:00
Linas Vepstas
72426bf766 rename date.c to gnc-date.c
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8505 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-09 17:45:03 +00:00
Linas Vepstas
7c40e5dfe4 backwards compatibility include
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8504 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-09 17:43:32 +00:00
Linas Vepstas
f96349f0b9 rename date.h to gnc-date.h
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8503 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-09 17:38:55 +00:00
Linas Vepstas
8a96a0c361 remove stale routine, add some documentation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8502 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-09 17:38:03 +00:00
Linas Vepstas
a918b7a043 cleanup include-file usage
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8501 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-09 15:47:01 +00:00
Linas Vepstas
cd4570763e cleanup; use the atoll function
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8500 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-09 15:45:40 +00:00
Christian Stimming
0e26319b81 forgot log message
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8499 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-09 09:47:52 +00:00
Christian Stimming
9da1e96d28 2003-06-09 Christian Stimming <stimming@tuhh.de>
* configure.in, src/import-export/hbci/dialog-hbcitrans.c: Add
	support for KtoBlzCheck, a small checking package for destination
	account numbers for German banks. Very small, very useful :),
	http://sourceforge.net/projects/ktoblzcheck


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8497 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-09 09:42:27 +00:00
Derek Atkins
a58203a43a * src/app-utils/app-utils/scm: export new dateformat option symbols
* src/app-utils/option-util.[ch]: create dateformat option utility functions
	* src/app-utils/options.scm: create a dateformat option
	* src/engine/date.[ch]: create APIs to handle date-format types.
	  - conversions of date-format to/from strings
	  - move the month format enum to here
	  - conversion of month format to/from strings
	* src/gnome/top-level.c: move date-format string conversion from here
	* src/gnome-utils/dialog-options.c: implement a date-format options
	  that uses the gnc-date-format widget.
	* src/gnome-utils/gnc-date-format.h: remove month format (to date.h)
	Initial fix for #99574


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8496 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-09 03:42:52 +00:00
Derek Atkins
54d2f07fec * src/gnome-utils/gnc-date-format.c: ignore empty "custom" formats.
* src/gnome-utils/gnc-query-list.c: add a test for NULL.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8494 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-09 03:38:26 +00:00
Derek Atkins
60507e9b69 * src/report/standard-reports/transaction.scm: make sure we have
the right number of arguments for all renderers.  Fixes #114641.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8492 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-09 03:22:46 +00:00
Christian Stimming
89368a99bb 2003-06-08 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/*.c: Remove old unused code.

	* src/import-export/hbci/hbci-interaction.c: Add more user
	feedback functions.

	* src/import-export/hbci/gnc-hbci-utils.c: Improve error handling.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8490 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-08 13:05:42 +00:00
Christian Stimming
25e52baa69 Adapt to latest OpenHBCI changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8489 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-06 18:10:05 +00:00
David Hampton
b8d70cc4cd gcc 3.x complains about trailing case statement w/no body.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8485 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-04 04:35:27 +00:00
Derek Atkins
ab1927346b * src/gnome-utils/gnc-date-format.*: Create a new "date format"
widget to let the user choose a date format (and see the results
	  of what the date would look like).
	* src/gnome-utils/Makedile.am: add gnc-date-format files to the build
	* src/gnome/dialog-print-check.c: use the new date-format widget
	* src/gnome/glade/print.glade: remove data that is now part of the
	  date-format widget.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8478 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-06-02 03:19:47 +00:00
Derek Atkins
15e7cdd71d * src/gnome/dialog-print-check.c: a simple change -- use a globally-
defined option-menu helper function instead of defining our own
	  copy for no particular reason.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8475 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-31 04:07:36 +00:00
Derek Atkins
7f0cc4fb70 * src/business/business-gnome/dialog-customer.c:
* src/business/business-gnome/dialog-vendor.c:
	  - Fix the window title to use the company name, not the contact name
	  - Change the message when the company name is left blank.
	Fixes #109754


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8473 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-30 21:24:35 +00:00
Christian Stimming
694375f3cf 2003-05-30 Christian Stimming <stimming@tuhh.de>
* lib/guppi-legend.patch: Include patch for Guppi that fixes
	reversed legend problem.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8470 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-30 19:30:34 +00:00
Christian Stimming
68d591db56 Fix spelling.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8468 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-30 18:55:14 +00:00
Christian Stimming
0ba39a4560 Fix signed/unsigned warning of gcc 3.3.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8463 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-30 18:34:06 +00:00
Derek Atkins
8a105f741e * src/gnome/glade/register.glade: add sort entries for Action and Notes
* src/gnome/gnc-split-reg.[ch]: add ability to sort by Action and Notes
	Fixes #113990.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8460 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-30 00:40:16 +00:00
David Hampton
54fca943db Correct ISO code for the Polish currency.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8458 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-29 23:47:52 +00:00
Christian Stimming
060432068d 2003-05-30 Christian Stimming <stimming@tuhh.de>
* src/report/standard-reports/category-barchart.scm: Re-enable
	reversed legend in stacked barcharts. Needs Guppi 0.40.4
	a.k.a. Guppi CVS, though, to actually work.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8457 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-29 22:39:48 +00:00
Christian Stimming
8229a40084 2003-05-29 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-transfer.c: Make sure the amount
	stays a decimal number instead of some fraction.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8454 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-29 21:21:35 +00:00
Derek Atkins
ff4ed7a94b * src/business/business-core/gncInvoice.[ch]: add APIs to get
TotalSubtotal() and TotalTax().
	* src/business/business-gnome/dialog-invoice.c: Add Subtotal and Tax
	  labels in the summary bar to print the Invoice's total amounts.
	Fixes #113769.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8450 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-29 16:21:38 +00:00
Linas Vepstas
7c58366d4f convert tabs to 8 spaces, so that people with different
tab-stop settings can see correctly indented code :-)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8449 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-29 16:14:57 +00:00
Benoit Grégoire
58816103a3 2003-05-29 Benoit Gr�goire <bock@step.polymtl.ca>
* src/engine/TransLog.c: Now log the transaction notes field (kvp actually).
	* src/engine/kvp_frame.h: Docs
	* src/import-export/log-replay/gnc-log-replay.c: Actually make it work:) Thanks Derek for pointing me to the private headers.  Support the new note field.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8448 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-29 15:02:19 +00:00
Christian Stimming
e437df37be 2003-05-29 Christian Stimming <stimming@tuhh.de>
* configure.in: OpenHBCI version 0.9.11 is required now. Earlier
	versions cause a segfault with any recent OpenSSL.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8447 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-29 11:28:49 +00:00