Commit Graph
16474 Commits
Author SHA1 Message Date
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 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
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 e5a4a5c432 Bug 760529 - Get Quotes updates value just once per day 2016-01-12 11:56:51 -08:00
Mike Evans 4d9440f38b Added some comments. 2016-01-12 14:49:11 +00:00
strainu 2f6c7a1775 Update Romanian translations 2016-01-11 12:11:07 -08:00
John Ralls f67faa24c6 Release 2.6.11 2.6.11 2016-01-10 15:42:14 -08:00
John Ralls 837b25830d Update copyright and ChangeLog for the new year. 2016-01-10 15:39:59 -08:00
John Ralls 4c399e8832 Add Language header value to silence msgfmt error. 2016-01-10 14:57:33 -08:00
John Ralls f5b4626fd8 Update TP translations to latest files. 2016-01-10 14:56:41 -08:00
Mike Evans d8a74b3a8b Bug 760398 - Cancelling the creation of a duplicate bill or invoice doesn't reset the invoice number counter
Don't set the invoice ID before the user has clicked OK in the dialog.
If the user cancels in the dialog the counter would have already been
incrementd. Making the ID an empty string makes the ID be set in
gnc_invoice_window_verify_ok().
2016-01-10 16:15:24 +00:00
John Ralls abeb07bcc8 Fix travis compilation error. 2016-01-09 14:38:54 -08:00
Pedro Albuquerque 9c554ec328 Update to 2.6.10.pot 2016-01-09 13:38:44 -08:00
John Ralls fdfea816e1 Refactor the horror of gnc_sxed_check_consistent().
Several extract-function refactors plus some whitespace cleanup.
2016-01-09 13:34:45 -08:00
John Ralls b02e280727 Refactor gnc_sxed_check_changed() with a bunch of extract-functions. 2016-01-09 13:34:45 -08:00
John Ralls f8a0108a02 Don't make the $prefix/share/gnucash/gnome link on OSX_QUARTZ
The directory it links to isn't there and that creates a code signing
problem on OS X 10.11.
2016-01-09 13:34:45 -08:00
John Ralls 7a25e2a716 Bug 680104 - formula not calculated when variables are mixed with constants
Fixes an error from 4ea1ea02 that assumed incorrectly that
gnc_exp_parser_parse_separate_variables() returns false if there are no variables
found. It doesn't.
2016-01-09 13:34:44 -08:00
John Ralls a112667929 Extract Functions split_apply_formulas and split_apply_exchange_rate.
Removing a chunk of commented-out code that got the exchange rate from
the price db.
2016-01-09 13:34:44 -08:00
fell 60eff5c7ce Supplement to commit 79bb4b8: add built gschema files to .gitignore
*.gschema.xml
*.gschema.xml.in
*.gschema.valid
2016-01-09 05:24:14 +01:00
fell 9df89b7c58 simplify commit c2598f8: Add a missing gettext in plugin page owner tree
http://lists.gnucash.org/pipermail/gnucash-devel/2016-January/039302.html
2016-01-09 04:51:42 +01:00
Alex Aycinena 7a975e0ecd Allow panel that provides information about TXF categories to be adjusted by the user in the Income Tax Information dialog under Edit->Tax Report Options. 2016-01-07 17:23:34 -08:00