Commit graph

5743 commits

Author SHA1 Message Date
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
anders_k
37233030e1 Don't use the evil _tcsnccpy/strncpy function.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6487 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-20 17:26:33 +00:00
anders_k
36deb84820 64bit fixes and optimizations
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6486 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-19 22:03:09 +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
f0rt
881fa61896 Patch #250: Fix of mingw-w64 warnings concering out of boundary array access
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6484 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-18 19:32:50 +00:00
anders_k
da5a85d147 Better UTF8_GetTrailCount handling of start bytes outside the RFC 3629 range
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6483 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-18 14:41:45 +00:00
anders_k
cdf941fe51 Kurdish is CP1254
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6482 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-16 20:52:17 +00:00
anders_k
3eaff17d36 ExecShell: Don't DetailPrint default/empty verb as a single space
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6481 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-13 19:33:07 +00:00
anders_k
dc64d4f0ca Use NStreamLineReader's MBCS handling when reading MBCS NLF files to avoid a problematic ACP > TCHAR > NLF CP > TCHAR conversion
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6480 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-13 19:14:31 +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
anders_k
c75a00bbe7 2014 and fixed some minor typos
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6478 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-13 15:51:45 +00:00
kichik
edcddfa71e 3.0b0
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6475 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-11 19:55:31 +00:00