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

Dev #4

Open
wants to merge 28 commits into
base: qml
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
96acc7b
debug
raphaelscholle Jan 9, 2024
3049929
Update macos.yml
raphaelscholle Jan 9, 2024
0aa8630
Update Info.plist.in
raphaelscholle Jan 9, 2024
f4a51b2
Update macos.yml
raphaelscholle Jan 9, 2024
0c5d9e6
testing
raphaelscholle Jan 20, 2024
650410d
Update downloadthread.cpp
raphaelscholle Jan 20, 2024
38a3f84
Update downloadthread.cpp
raphaelscholle Jan 21, 2024
d626c5a
update stuff, not ready ...
raphaelscholle Jan 21, 2024
309a2a8
fixing update settings bug
raphaelscholle Jan 21, 2024
11d46c4
Update downloadthread.cpp
raphaelscholle Jan 21, 2024
85c5e90
Update downloadthread.cpp
raphaelscholle Jan 21, 2024
3a2b126
add rockzero3w
raphaelscholle Feb 15, 2024
0b11a40
Update OptionsPopup.qml
raphaelscholle Feb 15, 2024
a2daf3e
Update downloadthread.cpp
raphaelscholle Feb 15, 2024
e7c0c37
Update downloadthread.cpp
raphaelscholle Feb 15, 2024
4852266
Update downloadthread.cpp
raphaelscholle Feb 15, 2024
d21a967
step2
raphaelscholle Feb 16, 2024
0aa31de
fix rpi cameras
raphaelscholle Feb 16, 2024
1b304d2
add advanced
raphaelscholle Feb 16, 2024
365e00b
Update OptionsPopup.qml
raphaelscholle Feb 16, 2024
d393775
Update OptionsPopup.qml
raphaelscholle Feb 16, 2024
5165b0f
rock-stuff
raphaelscholle Feb 16, 2024
ec85dc6
Update OptionsPopup.qml
raphaelscholle Feb 16, 2024
ce83eb4
increase version and improve details
raphaelscholle Feb 16, 2024
00bae5d
Update OptionsPopup.qml
raphaelscholle Feb 16, 2024
2994027
readd ignore paths
raphaelscholle Mar 5, 2024
c8ba205
spacing
raphaelscholle Mar 5, 2024
76326a2
testing
raphaelscholle Mar 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .github/workflows/Windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,16 @@ name: OpenHD Image Writer Windows

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
branches:
- "2.5-evo"
- "dev-release"
- "release"
paths-ignore:
- '**.md'
- '**.asciidoc'
- '**.adoc'
- '.gitignore'
- 'LICENSE'

env:
BUILD_TYPE: Release
Expand Down
13 changes: 12 additions & 1 deletion .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,17 @@ name: Build MacOS

on:
push:

branches:
- "2.5-evo"
- "dev-release"
- "release"
paths-ignore:
- '**.md'
- '**.asciidoc'
- '**.adoc'
- '.gitignore'
- 'LICENSE'

env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
Expand Down Expand Up @@ -33,6 +43,7 @@ jobs:
- name: Build
# Build your program with the given configuration
run: |
cmake --version
cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
cd ../build/
ls -a
Expand Down
42 changes: 23 additions & 19 deletions .github/workflows/ubuntu20.04.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@ name: OpenHD Image Writer

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "qml" branch
push:
branches: [ "master" ]
paths-ignore:
- '**/Windows.yml'
pull_request:
branches: [ "master" ]
branches:
- "2.5-evo"
- "dev-release"
- "release"
paths-ignore:
- '**.md'
- '**.asciidoc'
- '**.adoc'
- '.gitignore'
- 'LICENSE'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down Expand Up @@ -43,16 +47,16 @@ jobs:
*.deb
if-no-files-found: error

