Commit Graph

19618 Commits

Author SHA1 Message Date
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
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
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
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
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
Robert Fewell
c9f497cf78 Fix transient parent warnings when doing MT940 import 2018-03-31 17:13:41 +01:00
Robert Fewell
9b120f95a9 Missing container add for textbrowser
Needed to add gtk_container_add to add the text_view to the scroll
window.
2018-03-31 17:11:15 +01:00
Robert Fewell
3f7d70ace3 Error for lineedit when setting text
Critical errors were logged when trying to set the gtkentry text when
value is null, test for this before setting entry text.
2018-03-31 17:08:53 +01:00
Robert Fewell
f7211edbab Couple of missing properties for groupbox
When fixing related combo error a couple of critical errors were logged
for 'Function is not appropriate for this type of widget' which turned
out to be visibility properties so added them to stop error.
2018-03-31 17:05:05 +01:00
Robert Fewell
7033b331ee Bug794707 - Aqbanking combo boxes missing selection.
Modified w_combobox.c setup procedure was had an error when modified
for gtk3 use.
2018-03-31 17:01:56 +01:00
Geert Janssens
d6a5cc9feb Merge branch 'imap-editor-fix' of https://github.com/Bob-IT/gnucash into unstable 2018-03-31 17:09:45 +02:00
Christopher Lam
f910d931f7 gncInvoice: complete removal gncInvoiceDateExists 2018-03-31 05:35:49 +08:00
Christopher Lam
b99dee1736 Replace gncInvoiceDateExists to gncInvoiceIsPosted
This commit partially reverts commit 862956a760 which exported
gncInvoiceDateExists. Remove this API and use gncInvoiceIsPosted
instead.
2018-03-31 05:35:49 +08:00
John Ralls
4601cfcbc3 Merge Chris Lam's Bug 792800 Pull Request into unstable. 2018-03-30 14:16:30 -07:00
John Ralls
c141edd9ab Merge Bob Fewell's Autosize PR into unstable. 2018-03-30 14:14:39 -07:00
John Ralls
a382caccdb Fix more transient-for warnings.
If a GtkDialog builder description has the visible property set,
GtkBuilder will call gtk_window_show on it before we've had a chance
to call gtk_window_set_transient_for, and that raises a warning.
2018-03-30 14:06:47 -07:00
John Ralls
a23f103ebb Bug 794730 - SIGSEGV when entering an exchange rate, Part 2
91f4b19 changed the test for gncInvoiceDateExists from date != 0
to date != INT64_MAX, which isn't backwards compatible, so test
for both. But the submitted file had a posted date of -1 so
gncInvoiceIsPosted returned true anyway. That's not consistent with
the logic in dialog-invoice.c, which checked gncInvoicePostedAcc != NULL,
a better test. The result was that the "Post" button lit up but
gncInvoicePost returned immediately, doing nothing, so change
gncInvoiceIsPosted to use gncInvoicePostedAcc instead.
2018-03-30 11:19:51 -07:00
Geert Janssens
7271ce3dee Add feature kvp frame to the dbi test file 2018-03-30 19:02:57 +02:00
Geert Janssens
152277274f Fix slot loading in sql backend
Be smarter about what is path and key for each slot.
Instead of assuming a slash is always a path separator (first attempt
on unstable) or never a separator (second attempt),
track the parent path while loading kvp slots from the db
and deduce the slot's name by substracting this parent path.
2018-03-30 19:02:57 +02:00
John Ralls
2ea165c732 Bug 794730 - SIGSEGV when entering an exchange rate
Clean up the dialog's components *before* calling gtk_widget_destroy!
2018-03-29 16:53:49 -07:00
Christopher Lam
5922cbbc4b invoice, easy-invoice.scm: %discount from html-table to string
Old code would nest a small single-row, 2-column html-table within the
entry-list html-table to display discount percentage and '%'. This is
an overkill and causes alignment issues. Display a string instead.
2018-03-30 06:35:51 +08:00
Christopher Lam
7cfb48fea3 TR: Price Column shown in commodity SCU
xaccSplitGetSharePrice will typically return a gnc-numeric (or scm
rational) value. This leads to the TR showing a price of, eg. $22 +
12228521/25349850 which is not ideal. This commit will modify the
share price to round the exact rational to an inexact decimal
according to the account share price currency SCU. If the SCU is less
than 10000, increase the precision by 2 significant digits.
2018-03-30 06:35:51 +08:00
Christopher Lam
84ab44bfb6 Bug 792800 - Advanced Portfolio Report tries to divide by zero balance and aborts.
This fixes a numerical-overflow error identified in bug 792800. It is
related to negative-stock-balance situation.
2018-03-30 06:35:51 +08:00
Robert Fewell
e076474d77 Bug794806 - Autosize too small
When double clicking on header to autosize columns need to add the
padding_border values to get correct width.
2018-03-29 21:15:32 +01:00
Geert Janssens
157f43d963 Bug 794765 - when saving as into a PostgreSQL database, things fail because of renaming the numtest table twice 2018-03-29 19:06:09 +02:00
Robert Fewell
255d7194d8 Fix the gtests for the changes made to ImapInfo structure 2018-03-29 17:57:24 +01:00
Robert Fewell
f0c03a7885 Speed up loading of the Imap Editor Treeview
Drop the model before loading the treeview and then create a new filter
model and add that back to the treeview after populating the model.
2018-03-29 17:43:59 +01:00
Robert Fewell
6c43c3afe0 Fix Imap Editor to reflect the changes in kvp paths
There were several problems that broke the Imap Editor that have been
fixed due to kvp changes. The import-map-bayes entries were being added
to the tree view based on the number token entries squared. Retrieving
import-map entries resulted in an empty list and also deleting entries
from the tree view failed.
2018-03-29 17:32:57 +01:00
Geert Janssens
59e9f7a6d7 Remove duplicate css definitions 2018-03-29 09:56:54 +02:00
Christian Stimming
55a2504c59 Online HBCI actions: Remove outdated non-SEPA menu items. 2018-03-28 21:44:19 +02:00
Mike Alexander
82f31a5e4d Change portfolio.scm like advanced-portfolio.scm was changed in 9fd53e6.
It needs to use the t64 version of gnc-pricedb-lookup-nearest-in-time-any-currency.
2018-03-28 01:10:00 -04:00
Di Mang
5f0025954f ru.po: some more translations 2018-03-28 00:23:28 +02:00
Di Mang
9d3402d524 ru.po: Update some translations
4669 translated messages, 344 fuzzy translations, 177 untranslated messages.
2018-03-28 00:23:27 +02:00