Commit Graph

16036 Commits

Author SHA1 Message Date
Geert Janssens
68903c9208 Bug 712299 - Tax Invoice with guile 2 doesn't display currency symbols
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23416 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-20 10:53:20 +00:00
Geert Janssens
5a02a247f8 Small fixes to make the Windows build work again after r23412
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23415 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-20 10:01:56 +00:00
John Ralls
0c7504c9ef Bug 711289 - time zone handling is inconsistent between 2.4 and 2.5
This had escaped the windows TZ workaround.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23414 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-20 03:15:25 +00:00
Mike Alexander
390c14aec2 Decompress zipped XML files ourself instead of letting libxml2 do it.
As of version 2.9.1 it has a bug that causes it to fail to decompress certain files.
See https://bugzilla.gnome.org/show_bug.cgi?id=712528 for more info.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23412 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-19 03:47:07 +00:00
Christian Stimming
77471eb70b Cutecash: Adapt to compiler/linker flags that are needed on Ubuntu 13.10
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23411 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-18 08:00:44 +00:00
Christian Stimming
a6f2ba86d7 Cutecash: Adapt to recent gconf file changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23410 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-18 08:00:34 +00:00
John Ralls
79d6a39907 Bug 336843: Correct Win32 Display function.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23408 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-17 22:20:20 +00:00
Mike Alexander
d6a8f9c0ea Add missing semicolon and only dump transaction when debugging.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23407 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-17 06:32:08 +00:00
John Ralls
1ddf6b7dcc Release 1.5.8
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23404 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-17 01:00:34 +00:00
John Ralls
83ca0278f8 Adjust Makefile.am for new runTests.py.in
Left over from r23392

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23403 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-17 01:00:25 +00:00
Mike Alexander
679e78e45c Turn off the scheme compiler's "possibly unbound variable" warnings.
In guile 2.0 we get nearly 7500 of them loading the scheme files.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23402 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-16 22:59:00 +00:00
Geert Janssens
a4b143457a Remove some redundant variable definitions in Makefile.am
These are set automatically via AC_SUBST in configure.ac

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23401 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-16 16:37:58 +00:00
Geert Janssens
470eed235f Don't distribute files generated by configure
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23400 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-16 16:37:50 +00:00
Geert Janssens
5b7ca5caf1 Fix distcheck-hook to handle [type: ] prefixes in POTFILES.in properly
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23399 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-16 16:37:37 +00:00
Geert Janssens
6692d4bb1b Don't create invoice when Duplicate invoice dialog is cancelled
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23398 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-16 12:51:54 +00:00
John Ralls
f205698311 Bug 336843: Attach images/files/urls to transactions.
Author: Patrick <patrick@setsuid.net>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23397 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-15 22:02:34 +00:00
John Ralls
a0c68c176c Bug 711289: Time Zone Handling is Inconsistent between 2.4 and 2.5
Also Bug 699977: Since Last Run Assistant Using Wrong Time Zone in
Release 2.5.1.

Fix an error in the formatting of TZ offsets to g_time_zone_new().

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23396 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-15 19:17:30 +00:00
Geert Janssens
8d50e55bcb Bug 707311 - Tax Invoice fails to open when using guile 2
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23395 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-14 14:24:54 +00:00
Geert Janssens
83aee2b5fb Bug 709589 - make check fails with guile 2
The use of (macro? ) has changed in guile2.
In addition the test script has been reformatted
to make it more readable and easier to detect
where exactly it fails.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23394 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-13 15:52:04 +00:00
Geert Janssens
8074fee8d9 Make python test find its test files for out of tree builds
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23393 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-13 15:51:55 +00:00
Geert Janssens
aac58df6b8 Use guile/python executable as found during configure for tests and some support scripts
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23392 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-13 15:51:44 +00:00
Geert Janssens
80c7559c3d Replace all uses of GUILE_INCS with GUILE_CFLAGS
This cleans up some left overs from before guile had a .pc file

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23391 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-13 15:51:24 +00:00
Geert Janssens
a952699285 Improve guile testing in configure.ac
Use guile specific macros to determing the guile executable to use.
Unfortunately the macro names may be different on various supported
platforms. So we have to run some extra tests to determine which
macro names we need exactly.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23390 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-13 15:50:59 +00:00
Christian Stimming
e65779599c First update of German translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23389 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-13 07:18:53 +00:00
Christian Stimming
27667582b1 I18n message improvements: Fix typos; unify strings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23388 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-13 07:18:36 +00:00
Mike Alexander
7942b9c11e Collapse the two transaction currency scrubbing functions into one and fix some bugs.
The most serious bug was that it would, in some cases, set the transaction's currency
to a non-currency commodity.  It also sometimes set the currency directly without calling
xaccTransSetCurrency which skipped a number of side effects.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23387 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-11 03:09:57 +00:00
John Ralls
18ac55505b Wrap budget UI strings in the translation function
Author: Robert Ratliff

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23386 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-10 21:35:34 +00:00
John Ralls
8b51ff9d13 Fix Application Menu Preferences Item
Previous fix put it in the wrong place and didn't even fix changing it to "Preferences Gnucash".

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23385 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-10 21:35:25 +00:00
John Ralls
44ca77766a Fake edit level for tests and SQL backend.
These are cases where we don't want to commit, either because it would be circular (the backend is loading; committing the result back would at best waste time) or because we're testing some narrow functionality.
2013-11-10 13:31:00 -08:00
John Ralls
4d511218a5 Move edit level assert to persistent class set_property functions.
Checking at qof_instance_set was too broad.
Requires detecting persistent vs. run-time properties, which is accomplished by reordering the PROP enum and introducing a PROP_RUNTIME_0 separator value.

