Commit Graph

8877 Commits

Author SHA1 Message Date
Derek Atkins
e371fb4e39 Print more debugging when the guile version check fails.
* macros/legacy_macros.m4: when the guile version check fails,
	  print out the version of guile that we found in order to
	  aid debugging.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13174 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-09 16:28:01 +00:00
David Hampton
604cba4f4d Better fix for the code that updates the buy/sell action based on the
number of shares entered in a transaction.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13173 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-09 07:26:40 +00:00
David Hampton
cbf71e72ef Remove forgotten unused variable.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13172 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-09 07:24:18 +00:00
David Hampton
464b00a77c Set the default button.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13171 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-09 06:17:29 +00:00
Chris Shoemaker
5f56bec772 Remove forgotten unused variable.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13167 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-09 05:23:51 +00:00
David Hampton
7bb17ee723 Fix the code that updates the buy/sell action based on the number of
shares entered in a transaction.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13166 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-09 05:03:29 +00:00
Chris Shoemaker
1b418bfeec Add two columns to the Accounts page: "Total (Period)" & "Balance (Period)"
These are the recursive and non-recursive, respectively, period balances,
   where the accounting period is specified in the preferences.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13165 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-09 04:53:43 +00:00
David Hampton
0d046e26d5 Call existing function to find the end of the day.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13164 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-09 04:41:42 +00:00
David Hampton
dd05a94ffb A couple of performance enhancements.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13163 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-09 04:37:17 +00:00
David Hampton
6a4ed52700 Set the busy cursor while the dialogs are being generated.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13162 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-09 04:35:34 +00:00
David Hampton
6b104f9260 Set the window type hint to normal.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13161 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-09 04:34:28 +00:00
David Hampton
c91009aa64 Fix a duplicate accelerator key.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13160 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-09 04:33:23 +00:00
Chris Shoemaker
c7413168ae Fix an off-by-one (day) error in the dates used by the summarybar.
Factor out and publicize functions to get the start and end of the
   accounting period in the preferences.
   Mark one comment as probably obsolete.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13158 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-09 04:17:27 +00:00
Chris Lyttle
571ae25509 update to release 1.9.0
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13157 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-09 04:16:25 +00:00
Chris Shoemaker
3407c31beb Factor out an "approved" method for getting the GtkCellRenderer from a
GtkTreeViewColumn that's been added to a GncTreeView with one of the 
   convenience functions.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13156 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-09 01:47:26 +00:00
Chris Shoemaker
9f0643fa6e Move window-main-summarybar.[ch] from gnome/ to gnome-utils/.
It doesn't depend on anything in gnome/.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13155 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-09 01:24:47 +00:00
Chris Shoemaker
5e5084037b Change name of SplitRegister variable name to 'reg' for consistency.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13154 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-08 15:05:28 +00:00
Chris Shoemaker
91c112f432 A little error checking for report titles.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13153 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-08 15:00:24 +00:00
Chris Shoemaker
943532c8cd Don't allow the event handler list to shrink while we're traversing it.
This change isn't ideal in the sense that the handler list is now a 
   monotonically increasing resource, but it's better than crashing when the
   handler in node N+1 happens to be deleted while servicing the handler in
   node N.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13152 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-08 06:04:51 +00:00
David Hampton
124ef42e61 Set the default button.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13151 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-08 06:00:36 +00:00
Chris Shoemaker
c2196a9b50 Convert GncTreeModel from a GtkObject to a GObject.
Replace gtk_object_sink calls on the models with g_object_unref calls.
   Correctly increase the refcount of "remembered" models when we return them.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13150 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-08 05:55:04 +00:00
