Commit Graph
204 Commits
Author SHA1 Message Date
Andy Huska dc0b25bee8 Added setting for fixed width vs normal font in the data tables 2022-09-30 16:33:07 -05:00
Andy Huska 8232d90a73 Merge branch 'add_allowfilterstostayuponclear' 2022-09-28 19:14:02 -05:00
Collin Kidder 52a2d719c7 Merge pull request #505 from llange/qt6.3-qmetatype
remove qRegisterMetaTypeStreamOperators (qt6)
2022-09-26 21:23:49 -05:00
Collin Kidder f653ef859a Merge pull request #503 from llange/qt6.3-qelapsedtimer
replace QTime with QElapsedTimer when possible (qt6)
2022-09-26 21:22:22 -05:00
Ludovic LANGE 5a18c611e1 replace QTime with QElapsedTimer when possible (qt6)
Since Qt5, some methods of QTime [are deprecated](https://doc.qt.io/qt-5/qtime-obsolete.html).

Qt6 remove those methods, thus in two instances we need to use
a [QElapsedTimer](https://doc.qt.io/qt-6/qelapsedtimer.html) instead of a QTime.

QElapsedTimer is available since Qt5.4, and is already used in the source
code.
2022-09-24 17:54:51 +02:00
Ludovic LANGE 9fb86e649f remove qRegisterMetaTypeStreamOperators (qt6)
Since Qt6, some methods of [QMetaType are removed](https://doc.qt.io/qt-6/qtcore-changes-qt6.html#the-qmetatype-class).

We remove `qRegisterMetaTypeStreamOperators()` calls for Qt >= 6
2022-09-24 17:51:25 +02:00
Andy Huska 9e9195b34e changed default data table font to be fixed-width for easier reading 2022-09-19 16:13:30 -05:00
Andy Huska 40dbf253af Saving, loading, clearing, and appending signal lists working!! 2022-09-19 15:28:53 -05:00
Andy Huska 6fa84df7e0 Added ability to maintain bus and msg filters when clearing frames 2022-09-19 13:31:00 -05: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
Matthias Kelch 31c26a7df0 Fix segfaults when add to graphing window for signal not found in DBC 2021-09-27 17:52:30 +02: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 da0f1fe87e VERY belated increase in version number.
Added build date to main window title to make it easier to
differentiate continuous builds from each other.
2021-08-25 19:26:35 -04:00
Collin Kidder f53ad8a65a Fixed help system.
Also switched from Sphinx generated HTML to GitHub markup help files.

This improves compatibility and will allow the help files to more easily be viewed on github as well.
2021-05-30 23:40:47 -04:00
Chris Whiteford 51c25f0072 Support dragging and dropping of files onto app icon
Tested on macos and windows.  Drag and drop files onto either the dock icon or task bar icon once SavvyCCAN is running
2021-05-25 11:39:24 -04:00
Collin Kidder 35c1ef5387 Added ability to create multiple graphing windows that act separately.
Added ability to right check on signals in main view and graph them
directly.
2021-05-02 12:48:47 -04:00
Bertrand 57426d273a changing implementation of continuous logging
uncommenting function declaration
2021-02-23 09:52:24 +01:00
Bertrand ba63a25fe3 added bus filter to main window 2021-02-23 08:10:39 +01:00
Collin Kidder b345495178 Fix compilation on Windows, fix glitch that could cause windows to appear off the actual screen with no way to get them back. 2020-11-15 01:30:13 -08:00
Collin Kidder 9d545d44d1 Merge pull request #245 from collin80/WIP
Wip
2020-09-30 18:42:57 -07:00
Kanstantsin Shautsou 6eebfd7089 Add CARBUS Analyzer file load.
- Generic CSV parses file without failures, so CARBUS must be higher.
- File may be loaded but will have no packets. Adjusted UI message for this case.
- Obviously if we got CANHACKER header, then file is already detected and there is no need to parse.
2020-09-26 03:45:19 +03:00
Collin Kidder 18e20a2ee2 Fix UDS interpretation of read by ID, Fix up display issues with
interpreted messages on main screen.
2020-09-21 22:04:28 -04:00
Collin Kidder 4887ac8e62 Many fixes to file loading to prevent crashes and make failure more
clear.
2020-08-16 18:30:43 -04:00
Collin Kidder a5b7410629 Add tracking of DBC editing in order to warn when exiting without saving, add sorting to DBC routines, add a new screen that allows one to compare two DBC files for changes/differences. 2020-07-29 20:45:36 -04:00
Collin Kidder 9c143c2b12 Add two new buttons to expand or collapse all signals. 2020-04-02 21:47:20 -04:00
Collin Kidder e4a3854af4 Many little changes to get rid of compile-time warnings.
There now should be no warnings when compiling on LINUX. YMMV elsewhere.
2020-02-15 19:52:18 -05:00
Collin Kidder d550fa79a0 Changed a lot of pointer references to const (it's more correct and
fixes a weird problem), fixed a problem with JSON to DBC, a few other
fixes
2020-02-13 22:01:06 -05:00
Collin Kidder 8beb0e31a0 Converted more code to be easier to generalize to larger CAN payloads
for CAN-FD. Improved some code to be faster. Fixed up some compile
time warnings.
2019-12-15 15:02:06 -05:00
Collin Kidder ef24036d1c Finished switching over everything to the new can format (I hope). It
seems to function now but much more testing is needed.
2019-12-13 21:06:48 -05:00
Collin Kidder 2867838e75 Reformat status bar on main window and add text to explain F1 usage 2019-08-18 19:44:09 -04:00
mjuhanne cd5fe6da02 DBC settings and bugfixes
- Changes in DBC file manager are immediately propagated to the main window (frames, filter labeling)
- Prevent DBC file manager from saving settings too often and too early (this also fixes a bug where sometimes the settings of all but the first DBC file are lost)
2019-08-12 18:29:33 +03:00
mjuhanne 6272ba3911 Fix slowdown when loading big log files.
- updateFilterList was call repeatedly too many times
2019-08-12 01:33:10 +03:00
mjuhanne 428b19c5c4 - Save DBC file configuration when changed, and restore it when restarting the application (no need for manual entry everytime app is launched)
- Add GMLAN 29bit filtering feature. In addition to J1939 matching, it is now possible to match DBC messages using only the Arbitration Id (bits 14-26 of CAN Address), since  Priority id (higher bits) and Sender Id (lowest 13 bits) are not relevant when interpreting the CAN message content. This allows to use the excellent GM Global A DBC files on https://github.com/commaai/opendbc. Just remember to select the "GMLAN" matching criteria on DBC File manager.
- Add "Filter labeling" feature. Using loaded DBC files, it matches the filter Ids with DBC messages and shows them in filter windows. Labeling works in the main window (no need to set "Frame interpret" on, since this is a separate feature), as well as in Flow view, Frame data analysis, Playback and Fuzzzing windows. This makes it so much easier to concentrate on those CAN messages that matter. To use this feature, select global "Label filters using messages from DBC files" on Main Configuration page, and then enable the feature on individual DBC files (on DBC file manager) as needed. This is needed if there's overlap in CAN addresses between DBC files, and because the filter labeler cannot tell apart anymore which Filter ID is associated to which bus, it might label them incorrectly. But usually it's ok to just enable the labeling with all the DBC files.
- In Frame data analysis window, in addition to J1939 decoding show also GMLAN (Priority bits, Arbitration Id, Sender Id) decoding.
- FilterUtility static class used for centralized ListWidgetItem creation and for other helper functions
- DBC handler: To allow setting bus numbers even before connection is configured, do not enforce "valid" bus numbers
2019-08-11 23:16:02 +03:00
Collin Kidder e7e65b7216 Fixed up a bunch of compiler warnings.
There should be no functional difference, just less noise when compiling
2019-08-08 21:15:51 -04:00
Collin Kidder 1a95ada592 Merge branch 'WIP' of github.com:collin80/SavvyCAN into WIP 2019-06-17 21:00:30 -04:00
Collin Kidder d4a735a710 Allow many places to load and save the last directory used for that functionality so it can easily be used again.
All frame file I/O uses the same directory load/save location but DBC files store separately as do filter files, graphing definitions, and stored text files from the various reverse engineering windows.
2019-06-17 20:58:56 -04:00
Nick Kirkby 0b68e79809 #196: fix persistent settings on Ubuntu 19.04 2019-06-11 01:27:06 -07:00
Collin Kidder 164d5adadb Added a new window - Temporal Graph which shows all frame IDs and the
time stamp when they came in. Shows the temporal relationship between
all frames.
2019-05-05 11:52:32 -04:00
Collin Kidder 15d8ab62b6 Remove setting of vertical header for main window. Broke some systems
and doesnt seem to help anyone else.
2019-05-01 20:23:01 -04:00
Collin Kidder c12031158e Implemented the signal viewer and enabled it in the menu. 2019-04-15 20:56:39 -04:00
Collin Kidder 1ff3426627 Cause the program to properly exit when the main window is closed.
Previously sometimes other opened windows would persist and that was
annoying and not the expected behavior.
2019-04-14 17:00:14 -04:00
Collin Kidder 4ab888cd77 Fix bug where it was impossible to exit Overwrite mode. 2019-04-10 20:07:43 -04:00
Collin Kidder 6c633f8720 Overwrite mode now has a warning message before you can really enable
it. Also, it alters the main frame list to show just the one frame per
ID so it is extremely obvious that you're in overwrite mode.
2019-02-19 20:53:46 -05:00
Collin Kidder 9f20906df3 Fixes to formatting of main frame display. Fixes issue #164 2019-02-19 19:30:25 -05:00
Collin Kidder 3291869849 Fix automatic loading of connections on start up. Shouldn't crash
now...
2019-02-17 15:15:48 -05:00
Collin Kidder 842831e929 Fixes for issue #159 on github - Auto stroll sometimes didn't work and
playback didn't always update the current frame#.
2019-02-13 22:38:20 -05:00
Collin Kidder 25d135cdcc Fix up some compile warnings. 2018-10-21 15:06:05 -04:00
Collin Kidder 693e29141c Fix for a warning that was happening 2018-07-24 22:12:10 -04:00
Collin Kidder cc21686090 Fix for some operating systems (mostly windows) where size calculations failed and caused interpreted frames to disappear 2018-06-04 13:42:32 -04:00
Collin Kidder ff2b3e25cf Merge pull request #134 from FabianInostroza/fix_remote_frames
Make SavvyCAN aware of remote frames.
2018-06-03 10:59:09 -04:00