commit a42a84b18f60fd0fc18d7ec5ac186cd6e5a81928 Author: Łukasz Wojniłowicz Date: Sun Mar 18 10:41:25 2018 +0100 Include clocale instead of locale.h Building KMyMoney on FreeBSD fails here https://build.kde.org/job/Extragear%20kmymoney%20kf5-qt5%20FreeBSDQt5.9/ and this patch is intended to fix that. According to http://en.cppreference.com/w/cpp/locale/localeconv the function std::localeconv() can be used if "clocale" is included, but in our case "locale.h" is included, which coresponds to plain C language. I assume that's causing problem on FreeBSD. I didn't test it in real environment. Differential Revision: https://phabricator.kde.org/D11408 commit 19ba0e15446b5638ed27aa5248acb88f37579b7c Author: Thomas Baumgart Date: Sun Mar 18 11:02:55 2018 +0100 Fix problem compiling on FreeBSD commit 6463434a3ad60b636b027cfab8d6a677b245ccf1 Author: Andreas Sturmlechner Date: Sun Mar 18 01:10:18 2018 +0100 Fix build with Qt 5.11 (missing headers) Reviewers: #kmymoney, wojnilowicz, tbaumgart Reviewed By: #kmymoney, wojnilowicz, tbaumgart Subscribers: tbaumgart, wojnilowicz Differential Revision: https://phabricator.kde.org/D11442 commit 9a10e310b101818c36a6cafc62942f51a6c230c3 Author: Thomas Baumgart Date: Sun Mar 18 09:36:54 2018 +0100 Don't start networth forecast at balance zero The opening balances are calculated into the eActual cell but the forecast is based on the eForecast cell. Therefore, the opening balances were not taken into account and the forecast graph always started out at 0 on the Y axis. Copying the opening balance value from the eActual cell into the corresponding eForward cell solves the problem. BUG: 391961 FIXED-IN: 5.0.1 commit b10b8986a285dfc27521b398f864febd7abde7fd Author: Thomas Baumgart Date: Sat Mar 17 17:59:35 2018 +0100 Port Weboob to KF5 Kross doesn't want to run python scripts anymore, so Weboob plugin is dead. This patch makes it alive again. Changes: 1) no KF5::Kross dependency, as it is deprecated, 2) new Python2 dependency, as it's all we need to run weboob, 3) if no weboob is installed then plugin won't be compiled neither, 4) renamed weboob.py to kmymoneyweboob.py and put it in kmymoney/weboob directory to avoid name clashes, 5) renamed class names to better represent what they are for, 6) introduced little exception handling from python scripts and informational dialogs for that, 7) made single private class out of two in mapaccount, it is mystery why two of them were needed before, 8) avoided crashes/never ending progress bars if no weboob backends/accounts were loaded. Differential Revision: https://phabricator.kde.org/D9855 (cherry picked from commit 0aee0c2e9579a692f20f008525979f0623ffd22f) commit a2e3d4454f3c8ed0db1e338cefe731259a0c8f2c Author: l10n daemon script Date: Thu Mar 15 07:23:56 2018 +0100 SVN_SILENT made messages (.desktop file) - always resolve ours In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop" commit ef3ae4678490e7b5bd1593fc5b7aa60550c06511 Author: Thomas Baumgart Date: Mon Mar 12 19:55:48 2018 +0100 Change to ledger view from find transaction dialog In case a transaction is selected in the find transaction result and return is pressed or the transaction is double-clicked it did not open the ledger view with the transaction in the account selected as in previous versions. This change re-enables this feature. BUG: 391773 FIXED-IN: 5.0.1 commit 632a4aa42a3c91e05ea14e0278de3dba31bcfd10 Author: Thomas Baumgart Date: Mon Mar 12 19:28:55 2018 +0100 Deal with missing terminal newline in CSV importer In case the last line of a CSV file does not contain a terminating newline, the content of that line was discarded. This change takes care of this situation and adds the line as if a newline was present. BUG: 391770 FIXED-IN: 5.0.1 commit 8c8f26c44cb19d90f8cbe179f7246d9b9de89832 Author: Thomas Baumgart Date: Mon Mar 12 16:36:00 2018 +0100 Fix StartupWMClass BUG: 391733 commit 6a5731e0707a14924d80db3c2e9d8913cf593665 Author: Thomas Baumgart Date: Tue Mar 6 21:04:13 2018 +0100 Select first account in combo box drop down After program start the first non-invest account found in the accounts model was used to be loaded into the ledger if no account was selected otherwise. This has been changed so that the first non-closed, non-investment account in the combo-box at the top of the ledger view. BUG: 391453 FIXED-IN: 5.0.1 commit a634ebfde3e1375f81a054dad5cf5352e7c52e61 Author: Thomas Baumgart Date: Tue Mar 6 20:05:45 2018 +0100 Fix product id to match bugs.kde.org entry commit 152face3e6280cc3b2b4784fc01828a425a9b943 Author: l10n daemon script Date: Tue Mar 6 06:57:47 2018 +0100 SVN_SILENT made messages (.desktop file) - always resolve ours In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop" commit a9011de176e75af56c8f9e7b394cd3eb38196f3e Author: l10n daemon script Date: Tue Mar 6 06:02:49 2018 +0100 GIT_SILENT made messages (after extraction) commit de1642b477a44fedded12fe5ea55fbe37974e29d Author: Thomas Baumgart Date: Sun Mar 4 18:59:43 2018 +0100 Fix save as when encryption is turned on Improve commit 03831143604 which prevents saving under a different name when the encryption is globally turned on. commit 8a79b26a253fdd9a7e719a112e9610788aa9ebff Author: Thomas Baumgart Date: Sun Mar 4 16:04:20 2018 +0100 Register KMyMoney with process ID BUG:350850 FIXED-IN:5.0.1 (cherry picked from commit 3fc2c1f422c6ea415bdbd65703a4835504ccb4c6) commit 15ca4f5fce44c552a9bb8801c0dbf1a2d8bb6cc1 Author: Thomas Baumgart Date: Sun Mar 4 16:01:58 2018 +0100 Make sure that investment and ledger view are synced This amends the last commit to completely bring back the old functionality. commit aaaf1272a80366a8a5edac2d177a34de5967b44d Author: Thomas Baumgart Date: Sun Mar 4 16:00:32 2018 +0100 Remember last selected account in ledgers BUG: 390406 FIXED-IN: 5.0.1 (cherry picked from commit 757c7cbe64e0a82794677321f3ce6c1e795185c5) commit b93a5d0d353a68635fbe57997d6f7ed4d5b33b05 Author: Thomas Baumgart Date: Sat Mar 3 19:00:06 2018 +0100 Allow CSV importer to deal with Feb 30th I just received my monthly statement for February and the importer complained about Feb 30th which was contained in the statement. I just had to do something about it. commit c2f840f443473e7eb2b36c0dbb64e4204cdf4c3c Author: Thomas Baumgart Date: Sat Mar 3 18:19:51 2018 +0100 Enable calculator tool button commit 16a09f990d06d46978b5d12e36a9f1a93b3e5dcb Author: Thomas Baumgart Date: Sat Mar 3 18:15:58 2018 +0100 Perform initial load also on non-mapped accounts commit 20e629fc6bbaa5aa0f0ac43144fb1e25b66dff68 Author: Thomas Baumgart Date: Sat Mar 3 15:01:36 2018 +0100 Don't crash when editing the base currency Using Tools/Currencies on the selected base currency and hitting Enter caused a crash. This patch avoids the crash. BUG: 390658 FIXED-IN: 5.0.1 commit 887c69c41503a5083c0b8c545160a3173ca94c5d Author: Thomas Baumgart Date: Sat Mar 3 12:09:40 2018 +0100 Fix 'Ledger search box doesn't support account hierarchy character ":"' BUG:338306 Test Plan: tested with branch 4.8 and 5.0 Reviewers: #kmymoney Reviewed By: #kmymoney, tbaumgart Subscribers: tbaumgart, wojnilowicz Differential Revision: https://phabricator.kde.org/D8823 (based on commit dc939f28e46b28f79fd774ab6c698c012f1535ea) commit 6080576565a601f7f5e93c4bef8fcc78defda6ef Author: l10n daemon script Date: Fri Mar 2 06:02:28 2018 +0100 GIT_SILENT made messages (after extraction) commit d313341c628bd2e3fe866c0e6fc80afe34b4cdec Author: Thomas Baumgart Date: Thu Mar 1 11:45:22 2018 +0100 Enable action which are always enabled Due to recent changes around the action handling, some actions where disabled by default. This is now fixed. BUG: 391249 FIXED-IN: 5.0.1 commit a8aad6a22d6222ee143cc477370ca0e300d915f6 Author: Thomas Baumgart Date: Tue Feb 27 21:58:26 2018 +0100 Update summary line after reconciliation BUG: 390178 commit d4f2cd1d9c03480c945d6c2eb0fec4eb1bed33dd Author: Thomas Baumgart Date: Tue Feb 27 21:19:23 2018 +0100 Fix tag view refresh Make refresh() a slot BUG: 391181 commit bf29a1360e4096fd335edfe901975526712b4579 Author: Thomas Baumgart Date: Sun Feb 25 22:28:05 2018 +0100 Set AutoFillTransaction to correct value The AutoFillTransaction setting never received a value other than zero. This was caused by a non standard layout in the group box of the setting which apparently caused the kcfg_ magic to fail. This caused the dialog with previous transactions not to be shown. Using only QRadioButtons inside the QGroupBox fixes this problem. BUG: 391048 FIXED-IN: 5.0.1 commit fa7f998bab4354bebd2b6968a3a902ac159a52cf Author: Thomas Baumgart Date: Sun Feb 25 10:57:57 2018 +0100 Fix 'Unreadable font in report' Data values now use general font size from the font setting tab. Based on commit f720121445660492c78aa80b2f9c4162c103c443 by Ralf Habacker on the 4.8 branch and adapted to KDiagram. BUG: 390281 commit 8f23689627ae0d2d1e82592a9661a8c920879ec1 Author: Thomas Baumgart Date: Sat Feb 24 12:22:55 2018 +0100 Show console message when a security is missing In case an account references a security which is not part of the file it is replaced by the current base currency. There is up to now no information about that fact which might alert a developer of the fact. commit f1a04e2f29c6dc5332ea5d6996c1fd6bb58eb7fb Author: Thomas Baumgart Date: Sat Feb 24 12:20:52 2018 +0100 Enable investment actions when appropriate Some investment actions remained disabled when they should have been enabled. commit 53ccfdee0dee7f68bda0cbf83dc84a62585dc8c1 Author: Thomas Baumgart Date: Fri Feb 23 21:50:54 2018 +0100 Right align quantity values BUG: 390967 commit c75953cdd7e2907896755edea3a855e8680c1e2d Author: Thomas Baumgart Date: Fri Feb 23 18:45:05 2018 +0100 Break scheduled transactions string There is a bug in static int layoutText(QTextLayout *layout, int maxWidth) from kpageview_p.cpp from kwidgetsaddons. The method doesn't break strings that are too long. This patch workarounds this by using LINE SEPARATOR character which is accepted by QTextLayout::createLine(). GUI: (cherry picked from commit 15a24ce4e2bed0993e8b14fdd8c49ca87d155380) commit 1c908e64dd25576cca6e5b9f7e3fd108e9e024d2 Author: Thomas Baumgart Date: Fri Feb 23 18:39:29 2018 +0100 Handle scheduled transactions in ledgers BUG:390834 FIXED-IN:5.0.1 Differential Revision: https://phabricator.kde.org/D10720 (cherry picked from commit 85903f6520eb48e545c60e7e75661f3c962061c1) commit 4ad2c1531cf2ec1371e86cfaf44de3ba886486a4 Author: Thomas Baumgart Date: Fri Feb 23 18:37:11 2018 +0100 Break scheduled transactions string (cherry picked from commit 13afc0cd7f2b761512d3a35e7545e16d5307cef9) commit 0dece390e3f88456480e03fd77d44987e959b963 Author: Thomas Baumgart Date: Wed Feb 21 12:37:13 2018 +0100 Bugfix for QIF import filter Summary: Fixing a bug where the program name is not set when calling the import filter program. Reviewers: wojnilowicz, tbaumgart Reviewed By: wojnilowicz, tbaumgart Subscribers: tbaumgart Tags: #kmymoney Differential Revision: https://phabricator.kde.org/D10634 commit 4b785962894d3b68d60dfe5fba57b3151a443c3d Author: Thomas Baumgart Date: Tue Feb 20 20:08:33 2018 +0100 Keep up with register changes BUG:390593 FIXED-IN:5.0.1 (cherry picked from commit 3f08c3e3cb1c031275d9d1e1b411766e028c9bf0) commit 0c21091059db49261730650d96764cdc73fd9a16 Author: l10n daemon script Date: Tue Feb 20 06:41:32 2018 +0100 SVN_SILENT made messages (.desktop file) - always resolve ours In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop" commit aac15067f74698e13c26474391bc4b56c8ddc96a Author: l10n daemon script Date: Tue Feb 20 05:38:00 2018 +0100 GIT_SILENT made messages (after extraction) commit 7912731366153b0a231b5b6cfcff1093b89bc447 Author: Thomas Baumgart Date: Mon Feb 19 11:34:02 2018 +0100 Keep the control box as small as possible The vertical size of the control box was growing due to an equal distribution of the stretch factor. Giving the report and chart area a higher stretch factor resolves the issue. BUG: 390657 FIXED-IN: 5.0.1 commit 12fa02171f7a362a6d2a8ff08e7b173e72c187e1 Author: l10n daemon script Date: Mon Feb 19 06:47:56 2018 +0100 SVN_SILENT made messages (.desktop file) - always resolve ours In case of conflict in i18n, keep the version of the branch "ours" To resolve a particular conflict, "git checkout --ours path/to/file.desktop" commit 552d7cb8634f47f119367b65f025e85d926b69d0 Author: l10n daemon script Date: Mon Feb 19 05:40:56 2018 +0100 GIT_SILENT made messages (after extraction) commit a01072c8835b34bf8a86b9bcd56f5c1f11a3cfb7 Author: Thomas Baumgart Date: Sun Feb 18 12:58:45 2018 +0100 Respect currency symbol position of locale QLocale does not provide information about the position of the currency symbol with respect to the amount. This used to be the case in KDE4 where KLocale provided it. As part of porting, this was set to a constant which might not be correct in certain locales. This commit provides logic to pull out the information from the locale on plattforms that support it. For others, it is still set to a fixed value. commit d4bfadaba4c9a3f04196eb619bc206be9fa3c8bf Author: Thomas Baumgart Date: Sun Feb 18 10:27:47 2018 +0100 Fix icon presentation of our own icons The commit 9b27c432ef80c9d4a35bc9dff37619cde9673343 Author: Pino Toscano Date: Thu Feb 8 22:16:47 2018 +0100 cmake: install local icons in the local datadir Install all the local actions icons to the kmymoney data directory, to avoid polluting the global icon themes. caused the icons not to be found since that directory was not in the QIcon searchpath. This commit makes sure that the KMyMoney specific directory is part of the searchpath. This way, icons show up as expected. commit febb4ef3dec760aa09bf9531dbeeaaa0cd2bbed6 Author: l10n daemon script Date: Sat Feb 17 05:44:24 2018 +0100 GIT_SILENT made messages (after extraction) commit 03831143604ffb5f49267fc5dfdde97bb7059866 Author: Thomas Baumgart Date: Fri Feb 16 20:19:02 2018 +0100 Allow to select keys during File/Save As Due to the change in the KDE file save dialog the additional widgets could not be inserted dynamically into the dialog as we did in KDE4. This has been solved by an additional dialog when GPG encryption has been enabled in the settings and is available. BUG: 390467 FIXED-IN: 5.0.1 GUI: commit 6fc043e35785c5fb80106fda6befd521642aaa41 Author: Thomas Baumgart Date: Thu Feb 15 15:01:28 2018 +0100 Fix signal name commit 7f63b5c02775ae7499f86cff46fef6b54bdb3a78 Author: Thomas Baumgart Date: Thu Feb 15 14:06:03 2018 +0100 Determine between main window and completion boxes An opened completion box of e.g. the payees combo box was not correctly detected as a widget of the transaction editor and the application tried to close the editor. The false detection caused the application to crash in a following step. This patch fixes the detection. BUG: 390264 FIXED-IN: 5.0.1 commit d759f8dd6eae306d9c8a71ba4bc3be686a307050 Author: Thomas Baumgart Date: Wed Feb 14 21:18:47 2018 +0100 Fix adding new entries while editing Adding new entries for payees or tags during the modification of a transaction was broken. This changes brings back the functionality. BUG: 390232 FIXED-IN: 5.0.1 commit 448617493f68d4981384b1a85161233d4a16f87f Author: Thomas Baumgart Date: Tue Feb 13 20:41:12 2018 +0100 Fix backup feature The backup feature was broken after some recent refactoring action BUG: 390176 FIXED-IN: 5.0.1 commit 294433abf85c3b52b9a7a2a455f554e644e8f3ed Author: Heiko Becker Date: Mon Feb 12 23:33:36 2018 +0100 Fix build with QtWebEngine Summary: Pull in , which has the #define ENABLE_WEBENGINE, otherwise the build fails with "khomeview_p.h:45:10: fatal error: KWebView: No such file or directory". Additionally fix another build error and access m_currentPrinter via the d pointer. Test Plan: Builds with -DENABLE_WEBENGINE:BOOL=TRUE Reviewers: #kmymoney, wojnilowicz Differential Revision: https://phabricator.kde.org/D10479 commit 72d0842d5a517e24e3a155ab623505a9fb0fadb7 Author: l10n daemon script Date: Tue Feb 13 05:55:42 2018 +0100 GIT_SILENT made messages (after extraction) commit a1c8097e290685c8de719e9ce802414337f63474 Author: Thomas Baumgart Date: Mon Feb 12 12:25:07 2018 +0100 Remove online job view if not needed Summary: In case no online job plugin is available, the online job view is not needed. This change removes the view from the application in case no online plugin is active at startup of the application. BUG: 377760 FIXED-IN: 5.0.1 Test Plan: Disable KBanking and OFX plugin and check that page is not shown. Enable at least one of them to have the page back after the next application start. Reviewers: wojnilowicz Reviewed By: wojnilowicz Differential Revision: https://phabricator.kde.org/D10457 commit 125b366e321683483850c70bfbc5c19a7c02ae02 Author: Thomas Baumgart Date: Mon Feb 12 08:34:21 2018 +0100 Connect signals to slots in transaction sort dialog The buttons and widget list signals were not connected to any functionality. Hence the dialog's functionality was broken. This change introduces the connections and cleans up some unused code. BUG: 390042 FIXED-IN: 5.0.1 commit 094e96228f251924e04bb97c686d9522f8f54fa9 Author: l10n daemon script Date: Mon Feb 12 05:56:12 2018 +0100 GIT_SILENT made messages (after extraction) commit f5a515d024219350b69aa20031b306d13239defe Author: Thomas Baumgart Date: Sun Feb 11 16:14:50 2018 +0100 Use correct constants designed as key modifier Use Qt::SHIFT instead of Qt::Key_Shift and Qt::ALT instead of Qt::Key_Alt to assign shortcut defaults. BUG: 390249 commit 513f026b7224bb96b8def81ac561b849ea8688e4 Author: l10n daemon script Date: Sun Feb 11 05:46:09 2018 +0100 GIT_SILENT made messages (after extraction) commit f03322f7c069f1e1ceb994cf27cf8ccbd9f8ae74 Author: l10n daemon script Date: Sat Feb 10 05:40:34 2018 +0100 GIT_SILENT made messages (after extraction) commit 8103bf0ee9a08de77cb9cacc42202e823a8d7941 Author: Pino Toscano Date: Fri Feb 9 08:17:38 2018 +0100 i18n: translate mimetype XML file Add a XmlMessages.sh file for scripty, so x-kmymoney.xml can be translated automatically. commit 9b27c432ef80c9d4a35bc9dff37619cde9673343 Author: Pino Toscano Date: Thu Feb 8 22:16:47 2018 +0100 cmake: install local icons in the local datadir Install all the local actions icons to the kmymoney data directory, to avoid polluting the global icon themes. Fixes commit d9cf5550c478d95d4faf312c1149f30829829516. commit 0c0aed145e6e90e091292768f410eaea2b0164f6 Author: Pino Toscano Date: Thu Feb 8 22:08:22 2018 +0100 Remove old locolor icons These icons are not installed, and in generally locolor icons are not used anymore. commit 16eb1fea93db913ec0a2cd8d825366473733a290 Author: Pino Toscano Date: Thu Feb 8 20:36:23 2018 +0100 cmake: set SONAME also for kmm_icons and kmm_csvimportercore They are (installed) public libraries, so make sure they have a proper SONAME set.