- name: Push
id: push
uses: cloudsmith-io/action@master
with:
api-key: ${{ secrets.CLOUDSMITH_API_KEY }}
command: "push"
format: "deb"
owner: "openhd"
repo: "openhd-2-3-evo"
distro: "ubuntu"
release: "focal"
republish: "true" # needed ONLY if version is not changing
file: "*.deb"
# - name: Push
# id: push
# uses: cloudsmith-io/action@master
# with:
# api-key: ${{ secrets.CLOUDSMITH_API_KEY }}
# command: "push"
# format: "deb"
# owner: "openhd"
# repo: "openhd-2-3-evo"
# distro: "ubuntu"
# release: "focal"
# republish: "true" # needed ONLY if version is not changing
# file: "*.deb"
63 changes: 63 additions & 0 deletions .github/workflows/ubuntu22.04.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# This is a basic workflow to help you get started with Actions

name: OpenHD Image Writer

on:
push:
branches:
- "2.5-evo"
- "dev-release"
- "release"
- "2.0"
paths-ignore:
- '**.md'
- '**.asciidoc'
- '**.adoc'
- '.gitignore'
- 'LICENSE'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-22.04

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

# Runs a set of commands using the runners shell
- name: Build
run: |
sudo apt update
sudo apt upgrade -y
sudo apt install -y --no-install-recommends libgnutls28-dev build-essential devscripts debhelper cmake git libarchive-dev libcurl4-openssl-dev qtbase5-dev qtbase5-dev-tools qtdeclarative5-dev libqt5svg5-dev qttools5-dev libssl-dev qml-module-qtquick2 qml-module-qtquick-controls2 qml-module-qtquick-layouts qml-module-qtquick-templates2 qml-module-qtquick-window2 qml-module-qtgraphicaleffects
mkdir build
mv `ls -A | grep -v "build"` build
cd build
debuild -uc -us
cd ..

- name: Upload to Github
uses: 'actions/upload-artifact@v2'
with:
name: "OpenHD Image Writer"
path: |
*.deb
if-no-files-found: error

- name: Push
id: push
uses: cloudsmith-io/action@master
with:
api-key: ${{ secrets.CLOUDSMITH_API_KEY }}
command: "push"
format: "deb"
owner: "openhd"
repo: ${{ github.ref_name }}
distro: "ubuntu"
release: "jammy"
republish: "true" # needed ONLY if version is not changing
file: "*.deb"
18 changes: 11 additions & 7 deletions .github/workflows/ubuntu23.04.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,17 @@ name: OpenHD Image Writer lunar

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the "qml" branch
push:
branches: [ "master" ]
paths-ignore:
- '**/Windows.yml'
pull_request:
branches: [ "master" ]
branches:
- "2.5-evo"
- "dev-release"
- "release"
paths-ignore:
- '**.md'
- '**.asciidoc'
- '**.adoc'
- '.gitignore'
- 'LICENSE'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down Expand Up @@ -61,7 +65,7 @@ jobs:
command: "push"
format: "deb"
owner: "openhd"
repo: "openhd-x86-evo"
repo: ${{ github.ref_name }}
distro: "ubuntu"
release: "lunar"
republish: "true" # needed ONLY if version is not changing
Expand Down
28 changes: 28 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,31 @@
openhdimagewriter (2.0.2) stable; urgency=high

* add camera selection for about all boards

-- Raphael Scholle <[email protected]> Sat, 02 Sep 2023 02:06:52 +0100
openhdimagewriter (2.0.1) stable; urgency=high

* TODO

-- Raphael Scholle <[email protected]> Sat, 02 Sep 2023 02:06:52 +0100
openhdimagewriter (1.9.2) stable; urgency=high

* refactor a lot of settings to QSettings
* refactor all settings
* remove a few bugs with it

-- Raphael Scholle <[email protected]> Sat, 02 Sep 2023 02:06:52 +0100
openhdimagewriter (1.9.1) stable; urgency=high

* refactor a lot of settings to QSettings
* add wifi-hotspot
* add details page
* add camera-selection
* add wifi-hotspot
* add debug mode

