Commit graph

147 commits

Author SHA1 Message Date
anders_k
1531c8e23e PEAddResource now supports the res: protocol
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7301 212acab6-be3b-0410-9dea-997c60f758d6
2021-08-23 21:50:59 +00:00
anders_k
41bb557cbc Added !uninstfinalize (patch 280)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7294 212acab6-be3b-0410-9dea-997c60f758d6
2021-08-18 13:53:50 +00:00
anders_k
50ef1d3369 Minor optimizations
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7286 212acab6-be3b-0410-9dea-997c60f758d6
2021-07-27 18:56:42 +00:00
anders_k
ef6d0510ec Warn if a unsupported bitmap format is used (Bug #681 & FR #559)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7273 212acab6-be3b-0410-9dea-997c60f758d6
2021-06-25 20:44:37 +00:00
anders_k
f69251d87e (C) 2021
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7245 212acab6-be3b-0410-9dea-997c60f758d6
2021-01-01 20:27:52 +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
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
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
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
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
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
cce4695977 Refactored postbuild_cmd and !tempfile handling to help patch #280
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7025 212acab6-be3b-0410-9dea-997c60f758d6
2018-10-24 19:01:00 +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
bca384e691 throw() is deprecated in C++17
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7000 212acab6-be3b-0410-9dea-997c60f758d6
2018-06-02 00:38:45 +00:00
anders_k
e17e508012 Attempt to fix VC6
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6972 212acab6-be3b-0410-9dea-997c60f758d6
2018-01-29 14:42:13 +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
39de85be70 Make sure !system outputs whatever is left in the pipe even if there is no newline
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6940 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-24 13:19:00 +00:00
anders_k
28734dabee Cast away pointless warning because A) 0xffffffffUL will fit in a 64-bit off_t, or B) LONG_MAX is used
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6936 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-21 01:41:27 +00:00
anders_k
636d774750 Added POSIX mmap helper function used by VxD parser (patch #284)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6935 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-21 01:29:11 +00:00
anders_k
b4b709769e Support named version resource in VxD files so we can handle MSGame.VxD
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6934 212acab6-be3b-0410-9dea-997c60f758d6
2017-10-19 14:16:09 +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
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
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
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
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
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
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
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
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
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
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
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
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
5c6dfdca9a !system/!execute: XCopy.exe/ChCp.com (and other tools using ulib.dll?) does not work without a valid StdIn so we provide a empty pipe
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6601 212acab6-be3b-0410-9dea-997c60f758d6
2015-09-03 11:06:18 +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
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
e36bbf1b94 RunChildProcessRedirected takes a narrow string in the legacy ANSI mode
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6547 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-05 22:18:29 +00:00
kichik
14fcfbe1a8 fixed bug #1098 so test-code works on ubuntu now
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6545 212acab6-be3b-0410-9dea-997c60f758d6
2014-10-05 21:52:03 +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
anders_k
ad03365921 Don't allow !addincludedir with trailing path separator to propagate to !include
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6526 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-18 16:37:08 +00:00
anders_k
41fd62105e Merged patch #252: Build failure on Mac OS X - conversion error in Source/util.cpp
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6513 212acab6-be3b-0410-9dea-997c60f758d6
2014-07-05 00:11:17 +00:00
anders_k
bf2f0fad80 Added !makensis command
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6498 212acab6-be3b-0410-9dea-997c60f758d6
2014-06-21 23:55:24 +00:00
anders_k
f19f561f40 TOK_CREATEDIR tries to reject relative paths because EW_CREATEDIR silently fails if faced with one
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6488 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-20 19:30:36 +00:00
anders_k
0bcb8f40ed Fixed POSIX !searchparse bug (patch #251) and hopefully better compatibility with 2.46
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6485 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-19 19:23:06 +00:00
anders_k
c75a00bbe7 2014 and fixed some minor typos
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6478 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-13 15:51:45 +00:00
kichik
d2f4cf6c2a do not fail for ascii characters that can be easily replaced (like with Farsi and Pashto)
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6467 212acab6-be3b-0410-9dea-997c60f758d6
2014-05-05 02:27:48 +00:00