Martijn Laan
|
47f6fd7437
Fix more warnings.
|
hace 1 mes |
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.
|
hace 1 mes |
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.
|
hace 1 mes |
Martijn Laan
|
0a8bd21a35
Add PathEndsWith to [Code].
|
hace 1 mes |
Martijn Laan
|
bbcd8bb09f
Add RPos to [Code] + documentation improvements.
|
hace 2 meses |
Martijn Laan
|
b0693130a4
Add [Code] support functions PathCombine, PathHasInvalidCharacters, PathIsRooted, PathNormalizeSlashes, PathSame, and PathStartsWith. Other PathFunc functions seems less useful to expose to [Code].
|
hace 2 meses |
Martijn Laan
|
59634a8cff
Add Uninstall support to WizardSetBackImage. Before it would reject to run, but there was no actual reason for this.
|
hace 2 meses |
Martijn Laan
|
13f0c93d18
PathFunc related cleanup + fix CharLength documentation.
|
hace 2 meses |
Martijn Laan
|
07c644dd3c
Merge branch 'main' into FormBackgroundStyleHook
|
hace 2 meses |
Martijn Laan
|
7e8aa77d41
Fix more warnings in various places. Had trouble keeping the focus on a single unit at a time.
|
hace 2 meses |
Martijn Laan
|
b5f6753931
Prevent sign extension / cleanup.
|
hace 2 meses |
Martijn Laan
|
5b0813032b
Merge branch 'main' into FormBackgroundStyleHook
|
hace 2 meses |
Martijn Laan
|
0674a85e13
Enable typed @ operator in Setup.
|
hace 2 meses |
Martijn Laan
|
8f4258cf76
Fix a few warnings and other cleanup.
|
hace 2 meses |
Martijn Laan
|
a4dcbec6ce
Allow [Code] to update or remove the wizard background image (but not the color).
|
hace 2 meses |
Martijn Laan
|
ae25a555ef
Switch to better method for keeping aspect ratio.
|
hace 3 meses |
Martijn Laan
|
911edd7e89
Resize before page initialization.
|
hace 3 meses |
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.
|
hace 3 meses |
Martijn Laan
|
355d49aad1
Merge branch 'main' into segoe
|
hace 3 meses |
Martijn Laan
|
274650d32b
Use stock icons for NewDiskForm + WizardForm's SelectDirBitmapImage and PreparingErrorBitmapImage.
|
hace 3 meses |
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.
|
hace 3 meses |
Martijn Laan
|
597e17ce8a
Add LangOptions.DialogFontScaleFromWidth/Height, allowing default font to change to 9pt Segoe UI without changing wizard size.
|
hace 4 meses |
Martijn Laan
|
6790200072
Pascal Scripting: Add StrToColor.
|
hace 4 meses |
Martijn Laan
|
4c2da6a0c9
Pascal Scripting: Add MulDiv.
|
hace 4 meses |
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.
|
hace 4 meses |
Martijn Laan
|
9721508cbd
Cleanup.
|
hace 4 meses |
Martijn Laan
|
7af01c916f
Remove Int64Em 🥳
|
hace 4 meses |
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.
|
hace 4 meses |
Martijn Laan
|
15b7cb0fe9
Merge branch 'setup-style'
|
hace 4 meses |
Martijn Laan
|
7134b57236
Use TStrongRandom for [Code]'s Random.
|
hace 4 meses |