-- Raphael Scholle <[email protected]> Sat, 02 Sep 2023 02:06:52 +0100

openhdimagewriter (1.9.0) stable; urgency=high

* add bindphrase
Expand Down
2 changes: 1 addition & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Package: openhdimagewriter
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends},
qml-module-qtquick2, qml-module-qtquick-controls2, qml-module-qtquick-layouts, qml-module-qtquick-templates2, qml-module-qtquick-window2, qml-module-qtgraphicaleffects,
dosfstools, fdisk
dosfstools, fdisk, qml-module-qt-labs-settings
Recommends: udisks2
Description: OpenHD Image Writer
Graphical user-interface to write disk images and format SD cards.
8 changes: 4 additions & 4 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ OPTION (ENABLE_CHECK_VERSION "Check for version updates" ON)
OPTION (ENABLE_TELEMETRY "Enable sending telemetry" ON)

project(OpenHDImageWriter LANGUAGES CXX C)
set(IMAGER_VERSION_MAJOR 1)
set(IMAGER_VERSION_MINOR 9)
set(IMAGER_VERSION_STR "${IMAGER_VERSION_MAJOR}.${IMAGER_VERSION_MINOR}.0")
set(IMAGER_VERSION_CSV "${IMAGER_VERSION_MAJOR},${IMAGER_VERSION_MINOR},0,0")
set(IMAGER_VERSION_MAJOR 2)
set(IMAGER_VERSION_MINOR 0)
set(IMAGER_VERSION_STR "${IMAGER_VERSION_MAJOR}.${IMAGER_VERSION_MINOR}.2")
set(IMAGER_VERSION_CSV "${IMAGER_VERSION_MAJOR},${IMAGER_VERSION_MINOR},2,0")
add_definitions(-DIMAGER_VERSION_STR="${IMAGER_VERSION_STR}")
add_definitions(-DIMAGER_VERSION_CSV=${IMAGER_VERSION_CSV})

Expand Down
32 changes: 15 additions & 17 deletions src/MsgPopup.qml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Popup {
property alias title: msgpopupheader.text
property alias text: msgpopupbody.text
property bool continueButton: true
property bool detailsButton: false
property bool quitButton: false
property bool yesButton: false
property bool noButton: false
Expand Down Expand Up @@ -93,6 +94,19 @@ Popup {
Layout.alignment: Qt.AlignCenter | Qt.AlignBottom
spacing: 20


ImButton {
visible: msgpopup.detailsButton
text: qsTr("Details")
onClicked:{
onClicked: {
detailsPopup.visible = !detailsPopup.visible;
}
}
Material.foreground: activeFocus ? "#d1dcfb" : "#ffffff"
Material.background: "#2C3E50"
}

ImButton {
text: qsTr("NO")
onClicked: {
Expand Down Expand Up @@ -124,7 +138,6 @@ Popup {
Material.foreground: activeFocus ? "#d1dcfb" : "#ffffff"
Material.background: "#2C3E50"
}

ImButton {
text: qsTr("QUIT")
onClicked: {
Expand All @@ -138,22 +151,6 @@ Popup {

Text { text: " " }
}
RowLayout {
Layout.alignment: Qt.AlignLeft | Qt.AlignBottom
Layout.leftMargin: 20
Layout.bottomMargin: 10
Text {
id: changelog
text: "<a href='https://openhdfpv.org/changelogs'>changelogs</a>&nbsp;&nbsp;&nbsp; FIRST BOOT MAY TAKE UP TO 5 MINUTES! "
font.family: roboto.name
font.pointSize: 10
visible: msgpopup.continueButton
MouseArea {
anchors.fill: parent
onClicked: Qt.openUrlExternally("https://openhdfpv.org/changelogs")
}
}
}
}

function openPopup() {
Expand All @@ -162,3 +159,4 @@ Popup {
msgpopupbody.forceActiveFocus()
}
}

Loading