Commit Graph

248 Commits

Author SHA1 Message Date
Chris Esposito 403dacb364 Fixed build 2019-08-24 12:09:27 +10:00
Chris Esposito e29004913c Added missing icon source files 2019-08-24 12:08:30 +10:00
Chris Esposito 132240fcc3 make_deb and make_appimage bail on error 2019-08-24 11:33:25 +10:00
Chris Esposito a4471c6ee6 Hides XY curve upon exiting mode 2019-08-21 20:53:45 +10:00
Chris Esposito 078e27bf70 Removed Windows-unfriendly trigram 2019-07-28 10:09:38 +10:00
Chris Esposito e2639ae67e 60Hz refresh rate on Linux 2019-07-21 07:48:55 +10:00
Chris Esposito 41e7c228aa Warns user if CH2 is disabled 2019-07-13 20:56:21 +10:00
Chris Esposito 44626f0f34 Fixed segfault when enabling DAQ CH2 2019-07-13 20:48:06 +10:00
Chris Esposito a19b5ce3fd Fixed .desktop and .deb 2019-07-13 20:30:07 +10:00
Chris Esposito 0b007c4b37 XY Mode fixed 2019-06-30 13:02:55 +10:00
Chris Esposito c1c21236a1 typos 2019-06-23 15:04:34 +10:00
Chris Esposito 2851e82a82 autoreleased deb 2019-06-23 14:55:35 +10:00
Chris Esposito d1fc926e7f Take 2... 2019-06-23 14:22:42 +10:00
Chris Esposito 54aabcd17b AppImage shouldn't ask for sudo every time 2019-06-23 13:52:10 +10:00
Chris Esposito 40bed49c25 Hex display on serial decoder 2019-06-23 13:45:54 +10:00
Chris Esposito 398f8252bf Better UI on 1366x768 displays 2019-06-23 13:45:54 +10:00
Chris Esposito 3245f1b242 Slightly wider UI by default 2019-06-23 13:45:54 +10:00
Sebastián Mestre b0e1d1eaf4 Isodriver refactor - part 1 (#81)
* isodriver.h: reflow comments, one declaration/line

* move delay to a struct that handles display settings

* Make changes related to isoDriver::window

 - move isoDriver::window to display struct
 - remove isoDriver::windowAtPause
 - remove isoDriver::setWindow
 - call isoDriver::timeWindowUpdated signal where deemed necessary

* Make changes related to isoDriver display settings

 - move x0, y0, x1, and y1 from isoDriver to DisplayControl
 - Replace some ternaries with std::max and std::min
 - Add some comments

* Move topRange and botRange from isoDriver into DisplayControl

* Move most of isoDriver::setVoltageRange into DisplayControl
2019-05-12 09:58:10 +10:00
Chris Esposito 0c1604cb5e correct .desktop added to .appimage 2019-04-25 20:46:23 +10:00
Chris Esposito e0c83db061 added file extension to desktop entry/icon 2019-04-25 20:31:51 +10:00
Chris Esposito 25a9196ea2 labrador_bootstrap_pi 2019-04-25 20:30:08 +10:00
Chris Esposito 3aa577aef8 Better laid out UI 2019-04-25 20:19:14 +10:00
Chris Esposito 003f3d94cd Fixed crash when triggering state was uninitialised 2019-04-25 10:41:29 +10:00
Chris Esposito 23c2fee6f9 Added back in darealshinji's libstdc++ workaround 2019-04-24 20:18:12 +10:00
Chris Esposito 6223662616 Uses make install 2019-04-24 20:06:10 +10:00
Chris Esposito e9138dfa5b Reverted yesterday's changes 2019-04-24 19:11:49 +10:00
Chris Esposito a51508bdd1
Update Labrador.pro 2019-04-24 08:24:49 +10:00
Chris Esposito 9e1b4c8f04 Desktop file fixes 2019-04-23 20:38:36 +10:00
Chris Esposito e65c2573cc better AppRun 2019-04-23 19:59:06 +10:00
Chris Esposito 0b12407307 Icon and Desktop file in portable builds 2019-04-23 19:02:13 +10:00
Chris Esposito e8a817fe4d Cleaner icon and desktop structure; added to makefile 2019-04-23 18:50:09 +10:00
Chris Esposito 8278bbb374 Uses darealshinji's AppImage tool for better compatibility with old linux 2019-04-23 18:22:42 +10:00
Chris Esposito f13b720e22 DO_QUOTE macro 2019-04-01 21:35:58 +11:00
Chris Esposito 5cc7c9425d Standard QSettings fixes Windows calibration issue 2019-04-01 20:00:43 +11:00
Chris Esposito aff7f91b7d help/about updated for continuous release 2019-04-01 19:53:19 +11:00
Chris Esposito 26352bbc56 Fixed Windows build 2019-04-01 19:27:08 +11:00
Sebastián Mestre 3c0616a46f I2cdecoder refactor (#76)
* Use Qt5 type-safe connect on i2cDecoder

* Add destructor, fixing a memory leak in i2cDecoder

* Remove commented debug print

* formatting
2019-04-01 08:31:52 +11:00
Sebastián Mestre e6f0e24a28 'Functiongencontrol refactor - part 3 (#74)
* move ChannelID to outside of functionGenControl

* move ChannelData out of functionGenControl

* make the genericUsbDriver fGenPtrs into an array

* Make genericUsbDriver store pointers to ChannelData instead of to functionGenControl

* split genericUsbDriver::setFunctionGen into two parts. Stop reassigning the fGen pointers

* Big functionGenControl refactor

- Create functionGen namespace
- Rename functionGenControl to DualChannelController
- Create a SingleChannelController class that holds all the
functionality of a single channel (i.e. almost all of it).
This class acts as a Qt wrapper over the actual data, it
gives it the ability to emit and recieve signals while
keeping the actual data copiable.
- Add an alias functionGenControl = DualChannelController
2019-03-26 10:12:08 +11:00
Chris Esposito 525b03de1c
Update uartstyledecoder.cpp 2019-03-19 17:53:56 +11:00
Sebastián Mestre 80b4d04843 Uartstyledecoder refactor (#72)
* fix brackets

* make serialBuffer a member of uartStyleDecoder and add m_ prefix, loosen synchcronization on updateConsole

* make uartStyleDecoder::updateTimer a member variable

* write isEvenParity lambda in a more concise way

* add unused attribute on decode_baudot. make isEvenParity take an argument

* add const where possible on uartStyleDecoder methods

* Refactor performParityCheck to immutability

* Move the computation around a bit. Parameterize with parameters instead of relying on class state

* remove parity!=Node check. isParityCorrect alreaddy checks this.

* Various changes regarding uartStyleDecoder.

 - rename parent to m_parent
 - store baud rate as a member variable
 - use bool instead of unsigned char for single bit values
 - remove maybe_unused attribute on decodeBaudot
 - getUartBit(index) -> getNextUartBit()
2019-03-18 18:14:49 +11:00
Sebastián Mestre eeb0db0318 Access the pointer directly on isoBufferBuffer::insert (#71) 2019-03-10 09:13:46 +11:00
Chris Esposito 681ef5cb13
length cast to double 2019-03-07 20:00:40 +11:00
Sebastián Mestre c149063452 Functiongencontrol refactor - part 2 (#69)
* use an enum instead of int to identify function generator channels

* Use local 8 bit encoding instead of utf8 for file paths

* use static_cast instead of function-style casts

* remove length member from channelData struct. use reference captures on some lambdas
2019-03-07 19:58:52 +11:00
Sebastián Mestre a144105b23 Functiongencontrol refactor (#68)
* Add struct definition for functionGenControl channel data

* Add member variables for channel data to functionGenControl, deprecate old variables

* fix a typo

* Transition to new functionGenControl cahnnel data variables. Remove old ones.

* refactor genericUsbDriver::setFunctionGen to use the new ChannelData struct.

* functionGenControl: free(NULL) is safe

* Eliminate duplication of functionGenControl::waveformName_CH* fuctions by putting common things into a private template function

* get rid of comments added during refactor

* Move function gen channel data to use std::vector. algorithmify some code on genericUsbDriver::setFunctionGen

* various formatting changes, remove irrelevant comments

* functionGenControl::waveformName: always use utf8 and 16 byte buffers. Remove template

* fix typo introduced by last-second indentation change

* genericUsbDrive::setFunctionGen: shrink samples to fit

* functionGenControl::waveformName: clean up file path manipulation, clean up formatting

* change the two channel objects to an array of two elements. Add common implementations for all methods of functionGenControl. Fix a massive bug introduced earlier in the refactor. Formatting.
2019-03-04 20:02:18 +11:00
Chris Esposito 07997d5774 neatened up a line 2019-02-17 19:20:03 +11:00
Chris Esposito 1479d95f97 frontend for offset and attenuation: 2019-02-17 19:08:50 +11:00
Chris Esposito 17277fece6 Fixed multimeter LCD display rendering issue 2019-02-17 18:52:42 +11:00
Chris Esposito 9eeb3f1e91 UI rework, QLCD error 2019-02-17 17:14:20 +11:00
Chris Esposito b78a65174f Added attenuation and offset to backend 2019-02-17 16:39:11 +11:00
Chris Esposito 5e185ba08c isoBuffer stores raw pointer 2019-02-15 21:44:02 +11:00