[kmymoney] [Bug 495204] huge number of build warnings: declaration of ‘value’ shadows a member of ‘MyMoneyKeyValueContainer’ [-Wshadow]

2024-10-22 Thread Ralf Habacker via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=495204

--- Comment #2 from Ralf Habacker  ---
As far as I can see from the source locations at 

1. 
https://invent.kde.org/office/kmymoney/-/blob/master/kmymoney/mymoney/mymoneykeyvaluecontainer.h#L97
 

/**
 * convenience method for @c enum
 */
template
T value(const QString& key, T defaultValue) const
{
return static_cast(value(key, static_cast(defaultValue)));
}

2.
https://invent.kde.org/office/kmymoney/-/blob/master/kmymoney/mymoney/mymoneykeyvaluecontainer.h#L117
 
/**
 * convenience method for integral types (except bool)
 */
template
void setValue(const QString& key, T value, T defaultValue)
{
return setValue_int(key, static_cast(value),
static_cast(defaultValue));
}

the two templates here have a problem.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 495204] huge number of build warnings: declaration of ‘value’ shadows a member of ‘MyMoneyKeyValueContainer’ [-Wshadow]

2024-10-22 Thread Ralf Habacker via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=495204

--- Comment #1 from Ralf Habacker  ---
Comment from Thomas Baumgart at
https://invent.kde.org/office/kmymoney/-/merge_requests/235#note_1057397

> Why does the name of the argument need to be changed?In case there is a 
> reason, please call it newValue instead of _value.
> Rationale: Each name that begins with an underscore is reserved to the 
> implementation for use as a name in the global namespace as per C++ specs.
> So I recommend to avoid using it in this context (even though it does not 
> conflict as we have no global namespace here).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 495204] New: huge number of build warnings: declaration of ‘value’ shadows a member of ‘MyMoneyKeyValueContainer’ [-Wshadow]

2024-10-22 Thread Ralf Habacker via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=495204

Bug ID: 495204
   Summary: huge number of build warnings: declaration of ‘value’
shadows a member of ‘MyMoneyKeyValueContainer’
[-Wshadow]
Classification: Applications
   Product: kmymoney
   Version: git (master)
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: buildsystem
  Assignee: kmymoney-devel@kde.org
  Reporter: ralf.habac...@freenet.de
  Target Milestone: ---

STEPS TO REPRODUCE
1. build kmymoney from master branch with g++ version 7.5
2. inspect build log

OBSERVED RESULT
There are tons of messages like this:

