Joshua Sled
728dc7a8d0
Restructure for clarity.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13943 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-07 21:39:56 +00:00
Joshua Sled
3a2fa62d87
Fix test-query
failure.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13942 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-07 21:39:30 +00:00
Joshua Sled
2d509ca6ca
indentation.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13941 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-07 20:22:54 +00:00
Joshua Sled
27106709ec
Bug#340936: Actually close the SX list when we are button-requested to Close the dialog, thus cleaning up properly.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13940 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-07 20:12:08 +00:00
Joshua Sled
a2d6c363a6
Bug#340875: factor utf8-clean decimal-point insertion and string handling out of the pricecell, and call from the formulacell.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13939 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-07 18:01:33 +00:00
David Hampton
ed28db12a1
Rebuild the column selection menu when the report currency is changed.
...
Fixes #340243 .
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13936 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-07 00:14:02 +00:00
David Hampton
367b78637b
Really bump the version number for setting the GNOME_DISABLE_DEPRECATED flag.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13934 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-06 23:01:36 +00:00
David Hampton
bb0afbe8fb
Trivial replacements for deprecated functions.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13933 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-06 22:26:50 +00:00
David Hampton
cf54659c92
Use the new qof functions to provide a dirty indication in the title
...
bar, fixing #339026 . Also provide an indication of how long the book
has been dirty in the "save changes to file" dialog.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13932 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-06 21:11:16 +00:00
David Hampton
fad343b4e2
Add support for directly marking the book dirty, for recording the
...
time that the book transitioned from clean to dirty, and for calling
back a registered function when the book transitions from clean to
dirty.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13931 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-06 21:09:59 +00:00
David Hampton
f455c29dc8
Can't use external qof until it supports "alternate dirty mode".
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13930 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-06 14:53:22 +00:00
Christian Stimming
e3301dde28
Updated (finished) norwegian bokmaal translation by Sigve Indregard
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13929 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-06 07:55:37 +00:00
David Hampton
42233b0d47
Add begin_edit/commit_edit brackets around object modifications. Some
...
other related edit changes. Bug #339943 should be fixed as of this
change.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13928 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-06 06:14:21 +00:00
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