David Hampton
534e987273
Unconditionally enable qof alternate dirty mode.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13927 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-06 06:03:48 +00:00
David Hampton
9323c1405d
Add an alternate mode for handling the dirty state of instances and
...
collections. In this mode, marking an instance as dirty does not
immediately mark the collection as dirty. The collection is only
dirtied when a dirty instance is actually committed to the collection.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13926 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-06 06:01:14 +00:00
David Hampton
06f7888c4c
Bump the version number for setting the GNOME_DISABLE_DEPRECATED flag.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13925 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-06 01:27:40 +00:00
Joshua Sled
1afdaac632
fix mis-use of test api.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13924 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-05 13:02:30 +00:00
Joshua Sled
d08ba61322
add encoding to test xml files to prevent loading errors; reformat error message.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13923 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-05 01:21:13 +00:00
Chris Shoemaker
3555d0f101
More consistent Lot<->Split handling. Try to use the right API for adding
...
a cloned Split to the Lot. Make sure to remove the Split from the Lot when
deleting a Split. (This prevents use-after-free by test-lots.) Add some
comments to some strange code that's possibly wrong.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13922 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-05 00:58:17 +00:00
Chris Shoemaker
40a9ed1925
Move some gains-related transaction-scrubbing operations to from
...
cap-gains.c to Transaction.c.
Fix a logic error where "split->gains |= ~GAINS_STATUS_ADIRTY" was supposed
to be "split->gains &= ~GAINS_STATUS_ADIRTY".
Disable the loop-restart code in xaccTransScrubGainsDate() because I think
the state changes inside the loop will never cause a previously-skipped
Split to be not skipped during another pass.
Incidental:
make both xaccTransFindSplitByAccount() arguments 'const'
Internalize Begin/Commit edit block into xaccTransScrubSplits()
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13921 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-05 00:40:15 +00:00
Chris Shoemaker
e6f9e20679
Some testing bits that got left out of r13916.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13920 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-05 00:18:59 +00:00
Chris Shoemaker
90864dcb27
Correctly ensure that the amount and value of test Splits have the same sign
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13919 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-05 00:17:04 +00:00
Christian Stimming
017967476c
Updated Norwegian Bokmaal translaction by Sigvei Indregard
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13918 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-04 09:18:39 +00:00
Chris Shoemaker
2324301a45
Fix bug #340168 by ignoring Splits that have been destroyed since the
...
last call to xaccTransBeginEdit().
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13917 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-04 03:59:15 +00:00
Chris Shoemaker
0589407c66
Hide the Transaction's management of the "reverse-by" KVP inside the engine.
...
Add new function xaccTransGetReversedBy() to find the reversing transaction
if there is one.
This also ensures that the KVP changes are inside a Begin/Commit block.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13916 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-04 00:06:58 +00:00
Christian Stimming
70295ccd36
Updated French translation by Fabrice Kurz
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13915 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-03 20:46:53 +00:00
David Hampton
2ba716c4ed
Use the existing QOF API to modify the instance dirty flag.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13912 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-03 02:28:18 +00:00
Christian Stimming
222b2b26d0
Updated German translation; still 3666 out of 3666 translated.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13900 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-02 19:35:41 +00:00
Andreas Köhler
8c2dc711ed
Correct option strings in sx editor for tri-annual transactions. Fix #339724 .
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13899 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-02 19:26:27 +00:00
Joshua Sled
a2772eece8
match malloc to free, not g_free.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13898 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-02 12:17:56 +00:00
Christian Stimming
cbd0726200
Ensure the warning about debian and error-on-warning is shown only if necessary
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13897 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-02 09:05:13 +00:00
David Hampton
d7c2dff901
Use the parent commodity and account type when creating new accounts.
...
Fixes #337189 and #340242 .
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13896 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-02 03:48:21 +00:00
David Hampton
5d031b2203
Start a new log file after a save. Fixes #173056 .
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13895 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-02 02:32:49 +00:00
Joshua Sled
014a0bf8a2
Bug#340358: mem/string-handling crasher fix.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13894 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-02 00:11:49 +00:00
Christian Stimming
fd3164b629
Updated British English translation by Nigel Titley
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13893 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-01 08:00:10 +00:00
David Hampton
d1b5d2df03
Patch from Mike Alexander to fix the cleared split date threshold in
...
the reconcile window. Fixes #340235 .
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13892 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-01 02:49:15 +00:00
Andreas Köhler
6b75ce64fc
Add legend only to barchart and piechart plots, not to scatter plots, as there is currently no usage for it. Fix #337769 .
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13891 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-30 23:29:02 +00:00
David Hampton
5e8b7bbc88
Remove translation on new strings.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13890 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-30 19:28:24 +00:00
Joshua Sled
2220646d16
Bug#340197: reverse account opening balances when desired.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13889 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-30 16:49:07 +00:00
Christian Stimming
a0bbda961f
Fix retrieval of reconcile abbreviation if the translators erroneously
...
did not use the same string length as the english string. Bug #339722 .
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13888 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-30 10:32:34 +00:00
David Hampton
2f5698d619
Patch from Mike Alexander's to handle multiple lot dispositions on the
...
same day. Needed since the transaction sorting code may sort gains
splits after other splits on the same day. Add a new function to find
the source split associated with a capital gains split. Also use
lot_amount and lot_value consistently instead of opening_amount and
opening_value.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13887 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-30 03:52:05 +00:00
David Hampton
c90adde7ba
Function opening curly brace should be on a line by itself.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13886 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-30 02:59:58 +00:00
Chris Shoemaker
29ce19ddfc
Take care of any pending changes to a Transaction before voiding it.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13885 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-30 02:38:11 +00:00
David Hampton
e500dae5b4
Eliminate some gtk warning messages. Stop the contents of the Bill
...
Terms dialog from shifting around when the first/last term is
created/destroyed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13884 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-30 01:27:24 +00:00
Chris Shoemaker
cc413fa58c
When deleting the current Transaction in the register, let the action take
...
effect immediately by commiting the transaction if it's open.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13883 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-30 00:43:45 +00:00
Andreas Köhler
fcd53ac9e2
Remove all XIM code, as it has been commented out unconditionally already for a while. Send focus in/out events to register GtkEntry. Address #337020 .
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13882 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-29 22:42:33 +00:00
Joshua Sled
2d1735aea1
Bug#157179: make multi-commodity SX handling a bit better. Expose the needed exchange rates as variables in the since-last-run dialog.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13881 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-29 21:51:42 +00:00
Chris Shoemaker
14e364dfc0
Return the GtkTreeViewColumn from gnc_tree_view_account_add_kvp_column().
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13880 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-29 15:08:12 +00:00
Christian Stimming
5252fb7e39
Clarify definitions of and relations between bill, invoice, job, and order.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13879 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-29 13:15:16 +00:00
David Hampton
08ee1d10d2
Don't allow the user to save a report until they have changed the
...
report name. Remove the duplicate shortcut on the Add Report menu
item.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13878 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-29 07:30:20 +00:00
David Hampton
2932ad7c5a
Don't load a custom report that has the same name as a standard
...
report. Fixes #168250 .
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13877 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-29 07:27:45 +00:00
David Hampton
599d37402b
Load the user config earlier in startup. Fixes the missing custom
...
report problem #338668 .
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13876 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-29 07:25:53 +00:00
David Hampton
0b0053acbd
Lower the minimum required width of the register. This does affect
...
the size constraint imposed by the register summary bar.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13875 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-29 06:53:49 +00:00
Chris Shoemaker
4bc2e2e86d
When deleting an Account, also delete any Splits that are set to be
...
added to the Account if their open Transaction is commited.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13874 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-29 02:17:14 +00:00
David Hampton
17241af786
Default to --enable-error-on-warning only in svn based source
...
trees. Fixes #330687 .
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13873 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-29 02:04:57 +00:00
David Hampton
4a5f6e30ca
Mike Alexander's patch to fix lot date calculation, and to include all
...
splits when computing capital gain's instead of just the opening lot.
Scrub lots when scrubbing everything else. Some MacOs X fixes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13872 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-28 21:11:01 +00:00
David Hampton
3cb46f0897
Finishing all pending transactions before new and open commands, not
...
just save commands. Fixes #334090 .
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13871 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-28 20:46:55 +00:00
Chris Shoemaker
8807890d26
For budget data entry interpret an empty string as valid input meaning "0".
...
Closes #339946
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13870 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-28 13:01:30 +00:00
Chris Shoemaker
6069098e7e
Remove an assertion w/ explanation of why it doesn't hold. Fixes #339781 .
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13869 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-27 21:02:30 +00:00
Christian Stimming
4b50e45fda
Updated French translation by Fabrice Kurz
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13868 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-27 21:00:09 +00:00
Christian Stimming
16add32a83
Fix GNCInteractor_hadErrors() that reported too many errors. Fixes #339504 .
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13867 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-27 20:44:22 +00:00
Joshua Sled
a05c7944eb
Bug#334627 fix attempt 2: remove needless NULLing-out of SX.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13866 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-27 13:14:54 +00:00
Chris Shoemaker
1a94c52db0
Address bug #339288 : When deleting a split, ensure the transaction is open
...
for editing, an redraw the display afterward.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13865 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-27 03:27:46 +00:00