Commit Graph

19804 Commits

Author SHA1 Message Date
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
Di Mang
af02f62845 Update ru.po from new gnucash.pot file 2018-03-28 00:23:27 +02:00
Di Mang
2db4901d5d de.po: Update some translations
4863 translated messages, 196 fuzzy translations, 131 untranslated messages.
2018-03-26 21:23:23 +02:00
Di Mang
c2ff57785f Updating de.po from new gnucash.pot file 2018-03-26 21:11:27 +02:00
John Ralls
7d918ea1f7 Merge branch 'unstable' 2018-03-25 18:02:36 -07:00
John Ralls
dfb5de91ff Release 2.7.8. 2018-03-25 12:37:11 -07:00
John Ralls
dedb5265f0 Merge branch 'maint' into unstable 2018-03-25 09:36:21 -07:00
John Ralls
a0f49d8b17 Revert "Load the environment file when initializing the python bindings."
It's unnecessary, the swigged gnucash_core init function already does it.
This reverts commit 7b6854c163.
2018-03-25 09:17:17 -07:00
John Ralls
9cd22ee667 Merge Chris Lam's Fix-794030 into maint 2018-03-25 09:02:43 -07:00
Christopher Lam
a670238f80 Bug 794030 - relative date functions compute wrong day of month
Convert > to < and rename month-length to month-days for consistency.
2018-03-25 18:49:57 +08:00
John Ralls
8081e78ee3 Merge Bob Fewell's Bug 794360 PR into unstable. 2018-03-24 17:50:38 -07:00
John Ralls
7b6854c163 Load the environment file when initializing the python bindings. 2018-03-24 17:49:01 -07:00
John Ralls
148c02d231 [python bindings] Add required posted dates to the transactions. 2018-03-22 15:29:08 -07:00
John Ralls
bea89a50ac More python 3 fixups. 2018-03-22 15:19:59 -07:00
Robert Fewell
2571baff9f Bug 794644 - Deleting prices slow
Detach the price tree model from the price tree view while prices are
being deleted and then reattach.
2018-03-21 13:11:39 +00:00
Robert Fewell
9135ec4524 Fix a couple of Transient parent warnings 2018-03-21 13:11:39 +00:00
Robert Fewell
f1dd8cfaf1 Component not found error when accounts are deleted
When accounts are deleted that have an open register window a component
not found error is triggered. After the account is destroyed, a call to
'gnc_resume_gui_refresh' calls 'gnc_gui_refresh_internal' and this then
calls 'find_component_ids_by_class' which is used in order resulting in
'register-single' being unregistered before 'GncPluginPageRegister' and
hence 'ld' being freed but the register not knowing this. Reversing the
list fixes this.
2018-03-21 13:11:39 +00:00