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
Chris Shoemaker
a15b9f01d2
Remove some unnecessary BeginEdit/CommitEdit calls.
...
Early exit the budget keynav function on no-op case.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13864 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-27 02:52:31 +00:00
Chris Shoemaker
34316633af
More register fixes related to recent changes:
...
For the autofill in basic-ledger mode, avoid an extra BeginCommit.
For "remove all splits from the transaction" case, also avoid a potential
extra BeginCommit. Also, fix a bug where one split might have not been
removed if this operation was performed in a register other than the one
where the transaction was created.
Make sure that whenever we actually do commit the pending transaction, we
clear the stored GUID *before* the commit, since it may be checked again
from the register's refresh event handler.
In other news, I haven't seen the orphan splits recently...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13863 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-27 02:18:37 +00:00
Joshua Sled
a0501f163c
Attempt to affect #334627 : re-order destroying SX vs. window.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13862 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-27 01:33:17 +00:00
Christian Stimming
4b2f9b705e
Properly quote marks. Bug #339731 .
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13861 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-26 09:11:38 +00:00
David Hampton
0939cfc580
Center the progress dialog on the qif import druid. Fixes #336188 .
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13860 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-26 04:49:24 +00:00
David Hampton
4a77848ad7
Mark the collections as clean after the default items have been
...
created. Fixes #337185 .
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13859 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-26 04:14:04 +00:00
Chris Shoemaker
ccd29a0c12
Publicize the ALWAYS_VISIBLE column attribute for GncTreeView.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13858 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-26 03:30:42 +00:00
David Hampton
beb04f0e96
Fix the crash in #339764 .
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13857 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-26 02:21:50 +00:00
Joshua Sled
b9624655d5
Bug#119078: promote register parse errors to the user.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13856 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-26 01:31:02 +00:00
David Hampton
1a0ffa9948
Don't try to update the main window page name when invoked with an
...
embedded window. Fixes #339763 .
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13853 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-26 00:03:08 +00:00
Christian Stimming
ae89e8a930
Updated German translation. 3666 out of 3666 translated.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13852 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-25 20:56:28 +00:00
Andreas Köhler
594c36f098
Initialize depth variable in tree view keynav before using it.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13850 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-25 08:33:08 +00:00
David Hampton
f02981a6f6
Handle the failure to fork a child process and print an error message,
...
instead of just ignoring the error. Fixes #127241 .
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13849 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-25 05:13:33 +00:00
David Hampton
d8628c8281
Add completion support to the currency edit widget. Fixes #339412 .
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13848 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-25 04:20:49 +00:00
Chris Shoemaker
a6644b75fc
Implement a keynav policy for the budget page. Addresses bug #339515 .
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13847 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-25 04:18:45 +00:00
David Hampton
5179270a50
Don't use the full width of the dialog, only as much as is necessary
...
for the content.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13846 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-25 04:17:48 +00:00
Chris Shoemaker
c07435ed36
Another crack at fixing bug #327780 .
...
Simplify the control flow around the code in gnc_split_register_save() that
decides what transactions to commit and when. Be sure to commit the
blank transaction even when it's not the pending transaction. Refresh the
register after transaction rollback.
Add more assertions that will either fail in some case I haven't tested or
prove that more register code is unreachable.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13844 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-24 22:35:33 +00:00
Chris Shoemaker
2b9956ae42
Use 'pending_trans' variable name for clearer code.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13843 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-24 22:27:37 +00:00
Christian Stimming
6762060b6a
Updated French translation by Jonathan Ernst.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13842 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-24 14:20:29 +00:00
Chris Shoemaker
caec68484d
Fix uninitialized use in gnc_split_register_empty_current_trans_except_split
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13841 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-24 13:58:04 +00:00
Christian Stimming
54981967b0
Activate newly added string as string freeze exception. That bug was grave enough to justify this.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13840 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-24 08:23:03 +00:00
Chris Shoemaker
c892fdc474
Default the budget page's show_hidden flag to FALSE. Closes #339413 .
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13836 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-24 00:58:43 +00:00
Chris Shoemaker
3ca300ec3b
sync ChangeLog from 'svn log -v'
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13835 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-24 00:12:18 +00:00
Chris Shoemaker
752096c439
Don't immediately commit the blank transaction after creating it.
...
When saving the register state, don't commit an open transaction unless
we think it was opened from this register.
These changes are intended to fix bug #327780 . I've also added several
related assertions. If any of these assertions fail, it may indicate that
I don't really understand what's going on, and that this may not be the
correct fix for #327780 .
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13834 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-23 23:01:46 +00:00
Chris Shoemaker
78f8adc645
Remove some unnecessary Begin/Commit blocks around code that is already
...
transactional.
Convert some Split function calls to the xaccSplit... form.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13833 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-23 21:07:55 +00:00
David Hampton
8600495bb8
Update a report's tab name in the main window when the name in the
...
report options is changed. Fixes #334199 . Also update a register's
tab name if the account name is changed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13832 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-22 20:14:41 +00:00
Christian Stimming
913f040e62
Mark string for translation as pointed out by Andreas Köhler.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13831 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-22 19:04:02 +00:00
Chris Shoemaker
cf8d35eb04
Internalize the transactional semantics for all Transaction setters.
...
This is what I actually intended in r13130, but we want the stuff that
xaccTransCommitEdit provides over-and-above what qof_commit_edit provides.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13830 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-22 05:14:48 +00:00
David Hampton
e40ba0bae1
Fix a null pointer dereference. Don't make the Close button sensitive
...
until a page has been added. Fixes #339372 .
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13829 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-22 05:09:17 +00:00
David Hampton
5e52877b5b
Rename some icon files.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13828 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-22 04:53:16 +00:00
Chris Shoemaker
39d4d945b8
Replace calls to QOF_COMMIT_EDIT_PART1 macro with calls to qof_commit_edit()
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13827 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-22 04:42:29 +00:00
David Hampton
1ef61103f4
Add new icons for invoices, adding a scheduled transaction, and the
...
jump action. Fixes #339112 .
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13826 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-22 04:02:21 +00:00
Chris Shoemaker
76f16c91d2
Avoid buffer overrun in qoflog.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13825 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-22 01:25:35 +00:00
David Hampton
a25c54896e
Don't allow the user to open the current log file. Fixes #337211 .
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13824 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-22 00:57:03 +00:00
David Hampton
3b9d56fe93
Don't allow a report page to be closed of it is in the process of
...
reloading. Make the close buttons on the notebook tabs insensitive
when the rest of the UI is insensitive. Fixes 339327.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13823 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-21 22:55:05 +00:00
David Hampton
8de7eaa17b
Make the "Welcome to GnuCash" report menu item build the entire
...
report, instead of just the first sub-report.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13822 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-21 21:14:18 +00:00
David Hampton
1b16f1e3ad
Correctly save and restore multicolumn reports. Fixes 327627.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13821 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-21 19:21:40 +00:00
David Hampton
68ae6010fe
Don't complain about reports without html titles. This occurs for
...
every embedded report.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13820 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-21 19:18:29 +00:00
David Hampton
8f61cbcac4
Remove translatable flag from a temp label.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13819 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-21 15:25:36 +00:00
David Hampton
5f9d5ef0c1
Remove unused dialog.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13818 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-21 15:22:14 +00:00
David Hampton
095729af58
Add a tooltip for the "hidden" option in the Edit Account dialog.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13817 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-21 15:07:28 +00:00
Christian Stimming
7540d6f08a
Remove erroneous translation in en_GB: Probably a proposed fuzzy translation has been accepted without checking.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13816 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-21 08:09:20 +00:00