Commit Graph

9726 Commits

Author SHA1 Message Date
Christian Stimming
013771fdfe Added new Austrian German account templates by Roman Bertle
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13988 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-10 12:50:35 +00:00
Christian Stimming
d2ce26482e Fix erroneous guid types in account template
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13987 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-10 12:47:56 +00:00
Christian Stimming
db6900e091 Small wording fix in German translation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13986 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-10 12:32:26 +00:00
Chris Shoemaker
3ed9be95ba Fix fancy invoice report. Bug #341046.
Also, liberalize gnc:html-table-append-row! to accept a non-list argument.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13985 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-10 03:54:45 +00:00
Chris Shoemaker
227f13e913 Silence guile warnings about duplicate binding introduced in guile-1.8.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13984 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-10 01:53:24 +00:00
Derek Atkins
120a76c8d8 Bill Nottingham's patch to fix a guile parser problem during build.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13980 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-09 22:44:07 +00:00
Chris Shoemaker
b175702b45 Use g_get_current_time() instead of gettimeofday(). Fixes #341044.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13966 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-09 03:17:04 +00:00
Chris Shoemaker
aeda15cb74 Limit memo length to 27 chars on Quicken wallet checks with side stub
Patch by David Reiser, bug #340977


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13965 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-09 00:42:32 +00:00
Christian Stimming
5340a658ec Add MT940 example file for testing mt940 import
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13959 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-08 19:57:10 +00:00
Chris Shoemaker
7bb7a5536c Remove some unnecessary calls to xaccGroupMarkNotSaved() which were
dirtying the book implicitly without setting any time of first change.
   Instead, make sure that committed Splits dirty their parent Transaction.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13958 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-08 04:56:17 +00:00
Chris Shoemaker
de0c1edcb5 Add a flag, 'infant', to QofInstance to note that the instance has been
committed at least once in its lifecycle.  Then, we can mark the collection
   dirty whenever an object is committed, except for the special case of an 
   QofInstance that has never been committed before and is now being deleted.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13957 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-08 04:47:04 +00:00
Chris Shoemaker
6b925724e7 Fix off-by-one error when checking editlevel in qof_commit_edit() (and
macro version), in case we ever want qof_commit_edit() to actually do 
   something with a backend.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13956 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-08 03:04:49 +00:00
Chris Shoemaker
57636f50e4 Make qof_commit_edit() (and macro version) call qof_backend_run_commit()
instead of qof_backend_run_begin().
   Minor cleanups of qof_commit_edit() and qof_begin_edit().


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13955 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-08 03:02:15 +00:00
Chris Shoemaker
681577f889 Add begin/commit edit blocks to budget setters. Change to using the
"destroy" method for budget deletion.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13954 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-08 02:54:03 +00:00
Joshua Sled
9593088a56 Simply traversal impl.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13944 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-07 21:52:15 +00:00
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