Martijn Laan
|
47f6fd7437
Fix more warnings.
|
1 mese fa |
Martijn Laan
|
e9dd8a84af
Add NOCODE define which allows compilation of Setup which doesnt include ROPS and ignores any [Code]. Does not require changes to the rest of the code. Not active atm: intend to activate it in the initial versions of 64-bit Setup targets. Getting 64-bit version of [Code] is going to be a whole project on its own, likely requiring a 64-bit compiler first, likely also with a NOCODE version first.
|
1 mese fa |
Martijn Laan
|
5a7e6fffd5
Cleanup: Rename Setup.ScriptDlg to Setup.WizardForm.CustomPages because it doesn't depend on Script* units (=[Code]) at all. Move TProgressThrottler from ScriptFunc.HelperFunc to InstFunc to enable this.
|
1 mese fa |
Martijn Laan
|
0a8bd21a35
Add PathEndsWith to [Code].
|
1 mese fa |
Martijn Laan
|
bbcd8bb09f
Add RPos to [Code] + documentation improvements.
|
2 mesi fa |
Martijn Laan
|
b0693130a4
Add [Code] support functions PathCombine, PathHasInvalidCharacters, PathIsRooted, PathNormalizeSlashes, PathSame, and PathStartsWith. Other PathFunc functions seems less useful to expose to [Code].
|
2 mesi fa |
Martijn Laan
|
59634a8cff
Add Uninstall support to WizardSetBackImage. Before it would reject to run, but there was no actual reason for this.
|
2 mesi fa |
Martijn Laan
|
13f0c93d18
PathFunc related cleanup + fix CharLength documentation.
|
2 mesi fa |
Martijn Laan
|
07c644dd3c
Merge branch 'main' into FormBackgroundStyleHook
|
2 mesi fa |
Martijn Laan
|
7e8aa77d41
Fix more warnings in various places. Had trouble keeping the focus on a single unit at a time.
|
2 mesi fa |
Martijn Laan
|
b5f6753931
Prevent sign extension / cleanup.
|
2 mesi fa |
Martijn Laan
|
5b0813032b
Merge branch 'main' into FormBackgroundStyleHook
|
2 mesi fa |
Martijn Laan
|
0674a85e13
Enable typed @ operator in Setup.
|
2 mesi fa |
Martijn Laan
|
8f4258cf76
Fix a few warnings and other cleanup.
|
2 mesi fa |
Martijn Laan
|
a4dcbec6ce
Allow [Code] to update or remove the wizard background image (but not the color).
|
2 mesi fa |
Martijn Laan
|
ae25a555ef
Switch to better method for keeping aspect ratio.
|
3 mesi fa |
Martijn Laan
|
911edd7e89
Resize before page initialization.
|
3 mesi fa |
Martijn Laan
|
487c4f1779
Cleanup: SetupLdr doesn't actually use any Redir functionality so SetupLdrAndSetup.RedirFunc should be Setup.RedirFunc. Requires a few compiler directives in SetupLdrAndSetup.InstFunc.
|
3 mesi fa |
Martijn Laan
|
355d49aad1
Merge branch 'main' into segoe
|
3 mesi fa |
Martijn Laan
|
274650d32b
Use stock icons for NewDiskForm + WizardForm's SelectDirBitmapImage and PreparingErrorBitmapImage.
|
3 mesi fa |
Martijn Laan
|
1cc92411e4
Add support functions InitializeBitmapButtonFromStockIcon and InitializeBitmapImageFromStockIcon. Added as functions instead of class members because that's how InitializeBitmapButtonFromIcon were added, which was because array parameters for class members are not supported.
|
3 mesi fa |
Martijn Laan
|
597e17ce8a
Add LangOptions.DialogFontScaleFromWidth/Height, allowing default font to change to 9pt Segoe UI without changing wizard size.
|
4 mesi fa |
Martijn Laan
|
6790200072
Pascal Scripting: Add StrToColor.
|
4 mesi fa |
Martijn Laan
|
4c2da6a0c9
Pascal Scripting: Add MulDiv.
|
4 mesi fa |
Martijn Laan
|
661ffcd0dd
Document support functions Round, Trunc, and Int. We all available before but were undocumented. Also improved Round and Trunc implementation to return Int64. Int still uses ROPS' built-in implementation.
|
4 mesi fa |
Martijn Laan
|
9721508cbd
Cleanup.
|
4 mesi fa |
Martijn Laan
|
7af01c916f
Remove Int64Em 🥳
|
4 mesi fa |
Martijn Laan
|
16d872b7cd
Do remaining work to get rid of Integer64. Shared.Int64Em now has two helper functions left. Should rename the unit or move the funtions.
|
4 mesi fa |
Martijn Laan
|
15b7cb0fe9
Merge branch 'setup-style'
|
4 mesi fa |
Martijn Laan
|
7134b57236
Use TStrongRandom for [Code]'s Random.
|
4 mesi fa |