Commit Graph

451 Commits

Author SHA1 Message Date
Sebastián Mestre d90dc326cf Add .clang-format file (#83)
* Add .clang-format file

* Update .clang-format file
2019-05-29 10:12:22 +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 1f910e1b96 Fixed icon path 2019-04-23 20:45:43 +10:00
Chris Esposito 9e1b4c8f04 Desktop file fixes 2019-04-23 20:38:36 +10:00
Chris Esposito 0a158919e9 manual alternative to make install 2019-04-23 20:32:14 +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 f33b2b16d9 Filename automatically determined by appimagetool 2019-04-23 18:33:48 +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 5249b04d12
Update README.md 2019-04-12 11:47:43 +10:00
Chris Esposito 8a05b71bb6
Update README.md 2019-04-12 11:44:03 +10:00
Chris Esposito 16f519d150
Update .appveyor.yml 2019-04-02 21:45:15 +11:00
Chris Esposito 8d81759229
Update .appveyor.yml 2019-04-01 21:38:27 +11:00
Chris Esposito f13b720e22 DO_QUOTE macro 2019-04-01 21:35:58 +11:00
Chris Esposito a54459ee26
Update .appveyor.yml 2019-04-01 21:30:10 +11:00
Chris Esposito bb0e46fdce
Update .travis.yml 2019-04-01 21:29:55 +11:00
Chris Esposito fb6039d4bc
Update .appveyor.yml 2019-04-01 21:27:11 +11:00
Chris Esposito 86a807a623
Update .appveyor.yml 2019-04-01 21:25:44 +11:00
Chris Esposito 9151b1706b
Update .travis.yml 2019-04-01 21:22:50 +11:00
Chris Esposito d89612a821
Update .appveyor.yml 2019-04-01 21:17:25 +11:00
Chris Esposito fcc9e36e88
Update .travis.yml 2019-04-01 21:16:47 +11:00
Chris Esposito 5996d492e4
Update .travis.yml 2019-04-01 21:16:36 +11:00
Chris Esposito 3d5dd9163e
Update .travis.yml 2019-04-01 21:15:47 +11:00
Chris Esposito 8ad158c0df
Update .appveyor.yml 2019-04-01 21:13:07 +11:00
Chris Esposito 19083b1645
Update .appveyor.yml 2019-04-01 21:09:58 +11:00
Chris Esposito 95aee9b55b
Update .travis.yml 2019-04-01 21:09:36 +11:00
Chris Esposito 1d40f60508
Update .appveyor.yml 2019-04-01 21:00:48 +11:00
Chris Esposito bb56dc5e0c
Update .travis.yml 2019-04-01 20:59:15 +11:00
Chris Esposito acc91c8acb
Update .travis.yml 2019-04-01 20:51:39 +11:00
Chris Esposito 3619a390a0
Update .travis.yml 2019-04-01 20:26:36 +11:00
Chris Esposito 7d8e73548c
Update .appveyor.yml 2019-04-01 20:24:54 +11:00
Chris Esposito 5cc7c9425d Standard QSettings fixes Windows calibration issue 2019-04-01 20:00:43 +11:00
Chris Esposito cea118a00d
Update .travis.yml 2019-04-01 19:56:07 +11:00
Chris Esposito 888776c09a
Update .appveyor.yml 2019-04-01 19:55:56 +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