Chris Shoemaker
3cb9687799 Convert GncTreeModelPrice and GncTreeModelCommodity to use GObject dispose
path instead of GtkObject destroy path.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13149 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-08 02:23:59 +00:00
Chris Shoemaker
22d0463a3d Convert GncTreeModelAccount to use the GObject dispose path instead of
the GtkObject destroy path.  Also, remove the gconf callback during dispose.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13148 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-08 01:55:07 +00:00
Christian Stimming
3d7ecc1e7c Updated German translation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13147 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-07 22:01:02 +00:00
Christian Stimming
d061e54bfa Improve check for aqbanking by looking for the pkg-config file first and using the old method as a fallback
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13146 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-07 21:07:30 +00:00
Christian Stimming
1565077f47 Update glossary
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13145 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-07 21:06:26 +00:00
Christian Stimming
8ba1f3fd4f String cleanup; add translator comments
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13144 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-07 21:05:33 +00:00
Christian Stimming
25393c9432 String cleanup: Remove formatting from translations
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13143 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-07 21:04:53 +00:00
Christian Stimming
aad55d5b44 Updated French translation by Didier Vidal
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13142 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-07 20:23:52 +00:00
Christian Stimming
94925674de Update Norwegian translation by Tor Harald Thorland
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13141 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-07 20:22:19 +00:00
Chris Shoemaker
89c9f6821e Recompute argc after argv may have changed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13140 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-07 19:52:29 +00:00
David Hampton
c602ef1af2 Filter out more post gtk2.4 properties.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13139 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-07 04:47:45 +00:00
David Hampton
7bbae9f949 Fix some issues when invoking from a non-utf8, non latin1 locale. Use
g_print to print to the console. Convert from popt to g_options for
glib >= 2.6.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13138 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-07 03:59:17 +00:00
David Hampton
c9166ee15a Scott Oonk' patch to fix a couple of problems with right justified
cells in the register.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13137 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-07 01:56:45 +00:00
Neil Williams
c8d48013b4 omitting collect type from invoice object until fix is ready in libqof - allows QSF Invoice export to work
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13136 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-06 22:09:21 +00:00
Neil Williams
95bd560bdc more inst.kvp_data changes to get Postgres backend to compile
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13135 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-06 20:45:27 +00:00
Chris Shoemaker
3908088b52 Fix two places where we were letting the split values become incoherent
with account balances.
   Comment two possible bugs related to capgains and dirtying (or not) Splits.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13134 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-06 20:41:40 +00:00
Chris Shoemaker
720dd91074 Fix breakage from missed case in Split QofEntity->QofInstance conversion.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13133 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-06 18:31:49 +00:00
Chris Shoemaker
359013e2a5 Keep QOF aware of the dirty-state of Transactions.
Also, dirty transactions upon changing due date and read-only status, 
   which didn't used to happen.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13132 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-06 17:57:45 +00:00
Chris Shoemaker
c1ef3fd6db Convert Split from QofEntity to QofInstance.
Let QofInstance manage the book pointer and kvp frame instead of Split 
   managing its own.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13131 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-06 17:12:39 +00:00
Chris Shoemaker
fccb17ff12 Replace check_open() in setter API with internal qof_{begin,commit}_edit().
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13130 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-06 16:18:52 +00:00
Derek Atkins
be29e4e5dd Revert Chris' change in r13128.
Keep in the error check for db-transactional data storage
until the objects can be modified to support db-transactional
autocommit (by calling BeginEdit/CommitEdit internally instead
of checking that the caller did so).  But revert for now to
make sure a caller has called BeginEdit in order to make
sure the data gets "saved" (assuming a SQLish backend).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13129 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-06 06:45:25 +00:00
Chris Shoemaker
69dc61aac4 Remove check_open() calls from Transaction setters.
These calls were probably a copied idiom from the Split setters in this
   same file, but Split and Transaction use completely different mechanisms
   for managing dirty state.  Transactions inherit from QofInstance and so
   use the .dirty field.  Splits inherit from QofEntity, so their
   check_open(split->parent) calls are their way of letting someone know
   they've changed.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13128 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-06 04:50:02 +00:00
Derek Atkins
e9e033f60e - better fix for #accounts
- don't g_list_free the account_list



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13127 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 21:10:19 +00:00
Neil Williams
fc0a9336ec remove obsolete strings at end of po file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13126 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 21:05:42 +00:00
Neil Williams
b06260d9ca Allowing gnucash to build on a vanilla FC3 install
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13125 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 20:59:36 +00:00
Derek Atkins
58fd1ba067 A few test changes to make sure we don't fail when we're very unlucky.
- make sure a random group always has at least two accounts
	  - fix "make random transaction" to tell us when we don't
	    have at least two accounts.
	  - free the results of xaccGroupGetSubAccounts().



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13124 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 20:38:46 +00:00
Derek Atkins
d1422bd6be * src/backend/file/Makefile.am: link against libcore-utils.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13123 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 20:00:33 +00:00
Derek Atkins
5a9af7ef30 use g_strdup -- cannot feed SCM_STRING_CHARS() back into guile.
(fixes a weird test-case failure in some cases).



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13122 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 19:58:20 +00:00
Neil Williams
78855e5370 updating for latest merge, 3662 translated
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13121 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 19:06:56 +00:00