-
Notifications
You must be signed in to change notification settings - Fork 0
dev 02 #2
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
Open
gamesguru
wants to merge
73
commits into
master
Choose a base branch
from
dev
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
dev 02 #2
Changes from all commits
Commits
Show all changes
73 commits
Select commit
Hold shift + click to select a range
ad2de45
wip
gamesguru 68da432
add some UI components to mainwindow
gamesguru 0a53c7a
wip
gamesguru 28debcc
user db and some ui improvements
gamesguru 4d6ff6d
add recipes; format
gamesguru 6208fd9
lint & some database open logic
gamesguru cb8142a
don't allow re-opening same DB (weird loop)
gamesguru dffbe73
only run actions on pull request once (no double run push)
gamesguru ff7fc26
add status bar
gamesguru 9359557
lint/fix cache not loaded potential condition
gamesguru 90af78e
add daily log (wip), and fix ubuntu 20.04 build
gamesguru aaa481c
cubic: handle database init/open logic
gamesguru a0a6b20
lint/tidy
gamesguru 9b4288b
add info dialo
gamesguru 98e0feb
keep working on ui
gamesguru 95540d8
version/release workflows. ui updates
gamesguru ec99ee7
init preferences ui
gamesguru 9c7d0ef
lint & ui tweaks/stuff
gamesguru 6c3f4b5
combine rda into preferences dialog
gamesguru c070ca9
update gitmodules: add ntsqlite, both mv -> lib
gamesguru aeef1c6
update db stuff
gamesguru 46ff83b
better history
gamesguru 1f7e6eb
small lint; version bump & release tweak/fix
gamesguru 1c460de
database & ui stuff
gamesguru 98de943
keep chugging
gamesguru 2f934d1
add some tests
gamesguru 15552da
qt 5.12 compat
gamesguru 338a2c5
update
gamesguru e9fdb23
appimage target
gamesguru 3f165c8
lint fixes
gamesguru 4b7cf62
config update, gitignore, docs feature roadmap
gamesguru 8d362c8
allow deleting search history items, lint/format.
gamesguru d0a8284
wip add some features
gamesguru 5dcd0cd
wip more features/UI stuff
gamesguru 489214e
add color to details UI
gamesguru 27b7efe
add scaling feature
gamesguru 206a722
support multiple days in food log (switching)
gamesguru 31951cb
some lints & UI fixes/updates
gamesguru 760ba8b
read CSV recipes, too. lint.
gamesguru c63dece
wip keep going
gamesguru 11e4545
update gitmodule name to include folder path for usda
gamesguru d2156aa
Update CMakeLists.txt
gamesguru 029506b
Update CMakeLists.txt
gamesguru df3d692
Update CMakeLists.txt
gamesguru b506124
init pylang_serv submodule (private for now)
gamesguru 7876a54
remove redundant SQL creation from C++
gamesguru ecd3301
wip
gamesguru 917c758
try to fix build? add context menu.
gamesguru e9a3ac4
try this
gamesguru 62c54df
fix?
gamesguru 501e451
fix?
gamesguru 8c31ac8
ci: working on failed 22.04 self-hosted runner
gamesguru 8d652bd
ci: restore libkeyutils1 reinstall fix
gamesguru e3c059b
ci: add debug info for libkeyutils
gamesguru b00b882
wip 01 cmakelist
gamesguru 855db43
improve cmake config/list
gamesguru 9e8f06d
fix? cmakelist
gamesguru 0f89b89
try this
gamesguru 3ba23b6
update workflows
gamesguru 9506d7d
update version bump, format code targets.
gamesguru 4b50b89
fixup! update workflows
gamesguru 1de915d
lint fix
gamesguru 3dc1cb0
emit appiamge artifact on full build
gamesguru 3d0e365
install linuxdeploy for appimage build on GitHub CI
gamesguru 7c8af34
appimage linuxdeploy fix
gamesguru 60c47e0
move desktop file to resources/ folder
gamesguru 5cedb84
fix desktop file:
gamesguru d30e705
pin LinuxDeploy and Qt Plugin to specific versions
gamesguru db42806
sqlite already added bug
gamesguru 0c10582
try this
gamesguru 2f69efa
wip recipe stuff
gamesguru 018caa3
more work on ui features
gamesguru 8165199
update workflows to build SQL modules too
gamesguru File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| BasedOnStyle: Google | ||
| IndentWidth: 4 | ||
| TabWidth: 4 | ||
| AccessModifierOffset: -4 | ||
| ColumnLimit: 100 | ||
| AllowShortFunctionsOnASingleLine: Empty | ||
| KeepEmptyLinesAtTheStartOfBlocks: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,177 @@ | ||
| --- | ||
| name: Release Build | ||
|
|
||
| on: | ||
| push: | ||
| tags: | ||
| - "v*" | ||
|
|
||
| jobs: | ||
| build-linux-20-04: | ||
| name: "Linux (Ubuntu 20.04)" | ||
| runs-on: ubuntu-20.04 | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| submodules: recursive | ||
|
|
||
| - name: Install Dependencies | ||
| run: | | ||
| sudo apt-get update | ||
| sudo apt-get install -y git cmake build-essential \ | ||
| qtbase5-dev libqt5sql5-sqlite libgl1-mesa-dev | ||
|
|
||
| - name: Build | ||
| run: make release | ||
|
|
||
| - name: Upload Artifact | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: nutra-linux-20.04 | ||
| path: build/nutra | ||
|
|
||
| build-linux-22-04: | ||
| name: "Linux (Ubuntu 22.04)" | ||
| runs-on: ubuntu-22.04 | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| submodules: recursive | ||
|
|
||
| - name: Install Dependencies | ||
| run: | | ||
| sudo apt-get update | ||
| sudo apt-get install -y git cmake build-essential \ | ||
| qt6-base-dev libqt6sql6 libqt6sql6-sqlite libgl1-mesa-dev | ||
|
|
||
| - name: Build | ||
| run: make release | ||
|
|
||
| - name: Upload Artifact | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: nutra-linux-22.04 | ||
| path: build/nutra | ||
|
|
||
| build-linux-24-04: | ||
| name: "Linux (Ubuntu 24.04)" | ||
| runs-on: ubuntu-24.04 | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| submodules: recursive | ||
|
|
||
| - name: Install Dependencies | ||
| run: | | ||
| sudo apt-get update | ||
| sudo apt-get install -y git cmake build-essential \ | ||
| qt6-base-dev libqt6sql6 libqt6sql6-sqlite libgl1-mesa-dev | ||
|
|
||
| - name: Build | ||
| run: make release | ||
|
|
||
| - name: Upload Artifact | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: nutra-linux-24.04 | ||
| path: build/nutra | ||
|
|
||
| build-windows: | ||
| name: "Windows" | ||
| runs-on: windows-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| submodules: recursive | ||
|
|
||
| - name: Install Qt | ||
| uses: jurplel/install-qt-action@v3 | ||
| with: | ||
| version: "6.5.0" | ||
| host: "windows" | ||
|
|
||
| - name: Build | ||
| run: make release | ||
|
|
||
| - name: Upload Artifact | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: nutra-win64.exe | ||
| path: build/Release/nutra.exe | ||
|
|
||
| build-macos: | ||
| name: "macOS" | ||
| runs-on: macos-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| submodules: recursive | ||
|
|
||
| - name: Install Qt | ||
| uses: jurplel/install-qt-action@v3 | ||
| with: | ||
| version: "6.5.0" | ||
| host: "mac" | ||
|
|
||
| - name: Build | ||
| run: make release | ||
|
|
||
| - name: Upload Artifact | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: nutra-macos.app | ||
| path: build/nutra.app | ||
|
|
||
| release: | ||
| name: "Create Release" | ||
| needs: | ||
| [ | ||
| build-linux-20-04, | ||
| build-linux-22-04, | ||
| build-linux-24-04, | ||
| build-windows, | ||
| build-macos, | ||
| ] | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 0 | ||
|
|
||
| - name: Verify tag is on master | ||
| run: | | ||
| git fetch origin master | ||
| if ! git merge-base --is-ancestor ${{ github.ref_name }} origin/master; then | ||
| echo "Error: Tag ${{ github.ref_name }} is not on master branch." | ||
| exit 1 | ||
| fi | ||
|
|
||
| - name: Check for Pre-release | ||
| id: check_prerelease | ||
| run: | | ||
| if [[ "${{ github.ref_name }}" == *"-"* ]]; then | ||
| echo "is_prerelease=true" >> $GITHUB_OUTPUT | ||
| echo "Detected pre-release tag." | ||
| else | ||
| echo "is_prerelease=false" >> $GITHUB_OUTPUT | ||
| echo "Detected stable release tag." | ||
| fi | ||
|
|
||
| - name: Download Artifacts | ||
| uses: actions/download-artifact@v4 | ||
| with: | ||
| path: artifacts | ||
|
|
||
| - name: Create Release | ||
| uses: softprops/action-gh-release@v1 | ||
| if: startsWith(github.ref, 'refs/tags/') | ||
| with: | ||
| prerelease: ${{ steps.check_prerelease.outputs.is_prerelease }} | ||
| files: | | ||
| artifacts/nutra-linux-20.04/nutra | ||
| artifacts/nutra-linux-22.04/nutra | ||
| artifacts/nutra-linux-24.04/nutra | ||
| artifacts/nutra-win64.exe/nutra.exe | ||
| artifacts/nutra-macos.app/** | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.