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
David Hampton
9a3be57d8d
Mike Alexander's patch to get currency quote retrieval working again,
...
and some other small currency quote bugfixes. Closes 333572.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13723 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-01 05:45:07 +00:00
David Hampton
73e02ed09a
Remove debug message.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13722 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-01 05:28:52 +00:00
Joshua Sled
fa132e4bab
match quotes (breaks editor syntax hilighting)
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13721 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-31 21:08:24 +00:00
Joshua Sled
a82ad54aa5
spelling fix.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13720 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-31 21:03:13 +00:00
David Hampton
e615f2ec5a
Restore sorting transactions by date posted. Fixes 335190.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13719 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-31 06:38:47 +00:00
Chris Shoemaker
ec1bcb86df
Return the actual number of test failures with get_rv().
...
Use shorter strings for commodity mnemonics.
Ensure that test splits amount and value have the same sign.
Avoid numerical overflow in rate calculation when generating test splits.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13718 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-31 01:43:16 +00:00
Joshua Sled
3233622edc
Tighten the grammar around quoted strings. Test-case fixes.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13717 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-31 00:00:43 +00:00
Joshua Sled
f39f66e858
factor out grammar check, add tests.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13716 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-30 20:59:38 +00:00
Joshua Sled
6dbc113082
Bugs#308554, 334811: Add basic validation and test-cases for invalid expressions.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13715 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-30 19:48:30 +00:00
David Hampton
a4952b7cae
Fix the dialog so that the 'Cancel' button cancels all changes made
...
since the dialog was opened. (c.f. The HIG section on explicit apply
windows.) The 'OK' button is now always sensitive.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13714 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-30 18:00:44 +00:00
David Hampton
36e7673159
Work around the fact that a validating XML parser barfs on gnucash's
...
use of an attribute in an undefined namespace.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13713 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-30 17:20:29 +00:00