Commit graph

5704 commits

Author SHA1 Message Date
anders_k
5ae69eb9cc zip2exe: The fix for bug #1085 causes a MSVC redefinition warning when <tchar.h> is included.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6540 212acab6-be3b-0410-9dea-997c60f758d6
2014-08-18 20:20:55 +00:00
anders_k
ec5f767d74 Build final include file path with the same path passed to dir_reader when enumerating include_dirs list.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6539 212acab6-be3b-0410-9dea-997c60f758d6
2014-08-18 14:44:22 +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
0f264e9f5a Warn if !packhdr system() call returns non-zero
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6536 212acab6-be3b-0410-9dea-997c60f758d6
2014-08-07 12:31:51 +00:00
anders_k
fd6400d44d * ChangeUI should warn when it cannot find a dialog.
* CDialogTemplate::Save needs to free the template with the correct function.


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6535 212acab6-be3b-0410-9dea-997c60f758d6
2014-08-05 13:53:20 +00:00
anders_k
b7630502dc Print gcc & g++ version when using the gnu config
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6532 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-19 21:24:28 +00:00
anders_k
913d5a62b2 Remove pluginapi.c's dependency on nsis_tchar.h
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6531 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-19 20:56:12 +00:00
anders_k
9950ce1432 Fixed MinGW (GCC 4.5.2)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6530 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-19 19:21:43 +00:00
kichik
5bfd937bd2 another fix for mingw build
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6529 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-19 05:22:47 +00:00
kichik
bd07bbcb9e and move the files too for mingw system build
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6528 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-19 05:08:26 +00:00
kichik
c92f94c8b0 fix mingw build of system plug-in (thanks Anders)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6527 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-19 05:06:25 +00:00
anders_k
ad03365921 Don't allow !addincludedir with trailing path separator to propagate to !include
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6526 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-18 16:37:08 +00:00
anders_k
d66c9a492f Better handling of incomplete WCHAR reads from stdout
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6525 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-17 09:21:07 +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
481d383c76 Fixed MakeNSISW stdout log reader when the buffer is almost full
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6523 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-16 20:22:44 +00:00
anders_k
f0e367d00d Fixed !unmacrodef...again
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6522 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-16 18:10:28 +00:00
anders_k
a560e2411c !makensis on POSIX does not support -OUTPUTCHARSET
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6521 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-12 11:08:37 +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
9ed46ac829 Removed some profanity from the docs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6519 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-11 21:11:11 +00:00
anders_k
e7b3911e53 If <cwchar> is included by libc++ then clang has problems picking the correct overloaded function (bug #1085)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6518 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-08 18:35:54 +00:00
kichik
d709110ae2 compile all languages
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6517 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-07 00:46:30 +00:00
kichik
8508ca9953 Czech updates by Va?ek Pavl??ek to use Microsoft terminology
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6516 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-07 00:45:47 +00:00
anders_k
edd80964a7 Tabs to spaces and minor cleanup
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6514 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-05 11:55:28 +00:00
anders_k
41fd62105e Merged patch #252: Build failure on Mac OS X - conversion error in Source/util.cpp
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6513 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-05 00:11:17 +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
7ee1a114a9 Minor typo and indentation fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6510 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-02 20:03:18 +00:00
anders_k
47eadad506 System.dll 64bit fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6509 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-01 22:09:38 +00:00
anders_k
91756476d6 Don't use HKCR when uninstalling file associations because it will delete keys under both HKCU and HKLM, we only want to delete the keys we created!
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6508 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-29 19:01:14 +00:00
anders_k
4da72aaf77 Make GCC happy and make sure Call.sx is not preprocessed by MS toolchain
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6507 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-28 19:54:51 +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
d43e3a717c mstoolkit toolchain should use the VC toolkit linker by default. link.exe can even stand in for lib.exe if required
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6504 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-23 19:15:59 +00:00
anders_k
59e19c8c94 Fixed STD_MIN/MAX again for VCToolkit2003: SDK2003R2/CL14.00.40310.41 defines _MAX as _cpp_max and _cpp_max is a template under std. VCToolkit2003/CL13.10.3052 has a template _MAX under std but also does "#define _MAX (max)" so we cannot use "std::_MAX" and have to rely on the "(std::max)" trick.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6503 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-23 01:28:32 +00:00
anders_k
6bba242764 Fixed 5 GCC warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6502 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-22 18:50:54 +00:00
anders_k
0c0d2d3f2f Don't use _itot, only VC supports _itow?
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6501 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-22 12:07:35 +00:00
kichik
15fb0bd987 fix error: #pragma GCC diagnostic not allowed inside functions
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6500 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-22 02:27:18 +00:00
anders_k
45e80b52d5 SafePPO should consider !makensis as unsafe (for now)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6499 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-22 00:22:02 +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
a81d5dfb49 scons DEBUG=true adds DEBUG to CPPDEFINES
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6497 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-20 18:36:05 +00:00
anders_k
5837f4397b Updated supported OS list in "Main Features"
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6496 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-19 22:08: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
d91176ba49 Refactored verbosity handling with new setter&getter
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6494 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-15 19:12:12 +00:00
anders_k
401dbe8aed Minor indentation fixes and cleanup in script.cpp
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6493 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-15 19:00:55 +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
5574a0e7a2 Removed bogus comment about possible string prefix bug
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6491 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-15 13:58:04 +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
9c1d673c25 system_popstring can reuse the HGLOBAL, no need to allocate string storage
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6489 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-20 20:13:54 +00:00
anders_k
f19f561f40 TOK_CREATEDIR tries to reject relative paths because EW_CREATEDIR silently fails if faced with one
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6488 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-20 19:30:36 +00:00