Commit Graph

34 Commits

Author SHA1 Message Date
Chris Esposito 8cc740c6e1 Revert "Simplify the waveform reading code (#194)"
This reverts commit 591940b225.

Revert "Whitespace cleanup (#192)"

This reverts commit 1b45b0d112.
2021-11-16 14:30:10 +11:00
turboencabulator 591940b225
Simplify the waveform reading code (#194)
Combine the Android and non-Android implementations.  Only difference
now is the path to the waveform data.

Remove arbitrarily-sized buffers and most C-style string handling
function calls.  Use native Qt string methods instead; this should
improve memory safety.
2021-11-10 09:44:16 +11:00
turboencabulator 1b45b0d112
Whitespace cleanup (#192)
* Fix whitespace at EOL and EOF; replace tabs

* Normalize line endings
2021-11-08 10:44:12 +11:00
turboencabulator 682d49dc13
Fix a few compiler warnings (#189)
* Fix unused variable warnings

* Fix misleading indent warning

* Fix potential buffer overflow with fgets()

Was reading 256 bytes into a 255-byte array.  The function would read at
most 255 bytes then try to append a nul (which would overflow), now will
read at most 254 bytes before appending the nul.

* Move isoCallback() from .h to .cpp file

Fixes warnings that the function is unused by every other file that
includes unixusbdriver.h.
2021-11-04 12:47:00 +11:00
Chris Esposito c980c98457 refactored siprint 2021-06-24 20:32:34 +10:00
Chris Esposito b24e39fb8b trigger frequency displayed 2021-06-24 20:12:28 +10:00
Chris Esposito 19454671e2 Dark Mode 2021-06-04 15:55:20 +10:00
Chris Esposito 0b007c4b37 XY Mode fixed 2019-06-30 13:02:55 +10:00
Chris Esposito f2c7427f2c
std::abs() => abs in espoSpinbox 2018-11-07 20:22:02 +11:00
Chris Esposito d23831868e espoSpinBox no longer shows float precision errors near zero 2018-11-06 12:53:37 +11:00
Chris Esposito 23832f1b13
No longer uses std::abs() on a double!! 2018-10-29 20:16:42 +11:00
Chris Esposito c126590a74 Fixed espoSpinBox issues 2018-09-22 06:04:52 +10:00
Chris Esposito fa3d680c55 espoSpinBox fixed behaviour when entering negative values 2018-09-18 08:24:13 +10:00
Chris Esposito 56468e9917 espospinbox does not change value until enter is pressed. scoperangeenterdialog supports changeStepping() 2018-09-17 19:12:07 +10:00
Chris Esposito 50515b545c espoSpinBox handles negative values 2018-09-17 18:56:33 +10:00
Chris Esposito 0b7f1218f9 EspoSpinBox has better input algorithm 2018-09-17 12:01:17 +10:00
Chris Esposito 370857eff4 You can actually leave DAQ playback. Numbers on PSU slider no longer cut off. 2017-12-28 16:16:42 +11:00
Chris Esposito d5dad1f13f DAQ Settings in. 2017-12-27 12:44:49 +11:00
Chris Esposito afa1419480 New Changes build on Linux/Rpi 2017-12-24 10:52:01 +11:00
EspoTek 96cb814e8e Firmware flashing more robust on Windows. Can't fail due to having too short a wait. Mac/Linux/Android not improved!! 2017-12-01 17:03:13 +11:00
EspoTek 6e886c127a Updated QCP2 from the beta to 2.0.0. Didn't activate as it causes crashes. 2017-12-01 15:47:39 +11:00
EspoTek 662021ebab User can select which channel they want to record, and get file dialog prompt. 2017-11-07 13:31:26 +11:00
EspoTek ca2406b2db Cleaned junk out of repo.
Still need to edit history


Former-commit-id: e2061432d4b3d2bbb1f9621f3cce34d43b682b2a
Former-commit-id: aeeed8aa2af692f92b7ea7ec8cc042d49c679ce5
2017-10-21 16:11:49 +11:00
EspoTek 1963dbf268 Multimeter R mode up and running on desktop.
Former-commit-id: 279eca0848
2017-06-28 14:39:26 +10:00
EspoTek d28814606c Axis Scaling and cursors
Former-commit-id: 893624c0e4
2017-06-12 10:55:22 +10:00
EspoTek 98bd105ed1 Android nicer. :)
Just general UI improvements.


Former-commit-id: 643ee1d592
2017-06-10 15:42:40 +10:00
EspoTek f44dbf7d55 Signal Gen CH2 shows disconnection when Logic Analyzer is turned on.
Former-commit-id: 5198eb261f
2017-04-09 15:43:28 +10:00
EspoTek 4fac994ca9 Fixed Multimeter not displaying
Former-commit-id: ac0dda3d91
2017-04-09 15:38:39 +10:00
EspoTek 2480cb6b6b Fixed occasional corruption (Windows Only)
Also small fix for doubled sample rate.


Former-commit-id: 642f0c6d7f
2017-04-09 15:28:18 +10:00
EspoTek 0537b6d57c Timing fixes
For Logic Analyzer CH2.


Former-commit-id: bda9baf5c1
2017-04-09 12:38:19 +10:00
EspoTek 0d11aeaf79 Semi-sane Android Interface
Not polished, but usable.


Former-commit-id: 22020c5127
2017-02-22 13:17:48 +11:00
EspoTek fcdf218937 functionGenControl now Android compatible. Close!
Gets into a loop where it can't find device (on emulator).  I'll need to
move over to real device to see exactly what happens....


Former-commit-id: 41eab710fa
2017-02-19 12:45:52 +11:00
EspoTek 9994dbc489 EspoComboBox now Android compatible.
Changed FILE* based operations to QFile.  Apparently Android doesn't
like fopen().


Former-commit-id: 368af59ca8
2017-02-19 12:03:35 +11:00
EspoTek f4c0f0d949 Android compiles and runs
Just not for very long...
Quits at loading _list.wfl


Former-commit-id: 52fc3aa15d
2017-02-18 16:00:55 +11:00