Commit Graph

22377 Commits

Author SHA1 Message Date
Geert Janssens
e78313147c Cmake - rework gnc_add_scheme_deprecated_module to use keyword parameters
Update all invocations accordingly
2020-03-30 08:41:29 +02:00
Geert Janssens
ba15cf7f7f Combine the two scheme target generation functions
Add another keyword TEST to set when test targets are to be created
2020-03-30 08:41:29 +02:00
Geert Janssens
25e08f88a5 Document the two primary functions for adding scheme targets 2020-03-30 08:41:29 +02:00
Geert Janssens
06ff8a292d Use new keyword parameters for all calls to gnc_add_scheme_test_targets 2020-03-30 08:41:29 +02:00
Geert Janssens
c05281c582 Use new keyword parameters for all calls to gnc_add_scheme_targets 2020-03-30 08:41:29 +02:00
Geert Janssens
91ecdcb5dd Rework SchemeTargets module to use keyword parameters 2020-03-30 08:41:29 +02:00
Geert Janssens
ba7362d895 CMake - Drop oldstyle endfunction invocations
The form without repeating the function name is preferred
2020-03-30 08:41:29 +02:00
John Ralls
f74d7c52da Merge Jean Laroche's 'fix_autocompletion_master' into master. 2020-03-29 14:49:00 -07:00
John Ralls
f85be03bb5 Merge branch 'maint' 2020-03-29 14:46:55 -07:00
jean
b73bb0e7ce run astyle on modified files 2020-03-28 13:37:00 -07:00
jean
a934c41ef4 Finish removing preference, re-nice the code 2020-03-28 13:32:01 -07:00
Frank H. Ellenberger
fe4efd403b L12N🇩🇪 5423 übersetzte Meldungen. 2020-03-28 20:54:43 +01:00
John Ralls
ddcbfe5be3 Merge a more latest gnucash.pot into all of the translation files. 2020-03-28 12:51:28 -07:00
John Ralls
3c46ebcbc4 Merge the latest gnucash.pot into all of the translation files. 2020-03-28 12:27:57 -07:00
jean
bc8428c80e Make the two search coexist
Add support for : in type-ahead search

Add gnc_get_account_separator_string

Remove preference
2020-03-28 12:16:08 -07:00
Geert Janssens
28e5db429c Bug 797133 - CSV Import of multicurrency transaction export in multiline form
The csv parser was using xaccParseAmount to convert price strings into GncNumerics.
However our export code can generate prices in rational form which xaccParseAmount
can't convert. So for prices the csv parser now uses the expression parser instead
to convert the string into a GncNumeric.
2020-03-28 20:10:17 +01:00
John Ralls
3c75140d04 Release GnuCash 3.9 2020-03-28 11:35:34 -07:00
John Ralls
058a507781 ChangeLog.2019 2020-03-28 11:34:03 -07:00
Geert Janssens
fdd4798555 Bug 797084 - Provide an option to leave edited transactions reconciled
Instead of making this optional, changes to transaction fields in
case the transaction has reconciled splits will now only issue a
warning. If the user continues anyway with changes to the transaction
field the reconcile state of splits won't be affected.
Changing protected split fields will continue to unreconcile that split.
2020-03-28 16:04:42 +01:00
Frank H. Ellenberger
5b18405c8e I18N: Redo Merge latest gnucash.pot into all of the translation files. 2020-03-28 06:21:50 +01:00
Frank H. Ellenberger
25b8de1065 I18N: trep-engine: another translator comment 2020-03-28 06:06:59 +01:00
Frank H. Ellenberger
63ce37e2e5 I18N: *owner-reports: Unify 'a' vs. 'the' in tooltips 2020-03-28 06:06:59 +01:00
Christopher Lam
f05128b2c2 Bug 797583 - gnc:book-add-quotes crashes when there are no quotes
When Get Quotes being run on empty book, the gnc:book-add-quotes
function expects book->commodity->fq-call-data to return #f
2020-03-28 09:21:46 +08:00
Christopher Lam
ed2437e427 Bug 797656 - Immediate crash when retrieving quotes
gettext needs to be imported
2020-03-28 09:17:36 +08:00
John Ralls
1d91873ef2 Bug 797481 - crash on close of unsaved tabs by pressing [X]
My original fix for this was a bit off, the problem wasn't that
the sheet had been freed, it was that the item_edit had so the
ptr to the sheet was garbage. The correct solution is to catch
the item_edit's "destroy" signal and remove the idles.

