Commit Graph

7018 Commits

Author SHA1 Message Date
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
David Hampton
16815af8c2 add missing include file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8443 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-29 07:00:45 +00:00
Derek Atkins
a55dd75ec6 * src/gnome-utils/gnc-query-list.c: the query headers were restructured
by linas so we need to add an extra #include to compile
	* src/import-export/log-replay/gnc-log-replay.c: get it to compile.
	  - Doesn't need libofx.h
	  - use TRUE/FALSE, not true/false.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8442 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-29 05:48:58 +00:00
Linas Vepstas
bf488bff50 fiddle with the documentation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8441 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-29 04:48:23 +00:00
Benoit Grégoire
dbed96de7b 2003-05-26 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/import-settings.c: Revert previous gettext macro addition.
	* src/engine/TransLog.c,h: Change the log format to use GUID instead of C pointers and to use ISO8601 instead of proprietary format.

	* src/engine/gnc-numeric.h
	* src/import-export/import-match-map.c: Doxygen update

	* configure.in
	* src/scm/main.scm
	* src/import-export/Makefile.am
	* src/import-export/log-replay/*: New log replay module.  This ALMOST works, except I forgot you can't set the GUID of gnucash's objects, and thus completely screwed up on the playback logic.  I'll think of a solution when I am rested.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8440 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-29 04:47:54 +00:00
Linas Vepstas
e67e3c4254 add GPL copyright notices
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8439 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-29 04:21:40 +00:00
Derek Atkins
fa9f9d0c0a * src/business/business-gnome/dialog-invoice.c: don't constantly
resize the invoice window every time we update ourselves.  Fixes
	  #113775


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8437 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-29 03:48:52 +00:00
Derek Atkins
6119ad7680 * src/business/business-core/gncInvoice.[ch]: change the unpost
API to select whether to repoint the entries to the current tax
	  table or leave it at the child tax table.
	* src/business/business-gnome/glade/invoice.glade:
	* src/business/business-gnome/dialog-invoice.c:
	  New UI when unposting an invoice -- ask whether to bring the tax
	  tables up to date or leave the values when it was posted.
	Fixes #113774


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8436 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-29 03:02:11 +00:00
Derek Atkins
1527f0526a * src/business/business-ledger/gncEntryLedger.c: fix a bug where
if you unpost an invoice and don't bring the TaxTables up to
	  date, the total value shown in the register is different
	  dependending on whether the cursor is on the current line or
	  not.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8434 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-29 02:50:40 +00:00
Derek Atkins
caeeb3c546 * src/business/business-core/gncTaxTable.c: when asking for
the child, return ourself if we're already a child instead
	  of making a (useless) grandchild.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8432 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-29 02:44:10 +00:00
Linas Vepstas
0f5ff6f114 add missing include file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8431 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-05-29 01:09:43 +00:00