Commit graph

1952 commits

Author SHA1 Message Date
anders_k
9036705c53 Fix the .h as well
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7217 212acab6-be3b-0410-9dea-997c60f758d6
2020-08-13 00:49:05 +00:00
anders_k
006c3c0e29 Fix 64-bit warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7216 212acab6-be3b-0410-9dea-997c60f758d6
2020-08-12 23:32:31 +00:00
anders_k
ddd40d4397 Postpone leak check so that global destructors can run first
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7213 212acab6-be3b-0410-9dea-997c60f758d6
2020-08-11 22:52:25 +00:00
anders_k
d18c26eea5 Unicode is the now default for i386
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7212 212acab6-be3b-0410-9dea-997c60f758d6
2020-08-10 22:26:36 +00:00
anders_k
2ef929b513 Fixed SetBrandingImage crash
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7205 212acab6-be3b-0410-9dea-997c60f758d6
2020-08-01 01:40:47 +00:00
anders_k
34369fc480 Fix GCC TtoC conversion
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7204 212acab6-be3b-0410-9dea-997c60f758d6
2020-08-01 00:29:24 +00:00
kichik
da1f2ae86e vc6 build fixes
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7198 212acab6-be3b-0410-9dea-997c60f758d6
2020-07-31 21:38:42 +00:00
anders_k
09fca677cc Help VC6 find the type
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7197 212acab6-be3b-0410-9dea-997c60f758d6
2020-07-31 21:06:25 +00:00
anders_k
5ad1538a64 Added experimental ManifestAppendCustomString
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7194 212acab6-be3b-0410-9dea-997c60f758d6
2020-07-25 20:13:13 +00:00
anders_k
6c842ff1c3 Fix unaligned memory access (bug #290)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7193 212acab6-be3b-0410-9dea-997c60f758d6
2020-07-18 23:18:18 +00:00
anders_k
5c78d6fafe Try to work around the mingw-w64 kernel32:OpenThreadToken library issue
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7192 212acab6-be3b-0410-9dea-997c60f758d6
2020-06-29 23:08:12 +00:00
anders_k
8f0822bc5a Don't perform workaround on 98/ME
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7191 212acab6-be3b-0410-9dea-997c60f758d6
2020-06-28 22:02:50 +00:00
anders_k
85bd2746a0 Only perform component list redraw hack on 95/NT4 to avoid flicker
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7190 212acab6-be3b-0410-9dea-997c60f758d6
2020-06-28 21:55:37 +00:00
anders_k
7e2be76681 Primitive SOURCE_DATE_EPOCH support for reproducible builds (patches 294)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7188 212acab6-be3b-0410-9dea-997c60f758d6
2020-06-26 22:52:09 +00:00
anders_k
7bad4de01a Avoid GCC maybe-uninitialized warning
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7185 212acab6-be3b-0410-9dea-997c60f758d6
2020-06-06 13:17:43 +00:00
anders_k
4c75c1e9c6 Make all preprocessor instructions lower case (patch 287)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7184 212acab6-be3b-0410-9dea-997c60f758d6
2020-05-23 19:28:18 +00:00
anders_k
887d9f8723 Added LineParser::gettoken_intx with basic arithmetic expression handling for LoadAndSetImage, SectionSetFlags and SectionSetInstTypes.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7180 212acab6-be3b-0410-9dea-997c60f758d6
2020-05-02 21:53:41 +00:00
anders_k
e73d05f1f5 LoadAndSetImage can return the image handle
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7179 212acab6-be3b-0410-9dea-997c60f758d6
2020-05-01 13:15:03 +00:00
anders_k
e1141d9277 Added !define /intfmt
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7173 212acab6-be3b-0410-9dea-997c60f758d6
2020-04-22 21:14:55 +00:00
anders_k
322c7ac6d2 Added API for compiler host to choose a different output path on output error
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7169 212acab6-be3b-0410-9dea-997c60f758d6
2020-04-20 17:21:04 +00:00
anders_k
b704d52400 Added a file association example to install-per-user.nsi
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7167 212acab6-be3b-0410-9dea-997c60f758d6
2020-04-13 19:16:10 +00:00
anders_k
821b4d6a18 DeleteRegKey /ifempty now also checks for values
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7166 212acab6-be3b-0410-9dea-997c60f758d6
2020-04-12 18:25:21 +00:00
anders_k
68db5f04ee Added GetKnownFolderPath
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7154 212acab6-be3b-0410-9dea-997c60f758d6
2020-03-12 23:43:51 +00:00
anders_k
1f355d992c Added IfRtlLanguage and GetRegView
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7153 212acab6-be3b-0410-9dea-997c60f758d6
2020-03-10 18:16:39 +00:00
anders_k
5887d6c60d Added IfShellVarContextAll and refactored flag instructions generation
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7152 212acab6-be3b-0410-9dea-997c60f758d6
2020-03-10 01:44:23 +00:00
anders_k
89fb04d0f6 (C) 2020
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7148 212acab6-be3b-0410-9dea-997c60f758d6
2020-01-01 21:13:57 +00:00
anders_k
5d64346b9d Added SectionInstType as a SectionIn replacement
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7134 212acab6-be3b-0410-9dea-997c60f758d6
2019-11-22 00:02:32 +00:00
anders_k
52cd125973 Automatically double ampersands in the name attribute
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7131 212acab6-be3b-0410-9dea-997c60f758d6
2019-10-24 22:15:30 +00:00
anders_k
2bae3414ba Fix minor GCC warnings
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7130 212acab6-be3b-0410-9dea-997c60f758d6
2019-10-24 19:27:37 +00:00
anders_k
d3554ebdb1 Improved window spy size information and added window outline
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7127 212acab6-be3b-0410-9dea-997c60f758d6
2019-10-16 19:55:33 +00:00
anders_k
7100afa549 BITMAPCOREHEADER bitmaps cannot be top-down bitmaps
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7116 212acab6-be3b-0410-9dea-997c60f758d6
2019-08-18 22:54:26 +00:00
anders_k
79056544b0 Don't display non-fatal growbuf allocation warning
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7115 212acab6-be3b-0410-9dea-997c60f758d6
2019-08-18 22:15:53 +00:00
anders_k
2bf0cf7025 VC6 cannot handle class reference initialization in structs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7114 212acab6-be3b-0410-9dea-997c60f758d6
2019-08-17 20:13:07 +00:00
anders_k
c0f3179285 Added the ManifestLongPathAware attribute
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7111 212acab6-be3b-0410-9dea-997c60f758d6
2019-08-16 19:07:02 +00:00
anders_k
8016f559ac Zero uninitialized icon group data for reproducible builds (bug #1230)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7104 212acab6-be3b-0410-9dea-997c60f758d6
2019-07-31 19:59:55 +00:00
anders_k
b19a694ad5 Allow up to 4 GiB of 3rd-party appended data.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7098 212acab6-be3b-0410-9dea-997c60f758d6
2019-06-16 14:08:43 +00:00
anders_k
fb6945ec36 Added ManifestMaxVersionTested
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7096 212acab6-be3b-0410-9dea-997c60f758d6
2019-06-06 00:42:08 +00:00
anders_k
36cf6ec2b3 %1 in !finalize command can be specified multiple times
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7091 212acab6-be3b-0410-9dea-997c60f758d6
2019-03-13 19:56:43 +00:00
anders_k
217f250466 Added NSD_Remove[Ex]Style and NCM_* messages
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7086 212acab6-be3b-0410-9dea-997c60f758d6
2019-02-15 20:19:27 +00:00
anders_k
7a6c9e52b0 LR_CREATEDIBSECTION breaks modern.bmp so we must disallow TopDown CheckBitmaps
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7085 212acab6-be3b-0410-9dea-997c60f758d6
2019-02-14 23:06:33 +00:00
anders_k
40451b29d7 Support TopDown CheckBitmap
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7084 212acab6-be3b-0410-9dea-997c60f758d6
2019-02-14 22:59:08 +00:00
anders_k
788620866d Fixed -O double fclose (bug #1221)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7083 212acab6-be3b-0410-9dea-997c60f758d6
2019-02-12 00:05:28 +00:00
anders_k
2bdfe648f0 Cast away MAKEINTRESOURCE wchar_t* vs WORD* issue we don't care about
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7082 212acab6-be3b-0410-9dea-997c60f758d6
2019-02-11 20:32:42 +00:00
anders_k
978ac79a5d Added PEAddResource and PERemoveResource
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7079 212acab6-be3b-0410-9dea-997c60f758d6
2019-02-10 20:45:40 +00:00
anders_k
797e745de5 Added LoadAndSetImage instruction
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7078 212acab6-be3b-0410-9dea-997c60f758d6
2019-02-03 20:53:13 +00:00
anders_k
b9c8d57bb2 Print "ANSI targets are deprecated" warning if Unicode/Target attributes are never used.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7077 212acab6-be3b-0410-9dea-997c60f758d6
2019-02-02 20:25:07 +00:00
anders_k
62d9a4c2f7 (C) 2019
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7072 212acab6-be3b-0410-9dea-997c60f758d6
2019-01-07 14:30:06 +00:00
anders_k
649159cd28 NSIS_PACKEDVERSION no longer optional. Tries to find a usable fallback value if not specified.
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7058 212acab6-be3b-0410-9dea-997c60f758d6
2018-12-06 01:12:30 +00:00
anders_k
fa85ddb775 Use a undocumented variable as the nsDialogs::OnNotify return value so we don't have to worry about restoring it
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7055 212acab6-be3b-0410-9dea-997c60f758d6
2018-11-27 22:36:58 +00:00
anders_k
5b09b32668 VC6 cannot handle template class typedef of a template class with the same name (in a different namespace)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7047 212acab6-be3b-0410-9dea-997c60f758d6
2018-11-07 16:58:43 +00:00