Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C# --> C++ #784

Draft
wants to merge 174 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
174 commits
Select commit Hold shift + click to select a range
aa0938b
Initial Switch To C++
nlogozzo Feb 2, 2024
0f35e31
Shared - Finish Configuration Implementation
nlogozzo Feb 2, 2024
a8c4571
Shared - Color Improvements + Start Currency Conversion Models
nlogozzo Feb 2, 2024
7bb3c5d
Shared - Implement CurrnecyConversionService Namespace
nlogozzo Feb 3, 2024
b9a25a7
Sandboxes - Give Network Access
nlogozzo Feb 3, 2024
3d98e85
Shared - Add ImportResult Model
nlogozzo Feb 3, 2024
135614b
Update snap.yaml
nlogozzo Feb 3, 2024
fd53ec9
Shared - Implement Transfer Model + Improve CurrencyConversion
nlogozzo Feb 3, 2024
dea81b9
Add group.h and group.cpp (#781)
JoseBritto Feb 3, 2024
c1ca455
Update libnick to 2024.2.1
nlogozzo Feb 5, 2024
1869fac
Shared - Add Receipt Model
nlogozzo Feb 5, 2024
78851aa
Shared - Add Transaction Model
nlogozzo Feb 5, 2024
d22ff2b
Windows - Build Fixes
nlogozzo Feb 5, 2024
d94ccfc
Shared - CustomCurrency + AccountMetadata Models
nlogozzo Feb 5, 2024
9a1c8b6
Shared - Add podofo Library + Blank Account
nlogozzo Feb 6, 2024
f6c803e
Shared - Add matplotplusplus Library
nlogozzo Feb 6, 2024
254012e
Update README.md
nlogozzo Feb 6, 2024
c7bfa43
Shared - Fix matplotplusplus build
nlogozzo Feb 6, 2024
1d7b71a
Update snap.yaml
nlogozzo Feb 7, 2024
164631c
Docs - Update Translations
nlogozzo Feb 7, 2024
dbf5786
Rename snap workflow file
nlogozzo Feb 7, 2024
72b9ccf
Update snapcraft.yaml
nlogozzo Feb 7, 2024
5274ee6
Update snapcraft.yaml
nlogozzo Feb 7, 2024
7f7a1b0
Snap - Build Current
nlogozzo Feb 7, 2024
71df1f3
All - Better Library Building
nlogozzo Feb 7, 2024
74a9847
Docs - Update Translations
nlogozzo Feb 10, 2024
0722a52
Shared - Setup Account Header API
nlogozzo Feb 12, 2024
8607254
All - Fix Static Memory Issues
nlogozzo Feb 12, 2024
c6152b0
Shared - Implement Some More Account Functionality
nlogozzo Feb 12, 2024
eda1788
Shared - Build Fixes
nlogozzo Feb 12, 2024
83dbb59
Update libnick with new Database module
nlogozzo Feb 13, 2024
041bc3a
Update account.cpp
nlogozzo Feb 13, 2024
26aaac0
Update vcpkg
nlogozzo Feb 14, 2024
e386920
Shared - Database queries instead of storing in memory
nlogozzo Feb 14, 2024
bc187bf
Update Translations
nlogozzo Feb 14, 2024
0139ca1
Merge branch 'main' into cpp
nlogozzo Feb 14, 2024
b4b0d54
Shared - Implement Account::getTransactionReminders()
nlogozzo Feb 15, 2024
0f40d2e
Update translations
nlogozzo Feb 15, 2024
48cd803
Update libnick
nlogozzo Feb 15, 2024
7873ab7
Shared - Add Blank Test Suite
nlogozzo Feb 15, 2024
6ef618d
Shared - Introduce Tests + Fixes
nlogozzo Feb 15, 2024
806161a
Shared - Add Receipt Tests
nlogozzo Feb 15, 2024
1459164
Update vcpkg
nlogozzo Feb 15, 2024
621077b
Update WindowsAppSDK
nlogozzo Feb 15, 2024
c14abe9
Shared - Blank Account Methods + Some Account Tests
nlogozzo Feb 15, 2024
072d9da
Merge branch 'main' into cpp
nlogozzo Feb 16, 2024
4f8a347
Spell Check
nlogozzo Feb 16, 2024
42c8592
WinUI - Cleanup
nlogozzo Feb 16, 2024
dc092bc
Update libnick
nlogozzo Feb 18, 2024
4465b3d
Shared - Implement Account Getters
nlogozzo Feb 18, 2024
6812d81
Shared - Implement Account Group Methods
nlogozzo Feb 18, 2024
78e28f0
Shared - Add Some Account Transaction Methods
nlogozzo Feb 18, 2024
e4bcc14
Shared - Account Add Delete Methods
nlogozzo Feb 18, 2024
71037f8
Shared - Use int Instead of Unsigned Int For IDs
nlogozzo Feb 18, 2024
df85a1c
Shared - Add libofx and rapidcsv
nlogozzo Feb 19, 2024
9d87aef
Shared - Fix linux builds
nlogozzo Feb 19, 2024
53d749c
Update org.nickvision.money.json
nlogozzo Feb 19, 2024
03d9cff
Update Translations
nlogozzo Feb 19, 2024
67d60a8
Flatpak - libopensp patches
nlogozzo Feb 19, 2024
75684f6
Shared - Store Account Data In Memory
nlogozzo Feb 20, 2024
4f62920
Shared - Fix CSV Import + Add Tests
nlogozzo Feb 21, 2024
dbfb747
Shared - Depreciate CSV Backup Folder
nlogozzo Feb 21, 2024
cce0719
Shared - Better Import From CSV
nlogozzo Feb 21, 2024
d009f9b
Update account.cpp
nlogozzo Feb 21, 2024
4ef9206
Shared - More Account Tests
nlogozzo Feb 21, 2024
9fced8c
Update vcpkg
nlogozzo Feb 21, 2024
bb7ba31
Shared - Introduce CurrencyHelpers
nlogozzo Feb 22, 2024
e5293d1
Shared - Add CurrencyHelper Tests
nlogozzo Feb 22, 2024
369284b
Shared - Remove UseNativeDigits Option
nlogozzo Feb 22, 2024
540de43
Update vcpkg
nlogozzo Feb 22, 2024
c91d017
Shared - Implement Account::exportToCSV
nlogozzo Feb 22, 2024
4ed1e7a
Merge branch 'main' into cpp
nlogozzo Feb 22, 2024
3d6379d
Shared - Implement Account::importFromOFX
nlogozzo Feb 22, 2024
fb4aad9
Shared - Simplify Account Sql Queries
nlogozzo Feb 22, 2024
7199ece
All - Bundle libofx dtd files as resources + Add OFX Tests
nlogozzo Feb 23, 2024
212d217
Shared - In-House Import OFX Implementation
nlogozzo Feb 24, 2024
d2cc447
Shared - Remove DTD Resources
nlogozzo Feb 25, 2024
9bac800
Shared - Implement Account::importFromQIF + Fixes
nlogozzo Feb 26, 2024
84c9ad9
Shared - Make sure to include gnuplot
nlogozzo Feb 27, 2024
932c91e
Shared - Cleanup
nlogozzo Feb 27, 2024
c0615fd
Update org.nickvision.money.json
nlogozzo Feb 27, 2024
0bebadd
Update org.nickvision.money.json
nlogozzo Feb 27, 2024
aabb484
WinUI - Start SettingsPage
nlogozzo Feb 27, 2024
b3f9e39
WinUI - Finish SettingsPage Implementation
nlogozzo Feb 28, 2024
08961e4
Update vcpkg
nlogozzo Feb 29, 2024
1e6d2c4
Update CMakeLists.txt
nlogozzo Feb 29, 2024
7c4d534
Shared - Simplify Account Export API
nlogozzo Feb 29, 2024
ed6bc5c
Update snapcraft.yaml
nlogozzo Mar 1, 2024
1289da0
WinUI - Update to WindowsAppSDK
nlogozzo Mar 1, 2024
125785e
GNOME - Implement PreferencesDialog
nlogozzo Mar 2, 2024
f1ebe9c
Update org.nickvision.money.json
nlogozzo Mar 2, 2024
197d4ec
Update preferencesviewcontroller.h
nlogozzo Mar 2, 2024
e3fa5ce
All - Fixes
nlogozzo Mar 2, 2024
74c1a97
WinUI - CurrencyConverterDialog
nlogozzo Mar 2, 2024
19c9806
Hello March
nlogozzo Mar 3, 2024
f23f5be
WinUI - Start Loading Recent Accounts List
nlogozzo Mar 3, 2024
21bbbae
GNOME - Fix Build
nlogozzo Mar 3, 2024
3b75fc3
GNOME - Fix PreferencesDialog
nlogozzo Mar 4, 2024
1db29ce
Update configuration.cpp
nlogozzo Mar 4, 2024
851799b
WinUI - Load Recent Accounts
nlogozzo Mar 4, 2024
7bda010
Merge branch 'main' into cpp
nlogozzo Mar 5, 2024
5a71394
Update libnick
nlogozzo Mar 5, 2024
8d9168d
Shared - Add openAccount() + Start AccountViewController
nlogozzo Mar 7, 2024
0ab82d6
WinUI - Open Account Support
nlogozzo Mar 7, 2024
5acc8b1
WinUI - Better Controls
nlogozzo Mar 7, 2024
600cfee
WinUI - Clickable RecentAccount Row + DnD Support
nlogozzo Mar 7, 2024
703288a
Shared - Fix OpenAccount Logic
nlogozzo Mar 7, 2024
1c2e6a4
Shared - CurrencyCheckStatus API
nlogozzo Mar 11, 2024
1a20c9a
GNOME - CurrencyConverterDialog
nlogozzo Mar 12, 2024
88579c3
All - Better Currency String Handling
nlogozzo Mar 13, 2024
fbc2bf9
All - Implement RecentAccount Loading + Remove AccountType Colors
nlogozzo Mar 13, 2024
e65f978
Update Docs
nlogozzo Mar 13, 2024
45f4ffc
GNOME - Open Account
nlogozzo Mar 13, 2024
eae9127
Shared - Implement NewAccountDialogController
nlogozzo Mar 14, 2024
5d0c1c8
Update vcpkg + WindowsAppSDK
nlogozzo Mar 14, 2024
5ea4c85
GNOME - NewAccountDialog
nlogozzo Mar 15, 2024
522ea21
GNOME - Cleanup
nlogozzo Mar 15, 2024
5bf740b
WinUI - (WIP) NewAccountDialog
nlogozzo Mar 15, 2024
48cf4cd
WinUI - (WIP) NewAccountDialog
nlogozzo Mar 15, 2024
b7e968e
Update NewAccountDialog.xaml.cpp
nlogozzo Mar 15, 2024
ffb8bec
WinUI - NewAccountDialog
nlogozzo Mar 15, 2024
109a286
WinUI - Cleanup
nlogozzo Mar 16, 2024
0357ea3
GNOME - New Window Design
nlogozzo Mar 16, 2024
2cbba98
Update README.md
nlogozzo Mar 16, 2024
1506741
GNOME - CurrencyConverterPage
nlogozzo Mar 16, 2024
fada5e6
GNOME - Better CurrencyConverterPage
nlogozzo Mar 16, 2024
0a2dc57
Update Build dependencies (#798)
JoseBritto Mar 16, 2024
3504c53
Starting Dashboard Work (#799)
JoseBritto Mar 24, 2024
7bbd24d
GNOME - AdwMessageDialog --> AdwAlertDialog
nlogozzo Mar 25, 2024
28294e6
Merge branch 'main' into cpp
nlogozzo Mar 28, 2024
b6d3a03
GNOME - Blank AccountPage
nlogozzo Mar 28, 2024
54919f9
GNOME - AccountPage ViewSwitcher
nlogozzo Mar 28, 2024
00f4aaa
GNOME - AccountPage.Overview
nlogozzo Mar 31, 2024
1e7a773
Shared - Maintain Balance in Group Objects
nlogozzo Mar 31, 2024
5d647e9
GNOME - Load Groups on Overview
nlogozzo Mar 31, 2024
aa3caec
Version Bump
nlogozzo Mar 31, 2024
1cb959f
Update po(t)
nlogozzo Apr 2, 2024
54dc7d2
Shared - Add AccountRepository Class
nlogozzo Apr 4, 2024
47890d7
GNOME - Add AccountMenu Popover
nlogozzo Apr 4, 2024
a5c3c12
GNOME - Add Group's Color to Row on OverviewPage
nlogozzo Apr 4, 2024
8292584
GNOME - Better Overview Rows
nlogozzo Apr 6, 2024
24c4336
Shared - Add TransactionReminder Model
nlogozzo Apr 6, 2024
1b15388
GNOME - Start Reminders Section
nlogozzo Apr 6, 2024
cf71a3c
Update .gitignore
nlogozzo Apr 12, 2024
26c44e4
GNOME - Add Transaction Reminder Rows
nlogozzo Apr 14, 2024
ffa12a6
CMake - Better Commands
nlogozzo Apr 14, 2024
a2c5c4e
Shared - Fix Account::generateGraph Segfault
nlogozzo Apr 25, 2024
51d207b
Update libnick
nlogozzo Apr 30, 2024
9af22b3
Update vcpkg
nlogozzo Apr 30, 2024
1f6ce2f
WinUI - Update Libraries
nlogozzo May 3, 2024
58dca51
Fix CMake Commands
nlogozzo May 3, 2024
413df85
Update account.cpp
nlogozzo May 3, 2024
22d6fbe
Hello May
nlogozzo May 5, 2024
1d322a6
Cleanup
nlogozzo May 18, 2024
ea6be13
All - Remove Matplot++ and Cleanup
nlogozzo May 20, 2024
a076e59
Shared - More Cleanup
nlogozzo May 20, 2024
750bd80
Shared - Add Blank AccountSettingsDialogController
nlogozzo May 20, 2024
7aea329
libdenaro - complete accountsettingsdialogcontroller
JoseBritto May 21, 2024
2bb60fb
libdenaro - accountsettingsdialogcontroller.h - include models/curren…
JoseBritto May 21, 2024
557d927
Merge pull request #805 from NickvisionApps/cpp-accountsettingsdialog…
nlogozzo May 21, 2024
6933cd2
Shared - Fix Build
nlogozzo May 21, 2024
d8534da
GNOME - Better Dialog Management
nlogozzo May 21, 2024
a8510f3
GNOME - AccountPage Add Blank Actions
nlogozzo May 22, 2024
88ba5b4
GNOME - Implement AccountSettingsDialog
nlogozzo May 22, 2024
1ccf954
All - Update Translations
nlogozzo May 22, 2024
64ec8f7
GNOME - Better DialogBase + AccountSettingsDialog
nlogozzo May 22, 2024
d1804f5
GNOME - Better AccountSettingsDialog Design
nlogozzo May 22, 2024
2e58f9d
GNOME - Better NavBar Spacing
nlogozzo May 23, 2024
ca0b12f
GNOME - Little Tweaks
nlogozzo May 23, 2024
3aef675
GNOME - Design Tweaks
nlogozzo May 24, 2024
5b49000
Merge branch 'main' into cpp
nlogozzo May 24, 2024
692f09d
Update Translations
nlogozzo May 24, 2024
6c08d80
Handle segfaults on startup (#806)
JoseBritto May 25, 2024
43554d0
GNOME - Fix DialogBase
nlogozzo Jun 18, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
12 changes: 0 additions & 12 deletions .config/dotnet-tools.json

This file was deleted.

7 changes: 2 additions & 5 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
[*.{sln,resx}]
indent_style = tab

[*.{cs,sh,py,json,page,cake}]
[*.{h,cpp,py,json,page,txt}]
indent_style = space
indent_size = 4

[*.{csproj,xml,css,md,blp,yml}]
[*.{xml,css,md,blp,yml}]
indent_style = space
indent_size = 2
4 changes: 1 addition & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Auto detect text files and perform LF normalization
* text eol=lf
*.csproj eol=crlf
*.sln eol=crlf
*.png binary
*.jpg binary
*.ico binary
Expand All @@ -10,4 +8,4 @@
*.otf binary
*.ttf binary
# Exclude Docs From Stats
NickvisionMoney.Shared/Docs/** linguist-documentation
docs/** linguist-documentation
8 changes: 3 additions & 5 deletions .github/workflows/flatpak.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions:
id-token: write
contents: read
jobs:
flatpak:
gnome-flatpak:
name: "GNOME on Flatpak"
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.user.login != 'weblate' }}
Expand All @@ -22,13 +22,11 @@ jobs:
arch: [x86_64]
fail-fast: false
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/checkout@v4
- uses: flatpak/flatpak-github-actions/flatpak-builder@v6.3
with:
bundle: org.nickvision.money.flatpak
manifest-path: flatpak/org.nickvision.money.json
cache-key: flatpak-builder-${{ github.sha }}
arch: ${{ matrix.arch }}
restore-cache: true
restore-cache: true
19 changes: 6 additions & 13 deletions .github/workflows/snap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,21 @@ permissions:
id-token: write
contents: read
jobs:
snap:
gnome-snap:
name: "GNOME on Snap"
runs-on: ubuntu-latest
strategy:
matrix:
arch: [x86_64]
fail-fast: false
steps:
- name: Checkout Git repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Build Snap
- uses: actions/checkout@v4
- name: Build
uses: snapcore/action-build@v1
id: snapcraft-build
with:
snapcraft-args: "-v"
- uses: actions/upload-artifact@v4
with:
name: denaro-amd64-snap
path: ${{ steps.snapcraft-build.outputs.snap }}
- name: Upload and release Denaro Snap
name: application-snap
path: ${{ steps.snapcraft-build.outputs.snap }}
- name: Upload and Release Edge
uses: snapcore/action-publish@v1
if: ${{ github.event_name != 'pull_request' }}
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/spelling.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
codespell:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: codespell-project/actions-codespell@master
with:
check_filenames: true
skip: cargo-sources.json,.git,*.svg,*.html,*.js,*.po,*.pot,*.page
skip: cargo-sources.json,.git,*.svg,*.html,*.js,*.po,*.pot,*.page,*.map,sqlite3.h,sqlite3.c,pch.h,CONTRIBUTING.md
ignore_words_list: gir
74 changes: 74 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
types: [ "review_requested", "ready_for_review" ]
workflow_dispatch:
name: Test
permissions:
id-token: write
contents: read
env:
BUILD_TYPE: Release
GITHUB_ACTIONS: true
VCPKG_ROOT: ${{github.workspace}}/vcpkg
jobs:
windows:
name: "Test on Windows"
runs-on: windows-latest
if: ${{ github.event.pull_request.user.login != 'weblate' }}
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Setup Environment"
run: mkdir build
- name: "Vcpkg"
uses: johnwason/vcpkg-action@v5
id: vcpkg
with:
pkgs: boost-date-time gtest libnick podofo rapidcsv
triplet: x64-windows
cache-key: windows-latest
revision: 4af63c6f3ed667437b8fe0789a7fbc29936c9802
token: ${{ secrets.GITHUB_TOKEN }}
- name: "Build"
working-directory: ${{github.workspace}}/build
run: |
cmake -G "Visual Studio 17 2022" .. -DBUILD_TESTING=ON -DBACKEND_ONLY=ON
cmake --build . --config ${{env.BUILD_TYPE}}
- name: Test
run: ${{github.workspace}}/build/libdenaro/Release/libdenaro_test.exe
linux:
name: "Test on Linux"
runs-on: ubuntu-latest
if: ${{ github.event.pull_request.user.login != 'weblate' }}
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Setup Environment"
run: |
mkdir build
sudo add-apt-repository ppa:ubuntu-toolchain-r/ppa -y
sudo apt-get update
sudo apt-get install g++-13 gcc-13 xdg-user-dirs gettext tzdata locales gnuplot -y
xdg-user-dirs-update
sudo locale-gen en_US.UTF-8
sudo update-locale LANG=en_US.UTF-8
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-13 100 --slave /usr/bin/g++ g++ /usr/bin/g++-13 --slave /usr/bin/gcov gcov /usr/bin/gcov-13
- name: "Vcpkg"
uses: johnwason/vcpkg-action@v5
id: vcpkg
with:
pkgs: boost-date-time gtest libnick podofo rapidcsv
triplet: x64-linux
cache-key: ubuntu-latest
revision: 4af63c6f3ed667437b8fe0789a7fbc29936c9802
token: ${{ secrets.GITHUB_TOKEN }}
- name: "Build"
working-directory: ${{github.workspace}}/build
run: |
cmake .. -DBUILD_TESTING=ON -DBACKEND_ONLY=ON -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
cmake --build .
- name: Test
run: ${{github.workspace}}/build/libdenaro/libdenaro_test
30 changes: 0 additions & 30 deletions .github/workflows/tests.yml

This file was deleted.

44 changes: 44 additions & 0 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
types: [ "review_requested", "ready_for_review" ]
workflow_dispatch:
name: Windows
permissions:
id-token: write
contents: read
env:
BUILD_TYPE: Release
GITHUB_ACTIONS: true
VCPKG_ROOT: ${{github.workspace}}/vcpkg
jobs:
build:
name: "Build on x64"
runs-on: windows-latest
if: ${{ github.event.pull_request.user.login != 'weblate' }}
steps:
- name: "Checkout"
uses: actions/checkout@v4
- name: "Setup Environment"
run: mkdir build
- name: "Vcpkg"
uses: johnwason/vcpkg-action@v5
id: vcpkg
with:
pkgs: boost-date-time libnick podofo rapidcsv
triplet: x64-windows
cache-key: windows-latest
revision: 4af63c6f3ed667437b8fe0789a7fbc29936c9802
token: ${{ secrets.GITHUB_TOKEN }}
- name: "Build"
working-directory: ${{github.workspace}}/build
run: |
cmake -G "Visual Studio 17 2022" .. -DBUILD_TESTING=OFF
cmake --build . --config ${{env.BUILD_TYPE}}
- name: Upload
uses: actions/upload-artifact@v4
with:
path: ${{github.workspace}}/build/org.nickvision.money.winui/Release
name: Windows-x64-${{env.BUILD_TYPE}}
Loading