Commit Graph

16509 Commits

Author SHA1 Message Date
John Ralls
5b40df510d Bug 763279 - GnuCash has empty reports
On recent builds of gentoo, apparently because the supplied webkit dislikes
that we output xhtml in a file called foo.html. Make the header say that
we're using HTML4.
2016-03-10 10:28:41 -08:00
John Ralls
ec83e3a338 Bug 722996 - Cannot add stock price on Price Editor
gtk_combo_box_set_active() doesn't work if the model is changed after
the combo box is constructed.
2016-03-10 10:28:41 -08:00
Geert Janssens
71574b7dde Minor tweaks to Bayesian feature flag
- use shorter definition
- set correctly understood as of 2.6.12 instead of 2.7.0
2016-03-10 15:30:56 +01:00
Robert Fewell
7003a56171 Make gnucash 2.7+ rerun bayesian data conversion whenever needed
Whenever recent 2.6.x versions of gnucash store bayesian data
in the old format (full account name based), gnucash 2.7+
should perform a conversion the the new format (guid based)
on subsequent opening of the file.
2016-03-10 12:13:13 +01:00
Robert Fewell
1806515122 Allow matching accounts to be found also by their GUID
which will be used in newer versions. The
default behaviour is still to create new entries
under the account fullname.
2016-03-10 12:12:32 +01:00
Robert Fewell
712d340bf4 Introduce GUID_BAYES feature flag
This will be set by future versions of gnucash (2.7+) when
they save bayesian data using GUID's instead of full
account names. The flag will prevent older versions
(2.6.11 and older) from opening data files with such data.
2016-03-10 12:12:30 +01:00
Mike Evans
b89723a561 Bug 762971 - Duplicating multiple invoices results in invoices without an ID number
If a duplicated invoice doesn't have an ID (which it won't if multiple invoices are
duplicated) allocate it (them) the next ID.
2016-03-03 12:13:36 +00:00
Mike Evans
e4e19a4caa Bug - 761172 Importing invoices posts incorrect values.
This looks a rounding error caused by not setting the denominator to an
appropirate value. I've set it to 100x the currency fraction.

