28 Commits

Author SHA1 Message Date
Martijn Laan
3836bc1eb8
Update whatsnew, the example and the highlighter. 2025-06-12 11:04:55 +02:00
Martijn Laan
ecbc01910b
Merge branch 'files-download'
Going to deal with CodeDownloadFiles.iss and CodeDownloadFiles2.iss and all references later.

Also doing the Hash idea (before mentioned as DownloadRequiredSha256) later and not just for downloads.
2025-06-11 21:10:13 +02:00
Martijn Laan
9ca6212543
Merge branch 'main' into files-download 2025-06-08 22:21:23 +02:00
Martijn Laan
55d5df2b45
Improve ShowCaretPosition debug option to show style names instead of only numbers. 2025-06-08 22:21:17 +02:00
Martijn Laan
3c67d36bff
Add [Files] flag "download" for integrated download support. Was rather easy 👍
Todo:
-Handle username + password
-Add param for .issig url, like IssigSource? Now it requires a second entry
-Doc
-Allow download+extractarchive? I suppose the download part would need to be integrated differently since it first would need to download (all?) the archive(s) to {tmp} using CreateDownloadPage. Hooking up the download steam to the 7-Zip instream wouldn't work since it needs non-sequential access.
2025-06-08 13:42:34 +02:00
Martijn Laan
7241c79431
Highlight occurrences of current word: be more like VSCode and VS. For example, exclude 'begin' and 'end' in [Code]. 2025-06-07 13:58:20 +02:00
Martijn Laan
7f6278c99b
Merge branch 'files-extractarchive' 2025-06-07 09:41:47 +02:00
Martijn Laan
c645409e76
Compiler: add extractarchive flag & ExtractArchivePassword parameter. 2025-05-30 14:26:20 +02:00
Martijn Laan
56bbf40579
Add [ISSigKeys] RuntimeID, remove [Code] ISSigLoadTextFromFile. 2025-05-22 16:39:56 +02:00
Martijn Laan
ce14023594
Add [Files] ISSigAllowedKeys parameter. Not yet used by Setup and not yet documented. Can be set to a space separated list of key names and groups.
Stored as a bitmask in an array of bytes using type AnsiString. Example: if the length is 2 and the first bit of both bytes are set and the others arent then the allowed keys are the ones with index 0 and index 8. So the 1st and 9th key.

If only the 1st and 9th key are allowed but there are many more keys, it still uses a length of 2. But if a 17th key is allowed then it uses a length of 3, even if no other keys are allowed. Etc.
2025-05-04 15:45:29 +02:00
Martijn Laan
7840e44c1f
Add [ISSigKeys] Group parameter. 2025-05-03 21:10:40 +02:00
Martijn Laan
38b9393df1
Add alternative KeyFile parameter to [ISSigKeys]. Also cleanup a leftover LowerCase on the PublicY parameter. 2025-04-24 17:02:29 +02:00
Martijn Laan
65ebcc30db
Add issigverify flag, doesnt actually verify yet. The external+issigverify limitation is temporary. Still already storing stuff in SetupHeader. The sign+issigverify limitation is not temporary since signing breaks the issig. 2025-04-22 20:00:35 +02:00
Martijn Laan
a7a5b2c4ab
Allow optional KeyID parameter allowing the script write to catch mistakes early. 2025-04-22 19:32:08 +02:00
Martijn Laan
cde52c4d71
Merge branch 'main' into issigkeys 2025-04-22 19:09:14 +02:00
Martijn Laan
e4c5616be8
Fix autocomplete for [Components] and [Dirs]. This was broken a long time ago by fc3bf40e and partially fixed 88d69cb5 but only noticed half of the problem back then. 2025-04-22 19:09:07 +02:00
Martijn Laan
ac2b262ddc
Some initial work on [ISSigKeys]. 2025-04-22 18:47:44 +02:00
Martijn Laan
2679b7feec
Add 'procedure' and 'function' headers to the hints and also show those without parameters. 2025-01-19 13:44:35 +01:00
Martijn Laan
9f9b841e7b
Add function definition hints on mouseover for [Code] functions and class members. Always shows all matching class members instead of just those of the object's class.
Todo: Missing are 'procedure' and 'function' headers and also those without parameters.
2025-01-16 16:40:36 +01:00
Martijn Laan
6f13b4782b
Add new support functions StringJoin, StringSplit, and StringSplitEx. Todo: doc. 2024-11-16 14:14:52 +01:00
Martijn Laan
dc634c99de
Work on adding CreateExtractionPage and also make some other improvements. Some todos left as mentioned in the code and also didn't actually test the page yet. 2024-11-14 15:35:20 +01:00
Martijn Laan
c73c8e7125 Autocompletion now works for multiple flags instead of for the first only. Does require the flags to be valid ones. Also some cleanup. 2024-11-05 13:47:02 +01:00
Martijn Laan
88d69cb58c Fix duplicate BuildFlagsWordList calls. Did not actually cause a problem. 2024-11-05 13:22:36 +01:00
Martijn Laan
8150ccabcc
Cleanup. 2024-10-26 09:38:44 +02:00
Martijn Laan
f41fde6bdf
Added autocompletion support for the [Messages] section. 2024-10-25 07:42:33 +02:00
Martijn Laan
96d1b58d9b
Add autocompletion support for all Pascal Scripting event function parameters. Always shows all parameters instead of just those of the current event function. 2024-10-10 10:33:41 +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
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