cd /home/xxx/src/kmymoney-2-build/kmymoney/mymoney && /usr/bin/ccache
/usr/bin/c++ -DKCOREADDONS_LIB -DKF_DEPRECATED_WARNINGS_SINCE=0x6
-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x56200C -DQT_CORE_LIB -DQT_DBUS_LIB
-DQT_DEPRECATED_WARNINGS_SINCE=0x6 -DQT_DISABLE_DEPRECATED_BEFORE=0x50f02
-DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_TO_ASCII -DQT_NO_KEYWORDS
-DQT_NO_URL_CAST_FROM_STRING -DQT_POSITIONING_LIB -DQT_PRINTSUPPORT_LIB
-DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DQT_USE_QSTRINGBUILDER
-DQT_WEBCHANNEL_LIB -DQT_WEBENGINECORE_LIB -DQT_WEBENGINEWIDGETS_LIB
-DQT_WIDGETS_LIB -DQT_XML_LIB -D_GNU_SOURCE -D_LARGEFILE64_SOURCE
-Dkmm_mymoney_EXPORTS -I/home/xxx/src/kmymoney-2-build/kmymoney/mymoney
-I/home/xxx/src/kmymoney-2/kmymoney/mymoney
-I/home/xxx/src/kmymoney-2-build/kmymoney/mymoney/kmm_mymoney_autogen/include
-I/home/xxx/src/kmymoney-2 -I/home/xxx/src/kmymoney-2-build
-I/home/xxx/src/kmymoney-2/kmymoney -I/home/xxx/src/kmymoney-2-build/kmymoney
-I/home/xxx/src/kmymoney-2/kmymoney/settings
-I/home/xxx/src/kmymoney-2-build/kmymoney/settings
-I/home/xxx/src/kmymoney-2-build/kmymoney/dialogs
-I/home/xxx/src/kmymoney-2/kmymoney/widgets
-I/home/xxx/src/kmymoney-2-build/kmymoney/widgets
-I/home/xxx/src/kmymoney-2/kmymoney/mymoney/storage
-I/home/xxx/src/kmymoney-2/kmymoney/interfaces
-I/home/xxx/src/kmymoney-2-build/kmymoney/interfaces
-I/home/xxx/src/kmymoney-2/kmymoney/plugins
-I/home/xxx/src/kmymoney-2-build/kmymoney/plugins
-I/home/xxx/src/kmymoney-2/kmymoney/views
-I/home/xxx/src/kmymoney-2/kmymoney/dialogs
-I/home/xxx/src/kmymoney-2/kmymoney/converter
-I/home/xxx/src/kmymoney-2-build/kmymoney/dialogs/settings
-I/home/xxx/src/kmymoney-2-build/kmymoney/mymoney/storage
-I/home/xxx/src/kmymoney-2/kmymoney/wizards/endingbalancedlg
-I/home/xxx/src/kmymoney-2-build/kmymoney/wizards/endingbalancedlg
-I/home/xxx/src/kmymoney-2/kmymoney/wizards/newinvestmentwizard
-I/home/xxx/src/kmymoney-2-build/kmymoney/wizards/newinvestmentwizard
-I/home/xxx/src/kmymoney-2/kmymoney/wizards/newloanwizard
-I/home/xxx/src/kmymoney-2-build/kmymoney/wizards/newloanwizard
-I/home/xxx/src/kmymoney-2/kmymoney/wizards/wizardpages
-I/home/xxx/src/kmymoney-2/kmymoney/models
-I/home/xxx/src/kmymoney-2-build/kmymoney/models
-I/home/xxx/src/kmymoney-2/kmymoney/icons
-I/home/xxx/src/kmymoney-2-build/kmymoney/icons
-I/home/xxx/src/kmymoney-2/kmymoney/menus
-I/home/xxx/src/kmymoney-2-build/kmymoney/menus
-I/home/xxx/src/kmymoney-2/kmymoney/misc
-I/home/xxx/src/kmymoney-2-build/kmymoney/misc
-I/home/xxx/src/kmymoney-2-build/kmymoney/mymoney/payeeidentifier
-I/home/xxx/src/kmymoney-2/kmymoney/mymoney/payeeidentifier
-I/home/xxx/src/kmymoney-2-build/kmymoney/plugins/onlinetasks/interfaces
-I/home/xxx/src/kmymoney-2/kmymoney/plugins/onlinetasks/interfaces -isystem
/usr/include/qt5 -isystem /usr/include/qt5/QtXml -isystem
/usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem
/usr/include/qt5/QtGui -isystem /usr/include/KF5/KService -isystem
/usr/include/KF5 -isystem /usr/include/KF5/KConfig -isystem
/usr/include/KF5/KConfigCore -isystem /usr/include/KF5/KCoreAddons -isystem
/usr/include/KF5/KI18n -isystem /usr/include/KF5/KItemModels -isystem
/home/xxx/src/alkimia-qt5-install/usr/include/alkimia/Qt5 -isystem
/home/xxx/src/alkimia-qt5-install/usr/include -isystem
/usr/include/qt5/QtWebEngineWidgets -isystem /usr/include/qt5/QtWebEngineCore
-isystem /usr/include/qt5/QtQuick -isystem /usr/include/qt5/QtQmlModels
-isystem /usr/include/qt5/QtQml -isystem /usr/include/qt5/QtNetwork -isystem
/usr/include/qt5/QtWebChannel -isystem /usr/include/qt5/QtPositioning -isystem
/usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtWidgets -isystem
/usr/include/KF5/KXmlGui -isystem /usr/include/KF5/KConfigWidgets -isystem
/usr/include/KF5/KWidgetsAddons -isystem /usr/include/KF5/KConfigGui -isystem
/usr/include/KF5/KCodecs -isystem /usr/include/KF5/KAuthWidgets -isystem
/usr/include/KF5/KAuthCore -isystem /usr/include/KF5/KAuth -isystem
/usr/include/qt5/QtDBus -isystem /usr/include/KF5/KIdentityManagement -isystem
/usr/include/KF5/AkonadiCore -isystem /usr/include/KF5/KContacts -Wall -Wextra
-Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith
-Wun

[kmymoney] [Bug 412750] No xml export for reports

2024-10-22 Thread Ralf Habacker via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=412750

Ralf Habacker  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
   Version Fixed In||5.2
  Latest Commit||https://invent.kde.org/offi
   ||ce/kmymoney/-/commit/6db271
   ||cc70923a2ad40bd586ffa07e389
   ||1d5ef37
 Resolution|--- |FIXED

--- Comment #4 from Ralf Habacker  ---
Git commit 6db271cc70923a2ad40bd586ffa07e3891d5ef37 by Ralf Habacker.
Committed on 22/10/2024 at 11:31.
Pushed by habacker into branch 'master'.

Add xml export to the report user interface
FIXED-IN:5.2

M  +1-1kmymoney/plugins/views/reports/kreportsview.cpp
M  +3-1kmymoney/plugins/views/reports/kreportsview_p.h

https://invent.kde.org/office/kmymoney/-/commit/6db271cc70923a2ad40bd586ffa07e3891d5ef37

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 488491] Make 5.2 release

2024-10-22 Thread Ralf Habacker via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=488491
Bug 488491 depends on bug 412750, which changed state.

Bug 412750 Summary: No xml export for reports
https://bugs.kde.org/show_bug.cgi?id=412750

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 412750] No xml export for reports

2024-10-22 Thread Ralf Habacker via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=412750

