Commit graph

5672 commits

Author SHA1 Message Date
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
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
kichik
cce36449b9 more accurate comment
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6473 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-11 19:49:19 +00:00
kichik
153b80a78e more accurate comment
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6472 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-11 19:47:51 +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
a03795783a Must pass count of TCHARs to _LogData2Hex so we don't overflow the buffer in unicode stubs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6468 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-08 20:12:26 +00:00
kichik
d2f4cf6c2a do not fail for ascii characters that can be easily replaced (like with Farsi and Pashto)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6467 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-05 02:27:48 +00:00
kichik
f97fc86fab i think this is a bug...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6466 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-05 02:21:49 +00:00
kichik
9f6236caac this example is far less impressive in ASCII mode
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6465 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-05 02:20:42 +00:00
kichik
e622bdbb91 bug #1091 - InstallOptions.nsh was removed and is no longer a valid example for MUI 2
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6464 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-04 23:54:32 +00:00
anders_k
d9fc032cd7 Make sure client rectangle is the correct width so we don't get a blank spot to the right of the header image because our wxWidgets border calculation is sometimes wrong.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6463 212acab6-be3b-0410-9dea-997c60f758d6
2014-04-30 20:45:27 +00:00
anders_k
5d4c8eb40f Stricter compiler parameter validation of SectionGet/Set* commands
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6462 212acab6-be3b-0410-9dea-997c60f758d6
2014-04-15 23:26:54 +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
45b87a7dc5 Store db_full_size[_u] statistics as UINT64
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6459 212acab6-be3b-0410-9dea-997c60f758d6
2014-04-05 16:50:11 +00:00
anders_k
4ac358dc35 Store datablock optimizer statistics as UINT64 in case the same large file is added many times
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6457 212acab6-be3b-0410-9dea-997c60f758d6
2014-03-31 17:34:58 +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
35c1a5bae7 Adding the same file twice can push cur_datablock over the 2GB limit because datablock_optimize() happens too late. Try to find a dupe early.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6455 212acab6-be3b-0410-9dea-997c60f758d6
2014-03-30 03:25:52 +00:00
anders_k
570f45019d Clarify the difference between the LANGFILE and LANGFILE_EXT macros.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6454 212acab6-be3b-0410-9dea-997c60f758d6
2014-03-28 17:10:02 +00:00
anders_k
da7d67e69d CreateShortCut > CreateShortcut
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6453 212acab6-be3b-0410-9dea-997c60f758d6
2014-03-28 16:21:39 +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