From a89d1ac603fff7df429c994155759bba60a2999b Mon Sep 17 00:00:00 2001 From: stokie-ant <58473635+stokie-ant@users.noreply.github.com> Date: Tue, 31 May 2022 18:26:32 +0100 Subject: [PATCH] fixes and additions Reinstated CPU type, speed and usage. Enabled drag and drop for actions. Fixed issue where saving actions with empty lines caused actions to be duplicated. Fixed lines continued on next line not shown when transitioning. Fixed program detection (for screen saver active, prog active, fullscreen active, etc.) was causing relatively high CPU usage. General code cleanup and formatting. --- .gitignore | 2 +- BUILDING.txt | 7 +- .../vcppdotnetplugin.vcproj.THEBEAST.Ant.user | 65 - LCDSmartie.lpi | 40 +- LCDSmartie.lpr | 2 +- .../LegacyLoader.lpi | 0 .../LegacyLoader.pas | 0 SmartieConfigEditor.lpi | 3 - Smartiegroupbuild.lpg | 25 - UConfig.pas | 7 + UCredits.lfm | 641 ++ UCredits.pas | 1 - UData.pas | 12 +- UDataFolding.pas | 8 +- UDataGame.pas | 8 +- UDataSystem.pas | 237 +- UJSON.pas | 2 +- UMain.lfm | 10 +- UMain.pas | 77 +- URLThread.pas | 4 +- USetup.lfm | 47 +- USetup.pas | 1752 ++-- components/README.txt | 21 +- .../openssl-1.0.2u-i386-win32.zip | Bin .../openssl-1.0.2u-x64_86-win64.zip | Bin 0 -> 1358294 bytes components/openssl.cfg | 90 + contrib/speedfan/speedfan.cfg | 37 - contrib/speedfan/speedfan.dof | 152 - {graphics => images}/LOGOSM~2.BMP | Bin {graphics => images}/OPEN.BMP | Bin {graphics => images}/SMARTIE.BMP | Bin {graphics => images}/SMARTIELOGO1.BMP | Bin images/bar_left.bmp | Bin 7614 -> 0 bytes images/bar_middle.bmp | Bin 16254 -> 0 bytes images/bar_right.bmp | Bin 7398 -> 0 bytes images/big_arrow_left_down.bmp | Bin 3126 -> 0 bytes images/big_arrow_left_up.bmp | Bin 3126 -> 0 bytes images/big_arrow_right_down.bmp | Bin 3126 -> 0 bytes images/big_arrow_right_up.bmp | Bin 3126 -> 0 bytes images/colors.cfg | 6 - images/hide_down.bmp | Bin 1718 -> 0 bytes images/hide_up.bmp | Bin 1718 -> 0 bytes images/logo.bmp | Bin 2322 -> 0 bytes {graphics => images}/logo16x16.bmp | Bin {graphics => images}/logo_smarties.jpg | Bin images/setup_down.bmp | Bin 1718 -> 0 bytes images/setup_up.bmp | Bin 1718 -> 0 bytes images/skininfo.txt | 8 - images/small_arrow_left_down1.bmp | Bin 822 -> 0 bytes images/small_arrow_left_down2.bmp | Bin 822 -> 0 bytes images/small_arrow_left_down3.bmp | Bin 822 -> 0 bytes images/small_arrow_left_down4.bmp | Bin 822 -> 0 bytes images/small_arrow_left_up1.bmp | Bin 822 -> 0 bytes images/small_arrow_left_up2.bmp | Bin 822 -> 0 bytes images/small_arrow_left_up3.bmp | Bin 822 -> 0 bytes images/small_arrow_left_up4.bmp | Bin 822 -> 0 bytes images/small_arrow_right_down1.bmp | Bin 822 -> 0 bytes images/small_arrow_right_down2.bmp | Bin 822 -> 0 bytes images/small_arrow_right_down3.bmp | Bin 822 -> 0 bytes images/small_arrow_right_down4.bmp | Bin 822 -> 0 bytes images/small_arrow_right_up1.bmp | Bin 822 -> 0 bytes images/small_arrow_right_up2.bmp | Bin 822 -> 0 bytes images/small_arrow_right_up3.bmp | Bin 822 -> 0 bytes images/small_arrow_right_up4.bmp | Bin 822 -> 0 bytes {graphics => images}/smartie53.bmp | Bin images/smartie53.jpg | Bin 0 -> 20409 bytes release-dir/images/smartie53.bmp | Bin 105136 -> 0 bytes uSMBIOS.pas | 7473 +++++++++++++++++ x64/release-dir/config.ini | 473 +- 69 files changed, 9813 insertions(+), 1397 deletions(-) delete mode 100644 DLL example/vcppdotnetplugin/vcppdotnetplugin.vcproj.THEBEAST.Ant.user rename {LegacyPluginLoader => LegacyLoader}/LegacyLoader.lpi (100%) rename {LegacyPluginLoader => LegacyLoader}/LegacyLoader.pas (100%) delete mode 100644 Smartiegroupbuild.lpg rename components/{ => openssl-1.0.2u-i386-win32}/openssl-1.0.2u-i386-win32.zip (100%) create mode 100644 components/openssl-1.0.2u-x64_86-win64/openssl-1.0.2u-x64_86-win64.zip create mode 100644 components/openssl.cfg delete mode 100644 contrib/speedfan/speedfan.cfg delete mode 100644 contrib/speedfan/speedfan.dof rename {graphics => images}/LOGOSM~2.BMP (100%) rename {graphics => images}/OPEN.BMP (100%) rename {graphics => images}/SMARTIE.BMP (100%) rename {graphics => images}/SMARTIELOGO1.BMP (100%) delete mode 100644 images/bar_left.bmp delete mode 100644 images/bar_middle.bmp delete mode 100644 images/bar_right.bmp delete mode 100644 images/big_arrow_left_down.bmp delete mode 100644 images/big_arrow_left_up.bmp delete mode 100644 images/big_arrow_right_down.bmp delete mode 100644 images/big_arrow_right_up.bmp delete mode 100644 images/colors.cfg delete mode 100644 images/hide_down.bmp delete mode 100644 images/hide_up.bmp delete mode 100644 images/logo.bmp rename {graphics => images}/logo16x16.bmp (100%) rename {graphics => images}/logo_smarties.jpg (100%) delete mode 100644 images/setup_down.bmp delete mode 100644 images/setup_up.bmp delete mode 100644 images/skininfo.txt delete mode 100644 images/small_arrow_left_down1.bmp delete mode 100644 images/small_arrow_left_down2.bmp delete mode 100644 images/small_arrow_left_down3.bmp delete mode 100644 images/small_arrow_left_down4.bmp delete mode 100644 images/small_arrow_left_up1.bmp delete mode 100644 images/small_arrow_left_up2.bmp delete mode 100644 images/small_arrow_left_up3.bmp delete mode 100644 images/small_arrow_left_up4.bmp delete mode 100644 images/small_arrow_right_down1.bmp delete mode 100644 images/small_arrow_right_down2.bmp delete mode 100644 images/small_arrow_right_down3.bmp delete mode 100644 images/small_arrow_right_down4.bmp delete mode 100644 images/small_arrow_right_up1.bmp delete mode 100644 images/small_arrow_right_up2.bmp delete mode 100644 images/small_arrow_right_up3.bmp delete mode 100644 images/small_arrow_right_up4.bmp rename {graphics => images}/smartie53.bmp (100%) create mode 100644 images/smartie53.jpg delete mode 100644 release-dir/images/smartie53.bmp create mode 100644 uSMBIOS.pas diff --git a/.gitignore b/.gitignore index 2a09f61..b55bec1 100644 --- a/.gitignore +++ b/.gitignore @@ -29,7 +29,7 @@ release-dir/openssl/.rnd release-dir/openssl/cert.pem release-dir/openssl/key.pem # ignore extracted components -components/WinampCtrl +components/WinampCtrl/* # ignore lazarus backups backup *.bak diff --git a/BUILDING.txt b/BUILDING.txt index 27e4d3a..9afd79b 100644 --- a/BUILDING.txt +++ b/BUILDING.txt @@ -6,11 +6,10 @@ Required Components This project requires the following components to be installed and in the projects path: - WinampCtrl. + This can be found in the components sub-directory -This can be found in the components sub-directory - -Indy 10 -This can be installed via lazarus package manager + - Indy 10 + This can be installed via lazarus package manager Install all components before loading the LCD Smartie project. diff --git a/DLL example/vcppdotnetplugin/vcppdotnetplugin.vcproj.THEBEAST.Ant.user b/DLL example/vcppdotnetplugin/vcppdotnetplugin.vcproj.THEBEAST.Ant.user deleted file mode 100644 index 85b0ec8..0000000 --- a/DLL example/vcppdotnetplugin/vcppdotnetplugin.vcproj.THEBEAST.Ant.user +++ /dev/null @@ -1,65 +0,0 @@ - - - - - - - - - - - diff --git a/LCDSmartie.lpi b/LCDSmartie.lpi index 34449c9..5d19ad2 100644 --- a/LCDSmartie.lpi +++ b/LCDSmartie.lpi @@ -87,6 +87,14 @@ + @@ -106,18 +114,25 @@ - + -