Commit Graph

19848 Commits

Author SHA1 Message Date
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
John Ralls
70e6366468 Merge branch 'unstable' 2018-04-01 15:26:46 -07:00
John Ralls
c6858e3e01 Release GnuCash 3.0 2018-04-01 13:22:49 -07:00
John Ralls
042476f4b4 Compile our own gwen-gtk3 if the supplied one is 4.20.0.
This is a bit brittle because it depends on Martin Preuss applying our
patch (already applied to borrowed/gwen-gtk3) before releasing 4.20.1,
but creating a proper test for the changes proved to be too difficult.
2018-04-01 10:25:57 -07:00
John Ralls
dc6d86efdb Convert to a two-digit version number. 2018-03-31 18:00:15 -07:00
John Ralls
3631fca117 Merge branch 'maint' into unstable 2018-03-31 17:31:00 -07:00
John Ralls
f084fc67f7 Catch guid_syntax_exception in build_bayes. 2018-03-31 17:11:36 -07:00
John Ralls
972647d2d6 Release 2.6.20 2018-03-31 15:32:49 -07:00
John Ralls
ef8558fe00 Remove previously deleted gnc-value-portfolio script from dist. 2018-03-31 15:24:15 -07:00
John Ralls
6c6194001a One more glade file with visible=true dialogs. 2018-03-31 11:16:35 -07:00
John Ralls
518519f4cb Merge Bob Fewell's 'Gwenhywfar fixes' PR328 into unstable. 2018-03-31 11:11:31 -07:00
Geert Janssens
4053f2ca53 Fix read and write of business counters and counter_formats
These are book options, but not stored under the default options frame (sigh)
So add exception code to properly access them.
2018-03-31 18:27:43 +02:00