This commit replaces b5fdcfcb5.
2020-03-27 16:22:21 -07:00
Frank H. Ellenberger
655e9cd8eb L12N🇩🇪 1 fuzzy translation
5424 übersetzte Meldungen.
2020-03-27 22:39:23 +01:00
Frank H. Ellenberger
d9153097ce I18N:Glossary: add "balance b/f" & "balance c/f" 2020-03-27 22:23:00 +01:00
Frank H. Ellenberger
fceaac7016 I18N:Glossary: add notes about not distributed files in CMakeLists.txt 2020-03-27 21:55:55 +01:00
John Ralls
8a854a299b Merge the latest gnucash.pot into all of the translation files. 2020-03-27 12:17:29 -07:00
John Ralls
404319a033 Update translations from the Translation Project. 2020-03-27 10:58:23 -07:00
Frank H. Ellenberger
43daf7800e L12N🇩🇪 Update de.po
5423 übersetzte Meldungen, 1 ungenaue Übersetzung.
2020-03-27 04:26:57 +01:00
Frank H. Ellenberger
4f9b4c7b5f L12N🇩🇪 merge fresh pot
5385 übersetzte Meldungen, 23 ungenaue Übersetzungen, 16 unübersetzte
Meldungen.
2020-03-27 04:26:56 +01:00
Christopher Lam
569c613af0 [trep-engine] add translator note for balance b/f 2020-03-27 11:09:48 +08:00
John Ralls
c3c0d95bf0 Bug 797638 - SIGSEGV editing transaction after closing Find Accounts dialog.
Crash was from dangling qof-event handler because the dialog was closed
with the title-bar button instead of the close button.

Since the close button destroys the window, simply moving the other
calls in close_handler to destroy_cb causes the titlebar close button
to behave the same as the close button and prevents the crash.

message for your changes. Lines starting
2020-03-26 10:15:32 -07:00
Christopher Lam
447de7f64d [report-utilities] fix gnc:account-accumulate-at-dates sorting & operator
This commit performs 2 important fixes.

1. the account splitlist walking assumes that the split->date always
increases. This is now enforced by sorting the splitlist, *only* if a
custom split->date is offered. By default the splits are sorted by
posted_date, and if a custom split->date is used, will be
stable-sorted to ensure the algorithm works.

2. the handling of splits *ON* date boundaries is fixed. Previously if
a split->date was equal to a date boundary, it would be considered
part of the "after" date section. It is more intuitive that a date
boundary includes all splits on and before the date. In regular use
the dates are normalised to canonicaldaytime or end-day-time and is
not important. However when comparing reconciled dates, the statement
dates be exactly equal to the reconciled dates, therefore this
difference is crucial. In other words, the date boundaries mean we
include all splits before or on the date (to the exact second).

Add a test to verify above.
2020-03-26 18:55:57 +08:00
jean
eea20a8da0 Move new search function to an external function 2020-03-23 21:45:57 -07:00
John Ralls
33902a6793 Improve test building with the Xcode generator.
Add CONFIGURATIONS keyword to unadorned tests, enables tests with
multi-config generators.
Add CONFIGURATION generator expression to libgtest.a and libgmock.a
build directory specs when building with Xcode so that it can
find them when building tests.
2020-03-23 17:52:26 -07:00
Jean Laroche
4cd059c80b Implement look-ahead account name completion
Fix coding style etc

Fix travis error

Fix travis error

Remove no longer needed file

Improve the case-normalization to use utf8 functions

Restore mistakenly removed line, fix NULL pointers, improve tooltips

Make search still happen when deleting characters

Fix cosmetic and coding style issues
2020-03-22 19:58:29 -07:00
John Ralls
8fc901fb3b Merge Jean Laroche's 'import-ofx-only' into maint. 2020-03-22 13:25:08 -07:00
John Ralls
5afdea0576 Merge Jean Laroche's 'select_ofx_files_only_maint' into maint. 2020-03-22 13:17:50 -07:00
John Ralls
2bbf5b2ce0 Merge Jean Laroche's 'fix-recurrence' into maint 2020-03-22 13:14:50 -07:00
jean
ddaf8cd614 When selecting a file for OFX import, restrict the files listed to .OFX (or .QFX) 2020-03-22 12:48:28 -07:00
jean
66fce05308 Move the weekend adjust code in its own function 2020-03-22 12:34:57 -07:00
jean
268695f19c Make test-recurrence handle wadj 2020-03-22 12:34:57 -07:00
jean
7a61eca4fe Bug 685102 - Scheduled Transactions don't always respect weekends for first occurrence 2020-03-22 12:34:57 -07:00
John Ralls
b99dfb78a7 Merge Chris Good's 'fixpaths' into maint. 2020-03-22 11:50:13 -07:00
John Ralls
b7f6cfe607 Merge Jean Laroche's 'fix_797042_ofx_return' into maint. 2020-03-22 10:34:12 -07:00
John Ralls
0620b597e8 Merge Chris Good's 'bug797648' into maint. 2020-03-22 09:22:20 -07:00
goodvibes2
39c9aa4de3 Remove bad paths from CMakeLists.txt files 2020-03-22 17:57:27 +11:00
goodvibes2
d2986559de Use Doxygen format for function comment 2020-03-22 16:18:14 +11:00