Commit graph

215 commits

Author SHA1 Message Date
anders_k
7ae2e8f84f * Added IsWow64 to x64.nsh and fixed RunningX64 for 64-bit installers.
* NSIS_AMD64 and NSIS_IX86 defines added for CPU target detection



git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6538 212acab6-be3b-0410-9dea-997c60f758d6
2014-08-15 20:25:18 +00:00
anders_k
3c2a937cab Added PEDllCharacteristics attribute and changed default DllCharacteristics to TS_AWARE+NO_SEH+NX_COMPAT+DYNAMIC_BASE
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6537 212acab6-be3b-0410-9dea-997c60f758d6
2014-08-15 19:15:06 +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
89a2cbb770 Added /WX compiler switch (treat warnings as errors)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6520 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-11 21:57:00 +00:00
anders_k
83cc78d77b Fixed !macroundef off by one error
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6512 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-05 00:04:06 +00:00
anders_k
0a8c72c950 !insertmacro allows macro recursion (RFE #497)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6511 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-04 23:27:04 +00:00
anders_k
45e4a6251b InitiateShutdown is used to reboot the machine if available (patch #247)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6506 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-27 16:30:16 +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
bf2f0fad80 Added !makensis command
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6498 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-21 23:55:24 +00:00
anders_k
0bffaecea3 Added preprocess only mode (/[SAFE]PPO switch)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6495 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-19 19:06:49 +00:00
anders_k
c4bc732396 The documented max value for ${U+UnicodeCodepoint} should be U+10FFFF to match the limits of UTF-16
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6492 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-15 14:12:31 +00:00
anders_k
8ed10146ef MakeNSIS WM_COPYDATA notify messages now use the QH_OUTPUTCHARSET encoding if specified by the host. CP_ACP is the default for compatibility with old IDEs.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6490 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-11 22:01:38 +00:00
anders_k
0bcb8f40ed Fixed POSIX !searchparse bug (patch #251) and hopefully better compatibility with 2.46
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6485 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-19 19:23:06 +00:00
anders_k
e34b330896 Added Armenian translation
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6479 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-13 16:42:13 +00:00
kichik
35a0cc9001 add note about posix builds
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6474 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-11 19:53:12 +00:00
anders_k
38966457e7 Changed preprocessor binary literal prefix to 0b, 0y is still supported for now
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6470 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-10 20:36:06 +00:00
anders_k
8193e73b31 Added MASM style 0n and 0y radix prefix support for preprocessor numbers
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6469 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-09 18:21:21 +00:00
anders_k
8d7dd2cf9f !system and !execute can store the exit code in a define
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6461 212acab6-be3b-0410-9dea-997c60f758d6
2014-04-13 17:49:39 +00:00
anders_k
3337a6d606 !execute supports comparing the exit code with the same syntax as !system
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6460 212acab6-be3b-0410-9dea-997c60f758d6
2014-04-13 14:45:02 +00:00
anders_k
ed4f2ab384 !system decodes child output as OEMCP if GetConsoleOutputCP() == GetOEMCP(), this should help bug #1092 (or fix it completely?)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6456 212acab6-be3b-0410-9dea-997c60f758d6
2014-03-30 22:43:49 +00:00
anders_k
1e17d02ff7 Added CreateShortcut /NoWorkingDir optional parameter
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6452 212acab6-be3b-0410-9dea-997c60f758d6
2014-03-28 16:17:07 +00:00
anders_k
a864703ce9 Fix bug #1088 and try even harder by using substring if possible
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6451 212acab6-be3b-0410-9dea-997c60f758d6
2014-03-10 00:06:42 +00:00
anders_k
ce0d6a7a94 Don't list /amd64-unicode in !addplugindir help (makensis win32)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6446 212acab6-be3b-0410-9dea-997c60f758d6
2014-03-04 19:26:56 +00:00
anders_k
ac873f36cb Added P<, P<=, P=, P<>, P>= and P> LogicLib ptrdiff_t tests
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6445 212acab6-be3b-0410-9dea-997c60f758d6
2014-03-04 19:00:09 +00:00
anders_k
a7076ff238 Basic AMD64 System::Call support
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6444 212acab6-be3b-0410-9dea-997c60f758d6
2014-03-03 18:10:53 +00:00
anders_k
204f371097 Added Int32/64/Ptr helper macros to Util.nsh
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6438 212acab6-be3b-0410-9dea-997c60f758d6
2014-02-03 20:19:35 +00:00
kichik
3fa78720f0 get ready for release
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6422 212acab6-be3b-0410-9dea-997c60f758d6
2013-12-25 04:53:58 +00:00
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
c16bc083b5 Fixed incorrect page count in compiler statistics
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6417 212acab6-be3b-0410-9dea-997c60f758d6
2013-12-08 15:41:47 +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
e23b3db418 Windows 8.1 & 2012R2 support in WinVer.nsh
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6412 212acab6-be3b-0410-9dea-997c60f758d6
2013-09-02 21:19:45 +00:00
anders_k
5744372364 Fix bug #1080, Unicode stubs must use RichEdit20W, otherwise EM_GETTEXTRANGE gives us ANSI strings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6410 212acab6-be3b-0410-9dea-997c60f758d6
2013-08-15 23:14:12 +00:00
anders_k
51e2b07f05 Fixed bug #1079, broken !define Unicode null terminator
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6409 212acab6-be3b-0410-9dea-997c60f758d6
2013-08-15 21:22:17 +00:00
anders_k
6c283bde91 !include defaults to UTF-8 after Unicode True
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6407 212acab6-be3b-0410-9dea-997c60f758d6
2013-08-08 00:26:59 +00:00
anders_k
4d46324599 Fixed MakeNSISW default pushbutton and tab order
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6403 212acab6-be3b-0410-9dea-997c60f758d6
2013-08-07 19:26:03 +00:00
anders_k
d387a32658 FileRead in Unicode installers can handle DBCS, conversion output is limited to UCS-2
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6399 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-27 23:09:54 +00:00
anders_k
a5f0809ee9 FileReadByte should not do any kind of conversion
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6394 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-25 18:27:02 +00:00
kichik
7943b52966 update changelog for release
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6386 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-14 19:46:33 +00:00
anders_k
5ae11b00fa Zip2Exe: Unicode checkbox and minor fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6383 212acab6-be3b-0410-9dea-997c60f758d6
2013-07-10 19:09:39 +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
e6f549adee Add !finalize %1 fix to changelog and shut up MinGW
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6376 212acab6-be3b-0410-9dea-997c60f758d6
2013-06-08 19:10:42 +00:00
anders_k
47e481a3bf Default verbosity is /V3 without logo, MakeNSISW still uses /V4
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6375 212acab6-be3b-0410-9dea-997c60f758d6
2013-06-08 18:48:38 +00:00
anders_k
41c993aa0b Update changelog
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6371 212acab6-be3b-0410-9dea-997c60f758d6
2013-05-28 20:13:16 +00:00
kichik
897dc32f66 updated history for 3.0a0 release
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6355 212acab6-be3b-0410-9dea-997c60f758d6
2013-05-19 22:45:59 +00:00
anders_k
eaa6991b91 UTF16BE support in NStreamLineReader
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6344 212acab6-be3b-0410-9dea-997c60f758d6
2013-04-11 15:28:45 +00:00
anders_k
936244da8d Added Scottish Gaelic translation
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6328 212acab6-be3b-0410-9dea-997c60f758d6
2013-04-09 18:44:08 +00:00
anders_k
1b994f4ba4 Minor changelog additions
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6327 212acab6-be3b-0410-9dea-997c60f758d6
2013-04-03 23:01:37 +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
fe8e4a36bf Added ${__COUNTER__} predefine
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6325 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-29 02:39:07 +00:00
anders_k
9fa3398dd9 Support special ${U+1}...${U+FFFFFFFF} Unicode character defines
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6324 212acab6-be3b-0410-9dea-997c60f758d6
2013-03-29 02:04:21 +00:00