Charles Galpin
23cd6d9dfe
add save as, reload, and save log buttons to scriptingwindow
2023-12-24 10:45:56 -05:00
Ludovic LANGE
07db287407
replace qrand/qsrand with QRandomGenerator (qt6)
...
Since Qt5, qrand/qsrand methods [are deprecated](https://doc.qt.io/qt-5/qtglobal-obsolete.html#qrand ).
Qt6 remove those methods, thus we need to use instead a [QRandomGenerator](https://doc.qt.io/qt-6/qrandomgenerator.html ).
QElapsedTimer is available since Qt5.10, and is already used in the source code.
2022-09-24 17:34:40 +02:00
jogo-
7333d2704e
Update scriptingwindow.cpp
...
Show whitespaces in Scripting Window
2021-07-03 11:17:51 +02: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
Bertrand
8a1ce9f238
checking if JS script is loaded before compiling
...
avoids crash
2021-02-26 07:45:53 +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
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
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
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
MartinX
52f04791dd
add setWindowFlags(Qt::Window) to improve window management
...
* improves window handling a lot
(on Linux GNOME 3 at least: quickly resizing windows left/right, not forced in foreground anymore etc.)
setWindowFlags() inserted in all *window.cpp files except mainwindow
* some whitespace at EOL trimmed
2019-02-13 20:08:41 +01:00
Collin Kidder
96b73bd1ca
ISOTP and Scripting bug fixes
2018-02-04 18:11:25 -05:00
Collin Kidder
9302c18c33
Integrated help into the system. Most all the sub-screens that are actually complete
...
and working have integrated help now. Press F1 to bring up help for a given window.
2017-11-30 21:02:16 -05:00
Collin Kidder
0f9584eaea
Fixed ISOTP Interpreter Window - It functions again.
...
Also added UDS decoding to the ISOTP window. An attempt is made to see
if a frame looks like UDS and then it is decoded.
Also, some code clean up to remove some compiler warnings. There's a
LONG way to go still.
2017-10-09 20:59:25 -04:00
Collin Kidder
b7888765a2
Changed scripting window font to be more legible. Fixed a bug that caused CAN reception errors in scripting system.
2017-09-14 13:09:21 -04:00
Collin Kidder
74cbcded53
Fix some bugs in script system when using multiple scripts
2017-09-03 21:13:12 -04:00
Collin Kidder
8b3a22ccb0
Add ability to set script parameters that can be changed and monitored
...
in realtime from SavvyCAN.
2017-09-03 16:46:43 -04:00
Collin Kidder
1c638896e4
Add ability to revert and delete scripts. Fixes to scripting
...
interface. Update version number
Multi-script execution works pretty well now.
2017-08-31 21:06:52 -04:00
Collin Kidder
4b61ea2c00
Various changes to support use and loading of multiple scripts in the
...
scripting system.
2017-08-31 20:33:27 -04:00
Collin Kidder
6ef5757a4d
Additional functionality for scripting interface.
...
In progress but raw CAN works now.
2017-08-22 20:03:58 -04:00
Collin Kidder
470b8d3b0c
Removed dependency on QScintilla, switched to jsedit
...
QScintilla was *EXTREMELY* overkill for what I really needed. It also
created problems for people trying to compile the source. The new
solution is much easier to compile and use.
2017-08-06 21:23:11 -04:00
Collin Kidder
7222870b1e
Many little fixes to clean up warnings and bugs.
2016-12-29 20:50:02 -05:00
canpadawan
9addf43651
attempt to use new canconnection abstraction
2016-06-29 11:57:05 +02:00
Collin Kidder
48fb208f8b
Fixed crash bug found in many sub screens, made UDS scanner work better.
2016-01-29 15:03:29 -05:00
Collin Kidder
cc0f1733b1
Switched script source code view to a QScintilla based view.
2015-12-02 21:56:06 -05:00
Collin Kidder
0d7490a423
Added ability to save/restore scripting window size and location
2015-12-02 20:12:54 -05:00
Collin Kidder
d324177a7b
Got frame reception and sending working (preliminarily)
2015-12-02 19:50:26 -05:00
Collin Kidder
c2e5df6087
Bug fixes, turn some connections into QT5 syntax, more implementation of scripting interface.
2015-12-02 15:53:26 -05:00
Collin Kidder
0ff076de3a
Fixed up ability to send frames while not connected and to show frames
...
that were sent within the same window as received frames. Added a new
scripting window that can be used to create scripts that send and
receive messages at runtime - not done but sort of working.
2015-11-30 20:35:08 -05:00