Commit Graph

730 Commits

Author SHA1 Message Date
Srivats P
496e044bdd Replace Port Stats Link/Tx/Capture state text with icons
* All 3 icons are combined into a single row instead of 3 separate rows
* Tooltip to clarify meaning of icons
* Qt Model-View displays icon left-aligned, so use a custom delegate to
  center-align it
* Add a icon for "Transmit On"
* Edit icons for "Start/Stop Capture"
2018-11-29 20:44:03 +05:30
Srivats P
48721cece4 Import IP options into ip4.options instead of a new HexDump protocol
ip4.options was not supported earlier, so we used to import into a new
hexdump protocol. Now that IPv4 options field is supported, use that
instead
2018-10-04 18:33:38 +05:30
Srivats P
6cac41ab40 Set numPackets for imported streams to 1
Earlier the default value for num_packets was 1 and the imported streams
therefore also had the same. However, when the default value got changed
to 10, the num_packets for imported streams should have been explicitly
set to 1 - this was missed out and has been fixed now
2018-10-04 18:07:50 +05:30
Srivats P
495b99beda Use streamIndex in PseudoIpCksum calculation
This bug was introduced while fixing #271
2018-09-17 17:26:51 +05:30
Srivats P
5eea62f4f4 Fix build break by renaming xlocale.h to avoid name clash 2018-09-15 11:40:11 +05:30
Srivats P
c673141f33 Bugfix: Remove group separator when converting string to number
Fixes #240
2018-09-14 20:24:30 +05:30
Srivats P
9c319f97e5 Bugfix: Don't pad HexDump unless it's the last protocol 2018-09-14 18:29:23 +05:30
Srivats P
488a2ea730 Bugfix: Fix incorrect cksums
Presence of IPv6 Extension Headers was causing incorrect TCP/UDP/ICMP
cksums. Verified that with these changes, cksums are correct for all
combinations of L3 and L4 headers with/without options/extHdrs

Fixes #271
2018-09-13 12:32:36 +05:30
Srivats P
4924d7fe60 Bugfix: Encode hexdump and IPv4 options correctly
Using QString().fromStdString() caused conversion to Unicode via utf8
instead of using the plain binary data
2018-09-13 12:29:13 +05:30
Srivats P
a1962c7887 LogsWindow: Fix build break 2018-08-24 09:12:40 +05:30
Srivats P
509d777500 LogsWindow: Improve UX
* Timestamp at millisec resolution
* Log level selection - Info by default
* Auto scroll control - enable(default)/disable
* Support copy (selected) logs to clipboard
* Support clear logs
* Annotate dock window title, if not on top (aka visible)
2018-08-23 23:23:07 +05:30
Srivats P
489099ca83 LogsWindow: Add missing log.h 2018-08-20 20:57:23 +05:30
Srivats P
bb80be30a6 LogsWindow: Add RPC info/warn/error logs 2018-08-20 20:40:58 +05:30
Srivats P
d0def8a0ec LogsWindow: Add basic UI and infra 2018-08-17 18:55:58 +05:30
Srivats P
9a4e7e7550 Silence warnings 2018-05-22 21:48:21 +05:30
Srivats P
9a148bec0a
Merge pull request #263 from ehlers/osx-warnings
QT5 Compilation issues on OS X
2018-05-22 21:20:04 +05:30
Bernhard Ehlers
1d8bb9f4df Fix warnings about DumpView::dataChanged and struct StatsTuple 2018-05-21 21:31:44 +02:00
Bernhard Ehlers
f5f04e6cb9 Change socketDescriptor to type qintptr 2018-05-21 21:30:01 +02:00
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