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
Derek Atkins
eb4a06281c
Commit msgmerge prior to 1.9.0 release.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13120 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 17:50:56 +00:00
Neil Williams
7c475385ea
removing unneeded headers and tidying up debug code
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13119 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 17:00:04 +00:00
Derek Atkins
aab6a13412
* src/backend/file/test/Makefile.am: link against libcore-utils.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13118 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 16:58:50 +00:00
Neil Williams
c31f9f6e66
Deprecating qof_log_set_level_global in favour of qof_log_set_level_registered.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13117 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 12:25:45 +00:00
Neil Williams
325d74fd90
Improve documentation of QofBackendProvider
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13116 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 10:58:38 +00:00
Neil Williams
bd4211ad2e
support logging of qofchoice by default
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13115 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 10:58:13 +00:00
Neil Williams
9a66ebdf0b
line-wrapping tweak
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13114 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 10:57:28 +00:00
Neil Williams
6e50303f69
ignoring generated symlink 'g-wrapped' in svn
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13113 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 10:51:04 +00:00
Neil Williams
baeb72b172
reverting change to qofsession.c from r13084, already replaced in r13097
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13112 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 10:48:12 +00:00
Neil Williams
0a388ef203
New test for recursive copying of entities between sessions
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13111 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 10:13:37 +00:00
Neil Williams
5cd32c9228
typos
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13110 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 10:12:21 +00:00
David Hampton
fab1d29944
Get gnucash to compile with gcc4.1.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13108 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 03:17:28 +00:00
Derek Atkins
52514db6fa
Some gnc-numeric fixes (more to come).
...
- Fixes for handling reciprocal values.
- Mark a lot of places where potential overflow bugs
are not handled.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13107 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 01:41:27 +00:00
Joshua Sled
0f39ebdeeb
fix gnc:numeric lexical range.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13106 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 00:16:38 +00:00
Joshua Sled
8f79f2da9a
Emit all used namespaces; add XML datafile schema.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13105 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-04 23:56:56 +00:00
David Hampton
4330d520fd
Don't just install the schema files, also install the gconf objects
...
into the database. Reverts accidental change made as part of r12863.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13104 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-04 22:44:38 +00:00