Commit Graph

19677 Commits

Author SHA1 Message Date
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
Robert Fewell
34d921803d Bug 794360 Critical error when deleting accounts with children
When an account is deleted which has sub accounts a dialog is displayed
that had parts destroyed so they are not shown depending on certain
criteria and as a result an error occurred as it tried to get the
sensitivity of a destroyed widget. Change this so all parts of the
dialog are present but made in-sensitive when not applicable so the
dialog layout is the same on all occurrences.
2018-03-21 13:11:39 +00:00
John Ralls
2b6047f952 Fix a string msgid generation.
Call gettext in the macro, not on the macro. xgettext doesn't run cpp and can't see inside macros.
2018-03-20 11:41:21 -07:00
John Ralls
f05bbe2475 Bug 794330 - Scheduled Transaction Editor Transfer Button Does Not Work
It works fine, it just doesn't have anything to do with scheduled
transactions. Remove it from the SX Editor toolbar.
2018-03-19 15:52:06 -07:00
John Ralls
75970adc61 Merge branch 'unstable'. 2018-03-19 12:23:52 -07:00
John Ralls
6cce41b0d1 Actually change CMakeLists.txt for the release. 2018-03-18 13:27:21 -07:00
John Ralls
b39687d35e Fix release narrative in NEWS. 2018-03-18 12:53:50 -07:00
John Ralls
0e3f60166a Release 2.7.7. 2018-03-18 12:49:20 -07:00
luc14n0
a893a632e9 Add COMPILE_GSCHEMAS to allow disabling gschemas compilation 2018-03-18 12:30:13 -07:00
John Ralls
7378c13948 Update es.po from the Translation Project. 2018-03-18 12:24:13 -07:00
John Ralls
4ecd9c2dd4 Fix the Python Console for Python3.
Replacing libgncmod-python, libgncmod-core-utils-python, and
libgncmod-app-utils-python with _sw_core_utils and _sw_app_utils.
The latter two are the modules that init.py wants to load and with
Python3 Swig appears to no longer make them available via libgncmod.

Note that there may still be some problems with actually using the
console, but it at least loads at startup without complaint.
2018-03-18 11:59:13 -07:00
John Ralls
b9d2344d34 Merge Chris Lam's Increase default options dialog size PR into unstable. 2018-03-17 16:13:40 -07:00
John Ralls
1f7edb23f6 Merge Bob Fewell's assorted GUI fixups PR 310 into unstable.
Although the PR was titled "Some [fixes] for missing transient parent
warnings", it actually has a bugfix and an assorted collection of
GUI cleanups that happen to include a couple of transient-parent fixes.
2018-03-17 16:04:17 -07:00
John Ralls
7989f02c73 Merge Tomas Schlosser's "Allow creation of prices in Python bindings" into unstable. 2018-03-17 15:53:46 -07:00
Julian Wollrath
a43b115a45 Bug 791831 - Add python3 support
This switches swig to use python 3 specific features when generating the
bindings, switches the build over to python 3 and makes the neccesary
python 2 to 3 conversions in the bindings and tests.
2018-03-17 15:10:00 -07:00
John Ralls
85ec07ec30 Revert "Add COMPILE_SCHEMA to allow disabling gschema compilation"
This reverts commit 6b46299e8d, which was
pushed by mistake.
2018-03-17 14:56:37 -07:00
John Ralls
25d9431dc1 Merge Luciano Santos's 'compile-schema-patch' PR into unstable. 2018-03-17 14:18:11 -07:00
John Ralls
a4b043c3f0 Bug 794236 - Import a log file
The crash was caused by the timezone constructor encountering a
newline on the timezone. Prevent this by removing all whitespace
from the end of the input string.
2018-03-17 14:10:56 -07:00
luc14n0
6b46299e8d Add COMPILE_SCHEMA to allow disabling gschema compilation 2018-03-17 00:14:25 -03:00
John Ralls
8fe2cb6fa8 Fix date corruption in SQL load.
Four date elements were affected: GncEntry::date, GncEntry::date_entered,
GncInvoice::opened, and GncInvoice::posted. The problem arose during the
cleansing of Timespec from the reports; the setter functions for those
elements were converted to time64 but no provision was made to the SQL
backend to pass them time64 instead of Timespec*.

This commit adds a new column type, CT_TIME64, and changes the column
types for those elements to CT_TIME64.
2018-03-16 16:47:11 -07:00
John Ralls
e5561bd7ab Fix lost Bayesian matches in SQL backend.
The import-map-bayes uses a three-part key that uses the same delimiter
as a path and the SQL backend was throwing away everything except the
account guid.

Added more slot types including import-map-bayes ones to the test xml
file to help debug this and to catch it in the future.

Also don't pass std::string.c_str() to a std::vector<std::string>
constructor, just pass the string.
2018-03-16 13:59:04 -07:00
Tomas Schlosser
01bb298504
Allow creation of prices in Python bindings
Using the function gnc_price_create and book as a parameter, it is possible to create the new GncPrice object. This will remove the necessity of cloning the prices from existing ones in Python scripts.
2018-03-16 14:25:46 +01:00
John Ralls
74d94650ed Avoid crash when committing a date outside of the valid range
Insert a NULL in its place.
2018-03-15 16:28:01 -07:00
fell
9b8901248c Merge branch 'maint' into unstable 2018-03-15 18:12:03 +01:00
fell
0c8c94eab0 Improve comments how to update FQ sources 2018-03-15 18:09:08 +01:00
fell
4b348b1fb7 Merge branch 'maint' into unstable
PR #313
2018-03-15 15:52:37 +01:00