Commit Graph

17126 Commits

Author SHA1 Message Date
Geert Janssens
ce748cceb8 Merge branch 'maint'
Resolved conflicts:
	src/import-export/csv-imp/gnc-csv-model.h
	src/libqof/qof/gnc-date.h
	src/optional/gtkmm/test/Makefile.am
2016-01-22 11:43:23 +01: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
Geert Janssens
8168f45a6f Set fixed time values so test results won't depend on the time the test is run 2016-01-20 15:49:51 +01:00
Geert Janssens
25542415a6 Adjust GError usage to comply with the GError rules
- Define an error domain (different from 0)
- Adjust member names in error enumeration to follow
  required naming conventions
2016-01-20 15:49:50 +01:00
Geert Janssens
bd59bab28f Cumulated minor spelling fixes in comments
and other non-code texts
2016-01-20 15:49:48 +01:00
Geert Janssens
24773aa293 Some indentation adapations 2016-01-20 15:49:46 +01:00
Geert Janssens
001045881c Hide owner abstraction from user oriented gui 2016-01-20 15:44:28 +01:00
John Ralls
5839235861 Add small utility to print message catalog statistics.
Use perldoc on it for details.
2016-01-19 16:24:20 -08:00
John Ralls
db0fd2e908 Replace the TP pt.po with the directly-contributed pt_PT.po
The TP translation hadn't been maintained in over 10 years and there's
no evidence of an active TP pt team. TP coordinator has marked pt as
'external' in TP configuration.
2016-01-19 13:50:57 -08:00
Robert Gill
e4a249d94e Bug 723689 - Splash screen doesn’t set the floating hint. 2016-01-18 09:52:07 -08:00
John Ralls
d8aea0f40c Bug 760711 - Non-ASCII characters not shown in Report Name when a report is created with 2.6.11
Due to fixing bug 727130 with g_strexcape, which escapes all non-ascii
characters.
2016-01-17 18:46:00 -08:00
fell
cf26b5c86b Fix a mistyped error message in configure.ac 2016-01-17 21:39:54 +01:00
fell
9a0d2a2e1b Supplement to commit 837b258: Add ChangeLog.2015 to dist_doc_DATA 2016-01-17 08:45:11 +01:00
John Ralls
290232e2cb Merge branch 'maint'
Fixes breakage of Windows master build by not trying to link on Windows.
2016-01-15 10:03:24 -08:00
John Ralls
43cb48efd9 Fix reset of PKG_CONFIG_PATH to unset variable.
Apparently a cmake upstream bug.
2016-01-15 10:02:11 -08:00
RobGowin
88a1d1412a Tweak handling of COPYING file
* Fix symlink to not escape local directory
* Copy instead of link for Win32
* Remove COPYING and INSTALL from maint branch
2016-01-15 09:59:55 -08:00
RobGowin
53b7c51632 Support CMake 3.0 for Debian Jessie 2016-01-14 09:58:29 -08:00
Mike Evans
9b21c9e682 Bug 756469 - CSV Invoice Import - Items with double quote escape not imported.
Update regex to accept escaped quotes in (some) quoted fields. Thanks Derek.
Convert escaped quotes "" to unescaped " in notes and description fields.
2016-01-14 13:47:35 +00:00
John Ralls
9494219603 Merge branch 'maint'
Link LICENSE to COPYING.
2016-01-12 16:22:57 -08:00
John Ralls
584161c97b Link LICENSE to COPYING, don't install INSTALL.
The original plan was to duplicate exactly what automake does, but
we don't really want to do that. Automake installs the GPLV3 COPYING
which we don't use--LICENSE is the GPLV2 version--and INSTALL is the
autotools procedure that doesn't make sense for a cmake build.
2016-01-12 16:18:31 -08:00
John Ralls
52df775ada Merge branch 'maint'
Reconcile the cmake build.
2016-01-12 16:14:46 -08:00
Rob Gowin
448148681f CMake build changes for maint
* Rename various .cpp files back to .c

* Carry copy INSTALL and COPYING from autotools.

* Fix unrelated issue with installing quote scripts.
2016-01-12 14:47:11 -08:00
Rob Gowin
1d474968ca Add ability to build GnuCash with CMake
Backported from master.
2016-01-12 14:47:11 -08:00
John Ralls
18011a6486 Add dialog-imap-editor to CMakeLists.txt. 2016-01-12 14:37:58 -08:00
John Ralls
e5a4a5c432 Bug 760529 - Get Quotes updates value just once per day 2016-01-12 11:56:51 -08:00
John Ralls
085c56d8df Remove extraneous debugging output. 2016-01-12 07:29:26 -08:00
Mike Evans
4d9440f38b Added some comments. 2016-01-12 14:49:11 +00:00
John Ralls
8428c81e2f Merge branch 'maint' 2016-01-11 15:29:18 -08:00
John Ralls
a3e59e557a Merge branch 'import-map-editor' 2016-01-11 12:40:10 -08:00
John Ralls
6ea11539b6 Add missing static declaration. 2016-01-11 12:23:23 -08:00