Commit graph

117 commits

Author SHA1 Message Date
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
anders_k
0617c9d3e7 Changed SetWindowLong to SetWindowLongPtr and removed WNDPROC related casts
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6180 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-19 15:41:45 +00:00
anders_k
b84d41e582 nsDialogs: Bugfix for __NSD_LoadAndSetImage $R0 as parameter conflict
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6164 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-08 23:18:12 +00:00
f0rt
1730185509 Use relative paths in .nsi script examples (#3293899)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6150 212acab6-be3b-0410-9dea-997c60f758d6
2011-05-02 19:14:03 +00:00
anders_k
82d42b1159 _countof and swprintf fixes for VC6
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6045 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-30 17:50:08 +00:00
f0rt
8ab72b9ece #1753070: Enable that makensis and its related utilities can be built natively for 64-bit systems
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6040 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-27 19:20:16 +00:00
wizou
cdf7735a77 Jim Park's Unicode NSIS merging - Step 2 : merge TCHARs changes into trunk
Compiler output is identical before & after this step

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6037 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-26 17:18:17 +00:00
wizou
752d7d239a Jim Park's Unicode NSIS merging - Step 1 : switch to TCHARs where relevant.
Compiler output is identical before & after this step

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/branches/wizou@6036 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-24 17:22:56 +00:00
kichik
f373af3f40 fixed bug #2932991 - define DEBUG conflict
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6035 212acab6-be3b-0410-9dea-997c60f758d6
2010-02-20 16:35:23 +00:00
kichik
859bc9a82d fixed bug #2925015 - nsDialogs.nsh uses LB_DELETESTRING message in the wrong way
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6017 212acab6-be3b-0410-9dea-997c60f758d6
2010-01-04 11:24:20 +00:00
kichik
0250967512 fixed bug #2595565 - nsDialogs::CreateTimer documentation
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5938 212acab6-be3b-0410-9dea-997c60f758d6
2009-02-21 18:30:05 +00:00
pabs3
eff14a4702 Install the pluginapi stuff in a subdirectory.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5922 212acab6-be3b-0410-9dea-997c60f758d6
2009-02-04 14:08:31 +00:00