Commit graph

1864 commits

Author SHA1 Message Date
kichik
80bc65beb1 support python 3 for building
python 2.6 is no longer supported

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6921 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-06 18:23:05 +00:00
anders_k
09134d125e Save a couple of bytes by comparing the UTF16LE BOM as a 16-bit number
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6920 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-06 17:47:21 +00:00
anders_k
9764f37904 VIAddVersionKey and SetFont now supports hex numbers in the /LANG= parameter
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6919 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-06 14:30:54 +00:00
anders_k
daa57f1f33 Optimize away more calls to GetModuleHandle(0) with __ImageBase under MSVC
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6918 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-06 13:21:51 +00:00
anders_k
5f1651ab91 Avoid using SEEK_END when possible
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6917 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-05 18:11:03 +00:00
anders_k
1ae118af99 Refactored GetDLLVersion
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6916 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-04 23:40:45 +00:00
anders_k
8e4b1c8e5f Removed optional TLB parser debug output
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6915 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-04 18:20:55 +00:00
anders_k
5bb70ce76b Added POSIX TLB reader functions
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6914 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-04 12:25:35 +00:00
anders_k
a51d89712c Added !gettlbversion and TLB reading support on POSIX
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6913 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-03 20:48:29 +00:00
anders_k
9f91316be0 Added experimental ManifestDPIAwareness attribute so we can declare PerMonitorV2 awareness
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6899 212acab6-be3b-0410-9dea-997c60f758d6
2017-09-14 17:10:33 +00:00
anders_k
ca009c196b Added !pragma warning error <#|all>, warning #, disable all, enable all, default all
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6898 212acab6-be3b-0410-9dea-997c60f758d6
2017-09-01 23:06:48 +00:00
anders_k
7a18d3e4bc Make sure we always install the "native" RegTool binary.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6890 212acab6-be3b-0410-9dea-997c60f758d6
2017-07-24 21:38:21 +00:00
kichik
1f66c3bcb0 more vc6 weirdness
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6885 212acab6-be3b-0410-9dea-997c60f758d6
2017-07-24 00:28:26 +00:00
kichik
fb2accece2 vc6 build errors
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6880 212acab6-be3b-0410-9dea-997c60f758d6
2017-07-23 19:53:39 +00:00
anders_k
000a1b33ff Minor documentation fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6878 212acab6-be3b-0410-9dea-997c60f758d6
2017-07-17 21:44:04 +00:00
anders_k
88e2fd42d0 Logging build now prints EW_SETFLAG changes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6876 212acab6-be3b-0410-9dea-997c60f758d6
2017-06-23 12:59:44 +00:00
anders_k
2553c6e550 $LocalAppData now resolves to the ProgramData folder in the "SetShellVarContext all" context
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6875 212acab6-be3b-0410-9dea-997c60f758d6
2017-06-23 01:11:30 +00:00
anders_k
94dd438510 Added the HKCR32, HKCR64, HKCU32, HKCU64, HKLM32 and HKLM64 root keys and the experimental HK*ANY root keys.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6871 212acab6-be3b-0410-9dea-997c60f758d6
2017-06-06 19:51:43 +00:00
anders_k
bcef20b32d Bring back optimized mystrcpy(tmpbuf, _T("NUL")) from NSIS2
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6869 212acab6-be3b-0410-9dea-997c60f758d6
2017-06-05 21:43:07 +00:00
anders_k
65bfc90ce7 Add space between disk space value and unit (Bug #1132)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6868 212acab6-be3b-0410-9dea-997c60f758d6
2017-06-05 20:20:11 +00:00
anders_k
f5a9b401df Don't use ShellExecute, only ShellExecuteEx
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6867 212acab6-be3b-0410-9dea-997c60f758d6
2017-06-05 01:01:28 +00:00
anders_k
b558dea54d Unsupported SetRegView mode must fail all registry operations
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6865 212acab6-be3b-0410-9dea-997c60f758d6
2017-06-04 22:48:13 +00:00
anders_k
a2aa3ed305 TravisCI OSX instance needs cppunit v1.13.2
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6864 212acab6-be3b-0410-9dea-997c60f758d6
2017-06-03 02:56:46 +00:00
anders_k
204dbb0443 Added WriteRegNone
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6863 212acab6-be3b-0410-9dea-997c60f758d6
2017-05-29 16:25:18 +00:00
anders_k
6271e87972 SendMessage /TIMEOUT= parameter should not be case-sensitive.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6862 212acab6-be3b-0410-9dea-997c60f758d6
2017-05-29 13:12:41 +00:00
anders_k
d39ef1d219 Variables used in Caption can now be set in .onGuiInit (RFE #539)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6860 212acab6-be3b-0410-9dea-997c60f758d6
2017-05-22 18:10:19 +00:00
anders_k
ce7078517f Include CPU architecture in the RegTool filename so Library.nsh always picks the correct version
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6859 212acab6-be3b-0410-9dea-997c60f758d6
2017-05-14 16:16:30 +00:00
anders_k
17d5e5003f Refactored preprocessor instructions to separate source file
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6855 212acab6-be3b-0410-9dea-997c60f758d6
2017-05-03 12:08:09 +00:00
anders_k
e004b5893e Use a internal command to detect the CHM header because the !searchparse hack fails with a encoding error if the ACP codepage is 936.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6853 212acab6-be3b-0410-9dea-997c60f758d6
2017-04-25 13:58:43 +00:00
anders_k
c8370fd064 Added !pragma warning (patch #267)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6852 212acab6-be3b-0410-9dea-997c60f758d6
2017-04-25 13:09:41 +00:00
kichik
1b11115193 log build fix for anders
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6851 212acab6-be3b-0410-9dea-997c60f758d6
2017-04-18 19:21:53 +00:00
anders_k
450343788f Fixed two GCC POSIX warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6849 212acab6-be3b-0410-9dea-997c60f758d6
2017-04-14 21:48:55 +00:00
anders_k
062a89273c Default language file codepage is only ASCII compatible (Bug #1180)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6848 212acab6-be3b-0410-9dea-997c60f758d6
2017-04-14 14:17:39 +00:00
anders_k
264fc910aa Fix POSIX error
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6846 212acab6-be3b-0410-9dea-997c60f758d6
2017-04-13 14:42:47 +00:00
anders_k
fbd57e00c1 Added MUI_PAGE_CUSTOMFUNCTION_DESTROYED so custom image handles can be cleaned up
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6844 212acab6-be3b-0410-9dea-997c60f758d6
2017-04-03 17:35:57 +00:00
anders_k
c1c2ccb4a6 Fixed SetRegView and $ProgramFiles[32|64] in 64-bit installers
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6841 212acab6-be3b-0410-9dea-997c60f758d6
2017-03-22 00:46:25 +00:00
anders_k
024e01a71e Added ExecShellWait
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6839 212acab6-be3b-0410-9dea-997c60f758d6
2017-03-21 22:04:40 +00:00
anders_k
aec58509b4 Fixed unbalanced push/pop in MUI_UNGETLANGUAGE (MUI v1)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6836 212acab6-be3b-0410-9dea-997c60f758d6
2017-01-20 21:15:49 +00:00
anders_k
3659de8e37 (C) 2017
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6834 212acab6-be3b-0410-9dea-997c60f758d6
2017-01-02 03:51:39 +00:00
anders_k
859c2ad6eb Added basic WriteRegMultiStr support (RFE #382, patch #219)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6829 212acab6-be3b-0410-9dea-997c60f758d6
2016-12-29 21:59:35 +00:00
anders_k
7f2ca3cdee Fixed bug #1122 StrCpy maxlen inconsistent behavior
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6810 212acab6-be3b-0410-9dea-997c60f758d6
2016-12-05 15:44:19 +00:00
anders_k
0f2a6027e9 Make sure tstring can store wchar_t. This currently blocks anyone from writing unit tests for strlist.cpp because the tests are not Unicode yet!
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6806 212acab6-be3b-0410-9dea-997c60f758d6
2016-12-02 19:58:32 +00:00
anders_k
62b8ca9bb5 A more aggressive workaround for bug #1156
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6804 212acab6-be3b-0410-9dea-997c60f758d6
2016-11-25 21:35:28 +00:00
anders_k
7339c8c795 Temporary workaround for bug #1156
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6803 212acab6-be3b-0410-9dea-997c60f758d6
2016-11-23 17:10:12 +00:00
anders_k
27ed0e502b Unify g_output and console initialization
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6802 212acab6-be3b-0410-9dea-997c60f758d6
2016-11-23 15:42:20 +00:00
anders_k
37c2cce029 Allow POSIX to see QUERYHOST constants even though there is no way to use them on those platforms
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6801 212acab6-be3b-0410-9dea-997c60f758d6
2016-11-23 00:38:57 +00:00
anders_k
d698d166d5 Use a common helper macro to declare some UI output related variables
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6800 212acab6-be3b-0410-9dea-997c60f758d6
2016-11-22 23:11:33 +00:00
anders_k
04d6fe9367 Write error messages to stderr by default
Disabled if -O is used or if -NOTIFYHWND is valid and returns 0 to QUERYHOST:QH_ENABLESTDERR



git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6798 212acab6-be3b-0410-9dea-997c60f758d6
2016-11-22 21:17:00 +00:00
anders_k
a71541bb87 Added SetCtlColors Windows COLOR_* constants support
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6795 212acab6-be3b-0410-9dea-997c60f758d6
2016-10-22 18:12:28 +00:00
anders_k
d0a461cbca Undo Lockwindow Off fix from [r6789] because it caused the taskbar button to become invisible!
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6793 212acab6-be3b-0410-9dea-997c60f758d6
2016-10-12 19:31:57 +00:00