Commit graph

535 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
anders_k
12cab3f3db Allow makensis to use stubs and plugins of different bitness, based on patch #265
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6619 212acab6-be3b-0410-9dea-997c60f758d6
2015-10-01 17:32:56 +00:00
anders_k
6de4fbc743 Don't allow empty path in !AddPluginDir
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6617 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-26 14:19:39 +00:00
anders_k
6d534850e7 * TOK_PLUGINDIR path can't be const because of PATH_CONVERT(path) on POSIX
* Remove truncate_cast usage from fileform.c


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6613 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-19 14:07:14 +00:00
anders_k
5615d42881 * !AddIncludeDir displays the cpu architecture in the script message if specified as a parameter
* Removed unused SYSTEM_PARTIALCALLSUPPORT define
* Fixed minor typos
* Allow MSVC_USE_SCRIPT to be specified on the commandline or in the environment


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6611 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-18 23:16:34 +00:00
anders_k
286edd20c4 * Basic System::Call support when compiling with 64-bit MinGW/GCC toolchain
* Win64 fixes


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6607 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-17 14:30:07 +00:00
anders_k
20866470fa Added PESubsysVer attribute
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6592 212acab6-be3b-0410-9dea-997c60f758d6
2015-07-27 20:41:17 +00:00
anders_k
c679845ad6 ReserveFile /plugin now searches folders added with !AddPluginDir
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6591 212acab6-be3b-0410-9dea-997c60f758d6
2015-07-27 19:32:32 +00:00
anders_k
c89cac5262 Fixed minor issues and typos
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6584 212acab6-be3b-0410-9dea-997c60f758d6
2015-05-14 20:17:14 +00:00
anders_k
d6d4da1bae Added !appendfile /RawNL switch
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6580 212acab6-be3b-0410-9dea-997c60f758d6
2015-02-26 18:19:37 +00:00
anders_k
9ff4b3ef43 (C) 2015
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6577 212acab6-be3b-0410-9dea-997c60f758d6
2015-02-06 21:43:39 +00:00
anders_k
b28ce8b1d8 Added missing newline in compiler output for TOK_GETFUNCTIONADDR, TOK_GETLABELADDR and TOK_GETCURRENTADDR
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6575 212acab6-be3b-0410-9dea-997c60f758d6
2015-02-03 23:35:31 +00:00
anders_k
eb5d77214a Patch #258, Makensisw x64 fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6557 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-12 20:09:35 +00:00
anders_k
d42a4f16a6 Display a "plugin not found" error message when a invalid command looks like a plugin call.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6541 212acab6-be3b-0410-9dea-997c60f758d6
2014-08-21 13:15:07 +00:00
anders_k
ec5f767d74 Build final include file path with the same path passed to dir_reader when enumerating include_dirs list.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6539 212acab6-be3b-0410-9dea-997c60f758d6
2014-08-18 14:44:22 +00:00
anders_k
3c2a937cab Added PEDllCharacteristics attribute and changed default DllCharacteristics to TS_AWARE+NO_SEH+NX_COMPAT+DYNAMIC_BASE
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6537 212acab6-be3b-0410-9dea-997c60f758d6
2014-08-15 19:15:06 +00:00
anders_k
fd6400d44d * ChangeUI should warn when it cannot find a dialog.
* CDialogTemplate::Save needs to free the template with the correct function.


git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6535 212acab6-be3b-0410-9dea-997c60f758d6
2014-08-05 13:53:20 +00:00
anders_k
9950ce1432 Fixed MinGW (GCC 4.5.2)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6530 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-19 19:21:43 +00:00