anders_k
527cf2d7a4
Fix bug#1086, don't parse non-branch instructions inside a !if 0 block
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6418 212acab6-be3b-0410-9dea-997c60f758d6
2013-12-08 16:24:06 +00:00
anders_k
be6c7e6a1d
Major POSIX overhaul
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6416 212acab6-be3b-0410-9dea-997c60f758d6
2013-12-08 14:34:38 +00:00
anders_k
5e1edb3d75
Added Windows 8.1 Preview GUID alias to ManifestSupportedOS
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6380 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-07 23:27:11 +00:00
anders_k
bd591bf196
200? -> 2013
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6352 212acab6-be3b-0410-9dea-997c60f758d6
2013-05-17 19:31:36 +00:00
anders_k
9b35c900cb
Added !appendfile /CHARSET parameter, output is written using the new NOStream class
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6326 212acab6-be3b-0410-9dea-997c60f758d6
2013-04-03 22:46:17 +00:00
anders_k
9b287fc648
Added /plugin parameter to ReserveFile for our multi-arc. plugin subdirectories.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6290 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-07 23:38:25 +00:00
anders_k
dcddf977b2
Use a custom file reader with UTF8 support for nsi/nsh/nlf files and store UTF16LE or MBCS (stringblock) strings in ExeHeadStringList
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6289 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-07 21:25:35 +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
4b62ecbb31
Added ManifestDPIAware attribute
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6266 212acab6-be3b-0410-9dea-997c60f758d6
2012-09-20 18:42:21 +00:00
anders_k
da2fe44184
Add ManifestSupportedOS attribute
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6265 212acab6-be3b-0410-9dea-997c60f758d6
2012-09-20 10:18:40 +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
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
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
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
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
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
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
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
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
24c02b97d0
Unicode port: adding UTF-16LE file functions
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6089 212acab6-be3b-0410-9dea-997c60f758d6
2010-05-17 15:11:29 +00:00
wizou
acf9a8c21f
Jim Park's Unicode NSIS merging - Step 4 : merging more TCHAR stuff that shouldn't have any impact
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6041 212acab6-be3b-0410-9dea-997c60f758d6
2010-03-29 14:24:47 +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
46b88d766d
implemented RFE #1505425 - !delfile wildcards and /nonfatal
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5979 212acab6-be3b-0410-9dea-997c60f758d6
2009-06-06 18:31:56 +00:00
kichik
8ea01b6976
less warnings from gcc
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5956 212acab6-be3b-0410-9dea-997c60f758d6
2009-03-28 09:52:10 +00:00
kichik
0aed504f4a
happy new year!
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5917 212acab6-be3b-0410-9dea-997c60f758d6
2009-02-01 14:44:30 +00:00
kichik
5ac5b3f95b
deprecate SetPluginUnload and /NOUNLOAD
...
plug-ins are now responsible to keeping themselves loaded using the new api
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5855 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-20 08:17:15 +00:00
justin1014
4ed3f49268
Added !searchreplace preprocessor command for compiletime text search/replaces
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5852 212acab6-be3b-0410-9dea-997c60f758d6
2008-12-20 07:22:25 +00:00
justin1014
8794e84cf1
!searchparse and !define /file support
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5682 212acab6-be3b-0410-9dea-997c60f758d6
2008-07-13 00:37:11 +00:00
kichik
2675599a31
happy new year!
...
bug #1855805
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5429 212acab6-be3b-0410-9dea-997c60f758d6
2007-12-22 09:41:57 +00:00
kichik
754fe7bc49
added SetRegView lastused
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5269 212acab6-be3b-0410-9dea-997c60f758d6
2007-09-08 17:27:28 +00:00
kichik
20f2d537f9
fixed bug #1709460 - Command line help for MessageBox is incomplete
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5138 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-29 21:02:13 +00:00
kichik
357c44ac38
added SetRegView to allows access to the x64 registry view
...
this method was chosen over a new switch for all regsitry commands to allow easy transition of existing scripts
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5070 212acab6-be3b-0410-9dea-997c60f758d6
2007-04-14 12:50:32 +00:00
kichik
f6849b6bec
it's /o not /0
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4989 212acab6-be3b-0410-9dea-997c60f758d6
2007-03-10 14:16:30 +00:00
kichik
695fddbc32
implemented RFE #1669513 - bitwise operators for !define /math
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4959 212acab6-be3b-0410-9dea-997c60f758d6
2007-02-27 21:04:12 +00:00
kichik
910ed492ab
ignored invalid preprocessor commands in ignored blocks
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4909 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-27 15:54:28 +00:00
kichik
bff435f106
applied patch #1644712 - new compiler predefines
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4906 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-27 15:32:04 +00:00
kichik
c145d69e55
2006 -> 2007
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4847 212acab6-be3b-0410-9dea-997c60f758d6
2007-01-13 17:28:23 +00:00
kichik
79a3b31431
added highest
option for RequestExecutionLevel
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4812 212acab6-be3b-0410-9dea-997c60f758d6
2006-11-10 14:54:23 +00:00
joostverburg
e497d771b1
* The LZMA compression module for NSIS is now licensed under the Common Public License version 1.0
...
* Added license and copyright notice to every source file
* The new COPYING file and license section in the Users Manual list the terms of all relevant licenses
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4787 212acab6-be3b-0410-9dea-997c60f758d6
2006-10-28 19:45:02 +00:00
kichik
f6e706f2b0
added RequestExecutionLevel
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4753 212acab6-be3b-0410-9dea-997c60f758d6
2006-09-16 14:06:45 +00:00
kichik
12df15a9e5
implemented RFE #1459210 - !define /date should use UTC
...
added /utcdate flag
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4622 212acab6-be3b-0410-9dea-997c60f758d6
2006-03-28 18:20:28 +00:00
kichik
2b3aa18846
applied patch #1372561 - !define /math compile time enhancement
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4528 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 15:52:40 +00:00
kichik
b1dc917843
applied patch #1412982 - "!if" - enhanced compile time flow control
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@4526 212acab6-be3b-0410-9dea-997c60f758d6
2006-02-24 15:06:30 +00:00