While at it, identify as comments the persistent properties which aren't yet properties.
2013-11-10 13:28:29 -08:00
John Ralls
96106fb8fa Fix Application Menu Preferences Item
Previous fix put it in the wrong place and didn't even fix changing it to "Preferences Gnucash".
2013-11-10 13:22:48 -08:00
John Ralls
f1fdeac4c9 Fix SX value calculation.
Passed in numeric pointer was being set to NULL by qof_instance_get.
2013-11-10 13:21:16 -08:00
Mike Alexander
b205a7713d Handle multi-currency transactions in registers without a default currency.
Editing a multi-currency transaction in a serach results register sometimes
sets the exchange rate to 1 instead of the value you want.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23384 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-08 04:53:10 +00:00
Christian Stimming
79d8d8059a Bug #711493: Fix unselected account that is NULL.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23383 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-05 21:44:15 +00:00
John Ralls
93f5d48a4a Fix a qof_instance_set call outside of an edit. 2013-11-05 13:19:58 -08:00
John Ralls
0418280e04 Ensure that all qof_instance_get target variables are initialized
If qof_instance_get doesn't complete, perhaps because it was passed an invalid instance, the target variable might otherwise be used uninitialized.
2013-11-05 13:19:04 -08:00
John Ralls
517f161e35 Update dependencies and versions
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23382 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-05 19:33:10 +00:00
John Ralls
ecee2d963f Update dependencies and versions 2013-11-05 11:32:12 -08:00
Geert Janssens
79bb4b8b78 Enable translations on gsettings schemas
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23381 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-05 18:37:45 +00:00
Geert Janssens
b3b40ac924 Bug 711294 - Gnucash repeatedly ask associated income account when import qfx file
Patch by Kuang-che Wu <kcwu@csie.org>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23380 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-04 21:23:48 +00:00
Geert Janssens
05953e51f6 Use proper conversion modifier for unsigned int
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23379 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-11-04 21:23:24 +00:00
John Ralls
d0be95f2c6 Assert on entry to qof_instance_set() if editlevel is 0
To ensure that change will be forwarded to the backend
2013-11-04 11:41:14 -08:00
John Ralls
291a3abfa3 Add a call to $TESTS_ENVIRONMENT in tests:
So that g_tester-based tests can be set up to use Guile.
2013-11-04 11:40:16 -08:00
John Ralls
6515a8e858 Contain getting slots for gnc_options_db inside QofBook
Turn gnc_option_db_save_to_kvp and …load_from_kvp into callbacks passed to qof_book_(save|load)_options to avoid adding a dependency between qofbook and option-utils.
2013-11-04 11:40:15 -08:00
John Ralls
38b3961bb8 replace qof_book_kvp_changed with qof_instance_set_dirty 2013-11-04 11:40:13 -08:00
John Ralls
7faed65401 Remove QofBook KVP access for several options
Replace them with GObject Properties. Note that the setters for these properties are handled in Scheme and still use the raw KVP access.
2013-11-04 11:40:12 -08:00
John Ralls
36eba1ac42 Replace business kvp access with properties. 2013-11-04 11:36:33 -08:00
John Ralls
272655b60c Replace Import KVP access with properties. 2013-11-04 11:35:07 -08:00
John Ralls
3a51d704c8 Replace usage of SX kvp access with SX properties. 2013-11-04 11:35:06 -08:00
John Ralls
db1b2caebf Add GncOwner kvp properties
export-pdf-dir, invoice-last-posted-account, payment-last-account

Since GncOwner isn't in the class hierarchy these properties must be implemented exactly alike in the three classes where they're appropriate.
2013-11-04 11:35:05 -08:00