anders_k
08ebc678e5
LockWindow Off should always enable painting
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6789 212acab6-be3b-0410-9dea-997c60f758d6
2016-10-11 19:47:21 +00:00
anders_k
8e582490ff
Added Corsican translation (patch #268 )
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6786 212acab6-be3b-0410-9dea-997c60f758d6
2016-10-08 13:48:28 +00:00
f0rt
a190b4fc84
Make WinWStrDupFromWC endian agnostic (Patch #273 )
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6783 212acab6-be3b-0410-9dea-997c60f758d6
2016-09-06 18:48:32 +00:00
anders_k
765d245758
Fixed possible buffer overflow bug in unused WinWStrDupFromChar function (Patch #271 )
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6781 212acab6-be3b-0410-9dea-997c60f758d6
2016-08-21 12:00:00 +00:00
anders_k
388d994ada
Added support for !finalize return value comparison
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6771 212acab6-be3b-0410-9dea-997c60f758d6
2016-07-14 10:53:25 +00:00
anders_k
e6a1780485
Disable batch-file workaround for !makensis command
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6763 212acab6-be3b-0410-9dea-997c60f758d6
2016-07-06 11:28:48 +00:00
anders_k
73c00e3718
Fixed bug #1147 : !makensis command must force Unicode output to be UTF-8
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6762 212acab6-be3b-0410-9dea-997c60f758d6
2016-07-04 12:23:58 +00:00
anders_k
f9e97af1ac
cchTextMax is count of TCHARs including \0
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6760 212acab6-be3b-0410-9dea-997c60f758d6
2016-06-26 15:32:44 +00:00
anders_k
2fa183f20c
Updated changelog and fixed a typo
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6753 212acab6-be3b-0410-9dea-997c60f758d6
2016-05-25 18:08:03 +00:00
kichik
d5662388a3
fix !appendfile writing null bytes on linux and breaking LogicLib ${Switch} statements
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6738 212acab6-be3b-0410-9dea-997c60f758d6
2016-04-03 05:47:59 +00:00
kichik
dc0c121b96
no need for conversions here
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6729 212acab6-be3b-0410-9dea-997c60f758d6
2016-03-28 05:52:12 +00:00
anders_k
e7ac6581e4
Documentation fixes and clarifications
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6728 212acab6-be3b-0410-9dea-997c60f758d6
2016-03-27 23:24:43 +00:00
anders_k
2b5baa3639
WM_CONTEXTMENU lParam keyboard check needs to be sign extended on 64-bit
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6727 212acab6-be3b-0410-9dea-997c60f758d6
2016-03-23 22:55:08 +00:00
anders_k
b3a96a5ff7
Separate error messages for plugin dll not found and plugin function not found
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6724 212acab6-be3b-0410-9dea-997c60f758d6
2016-03-22 13:21:35 +00:00
anders_k
3542f0556c
Must use a POSIX compatible string comparison
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6722 212acab6-be3b-0410-9dea-997c60f758d6
2016-03-17 21:36:06 +00:00
anders_k
4ae373f2d3
Changed the name of the uninstaller created in %TEMP%\\~nsu.tmp from %UNIQUE%u_.exe to Un_%UNIQUE%.exe
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6721 212acab6-be3b-0410-9dea-997c60f758d6
2016-03-11 19:32:21 +00:00
anders_k
1967160500
Copyright 2016
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6720 212acab6-be3b-0410-9dea-997c60f758d6
2016-03-11 19:16:38 +00:00
anders_k
5c09fdf003
Display the correct uninstaller langstring name in the recursive error string
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6718 212acab6-be3b-0410-9dea-997c60f758d6
2016-03-09 22:33:27 +00:00
anders_k
ebc900f4bb
Warn when the [License]LangString language id parameter is not a valid number
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6711 212acab6-be3b-0410-9dea-997c60f758d6
2016-02-26 16:16:29 +00:00
anders_k
d9bb937072
Make sure the filename string is not destroyed before we are done with the .c_str() pointer.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6710 212acab6-be3b-0410-9dea-997c60f758d6
2016-02-16 18:01:53 +00:00
anders_k
4b0d6b1843
Use a warning helper function so "warn as error" works everywhere
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6709 212acab6-be3b-0410-9dea-997c60f758d6
2016-02-16 14:59:04 +00:00
anders_k
0bd3a0d1a1
Warn when the output filename is setup.exe because Windows will unsafely load compatibility shims
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6708 212acab6-be3b-0410-9dea-997c60f758d6
2016-02-16 14:35:20 +00:00
anders_k
77e77d35df
Delayload CLBCATQ for XP
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6706 212acab6-be3b-0410-9dea-997c60f758d6
2016-02-12 12:52:08 +00:00
anders_k
510fb334c8
Fixed some typos (Most of them found by codespell/Stefan Weil)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6704 212acab6-be3b-0410-9dea-997c60f758d6
2016-02-04 20:14:06 +00:00
anders_k
a0d918b472
Preload more dlls for Vista and 7 without KB2533623
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6700 212acab6-be3b-0410-9dea-997c60f758d6
2016-02-04 18:32:01 +00:00
anders_k
e2d28022e2
Preload some system libraries (bug #1125 )
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6688 212acab6-be3b-0410-9dea-997c60f758d6
2015-12-24 00:40:28 +00:00
anders_k
0979ab23fc
Fixed CreateShortcut failure on Vista caused by security changes in r6645/2.47
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6684 212acab6-be3b-0410-9dea-997c60f758d6
2015-12-15 23:11:48 +00:00
anders_k
95dfc73889
Make sure we have a valid .chm file in the 3.0 installer as well
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6677 212acab6-be3b-0410-9dea-997c60f758d6
2015-12-09 22:52:21 +00:00
anders_k
f88888388a
Added experimental Target and CPU attributes
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6664 212acab6-be3b-0410-9dea-997c60f758d6
2015-12-09 00:47:50 +00:00
anders_k
667abcff94
Kill warning with a cast in Ansi version of RunChildProcessRedirected. CppUnit still uses Ansi util.cpp?
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6662 212acab6-be3b-0410-9dea-997c60f758d6
2015-12-08 01:54:30 +00:00
anders_k
d7d6c3561d
Change the ACL on our %temp% directories (bug #1125 )
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6657 212acab6-be3b-0410-9dea-997c60f758d6
2015-12-07 20:49:46 +00:00
anders_k
0cac95475e
!define /math >>> result is unsigned
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6655 212acab6-be3b-0410-9dea-997c60f758d6
2015-12-07 01:51:26 +00:00
anders_k
ef1ae2e216
Updated EW_CREATESHORTCUT opcode description
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6654 212acab6-be3b-0410-9dea-997c60f758d6
2015-12-06 00:04:36 +00:00
anders_k
726bf760cd
Load system modules with full paths
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6647 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-29 13:54:35 +00:00
anders_k
3e416abd5c
Don't look for a specific 2003 TK version when deciding which std::min/max workaround to apply
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6646 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-28 21:33:12 +00:00
anders_k
e83197997e
bug #1125 : Don't load modules from the application nor current directory.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6645 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-28 13:32:54 +00:00
anders_k
6be5d8d07d
Delay load Version.dll to avoid dll hijacking [bug #1125 ]
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6642 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-25 13:13:42 +00:00
anders_k
9d883f98d8
HANDLE NULL check the converted value, not the string length
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6639 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-22 12:44:49 +00:00
anders_k
8f65eb3c23
CreateShortcut icon index can now be larger than 255 (Bug #1123 )
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6638 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-21 13:12:40 +00:00
anders_k
7d64d54ae7
Clarify ${GetParameters} documentation
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6636 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-17 08:54:02 +00:00
anders_k
6eaea6479f
No need to delayload MoveFileEx, OpenProcessToken, LookupPrivilegeValueW and AdjustTokenPrivileges on Win9x.
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6635 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-15 23:06:57 +00:00
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
ce249976f7
Preprocessor code in dead blocks need to be ignored even if it is invalid
...
Test case:
!macro dummy p1
!macroend
!if 0 ; The next line does not properly quote its string but it is not !else nor !endif so it has to be ignored
!insertmacro dummy "bar'
!endif
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6632 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-05 04:46:14 +00:00
anders_k
650ebca347
* Try to avoid invalid parameter debug warning in newer versions of MSVCRT.dll when calling _vsnwprintf as a _vscwprintf replacement
...
* _wtof does not exist in MSVCRT.dll on Win2000, use our internal version when building with MinGW/MSVC6 or MSVC /MD
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6630 212acab6-be3b-0410-9dea-997c60f758d6
2015-11-01 17:11:53 +00:00
anders_k
7b814407a3
Fixed NSIS_CONFIG_LOG_STDOUT output in Unicode exehead
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6629 212acab6-be3b-0410-9dea-997c60f758d6
2015-10-31 18:52:07 +00:00
anders_k
252adb2f39
Use myWriteFile helper function in exehead
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6628 212acab6-be3b-0410-9dea-997c60f758d6
2015-10-31 16:27:34 +00:00
anders_k
1c1d1d5e12
Fixed all VS2015 warnings except C4577 ('noexcept' used with no exception handling mode specified)
...
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6627 212acab6-be3b-0410-9dea-997c60f758d6
2015-10-30 03:55:30 +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
5d7640c988
TOK_* instruction handlers in doCommand() cannot use PRINTHELP() if they also use eattoken()!
...
!define "name" "value" always displays error if there are too many arguments, not just one too many
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6621 212acab6-be3b-0410-9dea-997c60f758d6
2015-10-10 12:29:34 +00:00