Commit Graph

1723 Commits

Author SHA1 Message Date
kifir23917 6fa1d16eae only:refactoring: Now `UpdateOperationCallbacks` interface extends `StatusConsumer` interface #7199 2025-01-23 09:26:09 -05:00
kifir23917 aded5b29b6 only:refactoring: rename `StatusConsumer.appendStatus` method into `logLine` #7199 2025-01-23 09:26:09 -05:00
kifir23917 a461d40a7e only:refactoring: get rid of redundant `UpdateOperationCallbacks.append` and `UpdateOperationCallbacks.appendLine` methods because they duplicate `UpdateOperationCallbacks.log` and `UpdateOperationCallbacks.logLine` methods #7199 2025-01-23 09:26:09 -05:00
kifir23917 3f9193bb6a only:refactoring: get rid of redundant `StatusConsumer.appendStatus` method overloading - actually `breakLineOnTextArea` and `sendToLogger` parameters are always true #7199 2025-01-23 09:26:09 -05:00
kifir23917 f8dcfd3335 Hardcode feature flag to `true` #7199 2025-01-22 21:48:42 +02:00
kifir23917 3018d2beef Now we clear status panel before async job execution #7199 2025-01-22 21:48:42 +02:00
kifir23917 0ae9d2becf Disable buttons during async job execution (closes #7339) 2025-01-22 20:44:12 +02:00
kifir23917 5ddbdd4519 Prevent simultaneous job execution from `rusefi_updater.exe` #7339 2025-01-22 20:44:12 +02:00
kifir23917 a7e990f069 support temporary `RUSEFI_USE_STATUS_WINDOW_FOR_JOBS` feature flag #7199 2025-01-21 20:43:20 +02:00
kifir23917 d7004c31c6 now `BasicStartupFrame` uses `StatusPanel` instead of `StatusWindow` #7199 2025-01-21 20:43:20 +02:00
kifir23917 12372c2d5a refactoring: extract part of functionality into `executeJob` method #7199 2025-01-21 20:43:20 +02:00
kifir23917 8569cbb105 refactoring: rename method #7199 2025-01-21 20:43:20 +02:00
kifir23917 030b6ca59b refactoring: extract part of functionality into `BasicUpdaterPanel` class #7199 2025-01-21 20:43:20 +02:00
kifir23917 b83d8abe2d refactoring: now `StatusWindow.createAndShowFrame` method returns `UpdateOperationCallbacks` - we don't need created `StatusWindow` instance #7199 2025-01-21 20:43:20 +02:00
kifir23917 84ee8728e9 refactoring: get rid of redundant `UpdateStatusWindow` class - we do not need additional class to call `showFrame` method in constructor. Now this method is called by `StatusWindow.createAndShowFrame` factory method #7199 2025-01-21 20:43:20 +02:00
kifir23917 6caa2924ce refactoring: now we reuse `UpdateOperationsCallbacks` interface implementation in `StatusPanel` class instead of implementation of this interface in `UpdateStatusWindow` class #7199 2025-01-21 20:43:20 +02:00
kifir23917 86d821d58d refactoring: move `StatusConsumer` interface implementation from `StatusWindow` class to `StatusPanel` #7199 2025-01-21 20:43:20 +02:00
kifir23917 7c45b7617e refactoring: get rid of redundant methods #7199 2025-01-21 20:43:20 +02:00
kifir23917 2ac19f5279 refactoring: rename `StatusConsumer.append` method into 'appendStatus` to distinguish it from `UpdateStatusWindow.append` method #7199 2025-01-21 20:43:20 +02:00
kifir23917 b4a2168261 refactoring: rename `StatusConsumer.append` method into 'appendStatus` to distinguish it from `UpdateStatusWindow.append` method #7199 2025-01-21 20:43:20 +02:00
kifir23917 7fa49183a7 refactoring: extract part of functionality in StatusPanel class #7199 2025-01-21 20:43:20 +02:00
kifir23917 2d2b368a78 duplicate `BundleUtil` class to avoid reflection error on console update #7198 2025-01-17 09:44:33 -05:00
kifir23917 107c3dec42 notify user about a new release #7198 2025-01-17 09:44:33 -05:00
rusefi 98c58178f9 release self-identification to become release.txt #7229
only:uaefi
2025-01-08 18:28:14 -05:00
rusefillc 40090f8cb2 release self-identification to become release.txt #7229
only:uaefi
2025-01-08 11:05:01 -05:00
rusefillc 2d5defe66a dead warning_message
only:uaefi
2025-01-02 17:38:49 -05:00
rusefillc 4537409c83 only:replacing etbTarget with live data 2024-12-10 12:51:50 -05:00
rusefillc 053a4a6b58 bugfix: stlink from console
only:stm32f767_nucleo
2024-12-05 12:11:00 -05:00
rusEFI LLC d1ca52c010 going back to java 8 all for TS plugin
only:proteus_f7
2024-11-01 20:45:03 -04:00
rusEFI LLC fc8a468c92 TS still comes with 1.8 and we have a plugin, lets build compatible 2024-11-01 17:17:44 -04:00
rusEFI LLC d991f73dec Build-Jdk into manifest
only:proteus_f7
2024-11-01 12:18:30 -04:00
rusEFI LLC 6302a6645e MassUpdater to deal with manual DFU
only:mre_f4
2024-10-31 16:21:23 -04:00
rusEFI LLC 4830b66cbd java.lang.NoSuchMethodError: 'java.lang.String com.rusefi.core.io.BundleUtil.readBranchNameToDisplay()' fix #7004 2024-10-28 20:09:19 -04:00
kifir 407ed51fdd now basic updater shows current branch name
closes #7000
2024-10-28 19:01:35 -04:00
Andrey 4ff6ff60eb removal of older rusEFI console spectrogram, new one is coming soon!
only:uaefi
2024-10-21 11:25:58 -04:00
rusefillc 43d6a4c452 only:docs 2024-10-11 14:32:00 -04:00
rusefillc 636f43aff1 bugfix?
only:hellen-honda-k
2024-10-02 10:50:37 -04:00
rusefi 4c3f40ed7a only:threads are complicated 2024-10-01 22:24:47 -04:00
rusefillc 7f0fbe23cd only:MassUpdater 2024-10-01 21:18:20 -04:00
rusefillc 50c11cf778 console does not work for custom FW #6961 2024-10-01 00:35:21 -04:00
rusefillc 6141232256 command line utility progress
only:hellen-honda-k
2024-09-30 13:18:23 -04:00
rusefillc b46999e667 bugfix? re-assemble multiple tokens into one command 2024-09-30 13:07:30 -04:00
Andrey 5723ccc205 better error handling 2024-09-30 11:38:22 -04:00
rusefillc a70ec23fcc mx/debian detected as Windows?! fix #6958
only:uaefi
2024-09-28 19:55:12 -04:00
rusefillc d0d3b5ec4d ProgramSelector should be visible on Linux
only:hellen-honda-k
2024-09-28 16:50:49 -04:00
kifir23917 19d45458a1 only:refactoring: part of functionality is extracted into `AsyncJobExecutor` class 2024-09-21 07:30:48 -04:00
kifir23917 9c397d07f1 only:refactoring: part of functionality is extracted into `JobWithSuspendedSerialPortScanner` class 2024-09-21 07:30:48 -04:00
kifir23917 964d28a9f6 only:refactoring: renaming 2024-09-21 07:30:48 -04:00
kifir23917 55b5581d96 only:refactoring: part of functionality extracted into `UpdateCalibrationsJobContext` class 2024-09-21 07:30:48 -04:00
kifir23917 6315c6dc47 only:refactoring: move job name from `JobType` enumeration to corresponding job class 2024-09-21 07:30:48 -04:00
kifir23917 88150d651b only:refactoring: make work with async jobs clearer 2024-09-21 07:30:48 -04:00
kifir23917 9a38a469d7 revert reboot to Blt timeout back to 60 seconds 2024-09-20 23:42:11 +03:00
kifir23917 3c85f646dc Fix `Auto Update Firmware` flow for obfuscated firmware. Now we don't suspend serial port monitoring for all jobs, but only for `Update Calibrations` job. 2024-09-20 16:29:59 -04:00
kifir23917 6f9e5d8a7c Fix displaying of INSTALL_OPENBLT and ST_LINK in update mode combo box #6936 2024-09-20 15:46:26 -04:00
kifir23917 5fafa3b121 Now update mode combo box displays `displayText` field values instead of enumeration value names
Closes #6936
2024-09-20 15:46:26 -04:00
Andrey 628b2e0f0a Waiting for ECU on port %s to reboot to OpenBlt for up to " + TOTAL_WAIT_SECONDS + " seconds
only:uaefi
2024-09-20 14:16:57 -04:00
Andrey 190141e28a refactoring: magic constants
only:uaefi
2024-09-19 23:34:34 -04:00
rusEFI LLC e5a1806b02 only:slow Windows 7 laptop is asking to double waiting duration to 60 seconds 2024-09-19 19:29:30 -04:00
kifir 8536ed7ca6 now we can update firmware if ECU is switched manually to DFU mode (by pressing `PROG` and `RST` buttons)
closes #6791
2024-09-19 19:05:21 -04:00
kifir 8906dee3df only:refactoring: extract part of functionality into `JobParameters` class #6791 2024-09-19 19:05:21 -04:00
kifir 0205725d97 only:refactoring: extract part of functionality into `JobType` enumeration #6791 2024-09-19 19:05:21 -04:00
rusefillc de4618d60b only:showUpdateCalibrations 2024-09-19 19:03:20 -04:00
kifir 5bc07406cd Now we enable `Update Firmware` button only when ECU is available for non-obfuscated firmware too (as we have been already doing for obfuscated firmware)
closes #6914
2024-09-19 09:18:15 -04:00
Andrey f25772dc7d reducing logging mess
only:uaefi
2024-09-18 10:56:55 -04:00
Andrey 80b227b2fa only:uaefi 2024-09-18 10:45:41 -04:00
Andrey de807aafab only:typo 2024-09-18 10:08:37 -04:00
Andrey 1d6f4b5808 only:proper icon for BasicStartupFrame 2024-09-18 10:08:03 -04:00
kifir e9c4150ba9 only:limit visibility scope for a part of methods 2024-09-18 09:11:59 -04:00
Andrey abc0952611 only:moving code 2024-09-18 08:49:38 -04:00
kifir 6fd13d446a Add `Update Calibrations` button #6864 2024-09-18 08:41:00 -04:00
kifir 0fe5649794 Now we perform port scanning for non-obfuscated firmware as well as for obfuscated one #6914 2024-09-18 08:41:00 -04:00
kifir 5dd72e2bfd Now we suspend port scanning during job execution #6864 2024-09-18 08:41:00 -04:00
kifir fc01016a6c only:refactoring: extract part of functionality into RecurringStep class #6864 2024-09-18 08:41:00 -04:00
kifir 5520850cbb only:light refactoring #6864 2024-09-18 08:41:00 -04:00
kifir 3d6428568f only:refactoring: extract part of functionality into RecurringStep class #6864 2024-09-18 08:41:00 -04:00
kifir 0e35dee888 only:refactoring: extract part of functionality into `updatePortToUpdateObfuscatedFirmware` method #6864 2024-09-18 08:41:00 -04:00
kifir ec22f96aea only:refactoring: renaming #6864 2024-09-18 08:41:00 -04:00
kifir 8c59ae3e07 only:refactoring: now we use overloaded `AvailableHardware.getKnownPorts` method that accepts set of required port types #6864 2024-09-18 08:41:00 -04:00
kifir b3f339b140 only:get rid of unused resource 2024-09-17 18:03:34 -04:00
kifir 894eb2befc only:refactoring: now `switchToPort` method deducts update button text itself from port type #6864 2024-09-17 17:20:58 -04:00
kifir 62acc8459a only:refactoring: now `onUpdateFirmwareButtonClicked` method handles click on update firmware button click for the both cases - with obfuscation and without obfuscation #6864 2024-09-17 17:14:07 -04:00
Andrey 59a3e8f35d only:docs 2024-09-14 13:52:47 -04:00
kifir 8d796d3a54 only: fix misprint in a comment 2024-09-14 13:04:00 -04:00
kifir 1fb0905dbf only: refactoring: renaming #6864 2024-09-14 13:04:00 -04:00
rusefillc 3b7f81e7e0 only: it's all dead 2024-09-12 15:25:35 -04:00
rusefillc 050f615b1c only: it's all dead 2024-09-12 15:13:33 -04:00
Andrey 6a63adf267 only:encapsulation good! 2024-09-12 14:37:01 -04:00
Andrey 74275078ee Console should get much smarter around compatibility with older units #6845
only:progress
2024-09-11 13:06:08 -04:00
Andrey 234cdca08a Console should get much smarter around compatibility with older units #6845
only:progress
2024-09-11 11:57:06 -04:00
rusefillc d3bdc731dc only:probably dead command line? 2024-09-11 09:35:03 -04:00
rusEFI LLC 71ca6328be Console should get much smarter around compatibility with older units #6845
only:all the best code?!
2024-09-07 19:30:58 -04:00
kifir 4a1efe38da attempt to fix displaying of logo on the right side of frame 2024-08-30 09:06:56 -04:00
kifir f0381a3f7f only: light refactoring 2024-08-30 09:06:56 -04:00
kifir 7fa602af2c now we pack frame after it is shown 2024-08-28 18:38:47 +03:00
kifir 602cc29b2f only: refactoring: rename field and method 2024-08-27 09:03:13 -04:00
kifir e5bfc6bdef now we use .setText("") to space instead of .setVisible(false) to avoid layout contraction 2024-08-27 09:03:13 -04:00
kifir 652570babe now we pack frame before it is shown, not only when hardware is updated 2024-08-27 09:03:13 -04:00
rusefillc 61ff1ba345 skip_ecu_type_detection 2024-08-26 11:43:07 -04:00
rusefillc 57356dad03 only:better naming, better location 2024-08-26 11:41:53 -04:00
rusefillc 37b0ec7c35 autoupdate fails - classloader right after file overwrite #6777
only:we do not understand this completely :(
2024-08-23 15:29:14 -04:00
Andrey 696981d5b0 only:write_readme_html 2024-08-23 11:08:49 -04:00
rusefillc ddf1c28d57 open loop boost control does not allow Y axis MAP values greater than 100, even when Y axis is set to MAP #6840
expanding range, also renaming axis
2024-08-22 11:34:34 -04:00
rusefillc c3fe89b613 only:comms stats 2024-08-18 20:35:17 -04:00
rusefillc 0547a0211e only:JScrollPane 2024-08-18 20:35:17 -04:00
rusefi a0eca54325 only:API change 2024-08-18 19:17:41 -04:00
rusefi 6046c552a2 only:API change 2024-08-18 19:15:15 -04:00
rusefi 346f0cbd1f minor usability 2024-08-17 23:30:35 -04:00
Andrey 3789fdb980 Console is broken on Windows 11 fix #6821 2024-08-17 09:59:02 -04:00
kifir 4663ebeb29 Now we work properly if new `OpenBlt` port appeared immediately after ECU rebooted to OpenBlt (closes #6713) 2024-08-15 09:48:15 -04:00
kifir 203ccc89c0 only: refactoring: extract `AvailableHardware` from `SerialPortScanner` class 2024-08-15 09:48:15 -04:00
kifir a7688c58d7 only: refactoring: simplify `SerialPortCache.retainAll` method 2024-08-15 09:48:15 -04:00
kifir 42e2e75a9e limit life-time for cached serial ports #6713 2024-08-15 09:48:15 -04:00
kifir 859ddd23b5 only: refactoring: extract part of functionality is extracted into SerialPortCache class 2024-08-15 09:48:15 -04:00
Andrey f94c0d061c updater process stays running if closed with cross icon fix #6813
only:uaefi
2024-08-14 17:17:37 -04:00
kifir 5d25990183 Now we log strange situations (closes #6788) 2024-08-14 12:33:47 -04:00
kifir 6899853d03 Forbid firmware update when multiple ECUs are connected #6788 2024-08-14 12:33:47 -04:00
kifir 7a23b3f92e only: refactoring: extract part of functionality into `switchToPort` method 2024-08-14 12:33:47 -04:00
kifir 80e9f84125 only: refactoring: extract part of functionality into overloaded `AvailableHardware.getKnownPorts` method 2024-08-14 12:33:47 -04:00
kifir 938c323516 forbid multiple ECU-s updating after `Auto Update Firmware` button is pressed (see `Auto Update Firmware`) #6788 2024-08-14 12:33:47 -04:00
kifir 9caf49ccfc only: refactoring: extract part of functionality into `onHardwareUpdated` method 2024-08-14 12:33:47 -04:00
kifir 14cc189806 only: refactoring: extract controls on the form into fields 2024-08-14 12:33:47 -04:00
kifir 07fe982aa5 only: fix potential IOStream leak: Method `DfuHelper.sendDfuRebootCommand` shouldn't be responsible for closing a stream, because there are cases, when overloaded `DfuHelper.sendDfuRebootCommand` method doesn't call its namesake (that was closing the stream) 2024-08-13 12:16:52 -04:00
kifir c7fefcef25 only: refactoring: get rid of redundant class instantiation when we need just call a static method 2024-08-13 12:16:52 -04:00
kifir af2aa8932b now we really check that new port appeared after ECU port disappeared (closes #6747) 2024-08-12 13:05:15 -04:00
kifir bde60cb578 only: get rid of redundant check for `auto` port - it should never be `auto` here 2024-08-12 13:05:15 -04:00
kifir 0f0a433102 only: fix misprint 2024-08-12 13:05:15 -04:00
kifir a98285252f only: refactoring: now LinkManager.getCommPorts method returns set of strings instead of array 2024-08-09 16:21:39 -04:00
rusefillc aa00f48b43 only:removing some dead code 2024-08-09 12:16:11 -04:00
rusefillc 3ca0108a65 only:reducing method visibility 2024-08-09 11:54:32 -04:00
rusefillc 7363e80f3b only:reducing method visibility 2024-08-09 11:53:37 -04:00
rusefillc c797697a8a only: updater wl 2024-08-09 00:24:36 -04:00
rusefillc 93b3132d7c only: flexible UPDATE_FW_HELP_URL 2024-08-08 23:55:19 -04:00
rusefillc 572018fe7a do not show 'install drivers' button if folder is missing 2024-08-08 23:55:19 -04:00
rusefillc f4d347171e trying to preserver the error
only: proteus_f7
2024-08-08 21:24:11 -04:00
rusefi 5935ab8c3f more of autoupdate fails #6777
only:alphax-4K-GDI
2024-08-07 21:23:43 -04:00
rusefillc 97560eec48 only:wl 2024-08-07 16:39:53 -04:00
rusefillc 046ca6067e only:minor usability 2024-08-07 16:35:49 -04:00
rusefillc 47fd5c4828 autoupdate fails #6777
only:proteus_f7
maybe sad fix?
2024-08-07 15:45:50 -04:00
rusefillc 49f67383bb autoupdate fails #6777
only:minor refactoring
2024-08-07 15:26:06 -04:00
rusefillc 8141ffeee7 autoupdate fails #6777
only:showing exception
2024-08-07 13:56:26 -04:00
rusefillc 9be8012354 wmic not found on Windows 10 #6774 2024-08-06 21:15:04 -04:00
Andrey 766b3d662e only: starting logging sooner 2024-08-04 16:51:22 -04:00
rusefi 8443577343 only:minor usability 2024-08-01 00:54:19 -04:00
rusefi 609d9f016f show_simulator=true 2024-07-28 12:04:17 -04:00
rusefi af6f0ba092 only:handling lack of .srec file 2024-07-28 00:51:39 -04:00
kifir23917 8afdbdbe59 Implement waiting for new port to appear #6699 2024-07-17 10:29:15 -04:00
kifir23917 f3bee89797 Only: symplify waitForEcuPortDisappeared method signature #6699 2024-07-17 10:29:15 -04:00
kifir23917 012dec829b Only: improve logging #6699 2024-07-17 10:29:15 -04:00
kifir23917 210d21eee5 Only: get rid of unused code 2024-07-17 10:29:15 -04:00
kifir23917 2f004089f3 Only: get rid of unused parameter (#6699) 2024-07-17 10:29:15 -04:00