Commit Graph

688 Commits

Author SHA1 Message Date
Srivats P
de89299b88 Update .gitignore for Qt5 2018-05-18 22:19:20 +05:30
Srivats P
e1194a1db3 Check for active stream count when building interleaved packet list 2018-05-10 21:34:51 +05:30
Srivats P
1cddfbf2ec Use Windows' connection name as the port description
... instead of the PCAP returned description. This allows for a better
UX since user can more easily identify which port is which.

This will work only Windows Vista and higher since IPHLPAPI.DLL has
published APIs only for these versions. Older windows versions such as
XP will continue to use the PCAP returned description

Fixes #222
2018-05-07 22:05:04 +05:30
Srivats P
f71e0929d9 Treat warnings as errors only in debug builds 2018-04-20 21:47:37 +05:30
Srivats P
a16eefbff4 Treat warnings as errors and fix existing warnings 2018-04-20 20:50:51 +05:30
Srivats P
2867764c56 Build modeltest only if Qt >= 5.7 2018-04-02 21:10:00 +05:30
Srivats P
227b8bdae4 Use modeltest only for debug and if Qt >= 5.7
The modeltest code is not compatible with Qt 5.6 LTS
2018-04-02 20:39:44 +05:30
Srivats P
db231054da Fix Qt4 to Qt5 porting issues with debug build
Also update modeltest to Qt5
2018-03-27 20:02:36 +05:30
Srivats P
90fe2080c1 Debug Xcode build failure 8/... 2018-03-19 20:14:30 +05:30
Srivats P
3eeb6b5b95 Debug Xcode build failure 7/... 2018-03-19 19:47:48 +05:30
Srivats P
c656839b88 Debug Xcode build failure 6/... 2018-03-19 19:21:57 +05:30
Srivats P
1ae41b5e82 Debug Xcode build 5/... 2018-03-19 19:02:25 +05:30
Srivats P
3361d25045 Debug Xcode build failure 4/... 2018-03-19 18:53:10 +05:30
Srivats P
eb0b976bf6 Debug Xcode build failure 3/... 2018-03-19 18:28:27 +05:30
Srivats P
7809ae23c8 Debug xcode build failure 2/... 2018-03-19 18:12:06 +05:30
Srivats P
9d182d58b8 Debug Xcode build failure 2018-03-19 18:07:27 +05:30
Srivats P
7a61d14243 Fix Travis build issues 2018-03-16 21:59:34 +05:30
Srivats P
e3c2f37956 Support Qt5.2 since Travis uses Trusty/Qt5.2 2018-03-15 20:03:22 +05:30
Srivats P
9f4b70c5a8 Port server code from Qt4 to Qt5
Verification/testing of porting changes is pending
2018-03-15 19:34:42 +05:30
Srivats P
9f2be179d0 Add qscript5-dev to Travis 2018-03-14 22:42:26 +05:30
Srivats P
ad54cef75a Tell qmake which Qt version to use 2018-03-14 22:34:26 +05:30
Srivats P
0708361649 Update travis.yml to use Qt5 instead of Qt4 2018-03-14 22:22:06 +05:30
Srivats P
f801982830 Port common, rpc and client code to Qt5
Still pending
* server port to Qt5
* verify/test the port
2018-03-14 21:58:56 +05:30
Srivats P
b6c46e27e9 Warn when tx time < 1s not <=1s in preflight check 2018-02-22 20:49:14 +05:30
Srivats P
1347165ef0 Add helpful hint text to variable fields widget 2018-02-21 21:57:46 +05:30
Srivats P
6990c83c95 Tweak README copy 2018-02-16 18:30:31 +05:30
Srivats P
52a5cb0d30 Improve UX for variable fields configuration
* Redesign the toolbar buttons to be similar to port stats
* Show protocols with variable fields in bold
* Variable field list will always have a 'current', if not empty
* Adding a new variable field makes it 'current' for immediate edit
* Each protocol remembers its 'current' variable field

Also renamed UserRole to a more widget specific enum
2018-02-10 12:40:10 +05:30
Srivats P
57597fe794 Merge branch 'master' of D:/srivatsp/projects/ostinato/master 2018-02-08 22:39:52 +05:30
Srivats P
8350f1ec6a Fix payload protocol frame value variable identification 2018-02-08 22:39:22 +05:30
Srivats P
cd6948b18c Add preflight check for variableCount > frameCount 2018-02-08 22:39:22 +05:30
Srivats P
f82cf933b4 Print PCAP library version at drone startup 2018-02-08 22:39:22 +05:30
Srivats P
0b407af04c Use alternate row colors for port stats window
This makes it more readable. Unfortunately, the alternate row colors
don't apply to the row headers. QHeaderView is supposed to support
QBackgroundRole but there's a long pending bug on the Qt side for the
same - https://bugreports.qt.io/browse/QTBUG-31804
2018-02-08 22:39:22 +05:30
Srivats P
d370907597 Fix max value of step/count for counter32 var fields 2018-02-07 20:45:43 +05:30
Srivats P
ece4ce35ea Make mac address editing more intuitive and easier
Fixes #248
2018-01-31 22:03:04 +05:30
Srivats P
f756ead433 Add Tx/Rx bps to GUI stats window
bps stats are derived from the Bps stats and represent line rate taking
into account the per packet overhead on the line with the following
assumptions -
* Link type is Ethernet
* Bps (and total Bytes) stats don't include the 4-byte FCS

Fixes #241
2018-01-31 16:03:34 +05:30
Srivats P
3f780fe564 Fix error message to specify -c instead of -s 2018-01-01 09:43:27 +05:30
Srivats P
ddafdc0073 Update copyright years in about dialog 2018-01-01 09:39:54 +05:30
Srivats P
f32c50ea24 Bump version to 0.9 2017-12-10 12:40:34 +05:30
Srivats P
c0f94ec58c Use static linking on win32 2017-12-07 19:04:18 +05:30
Srivats P
847af21c43 Rename ostinato option -s to -c (controller only) 2017-12-07 19:03:28 +05:30
Srivats P
92d4c260a0 Stream stats UX improvements
* Enable button only when one or more port is selected
* Reorder the button to make it first in the stats group
* Show some helpful text instead of a blank window when no stream stats
are available
2017-12-06 20:47:26 +05:30
Srivats P
bfd31179dc Add thousands separator to port stats
Fixes #201
2017-12-06 18:43:00 +05:30
Srivats P
c3adc74351 Merge branch 'master' of D:/srivatsp/projects/ostinato/master 2017-12-06 18:21:25 +05:30
Srivats P
ed007cacf2 Remove Python API from main repo 2017-12-05 20:56:59 +05:30
Srivats P
5191b72f2b Merge branch 'sign' 2017-12-03 19:38:50 +05:30
Srivats P
76476a2d58 Fix OSX travis build 2017-12-03 19:37:58 +05:30
Srivats P
6dd6511269 Merge branch 'master' into sign 2017-12-03 12:59:26 +05:30
Srivats P
81e7e735bc sign: Resolve a few FIXMEs
* Rename track_stream_stats to is_tracking_stream_stats for consistency
with other bool params
* Change signature magic value to CODA
* Resolve notify memory leak
2017-12-03 11:26:09 +05:30
Srivats P
ee4bcb5b80 Identify vbox host adaptor using 'oracle' not 'sun' 2017-12-03 10:12:50 +05:30
Srivats P
19c231d7f7 sign: Minor comment edit 2017-11-30 19:08:38 +05:30