Martijn Laan
31015dda09
Update to Delphi 12.3 May Patch. The .dproj change (done by Delphi on opening) should not impact using them with older versions.
2025-06-11 16:32:34 +02:00
Martijn Laan
a52c1462cf
Don't check ISCmplr.dll and ISPP.dll on Debug since the required postbuild events complicate building from the IDE using a fresh checkout which is undesirable.
2025-04-17 09:39:08 +02:00
Martijn Laan
ec81524172
Use ISSigFunc to check trust. Works while debugging from Delphi as well. Defining TRUSTALL would only be needed while debugging isscint.dll from VS for example.
...
AllowedPublicKeyText is formatted as a Delphi 12 multiline string literal since I plan to make ISSigTool embed it automatically from issig.bat to avoid complicating the build for others.
2025-04-16 21:13:14 +02:00
Martijn Laan
7e70d4c20f
Ensure presence of .issig files in Debug as well.
2025-04-16 20:46:01 +02:00
Martijn Laan
48357bb6fa
Use TrustedFile before loading ISPP.dll.
2025-04-03 11:37:05 +02:00
Martijn Laan
0759cc7b87
Update for unit split + use TrustedFile before loading ISCmplr.dll.
2025-03-12 22:36:48 +01:00
Martijn Laan
d2058a0891
Update for Delphi 12.1 Athens because Embarcadero forces me to do this 👎 Can't update to Delphi 12.2 which is already released because unfortunately the Community Edition is lagging behind, intentionally I believe 👎 👎 Still need to do DPI tests, it's not clear to me if and how the badly documented DPI releated changes to TFont affect our code 👎 👎 👎 See https://docwiki.embarcadero.com/Libraries/Athens/en/Vcl.Graphics.TFont.IsDPIRelated for example.
...
Opening the updated project files with Delphi 11.3 anyways seems to work fine.
2025-02-20 10:25:09 +01:00
Martijn Laan
6876665c8a
Use PBKDF2 to get the encryption key. Chose to use 100,000 iterations and a 128-bit salt.
2024-09-27 16:24:48 +02:00
Martijn Laan
e955344670
Cleanup Compil32 using Shared.SetupTypes since last july: move the required types (TSetupStep and TUninstallStep) into a new unit instead.
2024-09-27 16:07:30 +02:00
Martijn Laan
1fb1c0d73b
Projects cleanup.
2024-09-26 11:54:09 +02:00
Martijn Laan
12637b1b70
Merge branch 'sha256-cleanup'
2024-09-26 11:49:49 +02:00
Martijn Laan
ea6f7b69c8
Use SHA256 instead of SHA1 for the password hashing.
2024-09-01 19:46:24 +02:00
Martijn Laan
d9d845ab62
Replace ArcFour with XChaCha20 which also removes iscrypt.dll use.
...
Todo:
-Use a single random base nonce for all files
-Remove/replace various iscrypt use in .iss scripts
-Delete iscrypt.dll on updates
-Update help & whatsnew & web
-Rename TSetupSalt/TSetupNonce?
2024-08-31 22:14:32 +02:00
Martijn Laan
b2df5696ba
Split off more. Compiler.SetupCompiler has the Git history of what was Compiler.Compile.pas (and Compile.pas before that).
2024-08-08 20:14:26 +02:00
Martijn Laan
b601c2ea4f
Remove use of Vcl.Consts from Compiler.Compile so ISCmplr doesn't use any Vcl unit.
2024-08-07 20:57:40 +02:00
Martijn Laan
e5d46b163d
Move shared but self-contained and generally useful units to Components.
2024-08-05 20:52:57 +02:00
Martijn Laan
7d3b4aa85a
Rename/group the compression units. Stop using Compression.Base (Shared.Compress) in Compil32.
2024-08-05 17:25:42 +02:00
Martijn Laan
6db7a31745
Move the sources back into the Src folder now that they have prefixes. Changed the Shared prefix of the files which were in SetupLdrAndSetup to Setup. Todo: the remaining dirs with helper code.
2024-08-05 16:56:18 +02:00
Martijn Laan
b50e481790
A few more renames.
2024-08-04 21:22:03 +02:00
Martijn Laan
e9b6cdb1d6
Compil32. unit scope -> IDE. + ISCmplr. -> Compiler.
2024-08-04 10:25:42 +02:00
Martijn Laan
8da185fed3
Add Shared prefix to the shared files. Todo: double check for unintended changes outside of uses (and some name cleanupfor this + move sources back into Src).
2024-08-03 21:19:08 +02:00
Martijn Laan
bfbe6c4dd0
The unit scope name setting doesnt seem to work fully: either Build works and Compile does not (once an error happens) or the other way around, depending on if the listing in the .dpr has the prefix or not. So stop using the setting. As a benefit this makes it possible to cleanup more names like CompMsgs and CompMsgs2 + not having ISPP.Ispp in unit names + using CompileForm as a unit name.
2024-08-03 17:09:59 +02:00
Martijn Laan
0ed1c288ca
Same for ISCmplr.
2024-08-03 14:00:23 +02:00
Martijn Laan
aa6c5d1e79
Cleanup ISPP search path use + update STATICCOMPILER and STATICPREPROC instructions.
2024-07-10 22:58:27 +02:00
Martijn Laan
07b92bc292
Move CompPreprocInt back to the shared files.
2024-07-10 08:57:16 +02:00
Martijn Laan
6aa7cc26bc
Move MD5 and SHA1 as they are components.
2024-07-10 08:15:15 +02:00
Martijn Laan
0d2b4555e5
Cleanup unneeded RedirFunc use by ISCmplr.
2024-07-10 08:00:57 +02:00
Martijn Laan
b0947896df
Move source files unique to a project into a project specific subdir. Only done SetupLdr and ISCmplr so far. Did also fix/clean mixup of ISCmplr and Compil32 messages in the single CompMsgs file. Cannot test compile.bat until later.
2024-07-09 21:55:16 +02:00
Martijn Laan
f486e9312c
DCC_Alignment & DCC_WriteableConstants cleanup.
2024-04-24 19:14:11 +02:00
Martijn Laan
1f682b82d1
Make it easier to get started with debugging by outputting to a separate Bin dir and having a batch file to prepare it. If you already work with IS please run this batch file and also open it to see which files you should delete from your Projects dir to further clean it. Does not automatically copy ISCrypt.dll.
2024-04-03 09:53:33 +02:00
Martijn Laan
23444a8bd9
Update for move + also fix bad unit (Msgs, directly and via InstFunc) and function (InternalError) use by Compil32's CompMsgBoxDesigner and prevent this from happening again.
2024-04-02 16:38:03 +02:00
Martijn Laan
fc3412e535
Update existing references for all and add missing ones to ISCC and SetupLdr, the other 3 still todo.
2024-04-02 12:38:53 +02:00
Martijn Laan
fdc1ce9856
Don't use SearchPath for our own components as this just makes things harder. Now 'search files' will find our component code, the component files can be opened easily from the project tree, and it's clear which project uses which components.
2024-03-31 17:05:20 +02:00
Martijn Laan
22e63364a1
Set Dcu output dirs to unique dirs, allows parallel compilation and also is simply cleaner and allows one to easily check which units a project actually uses.
2024-03-22 15:05:40 +01:00
Martijn Laan
f2baacafac
Add ISCmplr.dproj.
2024-03-09 17:01:30 +01:00
Martijn Laan
b989123376
Fix CompResUpdate reference.
2020-10-19 21:27:58 +02:00
Martijn Laan
4e11106d42
Enable Int64 on Unicode. Did a ROPS fix for this.
2013-01-15 14:39:37 +01:00
Martijn Laan
75da93a7f2
Added my Delphi 2009 .dproj files.
2011-10-09 17:16:42 +02:00