Commit Graph
1435 Commits
Author SHA1 Message Date
Andy Huska 60520b5939 Added handing of ok message from RAW mode switch coming in out of order with other messages...
For now I made it its own else statement so it can be detected
2022-09-17 12:52:03 -05:00
Andy Huska 47d07b8bf2 Fixed bug where switching to RAW mode would fail due to the "ok" response being received in the same message as the first data frame
Sometimes when opening socketcand 1 or more busses won't start right and there's a ton of debug data saying "received datagramm: ...."
It seems to happen because the switch to RAW mode is in progress and we receive the OK with a frame in the same datagramm and we don't parse the OK out of the string
but rather expect the whole string to just be OK.  Offending code is in socketcand.cpp SocketCANd::procRXData line 386

Fixed by looking to see if the < ok > message was at index 0 of the incoming message...could also look for it elsewhere (as in index != -1), but not sure if necessary
2022-09-17 12:48:48 -05:00
Andy Huska 742956d46c Working on finding a way to prevent bad_alloc crash, temp stuff in place like prealloc size, and frames list resize (prob need to keep list below size limit to prevent chaos...10M msgs or so mabe) 2022-09-17 12:33:15 -05:00
Andy Huska 7b966fe4a6 Fixed incorrect handling of partial frame tagged onto the end of a complete frame.
Not sure if my method drops the partial or just sends the buffer back to continue filling.
2022-09-16 15:38:54 -05:00
Andy Huska 7e4ebf2c74 Fixed nonfunctional node delete. Was due to trying to find node by name but
passing in the name and comment concatenated together.  Made a new function to
find by name+comment since extracting only name from the text in the column would
require too much guessing.
2022-09-15 18:59:24 -05:00
Andy Huska b6b73d0e11 Fixed crash when deleting a message that isn't at the bottom of the node 2022-09-15 18:39:56 -05:00
Ahmed Sheimy 1c87008970 Update canconfactory.cpp
restore network connection was not working because it was detected as serial by this modification it is working
2022-08-05 18:32:45 +04:00
Collin Kidder 2afd41b681 Full revert of SavvyCAN.desktop so continuous build will succeed.
Should soon fix it to work the way it had been though.
2022-06-21 21:46:29 -04:00
Collin Kidder ed84e7e9f8 Fix to sniffer when viewing bits, output formatting change for ID 2022-06-21 21:12:22 -04:00
Collin Kidder 7dd5ee1216 Fixes to hopefully parse CANalyzer files more accurately. 2022-06-21 21:11:28 -04:00
Collin Kidder 0514b29fc9 Revert the changes to SavvyCAN.desktop because it broke the continous
build. Investigate the proper way forward.
2022-06-21 21:10:48 -04:00
Collin Kidder 1d60bbd032 Merge pull request #467 from serkonda7/installer-fix
fix linux installer
2022-05-05 20:09:43 -04:00
Collin Kidder 714b3efb36 Merge pull request #465 from serkonda7/ignore-patch
ignore more build files
2022-05-05 20:09:05 -04:00
Collin Kidder d76ecec60d Merge pull request #463 from serkonda7/patch-1
readme: fix QT module dependencies
2022-05-05 20:08:41 -04:00
Collin Kidder fadd5a6878 Merge pull request #458 from CSS-Electronics/feature_support_fd_in_comparison
Avoid undefined behavior if FD frame datalengths are present in sorting
2022-05-05 20:08:23 -04:00
Collin Kidder 4dc2499194 Merge pull request #453 from jogo-/patch-1
Typo fix in pcaplite.cpp
2022-05-05 20:06:21 -04:00
Collin Kidder f7a1c7bf6f Merge branch 'master' of github.com:collin80/SavvyCAN 2022-05-05 20:05:30 -04:00
Collin Kidder b37af8d948 Fix time formatting for "system clock" mode, fix a few small bugs
elsewhere, add ability to send/receive CAN-FD frames in GVRET.
2022-05-05 20:04:44 -04:00
Lukas Neubert b12a040c92 fix linux installer 2022-04-05 03:33:43 -04:00
Lukas Neubert 506a5873da ignore more build files 2022-04-04 10:58:49 -04:00
Lukas Neubert 543d477d1f readme: fix QT module dependencies 2022-03-29 10:10:13 +02:00
Magnus Aagaard Sørensen a17e9ee8db Limit the comparison to 8 bytes or the length of the CAN frame, whatever is shorter, to avoid negative bitshifts 2022-02-21 08:23:46 +01:00
jogo- 00018ebe14 Typo fix in pcaplite.cpp 2022-02-07 08:29:41 +01:00
Collin Kidder b03d20758a Update build.yml
It seems discord does not like parentheses in the build message... Crudely filtering them out
2022-02-06 20:06:45 -05:00
Collin Kidder 371fb7d87b Update pcaplite.h
Apparently MacOS doesn't pass the "defined(unix)" check. This should work.
2022-02-06 19:51:08 -05:00
Collin Kidder c86b7414cd Merge pull request #452 from tcfx44/master
Support for reading Wireshark files
2022-02-06 15:39:08 -08:00
Chavdar Kirov 8b0d5bd023 Support for reading Wireshark files
Detection of Wireshark files implemented

