3223c430beDo not rsync opkg_commnds to local file systems: this sync is not needed.Gerhard Hoffmann2023-09-28 12:00:24 +02:00
c09682ea33Always execute commands contained in opkg_commands, even if no change in opkg_commands. WAIT button in ISMAS must still be activated.Gerhard Hoffmann2023-09-28 11:57:17 +02:00
9c213d0a97Added some better debug output in the slots concerned with the text edit of the main window ("update status"). Use insertPlainText() when adding to the text edit to simplify code.Gerhard Hoffmann2023-09-10 16:55:32 +02:00
18378afdc5Did some testing with event filters on the main window. not used.Gerhard Hoffmann2023-09-10 16:54:54 +02:00
103b3f3f9cisATBQTRunning(): Use std::fstream to read /proc/<pid>/status, as the lines end on '\r', not on '\n'.Gerhard Hoffmann2023-09-10 16:46:59 +02:00
ff6a6e0e45Use libCAslave.so as default library to use for downloading the device-controller-firmware.Gerhard Hoffmann2023-09-10 16:45:40 +02:00
9a65cb4456Add some debug message when adding content to the text edit of the GUI.Gerhard Hoffmann2023-09-09 15:06:21 +02:00
df0951d671Add the steps to prepare the bootloader for device-controller-firmware download using cutom-events of type update-dc-event.Gerhard Hoffmann2023-09-09 15:04:41 +02:00
60cc752819Add connect for showning a status message in status bar.Gerhard Hoffmann2023-09-09 15:03:52 +02:00
57b4716e2aAdd emergency test function: if device stays in bootloader then use it to make the device to leave the bootloader.Gerhard Hoffmann2023-09-09 15:02:45 +02:00
15f28e9ffdAdd m_update-object and prepare for doing the bootloader setup for downloading the device controller firmware.Gerhard Hoffmann2023-09-09 15:01:03 +02:00
a07893ddabdoUpdate() and updateDC(): communicate with main window to enter bootloader (i.e. to prepare device for download of device controller firmware), but do not perform an actual download at the moment.Gerhard Hoffmann2023-09-09 14:59:05 +02:00
5158878ce2Extend comment for: USING THE BOOTLOADER. Bitte geben Sie eine Commit-Beschreibung für Ihre Änderungen ein. Zeilen,Gerhard Hoffmann2023-09-09 14:54:48 +02:00
b2798b349eFixed reg-exp for name of device controller firmare version.Gerhard Hoffmann2023-09-09 14:41:53 +02:00
64dce44fe1Move update-object into main window. Activate using ISMAS WAIT button.Gerhard Hoffmann2023-09-09 14:40:43 +02:00
7e96b65c1bMove m_update-object to main window. Add signal for showing status messages at status bar of ATBUpdateTool gui.Gerhard Hoffmann2023-09-09 14:38:53 +02:00
ba71728979Move the dc-plugin (and the update-object) into the gui-thread instead of the worker thread, so the worker-thread cannot block itself when inside a slot and therefore not able to react to qt-signals.Gerhard Hoffmann2023-09-09 14:30:53 +02:00
e82742a609Add helper class update_dc_event to dend customer messages from the worker-thread to the gui-thread. The gui-thread will then perform bl_rebootDC, bl_startBL, bl_checkBL(), bl_isUp() and bl_stopBL().Gerhard Hoffmann2023-09-09 14:27:50 +02:00
6773a7243aSave name of device-controller-plugin (either libCAmaster or libCAslave) in the Update-object.Gerhard Hoffmann2023-09-06 09:12:25 +02:00
22c8997f1eSet autoRequest to false and pass a pointer to the device-controller-plugin to the main window instead to the worker (thread).Gerhard Hoffmann2023-09-06 09:10:14 +02:00
9531a08b4aAdd a pointer to the device-controller-plugin. The main window will always be owned by the GUI thread, and the GUI thread is loading the plugin. Hence the worker-thread does not block itself when inside a QT slot.Gerhard Hoffmann2023-09-06 09:07:45 +02:00
c065b57f0cRemove direct member m_hw, a pointer to the device-controller-plugin. The worker shall not load the plugin, otherwise it would block itself inside an QT slot.Gerhard Hoffmann2023-09-06 09:04:43 +02:00
cef05b7511Set version to 1.3.1: extended reason in send-last-versionGerhard Hoffmann2023-09-04 11:48:15 +02:00
b14b296011Added utility getParentName() (name of parent process)Gerhard Hoffmann2023-09-04 11:42:12 +02:00
1ef9853876Set version of UpdateTool to 1.3.0. 1.3.0: main change: add fetching info for current apiism-version and send if to ISMAS.Gerhard Hoffmann2023-08-30 11:47:56 +02:00
5427844977For each customer repository change the file ChangeLog in branch master as last step. The git commit for this file will be used as output, so this file has always be the last to be checked in.Gerhard Hoffmann2023-08-30 11:36:28 +02:00
f8fef38009Add last-commit for traiff and add info for opkg_commands.Gerhard Hoffmann2023-08-22 13:47:57 +02:00
cbe1fd387dAfter "rsync", compare etc/psa_tariff and /etc/psa_tariff, if they contain the same traiff-files (as they should).Gerhard Hoffmann2023-08-22 12:31:15 +02:00
1620b73d01Added sameFilesInDirs(): check for two different directories if the contain the same files (comparison by name and by git-blob).Gerhard Hoffmann2023-08-22 12:29:52 +02:00
99b9419150Made gitBlob() static and execute in /tmp as this command can be executed for every file not only the files contained in a git repository.Gerhard Hoffmann2023-08-22 12:19:25 +02:00
4307fb96a6Add status bar instead of using an message box for displaying error messages.Gerhard Hoffmann2023-08-22 09:27:59 +02:00
c35390b6d6removed commented code plannned for future use -> did not workGerhard Hoffmann2023-08-22 09:27:20 +02:00