anders_k
51a0cb7355
Use malloc and not GlobalAlloc in makensis (POSIX)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6208 212acab6-be3b-0410-9dea-997c60f758d6
2011-12-13 02:13:20 +00:00
anders_k
a97f08a281
Added some rarely used SW_ flags to ExecShell whitelist
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6207 212acab6-be3b-0410-9dea-997c60f758d6
2011-12-13 02:04:16 +00:00
anders_k
e57b4c5a67
UTF-8 support for SetFont and .nlf font name in ansi build
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6206 212acab6-be3b-0410-9dea-997c60f758d6
2011-12-07 08:18:41 +00:00
wizou
4d94e1ae8a
fix warnings on BIF_NEWDIALOGSTYLE
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6205 212acab6-be3b-0410-9dea-997c60f758d6
2011-12-06 23:48:25 +00:00
wizou
985f4b5e00
fix Unicode compilation
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6204 212acab6-be3b-0410-9dea-997c60f758d6
2011-12-06 21:28:59 +00:00
wizou
e31ccf2190
fix warnings on BIF_NEWDIALOGSTYLE
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6203 212acab6-be3b-0410-9dea-997c60f758d6
2011-12-06 21:25:50 +00:00
wizou
d5caa9b185
fix Unicode compilation
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6202 212acab6-be3b-0410-9dea-997c60f758d6
2011-12-06 21:24:56 +00:00
anders_k
dca62fbbc7
Added <<, >> and >>> !define /math operations
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6199 212acab6-be3b-0410-9dea-997c60f758d6
2011-12-06 21:04:47 +00:00
anders_k
67d0b165b1
Added !if S==, S!=, = and <> compare ops and hex/int/float parsing support
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6198 212acab6-be3b-0410-9dea-997c60f758d6
2011-12-06 19:14:45 +00:00
anders_k
ef8a83bd41
Basic UTF-8 support in ansi build so it can read UTF-8 .nlf files and LangStrings
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6196 212acab6-be3b-0410-9dea-997c60f758d6
2011-12-05 23:44:26 +00:00
anders_k
359ad0a055
Fix a couple of simple unicode merge and substart related bugs
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6195 212acab6-be3b-0410-9dea-997c60f758d6
2011-12-05 22:52:54 +00:00
anders_k
79dbea3321
Added !getdllversion [Bug#2809308,RFE#1873767]
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6186 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-21 20:13:30 +00:00
anders_k
de46637e02
Changed section index is stored in $0 during .onSelChange callbacks
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6184 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-20 22:03:21 +00:00
anders_k
9a3f4e0cb1
!verbose varargs support (Ex: !verbose push 3)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6183 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-20 18:51:35 +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
940a12b76c
Fixed two old token definition bugs:
...
!if only supports a single expression
!undef only takes one parameter
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6179 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-17 21:04:20 +00:00
anders_k
3d9c850bb5
Added !macroundef
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6177 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-17 18:54:49 +00:00
anders_k
650a51baac
Added UnsafeStrCpy
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6172 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-15 17:59:25 +00:00
anders_k
8cde6958a8
Added ${__MACRO__}
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6171 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-13 17:31:14 +00:00
anders_k
20dcb1923a
Added !if /FileExists
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6170 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-13 15:34:43 +00:00
anders_k
cf4e5cf132
Fix a lot of MinGW/GCC warnings
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6168 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-09 18:12:57 +00:00
anders_k
e918dd8a27
MakeNSIS console warn/err colors on Win32
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6167 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-09 10:30:11 +00:00
anders_k
ee59b7f723
MGA_SHGetKnownFolderPath is not used by anyone
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6166 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-09 08:51:28 +00:00
anders_k
6cd26f04e6
Replaced KNOWNFOLDER(LocalAppDataLow)\Temp with %Temp%\Low and now sets environment var
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6165 212acab6-be3b-0410-9dea-997c60f758d6
2011-11-09 08:43:43 +00:00
anders_k
1a6e32bce9
Fixed some old typos
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6163 212acab6-be3b-0410-9dea-997c60f758d6
2011-09-23 17:36:30 +00:00
anders_k
3cd6ebbf39
Added VIFileVersion instruction and fixed version info resource default language
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6160 212acab6-be3b-0410-9dea-997c60f758d6
2011-07-29 22:11:00 +00:00
anders_k
9540aa5d5c
Fix stupid C&P error
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6155 212acab6-be3b-0410-9dea-997c60f758d6
2011-06-15 22:57:32 +00:00
anders_k
fd1febb2f0
Fixes for MinGW (substart and system.dll still broken)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6154 212acab6-be3b-0410-9dea-997c60f758d6
2011-06-15 22:48:02 +00:00
anders_k
96af71d0d1
Allow multiple !finalize commands
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6153 212acab6-be3b-0410-9dea-997c60f758d6
2011-06-09 20:05:18 +00:00
anders_k
e46b9b0801
Reorganized defines
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6137 212acab6-be3b-0410-9dea-997c60f758d6
2011-03-01 17:31:02 +00:00
anders_k
23f598b49f
Win32 only
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6129 212acab6-be3b-0410-9dea-997c60f758d6
2010-11-15 15:40:13 +00:00
anders_k
b93d008d64
Switch param type to LPCTSTR
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6123 212acab6-be3b-0410-9dea-997c60f758d6
2010-09-24 18:43:04 +00:00
anders_k
22e730301c
Fix for bug #3072159 - UNexpected Changes to Directory Attributes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6122 212acab6-be3b-0410-9dea-997c60f758d6
2010-09-21 21:56:49 +00:00
anders_k
accab7bdbd
Try FOLDERID_LocalAppDataLow\Temp as last ValidateTempDir() attempt for Low IL aka Protected IE
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6121 212acab6-be3b-0410-9dea-997c60f758d6
2010-08-19 21:10:30 +00:00
wizou
73501896d4
Updated documentation and file functions for Unicode support
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6119 212acab6-be3b-0410-9dea-997c60f758d6
2010-07-09 15:12:21 +00:00
wizou
c8d850efba
minor change (added "const")
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6112 212acab6-be3b-0410-9dea-997c60f758d6
2010-07-06 21:47:29 +00:00
anders_k
633b3e6a95
fixed signed/unsigned warnings
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6111 212acab6-be3b-0410-9dea-997c60f758d6
2010-07-04 20:15:48 +00:00
wizou
403ff55f81
added MSVS_VERSION option to scons command-line to specify which compiler to use
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6110 212acab6-be3b-0410-9dea-997c60f758d6
2010-07-04 00:07:59 +00:00
wizou
9d452fc5d1
Improving compression performance (avoiding unnecessary file flush and better handling the 2GB limit)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6109 212acab6-be3b-0410-9dea-997c60f758d6
2010-06-17 15:56:42 +00:00
wizou
4d19aaa9ab
Adding new ${__FILEDIR__} preprocessor define containing directory of current script
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6108 212acab6-be3b-0410-9dea-997c60f758d6
2010-06-17 10:11:29 +00:00
wizou
ab8f90f99e
#1787648 : ${__SECTION__} is correctly defined in hidden section
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6107 212acab6-be3b-0410-9dea-997c60f758d6
2010-06-16 16:01:40 +00:00
wizou
1421a3e315
Default OutFile determined by NSI script filename
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6106 212acab6-be3b-0410-9dea-997c60f758d6
2010-06-16 15:07:05 +00:00
wizou
c59db4bb1e
CR/LF fix
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6105 212acab6-be3b-0410-9dea-997c60f758d6
2010-06-16 14:20:27 +00:00
wizou
51a7c3d647
#1977885 : adding !finalize preprocessor commands for post-build execution
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6103 212acab6-be3b-0410-9dea-997c60f758d6
2010-06-16 14:10:41 +00:00
wizou
487e37ffb7
Changed keyword UnicodeInstaller to a more versatile TargetMinimalOS <version> keyword
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6102 212acab6-be3b-0410-9dea-997c60f758d6
2010-06-14 15:24:50 +00:00
wizou
52408912ab
Fix a problem with ANSI/Unicode different opcode numbers
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6101 212acab6-be3b-0410-9dea-997c60f758d6
2010-06-14 14:28:03 +00:00
wizou
57f7ff8a1c
Unicode port: Unicode version of NSIS can now generate both ANSI & Unicode installers (using new instruction UnicodeInstaller on/off).
...
Stubs & Plugins differentiation is done automatically using a 'W' suffix.
SConscripts need to be reviewed to generate both variants of Plugins & pluginapi.lib under Unicode compilation.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6100 212acab6-be3b-0410-9dea-997c60f758d6
2010-06-14 10:07:22 +00:00
anders_k
fbc7cb8fd0
Fixed and documented !if & operator
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6099 212acab6-be3b-0410-9dea-997c60f758d6
2010-06-11 16:33:10 +00:00
anders_k
d526c78d05
Added !define /ifndef and !define /redef optional arguments
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6097 212acab6-be3b-0410-9dea-997c60f758d6
2010-06-10 20:42:50 +00:00
wizou
74ffaada4e
Merging various fixes from latest Jim Park repository
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6096 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-28 14:09:08 +00:00