2976 Commits

Author SHA1 Message Date
Dr.-Ing. Johannes Pohl
1403d92987 Readme: Update command to run from source 2025-12-19 15:25:56 +01:00
Dr.-Ing. Johannes Pohl
0762111b57 Do not run CI for changes in Readme 2025-12-19 15:25:56 +01:00
Johannes Pohl
062174fd02 version2.10.0 v2.10.0 2025-12-17 14:35:26 +01:00
Dr.-Ing. Johannes Pohl
7c946e084d Fix error when saving compressed files (#1197)
* Improve error display when saving file

* remove tempfile only after tar write handle is closed
2025-12-17 14:23:44 +01:00
Dr.-Ing. Johannes Pohl
cb88c5f0a0 Migrate to PyQt6 (#1072) 2025-12-16 15:24:57 +01:00
quark9981
fea9d72f08 fix: handle EOFError when control connection is closed (#1196)
- Add exception handling for EOFError, BrokenPipeError, and ConnectionResetError
- Gracefully exit the loop when connection is reset instead of crashing
- Prevents semaphore leak warnings on process shutdown
2025-12-01 10:24:27 +01:00
quark9981
9cbbab3ee9 Fix buffer overflow in USRP recv_stream function (#1195)
- Add boundary check before memcpy to prevent buffer overflow
- Calculate safe copy length to avoid writing beyond buffer bounds
- Add break condition when buffer is filled
- Fix type mismatch by changing current_index from int to size_t
- Improve memory management by freeing result buffer on second malloc failure
2025-11-27 12:45:59 +01:00
Prof. Dr. Andreas Noack
4979a5c94d Fix compilation with Cython3.1. (#1184)
Thanks to ahesford:

Failure to compile with Cython 3.1 is caused by a collision between struct hackrf_device_list and the function hackrf_device_list. In the C library that this wraps, the two names are distinct. Cython, however, folds struct hackrf_device_list into just hackrf_device_list. Fortunately, Cython allows the use of a name for its definitions that differs from the underlying C name, so the struct can just be called c_hackrf_device_list. This doesn't seem to be a critical change because the immediately following typedef just aliases this to hackrf_device_list_t everywhere it is needed.

Cf. http://docs.cython.org/en/stable/src/userguide/external_C_code.html#resolving-naming-conflicts-c-name-specifications
2025-07-31 10:15:32 +02:00
Prof. Dr. Andreas Noack
9061187d32 Revert numpy2 requirement (#1182)
* Revert numpy2 requirement to not interfere with Ubuntu 24.04
fix #1179
2025-07-07 14:13:48 +02:00
Prof. Dr. Andreas Noack
a6f9b4791d Revert numpy2 requirement to not interfere with Ubuntu 24.04 (#1180) 2025-07-07 13:18:30 +02:00
Rotzbua
2cdb0fb251 Feat!: use numpy2 (#1176)
Fix type problem with numpy2.
Drop support for numpy1 to simplify testing.
2025-06-19 09:37:05 +02:00
Rotzbua
ebadddd0c5 Replace deprecated ast.* constants (#1174)
DeprecationWarning: ast.Num is deprecated and will be removed in Python 3.14; use ast.Constant instead
https://docs.python.org/3/deprecations/index.html
2025-06-16 17:38:51 +02:00
Rotzbua
300783bcef Drop python 3.8; Require python 3.9 (#1173)
python 3.8 is EOL
python 3.8 is not supported by numpy2
2025-06-16 17:38:17 +02:00
Rotzbua
982eb47a55 Fix deprecation warning xml.etree.ElementTree.Element (#1175)
DeprecationWarning: Testing an element's truth value will always return True in future versions.  Use specific 'len(elem)' or 'elem is not None' test instead.

Changed in version 3.12: Testing the truth value of an Element emits DeprecationWarning.

https://docs.python.org/3.12/library/xml.etree.elementtree.html#xml.etree.ElementTree.Element
2025-06-15 05:58:48 +02:00
Rotzbua
33305534ad Remove outdated dependencies from CI (#1171)
`pytest-faulthandler`: This plugin is now part of pytest core since pytest 5.0, so users should not install this plugin together with that pytest version.
`six`: Six is a Python 2 and 3 compatibility library.
2025-06-13 09:43:50 +02:00
Rotzbua
2aeadcf566 fix(numpy): replace deprecated tostring with tobytes (#1170)
Deprecated since numpy 1.19.0
https://numpy.org/doc/2.1/release/1.19.0-notes.html#numpy-ndarray-tostring-is-deprecated-in-favor-of-tobytes
2025-06-04 15:18:27 +02:00
Rotzbua
bcd4372f59 Bump min required Python to 3.8 (#1164)
Synchronize with CI & tests.
2025-06-03 15:24:43 +02:00
Rotzbua
b2daab997c Remove conditionals for python<3.4 (#1163)
Python under 3.4 is not supported, so the conditions have no effect.
2025-06-03 15:22:48 +02:00
Matthew Plough
2a86699ba1 Fix setting of bias tee with rtl_tcp (#1169)
* Fix setting of bias tee with rtl_tcp

* black
2025-06-03 15:21:30 +02:00
Matthew Plough
cebcf9222b Fix receiving data with rtl_tcp (#1167)
Fix #1167
2025-06-01 08:27:36 +02:00
Dr.-Ing. Johannes Pohl
1e9416f5de [CI] Fix broken limesuite build for macOS (#1168) 2025-05-31 16:18:39 +02:00
Prof. Dr. Andreas Noack
2a5604f7b6 fix #1153 (index error) (#1154) 2025-01-24 11:53:02 +01:00
Jaroslav Škarvada
0f9365bffb Fixed gauss_fir to work with numpy-2 (#1150)
It's related to #1149

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2025-01-14 13:24:15 +01:00
Prof. Dr. Andreas Noack
22dbc7fe01 Replace macos-12 with macos-13 (#1151)
* Replace macos-12 with macos-13
2025-01-14 11:43:39 +01:00
Johannes Pohl
6abdd54185 version2.9.8 v2.9.8 2024-11-11 17:05:13 +01:00
Dr.-Ing. Johannes Pohl
ea77ffb635 add missing numpy pins and setuptools to setup.py (#1146) 2024-11-11 17:03:24 +01:00
Johannes Pohl
6af3bb0660 version2.9.7 2024-11-11 16:18:00 +01:00
Dr.-Ing. Johannes Pohl
67b50280a7 Requirements: Pin to numpy 1.x.x (#1145) 2024-11-11 16:17:27 +01:00
Dr. Johannes Pohl
544efd35ac Add setuptools to requirements.txt (#1114) 2024-04-28 11:30:31 +02:00
Jaroslav Škarvada
88869706ed Fixed build with python-3.13 (#1111)
According to https://docs.python.org/3.13/whatsnew/3.13.html:

Remove PyEval_InitThreads() and PyEval_ThreadsInitialized() functions, deprecated in Python 3.9.
Since Python 3.7, Py_Initialize() always creates the GIL:
calling PyEval_InitThreads() did nothing and PyEval_ThreadsInitialized() always returned non-zero.
(Contributed by Victor Stinner in https://github.com/python/cpython/issues/105182.)

If support for < python-3.7 is required, conditionals have to be added

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
2024-04-06 10:39:55 +02:00
Rafael Fontenelle
2f565c7544 Handle module __builtins__ both as dict or module (#1107) 2024-03-15 09:28:58 +01:00
Dr. Johannes Pohl
10607cd6c5 Add conftest.py to awre test dir (#1109)
To prevent fieldtypes.xml not found for tests on macOS
2024-03-14 21:42:01 +01:00
Rafael Fontenelle
ef2fe946c3 update actions/setup-python to v5 (#1108) 2024-03-14 21:33:59 +01:00
Dr. Johannes Pohl
854a84f9ca Add exit action and new menu for recent files (#1100) 2024-01-21 11:53:43 +01:00
Dr. Johannes Pohl
8a34513351 Add support for Cython3 (#1099) 2024-01-21 11:11:28 +01:00
Dr. Johannes Pohl
e0f94fa105 blacken version.py 2024-01-14 09:43:20 +01:00
Dr. Johannes Pohl
6dd5990250 version2.9.6 v2.9.6 2024-01-14 00:26:09 +01:00
Dr. Johannes Pohl
9c429425b3 Update LICENSE and CI (#1097)
- Update License year
- Use Python 3.11 for bundled Windows builds
- Use `windows-latest` for CI
2024-01-14 00:22:56 +01:00
jpacov
a3903503e2 Feature/signal real timestamp (#969) 2023-11-16 21:12:18 +01:00
andynoack
64df785680 Fix #1083: assignment to const error 2023-11-10 15:01:32 +01:00
Dr. Johannes Pohl
1593ffa5ff CI: Bump to macOS 12 (#1081) 2023-11-03 12:34:41 +01:00
Dr. Johannes Pohl
2695cb1de0 Update year in license (#1080) 2023-11-03 11:24:53 +01:00
Dr. Johannes Pohl
aa95d20b9b Blacken code (#1076) 2023-10-30 17:51:41 +01:00
Dr. Johannes Pohl
c62e3c4b0b version2.9.5 v2.9.5 2023-10-28 12:52:44 +02:00
Dr. Johannes Pohl
ec73ce9312 Upgrade Python versions in CI (#1074) 2023-10-28 12:42:22 +02:00
Prof. Dr. Andreas Noack
26f99e1a9e Add noexcept to fix compiling of cythonext (#1065) 2023-09-26 11:42:02 +02:00
Dr. Johannes Pohl
64846253dc pin to Cython version <3.0.0 (#1063) 2023-07-28 10:38:07 +02:00
jirjirjir
ace45594d9 Update RTLSDR.py (#1057)
Update rtlsdr.pyx

Update crtlsdr.pxd

Update config.py
2023-06-19 07:52:59 +02:00
andynoack
5e342d730d fix macos-11 in ci 2023-06-18 16:46:43 +02:00
andynoack
c545b2eb40 fix macos-11 in ci 2023-06-18 16:42:09 +02:00