Commit Graph

2629 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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