Commit graph

979 commits

Author SHA1 Message Date
kichik
49739cf0af no need for #include "util.h"
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4136 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-24 15:44:41 +00:00
kichik
bfc2b56cbf limit MultiByteToWideChar to the real size available, not the total
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4135 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-24 13:12:03 +00:00
kichik
4c7c2d74c7 renamed target to test-code and made conf test alias the target to an error
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4133 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-24 10:51:45 +00:00
kichik
62c3903d7f look for _?= in the entire command line in case realcmds skipped the first and only space
as a question mark is an invalid character in file names, this method shouldn't have false positives


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4132 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-23 22:34:35 +00:00
kichik
6b78f9c390 replaced by scons
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4128 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-23 11:37:39 +00:00
kichik
a515a31e32 added 'test' target
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4125 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-22 21:37:51 +00:00
kichik
0e2f12e173 caption is not needed for license dialogs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4123 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-22 15:47:30 +00:00
kichik
3eb2576adb MSDN says RegQueryValueEx might not always return null terminated strings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4115 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-21 20:52:10 +00:00
kichik
7bd448c4ff only pass -DNSIS_VERSION to files that actually use it
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4067 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-17 14:03:22 +00:00
kichik
2bf93b99dc bail on output name that starts with a quote
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4063 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-03 18:45:51 +00:00
kichik
d7592d0f84 replaced by scons
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4047 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-21 16:21:32 +00:00
kichik
4d98d19140 stringify the define itself, not its name
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4030 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-19 16:35:38 +00:00
kichik
d1c225ba8f reset $INSTDIR if user clicked cancel in the browse dialog
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4029 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-17 19:52:44 +00:00
kichik
f85a88852c made NSIS_VERSION a define set by the scons script
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4024 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-12 16:27:35 +00:00
kichik
0b5ea752a9 use DEFAULT_CHARSET for dialog fonts by default
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4023 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-11 17:20:32 +00:00
kichik
f79be84c4a fixed string skip in ReadVarLenArr
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4022 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-11 16:50:49 +00:00
kichik
8bc1169798 free return value of CDialogTemplate::Save() using delete[]
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4021 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-11 16:20:18 +00:00
kichik
196f57884c Call :label is valid in uninstall sections too
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4018 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-10 19:15:22 +00:00
kichik
7e8e0b95dd implemented RFE #1172123 - $LOCALAPPDATA
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4015 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-07 05:33:55 +00:00
kichik
add9fa0bee SCons/Config/gnu now takes care of adding memcpy if it's needed
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4008 212acab6-be3b-0410-9dea-997c60f758d6
2005-05-05 20:25:46 +00:00
kichik
245bc39dc2 fixed SetCompressor handling
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3993 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-23 20:18:54 +00:00
kichik
76d64a2992 fixed compile error without NSIS_CONFIG_COMPONENTPAGE
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3971 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-19 18:10:45 +00:00
kichik
b604cdfe3f new build system using SCons
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3969 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-16 18:48:50 +00:00
kichik
9fdd4fbfc0 fixed bug #1073792 - RMDir /REBOOTOK sets reboot flag when folder doesn't exist
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3958 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-08 17:41:22 +00:00
kichik
29f0e71be0 fixed bug #1123353 - WindowIcon off crashes makensis
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3957 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-08 16:57:08 +00:00
kichik
47090922dc fixed bug #1119442 - CreateDirectory sets error flag with paths containing "\\"
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3956 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-08 15:29:52 +00:00
kichik
0856e2a3c4 applied patch #1179116 - debian amd64/gcc-4.0 build fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3955 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-08 14:45:14 +00:00
kichik
4fa0dc6087 fixed bug #1168711 - when leaving the directory page, only set log_dolog if the check box was created
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3954 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-08 14:36:19 +00:00
kichik
106939c165 made ExpandEnvStrings set the error flag as the documentation says it should
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3953 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-08 14:27:55 +00:00
kichik
7c0a2a1851 fixed bug #1178756 - EnumRegValue now sets the error flag if the enumeration index is out of range
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3951 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-08 14:04:05 +00:00
kichik
7b5819c99c no longer needed
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3948 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-02 12:32:46 +00:00
kichik
9613c8988f - stubs are no longer included in makensis but read from the Stubs directory
- new /SOLID switch for SetCompressor allows setting solid compression without recompiling makensis


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3945 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-02 12:04:07 +00:00
kichik
c345108cc0 added NSISCALL to functions used in the stub (EXEHEAD)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3944 212acab6-be3b-0410-9dea-997c60f758d6
2005-04-02 11:23:12 +00:00
kichik
f9016b2bb5 fixed two problematic string length measurements
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3933 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-19 17:07:48 +00:00
kichik
9053776109 use correct freeing method
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3932 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-19 17:06:45 +00:00
kichik
f53f97b4ca added missing MB_RTLREADING
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3929 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-19 14:18:04 +00:00
kichik
dd3d4f237a 2.05 -> 2.06
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3928 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-19 13:53:41 +00:00
kichik
326556f0e3 fixed bug #1155060 - Install type drop down box not showing default InstType
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3925 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-19 11:56:23 +00:00
kichik
38b94f19a5 implemented feature request #1159701 - "RTLREADING" flag support in the "MessageBox"
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3922 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-17 20:44:31 +00:00
kichik
14836bb4a6 implemented feature request #1159701 - "RTLREADING" flag support in the "MessageBox"
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3921 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-15 17:48:22 +00:00
kichik
2b53221b64 fixed bug #1159700 - SetFont doesn't work well with RTL on Windows 9x
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3919 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-10 18:53:34 +00:00
kichik
0c691fe4f8 fixed compile error without NSIS_CONFIG_CRC_SUPPORT
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3918 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-05 16:56:41 +00:00
kichik
ac0e85db40 fixed bug #1144763 - more than 3 files in uninstall, cannot compile
data was added to udata after setro(TRUE) was used


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3917 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-05 12:07:13 +00:00
kichik
b4b3f0b1eb fixed bug #1155836 - Incorrect section group state
section flags weren't read again after a recursive call for _RefreshSectionGroups returned


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3914 212acab6-be3b-0410-9dea-997c60f758d6
2005-03-03 20:15:58 +00:00
kichik
b9ecd8f65c size optimizations
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3912 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-25 15:28:37 +00:00
kichik
4bb5e9b310 available variable in DirProc's WM_IN_UPDATEMSG handler wasn't properly initialized
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3911 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-25 14:19:00 +00:00
kichik
189afff7c3 applied patch #1123154 - nsis 2.05 makefile missing components.c
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3910 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-25 13:29:49 +00:00
kichik
a7e4a69bb4 fixed plug-ins directory initialization for extremely restricted guest users with no directory listing access to the temporary directory
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3909 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-18 13:39:42 +00:00
kichik
d192713026 implemented feature request #1124901 - Registry functions and ShellVarContext
all registry instructions now accept SHCTX which is replaced with HKLM or HKCU on runtime according to SetShellVarContext


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3907 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-17 21:20:05 +00:00
kichik
48f6cfb392 added FORCE_INLINE to RefreshComponents
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3901 212acab6-be3b-0410-9dea-997c60f758d6
2005-02-04 20:49:00 +00:00