Commit graph

995 commits

Author SHA1 Message Date
oripel
57ad3c18b3 merged from PIEPIEPIE branch:
- min/max macros removed
- Plugins refactored
- more functions in util.{h,cpp}


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4232 212acab6-be3b-0410-9dea-997c60f758d6
2005-08-27 19:56:00 +00:00
kichik
68dc7f9f7e Var can now be used in sections and functions, but only with the /GLOBAL flag
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4211 212acab6-be3b-0410-9dea-997c60f758d6
2005-08-06 16:04:17 +00:00
kichik
f5105a50b1 size optimization: added __stdcall wrapper for lstrcat
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4210 212acab6-be3b-0410-9dea-997c60f758d6
2005-08-06 12:47:46 +00:00
kichik
908c776f9c set initial working directory of the uninstaller to its temporary directory so RMDir will be able to delete $INSTDIR
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4209 212acab6-be3b-0410-9dea-997c60f758d6
2005-08-06 12:43:18 +00:00
kichik
d41f11b8d1 get rid of extra spaces in is_valid_instpath so "C:\ " will not be valid
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4203 212acab6-be3b-0410-9dea-997c60f758d6
2005-07-30 12:33:20 +00:00
kichik
62b1097ad2 when looking for branding image place holder, look for "Static" class too (windres...)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4191 212acab6-be3b-0410-9dea-997c60f758d6
2005-07-23 13:07:04 +00:00
kichik
0a19777905 use language name in missing LangString warning, if possible
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4182 212acab6-be3b-0410-9dea-997c60f758d6
2005-07-22 17:37:26 +00:00
kichik
3824ddf262 gcc doesn't like sending a temporary string object by reference
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4158 212acab6-be3b-0410-9dea-997c60f758d6
2005-07-02 16:49:31 +00:00
kichik
0deba887fc include util.h for Unicode conversion functions
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4157 212acab6-be3b-0410-9dea-997c60f758d6
2005-07-02 16:40:33 +00:00
kichik
0e7a2596af extracted some functions from main()
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4156 212acab6-be3b-0410-9dea-997c60f758d6
2005-07-02 13:15:28 +00:00
kichik
1caa4cf661 applied patch #1223041 - add a per-user config file
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4154 212acab6-be3b-0410-9dea-997c60f758d6
2005-07-02 12:53:37 +00:00
kichik
0d1e06dd2d use dir_reader for Plugins::FindCommands
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4153 212acab6-be3b-0410-9dea-997c60f758d6
2005-07-01 21:24:32 +00:00
kichik
2c00a558bf use dir_reader for !include
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4152 212acab6-be3b-0410-9dea-997c60f758d6
2005-07-01 21:08:48 +00:00
kichik
dbb7153d65 set error flag for invalid directories passed to myDelete (fixes bug #1227553)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4150 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-30 20:47:27 +00:00
kichik
59fcee4ca1 fix for patch #1214319 - Uninstaller fails due to DLLs in temp folder
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4139 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-25 16:22:27 +00:00
kichik
9f5e637d21 no using namespace in header file
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4137 212acab6-be3b-0410-9dea-997c60f758d6
2005-06-24 15:49:39 +00:00
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