Commit Graph

6548 Commits

Author SHA1 Message Date
Derek Atkins
c0fa51f9c6 Don't forget the Equity:Opening Balances account(s)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7786 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-06 04:50:21 +00:00
Derek Atkins
cb5a45a5be * src/backend/file/io-example-account.c: fix a logic bug
* accounts/C/acctchrt_common.gnucash-xea: don't start selected
	* accounts/C/acctchrt_checkbook.gnucash-xea: provide a simple checkbook


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7785 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-06 04:47:42 +00:00
Derek Atkins
6d8034012d * src/register/ledger-core/split-register-model-save.c: when
editing an exchange rate, always change the _VALUE_ of the
	  split, not the amount.  This has the affect of keeping the
	  visible number the same and changing the "other" account.  This
	  should fix #102161


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7784 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-06 04:29:15 +00:00
David Hampton
b5641d333c Enhance the component manager so that you can optionally attach a
session to a component. Provide an interface to close components by
session so they can be closed before the entire book/set of accounts
is deleted.  #102531.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7783 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-05 23:07:32 +00:00
Derek Atkins
f0e602fa65 * src/backend/file/io-example-account.[ch]: add a flag that signifies
that an account-tree should start selected.
	* src/gnome/druid-hierarchy.c: when loading the example accounts, go
	  through the list and 'select' those that are marked as "start selected"
	* accounts/C/acctchrt_common.gnucash-xea: mark this account tree as
	  "start selected"


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7782 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-05 19:57:46 +00:00
Derek Atkins
f9d0134156 * src/backend/file/io-example-account.[ch]: add a flag that signifies
that an account-tree should NOT be included by "select-all"
	* src/gnome/druid-hierachy.c: ignore account-trees that are
	  marked for exclusion from "select-all".
	* accounts/C/acctchrt_business.gnucash-xea: mark this account as
	  "excluded from select-all"


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7781 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-05 19:05:58 +00:00
Derek Atkins
0ee9a57e7b * src/scm/main.scm -- mention bugzilla in the unstable message
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7780 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-05 16:24:01 +00:00
Christian Stimming
9cd4930383 Updated translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7779 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-05 12:06:42 +00:00
Derek Atkins
bd9e618670 * src/register/ledger-core/*: gnc_table_layout_get_cell() doesn't
look at the current cursor, so the multi-currency code was acting
	  all the time, instead of only in registers that needed to be corrected.
	  Fix the code to only apply the multi-currency changes to the correct
	  register types (e.g., NOT stock registers).  Fixes 102549.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7778 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-05 06:16:05 +00:00
David Hampton
fabeeeb3d7 Don't export lots.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7777 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-05 05:49:27 +00:00
Derek Atkins
2bd08c53e3 * src/gnome/dialog-find-transactions.c: search on NOTES
add code to prevent searching on template-txn accounts so SXes don't
	  show up in find results.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7776 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-05 03:56:25 +00:00
David Hampton
276668eab9 Don't clear the current_session global unless the actual current
session is being destroyed. 101707.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7775 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-05 03:50:37 +00:00
Derek Atkins
f0b9fe9f4b * src/engine/Transaction.[ch]: add TRANS_NOTES and supporting routines
to enable searching for notes.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7774 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-05 03:46:21 +00:00
David Hampton
fe62ac23e9 Implement file compression.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7773 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-05 02:03:50 +00:00
Derek Atkins
ad710d157e * add a set of business accounts to the setup druid
* fix the full and common accounts to remove the (wrong) "Accounts Payable"
	  liability account.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7772 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-04 21:51:17 +00:00
Derek Atkins
f13b748817 Don't call a Liability account "Accounts Payable" -- it's wrong!
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7771 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-04 21:03:48 +00:00
Christian Stimming
04700b0d7c Updated German translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7770 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-04 11:33:30 +00:00
David Hampton
b842de758e Add window icons to those windows that don't pick up the default icon.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7769 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-04 08:11:01 +00:00
David Hampton
dadc100061 Add window icons to those windows that don't pick up the default icon.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7768 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-04 07:16:50 +00:00
David Hampton
b3f1274e0a Add support for i18n of price source strings. #102156
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7767 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-04 06:32:48 +00:00
David Hampton
f4a1432582 Do the right thing when going "back" from the "load a file" page. If
there are any files loaded should return to the "loaded files" page
instead of the initial druid page. #101818


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7766 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-04 06:29:26 +00:00
David Hampton
5164ae147f Clean up the lock file properly (i.e. in session destruction) when an
error is detected. #101004


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7765 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-04 06:28:16 +00:00
David Hampton
1a5ddec55c Fix dangling pointer in gnc_file_query_save. #101004
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7764 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-04 06:26:47 +00:00
Derek Atkins
bb97cd4982 * src/business/business-gnome/glade/invoice.glade: fix a string
to make the meaning more clear (per user request)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7763 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-04 03:37:00 +00:00
Derek Atkins
9faae84d6f Matthew Vanecek's patch:
This patch corrects some compiler warnings from gcc 2.96.x, and it fixes
some malformed SQL pointed out by Christopher Browne.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7762 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-03 18:22:07 +00:00
David Hampton
7e731a19c3 Fix malformed URLs for bringing up a report options window.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7761 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-03 07:50:08 +00:00
David Hampton
c1b10d5299 Add sorting options for barcharts and piecharts. Work around Guppi
problem by replacing the character "&" with the word "and".


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7760 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-03 07:10:36 +00:00
David Hampton
2c0b8dae96 Reenable -Wall with -Werror.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7759 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-03 03:17:24 +00:00
David Hampton
9caa94cc96 The report title should change when the report name field is changed
in the options. #102266 and #102667


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7758 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-03 03:07:05 +00:00
David Hampton
3d3fb1da20 Fix compile warnings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7757 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-03 03:06:28 +00:00
David Hampton
39b82c6957 Correctly pass on the label when first opening a help window.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7756 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-02 08:53:43 +00:00
David Hampton
d3b72befd6 Delay jumping to a label until after the help window has been created
on the screen. Without this gtk-html computes the wrong scroll offset
for the window.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7755 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-02 08:52:27 +00:00
David Hampton
2ba2d7b0b9 Remove startup noise.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7754 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-02 08:51:26 +00:00
David Hampton
a7eed0cc1a Make the reconciliation window respect the 'include subaccount' flag
any time it opens a register.  Consolidate logic for opening a new
register. Enhance the reconciliation start window to update the ending
value when this flag is changed. #101150


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7753 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-02 07:12:07 +00:00
David Hampton
afe35c0f71 If the amount is monetary, map the keypad decimal key to the correct
decimal character for the locale. #101957


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7752 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-02 07:10:45 +00:00
Derek Atkins
0b0fc6d281 * configure.in: add a blatent warning that the RPC code is broke!
* src/scm/command-line.scm: change the message to let people know that
	  the rpc-server command-line option only works if gnucash was compiled
	  with rpc enabled.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7751 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-02 04:21:00 +00:00
Derek Atkins
5c8944868d * src/engine/Account.[ch]: add an xaccAccountRemoveLot() function to allow
the LOT code to clear memory when you destroy a lot.  Fixes a crash
	  when you destroy a lot.
	* src/engine/Transaction.[ch]: add an xaccTransClearReadOnly() function
	  to let you clear the flag so you can then remove an transaction.  Only
	  for internal uses only!  This is used by the Invoice UnPost code.
	* src/engine/gnc-lot.c: remove the lot from the account's list of lots
	  when the last split is gone.

	* src/business/business-core/gncInvoice.[ch]: implement Unpost function
	* src/business/business-ledger/gncEntryLedger.[ch]: change the
	  set_readonly() function to let you toggle back and forth between
	  readonly and readwrite ledgers.
	* src/business/business-gnome/dialog-invoice.c: implement unpost; set back
	  to readwrite if the unpost succeeds
	* src/business/business-gnome/dialog-order.c: use new set_readonly() API
	FIXES BUG #101452


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7750 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-02 04:07:58 +00:00
Derek Atkins
05809c5a38 * src/business/business-core/gncInvoice.[ch]: create new function
for logic to apply a payment.  Moved logic from dialog-payment.
	* src/business/business-gnome/dialog-payment.c: move logic to
	  apply payment to business-core.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7749 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-02 02:30:44 +00:00
Derek Atkins
04b99369c6 * src/register/ledger-core/split-register-layout.c: fix the
rate_cell layout for general ledgers.  Fixed the critical
	  failure from bug #101000

	* src/gnome-search/search-numeric.c:
	* src/gnome-search/search-double.c:
	* src/gnome-search/search-int64.c:
	  read the value out of the GNCAmountEdit entry when we create
	  the Query Predicate, because we're not getting the amount_changed
	  signal.  Fixes #101000.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7748 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-02 01:10:33 +00:00
Derek Atkins
a28276e488 * src/gnome-utils/dialog-transfer.c: always set the exchange-rate
as a positive value (use ABS).  Fixes the rest of #102163.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7747 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-02 00:27:59 +00:00
Derek Atkins
f158234c94 * src/gnome-utils/dialog-transfer.c: call the to_amount_update_cb
handler during certain paths of the ok_cb because the focus-out
	  signal may not get handled in all cases -- so force the issue.
	  Fixes bug #102163


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7746 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-02 00:22:40 +00:00
Derek Atkins
7be855053c * src/register/ledger-core/split-register-control.c: invert the
exchange rate when we're swapping currencies, since the logic
	  of the transfer dialog was reversed.  Fixes bug #102157


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7745 57a11ea4-9604-0410-9ed3-97b8803252fd
2003-01-01 23:29:04 +00:00
Christian Stimming
f7b08d89bf Follow up on Benoit's gcc3 fixes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7744 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-31 10:42:55 +00:00
Benoit Grégoire
0fef080b65 2002-12-30 Benoit Gr�goire <bock@step.polymtl.ca>
* src/import-export/hbci/druid-hbci-initial.c
	* src/import-export/hbci/gnc-hbci-utils.c:
	Fix a bunch of "warning: deprecated use of label at end of
	compound statement" in gcc3 in select statements (added
	semicolons after default: so that I don't break anything,
	but it should probably output an error instead).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7743 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-31 01:06:23 +00:00
Christian Stimming
5a72709243 2002-12-30 Christian Stimming <stimming@tuhh.de>
* src/report/standard-reports/cash-flow.scm: Patch by Ed Warnicke
	<hagbard@physics.rutgers.edu>.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7742 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-30 18:47:01 +00:00
Christian Stimming
b7bd4ed1d7 2002-12-30 Matthew Vanecek <mevanecek@yahoo.com>
* src/backend/postgres/PostgresBackend.c: Added some ENTER
	and LEAVE statements to more of the functions.

	* src/backend/postgres/upgrade.c: Changed all the DATETIME
	SQL data types to TIMESTAMP.  DATETIME will not be in Postgresql
	as of 7.3.

	* src/backend/postgres/functions.sql: Changed all the DATETIME
	types in the DDL to TIMESTAMP.

	* src/backend/postgres/table-create.sql: Changed all the DATETIME
	types in the DDL to TIMESTAMP.

	* src/backend/postgres/table-audit.sql: Changed all the DATETIME
	types in the DDL to TIMESTAMP.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7741 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-30 18:40:11 +00:00
Christian Stimming
5daccf5703 2002-12-30 Christian Stimming <stimming@tuhh.de>
* src/app-utils/prefs.scm, src/app-utils/global-options.c: Rename
	"Default currency" option to "New Account default currency" since
	*everybody* asks about that one.  Was reported in #102043,
	#100466, #99364, #87729.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7740 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-30 18:37:44 +00:00
Christian Stimming
48f751a0fc Add yet more i18n comments. Comment out some debugging output.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7739 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-30 01:20:53 +00:00
Christian Stimming
d5c9e24cd5 Updated translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7738 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-30 01:17:39 +00:00
Christian Stimming
c006476cf9 2002-12-29 Christian Stimming <stimming@tuhh.de>
* src/gnome/dialog-scheduledxaction.c, dialog-sxsincelast.c: Some
	i18n fixes.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7737 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-30 01:17:07 +00:00