Guard statements for build on Linux

pcaplite added

Wireshark support works on Windows

pcap support on Lunux fixed

Build warning fixed

Update pcaplite.cpp

Cleanup

Removed extra define
2022-01-29 17:44:07 +02:00
Collin Kidder c4a9f99445 Added two modes - millisecond timestamps for frames and a way to
ignore colors set in DBC files
2022-01-19 21:34:49 -05:00
Collin Kidder a8f4a51131 A quick fix to make frames with less than 8 data bytes not show
garbage after their valid bytes
2021-12-29 21:08:25 -05:00
Collin Kidder ac206dbc61 Merge pull request #436 from dominikbayerl/bug-320-csv-export
GraphingWindow: improve interpolation for CSV-export.
2021-12-05 10:30:43 -05:00
Dominik Bayerl 26823e7c18 GraphingWindow: improve interpolation for CSV-export.
Fixes #320.

Note: Interpolation is still not quite correct and may have remaining artifacts at the epsilon-T region.
2021-12-02 22:53:14 +01:00
Collin Kidder 5cd67faec3 Merge pull request #433 from viktorgino/ui-fixes
Misc UI additions
2021-11-28 12:40:09 -05:00
Viktor Verebelyi 47c153b2bc Fix Flow view graph button order 2021-11-26 05:33:12 +00:00
Viktor Verebelyi f6f9db9d7f Fix Sniffer Frequency column label 2021-11-26 05:31:53 +00:00
Viktor Verebelyi c69f77630a Add timeline slider to flow view 2021-11-26 05:24:54 +00:00
Viktor Verebelyi 907312f12d Add selection of graph charts to Frame info window 2021-11-26 03:34:11 +00:00
Viktor Verebelyi 3a4f9c6699 Add selection of graph charts and slider to change chart range to flow view 2021-11-26 03:32:54 +00:00
Viktor Verebelyi efe1247bbb Add sniffer window frequency & 0x to address 2021-11-26 01:24:30 +00:00
Collin Kidder 774e9ddafd Merge branch 'master' of github.com:collin80/SavvyCAN 2021-09-29 21:39:34 -04:00
Collin Kidder f6568c330f Add ability to set notch and expire intervals for Sniffer Window. 2021-09-29 21:39:08 -04:00
Collin Kidder 21b2d9d4c6 Update build.yml 2021-09-27 21:18:04 -04:00
Collin Kidder 4b0659d89e Merge pull request #419 from Lucidiot/patch-1
Allow overriding PREFIX on qmake
2021-09-27 20:56:57 -04:00
Collin Kidder a9b99a9a27 Merge pull request #420 from megatronik-de/master
Fix segfaults when add to graphing window for signal not found in DBC
2021-09-27 20:55:24 -04:00
Matthias Kelch 31c26a7df0 Fix segfaults when add to graphing window for signal not found in DBC 2021-09-27 17:52:30 +02:00
Lucidiot 7af544e03f Allow overriding PREFIX on qmake
I tried to build SavvyCAN for Alpine Linux and ran `qtmake-qt5 PREFIX=/usr`. I got errors because Alpine's packaging tool does not allow placing any files in `/usr/local`; it turns out the prefix I set was ignored because `isEmpty(PREFIX)` was not directly followed by a block, so the block statement gets treated as a separate statement and the `isEmpty` just does nothing.
2021-09-24 00:32:28 +02:00
Collin Kidder 37b9c821e5 Fix crash when deleting nodes in DBC editor 2021-09-19 18:55:25 -04:00
Collin Kidder 6e0e967ea4 Add 33333 speed to CAN bauds, along with a few more commented out. 2021-09-19 18:22:14 -04:00
Collin Kidder 935032477d Modified CANDataGrid component to have two modes for better graphics,
updated version number and presentation on main window
2021-09-06 20:34:11 -04:00
Collin Kidder f752e84888 Merge branch 'master' of github.com:collin80/SavvyCAN 2021-09-06 19:26:05 -04:00
Collin Kidder 1f421c5d2c Added hex labeling option to graphs in flowview and frame info windows, a few tweaks for potential QT6 support 2021-09-06 19:25:59 -04:00