Commit graph

237 commits

Author SHA1 Message Date
anders_k
caf00a1195 myGetProcAddress now uses a full path to the system directory when calling LoadLibrary to avoid application directory dll hijacking of SHFolder.dll
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6634 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-06 02:42:35 +00:00
anders_k
d7ac356d0e * Added support for 0o octal radix prefix on number literals in the preprocessor
* The single parameter version of !if now also supports floats
* Preprocessor now warns when invalid floating point numbers are used in math operations


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6633 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-05 21:05:23 +00:00
anders_k
b54c831ff0 FileReadUTF16LE skips optional BOM and FileWriteUTF16LE can write a BOM with the /BOM switch
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6626 212acab6-be3b-0410-9dea-997c60f758d6
2015-10-26 23:29:39 +00:00
anders_k
37c81f74f8 Fixed System plugin GUID type output bug on Win98
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6625 212acab6-be3b-0410-9dea-997c60f758d6
2015-10-16 20:50:06 +00:00
anders_k
dbe6f23472 Fixed some typos
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6623 212acab6-be3b-0410-9dea-997c60f758d6
2015-10-10 19:32:16 +00:00
anders_k
3caac93fd0 Brazilian Portuguese updated (Felipe) patch#263
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6622 212acab6-be3b-0410-9dea-997c60f758d6
2015-10-10 18:20:58 +00:00
anders_k
85851b0dad Updated Polish translation
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6614 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-19 14:27:36 +00:00
anders_k
873e860f57 MakeNSISW now uses WinInet when checking for updates
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6604 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-07 21:31:50 +00:00
anders_k
5c6dfdca9a !system/!execute: XCopy.exe/ChCp.com (and other tools using ulib.dll?) does not work without a valid StdIn so we provide a empty pipe
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6601 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-03 11:06:18 +00:00
anders_k
10448ec632 RequestExecutionLevel now defaults to admin
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6599 212acab6-be3b-0410-9dea-997c60f758d6
2015-08-07 00:13:36 +00:00
kichik
edbd508a9e update history.but for 3.0b2
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6595 212acab6-be3b-0410-9dea-997c60f758d6
2015-08-05 00:30:44 +00:00
anders_k
20866470fa Added PESubsysVer attribute
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6592 212acab6-be3b-0410-9dea-997c60f758d6
2015-07-27 20:41:17 +00:00
anders_k
ab554ae939 Use the system link color on our custom link controls
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6589 212acab6-be3b-0410-9dea-997c60f758d6
2015-07-27 18:24:45 +00:00
anders_k
c89cac5262 Fixed minor issues and typos
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6584 212acab6-be3b-0410-9dea-997c60f758d6
2015-05-14 20:17:14 +00:00
anders_k
4ddcef2453 Fixed 4+ TiB freespace calculation bug (bugs #1115 & #896)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6582 212acab6-be3b-0410-9dea-997c60f758d6
2015-05-14 18:41:06 +00:00
anders_k
1343d4d1e1 Fixed CreateShortcut /NoWorkingDir token parsing bug
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6581 212acab6-be3b-0410-9dea-997c60f758d6
2015-02-26 18:44:15 +00:00
anders_k
d6d4da1bae Added !appendfile /RawNL switch
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6580 212acab6-be3b-0410-9dea-997c60f758d6
2015-02-26 18:19:37 +00:00
anders_k
cd4363aca8 Exec[Wait] now sets the CREATE_DEFAULT_ERROR_MODE flag when creating a new process
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6579 212acab6-be3b-0410-9dea-997c60f758d6
2015-02-18 18:52:41 +00:00
anders_k
4cdb1cf7d1 * mynsiscallback must return nil and not 0 to avoid warning in some versions of Delphi.
* NSISDialog only uses g_hwndParent if it is valid.


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6576 212acab6-be3b-0410-9dea-997c60f758d6
2015-02-06 21:22:31 +00:00
anders_k
46ac05004d Preliminary ManifestSupportedOS and WinVer.nsh Win10 support
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6558 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-21 23:13:26 +00:00
kichik
9616c63239 updated history for 3.0b1
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6550 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-05 23:56:42 +00:00
kichik
758fcd8ce6 fixed vs2012 builds
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6542 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-05 20:55:20 +00:00
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