Commit graph

128 commits

Author SHA1 Message Date
anders_k
e73d05f1f5 LoadAndSetImage can return the image handle
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7179 212acab6-be3b-0410-9dea-997c60f758d6
2020-05-01 13:15:03 +00:00
anders_k
3d93d9c010 Added NSD NetAddress control and Date macros
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7177 212acab6-be3b-0410-9dea-997c60f758d6
2020-04-27 12:36:57 +00:00
anders_k
b3044b36c1 Added DatePicker NSD control
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7176 212acab6-be3b-0410-9dea-997c60f758d6
2020-04-23 18:31:23 +00:00
anders_k
2e11d853b7 Make sure filter buffer has room for the double terminator
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7175 212acab6-be3b-0410-9dea-997c60f758d6
2020-04-22 21:37:01 +00:00
anders_k
c14e5f0aa3 Improved nsDialogs::SelectFileDialog filter string format documentation
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7174 212acab6-be3b-0410-9dea-997c60f758d6
2020-04-22 21:31:38 +00:00
anders_k
e1141d9277 Added !define /intfmt
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7173 212acab6-be3b-0410-9dea-997c60f758d6
2020-04-22 21:14:55 +00:00
anders_k
01aa9b3fba Fixed nsDialogs CB/LB_Get/SetItemData macros (bug #1238)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7137 212acab6-be3b-0410-9dea-997c60f758d6
2019-12-14 23:07:11 +00:00
anders_k
a5bb2cbebb Added NSD_CreateMLText
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7107 212acab6-be3b-0410-9dea-997c60f758d6
2019-08-03 18:01:51 +00:00
anders_k
d5ba6306e7 Force ANSI RichEdit in nsD example because UTF-16 encoded RTF is not valid
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7088 212acab6-be3b-0410-9dea-997c60f758d6
2019-03-06 19:00:49 +00:00
anders_k
217f250466 Added NSD_Remove[Ex]Style and NCM_* messages
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7086 212acab6-be3b-0410-9dea-997c60f758d6
2019-02-15 20:19:27 +00:00
anders_k
0ebf72824d Added WinVer AtLeastBuild and AtMostBuild
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7056 212acab6-be3b-0410-9dea-997c60f758d6
2018-11-30 16:49:13 +00:00
anders_k
fa85ddb775 Use a undocumented variable as the nsDialogs::OnNotify return value so we don't have to worry about restoring it
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7055 212acab6-be3b-0410-9dea-997c60f758d6
2018-11-27 22:36:58 +00:00
anders_k
a523c05626 nsDialogs::OnNotify can now return values back to Windows, also fixes bug #1216
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7054 212acab6-be3b-0410-9dea-997c60f758d6
2018-11-27 22:15:26 +00:00
anders_k
a852d07897 Added MUI_TEXTCOLOR setting. Check/Radio control themes are disabled when high contrast mode is on as a band-aid for SetCtlColors issues.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7013 212acab6-be3b-0410-9dea-997c60f758d6
2018-09-13 13:35:25 +00:00
anders_k
2eb0d5cdf1 Fixed minor documentation typos
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7010 212acab6-be3b-0410-9dea-997c60f758d6
2018-06-17 21:20:05 +00:00
anders_k
906bba2955 Fixed broken NSD_CB_GetCount command
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6987 212acab6-be3b-0410-9dea-997c60f758d6
2018-03-29 23:36:52 +00:00
anders_k
49471b3d84 (C) 2018
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6962 212acab6-be3b-0410-9dea-997c60f758d6
2018-01-02 01:51:26 +00:00
anders_k
bcef923727 Try to avoid clobbering SysLink GWLP_USERDATA
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6949 212acab6-be3b-0410-9dea-997c60f758d6
2017-11-05 18:36:33 +00:00
anders_k
34e9873d5f Added IntPtrOp alias
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6929 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-13 21:23:33 +00:00
anders_k
f34fd48105 Added more RichEdit NSD macros and a WM_NOTIFY example
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6912 212acab6-be3b-0410-9dea-997c60f758d6
2017-09-29 18:56:30 +00:00
anders_k
bd12125d7a Removed unused NSD_LB_Clear macro parameter
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6911 212acab6-be3b-0410-9dea-997c60f758d6
2017-09-29 17:41:00 +00:00
anders_k
9e9ab4029c Added RichEdit NSD control
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6910 212acab6-be3b-0410-9dea-997c60f758d6
2017-09-29 14:34:13 +00:00
anders_k
0322da94b2 Added more NSD editbox macros
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6909 212acab6-be3b-0410-9dea-997c60f758d6
2017-09-28 12:11:08 +00:00
anders_k
adb47b8a58 Simplified initial NSD tutorial steps
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6908 212acab6-be3b-0410-9dea-997c60f758d6
2017-09-27 12:34:21 +00:00
anders_k
d4afa99b08 Added UpDown NSD control
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6907 212acab6-be3b-0410-9dea-997c60f758d6
2017-09-26 12:01:16 +00:00
anders_k
f1b2f82242 Added more example controls and pages in NSD example.nsi
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6906 212acab6-be3b-0410-9dea-997c60f758d6
2017-09-25 16:37:49 +00:00
anders_k
ed6a6e4d06 Added NSD Prepend/Append CB/LB helper macros
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6905 212acab6-be3b-0410-9dea-997c60f758d6
2017-09-25 11:57:38 +00:00
anders_k
47630407be Added HotKey and IPAddress NSD controls
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6902 212acab6-be3b-0410-9dea-997c60f758d6
2017-09-16 17:59:03 +00:00
anders_k
0bc1198413 Added Animation and TrackBar NSD controls
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6901 212acab6-be3b-0410-9dea-997c60f758d6
2017-09-16 14:01:44 +00:00
anders_k
98e614d955 Added more NSD ListBox macros (RFE #543)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6900 212acab6-be3b-0410-9dea-997c60f758d6
2017-09-15 17:50:10 +00:00
anders_k
c8370fd064 Added !pragma warning (patch #267)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6852 212acab6-be3b-0410-9dea-997c60f758d6
2017-04-25 13:09:41 +00:00
anders_k
7a958101d8 popstringn takes a character count, not a byte size as the max length!
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6732 212acab6-be3b-0410-9dea-997c60f758d6
2016-04-01 20:17:20 +00:00
anders_k
b81aac947b Use P<> and not <> when checking pointers
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6651 212acab6-be3b-0410-9dea-997c60f758d6
2015-12-02 21:07:21 +00:00
anders_k
721090a0f3 * Reduced verbosity of StrFunc.nsh
* Fixed a 64-bit issue in welcome.nsi


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6616 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-24 20:47:47 +00:00
anders_k
286edd20c4 * Basic System::Call support when compiling with 64-bit MinGW/GCC toolchain
* Win64 fixes


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6607 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-17 14:30:07 +00:00
anders_k
ab554ae939 Use the system link color on our custom link controls
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6589 212acab6-be3b-0410-9dea-997c60f758d6
2015-07-27 18:24:45 +00:00
anders_k
efbdf196f2 New MUI2 bitmap stretch modes: FitControl, NoStretchNoCrop[NoAlign] and AspectFitHeight. *_NOSTRETCH is now deprecated.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6524 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-16 21:54:13 +00:00
anders_k
2fb86bfa29 Added System::Call direct register memory access type
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6505 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-27 14:27:32 +00:00
anders_k
6bba242764 Fixed 5 GCC warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6502 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-22 18:50:54 +00:00
anders_k
ccc9e738e4 DistributeInclude for plugins even when not building ANSI plugins
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6440 212acab6-be3b-0410-9dea-997c60f758d6
2014-02-09 18:36:53 +00:00
anders_k
d799ee53d7 Basic Win64 support (MSVC)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6439 212acab6-be3b-0410-9dea-997c60f758d6
2014-02-08 00:13:52 +00:00
anders_k
e63fa6c53b Win64 fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6413 212acab6-be3b-0410-9dea-997c60f758d6
2013-09-06 23:48:59 +00:00
anders_k
45da52f51b Fix nsDialogs docs typo
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6378 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-05 21:28:36 +00:00
anders_k
e173cd33a4 Updated changelog and fixed minor documentation bugs (bug #3063566, bug #3567313)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6322 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-27 02:50:27 +00:00
anders_k
9334c3fe89 Fix duplicate defines/conflicts in Include/Win*.nsh, nsDialogs.nsh and System.nsh
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6294 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-10 23:28:31 +00:00
anders_k
ae879b7c0a Avoid NSD_Add[Ex]Style register parameter conflict
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6274 212acab6-be3b-0410-9dea-997c60f758d6
2012-11-09 22:35:55 +00:00
anders_k
1f949ccb94 Minor example scripts and WinVer.nsh fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6272 212acab6-be3b-0410-9dea-997c60f758d6
2012-10-16 09:43:36 +00:00
anders_k
7cc150c464 MakeNSIS can now generate Unicode or Ansi installers based on a script attribute. SCons generates both Ansi and Unicode stubs and plugins.
The official plugins are now stored in architecture specific subdirectories under NSIS\Plugins. !AddPluginDir also gained a new (optional) architecture flag because MakeNSIS now stores separate plugin information for each target architecture. Storing plugins in the root of the Plugins directory is no longer supported.

MinGW does not implement the unicode CRT startup functions so the entry point functions and linker parameters had to be changed. The unicode tools use the ansi entry point and a small helper function that calls into the real code: _tmain has full argc+argv emulation while wWinMain does not pass the command line parameters. The stubs do not use any CRT functions and have no CRT or unicode helper code, they call our entry point directly.



git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6269 212acab6-be3b-0410-9dea-997c60f758d6
2012-10-13 01:47:50 +00:00
anders_k
172e5cdb08 Fix bug #3567313, wrong MUI control id in nsD docs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6262 212acab6-be3b-0410-9dea-997c60f758d6
2012-09-14 12:11:30 +00:00
anders_k
70408e8ae4 Generate ansi and unicode plugins
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6219 212acab6-be3b-0410-9dea-997c60f758d6
2012-03-05 23:29:20 +00:00