Commit Graph

19549 Commits

Author SHA1 Message Date
John Ralls
bea89a50ac More python 3 fixups. 2018-03-22 15:19:59 -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
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
Di Mang
232dcb5cbc Remove the emacs comments at the end of files 2018-03-15 12:54:31 +01:00
Di Mang
7439b27f96 Remove the emacs comments at the end of files 2018-03-14 23:04:00 +01:00
fell
273532c561 Merge branch 'maint' into unstable
PR #311
2018-03-14 08:53:01 +01:00
John Ralls
c381b2c965 Bug 787439 - Segmentation Fault in Transfer dialog after clearing...
Date field and pressing escape.

gtk_widget_destroy() ran the signals on the dialog controls which
tried to access the XferDialog data, but since gnc_xfer_dialog_close_cb()
had already run that memory had been freed and then used by the std::string
in GncDate::format; later handlers attempting to access the XferData had
garbage pointers to work with, causing a crash.

Running gtk_widget_destroy() first preserves the pointers long enough for
the dialog control callbacks to function without crashing.
2018-03-13 11:39:18 -07:00
Di Mang
2391db37c1 Update GC version and date. 2018-03-12 14:35:50 -07:00
Robert Fewell
28b2e732ab When doing a file save from the a new start we have no key file
Test for Key_file not being NULL before trying to free it.
2018-03-12 06:48:01 +00:00
Robert Fewell
e589200402 Stop critical error due to testing null filename
g_filename_from_uri returns NULL if it is not a file uri so test for the
file:// prefix before doing g_file_test
2018-03-12 06:48:01 +00:00
Robert Fewell
fb973e008f Change dialog-new-user to use a GtkWindow
Change from using a GtkDialog to a GtkWindow to stop the transient
parent warning and add parent for cancel dialog. No strings have been
changed just the top level container.
2018-03-12 06:48:01 +00:00
Robert Fewell
5f51145e95 A couple of changes to assistant glade files 2018-03-12 06:48:01 +00:00
Robert Fewell
b74609221e Bug 794242 - Remove keep above setting for assistant hierarchy 2018-03-12 06:48:01 +00:00
Robert Fewell
41298bfd52 Fix transient parent warnings in import dialogs 2018-03-12 06:48:01 +00:00
Robert Fewell
a54a1a159b Add missing response section to the account picker dialog 2018-03-12 06:48:01 +00:00
Robert Fewell
4bbf70e103 Glade 3.20 adds surplus padding option to action area
When glade files are saved which have GtkAssistants defined a packing
section is added to the assistant action area which then causes a
warning so remove them.
2018-03-12 06:48:01 +00:00
John Ralls
4a8c2645b4 Release 2.7.6 2018-03-11 22:23:32 -07:00
John Ralls
8c9855a6bb Pass GTEST_ROOT and GMOCK_ROOT through to distcheck.
So that they don't have to be exported in the environment if they're needed.
2018-03-11 10:38:05 -07:00
Di Mang
9d2fdd41ae Add XML namespaces for all Account Hierarchy Templates.
ca, cs, da, de_AT, de_CH, el_GR, en_GB, en_IN, es_ES,
es_MX, fi_FI, fr_CA, fr_CH, fr_FR, hu_HU, it, ja, ko,
lt, lv, nb, nl, pl, pt_BR, pt_PT, sk, sv_AX, sv_FI,
sv_SE, tr_TR, zh_CN, zh_HK, zh_TW
2018-03-11 17:21:43 +01:00
Christopher Lam
496f0faf6f Increase default options dialog size
The old 400x400 was woefully inadequate for most options especially
options involving account trees.
2018-03-11 11:59:24 +08:00
John Ralls
3ccebde831 Update the Spanish translation from the Translation Project. 2018-03-10 15:56:00 -08:00
John Ralls
fc5dd9d2c8 Merge Bob Fewell's two bug fixes, PR302, into unstable. 2018-03-10 13:12:54 -08:00
John Ralls
21c5219937 Merge Bob Fewell's focus-fix PR304. 2018-03-10 12:31:04 -08:00
John Ralls
daca1312e7 Merge Bob Fewell's transient parent PR308 into unstable. 2018-03-10 12:12:48 -08:00
mpuels
fd0ba2c760 Fix typo 2018-03-10 12:07:02 -08:00
John Ralls
dc39110584 Put the crlf line-endings back on windows text files. 2018-03-10 11:24:44 -08:00
fell
fdfa6f528c Merge branch 'maint' into unstable 2018-03-10 11:06:59 +01:00
fell
d61cd79ae3 Minor fix in de.po 2018-03-10 10:23:56 +01:00
fell
df26146d2a Backport and review of commit c0fd3b3:
Remove all references to the now-defunct Yahoo! quote retrieval
2018-03-10 10:20:26 +01:00
John Ralls
867fdce4e4 Gcc-4.8 doesn't have std::codecvt.
Use boost::locale::conv::utf_to_utf instead.
2018-03-09 16:28:00 -08:00