Commit graph

547 commits

Author SHA1 Message Date
anders_k
48703ab513 AddBrandingImage now supports dialog units, even on POSIX
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7033 212acab6-be3b-0410-9dea-997c60f758d6
2018-11-01 21:20:53 +00:00
anders_k
bfdec13982 List plug-in directories when plug-in call fails
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7011 212acab6-be3b-0410-9dea-997c60f758d6
2018-06-25 21:33:30 +00:00
anders_k
460b3f59a9 Initial groundwork for ARM64 support
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7001 212acab6-be3b-0410-9dea-997c60f758d6
2018-06-03 21:00:53 +00:00
anders_k
b0430b251b Preliminary support for disableWindowFiltering and gdiScaling manifest elements
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6993 212acab6-be3b-0410-9dea-997c60f758d6
2018-05-14 19:07:17 +00:00
anders_k
49471b3d84 (C) 2018
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6962 212acab6-be3b-0410-9dea-997c60f758d6
2018-01-02 01:51:26 +00:00
anders_k
8de72ec7b1 Added Int64Fmt
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6931 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-15 16:57:26 +00:00
anders_k
1a039ca71f Added IntPtrCmp, IntPtrCmpU, Int64Cmp and Int64CmpU
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6930 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-14 16:49:40 +00:00
anders_k
34e9873d5f Added IntPtrOp alias
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6929 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-13 21:23:33 +00:00
anders_k
99235da725 Added IntOp and System::Int64Op >>> SHR operator
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6926 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-08 15:26:54 +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
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
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