Commit Graph

10073 Commits

Author SHA1 Message Date
David Hampton
9c24273f83 Replace NS_ISO with NS_CURRENCY. This substitution was already
performed by the called functions, so there this change is purely
cosmetic.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13776 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-14 02:36:00 +00:00
David Hampton
df6d6c6835 Another comment.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13775 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-14 02:31:07 +00:00
David Hampton
94ab607bb5 Add a couple of comments.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13774 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-14 02:29:53 +00:00
Andreas Köhler
9b47d47ec4 Fix loop of split account reassignments in xaccGroupMergeAccounts, because the commit of one split will change the list itself. Potentially fix 337048.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13773 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-13 19:39:37 +00:00
Christian Stimming
e7abbc61d4 Update/merge po files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13772 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-13 09:01:44 +00:00
David Hampton
751e720a9f Update the determination of what's a currency and what isn't. Fixes
337804.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13771 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-12 15:22:57 +00:00
Chris Shoemaker
a83d0c0502 Test for support of the tree-model-sort interface instead of one particular
implementation.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13770 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-12 02:31:23 +00:00
Andreas Köhler
8b4f3a1570 Fix leakage of old books.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13769 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-11 20:49:35 +00:00
Derek Atkins
dd321449ce * lib/libqof/qof/qofbookmerge.c: fix a few memory leaks.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13768 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-11 15:20:04 +00:00
Chris Shoemaker
5cb26b7614 Implement Split events for Split destruction, Split rollback, (including
Split un-destruction) and Split re-parenting.
   All these actions now generate ITEM-REMOVED or ITEM-ADDED events for
   related Transactions (as appropriate).

   Minor: allow xaccSplitSetParent() to accept a NULL argument in order to use
   it in the rollback-newly-created-split case.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13767 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-11 03:12:09 +00:00
Chris Shoemaker
7b489a6943 Avoid generating Transaction modified events for Transaction roll-back.
Enable emission of some new Split events.
   Use xaccSplitRollbackEdit() in implementation of xaccTransRollbackEdit().
   Avoid rollback of Splits not owned by the Transaction.  This was actually
   impossible to encounter, but the algorithm is now correct even for some
   cases that aren't permitted by other code. 


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13766 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-11 02:55:57 +00:00
Derek Atkins
422bf34bfe Get gnucash to build properly with the new QOF changes (0.6.4+)
* src/backend/file/sixtp-utils.c:
	  use QOF_SCANF_LLD to read 64-bit numbers.
	* src/gnome-utils/QuickFill.c:
	* src/engine/gnc-pricedb.c:
	* src/engine/Transaction.c:
	* src/engine/gnc-commodity.c:
	  convert gnc_string_cache* APIs to CACHE_* APIs.
	* src/engine/Account.c:
	  Properly convert usage of SAFE_STRCMP() to safe_strcmp()
	* src/engine/kvp-scm.c:
	  #include <qof.h> instead of <kvp_frame.h>
	* src/engine/gnc-engine.c:
	  Update the method used to shutdown QOF.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13765 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-10 22:20:12 +00:00