For some reason I removed the call to gnc_numeric_convert() in commit
564b987457 I shouldn't have done that. I should have adjusted the denom.
2016-03-02 09:23:10 +00:00
Phil Longstaff
cb88fe8f93 Memory leak in gnc-gsettings.c 2016-02-28 07:42:37 -05:00
Phil Longstaff
97b7c26570 Close some more memory leaks 2016-02-28 07:31:03 -05:00
Phil Longstaff
40c543ef21 Close some memory leaks identified by valgrind. 2016-02-28 00:20:55 -05:00
Geert Janssens
acdd5d0208 Bug 744157 - Tip about subaccount is confusing 2016-02-22 16:39:47 +01:00
pmralbuquerque
26de138563 Updated translations after TACG translation 2016-02-21 11:02:26 -08:00
fell
05da881fa8 Update the list of Finance::Quote methods
It is now be close to F::Q 1.38.
A few methods remain still in unknown:
Most are aliases.
Bitcoin* would spam the list,
MtGox* will be dropped.
2016-02-17 03:36:11 +01:00
Sebastien Bourdelin
029a6653d6 Fix a typo
éargne -> épargne.
2016-02-12 17:58:16 +01:00
fell
00c72830d8 Add comment about replacement of 10000 BYR by 1 BYN
Supplement of commit 10fbd1f
2016-02-09 18:29:35 +01:00
RobGowin
6e50516c1d cmake - Increase test pass rate on Windows 2016-02-01 18:29:34 +01:00
Prayag Verma
17033c64d8 Fix Typos in doc/README.translator.txt
Convert file to UTF-8
Spelling mistakes fixed -
begining > beginning
tranlation > translation
2016-02-01 18:13:55 +01:00
RobGowin
42e5dd5c8c cmake - Add ability to run tests under CMake 2016-01-24 19:54:33 -06:00
RobGowin
9b82651d3a Don't skip test under clang when using Guile 2.x 2016-01-24 16:28:12 -08:00
RobGowin
2bf0fed4a3 Change test to use LIBDIR to find dynamic libraries 2016-01-24 16:28:12 -08:00
RobGowin
7ab481a134 Add TEST_PATH variable to test
This allows the tests to run from some place other
than the current working directory.
2016-01-24 16:28:12 -08:00
John Ralls
9be5a8be46 Fix Travis build error. 2016-01-24 16:22:46 -08:00
John Ralls
9ea58f26f2 Pretty up the SLR error dialog. 2016-01-24 16:13:33 -08:00
John Ralls
80317a2a5a Bug 754856 - scheduled transaction <gnc.app-utils.sx> fails without warning
Prevent incrementing the SX instance if the Transaction creation fails.
2016-01-24 15:29:02 -08:00
John Ralls
2e8407ed12 Bug 754856 - scheduled transaction <gnc.app-utils.sx> fails without warning.
Add warnings, both when saving the SX and when running an instance from the
Since Last Run dialog.
2016-01-24 14:41:55 -08:00
John Ralls
1ecb123597 Revert "Use python 3.3 VirtualEnv on travis."
This reverts commit aa2c1303fd.
Wrong repo.
2016-01-23 10:46:51 -08:00
John Ralls
aa2c1303fd Use python 3.3 VirtualEnv on travis.
Should fix get-pip.py installation failure.
2016-01-23 10:45:36 -08:00
RobGowin
ed8e79c671 [cmake] Reflect commit db0fd2 (Replace the TP pt.po ...) in CMake build. 2016-01-22 09:46:00 -06:00
Geert Janssens
06c379594b Align gtkmm test suite with recent template updates
This is not used by default for gnucash, and maybe even
not used at all. At least it's consistent with the other
test files now.
2016-01-22 11:14:58 +01:00
Geert Janssens
5dfb8fd0c5 Revert "Fix typo"
This reverts commit 92f2863658.
2016-01-22 11:13:19 +01:00
Geert Janssens
92f2863658 Fix typo 2016-01-22 10:44:15 +01:00
John Ralls
595dbbfb13 Fix typo. 2016-01-21 12:56:53 -08:00
John Ralls
fba7a4ce14 Fix segfault in utest-gnc-csv-model Teardown. 2016-01-21 12:08:24 -08:00
John Ralls
60ae4ac8ec Fix new cdv-import tests for running in a separate build directory. 2016-01-21 12:07:29 -08:00
Alexander Pushkarev
10fbd1fdd2 adding BYN currency according to ISO 4217 ammendment #161 http://www.currency-iso.org/en/shared/amendments/iso-4217-amendment.html 2016-01-21 09:07:22 -08:00
Geert Janssens
bb915dc8f1 csv-imp - add parse test for semicolon separated strings 2016-01-20 20:56:42 +01:00
Geert Janssens
d6e6eb6401 csv-imp - new parse test starting from an in-source string struct
This test reads its test data from a struct in the test source
instead of from a real csv file.
This allows to keep the string to parse and
the expected parsed fields in one struct for evaluation.
2016-01-20 20:56:38 +01:00
Geert Janssens
1a65e7165f csv-imp - use GNC_TEST_ADD_FUNC for test_parse_date as well 2016-01-20 20:56:33 +01:00
Geert Janssens
1da2eacf2b csv-imp - test_gnc_csv_new_parse_data doesn't use the fixture
So add the test via GNC_TEST_ADD_FUNC instead.
This also fixes the segfault in gnc_csv_parse_data_free.
2016-01-20 20:56:28 +01:00
Geert Janssens
88495d23b4 Match calls to g_string_chunk_new with g_string_chunk_free 2016-01-20 20:56:23 +01:00
Geert Janssens
df55119654 csv-imp - don't free the parse data just created for testing
For some odd reason it makes the test segfault.
2016-01-20 20:56:17 +01:00
Geert Janssens
c59d1a2236 csv-imp - move tests for gnc_csv_load_file to separate function 2016-01-20 20:56:12 +01:00
Geert Janssens
6b9823c614 csv-imp - test for gnc_csv_new_parse_data and skip gnc_csv_parse_data_free
The latter has no output that can be tested on
2016-01-20 20:56:07 +01:00
Geert Janssens
985bf549c3 csv-imp - use setup and teardown for test_gnc_csv_parse 2016-01-20 20:56:02 +01:00
Geert Janssens
ae40a4c6d8 Mark static functions as not testable 2016-01-20 20:55:58 +01:00
Geert Janssens
2763b485f1 Test Date fixup 2016-01-20 20:55:53 +01:00
Geert Janssens
8fba6e216d csv-imp - add test for parse_date 2016-01-20 15:49:57 +01:00
Geert Janssens
598531f7e6 csv-imp - add basic test for gnc_csv_parse 2016-01-20 15:49:55 +01:00
Geert Janssens
afff8102f4 csv-imp - add initial (empty) test framework 2016-01-20 15:49:53 +01:00