Commit graph

1252 commits

Author SHA1 Message Date
Martin Homuth-Rosemann
00a622ab2e fix workflow stale runner error (missing token permissions)
Some checks failed
Build / linux-amd64 (push) Has been cancelled
Build / linux-arm64 (push) Has been cancelled
Build / macos-amd64 (push) Has been cancelled
Build / macos-arm64 (push) Has been cancelled
Build / windows-msvc_x64 (push) Has been cancelled
Build / windows-mingw_w64 (push) Has been cancelled
Signed-off-by: Martin Homuth-Rosemann <Ho-Ro@users.noreply.github.com>
2026-10-11 13:01:24 +02:00
Martin Homuth-Rosemann
d2ac834189
ci: make macOS codesign verification non-fatal on ad-hoc signing (#478)
Some checks failed
Build / linux-amd64 (push) Has been cancelled
Build / linux-arm64 (push) Has been cancelled
Build / macos-amd64 (push) Has been cancelled
Build / macos-arm64 (push) Has been cancelled
Build / windows-msvc_x64 (push) Has been cancelled
Build / windows-mingw_w64 (push) Has been cancelled
macdeployqt copies Homebrew libraries into the bundle on macOS runners;
re-signing with --deep and then --verify --strict fails for some embedded
dylibs (especially on Intel) even though the bundle can run. Since we
only need ad-hoc signing for artifact packaging and the arm64 job
succeeded with the same step, make verification non-fatal to avoid
spurious CI failures.

Signed-off-by: Martin Homuth-Rosemann <Ho-Ro@users.noreply.github.com>
2026-10-08 16:22:20 +02:00
Martin Homuth-Rosemann
059be93cd3
Merge pull request #477 from OpenHantek/topic/mingw-ucrt64-portable-and-cleanups
CMake version fallback + MinGW UCRT64 portable CI + cleanup
2026-10-08 15:44:02 +02:00
Martin Homuth-Rosemann
112713e8cd refactor, CI, docs, cleanups: per-object verbosity, remove dead code/assets, update translations; re-enable MinGW on UCRT64, fix Windows packaging/docs, drop dead build_check links
This groups the source cleanups and tooling/docs fixes that were applied
after the original cleanup. The two changes in CMakeLists.txt were
committed as a separate topic.

Source cleanup:
- Drop unused VERBOSE macros and duplicate/dead includes across dsosettings,
  glscope, hantekdso models, triggering, mainwindow.
- Replace the global verboseLevel with per-object verbosity (mainwindow,
  selectdevice, and usb code: ezusb, finddevices, scopedevice, uploadFirmware).
- Remove duplicate QCoreApplication include in scopedevice.cpp.
- Drop unused images and orphaned UI actions (mainwindow.ui).
- Regenerate translation location line numbers after the above changes (9 .ts
  files). The content strings are mostly unchanged.

Build and docs:
- Re-enable the MinGW (MSYS2, UCRT64) Windows build. Use the shared Qt6
  runtime and copy it next to the exe with windeployqt (portable zip). This
  replaces the commented-out MinGW job that used the vanished
  mingw-w64-x86_64-qt6-static and produced the misnamed _mingw_amd64 artifacts
  (fixes #437).
- Keep the CMake CMAKE_CONFIGURE_DEPENDS for git state separate.
- Document both Windows packages (MSVC and MinGW) and correct the dead
  build_check.yml links to build.yml in README.md and docs/build.md.

Signed-off-by: Martin Homuth-Rosemann <Ho-Ro@users.noreply.github.com>
2026-10-08 15:28:01 +02:00
Martin Homuth-Rosemann
01e099121b cmake: handle the version robustly and re-run configure on git changes
A source tarball has no .git directory, so git describe never runs and
PACKAGE_VERSION stayed empty - CPackDeb then aborted with "Debian package
requires a package version" (OpenHantek/OpenHantek6022#457). Provide a
release version from project() as a fallback, quote the string(FIND) calls
so an empty describe string cannot abort the configure, and never let an
empty VERSION unset PACKAGE_VERSION.

Also put HEAD, index and packed-refs into CMAKE_CONFIGURE_DEPENDS: VERSION
is baked into the compile definitions at configure time, so without it
--version kept reporting the commit the build tree was created from, no
matter how often the working tree moved on.

Signed-off-by: Martin Homuth-Rosemann <Ho-Ro@users.noreply.github.com>
2026-10-08 15:26:30 +02:00
Martin Homuth-Rosemann
4abdcce9be update README; new icon (thx MantsoftCR); update deb dependencies
Signed-off-by: Martin Homuth-Rosemann <Ho-Ro@users.noreply.github.com>
2026-05-03 17:03:30 +02:00
Martin Homuth-Rosemann
95f11e60da Add persistent font weight option
Signed-off-by: Martin Homuth-Rosemann <Ho-Ro@users.noreply.github.com>
2026-04-29 18:48:26 +02:00
Martin Homuth-Rosemann
e97c9a71fc update translations
Signed-off-by: Martin Homuth-Rosemann <Ho-Ro@users.noreply.github.com>
2026-04-27 18:34:58 +02:00
Guillermo Diaz
cf3b0db2af fix: reconnect scope after USB disconnect, close #467
fixes also #337, #339, #425, and #445

Signed-off-by: Guillermo Diaz <guillermodiazlorenzo@gmail.com>
2026-04-27 12:24:38 +02:00
Martin Homuth-Rosemann
320c7f5e41 reactivate the stale workflow, mark after 365 days, lock 30 days later
Signed-off-by: Martin Homuth-Rosemann <Ho-Ro@users.noreply.github.com>
2026-04-21 20:49:32 +02:00
Martin Homuth-Rosemann
640a284458 update github runner actions b/c node.js 20 actions are deprecated
Signed-off-by: Martin Homuth-Rosemann <Ho-Ro@users.noreply.github.com>
2026-04-21 16:18:33 +02:00
Martin Homuth-Rosemann
2659dc26d2 check modification from alwaysEpic (#PR459)
Signed-off-by: Martin Homuth-Rosemann <Ho-Ro@users.noreply.github.com>
2026-04-21 09:52:29 +02:00
Martin Homuth-Rosemann
736bbed98a update workflow for current runer versions; update doc (closes #459)
Signed-off-by: Martin Homuth-Rosemann <Ho-Ro@users.noreply.github.com>
2026-04-21 09:16:58 +02:00
Martin Homuth-Rosemann
23cd42af63 use firmware built with current SDCC version, no functional change
https://github.com/Ho-Ro/Hantek6022API

Signed-off-by: Martin Homuth-Rosemann <Ho-Ro@users.noreply.github.com>
2026-04-20 19:03:57 +02:00
Martin Homuth-Rosemann
bb3606602b PR #443 - Adding minor changes in PT translation.
Signed-off-by: Martin Homuth-Rosemann <Ho-Ro@users.noreply.github.com>
2025-10-16 12:29:54 +02:00
heit0r
3c021dc1c9 (docs) Adding minor changes in PT translation.
Changing some of the first screen texts.

Signed-off-by: heit0r <heitor@riseup.net>
2025-10-15 17:07:30 -03:00
Tony
a54e26a7e8 fix missing QtDBus on macOS
Signed-off-by: Tony <tonylu@tony-cloud.com>
2025-10-10 08:19:28 +08:00
Tony
f690e2b7a8 remove macdeployqtfix from submodule
Signed-off-by: Tony <tonylu@tony-cloud.com>
2025-10-10 08:19:28 +08:00
Tony
e6bff865c0 remove macdeployqtfix
Signed-off-by: Tony <tonylu@tony-cloud.com>
2025-10-10 08:19:28 +08:00
Tony
90f1d5e4f4 fix macOS 13+ missing from Launchpad
Signed-off-by: Tony <tonylu@tony-cloud.com>
2025-10-10 08:19:28 +08:00
Tony
fb2a0c3096 fix macOS build
Signed-off-by: Tony <tonylu@tony-cloud.com>
2025-10-10 08:19:28 +08:00
Tony
bbcf986105 Revert "The macOS build is currently not working"
This reverts commit f3684a1930.

Signed-off-by: Tony <tonylu@tony-cloud.com>
2025-10-10 08:19:28 +08:00
Martin
f3684a1930 The macOS build is currently not working
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
2025-09-08 17:09:13 +02:00
Martin Homuth-Rosemann
b24c854a95 reorder GitHub runner script
Signed-off-by: Martin Homuth-Rosemann <horo@guardi.fritz.box>
2025-09-08 16:47:03 +02:00
Martin Homuth-Rosemann
898f7d5793 use the correct arm64 runner
Signed-off-by: Martin Homuth-Rosemann <horo@guardi.fritz.box>
2025-09-08 15:26:43 +02:00
Martin Homuth-Rosemann
4ce0f0c8f2 ad linux arm64 build
Signed-off-by: Martin Homuth-Rosemann <horo@guardi.fritz.box>
2025-09-08 15:14:41 +02:00
Martin Homuth-Rosemann
16053eafa7 update build process for Qt6
Signed-off-by: Martin Homuth-Rosemann <horo@guardi.fritz.box>
2025-09-06 19:18:19 +02:00
Martin
dfc4d4e3ae show Qt lib version, not Qt compile version; min CMake ver. 3.10 -> 3.12
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
2025-09-05 16:36:20 +02:00
Martin
68439b720c reorder logical functions; update translations
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
2025-09-02 17:42:38 +02:00
Peter D. Kaczorowski
e15ed3aa15 Added XOR function to the MathChannel module.
The MATH channel displays the XOR function of channels CH1 and CH2.

Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
2025-09-02 17:12:14 +02:00
Martin
ef3f2442c0 Back to GO, disable MinGW build until a volunteer fixes it for Qt6
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
2025-09-01 20:35:43 +02:00
Martin
8b3dd27d66 mingw-w64-x86_64-clang-libs: for lupdate
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
2025-09-01 20:19:45 +02:00
Martin
3c4cc90341 MinGW fix - step by step ...
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
2025-09-01 20:04:36 +02:00
Martin
30daf925c4 MinGW fix - step by step ...
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
2025-09-01 19:50:21 +02:00
Martin
a7e591083f test MinGW64 build
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
2025-09-01 19:44:35 +02:00
Martin
d4115b4a60 test Win MSVC build action
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
2025-09-01 19:11:40 +02:00
Martin
c2a6ef174f Fix GitHub runner Linux build – Temporarily disable Windows build
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
2025-08-30 18:50:38 +02:00
Martin
a591a6efa7 update GitHub runner CI/CD script, update docs
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
2025-08-30 17:07:28 +02:00
Martin
05ec4ee6b2 Qt5 -> Qt6 transition
After Debian's bookworm to trixie update it's time for Qt6

Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
2025-08-30 16:51:44 +02:00
Nicola Fontana
982f746416 Update italian translations
All strings should now be translated (no obsolete/unfinished/vanished
translations) and consistent (all in third person singular).

To avoid surprises, I kept the shortcuts only when matching (e.g.
"&Apply" became "&Applica") and skipped them when the matching was not
possible (e.g. "&Cancel" became "Annulla").

Signed-off-by: Nicola Fontana <ntd@entidi.it>
2025-03-25 12:24:55 +01:00
Martin
c58e155fa1 rename desktop file according Wayland requirement (RevDom.AppName.desktop)
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
2025-03-19 14:52:48 +01:00
Martin
8890c2d52f update user manual for upcoming v.3.4
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
2025-03-19 12:59:09 +01:00
Martin
9345ce5faa restructuring include files
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
2025-03-19 12:58:42 +01:00
Martin
f82859fcd8 try to fix #406, no UI translation now for LANG=en_* (not only en_US)
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
2025-03-09 17:00:04 +01:00
Martin
17d05f8646 add persistent option "doNotTranslate" to bypass the localisation
additional to the (non-persistent) cmd line option "--international"

Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
2025-03-08 08:45:22 +01:00
Martin
7b8942af2c Show oversampling factor on top of screen
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
2025-03-04 16:34:21 +01:00
Martin
3f4232027d finetuning the build process - no OH6022 changes
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
2025-03-03 19:46:31 +01:00
Martin
b174c4cc5c test for macos intel and arm64 build
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
2025-03-03 17:38:02 +01:00
Martin
d3c654eef6 test for macos build
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
2025-03-03 17:28:54 +01:00
Martin
ff8afbce45 test for macos build
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
2025-03-03 17:12:20 +01:00