Commit graph

5708 commits

Author SHA1 Message Date
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
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
656ade8732 Don't store wide and narrow versions of the same error string
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6450 212acab6-be3b-0410-9dea-997c60f758d6
2014-03-09 23:23:19 +00:00
anders_k
dce2f551ac Print error when ExeHeadStringList::find is unable to convert to narrow string
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6449 212acab6-be3b-0410-9dea-997c60f758d6
2014-03-09 23:04:51 +00:00
anders_k
41f1f8b504 lstrcpy is overkill there
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6448 212acab6-be3b-0410-9dea-997c60f758d6
2014-03-06 17:26:49 +00:00
anders_k
9ba36b14f5 Make sure SYSSTRUCT pointer members are correctly aligned for x64
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6447 212acab6-be3b-0410-9dea-997c60f758d6
2014-03-06 17:23:54 +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
a7261be70c Fixed some warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6443 212acab6-be3b-0410-9dea-997c60f758d6
2014-02-11 01:34:11 +00:00
anders_k
07183c43a9 Prevent MSVC 14.00.40310 from generating a recursive call to memset
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6442 212acab6-be3b-0410-9dea-997c60f758d6
2014-02-09 23:12:52 +00:00
anders_k
2c0e7ad0bd Calculate ctlcolors64 offset correctly
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6441 212acab6-be3b-0410-9dea-997c60f758d6
2014-02-09 19:32:41 +00:00
anders_k
ccc9e738e4 DistributeInclude for plugins even when not building ANSI plugins
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6440 212acab6-be3b-0410-9dea-997c60f758d6
2014-02-09 18:36:53 +00:00
anders_k
d799ee53d7 Basic Win64 support (MSVC)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6439 212acab6-be3b-0410-9dea-997c60f758d6
2014-02-08 00:13:52 +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