Wykres commitów

1608 Commity (main)

Autor SHA1 Wiadomość Data
Holger Müller a04d6d9b39 BIG BINARY BUILD TEST 2024-02-11 12:07:47 +01:00
Holger Müller 00dd59ffc6 library updates 2024-01-10 09:23:35 +01:00
Holger Müller d3216d2ddb
Bugfix/exec crash (#678)
* fixed crash on pop-menu #677
* updated libs
2023-11-14 18:04:18 +01:00
t52ta6ek 96dd23211a
Fix checking for updates (#674)
* Because the application version seems to be a generated value, a different
method needed to be devised to try and determine what the current version
nuber if. We now attempt scan the github release tags for the latest release
version. If a newer version is detected, the application will display the
current version and direct the user to click the link to view the latest
release page.

* Rather, should report error against TAGS_URL and not LATEST_URL at this stage.
2023-08-08 14:30:25 +02:00
Holger Müller 2f8c5346eb
Feature/actions (#672)
* use python3.11
* noconsole for windows binary
* no more 32-Bit versions
2023-08-03 17:01:03 +02:00
t52ta6ek 4257ac152a
Add the nanosaver project icon to resulting Windows application. (#671) 2023-08-03 14:35:03 +02:00
Holger Müller 21e85bdb49
fix swwep update crash #668 (#669) 2023-08-01 12:42:38 +02:00
Holger Müller b4800102d8
Feature/pip updates (#666)
* fix startup script for pyinstaller
* update 3rd party libs
* flatpak setup
* rely on requirements for pyqt6
* xcb fixes for linux binary build
* removed old linux build workflow
2023-07-31 13:31:27 +02:00
Name abb80a5160
Sweep.py: add getters and setters for private fields (#659)
* style, Sweep.py: remove a double negation

* style, NanoVNASaver.py: simplify sweepSource computation

* Sweep.py: add getters and setters for private fields

Beware that this commit removes a lock from
SweepSettings.update_tex_power, and adds one to
DeviceSettings.updatecustomPoint.
Both changse may be incorrect, depending on the role of the lock
(issue #657).

Follows: 6eb24f23 d09b55e1 dbea311a

Since d09b55e1, the Properties.name class attribute is overriden by
each assignment to the properties.name instance attribute.
This is most probably unwanted.

This commit

 * removes @dataclass, which is confusing as some attributes are
   managed because of the lock.
   Because of this, it has to restore __repr__ and __eq__.
 * provides getters and setters for private attributes, and
   protects each update by a thread lock
 * adds a regression test for the bug fixed by d09b55e1 (immutable
   properties).
2023-07-30 09:03:06 +02:00
t52ta6ek 5bed1bc6cc
Control panel width increased a few pixels to allow Markers -> "reference" checkbox to be capitalized like the other checkboxes and radio buttons. Now able to be displayed as "Reference" without cutting off the text of the "Enable Delta Marker" checkbox. (#665)
Added icon_48x48.ico so that pyinstaller/auto-py-to-exe can create a Windows executable with the actual NanoVNA-Saver project icon instead of a generic Python icon. The .ico was created by converting the icon_48x48.png image.

"Files" button in control panel changed to "Files ..." to be consistent with other "..." actions where a user will take additional action after pressing the button.

Minor corrections in the Calibration page "Are you sure?" and "Calibration assistant" pop-ups where text was being run together. e.g. "doso" instead of "do so" etc.

Fix issue: #663
2023-07-30 08:52:49 +02:00
t52ta6ek 20c1e4ec7c
With current firmware, the JNCRadio, SV4401A, SV6301A devices allows 1001 datapoints (#662)
* With current firmware, these JNCRadio_VNA_3G, SV4401A, SV6301A devices allow 1001 datapoints.

Updated datapoints dropdown to show their respective minimums, the 'typical' 101, device default 501 and maximum 1001 points. Users may choose any other values between min and max not seen in the dropdown list using the custom datapoints option.

These devices now use the factory default 501 datapoints as their initial datapoints value.

* cut-paste typo in sweep_points_min (facepalm)
2023-07-26 07:54:31 +02:00
Name 21ba0ef665
Simplify the in-source launcher script (#660)
The nanovna-saver.py script is ignored by setup.cfg, its only purpose
is to test the version in the source directory.

According to https://setuptools.pypa.io/en/latest/history.html,
pkg_resources.py2warn has been removed from setuptools in 2020
2023-07-17 14:21:16 +02:00
t52ta6ek eff83097f8
Added support for devices reporting as SV4401A and SV6301A using Sysj… (#655)
* Added support for devices reporting as SV4401A and SV6301A using Sysjoint's support for SV4401A as model.
2023-07-08 10:41:09 +02:00
Name dbea311a02
Adapt sweep settings imports and tests to source changes (#653)
6eb24f23 from merge request 625
made NamedTuple an ancestor of Properties, adapting the imports and
tests.

d09b55e1 from merge request 628
removed it but forgot to remove the related changes.
2023-07-08 10:39:35 +02:00
t52ta6ek a4a923a649
Jncradiovna3g - support Sysjoint-Tek / CHELEGANCE JNCRadio VNA 3G (#652)
* Added support for Sysjoint-Tek / CHELEGANCE JNCRadio VNA 3G
   Device reported as JNCRadio and Custom points added under Manage tab.
* Minor change to correct spelling or error msg.
2023-07-05 10:18:51 +02:00
Martin ce0c7dd226
Redesign of the About window (#648)
- Info and version check closer together
- More precise wording
- Reflect the connection status of the VNA

Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
2023-07-05 10:00:47 +02:00
Martin 546d3b188a
use correct URL for NanoVNASaver version check (#647)
Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
2023-07-05 10:00:06 +02:00
Martin 1f233819d2
option --auto-connect, connect automatically if one device detected (#645)
* option --auto-connect, connect automatically to the 1st detected device
* autoconnect only if there is exactly one device

Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
2023-07-05 09:59:26 +02:00
Martin a8ffbc3aee
fix "Could not parse stylesheet of object QGroupBox..." error (#643)
* fix "Could not parse stylesheet of object QGroupBox..." error

Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>

* fix https://github.com/NanoVNA-Saver/nanovna-saver/issues/596

Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>

---------

Signed-off-by: Martin <Ho-Ro@users.noreply.github.com>
2023-06-21 14:08:19 +02:00
Holger Müller ce8a59d478 fixed typo in calibration code #637 2023-05-13 16:49:34 +02:00
Crispin Tschirky aab2a15f69
Build of MacOS app bundle NanoVNASaver.app (#634)
* add icon for MacOS based on icon_48x48.png
* add macos build script to build NanoVNASaver.app for current architecture
* add releas app action to build: NanoVNASaver.app-x86_64.tar.gz action
2023-05-05 10:40:54 +02:00
Sascha Silbe 9b4575e307
nanovna-saver.py: fix execution from outside source directory (#632)
nanovna-saver.py can be called from outside the source directory. The
module import path needs to be resolved relative to the source
directory, not relative to the current working directory of the
process.

Fixes: b0110002 ("moved to pyscaffold directory structure")
2023-05-02 11:12:21 +02:00
Henk Vergonet 8f86722c1e
fix: PyQt6 fixes (#629)
More fixes for PyQt6 should now be usable again with >python3.7 & PyQt6

Calibration - tested
Display Configuration - tested
2023-04-18 12:14:21 +02:00
Henk Vergonet d09b55e1ae
fix: sweep settings and hw version update (#628)
* Remove privacy breaches from the HTML documentation

Icons and screenshots should not inform distant websites each time an
user reads readme.html.

The suggestions in this draft are independent and will probably be
discussed separately, but they affect a single file so for a first
review a single commit is convenient.

* fix: sweep settings and hw version update

NamedTuples are inmutable either use _replace or use the class itself.

* Revert "Remove privacy breaches from the HTML documentation"

---------

Co-authored-by: Nicolas Boulenguez <nicolas@debian.org>
2023-04-15 19:23:28 +02:00
Name 6eb24f2315
Trivial style changes (#625)
* Style: update type annotations

* Style: simplify extraction of version from metadata

* Style: replace some handwritten classes with namedtuples or dataclasses

* RIZ.py: remove unused import

* Style: remove some redundant lambda constructs

* Marker/Values: remove __init__ parameters

Mutable default values imply some complexity. In this case, the
constructor is always called without arguments.
2023-03-22 15:56:59 +01:00
Name d89c9f9d94
tests/data/s2p: remove DOS end of line characters (#624)
Git sometimes replaces CRLF with a single characters, so the tar.gz
archives generated by github from tags differ from the tagged commit.

The tests also pass with a single line terminator.
2023-03-20 09:28:20 +01:00
Name f34f3d1f67
Add an UNIX-style manual page (#622)
Some redistributors want a manual page for each executable in path.

The installation path may differ accross systems, so the manual page
is not installed by default.
2023-03-20 09:27:06 +01:00
Name 1cd5c052db
__main__.py: remove /bin/env shebang (#623)
The file is not intended for direct execution,
not installed in the path,
and not marked as executable.
Its extension is sufficient for editors to trigger syntax highlighting.

The shebang seems to only trigger warnings on systems wher /bin/env is
unavailable (it may be in /usr/bin for example).
2023-03-20 09:25:55 +01:00
Holger Müller 52cdac4f52 back to python 3.9 for windows 2023-03-15 14:19:30 +01:00
Holger Müller fafe0b2536 setup fixes 2023-03-15 14:07:32 +01:00
Holger Müller c5e00666aa pip update 2023-03-15 13:52:29 +01:00
Holger Müller 8dec23296e updated workflows 2023-03-15 13:14:14 +01:00
Holger Müller d1592ac1a3 github actions fetch-depth 2023-03-15 13:02:49 +01:00
Holger Müller 4e06fc53cf generate version for binary builds 2023-03-15 12:55:56 +01:00
Holger Müller 45c2338196 Merge branch 'main' of github.com:NanoVNA-Saver/nanovna-saver 2023-03-15 12:14:10 +01:00
Holger Müller 2bab4d4b0d try to get version in about 2023-03-15 12:06:13 +01:00
Holger Müller b3a9f6d8cb
Delete _version.py 2023-03-14 21:18:02 +01:00
Holger Müller 3c752a9731 build fixes 2023-03-14 21:00:56 +01:00
Holger Müller b2c2598d3c requierements and workflow 2023-03-14 20:10:27 +01:00
dependabot[bot] c18a6c226f
Bump setuptools from 65.3.0 to 65.5.1 (#617)
Bumps [setuptools](https://github.com/pypa/setuptools) from 65.3.0 to 65.5.1.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/CHANGES.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v65.3.0...v65.5.1)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-14 19:24:46 +01:00
Holger Müller dd2f5b8a5d
Feature/tinysa (#616)
* TinySA and PyQt6 fixes
2023-03-14 19:22:46 +01:00
Holger Müller b322d3dc09 Updated changes in README.rst 2023-03-13 12:13:44 +01:00
Holger Müller 5b21315a11 PyQt6 updates 2023-03-13 12:13:44 +01:00
Holger Müller 9ace7d8cd4 PyQt6 fixes 2023-03-13 12:13:44 +01:00
Holger Müller b768a8e01b pyqt6 2023-03-13 12:13:44 +01:00
Holger Müller 2c58b2ba8f
Merge pull request #614 from MarcFontaine/main
restore options.entry_points
2023-03-10 19:02:58 +01:00
MarcFontaine a45baea9e2
restore options.entry_points 2023-03-10 18:46:50 +01:00
Holger Müller db5cd98e03
Merge pull request #612 from NanoVNA-Saver/feature/v0.6.0
Feature/v0.6.0
2023-03-08 13:57:16 +01:00
Holger Müller 74792b3192
Merge pull request #611 from zarath/updates
used black for reformatting/lintig
2023-03-08 09:52:38 +01:00
Holger Müller 50b540a832 used black for reformatting/lintig 2023-03-08 09:40:39 +01:00