Derek Atkins
f9d1f3e42f Create a QOF_SCANF_LLD (because we cannot use the printf version).
Keep the deprecated GNC_SCANF_LLD defined in terms of the new
QOF_SCANF_LLD.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13764 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-10 22:13:46 +00:00
Derek Atkins
5028d178ea Revert r13749. Wedon't need to explicitly #include glib.h
because qof.h includes it for us.  Also, this changeset contains
lots of other stuff that has nothing to do with glib.h.  Note
that this revision wont build, but I'll fix that shortly.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13763 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-10 21:49:44 +00:00
Derek Atkins
18700492c5 Back out r13752. We don't need to explicitly #include glib.h
because qof.h includes it for us.  Besides, it doesn't fix
the whole problem.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13762 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-10 21:14:34 +00:00
Christian Stimming
36a79b66f9 Updated German translation. 3601 out of 3620 translated.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13761 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-10 20:54:49 +00:00
Christian Stimming
684f9ed579 Fix spelling error
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13760 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-10 20:48:09 +00:00
David Hampton
454aabb1bd Eliminate some unnecessary work by comparing the account name in the
quickfill with the actual account name, and only rebuilding the
quickfill if they differ.  This improves GnuCash's response somewhat,
but still needs more improvement.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13758 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-08 23:52:20 +00:00
Neil Williams
ed58ab94a7 typo - erroneous &
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13757 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-08 22:50:08 +00:00
Christian Stimming
d7348c2ad8 Updated German translation. 3562 out of 3620 translated.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13756 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-08 10:06:32 +00:00
David Hampton
3dacd15900 Include the svn revision number in the about dialog.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13754 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-07 23:39:53 +00:00
Derek Atkins
aaa13ff290 * lib/libqof/qof/qof.h: QOF requires <glib.h>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13753 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-07 19:46:36 +00:00
Neil Williams
df60a67ffd already include glib/gi18n.h, also need glib.h
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13752 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-07 19:25:21 +00:00
Neil Williams
7c16a84860 Move example from gnc_numeric.h to a separate Doxygen file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13751 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-07 18:52:51 +00:00
Neil Williams
ba61372f97 Replacing deprecated code.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13750 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-07 18:52:28 +00:00
Neil Williams
66a9c0b6ac Explicitly including glib.h instead of relying on libqof to reduce dependency problems.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13749 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-07 18:51:52 +00:00
Neil Williams
26a4051c70 QOF 0.6.4 requirement
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13748 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-07 18:50:45 +00:00
Neil Williams
68ac06b219 Standardise on gint and gchar. libqof 0.6.4 release.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13747 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-07 18:50:08 +00:00
Neil Williams
8edd35d84d Add encoding support and fix compression option handling
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13746 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-07 18:49:40 +00:00
Neil Williams
960e545a8f Replace gnc-engine-util with qofutil
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13745 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-07 18:49:12 +00:00
David Hampton
f17cbc8281 Patch from chpe@gnome.org to use the gtk_show_about_dialog to avoid an
inconsistency in the GtkAboutDialog code. Fixes 337634.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13744 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-07 15:53:52 +00:00
David Hampton
dcf55d0a40 Generate the gnc:count-data tags by hand so that the attribute will be
written properly with all versions of libxml2.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13743 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-07 04:26:59 +00:00
David Hampton
cdb4c42f62 When writing a currency to the data file, write the full commodity
data block for backward compatibility with 1.8, instead of just
writing the quote source information.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13742 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-07 04:21:02 +00:00
David Hampton
f31638e1cd Make the entire UI (menus and toolbar) insensitive when the progress
bar is showing.  Replaces the code to make the Save/Save As menus
insensitive while saving.  Should prevent a whole class of bugs caused
by gtk commands sneaking in and causing non-recursive code to be
entered recursively.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13741 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-06 03:44:50 +00:00
Chris Lyttle
7f6ca4d36c update to release 1.9.4
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13739 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-06 03:02:49 +00:00
Chris Shoemaker
720f543e25 Make the tests for growing commodity tables more accurate -
silences incorrect failures.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13738 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-05 22:30:00 +00:00
Chris Shoemaker
0609d99045 When destroying a commodity, remove it from the commodity table.
Fixes random crashes demonstrated by test-xml-commodities.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13737 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-05 17:59:14 +00:00
Christian Stimming
69daf241c8 Fix changed button label in text; 337190.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13736 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-05 09:17:48 +00:00
Christian Stimming
66d37004ec Updated Spanish translation by Eneko Lacunza
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13735 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-05 07:10:59 +00:00
Christian Stimming
10a04d723f Fix translatable atttribute of non-visible label
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13734 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-04 08:48:13 +00:00
Christian Stimming
4beb9a94d2 Updated Norwegian translation and glossary by Tor Harald Thorland
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13733 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-04 08:45:27 +00:00
David Hampton
79c0b4f77d Serialize access to the "Save" and "Save As" commands. Fixes 148905.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13732 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-03 22:26:39 +00:00
David Hampton
73e481da0c Use the name "Currency" internally instead of ISO4217. Make it
possible to edit the "get quotes" flag on currencies.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13731 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-03 21:39:25 +00:00
Neil Williams
1d3a7372cb updated en_GB translation, utf-8. 3626 messages
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13730 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-03 21:28:07 +00:00
Christian Stimming
a29bab41ac Updated German translation - 3551 out of 3617 done.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13729 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-03 18:34:45 +00:00
David Hampton
3ed67b5ba8 Change the access key on the "Change Split" button. Fixes 336836.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13728 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-02 22:10:16 +00:00
David Hampton
2fdbed9939 Change the access key on the Transaction menu to not conflict with the
Tools menu.  Fixes 336829.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13727 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-02 21:59:28 +00:00
Andreas Köhler
843ad075c8 Set search column for account types lists interactive search. Fix 336833.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13726 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-01 23:06:23 +00:00
Christian Stimming
60a7e2e614 Make update-po for upcoming release
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13725 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-01 09:40:49 +00:00
Christian Stimming
dc117eb26e Updated German translation - 3540 out of 3616 done.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13724 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-01 09:39:52 +00:00