Commit Graph

714 Commits

Author SHA1 Message Date
Srivats P
bc972e4476 HostDev: Added infra and windows IPv4 implementation 2018-07-26 20:53:33 +05:30
Srivats P
0d5e836d3f HostDev: Refactored Device into base Device and EmulDevice 2018-07-19 18:54:01 +05:30
Srivats P
016694f1fe Use %ll instead of PRI since Windows dev env has been upgraded 2018-05-20 13:33:38 +05:30
Srivats P
6915b5095f Fix brew update 2018-05-20 12:55:15 +05:30
Srivats P
25d4365356 Add brew update to travis/OSX 2018-05-20 12:45:36 +05:30
Srivats P
dd8a267a09 Build in debug config 2018-05-20 11:29:51 +05:30
Srivats P
4fbf4446e3 Merge branch 'master' into ci-dev 2018-05-20 11:29:04 +05:30
Srivats P
17281249c6 Merge branch 'master' of D:/srivatsp/projects/ostinato/master 2018-05-18 22:24:05 +05:30
Srivats P
8adb3d79aa Add custom TOS/DSCP config widget for IPv4/IPv6
Fixes #45
2018-05-18 22:19:54 +05:30
Srivats P
de89299b88 Update .gitignore for Qt5 2018-05-18 22:19:20 +05:30
Srivats P
5059f02bf6
Merge pull request #259 from a17r/master
Fix build with Qt 5.11 (missing QButtonGroup)
2018-05-16 20:15:57 +05:30
Andreas Sturmlechner
53308971e6
Fix build with Qt 5.11 (missing QButtonGroup) 2018-05-12 01:16:10 +02:00
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