Ralf Habacker  changed:

   What|Removed |Added

 Status|REPORTED|ASSIGNED
 Ever confirmed|0   |1
 Blocks||488491
   Target Milestone|--- |5.2


Referenced Bugs:

https://bugs.kde.org/show_bug.cgi?id=488491
[Bug 488491] Make 5.2 release
-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 488491] Make 5.2 release

2024-10-22 Thread Ralf Habacker via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=488491

Ralf Habacker  changed:

   What|Removed |Added

 Depends on||412750


Referenced Bugs:

https://bugs.kde.org/show_bug.cgi?id=412750
[Bug 412750] No xml export for reports
-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 412750] No xml export for reports

2024-10-22 Thread Bug Janitor Service via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=412750

--- Comment #2 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/office/kmymoney/-/merge_requests/236

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 495204] huge number of build warnings: declaration of ‘value’ shadows a member of ‘MyMoneyKeyValueContainer’ [-Wshadow]

2024-10-22 Thread Thomas Baumgart via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=495204

--- Comment #3 from Thomas Baumgart  ---
Using a more recent compiler (g++-13, g++-14, clang v17) also solves this
issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 495116] Export date range to qif

2024-10-22 Thread bugzilla_noreply--- via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=495116

--- Comment #2 from bnbu...@gmail.com ---
Fixed. Didn't realize by clicking the account last thing was resetting the
dates to default settings. Now I know to select account
first.
Thanks

On Sun, Oct 20, 2024 at 7:29 PM Jack  wrote:

> https://bugs.kde.org/show_bug.cgi?id=495116
>
> Jack  changed:
>
>What|Removed |Added
>
> 
>  OS|Other   |Microsoft Windows
>  Resolution|--- |WAITINGFORINFO
>Platform|Other   |Microsoft Windows
>   Component|bugtracker  |exporter
>  Status|REPORTED|NEEDSINFO
>
> --- Comment #1 from Jack  ---
> Please confirm you are talking about exporting, since you start by saying
> "Importing."  Also please confirm which versions as none of those are
> proper
> KMyMoney versions.  I assume the first is 4.6.4, which we ignore
> completely as
> it is long out of support.  Next I'm assuming is 5.1.3, which is current
> stable
> version.  I assume the last is a 5.1.80 developer's version.  I assume you
> are
> using Windows based on the export path.  For any further troubleshooting,
> we'll
> stick to the developer's version, which matches the "git (master)" in the
> bug
> header.
>
> I just tried (on Linux) and could not replicate the problem.  However, note
> that in the QIF export dialog, when you select the account to export (still
> showing the default "Asset" in your screen shot) it resets the dates to the
> full range of transactions in that account.  You have to choose the account
> first, and then set the date range.   Can you check if this is the problem?
>
> --
> You are receiving this mail because:
> You reported the bug.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 495116] Export date range to qif

2024-10-22 Thread Jack via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=495116

Jack  changed:

   What|Removed |Added

 Status|NEEDSINFO   |RESOLVED
 Resolution|WAITINGFORINFO  |NOT A BUG

--- Comment #3 from Jack  ---
In the future, when replying to a bug by email, please trim everything except
your actual reply, as you entire email becomes the next comment in the bug, and
all the excess quoted material makes it difficult to follow the thread. 
Thanks.

Closing per you response.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 495093] Debug on desktop

2024-10-22 Thread Gilles Guertin via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=495093

--- Comment #16 from Gilles Guertin  ---
> I changed the language from Frech Canada to English United State. The debug 
> file is still there.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 495093] Debug on desktop

2024-10-22 Thread Gilles Guertin via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=495093

--- Comment #17 from Gilles Guertin  ---
> The support tab is completely inactive. As a matter of fact, if you look into 
> your guide books (french page 124 and english page 137) there is no text on 
> support tab. Looks like it is something new not quite finish...

-- 
You are receiving this mail because:
You are the assignee for the bug.

Re: Errors Compiling KMM on Fedora 40

2024-10-22 Thread Thomas Baumgart via KMyMoney-devel
On Dienstag, 22. Oktober 2024 03:21:15 CEST Brendan Coupe via KMyMoney-devel 
wrote:

> Playing around with gpg it became clear that it was not working. It 
> turns our Fedora 40 no longer provides pinentry-gtk so I had to switch a 
> supported pinentry option and now my file opens.
> 
> If this was a bug I would close it:-) Works for me!

I don't think we have a bug entry about that. Glad you figured it out.

> Can't wait to see what Fedora 41 brings me next month.

Always be ready for a bag of surprises :)

[...]

-- 

Regards

Thomas Baumgart

-
Intelligence is the ability to avoid doing
work, yet getting the work done.
-


signature.asc
Description: This is a digitally signed message part.


[kmymoney] [Bug 412750] No xml export for reports

2024-10-22 Thread Bug Janitor Service via KMyMoney-devel
https://bugs.kde.org/show_bug.cgi?id=412750

--- Comment #3 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/office/kmymoney/-/merge_requests/237

-- 
You are receiving this mail because:
You are the assignee for the bug.