Commit Graph

543 Commits

Author SHA1 Message Date
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
Chris Esposito dd793fc4e7
Updated Win32 to build with Qt 5.12 on VS 2017 (#73)
* Updated Win32 to build with Qt 5.12 on VS 2017

* vs2017

* New vcvarsall
2019-03-17 11:22:27 +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 4cd2a03b01
Changed QT_PATH in appveyor.yml, should fix problem with qmake not being found. 2019-02-17 19:48:38 +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