Christopher Lam
4acc5a23f5
TR: instead of hand-crafting html-string, use html-table API
...
Using html-table API seems more robust than hand-crafting HTML.
2018-04-14 23:47:00 +08:00
Christopher Lam
2d9021ca42
TR: catch invalid regex
...
This commit prevents report crashing when either Account or
Transaction Matcher strings are invalid POSIX regular expressions and
called with make-regexp.
2018-04-14 23:47:00 +08:00
Christopher Lam
d273a3304e
TR: convert Reconcile Status Filter to QofQuery
...
I presume QofQuery based in C is faster than scheme filtering. No
saved-reports incompatibility is expected.
2018-04-14 23:47:00 +08:00
Christopher Lam
73ffcaa81e
TR: refactor add-subtotal-row
...
This commit refactors add-subtotal-row to use a named let. This avoids
set! calls, and is more idiomatic scheme.
2018-04-14 23:47:00 +08:00
Geert Janssens
3a44b368d4
Merge branch 'unstable' of https://github.com/Abschiedsstein/gnucash into unstable
2018-04-14 17:36:09 +02:00
Geert Janssens
3a46088ca8
Merge branch 'fixes2' of https://github.com/Bob-IT/gnucash into unstable
2018-04-14 17:23:21 +02:00
Geert Janssens
a8c17c2078
Bug 795155 - CSV import does not distinguish between deposit and withdrawal
2018-04-14 12:41:26 +02:00
Geert Janssens
d567ee1049
Bug 769686 - Notes not imported when using update and reconcile in import transactions from CSV
2018-04-14 12:41:26 +02:00
Geert Janssens
7321c995b4
csv-impport - Allow empty amount fields
...
Treat empty amount fields as 0. This is necessary for example in the case the
csv import file has both a deposit and a withdrawal column.
Note this issue was masked by the bug fixed in the previus commit.
2018-04-14 12:39:23 +02:00
Geert Janssens
10f8f6a750
Bug 795082 - CSV import crashes if a transaction's 'Account' field is empty and no default Account set
2018-04-14 11:27:06 +02:00
Geert Janssens
e2535abb95
Remove reference to GTEST_DISABLE, it no longer exists
...
The google test framework is a required dependency.
2018-04-14 08:17:34 +02:00
Robert Fewell
c9fd6832b8
Bug 795142 - Unable to enter account codes in business sheets
...
In Bills, Invoices and Expense vouchers you can not enter an account
code in an account field like you can on a normal register, enable this.
2018-04-14 03:57:39 +01:00
Robert Fewell
805094d570
Remove trailing spaces and replace tabs with spaces
...
Remove trailing spaces and replace tabs with spaces in the reconcile
source files.
2018-04-14 03:56:14 +01:00
Robert Fewell
dd28f4ed4f
Remove the set transient parent setting for Reconcile window
...
The Reconcile option is already a window so it is not necessary to set
this value which allows the jump to transaction to work properly.
2018-04-14 03:23:57 +01:00
Robert Fewell
48db993932
Align the reconcile column titles to that of the values
2018-04-14 03:22:51 +01:00
Robert Fewell
9094f6e5a9
Bug 795101 - Scrollbar floats and covers toggle buttons
...
When the scrollbar appears for the reconcile windows it can float above
the reconcile toggle button which make it difficult to toggle. Move this
column to the start which has the advantage of aligning the amount
column above the Total value.
2018-04-14 03:18:49 +01:00
Robert Fewell
6114105115
Save the tab label width so we do not have to get it again
2018-04-14 00:09:34 +01:00
Robert Fewell
e81b2ccca3
Date Format dialog flashes up when file/properties used
...
When you select the File/Properties dialog, in the construction of that
a 'Date Format' dialog flashes up while the date component is moved to
the properties dialog. Can mainly be seen on Windows so remove the
visible setting in glade file.
2018-04-14 00:05:25 +01:00
John Ralls
4a97269e4b
Correct a g_log_level in test_gnc_pricedb_lookup_day.
2018-04-12 15:17:01 -07:00
John Ralls
85cc574d50
Prevent throw in gnc-pricedb.
...
If a price lookup is given an invalid time64/timespec (i.e. INT64_MAX)
then just return NULL instead of trying to find the nearest price.
2018-04-12 15:17:01 -07:00
John Ralls
16ba1e39b1
Bug 795080 - Some dates reset to 01/01/1970
...
An odd corner case: BST apparently came off of DST at 23:00 26 Oct 2014,
so midnight that day was ambiguous about being DST or not; that causes
the local_date_time constructor to throw in spite of the tm.is_dst element
being 0 (meaning pick standard time).
Instead of just failing in that case, try constructing a local_date_time
three hours later then adjust it back three hours. If *that* doesn't work
then throw a std::invalid argument.
2018-04-12 15:17:01 -07:00
Geert Janssens
b5ac8591fc
Merge branch 'fixes' of https://github.com/Bob-IT/gnucash into unstable
2018-04-10 19:11:13 +02:00
John Ralls
868489b1c4
Fix typo.
2018-04-10 09:52:02 -07:00
John Ralls
b1915a0b89
Bug 795049 - GnuCash 2.6.20-1 (Fedora Linux package) is unable to open...
...
MariaDB.
MariaDB (and probably MySQL) doesn't accept two queries in a single
command.
2018-04-10 09:34:06 -07:00
John Ralls
cdeee96074
Revert "Bug 795049 - GnuCash 2.6.20-1 (Fedora Linux package) is unable to open..."
...
This reverts commit aea33ca515
because
it doesn't fix the problem, just tests that the problem is only on
MySQL/MariaDB.
2018-04-10 09:30:58 -07:00
Geert Janssens
6810c2a689
Fix typo
2018-04-10 10:06:34 +02:00
John Ralls
9319858b96
Release 2.6.21
2018-04-09 15:30:36 -07:00
John Ralls
655803a1ca
Remove reference to the deleted gnc-value-portfolio script from README.
2018-04-09 15:23:40 -07:00
John Ralls
c3f528b80c
Bug 795068 - src/optional/python-bindings missing several files
2018-04-09 15:17:32 -07:00
John Ralls
c05aeb85ec
Merge Bill Nottingham's exception type fix into unstable.
2018-04-09 15:12:56 -07:00
John Ralls
192a3c3d2b
Set GNC_VCS at build time instead of when making the tarball.
...
Because the tarball is always made from a VCS repo.
2018-04-09 15:10:25 -07:00
John Ralls
ba3bf37d93
Merge DiMan's GNUCASH_MICRO_VERSION fix into unstable.
2018-04-09 12:22:05 -07:00
Robert Fewell
8bfbc7791e
Bug 794953 - Ellipsize on short tab labels
...
Correct error on when to ellipsize tab labels. Also as this is used in
two places separate out this to new function so it is not duplicated.
2018-04-09 19:12:35 +01:00
Robert Fewell
facd26c0ef
Bug 794994 - Display Alphavantage key in full
...
Set the entry to expand so all the space is used to display.
2018-04-09 19:11:50 +01:00
Robert Fewell
8975158ac6
If there are no prices in the db, critical errors are flagged
...
When dialog transfer is used between two commodities and there are no
prices in the db a critical error is logged. Test for price object
being NULL before retrieving the price for the error message.
2018-04-09 19:09:55 +01:00
Robert Fewell
5af11ced47
Invalid cast for parent of transfer dialog
...
Trying to cast from SplitRegister to GtkWidget.
2018-04-09 15:10:02 +01:00
John Ralls
7a0f0d57c8
Bug 782144 - git-master - Save Corrupts Data File / Not Open Data File
...
After much thrashing this turned out to be caused by a date string
with a 3-digit year and that caused an unexpected boost::bad_cast
exception from boost::posix_time::time_from_string().
To prevent that and anything like it, pre-parse the string with
regular expressions to classify them and split out the timezone
if there is one. If neither (perhaps eventually none) of the
regexes match throw std::invalid_argument. The C function will
catch this and return 0.
2018-04-08 17:37:39 -07:00
John Ralls
aea33ca515
Bug 795049 - GnuCash 2.6.20-1 (Fedora Linux package) is unable to open...
...
MariaDB database.
2018-04-08 15:20:55 -07:00
John Ralls
89a1cfd24a
Add note about ALLOW_OLD_GETTEXT.
2018-04-08 14:11:28 -07:00
John Ralls
11ac05aedb
Merge branch 'master' into unstable
...
Because I released 3.0 from the wrong branch
2018-04-08 11:25:18 -07:00
Henrik tom Wörden
34c464446a
MAINT: removed reference to README.git
...
The reference was inappropriate as README.git no longer contains
information on how to build gnucash.
2018-04-07 12:21:51 +02:00
Henrik tom Wörden
a909f802de
FIX: Corrected typos
2018-04-07 12:20:58 +02:00
John Ralls
e79079b217
Bug 793461 - Transaction matcher window blank when importing QFX
...
The MacOS part. MSWin is a different problem.
2018-04-06 15:57:05 -07:00
John Ralls
87b0ac06b8
Update README for 3.0.
2018-04-06 15:46:29 -07:00
John Ralls
91c18beac1
Add gettext and doxygen to dependencies.
2018-04-06 15:46:16 -07:00
John Ralls
36c771b156
Fix up indentation in README.dependencies so that it matches the subheaders.
2018-04-06 14:48:20 -07:00
John Ralls
07ba7a3a98
Clarify cmake build directory location and source path.
2018-04-05 16:50:32 -07:00
Di Mang
cf24f9830b
Remove GNUCASH_MICRO_VERSION from VERSION...
...
and remove of variable CPACK_PACKAGE_VERSION_PATCH
2018-04-04 23:11:13 +02:00
Bill Nottingham
434dd9520c
Adjust catch syntax to avoid GCC8 warnings.
2018-04-03 22:02:44 -04:00
Bill Nottingham
0a3f2dd3ef
Allow building against a shared libgmock (an option in gtest-1.8.0).
2018-04-03 21:59:50 -04:00